ac76f7dc365755da5a290b15bba613b830e58eb7
[platform/upstream/gcc.git] / libgcc / ChangeLog
1 2022-08-26  Martin Liska  <mliska@suse.cz>
2
3         * config.host: Remove cr16 related stuff.
4         * config/cr16/crti.S: Removed.
5         * config/cr16/crtlibid.S: Removed.
6         * config/cr16/crtn.S: Removed.
7         * config/cr16/divmodhi3.c: Removed.
8         * config/cr16/lib1funcs.S: Removed.
9         * config/cr16/t-cr16: Removed.
10         * config/cr16/t-crtlibid: Removed.
11         * config/cr16/unwind-cr16.c: Removed.
12         * config/cr16/unwind-dw2.h: Removed.
13
14 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
15
16         * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
17         (_FP_NANFRAC_H): Ditto.
18         (_FP_NANSIGN_H): Ditto.
19         * config/riscv/t-softfp32 (softfp_extensions): Add HF related
20         routines.
21         (softfp_truncations): Ditto.
22         (softfp_extras): Ditto.
23         * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
24
25 2022-08-16  Kito Cheng  <kito.cheng@sifive.com>
26
27         * soft-fp/fixhfdi.c: New.
28         * soft-fp/fixhfsi.c: Likewise.
29         * soft-fp/fixunshfdi.c: Likewise.
30         * soft-fp/fixunshfsi.c: Likewise.
31         * soft-fp/floatdihf.c: Likewise.
32         * soft-fp/floatsihf.c: Likewise.
33         * soft-fp/floatundihf.c: Likewise.
34         * soft-fp/floatunsihf.c: Likewise.
35         * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
36         lines and update URL for license.
37         * soft-fp/addsf3.c: Likewise.
38         * soft-fp/addtf3.c: Likewise.
39         * soft-fp/divdf3.c: Likewise.
40         * soft-fp/divsf3.c: Likewise.
41         * soft-fp/divtf3.c: Likewise.
42         * soft-fp/double.h: Likewise.
43         * soft-fp/eqdf2.c: Likewise.
44         * soft-fp/eqhf2.c: Likewise.
45         * soft-fp/eqsf2.c: Likewise.
46         * soft-fp/eqtf2.c: Likewise.
47         * soft-fp/extenddftf2.c: Likewise.
48         * soft-fp/extended.h: Likewise.
49         * soft-fp/extendhfdf2.c: Likewise.
50         * soft-fp/extendhfsf2.c: Likewise.
51         * soft-fp/extendhftf2.c: Likewise.
52         * soft-fp/extendhfxf2.c: Likewise.
53         * soft-fp/extendsfdf2.c: Likewise.
54         * soft-fp/extendsftf2.c: Likewise.
55         * soft-fp/extendxftf2.c: Likewise.
56         * soft-fp/fixdfdi.c: Likewise.
57         * soft-fp/fixdfsi.c: Likewise.
58         * soft-fp/fixdfti.c: Likewise.
59         * soft-fp/fixhfti.c: Likewise.
60         * soft-fp/fixsfdi.c: Likewise.
61         * soft-fp/fixsfsi.c: Likewise.
62         * soft-fp/fixsfti.c: Likewise.
63         * soft-fp/fixtfdi.c: Likewise.
64         * soft-fp/fixtfsi.c: Likewise.
65         * soft-fp/fixtfti.c: Likewise.
66         * soft-fp/fixunsdfdi.c: Likewise.
67         * soft-fp/fixunsdfsi.c: Likewise.
68         * soft-fp/fixunsdfti.c: Likewise.
69         * soft-fp/fixunshfti.c: Likewise.
70         * soft-fp/fixunssfdi.c: Likewise.
71         * soft-fp/fixunssfsi.c: Likewise.
72         * soft-fp/fixunssfti.c: Likewise.
73         * soft-fp/fixunstfdi.c: Likewise.
74         * soft-fp/fixunstfsi.c: Likewise.
75         * soft-fp/fixunstfti.c: Likewise.
76         * soft-fp/floatdidf.c: Likewise.
77         * soft-fp/floatdisf.c: Likewise.
78         * soft-fp/floatditf.c: Likewise.
79         * soft-fp/floatsidf.c: Likewise.
80         * soft-fp/floatsisf.c: Likewise.
81         * soft-fp/floatsitf.c: Likewise.
82         * soft-fp/floattidf.c: Likewise.
83         * soft-fp/floattihf.c: Likewise.
84         * soft-fp/floattisf.c: Likewise.
85         * soft-fp/floattitf.c: Likewise.
86         * soft-fp/floatundidf.c: Likewise.
87         * soft-fp/floatundisf.c: Likewise.
88         * soft-fp/floatunditf.c: Likewise.
89         * soft-fp/floatunsidf.c: Likewise.
90         * soft-fp/floatunsisf.c: Likewise.
91         * soft-fp/floatunsitf.c: Likewise.
92         * soft-fp/floatuntidf.c: Likewise.
93         * soft-fp/floatuntihf.c: Likewise.
94         * soft-fp/floatuntisf.c: Likewise.
95         * soft-fp/floatuntitf.c: Likewise.
96         * soft-fp/gedf2.c: Likewise.
97         * soft-fp/gesf2.c: Likewise.
98         * soft-fp/getf2.c: Likewise.
99         * soft-fp/half.h: Likewise.
100         * soft-fp/ledf2.c: Likewise.
101         * soft-fp/lesf2.c: Likewise.
102         * soft-fp/letf2.c: Likewise.
103         * soft-fp/muldf3.c: Likewise.
104         * soft-fp/mulsf3.c: Likewise.
105         * soft-fp/multf3.c: Likewise.
106         * soft-fp/negdf2.c: Likewise.
107         * soft-fp/negsf2.c: Likewise.
108         * soft-fp/negtf2.c: Likewise.
109         * soft-fp/op-1.h: Likewise.
110         * soft-fp/op-2.h: Likewise.
111         * soft-fp/op-4.h: Likewise.
112         * soft-fp/op-8.h: Likewise.
113         * soft-fp/op-common.h: Likewise.
114         * soft-fp/quad.h: Likewise.
115         * soft-fp/single.h: Likewise.
116         * soft-fp/soft-fp.h: Likewise.
117         * soft-fp/subdf3.c: Likewise.
118         * soft-fp/subsf3.c: Likewise.
119         * soft-fp/subtf3.c: Likewise.
120         * soft-fp/truncdfhf2.c: Likewise.
121         * soft-fp/truncdfsf2.c: Likewise.
122         * soft-fp/truncsfhf2.c: Likewise.
123         * soft-fp/trunctfdf2.c: Likewise.
124         * soft-fp/trunctfhf2.c: Likewise.
125         * soft-fp/trunctfsf2.c: Likewise.
126         * soft-fp/trunctfxf2.c: Likewise.
127         * soft-fp/truncxfhf2.c: Likewise.
128         * soft-fp/unorddf2.c: Likewise.
129         * soft-fp/unordsf2.c: Likewise.
130         * soft-fp/unordtf2.c: Likewise.
131
132 2022-07-18  Claudiu Zissulescu  <claziss@synopsys.com>
133
134         * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
135         * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
136         configurations.
137
138 2022-06-25  Jeff Law  <jeffreyalaw@gmail.com>
139
140         * config.host: Removed tilegx and tilepro entries.
141         * config/tilegx/sfp-machine.h: Removed.
142         * config/tilegx/sfp-machine32.h: Removed.
143         * config/tilegx/sfp-machine64.h: Removed.
144         * config/tilegx/t-crtstuff: Removed.
145         * config/tilegx/t-softfp: Removed.
146         * config/tilegx/t-tilegx: Removed.
147         * config/tilepro/atomic.c: Removed.
148         * config/tilepro/atomic.h: Removed.
149         * config/tilepro/linux-unwind.h: Removed.
150         * config/tilepro/sfp-machine.h: Removed.
151         * config/tilepro/softdivide.c: Removed.
152         * config/tilepro/softmpy.S: Removed.
153         * config/tilepro/t-crtstuff: Removed.
154         * config/tilepro/t-tilepro: Removed.
155
156 2022-06-09  Takayuki 'January June' Suwa  <jjsuwa_sys3175@yahoo.co.jp>
157
158         * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
159         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
160
161 2022-06-01  H.J. Lu  <hjl.tools@gmail.com>
162
163         PR libgcc/27576
164         * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
165
166 2022-05-25  Wilco Dijkstra  <wilco.dijkstra@arm.com>
167
168         PR libgcc/105708
169         * config/aarch64/lse-init.c: Increase constructor priority.
170
171 2022-05-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
172
173         PR target/104689
174         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
175         Handle the !REG_UNSAVED case.
176         * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
177
178 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
179
180         * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
181         (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
182         (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
183
184 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
185
186         * config.host: Add t-dfprules to AArch64 targets.
187
188 2022-05-20  Christophe Lyon  <christophe.lyon@arm.com>
189
190         * configure: Regenerate.
191
192 2022-05-13  Sebastian Pop  <spop@amazon.com>
193
194         PR target/105162
195         * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
196         * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
197
198 2022-05-10  Martin Liska  <mliska@suse.cz>
199             Hans-Peter Helfert  <peter-helfert@t-online.de>
200
201         PR gcov-profile/105535
202         * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
203         n_functions.
204
205 2022-05-02  Martin Liska  <mliska@suse.cz>
206
207         * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
208
209 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
210
211         * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
212         (gcov_profile_merge_stream): Likewise.
213
214 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
215
216         * libgcov-util.c (consume_stream): New.
217         (get_target_profiles_for_merge): Likewise.
218         (gcov_profile_merge_stream): Likewise.
219
220 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
221
222         * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
223
224 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
225
226         * libgcov-util.c (read_gcda_file): Do not open file.
227         (ftw_read_file): Open file here.
228
229 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
230
231         * libgcov-util.c (read_gcda_file): Prepend new info object to global
232         list.
233         (ftw_read_file): Remove list append here.
234
235 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
236
237         * libgcov-util.c (read_gcda_file): Do not duplicate filename.
238         (ftw_read_file): Duplicate filename for read_gcda_file().
239
240 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
241
242         * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
243         (__gcov_filename_to_gcfn): Declare and document.
244         * libgcov-driver.c (dump_string): New.
245         (__gcov_filename_to_gcfn): Likewise.
246         (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
247
248 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
249
250         * libgcov.h (gcov_seek): Remove define and declaration.
251
252 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
253
254         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
255         parameter.  Pass mode to gcov_open() calls.
256         * libgcov-driver.c (dump_one_gcov):  Add mode parameter.  Pass mode to
257         gcov_exit_open_gcda_file() call.
258         (gcov_do_dump): Add mode parameter.  Pass mode to dump_one_gcov()
259         calls.
260         (__gcov_dump_one):  Open file for reading and writing.
261
262 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
263
264         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
265         reading and writing.
266         * libgcov-util.c (read_gcda_file): Open file for reading.
267         * libgcov.h (gcov_open): Delete declaration.
268
269 2022-04-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
270
271         * libgcov-util.c (gcov_profile_merge): Return the list of merged
272         profiles.  Accept empty target and source profile lists.
273
274 2022-04-08  Sergei Trofimovich  <siarheit@google.com>
275
276         * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
277
278 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
279             Lulu Cheng  <chenglulu@loongson.cn>
280
281         * configure: Regenerate file.
282
283 2022-03-29  Chenghua Xu  <xuchenghua@loongson.cn>
284             Lulu Cheng  <chenglulu@loongson.cn>
285
286         * config/loongarch/crtfastmath.c: New file.
287         * config/loongarch/linux-unwind.h: Like wise.
288         * config/loongarch/sfp-machine.h: Like wise.
289         * config/loongarch/t-crtstuff: Like wise.
290         * config/loongarch/t-loongarch: Like wise.
291         * config/loongarch/t-loongarch64: Like wise.
292         * config/loongarch/t-softfp-tf: Like wise.
293         * config.host: Add LoongArch tuples.
294         * configure.ac: Add LoongArch support.
295
296 2022-03-19  Sergei Trofimovich  <slyfox at gentoo dot org>
297
298         PR libgcc/86224
299         * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
300         for __mulsi3.
301         (__udivsi3_internal, __divsi3_internal): Similarly.
302         (__umodsi3, __modsi3): Use the internal function names.
303
304 2022-03-09  Tobias Burnus  <tobias@codesourcery.com>
305
306         PR target/102215
307         * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
308         a line up to non-arg-dependent value first.
309         (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
310         __atomic_compare_exchange_{1,2}.
311
312 2022-03-04  Iain Sandoe  <iain@sandoe.co.uk>
313
314         * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
315         * config/t-darwin-ehs: Add dependency on unwind.h.
316
317 2022-02-24  Xi Ruoyao  <xry111@mengyan1223.wang>
318
319         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
320         with 0 instead of NULL.
321
322 2022-02-24  Jose E. Marchesi  <jose.marchesi@oracle.com>
323
324         PR target/104656
325         * configure.ac: --disable-gcov if targetting bpf-*.
326         * configure: Regenerate.
327
328 2022-01-25  Florian Weimer  <fweimer@redhat.com>
329
330         PR libgcc/104207
331         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
332
333 2022-01-17  Martin Liska  <mliska@suse.cz>
334
335         * libgcov-driver.c: Rename .c names to .cc.
336
337 2022-01-15  David  <gccbugzilla@limegreensocks.com>
338
339         * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
340         Remove inlined version, Windows 95 is no longer relevant.
341         * config/i386/gthr-win32.h
342         (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
343
344 2022-01-14  Claudiu Zissulescu  <claziss@synopsys.com>
345
346         * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
347         DWARF_ALT_FRAME_RETURN_COLUMN macro.
348
349 2022-01-04  Florian Weimer  <fweimer@redhat.com>
350
351         * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
352         if available.
353
354 2022-01-02  John David Anglin  <danglin@gcc.gnu.org>
355
356         * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
357         (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
358         return is not equal _ASM_EFAULT.
359         (__kernel_cmpxchg2): Likewise.
360
361 2021-12-17  Iain Sandoe  <iain@sandoe.co.uk>
362
363         * config.host: Add shim declaration header to powerpc*-darwin builds.
364         * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
365         file.
366         * config/t-darwin-ehs: Add dependencies to the shared unwinder
367         objects.
368         * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
369         the shared EH lib.  Add all-multi to the dependencies for the
370         libgcc_s.1.dylib redirections.
371
372 2021-12-13  Olivier Hainque  <hainque@adacore.com>
373
374         * config.host (powerpc*-*-vxworks7*): Remove
375         rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
376
377 2021-12-13  Olivier Hainque  <hainque@adacore.com>
378
379         * config.host (*vxworks*): Remove special case for
380         arm on the use of vxcrtstuff.
381
382 2021-12-13  Fred Konrad  <konrad@adacore.com>
383             Olivier Hainque  <hainque@adacore.com>
384
385         * config/t-vxcrtstuffS: New Makefile fragment.
386         * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
387         functions for INITFINI_ARRAY support in shared libs and guard
388         the definition of eh table registration functions on conditions
389         indicating they are needed.
390
391 2021-12-13  Olivier Hainque  <hainque@adacore.com>
392
393         * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
394         ahead of the other files in tmake_files.
395         * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
396         overriding it.
397
398 2021-12-13  Olivier Hainque  <hainque@adacore.com>
399
400         * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
401         both VxWorks7 and earlier.
402         * config/t-vxworks7: Remove.
403         * config.host: Remove special case for vxworks7.
404
405 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
406
407         * config/vxcrtstuff.c: Make constructor and destructor
408         functions static when possible.
409
410 2021-12-11  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
411
412         * config/vxcrtstuff.c: Remove constructor/destructor
413         declarations.
414
415 2021-12-10  Iain Sandoe  <iain@sandoe.co.uk>
416
417         * config/t-darwin: Add libgcc_tm.h to the dependencies
418         for darwin10-unwind-find-enc-func.
419
420 2021-12-10  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
421
422         * config/rs6000/t-vxworks: New file.
423         * config.host (powerpc*-*-vxworks*): Use it instead of
424         t-ppccomm.
425
426 2021-12-09  Fred Konrad  <konrad@adacore.com>
427
428         * config.host (powerpc*-wrs-vxworks7*): Fix path to
429         rs6000/t-ppc64-fp, relative to config/ not libgcc/.
430
431 2021-12-09  Olivier Hainque  <hainque@adacore.com>
432             Rasmus Villemoes  <rv@rasmusvillemoes.dk>
433
434         * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
435         $(LIBGCC2_INCLUDES).
436         * config/t-vxworks7: Likewise.
437
438 2021-12-08  Iain Sandoe  <iain@sandoe.co.uk>
439
440         * config.host (*-*-darwin*): Add logic to build a shared
441         unwinder library for Darwin8-10.
442         * config/i386/t-darwin: Build legacy libgcc_s.1.
443         * config/rs6000/t-darwin: Likewise.
444         * config/t-darwin: Reorganise the EH fragments to place
445         them for inclusion in a shared EH lib.
446         * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
447         the supporting pieces (all FAT libs).
448         * config/t-darwin-noeh: Removed.
449         * config/darwin-unwind.ver: New file.
450         * config/rs6000/t-darwin-ehs: New file.
451         * config/t-darwin-ehs: New file.
452
453 2021-12-06  Nelson Chu  <nelson.chu@sifive.com>
454
455         * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
456         then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
457         * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
458         HIDDEN_DEF.
459
460 2021-11-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
461
462         * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
463         ssize_t and vfork after including auto-host.h.
464
465 2021-11-29  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
466
467         * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
468         crtend.o to extra_parts.
469
470 2021-11-27  John David Anglin  <danglin@gcc.gnu.org>
471
472         * config/pa/t-dimode (lib2difuncs): Fix typo.
473
474 2021-11-25  Florian Weimer  <fweimer@redhat.com>
475
476         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
477         Remove func, ret.
478         (find_fde_tail): New function.  Split from
479         _Unwind_IteratePhdrCallback.  Move the result initialization
480         from _Unwind_Find_FDE.
481         (_Unwind_Find_FDE): Updated to call find_fde_tail.
482
483 2021-11-22  Florian Weimer  <fweimer@redhat.com>
484
485         * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
486         (struct unw_eh_callback_data): Make dbase member conditional.
487         (unw_eh_callback_data_dbase): New function.
488         (base_from_cb_data): Simplify for the non-dbase case.
489         (_Unwind_IteratePhdrCallback): Adjust.
490         (_Unwind_Find_FDE): Likewise.
491
492 2021-11-22  Florian Weimer  <fweimer@redhat.com>
493
494         * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
495         tbase member.
496         (base_from_cb_data): Adjust.
497         (_Unwind_IteratePhdrCallback): Likewise.
498         (_Unwind_Find_FDE): Likewise.
499
500 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
501
502         * config.host: Add weak emutls crt to the extra_parts.
503         * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
504         workaround.
505         * config/libgcc-libsystem.ver: Add exclude list for the system-
506         provided unwinder.
507         * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
508         * config/i386/libgcc-darwin.10.4.ver: Removed.
509         * config/i386/libgcc-darwin.10.5.ver: Removed.
510         * config/rs6000/libgcc-darwin.10.4.ver: Removed.
511         * config/rs6000/libgcc-darwin.10.5.ver: Removed.
512         * config/t-darwin-noeh: New file.
513
514 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
515
516         * config/t-darwin: Build weak-defined emutls objects.
517         * emutls.c (__emutls_get_address): Add optional attributes.
518         (__emutls_register_common): Likewise.
519         (EMUTLS_ATTR): New.
520
521 2021-11-11  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
522
523         PR libgcc/103044
524         * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
525         called with a null argument or at the end of the backtrace and return.
526         * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
527
528 2021-11-10  Jakub Jelinek  <jakub@redhat.com>
529
530         * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
531         formatting fix.
532
533 2021-11-05  Iain Sandoe  <iain@sandoe.co.uk>
534
535         * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
536         * config/i386/darwin-lib.h: Declare Darwin10 crt function.
537
538 2021-11-05  John David Anglin  <danglin@gcc.gnu.org>
539
540         PR libgomp/96661
541         * config.host (hppa*64*-*-linux*): Revise tmake_file.
542         (hppa*64*-*-hpux11*): Likewise.
543         * config/pa/sfp-exceptions.c: New.
544         * config/pa/sfp-machine.h: New.
545         * config/pa/t-dimode: New.
546         * config/pa/t-softfp-sfdftf: New.
547
548 2021-10-27  John David Anglin  <danglin@gcc.gnu.org>
549
550         * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
551         tmake_file.
552         * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
553         Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
554         SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
555         * config/pa/t-linux64 (LIB1ASMSRC): New define.
556         (LIB1ASMFUNCS): Revise.
557         (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
558
559 2021-10-22  Stafford Horne  <shorne@gmail.com>
560
561         * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
562         Change to 0.
563
564 2021-10-14  Raphael Moreira Zinsly  <rzinsly@linux.ibm.com>
565
566         * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
567         outside of get_regs() in order to use it in another function, this
568         is done twice: for __powerpc64__ and for !__powerpc64__.
569         (struct trace_arg): New struct.
570         (struct layout): New struct.
571         (ppc_backchain_fallback): New function.
572         * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
573         state and call MD_BACKCHAIN_FALLBACK.
574
575 2021-10-13  Martin Liska  <mliska@suse.cz>
576
577         PR gcov-profile/90364
578         * libgcov-driver.c (merge_one_data): Skip timestamp and verify
579         checksums.
580         (write_one_data): Write also checksum.
581         * libgcov-util.c (read_gcda_file): Read also checksum field.
582         * libgcov.h (struct gcov_info): Add new field.
583
584 2021-10-08  Ian Lance Taylor  <iant@golang.org>
585
586         * config/i386/morestack.S: Use .init_array for constructor if
587         available.
588         * config/rs6000/morestack.S: Likewise.
589         * config/s390/morestack.S: Likewise.
590
591 2021-10-03  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
592
593         PR target/101104
594         * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
595         Use more correct values for native IBM 128-bit.
596
597 2021-09-28  Iain Sandoe  <iain@sandoe.co.uk>
598
599         * config/i386/libgcc-darwin.ver: Add Symbols for
600         __cpu_model, __cpu_indicator_init.
601
602 2021-09-22  Iain Sandoe  <iain@sandoe.co.uk>
603
604         * config/i386/sfp-machine.h: Guard Mach-O-specific code
605         using __APPLE__.
606
607 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
608
609         * config/t-slibgcc-darwin: Delete unused code.
610
611 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
612
613         * config/i386/t-darwin: Add in a vers file for X86-specific
614         symbols.
615         * config/t-darwin: Add the generic symbol maps here...
616         * config/t-slibgcc-darwin: ... removing from here.
617         * config/i386/libgcc-darwin.ver: New file.
618
619 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
620
621         * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
622         and __mulhc3.
623
624 2021-09-19  Iain Sandoe  <iain@sandoe.co.uk>
625
626         * config.host: Use convenience library for Darwin10
627         unwinder shim.
628         * config/t-darwin: Build Darwin10 unwinder shim as a
629         convenience library.
630
631 2021-09-13  Andrew Pinski  <apinski@marvell.com>
632
633         * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
634         * config/m32r/libgcc-glibc.ver: Removed.
635         * config/m32r/t-linux: Removed.
636
637 2021-09-08  liuhongt  <hongtao.liu@intel.com>
638
639         * config/i386/t-softfp: Compile __{mul,div}hc3 into
640         libgcc_s.so.1.
641
642 2021-09-08  Jakub Jelinek  <jakub@redhat.com>
643             Iain Sandoe  <iain@sandoe.co.uk>
644
645         * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
646         and export *hf* and *hc* functions at GCC_12.0.0.
647
648 2021-09-06  liuhongt  <hongtao.liu@intel.com>
649
650         * Makefile.in: Adjust to support specific CFLAGS for each
651         libgcc source file.
652         * config/i386/64/t-softfp: Explicitly add -msse2 for HF
653         related libgcc source files.
654         * config/i386/t-softfp: Ditto.
655         * config/i386/_divhc3.c: New file.
656         * config/i386/_mulhc3.c: New file.
657
658 2021-09-03  Iain Sandoe  <iain@sandoe.co.uk>
659
660         * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
661         alias_DFtype, alias_TFtype): New.
662         (ALIAS_SELECTOR): New.
663         (strong_alias): Use __typeof and a _Generic selector to
664         provide the type to the synthesized function.
665
666 2021-09-02  liuhongt  <hongtao.liu@intel.com>
667
668         * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
669         * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
670         * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
671         * config/i386/t-softfp: Add hf soft-fp.
672         * config.host: Add i386/64/t-softfp.
673         * config/i386/64/t-softfp: New file.
674
675 2021-09-02  liuhongt  <hongtao.liu@intel.com>
676
677         * soft-fp/eqhf2.c: New file.
678         * soft-fp/extendhfdf2.c: New file.
679         * soft-fp/extendhfsf2.c: New file.
680         * soft-fp/half.h (FP_CMP_EQ_H): New marco.
681         * soft-fp/truncdfhf2.c: New file
682         * soft-fp/truncsfhf2.c: New file
683
684 2021-09-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
685
686         * unwind-arm-common.inc (abort): Remove.
687
688 2021-08-31  Richard Sandiford  <richard.sandiford@arm.com>
689
690         * config/aarch64/value-unwind.h: Add missing runtime exception
691         paragraph.
692         * config/frv/frv-abi.h: Likewise.
693         * config/i386/value-unwind.h: Likewise.
694         * config/pa/pa64-hpux-lib.h: Likewise.
695
696 2021-08-26  David Edelsohn  <dje.gcc@gmail.com>
697
698         * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
699         __gcc_qadd.
700         (__gcc_qadd): Call ldouble_qadd_internal.
701         (__gcc_qsub): Call ldouble_qadd_internal with second long double
702         argument negated.
703
704 2021-08-26  Jonathan Yong  <10walls@gmail.com>
705
706         * config/i386/cygming-crtend.c: Fix register_frame_ctor
707         and register_frame_dtor warnings.
708
709 2021-08-24  Richard Earnshaw  <rearnsha@arm.com>
710
711         PR target/102035
712         * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
713         Add vlldm erratum work-around.
714
715 2021-08-21  John David Anglin  <danglin@gcc.gnu.org>
716
717         * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
718
719 2021-08-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
720
721         * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
722         (gcov_type_unsigned): Likewise.
723
724 2021-08-14  Stafford Horne  <shorne@gmail.com>
725
726         PR target/99783
727         * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
728         * config/or1k/t-crtstuff: New file.
729
730 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
731
732         * libgcov-driver.c (#include <stdint.h>): Remove.
733         (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
734
735 2021-08-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
736
737         * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
738         * gcov.h (gcov_info): Declare.
739         (__gcov_info_to_gdca): Likewise.
740         * libgcov.h (gcov_write_counter): Remove.
741         (gcov_write_tag_length): Likewise.
742         * libgcov-driver.c (#include <stdint.h>): New.
743         (#include <string.h>): Remove.
744         (NEED_L_GCOV): Conditionally define.
745         (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
746         (are_all_counters_zero): New.
747         (gcov_dump_handler): Likewise.
748         (gcov_allocate_handler): Likewise.
749         (dump_unsigned): Likewise.
750         (dump_counter): Likewise.
751         (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
752         Use dump_unsigned() and dump_counter().
753         (write_one_data): Add dump_fn, allocate_fn, and arg parameters.  Use
754         dump_unsigned(), dump_counter(), and are_all_counters_zero().
755         (__gcov_info_to_gcda): New.
756
757 2021-08-05  Jakub Jelinek  <jakub@redhat.com>
758
759         * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
760         * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
761         * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
762         * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
763
764 2021-08-04  Jakub Jelinek  <jakub@redhat.com>
765
766         * config/t-slibgcc-fuchsia: Undo doubly applied patch.
767
768 2021-07-15  Alan Modra  <amodra@gmail.com>
769
770         * config/rs6000/morestack.S (R2_SAVE): Define.
771         (__morestack): Save and restore r2.  Set up r2 for called
772         functions.
773
774 2021-07-01  H.J. Lu  <hjl.tools@gmail.com>
775
776         * soft-fp/extendhfxf2.c: New file.
777         * soft-fp/truncxfhf2.c: Likewise.
778
779 2021-06-29  Julian Brown  <julian@codesourcery.com>
780
781         * config/gcn/lib2-bswapti2.c: New file.
782         * config/gcn/lib2-divmod-di.c: New file.
783         * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
784         typedefs.
785         (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
786         * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
787         lib2-bswapti2.c.
788
789 2021-06-29  Julian Brown  <julian@codesourcery.com>
790
791         * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
792         return types to USItype.
793         * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
794
795 2021-06-23  Kewen Lin  <linkw@linux.ibm.com>
796
797         * configure: Regenerate.
798         * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
799         typos among the name, CFLAGS and the test.
800         * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
801         fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
802         Remove.
803         * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
804         macro FLOAT128_HW_INSNS_ISA3_1.
805         (FP128_3_1_CFLAGS_HW): Fix option typo.
806         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
807         FLOAT128_HW_INSNS_ISA3_1.
808         (__floattikf_resolve): Likewise.
809         (__floatuntikf_resolve): Likewise.
810         (__fixkfti_resolve): Likewise.
811         (__fixunskfti_resolve): Likewise.
812         (__floattikf): Likewise.
813         (__floatuntikf): Likewise.
814         (__fixkfti): Likewise.
815         (__fixunskfti): Likewise.
816
817 2021-06-11  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
818
819         PR target/99939
820         * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
821         macro.
822         * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
823         on passing -mcmse option.
824
825 2021-06-10  Segher Boessenkool  <segher@kernel.crashing.org>
826
827         * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
828         _ARCH_PPC64 .
829
830 2021-06-09  Carl Love  <cel@us.ibm.com>
831
832         * config.host: Add if test and set for
833         libgcc_cv_powerpc_3_1_float128_hw.
834         * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
835         Change calls of __fixkfti to __fixkfti_sw.
836         * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
837         Change calls of __fixunskfti to __fixunskfti_sw.
838         * config/rs6000/float128-p10.c (__floattikf_hw,
839         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
840         * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
841         (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
842         __fixunskfti_resolve): Add resolve functions.
843         (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
844         * config/rs6000/float128-sed (floattitf, __floatuntitf,
845         __fixtfti, __fixunstfti): Add editor commands to change names.
846         * config/rs6000/float128-sed-hw (__floattitf,
847         __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
848         change names.
849         * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
850         * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
851         * config/rs6000/quad-float128.h (__floattikf_sw,
852         __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
853         __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
854         __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
855         * config/rs6000/t-float128 (floattikf, floatuntikf,
856         fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
857         (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
858         file names to fp128_ppc_funcs.
859         * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
860         fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
861         fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
862         * config/rs6000/t-float128-p10-hw: New file.
863         * configure: Update script for isa 3.1 128-bit float support.
864         * configure.ac: Add check for 128-bit float hardware support.
865         * config/rs6000/fixkfti-sw.c: New file.
866         * config/rs6000/fixunskfti-sw.c: New file.
867         * config/rs6000/floattikf-sw.c: New file.
868         * config/rs6000/floatuntikf-sw.c: New file.
869
870 2021-05-13  Dimitar Dimitrov  <dimitar@dinux.eu>
871
872         * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
873
874 2021-05-13  Martin Liska  <mliska@suse.cz>
875
876         * libgcov-driver.c: Fix GNU coding style.
877
878 2021-05-10  Martin Liska  <mliska@suse.cz>
879
880         * libgcov-driver.c (gcov_version): Use different name that does
881         not clash with newly introduced macro.
882
883 2021-04-29  Eric Botcazou  <ebotcazou@adacore.com>
884
885         * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
886         if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
887         * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
888
889 2021-04-28  Patrick McGehearty  <patrick.mcgehearty@oracle.com>
890
891         * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
892         Define.
893         (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
894         * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
895         Define.
896         (__divkc3): Improve complex divide.
897
898 2021-04-23  Michael Meissner  <meissner@linux.ibm.com>
899
900         PR target/98952
901         * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
902         trampoline size comparison in 32-bit by reversing test and
903         combining load immediate with compare.
904         (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
905         in 32-bit by reversing test and combining load immediate with
906         compare.
907
908 2021-04-05  Florian Weimer  <fweimer@redhat.com>
909             Michael Meissner   <meissner@linux.ibm.com>
910
911         * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
912         point functions for $(decimal_float) only.
913
914 2021-04-03  Jakub Jelinek  <jakub@redhat.com>
915
916         PR target/97653
917         * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
918         $(objext) instead of $(object).  Use _floatunditf instead of
919         _floatunsditf.  Add tf <-> ti conversion objects.
920         (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
921
922 2021-03-29  Michael Meissner  <meissner@linux.ibm.com>
923
924         * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
925         (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
926         (fp128_decstr_objs): Delete.
927         * dfp-bit.h: Call __sprintfieee128 to do conversions from
928         _Float128 to a Decimal type.  Call __strtoieee128 to do
929         conversions from a Decimal type to _Float128.
930         * config/rs6000/_sprintfkf.c: Delete file.
931         * config/rs6000/_sprintfkf.h: Delete file.
932         * config/rs6000/_strtokf.c: Delete file.
933         * config/rs6000/_strtokf.h: Delete file.
934
935 2021-03-23  Marcus Comstedt  <marcus@mc.pp.se>
936
937         * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
938         to __BYTE_ORDER__.
939
940 2021-03-06  Jakub Jelinek  <jakub@redhat.com>
941
942         PR gcov-profile/99406
943         * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
944         defined, define these macros if not defined already.
945
946 2021-03-04  Martin Liska  <mliska@suse.cz>
947
948         PR gcov-profile/99105
949         * libgcov-driver.c (write_top_counters): Rename to ...
950         (write_topn_counters): ... this.
951         (write_one_data): Pre-allocate buffer for number of items
952         in the corresponding linked lists.
953         * libgcov.h (malloc_mmap): New function.
954         (allocate_gcov_kvp): Use it.
955
956 2021-03-04  Martin Liska  <mliska@suse.cz>
957
958         PR gcov-profile/99385
959         * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
960
961 2021-03-03  Martin Liska  <mliska@suse.cz>
962
963         PR gcov-profile/97461
964         * config.in: Regenerate.
965         * configure: Likewise.
966         * configure.ac: Check sys/mman.h header file
967         * libgcov-driver.c (struct gcov_kvp): Remove static
968         pre-allocated pool and use a dynamic one.
969         * libgcov.h (MMAP_CHUNK_SIZE): New.
970         (gcov_counter_add): Use mmap to allocate pool for struct
971         gcov_kvp.
972
973 2021-03-02  Michael Meissner  <meissner@linux.ibm.com>
974
975         * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
976         the function.
977         * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
978
979 2021-02-24  Jakub Jelinek  <jakub@redhat.com>
980
981         PR libgcc/99236
982         * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
983         negation of m in unsigned type.
984
985 2021-02-24  Christophe Lyon  <christophe.lyon@linaro.org>
986             Hau Hsu  <hsuhau617@gmail.com>
987
988         PR target/99157
989         * config/arm/t-arm: Fix cmse support detection.
990
991 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
992
993         * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
994
995 2021-02-22  Michael Meissner  <meissner@linux.ibm.com>
996
997         * config/rs6000/_dd_to_kf.c: New file.
998         * config/rs6000/_kf_to_dd.c: New file.
999         * config/rs6000/_kf_to_sd.c: New file.
1000         * config/rs6000/_kf_to_td.c: New file.
1001         * config/rs6000/_sd_to_kf.c: New file.
1002         * config/rs6000/_sprintfkf.c: New file.
1003         * config/rs6000/_sprintfkf.h: New file.
1004         * config/rs6000/_strtokf.h: New file.
1005         * config/rs6000/_strtokf.c: New file.
1006         * config/rs6000/_td_to_kf.c: New file.
1007         * config/rs6000/quad-float128.h: Add new declarations.
1008         * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1009         (fp128_decstr_funcs): New macro.
1010         (ibm128_dec_funcs): New macro.
1011         (fp128_ppc_funcs): Add the new conversions.
1012         (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1013         compiled with -mabi=ieeelongdouble.
1014         (fp128_decstr_objs): Force __float128 <-> string conversions to be
1015         compiled with -mabi=ibmlongdouble.
1016         (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1017         compiled with -mabi=ieeelongdouble.
1018         (FP128_CFLAGS_DECIMAL): New macro.
1019         (IBM128_CFLAGS_DECIMAL): New macro.
1020         * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1021         (BFP_TO_DFP): Add PowerPC _Float128 support.
1022         * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1023         IEEE 128-bit floating point.
1024         (DFP_TO_BFP): Add PowerPC _Float128 support.
1025         (BFP_TO_DFP): Add PowerPC _Float128 support.
1026         (BFP_SPRINTF): New macro.
1027
1028 2021-01-27  Jakub Jelinek  <jakub@redhat.com>
1029
1030         * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1031         * config/i386/savms64f.h: Likewise.
1032         * config/i386/resms64.h: Likewise.
1033         * config/i386/resms64f.h: Likewise.
1034         * config/i386/resms64x.h: Likewise.
1035         * config/i386/resms64fx.h: Likewise.
1036
1037 2021-01-26  Martin Liska  <mliska@suse.cz>
1038
1039         PR gcov-profile/98739
1040         * libgcov.h (gcov_topn_add_value): Do not train when
1041         we have a merged profile with a negative number of total
1042         value.
1043
1044 2021-01-25  Martin Liska  <mliska@suse.cz>
1045
1046         PR gcov-profile/98739
1047         * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1048         ends with a dropped counter.
1049         * libgcov.h (gcov_topn_add_value): Add return value.
1050
1051 2021-01-13  Stafford Horne  <shorne@gmail.com>
1052
1053         * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1054         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1055         FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1056         FP_EX_ALL): New constant macros.
1057         (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1058         FP_HANDLE_EXCEPTIONS): New macros.
1059         (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1060
1061 2021-01-13  Samuel Thibault  <samuel.thibault@gnu.org>
1062
1063         * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1064         posix siginfo case to struct handler_args. Detect between legacy
1065         and siginfo from the second parameter, which is a small sigcode in
1066         the legacy case, and a pointer in the siginfo case.
1067
1068 2020-12-20  Max Filippov  <jcmvbkbc@gmail.com>
1069
1070         * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1071         functions.
1072         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1073         _bswapdi2.
1074
1075 2020-12-08  Ian Lance Taylor  <iant@golang.org>
1076
1077         * generic-morestack-thread.c (free_segments): Block signals during
1078         thread exit.
1079
1080 2020-12-03  Michael Meissner  <meissner@linux.ibm.com>
1081
1082         PR libgcc/97543
1083         PR libgcc/97643
1084         * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1085         (IBM128_SHARED_OBJS): New make variable.
1086         (IBM128_OBJS): New make variable.  Set all objects to use the
1087         explicit IBM format, and disable gnu attributes.
1088         (IBM128_CFLAGS): New make variable.
1089         (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1090         modules.
1091
1092 2020-12-03  Alexandre Oliva  <oliva@adacore.com>
1093
1094         * config/t-vxworks (LIB2ADD): Drop.
1095         * config/t-vxworks7 (LIB2ADD): Likewise.
1096         * config/vxcache.c: Remove.
1097
1098 2020-11-30  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1099
1100         * libgcc2.c (bswapsi2): Make constants unsigned.
1101
1102 2020-11-25  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1103
1104         * libgcc2.c (absvSI2): Simplify/improve implementation by using
1105         builtin_add_overflow.
1106         (absvsi2, absvDI2): Likewise.
1107
1108 2020-11-20  Maciej W. Rozycki  <macro@linux-mips.org>
1109
1110         * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1111         (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1112
1113 2020-11-18  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1114
1115         * config/msp430/lib2hw_mul.S (mult64_hw): New.
1116         (if MUL_32): Use mult64_hw for __muldi3.
1117         (if MUL_F5): Use mult64_hw for __muldi3.
1118         * config/msp430/lib2mul.c (__muldi3): New.
1119         * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1120
1121 2020-11-17  Alan Modra  <amodra@gmail.com>
1122
1123         * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1124         (LIB2_SIDITI_CONV_FUNCS): Define.
1125         * config/rs6000/ppc64-fp.c: Delete file.
1126
1127 2020-11-15  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1128
1129         * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1130         hwmult library functions.
1131
1132 2020-11-10  Jeff Law  <law@redhat.com>
1133
1134         * libgcc2.c: Fix whitespace issues in most recent change.
1135
1136 2020-11-10  Stefan Kanthak  <stefan.kanthak@nexgo.de>
1137
1138         * libgcc2.c (__addvSI3): Use overflow builtins.
1139         (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1140         (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1141         (__negvsi2, __negvDI2): Likewise.
1142         (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1143         generated code.
1144         * libgcc2.h (__ucmpdi2): Adjust prototype.
1145
1146 2020-11-03  Pat Bernardi  <bernardi@adacore.com>
1147             Olivier Hainque   <hainque@adacore.com>
1148
1149         * config.host (aarch64-vxworks7*, tmake_file): Add
1150         ${cpu_type}/t-lse and t-slibgcc-libgcc.
1151
1152 2020-11-03  Martin Storsjö  <martin@martin.st>
1153
1154         * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1155         before calling the callback.
1156
1157 2020-10-30  Olivier Hainque  <hainque@adacore.com>
1158             Douglas Rupp  <rupp@adacore.com>
1159             Pat Bernardi  <bernardi@adacore.com>
1160
1161         * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1162         to apply to VxWorks 7 as well.
1163
1164 2020-10-29  Olivier Hainque  <hainque@adacore.com>
1165
1166         * config/gthr-vxworks-tls.c: Fix preprocessor logic
1167         controlling the definition of VX_ENTER_TLS_DTOR and
1168         VX_LEAVE_TLS_DTOR based on a version major check.
1169
1170 2020-10-29  Olivier Hainque  <hainque@adacore.com>
1171
1172         * config/gthr-vxworks-thread.c: Fix name of macro used
1173         to condition the inclusion of an actual implementation.
1174
1175 2020-10-27  Martin Liska  <mliska@suse.cz>
1176
1177         PR gcov-profile/97461
1178         * libgcov.h (gcov_counter_add): Use first static counters
1179         as it should help to have malloc wrappers set up.
1180
1181 2020-10-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1182
1183         * config/gthr-vxworks-thread.c: #include gthr.h before
1184         testing the guard defined there.
1185         * config/gthr-vxworks-cond.c: Likewise.
1186
1187 2020-10-21  Douglas Rupp  <rupp@adacore.com>
1188             Olivier Hainque  <hainque@adacore.com>
1189
1190         * config.host (powerpc*-wrs-vxworks7*): New case.
1191         * configure.ac: Handle powerpc*-*-vxworks7* as
1192         powerpc*-*-linux* for ppc-fp_type.
1193         * configure: Regenerate.
1194
1195 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1196
1197         * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1198         section on VxWorks >= 6.
1199         * config/gthr-vxworks-thread.c: Condition the entire
1200         implementation on __GTHREAD_CXX0X.
1201
1202 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1203
1204         * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1205         section on VxWorks >= 6.
1206         * config/gthr-vxworks-cond.c: Condition the entire
1207         implementation on __GTHREAD_HAS_COND.
1208
1209 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1210
1211         * config/gthr-vxworks.c: #include <taskLib.h>.
1212
1213 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1214
1215         * config/gthr-vxworks.h: Rewrite remaining occurrence
1216         of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1217
1218 2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1219              Olivier Hainque   <hainque@adacore.com>
1220
1221         * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1222         except on VxWorks 6.
1223
1224 2020-10-16  Olivier Hainque  <hainque@adacore.com>
1225
1226         * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1227
1228 2020-10-14  Alexandre Oliva  <oliva@adacore.com>
1229
1230         * config/gthr-vxworks-thread.c: Include stdlib.h.
1231         (tls_delete_hook): Prototype it.
1232         (__gthread_cond_signal): Return early if no waiters.  Consume
1233         signal in case the semaphore got full.  Use semInfoGet instead
1234         of kernel-mode-only semInfo.
1235         (__gthread_cond_timedwait): Use semExchange.  Always take the
1236         mutex again before returning.
1237         * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1238
1239 2020-10-14  Olivier Hainque  <hainque@adacore.com>
1240
1241         * config/t-vxworks (LIBGCC2_INCLUDES): Append
1242         $(MULTISUBDIR) to the -I path for fixed headers, as we
1243         arrange to have different sets of such headers for different
1244         multilibs when they are activated.
1245         * config/t-vxworks7: Likewise.
1246
1247 2020-10-14  Olivier Hainque  <hainque@adacore.com>
1248
1249         * config/t-vxworks: Add include-fixed to include search
1250         paths for libgcc on VxWorks.
1251         * config/t-vxworks7: Likewise.
1252
1253 2020-10-09  H.J. Lu  <hjl.tools@gmail.com>
1254
1255         PR target/97148
1256         * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1257         instead of <cetintrin.h>.
1258
1259 2020-10-01  Alan Modra  <amodra@gmail.com>
1260
1261         * config/rs6000/morestack.S,
1262         * config/rs6000/tramp.S: Support __PCREL__ code.
1263
1264 2020-10-01  Alan Modra  <amodra@gmail.com>
1265
1266         * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1267
1268 2020-09-29  Maciej W. Rozycki  <macro@wdc.com>
1269
1270         * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1271         variable.
1272
1273 2020-09-28  Richard Sandiford  <richard.sandiford@arm.com>
1274
1275         * config/aarch64/libgcc-softfp.ver: New file.
1276         * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1277
1278 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
1279
1280         * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1281
1282 2020-09-22  Sergei Trofimovich  <siarheit@google.com>
1283
1284         PR gcov-profile/96913
1285         * libgcov-driver.c (write_one_data): Avoid function pointer
1286         comparison in TOP streaming decision.
1287
1288 2020-09-17  Torbjörn SVENSSON  <torbjorn.svensson@st.com>
1289             Christophe Lyon  <christophe.lyon@linaro.org>
1290
1291         * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1292         qualifier.
1293         (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1294         (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1295         missing prototypes.
1296
1297 2020-09-17  Wei Wentao  <weiwt.fnst@cn.fujitsu.com>
1298
1299         * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1300         unused variable warning.
1301
1302 2020-09-16  Jojo R  <jiejie_rong@c-sky.com>
1303
1304         * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1305
1306 2020-09-09  Tom de Vries  <tdevries@suse.de>
1307
1308         * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1309         Wbuiltin-declaration-mismatch.
1310
1311 2020-08-26  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1312
1313         * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1314         * config/msp430/srai.S (__gnu_mspabi_srap): New.
1315         * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1316
1317 2020-08-13  Kwok Cheung Yeung  <kcy@codesourcery.com>
1318
1319         * config/nvptx/atomic.c: New.
1320         * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1321
1322 2020-08-03  Ian Lance Taylor  <iant@golang.org>
1323
1324         * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1325
1326 2020-08-03  Jakub Jelinek  <jakub@redhat.com>
1327
1328         PR target/96402
1329         * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1330         of x(tmp0), x(tmp1) in STXP arguments.
1331
1332 2020-07-31  Maciej W. Rozycki  <macro@wdc.com>
1333
1334         * config/riscv/save-restore.S [__riscv_xlen == 64]
1335         (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1336         (__riscv_save_2): Replace negative immediates used for the final
1337         stack pointer adjustment with positive ones, right-shifted by 4.
1338
1339 2020-07-31  Martin Liska  <mliska@suse.cz>
1340
1341         * libgcov-driver.c: Add __gcov_kvp_pool
1342         and __gcov_kvp_pool_index variables.
1343         * libgcov.h (allocate_gcov_kvp): New.
1344         (gcov_topn_add_value): Use it.
1345
1346 2020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1347
1348         * config/aarch64/lse.S: Add PAC property note.
1349
1350 2020-07-23  Martin Liska  <mliska@suse.cz>
1351
1352         PR gcov-profile/96035
1353         * libgcov-driver-system.c: Create gcov folders with 0777
1354         so that it respects a system umask.
1355
1356 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
1357
1358         * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1359
1360 2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1361
1362         PR target/94891
1363         * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1364         (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1365         (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1366         (MD_DEMANGLE_RETURN_ADDR): This.
1367         (aarch64_post_extract_frame_addr): Rename to ...
1368         (aarch64_demangle_return_addr): This.
1369         (aarch64_post_frob_eh_handler_addr): Remove.
1370         * unwind-dw2.c (uw_update_context): Demangle return address.
1371         (uw_frob_return_addr): Remove.
1372
1373 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1374
1375         PR target/96001
1376         * config/aarch64/lse.S: Add BTI marking and related definitions,
1377         and add BTI c to function entries.
1378
1379 2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1380
1381         * config/aarch64/lse.S: Add stack note.
1382
1383 2020-07-02  Martin Liska  <mliska@suse.cz>
1384
1385         PR gcov-profile/95348
1386         * libgcov-driver.c (merge_one_data): Merge only profiles
1387         that are not of non-zero type.
1388         (write_one_data): Write counters only if there's one non-zero
1389         value.
1390         * libgcov-util.c (tag_function): Change signature from unsigned
1391         to int.
1392         (tag_blocks): Likewise.
1393         (tag_arcs): Likewise.
1394         (tag_counters): Likewise.
1395         (tag_summary): Likewise.
1396         (tag_lines): Read only if COUNTERS is non-zero.
1397         (read_gcda_file): Handle negative length for COUNTERS type.
1398
1399 2020-06-25  Martin Liska  <mliska@suse.cz>
1400
1401         * libgcov-driver.c (merge_summary): Remove function as its name
1402         is misleading and doing something different.
1403         (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1404         in gcov-tool.
1405         * libgcov-util.c (curr_object_summary): Remove.
1406         (read_gcda_file): Remove unused curr_object_summary.
1407         (gcov_merge): Merge summaries.
1408         * libgcov.h: Add summary argument for gcov_info struct.
1409
1410 2020-06-24  H.J. Lu  <hjl.tools@gmail.com>
1411
1412         PR target/95259
1413         * config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
1414         "common/config/i386/i386-cpuinfo.h" and
1415         "common/config/i386/cpuinfo.h".
1416         (__cpu_features2): Changed to array.
1417         (get_amd_cpu): Removed.
1418         (get_intel_cpu): Likewise.
1419         (get_available_features): Likewise.
1420         (__cpu_indicator_init): Call cpu_indicator_init.
1421         * config/i386/cpuinfo.h: Removed.
1422
1423 2020-06-23  David Edelsohn  <dje.gcc@gmail.com>
1424
1425         * Makefile.in: Remove uses of empty.mk. Use -include.
1426         * config/avr/t-avr: Use -include.
1427         * empty.mk: Delete.
1428
1429 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
1430
1431         * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1432         * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1433         and 64 bit with -maix64.
1434         * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1435         Build and install AIX-style FAT libraries.
1436
1437 2020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
1438
1439         * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1440         'i386/gnu-unwind.h'
1441         * config/i386/gnu-unwind.h: New file.
1442
1443 2020-06-17  Martin Liska  <mliska@suse.cz>
1444
1445         * libgcov-util.c (read_gcda_finalize): Remove const operator.
1446         (merge_wrapper): Add both counts and use them properly.
1447         (topn_to_memory_representation): New function.
1448         (gcov_merge): Covert on disk representation to in memory
1449         representation.
1450         * libgcov.h: Remove const operator.
1451
1452 2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
1453
1454         * configure: Regenerate.
1455         * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1456         preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1457
1458 2020-06-09  Martin Liska  <mliska@suse.cz>
1459
1460         PR gcov-profile/95494
1461         * libgcov-driver.c (write_top_counters): Cast first to
1462         intptr_t as sizeof(*) != sizeof(gcov_type).
1463         * libgcov.h (gcov_counter_set_if_null): Remove.
1464         (gcov_topn_add_value): Cast first to intptr_t and update
1465         linked list directly.
1466
1467 2020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
1468
1469         * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1470         with uw_install_context_1.
1471
1472 2020-06-04  Andreas Schwab  <schwab@suse.de>
1473
1474         PR target/59230
1475         PR libfortran/59227
1476         * config/ia64/t-softfp-compat (softfp_file_list): Filter out
1477         soft-fp/divtf3.c.
1478         (LIB2ADD): Add config/ia64/divtf3.c.
1479         * config/ia64/divtf3.c: New file.
1480
1481 2020-06-03  Martin Liska  <mliska@suse.cz>
1482
1483         PR gcov-profile/95480
1484         * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
1485         * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
1486         (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
1487         (gcov_counter_set_if_null): Likewise.
1488
1489 2020-06-02  Jim Wilson  <jimw@sifive.com>
1490
1491         * config/riscv/div.S (__divdi3): For negative arguments, change bgez
1492         to bgtz.
1493
1494 2020-06-02  Martin Liska  <mliska@suse.cz>
1495
1496         * libgcov.h (gcov_topn_add_value): Use xcalloc instead
1497         of xmalloc.
1498
1499 2020-06-02  Martin Liska  <mliska@suse.cz>
1500
1501         * libgcov-driver.c (prune_topn_counter): Remove.
1502         (prune_counters): Likewise.
1503         (merge_one_data): Special case TOP N counters
1504         as they have variable length.
1505         (write_top_counters): New.
1506         (write_one_data): Special case TOP N.
1507         (dump_one_gcov): Do not prune TOP N counters.
1508         * libgcov-merge.c (merge_topn_values_set): Remove.
1509         (__gcov_merge_topn): Use gcov_topn_add_value.
1510         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1511         Likewise here.
1512         * libgcov.h (gcov_counter_add): New.
1513         (gcov_counter_set_if_null): Likewise.
1514         (gcov_topn_add_value): New.
1515
1516 2020-06-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1517
1518         * config/i386/sfp-exceptions.c (struct fenv):
1519         Add __attribute__ ((gcc_struct)).
1520
1521 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
1522
1523         PR bootstrap/95413
1524         * configure: Regenerated.
1525
1526 2020-05-28  Dong JianQiang  <dongjianqiang2@huawei.com>
1527
1528         PR gcov-profile/95332
1529         * libgcov-util.c (read_gcda_file): Call gcov_magic.
1530         * libgcov.h (gcov_magic): Disable GCC poison.
1531
1532 2020-05-21  H.J. Lu  <hongjiu.lu@intel.com>
1533
1534         PR target/95212
1535         * config/i386/cpuinfo.h (processor_features): Move
1536         FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
1537
1538 2020-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1539
1540         PR target/91695
1541         * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
1542         check.
1543
1544 2020-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1545
1546         PR target/95212
1547         PR target/95220
1548         * config/i386/cpuinfo.c (get_available_features): Fix
1549         FEATURE_GFNI check.  Also check FEATURE_AVX512VP2INTERSECT.
1550         * config/i386/cpuinfo.h (processor_features): Add
1551         FEATURE_AVX512VP2INTERSECT.
1552
1553 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1554
1555         PR bootstrap/95147
1556         * configure: Regenerated.
1557
1558 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
1559
1560         * configure: Regenerated.
1561
1562 2020-05-09  Hans-Peter Nilsson  <hp@axis.com>
1563
1564         * config.host: Remove support for crisv32-*-* and cris*-*-linux.
1565         * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1566
1567 2020-05-06  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1568
1569         * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1570         (__math_force_eval_div): New define.
1571         (__sfp_handle_exceptions): Use __math_force_eval_div to use
1572         generic division to generate INVALID, DIVZERO and INEXACT
1573         exceptions.
1574
1575 2020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1576
1577         * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1578         instead of getauxval.
1579         (AT_HWCAP): Define.
1580         (HWCAP_ATOMICS): Define.
1581         Guard detection on __gnu_linux__.
1582
1583 2020-05-05  Michael Meissner  <meissner@linux.ibm.com>
1584
1585         * config.host: Delete changes meant for a private branch.
1586         * config/rs6000/t-float128: Likewise.
1587         * configure.ac: Likewise.
1588         * configure: Likewise.
1589
1590 2020-05-05  Martin Liska  <mliska@suse.cz>
1591
1592         PR gcov-profile/93623
1593         * Makefile.in: Remove __gcov_flush.
1594         * gcov.h (__gcov_flush): Remove.
1595         * libgcov-interface.c (__gcov_flush): Remove.
1596         (init_mx): Use renamed mutex.
1597         (__gcov_lock): Likewise.
1598         (__gcov_unlock): Likewise.
1599         (__gcov_fork): Likewise.
1600         (__gcov_flush): Remove.
1601
1602 2020-05-05  Martin Liska  <mliska@suse.cz>
1603
1604         PR gcov-profile/93623
1605         * libgcov-interface.c (__gcov_fork): Do not flush
1606         and reset only in child process.
1607         (__gcov_execl): Dump counters only and reset them
1608         only if exec* fails.
1609         (__gcov_execlp): Likewise.
1610         (__gcov_execle): Likewise.
1611         (__gcov_execv): Likewise.
1612         (__gcov_execvp): Likewise.
1613         (__gcov_execve): Likewise.
1614
1615 2020-05-05  Martin Liska  <mliska@suse.cz>
1616
1617         PR gcov-profile/93623
1618         * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1619         * libgcov-interface.c (ALIAS_void_fn): Remove.
1620         (__gcov_lock): New.
1621         (__gcov_unlock): New.
1622         (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1623         (__gcov_reset): Likewise.
1624         (__gcov_dump): Likewise.
1625         * libgcov.h (__gcov_lock): New declaration.
1626         (__gcov_unlock): Likewise.
1627
1628 2020-05-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1629
1630         * config/i386/sfp-exceptions.c (__math_force_eval): New define.
1631         (__sfp_handle_exceptions): Use __math_force_eval to evaluate
1632         generic division to generate INVALID and DIVZERO exceptions.
1633
1634 2020-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1635
1636         * config/rs6000/crtresfpr.S: Use .machine ppc.
1637         * config/rs6000/crtresxfpr.S: Likewise.
1638         * config/rs6000/crtsavfpr.S: Likewise.
1639
1640 2020-04-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1641
1642         PR target/94514
1643         * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1644         Update context->flags accroding to the frame state.
1645
1646 2020-04-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
1647
1648         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1649         Remove unneeded assignments to volatile memory.
1650
1651 2020-04-15  Jakub Jelinek  <jakub@redhat.com>
1652
1653         PR target/93053
1654         * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1655         * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1656         is not defined, use just .arch armv8-a.
1657         (B, M, N, OPN): Define.
1658         (COMMENT): New .macro.
1659         (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1660         defined.  Otherwise, move the operands right after the glue? and
1661         comment out operands where the macros are used.
1662         * configure: Regenerated.
1663         * config.in: Regenerated.
1664
1665 2020-04-07  Ian Lance Taylor  <iant@golang.org>
1666
1667         PR libgcc/94513
1668         * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1669         syscall instead.
1670
1671 2020-04-04  Ian Lance Taylor  <iant@golang.org>
1672
1673         * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1674
1675 2020-04-03  Ian Lance Taylor  <iant@golang.org>
1676
1677         * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1678         than mmap/munmap, to avoid hooks.
1679
1680 2020-04-03  Jim Johnston  <jjohnst@us.ibm.com>
1681
1682         * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1683         (TPFRA_OFFSET): Macros removed.
1684         (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1685         (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1686         (PG3_SKIPPING_OFFSET): New macros.
1687         (__isPATrange): Use cinfc_fast for the check.
1688         (__isSkipResetAddr): New function.
1689         (s390_fallback_frame_state): Check for skip trace addresses. Use
1690         either ICST_CRET or ICST_SRET to calculate return address
1691         location.
1692         (__tpf_eh_return): Handle skip trace addresses.
1693
1694 2020-03-26  Richard Earnshaw  <rearnsha@arm.com>
1695
1696         PR target/94220
1697         * config/arm/lib1funcs.asm (COND): Use a single definition for
1698         unified syntax.
1699         (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1700         (aeabi_idivmod): Likewise.
1701         (divsi3_skip_div0_test): Likewise.
1702
1703 2020-03-17  Mihail Ionescu  <mihail.ionescu@arm.com>
1704
1705         * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1706
1707 2020-03-04  Andreas Krebbel  <krebbel@linux.ibm.com>
1708
1709         * config.host: Include the new makefile fragment.
1710         * config/s390/t-tpf: New file.
1711
1712 2020-03-03  Richard Earnshaw  <rearnsha@arm.com>
1713
1714         * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1715         syntax.
1716         (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1717         (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1718         (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1719         (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1720         * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1721         syntax.
1722         (divsi3, modsi3): Likewise.
1723         (clzdi2, ctzsi2): Likewise.
1724         * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1725         unified syntax.
1726         (UNWIND_WRAPPER): Likewise.
1727
1728 2020-03-02  Martin Liska  <mliska@suse.cz>
1729
1730         * libgcov-interface.c: Remove duplicate
1731         declaration of __gcov_flush_mx.
1732
1733 2020-02-18  Martin Liska  <mliska@suse.cz>
1734
1735         PR ipa/92924
1736         * libgcov-merge.c (merge_topn_values_set): Record
1737         when a TOP N counter becomes invalid.  When merging
1738         remove a smallest value if the space is needed.
1739
1740 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
1741
1742         PR libstdc++/79193
1743         PR libstdc++/88999
1744
1745         * configure: Regenerated.
1746
1747 2020-02-10  Jeff Law  <law@redhat.com>
1748
1749         * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1750         sections.
1751         * config/frv/frvend.c: Similarly.
1752
1753 2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
1754
1755         PR libgcc/85334
1756         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1757         New.
1758
1759 2020-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
1760
1761         PR target/93615
1762         * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1763         _Unwind_gnu_Find_got.
1764         * unwind-pe.h: Likewise.
1765
1766 2020-02-07  Jakub Jelinek  <jakub@redhat.com>
1767
1768         PR target/93615
1769         * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1770         (_Unwind_gnu_Find_got): ... this.  Use __asm instead of asm.  Remove
1771         trailing :s in asm.  Formatting fixes.
1772         (_Unwind_decode_typeinfo_ptr): Adjust caller.
1773
1774 2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
1775
1776         nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1777
1778         * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1779         * config/nios2-elf-lib.h: New.
1780         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1781         code for finding GOT base for nios2.
1782
1783 2020-01-27  Martin Liska  <mliska@suse.cz>
1784
1785         PR gcov-profile/93403
1786         * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1787         Call __gcov_indirect_call_profiler_body.
1788         (__gcov_indirect_call_profiler_body): New.
1789         (__gcov_indirect_call_profiler_v4_atomic): New.
1790         * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1791         New declaration.
1792
1793 2020-01-27  Claudiu Zissulescu  <claziss@synopsys.com>
1794
1795         * config/arc/crti.S: Add RF16 object attribute.
1796         * config/arc/crtn.S: Likewise.
1797         * config/arc/crttls.S: Likewise.
1798         * config/arc/lib1funcs.S: Likewise.
1799         * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1800         * config/arc/lib2funcs.c: New file.
1801         * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1802
1803 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
1804
1805         * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1806         * configure.ac: Handle `--with-toolexeclibdir='.
1807         * configure: Regenerate.
1808
1809 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
1810
1811         * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1812
1813 2020-01-23  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>
1814
1815         * config/mips/gnustack.h: New file.
1816         * config/mips/crti.S: Include gnustack.h.
1817         * config/mips/crtn.S: Likewise.
1818         * config/mips/mips16.S: Likewise.
1819         * config/mips/vr4120-div.S: Likewise.
1820
1821 2020-01-23  Martin Liska  <mliska@suse.cz>
1822
1823         * libgcov-driver.c (prune_topn_counter): Remove
1824         check for -1 as we only prune run-time counters
1825         that do not generate an invalid state.
1826
1827 2020-01-22  Martin Liska  <mliska@suse.cz>
1828
1829         PR tree-optimization/92924
1830         * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1831         try to find an existing value, then find an empty slot
1832         if not found.
1833
1834 2020-01-22  Martin Liska  <mliska@suse.cz>
1835
1836         PR tree-optimization/92924
1837         * libgcov-driver.c (prune_topn_counter): New.
1838         (prune_counters): Likewise.
1839         (dump_one_gcov): Prune a run-time counter.
1840         * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1841         For a known value, add GCOV_TOPN_VALUES to value.
1842         Otherwise, decrement all counters by one.
1843
1844 2020-01-18  Hans-Peter Nilsson  <hp@axis.com>
1845
1846         * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1847
1848 2020-01-18  John David Anglin  <danglin@gcc.gnu.org>
1849
1850         PR libgcc/92988
1851         * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1852         DEFAULT_USE_CXA_ATEXIT is true.
1853
1854 2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
1855             Thomas Preud'homme  <thomas.preudhomme@arm.com>
1856
1857         * config/arm/t-arm: Check return value of gcc rather than lack of
1858         output.
1859
1860 2020-01-14  Georg-Johann Lay  <avr@gjlay.de>
1861
1862         * config/avr/lib1funcs.S (skip): Simplify.
1863
1864 2020-01-10  Kwok Cheung Yeung  <kcy@codesourcery.com>
1865
1866         * config/gcn/atomic.c: Remove include of stdint.h.
1867         (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1868         __UINTPTR_TYPE__.
1869
1870 2020-01-09  Kwok Cheung Yeung  <kcy@codesourcery.com>
1871
1872         * config/gcn/atomic.c: New.
1873         * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1874
1875 2020-01-08  Georg-Johann Lay  <avr@gjlay.de>
1876
1877         Implement 64-bit double functions.
1878
1879         PR target/92055
1880         * config.host (tmake_file) [target=avr]: Add t-libf7,
1881         t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1882         * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1883         depending on sizeof (double) or sizeof (long double).
1884         * config/avr/libf7: New folder.
1885
1886 2020-01-05  Olivier Hainque  <hainque@adacore.com>
1887
1888         * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1889         by IN_LIBGCC2.
1890
1891 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
1892
1893         Update copyright years.
1894
1895 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1896
1897         * config/gthr-vxworks.h: Use _vxworks-versions.h.
1898         * config/gthr-vxworks-tls.c: Likewise.
1899
1900 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1901
1902         * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1903         standard zero-initializer syntax.
1904
1905 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1906
1907         * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1908         reference to the internal VX_GET_TLS_DATA interface.
1909
1910 2019-12-30  Olivier Hainque  <hainque@adacore.com>
1911
1912         * config/vxcrtstuff.c: Fix incorrect spelling of
1913         USE_INITFINI_ARRAY in guard.
1914
1915 2019-12-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1916
1917         * config.host: s/msp430*-*-elf/msp430-*-elf*.
1918         Override default "extra_parts" variable.
1919         * configure: Regenerate.
1920         * configure.ac: Disable TM clone registry by default for
1921         msp430-elfbare.
1922
1923 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1924
1925         * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1926         "extra_parts".
1927         * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1928
1929 2019-12-11  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1930
1931         * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1932         true.
1933
1934 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1935
1936         * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1937         defined instead of its value.
1938
1939 2019-12-09  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
1940
1941         * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1942         if it will have contents.
1943
1944 2019-12-05  Georg-Johann Lay  <avr@gjlay.de>
1945
1946         PR target/92055
1947         * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1948
1949 2019-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1950
1951         PR libgcc/91737
1952         * config.host: Add t-gthr-noweak on *-*-musl*.
1953         * config/t-gthr-noweak: New file.
1954
1955 2019-11-17  John David Anglin  <danglin@gcc.gnu.org>
1956
1957         * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1958         volatile void *.  Remove trap check.
1959         (__kernel_cmpxchg2): Likewise.
1960         (FETCH_AND_OP_2): Adjust operand types.
1961         (OP_AND_FETCH_2): Likewise.
1962         (FETCH_AND_OP_WORD): Likewise.
1963         (OP_AND_FETCH_WORD): Likewise.
1964         (COMPARE_AND_SWAP_2): Likewise.
1965         (__sync_val_compare_and_swap_4): Likewise.
1966         (__sync_bool_compare_and_swap_4): Likewise.
1967         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1968         (__sync_lock_test_and_set_4): Likewise.
1969         (SYNC_LOCK_RELEASE_1): Likewise.  Use __kernel_cmpxchg2 for release.
1970         (__sync_lock_release_4): Adjust operand types.  Use __kernel_cmpxchg
1971         for release.
1972         (__sync_lock_release_8): Remove.
1973
1974 2019-11-15  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1975
1976         * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1977         of __sigset_t.
1978
1979 2019-11-14  Jerome Lambourg  <lambourg@adacore.com>
1980             Doug Rupp <rupp@adacore.com>
1981             Olivier Hainque  <hainque@adacore.com>
1982
1983         * config.host: Collapse the arm-vxworks entries into
1984         a single arm-wrs-vxworks7* one.
1985         * config/arm/unwind-arm-vxworks.c: Update comments.  Provide
1986         __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1987         kernel modules, to be overriden by libstdc++ when we link with
1988         it.  Rely on externally provided __exidx_start/end.
1989
1990 2019-11-14  Doug Rupp  <rupp@adacore.com>
1991             Olivier Hainque  <hainque@adacore.com>
1992
1993         * config.host: Handle aarch64*-wrs-vxworks7*.
1994
1995 2019-11-12  Olivier Hainque  <hainque@adacore.com>
1996
1997         * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1998         sources except the cxx0x support to LIB2ADDEH.  We don't support
1999         cxx0x on AE/653.
2000         * config/t-vxworksae: New file.
2001         * config.host: Handle *-*-vxworksae: Add the two aforementioned
2002         Makefile fragment files at their expected position in the tmake_file
2003         list, in accordance with what is done for other VxWorks variants.
2004
2005 2019-11-12  Corentin Gay  <gay@adacore.com>
2006             Jerome Lambourg  <lambourg@adacore.com>
2007             Olivier Hainque  <hainque@adacore.com>
2008
2009         * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2010         sources to LIB2ADDEH.
2011         * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2012         * config/t-vxworks7: Likewise.
2013
2014         * config.host: Append a block at the end of the file to add the
2015         t-gthr files to the tmake_file list for VxWorks after everything
2016         else.
2017
2018         * config/vxlib.c: Rename as gthr-vxworks.c.
2019         * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2020
2021         * config/gthr-vxworks.h: Simplify a few comments.  Expose a TAS
2022         API and a basic error checking API, both internal.  Simplify the
2023         __gthread_once_t type definition and initializers.  Add sections
2024         for condition variables support and for the C++0x thread support,
2025         conditioned against Vx653 for the latter.
2026
2027         * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2028         implementation, leveraging the TAS internal API.
2029         * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2030         API, leveraging the general availability of TLS services in VxWorks7
2031         post SR6xxx.
2032         (__gthread_setspecific, __gthread_setspecific): Use it.
2033         (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2034         * config/gthr-vxworks-cond.c: New file.  GTHREAD_COND variable
2035         support based on VxWorks primitives.
2036         * config/gthr-vxworks-thread.c: New file.  GTHREAD_CXX0X support
2037         based on VxWorks primitives.
2038
2039 2019-11-06  Jerome Lambourg  <lambourg@adacore.com>
2040             Olivier Hainque  <hainque@adacore.com>
2041
2042         * config/vxcrtstuff.c: New file.
2043         * config/t-vxcrtstuff: New Makefile fragment.
2044         * config.host: Append t-vxcrtstuff to the tmake_file list
2045         on all VxWorks ports using dwarf for table based EH.
2046
2047 2019-11-07  Georg-Johann Lay  <avr@gjlay.de>
2048
2049         Support 64-bit double and 64-bit long double configurations.
2050
2051         PR target/92055
2052         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2053         long double is a 32-bit type.
2054         * config/avr/t-avrlibc: Copy double64 and long-double64
2055         multilib(s) from the vanilla one.
2056         * config/avr/t-copy-libgcc: New Makefile snip.
2057
2058 2019-11-04  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2059
2060         * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2061         the target output object format is not ELF.
2062         s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2063
2064 2019-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
2065
2066         PR libgcc/78804
2067         * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2068         * fp-bit.c (pack_d, unpack_d): Remove special cases for
2069         FLOAT_BIT_ORDER_MISMATCH.
2070         * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2071
2072 2019-11-01  Jim Wilson  <jimw@sifive.com>
2073
2074         * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2075
2076 2019-10-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2077
2078         * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2079         s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY, 
2080         s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2081         Define symbols for 32-bit and f5series hardware multiply
2082         register addresses.
2083         Replace hard-coded register addresses with symbols.
2084         Fix "_mspabi*" typo.
2085         Fix whitespace.
2086         * config/msp430/lib2mul.c: Add comment.
2087
2088 2019-10-15  John David Anglin  <danglin@gcc.gnu.org>
2089
2090         * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2091         unsigned int.  Adjust callers.
2092         (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2093         unsigned int *.  Load relocation offset before function pointer.
2094         Add barrier to ensure ordering.
2095
2096 2019-10-12  John David Anglin  <danglin@gcc.gnu.org>
2097
2098         * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2099         Load PIC register after branch target.  Fix white space.
2100         * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2101         implementations.  Load PIC register after branch target.  Don't
2102         clobber function pointer when it points to function descriptor.
2103         Use nullification instead of branch in LINUX implementation.
2104
2105 2019-10-03  John David Anglin  <danglin@gcc.gnu.org>
2106
2107         * config/pa/fptr.c: Disable -Warray-bounds warning.
2108
2109 2019-09-25  Richard Henderson  <richard.henderson@linaro.org>
2110
2111         * config.in, configure: Re-rebuild with stock autoconf 2.69,
2112         not the ubuntu modified 2.69.
2113
2114         PR target/91833
2115         * config/aarch64/lse-init.c: Include auto-target.h.  Disable
2116         initialization if !HAVE_SYS_AUXV_H.
2117         * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2118         * config.in, configure: Rebuild.
2119
2120         PR target/91834
2121         * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2122         overlap the inputs.
2123
2124 2019-09-25  Shaokun Zhang  <zhangshaokun@hisilicon.com>
2125
2126         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2127         CTR_EL0.IDC and CTR_EL0.DIC.
2128
2129 2019-09-20  Christophe Lyon  <christophe.lyon@st.com>
2130
2131         Revert:
2132         2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2133                 Mickaël Guêné <mickael.guene@st.com>
2134
2135         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2136         architecture.
2137
2138 2019-09-19  Richard Henderson  <richard.henderson@linaro.org>
2139
2140         * config/aarch64/lse-init.c: New file.
2141         * config/aarch64/lse.S: New file.
2142         * config/aarch64/t-lse: New file.
2143         * config.host: Add t-lse to all aarch64 tuples.
2144
2145 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2146         Mickaël Guêné <mickael.guene@st.com>
2147
2148         * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2149         architecture.
2150
2151 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2152         Mickaël Guêné <mickael.guene@st.com>
2153
2154         * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2155         (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2156         (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2157         (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2158         (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2159         (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2160         (__gnu_personality_sigframe_fdpic): New.
2161         (get_eit_entry): Add FDPIC signal frame support.
2162
2163 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2164         Mickaël Guêné <mickael.guene@st.com>
2165
2166         * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2167         (__kernel_dmb): Likewise.
2168         (__fdpic_cmpxchg): New function.
2169         (__fdpic_dmb): New function.
2170         * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2171         (gnu_Unwind_Find_got): New function.
2172         (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2173         * unwind-arm-common.inc (UCB_PR_GOT): New.
2174         (funcdesc_t): New struct.
2175         (get_eit_entry): Add FDPIC support.
2176         (unwind_phase2): Likewise.
2177         (unwind_phase2_forced): Likewise.
2178         (__gnu_Unwind_RaiseException): Likewise.
2179         (__gnu_Unwind_Resume): Likewise.
2180         (__gnu_Unwind_Backtrace): Likewise.
2181         * unwind-pe.h (read_encoded_value_with_base): Likewise.
2182
2183 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2184         Mickaël Guêné <mickael.guene@st.com>
2185
2186         * libgcc/crtstuff.c: Add support for FDPIC.
2187
2188 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
2189
2190         * config.host: Handle *-*-uclinuxfdpiceabi.
2191
2192 2019-09-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
2193
2194         * config.host: Set cpu_type for bpf-*-* targets.
2195         * config/bpf/t-bpf: Likewise.
2196         * config/bpf/crtn.S: Likewise.
2197         * config/bpf/crti.S: New file.
2198
2199 2019-09-06  Jim Wilson  <jimw@sifive.com>
2200
2201         * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2202         (riscv*-*-freebsd*): Likewise.
2203
2204 2019-09-03  Ulrich Weigand  <uweigand@de.ibm.com>
2205
2206         * config.host: Remove references to spu.
2207         * config/spu/: Remove directory.
2208
2209 2019-08-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2210
2211         PR target/91306
2212         * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2213         element type, instead of "sizeof" the element type.
2214         (__DTOR_LIST__): Likewise.
2215         (__TMC_LIST__): Likewise.
2216         (__do_global_dtors_aux_fini_array_entry): Likewise.
2217         (__frame_dummy_init_array_entry): Likewise.
2218         (__CTOR_END__): Likewise.
2219         (__DTOR_END__): Likweise.
2220         (__FRAME_END__): Likewise.
2221         (__TMC_END__): Likewise.
2222
2223 2019-08-20  Lili Cui  <lilicui@intel.com>
2224
2225         * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2226         INTEL_COREI7_COOPERLAKE.
2227
2228 2019-07-31  Matt Thomas  <matt@3am-software.com>
2229             Nick Hudson <nick@nthcliff.demon.co.uk>
2230             Matthew Green <mrg@eterna.com.au>
2231             Maya Rashish <coypu@sdf.org>
2232
2233         * config.host (hppa*-*-netbsd*): New case.
2234         * config/pa/t-netbsd: New file.
2235
2236 2019-07-31  Joel Hutton  <Joel.Hutton@arm.com>
2237
2238         * config/arm/cmse.c (cmse_check_address_range): Add
2239         warn_unused_result attribute.
2240
2241 2019-07-22  Martin Liska  <mliska@suse.cz>
2242
2243         * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2244         * config/pa/t-stublib: Likewise.
2245
2246 2019-07-22  Stafford Horne  <shorne@gmail.com>
2247
2248         PR target/90362
2249         * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2250         to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2251         instructions are not available on every processor.  Change a
2252         l.bnf to l.bf to fix logic issue.
2253
2254 2019-07-04  Iain Sandoe  <iain@sandoe.co.uk>
2255
2256         * config.host: Remove reference to t-darwin8.
2257
2258 2019-07-03  Iain Sandoe  <iain@sandoe.co.uk>
2259
2260         * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2261         list.
2262         * config/rs6000/t-darwin: Build crt3_2 for older systems.  Revise
2263         mmacosx-version-min for crts to run across all system versions.
2264         * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2265         * config/t-darwin: Revise mmacosx-version-min for crts to run across
2266         system versions >= 10.4.
2267
2268 2019-07-03  Martin Liska  <mliska@suse.cz>
2269
2270         * Makefile.in: Use topn_values instead of one_value names.
2271         * libgcov-merge.c (__gcov_merge_single): Move to ...
2272         (__gcov_merge_topn): ... this.
2273         (merge_single_value_set): Move to ...
2274         (merge_topn_values_set): ... this.
2275         * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2276         ...
2277         (__gcov_topn_values_profiler_body): ... this.
2278         (__gcov_one_value_profiler_v2): Move to ...
2279         (__gcov_topn_values_profiler): ... this.
2280         (__gcov_one_value_profiler_v2_atomic): Move to ...
2281         (__gcov_topn_values_profiler_atomic): ... this.
2282         (__gcov_indirect_call_profiler_v4): Remove.
2283         * libgcov-util.c (__gcov_single_counter_op): Move to ...
2284         (__gcov_topn_counter_op): ... this.
2285         * libgcov.h (L_gcov_merge_single): Remove.
2286         (L_gcov_merge_topn): New.
2287         (__gcov_merge_single): Remove.
2288         (__gcov_merge_topn): New.
2289         (__gcov_one_value_profiler_v2): Move to ..
2290         (__gcov_topn_values_profiler): ... this.
2291         (__gcov_one_value_profiler_v2_atomic): Move to ...
2292         (__gcov_topn_values_profiler_atomic): ... this.
2293
2294 2019-07-03  Martin Liska  <mliska@suse.cz>
2295
2296         * libgcov-merge.c (merge_single_value_set): Support N values.
2297         * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2298
2299 2019-06-27  Ilia Diachkov  <ilia.diachkov@optimitech.com>
2300
2301         * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2302         (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2303         * configure.ac: Add --disable-tm-clone-registry option.
2304         * configure: Regenerate.
2305
2306 2019-06-27  Martin Liska  <mliska@suse.cz>
2307
2308         * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2309         dead assignments.
2310         * libgcov-util.c: Likewise.
2311
2312 2019-06-27  Martin Liska  <mliska@suse.cz>
2313
2314         * libgcov-util.c (gcov_profile_merge): Release allocated
2315         memory.
2316         (calculate_overlap): Likewise.
2317
2318 2019-06-25  Iain Sandoe  <iain@sandoe.co.uk>
2319
2320         * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2321         * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2322         Build objects for the out of line save/restore register functions
2323         so that they can be used for any supported Darwin version.
2324         * config/t-darwin: Default the build Darwin version to Darwin8
2325         (MacOS 10.4).
2326
2327 2019-06-25  Martin Liska  <mliska@suse.cz>
2328
2329         * libgcov-driver-system.c (replace_filename_variables): Do not
2330         call strlen with NULL argument.
2331
2332 2019-06-25  Andrew Stubbs  <ams@codesourcery.com>
2333
2334         * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2335         * config/gcn/unwind-gcn.c: New file.
2336
2337 2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
2338             Andrew Stubbs  <ams@codesourcery.com>
2339
2340         * configure: Regenerate.
2341         * config/gcn/gthr-gcn.h: New.
2342
2343 2019-06-18  Tom de Vries  <tdevries@suse.de>
2344
2345         * config/nvptx/crt0.c (__main): Declare.
2346
2347 2019-06-17  Matthew Green  <mrg@eterna.com.au>
2348             Maya Rashish  <coypu@sdf.org>
2349
2350         * config.host (aarch64*-*-netbsd*): New case.
2351
2352 2019-06-16  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2353
2354         * config/msp430/slli.S (__mspabi_sllll): New library function for
2355         performing a logical left shift of a 64-bit value.
2356         * config/msp430/srai.S (__mspabi_srall): New library function for
2357         performing a arithmetic right shift of a 64-bit value.
2358         * config/msp430/srll.S (__mspabi_srlll): New library function for
2359         performing a logical right shift of a 64-bit value.
2360
2361 2019-06-14  Matt Thomas  <matt@3am-software.com>
2362             Matthew Green  <mrg@eterna.com.au>
2363             Nick Hudson  <skrll@netbsd.org>
2364             Maya Rashish  <coypu@sdf.org>
2365
2366         * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2367         * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2368         functions to build.
2369         * config/arm/t-netbsd-eabi: New file.
2370
2371 2019-06-12  Dimitar Dimitrov  <dimitar@dinux.eu>
2372
2373         * config.host: Add PRU target.
2374         * config/pru/asri.c: New file.
2375         * config/pru/eqd.c: New file.
2376         * config/pru/eqf.c: New file.
2377         * config/pru/ged.c: New file.
2378         * config/pru/gef.c: New file.
2379         * config/pru/gtd.c: New file.
2380         * config/pru/gtf.c: New file.
2381         * config/pru/led.c: New file.
2382         * config/pru/lef.c: New file.
2383         * config/pru/lib2bitcountHI.c: New file.
2384         * config/pru/lib2divHI.c: New file.
2385         * config/pru/lib2divQI.c: New file.
2386         * config/pru/lib2divSI.c: New file.
2387         * config/pru/libgcc-eabi.ver: New file.
2388         * config/pru/ltd.c: New file.
2389         * config/pru/ltf.c: New file.
2390         * config/pru/mpyll.S: New file.
2391         * config/pru/pru-abi.h: New file.
2392         * config/pru/pru-asm.h: New file.
2393         * config/pru/pru-divmod.h: New file.
2394         * config/pru/sfp-machine.h: New file.
2395         * config/pru/t-pru: New file.
2396
2397 2019-06-11  Jakub Jelinek  <jakub@redhat.com>
2398
2399         * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2400
2401 2019-06-10  Martin Liska  <mliska@suse.cz>
2402
2403         PR bootstrap/90808
2404         * libgcov.h: Add ATTRIBUTE_UNUSED.
2405
2406 2019-06-10  Martin Liska  <mliska@suse.cz>
2407
2408         * Makefile.in: Add __gcov_one_value_profiler_v2,
2409         __gcov_one_value_profiler_v2_atomic and
2410         __gcov_indirect_call_profiler_v4.
2411         * libgcov-merge.c (__gcov_merge_single): Change
2412         function signature.
2413         (merge_single_value_set): New.
2414         * libgcov-profiler.c (__gcov_one_value_profiler_body):
2415         Update functionality.
2416         (__gcov_one_value_profiler): Remove.
2417         (__gcov_one_value_profiler_v2): ... this.
2418         (__gcov_one_value_profiler_atomic): Rename to ...
2419         (__gcov_one_value_profiler_v2_atomic): this.
2420         (__gcov_indirect_call_profiler_v3): Rename to ...
2421         (__gcov_indirect_call_profiler_v4): ... this.
2422         * libgcov.h (__gcov_one_value_profiler): Remove.
2423         (__gcov_one_value_profiler_atomic): Remove.
2424         (__gcov_one_value_profiler_v2_atomic): New.
2425         (__gcov_indirect_call_profiler_v3): Remove.
2426         (__gcov_one_value_profiler_v2): New.
2427         (__gcov_indirect_call_profiler_v4): New.
2428         (gcov_get_counter_ignore_scaling): New function.
2429
2430 2019-06-07  Martin Liska  <mliska@suse.cz>
2431
2432         * Makefile.in: Remove usage of
2433         _gcov_merge_icall_topn.
2434         * libgcov-driver.c (gcov_sort_n_vals): Remove.
2435         (gcov_sort_icall_topn_counter): Likewise.
2436         (gcov_sort_topn_counter_arrays): Likewise.
2437         (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2438         * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2439         * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2440         Likewise.
2441         (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2442         (struct indirect_call_tuple): Remove.
2443         (__gcov_indirect_call_topn_profiler): Remove.
2444         * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2445         * libgcov.h (gcov_sort_n_vals): Remove.
2446         (L_gcov_merge_icall_topn): Likewise.
2447         (__gcov_merge_icall_topn): Likewise.
2448         (__gcov_indirect_call_topn_profiler): Likewise.
2449
2450 2019-06-06  Iain Sandoe  <iain@sandoe.co.uk>
2451
2452         * config/rs6000/t-darwin: Ensure that the unwinder is built with
2453         altivec enabled.
2454
2455 2019-06-06  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
2456
2457         * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2458         section.
2459         (__mspabi_slli): Likewise.
2460         (__mspabi_slll_n): Likewise.
2461         (__mspabi_slll): Likewise.
2462         * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2463         (__mspabi_srai): Likewise.
2464         (__mspabi_sral_n): Likewise.
2465         (__mspabi_sral): Likewise.
2466         * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2467         (__mspabi_srli): Likewise.
2468         (__mspabi_srll_n): Likewise.
2469         (__mspabi_srll): Likewise.
2470
2471 2019-06-05  Yoshinori Sato  <ysato@users.sourceforge.jp>
2472
2473         * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2474         Add appropriate tm_file clause as well.
2475         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2476
2477 2019-06-05  James Clarke  <jrtc27@jrtc27.com>
2478
2479         * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2480         rather than .data/.bss so it can be accessed via gp-relative
2481         addressing.
2482
2483 2019-06-05  David Edelsohn  <dje.gcc@gmail.com>
2484
2485         * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
2486         (CR2_REGNO): Rename to R_CR2.
2487         (XER_REGNO): Rename to R_XER.
2488         (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
2489         (VRSAVE_REGNO): Rename to R_VRSAVE.
2490         (VSCR_REGNO): R_VSCR.
2491
2492 2019-05-29  Yoshinori Sato  <ysato@users.sourceforge.jp>
2493
2494         * config.host (rx-*-linux*): Add new case.
2495         * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
2496
2497 2019-05-29  Sam Tebbs  <sam.tebbs@arm.com>
2498
2499         * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
2500         function.
2501         * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
2502         aarch64_post_frob_eh_handler_addr): Add check for b-key.
2503         * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
2504         aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
2505         Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
2506         * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
2507         string.
2508         * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
2509         string.
2510         (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
2511
2512 2019-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2513
2514         * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
2515         Remove Solaris 9 and 10 support.
2516         (sparc_is_sighandler): Likewise.
2517
2518 2019-05-26  John David Anglin  <danglin@gcc.gnu.org>
2519
2520         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2521
2522 2019-05-17  H.J. Lu  <hongjiu.lu@intel.com>
2523
2524         * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2525         4_FP_W_TYPEs are used for IEEE quad precision.
2526         * soft-fp/extendhftf2.c: Likewise.
2527         * soft-fp/extendsftf2.c: Likewise.
2528         * soft-fp/extendxftf2.c: Likewise.
2529         * soft-fp/trunctfdf2.c: Likewise.
2530         * soft-fp/trunctfhf2.c: Likewise.
2531         * soft-fp/trunctfsf2.c: Likewise.
2532         * soft-fp/trunctfxf2.c: Likewise.
2533         * config/rs6000/ibm-ldouble.c: Likewise.
2534
2535 2019-05-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2536
2537         * config.host: Simplify various *-*-solaris2.1[0-9]* to
2538         *-*-solaris2*.
2539         * configure.ac: Likewise.
2540         * configure: Regenerate.
2541
2542         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2543         Solaris 10 and Solaris 11 < snv_125 handling.
2544
2545 2019-05-12  Iain Sandoe  <iain@sandoe.co.uk>
2546
2547         * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
2548
2549 2019-05-07  Hongtao Liu  <hongtao.liu@intel.com>
2550
2551         * config/i386/cpuinfo.c (get_available_features): Detect BF16.
2552         * config/i386/cpuinfo.h (enum processor_features): Add
2553         FEATURE_AVX512BF16.
2554
2555 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2556             Bernd Edlinger  <bernd.edlinger@hotmail.de>
2557             Jakub Jelinek  <jakub@redhat.com>
2558
2559         PR target/89093
2560         * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2561         * config/arm/unwind-arm.c: Likewise.
2562         * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2563         attribute for ARM.
2564
2565 2019-04-15  Monk Chiang  <sh.chiang04@gmail.com>
2566
2567         * config/nds32/linux-unwind.h (SIGRETURN): Remove.
2568         (RT_SIGRETURN): Update.
2569         (nds32_fallback_frame_state): Update.
2570
2571 2019-02-21  Martin Sebor  <msebor@redhat.com>
2572
2573         * libgcc2.h (__clear_cache): Correct signature.
2574         * libgcc2.c (__clear_cache): Same.
2575
2576 2019-02-20  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2577
2578         * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2579         Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2580
2581 2019-02-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2582
2583         * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2584         regno instead of index to DWARF_ZERO_REG.
2585
2586 2019-02-15  Eric Botcazou  <ebotcazou@adacore.com>
2587
2588         * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2589         TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2590
2591 2019-01-31  UroÅ¡ Bizjak  <ubizjak@gmail.com>
2592
2593         * config/alpha/t-linux: Add -mfp-rounding-mode=d
2594         to HOST_LIBGCC2_CFLAGS.
2595
2596 2019-01-23  Joseph Myers  <joseph@codesourcery.com>
2597
2598         PR libgcc/88931
2599         * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
2600
2601 2019-01-18  Martin Liska  <mliska@suse.cz>
2602
2603         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2604         to ...
2605         (__gcov_indirect_call_profiler_v3): ... this.
2606         * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2607         (__gcov_indirect_call_profiler_v3): Likewise.
2608         * Makefile.in: Bump function name.
2609
2610 2019-01-18  Martin Liska  <mliska@suse.cz>
2611
2612         * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2613         (gcov_version): Use in gcov_error.
2614         (merge_one_data): Likewise.
2615         (dump_one_gcov): Likewise.
2616
2617 2019-01-18  Martin Liska  <mliska@suse.cz>
2618
2619         * libgcov-driver.c (gcov_version_string): New function.
2620         (gcov_version): Convert version integer into string.
2621
2622 2019-01-17  Andrew Stubbs  <ams@codesourcery.com>
2623             Kwok Cheung Yeung  <kcy@codesourcery.com>
2624             Julian Brown  <julian@codesourcery.com>
2625             Tom de Vries  <tom@codesourcery.com>
2626
2627         * config.host: Recognize amdgcn*-*-amdhsa.
2628         * config/gcn/crt0.c: New file.
2629         * config/gcn/lib2-divmod-hi.c: New file.
2630         * config/gcn/lib2-divmod.c: New file.
2631         * config/gcn/lib2-gcn.h: New file.
2632         * config/gcn/sfp-machine.h: New file.
2633         * config/gcn/t-amdgcn: New file.
2634
2635 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
2636
2637         PR other/16615
2638
2639         * config/c6x/libunwind.S: Mechanically replace "can not" with
2640         "cannot".
2641         * config/tilepro/atomic.h: Likewise.
2642         * config/vxlib-tls.c: Likewise.
2643         * generic-morestack-thread.c: Likewise.
2644         * generic-morestack.c: Likewise.
2645         * mkmap-symver.awk: Likewise.
2646
2647 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
2648
2649         Update copyright years.
2650
2651 2018-12-20  H.J. Lu  <hongjiu.lu@intel.com>
2652
2653         * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2654         to ignore -Waddress-of-packed-member.
2655
2656 2018-12-19  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
2657
2658         * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2659         parameter and corresponding code.
2660         (ARM_FUNC_START): Likewise in both definitions.
2661         Also update footer comment about condition that need to match with
2662         gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2663         * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2664         defined.  Weakly define it in this case.
2665         * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2666         * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2667         _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2668         comment to keep condition in sync with the one in
2669         libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2670
2671 2018-12-18  Wei Xiao  <wei3.xiao@intel.com>
2672
2673         * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2674         * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2675
2676 2018-12-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2677
2678         * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2679         and .cfi_endproc directives for VxWorks targets.
2680
2681 2018-12-05  Paul Koning  <ni1d@arrl.net>
2682
2683         * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2684
2685 2018-11-27  Alan Modra  <amodra@gmail.com>
2686
2687         * config/rs6000/morestack.S (__stack_split_initialize),
2688         (__morestack_get_guard, __morestack_set_guard),
2689         (__morestack_make_guard): Provide CFI covering these functions.
2690         * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2691
2692 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
2693
2694         * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
2695         (sc_pt_regs_lr): Update for kernel.
2696         (sc_pt_regs_tls): Update for kernel.
2697
2698 2018-11-15  Xianmiao Qu  <xianmiao_qu@c-sky.com>
2699
2700         * config/csky/linux-unwind.h: Fix coding style.
2701
2702 2018-11-13  Xianmiao Qu  <xianmiao_qu@c-sky.com>
2703
2704         * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
2705         (csky_fallback_frame_state): Modify the check of the
2706         instructions to adapt to changes in the kernel
2707
2708 2018-11-09  Stafford Horne  <shorne@gmail.com>
2709             Richard Henderson  <rth@twiddle.net>
2710
2711         * config.host: Add OpenRISC support.
2712         * config/or1k/*: New.
2713
2714 2018-11-08  Kito Cheng  <kito@andestech.com>
2715
2716         * soft-fp/adddf3.c: Update from glibc.
2717         * soft-fp/addsf3.c: Likewise.
2718         * soft-fp/addtf3.c: Likewise.
2719         * soft-fp/divdf3.c: Likewise.
2720         * soft-fp/divsf3.c: Likewise.
2721         * soft-fp/divtf3.c: Likewise.
2722         * soft-fp/double.h: Likewise.
2723         * soft-fp/eqdf2.c: Likewise.
2724         * soft-fp/eqsf2.c: Likewise.
2725         * soft-fp/eqtf2.c: Likewise.
2726         * soft-fp/extenddftf2.c: Likewise.
2727         * soft-fp/extended.h: Likewise.
2728         * soft-fp/extendhftf2.c: Likewise.
2729         * soft-fp/extendsfdf2.c: Likewise.
2730         * soft-fp/extendsftf2.c: Likewise.
2731         * soft-fp/extendxftf2.c: Likewise.
2732         * soft-fp/fixdfdi.c: Likewise.
2733         * soft-fp/fixdfsi.c: Likewise.
2734         * soft-fp/fixdfti.c: Likewise.
2735         * soft-fp/fixhfti.c: Likewise.
2736         * soft-fp/fixsfdi.c: Likewise.
2737         * soft-fp/fixsfsi.c: Likewise.
2738         * soft-fp/fixsfti.c: Likewise.
2739         * soft-fp/fixtfdi.c: Likewise.
2740         * soft-fp/fixtfsi.c: Likewise.
2741         * soft-fp/fixtfti.c: Likewise.
2742         * soft-fp/fixunsdfdi.c: Likewise.
2743         * soft-fp/fixunsdfsi.c: Likewise.
2744         * soft-fp/fixunsdfti.c: Likewise.
2745         * soft-fp/fixunshfti.c: Likewise.
2746         * soft-fp/fixunssfdi.c: Likewise.
2747         * soft-fp/fixunssfsi.c: Likewise.
2748         * soft-fp/fixunssfti.c: Likewise.
2749         * soft-fp/fixunstfdi.c: Likewise.
2750         * soft-fp/fixunstfsi.c: Likewise.
2751         * soft-fp/fixunstfti.c: Likewise.
2752         * soft-fp/floatdidf.c: Likewise.
2753         * soft-fp/floatdisf.c: Likewise.
2754         * soft-fp/floatditf.c: Likewise.
2755         * soft-fp/floatsidf.c: Likewise.
2756         * soft-fp/floatsisf.c: Likewise.
2757         * soft-fp/floatsitf.c: Likewise.
2758         * soft-fp/floattidf.c: Likewise.
2759         * soft-fp/floattihf.c: Likewise.
2760         * soft-fp/floattisf.c: Likewise.
2761         * soft-fp/floattitf.c: Likewise.
2762         * soft-fp/floatundidf.c: Likewise.
2763         * soft-fp/floatundisf.c: Likewise.
2764         * soft-fp/floatunditf.c: Likewise.
2765         * soft-fp/floatunsidf.c: Likewise.
2766         * soft-fp/floatunsisf.c: Likewise.
2767         * soft-fp/floatunsitf.c: Likewise.
2768         * soft-fp/floatuntidf.c: Likewise.
2769         * soft-fp/floatuntihf.c: Likewise.
2770         * soft-fp/floatuntisf.c: Likewise.
2771         * soft-fp/floatuntitf.c: Likewise.
2772         * soft-fp/gedf2.c: Likewise.
2773         * soft-fp/gesf2.c: Likewise.
2774         * soft-fp/getf2.c: Likewise.
2775         * soft-fp/half.h: Likewise.
2776         * soft-fp/ledf2.c: Likewise.
2777         * soft-fp/lesf2.c: Likewise.
2778         * soft-fp/letf2.c: Likewise.
2779         * soft-fp/muldf3.c: Likewise.
2780         * soft-fp/mulsf3.c: Likewise.
2781         * soft-fp/multf3.c: Likewise.
2782         * soft-fp/negdf2.c: Likewise.
2783         * soft-fp/negsf2.c: Likewise.
2784         * soft-fp/negtf2.c: Likewise.
2785         * soft-fp/op-1.h: Likewise.
2786         * soft-fp/op-2.h: Likewise.
2787         * soft-fp/op-4.h: Likewise.
2788         * soft-fp/op-8.h: Likewise.
2789         * soft-fp/op-common.h: Likewise.
2790         * soft-fp/quad.h: Likewise.
2791         * soft-fp/single.h: Likewise.
2792         * soft-fp/soft-fp.h: Likewise.
2793         * soft-fp/subdf3.c: Likewise.
2794         * soft-fp/subsf3.c: Likewise.
2795         * soft-fp/subtf3.c: Likewise.
2796         * soft-fp/truncdfsf2.c: Likewise.
2797         * soft-fp/trunctfdf2.c: Likewise.
2798         * soft-fp/trunctfhf2.c: Likewise.
2799         * soft-fp/trunctfsf2.c: Likewise.
2800         * soft-fp/trunctfxf2.c: Likewise.
2801         * soft-fp/unorddf2.c: Likewise.
2802         * soft-fp/unordsf2.c: Likewise.
2803         * soft-fp/unordtf2.c: Likewise.
2804
2805 2018-11-04  Venkataramanan Kumar  <Venkataramanan.kumar@amd.com>
2806
2807         * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2808         * config/i386/cpuinfo.h (processor_types): Add znver2.
2809
2810 2018-11-01  Paul Koning  <ni1d@arrl.net>
2811
2812         * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2813         (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2814
2815 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
2816
2817         PR bootstrap/82856
2818         * configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
2819         * configure: Regenerate.
2820
2821 2018-10-31  Claudiu Zissulescu  <claziss@synopsys.com>
2822
2823         * config/arc/lib1funcs.S (_muldi3): New function.
2824         * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2825
2826 2018-10-30  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2827
2828         * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2829
2830 2018-10-25  Martin Liska  <mliska@suse.cz>
2831
2832         PR other/87735
2833         * libgcov-profiler.c: Revert.
2834
2835 2018-10-24  Martin Liska  <mliska@suse.cz>
2836
2837         * libgcov-profiler.c: Start from 1 in order to distinguish
2838         functions which were seen and these that were not.
2839
2840 2018-10-18  Paul Koning  <ni1d@arrl.net>
2841
2842         * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2843         standard.
2844         * divmod.c: Update references to __udivmodsi4.
2845         * udivmod.c: Ditto.
2846         * udivhi3.c: New file.
2847         * udivmodhi4.c: New file.
2848         * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2849
2850 2018-10-17  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2851
2852         * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2853
2854 2018-10-12  Olivier Hainque  <hainque@adacore.com>
2855
2856         * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2857         defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2858
2859 2018-10-08  Paul Koning  <ni1d@arrl.net>
2860
2861         * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2862
2863 2018-10-04  Martin Liska  <mliska@suse.cz>
2864
2865         PR gcov-profile/84107
2866         * libgcov-profiler.c (__gcov_indirect_call):
2867         Change type to indirect_call_tuple.
2868         (struct indirect_call_tuple): New struct.
2869         (__gcov_indirect_call_topn_profiler): Change type.
2870         (__gcov_indirect_call_profiler_v2): Use the new
2871         variables.
2872         * libgcov.h (struct indirect_call_tuple): New struct
2873         definition.
2874
2875 2018-10-03  Uros Bizjak  <ubizjak@gmail.com>
2876
2877         * libgcc2.c (isnan): Use __builtin_isnan.
2878         (isfinite): Use __builtin_isfinite.
2879         (isinf): Use __builtin_isinf.
2880
2881 2018-09-26  Uros Bizjak  <ubizjak@gmail.com>
2882
2883         * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2884
2885 2018-09-21  Alexandre Oliva  <oliva@adacore.com>
2886
2887         * config/vxcache.c: New file.  Provide __clear_cache, based on
2888         the cacheTextUpdate VxWorks service.
2889         * config/t-vxworks (LIB2ADD): Add vxcache.c.
2890         (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2891         * config/t-vxwoks7: Likewise.
2892
2893 2018-09-21  Martin Liska  <mliska@suse.cz>
2894
2895         * libgcov-driver.c (crc32_unsigned): Remove.
2896         (gcov_histogram_insert): Likewise.
2897         (gcov_compute_histogram): Likewise.
2898         (compute_summary): Simplify rapidly.
2899         (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2900         (merge_summary): Rapidly simplify.
2901         (dump_one_gcov): Ignore gcov_summary.
2902         (gcov_do_dump): Do not handle program summary, it's not
2903         used.
2904         * libgcov-util.c (tag_summary): Remove.
2905         (read_gcda_finalize): Fix coding style.
2906         (read_gcda_file): Initialize curr_object_summary.
2907         (compute_summary): Remove.
2908         (calculate_overlap): Remove settings of run_max.
2909
2910 2018-09-21  Monk Chiang  <sh.chiang04@gmail.com>
2911
2912         * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2913         ucontext_t type instead.
2914         (nds32_fallback_frame_state): Remove struct _sigframe statement.
2915
2916 2018-09-21  Kito Cheng  <kito.cheng@gmail.com>
2917
2918         * config/nds32/t-nds32-glibc: New file.
2919
2920 2018-09-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
2921
2922         * configure.ac (solaris_ld_v2_maps): New test.
2923         * configure: Regenerate.
2924         * Makefile.in (solaris_ld_v2_maps): New variable.
2925         * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2926         if supported.
2927
2928 2018-08-23  Richard Earnshaw  <rearnsha@arm.com>
2929
2930         PR target/86951
2931         * config/arm/lib1funcs.asm (speculation_barrier): New function.
2932         * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2933         to build.
2934
2935 2018-08-22  Iain Sandoe  <iain@sandoe.co.uk>
2936
2937         * config/unwind-dw2-fde-darwin.c
2938         (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2939         * config/darwin10-unwind-find-enc-func.c: â€¦ to here.
2940         * config/t-darwin: Build Darwin10 unwinder shim crt.
2941         * libgcc/config.host: Add the Darwin10 unwinder shim.
2942
2943 2018-08-21  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2944
2945         * config.host: Add crtbegin.o and crtend.o for
2946         powerpc-wrs-vxworks target.
2947
2948 2018-08-17  Jojo  <jijie_rong@c-sky.com>
2949             Huibin Wang  <huibin_wang@c-sky.com>
2950             Sandra Loosemore  <sandra@codesourcery.com>
2951             Chung-Lin Tang  <cltang@codesourcery.com>
2952
2953         C-SKY port: libgcc
2954
2955         * config.host: Add C-SKY support.
2956         * config/csky/*: New.
2957
2958 2018-08-12  Chung-Ju Wu  <jasonwucj@gmail.com>
2959
2960         * config/nds32/t-nds32-isr: Rearrange object dependency.
2961         * config/nds32/initfini.c: Add dwarf2 unwinding support.
2962         * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2963         and registers usage.
2964         * config/nds32/isr-library/excp_isr.S: Ditto.
2965         * config/nds32/isr-library/intr_isr.S: Ditto.
2966         * config/nds32/isr-library/reset.S: Ditto.
2967         * config/nds32/isr-library/restore_all.inc: Ditto.
2968         * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2969         * config/nds32/isr-library/restore_partial.inc: Ditto.
2970         * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2971         * config/nds32/isr-library/save_all.inc: Ditto.
2972         * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2973         * config/nds32/isr-library/save_partial.inc: Ditto.
2974         * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2975         * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2976
2977 2018-08-11  John David Anglin  <danglin@gcc.gnu.org>
2978
2979         * config/pa/linux-atomic.c: Update comment.
2980         (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2981         COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2982         SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2983         __ATOMIC_RELAXED for atomic loads.
2984         (SYNC_LOCK_RELEASE_1): New define.  Use __sync_synchronize() and
2985         unordered store to release lock.
2986         (__sync_lock_release_8): Likewise.
2987         (SYNC_LOCK_RELEASE_2): Remove define.
2988
2989 2018-08-02  Nicolas Pitre <nico@fluxnic.net>
2990
2991         PR libgcc/86512
2992         * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2993         exponent goes negative. Update my email address.
2994         * config/arm/ieee754-sf.S: Likewise.
2995
2996 2018-08-01  Martin Liska  <mliska@suse.cz>
2997
2998         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
2999         check that  __gcov_indirect_call_callee is non-null.
3000
3001 2018-07-30  Christophe Lyon  <christophe.lyon@linaro.org>
3002
3003         * config/arm/ieee754-df.S: Fix comment for code working on
3004         architectures >= 4.
3005         * config/arm/ieee754-sf.S: Likewise.
3006
3007 2018-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3008
3009         PR libgcc/85334
3010         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3011         Removed.
3012
3013 2018-07-05  James Clarke  <jrtc27@jrtc27.com>
3014
3015         * configure: Regenerated.
3016
3017 2018-06-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3018
3019         * Makefile.in (install_leaf): Use enable_gcov instead of
3020         enable_libgcov.
3021
3022 2018-06-27  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3023
3024         * configure.ac: Add --disable-gcov option.
3025         * configure: Regenerate.
3026         * Makefile.in: Honour @enable_gcov@.
3027
3028 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
3029
3030         * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3031         __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3032         (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3033         * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3034         __ARM_ARCH__.
3035         * config/arm/ieee754-sf.S: Likewise.
3036         * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3037
3038 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
3039
3040         * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3041         longer supported.
3042         * config/arm/ieee754-sf.S: Likewise.
3043
3044 2018-06-20  Than McIntosh  <thanm@google.com>
3045
3046         PR libgcc/86213
3047         * generic-morestack.c (allocate_segment): Move calls to getenv and
3048         getpagesize to __morestack_load_mmap.
3049         (__morestack_load_mmap) Initialize static_pagesize and
3050         use_guard_page here so as to avoid clobbering SSE regs during a
3051         __morestack call.
3052
3053 2018-06-18  Michael Meissner  <meissner@linux.ibm.com>
3054
3055         * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3056         support modules with -mno-gnu-attribute.
3057         * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3058
3059 2018-06-07  Olivier Hainque  <hainque@adacore.com>
3060
3061         * config/t-vxworks (LIBGCC_INCLUDES): Add
3062         -I$(MULTIBUILDTOP)../../gcc/include.
3063         * config/t-vxworks7: Likewise. Reformat a bit to match
3064         the t-vxworks layout.
3065
3066 2018-06-07  Olga Makhotina  <olga.makhotina@intel.com>
3067
3068         * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3069
3070 2018-06-07  Martin Liska  <mliska@suse.cz>
3071
3072         * libgcov-driver.c: Rename cs_all to all and assign it from
3073         all_prg.
3074
3075 2018-06-07  Martin Liska  <mliska@suse.cz>
3076
3077         PR bootstrap/86057
3078         * libgcov-driver-system.c (replace_filename_variables): Use
3079         memcpy instead of mempcpy.
3080         (allocate_filename_struct): Do not allocate filename, allocate
3081         prefix and set it.
3082         (gcov_exit_open_gcda_file): Allocate memory for gf->filename
3083         here and properly copy content into it.
3084         * libgcov-driver.c (struct gcov_filename): Remove max_length
3085         field, change prefix from size_t into char *.
3086         (compute_summary): Do not calculate longest filename.
3087         (gcov_do_dump): Release memory of gf.filename after each file.
3088         * libgcov-util.c (compute_summary): Use new signature of
3089         compute_summary.
3090         (calculate_overlap): Likewise.
3091
3092 2018-06-05  Martin Liska  <mliska@suse.cz>
3093
3094         PR gcov-profile/47618
3095         * libgcov-driver-system.c (replace_filename_variables): New
3096         function.
3097         (gcov_exit_open_gcda_file): Use it.
3098
3099 2018-06-05  Martin Liska  <mliska@suse.cz>
3100
3101         * libgcov-driver.c (gcov_compute_histogram): Remove usage
3102         of gcov_ctr_summary.
3103         (compute_summary): Do it just for a single summary.
3104         (merge_one_data): Likewise.
3105         (merge_summary): Simplify as we read just single summary.
3106         (dump_one_gcov): Pass proper argument.
3107         * libgcov-util.c (compute_one_gcov): Simplify as we have just
3108         single summary.
3109         (gcov_info_count_all_cold): Likewise.
3110         (calculate_overlap): Likewise.
3111
3112 2018-06-02  Chung-Ju Wu  <jasonwucj@gmail.com>
3113             Monk Chiang  <sh.chiang04@gmail.com>
3114
3115         * config.host (nds32*-linux*): New.
3116         * config/nds32/linux-atomic.c: New file.
3117         * config/nds32/linux-unwind.h: New file.
3118
3119 2018-05-31  Uros Bizjak  <ubizjak@gmail.com>
3120
3121         PR target/85591
3122         * config/i386/cpuinfo.c (get_amd_cpu): Return
3123         AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3124
3125 2018-05-30  Rasmus Villemoes  <rasmus.villemoes@prevas.dk>
3126
3127         * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
3128
3129 2018-05-29  Martin Liska  <mliska@suse.cz>
3130
3131         PR gcov-profile/85759
3132         * libgcov-driver-system.c (gcov_error): Introduce usage of
3133         GCOV_EXIT_AT_ERROR env. variable.
3134         * libgcov-driver.c (merge_one_data): Print error that we
3135         overwrite a gcov file with a different timestamp.
3136
3137 2018-05-23  Kalamatee  <kalamatee@gmail.com>
3138
3139         * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3140         path to Lf$finfty.
3141
3142 2018-05-18  Kito Cheng <kito.cheng@gmail.com>
3143             Monk Chiang  <sh.chiang04@gmail.com>
3144             Jim Wilson <jimw@sifive.com>
3145
3146         * config/riscv/save-restore.S: Add support for rv32e.
3147
3148 2018-05-18  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3149
3150         * config/arm/libunwind.S: Update comment relating to armv5.
3151
3152 2018-05-17  Jerome Lambourg  <lambourg@adacore.com>
3153
3154         * config/arm/cmse.c (cmse_check_address_range): Replace
3155         UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3156
3157 2018-05-17  Olga Makhotina  <olga.makhotina@intel.com>
3158
3159         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3160         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3161
3162 2018-05-08  Olga Makhotina  <olga.makhotina@intel.com>
3163
3164         * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3165         * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3166
3167 2018-05-07  Amaan Cheval  <amaan.cheval@gmail.com>
3168
3169         * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3170
3171 2018-04-27  Andreas Tobler  <andreast@gcc.gnu.org>
3172             Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3173
3174         PR libgcc/84292
3175         * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3176         op_and_fetch to return the right result.
3177
3178 2018-04-27  Alan Modra  <amodra@gmail.com>
3179
3180         PR libgcc/85532
3181         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3182         -fno-asynchronous-unwind-tables.
3183
3184 2018-04-25  Chung-Ju Wu  <jasonwucj@gmail.com>
3185
3186         * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3187         * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3188
3189 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
3190
3191         * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3192         when including "config/i386/shadow-stack-unwind.h".
3193
3194 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
3195
3196         * configure: Regenerated.
3197
3198 2018-04-20  Michael Meissner  <meissner@linux.ibm.com>
3199
3200         PR target/85456
3201         * config/rs6000/_powikf2.c: New file.  Add support for the
3202         __builtin_powil function when long double is IEEE 128-bit floating
3203         point.
3204         * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3205         __powikf2 support.
3206         (__powikf2): Likewise.
3207         * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3208         (__powikf2_hw): Likewise.
3209         (__powikf2): Likewise.
3210         * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3211         * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3212         (_powikf2-hw.c): Likewise.
3213
3214 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
3215
3216         PR libgcc/85334
3217         * unwind-generic.h (_Unwind_Frames_Increment): New.
3218         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3219         Likewise.
3220         * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3221         count with _Unwind_Frames_Increment.
3222         (_Unwind_ForcedUnwind_Phase2): Likewise.
3223
3224 2018-04-19  H.J. Lu  <hongjiu.lu@intel.com>
3225
3226         PR libgcc/85379
3227         * config/i386/morestack.S (__stack_split_initialize): Add
3228         _CET_ENDBR.
3229
3230 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
3231
3232         * configure: Regenerated.
3233
3234 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
3235
3236         PR jit/85384
3237         * configure: Regenerate.
3238
3239 2018-04-16  Jakub Jelinek  <jakub@redhat.com>
3240
3241         PR target/84945
3242         * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3243         -Wdangling-else warnings.  Mask shift counts to avoid
3244         -Wshift-count-negative and -Wshift-count-overflow false positives.
3245
3246 2018-04-06  Ruslan Bukin  <br@bsdpad.com>
3247
3248         * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3249
3250 2018-03-29  H.J. Lu  <hongjiu.lu@intel.com>
3251
3252         PR target/85100
3253         * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3254         (XSTATE_FP): Likewise.
3255         (XSTATE_SSE): Likewise.
3256         (XSTATE_YMM): Likewise.
3257         (XSTATE_OPMASK): Likewise.
3258         (XSTATE_ZMM): Likewise.
3259         (XSTATE_HI_ZMM): Likewise.
3260         (XCR_AVX_ENABLED_MASK): Likewise.
3261         (XCR_AVX512F_ENABLED_MASK): Likewise.
3262         (get_available_features): Enable AVX and AVX512 features only
3263         if their states are supported by OSXSAVE.
3264
3265 2018-03-22  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3266
3267         PR target/85025
3268         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3269         Fix a typo, tmp => 255.
3270
3271 2018-03-20  Jakub Jelinek  <jakub@redhat.com>
3272
3273         PR target/84945
3274         * config/i386/cpuinfo.h (__cpu_features2): Declare.
3275         * config/i386/cpuinfo.c (__cpu_features2): New variable for
3276         ifndef SHARED only.
3277         (set_feature): Define.
3278         (get_available_features): Use set_feature macro.  Set __cpu_features2
3279         to the second word of features ifndef SHARED.
3280
3281 2018-03-15  Julia Koval  <julia.koval@intel.com>
3282
3283         * config/i386/cpuinfo.c (get_available_features): Add
3284         FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3285         FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3286         * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3287         FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3288         FEATURE_AVX512BITALG.
3289
3290 2018-03-14  Julia Koval  <julia.koval@intel.com>
3291
3292         * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3293         icelake client and icelake server.
3294
3295 2018-03-06  John David Anglin  <danglin@gcc.gnu.org>
3296
3297         * config/pa/fptr.c (_dl_read_access_allowed): New.
3298         (__canonicalize_funcptr_for_compare): Use it.
3299
3300 2018-02-28  Jakub Jelinek  <jakub@redhat.com>
3301
3302         PR debug/83917
3303         * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3304         $asm_hidden_op if visibility ("hidden") attribute works.
3305         (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3306         * config/i386/i386-asm.h: Don't include auto-host.h.
3307         (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3308         PACKAGE_URL): Don't undefine.
3309         (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3310         guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3311         (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3312         #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3313         definition instead of hardcoded .hidden.
3314         * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3315         directive.  Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3316         #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3317         (USE_GAS_CFI_DIRECTIVES): Don't define.
3318         * configure: Regenerated.
3319         * config.in: Likewise.
3320
3321 2018-02-26  Jakub Jelinek  <jakub@redhat.com>
3322
3323         PR debug/83917
3324         * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3325         PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3326         inclusion of auto-target.h and auto-host.h.
3327         (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3328         __GCC_HAVE_DWARF2_CFI_ASM.
3329         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3330         cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3331         cfi_pop): Define.
3332         * config/i386/cygwin.S: Don't include auto-host.h here, just
3333         define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3334         (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3335         cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3336         * config/i386/resms64fx.h: Add cfi_* directives.
3337         * config/i386/resms64x.h: Likewise.
3338
3339 2018-02-20  Max Filippov  <jcmvbkbc@gmail.com>
3340
3341         * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3342         .literal_position directive.
3343         * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3344
3345 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3346
3347         PR target/84148
3348         * configure: Regenerate.
3349
3350 2018-02-16  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3351
3352         PR target/84239
3353         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3354         Include cetintrin.h not x86intrin.h.
3355
3356 2018-02-08  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3357
3358         PR target/84239
3359         * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3360         Use new _get_ssp and _inc_ssp intrinsics.
3361
3362 2018-02-02  Julia Koval  <julia.koval@intel.com>
3363
3364         * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3365
3366 2018-01-26  Claudiu Zissulescu  <claziss@synopsys.com>
3367
3368         * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3369         option.
3370         (__divsi3): Use RF16 safe registers.
3371         (__modsi3): Likewise.
3372
3373 2018-01-23  Max Filippov  <jcmvbkbc@gmail.com>
3374
3375         * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3376         (__divsf3): Make NaN return value quiet.
3377         * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3378         (__divdf3): Make NaN return value quiet.
3379
3380 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3381
3382         * config/rl78/anddi3.S: New assembly file.
3383         * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3384
3385 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3386
3387         * config/rl78/umindi3.S: New assembly file.
3388         * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3389
3390 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3391
3392         * config/rl78/smindi3.S: New assembly file.
3393         * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3394
3395 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3396
3397         * config/rl78/smaxdi3.S: New assembly file.
3398         * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3399
3400 2018-01-22  Sebastian Perta  <sebastian.perta@renesas.com>
3401
3402         * config/rl78/umaxdi3.S: New assembly file.
3403         * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
3404
3405 2018-01-21  John David Anglin  <danglin@gcc.gnu.org>
3406
3407         PR lto/83452
3408         * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3409         * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
3410
3411 2018-01-13  Richard Sandiford  <richard.sandiford@linaro.org>
3412
3413         * config/aarch64/value-unwind.h (aarch64_vg): New function.
3414         (DWARF_LAZY_REGISTER_VALUE): Define.
3415         * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3416         to provide a fallback register value.
3417
3418 2018-01-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
3419
3420         * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3421         __ibm128, instead of trying to use long double.
3422         (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3423         accomidate -mabi=ieeelongdouble multilibs.
3424         (CVT_IBM128_TO_FLOAT128): Likewise.
3425         * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3426         the appropriate IBM extended double type.
3427         (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3428         (__gcc_qsub): Likewise.
3429         (__gcc_qmul): Likewise.
3430         (__gcc_qdiv): Likewise.
3431         (pack_ldouble): Likewise.
3432         (__gcc_qneg): Likewise.
3433         (__gcc_qeq): Likewise.
3434         (__gcc_qne): Likewise.
3435         (__gcc_qge): Likewise.
3436         (__gcc_qle): Likewise.
3437         (__gcc_stoq): Likewise.
3438         (__gcc_dtoq): Likewise.
3439         (__gcc_itoq): Likewise.
3440         (__gcc_utoq): Likewise.
3441         (__gcc_qunord): Likewise.
3442         * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3443         quad-float128.h for the definitions.
3444         (COPYSIGN): Use the f128 version instead of the q version.
3445         (INFINITY): Likewise.
3446         (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3447         * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3448         quad-float128.h for the definitions.
3449         (COPYSIGN): Use the f128 version instead of the q version.
3450         (INFINITY): Likewise.
3451         (FABS): Likewise.
3452         (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3453         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3454         * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3455
3456 2018-01-05  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3457
3458         * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3459         configuration.
3460
3461 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
3462
3463         Update copyright years.
3464
3465 2017-12-12  Kito Cheng  <kito.cheng@gmail.com>
3466
3467         * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3468         * config/riscv/multi3.c: New file.
3469         * config/riscv/multi3.S: Remove.
3470
3471 2017-12-08  Jim Wilson  <jimw@sifive.com>
3472
3473         * config/riscv/div.S: Use FUNC_* macros.
3474         * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3475         * config/riscv/save-restore.S: Likewise.
3476         * config/riscv/riscv-asm.h: New.
3477
3478 2017-11-30  Michael Meissner  <meissner@linux.vnet.ibm.com>
3479
3480         * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3481         * config/rs6000/_divkc3.c (__divkc3): Likewise.
3482
3483         PR libgcc/83112
3484         * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
3485         correct type for all ifunc resolvers to silence -Wattribute-alias
3486         warnings.  Eliminate the forward declaration of the resolver
3487         functions which is no longer needed.
3488         (__subkf3_resolve): Likewise.
3489         (__mulkf3_resolve): Likewise.
3490         (__divkf3_resolve): Likewise.
3491         (__negkf2_resolve): Likewise.
3492         (__eqkf2_resolve): Likewise.
3493         (__nekf2_resolve): Likewise.
3494         (__gekf2_resolve): Likewise.
3495         (__gtkf2_resolve): Likewise.
3496         (__lekf2_resolve): Likewise.
3497         (__ltkf2_resolve): Likewise.
3498         (__unordkf2_resolve): Likewise.
3499         (__extendsfkf2_resolve): Likewise.
3500         (__extenddfkf2_resolve): Likewise.
3501         (__trunckfsf2_resolve): Likewise.
3502         (__trunckfdf2_resolve): Likewise.
3503         (__fixkfsi_resolve): Likewise.
3504         (__fixkfdi_resolve): Likewise.
3505         (__fixunskfsi_resolve): Likewise.
3506         (__fixunskfdi_resolve): Likewise.
3507         (__floatsikf_resolve): Likewise.
3508         (__floatdikf_resolve): Likewise.
3509         (__floatunsikf_resolve): Likewise.
3510         (__floatundikf_resolve): Likewise.
3511         (__extendkftf2_resolve): Likewise.
3512         (__trunctfkf2_resolve): Likewise.
3513
3514         PR libgcc/83103
3515         * config/rs6000/quad-float128.h (TF): Don't define if long double
3516         is IEEE 128-bit floating point.
3517         (TCtype): Define as either TCmode or KCmode, depending on whether
3518         long double is IEEE 128-bit floating point.
3519         (__mulkc3_sw): Add declarations for software/hardware versions of
3520         complex multiply/divide.
3521         (__divkc3_sw): Likewise.
3522         (__mulkc3_hw): Likewise.
3523         (__divkc3_hw): Likewise.
3524         * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
3525         handlers to switch between using software emulation and hardware
3526         float128 instructions, build the complex multiply/divide functions
3527         for both software and hardware support.
3528         * config/rs6000/_divkc3.c (_divkc3): Likewise.
3529         * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
3530         (__divkc3_resolve): Likewise.
3531         (__mulkc3): Likewise.
3532         (__divkc3): Likewise.
3533         * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
3534         (fp128_hw_src): Likewise.
3535         (fp128_hw_static_obj): Likewise.
3536         (fp128_hw_shared_obj): Likewise.
3537         (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
3538         _mulkc3.c and _divkc3.c, changing the function name.
3539         (_divkc3-hw.c): Likewise.
3540         * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
3541         and _divkc3-hw.c.
3542
3543 2017-11-26  Julia Koval  <julia.koval@intel.com>
3544
3545         * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
3546         * config/i386/cpuinfo.h (processor_subtypes): Add
3547         INTEL_COREI7_CANNONLAKE.
3548
3549 2017-11-20  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3550
3551         PR bootstrap/83015
3552         * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
3553         parameter.
3554         * config/xtensa/unwind-dw2-xtensa.c: Likewise
3555         * config/ia64/unwind-ia64.c: Add frames parameter.
3556         * unwind-sjlj.c: Likewise.
3557
3558 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3559
3560         * config/i386/linux-unwind.h: Include
3561         config/i386/shadow-stack-unwind.h.
3562         * config/i386/shadow-stack-unwind.h: New file.
3563         * unwind-dw2.c: (uw_install_context): Add a frame parameter and
3564         pass it to _Unwind_Frames_Extra.
3565         * unwind-generic.h (_Unwind_Frames_Extra): New.
3566         * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3567         parameter. Add local variable frames to count number of frames.
3568         (_Unwind_ForcedUnwind_Phase2): Likewise.
3569         (_Unwind_RaiseException): Add local variable frames to count
3570         number of frames, pass it to _Unwind_RaiseException_Phase2 and
3571         uw_install_context.
3572         (_Unwind_ForcedUnwind): Likewise.
3573         (_Unwind_Resume): Likewise.
3574         (_Unwind_Resume_or_Rethrow): Likewise.
3575
3576 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
3577
3578         * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3579         (CET_FLAGS): New.
3580         * config/i386/morestack.S: Include <cet.h>.
3581         (__morestack_large_model): Add _CET_ENDBR at function entrance.
3582         * config/i386/resms64.h: Include <cet.h>.
3583         * config/i386/resms64f.h: Likewise.
3584         * config/i386/resms64fx.h: Likewise.
3585         * config/i386/resms64x.h: Likewise.
3586         * config/i386/savms64.h: Likewise.
3587         * config/i386/savms64f.h: Likewise.
3588         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3589         (CRTSTUFF_T_CFLAGS): Likewise.
3590         * configure.ac: Include ../config/cet.m4.
3591         Set and substitute CET_FLAGS.
3592         * configure: Regenerated.
3593
3594 2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
3595
3596         * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3597         renaming.
3598         * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3599         * configure.ac (libgcc_cv_solaris_crts): Likewise.
3600         * configure: Regenerate.
3601
3602 2017-11-07  Tom de Vries  <tom@codesourcery.com>
3603
3604         * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3605         after "do {} while (0)".
3606
3607 2017-11-07  Tom de Vries  <tom@codesourcery.com>
3608
3609         PR other/82784
3610         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3611         semicolon after "do {} while (0)".
3612         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3613         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3614         * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3615         * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3616
3617 2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>
3618
3619         PR libgcc/82635
3620         * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3621         sysctl to determine whether we're in a trampoline.
3622         Keep the pattern matching method for systems without
3623         KERN_PROC_SIGTRAMP sysctl.
3624
3625 2017-11-03  Cupertino Miranda  <cmiranda@synopsys.com>
3626             Vineet Gupta <vgupta@synopsys.com>
3627
3628         * config.host (arc*-*-linux*): Set md_unwind_header variable.
3629         * config/arc/linux-unwind-reg.def: New file.
3630         * config/arc/linux-unwind-reg.h: Likewise.
3631
3632 2017-10-23  Sebastian Perta  <sebastian.perta@renesas.com>
3633
3634         * config/rl78/subdi3.S: New assembly file.
3635         * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3636
3637 2017-10-13  Sebastian Perta  <sebastian.perta@renesas.com>
3638
3639         * config/rl78/adddi3.S: New assembly file.
3640         * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3641
3642 2017-10-13  Jakub Jelinek  <jakub@redhat.com>
3643
3644         PR target/82274
3645         * libgcc2.c (__mulvDI3): If both operands have
3646         the same highpart of -1 and the topmost bit of lowpart is 0,
3647         multiplication overflows even if both lowparts are 0.
3648
3649 2017-09-28  James Bowman  <james.bowman@ftdichip.com>
3650
3651         * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3652
3653 2017-09-26  Joseph Myers  <joseph@codesourcery.com>
3654
3655         * config/microblaze/crti.S, config/microblaze/crtn.S,
3656         config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3657         config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3658         config/microblaze/mulsi3.S,
3659         config/microblaze/stack_overflow_exit.S,
3660         config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3661         config/pa/milli64.S: Add .note.GNU-stack section.
3662
3663 2017-09-23  Daniel Santos  <daniel.santos@pobox.com>
3664
3665         * configure.ac: Add Check for HAVE_AS_AVX.
3666         * config.in: Regenerate.
3667         * configure: Likewise.
3668         * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3669         (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3670         Correct out-of-date comments.
3671
3672 2017-09-20  Sebastian Peryt  <sebastian.peryt@intel.com>
3673
3674         * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3675         * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3676
3677 2017-09-17  Daniel Santos  <daniel.santos@pobox.com>
3678
3679         * config/i386/i386-asm.h (PASTE2): New macro.
3680         (ASMNAME): Modify to use PASTE2.
3681         (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3682         (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
3683         * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3684         instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
3685         * config/i386/resms64f.S: Likewise.
3686         * config/i386/resms64fx.S: Likewise.
3687         * config/i386/resms64x.S: Likewise.
3688         * config/i386/savms64.S: Likewise.
3689         * config/i386/savms64f.S: Likewise.
3690         * config/i386/avx_resms64.S: New file that only defines a macro and
3691         includes it's corresponding header file.
3692         * config/i386/avx_resms64f.S: Likewise.
3693         * config/i386/avx_resms64fx.S: Likewise.
3694         * config/i386/avx_resms64x.S: Likewise.
3695         * config/i386/avx_savms64.S: Likewise.
3696         * config/i386/avx_savms64f.S: Likewise.
3697         * config/i386/sse_resms64.S: Likewise.
3698         * config/i386/sse_resms64f.S: Likewise.
3699         * config/i386/sse_resms64fx.S: Likewise.
3700         * config/i386/sse_resms64x.S: Likewise.
3701         * config/i386/sse_savms64.S: Likewise.
3702         * config/i386/sse_savms64f.S: Likewise.
3703         * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3704
3705 2017-09-01  Olivier Hainque  <hainque@adacore.com>
3706         * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3707
3708 2017-08-31  Olivier Hainque  <hainque@adacore.com>
3709
3710         * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3711         match as powerpc-wrs-vxworks*.
3712
3713 2017-08-07  Jonathan Yong  <10walls@gmail.com>
3714
3715         * config.host (*-cygwin): Include file from mingw
3716         config/i386/enable-execute-stack-mingw32.c
3717
3718 2017-08-01  Jerome Lambourg  <lambourg@adacore.com>
3719             Doug Rupp  <rupp@adacore.com>
3720             Olivier Hainque  <hainque@adacore.com>
3721
3722         * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3723         as well as arm-wrs-vxworks.
3724         * config/arm/t-vxworks7: New file.  Add unwind-arm-vxworks.c to
3725         LIB2ADDEH.
3726         * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3727         __exidx_start and __exidx_end for downloadable modules.
3728
3729 2017-08-01  Olivier Hainque  <hainque@adacore.com>
3730
3731         * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3732         * config/t-vxworks7: Likewise.
3733
3734 2017-08-01  Olivier Hainque  <hainque@adacore.com>
3735
3736         * config/t-vxworks: Instead of redefining LIB2ADD,
3737         augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3738
3739 2017-07-28  Sebastian Huber  <sebastian.huber@embedded-brains.de>
3740
3741         * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3742
3743 2017-07-24  Daniel Santos  <daniel.santos@pobox.com>
3744
3745         PR testsuite/80759
3746         * config.host: include i386/t-msabi for darwin and solaris.
3747         * config/i386/i386-asm.h
3748         (ELFFN): Rename to FN_TYPE.
3749         (FN_SIZE): New macro.
3750         (FN_HIDDEN): Likewise.
3751         (ASMNAME): Likewise.
3752         (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3753         .globl.
3754         (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3755         (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3756         * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3757         .macro.
3758         * config/i386/resms64f.S: Likewise.
3759         * config/i386/resms64fx.S: Likewise.
3760         * config/i386/resms64x.S: Likewise.
3761         * config/i386/savms64.S: Likewise.
3762         * config/i386/savms64f.S: Likewise.
3763
3764 2017-07-19  John Marino  <gnugcc@marino.st>
3765
3766         * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3767
3768 2017-07-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
3769
3770         PR target/81193
3771         * configure.ac (PowerPC float128 hardware support): Test whether
3772         we can use __builtin_cpu_supports before enabling the ifunc
3773         handler.
3774         * configure: Regenerate.
3775
3776 2017-07-10  Vineet Gupta <vgupta@synopsys.com>
3777
3778         * config.host: Remove uclibc from arc target spec.
3779
3780 2017-07-09  Krister Walfridsson  <krister.walfridsson@gmail.com>
3781
3782         * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3783
3784 2017-07-07  Peter Bergner  <bergner@vnet.ibm.com>
3785
3786         * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3787         (have_ieee_hw_p): Delete function.
3788         (SW_OR_HW) Use __builtin_cpu_supports().
3789
3790 2017-07-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3791
3792         * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3793
3794 2017-07-03  Olivier Hainque  <hainque@adacore.com>
3795
3796         * config/t-vxworks7: New file, really.
3797
3798 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
3799
3800         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3801         config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3802         config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3803         config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3804         x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3805         uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3806         config/pa/linux-unwind.h (pa32_fallback_frame_state),
3807         config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3808         config/sh/linux-unwind.h (sh_fallback_frame_state),
3809         config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3810         config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3811         ucontext_t instead of struct ucontext.
3812
3813 2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
3814
3815         * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3816         (x86_64-wrs-vxworks7): Likewise.
3817
3818 2017-06-27  Olivier Hainque  <hainque@adacore.com>
3819
3820         * config/t-vxworks7: New file.
3821         * config.host (*-*-vxworks7): Use it.
3822
3823 2017-06-22  Matt Turner  <mattst88@gmail.com>
3824
3825         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3826         skylake case.
3827
3828 2017-06-21  Richard Biener  <rguenther@suse.de>
3829
3830         PR gcov-profile/81080
3831         * configure.ac: Add AC_SYS_LARGEFILE.
3832         * libgcov.h: Include auto-target.h before tsystem.h to pick
3833         up _FILE_OFFSET_BITS which might differ for multilibs.
3834         * config.in: Regenerate.
3835         * configure: Likewise.
3836
3837 2017-06-16  Richard Earnshaw  <rearnsha@arm.com>
3838
3839         * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3840
3841 2017-06-09  Martin Liska  <mliska@suse.cz>
3842
3843         * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3844         Reset __gcov_indirect_call_callee to NULL.
3845
3846 2017-06-08  Olivier Hainque  <hainque@adacore.com>
3847
3848         * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3849         the set of -I options, support for direct inclusions of net/uio.h
3850         by VxWorks header files via ioLib.h.
3851
3852 2017-06-07  Tony Reix  <tony.reix@atos.net>
3853             Matthieu Sarter  <matthieu.sarter.external@atos.net>
3854             David Edelsohn  <dje.gcc@gmail.com>
3855
3856         * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3857         unconditionally.
3858         (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support.  Add 32-bit
3859         AIX 7.2 support.
3860
3861 2017-06-02  Olivier Hainque  <hainque@adacore.com>
3862
3863         * config/vxlib.c (__gthread_once): Add missing value to
3864         return statement.
3865
3866 2017-05-30  Olivier Hainque  <hainque@adacore.com>
3867
3868         * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3869         dollar sign before $(MULTIDIR).
3870
3871 2017-05-26  Richard Henderson  <rth@redhat.com>
3872
3873         PR libgcc/80037
3874         * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3875
3876 2017-05-17  Andreas Tobler  <andreast@gcc.gnu.org>
3877
3878         * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3879         _Unwind_SetIP available as functions for arm*-*-freebsd*.
3880         * config/arm/unwind-arm.c: Implement the above.
3881
3882 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3883
3884         * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3885         section for a non-executable stack.
3886
3887 2017-05-14  Krister Walfridsson  <krister.walfridsson@gmail.com>
3888
3889         PR target/80600
3890         * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3891
3892 2017-05-14  Daniel Santos  <daniel.santos@pobox.com>
3893
3894         * config.host: Add i386/t-msabi to i386/t-linux file list.
3895         * config/i386/i386-asm.h: New file.
3896         * config/i386/resms64.S: New file.
3897         * config/i386/resms64f.S: New file.
3898         * config/i386/resms64fx.S: New file.
3899         * config/i386/resms64x.S: New file.
3900         * config/i386/savms64.S: New file.
3901         * config/i386/savms64f.S: New file.
3902         * config/i386/t-msabi: New file.
3903
3904 2017-05-09  Andreas Tobler  <andreast@gcc.gnu.org>
3905
3906         * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3907         arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3908
3909 2017-05-05  Joshua Conner  <joshconner@google.com>
3910
3911         * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3912         pc-relative indirect handling for fuchsia.
3913         * config/t-slibgcc-fuchsia: New file.
3914         * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
3915         x86_64-*-fuchsia*): Add definitions.
3916
3917 2017-04-19  Martin Liska  <mliska@suse.cz>
3918
3919         PR gcov-profile/80435
3920         * Makefile.in: Install gcov.h.
3921         * gcov.h: New file.
3922         * libgcov.h: Use the header and make __gcov_flush publicly
3923         visible.
3924
3925 2017-04-18  Martin Liska  <mliska@suse.cz>
3926
3927         PR gcov-profile/78783
3928         * libgcov-driver.c (gcov_get_filename): New function.
3929
3930 2017-04-07  Jeff Law  <law@redhat.com>
3931
3932         * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3933         target makefile fragment.
3934         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3935
3936 2017-04-07  Alan Modra  <amodra@gmail.com>
3937
3938         PR target/45053
3939         * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3940
3941 2017-04-03  Jonathan Wakely  <jwakely@redhat.com>
3942
3943         * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3944
3945 2017-03-27  Claudiu Zissulescu  <claziss@synopsys.com>
3946
3947         * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3948
3949 2017-03-10  John Marino  <gnugcc@marino.st>
3950
3951         * config/aarch64/freebsd-unwind.h: New file.
3952         * config.host: Add aarch64-*-freebsd unwinder.
3953
3954 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
3955
3956         * config/rs6000/crtrestvr.s: Use .machine altivec.
3957         * config/rs6000/crtsavevr.s: Ditto.
3958
3959 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
3960
3961         * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3962         modify CFLAGS.  Add -mabi=altivec -mvsx -mfloat128.
3963         (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3964         -mfloat128-hardware to the CFLAGS.  Fix syntax error in the C snippet.
3965         * configure: Regenerate.
3966         * config.in: Regenerate.
3967
3968 2017-03-02  Jonathan Yong <10walls@gmail.com>
3969
3970         * config/i386/gthr-win32.h: Define NOGDI before
3971         windows.h include to prevent w32api CC_NONE macro
3972         clash with libgfortran.
3973
3974 2017-03-02  Jonathan Yong <10walls@gmail.com>
3975
3976         * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3977
3978 2017-02-16  Andrew Pinski  <apinski@cavium.com>
3979
3980         * config/aarch64/value-unwind.h: New file.
3981         * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3982         to tm_file.
3983
3984 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
3985
3986         * config.host: Add RISC-V tuples.
3987         * config/riscv/atomic.c: New file.
3988         * config/riscv/crti.S: Likewise.
3989         * config/riscv/crtn.S: Likewise.
3990         * config/riscv/div.S: Likewise.
3991         * config/riscv/linux-unwind.h: Likewise.
3992         * config/riscv/muldi3.S: Likewise.
3993         * config/riscv/multi3.S: Likewise.
3994         * config/riscv/save-restore.S: Likewise.
3995         * config/riscv/sfp-machine.h: Likewise.
3996         * config/riscv/t-elf: Likewise.
3997         * config/riscv/t-elf32: Likewise.
3998         * config/riscv/t-elf64: Likewise.
3999         * config/riscv/t-softfp32: Likewise.
4000         * config/riscv/t-softfp64: Likewise.
4001
4002 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4003
4004         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4005         /* FALLTHRU */ comments.
4006
4007 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
4008
4009         * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4010
4011 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
4012
4013         * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4014         * unwind-dw2.c (execute_cfa_program):  Only multiplexing
4015         DW_CFA_GNU_window_save for AArch64 and LP64.
4016
4017 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
4018
4019         * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4020
4021 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
4022
4023         * config/aarch64/aarch64-unwind.h: New file.
4024         (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4025         (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4026         (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4027         (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4028         (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4029         (aarch64_post_extract_frame_addr): New function.
4030         (aarch64_post_frob_eh_handler_addr): New function.
4031         (aarch64_frob_update_context): New function.
4032         * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4033         * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4034         aarch64*-*-freebsd*):
4035         Initialize md_unwind_header to include aarch64-unwind.h.
4036         * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4037         (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4038         __aarch64__.
4039         (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4040         (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4041         (uw_frob_return_addr): New function.
4042         (uw_install_context): Use uw_frob_return_addr.
4043
4044 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
4045
4046         PR other/79046
4047         * configure.ac: Add GCC_BASE_VER.
4048         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4049         version from BASE-VER file.
4050         * configure: Regenerated.
4051
4052 2017-01-13  Joe Seymour  <joe.s@somniumtech.com>
4053
4054         * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4055         libmul_f5.a): Filter archived prerequisites.
4056
4057 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
4058
4059         * config/i386/cpuinfo.h (processor_features): Add
4060         FEATURE_AVX512VPOPCNTDQ.
4061         * config/i386/cpuinfo.c (get_available_features): Habdle new
4062         feature.
4063
4064 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4065
4066         * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4067         payload if [__mips_nan2008].
4068
4069 2017-01-04  Alan Modra  <amodra@gmail.com>
4070
4071         * Makefile.in (configure_deps): Update.
4072         * configure: Regenerate.
4073
4074 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
4075
4076         Update copyright years.
4077
4078 2016-12-19  Krister Walfridsson  <krister.walfridsson@gmail.com>
4079
4080         * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4081         * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4082         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4083
4084 2016-12-17  Matthias Klose  <doko@ubuntu.com>
4085
4086         * config/arc/gmon: Remove empty directory.
4087
4088 2016-12-16  Claudiu Zissulescu  <claziss@synopsys.com>
4089
4090         * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4091         crtgend.
4092         (arc*-*-elf*): Likewise.
4093         * config/arc/t-arc: Remove old gmon lib targets.
4094         * config/arc/crtg.S: Remove.
4095         * config/arc/crtgend.S: Likewise.
4096         * config/arc/gmon/atomic.h: Likewise.
4097         * config/arc/gmon/auxreg.h: Likewise.
4098         * config/arc/gmon/dcache_linesz.S: Likewise.
4099         * config/arc/gmon/gmon.c: Likewise.
4100         * config/arc/gmon/machine-gmon.h: Likewise.
4101         * config/arc/gmon/mcount.c: Likewise.
4102         * config/arc/gmon/prof-freq-stub.S: Likewise.
4103         * config/arc/gmon/prof-freq.c: Likewise.
4104         * config/arc/gmon/profil.S: Likewise.
4105         * config/arc/gmon/sys/gmon.h: Likewise.
4106         * config/arc/gmon/sys/gmon_out.h: Likewise.
4107         * config/arc/t-arc-newlib: Likewise.
4108         * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4109
4110 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
4111
4112         * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4113
4114 2016-12-12  George Spelvin  <linux@sciencehorizons.net>
4115
4116         * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4117         R16 instead of push + pop.
4118         (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4119
4120 2016-12-10  Krister Walfridsson  <krister.walfridsson@gmail.com>
4121
4122         * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4123         tmake_file.
4124
4125 2016-12-05  Cupertino Miranda  <cmiranda@synopsys.com>
4126
4127         * config.host (arc*-*-linux-uclibc*): Use default extra
4128         objects. Include linux-android header.
4129         * config/arc/crti.S (_init): Declare symbol as function.
4130         (_fini): Likewise.
4131
4132 2016-12-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
4133
4134         PR fortran/78379
4135         * config/i386/cpuinfo.c:  Move denums for processor vendors,
4136         processor type, processor subtypes and declaration of
4137         struct __processor_model into
4138         * config/i386/cpuinfo.h:  New header file.
4139
4140 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
4141             Thomas Preud'homme  <thomas.preudhomme@arm.com>
4142
4143         * config/arm/cmse_nonsecure_call.S: New.
4144         * config/arm/t-arm: Compile cmse_nonsecure_call.S
4145
4146 2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
4147             Thomas Preud'homme  <thomas.preudhomme@arm.com>
4148
4149         * config/arm/t-arm (HAVE_CMSE): New.
4150         * config/arm/cmse.c: New.
4151
4152 2016-11-28  Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4153
4154         PR gcc/74748
4155         * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4156         use generic linker version information on Blackfin.
4157
4158         PR gcc/74748
4159         * libgcc/mkmap-symver.awk: add support for skip_underscore
4160
4161 2016-11-27  Iain Sandoe  <iain@codesourcery.com>
4162             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4163
4164         PR target/67710
4165         *  config/t-darwin: Default builds to 10.5 codegen.
4166
4167 2016-11-24  James Greenhalgh  <james.greenhalgh@arm.com>
4168
4169         * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4170         (_FP_NANSIGN_H): Likewise.
4171         * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4172         (softfp_truncations): Add tfhf.
4173         (softfp_extras): Add required conversion functions.
4174
4175 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4176             Matthew Wahab  <matthew.wahab@arm.com>
4177
4178         * config/arm/fp16.c (binary64): New.
4179         (__gnu_d2h_internal): New.
4180         (__gnu_d2h_ieee): New.
4181         (__gnu_d2h_alternative): New.
4182
4183 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4184             Matthew Wahab  <matthew.wahab@arm.com>
4185
4186         * config/arm/fp16.c (struct format): New.
4187         (binary32): New.
4188         (__gnu_float2h_internal): New.  Body moved from
4189         __gnu_f2h_internal and generalize.
4190         (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4191         Call it with binary32.
4192
4193 2016-11-23  James Greenhalgh  <james.greenhalgh@arm.com>
4194
4195         * soft-fp/extendhftf2.c: Update from glibc.
4196         * soft-fp/fixhfti.c: Likewise.
4197         * soft-fp/fixunshfti.c: Likewise.
4198         * soft-fp/floattihf.c: Likewise.
4199         * soft-fp/floatuntihf.c: Likewise.
4200         * soft-fp/half.h: Likewise.
4201         * soft-fp/trunctfhf2.c: Likewise.
4202
4203 2016-11-20  Marc Glisse  <marc.glisse@inria.fr>
4204
4205         PR libgcc/77813
4206         * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4207         __TMC_END__ behind a passthrough asm.
4208
4209 2016-11-18  Walter Lee  <walt@tilera.com>
4210
4211         * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
4212
4213 2016-11-17  Andrew Senkevich <andrew.senkevich@intel.com>
4214
4215         * config/i386/cpuinfo.c (processor_features): Add
4216         FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4217
4218 2016-11-17  Claudiu Zissulescu  <claziss@synopsys.com>
4219
4220         * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4221         (__ARC_NORM__): Use instead ARC_OPTFPE.
4222         * config/arc/fp-hack.h: Likewise.
4223         * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4224         (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4225
4226 2016-11-16  Alexander Monakov  <amonakov@ispras.ru>
4227
4228         * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4229         * config/nvptx/mgomp.c: New file.
4230         * config/nvptx/t-nvptx: Add mgomp.c
4231
4232 2016-11-16  Waldemar Brodkorb  <wbx@openadk.org>
4233
4234         PR libgcc/68468
4235         * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4236
4237 2016-11-15  Claudiu Zissulescu  <claziss@synopsys.com>
4238
4239         * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4240         of checking for cpus.
4241         (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4242         (__modsi3, __clzsi2): Likewise.
4243
4244 2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4245
4246         * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4247         i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4248         * config/i386/t-cpuinfo-static: New.
4249
4250 2016-11-03  Martin Liska  <mliska@suse.cz>
4251
4252         * libgcov-profiler.c (__gcov_time_profiler): Remove.
4253         (__gcov_time_profiler_atomic): Likewise.
4254
4255 2016-11-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
4256
4257         PR libgcc/78067
4258         * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4259         count_leading_zeros.
4260
4261 2016-11-02  Uros Bizjak  <ubizjak@gmail.com>
4262
4263         * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4264         * libgcc2.c (__divmoddi4): New function.
4265         * libgcc2.h (__divmoddi4): Declare.
4266         * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4267         and __PFX_divmodti4.
4268
4269 2016-10-24  Florian Weimer  <fweimer@redhat.com>
4270
4271         PR libgcc/78064
4272         * unwind-c.c: Include auto-target.h.
4273
4274 2016-10-19  John David Anglin  <danglin@gcc.gnu.org>
4275
4276         * config/pa/pa64-hpux-lib.h: New file.
4277         (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4278         (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4279         * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4280         hppa*64*-*-hpux11*.
4281
4282 2016-10-18  Max Filippov  <jcmvbkbc@gmail.com>
4283
4284         * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4285         definition.
4286         * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4287         definition.
4288         * config/xtensa/t-windowed (LIB2ADDEH): Use
4289         LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4290         or xtensa/t-linux.
4291
4292 2016-10-18  Ding-Kai Chen  <dkchen@cadence.com>
4293
4294         * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4295         __ieee754_sqrt): New functions.
4296         (__divdf3): Add implementation with new FPU instructions under
4297         #if XCHAL_HAVE_DFP_DIV.
4298         * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4299         __ieee754_sqrtf): New functions.
4300         (__divsf3): Add implementation with new FPU instructions under
4301         #if XCHAL_HAVE_FP_DIV.
4302         * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4303         _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4304
4305 2016-10-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4306
4307         * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4308         equivalent.
4309         * config/tilepro/atomic.c: Likewise and stop casting model to
4310         enum memmodel.
4311
4312 2016-10-10  Joseph Myers  <joseph@codesourcery.com>
4313
4314         PR target/77586
4315         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4316         soft-fp.
4317
4318 2016-10-10  Andreas Tobler  <andreast@gcc.gnu.org>
4319
4320         * config.host: Add support for aarch64-*-freebsd*.
4321
4322 2016-10-05  Andreas Schwab  <schwab@suse.de>
4323
4324         * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4325         (.section .init_array): Don't call __do_jv_register_classes.
4326         (.section .init): Likewise.
4327
4328 2016-10-04  Jakub Jelinek  <jakub@redhat.com>
4329
4330         * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4331         (__JCR_LIST__): Remove.
4332         (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4333         * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4334         * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4335         * config/ia64/crtend.S (__JCR_END__): Remove.
4336         * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4337         conditionals.
4338         (__JCR_LIST__, __JCR_END__): Remove.
4339         (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4340         (__do_global_ctors_1): Likewise.
4341
4342 2015-09-28  Uros Bizjak  <ubizjak@gmail.com>
4343
4344         * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4345         (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4346
4347 2016-09-27  Martin Liska  <mliska@suse.cz>
4348
4349         PR gcov-profile/7970
4350         PR gcov-profile/16855
4351         PR gcov-profile/44779
4352         * libgcov-driver.c (__gcov_init): Do not register a atexit
4353         handler.
4354         (__gcov_exit): Rename from gcov_exit.
4355         * libgcov.h (__gcov_exit): Declare.
4356
4357 2016-09-27  Martin Liska  <mliska@suse.cz>
4358
4359         PR bootstrap/77749
4360         * Makefile.in: Remove _gcov_merge_delta.
4361         * libgcov-merge.c (void __gcov_merge_delta): Remove.
4362         * libgcov-util.c (__gcov_delta_counter_op): Remove.
4363         * libgcov.h: Remove declaration of __gcov_merge_delta.
4364
4365 2016-09-21  Eric Botcazou  <ebotcazou@adacore.com>
4366
4367         * configure.ac: Do not create links, only substitute the filenames.
4368         * configure: Regenerate.
4369         * Makefile.in: Assign the substitution results to variables.
4370         (LIBGCC_LINKS): Define.
4371         (enable-execute-stack.c): New rule.
4372         (unwind.h): Likewise.
4373         (md-unwind-support.h): Likewise.
4374         (sfp-machine.h): Likewise.
4375         (gthr-default.h): Likewise.
4376         Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4377         unwind.h as prerequisite of install-unwind_h-forbuild.
4378
4379 2016-09-16  Jakub Jelinek  <jakub@redhat.com>
4380
4381         PR libgcc/71744
4382         * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4383         is not the primary registry and atomics are available.
4384         (any_objects_registered): New variable.
4385         (__register_frame_info_bases, __register_frame_info_table_bases):
4386         Atomically store 1 to any_objects_registered after registering first
4387         unwind info.
4388         (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4389
4390 2016-09-09  James Greenhalgh  <james.greenhalgh@arm.com>
4391
4392         PR target/63250
4393         *  Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4394         * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4395         (HFtype): Likewise.
4396         (HCtype): Likewise.
4397         (__divhc3): Likewise.
4398         (__mulhc3): Likewise.
4399         * libgcc2.c: Support _mulhc3 and _divhc3.
4400
4401 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
4402
4403         PR libgcc/77519
4404         * libgcc2.c (NOTRUNC): Invert settings.
4405
4406 2016-09-06  Martin Liska  <mliska@suse.cz>
4407
4408         PR gcov-profile/77378
4409         PR gcov-profile/77466
4410         * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4411         conditionaly enable/disable *_atomic functions.
4412
4413 2016-08-26  Joseph Myers  <joseph@codesourcery.com>
4414
4415         * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4416         where not already enabled.
4417
4418 2016-08-25  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4419
4420         * config/mips/linux-unwind.h: Use sys/syscall.h.
4421
4422 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
4423
4424         PR libgcc/77265
4425         * soft-fp/adddf3.c: Update from glibc.
4426         * soft-fp/addsf3.c: Likewise.
4427         * soft-fp/addtf3.c: Likewise.
4428         * soft-fp/divdf3.c: Likewise.
4429         * soft-fp/divsf3.c: Likewise.
4430         * soft-fp/divtf3.c: Likewise.
4431         * soft-fp/double.h: Likewise.
4432         * soft-fp/eqdf2.c: Likewise.
4433         * soft-fp/eqsf2.c: Likewise.
4434         * soft-fp/eqtf2.c: Likewise.
4435         * soft-fp/extenddftf2.c: Likewise.
4436         * soft-fp/extended.h: Likewise.
4437         * soft-fp/extendsfdf2.c: Likewise.
4438         * soft-fp/extendsftf2.c: Likewise.
4439         * soft-fp/extendxftf2.c: Likewise.
4440         * soft-fp/fixdfdi.c: Likewise.
4441         * soft-fp/fixdfsi.c: Likewise.
4442         * soft-fp/fixdfti.c: Likewise.
4443         * soft-fp/fixsfdi.c: Likewise.
4444         * soft-fp/fixsfsi.c: Likewise.
4445         * soft-fp/fixsfti.c: Likewise.
4446         * soft-fp/fixtfdi.c: Likewise.
4447         * soft-fp/fixtfsi.c: Likewise.
4448         * soft-fp/fixtfti.c: Likewise.
4449         * soft-fp/fixunsdfdi.c: Likewise.
4450         * soft-fp/fixunsdfsi.c: Likewise.
4451         * soft-fp/fixunsdfti.c: Likewise.
4452         * soft-fp/fixunssfdi.c: Likewise.
4453         * soft-fp/fixunssfsi.c: Likewise.
4454         * soft-fp/fixunssfti.c: Likewise.
4455         * soft-fp/fixunstfdi.c: Likewise.
4456         * soft-fp/fixunstfsi.c: Likewise.
4457         * soft-fp/fixunstfti.c: Likewise.
4458         * soft-fp/floatdidf.c: Likewise.
4459         * soft-fp/floatdisf.c: Likewise.
4460         * soft-fp/floatditf.c: Likewise.
4461         * soft-fp/floatsidf.c: Likewise.
4462         * soft-fp/floatsisf.c: Likewise.
4463         * soft-fp/floatsitf.c: Likewise.
4464         * soft-fp/floattidf.c: Likewise.
4465         * soft-fp/floattisf.c: Likewise.
4466         * soft-fp/floattitf.c: Likewise.
4467         * soft-fp/floatundidf.c: Likewise.
4468         * soft-fp/floatundisf.c: Likewise.
4469         * soft-fp/floatunditf.c: Likewise.
4470         * soft-fp/floatunsidf.c: Likewise.
4471         * soft-fp/floatunsisf.c: Likewise.
4472         * soft-fp/floatunsitf.c: Likewise.
4473         * soft-fp/floatuntidf.c: Likewise.
4474         * soft-fp/floatuntisf.c: Likewise.
4475         * soft-fp/floatuntitf.c: Likewise.
4476         * soft-fp/gedf2.c: Likewise.
4477         * soft-fp/gesf2.c: Likewise.
4478         * soft-fp/getf2.c: Likewise.
4479         * soft-fp/ledf2.c: Likewise.
4480         * soft-fp/lesf2.c: Likewise.
4481         * soft-fp/letf2.c: Likewise.
4482         * soft-fp/muldf3.c: Likewise.
4483         * soft-fp/mulsf3.c: Likewise.
4484         * soft-fp/multf3.c: Likewise.
4485         * soft-fp/negdf2.c: Likewise.
4486         * soft-fp/negsf2.c: Likewise.
4487         * soft-fp/negtf2.c: Likewise.
4488         * soft-fp/op-1.h: Likewise.
4489         * soft-fp/op-2.h: Likewise.
4490         * soft-fp/op-4.h: Likewise.
4491         * soft-fp/op-8.h: Likewise.
4492         * soft-fp/op-common.h: Likewise.
4493         * soft-fp/quad.h: Likewise.
4494         * soft-fp/single.h: Likewise.
4495         * soft-fp/soft-fp.h: Likewise.
4496         * soft-fp/subdf3.c: Likewise.
4497         * soft-fp/subsf3.c: Likewise.
4498         * soft-fp/subtf3.c: Likewise.
4499         * soft-fp/truncdfsf2.c: Likewise.
4500         * soft-fp/trunctfdf2.c: Likewise.
4501         * soft-fp/trunctfsf2.c: Likewise.
4502         * soft-fp/trunctfxf2.c: Likewise.
4503         * soft-fp/unorddf2.c: Likewise.
4504         * soft-fp/unordsf2.c: Likewise.
4505         * soft-fp/unordtf2.c: Likewise.
4506
4507 2016-08-15  Gilles Gouaillardet  <gilles.gouaillardet@gmail.com>
4508
4509         PR gcov-profile/67097
4510         * libgcov-util.c (gcov_profile_merge): Skip missing files.
4511
4512 2016-08-10  Martin Liska  <mliska@suse.cz>
4513
4514         PR gcov-profile/58306
4515         * Makefile.in: New functions (modules) are added.
4516         * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
4517         function.
4518         (__gcov_pow2_profiler_atomic): New function.
4519         (__gcov_one_value_profiler_body): New argument is instroduced.
4520         (__gcov_one_value_profiler): Call with the new argument.
4521         (__gcov_one_value_profiler_atomic): Likewise.
4522         (__gcov_indirect_call_profiler_v2): Likewise.
4523         (__gcov_time_profiler_atomic): New function.
4524         (__gcov_average_profiler_atomic): Likewise.
4525         (__gcov_ior_profiler_atomic): Likewise.
4526         * libgcov.h: Declare the aforementioned functions.
4527
4528 2016-08-09  Martin Liska  <mliska@suse.cz>
4529
4530         * libgcov-util.c: Fix typo and GNU coding style.
4531
4532 2016-08-09  Martin Liska  <mliska@suse.cz>
4533
4534         * Makefile.in: Remove __gcov_indirect_call_profiler.
4535         * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
4536         function.
4537         * libgcov.h: And the declaration of the function.
4538
4539 2016-08-09  Martin Liska  <mliska@suse.cz>
4540
4541         * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
4542         power of two.
4543
4544 2016-07-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4545
4546         * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4547         * config/rs6000/_mulkc3.c: Likewise.
4548
4549 2016-07-29  Georg-Johann Lay  <avr@gjlay.de>
4550
4551         * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
4552         zero_reg as previous call to __umulhisi3 already cleared it.
4553
4554 2016-07-21  Aurelien Jarno <aurelien@aurel32.net>
4555
4556         PR target/59833
4557         * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4558
4559 2016-07-19  Nick Clifton  <nickc@redhat.com>
4560
4561         * config.host (m32r): Add m32r/t-m32r to tmake_file.
4562         Add crtinit.o and crtfini.o to extra_parts.
4563
4564 2016-07-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4565
4566         * config/rs6000/_divkc3.c: New.
4567         * config/rs6000/_mulkc3.c: New.
4568         * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4569         and _divkc3.
4570         * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4571         fp128_ppc_funcs.
4572
4573 2016-07-11  Hale Wang  <hale.wang@arm.com>
4574             Andre Vieira  <andre.simoesdiasvieira@arm.com>
4575
4576         * config/arm/lib1funcs.S: Add new wrapper.
4577
4578 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4579
4580         * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4581
4582 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4583
4584         * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4585         and ARMv5t* rather than for a fixed list of architectures.
4586
4587 2016-07-07  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4588
4589         * config/arm/bpabi-v6m.S: Clarify what architectures is the
4590         implementation suitable for.
4591         * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4592         for all Thumb-1 only targets.
4593         (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4594         (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4595         __ARM_ARCH_6M__.
4596         (EQUIV): Likewise.
4597         (ARM_FUNC_ALIAS): Likewise.
4598         (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4599         version.
4600         (modsi3): Likewise.
4601         (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4602         (clzdi2): Likewise.
4603         (ctzsi2): Likewise.
4604         (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4605         __ARM_ARCH_6M__ in guard for checking whether it is defined.
4606         (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4607         __ARM_ARCH_6M__ and add comment to indicate the connection between
4608         this condition and the one in gcc/config/arm/elf.h.
4609         * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4610         __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4611         * config/arm/t-softfp: Likewise.
4612
4613 2016-07-06  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4614
4615         * libgcc2.c (SYMBOL__MAIN): Remove checks for
4616         CTOR_LISTS_DEFINED_EXTERNALLY.
4617
4618 2016-06-28  Walter Lee  <walt@tilera.com>
4619
4620         * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4621         asm/unistd.h.
4622         (SPR_CMPEXCH_VALUE): Define for tilegx.
4623         (__NR_FAST_cmpxchg): Define for tilepro.
4624         (__NR_FAST_atomic_update): Define for tilepro.
4625         (__NR_FAST_cmpxchg64): Define for tilepro.
4626
4627 2016-06-23  Jakub Sejdak  <jakub.sejdak@phoesys.com>
4628
4629         * config.host: Add suport for arm*-*-phoenix* targets.
4630
4631 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4632
4633         * config.host: Remove support for mep-*.
4634         * config/mep/lib1funcs.S: Remove.
4635         * config/mep/lib2funcs.c: Remove.
4636         * config/mep/t-mep: Remove.
4637         * config/mep/tramp.c: Remove.
4638
4639 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4640
4641         * config.host: Remove support for avr-rtems.
4642         * config/avr/t-rtems: Remove.
4643
4644 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4645
4646         * config.host: Remove m32r-rtems support.
4647
4648 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4649
4650         * config.host: Remove h8300-rtems support.
4651
4652 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4653
4654         * config.host: Remove support for knetbsd.
4655
4656 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4657
4658         * config.host: Remove support for openbsd 2 and 3.
4659
4660 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
4661
4662         * config.host: Remove interix support.
4663         * config/i386/t-interix: Remove.
4664
4665 2016-06-18  John David Anglin  <danglin@gcc.gnu.org>
4666
4667         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4668         least-significant bit in function pointer for fixup.
4669
4670 2016-06-05  Aaron Conole  <aconole@redhat.com>
4671             Nathan Sidwell  <nathan@acm.org>
4672
4673         PR libgcc/71400
4674         * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4675         (get_gcov_error_file): Check __gcov_error_file before trying to
4676         initialize it.
4677         (gcov_error): Always use get_gcov_error_file.
4678
4679 2016-06-02  Aaron Conole  <aconole@redhat.com>
4680
4681         * libgcov-driver-system.c (__gcov_error_file): New.
4682         (get_gcov_error_file): New.
4683         (gcov_error): Use and set __gcov_error_file.
4684         (gcov_error_exit): New.
4685         * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4686
4687 2016-05-26  Nathan Sidwell  <nathan@acm.org>
4688
4689         * config/nvptx/free.asm: Delete.
4690         * config/nvptx/malloc.asm: Delete.
4691         * config/nvptx/realloc.c: Delete.
4692         * t-nvptx: Update.
4693
4694 2016-05-25  Nathan Sidwell  <nathan@acm.org>
4695
4696         * config/nvptx/crt0.s: Delete.
4697         * config/nvptx/crt0.c: New.
4698         * t-nvptx: Update.
4699
4700 2016-05-19  Sandra Loosemore  <sandra@codesourcery.com>
4701
4702         * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
4703         dw2/seh configuration.
4704         [x86_64-*-mingw*]: Likewise.
4705
4706 2016-05-10  Joel Sherrill <joel@rtems.org>
4707
4708         PR libgcc/70720
4709         * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4710         targets so the same extra_parts are built.  Also have tmake_file add
4711         on to its value rather than override.
4712
4713 2016-04-30  Oleg Endo  <olegendo@gcc.gnu.org>
4714
4715         * config.host: Remove SH5 support.
4716         * configure: Likewise.
4717
4718 2016-04-29  Oleg Endo  <olegendo@gcc.gnu.org>
4719
4720         * config/sh/crt1.S: Remove SH5 support.
4721         * config/sh/crti.S: Likewise.
4722         * config/sh/crtn.S: Likewise.
4723         * config/sh/lib1funcs-4-300.S: Likewise.
4724         * config/sh/lib1funcs-Os-4-200.S: Likewise.
4725         * config/sh/lib1funcs.S: Likewise.
4726         * config/sh/linux-unwind.h: Likewise.
4727         * config/sh/t-sh64: Delete.
4728
4729 2016-04-29  Claudiu Zissulescu  <claziss@synopsys.com>
4730
4731         * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4732
4733 2016-04-28  Claudiu Zissulescu  <claziss@synopsys.com>
4734             Joern Rennecke  <joern.rennecke@embecosm.com>
4735
4736         * config/arc/crttls.S: New file.
4737         * config/arc/t-arc: New rule.
4738         * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4739
4740 2016-04-25  Nick Clifton  <nickc@redhat.com>
4741
4742         * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4743         (__mspabi_cmpd): Likewise.
4744         * config/msp430/floathidf.c (__floathidf): Likewise.
4745         * config/msp430/floathisf.c (__floathisf): Likewise
4746         * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4747         * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4748         * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4749         second parameter.
4750         (__ashrsi3): Likewise.
4751
4752 2016-04-21  Waldemar Brodkorb  <wbx@openadk.org>
4753
4754         * config/m68k/linux-atomic.c: Do not include unistd.h
4755
4756 2016-04-20  Martin Galvan  <martin.galvan@tallertechnologies.com>
4757
4758         * config/arm/ieee754-df.S: Fix typos in comments.
4759
4760 2016-04-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
4761
4762         PR target/70381
4763         * configure.ac (powerpc*-*-linux*): Rework tests to build
4764         __float128 emulation routines to not depend on using #pragma GCC
4765         target to enable -mfloat128.
4766         * configure: Regnerate.
4767
4768 2016-04-04  Eric Botcazou  <ebotcazou@adacore.com>
4769
4770         PR target/67172
4771         * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4772         __MINGW32__ is defined.
4773
4774 2016-03-28  James Bowman  <james.bowman@ftdichip.com>
4775
4776         * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
4777
4778 2016-03-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
4779
4780         PR libgcc/70363
4781         * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4782         built with an assembler that does not support ISA 3.0
4783         instructions, rename __extendkftf2_sw to __extendkftf2.
4784
4785 2016-03-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4786
4787         PR target/38239
4788         * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4789         call-clobbered registers.
4790         (internal_mcount): Remove __i386__ handling.
4791
4792 2016-02-26  Joel Sherrill <joel@rtems.org>
4793
4794         * config.host: Add x86_64-*-rtems*.
4795
4796 2016-02-26  Joel Sherrill <joel@rtems.org>
4797
4798         * libgcc/config.host: Add aarch64-*-rtems*.
4799
4800 2016-02-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4801             Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4802
4803         * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4804         union of u64 and double.
4805         (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4806         (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4807         value.
4808         (FP_ROUNDMODE): Update the usage of _fpscr.
4809
4810 2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
4811
4812         PR driver/68463
4813         * Makefile.in (crtoffloadtable$(objext)): New rule.
4814         * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4815         enable_offload_targets is not empty.
4816         * configure: Regenerate.
4817         * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4818         crtoffloadtable.
4819
4820 2016-02-17  Max Filippov  <jcmvbkbc@gmail.com>
4821
4822         * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4823         .literal_position before the function.
4824         * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4825         Likewise.
4826
4827 2016-02-15  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
4828
4829         * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4830         * config/s390/morestack.S: New file.
4831         * config/s390/t-stack-s390: New file.
4832         * generic-morestack.c (__splitstack_find): Add s390-specific code.
4833
4834 2016-02-12  Walter Lee  <walt@tilera.com>
4835
4836         * config.host (tilegx*-*-linux*): remove ti from
4837         softfp_int_modes for 32-bit configs.
4838
4839 2016-02-10  Ian Lance Taylor  <iant@google.com>
4840
4841         PR go/68562
4842         * config/i386/morestack.S (__stack_split_initialize): Align
4843         stack.
4844
4845 2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>
4846
4847         PR bootstrap/69611
4848         * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4849         __FLOAT128__ to compile only for __float128 capable targets.
4850
4851 2016-01-25  Jakub Jelinek  <jakub@redhat.com>
4852
4853         PR target/69444
4854         * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4855         instead of ___NO_FPRS__.
4856
4857 2016-01-21  Michael Meissner  <meissner@linux.vnet.ibm.com>
4858             Steven Munroe  <munroesj@linux.vnet.ibm.com>
4859             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
4860
4861         * config/rs6000/float128-sed: New files to convert TF names to KF
4862         names for PowerPC IEEE 128-bit floating point support.
4863         * config/rs6000/float128-sed-hw: Likewise.
4864
4865         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4866         floating point hardware support.
4867
4868         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4869         128-bit floating point software emulation or use ISA 3.0 hardware
4870         support if it is available.
4871
4872         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4873         floating point.
4874
4875         * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4876         floating point to IBM extended double.
4877
4878         * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4879         double to IEEE 128-bit floating point.
4880
4881         * config/rs6000/t-float128: New Makefile fragments to enable
4882         building __float128 emulation support.
4883         * config/rs6000/t-float128-hw: Likewise.
4884
4885         * config/rs6000/sfp-exceptions.c: New file to provide exception
4886         support for IEEE 128-bit floating point.
4887
4888         * config/rs6000/floattikf.c: New files for converting between IEEE
4889         128-bit floating point and signed/unsigned 128-bit integers.
4890         * config/rs6000/fixunskfti.c: Likewise.
4891         * config/rs6000/fixkfti.c: Likewise.
4892         * config/rs6000/floatuntikf.c: Likewise.
4893
4894         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4895         when building on 64-bit systems, or when VSX is enabled.
4896         (_FP_W_TYPE): Likewise.
4897         (_FP_WS_TYPE): Likewise.
4898         (_FP_I_TYPE): Likewise.
4899         (TItype): Define on 64-bit systems.
4900         (UTItype): Likewise.
4901         (TI_BITS): Likewise.
4902         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4903         (_FP_MUL_MEAT_Q): Likewise.
4904         (_FP_DIV_MEAT_D): Likewise.
4905         (_FP_DIV_MEAT_Q): Likewise.
4906         (_FP_NANFRAC_D): Likewise.
4907         (_FP_NANFRAC_Q): Likewise.
4908         (ISA_BIT): Add exception support if we are being compiled on a
4909         machine with hardware floating point support to build the IEEE
4910         128-bit emulation functions.
4911         (FP_EX_INVALID): Likewise.
4912         (FP_EX_OVERFLOW): Likewise.
4913         (FP_EX_UNDERFLOW): Likewise.
4914         (FP_EX_DIVZERO): Likewise.
4915         (FP_EX_INEXACT): Likewise.
4916         (FP_EX_ALL): Likewise.
4917         (__sfp_handle_exceptions): Likewise.
4918         (FP_HANDLE_EXCEPTIONS): Likewise.
4919         (FP_RND_NEAREST): Likewise.
4920         (FP_RND_ZERO): Likewise.
4921         (FP_RND_PINF): Likewise.
4922         (FP_RND_MINF): Likewise.
4923         (FP_RND_MASK): Likewise.
4924         (_FP_DECL_EX): Likewise.
4925         (FP_INIT_ROUNDMODE): Likewise.
4926         (FP_ROUNDMODE): Likewise.
4927
4928         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4929         VSX code, enable IEEE 128-bit floating point.  If the compiler can
4930         compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4931         floating point hardware instructions and it supports declaring
4932         functions with the ifunc attribute, enable ifunc functions to
4933         switch between software and hardware support.
4934         * configure.ac (powerpc*-*-linux*): Likewise.
4935         * configure: Regenerate.
4936
4937 2016-01-15  Nick Clifton  <nickc@redhat.com>
4938
4939         * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4940         dependency as the source file to be compiled.
4941         (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4942         (lib2hw_mul_f5.o): Likewise.
4943
4944 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
4945
4946         * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4947         * libgcc/config/rs6000/fixkfti.c: Likewise.
4948         * libgcc/config/rs6000/fixunskfti.c: Likewise.
4949         * libgcc/config/rs6000/float128-hw.c: Likewise.
4950         * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4951         * libgcc/config/rs6000/float128-sed: Likewise.
4952         * libgcc/config/rs6000/floattikf.c: Likewise.
4953         * libgcc/config/rs6000/floatuntikf.c: Likewise.
4954         * libgcc/config/rs6000/quad-float128.h: Likewise.
4955         * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4956         * libgcc/config/rs6000/sfp-machine.h: Likewise.
4957         * libgcc/config/rs6000/t-float128: Likewise.
4958         * libgcc/config/rs6000/t-float128-hw: Likewise.
4959         * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4960         * libgcc/config.host: Likewise.
4961         * libgcc/configure: Likewise.
4962         * libgcc/configure.ac: Likewise.
4963
4964 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
4965             Steven Munroe  <munroesj@linux.vnet.ibm.com>
4966             Tulio Magno Quites Machado Filho  <tulioqm@br.ibm.com>
4967
4968         * config/rs6000/sfp-exceptions.c: New file to provide exception
4969         support for IEEE 128-bit floating point.
4970
4971         * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4972         floating point hardware support.
4973
4974         * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4975         point conversions.
4976         * config/rs6000/fixunskfti.c: Likewise.
4977         * config/rs6000/fixkfti.c: Likewise.
4978         * config/rs6000/floatuntikf.c: Likewise.
4979         * config/rs6000/extendkftf2-sw.c: Likewise.
4980         * config/rs6000/trunctfkf2-sw.c: Likewise.
4981
4982         * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4983         128-bit floating point software emulation or use ISA 3.0 hardware
4984         support if it is available.
4985
4986         * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4987         floating point.
4988
4989         * config/rs6000/t-float128: New Makefile fragments to enable
4990         building __float128 emulation support.
4991         * config/rs6000/t-float128-hw: Likewise.
4992
4993         * config/rs6000/float128-sed: New file to convert TF names to KF
4994         names for PowerPC IEEE 128-bit floating point support.
4995
4996         * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4997         when building on 64-bit systems, or when VSX is enabled.
4998         (_FP_W_TYPE): Likewise.
4999         (_FP_WS_TYPE): Likewise.
5000         (_FP_I_TYPE): Likewise.
5001         (TItype): Define on 64-bit systems.
5002         (UTItype): Likewise.
5003         (TI_BITS): Likewise.
5004         (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5005         (_FP_MUL_MEAT_Q): Likewise.
5006         (_FP_DIV_MEAT_D): Likewise.
5007         (_FP_DIV_MEAT_Q): Likewise.
5008         (_FP_NANFRAC_D): Likewise.
5009         (_FP_NANFRAC_Q): Likewise.
5010         (ISA_BIT): Add exception support if we are being compiled on a
5011         machine with hardware floating point support to build the IEEE
5012         128-bit emulation functions.
5013         (FP_EX_INVALID): Likewise.
5014         (FP_EX_OVERFLOW): Likewise.
5015         (FP_EX_UNDERFLOW): Likewise.
5016         (FP_EX_DIVZERO): Likewise.
5017         (FP_EX_INEXACT): Likewise.
5018         (FP_EX_ALL): Likewise.
5019         (__sfp_handle_exceptions): Likewise.
5020         (FP_HANDLE_EXCEPTIONS): Likewise.
5021         (FP_RND_NEAREST): Likewise.
5022         (FP_RND_ZERO): Likewise.
5023         (FP_RND_PINF): Likewise.
5024         (FP_RND_MINF): Likewise.
5025         (FP_RND_MASK): Likewise.
5026         (_FP_DECL_EX): Likewise.
5027         (FP_INIT_ROUNDMODE): Likewise.
5028         (FP_ROUNDMODE): Likewise.
5029
5030         * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5031         compiler can do __float128.
5032         * configure: Regenerate.
5033
5034         * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5035         VSX code, enable IEEE 128-bit floating point.
5036
5037 2016-01-05  Olivier Hainque  <hainque@adacore.com>
5038
5039         * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
5040         specificities.
5041
5042 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
5043
5044         Update copyright years.
5045
5046 2015-12-18  Andris Pavenis  <andris.pavenis@iki.fi>
5047
5048         * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
5049         soft-fp targets.
5050
5051 2015-12-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
5052
5053         * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5054         instead of abort to avoid dependency on stdlib.h.
5055
5056 2015-12-09  John David Anglin  <danglin@gcc.gnu.org>
5057
5058         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5059         to initialize call to __dl_fixup once.
5060
5061 2015-12-04  Nick Clifton  <nickc@redhat.com>
5062
5063         * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5064         Allow for the second argument being negative.
5065         * config.host (extra_parts): Define for MSP430.  Create separate
5066         libraries for each of the hardware multiply formats.
5067         * config/msp430/lib2hw_mul.S: Build only the multiply routines
5068         that are needed.
5069         * config/msp430/lib2mul.c: Likewise.
5070         * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5071         Add rules to build hardware multiply libraries.
5072         * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5073         __mspabi_divul function.
5074         (__mspabi_divllu): New stub function.
5075
5076 2015-12-01  John David Anglin  <danglin@gcc.gnu.org>
5077
5078         * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5079         fixup values if saved GOT address doesn't match runtime address.
5080         (fixup_branch_offset): Reorder list.
5081
5082 2015-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5083
5084         * Makefile.in (VTV_CFLAGS): New variable.
5085         (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5086         (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5087         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5088         Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5089         to extra_parts if $enable_vtable_verify = yes.
5090
5091 2015-11-23  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5092
5093         PR target/68059
5094         * config/arm/linux-atomic-64bit.c (__write): Rename to...
5095         (write): ...this and fix the return type.
5096
5097 2015-11-19  DJ Delorie  <dj@redhat.com>
5098
5099         * config/msp430/lib2hw_mul.S: Fix alignment.
5100
5101 2015-11-18  Nathan Sidwell  <nathan@codesourcery.com>
5102
5103         * config/nvptx/reduction.c: New.
5104         * config/nvptx/t-nvptx (LIB2ADD): Add it.
5105
5106 2015-11-15  David Edelsohn  <dje.gcc@gmail.com>
5107
5108         * config/rs6000/on_exit.c: New file.
5109         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5110         * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5111
5112 2015-11-11  Claudiu Zissulescu  <claziss@synopsys.com>
5113
5114         * config/arc/dp-hack.h: Add support for ARCHS.
5115         * config/arc/ieee-754/divdf3.S: Likewise.
5116         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5117         * config/arc/ieee-754/muldf3.S: Likewise.
5118         * config/arc/ieee-754/mulsf3.S: Likewise
5119         * config/arc/lib1funcs.S: Likewise
5120         * config/arc/gmon/dcache_linesz.S: Don't read the build register
5121         for ARCv2 cores.
5122         * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5123         for ARCv2 cores.
5124         * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5125         * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5126         cores.
5127
5128 2015-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5129
5130         * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5131         value.
5132         * config/ia64/crtend.S: Likewise.
5133
5134 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
5135
5136         * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5137         __CHAR_BIT__ instead of BITS_PER_UNIT.
5138         * fixed-bit.h: Likewise.
5139         * fp-bit.h: Likewise.
5140         * libgcc2.c (__popcountSI2): Likewise.
5141         (__popcountDI2): Likewise.
5142         * libgcc2.h: Likewise.
5143         * libgcov.h: Likewise.
5144
5145 2015-11-07  David Edelsohn  <dje.gcc@gmail.com>
5146
5147         * config/rs6000/atexit.c: New file.
5148         * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5149         * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5150         * config/rs6000/cxa_finalize.c
5151         (catomic_compare_and_exchange_bool_acq): Negate return value.
5152
5153 2015-10-30  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
5154
5155         * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5156         (processor_subtypes): Add znver1.
5157         (get_amd_cpu): Detect znver1.
5158
5159 2015-10-29  Christophe Lyon  <christophe.lyon@linaro.org>
5160
5161         * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5162         Include crtfastmath.o.
5163
5164 2015-10-23  Joern Rennecke  <joern.rennecke@embecosm.com>
5165
5166         PR libgcc/66883
5167         * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
5168
5169 2015-10-16  Kaushik Phatak  <kaushik.phatak@kpit.com>
5170
5171         * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5172         * config/rl78/divmodsi.S: Update return register to r8.
5173         * config/rl78/divmodhi.S: Update return register to r8,r9.
5174         Branch to main_loop_done_himode to pop registers before return.
5175
5176 2015-10-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
5177
5178         * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5179         (__cpu_indicator_init): Fix model selection for AMD CPUs.
5180
5181 2015-10-05  Kirill Yukhin  <kirill.yukhin@intel.com>
5182
5183         * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5184
5185 2015-10-03  Max Filippov  <jcmvbkbc@gmail.com>
5186
5187         * config.host (xtensa*-*-uclinux*): New configuration.
5188
5189 2015-10-02  Kirill Yukhin  <kirill.yukhin@intel.com>
5190
5191         * config/i386/cpuinfo.c (processor_features): Add
5192         FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5193
5194 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
5195
5196         * soft-fp/adddf3.c: Update from glibc.
5197         * soft-fp/addsf3.c: Likewise.
5198         * soft-fp/addtf3.c: Likewise.
5199         * soft-fp/divdf3.c: Likewise.
5200         * soft-fp/divsf3.c: Likewise.
5201         * soft-fp/divtf3.c: Likewise.
5202         * soft-fp/double.h: Likewise.
5203         * soft-fp/eqdf2.c: Likewise.
5204         * soft-fp/eqsf2.c: Likewise.
5205         * soft-fp/eqtf2.c: Likewise.
5206         * soft-fp/extenddftf2.c: Likewise.
5207         * soft-fp/extended.h: Likewise.
5208         * soft-fp/extendsfdf2.c: Likewise.
5209         * soft-fp/extendsftf2.c: Likewise.
5210         * soft-fp/extendxftf2.c: Likewise.
5211         * soft-fp/fixdfdi.c: Likewise.
5212         * soft-fp/fixdfsi.c: Likewise.
5213         * soft-fp/fixdfti.c: Likewise.
5214         * soft-fp/fixsfdi.c: Likewise.
5215         * soft-fp/fixsfsi.c: Likewise.
5216         * soft-fp/fixsfti.c: Likewise.
5217         * soft-fp/fixtfdi.c: Likewise.
5218         * soft-fp/fixtfsi.c: Likewise.
5219         * soft-fp/fixtfti.c: Likewise.
5220         * soft-fp/fixunsdfdi.c: Likewise.
5221         * soft-fp/fixunsdfsi.c: Likewise.
5222         * soft-fp/fixunsdfti.c: Likewise.
5223         * soft-fp/fixunssfdi.c: Likewise.
5224         * soft-fp/fixunssfsi.c: Likewise.
5225         * soft-fp/fixunssfti.c: Likewise.
5226         * soft-fp/fixunstfdi.c: Likewise.
5227         * soft-fp/fixunstfsi.c: Likewise.
5228         * soft-fp/fixunstfti.c: Likewise.
5229         * soft-fp/floatdidf.c: Likewise.
5230         * soft-fp/floatdisf.c: Likewise.
5231         * soft-fp/floatditf.c: Likewise.
5232         * soft-fp/floatsidf.c: Likewise.
5233         * soft-fp/floatsisf.c: Likewise.
5234         * soft-fp/floatsitf.c: Likewise.
5235         * soft-fp/floattidf.c: Likewise.
5236         * soft-fp/floattisf.c: Likewise.
5237         * soft-fp/floattitf.c: Likewise.
5238         * soft-fp/floatundidf.c: Likewise.
5239         * soft-fp/floatundisf.c: Likewise.
5240         * soft-fp/floatunditf.c: Likewise.
5241         * soft-fp/floatunsidf.c: Likewise.
5242         * soft-fp/floatunsisf.c: Likewise.
5243         * soft-fp/floatunsitf.c: Likewise.
5244         * soft-fp/floatuntidf.c: Likewise.
5245         * soft-fp/floatuntisf.c: Likewise.
5246         * soft-fp/floatuntitf.c: Likewise.
5247         * soft-fp/gedf2.c: Likewise.
5248         * soft-fp/gesf2.c: Likewise.
5249         * soft-fp/getf2.c: Likewise.
5250         * soft-fp/ledf2.c: Likewise.
5251         * soft-fp/lesf2.c: Likewise.
5252         * soft-fp/letf2.c: Likewise.
5253         * soft-fp/muldf3.c: Likewise.
5254         * soft-fp/mulsf3.c: Likewise.
5255         * soft-fp/multf3.c: Likewise.
5256         * soft-fp/negdf2.c: Likewise.
5257         * soft-fp/negsf2.c: Likewise.
5258         * soft-fp/negtf2.c: Likewise.
5259         * soft-fp/op-1.h: Likewise.
5260         * soft-fp/op-2.h: Likewise.
5261         * soft-fp/op-4.h: Likewise.
5262         * soft-fp/op-8.h: Likewise.
5263         * soft-fp/op-common.h: Likewise.
5264         * soft-fp/quad.h: Likewise.
5265         * soft-fp/single.h: Likewise.
5266         * soft-fp/soft-fp.h: Likewise.
5267         * soft-fp/subdf3.c: Likewise.
5268         * soft-fp/subsf3.c: Likewise.
5269         * soft-fp/subtf3.c: Likewise.
5270         * soft-fp/truncdfsf2.c: Likewise.
5271         * soft-fp/trunctfdf2.c: Likewise.
5272         * soft-fp/trunctfsf2.c: Likewise.
5273         * soft-fp/trunctfxf2.c: Likewise.
5274         * soft-fp/unorddf2.c: Likewise.
5275         * soft-fp/unordsf2.c: Likewise.
5276         * soft-fp/unordtf2.c: Likewise.
5277
5278 2015-09-24  Richard Earnshaw  <rearnsha@arm.com>
5279
5280         PR libgcc/67624
5281         * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5282
5283 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5284
5285         * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5286         Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5287         * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5288         messages.
5289         (internal_mcount): Likewise.
5290         * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5291         crt_compile, add CRTSTUFF_T_CFLAGS_S.
5292
5293 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5294
5295         * configure.ac (libgcc_cv_solaris_crts): New test.
5296         * configure: Regenerate.
5297         * config.in: Regenerate.
5298         * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5299         * config/gmon-sol2.c: Rename to ...
5300         * config/sol2/gmon.c: ... this.
5301         Include auto-target.h.
5302         (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5303         * config/t-sol2: Rename to ...
5304         * config/sol2/t-sol2: ... this.
5305         (gmon.o): Reflect renaming.
5306         (crtp.o, crtpg.o): New rules.
5307         * config.host (*-*-solaris2*): Reflect renaming.
5308         Use system CRTs if present.
5309         Remove default CRT case.
5310
5311 2015-09-23  John David Anglin  <danglin@gcc.gnu.org>
5312
5313         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5314         (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5315         __kernel_cmpxchg2.
5316         (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5317         (__sync_val_compare_and_swap_##WIDTH): Likewise.
5318         (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5319         (__sync_lock_test_and_set_##WIDTH): Likewise.
5320         (__sync_lock_release_##WIDTH): Likewise.
5321         (__sync_fetch_and_##OP##_4): Change result to match type of
5322         __kernel_cmpxchg.
5323         (__sync_##OP##_and_fetch_4): Likewise.
5324         (__sync_val_compare_and_swap_4): Likewise.
5325         (__sync_bool_compare_and_swap_4): likewise.
5326         (__sync_lock_test_and_set_4): Likewise.
5327         (__sync_lock_release_4): Likewise.
5328         (FETCH_AND_OP_2): Add long long variants.
5329         (OP_AND_FETCH_2): Likewise.
5330         (COMPARE_AND_SWAP_2 ): Likewise.
5331         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5332         (SYNC_LOCK_RELEASE_2): Likewise.
5333         (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5334
5335 2015-09-22  Kirill Yukhin  <kirill.yukhin@intel.com>
5336
5337         * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5338         FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5339         FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5340         (get_available_features): Habdle new features.
5341
5342 2015-09-21  James Bowman  <james.bowman@ftdichip.com>
5343
5344         * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5345         memory layout. Deal correctly with BSS region larger than 32K.
5346         Handle a watchdog reset like a power-on reset. Clean up unused
5347         code.
5348
5349 2015-09-18  Andrew Dixie  <andrewd@gentrack.com>
5350             David Edelsohn  <dje.gcc@gmail.com>
5351
5352         * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5353         * config/rs6000/crtdbase.S: New file.
5354         * config/rs6000/t-aix-cxa: Build crtdbase.o.
5355
5356 2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
5357
5358         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5359         Add support for call0 ABI.
5360
5361 2015-09-13  John David Anglin  <danglin@gcc.gnu.org>
5362
5363         * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5364
5365 2015-09-03  Sebastian Huber  <sebastian.huber@embedded-brains.de>
5366
5367         * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5368         (__GTHREAD_HAS_COND): Likewise.
5369         (__gthread_t): Likewise.
5370         (__gthread_cond_t): Likewise.
5371         (__gthread_time_t): Likewise.
5372         (__GTHREAD_MUTEX_INIT): Likewise.
5373         (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5374         (__GTHREAD_COND_INIT): Likewise.
5375         (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5376         (__GTHREAD_TIME_INIT): Likewise.
5377         (__gthread_create): Likewise.
5378         (__gthread_join): Likewise.
5379         (__gthread_detach): Likewise.
5380         (__gthread_equal): Likewise.
5381         (__gthread_self): Likewise.
5382         (__gthread_yield): Likewise.
5383         (__gthread_cond_broadcast): Likewise.
5384         (__gthread_cond_signal): Likewise.
5385         (__gthread_cond_wait): Likewise.
5386         (__gthread_cond_timedwait): Likewise.
5387         (__gthread_cond_wait_recursive): Likewise.
5388         (__gthread_cond_destroy): Likewise.
5389         (rtems_gxx_once): Delete.
5390         (rtems_gxx_key_create): Likewise.
5391         (rtems_gxx_key_delete): Likewise.
5392         (rtems_gxx_getspecific): Likewise.
5393         (rtems_gxx_setspecific): Likewise.
5394         (rtems_gxx_mutex_init): Likewise.
5395         (rtems_gxx_mutex_destroy): Likewise.
5396         (rtems_gxx_mutex_lock): Likewise.
5397         (rtems_gxx_mutex_trylock): Likewise.
5398         (rtems_gxx_mutex_unlock): Likewise.
5399         (rtems_gxx_recursive_mutex_init): Likewise.
5400         (rtems_gxx_recursive_mutex_lock): Likewise.
5401         (rtems_gxx_recursive_mutex_trylock): Likewise.
5402         (rtems_gxx_recursive_mutex_unlock): Likewise.
5403         (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5404         (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5405         (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5406         (__gthread_once): Likewise.
5407         (__gthread_key_create): Likewise.
5408         (__gthread_key_delete): Likewise.
5409         (__gthread_getspecific): Likewise.
5410         (__gthread_setspecific): Likewise.
5411         (__gthread_key_t): Use <pthread.h> type.
5412         (__gthread_once_t): Likewise
5413         (__gthread_mutex_t): Use <sys/lock.h> type.
5414         (__gthread_recursive_mutex_t): Likewise
5415         (__gthread_mutex_lock): Use <sys/lock.h> function.
5416         (__gthread_mutex_trylock): Likewise.
5417         (__gthread_mutex_timedlock): Likewise.
5418         (__gthread_mutex_unlock): Likewise.
5419         (__gthread_mutex_destroy): Likewise.
5420         (__gthread_recursive_mutex_lock): Likewise.
5421         (__gthread_recursive_mutex_trylock): Likewise.
5422         (__gthread_recursive_mutex_timedlock): Likewise.
5423         (__gthread_recursive_mutex_unlock): Likewise.
5424         (__gthread_recursive_mutex_destroy): Likewise.
5425
5426 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
5427
5428         * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5429         context->sp instead of context->cfa.
5430
5431 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
5432
5433         * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5434         with unwind-dw2-fde-dip.
5435
5436 2015-08-18  Max Filippov  <jcmvbkbc@gmail.com>
5437
5438         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5439         CALL12 followed by series of ENTRY to spill windowed registers.
5440         (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5441         instead of making linux spill syscall.
5442
5443 2015-08-14  Yuri Rumyantsev  <ysrumyan@gmail.com>
5444
5445         * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5446         (get_intel_cpu): Likewise.
5447
5448 2015-08-12  H.J. Lu  <hongjiu.lu@intel.com>
5449
5450         * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5451         (get_intel_cpu): Add Knights Landing support.
5452
5453 2015-08-11  Uros Bizjak  <ubizjak@gmail.com>
5454
5455         PR target/66954
5456         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5457         (get_available_features): Handle FEATURE_PCLMUL.
5458
5459 2015-08-10  H.J. Lu  <hongjiu.lu@intel.com>
5460
5461         * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5462         Broadwell.
5463
5464 2015-07-22  Uros Bizjak  <ubizjak@gmail.com>
5465
5466         PR target/66954
5467         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5468         (get_available_features): Handle FEATURE_AES.
5469
5470 2015-07-22  Chung-Lin Tang  <cltang@codesourcery.com>
5471
5472         * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5473         (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5474
5475 2015-07-17  Nathan Sidwell  <nathan@codesourcery.com>
5476
5477         * offloadstuff.c: Constify host data.
5478
5479 2015-07-17  Jan Beulich  <jbeulich@suse.com>
5480
5481         * config/t-softfp: Split up "else ifneq".
5482
5483 2015-07-14  Sandra Loosemore  <sandra@codesourcery.com>
5484             Cesar Philippidis  <cesar@codesourcery.com>
5485             Chung-Lin Tang  <cltang@codesourcery.com>
5486
5487         * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
5488         for __nios2_arch__ level.
5489
5490 2015-07-13  John Marino  <gnugcc@marino.st>
5491
5492         * config/i386/t-dragonfly: New.
5493
5494 2015-07-01  John David Anglin  <danglin@gcc.gnu.org>
5495
5496         * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
5497         better match light-weight syscall argument order.
5498         (__kernel_cmpxchg2): Likewise.
5499         Adjust callers.
5500
5501 2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>
5502
5503         * config.host: Support i[34567]86-*-elfiamcu target.
5504         * config/t-softfp-sfdftf: New file.
5505         * config/i386/32/t-iamcu: Likewise.
5506         * configure: Regenerated.
5507
5508 2015-06-23  James Lemke  <jwlemke@codesourcery.com>
5509
5510         libgcc/config/arm/
5511         * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
5512
5513 2015-05-27  H.J. Lu  <hongjiu.lu@intel.com>
5514
5515         * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
5516
5517 2015-05-27  John Marino  <gnugcc@marino.st>
5518
5519         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
5520         md_unwind_header
5521         * config/i386/freebsd-unwind.h: New.
5522
5523 2015-05-22  Uros Bizjak  <ubizjak@gmail.com>
5524
5525         * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
5526         i386/t-crtfm to tmake_file.
5527         * config/i386/crtfastmath.c (set_fast_math_sse): New function.
5528         (set_fast_math): Use set_fast_math_sse for SSE targets.
5529         * config/i386/t-crtfm: Remove.
5530
5531 2015-05-21  Alan Modra  <amodra@gmail.com>
5532
5533         PR libgcc/66225
5534         * config/rs6000/morestack.S: Remove ".abiversion 1".
5535
5536 2015-05-20  Alan Modra  <amodra@gmail.com>
5537
5538         * config/rs6000/morestack.S: New.
5539         * config/rs6000/t-stack-rs6000: New.
5540         * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
5541         to tmake_file.
5542         * generic-morestack.c: Don't build for powerpc 32-bit.
5543
5544 2015-05-19  Eric Botcazou  <ebotcazou@adacore.com>
5545
5546         * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5547         Remove useless endif/ifneq ($(enable_shared),yes) pair.
5548
5549 2015-05-16  James Bowman  <james.bowman@ftdichip.com>
5550
5551         * config.host: FT32 target added.
5552         * config/ft32/*: New files for FT32 target.
5553
5554 2015-05-15  Martin Galvan  <martin.galvan@tallertechnologies.com>
5555
5556         * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
5557         New macros.
5558         * config/arm/ieee754-df.S: Add CFI directives.
5559         * config/arm/ieee754-sf.S: Add CFI directives.
5560
5561 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
5562
5563         * configure.ac: Include config/sjlj.m4.
5564         Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5565         * config.in: Regenerate.
5566         * configure: Likewise.
5567         * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5568
5569 2015-05-12  Uros Bizjak  <ubizjak@gmail.com>
5570
5571         * libgcov-util.c: Add space between string literal and macro name.
5572
5573 2015-05-06  Sandra Loosemore  <sandra@codesourcery.com>
5574             Chris Jones  <chrisj@nvidia.com>
5575             Joshua Conner  <jconner@nvidia.com>
5576
5577         * config.host (arm*-*-linux*): Add support for crtfastmath.o.
5578         (arm*-*-uclinux*): Likewise.
5579         (arm*-*-eabi* | arm*-*-rtems*): Likewise.
5580         * config/arm/crtfastmath.c: New file.
5581
5582 2014-04-29  Bernd Schmidt  <bernds@codesourcery.com>
5583
5584         * Makefile.in (real_host_noncanonical): New variable.
5585         (libsubdir): Use it.
5586         * configure.ac (real_host_noncanonical): Compute.  Remove special
5587         case for intelmicemul.
5588         * configure: Regenerate.
5589
5590 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
5591
5592         * config/frv/elf-lib.h: New file.
5593         (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5594         * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5595         to tm_file.
5596
5597 2015-04-28  Uros Bizjak  <ubizjak@gmail.com>
5598
5599         * config/frv/frvbengin.c: Do not include defaults.h
5600         * config/frv/frvend.c: Ditto.
5601
5602 2015-04-27  Yoshinori Sato  <ysato@users.sourceforge.jp>
5603
5604         * config.host: Add h8300-*-linux
5605         * config/h8300/t-linux: New file.
5606         * config/h8300/lib1funs.s: Change symbol prefix.
5607         * config/h8300/sfp-machine.h: 64bit double support.
5608
5609 2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
5610             Szabolcs Nagy  <szabolcs.nagy@arm.com>
5611
5612         * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5613         Linux if target provides dl_iterate_phdr.
5614
5615 2015-04-17  H.J. Lu  <hongjiu.lu@intel.com>
5616
5617         PR target/65612
5618         * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5619         * config/i386/cpuinfo.c (__cpu_model): Initialize.
5620         (__cpu_indicator_init@GCC_4.8.0): New.
5621         (__cpu_model@GCC_4.8.0): Likewise.
5622         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5623         -DUSE_ELF_SYMVER.
5624
5625 2015-04-16  Nick Clifton  <nickc@redhat.com>
5626
5627         * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5628         and __modhi3 functions.
5629         * config/rl78/divmodso.S: Add G14 and G13 versions of the
5630         __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5631
5632 2015-04-15  Chen Gang  <gang.chen.5i5j@gmail.com>
5633
5634         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5635         do-while loop as macro body to avoid warnings.
5636
5637 2015-04-10  Jakub Jelinek  <jakub@redhat.com>
5638             Iain Sandoe  <iain@codesourcery.com>
5639
5640         PR target/65351
5641         * configure: Regenerate.
5642
5643 2015-04-07  Jakub Jelinek  <jakub@redhat.com>
5644             Iain Sandoe  <iain@codesourcery.com>
5645
5646         PR target/65351
5647         * configure: Regenerate.
5648
5649 2015-03-25  Chung-Lin Tang  <cltang@codesourcery.com>
5650
5651         * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5652
5653 2015-03-03  Max Filippov  <jcmvbkbc@gmail.com>
5654
5655         Implement call0 ABI for xtensa
5656         * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5657         __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5658         (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5659         use ret in call0 ABI.
5660         * config/xtensa/t-windowed: New file.
5661         * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5662         * libgcc/configure: Regenerated.
5663         * libgcc/configure.ac: Check if xtensa target is configured for
5664         windowed ABI and thus needs to use custom unwind code.
5665
5666 2015-02-12  Jonathan Wakely  <jwakely@redhat.com>
5667
5668         PR libgcc/64885
5669         * gthr-single.h: Use __unused__ attribute instead of unused.
5670         * config/gthr-vxworks.h: Likewise.
5671         * config/i386/gthr-win32.h: Likewise.
5672
5673 2015-02-27  Kai Tietz  <ktietz@redhat.com>
5674
5675         PR target/65038
5676         * config.in: Regenerated.
5677         * configure: Likewise.
5678         * configure.ac (AC_HEADER_STDC): Added explicit.
5679         (AC_CHECK_HEADERS): Check for default headers  plus
5680         for ftw.h header.
5681         * libgcov-util.c (gcov_read_profile_dir): Disable use
5682         of ftw-function, if header is not found.
5683         (ftw_read_file): Likewise.
5684
5685 2015-02-23  Thomas Schwinge  <thomas@codesourcery.com>
5686
5687         PR target/65181
5688         * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5689         -Dinhibit_libc.
5690
5691 2015-02-17  Sandra Loosemore  <sandra@codesourcery.com>
5692
5693         * config/arm/bpabi.S (test_div_by_zero): Make label names
5694         consistent between thumb2 and arm mode cases.  Separate the
5695         signed comparison on the high word of the numerator from the
5696         unsigned comparison on the low word.
5697         * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5698         signed comparison.
5699
5700 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5701
5702         * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5703         and <string.h>.
5704         (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5705
5706 2015-02-10  Rainer Emrich  <rainer@emrich-ebersheim.de>
5707
5708         PR gcov-profile/61889
5709         * libgcov-driver-system.c: undefine clashing macro for mkdir.
5710
5711 2015-02-02  Nick Clifton  <nickc@redhat.com>
5712
5713         * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5714         rounding up the fraction.
5715
5716 2015-01-31  John David Anglin  <danglin@gcc.gnu.org>
5717
5718         * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5719         oldval and newval to const void *.  Fix typo.
5720         (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5721         (FETCH_AND_OP_WORD): Likewise.
5722         (OP_AND_FETCH_WORD): Likewise.
5723         (COMPARE_AND_SWAP_2): Likewise.
5724         (__sync_val_compare_and_swap_4): Likewise.
5725         (__sync_lock_test_and_set_4): Likewise.
5726         (SYNC_LOCK_RELEASE_2): Likewise.
5727         Remove support for long long atomic operations.
5728
5729 2015-01-27  Caroline Tice  <cmtice@google.com>
5730
5731         Committing VTV Cywin/Ming patch for Patrick Wollgast
5732         * Makefile.in: Move rules to build vtv_*.o out of the check
5733         for CUSTOM_CRTSTUFF.
5734         * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5735         i[34567]86-*-mingw*)
5736          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5737         enable_vtable_verify.
5738
5739 2015-01-27  Nick Clifton  <nickc@redhat.com>
5740
5741         * config/rl78/cmpsi2.S: Use function start and end macros.
5742         (__gcc_bcmp): New function.
5743         * config/rl78/lshrsi3.S: Use function start and end macros.
5744         * config/rl78/mulsi3.S: Add support for G10.
5745         (__mulqi3): New function for G10.
5746         * config/rl78/signbit.S: Use function start and end macros.
5747         * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5748         fpmath-sf.S.
5749         (LIB2FUNCS_EXCLUDE): Define.
5750         (LIB2FUNCS_ST): Define.
5751         * config/rl78/trampoline.S: Use function start and end macros.
5752         * config/rl78/vregs.h (START_FUNC): New macro.
5753         (START_ANOTHER_FUNC): New macro.
5754         (END_FUNC): New macro.
5755         (END_ANOTHER_FUNC): New macro.
5756         * config/rl78/bit-count.S: New file.  Contains assembler
5757         implementations of the bit counting functions: ___clzhi2,
5758         __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5759         __paritysi2, __popcounthi2 and __popcountsi2.
5760         * config/rl78/fpbit-sf.S: New file.  Contains assembler
5761         implementationas of the math functions: __negsf2, __cmpsf2,
5762         __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5763         __fixsfsi,  __fixunssfsi, __floatsisf and __floatunssisf.
5764         * config/rl78/fpmath-sf.S: New file.  Contains assembler
5765         implementations of the math functions: __subsf3, __addsf3,
5766         __mulsf3 and __divsf3
5767
5768 2015-01-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
5769
5770         * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5771         Add i386/elf-lib.h to tm_file.
5772         * config/i386/elf-lib.h: Fix comment.
5773         * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5774         && __sun__ && __svr4__]: Remove workaround.
5775
5776 2015-01-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
5777
5778         * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5779         FEATURE_BMI2.
5780         (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5781
5782 2015-01-24  H.J. Lu  <hongjiu.lu@intel.com>
5783
5784         * config/i386/cpuinfo.c (processor_subtypes): Add
5785         INTEL_COREI7_BROADWELL.
5786         (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5787         model numbers.
5788
5789 2015-01-23  Uros Bizjak  <ubizjak@gmail.com>
5790
5791         * config/i386/elf-lib.h: New file.
5792         (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5793         Wrap definition in #ifdef __i386__.
5794         * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5795         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5796         (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5797         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5798         to tm_file.
5799
5800 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
5801
5802         * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5803         "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5804
5805 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
5806
5807         * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5808         Update rt_sigframe format and address for current Nios II
5809         Linux conventions.
5810
5811 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
5812
5813         * config.host (arm*-*-freebsd*): Add new configuration for
5814         arm*-*-freebsd*.
5815         * config/arm/freebsd-atomic.c: New file.
5816         * config/arm/t-freebsd: Likewise.
5817         * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5818         'PC-relative indirect' OS's.
5819
5820 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
5821
5822         * config.host: Add Visium support.
5823         * config/visium: New directory.
5824
5825 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
5826
5827         Update copyright years.
5828
5829 2014-12-19  Matthew Fortune  <matthew.fortune@imgtec.com>
5830
5831         * config.host: Support mipsisa32r6 and mipsisa64r6.
5832         * config/mips/mips16.S: Do not build for R6.
5833
5834 2014-12-17  Oleg Endo  <olegendo@gcc.gnu.org>
5835
5836         * config/sh/crt.h: New.
5837         * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5838         symbols.
5839         * config/sh/crt1.S: Likewise.
5840
5841 2014-12-15  Uros Bizjak  <ubizjak@gmail.com>
5842
5843         PR libgcc/63832
5844         * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5845         func_ptr *dtor_list temporary variable to avoid "array subscript
5846         is above array bounds" warnings.
5847
5848 2014-12-09  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
5849
5850         * Makefile.in (with_aix_soname): Define.
5851         * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5852         * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5853         * configure: Recreate.
5854
5855 2014-12-05  Olivier Hainque  <hainque@adacore.com>
5856
5857         * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5858         now provided by defaults.h.
5859
5860 2014-11-30  Oleg Endo  <olegendo@gcc.gnu.org>
5861
5862         PR target/55351
5863         * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5864         whether it's defined.
5865
5866 2014-11-27  Ilya Tocar  <ilya.tocar@intel.com>
5867
5868         * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5869         * config/i386/cpuinfo.c (get_available_features): Detect it.
5870
5871 2014-11-27  Tony Wang  <tony.wang@arm.com>
5872
5873         * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5874         redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5875         (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5876
5877 2014-11-25  Segher Boessenkool  <segher@kernel.crashing.org>
5878
5879         * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5880
5881 2014-11-24  John David Anglin  <danglin@gcc.gnu.org>
5882
5883         * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5884         instead.
5885
5886 2014-11-21  Guy Martin  <gmsoft@tuxicoman.be>
5887             John David Anglin  <danglin@gcc.gnu.org>
5888
5889         * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5890         (FETCH_AND_OP_2): New.  Use for subword and double word operations.
5891         (OP_AND_FETCH_2): Likewise.
5892         (COMPARE_AND_SWAP_2): Likewise.
5893         (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5894         (SYNC_LOCK_RELEASE_2): Likewise.
5895         (SUBWORD_SYNC_OP): Remove.
5896         (SUBWORD_VAL_CAS): Likewise.
5897         (SUBWORD_BOOL_CAS): Likewise.
5898         (FETCH_AND_OP_WORD): Update.
5899         Consistently use signed types.
5900
5901 2014-11-13  Bernd Schmidt  <bernds@codesourcery.com>
5902             Thomas Schwinge  <thomas@codesourcery.com>
5903             Ilya Verbin  <ilya.verbin@intel.com>
5904             Andrey Turetskiy  <andrey.turetskiy@intel.com>
5905
5906         * Makefile.in (crtoffloadbegin$(objext)): New rule.
5907         (crtoffloadend$(objext)): Likewise.
5908         * configure: Regenerate.
5909         * configure.ac (accel_dir_suffix): Compute new variable.
5910         (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5911         if enable_offload_targets is not empty.
5912         * offloadstuff.c: New file.
5913
5914 2014-11-13  Nick Clifton  <nickc@redhat.com>
5915
5916         * config/rl78/divmodhi.S: Add support for the G10 architecture.
5917         Use START_FUNC and END_FUNC macros to enable linker garbage
5918         collection.
5919         * config/rl78/divmodqi.S: Likewise.
5920         * config/rl78/divmodsi.S: Likewise.
5921         * config/rl78/mulsi3.S: Likewise.
5922         * config/rl78/lib2div.c: Remove G10 functions.
5923         * config/rl78/lib2muls.c: Likewise.
5924         * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5925         * config/rl78/vregs.h (START_FUNC): New macro.
5926         (END_FUNC): New macro.
5927
5928 2014-11-12  Matthew Fortune  <matthew.fortune@imgtec.com>
5929
5930         * config/mips/mips16.S: Set .module when supported.  Update O32
5931         FP64 calling convention and use for FPXX when possible.  Add FPXX
5932         calling convention fallback case.
5933
5934 2014-11-06  Bernd Schmidt  <bernds@codesourcery.com>
5935
5936         * config.host: Handle nvptx-*-*.
5937         * shared-object.mk (as-flags-$o): Define.
5938         ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5939         -xassembler-with-cpp.
5940         * static-object.mk: Identical changes.
5941         * config/nvptx/t-nvptx: New file.
5942         * config/nvptx/crt0.s: New file.
5943         * config/nvptx/free.asm: New file.
5944         * config/nvptx/malloc.asm: New file.
5945         * config/nvptx/realloc.c: New file.
5946
5947 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5948
5949         * Makefile.in (libgcc.map.in): New target.
5950         (libgcc.map): Use libgcc.map.in.
5951         * config/t-softfp (softfp_compat): New variable to be set by
5952         users.
5953         [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5954         variables.
5955         [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5956         directory.
5957         [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5958         that use compat symbols and disable all code unless [SHARED].
5959         * config/t-softfp-compat: New file.
5960         * find-symver.awk: New file.
5961         * configure.ac (--with-glibc-version): New configure option.
5962         (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5963         * configure: Regenerate.
5964         * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5965         soft-float and e500.
5966
5967 2014-10-29  Joseph Myers  <joseph@codesourcery.com>
5968
5969         * config/t-hardfp (hardfp_exclusions): Document new variable for
5970         user to define.
5971         (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5972         * config/t-softfp (softfp_extras): Document new variable for user
5973         to define.
5974         (softfp_func_list): Add functions from $(softfp_extras).
5975         * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5976         * config.host (powerpc*-*-linux*): For e500v1, use
5977         rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5978         t-softfp-excl.  For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5979         and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5980
5981 2014-10-26  John David Anglin  <danglin@gcc.gnu.org>
5982
5983         * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5984         (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5985         memory read accesses are ok.
5986
5987 2014-10-25  Joseph Myers  <joseph@codesourcery.com>
5988
5989         * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5990         * configure: Regenerate.
5991         * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5992         additions to tmake_file.  Use t-hardfp-sfdf and t-hardfp instead
5993         of soft-fp for 32-bit classic hard float.  Do not use
5994         t-softfp-excl for soft float.
5995
5996 2014-10-22  Joseph Myers  <joseph@codesourcery.com>
5997
5998         * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5999         configurations.
6000         * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6001         Remove variables.
6002
6003 2014-10-22  Georg-Johann Lay  <avr@gjlay.de>
6004
6005         * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6006         introduced with 2014-10-21 trunk r216525.
6007
6008 2014-10-21  Joern Rennecke  <joern.rennecke@embecosm.com>
6009             Vidya Praveen  <vidya.praveen@atmel.com>
6010             Praveen Kumar Kaushik  <Praveen_Kumar.Kaushik@atmel.com>
6011             Senthil Kumar Selvaraj  <Senthil_Kumar.Selvaraj@atmel.com>
6012             Pitchumani Sivanupandi  <Pitchumani.S@atmel.com>
6013
6014         * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6015         order.
6016
6017         Updated library functions for AVRTINY arch.
6018         * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6019         Replaced occurrences of r0/r1 with tmp/zero reg macros.
6020         Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6021         or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6022         wsubi/wadi macors.
6023         (__mulsi3_helper): Update stack, preserve callee saved regs and
6024         argument from stack. Restore callee save registers.
6025         (__mulpsi3): Likewise.
6026         (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6027         __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6028         __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
6029         AVRTINY.
6030         (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6031         (__do_copy_data): Added new definition for AVRTINY.
6032         (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6033         (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6034         __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6035         * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6036         tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6037         macors.
6038         * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
6039         AVRTINY.
6040
6041         Fix broken long multiplication on tiny arch.
6042
6043 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6044
6045         * soft-fp/double.h: Update from glibc.
6046         * soft-fp/eqdf2.c: Likewise.
6047         * soft-fp/eqsf2.c: Likewise.
6048         * soft-fp/eqtf2.c: Likewise.
6049         * soft-fp/extenddftf2.c: Likewise.
6050         * soft-fp/extended.h: Likewise.
6051         * soft-fp/extendsfdf2.c: Likewise.
6052         * soft-fp/extendsftf2.c: Likewise.
6053         * soft-fp/extendxftf2.c: Likewise.
6054         * soft-fp/gedf2.c: Likewise.
6055         * soft-fp/gesf2.c: Likewise.
6056         * soft-fp/getf2.c: Likewise.
6057         * soft-fp/ledf2.c: Likewise.
6058         * soft-fp/lesf2.c: Likewise.
6059         * soft-fp/letf2.c: Likewise.
6060         * soft-fp/op-1.h: Likewise.
6061         * soft-fp/op-2.h: Likewise.
6062         * soft-fp/op-4.h: Likewise.
6063         * soft-fp/op-8.h: Likewise.
6064         * soft-fp/op-common.h: Likewise.
6065         * soft-fp/quad.h: Likewise.
6066         * soft-fp/single.h: Likewise.
6067         * soft-fp/soft-fp.h: Likewise.
6068         * soft-fp/unorddf2.c: Likewise.
6069         * soft-fp/unordsf2.c: Likewise.
6070         * soft-fp/unordtf2.c: Likewise.
6071         * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6072         * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6073         * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6074         * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6075         * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6076         * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6077         * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6078         * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6079         * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6080         * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6081
6082 2014-10-08  Rong Xu  <xur@google.com>
6083
6084         * libgcov-util.c (read_gcda_file): Fix format.
6085         (find_match_gcov_info): Ditto.
6086         (calculate_2_entries): New.
6087         (compute_one_gcov): Ditto.
6088         (gcov_info_count_all_cold): Ditto.
6089         (gcov_info_count_all_zero): Ditto.
6090         (extract_file_basename): Ditto.
6091         (get_file_basename): Ditto.
6092         (set_flag): Ditto.
6093         (matched_gcov_info): Ditto.
6094         (calculate_overlap): Ditto.
6095         (gcov_profile_overlap): Ditto.
6096         * libgcov-driver.c (compute_summary): Make
6097         it avavilable for external calls.
6098
6099 2014-10-06  Rong Xu  <xur@google.com>
6100
6101         * Makefile.in: Ditto.
6102         * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6103         (gcov_sort_icall_topn_counter): Ditto.
6104         (gcov_sort_topn_counter_arrays): Ditto.
6105         (dump_one_gcov): Sort indirect_call topn counters.
6106         * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6107         function.
6108         * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6109         utility function.
6110         (__gcov_indirect_call_topn_profiler): New profiler function.
6111         * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6112         * libgcov.h: New decls.
6113
6114 2014-10-04  Trevor Saunders  <tsaunders@mozilla.com>
6115
6116         * config.host: Remove support for score-*.
6117
6118 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
6119
6120         * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6121         (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6122         (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6123         __LIBGCC_XF_MANT_DIG__.
6124         (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6125         (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6126         __LIBGCC_TF_MANT_DIG__.
6127         * libgcc2.c (NOTRUNC): Define in terms of
6128         __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6129         * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6130
6131 2014-09-22  Joseph Myers  <joseph@codesourcery.com>
6132
6133         PR target/63312
6134         * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6135         New macros.
6136
6137 2014-09-22  Hans-Peter Nilsson  <hp@axis.com>
6138
6139         * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6140         override USE_PT_GNU_EH_FRAME.
6141         [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6142         check USE_EH_FRAME_REGISTRY_ALWAYS against
6143         __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6144         * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6145         variable for substituted force_explicit_eh_registry.
6146         (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6147         * configure.ac (explicit-exception-frame-registration):
6148         New AC_ARG_ENABLE.
6149         * configure: Regenerate.
6150
6151 2014-09-19  Olivier Hainque  <hainque@adacore.com>
6152
6153         * config.host (powerpc-wrs-vxworksmils): New configuration,
6154         same as vxworksae.
6155
6156 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
6157
6158         * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6159
6160 2014-09-18  Joseph Myers  <joseph@codesourcery.com>
6161
6162         * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6163         bits not set bits as indicating trapping exceptions.
6164
6165 2014-09-17  Nathan sidwell  <nathan@acm.org>
6166
6167         * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6168         (LIBGCOV_DRIVER): ... here.
6169         * libgcov-driver.c (gcov_master): New.
6170         (gcov_exit): Remove from master chain.
6171         (__gcov_init): Add to master chain if version compatible.  Don't
6172         clear the version.
6173         * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6174         (gcov_reset_int): Clear master chain, if compatible.
6175         (gcov_dump_int): New internal interface.  Dump master chain, if
6176         compatible.
6177         (gcov_dump): Alias for gcov_dump_int.
6178         * libgcov.h (struct gcov_root): Add next and prev fields.
6179         (struct gcov_master): New struct.
6180         (__gcov_master): New.
6181         (gcov_dump_int): Declare.
6182
6183 2014-09-17  Olivier Hainque  <hainque@adacore.com>
6184
6185         * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6186         and crtbegin.o + crtend.o to extra_parts.
6187
6188 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
6189
6190         * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6191         __LIBGCC_HAS_SF_MODE__.
6192         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6193         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6194         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6195         * config/libbid/bid_gcc_intrinsics.h
6196         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6197         (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6198         (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6199         * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6200         (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6201         (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6202
6203 2014-09-11  Georg-Johann Lay  <avr@gjlay.de>
6204
6205         PR target/63223
6206         * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6207         and R24 as needed.  Make work for all devices and .text locations.
6208         (__do_global_ctors, __do_global_dtors): Use word addresses.
6209         (__tablejump__, __tablejump_elpm__): Remove functions.
6210         * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6211         Add _tablejump2.
6212         (XICALL, XIJMP): New macros.
6213
6214 2014-09-09  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6215         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
6216
6217         * config.host (aarch64*): Include crtfastmath.o and
6218         t-crtfm.
6219         * config/aarch64/crtfastmath.c: New file.
6220
6221 2014-09-08  Trevor Saunders  <tsaunders@mozilla.com>
6222
6223         * config.host: Remove picochip support.
6224         * config/picochip/adddi3.S: Remove.
6225         * config/picochip/ashlsi3.S: Remove.
6226         * config/picochip/ashlsi3.c: Remove.
6227         * config/picochip/ashrsi3.S: Remove.
6228         * config/picochip/ashrsi3.c: Remove.
6229         * config/picochip/clzsi2.S: Remove.
6230         * config/picochip/cmpsi2.S: Remove.
6231         * config/picochip/divmod15.S: Remove.
6232         * config/picochip/divmodhi4.S: Remove.
6233         * config/picochip/divmodsi4.S: Remove.
6234         * config/picochip/lib1funcs.S: Remove.
6235         * config/picochip/longjmp.S: Remove.
6236         * config/picochip/lshrsi3.S: Remove.
6237         * config/picochip/lshrsi3.c: Remove.
6238         * config/picochip/parityhi2.S: Remove.
6239         * config/picochip/popcounthi2.S: Remove.
6240         * config/picochip/setjmp.S: Remove.
6241         * config/picochip/subdi3.S: Remove.
6242         * config/picochip/t-picochip: Remove.
6243         * config/picochip/ucmpsi2.S: Remove.
6244         * config/picochip/udivmodhi4.S: Remove.
6245         * config/picochip/udivmodsi4.S: Remove.
6246
6247 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
6248
6249         * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6250         (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6251         (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6252         (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6253         * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__.  Give
6254         error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6255         (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__.  Give error if not
6256         defined and LIBGCC2_HAS_DF_MODE is defined.
6257         (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__.  Give error if not
6258         defined and LIBGCC2_HAS_XF_MODE is defined.
6259         (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__.  Give error if not
6260         defined and LIBGCC2_HAS_TF_MODE is defined.
6261
6262 2014-09-08  Joseph Myers  <joseph@codesourcery.com>
6263
6264         * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6265         and ROUND_TOWARDS_ZERO conditionals.
6266
6267 2014-09-07  Nathan sidwell  <nathan@acm.org>
6268
6269         * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6270         (ALIAS_weak): ... here. Use forwarding function.  Adjust uses.
6271
6272 2014-09-05  Joseph Myers  <joseph@codesourcery.com>
6273
6274         * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6275         * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6276         uses to __LIBGCC_STACK_POINTER_REGNUM__.
6277         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6278         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6279         * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6280         Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6281         * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6282         uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6283         (DWARF_FRAME_REGISTERS): Change all uses to
6284         __LIBGCC_DWARF_FRAME_REGISTERS__.
6285         (EH_RETURN_STACKADJ_RTX): Change all uses to
6286         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6287         * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6288         __LIBGCC_DWARF_FRAME_REGISTERS__.  Remove conditional definition.
6289         * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6290         use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6291         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6292         * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6293         to __LIBGCC_EH_FRAME_SECTION_NAME__.
6294         (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6295         * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6296         __LIBGCC_STACK_POINTER_REGNUM__.
6297         (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6298         __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6299         * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6300         to __LIBGCC_STACK_POINTER_REGNUM__.
6301         * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6302         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6303         * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6304         all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6305         * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6306         Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6307         (STACK_POINTER_REGNUM): Change all uses to
6308         __LIBGCC_STACK_POINTER_REGNUM__.
6309         * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6310         use to __LIBGCC_STACK_POINTER_REGNUM__.
6311         * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6312         uses to __LIBGCC_STACK_POINTER_REGNUM__.
6313         * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6314         to __LIBGCC_DWARF_FRAME_REGISTERS__.
6315         * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6316         to __LIBGCC_DWARF_FRAME_REGISTERS__.
6317         * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6318         to __LIBGCC_STACK_POINTER_REGNUM__.
6319         * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6320         Remove conditional definition.
6321         * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6322         __LIBGCC_TEXT_SECTION_ASM_OP__.
6323         (EH_FRAME_SECTION_NAME): Change all uses to
6324         __LIBGCC_EH_FRAME_SECTION_NAME__.
6325         (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6326         __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6327         (CTORS_SECTION_ASM_OP): Change all uses to
6328         __LIBGCC_CTORS_SECTION_ASM_OP__.
6329         (DTORS_SECTION_ASM_OP): Change all uses to
6330         __LIBGCC_DTORS_SECTION_ASM_OP__.
6331         (JCR_SECTION_NAME): Change all uses to
6332         __LIBGCC_JCR_SECTION_NAME__.
6333         (INIT_SECTION_ASM_OP): Change all uses to
6334         __LIBGCC_INIT_SECTION_ASM_OP__.
6335         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6336         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6337         * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6338         __LIBGCC_STACK_GROWS_DOWNWARD__.
6339         * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6340         __LIBGCC_INIT_SECTION_ASM_OP__.
6341         (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6342         __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6343         (EH_FRAME_SECTION_NAME): Change all uses to
6344         __LIBGCC_EH_FRAME_SECTION_NAME__.
6345         * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6346         definitions.  Change all uses to
6347         __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6348         * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6349         __LIBGCC_STACK_GROWS_DOWNWARD__.
6350         (DWARF_FRAME_REGISTERS): Change all uses to
6351         __LIBGCC_DWARF_FRAME_REGISTERS__.
6352         (EH_RETURN_STACKADJ_RTX): Change all uses to
6353         __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6354         * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6355         definition.  Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6356         * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6357         __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6358         (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6359
6360 2014-09-02  Nathan sidwell  <nathan@acm.org>
6361
6362         * libgcov-interface.c (STRONG_ALIAS): New.
6363         (__gcov_flush): Call __gcov_reset_int.
6364         (__gcov_reset): Strong alias for ...
6365         (__gcov_reset_ing): ... this renamed hidden version.
6366         * libgcov.h (__gcov_reset_int): New declaration.
6367
6368 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
6369
6370         * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6371         call from here...
6372         * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6373         (__dso_handle): Define on Cygwin.
6374         * config/i386/t-cygming (crtbeginS.o): New rule.
6375         * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6376
6377         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6378         declaration syntax.
6379
6380 2014-08-13  Steve Ellcey  <sellcey@mips.com>
6381
6382         * crtstuff.c: Undef caddr_t.
6383
6384 2014-08-12  Steve Ellcey  <sellcey@mips.com>
6385
6386         * config/mips/mips16.S:  Skip when __mips_soft_float is defined.
6387
6388 2014-08-07  Nathan Sidwell  <nathan@acm.org>
6389
6390         * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6391         (LIBGCOV_DRIVER): ... to here.
6392         * libgcov.h (gcov_do_dump): New #define.
6393         (struct gcov_root): New.
6394         (__gcov_root): New declaration.
6395         (__gcov_dump_one): Declare.
6396         * libgcov-driver.c (gcov_list, gcov_dump_complete,
6397         run_accounted): Delete.
6398         (gcov_compute_histogram): Add LIST argument, adjust.
6399         (compute_summary): Adjust gcov_compute_histogram call.
6400         (gcov_do_dump): Not hidden, static in libgcov.
6401         (gcov_clear): Move  to interface.c.
6402         (__gcov_dump_one): New, broken out of ...
6403         (gcov_exit): ... here.  Make static.
6404         (__gcov_root): New.
6405         (__gcov_init): Adjust.
6406         * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6407         declarations.
6408         (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6409         (gcov_clear): Moved from driver.c.   Add LIST argument.
6410         (__gcov_reset): Adjust for changed interfaces.
6411         (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6412
6413 2014-08-04  Rohit  <rohitarulraj@freescale.com>
6414
6415         PR target/60102
6416         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6417         based on change in SPE high register numbers and 3 HTM registers.
6418
6419 2014-08-01  Nathan Sidwell  <nathan@acm.org>
6420
6421         * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6422         LIBGCOV_INTERFACE): Reformat.
6423         * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6424         IN_GCOV_TOOL.
6425         * libgcov-interface.c: Reformat some comments.
6426         (__gcov_flush_mx): Add declaration.  Tidy up definition.
6427
6428 2014-07-31  Alan Modra  <amodra@gmail.com>
6429             Peter Bergner  <bergner@vnet.ibm.com>
6430
6431         * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6432         (pack_ldouble): New function.
6433         (__gcc_qadd): Use it.
6434         (__gcc_qmul): Likewise.
6435         (__gcc_qdiv): Likewise.
6436         (__gcc_qneg): Likewise.
6437         (__gcc_stoq): Likewise.
6438         (__gcc_dtoq): Likewise.
6439
6440 2014-07-30  J. D. Johnston  <jjohnst@us.ibm.com>
6441
6442         * config/s390/tpf-unwind.h: Include <stdbool.h>.
6443         (__tpf_eh_return): Add original return address as second parameter.
6444         Handle cases where unwinder routines were called directly, instead
6445         of from within the C++ library.
6446
6447 2014-07-29  Nathan Sidwell  <nathan@acm.org>
6448
6449         * libgcov.h: Move renaming of entry points to lib gcov specific
6450         portion.
6451         (gcov_do_dump): New rename.
6452         (gcov_rewrite): Remove inline, make HIDDEN.
6453         * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6454         (gcov_exit_compute_summary): Rename to ...
6455         (compute_summary): ... here.  Add LIST argument.
6456         (gcov_exit_merge_gcda): Rename to ...
6457         (merge_one_data): ... here.
6458         (gcov_exit_write_gcda): Rename to ...
6459         (write_one_data): ... here.
6460         (gcov_exit_merge_summary): Rename to ...
6461         (merge_summary): Add RUN_COUNTED argument.
6462         (gcov_exit_dump_gcov): Rename to ...
6463         (dump_one_gcov): Add RUN_COUNTED argument.
6464         (gcov_do_dump): New function, broken out of ...
6465         (gcov_exit): ... here.  Call it.
6466
6467 2014-07-27  Anthony Green  <green@moxielogic.com>
6468
6469         * config.host: Add moxiebox configuration suppport.
6470
6471 2014-07-27  Nathan Sidwell  <nathan@acm.org>
6472
6473         * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6474         (struct gcov_filename): ... here.  Include buffer and max length
6475         fields.
6476         (gcov_max_filename): Remove.
6477         (gi_filename): Remove.
6478         (gcov_exit_compute_summary): Compute max filename here.
6479         (gcov_exit_merge_gcda): Add filename parm, adjust.
6480         (gcov_exit_merge_summary): Likewise.
6481         (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6482         (gcov_exit): Likewise.
6483         (__gcov_init): Don't calculate max length here.
6484         * libgcov_util.c (max_filename_len): Remove.
6485         (read_gcda_file): Don't calculate max length here.
6486         (gcov_read_profile_dir): Don't propagate here.
6487         * libgcov-driver-system.c (alloc_filename_struct): Adjust for
6488         struct gcov_filename changes.
6489         (gcov_exit_open_gcda_file): Likewise.
6490
6491 2014-07-25  Nathan Sidwell  <nathan@acm.org>
6492
6493         * libgcov-driver.c (set_gcov_dump_complete,
6494         reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
6495         functions polluting user's namespace.
6496         (gcov_exit): Set variable directly.
6497         (gcov_clear): Reset variable directly.
6498         * libgcov-interface.c (get_gcov_dymp_complete,
6499         reset_gov_dump_complete): Remove declarations.
6500         (__gcov_reset, __gcov_dump): Don't call them.
6501
6502 2014-07-24  DJ Delorie  <dj@redhat.com>
6503
6504         * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
6505         (__gcc_deregister_frame): Move logic to detect deregister function
6506         to ...
6507         (__gcc_register_frame): here, so it's consistent with the register
6508         logic.
6509
6510 2014-07-23  Nathan Sidwell  <nathan@acm.org>
6511
6512         * libgcov-driver.c (set_gcov_list): Remove.
6513         (gcov_list): Make non-static in GCOV_TOOL.
6514         * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
6515
6516 2014-07-17  John David Anglin  <danglin@gcc.gnu.org>
6517
6518         * config/pa/linux-atomic.c (__sync_lock_release_4): New.
6519         (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
6520         Don't use SYNC_LOCK_RELEASE for int type.
6521
6522 2014-07-14  Richard Biener  <rguenther@suse.de>
6523
6524         * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
6525
6526 2014-07-11  Rong Xu  <xur@google.com>
6527
6528         * libgcov-util.c (gcov_max_filename): Fix declartion.
6529
6530 2014-07-10  Rong Xu  <xur@google.com>
6531
6532         Add gcov-tool: an offline gcda profile processing tool
6533         Support.
6534         * libgcov-driver.c (gcov_max_filename): Make available
6535         to gcov-tool.
6536         * libgcov-merge.c (__gcov_merge_add): Replace
6537         gcov_read_counter() with a Macro.
6538         (__gcov_merge_ior): Ditto.
6539         (__gcov_merge_time_profile): Ditto.
6540         (__gcov_merge_single): Ditto.
6541         (__gcov_merge_delta): Ditto.
6542         * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
6543         in the utility functions.
6544         (set_fn_ctrs): Utility function for reading gcda files to in-memory
6545         gcov_list object link lists.
6546         (tag_function): Ditto.
6547         (tag_blocks): Ditto.
6548         (tag_arcs): Ditto.
6549         (tag_lines): Ditto.
6550         (tag_counters): Ditto.
6551         (tag_summary): Ditto.
6552         (read_gcda_finalize): Ditto.
6553         (read_gcda_file): Ditto.
6554         (ftw_read_file): Ditto.
6555         (read_profile_dir_init): Ditto.
6556         (gcov_read_profile_dir): Ditto.
6557         (gcov_read_counter_mem): Ditto.
6558         (gcov_get_merge_weight): Ditto.
6559         (merge_wrapper): A wrapper function that calls merging handler.
6560         (gcov_merge): Merge two gcov_info objects with weights.
6561         (find_match_gcov_info): Find the matched gcov_info in the list.
6562         (gcov_profile_merge): Merge two gcov_info object lists.
6563         (__gcov_add_counter_op): Process edge profile counter values.
6564         (__gcov_ior_counter_op): Process IOR profile counter values.
6565         (__gcov_delta_counter_op): Process delta profile counter values.
6566         (__gcov_single_counter_op): Process single  profile counter values.
6567         (fp_scale): Callback function for float-point scaling.
6568         (int_scale): Callback function for integer fraction scaling.
6569         (gcov_profile_scale): Scaling profile counters.
6570         (gcov_profile_normalize): Normalize profile counters.
6571         * libgcov.h: Add headers and functions for gcov-tool use.
6572         (gcov_get_counter): New.
6573         (gcov_get_counter_target): Ditto.
6574         (struct gcov_info): Make the functions field mutable in gcov-tool
6575         compilation.
6576
6577 2014-06-23  Kai Tietz  <ktietz@redhat.com>
6578
6579         PR libgcc/61585
6580         * unwind-seh.c (_Unwind_GetGR): Check for proper
6581         index range.
6582         (_Unwind_SetGR): Likewise.
6583
6584 2014-05-22  Nick Clifton  <nickc@redhat.com>
6585
6586         * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6587         -mhwmult=none.
6588
6589 2014-05-22  Teresa Johnson  <tejohnson@google.com>
6590
6591         * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6592         include.
6593
6594 2014-05-20  John Marino  <gnugcc@marino.st>
6595
6596         * config.host (*-*-dragonfly*): New target.
6597         * crtstuff.c: Make dl_iterate_support generic on *bsd.
6598         * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6599         * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6600         * config/i386/dragonfly-unwind.h: New.
6601
6602 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
6603
6604         PR libgcc/60166
6605         * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6606         (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6607
6608 2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>
6609
6610         * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6611         implementation.
6612
6613 2014-05-12  Georg-Johann Lay  <avr@gjlay.de>
6614
6615         * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6616
6617 2014-05-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6618
6619         PR libgcc/61097
6620         * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6621         if --enable-shared.
6622
6623 2014-04-30  Bernd Edlinger  <bernd.edlinger@hotmail.de>
6624
6625         Work around for current cygwin32 build problems.
6626         * config/i386/cygming-crtbegin.c (__register_frame_info,
6627         __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6628         functions only for 64-bit systems.
6629
6630 2014-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6631
6632         * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6633         (sigill_caught, sigill_hdlr): Remove.
6634
6635 2014-04-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6636
6637         * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6638         check.
6639         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6640         Solaris 9 single-threaded support.
6641         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6642         Solaris 9 single-threaded support.  Add call_user_handler code
6643         sequences.
6644         (sparc_is_sighandler): Likewise.
6645
6646 2014-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6647
6648         * config.host: Append t-floattodi to tmake_file depending on
6649         host_address.
6650
6651 2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>
6652
6653         * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
6654
6655 2014-03-10  Uros Bizjak  <ubizjak@gmail.com>
6656
6657         PR libgcc/60472
6658         * crtstuff.c (frame_dummy): Use void **jcr_list temporary
6659         variable to avoid "array subscript is above array bounds" warnings.
6660         Use __builtin_expect when checking *jcr_list for NULL.
6661
6662 2014-03-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6663
6664         PR libgcc/59339
6665         * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6666         (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6667         vtv_*.o to extra_parts if enable_vtable_verify.
6668
6669 2014-03-06  Nick Clifton  <nickc@redhat.com>
6670
6671         * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6672         * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6673
6674 2014-02-28  Joey Ye  <joey.ye@arm.com>
6675
6676         PR libgcc/60166
6677         * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6678         _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6679         Set to zero.
6680
6681 2014-02-24  Walter Lee  <walt@tilera.com>
6682
6683         * config.host: Support "tilegx*" and "tilepro*" triplets.
6684         * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6685         * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6686
6687 2014-02-20  Sandra Loosemore  <sandra@codesourcery.com>
6688             Chung-Lin Tang  <cltang@codesourcery.com>
6689
6690         * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6691         * config/nios2/crti.S: Remove .file directive.
6692         * config/nios2/crtn.S: Likewise.
6693
6694 2014-02-18  Kai Tietz  <ktietz@redhat.com>
6695         Jonathan Schleifer  <js@webkeks.org>
6696
6697         PR objc/56870
6698         * unwind-seh.c (_GCC_specific_handler): Pass proper
6699         value to unwind-handler.
6700
6701 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
6702
6703         * soft-fp/adddf3.c: Update from glibc.
6704         * soft-fp/addsf3.c: Likewise.
6705         * soft-fp/addtf3.c: Likewise.
6706         * soft-fp/divdf3.c: Likewise.
6707         * soft-fp/divsf3.c: Likewise.
6708         * soft-fp/divtf3.c: Likewise.
6709         * soft-fp/double.h: Likewise.
6710         * soft-fp/eqdf2.c: Likewise.
6711         * soft-fp/eqsf2.c: Likewise.
6712         * soft-fp/eqtf2.c: Likewise.
6713         * soft-fp/extenddftf2.c: Likewise.
6714         * soft-fp/extended.h: Likewise.
6715         * soft-fp/extendsfdf2.c: Likewise.
6716         * soft-fp/extendsftf2.c: Likewise.
6717         * soft-fp/extendxftf2.c: Likewise.
6718         * soft-fp/fixdfdi.c: Likewise.
6719         * soft-fp/fixdfsi.c: Likewise.
6720         * soft-fp/fixdfti.c: Likewise.
6721         * soft-fp/fixsfdi.c: Likewise.
6722         * soft-fp/fixsfsi.c: Likewise.
6723         * soft-fp/fixsfti.c: Likewise.
6724         * soft-fp/fixtfdi.c: Likewise.
6725         * soft-fp/fixtfsi.c: Likewise.
6726         * soft-fp/fixtfti.c: Likewise.
6727         * soft-fp/fixunsdfdi.c: Likewise.
6728         * soft-fp/fixunsdfsi.c: Likewise.
6729         * soft-fp/fixunsdfti.c: Likewise.
6730         * soft-fp/fixunssfdi.c: Likewise.
6731         * soft-fp/fixunssfsi.c: Likewise.
6732         * soft-fp/fixunssfti.c: Likewise.
6733         * soft-fp/fixunstfdi.c: Likewise.
6734         * soft-fp/fixunstfsi.c: Likewise.
6735         * soft-fp/fixunstfti.c: Likewise.
6736         * soft-fp/floatdidf.c: Likewise.
6737         * soft-fp/floatdisf.c: Likewise.
6738         * soft-fp/floatditf.c: Likewise.
6739         * soft-fp/floatsidf.c: Likewise.
6740         * soft-fp/floatsisf.c: Likewise.
6741         * soft-fp/floatsitf.c: Likewise.
6742         * soft-fp/floattidf.c: Likewise.
6743         * soft-fp/floattisf.c: Likewise.
6744         * soft-fp/floattitf.c: Likewise.
6745         * soft-fp/floatundidf.c: Likewise.
6746         * soft-fp/floatundisf.c: Likewise.
6747         * soft-fp/floatunditf.c: Likewise.
6748         * soft-fp/floatunsidf.c: Likewise.
6749         * soft-fp/floatunsisf.c: Likewise.
6750         * soft-fp/floatunsitf.c: Likewise.
6751         * soft-fp/floatuntidf.c: Likewise.
6752         * soft-fp/floatuntisf.c: Likewise.
6753         * soft-fp/floatuntitf.c: Likewise.
6754         * soft-fp/gedf2.c: Likewise.
6755         * soft-fp/gesf2.c: Likewise.
6756         * soft-fp/getf2.c: Likewise.
6757         * soft-fp/ledf2.c: Likewise.
6758         * soft-fp/lesf2.c: Likewise.
6759         * soft-fp/letf2.c: Likewise.
6760         * soft-fp/muldf3.c: Likewise.
6761         * soft-fp/mulsf3.c: Likewise.
6762         * soft-fp/multf3.c: Likewise.
6763         * soft-fp/negdf2.c: Likewise.
6764         * soft-fp/negsf2.c: Likewise.
6765         * soft-fp/negtf2.c: Likewise.
6766         * soft-fp/op-1.h: Likewise.
6767         * soft-fp/op-2.h: Likewise.
6768         * soft-fp/op-4.h: Likewise.
6769         * soft-fp/op-8.h: Likewise.
6770         * soft-fp/op-common.h: Likewise.
6771         * soft-fp/quad.h: Likewise.
6772         * soft-fp/single.h: Likewise.
6773         * soft-fp/soft-fp.h: Likewise.
6774         * soft-fp/subdf3.c: Likewise.
6775         * soft-fp/subsf3.c: Likewise.
6776         * soft-fp/subtf3.c: Likewise.
6777         * soft-fp/truncdfsf2.c: Likewise.
6778         * soft-fp/trunctfdf2.c: Likewise.
6779         * soft-fp/trunctfsf2.c: Likewise.
6780         * soft-fp/trunctfxf2.c: Likewise.
6781         * soft-fp/unorddf2.c: Likewise.
6782         * soft-fp/unordsf2.c: Likewise.
6783         * soft-fp/unordtf2.c: Likewise.
6784         * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6785         macro.
6786         * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6787         Likewise.
6788         * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6789         Likewise.
6790         * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6791         Likewise.
6792         * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6793         Likewise.
6794         * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6795         Likewise.
6796         * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6797         Likewise.
6798         * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6799         Likewise.
6800         * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6801         Likewise.
6802         * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6803         Likewise.
6804         * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6805         Likewise.
6806         * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6807         Likewise.
6808         * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6809         Likewise.
6810         * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6811         Likewise.
6812         * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6813         Likewise.
6814         * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6815         Likewise.
6816
6817 2014-02-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6818
6819         * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6820         cannot be represented.
6821         * config/s390/32/_fixsfdi.c: Likewise.
6822         * config/s390/32/_fixtfdi.c: Likewise.
6823         * config/s390/32/_fixunsdfdi.c: Likewise.
6824         * config/s390/32/_fixunssfdi.c: Likewise.
6825         * config/s390/32/_fixunstfdi.c: Likewise.
6826
6827 2014-02-07  Richard Sandiford  <rdsandiford@googlemail.com>
6828
6829         * configure.ac (libgcc_cv_mips_hard_float): New.
6830         * configure: Regenerate.
6831         * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6832         t-softfp-sfdf for hard-float targets.
6833         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6834         (softfp_float_modes, softfp_int_modes, softfp_extensions)
6835         (softfp_truncations, softfp_exclude_libgcc2): New.
6836         * config/t-hardfp: New file.
6837         * config/t-hardfp-sfdf: Likewise.
6838         * config/hardfp.c: Likewise.
6839
6840 2014-02-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6841
6842         * config.host: Include t-floattodi also for s390x.
6843         * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6844         * config/s390/32/_fixsfdi.c: Likewise.
6845         * config/s390/32/_fixtfdi.c: Likewise.
6846         * config/s390/32/_fixunsdfdi.c: Likewise.
6847         * config/s390/32/_fixunssfdi.c: Likewise.
6848         * config/s390/32/_fixunstfdi.c: Likewise.
6849
6850 2014-02-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6851
6852         PR target/59788
6853         * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6854         (install-libgcc-unwind-map-forbuild): New target.
6855         (all): Depend on install-libgcc-unwind-map-forbuild.
6856         (install-libgcc-unwind-map): New target.
6857         (install): Depend on install-libgcc-unwind-map.
6858
6859 2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
6860
6861         * config/nios2/crti.S (_init): Initialize GOT pointer from
6862         _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6863
6864 2014-02-02  Richard Sandiford  <rdsandiford@googlemail.com>
6865
6866         * configure.ac: Check __mips64 when setting host_address.
6867         * configure: Regenerate.
6868         * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6869         mips/t-mips64 and t-softfp.
6870         (mips*-*-linux*): Don't add mips/t-tpbit.
6871         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6872         (DPBIT, DPBIT_CFLAGS): Delete.
6873         * config/mips/sfp-machine.h: New file.
6874         * config/mips/t-mips64: Likewise.
6875         * config/mips/t-softfp-tf: Likewise.
6876         * config/mips/t-tpbit: Delete.
6877
6878 2014-01-29  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6879
6880         * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6881         as long long.
6882
6883 2014-01-25  Walter Lee  <walt@tilera.com>
6884
6885         * config/tilepro/atomic.c: Include tconfig.h.  Don't include
6886         config.h or system.h.
6887         (bool) Define.
6888
6889 2014-01-25  Walter Lee  <walt@tilera.com>
6890
6891         * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6892         (post_atomic_barrier): Ditto.
6893         (__fetch_and_do): New macro.
6894         (__atomic_fetch_and_do): Use __fetch_and_do.
6895         (__sync_fetch_and_do): New macro.
6896         (__sync_fetch_and_add_4): New function.
6897         (__sync_fetch_and_sub_4): New function.
6898         (__sync_fetch_and_or_4): New function.
6899         (__sync_fetch_and_and_4): New function.
6900         (__sync_fetch_and_xor_4): New function.
6901         (__sync_fetch_and_nand_4): New function.
6902         (__sync_fetch_and_add_8): New function.
6903         (__sync_fetch_and_sub_8): New function.
6904         (__sync_fetch_and_or_8): New function.
6905         (__sync_fetch_and_and_8): New function.
6906         (__sync_fetch_and_xor_8): New function.
6907         (__sync_fetch_and_nand_8): New function.
6908         (__do_and_fetch): New macro.
6909         (__atomic_do_and_fetch): Use __do_and_fetch.
6910         (__sync_do_and_fetch): New macro.
6911         (__sync_add_and_fetch_4): New function.
6912         (__sync_sub_and_fetch_4): New function.
6913         (__sync_or_and_fetch_4): New function.
6914         (__sync_and_and_fetch_4): New function.
6915         (__sync_xor_and_fetch_4): New function.
6916         (__sync_nand_and_fetch_4): New function.
6917         (__sync_add_and_fetch_8): New function.
6918         (__sync_sub_and_fetch_8): New function.
6919         (__sync_or_and_fetch_8): New function.
6920         (__sync_and_and_fetch_8): New function.
6921         (__sync_xor_and_fetch_8): New function.
6922         (__sync_nand_and_fetch_8): New function.
6923         (__sync_exchange_methods): New macro.
6924         (__sync_val_compare_and_swap_4): New function.
6925         (__sync_bool_compare_and_swap_4): New function.
6926         (__sync_lock_test_and_test_4): New function.
6927         (__sync_val_compare_and_swap_8): New function.
6928         (__sync_bool_compare_and_swap_8): New function.
6929         (__sync_lock_test_and_test_8): New function.
6930         (__subword_cmpxchg_body): New macro.
6931         (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6932         (__atomic_compare_exchange_2): Ditto.
6933         (__sync_subword_cmpxchg): New macro.
6934         (__sync_val_compare_and_swap_1): New function.
6935         (__sync_bool_compare_and_swap_1): New function.
6936         (__sync_val_compare_and_swap_2): New function.
6937         (__sync_bool_compare_and_swap_2): New function.
6938         (__atomic_subword): Rename to ...
6939         (__subword): ... New name.
6940         (__atomic_subword_fetch): Use __subword.
6941         (__sync_subword_fetch): New macro.
6942         (__sync_fetch_and_add_1): New function.
6943         (__sync_fetch_and_sub_1): New function.
6944         (__sync_fetch_and_or_1): New function.
6945         (__sync_fetch_and_and_1): New function.
6946         (__sync_fetch_and_xor_1): New function.
6947         (__sync_fetch_and_nand_1): New function.
6948         (__sync_fetch_and_add_2): New function.
6949         (__sync_fetch_and_sub_2): New function.
6950         (__sync_fetch_and_or_2): New function.
6951         (__sync_fetch_and_and_2): New function.
6952         (__sync_fetch_and_xor_2): New function.
6953         (__sync_fetch_and_nand_2): New function.
6954         (__sync_add_and_fetch_1): New function.
6955         (__sync_sub_and_fetch_1): New function.
6956         (__sync_or_and_fetch_1): New function.
6957         (__sync_and_and_fetch_1): New function.
6958         (__sync_xor_and_fetch_1): New function.
6959         (__sync_nand_and_fetch_1): New function.
6960         (__sync_add_and_fetch_2): New function.
6961         (__sync_sub_and_fetch_2): New function.
6962         (__sync_or_and_fetch_2): New function.
6963         (__sync_and_and_fetch_2): New function.
6964         (__sync_xor_and_fetch_2): New function.
6965         (__sync_nand_and_fetch_2): New function.
6966         (__atomic_subword_lock): Use __subword.
6967         (__sync_subword_lock): New macro.
6968         (__sync_lock_test_and_set_1): New function.
6969         (__sync_lock_test_and_set_2): New function.
6970
6971 2014-01-25  Walter Lee  <walt@tilera.com>
6972
6973         * config/tilepro/atomic.c (BIT_OFFSET): Define.
6974         (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6975         (__atomic_subword): Ditto.
6976
6977 2014-01-25  Walter Lee  <walt@tilera.com>
6978
6979         * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6980         a prefix op argument.
6981         (__atomic_nand_fetch_4): Add prefix op.
6982         (__atomic_nand_fetch_8): Ditto.
6983
6984 2014-01-21  Baruch Siach  <barch@tkos.co.il>
6985
6986         * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6987
6988 2014-01-09  Rong Xu  <xur@google.com>
6989
6990         * libgcov-driver.c (this_prg): make it local to save
6991         bss space.
6992         (gcov_exit_compute_summary): Ditto.
6993         (gcov_exit_merge_gcda): Ditto.
6994         (gcov_exit_merge_summary): Ditto.
6995         (gcov_exit_dump_gcov): Ditto.
6996
6997 2014-01-08  Rong Xu  <xur@google.com>
6998
6999         * libgcov-driver.c: Use libgcov.h.
7000         (buffer_fn_data): Use xmalloc instead of malloc.
7001         (gcov_exit_merge_gcda): Ditto.
7002         * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7003         * libgcov.h: New common header files for libgcov-*.h.
7004         * libgcov-interface.c: Use libgcov.h
7005         * libgcov-merge.c: Ditto.
7006         * libgcov-profiler.c: Ditto.
7007         * Makefile.in: Add dependence to libgcov.h
7008
7009 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
7010
7011         * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7012         case of small numerator and finite nonzero result.
7013
7014 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
7015
7016         Update copyright years
7017
7018 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
7019
7020         * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7021         config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7022         config/arc/dp-hack.h, config/arc/fp-hack.h,
7023         config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7024         config/arc/ieee-754/arc600-dsp/divdf3.S,
7025         config/arc/ieee-754/arc600-dsp/divsf3.S,
7026         config/arc/ieee-754/arc600-dsp/muldf3.S,
7027         config/arc/ieee-754/arc600-dsp/mulsf3.S,
7028         config/arc/ieee-754/arc600-mul64/divdf3.S,
7029         config/arc/ieee-754/arc600-mul64/divsf3.S,
7030         config/arc/ieee-754/arc600-mul64/muldf3.S,
7031         config/arc/ieee-754/arc600-mul64/mulsf3.S,
7032         config/arc/ieee-754/arc600/divsf3.S,
7033         config/arc/ieee-754/arc600/mulsf3.S,
7034         config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7035         config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7036         config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7037         config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7038         config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7039         config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7040         config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7041         config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7042         config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7043         config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7044         config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7045         config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7046         config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7047         config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7048         config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7049         config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7050         config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7051         config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7052         config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7053         config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7054         config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7055         config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7056         vtv_start_preinit.c: Use the standard form for the copyright notice.
7057
7058 2013-12-31  Sandra Loosemore  <sandra@codesourcery.com>
7059             Chung-Lin Tang  <cltang@codesourcery.com>
7060             Based on patches from Altera Corporation
7061
7062         * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7063         * config/nios2/lib2-nios2.h: New file.
7064         * config/nios2/lib2-divmod-hi.c: New file.
7065         * config/nios2/linux-unwind.h: New file.
7066         * config/nios2/lib2-divmod.c: New file.
7067         * config/nios2/linux-atomic.c: New file.
7068         * config/nios2/t-nios2: New file.
7069         * config/nios2/crti.asm: New file.
7070         * config/nios2/t-linux: New file.
7071         * config/nios2/lib2-divtable.c: New file.
7072         * config/nios2/lib2-mul.c: New file.
7073         * config/nios2/tramp.c: New file.
7074         * config/nios2/crtn.asm: New file.
7075
7076 2013-12-26  Uros Bizjak  <ubizjak@gmail.com>
7077
7078         * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7079         (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7080         from cpuid.h to check vendor signatures.
7081
7082 2013-12-26  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
7083
7084         * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
7085         AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7086         (get_amd_cpu): Likewise.
7087
7088 2013-12-25   H.J. Lu  <hongjiu.lu@intel.com>
7089
7090         * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7091         Haswell.
7092
7093 2013-12-25  Allan Sandfeld Jensen  <sandfeld@kde.org>
7094             H.J. Lu  <hongjiu.lu@intel.com>
7095
7096         PR target/59422
7097         * config/i386/cpuinfo.c (enum processor_types):  Add AMD_BOBCAT
7098         and AMD_JAGUAR.
7099         (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7100         INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7101         (enum processor_features): Add  FEATURE_SSE4_A, FEATURE_FMA4,
7102         FEATURE_XOP and FEATURE_FMA.
7103         (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7104         AMDFAM15H_BDVER3.
7105         (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
7106         (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
7107         FEATURE_FMA4 and FEATURE_XOP.
7108
7109 2013-12-23   H.J. Lu  <hongjiu.lu@intel.com>
7110
7111         * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7112         INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7113         (get_intel_cpu): Updated.
7114
7115 2013-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>
7116
7117         * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7118
7119 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
7120
7121         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7122         instructions when __SSE_MATH__ is defined.
7123
7124 2013-12-06  Ralf Corsépius  <ralf.corsepius@rtems.org>
7125
7126         * config.host (microblaze-*-rtems*): New.
7127
7128 2013-12-04  Kugan Vivekanandarajah  <kuganv@linaro.org>
7129
7130         * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7131         architectures that do not have hardware divide instruction.
7132         i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7133
7134 2013-12-04  Richard Sandiford  <rdsandiford@googlemail.com>
7135
7136         * longlong.h: Delete (moved to include/).
7137
7138 2013-12-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7139
7140         * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7141         of normal number and qNaN to not raise an inexact exception.
7142
7143 2013-11-28  Uros Bizjak  <ubizjak@gmail.com>
7144
7145         * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7146
7147 2013-11-28  Matthew Leach  <matthew.leach@arm.com>
7148
7149         * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7150         for correct opcodes on BE.
7151
7152 2013-11-27  Uros Bizjak  <ubizjak@gmail.com>
7153
7154         * soft-fp/op-4.h: Update from glibc.
7155
7156 2013-11-27  Kugan Vivekanandarajah  <kuganv@linaro.org>
7157
7158         * libgcc2.c (__udivmoddi4): Define new implementation when
7159         TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7160         divide instructions.
7161
7162 2013-11-25  Oleg Endo  <olegendo@gcc.gnu.org>
7163
7164         * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7165
7166 2013-11-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
7167
7168         * config/t-softfp (soft-fp-objects-base): New variable.
7169         (soft-fp-objects): Use it.
7170
7171 2013-11-23  David Edelson  <dje.gcc@gmail.com>
7172             Andrew Dixie  <andrewd@gentrack.com>
7173
7174         PR target/33704
7175         * config/rs6000/aixinitfini.c: New file.
7176         * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7177         * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7178         symbols.
7179
7180 2013-11-22  Yuri Rumyantsev  <ysrumyan@gmail.com>
7181
7182         * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
7183
7184 2013-11-18  Jan Hubicka  <jh@suse.cz>
7185
7186         * libgcov-driver.c (run_accounted): Make global level static.
7187         (gcov_exit_merge_summary): Silence warning; do not clear
7188         run_accounted here.
7189         (gcov_exit): Clear it here.
7190
7191         * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7192         run_accounted.
7193
7194         * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7195         (all_prg, crc32): Remove static vars.
7196         (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7197         all_prg.
7198         (gcov_exit_merge_gcda): Add crc32 parameter.
7199         (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7200         do not account run if it was already accounted.
7201         (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7202         (gcov_exit): Initialize all_prg; update.
7203
7204 2013-11-15  Andreas Schwab  <schwab@linux-m68k.org>
7205
7206         * configure: Regenerate.
7207
7208 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7209             Alan Modra  <amodra@gmail.com>
7210
7211         * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7212         (frob_update_context): Use it.
7213
7214 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7215             Alan Modra  <amodra@gmail.com>
7216
7217         * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7218         (trampoline_initial): Provide ELFv2 variant.
7219         (__trampoline_setup): Likewise.
7220
7221         * config/rs6000/linux-unwind.h (frob_update_context): Do not
7222         check for AIX indirect function call sequence if _CALL_ELF == 2.
7223
7224 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7225             Alan Modra  <amodra@gmail.com>
7226
7227         * config/rs6000/linux-unwind.h (get_regs): Do not support
7228         old kernel versions if _CALL_ELF == 2.
7229         (frob_update_context): Do not support PLT stub variants only
7230         generated by old linkers if _CALL_ELF == 2.
7231
7232 2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
7233             Alan Modra  <amodra@gmail.com>
7234
7235         * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7236         location of CR save area for 64-bit little-endian systems.
7237
7238 2013-11-11  Eric Botcazou  <ebotcazou@adacore.com>
7239
7240         * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7241         in tmake_file.
7242         * config/arm/t-vxworks: Delete.
7243
7244 2013-11-10  Kai Tietz  <ktietz@redhat.com>
7245
7246         * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7247         Increment load-count on use of LIBGCC_SONAME DLL.
7248         (hmod_libgcc): New static variable to hold handle of
7249         LIBGCC_SONAME DLL.
7250         (__gcc_deregister_frame): Decrement load-count of
7251         LIBGCC_SONAME DLL.
7252
7253 2013-11-08  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
7254
7255         * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7256         availability.
7257         * configure: Regenerate
7258
7259 2013-11-07  Uros Bizjak  <ubizjak@gmail.com>
7260
7261         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7262         FP_EX_DENORM.  Store result to volatile location after SSE division
7263         to close interrupt window.  Remove unneeded fwait after x87
7264         division since interrupt window will be closed by emitted fstp.
7265         Rewrite FP_EX_INEXACT handling.
7266
7267 2013-11-06  Joseph Myers  <joseph@codesourcery.com>
7268
7269         * soft-fp/README: Update.
7270         * soft-fp/adddf3.c: Update from glibc.
7271         * soft-fp/addsf3.c: Likewise.
7272         * soft-fp/addtf3.c: Likewise.
7273         * soft-fp/divdf3.c: Likewise.
7274         * soft-fp/divsf3.c: Likewise.
7275         * soft-fp/divtf3.c: Likewise.
7276         * soft-fp/double.h: Likewise.
7277         * soft-fp/eqdf2.c: Likewise.
7278         * soft-fp/eqsf2.c: Likewise.
7279         * soft-fp/eqtf2.c: Likewise.
7280         * soft-fp/extenddftf2.c: Likewise.
7281         * soft-fp/extended.h: Likewise.
7282         * soft-fp/extendsfdf2.c: Likewise.
7283         * soft-fp/extendsftf2.c: Likewise.
7284         * soft-fp/extendxftf2.c: Likewise.
7285         * soft-fp/fixdfdi.c: Likewise.
7286         * soft-fp/fixdfsi.c: Likewise.
7287         * soft-fp/fixdfti.c: Likewise.
7288         * soft-fp/fixsfdi.c: Likewise.
7289         * soft-fp/fixsfsi.c: Likewise.
7290         * soft-fp/fixsfti.c: Likewise.
7291         * soft-fp/fixtfdi.c: Likewise.
7292         * soft-fp/fixtfsi.c: Likewise.
7293         * soft-fp/fixtfti.c: Likewise.
7294         * soft-fp/fixunsdfdi.c: Likewise.
7295         * soft-fp/fixunsdfsi.c: Likewise.
7296         * soft-fp/fixunsdfti.c: Likewise.
7297         * soft-fp/fixunssfdi.c: Likewise.
7298         * soft-fp/fixunssfsi.c: Likewise.
7299         * soft-fp/fixunssfti.c: Likewise.
7300         * soft-fp/fixunstfdi.c: Likewise.
7301         * soft-fp/fixunstfsi.c: Likewise.
7302         * soft-fp/fixunstfti.c: Likewise.
7303         * soft-fp/floatdidf.c: Likewise.
7304         * soft-fp/floatdisf.c: Likewise.
7305         * soft-fp/floatditf.c: Likewise.
7306         * soft-fp/floatsidf.c: Likewise.
7307         * soft-fp/floatsisf.c: Likewise.
7308         * soft-fp/floatsitf.c: Likewise.
7309         * soft-fp/floattidf.c: Likewise.
7310         * soft-fp/floattisf.c: Likewise.
7311         * soft-fp/floattitf.c: Likewise.
7312         * soft-fp/floatundidf.c: Likewise.
7313         * soft-fp/floatundisf.c: Likewise.
7314         * soft-fp/floatunditf.c: Likewise.
7315         * soft-fp/floatunsidf.c: Likewise.
7316         * soft-fp/floatunsisf.c: Likewise.
7317         * soft-fp/floatunsitf.c: Likewise.
7318         * soft-fp/floatuntidf.c: Likewise.
7319         * soft-fp/floatuntisf.c: Likewise.
7320         * soft-fp/floatuntitf.c: Likewise.
7321         * soft-fp/gedf2.c: Likewise.
7322         * soft-fp/gesf2.c: Likewise.
7323         * soft-fp/getf2.c: Likewise.
7324         * soft-fp/ledf2.c: Likewise.
7325         * soft-fp/lesf2.c: Likewise.
7326         * soft-fp/letf2.c: Likewise.
7327         * soft-fp/muldf3.c: Likewise.
7328         * soft-fp/mulsf3.c: Likewise.
7329         * soft-fp/multf3.c: Likewise.
7330         * soft-fp/negdf2.c: Likewise.
7331         * soft-fp/negsf2.c: Likewise.
7332         * soft-fp/negtf2.c: Likewise.
7333         * soft-fp/op-1.h: Likewise.
7334         * soft-fp/op-2.h: Likewise.
7335         * soft-fp/op-4.h: Likewise.
7336         * soft-fp/op-8.h: Likewise.
7337         * soft-fp/op-common.h: Likewise.
7338         * soft-fp/quad.h: Likewise.
7339         * soft-fp/single.h: Likewise.
7340         * soft-fp/soft-fp.h: Likewise.
7341         * soft-fp/subdf3.c: Likewise.
7342         * soft-fp/subsf3.c: Likewise.
7343         * soft-fp/subtf3.c: Likewise.
7344         * soft-fp/truncdfsf2.c: Likewise.
7345         * soft-fp/trunctfdf2.c: Likewise.
7346         * soft-fp/trunctfsf2.c: Likewise.
7347         * soft-fp/trunctfxf2.c: Likewise.
7348         * soft-fp/unorddf2.c: Likewise.
7349         * soft-fp/unordsf2.c: Likewise.
7350         * soft-fp/unordtf2.c: Likewise.
7351
7352 2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
7353
7354         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7355         (_FP_MUL_MEAT_D): Ditto.
7356         (_FP_DIV_MEAT_S): Ditto.
7357         (_FP_DIV_MEAT_D): Ditto.
7358         * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7359         t-softfp-sfdf and t-softfp to tmake_file.
7360
7361 2013-11-03  Uros Bizjak  <ubizjak@gmail.com>
7362
7363         * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7364         * config/i386/crtprec.c: Ditto.
7365
7366 2013-10-31  Chung-Ju Wu  <jasonwucj@gmail.com>
7367             Shiva Chen  <shiva0217@gmail.com>
7368
7369         * config.host (nds32*-elf*): Add nds32 target.
7370         * config/nds32 : New directory and files.
7371
7372 2013-10-16  Hans-Peter Nilsson  <hp@axis.com>
7373
7374         For CRIS ports, switch to soft-fp.  Improve arit.c and longlong.h.
7375         * config.host (cpu_type) <Setting default>: Add entry for
7376         crisv32-*-*.
7377         (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7378         <crisv32-*-linux*>: Adjust.
7379         * longlong.h: Wrap the whole CRIS section in a single
7380         defined(__CRIS__) conditional.  Add comment about add_ssaaaa
7381         and sub_ddmmss.
7382         (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7383         defined.
7384         [__CRIS__] (__umulsidi3): Define.
7385         [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7386         * config/cris/sfp-machine.h: New file.
7387         * config/cris/umulsidi3.S: New file.
7388         * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7389         * config/cris/arit.c (SIGNMULT): New macro.
7390         (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7391         * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7392         saving 3 out of originally 33 cycles from the fastest
7393         path, 3 out of 54 from the medium path and one from the longest
7394         path.  Improve comments.
7395
7396 2013-10-15  Richard Sandiford  <rdsandiford@googlemail.com>
7397
7398         * sync.c: Remove static aliases and define each function directly
7399         under its real name.
7400
7401 2013-10-02  John David Anglin  <danglin@gcc.gnu.org>
7402
7403         * config.host (hppa*64*-*-linux*): Define extra_parts.
7404         (hppa*-*-linux*): Likewise.
7405
7406 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
7407
7408         * config/arc/crtgend.S: Add 2013 to Copyright years.
7409         * config/arc/gmon/atomic.h: Likewise.
7410         * config/arc/gmon/auxreg.h: Likewise.
7411         * config/arc/gmon/sys/gmon_out.h: Likewise.
7412         * config/arc/gmon/sys/gmon.h: Likewise.
7413         * config/arc/gmon/prof-freq.c: Likewise.
7414         * config/arc/gmon/mcount.c: Likewise.
7415         * config/arc/gmon/prof-freq-stub.S: Likewise.
7416         * config/arc/gmon/gmon.c: Likewise.
7417         * config/arc/gmon/machine-gmon.h: Likewise.
7418         * config/arc/gmon/profil.S: Likewise.
7419         * config/arc/gmon/dcache_linesz.S: Likewise.
7420         * config/arc/crtg.S: Likewise.
7421         * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7422         * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7423         * config/arc/ieee-754/adddf3.S: Likewise.
7424         * config/arc/ieee-754/truncdfsf2.S: Likewise.
7425         * config/arc/ieee-754/fixsfsi.S: Likewise.
7426         * config/arc/ieee-754/gtsf2.S: Likewise.
7427         * config/arc/ieee-754/floatsisf.S: Likewise.
7428         * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7429         * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7430         * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7431         * config/arc/ieee-754/fixdfsi.S: Likewise.
7432         * config/arc/ieee-754/addsf3.S: Likewise.
7433         * config/arc/ieee-754/gesf2.S: Likewise.
7434         * config/arc/ieee-754/floatsidf.S: Likewise.
7435         * config/arc/ieee-754/extendsfdf2.S: Likewise.
7436         * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7437         * config/arc/ieee-754/gtdf2.S: Likewise.
7438         * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7439         * config/arc/ieee-754/uneqdf2.S: Likewise.
7440         * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7441         * config/arc/ieee-754/uneqsf2.S: Likewise.
7442         * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7443         * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7444         * config/arc/ieee-754/eqdf2.S: Likewise.
7445         * config/arc/ieee-754/ordsf2.S: Likewise.
7446         * config/arc/ieee-754/divsf3.S: Likewise.
7447         * config/arc/ieee-754/divdf3.S: Likewise.
7448         * config/arc/ieee-754/floatunsidf.S: Likewise.
7449         * config/arc/ieee-754/orddf2.S: Likewise.
7450         * config/arc/ieee-754/eqsf2.S: Likewise.
7451         * config/arc/ieee-754/gedf2.S: Likewise.
7452         * config/arc/crtn.S: Likewise.
7453         * config/arc/crti.S: Likewise.
7454         * config/arc/t-arc700-uClibc: Likewise.
7455         * config/arc/asm.h: Likewise.
7456         * config/arc/libgcc-excl.ver: Likewise.
7457         * config/arc/t-arc-newlib: Likewise.
7458         * config/arc/divtab-arc700.c: Likewise.
7459         * config/arc/initfini.c: Likewise.
7460         * config/arc/fp-hack.h: Likewise.
7461
7462 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
7463             Diego Novillo  <dnovillo@google.com>
7464
7465         * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
7466         * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7467         * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7468         * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
7469
7470 2013-10-01  Joern Rennecke  <joern.rennecke@embecosm.com>
7471             Brendan Kehoe  <brendan@zen.org>
7472             Simon Cook  <simon.cook@embecosm.com>
7473
7474         * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7475         * config/arc: New directory.
7476         * longlong.h [__arc__] (umul_ppmm): Remove.
7477         [__arc__] (__umulsidi3): Define.
7478         [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7479         [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7480
7481 2013-09-17  Jacek Caban  <jacek@codeweavers.com>
7482
7483         * config/i386/gthr-win32.c: CreateSemaphoreW instead of
7484         CreateSemaphoreA.
7485         * config/i386/gthr-win32.h: Likewise.
7486
7487 2013-09-16  DJ Delorie  <dj@redhat.com>
7488
7489         * config/rl78/vregs.h: Add G10 register definitions.
7490         * config/rl78/lib2mul.c: Enable for RL78/G10.
7491         * config/rl78/lib2div.c: Likewise.
7492         * config/rl78/lshrsi3.S: Use vregs.h.
7493         * config/rl78/cmpsi2.S: Likewise.
7494         * config/rl78/trampoline.S: Likewise.
7495         * config/rl78/mulsi2.S: Likewise.  Disable for RL78/G10.
7496
7497 2013-09-14  DJ Delorie  <dj@redhat.com>
7498             Nick Clifton  <nickc@redhat.com>
7499
7500         * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
7501         * config/rl78/vregs.h: New.
7502         * config/rl78/signbit.S: New file.  Implements signbit function.
7503         * config/rl78/divmodsi.S: New.
7504         * config/rl78/divmodhi.S: New.
7505         * config/rl78/divmodqi.S: New.
7506         * config/rl78/t-rl78: Build them here...
7507         * config/rl78/lib2div.c: ...but not here.
7508
7509 2013-09-12  DJ Delorie  <dj@redhat.com>
7510
7511         * config.host (msp*-*-elf): New.
7512         * config/msp430/: New port.
7513
7514 2013-08-18  Iain Sandoe  <iain@codesourcery.com>
7515
7516         PR gcov-profile/58127
7517         * libgcov.c (__gcov_indirect_call_callee): Don't make this a
7518         __thread var for emulated TLS.
7519         (__gcov_indirect_call_counters): Likewise.
7520
7521 2013-08-16  Maciej W. Rozycki  <macro@codesourcery.com>
7522             Catherine Moore  <clm@codesourcery.com>
7523             Richard Sandiford  <rdsandiford@googlemail.com>
7524
7525         * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
7526         (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
7527         (CALL_STUB_NO_RET): Likewise.
7528         (CALL_STUB_RET): Likewise.
7529         * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
7530         __mips16_ret call/return stub symbols.
7531         * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
7532         to tmake_file.
7533
7534 2013-08-13  Maciej W. Rozycki  <macro@codesourcery.com>
7535
7536         * config.host <mips*-*-linux*>: Remove a stray comment.
7537
7538 2013-08-10  Jan Hubicka  <jh@suse.cz>
7539
7540         Work around binutils PR14342
7541         * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
7542         * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
7543         (L_gcov_indirect_call_profiler_v2): New.
7544
7545 2013-08-06  Jan Hubicka  <jh@suse.cz>
7546
7547         * libgcov.c (__gcov_indirect_call_callee,
7548         __gcov_indirect_call_counters): New global vars.
7549         (__gcov_indirect_call_profiler): replace by ...
7550         (__gcov_indirect_call_profiler_v2) ... this one.
7551
7552 2013-08-06  Caroline Tice  <cmtice@google.com>
7553
7554         * config.host (extra_parts): Add vtv_start.o, vtv_end.o
7555         vtv_start_preinit.o and vtv_end_preinit.o.
7556         * configure.ac: Add code to check/set enable_vtable_verify.
7557         * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
7558         true.
7559         * vtv_start_preinit.c: New file.
7560         * vtv_end_preinit.c: New file.
7561         * vtv_start.c: New file.
7562         * vtv_end.c: New file.
7563         * configure: Regenerated.
7564
7565 2013-08-01  Maxim Kuvyrkov  <maxim@kugelworks.com>
7566
7567         * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7568         * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7569         * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7570         GPL-3.0-with-GCC-exception.
7571
7572 2013-07-30  Maciej W. Rozycki  <macro@codesourcery.com>
7573
7574         * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7575         ISA and up.
7576
7577 2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7578
7579         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7580         mapping for FPRs when creating the fallback framestate.
7581
7582 2013-07-19  Georg-Johann Lay  <avr@gjlay.de>
7583
7584         PR target/57516
7585         * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7586         (__round_s2_const, __round_u2_const)
7587         (__round_s4_const, __round_u4_const, __round_x8):
7588         Saturate result if addition result cannot be represented.
7589
7590 2013-07-15  Matthias Klose  <doko@ubuntu.com>
7591
7592         * libgcc2.c: Don't include <limits.h>.
7593
7594 2013-07-09  Janis Johnson  <janisjo@codesourcery.com>
7595
7596         * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7597
7598 2013-07-06  Jakub Jelinek  <jakub@redhat.com>
7599
7600         PR target/29776
7601         * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7602
7603 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
7604
7605         PR middle-end/36041
7606         * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7607         Define.
7608         (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7609         instead of table lookups.
7610         (__popcountDI2): Likewise.
7611
7612 2013-06-25  Chung-Ju Wu  <jasonwucj@gmail.com>
7613
7614         * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7615         correctly.
7616
7617 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7618
7619         PR other/53317
7620         * soft-fp/adddf3.c: Update from glibc.
7621         * soft-fp/addsf3.c: Likewise.
7622         * soft-fp/addtf3.c: Likewise.
7623         * soft-fp/divdf3.c: Likewise.
7624         * soft-fp/divsf3.c: Likewise.
7625         * soft-fp/divtf3.c: Likewise.
7626         * soft-fp/double.h: Likewise.
7627         * soft-fp/eqdf2.c: Likewise.
7628         * soft-fp/eqsf2.c: Likewise.
7629         * soft-fp/eqtf2.c: Likewise.
7630         * soft-fp/extenddftf2.c: Likewise.
7631         * soft-fp/extended.h: Likewise.
7632         * soft-fp/extendsfdf2.c: Likewise.
7633         * soft-fp/extendsftf2.c: Likewise.
7634         * soft-fp/fixdfdi.c: Likewise.
7635         * soft-fp/fixdfsi.c: Likewise.
7636         * soft-fp/fixsfdi.c: Likewise.
7637         * soft-fp/fixsfsi.c: Likewise.
7638         * soft-fp/fixtfdi.c: Likewise.
7639         * soft-fp/fixtfsi.c: Likewise.
7640         * soft-fp/fixunsdfdi.c: Likewise.
7641         * soft-fp/fixunsdfsi.c: Likewise.
7642         * soft-fp/fixunssfdi.c: Likewise.
7643         * soft-fp/fixunssfsi.c: Likewise.
7644         * soft-fp/fixunstfdi.c: Likewise.
7645         * soft-fp/fixunstfsi.c: Likewise.
7646         * soft-fp/floatdidf.c: Likewise.
7647         * soft-fp/floatdisf.c: Likewise.
7648         * soft-fp/floatditf.c: Likewise.
7649         * soft-fp/floatsidf.c: Likewise.
7650         * soft-fp/floatsisf.c: Likewise.
7651         * soft-fp/floatsitf.c: Likewise.
7652         * soft-fp/floatundidf.c: Likewise.
7653         * soft-fp/floatundisf.c: Likewise.
7654         * soft-fp/floatunditf.c: Likewise.
7655         * soft-fp/floatunsidf.c: Likewise.
7656         * soft-fp/floatunsisf.c: Likewise.
7657         * soft-fp/floatunsitf.c: Likewise.
7658         * soft-fp/gedf2.c: Likewise.
7659         * soft-fp/gesf2.c: Likewise.
7660         * soft-fp/getf2.c: Likewise.
7661         * soft-fp/ledf2.c: Likewise.
7662         * soft-fp/lesf2.c: Likewise.
7663         * soft-fp/letf2.c: Likewise.
7664         * soft-fp/muldf3.c: Likewise.
7665         * soft-fp/mulsf3.c: Likewise.
7666         * soft-fp/multf3.c: Likewise.
7667         * soft-fp/negdf2.c: Likewise.
7668         * soft-fp/negsf2.c: Likewise.
7669         * soft-fp/negtf2.c: Likewise.
7670         * soft-fp/op-1.h: Likewise.
7671         * soft-fp/op-2.h: Likewise.
7672         * soft-fp/op-4.h: Likewise.
7673         * soft-fp/op-8.h: Likewise.
7674         * soft-fp/op-common.h: Likewise.
7675         * soft-fp/quad.h: Likewise.
7676         * soft-fp/single.h: Likewise.
7677         * soft-fp/soft-fp.h: Likewise.
7678         * soft-fp/subdf3.c: Likewise.
7679         * soft-fp/subsf3.c: Likewise.
7680         * soft-fp/subtf3.c: Likewise.
7681         * soft-fp/truncdfsf2.c: Likewise.
7682         * soft-fp/trunctfdf2.c: Likewise.
7683         * soft-fp/trunctfsf2.c: Likewise.
7684         * soft-fp/unorddf2.c: Likewise.
7685         * soft-fp/unordsf2.c: Likewise.
7686         * soft-fp/unordtf2.c: Likewise.
7687         * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7688         * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7689         * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7690         * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7691         * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7692         * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7693         * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7694         * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7695         * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7696         * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7697         * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7698         * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7699
7700 2013-06-16  Jürgen Urban  <JuergenUrban@gmx.de>
7701
7702         * config/mips/lib2funcs.c: New file.
7703         * config/mips/t-mips (LIB2ADD_ST): Add it.
7704
7705 2013-06-09  Oleg Endo  <olegendo@gcc.gnu.org>
7706
7707         PR target/6526
7708         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7709         other than FPSCR.PR and FPSCR.SZ.  Add SH4A implementation.
7710
7711 2013-06-08  Walter Lee  <walt@tilera.com>
7712
7713         * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7714         Replace int64_t with long long.  Add __extension__ where
7715         appropriate.
7716         * config/tilepro/atomic.c: Include config.h.
7717
7718 2013-06-06  Douglas B Rupp  <rupp@adacore.com>
7719
7720         * config.host (arm-wrs-vxworks): Configure with other soft float.
7721
7722 2013-06-04  Jürgen Urban  <JuergenUrban@gmx.de>
7723
7724         * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7725         (mips64r5900el-*-elf*): New configurations.
7726
7727 2013-06-04  Alan Modra  <amodra@gmail.com>
7728
7729         * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7730
7731 2013-06-03  Yuri Rumyantsev  <yuri.s.rumyantsev@intel.com>
7732
7733         * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7734
7735 2013-05-28  Eric Botcazou  <ebotcazou@adacore.com>
7736
7737         * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7738         fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7739         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7740
7741 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
7742
7743         * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7744         (powerpc-wrs-vxworks): Likewise.
7745
7746 2013-05-22  Eric Botcazou  <ebotcazou@adacore.com>
7747
7748         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7749         signal frames as well.
7750         (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7751         STACK_BIAS to the CFA offset.
7752
7753 2013-05-17  Richard Henderson  <rth@redhat.com>
7754
7755         PR target/49146
7756         * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7757         (execute_cfa_program): Use it when storing to fs->regs.
7758
7759 2013-05-08  Kai Tietz  <ktietz@redhat.com>
7760
7761         * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7762         (__deregister_frame_info): Likewise.
7763
7764 2013-05-06  Thomas Schwinge  <thomas@codesourcery.com>
7765
7766         * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7767         NaN's payload.
7768
7769         * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7770
7771 2013-04-25  Alan Modra  <amodra@gmail.com>
7772
7773         * config.host: Match little-endian powerpc-linux.
7774
7775 2013-04-19  Yufeng Zhang  <yufeng.zhang@arm.com>
7776
7777         * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7778         as 'unsigned long long' instead of 'unsigned long'.
7779         (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7780         'signed long'.
7781
7782 2013-04-10  Julian Brown  <julian@codesourcery.com>
7783
7784         * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7785         (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7786         unsigned char/unsigned short.
7787         (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7788
7789 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
7790
7791         PR other/55274
7792         * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7793
7794 2013-04-04  Meador Inge  <meadori@codesourcery.com>
7795
7796         * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7797         computing the location of the link register.
7798         (aeabi_uldivmod): Ditto.
7799
7800 2013-03-27  Kai Tietz  <ktietz@redhat.com>
7801
7802         * config.host: Add support for cygwin x64 target.
7803         * configure: Regenerated.
7804
7805 2013-03-26  Walter Lee  <walt@tilera.com>
7806
7807         * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7808         -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7809
7810 2013-03-25  Kai Tietz  <ktietz@redhat.com>
7811
7812         * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7813
7814 2013-03-20  Robert Mason  <rbmj@verizon.net>
7815
7816         * config/vxlib-tls.c (__gthread_get_tsd_data,)
7817         (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7818         (__gthread_leave_tsd_dtor_context): Add prototypes.
7819         (tls_delete_hook): Update.
7820
7821 2013-03-20  Catherine Moore  <clm@codesourcery.com>
7822             Joseph Myers  <joseph@codesourcery.com>
7823             Chao-ying Fu  <fu@mips.com>
7824
7825         * config/mips/mips16.S:  Don't build for microMIPS.
7826         * config/mips/linux-unwind.h: Handle microMIPS frame.
7827         * config/mips/crtn.S (fini, init): New labels.
7828
7829 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
7830
7831         PR tree-optimization/53265
7832         * unwind-dw2.c (execute_cfa_program): Avoid
7833         -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7834         on targets with DWARF_FRAME_REGISTERS < 32.
7835
7836 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
7837
7838         PR target/49880
7839         * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7840         (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7841
7842 2013-03-07  Sriraman Tallam  <tmsriram@google.com>
7843
7844         * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7845         sandybridge processors.
7846
7847 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
7848
7849         PR target/56529
7850         * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7851         inclusion list.
7852
7853 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7854
7855         * config/microblaze/crti.S: Setup stack protection at entry
7856
7857 2013-03-04  Georg-Johann Lay  <avr@gjlay.de>
7858
7859         * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7860         (__rotldi3): Shift bytewise if applicable.
7861
7862 2013-03-01  James Greenhalgh  <james.greenhalgh@arm.com>
7863
7864         * config/aarch64/sync-cache.c
7865         (__aarch64_sync_cache_range): Silence warnings.
7866
7867 2013-02-25  Catherine Moore  <clm@codesourcery.com>
7868
7869         Revert:
7870         2013-02-24  Catherine Moore  <clm@codesourcery.com>
7871             Joseph Myers  <joseph@codesourcery.com>
7872             Chao-ying Fu  <fu@mips.com>
7873
7874         * config/mips/mips16.S:  Don't build for microMIPS.
7875         * config/mips/linux-unwind.h: Handle microMIPS frame.
7876         * config/mips/crtn.S (fini, init): New labels.
7877
7878 2013-02-24  Catherine Moore  <clm@codesourcery.com>
7879             Joseph Myers  <joseph@codesourcery.com>
7880             Chao-ying Fu  <fu@mips.com>
7881
7882         * config/mips/mips16.S:  Don't build for microMIPS.
7883         * config/mips/linux-unwind.h: Handle microMIPS frame.
7884         * config/mips/crtn.S (fini, init): New labels.
7885
7886 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7887         * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7888         as dividend.
7889
7890 2013-02-16  Alan Modra  <amodra@gmail.com>
7891
7892         PR target/55431
7893         * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7894         (ppc_fallback_frame_state): Always set up save locations for fp
7895         and altivec.  Don't bother with non-callee-saved regs, r0-r13
7896         except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7897
7898 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
7899
7900         PR target/54222
7901         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7902         _ssmulHA, _ssmulSA.
7903         (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7904         _ssmulha3, _usmulusa3, _ssmulsa3.
7905         * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7906         (__muldi3): XCALL __muldi3_6 instead of rcall.
7907         (__umulsidi3, __mulsidi3): New functions.
7908         (do_prologue_saves, do_epilogue_restores): New .macros.
7909         (__divdi3_moddi3): Use them.
7910         * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7911         (__usmulusa3, __ssmulsa3): New functions.
7912
7913 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
7914             Jack Howarth  <howarth@bromo.med.uc.edu>
7915             Patrick Marlier  <patrick.marlier@gmail.com>
7916
7917         PR libitm/55693
7918         * config/darwin-crt-tm.c: Remove dummy functions hack.
7919
7920 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
7921
7922         PR target/54222
7923         * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7924         * config/avr/lib2-object.mk: New iterator to build objects from it.
7925         * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7926         lib2funcs.c.
7927         (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7928         (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7929         _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7930         _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7931         _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7932         * config/avr/lib1funcs-fixed.S: Implement them.
7933
7934 2013-02-04  Richard Sandiford  <rdsandiford@googlemail.com>
7935
7936         Update copyright years.
7937
7938 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
7939
7940         PR target/54601
7941         * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7942         Add crtcxa to extra_parts.
7943         * config/rs6000/exit.h: New file.
7944         * config/rs6000/cxa_atexit.c: New file.
7945         * config/rs6000/cxa_finalize.c: New file.
7946         * config/rs6000/crtcxa.c: New file.
7947         * config/rs6000/t-aix-cxa: New file.
7948         * config/rs6000/libgcc-aix-cxa.ver: New file.
7949
7950 2013-01-31  Nick Clifton  <nickc@redhat.com>
7951
7952         * config/v850/lib1funcs.S: Add support for e3v5 architecture
7953         variant.
7954
7955 2013-01-29  Georg-Johann Lay  <avr@gjlay.de>
7956
7957         PR target/54222
7958         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7959         _mulQQ,  _mulHQ,  _mulHA,  _mulSA,
7960         _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7961         _divQQ,  _divHQ,  _divHA,  _divSA,
7962         _divUQQ, _divUHQ, _divUHA, _divUSA.
7963
7964 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
7965
7966         * config.host(microblaze*-linux*): tmake_file: Remove
7967         t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7968         * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7969         to exclude functions from being built with libgcc.c and use
7970         the microblaze assembly.
7971
7972 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
7973
7974         * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7975         extra_parts.
7976
7977 2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>
7978
7979         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7980         results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7981         __UINTPTR_TYPE__; also cast 'base' to the same type before the
7982         alignment operation.
7983
7984 2013-01-15  Sofiane Naci  <sofiane.naci@arm.com>
7985
7986         * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7987         loop start address for cache clearing.
7988
7989 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7990
7991         * config/avr/lib1funcs.S: Remove trailing blanks.
7992         * config/avr/lib1funcs-fixed.S: Ditto.
7993
7994 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7995
7996         * config/avr/avr-lib.h: Add GPL copyright notice.
7997
7998 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
7999
8000         * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8001         declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8002         (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8003         min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8004
8005 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
8006
8007         * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8008         Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
8009
8010 2013-01-04  Nick Clifton  <nickc@redhat.com>
8011
8012         * config/v850/lib1funcs.S: Only provide CALLT support functions if
8013         the CALLT instruction is supported.
8014
8015 2012-12-20  Jonathan Wakely  <jwakely.gcc@gmail.com>
8016
8017         * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8018         * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8019
8020 2012-12-13  John Tytgat  <John@bass-software.com>
8021
8022         * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8023         is 25.
8024
8025 2012-12-12  Jakub Jelinek  <jakub@redhat.com>
8026
8027         PR libgcc/55451
8028         * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8029         undefined signed overflows.
8030
8031 2012-12-09  Uros Bizjak  <ubizjak@gmail.com>
8032
8033         PR target/55344
8034         * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8035
8036 2012-12-06  Uros Bizjak  <ubizjak@gmail.com>
8037
8038         * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8039         (FP_TRAPPING_EXCEPTIONS): Define.
8040         * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8041         * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8042
8043 2012-12-04  Richard Henderson  <rth@redhat.com>
8044
8045         PR bootstrap/55571
8046         * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8047
8048 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8049
8050         * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
8051         (FP_EX_SHIFT): Define.
8052         (FP_TRAPPING_EXCEPTIONS): Define.
8053
8054 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8055
8056         * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8057         (FP_ROUNDMODE): Use FP_RND_MASK.
8058         * config/aarch64/sfp-exceptions.c: New.
8059         * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8060         Use __sfp_handle_exceptions.
8061
8062 2012-12-04  Richard Earnshaw  <rearnsha@arm.com>
8063
8064         * config.host: (arm*-*-freebsd*): Remove.
8065         (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8066         (arm*-*-elf*): Remove.
8067         (arm*-*-wince-pe*): Remove.
8068         * arm/unwind-arm.c (struct fpa_reg): Delete.
8069         (struct fpa_regs): Delete.
8070         (phase1_vrs): Remove fpa element.
8071         (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8072         (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8073         * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8074         * ieee754-sf.S (floatundisf): Remove FPA support.
8075         (floatdisf): Likewise.
8076         * ieee75f-df.S (floatundidf): Likewise.
8077         (floatdidf): Likewise.
8078
8079 2012-11-29  Kai Tietz  <ktietz@redhat.com>
8080
8081         PR target/55445
8082         * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8083         * unwind-generic.h: Likewise.
8084         * unwind-seh.c: Likewise.
8085
8086 2012-11-28  Richard Henderson  <rth@redhat.com>
8087
8088         PR libgcc/48076
8089         * emutls.c (__emutls_get_address): Avoid race condition between
8090         obj->loc.offset read and emutls_key initialization.
8091
8092 2012-11-22  Georg-Johann Lay  <avr@gjlay.de>
8093
8094         Adjust decimal point of signed accum mode to GCC default.
8095
8096         PR target/54222
8097         * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8098         _divqq_helper.
8099         * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8100         (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8101         (__mulha3, __mulsa3)
8102         (__divqq3, __divha3, __divsa3): Adjust to new position of
8103         decimal point of signed accum types.
8104
8105         (__mulusa3_round): New function.
8106         (__mulusa3): Use it.
8107         (__divqq_helper): New function.
8108         (__udivuqq3): Use it.
8109
8110 2012-11-20  Jakub Jelinek  <jakub@redhat.com>
8111
8112         PR bootstrap/55370
8113         * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8114
8115 2012-11-18  Teresa Johnson  <tejohnson@google.com>
8116
8117         PR bootstrap/55051
8118         * libgcov.c (gcov_exit): Remove merged program summary
8119         comparison unless !GCOV_LOCKED.
8120
8121 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8122
8123         * soft-fp: Updated from glibc upstream.
8124
8125 2012-11-06  Ian Lance Taylor  <iant@google.com>
8126
8127         * generic-morestack.c (__generic_morestack): Align the returned
8128         stack pointer to a 32 byte boundary.
8129         * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8130         increment the return address until we have decided that we don't
8131         have a varargs function.
8132         (__morestack) [32-bit]: Align stack correctly when calling C
8133         functions.
8134         (__morestack) [64-bit]: Likewise.
8135
8136 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
8137
8138         * configure: Regenerate.
8139
8140 2012-11-02  Uros Bizjak  <ubizjak@gmail.com>
8141
8142         PR target/55175
8143         * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8144         * config/i386/sfp-machine.h: Guard exception handling
8145         code with _SOFT_FLOAT.
8146         * config/i386/32/sfp-machine.h: Guard rounding handling
8147         code with _SOFT_FLOAT.
8148         * config/i386/64/sfp-machine.h: Ditto.
8149
8150 2012-10-31  Joel Sherrill  <joel.sherrill@oarcorp.com>
8151
8152         * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8153         as extra_parts.
8154
8155 2012-10-26  Uros Bizjak  <ubizjak@gmail.com>
8156
8157         * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8158         Clear only fxsave.mxcsr_mask.  Use saved mxcsr from fxsave structure
8159         when appropriate.  Correct structure element types.
8160         * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8161         -minline-all-stringops from compile flags.
8162
8163 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
8164
8165         * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8166
8167 2012-10-25  Ralf Corsépius  <ralf.corsepius@rtems.org>
8168
8169         * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
8170
8171 2012-10-25  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8172
8173         * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8174         tmake_file.
8175
8176 2012-10-23  Ian Bolton  <ian.bolton@arm.com>
8177             Jim MacArthur  <jim.macarthur@arm.com>
8178             Marcus Shawcroft  <marcus.shawcroft@arm.com>
8179             Nigel Stephens  <nigel.stephens@arm.com>
8180             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
8181             Richard Earnshaw  <rearnsha@arm.com>
8182             Sofiane Naci  <sofiane.naci@arm.com>
8183             Stephen Thomas  <stephen.thomas@arm.com>
8184             Tejas Belagod  <tejas.belagod@arm.com>
8185             Yufeng Zhang  <yufeng.zhang@arm.com>
8186
8187         * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8188         * config/aarch64/crti.S: New file.
8189         * config/aarch64/crtn.S: New file.
8190         * config/aarch64/linux-unwind.h: New file.
8191         * config/aarch64/sfp-machine.h: New file.
8192         * config/aarch64/sync-cache.c: New file.
8193         * config/aarch64/t-aarch64: New file.
8194         * config/aarch64/t-softfp: New file.
8195
8196 2012-10-21  Hans-Peter Nilsson  <hp@bitrange.com>
8197
8198         * config/mmix/crti.S: Mark program and data addresses using PRELD.
8199         Remove typo'd and unnecessary alignment-LOC for .data.  Remove
8200         no-longer-needed LDBU insns.
8201
8202 2012-10-18  Sebastian Huber  <sebastian.huber@embedded-brains.de>
8203
8204         * config.host
8205         (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8206         "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8207
8208 2012-10-17  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
8209
8210         * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8211
8212 2012-10-15  Matthias Klose  <doko@ubuntu.com>
8213
8214         * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8215
8216 2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>
8217
8218         * configure: Regenerate.
8219         * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8220
8221 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
8222
8223         * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8224         instructions for 64bit targets only.
8225
8226 2012-10-10  Uros Bizjak  <ubizjak@gmail.com>
8227
8228         * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8229         FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8230         * config/i386/32/sfp-machine.h: ... here.
8231         * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8232         FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8233         New defines.
8234
8235 2012-10-07  Matthias Klose  <doko@ubuntu.com>
8236
8237         * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8238         as unused.
8239         (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8240
8241 2012-10-06  Mark Kettenis  <kettenis@openbsd.org>
8242
8243         * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8244         * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8245         (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8246         (ElfW): Likewise.
8247
8248 2012-10-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
8249
8250         PR other/53889
8251         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8252         Fix parameter names.
8253
8254 2012-10-04  Oleg Endo  <olegendo@gcc.gnu.org>
8255
8256         PR target/33135
8257         * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8258         * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8259         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8260
8261 2012-10-03  Oleg Endo  <olegendo@gcc.gnu.org>
8262
8263         PR target/50457
8264         * config/sh/linux-atomic.S: Delete.
8265         * config/sh/linux-atomic.c: New.
8266         * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8267         linux-atomic.c.  Add cflags to disable warnings.
8268
8269 2012-10-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
8270
8271         PR other/53889
8272         * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8273         function.
8274         * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8275         * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8276         * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8277         * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
8278         * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8279         Likewise.
8280         * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8281         Likewise.
8282         * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8283         Likewise.
8284         * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8285         * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8286
8287 2012-09-19  Mark Kettenis  <kettenis@openbsd.org>
8288
8289         * config.host (hppa-*-openbsd*): New target.
8290         * config/pa/t-openbsd: New file.
8291
8292 2012-09-15  Georg-Johann Lay  <avr@gjlay.de>
8293
8294         PR target/54222
8295         * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8296         __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8297         __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8298         (__divsa3): Use __negsi2 to negate r_quoL.
8299         * config/avr/lib1funcs.S (FALIAS): New macro.
8300         (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8301         (__negsi2): ...this new function.
8302         * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8303         _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8304         _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8305         (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8306         Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8307         Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8308
8309 2012-09-10  Oleg Endo  <olegendo@gcc.gnu.org>
8310
8311         PR target/54089
8312         * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8313         (lshrsi3): Reimplement as lshrsi3_r0.
8314
8315 2012-09-10  Andreas Schwab  <schwab@linux-m68k.org>
8316
8317         PR target/46191
8318         * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8319         of libgcc.a.
8320
8321 2012-09-07  Teresa Johnson  <tejohnson@google.com>
8322
8323         PR gcov-profile/54487
8324         * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
8325         differences.
8326
8327 2012-09-05  Georg-Johann Lay  <avr@gjlay.de>
8328
8329         PR target/54461
8330         * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8331         not configured --with-avrlibc=no.
8332         * config/avr/t-avrlibc: New file.
8333         * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8334         (DPBIT_FUNCS): Ditto.
8335         (TPBIT_FUNCS): Ditto.
8336
8337 2012-09-04  Teresa Johnson  <tejohnson@google.com>
8338
8339         * libgcov.c (struct gcov_summary_buffer): New structure.
8340         (gcov_histogram_insert): New function.
8341         (gcov_compute_histogram): Ditto.
8342         (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8343         histograms during summary merging.
8344
8345 2012-09-01  Mark Kettenis  <kettenis@openbsd.org>
8346
8347         * config.host (x86_64-*-openbsd*): New target.
8348
8349 2012-08-29  Chung-Lin Tang  <cltang@codesourcery.com>
8350
8351         * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8352         attribute.
8353
8354 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
8355
8356         PR target/54222
8357         * config/avr/t-avr (conv_X): Rename to func_X.
8358
8359 2012-08-24  Georg-Johann Lay  <avr@gjlay.de>
8360
8361         PR target/54222
8362         * config/avr/lib1funcs-fixed.S: New file.
8363         * config/avr/lib1funcs.S: Include it.  Undefine some divmodsi
8364         after they are used.
8365         (neg2, neg4): New macros.
8366         (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8367         (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8368         (__umulhisi3): Speed up MUL variant if there is enough flash.
8369         * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8370         avr-modes.def.
8371         * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8372         _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8373         _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8374         _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8375         _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8376         _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8377         (LIB2FUNCS_EXCLUDE): Add supported functions.
8378
8379 2012-08-22  Georg-Johann Lay  <avr@gjlay.de>
8380
8381         * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8382         LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8383         libgcc-s-objects.
8384         * fixed-obj.mk: Only expand dependency if $o is not in
8385         LIB2FUNCS_EXCLUDE.
8386
8387 2012-08-22  H.J. Lu  <hongjiu.lu@intel.com>
8388
8389         * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8390
8391 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
8392
8393         * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8394         depend on --enable-shared.
8395         ($(lib1asmfuncs-o)): Use %.vis files independent of
8396         --enable-shared.
8397         * static-object.mk ($(base)$(objext), $(base).vis)
8398         ($(base)_s$(objext)): Use same rules for visibility handling as in
8399         shared-object.mk.
8400
8401 2012-08-21  Ian Lance Taylor  <iant@google.com>
8402
8403         * config/i386/morestack.S (__morestack_non_split): Increase amount
8404         of space allocated for non-split code stack.
8405
8406 2012-08-19  Joseph Myers  <joseph@codesourcery.com>
8407
8408         * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8409         even if inhibit_libc.
8410
8411 2012-08-17  Julian Brown  <julian@codesourcery.com>
8412
8413         * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8414         -fexceptions -fnon-call-exceptions if not defined.
8415         ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8416         * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8417
8418 2012-08-17  Andreas Schwab  <schwab@linux-m68k.org>
8419
8420         * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8421         type.
8422
8423 2012-08-16  David Edelsohn  <dje.gcc@gmail.com>
8424
8425         * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8426         rs6000/t-slibgcc-aix.
8427
8428 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
8429
8430         * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8431
8432 2012-08-15  Segher Boessenkool  <segher@kernel.crashing.org>
8433
8434         * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8435
8436 2012-08-03  H.J. Lu  <hongjiu.lu@intel.com>
8437
8438         PR driver/54171
8439         * Makefile.in (version): Replace top_srcdir with srcdir.
8440
8441 2012-08-03  Jonathan Yong  <jon_y@users.sourceforge.net>
8442
8443         * Makefile.in (version): set to BASE-VER file from gcc directory.
8444
8445 2012-08-01  Nick Clifton  <nickc@redhat.com>
8446
8447         * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8448         Implements __clrsb for an HImode argument.
8449
8450 2012-07-31  Nick Clifton  <nickc@redhat.com>
8451
8452         * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8453         Implements __clrsb for an HImode argument.
8454         * config/stormy16/clrsbhi2.c: New file:
8455         * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8456
8457 2012-07-22  Steven Bosscher  <steven@gcc.gnu.org>
8458
8459         * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8460
8461 2012-07-19  Tristan Gingold  <gingold@adacore.com>
8462             Richard Henderson  <rth@redhat.com>
8463
8464         * unwind-seh.c: New file.
8465         * unwind-generic.h: Include windows.h for SEH.
8466         (_Unwind_Exception): Use 6 private fields for SEH.
8467         (_GCC_specific_handler): Declare.
8468         * unwind-c.c (__gcc_personality_seh0): New function.
8469         Adjust for SEH.
8470         * config/i386/libgcc-cygming.ver: New file.
8471         * config/i386/t-seh-eh: New file.
8472         * config.host (x86_64-*-mingw*): Default to seh.
8473
8474 2012-07-14  Steven Bosscher  <steven@gcc.gnu.org>
8475
8476         * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8477
8478 2012-06-17  Uros Bizjak  <ubizjak@gmail.com>
8479
8480         * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8481         __builtin_expect when checking for exceptions.
8482         * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8483
8484 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
8485
8486         * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
8487         function declaration.
8488         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8489         (FP_RND_MASK): New.
8490         * config/ia64/sfp-exceptions.c: New.
8491         * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
8492
8493 2012-06-13  Uros Bizjak  <ubizjak@gmail.com>
8494
8495         * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
8496         _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
8497         * config/i386/64/sfp-machine: ... (delete here) ...
8498         * config/i386/sfp-machine.h: ... to here.
8499         (FP_EX_MASK): Remove.
8500         (FP_RND_MASK): New.
8501         (FP_INIT_ROUNDMODE): Declare asm as volatile.
8502
8503 2012-06-11  Sriraman Tallam  <tmsriram@google.com>
8504
8505         * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
8506         * config/i386/libgcc-sol2.ver: Ditto.
8507         * config/i386/libgcc-glibc.ver: Ditto.
8508
8509 2012-06-11  Roland McGrath  <mcgrathr@google.com>
8510
8511         * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
8512         If __GLIBC__ is defined, refer to __pthread_key_create instead of
8513         pthread_cancel.
8514
8515 2012-06-09  Uros Bizjak  <ubizjak@gmail.com>
8516
8517         * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
8518         _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
8519         FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
8520         FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8521         FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
8522         __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
8523         * config/i386/64/sfp-machine: ... (delete here) ...
8524         * config/i386/sfp-machine.h: ... to here.
8525         (FP_EX_MASK): New.
8526         (__sfp_handle_exceptions): New function declaration.
8527         (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8528         * config/i386/sfp-exceptions.c: New.
8529         * config/i386/t-softfp: New.
8530         * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
8531         i386/t-softfp to tmake_file.
8532
8533 2012-06-03  David S. Miller  <davem@davemloft.net>
8534
8535         * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
8536         change.
8537
8538 2012-05-31  David S. Miller  <davem@davemloft.net>
8539
8540         * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
8541         multiply and divide instructions on 32-bit when V9.
8542         (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
8543
8544 2012-05-29  Joseph Myers  <joseph@codesourcery.com>
8545
8546         * config/arm/ieee754-df.S: Fix typos.
8547         * config/arm/ieee754-sf.S: Fix typos.
8548         * config/c6x/libunwind.S: Fix typos.
8549         * config/epiphany/udivsi3-float.c: Fix typos.
8550         * config/microblaze/muldi3_hard.S: Fix typos.
8551         * config/picochip/adddi3.S: Fix typos.
8552         * config/picochip/ashlsi3.S: Fix typos.
8553         * config/picochip/ashrsi3.S: Fix typos.
8554         * config/picochip/clzsi2.S: Fix typos.
8555         * config/picochip/cmpsi2.S: Fix typos.
8556         * config/picochip/divmod15.S: Fix typos.
8557         * config/picochip/divmodhi4.S: Fix typos.
8558         * config/picochip/divmodsi4.S: Fix typos.
8559         * config/picochip/longjmp.S: Fix typos.
8560         * config/picochip/lshrsi3.S: Fix typos.
8561         * config/picochip/parityhi2.S: Fix typos.
8562         * config/picochip/popcounthi2.S: Fix typos.
8563         * config/picochip/setjmp.S: Fix typos.
8564         * config/picochip/subdi3.S: Fix typos.
8565         * config/picochip/ucmpsi2.S: Fix typos.
8566         * config/picochip/udivmodhi4.S: Fix typos.
8567         * config/picochip/udivmodsi4.S: Fix typos.
8568         * config/spu/divv2df3.c: Fix typos.
8569         * config/spu/mfc_multi_tag_release.c: Fix typos.
8570         * config/spu/mfc_tag_release.c: Fix typos.
8571         * configure.ac: Fix typos.
8572         * configure: Regenerate.
8573
8574 2012-05-25  Ian Lance Taylor  <iant@google.com>
8575
8576         * config/i386/morestack.S (__morestack_non_split): Check whether
8577         caller is varargs and needs %bp to hold the stack frame on return.
8578
8579 2012-05-25  Olivier Hainque  <hainque@adacore.com>
8580
8581         * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8582         sequence in the non pic case on VxWorks.
8583
8584 2012-05-24  Olivier Hainque  <hainque@adacore.com>
8585
8586         * Makefile.in: Move dependency on install-unwind_h from
8587         "install-leaf" to "install".
8588
8589 2012-05-24  Olivier Hainque  <hainque@adacore.com>
8590
8591         * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8592         Use a separate command for stamp removals.
8593
8594 2012-05-21  Andrew Pinski  <apinski@cavium.com>
8595
8596         PR bootstrap/53183
8597         * configure.ac: Define the default includes to being none.
8598         * configure: Regenerate.
8599
8600 2012-05-16  Olivier Hainque  <hainque@adacore.com>
8601
8602         * Makefile.in (install-unwind_h): Rename into ...
8603         (install-unwind_h-forbuild): New target.
8604         (all): Use it instead of the former install-unwind_h.
8605         (install-unwind_h): Reinstate, copy to user install destination
8606         for include files, not to the internal gcc object directory one.
8607         (install-leaf): Depend on it.
8608
8609 2012-05-15  Olivier Hainque  <hainque@adacore.com>
8610
8611         * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8612         register numbers. LR_REGNO replaces R_LR.
8613         (ucontext_for): New, helper for ...
8614         (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8615         and 5.3 of ...
8616         (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8617
8618 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8619
8620         * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8621         (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8622         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8623         i386/t-cpuinfo ...
8624         (i[34567]86-*-*, x86_64-*-*): ... here.
8625
8626         * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8627         * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8628
8629         * config/i386/i386-cpuinfo.c: Rename to ...
8630         * config/i386/cpuinfo.c: ... this.
8631         * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8632
8633         * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8634         (libgcc_cv_init_priority): New test.
8635         * configure: Regenerate.
8636         * config.in: New file.
8637         * Makefile.in (clean): Rename config.h to auto-target.h.
8638         (config.h): Likewise.
8639         (stamp-h): Likewise.
8640
8641         * config/i386/cpuinfo.c (auto-target.h): Include.
8642         (CONSTRUCTOR_PRIORITY): Define.
8643         (__cpu_indicator_init): Use it.
8644
8645 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
8646
8647         * longlong.h: Use a URL instead of an FSF postal address.
8648         Replace spaces with tab.
8649
8650 2012-05-08  Teresa Johnson  <tejohnson@google.com>
8651
8652         * libgcov.c (gcov_clear, __gcov_reset): New functions.
8653         (__gcov_dump): Ditto.
8654         (gcov_dump_complete): New global variable.
8655         (gcov_exit): Export hidden to enable use in L_gcov_dump.
8656         (__gcov_flush): Outline functionality now in gcov_clear.
8657         * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8658
8659 2012-04-28  Aurelien Jarno  <aurelien@aurel32.net>
8660
8661         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8662         (mips*-*-linux*): Include mips/t-tpbit when long double is
8663         16 bytes long.
8664
8665 2012-04-25  Sriraman Tallam  <tmsriram@google.com>
8666
8667         * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8668         (get_available_features): New argument. Check for AVX2.
8669         (__cpu_indicator_init): Modify call to get_available_features.
8670
8671 2012-04-25  Alan Modra  <amodra@gmail.com>
8672
8673         * config/rs6000/crtsavevr.S: New file.
8674         * config/rs6000/crtrestvr.S: New file.
8675         * config/rs6000/t-savresfgpr: Build the above.
8676         * config/rs6000/t-netbsd: Likewise.
8677
8678 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
8679
8680         * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8681
8682 2012-04-24  Sriraman Tallam  <tmsriram@google.com>
8683
8684         * libgcc/config/i386/i386-cpuinfo.c: New file.
8685         * libgcc/config/i386/t-cpuinfo: New file.
8686         * libgcc/config.host: Include t-cpuinfo.
8687         * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8688
8689 2012-04-24  Chao-ying Fu  <fu@mips.com>
8690
8691         * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8692
8693 2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
8694
8695         struct siginfo vs. siginfo_t
8696
8697         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8698         siginfo_t instead of struct siginfo.
8699         * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8700         * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8701         * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8702         (ia64_handle_unwabi): Likewise.
8703         * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8704         * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8705         * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8706         (sh_fallback_frame_state): Likewise.
8707         * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8708         * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8709
8710 2012-04-02  H.J. Lu  <hongjiu.lu@intel.com>
8711
8712         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8713         system call number.
8714
8715 2012-03-31  Eric Botcazou  <ebotcazou@adacore.com>
8716
8717         * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8718         if it hasn't been previously saved.
8719
8720 2012-03-29  H.J. Lu  <hongjiu.lu@intel.com>
8721
8722         * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8723         only for glibc.
8724
8725 2012-03-28  Georg-Johann Lay  <avr@gjlay.de>
8726
8727         PR target/52737
8728         * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8729         instead of __AVR_HAVE_8BIT_SP__.
8730
8731 2012-03-26  Tristan Gingold  <gingold@adacore.com>
8732
8733         * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8734         (unw_table_entry): Use unw_word instead of unsigned long.
8735         (_Unwind_FindTableEntry): Likewise.
8736         * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8737         * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8738         (_Unwind_FindTableEntry): Likewise.
8739         * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8740         (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8741         (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8742         (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8743         (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8744         (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8745         (uw_init_context_1, uw_install_context): Likewise.
8746         (unw_word): Move to unwind-ia64.h
8747
8748 2012-03-26  Tristan Gingold  <gingold@adacore.com>
8749
8750         * config/vms/vms-ucrt0.c: Update copyright years.
8751         Add a sanity check.
8752         (___gcc_main_flags): Declare.
8753         (__main): Check flags to remap argv and exit code.
8754         * config.host (*-*-*vms*): Adjust extra_parts.
8755         * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8756         (crt0.o): Add.
8757
8758 2012-03-22  Richard Earnshaw  <rearnsha@arm.com>
8759
8760         * arm/lib1funcs.asm (ctzsi2): New function.
8761         * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8762         * arm/t-linux (LIB1ASMFUNCS): Likewise.
8763         * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8764         * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8765         * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8766         * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8767
8768 2012-03-21  Andreas Tobler  <andreast@fgznet.ch>
8769
8770         * config.host: Add bits to support powerpc64-*-freebsd*.
8771         * config/rs6000/freebsd-unwind.h: New file.
8772         * config/rs6000/t-freebsd64: New file.
8773
8774 2012-03-20  Richard Guenther  <rguenther@suse.de>
8775
8776         PR gcov-profile/52627
8777         * libgcov.c (init_mx): Fix mutex name.
8778
8779 2012-03-16  Tristan Gingold  <gingold@adacore.com>
8780
8781         * config/ia64/vms-unwind.h: Remove ulong (and replace
8782         it by unw_reg where used).  Define unw_reg with __int64.
8783
8784 2012-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8785
8786         * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8787         Solaris 8 handling.
8788         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8789         Solaris 8 handling.
8790         (sparc_is_sighandler): Likewise.
8791
8792 2012-03-13  H.J. Lu  <hongjiu.lu@intel.com>
8793
8794         * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8795         <= saved reg size.
8796
8797 2012-03-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8798
8799         * config/arm/crtn.S: Fix typo.
8800
8801 2012-03-13  Richard Guenther  <rguenther@suse.de>
8802
8803         * libgcov.c: Remove stdio.h include and NULL un-define.
8804
8805 2012-03-13  Richard Guenther  <rguenther@suse.de>
8806
8807         PR target/52569
8808         * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8809
8810 2012-03-13  Richard Guenther  <rguenther@suse.de>
8811
8812         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8813
8814 2012-03-13  Richard Guenther  <rguenther@suse.de>
8815
8816         * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8817         and __gthread_mutex_init_function definitions.
8818
8819 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8820
8821         * config.host (mips*-*-openbsd*): Remove.
8822
8823 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
8824
8825         * config.host: Remove alpha*-dec-osf5.1* handling.
8826         * config/alpha/gthr-posix.c: Remove.
8827         * config/alpha/libgcc-osf5.ver: Remove.
8828         * config/alpha/osf5-unwind.h: Remove.
8829         * config/alpha/t-osf-pthread: Remove.
8830         * config/alpha/t-slibgcc-osf: Remove.
8831         * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8832         * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8833         [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8834         * mkmap-flat.awk: Remove osf_export handling.
8835
8836 2012-03-12  Richard Guenther  <rguenther@suse.de>
8837
8838         * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8839         * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8840         (__gthread_mutex_init_function): New function.
8841         * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8842
8843         PR gcov/49484
8844         * libgcov.c: Include gthr.h.
8845         (__gcov_flush_mx): New global variable.
8846         (init_mx, init_mx_once): New functions.
8847         (__gcov_flush): Protect self with a mutex.
8848         (__gcov_fork): Re-initialize mutex after forking.
8849         * unwind-dw2-fde.c: Change condition under which to use
8850         __GTHREAD_MUTEX_INIT_FUNCTION.
8851
8852 2012-03-12  Tristan Gingold  <gingold@adacore.com>
8853
8854         * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8855         * config/ia64/t-vms: Likewise.
8856
8857 2012-03-11  Michael Hope  <michael.hope@linaro.org>
8858
8859         * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8860         for Thumb-2.
8861
8862 2012-03-07  Walter Lee  <walt@tilera.com>
8863
8864         * config/tilepro/atomic.c: Rename "atomic_" prefix to
8865         "arch_atomic_".
8866         (atomic_xor): Rename and move definition to
8867         config/tilepro/atomic.h.
8868         (atomic_nand): Ditto.
8869         * config/tilepro/atomic.h: Rename "atomic_" prefix to
8870         "arch_atomic_".
8871         (arch_atomic_xor): Move from config/tilepro/atomic.c.
8872         (arch_atomic_nand): Ditto.
8873
8874 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8875
8876         PR target/52507
8877         * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8878
8879 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8880
8881         PR target/52505
8882         * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8883         from RAM.
8884
8885 2012-03-07  Georg-Johann Lay  <avr@gjlay.de>
8886
8887         PR target/52461
8888         PR target/52508
8889         * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8890         if RAMPZ affects reading from RAM.
8891         (__tablejump_elpm__): Ditto.
8892         (.xload): Ditto.
8893         (__movmemx_hi): Ditto.
8894         (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8895         (__do_global_dtors): Ditto.
8896         (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8897         (__movmemx_hi): Ditto.
8898
8899 2012-03-05  Richard Henderson  <rth@redhat.com>
8900
8901         * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8902         [ARM] (count_trailing_zeros): Use the builtin.
8903
8904 2012-03-01  Kai Tietz  <ktietz@redhat.com>
8905
8906         * soft-fp: Imported from glibc upstream.
8907
8908 2012-02-28  Kai Tietz  <ktietz@redhat.com>
8909
8910         * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8911         for mingw-targets as attribute gcc_struct.
8912
8913 2012-02-28  Ian Lance Taylor  <iant@google.com>
8914
8915         * generic-morestack.c (__splitstack_releasecontext): Correct call
8916         to __morestack_release_segments.
8917
8918 2012-02-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8919
8920         PR target/52390
8921         * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8922         for __linux__ when removing signals from __morestack_fullmask.
8923
8924 2012-02-23  Georg-Johann Lay  <avr@gjlay.de>
8925
8926         PR target/52261
8927         * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8928
8929 2012-02-23  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8930
8931         * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8932         instead of HAVE_INITFINI_ARRAY.
8933         * config/ia64/crtend.S: Likewise.
8934
8935 2012-02-20  Kai Tietz  <ktietz@redhat.com>
8936
8937         PR libstdc++/52300
8938         * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8939
8940         * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8941         to w32-unwind.h header.
8942
8943 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
8944
8945         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8946         (mips*-*-linux*): Remove t-slibgcc-libgcc.
8947         * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8948         * config/mips/mips16.S (__mips16_rdhwr): Delete.
8949
8950 2012-02-19  Richard Sandiford  <rdsandiford@googlemail.com>
8951
8952         * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8953
8954 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8955
8956         PR libitm/52220
8957         * config/darwin-crt-tm.c: Correct typo.
8958
8959 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8960             Patrick Marlier  <patrick.marlier@gmail.com>
8961
8962         PR libitm/52220
8963         * config/darwin-crt-tm.c: Generate dummy functions.
8964
8965 2012-02-15  Iain Sandoe  <iains@gcc.gnu.org>
8966             Patrick Marlier  <patrick.marlier@gmail.com>
8967
8968         PR libitm/52042
8969         * config/darwin-crt-tm.c (getTMCloneTable): New function.
8970         (__doTMRegistrations): Call it.
8971         (__doTMdeRegistrations): Likewise.
8972
8973 2012-01-15  Georg-Johann Lay  <avr@gjlay.de>
8974             Anatoly Sokolov  <aesok@post.ru>
8975             Eric Weddington  <eric.weddington@atmel.com>
8976
8977         PR target/52261
8978         * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8979         (__epilogue_restores__): Ditto.
8980
8981 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
8982
8983         PR target/51921
8984         PR target/52205
8985         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8986         Solaris 11 and slightly reformat.
8987         (sparc_is_sighandler): Likewise.
8988
8989 2012-02-14  Walter Lee  <walt@tilera.com>
8990
8991         * config.host: Handle tilegx and tilepro.
8992         * config/tilegx/sfp-machine.h: New file.
8993         * config/tilegx/sfp-machine32.h: New file.
8994         * config/tilegx/sfp-machine64.h: New file.
8995         * config/tilegx/t-crtstuff: New file.
8996         * config/tilegx/t-softfp: New file.
8997         * config/tilegx/t-tilegx: New file.
8998         * config/tilepro/atomic.c: New file.
8999         * config/tilepro/atomic.h: New file.
9000         * config/tilepro/linux-unwind.h: New file.
9001         * config/tilepro/sfp-machine.h: New file.
9002         * config/tilepro/softdivide.c: New file.
9003         * config/tilepro/softmpy.S: New file.
9004         * config/tilepro/t-crtstuff: New file.
9005         * config/tilepro/t-tilepro: New file.
9006
9007 2012-02-07  Jonathan Wakely  <jwakely.gcc@gmail.com>
9008
9009         PR libstdc++/51296
9010         PR libstdc++/51906
9011         * gthr-posix.h: Allow static initializer macros to be disabled.
9012         (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9013
9014 2012-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
9015
9016         * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9017         Add t-slibgcc-libgcc to tmake_file.
9018         * config/mips/libgcc-mips16.ver: Revert previous patch.
9019         * config/mips/mips16.S (__mips16_rdhwr): Hide.
9020
9021 2012-02-02  Sumanth G  <sumanth.gundapaneni@kpitcummins.com>
9022             Jayant R Sonar  <jayant.sonar@kpitcummins.com>
9023
9024         * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9025         * config/cr16/crti.S: New file.
9026         * config/cr16/crtlibid.S: New file.
9027         * config/cr16/crtn.S: New file.
9028         * config/cr16/lib1funcs.S: New file.
9029         * config/cr16/t-cr16: New file.
9030         * config/cr16/t-crtlibid: New file.
9031         * config/cr16/unwind-dw2.h: New file.
9032         * config/cr16/unwind-cr16.c: New file.
9033         * config/cr16/divmodhi3.c: New file.
9034
9035 2012-01-25  Alan Modra  <amodra@gmail.com>
9036
9037         * config/rs6000/t-linux64: Delete.  Move..
9038         * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9039         * config/rs6000/t-linux: ..and libgcc flags to here.
9040
9041 2012-01-22  Douglas B Rupp  <rupp@gnat.com>
9042
9043         * config.host (i[34567]86-*-interix3*):
9044         Change triplet to i[34567]86-*-interix[3-9]*.
9045         * configure: Regenerate.
9046
9047 2012-01-15  Chung-Lin Tang  <cltang@codesourcery.com>
9048             Richard Sandiford  <rdsandiford@googlemail.com>
9049
9050         * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9051         * config/mips/mips16.S (__mips16_rdhwr): New function.
9052         * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9053
9054 2012-01-11  Nathan Sidwell  <nathan@acm.org>
9055
9056         * libgcov.c (__gcov_init): Ignore objects with no functions.
9057
9058 2012-01-10  Georg-Johann Lay  <avr@gjlay.de>
9059
9060         PR target/49868
9061         Extend __pgmx semantics to linearize memory.
9062         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9063         * config/avr/lib1funcs.S (__xload_1): New function.
9064         (__movmemx_qi, __movmemx_hi): New functions.
9065         (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9066         semantics.
9067
9068 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
9069
9070         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9071         purported sigacthandler address isn't null before dereferencing it.
9072         (sparc_is_sighandler): Likewise.
9073
9074 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
9075
9076         PR ada/41929
9077         * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9078         add CFA.  Revert back to old code for Solaris 8+ multi-threaded.
9079         (sparc_is_sighandler): Likewise.
9080         (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9081
9082 2012-01-06  Tristan Gingold  <gingold@adacore.com>
9083
9084         * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9085         compatibility thunks...
9086         (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9087         (crtbeginS.o, crtendS.o): ... and these to ...
9088         * config/ia64/t-ia64-elf: ... this new file.
9089         * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9090         (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9091
9092 2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9093
9094         * configure: Regenerate.
9095         * config/s390/t-crtstuff: Remove -fPIC.
9096
9097 2012-01-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
9098
9099         PR bootstrap/51006
9100         * enable-execute-stack-mprotect.c (getpagesize): Do not define
9101         for NetBSD.
9102
9103 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
9104
9105         PR target/51345
9106         * config/avr/lib1funcs.S: Remove FIXME comments.
9107         (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9108
9109 2012-01-02  Georg-Johann Lay  <avr@gjlay.de>
9110
9111         Implement light-weight DImode support.
9112         * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9113         _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9114         * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9115         __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9116
9117 2011-12-30  Nathan Sidwell  <nathan@acm.org>
9118
9119         * libgcov.c (gcov_crc32): Remove global var.
9120         (free_fn_data): New function.
9121         (buffer_fn_data): Pass in filename, more robust error recovery.
9122         (crc32_unsigned): New function.
9123         (gcov_exit): More robust detection of new program. More robust
9124         error recovery.
9125         (__gcov_init): Do not update program's crc here.
9126
9127 2011-12-21  Tristan Gingold  <gingold@adacore.com>
9128
9129         * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9130
9131 2011-12-21  Ian Lance Taylor  <iant@google.com>
9132
9133         * config/i386/morestack.S: Simplify CFI opcodes throughout.
9134
9135 2011-12-20  Ian Lance Taylor  <iant@google.com>
9136
9137         * config/i386/morestack.S (__morestack_non_split): If there is
9138         enough stack space already, don't split.  Ask for more stack space
9139         than we required.
9140
9141 2011-12-20  Sergio Durigan Junior  <sergiodj@redhat.com>
9142
9143         * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9144         `sys/sdt.h'.
9145         (_Unwind_DebugHook): New function.
9146         (uw_restore_core_regs): New define.
9147         (unwind_phase2): Use uw_restore_core_regs instead of
9148         restore_core_regs.
9149         (unwind_phase2_forced): Likewise.
9150         (__gnu_Unwind_Resume): Likewise.
9151
9152 2011-12-20  Uros Bizjak  <ubizjak@gmail.com>
9153
9154         * config/alpha/linux-unwind.h: Update copyright years.
9155         (MD_FROB_UPDATE_CONTEXT): New define.
9156         (alpha_frob_update_context): New function.
9157
9158 2011-12-17  Richard Sandiford  <rdsandiford@googlemail.com>
9159
9160         * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9161         tmake_file rather replacing it.
9162
9163 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
9164
9165         * config/rs6000/darwin-world.S (toplevel): Make it clear that this
9166         function is not used for PPC64.
9167         (save_world): Amend comments.  Update the VRsave mask to reflect the
9168         saved regs.
9169         (rest_world): Update comments, do not  clobber r10, do not use r8.
9170         (eh_rest_world_r10): Amend comments, do not use r8.
9171         (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9172         no longer used, move restore of CR and target address to the end of
9173         the routine.
9174
9175 2011-12-14  H.J. Lu  <hongjiu.lu@intel.com>
9176
9177         * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9178         __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9179
9180 2011-12-14  Georg-Johann Lay  <avr@gjlay.de>
9181
9182         PR target/49313
9183         * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9184         * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9185
9186 2011-12-11  Eric Botcazou  <ebotcazou@adacore.com>
9187
9188         * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9189
9190 2011-12-09  Georg-Johann Lay  <avr@gjlay.de>
9191
9192         PR target/49313
9193         * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9194         * config/avr/lib1funcs.S (__muldi3): New function.
9195
9196 2011-12-06  Andrew Pinski  <apinski@cavium.com>
9197
9198         * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9199         size of func_ptr.
9200         (__frame_dummy_init_array_entry): Likewise.
9201
9202 2011-12-06  Georg-Johann Lay  <avr@gjlay.de>
9203
9204         Forward-port from gcc-4_6-branch r181936 2011-12-02.
9205
9206         PR target/51345
9207         PR target/51002
9208         * config/avr/lib1funcs.S (__prologue_saves__,
9209         __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9210         __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__).  Add FIXME comments.
9211
9212 2011-12-04  Iain Sandoe  <iains@gcc.gnu.org>
9213
9214         * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9215
9216 2011-11-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9217
9218         PR other/51272
9219         * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9220         (_ITM_deregisterTMCloneTable): Likewise.
9221         (__register_frame_info): Fix unused warning.
9222         (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9223         pthread_default_stacksize_np): Likewise.
9224         * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
9225
9226 2011-11-29  DJ Delorie  <dj@redhat.com>
9227
9228         * config.host (rl78-*-elf): New case.
9229         * config/rl78: New directory for the Renesas RL78.
9230
9231 2011-11-29  Bernd Schmidt  <bernds@codesourcery.com>
9232
9233         * config.host (tic6x-*-uclinux): Append to extra_parts.  Fix
9234         formatting.
9235
9236 2011-11-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9237
9238         PR other/51022
9239         * config/rs6000/t-savresfgpr: New file.
9240         * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9241         $(srcdir)/config/rs6000/eabi.S.
9242         * config/rs6000/t-ppccomm-ldbl: Remove.
9243         * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9244         tmake_file.
9245         (powerpc-*-eabispe*): Likewise.
9246         (powerpc-*-eabi*): Likewise.
9247         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9248         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9249         to tmake_file, remove rs6000/t-ppccomm-ldbl.
9250         (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9251         tmake_file.
9252         (powerpc-*-eabisim*): Likewise.
9253         (powerpc-*-elf*): Likewise.
9254         (powerpc-*-eabialtivec*): Likewise.
9255         (powerpc-xilinx-eabi*): Likewise.
9256         (powerpc-*-rtems*): Likewise.
9257         (powerpcle-*-elf*): Likewise.
9258         (powerpcle-*-eabisim*): Likewise.
9259         (powerpcle-*-eabi*): Likewise.
9260
9261 2011-11-27  Ian Lance Taylor  <iant@google.com>
9262
9263         * generic-morestack.c (__splitstack_find): Check for NULL old
9264         stack value.
9265         (__splitstack_resetcontext): New function.
9266         (__splitstack_releasecontext): New function.
9267         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9268
9269 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
9270
9271         * config/darwin-crt-tm.c: Correct comments, use correct licence.
9272
9273 2011-11-27  Iain Sandoe  <iains@gcc.gnu.org>
9274
9275         * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9276
9277 2011-11-26  Richard Henderson  <rth@redhat.com>
9278
9279         * config/m68k/linux-atomic.c: New file.
9280         * config/m68k/t-linux: New file.
9281         * config.host (m68k-uclinux, m68k-linux): Use it.
9282
9283 2011-11-26  Richard Henderson  <rth@redhat.com>
9284
9285         * crtstuff.c (__TMC_LIST__): Mark used not unused.
9286         (__TMC_END__): Only declare if hidden is available; in the definition,
9287         if hidden is unavailable add a null record.
9288         (deregister_tm_clones, register_tm_clones): New.
9289         (__do_global_dtors_aux, frame_dummy): Use them.
9290         (__do_global_dtors, __do_global_ctors_1): Likewise.
9291
9292 2011-11-22  Iain Sandoe  <iains@gcc.gnu.org>
9293
9294         * config/darwin-crt-tm.c: New file.
9295         * config.host (darwin): Build crttms.o crttme.o to provide
9296         startup and shutdown for tm clones.
9297         * config/t-darwin (crttms.o): New build rule.
9298         (crttme.o): Likewise.
9299
9300 2011-11-21  Hans-Peter Nilsson  <hp@axis.com>
9301
9302         * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9303         et al.
9304
9305 2011-11-21  Richard Henderson  <rth@redhat.com>
9306
9307         * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9308         (__TMC_LIST__, __TMC_END__): New.
9309         (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9310         (__do_global_dtors): Likewise.
9311         (frame_dummy): Call _ITM_registerTMCloneTable.
9312         (__do_global_ctors_1): Likewise.
9313
9314 2011-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9315
9316         * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9317         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9318         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9319         (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9320         * config/i386/t-darwin64: Remove.
9321         * config/sh/t-netbsd (LIB2ADD): Remove.
9322
9323 2011-11-21  Georg-Johann Lay  <avr@gjlay.de>
9324
9325         PR target/49313
9326         * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9327         (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9328         * config/avr/lib1funcs.S (wmov): New assembler macro.
9329         (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9330         (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9331         (__udivmod64): New function.
9332         (__negdi2): New function.
9333
9334 2011-11-21  Gerald Pfeifer  <gerald@pfeifer.com>
9335
9336         * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9337         *-*-freebsd*aout*): Remove.
9338
9339 2011-11-20  Hans-Peter Nilsson  <hp@axis.com>
9340
9341         * static-object.mk (c_flags-$o): Save c_flags.
9342         ($(base)$(objext)): Use it.
9343
9344 2011-11-18  Steve Ellcey  <sje@cup.hp.com>
9345
9346         * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9347
9348 2011-11-18  Georg-Johann Lay  <avr@gjlay.de>
9349
9350         PR target/49868
9351         * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9352         * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9353         New functions.
9354
9355 2011-11-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
9356
9357         * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9358         functions.
9359         (aeabi_uidivmod): Likewise.
9360         (umodsi3): Likewise.
9361         (divsi3): Likewise.
9362         (aeabi_idivmod): Likewise.
9363         (modsi3): Likewise.
9364
9365 2011-11-16  Tristan Gingold  <gingold@adacore.com>
9366
9367         * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9368
9369 2011-11-15  Georg-Johann Lay  <avr@gjlay.de>
9370
9371         PR target/49868
9372         * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3,  _load_4.
9373         * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9374
9375 2011-11-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9376
9377         * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9378         tmake_file list.
9379         * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9380         * config/pa/t-stublib64: Delete.
9381
9382 2011-11-12  Richard Henderson  <rth@redhat.com>
9383
9384         * config/rs6000/linux-unwind.h (frob_update_context): Properly
9385         cast the pointer argument to _Unwind_SetGRPtr.
9386
9387 2011-11-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9388
9389         * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9390
9391 2011-11-09  Ian Lance Taylor  <iant@google.com>
9392
9393         * generic-morestack.c: Include <string.h>.
9394         (uintptr_type): Define.
9395         (struct initial_sp): Add dont_block_signals field.  Reduce size of
9396         extra array by 1.
9397         (allocate_segment): Set prev field to NULL.  Don't set
9398         __morestack_current_segment or __morestack_segments.
9399         (__generic_morestack): Update current->prev and *pp after calling
9400         allocate_segment.
9401         (__morestack_block_signals): Don't do anything if
9402         dont_block_signals is set.
9403         (__morestack_unblock_signals): Likewise.
9404         (__generic_findstack): Check for initial_sp == NULL.  Add casts to
9405         uintptr_type.
9406         (__splitstack_block_signals): New function.
9407         (enum __splitstack_content_offsets): Define.
9408         (__splitstack_getcontext, __splitstack_setcontext): New functions.
9409         (__splitstack_makecontext): New function.
9410         (__splitstack_block_signals_context): New function.
9411         (__splitstack_find_context): New function.
9412         * config/i386/morestack.S (__morestack_get_guard): New function.
9413         (__morestack_set_guard, __morestack_make_guard): New functions.
9414         * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9415
9416 2011-11-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9417
9418         * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9419         (i[34567]86-*-mingw*): ... here.
9420         (x86_64-*-mingw*): ... here.
9421
9422 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9423
9424         * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9425
9426 2011-11-07  Nathan Sidwell  <nathan@acm.org>
9427
9428         * libgcov.c (struct gcov_fn_buffer): New struct.
9429         (buffer_fn_data): New helper.
9430         (gcov_exit): Rework for new gcov data structures.
9431
9432 2011-11-07  Georg-Johann Lay  <avr@gjlay.de>
9433
9434         PR target/49313
9435         * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9436
9437 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9438
9439         * config.host (tmake_file): Correct comment.
9440         (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9441         t-libgcc-pic.
9442         (bfin*-uclinux*): Likewise.
9443         (bfin*-linux-uclibc*): Likewise.
9444         (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9445
9446         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9447         assigning.
9448         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9449         * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9450         * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9451         * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9452         * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9453         * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9454         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9455         * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9456         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9457         * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9458         * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9459         * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9460         * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9461
9462         * config/bfin/t-elf: Remove.
9463         * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9464
9465 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9466
9467         * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9468         (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9469         (lm32-*-elf*, lm32-*-rtems*): Split into ...
9470         (lm32-*-elf*): ... this.
9471         (lm32-*-rtems*): ... and this.
9472         Add to tmake_file.
9473         (m32r-*-rtems*): Add to tmake_file.
9474         (moxie-*-rtems*): Likewise.
9475         (sparc-*-rtems*): Likewise.
9476         Remove t-rtems from tmake_file.
9477         (sparc64-*-rtems*): Likewise.
9478         * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9479         instead.
9480
9481 2011-11-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9482
9483         PR bootstrap/50982
9484         * config/gthr-posix.h: Move ...
9485         * gthr-posix.h: ... here.
9486         * config/gthr-lynx.h: Reflect this.
9487         * config/gthr-vxworks.h: Likewise.
9488         * config/rs6000/gthr-aix.h: Likewise.
9489         * configure.ac (target_thread_file): Likewise.
9490         * configure: Regenerate.
9491
9492 2011-11-06  Sebastian Huber  <sebastian.huber@embedded-brains.de>
9493
9494         * config.host (arm*-*-rtemseabi*): New target.
9495
9496 2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
9497
9498         PR other/50991
9499         * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
9500         extra-parts.
9501
9502 2011-11-05  Joern Rennecke  <joern.rennecke@embecosm.com>
9503
9504         * config.host (epiphany-*-elf*): New configuration.
9505         * config/epiphany: New Directory.
9506
9507 2011-11-05  Ralf Corsépius  <ralf.corsepius@rtems.org>
9508
9509         * config.host (avr-*-rtems*): Add config/avr/t-rtems.
9510         * config/avr/t-rtems: New.
9511         Filter out _exit from LIB1ASMFUNCS.
9512
9513 2011-11-04  David S. Miller  <davem@davemloft.net>
9514
9515         * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
9516         * configure: Rebuild.
9517
9518 2011-11-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9519
9520         * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
9521         variable.
9522
9523 2011-11-04  Georg-Johann Lay  <avr@gjlay.de>
9524
9525         PR target/50931
9526         * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
9527         * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
9528
9529 2011-11-04  Joel Sherrill  <joel.sherrill@oarcorp.com>
9530
9531         PR target/50989
9532         * config.host (sparc-*-rtems*): Add sparc/t-softmul.
9533
9534 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9535
9536         * config/c6x/t-elf (LIB2ADDEH): Set.
9537         * config/c6x/t-c6x-elf: Remove.
9538
9539 2011-11-04  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9540
9541         * config/i386/sol2-ci.S: Rename to ...
9542         * config/i386/crti.S: ... this.
9543         * config/i386/sol2-cn.S: Rename to ...
9544         * config/i386/crtn.S: ... this.
9545         * config/sparc/sol2-ci.S: Rename to ...
9546         * config/sparc/crti.S: ... this.
9547         * config/sparc/sol2-cn.S: Rename to ...
9548         * config/sparc/crtn.S: ... this.
9549         * config/t-sol2 (CUSTOM_CRTIN): Remove.
9550         (crti.o, crtn.o): Remove.
9551
9552 2011-11-04  Tristan Gingold  <gingold@adacore.com>
9553
9554         * config/ia64/fde-vms.c: Do not include md-unwind-support.h
9555
9556 2011-11-04  Kaz Kojima  <kkojima@gcc.gnu.org>
9557
9558         * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9559
9560 2011-11-03  Hans-Peter Nilsson  <hp@axis.com>
9561
9562         * config.host (crisv32-*-none, cris-*-none): Remove.
9563         (crisv32-*-elf): Append to tmake_file, don't just set it.
9564         (cris-*-elf): Add missing t-fdpbit to tmake_file.
9565
9566 2011-11-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9567
9568         * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9569         (ecrtn$(objext)): Likewise.
9570         (ncrti$(objext)): Likewise.
9571         (ncrtn$(objext)): Likewise.
9572
9573 2011-11-03  Andreas Schwab  <schwab@redhat.com>
9574
9575         * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9576
9577 2011-11-02  David S. Miller  <davem@davemloft.net>
9578
9579         * configure.ac: Set host_address on sparc too.
9580         * configure: Regenerate.
9581         * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9582         based upon host_address.
9583         * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9584
9585 2011-11-02  Jason Merrill  <jason@redhat.com>
9586
9587         * config/rs6000/t-ppccomm: Add missing \.
9588
9589 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9590
9591         * gthr-single.h, gthr.h: New files.
9592         * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9593         config/gthr-vxworks.h, config/i386/gthr-win32.h,
9594         config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9595         config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9596         * config/i386/gthr-win32.c: Include "gthr-win32.h".
9597         * configure.ac (thread_header): New variable.
9598         Set it depending on target_thread_file.
9599         (gthr-default.h): Link from $thread_header.
9600         * configure: Regenerate.
9601         * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9602
9603 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9604
9605         * configure.ac (tm_file_): New variable.
9606         Determine from tm_file.
9607         (tm_file, tm_defines): Substitute.
9608         * configure: Regenerate.
9609         * mkheader.sh: New file.
9610         * Makefile.in (clean): Remove libgcc_tm.h.
9611         ($(objects)): Depend on libgcc_tm.h.
9612         (libgcc_tm_defines, libgcc_tm_file): New variables.
9613         (libgcc_tm.h, libgcc_tm.stamp): New targets.
9614         ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9615         ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9616         ($(extra-parts)): Depend on libgcc_tm.h.
9617         * config.host (tm_defines, tm_file): New variable.
9618         (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9619         (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9620         (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9621         (avr-*-rtems*): Likewise.
9622         (avr-*-*): Likewise.
9623         (frv-*-elf): Likewise.
9624         (frv-*-*linux*): Likewise.
9625         (h8300-*-rtems*): Likewise.
9626         (h8300-*-elf*): Likewise.
9627         (i[34567]86-*-darwin*): Likewise.
9628         (x86_64-*-darwin*): Likewise.
9629         (rx-*-elf): Likewise.
9630         (tic6x-*-uclinux): Likewise.
9631         (tic6x-*-elf): Likewise.
9632         (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9633         * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9634         * config/i386/cygming-crtbegin.c: Likewise.
9635         * config/i386/cygming-crtend.c: Likewise.
9636         * config/ia64/fde-vms.c: Likewise.
9637         * config/ia64/unwind-ia64.c: Likewise.
9638         * config/libbid/bid_gcc_intrinsics.h: Likewise.
9639         * config/rs6000/darwin-fallback.c: Likewise.
9640         * config/stormy16/lib2funcs.c: Likewise.
9641         * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9642         * crtstuff.c: Likewise.
9643         * dfp-bit.h: Likewise.
9644         * emutls.c: Likewise.
9645         * fixed-bit.c: Likewise.
9646         * fp-bit.c: Likewise.
9647         * generic-morestack-thread.c: Likewise.
9648         * generic-morestack.c: Likewise.
9649         * libgcc2.c: Likewise.
9650         * libgcov.c: Likewise.
9651         * unwind-dw2-fde-dip.c: Likewise.
9652         * unwind-dw2-fde.c: Likewise.
9653         * unwind-dw2.c: Likewise.
9654         * unwind-sjlj.c: Likewise.
9655
9656 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9657
9658         * configure.ac: Include ../config/picflag.m4.
9659         (GCC_PICFLAG): Call it.
9660         Substitute.
9661         * configure: Regenerate.
9662         * Makefile.in (gcc_srcdir): Remove.
9663         (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9664         (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9665         (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9666         ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9667         ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9668         Use $<.
9669         Remove comment.
9670         * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9671         * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9672         to refer to libgcc2.c.
9673         Use $<.
9674         * config/darwin-64.c: New file.
9675         * config/darwin-crt3.c: Remove comment.
9676         * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9677         config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9678         config/udivmodsi4.c: New files.
9679         * config/memcmp.c, config/memcpy.c, config/memmove.c,
9680         config/memset.c: New files.
9681         * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9682         * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9683         * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9684         * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9685         * config/t-openbsd-thread: New file.
9686         * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9687         * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9688         * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9689         * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9690         qrnnd.S.
9691         Adapt filename.
9692         * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9693         to refer to gthr-posix.c.
9694         * config/alpha/t-vms (LIB2ADD): Set.
9695         * config/alpha/vms-gcc_shell_handler.c: New file.
9696         * config/arm/bpabi.c, config/arm/fp16.c,
9697         config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9698         config/arm/unaligned-funcs.c: New files.
9699         * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9700         * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9701         * config/arm/t-linux: Likewise.
9702         * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9703         * config/arm/t-netbsd: New file.
9704         * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9705         * config/arm/t-symbian (LIB2ADD_ST): Set.
9706         * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9707         * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9708         * config/bfin/t-elf: New file.
9709         * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9710         config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9711         config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9712         config/c6x/ltf.c: New files.
9713         * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9714         (HOST_LIBGCC2_CFLAGS): Set.
9715         * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9716         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9717         * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9718         New files.
9719         * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9720         * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9721         * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9722         config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9723         config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9724         files.
9725         * config/frv/t-frv (LIB2ADD): Set.
9726         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9727         * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9728         config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9729         config/h8300/popcounthi2.c: New files.
9730         * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9731         * config/i386/gthr-win32.c: New file.
9732         * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9733         * config/i386/t-cygwin: Likewise.
9734         * config/i386/t-darwin, config/i386/t-darwin64,
9735         config/i386/t-gthr-win32, config/i386/t-interix: New files.
9736         * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9737         (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9738         * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9739         * config/ia64/quadlib.c: New file.
9740         * config/ia64/t-hpux (LIB2ADD): Set.
9741         * config/ia64/t-ia64: Add comment.
9742         * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9743         * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9744         (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9745         * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9746         * config/m32c/t-m32c (LIB2ADD): Set.
9747         * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9748         * config/m32r/t-m32r: Likewise.
9749         * config/m68k/fpgnulib.c: New file.
9750         * config/m68k/t-floatlib (LIB2ADD): Set.
9751         (xfgnulib.c): New target.
9752         * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9753         * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9754         * config/mep/t-mep (LIB2ADD): Set.
9755         * config/microblaze/divsi3.asm: Rename to divsi3.S.
9756         * config/microblaze/moddi3.asm: Rename to moddi3.S.
9757         * config/microblaze/modsi3.asm: Rename to modsi3.S.
9758         * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9759         * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9760         * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9761         * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9762         * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9763         * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9764         * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9765         New files.
9766         * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9767         * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9768         * config/pa/fptr.c, config/pa/lib2funcs.S,
9769         config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9770         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9771         (LIB2ADD, LIB2ADD_ST): Set.
9772         * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9773         * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9774         Set.
9775         * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9776         * config/pdp11/t-pdp11: New file.
9777         * config/picochip/libgccExtras/adddi3.S,
9778         config/picochip/libgccExtras/ashlsi3.S,
9779         config/picochip/libgccExtras/ashrsi3.S,
9780         config/picochip/libgccExtras/clzsi2.S,
9781         config/picochip/libgccExtras/cmpsi2.S,
9782         config/picochip/libgccExtras/divmod15.S,
9783         config/picochip/libgccExtras/divmodhi4.S,
9784         config/picochip/libgccExtras/divmodsi4.S,
9785         config/picochip/libgccExtras/lshrsi3.S,
9786         config/picochip/libgccExtras/parityhi2.S,
9787         config/picochip/libgccExtras/popcounthi2.S,
9788         config/picochip/libgccExtras/subdi3.S,
9789         config/picochip/libgccExtras/ucmpsi2.S,
9790         config/picochip/libgccExtras/udivmodhi4.S,
9791         config/picochip/libgccExtras/udivmodsi4.S: New files.
9792         * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9793         (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9794         * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9795         config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9796         config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9797         config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9798         config/rs6000/darwin-gpsave.S,  config/rs6000/darwin-tramp.S,
9799         config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9800         files.
9801         * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9802         (HOST_LIBGCC2_CFLAGS): Set.
9803         * config/rs6000/t-darwin64: New file.
9804         * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9805         * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9806         * config/rs6000/t-ppccomm (LIB2ADD): Add
9807         $(srcdir)/config/rs6000/tramp.S.
9808         (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9809         Add  $(srcdir)/config/rs6000/eabi.S.
9810         (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9811         (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9812         (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9813         (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9814         (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9815         (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9816         * config/rs6000/tramp.S: New file.
9817         * config/s390/t-tpf: Remove.
9818         * config/sh/linux-atomic.S: New file.
9819         * config/sh/t-linux (LIB2ADD): Set.
9820         (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9821         * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9822         * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9823         to unwind-dw2.c.
9824         (HOST_LIBGCC2_CFLAGS): Set.
9825         * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9826         * config/spu/divmodti4.c, config/spu/divv2df3.c,
9827         config/spu/float_disf.c, config/spu/float_unsdidf.c,
9828         config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9829         config/spu/mfc_multi_tag_release.c,
9830         config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9831         config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9832         config/spu/multi3.c: New files.
9833         * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9834         (HOST_LIBGCC2_CFLAGS): Set.
9835         * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9836         config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9837         config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9838         config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9839         config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9840         config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9841         config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9842         config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9843         config/stormy16/umodsi3.c: New files.
9844         * config/xtensa/lib2funcs.S: New file.
9845         * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9846         * config/xtensa/t-xtensa (LIB2ADD): Set.
9847         * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9848         (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9849         Add t-freebsd-thread to tmake_file for posix threads.
9850         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9851         (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9852         (*-*-lynxos*): Likewise.
9853         (*-*-netbsd*): Likewise.
9854         (*-*-openbsd*): Likewise.
9855         Add t-openbsd-thread to tmake_file for posix threads.
9856         (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9857         (*-*-vxworks*): Set tmake_file.
9858         (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9859         (alpha*-*-freebsd*): Likewise.
9860         (alpha*-*-netbsd*): Likewise.
9861         (alpha*-*-openbsd*): Likewise.
9862         (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9863         (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9864         (alpha*-dec-*vms*): Likewise.
9865         (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9866         (bfin*-elf*): Add bfin/t-elf to tmake_file.
9867         (bfin*-uclinux*): Likewise.
9868         (bfin*-linux-uclibc*): Likewise.
9869         (crisv32-*-elf): Add cris/t-cris to tmake_file.
9870         (crisv32-*-none): Likewise.
9871         (cris-*-elf): Likewise.
9872         (cris-*-none): Likewise.
9873         (cris-*-linux*, crisv32-*-linux*): Likewise.
9874         (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9875         tmake_file.
9876         (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9877         tmake_file.
9878         (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9879         (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9880         (x86_64-*-elf*): Likewise.
9881         (i[34567]86-*-nto-qnx*): Likewise.
9882         (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9883         win32 threads.
9884         (x86_64-*-mingw*): Likewise.
9885         (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9886         (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9887         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9888         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9889         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9890         tmake_file.
9891         (mipsisa64sr71k-*-elf*): Likewise.
9892         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9893         (mips-*-elf*, mipsel-*-elf*): Likewise.
9894         (mips64-*-elf*, mips64el-*-elf*): Likewise.
9895         (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9896         (mips*-*-rtems*): Likewise.
9897         (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9898         to tmake_file.
9899         (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9900         (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9901         (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9902         (spu-*-elf*): Likewise.
9903         (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9904
9905 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
9906
9907         * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9908         $(srcdir) to refer to $(LIB1ASMSRC).
9909         Use $<.
9910         * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9911         config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9912         config/arm/lib1funcs.S: New files.
9913         * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9914         * config/arm/t-arm: New file.
9915         * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9916         * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9917         config/arm/t-strongarm-elf: New files.
9918         * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9919         * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9920         * config/avr/lib1funcs.S: New file.
9921         * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9922         * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9923         * config/c6x/lib1funcs.S: New file.
9924         * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9925         * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9926         * config/frv/lib1funcs.S: New file.
9927         * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9928         * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9929         * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9930         * config/ia64/__divxf3.asm: Rename to ...
9931         * config/ia64/__divxf3.S: ... this.
9932         Adapt lib1funcs.asm filename.
9933         * config/ia64/_fixtfdi.asm: Rename to ...
9934         * config/ia64/_fixtfdi.S: ... this.
9935         Adapt lib1funcs.asm filename.
9936         * config/ia64/_fixunstfdi.asm: Rename to ...
9937         * config/ia64/_fixunstfdi.S: ... this.
9938         Adapt lib1funcs.asm filename.
9939         * config/ia64/_floatditf.asm: Rename to ...
9940         * config/ia64/_floatditf.S: ... this.
9941         Adapt lib1funcs.asm filename.
9942         * config/ia64/lib1funcs.S: New file.
9943         * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9944         * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9945         * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9946         * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9947         * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9948         * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9949         * config/mep/lib1funcs.S: New file.
9950         * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9951         * config/mips/mips16.S: New file.
9952         * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9953         * config/pa/milli64.S: New file.
9954         * config/pa/t-linux, config/pa/t-linux64: New files.
9955         * config/picochip/lib1funcs.S: New file.
9956         * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9957         * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9958         * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9959         * config/sh/t-netbsd: New file.
9960         * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9961         Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9962         * config/sh/t-sh64: New file.
9963         * config/sparc/lb1spc.S: New file.
9964         * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9965         filename.
9966         * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9967         * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9968         * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9969         config/xtensa/lib1funcs.S: New files.
9970         * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9971         * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9972         tmake_file.
9973         (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9974         (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9975         (arm*-*-linux*): Likewise.
9976         Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9977         arm*-*-linux-*eabi, add arm/t-linux otherwise.
9978         (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9979         (arm*-*-ecos-elf): Likewise.
9980         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9981         (arm*-*-rtems*): Likewise.
9982         (arm*-*-elf): Likewise.
9983         (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9984         (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9985         (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9986         (bfin*-uclinux*): Likewise.
9987         (bfin*-linux-uclibc*): Likewise.
9988         (bfin*-rtems*): Likewise.
9989         (bfin*-*): Likewise.
9990         (fido-*-elf): Merge into m68k-*-elf*.
9991         (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9992         (frv-*-*linux*): Add frv/t-frv to tmake_file.
9993         (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9994         (h8300-*-elf*): Likewise.
9995         (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9996         (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9997         (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9998         (i[34567]86-*-mingw*): Likewise.
9999         (x86_64-*-mingw*): Likewise.
10000         (i[34567]86-*-interix3*): Likewise.
10001         (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10002         (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10003         (m68k-*-elf*): Also handle fido-*-elf.
10004         Add m68k/t-floatlib to tmake_file.
10005         (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10006         (m68k-*-linux*): Likewise.
10007         (m68k-*-rtems*): Likewise.
10008         (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10009         (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10010         sh64*-*-*.
10011         (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10012         Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10013         (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10014         (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10015         sh/t-netbsd to tmake_file.
10016         Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10017         (sh-*-rtems*): Add sh/t-sh to tmake_file.
10018         (sh-wrs-vxworks): Likewise.
10019         (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10020         *-leon[3-9]*.
10021         (v850*-*-*): Add v850/t-v850 to tmake_file.
10022         (vax-*-linux*): Add vax/t-linux to tmake_file.
10023         (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10024
10025 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10026
10027         * crtstuff.c: New file.
10028         * Makefile.in (CRTSTUFF_CFLAGS): Define.
10029         (CRTSTUFF_T_CFLAGS): Define.
10030         (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10031         (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10032         (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10033         crtstuff.c.
10034         Use $<.
10035         (crtbeginT.o): Use $(objext).
10036         [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10037         (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10038         (gcc-extra-parts): Remove.
10039         * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10040         Set extra_parts.
10041         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10042         *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10043         Add t-crtstuff-pic to tmake_file.
10044         (*-*-lynxos*): New case.
10045         Set tmake_file, extra_parts.
10046         (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10047         Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10048         *-*-netbsdelf[2-9]*.
10049         (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10050         (*-*-rtems*): Set extra_parts.
10051         (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10052         (*-*-uclinux*): New case.
10053         Set extra_parts.
10054         (*-*-vms*): New case.
10055         Set tmake_file, extra_parts.
10056         (*-*-elf): Set extra_parts.
10057         (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10058         (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10059         vms/t-vms64.
10060         Set extra_parts.
10061         (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10062         Set extra_parts.
10063         (arm*-*-freebsd*): Add t-crtin to tmake_file.
10064         Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10065         (arm-wrs-vxworks): Append to tmake_file.
10066         Set extra_parts.
10067         (arm*-*-uclinux*): Set extra_parts.
10068         (arm*-*-ecos-elf): Likewise.
10069         (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10070         arm*-*-eabi*.
10071         (arm*-*-rtems*): Set extra_parts.
10072         (arm*-*-elf): Likewise.
10073         (avr-*-rtems*): Clear extra_parts.
10074         (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10075         Set extra_parts.
10076         (bfin*-uclinux*): Likewise.
10077         (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10078         (bfin*-rtems*): Append to tmake_file.
10079         Set extra_parts.
10080         (bfin*-*): Likewise.
10081         (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10082         (crisv32-*-elf): ... this.
10083         (crisv32-*-none): ... this.
10084         (cris-*-elf, cris-*-none): New cases.
10085         Add cris/t-elfmulti to tmake_file.
10086         (fr30-*-elf): Append to tmake_file.
10087         Set extra_parts.
10088         (frv-*-elf): Append to tmake_file, add frv/t-frv.
10089         Set extra_parts.
10090         (h8300-*-rtems*): Append to tmake_file.
10091         Set extra_parts.
10092         (h8300-*-elf*): Likewise.
10093         (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10094         Set extra_parts.
10095         (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10096         Set extra_parts.
10097         (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10098         (x86_64-*-elf*): Likewise.
10099         (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10100         (x86_64-*-freebsd*): Likewise.
10101         (x86_64-*-netbsd*): Likewise.
10102         (i[34567]86-*-linux*): Likewise.
10103         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10104         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10105         (x86_64-*-linux*): Likewise.
10106         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10107         (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10108         tmake_file.
10109         Set extra_parts.
10110         (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10111         (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10112         Append to extra_parts, remove crtbegin.o, crtend.o.
10113         (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10114         (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10115         crtend.o, crtbeginS.o, crtendS.o.
10116         (ia64*-*-linux*): Comment extra_parts.
10117         (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10118         Set extra_parts.
10119         (iq2000*-*-elf*): Clear extra_parts.
10120         (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10121         (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10122         (m32r-*-elf*, m32r-*-rtems*): Split off ...
10123         (m32r-*-rtems*): ... this.
10124         Add m32r/t-m32r to tmake_file.
10125         (m68k-*-elf*): Add t-crtin to tmake_file.
10126         (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10127         (mcore-*-elf): Likewise.
10128         (microblaze*-*-*): Set extra_parts.
10129         (mips*-sde-elf*): New case.
10130         Set tmake_file, extra_parts.
10131         (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10132         (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10133         (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10134         tmake_file.
10135         Set extra_parts.
10136         (mipsisa64sr71k-*-elf*): Likewise.
10137         (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10138         (mips-*-elf*, mipsel-*-elf*): Likewise.
10139         (mips64-*-elf*, mips64el-*-elf*): Likewise.
10140         (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10141         (mips64orion-*-elf*,  mips64orionel-*-elf*): Likewise.
10142         (mips*-*-rtems*): Likewise.
10143         (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10144         (moxie-*-*): Split into ...
10145         (moxie-*-elf, moxie-*-uclinux*): ... this.
10146         Add to extra_parts, remove crtbegin.o, crtend.o.
10147         (moxie-*-rtems*): New case.
10148         Set tmake_file.
10149         Clear extra_parts.
10150         (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10151         Set extra_parts.
10152         (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10153         (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10154         tmake_file.
10155         Set extra_parts.
10156         (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10157         rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10158         Set extra_parts.
10159         (powerpc-*-eabisim*): Likewise.
10160         (powerpc-*-elf*): Likewise.
10161         (powerpc-*-eabialtivec*): Likewise.
10162         (powerpc-xilinx-eabi*): Likewise.
10163         (powerpc-*-eabi*): Likewise.
10164         (powerpc-*-rtems*): Likewise.
10165         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10166         tmake_file.
10167         Set extra_parts.
10168         (powerpc-*-lynxos*): Add to tmake_file.
10169         (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10170         rs6000/t-crtstuff, t-crtstuff-pic.
10171         Set extra_parts.
10172         (powerpcle-*-eabisim*): Likewise.
10173         (powerpcle-*-eabi*): Likewise.
10174         (rx-*-elf): Remove extra_parts.
10175         (s390x-ibm-tpf*): Set extra_parts.
10176         (score-*-elf): Set extra_parts.
10177         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10178         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10179         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10180         (sh64l*-*-netbsd*): Split into ...
10181         (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10182         Add t-crtstuff-pic to tmake_file.
10183         Set extra_parts.
10184         (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10185         Set extra_parts.
10186         (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10187         (sparc-*-elf*): Remove t-crtin from tmake_file.
10188         Add to extra_parts, remove crtbegin.o, crtend.o.
10189         (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10190         (sparc64-*-linux*): Likewise.
10191         (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10192         Add to extra_parts, remove crtbegin.o, crtend.o.
10193         (sparc64-*-elf*): Remove t-crtin from tmake_file.
10194         Add to extra_parts, remove crtbegin.o, crtend.o.
10195         (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10196         Add to extra_parts, remove crtbegin.o, crtend.o.
10197         (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10198         (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10199         (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10200         Set extra_parts.
10201         (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10202         Set extra_parts.
10203         (tic6x-*-*): Change to ...
10204         (tic6x-*-elf): ... this.
10205         Set extra_parts.
10206         (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10207         Set extra_parts.
10208         (am33_2.0-*-linux*): Add comment.
10209         (mep*-*-*): Add mep/t-mep to tmake_file.
10210         Set extra_parts.
10211         * config/alpha/t-vms: New file.
10212         * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10213         * config/arm/crti.S, config/arm/crtn.S: New files.
10214         * config/bfin/crti.S, config/bfin/crtn.S: New files.
10215         * config/bfin/crtlibid.S: New file.
10216         * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10217         * config/c6x/crti.S, config/c6x/crtn.S: New files.
10218         * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10219         (crti.o, crtin.o): New rules.
10220         (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10221         * config/c6x/t-uclinux: New file.
10222         * config/cris/t-elfmulti: New file.
10223         * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10224         * config/fr30/crti.S, config/fr30/crtn.S: New files.
10225         * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10226         * config/frv/t-frv: New file.
10227         * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10228         * config/h8300/crti.S, config/h8300/crtn.S: New files.
10229         * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10230         New files.
10231         * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10232         refer to cygming-crtbegin.c, cygming-crtend.c.
10233         Use $<.
10234         * config/i386/t-nto: New file.
10235         * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10236         * config/ia64/crti.S, config/ia64/crtn.S: New files.
10237         * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10238         crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10239         Use .S extension.
10240         Use $<.
10241         * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10242         (crtinitS.o): New rule.
10243         * config/ia64/vms-crtinit.S: New file.
10244         * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10245         * config/m32r/initfini.c: New file.
10246         * config/m32r/t-linux, config/m32r/t-m32r: New files.
10247         * config/m68k/crti.S, config/m68k/crtn.S: New files.
10248         * config/mcore/crti.S, config/mcore/crtn.S: New files.
10249         * config/mep/t-mep: New file.
10250         * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10251         * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10252         * config/mips/crti.S, config/mips/crtn.S: New files.
10253         * config/mips/t-crtstuff: New file.
10254         * config/mmix/crti.S, config/mmix/crtn.S: New files.
10255         * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10256         (CUSTOM_CRTIN): Set.
10257         ($(T)crti.o, $(T)crtn.o): Remove $(T),
10258         dependencies.
10259         Use $(srcdir) to refer to crti.S, crtn.S.
10260         Use .S extension, $<.
10261         * config/moxie/crti.asm: Rename to ...
10262         * config/moxie/crti.S: ... this.
10263         * config/moxie/crtn.asm: Rename to ...
10264         * config/moxie/crtn.S: ... this.
10265         * config/moxie/t-moxie: Remove.
10266         * config/pa/stublib.c: New file.
10267         * config/pa/t-stublib, config/pa/t-stublib64: New files.
10268         * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10269         * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10270         * config/rs6000/t-crtstuff: New file.
10271         * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10272         (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10273         (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10274         Make output file explicit.
10275         (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10276         Make output file explicit.
10277         (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10278         Make output file explicit.
10279         (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10280         Make output file explicit.
10281         * config/score/crti.S, config/score/crtn.S: New files.
10282         * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10283         * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10284         files.
10285         * config/sh/t-sh, config/sh/t-superh: New files.
10286         * config/sparc/t-linux64: New file.
10287         * config/spu/cache.S, config/spu/cachemgr.c: New files.
10288         * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10289         (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10290         (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10291         * config/t-crtin: Remove.
10292         * config/t-crtstuff-pic: New file.
10293         * config/t-sol2 (CUSTOM_CRTIN): Set.
10294         (crti.o, crtn.o): New rules.
10295         * config/vms/t-vms: New file.
10296         * config/vms/vms-ucrt0.c: New file.
10297         * config/xtensa/t-elf: New file.
10298
10299 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10300
10301         * Makefile.in (SHLIB_NM_FLAGS): Set.
10302         * mkmap-flat.awk, mkmap-symver.awk: New files.
10303         * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10304         exceptions.
10305         * configure: Regenerate.
10306         * config/libgcc-glibc.ver: New file.
10307         * config/libgcc-libsystem.ver: New file.
10308         * config/t-libunwind (SHLIB_LC): Set.
10309         * config/t-linux: New file.
10310         * config/t-slibgcc (INSTALL_SHLIB): New.
10311         (SHLIB_INSTALL): Use it.
10312         * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10313         to mkmap-symver.awk.
10314         (SHLIB_MAPFILES): Don't append, adapt pathname.
10315         (SHLIB_VERPFX): Set.
10316         * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10317         to mkmap-symver.awk.
10318         * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10319         config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10320         * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10321         * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10322         to mkmap-flat.awk.
10323         * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10324         * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10325         * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10326         * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10327         * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10328         * config/i386/libgcc-darwin.10.4.ver,
10329         config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10330         New files.
10331         * config/i386/t-darwin: Remove.
10332         * config/i386/t-darwin64: Likewise.
10333         * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10334         * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10335         config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10336         * config/i386/t-linux: New file.
10337         * config/i386/t-mingw32: New file.
10338         * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10339         * config/ia64/t-glibc: Rename to ...
10340         * config/ia64/t-linux: ... this.
10341         (SHLIB_MAPFILES): Set.
10342         * config/ia64/t-glibc-libunwind: Rename to ...
10343         * config/ia64/t-linux-libunwind: ... this.
10344         * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10345         * config/ia64/t-slibgcc-hpux: New file.
10346         * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10347         * config/m68k/t-slibgcc-elf-ver: New file.
10348         * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10349         * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10350         to mkmap-flat.awk.
10351         * config/pa/t-slibgcc-hpux: New file.
10352         * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10353         files.
10354         * config/rs6000/libgcc-darwin.10.4.ver,
10355         config/rs6000/libgcc-darwin.10.5.ver: New files.
10356         * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10357         config/rs6000/libgcc-glibc.ver.
10358         * config/rs6000/libgcc-ppc64.ver: Rename to
10359         config/rs6000/libgcc-ibm-ldouble.ver.
10360         * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10361         * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10362         * config/rs6000/t-ldbl128: Rename to ...
10363         * config/rs6000/t-linux: ... this.
10364         (SHLIB_MAPFILES): Adapt filename.
10365         * config/rs6000/t-slibgcc-aix: New file.
10366         * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10367         * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10368         libgcc-excl.ver, libgcc-glibc.ver.
10369         (SHLIB_LINK, SHLIB_INSTALL): Remove.
10370         * config/sparc/libgcc-glibc.ver: New file.
10371         * config/sparc/t-linux: New file.
10372         * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10373         * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10374         t-slibgcc-elf-ver to tmake_file.
10375         Add t-slibgcc-nolc-override to tmake_file for posix threads on
10376         *-*-freebsd[34].
10377         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10378         *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10379         t-slibgcc-elf-ver, t-linux to tmake_file.
10380         (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10381         tmake_file.
10382         (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10383         (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10384         (alpha*-dec-*vms*): Likewise.
10385         (arm*-*-freebsd*): Append to tmake_file.
10386         (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10387         (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10388         arm*-*-linux-*eabi.
10389         (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10390         tmake_file for arm*-*-symbianelf*.
10391         (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10392         (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10393         cris/t-linux.
10394         (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10395         (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10396         pa/t-slibgcc-dwarf-ver to tmake_file.
10397         (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10398         pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10399         (hppa*64*-*-hpux11*): Likewise.
10400         (hppa[12]*-*-hpux11*): Likewise.
10401         (x86_64-*-darwin*): Don't override tmake_file, but only keep
10402         i386/t-crtpc, i386/t-crtfm.
10403         (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10404         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10405         to tmake_file.
10406         Add i386/t-cygwin to tmake_file.
10407         Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10408         (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10409         Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10410         to tmake_file.
10411         Add i386/t-mingw32 to tmake_file.
10412         (x86_64-*-mingw*): Likewise.
10413         (ia64*-*-freebsd*): Append to tmake_file.
10414         (ia64*-*-linux*): Append to tmake_file.
10415         Replace ia64/t-glibc by ia64/t-linux.
10416         Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10417         system libunwind.
10418         (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10419         t-slibgcc-hpux to tmake_file.
10420         (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10421         (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10422         (m32rle-*-linux*): Likewise.
10423         (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10424         sjlj exceptions.
10425         (microblaze*-linux*): New case.
10426         Append to tmake_file, add t-slibgcc-nolc-override.
10427         (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10428         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10429         Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10430         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10431         rs6000/t-slibgcc-aix to tmake_file.
10432         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10433         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10434         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10435         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10436         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10437         (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10438         sh*-*-linux*.
10439         (sparc-*-linux*): Append to tmake_file for *-leon*.
10440         Add sparc/t-linux to tmake_file for non-Leon targets.
10441         (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10442         (tic6x-*-uclinux): New case.
10443         Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10444         (tic6x-*-*): Add c6x/t-elf to tmake_file.
10445         (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10446         (am33_2.0-*-linux*): Append to tmake_file.
10447         (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10448         (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10449         x86_64-*-kfreebsd*-gnu.
10450         Add i386/t-linux to tmake_file.
10451
10452 2011-10-28  Ian Lance Taylor  <iant@google.com>
10453
10454         * config/i386/morestack.S: Correct CFI information to do proper
10455         returns throughout function.  In 32-bit mode, save %ebx so that it
10456         is restored on unwind.
10457
10458 2011-10-25  Bernd Schmidt  <bernds@codesourcery.com>
10459
10460         * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10461         case where B3 isn't the return register.
10462
10463         * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10464         logic for doubleword pops.
10465
10466 2011-10-25  Andreas Tobler  <andreast@fgznet.ch>
10467
10468         * config/rs6000/t-freebsd: Add wildcard.
10469
10470 2011-10-21  Paul Brook  <paul@codesourcery.com>
10471
10472         * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10473
10474 2011-10-16  Uros Bizjak  <ubizjak@gmail.com>
10475             Eric Botcazou  <ebotcazou@adacore.com>
10476
10477         PR target/50737
10478         * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10479         fs->signal_frame to 1.
10480
10481 2011-10-07  Ian Lance Taylor  <iant@google.com>
10482
10483         * generic-morestack-thread.c: #include <errno.h>.
10484
10485 2011-10-07  Ian Lance Taylor  <iant@google.com>
10486
10487         PR target/46093
10488         * generic-morestack.c (__generic_morestack): Make sure the segment
10489         is large enough for both the stack frame and the copied
10490         parameters.
10491
10492 2011-10-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10493
10494         PR bootstrap/49804
10495         * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
10496         extra_parts.
10497
10498 2011-09-28  Nick Clifton  <nickc@redhat.com>
10499
10500         * config/rx/rx-lib.h: Always restrict doubles to the SF type when
10501         64-bit doubles are not enabled.
10502         * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
10503         and floatunsisf functions.
10504
10505 2011-09-13  Paul Brook  <paul@codesourcery.com>
10506
10507         * config.host (tic6x-*-*): Add c6x/t-c6x-elf.  Set unwind_header.
10508         * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
10509         * unwind-arm-common.inc: New file.
10510         * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
10511         * config/arm/unwind-arm.h: Use unwind-arm-common.h.
10512         (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
10513         * config/c6x/libunwind.S: New file.
10514         * config/c6x/pr-support.c: New file.
10515         * config/c6x/unwind-c6x.c: New file.
10516         * config/c6x/unwind-c6x.h: New file.
10517         * config/c6x/t-c6x-elf: New file.
10518
10519 2011-08-23  Uros Bizjak  <ubizjak@gmail.com>
10520
10521         * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
10522         (ASM_DIVZERO): Ditto.
10523         (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
10524
10525 2011-08-18  Richard Sandiford  <richard.sandiford@linaro.org>
10526
10527         * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
10528
10529 2011-08-17  Richard Sandiford  <richard.sandiford@linaro.org>
10530
10531         PR target/50090
10532         * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
10533         instead of an assembly one.
10534
10535 2011-08-12  Paolo Bonzini  <bonzini@gnu.org>
10536
10537         PR bootstrap/50047
10538         * Makefile.in (install-unwind_h): Create
10539         $(gcc_objdir)/include/unwind.h atomically.
10540
10541 2011-08-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10542
10543         * Makefile.in (install-unwind_h): Remove destination file first.
10544
10545 2011-08-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10546
10547         * sync.c: New file.
10548         * config/mips/t-mips16: New file.
10549         * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
10550         (mips*-*-linux*): Likewise.
10551         (mips*-sde-elf*): Likewise.
10552         (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
10553         mipsisa64-*-elf*, mipsisa64r2-*-elf*.
10554         Add mips/t-mips16 to tmake_file.
10555         (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
10556         (mips-*-elf*): Likewise.
10557         (mips64-*-elf*): Likewise.
10558         (mips64orion-*-elf*): Likewise.
10559         (mips*-*-rtems*): Likewise.
10560         (mipstx39-*-elf*): Likewise.
10561         * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10562         ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10563         LIBGCC_SYNC_CFLAGS.
10564         Use $(srcdir) to refer to sync.c.
10565         Use $<.
10566         ($(libgcc-sync-funcs-o)): Likewise.
10567         ($(libgcc-sync-size-funcs-s-o)): Likewise.
10568         ($(libgcc-sync-funcs-s-o)): Likewise.
10569
10570 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
10571
10572         * config.host (ia64*-*-linux*): Move ia64/t-glibc after
10573         t-libunwind.
10574
10575 2011-08-08  H.J. Lu  <hongjiu.lu@intel.com>
10576
10577         PR other/48007
10578         * config/i386/value-unwind.h: New.
10579
10580 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
10581
10582         * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10583         (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10584         Add to tmake_file rather than overriding it.
10585
10586 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10587
10588         * config/t-softfp: Remove.
10589         * soft-fp: Moved from ../gcc/config.
10590         * soft-fp/README: Remove t-softfp reference.
10591         * soft-fp/t-softfp: Move to config/t-softfp.
10592         (softfp_machine_header): Remove.
10593         (softfp_file_list): Remove config subdir.
10594         (soft-fp-objects): New variable.
10595         ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10596         (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10597         (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10598         * config/t-softfp-excl: New file.
10599         * config/t-softfp-sfdf: New file.
10600         * config/t-softfp-tf: New file.
10601         * config/no-sfp-machine.h: New file.
10602         * config/arm/sfp-machine.h: New file.
10603         * config/arm/t-softfp: New file.
10604         * config/c6x/sfp-machine.h: New file.
10605         * config/i386/32/t-fprules-softfp: Rename to ...
10606         * config/i386/32/t-softfp: ... this.
10607         (tifunctions, LIB2ADD): Remove.
10608         (softfp_int_modes): Override.
10609         * config/i386/64/t-softfp-compat (tf-functions): Remove config
10610         subdir.
10611         * config/i386/64/eqtf2.c: Likewise.
10612         * config/i386/64/getf2.c: Likewise.
10613         * config/i386/64/letf2.c: Likewise.
10614         * config/ia64/sft-machine.h: New file.
10615         * config/ia64/t-fprules-softfp: Rename to ...
10616         * config/ia64/t-softfp: ... this.
10617         * config/lm32/sfp-machine.h: New file.
10618         * config/moxie/t-moxie-softfp: Remove.
10619         * config/rs6000/ibm-ldouble-format: New file.
10620         * config/rs6000/ibm-ldouble.c: New file.
10621         * config/rs6000/libgcc-ppc-glibc.ver: New file
10622         * config/rs6000/libgcc-ppc64.ver: New file
10623         * config/rs6000/sfp-machine.h: New file.
10624         * config/rs6000/t-freebsd: New file.
10625         * config/rs6000/t-ibm-ldouble: New file.
10626         * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10627         libgcc-ppc-glibc.ver.
10628         * config/rs6000/t-linux64: New file.
10629         * config/rs6000/t-ppccomm (LIB2ADD): Add
10630         $(srcdir)/config/rs6000/ibm-ldouble.c.
10631         * config/rs6000/t-ppccomm-ldbl: New file.
10632         * config/score/sfp-machine.h: New file.
10633         * config.host (sfp_machine_header): Explain.
10634         (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10635         t-softfp to tmake_file.
10636         (arm*-*-uclinux*): Likewise.
10637         (arm*-*-ecos-elf): Likewise.
10638         (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10639         (arm*-*-rtems*): Likewise.
10640         (arm*-*-elf): Likewise.
10641         (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10642         in tmake_file.
10643         Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10644         (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10645         (lm32-*-uclinux*): Likewise.
10646         (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10647         t-softfp-excl, t-softfp.
10648         (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10649         (powerpc64-*-darwin*): Likewise.
10650         (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10651         to tmake_file.
10652         (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10653         tmake_file.
10654         (powerpc-*-eabisim*): Likewise.
10655         (powerpc-*-elf*): Likewise.
10656         (powerpc-*-eabialtivec*): Likewise.
10657         (powerpc-xilinx-eabi*): Likewise.
10658         (powerpc-*-rtems*): Likewise.
10659         (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10660         t-softfp-excl, t-softfp to tmake_file.
10661         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10662         rs6000/t-ppccomm-ldbl to tmake_file.
10663         (powerpcle-*-elf*): Likewise.
10664         (powerpcle-*-eabisim*): Likewise.
10665         (powerpcle-*-eabi*): Likewise.
10666         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10667         rs6000/t-ibm-ldouble to tmake_file.
10668         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10669         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10670         (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10671         (tic6x-*-*): Likewise.
10672         (i[34567]86-*-darwin*, x86_64-*-darwin*,
10673         i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10674         i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10675         i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10676         i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10677         i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10678         t-softfp to tmake_file.
10679         * configure.ac (sfp_machine_header): Provide default if unset.
10680         Substitute.
10681         Link sfp-machine.h to config/$sfp_machine_header.
10682         * configure: Regenerate.
10683
10684 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10685
10686         * Makefile.in (double_type_size, long_double_type_size): Set.
10687         Remove $(fpbit-in-libgcc) support.
10688         (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10689         (fpbit-src): New variable.
10690         ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10691         Compile with -DFLOAT $(FPBIT_CFLAGS).
10692         Use $<.
10693         ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10694         Compile with $(FPBIT_CFLAGS).
10695         Use $<.
10696         ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10697         Compile with -DFLOAT $(TPBIT_CFLAGS).
10698         Use $<.
10699         * configure.ac (double_type_size, long_double_type_size):
10700         Determine and substitute.
10701         * configure: Regenerate.
10702         * fp-bit.c, fp-bit.h: New files.
10703         * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10704         * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10705         * config/mips/t-mips: New file.
10706         * config/mips/t-sdemtk: New file.
10707         * config/rs6000/ppc64-fp.c: New file.
10708         * config/rs6000/t-darwin (LIB2ADD): Add
10709         $(srcdir)/config/rs6000/ppc64-fp.c.
10710         * config/rs6000/t-ppc64-fp: New file.
10711         * config/rx/rx-lib.h: New file.
10712         * config/rx/t-rx (FPBIT): Set to true.
10713         ($(gcc_objdir)/fp-bit.c): Remove.
10714         (DPBIT): Set to true only with -m64bit-doubles.
10715         ($(gcc_objdir)/dp-bit.c): Remove.
10716         * config/sparc/t-softfp: Remove.
10717         * config/spu/t-elf: New file.
10718         * config/t-fdpbit, config/t-fpbit: New files.
10719         * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10720         (mips*-*-*): Likewise.
10721         (arm-wrs-vxworks): Likewise.
10722         (arm*-*-freebsd*): Likewise.
10723         (avr-*-rtems*): Add t-fpbit to tmake_file.
10724         (avr-*-*): Likewise.
10725         (bfin*-elf*): Add t-fdpbit to tmake_file.
10726         (bfin*-uclinux*): Likewise.
10727         (bfin*-linux-uclibc*): Likewise.
10728         (bfin*-rtems*): New case.
10729         Add t-fdpbit to tmake_file.
10730         (bfin*-*): Add t-fdpbit to tmake_file.
10731         (crisv32-*-elf): Likewise.
10732         (cris-*-linux*): Likewise.
10733         (fr30-*-elf): Likewise.
10734         (frv-*-elf, frv-*-*linux*): Likewise.
10735         (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10736         (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10737         (m32r-*-elf*): Likewise.
10738         (m32rle-*-elf*): Likewise.
10739         (m32r-*-linux*): Likewise.
10740         (m32rle-*-linux*): Likewise.
10741         (mcore-*-elf): Add t-fdpbit to tmake_file.
10742         (microblaze*-*-*): Likewise.
10743         (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10744         (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10745         (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10746         Fix typo.
10747         Add mips/t-tpbit to tmake-file.
10748         (mips*-*-linux*): Fix typo.
10749         (mips*-sde-elf*): New case
10750         Add mips/t-sdemtk unless using newlib.
10751         (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10752         (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10753         (mn10300-*-*): Likewise.
10754         (pdp11-*-*): Likewise.
10755         (picochip-*-*): Add t-fpbit to tmake_file.
10756         (powerpc-*-eabisimaltivec*): Likewise.
10757         (powerpc-*-eabisim*): Likewise.
10758         (powerpc-*-elf*): Likewise.
10759         (powerpc-*-eabialtivec*): Likewise.
10760         (powerpc-xilinx-eabi*): New case.
10761         Add t-fdpbit to tmake_file.
10762         (powerpc-*-eabi*):  Add t-fdpbit to tmake_file.
10763         (powerpc-*-rtems*): Likewise.
10764         (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10765         tmake_file.
10766         (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10767         tmake_file.
10768         (powerpc-*-lynxos*): Likewise.
10769         (powerpcle-*-elf*): Likewise.
10770         (powerpcle-*-eabisim*): Likewise.
10771         (powerpcle-*-eabi*): Likewise.
10772         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10773         t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10774         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10775         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10776         (rx-*-elf): Add t-fdpbit to tmake_file.
10777         (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10778         (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10779         (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10780         (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10781         sh*-*-netbsd*.
10782         (sh-*-rtems*): Add t-fdpbit to tmake_file.
10783         (sh-wrs-vxworks): Likewise.
10784         (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10785         (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10786         (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10787         (sparc64-*-rtems*): ... new case.
10788         (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10789         (spu-*-elf*): Likewise.
10790         Add spu/t-elf to tmake_file.
10791         (v850*-*-*): Add t-fdpbit to tmake_file.
10792         (xstormy16-*-elf): Likewise.
10793         (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10794         (mep*-*-*): Likewise.
10795
10796 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10797
10798         * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10799         variables.
10800         (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10801         (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10802         (install-unwind_h): New target.
10803         (all): Depend on it.
10804         * config.host (unwind_header): New variable.
10805         (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10806         (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10807         *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10808         (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10809         (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10810         Set unwind_header.
10811         (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10812         Set unwind_header.
10813         (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10814         arm*-*-eabi*.
10815         Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10816         Set unwind_header.
10817         (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10818         (ia64*-*-freebsd*): Likewise.
10819         (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10820         tmake_file.
10821         Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10822         $with_system_libunwind.
10823         (ia64*-*-hpux*): Set tmake_file.
10824         (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10825         (picochip-*-*): Set tmake_file.
10826         (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10827         md_unwind_header.
10828         (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10829         (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10830         (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10831         (xtensa*-*-elf*): Set tmake_file.
10832         (xtensa*-*-linux*): Likewise.
10833         * configure.ac: Include ../config/unwind_ipinfo.m4.
10834         Call GCC_CHECK_UNWIND_GETIPINFO.
10835         Link unwind.h to $unwind_header.
10836         * configure: Regenerate.
10837         * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10838         unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10839         unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10840         unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10841         * config/unwind-dw2-fde-darwin.c: New file.
10842         * config/arm/libunwind.S, config/arm/pr-support.c,
10843         config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10844         config/arm/unwind-arm.h,: New files.
10845         * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10846         config/ia64/t-eh-ia64, config/ia64/t-glibc,
10847         config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10848         config/ia64/t-vms, config/ia64/unwind-ia64.c,
10849         config/ia64/unwind-ia64.h: New files.
10850         * config/picochip/t-picochip: New file.
10851         * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10852         files.
10853         * config/rs6000/t-darwin (LIB2ADDEH): Set.
10854         * config/s390/t-tpf (LIB2ADDEH): Remove.
10855         * config/t-darwin (LIB2ADDEH): Set.
10856         * config/t-eh-dw2-dip: New file.
10857         * config/t-libunwind, config/t-libunwind-elf: New files.
10858         * config/t-sol2 (LIB2ADDEH): Remove.
10859         * config/xtensa/t-xtensa: New file.
10860
10861 2011-08-02  H.J. Lu  <hongjiu.lu@intel.com>
10862
10863         * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10864         (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10865         long long to check rt_sigreturn syscall.
10866
10867 2011-08-02  Alan Modra  <amodra@gmail.com>
10868
10869         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10870         Restore for indirect call bcrtl from correct stack slot, and only
10871         if cfa+40 isn't valid.
10872
10873 2011-08-01  Julian Brown  <julian@codesourcery.com>
10874
10875         * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10876         (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10877         * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10878
10879 2011-08-01  Julian Brown  <julian@codesourcery.com>
10880
10881         * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10882         (libgcc-std.ver.in): Use above.
10883         * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10884         LIBGCC2_GNU_PREFIX is defined.  Use instead of LIBGCC2_GNU_PREFIX
10885         throughout file.
10886         * config/t-fixedpoint-gnu-prefix: New file.
10887         * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10888         * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10889         instead of __PFX__.
10890
10891 2011-07-28  H.J. Lu  <hongjiu.lu@intel.com>
10892
10893         * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10894         Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10895         for x86-64.  Properly check __x86_64__ and __LP64__.
10896
10897 2010-07-28  H.J. Lu  <hongjiu.lu@intel.com>
10898
10899         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10900         version.
10901         (_FP_WS_TYPE): Likewise.
10902         (_FP_I_TYPE): Likewise.
10903
10904 2011-07-28  Alan Modra  <amodra@gmail.com>
10905
10906         * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10907         Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10908         in a plt call stub.  Do restore r2 if stopped on bctrl.
10909
10910 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10911
10912         * config.host (i[3456x]86-*-netware*): Remove.
10913         * config/i386/netware-crt0.c, config/i386/t-nwld,
10914         config/i386/t-slibgcc-nwld: Remove.
10915
10916 2011-07-15  Bernd Schmidt  <bernds@codesourcery.com>
10917
10918         * config.host: Handle tic6x-*-*.
10919         * config/c6x/c6x-abi.h: New file.
10920
10921 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10922
10923         * config/i386/crtprec.c: New file.
10924         * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10925         * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10926         Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10927         (x86_64-*-darwin*): Likewise.
10928         (i[34567]86-*-solaris2*: Likewise.
10929
10930 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10931
10932         * config/alpha/crtfastmath.c: New file.
10933         * config/i386/crtfastmath.c: New file.
10934         * config/ia64/crtfastmath.c: New file.
10935         * config/mips/crtfastmath.c: New file.
10936         * config/sparc/crtfastmath.c: New file.
10937
10938         * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10939         crtfastmath.c.
10940         Add -frandom-seed=gcc-crtfastmath.
10941         * config/alpha/t-crtfm: Remove.
10942         * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10943         * config/ia64/t-ia64 (crtfastmath.o): Remove.
10944
10945         * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10946         (alpha*-dec-osf5.1*): Likewise.
10947         (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10948         Add crtfastmath.o to extra_parts.
10949         (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10950         Add crtfastmath.o to extra_parts.
10951         (x86_64-*-darwin*): Likewise.
10952         (x86_64-*-mingw*): Likewise.
10953         (ia64*-*-elf*): Add t-crtfm to tmake_file.
10954         (ia64*-*-freebsd*): Likewise.
10955         (ia64*-*-linux*): Likewise.
10956         (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10957         Add crtfastmath.o to extra_parts.
10958
10959 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10960
10961         * config/darwin-crt3.o: New file.
10962         * config/rs6000/darwin-crt2.c: New file.
10963         * config/t-darwin: New file.
10964         * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10965         (crt2.o): New rule.
10966         * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10967         (powerpc-*-darwin*): Add crt2.o to extra_parts.
10968         (powerpc64-*-darwin*): Likewise.
10969
10970 2011-07-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10971
10972         * config/i386/netware-crt0.c: New file.
10973         * config/i386/t-nwld: Rename to ...
10974         * config/i386/t-slibgcc-nwld: ... this.
10975         * config/i386/t-nwld: New file.
10976         * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10977         tmake_file.
10978         Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10979         extra_parts.
10980
10981 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10982
10983         * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10984         i386/t-crtstuff.
10985         * configure: Regenerate.
10986
10987 2011-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
10988
10989         * dfp-bit.c, dfp-bit.h: New files.
10990         * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10991         variables.
10992         ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10993         ($(d64pbit-o)): Likewise.
10994         ($(d128pbit-o)): Likewise.
10995         * config/t-dfprules: New file.
10996         * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10997         (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10998         i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10999         (x86_64-*-linux*): Likewise.
11000         (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11001         (i[34567]86-*-cygwin*): Likewise.
11002         (i[34567]86-*-mingw*,  x86_64-*-mingw*): Likewise.
11003         (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11004
11005 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11006
11007         * Makfile.in (LIBGCOV): New variable.
11008         ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11009         * libgcov.c: New file.
11010
11011 2011-07-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11012
11013         * fixed-bit.c, fixed-bit.h: New files.
11014         * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11015         refer to fixed-bit.c.
11016
11017 2011-07-07  Joseph Myers  <joseph@codesourcery.com>
11018
11019         * config.host (*local*): Remove.
11020
11021 2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11022
11023         PR target/39150
11024         * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11025         like i?86-*-solaris2.1[0-9]*.
11026         (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11027         * configure.ac (i?86-*-solaris2*): Likewise.
11028         * configure: Regenerate.
11029
11030 2011-07-06  Thomas Schwinge  <thomas@schwinge.name>
11031
11032         * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11033         (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11034         md_unwind_header by splitting out of...
11035         (i[34567]86-*-linux*): ... this.
11036         * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11037         Remove md_unwind_header by splitting out of...
11038         (x86_64-*-linux*): ... this.
11039
11040 2011-07-04  Georg-Johann Lay  <avr@gjlay.de>
11041
11042         * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11043
11044 2011-06-28  Nick Clifton  <nickc@redhat.com>
11045
11046         * config.host: Recognize all V850 variants.
11047
11048 2011-06-22  Uros Bizjak  <ubizjak@gmail.com>
11049
11050         * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11051
11052 2011-06-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11053
11054         * shared-object.mk (c_flags-$o): Save c_flags.
11055         ($(base)$(objext)): Use it.
11056         ($(base)_s$(objext)): Likewise.
11057
11058 2011-06-21  Bernd Schmidt  <bernds@codesourcery.com>
11059
11060         * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11061         * libgcc-std.ver.in (GCC_4.7.0): New section.
11062
11063 2011-06-16  Georg-Johann Lay  <avr@gjlay.de>
11064
11065         PR target/49313
11066         PR target/29524
11067         * config/avr/t-avr: Fix line endings.
11068         (intfuncs16): Remove _ffsXX2,  _clzXX2, _ctzXX2, _popcountXX2,
11069         _parityXX2.
11070
11071 2011-06-14  Olivier Hainque  <hainque@adacore.com>
11072             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11073
11074         * config/mips/irix6-unwind.h: New file.
11075         * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11076
11077 2011-06-10  Eric Botcazou  <ebotcazou@adacore.com>
11078
11079         * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11080         (sparc64_fallback_frame_state): Use it.
11081         (sparc64_frob_update_context): Further adjust context.
11082         * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11083         * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11084         * config/sparc/sol2-cn.S: Likewise.
11085
11086 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11087
11088         * enable-execute-stack-empty.c: New file.
11089         * enable-execute-stack-mprotect.c: New file.
11090         * config/i386/enable-execute-stack-mingw32.c: New file.
11091         * config.host (enable_execute_stack): New variable.
11092         Select appropriate variants.
11093         * configure.ac: Link enable-execute-stack.c to
11094         $enable_execute_stack.
11095         * configure: Regenerate.
11096         * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11097         (lib2funcs): Remove _enable_execute_stack.
11098
11099 2011-06-09  David S. Miller  <davem@davemloft.net>
11100             Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11101
11102         * config.host (sparc-*-linux*): Correct md_unwind_header
11103         filename.
11104         (s390x-ibm-tpf*): Fix typo.
11105
11106 2011-06-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11107
11108         * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11109         Add crtfastmath.o to extra_parts.
11110         (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11111         mips/t-crtfm.
11112         * config/mips/t-crtfm: Remove.
11113
11114 2011-06-04  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
11115
11116         * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11117
11118 2011-06-04  Kaz Kojima  <kkojima@gcc.gnu.org>
11119
11120         * config.host (sh*-*-linux*): Fix typo.
11121
11122 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11123
11124         * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11125         * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11126         * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11127         * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11128         * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11129         * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11130         * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11131         Wrap in !__MINGW64__.
11132         * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11133         * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11134         * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11135         * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11136         * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11137         * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11138         * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11139         Wrap in !__LP64__.
11140         * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11141         * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11142         * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11143         * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11144         * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11145         * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11146         * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11147         * config/no-unwind.h: New file.
11148         * config.host (md_unwind_header): Document.
11149         Define.
11150         (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11151         alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11152         hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11153         hppa[12]*-*-hpux11*): Set md_unwind_header.
11154         (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11155         Set md_unwind_header.
11156         (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11157         (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11158         (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11159         m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11160         powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11161         s390x-*-linux*,  s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11162         sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11163         md_unwind_header.
11164         * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11165         * configure: Regenerate.
11166
11167 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11168
11169         * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11170         Set tmake_file, extra_parts.
11171         * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11172         Remove O32 support.
11173         * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11174         Remove O32 support.
11175         * config/mips/t-irix6: New file.
11176         * config/mips/t-slibgcc-irix: New file.
11177
11178 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11179
11180         * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11181         * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11182
11183 2011-06-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11184
11185         * configure.ac (target_thread_file): Determine thread model.
11186         * configure: Regenerate.
11187         * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11188         * config/alpha/t-alpha: New file.
11189         * config/alpha/t-crtfm: Use $<.
11190         * config/alpha/t-ieee: New file.
11191         * config/alpha/t-osf-pthread: New file.
11192         * config/alpha/t-slibgcc-osf: New file.
11193         * config/alpha/libgcc-osf5.ver: New file.
11194
11195 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11196
11197         * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11198         tmake_file.
11199         Add crtfastmath.o to extra_parts.
11200
11201 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11202
11203         * config/gmon-sol2.c: Reindent.
11204         Cleanup comments.
11205         Remove, correct casts.
11206         Use STDERR_FILENO, NULL.
11207         (BASEADDRESS): Remove.
11208         (minbrk): Remove.
11209         (errno, sbrk): Remove declarations.
11210         (monstartup) [hp300]: Remove.
11211         (mcount): Remove.
11212
11213 2011-06-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11214
11215         * Makefile.in (cpu_type): Define.
11216         * config.host (i[34567]86-*-rtems*): Handle it.
11217         (i[34567]86-*-solaris2*): Move body ...
11218         (*-*-solaris2*): ... here.
11219         New case, generalize.
11220         (sparc-*-elf*): Handle it.
11221         (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11222         (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11223         (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11224         Fold into ...
11225         (sparc*-*-solaris2*): ... this.
11226         New case.
11227         (sparc64-*-elf*): Handle it.
11228         * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11229         Merge ../gcc/config/i386/gmon-sol2.c.
11230         * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11231         Use C comments.
11232         Merge ../gcc/config/i386/sol2-gc1.asm.
11233         * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11234         Use C comments.
11235         * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11236         Use C comments.
11237         * config/i386/t-crtfm (crtfastmath.o): Use $<.
11238         * config/i386/t-crtstuff: New file.
11239         * config/i386/t-softfp: New file.
11240         * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11241         $(T)crti.o, $(T)crtn.o): Remove.
11242         (gcrt1.o): New rule.
11243         (TARGET_LIBGCC2_CFLAGS): Remove.
11244         * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11245         * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11246         * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11247         * config/sparc/t-sol2: New file.
11248         * config/sparc/t-crtfm: Move to ...
11249         * config/t-crtfm: ... this.
11250         Use $(cpu_type), $<.
11251         * config/t-crtin: New file.
11252         * config/sparc/t-softfp: New file.
11253         * config/sparc/t-softmul: New file.
11254         * config/t-rtems: New file.
11255         * config/t-slibgcc: New file.
11256         * config/t-slibgcc-elf-ver: New file.
11257         * config/t-slibgcc-gld: New file.
11258         * config/t-slibgcc-sld: New file.
11259         * config/t-sol2: New file.
11260         * configure.ac: Include ../config/lib-ld.m4.
11261         Call AC_LIB_PROG_LD_GNU.
11262         Substitute cpu_type.
11263         * configure: Regenerate.
11264
11265 2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
11266
11267         PR bootstrap/49173
11268         * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11269         libgcc-std.ver in the build directory.
11270         * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11271         * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11272
11273 2011-05-25  Bernd Schmidt  <bernds@codesourcery.com>
11274
11275         * libgcc-std.ver.in: New file.
11276         * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11277         variables.
11278         (libgcc-std.ver): New rule.
11279         * config/t-gnu-prefix: New file.
11280
11281 2011-05-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11282
11283         * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11284
11285 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
11286
11287         * config/i386/darwin-lib.h: New file.
11288
11289 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
11290
11291         * config/arm/symbian-lib.h: New.
11292
11293 2011-05-04  Chris Demetriou  <cgd@google.com>
11294
11295         * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11296         (__x86.get_pc_thunk.bx): ...this.
11297         (__morestack): Adjust for rename, remove undef of __i686.
11298
11299 2011-05-03  Chris Demetriou  <cgd@google.com>
11300
11301         * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11302
11303 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
11304
11305         * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11306         arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11307         m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11308         powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11309         sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11310         Remove cases.
11311
11312 2011-03-14  Andreas Tobler  <andreast@fgznet.ch>
11313
11314         * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11315         Adjust copyright year.
11316
11317 2011-03-07  Ian Lance Taylor  <iant@google.com>
11318
11319         * generic-morestack.c (__splitstack_find): Adjust returned stack
11320         pointer to include all registers pushed by __morestack.
11321
11322 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
11323
11324         PR target/40125
11325         * configure.ac: Call ACX_NONCANONICAL_TARGET.
11326         (toolexecdir): Calculate and AC_SUBST.
11327         (toolexeclibdir): Likewise.
11328         * Makefile.in (target_noncanonical): Import.
11329         (toolexecdir): Likewise.
11330         (toolexeclibdir): Likewise.
11331         * configure: Regenerate.
11332
11333 2010-12-13  Nathan Froyd  <froydnj@codesourcery.com>
11334
11335         PR target/46040
11336         * config/arm/bpabi.h: Rename to...
11337         * config/arm/bpabi-lib.h: ...this.
11338
11339 2010-12-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11340
11341         * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11342         appropriate.
11343         * configure: Regenerate.
11344
11345 2010-11-24  Nathan Froyd  <froydnj@codesourcery.com>
11346
11347         * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11348         __FLOAT_WORD_ORDER__.
11349         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11350         Delete.
11351
11352 2010-11-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11353
11354         PR other/46202
11355         * Makefile.in (install-strip): New phony target.
11356
11357 2010-11-07  Ian Lance Taylor  <iant@google.com>
11358
11359         PR target/46089
11360         * config/i386/morestack.S (__morestack_large_model): New
11361         function.
11362
11363 2010-10-23  Nathan Froyd  <froydnj@codesourcery.com>
11364
11365         * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11366         Delete.
11367         (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11368
11369 2010-10-14  Nathan Froyd  <froydnj@codesourcery.com>
11370
11371         * config/arm/bpabi.h: New file.
11372         * config/frv/frv-abi.h: New file.
11373
11374 2010-10-01  Ian Lance Taylor  <iant@google.com>
11375
11376         * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11377         * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11378
11379 2010-10-01  H.J. Lu  <hongjiu.lu@intel.com>
11380
11381         PR target/45858
11382         * config.host: Add the missing `$'.
11383
11384 2010-09-30  Michael Eager  <eager@eagercon.com>
11385
11386         * config.host: Add microblaze*-*-*.
11387         * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11388         muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11389         udivsi3.asm,umodsi3.asm}:  New.
11390
11391 2010-09-28  Ian Lance Taylor  <iant@google.com>
11392
11393         * configure.ac: Adjust CFI test to test assembler directly rather
11394         than checking gcc preprocessor macro.
11395         * configure: Rebuild.
11396
11397 2010-09-27  Ian Lance Taylor  <iant@google.com>
11398
11399         * configure.ac: Test whether assembler supports CFI directives.
11400         * config.host: Only add t-stack and i386/t-stack-i386 to
11401         tmake_file if libgcc_cv_cfi is "yes".
11402         * configure: Rebuild.
11403
11404 2010-09-27  Ian Lance Taylor  <iant@google.com>
11405
11406         * generic-morestack.h: New file.
11407         * generic-morestack.c: New file.
11408         * generic-morestack-thread.c: New file.
11409         * config/i386/morestack.S: New file.
11410         * config/t-stack: New file.
11411         * config/i386/t-stack-i386: New file.
11412         * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11413         i386/t-stack-i386 to tmake_file.
11414
11415 2010-09-21  Iain Sandoe  <iains@gcc.gnu.org>
11416
11417         * Makefile.in (libgcc-extra-parts):  Check for static archives and
11418         invoke ranlib after installing them.
11419         (gcc-extra-parts): Likewise.
11420         (install-leaf): Likewise.
11421
11422 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
11423
11424         * configure: Regenerated.
11425
11426 2010-09-10  Kai Tietz  <kai.tietz@onevision.com>
11427
11428         * configure: Regenerated.
11429
11430 2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
11431             Andrew Pinski  <pinskia@gmail.com>
11432
11433         PR target/40959
11434         * config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.
11435
11436 2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11437
11438         PR target/45524
11439         * configure: Regenerated.
11440
11441 2010-09-06  Andreas Schwab  <schwab@redhat.com>
11442
11443         * configure: Regenerate.
11444
11445 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
11446
11447         * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11448         64bit targets.
11449         (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11450         for 64bit targets.
11451
11452 2010-09-03  Uros Bizjak  <ubizjak@gmail.com>
11453             Iain Sandoe  <iains@gcc.gnu.org>
11454
11455         PR target/45476
11456         * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11457         LIB2FUNCS_EXCLUDE functions.
11458
11459 2010-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11460
11461         * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11462         Include dfp.m4.
11463         * configure: Regenerate.
11464
11465 2010-09-01  Uros Bizjak  <ubizjak@gmail.com>
11466
11467         * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11468         i386/t-freebsd to tmake_file.
11469         * config/i386/t-freebsd: New file.
11470         * config/i386/libgcc-bsd.ver: New file.
11471
11472 2010-07-23  Nathan Froyd  <froydnj@codesourcery.com>
11473
11474         * config.host (powerpc*-eabispe*): Set tmake_file.
11475         (powerpc*-eabi*): Likewise.
11476         * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11477         crtbeginS, crtendS, crtbeginT.
11478
11479 2010-06-12  Kazu Hirata  <kazu@codesourcery.com>
11480
11481         * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11482         to tmake_file.  Add crtfastmath.o to extra_parts.
11483         * config/mips/t-crtfm: New.
11484
11485 2010-05-19  Joel Sherrill  <joel.sherrill@oarcorp.com>
11486
11487         * config.host (sparc64-*-rtems*): New target.
11488
11489 2010-05-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11490
11491         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11492         assembler syntax.
11493
11494 2010-04-15  Thomas Schwinge  <tschwinge@gnu.org>
11495
11496         * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
11497
11498 2010-04-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11499
11500         * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
11501         alpha-dec-osf5.0* support.
11502
11503 2010-04-01  Ralf Corsépius  <ralf.corsepius@rtems.org>
11504
11505         * config.host: Add lm32-*-rtems*.
11506
11507 2010-03-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11508             Uros Bizjak  <ubizjak@gmail.com>
11509
11510         PR target/39048
11511         * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
11512         like other remaining 32-bit x86 OSes.
11513         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11514         assembler syntax.
11515         * config/i386/libgcc-sol2.ver: New file.
11516         * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
11517
11518 2010-03-30  Jack Howarth  <howarth@bromo.med.uc.edu>
11519
11520         PR c/43553
11521         * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
11522         * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
11523         is used and substitute set_use_emutls.
11524         * configure: Regenerated.
11525
11526 2010-03-30  Tarik Graba  <tarik.graba@telecom-paristech.fr>
11527
11528         * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
11529
11530 2010-03-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11531
11532         PR target/38085
11533         * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
11534         MULTILIB_CFLAGS.
11535         ($(T)gcrt1.o): Likewise.
11536         ($(T)crt1.o): Likewise.
11537         ($(T)crti.o): Likewise.
11538         ($(T)crtn.o): Likewise.
11539
11540 2010-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11541
11542         PR other/42980
11543         * Makefile.in (install): Use $(MAKE) string in rule, for
11544         parallel make.
11545
11546 2010-02-22  Hans-Peter Nilsson  <hp@bitrange.com>
11547
11548         Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
11549         * config/mmix/t-mmix: New file.
11550         * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
11551
11552 2010-02-02  Jack Howarth  <howarth@bromo.med.uc.edu>
11553
11554         PR java/41991
11555         * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
11556         SHLIB_MAPFILES.
11557
11558 2010-01-04  Anthony Green  <green@moxielogic.com>
11559
11560         * config/moxie/crti.asm, config/moxie/crtn.asm,
11561         config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11562         config/moxie/t-moxie: New files.
11563         * config.host: Add t-moxie-softfp reference.
11564
11565 2009-11-18  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>
11566
11567         PR other/39888
11568         * config/t-slibgcc-darwin: Fix embedded rpaths for
11569         --enable-version-specific-runtime-libs, build extension stub
11570         libs exposing features available from current libgcc_s.
11571
11572 2009-11-11  Jon Beniston  <jon@beniston.com>
11573
11574         * config.host: Add lm32 targets.
11575         * config/lm32: New directory.
11576         * config/lm32/libgcc_lm32.h: New file.
11577         * config/lm32/_mulsi3.c: New file.
11578         * config/lm32/_udivmodsi4.c: New file.
11579         * config/lm32/_divsi3.c: New file.
11580         * config/lm32/_modsi3.c: New file.
11581         * config/lm32/_udivsi3.c: New file.
11582         * config/lm32/_umodsi3.c: New file.
11583         * config/lm32/_lshrsi3.S: New file.
11584         * config/lm32/_ashrsi3.S: New file.
11585         * config/lm32/_ashlsi3.S: New file.
11586         * config/lm32/crti.S: New file.
11587         * config/lm32/crtn.S: New file.
11588         * config/lm32/t-lm32: New file.
11589         * config/lm32/t-elf: New file.
11590         * config/lm32/t-uclinux: New file.
11591
11592 2009-10-26  Nick Clifton  <nickc@redhat.com>
11593
11594         * config.host: Add support for RX target.
11595         * config/rx: New directory.
11596         * config/rx/rx-abi-functions.c: New file. Supplementary
11597         functions for libgcc to support the RX ABI.
11598         * config/rx/rx-abi.h: New file.  Supplementary header file for
11599         libgcc RX ABI functions.
11600         * config/rx/t-rx: New file: Makefile fragment for building
11601         libgcc for the RX.
11602
11603 2009-10-09  Uros Bizjak  <ubizjak@gmail.com>
11604
11605         * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11606         constraint of y0 to "g".
11607
11608 2009-10-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11609
11610         * config.host: Include the s390 makefile fragments.
11611         * config/s390/32/_fixdfdi.c: New file.
11612         * config/s390/32/_fixsfdi.c: New file.
11613         * config/s390/32/_fixtfdi.c: New file.
11614         * config/s390/32/_fixunsdfdi.c: New file.
11615         * config/s390/32/_fixunssfdi.c: New file.
11616         * config/s390/32/_fixunstfdi.c: New file.
11617         * config/s390/32/t-floattodi: New file.
11618         * config/s390/libgcc-glibc.ver: New file.
11619         * config/s390/t-crtstuff: New file.
11620         * config/s390/t-linux: New file.
11621         * config/s390/t-tpf: New file.
11622
11623 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11624
11625         * configure.ac (AC_PREREQ): Bump to 2.64.
11626
11627 2009-08-22  Kaz Kojima  <kkojima@gcc.gnu.org>
11628
11629         * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11630
11631 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11632
11633         * configure: Regenerate.
11634
11635 2009-08-09  Douglas B Rupp  <rupp@gnat.com>
11636
11637         * config.host (ia64-hp-*vms*): New target.
11638         (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11639         with ia64-hp-*vms*.
11640
11641 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
11642
11643         * configure.ac: Add snippet for maintainer-mode.
11644         * configure: Regenerate.
11645         * Makefile.in (AUTOCONF, configure_deps): New variables.
11646         ($(srcdir)/configure)): New rule, active only with maintainer
11647         mode turned on.
11648
11649 2009-06-23  DJ Delorie  <dj@redhat.com>
11650
11651         Add MeP port.
11652         * config.host: Add mep support.
11653
11654 2009-06-22  Kai Tietz  <kai.tietz@onevision.com>
11655
11656         * config.host: Add i386/${host_address}/t-fprules-softfp and
11657         t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
11658
11659         * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11660         for mingw targets.
11661         * config/i386/64/_multc3.c: Likewise.
11662         * config/i386/64/_powitf2.c: Likewise.
11663         * config/i386/64/eqtf2.c: Likewise.
11664         * config/i386/64/getf2.c: Likewise.
11665         * config/i386/64/letf2.c: Likewise.
11666         * config/i386/64/letf2.c: Likewise.
11667         * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11668         unsigned long long for x64 mingw targets.
11669         (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11670         (_FP_I_TYPE): Define as long long for x64 mingw target.
11671
11672 2009-06-10  Maciej W. Rozycki  <macro@linux-mips.org>
11673
11674         * config.host (vax-*-linux*): New.
11675
11676 2009-05-31  Anthony Green  <green@moxielogic.com>
11677
11678         * config.host: Add moxie support.
11679         * config/moxie/t-moxie: New file.
11680
11681 2009-05-29  David Billinghurst  <billingd@gcc.gnu.org>
11682
11683         * config.host: Add i386/${host_address}/t-fprules-softfp and
11684         t-softfp to tmake_file for i[34567]86-*-cygwin*.
11685
11686 2009-04-17  Aurelien Jarno  <aurelien@aurel32.net>
11687
11688         * config.host: Add i386/${host_address}/t-fprules-softfp to
11689         tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11690
11691 2009-04-09  Nick Clifton  <nickc@redhat.com>
11692
11693         * config/ia64/tf-signs.c: Change copyright header to refer to
11694         version 3 of the GNU General Public License with version 3.1
11695         of the GCC Runtime Library Exception and to point readers at
11696         the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11697         web page.
11698         * config/i386/32/tf-signs.c: Likewise.
11699         * config/libbid/_addsub_dd.c: Likewise.
11700         * config/libbid/_addsub_sd.c: Likewise.
11701         * config/libbid/_addsub_td.c: Likewise.
11702         * config/libbid/_dd_to_df.c: Likewise.
11703         * config/libbid/_dd_to_di.c: Likewise.
11704         * config/libbid/_dd_to_sd.c: Likewise.
11705         * config/libbid/_dd_to_sf.c: Likewise.
11706         * config/libbid/_dd_to_si.c: Likewise.
11707         * config/libbid/_dd_to_td.c: Likewise.
11708         * config/libbid/_dd_to_tf.c: Likewise.
11709         * config/libbid/_dd_to_udi.c: Likewise.
11710         * config/libbid/_dd_to_usi.c: Likewise.
11711         * config/libbid/_dd_to_xf.c: Likewise.
11712         * config/libbid/_df_to_dd.c: Likewise.
11713         * config/libbid/_df_to_sd.c: Likewise.
11714         * config/libbid/_df_to_td.c: Likewise.
11715         * config/libbid/_di_to_dd.c: Likewise.
11716         * config/libbid/_di_to_sd.c: Likewise.
11717         * config/libbid/_di_to_td.c: Likewise.
11718         * config/libbid/_div_dd.c: Likewise.
11719         * config/libbid/_div_sd.c: Likewise.
11720         * config/libbid/_div_td.c: Likewise.
11721         * config/libbid/_eq_dd.c: Likewise.
11722         * config/libbid/_eq_sd.c: Likewise.
11723         * config/libbid/_eq_td.c: Likewise.
11724         * config/libbid/_ge_dd.c: Likewise.
11725         * config/libbid/_ge_sd.c: Likewise.
11726         * config/libbid/_ge_td.c: Likewise.
11727         * config/libbid/_gt_dd.c: Likewise.
11728         * config/libbid/_gt_sd.c: Likewise.
11729         * config/libbid/_gt_td.c: Likewise.
11730         * config/libbid/_isinfd128.c: Likewise.
11731         * config/libbid/_isinfd32.c: Likewise.
11732         * config/libbid/_isinfd64.c: Likewise.
11733         * config/libbid/_le_dd.c: Likewise.
11734         * config/libbid/_le_sd.c: Likewise.
11735         * config/libbid/_le_td.c: Likewise.
11736         * config/libbid/_lt_dd.c: Likewise.
11737         * config/libbid/_lt_sd.c: Likewise.
11738         * config/libbid/_lt_td.c: Likewise.
11739         * config/libbid/_mul_dd.c: Likewise.
11740         * config/libbid/_mul_sd.c: Likewise.
11741         * config/libbid/_mul_td.c: Likewise.
11742         * config/libbid/_ne_dd.c: Likewise.
11743         * config/libbid/_ne_sd.c: Likewise.
11744         * config/libbid/_ne_td.c: Likewise.
11745         * config/libbid/_sd_to_dd.c: Likewise.
11746         * config/libbid/_sd_to_df.c: Likewise.
11747         * config/libbid/_sd_to_di.c: Likewise.
11748         * config/libbid/_sd_to_sf.c: Likewise.
11749         * config/libbid/_sd_to_si.c: Likewise.
11750         * config/libbid/_sd_to_td.c: Likewise.
11751         * config/libbid/_sd_to_tf.c: Likewise.
11752         * config/libbid/_sd_to_udi.c: Likewise.
11753         * config/libbid/_sd_to_usi.c: Likewise.
11754         * config/libbid/_sd_to_xf.c: Likewise.
11755         * config/libbid/_sf_to_dd.c: Likewise.
11756         * config/libbid/_sf_to_sd.c: Likewise.
11757         * config/libbid/_sf_to_td.c: Likewise.
11758         * config/libbid/_si_to_dd.c: Likewise.
11759         * config/libbid/_si_to_sd.c: Likewise.
11760         * config/libbid/_si_to_td.c: Likewise.
11761         * config/libbid/_td_to_dd.c: Likewise.
11762         * config/libbid/_td_to_df.c: Likewise.
11763         * config/libbid/_td_to_di.c: Likewise.
11764         * config/libbid/_td_to_sd.c: Likewise.
11765         * config/libbid/_td_to_sf.c: Likewise.
11766         * config/libbid/_td_to_si.c: Likewise.
11767         * config/libbid/_td_to_tf.c: Likewise.
11768         * config/libbid/_td_to_udi.c: Likewise.
11769         * config/libbid/_td_to_usi.c: Likewise.
11770         * config/libbid/_td_to_xf.c: Likewise.
11771         * config/libbid/_tf_to_dd.c: Likewise.
11772         * config/libbid/_tf_to_sd.c: Likewise.
11773         * config/libbid/_tf_to_td.c: Likewise.
11774         * config/libbid/_udi_to_dd.c: Likewise.
11775         * config/libbid/_udi_to_sd.c: Likewise.
11776         * config/libbid/_udi_to_td.c: Likewise.
11777         * config/libbid/_unord_dd.c: Likewise.
11778         * config/libbid/_unord_sd.c: Likewise.
11779         * config/libbid/_unord_td.c: Likewise.
11780         * config/libbid/_usi_to_dd.c: Likewise.
11781         * config/libbid/_usi_to_sd.c: Likewise.
11782         * config/libbid/_usi_to_td.c: Likewise.
11783         * config/libbid/_xf_to_dd.c: Likewise.
11784         * config/libbid/_xf_to_sd.c: Likewise.
11785         * config/libbid/_xf_to_td.c: Likewise.
11786         * config/libbid/bid128.c: Likewise.
11787         * config/libbid/bid128_2_str.h: Likewise.
11788         * config/libbid/bid128_2_str_macros.h: Likewise.
11789         * config/libbid/bid128_2_str_tables.c: Likewise.
11790         * config/libbid/bid128_add.c: Likewise.
11791         * config/libbid/bid128_compare.c: Likewise.
11792         * config/libbid/bid128_div.c: Likewise.
11793         * config/libbid/bid128_fma.c: Likewise.
11794         * config/libbid/bid128_logb.c: Likewise.
11795         * config/libbid/bid128_minmax.c: Likewise.
11796         * config/libbid/bid128_mul.c: Likewise.
11797         * config/libbid/bid128_next.c: Likewise.
11798         * config/libbid/bid128_noncomp.c: Likewise.
11799         * config/libbid/bid128_quantize.c: Likewise.
11800         * config/libbid/bid128_rem.c: Likewise.
11801         * config/libbid/bid128_round_integral.c: Likewise.
11802         * config/libbid/bid128_scalb.c: Likewise.
11803         * config/libbid/bid128_sqrt.c: Likewise.
11804         * config/libbid/bid128_string.c: Likewise.
11805         * config/libbid/bid128_to_int16.c: Likewise.
11806         * config/libbid/bid128_to_int32.c: Likewise.
11807         * config/libbid/bid128_to_int64.c: Likewise.
11808         * config/libbid/bid128_to_int8.c: Likewise.
11809         * config/libbid/bid128_to_uint16.c: Likewise.
11810         * config/libbid/bid128_to_uint32.c: Likewise.
11811         * config/libbid/bid128_to_uint64.c: Likewise.
11812         * config/libbid/bid128_to_uint8.c: Likewise.
11813         * config/libbid/bid32_to_bid128.c: Likewise.
11814         * config/libbid/bid32_to_bid64.c: Likewise.
11815         * config/libbid/bid64_add.c: Likewise.
11816         * config/libbid/bid64_compare.c: Likewise.
11817         * config/libbid/bid64_div.c: Likewise.
11818         * config/libbid/bid64_fma.c: Likewise.
11819         * config/libbid/bid64_logb.c: Likewise.
11820         * config/libbid/bid64_minmax.c: Likewise.
11821         * config/libbid/bid64_mul.c: Likewise.
11822         * config/libbid/bid64_next.c: Likewise.
11823         * config/libbid/bid64_noncomp.c: Likewise.
11824         * config/libbid/bid64_quantize.c: Likewise.
11825         * config/libbid/bid64_rem.c: Likewise.
11826         * config/libbid/bid64_round_integral.c: Likewise.
11827         * config/libbid/bid64_scalb.c: Likewise.
11828         * config/libbid/bid64_sqrt.c: Likewise.
11829         * config/libbid/bid64_string.c: Likewise.
11830         * config/libbid/bid64_to_bid128.c: Likewise.
11831         * config/libbid/bid64_to_int16.c: Likewise.
11832         * config/libbid/bid64_to_int32.c: Likewise.
11833         * config/libbid/bid64_to_int64.c: Likewise.
11834         * config/libbid/bid64_to_int8.c: Likewise.
11835         * config/libbid/bid64_to_uint16.c: Likewise.
11836         * config/libbid/bid64_to_uint32.c: Likewise.
11837         * config/libbid/bid64_to_uint64.c: Likewise.
11838         * config/libbid/bid64_to_uint8.c: Likewise.
11839         * config/libbid/bid_b2d.h: Likewise.
11840         * config/libbid/bid_binarydecimal.c: Likewise.
11841         * config/libbid/bid_conf.h: Likewise.
11842         * config/libbid/bid_convert_data.c: Likewise.
11843         * config/libbid/bid_decimal_data.c: Likewise.
11844         * config/libbid/bid_decimal_globals.c: Likewise.
11845         * config/libbid/bid_div_macros.h: Likewise.
11846         * config/libbid/bid_dpd.c: Likewise.
11847         * config/libbid/bid_flag_operations.c: Likewise.
11848         * config/libbid/bid_from_int.c: Likewise.
11849         * config/libbid/bid_functions.h: Likewise.
11850         * config/libbid/bid_gcc_intrinsics.h: Likewise.
11851         * config/libbid/bid_inline_add.h: Likewise.
11852         * config/libbid/bid_internal.h: Likewise.
11853         * config/libbid/bid_round.c: Likewise.
11854         * config/libbid/bid_sqrt_macros.h: Likewise.
11855
11856 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
11857
11858         * Makefile.in: Change copyright header to refer to version
11859         3 of the GNU General Public License and to point readers at the
11860         COPYING3 file and the FSF's license web page.
11861         * config.host: Likewise.
11862
11863 2009-04-07  Alan Modra  <amodra@bigpond.net.au>
11864
11865         * config.host: Reorder and merge to match config.gcc change.
11866
11867 2009-04-03  Alan Modra  <amodra@bigpond.net.au>
11868
11869         * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11870
11871 2009-03-28  Joseph Myers  <joseph@codesourcery.com>
11872
11873         * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11874         armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11875         m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11876         powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11877
11878 2009-02-12  Uros Bizjak  <ubizjak@gmail.com>
11879
11880         * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11881         * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11882
11883 2009-02-12  H.J. Lu  <hongjiu.lu@intel.com>
11884
11885         * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11886         ia64/t-softfp-compat to tmake_file.
11887
11888         * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11889
11890         * config/ia64/__divxf3.asm: New.
11891         * config/ia64/_fixtfdi.asm: Likewise.
11892         * config/ia64/_fixunstfdi.asm: Likewise.
11893         * config/ia64/_floatditf.asm: Likewise.
11894         * config/ia64/t-fprules-softfp: Likewise.
11895         * config/ia64/t-softfp-compat: Likewise.
11896         * config/ia64/tf-signs.c: Likewise.
11897
11898 2009-01-18  Ben Elliston  <bje@au.ibm.com>
11899
11900         * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11901
11902 2009-01-16  Ben Elliston  <bje@au.ibm.com>
11903
11904         * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11905         to tmake_file.
11906
11907 2009-01-13  Ben Elliston  <bje@au.ibm.com>
11908
11909         * config/t-softfp: New file.
11910         * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11911         (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11912
11913 2009-01-05  Joel Sherrill  <joel.sherrill@oarcorp.com>
11914
11915         * config.host: Add m32r*-*-rtems*.
11916
11917 2008-12-01  Joel Sherrill  <joel.sherrill@oarcorp.com>
11918
11919         * config.host: Add m32c*-*-rtems*.
11920
11921 2008-11-20  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
11922
11923         PR bootstrap/33100
11924         * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11925         i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11926         * configure: Regenerate.
11927         * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11928         tmake_file here from gcc/config.gcc.
11929         Move extra_parts here from gcc/config.gcc.
11930         * config/i386/t-sol2: Move here from gcc/config/i386.
11931         Use gcc_srcdir instead of srcdir.
11932
11933 2008-11-18  Adam Nemet  <anemet@caviumnetworks.com>
11934
11935         * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11936         case.
11937
11938 2008-11-09  Thomas Schwinge  <tschwinge@gnu.org>
11939
11940         * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11941
11942 2008-10-08  Thomas Schwinge  <tschwinge@gnu.org>
11943
11944         * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11945
11946 2008-09-03  Hari Sandanagobalane  <hariharan@picochip.com>
11947
11948         Add picoChip port.
11949         * config.host: Add picochip-*-*.
11950
11951 2008-08-06  Bob Wilson  <bob.wilson@acm.org>
11952
11953         * config.host: Match more processor names for Xtensa.
11954
11955 2008-07-08  H.J. Lu  <hongjiu.lu@intel.com>
11956
11957         * config/i386/64/t-softfp-compat: Update comments.
11958
11959 2008-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11960
11961         * config/i386/64/_divtc3-compat.c: Moved to ...
11962         * config/i386/64/_divtc3.c: Here.
11963
11964         * config/i386/64/_multc3-compat.c: Moved to ...
11965         * config/i386/64/_multc3.c: Here.
11966
11967         * config/i386/64/_powitf2-compat.c: Moved to ...
11968         * config/i386/64/_powitf2.c: Here.
11969
11970         * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11971         .c suffix instead of -compat.c.
11972
11973 2008-07-05  Uros Bizjak  <ubizjak@gmail.com>
11974
11975         * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11976         (_FP_MUL_MEAT_D): Ditto.
11977         (_FP_DIV_MEAT_S): Ditto.
11978         (_FP_DIV_MEAT_D): Ditto.
11979
11980 2008-07-03  Richard Sandiford  <rdsandiford@googlemail.com>
11981
11982         * Makefile.in: Add support for __sync_* libgcc functions.
11983
11984 2008-07-03  H.J. Lu  <hongjiu.lu@intel.com>
11985
11986         * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11987
11988 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
11989
11990         PR boostrap/36702
11991         * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11992         and Linux/x86.  Include 64bit t-softfp-compat for Linux/x86.
11993
11994         * config/i386/64/t-fprules-softfp: Moved to ...
11995         * config/i386/64/t-softfp-compat: This.  New.
11996
11997 2008-07-02  Uros Bizjak  <ubizjak@gmail.com>
11998
11999         * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12000         Initialize f with 0.0.
12001
12002 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12003
12004         PR target/36669
12005         * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12006
12007         * config/i386/64/_divtc3-compat.c: New.
12008         * config/i386/64/_multc3-compat.c: Likewise.
12009         * config/i386/64/_powitf2-compat.c: Likewise.
12010         * config/i386/64/eqtf2.c: Likewise.
12011         * config/i386/64/getf2.c: Likewise.
12012         * config/i386/64/letf2.c: Likewise.
12013         * config/i386/64/t-fprules-softfp: Likewise.
12014
12015 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12016
12017         * config.host: Add i386/${host_address}/t-fprules-softfp to
12018         tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
12019         i[34567]86-*-linux*, x86_64-*-linux*.
12020
12021         * configure.ac: Set host_address to 64 or 32 for x86.
12022         * configure: Regenerated.
12023
12024         * Makefile.in (config.status): Also depend on
12025         $(srcdir)/config.host.
12026
12027         * config/i386/32/t-fprules-softfp: New.
12028         * config/i386/32/tf-signs.c: Likewise.
12029
12030         * config/i386/64/sfp-machine.h: New. Moved from gcc.
12031
12032 2008-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12033             Uros Bizjak  <ubizjak@gmail.com>
12034
12035         * config/i386/32/sfp-machine.h: New.
12036
12037 2008-06-26  Nathan Froyd  <froydnj@codesourcery.com>
12038
12039         * config/rs6000/t-ppccomm: Remove rules that conflict with
12040         auto-generated rules.
12041
12042 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
12043
12044         * configure.ac: sinclude override.m4.
12045         * configure: Regenerate.
12046
12047 2008-06-11  Bernhard Fischer  <aldot@gcc.gnu.org>
12048
12049         * configure: Regenerate.
12050
12051 2008-06-10  Joseph Myers  <joseph@codesourcery.com>
12052
12053         * Makefile.in (DECNUMINC): Remove
12054         -I$(MULTIBUILDTOP)../../libdecnumber.
12055         * gstdint.h: New.
12056
12057 2008-06-07  Joseph Myers  <joseph@codesourcery.com>
12058
12059         * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12060         parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12061         alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12062         arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12063         hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12064         i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12065         i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12066         i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12067         i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12068         mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12069         powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12070         powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12071         strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12072         vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12073
12074 2008-05-25  Arthur Loiret  <arthur.loiret@u-psud.fr>
12075
12076         * config.host (sh2[lbe]*-*-linux*): Allow target.
12077
12078 2008-04-30  Nathan Froyd  <froydnj@codesourcery.com>
12079
12080         * config/rs6000/t-ppccomm: Add build rules for new files.
12081         (LIB2ADD_ST): New variable.
12082
12083 2008-04-07  Andy Hutchinson  <hutchinsonandy@aim.com>
12084
12085         PR target/34210
12086         PR target/35508
12087         * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12088         * config/t-avr: New file. Build 16bit libgcc functions.
12089
12090 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
12091
12092         PR target/35401
12093         * config/t-slibgcc-darwin: Make install-leaf dependent on
12094         install-darwin-libgcc-stubs instead of install.
12095
12096 2008-01-25  Joseph Myers  <joseph@codesourcery.com>
12097
12098         * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12099         tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12100         sh-*-rtemscoff*): Remove cases.
12101
12102 2007-12-27  Richard Sandiford  <rsandifo@nildram.co.uk>
12103
12104         * Makefile.in (all): Use install-leaf rather than install.
12105         (install): Split most of the rule into...
12106         (install-leaf): ...this new one.
12107
12108 2007-12-19  Etsushi Kato  <ek.kato@gmail.com>
12109             Paolo Bonzini  <bonzini@gnu.org>
12110
12111         PR target/30572
12112         * Makefile.in: Use @shlib_slibdir@ substitution to get
12113         correct install name on darwin.
12114         * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
12115
12116 2007-12-15  Hans-Peter Nilsson  <hp@axis.com>
12117
12118         * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12119         cris-*-elf and cris-*-none.
12120         (crisv32-*-linux*): Similar, as cris-*-linux*.
12121
12122 2007-11-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
12123
12124         * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12125
12126 2007-10-27  H.J. Lu  <hongjiu.lu@intel.com>
12127
12128         PR regression/33926
12129         * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12130         * configure: Regenerated.
12131
12132 2007-09-27  H.J. Lu  <hongjiu.lu@intel.com>
12133
12134         * Makefile.in (dfp-filenames): Replace decimal_globals,
12135         decimal_data, binarydecimal and convert_data with
12136         bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12137         and bid_convert_data, respectively.
12138
12139 2007-09-17  Chao-ying Fu  <fu@mips.com>
12140             Nigel Stephens  <nigel@mips.com>
12141
12142         * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12143         * Makefile.in (fixed_point): Define.
12144         Check if fixed_point is yes to build support functions.
12145         * configure.ac: Check for fixed_point support.
12146         * configure: Regenerated.
12147         * gen-fixed.sh: New file to generate lists of fixed-point labels,
12148         funcs, modes, from, to.
12149
12150 2007-09-11  Janis Johnson  <janis187@us.ibm.com
12151
12152         * Makefile.in (dfp-filenames): Add bid128_noncomp.
12153
12154 2007-09-10  Janis Johnson  <janis187@us.ibm.com>
12155
12156         * Makefile.in (dfp-filenames): Remove decUtility, add
12157         decDouble, decPacked, decQuad, decSingle.
12158
12159 2007-08-27  Hans Kester  <hans.kester@ellips.nl>
12160
12161         * config.host : Add x86_64-elf target.
12162
12163 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
12164
12165         * configure.ac (set_have_cc_tls): Add a missing =.
12166         * configure: Regenerated.
12167
12168 2007-07-06  H.J. Lu  <hongjiu.lu@intel.com>
12169
12170         * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12171         and x86_64-*-linux*.
12172
12173         * config/t-tls: New file.
12174
12175         * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
12176
12177         * configure.ac: Include ../config/enable.m4 and
12178         ../config/tls.m4.  Use GCC_CHECK_CC_TLS to check if assembler
12179         supports TLS and substitute set_have_cc_tls.
12180         * configure: Regenerated.
12181
12182 2007-07-04  H.J. Lu  <hongjiu.lu@intel.com>
12183
12184         * Makefile.in: Use libbid for DFP when BID is enabled.
12185
12186 2007-06-14  Danny Smith  <dannysmith@users.sourceforge.net>
12187
12188         * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
12189         extra_parts. Add config/i386/t-cygming to tmake_file.
12190         * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12191
12192 2007-05-29  Zuxy Meng  <zuxy.meng@gmail.com>
12193             Danny Smith  <dannysmith@users.sourceforge.net>
12194
12195         PR target/29498
12196         * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12197         crtfastmath.o to extra_parts.  Add i386/t-crtfm to tmake_file.
12198         * config/i386/t-crtfm: Compile crtfastmath.o with
12199         -minline-all-stringops.
12200
12201 2007-05-10  Richard Sandiford  <richard@codesourcery.com>
12202
12203         * config.host (sparc-wrs-vxworks): New target.
12204
12205 2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
12206
12207         * config.host: Recognize fido.
12208
12209 2007-04-04  Janis Johnson  <janis187@us.ibm.com>
12210
12211         * configure: Check host, not target, for decimal float support.
12212
12213 2007-04-03  Uros Bizjak  <ubizjak@gmail.com>
12214
12215         * config/i386/t-crtpc: New file.
12216         * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
12217         (x86_64-*-linux*): Ditto.
12218
12219 2007-02-30  Kai Tietz  <kai.tietz@onevision.com>
12220
12221         * config.host (x86_64-*-mingw*): New target.
12222
12223 2007-03-23  Michael Meissner  <michael.meissner@amd.com>
12224             H.J. Lu  <hongjiu.lu@intel.com>
12225
12226         * Makefile.in (enable_decimal_float): New.
12227         (DECNUMINC): Add
12228         -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12229         (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12230         (decbits-filenames): This.
12231         (decbits-objects): New.
12232         (libgcc-objects): Add $(decbits-objects).
12233
12234         * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12235         Substitute enable_decimal_float.
12236         * configure: Regenerated.
12237
12238 2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
12239
12240         * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12241
12242 2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
12243
12244         * Makefile.in (install-info): New dummy target.
12245
12246 2007-03-05  Bernd Schmidt  <bernd.schmidt@analog.com>
12247
12248         * config.host (bfin*-linux-uclibc*): Set extra_parts.
12249
12250 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
12251
12252         * Makefile.in: Add install-html and install-pdf dummy
12253         targets.
12254
12255 2007-02-05  Roger Sayle  <roger@eyesopen.com>
12256             Daniel Jacobowitz  <dan@codesourcery.com>
12257
12258         * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12259         (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12260         (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12261
12262 2007-01-29  Janis Johnson  <janis187@us.ibm.com>
12263
12264         * Makefile.in (dec-filenames): Add decExcept.
12265
12266 2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>
12267
12268         PR bootstrap/30469
12269         * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12270         -fprofile-use.
12271
12272 2007-01-25  Daniel Jacobowitz  <dan@codesourcery.com>
12273
12274         * configure.ac: Add --enable-version-specific-runtime-libs.
12275         Correct $slibdir default.
12276         * configure: Regenerated.
12277
12278 2007-01-23  Joseph Myers  <joseph@codesourcery.com>
12279
12280         * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12281
12282 2007-01-21  Andrew Pinski  <pinskia@gmail.com>
12283
12284         PR target/30519
12285         * config.host (alpha*-*-linux*): Set extra_parts.
12286
12287 2007-01-09  Kaz Kojima  <kkojima@gcc.gnu.org>
12288
12289         * config/sh/t-linux: New.
12290         * config.host (sh*-*-linux*): Set tmake_file.
12291
12292 2007-01-05  Daniel Jacobowitz  <dan@codesourcery.com>
12293
12294         * Makefile.in (install): Handle multilibs.
12295
12296 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
12297
12298         * Makefile.in: Added .PHONY entry for documentation targets.
12299
12300 2007-01-04  Brooks Moses  <brooks.moses@codesourcery.com>
12301
12302         * Makefile.in: Add empty info, html, dvi, pdf targets.
12303
12304 2007-01-04  Mike Stump  <mrs@apple.com>
12305
12306         * Makefile.in (MAKEINFO): Remove.
12307         (PERL): Likewise.
12308
12309 2007-01-04  Paolo Bonzini  <bonzini@gnu.org>
12310
12311         * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12312         * configure: Regenerate.
12313         * Makefile.in (host_subdir): Substitute it.
12314         (gcc_objdir): Use it.
12315
12316 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
12317
12318         * config.host (ia64*-*-linux*): Set tmake_file.
12319
12320 2007-01-04  Daniel Jacobowitz  <dan@codesourcery.com>
12321
12322         * Makefile.in (version): Define.
12323
12324 2007-01-03  Daniel Jacobowitz  <dan@codesourcery.com>
12325             Paolo Bonzini  <bonzini@gnu.org>
12326
12327         * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12328         config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12329         config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12330         config/sparc/t-crtfm, config/t-slibgcc-darwin,
12331         config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12332         shared-object.mk, siditi-object.mk, static-object.mk: New files.
12333         * configure: Generated.
12334 \f
12335 Copyright (C) 2007-2022 Free Software Foundation, Inc.
12336
12337 Copying and distribution of this file, with or without modification,
12338 are permitted in any medium without royalty provided the copyright
12339 notice and this notice are preserved.