Match: Refactor the unsigned SAT_ADD match pattern [NFC]
[gcc.git] / libgcc / ChangeLog
blobb1e80f1ab07b5ec24a33a64011d896fc649f6810
1 2024-11-19  Evgeny Karpov  <evgeny.karpov@microsoft.com>
3         * config.host: Update.
4         * config/aarch64/t-mingw: New.
6 2024-11-18  Jeff Law  <jlaw@ventanamicro.com>
8         PR target/117628
9         * config/arm/freebsd-atomic.c (bool): Remove unnecessary typedef.
10         * config/arm/linux-atomic-64bit.c: Likewise.
11         * config/arm/linux-atomic.c: Likewise.
12         * config/nds32/linux-atomic.c: Likewise.
13         * config/nios2/linux-atomic.c: Likewise.
15 2024-11-18  Jeff Law  <jlaw@ventanamicro.com>
17         PR target/117628
18         * config/csky/linux-atomic.c (bool): Remove unnecessary typedef.
19         * unwind-arm-common.inc (bool): Similarly.
21 2024-11-17  John David Anglin  <danglin@gcc.gnu.org>
23         PR target/117627
24         * config/pa/linux-atomic.c: Remove typedef for bool type.
26 2024-11-16  Jakub Jelinek  <jakub@redhat.com>
28         PR libgcc/117624
29         * libgcc2.c (INFINITY): Add #undef before #define.
31 2024-11-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33         * config/aarch64/aarch64-asm.h (FEATURE_1_GCS): Define.
34         (GCS_FLAG): Define if GCS is enabled.
35         (GNU_PROPERTY): Add GCS_FLAG.
37 2024-11-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
39         * config/aarch64/aarch64-unwind.h (_Unwind_Frames_Extra): Update.
40         (_Unwind_Frames_Increment): Define.
42 2024-10-25  Jakub Jelinek  <jakub@redhat.com>
44         * crtstuff.c: Remove trailing whitespace.
45         * libgcov.h: Likewise.
46         * config/alpha/crtfastmath.c: Likewise.
47         * config/alpha/vms-gcc_shell_handler.c: Likewise.
48         * config/alpha/vms-unwind.h: Likewise.
49         * config/pa/linux-atomic.c: Likewise.
50         * config/pa/linux-unwind.h: Likewise.
51         * config/pa/quadlib.c: Likewise.
52         * config/pa/fptr.c: Likewise.
53         * config/s390/32/_fixsfdi.c: Likewise.
54         * config/s390/32/_fixunssfdi.c: Likewise.
55         * config/s390/32/_fixunsdfdi.c: Likewise.
56         * config/c6x/pr-support.c: Likewise.
57         * config/lm32/_udivsi3.c: Likewise.
58         * config/lm32/libgcc_lm32.h: Likewise.
59         * config/lm32/_udivmodsi4.c: Likewise.
60         * config/lm32/_mulsi3.c: Likewise.
61         * config/lm32/_modsi3.c: Likewise.
62         * config/lm32/_umodsi3.c: Likewise.
63         * config/lm32/_divsi3.c: Likewise.
64         * config/darwin-crt3.c: Likewise.
65         * config/msp430/mpy.c: Likewise.
66         * config/ia64/tf-signs.c: Likewise.
67         * config/ia64/fde-vms.c: Likewise.
68         * config/ia64/unwind-ia64.c: Likewise.
69         * config/ia64/vms-unwind.h: Likewise.
70         * config/ia64/sfp-exceptions.c: Likewise.
71         * config/ia64/quadlib.c: Likewise.
72         * config/ia64/unwind-ia64.h: Likewise.
73         * config/rl78/vregs.h: Likewise.
74         * config/arm/bpabi.c: Likewise.
75         * config/arm/unwind-arm.c: Likewise.
76         * config/arm/pr-support.c: Likewise.
77         * config/arm/linux-atomic.c: Likewise.
78         * config/arm/bpabi-lib.h: Likewise.
79         * config/frv/frvend.c: Likewise.
80         * config/frv/cmovw.c: Likewise.
81         * config/frv/frvbegin.c: Likewise.
82         * config/frv/cmovd.c: Likewise.
83         * config/frv/cmovh.c: Likewise.
84         * config/aarch64/cpuinfo.c: Likewise.
85         * config/i386/crtfastmath.c: Likewise.
86         * config/i386/cygming-crtend.c: Likewise.
87         * config/i386/32/tf-signs.c: Likewise.
88         * config/i386/crtprec.c: Likewise.
89         * config/i386/sfp-exceptions.c: Likewise.
90         * config/i386/w32-unwind.h: Likewise.
91         * config/m32r/initfini.c: Likewise.
92         * config/sparc/crtfastmath.c: Likewise.
93         * config/gcn/amdgcn_veclib.h: Likewise.
94         * config/nios2/linux-atomic.c: Likewise.
95         * config/nios2/linux-unwind.h: Likewise.
96         * config/nios2/lib2-mul.c: Likewise.
97         * config/nios2/lib2-nios2.h: Likewise.
98         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
99         * config/rs6000/darwin-fallback.c: Likewise.
100         * config/rs6000/ibm-ldouble.c: Likewise.
101         * config/rs6000/sfp-machine.h: Likewise.
102         * config/rs6000/darwin-asm.h: Likewise.
103         * config/rs6000/darwin-crt2.c: Likewise.
104         * config/rs6000/aix-unwind.h: Likewise.
105         * config/rs6000/sfp-exceptions.c: Likewise.
106         * config/gthr-vxworks.c: Likewise.
107         * config/riscv/atomic.c: Likewise.
108         * config/visium/memcpy.c: Likewise.
109         * config/darwin-crt-tm.c: Likewise.
110         * config/stormy16/lib2funcs.c: Likewise.
111         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
112         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
113         * config/arc/initfini.c: Likewise.
114         * config/sol2/gmon.c: Likewise.
115         * config/microblaze/divsi3_table.c: Likewise.
116         * config/m68k/fpgnulib.c: Likewise.
117         * libgcov-driver.c: Likewise.
118         * unwind-dw2.c: Likewise.
119         * fp-bit.c: Likewise.
120         * dfp-bit.h: Likewise.
121         * dfp-bit.c: Likewise.
122         * libgcov-driver-system.c: Likewise.
124 2024-10-24  David Malcolm  <dmalcolm@redhat.com>
125             Gaius Mulley  <gaiusmod2@gmail.com>
127         PR other/116613
128         * libgcov-util.c: Add #define INCLUDE_MEMORY.
130 2024-10-17  Christophe Lyon  <christophe.lyon@linaro.org>
132         * config/aarch64/t-aarch64: Always use -Werror
133         -Wno-prio-ctor-dtor.
135 2024-10-17  Christophe Lyon  <christophe.lyon@linaro.org>
137         * config/aarch64/cpuinfo.c (__init_cpu_features_resolver): Add
138         prototype.
139         (__init_cpu_features): Likewise.
141 2024-10-17  Christophe Lyon  <christophe.lyon@linaro.org>
143         * config/aarch64/lse.S: Undefine L() macro.
145 2024-10-14  Yangyu Chen  <chenyangyu@isrc.iscas.ac.cn>
147         * config/riscv/feature_bits.c (__init_riscv_features_bits_linux):
148         Add detailed comments on processing implied extensions.
150 2024-10-14  Kito Cheng  <kito.cheng@sifive.com>
152         * config/riscv/feature_bits.c: New.
153         * config/riscv/t-elf (LIB2ADD): Add feature_bits.c.
155 2024-10-10  Sébastien Michelland  <sebastien.michelland@lcis.grenoble-inp.fr>
157         PR target/29845
158         * config.host (sh-*-elf*): Replace fdpbit with softfp.
159         * config/sh/sfp-machine.h: New file.
161 2024-10-04  Tsung Chun Lin  <tclin914@gmail.com>
163         * config/riscv/save-restore.S: Fix .cfi_offset for saving ra in
164         __riscv_save_[0-3] on ilp32e.
166 2024-10-01  Tsung Chun Lin  <tclin914@gmail.com>
168         * config/riscv/save-restore.S: Fix .cfi_offset for
169         __riscv_save_[0-3] on RV32.
171 2024-09-27  Matthieu Longo  <matthieu.longo@arm.com>
173         * config/aarch64/aarch64-unwind.h: Fix header path.
175 2024-09-27  Mark Mentovai  <mark@mentovai.com>
177         PR target/116809
178         * config.host: Don't build legacy libgcc_s.1 on macOS 14.
180 2024-09-27  Jim Lin  <jim@andestech.com>
182         * config/riscv/save-restore.S: Check with __riscv_abi_rve rather than
183         __riscv_32e.
185 2024-09-26  Nathaniel Shead  <nathanieloshead@gmail.com>
187         PR libstdc++/115126
188         * gthr-posix.h (__GTHREAD_ALWAYS_INLINE): New macro.
189         (__GTHREAD_INLINE): New macro.
190         (__gthread_active): Convert from variable to (hidden) function.
191         (__gthread_active_p): Mark as __GTHREAD_INLINE instead of
192         static; make visibility("hidden") when it has a static local
193         variable.
194         (__gthread_trigger): Mark as __GTHREAD_INLINE instead of static.
195         (__gthread_create): Likewise.
196         (__gthread_join): Likewise.
197         (__gthread_detach): Likewise.
198         (__gthread_equal): Likewise.
199         (__gthread_self): Likewise.
200         (__gthread_yield): Likewise.
201         (__gthread_once): Likewise.
202         (__gthread_key_create): Likewise.
203         (__gthread_key_delete): Likewise.
204         (__gthread_getspecific): Likewise.
205         (__gthread_setspecific): Likewise.
206         (__gthread_mutex_init_function): Likewise.
207         (__gthread_mutex_destroy): Likewise.
208         (__gthread_mutex_lock): Likewise.
209         (__gthread_mutex_trylock): Likewise.
210         (__gthread_mutex_timedlock): Likewise.
211         (__gthread_mutex_unlock): Likewise.
212         (__gthread_recursive_mutex_init_function): Likewise.
213         (__gthread_recursive_mutex_lock): Likewise.
214         (__gthread_recursive_mutex_trylock): Likewise.
215         (__gthread_recursive_mutex_timedlock): Likewise.
216         (__gthread_recursive_mutex_unlock): Likewise.
217         (__gthread_recursive_mutex_destroy): Likewise.
218         (__gthread_cond_init_function): Likewise.
219         (__gthread_cond_broadcast): Likewise.
220         (__gthread_cond_signal): Likewise.
221         (__gthread_cond_wait): Likewise.
222         (__gthread_cond_timedwait): Likewise.
223         (__gthread_cond_wait_recursive): Likewise.
224         (__gthread_cond_destroy): Likewise.
225         (__gthread_rwlock_rdlock): Likewise.
226         (__gthread_rwlock_tryrdlock): Likewise.
227         (__gthread_rwlock_wrlock): Likewise.
228         (__gthread_rwlock_trywrlock): Likewise.
229         (__gthread_rwlock_unlock): Likewise.
230         * gthr-single.h: (__GTHREAD_ALWAYS_INLINE): New macro.
231         (__GTHREAD_INLINE): New macro.
232         (__gthread_active_p): Mark as __GTHREAD_INLINE instead of static.
233         (__gthread_once): Likewise.
234         (__gthread_key_create): Likewise.
235         (__gthread_key_delete): Likewise.
236         (__gthread_getspecific): Likewise.
237         (__gthread_setspecific): Likewise.
238         (__gthread_mutex_destroy): Likewise.
239         (__gthread_mutex_lock): Likewise.
240         (__gthread_mutex_trylock): Likewise.
241         (__gthread_mutex_unlock): Likewise.
242         (__gthread_recursive_mutex_lock): Likewise.
243         (__gthread_recursive_mutex_trylock): Likewise.
244         (__gthread_recursive_mutex_unlock): Likewise.
245         (__gthread_recursive_mutex_destroy): Likewise.
247 2024-09-24  Iain Sandoe  <iain@sandoe.co.uk>
249         PR target/116809
250         * config.host: Build legacy libgcc_s.1 on hosts before macOS 15.
251         * config/i386/t-darwin: Remove reference to legacy libgcc_s.1
252         * config/rs6000/t-darwin: Likewise.
253         * config/t-darwin-libgccs1: New file.
255 2024-09-23  Matthieu Longo  <matthieu.longo@arm.com>
257         * config/aarch64/aarch64-asm.h (PACIASP): Replace SPARC CFI
258         directive by AArch64 one.
259         (AUTIASP): Same.
261 2024-09-23  Matthieu Longo  <matthieu.longo@arm.com>
263         * Makefile.in: New target for symbolic link to md-unwind-def.h
264         * config.host: New parameter md_unwind_def_header. Set it to
265         aarch64/aarch64-unwind-def.h for AArch64 targets, or no-unwind.h
266         by default.
267         * config/aarch64/aarch64-unwind.h
268         (aarch64_pointer_auth_key): Move to aarch64-unwind-def.h
269         (aarch64_cie_aug_handler): Update.
270         (aarch64_arch_extension_frame_init): Update.
271         (aarch64_demangle_return_addr): Update.
272         * configure.ac: New substitute variable md_unwind_def_header.
273         * unwind-dw2.h (defined): MD_ARCH_FRAME_STATE_T.
274         * config/aarch64/aarch64-unwind-def.h: New file.
275         * configure: Regenerate.
276         * config/no-unwind.h: Updated comment
278 2024-09-23  Matthieu Longo  <matthieu.longo@arm.com>
280         * config/aarch64/aarch64-unwind.h
281         (MD_FRAME_LOCAL_REGISTER_P): new handler checking whether a register
282         from the current context needs to be skipped before installation into
283         the target context.
284         (aarch64_frame_local_register): Likewise.
285         * unwind-dw2.c (uw_install_context_1): use MD_FRAME_LOCAL_REGISTER_P.
287 2024-09-23  Matthieu Longo  <matthieu.longo@arm.com>
289         * config/aarch64/aarch64-unwind.h
290         (AARCH64_DWARF_RA_STATE_MASK): The mask for RA state register.
291         (aarch64_ra_signing_method_t): The diversifiers used to sign a
292         function's return address.
293         (aarch64_pointer_auth_key): The key used to sign a function's
294         return address.
295         (aarch64_cie_signed_with_b_key): Deleted as the signing key is
296         available now in _Unwind_FrameState.
297         (MD_ARCH_EXTENSION_CIE_AUG_HANDLER): New CIE augmentation string
298         handler for architecture extensions.
299         (MD_ARCH_EXTENSION_FRAME_INIT): New architecture-extension
300         initialization routine for DWARF frame state and context before
301         execution of DWARF instructions.
302         (aarch64_context_ra_state_get): Read RA state register from CONTEXT.
303         (aarch64_ra_state_get): Read RA state register from FS.
304         (aarch64_ra_state_set): Write RA state register into FS.
305         (aarch64_ra_state_toggle): Toggle RA state register in FS.
306         (aarch64_cie_aug_handler): Handler AArch64 augmentation strings.
307         (aarch64_arch_extension_frame_init): Initialize defaults for the
308         signing key (PAUTH_KEY_A), and RA state register (RA_no_signing).
309         (aarch64_demangle_return_addr): Rely on the frame registers and
310         the signing_key attribute in _Unwind_FrameState.
311         * unwind-dw2-execute_cfa.h:
312         Use the right alias DW_CFA_AARCH64_negate_ra_state for __aarch64__
313         instead of DW_CFA_GNU_window_save.
314         (DW_CFA_AARCH64_negate_ra_state): Save the signing method in RA
315         state register. Toggle RA state register without resetting 'how'
316         to REG_UNSAVED.
317         * unwind-dw2.c:
318         (extract_cie_info): Save the signing key in the current
319         _Unwind_FrameState while parsing the augmentation data.
320         (uw_frame_state_for): Reset some attributes related to architecture
321         extensions in _Unwind_FrameState.
322         (uw_update_context): Move authentication code to AArch64 unwinding.
323         * unwind-dw2.h (enum register_rule): Give a name to the existing
324         enum for the register rules, and replace 'unsigned char' by 'enum
325         register_rule' to facilitate debugging in GDB.
326         (_Unwind_FrameState): Add a new architecture-extension attribute
327         to store the signing key.
329 2024-09-22  Iain Sandoe  <iain@sandoe.co.uk>
331         * config.host: From macOS 11, limit earliest macOS support
332         to macOS 11.
333         * config/t-darwin-min-11: New file.
335 2024-08-27  YunQiang Su  <syq@gcc.gnu.org>
337         * config/mips/lib1funcs.S: Includes mips16.S.
339 2024-06-10  Jan Beulich  <jbeulich@suse.com>
341         * config/aarch64/cpuinfo.c: Provide AT_HWCAP2.
343 2024-06-06  Andre Vieira  <andre.simoesdiasvieira@arm.com>
345         PR target/115360
346         * config/arm/cmse_nonsecure_call.S: Add .type and .size directives.
348 2024-06-06  Thomas Schwinge  <tschwinge@baylibre.com>
349             Andrew Stubbs  <ams@gcc.gnu.org>
351         * config/nvptx/t-nvptx: Add unwind-nvptx.c.
352         * config/nvptx/unwind-nvptx.c: New file.
354 2024-06-06  Thomas Schwinge  <tschwinge@baylibre.com>
356         * config/nvptx/gbl-ctors.c ["mgomp"]
357         (__do_global_ctors__entry__mgomp)
358         (__do_global_dtors__entry__mgomp): New.
359         [!"mgomp"] (__do_global_ctors__entry, __do_global_dtors__entry):
360         New.
362 2024-06-05  Wilco Dijkstra  <wilco.dijkstra@arm.com>
364         PR target/115342
365         * config/aarch64/cpuinfo.c (__init_cpu_features_constructor):
366         Use HWCAP where possible.  Use atomic write for initialization.
367         Fix FEAT_PREDRES comparison.
368         (__init_cpu_features_resolver): Use atomic load for correct
369         initialization.
370         (__init_cpu_features): Likewise.
372 2024-05-31  Thomas Schwinge  <tschwinge@baylibre.com>
374         * config/nvptx/crt0.c (__gbl_ctors): New weak function.
375         (__main): Invoke it.
376         * config/nvptx/gbl-ctors.c: New.
377         * config/nvptx/t-nvptx: Configure global constructor, destructor
378         support.
380 2024-05-21  Kewen Lin  <linkw@linux.ibm.com>
382         * config.host: Remove powerpc-*-eabispe* support.
383         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Remove
384         __SPE__ code.
385         * config/rs6000/t-savresfgpr (LIB2ADD_ST): Remove e500crtres32gpr.S,
386         e500crtres32gpr.S, e500crtsav64gpr.S, e500crtsav64gprctr.S,
387         e500crtres64gpr.S, e500crtsav32gpr.S, e500crtsavg32gpr.S,
388         e500crtres64gprctr.S, e500crtsavg64gprctr.S, e500crtresx32gpr.S,
389         e500crtrest32gpr.S, e500crtrest64gpr.S and e500crtresx64gpr.S.
390         * config/rs6000/e500crtres32gpr.S: Remove.
391         * config/rs6000/e500crtres64gpr.S: Remove.
392         * config/rs6000/e500crtres64gprctr.S: Remove.
393         * config/rs6000/e500crtrest32gpr.S: Remove.
394         * config/rs6000/e500crtrest64gpr.S: Remove.
395         * config/rs6000/e500crtresx32gpr.S: Remove.
396         * config/rs6000/e500crtresx64gpr.S: Remove.
397         * config/rs6000/e500crtsav32gpr.S: Remove.
398         * config/rs6000/e500crtsav64gpr.S: Remove.
399         * config/rs6000/e500crtsav64gprctr.S: Remove.
400         * config/rs6000/e500crtsavg32gpr.S: Remove.
401         * config/rs6000/e500crtsavg64gpr.S: Remove.
402         * config/rs6000/e500crtsavg64gprctr.S: Remove.
404 2024-05-18  Wolfgang Hospital  <Wolfgang.Hospital@arcor.de>
406         PR target/115065
407         * config/avr/lib1funcs.S (__clzhi2): Tweak.
409 2024-05-10  Georg-Johann Lay  <avr@gjlay.de>
411         PR target/114981
412         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _powisf2.
413         (LIB1ASMFUNCS) [!avrtiny]: Add _powif.
414         * config/avr/lib1funcs.S (mov4): New .macro.
415         (L_powif, __powisf2) [!avrtiny]: New module and function.
417 2024-05-07  Zac Walker  <zacwalker@microsoft.com>
419         * config.host: Add aarch64-w64-mingw32 target. Adjust targets
420         after moving MinGW files.
421         * config/i386/t-gthr-win32: Move to...
422         * config/mingw/t-gthr-win32: ...here.
423         * config/i386/t-mingw-pthread: Move to...
424         * config/mingw/t-mingw-pthread: ...here.
425         * config/aarch64/t-no-eh: New file. EH is not yet implemented for
426         the target, and the default definition should be disabled.
428 2024-05-07  Wolfgang Hospital  <Wolfgang.Hospital@arcor.de>
430         PR target/114835
431         * config/avr/lib1funcs.S (__popcountqi2): Use code that
432         is one instruction shorter / faster.
434 2024-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
436         * configure.ac <*-*-solaris2*> (libgcc_cv_solaris_crts): Remove.
437         * config.host <*-*-solaris2*>: Remove !libgcc_cv_solaris_crts
438         support.
439         * configure, config.in: Regenerate.
440         * config/sol2/gmon.c (internal_mcount) [!HAVE_SOLARIS_CRTS]: Remove.
441         * config/i386/sol2-c1.S, config/sparc/sol2-c1.S: Remove.
442         * config/sol2/t-sol2 (crt1.o, gcrt1.o): Remove.
444 2024-05-06  Xiao Zeng  <zengxiao@eswincomputing.com>
445             Jin Ma  <jinma@linux.alibaba.com>
447         * config/riscv/sfp-machine.h (_FP_NANFRAC_B): New.
448         (_FP_NANSIGN_B): Ditto.
449         * config/riscv/t-softfp32: Add support for BF16 libfuncs.
450         * config/riscv/t-softfp64: Ditto.
451         * soft-fp/floatsibf.c: For si -> bf16.
452         * soft-fp/floatunsibf.c: For unsi -> bf16.
454 2024-05-03  Peter Damianov  <peter0x44@disroot.org>
456         * libgcov-util.c (tag_counters): Swap order of arguments to xcalloc.
457         (topen_to_memory_representation): Likewise.
459 2024-04-30  Jakub Jelinek  <jakub@redhat.com>
461         * gthr.h (GTHREAD_USE_WEAK): Don't redefine to 0 for glibc 2.34+
462         on GNU Hurd.
464 2024-04-25  Jakub Jelinek  <jakub@redhat.com>
466         * gthr.h (GTHREAD_USE_WEAK): Redefine to 0 for GLIBC 2.34 or later.
468 2024-04-21  Georg-Johann Lay  <avr@gjlay.de>
470         PR target/114794
471         * config/avr/lib1funcs.S (__udivmodqi4): Tweak.
473 2024-04-19  Jakub Jelinek  <jakub@redhat.com>
475         PR libgcc/114762
476         * libgcc2.c (__divmodbitint4): Perform the decrement on negative
477         v with most significant limb all ones and the second least
478         significant limb with most significant bit clear always, regardless of
479         un < vn.
481 2024-04-18  Jakub Jelinek  <jakub@redhat.com>
483         PR libgcc/114755
484         * libgcc2.c (__divmodbitint4): Perform the decrement on negative
485         v with most significant limb all ones and the second least
486         significant limb with most significant bit clear always, regardless of
487         un < vn.
489 2024-04-15  Jakub Jelinek  <jakub@redhat.com>
491         PR libgcc/114689
492         * config/m68k/fpgnulib.c (__truncdfsf2): Add parentheses around
493         !!sticky bitwise or operand to quiet up cppcheck.  Add parentheses
494         around mant >> 1 bitwise or operand.
496 2024-04-10  Andre Vieira  <andre.simoesdiasvieira@arm.com>
498         * config/aarch64/t-softfp (softfp_extras): Add floatbitinthf,
499         floatbitintbf, floatbitinttf and fixtfbitint.
500         * config/aarch64/libgcc-softfp.ver (GCC_14.0.0): Add __floatbitinthf,
501         __floatbitintbf, __floatbitinttf and __fixtfbitint.
503 2024-04-09  Sergey Bugaev  <bugaevc@gmail.com>
505         * config.host: Recognize aarch64*-*-gnu* hosts.
506         * config/aarch64/gnu-unwind.h: New file.
507         * config/aarch64/heap-trampoline.c
508         (allocate_trampoline_page): Support GNU/Hurd.
510 2024-04-04  Jørgen Kvalsvik  <j@lambda.is>
512         * libgcov-merge.c (__gcov_merge_ior): New.
514 2024-04-03  Wilco Dijkstra  <wilco.dijkstra@arm.com>
516         * config/aarch64/cpuinfo.c: Add HWCAP_EVTSTRM, HWCAP_CRC32, HWCAP_CPUID,
517         HWCAP_PACA and HWCAP_PACG.
519 2024-04-02  Jakub Jelinek  <jakub@redhat.com>
521         * unwind-dw2-fde.c (struct fde_accumulator): Fix duplicated
522         words in comment; is is -> is.
524 2024-03-25  Max Filippov  <jcmvbkbc@gmail.com>
526         * unwind-arm-common.inc (__gnu_personality_sigframe_fdpic): Cast
527         last argument of _Unwind_VRS_Set to void *.
529 2024-03-22  Thomas Neumann  <tneumann@users.sourceforge.net>
531         PR libgcc/111731
532         * unwind-dw2-fde.c: Split unwind ranges if they contain the
533         unwind table.
535 2024-03-21  Jakub Jelinek  <jakub@redhat.com>
537         PR libgcc/114397
538         * libgcc2.c (__divmodbitint4): Don't assume un < vn always means
539         abs(v) > abs(u), check for a special case of un + 1 == vn where
540         u is non-negative and v negative and after v's negation vn could
541         be reduced by 1.
543 2024-03-20  Flavio Cruz  <flaviocruz@gmail.com>
545         * config/i386/gnu-unwind.h: Support unwinding x86_64 signal frames.
547 2024-03-15  Jakub Jelinek  <jakub@redhat.com>
549         PR libgcc/114327
550         * libgcc2.c (bitint_negate): Return UWtype bitwise or of all the limbs
551         before negation rather than void.
552         (__divmodbitint4): Determine whether to fill in the upper limbs after
553         negation based on whether bitint_negate returned 0 or non-zero, rather
554         then always filling with -1.
556 2024-02-22  Kewen Lin  <linkw@linux.ibm.com>
558         PR target/109987
559         * config/rs6000/t-float128-hw: Replace options -mpower{8,9}-vector
560         with -mcpu=power9.
561         * configure.ac: Update use of option -mpower9-vector with
562         -mcpu=power9.
563         * configure: Regenerate.
565 2024-02-21  Iain Sandoe  <iain@sandoe.co.uk>
567         * config/aarch64/heap-trampoline.c
568         (aarch64_trampoline_insns): Arrange to encode instructions as a
569         byte array so that the order is independent of memory byte order.
570         (struct aarch64_trampoline): Likewise.
572 2024-02-20  Iain Sandoe  <iain@sandoe.co.uk>
574         PR target/113971
575         * config/aarch64/heap-trampoline.c: Allow all linux variants.
577 2024-02-16  Matteo Italia  <matteo@mitalia.net>
579         PR libgcc/113850
580         * config/i386/gthr-win32-cond.c (__gthr_win32_abs_to_rel_time):
581         fix absolute timespec to relative milliseconds count
582         conversion (it incorrectly returned seconds instead of
583         milliseconds); this avoids spurious wakeups in
584         __gthr_win32_cond_timedwait
586 2024-02-14  Jakub Jelinek  <jakub@redhat.com>
587             H.J. Lu  <hjl.tools@gmail.com>
589         PR target/113855
590         * config/i386/heap-trampoline.c (trampoline_insns): Add IBT
591         support and pad to the multiple of 4 bytes.  Use movabsq
592         instead of movabs in comments.  Add -mx32 variant.
594 2024-02-13  Jakub Jelinek  <jakub@redhat.com>
596         * soft-fp/bitint.h (FP_FROM_BITINT): If iprec < 0 and msb is all ones,
597         just set n to 1 instead of using __builtin_clzll (~msb).
599 2024-02-12  Iain Sandoe  <iain@sandoe.co.uk>
601         PR target/113855
602         * config.host: Add trampoline support to x?86-linux.
603         * config/i386/heap-trampoline.c (trampoline_insns): Provide
604         a variant for IA32.
605         (union ix86_trampoline): Likewise.
606         (__gcc_nested_func_ptr_created): Implement a basic trampoline
607         for IA32.
609 2024-02-10  Jakub Jelinek  <jakub@redhat.com>
611         * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Or in all remainder
612         limbs into inexact rather than just first two.
613         * soft-fp/floatbitintsd.c (__bid_floatbitintsd): Likewise.
614         * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
616 2024-02-10  Jakub Jelinek  <jakub@redhat.com>
618         * soft-fp/fixddbitint.c (__bid_fixddbitint): Fix up
619         BIL_TYPE_SIZE == 32 shifts.
620         * soft-fp/fixsdbitint.c (__bid_fixsdbitint): Likewise.
621         * soft-fp/fixtdbitint.c (__bid_fixtdbitint): Likewise.
622         * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Likewise.
623         * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
625 2024-02-09  Iain Sandoe  <iain@sandoe.co.uk>
627         * config/i386/libgcc-darwin.ver: Export bf and bitint-related
628         synbols.
630 2024-02-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
632         PR target/113700
633         * config/i386/libgcc-sol2.ver (GCC_14.0.0): Added all symbols from
634         i386/libgcc-glibc.ver (GCC_12.0.0, GCC_13.0.0, GCC_14.0.0).
635         * config/i386/libgcc-glibc.ver: Request notifications on updates.
637 2024-02-06  Matteo Italia  <matteo@mitalia.net>
639         PR libgcc/113337
640         * unwind-seh.c (_Unwind_Resume_or_Rethrow): forward
641         _Unwind_RaiseException return code back to caller instead of
642         calling abort, allowing __cxa_rethrow to invoke std::terminate
643         in case of uncaught rethrown exception
645 2024-02-02  Jakub Jelinek  <jakub@redhat.com>
647         PR libgcc/113604
648         * libgcc2.c (__divmodbitint4): If uv1 >= vv1, subtract
649         vv1 from uv1:uv0 once or twice as needed, rather than
650         subtracting vv1:vv1.
652 2024-02-02  Khem Raj  <raj.khem@gmail.com>
654         * config/i386/enable-execute-stack-mingw32.c: Include
655         stdlib.h for abort() definition.
657 2024-02-02  Jakub Jelinek  <jakub@redhat.com>
659         PR target/113700
660         * config/i386/libgcc-glibc.ver (GCC_14.0.0): Remove __PFX prefixes
661         from symbol names.
663 2024-02-01  Jakub Jelinek  <jakub@redhat.com>
665         PR libgcc/113402
666         * libgcc2.h (__gcc_nested_func_ptr_created): Change type of last
667         argument from void ** to void *.
668         * config/i386/heap-trampoline.c (__gcc_nested_func_ptr_created):
669         Change type of dst from void ** to void * and cast dst to void **
670         before dereferencing it.
671         * config/aarch64/heap-trampoline.c (__gcc_nested_func_ptr_created):
672         Likewise.
674 2024-02-01  Jakub Jelinek  <jakub@redhat.com>
676         PR libgcc/113403
677         * config/i386/t-heap-trampoline: Add to LIB2ADDEHSHARED
678         i386/heap-trampoline.c rather than aarch64/heap-trampoline.c.
680 2024-02-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
682         * config/aarch64/crti.S: Remove stack marking.
683         * config/aarch64/crtn.S: Remove stack marking, include aarch64-asm.h
684         * config/aarch64/lse.S: Remove stack and GNU property markings.
686 2024-01-30  Iain Sandoe  <iain@sandoe.co.uk>
688         PR libgcc/113403
689         * config.host: Build libheap_t.a for i686/x86_64 Darwin.
690         * config/aarch64/heap-trampoline.c (HEAP_T_ATTR): New.
691         (allocate_tramp_ctrl): Allow a target to build this as a weak def.
692         (__gcc_nested_func_ptr_created): Likewise.
693         * config/i386/heap-trampoline.c (HEAP_T_ATTR): New.
694         (allocate_tramp_ctrl): Allow a target to build this as a weak def.
695         (__gcc_nested_func_ptr_created): Likewise.
696         * config/t-darwin: Build libheap_t.a (a CRT with heap trampoline
697         support).
699 2024-01-30  Iain Sandoe  <iain@sandoe.co.uk>
701         PR libgcc/113403
702         * config/aarch64/t-heap-trampoline: Move the heap trampoline
703         support functions from libgcc.a to libgcc_eh.a.
704         * config/i386/t-heap-trampoline: Likewise.
706 2024-01-28  Iain Sandoe  <iain@sandoe.co.uk>
707             Jakub Jelinek   <jakub@redhat.com>
709         PR libgcc/113402
710         * config/aarch64/heap-trampoline.c: Rename
711         __builtin_nested_func_ptr_created to __gcc_nested_func_ptr_created and
712         __builtin_nested_func_ptr_deleted to __gcc_nested_func_ptr_deleted.
713         * config/i386/heap-trampoline.c: Likewise.
714         * libgcc2.h: Likewise.
715         * libgcc-std.ver.in (GCC_7.0.0): Likewise and then move
716         __gcc_nested_func_ptr_created and
717         __gcc_nested_func_ptr_deleted from this symbol version to ...
718         (GCC_14.0.0): ... this one.
720 2024-01-26  Andrew Stubbs  <ams@baylibre.com>
722         * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Handle RDNA3.
724 2024-01-23  Zac Walker  <zacwalker@microsoft.com>
726         * config/aarch64/aarch64-asm.h (HIDDEN, SYMBOL_SIZE, SYMBOL_TYPE)
727         (ENTRY_ALIGN, GNU_PROPERTY): New macros.
728         * config/aarch64/__arm_sme_state.S: Use them.
729         * config/aarch64/__arm_tpidr2_save.S: Likewise.
730         * config/aarch64/__arm_za_disable.S: Likewise.
731         * config/aarch64/crti.S: Likewise.
732         * config/aarch64/lse.S: Likewise.
734 2024-01-12  Jakub Jelinek  <jakub@redhat.com>
736         * libgcc2.h (UBILtype): New typedef with may_alias attribute.
737         (__mulbitint3, __divmodbitint4): Use UBILtype * instead of
738         UWtype * and const UBILtype * instead of const UWtype *.
739         * libgcc2.c (bitint_reduce_prec, bitint_mul_1, bitint_addmul_1,
740         __mulbitint3, bitint_negate, bitint_submul_1, __divmodbitint4):
741         Likewise.
742         * soft-fp/bitint.h (UBILtype): Change define into a typedef with
743         may_alias attribute.
745 2024-01-12  Sandra Loosemore  <sandra@codesourcery.com>
747         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Do not try to use
748         _dl_find_object on nios2; it doesn't work.
750 2023-12-23  Thomas Schwinge  <thomas@codesourcery.com>
752         * c++-minimal/README: New.
753         * c++-minimal/guard.c: New.
754         * config/gcn/t-amdgcn (LIB2ADD): Add it.
755         * config/nvptx/t-nvptx (LIB2ADD): Likewise.
757 2023-12-20  Alexandre Oliva  <oliva@adacore.com>
759         PR middle-end/112917
760         * config.host (sparc, sparc64): Enable...
761         * config/sparc/t-sparc: ... this new fragment.
763 2023-12-20  Alexandre Oliva  <oliva@adacore.com>
765         * strub.c (ATTRIBUTE_NOINLINE): New.
766         (ATTRIBUTE_STRUB_CALLABLE): Add it.
767         (__strub_dummy_force_no_leaf): Drop it.
769 2023-12-16  Andrew Carlotti  <andrew.carlotti@arm.com>
771         * config/aarch64/cpuinfo.c (enum CPUFeatures): Move to shared
772         copy in gcc/common
774 2023-12-16  Andrew Carlotti  <andrew.carlotti@arm.com>
775             Pavel Iliin  <Pavel.Iliin@arm.com>
777         * config/aarch64/t-aarch64: Include cpuinfo.c
778         * config/aarch64/cpuinfo.c: New file
779         (__init_cpu_features_constructor) New.
780         (__init_cpu_features_resolver) New.
781         (__init_cpu_features) New.
783 2023-12-11  Lipeng Zhu  <lipeng.zhu@intel.com>
785         * gthr-posix.h (__GTHREAD_RWLOCK_INIT): New macro.
786         (__gthrw): New function.
787         (__gthread_rwlock_rdlock): New function.
788         (__gthread_rwlock_tryrdlock): New function.
789         (__gthread_rwlock_wrlock): New function.
790         (__gthread_rwlock_trywrlock): New function.
791         (__gthread_rwlock_unlock): New function.
793 2023-12-08  Florian Weimer  <fweimer@redhat.com>
795         * libgcov-interface.c (__gcov_fork): Use __builtin_fork instead
796         of fork.
798 2023-12-08  Szabolcs Nagy  <szabolcs.nagy@arm.com>
800         * config.in: Regenerate.
802 2023-12-08  Szabolcs Nagy  <szabolcs.nagy@arm.com>
804         * config/aarch64/__arm_za_disable.S: Add hidden alias.
805         * config/aarch64/aarch64-unwind.h: Reset the SME state before
806         EH return via the _Unwind_Frames_Extra hook.
808 2023-12-08  Szabolcs Nagy  <szabolcs.nagy@arm.com>
810         * config/aarch64/t-aarch64: Add sources to the build.
811         * config/aarch64/__aarch64_have_sme.c: New file.
812         * config/aarch64/__arm_sme_state.S: New file.
813         * config/aarch64/__arm_tpidr2_restore.S: New file.
814         * config/aarch64/__arm_tpidr2_save.S: New file.
815         * config/aarch64/__arm_za_disable.S: New file.
816         * config/aarch64/aarch64-asm.h: New file.
817         * config/aarch64/libgcc-sme.ver: New file.
819 2023-12-08  Szabolcs Nagy  <szabolcs.nagy@arm.com>
821         * config.in: Undef HAVE___GETAUXVAL.
822         * configure: Regenerate.
823         * configure.ac: Check for __getauxval.
825 2023-12-08  Szabolcs Nagy  <szabolcs.nagy@arm.com>
827         * config.in: Undef HAVE_AS_VARIANT_PCS.
828         * configure: Regenerate.
829         * configure.ac: Check for .variant_pcs.
831 2023-12-07  Alexandre Oliva  <oliva@adacore.com>
833         * configure.ac: Check for strub support.
834         * configure: Rebuilt.
835         * Makefile.in: Compile strub.c conditionally.
837 2023-12-06  Thomas Schwinge  <thomas@codesourcery.com>
838             Jakub Jelinek  <jakub@redhat.com>
840         PR libgcc/109289
841         * emutls.c: Add GCC diagnostic ignored "-Wbuiltin-declaration-mismatch"
842         pragma.
844 2023-12-06  Alexandre Oliva  <oliva@adacore.com>
846         * Makefile.in (LIB2ADD): Add strub.c.
847         * libgcc2.h (__strub_enter, __strub_update, __strub_leave):
848         Declare.
849         * strub.c: New.
850         * libgcc-std.ver.in (__strub_enter): Add to GCC_14.0.0.
851         (__strub_update, __strub_leave): Likewise.
853 2023-12-03  Jeff Law  <jlaw@ventanamicro.com>
855         * unwind-pe.h (_Unwind_gnu_Find_got): Add prototype.
857 2023-12-03  Jeff Law  <jlaw@ventanamicro.com>
859         * config/rx/rx-abi-functions.c (__ltdf2, __gtdf2): Add prototype.
860         (__ledf2, __gedf2, __eqdf2, __nedf2): Likewise.
861         (__ltsf2, __gtsf2, __lesf2, __gesf2, __eqsf2, __nesf2): Likewise.
863 2023-12-03  Jeff Law  <jlaw@ventanamicro.com>
865         * config/frv/frvbegin.c (atexit): Add prototype.
867 2023-12-01  Alexandre Oliva  <oliva@adacore.com>
869         * libgcc-std.ver.in (__hardcfr_check): Add to GCC_14.0.0.
871 2023-12-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
873         PR target/112777
874         * libgcov.h (GCOV_SUPPORTS_ATOMIC):  Honor that __LIBGCC_HAVE_LIBATOMIC is
875         always defined as either 0 or 1.
877 2023-12-01  Florian Weimer  <fweimer@redhat.com>
879         * config/aarch64/linux-unwind.h
880         (aarch64_fallback_frame_state): Add cast to the expected type
881         in sc assignment.
883 2023-11-30  Wilco Dijkstra  <wilco.dijkstra@arm.com>
885         PR target/111404
886         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Execute STLXP using
887         either new value or loaded value.
889 2023-11-27  Richard Earnshaw  <rearnsha@arm.com>
891         * config/arm/lib1funcs.S (__sync_synchronize): Adjust warning message.
893 2023-11-24  Richard Earnshaw  <rearnsha@arm.com>
895         * config.host (arm*-*-eabi* | arm*-*-rtems*):
896         Add arm/t-sync to the makefile rules.
897         * config/arm/lib1funcs.S (__sync_synchronize_none)
898         (__sync_synchronize_cp15dmb, __sync_synchronize_dmb)
899         (__sync_synchronize): New functions.
900         * config/arm/t-sync: New file.
901         * config/arm/sync-none.specs: Likewise.
902         * config/arm/sync-dmb.specs: Likewise.
903         * config/arm/sync-cp15dmb.specs: Likewise.
905 2023-11-23  Jose E. Marchesi  <jose.marchesi@oracle.com>
907         * hardcfr.c (__hardcfr_check_fail): Mark as always_inline.
909 2023-11-21  Jakub Jelinek  <jakub@redhat.com>
911         * libgcov.h (GCOV_SUPPORTS_ATOMIC): Formatting fixes.
913 2023-11-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
915         * libgcov.h (GCOV_SUPPORTS_ATOMIC): Always define it.
916         Set it also to 1, if __LIBGCC_HAVE_LIBATOMIC is defined.
918 2023-11-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
920         Revert:
921         2023-11-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
923         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
924         (gcov_type_unsigned): Likewise.
926 2023-11-10  Keith Packard  <keithp@keithp.com>
928         * config/m68k/lb1sf68.S (__adddf3): Properly check for non-zero denorm.
929         (__divdf3): Restore sign bit properly.
930         (__addsf3): Correct exponent check.
931         * config/m68k/fpgnulib.c (EXPMASK): Define.
932         (__extendsfdf2): Handle Inf and NaN properly.
933         (__truncdfsf2): Handle underflow and overflow correctly.
934         (__extenddfxf2): Handle underflow, denorms, Inf and NaN correctly.
935         (__truncxfdf2): Handle underflow and denorms correctly.
936         (__fixxfsi): Reimplement.
938 2023-11-09  Jakub Jelinek  <jakub@redhat.com>
940         PR libgcc/65833
941         * config/t-softfp (softfp_bid_list): Add
942         {U,}TItype <-> _Decimal{32,64,128} conversions.
943         * soft-fp/floattisd.c: New file.
944         * soft-fp/floattidd.c: New file.
945         * soft-fp/floattitd.c: New file.
946         * soft-fp/floatuntisd.c: New file.
947         * soft-fp/floatuntidd.c: New file.
948         * soft-fp/floatuntitd.c: New file.
949         * soft-fp/fixsdti.c: New file.
950         * soft-fp/fixddti.c: New file.
951         * soft-fp/fixtdti.c: New file.
952         * soft-fp/fixunssdti.c: New file.
953         * soft-fp/fixunsddti.c: New file.
954         * soft-fp/fixunstdti.c: New file.
956 2023-11-07  Kwok Cheung Yeung  <kcy@codesourcery.com>
958         * offloadstuff.c (OFFLOAD_IND_FUNC_TABLE_SECTION_NAME): New.
959         (__offload_ind_func_table): New.
960         (__offload_ind_funcs_end): New.
961         (__OFFLOAD_TABLE__): Add entries for indirect functions.
963 2023-11-03  Thomas Schwinge  <thomas@codesourcery.com>
965         * config/gcn/gthr-gcn.h (__gthread_getspecific): 's%NULL%0'.
967 2023-10-31  Alexandre Oliva  <oliva@adacore.com>
969         * hardcfr.c: Adjust copyright year.
971 2023-10-24  Sergei Trofimovich  <siarheit@google.com>
973         * config/aarch64/heap-trampoline.c: Disable when libc is not
974         present.
975         * config/i386/heap-trampoline.c: Ditto.
977 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
979         * config/t-slibgcc-darwin: Generate libgcc_s
980         with an @rpath name.
981         * config.host: Handle Darwin rpaths.
982         * config/t-darwin-rpath: New file.
984 2023-10-22  Andrew Burgess  <andrew.burgess@embecosm.com>
985             Maxim Blinov  <maxim.blinov@embecosm.com>
986             Iain Sandoe  <iain@sandoe.co.uk>
987             Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
989         * libgcc2.h (__builtin_nested_func_ptr_created): Declare.
990         (__builtin_nested_func_ptr_deleted): Declare.
991         * libgcc-std.ver.in: Add the new symbols.
992         * config/aarch64/heap-trampoline.c: Implement heap-based
993         trampolines for aarch64.
994         * config/aarch64/t-heap-trampoline: Add rule to build
995         config/aarch64/heap-trampoline.c
996         * config/i386/heap-trampoline.c: Implement heap-based
997         trampolines for x86_64.
998         * config/i386/t-heap-trampoline: Add rule to build
999         config/i386/heap-trampoline.cc
1000         * config.host: Handle --enable-heap-trampolines on
1001         x86_64-*-linux*, aarch64-*-linux*, x86_64-*-darwin*.
1003 2023-10-20  Andrew Stubbs  <ams@codesourcery.com>
1005         * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Set false for __RDNA2__.
1007 2023-10-20  Alexandre Oliva  <oliva@adacore.com>
1009         * Makefile.in (LIB2ADD): Add hardcfr.c.
1010         * hardcfr.c: New.
1012 2023-10-13  Florian Weimer  <fweimer@redhat.com>
1014         * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Add
1015         missing cast.
1017 2023-10-13  Florian Weimer  <fweimer@redhat.com>
1019         * config/arc/linux-unwind.h (arc_fallback_frame_state): Add
1020         missing cast.
1022 2023-10-13  Florian Weimer  <fweimer@redhat.com>
1024         * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
1025         missing cast.
1027 2023-10-13  Florian Weimer  <fweimer@redhat.com>
1029         * config/csky/linux-unwind.h (csky_fallback_frame_state): Add
1030         missing cast.
1032 2023-10-13  Florian Weimer  <fweimer@redhat.com>
1034         * config/m68k/fpgnulib.c (__cmpdf2): Declare.
1036 2023-09-26  Wilco Dijkstra  <wilco.dijkstra@arm.com>
1038         * config/aarch64/lse.S (BTI_C): Remove define.
1040 2023-09-20  Pekka Seppänen  <pexu@gcc.mail.kapsi.fi>
1042         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key):
1043         Use const unsigned type and a builtin.
1045 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
1047         PR c/102989
1048         * libgcc2.c (bitint_negate): Add function comment.
1049         * soft-fp/bitint.h (bitint_negate): Add function comment.
1050         (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
1052 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
1054         PR c/102989
1055         * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
1056         * config/i386/64/t-softfp (softfp_extras): Likewise.
1057         * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
1058         routines.
1059         * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
1060         bf, hf and xf mode floatbitint.
1061         (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
1062         * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
1063         * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
1064         * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
1065         * config/t-softfp (softfp_floatbitint_funcs): New.
1066         (softfp_bid_list): New.
1067         (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
1068         (softfp_bid_file_list): New.
1069         (LIB2ADD_ST): Add $(softfp_bid_file_list).
1070         * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
1071         floatbitinttf.
1072         * config/t-softfp-tf (softfp_extras): Likewise.
1073         * libgcc2.c (bitint_reduce_prec): New inline function.
1074         (BITINT_INC, BITINT_END): Define.
1075         (bitint_mul_1, bitint_addmul_1): New helper functions.
1076         (__mulbitint3): New function.
1077         (bitint_negate, bitint_submul_1): New helper functions.
1078         (__divmodbitint4): New function.
1079         * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
1080         libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
1081         (__mulbitint3, __divmodbitint4): Declare.
1082         * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
1083         * Makefile.in (lib2funcs): Add _mulbitint3.
1084         (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
1085         * soft-fp/bitint.h: New file.
1086         * soft-fp/fixdfbitint.c: New file.
1087         * soft-fp/fixsfbitint.c: New file.
1088         * soft-fp/fixtfbitint.c: New file.
1089         * soft-fp/fixxfbitint.c: New file.
1090         * soft-fp/floatbitintbf.c: New file.
1091         * soft-fp/floatbitintdf.c: New file.
1092         * soft-fp/floatbitinthf.c: New file.
1093         * soft-fp/floatbitintsf.c: New file.
1094         * soft-fp/floatbitinttf.c: New file.
1095         * soft-fp/floatbitintxf.c: New file.
1096         * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
1097         4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
1098         * soft-fp/bitintpow10.c: New file.
1099         * soft-fp/fixsdbitint.c: New file.
1100         * soft-fp/fixddbitint.c: New file.
1101         * soft-fp/fixtdbitint.c: New file.
1102         * soft-fp/floatbitintsd.c: New file.
1103         * soft-fp/floatbitintdd.c: New file.
1104         * soft-fp/floatbitinttd.c: New file.
1106 2023-09-06  Jakub Jelinek  <jakub@redhat.com>
1108         PR c/102989
1109         * soft-fp/bitintpow10.h: New file.
1111 2023-09-05  Yang Yujie  <yangyujie@loongson.cn>
1113         * config.host: add loongarch*-elf target.
1115 2023-08-11  Thomas Neumann  <thomas.neumann@in.tum.de>
1117         PR libgcc/110956
1118         * unwind-dw2-fde.c: Associate object with address of unwinding
1119         table.
1121 2023-08-07  John Ericson  <git@JohnEricson.me>
1123         * configure: Regenerate.
1125 2023-08-07  Alan Modra  <amodra@gmail.com>
1127         * configure: Regenerate.
1129 2023-07-23  Andrew Pinski  <apinski@marvell.com>
1131         * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
1132         (riscv*-*-freebsd*): Likewise.
1133         * config/riscv/t-crtstuff: New file.
1135 2023-07-19  liuhongt  <hongtao.liu@intel.com>
1137         * config/i386/t-softfp: Add -msse2 to libbid HFtype related
1138         files.
1140 2023-07-11  Florian Weimer  <fweimer@redhat.com>
1142         PR libgcc/110179
1143         * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
1144         implicit conversion of pointer value to integer.
1146 2023-07-06  Kito Cheng  <kito.cheng@sifive.com>
1148         * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
1149         (FP_HANDLE_EXCEPTIONS): Ditto.
1151 2023-06-19  Andrew Stubbs  <ams@codesourcery.com>
1153         * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
1154         * config/gcn/lib2-divmod.c: Likewise.
1155         * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
1156         new vector libfuncs.
1157         * config/gcn/t-amdgcn: Add new files.
1158         * config/gcn/amdgcn_veclib.h: New file.
1159         * config/gcn/lib2-vec_divmod-di.c: New file.
1160         * config/gcn/lib2-vec_divmod-hi.c: New file.
1161         * config/gcn/lib2-vec_divmod-qi.c: New file.
1162         * config/gcn/lib2-vec_divmod.c: New file.
1164 2023-06-19  Andrew Stubbs  <ams@codesourcery.com>
1166         * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
1167         (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
1168         * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
1169         * config/gcn/lib2-divmod-hi.c: Removed.
1171 2023-06-07  Florian Weimer  <fweimer@redhat.com>
1173         PR libgcc/109712
1174         * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
1175         parsing eh_frame.
1177 2023-06-05  Kewen Lin  <linkw@linux.ibm.com>
1179         * config/i386/morestack.S: Use @init_array rather than
1180         @progbits for section type of section .init_array.
1181         * config/rs6000/morestack.S: Likewise.
1182         * config/s390/morestack.S: Likewise.
1184 2023-06-05  YunQiang Su  <yunqiang.su@cipunited.com>
1186         * config/mips/lib1funcs.S: New file.
1187         define __speculation_barrier and include mips16.S.
1188         * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
1189         define LIB1ASMFUNCS as _speculation_barrier.
1190         set version info for __speculation_barrier.
1191         * config/mips/libgcc-mips.ver: New file.
1192         * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
1193         included in lib1funcs.S now.
1195 2023-06-03  Thomas Neumann  <tneumann@users.sourceforge.net>
1197         PR libgcc/109670
1198         * unwind-dw2-fde.c: Fix radix sort buffer management.
1200 2023-06-03  Thomas Neumann  <tneumann@users.sourceforge.net>
1202         PR libgcc/109685
1203         * unwind-dw2-fde.c: Free sort array in atomic fast path.
1205 2023-05-19  Iain Sandoe  <iain@sandoe.co.uk>
1207         * config.host: Arrange to set min Darwin OS versions from
1208         the configured host version.
1209         * config/darwin10-unwind-find-enc-func.c: Do not use current
1210         headers, but declare the nexessary structures locally to the
1211         versions in use for Mac OSX 10.6.
1212         * config/t-darwin: Amend to handle configured min OS
1213         versions.
1214         * config/t-darwin-min-1: New.
1215         * config/t-darwin-min-5: New.
1216         * config/t-darwin-min-8: New.
1218 2023-05-15  Thomas Neumann  <tneumann@users.sourceforge.net>
1220         * unwind-dw2-fde.c: Fix assert in non-atomic path.
1222 2023-05-15  Sören Tempel  <soeren+git@soeren-tempel.net>
1224         * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
1226 2023-05-02  Patrick O'Neill  <patrick@rivosinc.com>
1228         * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
1229         sequentially consistent LR.aqrl/SC.rl pairs.
1231 2023-05-01  Dimitar Dimitrov  <dimitar@dinux.eu>
1233         * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
1234         -DTARGET_HAS_NO_HW_DIVIDE.
1236 2023-04-27  Hans-Peter Nilsson  <hp@axis.com>
1238         * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
1239         -DTARGET_HAS_NO_HW_DIVIDE.
1241 2023-04-26  Patrick O'Neill  <patrick@rivosinc.com>
1243         PR target/104338
1244         * config/riscv/atomic.c: Add reference to duplicate logic.
1246 2023-04-08  Tetsuma Hoshino  <t-hoshino@pony-e.jp>
1248         PR target/109402
1249         * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
1250         stack manipulations.
1252 2023-04-05  John David Anglin  <danglin@gcc.gnu.org>
1254         PR target/109374
1255         * config/pa/milli64.S (RETURN_COLUMN): Define.
1256         ($$divI): Add CFI directives.
1257         ($$divU): Likewise.
1258         ($$remI): Likewise.
1259         ($$remU): Likewise.
1261 2023-03-19  Stafford Horne  <shorne@gmail.com>
1263         * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1264         statement clearing existing exceptions.
1266 2023-03-13  Max Filippov  <jcmvbkbc@gmail.com>
1268         * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
1269         * config/xtensa/crtn.S: Likewise.
1270         * config/xtensa/lib1funcs.S: Likewise.
1271         * config/xtensa/lib2funcs.S: Likewise.
1273 2023-03-12  Jakub Jelinek  <jakub@redhat.com>
1275         * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
1276         (softfp_truncations): Add tfbf dfbf sfbf hfbf.
1277         (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
1278         * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
1279         __extendbfsf2 and __trunc{s,d,t,h}fbf2.
1280         * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
1281         * soft-fp/floatundibf.c: New file.
1282         * soft-fp/floatdibf.c: New file.
1284 2023-03-10  Jakub Jelinek  <jakub@redhat.com>
1286         PR target/107703
1287         * soft-fp/floattibf.c: New file.
1288         * soft-fp/floatuntibf.c: New file.
1289         * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
1290         * config/i386/64/t-softfp (softfp_extras): Add floattibf and
1291         floatuntibf.
1292         (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
1294 2023-03-08  Kewen Lin  <linkw@linux.ibm.com>
1296         PR libgcc/108727
1297         * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
1298         bump size.
1300 2023-03-06   Michael Meissner  <meissner@linux.ibm.com>
1302         PR target/107299
1303         * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
1304         whether long double is IBM or IEEE.
1305         (INFINITY): Likewise.
1306         (FABS): Likewise.
1307         * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
1308         (INFINITY): Likewise.
1309         * config/rs6000/quad-float128.h (TF): Remove definition.
1310         (TFtype): Define to be long double or _Float128.
1311         (TCtype): Define to be _Complex long double or _Complex _Float128.
1312         * libgcc2.h (TFtype): Allow machine config files to override this.
1313         (TCtype): Likewise.
1314         * soft-fp/quad.h (TFtype): Likewise.
1316 2023-02-13  Kito Cheng  <kito.cheng@sifive.com>
1318         * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
1319         * config/riscv/value-unwind.h: New.
1321 2023-02-03  Christophe Lyon  <christophe.lyon@arm.com>
1323         * config/arm/pr-support.c (__gnu_unwind_execute): Use
1324         TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
1326 2023-01-30  Flavio Cruz  <flaviocruz@gmail.com>
1328         * config.host: Recognize x86_64-*-gnu* targets.
1329         * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
1330         TODO for now.
1332 2023-01-23  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
1334         * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
1335         "0xb5".
1337 2023-01-23  Andrea Corallo  <andrea.corallo@arm.com>
1338             Tejas Belagod   <tbelagod@arm.com>
1339             Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
1341         * config/arm/pr-support.c (__gnu_unwind_execute): Decode
1342         exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
1343         with AUTG if found.
1344         * config/arm/unwind-arm.c (struct pseudo_regs): New.
1345         (phase1_vrs): Introduce new field to store pseudo-reg state.
1346         (phase2_vrs): Likewise.
1347         (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
1348         (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
1349         (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
1351 2023-01-18  Wilco Dijkstra  <wilco.dijkstra@arm.com>
1353         PR target/107678
1354         * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
1355         * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
1356         * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
1357         encode the return address signing state.
1358         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
1359         Check current return address signing state.
1360         (aarch64_frob_update_contex): Remove.
1362 2023-01-13  John David Anglin  <danglin@gcc.gnu.org>
1364         * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
1365         pa/t-pa64-linux.
1366         (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
1367         instead of pa/t-hpux and pa/t-pa64.
1368         * config/pa/linux-atomic.c: Define u32 type.
1369         (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
1370         atomic_load_2, atomic_load_4 and atomic_load_8.  Update sync
1371         defines to use atomic_load calls for type.
1372         (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
1373         * config/pa/sync-libfuncs.c: New file.
1374         * config/pa/t-netbsd (LIB2ADD_ST): Define.
1375         * config/pa/t-openbsd (LIB2ADD_ST): Define.
1376         * config/pa/t-pa64-hpux: New file.
1377         * config/pa/t-pa64-linux: New file.
1379 2023-01-13  Jonathan Wakely  <jwakely@redhat.com>
1381         PR libstdc++/108331
1382         * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
1383         struct matching the previous __gthread_mutex_t struct.
1384         (__GTHREAD_LEGACY_MUTEX_T): Define.
1386 2023-01-13  Seija Kijin  <doremylover456@gmail.com>
1388         * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
1389         unified syntax.
1391 2023-01-07  LIU Hao  <lh_mouse@126.com>
1393         PR middle-end/108300
1394         * config/i386/enable-execute-stack-mingw32.c: Define
1395         `WIN32_LEAN_AND_MEAN` before <windows.h>.
1396         * libgcc2.c: Likewise.
1397         * unwind-generic.h: Likewise.
1399 2023-01-03  Florian Weimer  <fweimer@redhat.com>
1401         * unwind-dw2-execute_cfa.h: New file.  Extracted from
1402         the execute_cfa_program function in unwind-dw2.c.
1403         * unwind-dw2.c (execute_cfa_program_generic): New function.
1404         (execute_cfa_program_specialized): Likewise.
1405         (execute_cfa_program): Call execute_cfa_program_specialized
1406         or execute_cfa_program_generic, as appropriate.
1408 2023-01-03  Florian Weimer  <fweimer@redhat.com>
1410         Revert:
1411         2023-01-03  Florian Weimer  <fweimer@redhat.com>
1413         * unwind-dw2.c (dwarf_reg_size): New function.
1414         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
1415         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
1416         (uw_init_context_1): Do not initialize dwarf_reg_size_table
1417         if not in use.
1419 2023-01-03  Florian Weimer  <fweimer@redhat.com>
1421         Revert:
1422         2023-01-03  Florian Weimer  <fweimer@redhat.com>
1424         * unwind-dw2-execute_cfa.h: New file.  Extracted from
1425         the execute_cfa_program function in unwind-dw2.c.
1426         * unwind-dw2.c (execute_cfa_program_generic): New function.
1427         (execute_cfa_program_specialized): Likewise.
1428         (execute_cfa_program): Call execute_cfa_program_specialized
1429         or execute_cfa_program_generic, as appropriate.
1431 2023-01-02  Florian Weimer  <fweimer@redhat.com>
1433         * unwind-dw2-execute_cfa.h: New file.  Extracted from
1434         the execute_cfa_program function in unwind-dw2.c.
1435         * unwind-dw2.c (execute_cfa_program_generic): New function.
1436         (execute_cfa_program_specialized): Likewise.
1437         (execute_cfa_program): Call execute_cfa_program_specialized
1438         or execute_cfa_program_generic, as appropriate.
1440 2023-01-02  Florian Weimer  <fweimer@redhat.com>
1442         * unwind-dw2.c (dwarf_reg_size): New function.
1443         (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
1444         (_Unwind_SetSpColumn, uw_install_context_1): Use it.
1445         (uw_init_context_1): Do not initialize dwarf_reg_size_table
1446         if not in use.
1448 2022-12-25  Jonathan Yong  <10walls@gmail.com>
1450         * config/i386/gthr-win32.h: undef CC_NONE
1452 2022-12-24  Iain Sandoe  <iain@sandoe.co.uk>
1454         * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
1455         install of libgcc_s.1.dylib when the installation is into the build
1456         gcc directory.
1458 2022-12-23  Eric Botcazou  <ebotcazou@adacore.com>
1460         * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
1461         as well as new i386/t-slibgcc-mingw fragment.
1462         (x86_64-*-mingw*): Likewise.
1463         * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
1464         both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
1465         Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
1466         Include stdlib.h instead of errno.h and do not include _mingw.h.
1467         (CONST_CAST2): Add specific definition for C++.
1468         (ATTRIBUTE_UNUSED): New macro.
1469         (__UNUSED_PARAM): Delete.
1470         Define WIN32_LEAN_AND_MEAN before including windows.h.
1471         (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
1472         (__gthread_objc_init_thread_system): Likewise.
1473         (__gthread_objc_thread_get_data): Minor tweak.
1474         (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
1475         (__gthread_objc_condition_deallocate): Likewise.
1476         (__gthread_objc_condition_wait): Likewise.
1477         (__gthread_objc_condition_broadcast): Likewise.
1478         (__gthread_objc_condition_signal): Likewise.
1479         Include sys/time.h.
1480         (__gthr_win32_DWORD): New typedef.
1481         (__gthr_win32_HANDLE): Likewise.
1482         (__gthr_win32_CRITICAL_SECTION): Likewise.
1483         (__gthr_win32_CONDITION_VARIABLE): Likewise.
1484         (__gthread_t): Adjust.
1485         (__gthread_key_t): Likewise.
1486         (__gthread_mutex_t): Likewise.
1487         (__gthread_recursive_mutex_t): Likewise.
1488         (__gthread_cond_t): New typedef.
1489         (__gthread_time_t): Likewise.
1490         (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
1491         (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
1492         (__GTHREAD_COND_INIT_FUNCTION): Define.
1493         (__GTHREAD_TIME_INIT): Likewise.
1494         (__gthr_i486_lock_cmp_xchg): Delete.
1495         (__gthr_win32_create): Declare.
1496         (__gthr_win32_join): Likewise.
1497         (__gthr_win32_self): Likewise.
1498         (__gthr_win32_detach): Likewise.
1499         (__gthr_win32_equal): Likewise.
1500         (__gthr_win32_yield): Likewise.
1501         (__gthr_win32_mutex_destroy): Likewise.
1502         (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
1503         (__gthr_win32_cond_broadcast): Likewise.
1504         (__gthr_win32_cond_signal): Likewise.
1505         (__gthr_win32_cond_wait): Likewise.
1506         (__gthr_win32_cond_timedwait): Likewise.
1507         (__gthr_win32_recursive_mutex_init_function): Delete.
1508         (__gthr_win32_recursive_mutex_lock): Likewise.
1509         (__gthr_win32_recursive_mutex_unlock): Likewise.
1510         (__gthr_win32_recursive_mutex_destroy): Likewise.
1511         (__gthread_create): New inline function.
1512         (__gthread_join): Likewise.
1513         (__gthread_self): Likewise.
1514         (__gthread_detach): Likewise.
1515         (__gthread_equal): Likewise.
1516         (__gthread_yield): Likewise.
1517         (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
1518         (__gthread_cond_broadcast): Likewise.
1519         (__gthread_cond_signal): Likewise.
1520         (__gthread_cond_wait): Likewise.
1521         (__gthread_cond_timedwait): Likewise.
1522         (__GTHREAD_WIN32_INLINE): New macro.
1523         (__GTHREAD_WIN32_COND_INLINE): Likewise.
1524         (__GTHREAD_WIN32_ACTIVE_P): Likewise.
1525         Define WIN32_LEAN_AND_MEAN before including windows.h.
1526         (__gthread_once): Minor tweaks.
1527         (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
1528         (__gthread_key_delete): Minor tweak.
1529         (__gthread_getspecific): Likewise.
1530         (__gthread_setspecific): Likewise.
1531         (__gthread_mutex_init_function): Reimplement.
1532         (__gthread_mutex_destroy): Likewise.
1533         (__gthread_mutex_lock): Likewise.
1534         (__gthread_mutex_trylock): Likewise.
1535         (__gthread_mutex_unlock): Likewise.
1536         (__gthr_win32_abs_to_rel_time): Declare.
1537         (__gthread_recursive_mutex_init_function): Reimplement.
1538         (__gthread_recursive_mutex_destroy): Likewise.
1539         (__gthread_recursive_mutex_lock): Likewise.
1540         (__gthread_recursive_mutex_trylock): Likewise.
1541         (__gthread_recursive_mutex_unlock): Likewise.
1542         (__gthread_cond_destroy): New inline function.
1543         (__gthread_cond_wait_recursive): Likewise.
1544         * config/i386/gthr-win32.c: Delete everything.
1545         Include gthr-win32.h to get the out-of-line version of inline routines.
1546         Add compile-time checks for the local version of the Win32 types.
1547         * config/i386/gthr-win32-cond.c: New file.
1548         * config/i386/gthr-win32-thread.c: Likewise.
1549         * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
1550         EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
1551         the static version of libgcc.
1552         * config/i386/t-slibgcc-mingw: New file.
1553         * config/i386/libgcc-mingw.ver: Likewise.
1555 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
1557         * unwind-dw2-fde.c: Initialize fde object lazily when
1558         the first exception tries to pass through.
1560 2022-12-16  Thomas Neumann  <tneumann@users.sourceforge.net>
1562         * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
1564 2022-12-08  Max Filippov  <jcmvbkbc@gmail.com>
1566         * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
1567         (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
1568         (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
1569         (XSHAL_ABI): Remove stray symbols from macro definitions.
1571 2022-12-07  Max Filippov  <jcmvbkbc@gmail.com>
1573         * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
1574         xtensa-config-builtin.h.
1575         * config/xtensa/crtn.S: Likewise.
1576         * config/xtensa/lib1funcs.S: Likewise.
1577         * config/xtensa/lib2funcs.S: Likewise.
1578         * config/xtensa/xtensa-config-builtin.h: New File.
1580 2022-11-04  Florian Weimer  <fweimer@redhat.com>
1582         * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
1583         values actually used by BFD ld.
1585 2022-10-23  LIU Hao  <lh_mouse@126.com>
1587         * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
1588         libobjc, instead of 'gthr.h'
1590 2022-10-19  LIU Hao  <lh_mouse@126.com>
1592         * config.host: Add new cases for `mcf` thread model
1593         * config/i386/gthr-mcf.h: New file
1594         * config/i386/t-mingw-mcfgthread: New file
1595         * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
1596         * configure: Regenerate
1598 2022-10-18  Jonathan Wakely  <jwakely@redhat.com>
1600         * Makefile.in: Quote variable.
1602 2022-10-17  H.J. Lu  <hjl.tools@gmail.com>
1604         * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
1605         argument.
1606         * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
1607         _Unwind_Frames_Increment.
1608         (_Unwind_ForcedUnwind_Phase2): Likewise.
1609         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1610         Take the EXC argument.  Return _URC_FATAL_PHASE2_ERROR if the
1611         return address on normal stack doesn't match the return address
1612         on shadow stack.
1614 2022-10-17  Florian Weimer  <fweimer@redhat.com>
1616         * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
1617         and reduce its size.
1619 2022-10-14  Jakub Jelinek  <jakub@redhat.com>
1621         * config/i386/t-softfp (softfp_extensions): Add bfsf.
1622         (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
1623         (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
1624         CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
1625         -msse2.
1626         * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
1627         __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
1628         * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
1629         * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
1630         * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
1631         * soft-fp/brain.h: New file.
1632         * soft-fp/truncsfbf2.c: New file.
1633         * soft-fp/truncdfbf2.c: New file.
1634         * soft-fp/truncxfbf2.c: New file.
1635         * soft-fp/trunctfbf2.c: New file.
1636         * soft-fp/trunchfbf2.c: New file.
1637         * soft-fp/truncbfhf2.c: New file.
1638         * soft-fp/extendbfsf2.c: New file.
1640 2022-10-12  Martin Liska  <mliska@suse.cz>
1642         * libgcov-driver.c: Use new function.
1643         * libgcov.h (gcov_write_summary): Rename to ...
1644         (gcov_write_object_summary): ... this.
1646 2022-10-11  Olivier Hainque  <hainque@adacore.com>
1648         * config.host (*vxworks*): When enable_shared, add
1649         libgcc and crtstuff "shared" fragments for rtp except
1650         large code model.
1651         (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
1652         the list of fragments.
1654 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
1656         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1657         fs->regs.how[X] instead of fs->regs.reg[X].how.
1659 2022-10-06  Jakub Jelinek  <jakub@redhat.com>
1661         * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
1662         REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
1663         REG_UNDEFINED): New anonymous enum, moved from inside of
1664         struct frame_state_reg_info.
1665         (struct frame_state_reg_info): Remove reg[].how element and the
1666         anonymous enum there.  Add how element.
1667         * unwind-dw2.c: Include stddef.h.
1668         (uw_frame_state_for): Don't clear first
1669         offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
1670         (execute_cfa_program, __frame_state_for, uw_update_context_1,
1671         uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
1672         or fs.regs.how[X] instead of fs.regs.reg[X].how.
1673         * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
1674         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1675         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1676         * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
1677         UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
1678         Likewise.
1679         * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
1680         Likewise.
1681         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
1682         * config/arc/linux-unwind.h (arc_fallback_frame_state,
1683         arc_frob_update_context): Likewise.
1684         * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
1685         * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
1686         * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
1687         * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
1688         * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
1689         * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
1690         MD_FALLBACK_FRAME_STATE_FOR): Likewise.
1691         * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
1692         sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
1693         * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
1694         x86_fallback_frame_state): Likewise.
1695         * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
1696         * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1697         x86_fallback_frame_state): Likewise.
1698         * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
1699         Likewise.
1700         * config/i386/dragonfly-unwind.h
1701         (x86_64_dragonfly_fallback_frame_state): Likewise.
1702         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
1703         * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
1704         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
1705         Likewise.
1706         * config/aarch64/freebsd-unwind.h
1707         (aarch64_freebsd_fallback_frame_state): Likewise.
1708         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1709         Likewise.
1710         * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
1711         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1712         * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
1713         Likewise.
1714         * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
1715         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1716         Likewise.
1717         * config/rs6000/darwin-fallback.c (set_offset): Likewise.
1718         * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
1719         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
1720         * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
1722 2022-10-02  Olivier Hainque  <hainque@adacore.com>
1724         * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment.  Move
1725         -I options for gcc/include and gcc/include-fixed at the end
1726         and make them -isystem.
1728 2022-10-02  Olivier Hainque  <hainque@adacore.com>
1730         * config/gthr-vxworks.h: Prevent Wpragma warning for the
1731         pragma diagnostics on Wstrict-prototypes.
1733 2022-09-29  Olivier Hainque  <hainque@adacore.com>
1735         * config/vxcrtstuff.c: Improve the comment attached to the use
1736         of auto-host.h and of __dso_handle.  Remove redundant guard on
1737         HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
1739 2022-09-26  Thomas Neumann  <tneumann@users.sourceforge.net>
1741         * unwind-dw2-fde.c: Introduce a constant for in_shutdown
1742         for the non-fast-path case. Drop destructor priority.
1744 2022-09-22  Thomas Neumann  <tneumann@users.sourceforge.net>
1746         * unwind-dw2-fde.c: (release_register_frames) Remember
1747         when the btree has been destroyed.
1748         (__deregister_frame_info_bases) Disable the assert when
1749         shutting down.
1751 2022-09-18  Thomas Neumann  <tneumann@users.sourceforge.net>
1753         * unwind-dw2-fde.c: Replace uintptr_t with typedef
1754         for __UINTPTR_TYPE__.
1755         * unwind-dw2-btree.h: Likewise.
1757 2022-09-16  Thomas Neumann  <tneumann@users.sourceforge.net>
1759         * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
1760         (__register_frame_info_table_bases): Use btree in atomic fast path.
1761         (__deregister_frame_info_bases): Likewise.
1762         (_Unwind_Find_FDE): Likewise.
1763         (base_from_object): Make parameter const.
1764         (classify_object_over_fdes): Add query-only mode.
1765         (get_pc_range): Compute PC range for lookup.
1766         * unwind-dw2-fde.h (last_fde): Make parameter const.
1767         * unwind-dw2-btree.h: New file.
1769 2022-08-31  Martin Liska  <mliska@suse.cz>
1771         * config.host: Remove hppa.
1773 2022-08-30  Martin Liska  <mliska@suse.cz>
1775         * config.host: Remove the port.
1777 2022-08-26  Martin Liska  <mliska@suse.cz>
1779         * config.host: Remove cr16 related stuff.
1780         * config/cr16/crti.S: Removed.
1781         * config/cr16/crtlibid.S: Removed.
1782         * config/cr16/crtn.S: Removed.
1783         * config/cr16/divmodhi3.c: Removed.
1784         * config/cr16/lib1funcs.S: Removed.
1785         * config/cr16/t-cr16: Removed.
1786         * config/cr16/t-crtlibid: Removed.
1787         * config/cr16/unwind-cr16.c: Removed.
1788         * config/cr16/unwind-dw2.h: Removed.
1790 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
1792         * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
1793         (_FP_NANFRAC_H): Ditto.
1794         (_FP_NANSIGN_H): Ditto.
1795         * config/riscv/t-softfp32 (softfp_extensions): Add HF related
1796         routines.
1797         (softfp_truncations): Ditto.
1798         (softfp_extras): Ditto.
1799         * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
1801 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
1803         * soft-fp/fixhfdi.c: New.
1804         * soft-fp/fixhfsi.c: Likewise.
1805         * soft-fp/fixunshfdi.c: Likewise.
1806         * soft-fp/fixunshfsi.c: Likewise.
1807         * soft-fp/floatdihf.c: Likewise.
1808         * soft-fp/floatsihf.c: Likewise.
1809         * soft-fp/floatundihf.c: Likewise.
1810         * soft-fp/floatunsihf.c: Likewise.
1811         * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
1812         lines and update URL for license.
1813         * soft-fp/addsf3.c: Likewise.
1814         * soft-fp/addtf3.c: Likewise.
1815         * soft-fp/divdf3.c: Likewise.
1816         * soft-fp/divsf3.c: Likewise.
1817         * soft-fp/divtf3.c: Likewise.
1818         * soft-fp/double.h: Likewise.
1819         * soft-fp/eqdf2.c: Likewise.
1820         * soft-fp/eqhf2.c: Likewise.
1821         * soft-fp/eqsf2.c: Likewise.
1822         * soft-fp/eqtf2.c: Likewise.
1823         * soft-fp/extenddftf2.c: Likewise.
1824         * soft-fp/extended.h: Likewise.
1825         * soft-fp/extendhfdf2.c: Likewise.
1826         * soft-fp/extendhfsf2.c: Likewise.
1827         * soft-fp/extendhftf2.c: Likewise.
1828         * soft-fp/extendhfxf2.c: Likewise.
1829         * soft-fp/extendsfdf2.c: Likewise.
1830         * soft-fp/extendsftf2.c: Likewise.
1831         * soft-fp/extendxftf2.c: Likewise.
1832         * soft-fp/fixdfdi.c: Likewise.
1833         * soft-fp/fixdfsi.c: Likewise.
1834         * soft-fp/fixdfti.c: Likewise.
1835         * soft-fp/fixhfti.c: Likewise.
1836         * soft-fp/fixsfdi.c: Likewise.
1837         * soft-fp/fixsfsi.c: Likewise.
1838         * soft-fp/fixsfti.c: Likewise.
1839         * soft-fp/fixtfdi.c: Likewise.
1840         * soft-fp/fixtfsi.c: Likewise.
1841         * soft-fp/fixtfti.c: Likewise.
1842         * soft-fp/fixunsdfdi.c: Likewise.
1843         * soft-fp/fixunsdfsi.c: Likewise.
1844         * soft-fp/fixunsdfti.c: Likewise.
1845         * soft-fp/fixunshfti.c: Likewise.
1846         * soft-fp/fixunssfdi.c: Likewise.
1847         * soft-fp/fixunssfsi.c: Likewise.
1848         * soft-fp/fixunssfti.c: Likewise.
1849         * soft-fp/fixunstfdi.c: Likewise.
1850         * soft-fp/fixunstfsi.c: Likewise.
1851         * soft-fp/fixunstfti.c: Likewise.
1852         * soft-fp/floatdidf.c: Likewise.
1853         * soft-fp/floatdisf.c: Likewise.
1854         * soft-fp/floatditf.c: Likewise.
1855         * soft-fp/floatsidf.c: Likewise.
1856         * soft-fp/floatsisf.c: Likewise.
1857         * soft-fp/floatsitf.c: Likewise.
1858         * soft-fp/floattidf.c: Likewise.
1859         * soft-fp/floattihf.c: Likewise.
1860         * soft-fp/floattisf.c: Likewise.
1861         * soft-fp/floattitf.c: Likewise.
1862         * soft-fp/floatundidf.c: Likewise.
1863         * soft-fp/floatundisf.c: Likewise.
1864         * soft-fp/floatunditf.c: Likewise.
1865         * soft-fp/floatunsidf.c: Likewise.
1866         * soft-fp/floatunsisf.c: Likewise.
1867         * soft-fp/floatunsitf.c: Likewise.
1868         * soft-fp/floatuntidf.c: Likewise.
1869         * soft-fp/floatuntihf.c: Likewise.
1870         * soft-fp/floatuntisf.c: Likewise.
1871         * soft-fp/floatuntitf.c: Likewise.
1872         * soft-fp/gedf2.c: Likewise.
1873         * soft-fp/gesf2.c: Likewise.
1874         * soft-fp/getf2.c: Likewise.
1875         * soft-fp/half.h: Likewise.
1876         * soft-fp/ledf2.c: Likewise.
1877         * soft-fp/lesf2.c: Likewise.
1878         * soft-fp/letf2.c: Likewise.
1879         * soft-fp/muldf3.c: Likewise.
1880         * soft-fp/mulsf3.c: Likewise.
1881         * soft-fp/multf3.c: Likewise.
1882         * soft-fp/negdf2.c: Likewise.
1883         * soft-fp/negsf2.c: Likewise.
1884         * soft-fp/negtf2.c: Likewise.
1885         * soft-fp/op-1.h: Likewise.
1886         * soft-fp/op-2.h: Likewise.
1887         * soft-fp/op-4.h: Likewise.
1888         * soft-fp/op-8.h: Likewise.
1889         * soft-fp/op-common.h: Likewise.
1890         * soft-fp/quad.h: Likewise.
1891         * soft-fp/single.h: Likewise.
1892         * soft-fp/soft-fp.h: Likewise.
1893         * soft-fp/subdf3.c: Likewise.
1894         * soft-fp/subsf3.c: Likewise.
1895         * soft-fp/subtf3.c: Likewise.
1896         * soft-fp/truncdfhf2.c: Likewise.
1897         * soft-fp/truncdfsf2.c: Likewise.
1898         * soft-fp/truncsfhf2.c: Likewise.
1899         * soft-fp/trunctfdf2.c: Likewise.
1900         * soft-fp/trunctfhf2.c: Likewise.
1901         * soft-fp/trunctfsf2.c: Likewise.
1902         * soft-fp/trunctfxf2.c: Likewise.
1903         * soft-fp/truncxfhf2.c: Likewise.
1904         * soft-fp/unorddf2.c: Likewise.
1905         * soft-fp/unordsf2.c: Likewise.
1906         * soft-fp/unordtf2.c: Likewise.
1908 2022-07-18  Claudiu Zissulescu  <claziss@synopsys.com>
1910         * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
1911         * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
1912         configurations.
1914 2022-06-25  Jeff Law  <jeffreyalaw@gmail.com>
1916         * config.host: Removed tilegx and tilepro entries.
1917         * config/tilegx/sfp-machine.h: Removed.
1918         * config/tilegx/sfp-machine32.h: Removed.
1919         * config/tilegx/sfp-machine64.h: Removed.
1920         * config/tilegx/t-crtstuff: Removed.
1921         * config/tilegx/t-softfp: Removed.
1922         * config/tilegx/t-tilegx: Removed.
1923         * config/tilepro/atomic.c: Removed.
1924         * config/tilepro/atomic.h: Removed.
1925         * config/tilepro/linux-unwind.h: Removed.
1926         * config/tilepro/sfp-machine.h: Removed.
1927         * config/tilepro/softdivide.c: Removed.
1928         * config/tilepro/softmpy.S: Removed.
1929         * config/tilepro/t-crtstuff: Removed.
1930         * config/tilepro/t-tilepro: Removed.
1932 2022-06-09  Takayuki 'January June' Suwa  <jjsuwa_sys3175@yahoo.co.jp>
1934         * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
1935         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
1937 2022-06-01  H.J. Lu  <hjl.tools@gmail.com>
1939         PR libgcc/27576
1940         * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
1942 2022-05-25  Wilco Dijkstra  <wilco.dijkstra@arm.com>
1944         PR libgcc/105708
1945         * config/aarch64/lse-init.c: Increase constructor priority.
1947 2022-05-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1949         PR target/104689
1950         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1951         Handle the !REG_UNSAVED case.
1952         * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
1954 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
1956         * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
1957         (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
1958         (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
1960 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
1962         * config.host: Add t-dfprules to AArch64 targets.
1964 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
1966         * configure: Regenerate.
1968 2022-05-13  Sebastian Pop  <spop@amazon.com>
1970         PR target/105162
1971         * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
1972         * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
1974 2022-05-10  Martin Liska  <mliska@suse.cz>
1975             Hans-Peter Helfert  <peter-helfert@t-online.de>
1977         PR gcov-profile/105535
1978         * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
1979         n_functions.
1981 2022-05-02  Martin Liska  <mliska@suse.cz>
1983         * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
1985 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1987         * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
1988         (gcov_profile_merge_stream): Likewise.
1990 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1992         * libgcov-util.c (consume_stream): New.
1993         (get_target_profiles_for_merge): Likewise.
1994         (gcov_profile_merge_stream): Likewise.
1996 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1998         * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
2000 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2002         * libgcov-util.c (read_gcda_file): Do not open file.
2003         (ftw_read_file): Open file here.
2005 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2007         * libgcov-util.c (read_gcda_file): Prepend new info object to global
2008         list.
2009         (ftw_read_file): Remove list append here.
2011 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2013         * libgcov-util.c (read_gcda_file): Do not duplicate filename.
2014         (ftw_read_file): Duplicate filename for read_gcda_file().
2016 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2018         * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
2019         (__gcov_filename_to_gcfn): Declare and document.
2020         * libgcov-driver.c (dump_string): New.
2021         (__gcov_filename_to_gcfn): Likewise.
2022         (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
2024 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2026         * libgcov.h (gcov_seek): Remove define and declaration.
2028 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2030         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
2031         parameter.  Pass mode to gcov_open() calls.
2032         * libgcov-driver.c (dump_one_gcov):  Add mode parameter.  Pass mode to
2033         gcov_exit_open_gcda_file() call.
2034         (gcov_do_dump): Add mode parameter.  Pass mode to dump_one_gcov()
2035         calls.
2036         (__gcov_dump_one):  Open file for reading and writing.
2038 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2040         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
2041         reading and writing.
2042         * libgcov-util.c (read_gcda_file): Open file for reading.
2043         * libgcov.h (gcov_open): Delete declaration.
2045 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2047         * libgcov-util.c (gcov_profile_merge): Return the list of merged
2048         profiles.  Accept empty target and source profile lists.
2050 2022-04-08  Sergei Trofimovich  <siarheit@google.com>
2052         * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
2054 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
2055             Lulu Cheng  <chenglulu@loongson.cn>
2057         * configure: Regenerate file.
2059 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
2060             Lulu Cheng  <chenglulu@loongson.cn>
2062         * config/loongarch/crtfastmath.c: New file.
2063         * config/loongarch/linux-unwind.h: Like wise.
2064         * config/loongarch/sfp-machine.h: Like wise.
2065         * config/loongarch/t-crtstuff: Like wise.
2066         * config/loongarch/t-loongarch: Like wise.
2067         * config/loongarch/t-loongarch64: Like wise.
2068         * config/loongarch/t-softfp-tf: Like wise.
2069         * config.host: Add LoongArch tuples.
2070         * configure.ac: Add LoongArch support.
2072 2022-03-19  Sergei Trofimovich  <slyfox at gentoo dot org>
2074         PR libgcc/86224
2075         * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
2076         for __mulsi3.
2077         (__udivsi3_internal, __divsi3_internal): Similarly.
2078         (__umodsi3, __modsi3): Use the internal function names.
2080 2022-03-09  Tobias Burnus  <tobias@codesourcery.com>
2082         PR target/102215
2083         * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
2084         a line up to non-arg-dependent value first.
2085         (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
2086         __atomic_compare_exchange_{1,2}.
2088 2022-03-04  Iain Sandoe  <iain@sandoe.co.uk>
2090         * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
2091         * config/t-darwin-ehs: Add dependency on unwind.h.
2093 2022-02-24  Xi Ruoyao  <xry111@mengyan1223.wang>
2095         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
2096         with 0 instead of NULL.
2098 2022-02-24  Jose E. Marchesi  <jose.marchesi@oracle.com>
2100         PR target/104656
2101         * configure.ac: --disable-gcov if targetting bpf-*.
2102         * configure: Regenerate.
2104 2022-01-25  Florian Weimer  <fweimer@redhat.com>
2106         PR libgcc/104207
2107         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
2109 2022-01-17  Martin Liska  <mliska@suse.cz>
2111         * libgcov-driver.c: Rename .c names to .cc.
2113 2022-01-15  David  <gccbugzilla@limegreensocks.com>
2115         * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
2116         Remove inlined version, Windows 95 is no longer relevant.
2117         * config/i386/gthr-win32.h
2118         (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
2120 2022-01-14  Claudiu Zissulescu  <claziss@synopsys.com>
2122         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
2123         DWARF_ALT_FRAME_RETURN_COLUMN macro.
2125 2022-01-04  Florian Weimer  <fweimer@redhat.com>
2127         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
2128         if available.
2130 2022-01-02  John David Anglin  <danglin@gcc.gnu.org>
2132         * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
2133         (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
2134         return is not equal _ASM_EFAULT.
2135         (__kernel_cmpxchg2): Likewise.
2137 2021-12-17  Iain Sandoe  <iain@sandoe.co.uk>
2139         * config.host: Add shim declaration header to powerpc*-darwin builds.
2140         * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
2141         file.
2142         * config/t-darwin-ehs: Add dependencies to the shared unwinder
2143         objects.
2144         * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
2145         the shared EH lib.  Add all-multi to the dependencies for the
2146         libgcc_s.1.dylib redirections.
2148 2021-12-13  Olivier Hainque  <hainque@adacore.com>
2150         * config.host (powerpc*-*-vxworks7*): Remove
2151         rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
2153 2021-12-13  Olivier Hainque  <hainque@adacore.com>
2155         * config.host (*vxworks*): Remove special case for
2156         arm on the use of vxcrtstuff.
2158 2021-12-13  Fred Konrad  <konrad@adacore.com>
2159             Olivier Hainque  <hainque@adacore.com>
2161         * config/t-vxcrtstuffS: New Makefile fragment.
2162         * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
2163         functions for INITFINI_ARRAY support in shared libs and guard
2164         the definition of eh table registration functions on conditions
2165         indicating they are needed.
2167 2021-12-13  Olivier Hainque  <hainque@adacore.com>
2169         * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
2170         ahead of the other files in tmake_files.
2171         * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
2172         overriding it.
2174 2021-12-13  Olivier Hainque  <hainque@adacore.com>
2176         * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
2177         both VxWorks7 and earlier.
2178         * config/t-vxworks7: Remove.
2179         * config.host: Remove special case for vxworks7.
2181 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
2183         * config/vxcrtstuff.c: Make constructor and destructor
2184         functions static when possible.
2186 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
2188         * config/vxcrtstuff.c: Remove constructor/destructor
2189         declarations.
2191 2021-12-10  Iain Sandoe  <iain@sandoe.co.uk>
2193         * config/t-darwin: Add libgcc_tm.h to the dependencies
2194         for darwin10-unwind-find-enc-func.
2196 2021-12-10  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2198         * config/rs6000/t-vxworks: New file.
2199         * config.host (powerpc*-*-vxworks*): Use it instead of
2200         t-ppccomm.
2202 2021-12-09  Fred Konrad  <konrad@adacore.com>
2204         * config.host (powerpc*-wrs-vxworks7*): Fix path to
2205         rs6000/t-ppc64-fp, relative to config/ not libgcc/.
2207 2021-12-09  Olivier Hainque  <hainque@adacore.com>
2208             Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2210         * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
2211         $(LIBGCC2_INCLUDES).
2212         * config/t-vxworks7: Likewise.
2214 2021-12-08  Iain Sandoe  <iain@sandoe.co.uk>
2216         * config.host (*-*-darwin*): Add logic to build a shared
2217         unwinder library for Darwin8-10.
2218         * config/i386/t-darwin: Build legacy libgcc_s.1.
2219         * config/rs6000/t-darwin: Likewise.
2220         * config/t-darwin: Reorganise the EH fragments to place
2221         them for inclusion in a shared EH lib.
2222         * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
2223         the supporting pieces (all FAT libs).
2224         * config/t-darwin-noeh: Removed.
2225         * config/darwin-unwind.ver: New file.
2226         * config/rs6000/t-darwin-ehs: New file.
2227         * config/t-darwin-ehs: New file.
2229 2021-12-06  Nelson Chu  <nelson.chu@sifive.com>
2231         * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
2232         then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
2233         * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
2234         HIDDEN_DEF.
2236 2021-11-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
2238         * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
2239         ssize_t and vfork after including auto-host.h.
2241 2021-11-29  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
2243         * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
2244         crtend.o to extra_parts.
2246 2021-11-27  John David Anglin  <danglin@gcc.gnu.org>
2248         * config/pa/t-dimode (lib2difuncs): Fix typo.
2250 2021-11-25  Florian Weimer  <fweimer@redhat.com>
2252         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
2253         Remove func, ret.
2254         (find_fde_tail): New function.  Split from
2255         _Unwind_IteratePhdrCallback.  Move the result initialization
2256         from _Unwind_Find_FDE.
2257         (_Unwind_Find_FDE): Updated to call find_fde_tail.
2259 2021-11-22  Florian Weimer  <fweimer@redhat.com>
2261         * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
2262         (struct unw_eh_callback_data): Make dbase member conditional.
2263         (unw_eh_callback_data_dbase): New function.
2264         (base_from_cb_data): Simplify for the non-dbase case.
2265         (_Unwind_IteratePhdrCallback): Adjust.
2266         (_Unwind_Find_FDE): Likewise.
2268 2021-11-22  Florian Weimer  <fweimer@redhat.com>
2270         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
2271         tbase member.
2272         (base_from_cb_data): Adjust.
2273         (_Unwind_IteratePhdrCallback): Likewise.
2274         (_Unwind_Find_FDE): Likewise.
2276 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
2278         * config.host: Add weak emutls crt to the extra_parts.
2279         * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
2280         workaround.
2281         * config/libgcc-libsystem.ver: Add exclude list for the system-
2282         provided unwinder.
2283         * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
2284         * config/i386/libgcc-darwin.10.4.ver: Removed.
2285         * config/i386/libgcc-darwin.10.5.ver: Removed.
2286         * config/rs6000/libgcc-darwin.10.4.ver: Removed.
2287         * config/rs6000/libgcc-darwin.10.5.ver: Removed.
2288         * config/t-darwin-noeh: New file.
2290 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
2292         * config/t-darwin: Build weak-defined emutls objects.
2293         * emutls.c (__emutls_get_address): Add optional attributes.
2294         (__emutls_register_common): Likewise.
2295         (EMUTLS_ATTR): New.
2297 2021-11-11  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
2299         PR libgcc/103044
2300         * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
2301         called with a null argument or at the end of the backtrace and return.
2302         * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
2304 2021-11-10  Jakub Jelinek  <jakub@redhat.com>
2306         * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
2307         formatting fix.
2309 2021-11-05  Iain Sandoe  <iain@sandoe.co.uk>
2311         * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
2312         * config/i386/darwin-lib.h: Declare Darwin10 crt function.
2314 2021-11-05  John David Anglin  <danglin@gcc.gnu.org>
2316         PR libgomp/96661
2317         * config.host (hppa*64*-*-linux*): Revise tmake_file.
2318         (hppa*64*-*-hpux11*): Likewise.
2319         * config/pa/sfp-exceptions.c: New.
2320         * config/pa/sfp-machine.h: New.
2321         * config/pa/t-dimode: New.
2322         * config/pa/t-softfp-sfdftf: New.
2324 2021-10-27  John David Anglin  <danglin@gcc.gnu.org>
2326         * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
2327         tmake_file.
2328         * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
2329         Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
2330         SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
2331         * config/pa/t-linux64 (LIB1ASMSRC): New define.
2332         (LIB1ASMFUNCS): Revise.
2333         (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
2335 2021-10-22  Stafford Horne  <shorne@gmail.com>
2337         * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2338         Change to 0.
2340 2021-10-14  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
2342         * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
2343         outside of get_regs() in order to use it in another function, this
2344         is done twice: for __powerpc64__ and for !__powerpc64__.
2345         (struct trace_arg): New struct.
2346         (struct layout): New struct.
2347         (ppc_backchain_fallback): New function.
2348         * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
2349         state and call MD_BACKCHAIN_FALLBACK.
2351 2021-10-13  Martin Liska  <mliska@suse.cz>
2353         PR gcov-profile/90364
2354         * libgcov-driver.c (merge_one_data): Skip timestamp and verify
2355         checksums.
2356         (write_one_data): Write also checksum.
2357         * libgcov-util.c (read_gcda_file): Read also checksum field.
2358         * libgcov.h (struct gcov_info): Add new field.
2360 2021-10-08  Ian Lance Taylor  <iant@golang.org>
2362         * config/i386/morestack.S: Use .init_array for constructor if
2363         available.
2364         * config/rs6000/morestack.S: Likewise.
2365         * config/s390/morestack.S: Likewise.
2367 2021-10-03  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
2369         PR target/101104
2370         * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
2371         Use more correct values for native IBM 128-bit.
2373 2021-09-28  Iain Sandoe  <iain@sandoe.co.uk>
2375         * config/i386/libgcc-darwin.ver: Add Symbols for
2376         __cpu_model, __cpu_indicator_init.
2378 2021-09-22  Iain Sandoe  <iain@sandoe.co.uk>
2380         * config/i386/sfp-machine.h: Guard Mach-O-specific code
2381         using __APPLE__.
2383 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
2385         * config/t-slibgcc-darwin: Delete unused code.
2387 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
2389         * config/i386/t-darwin: Add in a vers file for X86-specific
2390         symbols.
2391         * config/t-darwin: Add the generic symbol maps here...
2392         * config/t-slibgcc-darwin: ... removing from here.
2393         * config/i386/libgcc-darwin.ver: New file.
2395 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
2397         * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
2398         and __mulhc3.
2400 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
2402         * config.host: Use convenience library for Darwin10
2403         unwinder shim.
2404         * config/t-darwin: Build Darwin10 unwinder shim as a
2405         convenience library.
2407 2021-09-13  Andrew Pinski  <apinski@marvell.com>
2409         * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
2410         * config/m32r/libgcc-glibc.ver: Removed.
2411         * config/m32r/t-linux: Removed.
2413 2021-09-08  liuhongt  <hongtao.liu@intel.com>
2415         * config/i386/t-softfp: Compile __{mul,div}hc3 into
2416         libgcc_s.so.1.
2418 2021-09-08  Jakub Jelinek  <jakub@redhat.com>
2419             Iain Sandoe  <iain@sandoe.co.uk>
2421         * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
2422         and export *hf* and *hc* functions at GCC_12.0.0.
2424 2021-09-06  liuhongt  <hongtao.liu@intel.com>
2426         * Makefile.in: Adjust to support specific CFLAGS for each
2427         libgcc source file.
2428         * config/i386/64/t-softfp: Explicitly add -msse2 for HF
2429         related libgcc source files.
2430         * config/i386/t-softfp: Ditto.
2431         * config/i386/_divhc3.c: New file.
2432         * config/i386/_mulhc3.c: New file.
2434 2021-09-03  Iain Sandoe  <iain@sandoe.co.uk>
2436         * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
2437         alias_DFtype, alias_TFtype): New.
2438         (ALIAS_SELECTOR): New.
2439         (strong_alias): Use __typeof and a _Generic selector to
2440         provide the type to the synthesized function.
2442 2021-09-02  liuhongt  <hongtao.liu@intel.com>
2444         * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
2445         * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
2446         * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
2447         * config/i386/t-softfp: Add hf soft-fp.
2448         * config.host: Add i386/64/t-softfp.
2449         * config/i386/64/t-softfp: New file.
2451 2021-09-02  liuhongt  <hongtao.liu@intel.com>
2453         * soft-fp/eqhf2.c: New file.
2454         * soft-fp/extendhfdf2.c: New file.
2455         * soft-fp/extendhfsf2.c: New file.
2456         * soft-fp/half.h (FP_CMP_EQ_H): New marco.
2457         * soft-fp/truncdfhf2.c: New file
2458         * soft-fp/truncsfhf2.c: New file
2460 2021-09-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2462         * unwind-arm-common.inc (abort): Remove.
2464 2021-08-31  Richard Sandiford  <richard.sandiford@arm.com>
2466         * config/aarch64/value-unwind.h: Add missing runtime exception
2467         paragraph.
2468         * config/frv/frv-abi.h: Likewise.
2469         * config/i386/value-unwind.h: Likewise.
2470         * config/pa/pa64-hpux-lib.h: Likewise.
2472 2021-08-26  David Edelsohn  <dje.gcc@gmail.com>
2474         * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
2475         __gcc_qadd.
2476         (__gcc_qadd): Call ldouble_qadd_internal.
2477         (__gcc_qsub): Call ldouble_qadd_internal with second long double
2478         argument negated.
2480 2021-08-26  Jonathan Yong  <10walls@gmail.com>
2482         * config/i386/cygming-crtend.c: Fix register_frame_ctor
2483         and register_frame_dtor warnings.
2485 2021-08-24  Richard Earnshaw  <rearnsha@arm.com>
2487         PR target/102035
2488         * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
2489         Add vlldm erratum work-around.
2491 2021-08-21  John David Anglin  <danglin@gcc.gnu.org>
2493         * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
2495 2021-08-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2497         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
2498         (gcov_type_unsigned): Likewise.
2500 2021-08-14  Stafford Horne  <shorne@gmail.com>
2502         PR target/99783
2503         * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
2504         * config/or1k/t-crtstuff: New file.
2506 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2508         * libgcov-driver.c (#include <stdint.h>): Remove.
2509         (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
2511 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2513         * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
2514         * gcov.h (gcov_info): Declare.
2515         (__gcov_info_to_gdca): Likewise.
2516         * libgcov.h (gcov_write_counter): Remove.
2517         (gcov_write_tag_length): Likewise.
2518         * libgcov-driver.c (#include <stdint.h>): New.
2519         (#include <string.h>): Remove.
2520         (NEED_L_GCOV): Conditionally define.
2521         (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
2522         (are_all_counters_zero): New.
2523         (gcov_dump_handler): Likewise.
2524         (gcov_allocate_handler): Likewise.
2525         (dump_unsigned): Likewise.
2526         (dump_counter): Likewise.
2527         (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
2528         Use dump_unsigned() and dump_counter().
2529         (write_one_data): Add dump_fn, allocate_fn, and arg parameters.  Use
2530         dump_unsigned(), dump_counter(), and are_all_counters_zero().
2531         (__gcov_info_to_gcda): New.
2533 2021-08-05  Jakub Jelinek  <jakub@redhat.com>
2535         * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
2536         * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
2537         * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
2538         * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
2540 2021-08-04  Jakub Jelinek  <jakub@redhat.com>
2542         * config/t-slibgcc-fuchsia: Undo doubly applied patch.
2544 2021-07-15  Alan Modra  <amodra@gmail.com>
2546         * config/rs6000/morestack.S (R2_SAVE): Define.
2547         (__morestack): Save and restore r2.  Set up r2 for called
2548         functions.
2550 2021-07-01  H.J. Lu  <hjl.tools@gmail.com>
2552         * soft-fp/extendhfxf2.c: New file.
2553         * soft-fp/truncxfhf2.c: Likewise.
2555 2021-06-29  Julian Brown  <julian@codesourcery.com>
2557         * config/gcn/lib2-bswapti2.c: New file.
2558         * config/gcn/lib2-divmod-di.c: New file.
2559         * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
2560         typedefs.
2561         (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
2562         * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
2563         lib2-bswapti2.c.
2565 2021-06-29  Julian Brown  <julian@codesourcery.com>
2567         * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
2568         return types to USItype.
2569         * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
2571 2021-06-23  Kewen Lin  <linkw@linux.ibm.com>
2573         * configure: Regenerate.
2574         * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
2575         typos among the name, CFLAGS and the test.
2576         * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
2577         fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
2578         Remove.
2579         * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
2580         macro FLOAT128_HW_INSNS_ISA3_1.
2581         (FP128_3_1_CFLAGS_HW): Fix option typo.
2582         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
2583         FLOAT128_HW_INSNS_ISA3_1.
2584         (__floattikf_resolve): Likewise.
2585         (__floatuntikf_resolve): Likewise.
2586         (__fixkfti_resolve): Likewise.
2587         (__fixunskfti_resolve): Likewise.
2588         (__floattikf): Likewise.
2589         (__floatuntikf): Likewise.
2590         (__fixkfti): Likewise.
2591         (__fixunskfti): Likewise.
2593 2021-06-11  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
2595         PR target/99939
2596         * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
2597         macro.
2598         * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
2599         on passing -mcmse option.
2601 2021-06-10  Segher Boessenkool  <segher@kernel.crashing.org>
2603         * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
2604         _ARCH_PPC64 .
2606 2021-06-09  Carl Love  <cel@us.ibm.com>
2608         * config.host: Add if test and set for
2609         libgcc_cv_powerpc_3_1_float128_hw.
2610         * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
2611         Change calls of __fixkfti to __fixkfti_sw.
2612         * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
2613         Change calls of __fixunskfti to __fixunskfti_sw.
2614         * config/rs6000/float128-p10.c (__floattikf_hw,
2615         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
2616         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
2617         (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
2618         __fixunskfti_resolve): Add resolve functions.
2619         (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
2620         * config/rs6000/float128-sed (floattitf, __floatuntitf,
2621         __fixtfti, __fixunstfti): Add editor commands to change names.
2622         * config/rs6000/float128-sed-hw (__floattitf,
2623         __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
2624         change names.
2625         * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
2626         * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
2627         * config/rs6000/quad-float128.h (__floattikf_sw,
2628         __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
2629         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
2630         __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
2631         * config/rs6000/t-float128 (floattikf, floatuntikf,
2632         fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
2633         (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
2634         file names to fp128_ppc_funcs.
2635         * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
2636         fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
2637         fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
2638         * config/rs6000/t-float128-p10-hw: New file.
2639         * configure: Update script for isa 3.1 128-bit float support.
2640         * configure.ac: Add check for 128-bit float hardware support.
2641         * config/rs6000/fixkfti-sw.c: New file.
2642         * config/rs6000/fixunskfti-sw.c: New file.
2643         * config/rs6000/floattikf-sw.c: New file.
2644         * config/rs6000/floatuntikf-sw.c: New file.
2646 2021-05-13  Dimitar Dimitrov  <dimitar@dinux.eu>
2648         * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
2650 2021-05-13  Martin Liska  <mliska@suse.cz>
2652         * libgcov-driver.c: Fix GNU coding style.
2654 2021-05-10  Martin Liska  <mliska@suse.cz>
2656         * libgcov-driver.c (gcov_version): Use different name that does
2657         not clash with newly introduced macro.
2659 2021-04-29  Eric Botcazou  <ebotcazou@adacore.com>
2661         * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
2662         if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
2663         * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
2665 2021-04-28  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
2667         * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
2668         Define.
2669         (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
2670         * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
2671         Define.
2672         (__divkc3): Improve complex divide.
2674 2021-04-23  Michael Meissner  <meissner@linux.ibm.com>
2676         PR target/98952
2677         * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
2678         trampoline size comparison in 32-bit by reversing test and
2679         combining load immediate with compare.
2680         (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
2681         in 32-bit by reversing test and combining load immediate with
2682         compare.
2684 2021-04-05  Florian Weimer  <fweimer@redhat.com>
2685             Michael Meissner   <meissner@linux.ibm.com>
2687         * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
2688         point functions for $(decimal_float) only.
2690 2021-04-03  Jakub Jelinek  <jakub@redhat.com>
2692         PR target/97653
2693         * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
2694         $(objext) instead of $(object).  Use _floatunditf instead of
2695         _floatunsditf.  Add tf <-> ti conversion objects.
2696         (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
2698 2021-03-29  Michael Meissner  <meissner@linux.ibm.com>
2700         * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
2701         (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
2702         (fp128_decstr_objs): Delete.
2703         * dfp-bit.h: Call __sprintfieee128 to do conversions from
2704         _Float128 to a Decimal type.  Call __strtoieee128 to do
2705         conversions from a Decimal type to _Float128.
2706         * config/rs6000/_sprintfkf.c: Delete file.
2707         * config/rs6000/_sprintfkf.h: Delete file.
2708         * config/rs6000/_strtokf.c: Delete file.
2709         * config/rs6000/_strtokf.h: Delete file.
2711 2021-03-23  Marcus Comstedt  <marcus@mc.pp.se>
2713         * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
2714         to __BYTE_ORDER__.
2716 2021-03-06  Jakub Jelinek  <jakub@redhat.com>
2718         PR gcov-profile/99406
2719         * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
2720         defined, define these macros if not defined already.
2722 2021-03-04  Martin Liska  <mliska@suse.cz>
2724         PR gcov-profile/99105
2725         * libgcov-driver.c (write_top_counters): Rename to ...
2726         (write_topn_counters): ... this.
2727         (write_one_data): Pre-allocate buffer for number of items
2728         in the corresponding linked lists.
2729         * libgcov.h (malloc_mmap): New function.
2730         (allocate_gcov_kvp): Use it.
2732 2021-03-04  Martin Liska  <mliska@suse.cz>
2734         PR gcov-profile/99385
2735         * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
2737 2021-03-03  Martin Liska  <mliska@suse.cz>
2739         PR gcov-profile/97461
2740         * config.in: Regenerate.
2741         * configure: Likewise.
2742         * configure.ac: Check sys/mman.h header file
2743         * libgcov-driver.c (struct gcov_kvp): Remove static
2744         pre-allocated pool and use a dynamic one.
2745         * libgcov.h (MMAP_CHUNK_SIZE): New.
2746         (gcov_counter_add): Use mmap to allocate pool for struct
2747         gcov_kvp.
2749 2021-03-02  Michael Meissner  <meissner@linux.ibm.com>
2751         * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
2752         the function.
2753         * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
2755 2021-02-24  Jakub Jelinek  <jakub@redhat.com>
2757         PR libgcc/99236
2758         * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
2759         negation of m in unsigned type.
2761 2021-02-24  Christophe Lyon  <christophe.lyon@linaro.org>
2762             Hau Hsu  <hsuhau617@gmail.com>
2764         PR target/99157
2765         * config/arm/t-arm: Fix cmse support detection.
2767 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
2769         * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
2771 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
2773         * config/rs6000/_dd_to_kf.c: New file.
2774         * config/rs6000/_kf_to_dd.c: New file.
2775         * config/rs6000/_kf_to_sd.c: New file.
2776         * config/rs6000/_kf_to_td.c: New file.
2777         * config/rs6000/_sd_to_kf.c: New file.
2778         * config/rs6000/_sprintfkf.c: New file.
2779         * config/rs6000/_sprintfkf.h: New file.
2780         * config/rs6000/_strtokf.h: New file.
2781         * config/rs6000/_strtokf.c: New file.
2782         * config/rs6000/_td_to_kf.c: New file.
2783         * config/rs6000/quad-float128.h: Add new declarations.
2784         * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
2785         (fp128_decstr_funcs): New macro.
2786         (ibm128_dec_funcs): New macro.
2787         (fp128_ppc_funcs): Add the new conversions.
2788         (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
2789         compiled with -mabi=ieeelongdouble.
2790         (fp128_decstr_objs): Force __float128 <-> string conversions to be
2791         compiled with -mabi=ibmlongdouble.
2792         (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
2793         compiled with -mabi=ieeelongdouble.
2794         (FP128_CFLAGS_DECIMAL): New macro.
2795         (IBM128_CFLAGS_DECIMAL): New macro.
2796         * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
2797         (BFP_TO_DFP): Add PowerPC _Float128 support.
2798         * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
2799         IEEE 128-bit floating point.
2800         (DFP_TO_BFP): Add PowerPC _Float128 support.
2801         (BFP_TO_DFP): Add PowerPC _Float128 support.
2802         (BFP_SPRINTF): New macro.
2804 2021-01-27  Jakub Jelinek  <jakub@redhat.com>
2806         * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
2807         * config/i386/savms64f.h: Likewise.
2808         * config/i386/resms64.h: Likewise.
2809         * config/i386/resms64f.h: Likewise.
2810         * config/i386/resms64x.h: Likewise.
2811         * config/i386/resms64fx.h: Likewise.
2813 2021-01-26  Martin Liska  <mliska@suse.cz>
2815         PR gcov-profile/98739
2816         * libgcov.h (gcov_topn_add_value): Do not train when
2817         we have a merged profile with a negative number of total
2818         value.
2820 2021-01-25  Martin Liska  <mliska@suse.cz>
2822         PR gcov-profile/98739
2823         * libgcov-merge.c (__gcov_merge_topn): Mark when merging
2824         ends with a dropped counter.
2825         * libgcov.h (gcov_topn_add_value): Add return value.
2827 2021-01-13  Stafford Horne  <shorne@gmail.com>
2829         * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
2830         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
2831         FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
2832         FP_EX_ALL): New constant macros.
2833         (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
2834         FP_HANDLE_EXCEPTIONS): New macros.
2835         (_FP_TININESS_AFTER_ROUNDING): Change to 1.
2837 2021-01-13  Samuel Thibault  <samuel.thibault@gnu.org>
2839         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
2840         posix siginfo case to struct handler_args. Detect between legacy
2841         and siginfo from the second parameter, which is a small sigcode in
2842         the legacy case, and a pointer in the siginfo case.
2844 2020-12-20  Max Filippov  <jcmvbkbc@gmail.com>
2846         * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
2847         functions.
2848         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
2849         _bswapdi2.
2851 2020-12-08  Ian Lance Taylor  <iant@golang.org>
2853         * generic-morestack-thread.c (free_segments): Block signals during
2854         thread exit.
2856 2020-12-03  Michael Meissner  <meissner@linux.ibm.com>
2858         PR libgcc/97543
2859         PR libgcc/97643
2860         * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
2861         (IBM128_SHARED_OBJS): New make variable.
2862         (IBM128_OBJS): New make variable.  Set all objects to use the
2863         explicit IBM format, and disable gnu attributes.
2864         (IBM128_CFLAGS): New make variable.
2865         (gcc_s_compile): Add -mno-gnu-attribute to all shared library
2866         modules.
2868 2020-12-03  Alexandre Oliva  <oliva@adacore.com>
2870         * config/t-vxworks (LIB2ADD): Drop.
2871         * config/t-vxworks7 (LIB2ADD): Likewise.
2872         * config/vxcache.c: Remove.
2874 2020-11-30  Stefan Kanthak  <stefan.kanthak@nexgo.de>
2876         * libgcc2.c (bswapsi2): Make constants unsigned.
2878 2020-11-25  Stefan Kanthak  <stefan.kanthak@nexgo.de>
2880         * libgcc2.c (absvSI2): Simplify/improve implementation by using
2881         builtin_add_overflow.
2882         (absvsi2, absvDI2): Likewise.
2884 2020-11-20  Maciej W. Rozycki  <macro@linux-mips.org>
2886         * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
2887         (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
2889 2020-11-18  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2891         * config/msp430/lib2hw_mul.S (mult64_hw): New.
2892         (if MUL_32): Use mult64_hw for __muldi3.
2893         (if MUL_F5): Use mult64_hw for __muldi3.
2894         * config/msp430/lib2mul.c (__muldi3): New.
2895         * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
2897 2020-11-17  Alan Modra  <amodra@gmail.com>
2899         * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
2900         (LIB2_SIDITI_CONV_FUNCS): Define.
2901         * config/rs6000/ppc64-fp.c: Delete file.
2903 2020-11-15  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2905         * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
2906         hwmult library functions.
2908 2020-11-10  Jeff Law  <law@redhat.com>
2910         * libgcc2.c: Fix whitespace issues in most recent change.
2912 2020-11-10  Stefan Kanthak  <stefan.kanthak@nexgo.de>
2914         * libgcc2.c (__addvSI3): Use overflow builtins.
2915         (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
2916         (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
2917         (__negvsi2, __negvDI2): Likewise.
2918         (__cmpdi2, __ucmpdi2): Adjust implementation to improve
2919         generated code.
2920         * libgcc2.h (__ucmpdi2): Adjust prototype.
2922 2020-11-03  Pat Bernardi  <bernardi@adacore.com>
2923             Olivier Hainque   <hainque@adacore.com>
2925         * config.host (aarch64-vxworks7*, tmake_file): Add
2926         ${cpu_type}/t-lse and t-slibgcc-libgcc.
2928 2020-11-03  Martin Storsjö  <martin@martin.st>
2930         * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
2931         before calling the callback.
2933 2020-10-30  Olivier Hainque  <hainque@adacore.com>
2934             Douglas Rupp  <rupp@adacore.com>
2935             Pat Bernardi  <bernardi@adacore.com>
2937         * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
2938         to apply to VxWorks 7 as well.
2940 2020-10-29  Olivier Hainque  <hainque@adacore.com>
2942         * config/gthr-vxworks-tls.c: Fix preprocessor logic
2943         controlling the definition of VX_ENTER_TLS_DTOR and
2944         VX_LEAVE_TLS_DTOR based on a version major check.
2946 2020-10-29  Olivier Hainque  <hainque@adacore.com>
2948         * config/gthr-vxworks-thread.c: Fix name of macro used
2949         to condition the inclusion of an actual implementation.
2951 2020-10-27  Martin Liska  <mliska@suse.cz>
2953         PR gcov-profile/97461
2954         * libgcov.h (gcov_counter_add): Use first static counters
2955         as it should help to have malloc wrappers set up.
2957 2020-10-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2959         * config/gthr-vxworks-thread.c: #include gthr.h before
2960         testing the guard defined there.
2961         * config/gthr-vxworks-cond.c: Likewise.
2963 2020-10-21  Douglas Rupp  <rupp@adacore.com>
2964             Olivier Hainque  <hainque@adacore.com>
2966         * config.host (powerpc*-wrs-vxworks7*): New case.
2967         * configure.ac: Handle powerpc*-*-vxworks7* as
2968         powerpc*-*-linux* for ppc-fp_type.
2969         * configure: Regenerate.
2971 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2973         * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
2974         section on VxWorks >= 6.
2975         * config/gthr-vxworks-thread.c: Condition the entire
2976         implementation on __GTHREAD_CXX0X.
2978 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2980         * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
2981         section on VxWorks >= 6.
2982         * config/gthr-vxworks-cond.c: Condition the entire
2983         implementation on __GTHREAD_HAS_COND.
2985 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2987         * config/gthr-vxworks.c: #include <taskLib.h>.
2989 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2991         * config/gthr-vxworks.h: Rewrite remaining occurrence
2992         of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
2994 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2995              Olivier Hainque   <hainque@adacore.com>
2997         * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
2998         except on VxWorks 6.
3000 2020-10-16  Olivier Hainque  <hainque@adacore.com>
3002         * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
3004 2020-10-14  Alexandre Oliva  <oliva@adacore.com>
3006         * config/gthr-vxworks-thread.c: Include stdlib.h.
3007         (tls_delete_hook): Prototype it.
3008         (__gthread_cond_signal): Return early if no waiters.  Consume
3009         signal in case the semaphore got full.  Use semInfoGet instead
3010         of kernel-mode-only semInfo.
3011         (__gthread_cond_timedwait): Use semExchange.  Always take the
3012         mutex again before returning.
3013         * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
3015 2020-10-14  Olivier Hainque  <hainque@adacore.com>
3017         * config/t-vxworks (LIBGCC2_INCLUDES): Append
3018         $(MULTISUBDIR) to the -I path for fixed headers, as we
3019         arrange to have different sets of such headers for different
3020         multilibs when they are activated.
3021         * config/t-vxworks7: Likewise.
3023 2020-10-14  Olivier Hainque  <hainque@adacore.com>
3025         * config/t-vxworks: Add include-fixed to include search
3026         paths for libgcc on VxWorks.
3027         * config/t-vxworks7: Likewise.
3029 2020-10-09  H.J. Lu  <hjl.tools@gmail.com>
3031         PR target/97148
3032         * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
3033         instead of <cetintrin.h>.
3035 2020-10-01  Alan Modra  <amodra@gmail.com>
3037         * config/rs6000/morestack.S,
3038         * config/rs6000/tramp.S: Support __PCREL__ code.
3040 2020-10-01  Alan Modra  <amodra@gmail.com>
3042         * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
3044 2020-09-29  Maciej W. Rozycki  <macro@wdc.com>
3046         * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
3047         variable.
3049 2020-09-28  Richard Sandiford  <richard.sandiford@arm.com>
3051         * config/aarch64/libgcc-softfp.ver: New file.
3052         * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
3054 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
3056         * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
3058 2020-09-22  Sergei Trofimovich  <siarheit@google.com>
3060         PR gcov-profile/96913
3061         * libgcov-driver.c (write_one_data): Avoid function pointer
3062         comparison in TOP streaming decision.
3064 2020-09-17  Torbjörn SVENSSON  <torbjorn.svensson@st.com>
3065             Christophe Lyon  <christophe.lyon@linaro.org>
3067         * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
3068         qualifier.
3069         (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
3070         (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
3071         missing prototypes.
3073 2020-09-17  Wei Wentao  <weiwt.fnst@cn.fujitsu.com>
3075         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
3076         unused variable warning.
3078 2020-09-16  Jojo R  <jiejie_rong@c-sky.com>
3080         * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
3082 2020-09-09  Tom de Vries  <tdevries@suse.de>
3084         * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
3085         Wbuiltin-declaration-mismatch.
3087 2020-08-26  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3089         * config/msp430/slli.S (__gnu_mspabi_sllp): New.
3090         * config/msp430/srai.S (__gnu_mspabi_srap): New.
3091         * config/msp430/srli.S (__gnu_mspabi_srlp): New.
3093 2020-08-13  Kwok Cheung Yeung  <kcy@codesourcery.com>
3095         * config/nvptx/atomic.c: New.
3096         * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
3098 2020-08-03  Ian Lance Taylor  <iant@golang.org>
3100         * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
3102 2020-08-03  Jakub Jelinek  <jakub@redhat.com>
3104         PR target/96402
3105         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
3106         of x(tmp0), x(tmp1) in STXP arguments.
3108 2020-07-31  Maciej W. Rozycki  <macro@wdc.com>
3110         * config/riscv/save-restore.S [__riscv_xlen == 64]
3111         (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
3112         (__riscv_save_2): Replace negative immediates used for the final
3113         stack pointer adjustment with positive ones, right-shifted by 4.
3115 2020-07-31  Martin Liska  <mliska@suse.cz>
3117         * libgcov-driver.c: Add __gcov_kvp_pool
3118         and __gcov_kvp_pool_index variables.
3119         * libgcov.h (allocate_gcov_kvp): New.
3120         (gcov_topn_add_value): Use it.
3122 2020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3124         * config/aarch64/lse.S: Add PAC property note.
3126 2020-07-23  Martin Liska  <mliska@suse.cz>
3128         PR gcov-profile/96035
3129         * libgcov-driver-system.c: Create gcov folders with 0777
3130         so that it respects a system umask.
3132 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
3134         * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
3136 2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3138         PR target/94891
3139         * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
3140         (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
3141         (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
3142         (MD_DEMANGLE_RETURN_ADDR): This.
3143         (aarch64_post_extract_frame_addr): Rename to ...
3144         (aarch64_demangle_return_addr): This.
3145         (aarch64_post_frob_eh_handler_addr): Remove.
3146         * unwind-dw2.c (uw_update_context): Demangle return address.
3147         (uw_frob_return_addr): Remove.
3149 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3151         PR target/96001
3152         * config/aarch64/lse.S: Add BTI marking and related definitions,
3153         and add BTI c to function entries.
3155 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3157         * config/aarch64/lse.S: Add stack note.
3159 2020-07-02  Martin Liska  <mliska@suse.cz>
3161         PR gcov-profile/95348
3162         * libgcov-driver.c (merge_one_data): Merge only profiles
3163         that are not of non-zero type.
3164         (write_one_data): Write counters only if there's one non-zero
3165         value.
3166         * libgcov-util.c (tag_function): Change signature from unsigned
3167         to int.
3168         (tag_blocks): Likewise.
3169         (tag_arcs): Likewise.
3170         (tag_counters): Likewise.
3171         (tag_summary): Likewise.
3172         (tag_lines): Read only if COUNTERS is non-zero.
3173         (read_gcda_file): Handle negative length for COUNTERS type.
3175 2020-06-25  Martin Liska  <mliska@suse.cz>
3177         * libgcov-driver.c (merge_summary): Remove function as its name
3178         is misleading and doing something different.
3179         (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
3180         in gcov-tool.
3181         * libgcov-util.c (curr_object_summary): Remove.
3182         (read_gcda_file): Remove unused curr_object_summary.
3183         (gcov_merge): Merge summaries.
3184         * libgcov.h: Add summary argument for gcov_info struct.
3186 2020-06-24  H.J. Lu  <hjl.tools@gmail.com>
3188         PR target/95259
3189         * config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
3190         "common/config/i386/i386-cpuinfo.h" and
3191         "common/config/i386/cpuinfo.h".
3192         (__cpu_features2): Changed to array.
3193         (get_amd_cpu): Removed.
3194         (get_intel_cpu): Likewise.
3195         (get_available_features): Likewise.
3196         (__cpu_indicator_init): Call cpu_indicator_init.
3197         * config/i386/cpuinfo.h: Removed.
3199 2020-06-23  David Edelsohn  <dje.gcc@gmail.com>
3201         * Makefile.in: Remove uses of empty.mk. Use -include.
3202         * config/avr/t-avr: Use -include.
3203         * empty.mk: Delete.
3205 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
3207         * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
3208         * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
3209         and 64 bit with -maix64.
3210         * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
3211         Build and install AIX-style FAT libraries.
3213 2020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
3215         * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
3216         'i386/gnu-unwind.h'
3217         * config/i386/gnu-unwind.h: New file.
3219 2020-06-17  Martin Liska  <mliska@suse.cz>
3221         * libgcov-util.c (read_gcda_finalize): Remove const operator.
3222         (merge_wrapper): Add both counts and use them properly.
3223         (topn_to_memory_representation): New function.
3224         (gcov_merge): Covert on disk representation to in memory
3225         representation.
3226         * libgcov.h: Remove const operator.
3228 2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
3230         * configure: Regenerate.
3231         * configure.ac: Use AC_COMPILE_IFELSE instead of manual
3232         preprocessor invocation to check for __XTENSA_CALL0_ABI__.
3234 2020-06-09  Martin Liska  <mliska@suse.cz>
3236         PR gcov-profile/95494
3237         * libgcov-driver.c (write_top_counters): Cast first to
3238         intptr_t as sizeof(*) != sizeof(gcov_type).
3239         * libgcov.h (gcov_counter_set_if_null): Remove.
3240         (gcov_topn_add_value): Cast first to intptr_t and update
3241         linked list directly.
3243 2020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
3245         * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
3246         with uw_install_context_1.
3248 2020-06-04  Andreas Schwab  <schwab@suse.de>
3250         PR target/59230
3251         PR libfortran/59227
3252         * config/ia64/t-softfp-compat (softfp_file_list): Filter out
3253         soft-fp/divtf3.c.
3254         (LIB2ADD): Add config/ia64/divtf3.c.
3255         * config/ia64/divtf3.c: New file.
3257 2020-06-03  Martin Liska  <mliska@suse.cz>
3259         PR gcov-profile/95480
3260         * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
3261         * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
3262         (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
3263         (gcov_counter_set_if_null): Likewise.
3265 2020-06-02  Jim Wilson  <jimw@sifive.com>
3267         * config/riscv/div.S (__divdi3): For negative arguments, change bgez
3268         to bgtz.
3270 2020-06-02  Martin Liska  <mliska@suse.cz>
3272         * libgcov.h (gcov_topn_add_value): Use xcalloc instead
3273         of xmalloc.
3275 2020-06-02  Martin Liska  <mliska@suse.cz>
3277         * libgcov-driver.c (prune_topn_counter): Remove.
3278         (prune_counters): Likewise.
3279         (merge_one_data): Special case TOP N counters
3280         as they have variable length.
3281         (write_top_counters): New.
3282         (write_one_data): Special case TOP N.
3283         (dump_one_gcov): Do not prune TOP N counters.
3284         * libgcov-merge.c (merge_topn_values_set): Remove.
3285         (__gcov_merge_topn): Use gcov_topn_add_value.
3286         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
3287         Likewise here.
3288         * libgcov.h (gcov_counter_add): New.
3289         (gcov_counter_set_if_null): Likewise.
3290         (gcov_topn_add_value): New.
3292 2020-06-01  Uroš Bizjak  <ubizjak@gmail.com>
3294         * config/i386/sfp-exceptions.c (struct fenv):
3295         Add __attribute__ ((gcc_struct)).
3297 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
3299         PR bootstrap/95413
3300         * configure: Regenerated.
3302 2020-05-28  Dong JianQiang  <dongjianqiang2@huawei.com>
3304         PR gcov-profile/95332
3305         * libgcov-util.c (read_gcda_file): Call gcov_magic.
3306         * libgcov.h (gcov_magic): Disable GCC poison.
3308 2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
3310         PR target/95212
3311         * config/i386/cpuinfo.h (processor_features): Move
3312         FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
3314 2020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
3316         PR target/91695
3317         * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
3318         check.
3320 2020-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3322         PR target/95212
3323         PR target/95220
3324         * config/i386/cpuinfo.c (get_available_features): Fix
3325         FEATURE_GFNI check.  Also check FEATURE_AVX512VP2INTERSECT.
3326         * config/i386/cpuinfo.h (processor_features): Add
3327         FEATURE_AVX512VP2INTERSECT.
3329 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3331         PR bootstrap/95147
3332         * configure: Regenerated.
3334 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
3336         * configure: Regenerated.
3338 2020-05-09  Hans-Peter Nilsson  <hp@axis.com>
3340         * config.host: Remove support for crisv32-*-* and cris*-*-linux.
3341         * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
3343 2020-05-06  Uroš Bizjak  <ubizjak@gmail.com>
3345         * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
3346         (__math_force_eval_div): New define.
3347         (__sfp_handle_exceptions): Use __math_force_eval_div to use
3348         generic division to generate INVALID, DIVZERO and INEXACT
3349         exceptions.
3351 2020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3353         * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
3354         instead of getauxval.
3355         (AT_HWCAP): Define.
3356         (HWCAP_ATOMICS): Define.
3357         Guard detection on __gnu_linux__.
3359 2020-05-05  Michael Meissner  <meissner@linux.ibm.com>
3361         * config.host: Delete changes meant for a private branch.
3362         * config/rs6000/t-float128: Likewise.
3363         * configure.ac: Likewise.
3364         * configure: Likewise.
3366 2020-05-05  Martin Liska  <mliska@suse.cz>
3368         PR gcov-profile/93623
3369         * Makefile.in: Remove __gcov_flush.
3370         * gcov.h (__gcov_flush): Remove.
3371         * libgcov-interface.c (__gcov_flush): Remove.
3372         (init_mx): Use renamed mutex.
3373         (__gcov_lock): Likewise.
3374         (__gcov_unlock): Likewise.
3375         (__gcov_fork): Likewise.
3376         (__gcov_flush): Remove.
3378 2020-05-05  Martin Liska  <mliska@suse.cz>
3380         PR gcov-profile/93623
3381         * libgcov-interface.c (__gcov_fork): Do not flush
3382         and reset only in child process.
3383         (__gcov_execl): Dump counters only and reset them
3384         only if exec* fails.
3385         (__gcov_execlp): Likewise.
3386         (__gcov_execle): Likewise.
3387         (__gcov_execv): Likewise.
3388         (__gcov_execvp): Likewise.
3389         (__gcov_execve): Likewise.
3391 2020-05-05  Martin Liska  <mliska@suse.cz>
3393         PR gcov-profile/93623
3394         * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
3395         * libgcov-interface.c (ALIAS_void_fn): Remove.
3396         (__gcov_lock): New.
3397         (__gcov_unlock): New.
3398         (__gcov_flush): Use __gcov_lock and __gcov_unlock.
3399         (__gcov_reset): Likewise.
3400         (__gcov_dump): Likewise.
3401         * libgcov.h (__gcov_lock): New declaration.
3402         (__gcov_unlock): Likewise.
3404 2020-05-01  Uroš Bizjak  <ubizjak@gmail.com>
3406         * config/i386/sfp-exceptions.c (__math_force_eval): New define.
3407         (__sfp_handle_exceptions): Use __math_force_eval to evaluate
3408         generic division to generate INVALID and DIVZERO exceptions.
3410 2020-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3412         * config/rs6000/crtresfpr.S: Use .machine ppc.
3413         * config/rs6000/crtresxfpr.S: Likewise.
3414         * config/rs6000/crtsavfpr.S: Likewise.
3416 2020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3418         PR target/94514
3419         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
3420         Update context->flags accroding to the frame state.
3422 2020-04-19  Uroš Bizjak  <ubizjak@gmail.com>
3424         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
3425         Remove unneeded assignments to volatile memory.
3427 2020-04-15  Jakub Jelinek  <jakub@redhat.com>
3429         PR target/93053
3430         * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
3431         * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
3432         is not defined, use just .arch armv8-a.
3433         (B, M, N, OPN): Define.
3434         (COMMENT): New .macro.
3435         (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
3436         defined.  Otherwise, move the operands right after the glue? and
3437         comment out operands where the macros are used.
3438         * configure: Regenerated.
3439         * config.in: Regenerated.
3441 2020-04-07  Ian Lance Taylor  <iant@golang.org>
3443         PR libgcc/94513
3444         * generic-morestack.c: Give up trying to use __mmap/__munmap, use
3445         syscall instead.
3447 2020-04-04  Ian Lance Taylor  <iant@golang.org>
3449         * generic-morestack.c: Only use __mmap on glibc >= 2.26.
3451 2020-04-03  Ian Lance Taylor  <iant@golang.org>
3453         * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
3454         than mmap/munmap, to avoid hooks.
3456 2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
3458         * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
3459         (TPFRA_OFFSET): Macros removed.
3460         (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
3461         (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
3462         (PG3_SKIPPING_OFFSET): New macros.
3463         (__isPATrange): Use cinfc_fast for the check.
3464         (__isSkipResetAddr): New function.
3465         (s390_fallback_frame_state): Check for skip trace addresses. Use
3466         either ICST_CRET or ICST_SRET to calculate return address
3467         location.
3468         (__tpf_eh_return): Handle skip trace addresses.
3470 2020-03-26  Richard Earnshaw  <rearnsha@arm.com>
3472         PR target/94220
3473         * config/arm/lib1funcs.asm (COND): Use a single definition for
3474         unified syntax.
3475         (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
3476         (aeabi_idivmod): Likewise.
3477         (divsi3_skip_div0_test): Likewise.
3479 2020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
3481         * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
3483 2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
3485         * config.host: Include the new makefile fragment.
3486         * config/s390/t-tpf: New file.
3488 2020-03-03  Richard Earnshaw  <rearnsha@arm.com>
3490         * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
3491         syntax.
3492         (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
3493         (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
3494         (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
3495         (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
3496         * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
3497         syntax.
3498         (divsi3, modsi3): Likewise.
3499         (clzdi2, ctzsi2): Likewise.
3500         * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
3501         unified syntax.
3502         (UNWIND_WRAPPER): Likewise.
3504 2020-03-02  Martin Liska  <mliska@suse.cz>
3506         * libgcov-interface.c: Remove duplicate
3507         declaration of __gcov_flush_mx.
3509 2020-02-18  Martin Liska  <mliska@suse.cz>
3511         PR ipa/92924
3512         * libgcov-merge.c (merge_topn_values_set): Record
3513         when a TOP N counter becomes invalid.  When merging
3514         remove a smallest value if the space is needed.
3516 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
3518         PR libstdc++/79193
3519         PR libstdc++/88999
3521         * configure: Regenerated.
3523 2020-02-10  Jeff Law  <law@redhat.com>
3525         * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
3526         sections.
3527         * config/frv/frvend.c: Similarly.
3529 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
3531         PR libgcc/85334
3532         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3533         New.
3535 2020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
3537         PR target/93615
3538         * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
3539         _Unwind_gnu_Find_got.
3540         * unwind-pe.h: Likewise.
3542 2020-02-07  Jakub Jelinek  <jakub@redhat.com>
3544         PR target/93615
3545         * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
3546         (_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
3547         trailing :s in asm.  Formatting fixes.
3548         (_Unwind_decode_typeinfo_ptr): Adjust caller.
3550 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
3552         nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
3554         * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
3555         * config/nios2-elf-lib.h: New.
3556         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
3557         code for finding GOT base for nios2.
3559 2020-01-27  Martin Liska  <mliska@suse.cz>
3561         PR gcov-profile/93403
3562         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
3563         Call __gcov_indirect_call_profiler_body.
3564         (__gcov_indirect_call_profiler_body): New.
3565         (__gcov_indirect_call_profiler_v4_atomic): New.
3566         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
3567         New declaration.
3569 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
3571         * config/arc/crti.S: Add RF16 object attribute.
3572         * config/arc/crtn.S: Likewise.
3573         * config/arc/crttls.S: Likewise.
3574         * config/arc/lib1funcs.S: Likewise.
3575         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
3576         * config/arc/lib2funcs.c: New file.
3577         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
3579 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
3581         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
3582         * configure.ac: Handle `--with-toolexeclibdir='.
3583         * configure: Regenerate.
3585 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
3587         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
3589 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
3591         * config/mips/gnustack.h: New file.
3592         * config/mips/crti.S: Include gnustack.h.
3593         * config/mips/crtn.S: Likewise.
3594         * config/mips/mips16.S: Likewise.
3595         * config/mips/vr4120-div.S: Likewise.
3597 2020-01-23  Martin Liska  <mliska@suse.cz>
3599         * libgcov-driver.c (prune_topn_counter): Remove
3600         check for -1 as we only prune run-time counters
3601         that do not generate an invalid state.
3603 2020-01-22  Martin Liska  <mliska@suse.cz>
3605         PR tree-optimization/92924
3606         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
3607         try to find an existing value, then find an empty slot
3608         if not found.
3610 2020-01-22  Martin Liska  <mliska@suse.cz>
3612         PR tree-optimization/92924
3613         * libgcov-driver.c (prune_topn_counter): New.
3614         (prune_counters): Likewise.
3615         (dump_one_gcov): Prune a run-time counter.
3616         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
3617         For a known value, add GCOV_TOPN_VALUES to value.
3618         Otherwise, decrement all counters by one.
3620 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
3622         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
3624 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
3626         PR libgcc/92988
3627         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
3628         DEFAULT_USE_CXA_ATEXIT is true.
3630 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
3631             Thomas Preud'homme  <thomas.preudhomme@arm.com>
3633         * config/arm/t-arm: Check return value of gcc rather than lack of
3634         output.
3636 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
3638         * config/avr/lib1funcs.S (skip): Simplify.
3640 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
3642         * config/gcn/atomic.c: Remove include of stdint.h.
3643         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
3644         __UINTPTR_TYPE__.
3646 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
3648         * config/gcn/atomic.c: New.
3649         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
3651 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
3653         Implement 64-bit double functions.
3655         PR target/92055
3656         * config.host (tmake_file) [target=avr]: Add t-libf7,
3657         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
3658         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
3659         depending on sizeof (double) or sizeof (long double).
3660         * config/avr/libf7: New folder.
3662 2020-01-05  Olivier Hainque  <hainque@adacore.com>
3664         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
3665         by IN_LIBGCC2.
3667 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
3669         Update copyright years.
3671 2019-12-30  Olivier Hainque  <hainque@adacore.com>
3673         * config/gthr-vxworks.h: Use _vxworks-versions.h.
3674         * config/gthr-vxworks-tls.c: Likewise.
3676 2019-12-30  Olivier Hainque  <hainque@adacore.com>
3678         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
3679         standard zero-initializer syntax.
3681 2019-12-30  Olivier Hainque  <hainque@adacore.com>
3683         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
3684         reference to the internal VX_GET_TLS_DATA interface.
3686 2019-12-30  Olivier Hainque  <hainque@adacore.com>
3688         * config/vxcrtstuff.c: Fix incorrect spelling of
3689         USE_INITFINI_ARRAY in guard.
3691 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3693         * config.host: s/msp430*-*-elf/msp430-*-elf*.
3694         Override default "extra_parts" variable.
3695         * configure: Regenerate.
3696         * configure.ac: Disable TM clone registry by default for
3697         msp430-elfbare.
3699 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3701         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
3702         "extra_parts".
3703         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
3705 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3707         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
3708         true.
3710 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3712         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
3713         defined instead of its value.
3715 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3717         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
3718         if it will have contents.
3720 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
3722         PR target/92055
3723         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
3725 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3727         PR libgcc/91737
3728         * config.host: Add t-gthr-noweak on *-*-musl*.
3729         * config/t-gthr-noweak: New file.
3731 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
3733         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
3734         volatile void *.  Remove trap check.
3735         (__kernel_cmpxchg2): Likewise.
3736         (FETCH_AND_OP_2): Adjust operand types.
3737         (OP_AND_FETCH_2): Likewise.
3738         (FETCH_AND_OP_WORD): Likewise.
3739         (OP_AND_FETCH_WORD): Likewise.
3740         (COMPARE_AND_SWAP_2): Likewise.
3741         (__sync_val_compare_and_swap_4): Likewise.
3742         (__sync_bool_compare_and_swap_4): Likewise.
3743         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3744         (__sync_lock_test_and_set_4): Likewise.
3745         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
3746         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
3747         for release.
3748         (__sync_lock_release_8): Remove.
3750 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3752         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
3753         of __sigset_t.
3755 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
3756             Doug Rupp <rupp@adacore.com>
3757             Olivier Hainque  <hainque@adacore.com>
3759         * config.host: Collapse the arm-vxworks entries into
3760         a single arm-wrs-vxworks7* one.
3761         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
3762         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
3763         kernel modules, to be overriden by libstdc++ when we link with
3764         it.  Rely on externally provided __exidx_start/end.
3766 2019-11-14  Doug Rupp  <rupp@adacore.com>
3767             Olivier Hainque  <hainque@adacore.com>
3769         * config.host: Handle aarch64*-wrs-vxworks7*.
3771 2019-11-12  Olivier Hainque  <hainque@adacore.com>
3773         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
3774         sources except the cxx0x support to LIB2ADDEH.  We don't support
3775         cxx0x on AE/653.
3776         * config/t-vxworksae: New file.
3777         * config.host: Handle *-*-vxworksae: Add the two aforementioned
3778         Makefile fragment files at their expected position in the tmake_file
3779         list, in accordance with what is done for other VxWorks variants.
3781 2019-11-12  Corentin Gay  <gay@adacore.com>
3782             Jerome Lambourg  <lambourg@adacore.com>
3783             Olivier Hainque  <hainque@adacore.com>
3785         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
3786         sources to LIB2ADDEH.
3787         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
3788         * config/t-vxworks7: Likewise.
3790         * config.host: Append a block at the end of the file to add the
3791         t-gthr files to the tmake_file list for VxWorks after everything
3792         else.
3794         * config/vxlib.c: Rename as gthr-vxworks.c.
3795         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
3797         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
3798         API and a basic error checking API, both internal.  Simplify the
3799         __gthread_once_t type definition and initializers.  Add sections
3800         for condition variables support and for the C++0x thread support,
3801         conditioned against Vx653 for the latter.
3803         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
3804         implementation, leveraging the TAS internal API.
3805         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
3806         API, leveraging the general availability of TLS services in VxWorks7
3807         post SR6xxx.
3808         (__gthread_setspecific, __gthread_setspecific): Use it.
3809         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
3810         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
3811         support based on VxWorks primitives.
3812         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
3813         based on VxWorks primitives.
3815 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
3816             Olivier Hainque  <hainque@adacore.com>
3818         * config/vxcrtstuff.c: New file.
3819         * config/t-vxcrtstuff: New Makefile fragment.
3820         * config.host: Append t-vxcrtstuff to the tmake_file list
3821         on all VxWorks ports using dwarf for table based EH.
3823 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
3825         Support 64-bit double and 64-bit long double configurations.
3827         PR target/92055
3828         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
3829         long double is a 32-bit type.
3830         * config/avr/t-avrlibc: Copy double64 and long-double64
3831         multilib(s) from the vanilla one.
3832         * config/avr/t-copy-libgcc: New Makefile snip.
3834 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3836         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
3837         the target output object format is not ELF.
3838         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
3840 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
3842         PR libgcc/78804
3843         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
3844         * fp-bit.c (pack_d, unpack_d): Remove special cases for
3845         FLOAT_BIT_ORDER_MISMATCH.
3846         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
3848 2019-11-01  Jim Wilson  <jimw@sifive.com>
3850         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
3852 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3854         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
3855         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
3856         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
3857         Define symbols for 32-bit and f5series hardware multiply
3858         register addresses.
3859         Replace hard-coded register addresses with symbols.
3860         Fix "_mspabi*" typo.
3861         Fix whitespace.
3862         * config/msp430/lib2mul.c: Add comment.
3864 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
3866         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
3867         unsigned int.  Adjust callers.
3868         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
3869         unsigned int *.  Load relocation offset before function pointer.
3870         Add barrier to ensure ordering.
3872 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
3874         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
3875         Load PIC register after branch target.  Fix white space.
3876         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
3877         implementations.  Load PIC register after branch target.  Don't
3878         clobber function pointer when it points to function descriptor.
3879         Use nullification instead of branch in LINUX implementation.
3881 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
3883         * config/pa/fptr.c: Disable -Warray-bounds warning.
3885 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
3887         * config.in, configure: Re-rebuild with stock autoconf 2.69,
3888         not the ubuntu modified 2.69.
3890         PR target/91833
3891         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
3892         initialization if !HAVE_SYS_AUXV_H.
3893         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
3894         * config.in, configure: Rebuild.
3896         PR target/91834
3897         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
3898         overlap the inputs.
3900 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
3902         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
3903         CTR_EL0.IDC and CTR_EL0.DIC.
3905 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
3907         Revert:
3908         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3909                 Mickaël Guêné <mickael.guene@st.com>
3911         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3912         architecture.
3914 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
3916         * config/aarch64/lse-init.c: New file.
3917         * config/aarch64/lse.S: New file.
3918         * config/aarch64/t-lse: New file.
3919         * config.host: Add t-lse to all aarch64 tuples.
3921 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3922         Mickaël Guêné <mickael.guene@st.com>
3924         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3925         architecture.
3927 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3928         Mickaël Guêné <mickael.guene@st.com>
3930         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
3931         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
3932         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
3933         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
3934         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
3935         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
3936         (__gnu_personality_sigframe_fdpic): New.
3937         (get_eit_entry): Add FDPIC signal frame support.
3939 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3940         Mickaël Guêné <mickael.guene@st.com>
3942         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
3943         (__kernel_dmb): Likewise.
3944         (__fdpic_cmpxchg): New function.
3945         (__fdpic_dmb): New function.
3946         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
3947         (gnu_Unwind_Find_got): New function.
3948         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
3949         * unwind-arm-common.inc (UCB_PR_GOT): New.
3950         (funcdesc_t): New struct.
3951         (get_eit_entry): Add FDPIC support.
3952         (unwind_phase2): Likewise.
3953         (unwind_phase2_forced): Likewise.
3954         (__gnu_Unwind_RaiseException): Likewise.
3955         (__gnu_Unwind_Resume): Likewise.
3956         (__gnu_Unwind_Backtrace): Likewise.
3957         * unwind-pe.h (read_encoded_value_with_base): Likewise.
3959 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3960         Mickaël Guêné <mickael.guene@st.com>
3962         * libgcc/crtstuff.c: Add support for FDPIC.
3964 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
3966         * config.host: Handle *-*-uclinuxfdpiceabi.
3968 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
3970         * config.host: Set cpu_type for bpf-*-* targets.
3971         * config/bpf/t-bpf: Likewise.
3972         * config/bpf/crtn.S: Likewise.
3973         * config/bpf/crti.S: New file.
3975 2019-09-06  Jim Wilson  <jimw@sifive.com>
3977         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3978         (riscv*-*-freebsd*): Likewise.
3980 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
3982         * config.host: Remove references to spu.
3983         * config/spu/: Remove directory.
3985 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
3987         PR target/91306
3988         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
3989         element type, instead of "sizeof" the element type.
3990         (__DTOR_LIST__): Likewise.
3991         (__TMC_LIST__): Likewise.
3992         (__do_global_dtors_aux_fini_array_entry): Likewise.
3993         (__frame_dummy_init_array_entry): Likewise.
3994         (__CTOR_END__): Likewise.
3995         (__DTOR_END__): Likweise.
3996         (__FRAME_END__): Likewise.
3997         (__TMC_END__): Likewise.
3999 2019-08-20  Lili Cui  <lilicui@intel.com>
4001         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
4002         INTEL_COREI7_COOPERLAKE.
4004 2019-07-31  Matt Thomas  <matt@3am-software.com>
4005             Nick Hudson <nick@nthcliff.demon.co.uk>
4006             Matthew Green <mrg@eterna.com.au>
4007             Maya Rashish <coypu@sdf.org>
4009         * config.host (hppa*-*-netbsd*): New case.
4010         * config/pa/t-netbsd: New file.
4012 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
4014         * config/arm/cmse.c (cmse_check_address_range): Add
4015         warn_unused_result attribute.
4017 2019-07-22  Martin Liska  <mliska@suse.cz>
4019         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
4020         * config/pa/t-stublib: Likewise.
4022 2019-07-22  Stafford Horne  <shorne@gmail.com>
4024         PR target/90362
4025         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
4026         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
4027         instructions are not available on every processor.  Change a
4028         l.bnf to l.bf to fix logic issue.
4030 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
4032         * config.host: Remove reference to t-darwin8.
4034 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
4036         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
4037         list.
4038         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
4039         mmacosx-version-min for crts to run across all system versions.
4040         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
4041         * config/t-darwin: Revise mmacosx-version-min for crts to run across
4042         system versions >= 10.4.
4044 2019-07-03  Martin Liska  <mliska@suse.cz>
4046         * Makefile.in: Use topn_values instead of one_value names.
4047         * libgcov-merge.c (__gcov_merge_single): Move to ...
4048         (__gcov_merge_topn): ... this.
4049         (merge_single_value_set): Move to ...
4050         (merge_topn_values_set): ... this.
4051         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
4052         ...
4053         (__gcov_topn_values_profiler_body): ... this.
4054         (__gcov_one_value_profiler_v2): Move to ...
4055         (__gcov_topn_values_profiler): ... this.
4056         (__gcov_one_value_profiler_v2_atomic): Move to ...
4057         (__gcov_topn_values_profiler_atomic): ... this.
4058         (__gcov_indirect_call_profiler_v4): Remove.
4059         * libgcov-util.c (__gcov_single_counter_op): Move to ...
4060         (__gcov_topn_counter_op): ... this.
4061         * libgcov.h (L_gcov_merge_single): Remove.
4062         (L_gcov_merge_topn): New.
4063         (__gcov_merge_single): Remove.
4064         (__gcov_merge_topn): New.
4065         (__gcov_one_value_profiler_v2): Move to ..
4066         (__gcov_topn_values_profiler): ... this.
4067         (__gcov_one_value_profiler_v2_atomic): Move to ...
4068         (__gcov_topn_values_profiler_atomic): ... this.
4070 2019-07-03  Martin Liska  <mliska@suse.cz>
4072         * libgcov-merge.c (merge_single_value_set): Support N values.
4073         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
4075 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
4077         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
4078         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
4079         * configure.ac: Add --disable-tm-clone-registry option.
4080         * configure: Regenerate.
4082 2019-06-27  Martin Liska  <mliska@suse.cz>
4084         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
4085         dead assignments.
4086         * libgcov-util.c: Likewise.
4088 2019-06-27  Martin Liska  <mliska@suse.cz>
4090         * libgcov-util.c (gcov_profile_merge): Release allocated
4091         memory.
4092         (calculate_overlap): Likewise.
4094 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
4096         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
4097         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
4098         Build objects for the out of line save/restore register functions
4099         so that they can be used for any supported Darwin version.
4100         * config/t-darwin: Default the build Darwin version to Darwin8
4101         (MacOS 10.4).
4103 2019-06-25  Martin Liska  <mliska@suse.cz>
4105         * libgcov-driver-system.c (replace_filename_variables): Do not
4106         call strlen with NULL argument.
4108 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
4110         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
4111         * config/gcn/unwind-gcn.c: New file.
4113 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
4114             Andrew Stubbs  <ams@codesourcery.com>
4116         * configure: Regenerate.
4117         * config/gcn/gthr-gcn.h: New.
4119 2019-06-18  Tom de Vries  <tdevries@suse.de>
4121         * config/nvptx/crt0.c (__main): Declare.
4123 2019-06-17  Matthew Green  <mrg@eterna.com.au>
4124             Maya Rashish  <coypu@sdf.org>
4126         * config.host (aarch64*-*-netbsd*): New case.
4128 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
4130         * config/msp430/slli.S (__mspabi_sllll): New library function for
4131         performing a logical left shift of a 64-bit value.
4132         * config/msp430/srai.S (__mspabi_srall): New library function for
4133         performing a arithmetic right shift of a 64-bit value.
4134         * config/msp430/srll.S (__mspabi_srlll): New library function for
4135         performing a logical right shift of a 64-bit value.
4137 2019-06-14  Matt Thomas  <matt@3am-software.com>
4138             Matthew Green  <mrg@eterna.com.au>
4139             Nick Hudson  <skrll@netbsd.org>
4140             Maya Rashish  <coypu@sdf.org>
4142         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
4143         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
4144         functions to build.
4145         * config/arm/t-netbsd-eabi: New file.
4147 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
4149         * config.host: Add PRU target.
4150         * config/pru/asri.c: New file.
4151         * config/pru/eqd.c: New file.
4152         * config/pru/eqf.c: New file.
4153         * config/pru/ged.c: New file.
4154         * config/pru/gef.c: New file.
4155         * config/pru/gtd.c: New file.
4156         * config/pru/gtf.c: New file.
4157         * config/pru/led.c: New file.
4158         * config/pru/lef.c: New file.
4159         * config/pru/lib2bitcountHI.c: New file.
4160         * config/pru/lib2divHI.c: New file.
4161         * config/pru/lib2divQI.c: New file.
4162         * config/pru/lib2divSI.c: New file.
4163         * config/pru/libgcc-eabi.ver: New file.
4164         * config/pru/ltd.c: New file.
4165         * config/pru/ltf.c: New file.
4166         * config/pru/mpyll.S: New file.
4167         * config/pru/pru-abi.h: New file.
4168         * config/pru/pru-asm.h: New file.
4169         * config/pru/pru-divmod.h: New file.
4170         * config/pru/sfp-machine.h: New file.
4171         * config/pru/t-pru: New file.
4173 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
4175         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
4177 2019-06-10  Martin Liska  <mliska@suse.cz>
4179         PR bootstrap/90808
4180         * libgcov.h: Add ATTRIBUTE_UNUSED.
4182 2019-06-10  Martin Liska  <mliska@suse.cz>
4184         * Makefile.in: Add __gcov_one_value_profiler_v2,
4185         __gcov_one_value_profiler_v2_atomic and
4186         __gcov_indirect_call_profiler_v4.
4187         * libgcov-merge.c (__gcov_merge_single): Change
4188         function signature.
4189         (merge_single_value_set): New.
4190         * libgcov-profiler.c (__gcov_one_value_profiler_body):
4191         Update functionality.
4192         (__gcov_one_value_profiler): Remove.
4193         (__gcov_one_value_profiler_v2): ... this.
4194         (__gcov_one_value_profiler_atomic): Rename to ...
4195         (__gcov_one_value_profiler_v2_atomic): this.
4196         (__gcov_indirect_call_profiler_v3): Rename to ...
4197         (__gcov_indirect_call_profiler_v4): ... this.
4198         * libgcov.h (__gcov_one_value_profiler): Remove.
4199         (__gcov_one_value_profiler_atomic): Remove.
4200         (__gcov_one_value_profiler_v2_atomic): New.
4201         (__gcov_indirect_call_profiler_v3): Remove.
4202         (__gcov_one_value_profiler_v2): New.
4203         (__gcov_indirect_call_profiler_v4): New.
4204         (gcov_get_counter_ignore_scaling): New function.
4206 2019-06-07  Martin Liska  <mliska@suse.cz>
4208         * Makefile.in: Remove usage of
4209         _gcov_merge_icall_topn.
4210         * libgcov-driver.c (gcov_sort_n_vals): Remove.
4211         (gcov_sort_icall_topn_counter): Likewise.
4212         (gcov_sort_topn_counter_arrays): Likewise.
4213         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
4214         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
4215         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
4216         Likewise.
4217         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
4218         (struct indirect_call_tuple): Remove.
4219         (__gcov_indirect_call_topn_profiler): Remove.
4220         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
4221         * libgcov.h (gcov_sort_n_vals): Remove.
4222         (L_gcov_merge_icall_topn): Likewise.
4223         (__gcov_merge_icall_topn): Likewise.
4224         (__gcov_indirect_call_topn_profiler): Likewise.
4226 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
4228         * config/rs6000/t-darwin: Ensure that the unwinder is built with
4229         altivec enabled.
4231 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
4233         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
4234         section.
4235         (__mspabi_slli): Likewise.
4236         (__mspabi_slll_n): Likewise.
4237         (__mspabi_slll): Likewise.
4238         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
4239         (__mspabi_srai): Likewise.
4240         (__mspabi_sral_n): Likewise.
4241         (__mspabi_sral): Likewise.
4242         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
4243         (__mspabi_srli): Likewise.
4244         (__mspabi_srll_n): Likewise.
4245         (__mspabi_srll): Likewise.
4247 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
4249         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
4250         Add appropriate tm_file clause as well.
4251         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
4253 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
4255         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
4256         rather than .data/.bss so it can be accessed via gp-relative
4257         addressing.
4259 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
4261         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
4262         (CR2_REGNO): Rename to R_CR2.
4263         (XER_REGNO): Rename to R_XER.
4264         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
4265         (VRSAVE_REGNO): Rename to R_VRSAVE.
4266         (VSCR_REGNO): R_VSCR.
4268 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
4270         * config.host (rx-*-linux*): Add new case.
4271         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
4273 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
4275         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
4276         function.
4277         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
4278         aarch64_post_frob_eh_handler_addr): Add check for b-key.
4279         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
4280         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
4281         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
4282         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
4283         string.
4284         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
4285         string.
4286         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
4288 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4290         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
4291         Remove Solaris 9 and 10 support.
4292         (sparc_is_sighandler): Likewise.
4294 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
4296         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
4298 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
4300         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4301         4_FP_W_TYPEs are used for IEEE quad precision.
4302         * soft-fp/extendhftf2.c: Likewise.
4303         * soft-fp/extendsftf2.c: Likewise.
4304         * soft-fp/extendxftf2.c: Likewise.
4305         * soft-fp/trunctfdf2.c: Likewise.
4306         * soft-fp/trunctfhf2.c: Likewise.
4307         * soft-fp/trunctfsf2.c: Likewise.
4308         * soft-fp/trunctfxf2.c: Likewise.
4309         * config/rs6000/ibm-ldouble.c: Likewise.
4311 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4313         * config.host: Simplify various *-*-solaris2.1[0-9]* to
4314         *-*-solaris2*.
4315         * configure.ac: Likewise.
4316         * configure: Regenerate.
4318         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4319         Solaris 10 and Solaris 11 < snv_125 handling.
4321 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
4323         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
4325 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
4327         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
4328         * config/i386/cpuinfo.h (enum processor_features): Add
4329         FEATURE_AVX512BF16.
4331 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
4332             Bernd Edlinger  <bernd.edlinger@hotmail.de>
4333             Jakub Jelinek  <jakub@redhat.com>
4335         PR target/89093
4336         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
4337         * config/arm/unwind-arm.c: Likewise.
4338         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
4339         attribute for ARM.
4341 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
4343         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
4344         (RT_SIGRETURN): Update.
4345         (nds32_fallback_frame_state): Update.
4347 2019-02-21  Martin Sebor  <msebor@redhat.com>
4349         * libgcc2.h (__clear_cache): Correct signature.
4350         * libgcc2.c (__clear_cache): Same.
4352 2019-02-20  Uroš Bizjak  <ubizjak@gmail.com>
4354         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
4355         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
4357 2019-02-19  Uroš Bizjak  <ubizjak@gmail.com>
4359         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
4360         regno instead of index to DWARF_ZERO_REG.
4362 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
4364         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
4365         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
4367 2019-01-31  Uroš Bizjak  <ubizjak@gmail.com>
4369         * config/alpha/t-linux: Add -mfp-rounding-mode=d
4370         to HOST_LIBGCC2_CFLAGS.
4372 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
4374         PR libgcc/88931
4375         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
4377 2019-01-18  Martin Liska  <mliska@suse.cz>
4379         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
4380         to ...
4381         (__gcov_indirect_call_profiler_v3): ... this.
4382         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
4383         (__gcov_indirect_call_profiler_v3): Likewise.
4384         * Makefile.in: Bump function name.
4386 2019-01-18  Martin Liska  <mliska@suse.cz>
4388         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
4389         (gcov_version): Use in gcov_error.
4390         (merge_one_data): Likewise.
4391         (dump_one_gcov): Likewise.
4393 2019-01-18  Martin Liska  <mliska@suse.cz>
4395         * libgcov-driver.c (gcov_version_string): New function.
4396         (gcov_version): Convert version integer into string.
4398 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
4399             Kwok Cheung Yeung  <kcy@codesourcery.com>
4400             Julian Brown  <julian@codesourcery.com>
4401             Tom de Vries  <tom@codesourcery.com>
4403         * config.host: Recognize amdgcn*-*-amdhsa.
4404         * config/gcn/crt0.c: New file.
4405         * config/gcn/lib2-divmod-hi.c: New file.
4406         * config/gcn/lib2-divmod.c: New file.
4407         * config/gcn/lib2-gcn.h: New file.
4408         * config/gcn/sfp-machine.h: New file.
4409         * config/gcn/t-amdgcn: New file.
4411 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
4413         PR other/16615
4415         * config/c6x/libunwind.S: Mechanically replace "can not" with
4416         "cannot".
4417         * config/tilepro/atomic.h: Likewise.
4418         * config/vxlib-tls.c: Likewise.
4419         * generic-morestack-thread.c: Likewise.
4420         * generic-morestack.c: Likewise.
4421         * mkmap-symver.awk: Likewise.
4423 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
4425         Update copyright years.
4427 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
4429         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
4430         to ignore -Waddress-of-packed-member.
4432 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
4434         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
4435         parameter and corresponding code.
4436         (ARM_FUNC_START): Likewise in both definitions.
4437         Also update footer comment about condition that need to match with
4438         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
4439         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
4440         defined.  Weakly define it in this case.
4441         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
4442         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
4443         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
4444         comment to keep condition in sync with the one in
4445         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
4447 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
4449         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
4450         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
4452 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4454         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
4455         and .cfi_endproc directives for VxWorks targets.
4457 2018-12-05  Paul Koning  <ni1d@arrl.net>
4459         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
4461 2018-11-27  Alan Modra  <amodra@gmail.com>
4463         * config/rs6000/morestack.S (__stack_split_initialize),
4464         (__morestack_get_guard, __morestack_set_guard),
4465         (__morestack_make_guard): Provide CFI covering these functions.
4466         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
4468 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
4470         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
4471         (sc_pt_regs_lr): Update for kernel.
4472         (sc_pt_regs_tls): Update for kernel.
4474 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
4476         * config/csky/linux-unwind.h: Fix coding style.
4478 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
4480         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
4481         (csky_fallback_frame_state): Modify the check of the
4482         instructions to adapt to changes in the kernel
4484 2018-11-09  Stafford Horne  <shorne@gmail.com>
4485             Richard Henderson  <rth@twiddle.net>
4487         * config.host: Add OpenRISC support.
4488         * config/or1k/*: New.
4490 2018-11-08  Kito Cheng  <kito@andestech.com>
4492         * soft-fp/adddf3.c: Update from glibc.
4493         * soft-fp/addsf3.c: Likewise.
4494         * soft-fp/addtf3.c: Likewise.
4495         * soft-fp/divdf3.c: Likewise.
4496         * soft-fp/divsf3.c: Likewise.
4497         * soft-fp/divtf3.c: Likewise.
4498         * soft-fp/double.h: Likewise.
4499         * soft-fp/eqdf2.c: Likewise.
4500         * soft-fp/eqsf2.c: Likewise.
4501         * soft-fp/eqtf2.c: Likewise.
4502         * soft-fp/extenddftf2.c: Likewise.
4503         * soft-fp/extended.h: Likewise.
4504         * soft-fp/extendhftf2.c: Likewise.
4505         * soft-fp/extendsfdf2.c: Likewise.
4506         * soft-fp/extendsftf2.c: Likewise.
4507         * soft-fp/extendxftf2.c: Likewise.
4508         * soft-fp/fixdfdi.c: Likewise.
4509         * soft-fp/fixdfsi.c: Likewise.
4510         * soft-fp/fixdfti.c: Likewise.
4511         * soft-fp/fixhfti.c: Likewise.
4512         * soft-fp/fixsfdi.c: Likewise.
4513         * soft-fp/fixsfsi.c: Likewise.
4514         * soft-fp/fixsfti.c: Likewise.
4515         * soft-fp/fixtfdi.c: Likewise.
4516         * soft-fp/fixtfsi.c: Likewise.
4517         * soft-fp/fixtfti.c: Likewise.
4518         * soft-fp/fixunsdfdi.c: Likewise.
4519         * soft-fp/fixunsdfsi.c: Likewise.
4520         * soft-fp/fixunsdfti.c: Likewise.
4521         * soft-fp/fixunshfti.c: Likewise.
4522         * soft-fp/fixunssfdi.c: Likewise.
4523         * soft-fp/fixunssfsi.c: Likewise.
4524         * soft-fp/fixunssfti.c: Likewise.
4525         * soft-fp/fixunstfdi.c: Likewise.
4526         * soft-fp/fixunstfsi.c: Likewise.
4527         * soft-fp/fixunstfti.c: Likewise.
4528         * soft-fp/floatdidf.c: Likewise.
4529         * soft-fp/floatdisf.c: Likewise.
4530         * soft-fp/floatditf.c: Likewise.
4531         * soft-fp/floatsidf.c: Likewise.
4532         * soft-fp/floatsisf.c: Likewise.
4533         * soft-fp/floatsitf.c: Likewise.
4534         * soft-fp/floattidf.c: Likewise.
4535         * soft-fp/floattihf.c: Likewise.
4536         * soft-fp/floattisf.c: Likewise.
4537         * soft-fp/floattitf.c: Likewise.
4538         * soft-fp/floatundidf.c: Likewise.
4539         * soft-fp/floatundisf.c: Likewise.
4540         * soft-fp/floatunditf.c: Likewise.
4541         * soft-fp/floatunsidf.c: Likewise.
4542         * soft-fp/floatunsisf.c: Likewise.
4543         * soft-fp/floatunsitf.c: Likewise.
4544         * soft-fp/floatuntidf.c: Likewise.
4545         * soft-fp/floatuntihf.c: Likewise.
4546         * soft-fp/floatuntisf.c: Likewise.
4547         * soft-fp/floatuntitf.c: Likewise.
4548         * soft-fp/gedf2.c: Likewise.
4549         * soft-fp/gesf2.c: Likewise.
4550         * soft-fp/getf2.c: Likewise.
4551         * soft-fp/half.h: Likewise.
4552         * soft-fp/ledf2.c: Likewise.
4553         * soft-fp/lesf2.c: Likewise.
4554         * soft-fp/letf2.c: Likewise.
4555         * soft-fp/muldf3.c: Likewise.
4556         * soft-fp/mulsf3.c: Likewise.
4557         * soft-fp/multf3.c: Likewise.
4558         * soft-fp/negdf2.c: Likewise.
4559         * soft-fp/negsf2.c: Likewise.
4560         * soft-fp/negtf2.c: Likewise.
4561         * soft-fp/op-1.h: Likewise.
4562         * soft-fp/op-2.h: Likewise.
4563         * soft-fp/op-4.h: Likewise.
4564         * soft-fp/op-8.h: Likewise.
4565         * soft-fp/op-common.h: Likewise.
4566         * soft-fp/quad.h: Likewise.
4567         * soft-fp/single.h: Likewise.
4568         * soft-fp/soft-fp.h: Likewise.
4569         * soft-fp/subdf3.c: Likewise.
4570         * soft-fp/subsf3.c: Likewise.
4571         * soft-fp/subtf3.c: Likewise.
4572         * soft-fp/truncdfsf2.c: Likewise.
4573         * soft-fp/trunctfdf2.c: Likewise.
4574         * soft-fp/trunctfhf2.c: Likewise.
4575         * soft-fp/trunctfsf2.c: Likewise.
4576         * soft-fp/trunctfxf2.c: Likewise.
4577         * soft-fp/unorddf2.c: Likewise.
4578         * soft-fp/unordsf2.c: Likewise.
4579         * soft-fp/unordtf2.c: Likewise.
4581 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
4583         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
4584         * config/i386/cpuinfo.h (processor_types): Add znver2.
4586 2018-11-01  Paul Koning  <ni1d@arrl.net>
4588         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
4589         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
4591 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
4593         PR bootstrap/82856
4594         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
4595         * configure: Regenerate.
4597 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
4599         * config/arc/lib1funcs.S (_muldi3): New function.
4600         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
4602 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4604         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
4606 2018-10-25  Martin Liska  <mliska@suse.cz>
4608         PR other/87735
4609         * libgcov-profiler.c: Revert.
4611 2018-10-24  Martin Liska  <mliska@suse.cz>
4613         * libgcov-profiler.c: Start from 1 in order to distinguish
4614         functions which were seen and these that were not.
4616 2018-10-18  Paul Koning  <ni1d@arrl.net>
4618         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
4619         standard.
4620         * divmod.c: Update references to __udivmodsi4.
4621         * udivmod.c: Ditto.
4622         * udivhi3.c: New file.
4623         * udivmodhi4.c: New file.
4624         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
4626 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4628         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
4630 2018-10-12  Olivier Hainque  <hainque@adacore.com>
4632         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
4633         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
4635 2018-10-08  Paul Koning  <ni1d@arrl.net>
4637         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
4639 2018-10-04  Martin Liska  <mliska@suse.cz>
4641         PR gcov-profile/84107
4642         * libgcov-profiler.c (__gcov_indirect_call):
4643         Change type to indirect_call_tuple.
4644         (struct indirect_call_tuple): New struct.
4645         (__gcov_indirect_call_topn_profiler): Change type.
4646         (__gcov_indirect_call_profiler_v2): Use the new
4647         variables.
4648         * libgcov.h (struct indirect_call_tuple): New struct
4649         definition.
4651 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
4653         * libgcc2.c (isnan): Use __builtin_isnan.
4654         (isfinite): Use __builtin_isfinite.
4655         (isinf): Use __builtin_isinf.
4657 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
4659         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
4661 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
4663         * config/vxcache.c: New file.  Provide __clear_cache, based on
4664         the cacheTextUpdate VxWorks service.
4665         * config/t-vxworks (LIB2ADD): Add vxcache.c.
4666         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
4667         * config/t-vxwoks7: Likewise.
4669 2018-09-21  Martin Liska  <mliska@suse.cz>
4671         * libgcov-driver.c (crc32_unsigned): Remove.
4672         (gcov_histogram_insert): Likewise.
4673         (gcov_compute_histogram): Likewise.
4674         (compute_summary): Simplify rapidly.
4675         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
4676         (merge_summary): Rapidly simplify.
4677         (dump_one_gcov): Ignore gcov_summary.
4678         (gcov_do_dump): Do not handle program summary, it's not
4679         used.
4680         * libgcov-util.c (tag_summary): Remove.
4681         (read_gcda_finalize): Fix coding style.
4682         (read_gcda_file): Initialize curr_object_summary.
4683         (compute_summary): Remove.
4684         (calculate_overlap): Remove settings of run_max.
4686 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
4688         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
4689         ucontext_t type instead.
4690         (nds32_fallback_frame_state): Remove struct _sigframe statement.
4692 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
4694         * config/nds32/t-nds32-glibc: New file.
4696 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4698         * configure.ac (solaris_ld_v2_maps): New test.
4699         * configure: Regenerate.
4700         * Makefile.in (solaris_ld_v2_maps): New variable.
4701         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
4702         if supported.
4704 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
4706         PR target/86951
4707         * config/arm/lib1funcs.asm (speculation_barrier): New function.
4708         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
4709         to build.
4711 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
4713         * config/unwind-dw2-fde-darwin.c
4714         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
4715         * config/darwin10-unwind-find-enc-func.c: … to here.
4716         * config/t-darwin: Build Darwin10 unwinder shim crt.
4717         * libgcc/config.host: Add the Darwin10 unwinder shim.
4719 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4721         * config.host: Add crtbegin.o and crtend.o for
4722         powerpc-wrs-vxworks target.
4724 2018-08-17  Jojo  <jijie_rong@c-sky.com>
4725             Huibin Wang  <huibin_wang@c-sky.com>
4726             Sandra Loosemore  <sandra@codesourcery.com>
4727             Chung-Lin Tang  <cltang@codesourcery.com>
4729         C-SKY port: libgcc
4731         * config.host: Add C-SKY support.
4732         * config/csky/*: New.
4734 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
4736         * config/nds32/t-nds32-isr: Rearrange object dependency.
4737         * config/nds32/initfini.c: Add dwarf2 unwinding support.
4738         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
4739         and registers usage.
4740         * config/nds32/isr-library/excp_isr.S: Ditto.
4741         * config/nds32/isr-library/intr_isr.S: Ditto.
4742         * config/nds32/isr-library/reset.S: Ditto.
4743         * config/nds32/isr-library/restore_all.inc: Ditto.
4744         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
4745         * config/nds32/isr-library/restore_partial.inc: Ditto.
4746         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
4747         * config/nds32/isr-library/save_all.inc: Ditto.
4748         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
4749         * config/nds32/isr-library/save_partial.inc: Ditto.
4750         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
4751         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
4753 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
4755         * config/pa/linux-atomic.c: Update comment.
4756         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
4757         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
4758         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
4759         __ATOMIC_RELAXED for atomic loads.
4760         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
4761         unordered store to release lock.
4762         (__sync_lock_release_8): Likewise.
4763         (SYNC_LOCK_RELEASE_2): Remove define.
4765 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
4767         PR libgcc/86512
4768         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
4769         exponent goes negative. Update my email address.
4770         * config/arm/ieee754-sf.S: Likewise.
4772 2018-08-01  Martin Liska  <mliska@suse.cz>
4774         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
4775         check that  __gcov_indirect_call_callee is non-null.
4777 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
4779         * config/arm/ieee754-df.S: Fix comment for code working on
4780         architectures >= 4.
4781         * config/arm/ieee754-sf.S: Likewise.
4783 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
4785         PR libgcc/85334
4786         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4787         Removed.
4789 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
4791         * configure: Regenerated.
4793 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4795         * Makefile.in (install_leaf): Use enable_gcov instead of
4796         enable_libgcov.
4798 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4800         * configure.ac: Add --disable-gcov option.
4801         * configure: Regenerate.
4802         * Makefile.in: Honour @enable_gcov@.
4804 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
4806         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
4807         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
4808         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
4809         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
4810         __ARM_ARCH__.
4811         * config/arm/ieee754-sf.S: Likewise.
4812         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
4814 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
4816         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
4817         longer supported.
4818         * config/arm/ieee754-sf.S: Likewise.
4820 2018-06-20  Than McIntosh  <thanm@google.com>
4822         PR libgcc/86213
4823         * generic-morestack.c (allocate_segment): Move calls to getenv and
4824         getpagesize to __morestack_load_mmap.
4825         (__morestack_load_mmap) Initialize static_pagesize and
4826         use_guard_page here so as to avoid clobbering SSE regs during a
4827         __morestack call.
4829 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
4831         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
4832         support modules with -mno-gnu-attribute.
4833         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
4835 2018-06-07  Olivier Hainque  <hainque@adacore.com>
4837         * config/t-vxworks (LIBGCC_INCLUDES): Add
4838         -I$(MULTIBUILDTOP)../../gcc/include.
4839         * config/t-vxworks7: Likewise. Reformat a bit to match
4840         the t-vxworks layout.
4842 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
4844         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
4846 2018-06-07  Martin Liska  <mliska@suse.cz>
4848         * libgcov-driver.c: Rename cs_all to all and assign it from
4849         all_prg.
4851 2018-06-07  Martin Liska  <mliska@suse.cz>
4853         PR bootstrap/86057
4854         * libgcov-driver-system.c (replace_filename_variables): Use
4855         memcpy instead of mempcpy.
4856         (allocate_filename_struct): Do not allocate filename, allocate
4857         prefix and set it.
4858         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
4859         here and properly copy content into it.
4860         * libgcov-driver.c (struct gcov_filename): Remove max_length
4861         field, change prefix from size_t into char *.
4862         (compute_summary): Do not calculate longest filename.
4863         (gcov_do_dump): Release memory of gf.filename after each file.
4864         * libgcov-util.c (compute_summary): Use new signature of
4865         compute_summary.
4866         (calculate_overlap): Likewise.
4868 2018-06-05  Martin Liska  <mliska@suse.cz>
4870         PR gcov-profile/47618
4871         * libgcov-driver-system.c (replace_filename_variables): New
4872         function.
4873         (gcov_exit_open_gcda_file): Use it.
4875 2018-06-05  Martin Liska  <mliska@suse.cz>
4877         * libgcov-driver.c (gcov_compute_histogram): Remove usage
4878         of gcov_ctr_summary.
4879         (compute_summary): Do it just for a single summary.
4880         (merge_one_data): Likewise.
4881         (merge_summary): Simplify as we read just single summary.
4882         (dump_one_gcov): Pass proper argument.
4883         * libgcov-util.c (compute_one_gcov): Simplify as we have just
4884         single summary.
4885         (gcov_info_count_all_cold): Likewise.
4886         (calculate_overlap): Likewise.
4888 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
4889             Monk Chiang  <sh.chiang04@gmail.com>
4891         * config.host (nds32*-linux*): New.
4892         * config/nds32/linux-atomic.c: New file.
4893         * config/nds32/linux-unwind.h: New file.
4895 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
4897         PR target/85591
4898         * config/i386/cpuinfo.c (get_amd_cpu): Return
4899         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
4901 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
4903         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
4905 2018-05-29  Martin Liska  <mliska@suse.cz>
4907         PR gcov-profile/85759
4908         * libgcov-driver-system.c (gcov_error): Introduce usage of
4909         GCOV_EXIT_AT_ERROR env. variable.
4910         * libgcov-driver.c (merge_one_data): Print error that we
4911         overwrite a gcov file with a different timestamp.
4913 2018-05-23  Kalamatee  <kalamatee@gmail.com>
4915         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
4916         path to Lf$finfty.
4918 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
4919             Monk Chiang  <sh.chiang04@gmail.com>
4920             Jim Wilson <jimw@sifive.com>
4922         * config/riscv/save-restore.S: Add support for rv32e.
4924 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
4926         * config/arm/libunwind.S: Update comment relating to armv5.
4928 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
4930         * config/arm/cmse.c (cmse_check_address_range): Replace
4931         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
4933 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
4935         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
4936         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
4938 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
4940         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
4941         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
4943 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
4945         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
4947 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
4948             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
4950         PR libgcc/84292
4951         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
4952         op_and_fetch to return the right result.
4954 2018-04-27  Alan Modra  <amodra@gmail.com>
4956         PR libgcc/85532
4957         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
4958         -fno-asynchronous-unwind-tables.
4960 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
4962         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
4963         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
4965 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
4967         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
4968         when including "config/i386/shadow-stack-unwind.h".
4970 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
4972         * configure: Regenerated.
4974 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
4976         PR target/85456
4977         * config/rs6000/_powikf2.c: New file.  Add support for the
4978         __builtin_powil function when long double is IEEE 128-bit floating
4979         point.
4980         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
4981         __powikf2 support.
4982         (__powikf2): Likewise.
4983         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
4984         (__powikf2_hw): Likewise.
4985         (__powikf2): Likewise.
4986         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
4987         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
4988         (_powikf2-hw.c): Likewise.
4990 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
4992         PR libgcc/85334
4993         * unwind-generic.h (_Unwind_Frames_Increment): New.
4994         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4995         Likewise.
4996         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
4997         count with _Unwind_Frames_Increment.
4998         (_Unwind_ForcedUnwind_Phase2): Likewise.
5000 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
5002         PR libgcc/85379
5003         * config/i386/morestack.S (__stack_split_initialize): Add
5004         _CET_ENDBR.
5006 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
5008         * configure: Regenerated.
5010 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
5012         PR jit/85384
5013         * configure: Regenerate.
5015 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
5017         PR target/84945
5018         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
5019         -Wdangling-else warnings.  Mask shift counts to avoid
5020         -Wshift-count-negative and -Wshift-count-overflow false positives.
5022 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
5024         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
5026 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
5028         PR target/85100
5029         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
5030         (XSTATE_FP): Likewise.
5031         (XSTATE_SSE): Likewise.
5032         (XSTATE_YMM): Likewise.
5033         (XSTATE_OPMASK): Likewise.
5034         (XSTATE_ZMM): Likewise.
5035         (XSTATE_HI_ZMM): Likewise.
5036         (XCR_AVX_ENABLED_MASK): Likewise.
5037         (XCR_AVX512F_ENABLED_MASK): Likewise.
5038         (get_available_features): Enable AVX and AVX512 features only
5039         if their states are supported by OSXSAVE.
5041 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
5043         PR target/85025
5044         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
5045         Fix a typo, tmp => 255.
5047 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
5049         PR target/84945
5050         * config/i386/cpuinfo.h (__cpu_features2): Declare.
5051         * config/i386/cpuinfo.c (__cpu_features2): New variable for
5052         ifndef SHARED only.
5053         (set_feature): Define.
5054         (get_available_features): Use set_feature macro.  Set __cpu_features2
5055         to the second word of features ifndef SHARED.
5057 2018-03-15  Julia Koval  <julia.koval@intel.com>
5059         * config/i386/cpuinfo.c (get_available_features): Add
5060         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
5061         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
5062         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
5063         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
5064         FEATURE_AVX512BITALG.
5066 2018-03-14  Julia Koval  <julia.koval@intel.com>
5068         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
5069         icelake client and icelake server.
5071 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
5073         * config/pa/fptr.c (_dl_read_access_allowed): New.
5074         (__canonicalize_funcptr_for_compare): Use it.
5076 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
5078         PR debug/83917
5079         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
5080         $asm_hidden_op if visibility ("hidden") attribute works.
5081         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
5082         * config/i386/i386-asm.h: Don't include auto-host.h.
5083         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
5084         PACKAGE_URL): Don't undefine.
5085         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
5086         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
5087         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
5088         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
5089         definition instead of hardcoded .hidden.
5090         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
5091         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
5092         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
5093         (USE_GAS_CFI_DIRECTIVES): Don't define.
5094         * configure: Regenerated.
5095         * config.in: Likewise.
5097 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
5099         PR debug/83917
5100         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
5101         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
5102         inclusion of auto-target.h and auto-host.h.
5103         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
5104         __GCC_HAVE_DWARF2_CFI_ASM.
5105         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
5106         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
5107         cfi_pop): Define.
5108         * config/i386/cygwin.S: Don't include auto-host.h here, just
5109         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
5110         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
5111         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
5112         * config/i386/resms64fx.h: Add cfi_* directives.
5113         * config/i386/resms64x.h: Likewise.
5115 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
5117         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
5118         .literal_position directive.
5119         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
5121 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
5123         PR target/84148
5124         * configure: Regenerate.
5126 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
5128         PR target/84239
5129         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
5130         Include cetintrin.h not x86intrin.h.
5132 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
5134         PR target/84239
5135         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
5136         Use new _get_ssp and _inc_ssp intrinsics.
5138 2018-02-02  Julia Koval  <julia.koval@intel.com>
5140         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
5142 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
5144         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
5145         option.
5146         (__divsi3): Use RF16 safe registers.
5147         (__modsi3): Likewise.
5149 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
5151         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
5152         (__divsf3): Make NaN return value quiet.
5153         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
5154         (__divdf3): Make NaN return value quiet.
5156 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
5158         * config/rl78/anddi3.S: New assembly file.
5159         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
5161 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
5163         * config/rl78/umindi3.S: New assembly file.
5164         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
5166 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
5168         * config/rl78/smindi3.S: New assembly file.
5169         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
5171 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
5173         * config/rl78/smaxdi3.S: New assembly file.
5174         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
5176 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
5178         * config/rl78/umaxdi3.S: New assembly file.
5179         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
5181 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
5183         PR lto/83452
5184         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
5185         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
5187 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
5189         * config/aarch64/value-unwind.h (aarch64_vg): New function.
5190         (DWARF_LAZY_REGISTER_VALUE): Define.
5191         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
5192         to provide a fallback register value.
5194 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
5196         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
5197         __ibm128, instead of trying to use long double.
5198         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
5199         accomidate -mabi=ieeelongdouble multilibs.
5200         (CVT_IBM128_TO_FLOAT128): Likewise.
5201         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
5202         the appropriate IBM extended double type.
5203         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
5204         (__gcc_qsub): Likewise.
5205         (__gcc_qmul): Likewise.
5206         (__gcc_qdiv): Likewise.
5207         (pack_ldouble): Likewise.
5208         (__gcc_qneg): Likewise.
5209         (__gcc_qeq): Likewise.
5210         (__gcc_qne): Likewise.
5211         (__gcc_qge): Likewise.
5212         (__gcc_qle): Likewise.
5213         (__gcc_stoq): Likewise.
5214         (__gcc_dtoq): Likewise.
5215         (__gcc_itoq): Likewise.
5216         (__gcc_utoq): Likewise.
5217         (__gcc_qunord): Likewise.
5218         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
5219         quad-float128.h for the definitions.
5220         (COPYSIGN): Use the f128 version instead of the q version.
5221         (INFINITY): Likewise.
5222         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
5223         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
5224         quad-float128.h for the definitions.
5225         (COPYSIGN): Use the f128 version instead of the q version.
5226         (INFINITY): Likewise.
5227         (FABS): Likewise.
5228         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
5229         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
5230         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
5232 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5234         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
5235         configuration.
5237 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
5239         Update copyright years.
5241 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
5243         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
5244         * config/riscv/multi3.c: New file.
5245         * config/riscv/multi3.S: Remove.
5247 2017-12-08  Jim Wilson  <jimw@sifive.com>
5249         * config/riscv/div.S: Use FUNC_* macros.
5250         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
5251         * config/riscv/save-restore.S: Likewise.
5252         * config/riscv/riscv-asm.h: New.
5254 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
5256         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
5257         * config/rs6000/_divkc3.c (__divkc3): Likewise.
5259         PR libgcc/83112
5260         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
5261         correct type for all ifunc resolvers to silence -Wattribute-alias
5262         warnings.  Eliminate the forward declaration of the resolver
5263         functions which is no longer needed.
5264         (__subkf3_resolve): Likewise.
5265         (__mulkf3_resolve): Likewise.
5266         (__divkf3_resolve): Likewise.
5267         (__negkf2_resolve): Likewise.
5268         (__eqkf2_resolve): Likewise.
5269         (__nekf2_resolve): Likewise.
5270         (__gekf2_resolve): Likewise.
5271         (__gtkf2_resolve): Likewise.
5272         (__lekf2_resolve): Likewise.
5273         (__ltkf2_resolve): Likewise.
5274         (__unordkf2_resolve): Likewise.
5275         (__extendsfkf2_resolve): Likewise.
5276         (__extenddfkf2_resolve): Likewise.
5277         (__trunckfsf2_resolve): Likewise.
5278         (__trunckfdf2_resolve): Likewise.
5279         (__fixkfsi_resolve): Likewise.
5280         (__fixkfdi_resolve): Likewise.
5281         (__fixunskfsi_resolve): Likewise.
5282         (__fixunskfdi_resolve): Likewise.
5283         (__floatsikf_resolve): Likewise.
5284         (__floatdikf_resolve): Likewise.
5285         (__floatunsikf_resolve): Likewise.
5286         (__floatundikf_resolve): Likewise.
5287         (__extendkftf2_resolve): Likewise.
5288         (__trunctfkf2_resolve): Likewise.
5290         PR libgcc/83103
5291         * config/rs6000/quad-float128.h (TF): Don't define if long double
5292         is IEEE 128-bit floating point.
5293         (TCtype): Define as either TCmode or KCmode, depending on whether
5294         long double is IEEE 128-bit floating point.
5295         (__mulkc3_sw): Add declarations for software/hardware versions of
5296         complex multiply/divide.
5297         (__divkc3_sw): Likewise.
5298         (__mulkc3_hw): Likewise.
5299         (__divkc3_hw): Likewise.
5300         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
5301         handlers to switch between using software emulation and hardware
5302         float128 instructions, build the complex multiply/divide functions
5303         for both software and hardware support.
5304         * config/rs6000/_divkc3.c (_divkc3): Likewise.
5305         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
5306         (__divkc3_resolve): Likewise.
5307         (__mulkc3): Likewise.
5308         (__divkc3): Likewise.
5309         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
5310         (fp128_hw_src): Likewise.
5311         (fp128_hw_static_obj): Likewise.
5312         (fp128_hw_shared_obj): Likewise.
5313         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
5314         _mulkc3.c and _divkc3.c, changing the function name.
5315         (_divkc3-hw.c): Likewise.
5316         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
5317         and _divkc3-hw.c.
5319 2017-11-26  Julia Koval  <julia.koval@intel.com>
5321         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
5322         * config/i386/cpuinfo.h (processor_subtypes): Add
5323         INTEL_COREI7_CANNONLAKE.
5325 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
5327         PR bootstrap/83015
5328         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
5329         parameter.
5330         * config/xtensa/unwind-dw2-xtensa.c: Likewise
5331         * config/ia64/unwind-ia64.c: Add frames parameter.
5332         * unwind-sjlj.c: Likewise.
5334 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
5336         * config/i386/linux-unwind.h: Include
5337         config/i386/shadow-stack-unwind.h.
5338         * config/i386/shadow-stack-unwind.h: New file.
5339         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
5340         pass it to _Unwind_Frames_Extra.
5341         * unwind-generic.h (_Unwind_Frames_Extra): New.
5342         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
5343         parameter. Add local variable frames to count number of frames.
5344         (_Unwind_ForcedUnwind_Phase2): Likewise.
5345         (_Unwind_RaiseException): Add local variable frames to count
5346         number of frames, pass it to _Unwind_RaiseException_Phase2 and
5347         uw_install_context.
5348         (_Unwind_ForcedUnwind): Likewise.
5349         (_Unwind_Resume): Likewise.
5350         (_Unwind_Resume_or_Rethrow): Likewise.
5352 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
5354         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
5355         (CET_FLAGS): New.
5356         * config/i386/morestack.S: Include <cet.h>.
5357         (__morestack_large_model): Add _CET_ENDBR at function entrance.
5358         * config/i386/resms64.h: Include <cet.h>.
5359         * config/i386/resms64f.h: Likewise.
5360         * config/i386/resms64fx.h: Likewise.
5361         * config/i386/resms64x.h: Likewise.
5362         * config/i386/savms64.h: Likewise.
5363         * config/i386/savms64f.h: Likewise.
5364         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
5365         (CRTSTUFF_T_CFLAGS): Likewise.
5366         * configure.ac: Include ../config/cet.m4.
5367         Set and substitute CET_FLAGS.
5368         * configure: Regenerated.
5370 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5372         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
5373         renaming.
5374         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
5375         * configure.ac (libgcc_cv_solaris_crts): Likewise.
5376         * configure: Regenerate.
5378 2017-11-07  Tom de Vries  <tom@codesourcery.com>
5380         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
5381         after "do {} while (0)".
5383 2017-11-07  Tom de Vries  <tom@codesourcery.com>
5385         PR other/82784
5386         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
5387         semicolon after "do {} while (0)".
5388         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
5389         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
5390         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
5391         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
5393 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
5395         PR libgcc/82635
5396         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
5397         sysctl to determine whether we're in a trampoline.
5398         Keep the pattern matching method for systems without
5399         KERN_PROC_SIGTRAMP sysctl.
5401 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
5402             Vineet Gupta <vgupta@synopsys.com>
5404         * config.host (arc*-*-linux*): Set md_unwind_header variable.
5405         * config/arc/linux-unwind-reg.def: New file.
5406         * config/arc/linux-unwind-reg.h: Likewise.
5408 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
5410         * config/rl78/subdi3.S: New assembly file.
5411         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
5413 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
5415         * config/rl78/adddi3.S: New assembly file.
5416         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
5418 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
5420         PR target/82274
5421         * libgcc2.c (__mulvDI3): If both operands have
5422         the same highpart of -1 and the topmost bit of lowpart is 0,
5423         multiplication overflows even if both lowparts are 0.
5425 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
5427         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
5429 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
5431         * config/microblaze/crti.S, config/microblaze/crtn.S,
5432         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
5433         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
5434         config/microblaze/mulsi3.S,
5435         config/microblaze/stack_overflow_exit.S,
5436         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
5437         config/pa/milli64.S: Add .note.GNU-stack section.
5439 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
5441         * configure.ac: Add Check for HAVE_AS_AVX.
5442         * config.in: Regenerate.
5443         * configure: Likewise.
5444         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
5445         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
5446         Correct out-of-date comments.
5448 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
5450         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
5451         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
5453 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
5455         * config/i386/i386-asm.h (PASTE2): New macro.
5456         (ASMNAME): Modify to use PASTE2.
5457         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
5458         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
5459         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
5460         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
5461         * config/i386/resms64f.S: Likewise.
5462         * config/i386/resms64fx.S: Likewise.
5463         * config/i386/resms64x.S: Likewise.
5464         * config/i386/savms64.S: Likewise.
5465         * config/i386/savms64f.S: Likewise.
5466         * config/i386/avx_resms64.S: New file that only defines a macro and
5467         includes it's corresponding header file.
5468         * config/i386/avx_resms64f.S: Likewise.
5469         * config/i386/avx_resms64fx.S: Likewise.
5470         * config/i386/avx_resms64x.S: Likewise.
5471         * config/i386/avx_savms64.S: Likewise.
5472         * config/i386/avx_savms64f.S: Likewise.
5473         * config/i386/sse_resms64.S: Likewise.
5474         * config/i386/sse_resms64f.S: Likewise.
5475         * config/i386/sse_resms64fx.S: Likewise.
5476         * config/i386/sse_resms64x.S: Likewise.
5477         * config/i386/sse_savms64.S: Likewise.
5478         * config/i386/sse_savms64f.S: Likewise.
5479         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
5481 2017-09-01  Olivier Hainque  <hainque@adacore.com>
5482         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
5484 2017-08-31  Olivier Hainque  <hainque@adacore.com>
5486         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
5487         match as powerpc-wrs-vxworks*.
5489 2017-08-07  Jonathan Yong  <10walls@gmail.com>
5491         * config.host (*-cygwin): Include file from mingw
5492         config/i386/enable-execute-stack-mingw32.c
5494 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
5495             Doug Rupp  <rupp@adacore.com>
5496             Olivier Hainque  <hainque@adacore.com>
5498         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
5499         as well as arm-wrs-vxworks.
5500         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
5501         LIB2ADDEH.
5502         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
5503         __exidx_start and __exidx_end for downloadable modules.
5505 2017-08-01  Olivier Hainque  <hainque@adacore.com>
5507         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
5508         * config/t-vxworks7: Likewise.
5510 2017-08-01  Olivier Hainque  <hainque@adacore.com>
5512         * config/t-vxworks: Instead of redefining LIB2ADD,
5513         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
5515 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5517         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
5519 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
5521         PR testsuite/80759
5522         * config.host: include i386/t-msabi for darwin and solaris.
5523         * config/i386/i386-asm.h
5524         (ELFFN): Rename to FN_TYPE.
5525         (FN_SIZE): New macro.
5526         (FN_HIDDEN): Likewise.
5527         (ASMNAME): Likewise.
5528         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
5529         .globl.
5530         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
5531         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
5532         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
5533         .macro.
5534         * config/i386/resms64f.S: Likewise.
5535         * config/i386/resms64fx.S: Likewise.
5536         * config/i386/resms64x.S: Likewise.
5537         * config/i386/savms64.S: Likewise.
5538         * config/i386/savms64f.S: Likewise.
5540 2017-07-19  John Marino  <gnugcc@marino.st>
5542         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
5544 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
5546         PR target/81193
5547         * configure.ac (PowerPC float128 hardware support): Test whether
5548         we can use __builtin_cpu_supports before enabling the ifunc
5549         handler.
5550         * configure: Regenerate.
5552 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
5554         * config.host: Remove uclibc from arc target spec.
5556 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
5558         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
5560 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
5562         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
5563         (have_ieee_hw_p): Delete function.
5564         (SW_OR_HW) Use __builtin_cpu_supports().
5566 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
5568         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
5570 2017-07-03  Olivier Hainque  <hainque@adacore.com>
5572         * config/t-vxworks7: New file, really.
5574 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
5576         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
5577         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
5578         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
5579         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
5580         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
5581         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
5582         config/pa/linux-unwind.h (pa32_fallback_frame_state),
5583         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
5584         config/sh/linux-unwind.h (sh_fallback_frame_state),
5585         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
5586         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
5587         ucontext_t instead of struct ucontext.
5589 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
5591         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
5592         (x86_64-wrs-vxworks7): Likewise.
5594 2017-06-27  Olivier Hainque  <hainque@adacore.com>
5596         * config/t-vxworks7: New file.
5597         * config.host (*-*-vxworks7): Use it.
5599 2017-06-22  Matt Turner  <mattst88@gmail.com>
5601         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
5602         skylake case.
5604 2017-06-21  Richard Biener  <rguenther@suse.de>
5606         PR gcov-profile/81080
5607         * configure.ac: Add AC_SYS_LARGEFILE.
5608         * libgcov.h: Include auto-target.h before tsystem.h to pick
5609         up _FILE_OFFSET_BITS which might differ for multilibs.
5610         * config.in: Regenerate.
5611         * configure: Likewise.
5613 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
5615         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
5617 2017-06-09  Martin Liska  <mliska@suse.cz>
5619         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
5620         Reset __gcov_indirect_call_callee to NULL.
5622 2017-06-08  Olivier Hainque  <hainque@adacore.com>
5624         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
5625         the set of -I options, support for direct inclusions of net/uio.h
5626         by VxWorks header files via ioLib.h.
5628 2017-06-07  Tony Reix  <tony.reix@atos.net>
5629             Matthieu Sarter  <matthieu.sarter.external@atos.net>
5630             David Edelsohn  <dje.gcc@gmail.com>
5632         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
5633         unconditionally.
5634         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
5635         AIX 7.2 support.
5637 2017-06-02  Olivier Hainque  <hainque@adacore.com>
5639         * config/vxlib.c (__gthread_once): Add missing value to
5640         return statement.
5642 2017-05-30  Olivier Hainque  <hainque@adacore.com>
5644         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
5645         dollar sign before $(MULTIDIR).
5647 2017-05-26  Richard Henderson  <rth@redhat.com>
5649         PR libgcc/80037
5650         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
5652 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
5654         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
5655         _Unwind_SetIP available as functions for arm*-*-freebsd*.
5656         * config/arm/unwind-arm.c: Implement the above.
5658 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5660         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
5661         section for a non-executable stack.
5663 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
5665         PR target/80600
5666         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
5668 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
5670         * config.host: Add i386/t-msabi to i386/t-linux file list.
5671         * config/i386/i386-asm.h: New file.
5672         * config/i386/resms64.S: New file.
5673         * config/i386/resms64f.S: New file.
5674         * config/i386/resms64fx.S: New file.
5675         * config/i386/resms64x.S: New file.
5676         * config/i386/savms64.S: New file.
5677         * config/i386/savms64f.S: New file.
5678         * config/i386/t-msabi: New file.
5680 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
5682         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
5683         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
5685 2017-05-05  Joshua Conner  <joshconner@google.com>
5687         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
5688         pc-relative indirect handling for fuchsia.
5689         * config/t-slibgcc-fuchsia: New file.
5690         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
5691         x86_64-*-fuchsia*): Add definitions.
5693 2017-04-19  Martin Liska  <mliska@suse.cz>
5695         PR gcov-profile/80435
5696         * Makefile.in: Install gcov.h.
5697         * gcov.h: New file.
5698         * libgcov.h: Use the header and make __gcov_flush publicly
5699         visible.
5701 2017-04-18  Martin Liska  <mliska@suse.cz>
5703         PR gcov-profile/78783
5704         * libgcov-driver.c (gcov_get_filename): New function.
5706 2017-04-07  Jeff Law  <law@redhat.com>
5708         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
5709         target makefile fragment.
5710         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
5712 2017-04-07  Alan Modra  <amodra@gmail.com>
5714         PR target/45053
5715         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
5717 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
5719         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
5721 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
5723         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
5725 2017-03-10  John Marino  <gnugcc@marino.st>
5727         * config/aarch64/freebsd-unwind.h: New file.
5728         * config.host: Add aarch64-*-freebsd unwinder.
5730 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
5732         * config/rs6000/crtrestvr.s: Use .machine altivec.
5733         * config/rs6000/crtsavevr.s: Ditto.
5735 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
5737         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
5738         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
5739         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
5740         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
5741         * configure: Regenerate.
5742         * config.in: Regenerate.
5744 2017-03-02  Jonathan Yong <10walls@gmail.com>
5746         * config/i386/gthr-win32.h: Define NOGDI before
5747         windows.h include to prevent w32api CC_NONE macro
5748         clash with libgfortran.
5750 2017-03-02  Jonathan Yong <10walls@gmail.com>
5752         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
5754 2017-02-16  Andrew Pinski  <apinski@cavium.com>
5756         * config/aarch64/value-unwind.h: New file.
5757         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
5758         to tm_file.
5760 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
5762         * config.host: Add RISC-V tuples.
5763         * config/riscv/atomic.c: New file.
5764         * config/riscv/crti.S: Likewise.
5765         * config/riscv/crtn.S: Likewise.
5766         * config/riscv/div.S: Likewise.
5767         * config/riscv/linux-unwind.h: Likewise.
5768         * config/riscv/muldi3.S: Likewise.
5769         * config/riscv/multi3.S: Likewise.
5770         * config/riscv/save-restore.S: Likewise.
5771         * config/riscv/sfp-machine.h: Likewise.
5772         * config/riscv/t-elf: Likewise.
5773         * config/riscv/t-elf32: Likewise.
5774         * config/riscv/t-elf64: Likewise.
5775         * config/riscv/t-softfp32: Likewise.
5776         * config/riscv/t-softfp64: Likewise.
5778 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
5780         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
5781         /* FALLTHRU */ comments.
5783 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
5785         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
5787 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
5789         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
5790         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
5791         DW_CFA_GNU_window_save for AArch64 and LP64.
5793 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
5795         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
5797 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
5799         * config/aarch64/aarch64-unwind.h: New file.
5800         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
5801         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
5802         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
5803         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
5804         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
5805         (aarch64_post_extract_frame_addr): New function.
5806         (aarch64_post_frob_eh_handler_addr): New function.
5807         (aarch64_frob_update_context): New function.
5808         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
5809         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
5810         aarch64*-*-freebsd*):
5811         Initialize md_unwind_header to include aarch64-unwind.h.
5812         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
5813         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
5814         __aarch64__.
5815         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
5816         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
5817         (uw_frob_return_addr): New function.
5818         (uw_install_context): Use uw_frob_return_addr.
5820 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
5822         PR other/79046
5823         * configure.ac: Add GCC_BASE_VER.
5824         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
5825         version from BASE-VER file.
5826         * configure: Regenerated.
5828 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
5830         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
5831         libmul_f5.a): Filter archived prerequisites.
5833 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
5835         * config/i386/cpuinfo.h (processor_features): Add
5836         FEATURE_AVX512VPOPCNTDQ.
5837         * config/i386/cpuinfo.c (get_available_features): Habdle new
5838         feature.
5840 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5842         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
5843         payload if [__mips_nan2008].
5845 2017-01-04  Alan Modra  <amodra@gmail.com>
5847         * Makefile.in (configure_deps): Update.
5848         * configure: Regenerate.
5850 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
5852         Update copyright years.
5854 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
5856         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
5857         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
5858         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
5860 2016-12-17  Matthias Klose  <doko@ubuntu.com>
5862         * config/arc/gmon: Remove empty directory.
5864 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
5866         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
5867         crtgend.
5868         (arc*-*-elf*): Likewise.
5869         * config/arc/t-arc: Remove old gmon lib targets.
5870         * config/arc/crtg.S: Remove.
5871         * config/arc/crtgend.S: Likewise.
5872         * config/arc/gmon/atomic.h: Likewise.
5873         * config/arc/gmon/auxreg.h: Likewise.
5874         * config/arc/gmon/dcache_linesz.S: Likewise.
5875         * config/arc/gmon/gmon.c: Likewise.
5876         * config/arc/gmon/machine-gmon.h: Likewise.
5877         * config/arc/gmon/mcount.c: Likewise.
5878         * config/arc/gmon/prof-freq-stub.S: Likewise.
5879         * config/arc/gmon/prof-freq.c: Likewise.
5880         * config/arc/gmon/profil.S: Likewise.
5881         * config/arc/gmon/sys/gmon.h: Likewise.
5882         * config/arc/gmon/sys/gmon_out.h: Likewise.
5883         * config/arc/t-arc-newlib: Likewise.
5884         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
5886 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
5888         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
5890 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
5892         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
5893         R16 instead of push + pop.
5894         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
5896 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
5898         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
5899         tmake_file.
5901 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
5903         * config.host (arc*-*-linux-uclibc*): Use default extra
5904         objects. Include linux-android header.
5905         * config/arc/crti.S (_init): Declare symbol as function.
5906         (_fini): Likewise.
5908 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
5910         PR fortran/78379
5911         * config/i386/cpuinfo.c:  Move denums for processor vendors,
5912         processor type, processor subtypes and declaration of
5913         struct __processor_model into
5914         * config/i386/cpuinfo.h:  New header file.
5916 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
5917             Thomas Preud'homme  <thomas.preudhomme@arm.com>
5919         * config/arm/cmse_nonsecure_call.S: New.
5920         * config/arm/t-arm: Compile cmse_nonsecure_call.S
5922 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
5923             Thomas Preud'homme  <thomas.preudhomme@arm.com>
5925         * config/arm/t-arm (HAVE_CMSE): New.
5926         * config/arm/cmse.c: New.
5928 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
5930         PR gcc/74748
5931         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
5932         use generic linker version information on Blackfin.
5934         PR gcc/74748
5935         * libgcc/mkmap-symver.awk: add support for skip_underscore
5937 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
5938             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5940         PR target/67710
5941         *  config/t-darwin: Default builds to 10.5 codegen.
5943 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
5945         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
5946         (_FP_NANSIGN_H): Likewise.
5947         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
5948         (softfp_truncations): Add tfhf.
5949         (softfp_extras): Add required conversion functions.
5951 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
5952             Matthew Wahab  <matthew.wahab@arm.com>
5954         * config/arm/fp16.c (binary64): New.
5955         (__gnu_d2h_internal): New.
5956         (__gnu_d2h_ieee): New.
5957         (__gnu_d2h_alternative): New.
5959 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
5960             Matthew Wahab  <matthew.wahab@arm.com>
5962         * config/arm/fp16.c (struct format): New.
5963         (binary32): New.
5964         (__gnu_float2h_internal): New.  Body moved from
5965         __gnu_f2h_internal and generalize.
5966         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
5967         Call it with binary32.
5969 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
5971         * soft-fp/extendhftf2.c: Update from glibc.
5972         * soft-fp/fixhfti.c: Likewise.
5973         * soft-fp/fixunshfti.c: Likewise.
5974         * soft-fp/floattihf.c: Likewise.
5975         * soft-fp/floatuntihf.c: Likewise.
5976         * soft-fp/half.h: Likewise.
5977         * soft-fp/trunctfhf2.c: Likewise.
5979 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
5981         PR libgcc/77813
5982         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
5983         __TMC_END__ behind a passthrough asm.
5985 2016-11-18  Walter Lee  <walt@tilera.com>
5987         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
5989 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
5991         * config/i386/cpuinfo.c (processor_features): Add
5992         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
5994 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
5996         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
5997         (__ARC_NORM__): Use instead ARC_OPTFPE.
5998         * config/arc/fp-hack.h: Likewise.
5999         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
6000         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
6002 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
6004         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
6005         * config/nvptx/mgomp.c: New file.
6006         * config/nvptx/t-nvptx: Add mgomp.c
6008 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
6010         PR libgcc/68468
6011         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
6013 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
6015         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
6016         of checking for cpus.
6017         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
6018         (__modsi3, __clzsi2): Likewise.
6020 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6022         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
6023         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
6024         * config/i386/t-cpuinfo-static: New.
6026 2016-11-03  Martin Liska  <mliska@suse.cz>
6028         * libgcov-profiler.c (__gcov_time_profiler): Remove.
6029         (__gcov_time_profiler_atomic): Likewise.
6031 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
6033         PR libgcc/78067
6034         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
6035         count_leading_zeros.
6037 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
6039         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
6040         * libgcc2.c (__divmoddi4): New function.
6041         * libgcc2.h (__divmoddi4): Declare.
6042         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
6043         and __PFX_divmodti4.
6045 2016-10-24  Florian Weimer  <fweimer@redhat.com>
6047         PR libgcc/78064
6048         * unwind-c.c: Include auto-target.h.
6050 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
6052         * config/pa/pa64-hpux-lib.h: New file.
6053         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
6054         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
6055         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
6056         hppa*64*-*-hpux11*.
6058 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
6060         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
6061         definition.
6062         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
6063         definition.
6064         * config/xtensa/t-windowed (LIB2ADDEH): Use
6065         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
6066         or xtensa/t-linux.
6068 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
6070         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
6071         __ieee754_sqrt): New functions.
6072         (__divdf3): Add implementation with new FPU instructions under
6073         #if XCHAL_HAVE_DFP_DIV.
6074         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
6075         __ieee754_sqrtf): New functions.
6076         (__divsf3): Add implementation with new FPU instructions under
6077         #if XCHAL_HAVE_FP_DIV.
6078         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
6079         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
6081 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
6083         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
6084         equivalent.
6085         * config/tilepro/atomic.c: Likewise and stop casting model to
6086         enum memmodel.
6088 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
6090         PR target/77586
6091         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
6092         soft-fp.
6094 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
6096         * config.host: Add support for aarch64-*-freebsd*.
6098 2016-10-05  Andreas Schwab  <schwab@suse.de>
6100         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
6101         (.section .init_array): Don't call __do_jv_register_classes.
6102         (.section .init): Likewise.
6104 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
6106         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
6107         (__JCR_LIST__): Remove.
6108         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
6109         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
6110         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
6111         * config/ia64/crtend.S (__JCR_END__): Remove.
6112         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
6113         conditionals.
6114         (__JCR_LIST__, __JCR_END__): Remove.
6115         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
6116         (__do_global_ctors_1): Likewise.
6118 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
6120         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
6121         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
6123 2016-09-27  Martin Liska  <mliska@suse.cz>
6125         PR gcov-profile/7970
6126         PR gcov-profile/16855
6127         PR gcov-profile/44779
6128         * libgcov-driver.c (__gcov_init): Do not register a atexit
6129         handler.
6130         (__gcov_exit): Rename from gcov_exit.
6131         * libgcov.h (__gcov_exit): Declare.
6133 2016-09-27  Martin Liska  <mliska@suse.cz>
6135         PR bootstrap/77749
6136         * Makefile.in: Remove _gcov_merge_delta.
6137         * libgcov-merge.c (void __gcov_merge_delta): Remove.
6138         * libgcov-util.c (__gcov_delta_counter_op): Remove.
6139         * libgcov.h: Remove declaration of __gcov_merge_delta.
6141 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
6143         * configure.ac: Do not create links, only substitute the filenames.
6144         * configure: Regenerate.
6145         * Makefile.in: Assign the substitution results to variables.
6146         (LIBGCC_LINKS): Define.
6147         (enable-execute-stack.c): New rule.
6148         (unwind.h): Likewise.
6149         (md-unwind-support.h): Likewise.
6150         (sfp-machine.h): Likewise.
6151         (gthr-default.h): Likewise.
6152         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
6153         unwind.h as prerequisite of install-unwind_h-forbuild.
6155 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
6157         PR libgcc/71744
6158         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
6159         is not the primary registry and atomics are available.
6160         (any_objects_registered): New variable.
6161         (__register_frame_info_bases, __register_frame_info_table_bases):
6162         Atomically store 1 to any_objects_registered after registering first
6163         unwind info.
6164         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
6166 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
6168         PR target/63250
6169         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
6170         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
6171         (HFtype): Likewise.
6172         (HCtype): Likewise.
6173         (__divhc3): Likewise.
6174         (__mulhc3): Likewise.
6175         * libgcc2.c: Support _mulhc3 and _divhc3.
6177 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
6179         PR libgcc/77519
6180         * libgcc2.c (NOTRUNC): Invert settings.
6182 2016-09-06  Martin Liska  <mliska@suse.cz>
6184         PR gcov-profile/77378
6185         PR gcov-profile/77466
6186         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
6187         conditionaly enable/disable *_atomic functions.
6189 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
6191         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
6192         where not already enabled.
6194 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6196         * config/mips/linux-unwind.h: Use sys/syscall.h.
6198 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
6200         PR libgcc/77265
6201         * soft-fp/adddf3.c: Update from glibc.
6202         * soft-fp/addsf3.c: Likewise.
6203         * soft-fp/addtf3.c: Likewise.
6204         * soft-fp/divdf3.c: Likewise.
6205         * soft-fp/divsf3.c: Likewise.
6206         * soft-fp/divtf3.c: Likewise.
6207         * soft-fp/double.h: Likewise.
6208         * soft-fp/eqdf2.c: Likewise.
6209         * soft-fp/eqsf2.c: Likewise.
6210         * soft-fp/eqtf2.c: Likewise.
6211         * soft-fp/extenddftf2.c: Likewise.
6212         * soft-fp/extended.h: Likewise.
6213         * soft-fp/extendsfdf2.c: Likewise.
6214         * soft-fp/extendsftf2.c: Likewise.
6215         * soft-fp/extendxftf2.c: Likewise.
6216         * soft-fp/fixdfdi.c: Likewise.
6217         * soft-fp/fixdfsi.c: Likewise.
6218         * soft-fp/fixdfti.c: Likewise.
6219         * soft-fp/fixsfdi.c: Likewise.
6220         * soft-fp/fixsfsi.c: Likewise.
6221         * soft-fp/fixsfti.c: Likewise.
6222         * soft-fp/fixtfdi.c: Likewise.
6223         * soft-fp/fixtfsi.c: Likewise.
6224         * soft-fp/fixtfti.c: Likewise.
6225         * soft-fp/fixunsdfdi.c: Likewise.
6226         * soft-fp/fixunsdfsi.c: Likewise.
6227         * soft-fp/fixunsdfti.c: Likewise.
6228         * soft-fp/fixunssfdi.c: Likewise.
6229         * soft-fp/fixunssfsi.c: Likewise.
6230         * soft-fp/fixunssfti.c: Likewise.
6231         * soft-fp/fixunstfdi.c: Likewise.
6232         * soft-fp/fixunstfsi.c: Likewise.
6233         * soft-fp/fixunstfti.c: Likewise.
6234         * soft-fp/floatdidf.c: Likewise.
6235         * soft-fp/floatdisf.c: Likewise.
6236         * soft-fp/floatditf.c: Likewise.
6237         * soft-fp/floatsidf.c: Likewise.
6238         * soft-fp/floatsisf.c: Likewise.
6239         * soft-fp/floatsitf.c: Likewise.
6240         * soft-fp/floattidf.c: Likewise.
6241         * soft-fp/floattisf.c: Likewise.
6242         * soft-fp/floattitf.c: Likewise.
6243         * soft-fp/floatundidf.c: Likewise.
6244         * soft-fp/floatundisf.c: Likewise.
6245         * soft-fp/floatunditf.c: Likewise.
6246         * soft-fp/floatunsidf.c: Likewise.
6247         * soft-fp/floatunsisf.c: Likewise.
6248         * soft-fp/floatunsitf.c: Likewise.
6249         * soft-fp/floatuntidf.c: Likewise.
6250         * soft-fp/floatuntisf.c: Likewise.
6251         * soft-fp/floatuntitf.c: Likewise.
6252         * soft-fp/gedf2.c: Likewise.
6253         * soft-fp/gesf2.c: Likewise.
6254         * soft-fp/getf2.c: Likewise.
6255         * soft-fp/ledf2.c: Likewise.
6256         * soft-fp/lesf2.c: Likewise.
6257         * soft-fp/letf2.c: Likewise.
6258         * soft-fp/muldf3.c: Likewise.
6259         * soft-fp/mulsf3.c: Likewise.
6260         * soft-fp/multf3.c: Likewise.
6261         * soft-fp/negdf2.c: Likewise.
6262         * soft-fp/negsf2.c: Likewise.
6263         * soft-fp/negtf2.c: Likewise.
6264         * soft-fp/op-1.h: Likewise.
6265         * soft-fp/op-2.h: Likewise.
6266         * soft-fp/op-4.h: Likewise.
6267         * soft-fp/op-8.h: Likewise.
6268         * soft-fp/op-common.h: Likewise.
6269         * soft-fp/quad.h: Likewise.
6270         * soft-fp/single.h: Likewise.
6271         * soft-fp/soft-fp.h: Likewise.
6272         * soft-fp/subdf3.c: Likewise.
6273         * soft-fp/subsf3.c: Likewise.
6274         * soft-fp/subtf3.c: Likewise.
6275         * soft-fp/truncdfsf2.c: Likewise.
6276         * soft-fp/trunctfdf2.c: Likewise.
6277         * soft-fp/trunctfsf2.c: Likewise.
6278         * soft-fp/trunctfxf2.c: Likewise.
6279         * soft-fp/unorddf2.c: Likewise.
6280         * soft-fp/unordsf2.c: Likewise.
6281         * soft-fp/unordtf2.c: Likewise.
6283 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
6285         PR gcov-profile/67097
6286         * libgcov-util.c (gcov_profile_merge): Skip missing files.
6288 2016-08-10  Martin Liska  <mliska@suse.cz>
6290         PR gcov-profile/58306
6291         * Makefile.in: New functions (modules) are added.
6292         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
6293         function.
6294         (__gcov_pow2_profiler_atomic): New function.
6295         (__gcov_one_value_profiler_body): New argument is instroduced.
6296         (__gcov_one_value_profiler): Call with the new argument.
6297         (__gcov_one_value_profiler_atomic): Likewise.
6298         (__gcov_indirect_call_profiler_v2): Likewise.
6299         (__gcov_time_profiler_atomic): New function.
6300         (__gcov_average_profiler_atomic): Likewise.
6301         (__gcov_ior_profiler_atomic): Likewise.
6302         * libgcov.h: Declare the aforementioned functions.
6304 2016-08-09  Martin Liska  <mliska@suse.cz>
6306         * libgcov-util.c: Fix typo and GNU coding style.
6308 2016-08-09  Martin Liska  <mliska@suse.cz>
6310         * Makefile.in: Remove __gcov_indirect_call_profiler.
6311         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
6312         function.
6313         * libgcov.h: And the declaration of the function.
6315 2016-08-09  Martin Liska  <mliska@suse.cz>
6317         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
6318         power of two.
6320 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
6322         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
6323         * config/rs6000/_mulkc3.c: Likewise.
6325 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
6327         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
6328         zero_reg as previous call to __umulhisi3 already cleared it.
6330 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
6332         PR target/59833
6333         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
6335 2016-07-19  Nick Clifton  <nickc@redhat.com>
6337         * config.host (m32r): Add m32r/t-m32r to tmake_file.
6338         Add crtinit.o and crtfini.o to extra_parts.
6340 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
6342         * config/rs6000/_divkc3.c: New.
6343         * config/rs6000/_mulkc3.c: New.
6344         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
6345         and _divkc3.
6346         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
6347         fp128_ppc_funcs.
6349 2016-07-11  Hale Wang  <hale.wang@arm.com>
6350             Andre Vieira  <andre.simoesdiasvieira@arm.com>
6352         * config/arm/lib1funcs.S: Add new wrapper.
6354 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
6356         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
6358 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
6360         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
6361         and ARMv5t* rather than for a fixed list of architectures.
6363 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
6365         * config/arm/bpabi-v6m.S: Clarify what architectures is the
6366         implementation suitable for.
6367         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
6368         for all Thumb-1 only targets.
6369         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
6370         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
6371         __ARM_ARCH_6M__.
6372         (EQUIV): Likewise.
6373         (ARM_FUNC_ALIAS): Likewise.
6374         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
6375         version.
6376         (modsi3): Likewise.
6377         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
6378         (clzdi2): Likewise.
6379         (ctzsi2): Likewise.
6380         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
6381         __ARM_ARCH_6M__ in guard for checking whether it is defined.
6382         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
6383         __ARM_ARCH_6M__ and add comment to indicate the connection between
6384         this condition and the one in gcc/config/arm/elf.h.
6385         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
6386         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
6387         * config/arm/t-softfp: Likewise.
6389 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
6391         * libgcc2.c (SYMBOL__MAIN): Remove checks for
6392         CTOR_LISTS_DEFINED_EXTERNALLY.
6394 2016-06-28  Walter Lee  <walt@tilera.com>
6396         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
6397         asm/unistd.h.
6398         (SPR_CMPEXCH_VALUE): Define for tilegx.
6399         (__NR_FAST_cmpxchg): Define for tilepro.
6400         (__NR_FAST_atomic_update): Define for tilepro.
6401         (__NR_FAST_cmpxchg64): Define for tilepro.
6403 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
6405         * config.host: Add suport for arm*-*-phoenix* targets.
6407 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
6409         * config.host: Remove support for mep-*.
6410         * config/mep/lib1funcs.S: Remove.
6411         * config/mep/lib2funcs.c: Remove.
6412         * config/mep/t-mep: Remove.
6413         * config/mep/tramp.c: Remove.
6415 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
6417         * config.host: Remove support for avr-rtems.
6418         * config/avr/t-rtems: Remove.
6420 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
6422         * config.host: Remove m32r-rtems support.
6424 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
6426         * config.host: Remove h8300-rtems support.
6428 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
6430         * config.host: Remove support for knetbsd.
6432 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
6434         * config.host: Remove support for openbsd 2 and 3.
6436 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
6438         * config.host: Remove interix support.
6439         * config/i386/t-interix: Remove.
6441 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
6443         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
6444         least-significant bit in function pointer for fixup.
6446 2016-06-05  Aaron Conole  <aconole@redhat.com>
6447             Nathan Sidwell  <nathan@acm.org>
6449         PR libgcc/71400
6450         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
6451         (get_gcov_error_file): Check __gcov_error_file before trying to
6452         initialize it.
6453         (gcov_error): Always use get_gcov_error_file.
6455 2016-06-02  Aaron Conole  <aconole@redhat.com>
6457         * libgcov-driver-system.c (__gcov_error_file): New.
6458         (get_gcov_error_file): New.
6459         (gcov_error): Use and set __gcov_error_file.
6460         (gcov_error_exit): New.
6461         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
6463 2016-05-26  Nathan Sidwell  <nathan@acm.org>
6465         * config/nvptx/free.asm: Delete.
6466         * config/nvptx/malloc.asm: Delete.
6467         * config/nvptx/realloc.c: Delete.
6468         * t-nvptx: Update.
6470 2016-05-25  Nathan Sidwell  <nathan@acm.org>
6472         * config/nvptx/crt0.s: Delete.
6473         * config/nvptx/crt0.c: New.
6474         * t-nvptx: Update.
6476 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
6478         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6479         dw2/seh configuration.
6480         [x86_64-*-mingw*]: Likewise.
6482 2016-05-10  Joel Sherrill <joel@rtems.org>
6484         PR libgcc/70720
6485         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
6486         targets so the same extra_parts are built.  Also have tmake_file add
6487         on to its value rather than override.
6489 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
6491         * config.host: Remove SH5 support.
6492         * configure: Likewise.
6494 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
6496         * config/sh/crt1.S: Remove SH5 support.
6497         * config/sh/crti.S: Likewise.
6498         * config/sh/crtn.S: Likewise.
6499         * config/sh/lib1funcs-4-300.S: Likewise.
6500         * config/sh/lib1funcs-Os-4-200.S: Likewise.
6501         * config/sh/lib1funcs.S: Likewise.
6502         * config/sh/linux-unwind.h: Likewise.
6503         * config/sh/t-sh64: Delete.
6505 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
6507         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
6509 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
6510             Joern Rennecke  <joern.rennecke@embecosm.com>
6512         * config/arc/crttls.S: New file.
6513         * config/arc/t-arc: New rule.
6514         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
6516 2016-04-25  Nick Clifton  <nickc@redhat.com>
6518         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
6519         (__mspabi_cmpd): Likewise.
6520         * config/msp430/floathidf.c (__floathidf): Likewise.
6521         * config/msp430/floathisf.c (__floathisf): Likewise
6522         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
6523         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
6524         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
6525         second parameter.
6526         (__ashrsi3): Likewise.
6528 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
6530         * config/m68k/linux-atomic.c: Do not include unistd.h
6532 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
6534         * config/arm/ieee754-df.S: Fix typos in comments.
6536 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
6538         PR target/70381
6539         * configure.ac (powerpc*-*-linux*): Rework tests to build
6540         __float128 emulation routines to not depend on using #pragma GCC
6541         target to enable -mfloat128.
6542         * configure: Regnerate.
6544 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
6546         PR target/67172
6547         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
6548         __MINGW32__ is defined.
6550 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
6552         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
6554 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
6556         PR libgcc/70363
6557         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
6558         built with an assembler that does not support ISA 3.0
6559         instructions, rename __extendkftf2_sw to __extendkftf2.
6561 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6563         PR target/38239
6564         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
6565         call-clobbered registers.
6566         (internal_mcount): Remove __i386__ handling.
6568 2016-02-26  Joel Sherrill <joel@rtems.org>
6570         * config.host: Add x86_64-*-rtems*.
6572 2016-02-26  Joel Sherrill <joel@rtems.org>
6574         * libgcc/config.host: Add aarch64-*-rtems*.
6576 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6577             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
6579         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
6580         union of u64 and double.
6581         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
6582         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
6583         value.
6584         (FP_ROUNDMODE): Update the usage of _fpscr.
6586 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
6588         PR driver/68463
6589         * Makefile.in (crtoffloadtable$(objext)): New rule.
6590         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
6591         enable_offload_targets is not empty.
6592         * configure: Regenerate.
6593         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
6594         crtoffloadtable.
6596 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
6598         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
6599         .literal_position before the function.
6600         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
6601         Likewise.
6603 2016-02-15  Marcin Kościelnicki  <koriakin@0x04.net>
6605         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
6606         * config/s390/morestack.S: New file.
6607         * config/s390/t-stack-s390: New file.
6608         * generic-morestack.c (__splitstack_find): Add s390-specific code.
6610 2016-02-12  Walter Lee  <walt@tilera.com>
6612         * config.host (tilegx*-*-linux*): remove ti from
6613         softfp_int_modes for 32-bit configs.
6615 2016-02-10  Ian Lance Taylor  <iant@google.com>
6617         PR go/68562
6618         * config/i386/morestack.S (__stack_split_initialize): Align
6619         stack.
6621 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
6623         PR bootstrap/69611
6624         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
6625         __FLOAT128__ to compile only for __float128 capable targets.
6627 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
6629         PR target/69444
6630         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
6631         instead of ___NO_FPRS__.
6633 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
6634             Steven Munroe  <munroesj@linux.vnet.ibm.com>
6635             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
6637         * config/rs6000/float128-sed: New files to convert TF names to KF
6638         names for PowerPC IEEE 128-bit floating point support.
6639         * config/rs6000/float128-sed-hw: Likewise.
6641         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
6642         floating point hardware support.
6644         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6645         128-bit floating point software emulation or use ISA 3.0 hardware
6646         support if it is available.
6648         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6649         floating point.
6651         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
6652         floating point to IBM extended double.
6654         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
6655         double to IEEE 128-bit floating point.
6657         * config/rs6000/t-float128: New Makefile fragments to enable
6658         building __float128 emulation support.
6659         * config/rs6000/t-float128-hw: Likewise.
6661         * config/rs6000/sfp-exceptions.c: New file to provide exception
6662         support for IEEE 128-bit floating point.
6664         * config/rs6000/floattikf.c: New files for converting between IEEE
6665         128-bit floating point and signed/unsigned 128-bit integers.
6666         * config/rs6000/fixunskfti.c: Likewise.
6667         * config/rs6000/fixkfti.c: Likewise.
6668         * config/rs6000/floatuntikf.c: Likewise.
6670         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6671         when building on 64-bit systems, or when VSX is enabled.
6672         (_FP_W_TYPE): Likewise.
6673         (_FP_WS_TYPE): Likewise.
6674         (_FP_I_TYPE): Likewise.
6675         (TItype): Define on 64-bit systems.
6676         (UTItype): Likewise.
6677         (TI_BITS): Likewise.
6678         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6679         (_FP_MUL_MEAT_Q): Likewise.
6680         (_FP_DIV_MEAT_D): Likewise.
6681         (_FP_DIV_MEAT_Q): Likewise.
6682         (_FP_NANFRAC_D): Likewise.
6683         (_FP_NANFRAC_Q): Likewise.
6684         (ISA_BIT): Add exception support if we are being compiled on a
6685         machine with hardware floating point support to build the IEEE
6686         128-bit emulation functions.
6687         (FP_EX_INVALID): Likewise.
6688         (FP_EX_OVERFLOW): Likewise.
6689         (FP_EX_UNDERFLOW): Likewise.
6690         (FP_EX_DIVZERO): Likewise.
6691         (FP_EX_INEXACT): Likewise.
6692         (FP_EX_ALL): Likewise.
6693         (__sfp_handle_exceptions): Likewise.
6694         (FP_HANDLE_EXCEPTIONS): Likewise.
6695         (FP_RND_NEAREST): Likewise.
6696         (FP_RND_ZERO): Likewise.
6697         (FP_RND_PINF): Likewise.
6698         (FP_RND_MINF): Likewise.
6699         (FP_RND_MASK): Likewise.
6700         (_FP_DECL_EX): Likewise.
6701         (FP_INIT_ROUNDMODE): Likewise.
6702         (FP_ROUNDMODE): Likewise.
6704         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6705         VSX code, enable IEEE 128-bit floating point.  If the compiler can
6706         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
6707         floating point hardware instructions and it supports declaring
6708         functions with the ifunc attribute, enable ifunc functions to
6709         switch between software and hardware support.
6710         * configure.ac (powerpc*-*-linux*): Likewise.
6711         * configure: Regenerate.
6713 2016-01-15  Nick Clifton  <nickc@redhat.com>
6715         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
6716         dependency as the source file to be compiled.
6717         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
6718         (lib2hw_mul_f5.o): Likewise.
6720 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
6722         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
6723         * libgcc/config/rs6000/fixkfti.c: Likewise.
6724         * libgcc/config/rs6000/fixunskfti.c: Likewise.
6725         * libgcc/config/rs6000/float128-hw.c: Likewise.
6726         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
6727         * libgcc/config/rs6000/float128-sed: Likewise.
6728         * libgcc/config/rs6000/floattikf.c: Likewise.
6729         * libgcc/config/rs6000/floatuntikf.c: Likewise.
6730         * libgcc/config/rs6000/quad-float128.h: Likewise.
6731         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
6732         * libgcc/config/rs6000/sfp-machine.h: Likewise.
6733         * libgcc/config/rs6000/t-float128: Likewise.
6734         * libgcc/config/rs6000/t-float128-hw: Likewise.
6735         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
6736         * libgcc/config.host: Likewise.
6737         * libgcc/configure: Likewise.
6738         * libgcc/configure.ac: Likewise.
6740 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
6741             Steven Munroe  <munroesj@linux.vnet.ibm.com>
6742             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
6744         * config/rs6000/sfp-exceptions.c: New file to provide exception
6745         support for IEEE 128-bit floating point.
6747         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
6748         floating point hardware support.
6750         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
6751         point conversions.
6752         * config/rs6000/fixunskfti.c: Likewise.
6753         * config/rs6000/fixkfti.c: Likewise.
6754         * config/rs6000/floatuntikf.c: Likewise.
6755         * config/rs6000/extendkftf2-sw.c: Likewise.
6756         * config/rs6000/trunctfkf2-sw.c: Likewise.
6758         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6759         128-bit floating point software emulation or use ISA 3.0 hardware
6760         support if it is available.
6762         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6763         floating point.
6765         * config/rs6000/t-float128: New Makefile fragments to enable
6766         building __float128 emulation support.
6767         * config/rs6000/t-float128-hw: Likewise.
6769         * config/rs6000/float128-sed: New file to convert TF names to KF
6770         names for PowerPC IEEE 128-bit floating point support.
6772         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6773         when building on 64-bit systems, or when VSX is enabled.
6774         (_FP_W_TYPE): Likewise.
6775         (_FP_WS_TYPE): Likewise.
6776         (_FP_I_TYPE): Likewise.
6777         (TItype): Define on 64-bit systems.
6778         (UTItype): Likewise.
6779         (TI_BITS): Likewise.
6780         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6781         (_FP_MUL_MEAT_Q): Likewise.
6782         (_FP_DIV_MEAT_D): Likewise.
6783         (_FP_DIV_MEAT_Q): Likewise.
6784         (_FP_NANFRAC_D): Likewise.
6785         (_FP_NANFRAC_Q): Likewise.
6786         (ISA_BIT): Add exception support if we are being compiled on a
6787         machine with hardware floating point support to build the IEEE
6788         128-bit emulation functions.
6789         (FP_EX_INVALID): Likewise.
6790         (FP_EX_OVERFLOW): Likewise.
6791         (FP_EX_UNDERFLOW): Likewise.
6792         (FP_EX_DIVZERO): Likewise.
6793         (FP_EX_INEXACT): Likewise.
6794         (FP_EX_ALL): Likewise.
6795         (__sfp_handle_exceptions): Likewise.
6796         (FP_HANDLE_EXCEPTIONS): Likewise.
6797         (FP_RND_NEAREST): Likewise.
6798         (FP_RND_ZERO): Likewise.
6799         (FP_RND_PINF): Likewise.
6800         (FP_RND_MINF): Likewise.
6801         (FP_RND_MASK): Likewise.
6802         (_FP_DECL_EX): Likewise.
6803         (FP_INIT_ROUNDMODE): Likewise.
6804         (FP_ROUNDMODE): Likewise.
6806         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
6807         compiler can do __float128.
6808         * configure: Regenerate.
6810         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6811         VSX code, enable IEEE 128-bit floating point.
6813 2016-01-05  Olivier Hainque  <hainque@adacore.com>
6815         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
6816         specificities.
6818 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
6820         Update copyright years.
6822 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
6824         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
6825         soft-fp targets.
6827 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
6829         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
6830         instead of abort to avoid dependency on stdlib.h.
6832 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
6834         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
6835         to initialize call to __dl_fixup once.
6837 2015-12-04  Nick Clifton  <nickc@redhat.com>
6839         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
6840         Allow for the second argument being negative.
6841         * config.host (extra_parts): Define for MSP430.  Create separate
6842         libraries for each of the hardware multiply formats.
6843         * config/msp430/lib2hw_mul.S: Build only the multiply routines
6844         that are needed.
6845         * config/msp430/lib2mul.c: Likewise.
6846         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
6847         Add rules to build hardware multiply libraries.
6848         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
6849         __mspabi_divul function.
6850         (__mspabi_divllu): New stub function.
6852 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
6854         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
6855         fixup values if saved GOT address doesn't match runtime address.
6856         (fixup_branch_offset): Reorder list.
6858 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6860         * Makefile.in (VTV_CFLAGS): New variable.
6861         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
6862         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
6863         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6864         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
6865         to extra_parts if $enable_vtable_verify = yes.
6867 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6869         PR target/68059
6870         * config/arm/linux-atomic-64bit.c (__write): Rename to...
6871         (write): ...this and fix the return type.
6873 2015-11-19  DJ Delorie  <dj@redhat.com>
6875         * config/msp430/lib2hw_mul.S: Fix alignment.
6877 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
6879         * config/nvptx/reduction.c: New.
6880         * config/nvptx/t-nvptx (LIB2ADD): Add it.
6882 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
6884         * config/rs6000/on_exit.c: New file.
6885         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
6886         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
6888 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
6890         * config/arc/dp-hack.h: Add support for ARCHS.
6891         * config/arc/ieee-754/divdf3.S: Likewise.
6892         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6893         * config/arc/ieee-754/muldf3.S: Likewise.
6894         * config/arc/ieee-754/mulsf3.S: Likewise
6895         * config/arc/lib1funcs.S: Likewise
6896         * config/arc/gmon/dcache_linesz.S: Don't read the build register
6897         for ARCv2 cores.
6898         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
6899         for ARCv2 cores.
6900         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
6901         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
6902         cores.
6904 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6906         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
6907         value.
6908         * config/ia64/crtend.S: Likewise.
6910 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
6912         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
6913         __CHAR_BIT__ instead of BITS_PER_UNIT.
6914         * fixed-bit.h: Likewise.
6915         * fp-bit.h: Likewise.
6916         * libgcc2.c (__popcountSI2): Likewise.
6917         (__popcountDI2): Likewise.
6918         * libgcc2.h: Likewise.
6919         * libgcov.h: Likewise.
6921 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
6923         * config/rs6000/atexit.c: New file.
6924         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
6925         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
6926         * config/rs6000/cxa_finalize.c
6927         (catomic_compare_and_exchange_bool_acq): Negate return value.
6929 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
6931         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
6932         (processor_subtypes): Add znver1.
6933         (get_amd_cpu): Detect znver1.
6935 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
6937         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
6938         Include crtfastmath.o.
6940 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
6942         PR libgcc/66883
6943         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
6945 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
6947         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
6948         * config/rl78/divmodsi.S: Update return register to r8.
6949         * config/rl78/divmodhi.S: Update return register to r8,r9.
6950         Branch to main_loop_done_himode to pop registers before return.
6952 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
6954         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
6955         (__cpu_indicator_init): Fix model selection for AMD CPUs.
6957 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
6959         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
6961 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
6963         * config.host (xtensa*-*-uclinux*): New configuration.
6965 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
6967         * config/i386/cpuinfo.c (processor_features): Add
6968         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
6970 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
6972         * soft-fp/adddf3.c: Update from glibc.
6973         * soft-fp/addsf3.c: Likewise.
6974         * soft-fp/addtf3.c: Likewise.
6975         * soft-fp/divdf3.c: Likewise.
6976         * soft-fp/divsf3.c: Likewise.
6977         * soft-fp/divtf3.c: Likewise.
6978         * soft-fp/double.h: Likewise.
6979         * soft-fp/eqdf2.c: Likewise.
6980         * soft-fp/eqsf2.c: Likewise.
6981         * soft-fp/eqtf2.c: Likewise.
6982         * soft-fp/extenddftf2.c: Likewise.
6983         * soft-fp/extended.h: Likewise.
6984         * soft-fp/extendsfdf2.c: Likewise.
6985         * soft-fp/extendsftf2.c: Likewise.
6986         * soft-fp/extendxftf2.c: Likewise.
6987         * soft-fp/fixdfdi.c: Likewise.
6988         * soft-fp/fixdfsi.c: Likewise.
6989         * soft-fp/fixdfti.c: Likewise.
6990         * soft-fp/fixsfdi.c: Likewise.
6991         * soft-fp/fixsfsi.c: Likewise.
6992         * soft-fp/fixsfti.c: Likewise.
6993         * soft-fp/fixtfdi.c: Likewise.
6994         * soft-fp/fixtfsi.c: Likewise.
6995         * soft-fp/fixtfti.c: Likewise.
6996         * soft-fp/fixunsdfdi.c: Likewise.
6997         * soft-fp/fixunsdfsi.c: Likewise.
6998         * soft-fp/fixunsdfti.c: Likewise.
6999         * soft-fp/fixunssfdi.c: Likewise.
7000         * soft-fp/fixunssfsi.c: Likewise.
7001         * soft-fp/fixunssfti.c: Likewise.
7002         * soft-fp/fixunstfdi.c: Likewise.
7003         * soft-fp/fixunstfsi.c: Likewise.
7004         * soft-fp/fixunstfti.c: Likewise.
7005         * soft-fp/floatdidf.c: Likewise.
7006         * soft-fp/floatdisf.c: Likewise.
7007         * soft-fp/floatditf.c: Likewise.
7008         * soft-fp/floatsidf.c: Likewise.
7009         * soft-fp/floatsisf.c: Likewise.
7010         * soft-fp/floatsitf.c: Likewise.
7011         * soft-fp/floattidf.c: Likewise.
7012         * soft-fp/floattisf.c: Likewise.
7013         * soft-fp/floattitf.c: Likewise.
7014         * soft-fp/floatundidf.c: Likewise.
7015         * soft-fp/floatundisf.c: Likewise.
7016         * soft-fp/floatunditf.c: Likewise.
7017         * soft-fp/floatunsidf.c: Likewise.
7018         * soft-fp/floatunsisf.c: Likewise.
7019         * soft-fp/floatunsitf.c: Likewise.
7020         * soft-fp/floatuntidf.c: Likewise.
7021         * soft-fp/floatuntisf.c: Likewise.
7022         * soft-fp/floatuntitf.c: Likewise.
7023         * soft-fp/gedf2.c: Likewise.
7024         * soft-fp/gesf2.c: Likewise.
7025         * soft-fp/getf2.c: Likewise.
7026         * soft-fp/ledf2.c: Likewise.
7027         * soft-fp/lesf2.c: Likewise.
7028         * soft-fp/letf2.c: Likewise.
7029         * soft-fp/muldf3.c: Likewise.
7030         * soft-fp/mulsf3.c: Likewise.
7031         * soft-fp/multf3.c: Likewise.
7032         * soft-fp/negdf2.c: Likewise.
7033         * soft-fp/negsf2.c: Likewise.
7034         * soft-fp/negtf2.c: Likewise.
7035         * soft-fp/op-1.h: Likewise.
7036         * soft-fp/op-2.h: Likewise.
7037         * soft-fp/op-4.h: Likewise.
7038         * soft-fp/op-8.h: Likewise.
7039         * soft-fp/op-common.h: Likewise.
7040         * soft-fp/quad.h: Likewise.
7041         * soft-fp/single.h: Likewise.
7042         * soft-fp/soft-fp.h: Likewise.
7043         * soft-fp/subdf3.c: Likewise.
7044         * soft-fp/subsf3.c: Likewise.
7045         * soft-fp/subtf3.c: Likewise.
7046         * soft-fp/truncdfsf2.c: Likewise.
7047         * soft-fp/trunctfdf2.c: Likewise.
7048         * soft-fp/trunctfsf2.c: Likewise.
7049         * soft-fp/trunctfxf2.c: Likewise.
7050         * soft-fp/unorddf2.c: Likewise.
7051         * soft-fp/unordsf2.c: Likewise.
7052         * soft-fp/unordtf2.c: Likewise.
7054 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
7056         PR libgcc/67624
7057         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
7059 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7061         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
7062         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
7063         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
7064         messages.
7065         (internal_mcount): Likewise.
7066         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
7067         crt_compile, add CRTSTUFF_T_CFLAGS_S.
7069 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7071         * configure.ac (libgcc_cv_solaris_crts): New test.
7072         * configure: Regenerate.
7073         * config.in: Regenerate.
7074         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
7075         * config/gmon-sol2.c: Rename to ...
7076         * config/sol2/gmon.c: ... this.
7077         Include auto-target.h.
7078         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
7079         * config/t-sol2: Rename to ...
7080         * config/sol2/t-sol2: ... this.
7081         (gmon.o): Reflect renaming.
7082         (crtp.o, crtpg.o): New rules.
7083         * config.host (*-*-solaris2*): Reflect renaming.
7084         Use system CRTs if present.
7085         Remove default CRT case.
7087 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
7089         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
7090         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
7091         __kernel_cmpxchg2.
7092         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
7093         (__sync_val_compare_and_swap_##WIDTH): Likewise.
7094         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
7095         (__sync_lock_test_and_set_##WIDTH): Likewise.
7096         (__sync_lock_release_##WIDTH): Likewise.
7097         (__sync_fetch_and_##OP##_4): Change result to match type of
7098         __kernel_cmpxchg.
7099         (__sync_##OP##_and_fetch_4): Likewise.
7100         (__sync_val_compare_and_swap_4): Likewise.
7101         (__sync_bool_compare_and_swap_4): likewise.
7102         (__sync_lock_test_and_set_4): Likewise.
7103         (__sync_lock_release_4): Likewise.
7104         (FETCH_AND_OP_2): Add long long variants.
7105         (OP_AND_FETCH_2): Likewise.
7106         (COMPARE_AND_SWAP_2 ): Likewise.
7107         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
7108         (SYNC_LOCK_RELEASE_2): Likewise.
7109         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
7111 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
7113         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
7114         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
7115         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
7116         (get_available_features): Habdle new features.
7118 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
7120         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
7121         memory layout. Deal correctly with BSS region larger than 32K.
7122         Handle a watchdog reset like a power-on reset. Clean up unused
7123         code.
7125 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
7126             David Edelsohn  <dje.gcc@gmail.com>
7128         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
7129         * config/rs6000/crtdbase.S: New file.
7130         * config/rs6000/t-aix-cxa: Build crtdbase.o.
7132 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
7134         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
7135         Add support for call0 ABI.
7137 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
7139         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
7141 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
7143         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
7144         (__GTHREAD_HAS_COND): Likewise.
7145         (__gthread_t): Likewise.
7146         (__gthread_cond_t): Likewise.
7147         (__gthread_time_t): Likewise.
7148         (__GTHREAD_MUTEX_INIT): Likewise.
7149         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
7150         (__GTHREAD_COND_INIT): Likewise.
7151         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
7152         (__GTHREAD_TIME_INIT): Likewise.
7153         (__gthread_create): Likewise.
7154         (__gthread_join): Likewise.
7155         (__gthread_detach): Likewise.
7156         (__gthread_equal): Likewise.
7157         (__gthread_self): Likewise.
7158         (__gthread_yield): Likewise.
7159         (__gthread_cond_broadcast): Likewise.
7160         (__gthread_cond_signal): Likewise.
7161         (__gthread_cond_wait): Likewise.
7162         (__gthread_cond_timedwait): Likewise.
7163         (__gthread_cond_wait_recursive): Likewise.
7164         (__gthread_cond_destroy): Likewise.
7165         (rtems_gxx_once): Delete.
7166         (rtems_gxx_key_create): Likewise.
7167         (rtems_gxx_key_delete): Likewise.
7168         (rtems_gxx_getspecific): Likewise.
7169         (rtems_gxx_setspecific): Likewise.
7170         (rtems_gxx_mutex_init): Likewise.
7171         (rtems_gxx_mutex_destroy): Likewise.
7172         (rtems_gxx_mutex_lock): Likewise.
7173         (rtems_gxx_mutex_trylock): Likewise.
7174         (rtems_gxx_mutex_unlock): Likewise.
7175         (rtems_gxx_recursive_mutex_init): Likewise.
7176         (rtems_gxx_recursive_mutex_lock): Likewise.
7177         (rtems_gxx_recursive_mutex_trylock): Likewise.
7178         (rtems_gxx_recursive_mutex_unlock): Likewise.
7179         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
7180         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
7181         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
7182         (__gthread_once): Likewise.
7183         (__gthread_key_create): Likewise.
7184         (__gthread_key_delete): Likewise.
7185         (__gthread_getspecific): Likewise.
7186         (__gthread_setspecific): Likewise.
7187         (__gthread_key_t): Use <pthread.h> type.
7188         (__gthread_once_t): Likewise
7189         (__gthread_mutex_t): Use <sys/lock.h> type.
7190         (__gthread_recursive_mutex_t): Likewise
7191         (__gthread_mutex_lock): Use <sys/lock.h> function.
7192         (__gthread_mutex_trylock): Likewise.
7193         (__gthread_mutex_timedlock): Likewise.
7194         (__gthread_mutex_unlock): Likewise.
7195         (__gthread_mutex_destroy): Likewise.
7196         (__gthread_recursive_mutex_lock): Likewise.
7197         (__gthread_recursive_mutex_trylock): Likewise.
7198         (__gthread_recursive_mutex_timedlock): Likewise.
7199         (__gthread_recursive_mutex_unlock): Likewise.
7200         (__gthread_recursive_mutex_destroy): Likewise.
7202 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
7204         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
7205         context->sp instead of context->cfa.
7207 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
7209         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
7210         with unwind-dw2-fde-dip.
7212 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
7214         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
7215         CALL12 followed by series of ENTRY to spill windowed registers.
7216         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
7217         instead of making linux spill syscall.
7219 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
7221         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
7222         (get_intel_cpu): Likewise.
7224 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
7226         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
7227         (get_intel_cpu): Add Knights Landing support.
7229 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
7231         PR target/66954
7232         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
7233         (get_available_features): Handle FEATURE_PCLMUL.
7235 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
7237         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
7238         Broadwell.
7240 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
7242         PR target/66954
7243         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
7244         (get_available_features): Handle FEATURE_AES.
7246 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
7248         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
7249         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
7251 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
7253         * offloadstuff.c: Constify host data.
7255 2015-07-17  Jan Beulich  <jbeulich@suse.com>
7257         * config/t-softfp: Split up "else ifneq".
7259 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
7260             Cesar Philippidis  <cesar@codesourcery.com>
7261             Chung-Lin Tang  <cltang@codesourcery.com>
7263         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
7264         for __nios2_arch__ level.
7266 2015-07-13  John Marino  <gnugcc@marino.st>
7268         * config/i386/t-dragonfly: New.
7270 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
7272         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
7273         better match light-weight syscall argument order.
7274         (__kernel_cmpxchg2): Likewise.
7275         Adjust callers.
7277 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
7279         * config.host: Support i[34567]86-*-elfiamcu target.
7280         * config/t-softfp-sfdftf: New file.
7281         * config/i386/32/t-iamcu: Likewise.
7282         * configure: Regenerated.
7284 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
7286         libgcc/config/arm/
7287         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
7289 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
7291         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
7293 2015-05-27  John Marino  <gnugcc@marino.st>
7295         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
7296         md_unwind_header
7297         * config/i386/freebsd-unwind.h: New.
7299 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
7301         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
7302         i386/t-crtfm to tmake_file.
7303         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
7304         (set_fast_math): Use set_fast_math_sse for SSE targets.
7305         * config/i386/t-crtfm: Remove.
7307 2015-05-21  Alan Modra  <amodra@gmail.com>
7309         PR libgcc/66225
7310         * config/rs6000/morestack.S: Remove ".abiversion 1".
7312 2015-05-20  Alan Modra  <amodra@gmail.com>
7314         * config/rs6000/morestack.S: New.
7315         * config/rs6000/t-stack-rs6000: New.
7316         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
7317         to tmake_file.
7318         * generic-morestack.c: Don't build for powerpc 32-bit.
7320 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
7322         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
7323         Remove useless endif/ifneq ($(enable_shared),yes) pair.
7325 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
7327         * config.host: FT32 target added.
7328         * config/ft32/*: New files for FT32 target.
7330 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
7332         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
7333         New macros.
7334         * config/arm/ieee754-df.S: Add CFI directives.
7335         * config/arm/ieee754-sf.S: Add CFI directives.
7337 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
7339         * configure.ac: Include config/sjlj.m4.
7340         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
7341         * config.in: Regenerate.
7342         * configure: Likewise.
7343         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
7345 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
7347         * libgcov-util.c: Add space between string literal and macro name.
7349 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
7350             Chris Jones  <chrisj@nvidia.com>
7351             Joshua Conner  <jconner@nvidia.com>
7353         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
7354         (arm*-*-uclinux*): Likewise.
7355         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
7356         * config/arm/crtfastmath.c: New file.
7358 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
7360         * Makefile.in (real_host_noncanonical): New variable.
7361         (libsubdir): Use it.
7362         * configure.ac (real_host_noncanonical): Compute.  Remove special
7363         case for intelmicemul.
7364         * configure: Regenerate.
7366 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
7368         * config/frv/elf-lib.h: New file.
7369         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
7370         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
7371         to tm_file.
7373 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
7375         * config/frv/frvbengin.c: Do not include defaults.h
7376         * config/frv/frvend.c: Ditto.
7378 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
7380         * config.host: Add h8300-*-linux
7381         * config/h8300/t-linux: New file.
7382         * config/h8300/lib1funs.s: Change symbol prefix.
7383         * config/h8300/sfp-machine.h: 64bit double support.
7385 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
7386             Szabolcs Nagy  <szabolcs.nagy@arm.com>
7388         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
7389         Linux if target provides dl_iterate_phdr.
7391 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
7393         PR target/65612
7394         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
7395         * config/i386/cpuinfo.c (__cpu_model): Initialize.
7396         (__cpu_indicator_init@GCC_4.8.0): New.
7397         (__cpu_model@GCC_4.8.0): Likewise.
7398         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
7399         -DUSE_ELF_SYMVER.
7401 2015-04-16  Nick Clifton  <nickc@redhat.com>
7403         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
7404         and __modhi3 functions.
7405         * config/rl78/divmodso.S: Add G14 and G13 versions of the
7406         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
7408 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
7410         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
7411         do-while loop as macro body to avoid warnings.
7413 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
7414             Iain Sandoe  <iain@codesourcery.com>
7416         PR target/65351
7417         * configure: Regenerate.
7419 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
7420             Iain Sandoe  <iain@codesourcery.com>
7422         PR target/65351
7423         * configure: Regenerate.
7425 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
7427         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
7429 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
7431         Implement call0 ABI for xtensa
7432         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
7433         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
7434         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
7435         use ret in call0 ABI.
7436         * config/xtensa/t-windowed: New file.
7437         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
7438         * libgcc/configure: Regenerated.
7439         * libgcc/configure.ac: Check if xtensa target is configured for
7440         windowed ABI and thus needs to use custom unwind code.
7442 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
7444         PR libgcc/64885
7445         * gthr-single.h: Use __unused__ attribute instead of unused.
7446         * config/gthr-vxworks.h: Likewise.
7447         * config/i386/gthr-win32.h: Likewise.
7449 2015-02-27  Kai Tietz  <ktietz@redhat.com>
7451         PR target/65038
7452         * config.in: Regenerated.
7453         * configure: Likewise.
7454         * configure.ac (AC_HEADER_STDC): Added explicit.
7455         (AC_CHECK_HEADERS): Check for default headers  plus
7456         for ftw.h header.
7457         * libgcov-util.c (gcov_read_profile_dir): Disable use
7458         of ftw-function, if header is not found.
7459         (ftw_read_file): Likewise.
7461 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
7463         PR target/65181
7464         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
7465         -Dinhibit_libc.
7467 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
7469         * config/arm/bpabi.S (test_div_by_zero): Make label names
7470         consistent between thumb2 and arm mode cases.  Separate the
7471         signed comparison on the high word of the numerator from the
7472         unsigned comparison on the low word.
7473         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
7474         signed comparison.
7476 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7478         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
7479         and <string.h>.
7480         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
7482 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
7484         PR gcov-profile/61889
7485         * libgcov-driver-system.c: undefine clashing macro for mkdir.
7487 2015-02-02  Nick Clifton  <nickc@redhat.com>
7489         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
7490         rounding up the fraction.
7492 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
7494         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
7495         oldval and newval to const void *.  Fix typo.
7496         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
7497         (FETCH_AND_OP_WORD): Likewise.
7498         (OP_AND_FETCH_WORD): Likewise.
7499         (COMPARE_AND_SWAP_2): Likewise.
7500         (__sync_val_compare_and_swap_4): Likewise.
7501         (__sync_lock_test_and_set_4): Likewise.
7502         (SYNC_LOCK_RELEASE_2): Likewise.
7503         Remove support for long long atomic operations.
7505 2015-01-27  Caroline Tice  <cmtice@google.com>
7507         Committing VTV Cywin/Ming patch for Patrick Wollgast
7508         * Makefile.in: Move rules to build vtv_*.o out of the check
7509         for CUSTOM_CRTSTUFF.
7510         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
7511         i[34567]86-*-mingw*)
7512         (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
7513         enable_vtable_verify.
7515 2015-01-27  Nick Clifton  <nickc@redhat.com>
7517         * config/rl78/cmpsi2.S: Use function start and end macros.
7518         (__gcc_bcmp): New function.
7519         * config/rl78/lshrsi3.S: Use function start and end macros.
7520         * config/rl78/mulsi3.S: Add support for G10.
7521         (__mulqi3): New function for G10.
7522         * config/rl78/signbit.S: Use function start and end macros.
7523         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
7524         fpmath-sf.S.
7525         (LIB2FUNCS_EXCLUDE): Define.
7526         (LIB2FUNCS_ST): Define.
7527         * config/rl78/trampoline.S: Use function start and end macros.
7528         * config/rl78/vregs.h (START_FUNC): New macro.
7529         (START_ANOTHER_FUNC): New macro.
7530         (END_FUNC): New macro.
7531         (END_ANOTHER_FUNC): New macro.
7532         * config/rl78/bit-count.S: New file.  Contains assembler
7533         implementations of the bit counting functions: ___clzhi2,
7534         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
7535         __paritysi2, __popcounthi2 and __popcountsi2.
7536         * config/rl78/fpbit-sf.S: New file.  Contains assembler
7537         implementationas of the math functions: __negsf2, __cmpsf2,
7538         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
7539         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
7540         * config/rl78/fpmath-sf.S: New file.  Contains assembler
7541         implementations of the math functions: __subsf3, __addsf3,
7542         __mulsf3 and __divsf3
7544 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7546         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
7547         Add i386/elf-lib.h to tm_file.
7548         * config/i386/elf-lib.h: Fix comment.
7549         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
7550         && __sun__ && __svr4__]: Remove workaround.
7552 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
7554         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
7555         FEATURE_BMI2.
7556         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
7558 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
7560         * config/i386/cpuinfo.c (processor_subtypes): Add
7561         INTEL_COREI7_BROADWELL.
7562         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
7563         model numbers.
7565 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
7567         * config/i386/elf-lib.h: New file.
7568         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
7569         Wrap definition in #ifdef __i386__.
7570         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7571         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
7572         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
7573         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
7574         to tm_file.
7576 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
7578         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
7579         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
7581 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
7583         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
7584         Update rt_sigframe format and address for current Nios II
7585         Linux conventions.
7587 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
7589         * config.host (arm*-*-freebsd*): Add new configuration for
7590         arm*-*-freebsd*.
7591         * config/arm/freebsd-atomic.c: New file.
7592         * config/arm/t-freebsd: Likewise.
7593         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
7594         'PC-relative indirect' OS's.
7596 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
7598         * config.host: Add Visium support.
7599         * config/visium: New directory.
7601 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
7603         Update copyright years.
7605 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
7607         * config.host: Support mipsisa32r6 and mipsisa64r6.
7608         * config/mips/mips16.S: Do not build for R6.
7610 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
7612         * config/sh/crt.h: New.
7613         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
7614         symbols.
7615         * config/sh/crt1.S: Likewise.
7617 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
7619         PR libgcc/63832
7620         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
7621         func_ptr *dtor_list temporary variable to avoid "array subscript
7622         is above array bounds" warnings.
7624 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
7626         * Makefile.in (with_aix_soname): Define.
7627         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
7628         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
7629         * configure: Recreate.
7631 2014-12-05  Olivier Hainque  <hainque@adacore.com>
7633         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
7634         now provided by defaults.h.
7636 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
7638         PR target/55351
7639         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
7640         whether it's defined.
7642 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
7644         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
7645         * config/i386/cpuinfo.c (get_available_features): Detect it.
7647 2014-11-27  Tony Wang  <tony.wang@arm.com>
7649         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
7650         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
7651         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
7653 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
7655         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
7657 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
7659         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
7660         instead.
7662 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
7663             John David Anglin  <danglin@gcc.gnu.org>
7665         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
7666         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
7667         (OP_AND_FETCH_2): Likewise.
7668         (COMPARE_AND_SWAP_2): Likewise.
7669         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
7670         (SYNC_LOCK_RELEASE_2): Likewise.
7671         (SUBWORD_SYNC_OP): Remove.
7672         (SUBWORD_VAL_CAS): Likewise.
7673         (SUBWORD_BOOL_CAS): Likewise.
7674         (FETCH_AND_OP_WORD): Update.
7675         Consistently use signed types.
7677 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
7678             Thomas Schwinge  <thomas@codesourcery.com>
7679             Ilya Verbin  <ilya.verbin@intel.com>
7680             Andrey Turetskiy  <andrey.turetskiy@intel.com>
7682         * Makefile.in (crtoffloadbegin$(objext)): New rule.
7683         (crtoffloadend$(objext)): Likewise.
7684         * configure: Regenerate.
7685         * configure.ac (accel_dir_suffix): Compute new variable.
7686         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
7687         if enable_offload_targets is not empty.
7688         * offloadstuff.c: New file.
7690 2014-11-13  Nick Clifton  <nickc@redhat.com>
7692         * config/rl78/divmodhi.S: Add support for the G10 architecture.
7693         Use START_FUNC and END_FUNC macros to enable linker garbage
7694         collection.
7695         * config/rl78/divmodqi.S: Likewise.
7696         * config/rl78/divmodsi.S: Likewise.
7697         * config/rl78/mulsi3.S: Likewise.
7698         * config/rl78/lib2div.c: Remove G10 functions.
7699         * config/rl78/lib2muls.c: Likewise.
7700         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
7701         * config/rl78/vregs.h (START_FUNC): New macro.
7702         (END_FUNC): New macro.
7704 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
7706         * config/mips/mips16.S: Set .module when supported.  Update O32
7707         FP64 calling convention and use for FPXX when possible.  Add FPXX
7708         calling convention fallback case.
7710 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
7712         * config.host: Handle nvptx-*-*.
7713         * shared-object.mk (as-flags-$o): Define.
7714         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
7715         -xassembler-with-cpp.
7716         * static-object.mk: Identical changes.
7717         * config/nvptx/t-nvptx: New file.
7718         * config/nvptx/crt0.s: New file.
7719         * config/nvptx/free.asm: New file.
7720         * config/nvptx/malloc.asm: New file.
7721         * config/nvptx/realloc.c: New file.
7723 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
7725         * Makefile.in (libgcc.map.in): New target.
7726         (libgcc.map): Use libgcc.map.in.
7727         * config/t-softfp (softfp_compat): New variable to be set by
7728         users.
7729         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
7730         variables.
7731         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
7732         directory.
7733         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
7734         that use compat symbols and disable all code unless [SHARED].
7735         * config/t-softfp-compat: New file.
7736         * find-symver.awk: New file.
7737         * configure.ac (--with-glibc-version): New configure option.
7738         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
7739         * configure: Regenerate.
7740         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
7741         soft-float and e500.
7743 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
7745         * config/t-hardfp (hardfp_exclusions): Document new variable for
7746         user to define.
7747         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
7748         * config/t-softfp (softfp_extras): Document new variable for user
7749         to define.
7750         (softfp_func_list): Add functions from $(softfp_extras).
7751         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
7752         * config.host (powerpc*-*-linux*): For e500v1, use
7753         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
7754         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
7755         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
7757 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
7759         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
7760         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
7761         memory read accesses are ok.
7763 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
7765         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
7766         * configure: Regenerate.
7767         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
7768         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
7769         of soft-fp for 32-bit classic hard float.  Do not use
7770         t-softfp-excl for soft float.
7772 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
7774         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
7775         configurations.
7776         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
7777         Remove variables.
7779 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
7781         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
7782         introduced with 2014-10-21 trunk r216525.
7784 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
7785             Vidya Praveen  <vidya.praveen@atmel.com>
7786             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
7787             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
7788             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
7790         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
7791         order.
7793         Updated library functions for AVRTINY arch.
7794         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
7795         Replaced occurrences of r0/r1 with tmp/zero reg macros.
7796         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
7797         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
7798         wsubi/wadi macors.
7799         (__mulsi3_helper): Update stack, preserve callee saved regs and
7800         argument from stack. Restore callee save registers.
7801         (__mulpsi3): Likewise.
7802         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
7803         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
7804         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
7805         AVRTINY.
7806         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
7807         (__do_copy_data): Added new definition for AVRTINY.
7808         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
7809         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
7810         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
7811         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
7812         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
7813         macors.
7814         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
7815         AVRTINY.
7817         Fix broken long multiplication on tiny arch.
7819 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
7821         * soft-fp/double.h: Update from glibc.
7822         * soft-fp/eqdf2.c: Likewise.
7823         * soft-fp/eqsf2.c: Likewise.
7824         * soft-fp/eqtf2.c: Likewise.
7825         * soft-fp/extenddftf2.c: Likewise.
7826         * soft-fp/extended.h: Likewise.
7827         * soft-fp/extendsfdf2.c: Likewise.
7828         * soft-fp/extendsftf2.c: Likewise.
7829         * soft-fp/extendxftf2.c: Likewise.
7830         * soft-fp/gedf2.c: Likewise.
7831         * soft-fp/gesf2.c: Likewise.
7832         * soft-fp/getf2.c: Likewise.
7833         * soft-fp/ledf2.c: Likewise.
7834         * soft-fp/lesf2.c: Likewise.
7835         * soft-fp/letf2.c: Likewise.
7836         * soft-fp/op-1.h: Likewise.
7837         * soft-fp/op-2.h: Likewise.
7838         * soft-fp/op-4.h: Likewise.
7839         * soft-fp/op-8.h: Likewise.
7840         * soft-fp/op-common.h: Likewise.
7841         * soft-fp/quad.h: Likewise.
7842         * soft-fp/single.h: Likewise.
7843         * soft-fp/soft-fp.h: Likewise.
7844         * soft-fp/unorddf2.c: Likewise.
7845         * soft-fp/unordsf2.c: Likewise.
7846         * soft-fp/unordtf2.c: Likewise.
7847         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
7848         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
7849         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
7850         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
7851         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
7852         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
7853         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
7854         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
7855         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
7856         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
7858 2014-10-08  Rong Xu  <xur@google.com>
7860         * libgcov-util.c (read_gcda_file): Fix format.
7861         (find_match_gcov_info): Ditto.
7862         (calculate_2_entries): New.
7863         (compute_one_gcov): Ditto.
7864         (gcov_info_count_all_cold): Ditto.
7865         (gcov_info_count_all_zero): Ditto.
7866         (extract_file_basename): Ditto.
7867         (get_file_basename): Ditto.
7868         (set_flag): Ditto.
7869         (matched_gcov_info): Ditto.
7870         (calculate_overlap): Ditto.
7871         (gcov_profile_overlap): Ditto.
7872         * libgcov-driver.c (compute_summary): Make
7873         it avavilable for external calls.
7875 2014-10-06  Rong Xu  <xur@google.com>
7877         * Makefile.in: Ditto.
7878         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
7879         (gcov_sort_icall_topn_counter): Ditto.
7880         (gcov_sort_topn_counter_arrays): Ditto.
7881         (dump_one_gcov): Sort indirect_call topn counters.
7882         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
7883         function.
7884         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
7885         utility function.
7886         (__gcov_indirect_call_topn_profiler): New profiler function.
7887         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
7888         * libgcov.h: New decls.
7890 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
7892         * config.host: Remove support for score-*.
7894 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
7896         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7897         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
7898         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
7899         __LIBGCC_XF_MANT_DIG__.
7900         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
7901         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
7902         __LIBGCC_TF_MANT_DIG__.
7903         * libgcc2.c (NOTRUNC): Define in terms of
7904         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
7905         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7907 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
7909         PR target/63312
7910         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
7911         New macros.
7913 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
7915         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
7916         override USE_PT_GNU_EH_FRAME.
7917         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
7918         check USE_EH_FRAME_REGISTRY_ALWAYS against
7919         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
7920         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
7921         variable for substituted force_explicit_eh_registry.
7922         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
7923         * configure.ac (explicit-exception-frame-registration):
7924         New AC_ARG_ENABLE.
7925         * configure: Regenerate.
7927 2014-09-19  Olivier Hainque  <hainque@adacore.com>
7929         * config.host (powerpc-wrs-vxworksmils): New configuration,
7930         same as vxworksae.
7932 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
7934         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
7936 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
7938         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
7939         bits not set bits as indicating trapping exceptions.
7941 2014-09-17  Nathan sidwell  <nathan@acm.org>
7943         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
7944         (LIBGCOV_DRIVER): ... here.
7945         * libgcov-driver.c (gcov_master): New.
7946         (gcov_exit): Remove from master chain.
7947         (__gcov_init): Add to master chain if version compatible.  Don't
7948         clear the version.
7949         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
7950         (gcov_reset_int): Clear master chain, if compatible.
7951         (gcov_dump_int): New internal interface.  Dump master chain, if
7952         compatible.
7953         (gcov_dump): Alias for gcov_dump_int.
7954         * libgcov.h (struct gcov_root): Add next and prev fields.
7955         (struct gcov_master): New struct.
7956         (__gcov_master): New.
7957         (gcov_dump_int): Declare.
7959 2014-09-17  Olivier Hainque  <hainque@adacore.com>
7961         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
7962         and crtbegin.o + crtend.o to extra_parts.
7964 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
7966         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
7967         __LIBGCC_HAS_SF_MODE__.
7968         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7969         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7970         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7971         * config/libbid/bid_gcc_intrinsics.h
7972         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7973         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7974         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7975         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7976         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
7977         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7979 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
7981         PR target/63223
7982         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
7983         and R24 as needed.  Make work for all devices and .text locations.
7984         (__do_global_ctors, __do_global_dtors): Use word addresses.
7985         (__tablejump__, __tablejump_elpm__): Remove functions.
7986         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
7987         Add _tablejump2.
7988         (XICALL, XIJMP): New macros.
7990 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7991         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
7993         * config.host (aarch64*): Include crtfastmath.o and
7994         t-crtfm.
7995         * config/aarch64/crtfastmath.c: New file.
7997 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
7999         * config.host: Remove picochip support.
8000         * config/picochip/adddi3.S: Remove.
8001         * config/picochip/ashlsi3.S: Remove.
8002         * config/picochip/ashlsi3.c: Remove.
8003         * config/picochip/ashrsi3.S: Remove.
8004         * config/picochip/ashrsi3.c: Remove.
8005         * config/picochip/clzsi2.S: Remove.
8006         * config/picochip/cmpsi2.S: Remove.
8007         * config/picochip/divmod15.S: Remove.
8008         * config/picochip/divmodhi4.S: Remove.
8009         * config/picochip/divmodsi4.S: Remove.
8010         * config/picochip/lib1funcs.S: Remove.
8011         * config/picochip/longjmp.S: Remove.
8012         * config/picochip/lshrsi3.S: Remove.
8013         * config/picochip/lshrsi3.c: Remove.
8014         * config/picochip/parityhi2.S: Remove.
8015         * config/picochip/popcounthi2.S: Remove.
8016         * config/picochip/setjmp.S: Remove.
8017         * config/picochip/subdi3.S: Remove.
8018         * config/picochip/t-picochip: Remove.
8019         * config/picochip/ucmpsi2.S: Remove.
8020         * config/picochip/udivmodhi4.S: Remove.
8021         * config/picochip/udivmodsi4.S: Remove.
8023 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
8025         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
8026         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
8027         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
8028         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
8029         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
8030         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
8031         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
8032         defined and LIBGCC2_HAS_DF_MODE is defined.
8033         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
8034         defined and LIBGCC2_HAS_XF_MODE is defined.
8035         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
8036         defined and LIBGCC2_HAS_TF_MODE is defined.
8038 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
8040         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
8041         and ROUND_TOWARDS_ZERO conditionals.
8043 2014-09-07  Nathan sidwell  <nathan@acm.org>
8045         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
8046         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
8048 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
8050         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
8051         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
8052         uses to __LIBGCC_STACK_POINTER_REGNUM__.
8053         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
8054         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
8055         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
8056         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
8057         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
8058         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
8059         (DWARF_FRAME_REGISTERS): Change all uses to
8060         __LIBGCC_DWARF_FRAME_REGISTERS__.
8061         (EH_RETURN_STACKADJ_RTX): Change all uses to
8062         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
8063         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
8064         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
8065         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
8066         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
8067         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
8068         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
8069         to __LIBGCC_EH_FRAME_SECTION_NAME__.
8070         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
8071         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
8072         __LIBGCC_STACK_POINTER_REGNUM__.
8073         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
8074         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
8075         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
8076         to __LIBGCC_STACK_POINTER_REGNUM__.
8077         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
8078         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
8079         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
8080         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
8081         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
8082         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
8083         (STACK_POINTER_REGNUM): Change all uses to
8084         __LIBGCC_STACK_POINTER_REGNUM__.
8085         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
8086         use to __LIBGCC_STACK_POINTER_REGNUM__.
8087         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
8088         uses to __LIBGCC_STACK_POINTER_REGNUM__.
8089         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
8090         to __LIBGCC_DWARF_FRAME_REGISTERS__.
8091         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
8092         to __LIBGCC_DWARF_FRAME_REGISTERS__.
8093         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
8094         to __LIBGCC_STACK_POINTER_REGNUM__.
8095         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
8096         Remove conditional definition.
8097         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
8098         __LIBGCC_TEXT_SECTION_ASM_OP__.
8099         (EH_FRAME_SECTION_NAME): Change all uses to
8100         __LIBGCC_EH_FRAME_SECTION_NAME__.
8101         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
8102         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
8103         (CTORS_SECTION_ASM_OP): Change all uses to
8104         __LIBGCC_CTORS_SECTION_ASM_OP__.
8105         (DTORS_SECTION_ASM_OP): Change all uses to
8106         __LIBGCC_DTORS_SECTION_ASM_OP__.
8107         (JCR_SECTION_NAME): Change all uses to
8108         __LIBGCC_JCR_SECTION_NAME__.
8109         (INIT_SECTION_ASM_OP): Change all uses to
8110         __LIBGCC_INIT_SECTION_ASM_OP__.
8111         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
8112         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
8113         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
8114         __LIBGCC_STACK_GROWS_DOWNWARD__.
8115         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
8116         __LIBGCC_INIT_SECTION_ASM_OP__.
8117         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
8118         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
8119         (EH_FRAME_SECTION_NAME): Change all uses to
8120         __LIBGCC_EH_FRAME_SECTION_NAME__.
8121         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
8122         definitions.  Change all uses to
8123         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
8124         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
8125         __LIBGCC_STACK_GROWS_DOWNWARD__.
8126         (DWARF_FRAME_REGISTERS): Change all uses to
8127         __LIBGCC_DWARF_FRAME_REGISTERS__.
8128         (EH_RETURN_STACKADJ_RTX): Change all uses to
8129         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
8130         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
8131         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
8132         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
8133         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
8134         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
8136 2014-09-02  Nathan sidwell  <nathan@acm.org>
8138         * libgcov-interface.c (STRONG_ALIAS): New.
8139         (__gcov_flush): Call __gcov_reset_int.
8140         (__gcov_reset): Strong alias for ...
8141         (__gcov_reset_ing): ... this renamed hidden version.
8142         * libgcov.h (__gcov_reset_int): New declaration.
8144 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
8146         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
8147         call from here...
8148         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
8149         (__dso_handle): Define on Cygwin.
8150         * config/i386/t-cygming (crtbeginS.o): New rule.
8151         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
8153         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
8154         declaration syntax.
8156 2014-08-13  Steve Ellcey  <sellcey@mips.com>
8158         * crtstuff.c: Undef caddr_t.
8160 2014-08-12  Steve Ellcey  <sellcey@mips.com>
8162         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
8164 2014-08-07  Nathan Sidwell  <nathan@acm.org>
8166         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
8167         (LIBGCOV_DRIVER): ... to here.
8168         * libgcov.h (gcov_do_dump): New #define.
8169         (struct gcov_root): New.
8170         (__gcov_root): New declaration.
8171         (__gcov_dump_one): Declare.
8172         * libgcov-driver.c (gcov_list, gcov_dump_complete,
8173         run_accounted): Delete.
8174         (gcov_compute_histogram): Add LIST argument, adjust.
8175         (compute_summary): Adjust gcov_compute_histogram call.
8176         (gcov_do_dump): Not hidden, static in libgcov.
8177         (gcov_clear): Move  to interface.c.
8178         (__gcov_dump_one): New, broken out of ...
8179         (gcov_exit): ... here.  Make static.
8180         (__gcov_root): New.
8181         (__gcov_init): Adjust.
8182         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
8183         declarations.
8184         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
8185         (gcov_clear): Moved from driver.c.   Add LIST argument.
8186         (__gcov_reset): Adjust for changed interfaces.
8187         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
8189 2014-08-04  Rohit  <rohitarulraj@freescale.com>
8191         PR target/60102
8192         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
8193         based on change in SPE high register numbers and 3 HTM registers.
8195 2014-08-01  Nathan Sidwell  <nathan@acm.org>
8197         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
8198         LIBGCOV_INTERFACE): Reformat.
8199         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
8200         IN_GCOV_TOOL.
8201         * libgcov-interface.c: Reformat some comments.
8202         (__gcov_flush_mx): Add declaration.  Tidy up definition.
8204 2014-07-31  Alan Modra  <amodra@gmail.com>
8205             Peter Bergner  <bergner@vnet.ibm.com>
8207         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
8208         (pack_ldouble): New function.
8209         (__gcc_qadd): Use it.
8210         (__gcc_qmul): Likewise.
8211         (__gcc_qdiv): Likewise.
8212         (__gcc_qneg): Likewise.
8213         (__gcc_stoq): Likewise.
8214         (__gcc_dtoq): Likewise.
8216 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
8218         * config/s390/tpf-unwind.h: Include <stdbool.h>.
8219         (__tpf_eh_return): Add original return address as second parameter.
8220         Handle cases where unwinder routines were called directly, instead
8221         of from within the C++ library.
8223 2014-07-29  Nathan Sidwell  <nathan@acm.org>
8225         * libgcov.h: Move renaming of entry points to lib gcov specific
8226         portion.
8227         (gcov_do_dump): New rename.
8228         (gcov_rewrite): Remove inline, make HIDDEN.
8229         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
8230         (gcov_exit_compute_summary): Rename to ...
8231         (compute_summary): ... here.  Add LIST argument.
8232         (gcov_exit_merge_gcda): Rename to ...
8233         (merge_one_data): ... here.
8234         (gcov_exit_write_gcda): Rename to ...
8235         (write_one_data): ... here.
8236         (gcov_exit_merge_summary): Rename to ...
8237         (merge_summary): Add RUN_COUNTED argument.
8238         (gcov_exit_dump_gcov): Rename to ...
8239         (dump_one_gcov): Add RUN_COUNTED argument.
8240         (gcov_do_dump): New function, broken out of ...
8241         (gcov_exit): ... here.  Call it.
8243 2014-07-27  Anthony Green  <green@moxielogic.com>
8245         * config.host: Add moxiebox configuration suppport.
8247 2014-07-27  Nathan Sidwell  <nathan@acm.org>
8249         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
8250         (struct gcov_filename): ... here.  Include buffer and max length
8251         fields.
8252         (gcov_max_filename): Remove.
8253         (gi_filename): Remove.
8254         (gcov_exit_compute_summary): Compute max filename here.
8255         (gcov_exit_merge_gcda): Add filename parm, adjust.
8256         (gcov_exit_merge_summary): Likewise.
8257         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
8258         (gcov_exit): Likewise.
8259         (__gcov_init): Don't calculate max length here.
8260         * libgcov_util.c (max_filename_len): Remove.
8261         (read_gcda_file): Don't calculate max length here.
8262         (gcov_read_profile_dir): Don't propagate here.
8263         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
8264         struct gcov_filename changes.
8265         (gcov_exit_open_gcda_file): Likewise.
8267 2014-07-25  Nathan Sidwell  <nathan@acm.org>
8269         * libgcov-driver.c (set_gcov_dump_complete,
8270         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
8271         functions polluting user's namespace.
8272         (gcov_exit): Set variable directly.
8273         (gcov_clear): Reset variable directly.
8274         * libgcov-interface.c (get_gcov_dymp_complete,
8275         reset_gov_dump_complete): Remove declarations.
8276         (__gcov_reset, __gcov_dump): Don't call them.
8278 2014-07-24  DJ Delorie  <dj@redhat.com>
8280         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
8281         (__gcc_deregister_frame): Move logic to detect deregister function
8282         to ...
8283         (__gcc_register_frame): here, so it's consistent with the register
8284         logic.
8286 2014-07-23  Nathan Sidwell  <nathan@acm.org>
8288         * libgcov-driver.c (set_gcov_list): Remove.
8289         (gcov_list): Make non-static in GCOV_TOOL.
8290         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
8292 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
8294         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
8295         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
8296         Don't use SYNC_LOCK_RELEASE for int type.
8298 2014-07-14  Richard Biener  <rguenther@suse.de>
8300         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
8302 2014-07-11  Rong Xu  <xur@google.com>
8304         * libgcov-util.c (gcov_max_filename): Fix declartion.
8306 2014-07-10  Rong Xu  <xur@google.com>
8308         Add gcov-tool: an offline gcda profile processing tool
8309         Support.
8310         * libgcov-driver.c (gcov_max_filename): Make available
8311         to gcov-tool.
8312         * libgcov-merge.c (__gcov_merge_add): Replace
8313         gcov_read_counter() with a Macro.
8314         (__gcov_merge_ior): Ditto.
8315         (__gcov_merge_time_profile): Ditto.
8316         (__gcov_merge_single): Ditto.
8317         (__gcov_merge_delta): Ditto.
8318         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
8319         in the utility functions.
8320         (set_fn_ctrs): Utility function for reading gcda files to in-memory
8321         gcov_list object link lists.
8322         (tag_function): Ditto.
8323         (tag_blocks): Ditto.
8324         (tag_arcs): Ditto.
8325         (tag_lines): Ditto.
8326         (tag_counters): Ditto.
8327         (tag_summary): Ditto.
8328         (read_gcda_finalize): Ditto.
8329         (read_gcda_file): Ditto.
8330         (ftw_read_file): Ditto.
8331         (read_profile_dir_init): Ditto.
8332         (gcov_read_profile_dir): Ditto.
8333         (gcov_read_counter_mem): Ditto.
8334         (gcov_get_merge_weight): Ditto.
8335         (merge_wrapper): A wrapper function that calls merging handler.
8336         (gcov_merge): Merge two gcov_info objects with weights.
8337         (find_match_gcov_info): Find the matched gcov_info in the list.
8338         (gcov_profile_merge): Merge two gcov_info object lists.
8339         (__gcov_add_counter_op): Process edge profile counter values.
8340         (__gcov_ior_counter_op): Process IOR profile counter values.
8341         (__gcov_delta_counter_op): Process delta profile counter values.
8342         (__gcov_single_counter_op): Process single  profile counter values.
8343         (fp_scale): Callback function for float-point scaling.
8344         (int_scale): Callback function for integer fraction scaling.
8345         (gcov_profile_scale): Scaling profile counters.
8346         (gcov_profile_normalize): Normalize profile counters.
8347         * libgcov.h: Add headers and functions for gcov-tool use.
8348         (gcov_get_counter): New.
8349         (gcov_get_counter_target): Ditto.
8350         (struct gcov_info): Make the functions field mutable in gcov-tool
8351         compilation.
8353 2014-06-23  Kai Tietz  <ktietz@redhat.com>
8355         PR libgcc/61585
8356         * unwind-seh.c (_Unwind_GetGR): Check for proper
8357         index range.
8358         (_Unwind_SetGR): Likewise.
8360 2014-05-22  Nick Clifton  <nickc@redhat.com>
8362         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
8363         -mhwmult=none.
8365 2014-05-22  Teresa Johnson  <tejohnson@google.com>
8367         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
8368         include.
8370 2014-05-20  John Marino  <gnugcc@marino.st>
8372         * config.host (*-*-dragonfly*): New target.
8373         * crtstuff.c: Make dl_iterate_support generic on *bsd.
8374         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
8375         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
8376         * config/i386/dragonfly-unwind.h: New.
8378 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
8380         PR libgcc/60166
8381         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
8382         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
8384 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
8386         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
8387         implementation.
8389 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
8391         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
8393 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8395         PR libgcc/61097
8396         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
8397         if --enable-shared.
8399 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
8401         Work around for current cygwin32 build problems.
8402         * config/i386/cygming-crtbegin.c (__register_frame_info,
8403         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
8404         functions only for 64-bit systems.
8406 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8408         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
8409         (sigill_caught, sigill_hdlr): Remove.
8411 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8413         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
8414         check.
8415         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8416         Solaris 9 single-threaded support.
8417         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8418         Solaris 9 single-threaded support.  Add call_user_handler code
8419         sequences.
8420         (sparc_is_sighandler): Likewise.
8422 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8424         * config.host: Append t-floattodi to tmake_file depending on
8425         host_address.
8427 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
8429         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
8431 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
8433         PR libgcc/60472
8434         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
8435         variable to avoid "array subscript is above array bounds" warnings.
8436         Use __builtin_expect when checking *jcr_list for NULL.
8438 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8440         PR libgcc/59339
8441         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
8442         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
8443         vtv_*.o to extra_parts if enable_vtable_verify.
8445 2014-03-06  Nick Clifton  <nickc@redhat.com>
8447         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
8448         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
8450 2014-02-28  Joey Ye  <joey.ye@arm.com>
8452         PR libgcc/60166
8453         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
8454         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
8455         Set to zero.
8457 2014-02-24  Walter Lee  <walt@tilera.com>
8459         * config.host: Support "tilegx*" and "tilepro*" triplets.
8460         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
8461         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
8463 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
8464             Chung-Lin Tang  <cltang@codesourcery.com>
8466         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
8467         * config/nios2/crti.S: Remove .file directive.
8468         * config/nios2/crtn.S: Likewise.
8470 2014-02-18  Kai Tietz  <ktietz@redhat.com>
8471         Jonathan Schleifer  <js@webkeks.org>
8473         PR objc/56870
8474         * unwind-seh.c (_GCC_specific_handler): Pass proper
8475         value to unwind-handler.
8477 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
8479         * soft-fp/adddf3.c: Update from glibc.
8480         * soft-fp/addsf3.c: Likewise.
8481         * soft-fp/addtf3.c: Likewise.
8482         * soft-fp/divdf3.c: Likewise.
8483         * soft-fp/divsf3.c: Likewise.
8484         * soft-fp/divtf3.c: Likewise.
8485         * soft-fp/double.h: Likewise.
8486         * soft-fp/eqdf2.c: Likewise.
8487         * soft-fp/eqsf2.c: Likewise.
8488         * soft-fp/eqtf2.c: Likewise.
8489         * soft-fp/extenddftf2.c: Likewise.
8490         * soft-fp/extended.h: Likewise.
8491         * soft-fp/extendsfdf2.c: Likewise.
8492         * soft-fp/extendsftf2.c: Likewise.
8493         * soft-fp/extendxftf2.c: Likewise.
8494         * soft-fp/fixdfdi.c: Likewise.
8495         * soft-fp/fixdfsi.c: Likewise.
8496         * soft-fp/fixdfti.c: Likewise.
8497         * soft-fp/fixsfdi.c: Likewise.
8498         * soft-fp/fixsfsi.c: Likewise.
8499         * soft-fp/fixsfti.c: Likewise.
8500         * soft-fp/fixtfdi.c: Likewise.
8501         * soft-fp/fixtfsi.c: Likewise.
8502         * soft-fp/fixtfti.c: Likewise.
8503         * soft-fp/fixunsdfdi.c: Likewise.
8504         * soft-fp/fixunsdfsi.c: Likewise.
8505         * soft-fp/fixunsdfti.c: Likewise.
8506         * soft-fp/fixunssfdi.c: Likewise.
8507         * soft-fp/fixunssfsi.c: Likewise.
8508         * soft-fp/fixunssfti.c: Likewise.
8509         * soft-fp/fixunstfdi.c: Likewise.
8510         * soft-fp/fixunstfsi.c: Likewise.
8511         * soft-fp/fixunstfti.c: Likewise.
8512         * soft-fp/floatdidf.c: Likewise.
8513         * soft-fp/floatdisf.c: Likewise.
8514         * soft-fp/floatditf.c: Likewise.
8515         * soft-fp/floatsidf.c: Likewise.
8516         * soft-fp/floatsisf.c: Likewise.
8517         * soft-fp/floatsitf.c: Likewise.
8518         * soft-fp/floattidf.c: Likewise.
8519         * soft-fp/floattisf.c: Likewise.
8520         * soft-fp/floattitf.c: Likewise.
8521         * soft-fp/floatundidf.c: Likewise.
8522         * soft-fp/floatundisf.c: Likewise.
8523         * soft-fp/floatunditf.c: Likewise.
8524         * soft-fp/floatunsidf.c: Likewise.
8525         * soft-fp/floatunsisf.c: Likewise.
8526         * soft-fp/floatunsitf.c: Likewise.
8527         * soft-fp/floatuntidf.c: Likewise.
8528         * soft-fp/floatuntisf.c: Likewise.
8529         * soft-fp/floatuntitf.c: Likewise.
8530         * soft-fp/gedf2.c: Likewise.
8531         * soft-fp/gesf2.c: Likewise.
8532         * soft-fp/getf2.c: Likewise.
8533         * soft-fp/ledf2.c: Likewise.
8534         * soft-fp/lesf2.c: Likewise.
8535         * soft-fp/letf2.c: Likewise.
8536         * soft-fp/muldf3.c: Likewise.
8537         * soft-fp/mulsf3.c: Likewise.
8538         * soft-fp/multf3.c: Likewise.
8539         * soft-fp/negdf2.c: Likewise.
8540         * soft-fp/negsf2.c: Likewise.
8541         * soft-fp/negtf2.c: Likewise.
8542         * soft-fp/op-1.h: Likewise.
8543         * soft-fp/op-2.h: Likewise.
8544         * soft-fp/op-4.h: Likewise.
8545         * soft-fp/op-8.h: Likewise.
8546         * soft-fp/op-common.h: Likewise.
8547         * soft-fp/quad.h: Likewise.
8548         * soft-fp/single.h: Likewise.
8549         * soft-fp/soft-fp.h: Likewise.
8550         * soft-fp/subdf3.c: Likewise.
8551         * soft-fp/subsf3.c: Likewise.
8552         * soft-fp/subtf3.c: Likewise.
8553         * soft-fp/truncdfsf2.c: Likewise.
8554         * soft-fp/trunctfdf2.c: Likewise.
8555         * soft-fp/trunctfsf2.c: Likewise.
8556         * soft-fp/trunctfxf2.c: Likewise.
8557         * soft-fp/unorddf2.c: Likewise.
8558         * soft-fp/unordsf2.c: Likewise.
8559         * soft-fp/unordtf2.c: Likewise.
8560         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
8561         macro.
8562         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8563         Likewise.
8564         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8565         Likewise.
8566         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8567         Likewise.
8568         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8569         Likewise.
8570         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8571         Likewise.
8572         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8573         Likewise.
8574         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8575         Likewise.
8576         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8577         Likewise.
8578         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8579         Likewise.
8580         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8581         Likewise.
8582         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8583         Likewise.
8584         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8585         Likewise.
8586         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
8587         Likewise.
8588         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
8589         Likewise.
8590         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8591         Likewise.
8593 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8595         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
8596         cannot be represented.
8597         * config/s390/32/_fixsfdi.c: Likewise.
8598         * config/s390/32/_fixtfdi.c: Likewise.
8599         * config/s390/32/_fixunsdfdi.c: Likewise.
8600         * config/s390/32/_fixunssfdi.c: Likewise.
8601         * config/s390/32/_fixunstfdi.c: Likewise.
8603 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
8605         * configure.ac (libgcc_cv_mips_hard_float): New.
8606         * configure: Regenerate.
8607         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
8608         t-softfp-sfdf for hard-float targets.
8609         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
8610         (softfp_float_modes, softfp_int_modes, softfp_extensions)
8611         (softfp_truncations, softfp_exclude_libgcc2): New.
8612         * config/t-hardfp: New file.
8613         * config/t-hardfp-sfdf: Likewise.
8614         * config/hardfp.c: Likewise.
8616 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8618         * config.host: Include t-floattodi also for s390x.
8619         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
8620         * config/s390/32/_fixsfdi.c: Likewise.
8621         * config/s390/32/_fixtfdi.c: Likewise.
8622         * config/s390/32/_fixunsdfdi.c: Likewise.
8623         * config/s390/32/_fixunssfdi.c: Likewise.
8624         * config/s390/32/_fixunstfdi.c: Likewise.
8626 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8628         PR target/59788
8629         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
8630         (install-libgcc-unwind-map-forbuild): New target.
8631         (all): Depend on install-libgcc-unwind-map-forbuild.
8632         (install-libgcc-unwind-map): New target.
8633         (install): Depend on install-libgcc-unwind-map.
8635 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
8637         * config/nios2/crti.S (_init): Initialize GOT pointer from
8638         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
8640 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
8642         * configure.ac: Check __mips64 when setting host_address.
8643         * configure: Regenerate.
8644         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
8645         mips/t-mips64 and t-softfp.
8646         (mips*-*-linux*): Don't add mips/t-tpbit.
8647         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
8648         (DPBIT, DPBIT_CFLAGS): Delete.
8649         * config/mips/sfp-machine.h: New file.
8650         * config/mips/t-mips64: Likewise.
8651         * config/mips/t-softfp-tf: Likewise.
8652         * config/mips/t-tpbit: Delete.
8654 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8656         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
8657         as long long.
8659 2014-01-25  Walter Lee  <walt@tilera.com>
8661         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
8662         config.h or system.h.
8663         (bool) Define.
8665 2014-01-25  Walter Lee  <walt@tilera.com>
8667         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
8668         (post_atomic_barrier): Ditto.
8669         (__fetch_and_do): New macro.
8670         (__atomic_fetch_and_do): Use __fetch_and_do.
8671         (__sync_fetch_and_do): New macro.
8672         (__sync_fetch_and_add_4): New function.
8673         (__sync_fetch_and_sub_4): New function.
8674         (__sync_fetch_and_or_4): New function.
8675         (__sync_fetch_and_and_4): New function.
8676         (__sync_fetch_and_xor_4): New function.
8677         (__sync_fetch_and_nand_4): New function.
8678         (__sync_fetch_and_add_8): New function.
8679         (__sync_fetch_and_sub_8): New function.
8680         (__sync_fetch_and_or_8): New function.
8681         (__sync_fetch_and_and_8): New function.
8682         (__sync_fetch_and_xor_8): New function.
8683         (__sync_fetch_and_nand_8): New function.
8684         (__do_and_fetch): New macro.
8685         (__atomic_do_and_fetch): Use __do_and_fetch.
8686         (__sync_do_and_fetch): New macro.
8687         (__sync_add_and_fetch_4): New function.
8688         (__sync_sub_and_fetch_4): New function.
8689         (__sync_or_and_fetch_4): New function.
8690         (__sync_and_and_fetch_4): New function.
8691         (__sync_xor_and_fetch_4): New function.
8692         (__sync_nand_and_fetch_4): New function.
8693         (__sync_add_and_fetch_8): New function.
8694         (__sync_sub_and_fetch_8): New function.
8695         (__sync_or_and_fetch_8): New function.
8696         (__sync_and_and_fetch_8): New function.
8697         (__sync_xor_and_fetch_8): New function.
8698         (__sync_nand_and_fetch_8): New function.
8699         (__sync_exchange_methods): New macro.
8700         (__sync_val_compare_and_swap_4): New function.
8701         (__sync_bool_compare_and_swap_4): New function.
8702         (__sync_lock_test_and_test_4): New function.
8703         (__sync_val_compare_and_swap_8): New function.
8704         (__sync_bool_compare_and_swap_8): New function.
8705         (__sync_lock_test_and_test_8): New function.
8706         (__subword_cmpxchg_body): New macro.
8707         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
8708         (__atomic_compare_exchange_2): Ditto.
8709         (__sync_subword_cmpxchg): New macro.
8710         (__sync_val_compare_and_swap_1): New function.
8711         (__sync_bool_compare_and_swap_1): New function.
8712         (__sync_val_compare_and_swap_2): New function.
8713         (__sync_bool_compare_and_swap_2): New function.
8714         (__atomic_subword): Rename to ...
8715         (__subword): ... New name.
8716         (__atomic_subword_fetch): Use __subword.
8717         (__sync_subword_fetch): New macro.
8718         (__sync_fetch_and_add_1): New function.
8719         (__sync_fetch_and_sub_1): New function.
8720         (__sync_fetch_and_or_1): New function.
8721         (__sync_fetch_and_and_1): New function.
8722         (__sync_fetch_and_xor_1): New function.
8723         (__sync_fetch_and_nand_1): New function.
8724         (__sync_fetch_and_add_2): New function.
8725         (__sync_fetch_and_sub_2): New function.
8726         (__sync_fetch_and_or_2): New function.
8727         (__sync_fetch_and_and_2): New function.
8728         (__sync_fetch_and_xor_2): New function.
8729         (__sync_fetch_and_nand_2): New function.
8730         (__sync_add_and_fetch_1): New function.
8731         (__sync_sub_and_fetch_1): New function.
8732         (__sync_or_and_fetch_1): New function.
8733         (__sync_and_and_fetch_1): New function.
8734         (__sync_xor_and_fetch_1): New function.
8735         (__sync_nand_and_fetch_1): New function.
8736         (__sync_add_and_fetch_2): New function.
8737         (__sync_sub_and_fetch_2): New function.
8738         (__sync_or_and_fetch_2): New function.
8739         (__sync_and_and_fetch_2): New function.
8740         (__sync_xor_and_fetch_2): New function.
8741         (__sync_nand_and_fetch_2): New function.
8742         (__atomic_subword_lock): Use __subword.
8743         (__sync_subword_lock): New macro.
8744         (__sync_lock_test_and_set_1): New function.
8745         (__sync_lock_test_and_set_2): New function.
8747 2014-01-25  Walter Lee  <walt@tilera.com>
8749         * config/tilepro/atomic.c (BIT_OFFSET): Define.
8750         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
8751         (__atomic_subword): Ditto.
8753 2014-01-25  Walter Lee  <walt@tilera.com>
8755         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
8756         a prefix op argument.
8757         (__atomic_nand_fetch_4): Add prefix op.
8758         (__atomic_nand_fetch_8): Ditto.
8760 2014-01-21  Baruch Siach  <barch@tkos.co.il>
8762         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
8764 2014-01-09  Rong Xu  <xur@google.com>
8766         * libgcov-driver.c (this_prg): make it local to save
8767         bss space.
8768         (gcov_exit_compute_summary): Ditto.
8769         (gcov_exit_merge_gcda): Ditto.
8770         (gcov_exit_merge_summary): Ditto.
8771         (gcov_exit_dump_gcov): Ditto.
8773 2014-01-08  Rong Xu  <xur@google.com>
8775         * libgcov-driver.c: Use libgcov.h.
8776         (buffer_fn_data): Use xmalloc instead of malloc.
8777         (gcov_exit_merge_gcda): Ditto.
8778         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
8779         * libgcov.h: New common header files for libgcov-*.h.
8780         * libgcov-interface.c: Use libgcov.h
8781         * libgcov-merge.c: Ditto.
8782         * libgcov-profiler.c: Ditto.
8783         * Makefile.in: Add dependence to libgcov.h
8785 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
8787         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
8788         case of small numerator and finite nonzero result.
8790 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
8792         Update copyright years
8794 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
8796         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
8797         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
8798         config/arc/dp-hack.h, config/arc/fp-hack.h,
8799         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
8800         config/arc/ieee-754/arc600-dsp/divdf3.S,
8801         config/arc/ieee-754/arc600-dsp/divsf3.S,
8802         config/arc/ieee-754/arc600-dsp/muldf3.S,
8803         config/arc/ieee-754/arc600-dsp/mulsf3.S,
8804         config/arc/ieee-754/arc600-mul64/divdf3.S,
8805         config/arc/ieee-754/arc600-mul64/divsf3.S,
8806         config/arc/ieee-754/arc600-mul64/muldf3.S,
8807         config/arc/ieee-754/arc600-mul64/mulsf3.S,
8808         config/arc/ieee-754/arc600/divsf3.S,
8809         config/arc/ieee-754/arc600/mulsf3.S,
8810         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
8811         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
8812         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
8813         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
8814         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
8815         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
8816         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
8817         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
8818         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
8819         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
8820         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
8821         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
8822         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
8823         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
8824         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
8825         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
8826         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
8827         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
8828         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
8829         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
8830         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
8831         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
8832         vtv_start_preinit.c: Use the standard form for the copyright notice.
8834 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
8835             Chung-Lin Tang  <cltang@codesourcery.com>
8836         Based on patches from Altera Corporation
8838         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
8839         * config/nios2/lib2-nios2.h: New file.
8840         * config/nios2/lib2-divmod-hi.c: New file.
8841         * config/nios2/linux-unwind.h: New file.
8842         * config/nios2/lib2-divmod.c: New file.
8843         * config/nios2/linux-atomic.c: New file.
8844         * config/nios2/t-nios2: New file.
8845         * config/nios2/crti.asm: New file.
8846         * config/nios2/t-linux: New file.
8847         * config/nios2/lib2-divtable.c: New file.
8848         * config/nios2/lib2-mul.c: New file.
8849         * config/nios2/tramp.c: New file.
8850         * config/nios2/crtn.asm: New file.
8852 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
8854         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
8855         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
8856         from cpuid.h to check vendor signatures.
8858 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
8860         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
8861         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
8862         (get_amd_cpu): Likewise.
8864 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
8866         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
8867         Haswell.
8869 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
8870             H.J. Lu  <hongjiu.lu@intel.com>
8872         PR target/59422
8873         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
8874         and AMD_JAGUAR.
8875         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
8876         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
8877         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
8878         FEATURE_XOP and FEATURE_FMA.
8879         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
8880         AMDFAM15H_BDVER3.
8881         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
8882         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
8883         FEATURE_FMA4 and FEATURE_XOP.
8885 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
8887         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
8888         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
8889         (get_intel_cpu): Updated.
8891 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
8893         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
8895 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
8897         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8898         instructions when __SSE_MATH__ is defined.
8900 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
8902         * config.host (microblaze-*-rtems*): New.
8904 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
8906         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
8907         architectures that do not have hardware divide instruction.
8908         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
8910 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
8912         * longlong.h: Delete (moved to include/).
8914 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8916         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
8917         of normal number and qNaN to not raise an inexact exception.
8919 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
8921         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
8923 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
8925         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
8926         for correct opcodes on BE.
8928 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
8930         * soft-fp/op-4.h: Update from glibc.
8932 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
8934         * libgcc2.c (__udivmoddi4): Define new implementation when
8935         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
8936         divide instructions.
8938 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
8940         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
8942 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8944         * config/t-softfp (soft-fp-objects-base): New variable.
8945         (soft-fp-objects): Use it.
8947 2013-11-23  David Edelson  <dje.gcc@gmail.com>
8948             Andrew Dixie  <andrewd@gentrack.com>
8950         PR target/33704
8951         * config/rs6000/aixinitfini.c: New file.
8952         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
8953         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
8954         symbols.
8956 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
8958         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
8960 2013-11-18  Jan Hubicka  <jh@suse.cz>
8962         * libgcov-driver.c (run_accounted): Make global level static.
8963         (gcov_exit_merge_summary): Silence warning; do not clear
8964         run_accounted here.
8965         (gcov_exit): Clear it here.
8967         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
8968         run_accounted.
8970         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
8971         (all_prg, crc32): Remove static vars.
8972         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
8973         all_prg.
8974         (gcov_exit_merge_gcda): Add crc32 parameter.
8975         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
8976         do not account run if it was already accounted.
8977         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
8978         (gcov_exit): Initialize all_prg; update.
8980 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
8982         * configure: Regenerate.
8984 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8985             Alan Modra  <amodra@gmail.com>
8987         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
8988         (frob_update_context): Use it.
8990 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8991             Alan Modra  <amodra@gmail.com>
8993         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
8994         (trampoline_initial): Provide ELFv2 variant.
8995         (__trampoline_setup): Likewise.
8997         * config/rs6000/linux-unwind.h (frob_update_context): Do not
8998         check for AIX indirect function call sequence if _CALL_ELF == 2.
9000 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9001             Alan Modra  <amodra@gmail.com>
9003         * config/rs6000/linux-unwind.h (get_regs): Do not support
9004         old kernel versions if _CALL_ELF == 2.
9005         (frob_update_context): Do not support PLT stub variants only
9006         generated by old linkers if _CALL_ELF == 2.
9008 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9009             Alan Modra  <amodra@gmail.com>
9011         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
9012         location of CR save area for 64-bit little-endian systems.
9014 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
9016         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
9017         in tmake_file.
9018         * config/arm/t-vxworks: Delete.
9020 2013-11-10  Kai Tietz  <ktietz@redhat.com>
9022         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
9023         Increment load-count on use of LIBGCC_SONAME DLL.
9024         (hmod_libgcc): New static variable to hold handle of
9025         LIBGCC_SONAME DLL.
9026         (__gcc_deregister_frame): Decrement load-count of
9027         LIBGCC_SONAME DLL.
9029 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
9031         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
9032         availability.
9033         * configure: Regenerate
9035 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
9037         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
9038         FP_EX_DENORM.  Store result to volatile location after SSE division
9039         to close interrupt window.  Remove unneeded fwait after x87
9040         division since interrupt window will be closed by emitted fstp.
9041         Rewrite FP_EX_INEXACT handling.
9043 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
9045         * soft-fp/README: Update.
9046         * soft-fp/adddf3.c: Update from glibc.
9047         * soft-fp/addsf3.c: Likewise.
9048         * soft-fp/addtf3.c: Likewise.
9049         * soft-fp/divdf3.c: Likewise.
9050         * soft-fp/divsf3.c: Likewise.
9051         * soft-fp/divtf3.c: Likewise.
9052         * soft-fp/double.h: Likewise.
9053         * soft-fp/eqdf2.c: Likewise.
9054         * soft-fp/eqsf2.c: Likewise.
9055         * soft-fp/eqtf2.c: Likewise.
9056         * soft-fp/extenddftf2.c: Likewise.
9057         * soft-fp/extended.h: Likewise.
9058         * soft-fp/extendsfdf2.c: Likewise.
9059         * soft-fp/extendsftf2.c: Likewise.
9060         * soft-fp/extendxftf2.c: Likewise.
9061         * soft-fp/fixdfdi.c: Likewise.
9062         * soft-fp/fixdfsi.c: Likewise.
9063         * soft-fp/fixdfti.c: Likewise.
9064         * soft-fp/fixsfdi.c: Likewise.
9065         * soft-fp/fixsfsi.c: Likewise.
9066         * soft-fp/fixsfti.c: Likewise.
9067         * soft-fp/fixtfdi.c: Likewise.
9068         * soft-fp/fixtfsi.c: Likewise.
9069         * soft-fp/fixtfti.c: Likewise.
9070         * soft-fp/fixunsdfdi.c: Likewise.
9071         * soft-fp/fixunsdfsi.c: Likewise.
9072         * soft-fp/fixunsdfti.c: Likewise.
9073         * soft-fp/fixunssfdi.c: Likewise.
9074         * soft-fp/fixunssfsi.c: Likewise.
9075         * soft-fp/fixunssfti.c: Likewise.
9076         * soft-fp/fixunstfdi.c: Likewise.
9077         * soft-fp/fixunstfsi.c: Likewise.
9078         * soft-fp/fixunstfti.c: Likewise.
9079         * soft-fp/floatdidf.c: Likewise.
9080         * soft-fp/floatdisf.c: Likewise.
9081         * soft-fp/floatditf.c: Likewise.
9082         * soft-fp/floatsidf.c: Likewise.
9083         * soft-fp/floatsisf.c: Likewise.
9084         * soft-fp/floatsitf.c: Likewise.
9085         * soft-fp/floattidf.c: Likewise.
9086         * soft-fp/floattisf.c: Likewise.
9087         * soft-fp/floattitf.c: Likewise.
9088         * soft-fp/floatundidf.c: Likewise.
9089         * soft-fp/floatundisf.c: Likewise.
9090         * soft-fp/floatunditf.c: Likewise.
9091         * soft-fp/floatunsidf.c: Likewise.
9092         * soft-fp/floatunsisf.c: Likewise.
9093         * soft-fp/floatunsitf.c: Likewise.
9094         * soft-fp/floatuntidf.c: Likewise.
9095         * soft-fp/floatuntisf.c: Likewise.
9096         * soft-fp/floatuntitf.c: Likewise.
9097         * soft-fp/gedf2.c: Likewise.
9098         * soft-fp/gesf2.c: Likewise.
9099         * soft-fp/getf2.c: Likewise.
9100         * soft-fp/ledf2.c: Likewise.
9101         * soft-fp/lesf2.c: Likewise.
9102         * soft-fp/letf2.c: Likewise.
9103         * soft-fp/muldf3.c: Likewise.
9104         * soft-fp/mulsf3.c: Likewise.
9105         * soft-fp/multf3.c: Likewise.
9106         * soft-fp/negdf2.c: Likewise.
9107         * soft-fp/negsf2.c: Likewise.
9108         * soft-fp/negtf2.c: Likewise.
9109         * soft-fp/op-1.h: Likewise.
9110         * soft-fp/op-2.h: Likewise.
9111         * soft-fp/op-4.h: Likewise.
9112         * soft-fp/op-8.h: Likewise.
9113         * soft-fp/op-common.h: Likewise.
9114         * soft-fp/quad.h: Likewise.
9115         * soft-fp/single.h: Likewise.
9116         * soft-fp/soft-fp.h: Likewise.
9117         * soft-fp/subdf3.c: Likewise.
9118         * soft-fp/subsf3.c: Likewise.
9119         * soft-fp/subtf3.c: Likewise.
9120         * soft-fp/truncdfsf2.c: Likewise.
9121         * soft-fp/trunctfdf2.c: Likewise.
9122         * soft-fp/trunctfsf2.c: Likewise.
9123         * soft-fp/trunctfxf2.c: Likewise.
9124         * soft-fp/unorddf2.c: Likewise.
9125         * soft-fp/unordsf2.c: Likewise.
9126         * soft-fp/unordtf2.c: Likewise.
9128 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
9130         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
9131         (_FP_MUL_MEAT_D): Ditto.
9132         (_FP_DIV_MEAT_S): Ditto.
9133         (_FP_DIV_MEAT_D): Ditto.
9134         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
9135         t-softfp-sfdf and t-softfp to tmake_file.
9137 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
9139         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
9140         * config/i386/crtprec.c: Ditto.
9142 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
9143             Shiva Chen  <shiva0217@gmail.com>
9145         * config.host (nds32*-elf*): Add nds32 target.
9146         * config/nds32 : New directory and files.
9148 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
9150         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
9151         * config.host (cpu_type) <Setting default>: Add entry for
9152         crisv32-*-*.
9153         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
9154         <crisv32-*-linux*>: Adjust.
9155         * longlong.h: Wrap the whole CRIS section in a single
9156         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
9157         and sub_ddmmss.
9158         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
9159         defined.
9160         [__CRIS__] (__umulsidi3): Define.
9161         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
9162         * config/cris/sfp-machine.h: New file.
9163         * config/cris/umulsidi3.S: New file.
9164         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
9165         * config/cris/arit.c (SIGNMULT): New macro.
9166         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
9167         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
9168         saving 3 out of originally 33 cycles from the fastest
9169         path, 3 out of 54 from the medium path and one from the longest
9170         path.  Improve comments.
9172 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
9174         * sync.c: Remove static aliases and define each function directly
9175         under its real name.
9177 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
9179         * config.host (hppa*64*-*-linux*): Define extra_parts.
9180         (hppa*-*-linux*): Likewise.
9182 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
9184         * config/arc/crtgend.S: Add 2013 to Copyright years.
9185         * config/arc/gmon/atomic.h: Likewise.
9186         * config/arc/gmon/auxreg.h: Likewise.
9187         * config/arc/gmon/sys/gmon_out.h: Likewise.
9188         * config/arc/gmon/sys/gmon.h: Likewise.
9189         * config/arc/gmon/prof-freq.c: Likewise.
9190         * config/arc/gmon/mcount.c: Likewise.
9191         * config/arc/gmon/prof-freq-stub.S: Likewise.
9192         * config/arc/gmon/gmon.c: Likewise.
9193         * config/arc/gmon/machine-gmon.h: Likewise.
9194         * config/arc/gmon/profil.S: Likewise.
9195         * config/arc/gmon/dcache_linesz.S: Likewise.
9196         * config/arc/crtg.S: Likewise.
9197         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
9198         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
9199         * config/arc/ieee-754/adddf3.S: Likewise.
9200         * config/arc/ieee-754/truncdfsf2.S: Likewise.
9201         * config/arc/ieee-754/fixsfsi.S: Likewise.
9202         * config/arc/ieee-754/gtsf2.S: Likewise.
9203         * config/arc/ieee-754/floatsisf.S: Likewise.
9204         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
9205         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
9206         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
9207         * config/arc/ieee-754/fixdfsi.S: Likewise.
9208         * config/arc/ieee-754/addsf3.S: Likewise.
9209         * config/arc/ieee-754/gesf2.S: Likewise.
9210         * config/arc/ieee-754/floatsidf.S: Likewise.
9211         * config/arc/ieee-754/extendsfdf2.S: Likewise.
9212         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
9213         * config/arc/ieee-754/gtdf2.S: Likewise.
9214         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
9215         * config/arc/ieee-754/uneqdf2.S: Likewise.
9216         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
9217         * config/arc/ieee-754/uneqsf2.S: Likewise.
9218         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
9219         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
9220         * config/arc/ieee-754/eqdf2.S: Likewise.
9221         * config/arc/ieee-754/ordsf2.S: Likewise.
9222         * config/arc/ieee-754/divsf3.S: Likewise.
9223         * config/arc/ieee-754/divdf3.S: Likewise.
9224         * config/arc/ieee-754/floatunsidf.S: Likewise.
9225         * config/arc/ieee-754/orddf2.S: Likewise.
9226         * config/arc/ieee-754/eqsf2.S: Likewise.
9227         * config/arc/ieee-754/gedf2.S: Likewise.
9228         * config/arc/crtn.S: Likewise.
9229         * config/arc/crti.S: Likewise.
9230         * config/arc/t-arc700-uClibc: Likewise.
9231         * config/arc/asm.h: Likewise.
9232         * config/arc/libgcc-excl.ver: Likewise.
9233         * config/arc/t-arc-newlib: Likewise.
9234         * config/arc/divtab-arc700.c: Likewise.
9235         * config/arc/initfini.c: Likewise.
9236         * config/arc/fp-hack.h: Likewise.
9238 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
9239             Diego Novillo  <dnovillo@google.com>
9241         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
9242         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
9243         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
9244         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
9246 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
9247             Brendan Kehoe  <brendan@zen.org>
9248             Simon Cook  <simon.cook@embecosm.com>
9250         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
9251         * config/arc: New directory.
9252         * longlong.h [__arc__] (umul_ppmm): Remove.
9253         [__arc__] (__umulsidi3): Define.
9254         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
9255         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
9257 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
9259         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
9260         CreateSemaphoreA.
9261         * config/i386/gthr-win32.h: Likewise.
9263 2013-09-16  DJ Delorie  <dj@redhat.com>
9265         * config/rl78/vregs.h: Add G10 register definitions.
9266         * config/rl78/lib2mul.c: Enable for RL78/G10.
9267         * config/rl78/lib2div.c: Likewise.
9268         * config/rl78/lshrsi3.S: Use vregs.h.
9269         * config/rl78/cmpsi2.S: Likewise.
9270         * config/rl78/trampoline.S: Likewise.
9271         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
9273 2013-09-14  DJ Delorie  <dj@redhat.com>
9274             Nick Clifton  <nickc@redhat.com>
9276         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
9277         * config/rl78/vregs.h: New.
9278         * config/rl78/signbit.S: New file.  Implements signbit function.
9279         * config/rl78/divmodsi.S: New.
9280         * config/rl78/divmodhi.S: New.
9281         * config/rl78/divmodqi.S: New.
9282         * config/rl78/t-rl78: Build them here...
9283         * config/rl78/lib2div.c: ...but not here.
9285 2013-09-12  DJ Delorie  <dj@redhat.com>
9287         * config.host (msp*-*-elf): New.
9288         * config/msp430/: New port.
9290 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
9292         PR gcov-profile/58127
9293         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
9294         __thread var for emulated TLS.
9295         (__gcov_indirect_call_counters): Likewise.
9297 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
9298             Catherine Moore  <clm@codesourcery.com>
9299             Richard Sandiford  <rdsandiford@googlemail.com>
9301         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
9302         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
9303         (CALL_STUB_NO_RET): Likewise.
9304         (CALL_STUB_RET): Likewise.
9305         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
9306         __mips16_ret call/return stub symbols.
9307         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
9308         to tmake_file.
9310 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
9312         * config.host <mips*-*-linux*>: Remove a stray comment.
9314 2013-08-10  Jan Hubicka  <jh@suse.cz>
9316         Work around binutils PR14342
9317         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
9318         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
9319         (L_gcov_indirect_call_profiler_v2): New.
9321 2013-08-06  Jan Hubicka  <jh@suse.cz>
9323         * libgcov.c (__gcov_indirect_call_callee,
9324         __gcov_indirect_call_counters): New global vars.
9325         (__gcov_indirect_call_profiler): replace by ...
9326         (__gcov_indirect_call_profiler_v2) ... this one.
9328 2013-08-06  Caroline Tice  <cmtice@google.com>
9330         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
9331         vtv_start_preinit.o and vtv_end_preinit.o.
9332         * configure.ac: Add code to check/set enable_vtable_verify.
9333         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
9334         true.
9335         * vtv_start_preinit.c: New file.
9336         * vtv_end_preinit.c: New file.
9337         * vtv_start.c: New file.
9338         * vtv_end.c: New file.
9339         * configure: Regenerated.
9341 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
9343         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
9344         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
9345         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
9346         GPL-3.0-with-GCC-exception.
9348 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
9350         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
9351         ISA and up.
9353 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9355         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
9356         mapping for FPRs when creating the fallback framestate.
9358 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
9360         PR target/57516
9361         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
9362         (__round_s2_const, __round_u2_const)
9363         (__round_s4_const, __round_u4_const, __round_x8):
9364         Saturate result if addition result cannot be represented.
9366 2013-07-15  Matthias Klose  <doko@ubuntu.com>
9368         * libgcc2.c: Don't include <limits.h>.
9370 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
9372         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
9374 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
9376         PR target/29776
9377         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
9379 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
9381         PR middle-end/36041
9382         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
9383         Define.
9384         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
9385         instead of table lookups.
9386         (__popcountDI2): Likewise.
9388 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
9390         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
9391         correctly.
9393 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
9395         PR other/53317
9396         * soft-fp/adddf3.c: Update from glibc.
9397         * soft-fp/addsf3.c: Likewise.
9398         * soft-fp/addtf3.c: Likewise.
9399         * soft-fp/divdf3.c: Likewise.
9400         * soft-fp/divsf3.c: Likewise.
9401         * soft-fp/divtf3.c: Likewise.
9402         * soft-fp/double.h: Likewise.
9403         * soft-fp/eqdf2.c: Likewise.
9404         * soft-fp/eqsf2.c: Likewise.
9405         * soft-fp/eqtf2.c: Likewise.
9406         * soft-fp/extenddftf2.c: Likewise.
9407         * soft-fp/extended.h: Likewise.
9408         * soft-fp/extendsfdf2.c: Likewise.
9409         * soft-fp/extendsftf2.c: Likewise.
9410         * soft-fp/fixdfdi.c: Likewise.
9411         * soft-fp/fixdfsi.c: Likewise.
9412         * soft-fp/fixsfdi.c: Likewise.
9413         * soft-fp/fixsfsi.c: Likewise.
9414         * soft-fp/fixtfdi.c: Likewise.
9415         * soft-fp/fixtfsi.c: Likewise.
9416         * soft-fp/fixunsdfdi.c: Likewise.
9417         * soft-fp/fixunsdfsi.c: Likewise.
9418         * soft-fp/fixunssfdi.c: Likewise.
9419         * soft-fp/fixunssfsi.c: Likewise.
9420         * soft-fp/fixunstfdi.c: Likewise.
9421         * soft-fp/fixunstfsi.c: Likewise.
9422         * soft-fp/floatdidf.c: Likewise.
9423         * soft-fp/floatdisf.c: Likewise.
9424         * soft-fp/floatditf.c: Likewise.
9425         * soft-fp/floatsidf.c: Likewise.
9426         * soft-fp/floatsisf.c: Likewise.
9427         * soft-fp/floatsitf.c: Likewise.
9428         * soft-fp/floatundidf.c: Likewise.
9429         * soft-fp/floatundisf.c: Likewise.
9430         * soft-fp/floatunditf.c: Likewise.
9431         * soft-fp/floatunsidf.c: Likewise.
9432         * soft-fp/floatunsisf.c: Likewise.
9433         * soft-fp/floatunsitf.c: Likewise.
9434         * soft-fp/gedf2.c: Likewise.
9435         * soft-fp/gesf2.c: Likewise.
9436         * soft-fp/getf2.c: Likewise.
9437         * soft-fp/ledf2.c: Likewise.
9438         * soft-fp/lesf2.c: Likewise.
9439         * soft-fp/letf2.c: Likewise.
9440         * soft-fp/muldf3.c: Likewise.
9441         * soft-fp/mulsf3.c: Likewise.
9442         * soft-fp/multf3.c: Likewise.
9443         * soft-fp/negdf2.c: Likewise.
9444         * soft-fp/negsf2.c: Likewise.
9445         * soft-fp/negtf2.c: Likewise.
9446         * soft-fp/op-1.h: Likewise.
9447         * soft-fp/op-2.h: Likewise.
9448         * soft-fp/op-4.h: Likewise.
9449         * soft-fp/op-8.h: Likewise.
9450         * soft-fp/op-common.h: Likewise.
9451         * soft-fp/quad.h: Likewise.
9452         * soft-fp/single.h: Likewise.
9453         * soft-fp/soft-fp.h: Likewise.
9454         * soft-fp/subdf3.c: Likewise.
9455         * soft-fp/subsf3.c: Likewise.
9456         * soft-fp/subtf3.c: Likewise.
9457         * soft-fp/truncdfsf2.c: Likewise.
9458         * soft-fp/trunctfdf2.c: Likewise.
9459         * soft-fp/trunctfsf2.c: Likewise.
9460         * soft-fp/unorddf2.c: Likewise.
9461         * soft-fp/unordsf2.c: Likewise.
9462         * soft-fp/unordtf2.c: Likewise.
9463         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
9464         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9465         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9466         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9467         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9468         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9469         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9470         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9471         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9472         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
9473         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
9474         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9476 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
9478         * config/mips/lib2funcs.c: New file.
9479         * config/mips/t-mips (LIB2ADD_ST): Add it.
9481 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
9483         PR target/6526
9484         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
9485         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
9487 2013-06-08  Walter Lee  <walt@tilera.com>
9489         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
9490         Replace int64_t with long long.  Add __extension__ where
9491         appropriate.
9492         * config/tilepro/atomic.c: Include config.h.
9494 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
9496         * config.host (arm-wrs-vxworks): Configure with other soft float.
9498 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
9500         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
9501         (mips64r5900el-*-elf*): New configurations.
9503 2013-06-04  Alan Modra  <amodra@gmail.com>
9505         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
9507 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
9509         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
9511 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
9513         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
9514         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
9515         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
9517 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
9519         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
9520         (powerpc-wrs-vxworks): Likewise.
9522 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
9524         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
9525         signal frames as well.
9526         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
9527         STACK_BIAS to the CFA offset.
9529 2013-05-17  Richard Henderson  <rth@redhat.com>
9531         PR target/49146
9532         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
9533         (execute_cfa_program): Use it when storing to fs->regs.
9535 2013-05-08  Kai Tietz  <ktietz@redhat.com>
9537         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
9538         (__deregister_frame_info): Likewise.
9540 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
9542         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
9543         NaN's payload.
9545         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
9547 2013-04-25  Alan Modra  <amodra@gmail.com>
9549         * config.host: Match little-endian powerpc-linux.
9551 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
9553         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
9554         as 'unsigned long long' instead of 'unsigned long'.
9555         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
9556         'signed long'.
9558 2013-04-10  Julian Brown  <julian@codesourcery.com>
9560         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
9561         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
9562         unsigned char/unsigned short.
9563         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
9565 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9567         PR other/55274
9568         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
9570 2013-04-04  Meador Inge  <meadori@codesourcery.com>
9572         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
9573         computing the location of the link register.
9574         (aeabi_uldivmod): Ditto.
9576 2013-03-27  Kai Tietz  <ktietz@redhat.com>
9578         * config.host: Add support for cygwin x64 target.
9579         * configure: Regenerated.
9581 2013-03-26  Walter Lee  <walt@tilera.com>
9583         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
9584         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
9586 2013-03-25  Kai Tietz  <ktietz@redhat.com>
9588         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
9590 2013-03-20  Robert Mason  <rbmj@verizon.net>
9592         * config/vxlib-tls.c (__gthread_get_tsd_data,)
9593         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
9594         (__gthread_leave_tsd_dtor_context): Add prototypes.
9595         (tls_delete_hook): Update.
9597 2013-03-20  Catherine Moore  <clm@codesourcery.com>
9598             Joseph Myers  <joseph@codesourcery.com>
9599             Chao-ying Fu  <fu@mips.com>
9601         * config/mips/mips16.S:  Don't build for microMIPS.
9602         * config/mips/linux-unwind.h: Handle microMIPS frame.
9603         * config/mips/crtn.S (fini, init): New labels.
9605 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
9607         PR tree-optimization/53265
9608         * unwind-dw2.c (execute_cfa_program): Avoid
9609         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
9610         on targets with DWARF_FRAME_REGISTERS < 32.
9612 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
9614         PR target/49880
9615         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
9616         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
9618 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
9620         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
9621         sandybridge processors.
9623 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
9625         PR target/56529
9626         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
9627         inclusion list.
9629 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
9631         * config/microblaze/crti.S: Setup stack protection at entry
9633 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
9635         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
9636         (__rotldi3): Shift bytewise if applicable.
9638 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
9640         * config/aarch64/sync-cache.c
9641         (__aarch64_sync_cache_range): Silence warnings.
9643 2013-02-25  Catherine Moore  <clm@codesourcery.com>
9645         Revert:
9646         2013-02-24  Catherine Moore  <clm@codesourcery.com>
9647             Joseph Myers  <joseph@codesourcery.com>
9648             Chao-ying Fu  <fu@mips.com>
9650         * config/mips/mips16.S:  Don't build for microMIPS.
9651         * config/mips/linux-unwind.h: Handle microMIPS frame.
9652         * config/mips/crtn.S (fini, init): New labels.
9654 2013-02-24  Catherine Moore  <clm@codesourcery.com>
9655             Joseph Myers  <joseph@codesourcery.com>
9656             Chao-ying Fu  <fu@mips.com>
9658         * config/mips/mips16.S:  Don't build for microMIPS.
9659         * config/mips/linux-unwind.h: Handle microMIPS frame.
9660         * config/mips/crtn.S (fini, init): New labels.
9662 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
9663         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
9664         as dividend.
9666 2013-02-16  Alan Modra  <amodra@gmail.com>
9668         PR target/55431
9669         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
9670         (ppc_fallback_frame_state): Always set up save locations for fp
9671         and altivec.  Don't bother with non-callee-saved regs, r0-r13
9672         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
9674 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
9676         PR target/54222
9677         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
9678         _ssmulHA, _ssmulSA.
9679         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
9680         _ssmulha3, _usmulusa3, _ssmulsa3.
9681         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
9682         (__muldi3): XCALL __muldi3_6 instead of rcall.
9683         (__umulsidi3, __mulsidi3): New functions.
9684         (do_prologue_saves, do_epilogue_restores): New .macros.
9685         (__divdi3_moddi3): Use them.
9686         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
9687         (__usmulusa3, __ssmulsa3): New functions.
9689 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
9690             Jack Howarth  <howarth@bromo.med.uc.edu>
9691             Patrick Marlier  <patrick.marlier@gmail.com>
9693         PR libitm/55693
9694         * config/darwin-crt-tm.c: Remove dummy functions hack.
9696 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
9698         PR target/54222
9699         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
9700         * config/avr/lib2-object.mk: New iterator to build objects from it.
9701         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
9702         lib2funcs.c.
9703         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
9704         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
9705         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
9706         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
9707         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
9708         * config/avr/lib1funcs-fixed.S: Implement them.
9710 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
9712         Update copyright years.
9714 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
9716         PR target/54601
9717         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
9718         Add crtcxa to extra_parts.
9719         * config/rs6000/exit.h: New file.
9720         * config/rs6000/cxa_atexit.c: New file.
9721         * config/rs6000/cxa_finalize.c: New file.
9722         * config/rs6000/crtcxa.c: New file.
9723         * config/rs6000/t-aix-cxa: New file.
9724         * config/rs6000/libgcc-aix-cxa.ver: New file.
9726 2013-01-31  Nick Clifton  <nickc@redhat.com>
9728         * config/v850/lib1funcs.S: Add support for e3v5 architecture
9729         variant.
9731 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
9733         PR target/54222
9734         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
9735         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
9736         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
9737         _divQQ,  _divHQ,  _divHA,  _divSA,
9738         _divUQQ, _divUHQ, _divUHA, _divUSA.
9740 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
9742         * config.host(microblaze*-linux*): tmake_file: Remove
9743         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
9744         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
9745         to exclude functions from being built with libgcc.c and use
9746         the microblaze assembly.
9748 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
9750         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
9751         extra_parts.
9753 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
9755         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
9756         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
9757         __UINTPTR_TYPE__; also cast 'base' to the same type before the
9758         alignment operation.
9760 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
9762         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
9763         loop start address for cache clearing.
9765 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
9767         * config/avr/lib1funcs.S: Remove trailing blanks.
9768         * config/avr/lib1funcs-fixed.S: Ditto.
9770 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
9772         * config/avr/avr-lib.h: Add GPL copyright notice.
9774 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
9776         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
9777         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
9778         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
9779         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
9781 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
9783         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
9784         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
9786 2013-01-04  Nick Clifton  <nickc@redhat.com>
9788         * config/v850/lib1funcs.S: Only provide CALLT support functions if
9789         the CALLT instruction is supported.
9791 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
9793         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
9794         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
9796 2012-12-13  John Tytgat  <John@bass-software.com>
9798         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
9799         is 25.
9801 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
9803         PR libgcc/55451
9804         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
9805         undefined signed overflows.
9807 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
9809         PR target/55344
9810         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
9812 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
9814         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
9815         (FP_TRAPPING_EXCEPTIONS): Define.
9816         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
9817         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
9819 2012-12-04  Richard Henderson  <rth@redhat.com>
9821         PR bootstrap/55571
9822         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
9824 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9826         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
9827         (FP_EX_SHIFT): Define.
9828         (FP_TRAPPING_EXCEPTIONS): Define.
9830 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9832         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
9833         (FP_ROUNDMODE): Use FP_RND_MASK.
9834         * config/aarch64/sfp-exceptions.c: New.
9835         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9836         Use __sfp_handle_exceptions.
9838 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
9840         * config.host: (arm*-*-freebsd*): Remove.
9841         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
9842         (arm*-*-elf*): Remove.
9843         (arm*-*-wince-pe*): Remove.
9844         * arm/unwind-arm.c (struct fpa_reg): Delete.
9845         (struct fpa_regs): Delete.
9846         (phase1_vrs): Remove fpa element.
9847         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
9848         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
9849         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
9850         * ieee754-sf.S (floatundisf): Remove FPA support.
9851         (floatdisf): Likewise.
9852         * ieee75f-df.S (floatundidf): Likewise.
9853         (floatdidf): Likewise.
9855 2012-11-29  Kai Tietz  <ktietz@redhat.com>
9857         PR target/55445
9858         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
9859         * unwind-generic.h: Likewise.
9860         * unwind-seh.c: Likewise.
9862 2012-11-28  Richard Henderson  <rth@redhat.com>
9864         PR libgcc/48076
9865         * emutls.c (__emutls_get_address): Avoid race condition between
9866         obj->loc.offset read and emutls_key initialization.
9868 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
9870         Adjust decimal point of signed accum mode to GCC default.
9872         PR target/54222
9873         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
9874         _divqq_helper.
9875         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
9876         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
9877         (__mulha3, __mulsa3)
9878         (__divqq3, __divha3, __divsa3): Adjust to new position of
9879         decimal point of signed accum types.
9881         (__mulusa3_round): New function.
9882         (__mulusa3): Use it.
9883         (__divqq_helper): New function.
9884         (__udivuqq3): Use it.
9886 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
9888         PR bootstrap/55370
9889         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
9891 2012-11-18  Teresa Johnson  <tejohnson@google.com>
9893         PR bootstrap/55051
9894         * libgcov.c (gcov_exit): Remove merged program summary
9895         comparison unless !GCOV_LOCKED.
9897 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9899         * soft-fp: Updated from glibc upstream.
9901 2012-11-06  Ian Lance Taylor  <iant@google.com>
9903         * generic-morestack.c (__generic_morestack): Align the returned
9904         stack pointer to a 32 byte boundary.
9905         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
9906         increment the return address until we have decided that we don't
9907         have a varargs function.
9908         (__morestack) [32-bit]: Align stack correctly when calling C
9909         functions.
9910         (__morestack) [64-bit]: Likewise.
9912 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
9914         * configure: Regenerate.
9916 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
9918         PR target/55175
9919         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
9920         * config/i386/sfp-machine.h: Guard exception handling
9921         code with _SOFT_FLOAT.
9922         * config/i386/32/sfp-machine.h: Guard rounding handling
9923         code with _SOFT_FLOAT.
9924         * config/i386/64/sfp-machine.h: Ditto.
9926 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
9928         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
9929         as extra_parts.
9931 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
9933         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
9934         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
9935         when appropriate.  Correct structure element types.
9936         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
9937         -minline-all-stringops from compile flags.
9939 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
9941         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
9943 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
9945         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
9947 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
9949         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
9950         tmake_file.
9952 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
9953             Jim MacArthur  <jim.macarthur@arm.com>
9954             Marcus Shawcroft  <marcus.shawcroft@arm.com>
9955             Nigel Stephens  <nigel.stephens@arm.com>
9956             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
9957             Richard Earnshaw  <rearnsha@arm.com>
9958             Sofiane Naci  <sofiane.naci@arm.com>
9959             Stephen Thomas  <stephen.thomas@arm.com>
9960             Tejas Belagod  <tejas.belagod@arm.com>
9961             Yufeng Zhang  <yufeng.zhang@arm.com>
9963         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
9964         * config/aarch64/crti.S: New file.
9965         * config/aarch64/crtn.S: New file.
9966         * config/aarch64/linux-unwind.h: New file.
9967         * config/aarch64/sfp-machine.h: New file.
9968         * config/aarch64/sync-cache.c: New file.
9969         * config/aarch64/t-aarch64: New file.
9970         * config/aarch64/t-softfp: New file.
9972 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
9974         * config/mmix/crti.S: Mark program and data addresses using PRELD.
9975         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
9976         no-longer-needed LDBU insns.
9978 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
9980         * config.host
9981         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
9982         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
9984 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
9986         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
9988 2012-10-15  Matthias Klose  <doko@ubuntu.com>
9990         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
9992 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
9994         * configure: Regenerate.
9995         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
9997 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
9999         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
10000         instructions for 64bit targets only.
10002 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
10004         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
10005         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
10006         * config/i386/32/sfp-machine.h: ... here.
10007         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
10008         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
10009         New defines.
10011 2012-10-07  Matthias Klose  <doko@ubuntu.com>
10013         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
10014         as unused.
10015         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
10017 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
10019         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
10020         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
10021         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
10022         (ElfW): Likewise.
10024 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
10026         PR other/53889
10027         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
10028         Fix parameter names.
10030 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
10032         PR target/33135
10033         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
10034         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
10035         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
10037 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
10039         PR target/50457
10040         * config/sh/linux-atomic.S: Delete.
10041         * config/sh/linux-atomic.c: New.
10042         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
10043         linux-atomic.c.  Add cflags to disable warnings.
10045 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
10047         PR other/53889
10048         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
10049         function.
10050         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
10051         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
10052         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
10053         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
10054         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
10055         Likewise.
10056         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
10057         Likewise.
10058         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
10059         Likewise.
10060         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
10061         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
10063 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
10065         * config.host (hppa-*-openbsd*): New target.
10066         * config/pa/t-openbsd: New file.
10068 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
10070         PR target/54222
10071         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
10072         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
10073         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
10074         (__divsa3): Use __negsi2 to negate r_quoL.
10075         * config/avr/lib1funcs.S (FALIAS): New macro.
10076         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
10077         (__negsi2): ...this new function.
10078         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
10079         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
10080         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
10081         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
10082         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
10083         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
10085 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
10087         PR target/54089
10088         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
10089         (lshrsi3): Reimplement as lshrsi3_r0.
10091 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
10093         PR target/46191
10094         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
10095         of libgcc.a.
10097 2012-09-07  Teresa Johnson  <tejohnson@google.com>
10099         PR gcov-profile/54487
10100         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
10101         differences.
10103 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
10105         PR target/54461
10106         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
10107         not configured --with-avrlibc=no.
10108         * config/avr/t-avrlibc: New file.
10109         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
10110         (DPBIT_FUNCS): Ditto.
10111         (TPBIT_FUNCS): Ditto.
10113 2012-09-04  Teresa Johnson  <tejohnson@google.com>
10115         * libgcov.c (struct gcov_summary_buffer): New structure.
10116         (gcov_histogram_insert): New function.
10117         (gcov_compute_histogram): Ditto.
10118         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
10119         histograms during summary merging.
10121 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
10123         * config.host (x86_64-*-openbsd*): New target.
10125 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
10127         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
10128         attribute.
10130 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
10132         PR target/54222
10133         * config/avr/t-avr (conv_X): Rename to func_X.
10135 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
10137         PR target/54222
10138         * config/avr/lib1funcs-fixed.S: New file.
10139         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
10140         after they are used.
10141         (neg2, neg4): New macros.
10142         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
10143         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
10144         (__umulhisi3): Speed up MUL variant if there is enough flash.
10145         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
10146         avr-modes.def.
10147         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
10148         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
10149         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
10150         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
10151         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
10152         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
10153         (LIB2FUNCS_EXCLUDE): Add supported functions.
10155 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
10157         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
10158         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
10159         libgcc-s-objects.
10160         * fixed-obj.mk: Only expand dependency if $o is not in
10161         LIB2FUNCS_EXCLUDE.
10163 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
10165         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
10167 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
10169         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
10170         depend on --enable-shared.
10171         ($(lib1asmfuncs-o)): Use %.vis files independent of
10172         --enable-shared.
10173         * static-object.mk ($(base)$(objext), $(base).vis)
10174         ($(base)_s$(objext)): Use same rules for visibility handling as in
10175         shared-object.mk.
10177 2012-08-21  Ian Lance Taylor  <iant@google.com>
10179         * config/i386/morestack.S (__morestack_non_split): Increase amount
10180         of space allocated for non-split code stack.
10182 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
10184         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
10185         even if inhibit_libc.
10187 2012-08-17  Julian Brown  <julian@codesourcery.com>
10189         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
10190         -fexceptions -fnon-call-exceptions if not defined.
10191         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
10192         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
10194 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
10196         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
10197         type.
10199 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
10201         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
10202         rs6000/t-slibgcc-aix.
10204 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
10206         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
10208 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
10210         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
10212 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
10214         PR driver/54171
10215         * Makefile.in (version): Replace top_srcdir with srcdir.
10217 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
10219         * Makefile.in (version): set to BASE-VER file from gcc directory.
10221 2012-08-01  Nick Clifton  <nickc@redhat.com>
10223         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
10224         Implements __clrsb for an HImode argument.
10226 2012-07-31  Nick Clifton  <nickc@redhat.com>
10228         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
10229         Implements __clrsb for an HImode argument.
10230         * config/stormy16/clrsbhi2.c: New file:
10231         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
10233 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
10235         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
10237 2012-07-19  Tristan Gingold  <gingold@adacore.com>
10238             Richard Henderson  <rth@redhat.com>
10240         * unwind-seh.c: New file.
10241         * unwind-generic.h: Include windows.h for SEH.
10242         (_Unwind_Exception): Use 6 private fields for SEH.
10243         (_GCC_specific_handler): Declare.
10244         * unwind-c.c (__gcc_personality_seh0): New function.
10245         Adjust for SEH.
10246         * config/i386/libgcc-cygming.ver: New file.
10247         * config/i386/t-seh-eh: New file.
10248         * config.host (x86_64-*-mingw*): Default to seh.
10250 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
10252         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
10254 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
10256         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
10257         __builtin_expect when checking for exceptions.
10258         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
10260 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
10262         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
10263         function declaration.
10264         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
10265         (FP_RND_MASK): New.
10266         * config/ia64/sfp-exceptions.c: New.
10267         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
10269 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
10271         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
10272         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
10273         * config/i386/64/sfp-machine: ... (delete here) ...
10274         * config/i386/sfp-machine.h: ... to here.
10275         (FP_EX_MASK): Remove.
10276         (FP_RND_MASK): New.
10277         (FP_INIT_ROUNDMODE): Declare asm as volatile.
10279 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
10281         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
10282         * config/i386/libgcc-sol2.ver: Ditto.
10283         * config/i386/libgcc-glibc.ver: Ditto.
10285 2012-06-11  Roland McGrath  <mcgrathr@google.com>
10287         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
10288         If __GLIBC__ is defined, refer to __pthread_key_create instead of
10289         pthread_cancel.
10291 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
10293         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
10294         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
10295         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
10296         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
10297         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
10298         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
10299         * config/i386/64/sfp-machine: ... (delete here) ...
10300         * config/i386/sfp-machine.h: ... to here.
10301         (FP_EX_MASK): New.
10302         (__sfp_handle_exceptions): New function declaration.
10303         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
10304         * config/i386/sfp-exceptions.c: New.
10305         * config/i386/t-softfp: New.
10306         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
10307         i386/t-softfp to tmake_file.
10309 2012-06-03  David S. Miller  <davem@davemloft.net>
10311         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
10312         change.
10314 2012-05-31  David S. Miller  <davem@davemloft.net>
10316         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
10317         multiply and divide instructions on 32-bit when V9.
10318         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
10320 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
10322         * config/arm/ieee754-df.S: Fix typos.
10323         * config/arm/ieee754-sf.S: Fix typos.
10324         * config/c6x/libunwind.S: Fix typos.
10325         * config/epiphany/udivsi3-float.c: Fix typos.
10326         * config/microblaze/muldi3_hard.S: Fix typos.
10327         * config/picochip/adddi3.S: Fix typos.
10328         * config/picochip/ashlsi3.S: Fix typos.
10329         * config/picochip/ashrsi3.S: Fix typos.
10330         * config/picochip/clzsi2.S: Fix typos.
10331         * config/picochip/cmpsi2.S: Fix typos.
10332         * config/picochip/divmod15.S: Fix typos.
10333         * config/picochip/divmodhi4.S: Fix typos.
10334         * config/picochip/divmodsi4.S: Fix typos.
10335         * config/picochip/longjmp.S: Fix typos.
10336         * config/picochip/lshrsi3.S: Fix typos.
10337         * config/picochip/parityhi2.S: Fix typos.
10338         * config/picochip/popcounthi2.S: Fix typos.
10339         * config/picochip/setjmp.S: Fix typos.
10340         * config/picochip/subdi3.S: Fix typos.
10341         * config/picochip/ucmpsi2.S: Fix typos.
10342         * config/picochip/udivmodhi4.S: Fix typos.
10343         * config/picochip/udivmodsi4.S: Fix typos.
10344         * config/spu/divv2df3.c: Fix typos.
10345         * config/spu/mfc_multi_tag_release.c: Fix typos.
10346         * config/spu/mfc_tag_release.c: Fix typos.
10347         * configure.ac: Fix typos.
10348         * configure: Regenerate.
10350 2012-05-25  Ian Lance Taylor  <iant@google.com>
10352         * config/i386/morestack.S (__morestack_non_split): Check whether
10353         caller is varargs and needs %bp to hold the stack frame on return.
10355 2012-05-25  Olivier Hainque  <hainque@adacore.com>
10357         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
10358         sequence in the non pic case on VxWorks.
10360 2012-05-24  Olivier Hainque  <hainque@adacore.com>
10362         * Makefile.in: Move dependency on install-unwind_h from
10363         "install-leaf" to "install".
10365 2012-05-24  Olivier Hainque  <hainque@adacore.com>
10367         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
10368         Use a separate command for stamp removals.
10370 2012-05-21  Andrew Pinski  <apinski@cavium.com>
10372         PR bootstrap/53183
10373         * configure.ac: Define the default includes to being none.
10374         * configure: Regenerate.
10376 2012-05-16  Olivier Hainque  <hainque@adacore.com>
10378         * Makefile.in (install-unwind_h): Rename into ...
10379         (install-unwind_h-forbuild): New target.
10380         (all): Use it instead of the former install-unwind_h.
10381         (install-unwind_h): Reinstate, copy to user install destination
10382         for include files, not to the internal gcc object directory one.
10383         (install-leaf): Depend on it.
10385 2012-05-15  Olivier Hainque  <hainque@adacore.com>
10387         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
10388         register numbers. LR_REGNO replaces R_LR.
10389         (ucontext_for): New, helper for ...
10390         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
10391         and 5.3 of ...
10392         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
10394 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10396         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
10397         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
10398         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
10399         i386/t-cpuinfo ...
10400         (i[34567]86-*-*, x86_64-*-*): ... here.
10402         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
10403         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
10405         * config/i386/i386-cpuinfo.c: Rename to ...
10406         * config/i386/cpuinfo.c: ... this.
10407         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
10409         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
10410         (libgcc_cv_init_priority): New test.
10411         * configure: Regenerate.
10412         * config.in: New file.
10413         * Makefile.in (clean): Rename config.h to auto-target.h.
10414         (config.h): Likewise.
10415         (stamp-h): Likewise.
10417         * config/i386/cpuinfo.c (auto-target.h): Include.
10418         (CONSTRUCTOR_PRIORITY): Define.
10419         (__cpu_indicator_init): Use it.
10421 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
10423         * longlong.h: Use a URL instead of an FSF postal address.
10424         Replace spaces with tab.
10426 2012-05-08  Teresa Johnson  <tejohnson@google.com>
10428         * libgcov.c (gcov_clear, __gcov_reset): New functions.
10429         (__gcov_dump): Ditto.
10430         (gcov_dump_complete): New global variable.
10431         (gcov_exit): Export hidden to enable use in L_gcov_dump.
10432         (__gcov_flush): Outline functionality now in gcov_clear.
10433         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
10435 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
10437         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
10438         (mips*-*-linux*): Include mips/t-tpbit when long double is
10439         16 bytes long.
10441 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
10443         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
10444         (get_available_features): New argument. Check for AVX2.
10445         (__cpu_indicator_init): Modify call to get_available_features.
10447 2012-04-25  Alan Modra  <amodra@gmail.com>
10449         * config/rs6000/crtsavevr.S: New file.
10450         * config/rs6000/crtrestvr.S: New file.
10451         * config/rs6000/t-savresfgpr: Build the above.
10452         * config/rs6000/t-netbsd: Likewise.
10454 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
10456         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
10458 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
10460         * libgcc/config/i386/i386-cpuinfo.c: New file.
10461         * libgcc/config/i386/t-cpuinfo: New file.
10462         * libgcc/config.host: Include t-cpuinfo.
10463         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
10465 2012-04-24  Chao-ying Fu  <fu@mips.com>
10467         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
10469 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
10471         struct siginfo vs. siginfo_t
10473         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
10474         siginfo_t instead of struct siginfo.
10475         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
10476         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
10477         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
10478         (ia64_handle_unwabi): Likewise.
10479         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
10480         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
10481         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
10482         (sh_fallback_frame_state): Likewise.
10483         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
10484         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
10486 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
10488         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
10489         system call number.
10491 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
10493         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
10494         if it hasn't been previously saved.
10496 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
10498         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
10499         only for glibc.
10501 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
10503         PR target/52737
10504         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
10505         instead of __AVR_HAVE_8BIT_SP__.
10507 2012-03-26  Tristan Gingold  <gingold@adacore.com>
10509         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
10510         (unw_table_entry): Use unw_word instead of unsigned long.
10511         (_Unwind_FindTableEntry): Likewise.
10512         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
10513         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
10514         (_Unwind_FindTableEntry): Likewise.
10515         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
10516         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
10517         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
10518         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
10519         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
10520         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
10521         (uw_init_context_1, uw_install_context): Likewise.
10522         (unw_word): Move to unwind-ia64.h
10524 2012-03-26  Tristan Gingold  <gingold@adacore.com>
10526         * config/vms/vms-ucrt0.c: Update copyright years.
10527         Add a sanity check.
10528         (___gcc_main_flags): Declare.
10529         (__main): Check flags to remap argv and exit code.
10530         * config.host (*-*-*vms*): Adjust extra_parts.
10531         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
10532         (crt0.o): Add.
10534 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
10536         * arm/lib1funcs.asm (ctzsi2): New function.
10537         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
10538         * arm/t-linux (LIB1ASMFUNCS): Likewise.
10539         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
10540         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
10541         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
10542         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
10544 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
10546         * config.host: Add bits to support powerpc64-*-freebsd*.
10547         * config/rs6000/freebsd-unwind.h: New file.
10548         * config/rs6000/t-freebsd64: New file.
10550 2012-03-20  Richard Guenther  <rguenther@suse.de>
10552         PR gcov-profile/52627
10553         * libgcov.c (init_mx): Fix mutex name.
10555 2012-03-16  Tristan Gingold  <gingold@adacore.com>
10557         * config/ia64/vms-unwind.h: Remove ulong (and replace
10558         it by unw_reg where used).  Define unw_reg with __int64.
10560 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10562         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
10563         Solaris 8 handling.
10564         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
10565         Solaris 8 handling.
10566         (sparc_is_sighandler): Likewise.
10568 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
10570         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
10571         <= saved reg size.
10573 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10575         * config/arm/crtn.S: Fix typo.
10577 2012-03-13  Richard Guenther  <rguenther@suse.de>
10579         * libgcov.c: Remove stdio.h include and NULL un-define.
10581 2012-03-13  Richard Guenther  <rguenther@suse.de>
10583         PR target/52569
10584         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
10586 2012-03-13  Richard Guenther  <rguenther@suse.de>
10588         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
10590 2012-03-13  Richard Guenther  <rguenther@suse.de>
10592         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
10593         and __gthread_mutex_init_function definitions.
10595 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10597         * config.host (mips*-*-openbsd*): Remove.
10599 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10601         * config.host: Remove alpha*-dec-osf5.1* handling.
10602         * config/alpha/gthr-posix.c: Remove.
10603         * config/alpha/libgcc-osf5.ver: Remove.
10604         * config/alpha/osf5-unwind.h: Remove.
10605         * config/alpha/t-osf-pthread: Remove.
10606         * config/alpha/t-slibgcc-osf: Remove.
10607         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
10608         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
10609         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
10610         * mkmap-flat.awk: Remove osf_export handling.
10612 2012-03-12  Richard Guenther  <rguenther@suse.de>
10614         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
10615         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
10616         (__gthread_mutex_init_function): New function.
10617         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
10619         PR gcov/49484
10620         * libgcov.c: Include gthr.h.
10621         (__gcov_flush_mx): New global variable.
10622         (init_mx, init_mx_once): New functions.
10623         (__gcov_flush): Protect self with a mutex.
10624         (__gcov_fork): Re-initialize mutex after forking.
10625         * unwind-dw2-fde.c: Change condition under which to use
10626         __GTHREAD_MUTEX_INIT_FUNCTION.
10628 2012-03-12  Tristan Gingold  <gingold@adacore.com>
10630         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
10631         * config/ia64/t-vms: Likewise.
10633 2012-03-11  Michael Hope  <michael.hope@linaro.org>
10635         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
10636         for Thumb-2.
10638 2012-03-07  Walter Lee  <walt@tilera.com>
10640         * config/tilepro/atomic.c: Rename "atomic_" prefix to
10641         "arch_atomic_".
10642         (atomic_xor): Rename and move definition to
10643         config/tilepro/atomic.h.
10644         (atomic_nand): Ditto.
10645         * config/tilepro/atomic.h: Rename "atomic_" prefix to
10646         "arch_atomic_".
10647         (arch_atomic_xor): Move from config/tilepro/atomic.c.
10648         (arch_atomic_nand): Ditto.
10650 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
10652         PR target/52507
10653         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
10655 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
10657         PR target/52505
10658         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
10659         from RAM.
10661 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
10663         PR target/52461
10664         PR target/52508
10665         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
10666         if RAMPZ affects reading from RAM.
10667         (__tablejump_elpm__): Ditto.
10668         (.xload): Ditto.
10669         (__movmemx_hi): Ditto.
10670         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
10671         (__do_global_dtors): Ditto.
10672         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
10673         (__movmemx_hi): Ditto.
10675 2012-03-05  Richard Henderson  <rth@redhat.com>
10677         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
10678         [ARM] (count_trailing_zeros): Use the builtin.
10680 2012-03-01  Kai Tietz  <ktietz@redhat.com>
10682         * soft-fp: Imported from glibc upstream.
10684 2012-02-28  Kai Tietz  <ktietz@redhat.com>
10686         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
10687         for mingw-targets as attribute gcc_struct.
10689 2012-02-28  Ian Lance Taylor  <iant@google.com>
10691         * generic-morestack.c (__splitstack_releasecontext): Correct call
10692         to __morestack_release_segments.
10694 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10696         PR target/52390
10697         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
10698         for __linux__ when removing signals from __morestack_fullmask.
10700 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
10702         PR target/52261
10703         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
10705 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10707         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
10708         instead of HAVE_INITFINI_ARRAY.
10709         * config/ia64/crtend.S: Likewise.
10711 2012-02-20  Kai Tietz  <ktietz@redhat.com>
10713         PR libstdc++/52300
10714         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
10716         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
10717         to w32-unwind.h header.
10719 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
10721         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
10722         (mips*-*-linux*): Remove t-slibgcc-libgcc.
10723         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
10724         * config/mips/mips16.S (__mips16_rdhwr): Delete.
10726 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
10728         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
10730 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
10732         PR libitm/52220
10733         * config/darwin-crt-tm.c: Correct typo.
10735 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
10736             Patrick Marlier  <patrick.marlier@gmail.com>
10738         PR libitm/52220
10739         * config/darwin-crt-tm.c: Generate dummy functions.
10741 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
10742             Patrick Marlier  <patrick.marlier@gmail.com>
10744         PR libitm/52042
10745         * config/darwin-crt-tm.c (getTMCloneTable): New function.
10746         (__doTMRegistrations): Call it.
10747         (__doTMdeRegistrations): Likewise.
10749 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
10750             Anatoly Sokolov  <aesok@post.ru>
10751             Eric Weddington  <eric.weddington@atmel.com>
10753         PR target/52261
10754         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
10755         (__epilogue_restores__): Ditto.
10757 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
10759         PR target/51921
10760         PR target/52205
10761         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
10762         Solaris 11 and slightly reformat.
10763         (sparc_is_sighandler): Likewise.
10765 2012-02-14  Walter Lee  <walt@tilera.com>
10767         * config.host: Handle tilegx and tilepro.
10768         * config/tilegx/sfp-machine.h: New file.
10769         * config/tilegx/sfp-machine32.h: New file.
10770         * config/tilegx/sfp-machine64.h: New file.
10771         * config/tilegx/t-crtstuff: New file.
10772         * config/tilegx/t-softfp: New file.
10773         * config/tilegx/t-tilegx: New file.
10774         * config/tilepro/atomic.c: New file.
10775         * config/tilepro/atomic.h: New file.
10776         * config/tilepro/linux-unwind.h: New file.
10777         * config/tilepro/sfp-machine.h: New file.
10778         * config/tilepro/softdivide.c: New file.
10779         * config/tilepro/softmpy.S: New file.
10780         * config/tilepro/t-crtstuff: New file.
10781         * config/tilepro/t-tilepro: New file.
10783 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
10785         PR libstdc++/51296
10786         PR libstdc++/51906
10787         * gthr-posix.h: Allow static initializer macros to be disabled.
10788         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
10790 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
10792         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
10793         Add t-slibgcc-libgcc to tmake_file.
10794         * config/mips/libgcc-mips16.ver: Revert previous patch.
10795         * config/mips/mips16.S (__mips16_rdhwr): Hide.
10797 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
10798             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
10800         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
10801         * config/cr16/crti.S: New file.
10802         * config/cr16/crtlibid.S: New file.
10803         * config/cr16/crtn.S: New file.
10804         * config/cr16/lib1funcs.S: New file.
10805         * config/cr16/t-cr16: New file.
10806         * config/cr16/t-crtlibid: New file.
10807         * config/cr16/unwind-dw2.h: New file.
10808         * config/cr16/unwind-cr16.c: New file.
10809         * config/cr16/divmodhi3.c: New file.
10811 2012-01-25  Alan Modra  <amodra@gmail.com>
10813         * config/rs6000/t-linux64: Delete.  Move..
10814         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
10815         * config/rs6000/t-linux: ..and libgcc flags to here.
10817 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
10819         * config.host (i[34567]86-*-interix3*):
10820         Change triplet to i[34567]86-*-interix[3-9]*.
10821         * configure: Regenerate.
10823 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
10824             Richard Sandiford  <rdsandiford@googlemail.com>
10826         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
10827         * config/mips/mips16.S (__mips16_rdhwr): New function.
10828         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
10830 2012-01-11  Nathan Sidwell  <nathan@acm.org>
10832         * libgcov.c (__gcov_init): Ignore objects with no functions.
10834 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
10836         PR target/49868
10837         Extend __pgmx semantics to linearize memory.
10838         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
10839         * config/avr/lib1funcs.S (__xload_1): New function.
10840         (__movmemx_qi, __movmemx_hi): New functions.
10841         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
10842         semantics.
10844 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
10846         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
10847         purported sigacthandler address isn't null before dereferencing it.
10848         (sparc_is_sighandler): Likewise.
10850 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
10852         PR ada/41929
10853         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
10854         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
10855         (sparc_is_sighandler): Likewise.
10856         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
10858 2012-01-06  Tristan Gingold  <gingold@adacore.com>
10860         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
10861         compatibility thunks...
10862         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
10863         (crtbeginS.o, crtendS.o): ... and these to ...
10864         * config/ia64/t-ia64-elf: ... this new file.
10865         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
10866         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
10868 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10870         * configure: Regenerate.
10871         * config/s390/t-crtstuff: Remove -fPIC.
10873 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
10875         PR bootstrap/51006
10876         * enable-execute-stack-mprotect.c (getpagesize): Do not define
10877         for NetBSD.
10879 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
10881         PR target/51345
10882         * config/avr/lib1funcs.S: Remove FIXME comments.
10883         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
10885 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
10887         Implement light-weight DImode support.
10888         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
10889         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
10890         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
10891         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
10893 2011-12-30  Nathan Sidwell  <nathan@acm.org>
10895         * libgcov.c (gcov_crc32): Remove global var.
10896         (free_fn_data): New function.
10897         (buffer_fn_data): Pass in filename, more robust error recovery.
10898         (crc32_unsigned): New function.
10899         (gcov_exit): More robust detection of new program. More robust
10900         error recovery.
10901         (__gcov_init): Do not update program's crc here.
10903 2011-12-21  Tristan Gingold  <gingold@adacore.com>
10905         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
10907 2011-12-21  Ian Lance Taylor  <iant@google.com>
10909         * config/i386/morestack.S: Simplify CFI opcodes throughout.
10911 2011-12-20  Ian Lance Taylor  <iant@google.com>
10913         * config/i386/morestack.S (__morestack_non_split): If there is
10914         enough stack space already, don't split.  Ask for more stack space
10915         than we required.
10917 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
10919         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
10920         `sys/sdt.h'.
10921         (_Unwind_DebugHook): New function.
10922         (uw_restore_core_regs): New define.
10923         (unwind_phase2): Use uw_restore_core_regs instead of
10924         restore_core_regs.
10925         (unwind_phase2_forced): Likewise.
10926         (__gnu_Unwind_Resume): Likewise.
10928 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
10930         * config/alpha/linux-unwind.h: Update copyright years.
10931         (MD_FROB_UPDATE_CONTEXT): New define.
10932         (alpha_frob_update_context): New function.
10934 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
10936         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
10937         tmake_file rather replacing it.
10939 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
10941         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
10942         function is not used for PPC64.
10943         (save_world): Amend comments.  Update the VRsave mask to reflect the
10944         saved regs.
10945         (rest_world): Update comments, do not  clobber r10, do not use r8.
10946         (eh_rest_world_r10): Amend comments, do not use r8.
10947         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
10948         no longer used, move restore of CR and target address to the end of
10949         the routine.
10951 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
10953         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
10954         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
10956 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
10958         PR target/49313
10959         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
10960         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
10962 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
10964         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
10966 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
10968         PR target/49313
10969         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
10970         * config/avr/lib1funcs.S (__muldi3): New function.
10972 2011-12-06  Andrew Pinski  <apinski@cavium.com>
10974         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
10975         size of func_ptr.
10976         (__frame_dummy_init_array_entry): Likewise.
10978 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
10980         Forward-port from gcc-4_6-branch r181936 2011-12-02.
10982         PR target/51345
10983         PR target/51002
10984         * config/avr/lib1funcs.S (__prologue_saves__,
10985         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
10986         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
10988 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
10990         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
10992 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10994         PR other/51272
10995         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
10996         (_ITM_deregisterTMCloneTable): Likewise.
10997         (__register_frame_info): Fix unused warning.
10998         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
10999         pthread_default_stacksize_np): Likewise.
11000         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
11002 2011-11-29  DJ Delorie  <dj@redhat.com>
11004         * config.host (rl78-*-elf): New case.
11005         * config/rl78: New directory for the Renesas RL78.
11007 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
11009         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
11010         formatting.
11012 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11014         PR other/51022
11015         * config/rs6000/t-savresfgpr: New file.
11016         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
11017         $(srcdir)/config/rs6000/eabi.S.
11018         * config/rs6000/t-ppccomm-ldbl: Remove.
11019         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
11020         tmake_file.
11021         (powerpc-*-eabispe*): Likewise.
11022         (powerpc-*-eabi*): Likewise.
11023         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11024         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
11025         to tmake_file, remove rs6000/t-ppccomm-ldbl.
11026         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
11027         tmake_file.
11028         (powerpc-*-eabisim*): Likewise.
11029         (powerpc-*-elf*): Likewise.
11030         (powerpc-*-eabialtivec*): Likewise.
11031         (powerpc-xilinx-eabi*): Likewise.
11032         (powerpc-*-rtems*): Likewise.
11033         (powerpcle-*-elf*): Likewise.
11034         (powerpcle-*-eabisim*): Likewise.
11035         (powerpcle-*-eabi*): Likewise.
11037 2011-11-27  Ian Lance Taylor  <iant@google.com>
11039         * generic-morestack.c (__splitstack_find): Check for NULL old
11040         stack value.
11041         (__splitstack_resetcontext): New function.
11042         (__splitstack_releasecontext): New function.
11043         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
11045 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
11047         * config/darwin-crt-tm.c: Correct comments, use correct licence.
11049 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
11051         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
11053 2011-11-26  Richard Henderson  <rth@redhat.com>
11055         * config/m68k/linux-atomic.c: New file.
11056         * config/m68k/t-linux: New file.
11057         * config.host (m68k-uclinux, m68k-linux): Use it.
11059 2011-11-26  Richard Henderson  <rth@redhat.com>
11061         * crtstuff.c (__TMC_LIST__): Mark used not unused.
11062         (__TMC_END__): Only declare if hidden is available; in the definition,
11063         if hidden is unavailable add a null record.
11064         (deregister_tm_clones, register_tm_clones): New.
11065         (__do_global_dtors_aux, frame_dummy): Use them.
11066         (__do_global_dtors, __do_global_ctors_1): Likewise.
11068 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
11070         * config/darwin-crt-tm.c: New file.
11071         * config.host (darwin): Build crttms.o crttme.o to provide
11072         startup and shutdown for tm clones.
11073         * config/t-darwin (crttms.o): New build rule.
11074         (crttme.o): Likewise.
11076 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
11078         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
11079         et al.
11081 2011-11-21  Richard Henderson  <rth@redhat.com>
11083         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
11084         (__TMC_LIST__, __TMC_END__): New.
11085         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
11086         (__do_global_dtors): Likewise.
11087         (frame_dummy): Call _ITM_registerTMCloneTable.
11088         (__do_global_ctors_1): Likewise.
11090 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11092         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
11093         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
11094         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
11095         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
11096         * config/i386/t-darwin64: Remove.
11097         * config/sh/t-netbsd (LIB2ADD): Remove.
11099 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
11101         PR target/49313
11102         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
11103         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
11104         * config/avr/lib1funcs.S (wmov): New assembler macro.
11105         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
11106         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
11107         (__udivmod64): New function.
11108         (__negdi2): New function.
11110 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
11112         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
11113         *-*-freebsd*aout*): Remove.
11115 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
11117         * static-object.mk (c_flags-$o): Save c_flags.
11118         ($(base)$(objext)): Use it.
11120 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
11122         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
11124 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
11126         PR target/49868
11127         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
11128         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
11129         New functions.
11131 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
11133         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
11134         functions.
11135         (aeabi_uidivmod): Likewise.
11136         (umodsi3): Likewise.
11137         (divsi3): Likewise.
11138         (aeabi_idivmod): Likewise.
11139         (modsi3): Likewise.
11141 2011-11-16  Tristan Gingold  <gingold@adacore.com>
11143         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
11145 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
11147         PR target/49868
11148         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
11149         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
11151 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
11153         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
11154         tmake_file list.
11155         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
11156         * config/pa/t-stublib64: Delete.
11158 2011-11-12  Richard Henderson  <rth@redhat.com>
11160         * config/rs6000/linux-unwind.h (frob_update_context): Properly
11161         cast the pointer argument to _Unwind_SetGRPtr.
11163 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11165         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
11167 2011-11-09  Ian Lance Taylor  <iant@google.com>
11169         * generic-morestack.c: Include <string.h>.
11170         (uintptr_type): Define.
11171         (struct initial_sp): Add dont_block_signals field.  Reduce size of
11172         extra array by 1.
11173         (allocate_segment): Set prev field to NULL.  Don't set
11174         __morestack_current_segment or __morestack_segments.
11175         (__generic_morestack): Update current->prev and *pp after calling
11176         allocate_segment.
11177         (__morestack_block_signals): Don't do anything if
11178         dont_block_signals is set.
11179         (__morestack_unblock_signals): Likewise.
11180         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
11181         uintptr_type.
11182         (__splitstack_block_signals): New function.
11183         (enum __splitstack_content_offsets): Define.
11184         (__splitstack_getcontext, __splitstack_setcontext): New functions.
11185         (__splitstack_makecontext): New function.
11186         (__splitstack_block_signals_context): New function.
11187         (__splitstack_find_context): New function.
11188         * config/i386/morestack.S (__morestack_get_guard): New function.
11189         (__morestack_set_guard, __morestack_make_guard): New functions.
11190         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
11192 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11194         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
11195         (i[34567]86-*-mingw*): ... here.
11196         (x86_64-*-mingw*): ... here.
11198 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11200         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
11202 2011-11-07  Nathan Sidwell  <nathan@acm.org>
11204         * libgcov.c (struct gcov_fn_buffer): New struct.
11205         (buffer_fn_data): New helper.
11206         (gcov_exit): Rework for new gcov data structures.
11208 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
11210         PR target/49313
11211         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
11213 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11215         * config.host (tmake_file): Correct comment.
11216         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
11217         t-libgcc-pic.
11218         (bfin*-uclinux*): Likewise.
11219         (bfin*-linux-uclibc*): Likewise.
11220         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
11222         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
11223         assigning.
11224         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
11225         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
11226         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
11227         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
11228         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
11229         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
11230         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
11231         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
11232         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
11233         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
11234         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
11235         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
11236         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
11238         * config/bfin/t-elf: Remove.
11239         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
11241 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11243         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
11244         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
11245         (lm32-*-elf*, lm32-*-rtems*): Split into ...
11246         (lm32-*-elf*): ... this.
11247         (lm32-*-rtems*): ... and this.
11248         Add to tmake_file.
11249         (m32r-*-rtems*): Add to tmake_file.
11250         (moxie-*-rtems*): Likewise.
11251         (sparc-*-rtems*): Likewise.
11252         Remove t-rtems from tmake_file.
11253         (sparc64-*-rtems*): Likewise.
11254         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
11255         instead.
11257 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11259         PR bootstrap/50982
11260         * config/gthr-posix.h: Move ...
11261         * gthr-posix.h: ... here.
11262         * config/gthr-lynx.h: Reflect this.
11263         * config/gthr-vxworks.h: Likewise.
11264         * config/rs6000/gthr-aix.h: Likewise.
11265         * configure.ac (target_thread_file): Likewise.
11266         * configure: Regenerate.
11268 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
11270         * config.host (arm*-*-rtemseabi*): New target.
11272 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
11274         PR other/50991
11275         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
11276         extra-parts.
11278 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
11280         * config.host (epiphany-*-elf*): New configuration.
11281         * config/epiphany: New Directory.
11283 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
11285         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
11286         * config/avr/t-rtems: New.
11287         Filter out _exit from LIB1ASMFUNCS.
11289 2011-11-04  David S. Miller  <davem@davemloft.net>
11291         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
11292         * configure: Rebuild.
11294 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11296         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
11297         variable.
11299 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
11301         PR target/50931
11302         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
11303         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
11305 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
11307         PR target/50989
11308         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
11310 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11312         * config/c6x/t-elf (LIB2ADDEH): Set.
11313         * config/c6x/t-c6x-elf: Remove.
11315 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11317         * config/i386/sol2-ci.S: Rename to ...
11318         * config/i386/crti.S: ... this.
11319         * config/i386/sol2-cn.S: Rename to ...
11320         * config/i386/crtn.S: ... this.
11321         * config/sparc/sol2-ci.S: Rename to ...
11322         * config/sparc/crti.S: ... this.
11323         * config/sparc/sol2-cn.S: Rename to ...
11324         * config/sparc/crtn.S: ... this.
11325         * config/t-sol2 (CUSTOM_CRTIN): Remove.
11326         (crti.o, crtn.o): Remove.
11328 2011-11-04  Tristan Gingold  <gingold@adacore.com>
11330         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
11332 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
11334         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
11336 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
11338         * config.host (crisv32-*-none, cris-*-none): Remove.
11339         (crisv32-*-elf): Append to tmake_file, don't just set it.
11340         (cris-*-elf): Add missing t-fdpbit to tmake_file.
11342 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11344         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
11345         (ecrtn$(objext)): Likewise.
11346         (ncrti$(objext)): Likewise.
11347         (ncrtn$(objext)): Likewise.
11349 2011-11-03  Andreas Schwab  <schwab@redhat.com>
11351         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
11353 2011-11-02  David S. Miller  <davem@davemloft.net>
11355         * configure.ac: Set host_address on sparc too.
11356         * configure: Regenerate.
11357         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
11358         based upon host_address.
11359         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
11361 2011-11-02  Jason Merrill  <jason@redhat.com>
11363         * config/rs6000/t-ppccomm: Add missing \.
11365 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11367         * gthr-single.h, gthr.h: New files.
11368         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
11369         config/gthr-vxworks.h, config/i386/gthr-win32.h,
11370         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
11371         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
11372         * config/i386/gthr-win32.c: Include "gthr-win32.h".
11373         * configure.ac (thread_header): New variable.
11374         Set it depending on target_thread_file.
11375         (gthr-default.h): Link from $thread_header.
11376         * configure: Regenerate.
11377         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
11379 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11381         * configure.ac (tm_file_): New variable.
11382         Determine from tm_file.
11383         (tm_file, tm_defines): Substitute.
11384         * configure: Regenerate.
11385         * mkheader.sh: New file.
11386         * Makefile.in (clean): Remove libgcc_tm.h.
11387         ($(objects)): Depend on libgcc_tm.h.
11388         (libgcc_tm_defines, libgcc_tm_file): New variables.
11389         (libgcc_tm.h, libgcc_tm.stamp): New targets.
11390         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
11391         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
11392         ($(extra-parts)): Depend on libgcc_tm.h.
11393         * config.host (tm_defines, tm_file): New variable.
11394         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
11395         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
11396         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
11397         (avr-*-rtems*): Likewise.
11398         (avr-*-*): Likewise.
11399         (frv-*-elf): Likewise.
11400         (frv-*-*linux*): Likewise.
11401         (h8300-*-rtems*): Likewise.
11402         (h8300-*-elf*): Likewise.
11403         (i[34567]86-*-darwin*): Likewise.
11404         (x86_64-*-darwin*): Likewise.
11405         (rx-*-elf): Likewise.
11406         (tic6x-*-uclinux): Likewise.
11407         (tic6x-*-elf): Likewise.
11408         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
11409         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
11410         * config/i386/cygming-crtbegin.c: Likewise.
11411         * config/i386/cygming-crtend.c: Likewise.
11412         * config/ia64/fde-vms.c: Likewise.
11413         * config/ia64/unwind-ia64.c: Likewise.
11414         * config/libbid/bid_gcc_intrinsics.h: Likewise.
11415         * config/rs6000/darwin-fallback.c: Likewise.
11416         * config/stormy16/lib2funcs.c: Likewise.
11417         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
11418         * crtstuff.c: Likewise.
11419         * dfp-bit.h: Likewise.
11420         * emutls.c: Likewise.
11421         * fixed-bit.c: Likewise.
11422         * fp-bit.c: Likewise.
11423         * generic-morestack-thread.c: Likewise.
11424         * generic-morestack.c: Likewise.
11425         * libgcc2.c: Likewise.
11426         * libgcov.c: Likewise.
11427         * unwind-dw2-fde-dip.c: Likewise.
11428         * unwind-dw2-fde.c: Likewise.
11429         * unwind-dw2.c: Likewise.
11430         * unwind-sjlj.c: Likewise.
11432 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11434         * configure.ac: Include ../config/picflag.m4.
11435         (GCC_PICFLAG): Call it.
11436         Substitute.
11437         * configure: Regenerate.
11438         * Makefile.in (gcc_srcdir): Remove.
11439         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
11440         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
11441         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
11442         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
11443         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
11444         Use $<.
11445         Remove comment.
11446         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
11447         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
11448         to refer to libgcc2.c.
11449         Use $<.
11450         * config/darwin-64.c: New file.
11451         * config/darwin-crt3.c: Remove comment.
11452         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
11453         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
11454         config/udivmodsi4.c: New files.
11455         * config/memcmp.c, config/memcpy.c, config/memmove.c,
11456         config/memset.c: New files.
11457         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
11458         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
11459         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
11460         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
11461         * config/t-openbsd-thread: New file.
11462         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
11463         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
11464         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
11465         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
11466         qrnnd.S.
11467         Adapt filename.
11468         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
11469         to refer to gthr-posix.c.
11470         * config/alpha/t-vms (LIB2ADD): Set.
11471         * config/alpha/vms-gcc_shell_handler.c: New file.
11472         * config/arm/bpabi.c, config/arm/fp16.c,
11473         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
11474         config/arm/unaligned-funcs.c: New files.
11475         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
11476         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
11477         * config/arm/t-linux: Likewise.
11478         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
11479         * config/arm/t-netbsd: New file.
11480         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
11481         * config/arm/t-symbian (LIB2ADD_ST): Set.
11482         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
11483         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11484         * config/bfin/t-elf: New file.
11485         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
11486         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
11487         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
11488         config/c6x/ltf.c: New files.
11489         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
11490         (HOST_LIBGCC2_CFLAGS): Set.
11491         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
11492         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11493         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
11494         New files.
11495         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
11496         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
11497         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
11498         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
11499         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
11500         files.
11501         * config/frv/t-frv (LIB2ADD): Set.
11502         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11503         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
11504         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
11505         config/h8300/popcounthi2.c: New files.
11506         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
11507         * config/i386/gthr-win32.c: New file.
11508         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
11509         * config/i386/t-cygwin: Likewise.
11510         * config/i386/t-darwin, config/i386/t-darwin64,
11511         config/i386/t-gthr-win32, config/i386/t-interix: New files.
11512         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
11513         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11514         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11515         * config/ia64/quadlib.c: New file.
11516         * config/ia64/t-hpux (LIB2ADD): Set.
11517         * config/ia64/t-ia64: Add comment.
11518         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
11519         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11520         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
11521         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
11522         * config/m32c/t-m32c (LIB2ADD): Set.
11523         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
11524         * config/m32r/t-m32r: Likewise.
11525         * config/m68k/fpgnulib.c: New file.
11526         * config/m68k/t-floatlib (LIB2ADD): Set.
11527         (xfgnulib.c): New target.
11528         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
11529         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
11530         * config/mep/t-mep (LIB2ADD): Set.
11531         * config/microblaze/divsi3.asm: Rename to divsi3.S.
11532         * config/microblaze/moddi3.asm: Rename to moddi3.S.
11533         * config/microblaze/modsi3.asm: Rename to modsi3.S.
11534         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
11535         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
11536         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
11537         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
11538         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
11539         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
11540         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
11541         New files.
11542         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
11543         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
11544         * config/pa/fptr.c, config/pa/lib2funcs.S,
11545         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
11546         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
11547         (LIB2ADD, LIB2ADD_ST): Set.
11548         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
11549         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
11550         Set.
11551         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
11552         * config/pdp11/t-pdp11: New file.
11553         * config/picochip/libgccExtras/adddi3.S,
11554         config/picochip/libgccExtras/ashlsi3.S,
11555         config/picochip/libgccExtras/ashrsi3.S,
11556         config/picochip/libgccExtras/clzsi2.S,
11557         config/picochip/libgccExtras/cmpsi2.S,
11558         config/picochip/libgccExtras/divmod15.S,
11559         config/picochip/libgccExtras/divmodhi4.S,
11560         config/picochip/libgccExtras/divmodsi4.S,
11561         config/picochip/libgccExtras/lshrsi3.S,
11562         config/picochip/libgccExtras/parityhi2.S,
11563         config/picochip/libgccExtras/popcounthi2.S,
11564         config/picochip/libgccExtras/subdi3.S,
11565         config/picochip/libgccExtras/ucmpsi2.S,
11566         config/picochip/libgccExtras/udivmodhi4.S,
11567         config/picochip/libgccExtras/udivmodsi4.S: New files.
11568         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
11569         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
11570         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
11571         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
11572         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
11573         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
11574         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
11575         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
11576         files.
11577         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
11578         (HOST_LIBGCC2_CFLAGS): Set.
11579         * config/rs6000/t-darwin64: New file.
11580         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
11581         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
11582         * config/rs6000/t-ppccomm (LIB2ADD): Add
11583         $(srcdir)/config/rs6000/tramp.S.
11584         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
11585         Add  $(srcdir)/config/rs6000/eabi.S.
11586         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
11587         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
11588         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
11589         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
11590         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
11591         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
11592         * config/rs6000/tramp.S: New file.
11593         * config/s390/t-tpf: Remove.
11594         * config/sh/linux-atomic.S: New file.
11595         * config/sh/t-linux (LIB2ADD): Set.
11596         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
11597         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
11598         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
11599         to unwind-dw2.c.
11600         (HOST_LIBGCC2_CFLAGS): Set.
11601         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11602         * config/spu/divmodti4.c, config/spu/divv2df3.c,
11603         config/spu/float_disf.c, config/spu/float_unsdidf.c,
11604         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
11605         config/spu/mfc_multi_tag_release.c,
11606         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
11607         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
11608         config/spu/multi3.c: New files.
11609         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
11610         (HOST_LIBGCC2_CFLAGS): Set.
11611         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
11612         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
11613         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
11614         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
11615         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
11616         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
11617         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
11618         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
11619         config/stormy16/umodsi3.c: New files.
11620         * config/xtensa/lib2funcs.S: New file.
11621         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
11622         * config/xtensa/t-xtensa (LIB2ADD): Set.
11623         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
11624         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
11625         Add t-freebsd-thread to tmake_file for posix threads.
11626         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
11627         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
11628         (*-*-lynxos*): Likewise.
11629         (*-*-netbsd*): Likewise.
11630         (*-*-openbsd*): Likewise.
11631         Add t-openbsd-thread to tmake_file for posix threads.
11632         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
11633         (*-*-vxworks*): Set tmake_file.
11634         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
11635         (alpha*-*-freebsd*): Likewise.
11636         (alpha*-*-netbsd*): Likewise.
11637         (alpha*-*-openbsd*): Likewise.
11638         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
11639         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
11640         (alpha*-dec-*vms*): Likewise.
11641         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
11642         (bfin*-elf*): Add bfin/t-elf to tmake_file.
11643         (bfin*-uclinux*): Likewise.
11644         (bfin*-linux-uclibc*): Likewise.
11645         (crisv32-*-elf): Add cris/t-cris to tmake_file.
11646         (crisv32-*-none): Likewise.
11647         (cris-*-elf): Likewise.
11648         (cris-*-none): Likewise.
11649         (cris-*-linux*, crisv32-*-linux*): Likewise.
11650         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
11651         tmake_file.
11652         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
11653         tmake_file.
11654         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
11655         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
11656         (x86_64-*-elf*): Likewise.
11657         (i[34567]86-*-nto-qnx*): Likewise.
11658         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
11659         win32 threads.
11660         (x86_64-*-mingw*): Likewise.
11661         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
11662         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
11663         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11664         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11665         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
11666         tmake_file.
11667         (mipsisa64sr71k-*-elf*): Likewise.
11668         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11669         (mips-*-elf*, mipsel-*-elf*): Likewise.
11670         (mips64-*-elf*, mips64el-*-elf*): Likewise.
11671         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11672         (mips*-*-rtems*): Likewise.
11673         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
11674         to tmake_file.
11675         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
11676         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
11677         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
11678         (spu-*-elf*): Likewise.
11679         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
11681 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11683         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
11684         $(srcdir) to refer to $(LIB1ASMSRC).
11685         Use $<.
11686         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
11687         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
11688         config/arm/lib1funcs.S: New files.
11689         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
11690         * config/arm/t-arm: New file.
11691         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
11692         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
11693         config/arm/t-strongarm-elf: New files.
11694         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
11695         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
11696         * config/avr/lib1funcs.S: New file.
11697         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11698         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
11699         * config/c6x/lib1funcs.S: New file.
11700         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11701         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
11702         * config/frv/lib1funcs.S: New file.
11703         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11704         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
11705         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
11706         * config/ia64/__divxf3.asm: Rename to ...
11707         * config/ia64/__divxf3.S: ... this.
11708         Adapt lib1funcs.asm filename.
11709         * config/ia64/_fixtfdi.asm: Rename to ...
11710         * config/ia64/_fixtfdi.S: ... this.
11711         Adapt lib1funcs.asm filename.
11712         * config/ia64/_fixunstfdi.asm: Rename to ...
11713         * config/ia64/_fixunstfdi.S: ... this.
11714         Adapt lib1funcs.asm filename.
11715         * config/ia64/_floatditf.asm: Rename to ...
11716         * config/ia64/_floatditf.S: ... this.
11717         Adapt lib1funcs.asm filename.
11718         * config/ia64/lib1funcs.S: New file.
11719         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
11720         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11721         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
11722         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
11723         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
11724         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
11725         * config/mep/lib1funcs.S: New file.
11726         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11727         * config/mips/mips16.S: New file.
11728         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11729         * config/pa/milli64.S: New file.
11730         * config/pa/t-linux, config/pa/t-linux64: New files.
11731         * config/picochip/lib1funcs.S: New file.
11732         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11733         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
11734         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
11735         * config/sh/t-netbsd: New file.
11736         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
11737         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
11738         * config/sh/t-sh64: New file.
11739         * config/sparc/lb1spc.S: New file.
11740         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
11741         filename.
11742         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
11743         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
11744         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
11745         config/xtensa/lib1funcs.S: New files.
11746         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11747         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
11748         tmake_file.
11749         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
11750         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
11751         (arm*-*-linux*): Likewise.
11752         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
11753         arm*-*-linux-*eabi, add arm/t-linux otherwise.
11754         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
11755         (arm*-*-ecos-elf): Likewise.
11756         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11757         (arm*-*-rtems*): Likewise.
11758         (arm*-*-elf): Likewise.
11759         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
11760         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
11761         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
11762         (bfin*-uclinux*): Likewise.
11763         (bfin*-linux-uclibc*): Likewise.
11764         (bfin*-rtems*): Likewise.
11765         (bfin*-*): Likewise.
11766         (fido-*-elf): Merge into m68k-*-elf*.
11767         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
11768         (frv-*-*linux*): Add frv/t-frv to tmake_file.
11769         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
11770         (h8300-*-elf*): Likewise.
11771         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
11772         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
11773         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
11774         (i[34567]86-*-mingw*): Likewise.
11775         (x86_64-*-mingw*): Likewise.
11776         (i[34567]86-*-interix3*): Likewise.
11777         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
11778         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
11779         (m68k-*-elf*): Also handle fido-*-elf.
11780         Add m68k/t-floatlib to tmake_file.
11781         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
11782         (m68k-*-linux*): Likewise.
11783         (m68k-*-rtems*): Likewise.
11784         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
11785         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
11786         sh64*-*-*.
11787         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
11788         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
11789         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
11790         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
11791         sh/t-netbsd to tmake_file.
11792         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
11793         (sh-*-rtems*): Add sh/t-sh to tmake_file.
11794         (sh-wrs-vxworks): Likewise.
11795         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
11796         *-leon[3-9]*.
11797         (v850*-*-*): Add v850/t-v850 to tmake_file.
11798         (vax-*-linux*): Add vax/t-linux to tmake_file.
11799         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
11801 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11803         * crtstuff.c: New file.
11804         * Makefile.in (CRTSTUFF_CFLAGS): Define.
11805         (CRTSTUFF_T_CFLAGS): Define.
11806         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
11807         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
11808         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
11809         crtstuff.c.
11810         Use $<.
11811         (crtbeginT.o): Use $(objext).
11812         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
11813         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
11814         (gcc-extra-parts): Remove.
11815         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
11816         Set extra_parts.
11817         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11818         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
11819         Add t-crtstuff-pic to tmake_file.
11820         (*-*-lynxos*): New case.
11821         Set tmake_file, extra_parts.
11822         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
11823         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
11824         *-*-netbsdelf[2-9]*.
11825         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
11826         (*-*-rtems*): Set extra_parts.
11827         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
11828         (*-*-uclinux*): New case.
11829         Set extra_parts.
11830         (*-*-vms*): New case.
11831         Set tmake_file, extra_parts.
11832         (*-*-elf): Set extra_parts.
11833         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
11834         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
11835         vms/t-vms64.
11836         Set extra_parts.
11837         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
11838         Set extra_parts.
11839         (arm*-*-freebsd*): Add t-crtin to tmake_file.
11840         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
11841         (arm-wrs-vxworks): Append to tmake_file.
11842         Set extra_parts.
11843         (arm*-*-uclinux*): Set extra_parts.
11844         (arm*-*-ecos-elf): Likewise.
11845         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
11846         arm*-*-eabi*.
11847         (arm*-*-rtems*): Set extra_parts.
11848         (arm*-*-elf): Likewise.
11849         (avr-*-rtems*): Clear extra_parts.
11850         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
11851         Set extra_parts.
11852         (bfin*-uclinux*): Likewise.
11853         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
11854         (bfin*-rtems*): Append to tmake_file.
11855         Set extra_parts.
11856         (bfin*-*): Likewise.
11857         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
11858         (crisv32-*-elf): ... this.
11859         (crisv32-*-none): ... this.
11860         (cris-*-elf, cris-*-none): New cases.
11861         Add cris/t-elfmulti to tmake_file.
11862         (fr30-*-elf): Append to tmake_file.
11863         Set extra_parts.
11864         (frv-*-elf): Append to tmake_file, add frv/t-frv.
11865         Set extra_parts.
11866         (h8300-*-rtems*): Append to tmake_file.
11867         Set extra_parts.
11868         (h8300-*-elf*): Likewise.
11869         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
11870         Set extra_parts.
11871         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
11872         Set extra_parts.
11873         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
11874         (x86_64-*-elf*): Likewise.
11875         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
11876         (x86_64-*-freebsd*): Likewise.
11877         (x86_64-*-netbsd*): Likewise.
11878         (i[34567]86-*-linux*): Likewise.
11879         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11880         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11881         (x86_64-*-linux*): Likewise.
11882         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11883         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
11884         tmake_file.
11885         Set extra_parts.
11886         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
11887         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
11888         Append to extra_parts, remove crtbegin.o, crtend.o.
11889         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
11890         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
11891         crtend.o, crtbeginS.o, crtendS.o.
11892         (ia64*-*-linux*): Comment extra_parts.
11893         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
11894         Set extra_parts.
11895         (iq2000*-*-elf*): Clear extra_parts.
11896         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
11897         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
11898         (m32r-*-elf*, m32r-*-rtems*): Split off ...
11899         (m32r-*-rtems*): ... this.
11900         Add m32r/t-m32r to tmake_file.
11901         (m68k-*-elf*): Add t-crtin to tmake_file.
11902         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
11903         (mcore-*-elf): Likewise.
11904         (microblaze*-*-*): Set extra_parts.
11905         (mips*-sde-elf*): New case.
11906         Set tmake_file, extra_parts.
11907         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11908         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11909         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
11910         tmake_file.
11911         Set extra_parts.
11912         (mipsisa64sr71k-*-elf*): Likewise.
11913         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11914         (mips-*-elf*, mipsel-*-elf*): Likewise.
11915         (mips64-*-elf*, mips64el-*-elf*): Likewise.
11916         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
11917         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
11918         (mips*-*-rtems*): Likewise.
11919         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
11920         (moxie-*-*): Split into ...
11921         (moxie-*-elf, moxie-*-uclinux*): ... this.
11922         Add to extra_parts, remove crtbegin.o, crtend.o.
11923         (moxie-*-rtems*): New case.
11924         Set tmake_file.
11925         Clear extra_parts.
11926         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
11927         Set extra_parts.
11928         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
11929         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
11930         tmake_file.
11931         Set extra_parts.
11932         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
11933         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
11934         Set extra_parts.
11935         (powerpc-*-eabisim*): Likewise.
11936         (powerpc-*-elf*): Likewise.
11937         (powerpc-*-eabialtivec*): Likewise.
11938         (powerpc-xilinx-eabi*): Likewise.
11939         (powerpc-*-eabi*): Likewise.
11940         (powerpc-*-rtems*): Likewise.
11941         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
11942         tmake_file.
11943         Set extra_parts.
11944         (powerpc-*-lynxos*): Add to tmake_file.
11945         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
11946         rs6000/t-crtstuff, t-crtstuff-pic.
11947         Set extra_parts.
11948         (powerpcle-*-eabisim*): Likewise.
11949         (powerpcle-*-eabi*): Likewise.
11950         (rx-*-elf): Remove extra_parts.
11951         (s390x-ibm-tpf*): Set extra_parts.
11952         (score-*-elf): Set extra_parts.
11953         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11954         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11955         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11956         (sh64l*-*-netbsd*): Split into ...
11957         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
11958         Add t-crtstuff-pic to tmake_file.
11959         Set extra_parts.
11960         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
11961         Set extra_parts.
11962         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
11963         (sparc-*-elf*): Remove t-crtin from tmake_file.
11964         Add to extra_parts, remove crtbegin.o, crtend.o.
11965         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
11966         (sparc64-*-linux*): Likewise.
11967         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
11968         Add to extra_parts, remove crtbegin.o, crtend.o.
11969         (sparc64-*-elf*): Remove t-crtin from tmake_file.
11970         Add to extra_parts, remove crtbegin.o, crtend.o.
11971         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
11972         Add to extra_parts, remove crtbegin.o, crtend.o.
11973         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
11974         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
11975         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
11976         Set extra_parts.
11977         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
11978         Set extra_parts.
11979         (tic6x-*-*): Change to ...
11980         (tic6x-*-elf): ... this.
11981         Set extra_parts.
11982         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
11983         Set extra_parts.
11984         (am33_2.0-*-linux*): Add comment.
11985         (mep*-*-*): Add mep/t-mep to tmake_file.
11986         Set extra_parts.
11987         * config/alpha/t-vms: New file.
11988         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
11989         * config/arm/crti.S, config/arm/crtn.S: New files.
11990         * config/bfin/crti.S, config/bfin/crtn.S: New files.
11991         * config/bfin/crtlibid.S: New file.
11992         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
11993         * config/c6x/crti.S, config/c6x/crtn.S: New files.
11994         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
11995         (crti.o, crtin.o): New rules.
11996         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11997         * config/c6x/t-uclinux: New file.
11998         * config/cris/t-elfmulti: New file.
11999         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
12000         * config/fr30/crti.S, config/fr30/crtn.S: New files.
12001         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
12002         * config/frv/t-frv: New file.
12003         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
12004         * config/h8300/crti.S, config/h8300/crtn.S: New files.
12005         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
12006         New files.
12007         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
12008         refer to cygming-crtbegin.c, cygming-crtend.c.
12009         Use $<.
12010         * config/i386/t-nto: New file.
12011         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
12012         * config/ia64/crti.S, config/ia64/crtn.S: New files.
12013         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
12014         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
12015         Use .S extension.
12016         Use $<.
12017         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
12018         (crtinitS.o): New rule.
12019         * config/ia64/vms-crtinit.S: New file.
12020         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
12021         * config/m32r/initfini.c: New file.
12022         * config/m32r/t-linux, config/m32r/t-m32r: New files.
12023         * config/m68k/crti.S, config/m68k/crtn.S: New files.
12024         * config/mcore/crti.S, config/mcore/crtn.S: New files.
12025         * config/mep/t-mep: New file.
12026         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
12027         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
12028         * config/mips/crti.S, config/mips/crtn.S: New files.
12029         * config/mips/t-crtstuff: New file.
12030         * config/mmix/crti.S, config/mmix/crtn.S: New files.
12031         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
12032         (CUSTOM_CRTIN): Set.
12033         ($(T)crti.o, $(T)crtn.o): Remove $(T),
12034         dependencies.
12035         Use $(srcdir) to refer to crti.S, crtn.S.
12036         Use .S extension, $<.
12037         * config/moxie/crti.asm: Rename to ...
12038         * config/moxie/crti.S: ... this.
12039         * config/moxie/crtn.asm: Rename to ...
12040         * config/moxie/crtn.S: ... this.
12041         * config/moxie/t-moxie: Remove.
12042         * config/pa/stublib.c: New file.
12043         * config/pa/t-stublib, config/pa/t-stublib64: New files.
12044         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
12045         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
12046         * config/rs6000/t-crtstuff: New file.
12047         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
12048         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
12049         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
12050         Make output file explicit.
12051         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
12052         Make output file explicit.
12053         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
12054         Make output file explicit.
12055         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
12056         Make output file explicit.
12057         * config/score/crti.S, config/score/crtn.S: New files.
12058         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
12059         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
12060         files.
12061         * config/sh/t-sh, config/sh/t-superh: New files.
12062         * config/sparc/t-linux64: New file.
12063         * config/spu/cache.S, config/spu/cachemgr.c: New files.
12064         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
12065         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
12066         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
12067         * config/t-crtin: Remove.
12068         * config/t-crtstuff-pic: New file.
12069         * config/t-sol2 (CUSTOM_CRTIN): Set.
12070         (crti.o, crtn.o): New rules.
12071         * config/vms/t-vms: New file.
12072         * config/vms/vms-ucrt0.c: New file.
12073         * config/xtensa/t-elf: New file.
12075 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12077         * Makefile.in (SHLIB_NM_FLAGS): Set.
12078         * mkmap-flat.awk, mkmap-symver.awk: New files.
12079         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
12080         exceptions.
12081         * configure: Regenerate.
12082         * config/libgcc-glibc.ver: New file.
12083         * config/libgcc-libsystem.ver: New file.
12084         * config/t-libunwind (SHLIB_LC): Set.
12085         * config/t-linux: New file.
12086         * config/t-slibgcc (INSTALL_SHLIB): New.
12087         (SHLIB_INSTALL): Use it.
12088         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
12089         to mkmap-symver.awk.
12090         (SHLIB_MAPFILES): Don't append, adapt pathname.
12091         (SHLIB_VERPFX): Set.
12092         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
12093         to mkmap-symver.awk.
12094         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
12095         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
12096         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
12097         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
12098         to mkmap-flat.awk.
12099         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
12100         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
12101         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
12102         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
12103         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
12104         * config/i386/libgcc-darwin.10.4.ver,
12105         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
12106         New files.
12107         * config/i386/t-darwin: Remove.
12108         * config/i386/t-darwin64: Likewise.
12109         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
12110         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
12111         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
12112         * config/i386/t-linux: New file.
12113         * config/i386/t-mingw32: New file.
12114         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
12115         * config/ia64/t-glibc: Rename to ...
12116         * config/ia64/t-linux: ... this.
12117         (SHLIB_MAPFILES): Set.
12118         * config/ia64/t-glibc-libunwind: Rename to ...
12119         * config/ia64/t-linux-libunwind: ... this.
12120         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
12121         * config/ia64/t-slibgcc-hpux: New file.
12122         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
12123         * config/m68k/t-slibgcc-elf-ver: New file.
12124         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
12125         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
12126         to mkmap-flat.awk.
12127         * config/pa/t-slibgcc-hpux: New file.
12128         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
12129         files.
12130         * config/rs6000/libgcc-darwin.10.4.ver,
12131         config/rs6000/libgcc-darwin.10.5.ver: New files.
12132         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
12133         config/rs6000/libgcc-glibc.ver.
12134         * config/rs6000/libgcc-ppc64.ver: Rename to
12135         config/rs6000/libgcc-ibm-ldouble.ver.
12136         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
12137         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
12138         * config/rs6000/t-ldbl128: Rename to ...
12139         * config/rs6000/t-linux: ... this.
12140         (SHLIB_MAPFILES): Adapt filename.
12141         * config/rs6000/t-slibgcc-aix: New file.
12142         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
12143         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
12144         libgcc-excl.ver, libgcc-glibc.ver.
12145         (SHLIB_LINK, SHLIB_INSTALL): Remove.
12146         * config/sparc/libgcc-glibc.ver: New file.
12147         * config/sparc/t-linux: New file.
12148         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
12149         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
12150         t-slibgcc-elf-ver to tmake_file.
12151         Add t-slibgcc-nolc-override to tmake_file for posix threads on
12152         *-*-freebsd[34].
12153         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
12154         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
12155         t-slibgcc-elf-ver, t-linux to tmake_file.
12156         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
12157         tmake_file.
12158         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
12159         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
12160         (alpha*-dec-*vms*): Likewise.
12161         (arm*-*-freebsd*): Append to tmake_file.
12162         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
12163         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
12164         arm*-*-linux-*eabi.
12165         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
12166         tmake_file for arm*-*-symbianelf*.
12167         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
12168         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
12169         cris/t-linux.
12170         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
12171         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
12172         pa/t-slibgcc-dwarf-ver to tmake_file.
12173         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
12174         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
12175         (hppa*64*-*-hpux11*): Likewise.
12176         (hppa[12]*-*-hpux11*): Likewise.
12177         (x86_64-*-darwin*): Don't override tmake_file, but only keep
12178         i386/t-crtpc, i386/t-crtfm.
12179         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
12180         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
12181         to tmake_file.
12182         Add i386/t-cygwin to tmake_file.
12183         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
12184         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
12185         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
12186         to tmake_file.
12187         Add i386/t-mingw32 to tmake_file.
12188         (x86_64-*-mingw*): Likewise.
12189         (ia64*-*-freebsd*): Append to tmake_file.
12190         (ia64*-*-linux*): Append to tmake_file.
12191         Replace ia64/t-glibc by ia64/t-linux.
12192         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
12193         system libunwind.
12194         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
12195         t-slibgcc-hpux to tmake_file.
12196         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
12197         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
12198         (m32rle-*-linux*): Likewise.
12199         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
12200         sjlj exceptions.
12201         (microblaze*-linux*): New case.
12202         Append to tmake_file, add t-slibgcc-nolc-override.
12203         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
12204         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
12205         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
12206         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
12207         rs6000/t-slibgcc-aix to tmake_file.
12208         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12209         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12210         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
12211         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
12212         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
12213         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
12214         sh*-*-linux*.
12215         (sparc-*-linux*): Append to tmake_file for *-leon*.
12216         Add sparc/t-linux to tmake_file for non-Leon targets.
12217         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
12218         (tic6x-*-uclinux): New case.
12219         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
12220         (tic6x-*-*): Add c6x/t-elf to tmake_file.
12221         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
12222         (am33_2.0-*-linux*): Append to tmake_file.
12223         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
12224         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
12225         x86_64-*-kfreebsd*-gnu.
12226         Add i386/t-linux to tmake_file.
12228 2011-10-28  Ian Lance Taylor  <iant@google.com>
12230         * config/i386/morestack.S: Correct CFI information to do proper
12231         returns throughout function.  In 32-bit mode, save %ebx so that it
12232         is restored on unwind.
12234 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
12236         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
12237         case where B3 isn't the return register.
12239         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
12240         logic for doubleword pops.
12242 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
12244         * config/rs6000/t-freebsd: Add wildcard.
12246 2011-10-21  Paul Brook  <paul@codesourcery.com>
12248         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
12250 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
12251             Eric Botcazou  <ebotcazou@adacore.com>
12253         PR target/50737
12254         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
12255         fs->signal_frame to 1.
12257 2011-10-07  Ian Lance Taylor  <iant@google.com>
12259         * generic-morestack-thread.c: #include <errno.h>.
12261 2011-10-07  Ian Lance Taylor  <iant@google.com>
12263         PR target/46093
12264         * generic-morestack.c (__generic_morestack): Make sure the segment
12265         is large enough for both the stack frame and the copied
12266         parameters.
12268 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12270         PR bootstrap/49804
12271         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
12272         extra_parts.
12274 2011-09-28  Nick Clifton  <nickc@redhat.com>
12276         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
12277         64-bit doubles are not enabled.
12278         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
12279         and floatunsisf functions.
12281 2011-09-13  Paul Brook  <paul@codesourcery.com>
12283         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
12284         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
12285         * unwind-arm-common.inc: New file.
12286         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
12287         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
12288         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
12289         * config/c6x/libunwind.S: New file.
12290         * config/c6x/pr-support.c: New file.
12291         * config/c6x/unwind-c6x.c: New file.
12292         * config/c6x/unwind-c6x.h: New file.
12293         * config/c6x/t-c6x-elf: New file.
12295 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
12297         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
12298         (ASM_DIVZERO): Ditto.
12299         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
12301 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
12303         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
12305 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
12307         PR target/50090
12308         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
12309         instead of an assembly one.
12311 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
12313         PR bootstrap/50047
12314         * Makefile.in (install-unwind_h): Create
12315         $(gcc_objdir)/include/unwind.h atomically.
12317 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12319         * Makefile.in (install-unwind_h): Remove destination file first.
12321 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12323         * sync.c: New file.
12324         * config/mips/t-mips16: New file.
12325         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
12326         (mips*-*-linux*): Likewise.
12327         (mips*-sde-elf*): Likewise.
12328         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
12329         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
12330         Add mips/t-mips16 to tmake_file.
12331         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
12332         (mips-*-elf*): Likewise.
12333         (mips64-*-elf*): Likewise.
12334         (mips64orion-*-elf*): Likewise.
12335         (mips*-*-rtems*): Likewise.
12336         (mipstx39-*-elf*): Likewise.
12337         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
12338         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
12339         LIBGCC_SYNC_CFLAGS.
12340         Use $(srcdir) to refer to sync.c.
12341         Use $<.
12342         ($(libgcc-sync-funcs-o)): Likewise.
12343         ($(libgcc-sync-size-funcs-s-o)): Likewise.
12344         ($(libgcc-sync-funcs-s-o)): Likewise.
12346 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
12348         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
12349         t-libunwind.
12351 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
12353         PR other/48007
12354         * config/i386/value-unwind.h: New.
12356 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
12358         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
12359         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
12360         Add to tmake_file rather than overriding it.
12362 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12364         * config/t-softfp: Remove.
12365         * soft-fp: Moved from ../gcc/config.
12366         * soft-fp/README: Remove t-softfp reference.
12367         * soft-fp/t-softfp: Move to config/t-softfp.
12368         (softfp_machine_header): Remove.
12369         (softfp_file_list): Remove config subdir.
12370         (soft-fp-objects): New variable.
12371         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
12372         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
12373         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
12374         * config/t-softfp-excl: New file.
12375         * config/t-softfp-sfdf: New file.
12376         * config/t-softfp-tf: New file.
12377         * config/no-sfp-machine.h: New file.
12378         * config/arm/sfp-machine.h: New file.
12379         * config/arm/t-softfp: New file.
12380         * config/c6x/sfp-machine.h: New file.
12381         * config/i386/32/t-fprules-softfp: Rename to ...
12382         * config/i386/32/t-softfp: ... this.
12383         (tifunctions, LIB2ADD): Remove.
12384         (softfp_int_modes): Override.
12385         * config/i386/64/t-softfp-compat (tf-functions): Remove config
12386         subdir.
12387         * config/i386/64/eqtf2.c: Likewise.
12388         * config/i386/64/getf2.c: Likewise.
12389         * config/i386/64/letf2.c: Likewise.
12390         * config/ia64/sft-machine.h: New file.
12391         * config/ia64/t-fprules-softfp: Rename to ...
12392         * config/ia64/t-softfp: ... this.
12393         * config/lm32/sfp-machine.h: New file.
12394         * config/moxie/t-moxie-softfp: Remove.
12395         * config/rs6000/ibm-ldouble-format: New file.
12396         * config/rs6000/ibm-ldouble.c: New file.
12397         * config/rs6000/libgcc-ppc-glibc.ver: New file
12398         * config/rs6000/libgcc-ppc64.ver: New file
12399         * config/rs6000/sfp-machine.h: New file.
12400         * config/rs6000/t-freebsd: New file.
12401         * config/rs6000/t-ibm-ldouble: New file.
12402         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
12403         libgcc-ppc-glibc.ver.
12404         * config/rs6000/t-linux64: New file.
12405         * config/rs6000/t-ppccomm (LIB2ADD): Add
12406         $(srcdir)/config/rs6000/ibm-ldouble.c.
12407         * config/rs6000/t-ppccomm-ldbl: New file.
12408         * config/score/sfp-machine.h: New file.
12409         * config.host (sfp_machine_header): Explain.
12410         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
12411         t-softfp to tmake_file.
12412         (arm*-*-uclinux*): Likewise.
12413         (arm*-*-ecos-elf): Likewise.
12414         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
12415         (arm*-*-rtems*): Likewise.
12416         (arm*-*-elf): Likewise.
12417         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
12418         in tmake_file.
12419         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
12420         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
12421         (lm32-*-uclinux*): Likewise.
12422         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
12423         t-softfp-excl, t-softfp.
12424         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
12425         (powerpc64-*-darwin*): Likewise.
12426         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
12427         to tmake_file.
12428         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
12429         tmake_file.
12430         (powerpc-*-eabisim*): Likewise.
12431         (powerpc-*-elf*): Likewise.
12432         (powerpc-*-eabialtivec*): Likewise.
12433         (powerpc-xilinx-eabi*): Likewise.
12434         (powerpc-*-rtems*): Likewise.
12435         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
12436         t-softfp-excl, t-softfp to tmake_file.
12437         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
12438         rs6000/t-ppccomm-ldbl to tmake_file.
12439         (powerpcle-*-elf*): Likewise.
12440         (powerpcle-*-eabisim*): Likewise.
12441         (powerpcle-*-eabi*): Likewise.
12442         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
12443         rs6000/t-ibm-ldouble to tmake_file.
12444         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12445         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12446         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
12447         (tic6x-*-*): Likewise.
12448         (i[34567]86-*-darwin*, x86_64-*-darwin*,
12449         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
12450         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
12451         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
12452         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
12453         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
12454         t-softfp to tmake_file.
12455         * configure.ac (sfp_machine_header): Provide default if unset.
12456         Substitute.
12457         Link sfp-machine.h to config/$sfp_machine_header.
12458         * configure: Regenerate.
12460 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12462         * Makefile.in (double_type_size, long_double_type_size): Set.
12463         Remove $(fpbit-in-libgcc) support.
12464         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
12465         (fpbit-src): New variable.
12466         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
12467         Compile with -DFLOAT $(FPBIT_CFLAGS).
12468         Use $<.
12469         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
12470         Compile with $(FPBIT_CFLAGS).
12471         Use $<.
12472         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
12473         Compile with -DFLOAT $(TPBIT_CFLAGS).
12474         Use $<.
12475         * configure.ac (double_type_size, long_double_type_size):
12476         Determine and substitute.
12477         * configure: Regenerate.
12478         * fp-bit.c, fp-bit.h: New files.
12479         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
12480         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
12481         * config/mips/t-mips: New file.
12482         * config/mips/t-sdemtk: New file.
12483         * config/rs6000/ppc64-fp.c: New file.
12484         * config/rs6000/t-darwin (LIB2ADD): Add
12485         $(srcdir)/config/rs6000/ppc64-fp.c.
12486         * config/rs6000/t-ppc64-fp: New file.
12487         * config/rx/rx-lib.h: New file.
12488         * config/rx/t-rx (FPBIT): Set to true.
12489         ($(gcc_objdir)/fp-bit.c): Remove.
12490         (DPBIT): Set to true only with -m64bit-doubles.
12491         ($(gcc_objdir)/dp-bit.c): Remove.
12492         * config/sparc/t-softfp: Remove.
12493         * config/spu/t-elf: New file.
12494         * config/t-fdpbit, config/t-fpbit: New files.
12495         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
12496         (mips*-*-*): Likewise.
12497         (arm-wrs-vxworks): Likewise.
12498         (arm*-*-freebsd*): Likewise.
12499         (avr-*-rtems*): Add t-fpbit to tmake_file.
12500         (avr-*-*): Likewise.
12501         (bfin*-elf*): Add t-fdpbit to tmake_file.
12502         (bfin*-uclinux*): Likewise.
12503         (bfin*-linux-uclibc*): Likewise.
12504         (bfin*-rtems*): New case.
12505         Add t-fdpbit to tmake_file.
12506         (bfin*-*): Add t-fdpbit to tmake_file.
12507         (crisv32-*-elf): Likewise.
12508         (cris-*-linux*): Likewise.
12509         (fr30-*-elf): Likewise.
12510         (frv-*-elf, frv-*-*linux*): Likewise.
12511         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
12512         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
12513         (m32r-*-elf*): Likewise.
12514         (m32rle-*-elf*): Likewise.
12515         (m32r-*-linux*): Likewise.
12516         (m32rle-*-linux*): Likewise.
12517         (mcore-*-elf): Add t-fdpbit to tmake_file.
12518         (microblaze*-*-*): Likewise.
12519         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
12520         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
12521         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
12522         Fix typo.
12523         Add mips/t-tpbit to tmake-file.
12524         (mips*-*-linux*): Fix typo.
12525         (mips*-sde-elf*): New case
12526         Add mips/t-sdemtk unless using newlib.
12527         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
12528         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
12529         (mn10300-*-*): Likewise.
12530         (pdp11-*-*): Likewise.
12531         (picochip-*-*): Add t-fpbit to tmake_file.
12532         (powerpc-*-eabisimaltivec*): Likewise.
12533         (powerpc-*-eabisim*): Likewise.
12534         (powerpc-*-elf*): Likewise.
12535         (powerpc-*-eabialtivec*): Likewise.
12536         (powerpc-xilinx-eabi*): New case.
12537         Add t-fdpbit to tmake_file.
12538         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
12539         (powerpc-*-rtems*): Likewise.
12540         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
12541         tmake_file.
12542         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
12543         tmake_file.
12544         (powerpc-*-lynxos*): Likewise.
12545         (powerpcle-*-elf*): Likewise.
12546         (powerpcle-*-eabisim*): Likewise.
12547         (powerpcle-*-eabi*): Likewise.
12548         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
12549         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
12550         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12551         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12552         (rx-*-elf): Add t-fdpbit to tmake_file.
12553         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
12554         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
12555         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
12556         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
12557         sh*-*-netbsd*.
12558         (sh-*-rtems*): Add t-fdpbit to tmake_file.
12559         (sh-wrs-vxworks): Likewise.
12560         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
12561         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
12562         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
12563         (sparc64-*-rtems*): ... new case.
12564         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
12565         (spu-*-elf*): Likewise.
12566         Add spu/t-elf to tmake_file.
12567         (v850*-*-*): Add t-fdpbit to tmake_file.
12568         (xstormy16-*-elf): Likewise.
12569         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
12570         (mep*-*-*): Likewise.
12572 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12574         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
12575         variables.
12576         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
12577         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
12578         (install-unwind_h): New target.
12579         (all): Depend on it.
12580         * config.host (unwind_header): New variable.
12581         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
12582         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
12583         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
12584         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
12585         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
12586         Set unwind_header.
12587         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
12588         Set unwind_header.
12589         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
12590         arm*-*-eabi*.
12591         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
12592         Set unwind_header.
12593         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
12594         (ia64*-*-freebsd*): Likewise.
12595         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
12596         tmake_file.
12597         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
12598         $with_system_libunwind.
12599         (ia64*-*-hpux*): Set tmake_file.
12600         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
12601         (picochip-*-*): Set tmake_file.
12602         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
12603         md_unwind_header.
12604         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12605         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12606         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
12607         (xtensa*-*-elf*): Set tmake_file.
12608         (xtensa*-*-linux*): Likewise.
12609         * configure.ac: Include ../config/unwind_ipinfo.m4.
12610         Call GCC_CHECK_UNWIND_GETIPINFO.
12611         Link unwind.h to $unwind_header.
12612         * configure: Regenerate.
12613         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
12614         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
12615         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
12616         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
12617         * config/unwind-dw2-fde-darwin.c: New file.
12618         * config/arm/libunwind.S, config/arm/pr-support.c,
12619         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
12620         config/arm/unwind-arm.h,: New files.
12621         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
12622         config/ia64/t-eh-ia64, config/ia64/t-glibc,
12623         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
12624         config/ia64/t-vms, config/ia64/unwind-ia64.c,
12625         config/ia64/unwind-ia64.h: New files.
12626         * config/picochip/t-picochip: New file.
12627         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
12628         files.
12629         * config/rs6000/t-darwin (LIB2ADDEH): Set.
12630         * config/s390/t-tpf (LIB2ADDEH): Remove.
12631         * config/t-darwin (LIB2ADDEH): Set.
12632         * config/t-eh-dw2-dip: New file.
12633         * config/t-libunwind, config/t-libunwind-elf: New files.
12634         * config/t-sol2 (LIB2ADDEH): Remove.
12635         * config/xtensa/t-xtensa: New file.
12637 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
12639         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
12640         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
12641         long long to check rt_sigreturn syscall.
12643 2011-08-02  Alan Modra  <amodra@gmail.com>
12645         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
12646         Restore for indirect call bcrtl from correct stack slot, and only
12647         if cfa+40 isn't valid.
12649 2011-08-01  Julian Brown  <julian@codesourcery.com>
12651         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
12652         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
12653         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
12655 2011-08-01  Julian Brown  <julian@codesourcery.com>
12657         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
12658         (libgcc-std.ver.in): Use above.
12659         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
12660         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
12661         throughout file.
12662         * config/t-fixedpoint-gnu-prefix: New file.
12663         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
12664         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
12665         instead of __PFX__.
12667 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
12669         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
12670         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
12671         for x86-64.  Properly check __x86_64__ and __LP64__.
12673 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
12675         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
12676         version.
12677         (_FP_WS_TYPE): Likewise.
12678         (_FP_I_TYPE): Likewise.
12680 2011-07-28  Alan Modra  <amodra@gmail.com>
12682         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
12683         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
12684         in a plt call stub.  Do restore r2 if stopped on bctrl.
12686 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12688         * config.host (i[3456x]86-*-netware*): Remove.
12689         * config/i386/netware-crt0.c, config/i386/t-nwld,
12690         config/i386/t-slibgcc-nwld: Remove.
12692 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
12694         * config.host: Handle tic6x-*-*.
12695         * config/c6x/c6x-abi.h: New file.
12697 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12699         * config/i386/crtprec.c: New file.
12700         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
12701         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
12702         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
12703         (x86_64-*-darwin*): Likewise.
12704         (i[34567]86-*-solaris2*: Likewise.
12706 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12708         * config/alpha/crtfastmath.c: New file.
12709         * config/i386/crtfastmath.c: New file.
12710         * config/ia64/crtfastmath.c: New file.
12711         * config/mips/crtfastmath.c: New file.
12712         * config/sparc/crtfastmath.c: New file.
12714         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
12715         crtfastmath.c.
12716         Add -frandom-seed=gcc-crtfastmath.
12717         * config/alpha/t-crtfm: Remove.
12718         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
12719         * config/ia64/t-ia64 (crtfastmath.o): Remove.
12721         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
12722         (alpha*-dec-osf5.1*): Likewise.
12723         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
12724         Add crtfastmath.o to extra_parts.
12725         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
12726         Add crtfastmath.o to extra_parts.
12727         (x86_64-*-darwin*): Likewise.
12728         (x86_64-*-mingw*): Likewise.
12729         (ia64*-*-elf*): Add t-crtfm to tmake_file.
12730         (ia64*-*-freebsd*): Likewise.
12731         (ia64*-*-linux*): Likewise.
12732         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
12733         Add crtfastmath.o to extra_parts.
12735 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12737         * config/darwin-crt3.o: New file.
12738         * config/rs6000/darwin-crt2.c: New file.
12739         * config/t-darwin: New file.
12740         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
12741         (crt2.o): New rule.
12742         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
12743         (powerpc-*-darwin*): Add crt2.o to extra_parts.
12744         (powerpc64-*-darwin*): Likewise.
12746 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12748         * config/i386/netware-crt0.c: New file.
12749         * config/i386/t-nwld: Rename to ...
12750         * config/i386/t-slibgcc-nwld: ... this.
12751         * config/i386/t-nwld: New file.
12752         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
12753         tmake_file.
12754         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
12755         extra_parts.
12757 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12759         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
12760         i386/t-crtstuff.
12761         * configure: Regenerate.
12763 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12765         * dfp-bit.c, dfp-bit.h: New files.
12766         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
12767         variables.
12768         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
12769         ($(d64pbit-o)): Likewise.
12770         ($(d128pbit-o)): Likewise.
12771         * config/t-dfprules: New file.
12772         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
12773         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
12774         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
12775         (x86_64-*-linux*): Likewise.
12776         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
12777         (i[34567]86-*-cygwin*): Likewise.
12778         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
12779         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
12781 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12783         * Makfile.in (LIBGCOV): New variable.
12784         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
12785         * libgcov.c: New file.
12787 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12789         * fixed-bit.c, fixed-bit.h: New files.
12790         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
12791         refer to fixed-bit.c.
12793 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
12795         * config.host (*local*): Remove.
12797 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12799         PR target/39150
12800         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
12801         like i?86-*-solaris2.1[0-9]*.
12802         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
12803         * configure.ac (i?86-*-solaris2*): Likewise.
12804         * configure: Regenerate.
12806 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
12808         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
12809         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
12810         md_unwind_header by splitting out of...
12811         (i[34567]86-*-linux*): ... this.
12812         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
12813         Remove md_unwind_header by splitting out of...
12814         (x86_64-*-linux*): ... this.
12816 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
12818         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
12820 2011-06-28  Nick Clifton  <nickc@redhat.com>
12822         * config.host: Recognize all V850 variants.
12824 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
12826         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
12828 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12830         * shared-object.mk (c_flags-$o): Save c_flags.
12831         ($(base)$(objext)): Use it.
12832         ($(base)_s$(objext)): Likewise.
12834 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
12836         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
12837         * libgcc-std.ver.in (GCC_4.7.0): New section.
12839 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
12841         PR target/49313
12842         PR target/29524
12843         * config/avr/t-avr: Fix line endings.
12844         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
12845         _parityXX2.
12847 2011-06-14  Olivier Hainque  <hainque@adacore.com>
12848             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12850         * config/mips/irix6-unwind.h: New file.
12851         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
12853 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
12855         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
12856         (sparc64_fallback_frame_state): Use it.
12857         (sparc64_frob_update_context): Further adjust context.
12858         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
12859         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
12860         * config/sparc/sol2-cn.S: Likewise.
12862 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12864         * enable-execute-stack-empty.c: New file.
12865         * enable-execute-stack-mprotect.c: New file.
12866         * config/i386/enable-execute-stack-mingw32.c: New file.
12867         * config.host (enable_execute_stack): New variable.
12868         Select appropriate variants.
12869         * configure.ac: Link enable-execute-stack.c to
12870         $enable_execute_stack.
12871         * configure: Regenerate.
12872         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
12873         (lib2funcs): Remove _enable_execute_stack.
12875 2011-06-09  David S. Miller  <davem@davemloft.net>
12876             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12878         * config.host (sparc-*-linux*): Correct md_unwind_header
12879         filename.
12880         (s390x-ibm-tpf*): Fix typo.
12882 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12884         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
12885         Add crtfastmath.o to extra_parts.
12886         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
12887         mips/t-crtfm.
12888         * config/mips/t-crtfm: Remove.
12890 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
12892         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
12894 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
12896         * config.host (sh*-*-linux*): Fix typo.
12898 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12900         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
12901         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
12902         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
12903         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
12904         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
12905         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
12906         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
12907         Wrap in !__MINGW64__.
12908         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
12909         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
12910         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
12911         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
12912         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
12913         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
12914         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
12915         Wrap in !__LP64__.
12916         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
12917         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
12918         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
12919         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
12920         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
12921         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
12922         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
12923         * config/no-unwind.h: New file.
12924         * config.host (md_unwind_header): Document.
12925         Define.
12926         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
12927         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
12928         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
12929         hppa[12]*-*-hpux11*): Set md_unwind_header.
12930         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
12931         Set md_unwind_header.
12932         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
12933         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
12934         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
12935         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
12936         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
12937         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
12938         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
12939         md_unwind_header.
12940         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
12941         * configure: Regenerate.
12943 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12945         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
12946         Set tmake_file, extra_parts.
12947         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
12948         Remove O32 support.
12949         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
12950         Remove O32 support.
12951         * config/mips/t-irix6: New file.
12952         * config/mips/t-slibgcc-irix: New file.
12954 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12956         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
12957         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
12959 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12961         * configure.ac (target_thread_file): Determine thread model.
12962         * configure: Regenerate.
12963         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
12964         * config/alpha/t-alpha: New file.
12965         * config/alpha/t-crtfm: Use $<.
12966         * config/alpha/t-ieee: New file.
12967         * config/alpha/t-osf-pthread: New file.
12968         * config/alpha/t-slibgcc-osf: New file.
12969         * config/alpha/libgcc-osf5.ver: New file.
12971 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12973         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
12974         tmake_file.
12975         Add crtfastmath.o to extra_parts.
12977 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12979         * config/gmon-sol2.c: Reindent.
12980         Cleanup comments.
12981         Remove, correct casts.
12982         Use STDERR_FILENO, NULL.
12983         (BASEADDRESS): Remove.
12984         (minbrk): Remove.
12985         (errno, sbrk): Remove declarations.
12986         (monstartup) [hp300]: Remove.
12987         (mcount): Remove.
12989 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12991         * Makefile.in (cpu_type): Define.
12992         * config.host (i[34567]86-*-rtems*): Handle it.
12993         (i[34567]86-*-solaris2*): Move body ...
12994         (*-*-solaris2*): ... here.
12995         New case, generalize.
12996         (sparc-*-elf*): Handle it.
12997         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
12998         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
12999         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
13000         Fold into ...
13001         (sparc*-*-solaris2*): ... this.
13002         New case.
13003         (sparc64-*-elf*): Handle it.
13004         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
13005         Merge ../gcc/config/i386/gmon-sol2.c.
13006         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
13007         Use C comments.
13008         Merge ../gcc/config/i386/sol2-gc1.asm.
13009         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
13010         Use C comments.
13011         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
13012         Use C comments.
13013         * config/i386/t-crtfm (crtfastmath.o): Use $<.
13014         * config/i386/t-crtstuff: New file.
13015         * config/i386/t-softfp: New file.
13016         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
13017         $(T)crti.o, $(T)crtn.o): Remove.
13018         (gcrt1.o): New rule.
13019         (TARGET_LIBGCC2_CFLAGS): Remove.
13020         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
13021         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
13022         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
13023         * config/sparc/t-sol2: New file.
13024         * config/sparc/t-crtfm: Move to ...
13025         * config/t-crtfm: ... this.
13026         Use $(cpu_type), $<.
13027         * config/t-crtin: New file.
13028         * config/sparc/t-softfp: New file.
13029         * config/sparc/t-softmul: New file.
13030         * config/t-rtems: New file.
13031         * config/t-slibgcc: New file.
13032         * config/t-slibgcc-elf-ver: New file.
13033         * config/t-slibgcc-gld: New file.
13034         * config/t-slibgcc-sld: New file.
13035         * config/t-sol2: New file.
13036         * configure.ac: Include ../config/lib-ld.m4.
13037         Call AC_LIB_PROG_LD_GNU.
13038         Substitute cpu_type.
13039         * configure: Regenerate.
13041 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
13043         PR bootstrap/49173
13044         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
13045         libgcc-std.ver in the build directory.
13046         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
13047         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
13049 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
13051         * libgcc-std.ver.in: New file.
13052         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
13053         variables.
13054         (libgcc-std.ver): New rule.
13055         * config/t-gnu-prefix: New file.
13057 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
13059         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
13061 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
13063         * config/i386/darwin-lib.h: New file.
13065 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
13067         * config/arm/symbian-lib.h: New.
13069 2011-05-04  Chris Demetriou  <cgd@google.com>
13071         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
13072         (__x86.get_pc_thunk.bx): ...this.
13073         (__morestack): Adjust for rename, remove undef of __i686.
13075 2011-05-03  Chris Demetriou  <cgd@google.com>
13077         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
13079 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
13081         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
13082         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
13083         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
13084         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
13085         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
13086         Remove cases.
13088 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
13090         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
13091         Adjust copyright year.
13093 2011-03-07  Ian Lance Taylor  <iant@google.com>
13095         * generic-morestack.c (__splitstack_find): Adjust returned stack
13096         pointer to include all registers pushed by __morestack.
13098 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
13100         PR target/40125
13101         * configure.ac: Call ACX_NONCANONICAL_TARGET.
13102         (toolexecdir): Calculate and AC_SUBST.
13103         (toolexeclibdir): Likewise.
13104         * Makefile.in (target_noncanonical): Import.
13105         (toolexecdir): Likewise.
13106         (toolexeclibdir): Likewise.
13107         * configure: Regenerate.
13109 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
13111         PR target/46040
13112         * config/arm/bpabi.h: Rename to...
13113         * config/arm/bpabi-lib.h: ...this.
13115 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
13117         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
13118         appropriate.
13119         * configure: Regenerate.
13121 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
13123         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
13124         __FLOAT_WORD_ORDER__.
13125         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
13126         Delete.
13128 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
13130         PR other/46202
13131         * Makefile.in (install-strip): New phony target.
13133 2010-11-07  Ian Lance Taylor  <iant@google.com>
13135         PR target/46089
13136         * config/i386/morestack.S (__morestack_large_model): New
13137         function.
13139 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
13141         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
13142         Delete.
13143         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
13145 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
13147         * config/arm/bpabi.h: New file.
13148         * config/frv/frv-abi.h: New file.
13150 2010-10-01  Ian Lance Taylor  <iant@google.com>
13152         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
13153         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
13155 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
13157         PR target/45858
13158         * config.host: Add the missing `$'.
13160 2010-09-30  Michael Eager  <eager@eagercon.com>
13162         * config.host: Add microblaze*-*-*.
13163         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
13164         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
13165         udivsi3.asm,umodsi3.asm}:  New.
13167 2010-09-28  Ian Lance Taylor  <iant@google.com>
13169         * configure.ac: Adjust CFI test to test assembler directly rather
13170         than checking gcc preprocessor macro.
13171         * configure: Rebuild.
13173 2010-09-27  Ian Lance Taylor  <iant@google.com>
13175         * configure.ac: Test whether assembler supports CFI directives.
13176         * config.host: Only add t-stack and i386/t-stack-i386 to
13177         tmake_file if libgcc_cv_cfi is "yes".
13178         * configure: Rebuild.
13180 2010-09-27  Ian Lance Taylor  <iant@google.com>
13182         * generic-morestack.h: New file.
13183         * generic-morestack.c: New file.
13184         * generic-morestack-thread.c: New file.
13185         * config/i386/morestack.S: New file.
13186         * config/t-stack: New file.
13187         * config/i386/t-stack-i386: New file.
13188         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
13189         i386/t-stack-i386 to tmake_file.
13191 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
13193         * Makefile.in (libgcc-extra-parts):  Check for static archives and
13194         invoke ranlib after installing them.
13195         (gcc-extra-parts): Likewise.
13196         (install-leaf): Likewise.
13198 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
13200         * configure: Regenerated.
13202 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
13204         * configure: Regenerated.
13206 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
13207             Andrew Pinski  <pinskia@gmail.com>
13209         PR target/40959
13210         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
13212 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13214         PR target/45524
13215         * configure: Regenerated.
13217 2010-09-06  Andreas Schwab  <schwab@redhat.com>
13219         * configure: Regenerate.
13221 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
13223         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
13224         64bit targets.
13225         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
13226         for 64bit targets.
13228 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
13229             Iain Sandoe  <iains@gcc.gnu.org>
13231         PR target/45476
13232         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
13233         LIB2FUNCS_EXCLUDE functions.
13235 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13237         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
13238         Include dfp.m4.
13239         * configure: Regenerate.
13241 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
13243         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
13244         i386/t-freebsd to tmake_file.
13245         * config/i386/t-freebsd: New file.
13246         * config/i386/libgcc-bsd.ver: New file.
13248 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
13250         * config.host (powerpc*-eabispe*): Set tmake_file.
13251         (powerpc*-eabi*): Likewise.
13252         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
13253         crtbeginS, crtendS, crtbeginT.
13255 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
13257         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
13258         to tmake_file.  Add crtfastmath.o to extra_parts.
13259         * config/mips/t-crtfm: New.
13261 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
13263         * config.host (sparc64-*-rtems*): New target.
13265 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
13267         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
13268         assembler syntax.
13270 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
13272         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
13274 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
13276         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
13277         alpha-dec-osf5.0* support.
13279 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
13281         * config.host: Add lm32-*-rtems*.
13283 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
13284             Uros Bizjak  <ubizjak@gmail.com>
13286         PR target/39048
13287         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
13288         like other remaining 32-bit x86 OSes.
13289         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
13290         assembler syntax.
13291         * config/i386/libgcc-sol2.ver: New file.
13292         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
13294 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
13296         PR c/43553
13297         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
13298         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
13299         is used and substitute set_use_emutls.
13300         * configure: Regenerated.
13302 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
13304         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
13306 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
13308         PR target/38085
13309         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
13310         MULTILIB_CFLAGS.
13311         ($(T)gcrt1.o): Likewise.
13312         ($(T)crt1.o): Likewise.
13313         ($(T)crti.o): Likewise.
13314         ($(T)crtn.o): Likewise.
13316 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
13318         PR other/42980
13319         * Makefile.in (install): Use $(MAKE) string in rule, for
13320         parallel make.
13322 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
13324         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
13325         * config/mmix/t-mmix: New file.
13326         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
13328 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
13330         PR java/41991
13331         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
13332         SHLIB_MAPFILES.
13334 2010-01-04  Anthony Green  <green@moxielogic.com>
13336         * config/moxie/crti.asm, config/moxie/crtn.asm,
13337         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
13338         config/moxie/t-moxie: New files.
13339         * config.host: Add t-moxie-softfp reference.
13341 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
13343         PR other/39888
13344         * config/t-slibgcc-darwin: Fix embedded rpaths for
13345         --enable-version-specific-runtime-libs, build extension stub
13346         libs exposing features available from current libgcc_s.
13348 2009-11-11  Jon Beniston  <jon@beniston.com>
13350         * config.host: Add lm32 targets.
13351         * config/lm32: New directory.
13352         * config/lm32/libgcc_lm32.h: New file.
13353         * config/lm32/_mulsi3.c: New file.
13354         * config/lm32/_udivmodsi4.c: New file.
13355         * config/lm32/_divsi3.c: New file.
13356         * config/lm32/_modsi3.c: New file.
13357         * config/lm32/_udivsi3.c: New file.
13358         * config/lm32/_umodsi3.c: New file.
13359         * config/lm32/_lshrsi3.S: New file.
13360         * config/lm32/_ashrsi3.S: New file.
13361         * config/lm32/_ashlsi3.S: New file.
13362         * config/lm32/crti.S: New file.
13363         * config/lm32/crtn.S: New file.
13364         * config/lm32/t-lm32: New file.
13365         * config/lm32/t-elf: New file.
13366         * config/lm32/t-uclinux: New file.
13368 2009-10-26  Nick Clifton  <nickc@redhat.com>
13370         * config.host: Add support for RX target.
13371         * config/rx: New directory.
13372         * config/rx/rx-abi-functions.c: New file. Supplementary
13373         functions for libgcc to support the RX ABI.
13374         * config/rx/rx-abi.h: New file.  Supplementary header file for
13375         libgcc RX ABI functions.
13376         * config/rx/t-rx: New file: Makefile fragment for building
13377         libgcc for the RX.
13379 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
13381         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
13382         constraint of y0 to "g".
13384 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13386         * config.host: Include the s390 makefile fragments.
13387         * config/s390/32/_fixdfdi.c: New file.
13388         * config/s390/32/_fixsfdi.c: New file.
13389         * config/s390/32/_fixtfdi.c: New file.
13390         * config/s390/32/_fixunsdfdi.c: New file.
13391         * config/s390/32/_fixunssfdi.c: New file.
13392         * config/s390/32/_fixunstfdi.c: New file.
13393         * config/s390/32/t-floattodi: New file.
13394         * config/s390/libgcc-glibc.ver: New file.
13395         * config/s390/t-crtstuff: New file.
13396         * config/s390/t-linux: New file.
13397         * config/s390/t-tpf: New file.
13399 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
13401         * configure.ac (AC_PREREQ): Bump to 2.64.
13403 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
13405         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
13407 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
13409         * configure: Regenerate.
13411 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
13413         * config.host (ia64-hp-*vms*): New target.
13414         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
13415         with ia64-hp-*vms*.
13417 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
13419         * configure.ac: Add snippet for maintainer-mode.
13420         * configure: Regenerate.
13421         * Makefile.in (AUTOCONF, configure_deps): New variables.
13422         ($(srcdir)/configure)): New rule, active only with maintainer
13423         mode turned on.
13425 2009-06-23  DJ Delorie  <dj@redhat.com>
13427         Add MeP port.
13428         * config.host: Add mep support.
13430 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
13432         * config.host: Add i386/${host_address}/t-fprules-softfp and
13433         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
13435         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
13436         for mingw targets.
13437         * config/i386/64/_multc3.c: Likewise.
13438         * config/i386/64/_powitf2.c: Likewise.
13439         * config/i386/64/eqtf2.c: Likewise.
13440         * config/i386/64/getf2.c: Likewise.
13441         * config/i386/64/letf2.c: Likewise.
13442         * config/i386/64/letf2.c: Likewise.
13443         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
13444         unsigned long long for x64 mingw targets.
13445         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
13446         (_FP_I_TYPE): Define as long long for x64 mingw target.
13448 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
13450         * config.host (vax-*-linux*): New.
13452 2009-05-31  Anthony Green  <green@moxielogic.com>
13454         * config.host: Add moxie support.
13455         * config/moxie/t-moxie: New file.
13457 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
13459         * config.host: Add i386/${host_address}/t-fprules-softfp and
13460         t-softfp to tmake_file for i[34567]86-*-cygwin*.
13462 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
13464         * config.host: Add i386/${host_address}/t-fprules-softfp to
13465         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
13467 2009-04-09  Nick Clifton  <nickc@redhat.com>
13469         * config/ia64/tf-signs.c: Change copyright header to refer to
13470         version 3 of the GNU General Public License with version 3.1
13471         of the GCC Runtime Library Exception and to point readers at
13472         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
13473         web page.
13474         * config/i386/32/tf-signs.c: Likewise.
13475         * config/libbid/_addsub_dd.c: Likewise.
13476         * config/libbid/_addsub_sd.c: Likewise.
13477         * config/libbid/_addsub_td.c: Likewise.
13478         * config/libbid/_dd_to_df.c: Likewise.
13479         * config/libbid/_dd_to_di.c: Likewise.
13480         * config/libbid/_dd_to_sd.c: Likewise.
13481         * config/libbid/_dd_to_sf.c: Likewise.
13482         * config/libbid/_dd_to_si.c: Likewise.
13483         * config/libbid/_dd_to_td.c: Likewise.
13484         * config/libbid/_dd_to_tf.c: Likewise.
13485         * config/libbid/_dd_to_udi.c: Likewise.
13486         * config/libbid/_dd_to_usi.c: Likewise.
13487         * config/libbid/_dd_to_xf.c: Likewise.
13488         * config/libbid/_df_to_dd.c: Likewise.
13489         * config/libbid/_df_to_sd.c: Likewise.
13490         * config/libbid/_df_to_td.c: Likewise.
13491         * config/libbid/_di_to_dd.c: Likewise.
13492         * config/libbid/_di_to_sd.c: Likewise.
13493         * config/libbid/_di_to_td.c: Likewise.
13494         * config/libbid/_div_dd.c: Likewise.
13495         * config/libbid/_div_sd.c: Likewise.
13496         * config/libbid/_div_td.c: Likewise.
13497         * config/libbid/_eq_dd.c: Likewise.
13498         * config/libbid/_eq_sd.c: Likewise.
13499         * config/libbid/_eq_td.c: Likewise.
13500         * config/libbid/_ge_dd.c: Likewise.
13501         * config/libbid/_ge_sd.c: Likewise.
13502         * config/libbid/_ge_td.c: Likewise.
13503         * config/libbid/_gt_dd.c: Likewise.
13504         * config/libbid/_gt_sd.c: Likewise.
13505         * config/libbid/_gt_td.c: Likewise.
13506         * config/libbid/_isinfd128.c: Likewise.
13507         * config/libbid/_isinfd32.c: Likewise.
13508         * config/libbid/_isinfd64.c: Likewise.
13509         * config/libbid/_le_dd.c: Likewise.
13510         * config/libbid/_le_sd.c: Likewise.
13511         * config/libbid/_le_td.c: Likewise.
13512         * config/libbid/_lt_dd.c: Likewise.
13513         * config/libbid/_lt_sd.c: Likewise.
13514         * config/libbid/_lt_td.c: Likewise.
13515         * config/libbid/_mul_dd.c: Likewise.
13516         * config/libbid/_mul_sd.c: Likewise.
13517         * config/libbid/_mul_td.c: Likewise.
13518         * config/libbid/_ne_dd.c: Likewise.
13519         * config/libbid/_ne_sd.c: Likewise.
13520         * config/libbid/_ne_td.c: Likewise.
13521         * config/libbid/_sd_to_dd.c: Likewise.
13522         * config/libbid/_sd_to_df.c: Likewise.
13523         * config/libbid/_sd_to_di.c: Likewise.
13524         * config/libbid/_sd_to_sf.c: Likewise.
13525         * config/libbid/_sd_to_si.c: Likewise.
13526         * config/libbid/_sd_to_td.c: Likewise.
13527         * config/libbid/_sd_to_tf.c: Likewise.
13528         * config/libbid/_sd_to_udi.c: Likewise.
13529         * config/libbid/_sd_to_usi.c: Likewise.
13530         * config/libbid/_sd_to_xf.c: Likewise.
13531         * config/libbid/_sf_to_dd.c: Likewise.
13532         * config/libbid/_sf_to_sd.c: Likewise.
13533         * config/libbid/_sf_to_td.c: Likewise.
13534         * config/libbid/_si_to_dd.c: Likewise.
13535         * config/libbid/_si_to_sd.c: Likewise.
13536         * config/libbid/_si_to_td.c: Likewise.
13537         * config/libbid/_td_to_dd.c: Likewise.
13538         * config/libbid/_td_to_df.c: Likewise.
13539         * config/libbid/_td_to_di.c: Likewise.
13540         * config/libbid/_td_to_sd.c: Likewise.
13541         * config/libbid/_td_to_sf.c: Likewise.
13542         * config/libbid/_td_to_si.c: Likewise.
13543         * config/libbid/_td_to_tf.c: Likewise.
13544         * config/libbid/_td_to_udi.c: Likewise.
13545         * config/libbid/_td_to_usi.c: Likewise.
13546         * config/libbid/_td_to_xf.c: Likewise.
13547         * config/libbid/_tf_to_dd.c: Likewise.
13548         * config/libbid/_tf_to_sd.c: Likewise.
13549         * config/libbid/_tf_to_td.c: Likewise.
13550         * config/libbid/_udi_to_dd.c: Likewise.
13551         * config/libbid/_udi_to_sd.c: Likewise.
13552         * config/libbid/_udi_to_td.c: Likewise.
13553         * config/libbid/_unord_dd.c: Likewise.
13554         * config/libbid/_unord_sd.c: Likewise.
13555         * config/libbid/_unord_td.c: Likewise.
13556         * config/libbid/_usi_to_dd.c: Likewise.
13557         * config/libbid/_usi_to_sd.c: Likewise.
13558         * config/libbid/_usi_to_td.c: Likewise.
13559         * config/libbid/_xf_to_dd.c: Likewise.
13560         * config/libbid/_xf_to_sd.c: Likewise.
13561         * config/libbid/_xf_to_td.c: Likewise.
13562         * config/libbid/bid128.c: Likewise.
13563         * config/libbid/bid128_2_str.h: Likewise.
13564         * config/libbid/bid128_2_str_macros.h: Likewise.
13565         * config/libbid/bid128_2_str_tables.c: Likewise.
13566         * config/libbid/bid128_add.c: Likewise.
13567         * config/libbid/bid128_compare.c: Likewise.
13568         * config/libbid/bid128_div.c: Likewise.
13569         * config/libbid/bid128_fma.c: Likewise.
13570         * config/libbid/bid128_logb.c: Likewise.
13571         * config/libbid/bid128_minmax.c: Likewise.
13572         * config/libbid/bid128_mul.c: Likewise.
13573         * config/libbid/bid128_next.c: Likewise.
13574         * config/libbid/bid128_noncomp.c: Likewise.
13575         * config/libbid/bid128_quantize.c: Likewise.
13576         * config/libbid/bid128_rem.c: Likewise.
13577         * config/libbid/bid128_round_integral.c: Likewise.
13578         * config/libbid/bid128_scalb.c: Likewise.
13579         * config/libbid/bid128_sqrt.c: Likewise.
13580         * config/libbid/bid128_string.c: Likewise.
13581         * config/libbid/bid128_to_int16.c: Likewise.
13582         * config/libbid/bid128_to_int32.c: Likewise.
13583         * config/libbid/bid128_to_int64.c: Likewise.
13584         * config/libbid/bid128_to_int8.c: Likewise.
13585         * config/libbid/bid128_to_uint16.c: Likewise.
13586         * config/libbid/bid128_to_uint32.c: Likewise.
13587         * config/libbid/bid128_to_uint64.c: Likewise.
13588         * config/libbid/bid128_to_uint8.c: Likewise.
13589         * config/libbid/bid32_to_bid128.c: Likewise.
13590         * config/libbid/bid32_to_bid64.c: Likewise.
13591         * config/libbid/bid64_add.c: Likewise.
13592         * config/libbid/bid64_compare.c: Likewise.
13593         * config/libbid/bid64_div.c: Likewise.
13594         * config/libbid/bid64_fma.c: Likewise.
13595         * config/libbid/bid64_logb.c: Likewise.
13596         * config/libbid/bid64_minmax.c: Likewise.
13597         * config/libbid/bid64_mul.c: Likewise.
13598         * config/libbid/bid64_next.c: Likewise.
13599         * config/libbid/bid64_noncomp.c: Likewise.
13600         * config/libbid/bid64_quantize.c: Likewise.
13601         * config/libbid/bid64_rem.c: Likewise.
13602         * config/libbid/bid64_round_integral.c: Likewise.
13603         * config/libbid/bid64_scalb.c: Likewise.
13604         * config/libbid/bid64_sqrt.c: Likewise.
13605         * config/libbid/bid64_string.c: Likewise.
13606         * config/libbid/bid64_to_bid128.c: Likewise.
13607         * config/libbid/bid64_to_int16.c: Likewise.
13608         * config/libbid/bid64_to_int32.c: Likewise.
13609         * config/libbid/bid64_to_int64.c: Likewise.
13610         * config/libbid/bid64_to_int8.c: Likewise.
13611         * config/libbid/bid64_to_uint16.c: Likewise.
13612         * config/libbid/bid64_to_uint32.c: Likewise.
13613         * config/libbid/bid64_to_uint64.c: Likewise.
13614         * config/libbid/bid64_to_uint8.c: Likewise.
13615         * config/libbid/bid_b2d.h: Likewise.
13616         * config/libbid/bid_binarydecimal.c: Likewise.
13617         * config/libbid/bid_conf.h: Likewise.
13618         * config/libbid/bid_convert_data.c: Likewise.
13619         * config/libbid/bid_decimal_data.c: Likewise.
13620         * config/libbid/bid_decimal_globals.c: Likewise.
13621         * config/libbid/bid_div_macros.h: Likewise.
13622         * config/libbid/bid_dpd.c: Likewise.
13623         * config/libbid/bid_flag_operations.c: Likewise.
13624         * config/libbid/bid_from_int.c: Likewise.
13625         * config/libbid/bid_functions.h: Likewise.
13626         * config/libbid/bid_gcc_intrinsics.h: Likewise.
13627         * config/libbid/bid_inline_add.h: Likewise.
13628         * config/libbid/bid_internal.h: Likewise.
13629         * config/libbid/bid_round.c: Likewise.
13630         * config/libbid/bid_sqrt_macros.h: Likewise.
13632 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
13634         * Makefile.in: Change copyright header to refer to version
13635         3 of the GNU General Public License and to point readers at the
13636         COPYING3 file and the FSF's license web page.
13637         * config.host: Likewise.
13639 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
13641         * config.host: Reorder and merge to match config.gcc change.
13643 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
13645         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
13647 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
13649         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
13650         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
13651         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
13652         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
13654 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
13656         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
13657         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
13659 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
13661         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
13662         ia64/t-softfp-compat to tmake_file.
13664         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
13666         * config/ia64/__divxf3.asm: New.
13667         * config/ia64/_fixtfdi.asm: Likewise.
13668         * config/ia64/_fixunstfdi.asm: Likewise.
13669         * config/ia64/_floatditf.asm: Likewise.
13670         * config/ia64/t-fprules-softfp: Likewise.
13671         * config/ia64/t-softfp-compat: Likewise.
13672         * config/ia64/tf-signs.c: Likewise.
13674 2009-01-18  Ben Elliston  <bje@au.ibm.com>
13676         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
13678 2009-01-16  Ben Elliston  <bje@au.ibm.com>
13680         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
13681         to tmake_file.
13683 2009-01-13  Ben Elliston  <bje@au.ibm.com>
13685         * config/t-softfp: New file.
13686         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
13687         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
13689 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
13691         * config.host: Add m32r*-*-rtems*.
13693 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
13695         * config.host: Add m32c*-*-rtems*.
13697 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
13699         PR bootstrap/33100
13700         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
13701         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
13702         * configure: Regenerate.
13703         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
13704         tmake_file here from gcc/config.gcc.
13705         Move extra_parts here from gcc/config.gcc.
13706         * config/i386/t-sol2: Move here from gcc/config/i386.
13707         Use gcc_srcdir instead of srcdir.
13709 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
13711         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
13712         case.
13714 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
13716         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
13718 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
13720         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
13722 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
13724         Add picoChip port.
13725         * config.host: Add picochip-*-*.
13727 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
13729         * config.host: Match more processor names for Xtensa.
13731 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
13733         * config/i386/64/t-softfp-compat: Update comments.
13735 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13737         * config/i386/64/_divtc3-compat.c: Moved to ...
13738         * config/i386/64/_divtc3.c: Here.
13740         * config/i386/64/_multc3-compat.c: Moved to ...
13741         * config/i386/64/_multc3.c: Here.
13743         * config/i386/64/_powitf2-compat.c: Moved to ...
13744         * config/i386/64/_powitf2.c: Here.
13746         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
13747         .c suffix instead of -compat.c.
13749 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
13751         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
13752         (_FP_MUL_MEAT_D): Ditto.
13753         (_FP_DIV_MEAT_S): Ditto.
13754         (_FP_DIV_MEAT_D): Ditto.
13756 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
13758         * Makefile.in: Add support for __sync_* libgcc functions.
13760 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
13762         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
13764 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
13766         PR boostrap/36702
13767         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
13768         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
13770         * config/i386/64/t-fprules-softfp: Moved to ...
13771         * config/i386/64/t-softfp-compat: This.  New.
13773 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
13775         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
13776         Initialize f with 0.0.
13778 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
13780         PR target/36669
13781         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
13783         * config/i386/64/_divtc3-compat.c: New.
13784         * config/i386/64/_multc3-compat.c: Likewise.
13785         * config/i386/64/_powitf2-compat.c: Likewise.
13786         * config/i386/64/eqtf2.c: Likewise.
13787         * config/i386/64/getf2.c: Likewise.
13788         * config/i386/64/letf2.c: Likewise.
13789         * config/i386/64/t-fprules-softfp: Likewise.
13791 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
13793         * config.host: Add i386/${host_address}/t-fprules-softfp to
13794         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
13795         i[34567]86-*-linux*, x86_64-*-linux*.
13797         * configure.ac: Set host_address to 64 or 32 for x86.
13798         * configure: Regenerated.
13800         * Makefile.in (config.status): Also depend on
13801         $(srcdir)/config.host.
13803         * config/i386/32/t-fprules-softfp: New.
13804         * config/i386/32/tf-signs.c: Likewise.
13806         * config/i386/64/sfp-machine.h: New. Moved from gcc.
13808 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
13809             Uros Bizjak  <ubizjak@gmail.com>
13811         * config/i386/32/sfp-machine.h: New.
13813 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
13815         * config/rs6000/t-ppccomm: Remove rules that conflict with
13816         auto-generated rules.
13818 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
13820         * configure.ac: sinclude override.m4.
13821         * configure: Regenerate.
13823 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
13825         * configure: Regenerate.
13827 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
13829         * Makefile.in (DECNUMINC): Remove
13830         -I$(MULTIBUILDTOP)../../libdecnumber.
13831         * gstdint.h: New.
13833 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
13835         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
13836         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
13837         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
13838         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
13839         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
13840         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
13841         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
13842         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
13843         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
13844         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
13845         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
13846         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
13847         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
13848         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
13850 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
13852         * config.host (sh2[lbe]*-*-linux*): Allow target.
13854 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
13856         * config/rs6000/t-ppccomm: Add build rules for new files.
13857         (LIB2ADD_ST): New variable.
13859 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
13861         PR target/34210
13862         PR target/35508
13863         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
13864         * config/t-avr: New file. Build 16bit libgcc functions.
13866 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
13868         PR target/35401
13869         * config/t-slibgcc-darwin: Make install-leaf dependent on
13870         install-darwin-libgcc-stubs instead of install.
13872 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
13874         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
13875         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
13876         sh-*-rtemscoff*): Remove cases.
13878 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
13880         * Makefile.in (all): Use install-leaf rather than install.
13881         (install): Split most of the rule into...
13882         (install-leaf): ...this new one.
13884 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
13885             Paolo Bonzini  <bonzini@gnu.org>
13887         PR target/30572
13888         * Makefile.in: Use @shlib_slibdir@ substitution to get
13889         correct install name on darwin.
13890         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
13892 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
13894         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
13895         cris-*-elf and cris-*-none.
13896         (crisv32-*-linux*): Similar, as cris-*-linux*.
13898 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
13900         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
13902 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
13904         PR regression/33926
13905         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
13906         * configure: Regenerated.
13908 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
13910         * Makefile.in (dfp-filenames): Replace decimal_globals,
13911         decimal_data, binarydecimal and convert_data with
13912         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
13913         and bid_convert_data, respectively.
13915 2007-09-17  Chao-ying Fu  <fu@mips.com>
13916             Nigel Stephens  <nigel@mips.com>
13918         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
13919         * Makefile.in (fixed_point): Define.
13920         Check if fixed_point is yes to build support functions.
13921         * configure.ac: Check for fixed_point support.
13922         * configure: Regenerated.
13923         * gen-fixed.sh: New file to generate lists of fixed-point labels,
13924         funcs, modes, from, to.
13926 2007-09-11  Janis Johnson  <janis187@us.ibm.com
13928         * Makefile.in (dfp-filenames): Add bid128_noncomp.
13930 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
13932         * Makefile.in (dfp-filenames): Remove decUtility, add
13933         decDouble, decPacked, decQuad, decSingle.
13935 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
13937         * config.host : Add x86_64-elf target.
13939 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
13941         * configure.ac (set_have_cc_tls): Add a missing =.
13942         * configure: Regenerated.
13944 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
13946         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
13947         and x86_64-*-linux*.
13949         * config/t-tls: New file.
13951         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
13953         * configure.ac: Include ../config/enable.m4 and
13954         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
13955         supports TLS and substitute set_have_cc_tls.
13956         * configure: Regenerated.
13958 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
13960         * Makefile.in: Use libbid for DFP when BID is enabled.
13962 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
13964         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
13965         extra_parts. Add config/i386/t-cygming to tmake_file.
13966         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
13968 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
13969             Danny Smith  <dannysmith@users.sourceforge.net>
13971         PR target/29498
13972         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
13973         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
13974         * config/i386/t-crtfm: Compile crtfastmath.o with
13975         -minline-all-stringops.
13977 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
13979         * config.host (sparc-wrs-vxworks): New target.
13981 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
13983         * config.host: Recognize fido.
13985 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
13987         * configure: Check host, not target, for decimal float support.
13989 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
13991         * config/i386/t-crtpc: New file.
13992         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
13993         (x86_64-*-linux*): Ditto.
13995 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
13997         * config.host (x86_64-*-mingw*): New target.
13999 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
14000             H.J. Lu  <hongjiu.lu@intel.com>
14002         * Makefile.in (enable_decimal_float): New.
14003         (DECNUMINC): Add
14004         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
14005         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
14006         (decbits-filenames): This.
14007         (decbits-objects): New.
14008         (libgcc-objects): Add $(decbits-objects).
14010         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
14011         Substitute enable_decimal_float.
14012         * configure: Regenerated.
14014 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
14016         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
14018 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
14020         * Makefile.in (install-info): New dummy target.
14022 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
14024         * config.host (bfin*-linux-uclibc*): Set extra_parts.
14026 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
14028         * Makefile.in: Add install-html and install-pdf dummy
14029         targets.
14031 2007-02-05  Roger Sayle  <roger@eyesopen.com>
14032             Daniel Jacobowitz  <dan@codesourcery.com>
14034         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
14035         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
14036         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
14038 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
14040         * Makefile.in (dec-filenames): Add decExcept.
14042 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
14044         PR bootstrap/30469
14045         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
14046         -fprofile-use.
14048 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
14050         * configure.ac: Add --enable-version-specific-runtime-libs.
14051         Correct $slibdir default.
14052         * configure: Regenerated.
14054 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
14056         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
14058 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
14060         PR target/30519
14061         * config.host (alpha*-*-linux*): Set extra_parts.
14063 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
14065         * config/sh/t-linux: New.
14066         * config.host (sh*-*-linux*): Set tmake_file.
14068 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
14070         * Makefile.in (install): Handle multilibs.
14072 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
14074         * Makefile.in: Added .PHONY entry for documentation targets.
14076 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
14078         * Makefile.in: Add empty info, html, dvi, pdf targets.
14080 2007-01-04  Mike Stump  <mrs@apple.com>
14082         * Makefile.in (MAKEINFO): Remove.
14083         (PERL): Likewise.
14085 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
14087         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
14088         * configure: Regenerate.
14089         * Makefile.in (host_subdir): Substitute it.
14090         (gcc_objdir): Use it.
14092 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
14094         * config.host (ia64*-*-linux*): Set tmake_file.
14096 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
14098         * Makefile.in (version): Define.
14100 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
14101             Paolo Bonzini  <bonzini@gnu.org>
14103         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
14104         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
14105         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
14106         config/sparc/t-crtfm, config/t-slibgcc-darwin,
14107         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
14108         shared-object.mk, siditi-object.mk, static-object.mk: New files.
14109         * configure: Generated.
14111 Copyright (C) 2007-2024 Free Software Foundation, Inc.
14113 Copying and distribution of this file, with or without modification,
14114 are permitted in any medium without royalty provided the copyright
14115 notice and this notice are preserved.