Daily bump.
[official-gcc.git] / libgcc / ChangeLog
blobe1532922a728d6740c24300bdd48a077ac5dc079
1 2021-10-08  Ian Lance Taylor  <iant@golang.org>
3         * config/i386/morestack.S: Use .init_array for constructor if
4         available.
5         * config/rs6000/morestack.S: Likewise.
6         * config/s390/morestack.S: Likewise.
8 2021-10-03  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
10         PR target/101104
11         * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
12         Use more correct values for native IBM 128-bit.
14 2021-09-28  Iain Sandoe  <iain@sandoe.co.uk>
16         * config/i386/libgcc-darwin.ver: Add Symbols for
17         __cpu_model, __cpu_indicator_init.
19 2021-09-22  Iain Sandoe  <iain@sandoe.co.uk>
21         * config/i386/sfp-machine.h: Guard Mach-O-specific code
22         using __APPLE__.
24 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
26         * config/t-slibgcc-darwin: Delete unused code.
28 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
30         * config/i386/t-darwin: Add in a vers file for X86-specific
31         symbols.
32         * config/t-darwin: Add the generic symbol maps here...
33         * config/t-slibgcc-darwin: ... removing from here.
34         * config/i386/libgcc-darwin.ver: New file.
36 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
38         * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
39         and __mulhc3.
41 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
43         * config.host: Use convenience library for Darwin10
44         unwinder shim.
45         * config/t-darwin: Build Darwin10 unwinder shim as a
46         convenience library.
48 2021-09-13  Andrew Pinski  <apinski@marvell.com>
50         * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
51         * config/m32r/libgcc-glibc.ver: Removed.
52         * config/m32r/t-linux: Removed.
54 2021-09-08  liuhongt  <hongtao.liu@intel.com>
56         * config/i386/t-softfp: Compile __{mul,div}hc3 into
57         libgcc_s.so.1.
59 2021-09-08  Jakub Jelinek  <jakub@redhat.com>
60             Iain Sandoe  <iain@sandoe.co.uk>
62         * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
63         and export *hf* and *hc* functions at GCC_12.0.0.
65 2021-09-06  liuhongt  <hongtao.liu@intel.com>
67         * Makefile.in: Adjust to support specific CFLAGS for each
68         libgcc source file.
69         * config/i386/64/t-softfp: Explicitly add -msse2 for HF
70         related libgcc source files.
71         * config/i386/t-softfp: Ditto.
72         * config/i386/_divhc3.c: New file.
73         * config/i386/_mulhc3.c: New file.
75 2021-09-03  Iain Sandoe  <iain@sandoe.co.uk>
77         * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
78         alias_DFtype, alias_TFtype): New.
79         (ALIAS_SELECTOR): New.
80         (strong_alias): Use __typeof and a _Generic selector to
81         provide the type to the synthesized function.
83 2021-09-02  liuhongt  <hongtao.liu@intel.com>
85         * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
86         * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
87         * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
88         * config/i386/t-softfp: Add hf soft-fp.
89         * config.host: Add i386/64/t-softfp.
90         * config/i386/64/t-softfp: New file.
92 2021-09-02  liuhongt  <hongtao.liu@intel.com>
94         * soft-fp/eqhf2.c: New file.
95         * soft-fp/extendhfdf2.c: New file.
96         * soft-fp/extendhfsf2.c: New file.
97         * soft-fp/half.h (FP_CMP_EQ_H): New marco.
98         * soft-fp/truncdfhf2.c: New file
99         * soft-fp/truncsfhf2.c: New file
101 2021-09-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
103         * unwind-arm-common.inc (abort): Remove.
105 2021-08-31  Richard Sandiford  <richard.sandiford@arm.com>
107         * config/aarch64/value-unwind.h: Add missing runtime exception
108         paragraph.
109         * config/frv/frv-abi.h: Likewise.
110         * config/i386/value-unwind.h: Likewise.
111         * config/pa/pa64-hpux-lib.h: Likewise.
113 2021-08-26  David Edelsohn  <dje.gcc@gmail.com>
115         * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
116         __gcc_qadd.
117         (__gcc_qadd): Call ldouble_qadd_internal.
118         (__gcc_qsub): Call ldouble_qadd_internal with second long double
119         argument negated.
121 2021-08-26  Jonathan Yong  <10walls@gmail.com>
123         * config/i386/cygming-crtend.c: Fix register_frame_ctor
124         and register_frame_dtor warnings.
126 2021-08-24  Richard Earnshaw  <rearnsha@arm.com>
128         PR target/102035
129         * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
130         Add vlldm erratum work-around.
132 2021-08-21  John David Anglin  <danglin@gcc.gnu.org>
134         * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
136 2021-08-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
138         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
139         (gcov_type_unsigned): Likewise.
141 2021-08-14  Stafford Horne  <shorne@gmail.com>
143         PR target/99783
144         * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
145         * config/or1k/t-crtstuff: New file.
147 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
149         * libgcov-driver.c (#include <stdint.h>): Remove.
150         (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
152 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
154         * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
155         * gcov.h (gcov_info): Declare.
156         (__gcov_info_to_gdca): Likewise.
157         * libgcov.h (gcov_write_counter): Remove.
158         (gcov_write_tag_length): Likewise.
159         * libgcov-driver.c (#include <stdint.h>): New.
160         (#include <string.h>): Remove.
161         (NEED_L_GCOV): Conditionally define.
162         (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
163         (are_all_counters_zero): New.
164         (gcov_dump_handler): Likewise.
165         (gcov_allocate_handler): Likewise.
166         (dump_unsigned): Likewise.
167         (dump_counter): Likewise.
168         (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
169         Use dump_unsigned() and dump_counter().
170         (write_one_data): Add dump_fn, allocate_fn, and arg parameters.  Use
171         dump_unsigned(), dump_counter(), and are_all_counters_zero().
172         (__gcov_info_to_gcda): New.
174 2021-08-05  Jakub Jelinek  <jakub@redhat.com>
176         * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
177         * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
178         * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
179         * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
181 2021-08-04  Jakub Jelinek  <jakub@redhat.com>
183         * config/t-slibgcc-fuchsia: Undo doubly applied patch.
185 2021-07-15  Alan Modra  <amodra@gmail.com>
187         * config/rs6000/morestack.S (R2_SAVE): Define.
188         (__morestack): Save and restore r2.  Set up r2 for called
189         functions.
191 2021-07-01  H.J. Lu  <hjl.tools@gmail.com>
193         * soft-fp/extendhfxf2.c: New file.
194         * soft-fp/truncxfhf2.c: Likewise.
196 2021-06-29  Julian Brown  <julian@codesourcery.com>
198         * config/gcn/lib2-bswapti2.c: New file.
199         * config/gcn/lib2-divmod-di.c: New file.
200         * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
201         typedefs.
202         (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
203         * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
204         lib2-bswapti2.c.
206 2021-06-29  Julian Brown  <julian@codesourcery.com>
208         * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
209         return types to USItype.
210         * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
212 2021-06-23  Kewen Lin  <linkw@linux.ibm.com>
214         * configure: Regenerate.
215         * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
216         typos among the name, CFLAGS and the test.
217         * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
218         fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
219         Remove.
220         * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
221         macro FLOAT128_HW_INSNS_ISA3_1.
222         (FP128_3_1_CFLAGS_HW): Fix option typo.
223         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
224         FLOAT128_HW_INSNS_ISA3_1.
225         (__floattikf_resolve): Likewise.
226         (__floatuntikf_resolve): Likewise.
227         (__fixkfti_resolve): Likewise.
228         (__fixunskfti_resolve): Likewise.
229         (__floattikf): Likewise.
230         (__floatuntikf): Likewise.
231         (__fixkfti): Likewise.
232         (__fixunskfti): Likewise.
234 2021-06-11  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
236         PR target/99939
237         * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
238         macro.
239         * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
240         on passing -mcmse option.
242 2021-06-10  Segher Boessenkool  <segher@kernel.crashing.org>
244         * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
245         _ARCH_PPC64 .
247 2021-06-09  Carl Love  <cel@us.ibm.com>
249         * config.host: Add if test and set for
250         libgcc_cv_powerpc_3_1_float128_hw.
251         * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
252         Change calls of __fixkfti to __fixkfti_sw.
253         * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
254         Change calls of __fixunskfti to __fixunskfti_sw.
255         * config/rs6000/float128-p10.c (__floattikf_hw,
256         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
257         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
258         (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
259         __fixunskfti_resolve): Add resolve functions.
260         (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
261         * config/rs6000/float128-sed (floattitf, __floatuntitf,
262         __fixtfti, __fixunstfti): Add editor commands to change names.
263         * config/rs6000/float128-sed-hw (__floattitf,
264         __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
265         change names.
266         * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
267         * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
268         * config/rs6000/quad-float128.h (__floattikf_sw,
269         __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
270         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
271         __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
272         * config/rs6000/t-float128 (floattikf, floatuntikf,
273         fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
274         (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
275         file names to fp128_ppc_funcs.
276         * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
277         fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
278         fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
279         * config/rs6000/t-float128-p10-hw: New file.
280         * configure: Update script for isa 3.1 128-bit float support.
281         * configure.ac: Add check for 128-bit float hardware support.
282         * config/rs6000/fixkfti-sw.c: New file.
283         * config/rs6000/fixunskfti-sw.c: New file.
284         * config/rs6000/floattikf-sw.c: New file.
285         * config/rs6000/floatuntikf-sw.c: New file.
287 2021-05-13  Dimitar Dimitrov  <dimitar@dinux.eu>
289         * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
291 2021-05-13  Martin Liska  <mliska@suse.cz>
293         * libgcov-driver.c: Fix GNU coding style.
295 2021-05-10  Martin Liska  <mliska@suse.cz>
297         * libgcov-driver.c (gcov_version): Use different name that does
298         not clash with newly introduced macro.
300 2021-04-29  Eric Botcazou  <ebotcazou@adacore.com>
302         * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
303         if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
304         * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
306 2021-04-28  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
308         * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
309         Define.
310         (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
311         * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
312         Define.
313         (__divkc3): Improve complex divide.
315 2021-04-23  Michael Meissner  <meissner@linux.ibm.com>
317         PR target/98952
318         * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
319         trampoline size comparison in 32-bit by reversing test and
320         combining load immediate with compare.
321         (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
322         in 32-bit by reversing test and combining load immediate with
323         compare.
325 2021-04-05  Florian Weimer  <fweimer@redhat.com>
326             Michael Meissner   <meissner@linux.ibm.com>
328         * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
329         point functions for $(decimal_float) only.
331 2021-04-03  Jakub Jelinek  <jakub@redhat.com>
333         PR target/97653
334         * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
335         $(objext) instead of $(object).  Use _floatunditf instead of
336         _floatunsditf.  Add tf <-> ti conversion objects.
337         (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
339 2021-03-29  Michael Meissner  <meissner@linux.ibm.com>
341         * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
342         (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
343         (fp128_decstr_objs): Delete.
344         * dfp-bit.h: Call __sprintfieee128 to do conversions from
345         _Float128 to a Decimal type.  Call __strtoieee128 to do
346         conversions from a Decimal type to _Float128.
347         * config/rs6000/_sprintfkf.c: Delete file.
348         * config/rs6000/_sprintfkf.h: Delete file.
349         * config/rs6000/_strtokf.c: Delete file.
350         * config/rs6000/_strtokf.h: Delete file.
352 2021-03-23  Marcus Comstedt  <marcus@mc.pp.se>
354         * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
355         to __BYTE_ORDER__.
357 2021-03-06  Jakub Jelinek  <jakub@redhat.com>
359         PR gcov-profile/99406
360         * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
361         defined, define these macros if not defined already.
363 2021-03-04  Martin Liska  <mliska@suse.cz>
365         PR gcov-profile/99105
366         * libgcov-driver.c (write_top_counters): Rename to ...
367         (write_topn_counters): ... this.
368         (write_one_data): Pre-allocate buffer for number of items
369         in the corresponding linked lists.
370         * libgcov.h (malloc_mmap): New function.
371         (allocate_gcov_kvp): Use it.
373 2021-03-04  Martin Liska  <mliska@suse.cz>
375         PR gcov-profile/99385
376         * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
378 2021-03-03  Martin Liska  <mliska@suse.cz>
380         PR gcov-profile/97461
381         * config.in: Regenerate.
382         * configure: Likewise.
383         * configure.ac: Check sys/mman.h header file
384         * libgcov-driver.c (struct gcov_kvp): Remove static
385         pre-allocated pool and use a dynamic one.
386         * libgcov.h (MMAP_CHUNK_SIZE): New.
387         (gcov_counter_add): Use mmap to allocate pool for struct
388         gcov_kvp.
390 2021-03-02  Michael Meissner  <meissner@linux.ibm.com>
392         * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
393         the function.
394         * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
396 2021-02-24  Jakub Jelinek  <jakub@redhat.com>
398         PR libgcc/99236
399         * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
400         negation of m in unsigned type.
402 2021-02-24  Christophe Lyon  <christophe.lyon@linaro.org>
403             Hau Hsu  <hsuhau617@gmail.com>
405         PR target/99157
406         * config/arm/t-arm: Fix cmse support detection.
408 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
410         * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
412 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
414         * config/rs6000/_dd_to_kf.c: New file.
415         * config/rs6000/_kf_to_dd.c: New file.
416         * config/rs6000/_kf_to_sd.c: New file.
417         * config/rs6000/_kf_to_td.c: New file.
418         * config/rs6000/_sd_to_kf.c: New file.
419         * config/rs6000/_sprintfkf.c: New file.
420         * config/rs6000/_sprintfkf.h: New file.
421         * config/rs6000/_strtokf.h: New file.
422         * config/rs6000/_strtokf.c: New file.
423         * config/rs6000/_td_to_kf.c: New file.
424         * config/rs6000/quad-float128.h: Add new declarations.
425         * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
426         (fp128_decstr_funcs): New macro.
427         (ibm128_dec_funcs): New macro.
428         (fp128_ppc_funcs): Add the new conversions.
429         (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
430         compiled with -mabi=ieeelongdouble.
431         (fp128_decstr_objs): Force __float128 <-> string conversions to be
432         compiled with -mabi=ibmlongdouble.
433         (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
434         compiled with -mabi=ieeelongdouble.
435         (FP128_CFLAGS_DECIMAL): New macro.
436         (IBM128_CFLAGS_DECIMAL): New macro.
437         * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
438         (BFP_TO_DFP): Add PowerPC _Float128 support.
439         * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
440         IEEE 128-bit floating point.
441         (DFP_TO_BFP): Add PowerPC _Float128 support.
442         (BFP_TO_DFP): Add PowerPC _Float128 support.
443         (BFP_SPRINTF): New macro.
445 2021-01-27  Jakub Jelinek  <jakub@redhat.com>
447         * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
448         * config/i386/savms64f.h: Likewise.
449         * config/i386/resms64.h: Likewise.
450         * config/i386/resms64f.h: Likewise.
451         * config/i386/resms64x.h: Likewise.
452         * config/i386/resms64fx.h: Likewise.
454 2021-01-26  Martin Liska  <mliska@suse.cz>
456         PR gcov-profile/98739
457         * libgcov.h (gcov_topn_add_value): Do not train when
458         we have a merged profile with a negative number of total
459         value.
461 2021-01-25  Martin Liska  <mliska@suse.cz>
463         PR gcov-profile/98739
464         * libgcov-merge.c (__gcov_merge_topn): Mark when merging
465         ends with a dropped counter.
466         * libgcov.h (gcov_topn_add_value): Add return value.
468 2021-01-13  Stafford Horne  <shorne@gmail.com>
470         * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
471         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
472         FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
473         FP_EX_ALL): New constant macros.
474         (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
475         FP_HANDLE_EXCEPTIONS): New macros.
476         (_FP_TININESS_AFTER_ROUNDING): Change to 1.
478 2021-01-13  Samuel Thibault  <samuel.thibault@gnu.org>
480         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
481         posix siginfo case to struct handler_args. Detect between legacy
482         and siginfo from the second parameter, which is a small sigcode in
483         the legacy case, and a pointer in the siginfo case.
485 2020-12-20  Max Filippov  <jcmvbkbc@gmail.com>
487         * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
488         functions.
489         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
490         _bswapdi2.
492 2020-12-08  Ian Lance Taylor  <iant@golang.org>
494         * generic-morestack-thread.c (free_segments): Block signals during
495         thread exit.
497 2020-12-03  Michael Meissner  <meissner@linux.ibm.com>
499         PR libgcc/97543
500         PR libgcc/97643
501         * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
502         (IBM128_SHARED_OBJS): New make variable.
503         (IBM128_OBJS): New make variable.  Set all objects to use the
504         explicit IBM format, and disable gnu attributes.
505         (IBM128_CFLAGS): New make variable.
506         (gcc_s_compile): Add -mno-gnu-attribute to all shared library
507         modules.
509 2020-12-03  Alexandre Oliva  <oliva@adacore.com>
511         * config/t-vxworks (LIB2ADD): Drop.
512         * config/t-vxworks7 (LIB2ADD): Likewise.
513         * config/vxcache.c: Remove.
515 2020-11-30  Stefan Kanthak  <stefan.kanthak@nexgo.de>
517         * libgcc2.c (bswapsi2): Make constants unsigned.
519 2020-11-25  Stefan Kanthak  <stefan.kanthak@nexgo.de>
521         * libgcc2.c (absvSI2): Simplify/improve implementation by using
522         builtin_add_overflow.
523         (absvsi2, absvDI2): Likewise.
525 2020-11-20  Maciej W. Rozycki  <macro@linux-mips.org>
527         * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
528         (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
530 2020-11-18  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
532         * config/msp430/lib2hw_mul.S (mult64_hw): New.
533         (if MUL_32): Use mult64_hw for __muldi3.
534         (if MUL_F5): Use mult64_hw for __muldi3.
535         * config/msp430/lib2mul.c (__muldi3): New.
536         * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
538 2020-11-17  Alan Modra  <amodra@gmail.com>
540         * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
541         (LIB2_SIDITI_CONV_FUNCS): Define.
542         * config/rs6000/ppc64-fp.c: Delete file.
544 2020-11-15  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
546         * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
547         hwmult library functions.
549 2020-11-10  Jeff Law  <law@redhat.com>
551         * libgcc2.c: Fix whitespace issues in most recent change.
553 2020-11-10  Stefan Kanthak  <stefan.kanthak@nexgo.de>
555         * libgcc2.c (__addvSI3): Use overflow builtins.
556         (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
557         (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
558         (__negvsi2, __negvDI2): Likewise.
559         (__cmpdi2, __ucmpdi2): Adjust implementation to improve
560         generated code.
561         * libgcc2.h (__ucmpdi2): Adjust prototype.
563 2020-11-03  Pat Bernardi  <bernardi@adacore.com>
564             Olivier Hainque   <hainque@adacore.com>
566         * config.host (aarch64-vxworks7*, tmake_file): Add
567         ${cpu_type}/t-lse and t-slibgcc-libgcc.
569 2020-11-03  Martin Storsjö  <martin@martin.st>
571         * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
572         before calling the callback.
574 2020-10-30  Olivier Hainque  <hainque@adacore.com>
575             Douglas Rupp  <rupp@adacore.com>
576             Pat Bernardi  <bernardi@adacore.com>
578         * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
579         to apply to VxWorks 7 as well.
581 2020-10-29  Olivier Hainque  <hainque@adacore.com>
583         * config/gthr-vxworks-tls.c: Fix preprocessor logic
584         controlling the definition of VX_ENTER_TLS_DTOR and
585         VX_LEAVE_TLS_DTOR based on a version major check.
587 2020-10-29  Olivier Hainque  <hainque@adacore.com>
589         * config/gthr-vxworks-thread.c: Fix name of macro used
590         to condition the inclusion of an actual implementation.
592 2020-10-27  Martin Liska  <mliska@suse.cz>
594         PR gcov-profile/97461
595         * libgcov.h (gcov_counter_add): Use first static counters
596         as it should help to have malloc wrappers set up.
598 2020-10-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
600         * config/gthr-vxworks-thread.c: #include gthr.h before
601         testing the guard defined there.
602         * config/gthr-vxworks-cond.c: Likewise.
604 2020-10-21  Douglas Rupp  <rupp@adacore.com>
605             Olivier Hainque  <hainque@adacore.com>
607         * config.host (powerpc*-wrs-vxworks7*): New case.
608         * configure.ac: Handle powerpc*-*-vxworks7* as
609         powerpc*-*-linux* for ppc-fp_type.
610         * configure: Regenerate.
612 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
614         * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
615         section on VxWorks >= 6.
616         * config/gthr-vxworks-thread.c: Condition the entire
617         implementation on __GTHREAD_CXX0X.
619 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
621         * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
622         section on VxWorks >= 6.
623         * config/gthr-vxworks-cond.c: Condition the entire
624         implementation on __GTHREAD_HAS_COND.
626 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
628         * config/gthr-vxworks.c: #include <taskLib.h>.
630 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
632         * config/gthr-vxworks.h: Rewrite remaining occurrence
633         of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
635 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
636              Olivier Hainque   <hainque@adacore.com>
638         * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
639         except on VxWorks 6.
641 2020-10-16  Olivier Hainque  <hainque@adacore.com>
643         * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
645 2020-10-14  Alexandre Oliva  <oliva@adacore.com>
647         * config/gthr-vxworks-thread.c: Include stdlib.h.
648         (tls_delete_hook): Prototype it.
649         (__gthread_cond_signal): Return early if no waiters.  Consume
650         signal in case the semaphore got full.  Use semInfoGet instead
651         of kernel-mode-only semInfo.
652         (__gthread_cond_timedwait): Use semExchange.  Always take the
653         mutex again before returning.
654         * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
656 2020-10-14  Olivier Hainque  <hainque@adacore.com>
658         * config/t-vxworks (LIBGCC2_INCLUDES): Append
659         $(MULTISUBDIR) to the -I path for fixed headers, as we
660         arrange to have different sets of such headers for different
661         multilibs when they are activated.
662         * config/t-vxworks7: Likewise.
664 2020-10-14  Olivier Hainque  <hainque@adacore.com>
666         * config/t-vxworks: Add include-fixed to include search
667         paths for libgcc on VxWorks.
668         * config/t-vxworks7: Likewise.
670 2020-10-09  H.J. Lu  <hjl.tools@gmail.com>
672         PR target/97148
673         * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
674         instead of <cetintrin.h>.
676 2020-10-01  Alan Modra  <amodra@gmail.com>
678         * config/rs6000/morestack.S,
679         * config/rs6000/tramp.S: Support __PCREL__ code.
681 2020-10-01  Alan Modra  <amodra@gmail.com>
683         * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
685 2020-09-29  Maciej W. Rozycki  <macro@wdc.com>
687         * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
688         variable.
690 2020-09-28  Richard Sandiford  <richard.sandiford@arm.com>
692         * config/aarch64/libgcc-softfp.ver: New file.
693         * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
695 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
697         * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
699 2020-09-22  Sergei Trofimovich  <siarheit@google.com>
701         PR gcov-profile/96913
702         * libgcov-driver.c (write_one_data): Avoid function pointer
703         comparison in TOP streaming decision.
705 2020-09-17  Torbjörn SVENSSON  <torbjorn.svensson@st.com>
706             Christophe Lyon  <christophe.lyon@linaro.org>
708         * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
709         qualifier.
710         (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
711         (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
712         missing prototypes.
714 2020-09-17  Wei Wentao  <weiwt.fnst@cn.fujitsu.com>
716         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
717         unused variable warning.
719 2020-09-16  Jojo R  <jiejie_rong@c-sky.com>
721         * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
723 2020-09-09  Tom de Vries  <tdevries@suse.de>
725         * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
726         Wbuiltin-declaration-mismatch.
728 2020-08-26  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
730         * config/msp430/slli.S (__gnu_mspabi_sllp): New.
731         * config/msp430/srai.S (__gnu_mspabi_srap): New.
732         * config/msp430/srli.S (__gnu_mspabi_srlp): New.
734 2020-08-13  Kwok Cheung Yeung  <kcy@codesourcery.com>
736         * config/nvptx/atomic.c: New.
737         * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
739 2020-08-03  Ian Lance Taylor  <iant@golang.org>
741         * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
743 2020-08-03  Jakub Jelinek  <jakub@redhat.com>
745         PR target/96402
746         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
747         of x(tmp0), x(tmp1) in STXP arguments.
749 2020-07-31  Maciej W. Rozycki  <macro@wdc.com>
751         * config/riscv/save-restore.S [__riscv_xlen == 64]
752         (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
753         (__riscv_save_2): Replace negative immediates used for the final
754         stack pointer adjustment with positive ones, right-shifted by 4.
756 2020-07-31  Martin Liska  <mliska@suse.cz>
758         * libgcov-driver.c: Add __gcov_kvp_pool
759         and __gcov_kvp_pool_index variables.
760         * libgcov.h (allocate_gcov_kvp): New.
761         (gcov_topn_add_value): Use it.
763 2020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
765         * config/aarch64/lse.S: Add PAC property note.
767 2020-07-23  Martin Liska  <mliska@suse.cz>
769         PR gcov-profile/96035
770         * libgcov-driver-system.c: Create gcov folders with 0777
771         so that it respects a system umask.
773 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
775         * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
777 2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
779         PR target/94891
780         * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
781         (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
782         (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
783         (MD_DEMANGLE_RETURN_ADDR): This.
784         (aarch64_post_extract_frame_addr): Rename to ...
785         (aarch64_demangle_return_addr): This.
786         (aarch64_post_frob_eh_handler_addr): Remove.
787         * unwind-dw2.c (uw_update_context): Demangle return address.
788         (uw_frob_return_addr): Remove.
790 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
792         PR target/96001
793         * config/aarch64/lse.S: Add BTI marking and related definitions,
794         and add BTI c to function entries.
796 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
798         * config/aarch64/lse.S: Add stack note.
800 2020-07-02  Martin Liska  <mliska@suse.cz>
802         PR gcov-profile/95348
803         * libgcov-driver.c (merge_one_data): Merge only profiles
804         that are not of non-zero type.
805         (write_one_data): Write counters only if there's one non-zero
806         value.
807         * libgcov-util.c (tag_function): Change signature from unsigned
808         to int.
809         (tag_blocks): Likewise.
810         (tag_arcs): Likewise.
811         (tag_counters): Likewise.
812         (tag_summary): Likewise.
813         (tag_lines): Read only if COUNTERS is non-zero.
814         (read_gcda_file): Handle negative length for COUNTERS type.
816 2020-06-25  Martin Liska  <mliska@suse.cz>
818         * libgcov-driver.c (merge_summary): Remove function as its name
819         is misleading and doing something different.
820         (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
821         in gcov-tool.
822         * libgcov-util.c (curr_object_summary): Remove.
823         (read_gcda_file): Remove unused curr_object_summary.
824         (gcov_merge): Merge summaries.
825         * libgcov.h: Add summary argument for gcov_info struct.
827 2020-06-24  H.J. Lu  <hjl.tools@gmail.com>
829         PR target/95259
830         * config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
831         "common/config/i386/i386-cpuinfo.h" and
832         "common/config/i386/cpuinfo.h".
833         (__cpu_features2): Changed to array.
834         (get_amd_cpu): Removed.
835         (get_intel_cpu): Likewise.
836         (get_available_features): Likewise.
837         (__cpu_indicator_init): Call cpu_indicator_init.
838         * config/i386/cpuinfo.h: Removed.
840 2020-06-23  David Edelsohn  <dje.gcc@gmail.com>
842         * Makefile.in: Remove uses of empty.mk. Use -include.
843         * config/avr/t-avr: Use -include.
844         * empty.mk: Delete.
846 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
848         * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
849         * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
850         and 64 bit with -maix64.
851         * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
852         Build and install AIX-style FAT libraries.
854 2020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
856         * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
857         'i386/gnu-unwind.h'
858         * config/i386/gnu-unwind.h: New file.
860 2020-06-17  Martin Liska  <mliska@suse.cz>
862         * libgcov-util.c (read_gcda_finalize): Remove const operator.
863         (merge_wrapper): Add both counts and use them properly.
864         (topn_to_memory_representation): New function.
865         (gcov_merge): Covert on disk representation to in memory
866         representation.
867         * libgcov.h: Remove const operator.
869 2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
871         * configure: Regenerate.
872         * configure.ac: Use AC_COMPILE_IFELSE instead of manual
873         preprocessor invocation to check for __XTENSA_CALL0_ABI__.
875 2020-06-09  Martin Liska  <mliska@suse.cz>
877         PR gcov-profile/95494
878         * libgcov-driver.c (write_top_counters): Cast first to
879         intptr_t as sizeof(*) != sizeof(gcov_type).
880         * libgcov.h (gcov_counter_set_if_null): Remove.
881         (gcov_topn_add_value): Cast first to intptr_t and update
882         linked list directly.
884 2020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
886         * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
887         with uw_install_context_1.
889 2020-06-04  Andreas Schwab  <schwab@suse.de>
891         PR target/59230
892         PR libfortran/59227
893         * config/ia64/t-softfp-compat (softfp_file_list): Filter out
894         soft-fp/divtf3.c.
895         (LIB2ADD): Add config/ia64/divtf3.c.
896         * config/ia64/divtf3.c: New file.
898 2020-06-03  Martin Liska  <mliska@suse.cz>
900         PR gcov-profile/95480
901         * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
902         * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
903         (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
904         (gcov_counter_set_if_null): Likewise.
906 2020-06-02  Jim Wilson  <jimw@sifive.com>
908         * config/riscv/div.S (__divdi3): For negative arguments, change bgez
909         to bgtz.
911 2020-06-02  Martin Liska  <mliska@suse.cz>
913         * libgcov.h (gcov_topn_add_value): Use xcalloc instead
914         of xmalloc.
916 2020-06-02  Martin Liska  <mliska@suse.cz>
918         * libgcov-driver.c (prune_topn_counter): Remove.
919         (prune_counters): Likewise.
920         (merge_one_data): Special case TOP N counters
921         as they have variable length.
922         (write_top_counters): New.
923         (write_one_data): Special case TOP N.
924         (dump_one_gcov): Do not prune TOP N counters.
925         * libgcov-merge.c (merge_topn_values_set): Remove.
926         (__gcov_merge_topn): Use gcov_topn_add_value.
927         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
928         Likewise here.
929         * libgcov.h (gcov_counter_add): New.
930         (gcov_counter_set_if_null): Likewise.
931         (gcov_topn_add_value): New.
933 2020-06-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
935         * config/i386/sfp-exceptions.c (struct fenv):
936         Add __attribute__ ((gcc_struct)).
938 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
940         PR bootstrap/95413
941         * configure: Regenerated.
943 2020-05-28  Dong JianQiang  <dongjianqiang2@huawei.com>
945         PR gcov-profile/95332
946         * libgcov-util.c (read_gcda_file): Call gcov_magic.
947         * libgcov.h (gcov_magic): Disable GCC poison.
949 2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
951         PR target/95212
952         * config/i386/cpuinfo.h (processor_features): Move
953         FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
955 2020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
957         PR target/91695
958         * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
959         check.
961 2020-05-19  H.J. Lu  <hongjiu.lu@intel.com>
963         PR target/95212
964         PR target/95220
965         * config/i386/cpuinfo.c (get_available_features): Fix
966         FEATURE_GFNI check.  Also check FEATURE_AVX512VP2INTERSECT.
967         * config/i386/cpuinfo.h (processor_features): Add
968         FEATURE_AVX512VP2INTERSECT.
970 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
972         PR bootstrap/95147
973         * configure: Regenerated.
975 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
977         * configure: Regenerated.
979 2020-05-09  Hans-Peter Nilsson  <hp@axis.com>
981         * config.host: Remove support for crisv32-*-* and cris*-*-linux.
982         * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
984 2020-05-06  UroÅ¡ Bizjak  <ubizjak@gmail.com>
986         * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
987         (__math_force_eval_div): New define.
988         (__sfp_handle_exceptions): Use __math_force_eval_div to use
989         generic division to generate INVALID, DIVZERO and INEXACT
990         exceptions.
992 2020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
994         * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
995         instead of getauxval.
996         (AT_HWCAP): Define.
997         (HWCAP_ATOMICS): Define.
998         Guard detection on __gnu_linux__.
1000 2020-05-05  Michael Meissner  <meissner@linux.ibm.com>
1002         * config.host: Delete changes meant for a private branch.
1003         * config/rs6000/t-float128: Likewise.
1004         * configure.ac: Likewise.
1005         * configure: Likewise.
1007 2020-05-05  Martin Liska  <mliska@suse.cz>
1009         PR gcov-profile/93623
1010         * Makefile.in: Remove __gcov_flush.
1011         * gcov.h (__gcov_flush): Remove.
1012         * libgcov-interface.c (__gcov_flush): Remove.
1013         (init_mx): Use renamed mutex.
1014         (__gcov_lock): Likewise.
1015         (__gcov_unlock): Likewise.
1016         (__gcov_fork): Likewise.
1017         (__gcov_flush): Remove.
1019 2020-05-05  Martin Liska  <mliska@suse.cz>
1021         PR gcov-profile/93623
1022         * libgcov-interface.c (__gcov_fork): Do not flush
1023         and reset only in child process.
1024         (__gcov_execl): Dump counters only and reset them
1025         only if exec* fails.
1026         (__gcov_execlp): Likewise.
1027         (__gcov_execle): Likewise.
1028         (__gcov_execv): Likewise.
1029         (__gcov_execvp): Likewise.
1030         (__gcov_execve): Likewise.
1032 2020-05-05  Martin Liska  <mliska@suse.cz>
1034         PR gcov-profile/93623
1035         * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1036         * libgcov-interface.c (ALIAS_void_fn): Remove.
1037         (__gcov_lock): New.
1038         (__gcov_unlock): New.
1039         (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1040         (__gcov_reset): Likewise.
1041         (__gcov_dump): Likewise.
1042         * libgcov.h (__gcov_lock): New declaration.
1043         (__gcov_unlock): Likewise.
1045 2020-05-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1047         * config/i386/sfp-exceptions.c (__math_force_eval): New define.
1048         (__sfp_handle_exceptions): Use __math_force_eval to evaluate
1049         generic division to generate INVALID and DIVZERO exceptions.
1051 2020-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1053         * config/rs6000/crtresfpr.S: Use .machine ppc.
1054         * config/rs6000/crtresxfpr.S: Likewise.
1055         * config/rs6000/crtsavfpr.S: Likewise.
1057 2020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1059         PR target/94514
1060         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1061         Update context->flags accroding to the frame state.
1063 2020-04-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1065         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1066         Remove unneeded assignments to volatile memory.
1068 2020-04-15  Jakub Jelinek  <jakub@redhat.com>
1070         PR target/93053
1071         * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1072         * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1073         is not defined, use just .arch armv8-a.
1074         (B, M, N, OPN): Define.
1075         (COMMENT): New .macro.
1076         (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1077         defined.  Otherwise, move the operands right after the glue? and
1078         comment out operands where the macros are used.
1079         * configure: Regenerated.
1080         * config.in: Regenerated.
1082 2020-04-07  Ian Lance Taylor  <iant@golang.org>
1084         PR libgcc/94513
1085         * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1086         syscall instead.
1088 2020-04-04  Ian Lance Taylor  <iant@golang.org>
1090         * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1092 2020-04-03  Ian Lance Taylor  <iant@golang.org>
1094         * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1095         than mmap/munmap, to avoid hooks.
1097 2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
1099         * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1100         (TPFRA_OFFSET): Macros removed.
1101         (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1102         (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1103         (PG3_SKIPPING_OFFSET): New macros.
1104         (__isPATrange): Use cinfc_fast for the check.
1105         (__isSkipResetAddr): New function.
1106         (s390_fallback_frame_state): Check for skip trace addresses. Use
1107         either ICST_CRET or ICST_SRET to calculate return address
1108         location.
1109         (__tpf_eh_return): Handle skip trace addresses.
1111 2020-03-26  Richard Earnshaw  <rearnsha@arm.com>
1113         PR target/94220
1114         * config/arm/lib1funcs.asm (COND): Use a single definition for
1115         unified syntax.
1116         (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1117         (aeabi_idivmod): Likewise.
1118         (divsi3_skip_div0_test): Likewise.
1120 2020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
1122         * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1124 2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
1126         * config.host: Include the new makefile fragment.
1127         * config/s390/t-tpf: New file.
1129 2020-03-03  Richard Earnshaw  <rearnsha@arm.com>
1131         * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1132         syntax.
1133         (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1134         (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1135         (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1136         (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1137         * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1138         syntax.
1139         (divsi3, modsi3): Likewise.
1140         (clzdi2, ctzsi2): Likewise.
1141         * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1142         unified syntax.
1143         (UNWIND_WRAPPER): Likewise.
1145 2020-03-02  Martin Liska  <mliska@suse.cz>
1147         * libgcov-interface.c: Remove duplicate
1148         declaration of __gcov_flush_mx.
1150 2020-02-18  Martin Liska  <mliska@suse.cz>
1152         PR ipa/92924
1153         * libgcov-merge.c (merge_topn_values_set): Record
1154         when a TOP N counter becomes invalid.  When merging
1155         remove a smallest value if the space is needed.
1157 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
1159         PR libstdc++/79193
1160         PR libstdc++/88999
1162         * configure: Regenerated.
1164 2020-02-10  Jeff Law  <law@redhat.com>
1166         * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1167         sections.
1168         * config/frv/frvend.c: Similarly.
1170 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
1172         PR libgcc/85334
1173         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1174         New.
1176 2020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
1178         PR target/93615
1179         * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1180         _Unwind_gnu_Find_got.
1181         * unwind-pe.h: Likewise.
1183 2020-02-07  Jakub Jelinek  <jakub@redhat.com>
1185         PR target/93615
1186         * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1187         (_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
1188         trailing :s in asm.  Formatting fixes.
1189         (_Unwind_decode_typeinfo_ptr): Adjust caller.
1191 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
1193         nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1195         * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1196         * config/nios2-elf-lib.h: New.
1197         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1198         code for finding GOT base for nios2.
1200 2020-01-27  Martin Liska  <mliska@suse.cz>
1202         PR gcov-profile/93403
1203         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1204         Call __gcov_indirect_call_profiler_body.
1205         (__gcov_indirect_call_profiler_body): New.
1206         (__gcov_indirect_call_profiler_v4_atomic): New.
1207         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1208         New declaration.
1210 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
1212         * config/arc/crti.S: Add RF16 object attribute.
1213         * config/arc/crtn.S: Likewise.
1214         * config/arc/crttls.S: Likewise.
1215         * config/arc/lib1funcs.S: Likewise.
1216         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1217         * config/arc/lib2funcs.c: New file.
1218         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1220 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
1222         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1223         * configure.ac: Handle `--with-toolexeclibdir='.
1224         * configure: Regenerate.
1226 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
1228         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1230 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
1232         * config/mips/gnustack.h: New file.
1233         * config/mips/crti.S: Include gnustack.h.
1234         * config/mips/crtn.S: Likewise.
1235         * config/mips/mips16.S: Likewise.
1236         * config/mips/vr4120-div.S: Likewise.
1238 2020-01-23  Martin Liska  <mliska@suse.cz>
1240         * libgcov-driver.c (prune_topn_counter): Remove
1241         check for -1 as we only prune run-time counters
1242         that do not generate an invalid state.
1244 2020-01-22  Martin Liska  <mliska@suse.cz>
1246         PR tree-optimization/92924
1247         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1248         try to find an existing value, then find an empty slot
1249         if not found.
1251 2020-01-22  Martin Liska  <mliska@suse.cz>
1253         PR tree-optimization/92924
1254         * libgcov-driver.c (prune_topn_counter): New.
1255         (prune_counters): Likewise.
1256         (dump_one_gcov): Prune a run-time counter.
1257         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1258         For a known value, add GCOV_TOPN_VALUES to value.
1259         Otherwise, decrement all counters by one.
1261 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
1263         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1265 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
1267         PR libgcc/92988
1268         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1269         DEFAULT_USE_CXA_ATEXIT is true.
1271 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
1272             Thomas Preud'homme  <thomas.preudhomme@arm.com>
1274         * config/arm/t-arm: Check return value of gcc rather than lack of
1275         output.
1277 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
1279         * config/avr/lib1funcs.S (skip): Simplify.
1281 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
1283         * config/gcn/atomic.c: Remove include of stdint.h.
1284         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1285         __UINTPTR_TYPE__.
1287 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
1289         * config/gcn/atomic.c: New.
1290         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1292 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
1294         Implement 64-bit double functions.
1296         PR target/92055
1297         * config.host (tmake_file) [target=avr]: Add t-libf7,
1298         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1299         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1300         depending on sizeof (double) or sizeof (long double).
1301         * config/avr/libf7: New folder.
1303 2020-01-05  Olivier Hainque  <hainque@adacore.com>
1305         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1306         by IN_LIBGCC2.
1308 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
1310         Update copyright years.
1312 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1314         * config/gthr-vxworks.h: Use _vxworks-versions.h.
1315         * config/gthr-vxworks-tls.c: Likewise.
1317 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1319         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1320         standard zero-initializer syntax.
1322 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1324         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1325         reference to the internal VX_GET_TLS_DATA interface.
1327 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1329         * config/vxcrtstuff.c: Fix incorrect spelling of
1330         USE_INITFINI_ARRAY in guard.
1332 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1334         * config.host: s/msp430*-*-elf/msp430-*-elf*.
1335         Override default "extra_parts" variable.
1336         * configure: Regenerate.
1337         * configure.ac: Disable TM clone registry by default for
1338         msp430-elfbare.
1340 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1342         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1343         "extra_parts".
1344         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1346 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1348         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1349         true.
1351 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1353         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1354         defined instead of its value.
1356 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1358         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1359         if it will have contents.
1361 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
1363         PR target/92055
1364         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1366 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1368         PR libgcc/91737
1369         * config.host: Add t-gthr-noweak on *-*-musl*.
1370         * config/t-gthr-noweak: New file.
1372 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
1374         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1375         volatile void *.  Remove trap check.
1376         (__kernel_cmpxchg2): Likewise.
1377         (FETCH_AND_OP_2): Adjust operand types.
1378         (OP_AND_FETCH_2): Likewise.
1379         (FETCH_AND_OP_WORD): Likewise.
1380         (OP_AND_FETCH_WORD): Likewise.
1381         (COMPARE_AND_SWAP_2): Likewise.
1382         (__sync_val_compare_and_swap_4): Likewise.
1383         (__sync_bool_compare_and_swap_4): Likewise.
1384         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1385         (__sync_lock_test_and_set_4): Likewise.
1386         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
1387         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
1388         for release.
1389         (__sync_lock_release_8): Remove.
1391 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1393         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1394         of __sigset_t.
1396 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
1397             Doug Rupp <rupp@adacore.com>
1398             Olivier Hainque  <hainque@adacore.com>
1400         * config.host: Collapse the arm-vxworks entries into
1401         a single arm-wrs-vxworks7* one.
1402         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
1403         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1404         kernel modules, to be overriden by libstdc++ when we link with
1405         it.  Rely on externally provided __exidx_start/end.
1407 2019-11-14  Doug Rupp  <rupp@adacore.com>
1408             Olivier Hainque  <hainque@adacore.com>
1410         * config.host: Handle aarch64*-wrs-vxworks7*.
1412 2019-11-12  Olivier Hainque  <hainque@adacore.com>
1414         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1415         sources except the cxx0x support to LIB2ADDEH.  We don't support
1416         cxx0x on AE/653.
1417         * config/t-vxworksae: New file.
1418         * config.host: Handle *-*-vxworksae: Add the two aforementioned
1419         Makefile fragment files at their expected position in the tmake_file
1420         list, in accordance with what is done for other VxWorks variants.
1422 2019-11-12  Corentin Gay  <gay@adacore.com>
1423             Jerome Lambourg  <lambourg@adacore.com>
1424             Olivier Hainque  <hainque@adacore.com>
1426         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1427         sources to LIB2ADDEH.
1428         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1429         * config/t-vxworks7: Likewise.
1431         * config.host: Append a block at the end of the file to add the
1432         t-gthr files to the tmake_file list for VxWorks after everything
1433         else.
1435         * config/vxlib.c: Rename as gthr-vxworks.c.
1436         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1438         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
1439         API and a basic error checking API, both internal.  Simplify the
1440         __gthread_once_t type definition and initializers.  Add sections
1441         for condition variables support and for the C++0x thread support,
1442         conditioned against Vx653 for the latter.
1444         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1445         implementation, leveraging the TAS internal API.
1446         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1447         API, leveraging the general availability of TLS services in VxWorks7
1448         post SR6xxx.
1449         (__gthread_setspecific, __gthread_setspecific): Use it.
1450         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1451         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
1452         support based on VxWorks primitives.
1453         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
1454         based on VxWorks primitives.
1456 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
1457             Olivier Hainque  <hainque@adacore.com>
1459         * config/vxcrtstuff.c: New file.
1460         * config/t-vxcrtstuff: New Makefile fragment.
1461         * config.host: Append t-vxcrtstuff to the tmake_file list
1462         on all VxWorks ports using dwarf for table based EH.
1464 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
1466         Support 64-bit double and 64-bit long double configurations.
1468         PR target/92055
1469         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1470         long double is a 32-bit type.
1471         * config/avr/t-avrlibc: Copy double64 and long-double64
1472         multilib(s) from the vanilla one.
1473         * config/avr/t-copy-libgcc: New Makefile snip.
1475 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1477         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1478         the target output object format is not ELF.
1479         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1481 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
1483         PR libgcc/78804
1484         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1485         * fp-bit.c (pack_d, unpack_d): Remove special cases for
1486         FLOAT_BIT_ORDER_MISMATCH.
1487         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1489 2019-11-01  Jim Wilson  <jimw@sifive.com>
1491         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1493 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1495         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1496         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
1497         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1498         Define symbols for 32-bit and f5series hardware multiply
1499         register addresses.
1500         Replace hard-coded register addresses with symbols.
1501         Fix "_mspabi*" typo.
1502         Fix whitespace.
1503         * config/msp430/lib2mul.c: Add comment.
1505 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
1507         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1508         unsigned int.  Adjust callers.
1509         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1510         unsigned int *.  Load relocation offset before function pointer.
1511         Add barrier to ensure ordering.
1513 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
1515         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1516         Load PIC register after branch target.  Fix white space.
1517         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1518         implementations.  Load PIC register after branch target.  Don't
1519         clobber function pointer when it points to function descriptor.
1520         Use nullification instead of branch in LINUX implementation.
1522 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
1524         * config/pa/fptr.c: Disable -Warray-bounds warning.
1526 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
1528         * config.in, configure: Re-rebuild with stock autoconf 2.69,
1529         not the ubuntu modified 2.69.
1531         PR target/91833
1532         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
1533         initialization if !HAVE_SYS_AUXV_H.
1534         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1535         * config.in, configure: Rebuild.
1537         PR target/91834
1538         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1539         overlap the inputs.
1541 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
1543         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1544         CTR_EL0.IDC and CTR_EL0.DIC.
1546 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
1548         Revert:
1549         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1550                 Mickaël Guêné <mickael.guene@st.com>
1552         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1553         architecture.
1555 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
1557         * config/aarch64/lse-init.c: New file.
1558         * config/aarch64/lse.S: New file.
1559         * config/aarch64/t-lse: New file.
1560         * config.host: Add t-lse to all aarch64 tuples.
1562 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1563         Mickaël Guêné <mickael.guene@st.com>
1565         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1566         architecture.
1568 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1569         Mickaël Guêné <mickael.guene@st.com>
1571         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1572         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1573         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1574         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1575         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1576         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1577         (__gnu_personality_sigframe_fdpic): New.
1578         (get_eit_entry): Add FDPIC signal frame support.
1580 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1581         Mickaël Guêné <mickael.guene@st.com>
1583         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1584         (__kernel_dmb): Likewise.
1585         (__fdpic_cmpxchg): New function.
1586         (__fdpic_dmb): New function.
1587         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1588         (gnu_Unwind_Find_got): New function.
1589         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1590         * unwind-arm-common.inc (UCB_PR_GOT): New.
1591         (funcdesc_t): New struct.
1592         (get_eit_entry): Add FDPIC support.
1593         (unwind_phase2): Likewise.
1594         (unwind_phase2_forced): Likewise.
1595         (__gnu_Unwind_RaiseException): Likewise.
1596         (__gnu_Unwind_Resume): Likewise.
1597         (__gnu_Unwind_Backtrace): Likewise.
1598         * unwind-pe.h (read_encoded_value_with_base): Likewise.
1600 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1601         Mickaël Guêné <mickael.guene@st.com>
1603         * libgcc/crtstuff.c: Add support for FDPIC.
1605 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1607         * config.host: Handle *-*-uclinuxfdpiceabi.
1609 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
1611         * config.host: Set cpu_type for bpf-*-* targets.
1612         * config/bpf/t-bpf: Likewise.
1613         * config/bpf/crtn.S: Likewise.
1614         * config/bpf/crti.S: New file.
1616 2019-09-06  Jim Wilson  <jimw@sifive.com>
1618         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1619         (riscv*-*-freebsd*): Likewise.
1621 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
1623         * config.host: Remove references to spu.
1624         * config/spu/: Remove directory.
1626 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1628         PR target/91306
1629         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1630         element type, instead of "sizeof" the element type.
1631         (__DTOR_LIST__): Likewise.
1632         (__TMC_LIST__): Likewise.
1633         (__do_global_dtors_aux_fini_array_entry): Likewise.
1634         (__frame_dummy_init_array_entry): Likewise.
1635         (__CTOR_END__): Likewise.
1636         (__DTOR_END__): Likweise.
1637         (__FRAME_END__): Likewise.
1638         (__TMC_END__): Likewise.
1640 2019-08-20  Lili Cui  <lilicui@intel.com>
1642         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1643         INTEL_COREI7_COOPERLAKE.
1645 2019-07-31  Matt Thomas  <matt@3am-software.com>
1646             Nick Hudson <nick@nthcliff.demon.co.uk>
1647             Matthew Green <mrg@eterna.com.au>
1648             Maya Rashish <coypu@sdf.org>
1650         * config.host (hppa*-*-netbsd*): New case.
1651         * config/pa/t-netbsd: New file.
1653 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
1655         * config/arm/cmse.c (cmse_check_address_range): Add
1656         warn_unused_result attribute.
1658 2019-07-22  Martin Liska  <mliska@suse.cz>
1660         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1661         * config/pa/t-stublib: Likewise.
1663 2019-07-22  Stafford Horne  <shorne@gmail.com>
1665         PR target/90362
1666         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1667         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1668         instructions are not available on every processor.  Change a
1669         l.bnf to l.bf to fix logic issue.
1671 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
1673         * config.host: Remove reference to t-darwin8.
1675 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
1677         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1678         list.
1679         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
1680         mmacosx-version-min for crts to run across all system versions.
1681         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1682         * config/t-darwin: Revise mmacosx-version-min for crts to run across
1683         system versions >= 10.4.
1685 2019-07-03  Martin Liska  <mliska@suse.cz>
1687         * Makefile.in: Use topn_values instead of one_value names.
1688         * libgcov-merge.c (__gcov_merge_single): Move to ...
1689         (__gcov_merge_topn): ... this.
1690         (merge_single_value_set): Move to ...
1691         (merge_topn_values_set): ... this.
1692         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1693         ...
1694         (__gcov_topn_values_profiler_body): ... this.
1695         (__gcov_one_value_profiler_v2): Move to ...
1696         (__gcov_topn_values_profiler): ... this.
1697         (__gcov_one_value_profiler_v2_atomic): Move to ...
1698         (__gcov_topn_values_profiler_atomic): ... this.
1699         (__gcov_indirect_call_profiler_v4): Remove.
1700         * libgcov-util.c (__gcov_single_counter_op): Move to ...
1701         (__gcov_topn_counter_op): ... this.
1702         * libgcov.h (L_gcov_merge_single): Remove.
1703         (L_gcov_merge_topn): New.
1704         (__gcov_merge_single): Remove.
1705         (__gcov_merge_topn): New.
1706         (__gcov_one_value_profiler_v2): Move to ..
1707         (__gcov_topn_values_profiler): ... this.
1708         (__gcov_one_value_profiler_v2_atomic): Move to ...
1709         (__gcov_topn_values_profiler_atomic): ... this.
1711 2019-07-03  Martin Liska  <mliska@suse.cz>
1713         * libgcov-merge.c (merge_single_value_set): Support N values.
1714         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1716 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
1718         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1719         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1720         * configure.ac: Add --disable-tm-clone-registry option.
1721         * configure: Regenerate.
1723 2019-06-27  Martin Liska  <mliska@suse.cz>
1725         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1726         dead assignments.
1727         * libgcov-util.c: Likewise.
1729 2019-06-27  Martin Liska  <mliska@suse.cz>
1731         * libgcov-util.c (gcov_profile_merge): Release allocated
1732         memory.
1733         (calculate_overlap): Likewise.
1735 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
1737         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1738         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1739         Build objects for the out of line save/restore register functions
1740         so that they can be used for any supported Darwin version.
1741         * config/t-darwin: Default the build Darwin version to Darwin8
1742         (MacOS 10.4).
1744 2019-06-25  Martin Liska  <mliska@suse.cz>
1746         * libgcov-driver-system.c (replace_filename_variables): Do not
1747         call strlen with NULL argument.
1749 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
1751         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1752         * config/gcn/unwind-gcn.c: New file.
1754 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
1755             Andrew Stubbs  <ams@codesourcery.com>
1757         * configure: Regenerate.
1758         * config/gcn/gthr-gcn.h: New.
1760 2019-06-18  Tom de Vries  <tdevries@suse.de>
1762         * config/nvptx/crt0.c (__main): Declare.
1764 2019-06-17  Matthew Green  <mrg@eterna.com.au>
1765             Maya Rashish  <coypu@sdf.org>
1767         * config.host (aarch64*-*-netbsd*): New case.
1769 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1771         * config/msp430/slli.S (__mspabi_sllll): New library function for
1772         performing a logical left shift of a 64-bit value.
1773         * config/msp430/srai.S (__mspabi_srall): New library function for
1774         performing a arithmetic right shift of a 64-bit value.
1775         * config/msp430/srll.S (__mspabi_srlll): New library function for
1776         performing a logical right shift of a 64-bit value.
1778 2019-06-14  Matt Thomas  <matt@3am-software.com>
1779             Matthew Green  <mrg@eterna.com.au>
1780             Nick Hudson  <skrll@netbsd.org>
1781             Maya Rashish  <coypu@sdf.org>
1783         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1784         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1785         functions to build.
1786         * config/arm/t-netbsd-eabi: New file.
1788 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
1790         * config.host: Add PRU target.
1791         * config/pru/asri.c: New file.
1792         * config/pru/eqd.c: New file.
1793         * config/pru/eqf.c: New file.
1794         * config/pru/ged.c: New file.
1795         * config/pru/gef.c: New file.
1796         * config/pru/gtd.c: New file.
1797         * config/pru/gtf.c: New file.
1798         * config/pru/led.c: New file.
1799         * config/pru/lef.c: New file.
1800         * config/pru/lib2bitcountHI.c: New file.
1801         * config/pru/lib2divHI.c: New file.
1802         * config/pru/lib2divQI.c: New file.
1803         * config/pru/lib2divSI.c: New file.
1804         * config/pru/libgcc-eabi.ver: New file.
1805         * config/pru/ltd.c: New file.
1806         * config/pru/ltf.c: New file.
1807         * config/pru/mpyll.S: New file.
1808         * config/pru/pru-abi.h: New file.
1809         * config/pru/pru-asm.h: New file.
1810         * config/pru/pru-divmod.h: New file.
1811         * config/pru/sfp-machine.h: New file.
1812         * config/pru/t-pru: New file.
1814 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
1816         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1818 2019-06-10  Martin Liska  <mliska@suse.cz>
1820         PR bootstrap/90808
1821         * libgcov.h: Add ATTRIBUTE_UNUSED.
1823 2019-06-10  Martin Liska  <mliska@suse.cz>
1825         * Makefile.in: Add __gcov_one_value_profiler_v2,
1826         __gcov_one_value_profiler_v2_atomic and
1827         __gcov_indirect_call_profiler_v4.
1828         * libgcov-merge.c (__gcov_merge_single): Change
1829         function signature.
1830         (merge_single_value_set): New.
1831         * libgcov-profiler.c (__gcov_one_value_profiler_body):
1832         Update functionality.
1833         (__gcov_one_value_profiler): Remove.
1834         (__gcov_one_value_profiler_v2): ... this.
1835         (__gcov_one_value_profiler_atomic): Rename to ...
1836         (__gcov_one_value_profiler_v2_atomic): this.
1837         (__gcov_indirect_call_profiler_v3): Rename to ...
1838         (__gcov_indirect_call_profiler_v4): ... this.
1839         * libgcov.h (__gcov_one_value_profiler): Remove.
1840         (__gcov_one_value_profiler_atomic): Remove.
1841         (__gcov_one_value_profiler_v2_atomic): New.
1842         (__gcov_indirect_call_profiler_v3): Remove.
1843         (__gcov_one_value_profiler_v2): New.
1844         (__gcov_indirect_call_profiler_v4): New.
1845         (gcov_get_counter_ignore_scaling): New function.
1847 2019-06-07  Martin Liska  <mliska@suse.cz>
1849         * Makefile.in: Remove usage of
1850         _gcov_merge_icall_topn.
1851         * libgcov-driver.c (gcov_sort_n_vals): Remove.
1852         (gcov_sort_icall_topn_counter): Likewise.
1853         (gcov_sort_topn_counter_arrays): Likewise.
1854         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1855         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1856         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1857         Likewise.
1858         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1859         (struct indirect_call_tuple): Remove.
1860         (__gcov_indirect_call_topn_profiler): Remove.
1861         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1862         * libgcov.h (gcov_sort_n_vals): Remove.
1863         (L_gcov_merge_icall_topn): Likewise.
1864         (__gcov_merge_icall_topn): Likewise.
1865         (__gcov_indirect_call_topn_profiler): Likewise.
1867 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
1869         * config/rs6000/t-darwin: Ensure that the unwinder is built with
1870         altivec enabled.
1872 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1874         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1875         section.
1876         (__mspabi_slli): Likewise.
1877         (__mspabi_slll_n): Likewise.
1878         (__mspabi_slll): Likewise.
1879         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1880         (__mspabi_srai): Likewise.
1881         (__mspabi_sral_n): Likewise.
1882         (__mspabi_sral): Likewise.
1883         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1884         (__mspabi_srli): Likewise.
1885         (__mspabi_srll_n): Likewise.
1886         (__mspabi_srll): Likewise.
1888 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
1890         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1891         Add appropriate tm_file clause as well.
1892         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1894 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
1896         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1897         rather than .data/.bss so it can be accessed via gp-relative
1898         addressing.
1900 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
1902         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1903         (CR2_REGNO): Rename to R_CR2.
1904         (XER_REGNO): Rename to R_XER.
1905         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1906         (VRSAVE_REGNO): Rename to R_VRSAVE.
1907         (VSCR_REGNO): R_VSCR.
1909 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
1911         * config.host (rx-*-linux*): Add new case.
1912         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1914 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
1916         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1917         function.
1918         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1919         aarch64_post_frob_eh_handler_addr): Add check for b-key.
1920         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1921         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1922         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1923         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1924         string.
1925         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1926         string.
1927         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1929 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1931         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1932         Remove Solaris 9 and 10 support.
1933         (sparc_is_sighandler): Likewise.
1935 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
1937         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1939 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1941         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1942         4_FP_W_TYPEs are used for IEEE quad precision.
1943         * soft-fp/extendhftf2.c: Likewise.
1944         * soft-fp/extendsftf2.c: Likewise.
1945         * soft-fp/extendxftf2.c: Likewise.
1946         * soft-fp/trunctfdf2.c: Likewise.
1947         * soft-fp/trunctfhf2.c: Likewise.
1948         * soft-fp/trunctfsf2.c: Likewise.
1949         * soft-fp/trunctfxf2.c: Likewise.
1950         * config/rs6000/ibm-ldouble.c: Likewise.
1952 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1954         * config.host: Simplify various *-*-solaris2.1[0-9]* to
1955         *-*-solaris2*.
1956         * configure.ac: Likewise.
1957         * configure: Regenerate.
1959         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1960         Solaris 10 and Solaris 11 < snv_125 handling.
1962 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
1964         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1966 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
1968         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1969         * config/i386/cpuinfo.h (enum processor_features): Add
1970         FEATURE_AVX512BF16.
1972 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1973             Bernd Edlinger  <bernd.edlinger@hotmail.de>
1974             Jakub Jelinek  <jakub@redhat.com>
1976         PR target/89093
1977         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1978         * config/arm/unwind-arm.c: Likewise.
1979         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1980         attribute for ARM.
1982 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
1984         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1985         (RT_SIGRETURN): Update.
1986         (nds32_fallback_frame_state): Update.
1988 2019-02-21  Martin Sebor  <msebor@redhat.com>
1990         * libgcc2.h (__clear_cache): Correct signature.
1991         * libgcc2.c (__clear_cache): Same.
1993 2019-02-20  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1995         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1996         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1998 2019-02-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2000         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2001         regno instead of index to DWARF_ZERO_REG.
2003 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
2005         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2006         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2008 2019-01-31  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2010         * config/alpha/t-linux: Add -mfp-rounding-mode=d
2011         to HOST_LIBGCC2_CFLAGS.
2013 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
2015         PR libgcc/88931
2016         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
2018 2019-01-18  Martin Liska  <mliska@suse.cz>
2020         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2021         to ...
2022         (__gcov_indirect_call_profiler_v3): ... this.
2023         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2024         (__gcov_indirect_call_profiler_v3): Likewise.
2025         * Makefile.in: Bump function name.
2027 2019-01-18  Martin Liska  <mliska@suse.cz>
2029         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2030         (gcov_version): Use in gcov_error.
2031         (merge_one_data): Likewise.
2032         (dump_one_gcov): Likewise.
2034 2019-01-18  Martin Liska  <mliska@suse.cz>
2036         * libgcov-driver.c (gcov_version_string): New function.
2037         (gcov_version): Convert version integer into string.
2039 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
2040             Kwok Cheung Yeung  <kcy@codesourcery.com>
2041             Julian Brown  <julian@codesourcery.com>
2042             Tom de Vries  <tom@codesourcery.com>
2044         * config.host: Recognize amdgcn*-*-amdhsa.
2045         * config/gcn/crt0.c: New file.
2046         * config/gcn/lib2-divmod-hi.c: New file.
2047         * config/gcn/lib2-divmod.c: New file.
2048         * config/gcn/lib2-gcn.h: New file.
2049         * config/gcn/sfp-machine.h: New file.
2050         * config/gcn/t-amdgcn: New file.
2052 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
2054         PR other/16615
2056         * config/c6x/libunwind.S: Mechanically replace "can not" with
2057         "cannot".
2058         * config/tilepro/atomic.h: Likewise.
2059         * config/vxlib-tls.c: Likewise.
2060         * generic-morestack-thread.c: Likewise.
2061         * generic-morestack.c: Likewise.
2062         * mkmap-symver.awk: Likewise.
2064 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
2066         Update copyright years.
2068 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
2070         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2071         to ignore -Waddress-of-packed-member.
2073 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
2075         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2076         parameter and corresponding code.
2077         (ARM_FUNC_START): Likewise in both definitions.
2078         Also update footer comment about condition that need to match with
2079         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2080         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2081         defined.  Weakly define it in this case.
2082         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2083         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2084         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2085         comment to keep condition in sync with the one in
2086         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2088 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
2090         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2091         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2093 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2095         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2096         and .cfi_endproc directives for VxWorks targets.
2098 2018-12-05  Paul Koning  <ni1d@arrl.net>
2100         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2102 2018-11-27  Alan Modra  <amodra@gmail.com>
2104         * config/rs6000/morestack.S (__stack_split_initialize),
2105         (__morestack_get_guard, __morestack_set_guard),
2106         (__morestack_make_guard): Provide CFI covering these functions.
2107         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2109 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
2111         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
2112         (sc_pt_regs_lr): Update for kernel.
2113         (sc_pt_regs_tls): Update for kernel.
2115 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
2117         * config/csky/linux-unwind.h: Fix coding style.
2119 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
2121         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
2122         (csky_fallback_frame_state): Modify the check of the
2123         instructions to adapt to changes in the kernel
2125 2018-11-09  Stafford Horne  <shorne@gmail.com>
2126             Richard Henderson  <rth@twiddle.net>
2128         * config.host: Add OpenRISC support.
2129         * config/or1k/*: New.
2131 2018-11-08  Kito Cheng  <kito@andestech.com>
2133         * soft-fp/adddf3.c: Update from glibc.
2134         * soft-fp/addsf3.c: Likewise.
2135         * soft-fp/addtf3.c: Likewise.
2136         * soft-fp/divdf3.c: Likewise.
2137         * soft-fp/divsf3.c: Likewise.
2138         * soft-fp/divtf3.c: Likewise.
2139         * soft-fp/double.h: Likewise.
2140         * soft-fp/eqdf2.c: Likewise.
2141         * soft-fp/eqsf2.c: Likewise.
2142         * soft-fp/eqtf2.c: Likewise.
2143         * soft-fp/extenddftf2.c: Likewise.
2144         * soft-fp/extended.h: Likewise.
2145         * soft-fp/extendhftf2.c: Likewise.
2146         * soft-fp/extendsfdf2.c: Likewise.
2147         * soft-fp/extendsftf2.c: Likewise.
2148         * soft-fp/extendxftf2.c: Likewise.
2149         * soft-fp/fixdfdi.c: Likewise.
2150         * soft-fp/fixdfsi.c: Likewise.
2151         * soft-fp/fixdfti.c: Likewise.
2152         * soft-fp/fixhfti.c: Likewise.
2153         * soft-fp/fixsfdi.c: Likewise.
2154         * soft-fp/fixsfsi.c: Likewise.
2155         * soft-fp/fixsfti.c: Likewise.
2156         * soft-fp/fixtfdi.c: Likewise.
2157         * soft-fp/fixtfsi.c: Likewise.
2158         * soft-fp/fixtfti.c: Likewise.
2159         * soft-fp/fixunsdfdi.c: Likewise.
2160         * soft-fp/fixunsdfsi.c: Likewise.
2161         * soft-fp/fixunsdfti.c: Likewise.
2162         * soft-fp/fixunshfti.c: Likewise.
2163         * soft-fp/fixunssfdi.c: Likewise.
2164         * soft-fp/fixunssfsi.c: Likewise.
2165         * soft-fp/fixunssfti.c: Likewise.
2166         * soft-fp/fixunstfdi.c: Likewise.
2167         * soft-fp/fixunstfsi.c: Likewise.
2168         * soft-fp/fixunstfti.c: Likewise.
2169         * soft-fp/floatdidf.c: Likewise.
2170         * soft-fp/floatdisf.c: Likewise.
2171         * soft-fp/floatditf.c: Likewise.
2172         * soft-fp/floatsidf.c: Likewise.
2173         * soft-fp/floatsisf.c: Likewise.
2174         * soft-fp/floatsitf.c: Likewise.
2175         * soft-fp/floattidf.c: Likewise.
2176         * soft-fp/floattihf.c: Likewise.
2177         * soft-fp/floattisf.c: Likewise.
2178         * soft-fp/floattitf.c: Likewise.
2179         * soft-fp/floatundidf.c: Likewise.
2180         * soft-fp/floatundisf.c: Likewise.
2181         * soft-fp/floatunditf.c: Likewise.
2182         * soft-fp/floatunsidf.c: Likewise.
2183         * soft-fp/floatunsisf.c: Likewise.
2184         * soft-fp/floatunsitf.c: Likewise.
2185         * soft-fp/floatuntidf.c: Likewise.
2186         * soft-fp/floatuntihf.c: Likewise.
2187         * soft-fp/floatuntisf.c: Likewise.
2188         * soft-fp/floatuntitf.c: Likewise.
2189         * soft-fp/gedf2.c: Likewise.
2190         * soft-fp/gesf2.c: Likewise.
2191         * soft-fp/getf2.c: Likewise.
2192         * soft-fp/half.h: Likewise.
2193         * soft-fp/ledf2.c: Likewise.
2194         * soft-fp/lesf2.c: Likewise.
2195         * soft-fp/letf2.c: Likewise.
2196         * soft-fp/muldf3.c: Likewise.
2197         * soft-fp/mulsf3.c: Likewise.
2198         * soft-fp/multf3.c: Likewise.
2199         * soft-fp/negdf2.c: Likewise.
2200         * soft-fp/negsf2.c: Likewise.
2201         * soft-fp/negtf2.c: Likewise.
2202         * soft-fp/op-1.h: Likewise.
2203         * soft-fp/op-2.h: Likewise.
2204         * soft-fp/op-4.h: Likewise.
2205         * soft-fp/op-8.h: Likewise.
2206         * soft-fp/op-common.h: Likewise.
2207         * soft-fp/quad.h: Likewise.
2208         * soft-fp/single.h: Likewise.
2209         * soft-fp/soft-fp.h: Likewise.
2210         * soft-fp/subdf3.c: Likewise.
2211         * soft-fp/subsf3.c: Likewise.
2212         * soft-fp/subtf3.c: Likewise.
2213         * soft-fp/truncdfsf2.c: Likewise.
2214         * soft-fp/trunctfdf2.c: Likewise.
2215         * soft-fp/trunctfhf2.c: Likewise.
2216         * soft-fp/trunctfsf2.c: Likewise.
2217         * soft-fp/trunctfxf2.c: Likewise.
2218         * soft-fp/unorddf2.c: Likewise.
2219         * soft-fp/unordsf2.c: Likewise.
2220         * soft-fp/unordtf2.c: Likewise.
2222 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
2224         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2225         * config/i386/cpuinfo.h (processor_types): Add znver2.
2227 2018-11-01  Paul Koning  <ni1d@arrl.net>
2229         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2230         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2232 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
2234         PR bootstrap/82856
2235         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
2236         * configure: Regenerate.
2238 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
2240         * config/arc/lib1funcs.S (_muldi3): New function.
2241         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2243 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2245         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2247 2018-10-25  Martin Liska  <mliska@suse.cz>
2249         PR other/87735
2250         * libgcov-profiler.c: Revert.
2252 2018-10-24  Martin Liska  <mliska@suse.cz>
2254         * libgcov-profiler.c: Start from 1 in order to distinguish
2255         functions which were seen and these that were not.
2257 2018-10-18  Paul Koning  <ni1d@arrl.net>
2259         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2260         standard.
2261         * divmod.c: Update references to __udivmodsi4.
2262         * udivmod.c: Ditto.
2263         * udivhi3.c: New file.
2264         * udivmodhi4.c: New file.
2265         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2267 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2269         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2271 2018-10-12  Olivier Hainque  <hainque@adacore.com>
2273         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2274         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2276 2018-10-08  Paul Koning  <ni1d@arrl.net>
2278         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2280 2018-10-04  Martin Liska  <mliska@suse.cz>
2282         PR gcov-profile/84107
2283         * libgcov-profiler.c (__gcov_indirect_call):
2284         Change type to indirect_call_tuple.
2285         (struct indirect_call_tuple): New struct.
2286         (__gcov_indirect_call_topn_profiler): Change type.
2287         (__gcov_indirect_call_profiler_v2): Use the new
2288         variables.
2289         * libgcov.h (struct indirect_call_tuple): New struct
2290         definition.
2292 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
2294         * libgcc2.c (isnan): Use __builtin_isnan.
2295         (isfinite): Use __builtin_isfinite.
2296         (isinf): Use __builtin_isinf.
2298 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
2300         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2302 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
2304         * config/vxcache.c: New file.  Provide __clear_cache, based on
2305         the cacheTextUpdate VxWorks service.
2306         * config/t-vxworks (LIB2ADD): Add vxcache.c.
2307         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2308         * config/t-vxwoks7: Likewise.
2310 2018-09-21  Martin Liska  <mliska@suse.cz>
2312         * libgcov-driver.c (crc32_unsigned): Remove.
2313         (gcov_histogram_insert): Likewise.
2314         (gcov_compute_histogram): Likewise.
2315         (compute_summary): Simplify rapidly.
2316         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2317         (merge_summary): Rapidly simplify.
2318         (dump_one_gcov): Ignore gcov_summary.
2319         (gcov_do_dump): Do not handle program summary, it's not
2320         used.
2321         * libgcov-util.c (tag_summary): Remove.
2322         (read_gcda_finalize): Fix coding style.
2323         (read_gcda_file): Initialize curr_object_summary.
2324         (compute_summary): Remove.
2325         (calculate_overlap): Remove settings of run_max.
2327 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
2329         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2330         ucontext_t type instead.
2331         (nds32_fallback_frame_state): Remove struct _sigframe statement.
2333 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
2335         * config/nds32/t-nds32-glibc: New file.
2337 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2339         * configure.ac (solaris_ld_v2_maps): New test.
2340         * configure: Regenerate.
2341         * Makefile.in (solaris_ld_v2_maps): New variable.
2342         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2343         if supported.
2345 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
2347         PR target/86951
2348         * config/arm/lib1funcs.asm (speculation_barrier): New function.
2349         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2350         to build.
2352 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
2354         * config/unwind-dw2-fde-darwin.c
2355         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2356         * config/darwin10-unwind-find-enc-func.c: â€¦ to here.
2357         * config/t-darwin: Build Darwin10 unwinder shim crt.
2358         * libgcc/config.host: Add the Darwin10 unwinder shim.
2360 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2362         * config.host: Add crtbegin.o and crtend.o for
2363         powerpc-wrs-vxworks target.
2365 2018-08-17  Jojo  <jijie_rong@c-sky.com>
2366             Huibin Wang  <huibin_wang@c-sky.com>
2367             Sandra Loosemore  <sandra@codesourcery.com>
2368             Chung-Lin Tang  <cltang@codesourcery.com>
2370         C-SKY port: libgcc
2372         * config.host: Add C-SKY support.
2373         * config/csky/*: New.
2375 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
2377         * config/nds32/t-nds32-isr: Rearrange object dependency.
2378         * config/nds32/initfini.c: Add dwarf2 unwinding support.
2379         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2380         and registers usage.
2381         * config/nds32/isr-library/excp_isr.S: Ditto.
2382         * config/nds32/isr-library/intr_isr.S: Ditto.
2383         * config/nds32/isr-library/reset.S: Ditto.
2384         * config/nds32/isr-library/restore_all.inc: Ditto.
2385         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2386         * config/nds32/isr-library/restore_partial.inc: Ditto.
2387         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2388         * config/nds32/isr-library/save_all.inc: Ditto.
2389         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2390         * config/nds32/isr-library/save_partial.inc: Ditto.
2391         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2392         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2394 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
2396         * config/pa/linux-atomic.c: Update comment.
2397         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2398         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2399         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2400         __ATOMIC_RELAXED for atomic loads.
2401         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
2402         unordered store to release lock.
2403         (__sync_lock_release_8): Likewise.
2404         (SYNC_LOCK_RELEASE_2): Remove define.
2406 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
2408         PR libgcc/86512
2409         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2410         exponent goes negative. Update my email address.
2411         * config/arm/ieee754-sf.S: Likewise.
2413 2018-08-01  Martin Liska  <mliska@suse.cz>
2415         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
2416         check that  __gcov_indirect_call_callee is non-null.
2418 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
2420         * config/arm/ieee754-df.S: Fix comment for code working on
2421         architectures >= 4.
2422         * config/arm/ieee754-sf.S: Likewise.
2424 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2426         PR libgcc/85334
2427         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2428         Removed.
2430 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
2432         * configure: Regenerated.
2434 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2436         * Makefile.in (install_leaf): Use enable_gcov instead of
2437         enable_libgcov.
2439 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2441         * configure.ac: Add --disable-gcov option.
2442         * configure: Regenerate.
2443         * Makefile.in: Honour @enable_gcov@.
2445 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
2447         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2448         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2449         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2450         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2451         __ARM_ARCH__.
2452         * config/arm/ieee754-sf.S: Likewise.
2453         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2455 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
2457         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2458         longer supported.
2459         * config/arm/ieee754-sf.S: Likewise.
2461 2018-06-20  Than McIntosh  <thanm@google.com>
2463         PR libgcc/86213
2464         * generic-morestack.c (allocate_segment): Move calls to getenv and
2465         getpagesize to __morestack_load_mmap.
2466         (__morestack_load_mmap) Initialize static_pagesize and
2467         use_guard_page here so as to avoid clobbering SSE regs during a
2468         __morestack call.
2470 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
2472         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2473         support modules with -mno-gnu-attribute.
2474         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2476 2018-06-07  Olivier Hainque  <hainque@adacore.com>
2478         * config/t-vxworks (LIBGCC_INCLUDES): Add
2479         -I$(MULTIBUILDTOP)../../gcc/include.
2480         * config/t-vxworks7: Likewise. Reformat a bit to match
2481         the t-vxworks layout.
2483 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
2485         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2487 2018-06-07  Martin Liska  <mliska@suse.cz>
2489         * libgcov-driver.c: Rename cs_all to all and assign it from
2490         all_prg.
2492 2018-06-07  Martin Liska  <mliska@suse.cz>
2494         PR bootstrap/86057
2495         * libgcov-driver-system.c (replace_filename_variables): Use
2496         memcpy instead of mempcpy.
2497         (allocate_filename_struct): Do not allocate filename, allocate
2498         prefix and set it.
2499         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
2500         here and properly copy content into it.
2501         * libgcov-driver.c (struct gcov_filename): Remove max_length
2502         field, change prefix from size_t into char *.
2503         (compute_summary): Do not calculate longest filename.
2504         (gcov_do_dump): Release memory of gf.filename after each file.
2505         * libgcov-util.c (compute_summary): Use new signature of
2506         compute_summary.
2507         (calculate_overlap): Likewise.
2509 2018-06-05  Martin Liska  <mliska@suse.cz>
2511         PR gcov-profile/47618
2512         * libgcov-driver-system.c (replace_filename_variables): New
2513         function.
2514         (gcov_exit_open_gcda_file): Use it.
2516 2018-06-05  Martin Liska  <mliska@suse.cz>
2518         * libgcov-driver.c (gcov_compute_histogram): Remove usage
2519         of gcov_ctr_summary.
2520         (compute_summary): Do it just for a single summary.
2521         (merge_one_data): Likewise.
2522         (merge_summary): Simplify as we read just single summary.
2523         (dump_one_gcov): Pass proper argument.
2524         * libgcov-util.c (compute_one_gcov): Simplify as we have just
2525         single summary.
2526         (gcov_info_count_all_cold): Likewise.
2527         (calculate_overlap): Likewise.
2529 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
2530             Monk Chiang  <sh.chiang04@gmail.com>
2532         * config.host (nds32*-linux*): New.
2533         * config/nds32/linux-atomic.c: New file.
2534         * config/nds32/linux-unwind.h: New file.
2536 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
2538         PR target/85591
2539         * config/i386/cpuinfo.c (get_amd_cpu): Return
2540         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2542 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
2544         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
2546 2018-05-29  Martin Liska  <mliska@suse.cz>
2548         PR gcov-profile/85759
2549         * libgcov-driver-system.c (gcov_error): Introduce usage of
2550         GCOV_EXIT_AT_ERROR env. variable.
2551         * libgcov-driver.c (merge_one_data): Print error that we
2552         overwrite a gcov file with a different timestamp.
2554 2018-05-23  Kalamatee  <kalamatee@gmail.com>
2556         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2557         path to Lf$finfty.
2559 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
2560             Monk Chiang  <sh.chiang04@gmail.com>
2561             Jim Wilson <jimw@sifive.com>
2563         * config/riscv/save-restore.S: Add support for rv32e.
2565 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2567         * config/arm/libunwind.S: Update comment relating to armv5.
2569 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
2571         * config/arm/cmse.c (cmse_check_address_range): Replace
2572         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2574 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
2576         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2577         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2579 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
2581         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2582         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2584 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
2586         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2588 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
2589             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2591         PR libgcc/84292
2592         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2593         op_and_fetch to return the right result.
2595 2018-04-27  Alan Modra  <amodra@gmail.com>
2597         PR libgcc/85532
2598         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2599         -fno-asynchronous-unwind-tables.
2601 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
2603         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2604         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2606 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
2608         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2609         when including "config/i386/shadow-stack-unwind.h".
2611 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
2613         * configure: Regenerated.
2615 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
2617         PR target/85456
2618         * config/rs6000/_powikf2.c: New file.  Add support for the
2619         __builtin_powil function when long double is IEEE 128-bit floating
2620         point.
2621         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2622         __powikf2 support.
2623         (__powikf2): Likewise.
2624         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2625         (__powikf2_hw): Likewise.
2626         (__powikf2): Likewise.
2627         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2628         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2629         (_powikf2-hw.c): Likewise.
2631 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
2633         PR libgcc/85334
2634         * unwind-generic.h (_Unwind_Frames_Increment): New.
2635         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2636         Likewise.
2637         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2638         count with _Unwind_Frames_Increment.
2639         (_Unwind_ForcedUnwind_Phase2): Likewise.
2641 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
2643         PR libgcc/85379
2644         * config/i386/morestack.S (__stack_split_initialize): Add
2645         _CET_ENDBR.
2647 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
2649         * configure: Regenerated.
2651 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
2653         PR jit/85384
2654         * configure: Regenerate.
2656 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
2658         PR target/84945
2659         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2660         -Wdangling-else warnings.  Mask shift counts to avoid
2661         -Wshift-count-negative and -Wshift-count-overflow false positives.
2663 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
2665         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2667 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
2669         PR target/85100
2670         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2671         (XSTATE_FP): Likewise.
2672         (XSTATE_SSE): Likewise.
2673         (XSTATE_YMM): Likewise.
2674         (XSTATE_OPMASK): Likewise.
2675         (XSTATE_ZMM): Likewise.
2676         (XSTATE_HI_ZMM): Likewise.
2677         (XCR_AVX_ENABLED_MASK): Likewise.
2678         (XCR_AVX512F_ENABLED_MASK): Likewise.
2679         (get_available_features): Enable AVX and AVX512 features only
2680         if their states are supported by OSXSAVE.
2682 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2684         PR target/85025
2685         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2686         Fix a typo, tmp => 255.
2688 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
2690         PR target/84945
2691         * config/i386/cpuinfo.h (__cpu_features2): Declare.
2692         * config/i386/cpuinfo.c (__cpu_features2): New variable for
2693         ifndef SHARED only.
2694         (set_feature): Define.
2695         (get_available_features): Use set_feature macro.  Set __cpu_features2
2696         to the second word of features ifndef SHARED.
2698 2018-03-15  Julia Koval  <julia.koval@intel.com>
2700         * config/i386/cpuinfo.c (get_available_features): Add
2701         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2702         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2703         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2704         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2705         FEATURE_AVX512BITALG.
2707 2018-03-14  Julia Koval  <julia.koval@intel.com>
2709         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2710         icelake client and icelake server.
2712 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
2714         * config/pa/fptr.c (_dl_read_access_allowed): New.
2715         (__canonicalize_funcptr_for_compare): Use it.
2717 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
2719         PR debug/83917
2720         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2721         $asm_hidden_op if visibility ("hidden") attribute works.
2722         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2723         * config/i386/i386-asm.h: Don't include auto-host.h.
2724         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2725         PACKAGE_URL): Don't undefine.
2726         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2727         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2728         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2729         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2730         definition instead of hardcoded .hidden.
2731         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2732         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2733         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2734         (USE_GAS_CFI_DIRECTIVES): Don't define.
2735         * configure: Regenerated.
2736         * config.in: Likewise.
2738 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
2740         PR debug/83917
2741         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2742         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2743         inclusion of auto-target.h and auto-host.h.
2744         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2745         __GCC_HAVE_DWARF2_CFI_ASM.
2746         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2747         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2748         cfi_pop): Define.
2749         * config/i386/cygwin.S: Don't include auto-host.h here, just
2750         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2751         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2752         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2753         * config/i386/resms64fx.h: Add cfi_* directives.
2754         * config/i386/resms64x.h: Likewise.
2756 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
2758         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2759         .literal_position directive.
2760         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2762 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2764         PR target/84148
2765         * configure: Regenerate.
2767 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2769         PR target/84239
2770         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2771         Include cetintrin.h not x86intrin.h.
2773 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2775         PR target/84239
2776         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2777         Use new _get_ssp and _inc_ssp intrinsics.
2779 2018-02-02  Julia Koval  <julia.koval@intel.com>
2781         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2783 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
2785         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2786         option.
2787         (__divsi3): Use RF16 safe registers.
2788         (__modsi3): Likewise.
2790 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
2792         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2793         (__divsf3): Make NaN return value quiet.
2794         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2795         (__divdf3): Make NaN return value quiet.
2797 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2799         * config/rl78/anddi3.S: New assembly file.
2800         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2802 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2804         * config/rl78/umindi3.S: New assembly file.
2805         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2807 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2809         * config/rl78/smindi3.S: New assembly file.
2810         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2812 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2814         * config/rl78/smaxdi3.S: New assembly file.
2815         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2817 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2819         * config/rl78/umaxdi3.S: New assembly file.
2820         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
2822 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
2824         PR lto/83452
2825         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2826         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2828 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
2830         * config/aarch64/value-unwind.h (aarch64_vg): New function.
2831         (DWARF_LAZY_REGISTER_VALUE): Define.
2832         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2833         to provide a fallback register value.
2835 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
2837         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2838         __ibm128, instead of trying to use long double.
2839         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2840         accomidate -mabi=ieeelongdouble multilibs.
2841         (CVT_IBM128_TO_FLOAT128): Likewise.
2842         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2843         the appropriate IBM extended double type.
2844         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2845         (__gcc_qsub): Likewise.
2846         (__gcc_qmul): Likewise.
2847         (__gcc_qdiv): Likewise.
2848         (pack_ldouble): Likewise.
2849         (__gcc_qneg): Likewise.
2850         (__gcc_qeq): Likewise.
2851         (__gcc_qne): Likewise.
2852         (__gcc_qge): Likewise.
2853         (__gcc_qle): Likewise.
2854         (__gcc_stoq): Likewise.
2855         (__gcc_dtoq): Likewise.
2856         (__gcc_itoq): Likewise.
2857         (__gcc_utoq): Likewise.
2858         (__gcc_qunord): Likewise.
2859         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2860         quad-float128.h for the definitions.
2861         (COPYSIGN): Use the f128 version instead of the q version.
2862         (INFINITY): Likewise.
2863         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2864         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2865         quad-float128.h for the definitions.
2866         (COPYSIGN): Use the f128 version instead of the q version.
2867         (INFINITY): Likewise.
2868         (FABS): Likewise.
2869         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2870         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2871         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2873 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2875         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2876         configuration.
2878 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
2880         Update copyright years.
2882 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
2884         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2885         * config/riscv/multi3.c: New file.
2886         * config/riscv/multi3.S: Remove.
2888 2017-12-08  Jim Wilson  <jimw@sifive.com>
2890         * config/riscv/div.S: Use FUNC_* macros.
2891         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2892         * config/riscv/save-restore.S: Likewise.
2893         * config/riscv/riscv-asm.h: New.
2895 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
2897         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2898         * config/rs6000/_divkc3.c (__divkc3): Likewise.
2900         PR libgcc/83112
2901         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2902         correct type for all ifunc resolvers to silence -Wattribute-alias
2903         warnings.  Eliminate the forward declaration of the resolver
2904         functions which is no longer needed.
2905         (__subkf3_resolve): Likewise.
2906         (__mulkf3_resolve): Likewise.
2907         (__divkf3_resolve): Likewise.
2908         (__negkf2_resolve): Likewise.
2909         (__eqkf2_resolve): Likewise.
2910         (__nekf2_resolve): Likewise.
2911         (__gekf2_resolve): Likewise.
2912         (__gtkf2_resolve): Likewise.
2913         (__lekf2_resolve): Likewise.
2914         (__ltkf2_resolve): Likewise.
2915         (__unordkf2_resolve): Likewise.
2916         (__extendsfkf2_resolve): Likewise.
2917         (__extenddfkf2_resolve): Likewise.
2918         (__trunckfsf2_resolve): Likewise.
2919         (__trunckfdf2_resolve): Likewise.
2920         (__fixkfsi_resolve): Likewise.
2921         (__fixkfdi_resolve): Likewise.
2922         (__fixunskfsi_resolve): Likewise.
2923         (__fixunskfdi_resolve): Likewise.
2924         (__floatsikf_resolve): Likewise.
2925         (__floatdikf_resolve): Likewise.
2926         (__floatunsikf_resolve): Likewise.
2927         (__floatundikf_resolve): Likewise.
2928         (__extendkftf2_resolve): Likewise.
2929         (__trunctfkf2_resolve): Likewise.
2931         PR libgcc/83103
2932         * config/rs6000/quad-float128.h (TF): Don't define if long double
2933         is IEEE 128-bit floating point.
2934         (TCtype): Define as either TCmode or KCmode, depending on whether
2935         long double is IEEE 128-bit floating point.
2936         (__mulkc3_sw): Add declarations for software/hardware versions of
2937         complex multiply/divide.
2938         (__divkc3_sw): Likewise.
2939         (__mulkc3_hw): Likewise.
2940         (__divkc3_hw): Likewise.
2941         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2942         handlers to switch between using software emulation and hardware
2943         float128 instructions, build the complex multiply/divide functions
2944         for both software and hardware support.
2945         * config/rs6000/_divkc3.c (_divkc3): Likewise.
2946         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2947         (__divkc3_resolve): Likewise.
2948         (__mulkc3): Likewise.
2949         (__divkc3): Likewise.
2950         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2951         (fp128_hw_src): Likewise.
2952         (fp128_hw_static_obj): Likewise.
2953         (fp128_hw_shared_obj): Likewise.
2954         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2955         _mulkc3.c and _divkc3.c, changing the function name.
2956         (_divkc3-hw.c): Likewise.
2957         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2958         and _divkc3-hw.c.
2960 2017-11-26  Julia Koval  <julia.koval@intel.com>
2962         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2963         * config/i386/cpuinfo.h (processor_subtypes): Add
2964         INTEL_COREI7_CANNONLAKE.
2966 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2968         PR bootstrap/83015
2969         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2970         parameter.
2971         * config/xtensa/unwind-dw2-xtensa.c: Likewise
2972         * config/ia64/unwind-ia64.c: Add frames parameter.
2973         * unwind-sjlj.c: Likewise.
2975 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2977         * config/i386/linux-unwind.h: Include
2978         config/i386/shadow-stack-unwind.h.
2979         * config/i386/shadow-stack-unwind.h: New file.
2980         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2981         pass it to _Unwind_Frames_Extra.
2982         * unwind-generic.h (_Unwind_Frames_Extra): New.
2983         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2984         parameter. Add local variable frames to count number of frames.
2985         (_Unwind_ForcedUnwind_Phase2): Likewise.
2986         (_Unwind_RaiseException): Add local variable frames to count
2987         number of frames, pass it to _Unwind_RaiseException_Phase2 and
2988         uw_install_context.
2989         (_Unwind_ForcedUnwind): Likewise.
2990         (_Unwind_Resume): Likewise.
2991         (_Unwind_Resume_or_Rethrow): Likewise.
2993 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2995         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2996         (CET_FLAGS): New.
2997         * config/i386/morestack.S: Include <cet.h>.
2998         (__morestack_large_model): Add _CET_ENDBR at function entrance.
2999         * config/i386/resms64.h: Include <cet.h>.
3000         * config/i386/resms64f.h: Likewise.
3001         * config/i386/resms64fx.h: Likewise.
3002         * config/i386/resms64x.h: Likewise.
3003         * config/i386/savms64.h: Likewise.
3004         * config/i386/savms64f.h: Likewise.
3005         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3006         (CRTSTUFF_T_CFLAGS): Likewise.
3007         * configure.ac: Include ../config/cet.m4.
3008         Set and substitute CET_FLAGS.
3009         * configure: Regenerated.
3011 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3013         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3014         renaming.
3015         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3016         * configure.ac (libgcc_cv_solaris_crts): Likewise.
3017         * configure: Regenerate.
3019 2017-11-07  Tom de Vries  <tom@codesourcery.com>
3021         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3022         after "do {} while (0)".
3024 2017-11-07  Tom de Vries  <tom@codesourcery.com>
3026         PR other/82784
3027         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3028         semicolon after "do {} while (0)".
3029         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3030         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3031         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3032         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3034 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
3036         PR libgcc/82635
3037         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3038         sysctl to determine whether we're in a trampoline.
3039         Keep the pattern matching method for systems without
3040         KERN_PROC_SIGTRAMP sysctl.
3042 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
3043             Vineet Gupta <vgupta@synopsys.com>
3045         * config.host (arc*-*-linux*): Set md_unwind_header variable.
3046         * config/arc/linux-unwind-reg.def: New file.
3047         * config/arc/linux-unwind-reg.h: Likewise.
3049 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
3051         * config/rl78/subdi3.S: New assembly file.
3052         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3054 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
3056         * config/rl78/adddi3.S: New assembly file.
3057         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3059 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
3061         PR target/82274
3062         * libgcc2.c (__mulvDI3): If both operands have
3063         the same highpart of -1 and the topmost bit of lowpart is 0,
3064         multiplication overflows even if both lowparts are 0.
3066 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
3068         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3070 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
3072         * config/microblaze/crti.S, config/microblaze/crtn.S,
3073         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3074         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3075         config/microblaze/mulsi3.S,
3076         config/microblaze/stack_overflow_exit.S,
3077         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3078         config/pa/milli64.S: Add .note.GNU-stack section.
3080 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
3082         * configure.ac: Add Check for HAVE_AS_AVX.
3083         * config.in: Regenerate.
3084         * configure: Likewise.
3085         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3086         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3087         Correct out-of-date comments.
3089 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
3091         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3092         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3094 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
3096         * config/i386/i386-asm.h (PASTE2): New macro.
3097         (ASMNAME): Modify to use PASTE2.
3098         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3099         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
3100         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3101         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
3102         * config/i386/resms64f.S: Likewise.
3103         * config/i386/resms64fx.S: Likewise.
3104         * config/i386/resms64x.S: Likewise.
3105         * config/i386/savms64.S: Likewise.
3106         * config/i386/savms64f.S: Likewise.
3107         * config/i386/avx_resms64.S: New file that only defines a macro and
3108         includes it's corresponding header file.
3109         * config/i386/avx_resms64f.S: Likewise.
3110         * config/i386/avx_resms64fx.S: Likewise.
3111         * config/i386/avx_resms64x.S: Likewise.
3112         * config/i386/avx_savms64.S: Likewise.
3113         * config/i386/avx_savms64f.S: Likewise.
3114         * config/i386/sse_resms64.S: Likewise.
3115         * config/i386/sse_resms64f.S: Likewise.
3116         * config/i386/sse_resms64fx.S: Likewise.
3117         * config/i386/sse_resms64x.S: Likewise.
3118         * config/i386/sse_savms64.S: Likewise.
3119         * config/i386/sse_savms64f.S: Likewise.
3120         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3122 2017-09-01  Olivier Hainque  <hainque@adacore.com>
3123         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3125 2017-08-31  Olivier Hainque  <hainque@adacore.com>
3127         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3128         match as powerpc-wrs-vxworks*.
3130 2017-08-07  Jonathan Yong  <10walls@gmail.com>
3132         * config.host (*-cygwin): Include file from mingw
3133         config/i386/enable-execute-stack-mingw32.c
3135 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
3136             Doug Rupp  <rupp@adacore.com>
3137             Olivier Hainque  <hainque@adacore.com>
3139         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3140         as well as arm-wrs-vxworks.
3141         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
3142         LIB2ADDEH.
3143         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3144         __exidx_start and __exidx_end for downloadable modules.
3146 2017-08-01  Olivier Hainque  <hainque@adacore.com>
3148         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3149         * config/t-vxworks7: Likewise.
3151 2017-08-01  Olivier Hainque  <hainque@adacore.com>
3153         * config/t-vxworks: Instead of redefining LIB2ADD,
3154         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3156 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3158         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3160 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
3162         PR testsuite/80759
3163         * config.host: include i386/t-msabi for darwin and solaris.
3164         * config/i386/i386-asm.h
3165         (ELFFN): Rename to FN_TYPE.
3166         (FN_SIZE): New macro.
3167         (FN_HIDDEN): Likewise.
3168         (ASMNAME): Likewise.
3169         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3170         .globl.
3171         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3172         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3173         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3174         .macro.
3175         * config/i386/resms64f.S: Likewise.
3176         * config/i386/resms64fx.S: Likewise.
3177         * config/i386/resms64x.S: Likewise.
3178         * config/i386/savms64.S: Likewise.
3179         * config/i386/savms64f.S: Likewise.
3181 2017-07-19  John Marino  <gnugcc@marino.st>
3183         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3185 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
3187         PR target/81193
3188         * configure.ac (PowerPC float128 hardware support): Test whether
3189         we can use __builtin_cpu_supports before enabling the ifunc
3190         handler.
3191         * configure: Regenerate.
3193 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
3195         * config.host: Remove uclibc from arc target spec.
3197 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
3199         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3201 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
3203         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3204         (have_ieee_hw_p): Delete function.
3205         (SW_OR_HW) Use __builtin_cpu_supports().
3207 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3209         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3211 2017-07-03  Olivier Hainque  <hainque@adacore.com>
3213         * config/t-vxworks7: New file, really.
3215 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
3217         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3218         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3219         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3220         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3221         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3222         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3223         config/pa/linux-unwind.h (pa32_fallback_frame_state),
3224         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3225         config/sh/linux-unwind.h (sh_fallback_frame_state),
3226         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3227         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3228         ucontext_t instead of struct ucontext.
3230 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
3232         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3233         (x86_64-wrs-vxworks7): Likewise.
3235 2017-06-27  Olivier Hainque  <hainque@adacore.com>
3237         * config/t-vxworks7: New file.
3238         * config.host (*-*-vxworks7): Use it.
3240 2017-06-22  Matt Turner  <mattst88@gmail.com>
3242         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3243         skylake case.
3245 2017-06-21  Richard Biener  <rguenther@suse.de>
3247         PR gcov-profile/81080
3248         * configure.ac: Add AC_SYS_LARGEFILE.
3249         * libgcov.h: Include auto-target.h before tsystem.h to pick
3250         up _FILE_OFFSET_BITS which might differ for multilibs.
3251         * config.in: Regenerate.
3252         * configure: Likewise.
3254 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
3256         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3258 2017-06-09  Martin Liska  <mliska@suse.cz>
3260         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3261         Reset __gcov_indirect_call_callee to NULL.
3263 2017-06-08  Olivier Hainque  <hainque@adacore.com>
3265         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3266         the set of -I options, support for direct inclusions of net/uio.h
3267         by VxWorks header files via ioLib.h.
3269 2017-06-07  Tony Reix  <tony.reix@atos.net>
3270             Matthieu Sarter  <matthieu.sarter.external@atos.net>
3271             David Edelsohn  <dje.gcc@gmail.com>
3273         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3274         unconditionally.
3275         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
3276         AIX 7.2 support.
3278 2017-06-02  Olivier Hainque  <hainque@adacore.com>
3280         * config/vxlib.c (__gthread_once): Add missing value to
3281         return statement.
3283 2017-05-30  Olivier Hainque  <hainque@adacore.com>
3285         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3286         dollar sign before $(MULTIDIR).
3288 2017-05-26  Richard Henderson  <rth@redhat.com>
3290         PR libgcc/80037
3291         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3293 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
3295         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3296         _Unwind_SetIP available as functions for arm*-*-freebsd*.
3297         * config/arm/unwind-arm.c: Implement the above.
3299 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3301         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3302         section for a non-executable stack.
3304 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
3306         PR target/80600
3307         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3309 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
3311         * config.host: Add i386/t-msabi to i386/t-linux file list.
3312         * config/i386/i386-asm.h: New file.
3313         * config/i386/resms64.S: New file.
3314         * config/i386/resms64f.S: New file.
3315         * config/i386/resms64fx.S: New file.
3316         * config/i386/resms64x.S: New file.
3317         * config/i386/savms64.S: New file.
3318         * config/i386/savms64f.S: New file.
3319         * config/i386/t-msabi: New file.
3321 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
3323         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3324         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3326 2017-05-05  Joshua Conner  <joshconner@google.com>
3328         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3329         pc-relative indirect handling for fuchsia.
3330         * config/t-slibgcc-fuchsia: New file.
3331         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
3332         x86_64-*-fuchsia*): Add definitions.
3334 2017-04-19  Martin Liska  <mliska@suse.cz>
3336         PR gcov-profile/80435
3337         * Makefile.in: Install gcov.h.
3338         * gcov.h: New file.
3339         * libgcov.h: Use the header and make __gcov_flush publicly
3340         visible.
3342 2017-04-18  Martin Liska  <mliska@suse.cz>
3344         PR gcov-profile/78783
3345         * libgcov-driver.c (gcov_get_filename): New function.
3347 2017-04-07  Jeff Law  <law@redhat.com>
3349         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3350         target makefile fragment.
3351         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3353 2017-04-07  Alan Modra  <amodra@gmail.com>
3355         PR target/45053
3356         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3358 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
3360         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3362 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
3364         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3366 2017-03-10  John Marino  <gnugcc@marino.st>
3368         * config/aarch64/freebsd-unwind.h: New file.
3369         * config.host: Add aarch64-*-freebsd unwinder.
3371 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
3373         * config/rs6000/crtrestvr.s: Use .machine altivec.
3374         * config/rs6000/crtsavevr.s: Ditto.
3376 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
3378         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3379         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
3380         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3381         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
3382         * configure: Regenerate.
3383         * config.in: Regenerate.
3385 2017-03-02  Jonathan Yong <10walls@gmail.com>
3387         * config/i386/gthr-win32.h: Define NOGDI before
3388         windows.h include to prevent w32api CC_NONE macro
3389         clash with libgfortran.
3391 2017-03-02  Jonathan Yong <10walls@gmail.com>
3393         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3395 2017-02-16  Andrew Pinski  <apinski@cavium.com>
3397         * config/aarch64/value-unwind.h: New file.
3398         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3399         to tm_file.
3401 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
3403         * config.host: Add RISC-V tuples.
3404         * config/riscv/atomic.c: New file.
3405         * config/riscv/crti.S: Likewise.
3406         * config/riscv/crtn.S: Likewise.
3407         * config/riscv/div.S: Likewise.
3408         * config/riscv/linux-unwind.h: Likewise.
3409         * config/riscv/muldi3.S: Likewise.
3410         * config/riscv/multi3.S: Likewise.
3411         * config/riscv/save-restore.S: Likewise.
3412         * config/riscv/sfp-machine.h: Likewise.
3413         * config/riscv/t-elf: Likewise.
3414         * config/riscv/t-elf32: Likewise.
3415         * config/riscv/t-elf64: Likewise.
3416         * config/riscv/t-softfp32: Likewise.
3417         * config/riscv/t-softfp64: Likewise.
3419 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
3421         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3422         /* FALLTHRU */ comments.
3424 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
3426         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3428 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
3430         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3431         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
3432         DW_CFA_GNU_window_save for AArch64 and LP64.
3434 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
3436         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3438 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
3440         * config/aarch64/aarch64-unwind.h: New file.
3441         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3442         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3443         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3444         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3445         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3446         (aarch64_post_extract_frame_addr): New function.
3447         (aarch64_post_frob_eh_handler_addr): New function.
3448         (aarch64_frob_update_context): New function.
3449         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3450         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3451         aarch64*-*-freebsd*):
3452         Initialize md_unwind_header to include aarch64-unwind.h.
3453         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3454         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3455         __aarch64__.
3456         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3457         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3458         (uw_frob_return_addr): New function.
3459         (uw_install_context): Use uw_frob_return_addr.
3461 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
3463         PR other/79046
3464         * configure.ac: Add GCC_BASE_VER.
3465         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3466         version from BASE-VER file.
3467         * configure: Regenerated.
3469 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
3471         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3472         libmul_f5.a): Filter archived prerequisites.
3474 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
3476         * config/i386/cpuinfo.h (processor_features): Add
3477         FEATURE_AVX512VPOPCNTDQ.
3478         * config/i386/cpuinfo.c (get_available_features): Habdle new
3479         feature.
3481 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3483         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3484         payload if [__mips_nan2008].
3486 2017-01-04  Alan Modra  <amodra@gmail.com>
3488         * Makefile.in (configure_deps): Update.
3489         * configure: Regenerate.
3491 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
3493         Update copyright years.
3495 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
3497         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3498         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3499         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3501 2016-12-17  Matthias Klose  <doko@ubuntu.com>
3503         * config/arc/gmon: Remove empty directory.
3505 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
3507         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3508         crtgend.
3509         (arc*-*-elf*): Likewise.
3510         * config/arc/t-arc: Remove old gmon lib targets.
3511         * config/arc/crtg.S: Remove.
3512         * config/arc/crtgend.S: Likewise.
3513         * config/arc/gmon/atomic.h: Likewise.
3514         * config/arc/gmon/auxreg.h: Likewise.
3515         * config/arc/gmon/dcache_linesz.S: Likewise.
3516         * config/arc/gmon/gmon.c: Likewise.
3517         * config/arc/gmon/machine-gmon.h: Likewise.
3518         * config/arc/gmon/mcount.c: Likewise.
3519         * config/arc/gmon/prof-freq-stub.S: Likewise.
3520         * config/arc/gmon/prof-freq.c: Likewise.
3521         * config/arc/gmon/profil.S: Likewise.
3522         * config/arc/gmon/sys/gmon.h: Likewise.
3523         * config/arc/gmon/sys/gmon_out.h: Likewise.
3524         * config/arc/t-arc-newlib: Likewise.
3525         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3527 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
3529         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3531 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
3533         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3534         R16 instead of push + pop.
3535         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3537 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
3539         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3540         tmake_file.
3542 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
3544         * config.host (arc*-*-linux-uclibc*): Use default extra
3545         objects. Include linux-android header.
3546         * config/arc/crti.S (_init): Declare symbol as function.
3547         (_fini): Likewise.
3549 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
3551         PR fortran/78379
3552         * config/i386/cpuinfo.c:  Move denums for processor vendors,
3553         processor type, processor subtypes and declaration of
3554         struct __processor_model into
3555         * config/i386/cpuinfo.h:  New header file.
3557 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
3558             Thomas Preud'homme  <thomas.preudhomme@arm.com>
3560         * config/arm/cmse_nonsecure_call.S: New.
3561         * config/arm/t-arm: Compile cmse_nonsecure_call.S
3563 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
3564             Thomas Preud'homme  <thomas.preudhomme@arm.com>
3566         * config/arm/t-arm (HAVE_CMSE): New.
3567         * config/arm/cmse.c: New.
3569 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3571         PR gcc/74748
3572         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3573         use generic linker version information on Blackfin.
3575         PR gcc/74748
3576         * libgcc/mkmap-symver.awk: add support for skip_underscore
3578 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
3579             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3581         PR target/67710
3582         *  config/t-darwin: Default builds to 10.5 codegen.
3584 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
3586         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3587         (_FP_NANSIGN_H): Likewise.
3588         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3589         (softfp_truncations): Add tfhf.
3590         (softfp_extras): Add required conversion functions.
3592 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
3593             Matthew Wahab  <matthew.wahab@arm.com>
3595         * config/arm/fp16.c (binary64): New.
3596         (__gnu_d2h_internal): New.
3597         (__gnu_d2h_ieee): New.
3598         (__gnu_d2h_alternative): New.
3600 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
3601             Matthew Wahab  <matthew.wahab@arm.com>
3603         * config/arm/fp16.c (struct format): New.
3604         (binary32): New.
3605         (__gnu_float2h_internal): New.  Body moved from
3606         __gnu_f2h_internal and generalize.
3607         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3608         Call it with binary32.
3610 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
3612         * soft-fp/extendhftf2.c: Update from glibc.
3613         * soft-fp/fixhfti.c: Likewise.
3614         * soft-fp/fixunshfti.c: Likewise.
3615         * soft-fp/floattihf.c: Likewise.
3616         * soft-fp/floatuntihf.c: Likewise.
3617         * soft-fp/half.h: Likewise.
3618         * soft-fp/trunctfhf2.c: Likewise.
3620 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
3622         PR libgcc/77813
3623         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3624         __TMC_END__ behind a passthrough asm.
3626 2016-11-18  Walter Lee  <walt@tilera.com>
3628         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3630 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
3632         * config/i386/cpuinfo.c (processor_features): Add
3633         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3635 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
3637         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3638         (__ARC_NORM__): Use instead ARC_OPTFPE.
3639         * config/arc/fp-hack.h: Likewise.
3640         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3641         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3643 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
3645         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3646         * config/nvptx/mgomp.c: New file.
3647         * config/nvptx/t-nvptx: Add mgomp.c
3649 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
3651         PR libgcc/68468
3652         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3654 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
3656         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3657         of checking for cpus.
3658         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3659         (__modsi3, __clzsi2): Likewise.
3661 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3663         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3664         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3665         * config/i386/t-cpuinfo-static: New.
3667 2016-11-03  Martin Liska  <mliska@suse.cz>
3669         * libgcov-profiler.c (__gcov_time_profiler): Remove.
3670         (__gcov_time_profiler_atomic): Likewise.
3672 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3674         PR libgcc/78067
3675         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3676         count_leading_zeros.
3678 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
3680         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3681         * libgcc2.c (__divmoddi4): New function.
3682         * libgcc2.h (__divmoddi4): Declare.
3683         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3684         and __PFX_divmodti4.
3686 2016-10-24  Florian Weimer  <fweimer@redhat.com>
3688         PR libgcc/78064
3689         * unwind-c.c: Include auto-target.h.
3691 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
3693         * config/pa/pa64-hpux-lib.h: New file.
3694         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3695         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3696         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3697         hppa*64*-*-hpux11*.
3699 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
3701         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3702         definition.
3703         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3704         definition.
3705         * config/xtensa/t-windowed (LIB2ADDEH): Use
3706         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3707         or xtensa/t-linux.
3709 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
3711         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3712         __ieee754_sqrt): New functions.
3713         (__divdf3): Add implementation with new FPU instructions under
3714         #if XCHAL_HAVE_DFP_DIV.
3715         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3716         __ieee754_sqrtf): New functions.
3717         (__divsf3): Add implementation with new FPU instructions under
3718         #if XCHAL_HAVE_FP_DIV.
3719         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3720         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3722 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3724         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3725         equivalent.
3726         * config/tilepro/atomic.c: Likewise and stop casting model to
3727         enum memmodel.
3729 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
3731         PR target/77586
3732         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3733         soft-fp.
3735 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
3737         * config.host: Add support for aarch64-*-freebsd*.
3739 2016-10-05  Andreas Schwab  <schwab@suse.de>
3741         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3742         (.section .init_array): Don't call __do_jv_register_classes.
3743         (.section .init): Likewise.
3745 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
3747         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3748         (__JCR_LIST__): Remove.
3749         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3750         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3751         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3752         * config/ia64/crtend.S (__JCR_END__): Remove.
3753         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3754         conditionals.
3755         (__JCR_LIST__, __JCR_END__): Remove.
3756         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3757         (__do_global_ctors_1): Likewise.
3759 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
3761         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3762         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3764 2016-09-27  Martin Liska  <mliska@suse.cz>
3766         PR gcov-profile/7970
3767         PR gcov-profile/16855
3768         PR gcov-profile/44779
3769         * libgcov-driver.c (__gcov_init): Do not register a atexit
3770         handler.
3771         (__gcov_exit): Rename from gcov_exit.
3772         * libgcov.h (__gcov_exit): Declare.
3774 2016-09-27  Martin Liska  <mliska@suse.cz>
3776         PR bootstrap/77749
3777         * Makefile.in: Remove _gcov_merge_delta.
3778         * libgcov-merge.c (void __gcov_merge_delta): Remove.
3779         * libgcov-util.c (__gcov_delta_counter_op): Remove.
3780         * libgcov.h: Remove declaration of __gcov_merge_delta.
3782 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
3784         * configure.ac: Do not create links, only substitute the filenames.
3785         * configure: Regenerate.
3786         * Makefile.in: Assign the substitution results to variables.
3787         (LIBGCC_LINKS): Define.
3788         (enable-execute-stack.c): New rule.
3789         (unwind.h): Likewise.
3790         (md-unwind-support.h): Likewise.
3791         (sfp-machine.h): Likewise.
3792         (gthr-default.h): Likewise.
3793         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3794         unwind.h as prerequisite of install-unwind_h-forbuild.
3796 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
3798         PR libgcc/71744
3799         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3800         is not the primary registry and atomics are available.
3801         (any_objects_registered): New variable.
3802         (__register_frame_info_bases, __register_frame_info_table_bases):
3803         Atomically store 1 to any_objects_registered after registering first
3804         unwind info.
3805         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3807 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
3809         PR target/63250
3810         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3811         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3812         (HFtype): Likewise.
3813         (HCtype): Likewise.
3814         (__divhc3): Likewise.
3815         (__mulhc3): Likewise.
3816         * libgcc2.c: Support _mulhc3 and _divhc3.
3818 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
3820         PR libgcc/77519
3821         * libgcc2.c (NOTRUNC): Invert settings.
3823 2016-09-06  Martin Liska  <mliska@suse.cz>
3825         PR gcov-profile/77378
3826         PR gcov-profile/77466
3827         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3828         conditionaly enable/disable *_atomic functions.
3830 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
3832         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3833         where not already enabled.
3835 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3837         * config/mips/linux-unwind.h: Use sys/syscall.h.
3839 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
3841         PR libgcc/77265
3842         * soft-fp/adddf3.c: Update from glibc.
3843         * soft-fp/addsf3.c: Likewise.
3844         * soft-fp/addtf3.c: Likewise.
3845         * soft-fp/divdf3.c: Likewise.
3846         * soft-fp/divsf3.c: Likewise.
3847         * soft-fp/divtf3.c: Likewise.
3848         * soft-fp/double.h: Likewise.
3849         * soft-fp/eqdf2.c: Likewise.
3850         * soft-fp/eqsf2.c: Likewise.
3851         * soft-fp/eqtf2.c: Likewise.
3852         * soft-fp/extenddftf2.c: Likewise.
3853         * soft-fp/extended.h: Likewise.
3854         * soft-fp/extendsfdf2.c: Likewise.
3855         * soft-fp/extendsftf2.c: Likewise.
3856         * soft-fp/extendxftf2.c: Likewise.
3857         * soft-fp/fixdfdi.c: Likewise.
3858         * soft-fp/fixdfsi.c: Likewise.
3859         * soft-fp/fixdfti.c: Likewise.
3860         * soft-fp/fixsfdi.c: Likewise.
3861         * soft-fp/fixsfsi.c: Likewise.
3862         * soft-fp/fixsfti.c: Likewise.
3863         * soft-fp/fixtfdi.c: Likewise.
3864         * soft-fp/fixtfsi.c: Likewise.
3865         * soft-fp/fixtfti.c: Likewise.
3866         * soft-fp/fixunsdfdi.c: Likewise.
3867         * soft-fp/fixunsdfsi.c: Likewise.
3868         * soft-fp/fixunsdfti.c: Likewise.
3869         * soft-fp/fixunssfdi.c: Likewise.
3870         * soft-fp/fixunssfsi.c: Likewise.
3871         * soft-fp/fixunssfti.c: Likewise.
3872         * soft-fp/fixunstfdi.c: Likewise.
3873         * soft-fp/fixunstfsi.c: Likewise.
3874         * soft-fp/fixunstfti.c: Likewise.
3875         * soft-fp/floatdidf.c: Likewise.
3876         * soft-fp/floatdisf.c: Likewise.
3877         * soft-fp/floatditf.c: Likewise.
3878         * soft-fp/floatsidf.c: Likewise.
3879         * soft-fp/floatsisf.c: Likewise.
3880         * soft-fp/floatsitf.c: Likewise.
3881         * soft-fp/floattidf.c: Likewise.
3882         * soft-fp/floattisf.c: Likewise.
3883         * soft-fp/floattitf.c: Likewise.
3884         * soft-fp/floatundidf.c: Likewise.
3885         * soft-fp/floatundisf.c: Likewise.
3886         * soft-fp/floatunditf.c: Likewise.
3887         * soft-fp/floatunsidf.c: Likewise.
3888         * soft-fp/floatunsisf.c: Likewise.
3889         * soft-fp/floatunsitf.c: Likewise.
3890         * soft-fp/floatuntidf.c: Likewise.
3891         * soft-fp/floatuntisf.c: Likewise.
3892         * soft-fp/floatuntitf.c: Likewise.
3893         * soft-fp/gedf2.c: Likewise.
3894         * soft-fp/gesf2.c: Likewise.
3895         * soft-fp/getf2.c: Likewise.
3896         * soft-fp/ledf2.c: Likewise.
3897         * soft-fp/lesf2.c: Likewise.
3898         * soft-fp/letf2.c: Likewise.
3899         * soft-fp/muldf3.c: Likewise.
3900         * soft-fp/mulsf3.c: Likewise.
3901         * soft-fp/multf3.c: Likewise.
3902         * soft-fp/negdf2.c: Likewise.
3903         * soft-fp/negsf2.c: Likewise.
3904         * soft-fp/negtf2.c: Likewise.
3905         * soft-fp/op-1.h: Likewise.
3906         * soft-fp/op-2.h: Likewise.
3907         * soft-fp/op-4.h: Likewise.
3908         * soft-fp/op-8.h: Likewise.
3909         * soft-fp/op-common.h: Likewise.
3910         * soft-fp/quad.h: Likewise.
3911         * soft-fp/single.h: Likewise.
3912         * soft-fp/soft-fp.h: Likewise.
3913         * soft-fp/subdf3.c: Likewise.
3914         * soft-fp/subsf3.c: Likewise.
3915         * soft-fp/subtf3.c: Likewise.
3916         * soft-fp/truncdfsf2.c: Likewise.
3917         * soft-fp/trunctfdf2.c: Likewise.
3918         * soft-fp/trunctfsf2.c: Likewise.
3919         * soft-fp/trunctfxf2.c: Likewise.
3920         * soft-fp/unorddf2.c: Likewise.
3921         * soft-fp/unordsf2.c: Likewise.
3922         * soft-fp/unordtf2.c: Likewise.
3924 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
3926         PR gcov-profile/67097
3927         * libgcov-util.c (gcov_profile_merge): Skip missing files.
3929 2016-08-10  Martin Liska  <mliska@suse.cz>
3931         PR gcov-profile/58306
3932         * Makefile.in: New functions (modules) are added.
3933         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3934         function.
3935         (__gcov_pow2_profiler_atomic): New function.
3936         (__gcov_one_value_profiler_body): New argument is instroduced.
3937         (__gcov_one_value_profiler): Call with the new argument.
3938         (__gcov_one_value_profiler_atomic): Likewise.
3939         (__gcov_indirect_call_profiler_v2): Likewise.
3940         (__gcov_time_profiler_atomic): New function.
3941         (__gcov_average_profiler_atomic): Likewise.
3942         (__gcov_ior_profiler_atomic): Likewise.
3943         * libgcov.h: Declare the aforementioned functions.
3945 2016-08-09  Martin Liska  <mliska@suse.cz>
3947         * libgcov-util.c: Fix typo and GNU coding style.
3949 2016-08-09  Martin Liska  <mliska@suse.cz>
3951         * Makefile.in: Remove __gcov_indirect_call_profiler.
3952         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3953         function.
3954         * libgcov.h: And the declaration of the function.
3956 2016-08-09  Martin Liska  <mliska@suse.cz>
3958         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3959         power of two.
3961 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
3963         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3964         * config/rs6000/_mulkc3.c: Likewise.
3966 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
3968         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3969         zero_reg as previous call to __umulhisi3 already cleared it.
3971 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
3973         PR target/59833
3974         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3976 2016-07-19  Nick Clifton  <nickc@redhat.com>
3978         * config.host (m32r): Add m32r/t-m32r to tmake_file.
3979         Add crtinit.o and crtfini.o to extra_parts.
3981 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
3983         * config/rs6000/_divkc3.c: New.
3984         * config/rs6000/_mulkc3.c: New.
3985         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3986         and _divkc3.
3987         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3988         fp128_ppc_funcs.
3990 2016-07-11  Hale Wang  <hale.wang@arm.com>
3991             Andre Vieira  <andre.simoesdiasvieira@arm.com>
3993         * config/arm/lib1funcs.S: Add new wrapper.
3995 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3997         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3999 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4001         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4002         and ARMv5t* rather than for a fixed list of architectures.
4004 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4006         * config/arm/bpabi-v6m.S: Clarify what architectures is the
4007         implementation suitable for.
4008         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4009         for all Thumb-1 only targets.
4010         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4011         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4012         __ARM_ARCH_6M__.
4013         (EQUIV): Likewise.
4014         (ARM_FUNC_ALIAS): Likewise.
4015         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4016         version.
4017         (modsi3): Likewise.
4018         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4019         (clzdi2): Likewise.
4020         (ctzsi2): Likewise.
4021         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4022         __ARM_ARCH_6M__ in guard for checking whether it is defined.
4023         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4024         __ARM_ARCH_6M__ and add comment to indicate the connection between
4025         this condition and the one in gcc/config/arm/elf.h.
4026         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4027         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4028         * config/arm/t-softfp: Likewise.
4030 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4032         * libgcc2.c (SYMBOL__MAIN): Remove checks for
4033         CTOR_LISTS_DEFINED_EXTERNALLY.
4035 2016-06-28  Walter Lee  <walt@tilera.com>
4037         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4038         asm/unistd.h.
4039         (SPR_CMPEXCH_VALUE): Define for tilegx.
4040         (__NR_FAST_cmpxchg): Define for tilepro.
4041         (__NR_FAST_atomic_update): Define for tilepro.
4042         (__NR_FAST_cmpxchg64): Define for tilepro.
4044 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
4046         * config.host: Add suport for arm*-*-phoenix* targets.
4048 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4050         * config.host: Remove support for mep-*.
4051         * config/mep/lib1funcs.S: Remove.
4052         * config/mep/lib2funcs.c: Remove.
4053         * config/mep/t-mep: Remove.
4054         * config/mep/tramp.c: Remove.
4056 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4058         * config.host: Remove support for avr-rtems.
4059         * config/avr/t-rtems: Remove.
4061 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4063         * config.host: Remove m32r-rtems support.
4065 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4067         * config.host: Remove h8300-rtems support.
4069 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4071         * config.host: Remove support for knetbsd.
4073 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4075         * config.host: Remove support for openbsd 2 and 3.
4077 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4079         * config.host: Remove interix support.
4080         * config/i386/t-interix: Remove.
4082 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
4084         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4085         least-significant bit in function pointer for fixup.
4087 2016-06-05  Aaron Conole  <aconole@redhat.com>
4088             Nathan Sidwell  <nathan@acm.org>
4090         PR libgcc/71400
4091         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4092         (get_gcov_error_file): Check __gcov_error_file before trying to
4093         initialize it.
4094         (gcov_error): Always use get_gcov_error_file.
4096 2016-06-02  Aaron Conole  <aconole@redhat.com>
4098         * libgcov-driver-system.c (__gcov_error_file): New.
4099         (get_gcov_error_file): New.
4100         (gcov_error): Use and set __gcov_error_file.
4101         (gcov_error_exit): New.
4102         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4104 2016-05-26  Nathan Sidwell  <nathan@acm.org>
4106         * config/nvptx/free.asm: Delete.
4107         * config/nvptx/malloc.asm: Delete.
4108         * config/nvptx/realloc.c: Delete.
4109         * t-nvptx: Update.
4111 2016-05-25  Nathan Sidwell  <nathan@acm.org>
4113         * config/nvptx/crt0.s: Delete.
4114         * config/nvptx/crt0.c: New.
4115         * t-nvptx: Update.
4117 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
4119         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
4120         dw2/seh configuration.
4121         [x86_64-*-mingw*]: Likewise.
4123 2016-05-10  Joel Sherrill <joel@rtems.org>
4125         PR libgcc/70720
4126         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4127         targets so the same extra_parts are built.  Also have tmake_file add
4128         on to its value rather than override.
4130 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
4132         * config.host: Remove SH5 support.
4133         * configure: Likewise.
4135 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
4137         * config/sh/crt1.S: Remove SH5 support.
4138         * config/sh/crti.S: Likewise.
4139         * config/sh/crtn.S: Likewise.
4140         * config/sh/lib1funcs-4-300.S: Likewise.
4141         * config/sh/lib1funcs-Os-4-200.S: Likewise.
4142         * config/sh/lib1funcs.S: Likewise.
4143         * config/sh/linux-unwind.h: Likewise.
4144         * config/sh/t-sh64: Delete.
4146 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
4148         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4150 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
4151             Joern Rennecke  <joern.rennecke@embecosm.com>
4153         * config/arc/crttls.S: New file.
4154         * config/arc/t-arc: New rule.
4155         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4157 2016-04-25  Nick Clifton  <nickc@redhat.com>
4159         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4160         (__mspabi_cmpd): Likewise.
4161         * config/msp430/floathidf.c (__floathidf): Likewise.
4162         * config/msp430/floathisf.c (__floathisf): Likewise
4163         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4164         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4165         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4166         second parameter.
4167         (__ashrsi3): Likewise.
4169 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
4171         * config/m68k/linux-atomic.c: Do not include unistd.h
4173 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
4175         * config/arm/ieee754-df.S: Fix typos in comments.
4177 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
4179         PR target/70381
4180         * configure.ac (powerpc*-*-linux*): Rework tests to build
4181         __float128 emulation routines to not depend on using #pragma GCC
4182         target to enable -mfloat128.
4183         * configure: Regnerate.
4185 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
4187         PR target/67172
4188         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4189         __MINGW32__ is defined.
4191 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
4193         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
4195 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
4197         PR libgcc/70363
4198         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4199         built with an assembler that does not support ISA 3.0
4200         instructions, rename __extendkftf2_sw to __extendkftf2.
4202 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4204         PR target/38239
4205         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4206         call-clobbered registers.
4207         (internal_mcount): Remove __i386__ handling.
4209 2016-02-26  Joel Sherrill <joel@rtems.org>
4211         * config.host: Add x86_64-*-rtems*.
4213 2016-02-26  Joel Sherrill <joel@rtems.org>
4215         * libgcc/config.host: Add aarch64-*-rtems*.
4217 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4218             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4220         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4221         union of u64 and double.
4222         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4223         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4224         value.
4225         (FP_ROUNDMODE): Update the usage of _fpscr.
4227 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
4229         PR driver/68463
4230         * Makefile.in (crtoffloadtable$(objext)): New rule.
4231         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4232         enable_offload_targets is not empty.
4233         * configure: Regenerate.
4234         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4235         crtoffloadtable.
4237 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
4239         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4240         .literal_position before the function.
4241         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4242         Likewise.
4244 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
4246         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4247         * config/s390/morestack.S: New file.
4248         * config/s390/t-stack-s390: New file.
4249         * generic-morestack.c (__splitstack_find): Add s390-specific code.
4251 2016-02-12  Walter Lee  <walt@tilera.com>
4253         * config.host (tilegx*-*-linux*): remove ti from
4254         softfp_int_modes for 32-bit configs.
4256 2016-02-10  Ian Lance Taylor  <iant@google.com>
4258         PR go/68562
4259         * config/i386/morestack.S (__stack_split_initialize): Align
4260         stack.
4262 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
4264         PR bootstrap/69611
4265         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4266         __FLOAT128__ to compile only for __float128 capable targets.
4268 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
4270         PR target/69444
4271         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4272         instead of ___NO_FPRS__.
4274 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
4275             Steven Munroe  <munroesj@linux.vnet.ibm.com>
4276             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
4278         * config/rs6000/float128-sed: New files to convert TF names to KF
4279         names for PowerPC IEEE 128-bit floating point support.
4280         * config/rs6000/float128-sed-hw: Likewise.
4282         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4283         floating point hardware support.
4285         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4286         128-bit floating point software emulation or use ISA 3.0 hardware
4287         support if it is available.
4289         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4290         floating point.
4292         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4293         floating point to IBM extended double.
4295         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4296         double to IEEE 128-bit floating point.
4298         * config/rs6000/t-float128: New Makefile fragments to enable
4299         building __float128 emulation support.
4300         * config/rs6000/t-float128-hw: Likewise.
4302         * config/rs6000/sfp-exceptions.c: New file to provide exception
4303         support for IEEE 128-bit floating point.
4305         * config/rs6000/floattikf.c: New files for converting between IEEE
4306         128-bit floating point and signed/unsigned 128-bit integers.
4307         * config/rs6000/fixunskfti.c: Likewise.
4308         * config/rs6000/fixkfti.c: Likewise.
4309         * config/rs6000/floatuntikf.c: Likewise.
4311         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4312         when building on 64-bit systems, or when VSX is enabled.
4313         (_FP_W_TYPE): Likewise.
4314         (_FP_WS_TYPE): Likewise.
4315         (_FP_I_TYPE): Likewise.
4316         (TItype): Define on 64-bit systems.
4317         (UTItype): Likewise.
4318         (TI_BITS): Likewise.
4319         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4320         (_FP_MUL_MEAT_Q): Likewise.
4321         (_FP_DIV_MEAT_D): Likewise.
4322         (_FP_DIV_MEAT_Q): Likewise.
4323         (_FP_NANFRAC_D): Likewise.
4324         (_FP_NANFRAC_Q): Likewise.
4325         (ISA_BIT): Add exception support if we are being compiled on a
4326         machine with hardware floating point support to build the IEEE
4327         128-bit emulation functions.
4328         (FP_EX_INVALID): Likewise.
4329         (FP_EX_OVERFLOW): Likewise.
4330         (FP_EX_UNDERFLOW): Likewise.
4331         (FP_EX_DIVZERO): Likewise.
4332         (FP_EX_INEXACT): Likewise.
4333         (FP_EX_ALL): Likewise.
4334         (__sfp_handle_exceptions): Likewise.
4335         (FP_HANDLE_EXCEPTIONS): Likewise.
4336         (FP_RND_NEAREST): Likewise.
4337         (FP_RND_ZERO): Likewise.
4338         (FP_RND_PINF): Likewise.
4339         (FP_RND_MINF): Likewise.
4340         (FP_RND_MASK): Likewise.
4341         (_FP_DECL_EX): Likewise.
4342         (FP_INIT_ROUNDMODE): Likewise.
4343         (FP_ROUNDMODE): Likewise.
4345         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4346         VSX code, enable IEEE 128-bit floating point.  If the compiler can
4347         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4348         floating point hardware instructions and it supports declaring
4349         functions with the ifunc attribute, enable ifunc functions to
4350         switch between software and hardware support.
4351         * configure.ac (powerpc*-*-linux*): Likewise.
4352         * configure: Regenerate.
4354 2016-01-15  Nick Clifton  <nickc@redhat.com>
4356         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4357         dependency as the source file to be compiled.
4358         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4359         (lib2hw_mul_f5.o): Likewise.
4361 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
4363         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4364         * libgcc/config/rs6000/fixkfti.c: Likewise.
4365         * libgcc/config/rs6000/fixunskfti.c: Likewise.
4366         * libgcc/config/rs6000/float128-hw.c: Likewise.
4367         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4368         * libgcc/config/rs6000/float128-sed: Likewise.
4369         * libgcc/config/rs6000/floattikf.c: Likewise.
4370         * libgcc/config/rs6000/floatuntikf.c: Likewise.
4371         * libgcc/config/rs6000/quad-float128.h: Likewise.
4372         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4373         * libgcc/config/rs6000/sfp-machine.h: Likewise.
4374         * libgcc/config/rs6000/t-float128: Likewise.
4375         * libgcc/config/rs6000/t-float128-hw: Likewise.
4376         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4377         * libgcc/config.host: Likewise.
4378         * libgcc/configure: Likewise.
4379         * libgcc/configure.ac: Likewise.
4381 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
4382             Steven Munroe  <munroesj@linux.vnet.ibm.com>
4383             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
4385         * config/rs6000/sfp-exceptions.c: New file to provide exception
4386         support for IEEE 128-bit floating point.
4388         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4389         floating point hardware support.
4391         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4392         point conversions.
4393         * config/rs6000/fixunskfti.c: Likewise.
4394         * config/rs6000/fixkfti.c: Likewise.
4395         * config/rs6000/floatuntikf.c: Likewise.
4396         * config/rs6000/extendkftf2-sw.c: Likewise.
4397         * config/rs6000/trunctfkf2-sw.c: Likewise.
4399         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4400         128-bit floating point software emulation or use ISA 3.0 hardware
4401         support if it is available.
4403         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4404         floating point.
4406         * config/rs6000/t-float128: New Makefile fragments to enable
4407         building __float128 emulation support.
4408         * config/rs6000/t-float128-hw: Likewise.
4410         * config/rs6000/float128-sed: New file to convert TF names to KF
4411         names for PowerPC IEEE 128-bit floating point support.
4413         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4414         when building on 64-bit systems, or when VSX is enabled.
4415         (_FP_W_TYPE): Likewise.
4416         (_FP_WS_TYPE): Likewise.
4417         (_FP_I_TYPE): Likewise.
4418         (TItype): Define on 64-bit systems.
4419         (UTItype): Likewise.
4420         (TI_BITS): Likewise.
4421         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4422         (_FP_MUL_MEAT_Q): Likewise.
4423         (_FP_DIV_MEAT_D): Likewise.
4424         (_FP_DIV_MEAT_Q): Likewise.
4425         (_FP_NANFRAC_D): Likewise.
4426         (_FP_NANFRAC_Q): Likewise.
4427         (ISA_BIT): Add exception support if we are being compiled on a
4428         machine with hardware floating point support to build the IEEE
4429         128-bit emulation functions.
4430         (FP_EX_INVALID): Likewise.
4431         (FP_EX_OVERFLOW): Likewise.
4432         (FP_EX_UNDERFLOW): Likewise.
4433         (FP_EX_DIVZERO): Likewise.
4434         (FP_EX_INEXACT): Likewise.
4435         (FP_EX_ALL): Likewise.
4436         (__sfp_handle_exceptions): Likewise.
4437         (FP_HANDLE_EXCEPTIONS): Likewise.
4438         (FP_RND_NEAREST): Likewise.
4439         (FP_RND_ZERO): Likewise.
4440         (FP_RND_PINF): Likewise.
4441         (FP_RND_MINF): Likewise.
4442         (FP_RND_MASK): Likewise.
4443         (_FP_DECL_EX): Likewise.
4444         (FP_INIT_ROUNDMODE): Likewise.
4445         (FP_ROUNDMODE): Likewise.
4447         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4448         compiler can do __float128.
4449         * configure: Regenerate.
4451         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4452         VSX code, enable IEEE 128-bit floating point.
4454 2016-01-05  Olivier Hainque  <hainque@adacore.com>
4456         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
4457         specificities.
4459 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
4461         Update copyright years.
4463 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
4465         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
4466         soft-fp targets.
4468 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4470         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4471         instead of abort to avoid dependency on stdlib.h.
4473 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
4475         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4476         to initialize call to __dl_fixup once.
4478 2015-12-04  Nick Clifton  <nickc@redhat.com>
4480         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4481         Allow for the second argument being negative.
4482         * config.host (extra_parts): Define for MSP430.  Create separate
4483         libraries for each of the hardware multiply formats.
4484         * config/msp430/lib2hw_mul.S: Build only the multiply routines
4485         that are needed.
4486         * config/msp430/lib2mul.c: Likewise.
4487         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4488         Add rules to build hardware multiply libraries.
4489         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4490         __mspabi_divul function.
4491         (__mspabi_divllu): New stub function.
4493 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
4495         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4496         fixup values if saved GOT address doesn't match runtime address.
4497         (fixup_branch_offset): Reorder list.
4499 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4501         * Makefile.in (VTV_CFLAGS): New variable.
4502         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4503         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4504         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4505         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4506         to extra_parts if $enable_vtable_verify = yes.
4508 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4510         PR target/68059
4511         * config/arm/linux-atomic-64bit.c (__write): Rename to...
4512         (write): ...this and fix the return type.
4514 2015-11-19  DJ Delorie  <dj@redhat.com>
4516         * config/msp430/lib2hw_mul.S: Fix alignment.
4518 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
4520         * config/nvptx/reduction.c: New.
4521         * config/nvptx/t-nvptx (LIB2ADD): Add it.
4523 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
4525         * config/rs6000/on_exit.c: New file.
4526         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4527         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4529 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
4531         * config/arc/dp-hack.h: Add support for ARCHS.
4532         * config/arc/ieee-754/divdf3.S: Likewise.
4533         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4534         * config/arc/ieee-754/muldf3.S: Likewise.
4535         * config/arc/ieee-754/mulsf3.S: Likewise
4536         * config/arc/lib1funcs.S: Likewise
4537         * config/arc/gmon/dcache_linesz.S: Don't read the build register
4538         for ARCv2 cores.
4539         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4540         for ARCv2 cores.
4541         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4542         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4543         cores.
4545 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4547         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4548         value.
4549         * config/ia64/crtend.S: Likewise.
4551 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4553         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4554         __CHAR_BIT__ instead of BITS_PER_UNIT.
4555         * fixed-bit.h: Likewise.
4556         * fp-bit.h: Likewise.
4557         * libgcc2.c (__popcountSI2): Likewise.
4558         (__popcountDI2): Likewise.
4559         * libgcc2.h: Likewise.
4560         * libgcov.h: Likewise.
4562 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
4564         * config/rs6000/atexit.c: New file.
4565         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4566         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4567         * config/rs6000/cxa_finalize.c
4568         (catomic_compare_and_exchange_bool_acq): Negate return value.
4570 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
4572         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4573         (processor_subtypes): Add znver1.
4574         (get_amd_cpu): Detect znver1.
4576 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
4578         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4579         Include crtfastmath.o.
4581 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
4583         PR libgcc/66883
4584         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
4586 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
4588         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4589         * config/rl78/divmodsi.S: Update return register to r8.
4590         * config/rl78/divmodhi.S: Update return register to r8,r9.
4591         Branch to main_loop_done_himode to pop registers before return.
4593 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
4595         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4596         (__cpu_indicator_init): Fix model selection for AMD CPUs.
4598 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
4600         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4602 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
4604         * config.host (xtensa*-*-uclinux*): New configuration.
4606 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
4608         * config/i386/cpuinfo.c (processor_features): Add
4609         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4611 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
4613         * soft-fp/adddf3.c: Update from glibc.
4614         * soft-fp/addsf3.c: Likewise.
4615         * soft-fp/addtf3.c: Likewise.
4616         * soft-fp/divdf3.c: Likewise.
4617         * soft-fp/divsf3.c: Likewise.
4618         * soft-fp/divtf3.c: Likewise.
4619         * soft-fp/double.h: Likewise.
4620         * soft-fp/eqdf2.c: Likewise.
4621         * soft-fp/eqsf2.c: Likewise.
4622         * soft-fp/eqtf2.c: Likewise.
4623         * soft-fp/extenddftf2.c: Likewise.
4624         * soft-fp/extended.h: Likewise.
4625         * soft-fp/extendsfdf2.c: Likewise.
4626         * soft-fp/extendsftf2.c: Likewise.
4627         * soft-fp/extendxftf2.c: Likewise.
4628         * soft-fp/fixdfdi.c: Likewise.
4629         * soft-fp/fixdfsi.c: Likewise.
4630         * soft-fp/fixdfti.c: Likewise.
4631         * soft-fp/fixsfdi.c: Likewise.
4632         * soft-fp/fixsfsi.c: Likewise.
4633         * soft-fp/fixsfti.c: Likewise.
4634         * soft-fp/fixtfdi.c: Likewise.
4635         * soft-fp/fixtfsi.c: Likewise.
4636         * soft-fp/fixtfti.c: Likewise.
4637         * soft-fp/fixunsdfdi.c: Likewise.
4638         * soft-fp/fixunsdfsi.c: Likewise.
4639         * soft-fp/fixunsdfti.c: Likewise.
4640         * soft-fp/fixunssfdi.c: Likewise.
4641         * soft-fp/fixunssfsi.c: Likewise.
4642         * soft-fp/fixunssfti.c: Likewise.
4643         * soft-fp/fixunstfdi.c: Likewise.
4644         * soft-fp/fixunstfsi.c: Likewise.
4645         * soft-fp/fixunstfti.c: Likewise.
4646         * soft-fp/floatdidf.c: Likewise.
4647         * soft-fp/floatdisf.c: Likewise.
4648         * soft-fp/floatditf.c: Likewise.
4649         * soft-fp/floatsidf.c: Likewise.
4650         * soft-fp/floatsisf.c: Likewise.
4651         * soft-fp/floatsitf.c: Likewise.
4652         * soft-fp/floattidf.c: Likewise.
4653         * soft-fp/floattisf.c: Likewise.
4654         * soft-fp/floattitf.c: Likewise.
4655         * soft-fp/floatundidf.c: Likewise.
4656         * soft-fp/floatundisf.c: Likewise.
4657         * soft-fp/floatunditf.c: Likewise.
4658         * soft-fp/floatunsidf.c: Likewise.
4659         * soft-fp/floatunsisf.c: Likewise.
4660         * soft-fp/floatunsitf.c: Likewise.
4661         * soft-fp/floatuntidf.c: Likewise.
4662         * soft-fp/floatuntisf.c: Likewise.
4663         * soft-fp/floatuntitf.c: Likewise.
4664         * soft-fp/gedf2.c: Likewise.
4665         * soft-fp/gesf2.c: Likewise.
4666         * soft-fp/getf2.c: Likewise.
4667         * soft-fp/ledf2.c: Likewise.
4668         * soft-fp/lesf2.c: Likewise.
4669         * soft-fp/letf2.c: Likewise.
4670         * soft-fp/muldf3.c: Likewise.
4671         * soft-fp/mulsf3.c: Likewise.
4672         * soft-fp/multf3.c: Likewise.
4673         * soft-fp/negdf2.c: Likewise.
4674         * soft-fp/negsf2.c: Likewise.
4675         * soft-fp/negtf2.c: Likewise.
4676         * soft-fp/op-1.h: Likewise.
4677         * soft-fp/op-2.h: Likewise.
4678         * soft-fp/op-4.h: Likewise.
4679         * soft-fp/op-8.h: Likewise.
4680         * soft-fp/op-common.h: Likewise.
4681         * soft-fp/quad.h: Likewise.
4682         * soft-fp/single.h: Likewise.
4683         * soft-fp/soft-fp.h: Likewise.
4684         * soft-fp/subdf3.c: Likewise.
4685         * soft-fp/subsf3.c: Likewise.
4686         * soft-fp/subtf3.c: Likewise.
4687         * soft-fp/truncdfsf2.c: Likewise.
4688         * soft-fp/trunctfdf2.c: Likewise.
4689         * soft-fp/trunctfsf2.c: Likewise.
4690         * soft-fp/trunctfxf2.c: Likewise.
4691         * soft-fp/unorddf2.c: Likewise.
4692         * soft-fp/unordsf2.c: Likewise.
4693         * soft-fp/unordtf2.c: Likewise.
4695 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
4697         PR libgcc/67624
4698         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4700 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4702         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4703         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4704         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4705         messages.
4706         (internal_mcount): Likewise.
4707         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4708         crt_compile, add CRTSTUFF_T_CFLAGS_S.
4710 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4712         * configure.ac (libgcc_cv_solaris_crts): New test.
4713         * configure: Regenerate.
4714         * config.in: Regenerate.
4715         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4716         * config/gmon-sol2.c: Rename to ...
4717         * config/sol2/gmon.c: ... this.
4718         Include auto-target.h.
4719         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4720         * config/t-sol2: Rename to ...
4721         * config/sol2/t-sol2: ... this.
4722         (gmon.o): Reflect renaming.
4723         (crtp.o, crtpg.o): New rules.
4724         * config.host (*-*-solaris2*): Reflect renaming.
4725         Use system CRTs if present.
4726         Remove default CRT case.
4728 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
4730         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4731         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4732         __kernel_cmpxchg2.
4733         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4734         (__sync_val_compare_and_swap_##WIDTH): Likewise.
4735         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4736         (__sync_lock_test_and_set_##WIDTH): Likewise.
4737         (__sync_lock_release_##WIDTH): Likewise.
4738         (__sync_fetch_and_##OP##_4): Change result to match type of
4739         __kernel_cmpxchg.
4740         (__sync_##OP##_and_fetch_4): Likewise.
4741         (__sync_val_compare_and_swap_4): Likewise.
4742         (__sync_bool_compare_and_swap_4): likewise.
4743         (__sync_lock_test_and_set_4): Likewise.
4744         (__sync_lock_release_4): Likewise.
4745         (FETCH_AND_OP_2): Add long long variants.
4746         (OP_AND_FETCH_2): Likewise.
4747         (COMPARE_AND_SWAP_2 ): Likewise.
4748         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4749         (SYNC_LOCK_RELEASE_2): Likewise.
4750         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4752 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
4754         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4755         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4756         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4757         (get_available_features): Habdle new features.
4759 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
4761         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4762         memory layout. Deal correctly with BSS region larger than 32K.
4763         Handle a watchdog reset like a power-on reset. Clean up unused
4764         code.
4766 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
4767             David Edelsohn  <dje.gcc@gmail.com>
4769         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4770         * config/rs6000/crtdbase.S: New file.
4771         * config/rs6000/t-aix-cxa: Build crtdbase.o.
4773 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
4775         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4776         Add support for call0 ABI.
4778 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
4780         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4782 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4784         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4785         (__GTHREAD_HAS_COND): Likewise.
4786         (__gthread_t): Likewise.
4787         (__gthread_cond_t): Likewise.
4788         (__gthread_time_t): Likewise.
4789         (__GTHREAD_MUTEX_INIT): Likewise.
4790         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4791         (__GTHREAD_COND_INIT): Likewise.
4792         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4793         (__GTHREAD_TIME_INIT): Likewise.
4794         (__gthread_create): Likewise.
4795         (__gthread_join): Likewise.
4796         (__gthread_detach): Likewise.
4797         (__gthread_equal): Likewise.
4798         (__gthread_self): Likewise.
4799         (__gthread_yield): Likewise.
4800         (__gthread_cond_broadcast): Likewise.
4801         (__gthread_cond_signal): Likewise.
4802         (__gthread_cond_wait): Likewise.
4803         (__gthread_cond_timedwait): Likewise.
4804         (__gthread_cond_wait_recursive): Likewise.
4805         (__gthread_cond_destroy): Likewise.
4806         (rtems_gxx_once): Delete.
4807         (rtems_gxx_key_create): Likewise.
4808         (rtems_gxx_key_delete): Likewise.
4809         (rtems_gxx_getspecific): Likewise.
4810         (rtems_gxx_setspecific): Likewise.
4811         (rtems_gxx_mutex_init): Likewise.
4812         (rtems_gxx_mutex_destroy): Likewise.
4813         (rtems_gxx_mutex_lock): Likewise.
4814         (rtems_gxx_mutex_trylock): Likewise.
4815         (rtems_gxx_mutex_unlock): Likewise.
4816         (rtems_gxx_recursive_mutex_init): Likewise.
4817         (rtems_gxx_recursive_mutex_lock): Likewise.
4818         (rtems_gxx_recursive_mutex_trylock): Likewise.
4819         (rtems_gxx_recursive_mutex_unlock): Likewise.
4820         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4821         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4822         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4823         (__gthread_once): Likewise.
4824         (__gthread_key_create): Likewise.
4825         (__gthread_key_delete): Likewise.
4826         (__gthread_getspecific): Likewise.
4827         (__gthread_setspecific): Likewise.
4828         (__gthread_key_t): Use <pthread.h> type.
4829         (__gthread_once_t): Likewise
4830         (__gthread_mutex_t): Use <sys/lock.h> type.
4831         (__gthread_recursive_mutex_t): Likewise
4832         (__gthread_mutex_lock): Use <sys/lock.h> function.
4833         (__gthread_mutex_trylock): Likewise.
4834         (__gthread_mutex_timedlock): Likewise.
4835         (__gthread_mutex_unlock): Likewise.
4836         (__gthread_mutex_destroy): Likewise.
4837         (__gthread_recursive_mutex_lock): Likewise.
4838         (__gthread_recursive_mutex_trylock): Likewise.
4839         (__gthread_recursive_mutex_timedlock): Likewise.
4840         (__gthread_recursive_mutex_unlock): Likewise.
4841         (__gthread_recursive_mutex_destroy): Likewise.
4843 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
4845         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4846         context->sp instead of context->cfa.
4848 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
4850         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4851         with unwind-dw2-fde-dip.
4853 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
4855         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4856         CALL12 followed by series of ENTRY to spill windowed registers.
4857         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4858         instead of making linux spill syscall.
4860 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
4862         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4863         (get_intel_cpu): Likewise.
4865 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
4867         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4868         (get_intel_cpu): Add Knights Landing support.
4870 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
4872         PR target/66954
4873         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4874         (get_available_features): Handle FEATURE_PCLMUL.
4876 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
4878         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4879         Broadwell.
4881 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
4883         PR target/66954
4884         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4885         (get_available_features): Handle FEATURE_AES.
4887 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
4889         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4890         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4892 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
4894         * offloadstuff.c: Constify host data.
4896 2015-07-17  Jan Beulich  <jbeulich@suse.com>
4898         * config/t-softfp: Split up "else ifneq".
4900 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
4901             Cesar Philippidis  <cesar@codesourcery.com>
4902             Chung-Lin Tang  <cltang@codesourcery.com>
4904         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4905         for __nios2_arch__ level.
4907 2015-07-13  John Marino  <gnugcc@marino.st>
4909         * config/i386/t-dragonfly: New.
4911 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
4913         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4914         better match light-weight syscall argument order.
4915         (__kernel_cmpxchg2): Likewise.
4916         Adjust callers.
4918 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
4920         * config.host: Support i[34567]86-*-elfiamcu target.
4921         * config/t-softfp-sfdftf: New file.
4922         * config/i386/32/t-iamcu: Likewise.
4923         * configure: Regenerated.
4925 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
4927         libgcc/config/arm/
4928         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4930 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4932         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4934 2015-05-27  John Marino  <gnugcc@marino.st>
4936         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4937         md_unwind_header
4938         * config/i386/freebsd-unwind.h: New.
4940 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
4942         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4943         i386/t-crtfm to tmake_file.
4944         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4945         (set_fast_math): Use set_fast_math_sse for SSE targets.
4946         * config/i386/t-crtfm: Remove.
4948 2015-05-21  Alan Modra  <amodra@gmail.com>
4950         PR libgcc/66225
4951         * config/rs6000/morestack.S: Remove ".abiversion 1".
4953 2015-05-20  Alan Modra  <amodra@gmail.com>
4955         * config/rs6000/morestack.S: New.
4956         * config/rs6000/t-stack-rs6000: New.
4957         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4958         to tmake_file.
4959         * generic-morestack.c: Don't build for powerpc 32-bit.
4961 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
4963         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4964         Remove useless endif/ifneq ($(enable_shared),yes) pair.
4966 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
4968         * config.host: FT32 target added.
4969         * config/ft32/*: New files for FT32 target.
4971 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
4973         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4974         New macros.
4975         * config/arm/ieee754-df.S: Add CFI directives.
4976         * config/arm/ieee754-sf.S: Add CFI directives.
4978 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
4980         * configure.ac: Include config/sjlj.m4.
4981         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4982         * config.in: Regenerate.
4983         * configure: Likewise.
4984         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4986 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
4988         * libgcov-util.c: Add space between string literal and macro name.
4990 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
4991             Chris Jones  <chrisj@nvidia.com>
4992             Joshua Conner  <jconner@nvidia.com>
4994         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4995         (arm*-*-uclinux*): Likewise.
4996         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4997         * config/arm/crtfastmath.c: New file.
4999 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
5001         * Makefile.in (real_host_noncanonical): New variable.
5002         (libsubdir): Use it.
5003         * configure.ac (real_host_noncanonical): Compute.  Remove special
5004         case for intelmicemul.
5005         * configure: Regenerate.
5007 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
5009         * config/frv/elf-lib.h: New file.
5010         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5011         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5012         to tm_file.
5014 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
5016         * config/frv/frvbengin.c: Do not include defaults.h
5017         * config/frv/frvend.c: Ditto.
5019 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
5021         * config.host: Add h8300-*-linux
5022         * config/h8300/t-linux: New file.
5023         * config/h8300/lib1funs.s: Change symbol prefix.
5024         * config/h8300/sfp-machine.h: 64bit double support.
5026 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
5027             Szabolcs Nagy  <szabolcs.nagy@arm.com>
5029         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5030         Linux if target provides dl_iterate_phdr.
5032 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
5034         PR target/65612
5035         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5036         * config/i386/cpuinfo.c (__cpu_model): Initialize.
5037         (__cpu_indicator_init@GCC_4.8.0): New.
5038         (__cpu_model@GCC_4.8.0): Likewise.
5039         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5040         -DUSE_ELF_SYMVER.
5042 2015-04-16  Nick Clifton  <nickc@redhat.com>
5044         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5045         and __modhi3 functions.
5046         * config/rl78/divmodso.S: Add G14 and G13 versions of the
5047         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5049 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
5051         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5052         do-while loop as macro body to avoid warnings.
5054 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
5055             Iain Sandoe  <iain@codesourcery.com>
5057         PR target/65351
5058         * configure: Regenerate.
5060 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
5061             Iain Sandoe  <iain@codesourcery.com>
5063         PR target/65351
5064         * configure: Regenerate.
5066 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
5068         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5070 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
5072         Implement call0 ABI for xtensa
5073         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5074         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5075         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5076         use ret in call0 ABI.
5077         * config/xtensa/t-windowed: New file.
5078         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5079         * libgcc/configure: Regenerated.
5080         * libgcc/configure.ac: Check if xtensa target is configured for
5081         windowed ABI and thus needs to use custom unwind code.
5083 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
5085         PR libgcc/64885
5086         * gthr-single.h: Use __unused__ attribute instead of unused.
5087         * config/gthr-vxworks.h: Likewise.
5088         * config/i386/gthr-win32.h: Likewise.
5090 2015-02-27  Kai Tietz  <ktietz@redhat.com>
5092         PR target/65038
5093         * config.in: Regenerated.
5094         * configure: Likewise.
5095         * configure.ac (AC_HEADER_STDC): Added explicit.
5096         (AC_CHECK_HEADERS): Check for default headers  plus
5097         for ftw.h header.
5098         * libgcov-util.c (gcov_read_profile_dir): Disable use
5099         of ftw-function, if header is not found.
5100         (ftw_read_file): Likewise.
5102 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
5104         PR target/65181
5105         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5106         -Dinhibit_libc.
5108 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
5110         * config/arm/bpabi.S (test_div_by_zero): Make label names
5111         consistent between thumb2 and arm mode cases.  Separate the
5112         signed comparison on the high word of the numerator from the
5113         unsigned comparison on the low word.
5114         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5115         signed comparison.
5117 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5119         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5120         and <string.h>.
5121         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5123 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
5125         PR gcov-profile/61889
5126         * libgcov-driver-system.c: undefine clashing macro for mkdir.
5128 2015-02-02  Nick Clifton  <nickc@redhat.com>
5130         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5131         rounding up the fraction.
5133 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
5135         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5136         oldval and newval to const void *.  Fix typo.
5137         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5138         (FETCH_AND_OP_WORD): Likewise.
5139         (OP_AND_FETCH_WORD): Likewise.
5140         (COMPARE_AND_SWAP_2): Likewise.
5141         (__sync_val_compare_and_swap_4): Likewise.
5142         (__sync_lock_test_and_set_4): Likewise.
5143         (SYNC_LOCK_RELEASE_2): Likewise.
5144         Remove support for long long atomic operations.
5146 2015-01-27  Caroline Tice  <cmtice@google.com>
5148         Committing VTV Cywin/Ming patch for Patrick Wollgast
5149         * Makefile.in: Move rules to build vtv_*.o out of the check
5150         for CUSTOM_CRTSTUFF.
5151         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5152         i[34567]86-*-mingw*)
5153          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5154         enable_vtable_verify.
5156 2015-01-27  Nick Clifton  <nickc@redhat.com>
5158         * config/rl78/cmpsi2.S: Use function start and end macros.
5159         (__gcc_bcmp): New function.
5160         * config/rl78/lshrsi3.S: Use function start and end macros.
5161         * config/rl78/mulsi3.S: Add support for G10.
5162         (__mulqi3): New function for G10.
5163         * config/rl78/signbit.S: Use function start and end macros.
5164         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5165         fpmath-sf.S.
5166         (LIB2FUNCS_EXCLUDE): Define.
5167         (LIB2FUNCS_ST): Define.
5168         * config/rl78/trampoline.S: Use function start and end macros.
5169         * config/rl78/vregs.h (START_FUNC): New macro.
5170         (START_ANOTHER_FUNC): New macro.
5171         (END_FUNC): New macro.
5172         (END_ANOTHER_FUNC): New macro.
5173         * config/rl78/bit-count.S: New file.  Contains assembler
5174         implementations of the bit counting functions: ___clzhi2,
5175         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5176         __paritysi2, __popcounthi2 and __popcountsi2.
5177         * config/rl78/fpbit-sf.S: New file.  Contains assembler
5178         implementationas of the math functions: __negsf2, __cmpsf2,
5179         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5180         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
5181         * config/rl78/fpmath-sf.S: New file.  Contains assembler
5182         implementations of the math functions: __subsf3, __addsf3,
5183         __mulsf3 and __divsf3
5185 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5187         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5188         Add i386/elf-lib.h to tm_file.
5189         * config/i386/elf-lib.h: Fix comment.
5190         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5191         && __sun__ && __svr4__]: Remove workaround.
5193 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
5195         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5196         FEATURE_BMI2.
5197         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5199 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
5201         * config/i386/cpuinfo.c (processor_subtypes): Add
5202         INTEL_COREI7_BROADWELL.
5203         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5204         model numbers.
5206 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
5208         * config/i386/elf-lib.h: New file.
5209         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5210         Wrap definition in #ifdef __i386__.
5211         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5212         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5213         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5214         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5215         to tm_file.
5217 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
5219         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5220         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5222 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
5224         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5225         Update rt_sigframe format and address for current Nios II
5226         Linux conventions.
5228 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
5230         * config.host (arm*-*-freebsd*): Add new configuration for
5231         arm*-*-freebsd*.
5232         * config/arm/freebsd-atomic.c: New file.
5233         * config/arm/t-freebsd: Likewise.
5234         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5235         'PC-relative indirect' OS's.
5237 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
5239         * config.host: Add Visium support.
5240         * config/visium: New directory.
5242 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
5244         Update copyright years.
5246 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
5248         * config.host: Support mipsisa32r6 and mipsisa64r6.
5249         * config/mips/mips16.S: Do not build for R6.
5251 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
5253         * config/sh/crt.h: New.
5254         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5255         symbols.
5256         * config/sh/crt1.S: Likewise.
5258 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
5260         PR libgcc/63832
5261         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5262         func_ptr *dtor_list temporary variable to avoid "array subscript
5263         is above array bounds" warnings.
5265 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
5267         * Makefile.in (with_aix_soname): Define.
5268         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5269         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5270         * configure: Recreate.
5272 2014-12-05  Olivier Hainque  <hainque@adacore.com>
5274         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5275         now provided by defaults.h.
5277 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
5279         PR target/55351
5280         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5281         whether it's defined.
5283 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
5285         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5286         * config/i386/cpuinfo.c (get_available_features): Detect it.
5288 2014-11-27  Tony Wang  <tony.wang@arm.com>
5290         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5291         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5292         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5294 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
5296         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5298 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
5300         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5301         instead.
5303 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
5304             John David Anglin  <danglin@gcc.gnu.org>
5306         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5307         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
5308         (OP_AND_FETCH_2): Likewise.
5309         (COMPARE_AND_SWAP_2): Likewise.
5310         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5311         (SYNC_LOCK_RELEASE_2): Likewise.
5312         (SUBWORD_SYNC_OP): Remove.
5313         (SUBWORD_VAL_CAS): Likewise.
5314         (SUBWORD_BOOL_CAS): Likewise.
5315         (FETCH_AND_OP_WORD): Update.
5316         Consistently use signed types.
5318 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
5319             Thomas Schwinge  <thomas@codesourcery.com>
5320             Ilya Verbin  <ilya.verbin@intel.com>
5321             Andrey Turetskiy  <andrey.turetskiy@intel.com>
5323         * Makefile.in (crtoffloadbegin$(objext)): New rule.
5324         (crtoffloadend$(objext)): Likewise.
5325         * configure: Regenerate.
5326         * configure.ac (accel_dir_suffix): Compute new variable.
5327         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5328         if enable_offload_targets is not empty.
5329         * offloadstuff.c: New file.
5331 2014-11-13  Nick Clifton  <nickc@redhat.com>
5333         * config/rl78/divmodhi.S: Add support for the G10 architecture.
5334         Use START_FUNC and END_FUNC macros to enable linker garbage
5335         collection.
5336         * config/rl78/divmodqi.S: Likewise.
5337         * config/rl78/divmodsi.S: Likewise.
5338         * config/rl78/mulsi3.S: Likewise.
5339         * config/rl78/lib2div.c: Remove G10 functions.
5340         * config/rl78/lib2muls.c: Likewise.
5341         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5342         * config/rl78/vregs.h (START_FUNC): New macro.
5343         (END_FUNC): New macro.
5345 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
5347         * config/mips/mips16.S: Set .module when supported.  Update O32
5348         FP64 calling convention and use for FPXX when possible.  Add FPXX
5349         calling convention fallback case.
5351 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
5353         * config.host: Handle nvptx-*-*.
5354         * shared-object.mk (as-flags-$o): Define.
5355         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5356         -xassembler-with-cpp.
5357         * static-object.mk: Identical changes.
5358         * config/nvptx/t-nvptx: New file.
5359         * config/nvptx/crt0.s: New file.
5360         * config/nvptx/free.asm: New file.
5361         * config/nvptx/malloc.asm: New file.
5362         * config/nvptx/realloc.c: New file.
5364 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5366         * Makefile.in (libgcc.map.in): New target.
5367         (libgcc.map): Use libgcc.map.in.
5368         * config/t-softfp (softfp_compat): New variable to be set by
5369         users.
5370         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5371         variables.
5372         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5373         directory.
5374         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5375         that use compat symbols and disable all code unless [SHARED].
5376         * config/t-softfp-compat: New file.
5377         * find-symver.awk: New file.
5378         * configure.ac (--with-glibc-version): New configure option.
5379         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5380         * configure: Regenerate.
5381         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5382         soft-float and e500.
5384 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
5386         * config/t-hardfp (hardfp_exclusions): Document new variable for
5387         user to define.
5388         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5389         * config/t-softfp (softfp_extras): Document new variable for user
5390         to define.
5391         (softfp_func_list): Add functions from $(softfp_extras).
5392         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5393         * config.host (powerpc*-*-linux*): For e500v1, use
5394         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5395         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5396         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5398 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
5400         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5401         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5402         memory read accesses are ok.
5404 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
5406         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5407         * configure: Regenerate.
5408         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5409         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
5410         of soft-fp for 32-bit classic hard float.  Do not use
5411         t-softfp-excl for soft float.
5413 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
5415         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5416         configurations.
5417         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5418         Remove variables.
5420 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
5422         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5423         introduced with 2014-10-21 trunk r216525.
5425 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
5426             Vidya Praveen  <vidya.praveen@atmel.com>
5427             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
5428             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
5429             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
5431         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5432         order.
5434         Updated library functions for AVRTINY arch.
5435         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5436         Replaced occurrences of r0/r1 with tmp/zero reg macros.
5437         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5438         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5439         wsubi/wadi macors.
5440         (__mulsi3_helper): Update stack, preserve callee saved regs and
5441         argument from stack. Restore callee save registers.
5442         (__mulpsi3): Likewise.
5443         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5444         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
5445         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
5446         AVRTINY.
5447         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5448         (__do_copy_data): Added new definition for AVRTINY.
5449         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5450         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5451         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5452         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5453         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5454         macors.
5455         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
5456         AVRTINY.
5458         Fix broken long multiplication on tiny arch.
5460 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5462         * soft-fp/double.h: Update from glibc.
5463         * soft-fp/eqdf2.c: Likewise.
5464         * soft-fp/eqsf2.c: Likewise.
5465         * soft-fp/eqtf2.c: Likewise.
5466         * soft-fp/extenddftf2.c: Likewise.
5467         * soft-fp/extended.h: Likewise.
5468         * soft-fp/extendsfdf2.c: Likewise.
5469         * soft-fp/extendsftf2.c: Likewise.
5470         * soft-fp/extendxftf2.c: Likewise.
5471         * soft-fp/gedf2.c: Likewise.
5472         * soft-fp/gesf2.c: Likewise.
5473         * soft-fp/getf2.c: Likewise.
5474         * soft-fp/ledf2.c: Likewise.
5475         * soft-fp/lesf2.c: Likewise.
5476         * soft-fp/letf2.c: Likewise.
5477         * soft-fp/op-1.h: Likewise.
5478         * soft-fp/op-2.h: Likewise.
5479         * soft-fp/op-4.h: Likewise.
5480         * soft-fp/op-8.h: Likewise.
5481         * soft-fp/op-common.h: Likewise.
5482         * soft-fp/quad.h: Likewise.
5483         * soft-fp/single.h: Likewise.
5484         * soft-fp/soft-fp.h: Likewise.
5485         * soft-fp/unorddf2.c: Likewise.
5486         * soft-fp/unordsf2.c: Likewise.
5487         * soft-fp/unordtf2.c: Likewise.
5488         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5489         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5490         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5491         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5492         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5493         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5494         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5495         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5496         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5497         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5499 2014-10-08  Rong Xu  <xur@google.com>
5501         * libgcov-util.c (read_gcda_file): Fix format.
5502         (find_match_gcov_info): Ditto.
5503         (calculate_2_entries): New.
5504         (compute_one_gcov): Ditto.
5505         (gcov_info_count_all_cold): Ditto.
5506         (gcov_info_count_all_zero): Ditto.
5507         (extract_file_basename): Ditto.
5508         (get_file_basename): Ditto.
5509         (set_flag): Ditto.
5510         (matched_gcov_info): Ditto.
5511         (calculate_overlap): Ditto.
5512         (gcov_profile_overlap): Ditto.
5513         * libgcov-driver.c (compute_summary): Make
5514         it avavilable for external calls.
5516 2014-10-06  Rong Xu  <xur@google.com>
5518         * Makefile.in: Ditto.
5519         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5520         (gcov_sort_icall_topn_counter): Ditto.
5521         (gcov_sort_topn_counter_arrays): Ditto.
5522         (dump_one_gcov): Sort indirect_call topn counters.
5523         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5524         function.
5525         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5526         utility function.
5527         (__gcov_indirect_call_topn_profiler): New profiler function.
5528         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5529         * libgcov.h: New decls.
5531 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
5533         * config.host: Remove support for score-*.
5535 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
5537         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5538         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5539         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5540         __LIBGCC_XF_MANT_DIG__.
5541         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5542         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5543         __LIBGCC_TF_MANT_DIG__.
5544         * libgcc2.c (NOTRUNC): Define in terms of
5545         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5546         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5548 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
5550         PR target/63312
5551         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5552         New macros.
5554 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
5556         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5557         override USE_PT_GNU_EH_FRAME.
5558         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5559         check USE_EH_FRAME_REGISTRY_ALWAYS against
5560         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5561         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5562         variable for substituted force_explicit_eh_registry.
5563         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5564         * configure.ac (explicit-exception-frame-registration):
5565         New AC_ARG_ENABLE.
5566         * configure: Regenerate.
5568 2014-09-19  Olivier Hainque  <hainque@adacore.com>
5570         * config.host (powerpc-wrs-vxworksmils): New configuration,
5571         same as vxworksae.
5573 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
5575         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5577 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
5579         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5580         bits not set bits as indicating trapping exceptions.
5582 2014-09-17  Nathan sidwell  <nathan@acm.org>
5584         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5585         (LIBGCOV_DRIVER): ... here.
5586         * libgcov-driver.c (gcov_master): New.
5587         (gcov_exit): Remove from master chain.
5588         (__gcov_init): Add to master chain if version compatible.  Don't
5589         clear the version.
5590         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5591         (gcov_reset_int): Clear master chain, if compatible.
5592         (gcov_dump_int): New internal interface.  Dump master chain, if
5593         compatible.
5594         (gcov_dump): Alias for gcov_dump_int.
5595         * libgcov.h (struct gcov_root): Add next and prev fields.
5596         (struct gcov_master): New struct.
5597         (__gcov_master): New.
5598         (gcov_dump_int): Declare.
5600 2014-09-17  Olivier Hainque  <hainque@adacore.com>
5602         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5603         and crtbegin.o + crtend.o to extra_parts.
5605 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
5607         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5608         __LIBGCC_HAS_SF_MODE__.
5609         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5610         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5611         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5612         * config/libbid/bid_gcc_intrinsics.h
5613         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5614         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5615         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5616         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5617         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5618         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5620 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
5622         PR target/63223
5623         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5624         and R24 as needed.  Make work for all devices and .text locations.
5625         (__do_global_ctors, __do_global_dtors): Use word addresses.
5626         (__tablejump__, __tablejump_elpm__): Remove functions.
5627         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5628         Add _tablejump2.
5629         (XICALL, XIJMP): New macros.
5631 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5632         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
5634         * config.host (aarch64*): Include crtfastmath.o and
5635         t-crtfm.
5636         * config/aarch64/crtfastmath.c: New file.
5638 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
5640         * config.host: Remove picochip support.
5641         * config/picochip/adddi3.S: Remove.
5642         * config/picochip/ashlsi3.S: Remove.
5643         * config/picochip/ashlsi3.c: Remove.
5644         * config/picochip/ashrsi3.S: Remove.
5645         * config/picochip/ashrsi3.c: Remove.
5646         * config/picochip/clzsi2.S: Remove.
5647         * config/picochip/cmpsi2.S: Remove.
5648         * config/picochip/divmod15.S: Remove.
5649         * config/picochip/divmodhi4.S: Remove.
5650         * config/picochip/divmodsi4.S: Remove.
5651         * config/picochip/lib1funcs.S: Remove.
5652         * config/picochip/longjmp.S: Remove.
5653         * config/picochip/lshrsi3.S: Remove.
5654         * config/picochip/lshrsi3.c: Remove.
5655         * config/picochip/parityhi2.S: Remove.
5656         * config/picochip/popcounthi2.S: Remove.
5657         * config/picochip/setjmp.S: Remove.
5658         * config/picochip/subdi3.S: Remove.
5659         * config/picochip/t-picochip: Remove.
5660         * config/picochip/ucmpsi2.S: Remove.
5661         * config/picochip/udivmodhi4.S: Remove.
5662         * config/picochip/udivmodsi4.S: Remove.
5664 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
5666         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5667         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5668         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5669         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5670         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
5671         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5672         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
5673         defined and LIBGCC2_HAS_DF_MODE is defined.
5674         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
5675         defined and LIBGCC2_HAS_XF_MODE is defined.
5676         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
5677         defined and LIBGCC2_HAS_TF_MODE is defined.
5679 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
5681         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5682         and ROUND_TOWARDS_ZERO conditionals.
5684 2014-09-07  Nathan sidwell  <nathan@acm.org>
5686         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5687         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
5689 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
5691         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5692         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5693         uses to __LIBGCC_STACK_POINTER_REGNUM__.
5694         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5695         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5696         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5697         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5698         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5699         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5700         (DWARF_FRAME_REGISTERS): Change all uses to
5701         __LIBGCC_DWARF_FRAME_REGISTERS__.
5702         (EH_RETURN_STACKADJ_RTX): Change all uses to
5703         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5704         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5705         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
5706         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5707         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5708         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5709         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5710         to __LIBGCC_EH_FRAME_SECTION_NAME__.
5711         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5712         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5713         __LIBGCC_STACK_POINTER_REGNUM__.
5714         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5715         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5716         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5717         to __LIBGCC_STACK_POINTER_REGNUM__.
5718         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5719         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5720         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5721         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5722         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5723         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5724         (STACK_POINTER_REGNUM): Change all uses to
5725         __LIBGCC_STACK_POINTER_REGNUM__.
5726         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5727         use to __LIBGCC_STACK_POINTER_REGNUM__.
5728         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5729         uses to __LIBGCC_STACK_POINTER_REGNUM__.
5730         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5731         to __LIBGCC_DWARF_FRAME_REGISTERS__.
5732         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5733         to __LIBGCC_DWARF_FRAME_REGISTERS__.
5734         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5735         to __LIBGCC_STACK_POINTER_REGNUM__.
5736         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5737         Remove conditional definition.
5738         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5739         __LIBGCC_TEXT_SECTION_ASM_OP__.
5740         (EH_FRAME_SECTION_NAME): Change all uses to
5741         __LIBGCC_EH_FRAME_SECTION_NAME__.
5742         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5743         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5744         (CTORS_SECTION_ASM_OP): Change all uses to
5745         __LIBGCC_CTORS_SECTION_ASM_OP__.
5746         (DTORS_SECTION_ASM_OP): Change all uses to
5747         __LIBGCC_DTORS_SECTION_ASM_OP__.
5748         (JCR_SECTION_NAME): Change all uses to
5749         __LIBGCC_JCR_SECTION_NAME__.
5750         (INIT_SECTION_ASM_OP): Change all uses to
5751         __LIBGCC_INIT_SECTION_ASM_OP__.
5752         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5753         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5754         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5755         __LIBGCC_STACK_GROWS_DOWNWARD__.
5756         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5757         __LIBGCC_INIT_SECTION_ASM_OP__.
5758         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5759         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5760         (EH_FRAME_SECTION_NAME): Change all uses to
5761         __LIBGCC_EH_FRAME_SECTION_NAME__.
5762         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5763         definitions.  Change all uses to
5764         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5765         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5766         __LIBGCC_STACK_GROWS_DOWNWARD__.
5767         (DWARF_FRAME_REGISTERS): Change all uses to
5768         __LIBGCC_DWARF_FRAME_REGISTERS__.
5769         (EH_RETURN_STACKADJ_RTX): Change all uses to
5770         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5771         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5772         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5773         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5774         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5775         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5777 2014-09-02  Nathan sidwell  <nathan@acm.org>
5779         * libgcov-interface.c (STRONG_ALIAS): New.
5780         (__gcov_flush): Call __gcov_reset_int.
5781         (__gcov_reset): Strong alias for ...
5782         (__gcov_reset_ing): ... this renamed hidden version.
5783         * libgcov.h (__gcov_reset_int): New declaration.
5785 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
5787         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5788         call from here...
5789         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5790         (__dso_handle): Define on Cygwin.
5791         * config/i386/t-cygming (crtbeginS.o): New rule.
5792         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5794         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5795         declaration syntax.
5797 2014-08-13  Steve Ellcey  <sellcey@mips.com>
5799         * crtstuff.c: Undef caddr_t.
5801 2014-08-12  Steve Ellcey  <sellcey@mips.com>
5803         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
5805 2014-08-07  Nathan Sidwell  <nathan@acm.org>
5807         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5808         (LIBGCOV_DRIVER): ... to here.
5809         * libgcov.h (gcov_do_dump): New #define.
5810         (struct gcov_root): New.
5811         (__gcov_root): New declaration.
5812         (__gcov_dump_one): Declare.
5813         * libgcov-driver.c (gcov_list, gcov_dump_complete,
5814         run_accounted): Delete.
5815         (gcov_compute_histogram): Add LIST argument, adjust.
5816         (compute_summary): Adjust gcov_compute_histogram call.
5817         (gcov_do_dump): Not hidden, static in libgcov.
5818         (gcov_clear): Move  to interface.c.
5819         (__gcov_dump_one): New, broken out of ...
5820         (gcov_exit): ... here.  Make static.
5821         (__gcov_root): New.
5822         (__gcov_init): Adjust.
5823         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5824         declarations.
5825         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5826         (gcov_clear): Moved from driver.c.   Add LIST argument.
5827         (__gcov_reset): Adjust for changed interfaces.
5828         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5830 2014-08-04  Rohit  <rohitarulraj@freescale.com>
5832         PR target/60102
5833         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
5834         based on change in SPE high register numbers and 3 HTM registers.
5836 2014-08-01  Nathan Sidwell  <nathan@acm.org>
5838         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5839         LIBGCOV_INTERFACE): Reformat.
5840         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5841         IN_GCOV_TOOL.
5842         * libgcov-interface.c: Reformat some comments.
5843         (__gcov_flush_mx): Add declaration.  Tidy up definition.
5845 2014-07-31  Alan Modra  <amodra@gmail.com>
5846             Peter Bergner  <bergner@vnet.ibm.com>
5848         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5849         (pack_ldouble): New function.
5850         (__gcc_qadd): Use it.
5851         (__gcc_qmul): Likewise.
5852         (__gcc_qdiv): Likewise.
5853         (__gcc_qneg): Likewise.
5854         (__gcc_stoq): Likewise.
5855         (__gcc_dtoq): Likewise.
5857 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
5859         * config/s390/tpf-unwind.h: Include <stdbool.h>.
5860         (__tpf_eh_return): Add original return address as second parameter.
5861         Handle cases where unwinder routines were called directly, instead
5862         of from within the C++ library.
5864 2014-07-29  Nathan Sidwell  <nathan@acm.org>
5866         * libgcov.h: Move renaming of entry points to lib gcov specific
5867         portion.
5868         (gcov_do_dump): New rename.
5869         (gcov_rewrite): Remove inline, make HIDDEN.
5870         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5871         (gcov_exit_compute_summary): Rename to ...
5872         (compute_summary): ... here.  Add LIST argument.
5873         (gcov_exit_merge_gcda): Rename to ...
5874         (merge_one_data): ... here.
5875         (gcov_exit_write_gcda): Rename to ...
5876         (write_one_data): ... here.
5877         (gcov_exit_merge_summary): Rename to ...
5878         (merge_summary): Add RUN_COUNTED argument.
5879         (gcov_exit_dump_gcov): Rename to ...
5880         (dump_one_gcov): Add RUN_COUNTED argument.
5881         (gcov_do_dump): New function, broken out of ...
5882         (gcov_exit): ... here.  Call it.
5884 2014-07-27  Anthony Green  <green@moxielogic.com>
5886         * config.host: Add moxiebox configuration suppport.
5888 2014-07-27  Nathan Sidwell  <nathan@acm.org>
5890         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5891         (struct gcov_filename): ... here.  Include buffer and max length
5892         fields.
5893         (gcov_max_filename): Remove.
5894         (gi_filename): Remove.
5895         (gcov_exit_compute_summary): Compute max filename here.
5896         (gcov_exit_merge_gcda): Add filename parm, adjust.
5897         (gcov_exit_merge_summary): Likewise.
5898         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5899         (gcov_exit): Likewise.
5900         (__gcov_init): Don't calculate max length here.
5901         * libgcov_util.c (max_filename_len): Remove.
5902         (read_gcda_file): Don't calculate max length here.
5903         (gcov_read_profile_dir): Don't propagate here.
5904         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5905         struct gcov_filename changes.
5906         (gcov_exit_open_gcda_file): Likewise.
5908 2014-07-25  Nathan Sidwell  <nathan@acm.org>
5910         * libgcov-driver.c (set_gcov_dump_complete,
5911         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5912         functions polluting user's namespace.
5913         (gcov_exit): Set variable directly.
5914         (gcov_clear): Reset variable directly.
5915         * libgcov-interface.c (get_gcov_dymp_complete,
5916         reset_gov_dump_complete): Remove declarations.
5917         (__gcov_reset, __gcov_dump): Don't call them.
5919 2014-07-24  DJ Delorie  <dj@redhat.com>
5921         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5922         (__gcc_deregister_frame): Move logic to detect deregister function
5923         to ...
5924         (__gcc_register_frame): here, so it's consistent with the register
5925         logic.
5927 2014-07-23  Nathan Sidwell  <nathan@acm.org>
5929         * libgcov-driver.c (set_gcov_list): Remove.
5930         (gcov_list): Make non-static in GCOV_TOOL.
5931         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5933 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
5935         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5936         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5937         Don't use SYNC_LOCK_RELEASE for int type.
5939 2014-07-14  Richard Biener  <rguenther@suse.de>
5941         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5943 2014-07-11  Rong Xu  <xur@google.com>
5945         * libgcov-util.c (gcov_max_filename): Fix declartion.
5947 2014-07-10  Rong Xu  <xur@google.com>
5949         Add gcov-tool: an offline gcda profile processing tool
5950         Support.
5951         * libgcov-driver.c (gcov_max_filename): Make available
5952         to gcov-tool.
5953         * libgcov-merge.c (__gcov_merge_add): Replace
5954         gcov_read_counter() with a Macro.
5955         (__gcov_merge_ior): Ditto.
5956         (__gcov_merge_time_profile): Ditto.
5957         (__gcov_merge_single): Ditto.
5958         (__gcov_merge_delta): Ditto.
5959         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5960         in the utility functions.
5961         (set_fn_ctrs): Utility function for reading gcda files to in-memory
5962         gcov_list object link lists.
5963         (tag_function): Ditto.
5964         (tag_blocks): Ditto.
5965         (tag_arcs): Ditto.
5966         (tag_lines): Ditto.
5967         (tag_counters): Ditto.
5968         (tag_summary): Ditto.
5969         (read_gcda_finalize): Ditto.
5970         (read_gcda_file): Ditto.
5971         (ftw_read_file): Ditto.
5972         (read_profile_dir_init): Ditto.
5973         (gcov_read_profile_dir): Ditto.
5974         (gcov_read_counter_mem): Ditto.
5975         (gcov_get_merge_weight): Ditto.
5976         (merge_wrapper): A wrapper function that calls merging handler.
5977         (gcov_merge): Merge two gcov_info objects with weights.
5978         (find_match_gcov_info): Find the matched gcov_info in the list.
5979         (gcov_profile_merge): Merge two gcov_info object lists.
5980         (__gcov_add_counter_op): Process edge profile counter values.
5981         (__gcov_ior_counter_op): Process IOR profile counter values.
5982         (__gcov_delta_counter_op): Process delta profile counter values.
5983         (__gcov_single_counter_op): Process single  profile counter values.
5984         (fp_scale): Callback function for float-point scaling.
5985         (int_scale): Callback function for integer fraction scaling.
5986         (gcov_profile_scale): Scaling profile counters.
5987         (gcov_profile_normalize): Normalize profile counters.
5988         * libgcov.h: Add headers and functions for gcov-tool use.
5989         (gcov_get_counter): New.
5990         (gcov_get_counter_target): Ditto.
5991         (struct gcov_info): Make the functions field mutable in gcov-tool
5992         compilation.
5994 2014-06-23  Kai Tietz  <ktietz@redhat.com>
5996         PR libgcc/61585
5997         * unwind-seh.c (_Unwind_GetGR): Check for proper
5998         index range.
5999         (_Unwind_SetGR): Likewise.
6001 2014-05-22  Nick Clifton  <nickc@redhat.com>
6003         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6004         -mhwmult=none.
6006 2014-05-22  Teresa Johnson  <tejohnson@google.com>
6008         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6009         include.
6011 2014-05-20  John Marino  <gnugcc@marino.st>
6013         * config.host (*-*-dragonfly*): New target.
6014         * crtstuff.c: Make dl_iterate_support generic on *bsd.
6015         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6016         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6017         * config/i386/dragonfly-unwind.h: New.
6019 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
6021         PR libgcc/60166
6022         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6023         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6025 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
6027         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6028         implementation.
6030 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
6032         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6034 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6036         PR libgcc/61097
6037         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6038         if --enable-shared.
6040 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
6042         Work around for current cygwin32 build problems.
6043         * config/i386/cygming-crtbegin.c (__register_frame_info,
6044         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6045         functions only for 64-bit systems.
6047 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6049         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6050         (sigill_caught, sigill_hdlr): Remove.
6052 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6054         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6055         check.
6056         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6057         Solaris 9 single-threaded support.
6058         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6059         Solaris 9 single-threaded support.  Add call_user_handler code
6060         sequences.
6061         (sparc_is_sighandler): Likewise.
6063 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6065         * config.host: Append t-floattodi to tmake_file depending on
6066         host_address.
6068 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
6070         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
6072 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
6074         PR libgcc/60472
6075         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
6076         variable to avoid "array subscript is above array bounds" warnings.
6077         Use __builtin_expect when checking *jcr_list for NULL.
6079 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6081         PR libgcc/59339
6082         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6083         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6084         vtv_*.o to extra_parts if enable_vtable_verify.
6086 2014-03-06  Nick Clifton  <nickc@redhat.com>
6088         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6089         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6091 2014-02-28  Joey Ye  <joey.ye@arm.com>
6093         PR libgcc/60166
6094         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6095         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6096         Set to zero.
6098 2014-02-24  Walter Lee  <walt@tilera.com>
6100         * config.host: Support "tilegx*" and "tilepro*" triplets.
6101         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6102         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6104 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
6105             Chung-Lin Tang  <cltang@codesourcery.com>
6107         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6108         * config/nios2/crti.S: Remove .file directive.
6109         * config/nios2/crtn.S: Likewise.
6111 2014-02-18  Kai Tietz  <ktietz@redhat.com>
6112         Jonathan Schleifer  <js@webkeks.org>
6114         PR objc/56870
6115         * unwind-seh.c (_GCC_specific_handler): Pass proper
6116         value to unwind-handler.
6118 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
6120         * soft-fp/adddf3.c: Update from glibc.
6121         * soft-fp/addsf3.c: Likewise.
6122         * soft-fp/addtf3.c: Likewise.
6123         * soft-fp/divdf3.c: Likewise.
6124         * soft-fp/divsf3.c: Likewise.
6125         * soft-fp/divtf3.c: Likewise.
6126         * soft-fp/double.h: Likewise.
6127         * soft-fp/eqdf2.c: Likewise.
6128         * soft-fp/eqsf2.c: Likewise.
6129         * soft-fp/eqtf2.c: Likewise.
6130         * soft-fp/extenddftf2.c: Likewise.
6131         * soft-fp/extended.h: Likewise.
6132         * soft-fp/extendsfdf2.c: Likewise.
6133         * soft-fp/extendsftf2.c: Likewise.
6134         * soft-fp/extendxftf2.c: Likewise.
6135         * soft-fp/fixdfdi.c: Likewise.
6136         * soft-fp/fixdfsi.c: Likewise.
6137         * soft-fp/fixdfti.c: Likewise.
6138         * soft-fp/fixsfdi.c: Likewise.
6139         * soft-fp/fixsfsi.c: Likewise.
6140         * soft-fp/fixsfti.c: Likewise.
6141         * soft-fp/fixtfdi.c: Likewise.
6142         * soft-fp/fixtfsi.c: Likewise.
6143         * soft-fp/fixtfti.c: Likewise.
6144         * soft-fp/fixunsdfdi.c: Likewise.
6145         * soft-fp/fixunsdfsi.c: Likewise.
6146         * soft-fp/fixunsdfti.c: Likewise.
6147         * soft-fp/fixunssfdi.c: Likewise.
6148         * soft-fp/fixunssfsi.c: Likewise.
6149         * soft-fp/fixunssfti.c: Likewise.
6150         * soft-fp/fixunstfdi.c: Likewise.
6151         * soft-fp/fixunstfsi.c: Likewise.
6152         * soft-fp/fixunstfti.c: Likewise.
6153         * soft-fp/floatdidf.c: Likewise.
6154         * soft-fp/floatdisf.c: Likewise.
6155         * soft-fp/floatditf.c: Likewise.
6156         * soft-fp/floatsidf.c: Likewise.
6157         * soft-fp/floatsisf.c: Likewise.
6158         * soft-fp/floatsitf.c: Likewise.
6159         * soft-fp/floattidf.c: Likewise.
6160         * soft-fp/floattisf.c: Likewise.
6161         * soft-fp/floattitf.c: Likewise.
6162         * soft-fp/floatundidf.c: Likewise.
6163         * soft-fp/floatundisf.c: Likewise.
6164         * soft-fp/floatunditf.c: Likewise.
6165         * soft-fp/floatunsidf.c: Likewise.
6166         * soft-fp/floatunsisf.c: Likewise.
6167         * soft-fp/floatunsitf.c: Likewise.
6168         * soft-fp/floatuntidf.c: Likewise.
6169         * soft-fp/floatuntisf.c: Likewise.
6170         * soft-fp/floatuntitf.c: Likewise.
6171         * soft-fp/gedf2.c: Likewise.
6172         * soft-fp/gesf2.c: Likewise.
6173         * soft-fp/getf2.c: Likewise.
6174         * soft-fp/ledf2.c: Likewise.
6175         * soft-fp/lesf2.c: Likewise.
6176         * soft-fp/letf2.c: Likewise.
6177         * soft-fp/muldf3.c: Likewise.
6178         * soft-fp/mulsf3.c: Likewise.
6179         * soft-fp/multf3.c: Likewise.
6180         * soft-fp/negdf2.c: Likewise.
6181         * soft-fp/negsf2.c: Likewise.
6182         * soft-fp/negtf2.c: Likewise.
6183         * soft-fp/op-1.h: Likewise.
6184         * soft-fp/op-2.h: Likewise.
6185         * soft-fp/op-4.h: Likewise.
6186         * soft-fp/op-8.h: Likewise.
6187         * soft-fp/op-common.h: Likewise.
6188         * soft-fp/quad.h: Likewise.
6189         * soft-fp/single.h: Likewise.
6190         * soft-fp/soft-fp.h: Likewise.
6191         * soft-fp/subdf3.c: Likewise.
6192         * soft-fp/subsf3.c: Likewise.
6193         * soft-fp/subtf3.c: Likewise.
6194         * soft-fp/truncdfsf2.c: Likewise.
6195         * soft-fp/trunctfdf2.c: Likewise.
6196         * soft-fp/trunctfsf2.c: Likewise.
6197         * soft-fp/trunctfxf2.c: Likewise.
6198         * soft-fp/unorddf2.c: Likewise.
6199         * soft-fp/unordsf2.c: Likewise.
6200         * soft-fp/unordtf2.c: Likewise.
6201         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6202         macro.
6203         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6204         Likewise.
6205         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6206         Likewise.
6207         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6208         Likewise.
6209         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6210         Likewise.
6211         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6212         Likewise.
6213         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6214         Likewise.
6215         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6216         Likewise.
6217         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6218         Likewise.
6219         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6220         Likewise.
6221         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6222         Likewise.
6223         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6224         Likewise.
6225         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6226         Likewise.
6227         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6228         Likewise.
6229         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6230         Likewise.
6231         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6232         Likewise.
6234 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6236         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6237         cannot be represented.
6238         * config/s390/32/_fixsfdi.c: Likewise.
6239         * config/s390/32/_fixtfdi.c: Likewise.
6240         * config/s390/32/_fixunsdfdi.c: Likewise.
6241         * config/s390/32/_fixunssfdi.c: Likewise.
6242         * config/s390/32/_fixunstfdi.c: Likewise.
6244 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
6246         * configure.ac (libgcc_cv_mips_hard_float): New.
6247         * configure: Regenerate.
6248         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6249         t-softfp-sfdf for hard-float targets.
6250         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6251         (softfp_float_modes, softfp_int_modes, softfp_extensions)
6252         (softfp_truncations, softfp_exclude_libgcc2): New.
6253         * config/t-hardfp: New file.
6254         * config/t-hardfp-sfdf: Likewise.
6255         * config/hardfp.c: Likewise.
6257 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6259         * config.host: Include t-floattodi also for s390x.
6260         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6261         * config/s390/32/_fixsfdi.c: Likewise.
6262         * config/s390/32/_fixtfdi.c: Likewise.
6263         * config/s390/32/_fixunsdfdi.c: Likewise.
6264         * config/s390/32/_fixunssfdi.c: Likewise.
6265         * config/s390/32/_fixunstfdi.c: Likewise.
6267 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6269         PR target/59788
6270         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6271         (install-libgcc-unwind-map-forbuild): New target.
6272         (all): Depend on install-libgcc-unwind-map-forbuild.
6273         (install-libgcc-unwind-map): New target.
6274         (install): Depend on install-libgcc-unwind-map.
6276 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
6278         * config/nios2/crti.S (_init): Initialize GOT pointer from
6279         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6281 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
6283         * configure.ac: Check __mips64 when setting host_address.
6284         * configure: Regenerate.
6285         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6286         mips/t-mips64 and t-softfp.
6287         (mips*-*-linux*): Don't add mips/t-tpbit.
6288         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6289         (DPBIT, DPBIT_CFLAGS): Delete.
6290         * config/mips/sfp-machine.h: New file.
6291         * config/mips/t-mips64: Likewise.
6292         * config/mips/t-softfp-tf: Likewise.
6293         * config/mips/t-tpbit: Delete.
6295 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6297         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6298         as long long.
6300 2014-01-25  Walter Lee  <walt@tilera.com>
6302         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
6303         config.h or system.h.
6304         (bool) Define.
6306 2014-01-25  Walter Lee  <walt@tilera.com>
6308         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6309         (post_atomic_barrier): Ditto.
6310         (__fetch_and_do): New macro.
6311         (__atomic_fetch_and_do): Use __fetch_and_do.
6312         (__sync_fetch_and_do): New macro.
6313         (__sync_fetch_and_add_4): New function.
6314         (__sync_fetch_and_sub_4): New function.
6315         (__sync_fetch_and_or_4): New function.
6316         (__sync_fetch_and_and_4): New function.
6317         (__sync_fetch_and_xor_4): New function.
6318         (__sync_fetch_and_nand_4): New function.
6319         (__sync_fetch_and_add_8): New function.
6320         (__sync_fetch_and_sub_8): New function.
6321         (__sync_fetch_and_or_8): New function.
6322         (__sync_fetch_and_and_8): New function.
6323         (__sync_fetch_and_xor_8): New function.
6324         (__sync_fetch_and_nand_8): New function.
6325         (__do_and_fetch): New macro.
6326         (__atomic_do_and_fetch): Use __do_and_fetch.
6327         (__sync_do_and_fetch): New macro.
6328         (__sync_add_and_fetch_4): New function.
6329         (__sync_sub_and_fetch_4): New function.
6330         (__sync_or_and_fetch_4): New function.
6331         (__sync_and_and_fetch_4): New function.
6332         (__sync_xor_and_fetch_4): New function.
6333         (__sync_nand_and_fetch_4): New function.
6334         (__sync_add_and_fetch_8): New function.
6335         (__sync_sub_and_fetch_8): New function.
6336         (__sync_or_and_fetch_8): New function.
6337         (__sync_and_and_fetch_8): New function.
6338         (__sync_xor_and_fetch_8): New function.
6339         (__sync_nand_and_fetch_8): New function.
6340         (__sync_exchange_methods): New macro.
6341         (__sync_val_compare_and_swap_4): New function.
6342         (__sync_bool_compare_and_swap_4): New function.
6343         (__sync_lock_test_and_test_4): New function.
6344         (__sync_val_compare_and_swap_8): New function.
6345         (__sync_bool_compare_and_swap_8): New function.
6346         (__sync_lock_test_and_test_8): New function.
6347         (__subword_cmpxchg_body): New macro.
6348         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6349         (__atomic_compare_exchange_2): Ditto.
6350         (__sync_subword_cmpxchg): New macro.
6351         (__sync_val_compare_and_swap_1): New function.
6352         (__sync_bool_compare_and_swap_1): New function.
6353         (__sync_val_compare_and_swap_2): New function.
6354         (__sync_bool_compare_and_swap_2): New function.
6355         (__atomic_subword): Rename to ...
6356         (__subword): ... New name.
6357         (__atomic_subword_fetch): Use __subword.
6358         (__sync_subword_fetch): New macro.
6359         (__sync_fetch_and_add_1): New function.
6360         (__sync_fetch_and_sub_1): New function.
6361         (__sync_fetch_and_or_1): New function.
6362         (__sync_fetch_and_and_1): New function.
6363         (__sync_fetch_and_xor_1): New function.
6364         (__sync_fetch_and_nand_1): New function.
6365         (__sync_fetch_and_add_2): New function.
6366         (__sync_fetch_and_sub_2): New function.
6367         (__sync_fetch_and_or_2): New function.
6368         (__sync_fetch_and_and_2): New function.
6369         (__sync_fetch_and_xor_2): New function.
6370         (__sync_fetch_and_nand_2): New function.
6371         (__sync_add_and_fetch_1): New function.
6372         (__sync_sub_and_fetch_1): New function.
6373         (__sync_or_and_fetch_1): New function.
6374         (__sync_and_and_fetch_1): New function.
6375         (__sync_xor_and_fetch_1): New function.
6376         (__sync_nand_and_fetch_1): New function.
6377         (__sync_add_and_fetch_2): New function.
6378         (__sync_sub_and_fetch_2): New function.
6379         (__sync_or_and_fetch_2): New function.
6380         (__sync_and_and_fetch_2): New function.
6381         (__sync_xor_and_fetch_2): New function.
6382         (__sync_nand_and_fetch_2): New function.
6383         (__atomic_subword_lock): Use __subword.
6384         (__sync_subword_lock): New macro.
6385         (__sync_lock_test_and_set_1): New function.
6386         (__sync_lock_test_and_set_2): New function.
6388 2014-01-25  Walter Lee  <walt@tilera.com>
6390         * config/tilepro/atomic.c (BIT_OFFSET): Define.
6391         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6392         (__atomic_subword): Ditto.
6394 2014-01-25  Walter Lee  <walt@tilera.com>
6396         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6397         a prefix op argument.
6398         (__atomic_nand_fetch_4): Add prefix op.
6399         (__atomic_nand_fetch_8): Ditto.
6401 2014-01-21  Baruch Siach  <barch@tkos.co.il>
6403         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6405 2014-01-09  Rong Xu  <xur@google.com>
6407         * libgcov-driver.c (this_prg): make it local to save
6408         bss space.
6409         (gcov_exit_compute_summary): Ditto.
6410         (gcov_exit_merge_gcda): Ditto.
6411         (gcov_exit_merge_summary): Ditto.
6412         (gcov_exit_dump_gcov): Ditto.
6414 2014-01-08  Rong Xu  <xur@google.com>
6416         * libgcov-driver.c: Use libgcov.h.
6417         (buffer_fn_data): Use xmalloc instead of malloc.
6418         (gcov_exit_merge_gcda): Ditto.
6419         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6420         * libgcov.h: New common header files for libgcov-*.h.
6421         * libgcov-interface.c: Use libgcov.h
6422         * libgcov-merge.c: Ditto.
6423         * libgcov-profiler.c: Ditto.
6424         * Makefile.in: Add dependence to libgcov.h
6426 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
6428         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6429         case of small numerator and finite nonzero result.
6431 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
6433         Update copyright years
6435 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
6437         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6438         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6439         config/arc/dp-hack.h, config/arc/fp-hack.h,
6440         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6441         config/arc/ieee-754/arc600-dsp/divdf3.S,
6442         config/arc/ieee-754/arc600-dsp/divsf3.S,
6443         config/arc/ieee-754/arc600-dsp/muldf3.S,
6444         config/arc/ieee-754/arc600-dsp/mulsf3.S,
6445         config/arc/ieee-754/arc600-mul64/divdf3.S,
6446         config/arc/ieee-754/arc600-mul64/divsf3.S,
6447         config/arc/ieee-754/arc600-mul64/muldf3.S,
6448         config/arc/ieee-754/arc600-mul64/mulsf3.S,
6449         config/arc/ieee-754/arc600/divsf3.S,
6450         config/arc/ieee-754/arc600/mulsf3.S,
6451         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6452         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6453         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6454         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6455         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6456         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6457         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6458         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6459         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6460         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6461         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6462         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6463         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6464         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6465         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6466         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6467         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6468         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6469         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6470         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6471         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6472         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6473         vtv_start_preinit.c: Use the standard form for the copyright notice.
6475 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
6476             Chung-Lin Tang  <cltang@codesourcery.com>
6477             Based on patches from Altera Corporation
6479         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6480         * config/nios2/lib2-nios2.h: New file.
6481         * config/nios2/lib2-divmod-hi.c: New file.
6482         * config/nios2/linux-unwind.h: New file.
6483         * config/nios2/lib2-divmod.c: New file.
6484         * config/nios2/linux-atomic.c: New file.
6485         * config/nios2/t-nios2: New file.
6486         * config/nios2/crti.asm: New file.
6487         * config/nios2/t-linux: New file.
6488         * config/nios2/lib2-divtable.c: New file.
6489         * config/nios2/lib2-mul.c: New file.
6490         * config/nios2/tramp.c: New file.
6491         * config/nios2/crtn.asm: New file.
6493 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
6495         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6496         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6497         from cpuid.h to check vendor signatures.
6499 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
6501         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
6502         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6503         (get_amd_cpu): Likewise.
6505 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
6507         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6508         Haswell.
6510 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
6511             H.J. Lu  <hongjiu.lu@intel.com>
6513         PR target/59422
6514         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
6515         and AMD_JAGUAR.
6516         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6517         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6518         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
6519         FEATURE_XOP and FEATURE_FMA.
6520         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6521         AMDFAM15H_BDVER3.
6522         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
6523         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
6524         FEATURE_FMA4 and FEATURE_XOP.
6526 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
6528         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6529         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6530         (get_intel_cpu): Updated.
6532 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
6534         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6536 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
6538         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6539         instructions when __SSE_MATH__ is defined.
6541 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
6543         * config.host (microblaze-*-rtems*): New.
6545 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
6547         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6548         architectures that do not have hardware divide instruction.
6549         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6551 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
6553         * longlong.h: Delete (moved to include/).
6555 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6557         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6558         of normal number and qNaN to not raise an inexact exception.
6560 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
6562         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6564 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
6566         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6567         for correct opcodes on BE.
6569 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
6571         * soft-fp/op-4.h: Update from glibc.
6573 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
6575         * libgcc2.c (__udivmoddi4): Define new implementation when
6576         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6577         divide instructions.
6579 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
6581         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6583 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6585         * config/t-softfp (soft-fp-objects-base): New variable.
6586         (soft-fp-objects): Use it.
6588 2013-11-23  David Edelson  <dje.gcc@gmail.com>
6589             Andrew Dixie  <andrewd@gentrack.com>
6591         PR target/33704
6592         * config/rs6000/aixinitfini.c: New file.
6593         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6594         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6595         symbols.
6597 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
6599         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
6601 2013-11-18  Jan Hubicka  <jh@suse.cz>
6603         * libgcov-driver.c (run_accounted): Make global level static.
6604         (gcov_exit_merge_summary): Silence warning; do not clear
6605         run_accounted here.
6606         (gcov_exit): Clear it here.
6608         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6609         run_accounted.
6611         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6612         (all_prg, crc32): Remove static vars.
6613         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6614         all_prg.
6615         (gcov_exit_merge_gcda): Add crc32 parameter.
6616         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6617         do not account run if it was already accounted.
6618         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6619         (gcov_exit): Initialize all_prg; update.
6621 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
6623         * configure: Regenerate.
6625 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6626             Alan Modra  <amodra@gmail.com>
6628         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6629         (frob_update_context): Use it.
6631 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6632             Alan Modra  <amodra@gmail.com>
6634         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6635         (trampoline_initial): Provide ELFv2 variant.
6636         (__trampoline_setup): Likewise.
6638         * config/rs6000/linux-unwind.h (frob_update_context): Do not
6639         check for AIX indirect function call sequence if _CALL_ELF == 2.
6641 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6642             Alan Modra  <amodra@gmail.com>
6644         * config/rs6000/linux-unwind.h (get_regs): Do not support
6645         old kernel versions if _CALL_ELF == 2.
6646         (frob_update_context): Do not support PLT stub variants only
6647         generated by old linkers if _CALL_ELF == 2.
6649 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6650             Alan Modra  <amodra@gmail.com>
6652         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6653         location of CR save area for 64-bit little-endian systems.
6655 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
6657         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6658         in tmake_file.
6659         * config/arm/t-vxworks: Delete.
6661 2013-11-10  Kai Tietz  <ktietz@redhat.com>
6663         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6664         Increment load-count on use of LIBGCC_SONAME DLL.
6665         (hmod_libgcc): New static variable to hold handle of
6666         LIBGCC_SONAME DLL.
6667         (__gcc_deregister_frame): Decrement load-count of
6668         LIBGCC_SONAME DLL.
6670 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
6672         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6673         availability.
6674         * configure: Regenerate
6676 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
6678         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6679         FP_EX_DENORM.  Store result to volatile location after SSE division
6680         to close interrupt window.  Remove unneeded fwait after x87
6681         division since interrupt window will be closed by emitted fstp.
6682         Rewrite FP_EX_INEXACT handling.
6684 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
6686         * soft-fp/README: Update.
6687         * soft-fp/adddf3.c: Update from glibc.
6688         * soft-fp/addsf3.c: Likewise.
6689         * soft-fp/addtf3.c: Likewise.
6690         * soft-fp/divdf3.c: Likewise.
6691         * soft-fp/divsf3.c: Likewise.
6692         * soft-fp/divtf3.c: Likewise.
6693         * soft-fp/double.h: Likewise.
6694         * soft-fp/eqdf2.c: Likewise.
6695         * soft-fp/eqsf2.c: Likewise.
6696         * soft-fp/eqtf2.c: Likewise.
6697         * soft-fp/extenddftf2.c: Likewise.
6698         * soft-fp/extended.h: Likewise.
6699         * soft-fp/extendsfdf2.c: Likewise.
6700         * soft-fp/extendsftf2.c: Likewise.
6701         * soft-fp/extendxftf2.c: Likewise.
6702         * soft-fp/fixdfdi.c: Likewise.
6703         * soft-fp/fixdfsi.c: Likewise.
6704         * soft-fp/fixdfti.c: Likewise.
6705         * soft-fp/fixsfdi.c: Likewise.
6706         * soft-fp/fixsfsi.c: Likewise.
6707         * soft-fp/fixsfti.c: Likewise.
6708         * soft-fp/fixtfdi.c: Likewise.
6709         * soft-fp/fixtfsi.c: Likewise.
6710         * soft-fp/fixtfti.c: Likewise.
6711         * soft-fp/fixunsdfdi.c: Likewise.
6712         * soft-fp/fixunsdfsi.c: Likewise.
6713         * soft-fp/fixunsdfti.c: Likewise.
6714         * soft-fp/fixunssfdi.c: Likewise.
6715         * soft-fp/fixunssfsi.c: Likewise.
6716         * soft-fp/fixunssfti.c: Likewise.
6717         * soft-fp/fixunstfdi.c: Likewise.
6718         * soft-fp/fixunstfsi.c: Likewise.
6719         * soft-fp/fixunstfti.c: Likewise.
6720         * soft-fp/floatdidf.c: Likewise.
6721         * soft-fp/floatdisf.c: Likewise.
6722         * soft-fp/floatditf.c: Likewise.
6723         * soft-fp/floatsidf.c: Likewise.
6724         * soft-fp/floatsisf.c: Likewise.
6725         * soft-fp/floatsitf.c: Likewise.
6726         * soft-fp/floattidf.c: Likewise.
6727         * soft-fp/floattisf.c: Likewise.
6728         * soft-fp/floattitf.c: Likewise.
6729         * soft-fp/floatundidf.c: Likewise.
6730         * soft-fp/floatundisf.c: Likewise.
6731         * soft-fp/floatunditf.c: Likewise.
6732         * soft-fp/floatunsidf.c: Likewise.
6733         * soft-fp/floatunsisf.c: Likewise.
6734         * soft-fp/floatunsitf.c: Likewise.
6735         * soft-fp/floatuntidf.c: Likewise.
6736         * soft-fp/floatuntisf.c: Likewise.
6737         * soft-fp/floatuntitf.c: Likewise.
6738         * soft-fp/gedf2.c: Likewise.
6739         * soft-fp/gesf2.c: Likewise.
6740         * soft-fp/getf2.c: Likewise.
6741         * soft-fp/ledf2.c: Likewise.
6742         * soft-fp/lesf2.c: Likewise.
6743         * soft-fp/letf2.c: Likewise.
6744         * soft-fp/muldf3.c: Likewise.
6745         * soft-fp/mulsf3.c: Likewise.
6746         * soft-fp/multf3.c: Likewise.
6747         * soft-fp/negdf2.c: Likewise.
6748         * soft-fp/negsf2.c: Likewise.
6749         * soft-fp/negtf2.c: Likewise.
6750         * soft-fp/op-1.h: Likewise.
6751         * soft-fp/op-2.h: Likewise.
6752         * soft-fp/op-4.h: Likewise.
6753         * soft-fp/op-8.h: Likewise.
6754         * soft-fp/op-common.h: Likewise.
6755         * soft-fp/quad.h: Likewise.
6756         * soft-fp/single.h: Likewise.
6757         * soft-fp/soft-fp.h: Likewise.
6758         * soft-fp/subdf3.c: Likewise.
6759         * soft-fp/subsf3.c: Likewise.
6760         * soft-fp/subtf3.c: Likewise.
6761         * soft-fp/truncdfsf2.c: Likewise.
6762         * soft-fp/trunctfdf2.c: Likewise.
6763         * soft-fp/trunctfsf2.c: Likewise.
6764         * soft-fp/trunctfxf2.c: Likewise.
6765         * soft-fp/unorddf2.c: Likewise.
6766         * soft-fp/unordsf2.c: Likewise.
6767         * soft-fp/unordtf2.c: Likewise.
6769 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
6771         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6772         (_FP_MUL_MEAT_D): Ditto.
6773         (_FP_DIV_MEAT_S): Ditto.
6774         (_FP_DIV_MEAT_D): Ditto.
6775         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6776         t-softfp-sfdf and t-softfp to tmake_file.
6778 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
6780         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6781         * config/i386/crtprec.c: Ditto.
6783 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
6784             Shiva Chen  <shiva0217@gmail.com>
6786         * config.host (nds32*-elf*): Add nds32 target.
6787         * config/nds32 : New directory and files.
6789 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
6791         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
6792         * config.host (cpu_type) <Setting default>: Add entry for
6793         crisv32-*-*.
6794         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6795         <crisv32-*-linux*>: Adjust.
6796         * longlong.h: Wrap the whole CRIS section in a single
6797         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
6798         and sub_ddmmss.
6799         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6800         defined.
6801         [__CRIS__] (__umulsidi3): Define.
6802         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6803         * config/cris/sfp-machine.h: New file.
6804         * config/cris/umulsidi3.S: New file.
6805         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6806         * config/cris/arit.c (SIGNMULT): New macro.
6807         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6808         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6809         saving 3 out of originally 33 cycles from the fastest
6810         path, 3 out of 54 from the medium path and one from the longest
6811         path.  Improve comments.
6813 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
6815         * sync.c: Remove static aliases and define each function directly
6816         under its real name.
6818 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
6820         * config.host (hppa*64*-*-linux*): Define extra_parts.
6821         (hppa*-*-linux*): Likewise.
6823 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
6825         * config/arc/crtgend.S: Add 2013 to Copyright years.
6826         * config/arc/gmon/atomic.h: Likewise.
6827         * config/arc/gmon/auxreg.h: Likewise.
6828         * config/arc/gmon/sys/gmon_out.h: Likewise.
6829         * config/arc/gmon/sys/gmon.h: Likewise.
6830         * config/arc/gmon/prof-freq.c: Likewise.
6831         * config/arc/gmon/mcount.c: Likewise.
6832         * config/arc/gmon/prof-freq-stub.S: Likewise.
6833         * config/arc/gmon/gmon.c: Likewise.
6834         * config/arc/gmon/machine-gmon.h: Likewise.
6835         * config/arc/gmon/profil.S: Likewise.
6836         * config/arc/gmon/dcache_linesz.S: Likewise.
6837         * config/arc/crtg.S: Likewise.
6838         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6839         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6840         * config/arc/ieee-754/adddf3.S: Likewise.
6841         * config/arc/ieee-754/truncdfsf2.S: Likewise.
6842         * config/arc/ieee-754/fixsfsi.S: Likewise.
6843         * config/arc/ieee-754/gtsf2.S: Likewise.
6844         * config/arc/ieee-754/floatsisf.S: Likewise.
6845         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6846         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6847         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6848         * config/arc/ieee-754/fixdfsi.S: Likewise.
6849         * config/arc/ieee-754/addsf3.S: Likewise.
6850         * config/arc/ieee-754/gesf2.S: Likewise.
6851         * config/arc/ieee-754/floatsidf.S: Likewise.
6852         * config/arc/ieee-754/extendsfdf2.S: Likewise.
6853         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6854         * config/arc/ieee-754/gtdf2.S: Likewise.
6855         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6856         * config/arc/ieee-754/uneqdf2.S: Likewise.
6857         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6858         * config/arc/ieee-754/uneqsf2.S: Likewise.
6859         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6860         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6861         * config/arc/ieee-754/eqdf2.S: Likewise.
6862         * config/arc/ieee-754/ordsf2.S: Likewise.
6863         * config/arc/ieee-754/divsf3.S: Likewise.
6864         * config/arc/ieee-754/divdf3.S: Likewise.
6865         * config/arc/ieee-754/floatunsidf.S: Likewise.
6866         * config/arc/ieee-754/orddf2.S: Likewise.
6867         * config/arc/ieee-754/eqsf2.S: Likewise.
6868         * config/arc/ieee-754/gedf2.S: Likewise.
6869         * config/arc/crtn.S: Likewise.
6870         * config/arc/crti.S: Likewise.
6871         * config/arc/t-arc700-uClibc: Likewise.
6872         * config/arc/asm.h: Likewise.
6873         * config/arc/libgcc-excl.ver: Likewise.
6874         * config/arc/t-arc-newlib: Likewise.
6875         * config/arc/divtab-arc700.c: Likewise.
6876         * config/arc/initfini.c: Likewise.
6877         * config/arc/fp-hack.h: Likewise.
6879 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
6880             Diego Novillo  <dnovillo@google.com>
6882         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
6883         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6884         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6885         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
6887 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
6888             Brendan Kehoe  <brendan@zen.org>
6889             Simon Cook  <simon.cook@embecosm.com>
6891         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6892         * config/arc: New directory.
6893         * longlong.h [__arc__] (umul_ppmm): Remove.
6894         [__arc__] (__umulsidi3): Define.
6895         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6896         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6898 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
6900         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6901         CreateSemaphoreA.
6902         * config/i386/gthr-win32.h: Likewise.
6904 2013-09-16  DJ Delorie  <dj@redhat.com>
6906         * config/rl78/vregs.h: Add G10 register definitions.
6907         * config/rl78/lib2mul.c: Enable for RL78/G10.
6908         * config/rl78/lib2div.c: Likewise.
6909         * config/rl78/lshrsi3.S: Use vregs.h.
6910         * config/rl78/cmpsi2.S: Likewise.
6911         * config/rl78/trampoline.S: Likewise.
6912         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
6914 2013-09-14  DJ Delorie  <dj@redhat.com>
6915             Nick Clifton  <nickc@redhat.com>
6917         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6918         * config/rl78/vregs.h: New.
6919         * config/rl78/signbit.S: New file.  Implements signbit function.
6920         * config/rl78/divmodsi.S: New.
6921         * config/rl78/divmodhi.S: New.
6922         * config/rl78/divmodqi.S: New.
6923         * config/rl78/t-rl78: Build them here...
6924         * config/rl78/lib2div.c: ...but not here.
6926 2013-09-12  DJ Delorie  <dj@redhat.com>
6928         * config.host (msp*-*-elf): New.
6929         * config/msp430/: New port.
6931 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
6933         PR gcov-profile/58127
6934         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6935         __thread var for emulated TLS.
6936         (__gcov_indirect_call_counters): Likewise.
6938 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
6939             Catherine Moore  <clm@codesourcery.com>
6940             Richard Sandiford  <rdsandiford@googlemail.com>
6942         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6943         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6944         (CALL_STUB_NO_RET): Likewise.
6945         (CALL_STUB_RET): Likewise.
6946         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6947         __mips16_ret call/return stub symbols.
6948         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6949         to tmake_file.
6951 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
6953         * config.host <mips*-*-linux*>: Remove a stray comment.
6955 2013-08-10  Jan Hubicka  <jh@suse.cz>
6957         Work around binutils PR14342
6958         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6959         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6960         (L_gcov_indirect_call_profiler_v2): New.
6962 2013-08-06  Jan Hubicka  <jh@suse.cz>
6964         * libgcov.c (__gcov_indirect_call_callee,
6965         __gcov_indirect_call_counters): New global vars.
6966         (__gcov_indirect_call_profiler): replace by ...
6967         (__gcov_indirect_call_profiler_v2) ... this one.
6969 2013-08-06  Caroline Tice  <cmtice@google.com>
6971         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
6972         vtv_start_preinit.o and vtv_end_preinit.o.
6973         * configure.ac: Add code to check/set enable_vtable_verify.
6974         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
6975         true.
6976         * vtv_start_preinit.c: New file.
6977         * vtv_end_preinit.c: New file.
6978         * vtv_start.c: New file.
6979         * vtv_end.c: New file.
6980         * configure: Regenerated.
6982 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
6984         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6985         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6986         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6987         GPL-3.0-with-GCC-exception.
6989 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
6991         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6992         ISA and up.
6994 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6996         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6997         mapping for FPRs when creating the fallback framestate.
6999 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
7001         PR target/57516
7002         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7003         (__round_s2_const, __round_u2_const)
7004         (__round_s4_const, __round_u4_const, __round_x8):
7005         Saturate result if addition result cannot be represented.
7007 2013-07-15  Matthias Klose  <doko@ubuntu.com>
7009         * libgcc2.c: Don't include <limits.h>.
7011 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
7013         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7015 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
7017         PR target/29776
7018         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7020 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
7022         PR middle-end/36041
7023         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7024         Define.
7025         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7026         instead of table lookups.
7027         (__popcountDI2): Likewise.
7029 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
7031         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7032         correctly.
7034 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7036         PR other/53317
7037         * soft-fp/adddf3.c: Update from glibc.
7038         * soft-fp/addsf3.c: Likewise.
7039         * soft-fp/addtf3.c: Likewise.
7040         * soft-fp/divdf3.c: Likewise.
7041         * soft-fp/divsf3.c: Likewise.
7042         * soft-fp/divtf3.c: Likewise.
7043         * soft-fp/double.h: Likewise.
7044         * soft-fp/eqdf2.c: Likewise.
7045         * soft-fp/eqsf2.c: Likewise.
7046         * soft-fp/eqtf2.c: Likewise.
7047         * soft-fp/extenddftf2.c: Likewise.
7048         * soft-fp/extended.h: Likewise.
7049         * soft-fp/extendsfdf2.c: Likewise.
7050         * soft-fp/extendsftf2.c: Likewise.
7051         * soft-fp/fixdfdi.c: Likewise.
7052         * soft-fp/fixdfsi.c: Likewise.
7053         * soft-fp/fixsfdi.c: Likewise.
7054         * soft-fp/fixsfsi.c: Likewise.
7055         * soft-fp/fixtfdi.c: Likewise.
7056         * soft-fp/fixtfsi.c: Likewise.
7057         * soft-fp/fixunsdfdi.c: Likewise.
7058         * soft-fp/fixunsdfsi.c: Likewise.
7059         * soft-fp/fixunssfdi.c: Likewise.
7060         * soft-fp/fixunssfsi.c: Likewise.
7061         * soft-fp/fixunstfdi.c: Likewise.
7062         * soft-fp/fixunstfsi.c: Likewise.
7063         * soft-fp/floatdidf.c: Likewise.
7064         * soft-fp/floatdisf.c: Likewise.
7065         * soft-fp/floatditf.c: Likewise.
7066         * soft-fp/floatsidf.c: Likewise.
7067         * soft-fp/floatsisf.c: Likewise.
7068         * soft-fp/floatsitf.c: Likewise.
7069         * soft-fp/floatundidf.c: Likewise.
7070         * soft-fp/floatundisf.c: Likewise.
7071         * soft-fp/floatunditf.c: Likewise.
7072         * soft-fp/floatunsidf.c: Likewise.
7073         * soft-fp/floatunsisf.c: Likewise.
7074         * soft-fp/floatunsitf.c: Likewise.
7075         * soft-fp/gedf2.c: Likewise.
7076         * soft-fp/gesf2.c: Likewise.
7077         * soft-fp/getf2.c: Likewise.
7078         * soft-fp/ledf2.c: Likewise.
7079         * soft-fp/lesf2.c: Likewise.
7080         * soft-fp/letf2.c: Likewise.
7081         * soft-fp/muldf3.c: Likewise.
7082         * soft-fp/mulsf3.c: Likewise.
7083         * soft-fp/multf3.c: Likewise.
7084         * soft-fp/negdf2.c: Likewise.
7085         * soft-fp/negsf2.c: Likewise.
7086         * soft-fp/negtf2.c: Likewise.
7087         * soft-fp/op-1.h: Likewise.
7088         * soft-fp/op-2.h: Likewise.
7089         * soft-fp/op-4.h: Likewise.
7090         * soft-fp/op-8.h: Likewise.
7091         * soft-fp/op-common.h: Likewise.
7092         * soft-fp/quad.h: Likewise.
7093         * soft-fp/single.h: Likewise.
7094         * soft-fp/soft-fp.h: Likewise.
7095         * soft-fp/subdf3.c: Likewise.
7096         * soft-fp/subsf3.c: Likewise.
7097         * soft-fp/subtf3.c: Likewise.
7098         * soft-fp/truncdfsf2.c: Likewise.
7099         * soft-fp/trunctfdf2.c: Likewise.
7100         * soft-fp/trunctfsf2.c: Likewise.
7101         * soft-fp/unorddf2.c: Likewise.
7102         * soft-fp/unordsf2.c: Likewise.
7103         * soft-fp/unordtf2.c: Likewise.
7104         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7105         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7106         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7107         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7108         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7109         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7110         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7111         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7112         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7113         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7114         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7115         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7117 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
7119         * config/mips/lib2funcs.c: New file.
7120         * config/mips/t-mips (LIB2ADD_ST): Add it.
7122 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
7124         PR target/6526
7125         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7126         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
7128 2013-06-08  Walter Lee  <walt@tilera.com>
7130         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7131         Replace int64_t with long long.  Add __extension__ where
7132         appropriate.
7133         * config/tilepro/atomic.c: Include config.h.
7135 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
7137         * config.host (arm-wrs-vxworks): Configure with other soft float.
7139 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
7141         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7142         (mips64r5900el-*-elf*): New configurations.
7144 2013-06-04  Alan Modra  <amodra@gmail.com>
7146         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7148 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
7150         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7152 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
7154         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7155         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7156         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7158 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
7160         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7161         (powerpc-wrs-vxworks): Likewise.
7163 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
7165         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7166         signal frames as well.
7167         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7168         STACK_BIAS to the CFA offset.
7170 2013-05-17  Richard Henderson  <rth@redhat.com>
7172         PR target/49146
7173         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7174         (execute_cfa_program): Use it when storing to fs->regs.
7176 2013-05-08  Kai Tietz  <ktietz@redhat.com>
7178         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7179         (__deregister_frame_info): Likewise.
7181 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
7183         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7184         NaN's payload.
7186         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7188 2013-04-25  Alan Modra  <amodra@gmail.com>
7190         * config.host: Match little-endian powerpc-linux.
7192 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
7194         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7195         as 'unsigned long long' instead of 'unsigned long'.
7196         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7197         'signed long'.
7199 2013-04-10  Julian Brown  <julian@codesourcery.com>
7201         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7202         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7203         unsigned char/unsigned short.
7204         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7206 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7208         PR other/55274
7209         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7211 2013-04-04  Meador Inge  <meadori@codesourcery.com>
7213         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7214         computing the location of the link register.
7215         (aeabi_uldivmod): Ditto.
7217 2013-03-27  Kai Tietz  <ktietz@redhat.com>
7219         * config.host: Add support for cygwin x64 target.
7220         * configure: Regenerated.
7222 2013-03-26  Walter Lee  <walt@tilera.com>
7224         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7225         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7227 2013-03-25  Kai Tietz  <ktietz@redhat.com>
7229         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7231 2013-03-20  Robert Mason  <rbmj@verizon.net>
7233         * config/vxlib-tls.c (__gthread_get_tsd_data,)
7234         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7235         (__gthread_leave_tsd_dtor_context): Add prototypes.
7236         (tls_delete_hook): Update.
7238 2013-03-20  Catherine Moore  <clm@codesourcery.com>
7239             Joseph Myers  <joseph@codesourcery.com>
7240             Chao-ying Fu  <fu@mips.com>
7242         * config/mips/mips16.S:  Don't build for microMIPS.
7243         * config/mips/linux-unwind.h: Handle microMIPS frame.
7244         * config/mips/crtn.S (fini, init): New labels.
7246 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
7248         PR tree-optimization/53265
7249         * unwind-dw2.c (execute_cfa_program): Avoid
7250         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7251         on targets with DWARF_FRAME_REGISTERS < 32.
7253 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
7255         PR target/49880
7256         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7257         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7259 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
7261         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7262         sandybridge processors.
7264 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
7266         PR target/56529
7267         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7268         inclusion list.
7270 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7272         * config/microblaze/crti.S: Setup stack protection at entry
7274 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
7276         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7277         (__rotldi3): Shift bytewise if applicable.
7279 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
7281         * config/aarch64/sync-cache.c
7282         (__aarch64_sync_cache_range): Silence warnings.
7284 2013-02-25  Catherine Moore  <clm@codesourcery.com>
7286         Revert:
7287         2013-02-24  Catherine Moore  <clm@codesourcery.com>
7288             Joseph Myers  <joseph@codesourcery.com>
7289             Chao-ying Fu  <fu@mips.com>
7291         * config/mips/mips16.S:  Don't build for microMIPS.
7292         * config/mips/linux-unwind.h: Handle microMIPS frame.
7293         * config/mips/crtn.S (fini, init): New labels.
7295 2013-02-24  Catherine Moore  <clm@codesourcery.com>
7296             Joseph Myers  <joseph@codesourcery.com>
7297             Chao-ying Fu  <fu@mips.com>
7299         * config/mips/mips16.S:  Don't build for microMIPS.
7300         * config/mips/linux-unwind.h: Handle microMIPS frame.
7301         * config/mips/crtn.S (fini, init): New labels.
7303 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7304         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7305         as dividend.
7307 2013-02-16  Alan Modra  <amodra@gmail.com>
7309         PR target/55431
7310         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7311         (ppc_fallback_frame_state): Always set up save locations for fp
7312         and altivec.  Don't bother with non-callee-saved regs, r0-r13
7313         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7315 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
7317         PR target/54222
7318         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7319         _ssmulHA, _ssmulSA.
7320         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7321         _ssmulha3, _usmulusa3, _ssmulsa3.
7322         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7323         (__muldi3): XCALL __muldi3_6 instead of rcall.
7324         (__umulsidi3, __mulsidi3): New functions.
7325         (do_prologue_saves, do_epilogue_restores): New .macros.
7326         (__divdi3_moddi3): Use them.
7327         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7328         (__usmulusa3, __ssmulsa3): New functions.
7330 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
7331             Jack Howarth  <howarth@bromo.med.uc.edu>
7332             Patrick Marlier  <patrick.marlier@gmail.com>
7334         PR libitm/55693
7335         * config/darwin-crt-tm.c: Remove dummy functions hack.
7337 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
7339         PR target/54222
7340         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7341         * config/avr/lib2-object.mk: New iterator to build objects from it.
7342         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7343         lib2funcs.c.
7344         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7345         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7346         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7347         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7348         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7349         * config/avr/lib1funcs-fixed.S: Implement them.
7351 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
7353         Update copyright years.
7355 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
7357         PR target/54601
7358         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7359         Add crtcxa to extra_parts.
7360         * config/rs6000/exit.h: New file.
7361         * config/rs6000/cxa_atexit.c: New file.
7362         * config/rs6000/cxa_finalize.c: New file.
7363         * config/rs6000/crtcxa.c: New file.
7364         * config/rs6000/t-aix-cxa: New file.
7365         * config/rs6000/libgcc-aix-cxa.ver: New file.
7367 2013-01-31  Nick Clifton  <nickc@redhat.com>
7369         * config/v850/lib1funcs.S: Add support for e3v5 architecture
7370         variant.
7372 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
7374         PR target/54222
7375         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7376         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
7377         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7378         _divQQ,  _divHQ,  _divHA,  _divSA,
7379         _divUQQ, _divUHQ, _divUHA, _divUSA.
7381 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
7383         * config.host(microblaze*-linux*): tmake_file: Remove
7384         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7385         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7386         to exclude functions from being built with libgcc.c and use
7387         the microblaze assembly.
7389 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7391         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7392         extra_parts.
7394 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
7396         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7397         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7398         __UINTPTR_TYPE__; also cast 'base' to the same type before the
7399         alignment operation.
7401 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
7403         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7404         loop start address for cache clearing.
7406 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7408         * config/avr/lib1funcs.S: Remove trailing blanks.
7409         * config/avr/lib1funcs-fixed.S: Ditto.
7411 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7413         * config/avr/avr-lib.h: Add GPL copyright notice.
7415 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7417         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7418         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7419         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7420         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7422 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
7424         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7425         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
7427 2013-01-04  Nick Clifton  <nickc@redhat.com>
7429         * config/v850/lib1funcs.S: Only provide CALLT support functions if
7430         the CALLT instruction is supported.
7432 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
7434         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7435         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7437 2012-12-13  John Tytgat  <John@bass-software.com>
7439         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7440         is 25.
7442 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
7444         PR libgcc/55451
7445         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7446         undefined signed overflows.
7448 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
7450         PR target/55344
7451         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7453 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
7455         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7456         (FP_TRAPPING_EXCEPTIONS): Define.
7457         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7458         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7460 2012-12-04  Richard Henderson  <rth@redhat.com>
7462         PR bootstrap/55571
7463         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7465 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7467         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
7468         (FP_EX_SHIFT): Define.
7469         (FP_TRAPPING_EXCEPTIONS): Define.
7471 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7473         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7474         (FP_ROUNDMODE): Use FP_RND_MASK.
7475         * config/aarch64/sfp-exceptions.c: New.
7476         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7477         Use __sfp_handle_exceptions.
7479 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
7481         * config.host: (arm*-*-freebsd*): Remove.
7482         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7483         (arm*-*-elf*): Remove.
7484         (arm*-*-wince-pe*): Remove.
7485         * arm/unwind-arm.c (struct fpa_reg): Delete.
7486         (struct fpa_regs): Delete.
7487         (phase1_vrs): Remove fpa element.
7488         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7489         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7490         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7491         * ieee754-sf.S (floatundisf): Remove FPA support.
7492         (floatdisf): Likewise.
7493         * ieee75f-df.S (floatundidf): Likewise.
7494         (floatdidf): Likewise.
7496 2012-11-29  Kai Tietz  <ktietz@redhat.com>
7498         PR target/55445
7499         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7500         * unwind-generic.h: Likewise.
7501         * unwind-seh.c: Likewise.
7503 2012-11-28  Richard Henderson  <rth@redhat.com>
7505         PR libgcc/48076
7506         * emutls.c (__emutls_get_address): Avoid race condition between
7507         obj->loc.offset read and emutls_key initialization.
7509 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
7511         Adjust decimal point of signed accum mode to GCC default.
7513         PR target/54222
7514         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7515         _divqq_helper.
7516         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7517         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7518         (__mulha3, __mulsa3)
7519         (__divqq3, __divha3, __divsa3): Adjust to new position of
7520         decimal point of signed accum types.
7522         (__mulusa3_round): New function.
7523         (__mulusa3): Use it.
7524         (__divqq_helper): New function.
7525         (__udivuqq3): Use it.
7527 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
7529         PR bootstrap/55370
7530         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7532 2012-11-18  Teresa Johnson  <tejohnson@google.com>
7534         PR bootstrap/55051
7535         * libgcov.c (gcov_exit): Remove merged program summary
7536         comparison unless !GCOV_LOCKED.
7538 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7540         * soft-fp: Updated from glibc upstream.
7542 2012-11-06  Ian Lance Taylor  <iant@google.com>
7544         * generic-morestack.c (__generic_morestack): Align the returned
7545         stack pointer to a 32 byte boundary.
7546         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7547         increment the return address until we have decided that we don't
7548         have a varargs function.
7549         (__morestack) [32-bit]: Align stack correctly when calling C
7550         functions.
7551         (__morestack) [64-bit]: Likewise.
7553 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
7555         * configure: Regenerate.
7557 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
7559         PR target/55175
7560         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7561         * config/i386/sfp-machine.h: Guard exception handling
7562         code with _SOFT_FLOAT.
7563         * config/i386/32/sfp-machine.h: Guard rounding handling
7564         code with _SOFT_FLOAT.
7565         * config/i386/64/sfp-machine.h: Ditto.
7567 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
7569         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7570         as extra_parts.
7572 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
7574         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7575         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
7576         when appropriate.  Correct structure element types.
7577         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7578         -minline-all-stringops from compile flags.
7580 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
7582         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7584 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
7586         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
7588 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
7590         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7591         tmake_file.
7593 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
7594             Jim MacArthur  <jim.macarthur@arm.com>
7595             Marcus Shawcroft  <marcus.shawcroft@arm.com>
7596             Nigel Stephens  <nigel.stephens@arm.com>
7597             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
7598             Richard Earnshaw  <rearnsha@arm.com>
7599             Sofiane Naci  <sofiane.naci@arm.com>
7600             Stephen Thomas  <stephen.thomas@arm.com>
7601             Tejas Belagod  <tejas.belagod@arm.com>
7602             Yufeng Zhang  <yufeng.zhang@arm.com>
7604         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7605         * config/aarch64/crti.S: New file.
7606         * config/aarch64/crtn.S: New file.
7607         * config/aarch64/linux-unwind.h: New file.
7608         * config/aarch64/sfp-machine.h: New file.
7609         * config/aarch64/sync-cache.c: New file.
7610         * config/aarch64/t-aarch64: New file.
7611         * config/aarch64/t-softfp: New file.
7613 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
7615         * config/mmix/crti.S: Mark program and data addresses using PRELD.
7616         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
7617         no-longer-needed LDBU insns.
7619 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
7621         * config.host
7622         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7623         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7625 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
7627         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7629 2012-10-15  Matthias Klose  <doko@ubuntu.com>
7631         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7633 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
7635         * configure: Regenerate.
7636         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7638 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
7640         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7641         instructions for 64bit targets only.
7643 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
7645         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7646         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7647         * config/i386/32/sfp-machine.h: ... here.
7648         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7649         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7650         New defines.
7652 2012-10-07  Matthias Klose  <doko@ubuntu.com>
7654         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7655         as unused.
7656         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7658 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
7660         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7661         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7662         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7663         (ElfW): Likewise.
7665 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
7667         PR other/53889
7668         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7669         Fix parameter names.
7671 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
7673         PR target/33135
7674         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7675         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7676         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7678 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
7680         PR target/50457
7681         * config/sh/linux-atomic.S: Delete.
7682         * config/sh/linux-atomic.c: New.
7683         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7684         linux-atomic.c.  Add cflags to disable warnings.
7686 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
7688         PR other/53889
7689         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7690         function.
7691         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7692         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7693         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7694         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
7695         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7696         Likewise.
7697         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7698         Likewise.
7699         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7700         Likewise.
7701         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7702         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7704 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
7706         * config.host (hppa-*-openbsd*): New target.
7707         * config/pa/t-openbsd: New file.
7709 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
7711         PR target/54222
7712         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7713         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7714         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7715         (__divsa3): Use __negsi2 to negate r_quoL.
7716         * config/avr/lib1funcs.S (FALIAS): New macro.
7717         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7718         (__negsi2): ...this new function.
7719         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7720         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7721         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7722         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7723         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7724         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7726 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
7728         PR target/54089
7729         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7730         (lshrsi3): Reimplement as lshrsi3_r0.
7732 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
7734         PR target/46191
7735         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7736         of libgcc.a.
7738 2012-09-07  Teresa Johnson  <tejohnson@google.com>
7740         PR gcov-profile/54487
7741         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
7742         differences.
7744 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
7746         PR target/54461
7747         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7748         not configured --with-avrlibc=no.
7749         * config/avr/t-avrlibc: New file.
7750         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7751         (DPBIT_FUNCS): Ditto.
7752         (TPBIT_FUNCS): Ditto.
7754 2012-09-04  Teresa Johnson  <tejohnson@google.com>
7756         * libgcov.c (struct gcov_summary_buffer): New structure.
7757         (gcov_histogram_insert): New function.
7758         (gcov_compute_histogram): Ditto.
7759         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7760         histograms during summary merging.
7762 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
7764         * config.host (x86_64-*-openbsd*): New target.
7766 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
7768         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7769         attribute.
7771 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
7773         PR target/54222
7774         * config/avr/t-avr (conv_X): Rename to func_X.
7776 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
7778         PR target/54222
7779         * config/avr/lib1funcs-fixed.S: New file.
7780         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
7781         after they are used.
7782         (neg2, neg4): New macros.
7783         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7784         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7785         (__umulhisi3): Speed up MUL variant if there is enough flash.
7786         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7787         avr-modes.def.
7788         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7789         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7790         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7791         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7792         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7793         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7794         (LIB2FUNCS_EXCLUDE): Add supported functions.
7796 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
7798         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7799         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7800         libgcc-s-objects.
7801         * fixed-obj.mk: Only expand dependency if $o is not in
7802         LIB2FUNCS_EXCLUDE.
7804 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
7806         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7808 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
7810         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7811         depend on --enable-shared.
7812         ($(lib1asmfuncs-o)): Use %.vis files independent of
7813         --enable-shared.
7814         * static-object.mk ($(base)$(objext), $(base).vis)
7815         ($(base)_s$(objext)): Use same rules for visibility handling as in
7816         shared-object.mk.
7818 2012-08-21  Ian Lance Taylor  <iant@google.com>
7820         * config/i386/morestack.S (__morestack_non_split): Increase amount
7821         of space allocated for non-split code stack.
7823 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
7825         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7826         even if inhibit_libc.
7828 2012-08-17  Julian Brown  <julian@codesourcery.com>
7830         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7831         -fexceptions -fnon-call-exceptions if not defined.
7832         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7833         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7835 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
7837         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7838         type.
7840 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
7842         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7843         rs6000/t-slibgcc-aix.
7845 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
7847         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7849 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
7851         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7853 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
7855         PR driver/54171
7856         * Makefile.in (version): Replace top_srcdir with srcdir.
7858 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
7860         * Makefile.in (version): set to BASE-VER file from gcc directory.
7862 2012-08-01  Nick Clifton  <nickc@redhat.com>
7864         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7865         Implements __clrsb for an HImode argument.
7867 2012-07-31  Nick Clifton  <nickc@redhat.com>
7869         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7870         Implements __clrsb for an HImode argument.
7871         * config/stormy16/clrsbhi2.c: New file:
7872         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7874 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
7876         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7878 2012-07-19  Tristan Gingold  <gingold@adacore.com>
7879             Richard Henderson  <rth@redhat.com>
7881         * unwind-seh.c: New file.
7882         * unwind-generic.h: Include windows.h for SEH.
7883         (_Unwind_Exception): Use 6 private fields for SEH.
7884         (_GCC_specific_handler): Declare.
7885         * unwind-c.c (__gcc_personality_seh0): New function.
7886         Adjust for SEH.
7887         * config/i386/libgcc-cygming.ver: New file.
7888         * config/i386/t-seh-eh: New file.
7889         * config.host (x86_64-*-mingw*): Default to seh.
7891 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
7893         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7895 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
7897         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7898         __builtin_expect when checking for exceptions.
7899         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7901 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
7903         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7904         function declaration.
7905         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7906         (FP_RND_MASK): New.
7907         * config/ia64/sfp-exceptions.c: New.
7908         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7910 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
7912         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7913         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7914         * config/i386/64/sfp-machine: ... (delete here) ...
7915         * config/i386/sfp-machine.h: ... to here.
7916         (FP_EX_MASK): Remove.
7917         (FP_RND_MASK): New.
7918         (FP_INIT_ROUNDMODE): Declare asm as volatile.
7920 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
7922         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7923         * config/i386/libgcc-sol2.ver: Ditto.
7924         * config/i386/libgcc-glibc.ver: Ditto.
7926 2012-06-11  Roland McGrath  <mcgrathr@google.com>
7928         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7929         If __GLIBC__ is defined, refer to __pthread_key_create instead of
7930         pthread_cancel.
7932 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
7934         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7935         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7936         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7937         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7938         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7939         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7940         * config/i386/64/sfp-machine: ... (delete here) ...
7941         * config/i386/sfp-machine.h: ... to here.
7942         (FP_EX_MASK): New.
7943         (__sfp_handle_exceptions): New function declaration.
7944         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7945         * config/i386/sfp-exceptions.c: New.
7946         * config/i386/t-softfp: New.
7947         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7948         i386/t-softfp to tmake_file.
7950 2012-06-03  David S. Miller  <davem@davemloft.net>
7952         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7953         change.
7955 2012-05-31  David S. Miller  <davem@davemloft.net>
7957         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7958         multiply and divide instructions on 32-bit when V9.
7959         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7961 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
7963         * config/arm/ieee754-df.S: Fix typos.
7964         * config/arm/ieee754-sf.S: Fix typos.
7965         * config/c6x/libunwind.S: Fix typos.
7966         * config/epiphany/udivsi3-float.c: Fix typos.
7967         * config/microblaze/muldi3_hard.S: Fix typos.
7968         * config/picochip/adddi3.S: Fix typos.
7969         * config/picochip/ashlsi3.S: Fix typos.
7970         * config/picochip/ashrsi3.S: Fix typos.
7971         * config/picochip/clzsi2.S: Fix typos.
7972         * config/picochip/cmpsi2.S: Fix typos.
7973         * config/picochip/divmod15.S: Fix typos.
7974         * config/picochip/divmodhi4.S: Fix typos.
7975         * config/picochip/divmodsi4.S: Fix typos.
7976         * config/picochip/longjmp.S: Fix typos.
7977         * config/picochip/lshrsi3.S: Fix typos.
7978         * config/picochip/parityhi2.S: Fix typos.
7979         * config/picochip/popcounthi2.S: Fix typos.
7980         * config/picochip/setjmp.S: Fix typos.
7981         * config/picochip/subdi3.S: Fix typos.
7982         * config/picochip/ucmpsi2.S: Fix typos.
7983         * config/picochip/udivmodhi4.S: Fix typos.
7984         * config/picochip/udivmodsi4.S: Fix typos.
7985         * config/spu/divv2df3.c: Fix typos.
7986         * config/spu/mfc_multi_tag_release.c: Fix typos.
7987         * config/spu/mfc_tag_release.c: Fix typos.
7988         * configure.ac: Fix typos.
7989         * configure: Regenerate.
7991 2012-05-25  Ian Lance Taylor  <iant@google.com>
7993         * config/i386/morestack.S (__morestack_non_split): Check whether
7994         caller is varargs and needs %bp to hold the stack frame on return.
7996 2012-05-25  Olivier Hainque  <hainque@adacore.com>
7998         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7999         sequence in the non pic case on VxWorks.
8001 2012-05-24  Olivier Hainque  <hainque@adacore.com>
8003         * Makefile.in: Move dependency on install-unwind_h from
8004         "install-leaf" to "install".
8006 2012-05-24  Olivier Hainque  <hainque@adacore.com>
8008         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8009         Use a separate command for stamp removals.
8011 2012-05-21  Andrew Pinski  <apinski@cavium.com>
8013         PR bootstrap/53183
8014         * configure.ac: Define the default includes to being none.
8015         * configure: Regenerate.
8017 2012-05-16  Olivier Hainque  <hainque@adacore.com>
8019         * Makefile.in (install-unwind_h): Rename into ...
8020         (install-unwind_h-forbuild): New target.
8021         (all): Use it instead of the former install-unwind_h.
8022         (install-unwind_h): Reinstate, copy to user install destination
8023         for include files, not to the internal gcc object directory one.
8024         (install-leaf): Depend on it.
8026 2012-05-15  Olivier Hainque  <hainque@adacore.com>
8028         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8029         register numbers. LR_REGNO replaces R_LR.
8030         (ucontext_for): New, helper for ...
8031         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8032         and 5.3 of ...
8033         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8035 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8037         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8038         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8039         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8040         i386/t-cpuinfo ...
8041         (i[34567]86-*-*, x86_64-*-*): ... here.
8043         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8044         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8046         * config/i386/i386-cpuinfo.c: Rename to ...
8047         * config/i386/cpuinfo.c: ... this.
8048         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8050         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8051         (libgcc_cv_init_priority): New test.
8052         * configure: Regenerate.
8053         * config.in: New file.
8054         * Makefile.in (clean): Rename config.h to auto-target.h.
8055         (config.h): Likewise.
8056         (stamp-h): Likewise.
8058         * config/i386/cpuinfo.c (auto-target.h): Include.
8059         (CONSTRUCTOR_PRIORITY): Define.
8060         (__cpu_indicator_init): Use it.
8062 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
8064         * longlong.h: Use a URL instead of an FSF postal address.
8065         Replace spaces with tab.
8067 2012-05-08  Teresa Johnson  <tejohnson@google.com>
8069         * libgcov.c (gcov_clear, __gcov_reset): New functions.
8070         (__gcov_dump): Ditto.
8071         (gcov_dump_complete): New global variable.
8072         (gcov_exit): Export hidden to enable use in L_gcov_dump.
8073         (__gcov_flush): Outline functionality now in gcov_clear.
8074         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8076 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
8078         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8079         (mips*-*-linux*): Include mips/t-tpbit when long double is
8080         16 bytes long.
8082 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
8084         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8085         (get_available_features): New argument. Check for AVX2.
8086         (__cpu_indicator_init): Modify call to get_available_features.
8088 2012-04-25  Alan Modra  <amodra@gmail.com>
8090         * config/rs6000/crtsavevr.S: New file.
8091         * config/rs6000/crtrestvr.S: New file.
8092         * config/rs6000/t-savresfgpr: Build the above.
8093         * config/rs6000/t-netbsd: Likewise.
8095 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
8097         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8099 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
8101         * libgcc/config/i386/i386-cpuinfo.c: New file.
8102         * libgcc/config/i386/t-cpuinfo: New file.
8103         * libgcc/config.host: Include t-cpuinfo.
8104         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8106 2012-04-24  Chao-ying Fu  <fu@mips.com>
8108         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8110 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
8112         struct siginfo vs. siginfo_t
8114         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8115         siginfo_t instead of struct siginfo.
8116         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8117         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8118         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8119         (ia64_handle_unwabi): Likewise.
8120         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8121         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8122         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8123         (sh_fallback_frame_state): Likewise.
8124         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8125         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8127 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
8129         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8130         system call number.
8132 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
8134         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8135         if it hasn't been previously saved.
8137 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
8139         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8140         only for glibc.
8142 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
8144         PR target/52737
8145         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8146         instead of __AVR_HAVE_8BIT_SP__.
8148 2012-03-26  Tristan Gingold  <gingold@adacore.com>
8150         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8151         (unw_table_entry): Use unw_word instead of unsigned long.
8152         (_Unwind_FindTableEntry): Likewise.
8153         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8154         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8155         (_Unwind_FindTableEntry): Likewise.
8156         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8157         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8158         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8159         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8160         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8161         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8162         (uw_init_context_1, uw_install_context): Likewise.
8163         (unw_word): Move to unwind-ia64.h
8165 2012-03-26  Tristan Gingold  <gingold@adacore.com>
8167         * config/vms/vms-ucrt0.c: Update copyright years.
8168         Add a sanity check.
8169         (___gcc_main_flags): Declare.
8170         (__main): Check flags to remap argv and exit code.
8171         * config.host (*-*-*vms*): Adjust extra_parts.
8172         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8173         (crt0.o): Add.
8175 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
8177         * arm/lib1funcs.asm (ctzsi2): New function.
8178         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8179         * arm/t-linux (LIB1ASMFUNCS): Likewise.
8180         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8181         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8182         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8183         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8185 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
8187         * config.host: Add bits to support powerpc64-*-freebsd*.
8188         * config/rs6000/freebsd-unwind.h: New file.
8189         * config/rs6000/t-freebsd64: New file.
8191 2012-03-20  Richard Guenther  <rguenther@suse.de>
8193         PR gcov-profile/52627
8194         * libgcov.c (init_mx): Fix mutex name.
8196 2012-03-16  Tristan Gingold  <gingold@adacore.com>
8198         * config/ia64/vms-unwind.h: Remove ulong (and replace
8199         it by unw_reg where used).  Define unw_reg with __int64.
8201 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8203         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8204         Solaris 8 handling.
8205         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8206         Solaris 8 handling.
8207         (sparc_is_sighandler): Likewise.
8209 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
8211         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8212         <= saved reg size.
8214 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8216         * config/arm/crtn.S: Fix typo.
8218 2012-03-13  Richard Guenther  <rguenther@suse.de>
8220         * libgcov.c: Remove stdio.h include and NULL un-define.
8222 2012-03-13  Richard Guenther  <rguenther@suse.de>
8224         PR target/52569
8225         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8227 2012-03-13  Richard Guenther  <rguenther@suse.de>
8229         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8231 2012-03-13  Richard Guenther  <rguenther@suse.de>
8233         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8234         and __gthread_mutex_init_function definitions.
8236 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8238         * config.host (mips*-*-openbsd*): Remove.
8240 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8242         * config.host: Remove alpha*-dec-osf5.1* handling.
8243         * config/alpha/gthr-posix.c: Remove.
8244         * config/alpha/libgcc-osf5.ver: Remove.
8245         * config/alpha/osf5-unwind.h: Remove.
8246         * config/alpha/t-osf-pthread: Remove.
8247         * config/alpha/t-slibgcc-osf: Remove.
8248         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8249         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8250         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8251         * mkmap-flat.awk: Remove osf_export handling.
8253 2012-03-12  Richard Guenther  <rguenther@suse.de>
8255         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8256         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8257         (__gthread_mutex_init_function): New function.
8258         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8260         PR gcov/49484
8261         * libgcov.c: Include gthr.h.
8262         (__gcov_flush_mx): New global variable.
8263         (init_mx, init_mx_once): New functions.
8264         (__gcov_flush): Protect self with a mutex.
8265         (__gcov_fork): Re-initialize mutex after forking.
8266         * unwind-dw2-fde.c: Change condition under which to use
8267         __GTHREAD_MUTEX_INIT_FUNCTION.
8269 2012-03-12  Tristan Gingold  <gingold@adacore.com>
8271         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8272         * config/ia64/t-vms: Likewise.
8274 2012-03-11  Michael Hope  <michael.hope@linaro.org>
8276         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8277         for Thumb-2.
8279 2012-03-07  Walter Lee  <walt@tilera.com>
8281         * config/tilepro/atomic.c: Rename "atomic_" prefix to
8282         "arch_atomic_".
8283         (atomic_xor): Rename and move definition to
8284         config/tilepro/atomic.h.
8285         (atomic_nand): Ditto.
8286         * config/tilepro/atomic.h: Rename "atomic_" prefix to
8287         "arch_atomic_".
8288         (arch_atomic_xor): Move from config/tilepro/atomic.c.
8289         (arch_atomic_nand): Ditto.
8291 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8293         PR target/52507
8294         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8296 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8298         PR target/52505
8299         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8300         from RAM.
8302 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8304         PR target/52461
8305         PR target/52508
8306         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8307         if RAMPZ affects reading from RAM.
8308         (__tablejump_elpm__): Ditto.
8309         (.xload): Ditto.
8310         (__movmemx_hi): Ditto.
8311         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8312         (__do_global_dtors): Ditto.
8313         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8314         (__movmemx_hi): Ditto.
8316 2012-03-05  Richard Henderson  <rth@redhat.com>
8318         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8319         [ARM] (count_trailing_zeros): Use the builtin.
8321 2012-03-01  Kai Tietz  <ktietz@redhat.com>
8323         * soft-fp: Imported from glibc upstream.
8325 2012-02-28  Kai Tietz  <ktietz@redhat.com>
8327         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8328         for mingw-targets as attribute gcc_struct.
8330 2012-02-28  Ian Lance Taylor  <iant@google.com>
8332         * generic-morestack.c (__splitstack_releasecontext): Correct call
8333         to __morestack_release_segments.
8335 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8337         PR target/52390
8338         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8339         for __linux__ when removing signals from __morestack_fullmask.
8341 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
8343         PR target/52261
8344         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8346 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8348         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8349         instead of HAVE_INITFINI_ARRAY.
8350         * config/ia64/crtend.S: Likewise.
8352 2012-02-20  Kai Tietz  <ktietz@redhat.com>
8354         PR libstdc++/52300
8355         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8357         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8358         to w32-unwind.h header.
8360 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
8362         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8363         (mips*-*-linux*): Remove t-slibgcc-libgcc.
8364         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8365         * config/mips/mips16.S (__mips16_rdhwr): Delete.
8367 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
8369         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8371 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8373         PR libitm/52220
8374         * config/darwin-crt-tm.c: Correct typo.
8376 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8377             Patrick Marlier  <patrick.marlier@gmail.com>
8379         PR libitm/52220
8380         * config/darwin-crt-tm.c: Generate dummy functions.
8382 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8383             Patrick Marlier  <patrick.marlier@gmail.com>
8385         PR libitm/52042
8386         * config/darwin-crt-tm.c (getTMCloneTable): New function.
8387         (__doTMRegistrations): Call it.
8388         (__doTMdeRegistrations): Likewise.
8390 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
8391             Anatoly Sokolov  <aesok@post.ru>
8392             Eric Weddington  <eric.weddington@atmel.com>
8394         PR target/52261
8395         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8396         (__epilogue_restores__): Ditto.
8398 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
8400         PR target/51921
8401         PR target/52205
8402         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8403         Solaris 11 and slightly reformat.
8404         (sparc_is_sighandler): Likewise.
8406 2012-02-14  Walter Lee  <walt@tilera.com>
8408         * config.host: Handle tilegx and tilepro.
8409         * config/tilegx/sfp-machine.h: New file.
8410         * config/tilegx/sfp-machine32.h: New file.
8411         * config/tilegx/sfp-machine64.h: New file.
8412         * config/tilegx/t-crtstuff: New file.
8413         * config/tilegx/t-softfp: New file.
8414         * config/tilegx/t-tilegx: New file.
8415         * config/tilepro/atomic.c: New file.
8416         * config/tilepro/atomic.h: New file.
8417         * config/tilepro/linux-unwind.h: New file.
8418         * config/tilepro/sfp-machine.h: New file.
8419         * config/tilepro/softdivide.c: New file.
8420         * config/tilepro/softmpy.S: New file.
8421         * config/tilepro/t-crtstuff: New file.
8422         * config/tilepro/t-tilepro: New file.
8424 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
8426         PR libstdc++/51296
8427         PR libstdc++/51906
8428         * gthr-posix.h: Allow static initializer macros to be disabled.
8429         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8431 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
8433         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8434         Add t-slibgcc-libgcc to tmake_file.
8435         * config/mips/libgcc-mips16.ver: Revert previous patch.
8436         * config/mips/mips16.S (__mips16_rdhwr): Hide.
8438 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
8439             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
8441         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8442         * config/cr16/crti.S: New file.
8443         * config/cr16/crtlibid.S: New file.
8444         * config/cr16/crtn.S: New file.
8445         * config/cr16/lib1funcs.S: New file.
8446         * config/cr16/t-cr16: New file.
8447         * config/cr16/t-crtlibid: New file.
8448         * config/cr16/unwind-dw2.h: New file.
8449         * config/cr16/unwind-cr16.c: New file.
8450         * config/cr16/divmodhi3.c: New file.
8452 2012-01-25  Alan Modra  <amodra@gmail.com>
8454         * config/rs6000/t-linux64: Delete.  Move..
8455         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8456         * config/rs6000/t-linux: ..and libgcc flags to here.
8458 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
8460         * config.host (i[34567]86-*-interix3*):
8461         Change triplet to i[34567]86-*-interix[3-9]*.
8462         * configure: Regenerate.
8464 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
8465             Richard Sandiford  <rdsandiford@googlemail.com>
8467         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8468         * config/mips/mips16.S (__mips16_rdhwr): New function.
8469         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8471 2012-01-11  Nathan Sidwell  <nathan@acm.org>
8473         * libgcov.c (__gcov_init): Ignore objects with no functions.
8475 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
8477         PR target/49868
8478         Extend __pgmx semantics to linearize memory.
8479         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8480         * config/avr/lib1funcs.S (__xload_1): New function.
8481         (__movmemx_qi, __movmemx_hi): New functions.
8482         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8483         semantics.
8485 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
8487         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8488         purported sigacthandler address isn't null before dereferencing it.
8489         (sparc_is_sighandler): Likewise.
8491 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
8493         PR ada/41929
8494         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8495         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
8496         (sparc_is_sighandler): Likewise.
8497         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8499 2012-01-06  Tristan Gingold  <gingold@adacore.com>
8501         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8502         compatibility thunks...
8503         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8504         (crtbeginS.o, crtendS.o): ... and these to ...
8505         * config/ia64/t-ia64-elf: ... this new file.
8506         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8507         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8509 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8511         * configure: Regenerate.
8512         * config/s390/t-crtstuff: Remove -fPIC.
8514 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
8516         PR bootstrap/51006
8517         * enable-execute-stack-mprotect.c (getpagesize): Do not define
8518         for NetBSD.
8520 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
8522         PR target/51345
8523         * config/avr/lib1funcs.S: Remove FIXME comments.
8524         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8526 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
8528         Implement light-weight DImode support.
8529         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8530         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8531         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8532         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8534 2011-12-30  Nathan Sidwell  <nathan@acm.org>
8536         * libgcov.c (gcov_crc32): Remove global var.
8537         (free_fn_data): New function.
8538         (buffer_fn_data): Pass in filename, more robust error recovery.
8539         (crc32_unsigned): New function.
8540         (gcov_exit): More robust detection of new program. More robust
8541         error recovery.
8542         (__gcov_init): Do not update program's crc here.
8544 2011-12-21  Tristan Gingold  <gingold@adacore.com>
8546         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8548 2011-12-21  Ian Lance Taylor  <iant@google.com>
8550         * config/i386/morestack.S: Simplify CFI opcodes throughout.
8552 2011-12-20  Ian Lance Taylor  <iant@google.com>
8554         * config/i386/morestack.S (__morestack_non_split): If there is
8555         enough stack space already, don't split.  Ask for more stack space
8556         than we required.
8558 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
8560         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8561         `sys/sdt.h'.
8562         (_Unwind_DebugHook): New function.
8563         (uw_restore_core_regs): New define.
8564         (unwind_phase2): Use uw_restore_core_regs instead of
8565         restore_core_regs.
8566         (unwind_phase2_forced): Likewise.
8567         (__gnu_Unwind_Resume): Likewise.
8569 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
8571         * config/alpha/linux-unwind.h: Update copyright years.
8572         (MD_FROB_UPDATE_CONTEXT): New define.
8573         (alpha_frob_update_context): New function.
8575 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
8577         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8578         tmake_file rather replacing it.
8580 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
8582         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
8583         function is not used for PPC64.
8584         (save_world): Amend comments.  Update the VRsave mask to reflect the
8585         saved regs.
8586         (rest_world): Update comments, do not  clobber r10, do not use r8.
8587         (eh_rest_world_r10): Amend comments, do not use r8.
8588         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8589         no longer used, move restore of CR and target address to the end of
8590         the routine.
8592 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
8594         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8595         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8597 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
8599         PR target/49313
8600         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8601         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8603 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
8605         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8607 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
8609         PR target/49313
8610         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8611         * config/avr/lib1funcs.S (__muldi3): New function.
8613 2011-12-06  Andrew Pinski  <apinski@cavium.com>
8615         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8616         size of func_ptr.
8617         (__frame_dummy_init_array_entry): Likewise.
8619 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
8621         Forward-port from gcc-4_6-branch r181936 2011-12-02.
8623         PR target/51345
8624         PR target/51002
8625         * config/avr/lib1funcs.S (__prologue_saves__,
8626         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8627         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
8629 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
8631         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8633 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8635         PR other/51272
8636         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8637         (_ITM_deregisterTMCloneTable): Likewise.
8638         (__register_frame_info): Fix unused warning.
8639         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8640         pthread_default_stacksize_np): Likewise.
8641         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
8643 2011-11-29  DJ Delorie  <dj@redhat.com>
8645         * config.host (rl78-*-elf): New case.
8646         * config/rl78: New directory for the Renesas RL78.
8648 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
8650         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
8651         formatting.
8653 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8655         PR other/51022
8656         * config/rs6000/t-savresfgpr: New file.
8657         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8658         $(srcdir)/config/rs6000/eabi.S.
8659         * config/rs6000/t-ppccomm-ldbl: Remove.
8660         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8661         tmake_file.
8662         (powerpc-*-eabispe*): Likewise.
8663         (powerpc-*-eabi*): Likewise.
8664         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8665         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8666         to tmake_file, remove rs6000/t-ppccomm-ldbl.
8667         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8668         tmake_file.
8669         (powerpc-*-eabisim*): Likewise.
8670         (powerpc-*-elf*): Likewise.
8671         (powerpc-*-eabialtivec*): Likewise.
8672         (powerpc-xilinx-eabi*): Likewise.
8673         (powerpc-*-rtems*): Likewise.
8674         (powerpcle-*-elf*): Likewise.
8675         (powerpcle-*-eabisim*): Likewise.
8676         (powerpcle-*-eabi*): Likewise.
8678 2011-11-27  Ian Lance Taylor  <iant@google.com>
8680         * generic-morestack.c (__splitstack_find): Check for NULL old
8681         stack value.
8682         (__splitstack_resetcontext): New function.
8683         (__splitstack_releasecontext): New function.
8684         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8686 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
8688         * config/darwin-crt-tm.c: Correct comments, use correct licence.
8690 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
8692         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8694 2011-11-26  Richard Henderson  <rth@redhat.com>
8696         * config/m68k/linux-atomic.c: New file.
8697         * config/m68k/t-linux: New file.
8698         * config.host (m68k-uclinux, m68k-linux): Use it.
8700 2011-11-26  Richard Henderson  <rth@redhat.com>
8702         * crtstuff.c (__TMC_LIST__): Mark used not unused.
8703         (__TMC_END__): Only declare if hidden is available; in the definition,
8704         if hidden is unavailable add a null record.
8705         (deregister_tm_clones, register_tm_clones): New.
8706         (__do_global_dtors_aux, frame_dummy): Use them.
8707         (__do_global_dtors, __do_global_ctors_1): Likewise.
8709 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
8711         * config/darwin-crt-tm.c: New file.
8712         * config.host (darwin): Build crttms.o crttme.o to provide
8713         startup and shutdown for tm clones.
8714         * config/t-darwin (crttms.o): New build rule.
8715         (crttme.o): Likewise.
8717 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
8719         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8720         et al.
8722 2011-11-21  Richard Henderson  <rth@redhat.com>
8724         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8725         (__TMC_LIST__, __TMC_END__): New.
8726         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8727         (__do_global_dtors): Likewise.
8728         (frame_dummy): Call _ITM_registerTMCloneTable.
8729         (__do_global_ctors_1): Likewise.
8731 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8733         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8734         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8735         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8736         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8737         * config/i386/t-darwin64: Remove.
8738         * config/sh/t-netbsd (LIB2ADD): Remove.
8740 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
8742         PR target/49313
8743         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8744         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8745         * config/avr/lib1funcs.S (wmov): New assembler macro.
8746         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8747         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8748         (__udivmod64): New function.
8749         (__negdi2): New function.
8751 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
8753         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8754         *-*-freebsd*aout*): Remove.
8756 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
8758         * static-object.mk (c_flags-$o): Save c_flags.
8759         ($(base)$(objext)): Use it.
8761 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
8763         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8765 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
8767         PR target/49868
8768         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8769         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8770         New functions.
8772 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
8774         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8775         functions.
8776         (aeabi_uidivmod): Likewise.
8777         (umodsi3): Likewise.
8778         (divsi3): Likewise.
8779         (aeabi_idivmod): Likewise.
8780         (modsi3): Likewise.
8782 2011-11-16  Tristan Gingold  <gingold@adacore.com>
8784         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8786 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
8788         PR target/49868
8789         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
8790         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8792 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8794         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8795         tmake_file list.
8796         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8797         * config/pa/t-stublib64: Delete.
8799 2011-11-12  Richard Henderson  <rth@redhat.com>
8801         * config/rs6000/linux-unwind.h (frob_update_context): Properly
8802         cast the pointer argument to _Unwind_SetGRPtr.
8804 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8806         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8808 2011-11-09  Ian Lance Taylor  <iant@google.com>
8810         * generic-morestack.c: Include <string.h>.
8811         (uintptr_type): Define.
8812         (struct initial_sp): Add dont_block_signals field.  Reduce size of
8813         extra array by 1.
8814         (allocate_segment): Set prev field to NULL.  Don't set
8815         __morestack_current_segment or __morestack_segments.
8816         (__generic_morestack): Update current->prev and *pp after calling
8817         allocate_segment.
8818         (__morestack_block_signals): Don't do anything if
8819         dont_block_signals is set.
8820         (__morestack_unblock_signals): Likewise.
8821         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
8822         uintptr_type.
8823         (__splitstack_block_signals): New function.
8824         (enum __splitstack_content_offsets): Define.
8825         (__splitstack_getcontext, __splitstack_setcontext): New functions.
8826         (__splitstack_makecontext): New function.
8827         (__splitstack_block_signals_context): New function.
8828         (__splitstack_find_context): New function.
8829         * config/i386/morestack.S (__morestack_get_guard): New function.
8830         (__morestack_set_guard, __morestack_make_guard): New functions.
8831         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8833 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8835         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8836         (i[34567]86-*-mingw*): ... here.
8837         (x86_64-*-mingw*): ... here.
8839 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8841         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8843 2011-11-07  Nathan Sidwell  <nathan@acm.org>
8845         * libgcov.c (struct gcov_fn_buffer): New struct.
8846         (buffer_fn_data): New helper.
8847         (gcov_exit): Rework for new gcov data structures.
8849 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
8851         PR target/49313
8852         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8854 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8856         * config.host (tmake_file): Correct comment.
8857         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8858         t-libgcc-pic.
8859         (bfin*-uclinux*): Likewise.
8860         (bfin*-linux-uclibc*): Likewise.
8861         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8863         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8864         assigning.
8865         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8866         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8867         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8868         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8869         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8870         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8871         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8872         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8873         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8874         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8875         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8876         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8877         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8879         * config/bfin/t-elf: Remove.
8880         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8882 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8884         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8885         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8886         (lm32-*-elf*, lm32-*-rtems*): Split into ...
8887         (lm32-*-elf*): ... this.
8888         (lm32-*-rtems*): ... and this.
8889         Add to tmake_file.
8890         (m32r-*-rtems*): Add to tmake_file.
8891         (moxie-*-rtems*): Likewise.
8892         (sparc-*-rtems*): Likewise.
8893         Remove t-rtems from tmake_file.
8894         (sparc64-*-rtems*): Likewise.
8895         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8896         instead.
8898 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8900         PR bootstrap/50982
8901         * config/gthr-posix.h: Move ...
8902         * gthr-posix.h: ... here.
8903         * config/gthr-lynx.h: Reflect this.
8904         * config/gthr-vxworks.h: Likewise.
8905         * config/rs6000/gthr-aix.h: Likewise.
8906         * configure.ac (target_thread_file): Likewise.
8907         * configure: Regenerate.
8909 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8911         * config.host (arm*-*-rtemseabi*): New target.
8913 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8915         PR other/50991
8916         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8917         extra-parts.
8919 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
8921         * config.host (epiphany-*-elf*): New configuration.
8922         * config/epiphany: New Directory.
8924 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
8926         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8927         * config/avr/t-rtems: New.
8928         Filter out _exit from LIB1ASMFUNCS.
8930 2011-11-04  David S. Miller  <davem@davemloft.net>
8932         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8933         * configure: Rebuild.
8935 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8937         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8938         variable.
8940 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
8942         PR target/50931
8943         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8944         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8946 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
8948         PR target/50989
8949         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8951 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8953         * config/c6x/t-elf (LIB2ADDEH): Set.
8954         * config/c6x/t-c6x-elf: Remove.
8956 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8958         * config/i386/sol2-ci.S: Rename to ...
8959         * config/i386/crti.S: ... this.
8960         * config/i386/sol2-cn.S: Rename to ...
8961         * config/i386/crtn.S: ... this.
8962         * config/sparc/sol2-ci.S: Rename to ...
8963         * config/sparc/crti.S: ... this.
8964         * config/sparc/sol2-cn.S: Rename to ...
8965         * config/sparc/crtn.S: ... this.
8966         * config/t-sol2 (CUSTOM_CRTIN): Remove.
8967         (crti.o, crtn.o): Remove.
8969 2011-11-04  Tristan Gingold  <gingold@adacore.com>
8971         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8973 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
8975         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8977 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
8979         * config.host (crisv32-*-none, cris-*-none): Remove.
8980         (crisv32-*-elf): Append to tmake_file, don't just set it.
8981         (cris-*-elf): Add missing t-fdpbit to tmake_file.
8983 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8985         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8986         (ecrtn$(objext)): Likewise.
8987         (ncrti$(objext)): Likewise.
8988         (ncrtn$(objext)): Likewise.
8990 2011-11-03  Andreas Schwab  <schwab@redhat.com>
8992         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8994 2011-11-02  David S. Miller  <davem@davemloft.net>
8996         * configure.ac: Set host_address on sparc too.
8997         * configure: Regenerate.
8998         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8999         based upon host_address.
9000         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9002 2011-11-02  Jason Merrill  <jason@redhat.com>
9004         * config/rs6000/t-ppccomm: Add missing \.
9006 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9008         * gthr-single.h, gthr.h: New files.
9009         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9010         config/gthr-vxworks.h, config/i386/gthr-win32.h,
9011         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9012         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9013         * config/i386/gthr-win32.c: Include "gthr-win32.h".
9014         * configure.ac (thread_header): New variable.
9015         Set it depending on target_thread_file.
9016         (gthr-default.h): Link from $thread_header.
9017         * configure: Regenerate.
9018         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9020 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9022         * configure.ac (tm_file_): New variable.
9023         Determine from tm_file.
9024         (tm_file, tm_defines): Substitute.
9025         * configure: Regenerate.
9026         * mkheader.sh: New file.
9027         * Makefile.in (clean): Remove libgcc_tm.h.
9028         ($(objects)): Depend on libgcc_tm.h.
9029         (libgcc_tm_defines, libgcc_tm_file): New variables.
9030         (libgcc_tm.h, libgcc_tm.stamp): New targets.
9031         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9032         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9033         ($(extra-parts)): Depend on libgcc_tm.h.
9034         * config.host (tm_defines, tm_file): New variable.
9035         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9036         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9037         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9038         (avr-*-rtems*): Likewise.
9039         (avr-*-*): Likewise.
9040         (frv-*-elf): Likewise.
9041         (frv-*-*linux*): Likewise.
9042         (h8300-*-rtems*): Likewise.
9043         (h8300-*-elf*): Likewise.
9044         (i[34567]86-*-darwin*): Likewise.
9045         (x86_64-*-darwin*): Likewise.
9046         (rx-*-elf): Likewise.
9047         (tic6x-*-uclinux): Likewise.
9048         (tic6x-*-elf): Likewise.
9049         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9050         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9051         * config/i386/cygming-crtbegin.c: Likewise.
9052         * config/i386/cygming-crtend.c: Likewise.
9053         * config/ia64/fde-vms.c: Likewise.
9054         * config/ia64/unwind-ia64.c: Likewise.
9055         * config/libbid/bid_gcc_intrinsics.h: Likewise.
9056         * config/rs6000/darwin-fallback.c: Likewise.
9057         * config/stormy16/lib2funcs.c: Likewise.
9058         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9059         * crtstuff.c: Likewise.
9060         * dfp-bit.h: Likewise.
9061         * emutls.c: Likewise.
9062         * fixed-bit.c: Likewise.
9063         * fp-bit.c: Likewise.
9064         * generic-morestack-thread.c: Likewise.
9065         * generic-morestack.c: Likewise.
9066         * libgcc2.c: Likewise.
9067         * libgcov.c: Likewise.
9068         * unwind-dw2-fde-dip.c: Likewise.
9069         * unwind-dw2-fde.c: Likewise.
9070         * unwind-dw2.c: Likewise.
9071         * unwind-sjlj.c: Likewise.
9073 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9075         * configure.ac: Include ../config/picflag.m4.
9076         (GCC_PICFLAG): Call it.
9077         Substitute.
9078         * configure: Regenerate.
9079         * Makefile.in (gcc_srcdir): Remove.
9080         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9081         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9082         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9083         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9084         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9085         Use $<.
9086         Remove comment.
9087         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9088         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9089         to refer to libgcc2.c.
9090         Use $<.
9091         * config/darwin-64.c: New file.
9092         * config/darwin-crt3.c: Remove comment.
9093         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9094         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9095         config/udivmodsi4.c: New files.
9096         * config/memcmp.c, config/memcpy.c, config/memmove.c,
9097         config/memset.c: New files.
9098         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9099         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9100         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9101         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9102         * config/t-openbsd-thread: New file.
9103         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9104         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9105         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9106         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9107         qrnnd.S.
9108         Adapt filename.
9109         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9110         to refer to gthr-posix.c.
9111         * config/alpha/t-vms (LIB2ADD): Set.
9112         * config/alpha/vms-gcc_shell_handler.c: New file.
9113         * config/arm/bpabi.c, config/arm/fp16.c,
9114         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9115         config/arm/unaligned-funcs.c: New files.
9116         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9117         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9118         * config/arm/t-linux: Likewise.
9119         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9120         * config/arm/t-netbsd: New file.
9121         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9122         * config/arm/t-symbian (LIB2ADD_ST): Set.
9123         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9124         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9125         * config/bfin/t-elf: New file.
9126         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9127         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9128         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9129         config/c6x/ltf.c: New files.
9130         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9131         (HOST_LIBGCC2_CFLAGS): Set.
9132         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9133         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9134         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9135         New files.
9136         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9137         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9138         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9139         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9140         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9141         files.
9142         * config/frv/t-frv (LIB2ADD): Set.
9143         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9144         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9145         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9146         config/h8300/popcounthi2.c: New files.
9147         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9148         * config/i386/gthr-win32.c: New file.
9149         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9150         * config/i386/t-cygwin: Likewise.
9151         * config/i386/t-darwin, config/i386/t-darwin64,
9152         config/i386/t-gthr-win32, config/i386/t-interix: New files.
9153         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9154         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9155         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9156         * config/ia64/quadlib.c: New file.
9157         * config/ia64/t-hpux (LIB2ADD): Set.
9158         * config/ia64/t-ia64: Add comment.
9159         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9160         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9161         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9162         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9163         * config/m32c/t-m32c (LIB2ADD): Set.
9164         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9165         * config/m32r/t-m32r: Likewise.
9166         * config/m68k/fpgnulib.c: New file.
9167         * config/m68k/t-floatlib (LIB2ADD): Set.
9168         (xfgnulib.c): New target.
9169         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9170         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9171         * config/mep/t-mep (LIB2ADD): Set.
9172         * config/microblaze/divsi3.asm: Rename to divsi3.S.
9173         * config/microblaze/moddi3.asm: Rename to moddi3.S.
9174         * config/microblaze/modsi3.asm: Rename to modsi3.S.
9175         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9176         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9177         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9178         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9179         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9180         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9181         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9182         New files.
9183         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9184         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9185         * config/pa/fptr.c, config/pa/lib2funcs.S,
9186         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9187         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9188         (LIB2ADD, LIB2ADD_ST): Set.
9189         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9190         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9191         Set.
9192         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9193         * config/pdp11/t-pdp11: New file.
9194         * config/picochip/libgccExtras/adddi3.S,
9195         config/picochip/libgccExtras/ashlsi3.S,
9196         config/picochip/libgccExtras/ashrsi3.S,
9197         config/picochip/libgccExtras/clzsi2.S,
9198         config/picochip/libgccExtras/cmpsi2.S,
9199         config/picochip/libgccExtras/divmod15.S,
9200         config/picochip/libgccExtras/divmodhi4.S,
9201         config/picochip/libgccExtras/divmodsi4.S,
9202         config/picochip/libgccExtras/lshrsi3.S,
9203         config/picochip/libgccExtras/parityhi2.S,
9204         config/picochip/libgccExtras/popcounthi2.S,
9205         config/picochip/libgccExtras/subdi3.S,
9206         config/picochip/libgccExtras/ucmpsi2.S,
9207         config/picochip/libgccExtras/udivmodhi4.S,
9208         config/picochip/libgccExtras/udivmodsi4.S: New files.
9209         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9210         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9211         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9212         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9213         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9214         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9215         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
9216         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9217         files.
9218         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9219         (HOST_LIBGCC2_CFLAGS): Set.
9220         * config/rs6000/t-darwin64: New file.
9221         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9222         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9223         * config/rs6000/t-ppccomm (LIB2ADD): Add
9224         $(srcdir)/config/rs6000/tramp.S.
9225         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9226         Add  $(srcdir)/config/rs6000/eabi.S.
9227         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9228         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9229         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9230         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9231         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9232         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9233         * config/rs6000/tramp.S: New file.
9234         * config/s390/t-tpf: Remove.
9235         * config/sh/linux-atomic.S: New file.
9236         * config/sh/t-linux (LIB2ADD): Set.
9237         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9238         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9239         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9240         to unwind-dw2.c.
9241         (HOST_LIBGCC2_CFLAGS): Set.
9242         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9243         * config/spu/divmodti4.c, config/spu/divv2df3.c,
9244         config/spu/float_disf.c, config/spu/float_unsdidf.c,
9245         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9246         config/spu/mfc_multi_tag_release.c,
9247         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9248         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9249         config/spu/multi3.c: New files.
9250         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9251         (HOST_LIBGCC2_CFLAGS): Set.
9252         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9253         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9254         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9255         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9256         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9257         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9258         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9259         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9260         config/stormy16/umodsi3.c: New files.
9261         * config/xtensa/lib2funcs.S: New file.
9262         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9263         * config/xtensa/t-xtensa (LIB2ADD): Set.
9264         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9265         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9266         Add t-freebsd-thread to tmake_file for posix threads.
9267         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9268         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9269         (*-*-lynxos*): Likewise.
9270         (*-*-netbsd*): Likewise.
9271         (*-*-openbsd*): Likewise.
9272         Add t-openbsd-thread to tmake_file for posix threads.
9273         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9274         (*-*-vxworks*): Set tmake_file.
9275         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9276         (alpha*-*-freebsd*): Likewise.
9277         (alpha*-*-netbsd*): Likewise.
9278         (alpha*-*-openbsd*): Likewise.
9279         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9280         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9281         (alpha*-dec-*vms*): Likewise.
9282         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9283         (bfin*-elf*): Add bfin/t-elf to tmake_file.
9284         (bfin*-uclinux*): Likewise.
9285         (bfin*-linux-uclibc*): Likewise.
9286         (crisv32-*-elf): Add cris/t-cris to tmake_file.
9287         (crisv32-*-none): Likewise.
9288         (cris-*-elf): Likewise.
9289         (cris-*-none): Likewise.
9290         (cris-*-linux*, crisv32-*-linux*): Likewise.
9291         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9292         tmake_file.
9293         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9294         tmake_file.
9295         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9296         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9297         (x86_64-*-elf*): Likewise.
9298         (i[34567]86-*-nto-qnx*): Likewise.
9299         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9300         win32 threads.
9301         (x86_64-*-mingw*): Likewise.
9302         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9303         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9304         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9305         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9306         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9307         tmake_file.
9308         (mipsisa64sr71k-*-elf*): Likewise.
9309         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9310         (mips-*-elf*, mipsel-*-elf*): Likewise.
9311         (mips64-*-elf*, mips64el-*-elf*): Likewise.
9312         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9313         (mips*-*-rtems*): Likewise.
9314         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9315         to tmake_file.
9316         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9317         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9318         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9319         (spu-*-elf*): Likewise.
9320         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9322 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9324         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9325         $(srcdir) to refer to $(LIB1ASMSRC).
9326         Use $<.
9327         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9328         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9329         config/arm/lib1funcs.S: New files.
9330         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9331         * config/arm/t-arm: New file.
9332         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9333         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9334         config/arm/t-strongarm-elf: New files.
9335         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9336         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9337         * config/avr/lib1funcs.S: New file.
9338         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9339         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9340         * config/c6x/lib1funcs.S: New file.
9341         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9342         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9343         * config/frv/lib1funcs.S: New file.
9344         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9345         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9346         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9347         * config/ia64/__divxf3.asm: Rename to ...
9348         * config/ia64/__divxf3.S: ... this.
9349         Adapt lib1funcs.asm filename.
9350         * config/ia64/_fixtfdi.asm: Rename to ...
9351         * config/ia64/_fixtfdi.S: ... this.
9352         Adapt lib1funcs.asm filename.
9353         * config/ia64/_fixunstfdi.asm: Rename to ...
9354         * config/ia64/_fixunstfdi.S: ... this.
9355         Adapt lib1funcs.asm filename.
9356         * config/ia64/_floatditf.asm: Rename to ...
9357         * config/ia64/_floatditf.S: ... this.
9358         Adapt lib1funcs.asm filename.
9359         * config/ia64/lib1funcs.S: New file.
9360         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9361         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9362         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9363         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9364         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9365         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9366         * config/mep/lib1funcs.S: New file.
9367         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9368         * config/mips/mips16.S: New file.
9369         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9370         * config/pa/milli64.S: New file.
9371         * config/pa/t-linux, config/pa/t-linux64: New files.
9372         * config/picochip/lib1funcs.S: New file.
9373         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9374         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9375         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9376         * config/sh/t-netbsd: New file.
9377         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9378         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9379         * config/sh/t-sh64: New file.
9380         * config/sparc/lb1spc.S: New file.
9381         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9382         filename.
9383         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9384         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9385         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9386         config/xtensa/lib1funcs.S: New files.
9387         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9388         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9389         tmake_file.
9390         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9391         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9392         (arm*-*-linux*): Likewise.
9393         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9394         arm*-*-linux-*eabi, add arm/t-linux otherwise.
9395         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9396         (arm*-*-ecos-elf): Likewise.
9397         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9398         (arm*-*-rtems*): Likewise.
9399         (arm*-*-elf): Likewise.
9400         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9401         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9402         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9403         (bfin*-uclinux*): Likewise.
9404         (bfin*-linux-uclibc*): Likewise.
9405         (bfin*-rtems*): Likewise.
9406         (bfin*-*): Likewise.
9407         (fido-*-elf): Merge into m68k-*-elf*.
9408         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9409         (frv-*-*linux*): Add frv/t-frv to tmake_file.
9410         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9411         (h8300-*-elf*): Likewise.
9412         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9413         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9414         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9415         (i[34567]86-*-mingw*): Likewise.
9416         (x86_64-*-mingw*): Likewise.
9417         (i[34567]86-*-interix3*): Likewise.
9418         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9419         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9420         (m68k-*-elf*): Also handle fido-*-elf.
9421         Add m68k/t-floatlib to tmake_file.
9422         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9423         (m68k-*-linux*): Likewise.
9424         (m68k-*-rtems*): Likewise.
9425         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9426         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9427         sh64*-*-*.
9428         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9429         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9430         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9431         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9432         sh/t-netbsd to tmake_file.
9433         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9434         (sh-*-rtems*): Add sh/t-sh to tmake_file.
9435         (sh-wrs-vxworks): Likewise.
9436         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9437         *-leon[3-9]*.
9438         (v850*-*-*): Add v850/t-v850 to tmake_file.
9439         (vax-*-linux*): Add vax/t-linux to tmake_file.
9440         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9442 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9444         * crtstuff.c: New file.
9445         * Makefile.in (CRTSTUFF_CFLAGS): Define.
9446         (CRTSTUFF_T_CFLAGS): Define.
9447         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9448         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9449         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9450         crtstuff.c.
9451         Use $<.
9452         (crtbeginT.o): Use $(objext).
9453         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9454         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9455         (gcc-extra-parts): Remove.
9456         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9457         Set extra_parts.
9458         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9459         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9460         Add t-crtstuff-pic to tmake_file.
9461         (*-*-lynxos*): New case.
9462         Set tmake_file, extra_parts.
9463         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9464         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9465         *-*-netbsdelf[2-9]*.
9466         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9467         (*-*-rtems*): Set extra_parts.
9468         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9469         (*-*-uclinux*): New case.
9470         Set extra_parts.
9471         (*-*-vms*): New case.
9472         Set tmake_file, extra_parts.
9473         (*-*-elf): Set extra_parts.
9474         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9475         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9476         vms/t-vms64.
9477         Set extra_parts.
9478         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9479         Set extra_parts.
9480         (arm*-*-freebsd*): Add t-crtin to tmake_file.
9481         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9482         (arm-wrs-vxworks): Append to tmake_file.
9483         Set extra_parts.
9484         (arm*-*-uclinux*): Set extra_parts.
9485         (arm*-*-ecos-elf): Likewise.
9486         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9487         arm*-*-eabi*.
9488         (arm*-*-rtems*): Set extra_parts.
9489         (arm*-*-elf): Likewise.
9490         (avr-*-rtems*): Clear extra_parts.
9491         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9492         Set extra_parts.
9493         (bfin*-uclinux*): Likewise.
9494         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9495         (bfin*-rtems*): Append to tmake_file.
9496         Set extra_parts.
9497         (bfin*-*): Likewise.
9498         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9499         (crisv32-*-elf): ... this.
9500         (crisv32-*-none): ... this.
9501         (cris-*-elf, cris-*-none): New cases.
9502         Add cris/t-elfmulti to tmake_file.
9503         (fr30-*-elf): Append to tmake_file.
9504         Set extra_parts.
9505         (frv-*-elf): Append to tmake_file, add frv/t-frv.
9506         Set extra_parts.
9507         (h8300-*-rtems*): Append to tmake_file.
9508         Set extra_parts.
9509         (h8300-*-elf*): Likewise.
9510         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9511         Set extra_parts.
9512         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9513         Set extra_parts.
9514         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9515         (x86_64-*-elf*): Likewise.
9516         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9517         (x86_64-*-freebsd*): Likewise.
9518         (x86_64-*-netbsd*): Likewise.
9519         (i[34567]86-*-linux*): Likewise.
9520         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9521         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9522         (x86_64-*-linux*): Likewise.
9523         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9524         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9525         tmake_file.
9526         Set extra_parts.
9527         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9528         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9529         Append to extra_parts, remove crtbegin.o, crtend.o.
9530         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9531         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9532         crtend.o, crtbeginS.o, crtendS.o.
9533         (ia64*-*-linux*): Comment extra_parts.
9534         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9535         Set extra_parts.
9536         (iq2000*-*-elf*): Clear extra_parts.
9537         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9538         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9539         (m32r-*-elf*, m32r-*-rtems*): Split off ...
9540         (m32r-*-rtems*): ... this.
9541         Add m32r/t-m32r to tmake_file.
9542         (m68k-*-elf*): Add t-crtin to tmake_file.
9543         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9544         (mcore-*-elf): Likewise.
9545         (microblaze*-*-*): Set extra_parts.
9546         (mips*-sde-elf*): New case.
9547         Set tmake_file, extra_parts.
9548         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9549         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9550         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9551         tmake_file.
9552         Set extra_parts.
9553         (mipsisa64sr71k-*-elf*): Likewise.
9554         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9555         (mips-*-elf*, mipsel-*-elf*): Likewise.
9556         (mips64-*-elf*, mips64el-*-elf*): Likewise.
9557         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9558         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
9559         (mips*-*-rtems*): Likewise.
9560         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9561         (moxie-*-*): Split into ...
9562         (moxie-*-elf, moxie-*-uclinux*): ... this.
9563         Add to extra_parts, remove crtbegin.o, crtend.o.
9564         (moxie-*-rtems*): New case.
9565         Set tmake_file.
9566         Clear extra_parts.
9567         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9568         Set extra_parts.
9569         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9570         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9571         tmake_file.
9572         Set extra_parts.
9573         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9574         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9575         Set extra_parts.
9576         (powerpc-*-eabisim*): Likewise.
9577         (powerpc-*-elf*): Likewise.
9578         (powerpc-*-eabialtivec*): Likewise.
9579         (powerpc-xilinx-eabi*): Likewise.
9580         (powerpc-*-eabi*): Likewise.
9581         (powerpc-*-rtems*): Likewise.
9582         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9583         tmake_file.
9584         Set extra_parts.
9585         (powerpc-*-lynxos*): Add to tmake_file.
9586         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9587         rs6000/t-crtstuff, t-crtstuff-pic.
9588         Set extra_parts.
9589         (powerpcle-*-eabisim*): Likewise.
9590         (powerpcle-*-eabi*): Likewise.
9591         (rx-*-elf): Remove extra_parts.
9592         (s390x-ibm-tpf*): Set extra_parts.
9593         (score-*-elf): Set extra_parts.
9594         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9595         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9596         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9597         (sh64l*-*-netbsd*): Split into ...
9598         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9599         Add t-crtstuff-pic to tmake_file.
9600         Set extra_parts.
9601         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9602         Set extra_parts.
9603         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9604         (sparc-*-elf*): Remove t-crtin from tmake_file.
9605         Add to extra_parts, remove crtbegin.o, crtend.o.
9606         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9607         (sparc64-*-linux*): Likewise.
9608         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9609         Add to extra_parts, remove crtbegin.o, crtend.o.
9610         (sparc64-*-elf*): Remove t-crtin from tmake_file.
9611         Add to extra_parts, remove crtbegin.o, crtend.o.
9612         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9613         Add to extra_parts, remove crtbegin.o, crtend.o.
9614         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9615         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9616         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9617         Set extra_parts.
9618         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9619         Set extra_parts.
9620         (tic6x-*-*): Change to ...
9621         (tic6x-*-elf): ... this.
9622         Set extra_parts.
9623         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9624         Set extra_parts.
9625         (am33_2.0-*-linux*): Add comment.
9626         (mep*-*-*): Add mep/t-mep to tmake_file.
9627         Set extra_parts.
9628         * config/alpha/t-vms: New file.
9629         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9630         * config/arm/crti.S, config/arm/crtn.S: New files.
9631         * config/bfin/crti.S, config/bfin/crtn.S: New files.
9632         * config/bfin/crtlibid.S: New file.
9633         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9634         * config/c6x/crti.S, config/c6x/crtn.S: New files.
9635         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9636         (crti.o, crtin.o): New rules.
9637         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9638         * config/c6x/t-uclinux: New file.
9639         * config/cris/t-elfmulti: New file.
9640         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9641         * config/fr30/crti.S, config/fr30/crtn.S: New files.
9642         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9643         * config/frv/t-frv: New file.
9644         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9645         * config/h8300/crti.S, config/h8300/crtn.S: New files.
9646         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9647         New files.
9648         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9649         refer to cygming-crtbegin.c, cygming-crtend.c.
9650         Use $<.
9651         * config/i386/t-nto: New file.
9652         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9653         * config/ia64/crti.S, config/ia64/crtn.S: New files.
9654         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9655         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9656         Use .S extension.
9657         Use $<.
9658         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9659         (crtinitS.o): New rule.
9660         * config/ia64/vms-crtinit.S: New file.
9661         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9662         * config/m32r/initfini.c: New file.
9663         * config/m32r/t-linux, config/m32r/t-m32r: New files.
9664         * config/m68k/crti.S, config/m68k/crtn.S: New files.
9665         * config/mcore/crti.S, config/mcore/crtn.S: New files.
9666         * config/mep/t-mep: New file.
9667         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9668         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9669         * config/mips/crti.S, config/mips/crtn.S: New files.
9670         * config/mips/t-crtstuff: New file.
9671         * config/mmix/crti.S, config/mmix/crtn.S: New files.
9672         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9673         (CUSTOM_CRTIN): Set.
9674         ($(T)crti.o, $(T)crtn.o): Remove $(T),
9675         dependencies.
9676         Use $(srcdir) to refer to crti.S, crtn.S.
9677         Use .S extension, $<.
9678         * config/moxie/crti.asm: Rename to ...
9679         * config/moxie/crti.S: ... this.
9680         * config/moxie/crtn.asm: Rename to ...
9681         * config/moxie/crtn.S: ... this.
9682         * config/moxie/t-moxie: Remove.
9683         * config/pa/stublib.c: New file.
9684         * config/pa/t-stublib, config/pa/t-stublib64: New files.
9685         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9686         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9687         * config/rs6000/t-crtstuff: New file.
9688         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9689         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9690         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9691         Make output file explicit.
9692         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9693         Make output file explicit.
9694         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9695         Make output file explicit.
9696         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9697         Make output file explicit.
9698         * config/score/crti.S, config/score/crtn.S: New files.
9699         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9700         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9701         files.
9702         * config/sh/t-sh, config/sh/t-superh: New files.
9703         * config/sparc/t-linux64: New file.
9704         * config/spu/cache.S, config/spu/cachemgr.c: New files.
9705         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9706         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9707         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9708         * config/t-crtin: Remove.
9709         * config/t-crtstuff-pic: New file.
9710         * config/t-sol2 (CUSTOM_CRTIN): Set.
9711         (crti.o, crtn.o): New rules.
9712         * config/vms/t-vms: New file.
9713         * config/vms/vms-ucrt0.c: New file.
9714         * config/xtensa/t-elf: New file.
9716 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9718         * Makefile.in (SHLIB_NM_FLAGS): Set.
9719         * mkmap-flat.awk, mkmap-symver.awk: New files.
9720         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9721         exceptions.
9722         * configure: Regenerate.
9723         * config/libgcc-glibc.ver: New file.
9724         * config/libgcc-libsystem.ver: New file.
9725         * config/t-libunwind (SHLIB_LC): Set.
9726         * config/t-linux: New file.
9727         * config/t-slibgcc (INSTALL_SHLIB): New.
9728         (SHLIB_INSTALL): Use it.
9729         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9730         to mkmap-symver.awk.
9731         (SHLIB_MAPFILES): Don't append, adapt pathname.
9732         (SHLIB_VERPFX): Set.
9733         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9734         to mkmap-symver.awk.
9735         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9736         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9737         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9738         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9739         to mkmap-flat.awk.
9740         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9741         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9742         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9743         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9744         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9745         * config/i386/libgcc-darwin.10.4.ver,
9746         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9747         New files.
9748         * config/i386/t-darwin: Remove.
9749         * config/i386/t-darwin64: Likewise.
9750         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9751         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9752         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9753         * config/i386/t-linux: New file.
9754         * config/i386/t-mingw32: New file.
9755         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9756         * config/ia64/t-glibc: Rename to ...
9757         * config/ia64/t-linux: ... this.
9758         (SHLIB_MAPFILES): Set.
9759         * config/ia64/t-glibc-libunwind: Rename to ...
9760         * config/ia64/t-linux-libunwind: ... this.
9761         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9762         * config/ia64/t-slibgcc-hpux: New file.
9763         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9764         * config/m68k/t-slibgcc-elf-ver: New file.
9765         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9766         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9767         to mkmap-flat.awk.
9768         * config/pa/t-slibgcc-hpux: New file.
9769         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9770         files.
9771         * config/rs6000/libgcc-darwin.10.4.ver,
9772         config/rs6000/libgcc-darwin.10.5.ver: New files.
9773         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9774         config/rs6000/libgcc-glibc.ver.
9775         * config/rs6000/libgcc-ppc64.ver: Rename to
9776         config/rs6000/libgcc-ibm-ldouble.ver.
9777         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9778         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9779         * config/rs6000/t-ldbl128: Rename to ...
9780         * config/rs6000/t-linux: ... this.
9781         (SHLIB_MAPFILES): Adapt filename.
9782         * config/rs6000/t-slibgcc-aix: New file.
9783         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9784         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9785         libgcc-excl.ver, libgcc-glibc.ver.
9786         (SHLIB_LINK, SHLIB_INSTALL): Remove.
9787         * config/sparc/libgcc-glibc.ver: New file.
9788         * config/sparc/t-linux: New file.
9789         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9790         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9791         t-slibgcc-elf-ver to tmake_file.
9792         Add t-slibgcc-nolc-override to tmake_file for posix threads on
9793         *-*-freebsd[34].
9794         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9795         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9796         t-slibgcc-elf-ver, t-linux to tmake_file.
9797         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9798         tmake_file.
9799         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9800         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9801         (alpha*-dec-*vms*): Likewise.
9802         (arm*-*-freebsd*): Append to tmake_file.
9803         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9804         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9805         arm*-*-linux-*eabi.
9806         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9807         tmake_file for arm*-*-symbianelf*.
9808         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9809         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9810         cris/t-linux.
9811         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9812         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9813         pa/t-slibgcc-dwarf-ver to tmake_file.
9814         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9815         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9816         (hppa*64*-*-hpux11*): Likewise.
9817         (hppa[12]*-*-hpux11*): Likewise.
9818         (x86_64-*-darwin*): Don't override tmake_file, but only keep
9819         i386/t-crtpc, i386/t-crtfm.
9820         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9821         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9822         to tmake_file.
9823         Add i386/t-cygwin to tmake_file.
9824         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9825         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9826         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9827         to tmake_file.
9828         Add i386/t-mingw32 to tmake_file.
9829         (x86_64-*-mingw*): Likewise.
9830         (ia64*-*-freebsd*): Append to tmake_file.
9831         (ia64*-*-linux*): Append to tmake_file.
9832         Replace ia64/t-glibc by ia64/t-linux.
9833         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9834         system libunwind.
9835         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9836         t-slibgcc-hpux to tmake_file.
9837         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9838         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9839         (m32rle-*-linux*): Likewise.
9840         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9841         sjlj exceptions.
9842         (microblaze*-linux*): New case.
9843         Append to tmake_file, add t-slibgcc-nolc-override.
9844         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9845         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9846         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9847         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9848         rs6000/t-slibgcc-aix to tmake_file.
9849         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9850         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9851         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9852         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9853         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9854         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9855         sh*-*-linux*.
9856         (sparc-*-linux*): Append to tmake_file for *-leon*.
9857         Add sparc/t-linux to tmake_file for non-Leon targets.
9858         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9859         (tic6x-*-uclinux): New case.
9860         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9861         (tic6x-*-*): Add c6x/t-elf to tmake_file.
9862         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9863         (am33_2.0-*-linux*): Append to tmake_file.
9864         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9865         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9866         x86_64-*-kfreebsd*-gnu.
9867         Add i386/t-linux to tmake_file.
9869 2011-10-28  Ian Lance Taylor  <iant@google.com>
9871         * config/i386/morestack.S: Correct CFI information to do proper
9872         returns throughout function.  In 32-bit mode, save %ebx so that it
9873         is restored on unwind.
9875 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
9877         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9878         case where B3 isn't the return register.
9880         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9881         logic for doubleword pops.
9883 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
9885         * config/rs6000/t-freebsd: Add wildcard.
9887 2011-10-21  Paul Brook  <paul@codesourcery.com>
9889         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9891 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
9892             Eric Botcazou  <ebotcazou@adacore.com>
9894         PR target/50737
9895         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9896         fs->signal_frame to 1.
9898 2011-10-07  Ian Lance Taylor  <iant@google.com>
9900         * generic-morestack-thread.c: #include <errno.h>.
9902 2011-10-07  Ian Lance Taylor  <iant@google.com>
9904         PR target/46093
9905         * generic-morestack.c (__generic_morestack): Make sure the segment
9906         is large enough for both the stack frame and the copied
9907         parameters.
9909 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9911         PR bootstrap/49804
9912         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9913         extra_parts.
9915 2011-09-28  Nick Clifton  <nickc@redhat.com>
9917         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9918         64-bit doubles are not enabled.
9919         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9920         and floatunsisf functions.
9922 2011-09-13  Paul Brook  <paul@codesourcery.com>
9924         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
9925         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9926         * unwind-arm-common.inc: New file.
9927         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9928         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9929         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9930         * config/c6x/libunwind.S: New file.
9931         * config/c6x/pr-support.c: New file.
9932         * config/c6x/unwind-c6x.c: New file.
9933         * config/c6x/unwind-c6x.h: New file.
9934         * config/c6x/t-c6x-elf: New file.
9936 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
9938         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9939         (ASM_DIVZERO): Ditto.
9940         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9942 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
9944         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9946 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
9948         PR target/50090
9949         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9950         instead of an assembly one.
9952 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
9954         PR bootstrap/50047
9955         * Makefile.in (install-unwind_h): Create
9956         $(gcc_objdir)/include/unwind.h atomically.
9958 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9960         * Makefile.in (install-unwind_h): Remove destination file first.
9962 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9964         * sync.c: New file.
9965         * config/mips/t-mips16: New file.
9966         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9967         (mips*-*-linux*): Likewise.
9968         (mips*-sde-elf*): Likewise.
9969         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9970         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9971         Add mips/t-mips16 to tmake_file.
9972         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9973         (mips-*-elf*): Likewise.
9974         (mips64-*-elf*): Likewise.
9975         (mips64orion-*-elf*): Likewise.
9976         (mips*-*-rtems*): Likewise.
9977         (mipstx39-*-elf*): Likewise.
9978         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9979         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9980         LIBGCC_SYNC_CFLAGS.
9981         Use $(srcdir) to refer to sync.c.
9982         Use $<.
9983         ($(libgcc-sync-funcs-o)): Likewise.
9984         ($(libgcc-sync-size-funcs-s-o)): Likewise.
9985         ($(libgcc-sync-funcs-s-o)): Likewise.
9987 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
9989         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9990         t-libunwind.
9992 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
9994         PR other/48007
9995         * config/i386/value-unwind.h: New.
9997 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
9999         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10000         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10001         Add to tmake_file rather than overriding it.
10003 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10005         * config/t-softfp: Remove.
10006         * soft-fp: Moved from ../gcc/config.
10007         * soft-fp/README: Remove t-softfp reference.
10008         * soft-fp/t-softfp: Move to config/t-softfp.
10009         (softfp_machine_header): Remove.
10010         (softfp_file_list): Remove config subdir.
10011         (soft-fp-objects): New variable.
10012         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10013         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10014         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10015         * config/t-softfp-excl: New file.
10016         * config/t-softfp-sfdf: New file.
10017         * config/t-softfp-tf: New file.
10018         * config/no-sfp-machine.h: New file.
10019         * config/arm/sfp-machine.h: New file.
10020         * config/arm/t-softfp: New file.
10021         * config/c6x/sfp-machine.h: New file.
10022         * config/i386/32/t-fprules-softfp: Rename to ...
10023         * config/i386/32/t-softfp: ... this.
10024         (tifunctions, LIB2ADD): Remove.
10025         (softfp_int_modes): Override.
10026         * config/i386/64/t-softfp-compat (tf-functions): Remove config
10027         subdir.
10028         * config/i386/64/eqtf2.c: Likewise.
10029         * config/i386/64/getf2.c: Likewise.
10030         * config/i386/64/letf2.c: Likewise.
10031         * config/ia64/sft-machine.h: New file.
10032         * config/ia64/t-fprules-softfp: Rename to ...
10033         * config/ia64/t-softfp: ... this.
10034         * config/lm32/sfp-machine.h: New file.
10035         * config/moxie/t-moxie-softfp: Remove.
10036         * config/rs6000/ibm-ldouble-format: New file.
10037         * config/rs6000/ibm-ldouble.c: New file.
10038         * config/rs6000/libgcc-ppc-glibc.ver: New file
10039         * config/rs6000/libgcc-ppc64.ver: New file
10040         * config/rs6000/sfp-machine.h: New file.
10041         * config/rs6000/t-freebsd: New file.
10042         * config/rs6000/t-ibm-ldouble: New file.
10043         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10044         libgcc-ppc-glibc.ver.
10045         * config/rs6000/t-linux64: New file.
10046         * config/rs6000/t-ppccomm (LIB2ADD): Add
10047         $(srcdir)/config/rs6000/ibm-ldouble.c.
10048         * config/rs6000/t-ppccomm-ldbl: New file.
10049         * config/score/sfp-machine.h: New file.
10050         * config.host (sfp_machine_header): Explain.
10051         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10052         t-softfp to tmake_file.
10053         (arm*-*-uclinux*): Likewise.
10054         (arm*-*-ecos-elf): Likewise.
10055         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10056         (arm*-*-rtems*): Likewise.
10057         (arm*-*-elf): Likewise.
10058         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10059         in tmake_file.
10060         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10061         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10062         (lm32-*-uclinux*): Likewise.
10063         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10064         t-softfp-excl, t-softfp.
10065         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10066         (powerpc64-*-darwin*): Likewise.
10067         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10068         to tmake_file.
10069         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10070         tmake_file.
10071         (powerpc-*-eabisim*): Likewise.
10072         (powerpc-*-elf*): Likewise.
10073         (powerpc-*-eabialtivec*): Likewise.
10074         (powerpc-xilinx-eabi*): Likewise.
10075         (powerpc-*-rtems*): Likewise.
10076         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10077         t-softfp-excl, t-softfp to tmake_file.
10078         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10079         rs6000/t-ppccomm-ldbl to tmake_file.
10080         (powerpcle-*-elf*): Likewise.
10081         (powerpcle-*-eabisim*): Likewise.
10082         (powerpcle-*-eabi*): Likewise.
10083         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10084         rs6000/t-ibm-ldouble to tmake_file.
10085         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10086         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10087         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10088         (tic6x-*-*): Likewise.
10089         (i[34567]86-*-darwin*, x86_64-*-darwin*,
10090         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10091         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10092         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10093         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10094         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10095         t-softfp to tmake_file.
10096         * configure.ac (sfp_machine_header): Provide default if unset.
10097         Substitute.
10098         Link sfp-machine.h to config/$sfp_machine_header.
10099         * configure: Regenerate.
10101 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10103         * Makefile.in (double_type_size, long_double_type_size): Set.
10104         Remove $(fpbit-in-libgcc) support.
10105         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10106         (fpbit-src): New variable.
10107         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10108         Compile with -DFLOAT $(FPBIT_CFLAGS).
10109         Use $<.
10110         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10111         Compile with $(FPBIT_CFLAGS).
10112         Use $<.
10113         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10114         Compile with -DFLOAT $(TPBIT_CFLAGS).
10115         Use $<.
10116         * configure.ac (double_type_size, long_double_type_size):
10117         Determine and substitute.
10118         * configure: Regenerate.
10119         * fp-bit.c, fp-bit.h: New files.
10120         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10121         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10122         * config/mips/t-mips: New file.
10123         * config/mips/t-sdemtk: New file.
10124         * config/rs6000/ppc64-fp.c: New file.
10125         * config/rs6000/t-darwin (LIB2ADD): Add
10126         $(srcdir)/config/rs6000/ppc64-fp.c.
10127         * config/rs6000/t-ppc64-fp: New file.
10128         * config/rx/rx-lib.h: New file.
10129         * config/rx/t-rx (FPBIT): Set to true.
10130         ($(gcc_objdir)/fp-bit.c): Remove.
10131         (DPBIT): Set to true only with -m64bit-doubles.
10132         ($(gcc_objdir)/dp-bit.c): Remove.
10133         * config/sparc/t-softfp: Remove.
10134         * config/spu/t-elf: New file.
10135         * config/t-fdpbit, config/t-fpbit: New files.
10136         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10137         (mips*-*-*): Likewise.
10138         (arm-wrs-vxworks): Likewise.
10139         (arm*-*-freebsd*): Likewise.
10140         (avr-*-rtems*): Add t-fpbit to tmake_file.
10141         (avr-*-*): Likewise.
10142         (bfin*-elf*): Add t-fdpbit to tmake_file.
10143         (bfin*-uclinux*): Likewise.
10144         (bfin*-linux-uclibc*): Likewise.
10145         (bfin*-rtems*): New case.
10146         Add t-fdpbit to tmake_file.
10147         (bfin*-*): Add t-fdpbit to tmake_file.
10148         (crisv32-*-elf): Likewise.
10149         (cris-*-linux*): Likewise.
10150         (fr30-*-elf): Likewise.
10151         (frv-*-elf, frv-*-*linux*): Likewise.
10152         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10153         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10154         (m32r-*-elf*): Likewise.
10155         (m32rle-*-elf*): Likewise.
10156         (m32r-*-linux*): Likewise.
10157         (m32rle-*-linux*): Likewise.
10158         (mcore-*-elf): Add t-fdpbit to tmake_file.
10159         (microblaze*-*-*): Likewise.
10160         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10161         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10162         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10163         Fix typo.
10164         Add mips/t-tpbit to tmake-file.
10165         (mips*-*-linux*): Fix typo.
10166         (mips*-sde-elf*): New case
10167         Add mips/t-sdemtk unless using newlib.
10168         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10169         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10170         (mn10300-*-*): Likewise.
10171         (pdp11-*-*): Likewise.
10172         (picochip-*-*): Add t-fpbit to tmake_file.
10173         (powerpc-*-eabisimaltivec*): Likewise.
10174         (powerpc-*-eabisim*): Likewise.
10175         (powerpc-*-elf*): Likewise.
10176         (powerpc-*-eabialtivec*): Likewise.
10177         (powerpc-xilinx-eabi*): New case.
10178         Add t-fdpbit to tmake_file.
10179         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
10180         (powerpc-*-rtems*): Likewise.
10181         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10182         tmake_file.
10183         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10184         tmake_file.
10185         (powerpc-*-lynxos*): Likewise.
10186         (powerpcle-*-elf*): Likewise.
10187         (powerpcle-*-eabisim*): Likewise.
10188         (powerpcle-*-eabi*): Likewise.
10189         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10190         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10191         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10192         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10193         (rx-*-elf): Add t-fdpbit to tmake_file.
10194         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10195         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10196         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10197         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10198         sh*-*-netbsd*.
10199         (sh-*-rtems*): Add t-fdpbit to tmake_file.
10200         (sh-wrs-vxworks): Likewise.
10201         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10202         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10203         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10204         (sparc64-*-rtems*): ... new case.
10205         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10206         (spu-*-elf*): Likewise.
10207         Add spu/t-elf to tmake_file.
10208         (v850*-*-*): Add t-fdpbit to tmake_file.
10209         (xstormy16-*-elf): Likewise.
10210         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10211         (mep*-*-*): Likewise.
10213 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10215         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10216         variables.
10217         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10218         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10219         (install-unwind_h): New target.
10220         (all): Depend on it.
10221         * config.host (unwind_header): New variable.
10222         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10223         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10224         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10225         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10226         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10227         Set unwind_header.
10228         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10229         Set unwind_header.
10230         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10231         arm*-*-eabi*.
10232         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10233         Set unwind_header.
10234         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10235         (ia64*-*-freebsd*): Likewise.
10236         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10237         tmake_file.
10238         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10239         $with_system_libunwind.
10240         (ia64*-*-hpux*): Set tmake_file.
10241         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10242         (picochip-*-*): Set tmake_file.
10243         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10244         md_unwind_header.
10245         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10246         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10247         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10248         (xtensa*-*-elf*): Set tmake_file.
10249         (xtensa*-*-linux*): Likewise.
10250         * configure.ac: Include ../config/unwind_ipinfo.m4.
10251         Call GCC_CHECK_UNWIND_GETIPINFO.
10252         Link unwind.h to $unwind_header.
10253         * configure: Regenerate.
10254         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10255         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10256         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10257         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10258         * config/unwind-dw2-fde-darwin.c: New file.
10259         * config/arm/libunwind.S, config/arm/pr-support.c,
10260         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10261         config/arm/unwind-arm.h,: New files.
10262         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10263         config/ia64/t-eh-ia64, config/ia64/t-glibc,
10264         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10265         config/ia64/t-vms, config/ia64/unwind-ia64.c,
10266         config/ia64/unwind-ia64.h: New files.
10267         * config/picochip/t-picochip: New file.
10268         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10269         files.
10270         * config/rs6000/t-darwin (LIB2ADDEH): Set.
10271         * config/s390/t-tpf (LIB2ADDEH): Remove.
10272         * config/t-darwin (LIB2ADDEH): Set.
10273         * config/t-eh-dw2-dip: New file.
10274         * config/t-libunwind, config/t-libunwind-elf: New files.
10275         * config/t-sol2 (LIB2ADDEH): Remove.
10276         * config/xtensa/t-xtensa: New file.
10278 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
10280         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10281         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10282         long long to check rt_sigreturn syscall.
10284 2011-08-02  Alan Modra  <amodra@gmail.com>
10286         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10287         Restore for indirect call bcrtl from correct stack slot, and only
10288         if cfa+40 isn't valid.
10290 2011-08-01  Julian Brown  <julian@codesourcery.com>
10292         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10293         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10294         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10296 2011-08-01  Julian Brown  <julian@codesourcery.com>
10298         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10299         (libgcc-std.ver.in): Use above.
10300         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10301         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
10302         throughout file.
10303         * config/t-fixedpoint-gnu-prefix: New file.
10304         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10305         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10306         instead of __PFX__.
10308 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
10310         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10311         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10312         for x86-64.  Properly check __x86_64__ and __LP64__.
10314 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
10316         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10317         version.
10318         (_FP_WS_TYPE): Likewise.
10319         (_FP_I_TYPE): Likewise.
10321 2011-07-28  Alan Modra  <amodra@gmail.com>
10323         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10324         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10325         in a plt call stub.  Do restore r2 if stopped on bctrl.
10327 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10329         * config.host (i[3456x]86-*-netware*): Remove.
10330         * config/i386/netware-crt0.c, config/i386/t-nwld,
10331         config/i386/t-slibgcc-nwld: Remove.
10333 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
10335         * config.host: Handle tic6x-*-*.
10336         * config/c6x/c6x-abi.h: New file.
10338 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10340         * config/i386/crtprec.c: New file.
10341         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10342         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10343         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10344         (x86_64-*-darwin*): Likewise.
10345         (i[34567]86-*-solaris2*: Likewise.
10347 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10349         * config/alpha/crtfastmath.c: New file.
10350         * config/i386/crtfastmath.c: New file.
10351         * config/ia64/crtfastmath.c: New file.
10352         * config/mips/crtfastmath.c: New file.
10353         * config/sparc/crtfastmath.c: New file.
10355         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10356         crtfastmath.c.
10357         Add -frandom-seed=gcc-crtfastmath.
10358         * config/alpha/t-crtfm: Remove.
10359         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10360         * config/ia64/t-ia64 (crtfastmath.o): Remove.
10362         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10363         (alpha*-dec-osf5.1*): Likewise.
10364         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10365         Add crtfastmath.o to extra_parts.
10366         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10367         Add crtfastmath.o to extra_parts.
10368         (x86_64-*-darwin*): Likewise.
10369         (x86_64-*-mingw*): Likewise.
10370         (ia64*-*-elf*): Add t-crtfm to tmake_file.
10371         (ia64*-*-freebsd*): Likewise.
10372         (ia64*-*-linux*): Likewise.
10373         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10374         Add crtfastmath.o to extra_parts.
10376 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10378         * config/darwin-crt3.o: New file.
10379         * config/rs6000/darwin-crt2.c: New file.
10380         * config/t-darwin: New file.
10381         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10382         (crt2.o): New rule.
10383         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10384         (powerpc-*-darwin*): Add crt2.o to extra_parts.
10385         (powerpc64-*-darwin*): Likewise.
10387 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10389         * config/i386/netware-crt0.c: New file.
10390         * config/i386/t-nwld: Rename to ...
10391         * config/i386/t-slibgcc-nwld: ... this.
10392         * config/i386/t-nwld: New file.
10393         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10394         tmake_file.
10395         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10396         extra_parts.
10398 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10400         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10401         i386/t-crtstuff.
10402         * configure: Regenerate.
10404 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10406         * dfp-bit.c, dfp-bit.h: New files.
10407         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10408         variables.
10409         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10410         ($(d64pbit-o)): Likewise.
10411         ($(d128pbit-o)): Likewise.
10412         * config/t-dfprules: New file.
10413         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10414         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10415         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10416         (x86_64-*-linux*): Likewise.
10417         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10418         (i[34567]86-*-cygwin*): Likewise.
10419         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
10420         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10422 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10424         * Makfile.in (LIBGCOV): New variable.
10425         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10426         * libgcov.c: New file.
10428 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10430         * fixed-bit.c, fixed-bit.h: New files.
10431         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10432         refer to fixed-bit.c.
10434 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
10436         * config.host (*local*): Remove.
10438 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10440         PR target/39150
10441         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10442         like i?86-*-solaris2.1[0-9]*.
10443         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10444         * configure.ac (i?86-*-solaris2*): Likewise.
10445         * configure: Regenerate.
10447 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
10449         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10450         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10451         md_unwind_header by splitting out of...
10452         (i[34567]86-*-linux*): ... this.
10453         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10454         Remove md_unwind_header by splitting out of...
10455         (x86_64-*-linux*): ... this.
10457 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
10459         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10461 2011-06-28  Nick Clifton  <nickc@redhat.com>
10463         * config.host: Recognize all V850 variants.
10465 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
10467         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10469 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10471         * shared-object.mk (c_flags-$o): Save c_flags.
10472         ($(base)$(objext)): Use it.
10473         ($(base)_s$(objext)): Likewise.
10475 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
10477         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10478         * libgcc-std.ver.in (GCC_4.7.0): New section.
10480 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
10482         PR target/49313
10483         PR target/29524
10484         * config/avr/t-avr: Fix line endings.
10485         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
10486         _parityXX2.
10488 2011-06-14  Olivier Hainque  <hainque@adacore.com>
10489             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10491         * config/mips/irix6-unwind.h: New file.
10492         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10494 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
10496         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10497         (sparc64_fallback_frame_state): Use it.
10498         (sparc64_frob_update_context): Further adjust context.
10499         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10500         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10501         * config/sparc/sol2-cn.S: Likewise.
10503 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10505         * enable-execute-stack-empty.c: New file.
10506         * enable-execute-stack-mprotect.c: New file.
10507         * config/i386/enable-execute-stack-mingw32.c: New file.
10508         * config.host (enable_execute_stack): New variable.
10509         Select appropriate variants.
10510         * configure.ac: Link enable-execute-stack.c to
10511         $enable_execute_stack.
10512         * configure: Regenerate.
10513         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10514         (lib2funcs): Remove _enable_execute_stack.
10516 2011-06-09  David S. Miller  <davem@davemloft.net>
10517             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10519         * config.host (sparc-*-linux*): Correct md_unwind_header
10520         filename.
10521         (s390x-ibm-tpf*): Fix typo.
10523 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10525         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10526         Add crtfastmath.o to extra_parts.
10527         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10528         mips/t-crtfm.
10529         * config/mips/t-crtfm: Remove.
10531 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10533         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10535 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
10537         * config.host (sh*-*-linux*): Fix typo.
10539 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10541         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10542         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10543         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10544         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10545         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10546         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10547         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10548         Wrap in !__MINGW64__.
10549         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10550         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10551         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10552         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10553         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10554         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10555         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10556         Wrap in !__LP64__.
10557         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10558         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10559         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10560         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10561         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10562         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10563         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10564         * config/no-unwind.h: New file.
10565         * config.host (md_unwind_header): Document.
10566         Define.
10567         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10568         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10569         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10570         hppa[12]*-*-hpux11*): Set md_unwind_header.
10571         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10572         Set md_unwind_header.
10573         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10574         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10575         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10576         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10577         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10578         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10579         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10580         md_unwind_header.
10581         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10582         * configure: Regenerate.
10584 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10586         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10587         Set tmake_file, extra_parts.
10588         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10589         Remove O32 support.
10590         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10591         Remove O32 support.
10592         * config/mips/t-irix6: New file.
10593         * config/mips/t-slibgcc-irix: New file.
10595 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10597         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10598         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10600 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10602         * configure.ac (target_thread_file): Determine thread model.
10603         * configure: Regenerate.
10604         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10605         * config/alpha/t-alpha: New file.
10606         * config/alpha/t-crtfm: Use $<.
10607         * config/alpha/t-ieee: New file.
10608         * config/alpha/t-osf-pthread: New file.
10609         * config/alpha/t-slibgcc-osf: New file.
10610         * config/alpha/libgcc-osf5.ver: New file.
10612 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10614         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10615         tmake_file.
10616         Add crtfastmath.o to extra_parts.
10618 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10620         * config/gmon-sol2.c: Reindent.
10621         Cleanup comments.
10622         Remove, correct casts.
10623         Use STDERR_FILENO, NULL.
10624         (BASEADDRESS): Remove.
10625         (minbrk): Remove.
10626         (errno, sbrk): Remove declarations.
10627         (monstartup) [hp300]: Remove.
10628         (mcount): Remove.
10630 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10632         * Makefile.in (cpu_type): Define.
10633         * config.host (i[34567]86-*-rtems*): Handle it.
10634         (i[34567]86-*-solaris2*): Move body ...
10635         (*-*-solaris2*): ... here.
10636         New case, generalize.
10637         (sparc-*-elf*): Handle it.
10638         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10639         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10640         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10641         Fold into ...
10642         (sparc*-*-solaris2*): ... this.
10643         New case.
10644         (sparc64-*-elf*): Handle it.
10645         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10646         Merge ../gcc/config/i386/gmon-sol2.c.
10647         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10648         Use C comments.
10649         Merge ../gcc/config/i386/sol2-gc1.asm.
10650         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10651         Use C comments.
10652         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10653         Use C comments.
10654         * config/i386/t-crtfm (crtfastmath.o): Use $<.
10655         * config/i386/t-crtstuff: New file.
10656         * config/i386/t-softfp: New file.
10657         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10658         $(T)crti.o, $(T)crtn.o): Remove.
10659         (gcrt1.o): New rule.
10660         (TARGET_LIBGCC2_CFLAGS): Remove.
10661         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10662         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10663         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10664         * config/sparc/t-sol2: New file.
10665         * config/sparc/t-crtfm: Move to ...
10666         * config/t-crtfm: ... this.
10667         Use $(cpu_type), $<.
10668         * config/t-crtin: New file.
10669         * config/sparc/t-softfp: New file.
10670         * config/sparc/t-softmul: New file.
10671         * config/t-rtems: New file.
10672         * config/t-slibgcc: New file.
10673         * config/t-slibgcc-elf-ver: New file.
10674         * config/t-slibgcc-gld: New file.
10675         * config/t-slibgcc-sld: New file.
10676         * config/t-sol2: New file.
10677         * configure.ac: Include ../config/lib-ld.m4.
10678         Call AC_LIB_PROG_LD_GNU.
10679         Substitute cpu_type.
10680         * configure: Regenerate.
10682 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
10684         PR bootstrap/49173
10685         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10686         libgcc-std.ver in the build directory.
10687         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10688         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10690 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
10692         * libgcc-std.ver.in: New file.
10693         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10694         variables.
10695         (libgcc-std.ver): New rule.
10696         * config/t-gnu-prefix: New file.
10698 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10700         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10702 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
10704         * config/i386/darwin-lib.h: New file.
10706 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
10708         * config/arm/symbian-lib.h: New.
10710 2011-05-04  Chris Demetriou  <cgd@google.com>
10712         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10713         (__x86.get_pc_thunk.bx): ...this.
10714         (__morestack): Adjust for rename, remove undef of __i686.
10716 2011-05-03  Chris Demetriou  <cgd@google.com>
10718         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10720 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
10722         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10723         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10724         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10725         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10726         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10727         Remove cases.
10729 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
10731         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10732         Adjust copyright year.
10734 2011-03-07  Ian Lance Taylor  <iant@google.com>
10736         * generic-morestack.c (__splitstack_find): Adjust returned stack
10737         pointer to include all registers pushed by __morestack.
10739 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
10741         PR target/40125
10742         * configure.ac: Call ACX_NONCANONICAL_TARGET.
10743         (toolexecdir): Calculate and AC_SUBST.
10744         (toolexeclibdir): Likewise.
10745         * Makefile.in (target_noncanonical): Import.
10746         (toolexecdir): Likewise.
10747         (toolexeclibdir): Likewise.
10748         * configure: Regenerate.
10750 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
10752         PR target/46040
10753         * config/arm/bpabi.h: Rename to...
10754         * config/arm/bpabi-lib.h: ...this.
10756 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10758         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10759         appropriate.
10760         * configure: Regenerate.
10762 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
10764         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10765         __FLOAT_WORD_ORDER__.
10766         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10767         Delete.
10769 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10771         PR other/46202
10772         * Makefile.in (install-strip): New phony target.
10774 2010-11-07  Ian Lance Taylor  <iant@google.com>
10776         PR target/46089
10777         * config/i386/morestack.S (__morestack_large_model): New
10778         function.
10780 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
10782         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10783         Delete.
10784         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10786 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
10788         * config/arm/bpabi.h: New file.
10789         * config/frv/frv-abi.h: New file.
10791 2010-10-01  Ian Lance Taylor  <iant@google.com>
10793         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10794         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10796 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10798         PR target/45858
10799         * config.host: Add the missing `$'.
10801 2010-09-30  Michael Eager  <eager@eagercon.com>
10803         * config.host: Add microblaze*-*-*.
10804         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10805         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10806         udivsi3.asm,umodsi3.asm}:  New.
10808 2010-09-28  Ian Lance Taylor  <iant@google.com>
10810         * configure.ac: Adjust CFI test to test assembler directly rather
10811         than checking gcc preprocessor macro.
10812         * configure: Rebuild.
10814 2010-09-27  Ian Lance Taylor  <iant@google.com>
10816         * configure.ac: Test whether assembler supports CFI directives.
10817         * config.host: Only add t-stack and i386/t-stack-i386 to
10818         tmake_file if libgcc_cv_cfi is "yes".
10819         * configure: Rebuild.
10821 2010-09-27  Ian Lance Taylor  <iant@google.com>
10823         * generic-morestack.h: New file.
10824         * generic-morestack.c: New file.
10825         * generic-morestack-thread.c: New file.
10826         * config/i386/morestack.S: New file.
10827         * config/t-stack: New file.
10828         * config/i386/t-stack-i386: New file.
10829         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10830         i386/t-stack-i386 to tmake_file.
10832 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
10834         * Makefile.in (libgcc-extra-parts):  Check for static archives and
10835         invoke ranlib after installing them.
10836         (gcc-extra-parts): Likewise.
10837         (install-leaf): Likewise.
10839 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
10841         * configure: Regenerated.
10843 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
10845         * configure: Regenerated.
10847 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
10848             Andrew Pinski  <pinskia@gmail.com>
10850         PR target/40959
10851         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
10853 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10855         PR target/45524
10856         * configure: Regenerated.
10858 2010-09-06  Andreas Schwab  <schwab@redhat.com>
10860         * configure: Regenerate.
10862 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
10864         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10865         64bit targets.
10866         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10867         for 64bit targets.
10869 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
10870             Iain Sandoe  <iains@gcc.gnu.org>
10872         PR target/45476
10873         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10874         LIB2FUNCS_EXCLUDE functions.
10876 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10878         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10879         Include dfp.m4.
10880         * configure: Regenerate.
10882 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
10884         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10885         i386/t-freebsd to tmake_file.
10886         * config/i386/t-freebsd: New file.
10887         * config/i386/libgcc-bsd.ver: New file.
10889 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
10891         * config.host (powerpc*-eabispe*): Set tmake_file.
10892         (powerpc*-eabi*): Likewise.
10893         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10894         crtbeginS, crtendS, crtbeginT.
10896 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
10898         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10899         to tmake_file.  Add crtfastmath.o to extra_parts.
10900         * config/mips/t-crtfm: New.
10902 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
10904         * config.host (sparc64-*-rtems*): New target.
10906 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10908         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10909         assembler syntax.
10911 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
10913         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10915 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10917         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10918         alpha-dec-osf5.0* support.
10920 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
10922         * config.host: Add lm32-*-rtems*.
10924 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10925             Uros Bizjak  <ubizjak@gmail.com>
10927         PR target/39048
10928         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10929         like other remaining 32-bit x86 OSes.
10930         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10931         assembler syntax.
10932         * config/i386/libgcc-sol2.ver: New file.
10933         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10935 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
10937         PR c/43553
10938         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10939         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10940         is used and substitute set_use_emutls.
10941         * configure: Regenerated.
10943 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
10945         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10947 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10949         PR target/38085
10950         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10951         MULTILIB_CFLAGS.
10952         ($(T)gcrt1.o): Likewise.
10953         ($(T)crt1.o): Likewise.
10954         ($(T)crti.o): Likewise.
10955         ($(T)crtn.o): Likewise.
10957 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10959         PR other/42980
10960         * Makefile.in (install): Use $(MAKE) string in rule, for
10961         parallel make.
10963 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
10965         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10966         * config/mmix/t-mmix: New file.
10967         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10969 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
10971         PR java/41991
10972         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10973         SHLIB_MAPFILES.
10975 2010-01-04  Anthony Green  <green@moxielogic.com>
10977         * config/moxie/crti.asm, config/moxie/crtn.asm,
10978         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10979         config/moxie/t-moxie: New files.
10980         * config.host: Add t-moxie-softfp reference.
10982 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
10984         PR other/39888
10985         * config/t-slibgcc-darwin: Fix embedded rpaths for
10986         --enable-version-specific-runtime-libs, build extension stub
10987         libs exposing features available from current libgcc_s.
10989 2009-11-11  Jon Beniston  <jon@beniston.com>
10991         * config.host: Add lm32 targets.
10992         * config/lm32: New directory.
10993         * config/lm32/libgcc_lm32.h: New file.
10994         * config/lm32/_mulsi3.c: New file.
10995         * config/lm32/_udivmodsi4.c: New file.
10996         * config/lm32/_divsi3.c: New file.
10997         * config/lm32/_modsi3.c: New file.
10998         * config/lm32/_udivsi3.c: New file.
10999         * config/lm32/_umodsi3.c: New file.
11000         * config/lm32/_lshrsi3.S: New file.
11001         * config/lm32/_ashrsi3.S: New file.
11002         * config/lm32/_ashlsi3.S: New file.
11003         * config/lm32/crti.S: New file.
11004         * config/lm32/crtn.S: New file.
11005         * config/lm32/t-lm32: New file.
11006         * config/lm32/t-elf: New file.
11007         * config/lm32/t-uclinux: New file.
11009 2009-10-26  Nick Clifton  <nickc@redhat.com>
11011         * config.host: Add support for RX target.
11012         * config/rx: New directory.
11013         * config/rx/rx-abi-functions.c: New file. Supplementary
11014         functions for libgcc to support the RX ABI.
11015         * config/rx/rx-abi.h: New file.  Supplementary header file for
11016         libgcc RX ABI functions.
11017         * config/rx/t-rx: New file: Makefile fragment for building
11018         libgcc for the RX.
11020 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
11022         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11023         constraint of y0 to "g".
11025 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11027         * config.host: Include the s390 makefile fragments.
11028         * config/s390/32/_fixdfdi.c: New file.
11029         * config/s390/32/_fixsfdi.c: New file.
11030         * config/s390/32/_fixtfdi.c: New file.
11031         * config/s390/32/_fixunsdfdi.c: New file.
11032         * config/s390/32/_fixunssfdi.c: New file.
11033         * config/s390/32/_fixunstfdi.c: New file.
11034         * config/s390/32/t-floattodi: New file.
11035         * config/s390/libgcc-glibc.ver: New file.
11036         * config/s390/t-crtstuff: New file.
11037         * config/s390/t-linux: New file.
11038         * config/s390/t-tpf: New file.
11040 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11042         * configure.ac (AC_PREREQ): Bump to 2.64.
11044 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
11046         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11048 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11050         * configure: Regenerate.
11052 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
11054         * config.host (ia64-hp-*vms*): New target.
11055         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11056         with ia64-hp-*vms*.
11058 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11060         * configure.ac: Add snippet for maintainer-mode.
11061         * configure: Regenerate.
11062         * Makefile.in (AUTOCONF, configure_deps): New variables.
11063         ($(srcdir)/configure)): New rule, active only with maintainer
11064         mode turned on.
11066 2009-06-23  DJ Delorie  <dj@redhat.com>
11068         Add MeP port.
11069         * config.host: Add mep support.
11071 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
11073         * config.host: Add i386/${host_address}/t-fprules-softfp and
11074         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
11076         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11077         for mingw targets.
11078         * config/i386/64/_multc3.c: Likewise.
11079         * config/i386/64/_powitf2.c: Likewise.
11080         * config/i386/64/eqtf2.c: Likewise.
11081         * config/i386/64/getf2.c: Likewise.
11082         * config/i386/64/letf2.c: Likewise.
11083         * config/i386/64/letf2.c: Likewise.
11084         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11085         unsigned long long for x64 mingw targets.
11086         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11087         (_FP_I_TYPE): Define as long long for x64 mingw target.
11089 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
11091         * config.host (vax-*-linux*): New.
11093 2009-05-31  Anthony Green  <green@moxielogic.com>
11095         * config.host: Add moxie support.
11096         * config/moxie/t-moxie: New file.
11098 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
11100         * config.host: Add i386/${host_address}/t-fprules-softfp and
11101         t-softfp to tmake_file for i[34567]86-*-cygwin*.
11103 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
11105         * config.host: Add i386/${host_address}/t-fprules-softfp to
11106         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11108 2009-04-09  Nick Clifton  <nickc@redhat.com>
11110         * config/ia64/tf-signs.c: Change copyright header to refer to
11111         version 3 of the GNU General Public License with version 3.1
11112         of the GCC Runtime Library Exception and to point readers at
11113         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11114         web page.
11115         * config/i386/32/tf-signs.c: Likewise.
11116         * config/libbid/_addsub_dd.c: Likewise.
11117         * config/libbid/_addsub_sd.c: Likewise.
11118         * config/libbid/_addsub_td.c: Likewise.
11119         * config/libbid/_dd_to_df.c: Likewise.
11120         * config/libbid/_dd_to_di.c: Likewise.
11121         * config/libbid/_dd_to_sd.c: Likewise.
11122         * config/libbid/_dd_to_sf.c: Likewise.
11123         * config/libbid/_dd_to_si.c: Likewise.
11124         * config/libbid/_dd_to_td.c: Likewise.
11125         * config/libbid/_dd_to_tf.c: Likewise.
11126         * config/libbid/_dd_to_udi.c: Likewise.
11127         * config/libbid/_dd_to_usi.c: Likewise.
11128         * config/libbid/_dd_to_xf.c: Likewise.
11129         * config/libbid/_df_to_dd.c: Likewise.
11130         * config/libbid/_df_to_sd.c: Likewise.
11131         * config/libbid/_df_to_td.c: Likewise.
11132         * config/libbid/_di_to_dd.c: Likewise.
11133         * config/libbid/_di_to_sd.c: Likewise.
11134         * config/libbid/_di_to_td.c: Likewise.
11135         * config/libbid/_div_dd.c: Likewise.
11136         * config/libbid/_div_sd.c: Likewise.
11137         * config/libbid/_div_td.c: Likewise.
11138         * config/libbid/_eq_dd.c: Likewise.
11139         * config/libbid/_eq_sd.c: Likewise.
11140         * config/libbid/_eq_td.c: Likewise.
11141         * config/libbid/_ge_dd.c: Likewise.
11142         * config/libbid/_ge_sd.c: Likewise.
11143         * config/libbid/_ge_td.c: Likewise.
11144         * config/libbid/_gt_dd.c: Likewise.
11145         * config/libbid/_gt_sd.c: Likewise.
11146         * config/libbid/_gt_td.c: Likewise.
11147         * config/libbid/_isinfd128.c: Likewise.
11148         * config/libbid/_isinfd32.c: Likewise.
11149         * config/libbid/_isinfd64.c: Likewise.
11150         * config/libbid/_le_dd.c: Likewise.
11151         * config/libbid/_le_sd.c: Likewise.
11152         * config/libbid/_le_td.c: Likewise.
11153         * config/libbid/_lt_dd.c: Likewise.
11154         * config/libbid/_lt_sd.c: Likewise.
11155         * config/libbid/_lt_td.c: Likewise.
11156         * config/libbid/_mul_dd.c: Likewise.
11157         * config/libbid/_mul_sd.c: Likewise.
11158         * config/libbid/_mul_td.c: Likewise.
11159         * config/libbid/_ne_dd.c: Likewise.
11160         * config/libbid/_ne_sd.c: Likewise.
11161         * config/libbid/_ne_td.c: Likewise.
11162         * config/libbid/_sd_to_dd.c: Likewise.
11163         * config/libbid/_sd_to_df.c: Likewise.
11164         * config/libbid/_sd_to_di.c: Likewise.
11165         * config/libbid/_sd_to_sf.c: Likewise.
11166         * config/libbid/_sd_to_si.c: Likewise.
11167         * config/libbid/_sd_to_td.c: Likewise.
11168         * config/libbid/_sd_to_tf.c: Likewise.
11169         * config/libbid/_sd_to_udi.c: Likewise.
11170         * config/libbid/_sd_to_usi.c: Likewise.
11171         * config/libbid/_sd_to_xf.c: Likewise.
11172         * config/libbid/_sf_to_dd.c: Likewise.
11173         * config/libbid/_sf_to_sd.c: Likewise.
11174         * config/libbid/_sf_to_td.c: Likewise.
11175         * config/libbid/_si_to_dd.c: Likewise.
11176         * config/libbid/_si_to_sd.c: Likewise.
11177         * config/libbid/_si_to_td.c: Likewise.
11178         * config/libbid/_td_to_dd.c: Likewise.
11179         * config/libbid/_td_to_df.c: Likewise.
11180         * config/libbid/_td_to_di.c: Likewise.
11181         * config/libbid/_td_to_sd.c: Likewise.
11182         * config/libbid/_td_to_sf.c: Likewise.
11183         * config/libbid/_td_to_si.c: Likewise.
11184         * config/libbid/_td_to_tf.c: Likewise.
11185         * config/libbid/_td_to_udi.c: Likewise.
11186         * config/libbid/_td_to_usi.c: Likewise.
11187         * config/libbid/_td_to_xf.c: Likewise.
11188         * config/libbid/_tf_to_dd.c: Likewise.
11189         * config/libbid/_tf_to_sd.c: Likewise.
11190         * config/libbid/_tf_to_td.c: Likewise.
11191         * config/libbid/_udi_to_dd.c: Likewise.
11192         * config/libbid/_udi_to_sd.c: Likewise.
11193         * config/libbid/_udi_to_td.c: Likewise.
11194         * config/libbid/_unord_dd.c: Likewise.
11195         * config/libbid/_unord_sd.c: Likewise.
11196         * config/libbid/_unord_td.c: Likewise.
11197         * config/libbid/_usi_to_dd.c: Likewise.
11198         * config/libbid/_usi_to_sd.c: Likewise.
11199         * config/libbid/_usi_to_td.c: Likewise.
11200         * config/libbid/_xf_to_dd.c: Likewise.
11201         * config/libbid/_xf_to_sd.c: Likewise.
11202         * config/libbid/_xf_to_td.c: Likewise.
11203         * config/libbid/bid128.c: Likewise.
11204         * config/libbid/bid128_2_str.h: Likewise.
11205         * config/libbid/bid128_2_str_macros.h: Likewise.
11206         * config/libbid/bid128_2_str_tables.c: Likewise.
11207         * config/libbid/bid128_add.c: Likewise.
11208         * config/libbid/bid128_compare.c: Likewise.
11209         * config/libbid/bid128_div.c: Likewise.
11210         * config/libbid/bid128_fma.c: Likewise.
11211         * config/libbid/bid128_logb.c: Likewise.
11212         * config/libbid/bid128_minmax.c: Likewise.
11213         * config/libbid/bid128_mul.c: Likewise.
11214         * config/libbid/bid128_next.c: Likewise.
11215         * config/libbid/bid128_noncomp.c: Likewise.
11216         * config/libbid/bid128_quantize.c: Likewise.
11217         * config/libbid/bid128_rem.c: Likewise.
11218         * config/libbid/bid128_round_integral.c: Likewise.
11219         * config/libbid/bid128_scalb.c: Likewise.
11220         * config/libbid/bid128_sqrt.c: Likewise.
11221         * config/libbid/bid128_string.c: Likewise.
11222         * config/libbid/bid128_to_int16.c: Likewise.
11223         * config/libbid/bid128_to_int32.c: Likewise.
11224         * config/libbid/bid128_to_int64.c: Likewise.
11225         * config/libbid/bid128_to_int8.c: Likewise.
11226         * config/libbid/bid128_to_uint16.c: Likewise.
11227         * config/libbid/bid128_to_uint32.c: Likewise.
11228         * config/libbid/bid128_to_uint64.c: Likewise.
11229         * config/libbid/bid128_to_uint8.c: Likewise.
11230         * config/libbid/bid32_to_bid128.c: Likewise.
11231         * config/libbid/bid32_to_bid64.c: Likewise.
11232         * config/libbid/bid64_add.c: Likewise.
11233         * config/libbid/bid64_compare.c: Likewise.
11234         * config/libbid/bid64_div.c: Likewise.
11235         * config/libbid/bid64_fma.c: Likewise.
11236         * config/libbid/bid64_logb.c: Likewise.
11237         * config/libbid/bid64_minmax.c: Likewise.
11238         * config/libbid/bid64_mul.c: Likewise.
11239         * config/libbid/bid64_next.c: Likewise.
11240         * config/libbid/bid64_noncomp.c: Likewise.
11241         * config/libbid/bid64_quantize.c: Likewise.
11242         * config/libbid/bid64_rem.c: Likewise.
11243         * config/libbid/bid64_round_integral.c: Likewise.
11244         * config/libbid/bid64_scalb.c: Likewise.
11245         * config/libbid/bid64_sqrt.c: Likewise.
11246         * config/libbid/bid64_string.c: Likewise.
11247         * config/libbid/bid64_to_bid128.c: Likewise.
11248         * config/libbid/bid64_to_int16.c: Likewise.
11249         * config/libbid/bid64_to_int32.c: Likewise.
11250         * config/libbid/bid64_to_int64.c: Likewise.
11251         * config/libbid/bid64_to_int8.c: Likewise.
11252         * config/libbid/bid64_to_uint16.c: Likewise.
11253         * config/libbid/bid64_to_uint32.c: Likewise.
11254         * config/libbid/bid64_to_uint64.c: Likewise.
11255         * config/libbid/bid64_to_uint8.c: Likewise.
11256         * config/libbid/bid_b2d.h: Likewise.
11257         * config/libbid/bid_binarydecimal.c: Likewise.
11258         * config/libbid/bid_conf.h: Likewise.
11259         * config/libbid/bid_convert_data.c: Likewise.
11260         * config/libbid/bid_decimal_data.c: Likewise.
11261         * config/libbid/bid_decimal_globals.c: Likewise.
11262         * config/libbid/bid_div_macros.h: Likewise.
11263         * config/libbid/bid_dpd.c: Likewise.
11264         * config/libbid/bid_flag_operations.c: Likewise.
11265         * config/libbid/bid_from_int.c: Likewise.
11266         * config/libbid/bid_functions.h: Likewise.
11267         * config/libbid/bid_gcc_intrinsics.h: Likewise.
11268         * config/libbid/bid_inline_add.h: Likewise.
11269         * config/libbid/bid_internal.h: Likewise.
11270         * config/libbid/bid_round.c: Likewise.
11271         * config/libbid/bid_sqrt_macros.h: Likewise.
11273 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
11275         * Makefile.in: Change copyright header to refer to version
11276         3 of the GNU General Public License and to point readers at the
11277         COPYING3 file and the FSF's license web page.
11278         * config.host: Likewise.
11280 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
11282         * config.host: Reorder and merge to match config.gcc change.
11284 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
11286         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11288 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
11290         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11291         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11292         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11293         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11295 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
11297         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11298         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11300 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
11302         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11303         ia64/t-softfp-compat to tmake_file.
11305         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11307         * config/ia64/__divxf3.asm: New.
11308         * config/ia64/_fixtfdi.asm: Likewise.
11309         * config/ia64/_fixunstfdi.asm: Likewise.
11310         * config/ia64/_floatditf.asm: Likewise.
11311         * config/ia64/t-fprules-softfp: Likewise.
11312         * config/ia64/t-softfp-compat: Likewise.
11313         * config/ia64/tf-signs.c: Likewise.
11315 2009-01-18  Ben Elliston  <bje@au.ibm.com>
11317         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11319 2009-01-16  Ben Elliston  <bje@au.ibm.com>
11321         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11322         to tmake_file.
11324 2009-01-13  Ben Elliston  <bje@au.ibm.com>
11326         * config/t-softfp: New file.
11327         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11328         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11330 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
11332         * config.host: Add m32r*-*-rtems*.
11334 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
11336         * config.host: Add m32c*-*-rtems*.
11338 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11340         PR bootstrap/33100
11341         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11342         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11343         * configure: Regenerate.
11344         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11345         tmake_file here from gcc/config.gcc.
11346         Move extra_parts here from gcc/config.gcc.
11347         * config/i386/t-sol2: Move here from gcc/config/i386.
11348         Use gcc_srcdir instead of srcdir.
11350 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
11352         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11353         case.
11355 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
11357         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11359 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
11361         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11363 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
11365         Add picoChip port.
11366         * config.host: Add picochip-*-*.
11368 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
11370         * config.host: Match more processor names for Xtensa.
11372 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
11374         * config/i386/64/t-softfp-compat: Update comments.
11376 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11378         * config/i386/64/_divtc3-compat.c: Moved to ...
11379         * config/i386/64/_divtc3.c: Here.
11381         * config/i386/64/_multc3-compat.c: Moved to ...
11382         * config/i386/64/_multc3.c: Here.
11384         * config/i386/64/_powitf2-compat.c: Moved to ...
11385         * config/i386/64/_powitf2.c: Here.
11387         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11388         .c suffix instead of -compat.c.
11390 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
11392         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11393         (_FP_MUL_MEAT_D): Ditto.
11394         (_FP_DIV_MEAT_S): Ditto.
11395         (_FP_DIV_MEAT_D): Ditto.
11397 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
11399         * Makefile.in: Add support for __sync_* libgcc functions.
11401 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
11403         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11405 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11407         PR boostrap/36702
11408         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11409         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
11411         * config/i386/64/t-fprules-softfp: Moved to ...
11412         * config/i386/64/t-softfp-compat: This.  New.
11414 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
11416         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11417         Initialize f with 0.0.
11419 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11421         PR target/36669
11422         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11424         * config/i386/64/_divtc3-compat.c: New.
11425         * config/i386/64/_multc3-compat.c: Likewise.
11426         * config/i386/64/_powitf2-compat.c: Likewise.
11427         * config/i386/64/eqtf2.c: Likewise.
11428         * config/i386/64/getf2.c: Likewise.
11429         * config/i386/64/letf2.c: Likewise.
11430         * config/i386/64/t-fprules-softfp: Likewise.
11432 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11434         * config.host: Add i386/${host_address}/t-fprules-softfp to
11435         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
11436         i[34567]86-*-linux*, x86_64-*-linux*.
11438         * configure.ac: Set host_address to 64 or 32 for x86.
11439         * configure: Regenerated.
11441         * Makefile.in (config.status): Also depend on
11442         $(srcdir)/config.host.
11444         * config/i386/32/t-fprules-softfp: New.
11445         * config/i386/32/tf-signs.c: Likewise.
11447         * config/i386/64/sfp-machine.h: New. Moved from gcc.
11449 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11450             Uros Bizjak  <ubizjak@gmail.com>
11452         * config/i386/32/sfp-machine.h: New.
11454 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
11456         * config/rs6000/t-ppccomm: Remove rules that conflict with
11457         auto-generated rules.
11459 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11461         * configure.ac: sinclude override.m4.
11462         * configure: Regenerate.
11464 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
11466         * configure: Regenerate.
11468 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
11470         * Makefile.in (DECNUMINC): Remove
11471         -I$(MULTIBUILDTOP)../../libdecnumber.
11472         * gstdint.h: New.
11474 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
11476         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11477         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11478         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11479         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11480         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11481         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11482         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11483         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11484         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11485         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11486         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11487         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11488         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11489         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11491 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
11493         * config.host (sh2[lbe]*-*-linux*): Allow target.
11495 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
11497         * config/rs6000/t-ppccomm: Add build rules for new files.
11498         (LIB2ADD_ST): New variable.
11500 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
11502         PR target/34210
11503         PR target/35508
11504         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11505         * config/t-avr: New file. Build 16bit libgcc functions.
11507 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
11509         PR target/35401
11510         * config/t-slibgcc-darwin: Make install-leaf dependent on
11511         install-darwin-libgcc-stubs instead of install.
11513 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
11515         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11516         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11517         sh-*-rtemscoff*): Remove cases.
11519 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
11521         * Makefile.in (all): Use install-leaf rather than install.
11522         (install): Split most of the rule into...
11523         (install-leaf): ...this new one.
11525 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
11526             Paolo Bonzini  <bonzini@gnu.org>
11528         PR target/30572
11529         * Makefile.in: Use @shlib_slibdir@ substitution to get
11530         correct install name on darwin.
11531         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
11533 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
11535         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11536         cris-*-elf and cris-*-none.
11537         (crisv32-*-linux*): Similar, as cris-*-linux*.
11539 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
11541         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11543 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
11545         PR regression/33926
11546         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11547         * configure: Regenerated.
11549 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
11551         * Makefile.in (dfp-filenames): Replace decimal_globals,
11552         decimal_data, binarydecimal and convert_data with
11553         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11554         and bid_convert_data, respectively.
11556 2007-09-17  Chao-ying Fu  <fu@mips.com>
11557             Nigel Stephens  <nigel@mips.com>
11559         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11560         * Makefile.in (fixed_point): Define.
11561         Check if fixed_point is yes to build support functions.
11562         * configure.ac: Check for fixed_point support.
11563         * configure: Regenerated.
11564         * gen-fixed.sh: New file to generate lists of fixed-point labels,
11565         funcs, modes, from, to.
11567 2007-09-11  Janis Johnson  <janis187@us.ibm.com
11569         * Makefile.in (dfp-filenames): Add bid128_noncomp.
11571 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
11573         * Makefile.in (dfp-filenames): Remove decUtility, add
11574         decDouble, decPacked, decQuad, decSingle.
11576 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
11578         * config.host : Add x86_64-elf target.
11580 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
11582         * configure.ac (set_have_cc_tls): Add a missing =.
11583         * configure: Regenerated.
11585 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
11587         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11588         and x86_64-*-linux*.
11590         * config/t-tls: New file.
11592         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
11594         * configure.ac: Include ../config/enable.m4 and
11595         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
11596         supports TLS and substitute set_have_cc_tls.
11597         * configure: Regenerated.
11599 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
11601         * Makefile.in: Use libbid for DFP when BID is enabled.
11603 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
11605         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
11606         extra_parts. Add config/i386/t-cygming to tmake_file.
11607         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11609 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
11610             Danny Smith  <dannysmith@users.sourceforge.net>
11612         PR target/29498
11613         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11614         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
11615         * config/i386/t-crtfm: Compile crtfastmath.o with
11616         -minline-all-stringops.
11618 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
11620         * config.host (sparc-wrs-vxworks): New target.
11622 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
11624         * config.host: Recognize fido.
11626 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
11628         * configure: Check host, not target, for decimal float support.
11630 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
11632         * config/i386/t-crtpc: New file.
11633         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
11634         (x86_64-*-linux*): Ditto.
11636 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
11638         * config.host (x86_64-*-mingw*): New target.
11640 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
11641             H.J. Lu  <hongjiu.lu@intel.com>
11643         * Makefile.in (enable_decimal_float): New.
11644         (DECNUMINC): Add
11645         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11646         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11647         (decbits-filenames): This.
11648         (decbits-objects): New.
11649         (libgcc-objects): Add $(decbits-objects).
11651         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11652         Substitute enable_decimal_float.
11653         * configure: Regenerated.
11655 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
11657         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11659 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
11661         * Makefile.in (install-info): New dummy target.
11663 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
11665         * config.host (bfin*-linux-uclibc*): Set extra_parts.
11667 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
11669         * Makefile.in: Add install-html and install-pdf dummy
11670         targets.
11672 2007-02-05  Roger Sayle  <roger@eyesopen.com>
11673             Daniel Jacobowitz  <dan@codesourcery.com>
11675         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11676         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11677         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11679 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
11681         * Makefile.in (dec-filenames): Add decExcept.
11683 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
11685         PR bootstrap/30469
11686         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11687         -fprofile-use.
11689 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
11691         * configure.ac: Add --enable-version-specific-runtime-libs.
11692         Correct $slibdir default.
11693         * configure: Regenerated.
11695 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
11697         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11699 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
11701         PR target/30519
11702         * config.host (alpha*-*-linux*): Set extra_parts.
11704 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
11706         * config/sh/t-linux: New.
11707         * config.host (sh*-*-linux*): Set tmake_file.
11709 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
11711         * Makefile.in (install): Handle multilibs.
11713 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
11715         * Makefile.in: Added .PHONY entry for documentation targets.
11717 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
11719         * Makefile.in: Add empty info, html, dvi, pdf targets.
11721 2007-01-04  Mike Stump  <mrs@apple.com>
11723         * Makefile.in (MAKEINFO): Remove.
11724         (PERL): Likewise.
11726 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
11728         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11729         * configure: Regenerate.
11730         * Makefile.in (host_subdir): Substitute it.
11731         (gcc_objdir): Use it.
11733 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11735         * config.host (ia64*-*-linux*): Set tmake_file.
11737 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11739         * Makefile.in (version): Define.
11741 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
11742             Paolo Bonzini  <bonzini@gnu.org>
11744         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11745         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11746         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11747         config/sparc/t-crtfm, config/t-slibgcc-darwin,
11748         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11749         shared-object.mk, siditi-object.mk, static-object.mk: New files.
11750         * configure: Generated.
11752 Copyright (C) 2007-2021 Free Software Foundation, Inc.
11754 Copying and distribution of this file, with or without modification,
11755 are permitted in any medium without royalty provided the copyright
11756 notice and this notice are preserved.