12024-06-20  Release Manager
2
3	* GCC 12.4.0 released.
4
52024-06-12  Andre Vieira  <andre.simoesdiasvieira@arm.com>
6
7	Backported from master:
8	2024-06-06  Andre Vieira  <andre.simoesdiasvieira@arm.com>
9
10	PR target/115360
11	* config/arm/cmse_nonsecure_call.S: Add .type and .size directives.
12
132024-04-12  Iain Sandoe  <iain@sandoe.co.uk>
14
15	Backported from master:
16	2022-12-24  Iain Sandoe  <iain@sandoe.co.uk>
17
18	* config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
19	install of libgcc_s.1.dylib when the installation is into the build
20	gcc directory.
21
222024-01-13  Sandra Loosemore  <sandra@codesourcery.com>
23
24	Backported from master:
25	2024-01-12  Sandra Loosemore  <sandra@codesourcery.com>
26
27	* unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Do not try to use
28	_dl_find_object on nios2; it doesn't work.
29
302023-05-21  Iain Sandoe  <iain@sandoe.co.uk>
31
32	Backported from master:
33	2023-05-19  Iain Sandoe  <iain@sandoe.co.uk>
34
35	* config.host: Arrange to set min Darwin OS versions from
36	the configured host version.
37	* config/darwin10-unwind-find-enc-func.c: Do not use current
38	headers, but declare the nexessary structures locally to the
39	versions in use for Mac OSX 10.6.
40	* config/t-darwin: Amend to handle configured min OS
41	versions.
42	* config/t-darwin-min-1: New.
43	* config/t-darwin-min-5: New.
44	* config/t-darwin-min-8: New.
45
462023-05-08  Release Manager
47
48	* GCC 12.3.0 released.
49
502022-08-19  Release Manager
51
52	* GCC 12.2.0 released.
53
542022-05-16  Sebastian Pop  <spop@amazon.com>
55
56	PR target/105162
57	* config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
58	* config/aarch64/t-lse: Add a 5th memory model for _sync functions.
59
602022-05-13  Martin Liska  <mliska@suse.cz>
61
62	Backported from master:
63	2022-05-11  Martin Liska  <mliska@suse.cz>
64		    Hans-Peter Helfert  <peter-helfert@t-online.de>
65
66	PR gcov-profile/105535
67	* libgcov.h (struct gcov_info): Use gcov_unsigned_t for
68	n_functions.
69
702022-05-06  Release Manager
71
72	* GCC 12.1.0 released.
73
742022-04-08  Sergei Trofimovich  <siarheit@google.com>
75
76	* config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
77
782022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
79	    Lulu Cheng  <chenglulu@loongson.cn>
80
81	* configure: Regenerate file.
82
832022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
84	    Lulu Cheng  <chenglulu@loongson.cn>
85
86	* config/loongarch/crtfastmath.c: New file.
87	* config/loongarch/linux-unwind.h: Like wise.
88	* config/loongarch/sfp-machine.h: Like wise.
89	* config/loongarch/t-crtstuff: Like wise.
90	* config/loongarch/t-loongarch: Like wise.
91	* config/loongarch/t-loongarch64: Like wise.
92	* config/loongarch/t-softfp-tf: Like wise.
93	* config.host: Add LoongArch tuples.
94	* configure.ac: Add LoongArch support.
95
962022-03-19  Sergei Trofimovich  <slyfox at gentoo dot org>
97
98	PR libgcc/86224
99	* config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
100	for __mulsi3.
101	(__udivsi3_internal, __divsi3_internal): Similarly.
102	(__umodsi3, __modsi3): Use the internal function names.
103
1042022-03-09  Tobias Burnus  <tobias@codesourcery.com>
105
106	PR target/102215
107	* config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
108	a line up to non-arg-dependent value first.
109	(__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
110	__atomic_compare_exchange_{1,2}.
111
1122022-03-04  Iain Sandoe  <iain@sandoe.co.uk>
113
114	* config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
115	* config/t-darwin-ehs: Add dependency on unwind.h.
116
1172022-02-24  Xi Ruoyao  <xry111@mengyan1223.wang>
118
119	* unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
120	with 0 instead of NULL.
121
1222022-02-24  Jose E. Marchesi  <jose.marchesi@oracle.com>
123
124	PR target/104656
125	* configure.ac: --disable-gcov if targetting bpf-*.
126	* configure: Regenerate.
127
1282022-01-25  Florian Weimer  <fweimer@redhat.com>
129
130	PR libgcc/104207
131	* unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
132
1332022-01-17  Martin Liska  <mliska@suse.cz>
134
135	* libgcov-driver.c: Rename .c names to .cc.
136
1372022-01-15  David  <gccbugzilla@limegreensocks.com>
138
139	* config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
140	Remove inlined version, Windows 95 is no longer relevant.
141	* config/i386/gthr-win32.h
142	(__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
143
1442022-01-14  Claudiu Zissulescu  <claziss@synopsys.com>
145
146	* config/arc/linux-unwind.h (arc_fallback_frame_state): Use
147	DWARF_ALT_FRAME_RETURN_COLUMN macro.
148
1492022-01-04  Florian Weimer  <fweimer@redhat.com>
150
151	* unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
152	if available.
153
1542022-01-02  John David Anglin  <danglin@gcc.gnu.org>
155
156	* config/pa/linux-atomic.c (_ASM_EFAULT): Define.
157	(__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
158	return is not equal _ASM_EFAULT.
159	(__kernel_cmpxchg2): Likewise.
160
1612021-12-17  Iain Sandoe  <iain@sandoe.co.uk>
162
163	* config.host: Add shim declaration header to powerpc*-darwin builds.
164	* config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
165	file.
166	* config/t-darwin-ehs: Add dependencies to the shared unwinder
167	objects.
168	* config/t-slibgcc-darwin: Add extra_parts to the dependencies for
169	the shared EH lib.  Add all-multi to the dependencies for the
170	libgcc_s.1.dylib redirections.
171
1722021-12-13  Olivier Hainque  <hainque@adacore.com>
173
174	* config.host (powerpc*-*-vxworks7*): Remove
175	rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
176
1772021-12-13  Olivier Hainque  <hainque@adacore.com>
178
179	* config.host (*vxworks*): Remove special case for
180	arm on the use of vxcrtstuff.
181
1822021-12-13  Fred Konrad  <konrad@adacore.com>
183	    Olivier Hainque  <hainque@adacore.com>
184
185	* config/t-vxcrtstuffS: New Makefile fragment.
186	* config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
187	functions for INITFINI_ARRAY support in shared libs and guard
188	the definition of eh table registration functions on conditions
189	indicating they are needed.
190
1912021-12-13  Olivier Hainque  <hainque@adacore.com>
192
193	* config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
194	ahead of the other files in tmake_files.
195	* config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
196	overriding it.
197
1982021-12-13  Olivier Hainque  <hainque@adacore.com>
199
200	* config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
201	both VxWorks7 and earlier.
202	* config/t-vxworks7: Remove.
203	* config.host: Remove special case for vxworks7.
204
2052021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
206
207	* config/vxcrtstuff.c: Make constructor and destructor
208	functions static when possible.
209
2102021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
211
212	* config/vxcrtstuff.c: Remove constructor/destructor
213	declarations.
214
2152021-12-10  Iain Sandoe  <iain@sandoe.co.uk>
216
217	* config/t-darwin: Add libgcc_tm.h to the dependencies
218	for darwin10-unwind-find-enc-func.
219
2202021-12-10  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
221
222	* config/rs6000/t-vxworks: New file.
223	* config.host (powerpc*-*-vxworks*): Use it instead of
224	t-ppccomm.
225
2262021-12-09  Fred Konrad  <konrad@adacore.com>
227
228	* config.host (powerpc*-wrs-vxworks7*): Fix path to
229	rs6000/t-ppc64-fp, relative to config/ not libgcc/.
230
2312021-12-09  Olivier Hainque  <hainque@adacore.com>
232	    Rasmus Villemoes  <rv@rasmusvillemoes.dk>
233
234	* config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
235	$(LIBGCC2_INCLUDES).
236	* config/t-vxworks7: Likewise.
237
2382021-12-08  Iain Sandoe  <iain@sandoe.co.uk>
239
240	* config.host (*-*-darwin*): Add logic to build a shared
241	unwinder library for Darwin8-10.
242	* config/i386/t-darwin: Build legacy libgcc_s.1.
243	* config/rs6000/t-darwin: Likewise.
244	* config/t-darwin: Reorganise the EH fragments to place
245	them for inclusion in a shared EH lib.
246	* config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
247	the supporting pieces (all FAT libs).
248	* config/t-darwin-noeh: Removed.
249	* config/darwin-unwind.ver: New file.
250	* config/rs6000/t-darwin-ehs: New file.
251	* config/t-darwin-ehs: New file.
252
2532021-12-06  Nelson Chu  <nelson.chu@sifive.com>
254
255	* config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
256	then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
257	* config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
258	HIDDEN_DEF.
259
2602021-11-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
261
262	* config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
263	ssize_t and vfork after including auto-host.h.
264
2652021-11-29  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
266
267	* config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
268	crtend.o to extra_parts.
269
2702021-11-27  John David Anglin  <danglin@gcc.gnu.org>
271
272	* config/pa/t-dimode (lib2difuncs): Fix typo.
273
2742021-11-25  Florian Weimer  <fweimer@redhat.com>
275
276	* unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
277	Remove func, ret.
278	(find_fde_tail): New function.  Split from
279	_Unwind_IteratePhdrCallback.  Move the result initialization
280	from _Unwind_Find_FDE.
281	(_Unwind_Find_FDE): Updated to call find_fde_tail.
282
2832021-11-22  Florian Weimer  <fweimer@redhat.com>
284
285	* unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
286	(struct unw_eh_callback_data): Make dbase member conditional.
287	(unw_eh_callback_data_dbase): New function.
288	(base_from_cb_data): Simplify for the non-dbase case.
289	(_Unwind_IteratePhdrCallback): Adjust.
290	(_Unwind_Find_FDE): Likewise.
291
2922021-11-22  Florian Weimer  <fweimer@redhat.com>
293
294	* unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
295	tbase member.
296	(base_from_cb_data): Adjust.
297	(_Unwind_IteratePhdrCallback): Likewise.
298	(_Unwind_Find_FDE): Likewise.
299
3002021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
301
302	* config.host: Add weak emutls crt to the extra_parts.
303	* config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
304	workaround.
305	* config/libgcc-libsystem.ver: Add exclude list for the system-
306	provided unwinder.
307	* config/t-slibgcc-darwin: Bump SO version, remove stubs code.
308	* config/i386/libgcc-darwin.10.4.ver: Removed.
309	* config/i386/libgcc-darwin.10.5.ver: Removed.
310	* config/rs6000/libgcc-darwin.10.4.ver: Removed.
311	* config/rs6000/libgcc-darwin.10.5.ver: Removed.
312	* config/t-darwin-noeh: New file.
313
3142021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
315
316	* config/t-darwin: Build weak-defined emutls objects.
317	* emutls.c (__emutls_get_address): Add optional attributes.
318	(__emutls_register_common): Likewise.
319	(EMUTLS_ATTR): New.
320
3212021-11-11  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
322
323	PR libgcc/103044
324	* config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
325	called with a null argument or at the end of the backtrace and return.
326	* unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
327
3282021-11-10  Jakub Jelinek  <jakub@redhat.com>
329
330	* config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
331	formatting fix.
332
3332021-11-05  Iain Sandoe  <iain@sandoe.co.uk>
334
335	* config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
336	* config/i386/darwin-lib.h: Declare Darwin10 crt function.
337
3382021-11-05  John David Anglin  <danglin@gcc.gnu.org>
339
340	PR libgomp/96661
341	* config.host (hppa*64*-*-linux*): Revise tmake_file.
342	(hppa*64*-*-hpux11*): Likewise.
343	* config/pa/sfp-exceptions.c: New.
344	* config/pa/sfp-machine.h: New.
345	* config/pa/t-dimode: New.
346	* config/pa/t-softfp-sfdftf: New.
347
3482021-10-27  John David Anglin  <danglin@gcc.gnu.org>
349
350	* config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
351	tmake_file.
352	* config/pa/linux-atomic.c: Define u8, u16 and u64 types.
353	Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
354	SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
355	* config/pa/t-linux64 (LIB1ASMSRC): New define.
356	(LIB1ASMFUNCS): Revise.
357	(HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
358
3592021-10-22  Stafford Horne  <shorne@gmail.com>
360
361	* config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
362	Change to 0.
363
3642021-10-14  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
365
366	* config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
367	outside of get_regs() in order to use it in another function, this
368	is done twice: for __powerpc64__ and for !__powerpc64__.
369	(struct trace_arg): New struct.
370	(struct layout): New struct.
371	(ppc_backchain_fallback): New function.
372	* unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
373	state and call MD_BACKCHAIN_FALLBACK.
374
3752021-10-13  Martin Liska  <mliska@suse.cz>
376
377	PR gcov-profile/90364
378	* libgcov-driver.c (merge_one_data): Skip timestamp and verify
379	checksums.
380	(write_one_data): Write also checksum.
381	* libgcov-util.c (read_gcda_file): Read also checksum field.
382	* libgcov.h (struct gcov_info): Add new field.
383
3842021-10-08  Ian Lance Taylor  <iant@golang.org>
385
386	* config/i386/morestack.S: Use .init_array for constructor if
387	available.
388	* config/rs6000/morestack.S: Likewise.
389	* config/s390/morestack.S: Likewise.
390
3912021-10-03  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
392
393	PR target/101104
394	* libgcc2.c (RMIN2, RMINSCAL, RMAX2):
395	Use more correct values for native IBM 128-bit.
396
3972021-09-28  Iain Sandoe  <iain@sandoe.co.uk>
398
399	* config/i386/libgcc-darwin.ver: Add Symbols for
400	__cpu_model, __cpu_indicator_init.
401
4022021-09-22  Iain Sandoe  <iain@sandoe.co.uk>
403
404	* config/i386/sfp-machine.h: Guard Mach-O-specific code
405	using __APPLE__.
406
4072021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
408
409	* config/t-slibgcc-darwin: Delete unused code.
410
4112021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
412
413	* config/i386/t-darwin: Add in a vers file for X86-specific
414	symbols.
415	* config/t-darwin: Add the generic symbol maps here...
416	* config/t-slibgcc-darwin: ... removing from here.
417	* config/i386/libgcc-darwin.ver: New file.
418
4192021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
420
421	* config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
422	and __mulhc3.
423
4242021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
425
426	* config.host: Use convenience library for Darwin10
427	unwinder shim.
428	* config/t-darwin: Build Darwin10 unwinder shim as a
429	convenience library.
430
4312021-09-13  Andrew Pinski  <apinski@marvell.com>
432
433	* config.host: Remove m32r-*-linux* and m32rle-*-linux*.
434	* config/m32r/libgcc-glibc.ver: Removed.
435	* config/m32r/t-linux: Removed.
436
4372021-09-08  liuhongt  <hongtao.liu@intel.com>
438
439	* config/i386/t-softfp: Compile __{mul,div}hc3 into
440	libgcc_s.so.1.
441
4422021-09-08  Jakub Jelinek  <jakub@redhat.com>
443	    Iain Sandoe  <iain@sandoe.co.uk>
444
445	* config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
446	and export *hf* and *hc* functions at GCC_12.0.0.
447
4482021-09-06  liuhongt  <hongtao.liu@intel.com>
449
450	* Makefile.in: Adjust to support specific CFLAGS for each
451	libgcc source file.
452	* config/i386/64/t-softfp: Explicitly add -msse2 for HF
453	related libgcc source files.
454	* config/i386/t-softfp: Ditto.
455	* config/i386/_divhc3.c: New file.
456	* config/i386/_mulhc3.c: New file.
457
4582021-09-03  Iain Sandoe  <iain@sandoe.co.uk>
459
460	* config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
461	alias_DFtype, alias_TFtype): New.
462	(ALIAS_SELECTOR): New.
463	(strong_alias): Use __typeof and a _Generic selector to
464	provide the type to the synthesized function.
465
4662021-09-02  liuhongt  <hongtao.liu@intel.com>
467
468	* config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
469	* config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
470	* config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
471	* config/i386/t-softfp: Add hf soft-fp.
472	* config.host: Add i386/64/t-softfp.
473	* config/i386/64/t-softfp: New file.
474
4752021-09-02  liuhongt  <hongtao.liu@intel.com>
476
477	* soft-fp/eqhf2.c: New file.
478	* soft-fp/extendhfdf2.c: New file.
479	* soft-fp/extendhfsf2.c: New file.
480	* soft-fp/half.h (FP_CMP_EQ_H): New marco.
481	* soft-fp/truncdfhf2.c: New file
482	* soft-fp/truncsfhf2.c: New file
483
4842021-09-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
485
486	* unwind-arm-common.inc (abort): Remove.
487
4882021-08-31  Richard Sandiford  <richard.sandiford@arm.com>
489
490	* config/aarch64/value-unwind.h: Add missing runtime exception
491	paragraph.
492	* config/frv/frv-abi.h: Likewise.
493	* config/i386/value-unwind.h: Likewise.
494	* config/pa/pa64-hpux-lib.h: Likewise.
495
4962021-08-26  David Edelsohn  <dje.gcc@gmail.com>
497
498	* config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
499	__gcc_qadd.
500	(__gcc_qadd): Call ldouble_qadd_internal.
501	(__gcc_qsub): Call ldouble_qadd_internal with second long double
502	argument negated.
503
5042021-08-26  Jonathan Yong  <10walls@gmail.com>
505
506	* config/i386/cygming-crtend.c: Fix register_frame_ctor
507	and register_frame_dtor warnings.
508
5092021-08-24  Richard Earnshaw  <rearnsha@arm.com>
510
511	PR target/102035
512	* config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
513	Add vlldm erratum work-around.
514
5152021-08-21  John David Anglin  <danglin@gcc.gnu.org>
516
517	* config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
518
5192021-08-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
520
521	* libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
522	(gcov_type_unsigned): Likewise.
523
5242021-08-14  Stafford Horne  <shorne@gmail.com>
525
526	PR target/99783
527	* config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
528	* config/or1k/t-crtstuff: New file.
529
5302021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
531
532	* libgcov-driver.c (#include <stdint.h>): Remove.
533	(write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
534
5352021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
536
537	* Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
538	* gcov.h (gcov_info): Declare.
539	(__gcov_info_to_gdca): Likewise.
540	* libgcov.h (gcov_write_counter): Remove.
541	(gcov_write_tag_length): Likewise.
542	* libgcov-driver.c (#include <stdint.h>): New.
543	(#include <string.h>): Remove.
544	(NEED_L_GCOV): Conditionally define.
545	(NEED_L_GCOV_INFO_TO_GCDA): Likewise.
546	(are_all_counters_zero): New.
547	(gcov_dump_handler): Likewise.
548	(gcov_allocate_handler): Likewise.
549	(dump_unsigned): Likewise.
550	(dump_counter): Likewise.
551	(write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
552	Use dump_unsigned() and dump_counter().
553	(write_one_data): Add dump_fn, allocate_fn, and arg parameters.  Use
554	dump_unsigned(), dump_counter(), and are_all_counters_zero().
555	(__gcov_info_to_gcda): New.
556
5572021-08-05  Jakub Jelinek  <jakub@redhat.com>
558
559	* config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
560	* config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
561	* config/t-slibgcc-vms (SHLIB_LINK): Likewise.
562	* config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
563
5642021-08-04  Jakub Jelinek  <jakub@redhat.com>
565
566	* config/t-slibgcc-fuchsia: Undo doubly applied patch.
567
5682021-07-15  Alan Modra  <amodra@gmail.com>
569
570	* config/rs6000/morestack.S (R2_SAVE): Define.
571	(__morestack): Save and restore r2.  Set up r2 for called
572	functions.
573
5742021-07-01  H.J. Lu  <hjl.tools@gmail.com>
575
576	* soft-fp/extendhfxf2.c: New file.
577	* soft-fp/truncxfhf2.c: Likewise.
578
5792021-06-29  Julian Brown  <julian@codesourcery.com>
580
581	* config/gcn/lib2-bswapti2.c: New file.
582	* config/gcn/lib2-divmod-di.c: New file.
583	* config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
584	typedefs.
585	(__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
586	* config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
587	lib2-bswapti2.c.
588
5892021-06-29  Julian Brown  <julian@codesourcery.com>
590
591	* config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
592	return types to USItype.
593	* config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
594
5952021-06-23  Kewen Lin  <linkw@linux.ibm.com>
596
597	* configure: Regenerate.
598	* configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
599	typos among the name, CFLAGS and the test.
600	* config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
601	fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
602	Remove.
603	* config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
604	macro FLOAT128_HW_INSNS_ISA3_1.
605	(FP128_3_1_CFLAGS_HW): Fix option typo.
606	* config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
607	FLOAT128_HW_INSNS_ISA3_1.
608	(__floattikf_resolve): Likewise.
609	(__floatuntikf_resolve): Likewise.
610	(__fixkfti_resolve): Likewise.
611	(__fixunskfti_resolve): Likewise.
612	(__floattikf): Likewise.
613	(__floatuntikf): Likewise.
614	(__fixkfti): Likewise.
615	(__fixunskfti): Likewise.
616
6172021-06-11  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
618
619	PR target/99939
620	* config/arm/cmse_nonsecure_call.S: Add	__ARM_FEATURE_MVE
621	macro.
622	* config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
623	on passing -mcmse option.
624
6252021-06-10  Segher Boessenkool  <segher@kernel.crashing.org>
626
627	* config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
628	_ARCH_PPC64 .
629
6302021-06-09  Carl Love  <cel@us.ibm.com>
631
632	* config.host: Add if test and set for
633	libgcc_cv_powerpc_3_1_float128_hw.
634	* config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
635	Change calls of __fixkfti to __fixkfti_sw.
636	* config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
637	Change calls of __fixunskfti to __fixunskfti_sw.
638	* config/rs6000/float128-p10.c (__floattikf_hw,
639	__floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
640	* config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
641	(__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
642	__fixunskfti_resolve): Add resolve functions.
643	(__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
644	* config/rs6000/float128-sed (floattitf, __floatuntitf,
645	__fixtfti, __fixunstfti): Add editor commands to change names.
646	* config/rs6000/float128-sed-hw (__floattitf,
647	__floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
648	change names.
649	* config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
650	* config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
651	* config/rs6000/quad-float128.h (__floattikf_sw,
652	__floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
653	__floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
654	__floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
655	* config/rs6000/t-float128 (floattikf, floatuntikf,
656	fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
657	(floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
658	file names to fp128_ppc_funcs.
659	* config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
660	fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
661	fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
662	* config/rs6000/t-float128-p10-hw: New file.
663	* configure: Update script for isa 3.1 128-bit float support.
664	* configure.ac: Add check for 128-bit float hardware support.
665	* config/rs6000/fixkfti-sw.c: New file.
666	* config/rs6000/fixunskfti-sw.c: New file.
667	* config/rs6000/floattikf-sw.c: New file.
668	* config/rs6000/floatuntikf-sw.c: New file.
669
6702021-05-13  Dimitar Dimitrov  <dimitar@dinux.eu>
671
672	* config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
673
6742021-05-13  Martin Liska  <mliska@suse.cz>
675
676	* libgcov-driver.c: Fix GNU coding style.
677
6782021-05-10  Martin Liska  <mliska@suse.cz>
679
680	* libgcov-driver.c (gcov_version): Use different name that does
681	not clash with newly introduced macro.
682
6832021-04-29  Eric Botcazou  <ebotcazou@adacore.com>
684
685	* libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
686	if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
687	* libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
688
6892021-04-28  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
690
691	* libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
692	Define.
693	(__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
694	* config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
695	Define.
696	(__divkc3): Improve complex divide.
697
6982021-04-23  Michael Meissner  <meissner@linux.ibm.com>
699
700	PR target/98952
701	* config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
702	trampoline size comparison in 32-bit by reversing test and
703	combining load immediate with compare.
704	(__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
705	in 32-bit by reversing test and combining load immediate with
706	compare.
707
7082021-04-05  Florian Weimer  <fweimer@redhat.com>
709	    Michael Meissner   <meissner@linux.ibm.com>
710
711	* config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
712	point functions for $(decimal_float) only.
713
7142021-04-03  Jakub Jelinek  <jakub@redhat.com>
715
716	PR target/97653
717	* config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
718	$(objext) instead of $(object).  Use _floatunditf instead of
719	_floatunsditf.  Add tf <-> ti conversion objects.
720	(IBM128_SHARED_OBJS): Use proper substitution reference syntax.
721
7222021-03-29  Michael Meissner  <meissner@linux.ibm.com>
723
724	* config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
725	(fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
726	(fp128_decstr_objs): Delete.
727	* dfp-bit.h: Call __sprintfieee128 to do conversions from
728	_Float128 to a Decimal type.  Call __strtoieee128 to do
729	conversions from a Decimal type to _Float128.
730	* config/rs6000/_sprintfkf.c: Delete file.
731	* config/rs6000/_sprintfkf.h: Delete file.
732	* config/rs6000/_strtokf.c: Delete file.
733	* config/rs6000/_strtokf.h: Delete file.
734
7352021-03-23  Marcus Comstedt  <marcus@mc.pp.se>
736
737	* config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
738	to __BYTE_ORDER__.
739
7402021-03-06  Jakub Jelinek  <jakub@redhat.com>
741
742	PR gcov-profile/99406
743	* libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
744	defined, define these macros if not defined already.
745
7462021-03-04  Martin Liska  <mliska@suse.cz>
747
748	PR gcov-profile/99105
749	* libgcov-driver.c (write_top_counters): Rename to ...
750	(write_topn_counters): ... this.
751	(write_one_data): Pre-allocate buffer for number of items
752	in the corresponding linked lists.
753	* libgcov.h (malloc_mmap): New function.
754	(allocate_gcov_kvp): Use it.
755
7562021-03-04  Martin Liska  <mliska@suse.cz>
757
758	PR gcov-profile/99385
759	* libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
760
7612021-03-03  Martin Liska  <mliska@suse.cz>
762
763	PR gcov-profile/97461
764	* config.in: Regenerate.
765	* configure: Likewise.
766	* configure.ac: Check sys/mman.h header file
767	* libgcov-driver.c (struct gcov_kvp): Remove static
768	pre-allocated pool and use a dynamic one.
769	* libgcov.h (MMAP_CHUNK_SIZE): New.
770	(gcov_counter_add): Use mmap to allocate pool for struct
771	gcov_kvp.
772
7732021-03-02  Michael Meissner  <meissner@linux.ibm.com>
774
775	* config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
776	the function.
777	* config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
778
7792021-02-24  Jakub Jelinek  <jakub@redhat.com>
780
781	PR libgcc/99236
782	* libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
783	negation of m in unsigned type.
784
7852021-02-24  Christophe Lyon  <christophe.lyon@linaro.org>
786	    Hau Hsu  <hsuhau617@gmail.com>
787
788	PR target/99157
789	* config/arm/t-arm: Fix cmse support detection.
790
7912021-02-22  Michael Meissner  <meissner@linux.ibm.com>
792
793	* dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
794
7952021-02-22  Michael Meissner  <meissner@linux.ibm.com>
796
797	* config/rs6000/_dd_to_kf.c: New file.
798	* config/rs6000/_kf_to_dd.c: New file.
799	* config/rs6000/_kf_to_sd.c: New file.
800	* config/rs6000/_kf_to_td.c: New file.
801	* config/rs6000/_sd_to_kf.c: New file.
802	* config/rs6000/_sprintfkf.c: New file.
803	* config/rs6000/_sprintfkf.h: New file.
804	* config/rs6000/_strtokf.h: New file.
805	* config/rs6000/_strtokf.c: New file.
806	* config/rs6000/_td_to_kf.c: New file.
807	* config/rs6000/quad-float128.h: Add new declarations.
808	* config/rs6000/t-float128 (fp128_dec_funcs): New macro.
809	(fp128_decstr_funcs): New macro.
810	(ibm128_dec_funcs): New macro.
811	(fp128_ppc_funcs): Add the new conversions.
812	(fp128_dec_objs): Force Decimal <-> __float128 conversions to be
813	compiled with -mabi=ieeelongdouble.
814	(fp128_decstr_objs): Force __float128 <-> string conversions to be
815	compiled with -mabi=ibmlongdouble.
816	(ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
817	compiled with -mabi=ieeelongdouble.
818	(FP128_CFLAGS_DECIMAL): New macro.
819	(IBM128_CFLAGS_DECIMAL): New macro.
820	* dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
821	(BFP_TO_DFP): Add PowerPC _Float128 support.
822	* dfp-bit.h (BFP_KIND): Add new binary floating point kind for
823	IEEE 128-bit floating point.
824	(DFP_TO_BFP): Add PowerPC _Float128 support.
825	(BFP_TO_DFP): Add PowerPC _Float128 support.
826	(BFP_SPRINTF): New macro.
827
8282021-01-27  Jakub Jelinek  <jakub@redhat.com>
829
830	* config/i386/savms64.h: Add .note.GNU-stack section on Linux.
831	* config/i386/savms64f.h: Likewise.
832	* config/i386/resms64.h: Likewise.
833	* config/i386/resms64f.h: Likewise.
834	* config/i386/resms64x.h: Likewise.
835	* config/i386/resms64fx.h: Likewise.
836
8372021-01-26  Martin Liska  <mliska@suse.cz>
838
839	PR gcov-profile/98739
840	* libgcov.h (gcov_topn_add_value): Do not train when
841	we have a merged profile with a negative number of total
842	value.
843
8442021-01-25  Martin Liska  <mliska@suse.cz>
845
846	PR gcov-profile/98739
847	* libgcov-merge.c (__gcov_merge_topn): Mark when merging
848	ends with a dropped counter.
849	* libgcov.h (gcov_topn_add_value): Add return value.
850
8512021-01-13  Stafford Horne  <shorne@gmail.com>
852
853	* config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
854	FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
855	FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
856	FP_EX_ALL): New constant macros.
857	(_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
858	FP_HANDLE_EXCEPTIONS): New macros.
859	(_FP_TININESS_AFTER_ROUNDING): Change to 1.
860
8612021-01-13  Samuel Thibault  <samuel.thibault@gnu.org>
862
863	* config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
864	posix siginfo case to struct handler_args. Detect between legacy
865	and siginfo from the second parameter, which is a small sigcode in
866	the legacy case, and a pointer in the siginfo case.
867
8682020-12-20  Max Filippov  <jcmvbkbc@gmail.com>
869
870	* config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
871	functions.
872	* config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
873	_bswapdi2.
874
8752020-12-08  Ian Lance Taylor  <iant@golang.org>
876
877	* generic-morestack-thread.c (free_segments): Block signals during
878	thread exit.
879
8802020-12-03  Michael Meissner  <meissner@linux.ibm.com>
881
882	PR libgcc/97543
883	PR libgcc/97643
884	* config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
885	(IBM128_SHARED_OBJS): New make variable.
886	(IBM128_OBJS): New make variable.  Set all objects to use the
887	explicit IBM format, and disable gnu attributes.
888	(IBM128_CFLAGS): New make variable.
889	(gcc_s_compile): Add -mno-gnu-attribute to all shared library
890	modules.
891
8922020-12-03  Alexandre Oliva  <oliva@adacore.com>
893
894	* config/t-vxworks (LIB2ADD): Drop.
895	* config/t-vxworks7 (LIB2ADD): Likewise.
896	* config/vxcache.c: Remove.
897
8982020-11-30  Stefan Kanthak  <stefan.kanthak@nexgo.de>
899
900	* libgcc2.c (bswapsi2): Make constants unsigned.
901
9022020-11-25  Stefan Kanthak  <stefan.kanthak@nexgo.de>
903
904	* libgcc2.c (absvSI2): Simplify/improve implementation by using
905	builtin_add_overflow.
906	(absvsi2, absvDI2): Likewise.
907
9082020-11-20  Maciej W. Rozycki  <macro@linux-mips.org>
909
910	* unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
911	(USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
912
9132020-11-18  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
914
915	* config/msp430/lib2hw_mul.S (mult64_hw): New.
916	(if MUL_32): Use mult64_hw for __muldi3.
917	(if MUL_F5): Use mult64_hw for __muldi3.
918	* config/msp430/lib2mul.c (__muldi3): New.
919	* config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
920
9212020-11-17  Alan Modra  <amodra@gmail.com>
922
923	* config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
924	(LIB2_SIDITI_CONV_FUNCS): Define.
925	* config/rs6000/ppc64-fp.c: Delete file.
926
9272020-11-15  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
928
929	* config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
930	hwmult library functions.
931
9322020-11-10  Jeff Law  <law@redhat.com>
933
934	* libgcc2.c: Fix whitespace issues in most recent change.
935
9362020-11-10  Stefan Kanthak  <stefan.kanthak@nexgo.de>
937
938	* libgcc2.c (__addvSI3): Use overflow builtins.
939	(__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
940	(__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
941	(__negvsi2, __negvDI2): Likewise.
942	(__cmpdi2, __ucmpdi2): Adjust implementation to improve
943	generated code.
944	* libgcc2.h (__ucmpdi2): Adjust prototype.
945
9462020-11-03  Pat Bernardi  <bernardi@adacore.com>
947	    Olivier Hainque   <hainque@adacore.com>
948
949	* config.host (aarch64-vxworks7*, tmake_file): Add
950	${cpu_type}/t-lse and t-slibgcc-libgcc.
951
9522020-11-03  Martin Storsj��  <martin@martin.st>
953
954	* unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
955	before calling the callback.
956
9572020-10-30  Olivier Hainque  <hainque@adacore.com>
958	    Douglas Rupp  <rupp@adacore.com>
959	    Pat Bernardi  <bernardi@adacore.com>
960
961	* config.host: Adjust the ix86/x86_64-wrs-vxworks filters
962	to apply to VxWorks 7 as well.
963
9642020-10-29  Olivier Hainque  <hainque@adacore.com>
965
966	* config/gthr-vxworks-tls.c: Fix preprocessor logic
967	controlling the definition of VX_ENTER_TLS_DTOR and
968	VX_LEAVE_TLS_DTOR based on a version major check.
969
9702020-10-29  Olivier Hainque  <hainque@adacore.com>
971
972	* config/gthr-vxworks-thread.c: Fix name of macro used
973	to condition the inclusion of an actual implementation.
974
9752020-10-27  Martin Liska  <mliska@suse.cz>
976
977	PR gcov-profile/97461
978	* libgcov.h (gcov_counter_add): Use first static counters
979	as it should help to have malloc wrappers set up.
980
9812020-10-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
982
983	* config/gthr-vxworks-thread.c: #include gthr.h before
984	testing the guard defined there.
985	* config/gthr-vxworks-cond.c: Likewise.
986
9872020-10-21  Douglas Rupp  <rupp@adacore.com>
988	    Olivier Hainque  <hainque@adacore.com>
989
990	* config.host (powerpc*-wrs-vxworks7*): New case.
991	* configure.ac: Handle powerpc*-*-vxworks7* as
992	powerpc*-*-linux* for ppc-fp_type.
993	* configure: Regenerate.
994
9952020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
996
997	* config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
998	section on VxWorks >= 6.
999	* config/gthr-vxworks-thread.c: Condition the entire
1000	implementation on __GTHREAD_CXX0X.
1001
10022020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1003
1004	* config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1005	section on VxWorks >= 6.
1006	* config/gthr-vxworks-cond.c: Condition the entire
1007	implementation on __GTHREAD_HAS_COND.
1008
10092020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1010
1011	* config/gthr-vxworks.c: #include <taskLib.h>.
1012
10132020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1014
1015	* config/gthr-vxworks.h: Rewrite remaining occurrence
1016	of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1017
10182020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1019	     Olivier Hainque   <hainque@adacore.com>
1020
1021	* config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1022	except on VxWorks 6.
1023
10242020-10-16  Olivier Hainque  <hainque@adacore.com>
1025
1026	* config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1027
10282020-10-14  Alexandre Oliva  <oliva@adacore.com>
1029
1030	* config/gthr-vxworks-thread.c: Include stdlib.h.
1031	(tls_delete_hook): Prototype it.
1032	(__gthread_cond_signal): Return early if no waiters.  Consume
1033	signal in case the semaphore got full.  Use semInfoGet instead
1034	of kernel-mode-only semInfo.
1035	(__gthread_cond_timedwait): Use semExchange.  Always take the
1036	mutex again before returning.
1037	* config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1038
10392020-10-14  Olivier Hainque  <hainque@adacore.com>
1040
1041	* config/t-vxworks (LIBGCC2_INCLUDES): Append
1042	$(MULTISUBDIR) to the -I path for fixed headers, as we
1043	arrange to have different sets of such headers for different
1044	multilibs when they are activated.
1045	* config/t-vxworks7: Likewise.
1046
10472020-10-14  Olivier Hainque  <hainque@adacore.com>
1048
1049	* config/t-vxworks: Add include-fixed to include search
1050	paths for libgcc on VxWorks.
1051	* config/t-vxworks7: Likewise.
1052
10532020-10-09  H.J. Lu  <hjl.tools@gmail.com>
1054
1055	PR target/97148
1056	* config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1057	instead of <cetintrin.h>.
1058
10592020-10-01  Alan Modra  <amodra@gmail.com>
1060
1061	* config/rs6000/morestack.S,
1062	* config/rs6000/tramp.S: Support __PCREL__ code.
1063
10642020-10-01  Alan Modra  <amodra@gmail.com>
1065
1066	* config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1067
10682020-09-29  Maciej W. Rozycki  <macro@wdc.com>
1069
1070	* config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1071	variable.
1072
10732020-09-28  Richard Sandiford  <richard.sandiford@arm.com>
1074
1075	* config/aarch64/libgcc-softfp.ver: New file.
1076	* config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1077
10782020-09-27  Clement Chigot  <clement.chigot@atos.net>
1079
1080	* config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1081
10822020-09-22  Sergei Trofimovich  <siarheit@google.com>
1083
1084	PR gcov-profile/96913
1085	* libgcov-driver.c (write_one_data): Avoid function pointer
1086	comparison in TOP streaming decision.
1087
10882020-09-17  Torbj��rn SVENSSON  <torbjorn.svensson@st.com>
1089	    Christophe Lyon  <christophe.lyon@linaro.org>
1090
1091	* config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1092	qualifier.
1093	(__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1094	(__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1095	missing prototypes.
1096
10972020-09-17  Wei Wentao  <weiwt.fnst@cn.fujitsu.com>
1098
1099	* config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1100	unused variable warning.
1101
11022020-09-16  Jojo R  <jiejie_rong@c-sky.com>
1103
1104	* config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1105
11062020-09-09  Tom de Vries  <tdevries@suse.de>
1107
1108	* config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1109	Wbuiltin-declaration-mismatch.
1110
11112020-08-26  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1112
1113	* config/msp430/slli.S (__gnu_mspabi_sllp): New.
1114	* config/msp430/srai.S (__gnu_mspabi_srap): New.
1115	* config/msp430/srli.S (__gnu_mspabi_srlp): New.
1116
11172020-08-13  Kwok Cheung Yeung  <kcy@codesourcery.com>
1118
1119	* config/nvptx/atomic.c: New.
1120	* config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1121
11222020-08-03  Ian Lance Taylor  <iant@golang.org>
1123
1124	* config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1125
11262020-08-03  Jakub Jelinek  <jakub@redhat.com>
1127
1128	PR target/96402
1129	* config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1130	of x(tmp0), x(tmp1) in STXP arguments.
1131
11322020-07-31  Maciej W. Rozycki  <macro@wdc.com>
1133
1134	* config/riscv/save-restore.S [__riscv_xlen == 64]
1135	(__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1136	(__riscv_save_2): Replace negative immediates used for the final
1137	stack pointer adjustment with positive ones, right-shifted by 4.
1138
11392020-07-31  Martin Liska  <mliska@suse.cz>
1140
1141	* libgcov-driver.c: Add __gcov_kvp_pool
1142	and __gcov_kvp_pool_index variables.
1143	* libgcov.h (allocate_gcov_kvp): New.
1144	(gcov_topn_add_value): Use it.
1145
11462020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1147
1148	* config/aarch64/lse.S: Add PAC property note.
1149
11502020-07-23  Martin Liska  <mliska@suse.cz>
1151
1152	PR gcov-profile/96035
1153	* libgcov-driver-system.c: Create gcov folders with 0777
1154	so that it respects a system umask.
1155
11562020-07-14  David Edelsohn  <dje.gcc@gmail.com>
1157
1158	* config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1159
11602020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1161
1162	PR target/94891
1163	* config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1164	(MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1165	(MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1166	(MD_DEMANGLE_RETURN_ADDR): This.
1167	(aarch64_post_extract_frame_addr): Rename to ...
1168	(aarch64_demangle_return_addr): This.
1169	(aarch64_post_frob_eh_handler_addr): Remove.
1170	* unwind-dw2.c (uw_update_context): Demangle return address.
1171	(uw_frob_return_addr): Remove.
1172
11732020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1174
1175	PR target/96001
1176	* config/aarch64/lse.S: Add BTI marking and related definitions,
1177	and add BTI c to function entries.
1178
11792020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1180
1181	* config/aarch64/lse.S: Add stack note.
1182
11832020-07-02  Martin Liska  <mliska@suse.cz>
1184
1185	PR gcov-profile/95348
1186	* libgcov-driver.c (merge_one_data): Merge only profiles
1187	that are not of non-zero type.
1188	(write_one_data): Write counters only if there's one non-zero
1189	value.
1190	* libgcov-util.c (tag_function): Change signature from unsigned
1191	to int.
1192	(tag_blocks): Likewise.
1193	(tag_arcs): Likewise.
1194	(tag_counters): Likewise.
1195	(tag_summary): Likewise.
1196	(tag_lines): Read only if COUNTERS is non-zero.
1197	(read_gcda_file): Handle negative length for COUNTERS type.
1198
11992020-06-25  Martin Liska  <mliska@suse.cz>
1200
1201	* libgcov-driver.c (merge_summary): Remove function as its name
1202	is misleading and doing something different.
1203	(dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1204	in gcov-tool.
1205	* libgcov-util.c (curr_object_summary): Remove.
1206	(read_gcda_file): Remove unused curr_object_summary.
1207	(gcov_merge): Merge summaries.
1208	* libgcov.h: Add summary argument for gcov_info struct.
1209
12102020-06-24  H.J. Lu  <hjl.tools@gmail.com>
1211
1212	PR target/95259
1213	* config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
1214	"common/config/i386/i386-cpuinfo.h" and
1215	"common/config/i386/cpuinfo.h".
1216	(__cpu_features2): Changed to array.
1217	(get_amd_cpu): Removed.
1218	(get_intel_cpu): Likewise.
1219	(get_available_features): Likewise.
1220	(__cpu_indicator_init): Call cpu_indicator_init.
1221	* config/i386/cpuinfo.h: Removed.
1222
12232020-06-23  David Edelsohn  <dje.gcc@gmail.com>
1224
1225	* Makefile.in: Remove uses of empty.mk. Use -include.
1226	* config/avr/t-avr: Use -include.
1227	* empty.mk: Delete.
1228
12292020-06-21  David Edelsohn  <dje.gcc@gmail.com>
1230
1231	* config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1232	* config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1233	and 64 bit with -maix64.
1234	* config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1235	Build and install AIX-style FAT libraries.
1236
12372020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
1238
1239	* config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1240	'i386/gnu-unwind.h'
1241	* config/i386/gnu-unwind.h: New file.
1242
12432020-06-17  Martin Liska  <mliska@suse.cz>
1244
1245	* libgcov-util.c (read_gcda_finalize): Remove const operator.
1246	(merge_wrapper): Add both counts and use them properly.
1247	(topn_to_memory_representation): New function.
1248	(gcov_merge): Covert on disk representation to in memory
1249	representation.
1250	* libgcov.h: Remove const operator.
1251
12522020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
1253
1254	* configure: Regenerate.
1255	* configure.ac: Use AC_COMPILE_IFELSE instead of manual
1256	preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1257
12582020-06-09  Martin Liska  <mliska@suse.cz>
1259
1260	PR gcov-profile/95494
1261	* libgcov-driver.c (write_top_counters): Cast first to
1262	intptr_t as sizeof(*) != sizeof(gcov_type).
1263	* libgcov.h (gcov_counter_set_if_null): Remove.
1264	(gcov_topn_add_value): Cast first to intptr_t and update
1265	linked list directly.
1266
12672020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
1268
1269	* config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1270	with uw_install_context_1.
1271
12722020-06-04  Andreas Schwab  <schwab@suse.de>
1273
1274	PR target/59230
1275	PR libfortran/59227
1276	* config/ia64/t-softfp-compat (softfp_file_list): Filter out
1277	soft-fp/divtf3.c.
1278	(LIB2ADD): Add config/ia64/divtf3.c.
1279	* config/ia64/divtf3.c: New file.
1280
12812020-06-03  Martin Liska  <mliska@suse.cz>
1282
1283	PR gcov-profile/95480
1284	* libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
1285	* libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
1286	(gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
1287	(gcov_counter_set_if_null): Likewise.
1288
12892020-06-02  Jim Wilson  <jimw@sifive.com>
1290
1291	* config/riscv/div.S (__divdi3): For negative arguments, change bgez
1292	to bgtz.
1293
12942020-06-02  Martin Liska  <mliska@suse.cz>
1295
1296	* libgcov.h (gcov_topn_add_value): Use xcalloc instead
1297	of xmalloc.
1298
12992020-06-02  Martin Liska  <mliska@suse.cz>
1300
1301	* libgcov-driver.c (prune_topn_counter): Remove.
1302	(prune_counters): Likewise.
1303	(merge_one_data): Special case TOP N counters
1304	as they have variable length.
1305	(write_top_counters): New.
1306	(write_one_data): Special case TOP N.
1307	(dump_one_gcov): Do not prune TOP N counters.
1308	* libgcov-merge.c (merge_topn_values_set): Remove.
1309	(__gcov_merge_topn): Use gcov_topn_add_value.
1310	* libgcov-profiler.c (__gcov_topn_values_profiler_body):
1311	Likewise here.
1312	* libgcov.h (gcov_counter_add): New.
1313	(gcov_counter_set_if_null): Likewise.
1314	(gcov_topn_add_value): New.
1315
13162020-06-01  Uro�� Bizjak  <ubizjak@gmail.com>
1317
1318	* config/i386/sfp-exceptions.c (struct fenv):
1319	Add __attribute__ ((gcc_struct)).
1320
13212020-05-29  H.J. Lu  <hjl.tools@gmail.com>
1322
1323	PR bootstrap/95413
1324	* configure: Regenerated.
1325
13262020-05-28  Dong JianQiang  <dongjianqiang2@huawei.com>
1327
1328	PR gcov-profile/95332
1329	* libgcov-util.c (read_gcda_file): Call gcov_magic.
1330	* libgcov.h (gcov_magic): Disable GCC poison.
1331
13322020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
1333
1334	PR target/95212
1335	* config/i386/cpuinfo.h (processor_features): Move
1336	FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
1337
13382020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1339
1340	PR target/91695
1341	* config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
1342	check.
1343
13442020-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1345
1346	PR target/95212
1347	PR target/95220
1348	* config/i386/cpuinfo.c (get_available_features): Fix
1349	FEATURE_GFNI check.  Also check FEATURE_AVX512VP2INTERSECT.
1350	* config/i386/cpuinfo.h (processor_features): Add
1351	FEATURE_AVX512VP2INTERSECT.
1352
13532020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1354
1355	PR bootstrap/95147
1356	* configure: Regenerated.
1357
13582020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
1359
1360	* configure: Regenerated.
1361
13622020-05-09  Hans-Peter Nilsson  <hp@axis.com>
1363
1364	* config.host: Remove support for crisv32-*-* and cris*-*-linux.
1365	* config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1366
13672020-05-06  Uro�� Bizjak  <ubizjak@gmail.com>
1368
1369	* config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1370	(__math_force_eval_div): New define.
1371	(__sfp_handle_exceptions): Use __math_force_eval_div to use
1372	generic division to generate INVALID, DIVZERO and INEXACT
1373	exceptions.
1374
13752020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1376
1377	* config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1378	instead of getauxval.
1379	(AT_HWCAP): Define.
1380	(HWCAP_ATOMICS): Define.
1381	Guard detection on __gnu_linux__.
1382
13832020-05-05  Michael Meissner  <meissner@linux.ibm.com>
1384
1385	* config.host: Delete changes meant for a private branch.
1386	* config/rs6000/t-float128: Likewise.
1387	* configure.ac: Likewise.
1388	* configure: Likewise.
1389
13902020-05-05  Martin Liska  <mliska@suse.cz>
1391
1392	PR gcov-profile/93623
1393	* Makefile.in: Remove __gcov_flush.
1394	* gcov.h (__gcov_flush): Remove.
1395	* libgcov-interface.c (__gcov_flush): Remove.
1396	(init_mx): Use renamed mutex.
1397	(__gcov_lock): Likewise.
1398	(__gcov_unlock): Likewise.
1399	(__gcov_fork): Likewise.
1400	(__gcov_flush): Remove.
1401
14022020-05-05  Martin Liska  <mliska@suse.cz>
1403
1404	PR gcov-profile/93623
1405	* libgcov-interface.c (__gcov_fork): Do not flush
1406	and reset only in child process.
1407	(__gcov_execl): Dump counters only and reset them
1408	only if exec* fails.
1409	(__gcov_execlp): Likewise.
1410	(__gcov_execle): Likewise.
1411	(__gcov_execv): Likewise.
1412	(__gcov_execvp): Likewise.
1413	(__gcov_execve): Likewise.
1414
14152020-05-05  Martin Liska  <mliska@suse.cz>
1416
1417	PR gcov-profile/93623
1418	* Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1419	* libgcov-interface.c (ALIAS_void_fn): Remove.
1420	(__gcov_lock): New.
1421	(__gcov_unlock): New.
1422	(__gcov_flush): Use __gcov_lock and __gcov_unlock.
1423	(__gcov_reset): Likewise.
1424	(__gcov_dump): Likewise.
1425	* libgcov.h (__gcov_lock): New declaration.
1426	(__gcov_unlock): Likewise.
1427
14282020-05-01  Uro�� Bizjak  <ubizjak@gmail.com>
1429
1430	* config/i386/sfp-exceptions.c (__math_force_eval): New define.
1431	(__sfp_handle_exceptions): Use __math_force_eval to evaluate
1432	generic division to generate INVALID and DIVZERO exceptions.
1433
14342020-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1435
1436	* config/rs6000/crtresfpr.S: Use .machine ppc.
1437	* config/rs6000/crtresxfpr.S: Likewise.
1438	* config/rs6000/crtsavfpr.S: Likewise.
1439
14402020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1441
1442	PR target/94514
1443	* config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1444	Update context->flags accroding to the frame state.
1445
14462020-04-19  Uro�� Bizjak  <ubizjak@gmail.com>
1447
1448	* config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1449	Remove unneeded assignments to volatile memory.
1450
14512020-04-15  Jakub Jelinek  <jakub@redhat.com>
1452
1453	PR target/93053
1454	* configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1455	* config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1456	is not defined, use just .arch armv8-a.
1457	(B, M, N, OPN): Define.
1458	(COMMENT): New .macro.
1459	(CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1460	defined.  Otherwise, move the operands right after the glue? and
1461	comment out operands where the macros are used.
1462	* configure: Regenerated.
1463	* config.in: Regenerated.
1464
14652020-04-07  Ian Lance Taylor  <iant@golang.org>
1466
1467	PR libgcc/94513
1468	* generic-morestack.c: Give up trying to use __mmap/__munmap, use
1469	syscall instead.
1470
14712020-04-04  Ian Lance Taylor  <iant@golang.org>
1472
1473	* generic-morestack.c: Only use __mmap on glibc >= 2.26.
1474
14752020-04-03  Ian Lance Taylor  <iant@golang.org>
1476
1477	* generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1478	than mmap/munmap, to avoid hooks.
1479
14802020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
1481
1482	* config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1483	(TPFRA_OFFSET): Macros removed.
1484	(CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1485	(CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1486	(PG3_SKIPPING_OFFSET): New macros.
1487	(__isPATrange): Use cinfc_fast for the check.
1488	(__isSkipResetAddr): New function.
1489	(s390_fallback_frame_state): Check for skip trace addresses. Use
1490	either ICST_CRET or ICST_SRET to calculate return address
1491	location.
1492	(__tpf_eh_return): Handle skip trace addresses.
1493
14942020-03-26  Richard Earnshaw  <rearnsha@arm.com>
1495
1496	PR target/94220
1497	* config/arm/lib1funcs.asm (COND): Use a single definition for
1498	unified syntax.
1499	(aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1500	(aeabi_idivmod): Likewise.
1501	(divsi3_skip_div0_test): Likewise.
1502
15032020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
1504
1505	* config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1506
15072020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
1508
1509	* config.host: Include the new makefile fragment.
1510	* config/s390/t-tpf: New file.
1511
15122020-03-03  Richard Earnshaw  <rearnsha@arm.com>
1513
1514	* config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1515	syntax.
1516	(aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1517	(aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1518	(aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1519	(aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1520	* config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1521	syntax.
1522	(divsi3, modsi3): Likewise.
1523	(clzdi2, ctzsi2): Likewise.
1524	* config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1525	unified syntax.
1526	(UNWIND_WRAPPER): Likewise.
1527
15282020-03-02  Martin Liska  <mliska@suse.cz>
1529
1530	* libgcov-interface.c: Remove duplicate
1531	declaration of __gcov_flush_mx.
1532
15332020-02-18  Martin Liska  <mliska@suse.cz>
1534
1535	PR ipa/92924
1536	* libgcov-merge.c (merge_topn_values_set): Record
1537	when a TOP N counter becomes invalid.  When merging
1538	remove a smallest value if the space is needed.
1539
15402020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
1541
1542	PR libstdc++/79193
1543	PR libstdc++/88999
1544
1545	* configure: Regenerated.
1546
15472020-02-10  Jeff Law  <law@redhat.com>
1548
1549	* config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1550	sections.
1551	* config/frv/frvend.c: Similarly.
1552
15532020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
1554
1555	PR libgcc/85334
1556	* config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1557	New.
1558
15592020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
1560
1561	PR target/93615
1562	* unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1563	_Unwind_gnu_Find_got.
1564	* unwind-pe.h: Likewise.
1565
15662020-02-07  Jakub Jelinek  <jakub@redhat.com>
1567
1568	PR target/93615
1569	* config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1570	(_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
1571	trailing :s in asm.  Formatting fixes.
1572	(_Unwind_decode_typeinfo_ptr): Adjust caller.
1573
15742020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
1575
1576	nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1577
1578	* config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1579	* config/nios2-elf-lib.h: New.
1580	* unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1581	code for finding GOT base for nios2.
1582
15832020-01-27  Martin Liska  <mliska@suse.cz>
1584
1585	PR gcov-profile/93403
1586	* libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1587	Call __gcov_indirect_call_profiler_body.
1588	(__gcov_indirect_call_profiler_body): New.
1589	(__gcov_indirect_call_profiler_v4_atomic): New.
1590	* libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1591	New declaration.
1592
15932020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
1594
1595	* config/arc/crti.S: Add RF16 object attribute.
1596	* config/arc/crtn.S: Likewise.
1597	* config/arc/crttls.S: Likewise.
1598	* config/arc/lib1funcs.S: Likewise.
1599	* config/arc/fp-hack.h (ARC_OPTFPE): Define.
1600	* config/arc/lib2funcs.c: New file.
1601	* config/arc/t-arc: Add lib2funcs to LIB2ADD.
1602
16032020-01-24  Maciej W. Rozycki  <macro@wdc.com>
1604
1605	* Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1606	* configure.ac: Handle `--with-toolexeclibdir='.
1607	* configure: Regenerate.
1608
16092020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
1610
1611	* config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1612
16132020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
1614
1615	* config/mips/gnustack.h: New file.
1616	* config/mips/crti.S: Include gnustack.h.
1617	* config/mips/crtn.S: Likewise.
1618	* config/mips/mips16.S: Likewise.
1619	* config/mips/vr4120-div.S: Likewise.
1620
16212020-01-23  Martin Liska  <mliska@suse.cz>
1622
1623	* libgcov-driver.c (prune_topn_counter): Remove
1624	check for -1 as we only prune run-time counters
1625	that do not generate an invalid state.
1626
16272020-01-22  Martin Liska  <mliska@suse.cz>
1628
1629	PR tree-optimization/92924
1630	* libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1631	try to find an existing value, then find an empty slot
1632	if not found.
1633
16342020-01-22  Martin Liska  <mliska@suse.cz>
1635
1636	PR tree-optimization/92924
1637	* libgcov-driver.c (prune_topn_counter): New.
1638	(prune_counters): Likewise.
1639	(dump_one_gcov): Prune a run-time counter.
1640	* libgcov-profiler.c (__gcov_topn_values_profiler_body):
1641	For a known value, add GCOV_TOPN_VALUES to value.
1642	Otherwise, decrement all counters by one.
1643
16442020-01-18  Hans-Peter Nilsson  <hp@axis.com>
1645
1646	* config/cris/arit.c (DS): Apply attribute __fallthrough__.
1647
16482020-01-18  John David Anglin  <danglin@gcc.gnu.org>
1649
1650	PR libgcc/92988
1651	* crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1652	DEFAULT_USE_CXA_ATEXIT is true.
1653
16542020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
1655	    Thomas Preud'homme  <thomas.preudhomme@arm.com>
1656
1657	* config/arm/t-arm: Check return value of gcc rather than lack of
1658	output.
1659
16602020-01-14  Georg-Johann Lay  <avr@gjlay.de>
1661
1662	* config/avr/lib1funcs.S (skip): Simplify.
1663
16642020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
1665
1666	* config/gcn/atomic.c: Remove include of stdint.h.
1667	(__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1668	__UINTPTR_TYPE__.
1669
16702020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
1671
1672	* config/gcn/atomic.c: New.
1673	* config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1674
16752020-01-08  Georg-Johann Lay  <avr@gjlay.de>
1676
1677	Implement 64-bit double functions.
1678
1679	PR target/92055
1680	* config.host (tmake_file) [target=avr]: Add t-libf7,
1681	t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1682	* config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1683	depending on sizeof (double) or sizeof (long double).
1684	* config/avr/libf7: New folder.
1685
16862020-01-05  Olivier Hainque  <hainque@adacore.com>
1687
1688	* config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1689	by IN_LIBGCC2.
1690
16912020-01-01  Jakub Jelinek  <jakub@redhat.com>
1692
1693	Update copyright years.
1694
16952019-12-30  Olivier Hainque  <hainque@adacore.com>
1696
1697	* config/gthr-vxworks.h: Use _vxworks-versions.h.
1698	* config/gthr-vxworks-tls.c: Likewise.
1699
17002019-12-30  Olivier Hainque  <hainque@adacore.com>
1701
1702	* config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1703	standard zero-initializer syntax.
1704
17052019-12-30  Olivier Hainque  <hainque@adacore.com>
1706
1707	* config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1708	reference to the internal VX_GET_TLS_DATA interface.
1709
17102019-12-30  Olivier Hainque  <hainque@adacore.com>
1711
1712	* config/vxcrtstuff.c: Fix incorrect spelling of
1713	USE_INITFINI_ARRAY in guard.
1714
17152019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1716
1717	* config.host: s/msp430*-*-elf/msp430-*-elf*.
1718	Override default "extra_parts" variable.
1719	* configure: Regenerate.
1720	* configure.ac: Disable TM clone registry by default for
1721	msp430-elfbare.
1722
17232019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1724
1725	* config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1726	"extra_parts".
1727	* config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1728
17292019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1730
1731	* crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1732	true.
1733
17342019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1735
1736	* crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1737	defined instead of its value.
1738
17392019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1740
1741	* crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1742	if it will have contents.
1743
17442019-12-05  Georg-Johann Lay  <avr@gjlay.de>
1745
1746	PR target/92055
1747	* config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1748
17492019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1750
1751	PR libgcc/91737
1752	* config.host: Add t-gthr-noweak on *-*-musl*.
1753	* config/t-gthr-noweak: New file.
1754
17552019-11-17  John David Anglin  <danglin@gcc.gnu.org>
1756
1757	* config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1758	volatile void *.  Remove trap check.
1759	(__kernel_cmpxchg2): Likewise.
1760	(FETCH_AND_OP_2): Adjust operand types.
1761	(OP_AND_FETCH_2): Likewise.
1762	(FETCH_AND_OP_WORD): Likewise.
1763	(OP_AND_FETCH_WORD): Likewise.
1764	(COMPARE_AND_SWAP_2): Likewise.
1765	(__sync_val_compare_and_swap_4): Likewise.
1766	(__sync_bool_compare_and_swap_4): Likewise.
1767	(SYNC_LOCK_TEST_AND_SET_2): Likewise.
1768	(__sync_lock_test_and_set_4): Likewise.
1769	(SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
1770	(__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
1771	for release.
1772	(__sync_lock_release_8): Remove.
1773
17742019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1775
1776	* config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1777	of __sigset_t.
1778
17792019-11-14  Jerome Lambourg  <lambourg@adacore.com>
1780	    Doug Rupp <rupp@adacore.com>
1781	    Olivier Hainque  <hainque@adacore.com>
1782
1783	* config.host: Collapse the arm-vxworks entries into
1784	a single arm-wrs-vxworks7* one.
1785	* config/arm/unwind-arm-vxworks.c: Update comments.  Provide
1786	__gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1787	kernel modules, to be overriden by libstdc++ when we link with
1788	it.  Rely on externally provided __exidx_start/end.
1789
17902019-11-14  Doug Rupp  <rupp@adacore.com>
1791	    Olivier Hainque  <hainque@adacore.com>
1792
1793	* config.host: Handle aarch64*-wrs-vxworks7*.
1794
17952019-11-12  Olivier Hainque  <hainque@adacore.com>
1796
1797	* config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1798	sources except the cxx0x support to LIB2ADDEH.  We don't support
1799	cxx0x on AE/653.
1800	* config/t-vxworksae: New file.
1801	* config.host: Handle *-*-vxworksae: Add the two aforementioned
1802	Makefile fragment files at their expected position in the tmake_file
1803	list, in accordance with what is done for other VxWorks variants.
1804
18052019-11-12  Corentin Gay  <gay@adacore.com>
1806	    Jerome Lambourg  <lambourg@adacore.com>
1807	    Olivier Hainque  <hainque@adacore.com>
1808
1809	* config/t-gthr-vxworks: New file, add all the gthr-vxworks
1810	sources to LIB2ADDEH.
1811	* config/t-vxworks: Remove adjustments to LIB2ADDEH.
1812	* config/t-vxworks7: Likewise.
1813
1814	* config.host: Append a block at the end of the file to add the
1815	t-gthr files to the tmake_file list for VxWorks after everything
1816	else.
1817
1818	* config/vxlib.c: Rename as gthr-vxworks.c.
1819	* config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1820
1821	* config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
1822	API and a basic error checking API, both internal.  Simplify the
1823	__gthread_once_t type definition and initializers.  Add sections
1824	for condition variables support and for the C++0x thread support,
1825	conditioned against Vx653 for the latter.
1826
1827	* config/gthr-vxworks.c (__gthread_once): Simplify comments and
1828	implementation, leveraging the TAS internal API.
1829	* config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1830	API, leveraging the general availability of TLS services in VxWorks7
1831	post SR6xxx.
1832	(__gthread_setspecific, __gthread_setspecific): Use it.
1833	(tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1834	* config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
1835	support based on VxWorks primitives.
1836	* config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
1837	based on VxWorks primitives.
1838
18392019-11-06  Jerome Lambourg  <lambourg@adacore.com>
1840	    Olivier Hainque  <hainque@adacore.com>
1841
1842	* config/vxcrtstuff.c: New file.
1843	* config/t-vxcrtstuff: New Makefile fragment.
1844	* config.host: Append t-vxcrtstuff to the tmake_file list
1845	on all VxWorks ports using dwarf for table based EH.
1846
18472019-11-07  Georg-Johann Lay  <avr@gjlay.de>
1848
1849	Support 64-bit double and 64-bit long double configurations.
1850
1851	PR target/92055
1852	* config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1853	long double is a 32-bit type.
1854	* config/avr/t-avrlibc: Copy double64 and long-double64
1855	multilib(s) from the vanilla one.
1856	* config/avr/t-copy-libgcc: New Makefile snip.
1857
18582019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1859
1860	* crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1861	the target output object format is not ELF.
1862	s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1863
18642019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
1865
1866	PR libgcc/78804
1867	* fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1868	* fp-bit.c (pack_d, unpack_d): Remove special cases for
1869	FLOAT_BIT_ORDER_MISMATCH.
1870	* config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1871
18722019-11-01  Jim Wilson  <jimw@sifive.com>
1873
1874	* config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1875
18762019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1877
1878	* config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1879	s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
1880	s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1881	Define symbols for 32-bit and f5series hardware multiply
1882	register addresses.
1883	Replace hard-coded register addresses with symbols.
1884	Fix "_mspabi*" typo.
1885	Fix whitespace.
1886	* config/msp430/lib2mul.c: Add comment.
1887
18882019-10-15  John David Anglin  <danglin@gcc.gnu.org>
1889
1890	* config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1891	unsigned int.  Adjust callers.
1892	(__canonicalize_funcptr_for_compare): Change plabel type to volatile
1893	unsigned int *.  Load relocation offset before function pointer.
1894	Add barrier to ensure ordering.
1895
18962019-10-12  John David Anglin  <danglin@gcc.gnu.org>
1897
1898	* config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1899	Load PIC register after branch target.  Fix white space.
1900	* config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1901	implementations.  Load PIC register after branch target.  Don't
1902	clobber function pointer when it points to function descriptor.
1903	Use nullification instead of branch in LINUX implementation.
1904
19052019-10-03  John David Anglin  <danglin@gcc.gnu.org>
1906
1907	* config/pa/fptr.c: Disable -Warray-bounds warning.
1908
19092019-09-25  Richard Henderson  <richard.henderson@linaro.org>
1910
1911	* config.in, configure: Re-rebuild with stock autoconf 2.69,
1912	not the ubuntu modified 2.69.
1913
1914	PR target/91833
1915	* config/aarch64/lse-init.c: Include auto-target.h.  Disable
1916	initialization if !HAVE_SYS_AUXV_H.
1917	* configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1918	* config.in, configure: Rebuild.
1919
1920	PR target/91834
1921	* config/aarch64/lse.S (LDNM): Ensure STXR output does not
1922	overlap the inputs.
1923
19242019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
1925
1926	* config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1927	CTR_EL0.IDC and CTR_EL0.DIC.
1928
19292019-09-20  Christophe Lyon  <christophe.lyon@st.com>
1930
1931	Revert:
1932	2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1933		Micka��l Gu��n�� <mickael.guene@st.com>
1934
1935	* config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1936	architecture.
1937
19382019-09-19  Richard Henderson  <richard.henderson@linaro.org>
1939
1940	* config/aarch64/lse-init.c: New file.
1941	* config/aarch64/lse.S: New file.
1942	* config/aarch64/t-lse: New file.
1943	* config.host: Add t-lse to all aarch64 tuples.
1944
19452019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1946	Micka��l Gu��n�� <mickael.guene@st.com>
1947
1948	* config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1949	architecture.
1950
19512019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1952	Micka��l Gu��n�� <mickael.guene@st.com>
1953
1954	* unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1955	(THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1956	(FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1957	(FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1958	(ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1959	(FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1960	(__gnu_personality_sigframe_fdpic): New.
1961	(get_eit_entry): Add FDPIC signal frame support.
1962
19632019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1964	Micka��l Gu��n�� <mickael.guene@st.com>
1965
1966	* config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1967	(__kernel_dmb): Likewise.
1968	(__fdpic_cmpxchg): New function.
1969	(__fdpic_dmb): New function.
1970	* config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1971	(gnu_Unwind_Find_got): New function.
1972	(_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1973	* unwind-arm-common.inc (UCB_PR_GOT): New.
1974	(funcdesc_t): New struct.
1975	(get_eit_entry): Add FDPIC support.
1976	(unwind_phase2): Likewise.
1977	(unwind_phase2_forced): Likewise.
1978	(__gnu_Unwind_RaiseException): Likewise.
1979	(__gnu_Unwind_Resume): Likewise.
1980	(__gnu_Unwind_Backtrace): Likewise.
1981	* unwind-pe.h (read_encoded_value_with_base): Likewise.
1982
19832019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1984	Micka��l Gu��n�� <mickael.guene@st.com>
1985
1986	* libgcc/crtstuff.c: Add support for FDPIC.
1987
19882019-09-10  Christophe Lyon  <christophe.lyon@st.com>
1989
1990	* config.host: Handle *-*-uclinuxfdpiceabi.
1991
19922019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
1993
1994	* config.host: Set cpu_type for bpf-*-* targets.
1995	* config/bpf/t-bpf: Likewise.
1996	* config/bpf/crtn.S: Likewise.
1997	* config/bpf/crti.S: New file.
1998
19992019-09-06  Jim Wilson  <jimw@sifive.com>
2000
2001	* config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2002	(riscv*-*-freebsd*): Likewise.
2003
20042019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
2005
2006	* config.host: Remove references to spu.
2007	* config/spu/: Remove directory.
2008
20092019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2010
2011	PR target/91306
2012	* crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2013	element type, instead of "sizeof" the element type.
2014	(__DTOR_LIST__): Likewise.
2015	(__TMC_LIST__): Likewise.
2016	(__do_global_dtors_aux_fini_array_entry): Likewise.
2017	(__frame_dummy_init_array_entry): Likewise.
2018	(__CTOR_END__): Likewise.
2019	(__DTOR_END__): Likweise.
2020	(__FRAME_END__): Likewise.
2021	(__TMC_END__): Likewise.
2022
20232019-08-20  Lili Cui  <lilicui@intel.com>
2024
2025	* config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2026	INTEL_COREI7_COOPERLAKE.
2027
20282019-07-31  Matt Thomas  <matt@3am-software.com>
2029	    Nick Hudson <nick@nthcliff.demon.co.uk>
2030	    Matthew Green <mrg@eterna.com.au>
2031	    Maya Rashish <coypu@sdf.org>
2032
2033	* config.host (hppa*-*-netbsd*): New case.
2034	* config/pa/t-netbsd: New file.
2035
20362019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
2037
2038	* config/arm/cmse.c (cmse_check_address_range): Add
2039	warn_unused_result attribute.
2040
20412019-07-22  Martin Liska  <mliska@suse.cz>
2042
2043	* config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2044	* config/pa/t-stublib: Likewise.
2045
20462019-07-22  Stafford Horne  <shorne@gmail.com>
2047
2048	PR target/90362
2049	* config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2050	to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2051	instructions are not available on every processor.  Change a
2052	l.bnf to l.bf to fix logic issue.
2053
20542019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
2055
2056	* config.host: Remove reference to t-darwin8.
2057
20582019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
2059
2060	* config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2061	list.
2062	* config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
2063	mmacosx-version-min for crts to run across all system versions.
2064	* config/rs6000/t-darwin64 (LIB2ADD): Remove.
2065	* config/t-darwin: Revise mmacosx-version-min for crts to run across
2066	system versions >= 10.4.
2067
20682019-07-03  Martin Liska  <mliska@suse.cz>
2069
2070	* Makefile.in: Use topn_values instead of one_value names.
2071	* libgcov-merge.c (__gcov_merge_single): Move to ...
2072	(__gcov_merge_topn): ... this.
2073	(merge_single_value_set): Move to ...
2074	(merge_topn_values_set): ... this.
2075	* libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2076	...
2077	(__gcov_topn_values_profiler_body): ... this.
2078	(__gcov_one_value_profiler_v2): Move to ...
2079	(__gcov_topn_values_profiler): ... this.
2080	(__gcov_one_value_profiler_v2_atomic): Move to ...
2081	(__gcov_topn_values_profiler_atomic): ... this.
2082	(__gcov_indirect_call_profiler_v4): Remove.
2083	* libgcov-util.c (__gcov_single_counter_op): Move to ...
2084	(__gcov_topn_counter_op): ... this.
2085	* libgcov.h (L_gcov_merge_single): Remove.
2086	(L_gcov_merge_topn): New.
2087	(__gcov_merge_single): Remove.
2088	(__gcov_merge_topn): New.
2089	(__gcov_one_value_profiler_v2): Move to ..
2090	(__gcov_topn_values_profiler): ... this.
2091	(__gcov_one_value_profiler_v2_atomic): Move to ...
2092	(__gcov_topn_values_profiler_atomic): ... this.
2093
20942019-07-03  Martin Liska  <mliska@suse.cz>
2095
2096	* libgcov-merge.c (merge_single_value_set): Support N values.
2097	* libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2098
20992019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
2100
2101	* Makefile.in (USE_TM_CLONE_REGISTRY): New.
2102	(CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2103	* configure.ac: Add --disable-tm-clone-registry option.
2104	* configure: Regenerate.
2105
21062019-06-27  Martin Liska  <mliska@suse.cz>
2107
2108	* libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2109	dead assignments.
2110	* libgcov-util.c: Likewise.
2111
21122019-06-27  Martin Liska  <mliska@suse.cz>
2113
2114	* libgcov-util.c (gcov_profile_merge): Release allocated
2115	memory.
2116	(calculate_overlap): Likewise.
2117
21182019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
2119
2120	* config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2121	* config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2122	Build objects for the out of line save/restore register functions
2123	so that they can be used for any supported Darwin version.
2124	* config/t-darwin: Default the build Darwin version to Darwin8
2125	(MacOS 10.4).
2126
21272019-06-25  Martin Liska  <mliska@suse.cz>
2128
2129	* libgcov-driver-system.c (replace_filename_variables): Do not
2130	call strlen with NULL argument.
2131
21322019-06-25  Andrew Stubbs  <ams@codesourcery.com>
2133
2134	* config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2135	* config/gcn/unwind-gcn.c: New file.
2136
21372019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
2138            Andrew Stubbs  <ams@codesourcery.com>
2139
2140	* configure: Regenerate.
2141	* config/gcn/gthr-gcn.h: New.
2142
21432019-06-18  Tom de Vries  <tdevries@suse.de>
2144
2145	* config/nvptx/crt0.c (__main): Declare.
2146
21472019-06-17  Matthew Green  <mrg@eterna.com.au>
2148	    Maya Rashish  <coypu@sdf.org>
2149
2150	* config.host (aarch64*-*-netbsd*): New case.
2151
21522019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2153
2154	* config/msp430/slli.S (__mspabi_sllll): New library function for
2155	performing a logical left shift of a 64-bit value.
2156	* config/msp430/srai.S (__mspabi_srall): New library function for
2157	performing a arithmetic right shift of a 64-bit value.
2158	* config/msp430/srll.S (__mspabi_srlll): New library function for
2159	performing a logical right shift of a 64-bit value.
2160
21612019-06-14  Matt Thomas  <matt@3am-software.com>
2162	    Matthew Green  <mrg@eterna.com.au>
2163	    Nick Hudson  <skrll@netbsd.org>
2164	    Maya Rashish  <coypu@sdf.org>
2165
2166	* config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2167	* config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2168	functions to build.
2169	* config/arm/t-netbsd-eabi: New file.
2170
21712019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
2172
2173	* config.host: Add PRU target.
2174	* config/pru/asri.c: New file.
2175	* config/pru/eqd.c: New file.
2176	* config/pru/eqf.c: New file.
2177	* config/pru/ged.c: New file.
2178	* config/pru/gef.c: New file.
2179	* config/pru/gtd.c: New file.
2180	* config/pru/gtf.c: New file.
2181	* config/pru/led.c: New file.
2182	* config/pru/lef.c: New file.
2183	* config/pru/lib2bitcountHI.c: New file.
2184	* config/pru/lib2divHI.c: New file.
2185	* config/pru/lib2divQI.c: New file.
2186	* config/pru/lib2divSI.c: New file.
2187	* config/pru/libgcc-eabi.ver: New file.
2188	* config/pru/ltd.c: New file.
2189	* config/pru/ltf.c: New file.
2190	* config/pru/mpyll.S: New file.
2191	* config/pru/pru-abi.h: New file.
2192	* config/pru/pru-asm.h: New file.
2193	* config/pru/pru-divmod.h: New file.
2194	* config/pru/sfp-machine.h: New file.
2195	* config/pru/t-pru: New file.
2196
21972019-06-11  Jakub Jelinek  <jakub@redhat.com>
2198
2199	* libgcov-merge.c (__gcov_merge_single): Revert previous change.
2200
22012019-06-10  Martin Liska  <mliska@suse.cz>
2202
2203	PR bootstrap/90808
2204	* libgcov.h: Add ATTRIBUTE_UNUSED.
2205
22062019-06-10  Martin Liska  <mliska@suse.cz>
2207
2208	* Makefile.in: Add __gcov_one_value_profiler_v2,
2209	__gcov_one_value_profiler_v2_atomic and
2210	__gcov_indirect_call_profiler_v4.
2211	* libgcov-merge.c (__gcov_merge_single): Change
2212	function signature.
2213	(merge_single_value_set): New.
2214	* libgcov-profiler.c (__gcov_one_value_profiler_body):
2215	Update functionality.
2216	(__gcov_one_value_profiler): Remove.
2217	(__gcov_one_value_profiler_v2): ... this.
2218	(__gcov_one_value_profiler_atomic): Rename to ...
2219	(__gcov_one_value_profiler_v2_atomic): this.
2220	(__gcov_indirect_call_profiler_v3): Rename to ...
2221	(__gcov_indirect_call_profiler_v4): ... this.
2222	* libgcov.h (__gcov_one_value_profiler): Remove.
2223	(__gcov_one_value_profiler_atomic): Remove.
2224	(__gcov_one_value_profiler_v2_atomic): New.
2225	(__gcov_indirect_call_profiler_v3): Remove.
2226	(__gcov_one_value_profiler_v2): New.
2227	(__gcov_indirect_call_profiler_v4): New.
2228	(gcov_get_counter_ignore_scaling): New function.
2229
22302019-06-07  Martin Liska  <mliska@suse.cz>
2231
2232	* Makefile.in: Remove usage of
2233	_gcov_merge_icall_topn.
2234	* libgcov-driver.c (gcov_sort_n_vals): Remove.
2235	(gcov_sort_icall_topn_counter): Likewise.
2236	(gcov_sort_topn_counter_arrays): Likewise.
2237	(dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2238	* libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2239	* libgcov-profiler.c (__gcov_topn_value_profiler_body):
2240	Likewise.
2241	(GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2242	(struct indirect_call_tuple): Remove.
2243	(__gcov_indirect_call_topn_profiler): Remove.
2244	* libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2245	* libgcov.h (gcov_sort_n_vals): Remove.
2246	(L_gcov_merge_icall_topn): Likewise.
2247	(__gcov_merge_icall_topn): Likewise.
2248	(__gcov_indirect_call_topn_profiler): Likewise.
2249
22502019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
2251
2252	* config/rs6000/t-darwin: Ensure that the unwinder is built with
2253	altivec enabled.
2254
22552019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2256
2257	* config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2258	section.
2259	(__mspabi_slli): Likewise.
2260	(__mspabi_slll_n): Likewise.
2261	(__mspabi_slll): Likewise.
2262	* config/msp430/srai.S (__mspabi_srai_n): Likewise.
2263	(__mspabi_srai): Likewise.
2264	(__mspabi_sral_n): Likewise.
2265	(__mspabi_sral): Likewise.
2266	* config/msp430/srli.S (__mspabi_srli_n): Likewise.
2267	(__mspabi_srli): Likewise.
2268	(__mspabi_srll_n): Likewise.
2269	(__mspabi_srll): Likewise.
2270
22712019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
2272
2273	* config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2274	Add appropriate tm_file clause as well.
2275	* config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2276
22772019-06-05  James Clarke  <jrtc27@jrtc27.com>
2278
2279	* config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2280	rather than .data/.bss so it can be accessed via gp-relative
2281	addressing.
2282
22832019-06-05  David Edelsohn  <dje.gcc@gmail.com>
2284
2285	* config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
2286	(CR2_REGNO): Rename to R_CR2.
2287	(XER_REGNO): Rename to R_XER.
2288	(FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
2289	(VRSAVE_REGNO): Rename to R_VRSAVE.
2290	(VSCR_REGNO): R_VSCR.
2291
22922019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
2293
2294	* config.host (rx-*-linux*): Add new case.
2295	* config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
2296
22972019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
2298
2299	* config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
2300	function.
2301	* config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
2302	aarch64_post_frob_eh_handler_addr): Add	check for b-key.
2303	* config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
2304	aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
2305	Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
2306	* unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
2307	string.
2308	* unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
2309	string.
2310	(RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
2311
23122019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2313
2314	* config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
2315	Remove Solaris 9 and 10 support.
2316	(sparc_is_sighandler): Likewise.
2317
23182019-05-26  John David Anglin  <danglin@gcc.gnu.org>
2319
2320	* config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2321
23222019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
2323
2324	* soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2325	4_FP_W_TYPEs are used for IEEE quad precision.
2326	* soft-fp/extendhftf2.c: Likewise.
2327	* soft-fp/extendsftf2.c: Likewise.
2328	* soft-fp/extendxftf2.c: Likewise.
2329	* soft-fp/trunctfdf2.c: Likewise.
2330	* soft-fp/trunctfhf2.c: Likewise.
2331	* soft-fp/trunctfsf2.c: Likewise.
2332	* soft-fp/trunctfxf2.c: Likewise.
2333	* config/rs6000/ibm-ldouble.c: Likewise.
2334
23352019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2336
2337	* config.host: Simplify various *-*-solaris2.1[0-9]* to
2338	*-*-solaris2*.
2339	* configure.ac: Likewise.
2340	* configure: Regenerate.
2341
2342	* config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2343	Solaris 10 and Solaris 11 < snv_125 handling.
2344
23452019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
2346
2347	* config/rs6000/darwin-vecsave.S: Set .machine appropriately.
2348
23492019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
2350
2351	* config/i386/cpuinfo.c (get_available_features): Detect BF16.
2352	* config/i386/cpuinfo.h (enum processor_features): Add
2353	FEATURE_AVX512BF16.
2354
23552019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2356	    Bernd Edlinger  <bernd.edlinger@hotmail.de>
2357	    Jakub Jelinek  <jakub@redhat.com>
2358
2359	PR target/89093
2360	* config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2361	* config/arm/unwind-arm.c: Likewise.
2362	* unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2363	attribute for ARM.
2364
23652019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
2366
2367	* config/nds32/linux-unwind.h (SIGRETURN): Remove.
2368	(RT_SIGRETURN): Update.
2369	(nds32_fallback_frame_state): Update.
2370
23712019-02-21  Martin Sebor  <msebor@redhat.com>
2372
2373	* libgcc2.h (__clear_cache): Correct signature.
2374	* libgcc2.c (__clear_cache): Same.
2375
23762019-02-20  Uro�� Bizjak  <ubizjak@gmail.com>
2377
2378	* config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2379	Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2380
23812019-02-19  Uro�� Bizjak  <ubizjak@gmail.com>
2382
2383	* unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2384	regno instead of index to DWARF_ZERO_REG.
2385
23862019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
2387
2388	* config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2389	TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2390
23912019-01-31  Uro�� Bizjak  <ubizjak@gmail.com>
2392
2393	* config/alpha/t-linux: Add -mfp-rounding-mode=d
2394	to HOST_LIBGCC2_CFLAGS.
2395
23962019-01-23  Joseph Myers  <joseph@codesourcery.com>
2397
2398	PR libgcc/88931
2399	* libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
2400
24012019-01-18  Martin Liska  <mliska@suse.cz>
2402
2403	* libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2404	to ...
2405	(__gcov_indirect_call_profiler_v3): ... this.
2406	* libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2407	(__gcov_indirect_call_profiler_v3): Likewise.
2408	* Makefile.in: Bump function name.
2409
24102019-01-18  Martin Liska  <mliska@suse.cz>
2411
2412	* libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2413	(gcov_version): Use in gcov_error.
2414	(merge_one_data): Likewise.
2415	(dump_one_gcov): Likewise.
2416
24172019-01-18  Martin Liska  <mliska@suse.cz>
2418
2419	* libgcov-driver.c (gcov_version_string): New function.
2420	(gcov_version): Convert version integer into string.
2421
24222019-01-17  Andrew Stubbs  <ams@codesourcery.com>
2423	    Kwok Cheung Yeung  <kcy@codesourcery.com>
2424	    Julian Brown  <julian@codesourcery.com>
2425	    Tom de Vries  <tom@codesourcery.com>
2426
2427	* config.host: Recognize amdgcn*-*-amdhsa.
2428	* config/gcn/crt0.c: New file.
2429	* config/gcn/lib2-divmod-hi.c: New file.
2430	* config/gcn/lib2-divmod.c: New file.
2431	* config/gcn/lib2-gcn.h: New file.
2432	* config/gcn/sfp-machine.h: New file.
2433	* config/gcn/t-amdgcn: New file.
2434
24352019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
2436
2437	PR other/16615
2438
2439	* config/c6x/libunwind.S: Mechanically replace "can not" with
2440	"cannot".
2441	* config/tilepro/atomic.h: Likewise.
2442	* config/vxlib-tls.c: Likewise.
2443	* generic-morestack-thread.c: Likewise.
2444	* generic-morestack.c: Likewise.
2445	* mkmap-symver.awk: Likewise.
2446
24472019-01-01  Jakub Jelinek  <jakub@redhat.com>
2448
2449	Update copyright years.
2450
24512018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
2452
2453	* unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2454	to ignore -Waddress-of-packed-member.
2455
24562018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
2457
2458	* /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2459	parameter and corresponding code.
2460	(ARM_FUNC_START): Likewise in both definitions.
2461	Also update footer comment about condition that need to match with
2462	gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2463	* config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2464	defined.  Weakly define it in this case.
2465	* config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2466	* config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2467	_arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2468	comment to keep condition in sync with the one in
2469	libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2470
24712018-12-18  Wei Xiao  <wei3.xiao@intel.com>
2472
2473	* config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2474	* config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2475
24762018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2477
2478	* config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2479	and .cfi_endproc directives for VxWorks targets.
2480
24812018-12-05  Paul Koning  <ni1d@arrl.net>
2482
2483	* udivmodhi4.c (__udivmodhi4): Fix loop end check.
2484
24852018-11-27  Alan Modra  <amodra@gmail.com>
2486
2487	* config/rs6000/morestack.S (__stack_split_initialize),
2488	(__morestack_get_guard, __morestack_set_guard),
2489	(__morestack_make_guard): Provide CFI covering these functions.
2490	* config/rs6000/tramp.S (__trampoline_setup): Likewise.
2491
24922018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
2493
2494	* config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
2495	(sc_pt_regs_lr): Update for kernel.
2496	(sc_pt_regs_tls): Update for kernel.
2497
24982018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
2499
2500	* config/csky/linux-unwind.h: Fix coding style.
2501
25022018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
2503
2504	* config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
2505	(csky_fallback_frame_state): Modify the check of the
2506	instructions to adapt to changes in the kernel
2507
25082018-11-09  Stafford Horne  <shorne@gmail.com>
2509	    Richard Henderson  <rth@twiddle.net>
2510
2511	* config.host: Add OpenRISC support.
2512	* config/or1k/*: New.
2513
25142018-11-08  Kito Cheng  <kito@andestech.com>
2515
2516	* soft-fp/adddf3.c: Update from glibc.
2517	* soft-fp/addsf3.c: Likewise.
2518	* soft-fp/addtf3.c: Likewise.
2519	* soft-fp/divdf3.c: Likewise.
2520	* soft-fp/divsf3.c: Likewise.
2521	* soft-fp/divtf3.c: Likewise.
2522	* soft-fp/double.h: Likewise.
2523	* soft-fp/eqdf2.c: Likewise.
2524	* soft-fp/eqsf2.c: Likewise.
2525	* soft-fp/eqtf2.c: Likewise.
2526	* soft-fp/extenddftf2.c: Likewise.
2527	* soft-fp/extended.h: Likewise.
2528	* soft-fp/extendhftf2.c: Likewise.
2529	* soft-fp/extendsfdf2.c: Likewise.
2530	* soft-fp/extendsftf2.c: Likewise.
2531	* soft-fp/extendxftf2.c: Likewise.
2532	* soft-fp/fixdfdi.c: Likewise.
2533	* soft-fp/fixdfsi.c: Likewise.
2534	* soft-fp/fixdfti.c: Likewise.
2535	* soft-fp/fixhfti.c: Likewise.
2536	* soft-fp/fixsfdi.c: Likewise.
2537	* soft-fp/fixsfsi.c: Likewise.
2538	* soft-fp/fixsfti.c: Likewise.
2539	* soft-fp/fixtfdi.c: Likewise.
2540	* soft-fp/fixtfsi.c: Likewise.
2541	* soft-fp/fixtfti.c: Likewise.
2542	* soft-fp/fixunsdfdi.c: Likewise.
2543	* soft-fp/fixunsdfsi.c: Likewise.
2544	* soft-fp/fixunsdfti.c: Likewise.
2545	* soft-fp/fixunshfti.c: Likewise.
2546	* soft-fp/fixunssfdi.c: Likewise.
2547	* soft-fp/fixunssfsi.c: Likewise.
2548	* soft-fp/fixunssfti.c: Likewise.
2549	* soft-fp/fixunstfdi.c: Likewise.
2550	* soft-fp/fixunstfsi.c: Likewise.
2551	* soft-fp/fixunstfti.c: Likewise.
2552	* soft-fp/floatdidf.c: Likewise.
2553	* soft-fp/floatdisf.c: Likewise.
2554	* soft-fp/floatditf.c: Likewise.
2555	* soft-fp/floatsidf.c: Likewise.
2556	* soft-fp/floatsisf.c: Likewise.
2557	* soft-fp/floatsitf.c: Likewise.
2558	* soft-fp/floattidf.c: Likewise.
2559	* soft-fp/floattihf.c: Likewise.
2560	* soft-fp/floattisf.c: Likewise.
2561	* soft-fp/floattitf.c: Likewise.
2562	* soft-fp/floatundidf.c: Likewise.
2563	* soft-fp/floatundisf.c: Likewise.
2564	* soft-fp/floatunditf.c: Likewise.
2565	* soft-fp/floatunsidf.c: Likewise.
2566	* soft-fp/floatunsisf.c: Likewise.
2567	* soft-fp/floatunsitf.c: Likewise.
2568	* soft-fp/floatuntidf.c: Likewise.
2569	* soft-fp/floatuntihf.c: Likewise.
2570	* soft-fp/floatuntisf.c: Likewise.
2571	* soft-fp/floatuntitf.c: Likewise.
2572	* soft-fp/gedf2.c: Likewise.
2573	* soft-fp/gesf2.c: Likewise.
2574	* soft-fp/getf2.c: Likewise.
2575	* soft-fp/half.h: Likewise.
2576	* soft-fp/ledf2.c: Likewise.
2577	* soft-fp/lesf2.c: Likewise.
2578	* soft-fp/letf2.c: Likewise.
2579	* soft-fp/muldf3.c: Likewise.
2580	* soft-fp/mulsf3.c: Likewise.
2581	* soft-fp/multf3.c: Likewise.
2582	* soft-fp/negdf2.c: Likewise.
2583	* soft-fp/negsf2.c: Likewise.
2584	* soft-fp/negtf2.c: Likewise.
2585	* soft-fp/op-1.h: Likewise.
2586	* soft-fp/op-2.h: Likewise.
2587	* soft-fp/op-4.h: Likewise.
2588	* soft-fp/op-8.h: Likewise.
2589	* soft-fp/op-common.h: Likewise.
2590	* soft-fp/quad.h: Likewise.
2591	* soft-fp/single.h: Likewise.
2592	* soft-fp/soft-fp.h: Likewise.
2593	* soft-fp/subdf3.c: Likewise.
2594	* soft-fp/subsf3.c: Likewise.
2595	* soft-fp/subtf3.c: Likewise.
2596	* soft-fp/truncdfsf2.c: Likewise.
2597	* soft-fp/trunctfdf2.c: Likewise.
2598	* soft-fp/trunctfhf2.c: Likewise.
2599	* soft-fp/trunctfsf2.c: Likewise.
2600	* soft-fp/trunctfxf2.c: Likewise.
2601	* soft-fp/unorddf2.c: Likewise.
2602	* soft-fp/unordsf2.c: Likewise.
2603	* soft-fp/unordtf2.c: Likewise.
2604
26052018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
2606
2607	* config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2608	* config/i386/cpuinfo.h (processor_types): Add znver2.
2609
26102018-11-01  Paul Koning  <ni1d@arrl.net>
2611
2612	* config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2613	(HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2614
26152018-10-31  Joseph Myers  <joseph@codesourcery.com>
2616
2617	PR bootstrap/82856
2618	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
2619	* configure: Regenerate.
2620
26212018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
2622
2623	* config/arc/lib1funcs.S (_muldi3): New function.
2624	* config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2625
26262018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2627
2628	* config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2629
26302018-10-25  Martin Liska  <mliska@suse.cz>
2631
2632	PR other/87735
2633	* libgcov-profiler.c: Revert.
2634
26352018-10-24  Martin Liska  <mliska@suse.cz>
2636
2637	* libgcov-profiler.c: Start from 1 in order to distinguish
2638	functions which were seen and these that were not.
2639
26402018-10-18  Paul Koning  <ni1d@arrl.net>
2641
2642	* udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2643	standard.
2644	* divmod.c: Update references to __udivmodsi4.
2645	* udivmod.c: Ditto.
2646	* udivhi3.c: New file.
2647	* udivmodhi4.c: New file.
2648	* config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2649
26502018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2651
2652	* Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2653
26542018-10-12  Olivier Hainque  <hainque@adacore.com>
2655
2656	* config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2657	defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2658
26592018-10-08  Paul Koning  <ni1d@arrl.net>
2660
2661	* config/pdp11/t-pdp11: Remove -mfloat32 switch.
2662
26632018-10-04  Martin Liska  <mliska@suse.cz>
2664
2665	PR gcov-profile/84107
2666	* libgcov-profiler.c (__gcov_indirect_call):
2667	Change type to indirect_call_tuple.
2668	(struct indirect_call_tuple): New struct.
2669	(__gcov_indirect_call_topn_profiler): Change type.
2670	(__gcov_indirect_call_profiler_v2): Use the new
2671	variables.
2672	* libgcov.h (struct indirect_call_tuple): New struct
2673	definition.
2674
26752018-10-03  Uros Bizjak  <ubizjak@gmail.com>
2676
2677	* libgcc2.c (isnan): Use __builtin_isnan.
2678	(isfinite): Use __builtin_isfinite.
2679	(isinf): Use __builtin_isinf.
2680
26812018-09-26  Uros Bizjak  <ubizjak@gmail.com>
2682
2683	* config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2684
26852018-09-21  Alexandre Oliva  <oliva@adacore.com>
2686
2687	* config/vxcache.c: New file.  Provide __clear_cache, based on
2688	the cacheTextUpdate VxWorks service.
2689	* config/t-vxworks (LIB2ADD): Add vxcache.c.
2690	(LIB2FUNCS_EXCLUDE): Add _clear_cache.
2691	* config/t-vxwoks7: Likewise.
2692
26932018-09-21  Martin Liska  <mliska@suse.cz>
2694
2695	* libgcov-driver.c (crc32_unsigned): Remove.
2696	(gcov_histogram_insert): Likewise.
2697	(gcov_compute_histogram): Likewise.
2698	(compute_summary): Simplify rapidly.
2699	(merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2700	(merge_summary): Rapidly simplify.
2701	(dump_one_gcov): Ignore gcov_summary.
2702	(gcov_do_dump): Do not handle program summary, it's not
2703	used.
2704	* libgcov-util.c (tag_summary): Remove.
2705	(read_gcda_finalize): Fix coding style.
2706	(read_gcda_file): Initialize curr_object_summary.
2707	(compute_summary): Remove.
2708	(calculate_overlap): Remove settings of run_max.
2709
27102018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
2711
2712	* config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2713	ucontext_t type instead.
2714	(nds32_fallback_frame_state): Remove struct _sigframe statement.
2715
27162018-09-21  Kito Cheng  <kito.cheng@gmail.com>
2717
2718	* config/nds32/t-nds32-glibc: New file.
2719
27202018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2721
2722	* configure.ac (solaris_ld_v2_maps): New test.
2723	* configure: Regenerate.
2724	* Makefile.in (solaris_ld_v2_maps): New variable.
2725	* config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2726	if supported.
2727
27282018-08-23  Richard Earnshaw  <rearnsha@arm.com>
2729
2730	PR target/86951
2731	* config/arm/lib1funcs.asm (speculation_barrier): New function.
2732	* config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2733	to build.
2734
27352018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
2736
2737	* config/unwind-dw2-fde-darwin.c
2738	(_darwin10_Unwind_FindEnclosingFunction): move from here ...
2739	* config/darwin10-unwind-find-enc-func.c: ��� to here.
2740	* config/t-darwin: Build Darwin10 unwinder shim crt.
2741	* libgcc/config.host: Add the Darwin10 unwinder shim.
2742
27432018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2744
2745	* config.host: Add crtbegin.o and crtend.o for
2746	powerpc-wrs-vxworks target.
2747
27482018-08-17  Jojo  <jijie_rong@c-sky.com>
2749	    Huibin Wang  <huibin_wang@c-sky.com>
2750	    Sandra Loosemore  <sandra@codesourcery.com>
2751	    Chung-Lin Tang  <cltang@codesourcery.com>
2752
2753	C-SKY port: libgcc
2754
2755	* config.host: Add C-SKY support.
2756	* config/csky/*: New.
2757
27582018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
2759
2760	* config/nds32/t-nds32-isr: Rearrange object dependency.
2761	* config/nds32/initfini.c: Add dwarf2 unwinding support.
2762	* config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2763	and registers usage.
2764	* config/nds32/isr-library/excp_isr.S: Ditto.
2765	* config/nds32/isr-library/intr_isr.S: Ditto.
2766	* config/nds32/isr-library/reset.S: Ditto.
2767	* config/nds32/isr-library/restore_all.inc: Ditto.
2768	* config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2769	* config/nds32/isr-library/restore_partial.inc: Ditto.
2770	* config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2771	* config/nds32/isr-library/save_all.inc: Ditto.
2772	* config/nds32/isr-library/save_mac_regs.inc: Ditto.
2773	* config/nds32/isr-library/save_partial.inc: Ditto.
2774	* config/nds32/isr-library/save_usr_regs.inc: Ditto.
2775	* config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2776
27772018-08-11  John David Anglin  <danglin@gcc.gnu.org>
2778
2779	* config/pa/linux-atomic.c: Update comment.
2780	(FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2781	COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2782	SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2783	__ATOMIC_RELAXED for atomic loads.
2784	(SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
2785	unordered store to release lock.
2786	(__sync_lock_release_8): Likewise.
2787	(SYNC_LOCK_RELEASE_2): Remove define.
2788
27892018-08-02  Nicolas Pitre <nico@fluxnic.net>
2790
2791	PR libgcc/86512
2792	* config/arm/ieee754-df.S: Don't shortcut denormal handling when
2793	exponent goes negative. Update my email address.
2794	* config/arm/ieee754-sf.S: Likewise.
2795
27962018-08-01  Martin Liska  <mliska@suse.cz>
2797
2798	* libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
2799	check that  __gcov_indirect_call_callee is non-null.
2800
28012018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
2802
2803	* config/arm/ieee754-df.S: Fix comment for code working on
2804	architectures >= 4.
2805	* config/arm/ieee754-sf.S: Likewise.
2806
28072018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2808
2809	PR libgcc/85334
2810	* config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2811	Removed.
2812
28132018-07-05  James Clarke  <jrtc27@jrtc27.com>
2814
2815	* configure: Regenerated.
2816
28172018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2818
2819	* Makefile.in (install_leaf): Use enable_gcov instead of
2820	enable_libgcov.
2821
28222018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2823
2824	* configure.ac: Add --disable-gcov option.
2825	* configure: Regenerate.
2826	* Makefile.in: Honour @enable_gcov@.
2827
28282018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
2829
2830	* config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2831	__ARM_ARCH and __ARM_FEATURE_CLZ instead.
2832	(HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2833	* config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2834	__ARM_ARCH__.
2835	* config/arm/ieee754-sf.S: Likewise.
2836	* config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2837
28382018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
2839
2840	* config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2841	longer supported.
2842	* config/arm/ieee754-sf.S: Likewise.
2843
28442018-06-20  Than McIntosh  <thanm@google.com>
2845
2846	PR libgcc/86213
2847	* generic-morestack.c (allocate_segment): Move calls to getenv and
2848	getpagesize to __morestack_load_mmap.
2849	(__morestack_load_mmap) Initialize static_pagesize and
2850	use_guard_page here so as to avoid clobbering SSE regs during a
2851	__morestack call.
2852
28532018-06-18  Michael Meissner  <meissner@linux.ibm.com>
2854
2855	* config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2856	support modules with -mno-gnu-attribute.
2857	* config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2858
28592018-06-07  Olivier Hainque  <hainque@adacore.com>
2860
2861	* config/t-vxworks (LIBGCC_INCLUDES): Add
2862	-I$(MULTIBUILDTOP)../../gcc/include.
2863	* config/t-vxworks7: Likewise. Reformat a bit to match
2864	the t-vxworks layout.
2865
28662018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
2867
2868	* config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2869
28702018-06-07  Martin Liska  <mliska@suse.cz>
2871
2872	* libgcov-driver.c: Rename cs_all to all and assign it from
2873	all_prg.
2874
28752018-06-07  Martin Liska  <mliska@suse.cz>
2876
2877	PR bootstrap/86057
2878	* libgcov-driver-system.c (replace_filename_variables): Use
2879	memcpy instead of mempcpy.
2880	(allocate_filename_struct): Do not allocate filename, allocate
2881	prefix and set it.
2882	(gcov_exit_open_gcda_file): Allocate memory for gf->filename
2883	here and properly copy content into it.
2884	* libgcov-driver.c (struct gcov_filename): Remove max_length
2885	field, change prefix from size_t into char *.
2886	(compute_summary): Do not calculate longest filename.
2887	(gcov_do_dump): Release memory of gf.filename after each file.
2888	* libgcov-util.c (compute_summary): Use new signature of
2889	compute_summary.
2890	(calculate_overlap): Likewise.
2891
28922018-06-05  Martin Liska  <mliska@suse.cz>
2893
2894	PR gcov-profile/47618
2895	* libgcov-driver-system.c (replace_filename_variables): New
2896	function.
2897	(gcov_exit_open_gcda_file): Use it.
2898
28992018-06-05  Martin Liska  <mliska@suse.cz>
2900
2901	* libgcov-driver.c (gcov_compute_histogram): Remove usage
2902	of gcov_ctr_summary.
2903	(compute_summary): Do it just for a single summary.
2904	(merge_one_data): Likewise.
2905	(merge_summary): Simplify as we read just single summary.
2906	(dump_one_gcov): Pass proper argument.
2907	* libgcov-util.c (compute_one_gcov): Simplify as we have just
2908	single summary.
2909	(gcov_info_count_all_cold): Likewise.
2910	(calculate_overlap): Likewise.
2911
29122018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
2913	    Monk Chiang  <sh.chiang04@gmail.com>
2914
2915	* config.host (nds32*-linux*): New.
2916	* config/nds32/linux-atomic.c: New file.
2917	* config/nds32/linux-unwind.h: New file.
2918
29192018-05-31  Uros Bizjak  <ubizjak@gmail.com>
2920
2921	PR target/85591
2922	* config/i386/cpuinfo.c (get_amd_cpu): Return
2923	AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2924
29252018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
2926
2927	* crtstuff.c: Remove declaration of _Jv_RegisterClasses.
2928
29292018-05-29  Martin Liska  <mliska@suse.cz>
2930
2931	PR gcov-profile/85759
2932	* libgcov-driver-system.c (gcov_error): Introduce usage of
2933	GCOV_EXIT_AT_ERROR env. variable.
2934	* libgcov-driver.c (merge_one_data): Print error that we
2935	overwrite a gcov file with a different timestamp.
2936
29372018-05-23  Kalamatee  <kalamatee@gmail.com>
2938
2939	* config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2940	path to Lf$finfty.
2941
29422018-05-18  Kito Cheng <kito.cheng@gmail.com>
2943	    Monk Chiang  <sh.chiang04@gmail.com>
2944	    Jim Wilson <jimw@sifive.com>
2945
2946	* config/riscv/save-restore.S: Add support for rv32e.
2947
29482018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2949
2950	* config/arm/libunwind.S: Update comment relating to armv5.
2951
29522018-05-17  Jerome Lambourg  <lambourg@adacore.com>
2953
2954	* config/arm/cmse.c (cmse_check_address_range): Replace
2955	UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2956
29572018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
2958
2959	* config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2960	* config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2961
29622018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
2963
2964	* config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2965	* config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2966
29672018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
2968
2969	* config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2970
29712018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
2972	    Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2973
2974	PR libgcc/84292
2975	* config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2976	op_and_fetch to return the right result.
2977
29782018-04-27  Alan Modra  <amodra@gmail.com>
2979
2980	PR libgcc/85532
2981	* config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2982	-fno-asynchronous-unwind-tables.
2983
29842018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
2985
2986	* config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2987	* config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2988
29892018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
2990
2991	* config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2992	when including "config/i386/shadow-stack-unwind.h".
2993
29942018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
2995
2996	* configure: Regenerated.
2997
29982018-04-20  Michael Meissner  <meissner@linux.ibm.com>
2999
3000	PR target/85456
3001	* config/rs6000/_powikf2.c: New file.  Add support for the
3002	__builtin_powil function when long double is IEEE 128-bit floating
3003	point.
3004	* config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3005	__powikf2 support.
3006	(__powikf2): Likewise.
3007	* config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3008	(__powikf2_hw): Likewise.
3009	(__powikf2): Likewise.
3010	* config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3011	* config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3012	(_powikf2-hw.c): Likewise.
3013
30142018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
3015
3016	PR libgcc/85334
3017	* unwind-generic.h (_Unwind_Frames_Increment): New.
3018	* config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3019	Likewise.
3020	* unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3021	count with _Unwind_Frames_Increment.
3022	(_Unwind_ForcedUnwind_Phase2): Likewise.
3023
30242018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
3025
3026	PR libgcc/85379
3027	* config/i386/morestack.S (__stack_split_initialize): Add
3028	_CET_ENDBR.
3029
30302018-04-19  Jakub Jelinek  <jakub@redhat.com>
3031
3032	* configure: Regenerated.
3033
30342018-04-18  David Malcolm  <dmalcolm@redhat.com>
3035
3036	PR jit/85384
3037	* configure: Regenerate.
3038
30392018-04-16  Jakub Jelinek  <jakub@redhat.com>
3040
3041	PR target/84945
3042	* config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3043	-Wdangling-else warnings.  Mask shift counts to avoid
3044	-Wshift-count-negative and -Wshift-count-overflow false positives.
3045
30462018-04-06  Ruslan Bukin  <br@bsdpad.com>
3047
3048	* config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3049
30502018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
3051
3052	PR target/85100
3053	* config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3054	(XSTATE_FP): Likewise.
3055	(XSTATE_SSE): Likewise.
3056	(XSTATE_YMM): Likewise.
3057	(XSTATE_OPMASK): Likewise.
3058	(XSTATE_ZMM): Likewise.
3059	(XSTATE_HI_ZMM): Likewise.
3060	(XCR_AVX_ENABLED_MASK): Likewise.
3061	(XCR_AVX512F_ENABLED_MASK): Likewise.
3062	(get_available_features): Enable AVX and AVX512 features only
3063	if their states are supported by OSXSAVE.
3064
30652018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3066
3067	PR target/85025
3068	* config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3069	Fix a typo, tmp => 255.
3070
30712018-03-20  Jakub Jelinek  <jakub@redhat.com>
3072
3073	PR target/84945
3074	* config/i386/cpuinfo.h (__cpu_features2): Declare.
3075	* config/i386/cpuinfo.c (__cpu_features2): New variable for
3076	ifndef SHARED only.
3077	(set_feature): Define.
3078	(get_available_features): Use set_feature macro.  Set __cpu_features2
3079	to the second word of features ifndef SHARED.
3080
30812018-03-15  Julia Koval  <julia.koval@intel.com>
3082
3083	* config/i386/cpuinfo.c (get_available_features): Add
3084	FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3085	FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3086	* config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3087	FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3088	FEATURE_AVX512BITALG.
3089
30902018-03-14  Julia Koval  <julia.koval@intel.com>
3091
3092	* config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3093	icelake client and icelake server.
3094
30952018-03-06  John David Anglin  <danglin@gcc.gnu.org>
3096
3097	* config/pa/fptr.c (_dl_read_access_allowed): New.
3098	(__canonicalize_funcptr_for_compare): Use it.
3099
31002018-02-28  Jakub Jelinek  <jakub@redhat.com>
3101
3102	PR debug/83917
3103	* configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3104	$asm_hidden_op if visibility ("hidden") attribute works.
3105	(HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3106	* config/i386/i386-asm.h: Don't include auto-host.h.
3107	(PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3108	PACKAGE_URL): Don't undefine.
3109	(USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3110	guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3111	(FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3112	#ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3113	definition instead of hardcoded .hidden.
3114	* config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3115	directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3116	#ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3117	(USE_GAS_CFI_DIRECTIVES): Don't define.
3118	* configure: Regenerated.
3119	* config.in: Likewise.
3120
31212018-02-26  Jakub Jelinek  <jakub@redhat.com>
3122
3123	PR debug/83917
3124	* config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3125	PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3126	inclusion of auto-target.h and auto-host.h.
3127	(USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3128	__GCC_HAVE_DWARF2_CFI_ASM.
3129	(cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3130	cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3131	cfi_pop): Define.
3132	* config/i386/cygwin.S: Don't include auto-host.h here, just
3133	define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3134	(cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3135	cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3136	* config/i386/resms64fx.h: Add cfi_* directives.
3137	* config/i386/resms64x.h: Likewise.
3138
31392018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
3140
3141	* config/xtensa/ieee754-df.S (__adddf3_aux): Add
3142	.literal_position directive.
3143	* config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3144
31452018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3146
3147	PR target/84148
3148	* configure: Regenerate.
3149
31502018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3151
3152	PR target/84239
3153	* config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3154	Include cetintrin.h not x86intrin.h.
3155
31562018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3157
3158	PR target/84239
3159	* config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3160	Use new _get_ssp and _inc_ssp intrinsics.
3161
31622018-02-02  Julia Koval  <julia.koval@intel.com>
3163
3164	* config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3165
31662018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
3167
3168	* config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3169	option.
3170	(__divsi3): Use RF16 safe registers.
3171	(__modsi3): Likewise.
3172
31732018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
3174
3175	* config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3176	(__divsf3): Make NaN return value quiet.
3177	* config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3178	(__divdf3): Make NaN return value quiet.
3179
31802018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3181
3182	* config/rl78/anddi3.S: New assembly file.
3183	* config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3184
31852018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3186
3187	* config/rl78/umindi3.S: New assembly file.
3188	* config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3189
31902018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3191
3192	* config/rl78/smindi3.S: New assembly file.
3193	* config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3194
31952018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3196
3197	* config/rl78/smaxdi3.S: New assembly file.
3198	* config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3199
32002018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3201
3202	* config/rl78/umaxdi3.S: New assembly file.
3203	* config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
3204
32052018-01-21  John David Anglin  <danglin@gcc.gnu.org>
3206
3207	PR lto/83452
3208	* config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3209	* config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
3210
32112018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
3212
3213	* config/aarch64/value-unwind.h (aarch64_vg): New function.
3214	(DWARF_LAZY_REGISTER_VALUE): Define.
3215	* unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3216	to provide a fallback register value.
3217
32182018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
3219
3220	* config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3221	__ibm128, instead of trying to use long double.
3222	(CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3223	accomidate -mabi=ieeelongdouble multilibs.
3224	(CVT_IBM128_TO_FLOAT128): Likewise.
3225	* config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3226	the appropriate IBM extended double type.
3227	(__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3228	(__gcc_qsub): Likewise.
3229	(__gcc_qmul): Likewise.
3230	(__gcc_qdiv): Likewise.
3231	(pack_ldouble): Likewise.
3232	(__gcc_qneg): Likewise.
3233	(__gcc_qeq): Likewise.
3234	(__gcc_qne): Likewise.
3235	(__gcc_qge): Likewise.
3236	(__gcc_qle): Likewise.
3237	(__gcc_stoq): Likewise.
3238	(__gcc_dtoq): Likewise.
3239	(__gcc_itoq): Likewise.
3240	(__gcc_utoq): Likewise.
3241	(__gcc_qunord): Likewise.
3242	* config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3243	quad-float128.h for the definitions.
3244	(COPYSIGN): Use the f128 version instead of the q version.
3245	(INFINITY): Likewise.
3246	(__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3247	* config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3248	quad-float128.h for the definitions.
3249	(COPYSIGN): Use the f128 version instead of the q version.
3250	(INFINITY): Likewise.
3251	(FABS): Likewise.
3252	(__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3253	* config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3254	* config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3255
32562018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3257
3258	* config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3259	configuration.
3260
32612018-01-03  Jakub Jelinek  <jakub@redhat.com>
3262
3263	Update copyright years.
3264
32652017-12-12  Kito Cheng  <kito.cheng@gmail.com>
3266
3267	* config/riscv/t-elf: Use multi3.c instead of multi3.S.
3268	* config/riscv/multi3.c: New file.
3269	* config/riscv/multi3.S: Remove.
3270
32712017-12-08  Jim Wilson  <jimw@sifive.com>
3272
3273	* config/riscv/div.S: Use FUNC_* macros.
3274	* config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3275	* config/riscv/save-restore.S: Likewise.
3276	* config/riscv/riscv-asm.h: New.
3277
32782017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
3279
3280	* config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3281	* config/rs6000/_divkc3.c (__divkc3): Likewise.
3282
3283	PR libgcc/83112
3284	* config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
3285	correct type for all ifunc resolvers to silence -Wattribute-alias
3286	warnings.  Eliminate the forward declaration of the resolver
3287	functions which is no longer needed.
3288	(__subkf3_resolve): Likewise.
3289	(__mulkf3_resolve): Likewise.
3290	(__divkf3_resolve): Likewise.
3291	(__negkf2_resolve): Likewise.
3292	(__eqkf2_resolve): Likewise.
3293	(__nekf2_resolve): Likewise.
3294	(__gekf2_resolve): Likewise.
3295	(__gtkf2_resolve): Likewise.
3296	(__lekf2_resolve): Likewise.
3297	(__ltkf2_resolve): Likewise.
3298	(__unordkf2_resolve): Likewise.
3299	(__extendsfkf2_resolve): Likewise.
3300	(__extenddfkf2_resolve): Likewise.
3301	(__trunckfsf2_resolve): Likewise.
3302	(__trunckfdf2_resolve): Likewise.
3303	(__fixkfsi_resolve): Likewise.
3304	(__fixkfdi_resolve): Likewise.
3305	(__fixunskfsi_resolve): Likewise.
3306	(__fixunskfdi_resolve): Likewise.
3307	(__floatsikf_resolve): Likewise.
3308	(__floatdikf_resolve): Likewise.
3309	(__floatunsikf_resolve): Likewise.
3310	(__floatundikf_resolve): Likewise.
3311	(__extendkftf2_resolve): Likewise.
3312	(__trunctfkf2_resolve): Likewise.
3313
3314	PR libgcc/83103
3315	* config/rs6000/quad-float128.h (TF): Don't define if long double
3316	is IEEE 128-bit floating point.
3317	(TCtype): Define as either TCmode or KCmode, depending on whether
3318	long double is IEEE 128-bit floating point.
3319	(__mulkc3_sw): Add declarations for software/hardware versions of
3320	complex multiply/divide.
3321	(__divkc3_sw): Likewise.
3322	(__mulkc3_hw): Likewise.
3323	(__divkc3_hw): Likewise.
3324	* config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
3325	handlers to switch between using software emulation and hardware
3326	float128 instructions, build the complex multiply/divide functions
3327	for both software and hardware support.
3328	* config/rs6000/_divkc3.c (_divkc3): Likewise.
3329	* config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
3330	(__divkc3_resolve): Likewise.
3331	(__mulkc3): Likewise.
3332	(__divkc3): Likewise.
3333	* config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
3334	(fp128_hw_src): Likewise.
3335	(fp128_hw_static_obj): Likewise.
3336	(fp128_hw_shared_obj): Likewise.
3337	(_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
3338	_mulkc3.c and _divkc3.c, changing the function name.
3339	(_divkc3-hw.c): Likewise.
3340	* config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
3341	and _divkc3-hw.c.
3342
33432017-11-26  Julia Koval  <julia.koval@intel.com>
3344
3345	* config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
3346	* config/i386/cpuinfo.h (processor_subtypes): Add
3347	INTEL_COREI7_CANNONLAKE.
3348
33492017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3350
3351	PR bootstrap/83015
3352	* config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
3353	parameter.
3354	* config/xtensa/unwind-dw2-xtensa.c: Likewise
3355	* config/ia64/unwind-ia64.c: Add frames parameter.
3356	* unwind-sjlj.c: Likewise.
3357
33582017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3359
3360	* config/i386/linux-unwind.h: Include
3361	config/i386/shadow-stack-unwind.h.
3362	* config/i386/shadow-stack-unwind.h: New file.
3363	* unwind-dw2.c: (uw_install_context): Add a frame parameter and
3364	pass it to _Unwind_Frames_Extra.
3365	* unwind-generic.h (_Unwind_Frames_Extra): New.
3366	* unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3367	parameter. Add local variable frames to count number of frames.
3368	(_Unwind_ForcedUnwind_Phase2): Likewise.
3369	(_Unwind_RaiseException): Add local variable frames to count
3370	number of frames, pass it to _Unwind_RaiseException_Phase2 and
3371	uw_install_context.
3372	(_Unwind_ForcedUnwind): Likewise.
3373	(_Unwind_Resume): Likewise.
3374	(_Unwind_Resume_or_Rethrow): Likewise.
3375
33762017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3377
3378	* Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3379	(CET_FLAGS): New.
3380	* config/i386/morestack.S: Include <cet.h>.
3381	(__morestack_large_model): Add _CET_ENDBR at function entrance.
3382	* config/i386/resms64.h: Include <cet.h>.
3383	* config/i386/resms64f.h: Likewise.
3384	* config/i386/resms64fx.h: Likewise.
3385	* config/i386/resms64x.h: Likewise.
3386	* config/i386/savms64.h: Likewise.
3387	* config/i386/savms64f.h: Likewise.
3388	* config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3389	(CRTSTUFF_T_CFLAGS): Likewise.
3390	* configure.ac: Include ../config/cet.m4.
3391	Set and substitute CET_FLAGS.
3392	* configure: Regenerated.
3393
33942017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3395
3396	* config.host (*-*-solaris2*): Adapt comment for Solaris 12
3397	renaming.
3398	* config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3399	* configure.ac (libgcc_cv_solaris_crts): Likewise.
3400	* configure: Regenerate.
3401
34022017-11-07  Tom de Vries  <tom@codesourcery.com>
3403
3404	* config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3405	after "do {} while (0)".
3406
34072017-11-07  Tom de Vries  <tom@codesourcery.com>
3408
3409	PR other/82784
3410	* config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3411	semicolon after "do {} while (0)".
3412	* config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3413	* config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3414	* config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3415	* config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3416
34172017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
3418
3419	PR libgcc/82635
3420	* config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3421	sysctl to determine whether we're in a trampoline.
3422	Keep the pattern matching method for systems without
3423	KERN_PROC_SIGTRAMP sysctl.
3424
34252017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
3426	    Vineet Gupta <vgupta@synopsys.com>
3427
3428	* config.host (arc*-*-linux*): Set md_unwind_header variable.
3429	* config/arc/linux-unwind-reg.def: New file.
3430	* config/arc/linux-unwind-reg.h: Likewise.
3431
34322017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
3433
3434	* config/rl78/subdi3.S: New assembly file.
3435	* config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3436
34372017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
3438
3439	* config/rl78/adddi3.S: New assembly file.
3440	* config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3441
34422017-10-13  Jakub Jelinek  <jakub@redhat.com>
3443
3444	PR target/82274
3445	* libgcc2.c (__mulvDI3): If both operands have
3446	the same highpart of -1 and the topmost bit of lowpart is 0,
3447	multiplication overflows even if both lowparts are 0.
3448
34492017-09-28  James Bowman  <james.bowman@ftdichip.com>
3450
3451	* config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3452
34532017-09-26  Joseph Myers  <joseph@codesourcery.com>
3454
3455	* config/microblaze/crti.S, config/microblaze/crtn.S,
3456	config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3457	config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3458	config/microblaze/mulsi3.S,
3459	config/microblaze/stack_overflow_exit.S,
3460	config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3461	config/pa/milli64.S: Add .note.GNU-stack section.
3462
34632017-09-23  Daniel Santos  <daniel.santos@pobox.com>
3464
3465	* configure.ac: Add Check for HAVE_AS_AVX.
3466	* config.in: Regenerate.
3467	* configure: Likewise.
3468	* config/i386/i386-asm.h: Include auto-target.h from libgcc.
3469	(SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3470	Correct out-of-date comments.
3471
34722017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
3473
3474	* config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3475	* config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3476
34772017-09-17  Daniel Santos  <daniel.santos@pobox.com>
3478
3479	* config/i386/i386-asm.h (PASTE2): New macro.
3480	(ASMNAME): Modify to use PASTE2.
3481	(MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3482	(MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
3483	* config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3484	instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
3485	* config/i386/resms64f.S: Likewise.
3486	* config/i386/resms64fx.S: Likewise.
3487	* config/i386/resms64x.S: Likewise.
3488	* config/i386/savms64.S: Likewise.
3489	* config/i386/savms64f.S: Likewise.
3490	* config/i386/avx_resms64.S: New file that only defines a macro and
3491	includes it's corresponding header file.
3492	* config/i386/avx_resms64f.S: Likewise.
3493	* config/i386/avx_resms64fx.S: Likewise.
3494	* config/i386/avx_resms64x.S: Likewise.
3495	* config/i386/avx_savms64.S: Likewise.
3496	* config/i386/avx_savms64f.S: Likewise.
3497	* config/i386/sse_resms64.S: Likewise.
3498	* config/i386/sse_resms64f.S: Likewise.
3499	* config/i386/sse_resms64fx.S: Likewise.
3500	* config/i386/sse_resms64x.S: Likewise.
3501	* config/i386/sse_savms64.S: Likewise.
3502	* config/i386/sse_savms64f.S: Likewise.
3503	* config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3504
35052017-09-01  Olivier Hainque  <hainque@adacore.com>
3506	* config.host (*-*-vxworks7): Widen scope to vxworks7*.
3507
35082017-08-31  Olivier Hainque  <hainque@adacore.com>
3509
3510	* config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3511	match as powerpc-wrs-vxworks*.
3512
35132017-08-07  Jonathan Yong  <10walls@gmail.com>
3514
3515	* config.host (*-cygwin): Include file from mingw
3516	config/i386/enable-execute-stack-mingw32.c
3517
35182017-08-01  Jerome Lambourg  <lambourg@adacore.com>
3519	    Doug Rupp  <rupp@adacore.com>
3520	    Olivier Hainque  <hainque@adacore.com>
3521
3522	* config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3523	as well as arm-wrs-vxworks.
3524	* config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
3525	LIB2ADDEH.
3526	* config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3527	__exidx_start and __exidx_end for downloadable modules.
3528
35292017-08-01  Olivier Hainque  <hainque@adacore.com>
3530
3531	* config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3532	* config/t-vxworks7: Likewise.
3533
35342017-08-01  Olivier Hainque  <hainque@adacore.com>
3535
3536	* config/t-vxworks: Instead of redefining LIB2ADD,
3537	augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3538
35392017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3540
3541	* config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3542
35432017-07-24  Daniel Santos  <daniel.santos@pobox.com>
3544
3545	PR testsuite/80759
3546	* config.host: include i386/t-msabi for darwin and solaris.
3547	* config/i386/i386-asm.h
3548	(ELFFN): Rename to FN_TYPE.
3549	(FN_SIZE): New macro.
3550	(FN_HIDDEN): Likewise.
3551	(ASMNAME): Likewise.
3552	(FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3553	.globl.
3554	(HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3555	(SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3556	* config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3557	.macro.
3558	* config/i386/resms64f.S: Likewise.
3559	* config/i386/resms64fx.S: Likewise.
3560	* config/i386/resms64x.S: Likewise.
3561	* config/i386/savms64.S: Likewise.
3562	* config/i386/savms64f.S: Likewise.
3563
35642017-07-19  John Marino  <gnugcc@marino.st>
3565
3566	* config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3567
35682017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
3569
3570	PR target/81193
3571	* configure.ac (PowerPC float128 hardware support): Test whether
3572	we can use __builtin_cpu_supports before enabling the ifunc
3573	handler.
3574	* configure: Regenerate.
3575
35762017-07-10  Vineet Gupta <vgupta@synopsys.com>
3577
3578	* config.host: Remove uclibc from arc target spec.
3579
35802017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
3581
3582	* config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3583
35842017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
3585
3586	* config/rs6000/float128-ifunc.c: Don't include auxv.h.
3587	(have_ieee_hw_p): Delete function.
3588	(SW_OR_HW) Use __builtin_cpu_supports().
3589
35902017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3591
3592	* config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3593
35942017-07-03  Olivier Hainque  <hainque@adacore.com>
3595
3596	* config/t-vxworks7: New file, really.
3597
35982017-06-28  Joseph Myers  <joseph@codesourcery.com>
3599
3600	* config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3601	config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3602	config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3603	config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3604	x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3605	uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3606	config/pa/linux-unwind.h (pa32_fallback_frame_state),
3607	config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3608	config/sh/linux-unwind.h (sh_fallback_frame_state),
3609	config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3610	config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3611	ucontext_t instead of struct ucontext.
3612
36132017-06-27  Jerome Lambourg  <lambourg@adacore.com>
3614
3615	* config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3616	(x86_64-wrs-vxworks7): Likewise.
3617
36182017-06-27  Olivier Hainque  <hainque@adacore.com>
3619
3620	* config/t-vxworks7: New file.
3621	* config.host (*-*-vxworks7): Use it.
3622
36232017-06-22  Matt Turner  <mattst88@gmail.com>
3624
3625	* config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3626	skylake case.
3627
36282017-06-21  Richard Biener  <rguenther@suse.de>
3629
3630	PR gcov-profile/81080
3631	* configure.ac: Add AC_SYS_LARGEFILE.
3632	* libgcov.h: Include auto-target.h before tsystem.h to pick
3633	up _FILE_OFFSET_BITS which might differ for multilibs.
3634	* config.in: Regenerate.
3635	* configure: Likewise.
3636
36372017-06-16  Richard Earnshaw  <rearnsha@arm.com>
3638
3639	* config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3640
36412017-06-09  Martin Liska  <mliska@suse.cz>
3642
3643	* libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3644	Reset __gcov_indirect_call_callee to NULL.
3645
36462017-06-08  Olivier Hainque  <hainque@adacore.com>
3647
3648	* config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3649	the set of -I options, support for direct inclusions of net/uio.h
3650	by VxWorks header files via ioLib.h.
3651
36522017-06-07  Tony Reix  <tony.reix@atos.net>
3653	    Matthieu Sarter  <matthieu.sarter.external@atos.net>
3654	    David Edelsohn  <dje.gcc@gmail.com>
3655
3656	* config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3657	unconditionally.
3658	(ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
3659	AIX 7.2 support.
3660
36612017-06-02  Olivier Hainque  <hainque@adacore.com>
3662
3663	* config/vxlib.c (__gthread_once): Add missing value to
3664	return statement.
3665
36662017-05-30  Olivier Hainque  <hainque@adacore.com>
3667
3668	* config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3669	dollar sign before $(MULTIDIR).
3670
36712017-05-26  Richard Henderson  <rth@redhat.com>
3672
3673	PR libgcc/80037
3674	* config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3675
36762017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
3677
3678	* config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3679	_Unwind_SetIP available as functions for arm*-*-freebsd*.
3680	* config/arm/unwind-arm.c: Implement the above.
3681
36822017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3683
3684	* config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3685	section for a non-executable stack.
3686
36872017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
3688
3689	PR target/80600
3690	* config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3691
36922017-05-14  Daniel Santos  <daniel.santos@pobox.com>
3693
3694	* config.host: Add i386/t-msabi to i386/t-linux file list.
3695	* config/i386/i386-asm.h: New file.
3696	* config/i386/resms64.S: New file.
3697	* config/i386/resms64f.S: New file.
3698	* config/i386/resms64fx.S: New file.
3699	* config/i386/resms64x.S: New file.
3700	* config/i386/savms64.S: New file.
3701	* config/i386/savms64f.S: New file.
3702	* config/i386/t-msabi: New file.
3703
37042017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
3705
3706	* config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3707	arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3708
37092017-05-05  Joshua Conner  <joshconner@google.com>
3710
3711	* config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3712	pc-relative indirect handling for fuchsia.
3713	* config/t-slibgcc-fuchsia: New file.
3714	* config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
3715	x86_64-*-fuchsia*): Add definitions.
3716
37172017-04-19  Martin Liska  <mliska@suse.cz>
3718
3719	PR gcov-profile/80435
3720	* Makefile.in: Install gcov.h.
3721	* gcov.h: New file.
3722	* libgcov.h: Use the header and make __gcov_flush publicly
3723	visible.
3724
37252017-04-18  Martin Liska  <mliska@suse.cz>
3726
3727	PR gcov-profile/78783
3728	* libgcov-driver.c (gcov_get_filename): New function.
3729
37302017-04-07  Jeff Law  <law@redhat.com>
3731
3732	* Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3733	target makefile fragment.
3734	* config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3735
37362017-04-07  Alan Modra  <amodra@gmail.com>
3737
3738	PR target/45053
3739	* config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3740
37412017-04-03  Jonathan Wakely  <jwakely@redhat.com>
3742
3743	* config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3744
37452017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
3746
3747	* config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3748
37492017-03-10  John Marino  <gnugcc@marino.st>
3750
3751	* config/aarch64/freebsd-unwind.h: New file.
3752	* config.host: Add aarch64-*-freebsd unwinder.
3753
37542017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
3755
3756	* config/rs6000/crtrestvr.s: Use .machine altivec.
3757	* config/rs6000/crtsavevr.s: Ditto.
3758
37592017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
3760
3761	* configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3762	modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
3763	(test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3764	-mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
3765	* configure: Regenerate.
3766	* config.in: Regenerate.
3767
37682017-03-02  Jonathan Yong <10walls@gmail.com>
3769
3770	* config/i386/gthr-win32.h: Define NOGDI before
3771	windows.h include to prevent w32api CC_NONE macro
3772	clash with libgfortran.
3773
37742017-03-02  Jonathan Yong <10walls@gmail.com>
3775
3776	* unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3777
37782017-02-16  Andrew Pinski  <apinski@cavium.com>
3779
3780	* config/aarch64/value-unwind.h: New file.
3781	* config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3782	to tm_file.
3783
37842017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
3785
3786	* config.host: Add RISC-V tuples.
3787	* config/riscv/atomic.c: New file.
3788	* config/riscv/crti.S: Likewise.
3789	* config/riscv/crtn.S: Likewise.
3790	* config/riscv/div.S: Likewise.
3791	* config/riscv/linux-unwind.h: Likewise.
3792	* config/riscv/muldi3.S: Likewise.
3793	* config/riscv/multi3.S: Likewise.
3794	* config/riscv/save-restore.S: Likewise.
3795	* config/riscv/sfp-machine.h: Likewise.
3796	* config/riscv/t-elf: Likewise.
3797	* config/riscv/t-elf32: Likewise.
3798	* config/riscv/t-elf64: Likewise.
3799	* config/riscv/t-softfp32: Likewise.
3800	* config/riscv/t-softfp64: Likewise.
3801
38022017-01-24  Jakub Jelinek  <jakub@redhat.com>
3803
3804	* soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3805	/* FALLTHRU */ comments.
3806
38072017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
3808
3809	* config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3810
38112017-01-20  Jiong Wang  <jiong.wang@arm.com>
3812
3813	* config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3814	* unwind-dw2.c (execute_cfa_program):  Only multiplexing
3815	DW_CFA_GNU_window_save for AArch64 and LP64.
3816
38172017-01-20  Jiong Wang  <jiong.wang@arm.com>
3818
3819	* config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3820
38212017-01-19  Jiong Wang  <jiong.wang@arm.com>
3822
3823	* config/aarch64/aarch64-unwind.h: New file.
3824	(DWARF_REGNUM_AARCH64_RA_STATE): Define.
3825	(MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3826	(MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3827	(MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3828	(MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3829	(aarch64_post_extract_frame_addr): New function.
3830	(aarch64_post_frob_eh_handler_addr): New function.
3831	(aarch64_frob_update_context): New function.
3832	* config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3833	* config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3834	aarch64*-*-freebsd*):
3835	Initialize md_unwind_header to include aarch64-unwind.h.
3836	* unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3837	(execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3838	__aarch64__.
3839	(uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3840	(uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3841	(uw_frob_return_addr): New function.
3842	(uw_install_context): Use uw_frob_return_addr.
3843
38442017-01-17  Jakub Jelinek  <jakub@redhat.com>
3845
3846	PR other/79046
3847	* configure.ac: Add GCC_BASE_VER.
3848	* Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3849	version from BASE-VER file.
3850	* configure: Regenerated.
3851
38522017-01-13  Joe Seymour  <joe.s@somniumtech.com>
3853
3854	* config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3855	libmul_f5.a): Filter archived prerequisites.
3856
38572017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
3858
3859	* config/i386/cpuinfo.h (processor_features): Add
3860	FEATURE_AVX512VPOPCNTDQ.
3861	* config/i386/cpuinfo.c (get_available_features): Habdle new
3862	feature.
3863
38642017-01-04  Joseph Myers  <joseph@codesourcery.com>
3865
3866	* config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3867	payload if [__mips_nan2008].
3868
38692017-01-04  Alan Modra  <amodra@gmail.com>
3870
3871	* Makefile.in (configure_deps): Update.
3872	* configure: Regenerate.
3873
38742017-01-01  Jakub Jelinek  <jakub@redhat.com>
3875
3876	Update copyright years.
3877
38782016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
3879
3880	* config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3881	* crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3882	* unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3883
38842016-12-17  Matthias Klose  <doko@ubuntu.com>
3885
3886	* config/arc/gmon: Remove empty directory.
3887
38882016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
3889
3890	* config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3891	crtgend.
3892	(arc*-*-elf*): Likewise.
3893	* config/arc/t-arc: Remove old gmon lib targets.
3894	* config/arc/crtg.S: Remove.
3895	* config/arc/crtgend.S: Likewise.
3896	* config/arc/gmon/atomic.h: Likewise.
3897	* config/arc/gmon/auxreg.h: Likewise.
3898	* config/arc/gmon/dcache_linesz.S: Likewise.
3899	* config/arc/gmon/gmon.c: Likewise.
3900	* config/arc/gmon/machine-gmon.h: Likewise.
3901	* config/arc/gmon/mcount.c: Likewise.
3902	* config/arc/gmon/prof-freq-stub.S: Likewise.
3903	* config/arc/gmon/prof-freq.c: Likewise.
3904	* config/arc/gmon/profil.S: Likewise.
3905	* config/arc/gmon/sys/gmon.h: Likewise.
3906	* config/arc/gmon/sys/gmon_out.h: Likewise.
3907	* config/arc/t-arc-newlib: Likewise.
3908	* config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3909
39102016-12-12  George Spelvin  <linux@sciencehorizons.net>
3911
3912	* config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3913
39142016-12-12  George Spelvin  <linux@sciencehorizons.net>
3915
3916	* config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3917	R16 instead of push + pop.
3918	(__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3919
39202016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
3921
3922	* config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3923	tmake_file.
3924
39252016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
3926
3927	* config.host (arc*-*-linux-uclibc*): Use default extra
3928	objects. Include linux-android header.
3929	* config/arc/crti.S (_init): Declare symbol as function.
3930	(_fini): Likewise.
3931
39322016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
3933
3934	PR fortran/78379
3935	* config/i386/cpuinfo.c:  Move denums for processor vendors,
3936	processor type, processor subtypes and declaration of
3937	struct __processor_model into
3938	* config/i386/cpuinfo.h:  New header file.
3939
39402016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
3941	    Thomas Preud'homme  <thomas.preudhomme@arm.com>
3942
3943	* config/arm/cmse_nonsecure_call.S: New.
3944	* config/arm/t-arm: Compile cmse_nonsecure_call.S
3945
39462016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
3947	    Thomas Preud'homme  <thomas.preudhomme@arm.com>
3948
3949	* config/arm/t-arm (HAVE_CMSE): New.
3950	* config/arm/cmse.c: New.
3951
39522016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3953
3954	PR gcc/74748
3955	* libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3956	use generic linker version information on Blackfin.
3957
3958	PR gcc/74748
3959	* libgcc/mkmap-symver.awk: add support for skip_underscore
3960
39612016-11-27  Iain Sandoe  <iain@codesourcery.com>
3962	    Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3963
3964	PR target/67710
3965	*  config/t-darwin: Default builds to 10.5 codegen.
3966
39672016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
3968
3969	* config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3970	(_FP_NANSIGN_H): Likewise.
3971	* config/aarch64/t-softfp (softfp_extensions): Add hftf.
3972	(softfp_truncations): Add tfhf.
3973	(softfp_extras): Add required conversion functions.
3974
39752016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
3976	    Matthew Wahab  <matthew.wahab@arm.com>
3977
3978	* config/arm/fp16.c (binary64): New.
3979	(__gnu_d2h_internal): New.
3980	(__gnu_d2h_ieee): New.
3981	(__gnu_d2h_alternative): New.
3982
39832016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
3984	    Matthew Wahab  <matthew.wahab@arm.com>
3985
3986	* config/arm/fp16.c (struct format): New.
3987	(binary32): New.
3988	(__gnu_float2h_internal): New.  Body moved from
3989	__gnu_f2h_internal and generalize.
3990	(_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3991	Call it with binary32.
3992
39932016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
3994
3995	* soft-fp/extendhftf2.c: Update from glibc.
3996	* soft-fp/fixhfti.c: Likewise.
3997	* soft-fp/fixunshfti.c: Likewise.
3998	* soft-fp/floattihf.c: Likewise.
3999	* soft-fp/floatuntihf.c: Likewise.
4000	* soft-fp/half.h: Likewise.
4001	* soft-fp/trunctfhf2.c: Likewise.
4002
40032016-11-20  Marc Glisse  <marc.glisse@inria.fr>
4004
4005	PR libgcc/77813
4006	* crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4007	__TMC_END__ behind a passthrough asm.
4008
40092016-11-18  Walter Lee  <walt@tilera.com>
4010
4011	* config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
4012
40132016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
4014
4015	* config/i386/cpuinfo.c (processor_features): Add
4016	FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4017
40182016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
4019
4020	* config/arc/dp-hack.h (ARC_OPTFPE): Define.
4021	(__ARC_NORM__): Use instead ARC_OPTFPE.
4022	* config/arc/fp-hack.h: Likewise.
4023	* config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4024	(__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4025
40262016-11-16  Alexander Monakov  <amonakov@ispras.ru>
4027
4028	* config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4029	* config/nvptx/mgomp.c: New file.
4030	* config/nvptx/t-nvptx: Add mgomp.c
4031
40322016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
4033
4034	PR libgcc/68468
4035	* unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4036
40372016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
4038
4039	* config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4040	of checking for cpus.
4041	(__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4042	(__modsi3, __clzsi2): Likewise.
4043
40442016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4045
4046	* config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4047	i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4048	* config/i386/t-cpuinfo-static: New.
4049
40502016-11-03  Martin Liska  <mliska@suse.cz>
4051
4052	* libgcov-profiler.c (__gcov_time_profiler): Remove.
4053	(__gcov_time_profiler_atomic): Likewise.
4054
40552016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4056
4057	PR libgcc/78067
4058	* libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4059	count_leading_zeros.
4060
40612016-11-02  Uros Bizjak  <ubizjak@gmail.com>
4062
4063	* Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4064	* libgcc2.c (__divmoddi4): New function.
4065	* libgcc2.h (__divmoddi4): Declare.
4066	* libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4067	and __PFX_divmodti4.
4068
40692016-10-24  Florian Weimer  <fweimer@redhat.com>
4070
4071	PR libgcc/78064
4072	* unwind-c.c: Include auto-target.h.
4073
40742016-10-19  John David Anglin  <danglin@gcc.gnu.org>
4075
4076	* config/pa/pa64-hpux-lib.h: New file.
4077	(EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4078	(DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4079	* config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4080	hppa*64*-*-hpux11*.
4081
40822016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
4083
4084	* config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4085	definition.
4086	* config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4087	definition.
4088	* config/xtensa/t-windowed (LIB2ADDEH): Use
4089	LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4090	or xtensa/t-linux.
4091
40922016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
4093
4094	* config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4095	__ieee754_sqrt): New functions.
4096	(__divdf3): Add implementation with new FPU instructions under
4097	#if XCHAL_HAVE_DFP_DIV.
4098	* config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4099	__ieee754_sqrtf): New functions.
4100	(__divsf3): Add implementation with new FPU instructions under
4101	#if XCHAL_HAVE_FP_DIV.
4102	* config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4103	_rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4104
41052016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4106
4107	* libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4108	equivalent.
4109	* config/tilepro/atomic.c: Likewise and stop casting model to
4110	enum memmodel.
4111
41122016-10-10  Joseph Myers  <joseph@codesourcery.com>
4113
4114	PR target/77586
4115	* config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4116	soft-fp.
4117
41182016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
4119
4120	* config.host: Add support for aarch64-*-freebsd*.
4121
41222016-10-05  Andreas Schwab  <schwab@suse.de>
4123
4124	* config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4125	(.section .init_array): Don't call __do_jv_register_classes.
4126	(.section .init): Likewise.
4127
41282016-10-04  Jakub Jelinek  <jakub@redhat.com>
4129
4130	* config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4131	(__JCR_LIST__): Remove.
4132	(__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4133	* config/i386/cygming-crtend.c (__JCR_END__): Remove.
4134	* config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4135	* config/ia64/crtend.S (__JCR_END__): Remove.
4136	* crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4137	conditionals.
4138	(__JCR_LIST__, __JCR_END__): Remove.
4139	(frame_dummy): Don't attempt to _Jv_RegisterClasses.
4140	(__do_global_ctors_1): Likewise.
4141
41422015-09-28  Uros Bizjak  <ubizjak@gmail.com>
4143
4144	* config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4145	(__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4146
41472016-09-27  Martin Liska  <mliska@suse.cz>
4148
4149	PR gcov-profile/7970
4150	PR gcov-profile/16855
4151	PR gcov-profile/44779
4152	* libgcov-driver.c (__gcov_init): Do not register a atexit
4153	handler.
4154	(__gcov_exit): Rename from gcov_exit.
4155	* libgcov.h (__gcov_exit): Declare.
4156
41572016-09-27  Martin Liska  <mliska@suse.cz>
4158
4159	PR bootstrap/77749
4160	* Makefile.in: Remove _gcov_merge_delta.
4161	* libgcov-merge.c (void __gcov_merge_delta): Remove.
4162	* libgcov-util.c (__gcov_delta_counter_op): Remove.
4163	* libgcov.h: Remove declaration of __gcov_merge_delta.
4164
41652016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
4166
4167	* configure.ac: Do not create links, only substitute the filenames.
4168	* configure: Regenerate.
4169	* Makefile.in: Assign the substitution results to variables.
4170	(LIBGCC_LINKS): Define.
4171	(enable-execute-stack.c): New rule.
4172	(unwind.h): Likewise.
4173	(md-unwind-support.h): Likewise.
4174	(sfp-machine.h): Likewise.
4175	(gthr-default.h): Likewise.
4176	Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4177	unwind.h as prerequisite of install-unwind_h-forbuild.
4178
41792016-09-16  Jakub Jelinek  <jakub@redhat.com>
4180
4181	PR libgcc/71744
4182	* unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4183	is not the primary registry and atomics are available.
4184	(any_objects_registered): New variable.
4185	(__register_frame_info_bases, __register_frame_info_table_bases):
4186	Atomically store 1 to any_objects_registered after registering first
4187	unwind info.
4188	(_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4189
41902016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
4191
4192	PR target/63250
4193	*  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4194	* libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4195	(HFtype): Likewise.
4196	(HCtype): Likewise.
4197	(__divhc3): Likewise.
4198	(__mulhc3): Likewise.
4199	* libgcc2.c: Support _mulhc3 and _divhc3.
4200
42012016-09-07  Joseph Myers  <joseph@codesourcery.com>
4202
4203	PR libgcc/77519
4204	* libgcc2.c (NOTRUNC): Invert settings.
4205
42062016-09-06  Martin Liska  <mliska@suse.cz>
4207
4208	PR gcov-profile/77378
4209	PR gcov-profile/77466
4210	* libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4211	conditionaly enable/disable *_atomic functions.
4212
42132016-08-26  Joseph Myers  <joseph@codesourcery.com>
4214
4215	* config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4216	where not already enabled.
4217
42182016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4219
4220	* config/mips/linux-unwind.h: Use sys/syscall.h.
4221
42222016-08-16  Joseph Myers  <joseph@codesourcery.com>
4223
4224	PR libgcc/77265
4225	* soft-fp/adddf3.c: Update from glibc.
4226	* soft-fp/addsf3.c: Likewise.
4227	* soft-fp/addtf3.c: Likewise.
4228	* soft-fp/divdf3.c: Likewise.
4229	* soft-fp/divsf3.c: Likewise.
4230	* soft-fp/divtf3.c: Likewise.
4231	* soft-fp/double.h: Likewise.
4232	* soft-fp/eqdf2.c: Likewise.
4233	* soft-fp/eqsf2.c: Likewise.
4234	* soft-fp/eqtf2.c: Likewise.
4235	* soft-fp/extenddftf2.c: Likewise.
4236	* soft-fp/extended.h: Likewise.
4237	* soft-fp/extendsfdf2.c: Likewise.
4238	* soft-fp/extendsftf2.c: Likewise.
4239	* soft-fp/extendxftf2.c: Likewise.
4240	* soft-fp/fixdfdi.c: Likewise.
4241	* soft-fp/fixdfsi.c: Likewise.
4242	* soft-fp/fixdfti.c: Likewise.
4243	* soft-fp/fixsfdi.c: Likewise.
4244	* soft-fp/fixsfsi.c: Likewise.
4245	* soft-fp/fixsfti.c: Likewise.
4246	* soft-fp/fixtfdi.c: Likewise.
4247	* soft-fp/fixtfsi.c: Likewise.
4248	* soft-fp/fixtfti.c: Likewise.
4249	* soft-fp/fixunsdfdi.c: Likewise.
4250	* soft-fp/fixunsdfsi.c: Likewise.
4251	* soft-fp/fixunsdfti.c: Likewise.
4252	* soft-fp/fixunssfdi.c: Likewise.
4253	* soft-fp/fixunssfsi.c: Likewise.
4254	* soft-fp/fixunssfti.c: Likewise.
4255	* soft-fp/fixunstfdi.c: Likewise.
4256	* soft-fp/fixunstfsi.c: Likewise.
4257	* soft-fp/fixunstfti.c: Likewise.
4258	* soft-fp/floatdidf.c: Likewise.
4259	* soft-fp/floatdisf.c: Likewise.
4260	* soft-fp/floatditf.c: Likewise.
4261	* soft-fp/floatsidf.c: Likewise.
4262	* soft-fp/floatsisf.c: Likewise.
4263	* soft-fp/floatsitf.c: Likewise.
4264	* soft-fp/floattidf.c: Likewise.
4265	* soft-fp/floattisf.c: Likewise.
4266	* soft-fp/floattitf.c: Likewise.
4267	* soft-fp/floatundidf.c: Likewise.
4268	* soft-fp/floatundisf.c: Likewise.
4269	* soft-fp/floatunditf.c: Likewise.
4270	* soft-fp/floatunsidf.c: Likewise.
4271	* soft-fp/floatunsisf.c: Likewise.
4272	* soft-fp/floatunsitf.c: Likewise.
4273	* soft-fp/floatuntidf.c: Likewise.
4274	* soft-fp/floatuntisf.c: Likewise.
4275	* soft-fp/floatuntitf.c: Likewise.
4276	* soft-fp/gedf2.c: Likewise.
4277	* soft-fp/gesf2.c: Likewise.
4278	* soft-fp/getf2.c: Likewise.
4279	* soft-fp/ledf2.c: Likewise.
4280	* soft-fp/lesf2.c: Likewise.
4281	* soft-fp/letf2.c: Likewise.
4282	* soft-fp/muldf3.c: Likewise.
4283	* soft-fp/mulsf3.c: Likewise.
4284	* soft-fp/multf3.c: Likewise.
4285	* soft-fp/negdf2.c: Likewise.
4286	* soft-fp/negsf2.c: Likewise.
4287	* soft-fp/negtf2.c: Likewise.
4288	* soft-fp/op-1.h: Likewise.
4289	* soft-fp/op-2.h: Likewise.
4290	* soft-fp/op-4.h: Likewise.
4291	* soft-fp/op-8.h: Likewise.
4292	* soft-fp/op-common.h: Likewise.
4293	* soft-fp/quad.h: Likewise.
4294	* soft-fp/single.h: Likewise.
4295	* soft-fp/soft-fp.h: Likewise.
4296	* soft-fp/subdf3.c: Likewise.
4297	* soft-fp/subsf3.c: Likewise.
4298	* soft-fp/subtf3.c: Likewise.
4299	* soft-fp/truncdfsf2.c: Likewise.
4300	* soft-fp/trunctfdf2.c: Likewise.
4301	* soft-fp/trunctfsf2.c: Likewise.
4302	* soft-fp/trunctfxf2.c: Likewise.
4303	* soft-fp/unorddf2.c: Likewise.
4304	* soft-fp/unordsf2.c: Likewise.
4305	* soft-fp/unordtf2.c: Likewise.
4306
43072016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
4308
4309	PR gcov-profile/67097
4310	* libgcov-util.c (gcov_profile_merge): Skip missing files.
4311
43122016-08-10  Martin Liska  <mliska@suse.cz>
4313
4314	PR gcov-profile/58306
4315	* Makefile.in: New functions (modules) are added.
4316	* libgcov-profiler.c (__gcov_interval_profiler_atomic): New
4317	function.
4318	(__gcov_pow2_profiler_atomic): New function.
4319	(__gcov_one_value_profiler_body): New argument is instroduced.
4320	(__gcov_one_value_profiler): Call with the new argument.
4321	(__gcov_one_value_profiler_atomic): Likewise.
4322	(__gcov_indirect_call_profiler_v2): Likewise.
4323	(__gcov_time_profiler_atomic): New function.
4324	(__gcov_average_profiler_atomic): Likewise.
4325	(__gcov_ior_profiler_atomic): Likewise.
4326	* libgcov.h: Declare the aforementioned functions.
4327
43282016-08-09  Martin Liska  <mliska@suse.cz>
4329
4330	* libgcov-util.c: Fix typo and GNU coding style.
4331
43322016-08-09  Martin Liska  <mliska@suse.cz>
4333
4334	* Makefile.in: Remove __gcov_indirect_call_profiler.
4335	* libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
4336	function.
4337	* libgcov.h: And the declaration of the function.
4338
43392016-08-09  Martin Liska  <mliska@suse.cz>
4340
4341	* libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
4342	power of two.
4343
43442016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4345
4346	* config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4347	* config/rs6000/_mulkc3.c: Likewise.
4348
43492016-07-29  Georg-Johann Lay  <avr@gjlay.de>
4350
4351	* config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
4352	zero_reg as previous call to __umulhisi3 already cleared it.
4353
43542016-07-21  Aurelien Jarno <aurelien@aurel32.net>
4355
4356	PR target/59833
4357	* config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4358
43592016-07-19  Nick Clifton  <nickc@redhat.com>
4360
4361	* config.host (m32r): Add m32r/t-m32r to tmake_file.
4362	Add crtinit.o and crtfini.o to extra_parts.
4363
43642016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4365
4366	* config/rs6000/_divkc3.c: New.
4367	* config/rs6000/_mulkc3.c: New.
4368	* config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4369	and _divkc3.
4370	* config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4371	fp128_ppc_funcs.
4372
43732016-07-11  Hale Wang  <hale.wang@arm.com>
4374	    Andre Vieira  <andre.simoesdiasvieira@arm.com>
4375
4376	* config/arm/lib1funcs.S: Add new wrapper.
4377
43782016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4379
4380	* config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4381
43822016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4383
4384	* config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4385	and ARMv5t* rather than for a fixed list of architectures.
4386
43872016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4388
4389	* config/arm/bpabi-v6m.S: Clarify what architectures is the
4390	implementation suitable for.
4391	* config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4392	for all Thumb-1 only targets.
4393	(NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4394	(THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4395	__ARM_ARCH_6M__.
4396	(EQUIV): Likewise.
4397	(ARM_FUNC_ALIAS): Likewise.
4398	(umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4399	version.
4400	(modsi3): Likewise.
4401	(clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4402	(clzdi2): Likewise.
4403	(ctzsi2): Likewise.
4404	(L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4405	__ARM_ARCH_6M__ in guard for checking whether it is defined.
4406	(final includes): Test for NOT_ISA_TARGET_32BIT rather than
4407	__ARM_ARCH_6M__ and add comment to indicate the connection between
4408	this condition and the one in gcc/config/arm/elf.h.
4409	* config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4410	__ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4411	* config/arm/t-softfp: Likewise.
4412
44132016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4414
4415	* libgcc2.c (SYMBOL__MAIN): Remove checks for
4416	CTOR_LISTS_DEFINED_EXTERNALLY.
4417
44182016-06-28  Walter Lee  <walt@tilera.com>
4419
4420	* config/tilepro/atomic.h: Do not include arch/spr_def.h and
4421	asm/unistd.h.
4422	(SPR_CMPEXCH_VALUE): Define for tilegx.
4423	(__NR_FAST_cmpxchg): Define for tilepro.
4424	(__NR_FAST_atomic_update): Define for tilepro.
4425	(__NR_FAST_cmpxchg64): Define for tilepro.
4426
44272016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
4428
4429	* config.host: Add suport for arm*-*-phoenix* targets.
4430
44312016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4432
4433	* config.host: Remove support for mep-*.
4434	* config/mep/lib1funcs.S: Remove.
4435	* config/mep/lib2funcs.c: Remove.
4436	* config/mep/t-mep: Remove.
4437	* config/mep/tramp.c: Remove.
4438
44392016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4440
4441	* config.host: Remove support for avr-rtems.
4442	* config/avr/t-rtems: Remove.
4443
44442016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4445
4446	* config.host: Remove m32r-rtems support.
4447
44482016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4449
4450	* config.host: Remove h8300-rtems support.
4451
44522016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4453
4454	* config.host: Remove support for knetbsd.
4455
44562016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4457
4458	* config.host: Remove support for openbsd 2 and 3.
4459
44602016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4461
4462	* config.host: Remove interix support.
4463	* config/i386/t-interix: Remove.
4464
44652016-06-18  John David Anglin  <danglin@gcc.gnu.org>
4466
4467	* config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4468	least-significant bit in function pointer for fixup.
4469
44702016-06-05  Aaron Conole  <aconole@redhat.com>
4471	    Nathan Sidwell  <nathan@acm.org>
4472
4473	PR libgcc/71400
4474	* libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4475	(get_gcov_error_file): Check __gcov_error_file before trying to
4476	initialize it.
4477	(gcov_error): Always use get_gcov_error_file.
4478
44792016-06-02  Aaron Conole  <aconole@redhat.com>
4480
4481	* libgcov-driver-system.c (__gcov_error_file): New.
4482	(get_gcov_error_file): New.
4483	(gcov_error): Use and set __gcov_error_file.
4484	(gcov_error_exit): New.
4485	* libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4486
44872016-05-26  Nathan Sidwell  <nathan@acm.org>
4488
4489	* config/nvptx/free.asm: Delete.
4490	* config/nvptx/malloc.asm: Delete.
4491	* config/nvptx/realloc.c: Delete.
4492	* t-nvptx: Update.
4493
44942016-05-25  Nathan Sidwell  <nathan@acm.org>
4495
4496	* config/nvptx/crt0.s: Delete.
4497	* config/nvptx/crt0.c: New.
4498	* t-nvptx: Update.
4499
45002016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
4501
4502	* config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
4503	dw2/seh configuration.
4504	[x86_64-*-mingw*]: Likewise.
4505
45062016-05-10  Joel Sherrill <joel@rtems.org>
4507
4508	PR libgcc/70720
4509	* config.host (moxie-*-rtems*): Merge this stanza with other moxie
4510	targets so the same extra_parts are built.  Also have tmake_file add
4511	on to its value rather than override.
4512
45132016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
4514
4515	* config.host: Remove SH5 support.
4516	* configure: Likewise.
4517
45182016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
4519
4520	* config/sh/crt1.S: Remove SH5 support.
4521	* config/sh/crti.S: Likewise.
4522	* config/sh/crtn.S: Likewise.
4523	* config/sh/lib1funcs-4-300.S: Likewise.
4524	* config/sh/lib1funcs-Os-4-200.S: Likewise.
4525	* config/sh/lib1funcs.S: Likewise.
4526	* config/sh/linux-unwind.h: Likewise.
4527	* config/sh/t-sh64: Delete.
4528
45292016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
4530
4531	* config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4532
45332016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
4534	    Joern Rennecke  <joern.rennecke@embecosm.com>
4535
4536	* config/arc/crttls.S: New file.
4537	* config/arc/t-arc: New rule.
4538	* config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4539
45402016-04-25  Nick Clifton  <nickc@redhat.com>
4541
4542	* config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4543	(__mspabi_cmpd): Likewise.
4544	* config/msp430/floathidf.c (__floathidf): Likewise.
4545	* config/msp430/floathisf.c (__floathisf): Likewise
4546	* config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4547	* config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4548	* config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4549	second parameter.
4550	(__ashrsi3): Likewise.
4551
45522016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
4553
4554	* config/m68k/linux-atomic.c: Do not include unistd.h
4555
45562016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
4557
4558	* config/arm/ieee754-df.S: Fix typos in comments.
4559
45602016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
4561
4562	PR target/70381
4563	* configure.ac (powerpc*-*-linux*): Rework tests to build
4564	__float128 emulation routines to not depend on using #pragma GCC
4565	target to enable -mfloat128.
4566	* configure: Regnerate.
4567
45682016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
4569
4570	PR target/67172
4571	* libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4572	__MINGW32__ is defined.
4573
45742016-03-28  James Bowman  <james.bowman@ftdichip.com>
4575
4576	* libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
4577
45782016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
4579
4580	PR libgcc/70363
4581	* config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4582	built with an assembler that does not support ISA 3.0
4583	instructions, rename __extendkftf2_sw to __extendkftf2.
4584
45852016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4586
4587	PR target/38239
4588	* config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4589	call-clobbered registers.
4590	(internal_mcount): Remove __i386__ handling.
4591
45922016-02-26  Joel Sherrill <joel@rtems.org>
4593
4594	* config.host: Add x86_64-*-rtems*.
4595
45962016-02-26  Joel Sherrill <joel@rtems.org>
4597
4598	* libgcc/config.host: Add aarch64-*-rtems*.
4599
46002016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4601	    Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4602
4603	* config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4604	union of u64 and double.
4605	(FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4606	(FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4607	value.
4608	(FP_ROUNDMODE): Update the usage of _fpscr.
4609
46102016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
4611
4612	PR driver/68463
4613	* Makefile.in (crtoffloadtable$(objext)): New rule.
4614	* configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4615	enable_offload_targets is not empty.
4616	* configure: Regenerate.
4617	* offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4618	crtoffloadtable.
4619
46202016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
4621
4622	* config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4623	.literal_position before the function.
4624	* config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4625	Likewise.
4626
46272016-02-15  Marcin Ko��cielnicki  <koriakin@0x04.net>
4628
4629	* config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4630	* config/s390/morestack.S: New file.
4631	* config/s390/t-stack-s390: New file.
4632	* generic-morestack.c (__splitstack_find): Add s390-specific code.
4633
46342016-02-12  Walter Lee  <walt@tilera.com>
4635
4636	* config.host (tilegx*-*-linux*): remove ti from
4637	softfp_int_modes for 32-bit configs.
4638
46392016-02-10  Ian Lance Taylor  <iant@google.com>
4640
4641	PR go/68562
4642	* config/i386/morestack.S (__stack_split_initialize): Align
4643	stack.
4644
46452016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
4646
4647	PR bootstrap/69611
4648	* config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4649	__FLOAT128__ to compile only for __float128 capable targets.
4650
46512016-01-25  Jakub Jelinek  <jakub@redhat.com>
4652
4653	PR target/69444
4654	* config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4655	instead of ___NO_FPRS__.
4656
46572016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
4658	    Steven Munroe  <munroesj@linux.vnet.ibm.com>
4659	    Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
4660
4661	* config/rs6000/float128-sed: New files to convert TF names to KF
4662	names for PowerPC IEEE 128-bit floating point support.
4663	* config/rs6000/float128-sed-hw: Likewise.
4664
4665	* config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4666	floating point hardware support.
4667
4668	* config/rs6000/float128-ifunc.c: New file to pick either IEEE
4669	128-bit floating point software emulation or use ISA 3.0 hardware
4670	support if it is available.
4671
4672	* config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4673	floating point.
4674
4675	* config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4676	floating point to IBM extended double.
4677
4678	* config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4679	double to IEEE 128-bit floating point.
4680
4681	* config/rs6000/t-float128: New Makefile fragments to enable
4682	building __float128 emulation support.
4683	* config/rs6000/t-float128-hw: Likewise.
4684
4685	* config/rs6000/sfp-exceptions.c: New file to provide exception
4686	support for IEEE 128-bit floating point.
4687
4688	* config/rs6000/floattikf.c: New files for converting between IEEE
4689	128-bit floating point and signed/unsigned 128-bit integers.
4690	* config/rs6000/fixunskfti.c: Likewise.
4691	* config/rs6000/fixkfti.c: Likewise.
4692	* config/rs6000/floatuntikf.c: Likewise.
4693
4694	* config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4695	when building on 64-bit systems, or when VSX is enabled.
4696	(_FP_W_TYPE): Likewise.
4697	(_FP_WS_TYPE): Likewise.
4698	(_FP_I_TYPE): Likewise.
4699	(TItype): Define on 64-bit systems.
4700	(UTItype): Likewise.
4701	(TI_BITS): Likewise.
4702	(_FP_MUL_MEAT_D): Add support for using 64-bit types.
4703	(_FP_MUL_MEAT_Q): Likewise.
4704	(_FP_DIV_MEAT_D): Likewise.
4705	(_FP_DIV_MEAT_Q): Likewise.
4706	(_FP_NANFRAC_D): Likewise.
4707	(_FP_NANFRAC_Q): Likewise.
4708	(ISA_BIT): Add exception support if we are being compiled on a
4709	machine with hardware floating point support to build the IEEE
4710	128-bit emulation functions.
4711	(FP_EX_INVALID): Likewise.
4712	(FP_EX_OVERFLOW): Likewise.
4713	(FP_EX_UNDERFLOW): Likewise.
4714	(FP_EX_DIVZERO): Likewise.
4715	(FP_EX_INEXACT): Likewise.
4716	(FP_EX_ALL): Likewise.
4717	(__sfp_handle_exceptions): Likewise.
4718	(FP_HANDLE_EXCEPTIONS): Likewise.
4719	(FP_RND_NEAREST): Likewise.
4720	(FP_RND_ZERO): Likewise.
4721	(FP_RND_PINF): Likewise.
4722	(FP_RND_MINF): Likewise.
4723	(FP_RND_MASK): Likewise.
4724	(_FP_DECL_EX): Likewise.
4725	(FP_INIT_ROUNDMODE): Likewise.
4726	(FP_ROUNDMODE): Likewise.
4727
4728	* libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4729	VSX code, enable IEEE 128-bit floating point.  If the compiler can
4730	compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4731	floating point hardware instructions and it supports declaring
4732	functions with the ifunc attribute, enable ifunc functions to
4733	switch between software and hardware support.
4734	* configure.ac (powerpc*-*-linux*): Likewise.
4735	* configure: Regenerate.
4736
47372016-01-15  Nick Clifton  <nickc@redhat.com>
4738
4739	* config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4740	dependency as the source file to be compiled.
4741	(lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4742	(lib2hw_mul_f5.o): Likewise.
4743
47442016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
4745
4746	* libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4747	* libgcc/config/rs6000/fixkfti.c: Likewise.
4748	* libgcc/config/rs6000/fixunskfti.c: Likewise.
4749	* libgcc/config/rs6000/float128-hw.c: Likewise.
4750	* libgcc/config/rs6000/float128-ifunc.c: Likewise.
4751	* libgcc/config/rs6000/float128-sed: Likewise.
4752	* libgcc/config/rs6000/floattikf.c: Likewise.
4753	* libgcc/config/rs6000/floatuntikf.c: Likewise.
4754	* libgcc/config/rs6000/quad-float128.h: Likewise.
4755	* libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4756	* libgcc/config/rs6000/sfp-machine.h: Likewise.
4757	* libgcc/config/rs6000/t-float128: Likewise.
4758	* libgcc/config/rs6000/t-float128-hw: Likewise.
4759	* libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4760	* libgcc/config.host: Likewise.
4761	* libgcc/configure: Likewise.
4762	* libgcc/configure.ac: Likewise.
4763
47642016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
4765	    Steven Munroe  <munroesj@linux.vnet.ibm.com>
4766	    Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
4767
4768	* config/rs6000/sfp-exceptions.c: New file to provide exception
4769	support for IEEE 128-bit floating point.
4770
4771	* config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4772	floating point hardware support.
4773
4774	* config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4775	point conversions.
4776	* config/rs6000/fixunskfti.c: Likewise.
4777	* config/rs6000/fixkfti.c: Likewise.
4778	* config/rs6000/floatuntikf.c: Likewise.
4779	* config/rs6000/extendkftf2-sw.c: Likewise.
4780	* config/rs6000/trunctfkf2-sw.c: Likewise.
4781
4782	* config/rs6000/float128-ifunc.c: New file to pick either IEEE
4783	128-bit floating point software emulation or use ISA 3.0 hardware
4784	support if it is available.
4785
4786	* config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4787	floating point.
4788
4789	* config/rs6000/t-float128: New Makefile fragments to enable
4790	building __float128 emulation support.
4791	* config/rs6000/t-float128-hw: Likewise.
4792
4793	* config/rs6000/float128-sed: New file to convert TF names to KF
4794	names for PowerPC IEEE 128-bit floating point support.
4795
4796	* config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4797	when building on 64-bit systems, or when VSX is enabled.
4798	(_FP_W_TYPE): Likewise.
4799	(_FP_WS_TYPE): Likewise.
4800	(_FP_I_TYPE): Likewise.
4801	(TItype): Define on 64-bit systems.
4802	(UTItype): Likewise.
4803	(TI_BITS): Likewise.
4804	(_FP_MUL_MEAT_D): Add support for using 64-bit types.
4805	(_FP_MUL_MEAT_Q): Likewise.
4806	(_FP_DIV_MEAT_D): Likewise.
4807	(_FP_DIV_MEAT_Q): Likewise.
4808	(_FP_NANFRAC_D): Likewise.
4809	(_FP_NANFRAC_Q): Likewise.
4810	(ISA_BIT): Add exception support if we are being compiled on a
4811	machine with hardware floating point support to build the IEEE
4812	128-bit emulation functions.
4813	(FP_EX_INVALID): Likewise.
4814	(FP_EX_OVERFLOW): Likewise.
4815	(FP_EX_UNDERFLOW): Likewise.
4816	(FP_EX_DIVZERO): Likewise.
4817	(FP_EX_INEXACT): Likewise.
4818	(FP_EX_ALL): Likewise.
4819	(__sfp_handle_exceptions): Likewise.
4820	(FP_HANDLE_EXCEPTIONS): Likewise.
4821	(FP_RND_NEAREST): Likewise.
4822	(FP_RND_ZERO): Likewise.
4823	(FP_RND_PINF): Likewise.
4824	(FP_RND_MINF): Likewise.
4825	(FP_RND_MASK): Likewise.
4826	(_FP_DECL_EX): Likewise.
4827	(FP_INIT_ROUNDMODE): Likewise.
4828	(FP_ROUNDMODE): Likewise.
4829
4830	* configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4831	compiler can do __float128.
4832	* configure: Regenerate.
4833
4834	* libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4835	VSX code, enable IEEE 128-bit floating point.
4836
48372016-01-05  Olivier Hainque  <hainque@adacore.com>
4838
4839	* config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
4840	specificities.
4841
48422016-01-04  Jakub Jelinek  <jakub@redhat.com>
4843
4844	Update copyright years.
4845
48462015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
4847
4848	* config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
4849	soft-fp targets.
4850
48512015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4852
4853	* unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4854	instead of abort to avoid dependency on stdlib.h.
4855
48562015-12-09  John David Anglin  <danglin@gcc.gnu.org>
4857
4858	* config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4859	to initialize call to __dl_fixup once.
4860
48612015-12-04  Nick Clifton  <nickc@redhat.com>
4862
4863	* config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4864	Allow for the second argument being negative.
4865	* config.host (extra_parts): Define for MSP430.  Create separate
4866	libraries for each of the hardware multiply formats.
4867	* config/msp430/lib2hw_mul.S: Build only the multiply routines
4868	that are needed.
4869	* config/msp430/lib2mul.c: Likewise.
4870	* config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4871	Add rules to build hardware multiply libraries.
4872	* config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4873	__mspabi_divul function.
4874	(__mspabi_divllu): New stub function.
4875
48762015-12-01  John David Anglin  <danglin@gcc.gnu.org>
4877
4878	* config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4879	fixup values if saved GOT address doesn't match runtime address.
4880	(fixup_branch_offset): Reorder list.
4881
48822015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4883
4884	* Makefile.in (VTV_CFLAGS): New variable.
4885	(vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4886	(vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4887	* config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4888	Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4889	to extra_parts if $enable_vtable_verify = yes.
4890
48912015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4892
4893	PR target/68059
4894	* config/arm/linux-atomic-64bit.c (__write): Rename to...
4895	(write): ...this and fix the return type.
4896
48972015-11-19  DJ Delorie  <dj@redhat.com>
4898
4899	* config/msp430/lib2hw_mul.S: Fix alignment.
4900
49012015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
4902
4903	* config/nvptx/reduction.c: New.
4904	* config/nvptx/t-nvptx (LIB2ADD): Add it.
4905
49062015-11-15  David Edelsohn  <dje.gcc@gmail.com>
4907
4908	* config/rs6000/on_exit.c: New file.
4909	* config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4910	* config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4911
49122015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
4913
4914	* config/arc/dp-hack.h: Add support for ARCHS.
4915	* config/arc/ieee-754/divdf3.S: Likewise.
4916	* config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4917	* config/arc/ieee-754/muldf3.S: Likewise.
4918	* config/arc/ieee-754/mulsf3.S: Likewise
4919	* config/arc/lib1funcs.S: Likewise
4920	* config/arc/gmon/dcache_linesz.S: Don't read the build register
4921	for ARCv2 cores.
4922	* config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4923	for ARCv2 cores.
4924	* config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4925	* config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4926	cores.
4927
49282015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4929
4930	* config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4931	value.
4932	* config/ia64/crtend.S: Likewise.
4933
49342015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4935
4936	* config/visium/lib2funcs.c (__set_trampoline_parity): Use
4937	__CHAR_BIT__ instead of BITS_PER_UNIT.
4938	* fixed-bit.h: Likewise.
4939	* fp-bit.h: Likewise.
4940	* libgcc2.c (__popcountSI2): Likewise.
4941	(__popcountDI2): Likewise.
4942	* libgcc2.h: Likewise.
4943	* libgcov.h: Likewise.
4944
49452015-11-07  David Edelsohn  <dje.gcc@gmail.com>
4946
4947	* config/rs6000/atexit.c: New file.
4948	* config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4949	* config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4950	* config/rs6000/cxa_finalize.c
4951	(catomic_compare_and_exchange_bool_acq): Negate return value.
4952
49532015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
4954
4955	* config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4956	(processor_subtypes): Add znver1.
4957	(get_amd_cpu): Detect znver1.
4958
49592015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
4960
4961	* config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4962	Include crtfastmath.o.
4963
49642015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
4965
4966	PR libgcc/66883
4967	* config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
4968
49692015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
4970
4971	* config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4972	* config/rl78/divmodsi.S: Update return register to r8.
4973	* config/rl78/divmodhi.S: Update return register to r8,r9.
4974	Branch to main_loop_done_himode to pop registers before return.
4975
49762015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
4977
4978	* config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4979	(__cpu_indicator_init): Fix model selection for AMD CPUs.
4980
49812015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
4982
4983	* config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4984
49852015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
4986
4987	* config.host (xtensa*-*-uclinux*): New configuration.
4988
49892015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
4990
4991	* config/i386/cpuinfo.c (processor_features): Add
4992	FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4993
49942015-09-28  Joseph Myers  <joseph@codesourcery.com>
4995
4996	* soft-fp/adddf3.c: Update from glibc.
4997	* soft-fp/addsf3.c: Likewise.
4998	* soft-fp/addtf3.c: Likewise.
4999	* soft-fp/divdf3.c: Likewise.
5000	* soft-fp/divsf3.c: Likewise.
5001	* soft-fp/divtf3.c: Likewise.
5002	* soft-fp/double.h: Likewise.
5003	* soft-fp/eqdf2.c: Likewise.
5004	* soft-fp/eqsf2.c: Likewise.
5005	* soft-fp/eqtf2.c: Likewise.
5006	* soft-fp/extenddftf2.c: Likewise.
5007	* soft-fp/extended.h: Likewise.
5008	* soft-fp/extendsfdf2.c: Likewise.
5009	* soft-fp/extendsftf2.c: Likewise.
5010	* soft-fp/extendxftf2.c: Likewise.
5011	* soft-fp/fixdfdi.c: Likewise.
5012	* soft-fp/fixdfsi.c: Likewise.
5013	* soft-fp/fixdfti.c: Likewise.
5014	* soft-fp/fixsfdi.c: Likewise.
5015	* soft-fp/fixsfsi.c: Likewise.
5016	* soft-fp/fixsfti.c: Likewise.
5017	* soft-fp/fixtfdi.c: Likewise.
5018	* soft-fp/fixtfsi.c: Likewise.
5019	* soft-fp/fixtfti.c: Likewise.
5020	* soft-fp/fixunsdfdi.c: Likewise.
5021	* soft-fp/fixunsdfsi.c: Likewise.
5022	* soft-fp/fixunsdfti.c: Likewise.
5023	* soft-fp/fixunssfdi.c: Likewise.
5024	* soft-fp/fixunssfsi.c: Likewise.
5025	* soft-fp/fixunssfti.c: Likewise.
5026	* soft-fp/fixunstfdi.c: Likewise.
5027	* soft-fp/fixunstfsi.c: Likewise.
5028	* soft-fp/fixunstfti.c: Likewise.
5029	* soft-fp/floatdidf.c: Likewise.
5030	* soft-fp/floatdisf.c: Likewise.
5031	* soft-fp/floatditf.c: Likewise.
5032	* soft-fp/floatsidf.c: Likewise.
5033	* soft-fp/floatsisf.c: Likewise.
5034	* soft-fp/floatsitf.c: Likewise.
5035	* soft-fp/floattidf.c: Likewise.
5036	* soft-fp/floattisf.c: Likewise.
5037	* soft-fp/floattitf.c: Likewise.
5038	* soft-fp/floatundidf.c: Likewise.
5039	* soft-fp/floatundisf.c: Likewise.
5040	* soft-fp/floatunditf.c: Likewise.
5041	* soft-fp/floatunsidf.c: Likewise.
5042	* soft-fp/floatunsisf.c: Likewise.
5043	* soft-fp/floatunsitf.c: Likewise.
5044	* soft-fp/floatuntidf.c: Likewise.
5045	* soft-fp/floatuntisf.c: Likewise.
5046	* soft-fp/floatuntitf.c: Likewise.
5047	* soft-fp/gedf2.c: Likewise.
5048	* soft-fp/gesf2.c: Likewise.
5049	* soft-fp/getf2.c: Likewise.
5050	* soft-fp/ledf2.c: Likewise.
5051	* soft-fp/lesf2.c: Likewise.
5052	* soft-fp/letf2.c: Likewise.
5053	* soft-fp/muldf3.c: Likewise.
5054	* soft-fp/mulsf3.c: Likewise.
5055	* soft-fp/multf3.c: Likewise.
5056	* soft-fp/negdf2.c: Likewise.
5057	* soft-fp/negsf2.c: Likewise.
5058	* soft-fp/negtf2.c: Likewise.
5059	* soft-fp/op-1.h: Likewise.
5060	* soft-fp/op-2.h: Likewise.
5061	* soft-fp/op-4.h: Likewise.
5062	* soft-fp/op-8.h: Likewise.
5063	* soft-fp/op-common.h: Likewise.
5064	* soft-fp/quad.h: Likewise.
5065	* soft-fp/single.h: Likewise.
5066	* soft-fp/soft-fp.h: Likewise.
5067	* soft-fp/subdf3.c: Likewise.
5068	* soft-fp/subsf3.c: Likewise.
5069	* soft-fp/subtf3.c: Likewise.
5070	* soft-fp/truncdfsf2.c: Likewise.
5071	* soft-fp/trunctfdf2.c: Likewise.
5072	* soft-fp/trunctfsf2.c: Likewise.
5073	* soft-fp/trunctfxf2.c: Likewise.
5074	* soft-fp/unorddf2.c: Likewise.
5075	* soft-fp/unordsf2.c: Likewise.
5076	* soft-fp/unordtf2.c: Likewise.
5077
50782015-09-24  Richard Earnshaw  <rearnsha@arm.com>
5079
5080	PR libgcc/67624
5081	* config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5082
50832015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5084
5085	* config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5086	Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5087	* config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5088	messages.
5089	(internal_mcount): Likewise.
5090	* config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5091	crt_compile, add CRTSTUFF_T_CFLAGS_S.
5092
50932015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5094
5095	* configure.ac (libgcc_cv_solaris_crts): New test.
5096	* configure: Regenerate.
5097	* config.in: Regenerate.
5098	* config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5099	* config/gmon-sol2.c: Rename to ...
5100	* config/sol2/gmon.c: ... this.
5101	Include auto-target.h.
5102	(internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5103	* config/t-sol2: Rename to ...
5104	* config/sol2/t-sol2: ... this.
5105	(gmon.o): Reflect renaming.
5106	(crtp.o, crtpg.o): New rules.
5107	* config.host (*-*-solaris2*): Reflect renaming.
5108	Use system CRTs if present.
5109	Remove default CRT case.
5110
51112015-09-23  John David Anglin  <danglin@gcc.gnu.org>
5112
5113	* config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5114	(__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5115	__kernel_cmpxchg2.
5116	(__sync_##OP##_and_fetch_##WIDTH): Likewise.
5117	(__sync_val_compare_and_swap_##WIDTH): Likewise.
5118	(__sync_bool_compare_and_swap_##WIDTH): Likewise.
5119	(__sync_lock_test_and_set_##WIDTH): Likewise.
5120	(__sync_lock_release_##WIDTH): Likewise.
5121	(__sync_fetch_and_##OP##_4): Change result to match type of
5122	__kernel_cmpxchg.
5123	(__sync_##OP##_and_fetch_4): Likewise.
5124	(__sync_val_compare_and_swap_4): Likewise.
5125	(__sync_bool_compare_and_swap_4): likewise.
5126	(__sync_lock_test_and_set_4): Likewise.
5127	(__sync_lock_release_4): Likewise.
5128	(FETCH_AND_OP_2): Add long long variants.
5129	(OP_AND_FETCH_2): Likewise.
5130	(COMPARE_AND_SWAP_2 ): Likewise.
5131	(SYNC_LOCK_TEST_AND_SET_2): Likewise.
5132	(SYNC_LOCK_RELEASE_2): Likewise.
5133	(__sync_bool_compare_and_swap_##WIDTH): Correct return.
5134
51352015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
5136
5137	* libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5138	FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5139	FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5140	(get_available_features): Habdle new features.
5141
51422015-09-21  James Bowman  <james.bowman@ftdichip.com>
5143
5144	* config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5145	memory layout. Deal correctly with BSS region larger than 32K.
5146	Handle a watchdog reset like a power-on reset. Clean up unused
5147	code.
5148
51492015-09-18  Andrew Dixie  <andrewd@gentrack.com>
5150	    David Edelsohn  <dje.gcc@gmail.com>
5151
5152	* config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5153	* config/rs6000/crtdbase.S: New file.
5154	* config/rs6000/t-aix-cxa: Build crtdbase.o.
5155
51562015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
5157
5158	* config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5159	Add support for call0 ABI.
5160
51612015-09-13  John David Anglin  <danglin@gcc.gnu.org>
5162
5163	* config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5164
51652015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5166
5167	* config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5168	(__GTHREAD_HAS_COND): Likewise.
5169	(__gthread_t): Likewise.
5170	(__gthread_cond_t): Likewise.
5171	(__gthread_time_t): Likewise.
5172	(__GTHREAD_MUTEX_INIT): Likewise.
5173	(__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5174	(__GTHREAD_COND_INIT): Likewise.
5175	(__GTHREAD_COND_INIT_FUNCTION): Likewise.
5176	(__GTHREAD_TIME_INIT): Likewise.
5177	(__gthread_create): Likewise.
5178	(__gthread_join): Likewise.
5179	(__gthread_detach): Likewise.
5180	(__gthread_equal): Likewise.
5181	(__gthread_self): Likewise.
5182	(__gthread_yield): Likewise.
5183	(__gthread_cond_broadcast): Likewise.
5184	(__gthread_cond_signal): Likewise.
5185	(__gthread_cond_wait): Likewise.
5186	(__gthread_cond_timedwait): Likewise.
5187	(__gthread_cond_wait_recursive): Likewise.
5188	(__gthread_cond_destroy): Likewise.
5189	(rtems_gxx_once): Delete.
5190	(rtems_gxx_key_create): Likewise.
5191	(rtems_gxx_key_delete): Likewise.
5192	(rtems_gxx_getspecific): Likewise.
5193	(rtems_gxx_setspecific): Likewise.
5194	(rtems_gxx_mutex_init): Likewise.
5195	(rtems_gxx_mutex_destroy): Likewise.
5196	(rtems_gxx_mutex_lock): Likewise.
5197	(rtems_gxx_mutex_trylock): Likewise.
5198	(rtems_gxx_mutex_unlock): Likewise.
5199	(rtems_gxx_recursive_mutex_init): Likewise.
5200	(rtems_gxx_recursive_mutex_lock): Likewise.
5201	(rtems_gxx_recursive_mutex_trylock): Likewise.
5202	(rtems_gxx_recursive_mutex_unlock): Likewise.
5203	(__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5204	(__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5205	(__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5206	(__gthread_once): Likewise.
5207	(__gthread_key_create): Likewise.
5208	(__gthread_key_delete): Likewise.
5209	(__gthread_getspecific): Likewise.
5210	(__gthread_setspecific): Likewise.
5211	(__gthread_key_t): Use <pthread.h> type.
5212	(__gthread_once_t): Likewise
5213	(__gthread_mutex_t): Use <sys/lock.h> type.
5214	(__gthread_recursive_mutex_t): Likewise
5215	(__gthread_mutex_lock): Use <sys/lock.h> function.
5216	(__gthread_mutex_trylock): Likewise.
5217	(__gthread_mutex_timedlock): Likewise.
5218	(__gthread_mutex_unlock): Likewise.
5219	(__gthread_mutex_destroy): Likewise.
5220	(__gthread_recursive_mutex_lock): Likewise.
5221	(__gthread_recursive_mutex_trylock): Likewise.
5222	(__gthread_recursive_mutex_timedlock): Likewise.
5223	(__gthread_recursive_mutex_unlock): Likewise.
5224	(__gthread_recursive_mutex_destroy): Likewise.
5225
52262015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
5227
5228	* config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5229	context->sp instead of context->cfa.
5230
52312015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
5232
5233	* config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5234	with unwind-dw2-fde-dip.
5235
52362015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
5237
5238	* config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5239	CALL12 followed by series of ENTRY to spill windowed registers.
5240	(__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5241	instead of making linux spill syscall.
5242
52432015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
5244
5245	* config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5246	(get_intel_cpu): Likewise.
5247
52482015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
5249
5250	* config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5251	(get_intel_cpu): Add Knights Landing support.
5252
52532015-08-11  Uros Bizjak  <ubizjak@gmail.com>
5254
5255	PR target/66954
5256	* config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5257	(get_available_features): Handle FEATURE_PCLMUL.
5258
52592015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
5260
5261	* config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5262	Broadwell.
5263
52642015-07-22  Uros Bizjak  <ubizjak@gmail.com>
5265
5266	PR target/66954
5267	* config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5268	(get_available_features): Handle FEATURE_AES.
5269
52702015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
5271
5272	* config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5273	(EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5274
52752015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
5276
5277	* offloadstuff.c: Constify host data.
5278
52792015-07-17  Jan Beulich  <jbeulich@suse.com>
5280
5281	* config/t-softfp: Split up "else ifneq".
5282
52832015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
5284	    Cesar Philippidis  <cesar@codesourcery.com>
5285	    Chung-Lin Tang  <cltang@codesourcery.com>
5286
5287	* config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
5288	for __nios2_arch__ level.
5289
52902015-07-13  John Marino  <gnugcc@marino.st>
5291
5292	* config/i386/t-dragonfly: New.
5293
52942015-07-01  John David Anglin  <danglin@gcc.gnu.org>
5295
5296	* config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
5297	better match light-weight syscall argument order.
5298	(__kernel_cmpxchg2): Likewise.
5299	Adjust callers.
5300
53012015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
5302
5303	* config.host: Support i[34567]86-*-elfiamcu target.
5304	* config/t-softfp-sfdftf: New file.
5305	* config/i386/32/t-iamcu: Likewise.
5306	* configure: Regenerated.
5307
53082015-06-23  James Lemke  <jwlemke@codesourcery.com>
5309
5310	libgcc/config/arm/
5311	* lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
5312
53132015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
5314
5315	* Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
5316
53172015-05-27  John Marino  <gnugcc@marino.st>
5318
5319	* config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
5320	md_unwind_header
5321	* config/i386/freebsd-unwind.h: New.
5322
53232015-05-22  Uros Bizjak  <ubizjak@gmail.com>
5324
5325	* config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
5326	i386/t-crtfm to tmake_file.
5327	* config/i386/crtfastmath.c (set_fast_math_sse): New function.
5328	(set_fast_math): Use set_fast_math_sse for SSE targets.
5329	* config/i386/t-crtfm: Remove.
5330
53312015-05-21  Alan Modra  <amodra@gmail.com>
5332
5333	PR libgcc/66225
5334	* config/rs6000/morestack.S: Remove ".abiversion 1".
5335
53362015-05-20  Alan Modra  <amodra@gmail.com>
5337
5338	* config/rs6000/morestack.S: New.
5339	* config/rs6000/t-stack-rs6000: New.
5340	* config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
5341	to tmake_file.
5342	* generic-morestack.c: Don't build for powerpc 32-bit.
5343
53442015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
5345
5346	* Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5347	Remove useless endif/ifneq ($(enable_shared),yes) pair.
5348
53492015-05-16  James Bowman  <james.bowman@ftdichip.com>
5350
5351	* config.host: FT32 target added.
5352	* config/ft32/*: New files for FT32 target.
5353
53542015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
5355
5356	* config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
5357	New macros.
5358	* config/arm/ieee754-df.S: Add CFI directives.
5359	* config/arm/ieee754-sf.S: Add CFI directives.
5360
53612015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
5362
5363	* configure.ac: Include config/sjlj.m4.
5364	Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5365	* config.in: Regenerate.
5366	* configure: Likewise.
5367	* config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5368
53692015-05-12  Uros Bizjak  <ubizjak@gmail.com>
5370
5371	* libgcov-util.c: Add space between string literal and macro name.
5372
53732015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
5374	    Chris Jones  <chrisj@nvidia.com>
5375	    Joshua Conner  <jconner@nvidia.com>
5376
5377	* config.host (arm*-*-linux*): Add support for crtfastmath.o.
5378	(arm*-*-uclinux*): Likewise.
5379	(arm*-*-eabi* | arm*-*-rtems*): Likewise.
5380	* config/arm/crtfastmath.c: New file.
5381
53822014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
5383
5384	* Makefile.in (real_host_noncanonical): New variable.
5385	(libsubdir): Use it.
5386	* configure.ac (real_host_noncanonical): Compute.  Remove special
5387	case for intelmicemul.
5388	* configure: Regenerate.
5389
53902015-04-28  Uros Bizjak  <ubizjak@gmail.com>
5391
5392	* config/frv/elf-lib.h: New file.
5393	(CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5394	* libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5395	to tm_file.
5396
53972015-04-28  Uros Bizjak  <ubizjak@gmail.com>
5398
5399	* config/frv/frvbengin.c: Do not include defaults.h
5400	* config/frv/frvend.c: Ditto.
5401
54022015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
5403
5404	* config.host: Add h8300-*-linux
5405	* config/h8300/t-linux: New file.
5406	* config/h8300/lib1funs.s: Change symbol prefix.
5407	* config/h8300/sfp-machine.h: 64bit double support.
5408
54092015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
5410	    Szabolcs Nagy  <szabolcs.nagy@arm.com>
5411
5412	* unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5413	Linux if target provides dl_iterate_phdr.
5414
54152015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
5416
5417	PR target/65612
5418	* config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5419	* config/i386/cpuinfo.c (__cpu_model): Initialize.
5420	(__cpu_indicator_init@GCC_4.8.0): New.
5421	(__cpu_model@GCC_4.8.0): Likewise.
5422	* config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5423	-DUSE_ELF_SYMVER.
5424
54252015-04-16  Nick Clifton  <nickc@redhat.com>
5426
5427	* config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5428	and __modhi3 functions.
5429	* config/rl78/divmodso.S: Add G14 and G13 versions of the
5430	__divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5431
54322015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
5433
5434	* gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5435	do-while loop as macro body to avoid warnings.
5436
54372015-04-10  Jakub Jelinek  <jakub@redhat.com>
5438	    Iain Sandoe  <iain@codesourcery.com>
5439
5440	PR target/65351
5441	* configure: Regenerate.
5442
54432015-04-07  Jakub Jelinek  <jakub@redhat.com>
5444	    Iain Sandoe  <iain@codesourcery.com>
5445
5446	PR target/65351
5447	* configure: Regenerate.
5448
54492015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
5450
5451	* config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5452
54532015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
5454
5455	Implement call0 ABI for xtensa
5456	* config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5457	__xtensa_nonlocal_goto): Don't compile for call0 ABI.
5458	(__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5459	use ret in call0 ABI.
5460	* config/xtensa/t-windowed: New file.
5461	* libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5462	* libgcc/configure: Regenerated.
5463	* libgcc/configure.ac: Check if xtensa target is configured for
5464	windowed ABI and thus needs to use custom unwind code.
5465
54662015-02-12  Jonathan Wakely  <jwakely@redhat.com>
5467
5468	PR libgcc/64885
5469	* gthr-single.h: Use __unused__ attribute instead of unused.
5470	* config/gthr-vxworks.h: Likewise.
5471	* config/i386/gthr-win32.h: Likewise.
5472
54732015-02-27  Kai Tietz  <ktietz@redhat.com>
5474
5475	PR target/65038
5476	* config.in: Regenerated.
5477	* configure: Likewise.
5478	* configure.ac (AC_HEADER_STDC): Added explicit.
5479	(AC_CHECK_HEADERS): Check for default headers  plus
5480	for ftw.h header.
5481	* libgcov-util.c (gcov_read_profile_dir): Disable use
5482	of ftw-function, if header is not found.
5483	(ftw_read_file): Likewise.
5484
54852015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
5486
5487	PR target/65181
5488	* config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5489	-Dinhibit_libc.
5490
54912015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
5492
5493	* config/arm/bpabi.S (test_div_by_zero): Make label names
5494	consistent between thumb2 and arm mode cases.  Separate the
5495	signed comparison on the high word of the numerator from the
5496	unsigned comparison on the low word.
5497	* config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5498	signed comparison.
5499
55002015-02-17  Joseph Myers  <joseph@codesourcery.com>
5501
5502	* config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5503	and <string.h>.
5504	(__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5505
55062015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
5507
5508	PR gcov-profile/61889
5509	* libgcov-driver-system.c: undefine clashing macro for mkdir.
5510
55112015-02-02  Nick Clifton  <nickc@redhat.com>
5512
5513	* config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5514	rounding up the fraction.
5515
55162015-01-31  John David Anglin  <danglin@gcc.gnu.org>
5517
5518	* config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5519	oldval and newval to const void *.  Fix typo.
5520	(FETCH_AND_OP_2): Use __atomic_load_n to load value.
5521	(FETCH_AND_OP_WORD): Likewise.
5522	(OP_AND_FETCH_WORD): Likewise.
5523	(COMPARE_AND_SWAP_2): Likewise.
5524	(__sync_val_compare_and_swap_4): Likewise.
5525	(__sync_lock_test_and_set_4): Likewise.
5526	(SYNC_LOCK_RELEASE_2): Likewise.
5527	Remove support for long long atomic operations.
5528
55292015-01-27  Caroline Tice  <cmtice@google.com>
5530
5531	Committing VTV Cywin/Ming patch for Patrick Wollgast
5532	* Makefile.in: Move rules to build vtv_*.o out of the check
5533	for CUSTOM_CRTSTUFF.
5534	* config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5535	i[34567]86-*-mingw*)
5536	 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5537	enable_vtable_verify.
5538
55392015-01-27  Nick Clifton  <nickc@redhat.com>
5540
5541	* config/rl78/cmpsi2.S: Use function start and end macros.
5542	(__gcc_bcmp): New function.
5543	* config/rl78/lshrsi3.S: Use function start and end macros.
5544	* config/rl78/mulsi3.S: Add support for G10.
5545	(__mulqi3): New function for G10.
5546	* config/rl78/signbit.S: Use function start and end macros.
5547	* config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5548	fpmath-sf.S.
5549	(LIB2FUNCS_EXCLUDE): Define.
5550	(LIB2FUNCS_ST): Define.
5551	* config/rl78/trampoline.S: Use function start and end macros.
5552	* config/rl78/vregs.h (START_FUNC): New macro.
5553	(START_ANOTHER_FUNC): New macro.
5554	(END_FUNC): New macro.
5555	(END_ANOTHER_FUNC): New macro.
5556	* config/rl78/bit-count.S: New file.  Contains assembler
5557	implementations of the bit counting functions: ___clzhi2,
5558	__clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5559	__paritysi2, __popcounthi2 and __popcountsi2.
5560	* config/rl78/fpbit-sf.S: New file.  Contains assembler
5561	implementationas of the math functions: __negsf2, __cmpsf2,
5562	__eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5563	__fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
5564	* config/rl78/fpmath-sf.S: New file.  Contains assembler
5565	implementations of the math functions: __subsf3, __addsf3,
5566	__mulsf3 and __divsf3
5567
55682015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5569
5570	* config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5571	Add i386/elf-lib.h to tm_file.
5572	* config/i386/elf-lib.h: Fix comment.
5573	* unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5574	&& __sun__ && __svr4__]: Remove workaround.
5575
55762015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
5577
5578	* config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5579	FEATURE_BMI2.
5580	(get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5581
55822015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
5583
5584	* config/i386/cpuinfo.c (processor_subtypes): Add
5585	INTEL_COREI7_BROADWELL.
5586	(get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5587	model numbers.
5588
55892015-01-23  Uros Bizjak  <ubizjak@gmail.com>
5590
5591	* config/i386/elf-lib.h: New file.
5592	(CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5593	Wrap definition in #ifdef __i386__.
5594	* libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5595	(i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5596	(i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5597	(x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5598	to tm_file.
5599
56002015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
5601
5602	* unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5603	"(char *)" to avoid qualifier warning by 'xgcc' compiling.
5604
56052015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
5606
5607	* config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5608	Update rt_sigframe format and address for current Nios II
5609	Linux conventions.
5610
56112015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
5612
5613	* config.host (arm*-*-freebsd*): Add new configuration for
5614	arm*-*-freebsd*.
5615	* config/arm/freebsd-atomic.c: New file.
5616	* config/arm/t-freebsd: Likewise.
5617	* config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5618	'PC-relative indirect' OS's.
5619
56202015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
5621
5622	* config.host: Add Visium support.
5623	* config/visium: New directory.
5624
56252015-01-05  Jakub Jelinek  <jakub@redhat.com>
5626
5627	Update copyright years.
5628
56292014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
5630
5631	* config.host: Support mipsisa32r6 and mipsisa64r6.
5632	* config/mips/mips16.S: Do not build for R6.
5633
56342014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
5635
5636	* config/sh/crt.h: New.
5637	* config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5638	symbols.
5639	* config/sh/crt1.S: Likewise.
5640
56412014-12-15  Uros Bizjak  <ubizjak@gmail.com>
5642
5643	PR libgcc/63832
5644	* crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5645	func_ptr *dtor_list temporary variable to avoid "array subscript
5646	is above array bounds" warnings.
5647
56482014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
5649
5650	* Makefile.in (with_aix_soname): Define.
5651	* config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5652	* configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5653	* configure: Recreate.
5654
56552014-12-05  Olivier Hainque  <hainque@adacore.com>
5656
5657	* unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5658	now provided by defaults.h.
5659
56602014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
5661
5662	PR target/55351
5663	* config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5664	whether it's defined.
5665
56662014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
5667
5668	* config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5669	* config/i386/cpuinfo.c (get_available_features): Detect it.
5670
56712014-11-27  Tony Wang  <tony.wang@arm.com>
5672
5673	* config/arm/lib1funcs.S (FUNC_START): Add conditional section
5674	redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5675	(SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5676
56772014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
5678
5679	* crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5680
56812014-11-24  John David Anglin  <danglin@gcc.gnu.org>
5682
5683	* config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5684	instead.
5685
56862014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
5687	    John David Anglin  <danglin@gcc.gnu.org>
5688
5689	* config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5690	(FETCH_AND_OP_2): New.  Use for subword and double word operations.
5691	(OP_AND_FETCH_2): Likewise.
5692	(COMPARE_AND_SWAP_2): Likewise.
5693	(SYNC_LOCK_TEST_AND_SET_2): Likewise.
5694	(SYNC_LOCK_RELEASE_2): Likewise.
5695	(SUBWORD_SYNC_OP): Remove.
5696	(SUBWORD_VAL_CAS): Likewise.
5697	(SUBWORD_BOOL_CAS): Likewise.
5698	(FETCH_AND_OP_WORD): Update.
5699	Consistently use signed types.
5700
57012014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
5702	    Thomas Schwinge  <thomas@codesourcery.com>
5703	    Ilya Verbin  <ilya.verbin@intel.com>
5704	    Andrey Turetskiy  <andrey.turetskiy@intel.com>
5705
5706	* Makefile.in (crtoffloadbegin$(objext)): New rule.
5707	(crtoffloadend$(objext)): Likewise.
5708	* configure: Regenerate.
5709	* configure.ac (accel_dir_suffix): Compute new variable.
5710	(extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5711	if enable_offload_targets is not empty.
5712	* offloadstuff.c: New file.
5713
57142014-11-13  Nick Clifton  <nickc@redhat.com>
5715
5716	* config/rl78/divmodhi.S: Add support for the G10 architecture.
5717	Use START_FUNC and END_FUNC macros to enable linker garbage
5718	collection.
5719	* config/rl78/divmodqi.S: Likewise.
5720	* config/rl78/divmodsi.S: Likewise.
5721	* config/rl78/mulsi3.S: Likewise.
5722	* config/rl78/lib2div.c: Remove G10 functions.
5723	* config/rl78/lib2muls.c: Likewise.
5724	* config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5725	* config/rl78/vregs.h (START_FUNC): New macro.
5726	(END_FUNC): New macro.
5727
57282014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
5729
5730	* config/mips/mips16.S: Set .module when supported.  Update O32
5731	FP64 calling convention and use for FPXX when possible.  Add FPXX
5732	calling convention fallback case.
5733
57342014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
5735
5736	* config.host: Handle nvptx-*-*.
5737	* shared-object.mk (as-flags-$o): Define.
5738	($(base)$(objext), $(base)_s$(objext)): Use it instead of
5739	-xassembler-with-cpp.
5740	* static-object.mk: Identical changes.
5741	* config/nvptx/t-nvptx: New file.
5742	* config/nvptx/crt0.s: New file.
5743	* config/nvptx/free.asm: New file.
5744	* config/nvptx/malloc.asm: New file.
5745	* config/nvptx/realloc.c: New file.
5746
57472014-10-30  Joseph Myers  <joseph@codesourcery.com>
5748
5749	* Makefile.in (libgcc.map.in): New target.
5750	(libgcc.map): Use libgcc.map.in.
5751	* config/t-softfp (softfp_compat): New variable to be set by
5752	users.
5753	[$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5754	variables.
5755	[$(softfp_compat) = y] (softfp_file_list): Use files in the build
5756	directory.
5757	[$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5758	that use compat symbols and disable all code unless [SHARED].
5759	* config/t-softfp-compat: New file.
5760	* find-symver.awk: New file.
5761	* configure.ac (--with-glibc-version): New configure option.
5762	(ppc_fp_compat): New variable set for powerpc*-*-linux*.
5763	* configure: Regenerate.
5764	* config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5765	soft-float and e500.
5766
57672014-10-29  Joseph Myers  <joseph@codesourcery.com>
5768
5769	* config/t-hardfp (hardfp_exclusions): Document new variable for
5770	user to define.
5771	(hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5772	* config/t-softfp (softfp_extras): Document new variable for user
5773	to define.
5774	(softfp_func_list): Add functions from $(softfp_extras).
5775	* config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5776	* config.host (powerpc*-*-linux*): For e500v1, use
5777	rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5778	t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5779	and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5780
57812014-10-26  John David Anglin  <danglin@gcc.gnu.org>
5782
5783	* config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5784	(pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5785	memory read accesses are ok.
5786
57872014-10-25  Joseph Myers  <joseph@codesourcery.com>
5788
5789	* configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5790	* configure: Regenerate.
5791	* config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5792	additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
5793	of soft-fp for 32-bit classic hard float.  Do not use
5794	t-softfp-excl for soft float.
5795
57962014-10-22  Joseph Myers  <joseph@codesourcery.com>
5797
5798	* config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5799	configurations.
5800	* config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5801	Remove variables.
5802
58032014-10-22  Georg-Johann Lay  <avr@gjlay.de>
5804
5805	* config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5806	introduced with 2014-10-21 trunk r216525.
5807
58082014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
5809	    Vidya Praveen  <vidya.praveen@atmel.com>
5810	    Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
5811	    Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
5812	    Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
5813
5814	* config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5815	order.
5816
5817	Updated library functions for AVRTINY arch.
5818	* config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5819	Replaced occurrences of r0/r1 with tmp/zero reg macros.
5820	Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5821	or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5822	wsubi/wadi macors.
5823	(__mulsi3_helper): Update stack, preserve callee saved regs and
5824	argument from stack. Restore callee save registers.
5825	(__mulpsi3): Likewise.
5826	(__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5827	__moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
5828	__negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
5829	AVRTINY.
5830	(__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5831	(__do_copy_data): Added new definition for AVRTINY.
5832	(__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5833	(__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5834	__xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5835	* config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5836	tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5837	macors.
5838	* config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
5839	AVRTINY.
5840
5841	Fix broken long multiplication on tiny arch.
5842
58432014-10-09  Joseph Myers  <joseph@codesourcery.com>
5844
5845	* soft-fp/double.h: Update from glibc.
5846	* soft-fp/eqdf2.c: Likewise.
5847	* soft-fp/eqsf2.c: Likewise.
5848	* soft-fp/eqtf2.c: Likewise.
5849	* soft-fp/extenddftf2.c: Likewise.
5850	* soft-fp/extended.h: Likewise.
5851	* soft-fp/extendsfdf2.c: Likewise.
5852	* soft-fp/extendsftf2.c: Likewise.
5853	* soft-fp/extendxftf2.c: Likewise.
5854	* soft-fp/gedf2.c: Likewise.
5855	* soft-fp/gesf2.c: Likewise.
5856	* soft-fp/getf2.c: Likewise.
5857	* soft-fp/ledf2.c: Likewise.
5858	* soft-fp/lesf2.c: Likewise.
5859	* soft-fp/letf2.c: Likewise.
5860	* soft-fp/op-1.h: Likewise.
5861	* soft-fp/op-2.h: Likewise.
5862	* soft-fp/op-4.h: Likewise.
5863	* soft-fp/op-8.h: Likewise.
5864	* soft-fp/op-common.h: Likewise.
5865	* soft-fp/quad.h: Likewise.
5866	* soft-fp/single.h: Likewise.
5867	* soft-fp/soft-fp.h: Likewise.
5868	* soft-fp/unorddf2.c: Likewise.
5869	* soft-fp/unordsf2.c: Likewise.
5870	* soft-fp/unordtf2.c: Likewise.
5871	* config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5872	* config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5873	* config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5874	* config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5875	* config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5876	* config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5877	* config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5878	* config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5879	* config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5880	* config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5881
58822014-10-08  Rong Xu  <xur@google.com>
5883
5884	* libgcov-util.c (read_gcda_file): Fix format.
5885	(find_match_gcov_info): Ditto.
5886	(calculate_2_entries): New.
5887	(compute_one_gcov): Ditto.
5888	(gcov_info_count_all_cold): Ditto.
5889	(gcov_info_count_all_zero): Ditto.
5890	(extract_file_basename): Ditto.
5891	(get_file_basename): Ditto.
5892	(set_flag): Ditto.
5893	(matched_gcov_info): Ditto.
5894	(calculate_overlap): Ditto.
5895	(gcov_profile_overlap): Ditto.
5896	* libgcov-driver.c (compute_summary): Make
5897	it avavilable for external calls.
5898
58992014-10-06  Rong Xu  <xur@google.com>
5900
5901	* Makefile.in: Ditto.
5902	* libgcov-driver.c (gcov_sort_n_vals): New utility function.
5903	(gcov_sort_icall_topn_counter): Ditto.
5904	(gcov_sort_topn_counter_arrays): Ditto.
5905	(dump_one_gcov): Sort indirect_call topn counters.
5906	* libgcov-merge.c (__gcov_merge_icall_topn): New merge
5907	function.
5908	* libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5909	utility function.
5910	(__gcov_indirect_call_topn_profiler): New profiler function.
5911	* libgcov-util.c (__gcov_icall_topn_counter_op): New.
5912	* libgcov.h: New decls.
5913
59142014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
5915
5916	* config.host: Remove support for score-*.
5917
59182014-09-22  Joseph Myers  <joseph@codesourcery.com>
5919
5920	* dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5921	(__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5922	(LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5923	__LIBGCC_XF_MANT_DIG__.
5924	(__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5925	(LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5926	__LIBGCC_TF_MANT_DIG__.
5927	* libgcc2.c (NOTRUNC): Define in terms of
5928	__LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5929	* libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5930
59312014-09-22  Joseph Myers  <joseph@codesourcery.com>
5932
5933	PR target/63312
5934	* config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5935	New macros.
5936
59372014-09-22  Hans-Peter Nilsson  <hp@axis.com>
5938
5939	* crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5940	override USE_PT_GNU_EH_FRAME.
5941	[__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5942	check USE_EH_FRAME_REGISTRY_ALWAYS against
5943	__LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5944	* Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5945	variable for substituted force_explicit_eh_registry.
5946	(CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5947	* configure.ac (explicit-exception-frame-registration):
5948	New AC_ARG_ENABLE.
5949	* configure: Regenerate.
5950
59512014-09-19  Olivier Hainque  <hainque@adacore.com>
5952
5953	* config.host (powerpc-wrs-vxworksmils): New configuration,
5954	same as vxworksae.
5955
59562014-09-18  Joseph Myers  <joseph@codesourcery.com>
5957
5958	* libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5959
59602014-09-18  Joseph Myers  <joseph@codesourcery.com>
5961
5962	* config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5963	bits not set bits as indicating trapping exceptions.
5964
59652014-09-17  Nathan sidwell  <nathan@acm.org>
5966
5967	* Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5968	(LIBGCOV_DRIVER): ... here.
5969	* libgcov-driver.c (gcov_master): New.
5970	(gcov_exit): Remove from master chain.
5971	(__gcov_init): Add to master chain if version compatible.  Don't
5972	clear the version.
5973	* libgcov_interface (__gcov_flust): Call gcov_dump_int.
5974	(gcov_reset_int): Clear master chain, if compatible.
5975	(gcov_dump_int): New internal interface.  Dump master chain, if
5976	compatible.
5977	(gcov_dump): Alias for gcov_dump_int.
5978	* libgcov.h (struct gcov_root): Add next and prev fields.
5979	(struct gcov_master): New struct.
5980	(__gcov_master): New.
5981	(gcov_dump_int): Declare.
5982
59832014-09-17  Olivier Hainque  <hainque@adacore.com>
5984
5985	* config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5986	and crtbegin.o + crtend.o to extra_parts.
5987
59882014-09-12  Joseph Myers  <joseph@codesourcery.com>
5989
5990	* libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5991	__LIBGCC_HAS_SF_MODE__.
5992	(LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5993	(LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5994	(LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5995	* config/libbid/bid_gcc_intrinsics.h
5996	(LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5997	(LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5998	(LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5999	* fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6000	(LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6001	(LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6002
60032014-09-11  Georg-Johann Lay  <avr@gjlay.de>
6004
6005	PR target/63223
6006	* config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6007	and R24 as needed.  Make work for all devices and .text locations.
6008	(__do_global_ctors, __do_global_dtors): Use word addresses.
6009	(__tablejump__, __tablejump_elpm__): Remove functions.
6010	* t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6011	Add _tablejump2.
6012	(XICALL, XIJMP): New macros.
6013
60142014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6015	Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
6016
6017	* config.host (aarch64*): Include crtfastmath.o and
6018	t-crtfm.
6019	* config/aarch64/crtfastmath.c: New file.
6020
60212014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
6022
6023	* config.host: Remove picochip support.
6024	* config/picochip/adddi3.S: Remove.
6025	* config/picochip/ashlsi3.S: Remove.
6026	* config/picochip/ashlsi3.c: Remove.
6027	* config/picochip/ashrsi3.S: Remove.
6028	* config/picochip/ashrsi3.c: Remove.
6029	* config/picochip/clzsi2.S: Remove.
6030	* config/picochip/cmpsi2.S: Remove.
6031	* config/picochip/divmod15.S: Remove.
6032	* config/picochip/divmodhi4.S: Remove.
6033	* config/picochip/divmodsi4.S: Remove.
6034	* config/picochip/lib1funcs.S: Remove.
6035	* config/picochip/longjmp.S: Remove.
6036	* config/picochip/lshrsi3.S: Remove.
6037	* config/picochip/lshrsi3.c: Remove.
6038	* config/picochip/parityhi2.S: Remove.
6039	* config/picochip/popcounthi2.S: Remove.
6040	* config/picochip/setjmp.S: Remove.
6041	* config/picochip/subdi3.S: Remove.
6042	* config/picochip/t-picochip: Remove.
6043	* config/picochip/ucmpsi2.S: Remove.
6044	* config/picochip/udivmodhi4.S: Remove.
6045	* config/picochip/udivmodsi4.S: Remove.
6046
60472014-09-08  Joseph Myers  <joseph@codesourcery.com>
6048
6049	* libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6050	(DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6051	(XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6052	(TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6053	* libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
6054	error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6055	(DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
6056	defined and LIBGCC2_HAS_DF_MODE is defined.
6057	(XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
6058	defined and LIBGCC2_HAS_XF_MODE is defined.
6059	(TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
6060	defined and LIBGCC2_HAS_TF_MODE is defined.
6061
60622014-09-08  Joseph Myers  <joseph@codesourcery.com>
6063
6064	* fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6065	and ROUND_TOWARDS_ZERO conditionals.
6066
60672014-09-07  Nathan sidwell  <nathan@acm.org>
6068
6069	* libgcov-interface.c (STRONG_ALIAS): Rename to ...
6070	(ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
6071
60722014-09-05  Joseph Myers  <joseph@codesourcery.com>
6073
6074	* Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6075	* config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6076	uses to __LIBGCC_STACK_POINTER_REGNUM__.
6077	(DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6078	__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6079	* config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6080	Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6081	* config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6082	uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6083	(DWARF_FRAME_REGISTERS): Change all uses to
6084	__LIBGCC_DWARF_FRAME_REGISTERS__.
6085	(EH_RETURN_STACKADJ_RTX): Change all uses to
6086	__LIBGCC_EH_RETURN_STACKADJ_RTX__.
6087	* config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6088	__LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
6089	* config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6090	use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6091	(JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6092	* config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6093	to __LIBGCC_EH_FRAME_SECTION_NAME__.
6094	(JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6095	* config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6096	__LIBGCC_STACK_POINTER_REGNUM__.
6097	(DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6098	__LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6099	* config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6100	to __LIBGCC_STACK_POINTER_REGNUM__.
6101	* config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6102	all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6103	* config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6104	all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6105	* config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6106	Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6107	(STACK_POINTER_REGNUM): Change all uses to
6108	__LIBGCC_STACK_POINTER_REGNUM__.
6109	* config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6110	use to __LIBGCC_STACK_POINTER_REGNUM__.
6111	* config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6112	uses to __LIBGCC_STACK_POINTER_REGNUM__.
6113	* config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6114	to __LIBGCC_DWARF_FRAME_REGISTERS__.
6115	* config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6116	to __LIBGCC_DWARF_FRAME_REGISTERS__.
6117	* config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6118	to __LIBGCC_STACK_POINTER_REGNUM__.
6119	* config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6120	Remove conditional definition.
6121	* crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6122	__LIBGCC_TEXT_SECTION_ASM_OP__.
6123	(EH_FRAME_SECTION_NAME): Change all uses to
6124	__LIBGCC_EH_FRAME_SECTION_NAME__.
6125	(EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6126	__LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6127	(CTORS_SECTION_ASM_OP): Change all uses to
6128	__LIBGCC_CTORS_SECTION_ASM_OP__.
6129	(DTORS_SECTION_ASM_OP): Change all uses to
6130	__LIBGCC_DTORS_SECTION_ASM_OP__.
6131	(JCR_SECTION_NAME): Change all uses to
6132	__LIBGCC_JCR_SECTION_NAME__.
6133	(INIT_SECTION_ASM_OP): Change all uses to
6134	__LIBGCC_INIT_SECTION_ASM_OP__.
6135	(INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6136	__LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6137	* generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6138	__LIBGCC_STACK_GROWS_DOWNWARD__.
6139	* libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6140	__LIBGCC_INIT_SECTION_ASM_OP__.
6141	(INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6142	__LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6143	(EH_FRAME_SECTION_NAME): Change all uses to
6144	__LIBGCC_EH_FRAME_SECTION_NAME__.
6145	* libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6146	definitions.  Change all uses to
6147	__LIBGCC_VTABLE_USES_DESCRIPTORS__.
6148	* unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6149	__LIBGCC_STACK_GROWS_DOWNWARD__.
6150	(DWARF_FRAME_REGISTERS): Change all uses to
6151	__LIBGCC_DWARF_FRAME_REGISTERS__.
6152	(EH_RETURN_STACKADJ_RTX): Change all uses to
6153	__LIBGCC_EH_RETURN_STACKADJ_RTX__.
6154	* unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6155	definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6156	* unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6157	__LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6158	(JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6159
61602014-09-02  Nathan sidwell  <nathan@acm.org>
6161
6162	* libgcov-interface.c (STRONG_ALIAS): New.
6163	(__gcov_flush): Call __gcov_reset_int.
6164	(__gcov_reset): Strong alias for ...
6165	(__gcov_reset_ing): ... this renamed hidden version.
6166	* libgcov.h (__gcov_reset_int): New declaration.
6167
61682014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
6169
6170	* config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6171	call from here...
6172	* config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6173	(__dso_handle): Define on Cygwin.
6174	* config/i386/t-cygming (crtbeginS.o): New rule.
6175	* config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6176
6177	* config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6178	declaration syntax.
6179
61802014-08-13  Steve Ellcey  <sellcey@mips.com>
6181
6182	* crtstuff.c: Undef caddr_t.
6183
61842014-08-12  Steve Ellcey  <sellcey@mips.com>
6185
6186	* config/mips/mips16.S:  Skip when __mips_soft_float is defined.
6187
61882014-08-07  Nathan Sidwell  <nathan@acm.org>
6189
6190	* Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6191	(LIBGCOV_DRIVER): ... to here.
6192	* libgcov.h (gcov_do_dump): New #define.
6193	(struct gcov_root): New.
6194	(__gcov_root): New declaration.
6195	(__gcov_dump_one): Declare.
6196	* libgcov-driver.c (gcov_list, gcov_dump_complete,
6197	run_accounted): Delete.
6198	(gcov_compute_histogram): Add LIST argument, adjust.
6199	(compute_summary): Adjust gcov_compute_histogram call.
6200	(gcov_do_dump): Not hidden, static in libgcov.
6201	(gcov_clear): Move  to interface.c.
6202	(__gcov_dump_one): New, broken out of ...
6203	(gcov_exit): ... here.  Make static.
6204	(__gcov_root): New.
6205	(__gcov_init): Adjust.
6206	* libgcov-interface.c (gcov_clear, gcov_exit): Remove
6207	declarations.
6208	(__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6209	(gcov_clear): Moved from driver.c.   Add LIST argument.
6210	(__gcov_reset): Adjust for changed interfaces.
6211	(__gcov_fork): Remove local declaration of __gcov_flush_mx.
6212
62132014-08-04  Rohit  <rohitarulraj@freescale.com>
6214
6215	PR target/60102
6216	* config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6217	based on change in SPE high register numbers and 3 HTM registers.
6218
62192014-08-01  Nathan Sidwell  <nathan@acm.org>
6220
6221	* Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6222	LIBGCOV_INTERFACE): Reformat.
6223	* libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6224	IN_GCOV_TOOL.
6225	* libgcov-interface.c: Reformat some comments.
6226	(__gcov_flush_mx): Add declaration.  Tidy up definition.
6227
62282014-07-31  Alan Modra  <amodra@gmail.com>
6229	    Peter Bergner  <bergner@vnet.ibm.com>
6230
6231	* config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6232	(pack_ldouble): New function.
6233	(__gcc_qadd): Use it.
6234	(__gcc_qmul): Likewise.
6235	(__gcc_qdiv): Likewise.
6236	(__gcc_qneg): Likewise.
6237	(__gcc_stoq): Likewise.
6238	(__gcc_dtoq): Likewise.
6239
62402014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
6241
6242	* config/s390/tpf-unwind.h: Include <stdbool.h>.
6243	(__tpf_eh_return): Add original return address as second parameter.
6244	Handle cases where unwinder routines were called directly, instead
6245	of from within the C++ library.
6246
62472014-07-29  Nathan Sidwell  <nathan@acm.org>
6248
6249	* libgcov.h: Move renaming of entry points to lib gcov specific
6250	portion.
6251	(gcov_do_dump): New rename.
6252	(gcov_rewrite): Remove inline, make HIDDEN.
6253	* libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6254	(gcov_exit_compute_summary): Rename to ...
6255	(compute_summary): ... here.  Add LIST argument.
6256	(gcov_exit_merge_gcda): Rename to ...
6257	(merge_one_data): ... here.
6258	(gcov_exit_write_gcda): Rename to ...
6259	(write_one_data): ... here.
6260	(gcov_exit_merge_summary): Rename to ...
6261	(merge_summary): Add RUN_COUNTED argument.
6262	(gcov_exit_dump_gcov): Rename to ...
6263	(dump_one_gcov): Add RUN_COUNTED argument.
6264	(gcov_do_dump): New function, broken out of ...
6265	(gcov_exit): ... here.  Call it.
6266
62672014-07-27  Anthony Green  <green@moxielogic.com>
6268
6269	* config.host: Add moxiebox configuration suppport.
6270
62712014-07-27  Nathan Sidwell  <nathan@acm.org>
6272
6273	* libgcov-driver.c (struct gcov_filename_aux): Rename ...
6274	(struct gcov_filename): ... here.  Include buffer and max length
6275	fields.
6276	(gcov_max_filename): Remove.
6277	(gi_filename): Remove.
6278	(gcov_exit_compute_summary): Compute max filename here.
6279	(gcov_exit_merge_gcda): Add filename parm, adjust.
6280	(gcov_exit_merge_summary): Likewise.
6281	(gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6282	(gcov_exit): Likewise.
6283	(__gcov_init): Don't calculate max length here.
6284	* libgcov_util.c (max_filename_len): Remove.
6285	(read_gcda_file): Don't calculate max length here.
6286	(gcov_read_profile_dir): Don't propagate here.
6287	* libgcov-driver-system.c (alloc_filename_struct): Adjust for
6288	struct gcov_filename changes.
6289	(gcov_exit_open_gcda_file): Likewise.
6290
62912014-07-25  Nathan Sidwell  <nathan@acm.org>
6292
6293	* libgcov-driver.c (set_gcov_dump_complete,
6294	reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
6295	functions polluting user's namespace.
6296	(gcov_exit): Set variable directly.
6297	(gcov_clear): Reset variable directly.
6298	* libgcov-interface.c (get_gcov_dymp_complete,
6299	reset_gov_dump_complete): Remove declarations.
6300	(__gcov_reset, __gcov_dump): Don't call them.
6301
63022014-07-24  DJ Delorie  <dj@redhat.com>
6303
6304	* config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
6305	(__gcc_deregister_frame): Move logic to detect deregister function
6306	to ...
6307	(__gcc_register_frame): here, so it's consistent with the register
6308	logic.
6309
63102014-07-23  Nathan Sidwell  <nathan@acm.org>
6311
6312	* libgcov-driver.c (set_gcov_list): Remove.
6313	(gcov_list): Make non-static in GCOV_TOOL.
6314	* libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
6315
63162014-07-17  John David Anglin  <danglin@gcc.gnu.org>
6317
6318	* config/pa/linux-atomic.c (__sync_lock_release_4): New.
6319	(SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
6320	Don't use SYNC_LOCK_RELEASE for int type.
6321
63222014-07-14  Richard Biener  <rguenther@suse.de>
6323
6324	* libgcov.h (struct gcov_fn_info): Make ctrs size 1.
6325
63262014-07-11  Rong Xu  <xur@google.com>
6327
6328	* libgcov-util.c (gcov_max_filename): Fix declartion.
6329
63302014-07-10  Rong Xu  <xur@google.com>
6331
6332	Add gcov-tool: an offline gcda profile processing tool
6333	Support.
6334	* libgcov-driver.c (gcov_max_filename): Make available
6335	to gcov-tool.
6336	* libgcov-merge.c (__gcov_merge_add): Replace
6337	gcov_read_counter() with a Macro.
6338	(__gcov_merge_ior): Ditto.
6339	(__gcov_merge_time_profile): Ditto.
6340	(__gcov_merge_single): Ditto.
6341	(__gcov_merge_delta): Ditto.
6342	* libgcov-util.c (void gcov_set_verbose): Set the verbose flag
6343	in the utility functions.
6344	(set_fn_ctrs): Utility function for reading gcda files to in-memory
6345	gcov_list object link lists.
6346	(tag_function): Ditto.
6347	(tag_blocks): Ditto.
6348	(tag_arcs): Ditto.
6349	(tag_lines): Ditto.
6350	(tag_counters): Ditto.
6351	(tag_summary): Ditto.
6352	(read_gcda_finalize): Ditto.
6353	(read_gcda_file): Ditto.
6354	(ftw_read_file): Ditto.
6355	(read_profile_dir_init): Ditto.
6356	(gcov_read_profile_dir): Ditto.
6357	(gcov_read_counter_mem): Ditto.
6358	(gcov_get_merge_weight): Ditto.
6359	(merge_wrapper): A wrapper function that calls merging handler.
6360	(gcov_merge): Merge two gcov_info objects with weights.
6361	(find_match_gcov_info): Find the matched gcov_info in the list.
6362	(gcov_profile_merge): Merge two gcov_info object lists.
6363	(__gcov_add_counter_op): Process edge profile counter values.
6364	(__gcov_ior_counter_op): Process IOR profile counter values.
6365	(__gcov_delta_counter_op): Process delta profile counter values.
6366	(__gcov_single_counter_op): Process single  profile counter values.
6367	(fp_scale): Callback function for float-point scaling.
6368	(int_scale): Callback function for integer fraction scaling.
6369	(gcov_profile_scale): Scaling profile counters.
6370	(gcov_profile_normalize): Normalize profile counters.
6371	* libgcov.h: Add headers and functions for gcov-tool use.
6372	(gcov_get_counter): New.
6373	(gcov_get_counter_target): Ditto.
6374	(struct gcov_info): Make the functions field mutable in gcov-tool
6375	compilation.
6376
63772014-06-23  Kai Tietz  <ktietz@redhat.com>
6378
6379	PR libgcc/61585
6380	* unwind-seh.c (_Unwind_GetGR): Check for proper
6381	index range.
6382	(_Unwind_SetGR): Likewise.
6383
63842014-05-22  Nick Clifton  <nickc@redhat.com>
6385
6386	* config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6387	-mhwmult=none.
6388
63892014-05-22  Teresa Johnson  <tejohnson@google.com>
6390
6391	* libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6392	include.
6393
63942014-05-20  John Marino  <gnugcc@marino.st>
6395
6396	* config.host (*-*-dragonfly*): New target.
6397	* crtstuff.c: Make dl_iterate_support generic on *bsd.
6398	* enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6399	* unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6400	* config/i386/dragonfly-unwind.h: New.
6401
64022014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
6403
6404	PR libgcc/60166
6405	* config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6406	(_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6407
64082014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
6409
6410	* unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6411	implementation.
6412
64132014-05-12  Georg-Johann Lay  <avr@gjlay.de>
6414
6415	* config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6416
64172014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6418
6419	PR libgcc/61097
6420	* config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6421	if --enable-shared.
6422
64232014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
6424
6425	Work around for current cygwin32 build problems.
6426	* config/i386/cygming-crtbegin.c (__register_frame_info,
6427	__deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6428	functions only for 64-bit systems.
6429
64302014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6431
6432	* config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6433	(sigill_caught, sigill_hdlr): Remove.
6434
64352014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6436
6437	* config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6438	check.
6439	* config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6440	Solaris 9 single-threaded support.
6441	* config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6442	Solaris 9 single-threaded support.  Add call_user_handler code
6443	sequences.
6444	(sparc_is_sighandler): Likewise.
6445
64462014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6447
6448	* config.host: Append t-floattodi to tmake_file depending on
6449	host_address.
6450
64512014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
6452
6453	* config.host (v850*-*-*): Add to tmake_file instead of resetting it.
6454
64552014-03-10  Uros Bizjak  <ubizjak@gmail.com>
6456
6457	PR libgcc/60472
6458	* crtstuff.c (frame_dummy): Use void **jcr_list temporary
6459	variable to avoid "array subscript is above array bounds" warnings.
6460	Use __builtin_expect when checking *jcr_list for NULL.
6461
64622014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6463
6464	PR libgcc/59339
6465	* config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6466	(*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6467	vtv_*.o to extra_parts if enable_vtable_verify.
6468
64692014-03-06  Nick Clifton  <nickc@redhat.com>
6470
6471	* config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6472	* config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6473
64742014-02-28  Joey Ye  <joey.ye@arm.com>
6475
6476	PR libgcc/60166
6477	* config/arm/sfp-machine.h (_FP_NANFRAC_H,
6478	_FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6479	Set to zero.
6480
64812014-02-24  Walter Lee  <walt@tilera.com>
6482
6483	* config.host: Support "tilegx*" and "tilepro*" triplets.
6484	* config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6485	* config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6486
64872014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
6488	    Chung-Lin Tang  <cltang@codesourcery.com>
6489
6490	* config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6491	* config/nios2/crti.S: Remove .file directive.
6492	* config/nios2/crtn.S: Likewise.
6493
64942014-02-18  Kai Tietz  <ktietz@redhat.com>
6495	Jonathan Schleifer  <js@webkeks.org>
6496
6497	PR objc/56870
6498	* unwind-seh.c (_GCC_specific_handler): Pass proper
6499	value to unwind-handler.
6500
65012014-02-12  Joseph Myers  <joseph@codesourcery.com>
6502
6503	* soft-fp/adddf3.c: Update from glibc.
6504	* soft-fp/addsf3.c: Likewise.
6505	* soft-fp/addtf3.c: Likewise.
6506	* soft-fp/divdf3.c: Likewise.
6507	* soft-fp/divsf3.c: Likewise.
6508	* soft-fp/divtf3.c: Likewise.
6509	* soft-fp/double.h: Likewise.
6510	* soft-fp/eqdf2.c: Likewise.
6511	* soft-fp/eqsf2.c: Likewise.
6512	* soft-fp/eqtf2.c: Likewise.
6513	* soft-fp/extenddftf2.c: Likewise.
6514	* soft-fp/extended.h: Likewise.
6515	* soft-fp/extendsfdf2.c: Likewise.
6516	* soft-fp/extendsftf2.c: Likewise.
6517	* soft-fp/extendxftf2.c: Likewise.
6518	* soft-fp/fixdfdi.c: Likewise.
6519	* soft-fp/fixdfsi.c: Likewise.
6520	* soft-fp/fixdfti.c: Likewise.
6521	* soft-fp/fixsfdi.c: Likewise.
6522	* soft-fp/fixsfsi.c: Likewise.
6523	* soft-fp/fixsfti.c: Likewise.
6524	* soft-fp/fixtfdi.c: Likewise.
6525	* soft-fp/fixtfsi.c: Likewise.
6526	* soft-fp/fixtfti.c: Likewise.
6527	* soft-fp/fixunsdfdi.c: Likewise.
6528	* soft-fp/fixunsdfsi.c: Likewise.
6529	* soft-fp/fixunsdfti.c: Likewise.
6530	* soft-fp/fixunssfdi.c: Likewise.
6531	* soft-fp/fixunssfsi.c: Likewise.
6532	* soft-fp/fixunssfti.c: Likewise.
6533	* soft-fp/fixunstfdi.c: Likewise.
6534	* soft-fp/fixunstfsi.c: Likewise.
6535	* soft-fp/fixunstfti.c: Likewise.
6536	* soft-fp/floatdidf.c: Likewise.
6537	* soft-fp/floatdisf.c: Likewise.
6538	* soft-fp/floatditf.c: Likewise.
6539	* soft-fp/floatsidf.c: Likewise.
6540	* soft-fp/floatsisf.c: Likewise.
6541	* soft-fp/floatsitf.c: Likewise.
6542	* soft-fp/floattidf.c: Likewise.
6543	* soft-fp/floattisf.c: Likewise.
6544	* soft-fp/floattitf.c: Likewise.
6545	* soft-fp/floatundidf.c: Likewise.
6546	* soft-fp/floatundisf.c: Likewise.
6547	* soft-fp/floatunditf.c: Likewise.
6548	* soft-fp/floatunsidf.c: Likewise.
6549	* soft-fp/floatunsisf.c: Likewise.
6550	* soft-fp/floatunsitf.c: Likewise.
6551	* soft-fp/floatuntidf.c: Likewise.
6552	* soft-fp/floatuntisf.c: Likewise.
6553	* soft-fp/floatuntitf.c: Likewise.
6554	* soft-fp/gedf2.c: Likewise.
6555	* soft-fp/gesf2.c: Likewise.
6556	* soft-fp/getf2.c: Likewise.
6557	* soft-fp/ledf2.c: Likewise.
6558	* soft-fp/lesf2.c: Likewise.
6559	* soft-fp/letf2.c: Likewise.
6560	* soft-fp/muldf3.c: Likewise.
6561	* soft-fp/mulsf3.c: Likewise.
6562	* soft-fp/multf3.c: Likewise.
6563	* soft-fp/negdf2.c: Likewise.
6564	* soft-fp/negsf2.c: Likewise.
6565	* soft-fp/negtf2.c: Likewise.
6566	* soft-fp/op-1.h: Likewise.
6567	* soft-fp/op-2.h: Likewise.
6568	* soft-fp/op-4.h: Likewise.
6569	* soft-fp/op-8.h: Likewise.
6570	* soft-fp/op-common.h: Likewise.
6571	* soft-fp/quad.h: Likewise.
6572	* soft-fp/single.h: Likewise.
6573	* soft-fp/soft-fp.h: Likewise.
6574	* soft-fp/subdf3.c: Likewise.
6575	* soft-fp/subsf3.c: Likewise.
6576	* soft-fp/subtf3.c: Likewise.
6577	* soft-fp/truncdfsf2.c: Likewise.
6578	* soft-fp/trunctfdf2.c: Likewise.
6579	* soft-fp/trunctfsf2.c: Likewise.
6580	* soft-fp/trunctfxf2.c: Likewise.
6581	* soft-fp/unorddf2.c: Likewise.
6582	* soft-fp/unordsf2.c: Likewise.
6583	* soft-fp/unordtf2.c: Likewise.
6584	* config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6585	macro.
6586	* config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6587	Likewise.
6588	* config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6589	Likewise.
6590	* config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6591	Likewise.
6592	* config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6593	Likewise.
6594	* config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6595	Likewise.
6596	* config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6597	Likewise.
6598	* config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6599	Likewise.
6600	* config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6601	Likewise.
6602	* config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6603	Likewise.
6604	* config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6605	Likewise.
6606	* config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6607	Likewise.
6608	* config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6609	Likewise.
6610	* config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6611	Likewise.
6612	* config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6613	Likewise.
6614	* config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6615	Likewise.
6616
66172014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6618
6619	* config/s390/32/_fixdfdi.c: Throw invalid exception if number
6620	cannot be represented.
6621	* config/s390/32/_fixsfdi.c: Likewise.
6622	* config/s390/32/_fixtfdi.c: Likewise.
6623	* config/s390/32/_fixunsdfdi.c: Likewise.
6624	* config/s390/32/_fixunssfdi.c: Likewise.
6625	* config/s390/32/_fixunstfdi.c: Likewise.
6626
66272014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
6628
6629	* configure.ac (libgcc_cv_mips_hard_float): New.
6630	* configure: Regenerate.
6631	* config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6632	t-softfp-sfdf for hard-float targets.
6633	* config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6634	(softfp_float_modes, softfp_int_modes, softfp_extensions)
6635	(softfp_truncations, softfp_exclude_libgcc2): New.
6636	* config/t-hardfp: New file.
6637	* config/t-hardfp-sfdf: Likewise.
6638	* config/hardfp.c: Likewise.
6639
66402014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6641
6642	* config.host: Include t-floattodi also for s390x.
6643	* config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6644	* config/s390/32/_fixsfdi.c: Likewise.
6645	* config/s390/32/_fixtfdi.c: Likewise.
6646	* config/s390/32/_fixunsdfdi.c: Likewise.
6647	* config/s390/32/_fixunssfdi.c: Likewise.
6648	* config/s390/32/_fixunstfdi.c: Likewise.
6649
66502014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6651
6652	PR target/59788
6653	* config/t-slibgcc-sld (libgcc-unwind.map): New target.
6654	(install-libgcc-unwind-map-forbuild): New target.
6655	(all): Depend on install-libgcc-unwind-map-forbuild.
6656	(install-libgcc-unwind-map): New target.
6657	(install): Depend on install-libgcc-unwind-map.
6658
66592014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
6660
6661	* config/nios2/crti.S (_init): Initialize GOT pointer from
6662	_gp_got instead of _GLOBAL_OFFSET_TABLE_.
6663
66642014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
6665
6666	* configure.ac: Check __mips64 when setting host_address.
6667	* configure: Regenerate.
6668	* config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6669	mips/t-mips64 and t-softfp.
6670	(mips*-*-linux*): Don't add mips/t-tpbit.
6671	* config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6672	(DPBIT, DPBIT_CFLAGS): Delete.
6673	* config/mips/sfp-machine.h: New file.
6674	* config/mips/t-mips64: Likewise.
6675	* config/mips/t-softfp-tf: Likewise.
6676	* config/mips/t-tpbit: Delete.
6677
66782014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6679
6680	* config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6681	as long long.
6682
66832014-01-25  Walter Lee  <walt@tilera.com>
6684
6685	* config/tilepro/atomic.c: Include tconfig.h.  Don't include
6686	config.h or system.h.
6687	(bool) Define.
6688
66892014-01-25  Walter Lee  <walt@tilera.com>
6690
6691	* config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6692	(post_atomic_barrier): Ditto.
6693	(__fetch_and_do): New macro.
6694	(__atomic_fetch_and_do): Use __fetch_and_do.
6695	(__sync_fetch_and_do): New macro.
6696	(__sync_fetch_and_add_4): New function.
6697	(__sync_fetch_and_sub_4): New function.
6698	(__sync_fetch_and_or_4): New function.
6699	(__sync_fetch_and_and_4): New function.
6700	(__sync_fetch_and_xor_4): New function.
6701	(__sync_fetch_and_nand_4): New function.
6702	(__sync_fetch_and_add_8): New function.
6703	(__sync_fetch_and_sub_8): New function.
6704	(__sync_fetch_and_or_8): New function.
6705	(__sync_fetch_and_and_8): New function.
6706	(__sync_fetch_and_xor_8): New function.
6707	(__sync_fetch_and_nand_8): New function.
6708	(__do_and_fetch): New macro.
6709	(__atomic_do_and_fetch): Use __do_and_fetch.
6710	(__sync_do_and_fetch): New macro.
6711	(__sync_add_and_fetch_4): New function.
6712	(__sync_sub_and_fetch_4): New function.
6713	(__sync_or_and_fetch_4): New function.
6714	(__sync_and_and_fetch_4): New function.
6715	(__sync_xor_and_fetch_4): New function.
6716	(__sync_nand_and_fetch_4): New function.
6717	(__sync_add_and_fetch_8): New function.
6718	(__sync_sub_and_fetch_8): New function.
6719	(__sync_or_and_fetch_8): New function.
6720	(__sync_and_and_fetch_8): New function.
6721	(__sync_xor_and_fetch_8): New function.
6722	(__sync_nand_and_fetch_8): New function.
6723	(__sync_exchange_methods): New macro.
6724	(__sync_val_compare_and_swap_4): New function.
6725	(__sync_bool_compare_and_swap_4): New function.
6726	(__sync_lock_test_and_test_4): New function.
6727	(__sync_val_compare_and_swap_8): New function.
6728	(__sync_bool_compare_and_swap_8): New function.
6729	(__sync_lock_test_and_test_8): New function.
6730	(__subword_cmpxchg_body): New macro.
6731	(__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6732	(__atomic_compare_exchange_2): Ditto.
6733	(__sync_subword_cmpxchg): New macro.
6734	(__sync_val_compare_and_swap_1): New function.
6735	(__sync_bool_compare_and_swap_1): New function.
6736	(__sync_val_compare_and_swap_2): New function.
6737	(__sync_bool_compare_and_swap_2): New function.
6738	(__atomic_subword): Rename to ...
6739	(__subword): ... New name.
6740	(__atomic_subword_fetch): Use __subword.
6741	(__sync_subword_fetch): New macro.
6742	(__sync_fetch_and_add_1): New function.
6743	(__sync_fetch_and_sub_1): New function.
6744	(__sync_fetch_and_or_1): New function.
6745	(__sync_fetch_and_and_1): New function.
6746	(__sync_fetch_and_xor_1): New function.
6747	(__sync_fetch_and_nand_1): New function.
6748	(__sync_fetch_and_add_2): New function.
6749	(__sync_fetch_and_sub_2): New function.
6750	(__sync_fetch_and_or_2): New function.
6751	(__sync_fetch_and_and_2): New function.
6752	(__sync_fetch_and_xor_2): New function.
6753	(__sync_fetch_and_nand_2): New function.
6754	(__sync_add_and_fetch_1): New function.
6755	(__sync_sub_and_fetch_1): New function.
6756	(__sync_or_and_fetch_1): New function.
6757	(__sync_and_and_fetch_1): New function.
6758	(__sync_xor_and_fetch_1): New function.
6759	(__sync_nand_and_fetch_1): New function.
6760	(__sync_add_and_fetch_2): New function.
6761	(__sync_sub_and_fetch_2): New function.
6762	(__sync_or_and_fetch_2): New function.
6763	(__sync_and_and_fetch_2): New function.
6764	(__sync_xor_and_fetch_2): New function.
6765	(__sync_nand_and_fetch_2): New function.
6766	(__atomic_subword_lock): Use __subword.
6767	(__sync_subword_lock): New macro.
6768	(__sync_lock_test_and_set_1): New function.
6769	(__sync_lock_test_and_set_2): New function.
6770
67712014-01-25  Walter Lee  <walt@tilera.com>
6772
6773	* config/tilepro/atomic.c (BIT_OFFSET): Define.
6774	(__atomic_subword_cmpxchg): Use BIT_OFFSET.
6775	(__atomic_subword): Ditto.
6776
67772014-01-25  Walter Lee  <walt@tilera.com>
6778
6779	* config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6780	a prefix op argument.
6781	(__atomic_nand_fetch_4): Add prefix op.
6782	(__atomic_nand_fetch_8): Ditto.
6783
67842014-01-21  Baruch Siach  <barch@tkos.co.il>
6785
6786	* config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6787
67882014-01-09  Rong Xu  <xur@google.com>
6789
6790	* libgcov-driver.c (this_prg): make it local to save
6791	bss space.
6792	(gcov_exit_compute_summary): Ditto.
6793	(gcov_exit_merge_gcda): Ditto.
6794	(gcov_exit_merge_summary): Ditto.
6795	(gcov_exit_dump_gcov): Ditto.
6796
67972014-01-08  Rong Xu  <xur@google.com>
6798
6799	* libgcov-driver.c: Use libgcov.h.
6800	(buffer_fn_data): Use xmalloc instead of malloc.
6801	(gcov_exit_merge_gcda): Ditto.
6802	* libgcov-driver-system.c (allocate_filename_struct): Ditto.
6803	* libgcov.h: New common header files for libgcov-*.h.
6804	* libgcov-interface.c: Use libgcov.h
6805	* libgcov-merge.c: Ditto.
6806	* libgcov-profiler.c: Ditto.
6807	* Makefile.in: Add dependence to libgcov.h
6808
68092014-01-02  Joseph Myers  <joseph@codesourcery.com>
6810
6811	* config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6812	case of small numerator and finite nonzero result.
6813
68142014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
6815
6816	Update copyright years
6817
68182014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
6819
6820	* config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6821	config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6822	config/arc/dp-hack.h, config/arc/fp-hack.h,
6823	config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6824	config/arc/ieee-754/arc600-dsp/divdf3.S,
6825	config/arc/ieee-754/arc600-dsp/divsf3.S,
6826	config/arc/ieee-754/arc600-dsp/muldf3.S,
6827	config/arc/ieee-754/arc600-dsp/mulsf3.S,
6828	config/arc/ieee-754/arc600-mul64/divdf3.S,
6829	config/arc/ieee-754/arc600-mul64/divsf3.S,
6830	config/arc/ieee-754/arc600-mul64/muldf3.S,
6831	config/arc/ieee-754/arc600-mul64/mulsf3.S,
6832	config/arc/ieee-754/arc600/divsf3.S,
6833	config/arc/ieee-754/arc600/mulsf3.S,
6834	config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6835	config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6836	config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6837	config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6838	config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6839	config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6840	config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6841	config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6842	config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6843	config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6844	config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6845	config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6846	config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6847	config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6848	config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6849	config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6850	config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6851	config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6852	config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6853	config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6854	config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6855	config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6856	vtv_start_preinit.c: Use the standard form for the copyright notice.
6857
68582013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
6859	    Chung-Lin Tang  <cltang@codesourcery.com>
6860	    Based on patches from Altera Corporation
6861
6862	* config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6863	* config/nios2/lib2-nios2.h: New file.
6864	* config/nios2/lib2-divmod-hi.c: New file.
6865	* config/nios2/linux-unwind.h: New file.
6866	* config/nios2/lib2-divmod.c: New file.
6867	* config/nios2/linux-atomic.c: New file.
6868	* config/nios2/t-nios2: New file.
6869	* config/nios2/crti.asm: New file.
6870	* config/nios2/t-linux: New file.
6871	* config/nios2/lib2-divtable.c: New file.
6872	* config/nios2/lib2-mul.c: New file.
6873	* config/nios2/tramp.c: New file.
6874	* config/nios2/crtn.asm: New file.
6875
68762013-12-26  Uros Bizjak  <ubizjak@gmail.com>
6877
6878	* config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6879	(__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6880	from cpuid.h to check vendor signatures.
6881
68822013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
6883
6884	* config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
6885	AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6886	(get_amd_cpu): Likewise.
6887
68882013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
6889
6890	* config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6891	Haswell.
6892
68932013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
6894	    H.J. Lu  <hongjiu.lu@intel.com>
6895
6896	PR target/59422
6897	* config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
6898	and AMD_JAGUAR.
6899	(enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6900	INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6901	(enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
6902	FEATURE_XOP and FEATURE_FMA.
6903	(get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6904	AMDFAM15H_BDVER3.
6905	(get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
6906	(get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
6907	FEATURE_FMA4 and FEATURE_XOP.
6908
69092013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
6910
6911	* config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6912	INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6913	(get_intel_cpu): Updated.
6914
69152013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
6916
6917	* config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6918
69192013-12-09  Uros Bizjak  <ubizjak@gmail.com>
6920
6921	* config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6922	instructions when __SSE_MATH__ is defined.
6923
69242013-12-06  Ralf Cors��pius  <ralf.corsepius@rtems.org>
6925
6926	* config.host (microblaze-*-rtems*): New.
6927
69282013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
6929
6930	* config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6931	architectures that do not have hardware divide instruction.
6932	i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6933
69342013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
6935
6936	* longlong.h: Delete (moved to include/).
6937
69382013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6939
6940	* config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6941	of normal number and qNaN to not raise an inexact exception.
6942
69432013-11-28  Uros Bizjak  <ubizjak@gmail.com>
6944
6945	* config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6946
69472013-11-28  Matthew Leach  <matthew.leach@arm.com>
6948
6949	* config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):	Check
6950	for correct opcodes on BE.
6951
69522013-11-27  Uros Bizjak  <ubizjak@gmail.com>
6953
6954	* soft-fp/op-4.h: Update from glibc.
6955
69562013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
6957
6958	* libgcc2.c (__udivmoddi4): Define new implementation when
6959	TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6960	divide instructions.
6961
69622013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
6963
6964	* config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6965
69662013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6967
6968	* config/t-softfp (soft-fp-objects-base): New variable.
6969	(soft-fp-objects): Use it.
6970
69712013-11-23  David Edelson  <dje.gcc@gmail.com>
6972	    Andrew Dixie  <andrewd@gentrack.com>
6973
6974	PR target/33704
6975	* config/rs6000/aixinitfini.c: New file.
6976	* config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6977	* config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6978	symbols.
6979
69802013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
6981
6982	* config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
6983
69842013-11-18  Jan Hubicka  <jh@suse.cz>
6985
6986	* libgcov-driver.c (run_accounted): Make global level static.
6987	(gcov_exit_merge_summary): Silence warning; do not clear
6988	run_accounted here.
6989	(gcov_exit): Clear it here.
6990
6991	* libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6992	run_accounted.
6993
6994	* libgcov-driver.c (get_gcov_dump_complete): Update comments.
6995	(all_prg, crc32): Remove static vars.
6996	(gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6997	all_prg.
6998	(gcov_exit_merge_gcda): Add crc32 parameter.
6999	(gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7000	do not account run if it was already accounted.
7001	(gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7002	(gcov_exit): Initialize all_prg; update.
7003
70042013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
7005
7006	* configure: Regenerate.
7007
70082013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7009	    Alan Modra  <amodra@gmail.com>
7010
7011	* config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7012	(frob_update_context): Use it.
7013
70142013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7015	    Alan Modra  <amodra@gmail.com>
7016
7017	* config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7018	(trampoline_initial): Provide ELFv2 variant.
7019	(__trampoline_setup): Likewise.
7020
7021	* config/rs6000/linux-unwind.h (frob_update_context): Do not
7022	check for AIX indirect function call sequence if _CALL_ELF == 2.
7023
70242013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7025	    Alan Modra  <amodra@gmail.com>
7026
7027	* config/rs6000/linux-unwind.h (get_regs): Do not support
7028	old kernel versions if _CALL_ELF == 2.
7029	(frob_update_context): Do not support PLT stub variants only
7030	generated by old linkers if _CALL_ELF == 2.
7031
70322013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7033	    Alan Modra  <amodra@gmail.com>
7034
7035	* config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7036	location of CR save area for 64-bit little-endian systems.
7037
70382013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
7039
7040	* config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7041	in tmake_file.
7042	* config/arm/t-vxworks: Delete.
7043
70442013-11-10  Kai Tietz  <ktietz@redhat.com>
7045
7046	* config/i386/cygming-crtbegin.c (__gcc_register_frame):
7047	Increment load-count on use of LIBGCC_SONAME DLL.
7048	(hmod_libgcc): New static variable to hold handle of
7049	LIBGCC_SONAME DLL.
7050	(__gcc_deregister_frame): Decrement load-count of
7051	LIBGCC_SONAME DLL.
7052
70532013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
7054
7055	* configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7056	availability.
7057	* configure: Regenerate
7058
70592013-11-07  Uros Bizjak  <ubizjak@gmail.com>
7060
7061	* config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7062	FP_EX_DENORM.  Store result to volatile location after SSE division
7063	to close interrupt window.  Remove unneeded fwait after x87
7064	division since interrupt window will be closed by emitted fstp.
7065	Rewrite FP_EX_INEXACT handling.
7066
70672013-11-06  Joseph Myers  <joseph@codesourcery.com>
7068
7069	* soft-fp/README: Update.
7070	* soft-fp/adddf3.c: Update from glibc.
7071	* soft-fp/addsf3.c: Likewise.
7072	* soft-fp/addtf3.c: Likewise.
7073	* soft-fp/divdf3.c: Likewise.
7074	* soft-fp/divsf3.c: Likewise.
7075	* soft-fp/divtf3.c: Likewise.
7076	* soft-fp/double.h: Likewise.
7077	* soft-fp/eqdf2.c: Likewise.
7078	* soft-fp/eqsf2.c: Likewise.
7079	* soft-fp/eqtf2.c: Likewise.
7080	* soft-fp/extenddftf2.c: Likewise.
7081	* soft-fp/extended.h: Likewise.
7082	* soft-fp/extendsfdf2.c: Likewise.
7083	* soft-fp/extendsftf2.c: Likewise.
7084	* soft-fp/extendxftf2.c: Likewise.
7085	* soft-fp/fixdfdi.c: Likewise.
7086	* soft-fp/fixdfsi.c: Likewise.
7087	* soft-fp/fixdfti.c: Likewise.
7088	* soft-fp/fixsfdi.c: Likewise.
7089	* soft-fp/fixsfsi.c: Likewise.
7090	* soft-fp/fixsfti.c: Likewise.
7091	* soft-fp/fixtfdi.c: Likewise.
7092	* soft-fp/fixtfsi.c: Likewise.
7093	* soft-fp/fixtfti.c: Likewise.
7094	* soft-fp/fixunsdfdi.c: Likewise.
7095	* soft-fp/fixunsdfsi.c: Likewise.
7096	* soft-fp/fixunsdfti.c: Likewise.
7097	* soft-fp/fixunssfdi.c: Likewise.
7098	* soft-fp/fixunssfsi.c: Likewise.
7099	* soft-fp/fixunssfti.c: Likewise.
7100	* soft-fp/fixunstfdi.c: Likewise.
7101	* soft-fp/fixunstfsi.c: Likewise.
7102	* soft-fp/fixunstfti.c: Likewise.
7103	* soft-fp/floatdidf.c: Likewise.
7104	* soft-fp/floatdisf.c: Likewise.
7105	* soft-fp/floatditf.c: Likewise.
7106	* soft-fp/floatsidf.c: Likewise.
7107	* soft-fp/floatsisf.c: Likewise.
7108	* soft-fp/floatsitf.c: Likewise.
7109	* soft-fp/floattidf.c: Likewise.
7110	* soft-fp/floattisf.c: Likewise.
7111	* soft-fp/floattitf.c: Likewise.
7112	* soft-fp/floatundidf.c: Likewise.
7113	* soft-fp/floatundisf.c: Likewise.
7114	* soft-fp/floatunditf.c: Likewise.
7115	* soft-fp/floatunsidf.c: Likewise.
7116	* soft-fp/floatunsisf.c: Likewise.
7117	* soft-fp/floatunsitf.c: Likewise.
7118	* soft-fp/floatuntidf.c: Likewise.
7119	* soft-fp/floatuntisf.c: Likewise.
7120	* soft-fp/floatuntitf.c: Likewise.
7121	* soft-fp/gedf2.c: Likewise.
7122	* soft-fp/gesf2.c: Likewise.
7123	* soft-fp/getf2.c: Likewise.
7124	* soft-fp/ledf2.c: Likewise.
7125	* soft-fp/lesf2.c: Likewise.
7126	* soft-fp/letf2.c: Likewise.
7127	* soft-fp/muldf3.c: Likewise.
7128	* soft-fp/mulsf3.c: Likewise.
7129	* soft-fp/multf3.c: Likewise.
7130	* soft-fp/negdf2.c: Likewise.
7131	* soft-fp/negsf2.c: Likewise.
7132	* soft-fp/negtf2.c: Likewise.
7133	* soft-fp/op-1.h: Likewise.
7134	* soft-fp/op-2.h: Likewise.
7135	* soft-fp/op-4.h: Likewise.
7136	* soft-fp/op-8.h: Likewise.
7137	* soft-fp/op-common.h: Likewise.
7138	* soft-fp/quad.h: Likewise.
7139	* soft-fp/single.h: Likewise.
7140	* soft-fp/soft-fp.h: Likewise.
7141	* soft-fp/subdf3.c: Likewise.
7142	* soft-fp/subsf3.c: Likewise.
7143	* soft-fp/subtf3.c: Likewise.
7144	* soft-fp/truncdfsf2.c: Likewise.
7145	* soft-fp/trunctfdf2.c: Likewise.
7146	* soft-fp/trunctfsf2.c: Likewise.
7147	* soft-fp/trunctfxf2.c: Likewise.
7148	* soft-fp/unorddf2.c: Likewise.
7149	* soft-fp/unordsf2.c: Likewise.
7150	* soft-fp/unordtf2.c: Likewise.
7151
71522013-11-05  Uros Bizjak  <ubizjak@gmail.com>
7153
7154	* config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7155	(_FP_MUL_MEAT_D): Ditto.
7156	(_FP_DIV_MEAT_S): Ditto.
7157	(_FP_DIV_MEAT_D): Ditto.
7158	* config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7159	t-softfp-sfdf and t-softfp to tmake_file.
7160
71612013-11-03  Uros Bizjak  <ubizjak@gmail.com>
7162
7163	* config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7164	* config/i386/crtprec.c: Ditto.
7165
71662013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
7167	    Shiva Chen  <shiva0217@gmail.com>
7168
7169	* config.host (nds32*-elf*): Add nds32 target.
7170	* config/nds32 : New directory and files.
7171
71722013-10-16  Hans-Peter Nilsson  <hp@axis.com>
7173
7174	For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
7175	* config.host (cpu_type) <Setting default>: Add entry for
7176	crisv32-*-*.
7177	(tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7178	<crisv32-*-linux*>: Adjust.
7179	* longlong.h: Wrap the whole CRIS section in a single
7180	defined(__CRIS__) conditional.  Add comment about add_ssaaaa
7181	and sub_ddmmss.
7182	(COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7183	defined.
7184	[__CRIS__] (__umulsidi3): Define.
7185	[__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7186	* config/cris/sfp-machine.h: New file.
7187	* config/cris/umulsidi3.S: New file.
7188	* config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7189	* config/cris/arit.c (SIGNMULT): New macro.
7190	(__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7191	* config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7192	saving 3 out of originally 33 cycles from the fastest
7193	path, 3 out of 54 from the medium path and one from the longest
7194	path.  Improve comments.
7195
71962013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
7197
7198	* sync.c: Remove static aliases and define each function directly
7199	under its real name.
7200
72012013-10-02  John David Anglin  <danglin@gcc.gnu.org>
7202
7203	* config.host (hppa*64*-*-linux*): Define extra_parts.
7204	(hppa*-*-linux*): Likewise.
7205
72062013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
7207
7208	* config/arc/crtgend.S: Add 2013 to Copyright years.
7209	* config/arc/gmon/atomic.h: Likewise.
7210	* config/arc/gmon/auxreg.h: Likewise.
7211	* config/arc/gmon/sys/gmon_out.h: Likewise.
7212	* config/arc/gmon/sys/gmon.h: Likewise.
7213	* config/arc/gmon/prof-freq.c: Likewise.
7214	* config/arc/gmon/mcount.c: Likewise.
7215	* config/arc/gmon/prof-freq-stub.S: Likewise.
7216	* config/arc/gmon/gmon.c: Likewise.
7217	* config/arc/gmon/machine-gmon.h: Likewise.
7218	* config/arc/gmon/profil.S: Likewise.
7219	* config/arc/gmon/dcache_linesz.S: Likewise.
7220	* config/arc/crtg.S: Likewise.
7221	* config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7222	* config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7223	* config/arc/ieee-754/adddf3.S: Likewise.
7224	* config/arc/ieee-754/truncdfsf2.S: Likewise.
7225	* config/arc/ieee-754/fixsfsi.S: Likewise.
7226	* config/arc/ieee-754/gtsf2.S: Likewise.
7227	* config/arc/ieee-754/floatsisf.S: Likewise.
7228	* config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7229	* config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7230	* config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7231	* config/arc/ieee-754/fixdfsi.S: Likewise.
7232	* config/arc/ieee-754/addsf3.S: Likewise.
7233	* config/arc/ieee-754/gesf2.S: Likewise.
7234	* config/arc/ieee-754/floatsidf.S: Likewise.
7235	* config/arc/ieee-754/extendsfdf2.S: Likewise.
7236	* config/arc/ieee-754/divtab-arc-df.c: Likewise.
7237	* config/arc/ieee-754/gtdf2.S: Likewise.
7238	* config/arc/ieee-754/fixunsdfsi.S: Likewise.
7239	* config/arc/ieee-754/uneqdf2.S: Likewise.
7240	* config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7241	* config/arc/ieee-754/uneqsf2.S: Likewise.
7242	* config/arc/ieee-754/arc-ieee-754.h: Likewise.
7243	* config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7244	* config/arc/ieee-754/eqdf2.S: Likewise.
7245	* config/arc/ieee-754/ordsf2.S: Likewise.
7246	* config/arc/ieee-754/divsf3.S: Likewise.
7247	* config/arc/ieee-754/divdf3.S: Likewise.
7248	* config/arc/ieee-754/floatunsidf.S: Likewise.
7249	* config/arc/ieee-754/orddf2.S: Likewise.
7250	* config/arc/ieee-754/eqsf2.S: Likewise.
7251	* config/arc/ieee-754/gedf2.S: Likewise.
7252	* config/arc/crtn.S: Likewise.
7253	* config/arc/crti.S: Likewise.
7254	* config/arc/t-arc700-uClibc: Likewise.
7255	* config/arc/asm.h: Likewise.
7256	* config/arc/libgcc-excl.ver: Likewise.
7257	* config/arc/t-arc-newlib: Likewise.
7258	* config/arc/divtab-arc700.c: Likewise.
7259	* config/arc/initfini.c: Likewise.
7260	* config/arc/fp-hack.h: Likewise.
7261
72622013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
7263	    Diego Novillo  <dnovillo@google.com>
7264
7265	* config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
7266	* config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7267	* config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7268	* config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
7269
72702013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
7271	    Brendan Kehoe  <brendan@zen.org>
7272	    Simon Cook  <simon.cook@embecosm.com>
7273
7274	* config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7275	* config/arc: New directory.
7276	* longlong.h [__arc__] (umul_ppmm): Remove.
7277	[__arc__] (__umulsidi3): Define.
7278	[__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7279	[__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7280
72812013-09-17  Jacek Caban  <jacek@codeweavers.com>
7282
7283	* config/i386/gthr-win32.c: CreateSemaphoreW instead of
7284	CreateSemaphoreA.
7285	* config/i386/gthr-win32.h: Likewise.
7286
72872013-09-16  DJ Delorie  <dj@redhat.com>
7288
7289	* config/rl78/vregs.h: Add G10 register definitions.
7290	* config/rl78/lib2mul.c: Enable for RL78/G10.
7291	* config/rl78/lib2div.c: Likewise.
7292	* config/rl78/lshrsi3.S: Use vregs.h.
7293	* config/rl78/cmpsi2.S: Likewise.
7294	* config/rl78/trampoline.S: Likewise.
7295	* config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
7296
72972013-09-14  DJ Delorie  <dj@redhat.com>
7298	    Nick Clifton  <nickc@redhat.com>
7299
7300	* config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
7301	* config/rl78/vregs.h: New.
7302	* config/rl78/signbit.S: New file.  Implements signbit function.
7303	* config/rl78/divmodsi.S: New.
7304	* config/rl78/divmodhi.S: New.
7305	* config/rl78/divmodqi.S: New.
7306	* config/rl78/t-rl78: Build them here...
7307	* config/rl78/lib2div.c: ...but not here.
7308
73092013-09-12  DJ Delorie  <dj@redhat.com>
7310
7311	* config.host (msp*-*-elf): New.
7312	* config/msp430/: New port.
7313
73142013-08-18  Iain Sandoe  <iain@codesourcery.com>
7315
7316	PR gcov-profile/58127
7317	* libgcov.c (__gcov_indirect_call_callee): Don't make this a
7318	__thread var for emulated TLS.
7319	(__gcov_indirect_call_counters): Likewise.
7320
73212013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
7322	    Catherine Moore  <clm@codesourcery.com>
7323	    Richard Sandiford  <rdsandiford@googlemail.com>
7324
7325	* config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
7326	(RET_FUNCTION): Use them in place of STARTFN and ENDFN.
7327	(CALL_STUB_NO_RET): Likewise.
7328	(CALL_STUB_RET): Likewise.
7329	* config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
7330	__mips16_ret call/return stub symbols.
7331	* config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
7332	to tmake_file.
7333
73342013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
7335
7336	* config.host <mips*-*-linux*>: Remove a stray comment.
7337
73382013-08-10  Jan Hubicka  <jh@suse.cz>
7339
7340	Work around binutils PR14342
7341	* Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
7342	* libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
7343	(L_gcov_indirect_call_profiler_v2): New.
7344
73452013-08-06  Jan Hubicka  <jh@suse.cz>
7346
7347	* libgcov.c (__gcov_indirect_call_callee,
7348	__gcov_indirect_call_counters): New global vars.
7349	(__gcov_indirect_call_profiler): replace by ...
7350	(__gcov_indirect_call_profiler_v2) ... this one.
7351
73522013-08-06  Caroline Tice  <cmtice@google.com>
7353
7354	* config.host (extra_parts): Add vtv_start.o, vtv_end.o
7355	vtv_start_preinit.o and vtv_end_preinit.o.
7356	* configure.ac: Add code to check/set enable_vtable_verify.
7357	* Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
7358	true.
7359	* vtv_start_preinit.c: New file.
7360	* vtv_end_preinit.c: New file.
7361	* vtv_start.c: New file.
7362	* vtv_end.c: New file.
7363	* configure: Regenerated.
7364
73652013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
7366
7367	* config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7368	* config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7369	* config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7370	GPL-3.0-with-GCC-exception.
7371
73722013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
7373
7374	* config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7375	ISA and up.
7376
73772013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7378
7379	* config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7380	mapping for FPRs when creating the fallback framestate.
7381
73822013-07-19  Georg-Johann Lay  <avr@gjlay.de>
7383
7384	PR target/57516
7385	* config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7386	(__round_s2_const, __round_u2_const)
7387	(__round_s4_const, __round_u4_const, __round_x8):
7388	Saturate result if addition result cannot be represented.
7389
73902013-07-15  Matthias Klose  <doko@ubuntu.com>
7391
7392	* libgcc2.c: Don't include <limits.h>.
7393
73942013-07-09  Janis Johnson  <janisjo@codesourcery.com>
7395
7396	* config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7397
73982013-07-06  Jakub Jelinek  <jakub@redhat.com>
7399
7400	PR target/29776
7401	* libgcc2.c (__floattisf): Avoid undefined signed overflow.
7402
74032013-06-28  Jakub Jelinek  <jakub@redhat.com>
7404
7405	PR middle-end/36041
7406	* libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7407	Define.
7408	(__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7409	instead of table lookups.
7410	(__popcountDI2): Likewise.
7411
74122013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
7413
7414	* Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7415	correctly.
7416
74172013-06-21  Joseph Myers  <joseph@codesourcery.com>
7418
7419	PR other/53317
7420	* soft-fp/adddf3.c: Update from glibc.
7421	* soft-fp/addsf3.c: Likewise.
7422	* soft-fp/addtf3.c: Likewise.
7423	* soft-fp/divdf3.c: Likewise.
7424	* soft-fp/divsf3.c: Likewise.
7425	* soft-fp/divtf3.c: Likewise.
7426	* soft-fp/double.h: Likewise.
7427	* soft-fp/eqdf2.c: Likewise.
7428	* soft-fp/eqsf2.c: Likewise.
7429	* soft-fp/eqtf2.c: Likewise.
7430	* soft-fp/extenddftf2.c: Likewise.
7431	* soft-fp/extended.h: Likewise.
7432	* soft-fp/extendsfdf2.c: Likewise.
7433	* soft-fp/extendsftf2.c: Likewise.
7434	* soft-fp/fixdfdi.c: Likewise.
7435	* soft-fp/fixdfsi.c: Likewise.
7436	* soft-fp/fixsfdi.c: Likewise.
7437	* soft-fp/fixsfsi.c: Likewise.
7438	* soft-fp/fixtfdi.c: Likewise.
7439	* soft-fp/fixtfsi.c: Likewise.
7440	* soft-fp/fixunsdfdi.c: Likewise.
7441	* soft-fp/fixunsdfsi.c: Likewise.
7442	* soft-fp/fixunssfdi.c: Likewise.
7443	* soft-fp/fixunssfsi.c: Likewise.
7444	* soft-fp/fixunstfdi.c: Likewise.
7445	* soft-fp/fixunstfsi.c: Likewise.
7446	* soft-fp/floatdidf.c: Likewise.
7447	* soft-fp/floatdisf.c: Likewise.
7448	* soft-fp/floatditf.c: Likewise.
7449	* soft-fp/floatsidf.c: Likewise.
7450	* soft-fp/floatsisf.c: Likewise.
7451	* soft-fp/floatsitf.c: Likewise.
7452	* soft-fp/floatundidf.c: Likewise.
7453	* soft-fp/floatundisf.c: Likewise.
7454	* soft-fp/floatunditf.c: Likewise.
7455	* soft-fp/floatunsidf.c: Likewise.
7456	* soft-fp/floatunsisf.c: Likewise.
7457	* soft-fp/floatunsitf.c: Likewise.
7458	* soft-fp/gedf2.c: Likewise.
7459	* soft-fp/gesf2.c: Likewise.
7460	* soft-fp/getf2.c: Likewise.
7461	* soft-fp/ledf2.c: Likewise.
7462	* soft-fp/lesf2.c: Likewise.
7463	* soft-fp/letf2.c: Likewise.
7464	* soft-fp/muldf3.c: Likewise.
7465	* soft-fp/mulsf3.c: Likewise.
7466	* soft-fp/multf3.c: Likewise.
7467	* soft-fp/negdf2.c: Likewise.
7468	* soft-fp/negsf2.c: Likewise.
7469	* soft-fp/negtf2.c: Likewise.
7470	* soft-fp/op-1.h: Likewise.
7471	* soft-fp/op-2.h: Likewise.
7472	* soft-fp/op-4.h: Likewise.
7473	* soft-fp/op-8.h: Likewise.
7474	* soft-fp/op-common.h: Likewise.
7475	* soft-fp/quad.h: Likewise.
7476	* soft-fp/single.h: Likewise.
7477	* soft-fp/soft-fp.h: Likewise.
7478	* soft-fp/subdf3.c: Likewise.
7479	* soft-fp/subsf3.c: Likewise.
7480	* soft-fp/subtf3.c: Likewise.
7481	* soft-fp/truncdfsf2.c: Likewise.
7482	* soft-fp/trunctfdf2.c: Likewise.
7483	* soft-fp/trunctfsf2.c: Likewise.
7484	* soft-fp/unorddf2.c: Likewise.
7485	* soft-fp/unordsf2.c: Likewise.
7486	* soft-fp/unordtf2.c: Likewise.
7487	* config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7488	* config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7489	* config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7490	* config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7491	* config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7492	* config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7493	* config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7494	* config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7495	* config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7496	* config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7497	* config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7498	* config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7499
75002013-06-16  J��rgen Urban  <JuergenUrban@gmx.de>
7501
7502	* config/mips/lib2funcs.c: New file.
7503	* config/mips/t-mips (LIB2ADD_ST): Add it.
7504
75052013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
7506
7507	PR target/6526
7508	* config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7509	other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
7510
75112013-06-08  Walter Lee  <walt@tilera.com>
7512
7513	* config/tilepro/atomic.h: Don't include stdint.h or features.h.
7514	Replace int64_t with long long.  Add __extension__ where
7515	appropriate.
7516	* config/tilepro/atomic.c: Include config.h.
7517
75182013-06-06  Douglas B Rupp  <rupp@adacore.com>
7519
7520	* config.host (arm-wrs-vxworks): Configure with other soft float.
7521
75222013-06-04  J��rgen Urban  <JuergenUrban@gmx.de>
7523
7524	* config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7525	(mips64r5900el-*-elf*): New configurations.
7526
75272013-06-04  Alan Modra  <amodra@gmail.com>
7528
7529	* config/rs6000/ibm-ldouble.c: Enable for little-endian.
7530
75312013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
7532
7533	* config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7534
75352013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
7536
7537	* config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7538	fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7539	* config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7540
75412013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
7542
7543	* config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7544	(powerpc-wrs-vxworks): Likewise.
7545
75462013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
7547
7548	* config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7549	signal frames as well.
7550	(MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7551	STACK_BIAS to the CFA offset.
7552
75532013-05-17  Richard Henderson  <rth@redhat.com>
7554
7555	PR target/49146
7556	* unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7557	(execute_cfa_program): Use it when storing to fs->regs.
7558
75592013-05-08  Kai Tietz  <ktietz@redhat.com>
7560
7561	* config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7562	(__deregister_frame_info): Likewise.
7563
75642013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
7565
7566	* fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7567	NaN's payload.
7568
7569	* fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7570
75712013-04-25  Alan Modra  <amodra@gmail.com>
7572
7573	* config.host: Match little-endian powerpc-linux.
7574
75752013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
7576
7577	* config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7578	as 'unsigned long long' instead of 'unsigned long'.
7579	(_FP_WS_TYPE): Change to define as 'signed long long' instead of
7580	'signed long'.
7581
75822013-04-10  Julian Brown  <julian@codesourcery.com>
7583
7584	* config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7585	(SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7586	unsigned char/unsigned short.
7587	(__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7588
75892013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7590
7591	PR other/55274
7592	* config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7593
75942013-04-04  Meador Inge  <meadori@codesourcery.com>
7595
7596	* config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7597	computing the location of the link register.
7598	(aeabi_uldivmod): Ditto.
7599
76002013-03-27  Kai Tietz  <ktietz@redhat.com>
7601
7602	* config.host: Add support for cygwin x64 target.
7603	* configure: Regenerated.
7604
76052013-03-26  Walter Lee  <walt@tilera.com>
7606
7607	* config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7608	-mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7609
76102013-03-25  Kai Tietz  <ktietz@redhat.com>
7611
7612	* config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7613
76142013-03-20  Robert Mason  <rbmj@verizon.net>
7615
7616	* config/vxlib-tls.c (__gthread_get_tsd_data,)
7617	(__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7618	(__gthread_leave_tsd_dtor_context): Add prototypes.
7619	(tls_delete_hook): Update.
7620
76212013-03-20  Catherine Moore  <clm@codesourcery.com>
7622	    Joseph Myers  <joseph@codesourcery.com>
7623	    Chao-ying Fu  <fu@mips.com>
7624
7625	* config/mips/mips16.S:  Don't build for microMIPS.
7626	* config/mips/linux-unwind.h: Handle microMIPS frame.
7627	* config/mips/crtn.S (fini, init): New labels.
7628
76292013-03-14  Jakub Jelinek  <jakub@redhat.com>
7630
7631	PR tree-optimization/53265
7632	* unwind-dw2.c (execute_cfa_program): Avoid
7633	-Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7634	on targets with DWARF_FRAME_REGISTERS < 32.
7635
76362013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
7637
7638	PR target/49880
7639	* config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7640	(sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7641
76422013-03-07  Sriraman Tallam  <tmsriram@google.com>
7643
7644	* config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7645	sandybridge processors.
7646
76472013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
7648
7649	PR target/56529
7650	* config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7651	inclusion list.
7652
76532013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7654
7655	* config/microblaze/crti.S: Setup stack protection at entry
7656
76572013-03-04  Georg-Johann Lay  <avr@gjlay.de>
7658
7659	* config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7660	(__rotldi3): Shift bytewise if applicable.
7661
76622013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
7663
7664	* config/aarch64/sync-cache.c
7665	(__aarch64_sync_cache_range): Silence warnings.
7666
76672013-02-25  Catherine Moore  <clm@codesourcery.com>
7668
7669	Revert:
7670	2013-02-24  Catherine Moore  <clm@codesourcery.com>
7671	    Joseph Myers  <joseph@codesourcery.com>
7672	    Chao-ying Fu  <fu@mips.com>
7673
7674	* config/mips/mips16.S:  Don't build for microMIPS.
7675	* config/mips/linux-unwind.h: Handle microMIPS frame.
7676	* config/mips/crtn.S (fini, init): New labels.
7677
76782013-02-24  Catherine Moore  <clm@codesourcery.com>
7679	    Joseph Myers  <joseph@codesourcery.com>
7680	    Chao-ying Fu  <fu@mips.com>
7681
7682	* config/mips/mips16.S:  Don't build for microMIPS.
7683	* config/mips/linux-unwind.h: Handle microMIPS frame.
7684	* config/mips/crtn.S (fini, init): New labels.
7685
76862012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7687	* config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7688	as dividend.
7689
76902013-02-16  Alan Modra  <amodra@gmail.com>
7691
7692	PR target/55431
7693	* config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7694	(ppc_fallback_frame_state): Always set up save locations for fp
7695	and altivec.  Don't bother with non-callee-saved regs, r0-r13
7696	except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7697
76982013-02-12  Georg-Johann Lay  <avr@gjlay.de>
7699
7700	PR target/54222
7701	* config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7702	_ssmulHA, _ssmulSA.
7703	(LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7704	_ssmulha3, _usmulusa3, _ssmulsa3.
7705	* config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7706	(__muldi3): XCALL __muldi3_6 instead of rcall.
7707	(__umulsidi3, __mulsidi3): New functions.
7708	(do_prologue_saves, do_epilogue_restores): New .macros.
7709	(__divdi3_moddi3): Use them.
7710	* config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7711	(__usmulusa3, __ssmulsa3): New functions.
7712
77132013-02-11  Iain Sandoe  <iain@codesourcery.com>
7714	    Jack Howarth  <howarth@bromo.med.uc.edu>
7715	    Patrick Marlier  <patrick.marlier@gmail.com>
7716
7717	PR libitm/55693
7718	* config/darwin-crt-tm.c: Remove dummy functions hack.
7719
77202013-02-08  Georg-Johann Lay  <avr@gjlay.de>
7721
7722	PR target/54222
7723	* config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7724	* config/avr/lib2-object.mk: New iterator to build objects from it.
7725	* config/avr/t-avr: Iterate lib2-object.mk to build objects from
7726	lib2funcs.c.
7727	(LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7728	(LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7729	_round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7730	_round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7731	_roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7732	* config/avr/lib1funcs-fixed.S: Implement them.
7733
77342013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
7735
7736	Update copyright years.
7737
77382013-02-01  David Edelsohn  <dje.gcc@gmail.com>
7739
7740	PR target/54601
7741	* config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7742	Add crtcxa to extra_parts.
7743	* config/rs6000/exit.h: New file.
7744	* config/rs6000/cxa_atexit.c: New file.
7745	* config/rs6000/cxa_finalize.c: New file.
7746	* config/rs6000/crtcxa.c: New file.
7747	* config/rs6000/t-aix-cxa: New file.
7748	* config/rs6000/libgcc-aix-cxa.ver: New file.
7749
77502013-01-31  Nick Clifton  <nickc@redhat.com>
7751
7752	* config/v850/lib1funcs.S: Add support for e3v5 architecture
7753	variant.
7754
77552013-01-29  Georg-Johann Lay  <avr@gjlay.de>
7756
7757	PR target/54222
7758	* config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7759	_mulQQ,  _mulHQ,  _mulHA,  _mulSA,
7760	_mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7761	_divQQ,  _divHQ,  _divHA,  _divSA,
7762	_divUQQ, _divUHQ, _divUHA, _divUSA.
7763
77642013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
7765
7766	* config.host(microblaze*-linux*): tmake_file: Remove
7767	t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7768	* config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7769	to exclude functions from being built with libgcc.c and use
7770	the microblaze assembly.
7771
77722013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7773
7774	* config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7775	extra_parts.
7776
77772013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
7778
7779	* config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7780	results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7781	__UINTPTR_TYPE__; also cast 'base' to the same type before the
7782	alignment operation.
7783
77842013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
7785
7786	* config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7787	loop start address for cache clearing.
7788
77892013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7790
7791	* config/avr/lib1funcs.S: Remove trailing blanks.
7792	* config/avr/lib1funcs-fixed.S: Ditto.
7793
77942013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7795
7796	* config/avr/avr-lib.h: Add GPL copyright notice.
7797
77982013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7799
7800	* fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7801	declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7802	(SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7803	min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7804
78052013-01-07  Mark Kettenis  <kettenis@openbsd.org>
7806
7807	* config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7808	Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
7809
78102013-01-04  Nick Clifton  <nickc@redhat.com>
7811
7812	* config/v850/lib1funcs.S: Only provide CALLT support functions if
7813	the CALLT instruction is supported.
7814
78152012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
7816
7817	* gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7818	* gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7819
78202012-12-13  John Tytgat  <John@bass-software.com>
7821
7822	* config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7823	is 25.
7824
78252012-12-12  Jakub Jelinek  <jakub@redhat.com>
7826
7827	PR libgcc/55451
7828	* fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7829	undefined signed overflows.
7830
78312012-12-09  Uros Bizjak  <ubizjak@gmail.com>
7832
7833	PR target/55344
7834	* config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7835
78362012-12-06  Uros Bizjak  <ubizjak@gmail.com>
7837
7838	* config/i386/sfp-machine.h (FP_EX_ALL): Define.
7839	(FP_TRAPPING_EXCEPTIONS): Define.
7840	* config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7841	* config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7842
78432012-12-04  Richard Henderson  <rth@redhat.com>
7844
7845	PR bootstrap/55571
7846	* Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7847
78482012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7849
7850	* config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
7851	(FP_EX_SHIFT): Define.
7852	(FP_TRAPPING_EXCEPTIONS): Define.
7853
78542012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7855
7856	* config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7857	(FP_ROUNDMODE): Use FP_RND_MASK.
7858	* config/aarch64/sfp-exceptions.c: New.
7859	* config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7860	Use __sfp_handle_exceptions.
7861
78622012-12-04  Richard Earnshaw  <rearnsha@arm.com>
7863
7864	* config.host: (arm*-*-freebsd*): Remove.
7865	(arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7866	(arm*-*-elf*): Remove.
7867	(arm*-*-wince-pe*): Remove.
7868	* arm/unwind-arm.c (struct fpa_reg): Delete.
7869	(struct fpa_regs): Delete.
7870	(phase1_vrs): Remove fpa element.
7871	(_Unwind_VRS_Get): Remove _UVRSC_FPA.
7872	(_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7873	* arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7874	* ieee754-sf.S (floatundisf): Remove FPA support.
7875	(floatdisf): Likewise.
7876	* ieee75f-df.S (floatundidf): Likewise.
7877	(floatdidf): Likewise.
7878
78792012-11-29  Kai Tietz  <ktietz@redhat.com>
7880
7881	PR target/55445
7882	* unwind-c.c (__SEH__): Make sure SjLj isn't active.
7883	* unwind-generic.h: Likewise.
7884	* unwind-seh.c: Likewise.
7885
78862012-11-28  Richard Henderson  <rth@redhat.com>
7887
7888	PR libgcc/48076
7889	* emutls.c (__emutls_get_address): Avoid race condition between
7890	obj->loc.offset read and emutls_key initialization.
7891
78922012-11-22  Georg-Johann Lay  <avr@gjlay.de>
7893
7894	Adjust decimal point of signed accum mode to GCC default.
7895
7896	PR target/54222
7897	* config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7898	_divqq_helper.
7899	* config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7900	(__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7901	(__mulha3, __mulsa3)
7902	(__divqq3, __divha3, __divsa3): Adjust to new position of
7903	decimal point of signed accum types.
7904
7905	(__mulusa3_round): New function.
7906	(__mulusa3): Use it.
7907	(__divqq_helper): New function.
7908	(__udivuqq3): Use it.
7909
79102012-11-20  Jakub Jelinek  <jakub@redhat.com>
7911
7912	PR bootstrap/55370
7913	* libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7914
79152012-11-18  Teresa Johnson  <tejohnson@google.com>
7916
7917	PR bootstrap/55051
7918	* libgcov.c (gcov_exit): Remove merged program summary
7919	comparison unless !GCOV_LOCKED.
7920
79212012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7922
7923	* soft-fp: Updated from glibc upstream.
7924
79252012-11-06  Ian Lance Taylor  <iant@google.com>
7926
7927	* generic-morestack.c (__generic_morestack): Align the returned
7928	stack pointer to a 32 byte boundary.
7929	* config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7930	increment the return address until we have decided that we don't
7931	have a varargs function.
7932	(__morestack) [32-bit]: Align stack correctly when calling C
7933	functions.
7934	(__morestack) [64-bit]: Likewise.
7935
79362012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
7937
7938	* configure: Regenerate.
7939
79402012-11-02  Uros Bizjak  <ubizjak@gmail.com>
7941
7942	PR target/55175
7943	* config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7944	* config/i386/sfp-machine.h: Guard exception handling
7945	code with _SOFT_FLOAT.
7946	* config/i386/32/sfp-machine.h: Guard rounding handling
7947	code with _SOFT_FLOAT.
7948	* config/i386/64/sfp-machine.h: Ditto.
7949
79502012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
7951
7952	* config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7953	as extra_parts.
7954
79552012-10-26  Uros Bizjak  <ubizjak@gmail.com>
7956
7957	* config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7958	Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
7959	when appropriate.  Correct structure element types.
7960	* config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7961	-minline-all-stringops from compile flags.
7962
79632012-10-25  Ralf Cors��pius  <ralf.corsepius@rtems.org>
7964
7965	* config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7966
79672012-10-25  Ralf Cors��pius  <ralf.corsepius@rtems.org>
7968
7969	* config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
7970
79712012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
7972
7973	* config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7974	tmake_file.
7975
79762012-10-23  Ian Bolton  <ian.bolton@arm.com>
7977	    Jim MacArthur  <jim.macarthur@arm.com>
7978	    Marcus Shawcroft  <marcus.shawcroft@arm.com>
7979	    Nigel Stephens  <nigel.stephens@arm.com>
7980	    Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
7981	    Richard Earnshaw  <rearnsha@arm.com>
7982	    Sofiane Naci  <sofiane.naci@arm.com>
7983	    Stephen Thomas  <stephen.thomas@arm.com>
7984	    Tejas Belagod  <tejas.belagod@arm.com>
7985	    Yufeng Zhang  <yufeng.zhang@arm.com>
7986
7987	* config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7988	* config/aarch64/crti.S: New file.
7989	* config/aarch64/crtn.S: New file.
7990	* config/aarch64/linux-unwind.h: New file.
7991	* config/aarch64/sfp-machine.h: New file.
7992	* config/aarch64/sync-cache.c: New file.
7993	* config/aarch64/t-aarch64: New file.
7994	* config/aarch64/t-softfp: New file.
7995
79962012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
7997
7998	* config/mmix/crti.S: Mark program and data addresses using PRELD.
7999	Remove typo'd and unnecessary alignment-LOC for .data.  Remove
8000	no-longer-needed LDBU insns.
8001
80022012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8003
8004	* config.host
8005	(arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8006	"arm*-*-rtemseabi*" to "arm*-*-rtems*".
8007
80082012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
8009
8010	* config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8011
80122012-10-15  Matthias Klose  <doko@ubuntu.com>
8013
8014	* config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8015
80162012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
8017
8018	* configure: Regenerate.
8019	* configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8020
80212012-10-10  Uros Bizjak  <ubizjak@gmail.com>
8022
8023	* config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8024	instructions for 64bit targets only.
8025
80262012-10-10  Uros Bizjak  <ubizjak@gmail.com>
8027
8028	* config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8029	FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8030	* config/i386/32/sfp-machine.h: ... here.
8031	* config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8032	FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8033	New defines.
8034
80352012-10-07  Matthias Klose  <doko@ubuntu.com>
8036
8037	* config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8038	as unused.
8039	(_Unwind_decode_typeinfo_ptr): Mark base as unused.
8040
80412012-10-06  Mark Kettenis  <kettenis@openbsd.org>
8042
8043	* config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8044	* unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8045	(USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8046	(ElfW): Likewise.
8047
80482012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
8049
8050	PR other/53889
8051	* config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8052	Fix parameter names.
8053
80542012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
8055
8056	PR target/33135
8057	* config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8058	* config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8059	* config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8060
80612012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
8062
8063	PR target/50457
8064	* config/sh/linux-atomic.S: Delete.
8065	* config/sh/linux-atomic.c: New.
8066	* config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8067	linux-atomic.c.  Add cflags to disable warnings.
8068
80692012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
8070
8071	PR other/53889
8072	* gthr.h (__gthread_recursive_mutex_destroy): Document new required
8073	function.
8074	* gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8075	* gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8076	* config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8077	* config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
8078	* config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8079	Likewise.
8080	* config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8081	Likewise.
8082	* config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8083	Likewise.
8084	* config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8085	* config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8086
80872012-09-19  Mark Kettenis  <kettenis@openbsd.org>
8088
8089	* config.host (hppa-*-openbsd*): New target.
8090	* config/pa/t-openbsd: New file.
8091
80922012-09-15  Georg-Johann Lay  <avr@gjlay.de>
8093
8094	PR target/54222
8095	* config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8096	__ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8097	__usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8098	(__divsa3): Use __negsi2 to negate r_quoL.
8099	* config/avr/lib1funcs.S (FALIAS): New macro.
8100	(__divmodsi4): Break out and use __divmodsi4_neg1 as...
8101	(__negsi2): ...this new function.
8102	* config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8103	_ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8104	_ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8105	(LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8106	Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8107	Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8108
81092012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
8110
8111	PR target/54089
8112	* config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8113	(lshrsi3): Reimplement as lshrsi3_r0.
8114
81152012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
8116
8117	PR target/46191
8118	* config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8119	of libgcc.a.
8120
81212012-09-07  Teresa Johnson  <tejohnson@google.com>
8122
8123	PR gcov-profile/54487
8124	* libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
8125	differences.
8126
81272012-09-05  Georg-Johann Lay  <avr@gjlay.de>
8128
8129	PR target/54461
8130	* config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8131	not configured --with-avrlibc=no.
8132	* config/avr/t-avrlibc: New file.
8133	* Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8134	(DPBIT_FUNCS): Ditto.
8135	(TPBIT_FUNCS): Ditto.
8136
81372012-09-04  Teresa Johnson  <tejohnson@google.com>
8138
8139	* libgcov.c (struct gcov_summary_buffer): New structure.
8140	(gcov_histogram_insert): New function.
8141	(gcov_compute_histogram): Ditto.
8142	(gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8143	histograms during summary merging.
8144
81452012-09-01  Mark Kettenis  <kettenis@openbsd.org>
8146
8147	* config.host (x86_64-*-openbsd*): New target.
8148
81492012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
8150
8151	* config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8152	attribute.
8153
81542012-08-24  Georg-Johann Lay  <avr@gjlay.de>
8155
8156	PR target/54222
8157	* config/avr/t-avr (conv_X): Rename to func_X.
8158
81592012-08-24  Georg-Johann Lay  <avr@gjlay.de>
8160
8161	PR target/54222
8162	* config/avr/lib1funcs-fixed.S: New file.
8163	* config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
8164	after they are used.
8165	(neg2, neg4): New macros.
8166	(__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8167	(__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8168	(__umulhisi3): Speed up MUL variant if there is enough flash.
8169	* config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8170	avr-modes.def.
8171	* config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8172	_fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8173	_fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8174	_fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8175	_mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8176	_udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8177	(LIB2FUNCS_EXCLUDE): Add supported functions.
8178
81792012-08-22  Georg-Johann Lay  <avr@gjlay.de>
8180
8181	* Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8182	LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8183	libgcc-s-objects.
8184	* fixed-obj.mk: Only expand dependency if $o is not in
8185	LIB2FUNCS_EXCLUDE.
8186
81872012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
8188
8189	* config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8190
81912012-08-22  Joseph Myers  <joseph@codesourcery.com>
8192
8193	* Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8194	depend on --enable-shared.
8195	($(lib1asmfuncs-o)): Use %.vis files independent of
8196	--enable-shared.
8197	* static-object.mk ($(base)$(objext), $(base).vis)
8198	($(base)_s$(objext)): Use same rules for visibility handling as in
8199	shared-object.mk.
8200
82012012-08-21  Ian Lance Taylor  <iant@google.com>
8202
8203	* config/i386/morestack.S (__morestack_non_split): Increase amount
8204	of space allocated for non-split code stack.
8205
82062012-08-19  Joseph Myers  <joseph@codesourcery.com>
8207
8208	* crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8209	even if inhibit_libc.
8210
82112012-08-17  Julian Brown  <julian@codesourcery.com>
8212
8213	* Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8214	-fexceptions -fnon-call-exceptions if not defined.
8215	($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8216	* config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8217
82182012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
8219
8220	* config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8221	type.
8222
82232012-08-16  David Edelsohn  <dje.gcc@gmail.com>
8224
8225	* config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8226	rs6000/t-slibgcc-aix.
8227
82282012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
8229
8230	* longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8231
82322012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
8233
8234	* longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8235
82362012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
8237
8238	PR driver/54171
8239	* Makefile.in (version): Replace top_srcdir with srcdir.
8240
82412012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
8242
8243	* Makefile.in (version): set to BASE-VER file from gcc directory.
8244
82452012-08-01  Nick Clifton  <nickc@redhat.com>
8246
8247	* config/m32c/lib2funcs.c (__clrsbhi2): New function.
8248	Implements __clrsb for an HImode argument.
8249
82502012-07-31  Nick Clifton  <nickc@redhat.com>
8251
8252	* config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8253	Implements __clrsb for an HImode argument.
8254	* config/stormy16/clrsbhi2.c: New file:
8255	* config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8256
82572012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
8258
8259	* libgcov.c (__gcov_ior_profiler): Benign comment fix.
8260
82612012-07-19  Tristan Gingold  <gingold@adacore.com>
8262	    Richard Henderson  <rth@redhat.com>
8263
8264	* unwind-seh.c: New file.
8265	* unwind-generic.h: Include windows.h for SEH.
8266	(_Unwind_Exception): Use 6 private fields for SEH.
8267	(_GCC_specific_handler): Declare.
8268	* unwind-c.c (__gcc_personality_seh0): New function.
8269	Adjust for SEH.
8270	* config/i386/libgcc-cygming.ver: New file.
8271	* config/i386/t-seh-eh: New file.
8272	* config.host (x86_64-*-mingw*): Default to seh.
8273
82742012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
8275
8276	* config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8277
82782012-06-17  Uros Bizjak  <ubizjak@gmail.com>
8279
8280	* config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8281	__builtin_expect when checking for exceptions.
8282	* config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8283
82842012-06-13  Uros Bizjak  <ubizjak@gmail.com>
8285
8286	* config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
8287	function declaration.
8288	(FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8289	(FP_RND_MASK): New.
8290	* config/ia64/sfp-exceptions.c: New.
8291	* config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
8292
82932012-06-13  Uros Bizjak  <ubizjak@gmail.com>
8294
8295	* config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
8296	_FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
8297	* config/i386/64/sfp-machine: ... (delete here) ...
8298	* config/i386/sfp-machine.h: ... to here.
8299	(FP_EX_MASK): Remove.
8300	(FP_RND_MASK): New.
8301	(FP_INIT_ROUNDMODE): Declare asm as volatile.
8302
83032012-06-11  Sriraman Tallam  <tmsriram@google.com>
8304
8305	* config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
8306	* config/i386/libgcc-sol2.ver: Ditto.
8307	* config/i386/libgcc-glibc.ver: Ditto.
8308
83092012-06-11  Roland McGrath  <mcgrathr@google.com>
8310
8311	* gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
8312	If __GLIBC__ is defined, refer to __pthread_key_create instead of
8313	pthread_cancel.
8314
83152012-06-09  Uros Bizjak  <ubizjak@gmail.com>
8316
8317	* config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
8318	_FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
8319	FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
8320	FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8321	FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
8322	__LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
8323	* config/i386/64/sfp-machine: ... (delete here) ...
8324	* config/i386/sfp-machine.h: ... to here.
8325	(FP_EX_MASK): New.
8326	(__sfp_handle_exceptions): New function declaration.
8327	(FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8328	* config/i386/sfp-exceptions.c: New.
8329	* config/i386/t-softfp: New.
8330	* config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
8331	i386/t-softfp to tmake_file.
8332
83332012-06-03  David S. Miller  <davem@davemloft.net>
8334
8335	* longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
8336	change.
8337
83382012-05-31  David S. Miller  <davem@davemloft.net>
8339
8340	* longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
8341	multiply and divide instructions on 32-bit when V9.
8342	(add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
8343
83442012-05-29  Joseph Myers  <joseph@codesourcery.com>
8345
8346	* config/arm/ieee754-df.S: Fix typos.
8347	* config/arm/ieee754-sf.S: Fix typos.
8348	* config/c6x/libunwind.S: Fix typos.
8349	* config/epiphany/udivsi3-float.c: Fix typos.
8350	* config/microblaze/muldi3_hard.S: Fix typos.
8351	* config/picochip/adddi3.S: Fix typos.
8352	* config/picochip/ashlsi3.S: Fix typos.
8353	* config/picochip/ashrsi3.S: Fix typos.
8354	* config/picochip/clzsi2.S: Fix typos.
8355	* config/picochip/cmpsi2.S: Fix typos.
8356	* config/picochip/divmod15.S: Fix typos.
8357	* config/picochip/divmodhi4.S: Fix typos.
8358	* config/picochip/divmodsi4.S: Fix typos.
8359	* config/picochip/longjmp.S: Fix typos.
8360	* config/picochip/lshrsi3.S: Fix typos.
8361	* config/picochip/parityhi2.S: Fix typos.
8362	* config/picochip/popcounthi2.S: Fix typos.
8363	* config/picochip/setjmp.S: Fix typos.
8364	* config/picochip/subdi3.S: Fix typos.
8365	* config/picochip/ucmpsi2.S: Fix typos.
8366	* config/picochip/udivmodhi4.S: Fix typos.
8367	* config/picochip/udivmodsi4.S: Fix typos.
8368	* config/spu/divv2df3.c: Fix typos.
8369	* config/spu/mfc_multi_tag_release.c: Fix typos.
8370	* config/spu/mfc_tag_release.c: Fix typos.
8371	* configure.ac: Fix typos.
8372	* configure: Regenerate.
8373
83742012-05-25  Ian Lance Taylor  <iant@google.com>
8375
8376	* config/i386/morestack.S (__morestack_non_split): Check whether
8377	caller is varargs and needs %bp to hold the stack frame on return.
8378
83792012-05-25  Olivier Hainque  <hainque@adacore.com>
8380
8381	* config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8382	sequence in the non pic case on VxWorks.
8383
83842012-05-24  Olivier Hainque  <hainque@adacore.com>
8385
8386	* Makefile.in: Move dependency on install-unwind_h from
8387	"install-leaf" to "install".
8388
83892012-05-24  Olivier Hainque  <hainque@adacore.com>
8390
8391	* Makefile.in (clean): Remove libgcc_tm.stamp as well.
8392	Use a separate command for stamp removals.
8393
83942012-05-21  Andrew Pinski  <apinski@cavium.com>
8395
8396	PR bootstrap/53183
8397	* configure.ac: Define the default includes to being none.
8398	* configure: Regenerate.
8399
84002012-05-16  Olivier Hainque  <hainque@adacore.com>
8401
8402	* Makefile.in (install-unwind_h): Rename into ...
8403	(install-unwind_h-forbuild): New target.
8404	(all): Use it instead of the former install-unwind_h.
8405	(install-unwind_h): Reinstate, copy to user install destination
8406	for include files, not to the internal gcc object directory one.
8407	(install-leaf): Depend on it.
8408
84092012-05-15  Olivier Hainque  <hainque@adacore.com>
8410
8411	* config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8412	register numbers. LR_REGNO replaces R_LR.
8413	(ucontext_for): New, helper for ...
8414	(ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8415	and 5.3 of ...
8416	(MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8417
84182012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8419
8420	* config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8421	(i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8422	(i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8423	i386/t-cpuinfo ...
8424	(i[34567]86-*-*, x86_64-*-*): ... here.
8425
8426	* config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8427	* config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8428
8429	* config/i386/i386-cpuinfo.c: Rename to ...
8430	* config/i386/cpuinfo.c: ... this.
8431	* config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8432
8433	* configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8434	(libgcc_cv_init_priority): New test.
8435	* configure: Regenerate.
8436	* config.in: New file.
8437	* Makefile.in (clean): Rename config.h to auto-target.h.
8438	(config.h): Likewise.
8439	(stamp-h): Likewise.
8440
8441	* config/i386/cpuinfo.c (auto-target.h): Include.
8442	(CONSTRUCTOR_PRIORITY): Define.
8443	(__cpu_indicator_init): Use it.
8444
84452012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
8446
8447	* longlong.h: Use a URL instead of an FSF postal address.
8448	Replace spaces with tab.
8449
84502012-05-08  Teresa Johnson  <tejohnson@google.com>
8451
8452	* libgcov.c (gcov_clear, __gcov_reset): New functions.
8453	(__gcov_dump): Ditto.
8454	(gcov_dump_complete): New global variable.
8455	(gcov_exit): Export hidden to enable use in L_gcov_dump.
8456	(__gcov_flush): Outline functionality now in gcov_clear.
8457	* Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8458
84592012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
8460
8461	* config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8462	(mips*-*-linux*): Include mips/t-tpbit when long double is
8463	16 bytes long.
8464
84652012-04-25  Sriraman Tallam  <tmsriram@google.com>
8466
8467	* config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8468	(get_available_features): New argument. Check for AVX2.
8469	(__cpu_indicator_init): Modify call to get_available_features.
8470
84712012-04-25  Alan Modra  <amodra@gmail.com>
8472
8473	* config/rs6000/crtsavevr.S: New file.
8474	* config/rs6000/crtrestvr.S: New file.
8475	* config/rs6000/t-savresfgpr: Build the above.
8476	* config/rs6000/t-netbsd: Likewise.
8477
84782012-04-24  Sriraman Tallam  <tmsriram@google.com>
8479
8480	* libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8481
84822012-04-24  Sriraman Tallam  <tmsriram@google.com>
8483
8484	* libgcc/config/i386/i386-cpuinfo.c: New file.
8485	* libgcc/config/i386/t-cpuinfo: New file.
8486	* libgcc/config.host: Include t-cpuinfo.
8487	* libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8488
84892012-04-24  Chao-ying Fu  <fu@mips.com>
8490
8491	* unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8492
84932012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
8494
8495	struct siginfo vs. siginfo_t
8496
8497	* config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8498	siginfo_t instead of struct siginfo.
8499	* config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8500	* config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8501	* config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8502	(ia64_handle_unwabi): Likewise.
8503	* config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8504	* config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8505	* config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8506	(sh_fallback_frame_state): Likewise.
8507	* config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8508	* config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8509
85102012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
8511
8512	* config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8513	system call number.
8514
85152012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
8516
8517	* config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8518	if it hasn't been previously saved.
8519
85202012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
8521
8522	* config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8523	only for glibc.
8524
85252012-03-28  Georg-Johann Lay  <avr@gjlay.de>
8526
8527	PR target/52737
8528	* config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8529	instead of __AVR_HAVE_8BIT_SP__.
8530
85312012-03-26  Tristan Gingold  <gingold@adacore.com>
8532
8533	* config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8534	(unw_table_entry): Use unw_word instead of unsigned long.
8535	(_Unwind_FindTableEntry): Likewise.
8536	* config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8537	* config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8538	(_Unwind_FindTableEntry): Likewise.
8539	* config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8540	(unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8541	(set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8542	(ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8543	(ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8544	(uw_frame_state_for, uw_update_reg_address, uw_update_context)
8545	(uw_init_context_1, uw_install_context): Likewise.
8546	(unw_word): Move to unwind-ia64.h
8547
85482012-03-26  Tristan Gingold  <gingold@adacore.com>
8549
8550	* config/vms/vms-ucrt0.c: Update copyright years.
8551	Add a sanity check.
8552	(___gcc_main_flags): Declare.
8553	(__main): Check flags to remap argv and exit code.
8554	* config.host (*-*-*vms*): Adjust extra_parts.
8555	* config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8556	(crt0.o): Add.
8557
85582012-03-22  Richard Earnshaw  <rearnsha@arm.com>
8559
8560	* arm/lib1funcs.asm (ctzsi2): New function.
8561	* arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8562	* arm/t-linux (LIB1ASMFUNCS): Likewise.
8563	* arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8564	* arm/t-symbian (LIB1ASMFUNCS): Likewise.
8565	* arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8566	* arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8567
85682012-03-21  Andreas Tobler  <andreast@fgznet.ch>
8569
8570	* config.host: Add bits to support powerpc64-*-freebsd*.
8571	* config/rs6000/freebsd-unwind.h: New file.
8572	* config/rs6000/t-freebsd64: New file.
8573
85742012-03-20  Richard Guenther  <rguenther@suse.de>
8575
8576	PR gcov-profile/52627
8577	* libgcov.c (init_mx): Fix mutex name.
8578
85792012-03-16  Tristan Gingold  <gingold@adacore.com>
8580
8581	* config/ia64/vms-unwind.h: Remove ulong (and replace
8582	it by unw_reg where used).  Define unw_reg with __int64.
8583
85842012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8585
8586	* config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8587	Solaris 8 handling.
8588	* config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8589	Solaris 8 handling.
8590	(sparc_is_sighandler): Likewise.
8591
85922012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
8593
8594	* unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8595	<= saved reg size.
8596
85972012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8598
8599	* config/arm/crtn.S: Fix typo.
8600
86012012-03-13  Richard Guenther  <rguenther@suse.de>
8602
8603	* libgcov.c: Remove stdio.h include and NULL un-define.
8604
86052012-03-13  Richard Guenther  <rguenther@suse.de>
8606
8607	PR target/52569
8608	* unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8609
86102012-03-13  Richard Guenther  <rguenther@suse.de>
8611
8612	* gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8613
86142012-03-13  Richard Guenther  <rguenther@suse.de>
8615
8616	* gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8617	and __gthread_mutex_init_function definitions.
8618
86192012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8620
8621	* config.host (mips*-*-openbsd*): Remove.
8622
86232012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8624
8625	* config.host: Remove alpha*-dec-osf5.1* handling.
8626	* config/alpha/gthr-posix.c: Remove.
8627	* config/alpha/libgcc-osf5.ver: Remove.
8628	* config/alpha/osf5-unwind.h: Remove.
8629	* config/alpha/t-osf-pthread: Remove.
8630	* config/alpha/t-slibgcc-osf: Remove.
8631	* config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8632	* gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8633	[__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8634	* mkmap-flat.awk: Remove osf_export handling.
8635
86362012-03-12  Richard Guenther  <rguenther@suse.de>
8637
8638	* gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8639	* gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8640	(__gthread_mutex_init_function): New function.
8641	* gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8642
8643	PR gcov/49484
8644	* libgcov.c: Include gthr.h.
8645	(__gcov_flush_mx): New global variable.
8646	(init_mx, init_mx_once): New functions.
8647	(__gcov_flush): Protect self with a mutex.
8648	(__gcov_fork): Re-initialize mutex after forking.
8649	* unwind-dw2-fde.c: Change condition under which to use
8650	__GTHREAD_MUTEX_INIT_FUNCTION.
8651
86522012-03-12  Tristan Gingold  <gingold@adacore.com>
8653
8654	* config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8655	* config/ia64/t-vms: Likewise.
8656
86572012-03-11  Michael Hope  <michael.hope@linaro.org>
8658
8659	* longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8660	for Thumb-2.
8661
86622012-03-07  Walter Lee  <walt@tilera.com>
8663
8664	* config/tilepro/atomic.c: Rename "atomic_" prefix to
8665	"arch_atomic_".
8666	(atomic_xor): Rename and move definition to
8667	config/tilepro/atomic.h.
8668	(atomic_nand): Ditto.
8669	* config/tilepro/atomic.h: Rename "atomic_" prefix to
8670	"arch_atomic_".
8671	(arch_atomic_xor): Move from config/tilepro/atomic.c.
8672	(arch_atomic_nand): Ditto.
8673
86742012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8675
8676	PR target/52507
8677	* config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8678
86792012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8680
8681	PR target/52505
8682	* config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8683	from RAM.
8684
86852012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8686
8687	PR target/52461
8688	PR target/52508
8689	* config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8690	if RAMPZ affects reading from RAM.
8691	(__tablejump_elpm__): Ditto.
8692	(.xload): Ditto.
8693	(__movmemx_hi): Ditto.
8694	(__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8695	(__do_global_dtors): Ditto.
8696	(__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8697	(__movmemx_hi): Ditto.
8698
86992012-03-05  Richard Henderson  <rth@redhat.com>
8700
8701	* longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8702	[ARM] (count_trailing_zeros): Use the builtin.
8703
87042012-03-01  Kai Tietz  <ktietz@redhat.com>
8705
8706	* soft-fp: Imported from glibc upstream.
8707
87082012-02-28  Kai Tietz  <ktietz@redhat.com>
8709
8710	* config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8711	for mingw-targets as attribute gcc_struct.
8712
87132012-02-28  Ian Lance Taylor  <iant@google.com>
8714
8715	* generic-morestack.c (__splitstack_releasecontext): Correct call
8716	to __morestack_release_segments.
8717
87182012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8719
8720	PR target/52390
8721	* generic-morestack.c (__generic_morestack_set_initial_sp): Test
8722	for __linux__ when removing signals from __morestack_fullmask.
8723
87242012-02-23  Georg-Johann Lay  <avr@gjlay.de>
8725
8726	PR target/52261
8727	* config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8728
87292012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8730
8731	* config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8732	instead of HAVE_INITFINI_ARRAY.
8733	* config/ia64/crtend.S: Likewise.
8734
87352012-02-20  Kai Tietz  <ktietz@redhat.com>
8736
8737	PR libstdc++/52300
8738	* gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8739
8740	* config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8741	to w32-unwind.h header.
8742
87432012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
8744
8745	* config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8746	(mips*-*-linux*): Remove t-slibgcc-libgcc.
8747	* config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8748	* config/mips/mips16.S (__mips16_rdhwr): Delete.
8749
87502012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
8751
8752	* config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8753
87542012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8755
8756	PR libitm/52220
8757	* config/darwin-crt-tm.c: Correct typo.
8758
87592012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8760	    Patrick Marlier  <patrick.marlier@gmail.com>
8761
8762	PR libitm/52220
8763	* config/darwin-crt-tm.c: Generate dummy functions.
8764
87652012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8766	    Patrick Marlier  <patrick.marlier@gmail.com>
8767
8768	PR libitm/52042
8769	* config/darwin-crt-tm.c (getTMCloneTable): New function.
8770	(__doTMRegistrations): Call it.
8771	(__doTMdeRegistrations): Likewise.
8772
87732012-01-15  Georg-Johann Lay  <avr@gjlay.de>
8774	    Anatoly Sokolov  <aesok@post.ru>
8775	    Eric Weddington  <eric.weddington@atmel.com>
8776
8777	PR target/52261
8778	* config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8779	(__epilogue_restores__): Ditto.
8780
87812012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
8782
8783	PR target/51921
8784	PR target/52205
8785	* config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8786	Solaris 11 and slightly reformat.
8787	(sparc_is_sighandler): Likewise.
8788
87892012-02-14  Walter Lee  <walt@tilera.com>
8790
8791	* config.host: Handle tilegx and tilepro.
8792	* config/tilegx/sfp-machine.h: New file.
8793	* config/tilegx/sfp-machine32.h: New file.
8794	* config/tilegx/sfp-machine64.h: New file.
8795	* config/tilegx/t-crtstuff: New file.
8796	* config/tilegx/t-softfp: New file.
8797	* config/tilegx/t-tilegx: New file.
8798	* config/tilepro/atomic.c: New file.
8799	* config/tilepro/atomic.h: New file.
8800	* config/tilepro/linux-unwind.h: New file.
8801	* config/tilepro/sfp-machine.h: New file.
8802	* config/tilepro/softdivide.c: New file.
8803	* config/tilepro/softmpy.S: New file.
8804	* config/tilepro/t-crtstuff: New file.
8805	* config/tilepro/t-tilepro: New file.
8806
88072012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
8808
8809	PR libstdc++/51296
8810	PR libstdc++/51906
8811	* gthr-posix.h: Allow static initializer macros to be disabled.
8812	(__gthrw_pthread_cond_init): Define weak reference unconditionally.
8813
88142012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
8815
8816	* config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8817	Add t-slibgcc-libgcc to tmake_file.
8818	* config/mips/libgcc-mips16.ver: Revert previous patch.
8819	* config/mips/mips16.S (__mips16_rdhwr): Hide.
8820
88212012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
8822	    Jayant R Sonar  <jayant.sonar@kpitcummins.com>
8823
8824	* config.host: Add National Semiconductor CR16 target (cr16-*-*).
8825	* config/cr16/crti.S: New file.
8826	* config/cr16/crtlibid.S: New file.
8827	* config/cr16/crtn.S: New file.
8828	* config/cr16/lib1funcs.S: New file.
8829	* config/cr16/t-cr16: New file.
8830	* config/cr16/t-crtlibid: New file.
8831	* config/cr16/unwind-dw2.h: New file.
8832	* config/cr16/unwind-cr16.c: New file.
8833	* config/cr16/divmodhi3.c: New file.
8834
88352012-01-25  Alan Modra  <amodra@gmail.com>
8836
8837	* config/rs6000/t-linux64: Delete.  Move..
8838	* config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8839	* config/rs6000/t-linux: ..and libgcc flags to here.
8840
88412012-01-22  Douglas B Rupp  <rupp@gnat.com>
8842
8843	* config.host (i[34567]86-*-interix3*):
8844	Change triplet to i[34567]86-*-interix[3-9]*.
8845	* configure: Regenerate.
8846
88472012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
8848	    Richard Sandiford  <rdsandiford@googlemail.com>
8849
8850	* config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8851	* config/mips/mips16.S (__mips16_rdhwr): New function.
8852	* config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8853
88542012-01-11  Nathan Sidwell  <nathan@acm.org>
8855
8856	* libgcov.c (__gcov_init): Ignore objects with no functions.
8857
88582012-01-10  Georg-Johann Lay  <avr@gjlay.de>
8859
8860	PR target/49868
8861	Extend __pgmx semantics to linearize memory.
8862	* config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8863	* config/avr/lib1funcs.S (__xload_1): New function.
8864	(__movmemx_qi, __movmemx_hi): New functions.
8865	(__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8866	semantics.
8867
88682012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
8869
8870	* config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8871	purported sigacthandler address isn't null before dereferencing it.
8872	(sparc_is_sighandler): Likewise.
8873
88742012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
8875
8876	PR ada/41929
8877	* config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8878	add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
8879	(sparc_is_sighandler): Likewise.
8880	(MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8881
88822012-01-06  Tristan Gingold  <gingold@adacore.com>
8883
8884	* config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8885	compatibility thunks...
8886	(CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8887	(crtbeginS.o, crtendS.o): ... and these to ...
8888	* config/ia64/t-ia64-elf: ... this new file.
8889	* config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8890	(ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8891
88922012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8893
8894	* configure: Regenerate.
8895	* config/s390/t-crtstuff: Remove -fPIC.
8896
88972012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
8898
8899	PR bootstrap/51006
8900	* enable-execute-stack-mprotect.c (getpagesize): Do not define
8901	for NetBSD.
8902
89032012-01-02  Georg-Johann Lay  <avr@gjlay.de>
8904
8905	PR target/51345
8906	* config/avr/lib1funcs.S: Remove FIXME comments.
8907	(SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8908
89092012-01-02  Georg-Johann Lay  <avr@gjlay.de>
8910
8911	Implement light-weight DImode support.
8912	* config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8913	_subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8914	* config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8915	__cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8916
89172011-12-30  Nathan Sidwell  <nathan@acm.org>
8918
8919	* libgcov.c (gcov_crc32): Remove global var.
8920	(free_fn_data): New function.
8921	(buffer_fn_data): Pass in filename, more robust error recovery.
8922	(crc32_unsigned): New function.
8923	(gcov_exit): More robust detection of new program. More robust
8924	error recovery.
8925	(__gcov_init): Do not update program's crc here.
8926
89272011-12-21  Tristan Gingold  <gingold@adacore.com>
8928
8929	* config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8930
89312011-12-21  Ian Lance Taylor  <iant@google.com>
8932
8933	* config/i386/morestack.S: Simplify CFI opcodes throughout.
8934
89352011-12-20  Ian Lance Taylor  <iant@google.com>
8936
8937	* config/i386/morestack.S (__morestack_non_split): If there is
8938	enough stack space already, don't split.  Ask for more stack space
8939	than we required.
8940
89412011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
8942
8943	* unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8944	`sys/sdt.h'.
8945	(_Unwind_DebugHook): New function.
8946	(uw_restore_core_regs): New define.
8947	(unwind_phase2): Use uw_restore_core_regs instead of
8948	restore_core_regs.
8949	(unwind_phase2_forced): Likewise.
8950	(__gnu_Unwind_Resume): Likewise.
8951
89522011-12-20  Uros Bizjak  <ubizjak@gmail.com>
8953
8954	* config/alpha/linux-unwind.h: Update copyright years.
8955	(MD_FROB_UPDATE_CONTEXT): New define.
8956	(alpha_frob_update_context): New function.
8957
89582011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
8959
8960	* config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8961	tmake_file rather replacing it.
8962
89632011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
8964
8965	* config/rs6000/darwin-world.S (toplevel): Make it clear that this
8966	function is not used for PPC64.
8967	(save_world): Amend comments.  Update the VRsave mask to reflect the
8968	saved regs.
8969	(rest_world): Update comments, do not  clobber r10, do not use r8.
8970	(eh_rest_world_r10): Amend comments, do not use r8.
8971	(rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8972	no longer used, move restore of CR and target address to the end of
8973	the routine.
8974
89752011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
8976
8977	* generic-morestack.c (__generic_morestack_set_initial_sp): Check
8978	__GLIBC__ instead of __linux__ when using __SIGRTMIN.
8979
89802011-12-14  Georg-Johann Lay  <avr@gjlay.de>
8981
8982	PR target/49313
8983	* config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8984	* config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8985
89862011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
8987
8988	* config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8989
89902011-12-09  Georg-Johann Lay  <avr@gjlay.de>
8991
8992	PR target/49313
8993	* config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8994	* config/avr/lib1funcs.S (__muldi3): New function.
8995
89962011-12-06  Andrew Pinski  <apinski@cavium.com>
8997
8998	* crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8999	size of func_ptr.
9000	(__frame_dummy_init_array_entry): Likewise.
9001
90022011-12-06  Georg-Johann Lay  <avr@gjlay.de>
9003
9004	Forward-port from gcc-4_6-branch r181936 2011-12-02.
9005
9006	PR target/51345
9007	PR target/51002
9008	* config/avr/lib1funcs.S (__prologue_saves__,
9009	__epilogue_restores__, __divdi3_moddi3): Enclose parts using
9010	__SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
9011
90122011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
9013
9014	* config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9015
90162011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9017
9018	PR other/51272
9019	* config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9020	(_ITM_deregisterTMCloneTable): Likewise.
9021	(__register_frame_info): Fix unused warning.
9022	(__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9023	pthread_default_stacksize_np): Likewise.
9024	* config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
9025
90262011-11-29  DJ Delorie  <dj@redhat.com>
9027
9028	* config.host (rl78-*-elf): New case.
9029	* config/rl78: New directory for the Renesas RL78.
9030
90312011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
9032
9033	* config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
9034	formatting.
9035
90362011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9037
9038	PR other/51022
9039	* config/rs6000/t-savresfgpr: New file.
9040	* config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9041	$(srcdir)/config/rs6000/eabi.S.
9042	* config/rs6000/t-ppccomm-ldbl: Remove.
9043	* config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9044	tmake_file.
9045	(powerpc-*-eabispe*): Likewise.
9046	(powerpc-*-eabi*): Likewise.
9047	(powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9048	(powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9049	to tmake_file, remove rs6000/t-ppccomm-ldbl.
9050	(powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9051	tmake_file.
9052	(powerpc-*-eabisim*): Likewise.
9053	(powerpc-*-elf*): Likewise.
9054	(powerpc-*-eabialtivec*): Likewise.
9055	(powerpc-xilinx-eabi*): Likewise.
9056	(powerpc-*-rtems*): Likewise.
9057	(powerpcle-*-elf*): Likewise.
9058	(powerpcle-*-eabisim*): Likewise.
9059	(powerpcle-*-eabi*): Likewise.
9060
90612011-11-27  Ian Lance Taylor  <iant@google.com>
9062
9063	* generic-morestack.c (__splitstack_find): Check for NULL old
9064	stack value.
9065	(__splitstack_resetcontext): New function.
9066	(__splitstack_releasecontext): New function.
9067	* libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9068
90692011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
9070
9071	* config/darwin-crt-tm.c: Correct comments, use correct licence.
9072
90732011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
9074
9075	* config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9076
90772011-11-26  Richard Henderson  <rth@redhat.com>
9078
9079	* config/m68k/linux-atomic.c: New file.
9080	* config/m68k/t-linux: New file.
9081	* config.host (m68k-uclinux, m68k-linux): Use it.
9082
90832011-11-26  Richard Henderson  <rth@redhat.com>
9084
9085	* crtstuff.c (__TMC_LIST__): Mark used not unused.
9086	(__TMC_END__): Only declare if hidden is available; in the definition,
9087	if hidden is unavailable add a null record.
9088	(deregister_tm_clones, register_tm_clones): New.
9089	(__do_global_dtors_aux, frame_dummy): Use them.
9090	(__do_global_dtors, __do_global_ctors_1): Likewise.
9091
90922011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
9093
9094	* config/darwin-crt-tm.c: New file.
9095	* config.host (darwin): Build crttms.o crttme.o to provide
9096	startup and shutdown for tm clones.
9097	* config/t-darwin (crttms.o): New build rule.
9098	(crttme.o): Likewise.
9099
91002011-11-21  Hans-Peter Nilsson  <hp@axis.com>
9101
9102	* Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9103	et al.
9104
91052011-11-21  Richard Henderson  <rth@redhat.com>
9106
9107	* crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9108	(__TMC_LIST__, __TMC_END__): New.
9109	(__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9110	(__do_global_dtors): Likewise.
9111	(frame_dummy): Call _ITM_registerTMCloneTable.
9112	(__do_global_ctors_1): Likewise.
9113
91142011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9115
9116	* config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9117	(powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9118	(powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9119	(powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9120	* config/i386/t-darwin64: Remove.
9121	* config/sh/t-netbsd (LIB2ADD): Remove.
9122
91232011-11-21  Georg-Johann Lay  <avr@gjlay.de>
9124
9125	PR target/49313
9126	* config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9127	(LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9128	* config/avr/lib1funcs.S (wmov): New assembler macro.
9129	(__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9130	(__moddi3, __divdi3, __divdi3_moddi3): New functions.
9131	(__udivmod64): New function.
9132	(__negdi2): New function.
9133
91342011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
9135
9136	* config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9137	*-*-freebsd*aout*): Remove.
9138
91392011-11-20  Hans-Peter Nilsson  <hp@axis.com>
9140
9141	* static-object.mk (c_flags-$o): Save c_flags.
9142	($(base)$(objext)): Use it.
9143
91442011-11-18  Steve Ellcey  <sje@cup.hp.com>
9145
9146	* Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9147
91482011-11-18  Georg-Johann Lay  <avr@gjlay.de>
9149
9150	PR target/49868
9151	* config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9152	* config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9153	New functions.
9154
91552011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
9156
9157	* config/arm/lib1funcs.asm (udivsi3): Add support for divide
9158	functions.
9159	(aeabi_uidivmod): Likewise.
9160	(umodsi3): Likewise.
9161	(divsi3): Likewise.
9162	(aeabi_idivmod): Likewise.
9163	(modsi3): Likewise.
9164
91652011-11-16  Tristan Gingold  <gingold@adacore.com>
9166
9167	* config/alpha/qrnnd.S: Use specific pseudos for VMS.
9168
91692011-11-15  Georg-Johann Lay  <avr@gjlay.de>
9170
9171	PR target/49868
9172	* config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
9173	* config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9174
91752011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9176
9177	* config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9178	tmake_file list.
9179	* config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9180	* config/pa/t-stublib64: Delete.
9181
91822011-11-12  Richard Henderson  <rth@redhat.com>
9183
9184	* config/rs6000/linux-unwind.h (frob_update_context): Properly
9185	cast the pointer argument to _Unwind_SetGRPtr.
9186
91872011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9188
9189	* config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9190
91912011-11-09  Ian Lance Taylor  <iant@google.com>
9192
9193	* generic-morestack.c: Include <string.h>.
9194	(uintptr_type): Define.
9195	(struct initial_sp): Add dont_block_signals field.  Reduce size of
9196	extra array by 1.
9197	(allocate_segment): Set prev field to NULL.  Don't set
9198	__morestack_current_segment or __morestack_segments.
9199	(__generic_morestack): Update current->prev and *pp after calling
9200	allocate_segment.
9201	(__morestack_block_signals): Don't do anything if
9202	dont_block_signals is set.
9203	(__morestack_unblock_signals): Likewise.
9204	(__generic_findstack): Check for initial_sp == NULL.  Add casts to
9205	uintptr_type.
9206	(__splitstack_block_signals): New function.
9207	(enum __splitstack_content_offsets): Define.
9208	(__splitstack_getcontext, __splitstack_setcontext): New functions.
9209	(__splitstack_makecontext): New function.
9210	(__splitstack_block_signals_context): New function.
9211	(__splitstack_find_context): New function.
9212	* config/i386/morestack.S (__morestack_get_guard): New function.
9213	(__morestack_set_guard, __morestack_make_guard): New functions.
9214	* libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9215
92162011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9217
9218	* config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9219	(i[34567]86-*-mingw*): ... here.
9220	(x86_64-*-mingw*): ... here.
9221
92222011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9223
9224	* config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9225
92262011-11-07  Nathan Sidwell  <nathan@acm.org>
9227
9228	* libgcov.c (struct gcov_fn_buffer): New struct.
9229	(buffer_fn_data): New helper.
9230	(gcov_exit): Rework for new gcov data structures.
9231
92322011-11-07  Georg-Johann Lay  <avr@gjlay.de>
9233
9234	PR target/49313
9235	* config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9236
92372011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9238
9239	* config.host (tmake_file): Correct comment.
9240	(bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9241	t-libgcc-pic.
9242	(bfin*-uclinux*): Likewise.
9243	(bfin*-linux-uclibc*): Likewise.
9244	(xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9245
9246	* config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9247	assigning.
9248	* config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9249	* config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9250	* config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9251	* config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9252	* config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9253	* config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9254	* config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9255	* config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9256	* config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9257	* config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9258	* config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9259	* config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9260	* config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9261
9262	* config/bfin/t-elf: Remove.
9263	* config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9264
92652011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9266
9267	* config.host (*-*-rtems*): Add t-rtems to tmake_file.
9268	(i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9269	(lm32-*-elf*, lm32-*-rtems*): Split into ...
9270	(lm32-*-elf*): ... this.
9271	(lm32-*-rtems*): ... and this.
9272	Add to tmake_file.
9273	(m32r-*-rtems*): Add to tmake_file.
9274	(moxie-*-rtems*): Likewise.
9275	(sparc-*-rtems*): Likewise.
9276	Remove t-rtems from tmake_file.
9277	(sparc64-*-rtems*): Likewise.
9278	* config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9279	instead.
9280
92812011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9282
9283	PR bootstrap/50982
9284	* config/gthr-posix.h: Move ...
9285	* gthr-posix.h: ... here.
9286	* config/gthr-lynx.h: Reflect this.
9287	* config/gthr-vxworks.h: Likewise.
9288	* config/rs6000/gthr-aix.h: Likewise.
9289	* configure.ac (target_thread_file): Likewise.
9290	* configure: Regenerate.
9291
92922011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
9293
9294	* config.host (arm*-*-rtemseabi*): New target.
9295
92962011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9297
9298	PR other/50991
9299	* Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
9300	extra-parts.
9301
93022011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
9303
9304	* config.host (epiphany-*-elf*): New configuration.
9305	* config/epiphany: New Directory.
9306
93072011-11-05  Ralf Cors��pius  <ralf.corsepius@rtems.org>
9308
9309	* config.host (avr-*-rtems*): Add config/avr/t-rtems.
9310	* config/avr/t-rtems: New.
9311	Filter out _exit from LIB1ASMFUNCS.
9312
93132011-11-04  David S. Miller  <davem@davemloft.net>
9314
9315	* configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
9316	* configure: Rebuild.
9317
93182011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9319
9320	* config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
9321	variable.
9322
93232011-11-04  Georg-Johann Lay  <avr@gjlay.de>
9324
9325	PR target/50931
9326	* config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
9327	* config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
9328
93292011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
9330
9331	PR target/50989
9332	* config.host (sparc-*-rtems*): Add sparc/t-softmul.
9333
93342011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9335
9336	* config/c6x/t-elf (LIB2ADDEH): Set.
9337	* config/c6x/t-c6x-elf: Remove.
9338
93392011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9340
9341	* config/i386/sol2-ci.S: Rename to ...
9342	* config/i386/crti.S: ... this.
9343	* config/i386/sol2-cn.S: Rename to ...
9344	* config/i386/crtn.S: ... this.
9345	* config/sparc/sol2-ci.S: Rename to ...
9346	* config/sparc/crti.S: ... this.
9347	* config/sparc/sol2-cn.S: Rename to ...
9348	* config/sparc/crtn.S: ... this.
9349	* config/t-sol2 (CUSTOM_CRTIN): Remove.
9350	(crti.o, crtn.o): Remove.
9351
93522011-11-04  Tristan Gingold  <gingold@adacore.com>
9353
9354	* config/ia64/fde-vms.c: Do not include md-unwind-support.h
9355
93562011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
9357
9358	* config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9359
93602011-11-03  Hans-Peter Nilsson  <hp@axis.com>
9361
9362	* config.host (crisv32-*-none, cris-*-none): Remove.
9363	(crisv32-*-elf): Append to tmake_file, don't just set it.
9364	(cris-*-elf): Add missing t-fdpbit to tmake_file.
9365
93662011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9367
9368	* config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9369	(ecrtn$(objext)): Likewise.
9370	(ncrti$(objext)): Likewise.
9371	(ncrtn$(objext)): Likewise.
9372
93732011-11-03  Andreas Schwab  <schwab@redhat.com>
9374
9375	* config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9376
93772011-11-02  David S. Miller  <davem@davemloft.net>
9378
9379	* configure.ac: Set host_address on sparc too.
9380	* configure: Regenerate.
9381	* config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9382	based upon host_address.
9383	* config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9384
93852011-11-02  Jason Merrill  <jason@redhat.com>
9386
9387	* config/rs6000/t-ppccomm: Add missing \.
9388
93892011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9390
9391	* gthr-single.h, gthr.h: New files.
9392	* config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9393	config/gthr-vxworks.h, config/i386/gthr-win32.h,
9394	config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9395	config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9396	* config/i386/gthr-win32.c: Include "gthr-win32.h".
9397	* configure.ac (thread_header): New variable.
9398	Set it depending on target_thread_file.
9399	(gthr-default.h): Link from $thread_header.
9400	* configure: Regenerate.
9401	* Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9402
94032011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9404
9405	* configure.ac (tm_file_): New variable.
9406	Determine from tm_file.
9407	(tm_file, tm_defines): Substitute.
9408	* configure: Regenerate.
9409	* mkheader.sh: New file.
9410	* Makefile.in (clean): Remove libgcc_tm.h.
9411	($(objects)): Depend on libgcc_tm.h.
9412	(libgcc_tm_defines, libgcc_tm_file): New variables.
9413	(libgcc_tm.h, libgcc_tm.stamp): New targets.
9414	($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9415	($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9416	($(extra-parts)): Depend on libgcc_tm.h.
9417	* config.host (tm_defines, tm_file): New variable.
9418	(arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9419	(arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9420	(arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9421	(avr-*-rtems*): Likewise.
9422	(avr-*-*): Likewise.
9423	(frv-*-elf): Likewise.
9424	(frv-*-*linux*): Likewise.
9425	(h8300-*-rtems*): Likewise.
9426	(h8300-*-elf*): Likewise.
9427	(i[34567]86-*-darwin*): Likewise.
9428	(x86_64-*-darwin*): Likewise.
9429	(rx-*-elf): Likewise.
9430	(tic6x-*-uclinux): Likewise.
9431	(tic6x-*-elf): Likewise.
9432	(i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9433	* config/alpha/gthr-posix.c: Include libgcc_tm.h.
9434	* config/i386/cygming-crtbegin.c: Likewise.
9435	* config/i386/cygming-crtend.c: Likewise.
9436	* config/ia64/fde-vms.c: Likewise.
9437	* config/ia64/unwind-ia64.c: Likewise.
9438	* config/libbid/bid_gcc_intrinsics.h: Likewise.
9439	* config/rs6000/darwin-fallback.c: Likewise.
9440	* config/stormy16/lib2funcs.c: Likewise.
9441	* config/xtensa/unwind-dw2-xtensa.c: Likewise.
9442	* crtstuff.c: Likewise.
9443	* dfp-bit.h: Likewise.
9444	* emutls.c: Likewise.
9445	* fixed-bit.c: Likewise.
9446	* fp-bit.c: Likewise.
9447	* generic-morestack-thread.c: Likewise.
9448	* generic-morestack.c: Likewise.
9449	* libgcc2.c: Likewise.
9450	* libgcov.c: Likewise.
9451	* unwind-dw2-fde-dip.c: Likewise.
9452	* unwind-dw2-fde.c: Likewise.
9453	* unwind-dw2.c: Likewise.
9454	* unwind-sjlj.c: Likewise.
9455
94562011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9457
9458	* configure.ac: Include ../config/picflag.m4.
9459	(GCC_PICFLAG): Call it.
9460	Substitute.
9461	* configure: Regenerate.
9462	* Makefile.in (gcc_srcdir): Remove.
9463	(LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9464	(HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9465	(LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9466	($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9467	($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9468	Use $<.
9469	Remove comment.
9470	* libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9471	* siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9472	to refer to libgcc2.c.
9473	Use $<.
9474	* config/darwin-64.c: New file.
9475	* config/darwin-crt3.c: Remove comment.
9476	* config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9477	config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9478	config/udivmodsi4.c: New files.
9479	* config/memcmp.c, config/memcpy.c, config/memmove.c,
9480	config/memset.c: New files.
9481	* config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9482	* config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9483	* config/t-freebsd-thread, config/t-libgcc-pic: New files.
9484	* config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9485	* config/t-openbsd-thread: New file.
9486	* config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9487	* config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9488	* config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9489	* config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9490	qrnnd.S.
9491	Adapt filename.
9492	* config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9493	to refer to gthr-posix.c.
9494	* config/alpha/t-vms (LIB2ADD): Set.
9495	* config/alpha/vms-gcc_shell_handler.c: New file.
9496	* config/arm/bpabi.c, config/arm/fp16.c,
9497	config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9498	config/arm/unaligned-funcs.c: New files.
9499	* config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9500	* config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9501	* config/arm/t-linux: Likewise.
9502	* config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9503	* config/arm/t-netbsd: New file.
9504	* config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9505	* config/arm/t-symbian (LIB2ADD_ST): Set.
9506	* config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9507	* config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9508	* config/bfin/t-elf: New file.
9509	* config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9510	config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9511	config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9512	config/c6x/ltf.c: New files.
9513	* config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9514	(HOST_LIBGCC2_CFLAGS): Set.
9515	* config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9516	(CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9517	* config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9518	New files.
9519	* config/cris/t-elfmulti (LIB2ADD_ST): Set.
9520	* config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9521	* config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9522	config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9523	config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9524	files.
9525	* config/frv/t-frv (LIB2ADD): Set.
9526	* config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9527	* config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9528	config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9529	config/h8300/popcounthi2.c: New files.
9530	* config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9531	* config/i386/gthr-win32.c: New file.
9532	* config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9533	* config/i386/t-cygwin: Likewise.
9534	* config/i386/t-darwin, config/i386/t-darwin64,
9535	config/i386/t-gthr-win32, config/i386/t-interix: New files.
9536	* config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9537	(CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9538	* config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9539	* config/ia64/quadlib.c: New file.
9540	* config/ia64/t-hpux (LIB2ADD): Set.
9541	* config/ia64/t-ia64: Add comment.
9542	* config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9543	* config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9544	(HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9545	* config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9546	* config/m32c/t-m32c (LIB2ADD): Set.
9547	* config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9548	* config/m32r/t-m32r: Likewise.
9549	* config/m68k/fpgnulib.c: New file.
9550	* config/m68k/t-floatlib (LIB2ADD): Set.
9551	(xfgnulib.c): New target.
9552	* config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9553	* config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9554	* config/mep/t-mep (LIB2ADD): Set.
9555	* config/microblaze/divsi3.asm: Rename to divsi3.S.
9556	* config/microblaze/moddi3.asm: Rename to moddi3.S.
9557	* config/microblaze/modsi3.asm: Rename to modsi3.S.
9558	* config/microblaze/muldi3_hard.asm: Rename to hard.S.
9559	* config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9560	* config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9561	* config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9562	* config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9563	* config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9564	* config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9565	New files.
9566	* config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9567	* config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9568	* config/pa/fptr.c, config/pa/lib2funcs.S,
9569	config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9570	* config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9571	(LIB2ADD, LIB2ADD_ST): Set.
9572	* config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9573	* config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9574	Set.
9575	* config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9576	* config/pdp11/t-pdp11: New file.
9577	* config/picochip/libgccExtras/adddi3.S,
9578	config/picochip/libgccExtras/ashlsi3.S,
9579	config/picochip/libgccExtras/ashrsi3.S,
9580	config/picochip/libgccExtras/clzsi2.S,
9581	config/picochip/libgccExtras/cmpsi2.S,
9582	config/picochip/libgccExtras/divmod15.S,
9583	config/picochip/libgccExtras/divmodhi4.S,
9584	config/picochip/libgccExtras/divmodsi4.S,
9585	config/picochip/libgccExtras/lshrsi3.S,
9586	config/picochip/libgccExtras/parityhi2.S,
9587	config/picochip/libgccExtras/popcounthi2.S,
9588	config/picochip/libgccExtras/subdi3.S,
9589	config/picochip/libgccExtras/ucmpsi2.S,
9590	config/picochip/libgccExtras/udivmodhi4.S,
9591	config/picochip/libgccExtras/udivmodsi4.S: New files.
9592	* config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9593	(LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9594	* config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9595	config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9596	config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9597	config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9598	config/rs6000/darwin-gpsave.S, 	config/rs6000/darwin-tramp.S,
9599	config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9600	files.
9601	* config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9602	(HOST_LIBGCC2_CFLAGS): Set.
9603	* config/rs6000/t-darwin64: New file.
9604	* config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9605	* config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9606	* config/rs6000/t-ppccomm (LIB2ADD): Add
9607	$(srcdir)/config/rs6000/tramp.S.
9608	(LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9609	Add  $(srcdir)/config/rs6000/eabi.S.
9610	(crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9611	(crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9612	(e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9613	(e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9614	(e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9615	(e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9616	* config/rs6000/tramp.S: New file.
9617	* config/s390/t-tpf: Remove.
9618	* config/sh/linux-atomic.S: New file.
9619	* config/sh/t-linux (LIB2ADD): Set.
9620	(HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9621	* config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9622	* config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9623	to unwind-dw2.c.
9624	(HOST_LIBGCC2_CFLAGS): Set.
9625	* config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9626	* config/spu/divmodti4.c, config/spu/divv2df3.c,
9627	config/spu/float_disf.c, config/spu/float_unsdidf.c,
9628	config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9629	config/spu/mfc_multi_tag_release.c,
9630	config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9631	config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9632	config/spu/multi3.c: New files.
9633	* config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9634	(HOST_LIBGCC2_CFLAGS): Set.
9635	* config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9636	config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9637	config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9638	config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9639	config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9640	config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9641	config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9642	config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9643	config/stormy16/umodsi3.c: New files.
9644	* config/xtensa/lib2funcs.S: New file.
9645	* config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9646	* config/xtensa/t-xtensa (LIB2ADD): Set.
9647	* config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9648	(*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9649	Add t-freebsd-thread to tmake_file for posix threads.
9650	(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9651	(*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9652	(*-*-lynxos*): Likewise.
9653	(*-*-netbsd*): Likewise.
9654	(*-*-openbsd*): Likewise.
9655	Add t-openbsd-thread to tmake_file for posix threads.
9656	(*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9657	(*-*-vxworks*): Set tmake_file.
9658	(alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9659	(alpha*-*-freebsd*): Likewise.
9660	(alpha*-*-netbsd*): Likewise.
9661	(alpha*-*-openbsd*): Likewise.
9662	(alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9663	(alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9664	(alpha*-dec-*vms*): Likewise.
9665	(arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9666	(bfin*-elf*): Add bfin/t-elf to tmake_file.
9667	(bfin*-uclinux*): Likewise.
9668	(bfin*-linux-uclibc*): Likewise.
9669	(crisv32-*-elf): Add cris/t-cris to tmake_file.
9670	(crisv32-*-none): Likewise.
9671	(cris-*-elf): Likewise.
9672	(cris-*-none): Likewise.
9673	(cris-*-linux*, crisv32-*-linux*): Likewise.
9674	(hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9675	tmake_file.
9676	(hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9677	tmake_file.
9678	(hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9679	(i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9680	(x86_64-*-elf*): Likewise.
9681	(i[34567]86-*-nto-qnx*): Likewise.
9682	(i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9683	win32 threads.
9684	(x86_64-*-mingw*): Likewise.
9685	(i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9686	(lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9687	(mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9688	(mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9689	(mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9690	tmake_file.
9691	(mipsisa64sr71k-*-elf*): Likewise.
9692	(mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9693	(mips-*-elf*, mipsel-*-elf*): Likewise.
9694	(mips64-*-elf*, mips64el-*-elf*): Likewise.
9695	(mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9696	(mips*-*-rtems*): Likewise.
9697	(mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9698	to tmake_file.
9699	(pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9700	(powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9701	(s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9702	(spu-*-elf*): Likewise.
9703	(tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9704
97052011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9706
9707	* Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9708	$(srcdir) to refer to $(LIB1ASMSRC).
9709	Use $<.
9710	* config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9711	config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9712	config/arm/lib1funcs.S: New files.
9713	* config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9714	* config/arm/t-arm: New file.
9715	* config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9716	* config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9717	config/arm/t-strongarm-elf: New files.
9718	* config/arm/t-symbian (LIB1ASMFUNCS): Set.
9719	* config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9720	* config/avr/lib1funcs.S: New file.
9721	* config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9722	* config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9723	* config/c6x/lib1funcs.S: New file.
9724	* config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9725	* config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9726	* config/frv/lib1funcs.S: New file.
9727	* config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9728	* config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9729	* config/i386/cygwin.S, config/i386/t-chkstk: New files.
9730	* config/ia64/__divxf3.asm: Rename to ...
9731	* config/ia64/__divxf3.S: ... this.
9732	Adapt lib1funcs.asm filename.
9733	* config/ia64/_fixtfdi.asm: Rename to ...
9734	* config/ia64/_fixtfdi.S: ... this.
9735	Adapt lib1funcs.asm filename.
9736	* config/ia64/_fixunstfdi.asm: Rename to ...
9737	* config/ia64/_fixunstfdi.S: ... this.
9738	Adapt lib1funcs.asm filename.
9739	* config/ia64/_floatditf.asm: Rename to ...
9740	* config/ia64/_floatditf.S: ... this.
9741	Adapt lib1funcs.asm filename.
9742	* config/ia64/lib1funcs.S: New file.
9743	* config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9744	* config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9745	* config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9746	* config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9747	* config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9748	* config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9749	* config/mep/lib1funcs.S: New file.
9750	* config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9751	* config/mips/mips16.S: New file.
9752	* config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9753	* config/pa/milli64.S: New file.
9754	* config/pa/t-linux, config/pa/t-linux64: New files.
9755	* config/picochip/lib1funcs.S: New file.
9756	* config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9757	* config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9758	* config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9759	* config/sh/t-netbsd: New file.
9760	* config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9761	Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9762	* config/sh/t-sh64: New file.
9763	* config/sparc/lb1spc.S: New file.
9764	* config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9765	filename.
9766	* config/v850/lib1funcs.S, config/v850/t-v850: New files.
9767	* config/vax/lib1funcs.S, config/vax/t-linux: New files.
9768	* config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9769	config/xtensa/lib1funcs.S: New files.
9770	* config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9771	* config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9772	tmake_file.
9773	(arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9774	(arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9775	(arm*-*-linux*): Likewise.
9776	Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9777	arm*-*-linux-*eabi, add arm/t-linux otherwise.
9778	(arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9779	(arm*-*-ecos-elf): Likewise.
9780	(arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9781	(arm*-*-rtems*): Likewise.
9782	(arm*-*-elf): Likewise.
9783	(arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9784	(avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9785	(bfin*-elf*): Add bfin/t-bfin to tmake_file.
9786	(bfin*-uclinux*): Likewise.
9787	(bfin*-linux-uclibc*): Likewise.
9788	(bfin*-rtems*): Likewise.
9789	(bfin*-*): Likewise.
9790	(fido-*-elf): Merge into m68k-*-elf*.
9791	(fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9792	(frv-*-*linux*): Add frv/t-frv to tmake_file.
9793	(h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9794	(h8300-*-elf*): Likewise.
9795	(hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9796	(hppa*-*-linux*): Add pa/t-linux to tmake_file.
9797	(i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9798	(i[34567]86-*-mingw*): Likewise.
9799	(x86_64-*-mingw*): Likewise.
9800	(i[34567]86-*-interix3*): Likewise.
9801	(ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9802	(ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9803	(m68k-*-elf*): Also handle fido-*-elf.
9804	Add m68k/t-floatlib to tmake_file.
9805	(m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9806	(m68k-*-linux*): Likewise.
9807	(m68k-*-rtems*): Likewise.
9808	(mcore-*-elf): Add mcore/t-mcore to tmake_file.
9809	(sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9810	sh64*-*-*.
9811	(sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9812	Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9813	(sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9814	(sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9815	sh/t-netbsd to tmake_file.
9816	Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9817	(sh-*-rtems*): Add sh/t-sh to tmake_file.
9818	(sh-wrs-vxworks): Likewise.
9819	(sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9820	*-leon[3-9]*.
9821	(v850*-*-*): Add v850/t-v850 to tmake_file.
9822	(vax-*-linux*): Add vax/t-linux to tmake_file.
9823	(m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9824
98252011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9826
9827	* crtstuff.c: New file.
9828	* Makefile.in (CRTSTUFF_CFLAGS): Define.
9829	(CRTSTUFF_T_CFLAGS): Define.
9830	(extra-parts, INSTALL_PARTS): Remove conditional assignments.
9831	(crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9832	(crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9833	crtstuff.c.
9834	Use $<.
9835	(crtbeginT.o): Use $(objext).
9836	[!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9837	(libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9838	(gcc-extra-parts): Remove.
9839	* config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9840	Set extra_parts.
9841	(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9842	*-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9843	Add t-crtstuff-pic to tmake_file.
9844	(*-*-lynxos*): New case.
9845	Set tmake_file, extra_parts.
9846	(*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9847	Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9848	*-*-netbsdelf[2-9]*.
9849	(*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9850	(*-*-rtems*): Set extra_parts.
9851	(*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9852	(*-*-uclinux*): New case.
9853	Set extra_parts.
9854	(*-*-vms*): New case.
9855	Set tmake_file, extra_parts.
9856	(*-*-elf): Set extra_parts.
9857	(alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9858	(alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9859	vms/t-vms64.
9860	Set extra_parts.
9861	(alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9862	Set extra_parts.
9863	(arm*-*-freebsd*): Add t-crtin to tmake_file.
9864	Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9865	(arm-wrs-vxworks): Append to tmake_file.
9866	Set extra_parts.
9867	(arm*-*-uclinux*): Set extra_parts.
9868	(arm*-*-ecos-elf): Likewise.
9869	(arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9870	arm*-*-eabi*.
9871	(arm*-*-rtems*): Set extra_parts.
9872	(arm*-*-elf): Likewise.
9873	(avr-*-rtems*): Clear extra_parts.
9874	(bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9875	Set extra_parts.
9876	(bfin*-uclinux*): Likewise.
9877	(bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9878	(bfin*-rtems*): Append to tmake_file.
9879	Set extra_parts.
9880	(bfin*-*): Likewise.
9881	(crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9882	(crisv32-*-elf): ... this.
9883	(crisv32-*-none): ... this.
9884	(cris-*-elf, cris-*-none): New cases.
9885	Add cris/t-elfmulti to tmake_file.
9886	(fr30-*-elf): Append to tmake_file.
9887	Set extra_parts.
9888	(frv-*-elf): Append to tmake_file, add frv/t-frv.
9889	Set extra_parts.
9890	(h8300-*-rtems*): Append to tmake_file.
9891	Set extra_parts.
9892	(h8300-*-elf*): Likewise.
9893	(hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9894	Set extra_parts.
9895	(hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9896	Set extra_parts.
9897	(i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9898	(x86_64-*-elf*): Likewise.
9899	(i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9900	(x86_64-*-freebsd*): Likewise.
9901	(x86_64-*-netbsd*): Likewise.
9902	(i[34567]86-*-linux*): Likewise.
9903	(i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9904	(i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9905	(x86_64-*-linux*): Likewise.
9906	(x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9907	(i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9908	tmake_file.
9909	Set extra_parts.
9910	(i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9911	(i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9912	Append to extra_parts, remove crtbegin.o, crtend.o.
9913	(ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9914	(ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9915	crtend.o, crtbeginS.o, crtendS.o.
9916	(ia64*-*-linux*): Comment extra_parts.
9917	(ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9918	Set extra_parts.
9919	(iq2000*-*-elf*): Clear extra_parts.
9920	(lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9921	(lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9922	(m32r-*-elf*, m32r-*-rtems*): Split off ...
9923	(m32r-*-rtems*): ... this.
9924	Add m32r/t-m32r to tmake_file.
9925	(m68k-*-elf*): Add t-crtin to tmake_file.
9926	(m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9927	(mcore-*-elf): Likewise.
9928	(microblaze*-*-*): Set extra_parts.
9929	(mips*-sde-elf*): New case.
9930	Set tmake_file, extra_parts.
9931	(mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9932	(mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9933	(mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9934	tmake_file.
9935	Set extra_parts.
9936	(mipsisa64sr71k-*-elf*): Likewise.
9937	(mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9938	(mips-*-elf*, mipsel-*-elf*): Likewise.
9939	(mips64-*-elf*, mips64el-*-elf*): Likewise.
9940	(mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9941	(mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
9942	(mips*-*-rtems*): Likewise.
9943	(mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9944	(moxie-*-*): Split into ...
9945	(moxie-*-elf, moxie-*-uclinux*): ... this.
9946	Add to extra_parts, remove crtbegin.o, crtend.o.
9947	(moxie-*-rtems*): New case.
9948	Set tmake_file.
9949	Clear extra_parts.
9950	(powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9951	Set extra_parts.
9952	(powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9953	(powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9954	tmake_file.
9955	Set extra_parts.
9956	(powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9957	rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9958	Set extra_parts.
9959	(powerpc-*-eabisim*): Likewise.
9960	(powerpc-*-elf*): Likewise.
9961	(powerpc-*-eabialtivec*): Likewise.
9962	(powerpc-xilinx-eabi*): Likewise.
9963	(powerpc-*-eabi*): Likewise.
9964	(powerpc-*-rtems*): Likewise.
9965	(powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9966	tmake_file.
9967	Set extra_parts.
9968	(powerpc-*-lynxos*): Add to tmake_file.
9969	(powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9970	rs6000/t-crtstuff, t-crtstuff-pic.
9971	Set extra_parts.
9972	(powerpcle-*-eabisim*): Likewise.
9973	(powerpcle-*-eabi*): Likewise.
9974	(rx-*-elf): Remove extra_parts.
9975	(s390x-ibm-tpf*): Set extra_parts.
9976	(score-*-elf): Set extra_parts.
9977	(sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9978	(sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9979	(sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9980	(sh64l*-*-netbsd*): Split into ...
9981	(sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9982	Add t-crtstuff-pic to tmake_file.
9983	Set extra_parts.
9984	(sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9985	Set extra_parts.
9986	(sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9987	(sparc-*-elf*): Remove t-crtin from tmake_file.
9988	Add to extra_parts, remove crtbegin.o, crtend.o.
9989	(sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9990	(sparc64-*-linux*): Likewise.
9991	(sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9992	Add to extra_parts, remove crtbegin.o, crtend.o.
9993	(sparc64-*-elf*): Remove t-crtin from tmake_file.
9994	Add to extra_parts, remove crtbegin.o, crtend.o.
9995	(sparc64-*-rtems*): Remove t-crtin from tmake_file.
9996	Add to extra_parts, remove crtbegin.o, crtend.o.
9997	(sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9998	(sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9999	(spu-*-elf*): Add to tmake_file, add spu/t-elf.
10000	Set extra_parts.
10001	(tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10002	Set extra_parts.
10003	(tic6x-*-*): Change to ...
10004	(tic6x-*-elf): ... this.
10005	Set extra_parts.
10006	(xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10007	Set extra_parts.
10008	(am33_2.0-*-linux*): Add comment.
10009	(mep*-*-*): Add mep/t-mep to tmake_file.
10010	Set extra_parts.
10011	* config/alpha/t-vms: New file.
10012	* config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10013	* config/arm/crti.S, config/arm/crtn.S: New files.
10014	* config/bfin/crti.S, config/bfin/crtn.S: New files.
10015	* config/bfin/crtlibid.S: New file.
10016	* config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10017	* config/c6x/crti.S, config/c6x/crtn.S: New files.
10018	* config/c6x/t-elf (CUSTOM_CRTIN): Set.
10019	(crti.o, crtin.o): New rules.
10020	(CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10021	* config/c6x/t-uclinux: New file.
10022	* config/cris/t-elfmulti: New file.
10023	* config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10024	* config/fr30/crti.S, config/fr30/crtn.S: New files.
10025	* config/frv/frvbegin.c, config/frv/frvend.c: New files.
10026	* config/frv/t-frv: New file.
10027	* config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10028	* config/h8300/crti.S, config/h8300/crtn.S: New files.
10029	* config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10030	New files.
10031	* config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10032	refer to cygming-crtbegin.c, cygming-crtend.c.
10033	Use $<.
10034	* config/i386/t-nto: New file.
10035	* config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10036	* config/ia64/crti.S, config/ia64/crtn.S: New files.
10037	* config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10038	crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10039	Use .S extension.
10040	Use $<.
10041	* config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10042	(crtinitS.o): New rule.
10043	* config/ia64/vms-crtinit.S: New file.
10044	* config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10045	* config/m32r/initfini.c: New file.
10046	* config/m32r/t-linux, config/m32r/t-m32r: New files.
10047	* config/m68k/crti.S, config/m68k/crtn.S: New files.
10048	* config/mcore/crti.S, config/mcore/crtn.S: New files.
10049	* config/mep/t-mep: New file.
10050	* config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10051	* config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10052	* config/mips/crti.S, config/mips/crtn.S: New files.
10053	* config/mips/t-crtstuff: New file.
10054	* config/mmix/crti.S, config/mmix/crtn.S: New files.
10055	* config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10056	(CUSTOM_CRTIN): Set.
10057	($(T)crti.o, $(T)crtn.o): Remove $(T),
10058	dependencies.
10059	Use $(srcdir) to refer to crti.S, crtn.S.
10060	Use .S extension, $<.
10061	* config/moxie/crti.asm: Rename to ...
10062	* config/moxie/crti.S: ... this.
10063	* config/moxie/crtn.asm: Rename to ...
10064	* config/moxie/crtn.S: ... this.
10065	* config/moxie/t-moxie: Remove.
10066	* config/pa/stublib.c: New file.
10067	* config/pa/t-stublib, config/pa/t-stublib64: New files.
10068	* config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10069	* config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10070	* config/rs6000/t-crtstuff: New file.
10071	* config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10072	(ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10073	(ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10074	Make output file explicit.
10075	(ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10076	Make output file explicit.
10077	(ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10078	Make output file explicit.
10079	(ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10080	Make output file explicit.
10081	* config/score/crti.S, config/score/crtn.S: New files.
10082	* config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10083	* config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10084	files.
10085	* config/sh/t-sh, config/sh/t-superh: New files.
10086	* config/sparc/t-linux64: New file.
10087	* config/spu/cache.S, config/spu/cachemgr.c: New files.
10088	* config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10089	(cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10090	(cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10091	* config/t-crtin: Remove.
10092	* config/t-crtstuff-pic: New file.
10093	* config/t-sol2 (CUSTOM_CRTIN): Set.
10094	(crti.o, crtn.o): New rules.
10095	* config/vms/t-vms: New file.
10096	* config/vms/vms-ucrt0.c: New file.
10097	* config/xtensa/t-elf: New file.
10098
100992011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10100
10101	* Makefile.in (SHLIB_NM_FLAGS): Set.
10102	* mkmap-flat.awk, mkmap-symver.awk: New files.
10103	* configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10104	exceptions.
10105	* configure: Regenerate.
10106	* config/libgcc-glibc.ver: New file.
10107	* config/libgcc-libsystem.ver: New file.
10108	* config/t-libunwind (SHLIB_LC): Set.
10109	* config/t-linux: New file.
10110	* config/t-slibgcc (INSTALL_SHLIB): New.
10111	(SHLIB_INSTALL): Use it.
10112	* config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10113	to mkmap-symver.awk.
10114	(SHLIB_MAPFILES): Don't append, adapt pathname.
10115	(SHLIB_VERPFX): Set.
10116	* config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10117	to mkmap-symver.awk.
10118	* config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10119	config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10120	* config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10121	* config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10122	to mkmap-flat.awk.
10123	* config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10124	* config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10125	* config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10126	* config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10127	* config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10128	* config/i386/libgcc-darwin.10.4.ver,
10129	config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10130	New files.
10131	* config/i386/t-darwin: Remove.
10132	* config/i386/t-darwin64: Likewise.
10133	* config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10134	* config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10135	config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10136	* config/i386/t-linux: New file.
10137	* config/i386/t-mingw32: New file.
10138	* config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10139	* config/ia64/t-glibc: Rename to ...
10140	* config/ia64/t-linux: ... this.
10141	(SHLIB_MAPFILES): Set.
10142	* config/ia64/t-glibc-libunwind: Rename to ...
10143	* config/ia64/t-linux-libunwind: ... this.
10144	* config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10145	* config/ia64/t-slibgcc-hpux: New file.
10146	* config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10147	* config/m68k/t-slibgcc-elf-ver: New file.
10148	* config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10149	* config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10150	to mkmap-flat.awk.
10151	* config/pa/t-slibgcc-hpux: New file.
10152	* config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10153	files.
10154	* config/rs6000/libgcc-darwin.10.4.ver,
10155	config/rs6000/libgcc-darwin.10.5.ver: New files.
10156	* config/rs6000/libgcc-ppc-glibc.ver: Rename to
10157	config/rs6000/libgcc-glibc.ver.
10158	* config/rs6000/libgcc-ppc64.ver: Rename to
10159	config/rs6000/libgcc-ibm-ldouble.ver.
10160	* config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10161	* config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10162	* config/rs6000/t-ldbl128: Rename to ...
10163	* config/rs6000/t-linux: ... this.
10164	(SHLIB_MAPFILES): Adapt filename.
10165	* config/rs6000/t-slibgcc-aix: New file.
10166	* config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10167	* config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10168	libgcc-excl.ver, libgcc-glibc.ver.
10169	(SHLIB_LINK, SHLIB_INSTALL): Remove.
10170	* config/sparc/libgcc-glibc.ver: New file.
10171	* config/sparc/t-linux: New file.
10172	* config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10173	* config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10174	t-slibgcc-elf-ver to tmake_file.
10175	Add t-slibgcc-nolc-override to tmake_file for posix threads on
10176	*-*-freebsd[34].
10177	(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10178	*-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10179	t-slibgcc-elf-ver, t-linux to tmake_file.
10180	(*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10181	tmake_file.
10182	(alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10183	(alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10184	(alpha*-dec-*vms*): Likewise.
10185	(arm*-*-freebsd*): Append to tmake_file.
10186	(arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10187	(arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10188	arm*-*-linux-*eabi.
10189	(arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10190	tmake_file for arm*-*-symbianelf*.
10191	(bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10192	(cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10193	cris/t-linux.
10194	(frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10195	(hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10196	pa/t-slibgcc-dwarf-ver to tmake_file.
10197	(hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10198	pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10199	(hppa*64*-*-hpux11*): Likewise.
10200	(hppa[12]*-*-hpux11*): Likewise.
10201	(x86_64-*-darwin*): Don't override tmake_file, but only keep
10202	i386/t-crtpc, i386/t-crtfm.
10203	(i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10204	Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10205	to tmake_file.
10206	Add i386/t-cygwin to tmake_file.
10207	Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10208	(i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10209	Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10210	to tmake_file.
10211	Add i386/t-mingw32 to tmake_file.
10212	(x86_64-*-mingw*): Likewise.
10213	(ia64*-*-freebsd*): Append to tmake_file.
10214	(ia64*-*-linux*): Append to tmake_file.
10215	Replace ia64/t-glibc by ia64/t-linux.
10216	Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10217	system libunwind.
10218	(ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10219	t-slibgcc-hpux to tmake_file.
10220	(ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10221	(m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10222	(m32rle-*-linux*): Likewise.
10223	(m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10224	sjlj exceptions.
10225	(microblaze*-linux*): New case.
10226	Append to tmake_file, add t-slibgcc-nolc-override.
10227	(powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10228	(powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10229	Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10230	(rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10231	rs6000/t-slibgcc-aix to tmake_file.
10232	(rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10233	(rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10234	(sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10235	(sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10236	(sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10237	(sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10238	sh*-*-linux*.
10239	(sparc-*-linux*): Append to tmake_file for *-leon*.
10240	Add sparc/t-linux to tmake_file for non-Leon targets.
10241	(sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10242	(tic6x-*-uclinux): New case.
10243	Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10244	(tic6x-*-*): Add c6x/t-elf to tmake_file.
10245	(xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10246	(am33_2.0-*-linux*): Append to tmake_file.
10247	(i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10248	(i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10249	x86_64-*-kfreebsd*-gnu.
10250	Add i386/t-linux to tmake_file.
10251
102522011-10-28  Ian Lance Taylor  <iant@google.com>
10253
10254	* config/i386/morestack.S: Correct CFI information to do proper
10255	returns throughout function.  In 32-bit mode, save %ebx so that it
10256	is restored on unwind.
10257
102582011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
10259
10260	* config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10261	case where B3 isn't the return register.
10262
10263	* config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10264	logic for doubleword pops.
10265
102662011-10-25  Andreas Tobler  <andreast@fgznet.ch>
10267
10268	* config/rs6000/t-freebsd: Add wildcard.
10269
102702011-10-21  Paul Brook  <paul@codesourcery.com>
10271
10272	* unwind-arm-common.inc: Handle ID3/4 unwinding data.
10273
102742011-10-16  Uros Bizjak  <ubizjak@gmail.com>
10275	    Eric Botcazou  <ebotcazou@adacore.com>
10276
10277	PR target/50737
10278	* config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10279	fs->signal_frame to 1.
10280
102812011-10-07  Ian Lance Taylor  <iant@google.com>
10282
10283	* generic-morestack-thread.c: #include <errno.h>.
10284
102852011-10-07  Ian Lance Taylor  <iant@google.com>
10286
10287	PR target/46093
10288	* generic-morestack.c (__generic_morestack): Make sure the segment
10289	is large enough for both the stack frame and the copied
10290	parameters.
10291
102922011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10293
10294	PR bootstrap/49804
10295	* config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
10296	extra_parts.
10297
102982011-09-28  Nick Clifton  <nickc@redhat.com>
10299
10300	* config/rx/rx-lib.h: Always restrict doubles to the SF type when
10301	64-bit doubles are not enabled.
10302	* config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
10303	and floatunsisf functions.
10304
103052011-09-13  Paul Brook  <paul@codesourcery.com>
10306
10307	* config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
10308	* unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
10309	* unwind-arm-common.inc: New file.
10310	* config/arm/unwind-arm.c: Use unwind-arm-common.inc.
10311	* config/arm/unwind-arm.h: Use unwind-arm-common.h.
10312	(_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
10313	* config/c6x/libunwind.S: New file.
10314	* config/c6x/pr-support.c: New file.
10315	* config/c6x/unwind-c6x.c: New file.
10316	* config/c6x/unwind-c6x.h: New file.
10317	* config/c6x/t-c6x-elf: New file.
10318
103192011-08-23  Uros Bizjak  <ubizjak@gmail.com>
10320
10321	* config/i386/64/sfp-machine.h (ASM_INVALID): New define.
10322	(ASM_DIVZERO): Ditto.
10323	(FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
10324
103252011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
10326
10327	* config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
10328
103292011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
10330
10331	PR target/50090
10332	* config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
10333	instead of an assembly one.
10334
103352011-08-12  Paolo Bonzini  <bonzini@gnu.org>
10336
10337	PR bootstrap/50047
10338	* Makefile.in (install-unwind_h): Create
10339	$(gcc_objdir)/include/unwind.h atomically.
10340
103412011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10342
10343	* Makefile.in (install-unwind_h): Remove destination file first.
10344
103452011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10346
10347	* sync.c: New file.
10348	* config/mips/t-mips16: New file.
10349	* config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
10350	(mips*-*-linux*): Likewise.
10351	(mips*-sde-elf*): Likewise.
10352	(mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
10353	mipsisa64-*-elf*, mipsisa64r2-*-elf*.
10354	Add mips/t-mips16 to tmake_file.
10355	(mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
10356	(mips-*-elf*): Likewise.
10357	(mips64-*-elf*): Likewise.
10358	(mips64orion-*-elf*): Likewise.
10359	(mips*-*-rtems*): Likewise.
10360	(mipstx39-*-elf*): Likewise.
10361	* Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10362	($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10363	LIBGCC_SYNC_CFLAGS.
10364	Use $(srcdir) to refer to sync.c.
10365	Use $<.
10366	($(libgcc-sync-funcs-o)): Likewise.
10367	($(libgcc-sync-size-funcs-s-o)): Likewise.
10368	($(libgcc-sync-funcs-s-o)): Likewise.
10369
103702011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
10371
10372	* config.host (ia64*-*-linux*): Move ia64/t-glibc after
10373	t-libunwind.
10374
103752011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
10376
10377	PR other/48007
10378	* config/i386/value-unwind.h: New.
10379
103802011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
10381
10382	* config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10383	(*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10384	Add to tmake_file rather than overriding it.
10385
103862011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10387
10388	* config/t-softfp: Remove.
10389	* soft-fp: Moved from ../gcc/config.
10390	* soft-fp/README: Remove t-softfp reference.
10391	* soft-fp/t-softfp: Move to config/t-softfp.
10392	(softfp_machine_header): Remove.
10393	(softfp_file_list): Remove config subdir.
10394	(soft-fp-objects): New variable.
10395	($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10396	(LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10397	(SFP_MACHINE, $(SFP_MACHINE)): Remove.
10398	* config/t-softfp-excl: New file.
10399	* config/t-softfp-sfdf: New file.
10400	* config/t-softfp-tf: New file.
10401	* config/no-sfp-machine.h: New file.
10402	* config/arm/sfp-machine.h: New file.
10403	* config/arm/t-softfp: New file.
10404	* config/c6x/sfp-machine.h: New file.
10405	* config/i386/32/t-fprules-softfp: Rename to ...
10406	* config/i386/32/t-softfp: ... this.
10407	(tifunctions, LIB2ADD): Remove.
10408	(softfp_int_modes): Override.
10409	* config/i386/64/t-softfp-compat (tf-functions): Remove config
10410	subdir.
10411	* config/i386/64/eqtf2.c: Likewise.
10412	* config/i386/64/getf2.c: Likewise.
10413	* config/i386/64/letf2.c: Likewise.
10414	* config/ia64/sft-machine.h: New file.
10415	* config/ia64/t-fprules-softfp: Rename to ...
10416	* config/ia64/t-softfp: ... this.
10417	* config/lm32/sfp-machine.h: New file.
10418	* config/moxie/t-moxie-softfp: Remove.
10419	* config/rs6000/ibm-ldouble-format: New file.
10420	* config/rs6000/ibm-ldouble.c: New file.
10421	* config/rs6000/libgcc-ppc-glibc.ver: New file
10422	* config/rs6000/libgcc-ppc64.ver: New file
10423	* config/rs6000/sfp-machine.h: New file.
10424	* config/rs6000/t-freebsd: New file.
10425	* config/rs6000/t-ibm-ldouble: New file.
10426	* config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10427	libgcc-ppc-glibc.ver.
10428	* config/rs6000/t-linux64: New file.
10429	* config/rs6000/t-ppccomm (LIB2ADD): Add
10430	$(srcdir)/config/rs6000/ibm-ldouble.c.
10431	* config/rs6000/t-ppccomm-ldbl: New file.
10432	* config/score/sfp-machine.h: New file.
10433	* config.host (sfp_machine_header): Explain.
10434	(arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10435	t-softfp to tmake_file.
10436	(arm*-*-uclinux*): Likewise.
10437	(arm*-*-ecos-elf): Likewise.
10438	(arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10439	(arm*-*-rtems*): Likewise.
10440	(arm*-*-elf): Likewise.
10441	(ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10442	in tmake_file.
10443	Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10444	(lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10445	(lm32-*-uclinux*): Likewise.
10446	(moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10447	t-softfp-excl, t-softfp.
10448	(powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10449	(powerpc64-*-darwin*): Likewise.
10450	(powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10451	to tmake_file.
10452	(powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10453	tmake_file.
10454	(powerpc-*-eabisim*): Likewise.
10455	(powerpc-*-elf*): Likewise.
10456	(powerpc-*-eabialtivec*): Likewise.
10457	(powerpc-xilinx-eabi*): Likewise.
10458	(powerpc-*-rtems*): Likewise.
10459	(powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10460	t-softfp-excl, t-softfp to tmake_file.
10461	(powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10462	rs6000/t-ppccomm-ldbl to tmake_file.
10463	(powerpcle-*-elf*): Likewise.
10464	(powerpcle-*-eabisim*): Likewise.
10465	(powerpcle-*-eabi*): Likewise.
10466	(rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10467	rs6000/t-ibm-ldouble to tmake_file.
10468	(rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10469	(rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10470	(score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10471	(tic6x-*-*): Likewise.
10472	(i[34567]86-*-darwin*, x86_64-*-darwin*,
10473	i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10474	i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10475	i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10476	i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10477	i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10478	t-softfp to tmake_file.
10479	* configure.ac (sfp_machine_header): Provide default if unset.
10480	Substitute.
10481	Link sfp-machine.h to config/$sfp_machine_header.
10482	* configure: Regenerate.
10483
104842011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10485
10486	* Makefile.in (double_type_size, long_double_type_size): Set.
10487	Remove $(fpbit-in-libgcc) support.
10488	(FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10489	(fpbit-src): New variable.
10490	($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10491	Compile with -DFLOAT $(FPBIT_CFLAGS).
10492	Use $<.
10493	($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10494	Compile with $(FPBIT_CFLAGS).
10495	Use $<.
10496	($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10497	Compile with -DFLOAT $(TPBIT_CFLAGS).
10498	Use $<.
10499	* configure.ac (double_type_size, long_double_type_size):
10500	Determine and substitute.
10501	* configure: Regenerate.
10502	* fp-bit.c, fp-bit.h: New files.
10503	* config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10504	* config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10505	* config/mips/t-mips: New file.
10506	* config/mips/t-sdemtk: New file.
10507	* config/rs6000/ppc64-fp.c: New file.
10508	* config/rs6000/t-darwin (LIB2ADD): Add
10509	$(srcdir)/config/rs6000/ppc64-fp.c.
10510	* config/rs6000/t-ppc64-fp: New file.
10511	* config/rx/rx-lib.h: New file.
10512	* config/rx/t-rx (FPBIT): Set to true.
10513	($(gcc_objdir)/fp-bit.c): Remove.
10514	(DPBIT): Set to true only with -m64bit-doubles.
10515	($(gcc_objdir)/dp-bit.c): Remove.
10516	* config/sparc/t-softfp: Remove.
10517	* config/spu/t-elf: New file.
10518	* config/t-fdpbit, config/t-fpbit: New files.
10519	* config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10520	(mips*-*-*): Likewise.
10521	(arm-wrs-vxworks): Likewise.
10522	(arm*-*-freebsd*): Likewise.
10523	(avr-*-rtems*): Add t-fpbit to tmake_file.
10524	(avr-*-*): Likewise.
10525	(bfin*-elf*): Add t-fdpbit to tmake_file.
10526	(bfin*-uclinux*): Likewise.
10527	(bfin*-linux-uclibc*): Likewise.
10528	(bfin*-rtems*): New case.
10529	Add t-fdpbit to tmake_file.
10530	(bfin*-*): Add t-fdpbit to tmake_file.
10531	(crisv32-*-elf): Likewise.
10532	(cris-*-linux*): Likewise.
10533	(fr30-*-elf): Likewise.
10534	(frv-*-elf, frv-*-*linux*): Likewise.
10535	(h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10536	(iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10537	(m32r-*-elf*): Likewise.
10538	(m32rle-*-elf*): Likewise.
10539	(m32r-*-linux*): Likewise.
10540	(m32rle-*-linux*): Likewise.
10541	(mcore-*-elf): Add t-fdpbit to tmake_file.
10542	(microblaze*-*-*): Likewise.
10543	(mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10544	(mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10545	(mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10546	Fix typo.
10547	Add mips/t-tpbit to tmake-file.
10548	(mips*-*-linux*): Fix typo.
10549	(mips*-sde-elf*): New case
10550	Add mips/t-sdemtk unless using newlib.
10551	(mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10552	(mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10553	(mn10300-*-*): Likewise.
10554	(pdp11-*-*): Likewise.
10555	(picochip-*-*): Add t-fpbit to tmake_file.
10556	(powerpc-*-eabisimaltivec*): Likewise.
10557	(powerpc-*-eabisim*): Likewise.
10558	(powerpc-*-elf*): Likewise.
10559	(powerpc-*-eabialtivec*): Likewise.
10560	(powerpc-xilinx-eabi*): New case.
10561	Add t-fdpbit to tmake_file.
10562	(powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
10563	(powerpc-*-rtems*): Likewise.
10564	(powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10565	tmake_file.
10566	(powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10567	tmake_file.
10568	(powerpc-*-lynxos*): Likewise.
10569	(powerpcle-*-elf*): Likewise.
10570	(powerpcle-*-eabisim*): Likewise.
10571	(powerpcle-*-eabi*): Likewise.
10572	(rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10573	t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10574	(rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10575	(rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10576	(rx-*-elf): Add t-fdpbit to tmake_file.
10577	(sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10578	(sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10579	(sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10580	(sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10581	sh*-*-netbsd*.
10582	(sh-*-rtems*): Add t-fdpbit to tmake_file.
10583	(sh-wrs-vxworks): Likewise.
10584	(sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10585	(sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10586	(sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10587	(sparc64-*-rtems*): ... new case.
10588	(sparc-*-rtems*): Add t-fdpbit to tmake_file.
10589	(spu-*-elf*): Likewise.
10590	Add spu/t-elf to tmake_file.
10591	(v850*-*-*): Add t-fdpbit to tmake_file.
10592	(xstormy16-*-elf): Likewise.
10593	(am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10594	(mep*-*-*): Likewise.
10595
105962011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10597
10598	* Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10599	variables.
10600	(LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10601	(LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10602	(install-unwind_h): New target.
10603	(all): Depend on it.
10604	* config.host (unwind_header): New variable.
10605	(*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10606	(*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10607	*-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10608	(*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10609	(arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10610	Set unwind_header.
10611	(arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10612	Set unwind_header.
10613	(arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10614	arm*-*-eabi*.
10615	Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10616	Set unwind_header.
10617	(ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10618	(ia64*-*-freebsd*): Likewise.
10619	(ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10620	tmake_file.
10621	Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10622	$with_system_libunwind.
10623	(ia64*-*-hpux*): Set tmake_file.
10624	(ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10625	(picochip-*-*): Set tmake_file.
10626	(rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10627	md_unwind_header.
10628	(rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10629	(rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10630	(s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10631	(xtensa*-*-elf*): Set tmake_file.
10632	(xtensa*-*-linux*): Likewise.
10633	* configure.ac: Include ../config/unwind_ipinfo.m4.
10634	Call GCC_CHECK_UNWIND_GETIPINFO.
10635	Link unwind.h to $unwind_header.
10636	* configure: Regenerate.
10637	* emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10638	unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10639	unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10640	unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10641	* config/unwind-dw2-fde-darwin.c: New file.
10642	* config/arm/libunwind.S, config/arm/pr-support.c,
10643	config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10644	config/arm/unwind-arm.h,: New files.
10645	* config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10646	config/ia64/t-eh-ia64, config/ia64/t-glibc,
10647	config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10648	config/ia64/t-vms, config/ia64/unwind-ia64.c,
10649	config/ia64/unwind-ia64.h: New files.
10650	* config/picochip/t-picochip: New file.
10651	* config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10652	files.
10653	* config/rs6000/t-darwin (LIB2ADDEH): Set.
10654	* config/s390/t-tpf (LIB2ADDEH): Remove.
10655	* config/t-darwin (LIB2ADDEH): Set.
10656	* config/t-eh-dw2-dip: New file.
10657	* config/t-libunwind, config/t-libunwind-elf: New files.
10658	* config/t-sol2 (LIB2ADDEH): Remove.
10659	* config/xtensa/t-xtensa: New file.
10660
106612011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
10662
10663	* config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10664	(x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10665	long long to check rt_sigreturn syscall.
10666
106672011-08-02  Alan Modra  <amodra@gmail.com>
10668
10669	* config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10670	Restore for indirect call bcrtl from correct stack slot, and only
10671	if cfa+40 isn't valid.
10672
106732011-08-01  Julian Brown  <julian@codesourcery.com>
10674
10675	* config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10676	(arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10677	* config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10678
106792011-08-01  Julian Brown  <julian@codesourcery.com>
10680
10681	* Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10682	(libgcc-std.ver.in): Use above.
10683	* fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10684	LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
10685	throughout file.
10686	* config/t-fixedpoint-gnu-prefix: New file.
10687	* config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10688	* libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10689	instead of __PFX__.
10690
106912011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
10692
10693	* config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10694	Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10695	for x86-64.  Properly check __x86_64__ and __LP64__.
10696
106972010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
10698
10699	* config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10700	version.
10701	(_FP_WS_TYPE): Likewise.
10702	(_FP_I_TYPE): Likewise.
10703
107042011-07-28  Alan Modra  <amodra@gmail.com>
10705
10706	* config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10707	Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10708	in a plt call stub.  Do restore r2 if stopped on bctrl.
10709
107102011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10711
10712	* config.host (i[3456x]86-*-netware*): Remove.
10713	* config/i386/netware-crt0.c, config/i386/t-nwld,
10714	config/i386/t-slibgcc-nwld: Remove.
10715
107162011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
10717
10718	* config.host: Handle tic6x-*-*.
10719	* config/c6x/c6x-abi.h: New file.
10720
107212011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10722
10723	* config/i386/crtprec.c: New file.
10724	* config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10725	* config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10726	Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10727	(x86_64-*-darwin*): Likewise.
10728	(i[34567]86-*-solaris2*: Likewise.
10729
107302011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10731
10732	* config/alpha/crtfastmath.c: New file.
10733	* config/i386/crtfastmath.c: New file.
10734	* config/ia64/crtfastmath.c: New file.
10735	* config/mips/crtfastmath.c: New file.
10736	* config/sparc/crtfastmath.c: New file.
10737
10738	* config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10739	crtfastmath.c.
10740	Add -frandom-seed=gcc-crtfastmath.
10741	* config/alpha/t-crtfm: Remove.
10742	* config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10743	* config/ia64/t-ia64 (crtfastmath.o): Remove.
10744
10745	* config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10746	(alpha*-dec-osf5.1*): Likewise.
10747	(alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10748	Add crtfastmath.o to extra_parts.
10749	(i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10750	Add crtfastmath.o to extra_parts.
10751	(x86_64-*-darwin*): Likewise.
10752	(x86_64-*-mingw*): Likewise.
10753	(ia64*-*-elf*): Add t-crtfm to tmake_file.
10754	(ia64*-*-freebsd*): Likewise.
10755	(ia64*-*-linux*): Likewise.
10756	(sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10757	Add crtfastmath.o to extra_parts.
10758
107592011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10760
10761	* config/darwin-crt3.o: New file.
10762	* config/rs6000/darwin-crt2.c: New file.
10763	* config/t-darwin: New file.
10764	* config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10765	(crt2.o): New rule.
10766	* config.host (*-*-darwin*): Add crt3.o to extra_parts.
10767	(powerpc-*-darwin*): Add crt2.o to extra_parts.
10768	(powerpc64-*-darwin*): Likewise.
10769
107702011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10771
10772	* config/i386/netware-crt0.c: New file.
10773	* config/i386/t-nwld: Rename to ...
10774	* config/i386/t-slibgcc-nwld: ... this.
10775	* config/i386/t-nwld: New file.
10776	* config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10777	tmake_file.
10778	Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10779	extra_parts.
10780
107812011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10782
10783	* configure.ac (i?86-*-solaris2*): Use libgcc copy of
10784	i386/t-crtstuff.
10785	* configure: Regenerate.
10786
107872011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10788
10789	* dfp-bit.c, dfp-bit.h: New files.
10790	* Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10791	variables.
10792	($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10793	($(d64pbit-o)): Likewise.
10794	($(d128pbit-o)): Likewise.
10795	* config/t-dfprules: New file.
10796	* config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10797	(i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10798	i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10799	(x86_64-*-linux*): Likewise.
10800	(x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10801	(i[34567]86-*-cygwin*): Likewise.
10802	(i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
10803	(powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10804
108052011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10806
10807	* Makfile.in (LIBGCOV): New variable.
10808	($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10809	* libgcov.c: New file.
10810
108112011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10812
10813	* fixed-bit.c, fixed-bit.h: New files.
10814	* fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10815	refer to fixed-bit.c.
10816
108172011-07-07  Joseph Myers  <joseph@codesourcery.com>
10818
10819	* config.host (*local*): Remove.
10820
108212011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10822
10823	PR target/39150
10824	* config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10825	like i?86-*-solaris2.1[0-9]*.
10826	(i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10827	* configure.ac (i?86-*-solaris2*): Likewise.
10828	* configure: Regenerate.
10829
108302011-07-06  Thomas Schwinge  <thomas@schwinge.name>
10831
10832	* config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10833	(i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10834	md_unwind_header by splitting out of...
10835	(i[34567]86-*-linux*): ... this.
10836	* config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10837	Remove md_unwind_header by splitting out of...
10838	(x86_64-*-linux*): ... this.
10839
108402011-07-04  Georg-Johann Lay  <avr@gjlay.de>
10841
10842	* config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10843
108442011-06-28  Nick Clifton  <nickc@redhat.com>
10845
10846	* config.host: Recognize all V850 variants.
10847
108482011-06-22  Uros Bizjak  <ubizjak@gmail.com>
10849
10850	* enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10851
108522011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10853
10854	* shared-object.mk (c_flags-$o): Save c_flags.
10855	($(base)$(objext)): Use it.
10856	($(base)_s$(objext)): Likewise.
10857
108582011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
10859
10860	* Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10861	* libgcc-std.ver.in (GCC_4.7.0): New section.
10862
108632011-06-16  Georg-Johann Lay  <avr@gjlay.de>
10864
10865	PR target/49313
10866	PR target/29524
10867	* config/avr/t-avr: Fix line endings.
10868	(intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
10869	_parityXX2.
10870
108712011-06-14  Olivier Hainque  <hainque@adacore.com>
10872	    Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10873
10874	* config/mips/irix6-unwind.h: New file.
10875	* config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10876
108772011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
10878
10879	* config/sparc/linux-unwind.h (STACK_BIAS): Define.
10880	(sparc64_fallback_frame_state): Use it.
10881	(sparc64_frob_update_context): Further adjust context.
10882	* config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10883	* config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10884	* config/sparc/sol2-cn.S: Likewise.
10885
108862011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10887
10888	* enable-execute-stack-empty.c: New file.
10889	* enable-execute-stack-mprotect.c: New file.
10890	* config/i386/enable-execute-stack-mingw32.c: New file.
10891	* config.host (enable_execute_stack): New variable.
10892	Select appropriate variants.
10893	* configure.ac: Link enable-execute-stack.c to
10894	$enable_execute_stack.
10895	* configure: Regenerate.
10896	* Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10897	(lib2funcs): Remove _enable_execute_stack.
10898
108992011-06-09  David S. Miller  <davem@davemloft.net>
10900	    Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10901
10902	* config.host (sparc-*-linux*): Correct md_unwind_header
10903	filename.
10904	(s390x-ibm-tpf*): Fix typo.
10905
109062011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10907
10908	* config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10909	Add crtfastmath.o to extra_parts.
10910	(mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10911	mips/t-crtfm.
10912	* config/mips/t-crtfm: Remove.
10913
109142011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
10915
10916	* config.host (hppa*-*-linux*): Correct md_unwind_header name.
10917
109182011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
10919
10920	* config.host (sh*-*-linux*): Fix typo.
10921
109222011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10923
10924	* config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10925	* config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10926	* config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10927	* config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10928	* config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10929	* config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10930	* config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10931	Wrap in !__MINGW64__.
10932	* config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10933	* config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10934	* config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10935	* config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10936	* config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10937	* config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10938	* config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10939	Wrap in !__LP64__.
10940	* config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10941	* config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10942	* config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10943	* config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10944	* config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10945	* config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10946	* config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10947	* config/no-unwind.h: New file.
10948	* config.host (md_unwind_header): Document.
10949	Define.
10950	(alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10951	alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10952	hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10953	hppa[12]*-*-hpux11*): Set md_unwind_header.
10954	(i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10955	Set md_unwind_header.
10956	(x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10957	(i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10958	(i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10959	m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10960	powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10961	s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10962	sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10963	md_unwind_header.
10964	* configure.ac: Link md-unwind-support.h to $md_unwind_header.
10965	* configure: Regenerate.
10966
109672011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10968
10969	* config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10970	Set tmake_file, extra_parts.
10971	* config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10972	Remove O32 support.
10973	* config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10974	Remove O32 support.
10975	* config/mips/t-irix6: New file.
10976	* config/mips/t-slibgcc-irix: New file.
10977
109782011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10979
10980	* config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10981	* config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10982
109832011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10984
10985	* configure.ac (target_thread_file): Determine thread model.
10986	* configure: Regenerate.
10987	* config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10988	* config/alpha/t-alpha: New file.
10989	* config/alpha/t-crtfm: Use $<.
10990	* config/alpha/t-ieee: New file.
10991	* config/alpha/t-osf-pthread: New file.
10992	* config/alpha/t-slibgcc-osf: New file.
10993	* config/alpha/libgcc-osf5.ver: New file.
10994
109952011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10996
10997	* config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10998	tmake_file.
10999	Add crtfastmath.o to extra_parts.
11000
110012011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11002
11003	* config/gmon-sol2.c: Reindent.
11004	Cleanup comments.
11005	Remove, correct casts.
11006	Use STDERR_FILENO, NULL.
11007	(BASEADDRESS): Remove.
11008	(minbrk): Remove.
11009	(errno, sbrk): Remove declarations.
11010	(monstartup) [hp300]: Remove.
11011	(mcount): Remove.
11012
110132011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11014
11015	* Makefile.in (cpu_type): Define.
11016	* config.host (i[34567]86-*-rtems*): Handle it.
11017	(i[34567]86-*-solaris2*): Move body ...
11018	(*-*-solaris2*): ... here.
11019	New case, generalize.
11020	(sparc-*-elf*): Handle it.
11021	(sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11022	(sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11023	(sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11024	Fold into ...
11025	(sparc*-*-solaris2*): ... this.
11026	New case.
11027	(sparc64-*-elf*): Handle it.
11028	* config/gmon-sol2.c: Move from ../gcc/config/sparc.
11029	Merge ../gcc/config/i386/gmon-sol2.c.
11030	* config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11031	Use C comments.
11032	Merge ../gcc/config/i386/sol2-gc1.asm.
11033	* config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11034	Use C comments.
11035	* config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11036	Use C comments.
11037	* config/i386/t-crtfm (crtfastmath.o): Use $<.
11038	* config/i386/t-crtstuff: New file.
11039	* config/i386/t-softfp: New file.
11040	* config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11041	$(T)crti.o, $(T)crtn.o): Remove.
11042	(gcrt1.o): New rule.
11043	(TARGET_LIBGCC2_CFLAGS): Remove.
11044	* config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11045	* config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11046	* config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11047	* config/sparc/t-sol2: New file.
11048	* config/sparc/t-crtfm: Move to ...
11049	* config/t-crtfm: ... this.
11050	Use $(cpu_type), $<.
11051	* config/t-crtin: New file.
11052	* config/sparc/t-softfp: New file.
11053	* config/sparc/t-softmul: New file.
11054	* config/t-rtems: New file.
11055	* config/t-slibgcc: New file.
11056	* config/t-slibgcc-elf-ver: New file.
11057	* config/t-slibgcc-gld: New file.
11058	* config/t-slibgcc-sld: New file.
11059	* config/t-sol2: New file.
11060	* configure.ac: Include ../config/lib-ld.m4.
11061	Call AC_LIB_PROG_LD_GNU.
11062	Substitute cpu_type.
11063	* configure: Regenerate.
11064
110652011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
11066
11067	PR bootstrap/49173
11068	* config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11069	libgcc-std.ver in the build directory.
11070	* config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11071	* config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11072
110732011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
11074
11075	* libgcc-std.ver.in: New file.
11076	* Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11077	variables.
11078	(libgcc-std.ver): New rule.
11079	* config/t-gnu-prefix: New file.
11080
110812011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11082
11083	* config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11084
110852011-05-10  Joseph Myers  <joseph@codesourcery.com>
11086
11087	* config/i386/darwin-lib.h: New file.
11088
110892011-05-10  Joseph Myers  <joseph@codesourcery.com>
11090
11091	* config/arm/symbian-lib.h: New.
11092
110932011-05-04  Chris Demetriou  <cgd@google.com>
11094
11095	* config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11096	(__x86.get_pc_thunk.bx): ...this.
11097	(__morestack): Adjust for rename, remove undef of __i686.
11098
110992011-05-03  Chris Demetriou  <cgd@google.com>
11100
11101	* config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11102
111032011-03-22  Joseph Myers  <joseph@codesourcery.com>
11104
11105	* config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11106	arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11107	m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11108	powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11109	sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11110	Remove cases.
11111
111122011-03-14  Andreas Tobler  <andreast@fgznet.ch>
11113
11114	* config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11115	Adjust copyright year.
11116
111172011-03-07  Ian Lance Taylor  <iant@google.com>
11118
11119	* generic-morestack.c (__splitstack_find): Adjust returned stack
11120	pointer to include all registers pushed by __morestack.
11121
111222011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
11123
11124	PR target/40125
11125	* configure.ac: Call ACX_NONCANONICAL_TARGET.
11126	(toolexecdir): Calculate and AC_SUBST.
11127	(toolexeclibdir): Likewise.
11128	* Makefile.in (target_noncanonical): Import.
11129	(toolexecdir): Likewise.
11130	(toolexeclibdir): Likewise.
11131	* configure: Regenerate.
11132
111332010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
11134
11135	PR target/46040
11136	* config/arm/bpabi.h: Rename to...
11137	* config/arm/bpabi-lib.h: ...this.
11138
111392010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11140
11141	* configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11142	appropriate.
11143	* configure: Regenerate.
11144
111452010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
11146
11147	* config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11148	__FLOAT_WORD_ORDER__.
11149	* config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11150	Delete.
11151
111522010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11153
11154	PR other/46202
11155	* Makefile.in (install-strip): New phony target.
11156
111572010-11-07  Ian Lance Taylor  <iant@google.com>
11158
11159	PR target/46089
11160	* config/i386/morestack.S (__morestack_large_model): New
11161	function.
11162
111632010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
11164
11165	* config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11166	Delete.
11167	(LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11168
111692010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
11170
11171	* config/arm/bpabi.h: New file.
11172	* config/frv/frv-abi.h: New file.
11173
111742010-10-01  Ian Lance Taylor  <iant@google.com>
11175
11176	* config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11177	* config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11178
111792010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
11180
11181	PR target/45858
11182	* config.host: Add the missing `$'.
11183
111842010-09-30  Michael Eager  <eager@eagercon.com>
11185
11186	* config.host: Add microblaze*-*-*.
11187	* config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11188	muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11189	udivsi3.asm,umodsi3.asm}:  New.
11190
111912010-09-28  Ian Lance Taylor  <iant@google.com>
11192
11193	* configure.ac: Adjust CFI test to test assembler directly rather
11194	than checking gcc preprocessor macro.
11195	* configure: Rebuild.
11196
111972010-09-27  Ian Lance Taylor  <iant@google.com>
11198
11199	* configure.ac: Test whether assembler supports CFI directives.
11200	* config.host: Only add t-stack and i386/t-stack-i386 to
11201	tmake_file if libgcc_cv_cfi is "yes".
11202	* configure: Rebuild.
11203
112042010-09-27  Ian Lance Taylor  <iant@google.com>
11205
11206	* generic-morestack.h: New file.
11207	* generic-morestack.c: New file.
11208	* generic-morestack-thread.c: New file.
11209	* config/i386/morestack.S: New file.
11210	* config/t-stack: New file.
11211	* config/i386/t-stack-i386: New file.
11212	* config.host (i[34567]86-*-linux* and friends): Add t-stack and
11213	i386/t-stack-i386 to tmake_file.
11214
112152010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
11216
11217	* Makefile.in (libgcc-extra-parts):  Check for static archives and
11218	invoke ranlib after installing them.
11219	(gcc-extra-parts): Likewise.
11220	(install-leaf): Likewise.
11221
112222010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
11223
11224	* configure: Regenerated.
11225
112262010-09-10  Kai Tietz  <kai.tietz@onevision.com>
11227
11228	* configure: Regenerated.
11229
112302010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
11231	    Andrew Pinski  <pinskia@gmail.com>
11232
11233	PR target/40959
11234	* config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
11235
112362010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11237
11238	PR target/45524
11239	* configure: Regenerated.
11240
112412010-09-06  Andreas Schwab  <schwab@redhat.com>
11242
11243	* configure: Regenerate.
11244
112452010-09-03  Uros Bizjak  <ubizjak@gmail.com>
11246
11247	* config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11248	64bit targets.
11249	(__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11250	for 64bit targets.
11251
112522010-09-03  Uros Bizjak  <ubizjak@gmail.com>
11253	    Iain Sandoe  <iains@gcc.gnu.org>
11254
11255	PR target/45476
11256	* Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11257	LIB2FUNCS_EXCLUDE functions.
11258
112592010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11260
11261	* configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11262	Include dfp.m4.
11263	* configure: Regenerate.
11264
112652010-09-01  Uros Bizjak  <ubizjak@gmail.com>
11266
11267	* config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11268	i386/t-freebsd to tmake_file.
11269	* config/i386/t-freebsd: New file.
11270	* config/i386/libgcc-bsd.ver: New file.
11271
112722010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
11273
11274	* config.host (powerpc*-eabispe*): Set tmake_file.
11275	(powerpc*-eabi*): Likewise.
11276	* config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11277	crtbeginS, crtendS, crtbeginT.
11278
112792010-06-12  Kazu Hirata  <kazu@codesourcery.com>
11280
11281	* config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11282	to tmake_file.  Add crtfastmath.o to extra_parts.
11283	* config/mips/t-crtfm: New.
11284
112852010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
11286
11287	* config.host (sparc64-*-rtems*): New target.
11288
112892010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11290
11291	* config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11292	assembler syntax.
11293
112942010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
11295
11296	* config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
11297
112982010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11299
11300	* config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
11301	alpha-dec-osf5.0* support.
11302
113032010-04-01  Ralf Cors��pius  <ralf.corsepius@rtems.org>
11304
11305	* config.host: Add lm32-*-rtems*.
11306
113072010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11308	    Uros Bizjak  <ubizjak@gmail.com>
11309
11310	PR target/39048
11311	* config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
11312	like other remaining 32-bit x86 OSes.
11313	* config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11314	assembler syntax.
11315	* config/i386/libgcc-sol2.ver: New file.
11316	* config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
11317
113182010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
11319
11320	PR c/43553
11321	* Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
11322	* configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
11323	is used and substitute set_use_emutls.
11324	* configure: Regenerated.
11325
113262010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
11327
11328	* config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
11329
113302010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11331
11332	PR target/38085
11333	* config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
11334	MULTILIB_CFLAGS.
11335	($(T)gcrt1.o): Likewise.
11336	($(T)crt1.o): Likewise.
11337	($(T)crti.o): Likewise.
11338	($(T)crtn.o): Likewise.
11339
113402010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11341
11342	PR other/42980
11343	* Makefile.in (install): Use $(MAKE) string in rule, for
11344	parallel make.
11345
113462010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
11347
11348	Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
11349	* config/mmix/t-mmix: New file.
11350	* config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
11351
113522010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
11353
11354	PR java/41991
11355	* config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
11356	SHLIB_MAPFILES.
11357
113582010-01-04  Anthony Green  <green@moxielogic.com>
11359
11360	* config/moxie/crti.asm, config/moxie/crtn.asm,
11361	config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11362	config/moxie/t-moxie: New files.
11363	* config.host: Add t-moxie-softfp reference.
11364
113652009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
11366
11367	PR other/39888
11368	* config/t-slibgcc-darwin: Fix embedded rpaths for
11369	--enable-version-specific-runtime-libs, build extension stub
11370	libs exposing features available from current libgcc_s.
11371
113722009-11-11  Jon Beniston  <jon@beniston.com>
11373
11374	* config.host: Add lm32 targets.
11375	* config/lm32: New directory.
11376	* config/lm32/libgcc_lm32.h: New file.
11377	* config/lm32/_mulsi3.c: New file.
11378	* config/lm32/_udivmodsi4.c: New file.
11379	* config/lm32/_divsi3.c: New file.
11380	* config/lm32/_modsi3.c: New file.
11381	* config/lm32/_udivsi3.c: New file.
11382	* config/lm32/_umodsi3.c: New file.
11383	* config/lm32/_lshrsi3.S: New file.
11384	* config/lm32/_ashrsi3.S: New file.
11385	* config/lm32/_ashlsi3.S: New file.
11386	* config/lm32/crti.S: New file.
11387	* config/lm32/crtn.S: New file.
11388	* config/lm32/t-lm32: New file.
11389	* config/lm32/t-elf: New file.
11390	* config/lm32/t-uclinux: New file.
11391
113922009-10-26  Nick Clifton  <nickc@redhat.com>
11393
11394	* config.host: Add support for RX target.
11395	* config/rx: New directory.
11396	* config/rx/rx-abi-functions.c: New file. Supplementary
11397	functions for libgcc to support the RX ABI.
11398	* config/rx/rx-abi.h: New file.  Supplementary header file for
11399	libgcc RX ABI functions.
11400	* config/rx/t-rx: New file: Makefile fragment for building
11401	libgcc for the RX.
11402
114032009-10-09  Uros Bizjak  <ubizjak@gmail.com>
11404
11405	* config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11406	constraint of y0 to "g".
11407
114082009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11409
11410	* config.host: Include the s390 makefile fragments.
11411	* config/s390/32/_fixdfdi.c: New file.
11412	* config/s390/32/_fixsfdi.c: New file.
11413	* config/s390/32/_fixtfdi.c: New file.
11414	* config/s390/32/_fixunsdfdi.c: New file.
11415	* config/s390/32/_fixunssfdi.c: New file.
11416	* config/s390/32/_fixunstfdi.c: New file.
11417	* config/s390/32/t-floattodi: New file.
11418	* config/s390/libgcc-glibc.ver: New file.
11419	* config/s390/t-crtstuff: New file.
11420	* config/s390/t-linux: New file.
11421	* config/s390/t-tpf: New file.
11422
114232009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11424
11425	* configure.ac (AC_PREREQ): Bump to 2.64.
11426
114272009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
11428
11429	* config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11430
114312009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11432
11433	* configure: Regenerate.
11434
114352009-08-09  Douglas B Rupp  <rupp@gnat.com>
11436
11437	* config.host (ia64-hp-*vms*): New target.
11438	(alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11439	with ia64-hp-*vms*.
11440
114412009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11442
11443	* configure.ac: Add snippet for maintainer-mode.
11444	* configure: Regenerate.
11445	* Makefile.in (AUTOCONF, configure_deps): New variables.
11446	($(srcdir)/configure)): New rule, active only with maintainer
11447	mode turned on.
11448
114492009-06-23  DJ Delorie  <dj@redhat.com>
11450
11451	Add MeP port.
11452	* config.host: Add mep support.
11453
114542009-06-22  Kai Tietz  <kai.tietz@onevision.com>
11455
11456	* config.host: Add i386/${host_address}/t-fprules-softfp and
11457	t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
11458
11459	* config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11460	for mingw targets.
11461	* config/i386/64/_multc3.c: Likewise.
11462	* config/i386/64/_powitf2.c: Likewise.
11463	* config/i386/64/eqtf2.c: Likewise.
11464	* config/i386/64/getf2.c: Likewise.
11465	* config/i386/64/letf2.c: Likewise.
11466	* config/i386/64/letf2.c: Likewise.
11467	* config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11468	unsigned long long for x64 mingw targets.
11469	(_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11470	(_FP_I_TYPE): Define as long long for x64 mingw target.
11471
114722009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
11473
11474	* config.host (vax-*-linux*): New.
11475
114762009-05-31  Anthony Green  <green@moxielogic.com>
11477
11478	* config.host: Add moxie support.
11479	* config/moxie/t-moxie: New file.
11480
114812009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
11482
11483	* config.host: Add i386/${host_address}/t-fprules-softfp and
11484	t-softfp to tmake_file for i[34567]86-*-cygwin*.
11485
114862009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
11487
11488	* config.host: Add i386/${host_address}/t-fprules-softfp to
11489	tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11490
114912009-04-09  Nick Clifton  <nickc@redhat.com>
11492
11493	* config/ia64/tf-signs.c: Change copyright header to refer to
11494	version 3 of the GNU General Public License with version 3.1
11495	of the GCC Runtime Library Exception and to point readers at
11496	the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11497	web page.
11498	* config/i386/32/tf-signs.c: Likewise.
11499	* config/libbid/_addsub_dd.c: Likewise.
11500	* config/libbid/_addsub_sd.c: Likewise.
11501	* config/libbid/_addsub_td.c: Likewise.
11502	* config/libbid/_dd_to_df.c: Likewise.
11503	* config/libbid/_dd_to_di.c: Likewise.
11504	* config/libbid/_dd_to_sd.c: Likewise.
11505	* config/libbid/_dd_to_sf.c: Likewise.
11506	* config/libbid/_dd_to_si.c: Likewise.
11507	* config/libbid/_dd_to_td.c: Likewise.
11508	* config/libbid/_dd_to_tf.c: Likewise.
11509	* config/libbid/_dd_to_udi.c: Likewise.
11510	* config/libbid/_dd_to_usi.c: Likewise.
11511	* config/libbid/_dd_to_xf.c: Likewise.
11512	* config/libbid/_df_to_dd.c: Likewise.
11513	* config/libbid/_df_to_sd.c: Likewise.
11514	* config/libbid/_df_to_td.c: Likewise.
11515	* config/libbid/_di_to_dd.c: Likewise.
11516	* config/libbid/_di_to_sd.c: Likewise.
11517	* config/libbid/_di_to_td.c: Likewise.
11518	* config/libbid/_div_dd.c: Likewise.
11519	* config/libbid/_div_sd.c: Likewise.
11520	* config/libbid/_div_td.c: Likewise.
11521	* config/libbid/_eq_dd.c: Likewise.
11522	* config/libbid/_eq_sd.c: Likewise.
11523	* config/libbid/_eq_td.c: Likewise.
11524	* config/libbid/_ge_dd.c: Likewise.
11525	* config/libbid/_ge_sd.c: Likewise.
11526	* config/libbid/_ge_td.c: Likewise.
11527	* config/libbid/_gt_dd.c: Likewise.
11528	* config/libbid/_gt_sd.c: Likewise.
11529	* config/libbid/_gt_td.c: Likewise.
11530	* config/libbid/_isinfd128.c: Likewise.
11531	* config/libbid/_isinfd32.c: Likewise.
11532	* config/libbid/_isinfd64.c: Likewise.
11533	* config/libbid/_le_dd.c: Likewise.
11534	* config/libbid/_le_sd.c: Likewise.
11535	* config/libbid/_le_td.c: Likewise.
11536	* config/libbid/_lt_dd.c: Likewise.
11537	* config/libbid/_lt_sd.c: Likewise.
11538	* config/libbid/_lt_td.c: Likewise.
11539	* config/libbid/_mul_dd.c: Likewise.
11540	* config/libbid/_mul_sd.c: Likewise.
11541	* config/libbid/_mul_td.c: Likewise.
11542	* config/libbid/_ne_dd.c: Likewise.
11543	* config/libbid/_ne_sd.c: Likewise.
11544	* config/libbid/_ne_td.c: Likewise.
11545	* config/libbid/_sd_to_dd.c: Likewise.
11546	* config/libbid/_sd_to_df.c: Likewise.
11547	* config/libbid/_sd_to_di.c: Likewise.
11548	* config/libbid/_sd_to_sf.c: Likewise.
11549	* config/libbid/_sd_to_si.c: Likewise.
11550	* config/libbid/_sd_to_td.c: Likewise.
11551	* config/libbid/_sd_to_tf.c: Likewise.
11552	* config/libbid/_sd_to_udi.c: Likewise.
11553	* config/libbid/_sd_to_usi.c: Likewise.
11554	* config/libbid/_sd_to_xf.c: Likewise.
11555	* config/libbid/_sf_to_dd.c: Likewise.
11556	* config/libbid/_sf_to_sd.c: Likewise.
11557	* config/libbid/_sf_to_td.c: Likewise.
11558	* config/libbid/_si_to_dd.c: Likewise.
11559	* config/libbid/_si_to_sd.c: Likewise.
11560	* config/libbid/_si_to_td.c: Likewise.
11561	* config/libbid/_td_to_dd.c: Likewise.
11562	* config/libbid/_td_to_df.c: Likewise.
11563	* config/libbid/_td_to_di.c: Likewise.
11564	* config/libbid/_td_to_sd.c: Likewise.
11565	* config/libbid/_td_to_sf.c: Likewise.
11566	* config/libbid/_td_to_si.c: Likewise.
11567	* config/libbid/_td_to_tf.c: Likewise.
11568	* config/libbid/_td_to_udi.c: Likewise.
11569	* config/libbid/_td_to_usi.c: Likewise.
11570	* config/libbid/_td_to_xf.c: Likewise.
11571	* config/libbid/_tf_to_dd.c: Likewise.
11572	* config/libbid/_tf_to_sd.c: Likewise.
11573	* config/libbid/_tf_to_td.c: Likewise.
11574	* config/libbid/_udi_to_dd.c: Likewise.
11575	* config/libbid/_udi_to_sd.c: Likewise.
11576	* config/libbid/_udi_to_td.c: Likewise.
11577	* config/libbid/_unord_dd.c: Likewise.
11578	* config/libbid/_unord_sd.c: Likewise.
11579	* config/libbid/_unord_td.c: Likewise.
11580	* config/libbid/_usi_to_dd.c: Likewise.
11581	* config/libbid/_usi_to_sd.c: Likewise.
11582	* config/libbid/_usi_to_td.c: Likewise.
11583	* config/libbid/_xf_to_dd.c: Likewise.
11584	* config/libbid/_xf_to_sd.c: Likewise.
11585	* config/libbid/_xf_to_td.c: Likewise.
11586	* config/libbid/bid128.c: Likewise.
11587	* config/libbid/bid128_2_str.h: Likewise.
11588	* config/libbid/bid128_2_str_macros.h: Likewise.
11589	* config/libbid/bid128_2_str_tables.c: Likewise.
11590	* config/libbid/bid128_add.c: Likewise.
11591	* config/libbid/bid128_compare.c: Likewise.
11592	* config/libbid/bid128_div.c: Likewise.
11593	* config/libbid/bid128_fma.c: Likewise.
11594	* config/libbid/bid128_logb.c: Likewise.
11595	* config/libbid/bid128_minmax.c: Likewise.
11596	* config/libbid/bid128_mul.c: Likewise.
11597	* config/libbid/bid128_next.c: Likewise.
11598	* config/libbid/bid128_noncomp.c: Likewise.
11599	* config/libbid/bid128_quantize.c: Likewise.
11600	* config/libbid/bid128_rem.c: Likewise.
11601	* config/libbid/bid128_round_integral.c: Likewise.
11602	* config/libbid/bid128_scalb.c: Likewise.
11603	* config/libbid/bid128_sqrt.c: Likewise.
11604	* config/libbid/bid128_string.c: Likewise.
11605	* config/libbid/bid128_to_int16.c: Likewise.
11606	* config/libbid/bid128_to_int32.c: Likewise.
11607	* config/libbid/bid128_to_int64.c: Likewise.
11608	* config/libbid/bid128_to_int8.c: Likewise.
11609	* config/libbid/bid128_to_uint16.c: Likewise.
11610	* config/libbid/bid128_to_uint32.c: Likewise.
11611	* config/libbid/bid128_to_uint64.c: Likewise.
11612	* config/libbid/bid128_to_uint8.c: Likewise.
11613	* config/libbid/bid32_to_bid128.c: Likewise.
11614	* config/libbid/bid32_to_bid64.c: Likewise.
11615	* config/libbid/bid64_add.c: Likewise.
11616	* config/libbid/bid64_compare.c: Likewise.
11617	* config/libbid/bid64_div.c: Likewise.
11618	* config/libbid/bid64_fma.c: Likewise.
11619	* config/libbid/bid64_logb.c: Likewise.
11620	* config/libbid/bid64_minmax.c: Likewise.
11621	* config/libbid/bid64_mul.c: Likewise.
11622	* config/libbid/bid64_next.c: Likewise.
11623	* config/libbid/bid64_noncomp.c: Likewise.
11624	* config/libbid/bid64_quantize.c: Likewise.
11625	* config/libbid/bid64_rem.c: Likewise.
11626	* config/libbid/bid64_round_integral.c: Likewise.
11627	* config/libbid/bid64_scalb.c: Likewise.
11628	* config/libbid/bid64_sqrt.c: Likewise.
11629	* config/libbid/bid64_string.c: Likewise.
11630	* config/libbid/bid64_to_bid128.c: Likewise.
11631	* config/libbid/bid64_to_int16.c: Likewise.
11632	* config/libbid/bid64_to_int32.c: Likewise.
11633	* config/libbid/bid64_to_int64.c: Likewise.
11634	* config/libbid/bid64_to_int8.c: Likewise.
11635	* config/libbid/bid64_to_uint16.c: Likewise.
11636	* config/libbid/bid64_to_uint32.c: Likewise.
11637	* config/libbid/bid64_to_uint64.c: Likewise.
11638	* config/libbid/bid64_to_uint8.c: Likewise.
11639	* config/libbid/bid_b2d.h: Likewise.
11640	* config/libbid/bid_binarydecimal.c: Likewise.
11641	* config/libbid/bid_conf.h: Likewise.
11642	* config/libbid/bid_convert_data.c: Likewise.
11643	* config/libbid/bid_decimal_data.c: Likewise.
11644	* config/libbid/bid_decimal_globals.c: Likewise.
11645	* config/libbid/bid_div_macros.h: Likewise.
11646	* config/libbid/bid_dpd.c: Likewise.
11647	* config/libbid/bid_flag_operations.c: Likewise.
11648	* config/libbid/bid_from_int.c: Likewise.
11649	* config/libbid/bid_functions.h: Likewise.
11650	* config/libbid/bid_gcc_intrinsics.h: Likewise.
11651	* config/libbid/bid_inline_add.h: Likewise.
11652	* config/libbid/bid_internal.h: Likewise.
11653	* config/libbid/bid_round.c: Likewise.
11654	* config/libbid/bid_sqrt_macros.h: Likewise.
11655
116562009-04-09  Jakub Jelinek  <jakub@redhat.com>
11657
11658	* Makefile.in: Change copyright header to refer to version
11659	3 of the GNU General Public License and to point readers at the
11660	COPYING3 file and the FSF's license web page.
11661	* config.host: Likewise.
11662
116632009-04-07  Alan Modra  <amodra@bigpond.net.au>
11664
11665	* config.host: Reorder and merge to match config.gcc change.
11666
116672009-04-03  Alan Modra  <amodra@bigpond.net.au>
11668
11669	* config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11670
116712009-03-28  Joseph Myers  <joseph@codesourcery.com>
11672
11673	* config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11674	armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11675	m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11676	powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11677
116782009-02-12  Uros Bizjak  <ubizjak@gmail.com>
11679
11680	* config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11681	* config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11682
116832009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
11684
11685	* config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11686	ia64/t-softfp-compat to tmake_file.
11687
11688	* Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11689
11690	* config/ia64/__divxf3.asm: New.
11691	* config/ia64/_fixtfdi.asm: Likewise.
11692	* config/ia64/_fixunstfdi.asm: Likewise.
11693	* config/ia64/_floatditf.asm: Likewise.
11694	* config/ia64/t-fprules-softfp: Likewise.
11695	* config/ia64/t-softfp-compat: Likewise.
11696	* config/ia64/tf-signs.c: Likewise.
11697
116982009-01-18  Ben Elliston  <bje@au.ibm.com>
11699
11700	* config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11701
117022009-01-16  Ben Elliston  <bje@au.ibm.com>
11703
11704	* config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11705	to tmake_file.
11706
117072009-01-13  Ben Elliston  <bje@au.ibm.com>
11708
11709	* config/t-softfp: New file.
11710	* config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11711	(powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11712
117132009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
11714
11715	* config.host: Add m32r*-*-rtems*.
11716
117172008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
11718
11719	* config.host: Add m32c*-*-rtems*.
11720
117212008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11722
11723	PR bootstrap/33100
11724	* configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11725	i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11726	* configure: Regenerate.
11727	* config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11728	tmake_file here from gcc/config.gcc.
11729	Move extra_parts here from gcc/config.gcc.
11730	* config/i386/t-sol2: Move here from gcc/config/i386.
11731	Use gcc_srcdir instead of srcdir.
11732
117332008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
11734
11735	* config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11736	case.
11737
117382008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
11739
11740	* config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11741
117422008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
11743
11744	* config.host: Fold `*-*-gnu*' cases into the Linux ones.
11745
117462008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
11747
11748	Add picoChip port.
11749	* config.host: Add picochip-*-*.
11750
117512008-08-06  Bob Wilson  <bob.wilson@acm.org>
11752
11753	* config.host: Match more processor names for Xtensa.
11754
117552008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
11756
11757	* config/i386/64/t-softfp-compat: Update comments.
11758
117592008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11760
11761	* config/i386/64/_divtc3-compat.c: Moved to ...
11762	* config/i386/64/_divtc3.c: Here.
11763
11764	* config/i386/64/_multc3-compat.c: Moved to ...
11765	* config/i386/64/_multc3.c: Here.
11766
11767	* config/i386/64/_powitf2-compat.c: Moved to ...
11768	* config/i386/64/_powitf2.c: Here.
11769
11770	* config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11771	.c suffix instead of -compat.c.
11772
117732008-07-05  Uros Bizjak  <ubizjak@gmail.com>
11774
11775	* config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11776	(_FP_MUL_MEAT_D): Ditto.
11777	(_FP_DIV_MEAT_S): Ditto.
11778	(_FP_DIV_MEAT_D): Ditto.
11779
117802008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
11781
11782	* Makefile.in: Add support for __sync_* libgcc functions.
11783
117842008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
11785
11786	* shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11787
117882008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11789
11790	PR boostrap/36702
11791	* config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11792	and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
11793
11794	* config/i386/64/t-fprules-softfp: Moved to ...
11795	* config/i386/64/t-softfp-compat: This.  New.
11796
117972008-07-02  Uros Bizjak  <ubizjak@gmail.com>
11798
11799	* config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11800	Initialize f with 0.0.
11801
118022008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11803
11804	PR target/36669
11805	* shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11806
11807	* config/i386/64/_divtc3-compat.c: New.
11808	* config/i386/64/_multc3-compat.c: Likewise.
11809	* config/i386/64/_powitf2-compat.c: Likewise.
11810	* config/i386/64/eqtf2.c: Likewise.
11811	* config/i386/64/getf2.c: Likewise.
11812	* config/i386/64/letf2.c: Likewise.
11813	* config/i386/64/t-fprules-softfp: Likewise.
11814
118152008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11816
11817	* config.host: Add i386/${host_address}/t-fprules-softfp to
11818	tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
11819	i[34567]86-*-linux*, x86_64-*-linux*.
11820
11821	* configure.ac: Set host_address to 64 or 32 for x86.
11822	* configure: Regenerated.
11823
11824	* Makefile.in (config.status): Also depend on
11825	$(srcdir)/config.host.
11826
11827	* config/i386/32/t-fprules-softfp: New.
11828	* config/i386/32/tf-signs.c: Likewise.
11829
11830	* config/i386/64/sfp-machine.h: New. Moved from gcc.
11831
118322008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11833	    Uros Bizjak  <ubizjak@gmail.com>
11834
11835	* config/i386/32/sfp-machine.h: New.
11836
118372008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
11838
11839	* config/rs6000/t-ppccomm: Remove rules that conflict with
11840	auto-generated rules.
11841
118422008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11843
11844	* configure.ac: sinclude override.m4.
11845	* configure: Regenerate.
11846
118472008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
11848
11849	* configure: Regenerate.
11850
118512008-06-10  Joseph Myers  <joseph@codesourcery.com>
11852
11853	* Makefile.in (DECNUMINC): Remove
11854	-I$(MULTIBUILDTOP)../../libdecnumber.
11855	* gstdint.h: New.
11856
118572008-06-07  Joseph Myers  <joseph@codesourcery.com>
11858
11859	* config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11860	parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11861	alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11862	arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11863	hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11864	i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11865	i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11866	i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11867	i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11868	mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11869	powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11870	powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11871	strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11872	vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11873
118742008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
11875
11876	* config.host (sh2[lbe]*-*-linux*): Allow target.
11877
118782008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
11879
11880	* config/rs6000/t-ppccomm: Add build rules for new files.
11881	(LIB2ADD_ST): New variable.
11882
118832008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
11884
11885	PR target/34210
11886	PR target/35508
11887	* config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11888	* config/t-avr: New file. Build 16bit libgcc functions.
11889
118902008-03-02  Jakub Jelinek  <jakub@redhat.com>
11891
11892	PR target/35401
11893	* config/t-slibgcc-darwin: Make install-leaf dependent on
11894	install-darwin-libgcc-stubs instead of install.
11895
118962008-01-25  Joseph Myers  <joseph@codesourcery.com>
11897
11898	* config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11899	tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11900	sh-*-rtemscoff*): Remove cases.
11901
119022007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
11903
11904	* Makefile.in (all): Use install-leaf rather than install.
11905	(install): Split most of the rule into...
11906	(install-leaf): ...this new one.
11907
119082007-12-19  Etsushi Kato  <ek.kato@gmail.com>
11909	    Paolo Bonzini  <bonzini@gnu.org>
11910
11911	PR target/30572
11912	* Makefile.in: Use @shlib_slibdir@ substitution to get
11913	correct install name on darwin.
11914	* config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
11915
119162007-12-15  Hans-Peter Nilsson  <hp@axis.com>
11917
11918	* config.host (crisv32-*-elf, crisv32-*-none): New, same as
11919	cris-*-elf and cris-*-none.
11920	(crisv32-*-linux*): Similar, as cris-*-linux*.
11921
119222007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
11923
11924	* config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11925
119262007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
11927
11928	PR regression/33926
11929	* configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11930	* configure: Regenerated.
11931
119322007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
11933
11934	* Makefile.in (dfp-filenames): Replace decimal_globals,
11935	decimal_data, binarydecimal and convert_data with
11936	bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11937	and bid_convert_data, respectively.
11938
119392007-09-17  Chao-ying Fu  <fu@mips.com>
11940	    Nigel Stephens  <nigel@mips.com>
11941
11942	* fixed-obj.mk: New file to support fine-grain fixed-point functions.
11943	* Makefile.in (fixed_point): Define.
11944	Check if fixed_point is yes to build support functions.
11945	* configure.ac: Check for fixed_point support.
11946	* configure: Regenerated.
11947	* gen-fixed.sh: New file to generate lists of fixed-point labels,
11948	funcs, modes, from, to.
11949
119502007-09-11  Janis Johnson  <janis187@us.ibm.com
11951
11952	* Makefile.in (dfp-filenames): Add bid128_noncomp.
11953
119542007-09-10  Janis Johnson  <janis187@us.ibm.com>
11955
11956	* Makefile.in (dfp-filenames): Remove decUtility, add
11957	decDouble, decPacked, decQuad, decSingle.
11958
119592007-08-27  Hans Kester  <hans.kester@ellips.nl>
11960
11961	* config.host : Add x86_64-elf target.
11962
119632007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
11964
11965	* configure.ac (set_have_cc_tls): Add a missing =.
11966	* configure: Regenerated.
11967
119682007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
11969
11970	* config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11971	and x86_64-*-linux*.
11972
11973	* config/t-tls: New file.
11974
11975	* Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
11976
11977	* configure.ac: Include ../config/enable.m4 and
11978	../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
11979	supports TLS and substitute set_have_cc_tls.
11980	* configure: Regenerated.
11981
119822007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
11983
11984	* Makefile.in: Use libbid for DFP when BID is enabled.
11985
119862007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
11987
11988	* config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
11989	extra_parts. Add config/i386/t-cygming to tmake_file.
11990	* config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11991
119922007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
11993	    Danny Smith  <dannysmith@users.sourceforge.net>
11994
11995	PR target/29498
11996	* config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11997	crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
11998	* config/i386/t-crtfm: Compile crtfastmath.o with
11999	-minline-all-stringops.
12000
120012007-05-10  Richard Sandiford  <richard@codesourcery.com>
12002
12003	* config.host (sparc-wrs-vxworks): New target.
12004
120052007-04-14  Kazu Hirata  <kazu@codesourcery.com>
12006
12007	* config.host: Recognize fido.
12008
120092007-04-04  Janis Johnson  <janis187@us.ibm.com>
12010
12011	* configure: Check host, not target, for decimal float support.
12012
120132007-04-03  Uros Bizjak  <ubizjak@gmail.com>
12014
12015	* config/i386/t-crtpc: New file.
12016	* config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
12017	(x86_64-*-linux*): Ditto.
12018
120192007-02-30  Kai Tietz  <kai.tietz@onevision.com>
12020
12021	* config.host (x86_64-*-mingw*): New target.
12022
120232007-03-23  Michael Meissner  <michael.meissner@amd.com>
12024	    H.J. Lu  <hongjiu.lu@intel.com>
12025
12026	* Makefile.in (enable_decimal_float): New.
12027	(DECNUMINC): Add
12028	-I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12029	(dec-objects): Move decimal32, decimal64 and decimal128 to ...
12030	(decbits-filenames): This.
12031	(decbits-objects): New.
12032	(libgcc-objects): Add $(decbits-objects).
12033
12034	* configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12035	Substitute enable_decimal_float.
12036	* configure: Regenerated.
12037
120382007-03-19  Hans-Peter Nilsson  <hp@axis.com>
12039
12040	* config.host (cris-*-elf | cris-*-none): Set extra_parts.
12041
120422007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
12043
12044	* Makefile.in (install-info): New dummy target.
12045
120462007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
12047
12048	* config.host (bfin*-linux-uclibc*): Set extra_parts.
12049
120502007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
12051
12052	* Makefile.in: Add install-html and install-pdf dummy
12053	targets.
12054
120552007-02-05  Roger Sayle  <roger@eyesopen.com>
12056	    Daniel Jacobowitz  <dan@codesourcery.com>
12057
12058	* Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12059	(libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12060	(libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12061
120622007-01-29  Janis Johnson  <janis187@us.ibm.com>
12063
12064	* Makefile.in (dec-filenames): Add decExcept.
12065
120662007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
12067
12068	PR bootstrap/30469
12069	* Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12070	-fprofile-use.
12071
120722007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
12073
12074	* configure.ac: Add --enable-version-specific-runtime-libs.
12075	Correct $slibdir default.
12076	* configure: Regenerated.
12077
120782007-01-23  Joseph Myers  <joseph@codesourcery.com>
12079
12080	* config/rs6000/t-ldbl128: Always use -mlong-double-128.
12081
120822007-01-21  Andrew Pinski  <pinskia@gmail.com>
12083
12084	PR target/30519
12085	* config.host (alpha*-*-linux*): Set extra_parts.
12086
120872007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
12088
12089	* config/sh/t-linux: New.
12090	* config.host (sh*-*-linux*): Set tmake_file.
12091
120922007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
12093
12094	* Makefile.in (install): Handle multilibs.
12095
120962007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
12097
12098	* Makefile.in: Added .PHONY entry for documentation targets.
12099
121002007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
12101
12102	* Makefile.in: Add empty info, html, dvi, pdf targets.
12103
121042007-01-04  Mike Stump  <mrs@apple.com>
12105
12106	* Makefile.in (MAKEINFO): Remove.
12107	(PERL): Likewise.
12108
121092007-01-04  Paolo Bonzini  <bonzini@gnu.org>
12110
12111	* configure.ac: Add GCC_TOPLEV_SUBDIRS.
12112	* configure: Regenerate.
12113	* Makefile.in (host_subdir): Substitute it.
12114	(gcc_objdir): Use it.
12115
121162007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
12117
12118	* config.host (ia64*-*-linux*): Set tmake_file.
12119
121202007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
12121
12122	* Makefile.in (version): Define.
12123
121242007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
12125	    Paolo Bonzini  <bonzini@gnu.org>
12126
12127	* Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12128	config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12129	config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12130	config/sparc/t-crtfm, config/t-slibgcc-darwin,
12131	config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12132	shared-object.mk, siditi-object.mk, static-object.mk: New files.
12133	* configure: Generated.
12134
12135Copyright (C) 2007-2022 Free Software Foundation, Inc.
12136
12137Copying and distribution of this file, with or without modification,
12138are permitted in any medium without royalty provided the copyright
12139notice and this notice are preserved.
12140