[Ada] Do not perform useless work in Check_No_Parts_Violations
[official-gcc.git] / libgcc / ChangeLog
blobdc52ff5783d4e473262d9e2c101a8ec32d5dd841
1 2021-06-11  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
3         PR target/99939
4         * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
5         macro.
6         * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
7         on passing -mcmse option.
9 2021-06-10  Segher Boessenkool  <segher@kernel.crashing.org>
11         * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
12         _ARCH_PPC64 .
14 2021-06-09  Carl Love  <cel@us.ibm.com>
16         * config.host: Add if test and set for
17         libgcc_cv_powerpc_3_1_float128_hw.
18         * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
19         Change calls of __fixkfti to __fixkfti_sw.
20         * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
21         Change calls of __fixunskfti to __fixunskfti_sw.
22         * config/rs6000/float128-p10.c (__floattikf_hw,
23         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
24         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
25         (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
26         __fixunskfti_resolve): Add resolve functions.
27         (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
28         * config/rs6000/float128-sed (floattitf, __floatuntitf,
29         __fixtfti, __fixunstfti): Add editor commands to change names.
30         * config/rs6000/float128-sed-hw (__floattitf,
31         __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
32         change names.
33         * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
34         * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
35         * config/rs6000/quad-float128.h (__floattikf_sw,
36         __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
37         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
38         __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
39         * config/rs6000/t-float128 (floattikf, floatuntikf,
40         fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
41         (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
42         file names to fp128_ppc_funcs.
43         * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
44         fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
45         fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
46         * config/rs6000/t-float128-p10-hw: New file.
47         * configure: Update script for isa 3.1 128-bit float support.
48         * configure.ac: Add check for 128-bit float hardware support.
49         * config/rs6000/fixkfti-sw.c: New file.
50         * config/rs6000/fixunskfti-sw.c: New file.
51         * config/rs6000/floattikf-sw.c: New file.
52         * config/rs6000/floatuntikf-sw.c: New file.
54 2021-05-13  Dimitar Dimitrov  <dimitar@dinux.eu>
56         * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
58 2021-05-13  Martin Liska  <mliska@suse.cz>
60         * libgcov-driver.c: Fix GNU coding style.
62 2021-05-10  Martin Liska  <mliska@suse.cz>
64         * libgcov-driver.c (gcov_version): Use different name that does
65         not clash with newly introduced macro.
67 2021-04-29  Eric Botcazou  <ebotcazou@adacore.com>
69         * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
70         if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
71         * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
73 2021-04-28  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
75         * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
76         Define.
77         (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
78         * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
79         Define.
80         (__divkc3): Improve complex divide.
82 2021-04-23  Michael Meissner  <meissner@linux.ibm.com>
84         PR target/98952
85         * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
86         trampoline size comparison in 32-bit by reversing test and
87         combining load immediate with compare.
88         (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
89         in 32-bit by reversing test and combining load immediate with
90         compare.
92 2021-04-05  Florian Weimer  <fweimer@redhat.com>
93             Michael Meissner   <meissner@linux.ibm.com>
95         * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
96         point functions for $(decimal_float) only.
98 2021-04-03  Jakub Jelinek  <jakub@redhat.com>
100         PR target/97653
101         * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
102         $(objext) instead of $(object).  Use _floatunditf instead of
103         _floatunsditf.  Add tf <-> ti conversion objects.
104         (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
106 2021-03-29  Michael Meissner  <meissner@linux.ibm.com>
108         * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
109         (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
110         (fp128_decstr_objs): Delete.
111         * dfp-bit.h: Call __sprintfieee128 to do conversions from
112         _Float128 to a Decimal type.  Call __strtoieee128 to do
113         conversions from a Decimal type to _Float128.
114         * config/rs6000/_sprintfkf.c: Delete file.
115         * config/rs6000/_sprintfkf.h: Delete file.
116         * config/rs6000/_strtokf.c: Delete file.
117         * config/rs6000/_strtokf.h: Delete file.
119 2021-03-23  Marcus Comstedt  <marcus@mc.pp.se>
121         * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
122         to __BYTE_ORDER__.
124 2021-03-06  Jakub Jelinek  <jakub@redhat.com>
126         PR gcov-profile/99406
127         * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
128         defined, define these macros if not defined already.
130 2021-03-04  Martin Liska  <mliska@suse.cz>
132         PR gcov-profile/99105
133         * libgcov-driver.c (write_top_counters): Rename to ...
134         (write_topn_counters): ... this.
135         (write_one_data): Pre-allocate buffer for number of items
136         in the corresponding linked lists.
137         * libgcov.h (malloc_mmap): New function.
138         (allocate_gcov_kvp): Use it.
140 2021-03-04  Martin Liska  <mliska@suse.cz>
142         PR gcov-profile/99385
143         * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
145 2021-03-03  Martin Liska  <mliska@suse.cz>
147         PR gcov-profile/97461
148         * config.in: Regenerate.
149         * configure: Likewise.
150         * configure.ac: Check sys/mman.h header file
151         * libgcov-driver.c (struct gcov_kvp): Remove static
152         pre-allocated pool and use a dynamic one.
153         * libgcov.h (MMAP_CHUNK_SIZE): New.
154         (gcov_counter_add): Use mmap to allocate pool for struct
155         gcov_kvp.
157 2021-03-02  Michael Meissner  <meissner@linux.ibm.com>
159         * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
160         the function.
161         * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
163 2021-02-24  Jakub Jelinek  <jakub@redhat.com>
165         PR libgcc/99236
166         * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
167         negation of m in unsigned type.
169 2021-02-24  Christophe Lyon  <christophe.lyon@linaro.org>
170             Hau Hsu  <hsuhau617@gmail.com>
172         PR target/99157
173         * config/arm/t-arm: Fix cmse support detection.
175 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
177         * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
179 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
181         * config/rs6000/_dd_to_kf.c: New file.
182         * config/rs6000/_kf_to_dd.c: New file.
183         * config/rs6000/_kf_to_sd.c: New file.
184         * config/rs6000/_kf_to_td.c: New file.
185         * config/rs6000/_sd_to_kf.c: New file.
186         * config/rs6000/_sprintfkf.c: New file.
187         * config/rs6000/_sprintfkf.h: New file.
188         * config/rs6000/_strtokf.h: New file.
189         * config/rs6000/_strtokf.c: New file.
190         * config/rs6000/_td_to_kf.c: New file.
191         * config/rs6000/quad-float128.h: Add new declarations.
192         * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
193         (fp128_decstr_funcs): New macro.
194         (ibm128_dec_funcs): New macro.
195         (fp128_ppc_funcs): Add the new conversions.
196         (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
197         compiled with -mabi=ieeelongdouble.
198         (fp128_decstr_objs): Force __float128 <-> string conversions to be
199         compiled with -mabi=ibmlongdouble.
200         (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
201         compiled with -mabi=ieeelongdouble.
202         (FP128_CFLAGS_DECIMAL): New macro.
203         (IBM128_CFLAGS_DECIMAL): New macro.
204         * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
205         (BFP_TO_DFP): Add PowerPC _Float128 support.
206         * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
207         IEEE 128-bit floating point.
208         (DFP_TO_BFP): Add PowerPC _Float128 support.
209         (BFP_TO_DFP): Add PowerPC _Float128 support.
210         (BFP_SPRINTF): New macro.
212 2021-01-27  Jakub Jelinek  <jakub@redhat.com>
214         * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
215         * config/i386/savms64f.h: Likewise.
216         * config/i386/resms64.h: Likewise.
217         * config/i386/resms64f.h: Likewise.
218         * config/i386/resms64x.h: Likewise.
219         * config/i386/resms64fx.h: Likewise.
221 2021-01-26  Martin Liska  <mliska@suse.cz>
223         PR gcov-profile/98739
224         * libgcov.h (gcov_topn_add_value): Do not train when
225         we have a merged profile with a negative number of total
226         value.
228 2021-01-25  Martin Liska  <mliska@suse.cz>
230         PR gcov-profile/98739
231         * libgcov-merge.c (__gcov_merge_topn): Mark when merging
232         ends with a dropped counter.
233         * libgcov.h (gcov_topn_add_value): Add return value.
235 2021-01-13  Stafford Horne  <shorne@gmail.com>
237         * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
238         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
239         FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
240         FP_EX_ALL): New constant macros.
241         (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
242         FP_HANDLE_EXCEPTIONS): New macros.
243         (_FP_TININESS_AFTER_ROUNDING): Change to 1.
245 2021-01-13  Samuel Thibault  <samuel.thibault@gnu.org>
247         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
248         posix siginfo case to struct handler_args. Detect between legacy
249         and siginfo from the second parameter, which is a small sigcode in
250         the legacy case, and a pointer in the siginfo case.
252 2020-12-20  Max Filippov  <jcmvbkbc@gmail.com>
254         * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
255         functions.
256         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
257         _bswapdi2.
259 2020-12-08  Ian Lance Taylor  <iant@golang.org>
261         * generic-morestack-thread.c (free_segments): Block signals during
262         thread exit.
264 2020-12-03  Michael Meissner  <meissner@linux.ibm.com>
266         PR libgcc/97543
267         PR libgcc/97643
268         * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
269         (IBM128_SHARED_OBJS): New make variable.
270         (IBM128_OBJS): New make variable.  Set all objects to use the
271         explicit IBM format, and disable gnu attributes.
272         (IBM128_CFLAGS): New make variable.
273         (gcc_s_compile): Add -mno-gnu-attribute to all shared library
274         modules.
276 2020-12-03  Alexandre Oliva  <oliva@adacore.com>
278         * config/t-vxworks (LIB2ADD): Drop.
279         * config/t-vxworks7 (LIB2ADD): Likewise.
280         * config/vxcache.c: Remove.
282 2020-11-30  Stefan Kanthak  <stefan.kanthak@nexgo.de>
284         * libgcc2.c (bswapsi2): Make constants unsigned.
286 2020-11-25  Stefan Kanthak  <stefan.kanthak@nexgo.de>
288         * libgcc2.c (absvSI2): Simplify/improve implementation by using
289         builtin_add_overflow.
290         (absvsi2, absvDI2): Likewise.
292 2020-11-20  Maciej W. Rozycki  <macro@linux-mips.org>
294         * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
295         (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
297 2020-11-18  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
299         * config/msp430/lib2hw_mul.S (mult64_hw): New.
300         (if MUL_32): Use mult64_hw for __muldi3.
301         (if MUL_F5): Use mult64_hw for __muldi3.
302         * config/msp430/lib2mul.c (__muldi3): New.
303         * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
305 2020-11-17  Alan Modra  <amodra@gmail.com>
307         * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
308         (LIB2_SIDITI_CONV_FUNCS): Define.
309         * config/rs6000/ppc64-fp.c: Delete file.
311 2020-11-15  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
313         * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
314         hwmult library functions.
316 2020-11-10  Jeff Law  <law@redhat.com>
318         * libgcc2.c: Fix whitespace issues in most recent change.
320 2020-11-10  Stefan Kanthak  <stefan.kanthak@nexgo.de>
322         * libgcc2.c (__addvSI3): Use overflow builtins.
323         (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
324         (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
325         (__negvsi2, __negvDI2): Likewise.
326         (__cmpdi2, __ucmpdi2): Adjust implementation to improve
327         generated code.
328         * libgcc2.h (__ucmpdi2): Adjust prototype.
330 2020-11-03  Pat Bernardi  <bernardi@adacore.com>
331             Olivier Hainque   <hainque@adacore.com>
333         * config.host (aarch64-vxworks7*, tmake_file): Add
334         ${cpu_type}/t-lse and t-slibgcc-libgcc.
336 2020-11-03  Martin Storsjö  <martin@martin.st>
338         * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
339         before calling the callback.
341 2020-10-30  Olivier Hainque  <hainque@adacore.com>
342             Douglas Rupp  <rupp@adacore.com>
343             Pat Bernardi  <bernardi@adacore.com>
345         * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
346         to apply to VxWorks 7 as well.
348 2020-10-29  Olivier Hainque  <hainque@adacore.com>
350         * config/gthr-vxworks-tls.c: Fix preprocessor logic
351         controlling the definition of VX_ENTER_TLS_DTOR and
352         VX_LEAVE_TLS_DTOR based on a version major check.
354 2020-10-29  Olivier Hainque  <hainque@adacore.com>
356         * config/gthr-vxworks-thread.c: Fix name of macro used
357         to condition the inclusion of an actual implementation.
359 2020-10-27  Martin Liska  <mliska@suse.cz>
361         PR gcov-profile/97461
362         * libgcov.h (gcov_counter_add): Use first static counters
363         as it should help to have malloc wrappers set up.
365 2020-10-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
367         * config/gthr-vxworks-thread.c: #include gthr.h before
368         testing the guard defined there.
369         * config/gthr-vxworks-cond.c: Likewise.
371 2020-10-21  Douglas Rupp  <rupp@adacore.com>
372             Olivier Hainque  <hainque@adacore.com>
374         * config.host (powerpc*-wrs-vxworks7*): New case.
375         * configure.ac: Handle powerpc*-*-vxworks7* as
376         powerpc*-*-linux* for ppc-fp_type.
377         * configure: Regenerate.
379 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
381         * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
382         section on VxWorks >= 6.
383         * config/gthr-vxworks-thread.c: Condition the entire
384         implementation on __GTHREAD_CXX0X.
386 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
388         * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
389         section on VxWorks >= 6.
390         * config/gthr-vxworks-cond.c: Condition the entire
391         implementation on __GTHREAD_HAS_COND.
393 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
395         * config/gthr-vxworks.c: #include <taskLib.h>.
397 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
399         * config/gthr-vxworks.h: Rewrite remaining occurrence
400         of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
402 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
403              Olivier Hainque   <hainque@adacore.com>
405         * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
406         except on VxWorks 6.
408 2020-10-16  Olivier Hainque  <hainque@adacore.com>
410         * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
412 2020-10-14  Alexandre Oliva  <oliva@adacore.com>
414         * config/gthr-vxworks-thread.c: Include stdlib.h.
415         (tls_delete_hook): Prototype it.
416         (__gthread_cond_signal): Return early if no waiters.  Consume
417         signal in case the semaphore got full.  Use semInfoGet instead
418         of kernel-mode-only semInfo.
419         (__gthread_cond_timedwait): Use semExchange.  Always take the
420         mutex again before returning.
421         * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
423 2020-10-14  Olivier Hainque  <hainque@adacore.com>
425         * config/t-vxworks (LIBGCC2_INCLUDES): Append
426         $(MULTISUBDIR) to the -I path for fixed headers, as we
427         arrange to have different sets of such headers for different
428         multilibs when they are activated.
429         * config/t-vxworks7: Likewise.
431 2020-10-14  Olivier Hainque  <hainque@adacore.com>
433         * config/t-vxworks: Add include-fixed to include search
434         paths for libgcc on VxWorks.
435         * config/t-vxworks7: Likewise.
437 2020-10-09  H.J. Lu  <hjl.tools@gmail.com>
439         PR target/97148
440         * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
441         instead of <cetintrin.h>.
443 2020-10-01  Alan Modra  <amodra@gmail.com>
445         * config/rs6000/morestack.S,
446         * config/rs6000/tramp.S: Support __PCREL__ code.
448 2020-10-01  Alan Modra  <amodra@gmail.com>
450         * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
452 2020-09-29  Maciej W. Rozycki  <macro@wdc.com>
454         * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
455         variable.
457 2020-09-28  Richard Sandiford  <richard.sandiford@arm.com>
459         * config/aarch64/libgcc-softfp.ver: New file.
460         * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
462 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
464         * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
466 2020-09-22  Sergei Trofimovich  <siarheit@google.com>
468         PR gcov-profile/96913
469         * libgcov-driver.c (write_one_data): Avoid function pointer
470         comparison in TOP streaming decision.
472 2020-09-17  Torbjörn SVENSSON  <torbjorn.svensson@st.com>
473             Christophe Lyon  <christophe.lyon@linaro.org>
475         * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
476         qualifier.
477         (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
478         (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
479         missing prototypes.
481 2020-09-17  Wei Wentao  <weiwt.fnst@cn.fujitsu.com>
483         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
484         unused variable warning.
486 2020-09-16  Jojo R  <jiejie_rong@c-sky.com>
488         * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
490 2020-09-09  Tom de Vries  <tdevries@suse.de>
492         * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
493         Wbuiltin-declaration-mismatch.
495 2020-08-26  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
497         * config/msp430/slli.S (__gnu_mspabi_sllp): New.
498         * config/msp430/srai.S (__gnu_mspabi_srap): New.
499         * config/msp430/srli.S (__gnu_mspabi_srlp): New.
501 2020-08-13  Kwok Cheung Yeung  <kcy@codesourcery.com>
503         * config/nvptx/atomic.c: New.
504         * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
506 2020-08-03  Ian Lance Taylor  <iant@golang.org>
508         * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
510 2020-08-03  Jakub Jelinek  <jakub@redhat.com>
512         PR target/96402
513         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
514         of x(tmp0), x(tmp1) in STXP arguments.
516 2020-07-31  Maciej W. Rozycki  <macro@wdc.com>
518         * config/riscv/save-restore.S [__riscv_xlen == 64]
519         (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
520         (__riscv_save_2): Replace negative immediates used for the final
521         stack pointer adjustment with positive ones, right-shifted by 4.
523 2020-07-31  Martin Liska  <mliska@suse.cz>
525         * libgcov-driver.c: Add __gcov_kvp_pool
526         and __gcov_kvp_pool_index variables.
527         * libgcov.h (allocate_gcov_kvp): New.
528         (gcov_topn_add_value): Use it.
530 2020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
532         * config/aarch64/lse.S: Add PAC property note.
534 2020-07-23  Martin Liska  <mliska@suse.cz>
536         PR gcov-profile/96035
537         * libgcov-driver-system.c: Create gcov folders with 0777
538         so that it respects a system umask.
540 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
542         * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
544 2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
546         PR target/94891
547         * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
548         (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
549         (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
550         (MD_DEMANGLE_RETURN_ADDR): This.
551         (aarch64_post_extract_frame_addr): Rename to ...
552         (aarch64_demangle_return_addr): This.
553         (aarch64_post_frob_eh_handler_addr): Remove.
554         * unwind-dw2.c (uw_update_context): Demangle return address.
555         (uw_frob_return_addr): Remove.
557 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
559         PR target/96001
560         * config/aarch64/lse.S: Add BTI marking and related definitions,
561         and add BTI c to function entries.
563 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
565         * config/aarch64/lse.S: Add stack note.
567 2020-07-02  Martin Liska  <mliska@suse.cz>
569         PR gcov-profile/95348
570         * libgcov-driver.c (merge_one_data): Merge only profiles
571         that are not of non-zero type.
572         (write_one_data): Write counters only if there's one non-zero
573         value.
574         * libgcov-util.c (tag_function): Change signature from unsigned
575         to int.
576         (tag_blocks): Likewise.
577         (tag_arcs): Likewise.
578         (tag_counters): Likewise.
579         (tag_summary): Likewise.
580         (tag_lines): Read only if COUNTERS is non-zero.
581         (read_gcda_file): Handle negative length for COUNTERS type.
583 2020-06-25  Martin Liska  <mliska@suse.cz>
585         * libgcov-driver.c (merge_summary): Remove function as its name
586         is misleading and doing something different.
587         (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
588         in gcov-tool.
589         * libgcov-util.c (curr_object_summary): Remove.
590         (read_gcda_file): Remove unused curr_object_summary.
591         (gcov_merge): Merge summaries.
592         * libgcov.h: Add summary argument for gcov_info struct.
594 2020-06-24  H.J. Lu  <hjl.tools@gmail.com>
596         PR target/95259
597         * config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
598         "common/config/i386/i386-cpuinfo.h" and
599         "common/config/i386/cpuinfo.h".
600         (__cpu_features2): Changed to array.
601         (get_amd_cpu): Removed.
602         (get_intel_cpu): Likewise.
603         (get_available_features): Likewise.
604         (__cpu_indicator_init): Call cpu_indicator_init.
605         * config/i386/cpuinfo.h: Removed.
607 2020-06-23  David Edelsohn  <dje.gcc@gmail.com>
609         * Makefile.in: Remove uses of empty.mk. Use -include.
610         * config/avr/t-avr: Use -include.
611         * empty.mk: Delete.
613 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
615         * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
616         * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
617         and 64 bit with -maix64.
618         * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
619         Build and install AIX-style FAT libraries.
621 2020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
623         * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
624         'i386/gnu-unwind.h'
625         * config/i386/gnu-unwind.h: New file.
627 2020-06-17  Martin Liska  <mliska@suse.cz>
629         * libgcov-util.c (read_gcda_finalize): Remove const operator.
630         (merge_wrapper): Add both counts and use them properly.
631         (topn_to_memory_representation): New function.
632         (gcov_merge): Covert on disk representation to in memory
633         representation.
634         * libgcov.h: Remove const operator.
636 2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
638         * configure: Regenerate.
639         * configure.ac: Use AC_COMPILE_IFELSE instead of manual
640         preprocessor invocation to check for __XTENSA_CALL0_ABI__.
642 2020-06-09  Martin Liska  <mliska@suse.cz>
644         PR gcov-profile/95494
645         * libgcov-driver.c (write_top_counters): Cast first to
646         intptr_t as sizeof(*) != sizeof(gcov_type).
647         * libgcov.h (gcov_counter_set_if_null): Remove.
648         (gcov_topn_add_value): Cast first to intptr_t and update
649         linked list directly.
651 2020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
653         * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
654         with uw_install_context_1.
656 2020-06-04  Andreas Schwab  <schwab@suse.de>
658         PR target/59230
659         PR libfortran/59227
660         * config/ia64/t-softfp-compat (softfp_file_list): Filter out
661         soft-fp/divtf3.c.
662         (LIB2ADD): Add config/ia64/divtf3.c.
663         * config/ia64/divtf3.c: New file.
665 2020-06-03  Martin Liska  <mliska@suse.cz>
667         PR gcov-profile/95480
668         * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
669         * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
670         (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
671         (gcov_counter_set_if_null): Likewise.
673 2020-06-02  Jim Wilson  <jimw@sifive.com>
675         * config/riscv/div.S (__divdi3): For negative arguments, change bgez
676         to bgtz.
678 2020-06-02  Martin Liska  <mliska@suse.cz>
680         * libgcov.h (gcov_topn_add_value): Use xcalloc instead
681         of xmalloc.
683 2020-06-02  Martin Liska  <mliska@suse.cz>
685         * libgcov-driver.c (prune_topn_counter): Remove.
686         (prune_counters): Likewise.
687         (merge_one_data): Special case TOP N counters
688         as they have variable length.
689         (write_top_counters): New.
690         (write_one_data): Special case TOP N.
691         (dump_one_gcov): Do not prune TOP N counters.
692         * libgcov-merge.c (merge_topn_values_set): Remove.
693         (__gcov_merge_topn): Use gcov_topn_add_value.
694         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
695         Likewise here.
696         * libgcov.h (gcov_counter_add): New.
697         (gcov_counter_set_if_null): Likewise.
698         (gcov_topn_add_value): New.
700 2020-06-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
702         * config/i386/sfp-exceptions.c (struct fenv):
703         Add __attribute__ ((gcc_struct)).
705 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
707         PR bootstrap/95413
708         * configure: Regenerated.
710 2020-05-28  Dong JianQiang  <dongjianqiang2@huawei.com>
712         PR gcov-profile/95332
713         * libgcov-util.c (read_gcda_file): Call gcov_magic.
714         * libgcov.h (gcov_magic): Disable GCC poison.
716 2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
718         PR target/95212
719         * config/i386/cpuinfo.h (processor_features): Move
720         FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
722 2020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
724         PR target/91695
725         * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
726         check.
728 2020-05-19  H.J. Lu  <hongjiu.lu@intel.com>
730         PR target/95212
731         PR target/95220
732         * config/i386/cpuinfo.c (get_available_features): Fix
733         FEATURE_GFNI check.  Also check FEATURE_AVX512VP2INTERSECT.
734         * config/i386/cpuinfo.h (processor_features): Add
735         FEATURE_AVX512VP2INTERSECT.
737 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
739         PR bootstrap/95147
740         * configure: Regenerated.
742 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
744         * configure: Regenerated.
746 2020-05-09  Hans-Peter Nilsson  <hp@axis.com>
748         * config.host: Remove support for crisv32-*-* and cris*-*-linux.
749         * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
751 2020-05-06  UroÅ¡ Bizjak  <ubizjak@gmail.com>
753         * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
754         (__math_force_eval_div): New define.
755         (__sfp_handle_exceptions): Use __math_force_eval_div to use
756         generic division to generate INVALID, DIVZERO and INEXACT
757         exceptions.
759 2020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
761         * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
762         instead of getauxval.
763         (AT_HWCAP): Define.
764         (HWCAP_ATOMICS): Define.
765         Guard detection on __gnu_linux__.
767 2020-05-05  Michael Meissner  <meissner@linux.ibm.com>
769         * config.host: Delete changes meant for a private branch.
770         * config/rs6000/t-float128: Likewise.
771         * configure.ac: Likewise.
772         * configure: Likewise.
774 2020-05-05  Martin Liska  <mliska@suse.cz>
776         PR gcov-profile/93623
777         * Makefile.in: Remove __gcov_flush.
778         * gcov.h (__gcov_flush): Remove.
779         * libgcov-interface.c (__gcov_flush): Remove.
780         (init_mx): Use renamed mutex.
781         (__gcov_lock): Likewise.
782         (__gcov_unlock): Likewise.
783         (__gcov_fork): Likewise.
784         (__gcov_flush): Remove.
786 2020-05-05  Martin Liska  <mliska@suse.cz>
788         PR gcov-profile/93623
789         * libgcov-interface.c (__gcov_fork): Do not flush
790         and reset only in child process.
791         (__gcov_execl): Dump counters only and reset them
792         only if exec* fails.
793         (__gcov_execlp): Likewise.
794         (__gcov_execle): Likewise.
795         (__gcov_execv): Likewise.
796         (__gcov_execvp): Likewise.
797         (__gcov_execve): Likewise.
799 2020-05-05  Martin Liska  <mliska@suse.cz>
801         PR gcov-profile/93623
802         * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
803         * libgcov-interface.c (ALIAS_void_fn): Remove.
804         (__gcov_lock): New.
805         (__gcov_unlock): New.
806         (__gcov_flush): Use __gcov_lock and __gcov_unlock.
807         (__gcov_reset): Likewise.
808         (__gcov_dump): Likewise.
809         * libgcov.h (__gcov_lock): New declaration.
810         (__gcov_unlock): Likewise.
812 2020-05-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
814         * config/i386/sfp-exceptions.c (__math_force_eval): New define.
815         (__sfp_handle_exceptions): Use __math_force_eval to evaluate
816         generic division to generate INVALID and DIVZERO exceptions.
818 2020-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
820         * config/rs6000/crtresfpr.S: Use .machine ppc.
821         * config/rs6000/crtresxfpr.S: Likewise.
822         * config/rs6000/crtsavfpr.S: Likewise.
824 2020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
826         PR target/94514
827         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
828         Update context->flags accroding to the frame state.
830 2020-04-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
832         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
833         Remove unneeded assignments to volatile memory.
835 2020-04-15  Jakub Jelinek  <jakub@redhat.com>
837         PR target/93053
838         * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
839         * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
840         is not defined, use just .arch armv8-a.
841         (B, M, N, OPN): Define.
842         (COMMENT): New .macro.
843         (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
844         defined.  Otherwise, move the operands right after the glue? and
845         comment out operands where the macros are used.
846         * configure: Regenerated.
847         * config.in: Regenerated.
849 2020-04-07  Ian Lance Taylor  <iant@golang.org>
851         PR libgcc/94513
852         * generic-morestack.c: Give up trying to use __mmap/__munmap, use
853         syscall instead.
855 2020-04-04  Ian Lance Taylor  <iant@golang.org>
857         * generic-morestack.c: Only use __mmap on glibc >= 2.26.
859 2020-04-03  Ian Lance Taylor  <iant@golang.org>
861         * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
862         than mmap/munmap, to avoid hooks.
864 2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
866         * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
867         (TPFRA_OFFSET): Macros removed.
868         (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
869         (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
870         (PG3_SKIPPING_OFFSET): New macros.
871         (__isPATrange): Use cinfc_fast for the check.
872         (__isSkipResetAddr): New function.
873         (s390_fallback_frame_state): Check for skip trace addresses. Use
874         either ICST_CRET or ICST_SRET to calculate return address
875         location.
876         (__tpf_eh_return): Handle skip trace addresses.
878 2020-03-26  Richard Earnshaw  <rearnsha@arm.com>
880         PR target/94220
881         * config/arm/lib1funcs.asm (COND): Use a single definition for
882         unified syntax.
883         (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
884         (aeabi_idivmod): Likewise.
885         (divsi3_skip_div0_test): Likewise.
887 2020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
889         * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
891 2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
893         * config.host: Include the new makefile fragment.
894         * config/s390/t-tpf: New file.
896 2020-03-03  Richard Earnshaw  <rearnsha@arm.com>
898         * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
899         syntax.
900         (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
901         (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
902         (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
903         (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
904         * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
905         syntax.
906         (divsi3, modsi3): Likewise.
907         (clzdi2, ctzsi2): Likewise.
908         * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
909         unified syntax.
910         (UNWIND_WRAPPER): Likewise.
912 2020-03-02  Martin Liska  <mliska@suse.cz>
914         * libgcov-interface.c: Remove duplicate
915         declaration of __gcov_flush_mx.
917 2020-02-18  Martin Liska  <mliska@suse.cz>
919         PR ipa/92924
920         * libgcov-merge.c (merge_topn_values_set): Record
921         when a TOP N counter becomes invalid.  When merging
922         remove a smallest value if the space is needed.
924 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
926         PR libstdc++/79193
927         PR libstdc++/88999
929         * configure: Regenerated.
931 2020-02-10  Jeff Law  <law@redhat.com>
933         * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
934         sections.
935         * config/frv/frvend.c: Similarly.
937 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
939         PR libgcc/85334
940         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
941         New.
943 2020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
945         PR target/93615
946         * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
947         _Unwind_gnu_Find_got.
948         * unwind-pe.h: Likewise.
950 2020-02-07  Jakub Jelinek  <jakub@redhat.com>
952         PR target/93615
953         * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
954         (_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
955         trailing :s in asm.  Formatting fixes.
956         (_Unwind_decode_typeinfo_ptr): Adjust caller.
958 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
960         nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
962         * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
963         * config/nios2-elf-lib.h: New.
964         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
965         code for finding GOT base for nios2.
967 2020-01-27  Martin Liska  <mliska@suse.cz>
969         PR gcov-profile/93403
970         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
971         Call __gcov_indirect_call_profiler_body.
972         (__gcov_indirect_call_profiler_body): New.
973         (__gcov_indirect_call_profiler_v4_atomic): New.
974         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
975         New declaration.
977 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
979         * config/arc/crti.S: Add RF16 object attribute.
980         * config/arc/crtn.S: Likewise.
981         * config/arc/crttls.S: Likewise.
982         * config/arc/lib1funcs.S: Likewise.
983         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
984         * config/arc/lib2funcs.c: New file.
985         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
987 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
989         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
990         * configure.ac: Handle `--with-toolexeclibdir='.
991         * configure: Regenerate.
993 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
995         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
997 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
999         * config/mips/gnustack.h: New file.
1000         * config/mips/crti.S: Include gnustack.h.
1001         * config/mips/crtn.S: Likewise.
1002         * config/mips/mips16.S: Likewise.
1003         * config/mips/vr4120-div.S: Likewise.
1005 2020-01-23  Martin Liska  <mliska@suse.cz>
1007         * libgcov-driver.c (prune_topn_counter): Remove
1008         check for -1 as we only prune run-time counters
1009         that do not generate an invalid state.
1011 2020-01-22  Martin Liska  <mliska@suse.cz>
1013         PR tree-optimization/92924
1014         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1015         try to find an existing value, then find an empty slot
1016         if not found.
1018 2020-01-22  Martin Liska  <mliska@suse.cz>
1020         PR tree-optimization/92924
1021         * libgcov-driver.c (prune_topn_counter): New.
1022         (prune_counters): Likewise.
1023         (dump_one_gcov): Prune a run-time counter.
1024         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1025         For a known value, add GCOV_TOPN_VALUES to value.
1026         Otherwise, decrement all counters by one.
1028 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
1030         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1032 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
1034         PR libgcc/92988
1035         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1036         DEFAULT_USE_CXA_ATEXIT is true.
1038 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
1039             Thomas Preud'homme  <thomas.preudhomme@arm.com>
1041         * config/arm/t-arm: Check return value of gcc rather than lack of
1042         output.
1044 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
1046         * config/avr/lib1funcs.S (skip): Simplify.
1048 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
1050         * config/gcn/atomic.c: Remove include of stdint.h.
1051         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1052         __UINTPTR_TYPE__.
1054 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
1056         * config/gcn/atomic.c: New.
1057         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1059 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
1061         Implement 64-bit double functions.
1063         PR target/92055
1064         * config.host (tmake_file) [target=avr]: Add t-libf7,
1065         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1066         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1067         depending on sizeof (double) or sizeof (long double).
1068         * config/avr/libf7: New folder.
1070 2020-01-05  Olivier Hainque  <hainque@adacore.com>
1072         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1073         by IN_LIBGCC2.
1075 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
1077         Update copyright years.
1079 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1081         * config/gthr-vxworks.h: Use _vxworks-versions.h.
1082         * config/gthr-vxworks-tls.c: Likewise.
1084 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1086         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1087         standard zero-initializer syntax.
1089 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1091         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1092         reference to the internal VX_GET_TLS_DATA interface.
1094 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1096         * config/vxcrtstuff.c: Fix incorrect spelling of
1097         USE_INITFINI_ARRAY in guard.
1099 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1101         * config.host: s/msp430*-*-elf/msp430-*-elf*.
1102         Override default "extra_parts" variable.
1103         * configure: Regenerate.
1104         * configure.ac: Disable TM clone registry by default for
1105         msp430-elfbare.
1107 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1109         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1110         "extra_parts".
1111         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1113 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1115         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1116         true.
1118 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1120         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1121         defined instead of its value.
1123 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1125         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1126         if it will have contents.
1128 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
1130         PR target/92055
1131         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1133 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1135         PR libgcc/91737
1136         * config.host: Add t-gthr-noweak on *-*-musl*.
1137         * config/t-gthr-noweak: New file.
1139 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
1141         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1142         volatile void *.  Remove trap check.
1143         (__kernel_cmpxchg2): Likewise.
1144         (FETCH_AND_OP_2): Adjust operand types.
1145         (OP_AND_FETCH_2): Likewise.
1146         (FETCH_AND_OP_WORD): Likewise.
1147         (OP_AND_FETCH_WORD): Likewise.
1148         (COMPARE_AND_SWAP_2): Likewise.
1149         (__sync_val_compare_and_swap_4): Likewise.
1150         (__sync_bool_compare_and_swap_4): Likewise.
1151         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1152         (__sync_lock_test_and_set_4): Likewise.
1153         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
1154         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
1155         for release.
1156         (__sync_lock_release_8): Remove.
1158 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1160         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1161         of __sigset_t.
1163 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
1164             Doug Rupp <rupp@adacore.com>
1165             Olivier Hainque  <hainque@adacore.com>
1167         * config.host: Collapse the arm-vxworks entries into
1168         a single arm-wrs-vxworks7* one.
1169         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
1170         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1171         kernel modules, to be overriden by libstdc++ when we link with
1172         it.  Rely on externally provided __exidx_start/end.
1174 2019-11-14  Doug Rupp  <rupp@adacore.com>
1175             Olivier Hainque  <hainque@adacore.com>
1177         * config.host: Handle aarch64*-wrs-vxworks7*.
1179 2019-11-12  Olivier Hainque  <hainque@adacore.com>
1181         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1182         sources except the cxx0x support to LIB2ADDEH.  We don't support
1183         cxx0x on AE/653.
1184         * config/t-vxworksae: New file.
1185         * config.host: Handle *-*-vxworksae: Add the two aforementioned
1186         Makefile fragment files at their expected position in the tmake_file
1187         list, in accordance with what is done for other VxWorks variants.
1189 2019-11-12  Corentin Gay  <gay@adacore.com>
1190             Jerome Lambourg  <lambourg@adacore.com>
1191             Olivier Hainque  <hainque@adacore.com>
1193         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1194         sources to LIB2ADDEH.
1195         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1196         * config/t-vxworks7: Likewise.
1198         * config.host: Append a block at the end of the file to add the
1199         t-gthr files to the tmake_file list for VxWorks after everything
1200         else.
1202         * config/vxlib.c: Rename as gthr-vxworks.c.
1203         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1205         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
1206         API and a basic error checking API, both internal.  Simplify the
1207         __gthread_once_t type definition and initializers.  Add sections
1208         for condition variables support and for the C++0x thread support,
1209         conditioned against Vx653 for the latter.
1211         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1212         implementation, leveraging the TAS internal API.
1213         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1214         API, leveraging the general availability of TLS services in VxWorks7
1215         post SR6xxx.
1216         (__gthread_setspecific, __gthread_setspecific): Use it.
1217         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1218         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
1219         support based on VxWorks primitives.
1220         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
1221         based on VxWorks primitives.
1223 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
1224             Olivier Hainque  <hainque@adacore.com>
1226         * config/vxcrtstuff.c: New file.
1227         * config/t-vxcrtstuff: New Makefile fragment.
1228         * config.host: Append t-vxcrtstuff to the tmake_file list
1229         on all VxWorks ports using dwarf for table based EH.
1231 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
1233         Support 64-bit double and 64-bit long double configurations.
1235         PR target/92055
1236         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1237         long double is a 32-bit type.
1238         * config/avr/t-avrlibc: Copy double64 and long-double64
1239         multilib(s) from the vanilla one.
1240         * config/avr/t-copy-libgcc: New Makefile snip.
1242 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1244         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1245         the target output object format is not ELF.
1246         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1248 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
1250         PR libgcc/78804
1251         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1252         * fp-bit.c (pack_d, unpack_d): Remove special cases for
1253         FLOAT_BIT_ORDER_MISMATCH.
1254         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1256 2019-11-01  Jim Wilson  <jimw@sifive.com>
1258         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1260 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1262         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1263         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
1264         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1265         Define symbols for 32-bit and f5series hardware multiply
1266         register addresses.
1267         Replace hard-coded register addresses with symbols.
1268         Fix "_mspabi*" typo.
1269         Fix whitespace.
1270         * config/msp430/lib2mul.c: Add comment.
1272 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
1274         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1275         unsigned int.  Adjust callers.
1276         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1277         unsigned int *.  Load relocation offset before function pointer.
1278         Add barrier to ensure ordering.
1280 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
1282         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1283         Load PIC register after branch target.  Fix white space.
1284         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1285         implementations.  Load PIC register after branch target.  Don't
1286         clobber function pointer when it points to function descriptor.
1287         Use nullification instead of branch in LINUX implementation.
1289 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
1291         * config/pa/fptr.c: Disable -Warray-bounds warning.
1293 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
1295         * config.in, configure: Re-rebuild with stock autoconf 2.69,
1296         not the ubuntu modified 2.69.
1298         PR target/91833
1299         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
1300         initialization if !HAVE_SYS_AUXV_H.
1301         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1302         * config.in, configure: Rebuild.
1304         PR target/91834
1305         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1306         overlap the inputs.
1308 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
1310         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1311         CTR_EL0.IDC and CTR_EL0.DIC.
1313 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
1315         Revert:
1316         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1317                 Mickaël Guêné <mickael.guene@st.com>
1319         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1320         architecture.
1322 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
1324         * config/aarch64/lse-init.c: New file.
1325         * config/aarch64/lse.S: New file.
1326         * config/aarch64/t-lse: New file.
1327         * config.host: Add t-lse to all aarch64 tuples.
1329 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1330         Mickaël Guêné <mickael.guene@st.com>
1332         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1333         architecture.
1335 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1336         Mickaël Guêné <mickael.guene@st.com>
1338         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1339         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1340         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1341         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1342         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1343         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1344         (__gnu_personality_sigframe_fdpic): New.
1345         (get_eit_entry): Add FDPIC signal frame support.
1347 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1348         Mickaël Guêné <mickael.guene@st.com>
1350         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1351         (__kernel_dmb): Likewise.
1352         (__fdpic_cmpxchg): New function.
1353         (__fdpic_dmb): New function.
1354         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1355         (gnu_Unwind_Find_got): New function.
1356         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1357         * unwind-arm-common.inc (UCB_PR_GOT): New.
1358         (funcdesc_t): New struct.
1359         (get_eit_entry): Add FDPIC support.
1360         (unwind_phase2): Likewise.
1361         (unwind_phase2_forced): Likewise.
1362         (__gnu_Unwind_RaiseException): Likewise.
1363         (__gnu_Unwind_Resume): Likewise.
1364         (__gnu_Unwind_Backtrace): Likewise.
1365         * unwind-pe.h (read_encoded_value_with_base): Likewise.
1367 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1368         Mickaël Guêné <mickael.guene@st.com>
1370         * libgcc/crtstuff.c: Add support for FDPIC.
1372 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1374         * config.host: Handle *-*-uclinuxfdpiceabi.
1376 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
1378         * config.host: Set cpu_type for bpf-*-* targets.
1379         * config/bpf/t-bpf: Likewise.
1380         * config/bpf/crtn.S: Likewise.
1381         * config/bpf/crti.S: New file.
1383 2019-09-06  Jim Wilson  <jimw@sifive.com>
1385         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1386         (riscv*-*-freebsd*): Likewise.
1388 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
1390         * config.host: Remove references to spu.
1391         * config/spu/: Remove directory.
1393 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1395         PR target/91306
1396         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1397         element type, instead of "sizeof" the element type.
1398         (__DTOR_LIST__): Likewise.
1399         (__TMC_LIST__): Likewise.
1400         (__do_global_dtors_aux_fini_array_entry): Likewise.
1401         (__frame_dummy_init_array_entry): Likewise.
1402         (__CTOR_END__): Likewise.
1403         (__DTOR_END__): Likweise.
1404         (__FRAME_END__): Likewise.
1405         (__TMC_END__): Likewise.
1407 2019-08-20  Lili Cui  <lilicui@intel.com>
1409         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1410         INTEL_COREI7_COOPERLAKE.
1412 2019-07-31  Matt Thomas  <matt@3am-software.com>
1413             Nick Hudson <nick@nthcliff.demon.co.uk>
1414             Matthew Green <mrg@eterna.com.au>
1415             Maya Rashish <coypu@sdf.org>
1417         * config.host (hppa*-*-netbsd*): New case.
1418         * config/pa/t-netbsd: New file.
1420 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
1422         * config/arm/cmse.c (cmse_check_address_range): Add
1423         warn_unused_result attribute.
1425 2019-07-22  Martin Liska  <mliska@suse.cz>
1427         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1428         * config/pa/t-stublib: Likewise.
1430 2019-07-22  Stafford Horne  <shorne@gmail.com>
1432         PR target/90362
1433         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1434         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1435         instructions are not available on every processor.  Change a
1436         l.bnf to l.bf to fix logic issue.
1438 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
1440         * config.host: Remove reference to t-darwin8.
1442 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
1444         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1445         list.
1446         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
1447         mmacosx-version-min for crts to run across all system versions.
1448         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1449         * config/t-darwin: Revise mmacosx-version-min for crts to run across
1450         system versions >= 10.4.
1452 2019-07-03  Martin Liska  <mliska@suse.cz>
1454         * Makefile.in: Use topn_values instead of one_value names.
1455         * libgcov-merge.c (__gcov_merge_single): Move to ...
1456         (__gcov_merge_topn): ... this.
1457         (merge_single_value_set): Move to ...
1458         (merge_topn_values_set): ... this.
1459         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1460         ...
1461         (__gcov_topn_values_profiler_body): ... this.
1462         (__gcov_one_value_profiler_v2): Move to ...
1463         (__gcov_topn_values_profiler): ... this.
1464         (__gcov_one_value_profiler_v2_atomic): Move to ...
1465         (__gcov_topn_values_profiler_atomic): ... this.
1466         (__gcov_indirect_call_profiler_v4): Remove.
1467         * libgcov-util.c (__gcov_single_counter_op): Move to ...
1468         (__gcov_topn_counter_op): ... this.
1469         * libgcov.h (L_gcov_merge_single): Remove.
1470         (L_gcov_merge_topn): New.
1471         (__gcov_merge_single): Remove.
1472         (__gcov_merge_topn): New.
1473         (__gcov_one_value_profiler_v2): Move to ..
1474         (__gcov_topn_values_profiler): ... this.
1475         (__gcov_one_value_profiler_v2_atomic): Move to ...
1476         (__gcov_topn_values_profiler_atomic): ... this.
1478 2019-07-03  Martin Liska  <mliska@suse.cz>
1480         * libgcov-merge.c (merge_single_value_set): Support N values.
1481         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1483 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
1485         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1486         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1487         * configure.ac: Add --disable-tm-clone-registry option.
1488         * configure: Regenerate.
1490 2019-06-27  Martin Liska  <mliska@suse.cz>
1492         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1493         dead assignments.
1494         * libgcov-util.c: Likewise.
1496 2019-06-27  Martin Liska  <mliska@suse.cz>
1498         * libgcov-util.c (gcov_profile_merge): Release allocated
1499         memory.
1500         (calculate_overlap): Likewise.
1502 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
1504         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1505         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1506         Build objects for the out of line save/restore register functions
1507         so that they can be used for any supported Darwin version.
1508         * config/t-darwin: Default the build Darwin version to Darwin8
1509         (MacOS 10.4).
1511 2019-06-25  Martin Liska  <mliska@suse.cz>
1513         * libgcov-driver-system.c (replace_filename_variables): Do not
1514         call strlen with NULL argument.
1516 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
1518         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1519         * config/gcn/unwind-gcn.c: New file.
1521 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
1522             Andrew Stubbs  <ams@codesourcery.com>
1524         * configure: Regenerate.
1525         * config/gcn/gthr-gcn.h: New.
1527 2019-06-18  Tom de Vries  <tdevries@suse.de>
1529         * config/nvptx/crt0.c (__main): Declare.
1531 2019-06-17  Matthew Green  <mrg@eterna.com.au>
1532             Maya Rashish  <coypu@sdf.org>
1534         * config.host (aarch64*-*-netbsd*): New case.
1536 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1538         * config/msp430/slli.S (__mspabi_sllll): New library function for
1539         performing a logical left shift of a 64-bit value.
1540         * config/msp430/srai.S (__mspabi_srall): New library function for
1541         performing a arithmetic right shift of a 64-bit value.
1542         * config/msp430/srll.S (__mspabi_srlll): New library function for
1543         performing a logical right shift of a 64-bit value.
1545 2019-06-14  Matt Thomas  <matt@3am-software.com>
1546             Matthew Green  <mrg@eterna.com.au>
1547             Nick Hudson  <skrll@netbsd.org>
1548             Maya Rashish  <coypu@sdf.org>
1550         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1551         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1552         functions to build.
1553         * config/arm/t-netbsd-eabi: New file.
1555 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
1557         * config.host: Add PRU target.
1558         * config/pru/asri.c: New file.
1559         * config/pru/eqd.c: New file.
1560         * config/pru/eqf.c: New file.
1561         * config/pru/ged.c: New file.
1562         * config/pru/gef.c: New file.
1563         * config/pru/gtd.c: New file.
1564         * config/pru/gtf.c: New file.
1565         * config/pru/led.c: New file.
1566         * config/pru/lef.c: New file.
1567         * config/pru/lib2bitcountHI.c: New file.
1568         * config/pru/lib2divHI.c: New file.
1569         * config/pru/lib2divQI.c: New file.
1570         * config/pru/lib2divSI.c: New file.
1571         * config/pru/libgcc-eabi.ver: New file.
1572         * config/pru/ltd.c: New file.
1573         * config/pru/ltf.c: New file.
1574         * config/pru/mpyll.S: New file.
1575         * config/pru/pru-abi.h: New file.
1576         * config/pru/pru-asm.h: New file.
1577         * config/pru/pru-divmod.h: New file.
1578         * config/pru/sfp-machine.h: New file.
1579         * config/pru/t-pru: New file.
1581 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
1583         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1585 2019-06-10  Martin Liska  <mliska@suse.cz>
1587         PR bootstrap/90808
1588         * libgcov.h: Add ATTRIBUTE_UNUSED.
1590 2019-06-10  Martin Liska  <mliska@suse.cz>
1592         * Makefile.in: Add __gcov_one_value_profiler_v2,
1593         __gcov_one_value_profiler_v2_atomic and
1594         __gcov_indirect_call_profiler_v4.
1595         * libgcov-merge.c (__gcov_merge_single): Change
1596         function signature.
1597         (merge_single_value_set): New.
1598         * libgcov-profiler.c (__gcov_one_value_profiler_body):
1599         Update functionality.
1600         (__gcov_one_value_profiler): Remove.
1601         (__gcov_one_value_profiler_v2): ... this.
1602         (__gcov_one_value_profiler_atomic): Rename to ...
1603         (__gcov_one_value_profiler_v2_atomic): this.
1604         (__gcov_indirect_call_profiler_v3): Rename to ...
1605         (__gcov_indirect_call_profiler_v4): ... this.
1606         * libgcov.h (__gcov_one_value_profiler): Remove.
1607         (__gcov_one_value_profiler_atomic): Remove.
1608         (__gcov_one_value_profiler_v2_atomic): New.
1609         (__gcov_indirect_call_profiler_v3): Remove.
1610         (__gcov_one_value_profiler_v2): New.
1611         (__gcov_indirect_call_profiler_v4): New.
1612         (gcov_get_counter_ignore_scaling): New function.
1614 2019-06-07  Martin Liska  <mliska@suse.cz>
1616         * Makefile.in: Remove usage of
1617         _gcov_merge_icall_topn.
1618         * libgcov-driver.c (gcov_sort_n_vals): Remove.
1619         (gcov_sort_icall_topn_counter): Likewise.
1620         (gcov_sort_topn_counter_arrays): Likewise.
1621         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1622         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1623         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1624         Likewise.
1625         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1626         (struct indirect_call_tuple): Remove.
1627         (__gcov_indirect_call_topn_profiler): Remove.
1628         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1629         * libgcov.h (gcov_sort_n_vals): Remove.
1630         (L_gcov_merge_icall_topn): Likewise.
1631         (__gcov_merge_icall_topn): Likewise.
1632         (__gcov_indirect_call_topn_profiler): Likewise.
1634 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
1636         * config/rs6000/t-darwin: Ensure that the unwinder is built with
1637         altivec enabled.
1639 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1641         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1642         section.
1643         (__mspabi_slli): Likewise.
1644         (__mspabi_slll_n): Likewise.
1645         (__mspabi_slll): Likewise.
1646         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1647         (__mspabi_srai): Likewise.
1648         (__mspabi_sral_n): Likewise.
1649         (__mspabi_sral): Likewise.
1650         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1651         (__mspabi_srli): Likewise.
1652         (__mspabi_srll_n): Likewise.
1653         (__mspabi_srll): Likewise.
1655 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
1657         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1658         Add appropriate tm_file clause as well.
1659         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1661 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
1663         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1664         rather than .data/.bss so it can be accessed via gp-relative
1665         addressing.
1667 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
1669         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1670         (CR2_REGNO): Rename to R_CR2.
1671         (XER_REGNO): Rename to R_XER.
1672         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1673         (VRSAVE_REGNO): Rename to R_VRSAVE.
1674         (VSCR_REGNO): R_VSCR.
1676 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
1678         * config.host (rx-*-linux*): Add new case.
1679         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1681 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
1683         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1684         function.
1685         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1686         aarch64_post_frob_eh_handler_addr): Add check for b-key.
1687         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1688         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1689         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1690         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1691         string.
1692         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1693         string.
1694         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1696 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1698         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1699         Remove Solaris 9 and 10 support.
1700         (sparc_is_sighandler): Likewise.
1702 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
1704         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1706 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1708         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1709         4_FP_W_TYPEs are used for IEEE quad precision.
1710         * soft-fp/extendhftf2.c: Likewise.
1711         * soft-fp/extendsftf2.c: Likewise.
1712         * soft-fp/extendxftf2.c: Likewise.
1713         * soft-fp/trunctfdf2.c: Likewise.
1714         * soft-fp/trunctfhf2.c: Likewise.
1715         * soft-fp/trunctfsf2.c: Likewise.
1716         * soft-fp/trunctfxf2.c: Likewise.
1717         * config/rs6000/ibm-ldouble.c: Likewise.
1719 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1721         * config.host: Simplify various *-*-solaris2.1[0-9]* to
1722         *-*-solaris2*.
1723         * configure.ac: Likewise.
1724         * configure: Regenerate.
1726         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1727         Solaris 10 and Solaris 11 < snv_125 handling.
1729 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
1731         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1733 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
1735         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1736         * config/i386/cpuinfo.h (enum processor_features): Add
1737         FEATURE_AVX512BF16.
1739 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1740             Bernd Edlinger  <bernd.edlinger@hotmail.de>
1741             Jakub Jelinek  <jakub@redhat.com>
1743         PR target/89093
1744         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1745         * config/arm/unwind-arm.c: Likewise.
1746         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1747         attribute for ARM.
1749 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
1751         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1752         (RT_SIGRETURN): Update.
1753         (nds32_fallback_frame_state): Update.
1755 2019-02-21  Martin Sebor  <msebor@redhat.com>
1757         * libgcc2.h (__clear_cache): Correct signature.
1758         * libgcc2.c (__clear_cache): Same.
1760 2019-02-20  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1762         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1763         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1765 2019-02-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1767         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1768         regno instead of index to DWARF_ZERO_REG.
1770 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
1772         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1773         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1775 2019-01-31  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1777         * config/alpha/t-linux: Add -mfp-rounding-mode=d
1778         to HOST_LIBGCC2_CFLAGS.
1780 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
1782         PR libgcc/88931
1783         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
1785 2019-01-18  Martin Liska  <mliska@suse.cz>
1787         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1788         to ...
1789         (__gcov_indirect_call_profiler_v3): ... this.
1790         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1791         (__gcov_indirect_call_profiler_v3): Likewise.
1792         * Makefile.in: Bump function name.
1794 2019-01-18  Martin Liska  <mliska@suse.cz>
1796         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1797         (gcov_version): Use in gcov_error.
1798         (merge_one_data): Likewise.
1799         (dump_one_gcov): Likewise.
1801 2019-01-18  Martin Liska  <mliska@suse.cz>
1803         * libgcov-driver.c (gcov_version_string): New function.
1804         (gcov_version): Convert version integer into string.
1806 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
1807             Kwok Cheung Yeung  <kcy@codesourcery.com>
1808             Julian Brown  <julian@codesourcery.com>
1809             Tom de Vries  <tom@codesourcery.com>
1811         * config.host: Recognize amdgcn*-*-amdhsa.
1812         * config/gcn/crt0.c: New file.
1813         * config/gcn/lib2-divmod-hi.c: New file.
1814         * config/gcn/lib2-divmod.c: New file.
1815         * config/gcn/lib2-gcn.h: New file.
1816         * config/gcn/sfp-machine.h: New file.
1817         * config/gcn/t-amdgcn: New file.
1819 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
1821         PR other/16615
1823         * config/c6x/libunwind.S: Mechanically replace "can not" with
1824         "cannot".
1825         * config/tilepro/atomic.h: Likewise.
1826         * config/vxlib-tls.c: Likewise.
1827         * generic-morestack-thread.c: Likewise.
1828         * generic-morestack.c: Likewise.
1829         * mkmap-symver.awk: Likewise.
1831 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
1833         Update copyright years.
1835 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
1837         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1838         to ignore -Waddress-of-packed-member.
1840 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
1842         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1843         parameter and corresponding code.
1844         (ARM_FUNC_START): Likewise in both definitions.
1845         Also update footer comment about condition that need to match with
1846         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1847         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1848         defined.  Weakly define it in this case.
1849         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1850         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1851         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1852         comment to keep condition in sync with the one in
1853         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1855 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
1857         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1858         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1860 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1862         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1863         and .cfi_endproc directives for VxWorks targets.
1865 2018-12-05  Paul Koning  <ni1d@arrl.net>
1867         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1869 2018-11-27  Alan Modra  <amodra@gmail.com>
1871         * config/rs6000/morestack.S (__stack_split_initialize),
1872         (__morestack_get_guard, __morestack_set_guard),
1873         (__morestack_make_guard): Provide CFI covering these functions.
1874         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1876 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
1878         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
1879         (sc_pt_regs_lr): Update for kernel.
1880         (sc_pt_regs_tls): Update for kernel.
1882 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
1884         * config/csky/linux-unwind.h: Fix coding style.
1886 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
1888         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1889         (csky_fallback_frame_state): Modify the check of the
1890         instructions to adapt to changes in the kernel
1892 2018-11-09  Stafford Horne  <shorne@gmail.com>
1893             Richard Henderson  <rth@twiddle.net>
1895         * config.host: Add OpenRISC support.
1896         * config/or1k/*: New.
1898 2018-11-08  Kito Cheng  <kito@andestech.com>
1900         * soft-fp/adddf3.c: Update from glibc.
1901         * soft-fp/addsf3.c: Likewise.
1902         * soft-fp/addtf3.c: Likewise.
1903         * soft-fp/divdf3.c: Likewise.
1904         * soft-fp/divsf3.c: Likewise.
1905         * soft-fp/divtf3.c: Likewise.
1906         * soft-fp/double.h: Likewise.
1907         * soft-fp/eqdf2.c: Likewise.
1908         * soft-fp/eqsf2.c: Likewise.
1909         * soft-fp/eqtf2.c: Likewise.
1910         * soft-fp/extenddftf2.c: Likewise.
1911         * soft-fp/extended.h: Likewise.
1912         * soft-fp/extendhftf2.c: Likewise.
1913         * soft-fp/extendsfdf2.c: Likewise.
1914         * soft-fp/extendsftf2.c: Likewise.
1915         * soft-fp/extendxftf2.c: Likewise.
1916         * soft-fp/fixdfdi.c: Likewise.
1917         * soft-fp/fixdfsi.c: Likewise.
1918         * soft-fp/fixdfti.c: Likewise.
1919         * soft-fp/fixhfti.c: Likewise.
1920         * soft-fp/fixsfdi.c: Likewise.
1921         * soft-fp/fixsfsi.c: Likewise.
1922         * soft-fp/fixsfti.c: Likewise.
1923         * soft-fp/fixtfdi.c: Likewise.
1924         * soft-fp/fixtfsi.c: Likewise.
1925         * soft-fp/fixtfti.c: Likewise.
1926         * soft-fp/fixunsdfdi.c: Likewise.
1927         * soft-fp/fixunsdfsi.c: Likewise.
1928         * soft-fp/fixunsdfti.c: Likewise.
1929         * soft-fp/fixunshfti.c: Likewise.
1930         * soft-fp/fixunssfdi.c: Likewise.
1931         * soft-fp/fixunssfsi.c: Likewise.
1932         * soft-fp/fixunssfti.c: Likewise.
1933         * soft-fp/fixunstfdi.c: Likewise.
1934         * soft-fp/fixunstfsi.c: Likewise.
1935         * soft-fp/fixunstfti.c: Likewise.
1936         * soft-fp/floatdidf.c: Likewise.
1937         * soft-fp/floatdisf.c: Likewise.
1938         * soft-fp/floatditf.c: Likewise.
1939         * soft-fp/floatsidf.c: Likewise.
1940         * soft-fp/floatsisf.c: Likewise.
1941         * soft-fp/floatsitf.c: Likewise.
1942         * soft-fp/floattidf.c: Likewise.
1943         * soft-fp/floattihf.c: Likewise.
1944         * soft-fp/floattisf.c: Likewise.
1945         * soft-fp/floattitf.c: Likewise.
1946         * soft-fp/floatundidf.c: Likewise.
1947         * soft-fp/floatundisf.c: Likewise.
1948         * soft-fp/floatunditf.c: Likewise.
1949         * soft-fp/floatunsidf.c: Likewise.
1950         * soft-fp/floatunsisf.c: Likewise.
1951         * soft-fp/floatunsitf.c: Likewise.
1952         * soft-fp/floatuntidf.c: Likewise.
1953         * soft-fp/floatuntihf.c: Likewise.
1954         * soft-fp/floatuntisf.c: Likewise.
1955         * soft-fp/floatuntitf.c: Likewise.
1956         * soft-fp/gedf2.c: Likewise.
1957         * soft-fp/gesf2.c: Likewise.
1958         * soft-fp/getf2.c: Likewise.
1959         * soft-fp/half.h: Likewise.
1960         * soft-fp/ledf2.c: Likewise.
1961         * soft-fp/lesf2.c: Likewise.
1962         * soft-fp/letf2.c: Likewise.
1963         * soft-fp/muldf3.c: Likewise.
1964         * soft-fp/mulsf3.c: Likewise.
1965         * soft-fp/multf3.c: Likewise.
1966         * soft-fp/negdf2.c: Likewise.
1967         * soft-fp/negsf2.c: Likewise.
1968         * soft-fp/negtf2.c: Likewise.
1969         * soft-fp/op-1.h: Likewise.
1970         * soft-fp/op-2.h: Likewise.
1971         * soft-fp/op-4.h: Likewise.
1972         * soft-fp/op-8.h: Likewise.
1973         * soft-fp/op-common.h: Likewise.
1974         * soft-fp/quad.h: Likewise.
1975         * soft-fp/single.h: Likewise.
1976         * soft-fp/soft-fp.h: Likewise.
1977         * soft-fp/subdf3.c: Likewise.
1978         * soft-fp/subsf3.c: Likewise.
1979         * soft-fp/subtf3.c: Likewise.
1980         * soft-fp/truncdfsf2.c: Likewise.
1981         * soft-fp/trunctfdf2.c: Likewise.
1982         * soft-fp/trunctfhf2.c: Likewise.
1983         * soft-fp/trunctfsf2.c: Likewise.
1984         * soft-fp/trunctfxf2.c: Likewise.
1985         * soft-fp/unorddf2.c: Likewise.
1986         * soft-fp/unordsf2.c: Likewise.
1987         * soft-fp/unordtf2.c: Likewise.
1989 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
1991         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1992         * config/i386/cpuinfo.h (processor_types): Add znver2.
1994 2018-11-01  Paul Koning  <ni1d@arrl.net>
1996         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1997         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1999 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
2001         PR bootstrap/82856
2002         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
2003         * configure: Regenerate.
2005 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
2007         * config/arc/lib1funcs.S (_muldi3): New function.
2008         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2010 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2012         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2014 2018-10-25  Martin Liska  <mliska@suse.cz>
2016         PR other/87735
2017         * libgcov-profiler.c: Revert.
2019 2018-10-24  Martin Liska  <mliska@suse.cz>
2021         * libgcov-profiler.c: Start from 1 in order to distinguish
2022         functions which were seen and these that were not.
2024 2018-10-18  Paul Koning  <ni1d@arrl.net>
2026         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2027         standard.
2028         * divmod.c: Update references to __udivmodsi4.
2029         * udivmod.c: Ditto.
2030         * udivhi3.c: New file.
2031         * udivmodhi4.c: New file.
2032         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2034 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2036         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2038 2018-10-12  Olivier Hainque  <hainque@adacore.com>
2040         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2041         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2043 2018-10-08  Paul Koning  <ni1d@arrl.net>
2045         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2047 2018-10-04  Martin Liska  <mliska@suse.cz>
2049         PR gcov-profile/84107
2050         * libgcov-profiler.c (__gcov_indirect_call):
2051         Change type to indirect_call_tuple.
2052         (struct indirect_call_tuple): New struct.
2053         (__gcov_indirect_call_topn_profiler): Change type.
2054         (__gcov_indirect_call_profiler_v2): Use the new
2055         variables.
2056         * libgcov.h (struct indirect_call_tuple): New struct
2057         definition.
2059 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
2061         * libgcc2.c (isnan): Use __builtin_isnan.
2062         (isfinite): Use __builtin_isfinite.
2063         (isinf): Use __builtin_isinf.
2065 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
2067         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2069 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
2071         * config/vxcache.c: New file.  Provide __clear_cache, based on
2072         the cacheTextUpdate VxWorks service.
2073         * config/t-vxworks (LIB2ADD): Add vxcache.c.
2074         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2075         * config/t-vxwoks7: Likewise.
2077 2018-09-21  Martin Liska  <mliska@suse.cz>
2079         * libgcov-driver.c (crc32_unsigned): Remove.
2080         (gcov_histogram_insert): Likewise.
2081         (gcov_compute_histogram): Likewise.
2082         (compute_summary): Simplify rapidly.
2083         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2084         (merge_summary): Rapidly simplify.
2085         (dump_one_gcov): Ignore gcov_summary.
2086         (gcov_do_dump): Do not handle program summary, it's not
2087         used.
2088         * libgcov-util.c (tag_summary): Remove.
2089         (read_gcda_finalize): Fix coding style.
2090         (read_gcda_file): Initialize curr_object_summary.
2091         (compute_summary): Remove.
2092         (calculate_overlap): Remove settings of run_max.
2094 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
2096         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2097         ucontext_t type instead.
2098         (nds32_fallback_frame_state): Remove struct _sigframe statement.
2100 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
2102         * config/nds32/t-nds32-glibc: New file.
2104 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2106         * configure.ac (solaris_ld_v2_maps): New test.
2107         * configure: Regenerate.
2108         * Makefile.in (solaris_ld_v2_maps): New variable.
2109         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2110         if supported.
2112 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
2114         PR target/86951
2115         * config/arm/lib1funcs.asm (speculation_barrier): New function.
2116         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2117         to build.
2119 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
2121         * config/unwind-dw2-fde-darwin.c
2122         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2123         * config/darwin10-unwind-find-enc-func.c: â€¦ to here.
2124         * config/t-darwin: Build Darwin10 unwinder shim crt.
2125         * libgcc/config.host: Add the Darwin10 unwinder shim.
2127 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2129         * config.host: Add crtbegin.o and crtend.o for
2130         powerpc-wrs-vxworks target.
2132 2018-08-17  Jojo  <jijie_rong@c-sky.com>
2133             Huibin Wang  <huibin_wang@c-sky.com>
2134             Sandra Loosemore  <sandra@codesourcery.com>
2135             Chung-Lin Tang  <cltang@codesourcery.com>
2137         C-SKY port: libgcc
2139         * config.host: Add C-SKY support.
2140         * config/csky/*: New.
2142 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
2144         * config/nds32/t-nds32-isr: Rearrange object dependency.
2145         * config/nds32/initfini.c: Add dwarf2 unwinding support.
2146         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2147         and registers usage.
2148         * config/nds32/isr-library/excp_isr.S: Ditto.
2149         * config/nds32/isr-library/intr_isr.S: Ditto.
2150         * config/nds32/isr-library/reset.S: Ditto.
2151         * config/nds32/isr-library/restore_all.inc: Ditto.
2152         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2153         * config/nds32/isr-library/restore_partial.inc: Ditto.
2154         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2155         * config/nds32/isr-library/save_all.inc: Ditto.
2156         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2157         * config/nds32/isr-library/save_partial.inc: Ditto.
2158         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2159         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2161 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
2163         * config/pa/linux-atomic.c: Update comment.
2164         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2165         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2166         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2167         __ATOMIC_RELAXED for atomic loads.
2168         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
2169         unordered store to release lock.
2170         (__sync_lock_release_8): Likewise.
2171         (SYNC_LOCK_RELEASE_2): Remove define.
2173 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
2175         PR libgcc/86512
2176         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2177         exponent goes negative. Update my email address.
2178         * config/arm/ieee754-sf.S: Likewise.
2180 2018-08-01  Martin Liska  <mliska@suse.cz>
2182         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
2183         check that  __gcov_indirect_call_callee is non-null.
2185 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
2187         * config/arm/ieee754-df.S: Fix comment for code working on
2188         architectures >= 4.
2189         * config/arm/ieee754-sf.S: Likewise.
2191 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2193         PR libgcc/85334
2194         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2195         Removed.
2197 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
2199         * configure: Regenerated.
2201 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2203         * Makefile.in (install_leaf): Use enable_gcov instead of
2204         enable_libgcov.
2206 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2208         * configure.ac: Add --disable-gcov option.
2209         * configure: Regenerate.
2210         * Makefile.in: Honour @enable_gcov@.
2212 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
2214         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2215         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2216         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2217         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2218         __ARM_ARCH__.
2219         * config/arm/ieee754-sf.S: Likewise.
2220         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2222 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
2224         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2225         longer supported.
2226         * config/arm/ieee754-sf.S: Likewise.
2228 2018-06-20  Than McIntosh  <thanm@google.com>
2230         PR libgcc/86213
2231         * generic-morestack.c (allocate_segment): Move calls to getenv and
2232         getpagesize to __morestack_load_mmap.
2233         (__morestack_load_mmap) Initialize static_pagesize and
2234         use_guard_page here so as to avoid clobbering SSE regs during a
2235         __morestack call.
2237 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
2239         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2240         support modules with -mno-gnu-attribute.
2241         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2243 2018-06-07  Olivier Hainque  <hainque@adacore.com>
2245         * config/t-vxworks (LIBGCC_INCLUDES): Add
2246         -I$(MULTIBUILDTOP)../../gcc/include.
2247         * config/t-vxworks7: Likewise. Reformat a bit to match
2248         the t-vxworks layout.
2250 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
2252         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2254 2018-06-07  Martin Liska  <mliska@suse.cz>
2256         * libgcov-driver.c: Rename cs_all to all and assign it from
2257         all_prg.
2259 2018-06-07  Martin Liska  <mliska@suse.cz>
2261         PR bootstrap/86057
2262         * libgcov-driver-system.c (replace_filename_variables): Use
2263         memcpy instead of mempcpy.
2264         (allocate_filename_struct): Do not allocate filename, allocate
2265         prefix and set it.
2266         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
2267         here and properly copy content into it.
2268         * libgcov-driver.c (struct gcov_filename): Remove max_length
2269         field, change prefix from size_t into char *.
2270         (compute_summary): Do not calculate longest filename.
2271         (gcov_do_dump): Release memory of gf.filename after each file.
2272         * libgcov-util.c (compute_summary): Use new signature of
2273         compute_summary.
2274         (calculate_overlap): Likewise.
2276 2018-06-05  Martin Liska  <mliska@suse.cz>
2278         PR gcov-profile/47618
2279         * libgcov-driver-system.c (replace_filename_variables): New
2280         function.
2281         (gcov_exit_open_gcda_file): Use it.
2283 2018-06-05  Martin Liska  <mliska@suse.cz>
2285         * libgcov-driver.c (gcov_compute_histogram): Remove usage
2286         of gcov_ctr_summary.
2287         (compute_summary): Do it just for a single summary.
2288         (merge_one_data): Likewise.
2289         (merge_summary): Simplify as we read just single summary.
2290         (dump_one_gcov): Pass proper argument.
2291         * libgcov-util.c (compute_one_gcov): Simplify as we have just
2292         single summary.
2293         (gcov_info_count_all_cold): Likewise.
2294         (calculate_overlap): Likewise.
2296 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
2297             Monk Chiang  <sh.chiang04@gmail.com>
2299         * config.host (nds32*-linux*): New.
2300         * config/nds32/linux-atomic.c: New file.
2301         * config/nds32/linux-unwind.h: New file.
2303 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
2305         PR target/85591
2306         * config/i386/cpuinfo.c (get_amd_cpu): Return
2307         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2309 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
2311         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
2313 2018-05-29  Martin Liska  <mliska@suse.cz>
2315         PR gcov-profile/85759
2316         * libgcov-driver-system.c (gcov_error): Introduce usage of
2317         GCOV_EXIT_AT_ERROR env. variable.
2318         * libgcov-driver.c (merge_one_data): Print error that we
2319         overwrite a gcov file with a different timestamp.
2321 2018-05-23  Kalamatee  <kalamatee@gmail.com>
2323         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2324         path to Lf$finfty.
2326 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
2327             Monk Chiang  <sh.chiang04@gmail.com>
2328             Jim Wilson <jimw@sifive.com>
2330         * config/riscv/save-restore.S: Add support for rv32e.
2332 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2334         * config/arm/libunwind.S: Update comment relating to armv5.
2336 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
2338         * config/arm/cmse.c (cmse_check_address_range): Replace
2339         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2341 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
2343         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2344         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2346 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
2348         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2349         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2351 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
2353         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2355 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
2356             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2358         PR libgcc/84292
2359         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2360         op_and_fetch to return the right result.
2362 2018-04-27  Alan Modra  <amodra@gmail.com>
2364         PR libgcc/85532
2365         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2366         -fno-asynchronous-unwind-tables.
2368 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
2370         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2371         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2373 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
2375         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2376         when including "config/i386/shadow-stack-unwind.h".
2378 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
2380         * configure: Regenerated.
2382 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
2384         PR target/85456
2385         * config/rs6000/_powikf2.c: New file.  Add support for the
2386         __builtin_powil function when long double is IEEE 128-bit floating
2387         point.
2388         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2389         __powikf2 support.
2390         (__powikf2): Likewise.
2391         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2392         (__powikf2_hw): Likewise.
2393         (__powikf2): Likewise.
2394         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2395         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2396         (_powikf2-hw.c): Likewise.
2398 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
2400         PR libgcc/85334
2401         * unwind-generic.h (_Unwind_Frames_Increment): New.
2402         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2403         Likewise.
2404         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2405         count with _Unwind_Frames_Increment.
2406         (_Unwind_ForcedUnwind_Phase2): Likewise.
2408 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
2410         PR libgcc/85379
2411         * config/i386/morestack.S (__stack_split_initialize): Add
2412         _CET_ENDBR.
2414 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
2416         * configure: Regenerated.
2418 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
2420         PR jit/85384
2421         * configure: Regenerate.
2423 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
2425         PR target/84945
2426         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2427         -Wdangling-else warnings.  Mask shift counts to avoid
2428         -Wshift-count-negative and -Wshift-count-overflow false positives.
2430 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
2432         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2434 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
2436         PR target/85100
2437         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2438         (XSTATE_FP): Likewise.
2439         (XSTATE_SSE): Likewise.
2440         (XSTATE_YMM): Likewise.
2441         (XSTATE_OPMASK): Likewise.
2442         (XSTATE_ZMM): Likewise.
2443         (XSTATE_HI_ZMM): Likewise.
2444         (XCR_AVX_ENABLED_MASK): Likewise.
2445         (XCR_AVX512F_ENABLED_MASK): Likewise.
2446         (get_available_features): Enable AVX and AVX512 features only
2447         if their states are supported by OSXSAVE.
2449 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2451         PR target/85025
2452         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2453         Fix a typo, tmp => 255.
2455 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
2457         PR target/84945
2458         * config/i386/cpuinfo.h (__cpu_features2): Declare.
2459         * config/i386/cpuinfo.c (__cpu_features2): New variable for
2460         ifndef SHARED only.
2461         (set_feature): Define.
2462         (get_available_features): Use set_feature macro.  Set __cpu_features2
2463         to the second word of features ifndef SHARED.
2465 2018-03-15  Julia Koval  <julia.koval@intel.com>
2467         * config/i386/cpuinfo.c (get_available_features): Add
2468         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2469         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2470         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2471         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2472         FEATURE_AVX512BITALG.
2474 2018-03-14  Julia Koval  <julia.koval@intel.com>
2476         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2477         icelake client and icelake server.
2479 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
2481         * config/pa/fptr.c (_dl_read_access_allowed): New.
2482         (__canonicalize_funcptr_for_compare): Use it.
2484 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
2486         PR debug/83917
2487         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2488         $asm_hidden_op if visibility ("hidden") attribute works.
2489         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2490         * config/i386/i386-asm.h: Don't include auto-host.h.
2491         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2492         PACKAGE_URL): Don't undefine.
2493         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2494         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2495         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2496         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2497         definition instead of hardcoded .hidden.
2498         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2499         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2500         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2501         (USE_GAS_CFI_DIRECTIVES): Don't define.
2502         * configure: Regenerated.
2503         * config.in: Likewise.
2505 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
2507         PR debug/83917
2508         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2509         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2510         inclusion of auto-target.h and auto-host.h.
2511         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2512         __GCC_HAVE_DWARF2_CFI_ASM.
2513         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2514         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2515         cfi_pop): Define.
2516         * config/i386/cygwin.S: Don't include auto-host.h here, just
2517         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2518         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2519         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2520         * config/i386/resms64fx.h: Add cfi_* directives.
2521         * config/i386/resms64x.h: Likewise.
2523 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
2525         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2526         .literal_position directive.
2527         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2529 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2531         PR target/84148
2532         * configure: Regenerate.
2534 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2536         PR target/84239
2537         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2538         Include cetintrin.h not x86intrin.h.
2540 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2542         PR target/84239
2543         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2544         Use new _get_ssp and _inc_ssp intrinsics.
2546 2018-02-02  Julia Koval  <julia.koval@intel.com>
2548         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2550 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
2552         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2553         option.
2554         (__divsi3): Use RF16 safe registers.
2555         (__modsi3): Likewise.
2557 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
2559         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2560         (__divsf3): Make NaN return value quiet.
2561         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2562         (__divdf3): Make NaN return value quiet.
2564 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2566         * config/rl78/anddi3.S: New assembly file.
2567         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2569 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2571         * config/rl78/umindi3.S: New assembly file.
2572         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2574 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2576         * config/rl78/smindi3.S: New assembly file.
2577         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2579 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2581         * config/rl78/smaxdi3.S: New assembly file.
2582         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2584 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
2586         * config/rl78/umaxdi3.S: New assembly file.
2587         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
2589 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
2591         PR lto/83452
2592         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2593         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2595 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
2597         * config/aarch64/value-unwind.h (aarch64_vg): New function.
2598         (DWARF_LAZY_REGISTER_VALUE): Define.
2599         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2600         to provide a fallback register value.
2602 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
2604         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2605         __ibm128, instead of trying to use long double.
2606         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2607         accomidate -mabi=ieeelongdouble multilibs.
2608         (CVT_IBM128_TO_FLOAT128): Likewise.
2609         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2610         the appropriate IBM extended double type.
2611         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2612         (__gcc_qsub): Likewise.
2613         (__gcc_qmul): Likewise.
2614         (__gcc_qdiv): Likewise.
2615         (pack_ldouble): Likewise.
2616         (__gcc_qneg): Likewise.
2617         (__gcc_qeq): Likewise.
2618         (__gcc_qne): Likewise.
2619         (__gcc_qge): Likewise.
2620         (__gcc_qle): Likewise.
2621         (__gcc_stoq): Likewise.
2622         (__gcc_dtoq): Likewise.
2623         (__gcc_itoq): Likewise.
2624         (__gcc_utoq): Likewise.
2625         (__gcc_qunord): Likewise.
2626         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2627         quad-float128.h for the definitions.
2628         (COPYSIGN): Use the f128 version instead of the q version.
2629         (INFINITY): Likewise.
2630         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2631         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2632         quad-float128.h for the definitions.
2633         (COPYSIGN): Use the f128 version instead of the q version.
2634         (INFINITY): Likewise.
2635         (FABS): Likewise.
2636         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2637         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2638         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2640 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2642         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2643         configuration.
2645 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
2647         Update copyright years.
2649 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
2651         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2652         * config/riscv/multi3.c: New file.
2653         * config/riscv/multi3.S: Remove.
2655 2017-12-08  Jim Wilson  <jimw@sifive.com>
2657         * config/riscv/div.S: Use FUNC_* macros.
2658         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2659         * config/riscv/save-restore.S: Likewise.
2660         * config/riscv/riscv-asm.h: New.
2662 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
2664         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2665         * config/rs6000/_divkc3.c (__divkc3): Likewise.
2667         PR libgcc/83112
2668         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2669         correct type for all ifunc resolvers to silence -Wattribute-alias
2670         warnings.  Eliminate the forward declaration of the resolver
2671         functions which is no longer needed.
2672         (__subkf3_resolve): Likewise.
2673         (__mulkf3_resolve): Likewise.
2674         (__divkf3_resolve): Likewise.
2675         (__negkf2_resolve): Likewise.
2676         (__eqkf2_resolve): Likewise.
2677         (__nekf2_resolve): Likewise.
2678         (__gekf2_resolve): Likewise.
2679         (__gtkf2_resolve): Likewise.
2680         (__lekf2_resolve): Likewise.
2681         (__ltkf2_resolve): Likewise.
2682         (__unordkf2_resolve): Likewise.
2683         (__extendsfkf2_resolve): Likewise.
2684         (__extenddfkf2_resolve): Likewise.
2685         (__trunckfsf2_resolve): Likewise.
2686         (__trunckfdf2_resolve): Likewise.
2687         (__fixkfsi_resolve): Likewise.
2688         (__fixkfdi_resolve): Likewise.
2689         (__fixunskfsi_resolve): Likewise.
2690         (__fixunskfdi_resolve): Likewise.
2691         (__floatsikf_resolve): Likewise.
2692         (__floatdikf_resolve): Likewise.
2693         (__floatunsikf_resolve): Likewise.
2694         (__floatundikf_resolve): Likewise.
2695         (__extendkftf2_resolve): Likewise.
2696         (__trunctfkf2_resolve): Likewise.
2698         PR libgcc/83103
2699         * config/rs6000/quad-float128.h (TF): Don't define if long double
2700         is IEEE 128-bit floating point.
2701         (TCtype): Define as either TCmode or KCmode, depending on whether
2702         long double is IEEE 128-bit floating point.
2703         (__mulkc3_sw): Add declarations for software/hardware versions of
2704         complex multiply/divide.
2705         (__divkc3_sw): Likewise.
2706         (__mulkc3_hw): Likewise.
2707         (__divkc3_hw): Likewise.
2708         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2709         handlers to switch between using software emulation and hardware
2710         float128 instructions, build the complex multiply/divide functions
2711         for both software and hardware support.
2712         * config/rs6000/_divkc3.c (_divkc3): Likewise.
2713         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2714         (__divkc3_resolve): Likewise.
2715         (__mulkc3): Likewise.
2716         (__divkc3): Likewise.
2717         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2718         (fp128_hw_src): Likewise.
2719         (fp128_hw_static_obj): Likewise.
2720         (fp128_hw_shared_obj): Likewise.
2721         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2722         _mulkc3.c and _divkc3.c, changing the function name.
2723         (_divkc3-hw.c): Likewise.
2724         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2725         and _divkc3-hw.c.
2727 2017-11-26  Julia Koval  <julia.koval@intel.com>
2729         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2730         * config/i386/cpuinfo.h (processor_subtypes): Add
2731         INTEL_COREI7_CANNONLAKE.
2733 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2735         PR bootstrap/83015
2736         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2737         parameter.
2738         * config/xtensa/unwind-dw2-xtensa.c: Likewise
2739         * config/ia64/unwind-ia64.c: Add frames parameter.
2740         * unwind-sjlj.c: Likewise.
2742 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2744         * config/i386/linux-unwind.h: Include
2745         config/i386/shadow-stack-unwind.h.
2746         * config/i386/shadow-stack-unwind.h: New file.
2747         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2748         pass it to _Unwind_Frames_Extra.
2749         * unwind-generic.h (_Unwind_Frames_Extra): New.
2750         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2751         parameter. Add local variable frames to count number of frames.
2752         (_Unwind_ForcedUnwind_Phase2): Likewise.
2753         (_Unwind_RaiseException): Add local variable frames to count
2754         number of frames, pass it to _Unwind_RaiseException_Phase2 and
2755         uw_install_context.
2756         (_Unwind_ForcedUnwind): Likewise.
2757         (_Unwind_Resume): Likewise.
2758         (_Unwind_Resume_or_Rethrow): Likewise.
2760 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
2762         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2763         (CET_FLAGS): New.
2764         * config/i386/morestack.S: Include <cet.h>.
2765         (__morestack_large_model): Add _CET_ENDBR at function entrance.
2766         * config/i386/resms64.h: Include <cet.h>.
2767         * config/i386/resms64f.h: Likewise.
2768         * config/i386/resms64fx.h: Likewise.
2769         * config/i386/resms64x.h: Likewise.
2770         * config/i386/savms64.h: Likewise.
2771         * config/i386/savms64f.h: Likewise.
2772         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2773         (CRTSTUFF_T_CFLAGS): Likewise.
2774         * configure.ac: Include ../config/cet.m4.
2775         Set and substitute CET_FLAGS.
2776         * configure: Regenerated.
2778 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2780         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2781         renaming.
2782         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2783         * configure.ac (libgcc_cv_solaris_crts): Likewise.
2784         * configure: Regenerate.
2786 2017-11-07  Tom de Vries  <tom@codesourcery.com>
2788         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2789         after "do {} while (0)".
2791 2017-11-07  Tom de Vries  <tom@codesourcery.com>
2793         PR other/82784
2794         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2795         semicolon after "do {} while (0)".
2796         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2797         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2798         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2799         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2801 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
2803         PR libgcc/82635
2804         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2805         sysctl to determine whether we're in a trampoline.
2806         Keep the pattern matching method for systems without
2807         KERN_PROC_SIGTRAMP sysctl.
2809 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
2810             Vineet Gupta <vgupta@synopsys.com>
2812         * config.host (arc*-*-linux*): Set md_unwind_header variable.
2813         * config/arc/linux-unwind-reg.def: New file.
2814         * config/arc/linux-unwind-reg.h: Likewise.
2816 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
2818         * config/rl78/subdi3.S: New assembly file.
2819         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2821 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
2823         * config/rl78/adddi3.S: New assembly file.
2824         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2826 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
2828         PR target/82274
2829         * libgcc2.c (__mulvDI3): If both operands have
2830         the same highpart of -1 and the topmost bit of lowpart is 0,
2831         multiplication overflows even if both lowparts are 0.
2833 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
2835         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2837 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
2839         * config/microblaze/crti.S, config/microblaze/crtn.S,
2840         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2841         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2842         config/microblaze/mulsi3.S,
2843         config/microblaze/stack_overflow_exit.S,
2844         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2845         config/pa/milli64.S: Add .note.GNU-stack section.
2847 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
2849         * configure.ac: Add Check for HAVE_AS_AVX.
2850         * config.in: Regenerate.
2851         * configure: Likewise.
2852         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2853         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2854         Correct out-of-date comments.
2856 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
2858         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2859         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2861 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
2863         * config/i386/i386-asm.h (PASTE2): New macro.
2864         (ASMNAME): Modify to use PASTE2.
2865         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2866         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
2867         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
2868         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
2869         * config/i386/resms64f.S: Likewise.
2870         * config/i386/resms64fx.S: Likewise.
2871         * config/i386/resms64x.S: Likewise.
2872         * config/i386/savms64.S: Likewise.
2873         * config/i386/savms64f.S: Likewise.
2874         * config/i386/avx_resms64.S: New file that only defines a macro and
2875         includes it's corresponding header file.
2876         * config/i386/avx_resms64f.S: Likewise.
2877         * config/i386/avx_resms64fx.S: Likewise.
2878         * config/i386/avx_resms64x.S: Likewise.
2879         * config/i386/avx_savms64.S: Likewise.
2880         * config/i386/avx_savms64f.S: Likewise.
2881         * config/i386/sse_resms64.S: Likewise.
2882         * config/i386/sse_resms64f.S: Likewise.
2883         * config/i386/sse_resms64fx.S: Likewise.
2884         * config/i386/sse_resms64x.S: Likewise.
2885         * config/i386/sse_savms64.S: Likewise.
2886         * config/i386/sse_savms64f.S: Likewise.
2887         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
2889 2017-09-01  Olivier Hainque  <hainque@adacore.com>
2890         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2892 2017-08-31  Olivier Hainque  <hainque@adacore.com>
2894         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2895         match as powerpc-wrs-vxworks*.
2897 2017-08-07  Jonathan Yong  <10walls@gmail.com>
2899         * config.host (*-cygwin): Include file from mingw
2900         config/i386/enable-execute-stack-mingw32.c
2902 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
2903             Doug Rupp  <rupp@adacore.com>
2904             Olivier Hainque  <hainque@adacore.com>
2906         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2907         as well as arm-wrs-vxworks.
2908         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
2909         LIB2ADDEH.
2910         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2911         __exidx_start and __exidx_end for downloadable modules.
2913 2017-08-01  Olivier Hainque  <hainque@adacore.com>
2915         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2916         * config/t-vxworks7: Likewise.
2918 2017-08-01  Olivier Hainque  <hainque@adacore.com>
2920         * config/t-vxworks: Instead of redefining LIB2ADD,
2921         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2923 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2925         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2927 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
2929         PR testsuite/80759
2930         * config.host: include i386/t-msabi for darwin and solaris.
2931         * config/i386/i386-asm.h
2932         (ELFFN): Rename to FN_TYPE.
2933         (FN_SIZE): New macro.
2934         (FN_HIDDEN): Likewise.
2935         (ASMNAME): Likewise.
2936         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2937         .globl.
2938         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2939         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2940         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2941         .macro.
2942         * config/i386/resms64f.S: Likewise.
2943         * config/i386/resms64fx.S: Likewise.
2944         * config/i386/resms64x.S: Likewise.
2945         * config/i386/savms64.S: Likewise.
2946         * config/i386/savms64f.S: Likewise.
2948 2017-07-19  John Marino  <gnugcc@marino.st>
2950         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2952 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
2954         PR target/81193
2955         * configure.ac (PowerPC float128 hardware support): Test whether
2956         we can use __builtin_cpu_supports before enabling the ifunc
2957         handler.
2958         * configure: Regenerate.
2960 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
2962         * config.host: Remove uclibc from arc target spec.
2964 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
2966         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2968 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
2970         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2971         (have_ieee_hw_p): Delete function.
2972         (SW_OR_HW) Use __builtin_cpu_supports().
2974 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2976         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2978 2017-07-03  Olivier Hainque  <hainque@adacore.com>
2980         * config/t-vxworks7: New file, really.
2982 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
2984         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2985         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2986         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2987         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2988         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2989         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2990         config/pa/linux-unwind.h (pa32_fallback_frame_state),
2991         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2992         config/sh/linux-unwind.h (sh_fallback_frame_state),
2993         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2994         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2995         ucontext_t instead of struct ucontext.
2997 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
2999         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3000         (x86_64-wrs-vxworks7): Likewise.
3002 2017-06-27  Olivier Hainque  <hainque@adacore.com>
3004         * config/t-vxworks7: New file.
3005         * config.host (*-*-vxworks7): Use it.
3007 2017-06-22  Matt Turner  <mattst88@gmail.com>
3009         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3010         skylake case.
3012 2017-06-21  Richard Biener  <rguenther@suse.de>
3014         PR gcov-profile/81080
3015         * configure.ac: Add AC_SYS_LARGEFILE.
3016         * libgcov.h: Include auto-target.h before tsystem.h to pick
3017         up _FILE_OFFSET_BITS which might differ for multilibs.
3018         * config.in: Regenerate.
3019         * configure: Likewise.
3021 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
3023         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3025 2017-06-09  Martin Liska  <mliska@suse.cz>
3027         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3028         Reset __gcov_indirect_call_callee to NULL.
3030 2017-06-08  Olivier Hainque  <hainque@adacore.com>
3032         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3033         the set of -I options, support for direct inclusions of net/uio.h
3034         by VxWorks header files via ioLib.h.
3036 2017-06-07  Tony Reix  <tony.reix@atos.net>
3037             Matthieu Sarter  <matthieu.sarter.external@atos.net>
3038             David Edelsohn  <dje.gcc@gmail.com>
3040         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3041         unconditionally.
3042         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
3043         AIX 7.2 support.
3045 2017-06-02  Olivier Hainque  <hainque@adacore.com>
3047         * config/vxlib.c (__gthread_once): Add missing value to
3048         return statement.
3050 2017-05-30  Olivier Hainque  <hainque@adacore.com>
3052         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3053         dollar sign before $(MULTIDIR).
3055 2017-05-26  Richard Henderson  <rth@redhat.com>
3057         PR libgcc/80037
3058         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3060 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
3062         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3063         _Unwind_SetIP available as functions for arm*-*-freebsd*.
3064         * config/arm/unwind-arm.c: Implement the above.
3066 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3068         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3069         section for a non-executable stack.
3071 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
3073         PR target/80600
3074         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3076 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
3078         * config.host: Add i386/t-msabi to i386/t-linux file list.
3079         * config/i386/i386-asm.h: New file.
3080         * config/i386/resms64.S: New file.
3081         * config/i386/resms64f.S: New file.
3082         * config/i386/resms64fx.S: New file.
3083         * config/i386/resms64x.S: New file.
3084         * config/i386/savms64.S: New file.
3085         * config/i386/savms64f.S: New file.
3086         * config/i386/t-msabi: New file.
3088 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
3090         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3091         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3093 2017-05-05  Joshua Conner  <joshconner@google.com>
3095         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3096         pc-relative indirect handling for fuchsia.
3097         * config/t-slibgcc-fuchsia: New file.
3098         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
3099         x86_64-*-fuchsia*): Add definitions.
3101 2017-04-19  Martin Liska  <mliska@suse.cz>
3103         PR gcov-profile/80435
3104         * Makefile.in: Install gcov.h.
3105         * gcov.h: New file.
3106         * libgcov.h: Use the header and make __gcov_flush publicly
3107         visible.
3109 2017-04-18  Martin Liska  <mliska@suse.cz>
3111         PR gcov-profile/78783
3112         * libgcov-driver.c (gcov_get_filename): New function.
3114 2017-04-07  Jeff Law  <law@redhat.com>
3116         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3117         target makefile fragment.
3118         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3120 2017-04-07  Alan Modra  <amodra@gmail.com>
3122         PR target/45053
3123         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3125 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
3127         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3129 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
3131         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3133 2017-03-10  John Marino  <gnugcc@marino.st>
3135         * config/aarch64/freebsd-unwind.h: New file.
3136         * config.host: Add aarch64-*-freebsd unwinder.
3138 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
3140         * config/rs6000/crtrestvr.s: Use .machine altivec.
3141         * config/rs6000/crtsavevr.s: Ditto.
3143 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
3145         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3146         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
3147         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3148         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
3149         * configure: Regenerate.
3150         * config.in: Regenerate.
3152 2017-03-02  Jonathan Yong <10walls@gmail.com>
3154         * config/i386/gthr-win32.h: Define NOGDI before
3155         windows.h include to prevent w32api CC_NONE macro
3156         clash with libgfortran.
3158 2017-03-02  Jonathan Yong <10walls@gmail.com>
3160         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3162 2017-02-16  Andrew Pinski  <apinski@cavium.com>
3164         * config/aarch64/value-unwind.h: New file.
3165         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3166         to tm_file.
3168 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
3170         * config.host: Add RISC-V tuples.
3171         * config/riscv/atomic.c: New file.
3172         * config/riscv/crti.S: Likewise.
3173         * config/riscv/crtn.S: Likewise.
3174         * config/riscv/div.S: Likewise.
3175         * config/riscv/linux-unwind.h: Likewise.
3176         * config/riscv/muldi3.S: Likewise.
3177         * config/riscv/multi3.S: Likewise.
3178         * config/riscv/save-restore.S: Likewise.
3179         * config/riscv/sfp-machine.h: Likewise.
3180         * config/riscv/t-elf: Likewise.
3181         * config/riscv/t-elf32: Likewise.
3182         * config/riscv/t-elf64: Likewise.
3183         * config/riscv/t-softfp32: Likewise.
3184         * config/riscv/t-softfp64: Likewise.
3186 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
3188         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3189         /* FALLTHRU */ comments.
3191 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
3193         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3195 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
3197         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3198         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
3199         DW_CFA_GNU_window_save for AArch64 and LP64.
3201 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
3203         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3205 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
3207         * config/aarch64/aarch64-unwind.h: New file.
3208         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3209         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3210         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3211         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3212         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3213         (aarch64_post_extract_frame_addr): New function.
3214         (aarch64_post_frob_eh_handler_addr): New function.
3215         (aarch64_frob_update_context): New function.
3216         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3217         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3218         aarch64*-*-freebsd*):
3219         Initialize md_unwind_header to include aarch64-unwind.h.
3220         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3221         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3222         __aarch64__.
3223         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3224         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3225         (uw_frob_return_addr): New function.
3226         (uw_install_context): Use uw_frob_return_addr.
3228 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
3230         PR other/79046
3231         * configure.ac: Add GCC_BASE_VER.
3232         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3233         version from BASE-VER file.
3234         * configure: Regenerated.
3236 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
3238         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3239         libmul_f5.a): Filter archived prerequisites.
3241 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
3243         * config/i386/cpuinfo.h (processor_features): Add
3244         FEATURE_AVX512VPOPCNTDQ.
3245         * config/i386/cpuinfo.c (get_available_features): Habdle new
3246         feature.
3248 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3250         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3251         payload if [__mips_nan2008].
3253 2017-01-04  Alan Modra  <amodra@gmail.com>
3255         * Makefile.in (configure_deps): Update.
3256         * configure: Regenerate.
3258 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
3260         Update copyright years.
3262 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
3264         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3265         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3266         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3268 2016-12-17  Matthias Klose  <doko@ubuntu.com>
3270         * config/arc/gmon: Remove empty directory.
3272 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
3274         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3275         crtgend.
3276         (arc*-*-elf*): Likewise.
3277         * config/arc/t-arc: Remove old gmon lib targets.
3278         * config/arc/crtg.S: Remove.
3279         * config/arc/crtgend.S: Likewise.
3280         * config/arc/gmon/atomic.h: Likewise.
3281         * config/arc/gmon/auxreg.h: Likewise.
3282         * config/arc/gmon/dcache_linesz.S: Likewise.
3283         * config/arc/gmon/gmon.c: Likewise.
3284         * config/arc/gmon/machine-gmon.h: Likewise.
3285         * config/arc/gmon/mcount.c: Likewise.
3286         * config/arc/gmon/prof-freq-stub.S: Likewise.
3287         * config/arc/gmon/prof-freq.c: Likewise.
3288         * config/arc/gmon/profil.S: Likewise.
3289         * config/arc/gmon/sys/gmon.h: Likewise.
3290         * config/arc/gmon/sys/gmon_out.h: Likewise.
3291         * config/arc/t-arc-newlib: Likewise.
3292         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3294 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
3296         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3298 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
3300         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3301         R16 instead of push + pop.
3302         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3304 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
3306         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3307         tmake_file.
3309 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
3311         * config.host (arc*-*-linux-uclibc*): Use default extra
3312         objects. Include linux-android header.
3313         * config/arc/crti.S (_init): Declare symbol as function.
3314         (_fini): Likewise.
3316 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
3318         PR fortran/78379
3319         * config/i386/cpuinfo.c:  Move denums for processor vendors,
3320         processor type, processor subtypes and declaration of
3321         struct __processor_model into
3322         * config/i386/cpuinfo.h:  New header file.
3324 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
3325             Thomas Preud'homme  <thomas.preudhomme@arm.com>
3327         * config/arm/cmse_nonsecure_call.S: New.
3328         * config/arm/t-arm: Compile cmse_nonsecure_call.S
3330 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
3331             Thomas Preud'homme  <thomas.preudhomme@arm.com>
3333         * config/arm/t-arm (HAVE_CMSE): New.
3334         * config/arm/cmse.c: New.
3336 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3338         PR gcc/74748
3339         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3340         use generic linker version information on Blackfin.
3342         PR gcc/74748
3343         * libgcc/mkmap-symver.awk: add support for skip_underscore
3345 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
3346             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3348         PR target/67710
3349         *  config/t-darwin: Default builds to 10.5 codegen.
3351 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
3353         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3354         (_FP_NANSIGN_H): Likewise.
3355         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3356         (softfp_truncations): Add tfhf.
3357         (softfp_extras): Add required conversion functions.
3359 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
3360             Matthew Wahab  <matthew.wahab@arm.com>
3362         * config/arm/fp16.c (binary64): New.
3363         (__gnu_d2h_internal): New.
3364         (__gnu_d2h_ieee): New.
3365         (__gnu_d2h_alternative): New.
3367 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
3368             Matthew Wahab  <matthew.wahab@arm.com>
3370         * config/arm/fp16.c (struct format): New.
3371         (binary32): New.
3372         (__gnu_float2h_internal): New.  Body moved from
3373         __gnu_f2h_internal and generalize.
3374         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3375         Call it with binary32.
3377 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
3379         * soft-fp/extendhftf2.c: Update from glibc.
3380         * soft-fp/fixhfti.c: Likewise.
3381         * soft-fp/fixunshfti.c: Likewise.
3382         * soft-fp/floattihf.c: Likewise.
3383         * soft-fp/floatuntihf.c: Likewise.
3384         * soft-fp/half.h: Likewise.
3385         * soft-fp/trunctfhf2.c: Likewise.
3387 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
3389         PR libgcc/77813
3390         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3391         __TMC_END__ behind a passthrough asm.
3393 2016-11-18  Walter Lee  <walt@tilera.com>
3395         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3397 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
3399         * config/i386/cpuinfo.c (processor_features): Add
3400         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3402 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
3404         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3405         (__ARC_NORM__): Use instead ARC_OPTFPE.
3406         * config/arc/fp-hack.h: Likewise.
3407         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3408         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3410 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
3412         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3413         * config/nvptx/mgomp.c: New file.
3414         * config/nvptx/t-nvptx: Add mgomp.c
3416 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
3418         PR libgcc/68468
3419         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3421 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
3423         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3424         of checking for cpus.
3425         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3426         (__modsi3, __clzsi2): Likewise.
3428 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3430         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3431         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3432         * config/i386/t-cpuinfo-static: New.
3434 2016-11-03  Martin Liska  <mliska@suse.cz>
3436         * libgcov-profiler.c (__gcov_time_profiler): Remove.
3437         (__gcov_time_profiler_atomic): Likewise.
3439 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3441         PR libgcc/78067
3442         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3443         count_leading_zeros.
3445 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
3447         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3448         * libgcc2.c (__divmoddi4): New function.
3449         * libgcc2.h (__divmoddi4): Declare.
3450         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3451         and __PFX_divmodti4.
3453 2016-10-24  Florian Weimer  <fweimer@redhat.com>
3455         PR libgcc/78064
3456         * unwind-c.c: Include auto-target.h.
3458 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
3460         * config/pa/pa64-hpux-lib.h: New file.
3461         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3462         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3463         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3464         hppa*64*-*-hpux11*.
3466 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
3468         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3469         definition.
3470         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3471         definition.
3472         * config/xtensa/t-windowed (LIB2ADDEH): Use
3473         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3474         or xtensa/t-linux.
3476 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
3478         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3479         __ieee754_sqrt): New functions.
3480         (__divdf3): Add implementation with new FPU instructions under
3481         #if XCHAL_HAVE_DFP_DIV.
3482         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3483         __ieee754_sqrtf): New functions.
3484         (__divsf3): Add implementation with new FPU instructions under
3485         #if XCHAL_HAVE_FP_DIV.
3486         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3487         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3489 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3491         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3492         equivalent.
3493         * config/tilepro/atomic.c: Likewise and stop casting model to
3494         enum memmodel.
3496 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
3498         PR target/77586
3499         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3500         soft-fp.
3502 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
3504         * config.host: Add support for aarch64-*-freebsd*.
3506 2016-10-05  Andreas Schwab  <schwab@suse.de>
3508         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3509         (.section .init_array): Don't call __do_jv_register_classes.
3510         (.section .init): Likewise.
3512 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
3514         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3515         (__JCR_LIST__): Remove.
3516         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3517         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3518         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3519         * config/ia64/crtend.S (__JCR_END__): Remove.
3520         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3521         conditionals.
3522         (__JCR_LIST__, __JCR_END__): Remove.
3523         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3524         (__do_global_ctors_1): Likewise.
3526 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
3528         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3529         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3531 2016-09-27  Martin Liska  <mliska@suse.cz>
3533         PR gcov-profile/7970
3534         PR gcov-profile/16855
3535         PR gcov-profile/44779
3536         * libgcov-driver.c (__gcov_init): Do not register a atexit
3537         handler.
3538         (__gcov_exit): Rename from gcov_exit.
3539         * libgcov.h (__gcov_exit): Declare.
3541 2016-09-27  Martin Liska  <mliska@suse.cz>
3543         PR bootstrap/77749
3544         * Makefile.in: Remove _gcov_merge_delta.
3545         * libgcov-merge.c (void __gcov_merge_delta): Remove.
3546         * libgcov-util.c (__gcov_delta_counter_op): Remove.
3547         * libgcov.h: Remove declaration of __gcov_merge_delta.
3549 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
3551         * configure.ac: Do not create links, only substitute the filenames.
3552         * configure: Regenerate.
3553         * Makefile.in: Assign the substitution results to variables.
3554         (LIBGCC_LINKS): Define.
3555         (enable-execute-stack.c): New rule.
3556         (unwind.h): Likewise.
3557         (md-unwind-support.h): Likewise.
3558         (sfp-machine.h): Likewise.
3559         (gthr-default.h): Likewise.
3560         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3561         unwind.h as prerequisite of install-unwind_h-forbuild.
3563 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
3565         PR libgcc/71744
3566         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3567         is not the primary registry and atomics are available.
3568         (any_objects_registered): New variable.
3569         (__register_frame_info_bases, __register_frame_info_table_bases):
3570         Atomically store 1 to any_objects_registered after registering first
3571         unwind info.
3572         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3574 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
3576         PR target/63250
3577         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3578         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3579         (HFtype): Likewise.
3580         (HCtype): Likewise.
3581         (__divhc3): Likewise.
3582         (__mulhc3): Likewise.
3583         * libgcc2.c: Support _mulhc3 and _divhc3.
3585 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
3587         PR libgcc/77519
3588         * libgcc2.c (NOTRUNC): Invert settings.
3590 2016-09-06  Martin Liska  <mliska@suse.cz>
3592         PR gcov-profile/77378
3593         PR gcov-profile/77466
3594         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3595         conditionaly enable/disable *_atomic functions.
3597 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
3599         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3600         where not already enabled.
3602 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3604         * config/mips/linux-unwind.h: Use sys/syscall.h.
3606 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
3608         PR libgcc/77265
3609         * soft-fp/adddf3.c: Update from glibc.
3610         * soft-fp/addsf3.c: Likewise.
3611         * soft-fp/addtf3.c: Likewise.
3612         * soft-fp/divdf3.c: Likewise.
3613         * soft-fp/divsf3.c: Likewise.
3614         * soft-fp/divtf3.c: Likewise.
3615         * soft-fp/double.h: Likewise.
3616         * soft-fp/eqdf2.c: Likewise.
3617         * soft-fp/eqsf2.c: Likewise.
3618         * soft-fp/eqtf2.c: Likewise.
3619         * soft-fp/extenddftf2.c: Likewise.
3620         * soft-fp/extended.h: Likewise.
3621         * soft-fp/extendsfdf2.c: Likewise.
3622         * soft-fp/extendsftf2.c: Likewise.
3623         * soft-fp/extendxftf2.c: Likewise.
3624         * soft-fp/fixdfdi.c: Likewise.
3625         * soft-fp/fixdfsi.c: Likewise.
3626         * soft-fp/fixdfti.c: Likewise.
3627         * soft-fp/fixsfdi.c: Likewise.
3628         * soft-fp/fixsfsi.c: Likewise.
3629         * soft-fp/fixsfti.c: Likewise.
3630         * soft-fp/fixtfdi.c: Likewise.
3631         * soft-fp/fixtfsi.c: Likewise.
3632         * soft-fp/fixtfti.c: Likewise.
3633         * soft-fp/fixunsdfdi.c: Likewise.
3634         * soft-fp/fixunsdfsi.c: Likewise.
3635         * soft-fp/fixunsdfti.c: Likewise.
3636         * soft-fp/fixunssfdi.c: Likewise.
3637         * soft-fp/fixunssfsi.c: Likewise.
3638         * soft-fp/fixunssfti.c: Likewise.
3639         * soft-fp/fixunstfdi.c: Likewise.
3640         * soft-fp/fixunstfsi.c: Likewise.
3641         * soft-fp/fixunstfti.c: Likewise.
3642         * soft-fp/floatdidf.c: Likewise.
3643         * soft-fp/floatdisf.c: Likewise.
3644         * soft-fp/floatditf.c: Likewise.
3645         * soft-fp/floatsidf.c: Likewise.
3646         * soft-fp/floatsisf.c: Likewise.
3647         * soft-fp/floatsitf.c: Likewise.
3648         * soft-fp/floattidf.c: Likewise.
3649         * soft-fp/floattisf.c: Likewise.
3650         * soft-fp/floattitf.c: Likewise.
3651         * soft-fp/floatundidf.c: Likewise.
3652         * soft-fp/floatundisf.c: Likewise.
3653         * soft-fp/floatunditf.c: Likewise.
3654         * soft-fp/floatunsidf.c: Likewise.
3655         * soft-fp/floatunsisf.c: Likewise.
3656         * soft-fp/floatunsitf.c: Likewise.
3657         * soft-fp/floatuntidf.c: Likewise.
3658         * soft-fp/floatuntisf.c: Likewise.
3659         * soft-fp/floatuntitf.c: Likewise.
3660         * soft-fp/gedf2.c: Likewise.
3661         * soft-fp/gesf2.c: Likewise.
3662         * soft-fp/getf2.c: Likewise.
3663         * soft-fp/ledf2.c: Likewise.
3664         * soft-fp/lesf2.c: Likewise.
3665         * soft-fp/letf2.c: Likewise.
3666         * soft-fp/muldf3.c: Likewise.
3667         * soft-fp/mulsf3.c: Likewise.
3668         * soft-fp/multf3.c: Likewise.
3669         * soft-fp/negdf2.c: Likewise.
3670         * soft-fp/negsf2.c: Likewise.
3671         * soft-fp/negtf2.c: Likewise.
3672         * soft-fp/op-1.h: Likewise.
3673         * soft-fp/op-2.h: Likewise.
3674         * soft-fp/op-4.h: Likewise.
3675         * soft-fp/op-8.h: Likewise.
3676         * soft-fp/op-common.h: Likewise.
3677         * soft-fp/quad.h: Likewise.
3678         * soft-fp/single.h: Likewise.
3679         * soft-fp/soft-fp.h: Likewise.
3680         * soft-fp/subdf3.c: Likewise.
3681         * soft-fp/subsf3.c: Likewise.
3682         * soft-fp/subtf3.c: Likewise.
3683         * soft-fp/truncdfsf2.c: Likewise.
3684         * soft-fp/trunctfdf2.c: Likewise.
3685         * soft-fp/trunctfsf2.c: Likewise.
3686         * soft-fp/trunctfxf2.c: Likewise.
3687         * soft-fp/unorddf2.c: Likewise.
3688         * soft-fp/unordsf2.c: Likewise.
3689         * soft-fp/unordtf2.c: Likewise.
3691 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
3693         PR gcov-profile/67097
3694         * libgcov-util.c (gcov_profile_merge): Skip missing files.
3696 2016-08-10  Martin Liska  <mliska@suse.cz>
3698         PR gcov-profile/58306
3699         * Makefile.in: New functions (modules) are added.
3700         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3701         function.
3702         (__gcov_pow2_profiler_atomic): New function.
3703         (__gcov_one_value_profiler_body): New argument is instroduced.
3704         (__gcov_one_value_profiler): Call with the new argument.
3705         (__gcov_one_value_profiler_atomic): Likewise.
3706         (__gcov_indirect_call_profiler_v2): Likewise.
3707         (__gcov_time_profiler_atomic): New function.
3708         (__gcov_average_profiler_atomic): Likewise.
3709         (__gcov_ior_profiler_atomic): Likewise.
3710         * libgcov.h: Declare the aforementioned functions.
3712 2016-08-09  Martin Liska  <mliska@suse.cz>
3714         * libgcov-util.c: Fix typo and GNU coding style.
3716 2016-08-09  Martin Liska  <mliska@suse.cz>
3718         * Makefile.in: Remove __gcov_indirect_call_profiler.
3719         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3720         function.
3721         * libgcov.h: And the declaration of the function.
3723 2016-08-09  Martin Liska  <mliska@suse.cz>
3725         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3726         power of two.
3728 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
3730         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3731         * config/rs6000/_mulkc3.c: Likewise.
3733 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
3735         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3736         zero_reg as previous call to __umulhisi3 already cleared it.
3738 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
3740         PR target/59833
3741         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3743 2016-07-19  Nick Clifton  <nickc@redhat.com>
3745         * config.host (m32r): Add m32r/t-m32r to tmake_file.
3746         Add crtinit.o and crtfini.o to extra_parts.
3748 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
3750         * config/rs6000/_divkc3.c: New.
3751         * config/rs6000/_mulkc3.c: New.
3752         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3753         and _divkc3.
3754         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3755         fp128_ppc_funcs.
3757 2016-07-11  Hale Wang  <hale.wang@arm.com>
3758             Andre Vieira  <andre.simoesdiasvieira@arm.com>
3760         * config/arm/lib1funcs.S: Add new wrapper.
3762 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3764         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3766 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3768         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3769         and ARMv5t* rather than for a fixed list of architectures.
3771 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3773         * config/arm/bpabi-v6m.S: Clarify what architectures is the
3774         implementation suitable for.
3775         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3776         for all Thumb-1 only targets.
3777         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3778         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3779         __ARM_ARCH_6M__.
3780         (EQUIV): Likewise.
3781         (ARM_FUNC_ALIAS): Likewise.
3782         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3783         version.
3784         (modsi3): Likewise.
3785         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3786         (clzdi2): Likewise.
3787         (ctzsi2): Likewise.
3788         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3789         __ARM_ARCH_6M__ in guard for checking whether it is defined.
3790         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3791         __ARM_ARCH_6M__ and add comment to indicate the connection between
3792         this condition and the one in gcc/config/arm/elf.h.
3793         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3794         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3795         * config/arm/t-softfp: Likewise.
3797 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3799         * libgcc2.c (SYMBOL__MAIN): Remove checks for
3800         CTOR_LISTS_DEFINED_EXTERNALLY.
3802 2016-06-28  Walter Lee  <walt@tilera.com>
3804         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3805         asm/unistd.h.
3806         (SPR_CMPEXCH_VALUE): Define for tilegx.
3807         (__NR_FAST_cmpxchg): Define for tilepro.
3808         (__NR_FAST_atomic_update): Define for tilepro.
3809         (__NR_FAST_cmpxchg64): Define for tilepro.
3811 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
3813         * config.host: Add suport for arm*-*-phoenix* targets.
3815 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3817         * config.host: Remove support for mep-*.
3818         * config/mep/lib1funcs.S: Remove.
3819         * config/mep/lib2funcs.c: Remove.
3820         * config/mep/t-mep: Remove.
3821         * config/mep/tramp.c: Remove.
3823 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3825         * config.host: Remove support for avr-rtems.
3826         * config/avr/t-rtems: Remove.
3828 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3830         * config.host: Remove m32r-rtems support.
3832 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3834         * config.host: Remove h8300-rtems support.
3836 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3838         * config.host: Remove support for knetbsd.
3840 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3842         * config.host: Remove support for openbsd 2 and 3.
3844 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
3846         * config.host: Remove interix support.
3847         * config/i386/t-interix: Remove.
3849 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
3851         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3852         least-significant bit in function pointer for fixup.
3854 2016-06-05  Aaron Conole  <aconole@redhat.com>
3855             Nathan Sidwell  <nathan@acm.org>
3857         PR libgcc/71400
3858         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3859         (get_gcov_error_file): Check __gcov_error_file before trying to
3860         initialize it.
3861         (gcov_error): Always use get_gcov_error_file.
3863 2016-06-02  Aaron Conole  <aconole@redhat.com>
3865         * libgcov-driver-system.c (__gcov_error_file): New.
3866         (get_gcov_error_file): New.
3867         (gcov_error): Use and set __gcov_error_file.
3868         (gcov_error_exit): New.
3869         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3871 2016-05-26  Nathan Sidwell  <nathan@acm.org>
3873         * config/nvptx/free.asm: Delete.
3874         * config/nvptx/malloc.asm: Delete.
3875         * config/nvptx/realloc.c: Delete.
3876         * t-nvptx: Update.
3878 2016-05-25  Nathan Sidwell  <nathan@acm.org>
3880         * config/nvptx/crt0.s: Delete.
3881         * config/nvptx/crt0.c: New.
3882         * t-nvptx: Update.
3884 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
3886         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
3887         dw2/seh configuration.
3888         [x86_64-*-mingw*]: Likewise.
3890 2016-05-10  Joel Sherrill <joel@rtems.org>
3892         PR libgcc/70720
3893         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3894         targets so the same extra_parts are built.  Also have tmake_file add
3895         on to its value rather than override.
3897 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
3899         * config.host: Remove SH5 support.
3900         * configure: Likewise.
3902 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
3904         * config/sh/crt1.S: Remove SH5 support.
3905         * config/sh/crti.S: Likewise.
3906         * config/sh/crtn.S: Likewise.
3907         * config/sh/lib1funcs-4-300.S: Likewise.
3908         * config/sh/lib1funcs-Os-4-200.S: Likewise.
3909         * config/sh/lib1funcs.S: Likewise.
3910         * config/sh/linux-unwind.h: Likewise.
3911         * config/sh/t-sh64: Delete.
3913 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
3915         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3917 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
3918             Joern Rennecke  <joern.rennecke@embecosm.com>
3920         * config/arc/crttls.S: New file.
3921         * config/arc/t-arc: New rule.
3922         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3924 2016-04-25  Nick Clifton  <nickc@redhat.com>
3926         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3927         (__mspabi_cmpd): Likewise.
3928         * config/msp430/floathidf.c (__floathidf): Likewise.
3929         * config/msp430/floathisf.c (__floathisf): Likewise
3930         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3931         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3932         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3933         second parameter.
3934         (__ashrsi3): Likewise.
3936 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
3938         * config/m68k/linux-atomic.c: Do not include unistd.h
3940 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
3942         * config/arm/ieee754-df.S: Fix typos in comments.
3944 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
3946         PR target/70381
3947         * configure.ac (powerpc*-*-linux*): Rework tests to build
3948         __float128 emulation routines to not depend on using #pragma GCC
3949         target to enable -mfloat128.
3950         * configure: Regnerate.
3952 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
3954         PR target/67172
3955         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3956         __MINGW32__ is defined.
3958 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
3960         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
3962 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
3964         PR libgcc/70363
3965         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3966         built with an assembler that does not support ISA 3.0
3967         instructions, rename __extendkftf2_sw to __extendkftf2.
3969 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3971         PR target/38239
3972         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3973         call-clobbered registers.
3974         (internal_mcount): Remove __i386__ handling.
3976 2016-02-26  Joel Sherrill <joel@rtems.org>
3978         * config.host: Add x86_64-*-rtems*.
3980 2016-02-26  Joel Sherrill <joel@rtems.org>
3982         * libgcc/config.host: Add aarch64-*-rtems*.
3984 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3985             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
3987         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3988         union of u64 and double.
3989         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3990         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3991         value.
3992         (FP_ROUNDMODE): Update the usage of _fpscr.
3994 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
3996         PR driver/68463
3997         * Makefile.in (crtoffloadtable$(objext)): New rule.
3998         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3999         enable_offload_targets is not empty.
4000         * configure: Regenerate.
4001         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4002         crtoffloadtable.
4004 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
4006         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4007         .literal_position before the function.
4008         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4009         Likewise.
4011 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
4013         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4014         * config/s390/morestack.S: New file.
4015         * config/s390/t-stack-s390: New file.
4016         * generic-morestack.c (__splitstack_find): Add s390-specific code.
4018 2016-02-12  Walter Lee  <walt@tilera.com>
4020         * config.host (tilegx*-*-linux*): remove ti from
4021         softfp_int_modes for 32-bit configs.
4023 2016-02-10  Ian Lance Taylor  <iant@google.com>
4025         PR go/68562
4026         * config/i386/morestack.S (__stack_split_initialize): Align
4027         stack.
4029 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
4031         PR bootstrap/69611
4032         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4033         __FLOAT128__ to compile only for __float128 capable targets.
4035 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
4037         PR target/69444
4038         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4039         instead of ___NO_FPRS__.
4041 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
4042             Steven Munroe  <munroesj@linux.vnet.ibm.com>
4043             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
4045         * config/rs6000/float128-sed: New files to convert TF names to KF
4046         names for PowerPC IEEE 128-bit floating point support.
4047         * config/rs6000/float128-sed-hw: Likewise.
4049         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4050         floating point hardware support.
4052         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4053         128-bit floating point software emulation or use ISA 3.0 hardware
4054         support if it is available.
4056         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4057         floating point.
4059         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4060         floating point to IBM extended double.
4062         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4063         double to IEEE 128-bit floating point.
4065         * config/rs6000/t-float128: New Makefile fragments to enable
4066         building __float128 emulation support.
4067         * config/rs6000/t-float128-hw: Likewise.
4069         * config/rs6000/sfp-exceptions.c: New file to provide exception
4070         support for IEEE 128-bit floating point.
4072         * config/rs6000/floattikf.c: New files for converting between IEEE
4073         128-bit floating point and signed/unsigned 128-bit integers.
4074         * config/rs6000/fixunskfti.c: Likewise.
4075         * config/rs6000/fixkfti.c: Likewise.
4076         * config/rs6000/floatuntikf.c: Likewise.
4078         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4079         when building on 64-bit systems, or when VSX is enabled.
4080         (_FP_W_TYPE): Likewise.
4081         (_FP_WS_TYPE): Likewise.
4082         (_FP_I_TYPE): Likewise.
4083         (TItype): Define on 64-bit systems.
4084         (UTItype): Likewise.
4085         (TI_BITS): Likewise.
4086         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4087         (_FP_MUL_MEAT_Q): Likewise.
4088         (_FP_DIV_MEAT_D): Likewise.
4089         (_FP_DIV_MEAT_Q): Likewise.
4090         (_FP_NANFRAC_D): Likewise.
4091         (_FP_NANFRAC_Q): Likewise.
4092         (ISA_BIT): Add exception support if we are being compiled on a
4093         machine with hardware floating point support to build the IEEE
4094         128-bit emulation functions.
4095         (FP_EX_INVALID): Likewise.
4096         (FP_EX_OVERFLOW): Likewise.
4097         (FP_EX_UNDERFLOW): Likewise.
4098         (FP_EX_DIVZERO): Likewise.
4099         (FP_EX_INEXACT): Likewise.
4100         (FP_EX_ALL): Likewise.
4101         (__sfp_handle_exceptions): Likewise.
4102         (FP_HANDLE_EXCEPTIONS): Likewise.
4103         (FP_RND_NEAREST): Likewise.
4104         (FP_RND_ZERO): Likewise.
4105         (FP_RND_PINF): Likewise.
4106         (FP_RND_MINF): Likewise.
4107         (FP_RND_MASK): Likewise.
4108         (_FP_DECL_EX): Likewise.
4109         (FP_INIT_ROUNDMODE): Likewise.
4110         (FP_ROUNDMODE): Likewise.
4112         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4113         VSX code, enable IEEE 128-bit floating point.  If the compiler can
4114         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4115         floating point hardware instructions and it supports declaring
4116         functions with the ifunc attribute, enable ifunc functions to
4117         switch between software and hardware support.
4118         * configure.ac (powerpc*-*-linux*): Likewise.
4119         * configure: Regenerate.
4121 2016-01-15  Nick Clifton  <nickc@redhat.com>
4123         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4124         dependency as the source file to be compiled.
4125         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4126         (lib2hw_mul_f5.o): Likewise.
4128 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
4130         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4131         * libgcc/config/rs6000/fixkfti.c: Likewise.
4132         * libgcc/config/rs6000/fixunskfti.c: Likewise.
4133         * libgcc/config/rs6000/float128-hw.c: Likewise.
4134         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4135         * libgcc/config/rs6000/float128-sed: Likewise.
4136         * libgcc/config/rs6000/floattikf.c: Likewise.
4137         * libgcc/config/rs6000/floatuntikf.c: Likewise.
4138         * libgcc/config/rs6000/quad-float128.h: Likewise.
4139         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4140         * libgcc/config/rs6000/sfp-machine.h: Likewise.
4141         * libgcc/config/rs6000/t-float128: Likewise.
4142         * libgcc/config/rs6000/t-float128-hw: Likewise.
4143         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4144         * libgcc/config.host: Likewise.
4145         * libgcc/configure: Likewise.
4146         * libgcc/configure.ac: Likewise.
4148 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
4149             Steven Munroe  <munroesj@linux.vnet.ibm.com>
4150             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
4152         * config/rs6000/sfp-exceptions.c: New file to provide exception
4153         support for IEEE 128-bit floating point.
4155         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4156         floating point hardware support.
4158         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4159         point conversions.
4160         * config/rs6000/fixunskfti.c: Likewise.
4161         * config/rs6000/fixkfti.c: Likewise.
4162         * config/rs6000/floatuntikf.c: Likewise.
4163         * config/rs6000/extendkftf2-sw.c: Likewise.
4164         * config/rs6000/trunctfkf2-sw.c: Likewise.
4166         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4167         128-bit floating point software emulation or use ISA 3.0 hardware
4168         support if it is available.
4170         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4171         floating point.
4173         * config/rs6000/t-float128: New Makefile fragments to enable
4174         building __float128 emulation support.
4175         * config/rs6000/t-float128-hw: Likewise.
4177         * config/rs6000/float128-sed: New file to convert TF names to KF
4178         names for PowerPC IEEE 128-bit floating point support.
4180         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4181         when building on 64-bit systems, or when VSX is enabled.
4182         (_FP_W_TYPE): Likewise.
4183         (_FP_WS_TYPE): Likewise.
4184         (_FP_I_TYPE): Likewise.
4185         (TItype): Define on 64-bit systems.
4186         (UTItype): Likewise.
4187         (TI_BITS): Likewise.
4188         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4189         (_FP_MUL_MEAT_Q): Likewise.
4190         (_FP_DIV_MEAT_D): Likewise.
4191         (_FP_DIV_MEAT_Q): Likewise.
4192         (_FP_NANFRAC_D): Likewise.
4193         (_FP_NANFRAC_Q): Likewise.
4194         (ISA_BIT): Add exception support if we are being compiled on a
4195         machine with hardware floating point support to build the IEEE
4196         128-bit emulation functions.
4197         (FP_EX_INVALID): Likewise.
4198         (FP_EX_OVERFLOW): Likewise.
4199         (FP_EX_UNDERFLOW): Likewise.
4200         (FP_EX_DIVZERO): Likewise.
4201         (FP_EX_INEXACT): Likewise.
4202         (FP_EX_ALL): Likewise.
4203         (__sfp_handle_exceptions): Likewise.
4204         (FP_HANDLE_EXCEPTIONS): Likewise.
4205         (FP_RND_NEAREST): Likewise.
4206         (FP_RND_ZERO): Likewise.
4207         (FP_RND_PINF): Likewise.
4208         (FP_RND_MINF): Likewise.
4209         (FP_RND_MASK): Likewise.
4210         (_FP_DECL_EX): Likewise.
4211         (FP_INIT_ROUNDMODE): Likewise.
4212         (FP_ROUNDMODE): Likewise.
4214         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4215         compiler can do __float128.
4216         * configure: Regenerate.
4218         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4219         VSX code, enable IEEE 128-bit floating point.
4221 2016-01-05  Olivier Hainque  <hainque@adacore.com>
4223         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
4224         specificities.
4226 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
4228         Update copyright years.
4230 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
4232         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
4233         soft-fp targets.
4235 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4237         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4238         instead of abort to avoid dependency on stdlib.h.
4240 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
4242         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4243         to initialize call to __dl_fixup once.
4245 2015-12-04  Nick Clifton  <nickc@redhat.com>
4247         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4248         Allow for the second argument being negative.
4249         * config.host (extra_parts): Define for MSP430.  Create separate
4250         libraries for each of the hardware multiply formats.
4251         * config/msp430/lib2hw_mul.S: Build only the multiply routines
4252         that are needed.
4253         * config/msp430/lib2mul.c: Likewise.
4254         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4255         Add rules to build hardware multiply libraries.
4256         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4257         __mspabi_divul function.
4258         (__mspabi_divllu): New stub function.
4260 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
4262         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4263         fixup values if saved GOT address doesn't match runtime address.
4264         (fixup_branch_offset): Reorder list.
4266 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4268         * Makefile.in (VTV_CFLAGS): New variable.
4269         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4270         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4271         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4272         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4273         to extra_parts if $enable_vtable_verify = yes.
4275 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4277         PR target/68059
4278         * config/arm/linux-atomic-64bit.c (__write): Rename to...
4279         (write): ...this and fix the return type.
4281 2015-11-19  DJ Delorie  <dj@redhat.com>
4283         * config/msp430/lib2hw_mul.S: Fix alignment.
4285 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
4287         * config/nvptx/reduction.c: New.
4288         * config/nvptx/t-nvptx (LIB2ADD): Add it.
4290 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
4292         * config/rs6000/on_exit.c: New file.
4293         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4294         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4296 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
4298         * config/arc/dp-hack.h: Add support for ARCHS.
4299         * config/arc/ieee-754/divdf3.S: Likewise.
4300         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4301         * config/arc/ieee-754/muldf3.S: Likewise.
4302         * config/arc/ieee-754/mulsf3.S: Likewise
4303         * config/arc/lib1funcs.S: Likewise
4304         * config/arc/gmon/dcache_linesz.S: Don't read the build register
4305         for ARCv2 cores.
4306         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4307         for ARCv2 cores.
4308         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4309         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4310         cores.
4312 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4314         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4315         value.
4316         * config/ia64/crtend.S: Likewise.
4318 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4320         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4321         __CHAR_BIT__ instead of BITS_PER_UNIT.
4322         * fixed-bit.h: Likewise.
4323         * fp-bit.h: Likewise.
4324         * libgcc2.c (__popcountSI2): Likewise.
4325         (__popcountDI2): Likewise.
4326         * libgcc2.h: Likewise.
4327         * libgcov.h: Likewise.
4329 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
4331         * config/rs6000/atexit.c: New file.
4332         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4333         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4334         * config/rs6000/cxa_finalize.c
4335         (catomic_compare_and_exchange_bool_acq): Negate return value.
4337 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
4339         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4340         (processor_subtypes): Add znver1.
4341         (get_amd_cpu): Detect znver1.
4343 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
4345         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4346         Include crtfastmath.o.
4348 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
4350         PR libgcc/66883
4351         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
4353 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
4355         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4356         * config/rl78/divmodsi.S: Update return register to r8.
4357         * config/rl78/divmodhi.S: Update return register to r8,r9.
4358         Branch to main_loop_done_himode to pop registers before return.
4360 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
4362         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4363         (__cpu_indicator_init): Fix model selection for AMD CPUs.
4365 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
4367         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4369 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
4371         * config.host (xtensa*-*-uclinux*): New configuration.
4373 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
4375         * config/i386/cpuinfo.c (processor_features): Add
4376         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4378 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
4380         * soft-fp/adddf3.c: Update from glibc.
4381         * soft-fp/addsf3.c: Likewise.
4382         * soft-fp/addtf3.c: Likewise.
4383         * soft-fp/divdf3.c: Likewise.
4384         * soft-fp/divsf3.c: Likewise.
4385         * soft-fp/divtf3.c: Likewise.
4386         * soft-fp/double.h: Likewise.
4387         * soft-fp/eqdf2.c: Likewise.
4388         * soft-fp/eqsf2.c: Likewise.
4389         * soft-fp/eqtf2.c: Likewise.
4390         * soft-fp/extenddftf2.c: Likewise.
4391         * soft-fp/extended.h: Likewise.
4392         * soft-fp/extendsfdf2.c: Likewise.
4393         * soft-fp/extendsftf2.c: Likewise.
4394         * soft-fp/extendxftf2.c: Likewise.
4395         * soft-fp/fixdfdi.c: Likewise.
4396         * soft-fp/fixdfsi.c: Likewise.
4397         * soft-fp/fixdfti.c: Likewise.
4398         * soft-fp/fixsfdi.c: Likewise.
4399         * soft-fp/fixsfsi.c: Likewise.
4400         * soft-fp/fixsfti.c: Likewise.
4401         * soft-fp/fixtfdi.c: Likewise.
4402         * soft-fp/fixtfsi.c: Likewise.
4403         * soft-fp/fixtfti.c: Likewise.
4404         * soft-fp/fixunsdfdi.c: Likewise.
4405         * soft-fp/fixunsdfsi.c: Likewise.
4406         * soft-fp/fixunsdfti.c: Likewise.
4407         * soft-fp/fixunssfdi.c: Likewise.
4408         * soft-fp/fixunssfsi.c: Likewise.
4409         * soft-fp/fixunssfti.c: Likewise.
4410         * soft-fp/fixunstfdi.c: Likewise.
4411         * soft-fp/fixunstfsi.c: Likewise.
4412         * soft-fp/fixunstfti.c: Likewise.
4413         * soft-fp/floatdidf.c: Likewise.
4414         * soft-fp/floatdisf.c: Likewise.
4415         * soft-fp/floatditf.c: Likewise.
4416         * soft-fp/floatsidf.c: Likewise.
4417         * soft-fp/floatsisf.c: Likewise.
4418         * soft-fp/floatsitf.c: Likewise.
4419         * soft-fp/floattidf.c: Likewise.
4420         * soft-fp/floattisf.c: Likewise.
4421         * soft-fp/floattitf.c: Likewise.
4422         * soft-fp/floatundidf.c: Likewise.
4423         * soft-fp/floatundisf.c: Likewise.
4424         * soft-fp/floatunditf.c: Likewise.
4425         * soft-fp/floatunsidf.c: Likewise.
4426         * soft-fp/floatunsisf.c: Likewise.
4427         * soft-fp/floatunsitf.c: Likewise.
4428         * soft-fp/floatuntidf.c: Likewise.
4429         * soft-fp/floatuntisf.c: Likewise.
4430         * soft-fp/floatuntitf.c: Likewise.
4431         * soft-fp/gedf2.c: Likewise.
4432         * soft-fp/gesf2.c: Likewise.
4433         * soft-fp/getf2.c: Likewise.
4434         * soft-fp/ledf2.c: Likewise.
4435         * soft-fp/lesf2.c: Likewise.
4436         * soft-fp/letf2.c: Likewise.
4437         * soft-fp/muldf3.c: Likewise.
4438         * soft-fp/mulsf3.c: Likewise.
4439         * soft-fp/multf3.c: Likewise.
4440         * soft-fp/negdf2.c: Likewise.
4441         * soft-fp/negsf2.c: Likewise.
4442         * soft-fp/negtf2.c: Likewise.
4443         * soft-fp/op-1.h: Likewise.
4444         * soft-fp/op-2.h: Likewise.
4445         * soft-fp/op-4.h: Likewise.
4446         * soft-fp/op-8.h: Likewise.
4447         * soft-fp/op-common.h: Likewise.
4448         * soft-fp/quad.h: Likewise.
4449         * soft-fp/single.h: Likewise.
4450         * soft-fp/soft-fp.h: Likewise.
4451         * soft-fp/subdf3.c: Likewise.
4452         * soft-fp/subsf3.c: Likewise.
4453         * soft-fp/subtf3.c: Likewise.
4454         * soft-fp/truncdfsf2.c: Likewise.
4455         * soft-fp/trunctfdf2.c: Likewise.
4456         * soft-fp/trunctfsf2.c: Likewise.
4457         * soft-fp/trunctfxf2.c: Likewise.
4458         * soft-fp/unorddf2.c: Likewise.
4459         * soft-fp/unordsf2.c: Likewise.
4460         * soft-fp/unordtf2.c: Likewise.
4462 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
4464         PR libgcc/67624
4465         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4467 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4469         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4470         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4471         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4472         messages.
4473         (internal_mcount): Likewise.
4474         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4475         crt_compile, add CRTSTUFF_T_CFLAGS_S.
4477 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4479         * configure.ac (libgcc_cv_solaris_crts): New test.
4480         * configure: Regenerate.
4481         * config.in: Regenerate.
4482         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4483         * config/gmon-sol2.c: Rename to ...
4484         * config/sol2/gmon.c: ... this.
4485         Include auto-target.h.
4486         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4487         * config/t-sol2: Rename to ...
4488         * config/sol2/t-sol2: ... this.
4489         (gmon.o): Reflect renaming.
4490         (crtp.o, crtpg.o): New rules.
4491         * config.host (*-*-solaris2*): Reflect renaming.
4492         Use system CRTs if present.
4493         Remove default CRT case.
4495 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
4497         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4498         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4499         __kernel_cmpxchg2.
4500         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4501         (__sync_val_compare_and_swap_##WIDTH): Likewise.
4502         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4503         (__sync_lock_test_and_set_##WIDTH): Likewise.
4504         (__sync_lock_release_##WIDTH): Likewise.
4505         (__sync_fetch_and_##OP##_4): Change result to match type of
4506         __kernel_cmpxchg.
4507         (__sync_##OP##_and_fetch_4): Likewise.
4508         (__sync_val_compare_and_swap_4): Likewise.
4509         (__sync_bool_compare_and_swap_4): likewise.
4510         (__sync_lock_test_and_set_4): Likewise.
4511         (__sync_lock_release_4): Likewise.
4512         (FETCH_AND_OP_2): Add long long variants.
4513         (OP_AND_FETCH_2): Likewise.
4514         (COMPARE_AND_SWAP_2 ): Likewise.
4515         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4516         (SYNC_LOCK_RELEASE_2): Likewise.
4517         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4519 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
4521         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4522         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4523         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4524         (get_available_features): Habdle new features.
4526 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
4528         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4529         memory layout. Deal correctly with BSS region larger than 32K.
4530         Handle a watchdog reset like a power-on reset. Clean up unused
4531         code.
4533 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
4534             David Edelsohn  <dje.gcc@gmail.com>
4536         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4537         * config/rs6000/crtdbase.S: New file.
4538         * config/rs6000/t-aix-cxa: Build crtdbase.o.
4540 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
4542         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4543         Add support for call0 ABI.
4545 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
4547         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4549 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
4551         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4552         (__GTHREAD_HAS_COND): Likewise.
4553         (__gthread_t): Likewise.
4554         (__gthread_cond_t): Likewise.
4555         (__gthread_time_t): Likewise.
4556         (__GTHREAD_MUTEX_INIT): Likewise.
4557         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4558         (__GTHREAD_COND_INIT): Likewise.
4559         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4560         (__GTHREAD_TIME_INIT): Likewise.
4561         (__gthread_create): Likewise.
4562         (__gthread_join): Likewise.
4563         (__gthread_detach): Likewise.
4564         (__gthread_equal): Likewise.
4565         (__gthread_self): Likewise.
4566         (__gthread_yield): Likewise.
4567         (__gthread_cond_broadcast): Likewise.
4568         (__gthread_cond_signal): Likewise.
4569         (__gthread_cond_wait): Likewise.
4570         (__gthread_cond_timedwait): Likewise.
4571         (__gthread_cond_wait_recursive): Likewise.
4572         (__gthread_cond_destroy): Likewise.
4573         (rtems_gxx_once): Delete.
4574         (rtems_gxx_key_create): Likewise.
4575         (rtems_gxx_key_delete): Likewise.
4576         (rtems_gxx_getspecific): Likewise.
4577         (rtems_gxx_setspecific): Likewise.
4578         (rtems_gxx_mutex_init): Likewise.
4579         (rtems_gxx_mutex_destroy): Likewise.
4580         (rtems_gxx_mutex_lock): Likewise.
4581         (rtems_gxx_mutex_trylock): Likewise.
4582         (rtems_gxx_mutex_unlock): Likewise.
4583         (rtems_gxx_recursive_mutex_init): Likewise.
4584         (rtems_gxx_recursive_mutex_lock): Likewise.
4585         (rtems_gxx_recursive_mutex_trylock): Likewise.
4586         (rtems_gxx_recursive_mutex_unlock): Likewise.
4587         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4588         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4589         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4590         (__gthread_once): Likewise.
4591         (__gthread_key_create): Likewise.
4592         (__gthread_key_delete): Likewise.
4593         (__gthread_getspecific): Likewise.
4594         (__gthread_setspecific): Likewise.
4595         (__gthread_key_t): Use <pthread.h> type.
4596         (__gthread_once_t): Likewise
4597         (__gthread_mutex_t): Use <sys/lock.h> type.
4598         (__gthread_recursive_mutex_t): Likewise
4599         (__gthread_mutex_lock): Use <sys/lock.h> function.
4600         (__gthread_mutex_trylock): Likewise.
4601         (__gthread_mutex_timedlock): Likewise.
4602         (__gthread_mutex_unlock): Likewise.
4603         (__gthread_mutex_destroy): Likewise.
4604         (__gthread_recursive_mutex_lock): Likewise.
4605         (__gthread_recursive_mutex_trylock): Likewise.
4606         (__gthread_recursive_mutex_timedlock): Likewise.
4607         (__gthread_recursive_mutex_unlock): Likewise.
4608         (__gthread_recursive_mutex_destroy): Likewise.
4610 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
4612         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4613         context->sp instead of context->cfa.
4615 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
4617         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4618         with unwind-dw2-fde-dip.
4620 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
4622         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4623         CALL12 followed by series of ENTRY to spill windowed registers.
4624         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4625         instead of making linux spill syscall.
4627 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
4629         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4630         (get_intel_cpu): Likewise.
4632 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
4634         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4635         (get_intel_cpu): Add Knights Landing support.
4637 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
4639         PR target/66954
4640         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4641         (get_available_features): Handle FEATURE_PCLMUL.
4643 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
4645         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4646         Broadwell.
4648 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
4650         PR target/66954
4651         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4652         (get_available_features): Handle FEATURE_AES.
4654 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
4656         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4657         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4659 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
4661         * offloadstuff.c: Constify host data.
4663 2015-07-17  Jan Beulich  <jbeulich@suse.com>
4665         * config/t-softfp: Split up "else ifneq".
4667 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
4668             Cesar Philippidis  <cesar@codesourcery.com>
4669             Chung-Lin Tang  <cltang@codesourcery.com>
4671         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4672         for __nios2_arch__ level.
4674 2015-07-13  John Marino  <gnugcc@marino.st>
4676         * config/i386/t-dragonfly: New.
4678 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
4680         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4681         better match light-weight syscall argument order.
4682         (__kernel_cmpxchg2): Likewise.
4683         Adjust callers.
4685 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
4687         * config.host: Support i[34567]86-*-elfiamcu target.
4688         * config/t-softfp-sfdftf: New file.
4689         * config/i386/32/t-iamcu: Likewise.
4690         * configure: Regenerated.
4692 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
4694         libgcc/config/arm/
4695         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4697 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4699         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4701 2015-05-27  John Marino  <gnugcc@marino.st>
4703         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4704         md_unwind_header
4705         * config/i386/freebsd-unwind.h: New.
4707 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
4709         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4710         i386/t-crtfm to tmake_file.
4711         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4712         (set_fast_math): Use set_fast_math_sse for SSE targets.
4713         * config/i386/t-crtfm: Remove.
4715 2015-05-21  Alan Modra  <amodra@gmail.com>
4717         PR libgcc/66225
4718         * config/rs6000/morestack.S: Remove ".abiversion 1".
4720 2015-05-20  Alan Modra  <amodra@gmail.com>
4722         * config/rs6000/morestack.S: New.
4723         * config/rs6000/t-stack-rs6000: New.
4724         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4725         to tmake_file.
4726         * generic-morestack.c: Don't build for powerpc 32-bit.
4728 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
4730         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4731         Remove useless endif/ifneq ($(enable_shared),yes) pair.
4733 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
4735         * config.host: FT32 target added.
4736         * config/ft32/*: New files for FT32 target.
4738 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
4740         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4741         New macros.
4742         * config/arm/ieee754-df.S: Add CFI directives.
4743         * config/arm/ieee754-sf.S: Add CFI directives.
4745 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
4747         * configure.ac: Include config/sjlj.m4.
4748         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4749         * config.in: Regenerate.
4750         * configure: Likewise.
4751         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4753 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
4755         * libgcov-util.c: Add space between string literal and macro name.
4757 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
4758             Chris Jones  <chrisj@nvidia.com>
4759             Joshua Conner  <jconner@nvidia.com>
4761         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4762         (arm*-*-uclinux*): Likewise.
4763         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4764         * config/arm/crtfastmath.c: New file.
4766 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
4768         * Makefile.in (real_host_noncanonical): New variable.
4769         (libsubdir): Use it.
4770         * configure.ac (real_host_noncanonical): Compute.  Remove special
4771         case for intelmicemul.
4772         * configure: Regenerate.
4774 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
4776         * config/frv/elf-lib.h: New file.
4777         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4778         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4779         to tm_file.
4781 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
4783         * config/frv/frvbengin.c: Do not include defaults.h
4784         * config/frv/frvend.c: Ditto.
4786 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
4788         * config.host: Add h8300-*-linux
4789         * config/h8300/t-linux: New file.
4790         * config/h8300/lib1funs.s: Change symbol prefix.
4791         * config/h8300/sfp-machine.h: 64bit double support.
4793 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
4794             Szabolcs Nagy  <szabolcs.nagy@arm.com>
4796         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4797         Linux if target provides dl_iterate_phdr.
4799 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
4801         PR target/65612
4802         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4803         * config/i386/cpuinfo.c (__cpu_model): Initialize.
4804         (__cpu_indicator_init@GCC_4.8.0): New.
4805         (__cpu_model@GCC_4.8.0): Likewise.
4806         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4807         -DUSE_ELF_SYMVER.
4809 2015-04-16  Nick Clifton  <nickc@redhat.com>
4811         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4812         and __modhi3 functions.
4813         * config/rl78/divmodso.S: Add G14 and G13 versions of the
4814         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4816 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
4818         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4819         do-while loop as macro body to avoid warnings.
4821 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
4822             Iain Sandoe  <iain@codesourcery.com>
4824         PR target/65351
4825         * configure: Regenerate.
4827 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
4828             Iain Sandoe  <iain@codesourcery.com>
4830         PR target/65351
4831         * configure: Regenerate.
4833 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
4835         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4837 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
4839         Implement call0 ABI for xtensa
4840         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4841         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4842         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4843         use ret in call0 ABI.
4844         * config/xtensa/t-windowed: New file.
4845         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4846         * libgcc/configure: Regenerated.
4847         * libgcc/configure.ac: Check if xtensa target is configured for
4848         windowed ABI and thus needs to use custom unwind code.
4850 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
4852         PR libgcc/64885
4853         * gthr-single.h: Use __unused__ attribute instead of unused.
4854         * config/gthr-vxworks.h: Likewise.
4855         * config/i386/gthr-win32.h: Likewise.
4857 2015-02-27  Kai Tietz  <ktietz@redhat.com>
4859         PR target/65038
4860         * config.in: Regenerated.
4861         * configure: Likewise.
4862         * configure.ac (AC_HEADER_STDC): Added explicit.
4863         (AC_CHECK_HEADERS): Check for default headers  plus
4864         for ftw.h header.
4865         * libgcov-util.c (gcov_read_profile_dir): Disable use
4866         of ftw-function, if header is not found.
4867         (ftw_read_file): Likewise.
4869 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
4871         PR target/65181
4872         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4873         -Dinhibit_libc.
4875 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
4877         * config/arm/bpabi.S (test_div_by_zero): Make label names
4878         consistent between thumb2 and arm mode cases.  Separate the
4879         signed comparison on the high word of the numerator from the
4880         unsigned comparison on the low word.
4881         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4882         signed comparison.
4884 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4886         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4887         and <string.h>.
4888         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4890 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
4892         PR gcov-profile/61889
4893         * libgcov-driver-system.c: undefine clashing macro for mkdir.
4895 2015-02-02  Nick Clifton  <nickc@redhat.com>
4897         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4898         rounding up the fraction.
4900 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
4902         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4903         oldval and newval to const void *.  Fix typo.
4904         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4905         (FETCH_AND_OP_WORD): Likewise.
4906         (OP_AND_FETCH_WORD): Likewise.
4907         (COMPARE_AND_SWAP_2): Likewise.
4908         (__sync_val_compare_and_swap_4): Likewise.
4909         (__sync_lock_test_and_set_4): Likewise.
4910         (SYNC_LOCK_RELEASE_2): Likewise.
4911         Remove support for long long atomic operations.
4913 2015-01-27  Caroline Tice  <cmtice@google.com>
4915         Committing VTV Cywin/Ming patch for Patrick Wollgast
4916         * Makefile.in: Move rules to build vtv_*.o out of the check
4917         for CUSTOM_CRTSTUFF.
4918         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4919         i[34567]86-*-mingw*)
4920          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4921         enable_vtable_verify.
4923 2015-01-27  Nick Clifton  <nickc@redhat.com>
4925         * config/rl78/cmpsi2.S: Use function start and end macros.
4926         (__gcc_bcmp): New function.
4927         * config/rl78/lshrsi3.S: Use function start and end macros.
4928         * config/rl78/mulsi3.S: Add support for G10.
4929         (__mulqi3): New function for G10.
4930         * config/rl78/signbit.S: Use function start and end macros.
4931         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4932         fpmath-sf.S.
4933         (LIB2FUNCS_EXCLUDE): Define.
4934         (LIB2FUNCS_ST): Define.
4935         * config/rl78/trampoline.S: Use function start and end macros.
4936         * config/rl78/vregs.h (START_FUNC): New macro.
4937         (START_ANOTHER_FUNC): New macro.
4938         (END_FUNC): New macro.
4939         (END_ANOTHER_FUNC): New macro.
4940         * config/rl78/bit-count.S: New file.  Contains assembler
4941         implementations of the bit counting functions: ___clzhi2,
4942         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4943         __paritysi2, __popcounthi2 and __popcountsi2.
4944         * config/rl78/fpbit-sf.S: New file.  Contains assembler
4945         implementationas of the math functions: __negsf2, __cmpsf2,
4946         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4947         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
4948         * config/rl78/fpmath-sf.S: New file.  Contains assembler
4949         implementations of the math functions: __subsf3, __addsf3,
4950         __mulsf3 and __divsf3
4952 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4954         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4955         Add i386/elf-lib.h to tm_file.
4956         * config/i386/elf-lib.h: Fix comment.
4957         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4958         && __sun__ && __svr4__]: Remove workaround.
4960 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
4962         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4963         FEATURE_BMI2.
4964         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4966 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
4968         * config/i386/cpuinfo.c (processor_subtypes): Add
4969         INTEL_COREI7_BROADWELL.
4970         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4971         model numbers.
4973 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
4975         * config/i386/elf-lib.h: New file.
4976         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4977         Wrap definition in #ifdef __i386__.
4978         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4979         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4980         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4981         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4982         to tm_file.
4984 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
4986         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4987         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4989 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
4991         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4992         Update rt_sigframe format and address for current Nios II
4993         Linux conventions.
4995 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
4997         * config.host (arm*-*-freebsd*): Add new configuration for
4998         arm*-*-freebsd*.
4999         * config/arm/freebsd-atomic.c: New file.
5000         * config/arm/t-freebsd: Likewise.
5001         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5002         'PC-relative indirect' OS's.
5004 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
5006         * config.host: Add Visium support.
5007         * config/visium: New directory.
5009 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
5011         Update copyright years.
5013 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
5015         * config.host: Support mipsisa32r6 and mipsisa64r6.
5016         * config/mips/mips16.S: Do not build for R6.
5018 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
5020         * config/sh/crt.h: New.
5021         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5022         symbols.
5023         * config/sh/crt1.S: Likewise.
5025 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
5027         PR libgcc/63832
5028         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5029         func_ptr *dtor_list temporary variable to avoid "array subscript
5030         is above array bounds" warnings.
5032 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
5034         * Makefile.in (with_aix_soname): Define.
5035         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5036         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5037         * configure: Recreate.
5039 2014-12-05  Olivier Hainque  <hainque@adacore.com>
5041         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5042         now provided by defaults.h.
5044 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
5046         PR target/55351
5047         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5048         whether it's defined.
5050 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
5052         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5053         * config/i386/cpuinfo.c (get_available_features): Detect it.
5055 2014-11-27  Tony Wang  <tony.wang@arm.com>
5057         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5058         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5059         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5061 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
5063         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5065 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
5067         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5068         instead.
5070 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
5071             John David Anglin  <danglin@gcc.gnu.org>
5073         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5074         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
5075         (OP_AND_FETCH_2): Likewise.
5076         (COMPARE_AND_SWAP_2): Likewise.
5077         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5078         (SYNC_LOCK_RELEASE_2): Likewise.
5079         (SUBWORD_SYNC_OP): Remove.
5080         (SUBWORD_VAL_CAS): Likewise.
5081         (SUBWORD_BOOL_CAS): Likewise.
5082         (FETCH_AND_OP_WORD): Update.
5083         Consistently use signed types.
5085 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
5086             Thomas Schwinge  <thomas@codesourcery.com>
5087             Ilya Verbin  <ilya.verbin@intel.com>
5088             Andrey Turetskiy  <andrey.turetskiy@intel.com>
5090         * Makefile.in (crtoffloadbegin$(objext)): New rule.
5091         (crtoffloadend$(objext)): Likewise.
5092         * configure: Regenerate.
5093         * configure.ac (accel_dir_suffix): Compute new variable.
5094         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5095         if enable_offload_targets is not empty.
5096         * offloadstuff.c: New file.
5098 2014-11-13  Nick Clifton  <nickc@redhat.com>
5100         * config/rl78/divmodhi.S: Add support for the G10 architecture.
5101         Use START_FUNC and END_FUNC macros to enable linker garbage
5102         collection.
5103         * config/rl78/divmodqi.S: Likewise.
5104         * config/rl78/divmodsi.S: Likewise.
5105         * config/rl78/mulsi3.S: Likewise.
5106         * config/rl78/lib2div.c: Remove G10 functions.
5107         * config/rl78/lib2muls.c: Likewise.
5108         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5109         * config/rl78/vregs.h (START_FUNC): New macro.
5110         (END_FUNC): New macro.
5112 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
5114         * config/mips/mips16.S: Set .module when supported.  Update O32
5115         FP64 calling convention and use for FPXX when possible.  Add FPXX
5116         calling convention fallback case.
5118 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
5120         * config.host: Handle nvptx-*-*.
5121         * shared-object.mk (as-flags-$o): Define.
5122         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5123         -xassembler-with-cpp.
5124         * static-object.mk: Identical changes.
5125         * config/nvptx/t-nvptx: New file.
5126         * config/nvptx/crt0.s: New file.
5127         * config/nvptx/free.asm: New file.
5128         * config/nvptx/malloc.asm: New file.
5129         * config/nvptx/realloc.c: New file.
5131 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5133         * Makefile.in (libgcc.map.in): New target.
5134         (libgcc.map): Use libgcc.map.in.
5135         * config/t-softfp (softfp_compat): New variable to be set by
5136         users.
5137         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5138         variables.
5139         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5140         directory.
5141         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5142         that use compat symbols and disable all code unless [SHARED].
5143         * config/t-softfp-compat: New file.
5144         * find-symver.awk: New file.
5145         * configure.ac (--with-glibc-version): New configure option.
5146         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5147         * configure: Regenerate.
5148         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5149         soft-float and e500.
5151 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
5153         * config/t-hardfp (hardfp_exclusions): Document new variable for
5154         user to define.
5155         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5156         * config/t-softfp (softfp_extras): Document new variable for user
5157         to define.
5158         (softfp_func_list): Add functions from $(softfp_extras).
5159         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5160         * config.host (powerpc*-*-linux*): For e500v1, use
5161         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5162         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5163         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5165 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
5167         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5168         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5169         memory read accesses are ok.
5171 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
5173         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5174         * configure: Regenerate.
5175         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5176         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
5177         of soft-fp for 32-bit classic hard float.  Do not use
5178         t-softfp-excl for soft float.
5180 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
5182         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5183         configurations.
5184         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5185         Remove variables.
5187 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
5189         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5190         introduced with 2014-10-21 trunk r216525.
5192 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
5193             Vidya Praveen  <vidya.praveen@atmel.com>
5194             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
5195             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
5196             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
5198         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5199         order.
5201         Updated library functions for AVRTINY arch.
5202         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5203         Replaced occurrences of r0/r1 with tmp/zero reg macros.
5204         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5205         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5206         wsubi/wadi macors.
5207         (__mulsi3_helper): Update stack, preserve callee saved regs and
5208         argument from stack. Restore callee save registers.
5209         (__mulpsi3): Likewise.
5210         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5211         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
5212         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
5213         AVRTINY.
5214         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5215         (__do_copy_data): Added new definition for AVRTINY.
5216         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5217         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5218         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5219         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5220         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5221         macors.
5222         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
5223         AVRTINY.
5225         Fix broken long multiplication on tiny arch.
5227 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5229         * soft-fp/double.h: Update from glibc.
5230         * soft-fp/eqdf2.c: Likewise.
5231         * soft-fp/eqsf2.c: Likewise.
5232         * soft-fp/eqtf2.c: Likewise.
5233         * soft-fp/extenddftf2.c: Likewise.
5234         * soft-fp/extended.h: Likewise.
5235         * soft-fp/extendsfdf2.c: Likewise.
5236         * soft-fp/extendsftf2.c: Likewise.
5237         * soft-fp/extendxftf2.c: Likewise.
5238         * soft-fp/gedf2.c: Likewise.
5239         * soft-fp/gesf2.c: Likewise.
5240         * soft-fp/getf2.c: Likewise.
5241         * soft-fp/ledf2.c: Likewise.
5242         * soft-fp/lesf2.c: Likewise.
5243         * soft-fp/letf2.c: Likewise.
5244         * soft-fp/op-1.h: Likewise.
5245         * soft-fp/op-2.h: Likewise.
5246         * soft-fp/op-4.h: Likewise.
5247         * soft-fp/op-8.h: Likewise.
5248         * soft-fp/op-common.h: Likewise.
5249         * soft-fp/quad.h: Likewise.
5250         * soft-fp/single.h: Likewise.
5251         * soft-fp/soft-fp.h: Likewise.
5252         * soft-fp/unorddf2.c: Likewise.
5253         * soft-fp/unordsf2.c: Likewise.
5254         * soft-fp/unordtf2.c: Likewise.
5255         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5256         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5257         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5258         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5259         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5260         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5261         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5262         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5263         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5264         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5266 2014-10-08  Rong Xu  <xur@google.com>
5268         * libgcov-util.c (read_gcda_file): Fix format.
5269         (find_match_gcov_info): Ditto.
5270         (calculate_2_entries): New.
5271         (compute_one_gcov): Ditto.
5272         (gcov_info_count_all_cold): Ditto.
5273         (gcov_info_count_all_zero): Ditto.
5274         (extract_file_basename): Ditto.
5275         (get_file_basename): Ditto.
5276         (set_flag): Ditto.
5277         (matched_gcov_info): Ditto.
5278         (calculate_overlap): Ditto.
5279         (gcov_profile_overlap): Ditto.
5280         * libgcov-driver.c (compute_summary): Make
5281         it avavilable for external calls.
5283 2014-10-06  Rong Xu  <xur@google.com>
5285         * Makefile.in: Ditto.
5286         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5287         (gcov_sort_icall_topn_counter): Ditto.
5288         (gcov_sort_topn_counter_arrays): Ditto.
5289         (dump_one_gcov): Sort indirect_call topn counters.
5290         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5291         function.
5292         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5293         utility function.
5294         (__gcov_indirect_call_topn_profiler): New profiler function.
5295         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5296         * libgcov.h: New decls.
5298 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
5300         * config.host: Remove support for score-*.
5302 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
5304         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5305         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5306         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5307         __LIBGCC_XF_MANT_DIG__.
5308         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5309         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5310         __LIBGCC_TF_MANT_DIG__.
5311         * libgcc2.c (NOTRUNC): Define in terms of
5312         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5313         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5315 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
5317         PR target/63312
5318         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5319         New macros.
5321 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
5323         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5324         override USE_PT_GNU_EH_FRAME.
5325         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5326         check USE_EH_FRAME_REGISTRY_ALWAYS against
5327         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5328         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5329         variable for substituted force_explicit_eh_registry.
5330         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5331         * configure.ac (explicit-exception-frame-registration):
5332         New AC_ARG_ENABLE.
5333         * configure: Regenerate.
5335 2014-09-19  Olivier Hainque  <hainque@adacore.com>
5337         * config.host (powerpc-wrs-vxworksmils): New configuration,
5338         same as vxworksae.
5340 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
5342         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5344 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
5346         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5347         bits not set bits as indicating trapping exceptions.
5349 2014-09-17  Nathan sidwell  <nathan@acm.org>
5351         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5352         (LIBGCOV_DRIVER): ... here.
5353         * libgcov-driver.c (gcov_master): New.
5354         (gcov_exit): Remove from master chain.
5355         (__gcov_init): Add to master chain if version compatible.  Don't
5356         clear the version.
5357         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5358         (gcov_reset_int): Clear master chain, if compatible.
5359         (gcov_dump_int): New internal interface.  Dump master chain, if
5360         compatible.
5361         (gcov_dump): Alias for gcov_dump_int.
5362         * libgcov.h (struct gcov_root): Add next and prev fields.
5363         (struct gcov_master): New struct.
5364         (__gcov_master): New.
5365         (gcov_dump_int): Declare.
5367 2014-09-17  Olivier Hainque  <hainque@adacore.com>
5369         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5370         and crtbegin.o + crtend.o to extra_parts.
5372 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
5374         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5375         __LIBGCC_HAS_SF_MODE__.
5376         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5377         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5378         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5379         * config/libbid/bid_gcc_intrinsics.h
5380         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5381         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5382         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5383         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5384         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5385         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5387 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
5389         PR target/63223
5390         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5391         and R24 as needed.  Make work for all devices and .text locations.
5392         (__do_global_ctors, __do_global_dtors): Use word addresses.
5393         (__tablejump__, __tablejump_elpm__): Remove functions.
5394         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5395         Add _tablejump2.
5396         (XICALL, XIJMP): New macros.
5398 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5399         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
5401         * config.host (aarch64*): Include crtfastmath.o and
5402         t-crtfm.
5403         * config/aarch64/crtfastmath.c: New file.
5405 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
5407         * config.host: Remove picochip support.
5408         * config/picochip/adddi3.S: Remove.
5409         * config/picochip/ashlsi3.S: Remove.
5410         * config/picochip/ashlsi3.c: Remove.
5411         * config/picochip/ashrsi3.S: Remove.
5412         * config/picochip/ashrsi3.c: Remove.
5413         * config/picochip/clzsi2.S: Remove.
5414         * config/picochip/cmpsi2.S: Remove.
5415         * config/picochip/divmod15.S: Remove.
5416         * config/picochip/divmodhi4.S: Remove.
5417         * config/picochip/divmodsi4.S: Remove.
5418         * config/picochip/lib1funcs.S: Remove.
5419         * config/picochip/longjmp.S: Remove.
5420         * config/picochip/lshrsi3.S: Remove.
5421         * config/picochip/lshrsi3.c: Remove.
5422         * config/picochip/parityhi2.S: Remove.
5423         * config/picochip/popcounthi2.S: Remove.
5424         * config/picochip/setjmp.S: Remove.
5425         * config/picochip/subdi3.S: Remove.
5426         * config/picochip/t-picochip: Remove.
5427         * config/picochip/ucmpsi2.S: Remove.
5428         * config/picochip/udivmodhi4.S: Remove.
5429         * config/picochip/udivmodsi4.S: Remove.
5431 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
5433         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5434         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5435         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5436         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5437         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
5438         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5439         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
5440         defined and LIBGCC2_HAS_DF_MODE is defined.
5441         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
5442         defined and LIBGCC2_HAS_XF_MODE is defined.
5443         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
5444         defined and LIBGCC2_HAS_TF_MODE is defined.
5446 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
5448         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5449         and ROUND_TOWARDS_ZERO conditionals.
5451 2014-09-07  Nathan sidwell  <nathan@acm.org>
5453         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5454         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
5456 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
5458         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5459         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5460         uses to __LIBGCC_STACK_POINTER_REGNUM__.
5461         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5462         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5463         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5464         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5465         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5466         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5467         (DWARF_FRAME_REGISTERS): Change all uses to
5468         __LIBGCC_DWARF_FRAME_REGISTERS__.
5469         (EH_RETURN_STACKADJ_RTX): Change all uses to
5470         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5471         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5472         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
5473         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5474         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5475         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5476         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5477         to __LIBGCC_EH_FRAME_SECTION_NAME__.
5478         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5479         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5480         __LIBGCC_STACK_POINTER_REGNUM__.
5481         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5482         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5483         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5484         to __LIBGCC_STACK_POINTER_REGNUM__.
5485         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5486         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5487         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5488         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5489         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5490         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5491         (STACK_POINTER_REGNUM): Change all uses to
5492         __LIBGCC_STACK_POINTER_REGNUM__.
5493         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5494         use to __LIBGCC_STACK_POINTER_REGNUM__.
5495         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5496         uses to __LIBGCC_STACK_POINTER_REGNUM__.
5497         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5498         to __LIBGCC_DWARF_FRAME_REGISTERS__.
5499         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5500         to __LIBGCC_DWARF_FRAME_REGISTERS__.
5501         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5502         to __LIBGCC_STACK_POINTER_REGNUM__.
5503         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5504         Remove conditional definition.
5505         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5506         __LIBGCC_TEXT_SECTION_ASM_OP__.
5507         (EH_FRAME_SECTION_NAME): Change all uses to
5508         __LIBGCC_EH_FRAME_SECTION_NAME__.
5509         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5510         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5511         (CTORS_SECTION_ASM_OP): Change all uses to
5512         __LIBGCC_CTORS_SECTION_ASM_OP__.
5513         (DTORS_SECTION_ASM_OP): Change all uses to
5514         __LIBGCC_DTORS_SECTION_ASM_OP__.
5515         (JCR_SECTION_NAME): Change all uses to
5516         __LIBGCC_JCR_SECTION_NAME__.
5517         (INIT_SECTION_ASM_OP): Change all uses to
5518         __LIBGCC_INIT_SECTION_ASM_OP__.
5519         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5520         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5521         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5522         __LIBGCC_STACK_GROWS_DOWNWARD__.
5523         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5524         __LIBGCC_INIT_SECTION_ASM_OP__.
5525         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5526         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5527         (EH_FRAME_SECTION_NAME): Change all uses to
5528         __LIBGCC_EH_FRAME_SECTION_NAME__.
5529         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5530         definitions.  Change all uses to
5531         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5532         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5533         __LIBGCC_STACK_GROWS_DOWNWARD__.
5534         (DWARF_FRAME_REGISTERS): Change all uses to
5535         __LIBGCC_DWARF_FRAME_REGISTERS__.
5536         (EH_RETURN_STACKADJ_RTX): Change all uses to
5537         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5538         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5539         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5540         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5541         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5542         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5544 2014-09-02  Nathan sidwell  <nathan@acm.org>
5546         * libgcov-interface.c (STRONG_ALIAS): New.
5547         (__gcov_flush): Call __gcov_reset_int.
5548         (__gcov_reset): Strong alias for ...
5549         (__gcov_reset_ing): ... this renamed hidden version.
5550         * libgcov.h (__gcov_reset_int): New declaration.
5552 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
5554         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5555         call from here...
5556         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5557         (__dso_handle): Define on Cygwin.
5558         * config/i386/t-cygming (crtbeginS.o): New rule.
5559         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5561         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5562         declaration syntax.
5564 2014-08-13  Steve Ellcey  <sellcey@mips.com>
5566         * crtstuff.c: Undef caddr_t.
5568 2014-08-12  Steve Ellcey  <sellcey@mips.com>
5570         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
5572 2014-08-07  Nathan Sidwell  <nathan@acm.org>
5574         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5575         (LIBGCOV_DRIVER): ... to here.
5576         * libgcov.h (gcov_do_dump): New #define.
5577         (struct gcov_root): New.
5578         (__gcov_root): New declaration.
5579         (__gcov_dump_one): Declare.
5580         * libgcov-driver.c (gcov_list, gcov_dump_complete,
5581         run_accounted): Delete.
5582         (gcov_compute_histogram): Add LIST argument, adjust.
5583         (compute_summary): Adjust gcov_compute_histogram call.
5584         (gcov_do_dump): Not hidden, static in libgcov.
5585         (gcov_clear): Move  to interface.c.
5586         (__gcov_dump_one): New, broken out of ...
5587         (gcov_exit): ... here.  Make static.
5588         (__gcov_root): New.
5589         (__gcov_init): Adjust.
5590         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5591         declarations.
5592         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5593         (gcov_clear): Moved from driver.c.   Add LIST argument.
5594         (__gcov_reset): Adjust for changed interfaces.
5595         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5597 2014-08-04  Rohit  <rohitarulraj@freescale.com>
5599         PR target/60102
5600         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
5601         based on change in SPE high register numbers and 3 HTM registers.
5603 2014-08-01  Nathan Sidwell  <nathan@acm.org>
5605         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5606         LIBGCOV_INTERFACE): Reformat.
5607         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5608         IN_GCOV_TOOL.
5609         * libgcov-interface.c: Reformat some comments.
5610         (__gcov_flush_mx): Add declaration.  Tidy up definition.
5612 2014-07-31  Alan Modra  <amodra@gmail.com>
5613             Peter Bergner  <bergner@vnet.ibm.com>
5615         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5616         (pack_ldouble): New function.
5617         (__gcc_qadd): Use it.
5618         (__gcc_qmul): Likewise.
5619         (__gcc_qdiv): Likewise.
5620         (__gcc_qneg): Likewise.
5621         (__gcc_stoq): Likewise.
5622         (__gcc_dtoq): Likewise.
5624 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
5626         * config/s390/tpf-unwind.h: Include <stdbool.h>.
5627         (__tpf_eh_return): Add original return address as second parameter.
5628         Handle cases where unwinder routines were called directly, instead
5629         of from within the C++ library.
5631 2014-07-29  Nathan Sidwell  <nathan@acm.org>
5633         * libgcov.h: Move renaming of entry points to lib gcov specific
5634         portion.
5635         (gcov_do_dump): New rename.
5636         (gcov_rewrite): Remove inline, make HIDDEN.
5637         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5638         (gcov_exit_compute_summary): Rename to ...
5639         (compute_summary): ... here.  Add LIST argument.
5640         (gcov_exit_merge_gcda): Rename to ...
5641         (merge_one_data): ... here.
5642         (gcov_exit_write_gcda): Rename to ...
5643         (write_one_data): ... here.
5644         (gcov_exit_merge_summary): Rename to ...
5645         (merge_summary): Add RUN_COUNTED argument.
5646         (gcov_exit_dump_gcov): Rename to ...
5647         (dump_one_gcov): Add RUN_COUNTED argument.
5648         (gcov_do_dump): New function, broken out of ...
5649         (gcov_exit): ... here.  Call it.
5651 2014-07-27  Anthony Green  <green@moxielogic.com>
5653         * config.host: Add moxiebox configuration suppport.
5655 2014-07-27  Nathan Sidwell  <nathan@acm.org>
5657         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5658         (struct gcov_filename): ... here.  Include buffer and max length
5659         fields.
5660         (gcov_max_filename): Remove.
5661         (gi_filename): Remove.
5662         (gcov_exit_compute_summary): Compute max filename here.
5663         (gcov_exit_merge_gcda): Add filename parm, adjust.
5664         (gcov_exit_merge_summary): Likewise.
5665         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5666         (gcov_exit): Likewise.
5667         (__gcov_init): Don't calculate max length here.
5668         * libgcov_util.c (max_filename_len): Remove.
5669         (read_gcda_file): Don't calculate max length here.
5670         (gcov_read_profile_dir): Don't propagate here.
5671         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5672         struct gcov_filename changes.
5673         (gcov_exit_open_gcda_file): Likewise.
5675 2014-07-25  Nathan Sidwell  <nathan@acm.org>
5677         * libgcov-driver.c (set_gcov_dump_complete,
5678         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5679         functions polluting user's namespace.
5680         (gcov_exit): Set variable directly.
5681         (gcov_clear): Reset variable directly.
5682         * libgcov-interface.c (get_gcov_dymp_complete,
5683         reset_gov_dump_complete): Remove declarations.
5684         (__gcov_reset, __gcov_dump): Don't call them.
5686 2014-07-24  DJ Delorie  <dj@redhat.com>
5688         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5689         (__gcc_deregister_frame): Move logic to detect deregister function
5690         to ...
5691         (__gcc_register_frame): here, so it's consistent with the register
5692         logic.
5694 2014-07-23  Nathan Sidwell  <nathan@acm.org>
5696         * libgcov-driver.c (set_gcov_list): Remove.
5697         (gcov_list): Make non-static in GCOV_TOOL.
5698         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5700 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
5702         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5703         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5704         Don't use SYNC_LOCK_RELEASE for int type.
5706 2014-07-14  Richard Biener  <rguenther@suse.de>
5708         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5710 2014-07-11  Rong Xu  <xur@google.com>
5712         * libgcov-util.c (gcov_max_filename): Fix declartion.
5714 2014-07-10  Rong Xu  <xur@google.com>
5716         Add gcov-tool: an offline gcda profile processing tool
5717         Support.
5718         * libgcov-driver.c (gcov_max_filename): Make available
5719         to gcov-tool.
5720         * libgcov-merge.c (__gcov_merge_add): Replace
5721         gcov_read_counter() with a Macro.
5722         (__gcov_merge_ior): Ditto.
5723         (__gcov_merge_time_profile): Ditto.
5724         (__gcov_merge_single): Ditto.
5725         (__gcov_merge_delta): Ditto.
5726         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5727         in the utility functions.
5728         (set_fn_ctrs): Utility function for reading gcda files to in-memory
5729         gcov_list object link lists.
5730         (tag_function): Ditto.
5731         (tag_blocks): Ditto.
5732         (tag_arcs): Ditto.
5733         (tag_lines): Ditto.
5734         (tag_counters): Ditto.
5735         (tag_summary): Ditto.
5736         (read_gcda_finalize): Ditto.
5737         (read_gcda_file): Ditto.
5738         (ftw_read_file): Ditto.
5739         (read_profile_dir_init): Ditto.
5740         (gcov_read_profile_dir): Ditto.
5741         (gcov_read_counter_mem): Ditto.
5742         (gcov_get_merge_weight): Ditto.
5743         (merge_wrapper): A wrapper function that calls merging handler.
5744         (gcov_merge): Merge two gcov_info objects with weights.
5745         (find_match_gcov_info): Find the matched gcov_info in the list.
5746         (gcov_profile_merge): Merge two gcov_info object lists.
5747         (__gcov_add_counter_op): Process edge profile counter values.
5748         (__gcov_ior_counter_op): Process IOR profile counter values.
5749         (__gcov_delta_counter_op): Process delta profile counter values.
5750         (__gcov_single_counter_op): Process single  profile counter values.
5751         (fp_scale): Callback function for float-point scaling.
5752         (int_scale): Callback function for integer fraction scaling.
5753         (gcov_profile_scale): Scaling profile counters.
5754         (gcov_profile_normalize): Normalize profile counters.
5755         * libgcov.h: Add headers and functions for gcov-tool use.
5756         (gcov_get_counter): New.
5757         (gcov_get_counter_target): Ditto.
5758         (struct gcov_info): Make the functions field mutable in gcov-tool
5759         compilation.
5761 2014-06-23  Kai Tietz  <ktietz@redhat.com>
5763         PR libgcc/61585
5764         * unwind-seh.c (_Unwind_GetGR): Check for proper
5765         index range.
5766         (_Unwind_SetGR): Likewise.
5768 2014-05-22  Nick Clifton  <nickc@redhat.com>
5770         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5771         -mhwmult=none.
5773 2014-05-22  Teresa Johnson  <tejohnson@google.com>
5775         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5776         include.
5778 2014-05-20  John Marino  <gnugcc@marino.st>
5780         * config.host (*-*-dragonfly*): New target.
5781         * crtstuff.c: Make dl_iterate_support generic on *bsd.
5782         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5783         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5784         * config/i386/dragonfly-unwind.h: New.
5786 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
5788         PR libgcc/60166
5789         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5790         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5792 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5794         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5795         implementation.
5797 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
5799         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5801 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5803         PR libgcc/61097
5804         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5805         if --enable-shared.
5807 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5809         Work around for current cygwin32 build problems.
5810         * config/i386/cygming-crtbegin.c (__register_frame_info,
5811         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5812         functions only for 64-bit systems.
5814 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5816         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5817         (sigill_caught, sigill_hdlr): Remove.
5819 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5821         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5822         check.
5823         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5824         Solaris 9 single-threaded support.
5825         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5826         Solaris 9 single-threaded support.  Add call_user_handler code
5827         sequences.
5828         (sparc_is_sighandler): Likewise.
5830 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5832         * config.host: Append t-floattodi to tmake_file depending on
5833         host_address.
5835 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
5837         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
5839 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
5841         PR libgcc/60472
5842         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
5843         variable to avoid "array subscript is above array bounds" warnings.
5844         Use __builtin_expect when checking *jcr_list for NULL.
5846 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5848         PR libgcc/59339
5849         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5850         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5851         vtv_*.o to extra_parts if enable_vtable_verify.
5853 2014-03-06  Nick Clifton  <nickc@redhat.com>
5855         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5856         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5858 2014-02-28  Joey Ye  <joey.ye@arm.com>
5860         PR libgcc/60166
5861         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5862         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5863         Set to zero.
5865 2014-02-24  Walter Lee  <walt@tilera.com>
5867         * config.host: Support "tilegx*" and "tilepro*" triplets.
5868         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5869         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5871 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
5872             Chung-Lin Tang  <cltang@codesourcery.com>
5874         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5875         * config/nios2/crti.S: Remove .file directive.
5876         * config/nios2/crtn.S: Likewise.
5878 2014-02-18  Kai Tietz  <ktietz@redhat.com>
5879         Jonathan Schleifer  <js@webkeks.org>
5881         PR objc/56870
5882         * unwind-seh.c (_GCC_specific_handler): Pass proper
5883         value to unwind-handler.
5885 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
5887         * soft-fp/adddf3.c: Update from glibc.
5888         * soft-fp/addsf3.c: Likewise.
5889         * soft-fp/addtf3.c: Likewise.
5890         * soft-fp/divdf3.c: Likewise.
5891         * soft-fp/divsf3.c: Likewise.
5892         * soft-fp/divtf3.c: Likewise.
5893         * soft-fp/double.h: Likewise.
5894         * soft-fp/eqdf2.c: Likewise.
5895         * soft-fp/eqsf2.c: Likewise.
5896         * soft-fp/eqtf2.c: Likewise.
5897         * soft-fp/extenddftf2.c: Likewise.
5898         * soft-fp/extended.h: Likewise.
5899         * soft-fp/extendsfdf2.c: Likewise.
5900         * soft-fp/extendsftf2.c: Likewise.
5901         * soft-fp/extendxftf2.c: Likewise.
5902         * soft-fp/fixdfdi.c: Likewise.
5903         * soft-fp/fixdfsi.c: Likewise.
5904         * soft-fp/fixdfti.c: Likewise.
5905         * soft-fp/fixsfdi.c: Likewise.
5906         * soft-fp/fixsfsi.c: Likewise.
5907         * soft-fp/fixsfti.c: Likewise.
5908         * soft-fp/fixtfdi.c: Likewise.
5909         * soft-fp/fixtfsi.c: Likewise.
5910         * soft-fp/fixtfti.c: Likewise.
5911         * soft-fp/fixunsdfdi.c: Likewise.
5912         * soft-fp/fixunsdfsi.c: Likewise.
5913         * soft-fp/fixunsdfti.c: Likewise.
5914         * soft-fp/fixunssfdi.c: Likewise.
5915         * soft-fp/fixunssfsi.c: Likewise.
5916         * soft-fp/fixunssfti.c: Likewise.
5917         * soft-fp/fixunstfdi.c: Likewise.
5918         * soft-fp/fixunstfsi.c: Likewise.
5919         * soft-fp/fixunstfti.c: Likewise.
5920         * soft-fp/floatdidf.c: Likewise.
5921         * soft-fp/floatdisf.c: Likewise.
5922         * soft-fp/floatditf.c: Likewise.
5923         * soft-fp/floatsidf.c: Likewise.
5924         * soft-fp/floatsisf.c: Likewise.
5925         * soft-fp/floatsitf.c: Likewise.
5926         * soft-fp/floattidf.c: Likewise.
5927         * soft-fp/floattisf.c: Likewise.
5928         * soft-fp/floattitf.c: Likewise.
5929         * soft-fp/floatundidf.c: Likewise.
5930         * soft-fp/floatundisf.c: Likewise.
5931         * soft-fp/floatunditf.c: Likewise.
5932         * soft-fp/floatunsidf.c: Likewise.
5933         * soft-fp/floatunsisf.c: Likewise.
5934         * soft-fp/floatunsitf.c: Likewise.
5935         * soft-fp/floatuntidf.c: Likewise.
5936         * soft-fp/floatuntisf.c: Likewise.
5937         * soft-fp/floatuntitf.c: Likewise.
5938         * soft-fp/gedf2.c: Likewise.
5939         * soft-fp/gesf2.c: Likewise.
5940         * soft-fp/getf2.c: Likewise.
5941         * soft-fp/ledf2.c: Likewise.
5942         * soft-fp/lesf2.c: Likewise.
5943         * soft-fp/letf2.c: Likewise.
5944         * soft-fp/muldf3.c: Likewise.
5945         * soft-fp/mulsf3.c: Likewise.
5946         * soft-fp/multf3.c: Likewise.
5947         * soft-fp/negdf2.c: Likewise.
5948         * soft-fp/negsf2.c: Likewise.
5949         * soft-fp/negtf2.c: Likewise.
5950         * soft-fp/op-1.h: Likewise.
5951         * soft-fp/op-2.h: Likewise.
5952         * soft-fp/op-4.h: Likewise.
5953         * soft-fp/op-8.h: Likewise.
5954         * soft-fp/op-common.h: Likewise.
5955         * soft-fp/quad.h: Likewise.
5956         * soft-fp/single.h: Likewise.
5957         * soft-fp/soft-fp.h: Likewise.
5958         * soft-fp/subdf3.c: Likewise.
5959         * soft-fp/subsf3.c: Likewise.
5960         * soft-fp/subtf3.c: Likewise.
5961         * soft-fp/truncdfsf2.c: Likewise.
5962         * soft-fp/trunctfdf2.c: Likewise.
5963         * soft-fp/trunctfsf2.c: Likewise.
5964         * soft-fp/trunctfxf2.c: Likewise.
5965         * soft-fp/unorddf2.c: Likewise.
5966         * soft-fp/unordsf2.c: Likewise.
5967         * soft-fp/unordtf2.c: Likewise.
5968         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5969         macro.
5970         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5971         Likewise.
5972         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5973         Likewise.
5974         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5975         Likewise.
5976         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5977         Likewise.
5978         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5979         Likewise.
5980         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5981         Likewise.
5982         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5983         Likewise.
5984         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5985         Likewise.
5986         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5987         Likewise.
5988         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5989         Likewise.
5990         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5991         Likewise.
5992         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5993         Likewise.
5994         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5995         Likewise.
5996         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5997         Likewise.
5998         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5999         Likewise.
6001 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6003         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6004         cannot be represented.
6005         * config/s390/32/_fixsfdi.c: Likewise.
6006         * config/s390/32/_fixtfdi.c: Likewise.
6007         * config/s390/32/_fixunsdfdi.c: Likewise.
6008         * config/s390/32/_fixunssfdi.c: Likewise.
6009         * config/s390/32/_fixunstfdi.c: Likewise.
6011 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
6013         * configure.ac (libgcc_cv_mips_hard_float): New.
6014         * configure: Regenerate.
6015         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6016         t-softfp-sfdf for hard-float targets.
6017         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6018         (softfp_float_modes, softfp_int_modes, softfp_extensions)
6019         (softfp_truncations, softfp_exclude_libgcc2): New.
6020         * config/t-hardfp: New file.
6021         * config/t-hardfp-sfdf: Likewise.
6022         * config/hardfp.c: Likewise.
6024 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6026         * config.host: Include t-floattodi also for s390x.
6027         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6028         * config/s390/32/_fixsfdi.c: Likewise.
6029         * config/s390/32/_fixtfdi.c: Likewise.
6030         * config/s390/32/_fixunsdfdi.c: Likewise.
6031         * config/s390/32/_fixunssfdi.c: Likewise.
6032         * config/s390/32/_fixunstfdi.c: Likewise.
6034 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6036         PR target/59788
6037         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6038         (install-libgcc-unwind-map-forbuild): New target.
6039         (all): Depend on install-libgcc-unwind-map-forbuild.
6040         (install-libgcc-unwind-map): New target.
6041         (install): Depend on install-libgcc-unwind-map.
6043 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
6045         * config/nios2/crti.S (_init): Initialize GOT pointer from
6046         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6048 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
6050         * configure.ac: Check __mips64 when setting host_address.
6051         * configure: Regenerate.
6052         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6053         mips/t-mips64 and t-softfp.
6054         (mips*-*-linux*): Don't add mips/t-tpbit.
6055         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6056         (DPBIT, DPBIT_CFLAGS): Delete.
6057         * config/mips/sfp-machine.h: New file.
6058         * config/mips/t-mips64: Likewise.
6059         * config/mips/t-softfp-tf: Likewise.
6060         * config/mips/t-tpbit: Delete.
6062 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6064         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6065         as long long.
6067 2014-01-25  Walter Lee  <walt@tilera.com>
6069         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
6070         config.h or system.h.
6071         (bool) Define.
6073 2014-01-25  Walter Lee  <walt@tilera.com>
6075         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6076         (post_atomic_barrier): Ditto.
6077         (__fetch_and_do): New macro.
6078         (__atomic_fetch_and_do): Use __fetch_and_do.
6079         (__sync_fetch_and_do): New macro.
6080         (__sync_fetch_and_add_4): New function.
6081         (__sync_fetch_and_sub_4): New function.
6082         (__sync_fetch_and_or_4): New function.
6083         (__sync_fetch_and_and_4): New function.
6084         (__sync_fetch_and_xor_4): New function.
6085         (__sync_fetch_and_nand_4): New function.
6086         (__sync_fetch_and_add_8): New function.
6087         (__sync_fetch_and_sub_8): New function.
6088         (__sync_fetch_and_or_8): New function.
6089         (__sync_fetch_and_and_8): New function.
6090         (__sync_fetch_and_xor_8): New function.
6091         (__sync_fetch_and_nand_8): New function.
6092         (__do_and_fetch): New macro.
6093         (__atomic_do_and_fetch): Use __do_and_fetch.
6094         (__sync_do_and_fetch): New macro.
6095         (__sync_add_and_fetch_4): New function.
6096         (__sync_sub_and_fetch_4): New function.
6097         (__sync_or_and_fetch_4): New function.
6098         (__sync_and_and_fetch_4): New function.
6099         (__sync_xor_and_fetch_4): New function.
6100         (__sync_nand_and_fetch_4): New function.
6101         (__sync_add_and_fetch_8): New function.
6102         (__sync_sub_and_fetch_8): New function.
6103         (__sync_or_and_fetch_8): New function.
6104         (__sync_and_and_fetch_8): New function.
6105         (__sync_xor_and_fetch_8): New function.
6106         (__sync_nand_and_fetch_8): New function.
6107         (__sync_exchange_methods): New macro.
6108         (__sync_val_compare_and_swap_4): New function.
6109         (__sync_bool_compare_and_swap_4): New function.
6110         (__sync_lock_test_and_test_4): New function.
6111         (__sync_val_compare_and_swap_8): New function.
6112         (__sync_bool_compare_and_swap_8): New function.
6113         (__sync_lock_test_and_test_8): New function.
6114         (__subword_cmpxchg_body): New macro.
6115         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6116         (__atomic_compare_exchange_2): Ditto.
6117         (__sync_subword_cmpxchg): New macro.
6118         (__sync_val_compare_and_swap_1): New function.
6119         (__sync_bool_compare_and_swap_1): New function.
6120         (__sync_val_compare_and_swap_2): New function.
6121         (__sync_bool_compare_and_swap_2): New function.
6122         (__atomic_subword): Rename to ...
6123         (__subword): ... New name.
6124         (__atomic_subword_fetch): Use __subword.
6125         (__sync_subword_fetch): New macro.
6126         (__sync_fetch_and_add_1): New function.
6127         (__sync_fetch_and_sub_1): New function.
6128         (__sync_fetch_and_or_1): New function.
6129         (__sync_fetch_and_and_1): New function.
6130         (__sync_fetch_and_xor_1): New function.
6131         (__sync_fetch_and_nand_1): New function.
6132         (__sync_fetch_and_add_2): New function.
6133         (__sync_fetch_and_sub_2): New function.
6134         (__sync_fetch_and_or_2): New function.
6135         (__sync_fetch_and_and_2): New function.
6136         (__sync_fetch_and_xor_2): New function.
6137         (__sync_fetch_and_nand_2): New function.
6138         (__sync_add_and_fetch_1): New function.
6139         (__sync_sub_and_fetch_1): New function.
6140         (__sync_or_and_fetch_1): New function.
6141         (__sync_and_and_fetch_1): New function.
6142         (__sync_xor_and_fetch_1): New function.
6143         (__sync_nand_and_fetch_1): New function.
6144         (__sync_add_and_fetch_2): New function.
6145         (__sync_sub_and_fetch_2): New function.
6146         (__sync_or_and_fetch_2): New function.
6147         (__sync_and_and_fetch_2): New function.
6148         (__sync_xor_and_fetch_2): New function.
6149         (__sync_nand_and_fetch_2): New function.
6150         (__atomic_subword_lock): Use __subword.
6151         (__sync_subword_lock): New macro.
6152         (__sync_lock_test_and_set_1): New function.
6153         (__sync_lock_test_and_set_2): New function.
6155 2014-01-25  Walter Lee  <walt@tilera.com>
6157         * config/tilepro/atomic.c (BIT_OFFSET): Define.
6158         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6159         (__atomic_subword): Ditto.
6161 2014-01-25  Walter Lee  <walt@tilera.com>
6163         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6164         a prefix op argument.
6165         (__atomic_nand_fetch_4): Add prefix op.
6166         (__atomic_nand_fetch_8): Ditto.
6168 2014-01-21  Baruch Siach  <barch@tkos.co.il>
6170         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6172 2014-01-09  Rong Xu  <xur@google.com>
6174         * libgcov-driver.c (this_prg): make it local to save
6175         bss space.
6176         (gcov_exit_compute_summary): Ditto.
6177         (gcov_exit_merge_gcda): Ditto.
6178         (gcov_exit_merge_summary): Ditto.
6179         (gcov_exit_dump_gcov): Ditto.
6181 2014-01-08  Rong Xu  <xur@google.com>
6183         * libgcov-driver.c: Use libgcov.h.
6184         (buffer_fn_data): Use xmalloc instead of malloc.
6185         (gcov_exit_merge_gcda): Ditto.
6186         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6187         * libgcov.h: New common header files for libgcov-*.h.
6188         * libgcov-interface.c: Use libgcov.h
6189         * libgcov-merge.c: Ditto.
6190         * libgcov-profiler.c: Ditto.
6191         * Makefile.in: Add dependence to libgcov.h
6193 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
6195         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6196         case of small numerator and finite nonzero result.
6198 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
6200         Update copyright years
6202 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
6204         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6205         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6206         config/arc/dp-hack.h, config/arc/fp-hack.h,
6207         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6208         config/arc/ieee-754/arc600-dsp/divdf3.S,
6209         config/arc/ieee-754/arc600-dsp/divsf3.S,
6210         config/arc/ieee-754/arc600-dsp/muldf3.S,
6211         config/arc/ieee-754/arc600-dsp/mulsf3.S,
6212         config/arc/ieee-754/arc600-mul64/divdf3.S,
6213         config/arc/ieee-754/arc600-mul64/divsf3.S,
6214         config/arc/ieee-754/arc600-mul64/muldf3.S,
6215         config/arc/ieee-754/arc600-mul64/mulsf3.S,
6216         config/arc/ieee-754/arc600/divsf3.S,
6217         config/arc/ieee-754/arc600/mulsf3.S,
6218         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6219         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6220         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6221         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6222         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6223         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6224         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6225         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6226         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6227         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6228         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6229         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6230         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6231         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6232         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6233         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6234         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6235         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6236         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6237         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6238         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6239         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6240         vtv_start_preinit.c: Use the standard form for the copyright notice.
6242 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
6243             Chung-Lin Tang  <cltang@codesourcery.com>
6244             Based on patches from Altera Corporation
6246         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6247         * config/nios2/lib2-nios2.h: New file.
6248         * config/nios2/lib2-divmod-hi.c: New file.
6249         * config/nios2/linux-unwind.h: New file.
6250         * config/nios2/lib2-divmod.c: New file.
6251         * config/nios2/linux-atomic.c: New file.
6252         * config/nios2/t-nios2: New file.
6253         * config/nios2/crti.asm: New file.
6254         * config/nios2/t-linux: New file.
6255         * config/nios2/lib2-divtable.c: New file.
6256         * config/nios2/lib2-mul.c: New file.
6257         * config/nios2/tramp.c: New file.
6258         * config/nios2/crtn.asm: New file.
6260 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
6262         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6263         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6264         from cpuid.h to check vendor signatures.
6266 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
6268         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
6269         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6270         (get_amd_cpu): Likewise.
6272 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
6274         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6275         Haswell.
6277 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
6278             H.J. Lu  <hongjiu.lu@intel.com>
6280         PR target/59422
6281         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
6282         and AMD_JAGUAR.
6283         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6284         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6285         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
6286         FEATURE_XOP and FEATURE_FMA.
6287         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6288         AMDFAM15H_BDVER3.
6289         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
6290         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
6291         FEATURE_FMA4 and FEATURE_XOP.
6293 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
6295         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6296         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6297         (get_intel_cpu): Updated.
6299 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
6301         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6303 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
6305         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6306         instructions when __SSE_MATH__ is defined.
6308 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
6310         * config.host (microblaze-*-rtems*): New.
6312 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
6314         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6315         architectures that do not have hardware divide instruction.
6316         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6318 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
6320         * longlong.h: Delete (moved to include/).
6322 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6324         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6325         of normal number and qNaN to not raise an inexact exception.
6327 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
6329         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6331 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
6333         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6334         for correct opcodes on BE.
6336 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
6338         * soft-fp/op-4.h: Update from glibc.
6340 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
6342         * libgcc2.c (__udivmoddi4): Define new implementation when
6343         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6344         divide instructions.
6346 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
6348         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6350 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6352         * config/t-softfp (soft-fp-objects-base): New variable.
6353         (soft-fp-objects): Use it.
6355 2013-11-23  David Edelson  <dje.gcc@gmail.com>
6356             Andrew Dixie  <andrewd@gentrack.com>
6358         PR target/33704
6359         * config/rs6000/aixinitfini.c: New file.
6360         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6361         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6362         symbols.
6364 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
6366         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
6368 2013-11-18  Jan Hubicka  <jh@suse.cz>
6370         * libgcov-driver.c (run_accounted): Make global level static.
6371         (gcov_exit_merge_summary): Silence warning; do not clear
6372         run_accounted here.
6373         (gcov_exit): Clear it here.
6375         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6376         run_accounted.
6378         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6379         (all_prg, crc32): Remove static vars.
6380         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6381         all_prg.
6382         (gcov_exit_merge_gcda): Add crc32 parameter.
6383         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6384         do not account run if it was already accounted.
6385         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6386         (gcov_exit): Initialize all_prg; update.
6388 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
6390         * configure: Regenerate.
6392 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6393             Alan Modra  <amodra@gmail.com>
6395         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6396         (frob_update_context): Use it.
6398 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6399             Alan Modra  <amodra@gmail.com>
6401         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6402         (trampoline_initial): Provide ELFv2 variant.
6403         (__trampoline_setup): Likewise.
6405         * config/rs6000/linux-unwind.h (frob_update_context): Do not
6406         check for AIX indirect function call sequence if _CALL_ELF == 2.
6408 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6409             Alan Modra  <amodra@gmail.com>
6411         * config/rs6000/linux-unwind.h (get_regs): Do not support
6412         old kernel versions if _CALL_ELF == 2.
6413         (frob_update_context): Do not support PLT stub variants only
6414         generated by old linkers if _CALL_ELF == 2.
6416 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6417             Alan Modra  <amodra@gmail.com>
6419         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6420         location of CR save area for 64-bit little-endian systems.
6422 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
6424         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6425         in tmake_file.
6426         * config/arm/t-vxworks: Delete.
6428 2013-11-10  Kai Tietz  <ktietz@redhat.com>
6430         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6431         Increment load-count on use of LIBGCC_SONAME DLL.
6432         (hmod_libgcc): New static variable to hold handle of
6433         LIBGCC_SONAME DLL.
6434         (__gcc_deregister_frame): Decrement load-count of
6435         LIBGCC_SONAME DLL.
6437 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
6439         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6440         availability.
6441         * configure: Regenerate
6443 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
6445         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6446         FP_EX_DENORM.  Store result to volatile location after SSE division
6447         to close interrupt window.  Remove unneeded fwait after x87
6448         division since interrupt window will be closed by emitted fstp.
6449         Rewrite FP_EX_INEXACT handling.
6451 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
6453         * soft-fp/README: Update.
6454         * soft-fp/adddf3.c: Update from glibc.
6455         * soft-fp/addsf3.c: Likewise.
6456         * soft-fp/addtf3.c: Likewise.
6457         * soft-fp/divdf3.c: Likewise.
6458         * soft-fp/divsf3.c: Likewise.
6459         * soft-fp/divtf3.c: Likewise.
6460         * soft-fp/double.h: Likewise.
6461         * soft-fp/eqdf2.c: Likewise.
6462         * soft-fp/eqsf2.c: Likewise.
6463         * soft-fp/eqtf2.c: Likewise.
6464         * soft-fp/extenddftf2.c: Likewise.
6465         * soft-fp/extended.h: Likewise.
6466         * soft-fp/extendsfdf2.c: Likewise.
6467         * soft-fp/extendsftf2.c: Likewise.
6468         * soft-fp/extendxftf2.c: Likewise.
6469         * soft-fp/fixdfdi.c: Likewise.
6470         * soft-fp/fixdfsi.c: Likewise.
6471         * soft-fp/fixdfti.c: Likewise.
6472         * soft-fp/fixsfdi.c: Likewise.
6473         * soft-fp/fixsfsi.c: Likewise.
6474         * soft-fp/fixsfti.c: Likewise.
6475         * soft-fp/fixtfdi.c: Likewise.
6476         * soft-fp/fixtfsi.c: Likewise.
6477         * soft-fp/fixtfti.c: Likewise.
6478         * soft-fp/fixunsdfdi.c: Likewise.
6479         * soft-fp/fixunsdfsi.c: Likewise.
6480         * soft-fp/fixunsdfti.c: Likewise.
6481         * soft-fp/fixunssfdi.c: Likewise.
6482         * soft-fp/fixunssfsi.c: Likewise.
6483         * soft-fp/fixunssfti.c: Likewise.
6484         * soft-fp/fixunstfdi.c: Likewise.
6485         * soft-fp/fixunstfsi.c: Likewise.
6486         * soft-fp/fixunstfti.c: Likewise.
6487         * soft-fp/floatdidf.c: Likewise.
6488         * soft-fp/floatdisf.c: Likewise.
6489         * soft-fp/floatditf.c: Likewise.
6490         * soft-fp/floatsidf.c: Likewise.
6491         * soft-fp/floatsisf.c: Likewise.
6492         * soft-fp/floatsitf.c: Likewise.
6493         * soft-fp/floattidf.c: Likewise.
6494         * soft-fp/floattisf.c: Likewise.
6495         * soft-fp/floattitf.c: Likewise.
6496         * soft-fp/floatundidf.c: Likewise.
6497         * soft-fp/floatundisf.c: Likewise.
6498         * soft-fp/floatunditf.c: Likewise.
6499         * soft-fp/floatunsidf.c: Likewise.
6500         * soft-fp/floatunsisf.c: Likewise.
6501         * soft-fp/floatunsitf.c: Likewise.
6502         * soft-fp/floatuntidf.c: Likewise.
6503         * soft-fp/floatuntisf.c: Likewise.
6504         * soft-fp/floatuntitf.c: Likewise.
6505         * soft-fp/gedf2.c: Likewise.
6506         * soft-fp/gesf2.c: Likewise.
6507         * soft-fp/getf2.c: Likewise.
6508         * soft-fp/ledf2.c: Likewise.
6509         * soft-fp/lesf2.c: Likewise.
6510         * soft-fp/letf2.c: Likewise.
6511         * soft-fp/muldf3.c: Likewise.
6512         * soft-fp/mulsf3.c: Likewise.
6513         * soft-fp/multf3.c: Likewise.
6514         * soft-fp/negdf2.c: Likewise.
6515         * soft-fp/negsf2.c: Likewise.
6516         * soft-fp/negtf2.c: Likewise.
6517         * soft-fp/op-1.h: Likewise.
6518         * soft-fp/op-2.h: Likewise.
6519         * soft-fp/op-4.h: Likewise.
6520         * soft-fp/op-8.h: Likewise.
6521         * soft-fp/op-common.h: Likewise.
6522         * soft-fp/quad.h: Likewise.
6523         * soft-fp/single.h: Likewise.
6524         * soft-fp/soft-fp.h: Likewise.
6525         * soft-fp/subdf3.c: Likewise.
6526         * soft-fp/subsf3.c: Likewise.
6527         * soft-fp/subtf3.c: Likewise.
6528         * soft-fp/truncdfsf2.c: Likewise.
6529         * soft-fp/trunctfdf2.c: Likewise.
6530         * soft-fp/trunctfsf2.c: Likewise.
6531         * soft-fp/trunctfxf2.c: Likewise.
6532         * soft-fp/unorddf2.c: Likewise.
6533         * soft-fp/unordsf2.c: Likewise.
6534         * soft-fp/unordtf2.c: Likewise.
6536 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
6538         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6539         (_FP_MUL_MEAT_D): Ditto.
6540         (_FP_DIV_MEAT_S): Ditto.
6541         (_FP_DIV_MEAT_D): Ditto.
6542         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6543         t-softfp-sfdf and t-softfp to tmake_file.
6545 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
6547         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6548         * config/i386/crtprec.c: Ditto.
6550 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
6551             Shiva Chen  <shiva0217@gmail.com>
6553         * config.host (nds32*-elf*): Add nds32 target.
6554         * config/nds32 : New directory and files.
6556 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
6558         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
6559         * config.host (cpu_type) <Setting default>: Add entry for
6560         crisv32-*-*.
6561         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6562         <crisv32-*-linux*>: Adjust.
6563         * longlong.h: Wrap the whole CRIS section in a single
6564         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
6565         and sub_ddmmss.
6566         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6567         defined.
6568         [__CRIS__] (__umulsidi3): Define.
6569         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6570         * config/cris/sfp-machine.h: New file.
6571         * config/cris/umulsidi3.S: New file.
6572         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6573         * config/cris/arit.c (SIGNMULT): New macro.
6574         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6575         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6576         saving 3 out of originally 33 cycles from the fastest
6577         path, 3 out of 54 from the medium path and one from the longest
6578         path.  Improve comments.
6580 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
6582         * sync.c: Remove static aliases and define each function directly
6583         under its real name.
6585 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
6587         * config.host (hppa*64*-*-linux*): Define extra_parts.
6588         (hppa*-*-linux*): Likewise.
6590 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
6592         * config/arc/crtgend.S: Add 2013 to Copyright years.
6593         * config/arc/gmon/atomic.h: Likewise.
6594         * config/arc/gmon/auxreg.h: Likewise.
6595         * config/arc/gmon/sys/gmon_out.h: Likewise.
6596         * config/arc/gmon/sys/gmon.h: Likewise.
6597         * config/arc/gmon/prof-freq.c: Likewise.
6598         * config/arc/gmon/mcount.c: Likewise.
6599         * config/arc/gmon/prof-freq-stub.S: Likewise.
6600         * config/arc/gmon/gmon.c: Likewise.
6601         * config/arc/gmon/machine-gmon.h: Likewise.
6602         * config/arc/gmon/profil.S: Likewise.
6603         * config/arc/gmon/dcache_linesz.S: Likewise.
6604         * config/arc/crtg.S: Likewise.
6605         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6606         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6607         * config/arc/ieee-754/adddf3.S: Likewise.
6608         * config/arc/ieee-754/truncdfsf2.S: Likewise.
6609         * config/arc/ieee-754/fixsfsi.S: Likewise.
6610         * config/arc/ieee-754/gtsf2.S: Likewise.
6611         * config/arc/ieee-754/floatsisf.S: Likewise.
6612         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6613         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6614         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6615         * config/arc/ieee-754/fixdfsi.S: Likewise.
6616         * config/arc/ieee-754/addsf3.S: Likewise.
6617         * config/arc/ieee-754/gesf2.S: Likewise.
6618         * config/arc/ieee-754/floatsidf.S: Likewise.
6619         * config/arc/ieee-754/extendsfdf2.S: Likewise.
6620         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6621         * config/arc/ieee-754/gtdf2.S: Likewise.
6622         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6623         * config/arc/ieee-754/uneqdf2.S: Likewise.
6624         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6625         * config/arc/ieee-754/uneqsf2.S: Likewise.
6626         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6627         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6628         * config/arc/ieee-754/eqdf2.S: Likewise.
6629         * config/arc/ieee-754/ordsf2.S: Likewise.
6630         * config/arc/ieee-754/divsf3.S: Likewise.
6631         * config/arc/ieee-754/divdf3.S: Likewise.
6632         * config/arc/ieee-754/floatunsidf.S: Likewise.
6633         * config/arc/ieee-754/orddf2.S: Likewise.
6634         * config/arc/ieee-754/eqsf2.S: Likewise.
6635         * config/arc/ieee-754/gedf2.S: Likewise.
6636         * config/arc/crtn.S: Likewise.
6637         * config/arc/crti.S: Likewise.
6638         * config/arc/t-arc700-uClibc: Likewise.
6639         * config/arc/asm.h: Likewise.
6640         * config/arc/libgcc-excl.ver: Likewise.
6641         * config/arc/t-arc-newlib: Likewise.
6642         * config/arc/divtab-arc700.c: Likewise.
6643         * config/arc/initfini.c: Likewise.
6644         * config/arc/fp-hack.h: Likewise.
6646 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
6647             Diego Novillo  <dnovillo@google.com>
6649         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
6650         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6651         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6652         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
6654 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
6655             Brendan Kehoe  <brendan@zen.org>
6656             Simon Cook  <simon.cook@embecosm.com>
6658         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6659         * config/arc: New directory.
6660         * longlong.h [__arc__] (umul_ppmm): Remove.
6661         [__arc__] (__umulsidi3): Define.
6662         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6663         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6665 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
6667         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6668         CreateSemaphoreA.
6669         * config/i386/gthr-win32.h: Likewise.
6671 2013-09-16  DJ Delorie  <dj@redhat.com>
6673         * config/rl78/vregs.h: Add G10 register definitions.
6674         * config/rl78/lib2mul.c: Enable for RL78/G10.
6675         * config/rl78/lib2div.c: Likewise.
6676         * config/rl78/lshrsi3.S: Use vregs.h.
6677         * config/rl78/cmpsi2.S: Likewise.
6678         * config/rl78/trampoline.S: Likewise.
6679         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
6681 2013-09-14  DJ Delorie  <dj@redhat.com>
6682             Nick Clifton  <nickc@redhat.com>
6684         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6685         * config/rl78/vregs.h: New.
6686         * config/rl78/signbit.S: New file.  Implements signbit function.
6687         * config/rl78/divmodsi.S: New.
6688         * config/rl78/divmodhi.S: New.
6689         * config/rl78/divmodqi.S: New.
6690         * config/rl78/t-rl78: Build them here...
6691         * config/rl78/lib2div.c: ...but not here.
6693 2013-09-12  DJ Delorie  <dj@redhat.com>
6695         * config.host (msp*-*-elf): New.
6696         * config/msp430/: New port.
6698 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
6700         PR gcov-profile/58127
6701         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6702         __thread var for emulated TLS.
6703         (__gcov_indirect_call_counters): Likewise.
6705 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
6706             Catherine Moore  <clm@codesourcery.com>
6707             Richard Sandiford  <rdsandiford@googlemail.com>
6709         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6710         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6711         (CALL_STUB_NO_RET): Likewise.
6712         (CALL_STUB_RET): Likewise.
6713         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6714         __mips16_ret call/return stub symbols.
6715         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6716         to tmake_file.
6718 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
6720         * config.host <mips*-*-linux*>: Remove a stray comment.
6722 2013-08-10  Jan Hubicka  <jh@suse.cz>
6724         Work around binutils PR14342
6725         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6726         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6727         (L_gcov_indirect_call_profiler_v2): New.
6729 2013-08-06  Jan Hubicka  <jh@suse.cz>
6731         * libgcov.c (__gcov_indirect_call_callee,
6732         __gcov_indirect_call_counters): New global vars.
6733         (__gcov_indirect_call_profiler): replace by ...
6734         (__gcov_indirect_call_profiler_v2) ... this one.
6736 2013-08-06  Caroline Tice  <cmtice@google.com>
6738         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
6739         vtv_start_preinit.o and vtv_end_preinit.o.
6740         * configure.ac: Add code to check/set enable_vtable_verify.
6741         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
6742         true.
6743         * vtv_start_preinit.c: New file.
6744         * vtv_end_preinit.c: New file.
6745         * vtv_start.c: New file.
6746         * vtv_end.c: New file.
6747         * configure: Regenerated.
6749 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
6751         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6752         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6753         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6754         GPL-3.0-with-GCC-exception.
6756 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
6758         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6759         ISA and up.
6761 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6763         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6764         mapping for FPRs when creating the fallback framestate.
6766 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
6768         PR target/57516
6769         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6770         (__round_s2_const, __round_u2_const)
6771         (__round_s4_const, __round_u4_const, __round_x8):
6772         Saturate result if addition result cannot be represented.
6774 2013-07-15  Matthias Klose  <doko@ubuntu.com>
6776         * libgcc2.c: Don't include <limits.h>.
6778 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
6780         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6782 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
6784         PR target/29776
6785         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6787 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
6789         PR middle-end/36041
6790         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6791         Define.
6792         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6793         instead of table lookups.
6794         (__popcountDI2): Likewise.
6796 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
6798         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6799         correctly.
6801 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
6803         PR other/53317
6804         * soft-fp/adddf3.c: Update from glibc.
6805         * soft-fp/addsf3.c: Likewise.
6806         * soft-fp/addtf3.c: Likewise.
6807         * soft-fp/divdf3.c: Likewise.
6808         * soft-fp/divsf3.c: Likewise.
6809         * soft-fp/divtf3.c: Likewise.
6810         * soft-fp/double.h: Likewise.
6811         * soft-fp/eqdf2.c: Likewise.
6812         * soft-fp/eqsf2.c: Likewise.
6813         * soft-fp/eqtf2.c: Likewise.
6814         * soft-fp/extenddftf2.c: Likewise.
6815         * soft-fp/extended.h: Likewise.
6816         * soft-fp/extendsfdf2.c: Likewise.
6817         * soft-fp/extendsftf2.c: Likewise.
6818         * soft-fp/fixdfdi.c: Likewise.
6819         * soft-fp/fixdfsi.c: Likewise.
6820         * soft-fp/fixsfdi.c: Likewise.
6821         * soft-fp/fixsfsi.c: Likewise.
6822         * soft-fp/fixtfdi.c: Likewise.
6823         * soft-fp/fixtfsi.c: Likewise.
6824         * soft-fp/fixunsdfdi.c: Likewise.
6825         * soft-fp/fixunsdfsi.c: Likewise.
6826         * soft-fp/fixunssfdi.c: Likewise.
6827         * soft-fp/fixunssfsi.c: Likewise.
6828         * soft-fp/fixunstfdi.c: Likewise.
6829         * soft-fp/fixunstfsi.c: Likewise.
6830         * soft-fp/floatdidf.c: Likewise.
6831         * soft-fp/floatdisf.c: Likewise.
6832         * soft-fp/floatditf.c: Likewise.
6833         * soft-fp/floatsidf.c: Likewise.
6834         * soft-fp/floatsisf.c: Likewise.
6835         * soft-fp/floatsitf.c: Likewise.
6836         * soft-fp/floatundidf.c: Likewise.
6837         * soft-fp/floatundisf.c: Likewise.
6838         * soft-fp/floatunditf.c: Likewise.
6839         * soft-fp/floatunsidf.c: Likewise.
6840         * soft-fp/floatunsisf.c: Likewise.
6841         * soft-fp/floatunsitf.c: Likewise.
6842         * soft-fp/gedf2.c: Likewise.
6843         * soft-fp/gesf2.c: Likewise.
6844         * soft-fp/getf2.c: Likewise.
6845         * soft-fp/ledf2.c: Likewise.
6846         * soft-fp/lesf2.c: Likewise.
6847         * soft-fp/letf2.c: Likewise.
6848         * soft-fp/muldf3.c: Likewise.
6849         * soft-fp/mulsf3.c: Likewise.
6850         * soft-fp/multf3.c: Likewise.
6851         * soft-fp/negdf2.c: Likewise.
6852         * soft-fp/negsf2.c: Likewise.
6853         * soft-fp/negtf2.c: Likewise.
6854         * soft-fp/op-1.h: Likewise.
6855         * soft-fp/op-2.h: Likewise.
6856         * soft-fp/op-4.h: Likewise.
6857         * soft-fp/op-8.h: Likewise.
6858         * soft-fp/op-common.h: Likewise.
6859         * soft-fp/quad.h: Likewise.
6860         * soft-fp/single.h: Likewise.
6861         * soft-fp/soft-fp.h: Likewise.
6862         * soft-fp/subdf3.c: Likewise.
6863         * soft-fp/subsf3.c: Likewise.
6864         * soft-fp/subtf3.c: Likewise.
6865         * soft-fp/truncdfsf2.c: Likewise.
6866         * soft-fp/trunctfdf2.c: Likewise.
6867         * soft-fp/trunctfsf2.c: Likewise.
6868         * soft-fp/unorddf2.c: Likewise.
6869         * soft-fp/unordsf2.c: Likewise.
6870         * soft-fp/unordtf2.c: Likewise.
6871         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6872         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6873         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6874         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6875         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6876         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6877         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6878         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6879         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6880         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6881         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6882         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6884 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
6886         * config/mips/lib2funcs.c: New file.
6887         * config/mips/t-mips (LIB2ADD_ST): Add it.
6889 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
6891         PR target/6526
6892         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6893         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
6895 2013-06-08  Walter Lee  <walt@tilera.com>
6897         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6898         Replace int64_t with long long.  Add __extension__ where
6899         appropriate.
6900         * config/tilepro/atomic.c: Include config.h.
6902 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
6904         * config.host (arm-wrs-vxworks): Configure with other soft float.
6906 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
6908         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6909         (mips64r5900el-*-elf*): New configurations.
6911 2013-06-04  Alan Modra  <amodra@gmail.com>
6913         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6915 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
6917         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6919 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
6921         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6922         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6923         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6925 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
6927         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6928         (powerpc-wrs-vxworks): Likewise.
6930 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
6932         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6933         signal frames as well.
6934         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6935         STACK_BIAS to the CFA offset.
6937 2013-05-17  Richard Henderson  <rth@redhat.com>
6939         PR target/49146
6940         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6941         (execute_cfa_program): Use it when storing to fs->regs.
6943 2013-05-08  Kai Tietz  <ktietz@redhat.com>
6945         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6946         (__deregister_frame_info): Likewise.
6948 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
6950         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6951         NaN's payload.
6953         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6955 2013-04-25  Alan Modra  <amodra@gmail.com>
6957         * config.host: Match little-endian powerpc-linux.
6959 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
6961         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6962         as 'unsigned long long' instead of 'unsigned long'.
6963         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6964         'signed long'.
6966 2013-04-10  Julian Brown  <julian@codesourcery.com>
6968         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6969         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6970         unsigned char/unsigned short.
6971         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6973 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
6975         PR other/55274
6976         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6978 2013-04-04  Meador Inge  <meadori@codesourcery.com>
6980         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6981         computing the location of the link register.
6982         (aeabi_uldivmod): Ditto.
6984 2013-03-27  Kai Tietz  <ktietz@redhat.com>
6986         * config.host: Add support for cygwin x64 target.
6987         * configure: Regenerated.
6989 2013-03-26  Walter Lee  <walt@tilera.com>
6991         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6992         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6994 2013-03-25  Kai Tietz  <ktietz@redhat.com>
6996         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6998 2013-03-20  Robert Mason  <rbmj@verizon.net>
7000         * config/vxlib-tls.c (__gthread_get_tsd_data,)
7001         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7002         (__gthread_leave_tsd_dtor_context): Add prototypes.
7003         (tls_delete_hook): Update.
7005 2013-03-20  Catherine Moore  <clm@codesourcery.com>
7006             Joseph Myers  <joseph@codesourcery.com>
7007             Chao-ying Fu  <fu@mips.com>
7009         * config/mips/mips16.S:  Don't build for microMIPS.
7010         * config/mips/linux-unwind.h: Handle microMIPS frame.
7011         * config/mips/crtn.S (fini, init): New labels.
7013 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
7015         PR tree-optimization/53265
7016         * unwind-dw2.c (execute_cfa_program): Avoid
7017         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7018         on targets with DWARF_FRAME_REGISTERS < 32.
7020 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
7022         PR target/49880
7023         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7024         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7026 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
7028         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7029         sandybridge processors.
7031 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
7033         PR target/56529
7034         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7035         inclusion list.
7037 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7039         * config/microblaze/crti.S: Setup stack protection at entry
7041 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
7043         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7044         (__rotldi3): Shift bytewise if applicable.
7046 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
7048         * config/aarch64/sync-cache.c
7049         (__aarch64_sync_cache_range): Silence warnings.
7051 2013-02-25  Catherine Moore  <clm@codesourcery.com>
7053         Revert:
7054         2013-02-24  Catherine Moore  <clm@codesourcery.com>
7055             Joseph Myers  <joseph@codesourcery.com>
7056             Chao-ying Fu  <fu@mips.com>
7058         * config/mips/mips16.S:  Don't build for microMIPS.
7059         * config/mips/linux-unwind.h: Handle microMIPS frame.
7060         * config/mips/crtn.S (fini, init): New labels.
7062 2013-02-24  Catherine Moore  <clm@codesourcery.com>
7063             Joseph Myers  <joseph@codesourcery.com>
7064             Chao-ying Fu  <fu@mips.com>
7066         * config/mips/mips16.S:  Don't build for microMIPS.
7067         * config/mips/linux-unwind.h: Handle microMIPS frame.
7068         * config/mips/crtn.S (fini, init): New labels.
7070 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7071         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7072         as dividend.
7074 2013-02-16  Alan Modra  <amodra@gmail.com>
7076         PR target/55431
7077         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7078         (ppc_fallback_frame_state): Always set up save locations for fp
7079         and altivec.  Don't bother with non-callee-saved regs, r0-r13
7080         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7082 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
7084         PR target/54222
7085         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7086         _ssmulHA, _ssmulSA.
7087         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7088         _ssmulha3, _usmulusa3, _ssmulsa3.
7089         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7090         (__muldi3): XCALL __muldi3_6 instead of rcall.
7091         (__umulsidi3, __mulsidi3): New functions.
7092         (do_prologue_saves, do_epilogue_restores): New .macros.
7093         (__divdi3_moddi3): Use them.
7094         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7095         (__usmulusa3, __ssmulsa3): New functions.
7097 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
7098             Jack Howarth  <howarth@bromo.med.uc.edu>
7099             Patrick Marlier  <patrick.marlier@gmail.com>
7101         PR libitm/55693
7102         * config/darwin-crt-tm.c: Remove dummy functions hack.
7104 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
7106         PR target/54222
7107         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7108         * config/avr/lib2-object.mk: New iterator to build objects from it.
7109         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7110         lib2funcs.c.
7111         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7112         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7113         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7114         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7115         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7116         * config/avr/lib1funcs-fixed.S: Implement them.
7118 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
7120         Update copyright years.
7122 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
7124         PR target/54601
7125         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7126         Add crtcxa to extra_parts.
7127         * config/rs6000/exit.h: New file.
7128         * config/rs6000/cxa_atexit.c: New file.
7129         * config/rs6000/cxa_finalize.c: New file.
7130         * config/rs6000/crtcxa.c: New file.
7131         * config/rs6000/t-aix-cxa: New file.
7132         * config/rs6000/libgcc-aix-cxa.ver: New file.
7134 2013-01-31  Nick Clifton  <nickc@redhat.com>
7136         * config/v850/lib1funcs.S: Add support for e3v5 architecture
7137         variant.
7139 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
7141         PR target/54222
7142         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7143         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
7144         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7145         _divQQ,  _divHQ,  _divHA,  _divSA,
7146         _divUQQ, _divUHQ, _divUHA, _divUSA.
7148 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
7150         * config.host(microblaze*-linux*): tmake_file: Remove
7151         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7152         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7153         to exclude functions from being built with libgcc.c and use
7154         the microblaze assembly.
7156 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7158         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7159         extra_parts.
7161 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
7163         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7164         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7165         __UINTPTR_TYPE__; also cast 'base' to the same type before the
7166         alignment operation.
7168 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
7170         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7171         loop start address for cache clearing.
7173 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7175         * config/avr/lib1funcs.S: Remove trailing blanks.
7176         * config/avr/lib1funcs-fixed.S: Ditto.
7178 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7180         * config/avr/avr-lib.h: Add GPL copyright notice.
7182 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7184         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7185         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7186         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7187         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7189 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
7191         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7192         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
7194 2013-01-04  Nick Clifton  <nickc@redhat.com>
7196         * config/v850/lib1funcs.S: Only provide CALLT support functions if
7197         the CALLT instruction is supported.
7199 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
7201         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7202         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7204 2012-12-13  John Tytgat  <John@bass-software.com>
7206         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7207         is 25.
7209 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
7211         PR libgcc/55451
7212         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7213         undefined signed overflows.
7215 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
7217         PR target/55344
7218         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7220 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
7222         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7223         (FP_TRAPPING_EXCEPTIONS): Define.
7224         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7225         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7227 2012-12-04  Richard Henderson  <rth@redhat.com>
7229         PR bootstrap/55571
7230         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7232 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7234         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
7235         (FP_EX_SHIFT): Define.
7236         (FP_TRAPPING_EXCEPTIONS): Define.
7238 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7240         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7241         (FP_ROUNDMODE): Use FP_RND_MASK.
7242         * config/aarch64/sfp-exceptions.c: New.
7243         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7244         Use __sfp_handle_exceptions.
7246 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
7248         * config.host: (arm*-*-freebsd*): Remove.
7249         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7250         (arm*-*-elf*): Remove.
7251         (arm*-*-wince-pe*): Remove.
7252         * arm/unwind-arm.c (struct fpa_reg): Delete.
7253         (struct fpa_regs): Delete.
7254         (phase1_vrs): Remove fpa element.
7255         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7256         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7257         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7258         * ieee754-sf.S (floatundisf): Remove FPA support.
7259         (floatdisf): Likewise.
7260         * ieee75f-df.S (floatundidf): Likewise.
7261         (floatdidf): Likewise.
7263 2012-11-29  Kai Tietz  <ktietz@redhat.com>
7265         PR target/55445
7266         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7267         * unwind-generic.h: Likewise.
7268         * unwind-seh.c: Likewise.
7270 2012-11-28  Richard Henderson  <rth@redhat.com>
7272         PR libgcc/48076
7273         * emutls.c (__emutls_get_address): Avoid race condition between
7274         obj->loc.offset read and emutls_key initialization.
7276 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
7278         Adjust decimal point of signed accum mode to GCC default.
7280         PR target/54222
7281         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7282         _divqq_helper.
7283         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7284         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7285         (__mulha3, __mulsa3)
7286         (__divqq3, __divha3, __divsa3): Adjust to new position of
7287         decimal point of signed accum types.
7289         (__mulusa3_round): New function.
7290         (__mulusa3): Use it.
7291         (__divqq_helper): New function.
7292         (__udivuqq3): Use it.
7294 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
7296         PR bootstrap/55370
7297         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7299 2012-11-18  Teresa Johnson  <tejohnson@google.com>
7301         PR bootstrap/55051
7302         * libgcov.c (gcov_exit): Remove merged program summary
7303         comparison unless !GCOV_LOCKED.
7305 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7307         * soft-fp: Updated from glibc upstream.
7309 2012-11-06  Ian Lance Taylor  <iant@google.com>
7311         * generic-morestack.c (__generic_morestack): Align the returned
7312         stack pointer to a 32 byte boundary.
7313         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7314         increment the return address until we have decided that we don't
7315         have a varargs function.
7316         (__morestack) [32-bit]: Align stack correctly when calling C
7317         functions.
7318         (__morestack) [64-bit]: Likewise.
7320 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
7322         * configure: Regenerate.
7324 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
7326         PR target/55175
7327         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7328         * config/i386/sfp-machine.h: Guard exception handling
7329         code with _SOFT_FLOAT.
7330         * config/i386/32/sfp-machine.h: Guard rounding handling
7331         code with _SOFT_FLOAT.
7332         * config/i386/64/sfp-machine.h: Ditto.
7334 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
7336         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7337         as extra_parts.
7339 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
7341         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7342         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
7343         when appropriate.  Correct structure element types.
7344         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7345         -minline-all-stringops from compile flags.
7347 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
7349         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7351 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
7353         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
7355 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
7357         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7358         tmake_file.
7360 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
7361             Jim MacArthur  <jim.macarthur@arm.com>
7362             Marcus Shawcroft  <marcus.shawcroft@arm.com>
7363             Nigel Stephens  <nigel.stephens@arm.com>
7364             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
7365             Richard Earnshaw  <rearnsha@arm.com>
7366             Sofiane Naci  <sofiane.naci@arm.com>
7367             Stephen Thomas  <stephen.thomas@arm.com>
7368             Tejas Belagod  <tejas.belagod@arm.com>
7369             Yufeng Zhang  <yufeng.zhang@arm.com>
7371         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7372         * config/aarch64/crti.S: New file.
7373         * config/aarch64/crtn.S: New file.
7374         * config/aarch64/linux-unwind.h: New file.
7375         * config/aarch64/sfp-machine.h: New file.
7376         * config/aarch64/sync-cache.c: New file.
7377         * config/aarch64/t-aarch64: New file.
7378         * config/aarch64/t-softfp: New file.
7380 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
7382         * config/mmix/crti.S: Mark program and data addresses using PRELD.
7383         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
7384         no-longer-needed LDBU insns.
7386 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
7388         * config.host
7389         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7390         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7392 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
7394         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7396 2012-10-15  Matthias Klose  <doko@ubuntu.com>
7398         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7400 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
7402         * configure: Regenerate.
7403         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7405 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
7407         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7408         instructions for 64bit targets only.
7410 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
7412         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7413         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7414         * config/i386/32/sfp-machine.h: ... here.
7415         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7416         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7417         New defines.
7419 2012-10-07  Matthias Klose  <doko@ubuntu.com>
7421         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7422         as unused.
7423         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7425 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
7427         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7428         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7429         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7430         (ElfW): Likewise.
7432 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
7434         PR other/53889
7435         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7436         Fix parameter names.
7438 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
7440         PR target/33135
7441         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7442         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7443         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7445 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
7447         PR target/50457
7448         * config/sh/linux-atomic.S: Delete.
7449         * config/sh/linux-atomic.c: New.
7450         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7451         linux-atomic.c.  Add cflags to disable warnings.
7453 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
7455         PR other/53889
7456         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7457         function.
7458         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7459         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7460         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7461         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
7462         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7463         Likewise.
7464         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7465         Likewise.
7466         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7467         Likewise.
7468         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7469         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7471 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
7473         * config.host (hppa-*-openbsd*): New target.
7474         * config/pa/t-openbsd: New file.
7476 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
7478         PR target/54222
7479         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7480         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7481         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7482         (__divsa3): Use __negsi2 to negate r_quoL.
7483         * config/avr/lib1funcs.S (FALIAS): New macro.
7484         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7485         (__negsi2): ...this new function.
7486         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7487         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7488         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7489         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7490         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7491         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7493 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
7495         PR target/54089
7496         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7497         (lshrsi3): Reimplement as lshrsi3_r0.
7499 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
7501         PR target/46191
7502         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7503         of libgcc.a.
7505 2012-09-07  Teresa Johnson  <tejohnson@google.com>
7507         PR gcov-profile/54487
7508         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
7509         differences.
7511 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
7513         PR target/54461
7514         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7515         not configured --with-avrlibc=no.
7516         * config/avr/t-avrlibc: New file.
7517         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7518         (DPBIT_FUNCS): Ditto.
7519         (TPBIT_FUNCS): Ditto.
7521 2012-09-04  Teresa Johnson  <tejohnson@google.com>
7523         * libgcov.c (struct gcov_summary_buffer): New structure.
7524         (gcov_histogram_insert): New function.
7525         (gcov_compute_histogram): Ditto.
7526         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7527         histograms during summary merging.
7529 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
7531         * config.host (x86_64-*-openbsd*): New target.
7533 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
7535         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7536         attribute.
7538 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
7540         PR target/54222
7541         * config/avr/t-avr (conv_X): Rename to func_X.
7543 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
7545         PR target/54222
7546         * config/avr/lib1funcs-fixed.S: New file.
7547         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
7548         after they are used.
7549         (neg2, neg4): New macros.
7550         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7551         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7552         (__umulhisi3): Speed up MUL variant if there is enough flash.
7553         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7554         avr-modes.def.
7555         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7556         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7557         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7558         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7559         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7560         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7561         (LIB2FUNCS_EXCLUDE): Add supported functions.
7563 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
7565         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7566         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7567         libgcc-s-objects.
7568         * fixed-obj.mk: Only expand dependency if $o is not in
7569         LIB2FUNCS_EXCLUDE.
7571 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
7573         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7575 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
7577         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7578         depend on --enable-shared.
7579         ($(lib1asmfuncs-o)): Use %.vis files independent of
7580         --enable-shared.
7581         * static-object.mk ($(base)$(objext), $(base).vis)
7582         ($(base)_s$(objext)): Use same rules for visibility handling as in
7583         shared-object.mk.
7585 2012-08-21  Ian Lance Taylor  <iant@google.com>
7587         * config/i386/morestack.S (__morestack_non_split): Increase amount
7588         of space allocated for non-split code stack.
7590 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
7592         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7593         even if inhibit_libc.
7595 2012-08-17  Julian Brown  <julian@codesourcery.com>
7597         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7598         -fexceptions -fnon-call-exceptions if not defined.
7599         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7600         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7602 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
7604         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7605         type.
7607 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
7609         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7610         rs6000/t-slibgcc-aix.
7612 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
7614         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7616 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
7618         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7620 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
7622         PR driver/54171
7623         * Makefile.in (version): Replace top_srcdir with srcdir.
7625 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
7627         * Makefile.in (version): set to BASE-VER file from gcc directory.
7629 2012-08-01  Nick Clifton  <nickc@redhat.com>
7631         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7632         Implements __clrsb for an HImode argument.
7634 2012-07-31  Nick Clifton  <nickc@redhat.com>
7636         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7637         Implements __clrsb for an HImode argument.
7638         * config/stormy16/clrsbhi2.c: New file:
7639         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7641 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
7643         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7645 2012-07-19  Tristan Gingold  <gingold@adacore.com>
7646             Richard Henderson  <rth@redhat.com>
7648         * unwind-seh.c: New file.
7649         * unwind-generic.h: Include windows.h for SEH.
7650         (_Unwind_Exception): Use 6 private fields for SEH.
7651         (_GCC_specific_handler): Declare.
7652         * unwind-c.c (__gcc_personality_seh0): New function.
7653         Adjust for SEH.
7654         * config/i386/libgcc-cygming.ver: New file.
7655         * config/i386/t-seh-eh: New file.
7656         * config.host (x86_64-*-mingw*): Default to seh.
7658 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
7660         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7662 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
7664         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7665         __builtin_expect when checking for exceptions.
7666         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7668 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
7670         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7671         function declaration.
7672         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7673         (FP_RND_MASK): New.
7674         * config/ia64/sfp-exceptions.c: New.
7675         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7677 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
7679         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7680         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7681         * config/i386/64/sfp-machine: ... (delete here) ...
7682         * config/i386/sfp-machine.h: ... to here.
7683         (FP_EX_MASK): Remove.
7684         (FP_RND_MASK): New.
7685         (FP_INIT_ROUNDMODE): Declare asm as volatile.
7687 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
7689         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7690         * config/i386/libgcc-sol2.ver: Ditto.
7691         * config/i386/libgcc-glibc.ver: Ditto.
7693 2012-06-11  Roland McGrath  <mcgrathr@google.com>
7695         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7696         If __GLIBC__ is defined, refer to __pthread_key_create instead of
7697         pthread_cancel.
7699 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
7701         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7702         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7703         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7704         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7705         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7706         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7707         * config/i386/64/sfp-machine: ... (delete here) ...
7708         * config/i386/sfp-machine.h: ... to here.
7709         (FP_EX_MASK): New.
7710         (__sfp_handle_exceptions): New function declaration.
7711         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7712         * config/i386/sfp-exceptions.c: New.
7713         * config/i386/t-softfp: New.
7714         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7715         i386/t-softfp to tmake_file.
7717 2012-06-03  David S. Miller  <davem@davemloft.net>
7719         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7720         change.
7722 2012-05-31  David S. Miller  <davem@davemloft.net>
7724         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7725         multiply and divide instructions on 32-bit when V9.
7726         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7728 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
7730         * config/arm/ieee754-df.S: Fix typos.
7731         * config/arm/ieee754-sf.S: Fix typos.
7732         * config/c6x/libunwind.S: Fix typos.
7733         * config/epiphany/udivsi3-float.c: Fix typos.
7734         * config/microblaze/muldi3_hard.S: Fix typos.
7735         * config/picochip/adddi3.S: Fix typos.
7736         * config/picochip/ashlsi3.S: Fix typos.
7737         * config/picochip/ashrsi3.S: Fix typos.
7738         * config/picochip/clzsi2.S: Fix typos.
7739         * config/picochip/cmpsi2.S: Fix typos.
7740         * config/picochip/divmod15.S: Fix typos.
7741         * config/picochip/divmodhi4.S: Fix typos.
7742         * config/picochip/divmodsi4.S: Fix typos.
7743         * config/picochip/longjmp.S: Fix typos.
7744         * config/picochip/lshrsi3.S: Fix typos.
7745         * config/picochip/parityhi2.S: Fix typos.
7746         * config/picochip/popcounthi2.S: Fix typos.
7747         * config/picochip/setjmp.S: Fix typos.
7748         * config/picochip/subdi3.S: Fix typos.
7749         * config/picochip/ucmpsi2.S: Fix typos.
7750         * config/picochip/udivmodhi4.S: Fix typos.
7751         * config/picochip/udivmodsi4.S: Fix typos.
7752         * config/spu/divv2df3.c: Fix typos.
7753         * config/spu/mfc_multi_tag_release.c: Fix typos.
7754         * config/spu/mfc_tag_release.c: Fix typos.
7755         * configure.ac: Fix typos.
7756         * configure: Regenerate.
7758 2012-05-25  Ian Lance Taylor  <iant@google.com>
7760         * config/i386/morestack.S (__morestack_non_split): Check whether
7761         caller is varargs and needs %bp to hold the stack frame on return.
7763 2012-05-25  Olivier Hainque  <hainque@adacore.com>
7765         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7766         sequence in the non pic case on VxWorks.
7768 2012-05-24  Olivier Hainque  <hainque@adacore.com>
7770         * Makefile.in: Move dependency on install-unwind_h from
7771         "install-leaf" to "install".
7773 2012-05-24  Olivier Hainque  <hainque@adacore.com>
7775         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7776         Use a separate command for stamp removals.
7778 2012-05-21  Andrew Pinski  <apinski@cavium.com>
7780         PR bootstrap/53183
7781         * configure.ac: Define the default includes to being none.
7782         * configure: Regenerate.
7784 2012-05-16  Olivier Hainque  <hainque@adacore.com>
7786         * Makefile.in (install-unwind_h): Rename into ...
7787         (install-unwind_h-forbuild): New target.
7788         (all): Use it instead of the former install-unwind_h.
7789         (install-unwind_h): Reinstate, copy to user install destination
7790         for include files, not to the internal gcc object directory one.
7791         (install-leaf): Depend on it.
7793 2012-05-15  Olivier Hainque  <hainque@adacore.com>
7795         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7796         register numbers. LR_REGNO replaces R_LR.
7797         (ucontext_for): New, helper for ...
7798         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7799         and 5.3 of ...
7800         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7802 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7804         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7805         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7806         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7807         i386/t-cpuinfo ...
7808         (i[34567]86-*-*, x86_64-*-*): ... here.
7810         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7811         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7813         * config/i386/i386-cpuinfo.c: Rename to ...
7814         * config/i386/cpuinfo.c: ... this.
7815         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7817         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7818         (libgcc_cv_init_priority): New test.
7819         * configure: Regenerate.
7820         * config.in: New file.
7821         * Makefile.in (clean): Rename config.h to auto-target.h.
7822         (config.h): Likewise.
7823         (stamp-h): Likewise.
7825         * config/i386/cpuinfo.c (auto-target.h): Include.
7826         (CONSTRUCTOR_PRIORITY): Define.
7827         (__cpu_indicator_init): Use it.
7829 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
7831         * longlong.h: Use a URL instead of an FSF postal address.
7832         Replace spaces with tab.
7834 2012-05-08  Teresa Johnson  <tejohnson@google.com>
7836         * libgcov.c (gcov_clear, __gcov_reset): New functions.
7837         (__gcov_dump): Ditto.
7838         (gcov_dump_complete): New global variable.
7839         (gcov_exit): Export hidden to enable use in L_gcov_dump.
7840         (__gcov_flush): Outline functionality now in gcov_clear.
7841         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7843 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
7845         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7846         (mips*-*-linux*): Include mips/t-tpbit when long double is
7847         16 bytes long.
7849 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
7851         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7852         (get_available_features): New argument. Check for AVX2.
7853         (__cpu_indicator_init): Modify call to get_available_features.
7855 2012-04-25  Alan Modra  <amodra@gmail.com>
7857         * config/rs6000/crtsavevr.S: New file.
7858         * config/rs6000/crtrestvr.S: New file.
7859         * config/rs6000/t-savresfgpr: Build the above.
7860         * config/rs6000/t-netbsd: Likewise.
7862 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
7864         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7866 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
7868         * libgcc/config/i386/i386-cpuinfo.c: New file.
7869         * libgcc/config/i386/t-cpuinfo: New file.
7870         * libgcc/config.host: Include t-cpuinfo.
7871         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7873 2012-04-24  Chao-ying Fu  <fu@mips.com>
7875         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7877 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
7879         struct siginfo vs. siginfo_t
7881         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7882         siginfo_t instead of struct siginfo.
7883         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7884         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7885         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7886         (ia64_handle_unwabi): Likewise.
7887         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7888         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7889         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7890         (sh_fallback_frame_state): Likewise.
7891         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7892         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7894 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
7896         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7897         system call number.
7899 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
7901         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7902         if it hasn't been previously saved.
7904 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
7906         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7907         only for glibc.
7909 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
7911         PR target/52737
7912         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7913         instead of __AVR_HAVE_8BIT_SP__.
7915 2012-03-26  Tristan Gingold  <gingold@adacore.com>
7917         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7918         (unw_table_entry): Use unw_word instead of unsigned long.
7919         (_Unwind_FindTableEntry): Likewise.
7920         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7921         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7922         (_Unwind_FindTableEntry): Likewise.
7923         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7924         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7925         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7926         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7927         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7928         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7929         (uw_init_context_1, uw_install_context): Likewise.
7930         (unw_word): Move to unwind-ia64.h
7932 2012-03-26  Tristan Gingold  <gingold@adacore.com>
7934         * config/vms/vms-ucrt0.c: Update copyright years.
7935         Add a sanity check.
7936         (___gcc_main_flags): Declare.
7937         (__main): Check flags to remap argv and exit code.
7938         * config.host (*-*-*vms*): Adjust extra_parts.
7939         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7940         (crt0.o): Add.
7942 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
7944         * arm/lib1funcs.asm (ctzsi2): New function.
7945         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7946         * arm/t-linux (LIB1ASMFUNCS): Likewise.
7947         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7948         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7949         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7950         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7952 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
7954         * config.host: Add bits to support powerpc64-*-freebsd*.
7955         * config/rs6000/freebsd-unwind.h: New file.
7956         * config/rs6000/t-freebsd64: New file.
7958 2012-03-20  Richard Guenther  <rguenther@suse.de>
7960         PR gcov-profile/52627
7961         * libgcov.c (init_mx): Fix mutex name.
7963 2012-03-16  Tristan Gingold  <gingold@adacore.com>
7965         * config/ia64/vms-unwind.h: Remove ulong (and replace
7966         it by unw_reg where used).  Define unw_reg with __int64.
7968 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7970         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7971         Solaris 8 handling.
7972         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7973         Solaris 8 handling.
7974         (sparc_is_sighandler): Likewise.
7976 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
7978         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7979         <= saved reg size.
7981 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7983         * config/arm/crtn.S: Fix typo.
7985 2012-03-13  Richard Guenther  <rguenther@suse.de>
7987         * libgcov.c: Remove stdio.h include and NULL un-define.
7989 2012-03-13  Richard Guenther  <rguenther@suse.de>
7991         PR target/52569
7992         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7994 2012-03-13  Richard Guenther  <rguenther@suse.de>
7996         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7998 2012-03-13  Richard Guenther  <rguenther@suse.de>
8000         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8001         and __gthread_mutex_init_function definitions.
8003 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8005         * config.host (mips*-*-openbsd*): Remove.
8007 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8009         * config.host: Remove alpha*-dec-osf5.1* handling.
8010         * config/alpha/gthr-posix.c: Remove.
8011         * config/alpha/libgcc-osf5.ver: Remove.
8012         * config/alpha/osf5-unwind.h: Remove.
8013         * config/alpha/t-osf-pthread: Remove.
8014         * config/alpha/t-slibgcc-osf: Remove.
8015         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8016         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8017         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8018         * mkmap-flat.awk: Remove osf_export handling.
8020 2012-03-12  Richard Guenther  <rguenther@suse.de>
8022         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8023         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8024         (__gthread_mutex_init_function): New function.
8025         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8027         PR gcov/49484
8028         * libgcov.c: Include gthr.h.
8029         (__gcov_flush_mx): New global variable.
8030         (init_mx, init_mx_once): New functions.
8031         (__gcov_flush): Protect self with a mutex.
8032         (__gcov_fork): Re-initialize mutex after forking.
8033         * unwind-dw2-fde.c: Change condition under which to use
8034         __GTHREAD_MUTEX_INIT_FUNCTION.
8036 2012-03-12  Tristan Gingold  <gingold@adacore.com>
8038         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8039         * config/ia64/t-vms: Likewise.
8041 2012-03-11  Michael Hope  <michael.hope@linaro.org>
8043         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8044         for Thumb-2.
8046 2012-03-07  Walter Lee  <walt@tilera.com>
8048         * config/tilepro/atomic.c: Rename "atomic_" prefix to
8049         "arch_atomic_".
8050         (atomic_xor): Rename and move definition to
8051         config/tilepro/atomic.h.
8052         (atomic_nand): Ditto.
8053         * config/tilepro/atomic.h: Rename "atomic_" prefix to
8054         "arch_atomic_".
8055         (arch_atomic_xor): Move from config/tilepro/atomic.c.
8056         (arch_atomic_nand): Ditto.
8058 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8060         PR target/52507
8061         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8063 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8065         PR target/52505
8066         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8067         from RAM.
8069 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8071         PR target/52461
8072         PR target/52508
8073         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8074         if RAMPZ affects reading from RAM.
8075         (__tablejump_elpm__): Ditto.
8076         (.xload): Ditto.
8077         (__movmemx_hi): Ditto.
8078         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8079         (__do_global_dtors): Ditto.
8080         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8081         (__movmemx_hi): Ditto.
8083 2012-03-05  Richard Henderson  <rth@redhat.com>
8085         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8086         [ARM] (count_trailing_zeros): Use the builtin.
8088 2012-03-01  Kai Tietz  <ktietz@redhat.com>
8090         * soft-fp: Imported from glibc upstream.
8092 2012-02-28  Kai Tietz  <ktietz@redhat.com>
8094         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8095         for mingw-targets as attribute gcc_struct.
8097 2012-02-28  Ian Lance Taylor  <iant@google.com>
8099         * generic-morestack.c (__splitstack_releasecontext): Correct call
8100         to __morestack_release_segments.
8102 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8104         PR target/52390
8105         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8106         for __linux__ when removing signals from __morestack_fullmask.
8108 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
8110         PR target/52261
8111         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8113 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8115         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8116         instead of HAVE_INITFINI_ARRAY.
8117         * config/ia64/crtend.S: Likewise.
8119 2012-02-20  Kai Tietz  <ktietz@redhat.com>
8121         PR libstdc++/52300
8122         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8124         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8125         to w32-unwind.h header.
8127 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
8129         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8130         (mips*-*-linux*): Remove t-slibgcc-libgcc.
8131         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8132         * config/mips/mips16.S (__mips16_rdhwr): Delete.
8134 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
8136         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8138 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8140         PR libitm/52220
8141         * config/darwin-crt-tm.c: Correct typo.
8143 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8144             Patrick Marlier  <patrick.marlier@gmail.com>
8146         PR libitm/52220
8147         * config/darwin-crt-tm.c: Generate dummy functions.
8149 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8150             Patrick Marlier  <patrick.marlier@gmail.com>
8152         PR libitm/52042
8153         * config/darwin-crt-tm.c (getTMCloneTable): New function.
8154         (__doTMRegistrations): Call it.
8155         (__doTMdeRegistrations): Likewise.
8157 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
8158             Anatoly Sokolov  <aesok@post.ru>
8159             Eric Weddington  <eric.weddington@atmel.com>
8161         PR target/52261
8162         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8163         (__epilogue_restores__): Ditto.
8165 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
8167         PR target/51921
8168         PR target/52205
8169         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8170         Solaris 11 and slightly reformat.
8171         (sparc_is_sighandler): Likewise.
8173 2012-02-14  Walter Lee  <walt@tilera.com>
8175         * config.host: Handle tilegx and tilepro.
8176         * config/tilegx/sfp-machine.h: New file.
8177         * config/tilegx/sfp-machine32.h: New file.
8178         * config/tilegx/sfp-machine64.h: New file.
8179         * config/tilegx/t-crtstuff: New file.
8180         * config/tilegx/t-softfp: New file.
8181         * config/tilegx/t-tilegx: New file.
8182         * config/tilepro/atomic.c: New file.
8183         * config/tilepro/atomic.h: New file.
8184         * config/tilepro/linux-unwind.h: New file.
8185         * config/tilepro/sfp-machine.h: New file.
8186         * config/tilepro/softdivide.c: New file.
8187         * config/tilepro/softmpy.S: New file.
8188         * config/tilepro/t-crtstuff: New file.
8189         * config/tilepro/t-tilepro: New file.
8191 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
8193         PR libstdc++/51296
8194         PR libstdc++/51906
8195         * gthr-posix.h: Allow static initializer macros to be disabled.
8196         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8198 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
8200         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8201         Add t-slibgcc-libgcc to tmake_file.
8202         * config/mips/libgcc-mips16.ver: Revert previous patch.
8203         * config/mips/mips16.S (__mips16_rdhwr): Hide.
8205 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
8206             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
8208         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8209         * config/cr16/crti.S: New file.
8210         * config/cr16/crtlibid.S: New file.
8211         * config/cr16/crtn.S: New file.
8212         * config/cr16/lib1funcs.S: New file.
8213         * config/cr16/t-cr16: New file.
8214         * config/cr16/t-crtlibid: New file.
8215         * config/cr16/unwind-dw2.h: New file.
8216         * config/cr16/unwind-cr16.c: New file.
8217         * config/cr16/divmodhi3.c: New file.
8219 2012-01-25  Alan Modra  <amodra@gmail.com>
8221         * config/rs6000/t-linux64: Delete.  Move..
8222         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8223         * config/rs6000/t-linux: ..and libgcc flags to here.
8225 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
8227         * config.host (i[34567]86-*-interix3*):
8228         Change triplet to i[34567]86-*-interix[3-9]*.
8229         * configure: Regenerate.
8231 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
8232             Richard Sandiford  <rdsandiford@googlemail.com>
8234         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8235         * config/mips/mips16.S (__mips16_rdhwr): New function.
8236         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8238 2012-01-11  Nathan Sidwell  <nathan@acm.org>
8240         * libgcov.c (__gcov_init): Ignore objects with no functions.
8242 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
8244         PR target/49868
8245         Extend __pgmx semantics to linearize memory.
8246         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8247         * config/avr/lib1funcs.S (__xload_1): New function.
8248         (__movmemx_qi, __movmemx_hi): New functions.
8249         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8250         semantics.
8252 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
8254         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8255         purported sigacthandler address isn't null before dereferencing it.
8256         (sparc_is_sighandler): Likewise.
8258 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
8260         PR ada/41929
8261         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8262         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
8263         (sparc_is_sighandler): Likewise.
8264         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8266 2012-01-06  Tristan Gingold  <gingold@adacore.com>
8268         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8269         compatibility thunks...
8270         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8271         (crtbeginS.o, crtendS.o): ... and these to ...
8272         * config/ia64/t-ia64-elf: ... this new file.
8273         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8274         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8276 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8278         * configure: Regenerate.
8279         * config/s390/t-crtstuff: Remove -fPIC.
8281 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
8283         PR bootstrap/51006
8284         * enable-execute-stack-mprotect.c (getpagesize): Do not define
8285         for NetBSD.
8287 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
8289         PR target/51345
8290         * config/avr/lib1funcs.S: Remove FIXME comments.
8291         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8293 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
8295         Implement light-weight DImode support.
8296         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8297         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8298         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8299         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8301 2011-12-30  Nathan Sidwell  <nathan@acm.org>
8303         * libgcov.c (gcov_crc32): Remove global var.
8304         (free_fn_data): New function.
8305         (buffer_fn_data): Pass in filename, more robust error recovery.
8306         (crc32_unsigned): New function.
8307         (gcov_exit): More robust detection of new program. More robust
8308         error recovery.
8309         (__gcov_init): Do not update program's crc here.
8311 2011-12-21  Tristan Gingold  <gingold@adacore.com>
8313         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8315 2011-12-21  Ian Lance Taylor  <iant@google.com>
8317         * config/i386/morestack.S: Simplify CFI opcodes throughout.
8319 2011-12-20  Ian Lance Taylor  <iant@google.com>
8321         * config/i386/morestack.S (__morestack_non_split): If there is
8322         enough stack space already, don't split.  Ask for more stack space
8323         than we required.
8325 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
8327         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8328         `sys/sdt.h'.
8329         (_Unwind_DebugHook): New function.
8330         (uw_restore_core_regs): New define.
8331         (unwind_phase2): Use uw_restore_core_regs instead of
8332         restore_core_regs.
8333         (unwind_phase2_forced): Likewise.
8334         (__gnu_Unwind_Resume): Likewise.
8336 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
8338         * config/alpha/linux-unwind.h: Update copyright years.
8339         (MD_FROB_UPDATE_CONTEXT): New define.
8340         (alpha_frob_update_context): New function.
8342 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
8344         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8345         tmake_file rather replacing it.
8347 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
8349         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
8350         function is not used for PPC64.
8351         (save_world): Amend comments.  Update the VRsave mask to reflect the
8352         saved regs.
8353         (rest_world): Update comments, do not  clobber r10, do not use r8.
8354         (eh_rest_world_r10): Amend comments, do not use r8.
8355         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8356         no longer used, move restore of CR and target address to the end of
8357         the routine.
8359 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
8361         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8362         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8364 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
8366         PR target/49313
8367         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8368         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8370 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
8372         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8374 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
8376         PR target/49313
8377         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8378         * config/avr/lib1funcs.S (__muldi3): New function.
8380 2011-12-06  Andrew Pinski  <apinski@cavium.com>
8382         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8383         size of func_ptr.
8384         (__frame_dummy_init_array_entry): Likewise.
8386 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
8388         Forward-port from gcc-4_6-branch r181936 2011-12-02.
8390         PR target/51345
8391         PR target/51002
8392         * config/avr/lib1funcs.S (__prologue_saves__,
8393         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8394         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
8396 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
8398         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8400 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8402         PR other/51272
8403         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8404         (_ITM_deregisterTMCloneTable): Likewise.
8405         (__register_frame_info): Fix unused warning.
8406         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8407         pthread_default_stacksize_np): Likewise.
8408         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
8410 2011-11-29  DJ Delorie  <dj@redhat.com>
8412         * config.host (rl78-*-elf): New case.
8413         * config/rl78: New directory for the Renesas RL78.
8415 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
8417         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
8418         formatting.
8420 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8422         PR other/51022
8423         * config/rs6000/t-savresfgpr: New file.
8424         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8425         $(srcdir)/config/rs6000/eabi.S.
8426         * config/rs6000/t-ppccomm-ldbl: Remove.
8427         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8428         tmake_file.
8429         (powerpc-*-eabispe*): Likewise.
8430         (powerpc-*-eabi*): Likewise.
8431         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8432         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8433         to tmake_file, remove rs6000/t-ppccomm-ldbl.
8434         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8435         tmake_file.
8436         (powerpc-*-eabisim*): Likewise.
8437         (powerpc-*-elf*): Likewise.
8438         (powerpc-*-eabialtivec*): Likewise.
8439         (powerpc-xilinx-eabi*): Likewise.
8440         (powerpc-*-rtems*): Likewise.
8441         (powerpcle-*-elf*): Likewise.
8442         (powerpcle-*-eabisim*): Likewise.
8443         (powerpcle-*-eabi*): Likewise.
8445 2011-11-27  Ian Lance Taylor  <iant@google.com>
8447         * generic-morestack.c (__splitstack_find): Check for NULL old
8448         stack value.
8449         (__splitstack_resetcontext): New function.
8450         (__splitstack_releasecontext): New function.
8451         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8453 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
8455         * config/darwin-crt-tm.c: Correct comments, use correct licence.
8457 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
8459         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8461 2011-11-26  Richard Henderson  <rth@redhat.com>
8463         * config/m68k/linux-atomic.c: New file.
8464         * config/m68k/t-linux: New file.
8465         * config.host (m68k-uclinux, m68k-linux): Use it.
8467 2011-11-26  Richard Henderson  <rth@redhat.com>
8469         * crtstuff.c (__TMC_LIST__): Mark used not unused.
8470         (__TMC_END__): Only declare if hidden is available; in the definition,
8471         if hidden is unavailable add a null record.
8472         (deregister_tm_clones, register_tm_clones): New.
8473         (__do_global_dtors_aux, frame_dummy): Use them.
8474         (__do_global_dtors, __do_global_ctors_1): Likewise.
8476 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
8478         * config/darwin-crt-tm.c: New file.
8479         * config.host (darwin): Build crttms.o crttme.o to provide
8480         startup and shutdown for tm clones.
8481         * config/t-darwin (crttms.o): New build rule.
8482         (crttme.o): Likewise.
8484 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
8486         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8487         et al.
8489 2011-11-21  Richard Henderson  <rth@redhat.com>
8491         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8492         (__TMC_LIST__, __TMC_END__): New.
8493         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8494         (__do_global_dtors): Likewise.
8495         (frame_dummy): Call _ITM_registerTMCloneTable.
8496         (__do_global_ctors_1): Likewise.
8498 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8500         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8501         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8502         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8503         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8504         * config/i386/t-darwin64: Remove.
8505         * config/sh/t-netbsd (LIB2ADD): Remove.
8507 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
8509         PR target/49313
8510         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8511         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8512         * config/avr/lib1funcs.S (wmov): New assembler macro.
8513         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8514         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8515         (__udivmod64): New function.
8516         (__negdi2): New function.
8518 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
8520         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8521         *-*-freebsd*aout*): Remove.
8523 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
8525         * static-object.mk (c_flags-$o): Save c_flags.
8526         ($(base)$(objext)): Use it.
8528 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
8530         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8532 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
8534         PR target/49868
8535         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8536         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8537         New functions.
8539 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
8541         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8542         functions.
8543         (aeabi_uidivmod): Likewise.
8544         (umodsi3): Likewise.
8545         (divsi3): Likewise.
8546         (aeabi_idivmod): Likewise.
8547         (modsi3): Likewise.
8549 2011-11-16  Tristan Gingold  <gingold@adacore.com>
8551         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8553 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
8555         PR target/49868
8556         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
8557         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8559 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8561         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8562         tmake_file list.
8563         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8564         * config/pa/t-stublib64: Delete.
8566 2011-11-12  Richard Henderson  <rth@redhat.com>
8568         * config/rs6000/linux-unwind.h (frob_update_context): Properly
8569         cast the pointer argument to _Unwind_SetGRPtr.
8571 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8573         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8575 2011-11-09  Ian Lance Taylor  <iant@google.com>
8577         * generic-morestack.c: Include <string.h>.
8578         (uintptr_type): Define.
8579         (struct initial_sp): Add dont_block_signals field.  Reduce size of
8580         extra array by 1.
8581         (allocate_segment): Set prev field to NULL.  Don't set
8582         __morestack_current_segment or __morestack_segments.
8583         (__generic_morestack): Update current->prev and *pp after calling
8584         allocate_segment.
8585         (__morestack_block_signals): Don't do anything if
8586         dont_block_signals is set.
8587         (__morestack_unblock_signals): Likewise.
8588         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
8589         uintptr_type.
8590         (__splitstack_block_signals): New function.
8591         (enum __splitstack_content_offsets): Define.
8592         (__splitstack_getcontext, __splitstack_setcontext): New functions.
8593         (__splitstack_makecontext): New function.
8594         (__splitstack_block_signals_context): New function.
8595         (__splitstack_find_context): New function.
8596         * config/i386/morestack.S (__morestack_get_guard): New function.
8597         (__morestack_set_guard, __morestack_make_guard): New functions.
8598         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8600 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8602         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8603         (i[34567]86-*-mingw*): ... here.
8604         (x86_64-*-mingw*): ... here.
8606 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8608         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8610 2011-11-07  Nathan Sidwell  <nathan@acm.org>
8612         * libgcov.c (struct gcov_fn_buffer): New struct.
8613         (buffer_fn_data): New helper.
8614         (gcov_exit): Rework for new gcov data structures.
8616 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
8618         PR target/49313
8619         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8621 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8623         * config.host (tmake_file): Correct comment.
8624         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8625         t-libgcc-pic.
8626         (bfin*-uclinux*): Likewise.
8627         (bfin*-linux-uclibc*): Likewise.
8628         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8630         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8631         assigning.
8632         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8633         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8634         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8635         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8636         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8637         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8638         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8639         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8640         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8641         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8642         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8643         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8644         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8646         * config/bfin/t-elf: Remove.
8647         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8649 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8651         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8652         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8653         (lm32-*-elf*, lm32-*-rtems*): Split into ...
8654         (lm32-*-elf*): ... this.
8655         (lm32-*-rtems*): ... and this.
8656         Add to tmake_file.
8657         (m32r-*-rtems*): Add to tmake_file.
8658         (moxie-*-rtems*): Likewise.
8659         (sparc-*-rtems*): Likewise.
8660         Remove t-rtems from tmake_file.
8661         (sparc64-*-rtems*): Likewise.
8662         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8663         instead.
8665 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8667         PR bootstrap/50982
8668         * config/gthr-posix.h: Move ...
8669         * gthr-posix.h: ... here.
8670         * config/gthr-lynx.h: Reflect this.
8671         * config/gthr-vxworks.h: Likewise.
8672         * config/rs6000/gthr-aix.h: Likewise.
8673         * configure.ac (target_thread_file): Likewise.
8674         * configure: Regenerate.
8676 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8678         * config.host (arm*-*-rtemseabi*): New target.
8680 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
8682         PR other/50991
8683         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8684         extra-parts.
8686 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
8688         * config.host (epiphany-*-elf*): New configuration.
8689         * config/epiphany: New Directory.
8691 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
8693         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8694         * config/avr/t-rtems: New.
8695         Filter out _exit from LIB1ASMFUNCS.
8697 2011-11-04  David S. Miller  <davem@davemloft.net>
8699         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8700         * configure: Rebuild.
8702 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8704         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8705         variable.
8707 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
8709         PR target/50931
8710         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8711         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8713 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
8715         PR target/50989
8716         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8718 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8720         * config/c6x/t-elf (LIB2ADDEH): Set.
8721         * config/c6x/t-c6x-elf: Remove.
8723 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8725         * config/i386/sol2-ci.S: Rename to ...
8726         * config/i386/crti.S: ... this.
8727         * config/i386/sol2-cn.S: Rename to ...
8728         * config/i386/crtn.S: ... this.
8729         * config/sparc/sol2-ci.S: Rename to ...
8730         * config/sparc/crti.S: ... this.
8731         * config/sparc/sol2-cn.S: Rename to ...
8732         * config/sparc/crtn.S: ... this.
8733         * config/t-sol2 (CUSTOM_CRTIN): Remove.
8734         (crti.o, crtn.o): Remove.
8736 2011-11-04  Tristan Gingold  <gingold@adacore.com>
8738         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8740 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
8742         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8744 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
8746         * config.host (crisv32-*-none, cris-*-none): Remove.
8747         (crisv32-*-elf): Append to tmake_file, don't just set it.
8748         (cris-*-elf): Add missing t-fdpbit to tmake_file.
8750 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8752         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8753         (ecrtn$(objext)): Likewise.
8754         (ncrti$(objext)): Likewise.
8755         (ncrtn$(objext)): Likewise.
8757 2011-11-03  Andreas Schwab  <schwab@redhat.com>
8759         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8761 2011-11-02  David S. Miller  <davem@davemloft.net>
8763         * configure.ac: Set host_address on sparc too.
8764         * configure: Regenerate.
8765         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8766         based upon host_address.
8767         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8769 2011-11-02  Jason Merrill  <jason@redhat.com>
8771         * config/rs6000/t-ppccomm: Add missing \.
8773 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8775         * gthr-single.h, gthr.h: New files.
8776         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8777         config/gthr-vxworks.h, config/i386/gthr-win32.h,
8778         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8779         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8780         * config/i386/gthr-win32.c: Include "gthr-win32.h".
8781         * configure.ac (thread_header): New variable.
8782         Set it depending on target_thread_file.
8783         (gthr-default.h): Link from $thread_header.
8784         * configure: Regenerate.
8785         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8787 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8789         * configure.ac (tm_file_): New variable.
8790         Determine from tm_file.
8791         (tm_file, tm_defines): Substitute.
8792         * configure: Regenerate.
8793         * mkheader.sh: New file.
8794         * Makefile.in (clean): Remove libgcc_tm.h.
8795         ($(objects)): Depend on libgcc_tm.h.
8796         (libgcc_tm_defines, libgcc_tm_file): New variables.
8797         (libgcc_tm.h, libgcc_tm.stamp): New targets.
8798         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8799         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8800         ($(extra-parts)): Depend on libgcc_tm.h.
8801         * config.host (tm_defines, tm_file): New variable.
8802         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8803         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8804         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8805         (avr-*-rtems*): Likewise.
8806         (avr-*-*): Likewise.
8807         (frv-*-elf): Likewise.
8808         (frv-*-*linux*): Likewise.
8809         (h8300-*-rtems*): Likewise.
8810         (h8300-*-elf*): Likewise.
8811         (i[34567]86-*-darwin*): Likewise.
8812         (x86_64-*-darwin*): Likewise.
8813         (rx-*-elf): Likewise.
8814         (tic6x-*-uclinux): Likewise.
8815         (tic6x-*-elf): Likewise.
8816         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8817         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8818         * config/i386/cygming-crtbegin.c: Likewise.
8819         * config/i386/cygming-crtend.c: Likewise.
8820         * config/ia64/fde-vms.c: Likewise.
8821         * config/ia64/unwind-ia64.c: Likewise.
8822         * config/libbid/bid_gcc_intrinsics.h: Likewise.
8823         * config/rs6000/darwin-fallback.c: Likewise.
8824         * config/stormy16/lib2funcs.c: Likewise.
8825         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8826         * crtstuff.c: Likewise.
8827         * dfp-bit.h: Likewise.
8828         * emutls.c: Likewise.
8829         * fixed-bit.c: Likewise.
8830         * fp-bit.c: Likewise.
8831         * generic-morestack-thread.c: Likewise.
8832         * generic-morestack.c: Likewise.
8833         * libgcc2.c: Likewise.
8834         * libgcov.c: Likewise.
8835         * unwind-dw2-fde-dip.c: Likewise.
8836         * unwind-dw2-fde.c: Likewise.
8837         * unwind-dw2.c: Likewise.
8838         * unwind-sjlj.c: Likewise.
8840 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8842         * configure.ac: Include ../config/picflag.m4.
8843         (GCC_PICFLAG): Call it.
8844         Substitute.
8845         * configure: Regenerate.
8846         * Makefile.in (gcc_srcdir): Remove.
8847         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8848         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8849         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8850         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8851         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8852         Use $<.
8853         Remove comment.
8854         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8855         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8856         to refer to libgcc2.c.
8857         Use $<.
8858         * config/darwin-64.c: New file.
8859         * config/darwin-crt3.c: Remove comment.
8860         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8861         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8862         config/udivmodsi4.c: New files.
8863         * config/memcmp.c, config/memcpy.c, config/memmove.c,
8864         config/memset.c: New files.
8865         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8866         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8867         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8868         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8869         * config/t-openbsd-thread: New file.
8870         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8871         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8872         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8873         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8874         qrnnd.S.
8875         Adapt filename.
8876         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8877         to refer to gthr-posix.c.
8878         * config/alpha/t-vms (LIB2ADD): Set.
8879         * config/alpha/vms-gcc_shell_handler.c: New file.
8880         * config/arm/bpabi.c, config/arm/fp16.c,
8881         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8882         config/arm/unaligned-funcs.c: New files.
8883         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8884         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8885         * config/arm/t-linux: Likewise.
8886         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8887         * config/arm/t-netbsd: New file.
8888         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8889         * config/arm/t-symbian (LIB2ADD_ST): Set.
8890         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8891         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8892         * config/bfin/t-elf: New file.
8893         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8894         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8895         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8896         config/c6x/ltf.c: New files.
8897         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8898         (HOST_LIBGCC2_CFLAGS): Set.
8899         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8900         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8901         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8902         New files.
8903         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8904         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8905         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8906         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8907         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8908         files.
8909         * config/frv/t-frv (LIB2ADD): Set.
8910         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8911         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8912         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8913         config/h8300/popcounthi2.c: New files.
8914         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8915         * config/i386/gthr-win32.c: New file.
8916         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8917         * config/i386/t-cygwin: Likewise.
8918         * config/i386/t-darwin, config/i386/t-darwin64,
8919         config/i386/t-gthr-win32, config/i386/t-interix: New files.
8920         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8921         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8922         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8923         * config/ia64/quadlib.c: New file.
8924         * config/ia64/t-hpux (LIB2ADD): Set.
8925         * config/ia64/t-ia64: Add comment.
8926         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8927         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8928         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8929         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8930         * config/m32c/t-m32c (LIB2ADD): Set.
8931         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8932         * config/m32r/t-m32r: Likewise.
8933         * config/m68k/fpgnulib.c: New file.
8934         * config/m68k/t-floatlib (LIB2ADD): Set.
8935         (xfgnulib.c): New target.
8936         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8937         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8938         * config/mep/t-mep (LIB2ADD): Set.
8939         * config/microblaze/divsi3.asm: Rename to divsi3.S.
8940         * config/microblaze/moddi3.asm: Rename to moddi3.S.
8941         * config/microblaze/modsi3.asm: Rename to modsi3.S.
8942         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8943         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8944         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8945         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8946         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8947         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8948         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8949         New files.
8950         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8951         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8952         * config/pa/fptr.c, config/pa/lib2funcs.S,
8953         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8954         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8955         (LIB2ADD, LIB2ADD_ST): Set.
8956         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8957         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8958         Set.
8959         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8960         * config/pdp11/t-pdp11: New file.
8961         * config/picochip/libgccExtras/adddi3.S,
8962         config/picochip/libgccExtras/ashlsi3.S,
8963         config/picochip/libgccExtras/ashrsi3.S,
8964         config/picochip/libgccExtras/clzsi2.S,
8965         config/picochip/libgccExtras/cmpsi2.S,
8966         config/picochip/libgccExtras/divmod15.S,
8967         config/picochip/libgccExtras/divmodhi4.S,
8968         config/picochip/libgccExtras/divmodsi4.S,
8969         config/picochip/libgccExtras/lshrsi3.S,
8970         config/picochip/libgccExtras/parityhi2.S,
8971         config/picochip/libgccExtras/popcounthi2.S,
8972         config/picochip/libgccExtras/subdi3.S,
8973         config/picochip/libgccExtras/ucmpsi2.S,
8974         config/picochip/libgccExtras/udivmodhi4.S,
8975         config/picochip/libgccExtras/udivmodsi4.S: New files.
8976         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8977         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8978         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8979         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8980         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8981         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8982         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
8983         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8984         files.
8985         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8986         (HOST_LIBGCC2_CFLAGS): Set.
8987         * config/rs6000/t-darwin64: New file.
8988         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8989         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8990         * config/rs6000/t-ppccomm (LIB2ADD): Add
8991         $(srcdir)/config/rs6000/tramp.S.
8992         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8993         Add  $(srcdir)/config/rs6000/eabi.S.
8994         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8995         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8996         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8997         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8998         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8999         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9000         * config/rs6000/tramp.S: New file.
9001         * config/s390/t-tpf: Remove.
9002         * config/sh/linux-atomic.S: New file.
9003         * config/sh/t-linux (LIB2ADD): Set.
9004         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9005         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9006         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9007         to unwind-dw2.c.
9008         (HOST_LIBGCC2_CFLAGS): Set.
9009         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9010         * config/spu/divmodti4.c, config/spu/divv2df3.c,
9011         config/spu/float_disf.c, config/spu/float_unsdidf.c,
9012         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9013         config/spu/mfc_multi_tag_release.c,
9014         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9015         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9016         config/spu/multi3.c: New files.
9017         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9018         (HOST_LIBGCC2_CFLAGS): Set.
9019         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9020         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9021         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9022         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9023         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9024         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9025         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9026         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9027         config/stormy16/umodsi3.c: New files.
9028         * config/xtensa/lib2funcs.S: New file.
9029         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9030         * config/xtensa/t-xtensa (LIB2ADD): Set.
9031         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9032         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9033         Add t-freebsd-thread to tmake_file for posix threads.
9034         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9035         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9036         (*-*-lynxos*): Likewise.
9037         (*-*-netbsd*): Likewise.
9038         (*-*-openbsd*): Likewise.
9039         Add t-openbsd-thread to tmake_file for posix threads.
9040         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9041         (*-*-vxworks*): Set tmake_file.
9042         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9043         (alpha*-*-freebsd*): Likewise.
9044         (alpha*-*-netbsd*): Likewise.
9045         (alpha*-*-openbsd*): Likewise.
9046         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9047         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9048         (alpha*-dec-*vms*): Likewise.
9049         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9050         (bfin*-elf*): Add bfin/t-elf to tmake_file.
9051         (bfin*-uclinux*): Likewise.
9052         (bfin*-linux-uclibc*): Likewise.
9053         (crisv32-*-elf): Add cris/t-cris to tmake_file.
9054         (crisv32-*-none): Likewise.
9055         (cris-*-elf): Likewise.
9056         (cris-*-none): Likewise.
9057         (cris-*-linux*, crisv32-*-linux*): Likewise.
9058         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9059         tmake_file.
9060         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9061         tmake_file.
9062         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9063         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9064         (x86_64-*-elf*): Likewise.
9065         (i[34567]86-*-nto-qnx*): Likewise.
9066         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9067         win32 threads.
9068         (x86_64-*-mingw*): Likewise.
9069         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9070         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9071         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9072         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9073         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9074         tmake_file.
9075         (mipsisa64sr71k-*-elf*): Likewise.
9076         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9077         (mips-*-elf*, mipsel-*-elf*): Likewise.
9078         (mips64-*-elf*, mips64el-*-elf*): Likewise.
9079         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9080         (mips*-*-rtems*): Likewise.
9081         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9082         to tmake_file.
9083         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9084         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9085         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9086         (spu-*-elf*): Likewise.
9087         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9089 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9091         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9092         $(srcdir) to refer to $(LIB1ASMSRC).
9093         Use $<.
9094         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9095         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9096         config/arm/lib1funcs.S: New files.
9097         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9098         * config/arm/t-arm: New file.
9099         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9100         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9101         config/arm/t-strongarm-elf: New files.
9102         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9103         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9104         * config/avr/lib1funcs.S: New file.
9105         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9106         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9107         * config/c6x/lib1funcs.S: New file.
9108         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9109         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9110         * config/frv/lib1funcs.S: New file.
9111         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9112         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9113         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9114         * config/ia64/__divxf3.asm: Rename to ...
9115         * config/ia64/__divxf3.S: ... this.
9116         Adapt lib1funcs.asm filename.
9117         * config/ia64/_fixtfdi.asm: Rename to ...
9118         * config/ia64/_fixtfdi.S: ... this.
9119         Adapt lib1funcs.asm filename.
9120         * config/ia64/_fixunstfdi.asm: Rename to ...
9121         * config/ia64/_fixunstfdi.S: ... this.
9122         Adapt lib1funcs.asm filename.
9123         * config/ia64/_floatditf.asm: Rename to ...
9124         * config/ia64/_floatditf.S: ... this.
9125         Adapt lib1funcs.asm filename.
9126         * config/ia64/lib1funcs.S: New file.
9127         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9128         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9129         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9130         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9131         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9132         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9133         * config/mep/lib1funcs.S: New file.
9134         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9135         * config/mips/mips16.S: New file.
9136         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9137         * config/pa/milli64.S: New file.
9138         * config/pa/t-linux, config/pa/t-linux64: New files.
9139         * config/picochip/lib1funcs.S: New file.
9140         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9141         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9142         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9143         * config/sh/t-netbsd: New file.
9144         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9145         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9146         * config/sh/t-sh64: New file.
9147         * config/sparc/lb1spc.S: New file.
9148         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9149         filename.
9150         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9151         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9152         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9153         config/xtensa/lib1funcs.S: New files.
9154         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9155         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9156         tmake_file.
9157         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9158         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9159         (arm*-*-linux*): Likewise.
9160         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9161         arm*-*-linux-*eabi, add arm/t-linux otherwise.
9162         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9163         (arm*-*-ecos-elf): Likewise.
9164         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9165         (arm*-*-rtems*): Likewise.
9166         (arm*-*-elf): Likewise.
9167         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9168         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9169         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9170         (bfin*-uclinux*): Likewise.
9171         (bfin*-linux-uclibc*): Likewise.
9172         (bfin*-rtems*): Likewise.
9173         (bfin*-*): Likewise.
9174         (fido-*-elf): Merge into m68k-*-elf*.
9175         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9176         (frv-*-*linux*): Add frv/t-frv to tmake_file.
9177         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9178         (h8300-*-elf*): Likewise.
9179         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9180         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9181         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9182         (i[34567]86-*-mingw*): Likewise.
9183         (x86_64-*-mingw*): Likewise.
9184         (i[34567]86-*-interix3*): Likewise.
9185         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9186         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9187         (m68k-*-elf*): Also handle fido-*-elf.
9188         Add m68k/t-floatlib to tmake_file.
9189         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9190         (m68k-*-linux*): Likewise.
9191         (m68k-*-rtems*): Likewise.
9192         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9193         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9194         sh64*-*-*.
9195         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9196         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9197         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9198         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9199         sh/t-netbsd to tmake_file.
9200         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9201         (sh-*-rtems*): Add sh/t-sh to tmake_file.
9202         (sh-wrs-vxworks): Likewise.
9203         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9204         *-leon[3-9]*.
9205         (v850*-*-*): Add v850/t-v850 to tmake_file.
9206         (vax-*-linux*): Add vax/t-linux to tmake_file.
9207         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9209 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9211         * crtstuff.c: New file.
9212         * Makefile.in (CRTSTUFF_CFLAGS): Define.
9213         (CRTSTUFF_T_CFLAGS): Define.
9214         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9215         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9216         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9217         crtstuff.c.
9218         Use $<.
9219         (crtbeginT.o): Use $(objext).
9220         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9221         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9222         (gcc-extra-parts): Remove.
9223         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9224         Set extra_parts.
9225         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9226         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9227         Add t-crtstuff-pic to tmake_file.
9228         (*-*-lynxos*): New case.
9229         Set tmake_file, extra_parts.
9230         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9231         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9232         *-*-netbsdelf[2-9]*.
9233         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9234         (*-*-rtems*): Set extra_parts.
9235         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9236         (*-*-uclinux*): New case.
9237         Set extra_parts.
9238         (*-*-vms*): New case.
9239         Set tmake_file, extra_parts.
9240         (*-*-elf): Set extra_parts.
9241         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9242         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9243         vms/t-vms64.
9244         Set extra_parts.
9245         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9246         Set extra_parts.
9247         (arm*-*-freebsd*): Add t-crtin to tmake_file.
9248         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9249         (arm-wrs-vxworks): Append to tmake_file.
9250         Set extra_parts.
9251         (arm*-*-uclinux*): Set extra_parts.
9252         (arm*-*-ecos-elf): Likewise.
9253         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9254         arm*-*-eabi*.
9255         (arm*-*-rtems*): Set extra_parts.
9256         (arm*-*-elf): Likewise.
9257         (avr-*-rtems*): Clear extra_parts.
9258         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9259         Set extra_parts.
9260         (bfin*-uclinux*): Likewise.
9261         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9262         (bfin*-rtems*): Append to tmake_file.
9263         Set extra_parts.
9264         (bfin*-*): Likewise.
9265         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9266         (crisv32-*-elf): ... this.
9267         (crisv32-*-none): ... this.
9268         (cris-*-elf, cris-*-none): New cases.
9269         Add cris/t-elfmulti to tmake_file.
9270         (fr30-*-elf): Append to tmake_file.
9271         Set extra_parts.
9272         (frv-*-elf): Append to tmake_file, add frv/t-frv.
9273         Set extra_parts.
9274         (h8300-*-rtems*): Append to tmake_file.
9275         Set extra_parts.
9276         (h8300-*-elf*): Likewise.
9277         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9278         Set extra_parts.
9279         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9280         Set extra_parts.
9281         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9282         (x86_64-*-elf*): Likewise.
9283         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9284         (x86_64-*-freebsd*): Likewise.
9285         (x86_64-*-netbsd*): Likewise.
9286         (i[34567]86-*-linux*): Likewise.
9287         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9288         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9289         (x86_64-*-linux*): Likewise.
9290         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9291         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9292         tmake_file.
9293         Set extra_parts.
9294         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9295         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9296         Append to extra_parts, remove crtbegin.o, crtend.o.
9297         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9298         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9299         crtend.o, crtbeginS.o, crtendS.o.
9300         (ia64*-*-linux*): Comment extra_parts.
9301         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9302         Set extra_parts.
9303         (iq2000*-*-elf*): Clear extra_parts.
9304         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9305         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9306         (m32r-*-elf*, m32r-*-rtems*): Split off ...
9307         (m32r-*-rtems*): ... this.
9308         Add m32r/t-m32r to tmake_file.
9309         (m68k-*-elf*): Add t-crtin to tmake_file.
9310         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9311         (mcore-*-elf): Likewise.
9312         (microblaze*-*-*): Set extra_parts.
9313         (mips*-sde-elf*): New case.
9314         Set tmake_file, extra_parts.
9315         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9316         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9317         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9318         tmake_file.
9319         Set extra_parts.
9320         (mipsisa64sr71k-*-elf*): Likewise.
9321         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9322         (mips-*-elf*, mipsel-*-elf*): Likewise.
9323         (mips64-*-elf*, mips64el-*-elf*): Likewise.
9324         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9325         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
9326         (mips*-*-rtems*): Likewise.
9327         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9328         (moxie-*-*): Split into ...
9329         (moxie-*-elf, moxie-*-uclinux*): ... this.
9330         Add to extra_parts, remove crtbegin.o, crtend.o.
9331         (moxie-*-rtems*): New case.
9332         Set tmake_file.
9333         Clear extra_parts.
9334         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9335         Set extra_parts.
9336         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9337         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9338         tmake_file.
9339         Set extra_parts.
9340         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9341         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9342         Set extra_parts.
9343         (powerpc-*-eabisim*): Likewise.
9344         (powerpc-*-elf*): Likewise.
9345         (powerpc-*-eabialtivec*): Likewise.
9346         (powerpc-xilinx-eabi*): Likewise.
9347         (powerpc-*-eabi*): Likewise.
9348         (powerpc-*-rtems*): Likewise.
9349         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9350         tmake_file.
9351         Set extra_parts.
9352         (powerpc-*-lynxos*): Add to tmake_file.
9353         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9354         rs6000/t-crtstuff, t-crtstuff-pic.
9355         Set extra_parts.
9356         (powerpcle-*-eabisim*): Likewise.
9357         (powerpcle-*-eabi*): Likewise.
9358         (rx-*-elf): Remove extra_parts.
9359         (s390x-ibm-tpf*): Set extra_parts.
9360         (score-*-elf): Set extra_parts.
9361         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9362         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9363         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9364         (sh64l*-*-netbsd*): Split into ...
9365         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9366         Add t-crtstuff-pic to tmake_file.
9367         Set extra_parts.
9368         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9369         Set extra_parts.
9370         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9371         (sparc-*-elf*): Remove t-crtin from tmake_file.
9372         Add to extra_parts, remove crtbegin.o, crtend.o.
9373         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9374         (sparc64-*-linux*): Likewise.
9375         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9376         Add to extra_parts, remove crtbegin.o, crtend.o.
9377         (sparc64-*-elf*): Remove t-crtin from tmake_file.
9378         Add to extra_parts, remove crtbegin.o, crtend.o.
9379         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9380         Add to extra_parts, remove crtbegin.o, crtend.o.
9381         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9382         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9383         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9384         Set extra_parts.
9385         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9386         Set extra_parts.
9387         (tic6x-*-*): Change to ...
9388         (tic6x-*-elf): ... this.
9389         Set extra_parts.
9390         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9391         Set extra_parts.
9392         (am33_2.0-*-linux*): Add comment.
9393         (mep*-*-*): Add mep/t-mep to tmake_file.
9394         Set extra_parts.
9395         * config/alpha/t-vms: New file.
9396         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9397         * config/arm/crti.S, config/arm/crtn.S: New files.
9398         * config/bfin/crti.S, config/bfin/crtn.S: New files.
9399         * config/bfin/crtlibid.S: New file.
9400         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9401         * config/c6x/crti.S, config/c6x/crtn.S: New files.
9402         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9403         (crti.o, crtin.o): New rules.
9404         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9405         * config/c6x/t-uclinux: New file.
9406         * config/cris/t-elfmulti: New file.
9407         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9408         * config/fr30/crti.S, config/fr30/crtn.S: New files.
9409         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9410         * config/frv/t-frv: New file.
9411         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9412         * config/h8300/crti.S, config/h8300/crtn.S: New files.
9413         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9414         New files.
9415         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9416         refer to cygming-crtbegin.c, cygming-crtend.c.
9417         Use $<.
9418         * config/i386/t-nto: New file.
9419         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9420         * config/ia64/crti.S, config/ia64/crtn.S: New files.
9421         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9422         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9423         Use .S extension.
9424         Use $<.
9425         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9426         (crtinitS.o): New rule.
9427         * config/ia64/vms-crtinit.S: New file.
9428         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9429         * config/m32r/initfini.c: New file.
9430         * config/m32r/t-linux, config/m32r/t-m32r: New files.
9431         * config/m68k/crti.S, config/m68k/crtn.S: New files.
9432         * config/mcore/crti.S, config/mcore/crtn.S: New files.
9433         * config/mep/t-mep: New file.
9434         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9435         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9436         * config/mips/crti.S, config/mips/crtn.S: New files.
9437         * config/mips/t-crtstuff: New file.
9438         * config/mmix/crti.S, config/mmix/crtn.S: New files.
9439         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9440         (CUSTOM_CRTIN): Set.
9441         ($(T)crti.o, $(T)crtn.o): Remove $(T),
9442         dependencies.
9443         Use $(srcdir) to refer to crti.S, crtn.S.
9444         Use .S extension, $<.
9445         * config/moxie/crti.asm: Rename to ...
9446         * config/moxie/crti.S: ... this.
9447         * config/moxie/crtn.asm: Rename to ...
9448         * config/moxie/crtn.S: ... this.
9449         * config/moxie/t-moxie: Remove.
9450         * config/pa/stublib.c: New file.
9451         * config/pa/t-stublib, config/pa/t-stublib64: New files.
9452         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9453         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9454         * config/rs6000/t-crtstuff: New file.
9455         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9456         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9457         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9458         Make output file explicit.
9459         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9460         Make output file explicit.
9461         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9462         Make output file explicit.
9463         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9464         Make output file explicit.
9465         * config/score/crti.S, config/score/crtn.S: New files.
9466         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9467         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9468         files.
9469         * config/sh/t-sh, config/sh/t-superh: New files.
9470         * config/sparc/t-linux64: New file.
9471         * config/spu/cache.S, config/spu/cachemgr.c: New files.
9472         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9473         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9474         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9475         * config/t-crtin: Remove.
9476         * config/t-crtstuff-pic: New file.
9477         * config/t-sol2 (CUSTOM_CRTIN): Set.
9478         (crti.o, crtn.o): New rules.
9479         * config/vms/t-vms: New file.
9480         * config/vms/vms-ucrt0.c: New file.
9481         * config/xtensa/t-elf: New file.
9483 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9485         * Makefile.in (SHLIB_NM_FLAGS): Set.
9486         * mkmap-flat.awk, mkmap-symver.awk: New files.
9487         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9488         exceptions.
9489         * configure: Regenerate.
9490         * config/libgcc-glibc.ver: New file.
9491         * config/libgcc-libsystem.ver: New file.
9492         * config/t-libunwind (SHLIB_LC): Set.
9493         * config/t-linux: New file.
9494         * config/t-slibgcc (INSTALL_SHLIB): New.
9495         (SHLIB_INSTALL): Use it.
9496         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9497         to mkmap-symver.awk.
9498         (SHLIB_MAPFILES): Don't append, adapt pathname.
9499         (SHLIB_VERPFX): Set.
9500         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9501         to mkmap-symver.awk.
9502         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9503         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9504         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9505         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9506         to mkmap-flat.awk.
9507         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9508         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9509         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9510         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9511         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9512         * config/i386/libgcc-darwin.10.4.ver,
9513         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9514         New files.
9515         * config/i386/t-darwin: Remove.
9516         * config/i386/t-darwin64: Likewise.
9517         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9518         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9519         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9520         * config/i386/t-linux: New file.
9521         * config/i386/t-mingw32: New file.
9522         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9523         * config/ia64/t-glibc: Rename to ...
9524         * config/ia64/t-linux: ... this.
9525         (SHLIB_MAPFILES): Set.
9526         * config/ia64/t-glibc-libunwind: Rename to ...
9527         * config/ia64/t-linux-libunwind: ... this.
9528         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9529         * config/ia64/t-slibgcc-hpux: New file.
9530         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9531         * config/m68k/t-slibgcc-elf-ver: New file.
9532         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9533         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9534         to mkmap-flat.awk.
9535         * config/pa/t-slibgcc-hpux: New file.
9536         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9537         files.
9538         * config/rs6000/libgcc-darwin.10.4.ver,
9539         config/rs6000/libgcc-darwin.10.5.ver: New files.
9540         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9541         config/rs6000/libgcc-glibc.ver.
9542         * config/rs6000/libgcc-ppc64.ver: Rename to
9543         config/rs6000/libgcc-ibm-ldouble.ver.
9544         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9545         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9546         * config/rs6000/t-ldbl128: Rename to ...
9547         * config/rs6000/t-linux: ... this.
9548         (SHLIB_MAPFILES): Adapt filename.
9549         * config/rs6000/t-slibgcc-aix: New file.
9550         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9551         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9552         libgcc-excl.ver, libgcc-glibc.ver.
9553         (SHLIB_LINK, SHLIB_INSTALL): Remove.
9554         * config/sparc/libgcc-glibc.ver: New file.
9555         * config/sparc/t-linux: New file.
9556         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9557         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9558         t-slibgcc-elf-ver to tmake_file.
9559         Add t-slibgcc-nolc-override to tmake_file for posix threads on
9560         *-*-freebsd[34].
9561         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9562         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9563         t-slibgcc-elf-ver, t-linux to tmake_file.
9564         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9565         tmake_file.
9566         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9567         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9568         (alpha*-dec-*vms*): Likewise.
9569         (arm*-*-freebsd*): Append to tmake_file.
9570         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9571         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9572         arm*-*-linux-*eabi.
9573         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9574         tmake_file for arm*-*-symbianelf*.
9575         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9576         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9577         cris/t-linux.
9578         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9579         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9580         pa/t-slibgcc-dwarf-ver to tmake_file.
9581         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9582         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9583         (hppa*64*-*-hpux11*): Likewise.
9584         (hppa[12]*-*-hpux11*): Likewise.
9585         (x86_64-*-darwin*): Don't override tmake_file, but only keep
9586         i386/t-crtpc, i386/t-crtfm.
9587         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9588         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9589         to tmake_file.
9590         Add i386/t-cygwin to tmake_file.
9591         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9592         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9593         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9594         to tmake_file.
9595         Add i386/t-mingw32 to tmake_file.
9596         (x86_64-*-mingw*): Likewise.
9597         (ia64*-*-freebsd*): Append to tmake_file.
9598         (ia64*-*-linux*): Append to tmake_file.
9599         Replace ia64/t-glibc by ia64/t-linux.
9600         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9601         system libunwind.
9602         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9603         t-slibgcc-hpux to tmake_file.
9604         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9605         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9606         (m32rle-*-linux*): Likewise.
9607         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9608         sjlj exceptions.
9609         (microblaze*-linux*): New case.
9610         Append to tmake_file, add t-slibgcc-nolc-override.
9611         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9612         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9613         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9614         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9615         rs6000/t-slibgcc-aix to tmake_file.
9616         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9617         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9618         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9619         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9620         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9621         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9622         sh*-*-linux*.
9623         (sparc-*-linux*): Append to tmake_file for *-leon*.
9624         Add sparc/t-linux to tmake_file for non-Leon targets.
9625         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9626         (tic6x-*-uclinux): New case.
9627         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9628         (tic6x-*-*): Add c6x/t-elf to tmake_file.
9629         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9630         (am33_2.0-*-linux*): Append to tmake_file.
9631         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9632         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9633         x86_64-*-kfreebsd*-gnu.
9634         Add i386/t-linux to tmake_file.
9636 2011-10-28  Ian Lance Taylor  <iant@google.com>
9638         * config/i386/morestack.S: Correct CFI information to do proper
9639         returns throughout function.  In 32-bit mode, save %ebx so that it
9640         is restored on unwind.
9642 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
9644         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9645         case where B3 isn't the return register.
9647         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9648         logic for doubleword pops.
9650 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
9652         * config/rs6000/t-freebsd: Add wildcard.
9654 2011-10-21  Paul Brook  <paul@codesourcery.com>
9656         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9658 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
9659             Eric Botcazou  <ebotcazou@adacore.com>
9661         PR target/50737
9662         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9663         fs->signal_frame to 1.
9665 2011-10-07  Ian Lance Taylor  <iant@google.com>
9667         * generic-morestack-thread.c: #include <errno.h>.
9669 2011-10-07  Ian Lance Taylor  <iant@google.com>
9671         PR target/46093
9672         * generic-morestack.c (__generic_morestack): Make sure the segment
9673         is large enough for both the stack frame and the copied
9674         parameters.
9676 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9678         PR bootstrap/49804
9679         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9680         extra_parts.
9682 2011-09-28  Nick Clifton  <nickc@redhat.com>
9684         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9685         64-bit doubles are not enabled.
9686         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9687         and floatunsisf functions.
9689 2011-09-13  Paul Brook  <paul@codesourcery.com>
9691         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
9692         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9693         * unwind-arm-common.inc: New file.
9694         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9695         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9696         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9697         * config/c6x/libunwind.S: New file.
9698         * config/c6x/pr-support.c: New file.
9699         * config/c6x/unwind-c6x.c: New file.
9700         * config/c6x/unwind-c6x.h: New file.
9701         * config/c6x/t-c6x-elf: New file.
9703 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
9705         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9706         (ASM_DIVZERO): Ditto.
9707         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9709 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
9711         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9713 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
9715         PR target/50090
9716         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9717         instead of an assembly one.
9719 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
9721         PR bootstrap/50047
9722         * Makefile.in (install-unwind_h): Create
9723         $(gcc_objdir)/include/unwind.h atomically.
9725 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9727         * Makefile.in (install-unwind_h): Remove destination file first.
9729 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9731         * sync.c: New file.
9732         * config/mips/t-mips16: New file.
9733         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9734         (mips*-*-linux*): Likewise.
9735         (mips*-sde-elf*): Likewise.
9736         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9737         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9738         Add mips/t-mips16 to tmake_file.
9739         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9740         (mips-*-elf*): Likewise.
9741         (mips64-*-elf*): Likewise.
9742         (mips64orion-*-elf*): Likewise.
9743         (mips*-*-rtems*): Likewise.
9744         (mipstx39-*-elf*): Likewise.
9745         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9746         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9747         LIBGCC_SYNC_CFLAGS.
9748         Use $(srcdir) to refer to sync.c.
9749         Use $<.
9750         ($(libgcc-sync-funcs-o)): Likewise.
9751         ($(libgcc-sync-size-funcs-s-o)): Likewise.
9752         ($(libgcc-sync-funcs-s-o)): Likewise.
9754 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
9756         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9757         t-libunwind.
9759 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
9761         PR other/48007
9762         * config/i386/value-unwind.h: New.
9764 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
9766         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9767         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9768         Add to tmake_file rather than overriding it.
9770 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9772         * config/t-softfp: Remove.
9773         * soft-fp: Moved from ../gcc/config.
9774         * soft-fp/README: Remove t-softfp reference.
9775         * soft-fp/t-softfp: Move to config/t-softfp.
9776         (softfp_machine_header): Remove.
9777         (softfp_file_list): Remove config subdir.
9778         (soft-fp-objects): New variable.
9779         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9780         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9781         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9782         * config/t-softfp-excl: New file.
9783         * config/t-softfp-sfdf: New file.
9784         * config/t-softfp-tf: New file.
9785         * config/no-sfp-machine.h: New file.
9786         * config/arm/sfp-machine.h: New file.
9787         * config/arm/t-softfp: New file.
9788         * config/c6x/sfp-machine.h: New file.
9789         * config/i386/32/t-fprules-softfp: Rename to ...
9790         * config/i386/32/t-softfp: ... this.
9791         (tifunctions, LIB2ADD): Remove.
9792         (softfp_int_modes): Override.
9793         * config/i386/64/t-softfp-compat (tf-functions): Remove config
9794         subdir.
9795         * config/i386/64/eqtf2.c: Likewise.
9796         * config/i386/64/getf2.c: Likewise.
9797         * config/i386/64/letf2.c: Likewise.
9798         * config/ia64/sft-machine.h: New file.
9799         * config/ia64/t-fprules-softfp: Rename to ...
9800         * config/ia64/t-softfp: ... this.
9801         * config/lm32/sfp-machine.h: New file.
9802         * config/moxie/t-moxie-softfp: Remove.
9803         * config/rs6000/ibm-ldouble-format: New file.
9804         * config/rs6000/ibm-ldouble.c: New file.
9805         * config/rs6000/libgcc-ppc-glibc.ver: New file
9806         * config/rs6000/libgcc-ppc64.ver: New file
9807         * config/rs6000/sfp-machine.h: New file.
9808         * config/rs6000/t-freebsd: New file.
9809         * config/rs6000/t-ibm-ldouble: New file.
9810         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9811         libgcc-ppc-glibc.ver.
9812         * config/rs6000/t-linux64: New file.
9813         * config/rs6000/t-ppccomm (LIB2ADD): Add
9814         $(srcdir)/config/rs6000/ibm-ldouble.c.
9815         * config/rs6000/t-ppccomm-ldbl: New file.
9816         * config/score/sfp-machine.h: New file.
9817         * config.host (sfp_machine_header): Explain.
9818         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9819         t-softfp to tmake_file.
9820         (arm*-*-uclinux*): Likewise.
9821         (arm*-*-ecos-elf): Likewise.
9822         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9823         (arm*-*-rtems*): Likewise.
9824         (arm*-*-elf): Likewise.
9825         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9826         in tmake_file.
9827         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9828         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9829         (lm32-*-uclinux*): Likewise.
9830         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9831         t-softfp-excl, t-softfp.
9832         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9833         (powerpc64-*-darwin*): Likewise.
9834         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9835         to tmake_file.
9836         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9837         tmake_file.
9838         (powerpc-*-eabisim*): Likewise.
9839         (powerpc-*-elf*): Likewise.
9840         (powerpc-*-eabialtivec*): Likewise.
9841         (powerpc-xilinx-eabi*): Likewise.
9842         (powerpc-*-rtems*): Likewise.
9843         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9844         t-softfp-excl, t-softfp to tmake_file.
9845         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9846         rs6000/t-ppccomm-ldbl to tmake_file.
9847         (powerpcle-*-elf*): Likewise.
9848         (powerpcle-*-eabisim*): Likewise.
9849         (powerpcle-*-eabi*): Likewise.
9850         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9851         rs6000/t-ibm-ldouble to tmake_file.
9852         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9853         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9854         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9855         (tic6x-*-*): Likewise.
9856         (i[34567]86-*-darwin*, x86_64-*-darwin*,
9857         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9858         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9859         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9860         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9861         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9862         t-softfp to tmake_file.
9863         * configure.ac (sfp_machine_header): Provide default if unset.
9864         Substitute.
9865         Link sfp-machine.h to config/$sfp_machine_header.
9866         * configure: Regenerate.
9868 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9870         * Makefile.in (double_type_size, long_double_type_size): Set.
9871         Remove $(fpbit-in-libgcc) support.
9872         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9873         (fpbit-src): New variable.
9874         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9875         Compile with -DFLOAT $(FPBIT_CFLAGS).
9876         Use $<.
9877         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9878         Compile with $(FPBIT_CFLAGS).
9879         Use $<.
9880         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9881         Compile with -DFLOAT $(TPBIT_CFLAGS).
9882         Use $<.
9883         * configure.ac (double_type_size, long_double_type_size):
9884         Determine and substitute.
9885         * configure: Regenerate.
9886         * fp-bit.c, fp-bit.h: New files.
9887         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9888         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9889         * config/mips/t-mips: New file.
9890         * config/mips/t-sdemtk: New file.
9891         * config/rs6000/ppc64-fp.c: New file.
9892         * config/rs6000/t-darwin (LIB2ADD): Add
9893         $(srcdir)/config/rs6000/ppc64-fp.c.
9894         * config/rs6000/t-ppc64-fp: New file.
9895         * config/rx/rx-lib.h: New file.
9896         * config/rx/t-rx (FPBIT): Set to true.
9897         ($(gcc_objdir)/fp-bit.c): Remove.
9898         (DPBIT): Set to true only with -m64bit-doubles.
9899         ($(gcc_objdir)/dp-bit.c): Remove.
9900         * config/sparc/t-softfp: Remove.
9901         * config/spu/t-elf: New file.
9902         * config/t-fdpbit, config/t-fpbit: New files.
9903         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9904         (mips*-*-*): Likewise.
9905         (arm-wrs-vxworks): Likewise.
9906         (arm*-*-freebsd*): Likewise.
9907         (avr-*-rtems*): Add t-fpbit to tmake_file.
9908         (avr-*-*): Likewise.
9909         (bfin*-elf*): Add t-fdpbit to tmake_file.
9910         (bfin*-uclinux*): Likewise.
9911         (bfin*-linux-uclibc*): Likewise.
9912         (bfin*-rtems*): New case.
9913         Add t-fdpbit to tmake_file.
9914         (bfin*-*): Add t-fdpbit to tmake_file.
9915         (crisv32-*-elf): Likewise.
9916         (cris-*-linux*): Likewise.
9917         (fr30-*-elf): Likewise.
9918         (frv-*-elf, frv-*-*linux*): Likewise.
9919         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9920         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9921         (m32r-*-elf*): Likewise.
9922         (m32rle-*-elf*): Likewise.
9923         (m32r-*-linux*): Likewise.
9924         (m32rle-*-linux*): Likewise.
9925         (mcore-*-elf): Add t-fdpbit to tmake_file.
9926         (microblaze*-*-*): Likewise.
9927         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9928         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9929         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9930         Fix typo.
9931         Add mips/t-tpbit to tmake-file.
9932         (mips*-*-linux*): Fix typo.
9933         (mips*-sde-elf*): New case
9934         Add mips/t-sdemtk unless using newlib.
9935         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9936         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9937         (mn10300-*-*): Likewise.
9938         (pdp11-*-*): Likewise.
9939         (picochip-*-*): Add t-fpbit to tmake_file.
9940         (powerpc-*-eabisimaltivec*): Likewise.
9941         (powerpc-*-eabisim*): Likewise.
9942         (powerpc-*-elf*): Likewise.
9943         (powerpc-*-eabialtivec*): Likewise.
9944         (powerpc-xilinx-eabi*): New case.
9945         Add t-fdpbit to tmake_file.
9946         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
9947         (powerpc-*-rtems*): Likewise.
9948         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9949         tmake_file.
9950         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9951         tmake_file.
9952         (powerpc-*-lynxos*): Likewise.
9953         (powerpcle-*-elf*): Likewise.
9954         (powerpcle-*-eabisim*): Likewise.
9955         (powerpcle-*-eabi*): Likewise.
9956         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9957         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9958         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9959         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9960         (rx-*-elf): Add t-fdpbit to tmake_file.
9961         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9962         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9963         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9964         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9965         sh*-*-netbsd*.
9966         (sh-*-rtems*): Add t-fdpbit to tmake_file.
9967         (sh-wrs-vxworks): Likewise.
9968         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9969         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9970         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9971         (sparc64-*-rtems*): ... new case.
9972         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9973         (spu-*-elf*): Likewise.
9974         Add spu/t-elf to tmake_file.
9975         (v850*-*-*): Add t-fdpbit to tmake_file.
9976         (xstormy16-*-elf): Likewise.
9977         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9978         (mep*-*-*): Likewise.
9980 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9982         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9983         variables.
9984         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9985         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9986         (install-unwind_h): New target.
9987         (all): Depend on it.
9988         * config.host (unwind_header): New variable.
9989         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9990         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9991         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9992         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9993         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9994         Set unwind_header.
9995         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9996         Set unwind_header.
9997         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9998         arm*-*-eabi*.
9999         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10000         Set unwind_header.
10001         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10002         (ia64*-*-freebsd*): Likewise.
10003         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10004         tmake_file.
10005         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10006         $with_system_libunwind.
10007         (ia64*-*-hpux*): Set tmake_file.
10008         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10009         (picochip-*-*): Set tmake_file.
10010         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10011         md_unwind_header.
10012         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10013         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10014         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10015         (xtensa*-*-elf*): Set tmake_file.
10016         (xtensa*-*-linux*): Likewise.
10017         * configure.ac: Include ../config/unwind_ipinfo.m4.
10018         Call GCC_CHECK_UNWIND_GETIPINFO.
10019         Link unwind.h to $unwind_header.
10020         * configure: Regenerate.
10021         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10022         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10023         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10024         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10025         * config/unwind-dw2-fde-darwin.c: New file.
10026         * config/arm/libunwind.S, config/arm/pr-support.c,
10027         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10028         config/arm/unwind-arm.h,: New files.
10029         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10030         config/ia64/t-eh-ia64, config/ia64/t-glibc,
10031         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10032         config/ia64/t-vms, config/ia64/unwind-ia64.c,
10033         config/ia64/unwind-ia64.h: New files.
10034         * config/picochip/t-picochip: New file.
10035         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10036         files.
10037         * config/rs6000/t-darwin (LIB2ADDEH): Set.
10038         * config/s390/t-tpf (LIB2ADDEH): Remove.
10039         * config/t-darwin (LIB2ADDEH): Set.
10040         * config/t-eh-dw2-dip: New file.
10041         * config/t-libunwind, config/t-libunwind-elf: New files.
10042         * config/t-sol2 (LIB2ADDEH): Remove.
10043         * config/xtensa/t-xtensa: New file.
10045 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
10047         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10048         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10049         long long to check rt_sigreturn syscall.
10051 2011-08-02  Alan Modra  <amodra@gmail.com>
10053         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10054         Restore for indirect call bcrtl from correct stack slot, and only
10055         if cfa+40 isn't valid.
10057 2011-08-01  Julian Brown  <julian@codesourcery.com>
10059         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10060         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10061         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10063 2011-08-01  Julian Brown  <julian@codesourcery.com>
10065         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10066         (libgcc-std.ver.in): Use above.
10067         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10068         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
10069         throughout file.
10070         * config/t-fixedpoint-gnu-prefix: New file.
10071         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10072         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10073         instead of __PFX__.
10075 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
10077         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10078         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10079         for x86-64.  Properly check __x86_64__ and __LP64__.
10081 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
10083         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10084         version.
10085         (_FP_WS_TYPE): Likewise.
10086         (_FP_I_TYPE): Likewise.
10088 2011-07-28  Alan Modra  <amodra@gmail.com>
10090         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10091         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10092         in a plt call stub.  Do restore r2 if stopped on bctrl.
10094 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10096         * config.host (i[3456x]86-*-netware*): Remove.
10097         * config/i386/netware-crt0.c, config/i386/t-nwld,
10098         config/i386/t-slibgcc-nwld: Remove.
10100 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
10102         * config.host: Handle tic6x-*-*.
10103         * config/c6x/c6x-abi.h: New file.
10105 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10107         * config/i386/crtprec.c: New file.
10108         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10109         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10110         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10111         (x86_64-*-darwin*): Likewise.
10112         (i[34567]86-*-solaris2*: Likewise.
10114 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10116         * config/alpha/crtfastmath.c: New file.
10117         * config/i386/crtfastmath.c: New file.
10118         * config/ia64/crtfastmath.c: New file.
10119         * config/mips/crtfastmath.c: New file.
10120         * config/sparc/crtfastmath.c: New file.
10122         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10123         crtfastmath.c.
10124         Add -frandom-seed=gcc-crtfastmath.
10125         * config/alpha/t-crtfm: Remove.
10126         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10127         * config/ia64/t-ia64 (crtfastmath.o): Remove.
10129         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10130         (alpha*-dec-osf5.1*): Likewise.
10131         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10132         Add crtfastmath.o to extra_parts.
10133         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10134         Add crtfastmath.o to extra_parts.
10135         (x86_64-*-darwin*): Likewise.
10136         (x86_64-*-mingw*): Likewise.
10137         (ia64*-*-elf*): Add t-crtfm to tmake_file.
10138         (ia64*-*-freebsd*): Likewise.
10139         (ia64*-*-linux*): Likewise.
10140         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10141         Add crtfastmath.o to extra_parts.
10143 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10145         * config/darwin-crt3.o: New file.
10146         * config/rs6000/darwin-crt2.c: New file.
10147         * config/t-darwin: New file.
10148         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10149         (crt2.o): New rule.
10150         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10151         (powerpc-*-darwin*): Add crt2.o to extra_parts.
10152         (powerpc64-*-darwin*): Likewise.
10154 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10156         * config/i386/netware-crt0.c: New file.
10157         * config/i386/t-nwld: Rename to ...
10158         * config/i386/t-slibgcc-nwld: ... this.
10159         * config/i386/t-nwld: New file.
10160         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10161         tmake_file.
10162         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10163         extra_parts.
10165 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10167         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10168         i386/t-crtstuff.
10169         * configure: Regenerate.
10171 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10173         * dfp-bit.c, dfp-bit.h: New files.
10174         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10175         variables.
10176         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10177         ($(d64pbit-o)): Likewise.
10178         ($(d128pbit-o)): Likewise.
10179         * config/t-dfprules: New file.
10180         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10181         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10182         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10183         (x86_64-*-linux*): Likewise.
10184         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10185         (i[34567]86-*-cygwin*): Likewise.
10186         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
10187         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10189 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10191         * Makfile.in (LIBGCOV): New variable.
10192         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10193         * libgcov.c: New file.
10195 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10197         * fixed-bit.c, fixed-bit.h: New files.
10198         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10199         refer to fixed-bit.c.
10201 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
10203         * config.host (*local*): Remove.
10205 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10207         PR target/39150
10208         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10209         like i?86-*-solaris2.1[0-9]*.
10210         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10211         * configure.ac (i?86-*-solaris2*): Likewise.
10212         * configure: Regenerate.
10214 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
10216         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10217         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10218         md_unwind_header by splitting out of...
10219         (i[34567]86-*-linux*): ... this.
10220         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10221         Remove md_unwind_header by splitting out of...
10222         (x86_64-*-linux*): ... this.
10224 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
10226         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10228 2011-06-28  Nick Clifton  <nickc@redhat.com>
10230         * config.host: Recognize all V850 variants.
10232 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
10234         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10236 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10238         * shared-object.mk (c_flags-$o): Save c_flags.
10239         ($(base)$(objext)): Use it.
10240         ($(base)_s$(objext)): Likewise.
10242 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
10244         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10245         * libgcc-std.ver.in (GCC_4.7.0): New section.
10247 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
10249         PR target/49313
10250         PR target/29524
10251         * config/avr/t-avr: Fix line endings.
10252         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
10253         _parityXX2.
10255 2011-06-14  Olivier Hainque  <hainque@adacore.com>
10256             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10258         * config/mips/irix6-unwind.h: New file.
10259         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10261 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
10263         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10264         (sparc64_fallback_frame_state): Use it.
10265         (sparc64_frob_update_context): Further adjust context.
10266         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10267         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10268         * config/sparc/sol2-cn.S: Likewise.
10270 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10272         * enable-execute-stack-empty.c: New file.
10273         * enable-execute-stack-mprotect.c: New file.
10274         * config/i386/enable-execute-stack-mingw32.c: New file.
10275         * config.host (enable_execute_stack): New variable.
10276         Select appropriate variants.
10277         * configure.ac: Link enable-execute-stack.c to
10278         $enable_execute_stack.
10279         * configure: Regenerate.
10280         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10281         (lib2funcs): Remove _enable_execute_stack.
10283 2011-06-09  David S. Miller  <davem@davemloft.net>
10284             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10286         * config.host (sparc-*-linux*): Correct md_unwind_header
10287         filename.
10288         (s390x-ibm-tpf*): Fix typo.
10290 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10292         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10293         Add crtfastmath.o to extra_parts.
10294         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10295         mips/t-crtfm.
10296         * config/mips/t-crtfm: Remove.
10298 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10300         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10302 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
10304         * config.host (sh*-*-linux*): Fix typo.
10306 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10308         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10309         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10310         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10311         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10312         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10313         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10314         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10315         Wrap in !__MINGW64__.
10316         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10317         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10318         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10319         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10320         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10321         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10322         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10323         Wrap in !__LP64__.
10324         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10325         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10326         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10327         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10328         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10329         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10330         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10331         * config/no-unwind.h: New file.
10332         * config.host (md_unwind_header): Document.
10333         Define.
10334         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10335         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10336         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10337         hppa[12]*-*-hpux11*): Set md_unwind_header.
10338         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10339         Set md_unwind_header.
10340         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10341         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10342         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10343         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10344         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10345         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10346         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10347         md_unwind_header.
10348         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10349         * configure: Regenerate.
10351 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10353         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10354         Set tmake_file, extra_parts.
10355         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10356         Remove O32 support.
10357         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10358         Remove O32 support.
10359         * config/mips/t-irix6: New file.
10360         * config/mips/t-slibgcc-irix: New file.
10362 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10364         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10365         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10367 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10369         * configure.ac (target_thread_file): Determine thread model.
10370         * configure: Regenerate.
10371         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10372         * config/alpha/t-alpha: New file.
10373         * config/alpha/t-crtfm: Use $<.
10374         * config/alpha/t-ieee: New file.
10375         * config/alpha/t-osf-pthread: New file.
10376         * config/alpha/t-slibgcc-osf: New file.
10377         * config/alpha/libgcc-osf5.ver: New file.
10379 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10381         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10382         tmake_file.
10383         Add crtfastmath.o to extra_parts.
10385 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10387         * config/gmon-sol2.c: Reindent.
10388         Cleanup comments.
10389         Remove, correct casts.
10390         Use STDERR_FILENO, NULL.
10391         (BASEADDRESS): Remove.
10392         (minbrk): Remove.
10393         (errno, sbrk): Remove declarations.
10394         (monstartup) [hp300]: Remove.
10395         (mcount): Remove.
10397 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10399         * Makefile.in (cpu_type): Define.
10400         * config.host (i[34567]86-*-rtems*): Handle it.
10401         (i[34567]86-*-solaris2*): Move body ...
10402         (*-*-solaris2*): ... here.
10403         New case, generalize.
10404         (sparc-*-elf*): Handle it.
10405         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10406         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10407         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10408         Fold into ...
10409         (sparc*-*-solaris2*): ... this.
10410         New case.
10411         (sparc64-*-elf*): Handle it.
10412         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10413         Merge ../gcc/config/i386/gmon-sol2.c.
10414         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10415         Use C comments.
10416         Merge ../gcc/config/i386/sol2-gc1.asm.
10417         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10418         Use C comments.
10419         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10420         Use C comments.
10421         * config/i386/t-crtfm (crtfastmath.o): Use $<.
10422         * config/i386/t-crtstuff: New file.
10423         * config/i386/t-softfp: New file.
10424         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10425         $(T)crti.o, $(T)crtn.o): Remove.
10426         (gcrt1.o): New rule.
10427         (TARGET_LIBGCC2_CFLAGS): Remove.
10428         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10429         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10430         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10431         * config/sparc/t-sol2: New file.
10432         * config/sparc/t-crtfm: Move to ...
10433         * config/t-crtfm: ... this.
10434         Use $(cpu_type), $<.
10435         * config/t-crtin: New file.
10436         * config/sparc/t-softfp: New file.
10437         * config/sparc/t-softmul: New file.
10438         * config/t-rtems: New file.
10439         * config/t-slibgcc: New file.
10440         * config/t-slibgcc-elf-ver: New file.
10441         * config/t-slibgcc-gld: New file.
10442         * config/t-slibgcc-sld: New file.
10443         * config/t-sol2: New file.
10444         * configure.ac: Include ../config/lib-ld.m4.
10445         Call AC_LIB_PROG_LD_GNU.
10446         Substitute cpu_type.
10447         * configure: Regenerate.
10449 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
10451         PR bootstrap/49173
10452         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10453         libgcc-std.ver in the build directory.
10454         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10455         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10457 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
10459         * libgcc-std.ver.in: New file.
10460         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10461         variables.
10462         (libgcc-std.ver): New rule.
10463         * config/t-gnu-prefix: New file.
10465 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10467         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10469 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
10471         * config/i386/darwin-lib.h: New file.
10473 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
10475         * config/arm/symbian-lib.h: New.
10477 2011-05-04  Chris Demetriou  <cgd@google.com>
10479         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10480         (__x86.get_pc_thunk.bx): ...this.
10481         (__morestack): Adjust for rename, remove undef of __i686.
10483 2011-05-03  Chris Demetriou  <cgd@google.com>
10485         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10487 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
10489         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10490         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10491         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10492         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10493         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10494         Remove cases.
10496 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
10498         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10499         Adjust copyright year.
10501 2011-03-07  Ian Lance Taylor  <iant@google.com>
10503         * generic-morestack.c (__splitstack_find): Adjust returned stack
10504         pointer to include all registers pushed by __morestack.
10506 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
10508         PR target/40125
10509         * configure.ac: Call ACX_NONCANONICAL_TARGET.
10510         (toolexecdir): Calculate and AC_SUBST.
10511         (toolexeclibdir): Likewise.
10512         * Makefile.in (target_noncanonical): Import.
10513         (toolexecdir): Likewise.
10514         (toolexeclibdir): Likewise.
10515         * configure: Regenerate.
10517 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
10519         PR target/46040
10520         * config/arm/bpabi.h: Rename to...
10521         * config/arm/bpabi-lib.h: ...this.
10523 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10525         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10526         appropriate.
10527         * configure: Regenerate.
10529 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
10531         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10532         __FLOAT_WORD_ORDER__.
10533         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10534         Delete.
10536 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10538         PR other/46202
10539         * Makefile.in (install-strip): New phony target.
10541 2010-11-07  Ian Lance Taylor  <iant@google.com>
10543         PR target/46089
10544         * config/i386/morestack.S (__morestack_large_model): New
10545         function.
10547 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
10549         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10550         Delete.
10551         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10553 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
10555         * config/arm/bpabi.h: New file.
10556         * config/frv/frv-abi.h: New file.
10558 2010-10-01  Ian Lance Taylor  <iant@google.com>
10560         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10561         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10563 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
10565         PR target/45858
10566         * config.host: Add the missing `$'.
10568 2010-09-30  Michael Eager  <eager@eagercon.com>
10570         * config.host: Add microblaze*-*-*.
10571         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10572         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10573         udivsi3.asm,umodsi3.asm}:  New.
10575 2010-09-28  Ian Lance Taylor  <iant@google.com>
10577         * configure.ac: Adjust CFI test to test assembler directly rather
10578         than checking gcc preprocessor macro.
10579         * configure: Rebuild.
10581 2010-09-27  Ian Lance Taylor  <iant@google.com>
10583         * configure.ac: Test whether assembler supports CFI directives.
10584         * config.host: Only add t-stack and i386/t-stack-i386 to
10585         tmake_file if libgcc_cv_cfi is "yes".
10586         * configure: Rebuild.
10588 2010-09-27  Ian Lance Taylor  <iant@google.com>
10590         * generic-morestack.h: New file.
10591         * generic-morestack.c: New file.
10592         * generic-morestack-thread.c: New file.
10593         * config/i386/morestack.S: New file.
10594         * config/t-stack: New file.
10595         * config/i386/t-stack-i386: New file.
10596         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10597         i386/t-stack-i386 to tmake_file.
10599 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
10601         * Makefile.in (libgcc-extra-parts):  Check for static archives and
10602         invoke ranlib after installing them.
10603         (gcc-extra-parts): Likewise.
10604         (install-leaf): Likewise.
10606 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
10608         * configure: Regenerated.
10610 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
10612         * configure: Regenerated.
10614 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
10615             Andrew Pinski  <pinskia@gmail.com>
10617         PR target/40959
10618         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
10620 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10622         PR target/45524
10623         * configure: Regenerated.
10625 2010-09-06  Andreas Schwab  <schwab@redhat.com>
10627         * configure: Regenerate.
10629 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
10631         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10632         64bit targets.
10633         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10634         for 64bit targets.
10636 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
10637             Iain Sandoe  <iains@gcc.gnu.org>
10639         PR target/45476
10640         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10641         LIB2FUNCS_EXCLUDE functions.
10643 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10645         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10646         Include dfp.m4.
10647         * configure: Regenerate.
10649 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
10651         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10652         i386/t-freebsd to tmake_file.
10653         * config/i386/t-freebsd: New file.
10654         * config/i386/libgcc-bsd.ver: New file.
10656 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
10658         * config.host (powerpc*-eabispe*): Set tmake_file.
10659         (powerpc*-eabi*): Likewise.
10660         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10661         crtbeginS, crtendS, crtbeginT.
10663 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
10665         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10666         to tmake_file.  Add crtfastmath.o to extra_parts.
10667         * config/mips/t-crtfm: New.
10669 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
10671         * config.host (sparc64-*-rtems*): New target.
10673 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10675         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10676         assembler syntax.
10678 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
10680         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10682 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10684         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10685         alpha-dec-osf5.0* support.
10687 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
10689         * config.host: Add lm32-*-rtems*.
10691 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10692             Uros Bizjak  <ubizjak@gmail.com>
10694         PR target/39048
10695         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10696         like other remaining 32-bit x86 OSes.
10697         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10698         assembler syntax.
10699         * config/i386/libgcc-sol2.ver: New file.
10700         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10702 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
10704         PR c/43553
10705         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10706         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10707         is used and substitute set_use_emutls.
10708         * configure: Regenerated.
10710 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
10712         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10714 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10716         PR target/38085
10717         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10718         MULTILIB_CFLAGS.
10719         ($(T)gcrt1.o): Likewise.
10720         ($(T)crt1.o): Likewise.
10721         ($(T)crti.o): Likewise.
10722         ($(T)crtn.o): Likewise.
10724 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10726         PR other/42980
10727         * Makefile.in (install): Use $(MAKE) string in rule, for
10728         parallel make.
10730 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
10732         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10733         * config/mmix/t-mmix: New file.
10734         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10736 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
10738         PR java/41991
10739         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10740         SHLIB_MAPFILES.
10742 2010-01-04  Anthony Green  <green@moxielogic.com>
10744         * config/moxie/crti.asm, config/moxie/crtn.asm,
10745         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10746         config/moxie/t-moxie: New files.
10747         * config.host: Add t-moxie-softfp reference.
10749 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
10751         PR other/39888
10752         * config/t-slibgcc-darwin: Fix embedded rpaths for
10753         --enable-version-specific-runtime-libs, build extension stub
10754         libs exposing features available from current libgcc_s.
10756 2009-11-11  Jon Beniston  <jon@beniston.com>
10758         * config.host: Add lm32 targets.
10759         * config/lm32: New directory.
10760         * config/lm32/libgcc_lm32.h: New file.
10761         * config/lm32/_mulsi3.c: New file.
10762         * config/lm32/_udivmodsi4.c: New file.
10763         * config/lm32/_divsi3.c: New file.
10764         * config/lm32/_modsi3.c: New file.
10765         * config/lm32/_udivsi3.c: New file.
10766         * config/lm32/_umodsi3.c: New file.
10767         * config/lm32/_lshrsi3.S: New file.
10768         * config/lm32/_ashrsi3.S: New file.
10769         * config/lm32/_ashlsi3.S: New file.
10770         * config/lm32/crti.S: New file.
10771         * config/lm32/crtn.S: New file.
10772         * config/lm32/t-lm32: New file.
10773         * config/lm32/t-elf: New file.
10774         * config/lm32/t-uclinux: New file.
10776 2009-10-26  Nick Clifton  <nickc@redhat.com>
10778         * config.host: Add support for RX target.
10779         * config/rx: New directory.
10780         * config/rx/rx-abi-functions.c: New file. Supplementary
10781         functions for libgcc to support the RX ABI.
10782         * config/rx/rx-abi.h: New file.  Supplementary header file for
10783         libgcc RX ABI functions.
10784         * config/rx/t-rx: New file: Makefile fragment for building
10785         libgcc for the RX.
10787 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
10789         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10790         constraint of y0 to "g".
10792 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10794         * config.host: Include the s390 makefile fragments.
10795         * config/s390/32/_fixdfdi.c: New file.
10796         * config/s390/32/_fixsfdi.c: New file.
10797         * config/s390/32/_fixtfdi.c: New file.
10798         * config/s390/32/_fixunsdfdi.c: New file.
10799         * config/s390/32/_fixunssfdi.c: New file.
10800         * config/s390/32/_fixunstfdi.c: New file.
10801         * config/s390/32/t-floattodi: New file.
10802         * config/s390/libgcc-glibc.ver: New file.
10803         * config/s390/t-crtstuff: New file.
10804         * config/s390/t-linux: New file.
10805         * config/s390/t-tpf: New file.
10807 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10809         * configure.ac (AC_PREREQ): Bump to 2.64.
10811 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
10813         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10815 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10817         * configure: Regenerate.
10819 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
10821         * config.host (ia64-hp-*vms*): New target.
10822         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10823         with ia64-hp-*vms*.
10825 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
10827         * configure.ac: Add snippet for maintainer-mode.
10828         * configure: Regenerate.
10829         * Makefile.in (AUTOCONF, configure_deps): New variables.
10830         ($(srcdir)/configure)): New rule, active only with maintainer
10831         mode turned on.
10833 2009-06-23  DJ Delorie  <dj@redhat.com>
10835         Add MeP port.
10836         * config.host: Add mep support.
10838 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
10840         * config.host: Add i386/${host_address}/t-fprules-softfp and
10841         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
10843         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10844         for mingw targets.
10845         * config/i386/64/_multc3.c: Likewise.
10846         * config/i386/64/_powitf2.c: Likewise.
10847         * config/i386/64/eqtf2.c: Likewise.
10848         * config/i386/64/getf2.c: Likewise.
10849         * config/i386/64/letf2.c: Likewise.
10850         * config/i386/64/letf2.c: Likewise.
10851         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10852         unsigned long long for x64 mingw targets.
10853         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10854         (_FP_I_TYPE): Define as long long for x64 mingw target.
10856 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
10858         * config.host (vax-*-linux*): New.
10860 2009-05-31  Anthony Green  <green@moxielogic.com>
10862         * config.host: Add moxie support.
10863         * config/moxie/t-moxie: New file.
10865 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
10867         * config.host: Add i386/${host_address}/t-fprules-softfp and
10868         t-softfp to tmake_file for i[34567]86-*-cygwin*.
10870 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
10872         * config.host: Add i386/${host_address}/t-fprules-softfp to
10873         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10875 2009-04-09  Nick Clifton  <nickc@redhat.com>
10877         * config/ia64/tf-signs.c: Change copyright header to refer to
10878         version 3 of the GNU General Public License with version 3.1
10879         of the GCC Runtime Library Exception and to point readers at
10880         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10881         web page.
10882         * config/i386/32/tf-signs.c: Likewise.
10883         * config/libbid/_addsub_dd.c: Likewise.
10884         * config/libbid/_addsub_sd.c: Likewise.
10885         * config/libbid/_addsub_td.c: Likewise.
10886         * config/libbid/_dd_to_df.c: Likewise.
10887         * config/libbid/_dd_to_di.c: Likewise.
10888         * config/libbid/_dd_to_sd.c: Likewise.
10889         * config/libbid/_dd_to_sf.c: Likewise.
10890         * config/libbid/_dd_to_si.c: Likewise.
10891         * config/libbid/_dd_to_td.c: Likewise.
10892         * config/libbid/_dd_to_tf.c: Likewise.
10893         * config/libbid/_dd_to_udi.c: Likewise.
10894         * config/libbid/_dd_to_usi.c: Likewise.
10895         * config/libbid/_dd_to_xf.c: Likewise.
10896         * config/libbid/_df_to_dd.c: Likewise.
10897         * config/libbid/_df_to_sd.c: Likewise.
10898         * config/libbid/_df_to_td.c: Likewise.
10899         * config/libbid/_di_to_dd.c: Likewise.
10900         * config/libbid/_di_to_sd.c: Likewise.
10901         * config/libbid/_di_to_td.c: Likewise.
10902         * config/libbid/_div_dd.c: Likewise.
10903         * config/libbid/_div_sd.c: Likewise.
10904         * config/libbid/_div_td.c: Likewise.
10905         * config/libbid/_eq_dd.c: Likewise.
10906         * config/libbid/_eq_sd.c: Likewise.
10907         * config/libbid/_eq_td.c: Likewise.
10908         * config/libbid/_ge_dd.c: Likewise.
10909         * config/libbid/_ge_sd.c: Likewise.
10910         * config/libbid/_ge_td.c: Likewise.
10911         * config/libbid/_gt_dd.c: Likewise.
10912         * config/libbid/_gt_sd.c: Likewise.
10913         * config/libbid/_gt_td.c: Likewise.
10914         * config/libbid/_isinfd128.c: Likewise.
10915         * config/libbid/_isinfd32.c: Likewise.
10916         * config/libbid/_isinfd64.c: Likewise.
10917         * config/libbid/_le_dd.c: Likewise.
10918         * config/libbid/_le_sd.c: Likewise.
10919         * config/libbid/_le_td.c: Likewise.
10920         * config/libbid/_lt_dd.c: Likewise.
10921         * config/libbid/_lt_sd.c: Likewise.
10922         * config/libbid/_lt_td.c: Likewise.
10923         * config/libbid/_mul_dd.c: Likewise.
10924         * config/libbid/_mul_sd.c: Likewise.
10925         * config/libbid/_mul_td.c: Likewise.
10926         * config/libbid/_ne_dd.c: Likewise.
10927         * config/libbid/_ne_sd.c: Likewise.
10928         * config/libbid/_ne_td.c: Likewise.
10929         * config/libbid/_sd_to_dd.c: Likewise.
10930         * config/libbid/_sd_to_df.c: Likewise.
10931         * config/libbid/_sd_to_di.c: Likewise.
10932         * config/libbid/_sd_to_sf.c: Likewise.
10933         * config/libbid/_sd_to_si.c: Likewise.
10934         * config/libbid/_sd_to_td.c: Likewise.
10935         * config/libbid/_sd_to_tf.c: Likewise.
10936         * config/libbid/_sd_to_udi.c: Likewise.
10937         * config/libbid/_sd_to_usi.c: Likewise.
10938         * config/libbid/_sd_to_xf.c: Likewise.
10939         * config/libbid/_sf_to_dd.c: Likewise.
10940         * config/libbid/_sf_to_sd.c: Likewise.
10941         * config/libbid/_sf_to_td.c: Likewise.
10942         * config/libbid/_si_to_dd.c: Likewise.
10943         * config/libbid/_si_to_sd.c: Likewise.
10944         * config/libbid/_si_to_td.c: Likewise.
10945         * config/libbid/_td_to_dd.c: Likewise.
10946         * config/libbid/_td_to_df.c: Likewise.
10947         * config/libbid/_td_to_di.c: Likewise.
10948         * config/libbid/_td_to_sd.c: Likewise.
10949         * config/libbid/_td_to_sf.c: Likewise.
10950         * config/libbid/_td_to_si.c: Likewise.
10951         * config/libbid/_td_to_tf.c: Likewise.
10952         * config/libbid/_td_to_udi.c: Likewise.
10953         * config/libbid/_td_to_usi.c: Likewise.
10954         * config/libbid/_td_to_xf.c: Likewise.
10955         * config/libbid/_tf_to_dd.c: Likewise.
10956         * config/libbid/_tf_to_sd.c: Likewise.
10957         * config/libbid/_tf_to_td.c: Likewise.
10958         * config/libbid/_udi_to_dd.c: Likewise.
10959         * config/libbid/_udi_to_sd.c: Likewise.
10960         * config/libbid/_udi_to_td.c: Likewise.
10961         * config/libbid/_unord_dd.c: Likewise.
10962         * config/libbid/_unord_sd.c: Likewise.
10963         * config/libbid/_unord_td.c: Likewise.
10964         * config/libbid/_usi_to_dd.c: Likewise.
10965         * config/libbid/_usi_to_sd.c: Likewise.
10966         * config/libbid/_usi_to_td.c: Likewise.
10967         * config/libbid/_xf_to_dd.c: Likewise.
10968         * config/libbid/_xf_to_sd.c: Likewise.
10969         * config/libbid/_xf_to_td.c: Likewise.
10970         * config/libbid/bid128.c: Likewise.
10971         * config/libbid/bid128_2_str.h: Likewise.
10972         * config/libbid/bid128_2_str_macros.h: Likewise.
10973         * config/libbid/bid128_2_str_tables.c: Likewise.
10974         * config/libbid/bid128_add.c: Likewise.
10975         * config/libbid/bid128_compare.c: Likewise.
10976         * config/libbid/bid128_div.c: Likewise.
10977         * config/libbid/bid128_fma.c: Likewise.
10978         * config/libbid/bid128_logb.c: Likewise.
10979         * config/libbid/bid128_minmax.c: Likewise.
10980         * config/libbid/bid128_mul.c: Likewise.
10981         * config/libbid/bid128_next.c: Likewise.
10982         * config/libbid/bid128_noncomp.c: Likewise.
10983         * config/libbid/bid128_quantize.c: Likewise.
10984         * config/libbid/bid128_rem.c: Likewise.
10985         * config/libbid/bid128_round_integral.c: Likewise.
10986         * config/libbid/bid128_scalb.c: Likewise.
10987         * config/libbid/bid128_sqrt.c: Likewise.
10988         * config/libbid/bid128_string.c: Likewise.
10989         * config/libbid/bid128_to_int16.c: Likewise.
10990         * config/libbid/bid128_to_int32.c: Likewise.
10991         * config/libbid/bid128_to_int64.c: Likewise.
10992         * config/libbid/bid128_to_int8.c: Likewise.
10993         * config/libbid/bid128_to_uint16.c: Likewise.
10994         * config/libbid/bid128_to_uint32.c: Likewise.
10995         * config/libbid/bid128_to_uint64.c: Likewise.
10996         * config/libbid/bid128_to_uint8.c: Likewise.
10997         * config/libbid/bid32_to_bid128.c: Likewise.
10998         * config/libbid/bid32_to_bid64.c: Likewise.
10999         * config/libbid/bid64_add.c: Likewise.
11000         * config/libbid/bid64_compare.c: Likewise.
11001         * config/libbid/bid64_div.c: Likewise.
11002         * config/libbid/bid64_fma.c: Likewise.
11003         * config/libbid/bid64_logb.c: Likewise.
11004         * config/libbid/bid64_minmax.c: Likewise.
11005         * config/libbid/bid64_mul.c: Likewise.
11006         * config/libbid/bid64_next.c: Likewise.
11007         * config/libbid/bid64_noncomp.c: Likewise.
11008         * config/libbid/bid64_quantize.c: Likewise.
11009         * config/libbid/bid64_rem.c: Likewise.
11010         * config/libbid/bid64_round_integral.c: Likewise.
11011         * config/libbid/bid64_scalb.c: Likewise.
11012         * config/libbid/bid64_sqrt.c: Likewise.
11013         * config/libbid/bid64_string.c: Likewise.
11014         * config/libbid/bid64_to_bid128.c: Likewise.
11015         * config/libbid/bid64_to_int16.c: Likewise.
11016         * config/libbid/bid64_to_int32.c: Likewise.
11017         * config/libbid/bid64_to_int64.c: Likewise.
11018         * config/libbid/bid64_to_int8.c: Likewise.
11019         * config/libbid/bid64_to_uint16.c: Likewise.
11020         * config/libbid/bid64_to_uint32.c: Likewise.
11021         * config/libbid/bid64_to_uint64.c: Likewise.
11022         * config/libbid/bid64_to_uint8.c: Likewise.
11023         * config/libbid/bid_b2d.h: Likewise.
11024         * config/libbid/bid_binarydecimal.c: Likewise.
11025         * config/libbid/bid_conf.h: Likewise.
11026         * config/libbid/bid_convert_data.c: Likewise.
11027         * config/libbid/bid_decimal_data.c: Likewise.
11028         * config/libbid/bid_decimal_globals.c: Likewise.
11029         * config/libbid/bid_div_macros.h: Likewise.
11030         * config/libbid/bid_dpd.c: Likewise.
11031         * config/libbid/bid_flag_operations.c: Likewise.
11032         * config/libbid/bid_from_int.c: Likewise.
11033         * config/libbid/bid_functions.h: Likewise.
11034         * config/libbid/bid_gcc_intrinsics.h: Likewise.
11035         * config/libbid/bid_inline_add.h: Likewise.
11036         * config/libbid/bid_internal.h: Likewise.
11037         * config/libbid/bid_round.c: Likewise.
11038         * config/libbid/bid_sqrt_macros.h: Likewise.
11040 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
11042         * Makefile.in: Change copyright header to refer to version
11043         3 of the GNU General Public License and to point readers at the
11044         COPYING3 file and the FSF's license web page.
11045         * config.host: Likewise.
11047 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
11049         * config.host: Reorder and merge to match config.gcc change.
11051 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
11053         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11055 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
11057         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11058         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11059         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11060         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11062 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
11064         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11065         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11067 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
11069         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11070         ia64/t-softfp-compat to tmake_file.
11072         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11074         * config/ia64/__divxf3.asm: New.
11075         * config/ia64/_fixtfdi.asm: Likewise.
11076         * config/ia64/_fixunstfdi.asm: Likewise.
11077         * config/ia64/_floatditf.asm: Likewise.
11078         * config/ia64/t-fprules-softfp: Likewise.
11079         * config/ia64/t-softfp-compat: Likewise.
11080         * config/ia64/tf-signs.c: Likewise.
11082 2009-01-18  Ben Elliston  <bje@au.ibm.com>
11084         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11086 2009-01-16  Ben Elliston  <bje@au.ibm.com>
11088         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11089         to tmake_file.
11091 2009-01-13  Ben Elliston  <bje@au.ibm.com>
11093         * config/t-softfp: New file.
11094         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11095         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11097 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
11099         * config.host: Add m32r*-*-rtems*.
11101 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
11103         * config.host: Add m32c*-*-rtems*.
11105 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11107         PR bootstrap/33100
11108         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11109         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11110         * configure: Regenerate.
11111         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11112         tmake_file here from gcc/config.gcc.
11113         Move extra_parts here from gcc/config.gcc.
11114         * config/i386/t-sol2: Move here from gcc/config/i386.
11115         Use gcc_srcdir instead of srcdir.
11117 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
11119         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11120         case.
11122 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
11124         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11126 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
11128         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11130 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
11132         Add picoChip port.
11133         * config.host: Add picochip-*-*.
11135 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
11137         * config.host: Match more processor names for Xtensa.
11139 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
11141         * config/i386/64/t-softfp-compat: Update comments.
11143 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11145         * config/i386/64/_divtc3-compat.c: Moved to ...
11146         * config/i386/64/_divtc3.c: Here.
11148         * config/i386/64/_multc3-compat.c: Moved to ...
11149         * config/i386/64/_multc3.c: Here.
11151         * config/i386/64/_powitf2-compat.c: Moved to ...
11152         * config/i386/64/_powitf2.c: Here.
11154         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11155         .c suffix instead of -compat.c.
11157 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
11159         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11160         (_FP_MUL_MEAT_D): Ditto.
11161         (_FP_DIV_MEAT_S): Ditto.
11162         (_FP_DIV_MEAT_D): Ditto.
11164 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
11166         * Makefile.in: Add support for __sync_* libgcc functions.
11168 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
11170         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11172 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11174         PR boostrap/36702
11175         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11176         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
11178         * config/i386/64/t-fprules-softfp: Moved to ...
11179         * config/i386/64/t-softfp-compat: This.  New.
11181 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
11183         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11184         Initialize f with 0.0.
11186 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11188         PR target/36669
11189         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11191         * config/i386/64/_divtc3-compat.c: New.
11192         * config/i386/64/_multc3-compat.c: Likewise.
11193         * config/i386/64/_powitf2-compat.c: Likewise.
11194         * config/i386/64/eqtf2.c: Likewise.
11195         * config/i386/64/getf2.c: Likewise.
11196         * config/i386/64/letf2.c: Likewise.
11197         * config/i386/64/t-fprules-softfp: Likewise.
11199 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11201         * config.host: Add i386/${host_address}/t-fprules-softfp to
11202         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
11203         i[34567]86-*-linux*, x86_64-*-linux*.
11205         * configure.ac: Set host_address to 64 or 32 for x86.
11206         * configure: Regenerated.
11208         * Makefile.in (config.status): Also depend on
11209         $(srcdir)/config.host.
11211         * config/i386/32/t-fprules-softfp: New.
11212         * config/i386/32/tf-signs.c: Likewise.
11214         * config/i386/64/sfp-machine.h: New. Moved from gcc.
11216 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11217             Uros Bizjak  <ubizjak@gmail.com>
11219         * config/i386/32/sfp-machine.h: New.
11221 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
11223         * config/rs6000/t-ppccomm: Remove rules that conflict with
11224         auto-generated rules.
11226 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11228         * configure.ac: sinclude override.m4.
11229         * configure: Regenerate.
11231 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
11233         * configure: Regenerate.
11235 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
11237         * Makefile.in (DECNUMINC): Remove
11238         -I$(MULTIBUILDTOP)../../libdecnumber.
11239         * gstdint.h: New.
11241 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
11243         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11244         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11245         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11246         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11247         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11248         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11249         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11250         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11251         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11252         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11253         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11254         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11255         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11256         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11258 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
11260         * config.host (sh2[lbe]*-*-linux*): Allow target.
11262 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
11264         * config/rs6000/t-ppccomm: Add build rules for new files.
11265         (LIB2ADD_ST): New variable.
11267 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
11269         PR target/34210
11270         PR target/35508
11271         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11272         * config/t-avr: New file. Build 16bit libgcc functions.
11274 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
11276         PR target/35401
11277         * config/t-slibgcc-darwin: Make install-leaf dependent on
11278         install-darwin-libgcc-stubs instead of install.
11280 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
11282         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11283         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11284         sh-*-rtemscoff*): Remove cases.
11286 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
11288         * Makefile.in (all): Use install-leaf rather than install.
11289         (install): Split most of the rule into...
11290         (install-leaf): ...this new one.
11292 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
11293             Paolo Bonzini  <bonzini@gnu.org>
11295         PR target/30572
11296         * Makefile.in: Use @shlib_slibdir@ substitution to get
11297         correct install name on darwin.
11298         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
11300 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
11302         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11303         cris-*-elf and cris-*-none.
11304         (crisv32-*-linux*): Similar, as cris-*-linux*.
11306 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
11308         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11310 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
11312         PR regression/33926
11313         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11314         * configure: Regenerated.
11316 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
11318         * Makefile.in (dfp-filenames): Replace decimal_globals,
11319         decimal_data, binarydecimal and convert_data with
11320         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11321         and bid_convert_data, respectively.
11323 2007-09-17  Chao-ying Fu  <fu@mips.com>
11324             Nigel Stephens  <nigel@mips.com>
11326         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11327         * Makefile.in (fixed_point): Define.
11328         Check if fixed_point is yes to build support functions.
11329         * configure.ac: Check for fixed_point support.
11330         * configure: Regenerated.
11331         * gen-fixed.sh: New file to generate lists of fixed-point labels,
11332         funcs, modes, from, to.
11334 2007-09-11  Janis Johnson  <janis187@us.ibm.com
11336         * Makefile.in (dfp-filenames): Add bid128_noncomp.
11338 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
11340         * Makefile.in (dfp-filenames): Remove decUtility, add
11341         decDouble, decPacked, decQuad, decSingle.
11343 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
11345         * config.host : Add x86_64-elf target.
11347 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
11349         * configure.ac (set_have_cc_tls): Add a missing =.
11350         * configure: Regenerated.
11352 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
11354         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11355         and x86_64-*-linux*.
11357         * config/t-tls: New file.
11359         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
11361         * configure.ac: Include ../config/enable.m4 and
11362         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
11363         supports TLS and substitute set_have_cc_tls.
11364         * configure: Regenerated.
11366 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
11368         * Makefile.in: Use libbid for DFP when BID is enabled.
11370 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
11372         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
11373         extra_parts. Add config/i386/t-cygming to tmake_file.
11374         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11376 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
11377             Danny Smith  <dannysmith@users.sourceforge.net>
11379         PR target/29498
11380         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11381         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
11382         * config/i386/t-crtfm: Compile crtfastmath.o with
11383         -minline-all-stringops.
11385 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
11387         * config.host (sparc-wrs-vxworks): New target.
11389 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
11391         * config.host: Recognize fido.
11393 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
11395         * configure: Check host, not target, for decimal float support.
11397 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
11399         * config/i386/t-crtpc: New file.
11400         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
11401         (x86_64-*-linux*): Ditto.
11403 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
11405         * config.host (x86_64-*-mingw*): New target.
11407 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
11408             H.J. Lu  <hongjiu.lu@intel.com>
11410         * Makefile.in (enable_decimal_float): New.
11411         (DECNUMINC): Add
11412         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11413         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11414         (decbits-filenames): This.
11415         (decbits-objects): New.
11416         (libgcc-objects): Add $(decbits-objects).
11418         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11419         Substitute enable_decimal_float.
11420         * configure: Regenerated.
11422 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
11424         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11426 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
11428         * Makefile.in (install-info): New dummy target.
11430 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
11432         * config.host (bfin*-linux-uclibc*): Set extra_parts.
11434 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
11436         * Makefile.in: Add install-html and install-pdf dummy
11437         targets.
11439 2007-02-05  Roger Sayle  <roger@eyesopen.com>
11440             Daniel Jacobowitz  <dan@codesourcery.com>
11442         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11443         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11444         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11446 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
11448         * Makefile.in (dec-filenames): Add decExcept.
11450 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
11452         PR bootstrap/30469
11453         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11454         -fprofile-use.
11456 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
11458         * configure.ac: Add --enable-version-specific-runtime-libs.
11459         Correct $slibdir default.
11460         * configure: Regenerated.
11462 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
11464         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11466 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
11468         PR target/30519
11469         * config.host (alpha*-*-linux*): Set extra_parts.
11471 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
11473         * config/sh/t-linux: New.
11474         * config.host (sh*-*-linux*): Set tmake_file.
11476 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
11478         * Makefile.in (install): Handle multilibs.
11480 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
11482         * Makefile.in: Added .PHONY entry for documentation targets.
11484 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
11486         * Makefile.in: Add empty info, html, dvi, pdf targets.
11488 2007-01-04  Mike Stump  <mrs@apple.com>
11490         * Makefile.in (MAKEINFO): Remove.
11491         (PERL): Likewise.
11493 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
11495         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11496         * configure: Regenerate.
11497         * Makefile.in (host_subdir): Substitute it.
11498         (gcc_objdir): Use it.
11500 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11502         * config.host (ia64*-*-linux*): Set tmake_file.
11504 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
11506         * Makefile.in (version): Define.
11508 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
11509             Paolo Bonzini  <bonzini@gnu.org>
11511         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11512         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11513         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11514         config/sparc/t-crtfm, config/t-slibgcc-darwin,
11515         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11516         shared-object.mk, siditi-object.mk, static-object.mk: New files.
11517         * configure: Generated.
11519 Copyright (C) 2007-2021 Free Software Foundation, Inc.
11521 Copying and distribution of this file, with or without modification,
11522 are permitted in any medium without royalty provided the copyright
11523 notice and this notice are preserved.