]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
libstdc++: Update std::pointer_traits to match new LWG 3545 wording
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
279c6715
GA
12022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
2
3 * unwind-dw2-fde.c: (release_register_frames) Remember
4 when the btree has been destroyed.
5 (__deregister_frame_info_bases) Disable the assert when
6 shutting down.
7
0990a778
GA
82022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
9
10 * unwind-dw2-fde.c: Replace uintptr_t with typedef
11 for __UINTPTR_TYPE__.
12 * unwind-dw2-btree.h: Likewise.
13
7ee0fa10
GA
142022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
15
16 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
17 (__register_frame_info_table_bases): Use btree in atomic fast path.
18 (__deregister_frame_info_bases): Likewise.
19 (_Unwind_Find_FDE): Likewise.
20 (base_from_object): Make parameter const.
21 (classify_object_over_fdes): Add query-only mode.
22 (get_pc_range): Compute PC range for lookup.
23 * unwind-dw2-fde.h (last_fde): Make parameter const.
24 * unwind-dw2-btree.h: New file.
25
542c60c4
GA
262022-08-31 Martin Liska <mliska@suse.cz>
27
28 * config.host: Remove hppa.
29
3de9fb32
GA
302022-08-30 Martin Liska <mliska@suse.cz>
31
32 * config.host: Remove the port.
33
16f542d6
GA
342022-08-26 Martin Liska <mliska@suse.cz>
35
36 * config.host: Remove cr16 related stuff.
37 * config/cr16/crti.S: Removed.
38 * config/cr16/crtlibid.S: Removed.
39 * config/cr16/crtn.S: Removed.
40 * config/cr16/divmodhi3.c: Removed.
41 * config/cr16/lib1funcs.S: Removed.
42 * config/cr16/t-cr16: Removed.
43 * config/cr16/t-crtlibid: Removed.
44 * config/cr16/unwind-cr16.c: Removed.
45 * config/cr16/unwind-dw2.h: Removed.
46
47a61e65
GA
472022-08-16 Kito Cheng <kito.cheng@sifive.com>
48
49 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
50 (_FP_NANFRAC_H): Ditto.
51 (_FP_NANSIGN_H): Ditto.
52 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
53 routines.
54 (softfp_truncations): Ditto.
55 (softfp_extras): Ditto.
56 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
57
582022-08-16 Kito Cheng <kito.cheng@sifive.com>
59
60 * soft-fp/fixhfdi.c: New.
61 * soft-fp/fixhfsi.c: Likewise.
62 * soft-fp/fixunshfdi.c: Likewise.
63 * soft-fp/fixunshfsi.c: Likewise.
64 * soft-fp/floatdihf.c: Likewise.
65 * soft-fp/floatsihf.c: Likewise.
66 * soft-fp/floatundihf.c: Likewise.
67 * soft-fp/floatunsihf.c: Likewise.
68 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
69 lines and update URL for license.
70 * soft-fp/addsf3.c: Likewise.
71 * soft-fp/addtf3.c: Likewise.
72 * soft-fp/divdf3.c: Likewise.
73 * soft-fp/divsf3.c: Likewise.
74 * soft-fp/divtf3.c: Likewise.
75 * soft-fp/double.h: Likewise.
76 * soft-fp/eqdf2.c: Likewise.
77 * soft-fp/eqhf2.c: Likewise.
78 * soft-fp/eqsf2.c: Likewise.
79 * soft-fp/eqtf2.c: Likewise.
80 * soft-fp/extenddftf2.c: Likewise.
81 * soft-fp/extended.h: Likewise.
82 * soft-fp/extendhfdf2.c: Likewise.
83 * soft-fp/extendhfsf2.c: Likewise.
84 * soft-fp/extendhftf2.c: Likewise.
85 * soft-fp/extendhfxf2.c: Likewise.
86 * soft-fp/extendsfdf2.c: Likewise.
87 * soft-fp/extendsftf2.c: Likewise.
88 * soft-fp/extendxftf2.c: Likewise.
89 * soft-fp/fixdfdi.c: Likewise.
90 * soft-fp/fixdfsi.c: Likewise.
91 * soft-fp/fixdfti.c: Likewise.
92 * soft-fp/fixhfti.c: Likewise.
93 * soft-fp/fixsfdi.c: Likewise.
94 * soft-fp/fixsfsi.c: Likewise.
95 * soft-fp/fixsfti.c: Likewise.
96 * soft-fp/fixtfdi.c: Likewise.
97 * soft-fp/fixtfsi.c: Likewise.
98 * soft-fp/fixtfti.c: Likewise.
99 * soft-fp/fixunsdfdi.c: Likewise.
100 * soft-fp/fixunsdfsi.c: Likewise.
101 * soft-fp/fixunsdfti.c: Likewise.
102 * soft-fp/fixunshfti.c: Likewise.
103 * soft-fp/fixunssfdi.c: Likewise.
104 * soft-fp/fixunssfsi.c: Likewise.
105 * soft-fp/fixunssfti.c: Likewise.
106 * soft-fp/fixunstfdi.c: Likewise.
107 * soft-fp/fixunstfsi.c: Likewise.
108 * soft-fp/fixunstfti.c: Likewise.
109 * soft-fp/floatdidf.c: Likewise.
110 * soft-fp/floatdisf.c: Likewise.
111 * soft-fp/floatditf.c: Likewise.
112 * soft-fp/floatsidf.c: Likewise.
113 * soft-fp/floatsisf.c: Likewise.
114 * soft-fp/floatsitf.c: Likewise.
115 * soft-fp/floattidf.c: Likewise.
116 * soft-fp/floattihf.c: Likewise.
117 * soft-fp/floattisf.c: Likewise.
118 * soft-fp/floattitf.c: Likewise.
119 * soft-fp/floatundidf.c: Likewise.
120 * soft-fp/floatundisf.c: Likewise.
121 * soft-fp/floatunditf.c: Likewise.
122 * soft-fp/floatunsidf.c: Likewise.
123 * soft-fp/floatunsisf.c: Likewise.
124 * soft-fp/floatunsitf.c: Likewise.
125 * soft-fp/floatuntidf.c: Likewise.
126 * soft-fp/floatuntihf.c: Likewise.
127 * soft-fp/floatuntisf.c: Likewise.
128 * soft-fp/floatuntitf.c: Likewise.
129 * soft-fp/gedf2.c: Likewise.
130 * soft-fp/gesf2.c: Likewise.
131 * soft-fp/getf2.c: Likewise.
132 * soft-fp/half.h: Likewise.
133 * soft-fp/ledf2.c: Likewise.
134 * soft-fp/lesf2.c: Likewise.
135 * soft-fp/letf2.c: Likewise.
136 * soft-fp/muldf3.c: Likewise.
137 * soft-fp/mulsf3.c: Likewise.
138 * soft-fp/multf3.c: Likewise.
139 * soft-fp/negdf2.c: Likewise.
140 * soft-fp/negsf2.c: Likewise.
141 * soft-fp/negtf2.c: Likewise.
142 * soft-fp/op-1.h: Likewise.
143 * soft-fp/op-2.h: Likewise.
144 * soft-fp/op-4.h: Likewise.
145 * soft-fp/op-8.h: Likewise.
146 * soft-fp/op-common.h: Likewise.
147 * soft-fp/quad.h: Likewise.
148 * soft-fp/single.h: Likewise.
149 * soft-fp/soft-fp.h: Likewise.
150 * soft-fp/subdf3.c: Likewise.
151 * soft-fp/subsf3.c: Likewise.
152 * soft-fp/subtf3.c: Likewise.
153 * soft-fp/truncdfhf2.c: Likewise.
154 * soft-fp/truncdfsf2.c: Likewise.
155 * soft-fp/truncsfhf2.c: Likewise.
156 * soft-fp/trunctfdf2.c: Likewise.
157 * soft-fp/trunctfhf2.c: Likewise.
158 * soft-fp/trunctfsf2.c: Likewise.
159 * soft-fp/trunctfxf2.c: Likewise.
160 * soft-fp/truncxfhf2.c: Likewise.
161 * soft-fp/unorddf2.c: Likewise.
162 * soft-fp/unordsf2.c: Likewise.
163 * soft-fp/unordtf2.c: Likewise.
164
79fb1124
GA
1652022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
166
167 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
168 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
169 configurations.
170
87509781
GA
1712022-06-25 Jeff Law <jeffreyalaw@gmail.com>
172
173 * config.host: Removed tilegx and tilepro entries.
174 * config/tilegx/sfp-machine.h: Removed.
175 * config/tilegx/sfp-machine32.h: Removed.
176 * config/tilegx/sfp-machine64.h: Removed.
177 * config/tilegx/t-crtstuff: Removed.
178 * config/tilegx/t-softfp: Removed.
179 * config/tilegx/t-tilegx: Removed.
180 * config/tilepro/atomic.c: Removed.
181 * config/tilepro/atomic.h: Removed.
182 * config/tilepro/linux-unwind.h: Removed.
183 * config/tilepro/sfp-machine.h: Removed.
184 * config/tilepro/softdivide.c: Removed.
185 * config/tilepro/softmpy.S: Removed.
186 * config/tilepro/t-crtstuff: Removed.
187 * config/tilepro/t-tilepro: Removed.
188
e3bba42f
GA
1892022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
190
191 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
192 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
193
3164de6a
GA
1942022-06-01 H.J. Lu <hjl.tools@gmail.com>
195
196 PR libgcc/27576
197 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
198
3dff965c
GA
1992022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
200
201 PR libgcc/105708
202 * config/aarch64/lse-init.c: Increase constructor priority.
203
2042022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
205
206 PR target/104689
207 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
208 Handle the !REG_UNSAVED case.
209 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
210
57f2ce6a
GA
2112022-05-20 Christophe Lyon <christophe.lyon@arm.com>
212
213 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
214 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
215 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
216
2172022-05-20 Christophe Lyon <christophe.lyon@arm.com>
218
219 * config.host: Add t-dfprules to AArch64 targets.
220
2212022-05-20 Christophe Lyon <christophe.lyon@arm.com>
222
223 * configure: Regenerate.
224
9df4ffe4
GA
2252022-05-13 Sebastian Pop <spop@amazon.com>
226
227 PR target/105162
228 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
229 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
230
e8778989
GA
2312022-05-10 Martin Liska <mliska@suse.cz>
232 Hans-Peter Helfert <peter-helfert@t-online.de>
233
234 PR gcov-profile/105535
235 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
236 n_functions.
237
6259d8aa
GA
2382022-05-02 Martin Liska <mliska@suse.cz>
239
240 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
241
6b6f53d8
GA
2422022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
243
244 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
245 (gcov_profile_merge_stream): Likewise.
246
2472022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
248
249 * libgcov-util.c (consume_stream): New.
250 (get_target_profiles_for_merge): Likewise.
251 (gcov_profile_merge_stream): Likewise.
252
2532022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
254
255 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
256
2572022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
258
259 * libgcov-util.c (read_gcda_file): Do not open file.
260 (ftw_read_file): Open file here.
261
2622022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
263
264 * libgcov-util.c (read_gcda_file): Prepend new info object to global
265 list.
266 (ftw_read_file): Remove list append here.
267
2682022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
269
270 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
271 (ftw_read_file): Duplicate filename for read_gcda_file().
272
2732022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
274
275 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
276 (__gcov_filename_to_gcfn): Declare and document.
277 * libgcov-driver.c (dump_string): New.
278 (__gcov_filename_to_gcfn): Likewise.
279 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
280
2812022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
282
283 * libgcov.h (gcov_seek): Remove define and declaration.
284
2852022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
286
287 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
288 parameter. Pass mode to gcov_open() calls.
289 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
290 gcov_exit_open_gcda_file() call.
291 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
292 calls.
293 (__gcov_dump_one): Open file for reading and writing.
294
2952022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
296
297 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
298 reading and writing.
299 * libgcov-util.c (read_gcda_file): Open file for reading.
300 * libgcov.h (gcov_open): Delete declaration.
301
3022022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
303
304 * libgcov-util.c (gcov_profile_merge): Return the list of merged
305 profiles. Accept empty target and source profile lists.
306
405eda0d
GA
3072022-04-08 Sergei Trofimovich <siarheit@google.com>
308
309 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
310
9f774626
GA
3112022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
312 Lulu Cheng <chenglulu@loongson.cn>
313
314 * configure: Regenerate file.
315
3162022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
317 Lulu Cheng <chenglulu@loongson.cn>
318
319 * config/loongarch/crtfastmath.c: New file.
320 * config/loongarch/linux-unwind.h: Like wise.
321 * config/loongarch/sfp-machine.h: Like wise.
322 * config/loongarch/t-crtstuff: Like wise.
323 * config/loongarch/t-loongarch: Like wise.
324 * config/loongarch/t-loongarch64: Like wise.
325 * config/loongarch/t-softfp-tf: Like wise.
326 * config.host: Add LoongArch tuples.
327 * configure.ac: Add LoongArch support.
328
d7f00da1
GA
3292022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
330
331 PR libgcc/86224
332 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
333 for __mulsi3.
334 (__udivsi3_internal, __divsi3_internal): Similarly.
335 (__umodsi3, __modsi3): Use the internal function names.
336
8cc4f9cd
GA
3372022-03-09 Tobias Burnus <tobias@codesourcery.com>
338
339 PR target/102215
340 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
341 a line up to non-arg-dependent value first.
342 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
343 __atomic_compare_exchange_{1,2}.
344
8d96e14c
GA
3452022-03-04 Iain Sandoe <iain@sandoe.co.uk>
346
347 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
348 * config/t-darwin-ehs: Add dependency on unwind.h.
349
756a6185
GA
3502022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
351
352 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
353 with 0 instead of NULL.
354
3552022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
356
357 PR target/104656
358 * configure.ac: --disable-gcov if targetting bpf-*.
359 * configure: Regenerate.
360
e0b8716f
GA
3612022-01-25 Florian Weimer <fweimer@redhat.com>
362
363 PR libgcc/104207
364 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
365
fc829782
GA
3662022-01-17 Martin Liska <mliska@suse.cz>
367
368 * libgcov-driver.c: Rename .c names to .cc.
369
9248ee41
GA
3702022-01-15 David <gccbugzilla@limegreensocks.com>
371
372 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
373 Remove inlined version, Windows 95 is no longer relevant.
374 * config/i386/gthr-win32.h
375 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
376
617db51d
GA
3772022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
378
379 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
380 DWARF_ALT_FRAME_RETURN_COLUMN macro.
381
7d11b64b
GA
3822022-01-04 Florian Weimer <fweimer@redhat.com>
383
384 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
385 if available.
386
5da23a13
GA
3872022-01-02 John David Anglin <danglin@gcc.gnu.org>
388
389 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
390 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
391 return is not equal _ASM_EFAULT.
392 (__kernel_cmpxchg2): Likewise.
393
2554e2da
GA
3942021-12-17 Iain Sandoe <iain@sandoe.co.uk>
395
396 * config.host: Add shim declaration header to powerpc*-darwin builds.
397 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
398 file.
399 * config/t-darwin-ehs: Add dependencies to the shared unwinder
400 objects.
401 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
402 the shared EH lib. Add all-multi to the dependencies for the
403 libgcc_s.1.dylib redirections.
404
7f1239cb
GA
4052021-12-13 Olivier Hainque <hainque@adacore.com>
406
407 * config.host (powerpc*-*-vxworks7*): Remove
408 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
409
4102021-12-13 Olivier Hainque <hainque@adacore.com>
411
412 * config.host (*vxworks*): Remove special case for
413 arm on the use of vxcrtstuff.
414
4152021-12-13 Fred Konrad <konrad@adacore.com>
416 Olivier Hainque <hainque@adacore.com>
417
418 * config/t-vxcrtstuffS: New Makefile fragment.
419 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
420 functions for INITFINI_ARRAY support in shared libs and guard
421 the definition of eh table registration functions on conditions
422 indicating they are needed.
423
4242021-12-13 Olivier Hainque <hainque@adacore.com>
425
426 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
427 ahead of the other files in tmake_files.
428 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
429 overriding it.
430
4312021-12-13 Olivier Hainque <hainque@adacore.com>
432
433 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
434 both VxWorks7 and earlier.
435 * config/t-vxworks7: Remove.
436 * config.host: Remove special case for vxworks7.
437
e8decbe7
GA
4382021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
439
440 * config/vxcrtstuff.c: Make constructor and destructor
441 functions static when possible.
442
4432021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
444
445 * config/vxcrtstuff.c: Remove constructor/destructor
446 declarations.
447
0bceef16
GA
4482021-12-10 Iain Sandoe <iain@sandoe.co.uk>
449
450 * config/t-darwin: Add libgcc_tm.h to the dependencies
451 for darwin10-unwind-find-enc-func.
452
4532021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
454
455 * config/rs6000/t-vxworks: New file.
456 * config.host (powerpc*-*-vxworks*): Use it instead of
457 t-ppccomm.
458
4b4839e3
GA
4592021-12-09 Fred Konrad <konrad@adacore.com>
460
461 * config.host (powerpc*-wrs-vxworks7*): Fix path to
462 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
463
4642021-12-09 Olivier Hainque <hainque@adacore.com>
465 Rasmus Villemoes <rv@rasmusvillemoes.dk>
466
467 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
468 $(LIBGCC2_INCLUDES).
469 * config/t-vxworks7: Likewise.
470
641ff219
GA
4712021-12-08 Iain Sandoe <iain@sandoe.co.uk>
472
473 * config.host (*-*-darwin*): Add logic to build a shared
474 unwinder library for Darwin8-10.
475 * config/i386/t-darwin: Build legacy libgcc_s.1.
476 * config/rs6000/t-darwin: Likewise.
477 * config/t-darwin: Reorganise the EH fragments to place
478 them for inclusion in a shared EH lib.
479 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
480 the supporting pieces (all FAT libs).
481 * config/t-darwin-noeh: Removed.
482 * config/darwin-unwind.ver: New file.
483 * config/rs6000/t-darwin-ehs: New file.
484 * config/t-darwin-ehs: New file.
485
3a580f96
GA
4862021-12-06 Nelson Chu <nelson.chu@sifive.com>
487
488 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
489 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
490 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
491 HIDDEN_DEF.
492
c177e806
GA
4932021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
494
495 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
496 ssize_t and vfork after including auto-host.h.
497
87cd82c8
GA
4982021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
499
500 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
501 crtend.o to extra_parts.
502
d62c8c74
GA
5032021-11-27 John David Anglin <danglin@gcc.gnu.org>
504
505 * config/pa/t-dimode (lib2difuncs): Fix typo.
506
091ccc06
GA
5072021-11-25 Florian Weimer <fweimer@redhat.com>
508
509 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
510 Remove func, ret.
511 (find_fde_tail): New function. Split from
512 _Unwind_IteratePhdrCallback. Move the result initialization
513 from _Unwind_Find_FDE.
514 (_Unwind_Find_FDE): Updated to call find_fde_tail.
515
06be28f6
GA
5162021-11-22 Florian Weimer <fweimer@redhat.com>
517
518 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
519 (struct unw_eh_callback_data): Make dbase member conditional.
520 (unw_eh_callback_data_dbase): New function.
521 (base_from_cb_data): Simplify for the non-dbase case.
522 (_Unwind_IteratePhdrCallback): Adjust.
523 (_Unwind_Find_FDE): Likewise.
524
5252021-11-22 Florian Weimer <fweimer@redhat.com>
526
527 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
528 tbase member.
529 (base_from_cb_data): Adjust.
530 (_Unwind_IteratePhdrCallback): Likewise.
531 (_Unwind_Find_FDE): Likewise.
532
9c077398
GA
5332021-11-19 Iain Sandoe <iain@sandoe.co.uk>
534
535 * config.host: Add weak emutls crt to the extra_parts.
536 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
537 workaround.
538 * config/libgcc-libsystem.ver: Add exclude list for the system-
539 provided unwinder.
540 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
541 * config/i386/libgcc-darwin.10.4.ver: Removed.
542 * config/i386/libgcc-darwin.10.5.ver: Removed.
543 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
544 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
545 * config/t-darwin-noeh: New file.
546
5472021-11-19 Iain Sandoe <iain@sandoe.co.uk>
548
549 * config/t-darwin: Build weak-defined emutls objects.
550 * emutls.c (__emutls_get_address): Add optional attributes.
551 (__emutls_register_common): Likewise.
552 (EMUTLS_ATTR): New.
553
b39265d4
GA
5542021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
555
556 PR libgcc/103044
557 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
558 called with a null argument or at the end of the backtrace and return.
559 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
560
8d36a0d2
GA
5612021-11-10 Jakub Jelinek <jakub@redhat.com>
562
563 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
564 formatting fix.
565
851dff04
GA
5662021-11-05 Iain Sandoe <iain@sandoe.co.uk>
567
568 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
569 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
570
5712021-11-05 John David Anglin <danglin@gcc.gnu.org>
572
573 PR libgomp/96661
574 * config.host (hppa*64*-*-linux*): Revise tmake_file.
575 (hppa*64*-*-hpux11*): Likewise.
576 * config/pa/sfp-exceptions.c: New.
577 * config/pa/sfp-machine.h: New.
578 * config/pa/t-dimode: New.
579 * config/pa/t-softfp-sfdftf: New.
580
04a2cf3f
GA
5812021-10-27 John David Anglin <danglin@gcc.gnu.org>
582
583 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
584 tmake_file.
585 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
586 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
587 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
588 * config/pa/t-linux64 (LIB1ASMSRC): New define.
589 (LIB1ASMFUNCS): Revise.
590 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
591
c2bd5d8a
GA
5922021-10-22 Stafford Horne <shorne@gmail.com>
593
594 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
595 Change to 0.
596
5d5885c9
GA
5972021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
598
599 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
600 outside of get_regs() in order to use it in another function, this
601 is done twice: for __powerpc64__ and for !__powerpc64__.
602 (struct trace_arg): New struct.
603 (struct layout): New struct.
604 (ppc_backchain_fallback): New function.
605 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
606 state and call MD_BACKCHAIN_FALLBACK.
607
9eb28a0f
GA
6082021-10-13 Martin Liska <mliska@suse.cz>
609
610 PR gcov-profile/90364
611 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
612 checksums.
613 (write_one_data): Write also checksum.
614 * libgcov-util.c (read_gcda_file): Read also checksum field.
615 * libgcov.h (struct gcov_info): Add new field.
616
ce6eec39
GA
6172021-10-08 Ian Lance Taylor <iant@golang.org>
618
619 * config/i386/morestack.S: Use .init_array for constructor if
620 available.
621 * config/rs6000/morestack.S: Likewise.
622 * config/s390/morestack.S: Likewise.
623
154fd089
GA
6242021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
625
626 PR target/101104
627 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
628 Use more correct values for native IBM 128-bit.
629
fd133479
GA
6302021-09-28 Iain Sandoe <iain@sandoe.co.uk>
631
632 * config/i386/libgcc-darwin.ver: Add Symbols for
633 __cpu_model, __cpu_indicator_init.
634
e4777439
GA
6352021-09-22 Iain Sandoe <iain@sandoe.co.uk>
636
637 * config/i386/sfp-machine.h: Guard Mach-O-specific code
638 using __APPLE__.
639
34fac9ef
GA
6402021-09-19 Iain Sandoe <iain@sandoe.co.uk>
641
642 * config/t-slibgcc-darwin: Delete unused code.
643
6442021-09-19 Iain Sandoe <iain@sandoe.co.uk>
645
646 * config/i386/t-darwin: Add in a vers file for X86-specific
647 symbols.
648 * config/t-darwin: Add the generic symbol maps here...
649 * config/t-slibgcc-darwin: ... removing from here.
650 * config/i386/libgcc-darwin.ver: New file.
651
6522021-09-19 Iain Sandoe <iain@sandoe.co.uk>
653
654 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
655 and __mulhc3.
656
6572021-09-19 Iain Sandoe <iain@sandoe.co.uk>
658
659 * config.host: Use convenience library for Darwin10
660 unwinder shim.
661 * config/t-darwin: Build Darwin10 unwinder shim as a
662 convenience library.
663
07985c47
GA
6642021-09-13 Andrew Pinski <apinski@marvell.com>
665
666 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
667 * config/m32r/libgcc-glibc.ver: Removed.
668 * config/m32r/t-linux: Removed.
669
b6db7cd4
GA
6702021-09-08 liuhongt <hongtao.liu@intel.com>
671
672 * config/i386/t-softfp: Compile __{mul,div}hc3 into
673 libgcc_s.so.1.
674
6752021-09-08 Jakub Jelinek <jakub@redhat.com>
676 Iain Sandoe <iain@sandoe.co.uk>
677
678 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
679 and export *hf* and *hc* functions at GCC_12.0.0.
680
9f99555f
GA
6812021-09-06 liuhongt <hongtao.liu@intel.com>
682
683 * Makefile.in: Adjust to support specific CFLAGS for each
684 libgcc source file.
685 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
686 related libgcc source files.
687 * config/i386/t-softfp: Ditto.
688 * config/i386/_divhc3.c: New file.
689 * config/i386/_mulhc3.c: New file.
690
7b739540
GA
6912021-09-03 Iain Sandoe <iain@sandoe.co.uk>
692
693 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
694 alias_DFtype, alias_TFtype): New.
695 (ALIAS_SELECTOR): New.
696 (strong_alias): Use __typeof and a _Generic selector to
697 provide the type to the synthesized function.
698
9f7c2bad
GA
6992021-09-02 liuhongt <hongtao.liu@intel.com>
700
701 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
702 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
703 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
704 * config/i386/t-softfp: Add hf soft-fp.
705 * config.host: Add i386/64/t-softfp.
706 * config/i386/64/t-softfp: New file.
707
7082021-09-02 liuhongt <hongtao.liu@intel.com>
709
710 * soft-fp/eqhf2.c: New file.
711 * soft-fp/extendhfdf2.c: New file.
712 * soft-fp/extendhfsf2.c: New file.
713 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
714 * soft-fp/truncdfhf2.c: New file
715 * soft-fp/truncsfhf2.c: New file
716
e11c6046
GA
7172021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
718
719 * unwind-arm-common.inc (abort): Remove.
720
6d51ee43
GA
7212021-08-31 Richard Sandiford <richard.sandiford@arm.com>
722
723 * config/aarch64/value-unwind.h: Add missing runtime exception
724 paragraph.
725 * config/frv/frv-abi.h: Likewise.
726 * config/i386/value-unwind.h: Likewise.
727 * config/pa/pa64-hpux-lib.h: Likewise.
728
ccc19145
GA
7292021-08-26 David Edelsohn <dje.gcc@gmail.com>
730
731 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
732 __gcc_qadd.
733 (__gcc_qadd): Call ldouble_qadd_internal.
734 (__gcc_qsub): Call ldouble_qadd_internal with second long double
735 argument negated.
736
7372021-08-26 Jonathan Yong <10walls@gmail.com>
738
739 * config/i386/cygming-crtend.c: Fix register_frame_ctor
740 and register_frame_dtor warnings.
741
05ace294
GA
7422021-08-24 Richard Earnshaw <rearnsha@arm.com>
743
744 PR target/102035
745 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
746 Add vlldm erratum work-around.
747
4be4fa4e
GA
7482021-08-21 John David Anglin <danglin@gcc.gnu.org>
749
750 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
751
9d1d9fc8
GA
7522021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
753
754 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
755 (gcov_type_unsigned): Likewise.
756
7dd8f198
GA
7572021-08-14 Stafford Horne <shorne@gmail.com>
758
759 PR target/99783
760 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
761 * config/or1k/t-crtstuff: New file.
762
f92f4778
GA
7632021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
764
765 * libgcov-driver.c (#include <stdint.h>): Remove.
766 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
767
7682021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
769
770 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
771 * gcov.h (gcov_info): Declare.
772 (__gcov_info_to_gdca): Likewise.
773 * libgcov.h (gcov_write_counter): Remove.
774 (gcov_write_tag_length): Likewise.
775 * libgcov-driver.c (#include <stdint.h>): New.
776 (#include <string.h>): Remove.
777 (NEED_L_GCOV): Conditionally define.
778 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
779 (are_all_counters_zero): New.
780 (gcov_dump_handler): Likewise.
781 (gcov_allocate_handler): Likewise.
782 (dump_unsigned): Likewise.
783 (dump_counter): Likewise.
784 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
785 Use dump_unsigned() and dump_counter().
786 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
787 dump_unsigned(), dump_counter(), and are_all_counters_zero().
788 (__gcov_info_to_gcda): New.
789
8ebf4fb5
GA
7902021-08-05 Jakub Jelinek <jakub@redhat.com>
791
792 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
793 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
794 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
795 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
796
2697f832
GA
7972021-08-04 Jakub Jelinek <jakub@redhat.com>
798
799 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
800
d97d71a1
GA
8012021-07-15 Alan Modra <amodra@gmail.com>
802
803 * config/rs6000/morestack.S (R2_SAVE): Define.
804 (__morestack): Save and restore r2. Set up r2 for called
805 functions.
806
bea7c16a
GA
8072021-07-01 H.J. Lu <hjl.tools@gmail.com>
808
809 * soft-fp/extendhfxf2.c: New file.
810 * soft-fp/truncxfhf2.c: Likewise.
811
6bc18203
GA
8122021-06-29 Julian Brown <julian@codesourcery.com>
813
814 * config/gcn/lib2-bswapti2.c: New file.
815 * config/gcn/lib2-divmod-di.c: New file.
816 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
817 typedefs.
818 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
819 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
820 lib2-bswapti2.c.
821
8222021-06-29 Julian Brown <julian@codesourcery.com>
823
824 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
825 return types to USItype.
826 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
827
fcf617f0
GA
8282021-06-23 Kewen Lin <linkw@linux.ibm.com>
829
830 * configure: Regenerate.
831 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
832 typos among the name, CFLAGS and the test.
833 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
834 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
835 Remove.
836 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
837 macro FLOAT128_HW_INSNS_ISA3_1.
838 (FP128_3_1_CFLAGS_HW): Fix option typo.
839 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
840 FLOAT128_HW_INSNS_ISA3_1.
841 (__floattikf_resolve): Likewise.
842 (__floatuntikf_resolve): Likewise.
843 (__fixkfti_resolve): Likewise.
844 (__fixunskfti_resolve): Likewise.
845 (__floattikf): Likewise.
846 (__floatuntikf): Likewise.
847 (__fixkfti): Likewise.
848 (__fixunskfti): Likewise.
849
f16f65f8
GA
8502021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
851
852 PR target/99939
853 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
854 macro.
855 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
856 on passing -mcmse option.
857
43c35d0d
GA
8582021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
859
860 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
861 _ARCH_PPC64 .
862
4f625f47
GA
8632021-06-09 Carl Love <cel@us.ibm.com>
864
865 * config.host: Add if test and set for
866 libgcc_cv_powerpc_3_1_float128_hw.
867 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
868 Change calls of __fixkfti to __fixkfti_sw.
869 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
870 Change calls of __fixunskfti to __fixunskfti_sw.
871 * config/rs6000/float128-p10.c (__floattikf_hw,
872 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
873 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
874 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
875 __fixunskfti_resolve): Add resolve functions.
876 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
877 * config/rs6000/float128-sed (floattitf, __floatuntitf,
878 __fixtfti, __fixunstfti): Add editor commands to change names.
879 * config/rs6000/float128-sed-hw (__floattitf,
880 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
881 change names.
882 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
883 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
884 * config/rs6000/quad-float128.h (__floattikf_sw,
885 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
886 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
887 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
888 * config/rs6000/t-float128 (floattikf, floatuntikf,
889 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
890 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
891 file names to fp128_ppc_funcs.
892 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
893 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
894 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
895 * config/rs6000/t-float128-p10-hw: New file.
896 * configure: Update script for isa 3.1 128-bit float support.
897 * configure.ac: Add check for 128-bit float hardware support.
898 * config/rs6000/fixkfti-sw.c: New file.
899 * config/rs6000/fixunskfti-sw.c: New file.
900 * config/rs6000/floattikf-sw.c: New file.
901 * config/rs6000/floatuntikf-sw.c: New file.
902
f9af11c7
GA
9032021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
904
905 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
906
4d0385df 9072021-05-13 Martin Liska <mliska@suse.cz>
f9af11c7
GA
908
909 * libgcov-driver.c: Fix GNU coding style.
910
aa891c56
GA
9112021-05-10 Martin Liska <mliska@suse.cz>
912
913 * libgcov-driver.c (gcov_version): Use different name that does
914 not clash with newly introduced macro.
915
3c8e539d
GA
9162021-04-29 Eric Botcazou <ebotcazou@adacore.com>
917
918 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
919 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
920 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
921
e4ff4ffb
GA
9222021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
923
924 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
925 Define.
926 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
927 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
928 Define.
929 (__divkc3): Improve complex divide.
930
05ec629f
GA
9312021-04-23 Michael Meissner <meissner@linux.ibm.com>
932
933 PR target/98952
934 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
935 trampoline size comparison in 32-bit by reversing test and
936 combining load immediate with compare.
937 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
938 in 32-bit by reversing test and combining load immediate with
939 compare.
940
b1da9916
GA
9412021-04-05 Florian Weimer <fweimer@redhat.com>
942 Michael Meissner <meissner@linux.ibm.com>
943
944 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
945 point functions for $(decimal_float) only.
946
c0756c4e
GA
9472021-04-03 Jakub Jelinek <jakub@redhat.com>
948
949 PR target/97653
950 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
951 $(objext) instead of $(object). Use _floatunditf instead of
952 _floatunsditf. Add tf <-> ti conversion objects.
953 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
954
65374af2
GA
9552021-03-29 Michael Meissner <meissner@linux.ibm.com>
956
957 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
958 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
959 (fp128_decstr_objs): Delete.
960 * dfp-bit.h: Call __sprintfieee128 to do conversions from
961 _Float128 to a Decimal type. Call __strtoieee128 to do
962 conversions from a Decimal type to _Float128.
963 * config/rs6000/_sprintfkf.c: Delete file.
964 * config/rs6000/_sprintfkf.h: Delete file.
965 * config/rs6000/_strtokf.c: Delete file.
966 * config/rs6000/_strtokf.h: Delete file.
967
bf1f3168
GA
9682021-03-23 Marcus Comstedt <marcus@mc.pp.se>
969
970 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
971 to __BYTE_ORDER__.
972
0ad6a2e2
GA
9732021-03-06 Jakub Jelinek <jakub@redhat.com>
974
975 PR gcov-profile/99406
976 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
977 defined, define these macros if not defined already.
978
67f10d28
GA
9792021-03-04 Martin Liska <mliska@suse.cz>
980
981 PR gcov-profile/99105
982 * libgcov-driver.c (write_top_counters): Rename to ...
983 (write_topn_counters): ... this.
984 (write_one_data): Pre-allocate buffer for number of items
985 in the corresponding linked lists.
986 * libgcov.h (malloc_mmap): New function.
987 (allocate_gcov_kvp): Use it.
988
9892021-03-04 Martin Liska <mliska@suse.cz>
990
991 PR gcov-profile/99385
992 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
993
f3641ac7
GA
9942021-03-03 Martin Liska <mliska@suse.cz>
995
996 PR gcov-profile/97461
997 * config.in: Regenerate.
998 * configure: Likewise.
999 * configure.ac: Check sys/mman.h header file
1000 * libgcov-driver.c (struct gcov_kvp): Remove static
1001 pre-allocated pool and use a dynamic one.
1002 * libgcov.h (MMAP_CHUNK_SIZE): New.
1003 (gcov_counter_add): Use mmap to allocate pool for struct
1004 gcov_kvp.
1005
d97a92dc
GA
10062021-03-02 Michael Meissner <meissner@linux.ibm.com>
1007
1008 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1009 the function.
1010 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1011
4028d01a
GA
10122021-02-24 Jakub Jelinek <jakub@redhat.com>
1013
1014 PR libgcc/99236
1015 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1016 negation of m in unsigned type.
1017
10182021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
1019 Hau Hsu <hsuhau617@gmail.com>
1020
1021 PR target/99157
1022 * config/arm/t-arm: Fix cmse support detection.
1023
2f5765cf
GA
10242021-02-22 Michael Meissner <meissner@linux.ibm.com>
1025
1026 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1027
10282021-02-22 Michael Meissner <meissner@linux.ibm.com>
1029
1030 * config/rs6000/_dd_to_kf.c: New file.
1031 * config/rs6000/_kf_to_dd.c: New file.
1032 * config/rs6000/_kf_to_sd.c: New file.
1033 * config/rs6000/_kf_to_td.c: New file.
1034 * config/rs6000/_sd_to_kf.c: New file.
1035 * config/rs6000/_sprintfkf.c: New file.
1036 * config/rs6000/_sprintfkf.h: New file.
1037 * config/rs6000/_strtokf.h: New file.
1038 * config/rs6000/_strtokf.c: New file.
1039 * config/rs6000/_td_to_kf.c: New file.
1040 * config/rs6000/quad-float128.h: Add new declarations.
1041 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1042 (fp128_decstr_funcs): New macro.
1043 (ibm128_dec_funcs): New macro.
1044 (fp128_ppc_funcs): Add the new conversions.
1045 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1046 compiled with -mabi=ieeelongdouble.
1047 (fp128_decstr_objs): Force __float128 <-> string conversions to be
1048 compiled with -mabi=ibmlongdouble.
1049 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1050 compiled with -mabi=ieeelongdouble.
1051 (FP128_CFLAGS_DECIMAL): New macro.
1052 (IBM128_CFLAGS_DECIMAL): New macro.
1053 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1054 (BFP_TO_DFP): Add PowerPC _Float128 support.
1055 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1056 IEEE 128-bit floating point.
1057 (DFP_TO_BFP): Add PowerPC _Float128 support.
1058 (BFP_TO_DFP): Add PowerPC _Float128 support.
1059 (BFP_SPRINTF): New macro.
1060
aa69f0a8
GA
10612021-01-27 Jakub Jelinek <jakub@redhat.com>
1062
1063 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1064 * config/i386/savms64f.h: Likewise.
1065 * config/i386/resms64.h: Likewise.
1066 * config/i386/resms64f.h: Likewise.
1067 * config/i386/resms64x.h: Likewise.
1068 * config/i386/resms64fx.h: Likewise.
1069
e62bb7f0
GA
10702021-01-26 Martin Liska <mliska@suse.cz>
1071
1072 PR gcov-profile/98739
1073 * libgcov.h (gcov_topn_add_value): Do not train when
1074 we have a merged profile with a negative number of total
1075 value.
1076
161e4c08
GA
10772021-01-25 Martin Liska <mliska@suse.cz>
1078
1079 PR gcov-profile/98739
1080 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1081 ends with a dropped counter.
1082 * libgcov.h (gcov_topn_add_value): Add return value.
1083
be0851b8
GA
10842021-01-13 Stafford Horne <shorne@gmail.com>
1085
1086 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1087 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1088 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1089 FP_EX_ALL): New constant macros.
1090 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1091 FP_HANDLE_EXCEPTIONS): New macros.
1092 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1093
10942021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
1095
1096 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1097 posix siginfo case to struct handler_args. Detect between legacy
1098 and siginfo from the second parameter, which is a small sigcode in
1099 the legacy case, and a pointer in the siginfo case.
1100
108beb75
GA
11012020-12-20 Max Filippov <jcmvbkbc@gmail.com>
1102
1103 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1104 functions.
1105 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1106 _bswapdi2.
1107
f6e8e279
GA
11082020-12-08 Ian Lance Taylor <iant@golang.org>
1109
1110 * generic-morestack-thread.c (free_segments): Block signals during
1111 thread exit.
1112
b8dd0ef7
GA
11132020-12-03 Michael Meissner <meissner@linux.ibm.com>
1114
1115 PR libgcc/97543
1116 PR libgcc/97643
1117 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1118 (IBM128_SHARED_OBJS): New make variable.
1119 (IBM128_OBJS): New make variable. Set all objects to use the
1120 explicit IBM format, and disable gnu attributes.
1121 (IBM128_CFLAGS): New make variable.
1122 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1123 modules.
1124
11252020-12-03 Alexandre Oliva <oliva@adacore.com>
1126
1127 * config/t-vxworks (LIB2ADD): Drop.
1128 * config/t-vxworks7 (LIB2ADD): Likewise.
1129 * config/vxcache.c: Remove.
1130
94358e47
GA
11312020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
1132
1133 * libgcc2.c (bswapsi2): Make constants unsigned.
1134
360258da
GA
11352020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
1136
1137 * libgcc2.c (absvSI2): Simplify/improve implementation by using
1138 builtin_add_overflow.
1139 (absvsi2, absvDI2): Likewise.
1140
82e5048e
GA
11412020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
1142
1143 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
1144 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
1145
25bb75f8
GA
11462020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1147
1148 * config/msp430/lib2hw_mul.S (mult64_hw): New.
1149 (if MUL_32): Use mult64_hw for __muldi3.
1150 (if MUL_F5): Use mult64_hw for __muldi3.
1151 * config/msp430/lib2mul.c (__muldi3): New.
1152 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
1153
29c5d9ce
GA
11542020-11-17 Alan Modra <amodra@gmail.com>
1155
1156 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
1157 (LIB2_SIDITI_CONV_FUNCS): Define.
1158 * config/rs6000/ppc64-fp.c: Delete file.
1159
cba30651
GA
11602020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1161
1162 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
1163 hwmult library functions.
1164
bb622641
GA
11652020-11-10 Jeff Law <law@redhat.com>
1166
1167 * libgcc2.c: Fix whitespace issues in most recent change.
1168
11692020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
1170
1171 * libgcc2.c (__addvSI3): Use overflow builtins.
1172 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
1173 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
1174 (__negvsi2, __negvDI2): Likewise.
1175 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
1176 generated code.
1177 * libgcc2.h (__ucmpdi2): Adjust prototype.
1178
fd2325ea
GA
11792020-11-03 Pat Bernardi <bernardi@adacore.com>
1180 Olivier Hainque <hainque@adacore.com>
1181
1182 * config.host (aarch64-vxworks7*, tmake_file): Add
1183 ${cpu_type}/t-lse and t-slibgcc-libgcc.
1184
11852020-11-03 Martin Storsjö <martin@martin.st>
1186
1187 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
1188 before calling the callback.
1189
88ce3d5f
GA
11902020-10-30 Olivier Hainque <hainque@adacore.com>
1191 Douglas Rupp <rupp@adacore.com>
1192 Pat Bernardi <bernardi@adacore.com>
1193
1194 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
1195 to apply to VxWorks 7 as well.
1196
4f0606fe
GA
11972020-10-29 Olivier Hainque <hainque@adacore.com>
1198
1199 * config/gthr-vxworks-tls.c: Fix preprocessor logic
1200 controlling the definition of VX_ENTER_TLS_DTOR and
1201 VX_LEAVE_TLS_DTOR based on a version major check.
1202
12032020-10-29 Olivier Hainque <hainque@adacore.com>
1204
1205 * config/gthr-vxworks-thread.c: Fix name of macro used
1206 to condition the inclusion of an actual implementation.
1207
89bb01e7
GA
12082020-10-27 Martin Liska <mliska@suse.cz>
1209
1210 PR gcov-profile/97461
1211 * libgcov.h (gcov_counter_add): Use first static counters
1212 as it should help to have malloc wrappers set up.
1213
efe71fcc
GA
12142020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1215
1216 * config/gthr-vxworks-thread.c: #include gthr.h before
1217 testing the guard defined there.
1218 * config/gthr-vxworks-cond.c: Likewise.
1219
56ddd5e2
GA
12202020-10-21 Douglas Rupp <rupp@adacore.com>
1221 Olivier Hainque <hainque@adacore.com>
1222
1223 * config.host (powerpc*-wrs-vxworks7*): New case.
1224 * configure.ac: Handle powerpc*-*-vxworks7* as
1225 powerpc*-*-linux* for ppc-fp_type.
1226 * configure: Regenerate.
1227
56e4eee9
GA
12282020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1229
1230 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
1231 section on VxWorks >= 6.
1232 * config/gthr-vxworks-thread.c: Condition the entire
1233 implementation on __GTHREAD_CXX0X.
1234
12352020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1236
1237 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
1238 section on VxWorks >= 6.
1239 * config/gthr-vxworks-cond.c: Condition the entire
1240 implementation on __GTHREAD_HAS_COND.
1241
12422020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1243
1244 * config/gthr-vxworks.c: #include <taskLib.h>.
1245
12462020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1247
1248 * config/gthr-vxworks.h: Rewrite remaining occurrence
1249 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
1250
12512020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1252 Olivier Hainque <hainque@adacore.com>
1253
1254 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
1255 except on VxWorks 6.
1256
12572020-10-16 Olivier Hainque <hainque@adacore.com>
1258
1259 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
1260
b2698c21
GA
12612020-10-14 Alexandre Oliva <oliva@adacore.com>
1262
1263 * config/gthr-vxworks-thread.c: Include stdlib.h.
1264 (tls_delete_hook): Prototype it.
1265 (__gthread_cond_signal): Return early if no waiters. Consume
1266 signal in case the semaphore got full. Use semInfoGet instead
1267 of kernel-mode-only semInfo.
1268 (__gthread_cond_timedwait): Use semExchange. Always take the
1269 mutex again before returning.
1270 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
1271
12722020-10-14 Olivier Hainque <hainque@adacore.com>
1273
1274 * config/t-vxworks (LIBGCC2_INCLUDES): Append
1275 $(MULTISUBDIR) to the -I path for fixed headers, as we
1276 arrange to have different sets of such headers for different
1277 multilibs when they are activated.
1278 * config/t-vxworks7: Likewise.
1279
12802020-10-14 Olivier Hainque <hainque@adacore.com>
1281
1282 * config/t-vxworks: Add include-fixed to include search
1283 paths for libgcc on VxWorks.
1284 * config/t-vxworks7: Likewise.
1285
c74a0e82
GA
12862020-10-09 H.J. Lu <hjl.tools@gmail.com>
1287
1288 PR target/97148
1289 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
1290 instead of <cetintrin.h>.
1291
6c2675fa
GA
12922020-10-01 Alan Modra <amodra@gmail.com>
1293
1294 * config/rs6000/morestack.S,
1295 * config/rs6000/tramp.S: Support __PCREL__ code.
1296
12972020-10-01 Alan Modra <amodra@gmail.com>
1298
1299 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
1300
93bca37c
GA
13012020-09-29 Maciej W. Rozycki <macro@wdc.com>
1302
1303 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
1304 variable.
1305
e84761c6
GA
13062020-09-28 Richard Sandiford <richard.sandiford@arm.com>
1307
1308 * config/aarch64/libgcc-softfp.ver: New file.
1309 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
1310
4383c595
GA
13112020-09-27 Clement Chigot <clement.chigot@atos.net>
1312
1313 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
1314
521d2711
GA
13152020-09-22 Sergei Trofimovich <siarheit@google.com>
1316
1317 PR gcov-profile/96913
1318 * libgcov-driver.c (write_one_data): Avoid function pointer
1319 comparison in TOP streaming decision.
1320
2aad20c0
GA
13212020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
1322 Christophe Lyon <christophe.lyon@linaro.org>
1323
1324 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
1325 qualifier.
1326 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
1327 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
1328 missing prototypes.
1329
13302020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
1331
1332 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
1333 unused variable warning.
1334
ecde1b0a
GA
13352020-09-16 Jojo R <jiejie_rong@c-sky.com>
1336
1337 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
1338
80f86e78
GA
13392020-09-09 Tom de Vries <tdevries@suse.de>
1340
1341 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
1342 Wbuiltin-declaration-mismatch.
1343
57ea0894
GA
13442020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1345
1346 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
1347 * config/msp430/srai.S (__gnu_mspabi_srap): New.
1348 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
1349
b3cb5606
GA
13502020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
1351
1352 * config/nvptx/atomic.c: New.
1353 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
1354
6a1ad710
GA
13552020-08-03 Ian Lance Taylor <iant@golang.org>
1356
1357 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
1358
13592020-08-03 Jakub Jelinek <jakub@redhat.com>
1360
1361 PR target/96402
1362 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
1363 of x(tmp0), x(tmp1) in STXP arguments.
1364
48cc2e46
GA
13652020-07-31 Maciej W. Rozycki <macro@wdc.com>
1366
1367 * config/riscv/save-restore.S [__riscv_xlen == 64]
1368 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
1369 (__riscv_save_2): Replace negative immediates used for the final
1370 stack pointer adjustment with positive ones, right-shifted by 4.
1371
13722020-07-31 Martin Liska <mliska@suse.cz>
1373
1374 * libgcov-driver.c: Add __gcov_kvp_pool
1375 and __gcov_kvp_pool_index variables.
1376 * libgcov.h (allocate_gcov_kvp): New.
1377 (gcov_topn_add_value): Use it.
1378
53256ee3
GA
13792020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1380
1381 * config/aarch64/lse.S: Add PAC property note.
1382
9bb403dc
GA
13832020-07-23 Martin Liska <mliska@suse.cz>
1384
1385 PR gcov-profile/96035
1386 * libgcov-driver-system.c: Create gcov folders with 0777
1387 so that it respects a system umask.
1388
8ca07a30
GA
13892020-07-14 David Edelsohn <dje.gcc@gmail.com>
1390
1391 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
1392
ea69fcf9
GA
13932020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1394
1395 PR target/94891
1396 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
1397 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
1398 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
1399 (MD_DEMANGLE_RETURN_ADDR): This.
1400 (aarch64_post_extract_frame_addr): Rename to ...
1401 (aarch64_demangle_return_addr): This.
1402 (aarch64_post_frob_eh_handler_addr): Remove.
1403 * unwind-dw2.c (uw_update_context): Demangle return address.
1404 (uw_frob_return_addr): Remove.
1405
3f8ca9cb
GA
14062020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1407
1408 PR target/96001
1409 * config/aarch64/lse.S: Add BTI marking and related definitions,
1410 and add BTI c to function entries.
1411
14122020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1413
1414 * config/aarch64/lse.S: Add stack note.
1415
b5f24739
GA
14162020-07-02 Martin Liska <mliska@suse.cz>
1417
1418 PR gcov-profile/95348
1419 * libgcov-driver.c (merge_one_data): Merge only profiles
1420 that are not of non-zero type.
1421 (write_one_data): Write counters only if there's one non-zero
1422 value.
1423 * libgcov-util.c (tag_function): Change signature from unsigned
1424 to int.
1425 (tag_blocks): Likewise.
1426 (tag_arcs): Likewise.
1427 (tag_counters): Likewise.
1428 (tag_summary): Likewise.
1429 (tag_lines): Read only if COUNTERS is non-zero.
1430 (read_gcda_file): Handle negative length for COUNTERS type.
1431
d61ffe12
GA
14322020-06-25 Martin Liska <mliska@suse.cz>
1433
1434 * libgcov-driver.c (merge_summary): Remove function as its name
1435 is misleading and doing something different.
1436 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
1437 in gcov-tool.
1438 * libgcov-util.c (curr_object_summary): Remove.
1439 (read_gcda_file): Remove unused curr_object_summary.
1440 (gcov_merge): Merge summaries.
1441 * libgcov.h: Add summary argument for gcov_info struct.
1442
2e546c26
GA
14432020-06-24 H.J. Lu <hjl.tools@gmail.com>
1444
1445 PR target/95259
1446 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
1447 "common/config/i386/i386-cpuinfo.h" and
1448 "common/config/i386/cpuinfo.h".
1449 (__cpu_features2): Changed to array.
1450 (get_amd_cpu): Removed.
1451 (get_intel_cpu): Likewise.
1452 (get_available_features): Likewise.
1453 (__cpu_indicator_init): Call cpu_indicator_init.
1454 * config/i386/cpuinfo.h: Removed.
1455
4543acc8
GA
14562020-06-23 David Edelsohn <dje.gcc@gmail.com>
1457
1458 * Makefile.in: Remove uses of empty.mk. Use -include.
1459 * config/avr/t-avr: Use -include.
1460 * empty.mk: Delete.
1461
f86e11a2
GA
14622020-06-21 David Edelsohn <dje.gcc@gmail.com>
1463
1464 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
1465 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
1466 and 64 bit with -maix64.
1467 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
1468 Build and install AIX-style FAT libraries.
1469
aff95ee7
GA
14702020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
1471
1472 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
1473 'i386/gnu-unwind.h'
1474 * config/i386/gnu-unwind.h: New file.
1475
14762020-06-17 Martin Liska <mliska@suse.cz>
1477
1478 * libgcov-util.c (read_gcda_finalize): Remove const operator.
1479 (merge_wrapper): Add both counts and use them properly.
1480 (topn_to_memory_representation): New function.
1481 (gcov_merge): Covert on disk representation to in memory
1482 representation.
1483 * libgcov.h: Remove const operator.
1484
6fb94d67
GA
14852020-06-15 Max Filippov <jcmvbkbc@gmail.com>
1486
1487 * configure: Regenerate.
1488 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
1489 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
1490
b952c2cf
GA
14912020-06-09 Martin Liska <mliska@suse.cz>
1492
1493 PR gcov-profile/95494
1494 * libgcov-driver.c (write_top_counters): Cast first to
1495 intptr_t as sizeof(*) != sizeof(gcov_type).
1496 * libgcov.h (gcov_counter_set_if_null): Remove.
1497 (gcov_topn_add_value): Cast first to intptr_t and update
1498 linked list directly.
1499
15002020-06-09 Max Filippov <jcmvbkbc@gmail.com>
1501
1502 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
1503 with uw_install_context_1.
1504
3add3425
GA
15052020-06-04 Andreas Schwab <schwab@suse.de>
1506
1507 PR target/59230
1508 PR libfortran/59227
1509 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
1510 soft-fp/divtf3.c.
1511 (LIB2ADD): Add config/ia64/divtf3.c.
1512 * config/ia64/divtf3.c: New file.
1513
9a5b7438
GA
15142020-06-03 Martin Liska <mliska@suse.cz>
1515
1516 PR gcov-profile/95480
1517 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
1518 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
1519 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
1520 (gcov_counter_set_if_null): Likewise.
1521
a9312a79
GA
15222020-06-02 Jim Wilson <jimw@sifive.com>
1523
1524 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
1525 to bgtz.
1526
15272020-06-02 Martin Liska <mliska@suse.cz>
1528
1529 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
1530 of xmalloc.
1531
15322020-06-02 Martin Liska <mliska@suse.cz>
1533
1534 * libgcov-driver.c (prune_topn_counter): Remove.
1535 (prune_counters): Likewise.
1536 (merge_one_data): Special case TOP N counters
1537 as they have variable length.
1538 (write_top_counters): New.
1539 (write_one_data): Special case TOP N.
1540 (dump_one_gcov): Do not prune TOP N counters.
1541 * libgcov-merge.c (merge_topn_values_set): Remove.
1542 (__gcov_merge_topn): Use gcov_topn_add_value.
1543 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1544 Likewise here.
1545 * libgcov.h (gcov_counter_add): New.
1546 (gcov_counter_set_if_null): Likewise.
1547 (gcov_topn_add_value): New.
1548
4a9aa9de
GA
15492020-06-01 Uroš Bizjak <ubizjak@gmail.com>
1550
1551 * config/i386/sfp-exceptions.c (struct fenv):
1552 Add __attribute__ ((gcc_struct)).
1553
885ef72f
GA
15542020-05-29 H.J. Lu <hjl.tools@gmail.com>
1555
1556 PR bootstrap/95413
1557 * configure: Regenerated.
1558
53ffb43a
GA
15592020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
1560
1561 PR gcov-profile/95332
1562 * libgcov-util.c (read_gcda_file): Call gcov_magic.
1563 * libgcov.h (gcov_magic): Disable GCC poison.
1564
5855bdfa
L
15652020-05-21 H.J. Lu <hongjiu.lu@intel.com>
1566
1567 PR target/95212
1568 * config/i386/cpuinfo.h (processor_features): Move
1569 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
1570
35b98036
L
15712020-05-20 H.J. Lu <hongjiu.lu@intel.com>
1572
1573 PR target/91695
1574 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
1575 check.
1576
45395445
L
15772020-05-19 H.J. Lu <hongjiu.lu@intel.com>
1578
1579 PR target/95212
1580 PR target/95220
1581 * config/i386/cpuinfo.c (get_available_features): Fix
1582 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
1583 * config/i386/cpuinfo.h (processor_features): Add
1584 FEATURE_AVX512VP2INTERSECT.
1585
4c1a5d8b
L
15862020-05-15 H.J. Lu <hongjiu.lu@intel.com>
1587
1588 PR bootstrap/95147
1589 * configure: Regenerated.
1590
8d286dd1
L
15912020-05-14 H.J. Lu <hongjiu.lu@intel.com>
1592
1593 * configure: Regenerated.
1594
39748a89
HPN
15952020-05-09 Hans-Peter Nilsson <hp@axis.com>
1596
1597 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
1598 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
1599
d3a1459c
UB
16002020-05-06 Uroš Bizjak <ubizjak@gmail.com>
1601
1602 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
1603 (__math_force_eval_div): New define.
1604 (__sfp_handle_exceptions): Use __math_force_eval_div to use
1605 generic division to generate INVALID, DIVZERO and INEXACT
1606 exceptions.
1607
12667785
KT
16082020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1609
1610 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
1611 instead of getauxval.
1612 (AT_HWCAP): Define.
1613 (HWCAP_ATOMICS): Define.
1614 Guard detection on __gnu_linux__.
1615
ef836167
MM
16162020-05-05 Michael Meissner <meissner@linux.ibm.com>
1617
1618 * config.host: Delete changes meant for a private branch.
1619 * config/rs6000/t-float128: Likewise.
1620 * configure.ac: Likewise.
1621 * configure: Likewise.
1622
811b7636
ML
16232020-05-05 Martin Liska <mliska@suse.cz>
1624
1625 PR gcov-profile/93623
1626 * Makefile.in: Remove __gcov_flush.
1627 * gcov.h (__gcov_flush): Remove.
1628 * libgcov-interface.c (__gcov_flush): Remove.
1629 (init_mx): Use renamed mutex.
1630 (__gcov_lock): Likewise.
1631 (__gcov_unlock): Likewise.
1632 (__gcov_fork): Likewise.
1633 (__gcov_flush): Remove.
1634
c0532db4
ML
16352020-05-05 Martin Liska <mliska@suse.cz>
1636
1637 PR gcov-profile/93623
1638 * libgcov-interface.c (__gcov_fork): Do not flush
1639 and reset only in child process.
1640 (__gcov_execl): Dump counters only and reset them
1641 only if exec* fails.
1642 (__gcov_execlp): Likewise.
1643 (__gcov_execle): Likewise.
1644 (__gcov_execv): Likewise.
1645 (__gcov_execvp): Likewise.
1646 (__gcov_execve): Likewise.
1647
d39f7dc8
ML
16482020-05-05 Martin Liska <mliska@suse.cz>
1649
1650 PR gcov-profile/93623
1651 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
1652 * libgcov-interface.c (ALIAS_void_fn): Remove.
1653 (__gcov_lock): New.
1654 (__gcov_unlock): New.
1655 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
1656 (__gcov_reset): Likewise.
1657 (__gcov_dump): Likewise.
1658 * libgcov.h (__gcov_lock): New declaration.
1659 (__gcov_unlock): Likewise.
1660
afb9b710
UB
16612020-05-01 Uroš Bizjak <ubizjak@gmail.com>
1662
1663 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 1664 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
1665 generic division to generate INVALID and DIVZERO exceptions.
1666
66711279
SH
16672020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
1668
1669 * config/rs6000/crtresfpr.S: Use .machine ppc.
1670 * config/rs6000/crtresxfpr.S: Likewise.
1671 * config/rs6000/crtsavfpr.S: Likewise.
1672
fb22faf4
SN
16732020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
1674
1675 PR target/94514
1676 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1677 Update context->flags accroding to the frame state.
1678
df73e584
UB
16792020-04-19 Uroš Bizjak <ubizjak@gmail.com>
1680
1681 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
1682 Remove unneeded assignments to volatile memory.
1683
5b2f76e3
JJ
16842020-04-15 Jakub Jelinek <jakub@redhat.com>
1685
1686 PR target/93053
1687 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
1688 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
1689 is not defined, use just .arch armv8-a.
1690 (B, M, N, OPN): Define.
1691 (COMMENT): New .macro.
1692 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
1693 defined. Otherwise, move the operands right after the glue? and
1694 comment out operands where the macros are used.
1695 * configure: Regenerated.
1696 * config.in: Regenerated.
1697
50c78532
ILT
16982020-04-07 Ian Lance Taylor <iant@golang.org>
1699
1700 PR libgcc/94513
1701 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
1702 syscall instead.
1703
458ca332
ILT
17042020-04-04 Ian Lance Taylor <iant@golang.org>
1705
1706 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
1707
710d54ed
ILT
17082020-04-03 Ian Lance Taylor <iant@golang.org>
1709
1710 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
1711 than mmap/munmap, to avoid hooks.
1712
b749b5ec
JJ
17132020-04-03 Jim Johnston <jjohnst@us.ibm.com>
1714
1715 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
1716 (TPFRA_OFFSET): Macros removed.
1717 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
1718 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
1719 (PG3_SKIPPING_OFFSET): New macros.
1720 (__isPATrange): Use cinfc_fast for the check.
1721 (__isSkipResetAddr): New function.
1722 (s390_fallback_frame_state): Check for skip trace addresses. Use
1723 either ICST_CRET or ICST_SRET to calculate return address
1724 location.
1725 (__tpf_eh_return): Handle skip trace addresses.
1726
a9cd2d78
RE
17272020-03-26 Richard Earnshaw <rearnsha@arm.com>
1728
1729 PR target/94220
1730 * config/arm/lib1funcs.asm (COND): Use a single definition for
1731 unified syntax.
1732 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
1733 (aeabi_idivmod): Likewise.
1734 (divsi3_skip_div0_test): Likewise.
1735
f582ca0f
MI
17362020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
1737
1738 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
1739
068fe0a9
AK
17402020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
1741
1742 * config.host: Include the new makefile fragment.
1743 * config/s390/t-tpf: New file.
1744
6b9ce2b4
RE
17452020-03-03 Richard Earnshaw <rearnsha@arm.com>
1746
1747 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
1748 syntax.
1749 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
1750 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
1751 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
1752 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
1753 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
1754 syntax.
1755 (divsi3, modsi3): Likewise.
1756 (clzdi2, ctzsi2): Likewise.
1757 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
1758 unified syntax.
1759 (UNWIND_WRAPPER): Likewise.
1760
8dd5d8f3
ML
17612020-03-02 Martin Liska <mliska@suse.cz>
1762
1763 * libgcov-interface.c: Remove duplicate
1764 declaration of __gcov_flush_mx.
1765
ea0b1252
ML
17662020-02-18 Martin Liska <mliska@suse.cz>
1767
1768 PR ipa/92924
1769 * libgcov-merge.c (merge_topn_values_set): Record
1770 when a TOP N counter becomes invalid. When merging
1771 remove a smallest value if the space is needed.
1772
02ce382c
SL
17732020-02-12 Sandra Loosemore <sandra@codesourcery.com>
1774
1775 PR libstdc++/79193
1776 PR libstdc++/88999
1777
1778 * configure: Regenerated.
1779
7214fce3
JL
17802020-02-10 Jeff Law <law@redhat.com>
1781
1782 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
1783 sections.
1784 * config/frv/frvend.c: Similarly.
1785
cf0f07ef
L
17862020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1787
1788 PR libgcc/85334
1789 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1790 New.
1791
5602b48b
CL
17922020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
1793
1794 PR target/93615
1795 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
1796 _Unwind_gnu_Find_got.
1797 * unwind-pe.h: Likewise.
1798
811a475e
JJ
17992020-02-07 Jakub Jelinek <jakub@redhat.com>
1800
1801 PR target/93615
1802 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
1803 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
1804 trailing :s in asm. Formatting fixes.
1805 (_Unwind_decode_typeinfo_ptr): Adjust caller.
1806
2d33dcfe
SL
18072020-01-31 Sandra Loosemore <sandra@codesourcery.com>
1808
1809 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
1810
1811 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
1812 * config/nios2-elf-lib.h: New.
1813 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
1814 code for finding GOT base for nios2.
1815
3ae37f92
ML
18162020-01-27 Martin Liska <mliska@suse.cz>
1817
1818 PR gcov-profile/93403
1819 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
1820 Call __gcov_indirect_call_profiler_body.
1821 (__gcov_indirect_call_profiler_body): New.
1822 (__gcov_indirect_call_profiler_v4_atomic): New.
1823 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
1824 New declaration.
1825
2744b8b2
CZ
18262020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
1827
1828 * config/arc/crti.S: Add RF16 object attribute.
1829 * config/arc/crtn.S: Likewise.
1830 * config/arc/crttls.S: Likewise.
1831 * config/arc/lib1funcs.S: Likewise.
1832 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
1833 * config/arc/lib2funcs.c: New file.
1834 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
1835
e8e66971
MR
18362020-01-24 Maciej W. Rozycki <macro@wdc.com>
1837
1838 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
1839 * configure.ac: Handle `--with-toolexeclibdir='.
1840 * configure: Regenerate.
1841
54b3d52c
DM
18422020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1843
1844 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
1845
a3c1e1f2
DM
18462020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
1847
1848 * config/mips/gnustack.h: New file.
1849 * config/mips/crti.S: Include gnustack.h.
1850 * config/mips/crtn.S: Likewise.
1851 * config/mips/mips16.S: Likewise.
1852 * config/mips/vr4120-div.S: Likewise.
1853
e9ee848d
ML
18542020-01-23 Martin Liska <mliska@suse.cz>
1855
1856 * libgcov-driver.c (prune_topn_counter): Remove
1857 check for -1 as we only prune run-time counters
1858 that do not generate an invalid state.
1859
7491c17f
ML
18602020-01-22 Martin Liska <mliska@suse.cz>
1861
1862 PR tree-optimization/92924
1863 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
1864 try to find an existing value, then find an empty slot
1865 if not found.
1866
5f32f9cf
ML
18672020-01-22 Martin Liska <mliska@suse.cz>
1868
1869 PR tree-optimization/92924
1870 * libgcov-driver.c (prune_topn_counter): New.
1871 (prune_counters): Likewise.
1872 (dump_one_gcov): Prune a run-time counter.
1873 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
1874 For a known value, add GCOV_TOPN_VALUES to value.
1875 Otherwise, decrement all counters by one.
1876
463f6499
HPN
18772020-01-18 Hans-Peter Nilsson <hp@axis.com>
1878
1879 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
1880
84479e3a
JDA
18812020-01-18 John David Anglin <danglin@gcc.gnu.org>
1882
1883 PR libgcc/92988
1884 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
1885 DEFAULT_USE_CXA_ATEXIT is true.
1886
e953433f 18872020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 1888 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
1889
1890 * config/arm/t-arm: Check return value of gcc rather than lack of
1891 output.
1892
03e87724
GJL
18932020-01-14 Georg-Johann Lay <avr@gjlay.de>
1894
1895 * config/avr/lib1funcs.S (skip): Simplify.
1896
af9bd920
KCY
18972020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
1898
1899 * config/gcn/atomic.c: Remove include of stdint.h.
1900 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
1901 __UINTPTR_TYPE__.
1902
d6491d15
KCY
19032020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
1904
1905 * config/gcn/atomic.c: New.
1906 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1907
f30dd607
GJL
19082020-01-08 Georg-Johann Lay <avr@gjlay.de>
1909
1910 Implement 64-bit double functions.
1911
1912 PR target/92055
1913 * config.host (tmake_file) [target=avr]: Add t-libf7,
1914 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1915 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1916 depending on sizeof (double) or sizeof (long double).
1917 * config/avr/libf7: New folder.
1918
5205a445
OH
19192020-01-05 Olivier Hainque <hainque@adacore.com>
1920
1921 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1922 by IN_LIBGCC2.
1923
8d9254fc
JJ
19242020-01-01 Jakub Jelinek <jakub@redhat.com>
1925
1926 Update copyright years.
1927
abb6c3ee
OH
19282019-12-30 Olivier Hainque <hainque@adacore.com>
1929
1930 * config/gthr-vxworks.h: Use _vxworks-versions.h.
1931 * config/gthr-vxworks-tls.c: Likewise.
1932
d7f5094a
OH
19332019-12-30 Olivier Hainque <hainque@adacore.com>
1934
1935 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1936 standard zero-initializer syntax.
1937
49cfaa2a
OH
19382019-12-30 Olivier Hainque <hainque@adacore.com>
1939
1940 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1941 reference to the internal VX_GET_TLS_DATA interface.
1942
89b9a554
OH
19432019-12-30 Olivier Hainque <hainque@adacore.com>
1944
1945 * config/vxcrtstuff.c: Fix incorrect spelling of
1946 USE_INITFINI_ARRAY in guard.
1947
e8aa9f55
JL
19482019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1949
1950 * config.host: s/msp430*-*-elf/msp430-*-elf*.
1951 Override default "extra_parts" variable.
1952 * configure: Regenerate.
1953 * configure.ac: Disable TM clone registry by default for
1954 msp430-elfbare.
1955
a9046e98
JL
19562019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1957
1958 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1959 "extra_parts".
1960 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1961
34a53788
JL
19622019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1963
1964 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1965 true.
1966
21a098f4
JL
19672019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1968
1969 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1970 defined instead of its value.
1971
ad8b7783
JL
19722019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1973
1974 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1975 if it will have contents.
1976
08d7ff78
GJL
19772019-12-05 Georg-Johann Lay <avr@gjlay.de>
1978
1979 PR target/92055
1980 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1981
3d3a96a2
SN
19822019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1983
34b4d99d 1984 PR libgcc/91737
3d3a96a2
SN
1985 * config.host: Add t-gthr-noweak on *-*-musl*.
1986 * config/t-gthr-noweak: New file.
1987
632b5e3d
JDA
19882019-11-17 John David Anglin <danglin@gcc.gnu.org>
1989
1990 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1991 volatile void *. Remove trap check.
1992 (__kernel_cmpxchg2): Likewise.
1993 (FETCH_AND_OP_2): Adjust operand types.
1994 (OP_AND_FETCH_2): Likewise.
1995 (FETCH_AND_OP_WORD): Likewise.
1996 (OP_AND_FETCH_WORD): Likewise.
1997 (COMPARE_AND_SWAP_2): Likewise.
1998 (__sync_val_compare_and_swap_4): Likewise.
1999 (__sync_bool_compare_and_swap_4): Likewise.
2000 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2001 (__sync_lock_test_and_set_4): Likewise.
2002 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
2003 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
2004 for release.
2005 (__sync_lock_release_8): Remove.
2006
838fd641
SN
20072019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
2008
2009 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2010 of __sigset_t.
2011
27204060
JL
20122019-11-14 Jerome Lambourg <lambourg@adacore.com>
2013 Doug Rupp <rupp@adacore.com>
2014 Olivier Hainque <hainque@adacore.com>
2015
2016 * config.host: Collapse the arm-vxworks entries into
2017 a single arm-wrs-vxworks7* one.
2018 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
2019 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2020 kernel modules, to be overriden by libstdc++ when we link with
2021 it. Rely on externally provided __exidx_start/end.
2022
3004f893
DR
20232019-11-14 Doug Rupp <rupp@adacore.com>
2024 Olivier Hainque <hainque@adacore.com>
2025
2026 * config.host: Handle aarch64*-wrs-vxworks7*.
2027
36e5f4d4
OH
20282019-11-12 Olivier Hainque <hainque@adacore.com>
2029
2030 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2031 sources except the cxx0x support to LIB2ADDEH. We don't support
2032 cxx0x on AE/653.
2033 * config/t-vxworksae: New file.
2034 * config.host: Handle *-*-vxworksae: Add the two aforementioned
2035 Makefile fragment files at their expected position in the tmake_file
2036 list, in accordance with what is done for other VxWorks variants.
2037
806dd047
CG
20382019-11-12 Corentin Gay <gay@adacore.com>
2039 Jerome Lambourg <lambourg@adacore.com>
2040 Olivier Hainque <hainque@adacore.com>
2041
2042 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2043 sources to LIB2ADDEH.
2044 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2045 * config/t-vxworks7: Likewise.
2046
2047 * config.host: Append a block at the end of the file to add the
2048 t-gthr files to the tmake_file list for VxWorks after everything
2049 else.
2050
2051 * config/vxlib.c: Rename as gthr-vxworks.c.
2052 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2053
2054 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
2055 API and a basic error checking API, both internal. Simplify the
2056 __gthread_once_t type definition and initializers. Add sections
2057 for condition variables support and for the C++0x thread support,
2058 conditioned against Vx653 for the latter.
2059
2060 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2061 implementation, leveraging the TAS internal API.
2062 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2063 API, leveraging the general availability of TLS services in VxWorks7
2064 post SR6xxx.
2065 (__gthread_setspecific, __gthread_setspecific): Use it.
2066 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2067 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
2068 support based on VxWorks primitives.
2069 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
2070 based on VxWorks primitives.
2071
78e49fb1
JL
20722019-11-06 Jerome Lambourg <lambourg@adacore.com>
2073 Olivier Hainque <hainque@adacore.com>
2074
2075 * config/vxcrtstuff.c: New file.
2076 * config/t-vxcrtstuff: New Makefile fragment.
2077 * config.host: Append t-vxcrtstuff to the tmake_file list
2078 on all VxWorks ports using dwarf for table based EH.
2079
29f3def3
GJL
20802019-11-07 Georg-Johann Lay <avr@gjlay.de>
2081
2082 Support 64-bit double and 64-bit long double configurations.
2083
2084 PR target/92055
2085 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2086 long double is a 32-bit type.
2087 * config/avr/t-avrlibc: Copy double64 and long-double64
2088 multilib(s) from the vanilla one.
2089 * config/avr/t-copy-libgcc: New Makefile snip.
2090
62ec242e
JL
20912019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2092
2093 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2094 the target output object format is not ELF.
2095 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2096
da5c1bbe
OE
20972019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
2098
2099 PR libgcc/78804
2100 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2101 * fp-bit.c (pack_d, unpack_d): Remove special cases for
2102 FLOAT_BIT_ORDER_MISMATCH.
2103 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2104
8dc56a22
JW
21052019-11-01 Jim Wilson <jimw@sifive.com>
2106
2107 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2108
91c64455
JL
21092019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2110
2111 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2112 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
2113 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2114 Define symbols for 32-bit and f5series hardware multiply
2115 register addresses.
2116 Replace hard-coded register addresses with symbols.
2117 Fix "_mspabi*" typo.
2118 Fix whitespace.
2119 * config/msp430/lib2mul.c: Add comment.
2120
85093ac6
JDA
21212019-10-15 John David Anglin <danglin@gcc.gnu.org>
2122
2123 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2124 unsigned int. Adjust callers.
2125 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2126 unsigned int *. Load relocation offset before function pointer.
2127 Add barrier to ensure ordering.
2128
1aea083d
JDA
21292019-10-12 John David Anglin <danglin@gcc.gnu.org>
2130
2131 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2132 Load PIC register after branch target. Fix white space.
2133 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2134 implementations. Load PIC register after branch target. Don't
2135 clobber function pointer when it points to function descriptor.
2136 Use nullification instead of branch in LINUX implementation.
2137
c49af82c
JDA
21382019-10-03 John David Anglin <danglin@gcc.gnu.org>
2139
2140 * config/pa/fptr.c: Disable -Warray-bounds warning.
2141
88a51d68
RH
21422019-09-25 Richard Henderson <richard.henderson@linaro.org>
2143
9e46fd07
RH
2144 * config.in, configure: Re-rebuild with stock autoconf 2.69,
2145 not the ubuntu modified 2.69.
2146
58d169ba
RH
2147 PR target/91833
2148 * config/aarch64/lse-init.c: Include auto-target.h. Disable
2149 initialization if !HAVE_SYS_AUXV_H.
2150 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
2151 * config.in, configure: Rebuild.
2152
88a51d68
RH
2153 PR target/91834
2154 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
2155 overlap the inputs.
2156
761e6bb9
SZ
21572019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
2158
2159 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
2160 CTR_EL0.IDC and CTR_EL0.DIC.
2161
76c93295
CL
21622019-09-20 Christophe Lyon <christophe.lyon@st.com>
2163
2164 Revert:
2165 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
2166 Mickaël Guêné <mickael.guene@st.com>
2167
2168 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2169 architecture.
2170
33befddc
RH
21712019-09-19 Richard Henderson <richard.henderson@linaro.org>
2172
2173 * config/aarch64/lse-init.c: New file.
2174 * config/aarch64/lse.S: New file.
2175 * config/aarch64/t-lse: New file.
2176 * config.host: Add t-lse to all aarch64 tuples.
2177
ae1152e5
CL
21782019-09-10 Christophe Lyon <christophe.lyon@st.com>
2179 Mickaël Guêné <mickael.guene@st.com>
2180
84818dbb
CL
2181 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
2182 architecture.
2183
21842019-09-10 Christophe Lyon <christophe.lyon@st.com>
2185 Mickaël Guêné <mickael.guene@st.com>
2186
ae1152e5
CL
2187 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
2188 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
2189 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
2190 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
2191 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
2192 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
2193 (__gnu_personality_sigframe_fdpic): New.
2194 (get_eit_entry): Add FDPIC signal frame support.
2195
5d727a4b
CL
21962019-09-10 Christophe Lyon <christophe.lyon@st.com>
2197 Mickaël Guêné <mickael.guene@st.com>
2198
2199 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
2200 (__kernel_dmb): Likewise.
2201 (__fdpic_cmpxchg): New function.
2202 (__fdpic_dmb): New function.
2203 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
2204 (gnu_Unwind_Find_got): New function.
2205 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
2206 * unwind-arm-common.inc (UCB_PR_GOT): New.
2207 (funcdesc_t): New struct.
2208 (get_eit_entry): Add FDPIC support.
2209 (unwind_phase2): Likewise.
2210 (unwind_phase2_forced): Likewise.
2211 (__gnu_Unwind_RaiseException): Likewise.
2212 (__gnu_Unwind_Resume): Likewise.
2213 (__gnu_Unwind_Backtrace): Likewise.
2214 * unwind-pe.h (read_encoded_value_with_base): Likewise.
2215
b1e21e5a 22162019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 2217 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 2218
11189793
CL
2219 * libgcc/crtstuff.c: Add support for FDPIC.
2220
22212019-09-10 Christophe Lyon <christophe.lyon@st.com>
2222
2223 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 2224
91dfef96
JM
22252019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
2226
2227 * config.host: Set cpu_type for bpf-*-* targets.
2228 * config/bpf/t-bpf: Likewise.
2229 * config/bpf/crtn.S: Likewise.
2230 * config/bpf/crti.S: New file.
2231
2f4d8951
JW
22322019-09-06 Jim Wilson <jimw@sifive.com>
2233
2234 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2235 (riscv*-*-freebsd*): Likewise.
2236
2f2aeda9
UW
22372019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
2238
2239 * config.host: Remove references to spu.
2240 * config/spu/: Remove directory.
2241
d16017da
JL
22422019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2243
2244 PR target/91306
2245 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
2246 element type, instead of "sizeof" the element type.
2247 (__DTOR_LIST__): Likewise.
2248 (__TMC_LIST__): Likewise.
2249 (__do_global_dtors_aux_fini_array_entry): Likewise.
2250 (__frame_dummy_init_array_entry): Likewise.
2251 (__CTOR_END__): Likewise.
2252 (__DTOR_END__): Likweise.
2253 (__FRAME_END__): Likewise.
2254 (__TMC_END__): Likewise.
2255
a9fcfec3
HL
22562019-08-20 Lili Cui <lilicui@intel.com>
2257
2258 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
2259 INTEL_COREI7_COOPERLAKE.
2260
428642b1
MT
22612019-07-31 Matt Thomas <matt@3am-software.com>
2262 Nick Hudson <nick@nthcliff.demon.co.uk>
2263 Matthew Green <mrg@eterna.com.au>
2264 Maya Rashish <coypu@sdf.org>
2265
2266 * config.host (hppa*-*-netbsd*): New case.
2267 * config/pa/t-netbsd: New file.
2268
f0efd925
JH
22692019-07-31 Joel Hutton <Joel.Hutton@arm.com>
2270
2271 * config/arm/cmse.c (cmse_check_address_range): Add
2272 warn_unused_result attribute.
2273
a861990d
ML
22742019-07-22 Martin Liska <mliska@suse.cz>
2275
2276 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
2277 * config/pa/t-stublib: Likewise.
2278
9c0dba7c
SH
22792019-07-22 Stafford Horne <shorne@gmail.com>
2280
2281 PR target/90362
2282 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
2283 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
2284 instructions are not available on every processor. Change a
2285 l.bnf to l.bf to fix logic issue.
2286
61afc8f8
IS
22872019-07-04 Iain Sandoe <iain@sandoe.co.uk>
2288
2289 * config.host: Remove reference to t-darwin8.
2290
179c7ef5
IS
22912019-07-03 Iain Sandoe <iain@sandoe.co.uk>
2292
2293 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
2294 list.
2295 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
2296 mmacosx-version-min for crts to run across all system versions.
2297 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
2298 * config/t-darwin: Revise mmacosx-version-min for crts to run across
2299 system versions >= 10.4.
2300
596341c7
ML
23012019-07-03 Martin Liska <mliska@suse.cz>
2302
2303 * Makefile.in: Use topn_values instead of one_value names.
2304 * libgcov-merge.c (__gcov_merge_single): Move to ...
2305 (__gcov_merge_topn): ... this.
2306 (merge_single_value_set): Move to ...
2307 (merge_topn_values_set): ... this.
2308 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
2309 ...
2310 (__gcov_topn_values_profiler_body): ... this.
2311 (__gcov_one_value_profiler_v2): Move to ...
2312 (__gcov_topn_values_profiler): ... this.
2313 (__gcov_one_value_profiler_v2_atomic): Move to ...
2314 (__gcov_topn_values_profiler_atomic): ... this.
2315 (__gcov_indirect_call_profiler_v4): Remove.
2316 * libgcov-util.c (__gcov_single_counter_op): Move to ...
2317 (__gcov_topn_counter_op): ... this.
2318 * libgcov.h (L_gcov_merge_single): Remove.
2319 (L_gcov_merge_topn): New.
2320 (__gcov_merge_single): Remove.
2321 (__gcov_merge_topn): New.
2322 (__gcov_one_value_profiler_v2): Move to ..
2323 (__gcov_topn_values_profiler): ... this.
2324 (__gcov_one_value_profiler_v2_atomic): Move to ...
2325 (__gcov_topn_values_profiler_atomic): ... this.
2326
1b309ca5
ML
23272019-07-03 Martin Liska <mliska@suse.cz>
2328
2329 * libgcov-merge.c (merge_single_value_set): Support N values.
2330 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
2331
5a460280
ID
23322019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
2333
2334 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
2335 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
2336 * configure.ac: Add --disable-tm-clone-registry option.
2337 * configure: Regenerate.
2338
45309d28
ML
23392019-06-27 Martin Liska <mliska@suse.cz>
2340
2341 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
2342 dead assignments.
2343 * libgcov-util.c: Likewise.
2344
c2f7a665
ML
23452019-06-27 Martin Liska <mliska@suse.cz>
2346
2347 * libgcov-util.c (gcov_profile_merge): Release allocated
2348 memory.
2349 (calculate_overlap): Likewise.
2350
a8e55c61
IS
23512019-06-25 Iain Sandoe <iain@sandoe.co.uk>
2352
2353 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
2354 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
2355 Build objects for the out of line save/restore register functions
2356 so that they can be used for any supported Darwin version.
2357 * config/t-darwin: Default the build Darwin version to Darwin8
2358 (MacOS 10.4).
2359
e5ce4cbc
ML
23602019-06-25 Martin Liska <mliska@suse.cz>
2361
2362 * libgcov-driver-system.c (replace_filename_variables): Do not
2363 call strlen with NULL argument.
2364
52a47d28
AS
23652019-06-25 Andrew Stubbs <ams@codesourcery.com>
2366
2367 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
2368 * config/gcn/unwind-gcn.c: New file.
2369
76d46331
KCY
23702019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
2371 Andrew Stubbs <ams@codesourcery.com>
2372
2373 * configure: Regenerate.
2374 * config/gcn/gthr-gcn.h: New.
2375
787783a0
TV
23762019-06-18 Tom de Vries <tdevries@suse.de>
2377
2378 * config/nvptx/crt0.c (__main): Declare.
2379
f32f7585
MG
23802019-06-17 Matthew Green <mrg@eterna.com.au>
2381 Maya Rashish <coypu@sdf.org>
2382
2383 * config.host (aarch64*-*-netbsd*): New case.
2384
0fcc78f7
JL
23852019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2386
2387 * config/msp430/slli.S (__mspabi_sllll): New library function for
2388 performing a logical left shift of a 64-bit value.
2389 * config/msp430/srai.S (__mspabi_srall): New library function for
2390 performing a arithmetic right shift of a 64-bit value.
2391 * config/msp430/srll.S (__mspabi_srlll): New library function for
2392 performing a logical right shift of a 64-bit value.
2393
b27c1082
MT
23942019-06-14 Matt Thomas <matt@3am-software.com>
2395 Matthew Green <mrg@eterna.com.au>
2396 Nick Hudson <skrll@netbsd.org>
2397 Maya Rashish <coypu@sdf.org>
2398
2399 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
2400 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
2401 functions to build.
2402 * config/arm/t-netbsd-eabi: New file.
2403
ae7deb4b
DD
24042019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
2405
2406 * config.host: Add PRU target.
2407 * config/pru/asri.c: New file.
2408 * config/pru/eqd.c: New file.
2409 * config/pru/eqf.c: New file.
2410 * config/pru/ged.c: New file.
2411 * config/pru/gef.c: New file.
2412 * config/pru/gtd.c: New file.
2413 * config/pru/gtf.c: New file.
2414 * config/pru/led.c: New file.
2415 * config/pru/lef.c: New file.
2416 * config/pru/lib2bitcountHI.c: New file.
2417 * config/pru/lib2divHI.c: New file.
2418 * config/pru/lib2divQI.c: New file.
2419 * config/pru/lib2divSI.c: New file.
2420 * config/pru/libgcc-eabi.ver: New file.
2421 * config/pru/ltd.c: New file.
2422 * config/pru/ltf.c: New file.
2423 * config/pru/mpyll.S: New file.
2424 * config/pru/pru-abi.h: New file.
2425 * config/pru/pru-asm.h: New file.
2426 * config/pru/pru-divmod.h: New file.
2427 * config/pru/sfp-machine.h: New file.
2428 * config/pru/t-pru: New file.
2429
0d7b3e47
JJ
24302019-06-11 Jakub Jelinek <jakub@redhat.com>
2431
2432 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
2433
54e2d83c
ML
24342019-06-10 Martin Liska <mliska@suse.cz>
2435
2436 PR bootstrap/90808
2437 * libgcov.h: Add ATTRIBUTE_UNUSED.
2438
92d41717
ML
24392019-06-10 Martin Liska <mliska@suse.cz>
2440
2441 * Makefile.in: Add __gcov_one_value_profiler_v2,
2442 __gcov_one_value_profiler_v2_atomic and
2443 __gcov_indirect_call_profiler_v4.
2444 * libgcov-merge.c (__gcov_merge_single): Change
2445 function signature.
2446 (merge_single_value_set): New.
2447 * libgcov-profiler.c (__gcov_one_value_profiler_body):
2448 Update functionality.
2449 (__gcov_one_value_profiler): Remove.
2450 (__gcov_one_value_profiler_v2): ... this.
2451 (__gcov_one_value_profiler_atomic): Rename to ...
2452 (__gcov_one_value_profiler_v2_atomic): this.
2453 (__gcov_indirect_call_profiler_v3): Rename to ...
2454 (__gcov_indirect_call_profiler_v4): ... this.
2455 * libgcov.h (__gcov_one_value_profiler): Remove.
2456 (__gcov_one_value_profiler_atomic): Remove.
2457 (__gcov_one_value_profiler_v2_atomic): New.
2458 (__gcov_indirect_call_profiler_v3): Remove.
2459 (__gcov_one_value_profiler_v2): New.
2460 (__gcov_indirect_call_profiler_v4): New.
2461 (gcov_get_counter_ignore_scaling): New function.
2462
e37333ba
ML
24632019-06-07 Martin Liska <mliska@suse.cz>
2464
2465 * Makefile.in: Remove usage of
2466 _gcov_merge_icall_topn.
2467 * libgcov-driver.c (gcov_sort_n_vals): Remove.
2468 (gcov_sort_icall_topn_counter): Likewise.
2469 (gcov_sort_topn_counter_arrays): Likewise.
2470 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
2471 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
2472 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
2473 Likewise.
2474 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
2475 (struct indirect_call_tuple): Remove.
2476 (__gcov_indirect_call_topn_profiler): Remove.
2477 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
2478 * libgcov.h (gcov_sort_n_vals): Remove.
2479 (L_gcov_merge_icall_topn): Likewise.
2480 (__gcov_merge_icall_topn): Likewise.
2481 (__gcov_indirect_call_topn_profiler): Likewise.
2482
34a4a9c2
IS
24832019-06-06 Iain Sandoe <iain@sandoe.co.uk>
2484
2485 * config/rs6000/t-darwin: Ensure that the unwinder is built with
2486 altivec enabled.
2487
d1b2f85f
JL
24882019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2489
2490 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
2491 section.
2492 (__mspabi_slli): Likewise.
2493 (__mspabi_slll_n): Likewise.
2494 (__mspabi_slll): Likewise.
2495 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
2496 (__mspabi_srai): Likewise.
2497 (__mspabi_sral_n): Likewise.
2498 (__mspabi_sral): Likewise.
2499 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
2500 (__mspabi_srli): Likewise.
2501 (__mspabi_srll_n): Likewise.
2502 (__mspabi_srll): Likewise.
2503
e69a13d1
YS
25042019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
2505
2506 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
2507 Add appropriate tm_file clause as well.
2508 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
2509
b009eac1
JC
25102019-06-05 James Clarke <jrtc27@jrtc27.com>
2511
2512 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
2513 rather than .data/.bss so it can be accessed via gp-relative
2514 addressing.
2515
781d39f2
DE
25162019-06-05 David Edelsohn <dje.gcc@gmail.com>
2517
2518 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
2519 (CR2_REGNO): Rename to R_CR2.
2520 (XER_REGNO): Rename to R_XER.
2521 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
2522 (VRSAVE_REGNO): Rename to R_VRSAVE.
2523 (VSCR_REGNO): R_VSCR.
2524
76aaa9cd
YS
25252019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
2526
2527 * config.host (rx-*-linux*): Add new case.
2528 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
2529
8fc16d72
ST
25302019-05-29 Sam Tebbs <sam.tebbs@arm.com>
2531
2532 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
2533 function.
2534 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
2535 aarch64_post_frob_eh_handler_addr): Add check for b-key.
2536 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
2537 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
2538 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
2539 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
2540 string.
2541 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
2542 string.
2543 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
2544
e54b1a92
RO
25452019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2546
2547 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
2548 Remove Solaris 9 and 10 support.
2549 (sparc_is_sighandler): Likewise.
2550
abbb8307
JDA
25512019-05-26 John David Anglin <danglin@gcc.gnu.org>
2552
2553 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2554
2581344d
L
25552019-05-17 H.J. Lu <hongjiu.lu@intel.com>
2556
2557 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
2558 4_FP_W_TYPEs are used for IEEE quad precision.
2559 * soft-fp/extendhftf2.c: Likewise.
2560 * soft-fp/extendsftf2.c: Likewise.
2561 * soft-fp/extendxftf2.c: Likewise.
2562 * soft-fp/trunctfdf2.c: Likewise.
2563 * soft-fp/trunctfhf2.c: Likewise.
2564 * soft-fp/trunctfsf2.c: Likewise.
2565 * soft-fp/trunctfxf2.c: Likewise.
2566 * config/rs6000/ibm-ldouble.c: Likewise.
2567
ccd1242e
RO
25682019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2569
2570 * config.host: Simplify various *-*-solaris2.1[0-9]* to
2571 *-*-solaris2*.
2572 * configure.ac: Likewise.
2573 * configure: Regenerate.
2574
2575 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2576 Solaris 10 and Solaris 11 < snv_125 handling.
2577
ef5eb79d
IS
25782019-05-12 Iain Sandoe <iain@sandoe.co.uk>
2579
2580 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
2581
4f0e90fa
HL
25822019-05-07 Hongtao Liu <hongtao.liu@intel.com>
2583
2584 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
2585 * config/i386/cpuinfo.h (enum processor_features): Add
2586 FEATURE_AVX512BF16.
2587
48528842
RR
25882019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2589 Bernd Edlinger <bernd.edlinger@hotmail.de>
2590 Jakub Jelinek <jakub@redhat.com>
2591
2592 PR target/89093
2593 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
2594 * config/arm/unwind-arm.c: Likewise.
2595 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
2596 attribute for ARM.
2597
887e182f
MC
25982019-04-15 Monk Chiang <sh.chiang04@gmail.com>
2599
2600 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
2601 (RT_SIGRETURN): Update.
2602 (nds32_fallback_frame_state): Update.
2603
a90b0cdd
MS
26042019-02-21 Martin Sebor <msebor@redhat.com>
2605
2606 * libgcc2.h (__clear_cache): Correct signature.
2607 * libgcc2.c (__clear_cache): Same.
2608
1ed28eda
UB
26092019-02-20 Uroš Bizjak <ubizjak@gmail.com>
2610
2611 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
2612 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
2613
fe95aee9
UB
26142019-02-19 Uroš Bizjak <ubizjak@gmail.com>
2615
2616 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
2617 regno instead of index to DWARF_ZERO_REG.
2618
bf7988f1
EB
26192019-02-15 Eric Botcazou <ebotcazou@adacore.com>
2620
2621 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
2622 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
2623
ba2c1ca8
UB
26242019-01-31 Uroš Bizjak <ubizjak@gmail.com>
2625
2626 * config/alpha/t-linux: Add -mfp-rounding-mode=d
2627 to HOST_LIBGCC2_CFLAGS.
2628
6395ba73
L
26292019-01-23 Joseph Myers <joseph@codesourcery.com>
2630
2631 PR libgcc/88931
ba2c1ca8 2632 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 2633
756721ba
ML
26342019-01-18 Martin Liska <mliska@suse.cz>
2635
2636 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
2637 to ...
2638 (__gcov_indirect_call_profiler_v3): ... this.
2639 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
2640 (__gcov_indirect_call_profiler_v3): Likewise.
2641 * Makefile.in: Bump function name.
2642
d273c40a
ML
26432019-01-18 Martin Liska <mliska@suse.cz>
2644
2645 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
2646 (gcov_version): Use in gcov_error.
2647 (merge_one_data): Likewise.
2648 (dump_one_gcov): Likewise.
2649
be9d9fdb
ML
26502019-01-18 Martin Liska <mliska@suse.cz>
2651
2652 * libgcov-driver.c (gcov_version_string): New function.
2653 (gcov_version): Convert version integer into string.
2654
91d7b7fe
AS
26552019-01-17 Andrew Stubbs <ams@codesourcery.com>
2656 Kwok Cheung Yeung <kcy@codesourcery.com>
2657 Julian Brown <julian@codesourcery.com>
2658 Tom de Vries <tom@codesourcery.com>
2659
2660 * config.host: Recognize amdgcn*-*-amdhsa.
2661 * config/gcn/crt0.c: New file.
2662 * config/gcn/lib2-divmod-hi.c: New file.
2663 * config/gcn/lib2-divmod.c: New file.
2664 * config/gcn/lib2-gcn.h: New file.
2665 * config/gcn/sfp-machine.h: New file.
2666 * config/gcn/t-amdgcn: New file.
2667
67914693
SL
26682019-01-09 Sandra Loosemore <sandra@codesourcery.com>
2669
2670 PR other/16615
2671
2672 * config/c6x/libunwind.S: Mechanically replace "can not" with
2673 "cannot".
2674 * config/tilepro/atomic.h: Likewise.
2675 * config/vxlib-tls.c: Likewise.
2676 * generic-morestack-thread.c: Likewise.
2677 * generic-morestack.c: Likewise.
2678 * mkmap-symver.awk: Likewise.
2679
a5544970
JJ
26802019-01-01 Jakub Jelinek <jakub@redhat.com>
2681
2682 Update copyright years.
2683
da77eace
L
26842018-12-20 H.J. Lu <hongjiu.lu@intel.com>
2685
2686 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
2687 to ignore -Waddress-of-packed-member.
2688
72e3a529
TP
26892018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
2690
2691 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
2692 parameter and corresponding code.
2693 (ARM_FUNC_START): Likewise in both definitions.
2694 Also update footer comment about condition that need to match with
2695 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
2696 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
2697 defined. Weakly define it in this case.
2698 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
2699 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
2700 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
2701 comment to keep condition in sync with the one in
2702 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
2703
5d54c798
WX
27042018-12-18 Wei Xiao <wei3.xiao@intel.com>
2705
2706 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
2707 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
2708
5a2580b6
RV
27092018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2710
2711 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
2712 and .cfi_endproc directives for VxWorks targets.
2713
c0c5112b
PK
27142018-12-05 Paul Koning <ni1d@arrl.net>
2715
2716 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
2717
1ea7ea18
AM
27182018-11-27 Alan Modra <amodra@gmail.com>
2719
2720 * config/rs6000/morestack.S (__stack_split_initialize),
2721 (__morestack_get_guard, __morestack_set_guard),
2722 (__morestack_make_guard): Provide CFI covering these functions.
2723 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
2724
ff641ae1
XQ
27252018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2726
1ea7ea18 2727 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
2728 (sc_pt_regs_lr): Update for kernel.
2729 (sc_pt_regs_tls): Update for kernel.
2730
28209372
XQ
27312018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
2732
2733 * config/csky/linux-unwind.h: Fix coding style.
2734
b2a71af6
XQ
27352018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
2736
2737 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 2738 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
2739 instructions to adapt to changes in the kernel
2740
d929e137
SH
27412018-11-09 Stafford Horne <shorne@gmail.com>
2742 Richard Henderson <rth@twiddle.net>
2743
2744 * config.host: Add OpenRISC support.
2745 * config/or1k/*: New.
2746
222cfefa
KC
27472018-11-08 Kito Cheng <kito@andestech.com>
2748
2749 * soft-fp/adddf3.c: Update from glibc.
2750 * soft-fp/addsf3.c: Likewise.
2751 * soft-fp/addtf3.c: Likewise.
2752 * soft-fp/divdf3.c: Likewise.
2753 * soft-fp/divsf3.c: Likewise.
2754 * soft-fp/divtf3.c: Likewise.
2755 * soft-fp/double.h: Likewise.
2756 * soft-fp/eqdf2.c: Likewise.
2757 * soft-fp/eqsf2.c: Likewise.
2758 * soft-fp/eqtf2.c: Likewise.
2759 * soft-fp/extenddftf2.c: Likewise.
2760 * soft-fp/extended.h: Likewise.
2761 * soft-fp/extendhftf2.c: Likewise.
2762 * soft-fp/extendsfdf2.c: Likewise.
2763 * soft-fp/extendsftf2.c: Likewise.
2764 * soft-fp/extendxftf2.c: Likewise.
2765 * soft-fp/fixdfdi.c: Likewise.
2766 * soft-fp/fixdfsi.c: Likewise.
2767 * soft-fp/fixdfti.c: Likewise.
2768 * soft-fp/fixhfti.c: Likewise.
2769 * soft-fp/fixsfdi.c: Likewise.
2770 * soft-fp/fixsfsi.c: Likewise.
2771 * soft-fp/fixsfti.c: Likewise.
2772 * soft-fp/fixtfdi.c: Likewise.
2773 * soft-fp/fixtfsi.c: Likewise.
2774 * soft-fp/fixtfti.c: Likewise.
2775 * soft-fp/fixunsdfdi.c: Likewise.
2776 * soft-fp/fixunsdfsi.c: Likewise.
2777 * soft-fp/fixunsdfti.c: Likewise.
2778 * soft-fp/fixunshfti.c: Likewise.
2779 * soft-fp/fixunssfdi.c: Likewise.
2780 * soft-fp/fixunssfsi.c: Likewise.
2781 * soft-fp/fixunssfti.c: Likewise.
2782 * soft-fp/fixunstfdi.c: Likewise.
2783 * soft-fp/fixunstfsi.c: Likewise.
2784 * soft-fp/fixunstfti.c: Likewise.
2785 * soft-fp/floatdidf.c: Likewise.
2786 * soft-fp/floatdisf.c: Likewise.
2787 * soft-fp/floatditf.c: Likewise.
2788 * soft-fp/floatsidf.c: Likewise.
2789 * soft-fp/floatsisf.c: Likewise.
2790 * soft-fp/floatsitf.c: Likewise.
2791 * soft-fp/floattidf.c: Likewise.
2792 * soft-fp/floattihf.c: Likewise.
2793 * soft-fp/floattisf.c: Likewise.
2794 * soft-fp/floattitf.c: Likewise.
2795 * soft-fp/floatundidf.c: Likewise.
2796 * soft-fp/floatundisf.c: Likewise.
2797 * soft-fp/floatunditf.c: Likewise.
2798 * soft-fp/floatunsidf.c: Likewise.
2799 * soft-fp/floatunsisf.c: Likewise.
2800 * soft-fp/floatunsitf.c: Likewise.
2801 * soft-fp/floatuntidf.c: Likewise.
2802 * soft-fp/floatuntihf.c: Likewise.
2803 * soft-fp/floatuntisf.c: Likewise.
2804 * soft-fp/floatuntitf.c: Likewise.
2805 * soft-fp/gedf2.c: Likewise.
2806 * soft-fp/gesf2.c: Likewise.
2807 * soft-fp/getf2.c: Likewise.
2808 * soft-fp/half.h: Likewise.
2809 * soft-fp/ledf2.c: Likewise.
2810 * soft-fp/lesf2.c: Likewise.
2811 * soft-fp/letf2.c: Likewise.
2812 * soft-fp/muldf3.c: Likewise.
2813 * soft-fp/mulsf3.c: Likewise.
2814 * soft-fp/multf3.c: Likewise.
2815 * soft-fp/negdf2.c: Likewise.
2816 * soft-fp/negsf2.c: Likewise.
2817 * soft-fp/negtf2.c: Likewise.
2818 * soft-fp/op-1.h: Likewise.
2819 * soft-fp/op-2.h: Likewise.
2820 * soft-fp/op-4.h: Likewise.
2821 * soft-fp/op-8.h: Likewise.
2822 * soft-fp/op-common.h: Likewise.
2823 * soft-fp/quad.h: Likewise.
2824 * soft-fp/single.h: Likewise.
2825 * soft-fp/soft-fp.h: Likewise.
2826 * soft-fp/subdf3.c: Likewise.
2827 * soft-fp/subsf3.c: Likewise.
2828 * soft-fp/subtf3.c: Likewise.
2829 * soft-fp/truncdfsf2.c: Likewise.
2830 * soft-fp/trunctfdf2.c: Likewise.
2831 * soft-fp/trunctfhf2.c: Likewise.
2832 * soft-fp/trunctfsf2.c: Likewise.
2833 * soft-fp/trunctfxf2.c: Likewise.
2834 * soft-fp/unorddf2.c: Likewise.
2835 * soft-fp/unordsf2.c: Likewise.
2836 * soft-fp/unordtf2.c: Likewise.
2837
2901f42f
VK
28382018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
2839
2840 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
2841 * config/i386/cpuinfo.h (processor_types): Add znver2.
2842
4310ca66
PK
28432018-11-01 Paul Koning <ni1d@arrl.net>
2844
2845 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
2846 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
2847
22e05272
JM
28482018-10-31 Joseph Myers <joseph@codesourcery.com>
2849
2850 PR bootstrap/82856
2851 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
2852 * configure: Regenerate.
2853
8180cde0
CZ
28542018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
2855
2856 * config/arc/lib1funcs.S (_muldi3): New function.
2857 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
2858
be7b071e
RV
28592018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2860
2861 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
2862
3239d726
ML
28632018-10-25 Martin Liska <mliska@suse.cz>
2864
2865 PR other/87735
2866 * libgcov-profiler.c: Revert.
2867
19b55958
ML
28682018-10-24 Martin Liska <mliska@suse.cz>
2869
2870 * libgcov-profiler.c: Start from 1 in order to distinguish
2871 functions which were seen and these that were not.
2872
a9a2fddb
PK
28732018-10-18 Paul Koning <ni1d@arrl.net>
2874
2875 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
2876 standard.
2877 * divmod.c: Update references to __udivmodsi4.
2878 * udivmod.c: Ditto.
2879 * udivhi3.c: New file.
2880 * udivmodhi4.c: New file.
2881 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
2882
fc8abc46
RV
28832018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2884
2885 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
2886
87f918e3
OH
28872018-10-12 Olivier Hainque <hainque@adacore.com>
2888
2889 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
2890 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
2891
be86efa7
PK
28922018-10-08 Paul Koning <ni1d@arrl.net>
2893
2894 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
2895
3edbcdbe
ML
28962018-10-04 Martin Liska <mliska@suse.cz>
2897
2898 PR gcov-profile/84107
2899 * libgcov-profiler.c (__gcov_indirect_call):
2900 Change type to indirect_call_tuple.
2901 (struct indirect_call_tuple): New struct.
2902 (__gcov_indirect_call_topn_profiler): Change type.
2903 (__gcov_indirect_call_profiler_v2): Use the new
2904 variables.
2905 * libgcov.h (struct indirect_call_tuple): New struct
2906 definition.
2907
af8096fc
UB
29082018-10-03 Uros Bizjak <ubizjak@gmail.com>
2909
2910 * libgcc2.c (isnan): Use __builtin_isnan.
2911 (isfinite): Use __builtin_isfinite.
2912 (isinf): Use __builtin_isinf.
2913
0a76bba4
UB
29142018-09-26 Uros Bizjak <ubizjak@gmail.com>
2915
2916 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2917
5244089f
OH
29182018-09-21 Alexandre Oliva <oliva@adacore.com>
2919
2920 * config/vxcache.c: New file. Provide __clear_cache, based on
2921 the cacheTextUpdate VxWorks service.
2922 * config/t-vxworks (LIB2ADD): Add vxcache.c.
2923 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2924 * config/t-vxwoks7: Likewise.
2925
512cc015
ML
29262018-09-21 Martin Liska <mliska@suse.cz>
2927
2928 * libgcov-driver.c (crc32_unsigned): Remove.
2929 (gcov_histogram_insert): Likewise.
2930 (gcov_compute_histogram): Likewise.
2931 (compute_summary): Simplify rapidly.
2932 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2933 (merge_summary): Rapidly simplify.
2934 (dump_one_gcov): Ignore gcov_summary.
2935 (gcov_do_dump): Do not handle program summary, it's not
2936 used.
2937 * libgcov-util.c (tag_summary): Remove.
2938 (read_gcda_finalize): Fix coding style.
2939 (read_gcda_file): Initialize curr_object_summary.
2940 (compute_summary): Remove.
2941 (calculate_overlap): Remove settings of run_max.
2942
36ff254b
MC
29432018-09-21 Monk Chiang <sh.chiang04@gmail.com>
2944
2945 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2946 ucontext_t type instead.
2947 (nds32_fallback_frame_state): Remove struct _sigframe statement.
2948
229a033d
KC
29492018-09-21 Kito Cheng <kito.cheng@gmail.com>
2950
2951 * config/nds32/t-nds32-glibc: New file.
2952
53c6feb2
RO
29532018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2954
2955 * configure.ac (solaris_ld_v2_maps): New test.
2956 * configure: Regenerate.
2957 * Makefile.in (solaris_ld_v2_maps): New variable.
2958 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2959 if supported.
2960
ebdb6f23
RE
29612018-08-23 Richard Earnshaw <rearnsha@arm.com>
2962
2963 PR target/86951
2964 * config/arm/lib1funcs.asm (speculation_barrier): New function.
2965 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2966 to build.
2967
a49c064e
IS
29682018-08-22 Iain Sandoe <iain@sandoe.co.uk>
2969
1ea7ea18 2970 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
2971 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2972 * config/darwin10-unwind-find-enc-func.c: … to here.
2973 * config/t-darwin: Build Darwin10 unwinder shim crt.
2974 * libgcc/config.host: Add the Darwin10 unwinder shim.
2975
9a5b8df7
RV
29762018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2977
2978 * config.host: Add crtbegin.o and crtend.o for
2979 powerpc-wrs-vxworks target.
2980
4cd0bc3b
J
29812018-08-17 Jojo <jijie_rong@c-sky.com>
2982 Huibin Wang <huibin_wang@c-sky.com>
2983 Sandra Loosemore <sandra@codesourcery.com>
2984 Chung-Lin Tang <cltang@codesourcery.com>
2985
2986 C-SKY port: libgcc
2987
2988 * config.host: Add C-SKY support.
2989 * config/csky/*: New.
2990
a4931745
CJW
29912018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
2992
2993 * config/nds32/t-nds32-isr: Rearrange object dependency.
2994 * config/nds32/initfini.c: Add dwarf2 unwinding support.
2995 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2996 and registers usage.
2997 * config/nds32/isr-library/excp_isr.S: Ditto.
2998 * config/nds32/isr-library/intr_isr.S: Ditto.
2999 * config/nds32/isr-library/reset.S: Ditto.
3000 * config/nds32/isr-library/restore_all.inc: Ditto.
3001 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3002 * config/nds32/isr-library/restore_partial.inc: Ditto.
3003 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3004 * config/nds32/isr-library/save_all.inc: Ditto.
3005 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3006 * config/nds32/isr-library/save_partial.inc: Ditto.
3007 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3008 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3009
2b1969f6
JDA
30102018-08-11 John David Anglin <danglin@gcc.gnu.org>
3011
3012 * config/pa/linux-atomic.c: Update comment.
3013 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3014 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3015 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3016 __ATOMIC_RELAXED for atomic loads.
3017 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
3018 unordered store to release lock.
3019 (__sync_lock_release_8): Likewise.
3020 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 3021
89fff9cc
NP
30222018-08-02 Nicolas Pitre <nico@fluxnic.net>
3023
3024 PR libgcc/86512
3025 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3026 exponent goes negative. Update my email address.
3027 * config/arm/ieee754-sf.S: Likewise.
3028
fd2e1dcd
ML
30292018-08-01 Martin Liska <mliska@suse.cz>
3030
3031 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 3032 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 3033
b7415975
CL
30342018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
3035
3036 * config/arm/ieee754-df.S: Fix comment for code working on
3037 architectures >= 4.
3038 * config/arm/ieee754-sf.S: Likewise.
3039
b72e71a3
L
30402018-07-27 H.J. Lu <hongjiu.lu@intel.com>
3041
3042 PR libgcc/85334
3043 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3044 Removed.
3045
1c686aa4
JC
30462018-07-05 James Clarke <jrtc27@jrtc27.com>
3047
3048 * configure: Regenerated.
3049
b61c9b99
RO
30502018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3051
3052 * Makefile.in (install_leaf): Use enable_gcov instead of
3053 enable_libgcov.
3054
1765b023
RV
30552018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3056
3057 * configure.ac: Add --disable-gcov option.
3058 * configure: Regenerate.
3059 * Makefile.in: Honour @enable_gcov@.
3060
9b2e34ef
CL
30612018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3062
3063 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3064 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3065 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3066 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3067 __ARM_ARCH__.
3068 * config/arm/ieee754-sf.S: Likewise.
3069 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3070
d1b0dd54
CL
30712018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3072
3073 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3074 longer supported.
3075 * config/arm/ieee754-sf.S: Likewise.
3076
1f3fa525
TM
30772018-06-20 Than McIntosh <thanm@google.com>
3078
3079 PR libgcc/86213
3080 * generic-morestack.c (allocate_segment): Move calls to getenv and
3081 getpagesize to __morestack_load_mmap.
3082 (__morestack_load_mmap) Initialize static_pagesize and
3083 use_guard_page here so as to avoid clobbering SSE regs during a
3084 __morestack call.
3085
6a8886e4
MM
30862018-06-18 Michael Meissner <meissner@linux.ibm.com>
3087
3088 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3089 support modules with -mno-gnu-attribute.
3090 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3091
fb997097
OH
30922018-06-07 Olivier Hainque <hainque@adacore.com>
3093
3094 * config/t-vxworks (LIBGCC_INCLUDES): Add
3095 -I$(MULTIBUILDTOP)../../gcc/include.
3096 * config/t-vxworks7: Likewise. Reformat a bit to match
3097 the t-vxworks layout.
3098
a548a5a1
OM
30992018-06-07 Olga Makhotina <olga.makhotina@intel.com>
3100
3101 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3102
244aebfd
ML
31032018-06-07 Martin Liska <mliska@suse.cz>
3104
3105 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 3106 all_prg.
244aebfd 3107
6c086e8c
ML
31082018-06-07 Martin Liska <mliska@suse.cz>
3109
92a285c1 3110 PR bootstrap/86057
6c086e8c 3111 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 3112 memcpy instead of mempcpy.
6c086e8c 3113 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 3114 prefix and set it.
6c086e8c 3115 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 3116 here and properly copy content into it.
6c086e8c 3117 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 3118 field, change prefix from size_t into char *.
6c086e8c
ML
3119 (compute_summary): Do not calculate longest filename.
3120 (gcov_do_dump): Release memory of gf.filename after each file.
3121 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 3122 compute_summary.
6c086e8c
ML
3123 (calculate_overlap): Likewise.
3124
97a53d1d
ML
31252018-06-05 Martin Liska <mliska@suse.cz>
3126
3127 PR gcov-profile/47618
3128 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 3129 function.
97a53d1d
ML
3130 (gcov_exit_open_gcda_file): Use it.
3131
7f3577f5
ML
31322018-06-05 Martin Liska <mliska@suse.cz>
3133
3134 * libgcov-driver.c (gcov_compute_histogram): Remove usage
3135 of gcov_ctr_summary.
3136 (compute_summary): Do it just for a single summary.
3137 (merge_one_data): Likewise.
3138 (merge_summary): Simplify as we read just single summary.
3139 (dump_one_gcov): Pass proper argument.
3140 * libgcov-util.c (compute_one_gcov): Simplify as we have just
3141 single summary.
3142 (gcov_info_count_all_cold): Likewise.
3143 (calculate_overlap): Likewise.
3144
cf3cd43d
CJW
31452018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
3146 Monk Chiang <sh.chiang04@gmail.com>
3147
3148 * config.host (nds32*-linux*): New.
3149 * config/nds32/linux-atomic.c: New file.
3150 * config/nds32/linux-unwind.h: New file.
3151
8b8003ed
UB
31522018-05-31 Uros Bizjak <ubizjak@gmail.com>
3153
3154 PR target/85591
3155 * config/i386/cpuinfo.c (get_amd_cpu): Return
3156 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
3157
bbdf026f
RV
31582018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
3159
92a285c1 3160 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 3161
0e8f29da
ML
31622018-05-29 Martin Liska <mliska@suse.cz>
3163
92a285c1 3164 PR gcov-profile/85759
0e8f29da 3165 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 3166 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 3167 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 3168 overwrite a gcov file with a different timestamp.
0e8f29da 3169
54fd1590
K
31702018-05-23 Kalamatee <kalamatee@gmail.com>
3171
3172 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
3173 path to Lf$finfty.
3174
09baee1a
KC
31752018-05-18 Kito Cheng <kito.cheng@gmail.com>
3176 Monk Chiang <sh.chiang04@gmail.com>
3177 Jim Wilson <jimw@sifive.com>
3178
3179 * config/riscv/save-restore.S: Add support for rv32e.
3180
c3f808d3
KT
31812018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3182
3183 * config/arm/libunwind.S: Update comment relating to armv5.
3184
fcf4f831
JL
31852018-05-17 Jerome Lambourg <lambourg@adacore.com>
3186
3187 * config/arm/cmse.c (cmse_check_address_range): Replace
3188 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
3189
74b2bb19
OM
31902018-05-17 Olga Makhotina <olga.makhotina@intel.com>
3191
3192 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
3193 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
3194
50e461df
OM
31952018-05-08 Olga Makhotina <olga.makhotina@intel.com>
3196
3197 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
3198 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
3199
e5f1cdb1
AC
32002018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
3201
3202 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
3203
8f479d7a
AT
32042018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
3205 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
3206
3207 PR libgcc/84292
3208 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
3209 op_and_fetch to return the right result.
3210
ae043291
AM
32112018-04-27 Alan Modra <amodra@gmail.com>
3212
3213 PR libgcc/85532
3214 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
3215 -fno-asynchronous-unwind-tables.
3216
ba169b74
CJW
32172018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
3218
3219 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
3220 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
3221
ffc2fc06
L
32222018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3223
3224 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
3225 when including "config/i386/shadow-stack-unwind.h".
3226
7b47ecf2
L
32272018-04-24 H.J. Lu <hongjiu.lu@intel.com>
3228
3229 * configure: Regenerated.
3230
661eb8f9
MM
32312018-04-20 Michael Meissner <meissner@linux.ibm.com>
3232
3233 PR target/85456
3234 * config/rs6000/_powikf2.c: New file. Add support for the
3235 __builtin_powil function when long double is IEEE 128-bit floating
3236 point.
3237 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
3238 __powikf2 support.
3239 (__powikf2): Likewise.
3240 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
3241 (__powikf2_hw): Likewise.
3242 (__powikf2): Likewise.
3243 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
3244 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
3245 (_powikf2-hw.c): Likewise.
3246
5707be3c
L
32472018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3248
3249 PR libgcc/85334
3250 * unwind-generic.h (_Unwind_Frames_Increment): New.
3251 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3252 Likewise.
3253 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
3254 count with _Unwind_Frames_Increment.
3255 (_Unwind_ForcedUnwind_Phase2): Likewise.
3256
5f9ca0b8
L
32572018-04-19 H.J. Lu <hongjiu.lu@intel.com>
3258
3259 PR libgcc/85379
3260 * config/i386/morestack.S (__stack_split_initialize): Add
3261 _CET_ENDBR.
3262
a0e1df88
JJ
32632018-04-19 Jakub Jelinek <jakub@redhat.com>
3264
3265 * configure: Regenerated.
3266
001ddaa8
DM
32672018-04-18 David Malcolm <dmalcolm@redhat.com>
3268
3269 PR jit/85384
3270 * configure: Regenerate.
3271
a57f99ba
JJ
32722018-04-16 Jakub Jelinek <jakub@redhat.com>
3273
3274 PR target/84945
3275 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
3276 -Wdangling-else warnings. Mask shift counts to avoid
3277 -Wshift-count-negative and -Wshift-count-overflow false positives.
3278
4d47fe5a
RB
32792018-04-06 Ruslan Bukin <br@bsdpad.com>
3280
3281 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
3282
059cc8ac
L
32832018-03-29 H.J. Lu <hongjiu.lu@intel.com>
3284
3285 PR target/85100
3286 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
3287 (XSTATE_FP): Likewise.
3288 (XSTATE_SSE): Likewise.
3289 (XSTATE_YMM): Likewise.
3290 (XSTATE_OPMASK): Likewise.
3291 (XSTATE_ZMM): Likewise.
3292 (XSTATE_HI_ZMM): Likewise.
3293 (XCR_AVX_ENABLED_MASK): Likewise.
3294 (XCR_AVX512F_ENABLED_MASK): Likewise.
3295 (get_available_features): Enable AVX and AVX512 features only
3296 if their states are supported by OSXSAVE.
3297
f2620385
IT
32982018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3299
3300 PR target/85025
3301 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3302 Fix a typo, tmp => 255.
3303
ae6dca8c
JJ
33042018-03-20 Jakub Jelinek <jakub@redhat.com>
3305
3306 PR target/84945
3307 * config/i386/cpuinfo.h (__cpu_features2): Declare.
3308 * config/i386/cpuinfo.c (__cpu_features2): New variable for
3309 ifndef SHARED only.
3310 (set_feature): Define.
3311 (get_available_features): Use set_feature macro. Set __cpu_features2
3312 to the second word of features ifndef SHARED.
3313
c36b04c1
JK
33142018-03-15 Julia Koval <julia.koval@intel.com>
3315
3316 * config/i386/cpuinfo.c (get_available_features): Add
3317 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
3318 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
3319 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
3320 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
3321 FEATURE_AVX512BITALG.
3322
79ab5364
JK
33232018-03-14 Julia Koval <julia.koval@intel.com>
3324
3325 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
3326 icelake client and icelake server.
3327
66a00b11
JDA
33282018-03-06 John David Anglin <danglin@gcc.gnu.org>
3329
3330 * config/pa/fptr.c (_dl_read_access_allowed): New.
3331 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 3332
ce579a4f
JJ
33332018-02-28 Jakub Jelinek <jakub@redhat.com>
3334
3335 PR debug/83917
3336 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
3337 $asm_hidden_op if visibility ("hidden") attribute works.
3338 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
3339 * config/i386/i386-asm.h: Don't include auto-host.h.
3340 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
3341 PACKAGE_URL): Don't undefine.
3342 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
3343 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
3344 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
3345 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
3346 definition instead of hardcoded .hidden.
3347 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
3348 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
3349 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
3350 (USE_GAS_CFI_DIRECTIVES): Don't define.
3351 * configure: Regenerated.
3352 * config.in: Likewise.
3353
e5868319
JJ
33542018-02-26 Jakub Jelinek <jakub@redhat.com>
3355
3356 PR debug/83917
3357 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
3358 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
3359 inclusion of auto-target.h and auto-host.h.
3360 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
3361 __GCC_HAVE_DWARF2_CFI_ASM.
3362 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3363 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
3364 cfi_pop): Define.
3365 * config/i386/cygwin.S: Don't include auto-host.h here, just
3366 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
3367 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
3368 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
3369 * config/i386/resms64fx.h: Add cfi_* directives.
3370 * config/i386/resms64x.h: Likewise.
3371
faef260e
MF
33722018-02-20 Max Filippov <jcmvbkbc@gmail.com>
3373
3374 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
3375 .literal_position directive.
3376 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
3377
14e335ed
IT
33782018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3379
3380 PR target/84148
3381 * configure: Regenerate.
3382
95df0433
IT
33832018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3384
3385 PR target/84239
3386 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
3387 Include cetintrin.h not x86intrin.h.
3388
f8de876d
IT
33892018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3390
3391 PR target/84239
95df0433 3392 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
3393 Use new _get_ssp and _inc_ssp intrinsics.
3394
02da1e9c
JK
33952018-02-02 Julia Koval <julia.koval@intel.com>
3396
3397 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
3398
048c6a9a
CZ
33992018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
3400
3401 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
3402 option.
3403 (__divsi3): Use RF16 safe registers.
3404 (__modsi3): Likewise.
3405
0889f168
MF
34062018-01-23 Max Filippov <jcmvbkbc@gmail.com>
3407
3408 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
3409 (__divsf3): Make NaN return value quiet.
3410 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
3411 (__divdf3): Make NaN return value quiet.
3412
bc8b0d04
SP
34132018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3414
3415 * config/rl78/anddi3.S: New assembly file.
3416 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
3417
99cc06ea
SP
34182018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3419
3420 * config/rl78/umindi3.S: New assembly file.
3421 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
3422
6e9007a0
SP
34232018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
3424
3425 * config/rl78/smindi3.S: New assembly file.
3426 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
3427
d975e494 34282018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3429
d975e494
SP
3430 * config/rl78/smaxdi3.S: New assembly file.
3431 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
3432
6a18c146 34332018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 3434
5dd16013
SP
3435 * config/rl78/umaxdi3.S: New assembly file.
3436 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 3437
07baf4a5
JDA
34382018-01-21 John David Anglin <danglin@gcc.gnu.org>
3439
3440 PR lto/83452
3441 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
3442 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 3443
dbc3af4f
RS
34442018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
3445
3446 * config/aarch64/value-unwind.h (aarch64_vg): New function.
3447 (DWARF_LAZY_REGISTER_VALUE): Define.
3448 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
3449 to provide a fallback register value.
3450
68df9882
MM
34512018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
3452
3453 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
3454 __ibm128, instead of trying to use long double.
3455 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
3456 accomidate -mabi=ieeelongdouble multilibs.
3457 (CVT_IBM128_TO_FLOAT128): Likewise.
3458 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
3459 the appropriate IBM extended double type.
3460 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
3461 (__gcc_qsub): Likewise.
3462 (__gcc_qmul): Likewise.
3463 (__gcc_qdiv): Likewise.
3464 (pack_ldouble): Likewise.
3465 (__gcc_qneg): Likewise.
3466 (__gcc_qeq): Likewise.
3467 (__gcc_qne): Likewise.
3468 (__gcc_qge): Likewise.
3469 (__gcc_qle): Likewise.
3470 (__gcc_stoq): Likewise.
3471 (__gcc_dtoq): Likewise.
3472 (__gcc_itoq): Likewise.
3473 (__gcc_utoq): Likewise.
3474 (__gcc_qunord): Likewise.
3475 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
3476 quad-float128.h for the definitions.
3477 (COPYSIGN): Use the f128 version instead of the q version.
3478 (INFINITY): Likewise.
3479 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
3480 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
3481 quad-float128.h for the definitions.
3482 (COPYSIGN): Use the f128 version instead of the q version.
3483 (INFINITY): Likewise.
3484 (FABS): Likewise.
3485 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
3486 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
3487 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
3488
64b371b1
SH
34892018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
3490
3491 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
3492 configuration.
3493
85ec4feb
JJ
34942018-01-03 Jakub Jelinek <jakub@redhat.com>
3495
3496 Update copyright years.
3497
34982017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
3499
3500 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
3501 * config/riscv/multi3.c: New file.
3502 * config/riscv/multi3.S: Remove.
3503
3a4c600f
JW
35042017-12-08 Jim Wilson <jimw@sifive.com>
3505
3506 * config/riscv/div.S: Use FUNC_* macros.
3507 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
3508 * config/riscv/save-restore.S: Likewise.
3509 * config/riscv/riscv-asm.h: New.
3510
75ad35b5
MM
35112017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
3512
6ae3512c
MM
3513 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
3514 * config/rs6000/_divkc3.c (__divkc3): Likewise.
3515
75ad35b5
MM
3516 PR libgcc/83112
3517 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
3518 correct type for all ifunc resolvers to silence -Wattribute-alias
3519 warnings. Eliminate the forward declaration of the resolver
3520 functions which is no longer needed.
3521 (__subkf3_resolve): Likewise.
3522 (__mulkf3_resolve): Likewise.
3523 (__divkf3_resolve): Likewise.
3524 (__negkf2_resolve): Likewise.
3525 (__eqkf2_resolve): Likewise.
3526 (__nekf2_resolve): Likewise.
3527 (__gekf2_resolve): Likewise.
3528 (__gtkf2_resolve): Likewise.
3529 (__lekf2_resolve): Likewise.
3530 (__ltkf2_resolve): Likewise.
3531 (__unordkf2_resolve): Likewise.
3532 (__extendsfkf2_resolve): Likewise.
3533 (__extenddfkf2_resolve): Likewise.
3534 (__trunckfsf2_resolve): Likewise.
3535 (__trunckfdf2_resolve): Likewise.
3536 (__fixkfsi_resolve): Likewise.
3537 (__fixkfdi_resolve): Likewise.
3538 (__fixunskfsi_resolve): Likewise.
3539 (__fixunskfdi_resolve): Likewise.
3540 (__floatsikf_resolve): Likewise.
3541 (__floatdikf_resolve): Likewise.
3542 (__floatunsikf_resolve): Likewise.
3543 (__floatundikf_resolve): Likewise.
3544 (__extendkftf2_resolve): Likewise.
3545 (__trunctfkf2_resolve): Likewise.
3546
3547 PR libgcc/83103
3548 * config/rs6000/quad-float128.h (TF): Don't define if long double
3549 is IEEE 128-bit floating point.
3550 (TCtype): Define as either TCmode or KCmode, depending on whether
3551 long double is IEEE 128-bit floating point.
3552 (__mulkc3_sw): Add declarations for software/hardware versions of
3553 complex multiply/divide.
3554 (__divkc3_sw): Likewise.
3555 (__mulkc3_hw): Likewise.
3556 (__divkc3_hw): Likewise.
3557 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
3558 handlers to switch between using software emulation and hardware
3559 float128 instructions, build the complex multiply/divide functions
3560 for both software and hardware support.
3561 * config/rs6000/_divkc3.c (_divkc3): Likewise.
3562 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
3563 (__divkc3_resolve): Likewise.
3564 (__mulkc3): Likewise.
3565 (__divkc3): Likewise.
3566 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
3567 (fp128_hw_src): Likewise.
3568 (fp128_hw_static_obj): Likewise.
3569 (fp128_hw_shared_obj): Likewise.
3570 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
3571 _mulkc3.c and _divkc3.c, changing the function name.
3572 (_divkc3-hw.c): Likewise.
3573 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
3574 and _divkc3-hw.c.
3575
c234d831
UB
35762017-11-26 Julia Koval <julia.koval@intel.com>
3577
3578 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
3579 * config/i386/cpuinfo.h (processor_subtypes): Add
3580 INTEL_COREI7_CANNONLAKE.
3581
1ebafce0
IT
35822017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3583
3584 PR bootstrap/83015
3585 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
3586 parameter.
3587 * config/xtensa/unwind-dw2-xtensa.c: Likewise
3588 * config/ia64/unwind-ia64.c: Add frames parameter.
3589 * unwind-sjlj.c: Likewise.
3590
6a10fff4
IT
35912017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3592
3593 * config/i386/linux-unwind.h: Include
3594 config/i386/shadow-stack-unwind.h.
3595 * config/i386/shadow-stack-unwind.h: New file.
3596 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
3597 pass it to _Unwind_Frames_Extra.
3598 * unwind-generic.h (_Unwind_Frames_Extra): New.
3599 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
3600 parameter. Add local variable frames to count number of frames.
3601 (_Unwind_ForcedUnwind_Phase2): Likewise.
3602 (_Unwind_RaiseException): Add local variable frames to count
3603 number of frames, pass it to _Unwind_RaiseException_Phase2 and
3604 uw_install_context.
3605 (_Unwind_ForcedUnwind): Likewise.
3606 (_Unwind_Resume): Likewise.
3607 (_Unwind_Resume_or_Rethrow): Likewise.
3608
1ecae1fc
IT
36092017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
3610
3611 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
3612 (CET_FLAGS): New.
3613 * config/i386/morestack.S: Include <cet.h>.
3614 (__morestack_large_model): Add _CET_ENDBR at function entrance.
3615 * config/i386/resms64.h: Include <cet.h>.
3616 * config/i386/resms64f.h: Likewise.
3617 * config/i386/resms64fx.h: Likewise.
3618 * config/i386/resms64x.h: Likewise.
3619 * config/i386/savms64.h: Likewise.
3620 * config/i386/savms64f.h: Likewise.
3621 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
3622 (CRTSTUFF_T_CFLAGS): Likewise.
3623 * configure.ac: Include ../config/cet.m4.
3624 Set and substitute CET_FLAGS.
3625 * configure: Regenerated.
3626
f021f1d3
RO
36272017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3628
3629 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
3630 renaming.
3631 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
3632 * configure.ac (libgcc_cv_solaris_crts): Likewise.
3633 * configure: Regenerate.
3634
65f480c7
TV
36352017-11-07 Tom de Vries <tom@codesourcery.com>
3636
3637 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
3638 after "do {} while (0)".
3639
2a321acb
TV
36402017-11-07 Tom de Vries <tom@codesourcery.com>
3641
3642 PR other/82784
3643 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
3644 semicolon after "do {} while (0)".
3645 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3646 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3647 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3648 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
3649
59fcf6c3
AT
36502017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
3651
3652 PR libgcc/82635
3653 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
3654 sysctl to determine whether we're in a trampoline.
3655 Keep the pattern matching method for systems without
3656 KERN_PROC_SIGTRAMP sysctl.
3657
b0c7ddf8
CM
36582017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
3659 Vineet Gupta <vgupta@synopsys.com>
3660
3661 * config.host (arc*-*-linux*): Set md_unwind_header variable.
3662 * config/arc/linux-unwind-reg.def: New file.
3663 * config/arc/linux-unwind-reg.h: Likewise.
3664
5feee954
SP
36652017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
3666
3667 * config/rl78/subdi3.S: New assembly file.
3668 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
3669
a0bf6cf7
SP
36702017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
3671
3672 * config/rl78/adddi3.S: New assembly file.
3673 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
3674
e7176f75
JJ
36752017-10-13 Jakub Jelinek <jakub@redhat.com>
3676
3677 PR target/82274
3678 * libgcc2.c (__mulvDI3): If both operands have
3679 the same highpart of -1 and the topmost bit of lowpart is 0,
3680 multiplication overflows even if both lowparts are 0.
3681
db6601d2
JB
36822017-09-28 James Bowman <james.bowman@ftdichip.com>
3683
3684 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
3685
938b6f1e
JM
36862017-09-26 Joseph Myers <joseph@codesourcery.com>
3687
3688 * config/microblaze/crti.S, config/microblaze/crtn.S,
3689 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
3690 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
3691 config/microblaze/mulsi3.S,
3692 config/microblaze/stack_overflow_exit.S,
3693 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
3694 config/pa/milli64.S: Add .note.GNU-stack section.
3695
89762a83
DS
36962017-09-23 Daniel Santos <daniel.santos@pobox.com>
3697
3698 * configure.ac: Add Check for HAVE_AS_AVX.
3699 * config.in: Regenerate.
3700 * configure: Likewise.
3701 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
3702 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
3703 Correct out-of-date comments.
3704
cace2309
SP
37052017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
3706
3707 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
3708 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
3709
3cb626e4
DS
37102017-09-17 Daniel Santos <daniel.santos@pobox.com>
3711
cace2309 3712 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
3713 (ASMNAME): Modify to use PASTE2.
3714 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
3715 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 3716 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 3717 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
3718 * config/i386/resms64f.S: Likewise.
3719 * config/i386/resms64fx.S: Likewise.
3720 * config/i386/resms64x.S: Likewise.
3721 * config/i386/savms64.S: Likewise.
3722 * config/i386/savms64f.S: Likewise.
3723 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 3724 includes it's corresponding header file.
cace2309
SP
3725 * config/i386/avx_resms64f.S: Likewise.
3726 * config/i386/avx_resms64fx.S: Likewise.
3727 * config/i386/avx_resms64x.S: Likewise.
3728 * config/i386/avx_savms64.S: Likewise.
3729 * config/i386/avx_savms64f.S: Likewise.
3730 * config/i386/sse_resms64.S: Likewise.
3731 * config/i386/sse_resms64f.S: Likewise.
3732 * config/i386/sse_resms64fx.S: Likewise.
3733 * config/i386/sse_resms64x.S: Likewise.
3734 * config/i386/sse_savms64.S: Likewise.
3735 * config/i386/sse_savms64f.S: Likewise.
3736 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 3737
2f19c491 37382017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
3739 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
3740
611e7036
OH
37412017-08-31 Olivier Hainque <hainque@adacore.com>
3742
3743 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
3744 match as powerpc-wrs-vxworks*.
3745
c8f34527
JY
37462017-08-07 Jonathan Yong <10walls@gmail.com>
3747
3748 * config.host (*-cygwin): Include file from mingw
3749 config/i386/enable-execute-stack-mingw32.c
3750
0b458d2b 37512017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
3752 Doug Rupp <rupp@adacore.com>
3753 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
3754
3755 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
3756 as well as arm-wrs-vxworks.
3757 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
3758 LIB2ADDEH.
3759 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
3760 __exidx_start and __exidx_end for downloadable modules.
3761
4df612fa
OH
37622017-08-01 Olivier Hainque <hainque@adacore.com>
3763
3764 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
3765 * config/t-vxworks7: Likewise.
3766
5560e8c0
OH
37672017-08-01 Olivier Hainque <hainque@adacore.com>
3768
3769 * config/t-vxworks: Instead of redefining LIB2ADD,
3770 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
3771
16bab95a
SH
37722017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
3773
3774 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
3775
9cbc07cc
DS
37762017-07-24 Daniel Santos <daniel.santos@pobox.com>
3777
3778 PR testsuite/80759
3779 * config.host: include i386/t-msabi for darwin and solaris.
3780 * config/i386/i386-asm.h
3781 (ELFFN): Rename to FN_TYPE.
3782 (FN_SIZE): New macro.
3783 (FN_HIDDEN): Likewise.
3784 (ASMNAME): Likewise.
3785 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
3786 .globl.
3787 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
3788 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
3789 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
3790 .macro.
3791 * config/i386/resms64f.S: Likewise.
3792 * config/i386/resms64fx.S: Likewise.
3793 * config/i386/resms64x.S: Likewise.
3794 * config/i386/savms64.S: Likewise.
3795 * config/i386/savms64f.S: Likewise.
3796
de742204
JM
37972017-07-19 John Marino <gnugcc@marino.st>
3798
3799 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
3800
3787ee47
MM
38012017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
3802
3803 PR target/81193
3804 * configure.ac (PowerPC float128 hardware support): Test whether
3805 we can use __builtin_cpu_supports before enabling the ifunc
3806 handler.
3807 * configure: Regenerate.
3808
b1938888
VG
38092017-07-10 Vineet Gupta <vgupta@synopsys.com>
3810
3811 * config.host: Remove uclibc from arc target spec.
3812
bec75e53
KW
38132017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
3814
3815 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
3816
d4391a62
PB
38172017-07-07 Peter Bergner <bergner@vnet.ibm.com>
3818
3819 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
3820 (have_ieee_hw_p): Delete function.
3821 (SW_OR_HW) Use __builtin_cpu_supports().
3822
9296dd9b
TP
38232017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3824
3825 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
3826
b85a969e
OH
38272017-07-03 Olivier Hainque <hainque@adacore.com>
3828
d4391a62 3829 * config/t-vxworks7: New file, really.
b85a969e 3830
883312dc
JM
38312017-06-28 Joseph Myers <joseph@codesourcery.com>
3832
3833 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
3834 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
3835 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
3836 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
3837 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
3838 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
3839 config/pa/linux-unwind.h (pa32_fallback_frame_state),
3840 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
3841 config/sh/linux-unwind.h (sh_fallback_frame_state),
3842 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
3843 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
3844 ucontext_t instead of struct ucontext.
3845
50567938
JL
38462017-06-27 Jerome Lambourg <lambourg@adacore.com>
3847
3848 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
3849 (x86_64-wrs-vxworks7): Likewise.
3850
e4b0df93
OH
38512017-06-27 Olivier Hainque <hainque@adacore.com>
3852
3853 * config/t-vxworks7: New file.
3854 * config.host (*-*-vxworks7): Use it.
3855
60edf8bb
MT
38562017-06-22 Matt Turner <mattst88@gmail.com>
3857
3858 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
3859 skylake case.
3860
a51a76e5
RB
38612017-06-21 Richard Biener <rguenther@suse.de>
3862
3863 PR gcov-profile/81080
3864 * configure.ac: Add AC_SYS_LARGEFILE.
3865 * libgcov.h: Include auto-target.h before tsystem.h to pick
3866 up _FILE_OFFSET_BITS which might differ for multilibs.
3867 * config.in: Regenerate.
3868 * configure: Likewise.
3869
f0cd49c5
RE
38702017-06-16 Richard Earnshaw <rearnsha@arm.com>
3871
3872 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
3873
4f751c54
ML
38742017-06-09 Martin Liska <mliska@suse.cz>
3875
3876 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
3877 Reset __gcov_indirect_call_callee to NULL.
3878
1ac644c8
OH
38792017-06-08 Olivier Hainque <hainque@adacore.com>
3880
3881 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
3882 the set of -I options, support for direct inclusions of net/uio.h
3883 by VxWorks header files via ioLib.h.
3884
d8b9cd27
TR
38852017-06-07 Tony Reix <tony.reix@atos.net>
3886 Matthieu Sarter <matthieu.sarter.external@atos.net>
3887 David Edelsohn <dje.gcc@gmail.com>
3888
92a285c1
ML
3889 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
3890 unconditionally.
3891 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
3892 AIX 7.2 support.
d8b9cd27 3893
38a75ccc
OH
38942017-06-02 Olivier Hainque <hainque@adacore.com>
3895
3896 * config/vxlib.c (__gthread_once): Add missing value to
3897 return statement.
3898
5b2edf53
OH
38992017-05-30 Olivier Hainque <hainque@adacore.com>
3900
3901 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3902 dollar sign before $(MULTIDIR).
3903
7d66e265
RH
39042017-05-26 Richard Henderson <rth@redhat.com>
3905
3906 PR libgcc/80037
3907 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3908
78eca309
AT
39092017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
3910
3911 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3912 _Unwind_SetIP available as functions for arm*-*-freebsd*.
3913 * config/arm/unwind-arm.c: Implement the above.
3914
c39d309a
AZ
39152017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3916
3917 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3918 section for a non-executable stack.
3919
eac8c9f2
KW
39202017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
3921
3922 PR target/80600
3923 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3924
d6d4d770
DS
39252017-05-14 Daniel Santos <daniel.santos@pobox.com>
3926
3927 * config.host: Add i386/t-msabi to i386/t-linux file list.
3928 * config/i386/i386-asm.h: New file.
3929 * config/i386/resms64.S: New file.
3930 * config/i386/resms64f.S: New file.
3931 * config/i386/resms64fx.S: New file.
3932 * config/i386/resms64x.S: New file.
3933 * config/i386/savms64.S: New file.
3934 * config/i386/savms64f.S: New file.
3935 * config/i386/t-msabi: New file.
3936
8ef2b9a7
AT
39372017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
3938
3939 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3940 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3941
7ab8766a
JC
39422017-05-05 Joshua Conner <joshconner@google.com>
3943
3944 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3945 pc-relative indirect handling for fuchsia.
3946 * config/t-slibgcc-fuchsia: New file.
3947 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 3948 x86_64-*-fuchsia*): Add definitions.
7ab8766a 3949
46928a8f
ML
39502017-04-19 Martin Liska <mliska@suse.cz>
3951
3952 PR gcov-profile/80435
3953 * Makefile.in: Install gcov.h.
3954 * gcov.h: New file.
3955 * libgcov.h: Use the header and make __gcov_flush publicly
3956 visible.
3957
63971184
ML
39582017-04-18 Martin Liska <mliska@suse.cz>
3959
3960 PR gcov-profile/78783
3961 * libgcov-driver.c (gcov_get_filename): New function.
3962
29d8aae6
JL
39632017-04-07 Jeff Law <law@redhat.com>
3964
3965 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3966 target makefile fragment.
3967 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3968
2bdf7fc6
AM
39692017-04-07 Alan Modra <amodra@gmail.com>
3970
3971 PR target/45053
3972 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3973
5764ee3c
JW
39742017-04-03 Jonathan Wakely <jwakely@redhat.com>
3975
3976 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3977
c4192ad7
CZ
39782017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
3979
3980 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3981
4ccfdb28
JM
39822017-03-10 John Marino <gnugcc@marino.st>
3983
3984 * config/aarch64/freebsd-unwind.h: New file.
3985 * config.host: Add aarch64-*-freebsd unwinder.
3986
4144e4e3
SB
39872017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3988
3989 * config/rs6000/crtrestvr.s: Use .machine altivec.
3990 * config/rs6000/crtsavevr.s: Ditto.
3991
7502c597
SB
39922017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3993
3994 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3995 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
3996 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3997 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
3998 * configure: Regenerate.
3999 * config.in: Regenerate.
4000
db9f7f65
JY
40012017-03-02 Jonathan Yong <10walls@gmail.com>
4002
4003 * config/i386/gthr-win32.h: Define NOGDI before
4004 windows.h include to prevent w32api CC_NONE macro
4005 clash with libgfortran.
4006
126437c5
JY
40072017-03-02 Jonathan Yong <10walls@gmail.com>
4008
4009 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4010
31927af6
AP
40112017-02-16 Andrew Pinski <apinski@cavium.com>
4012
4013 * config/aarch64/value-unwind.h: New file.
4014 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4015 to tm_file.
4016
0bd99911
PD
40172017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
4018
4019 * config.host: Add RISC-V tuples.
4020 * config/riscv/atomic.c: New file.
4021 * config/riscv/crti.S: Likewise.
4022 * config/riscv/crtn.S: Likewise.
4023 * config/riscv/div.S: Likewise.
4024 * config/riscv/linux-unwind.h: Likewise.
4025 * config/riscv/muldi3.S: Likewise.
4026 * config/riscv/multi3.S: Likewise.
4027 * config/riscv/save-restore.S: Likewise.
4028 * config/riscv/sfp-machine.h: Likewise.
4029 * config/riscv/t-elf: Likewise.
4030 * config/riscv/t-elf32: Likewise.
4031 * config/riscv/t-elf64: Likewise.
4032 * config/riscv/t-softfp32: Likewise.
4033 * config/riscv/t-softfp64: Likewise.
4034
a8c9ef2a
JJ
40352017-01-24 Jakub Jelinek <jakub@redhat.com>
4036
4037 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4038 /* FALLTHRU */ comments.
4039
c6c82710
GP
40402017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
4041
4042 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4043
a876231c
JW
40442017-01-20 Jiong Wang <jiong.wang@arm.com>
4045
4046 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4047 * unwind-dw2.c (execute_cfa_program): Only multiplexing
4048 DW_CFA_GNU_window_save for AArch64 and LP64.
4049
aa348be2
JW
40502017-01-20 Jiong Wang <jiong.wang@arm.com>
4051
4052 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4053
5636faf2
JW
40542017-01-19 Jiong Wang <jiong.wang@arm.com>
4055
4056 * config/aarch64/aarch64-unwind.h: New file.
4057 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4058 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4059 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4060 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4061 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4062 (aarch64_post_extract_frame_addr): New function.
4063 (aarch64_post_frob_eh_handler_addr): New function.
4064 (aarch64_frob_update_context): New function.
4065 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4066 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4067 aarch64*-*-freebsd*):
4068 Initialize md_unwind_header to include aarch64-unwind.h.
4069 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4070 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4071 __aarch64__.
4072 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4073 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4074 (uw_frob_return_addr): New function.
4075 (uw_install_context): Use uw_frob_return_addr.
4076
3c36aa6b
JJ
40772017-01-17 Jakub Jelinek <jakub@redhat.com>
4078
4079 PR other/79046
4080 * configure.ac: Add GCC_BASE_VER.
4081 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4082 version from BASE-VER file.
4083 * configure: Regenerated.
4084
829afb8f
JS
40852017-01-13 Joe Seymour <joe.s@somniumtech.com>
4086
4087 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4088 libmul_f5.a): Filter archived prerequisites.
4089
79fc8ffe
AS
40902017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
4091
4092 * config/i386/cpuinfo.h (processor_features): Add
4093 FEATURE_AVX512VPOPCNTDQ.
4094 * config/i386/cpuinfo.c (get_available_features): Habdle new
4095 feature.
4096
fec5f4e0
JM
40972017-01-04 Joseph Myers <joseph@codesourcery.com>
4098
4099 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4100 payload if [__mips_nan2008].
4101
8f56cb51
AM
41022017-01-04 Alan Modra <amodra@gmail.com>
4103
4104 * Makefile.in (configure_deps): Update.
4105 * configure: Regenerate.
4106
cbe34bb5
JJ
41072017-01-01 Jakub Jelinek <jakub@redhat.com>
4108
4109 Update copyright years.
4110
ab955692
KW
41112016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
4112
4113 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4114 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4115 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4116
de34320f
MK
41172016-12-17 Matthias Klose <doko@ubuntu.com>
4118
4119 * config/arc/gmon: Remove empty directory.
4120
e04ea1da
CZ
41212016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
4122
4123 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4124 crtgend.
4125 (arc*-*-elf*): Likewise.
4126 * config/arc/t-arc: Remove old gmon lib targets.
4127 * config/arc/crtg.S: Remove.
4128 * config/arc/crtgend.S: Likewise.
4129 * config/arc/gmon/atomic.h: Likewise.
4130 * config/arc/gmon/auxreg.h: Likewise.
4131 * config/arc/gmon/dcache_linesz.S: Likewise.
4132 * config/arc/gmon/gmon.c: Likewise.
4133 * config/arc/gmon/machine-gmon.h: Likewise.
4134 * config/arc/gmon/mcount.c: Likewise.
4135 * config/arc/gmon/prof-freq-stub.S: Likewise.
4136 * config/arc/gmon/prof-freq.c: Likewise.
4137 * config/arc/gmon/profil.S: Likewise.
4138 * config/arc/gmon/sys/gmon.h: Likewise.
4139 * config/arc/gmon/sys/gmon_out.h: Likewise.
4140 * config/arc/t-arc-newlib: Likewise.
4141 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
4142
8ae1c2c1
GS
41432016-12-12 George Spelvin <linux@sciencehorizons.net>
4144
4145 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
4146
a5b947fa
GS
41472016-12-12 George Spelvin <linux@sciencehorizons.net>
4148
4149 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
4150 R16 instead of push + pop.
4151 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
4152
d6574dd1
KW
41532016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
4154
4155 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
4156 tmake_file.
4157
62440b4f
CM
41582016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
4159
4160 * config.host (arc*-*-linux-uclibc*): Use default extra
4161 objects. Include linux-android header.
4162 * config/arc/crti.S (_init): Declare symbol as function.
4163 (_fini): Likewise.
4164
31cfd832
TK
41652016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
4166
4167 PR fortran/78379
4168 * config/i386/cpuinfo.c: Move denums for processor vendors,
4169 processor type, processor subtypes and declaration of
4170 struct __processor_model into
4171 * config/i386/cpuinfo.h: New header file.
4172
c92e08e3
AV
41732016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4174 Thomas Preud'homme <thomas.preudhomme@arm.com>
4175
4176 * config/arm/cmse_nonsecure_call.S: New.
4177 * config/arm/t-arm: Compile cmse_nonsecure_call.S
4178
de7b5723
AV
41792016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
4180 Thomas Preud'homme <thomas.preudhomme@arm.com>
4181
4182 * config/arm/t-arm (HAVE_CMSE): New.
4183 * config/arm/cmse.c: New.
4184
7a0d2bce
TP
41852016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4186
b3a5bff4
TP
4187 PR gcc/74748
4188 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
4189 use generic linker version information on Blackfin.
4190
7a0d2bce
TP
4191 PR gcc/74748
4192 * libgcc/mkmap-symver.awk: add support for skip_underscore
4193
b410cf1d
IS
41942016-11-27 Iain Sandoe <iain@codesourcery.com>
4195 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4196
4197 PR target/67710
4198 * config/t-darwin: Default builds to 10.5 codegen.
4199
2e5f8203
JG
42002016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
4201
4202 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
4203 (_FP_NANSIGN_H): Likewise.
4204 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
4205 (softfp_truncations): Add tfhf.
4206 (softfp_extras): Add required conversion functions.
4207
bea64ca3
JG
42082016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4209 Matthew Wahab <matthew.wahab@arm.com>
4210
4211 * config/arm/fp16.c (binary64): New.
4212 (__gnu_d2h_internal): New.
4213 (__gnu_d2h_ieee): New.
4214 (__gnu_d2h_alternative): New.
4215
8630cadb
JG
42162016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4217 Matthew Wahab <matthew.wahab@arm.com>
4218
4219 * config/arm/fp16.c (struct format): New.
4220 (binary32): New.
4221 (__gnu_float2h_internal): New. Body moved from
4222 __gnu_f2h_internal and generalize.
4223 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
4224 Call it with binary32.
4225
5823ef23
JG
42262016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
4227
4228 * soft-fp/extendhftf2.c: Update from glibc.
4229 * soft-fp/fixhfti.c: Likewise.
4230 * soft-fp/fixunshfti.c: Likewise.
4231 * soft-fp/floattihf.c: Likewise.
4232 * soft-fp/floatuntihf.c: Likewise.
4233 * soft-fp/half.h: Likewise.
4234 * soft-fp/trunctfhf2.c: Likewise.
4235
62a7df9f
MG
42362016-11-20 Marc Glisse <marc.glisse@inria.fr>
4237
4238 PR libgcc/77813
4239 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
4240 __TMC_END__ behind a passthrough asm.
4241
7a384912
WL
42422016-11-18 Walter Lee <walt@tilera.com>
4243
62a7df9f 4244 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 4245
9775c1a5
L
42462016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
4247
4248 * config/i386/cpuinfo.c (processor_features): Add
4249 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
4250
48c842ab
CZ
42512016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
4252
4253 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
4254 (__ARC_NORM__): Use instead ARC_OPTFPE.
4255 * config/arc/fp-hack.h: Likewise.
4256 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
4257 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
4258
5012919d
AM
42592016-11-16 Alexander Monakov <amonakov@ispras.ru>
4260
4261 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
4262 * config/nvptx/mgomp.c: New file.
4263 * config/nvptx/t-nvptx: Add mgomp.c
4264
00178b98
WB
42652016-11-16 Waldemar Brodkorb <wbx@openadk.org>
4266
4267 PR libgcc/68468
4268 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
4269
d64af69f
CZ
42702016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
4271
4272 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
4273 of checking for cpus.
4274 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
4275 (__modsi3, __clzsi2): Likewise.
4276
9d8f95de
SN
42772016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
4278
4279 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
4280 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
4281 * config/i386/t-cpuinfo-static: New.
4282
7d29f8e3
ML
42832016-11-03 Martin Liska <mliska@suse.cz>
4284
4285 * libgcov-profiler.c (__gcov_time_profiler): Remove.
4286 (__gcov_time_profiler_atomic): Likewise.
4287
5de3e2d8
BE
42882016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
4289
4290 PR libgcc/78067
4291 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
4292 count_leading_zeros.
4293
18362447
UB
42942016-11-02 Uros Bizjak <ubizjak@gmail.com>
4295
4296 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
4297 * libgcc2.c (__divmoddi4): New function.
4298 * libgcc2.h (__divmoddi4): Declare.
4299 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
4300 and __PFX_divmodti4.
4301
33107571
FW
43022016-10-24 Florian Weimer <fweimer@redhat.com>
4303
4304 PR libgcc/78064
4305 * unwind-c.c: Include auto-target.h.
4306
4c6d7494
JDA
43072016-10-19 John David Anglin <danglin@gcc.gnu.org>
4308
18362447 4309 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
4310 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
4311 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
4312 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
4313 hppa*64*-*-hpux11*.
4314
2a26adf1
MF
43152016-10-18 Max Filippov <jcmvbkbc@gmail.com>
4316
4317 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4318 definition.
4319 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
4320 definition.
4321 * config/xtensa/t-windowed (LIB2ADDEH): Use
4322 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
4323 or xtensa/t-linux.
4324
66192aa1
DKC
43252016-10-18 Ding-Kai Chen <dkchen@cadence.com>
4326
4327 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
4328 __ieee754_sqrt): New functions.
4329 (__divdf3): Add implementation with new FPU instructions under
4330 #if XCHAL_HAVE_DFP_DIV.
4331 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
4332 __ieee754_sqrtf): New functions.
4333 (__divsf3): Add implementation with new FPU instructions under
4334 #if XCHAL_HAVE_FP_DIV.
4335 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
4336 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
4337
4d0cdd0c
TP
43382016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
4339
4340 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
4341 equivalent.
4342 * config/tilepro/atomic.c: Likewise and stop casting model to
4343 enum memmodel.
4344
73f01cca
JM
43452016-10-10 Joseph Myers <joseph@codesourcery.com>
4346
4347 PR target/77586
4348 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
4349 soft-fp.
4350
b20e7532
AT
43512016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
4352
4353 * config.host: Add support for aarch64-*-freebsd*.
4354
a786cec4
AS
43552016-10-05 Andreas Schwab <schwab@suse.de>
4356
4357 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
4358 (.section .init_array): Don't call __do_jv_register_classes.
4359 (.section .init): Likewise.
4360
5a79befb
JJ
43612016-10-04 Jakub Jelinek <jakub@redhat.com>
4362
4363 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
4364 (__JCR_LIST__): Remove.
4365 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
4366 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
4367 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
4368 * config/ia64/crtend.S (__JCR_END__): Remove.
4369 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
4370 conditionals.
4371 (__JCR_LIST__, __JCR_END__): Remove.
4372 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
4373 (__do_global_ctors_1): Likewise.
4374
e0ab3753
UB
43752015-09-28 Uros Bizjak <ubizjak@gmail.com>
4376
4377 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
4378 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
4379
8c9434c2
ML
43802016-09-27 Martin Liska <mliska@suse.cz>
4381
4382 PR gcov-profile/7970
4383 PR gcov-profile/16855
4384 PR gcov-profile/44779
4385 * libgcov-driver.c (__gcov_init): Do not register a atexit
4386 handler.
4387 (__gcov_exit): Rename from gcov_exit.
4388 * libgcov.h (__gcov_exit): Declare.
4389
56b653f1
ML
43902016-09-27 Martin Liska <mliska@suse.cz>
4391
4392 PR bootstrap/77749
4393 * Makefile.in: Remove _gcov_merge_delta.
4394 * libgcov-merge.c (void __gcov_merge_delta): Remove.
4395 * libgcov-util.c (__gcov_delta_counter_op): Remove.
4396 * libgcov.h: Remove declaration of __gcov_merge_delta.
4397
7e02fd1b
EB
43982016-09-21 Eric Botcazou <ebotcazou@adacore.com>
4399
4400 * configure.ac: Do not create links, only substitute the filenames.
4401 * configure: Regenerate.
4402 * Makefile.in: Assign the substitution results to variables.
4403 (LIBGCC_LINKS): Define.
4404 (enable-execute-stack.c): New rule.
4405 (unwind.h): Likewise.
4406 (md-unwind-support.h): Likewise.
4407 (sfp-machine.h): Likewise.
4408 (gthr-default.h): Likewise.
4409 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
4410 unwind.h as prerequisite of install-unwind_h-forbuild.
4411
29991048
JJ
44122016-09-16 Jakub Jelinek <jakub@redhat.com>
4413
4414 PR libgcc/71744
4415 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
4416 is not the primary registry and atomics are available.
4417 (any_objects_registered): New variable.
4418 (__register_frame_info_bases, __register_frame_info_table_bases):
4419 Atomically store 1 to any_objects_registered after registering first
4420 unwind info.
4421 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
4422
0abcd6cc
JG
44232016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
4424
4425 PR target/63250
4426 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
4427 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
4428 (HFtype): Likewise.
4429 (HCtype): Likewise.
4430 (__divhc3): Likewise.
4431 (__mulhc3): Likewise.
4432 * libgcc2.c: Support _mulhc3 and _divhc3.
4433
d758aeb5
JM
44342016-09-07 Joseph Myers <joseph@codesourcery.com>
4435
4436 PR libgcc/77519
4437 * libgcc2.c (NOTRUNC): Invert settings.
4438
7fe76f6a
ML
44392016-09-06 Martin Liska <mliska@suse.cz>
4440
4441 PR gcov-profile/77378
4442 PR gcov-profile/77466
4443 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
4444 conditionaly enable/disable *_atomic functions.
4445
21184026
JM
44462016-08-26 Joseph Myers <joseph@codesourcery.com>
4447
4448 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
4449 where not already enabled.
4450
726f49c3
SN
44512016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
4452
4453 * config/mips/linux-unwind.h: Use sys/syscall.h.
4454
feeb6268
JM
44552016-08-16 Joseph Myers <joseph@codesourcery.com>
4456
4457 PR libgcc/77265
4458 * soft-fp/adddf3.c: Update from glibc.
4459 * soft-fp/addsf3.c: Likewise.
4460 * soft-fp/addtf3.c: Likewise.
4461 * soft-fp/divdf3.c: Likewise.
4462 * soft-fp/divsf3.c: Likewise.
4463 * soft-fp/divtf3.c: Likewise.
4464 * soft-fp/double.h: Likewise.
4465 * soft-fp/eqdf2.c: Likewise.
4466 * soft-fp/eqsf2.c: Likewise.
4467 * soft-fp/eqtf2.c: Likewise.
4468 * soft-fp/extenddftf2.c: Likewise.
4469 * soft-fp/extended.h: Likewise.
4470 * soft-fp/extendsfdf2.c: Likewise.
4471 * soft-fp/extendsftf2.c: Likewise.
4472 * soft-fp/extendxftf2.c: Likewise.
4473 * soft-fp/fixdfdi.c: Likewise.
4474 * soft-fp/fixdfsi.c: Likewise.
4475 * soft-fp/fixdfti.c: Likewise.
4476 * soft-fp/fixsfdi.c: Likewise.
4477 * soft-fp/fixsfsi.c: Likewise.
4478 * soft-fp/fixsfti.c: Likewise.
4479 * soft-fp/fixtfdi.c: Likewise.
4480 * soft-fp/fixtfsi.c: Likewise.
4481 * soft-fp/fixtfti.c: Likewise.
4482 * soft-fp/fixunsdfdi.c: Likewise.
4483 * soft-fp/fixunsdfsi.c: Likewise.
4484 * soft-fp/fixunsdfti.c: Likewise.
4485 * soft-fp/fixunssfdi.c: Likewise.
4486 * soft-fp/fixunssfsi.c: Likewise.
4487 * soft-fp/fixunssfti.c: Likewise.
4488 * soft-fp/fixunstfdi.c: Likewise.
4489 * soft-fp/fixunstfsi.c: Likewise.
4490 * soft-fp/fixunstfti.c: Likewise.
4491 * soft-fp/floatdidf.c: Likewise.
4492 * soft-fp/floatdisf.c: Likewise.
4493 * soft-fp/floatditf.c: Likewise.
4494 * soft-fp/floatsidf.c: Likewise.
4495 * soft-fp/floatsisf.c: Likewise.
4496 * soft-fp/floatsitf.c: Likewise.
4497 * soft-fp/floattidf.c: Likewise.
4498 * soft-fp/floattisf.c: Likewise.
4499 * soft-fp/floattitf.c: Likewise.
4500 * soft-fp/floatundidf.c: Likewise.
4501 * soft-fp/floatundisf.c: Likewise.
4502 * soft-fp/floatunditf.c: Likewise.
4503 * soft-fp/floatunsidf.c: Likewise.
4504 * soft-fp/floatunsisf.c: Likewise.
4505 * soft-fp/floatunsitf.c: Likewise.
4506 * soft-fp/floatuntidf.c: Likewise.
4507 * soft-fp/floatuntisf.c: Likewise.
4508 * soft-fp/floatuntitf.c: Likewise.
4509 * soft-fp/gedf2.c: Likewise.
4510 * soft-fp/gesf2.c: Likewise.
4511 * soft-fp/getf2.c: Likewise.
4512 * soft-fp/ledf2.c: Likewise.
4513 * soft-fp/lesf2.c: Likewise.
4514 * soft-fp/letf2.c: Likewise.
4515 * soft-fp/muldf3.c: Likewise.
4516 * soft-fp/mulsf3.c: Likewise.
4517 * soft-fp/multf3.c: Likewise.
4518 * soft-fp/negdf2.c: Likewise.
4519 * soft-fp/negsf2.c: Likewise.
4520 * soft-fp/negtf2.c: Likewise.
4521 * soft-fp/op-1.h: Likewise.
4522 * soft-fp/op-2.h: Likewise.
4523 * soft-fp/op-4.h: Likewise.
4524 * soft-fp/op-8.h: Likewise.
4525 * soft-fp/op-common.h: Likewise.
4526 * soft-fp/quad.h: Likewise.
4527 * soft-fp/single.h: Likewise.
4528 * soft-fp/soft-fp.h: Likewise.
4529 * soft-fp/subdf3.c: Likewise.
4530 * soft-fp/subsf3.c: Likewise.
4531 * soft-fp/subtf3.c: Likewise.
4532 * soft-fp/truncdfsf2.c: Likewise.
4533 * soft-fp/trunctfdf2.c: Likewise.
4534 * soft-fp/trunctfsf2.c: Likewise.
4535 * soft-fp/trunctfxf2.c: Likewise.
4536 * soft-fp/unorddf2.c: Likewise.
4537 * soft-fp/unordsf2.c: Likewise.
4538 * soft-fp/unordtf2.c: Likewise.
4539
2e6fc1ac
GG
45402016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
4541
4542 PR gcov-profile/67097
4543 * libgcov-util.c (gcov_profile_merge): Skip missing files.
4544
a266236e
ML
45452016-08-10 Martin Liska <mliska@suse.cz>
4546
4547 PR gcov-profile/58306
4548 * Makefile.in: New functions (modules) are added.
4549 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
4550 function.
4551 (__gcov_pow2_profiler_atomic): New function.
4552 (__gcov_one_value_profiler_body): New argument is instroduced.
4553 (__gcov_one_value_profiler): Call with the new argument.
4554 (__gcov_one_value_profiler_atomic): Likewise.
4555 (__gcov_indirect_call_profiler_v2): Likewise.
4556 (__gcov_time_profiler_atomic): New function.
4557 (__gcov_average_profiler_atomic): Likewise.
4558 (__gcov_ior_profiler_atomic): Likewise.
4559 * libgcov.h: Declare the aforementioned functions.
4560
e0c8eebf
ML
45612016-08-09 Martin Liska <mliska@suse.cz>
4562
4563 * libgcov-util.c: Fix typo and GNU coding style.
4564
6dce6418
ML
45652016-08-09 Martin Liska <mliska@suse.cz>
4566
4567 * Makefile.in: Remove __gcov_indirect_call_profiler.
4568 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
4569 function.
4570 * libgcov.h: And the declaration of the function.
4571
dcb1e137
ML
45722016-08-09 Martin Liska <mliska@suse.cz>
4573
4574 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
4575 power of two.
4576
d6e69705
BS
45772016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4578
4579 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
4580 * config/rs6000/_mulkc3.c: Likewise.
4581
96aa1f95
GJL
45822016-07-29 Georg-Johann Lay <avr@gjlay.de>
4583
4584 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
4585 zero_reg as previous call to __umulhisi3 already cleared it.
4586
a1b01d34
AJ
45872016-07-21 Aurelien Jarno <aurelien@aurel32.net>
4588
4589 PR target/59833
4590 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
4591
985a47b2
NC
45922016-07-19 Nick Clifton <nickc@redhat.com>
4593
4594 * config.host (m32r): Add m32r/t-m32r to tmake_file.
4595 Add crtinit.o and crtfini.o to extra_parts.
4596
f906f5ed
BS
45972016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4598
4599 * config/rs6000/_divkc3.c: New.
4600 * config/rs6000/_mulkc3.c: New.
4601 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
4602 and _divkc3.
4603 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
4604 fp128_ppc_funcs.
4605
82742404
HW
46062016-07-11 Hale Wang <hale.wang@arm.com>
4607 Andre Vieira <andre.simoesdiasvieira@arm.com>
4608
4609 * config/arm/lib1funcs.S: Add new wrapper.
4610
05a437c1
TP
46112016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4612
4613 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
4614
3d16d9ec
TP
46152016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4616
4617 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
4618 and ARMv5t* rather than for a fixed list of architectures.
4619
6f493951
TP
46202016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
4621
4622 * config/arm/bpabi-v6m.S: Clarify what architectures is the
4623 implementation suitable for.
4624 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
4625 for all Thumb-1 only targets.
4626 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
4627 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
4628 __ARM_ARCH_6M__.
4629 (EQUIV): Likewise.
4630 (ARM_FUNC_ALIAS): Likewise.
4631 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
4632 version.
4633 (modsi3): Likewise.
4634 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
4635 (clzdi2): Likewise.
4636 (ctzsi2): Likewise.
4637 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
4638 __ARM_ARCH_6M__ in guard for checking whether it is defined.
4639 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
4640 __ARM_ARCH_6M__ and add comment to indicate the connection between
4641 this condition and the one in gcc/config/arm/elf.h.
4642 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
4643 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
4644 * config/arm/t-softfp: Likewise.
4645
1770511a
TS
46462016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4647
4648 * libgcc2.c (SYMBOL__MAIN): Remove checks for
4649 CTOR_LISTS_DEFINED_EXTERNALLY.
4650
ba6be749
WL
46512016-06-28 Walter Lee <walt@tilera.com>
4652
4653 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
4654 asm/unistd.h.
4655 (SPR_CMPEXCH_VALUE): Define for tilegx.
4656 (__NR_FAST_cmpxchg): Define for tilepro.
4657 (__NR_FAST_atomic_update): Define for tilepro.
4658 (__NR_FAST_cmpxchg64): Define for tilepro.
4659
a34c0db5
JS
46602016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
4661
18362447 4662 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 4663
0609abda
TS
46642016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4665
4666 * config.host: Remove support for mep-*.
4667 * config/mep/lib1funcs.S: Remove.
4668 * config/mep/lib2funcs.c: Remove.
4669 * config/mep/t-mep: Remove.
4670 * config/mep/tramp.c: Remove.
4671
3e326935
TS
46722016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4673
4674 * config.host: Remove support for avr-rtems.
4675 * config/avr/t-rtems: Remove.
4676
914b155c
TS
46772016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4678
4679 * config.host: Remove m32r-rtems support.
4680
5ebf89bd
TS
46812016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4682
4683 * config.host: Remove h8300-rtems support.
4684
8466af06
TS
46852016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4686
4687 * config.host: Remove support for knetbsd.
4688
d980e738
TS
46892016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4690
4691 * config.host: Remove support for openbsd 2 and 3.
4692
ee2499b4
TS
46932016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4694
4695 * config.host: Remove interix support.
4696 * config/i386/t-interix: Remove.
4697
9f92937b
JDA
46982016-06-18 John David Anglin <danglin@gcc.gnu.org>
4699
4700 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
4701 least-significant bit in function pointer for fixup.
4702
0a0ec53d
AC
47032016-06-05 Aaron Conole <aconole@redhat.com>
4704 Nathan Sidwell <nathan@acm.org>
4705
4706 PR libgcc/71400
4707 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
4708 (get_gcov_error_file): Check __gcov_error_file before trying to
4709 initialize it.
4710 (gcov_error): Always use get_gcov_error_file.
4711
8aa5bdd6
AC
47122016-06-02 Aaron Conole <aconole@redhat.com>
4713
4714 * libgcov-driver-system.c (__gcov_error_file): New.
4715 (get_gcov_error_file): New.
4716 (gcov_error): Use and set __gcov_error_file.
4717 (gcov_error_exit): New.
4718 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
4719
40774faf
NS
47202016-05-26 Nathan Sidwell <nathan@acm.org>
4721
4722 * config/nvptx/free.asm: Delete.
4723 * config/nvptx/malloc.asm: Delete.
4724 * config/nvptx/realloc.c: Delete.
4725 * t-nvptx: Update.
4726
69a6d5ad
NS
47272016-05-25 Nathan Sidwell <nathan@acm.org>
4728
4729 * config/nvptx/crt0.s: Delete.
4730 * config/nvptx/crt0.c: New.
4731 * t-nvptx: Update.
4732
6befaff6
SL
47332016-05-19 Sandra Loosemore <sandra@codesourcery.com>
4734
385c7747 4735 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
4736 dw2/seh configuration.
4737 [x86_64-*-mingw*]: Likewise.
4738
ad251dfd
JS
47392016-05-10 Joel Sherrill <joel@rtems.org>
4740
4741 PR libgcc/70720
4742 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
4743 targets so the same extra_parts are built. Also have tmake_file add
4744 on to its value rather than override.
4745
bc6d9014
OE
47462016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
4747
4748 * config.host: Remove SH5 support.
4749 * configure: Likewise.
4750
9129c8cf
OE
47512016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
4752
4753 * config/sh/crt1.S: Remove SH5 support.
4754 * config/sh/crti.S: Likewise.
4755 * config/sh/crtn.S: Likewise.
4756 * config/sh/lib1funcs-4-300.S: Likewise.
4757 * config/sh/lib1funcs-Os-4-200.S: Likewise.
4758 * config/sh/lib1funcs.S: Likewise.
4759 * config/sh/linux-unwind.h: Likewise.
4760 * config/sh/t-sh64: Delete.
4761
39d50464
CZ
47622016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
4763
4764 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
4765
8b48923b
CZ
47662016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
4767 Joern Rennecke <joern.rennecke@embecosm.com>
4768
4769 * config/arc/crttls.S: New file.
4770 * config/arc/t-arc: New rule.
4771 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
4772
2de1cf8c
NC
47732016-04-25 Nick Clifton <nickc@redhat.com>
4774
4775 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
4776 (__mspabi_cmpd): Likewise.
4777 * config/msp430/floathidf.c (__floathidf): Likewise.
4778 * config/msp430/floathisf.c (__floathisf): Likewise
4779 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
4780 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
4781 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
4782 second parameter.
4783 (__ashrsi3): Likewise.
4784
b8ce3fe2
WB
47852016-04-21 Waldemar Brodkorb <wbx@openadk.org>
4786
4787 * config/m68k/linux-atomic.c: Do not include unistd.h
4788
4986f823
MG
47892016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
4790
4791 * config/arm/ieee754-df.S: Fix typos in comments.
4792
35fbda43
MM
47932016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
4794
4795 PR target/70381
4796 * configure.ac (powerpc*-*-linux*): Rework tests to build
4797 __float128 emulation routines to not depend on using #pragma GCC
4798 target to enable -mfloat128.
4799 * configure: Regnerate.
4800
72d1a48d
EB
48012016-04-04 Eric Botcazou <ebotcazou@adacore.com>
4802
4803 PR target/67172
4804 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
4805 __MINGW32__ is defined.
4806
dc2e8995
JB
48072016-03-28 James Bowman <james.bowman@ftdichip.com>
4808
385c7747 4809 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 4810
104cdaf1
MM
48112016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
4812
4813 PR libgcc/70363
4814 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
4815 built with an assembler that does not support ISA 3.0
4816 instructions, rename __extendkftf2_sw to __extendkftf2.
4817
a5046f48
RO
48182016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4819
4820 PR target/38239
4821 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
4822 call-clobbered registers.
4823 (internal_mcount): Remove __i386__ handling.
4824
df674f74
JS
48252016-02-26 Joel Sherrill <joel@rtems.org>
4826
4827 * config.host: Add x86_64-*-rtems*.
4828
7cb065d6
JS
48292016-02-26 Joel Sherrill <joel@rtems.org>
4830
4831 * libgcc/config.host: Add aarch64-*-rtems*.
4832
47dfdc53
PM
48332016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4834 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4835
4836 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
4837 union of u64 and double.
4838 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
4839 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
4840 value.
4841 (FP_ROUNDMODE): Update the usage of _fpscr.
4842
e6861a99
IV
48432016-02-25 Ilya Verbin <ilya.verbin@intel.com>
4844
4845 PR driver/68463
4846 * Makefile.in (crtoffloadtable$(objext)): New rule.
4847 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
4848 enable_offload_targets is not empty.
4849 * configure: Regenerate.
4850 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
4851 crtoffloadtable.
4852
9bfcbdee
MF
48532016-02-17 Max Filippov <jcmvbkbc@gmail.com>
4854
4855 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
4856 .literal_position before the function.
4857 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
4858 Likewise.
4859
4cb4721f
MK
48602016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
4861
4862 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
4863 * config/s390/morestack.S: New file.
4864 * config/s390/t-stack-s390: New file.
4865 * generic-morestack.c (__splitstack_find): Add s390-specific code.
4866
b29d9a29
WL
48672016-02-12 Walter Lee <walt@tilera.com>
4868
4869 * config.host (tilegx*-*-linux*): remove ti from
4870 softfp_int_modes for 32-bit configs.
4871
03a0ae7d
ILT
48722016-02-10 Ian Lance Taylor <iant@google.com>
4873
4874 PR go/68562
4875 * config/i386/morestack.S (__stack_split_initialize): Align
4876 stack.
4877
68750bce
AT
48782016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
4879
4880 PR bootstrap/69611
4881 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
4882 __FLOAT128__ to compile only for __float128 capable targets.
4883
7d296953
JJ
48842016-01-25 Jakub Jelinek <jakub@redhat.com>
4885
4886 PR target/69444
4887 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
4888 instead of ___NO_FPRS__.
4889
a71c0334 48902016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
4891 Steven Munroe <munroesj@linux.vnet.ibm.com>
4892 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
4893
4894 * config/rs6000/float128-sed: New files to convert TF names to KF
4895 names for PowerPC IEEE 128-bit floating point support.
4896 * config/rs6000/float128-sed-hw: Likewise.
4897
4898 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4899 floating point hardware support.
4900
4901 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4902 128-bit floating point software emulation or use ISA 3.0 hardware
4903 support if it is available.
4904
4905 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4906 floating point.
4907
4908 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4909 floating point to IBM extended double.
4910
4911 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4912 double to IEEE 128-bit floating point.
4913
4914 * config/rs6000/t-float128: New Makefile fragments to enable
4915 building __float128 emulation support.
4916 * config/rs6000/t-float128-hw: Likewise.
4917
4918 * config/rs6000/sfp-exceptions.c: New file to provide exception
4919 support for IEEE 128-bit floating point.
4920
4921 * config/rs6000/floattikf.c: New files for converting between IEEE
4922 128-bit floating point and signed/unsigned 128-bit integers.
4923 * config/rs6000/fixunskfti.c: Likewise.
4924 * config/rs6000/fixkfti.c: Likewise.
4925 * config/rs6000/floatuntikf.c: Likewise.
4926
4927 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4928 when building on 64-bit systems, or when VSX is enabled.
4929 (_FP_W_TYPE): Likewise.
4930 (_FP_WS_TYPE): Likewise.
4931 (_FP_I_TYPE): Likewise.
4932 (TItype): Define on 64-bit systems.
4933 (UTItype): Likewise.
4934 (TI_BITS): Likewise.
4935 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4936 (_FP_MUL_MEAT_Q): Likewise.
4937 (_FP_DIV_MEAT_D): Likewise.
4938 (_FP_DIV_MEAT_Q): Likewise.
4939 (_FP_NANFRAC_D): Likewise.
4940 (_FP_NANFRAC_Q): Likewise.
4941 (ISA_BIT): Add exception support if we are being compiled on a
4942 machine with hardware floating point support to build the IEEE
4943 128-bit emulation functions.
4944 (FP_EX_INVALID): Likewise.
4945 (FP_EX_OVERFLOW): Likewise.
4946 (FP_EX_UNDERFLOW): Likewise.
4947 (FP_EX_DIVZERO): Likewise.
4948 (FP_EX_INEXACT): Likewise.
4949 (FP_EX_ALL): Likewise.
4950 (__sfp_handle_exceptions): Likewise.
4951 (FP_HANDLE_EXCEPTIONS): Likewise.
4952 (FP_RND_NEAREST): Likewise.
4953 (FP_RND_ZERO): Likewise.
4954 (FP_RND_PINF): Likewise.
4955 (FP_RND_MINF): Likewise.
4956 (FP_RND_MASK): Likewise.
4957 (_FP_DECL_EX): Likewise.
4958 (FP_INIT_ROUNDMODE): Likewise.
4959 (FP_ROUNDMODE): Likewise.
4960
4961 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4962 VSX code, enable IEEE 128-bit floating point. If the compiler can
4963 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4964 floating point hardware instructions and it supports declaring
4965 functions with the ifunc attribute, enable ifunc functions to
4966 switch between software and hardware support.
4967 * configure.ac (powerpc*-*-linux*): Likewise.
4968 * configure: Regenerate.
4969
bdc27e50
NC
49702016-01-15 Nick Clifton <nickc@redhat.com>
4971
4972 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4973 dependency as the source file to be compiled.
4974 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4975 (lib2hw_mul_f5.o): Likewise.
4976
006df05d
MM
49772016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4978
4979 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4980 * libgcc/config/rs6000/fixkfti.c: Likewise.
4981 * libgcc/config/rs6000/fixunskfti.c: Likewise.
4982 * libgcc/config/rs6000/float128-hw.c: Likewise.
4983 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4984 * libgcc/config/rs6000/float128-sed: Likewise.
4985 * libgcc/config/rs6000/floattikf.c: Likewise.
4986 * libgcc/config/rs6000/floatuntikf.c: Likewise.
4987 * libgcc/config/rs6000/quad-float128.h: Likewise.
4988 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4989 * libgcc/config/rs6000/sfp-machine.h: Likewise.
4990 * libgcc/config/rs6000/t-float128: Likewise.
4991 * libgcc/config/rs6000/t-float128-hw: Likewise.
4992 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4993 * libgcc/config.host: Likewise.
4994 * libgcc/configure: Likewise.
4995 * libgcc/configure.ac: Likewise.
4996
29176d57 49972016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
4998 Steven Munroe <munroesj@linux.vnet.ibm.com>
4999 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
5000
5001 * config/rs6000/sfp-exceptions.c: New file to provide exception
5002 support for IEEE 128-bit floating point.
5003
5004 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5005 floating point hardware support.
5006
5007 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5008 point conversions.
5009 * config/rs6000/fixunskfti.c: Likewise.
5010 * config/rs6000/fixkfti.c: Likewise.
5011 * config/rs6000/floatuntikf.c: Likewise.
5012 * config/rs6000/extendkftf2-sw.c: Likewise.
5013 * config/rs6000/trunctfkf2-sw.c: Likewise.
5014
5015 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5016 128-bit floating point software emulation or use ISA 3.0 hardware
5017 support if it is available.
5018
5019 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5020 floating point.
5021
5022 * config/rs6000/t-float128: New Makefile fragments to enable
5023 building __float128 emulation support.
5024 * config/rs6000/t-float128-hw: Likewise.
5025
5026 * config/rs6000/float128-sed: New file to convert TF names to KF
5027 names for PowerPC IEEE 128-bit floating point support.
5028
5029 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5030 when building on 64-bit systems, or when VSX is enabled.
5031 (_FP_W_TYPE): Likewise.
5032 (_FP_WS_TYPE): Likewise.
5033 (_FP_I_TYPE): Likewise.
5034 (TItype): Define on 64-bit systems.
5035 (UTItype): Likewise.
5036 (TI_BITS): Likewise.
5037 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5038 (_FP_MUL_MEAT_Q): Likewise.
5039 (_FP_DIV_MEAT_D): Likewise.
5040 (_FP_DIV_MEAT_Q): Likewise.
5041 (_FP_NANFRAC_D): Likewise.
5042 (_FP_NANFRAC_Q): Likewise.
5043 (ISA_BIT): Add exception support if we are being compiled on a
5044 machine with hardware floating point support to build the IEEE
5045 128-bit emulation functions.
5046 (FP_EX_INVALID): Likewise.
5047 (FP_EX_OVERFLOW): Likewise.
5048 (FP_EX_UNDERFLOW): Likewise.
5049 (FP_EX_DIVZERO): Likewise.
5050 (FP_EX_INEXACT): Likewise.
5051 (FP_EX_ALL): Likewise.
5052 (__sfp_handle_exceptions): Likewise.
5053 (FP_HANDLE_EXCEPTIONS): Likewise.
5054 (FP_RND_NEAREST): Likewise.
5055 (FP_RND_ZERO): Likewise.
5056 (FP_RND_PINF): Likewise.
5057 (FP_RND_MINF): Likewise.
5058 (FP_RND_MASK): Likewise.
5059 (_FP_DECL_EX): Likewise.
5060 (FP_INIT_ROUNDMODE): Likewise.
5061 (FP_ROUNDMODE): Likewise.
5062
5063 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5064 compiler can do __float128.
5065 * configure: Regenerate.
5066
5067 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5068 VSX code, enable IEEE 128-bit floating point.
5069
a2218983
OH
50702016-01-05 Olivier Hainque <hainque@adacore.com>
5071
5072 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 5073 specificities.
a2218983 5074
818ab71a
JJ
50752016-01-04 Jakub Jelinek <jakub@redhat.com>
5076
5077 Update copyright years.
5078
5a6c8ffa
AP
50792015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
5080
5081 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 5082 soft-fp targets.
5a6c8ffa 5083
077067a5
BE
50842015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5085
5086 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5087 instead of abort to avoid dependency on stdlib.h.
5088
787c1027
JDA
50892015-12-09 John David Anglin <danglin@gcc.gnu.org>
5090
5091 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5092 to initialize call to __dl_fixup once.
5093
04a9ae28
NC
50942015-12-04 Nick Clifton <nickc@redhat.com>
5095
5096 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5097 Allow for the second argument being negative.
5098 * config.host (extra_parts): Define for MSP430. Create separate
5099 libraries for each of the hardware multiply formats.
5100 * config/msp430/lib2hw_mul.S: Build only the multiply routines
5101 that are needed.
5102 * config/msp430/lib2mul.c: Likewise.
5103 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5104 Add rules to build hardware multiply libraries.
5105 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5106 __mspabi_divul function.
5107 (__mspabi_divllu): New stub function.
5108
9a32d437
JDA
51092015-12-01 John David Anglin <danglin@gcc.gnu.org>
5110
5111 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5112 fixup values if saved GOT address doesn't match runtime address.
5113 (fixup_branch_offset): Reorder list.
5114
e5ef217c
RO
51152015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5116
5117 * Makefile.in (VTV_CFLAGS): New variable.
5118 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5119 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5120 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5121 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5122 to extra_parts if $enable_vtable_verify = yes.
5123
78cc43a2
SN
51242015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
5125
5126 PR target/68059
5127 * config/arm/linux-atomic-64bit.c (__write): Rename to...
5128 (write): ...this and fix the return type.
5129
9afebea2
DD
51302015-11-19 DJ Delorie <dj@redhat.com>
5131
5132 * config/msp430/lib2hw_mul.S: Fix alignment.
5133
33f47f42
NS
51342015-11-18 Nathan Sidwell <nathan@codesourcery.com>
5135
5136 * config/nvptx/reduction.c: New.
5137 * config/nvptx/t-nvptx (LIB2ADD): Add it.
5138
d9adb476
DE
51392015-11-15 David Edelsohn <dje.gcc@gmail.com>
5140
5141 * config/rs6000/on_exit.c: New file.
5142 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
5143 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
5144
c0ab1970
CZ
51452015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
5146
5147 * config/arc/dp-hack.h: Add support for ARCHS.
5148 * config/arc/ieee-754/divdf3.S: Likewise.
5149 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5150 * config/arc/ieee-754/muldf3.S: Likewise.
5151 * config/arc/ieee-754/mulsf3.S: Likewise
5152 * config/arc/lib1funcs.S: Likewise
5153 * config/arc/gmon/dcache_linesz.S: Don't read the build register
5154 for ARCv2 cores.
5155 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
5156 for ARCv2 cores.
5157 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
5158 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
5159 cores.
5160
e6b6bf09
RO
51612015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5162
5163 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
5164 value.
5165 * config/ia64/crtend.S: Likewise.
5166
a153644f
TS
51672015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5168
5169 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
5170 __CHAR_BIT__ instead of BITS_PER_UNIT.
5171 * fixed-bit.h: Likewise.
5172 * fp-bit.h: Likewise.
5173 * libgcc2.c (__popcountSI2): Likewise.
5174 (__popcountDI2): Likewise.
5175 * libgcc2.h: Likewise.
5176 * libgcov.h: Likewise.
5177
3dee689d
DE
51782015-11-07 David Edelsohn <dje.gcc@gmail.com>
5179
5180 * config/rs6000/atexit.c: New file.
5181 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
5182 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
5183 * config/rs6000/cxa_finalize.c
5184 (catomic_compare_and_exchange_bool_acq): Negate return value.
5185
2ef543e4
VK
51862015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5187
5188 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
5189 (processor_subtypes): Add znver1.
5190 (get_amd_cpu): Detect znver1.
5191
1300f017
CL
51922015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
5193
5194 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
5195 Include crtfastmath.o.
5196
3e5bb7ee
JR
51972015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
5198
5199 PR libgcc/66883
5200 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 5201
793aa938
KP
52022015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
5203
5204 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
5205 * config/rl78/divmodsi.S: Update return register to r8.
5206 * config/rl78/divmodhi.S: Update return register to r8,r9.
5207 Branch to main_loop_done_himode to pop registers before return.
5208
7d296953 52092015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
5210
5211 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
5212 (__cpu_indicator_init): Fix model selection for AMD CPUs.
5213
6a192b5a
KY
52142015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
5215
5216 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
5217
4a0a9457
MF
52182015-10-03 Max Filippov <jcmvbkbc@gmail.com>
5219
5220 * config.host (xtensa*-*-uclinux*): New configuration.
5221
ab91c076
KY
52222015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
5223
385c7747 5224 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
5225 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
5226
30954527
JM
52272015-09-28 Joseph Myers <joseph@codesourcery.com>
5228
5229 * soft-fp/adddf3.c: Update from glibc.
5230 * soft-fp/addsf3.c: Likewise.
5231 * soft-fp/addtf3.c: Likewise.
5232 * soft-fp/divdf3.c: Likewise.
5233 * soft-fp/divsf3.c: Likewise.
5234 * soft-fp/divtf3.c: Likewise.
5235 * soft-fp/double.h: Likewise.
5236 * soft-fp/eqdf2.c: Likewise.
5237 * soft-fp/eqsf2.c: Likewise.
5238 * soft-fp/eqtf2.c: Likewise.
5239 * soft-fp/extenddftf2.c: Likewise.
5240 * soft-fp/extended.h: Likewise.
5241 * soft-fp/extendsfdf2.c: Likewise.
5242 * soft-fp/extendsftf2.c: Likewise.
5243 * soft-fp/extendxftf2.c: Likewise.
5244 * soft-fp/fixdfdi.c: Likewise.
5245 * soft-fp/fixdfsi.c: Likewise.
5246 * soft-fp/fixdfti.c: Likewise.
5247 * soft-fp/fixsfdi.c: Likewise.
5248 * soft-fp/fixsfsi.c: Likewise.
5249 * soft-fp/fixsfti.c: Likewise.
5250 * soft-fp/fixtfdi.c: Likewise.
5251 * soft-fp/fixtfsi.c: Likewise.
5252 * soft-fp/fixtfti.c: Likewise.
5253 * soft-fp/fixunsdfdi.c: Likewise.
5254 * soft-fp/fixunsdfsi.c: Likewise.
5255 * soft-fp/fixunsdfti.c: Likewise.
5256 * soft-fp/fixunssfdi.c: Likewise.
5257 * soft-fp/fixunssfsi.c: Likewise.
5258 * soft-fp/fixunssfti.c: Likewise.
5259 * soft-fp/fixunstfdi.c: Likewise.
5260 * soft-fp/fixunstfsi.c: Likewise.
5261 * soft-fp/fixunstfti.c: Likewise.
5262 * soft-fp/floatdidf.c: Likewise.
5263 * soft-fp/floatdisf.c: Likewise.
5264 * soft-fp/floatditf.c: Likewise.
5265 * soft-fp/floatsidf.c: Likewise.
5266 * soft-fp/floatsisf.c: Likewise.
5267 * soft-fp/floatsitf.c: Likewise.
5268 * soft-fp/floattidf.c: Likewise.
5269 * soft-fp/floattisf.c: Likewise.
5270 * soft-fp/floattitf.c: Likewise.
5271 * soft-fp/floatundidf.c: Likewise.
5272 * soft-fp/floatundisf.c: Likewise.
5273 * soft-fp/floatunditf.c: Likewise.
5274 * soft-fp/floatunsidf.c: Likewise.
5275 * soft-fp/floatunsisf.c: Likewise.
5276 * soft-fp/floatunsitf.c: Likewise.
5277 * soft-fp/floatuntidf.c: Likewise.
5278 * soft-fp/floatuntisf.c: Likewise.
5279 * soft-fp/floatuntitf.c: Likewise.
5280 * soft-fp/gedf2.c: Likewise.
5281 * soft-fp/gesf2.c: Likewise.
5282 * soft-fp/getf2.c: Likewise.
5283 * soft-fp/ledf2.c: Likewise.
5284 * soft-fp/lesf2.c: Likewise.
5285 * soft-fp/letf2.c: Likewise.
5286 * soft-fp/muldf3.c: Likewise.
5287 * soft-fp/mulsf3.c: Likewise.
5288 * soft-fp/multf3.c: Likewise.
5289 * soft-fp/negdf2.c: Likewise.
5290 * soft-fp/negsf2.c: Likewise.
5291 * soft-fp/negtf2.c: Likewise.
5292 * soft-fp/op-1.h: Likewise.
5293 * soft-fp/op-2.h: Likewise.
5294 * soft-fp/op-4.h: Likewise.
5295 * soft-fp/op-8.h: Likewise.
5296 * soft-fp/op-common.h: Likewise.
5297 * soft-fp/quad.h: Likewise.
5298 * soft-fp/single.h: Likewise.
5299 * soft-fp/soft-fp.h: Likewise.
5300 * soft-fp/subdf3.c: Likewise.
5301 * soft-fp/subsf3.c: Likewise.
5302 * soft-fp/subtf3.c: Likewise.
5303 * soft-fp/truncdfsf2.c: Likewise.
5304 * soft-fp/trunctfdf2.c: Likewise.
5305 * soft-fp/trunctfsf2.c: Likewise.
5306 * soft-fp/trunctfxf2.c: Likewise.
5307 * soft-fp/unorddf2.c: Likewise.
5308 * soft-fp/unordsf2.c: Likewise.
5309 * soft-fp/unordtf2.c: Likewise.
5310
4dfe21ac
RE
53112015-09-24 Richard Earnshaw <rearnsha@arm.com>
5312
5313 PR libgcc/67624
5314 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
5315
df2a1cc4
RO
53162015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5317
5318 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5319 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
5320 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
5321 messages.
5322 (internal_mcount): Likewise.
5323 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
5324 crt_compile, add CRTSTUFF_T_CFLAGS_S.
5325
2d110442
RO
53262015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5327
5328 * configure.ac (libgcc_cv_solaris_crts): New test.
5329 * configure: Regenerate.
5330 * config.in: Regenerate.
5331 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
5332 * config/gmon-sol2.c: Rename to ...
5333 * config/sol2/gmon.c: ... this.
5334 Include auto-target.h.
5335 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
5336 * config/t-sol2: Rename to ...
5337 * config/sol2/t-sol2: ... this.
5338 (gmon.o): Reflect renaming.
5339 (crtp.o, crtpg.o): New rules.
5340 * config.host (*-*-solaris2*): Reflect renaming.
5341 Use system CRTs if present.
5342 Remove default CRT case.
5343
d572e439
JDA
53442015-09-23 John David Anglin <danglin@gcc.gnu.org>
5345
5346 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
5347 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
5348 __kernel_cmpxchg2.
5349 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
5350 (__sync_val_compare_and_swap_##WIDTH): Likewise.
5351 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
5352 (__sync_lock_test_and_set_##WIDTH): Likewise.
5353 (__sync_lock_release_##WIDTH): Likewise.
5354 (__sync_fetch_and_##OP##_4): Change result to match type of
5355 __kernel_cmpxchg.
5356 (__sync_##OP##_and_fetch_4): Likewise.
5357 (__sync_val_compare_and_swap_4): Likewise.
5358 (__sync_bool_compare_and_swap_4): likewise.
5359 (__sync_lock_test_and_set_4): Likewise.
5360 (__sync_lock_release_4): Likewise.
5361 (FETCH_AND_OP_2): Add long long variants.
5362 (OP_AND_FETCH_2): Likewise.
5363 (COMPARE_AND_SWAP_2 ): Likewise.
5364 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5365 (SYNC_LOCK_RELEASE_2): Likewise.
5366 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
5367
7d296953 53682015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
5369
5370 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
5371 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
5372 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
5373 (get_available_features): Habdle new features.
5374
131314e1
JB
53752015-09-21 James Bowman <james.bowman@ftdichip.com>
5376
5377 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
5378 memory layout. Deal correctly with BSS region larger than 32K.
5379 Handle a watchdog reset like a power-on reset. Clean up unused
5380 code.
5381
04218b35
AD
53822015-09-18 Andrew Dixie <andrewd@gentrack.com>
5383 David Edelsohn <dje.gcc@gmail.com>
5384
5385 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
5386 * config/rs6000/crtdbase.S: New file.
5387 * config/rs6000/t-aix-cxa: Build crtdbase.o.
5388
c8338173
MF
53892015-09-15 Max Filippov <jcmvbkbc@gmail.com>
5390
5391 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
5392 Add support for call0 ABI.
5393
7a84bf71
JDA
53942015-09-13 John David Anglin <danglin@gcc.gnu.org>
5395
5396 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
5397
4efab402
SH
53982015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
5399
5400 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
5401 (__GTHREAD_HAS_COND): Likewise.
5402 (__gthread_t): Likewise.
5403 (__gthread_cond_t): Likewise.
5404 (__gthread_time_t): Likewise.
5405 (__GTHREAD_MUTEX_INIT): Likewise.
5406 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
5407 (__GTHREAD_COND_INIT): Likewise.
5408 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
5409 (__GTHREAD_TIME_INIT): Likewise.
5410 (__gthread_create): Likewise.
5411 (__gthread_join): Likewise.
5412 (__gthread_detach): Likewise.
5413 (__gthread_equal): Likewise.
5414 (__gthread_self): Likewise.
5415 (__gthread_yield): Likewise.
5416 (__gthread_cond_broadcast): Likewise.
5417 (__gthread_cond_signal): Likewise.
5418 (__gthread_cond_wait): Likewise.
5419 (__gthread_cond_timedwait): Likewise.
5420 (__gthread_cond_wait_recursive): Likewise.
5421 (__gthread_cond_destroy): Likewise.
5422 (rtems_gxx_once): Delete.
5423 (rtems_gxx_key_create): Likewise.
5424 (rtems_gxx_key_delete): Likewise.
5425 (rtems_gxx_getspecific): Likewise.
5426 (rtems_gxx_setspecific): Likewise.
5427 (rtems_gxx_mutex_init): Likewise.
5428 (rtems_gxx_mutex_destroy): Likewise.
5429 (rtems_gxx_mutex_lock): Likewise.
5430 (rtems_gxx_mutex_trylock): Likewise.
5431 (rtems_gxx_mutex_unlock): Likewise.
5432 (rtems_gxx_recursive_mutex_init): Likewise.
5433 (rtems_gxx_recursive_mutex_lock): Likewise.
5434 (rtems_gxx_recursive_mutex_trylock): Likewise.
5435 (rtems_gxx_recursive_mutex_unlock): Likewise.
5436 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
5437 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
5438 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
5439 (__gthread_once): Likewise.
5440 (__gthread_key_create): Likewise.
5441 (__gthread_key_delete): Likewise.
5442 (__gthread_getspecific): Likewise.
5443 (__gthread_setspecific): Likewise.
5444 (__gthread_key_t): Use <pthread.h> type.
5445 (__gthread_once_t): Likewise
5446 (__gthread_mutex_t): Use <sys/lock.h> type.
5447 (__gthread_recursive_mutex_t): Likewise
5448 (__gthread_mutex_lock): Use <sys/lock.h> function.
5449 (__gthread_mutex_trylock): Likewise.
5450 (__gthread_mutex_timedlock): Likewise.
5451 (__gthread_mutex_unlock): Likewise.
5452 (__gthread_mutex_destroy): Likewise.
5453 (__gthread_recursive_mutex_lock): Likewise.
5454 (__gthread_recursive_mutex_trylock): Likewise.
5455 (__gthread_recursive_mutex_timedlock): Likewise.
5456 (__gthread_recursive_mutex_unlock): Likewise.
5457 (__gthread_recursive_mutex_destroy): Likewise.
5458
991995c4
MF
54592015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5460
5461 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
5462 context->sp instead of context->cfa.
5463
0e19db59
MF
54642015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5465
5466 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
5467 with unwind-dw2-fde-dip.
5468
b6ac5f62
MF
54692015-08-18 Max Filippov <jcmvbkbc@gmail.com>
5470
5471 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
5472 CALL12 followed by series of ENTRY to spill windowed registers.
5473 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
5474 instead of making linux spill syscall.
5475
3e0f3349
YR
54762015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
5477
5478 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
5479 (get_intel_cpu): Likewise.
5480
51c728b1
L
54812015-08-12 H.J. Lu <hongjiu.lu@intel.com>
5482
5483 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
5484 (get_intel_cpu): Add Knights Landing support.
5485
aff4eeac
UB
54862015-08-11 Uros Bizjak <ubizjak@gmail.com>
5487
5488 PR target/66954
5489 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
5490 (get_available_features): Handle FEATURE_PCLMUL.
5491
736e56da
L
54922015-08-10 H.J. Lu <hongjiu.lu@intel.com>
5493
5494 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
5495 Broadwell.
5496
54d22142
UB
54972015-07-22 Uros Bizjak <ubizjak@gmail.com>
5498
5499 PR target/66954
5500 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
5501 (get_available_features): Handle FEATURE_AES.
5502
20ca17e4
CLT
55032015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
5504
5505 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
5506 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
5507
ebe4a560
NS
55082015-07-17 Nathan Sidwell <nathan@codesourcery.com>
5509
5510 * offloadstuff.c: Constify host data.
5511
180744c0
JB
55122015-07-17 Jan Beulich <jbeulich@suse.com>
5513
5514 * config/t-softfp: Split up "else ifneq".
5515
a03c6ae3
SL
55162015-07-14 Sandra Loosemore <sandra@codesourcery.com>
5517 Cesar Philippidis <cesar@codesourcery.com>
5518 Chung-Lin Tang <cltang@codesourcery.com>
5519
5520 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
5521 for __nios2_arch__ level.
5522
73358db5
JM
55232015-07-13 John Marino <gnugcc@marino.st>
5524
5525 * config/i386/t-dragonfly: New.
5526
f9a12f7b
JDA
55272015-07-01 John David Anglin <danglin@gcc.gnu.org>
5528
5529 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
5530 better match light-weight syscall argument order.
5531 (__kernel_cmpxchg2): Likewise.
5532 Adjust callers.
5533
cb78b51c
L
55342015-06-30 H.J. Lu <hongjiu.lu@intel.com>
5535
5536 * config.host: Support i[34567]86-*-elfiamcu target.
5537 * config/t-softfp-sfdftf: New file.
5538 * config/i386/32/t-iamcu: Likewise.
5539 * configure: Regenerated.
5540
4fa0f9ea
JL
55412015-06-23 James Lemke <jwlemke@codesourcery.com>
5542
5543 libgcc/config/arm/
5544 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
5545
428b3812
L
55462015-05-27 H.J. Lu <hongjiu.lu@intel.com>
5547
5548 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
5549
7d296953 55502015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
5551
5552 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
5553 md_unwind_header
5554 * config/i386/freebsd-unwind.h: New.
5555
9b789cc1
UB
55562015-05-22 Uros Bizjak <ubizjak@gmail.com>
5557
5558 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
5559 i386/t-crtfm to tmake_file.
5560 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
5561 (set_fast_math): Use set_fast_math_sse for SSE targets.
5562 * config/i386/t-crtfm: Remove.
5563
3dafb220
AM
55642015-05-21 Alan Modra <amodra@gmail.com>
5565
5566 PR libgcc/66225
5567 * config/rs6000/morestack.S: Remove ".abiversion 1".
5568
0f0fd745
AM
55692015-05-20 Alan Modra <amodra@gmail.com>
5570
5571 * config/rs6000/morestack.S: New.
5572 * config/rs6000/t-stack-rs6000: New.
5573 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
5574 to tmake_file.
5575 * generic-morestack.c: Don't build for powerpc 32-bit.
5576
515ae71b
EB
55772015-05-19 Eric Botcazou <ebotcazou@adacore.com>
5578
5579 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
5580 Remove useless endif/ifneq ($(enable_shared),yes) pair.
5581
36805406
JL
55822015-05-16 James Bowman <james.bowman@ftdichip.com>
5583
5584 * config.host: FT32 target added.
5585 * config/ft32/*: New files for FT32 target.
5586
ff935d0c
MG
55872015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
5588
385c7747
UB
5589 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
5590 New macros.
5591 * config/arm/ieee754-df.S: Add CFI directives.
5592 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 5593
9b92a9f3
EB
55942015-05-13 Eric Botcazou <ebotcazou@adacore.com>
5595
5596 * configure.ac: Include config/sjlj.m4.
5597 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
5598 * config.in: Regenerate.
5599 * configure: Likewise.
5600 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
5601
98b5dc61
UB
56022015-05-12 Uros Bizjak <ubizjak@gmail.com>
5603
5604 * libgcov-util.c: Add space between string literal and macro name.
5605
5a0ff57c
SL
56062015-05-06 Sandra Loosemore <sandra@codesourcery.com>
5607 Chris Jones <chrisj@nvidia.com>
5608 Joshua Conner <jconner@nvidia.com>
5609
5610 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
5611 (arm*-*-uclinux*): Likewise.
5612 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
5613 * config/arm/crtfastmath.c: New file.
5614
d28ad5d4
BS
56152014-04-29 Bernd Schmidt <bernds@codesourcery.com>
5616
5617 * Makefile.in (real_host_noncanonical): New variable.
5618 (libsubdir): Use it.
5619 * configure.ac (real_host_noncanonical): Compute. Remove special
5620 case for intelmicemul.
5621 * configure: Regenerate.
5622
cc86234f
UB
56232015-04-28 Uros Bizjak <ubizjak@gmail.com>
5624
5625 * config/frv/elf-lib.h: New file.
5626 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
5627 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
5628 to tm_file.
5629
56302015-04-28 Uros Bizjak <ubizjak@gmail.com>
5631
5632 * config/frv/frvbengin.c: Do not include defaults.h
5633 * config/frv/frvend.c: Ditto.
5634
2f6bd6eb
YS
56352015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
5636
5637 * config.host: Add h8300-*-linux
5638 * config/h8300/t-linux: New file.
5639 * config/h8300/lib1funs.s: Change symbol prefix.
5640 * config/h8300/sfp-machine.h: 64bit double support.
5641
15aa7b44
GR
56422015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
5643 Szabolcs Nagy <szabolcs.nagy@arm.com>
5644
5645 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
5646 Linux if target provides dl_iterate_phdr.
5647
abd0cdc9
L
56482015-04-17 H.J. Lu <hongjiu.lu@intel.com>
5649
5650 PR target/65612
5651 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
5652 * config/i386/cpuinfo.c (__cpu_model): Initialize.
5653 (__cpu_indicator_init@GCC_4.8.0): New.
5654 (__cpu_model@GCC_4.8.0): Likewise.
5655 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
5656 -DUSE_ELF_SYMVER.
5657
72ed1126
NC
56582015-04-16 Nick Clifton <nickc@redhat.com>
5659
5660 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
5661 and __modhi3 functions.
5662 * config/rl78/divmodso.S: Add G14 and G13 versions of the
5663 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
5664
d26b2237
CG
56652015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
5666
5667 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
5668 do-while loop as macro body to avoid warnings.
5669
cacf1f59
JJ
56702015-04-10 Jakub Jelinek <jakub@redhat.com>
5671 Iain Sandoe <iain@codesourcery.com>
5672
5673 PR target/65351
5674 * configure: Regenerate.
5675
e8a4ed3b
JJ
56762015-04-07 Jakub Jelinek <jakub@redhat.com>
5677 Iain Sandoe <iain@codesourcery.com>
5678
5679 PR target/65351
5680 * configure: Regenerate.
5681
0341335e
CLT
56822015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
5683
5684 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
5685
590e2636 56862015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 5687
590e2636
MF
5688 Implement call0 ABI for xtensa
5689 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
5690 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
5691 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
5692 use ret in call0 ABI.
5693 * config/xtensa/t-windowed: New file.
5694 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
5695 * libgcc/configure: Regenerated.
5696 * libgcc/configure.ac: Check if xtensa target is configured for
5697 windowed ABI and thus needs to use custom unwind code.
5698
7727f8f2
JW
56992015-02-12 Jonathan Wakely <jwakely@redhat.com>
5700
5701 PR libgcc/64885
5702 * gthr-single.h: Use __unused__ attribute instead of unused.
5703 * config/gthr-vxworks.h: Likewise.
5704 * config/i386/gthr-win32.h: Likewise.
5705
0e4a0def
KT
57062015-02-27 Kai Tietz <ktietz@redhat.com>
5707
5708 PR target/65038
5709 * config.in: Regenerated.
5710 * configure: Likewise.
5711 * configure.ac (AC_HEADER_STDC): Added explicit.
5712 (AC_CHECK_HEADERS): Check for default headers plus
5713 for ftw.h header.
5714 * libgcov-util.c (gcov_read_profile_dir): Disable use
5715 of ftw-function, if header is not found.
5716 (ftw_read_file): Likewise.
5717
b6530d0a
TS
57182015-02-23 Thomas Schwinge <thomas@codesourcery.com>
5719
5720 PR target/65181
5721 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
5722 -Dinhibit_libc.
5723
53cfb467
SL
57242015-02-17 Sandra Loosemore <sandra@codesourcery.com>
5725
5726 * config/arm/bpabi.S (test_div_by_zero): Make label names
5727 consistent between thumb2 and arm mode cases. Separate the
5728 signed comparison on the high word of the numerator from the
5729 unsigned comparison on the low word.
5730 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
5731 signed comparison.
5732
77d10a1b
JM
57332015-02-17 Joseph Myers <joseph@codesourcery.com>
5734
5735 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
5736 and <string.h>.
5737 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
5738
98174188
RE
57392015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
5740
5741 PR gcov-profile/61889
471274de 5742 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 5743
771bef14
NC
57442015-02-02 Nick Clifton <nickc@redhat.com>
5745
5746 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
5747 rounding up the fraction.
5748
40702893
JDA
57492015-01-31 John David Anglin <danglin@gcc.gnu.org>
5750
5751 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
5752 oldval and newval to const void *. Fix typo.
5753 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
5754 (FETCH_AND_OP_WORD): Likewise.
5755 (OP_AND_FETCH_WORD): Likewise.
5756 (COMPARE_AND_SWAP_2): Likewise.
5757 (__sync_val_compare_and_swap_4): Likewise.
5758 (__sync_lock_test_and_set_4): Likewise.
5759 (SYNC_LOCK_RELEASE_2): Likewise.
5760 Remove support for long long atomic operations.
5761
f7f049fa
CT
57622015-01-27 Caroline Tice <cmtice@google.com>
5763
5764 Committing VTV Cywin/Ming patch for Patrick Wollgast
5765 * Makefile.in: Move rules to build vtv_*.o out of the check
5766 for CUSTOM_CRTSTUFF.
5767 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
5768 i[34567]86-*-mingw*)
5769 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
5770 enable_vtable_verify.
5771
8410904a
NC
57722015-01-27 Nick Clifton <nickc@redhat.com>
5773
5774 * config/rl78/cmpsi2.S: Use function start and end macros.
5775 (__gcc_bcmp): New function.
5776 * config/rl78/lshrsi3.S: Use function start and end macros.
5777 * config/rl78/mulsi3.S: Add support for G10.
5778 (__mulqi3): New function for G10.
5779 * config/rl78/signbit.S: Use function start and end macros.
5780 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
5781 fpmath-sf.S.
5782 (LIB2FUNCS_EXCLUDE): Define.
5783 (LIB2FUNCS_ST): Define.
5784 * config/rl78/trampoline.S: Use function start and end macros.
5785 * config/rl78/vregs.h (START_FUNC): New macro.
5786 (START_ANOTHER_FUNC): New macro.
5787 (END_FUNC): New macro.
5788 (END_ANOTHER_FUNC): New macro.
5789 * config/rl78/bit-count.S: New file. Contains assembler
5790 implementations of the bit counting functions: ___clzhi2,
5791 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
5792 __paritysi2, __popcounthi2 and __popcountsi2.
5793 * config/rl78/fpbit-sf.S: New file. Contains assembler
5794 implementationas of the math functions: __negsf2, __cmpsf2,
5795 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
5796 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
5797 * config/rl78/fpmath-sf.S: New file. Contains assembler
5798 implementations of the math functions: __subsf3, __addsf3,
5799 __mulsf3 and __divsf3
5800
f962fbf1
RO
58012015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5802
5803 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
5804 Add i386/elf-lib.h to tm_file.
5805 * config/i386/elf-lib.h: Fix comment.
5806 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
5807 && __sun__ && __svr4__]: Remove workaround.
5808
939911c5
ASJ
58092015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5810
5811 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
5812 FEATURE_BMI2.
5813 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
5814
c8f2dff2
L
58152015-01-24 H.J. Lu <hongjiu.lu@intel.com>
5816
5817 * config/i386/cpuinfo.c (processor_subtypes): Add
5818 INTEL_COREI7_BROADWELL.
5819 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
5820 model numbers.
5821
7bbf9734
UB
58222015-01-23 Uros Bizjak <ubizjak@gmail.com>
5823
5824 * config/i386/elf-lib.h: New file.
5825 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
5826 Wrap definition in #ifdef __i386__.
5827 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5828 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
5829 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
5830 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
5831 to tm_file.
5832
324820f1
CG
58332015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
5834
5835 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
5836 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
5837
a9ce4e4a
CLT
58382015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
5839
5840 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
5841 Update rt_sigframe format and address for current Nios II
5842 Linux conventions.
5843
82a19768
AT
58442015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
5845
5846 * config.host (arm*-*-freebsd*): Add new configuration for
5847 arm*-*-freebsd*.
5848 * config/arm/freebsd-atomic.c: New file.
5849 * config/arm/t-freebsd: Likewise.
5850 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
5851 'PC-relative indirect' OS's.
5852
0969ec7d
EB
58532015-01-06 Eric Botcazou <ebotcazou@adacore.com>
5854
5855 * config.host: Add Visium support.
5856 * config/visium: New directory.
5857
5624e564
JJ
58582015-01-05 Jakub Jelinek <jakub@redhat.com>
5859
5860 Update copyright years.
5861
82f84ecb
MF
58622014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
5863
5864 * config.host: Support mipsisa32r6 and mipsisa64r6.
5865 * config/mips/mips16.S: Do not build for R6.
5866
69044fa9
OE
58672014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
5868
5869 * config/sh/crt.h: New.
5870 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
5871 symbols.
5872 * config/sh/crt1.S: Likewise.
5873
2405e0ea
UB
58742014-12-15 Uros Bizjak <ubizjak@gmail.com>
5875
5876 PR libgcc/63832
5877 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
5878 func_ptr *dtor_list temporary variable to avoid "array subscript
5879 is above array bounds" warnings.
5880
7d296953 58812014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
5882
5883 * Makefile.in (with_aix_soname): Define.
5884 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
5885 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
5886 * configure: Recreate.
5887
a66272f6
OH
58882014-12-05 Olivier Hainque <hainque@adacore.com>
5889
5890 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
5891 now provided by defaults.h.
5892
6342b2c5
OE
58932014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
5894
7d0ee249 5895 PR target/55351
6342b2c5
OE
5896 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
5897 whether it's defined.
5898
c17eac85
IT
58992014-11-27 Ilya Tocar <ilya.tocar@intel.com>
5900
5901 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5902 * config/i386/cpuinfo.c (get_available_features): Detect it.
5903
1025cb6c
TW
59042014-11-27 Tony Wang <tony.wang@arm.com>
5905
5906 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5907 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5908 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5909
d19f2e38
SB
59102014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
5911
5912 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5913
17f6e9a3
JDA
59142014-11-24 John David Anglin <danglin@gcc.gnu.org>
5915
5916 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5917 instead.
5918
0cd7c672
GM
59192014-11-21 Guy Martin <gmsoft@tuxicoman.be>
5920 John David Anglin <danglin@gcc.gnu.org>
5921
5922 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5923 (FETCH_AND_OP_2): New. Use for subword and double word operations.
5924 (OP_AND_FETCH_2): Likewise.
5925 (COMPARE_AND_SWAP_2): Likewise.
5926 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5927 (SYNC_LOCK_RELEASE_2): Likewise.
5928 (SUBWORD_SYNC_OP): Remove.
5929 (SUBWORD_VAL_CAS): Likewise.
5930 (SUBWORD_BOOL_CAS): Likewise.
5931 (FETCH_AND_OP_WORD): Update.
5932 Consistently use signed types.
cc86234f 5933
85c64bbe
BS
59342014-11-13 Bernd Schmidt <bernds@codesourcery.com>
5935 Thomas Schwinge <thomas@codesourcery.com>
5936 Ilya Verbin <ilya.verbin@intel.com>
5937 Andrey Turetskiy <andrey.turetskiy@intel.com>
5938
5939 * Makefile.in (crtoffloadbegin$(objext)): New rule.
5940 (crtoffloadend$(objext)): Likewise.
5941 * configure: Regenerate.
5942 * configure.ac (accel_dir_suffix): Compute new variable.
5943 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5944 if enable_offload_targets is not empty.
5945 * offloadstuff.c: New file.
5946
52a1ff8b
NC
59472014-11-13 Nick Clifton <nickc@redhat.com>
5948
5949 * config/rl78/divmodhi.S: Add support for the G10 architecture.
5950 Use START_FUNC and END_FUNC macros to enable linker garbage
5951 collection.
5952 * config/rl78/divmodqi.S: Likewise.
5953 * config/rl78/divmodsi.S: Likewise.
5954 * config/rl78/mulsi3.S: Likewise.
5955 * config/rl78/lib2div.c: Remove G10 functions.
5956 * config/rl78/lib2muls.c: Likewise.
5957 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5958 * config/rl78/vregs.h (START_FUNC): New macro.
5959 (END_FUNC): New macro.
5960
050af144
MF
59612014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
5962
5963 * config/mips/mips16.S: Set .module when supported. Update O32
5964 FP64 calling convention and use for FPXX when possible. Add FPXX
5965 calling convention fallback case.
5966
738f2522
BS
59672014-11-06 Bernd Schmidt <bernds@codesourcery.com>
5968
5969 * config.host: Handle nvptx-*-*.
5970 * shared-object.mk (as-flags-$o): Define.
5971 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5972 -xassembler-with-cpp.
5973 * static-object.mk: Identical changes.
5974 * config/nvptx/t-nvptx: New file.
5975 * config/nvptx/crt0.s: New file.
5976 * config/nvptx/free.asm: New file.
5977 * config/nvptx/malloc.asm: New file.
5978 * config/nvptx/realloc.c: New file.
5979
e610393c
JM
59802014-10-30 Joseph Myers <joseph@codesourcery.com>
5981
5982 * Makefile.in (libgcc.map.in): New target.
5983 (libgcc.map): Use libgcc.map.in.
5984 * config/t-softfp (softfp_compat): New variable to be set by
5985 users.
5986 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5987 variables.
5988 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5989 directory.
5990 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5991 that use compat symbols and disable all code unless [SHARED].
5992 * config/t-softfp-compat: New file.
5993 * find-symver.awk: New file.
5994 * configure.ac (--with-glibc-version): New configure option.
5995 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5996 * configure: Regenerate.
5997 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5998 soft-float and e500.
5999
bc1b3a88
JM
60002014-10-29 Joseph Myers <joseph@codesourcery.com>
6001
6002 * config/t-hardfp (hardfp_exclusions): Document new variable for
6003 user to define.
6004 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6005 * config/t-softfp (softfp_extras): Document new variable for user
6006 to define.
6007 (softfp_func_list): Add functions from $(softfp_extras).
6008 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6009 * config.host (powerpc*-*-linux*): For e500v1, use
6010 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6011 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6012 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6013
ef2810c1
JDA
60142014-10-26 John David Anglin <danglin@gcc.gnu.org>
6015
6016 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6017 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6018 memory read accesses are ok.
6019
d80c2bea
JM
60202014-10-25 Joseph Myers <joseph@codesourcery.com>
6021
6022 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6023 * configure: Regenerate.
6024 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6025 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
6026 of soft-fp for 32-bit classic hard float. Do not use
6027 t-softfp-excl for soft float.
6028
693b297b
JM
60292014-10-22 Joseph Myers <joseph@codesourcery.com>
6030
6031 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6032 configurations.
6033 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6034 Remove variables.
6035
18a3415e
GJL
60362014-10-22 Georg-Johann Lay <avr@gjlay.de>
6037
6038 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6039 introduced with 2014-10-21 trunk r216525.
6040
c1dd9790 60412014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
6042 Vidya Praveen <vidya.praveen@atmel.com>
6043 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
6044 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
6045 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
6046
6047 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6048 order.
6049
6050 Updated library functions for AVRTINY arch.
6051 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6052 Replaced occurrences of r0/r1 with tmp/zero reg macros.
6053 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6054 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6055 wsubi/wadi macors.
6056 (__mulsi3_helper): Update stack, preserve callee saved regs and
6057 argument from stack. Restore callee save registers.
6058 (__mulpsi3): Likewise.
6059 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6060 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 6061 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
6062 AVRTINY.
6063 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6064 (__do_copy_data): Added new definition for AVRTINY.
6065 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6066 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6067 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6068 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6069 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6070 macors.
18a3415e 6071 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
6072 AVRTINY.
6073
18a3415e 6074 Fix broken long multiplication on tiny arch.
c1dd9790 6075
5f606431
JM
60762014-10-09 Joseph Myers <joseph@codesourcery.com>
6077
6078 * soft-fp/double.h: Update from glibc.
6079 * soft-fp/eqdf2.c: Likewise.
6080 * soft-fp/eqsf2.c: Likewise.
6081 * soft-fp/eqtf2.c: Likewise.
6082 * soft-fp/extenddftf2.c: Likewise.
6083 * soft-fp/extended.h: Likewise.
6084 * soft-fp/extendsfdf2.c: Likewise.
6085 * soft-fp/extendsftf2.c: Likewise.
6086 * soft-fp/extendxftf2.c: Likewise.
6087 * soft-fp/gedf2.c: Likewise.
6088 * soft-fp/gesf2.c: Likewise.
6089 * soft-fp/getf2.c: Likewise.
6090 * soft-fp/ledf2.c: Likewise.
6091 * soft-fp/lesf2.c: Likewise.
6092 * soft-fp/letf2.c: Likewise.
6093 * soft-fp/op-1.h: Likewise.
6094 * soft-fp/op-2.h: Likewise.
6095 * soft-fp/op-4.h: Likewise.
6096 * soft-fp/op-8.h: Likewise.
6097 * soft-fp/op-common.h: Likewise.
6098 * soft-fp/quad.h: Likewise.
6099 * soft-fp/single.h: Likewise.
6100 * soft-fp/soft-fp.h: Likewise.
6101 * soft-fp/unorddf2.c: Likewise.
6102 * soft-fp/unordsf2.c: Likewise.
6103 * soft-fp/unordtf2.c: Likewise.
6104 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6105 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6106 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6107 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6108 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6109 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6110 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6111 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6112 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6113 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6114
9b84e7a8
RX
61152014-10-08 Rong Xu <xur@google.com>
6116
6117 * libgcov-util.c (read_gcda_file): Fix format.
6118 (find_match_gcov_info): Ditto.
6119 (calculate_2_entries): New.
6120 (compute_one_gcov): Ditto.
6121 (gcov_info_count_all_cold): Ditto.
6122 (gcov_info_count_all_zero): Ditto.
6123 (extract_file_basename): Ditto.
6124 (get_file_basename): Ditto.
6125 (set_flag): Ditto.
6126 (matched_gcov_info): Ditto.
6127 (calculate_overlap): Ditto.
6128 (gcov_profile_overlap): Ditto.
6129 * libgcov-driver.c (compute_summary): Make
6130 it avavilable for external calls.
6131
fe1090c1
RX
61322014-10-06 Rong Xu <xur@google.com>
6133
6134 * Makefile.in: Ditto.
6135 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6136 (gcov_sort_icall_topn_counter): Ditto.
6137 (gcov_sort_topn_counter_arrays): Ditto.
6138 (dump_one_gcov): Sort indirect_call topn counters.
6139 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
6140 function.
6141 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
6142 utility function.
6143 (__gcov_indirect_call_topn_profiler): New profiler function.
6144 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
6145 * libgcov.h: New decls.
6146
3daa7bbf
TS
61472014-10-04 Trevor Saunders <tsaunders@mozilla.com>
6148
6149 * config.host: Remove support for score-*.
6150
9a79452d
JM
61512014-09-22 Joseph Myers <joseph@codesourcery.com>
6152
6153 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6154 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
6155 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
6156 __LIBGCC_XF_MANT_DIG__.
6157 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
6158 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
6159 __LIBGCC_TF_MANT_DIG__.
6160 * libgcc2.c (NOTRUNC): Define in terms of
6161 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
6162 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
6163
1a849e50
JM
61642014-09-22 Joseph Myers <joseph@codesourcery.com>
6165
6166 PR target/63312
6167 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
6168 New macros.
6169
598a1586
HPN
61702014-09-22 Hans-Peter Nilsson <hp@axis.com>
6171
6172 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
6173 override USE_PT_GNU_EH_FRAME.
6174 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
6175 check USE_EH_FRAME_REGISTRY_ALWAYS against
6176 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
6177 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
6178 variable for substituted force_explicit_eh_registry.
6179 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
6180 * configure.ac (explicit-exception-frame-registration):
6181 New AC_ARG_ENABLE.
6182 * configure: Regenerate.
6183
3a8fe7c6
OH
61842014-09-19 Olivier Hainque <hainque@adacore.com>
6185
6186 * config.host (powerpc-wrs-vxworksmils): New configuration,
6187 same as vxworksae.
6188
dd69f047
JM
61892014-09-18 Joseph Myers <joseph@codesourcery.com>
6190
6191 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
6192
e770bfd9
JM
61932014-09-18 Joseph Myers <joseph@codesourcery.com>
6194
6195 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
6196 bits not set bits as indicating trapping exceptions.
6197
cadb2b96
NS
61982014-09-17 Nathan sidwell <nathan@acm.org>
6199
6200 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
6201 (LIBGCOV_DRIVER): ... here.
6202 * libgcov-driver.c (gcov_master): New.
6203 (gcov_exit): Remove from master chain.
6204 (__gcov_init): Add to master chain if version compatible. Don't
6205 clear the version.
6206 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
6207 (gcov_reset_int): Clear master chain, if compatible.
6208 (gcov_dump_int): New internal interface. Dump master chain, if
6209 compatible.
6210 (gcov_dump): Alias for gcov_dump_int.
6211 * libgcov.h (struct gcov_root): Add next and prev fields.
6212 (struct gcov_master): New struct.
6213 (__gcov_master): New.
6214 (gcov_dump_int): Declare.
6215
580d22a3
OH
62162014-09-17 Olivier Hainque <hainque@adacore.com>
6217
6218 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
6219 and crtbegin.o + crtend.o to extra_parts.
6220
8cc4b7a2
JM
62212014-09-12 Joseph Myers <joseph@codesourcery.com>
6222
6223 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
6224 __LIBGCC_HAS_SF_MODE__.
6225 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6226 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6227 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6228 * config/libbid/bid_gcc_intrinsics.h
6229 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6230 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
6231 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
6232 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
6233 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
6234 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
6235
ea3f2b24
GJL
62362014-09-11 Georg-Johann Lay <avr@gjlay.de>
6237
6238 PR target/63223
6239 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
6240 and R24 as needed. Make work for all devices and .text locations.
6241 (__do_global_ctors, __do_global_dtors): Use word addresses.
6242 (__tablejump__, __tablejump_elpm__): Remove functions.
6243 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
6244 Add _tablejump2.
6245 (XICALL, XIJMP): New macros.
6246
b677236a
MS
62472014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
6248 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6249
6250 * config.host (aarch64*): Include crtfastmath.o and
6251 t-crtfm.
6252 * config/aarch64/crtfastmath.c: New file.
6253
157e859f
TS
62542014-09-08 Trevor Saunders <tsaunders@mozilla.com>
6255
6256 * config.host: Remove picochip support.
6257 * config/picochip/adddi3.S: Remove.
6258 * config/picochip/ashlsi3.S: Remove.
6259 * config/picochip/ashlsi3.c: Remove.
6260 * config/picochip/ashrsi3.S: Remove.
6261 * config/picochip/ashrsi3.c: Remove.
6262 * config/picochip/clzsi2.S: Remove.
6263 * config/picochip/cmpsi2.S: Remove.
6264 * config/picochip/divmod15.S: Remove.
6265 * config/picochip/divmodhi4.S: Remove.
6266 * config/picochip/divmodsi4.S: Remove.
6267 * config/picochip/lib1funcs.S: Remove.
6268 * config/picochip/longjmp.S: Remove.
6269 * config/picochip/lshrsi3.S: Remove.
6270 * config/picochip/lshrsi3.c: Remove.
6271 * config/picochip/parityhi2.S: Remove.
6272 * config/picochip/popcounthi2.S: Remove.
6273 * config/picochip/setjmp.S: Remove.
6274 * config/picochip/subdi3.S: Remove.
6275 * config/picochip/t-picochip: Remove.
6276 * config/picochip/ucmpsi2.S: Remove.
6277 * config/picochip/udivmodhi4.S: Remove.
6278 * config/picochip/udivmodsi4.S: Remove.
6279
66bb34c0
JM
62802014-09-08 Joseph Myers <joseph@codesourcery.com>
6281
6282 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
6283 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
6284 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
6285 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
6286 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
6287 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
6288 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
6289 defined and LIBGCC2_HAS_DF_MODE is defined.
6290 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
6291 defined and LIBGCC2_HAS_XF_MODE is defined.
6292 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
6293 defined and LIBGCC2_HAS_TF_MODE is defined.
6294
9686a2e6
JM
62952014-09-08 Joseph Myers <joseph@codesourcery.com>
6296
6297 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
6298 and ROUND_TOWARDS_ZERO conditionals.
6299
71c3e2ef
NS
63002014-09-07 Nathan sidwell <nathan@acm.org>
6301
6302 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
6303 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
6304
53d68b9f
JM
63052014-09-05 Joseph Myers <joseph@codesourcery.com>
6306
6307 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
6308 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6309 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6310 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6311 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6312 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6313 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6314 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
6315 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
6316 (DWARF_FRAME_REGISTERS): Change all uses to
6317 __LIBGCC_DWARF_FRAME_REGISTERS__.
6318 (EH_RETURN_STACKADJ_RTX): Change all uses to
6319 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6320 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
6321 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
6322 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
6323 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
6324 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
6325 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
6326 to __LIBGCC_EH_FRAME_SECTION_NAME__.
6327 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
6328 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
6329 __LIBGCC_STACK_POINTER_REGNUM__.
6330 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
6331 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6332 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6333 to __LIBGCC_STACK_POINTER_REGNUM__.
6334 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6335 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6336 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
6337 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6338 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
6339 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
6340 (STACK_POINTER_REGNUM): Change all uses to
6341 __LIBGCC_STACK_POINTER_REGNUM__.
6342 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
6343 use to __LIBGCC_STACK_POINTER_REGNUM__.
6344 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
6345 uses to __LIBGCC_STACK_POINTER_REGNUM__.
6346 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
6347 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6348 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
6349 to __LIBGCC_DWARF_FRAME_REGISTERS__.
6350 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
6351 to __LIBGCC_STACK_POINTER_REGNUM__.
6352 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
6353 Remove conditional definition.
6354 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
6355 __LIBGCC_TEXT_SECTION_ASM_OP__.
6356 (EH_FRAME_SECTION_NAME): Change all uses to
6357 __LIBGCC_EH_FRAME_SECTION_NAME__.
6358 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
6359 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
6360 (CTORS_SECTION_ASM_OP): Change all uses to
6361 __LIBGCC_CTORS_SECTION_ASM_OP__.
6362 (DTORS_SECTION_ASM_OP): Change all uses to
6363 __LIBGCC_DTORS_SECTION_ASM_OP__.
6364 (JCR_SECTION_NAME): Change all uses to
6365 __LIBGCC_JCR_SECTION_NAME__.
6366 (INIT_SECTION_ASM_OP): Change all uses to
6367 __LIBGCC_INIT_SECTION_ASM_OP__.
6368 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6369 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6370 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
6371 __LIBGCC_STACK_GROWS_DOWNWARD__.
6372 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
6373 __LIBGCC_INIT_SECTION_ASM_OP__.
6374 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
6375 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
6376 (EH_FRAME_SECTION_NAME): Change all uses to
6377 __LIBGCC_EH_FRAME_SECTION_NAME__.
6378 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
6379 definitions. Change all uses to
6380 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
6381 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
6382 __LIBGCC_STACK_GROWS_DOWNWARD__.
6383 (DWARF_FRAME_REGISTERS): Change all uses to
6384 __LIBGCC_DWARF_FRAME_REGISTERS__.
6385 (EH_RETURN_STACKADJ_RTX): Change all uses to
6386 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
6387 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
6388 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
6389 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
6390 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
6391 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
6392
b20ee094
NS
63932014-09-02 Nathan sidwell <nathan@acm.org>
6394
6395 * libgcov-interface.c (STRONG_ALIAS): New.
6396 (__gcov_flush): Call __gcov_reset_int.
6397 (__gcov_reset): Strong alias for ...
6398 (__gcov_reset_ing): ... this renamed hidden version.
6399 * libgcov.h (__gcov_reset_int): New declaration.
6400
1ac83976
YS
64012014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
6402
25efdb9f
YS
6403 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
6404 call from here...
6405 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
6406 (__dso_handle): Define on Cygwin.
6407 * config/i386/t-cygming (crtbeginS.o): New rule.
6408 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
6409
1ac83976
YS
6410 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
6411 declaration syntax.
6412
c6f9ea3b
SE
64132014-08-13 Steve Ellcey <sellcey@mips.com>
6414
6415 * crtstuff.c: Undef caddr_t.
6416
5b1ea7c5
SE
64172014-08-12 Steve Ellcey <sellcey@mips.com>
6418
6419 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
6420
4303c581
NS
64212014-08-07 Nathan Sidwell <nathan@acm.org>
6422
6423 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
6424 (LIBGCOV_DRIVER): ... to here.
6425 * libgcov.h (gcov_do_dump): New #define.
6426 (struct gcov_root): New.
6427 (__gcov_root): New declaration.
6428 (__gcov_dump_one): Declare.
6429 * libgcov-driver.c (gcov_list, gcov_dump_complete,
6430 run_accounted): Delete.
6431 (gcov_compute_histogram): Add LIST argument, adjust.
6432 (compute_summary): Adjust gcov_compute_histogram call.
6433 (gcov_do_dump): Not hidden, static in libgcov.
6434 (gcov_clear): Move to interface.c.
6435 (__gcov_dump_one): New, broken out of ...
6436 (gcov_exit): ... here. Make static.
6437 (__gcov_root): New.
6438 (__gcov_init): Adjust.
6439 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
6440 declarations.
6441 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
6442 (gcov_clear): Moved from driver.c. Add LIST argument.
6443 (__gcov_reset): Adjust for changed interfaces.
6444 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
6445
23742a9e
RAR
64462014-08-04 Rohit <rohitarulraj@freescale.com>
6447
6448 PR target/60102
6449 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 6450 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 6451
b98a872b
NS
64522014-08-01 Nathan Sidwell <nathan@acm.org>
6453
6454 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
6455 LIBGCOV_INTERFACE): Reformat.
6456 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
6457 IN_GCOV_TOOL.
6458 * libgcov-interface.c: Reformat some comments.
6459 (__gcov_flush_mx): Add declaration. Tidy up definition.
6460
6adaaa1d
AM
64612014-07-31 Alan Modra <amodra@gmail.com>
6462 Peter Bergner <bergner@vnet.ibm.com>
6463
6464 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
6465 (pack_ldouble): New function.
6466 (__gcc_qadd): Use it.
6467 (__gcc_qmul): Likewise.
6468 (__gcc_qdiv): Likewise.
6469 (__gcc_qneg): Likewise.
6470 (__gcc_stoq): Likewise.
6471 (__gcc_dtoq): Likewise.
6472
87cb0c0c
UW
64732014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
6474
6475 * config/s390/tpf-unwind.h: Include <stdbool.h>.
6476 (__tpf_eh_return): Add original return address as second parameter.
6477 Handle cases where unwinder routines were called directly, instead
6478 of from within the C++ library.
6479
19926161
NS
64802014-07-29 Nathan Sidwell <nathan@acm.org>
6481
6482 * libgcov.h: Move renaming of entry points to lib gcov specific
6483 portion.
6484 (gcov_do_dump): New rename.
6485 (gcov_rewrite): Remove inline, make HIDDEN.
6486 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
6487 (gcov_exit_compute_summary): Rename to ...
6488 (compute_summary): ... here. Add LIST argument.
6489 (gcov_exit_merge_gcda): Rename to ...
6490 (merge_one_data): ... here.
6491 (gcov_exit_write_gcda): Rename to ...
6492 (write_one_data): ... here.
6493 (gcov_exit_merge_summary): Rename to ...
6494 (merge_summary): Add RUN_COUNTED argument.
6495 (gcov_exit_dump_gcov): Rename to ...
6496 (dump_one_gcov): Add RUN_COUNTED argument.
6497 (gcov_do_dump): New function, broken out of ...
6498 (gcov_exit): ... here. Call it.
6499
17522262
AG
65002014-07-27 Anthony Green <green@moxielogic.com>
6501
6502 * config.host: Add moxiebox configuration suppport.
6503
6dc33097
NS
65042014-07-27 Nathan Sidwell <nathan@acm.org>
6505
6506 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
6507 (struct gcov_filename): ... here. Include buffer and max length
6508 fields.
6509 (gcov_max_filename): Remove.
6510 (gi_filename): Remove.
6511 (gcov_exit_compute_summary): Compute max filename here.
6512 (gcov_exit_merge_gcda): Add filename parm, adjust.
6513 (gcov_exit_merge_summary): Likewise.
6514 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
6515 (gcov_exit): Likewise.
6516 (__gcov_init): Don't calculate max length here.
6517 * libgcov_util.c (max_filename_len): Remove.
6518 (read_gcda_file): Don't calculate max length here.
6519 (gcov_read_profile_dir): Don't propagate here.
6520 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
6521 struct gcov_filename changes.
6522 (gcov_exit_open_gcda_file): Likewise.
6523
770f687d
NS
65242014-07-25 Nathan Sidwell <nathan@acm.org>
6525
6526 * libgcov-driver.c (set_gcov_dump_complete,
6527 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
6528 functions polluting user's namespace.
6529 (gcov_exit): Set variable directly.
6530 (gcov_clear): Reset variable directly.
6531 * libgcov-interface.c (get_gcov_dymp_complete,
6532 reset_gov_dump_complete): Remove declarations.
6533 (__gcov_reset, __gcov_dump): Don't call them.
6534
fabf71ba
DD
65352014-07-24 DJ Delorie <dj@redhat.com>
6536
6537 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
6538 (__gcc_deregister_frame): Move logic to detect deregister function
6539 to ...
6540 (__gcc_register_frame): here, so it's consistent with the register
6541 logic.
fabf71ba 6542
d10ee722
NS
65432014-07-23 Nathan Sidwell <nathan@acm.org>
6544
6545 * libgcov-driver.c (set_gcov_list): Remove.
6546 (gcov_list): Make non-static in GCOV_TOOL.
6547 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
6548
a4137090
JDA
65492014-07-17 John David Anglin <danglin@gcc.gnu.org>
6550
6551 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
6552 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
6553 Don't use SYNC_LOCK_RELEASE for int type.
6554
72602c6c
RB
65552014-07-14 Richard Biener <rguenther@suse.de>
6556
6557 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
6558
d5313205
RX
65592014-07-11 Rong Xu <xur@google.com>
6560
6561 * libgcov-util.c (gcov_max_filename): Fix declartion.
6562
c77556a5
RX
65632014-07-10 Rong Xu <xur@google.com>
6564
6565 Add gcov-tool: an offline gcda profile processing tool
6566 Support.
6567 * libgcov-driver.c (gcov_max_filename): Make available
6568 to gcov-tool.
6569 * libgcov-merge.c (__gcov_merge_add): Replace
6570 gcov_read_counter() with a Macro.
6571 (__gcov_merge_ior): Ditto.
6572 (__gcov_merge_time_profile): Ditto.
6573 (__gcov_merge_single): Ditto.
6574 (__gcov_merge_delta): Ditto.
6575 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
6576 in the utility functions.
6577 (set_fn_ctrs): Utility function for reading gcda files to in-memory
6578 gcov_list object link lists.
6579 (tag_function): Ditto.
6580 (tag_blocks): Ditto.
6581 (tag_arcs): Ditto.
6582 (tag_lines): Ditto.
6583 (tag_counters): Ditto.
6584 (tag_summary): Ditto.
6585 (read_gcda_finalize): Ditto.
6586 (read_gcda_file): Ditto.
6587 (ftw_read_file): Ditto.
6588 (read_profile_dir_init): Ditto.
6589 (gcov_read_profile_dir): Ditto.
6590 (gcov_read_counter_mem): Ditto.
6591 (gcov_get_merge_weight): Ditto.
6592 (merge_wrapper): A wrapper function that calls merging handler.
6593 (gcov_merge): Merge two gcov_info objects with weights.
6594 (find_match_gcov_info): Find the matched gcov_info in the list.
6595 (gcov_profile_merge): Merge two gcov_info object lists.
6596 (__gcov_add_counter_op): Process edge profile counter values.
6597 (__gcov_ior_counter_op): Process IOR profile counter values.
6598 (__gcov_delta_counter_op): Process delta profile counter values.
6599 (__gcov_single_counter_op): Process single profile counter values.
6600 (fp_scale): Callback function for float-point scaling.
cc86234f 6601 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
6602 (gcov_profile_scale): Scaling profile counters.
6603 (gcov_profile_normalize): Normalize profile counters.
6604 * libgcov.h: Add headers and functions for gcov-tool use.
6605 (gcov_get_counter): New.
6606 (gcov_get_counter_target): Ditto.
6607 (struct gcov_info): Make the functions field mutable in gcov-tool
6608 compilation.
6609
5c7dac8a
KT
66102014-06-23 Kai Tietz <ktietz@redhat.com>
6611
6612 PR libgcc/61585
6613 * unwind-seh.c (_Unwind_GetGR): Check for proper
6614 index range.
6615 (_Unwind_SetGR): Likewise.
6616
161c9312
NC
66172014-05-22 Nick Clifton <nickc@redhat.com>
6618
6619 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
6620 -mhwmult=none.
6621
e3f0315f
TJ
66222014-05-22 Teresa Johnson <tejohnson@google.com>
6623
6624 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
6625 include.
6626
dbed5a9b
JM
66272014-05-20 John Marino <gnugcc@marino.st>
6628
6629 * config.host (*-*-dragonfly*): New target.
6630 * crtstuff.c: Make dl_iterate_support generic on *bsd.
6631 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
6632 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
6633 * config/i386/dragonfly-unwind.h: New.
6634
1ec380e5
MR
66352014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6636
6637 PR libgcc/60166
6638 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
6639 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
6640
54fde020
BE
66412014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
6642
6643 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
6644 implementation.
6645
999db125
GJL
66462014-05-12 Georg-Johann Lay <avr@gjlay.de>
6647
6648 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
6649
cceaf54a
RO
66502014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6651
6652 PR libgcc/61097
6653 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
6654 if --enable-shared.
6655
e3fe9b5b
BE
66562014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
6657
6658 Work around for current cygwin32 build problems.
6659 * config/i386/cygming-crtbegin.c (__register_frame_info,
6660 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
6661 functions only for 64-bit systems.
6662
54cf37e9
RO
66632014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6664
6665 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
6666 (sigill_caught, sigill_hdlr): Remove.
6667
d9f069ab
RO
66682014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6669
6670 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
6671 check.
6672 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6673 Solaris 9 single-threaded support.
6674 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6675 Solaris 9 single-threaded support. Add call_user_handler code
6676 sequences.
6677 (sparc_is_sighandler): Likewise.
6678
59976ef8
AK
66792014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6680
6681 * config.host: Append t-floattodi to tmake_file depending on
6682 host_address.
6683
d02bbcf3
JS
66842014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
6685
31466bc0 6686 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 6687
c2e7e597
UB
66882014-03-10 Uros Bizjak <ubizjak@gmail.com>
6689
6690 PR libgcc/60472
6691 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 6692 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
6693 Use __builtin_expect when checking *jcr_list for NULL.
6694
227a7dc8
RO
66952014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6696
6697 PR libgcc/59339
6698 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
6699 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
6700 vtv_*.o to extra_parts if enable_vtable_verify.
6701
df2b279c
NC
67022014-03-06 Nick Clifton <nickc@redhat.com>
6703
6704 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
6705 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
6706
dc11d79b
JY
67072014-02-28 Joey Ye <joey.ye@arm.com>
6708
6709 PR libgcc/60166
6710 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
6711 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
6712 Set to zero.
6713
341c653c
WL
67142014-02-24 Walter Lee <walt@tilera.com>
6715
6716 * config.host: Support "tilegx*" and "tilepro*" triplets.
6717 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
6718 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
6719
95ce7613
CLT
67202014-02-20 Sandra Loosemore <sandra@codesourcery.com>
6721 Chung-Lin Tang <cltang@codesourcery.com>
6722
6723 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
6724 * config/nios2/crti.S: Remove .file directive.
6725 * config/nios2/crtn.S: Likewise.
6726
0bb4fc05
KT
67272014-02-18 Kai Tietz <ktietz@redhat.com>
6728 Jonathan Schleifer <js@webkeks.org>
6729
6730 PR objc/56870
6731 * unwind-seh.c (_GCC_specific_handler): Pass proper
6732 value to unwind-handler.
6733
9acf28f1
JM
67342014-02-12 Joseph Myers <joseph@codesourcery.com>
6735
6736 * soft-fp/adddf3.c: Update from glibc.
6737 * soft-fp/addsf3.c: Likewise.
6738 * soft-fp/addtf3.c: Likewise.
6739 * soft-fp/divdf3.c: Likewise.
6740 * soft-fp/divsf3.c: Likewise.
6741 * soft-fp/divtf3.c: Likewise.
6742 * soft-fp/double.h: Likewise.
6743 * soft-fp/eqdf2.c: Likewise.
6744 * soft-fp/eqsf2.c: Likewise.
6745 * soft-fp/eqtf2.c: Likewise.
6746 * soft-fp/extenddftf2.c: Likewise.
6747 * soft-fp/extended.h: Likewise.
6748 * soft-fp/extendsfdf2.c: Likewise.
6749 * soft-fp/extendsftf2.c: Likewise.
6750 * soft-fp/extendxftf2.c: Likewise.
6751 * soft-fp/fixdfdi.c: Likewise.
6752 * soft-fp/fixdfsi.c: Likewise.
6753 * soft-fp/fixdfti.c: Likewise.
6754 * soft-fp/fixsfdi.c: Likewise.
6755 * soft-fp/fixsfsi.c: Likewise.
6756 * soft-fp/fixsfti.c: Likewise.
6757 * soft-fp/fixtfdi.c: Likewise.
6758 * soft-fp/fixtfsi.c: Likewise.
6759 * soft-fp/fixtfti.c: Likewise.
6760 * soft-fp/fixunsdfdi.c: Likewise.
6761 * soft-fp/fixunsdfsi.c: Likewise.
6762 * soft-fp/fixunsdfti.c: Likewise.
6763 * soft-fp/fixunssfdi.c: Likewise.
6764 * soft-fp/fixunssfsi.c: Likewise.
6765 * soft-fp/fixunssfti.c: Likewise.
6766 * soft-fp/fixunstfdi.c: Likewise.
6767 * soft-fp/fixunstfsi.c: Likewise.
6768 * soft-fp/fixunstfti.c: Likewise.
6769 * soft-fp/floatdidf.c: Likewise.
6770 * soft-fp/floatdisf.c: Likewise.
6771 * soft-fp/floatditf.c: Likewise.
6772 * soft-fp/floatsidf.c: Likewise.
6773 * soft-fp/floatsisf.c: Likewise.
6774 * soft-fp/floatsitf.c: Likewise.
6775 * soft-fp/floattidf.c: Likewise.
6776 * soft-fp/floattisf.c: Likewise.
6777 * soft-fp/floattitf.c: Likewise.
6778 * soft-fp/floatundidf.c: Likewise.
6779 * soft-fp/floatundisf.c: Likewise.
6780 * soft-fp/floatunditf.c: Likewise.
6781 * soft-fp/floatunsidf.c: Likewise.
6782 * soft-fp/floatunsisf.c: Likewise.
6783 * soft-fp/floatunsitf.c: Likewise.
6784 * soft-fp/floatuntidf.c: Likewise.
6785 * soft-fp/floatuntisf.c: Likewise.
6786 * soft-fp/floatuntitf.c: Likewise.
6787 * soft-fp/gedf2.c: Likewise.
6788 * soft-fp/gesf2.c: Likewise.
6789 * soft-fp/getf2.c: Likewise.
6790 * soft-fp/ledf2.c: Likewise.
6791 * soft-fp/lesf2.c: Likewise.
6792 * soft-fp/letf2.c: Likewise.
6793 * soft-fp/muldf3.c: Likewise.
6794 * soft-fp/mulsf3.c: Likewise.
6795 * soft-fp/multf3.c: Likewise.
6796 * soft-fp/negdf2.c: Likewise.
6797 * soft-fp/negsf2.c: Likewise.
6798 * soft-fp/negtf2.c: Likewise.
6799 * soft-fp/op-1.h: Likewise.
6800 * soft-fp/op-2.h: Likewise.
6801 * soft-fp/op-4.h: Likewise.
6802 * soft-fp/op-8.h: Likewise.
6803 * soft-fp/op-common.h: Likewise.
6804 * soft-fp/quad.h: Likewise.
6805 * soft-fp/single.h: Likewise.
6806 * soft-fp/soft-fp.h: Likewise.
6807 * soft-fp/subdf3.c: Likewise.
6808 * soft-fp/subsf3.c: Likewise.
6809 * soft-fp/subtf3.c: Likewise.
6810 * soft-fp/truncdfsf2.c: Likewise.
6811 * soft-fp/trunctfdf2.c: Likewise.
6812 * soft-fp/trunctfsf2.c: Likewise.
6813 * soft-fp/trunctfxf2.c: Likewise.
6814 * soft-fp/unorddf2.c: Likewise.
6815 * soft-fp/unordsf2.c: Likewise.
6816 * soft-fp/unordtf2.c: Likewise.
6817 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
6818 macro.
6819 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6820 Likewise.
6821 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6822 Likewise.
6823 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6824 Likewise.
6825 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6826 Likewise.
6827 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6828 Likewise.
6829 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6830 Likewise.
6831 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6832 Likewise.
6833 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6834 Likewise.
6835 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6836 Likewise.
6837 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6838 Likewise.
6839 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6840 Likewise.
6841 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6842 Likewise.
6843 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
6844 Likewise.
6845 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
6846 Likewise.
6847 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6848 Likewise.
6849
ce245ec6
AK
68502014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6851
6852 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
6853 cannot be represented.
6854 * config/s390/32/_fixsfdi.c: Likewise.
6855 * config/s390/32/_fixtfdi.c: Likewise.
6856 * config/s390/32/_fixunsdfdi.c: Likewise.
6857 * config/s390/32/_fixunssfdi.c: Likewise.
6858 * config/s390/32/_fixunstfdi.c: Likewise.
6859
1c51d688
RS
68602014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
6861
6862 * configure.ac (libgcc_cv_mips_hard_float): New.
6863 * configure: Regenerate.
6864 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
6865 t-softfp-sfdf for hard-float targets.
6866 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
6867 (softfp_float_modes, softfp_int_modes, softfp_extensions)
6868 (softfp_truncations, softfp_exclude_libgcc2): New.
6869 * config/t-hardfp: New file.
6870 * config/t-hardfp-sfdf: Likewise.
6871 * config/hardfp.c: Likewise.
6872
bbf391db
AK
68732014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6874
6875 * config.host: Include t-floattodi also for s390x.
6876 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
6877 * config/s390/32/_fixsfdi.c: Likewise.
6878 * config/s390/32/_fixtfdi.c: Likewise.
6879 * config/s390/32/_fixunsdfdi.c: Likewise.
6880 * config/s390/32/_fixunssfdi.c: Likewise.
6881 * config/s390/32/_fixunstfdi.c: Likewise.
6882
91da0481
RO
68832014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6884
6885 PR target/59788
6886 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
6887 (install-libgcc-unwind-map-forbuild): New target.
6888 (all): Depend on install-libgcc-unwind-map-forbuild.
6889 (install-libgcc-unwind-map): New target.
6890 (install): Depend on install-libgcc-unwind-map.
6891
02b67731
SL
68922014-02-02 Sandra Loosemore <sandra@codesourcery.com>
6893
6894 * config/nios2/crti.S (_init): Initialize GOT pointer from
6895 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
6896
1ea0a651
RS
68972014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
6898
6899 * configure.ac: Check __mips64 when setting host_address.
6900 * configure: Regenerate.
6901 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6902 mips/t-mips64 and t-softfp.
6903 (mips*-*-linux*): Don't add mips/t-tpbit.
6904 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6905 (DPBIT, DPBIT_CFLAGS): Delete.
6906 * config/mips/sfp-machine.h: New file.
6907 * config/mips/t-mips64: Likewise.
6908 * config/mips/t-softfp-tf: Likewise.
6909 * config/mips/t-tpbit: Delete.
6910
f32b0061
MS
69112014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
6912
6913 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6914 as long long.
6915
a5420aa4
WL
69162014-01-25 Walter Lee <walt@tilera.com>
6917
6918 * config/tilepro/atomic.c: Include tconfig.h. Don't include
6919 config.h or system.h.
6920 (bool) Define.
6921
24534912
WL
69222014-01-25 Walter Lee <walt@tilera.com>
6923
6924 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6925 (post_atomic_barrier): Ditto.
6926 (__fetch_and_do): New macro.
6927 (__atomic_fetch_and_do): Use __fetch_and_do.
6928 (__sync_fetch_and_do): New macro.
6929 (__sync_fetch_and_add_4): New function.
6930 (__sync_fetch_and_sub_4): New function.
6931 (__sync_fetch_and_or_4): New function.
6932 (__sync_fetch_and_and_4): New function.
6933 (__sync_fetch_and_xor_4): New function.
6934 (__sync_fetch_and_nand_4): New function.
6935 (__sync_fetch_and_add_8): New function.
6936 (__sync_fetch_and_sub_8): New function.
6937 (__sync_fetch_and_or_8): New function.
6938 (__sync_fetch_and_and_8): New function.
6939 (__sync_fetch_and_xor_8): New function.
6940 (__sync_fetch_and_nand_8): New function.
6941 (__do_and_fetch): New macro.
6942 (__atomic_do_and_fetch): Use __do_and_fetch.
6943 (__sync_do_and_fetch): New macro.
6944 (__sync_add_and_fetch_4): New function.
6945 (__sync_sub_and_fetch_4): New function.
6946 (__sync_or_and_fetch_4): New function.
6947 (__sync_and_and_fetch_4): New function.
6948 (__sync_xor_and_fetch_4): New function.
6949 (__sync_nand_and_fetch_4): New function.
6950 (__sync_add_and_fetch_8): New function.
6951 (__sync_sub_and_fetch_8): New function.
6952 (__sync_or_and_fetch_8): New function.
6953 (__sync_and_and_fetch_8): New function.
6954 (__sync_xor_and_fetch_8): New function.
6955 (__sync_nand_and_fetch_8): New function.
6956 (__sync_exchange_methods): New macro.
6957 (__sync_val_compare_and_swap_4): New function.
6958 (__sync_bool_compare_and_swap_4): New function.
6959 (__sync_lock_test_and_test_4): New function.
6960 (__sync_val_compare_and_swap_8): New function.
6961 (__sync_bool_compare_and_swap_8): New function.
6962 (__sync_lock_test_and_test_8): New function.
6963 (__subword_cmpxchg_body): New macro.
6964 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6965 (__atomic_compare_exchange_2): Ditto.
6966 (__sync_subword_cmpxchg): New macro.
6967 (__sync_val_compare_and_swap_1): New function.
6968 (__sync_bool_compare_and_swap_1): New function.
6969 (__sync_val_compare_and_swap_2): New function.
6970 (__sync_bool_compare_and_swap_2): New function.
6971 (__atomic_subword): Rename to ...
6972 (__subword): ... New name.
6973 (__atomic_subword_fetch): Use __subword.
6974 (__sync_subword_fetch): New macro.
6975 (__sync_fetch_and_add_1): New function.
6976 (__sync_fetch_and_sub_1): New function.
6977 (__sync_fetch_and_or_1): New function.
6978 (__sync_fetch_and_and_1): New function.
6979 (__sync_fetch_and_xor_1): New function.
6980 (__sync_fetch_and_nand_1): New function.
6981 (__sync_fetch_and_add_2): New function.
6982 (__sync_fetch_and_sub_2): New function.
6983 (__sync_fetch_and_or_2): New function.
6984 (__sync_fetch_and_and_2): New function.
6985 (__sync_fetch_and_xor_2): New function.
6986 (__sync_fetch_and_nand_2): New function.
6987 (__sync_add_and_fetch_1): New function.
6988 (__sync_sub_and_fetch_1): New function.
6989 (__sync_or_and_fetch_1): New function.
6990 (__sync_and_and_fetch_1): New function.
6991 (__sync_xor_and_fetch_1): New function.
6992 (__sync_nand_and_fetch_1): New function.
6993 (__sync_add_and_fetch_2): New function.
6994 (__sync_sub_and_fetch_2): New function.
6995 (__sync_or_and_fetch_2): New function.
6996 (__sync_and_and_fetch_2): New function.
6997 (__sync_xor_and_fetch_2): New function.
6998 (__sync_nand_and_fetch_2): New function.
6999 (__atomic_subword_lock): Use __subword.
7000 (__sync_subword_lock): New macro.
7001 (__sync_lock_test_and_set_1): New function.
7002 (__sync_lock_test_and_set_2): New function.
7003
4d6d3bc5
WL
70042014-01-25 Walter Lee <walt@tilera.com>
7005
7006 * config/tilepro/atomic.c (BIT_OFFSET): Define.
7007 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7008 (__atomic_subword): Ditto.
7009
cbd9890e
WL
70102014-01-25 Walter Lee <walt@tilera.com>
7011
7012 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7013 a prefix op argument.
7014 (__atomic_nand_fetch_4): Add prefix op.
7015 (__atomic_nand_fetch_8): Ditto.
7016
7d296953 70172014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
7018
7019 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7020
46dd1242
L
70212014-01-09 Rong Xu <xur@google.com>
7022
7023 * libgcov-driver.c (this_prg): make it local to save
7024 bss space.
7025 (gcov_exit_compute_summary): Ditto.
7026 (gcov_exit_merge_gcda): Ditto.
7027 (gcov_exit_merge_summary): Ditto.
7028 (gcov_exit_dump_gcov): Ditto.
7029
cc86234f 70302014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
7031
7032 * libgcov-driver.c: Use libgcov.h.
7033 (buffer_fn_data): Use xmalloc instead of malloc.
7034 (gcov_exit_merge_gcda): Ditto.
7035 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7036 * libgcov.h: New common header files for libgcov-*.h.
7037 * libgcov-interface.c: Use libgcov.h
7038 * libgcov-merge.c: Ditto.
7039 * libgcov-profiler.c: Ditto.
7040 * Makefile.in: Add dependence to libgcov.h
7041
a02e7bdd
JM
70422014-01-02 Joseph Myers <joseph@codesourcery.com>
7043
7044 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7045 case of small numerator and finite nonzero result.
7046
ac1dca3c
RS
70472014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7048
7049 Update copyright years
7050
f9030485
RS
70512014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7052
7053 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7054 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7055 config/arc/dp-hack.h, config/arc/fp-hack.h,
7056 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7057 config/arc/ieee-754/arc600-dsp/divdf3.S,
7058 config/arc/ieee-754/arc600-dsp/divsf3.S,
7059 config/arc/ieee-754/arc600-dsp/muldf3.S,
7060 config/arc/ieee-754/arc600-dsp/mulsf3.S,
7061 config/arc/ieee-754/arc600-mul64/divdf3.S,
7062 config/arc/ieee-754/arc600-mul64/divsf3.S,
7063 config/arc/ieee-754/arc600-mul64/muldf3.S,
7064 config/arc/ieee-754/arc600-mul64/mulsf3.S,
7065 config/arc/ieee-754/arc600/divsf3.S,
7066 config/arc/ieee-754/arc600/mulsf3.S,
7067 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7068 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7069 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7070 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7071 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7072 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7073 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7074 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7075 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7076 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7077 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7078 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7079 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7080 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7081 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7082 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7083 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7084 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7085 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7086 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7087 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7088 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7089 vtv_start_preinit.c: Use the standard form for the copyright notice.
7090
e430824f
CLT
70912013-12-31 Sandra Loosemore <sandra@codesourcery.com>
7092 Chung-Lin Tang <cltang@codesourcery.com>
7093 Based on patches from Altera Corporation
7094
7095 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7096 * config/nios2/lib2-nios2.h: New file.
7097 * config/nios2/lib2-divmod-hi.c: New file.
7098 * config/nios2/linux-unwind.h: New file.
7099 * config/nios2/lib2-divmod.c: New file.
7100 * config/nios2/linux-atomic.c: New file.
7101 * config/nios2/t-nios2: New file.
7102 * config/nios2/crti.asm: New file.
7103 * config/nios2/t-linux: New file.
7104 * config/nios2/lib2-divtable.c: New file.
7105 * config/nios2/lib2-mul.c: New file.
7106 * config/nios2/tramp.c: New file.
7107 * config/nios2/crtn.asm: New file.
7108
1879e97f
UB
71092013-12-26 Uros Bizjak <ubizjak@gmail.com>
7110
7111 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7112 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7113 from cpuid.h to check vendor signatures.
7114
f4a4bdbb
GG
71152013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
7116
c2e7e597 7117 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
7118 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7119 (get_amd_cpu): Likewise.
7120
8d2ae544
L
71212013-12-25 H.J. Lu <hongjiu.lu@intel.com>
7122
7123 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7124 Haswell.
7125
74924838
ASJ
71262013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
7127 H.J. Lu <hongjiu.lu@intel.com>
7128
0bb52f25
L
7129 PR target/59422
7130 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
7131 and AMD_JAGUAR.
7132 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7133 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7134 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
7135 FEATURE_XOP and FEATURE_FMA.
7136 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7137 AMDFAM15H_BDVER3.
7138 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 7139 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
7140 FEATURE_FMA4 and FEATURE_XOP.
7141
d3c11974
L
71422013-12-23 H.J. Lu <hongjiu.lu@intel.com>
7143
7144 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
7145 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
7146 (get_intel_cpu): Updated.
7147
064c4ff2
ZC
71482013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
7149
7150 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
7151
8b02e720
UB
71522013-12-09 Uros Bizjak <ubizjak@gmail.com>
7153
7154 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 7155 instructions when __SSE_MATH__ is defined.
8b02e720 7156
3fa2ccb4
RC
71572013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
7158
7159 * config.host (microblaze-*-rtems*): New.
7160
ecd78fc9
KV
71612013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
7162
7163 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
7164 architectures that do not have hardware divide instruction.
7165 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
7166
b21fbbd2
RS
71672013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
7168
7169 * longlong.h: Delete (moved to include/).
7170
b03fb8c9
AZ
71712013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7172
7173 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
7174 of normal number and qNaN to not raise an inexact exception.
7175
3c716922
UB
71762013-11-28 Uros Bizjak <ubizjak@gmail.com>
7177
7178 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
7179
71802013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
7181
7182 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
7183 for correct opcodes on BE.
7184
a3458d22
UB
71852013-11-27 Uros Bizjak <ubizjak@gmail.com>
7186
7187 * soft-fp/op-4.h: Update from glibc.
7188
30b8f78b
KV
71892013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
7190
7191 * libgcc2.c (__udivmoddi4): Define new implementation when
7192 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
7193 divide instructions.
7194
82552a29
OE
71952013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
7196
7197 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
7198
80e87457
RO
71992013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7200
7201 * config/t-softfp (soft-fp-objects-base): New variable.
7202 (soft-fp-objects): Use it.
7203
44178879
DE
72042013-11-23 David Edelson <dje.gcc@gmail.com>
7205 Andrew Dixie <andrewd@gentrack.com>
7206
7207 PR target/33704
7208 * config/rs6000/aixinitfini.c: New file.
7209 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
7210 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
7211 symbols.
7212
e5287671
YR
72132013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
7214
a3458d22 7215 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 7216
867c8b03
JH
72172013-11-18 Jan Hubicka <jh@suse.cz>
7218
7f369373
JH
7219 * libgcov-driver.c (run_accounted): Make global level static.
7220 (gcov_exit_merge_summary): Silence warning; do not clear
7221 run_accounted here.
7222 (gcov_exit): Clear it here.
7223
1d0b3334
JH
7224 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
7225 run_accounted.
7226
867c8b03
JH
7227 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
7228 (all_prg, crc32): Remove static vars.
7229 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
7230 all_prg.
7231 (gcov_exit_merge_gcda): Add crc32 parameter.
7232 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
7233 do not account run if it was already accounted.
7234 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
7235 (gcov_exit): Initialize all_prg; update.
7236
66204992
AS
72372013-11-15 Andreas Schwab <schwab@linux-m68k.org>
7238
7239 * configure: Regenerate.
7240
b54214fe
UW
72412013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7242 Alan Modra <amodra@gmail.com>
7243
7244 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
7245 (frob_update_context): Use it.
7246
72472013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7248 Alan Modra <amodra@gmail.com>
7249
7250 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
7251 (trampoline_initial): Provide ELFv2 variant.
7252 (__trampoline_setup): Likewise.
7253
7254 * config/rs6000/linux-unwind.h (frob_update_context): Do not
7255 check for AIX indirect function call sequence if _CALL_ELF == 2.
7256
72572013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7258 Alan Modra <amodra@gmail.com>
7259
7260 * config/rs6000/linux-unwind.h (get_regs): Do not support
7261 old kernel versions if _CALL_ELF == 2.
7262 (frob_update_context): Do not support PLT stub variants only
7263 generated by old linkers if _CALL_ELF == 2.
7264
13e0981a
UW
72652013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7266 Alan Modra <amodra@gmail.com>
7267
7268 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
7269 location of CR save area for 64-bit little-endian systems.
7270
1a80085d
EB
72712013-11-11 Eric Botcazou <ebotcazou@adacore.com>
7272
7273 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
7274 in tmake_file.
7275 * config/arm/t-vxworks: Delete.
7276
cabeea52
KT
72772013-11-10 Kai Tietz <ktietz@redhat.com>
7278
7279 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
7280 Increment load-count on use of LIBGCC_SONAME DLL.
7281 (hmod_libgcc): New static variable to hold handle of
7282 LIBGCC_SONAME DLL.
7283 (__gcc_deregister_frame): Decrement load-count of
7284 LIBGCC_SONAME DLL.
7285
ac088ba1
BRF
72862013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
7287
7288 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
7289 availability.
7290 * configure: Regenerate
7291
d59a8fcc
UB
72922013-11-07 Uros Bizjak <ubizjak@gmail.com>
7293
7294 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
7295 FP_EX_DENORM. Store result to volatile location after SSE division
7296 to close interrupt window. Remove unneeded fwait after x87
7297 division since interrupt window will be closed by emitted fstp.
9de84e84 7298 Rewrite FP_EX_INEXACT handling.
d59a8fcc 7299
9954c743
JM
73002013-11-06 Joseph Myers <joseph@codesourcery.com>
7301
7302 * soft-fp/README: Update.
7303 * soft-fp/adddf3.c: Update from glibc.
7304 * soft-fp/addsf3.c: Likewise.
7305 * soft-fp/addtf3.c: Likewise.
7306 * soft-fp/divdf3.c: Likewise.
7307 * soft-fp/divsf3.c: Likewise.
7308 * soft-fp/divtf3.c: Likewise.
7309 * soft-fp/double.h: Likewise.
7310 * soft-fp/eqdf2.c: Likewise.
7311 * soft-fp/eqsf2.c: Likewise.
7312 * soft-fp/eqtf2.c: Likewise.
7313 * soft-fp/extenddftf2.c: Likewise.
7314 * soft-fp/extended.h: Likewise.
7315 * soft-fp/extendsfdf2.c: Likewise.
7316 * soft-fp/extendsftf2.c: Likewise.
7317 * soft-fp/extendxftf2.c: Likewise.
7318 * soft-fp/fixdfdi.c: Likewise.
7319 * soft-fp/fixdfsi.c: Likewise.
7320 * soft-fp/fixdfti.c: Likewise.
7321 * soft-fp/fixsfdi.c: Likewise.
7322 * soft-fp/fixsfsi.c: Likewise.
7323 * soft-fp/fixsfti.c: Likewise.
7324 * soft-fp/fixtfdi.c: Likewise.
7325 * soft-fp/fixtfsi.c: Likewise.
7326 * soft-fp/fixtfti.c: Likewise.
7327 * soft-fp/fixunsdfdi.c: Likewise.
7328 * soft-fp/fixunsdfsi.c: Likewise.
7329 * soft-fp/fixunsdfti.c: Likewise.
7330 * soft-fp/fixunssfdi.c: Likewise.
7331 * soft-fp/fixunssfsi.c: Likewise.
7332 * soft-fp/fixunssfti.c: Likewise.
7333 * soft-fp/fixunstfdi.c: Likewise.
7334 * soft-fp/fixunstfsi.c: Likewise.
7335 * soft-fp/fixunstfti.c: Likewise.
7336 * soft-fp/floatdidf.c: Likewise.
7337 * soft-fp/floatdisf.c: Likewise.
7338 * soft-fp/floatditf.c: Likewise.
7339 * soft-fp/floatsidf.c: Likewise.
7340 * soft-fp/floatsisf.c: Likewise.
7341 * soft-fp/floatsitf.c: Likewise.
7342 * soft-fp/floattidf.c: Likewise.
7343 * soft-fp/floattisf.c: Likewise.
7344 * soft-fp/floattitf.c: Likewise.
7345 * soft-fp/floatundidf.c: Likewise.
7346 * soft-fp/floatundisf.c: Likewise.
7347 * soft-fp/floatunditf.c: Likewise.
7348 * soft-fp/floatunsidf.c: Likewise.
7349 * soft-fp/floatunsisf.c: Likewise.
7350 * soft-fp/floatunsitf.c: Likewise.
7351 * soft-fp/floatuntidf.c: Likewise.
7352 * soft-fp/floatuntisf.c: Likewise.
7353 * soft-fp/floatuntitf.c: Likewise.
7354 * soft-fp/gedf2.c: Likewise.
7355 * soft-fp/gesf2.c: Likewise.
7356 * soft-fp/getf2.c: Likewise.
7357 * soft-fp/ledf2.c: Likewise.
7358 * soft-fp/lesf2.c: Likewise.
7359 * soft-fp/letf2.c: Likewise.
7360 * soft-fp/muldf3.c: Likewise.
7361 * soft-fp/mulsf3.c: Likewise.
7362 * soft-fp/multf3.c: Likewise.
7363 * soft-fp/negdf2.c: Likewise.
7364 * soft-fp/negsf2.c: Likewise.
7365 * soft-fp/negtf2.c: Likewise.
7366 * soft-fp/op-1.h: Likewise.
7367 * soft-fp/op-2.h: Likewise.
7368 * soft-fp/op-4.h: Likewise.
7369 * soft-fp/op-8.h: Likewise.
7370 * soft-fp/op-common.h: Likewise.
7371 * soft-fp/quad.h: Likewise.
7372 * soft-fp/single.h: Likewise.
7373 * soft-fp/soft-fp.h: Likewise.
7374 * soft-fp/subdf3.c: Likewise.
7375 * soft-fp/subsf3.c: Likewise.
7376 * soft-fp/subtf3.c: Likewise.
7377 * soft-fp/truncdfsf2.c: Likewise.
7378 * soft-fp/trunctfdf2.c: Likewise.
7379 * soft-fp/trunctfsf2.c: Likewise.
7380 * soft-fp/trunctfxf2.c: Likewise.
7381 * soft-fp/unorddf2.c: Likewise.
7382 * soft-fp/unordsf2.c: Likewise.
7383 * soft-fp/unordtf2.c: Likewise.
7384
02ac9503
UB
73852013-11-05 Uros Bizjak <ubizjak@gmail.com>
7386
7387 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
7388 (_FP_MUL_MEAT_D): Ditto.
7389 (_FP_DIV_MEAT_S): Ditto.
7390 (_FP_DIV_MEAT_D): Ditto.
7391 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
7392 t-softfp-sfdf and t-softfp to tmake_file.
7393
61221141
UB
73942013-11-03 Uros Bizjak <ubizjak@gmail.com>
7395
7396 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
7397 * config/i386/crtprec.c: Ditto.
7398
9304f876
CJW
73992013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
7400 Shiva Chen <shiva0217@gmail.com>
7401
7402 * config.host (nds32*-elf*): Add nds32 target.
7403 * config/nds32 : New directory and files.
7404
0e499e75
HPN
74052013-10-16 Hans-Peter Nilsson <hp@axis.com>
7406
7407 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
7408 * config.host (cpu_type) <Setting default>: Add entry for
7409 crisv32-*-*.
7410 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
7411 <crisv32-*-linux*>: Adjust.
7412 * longlong.h: Wrap the whole CRIS section in a single
7413 defined(__CRIS__) conditional. Add comment about add_ssaaaa
7414 and sub_ddmmss.
7415 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
7416 defined.
7417 [__CRIS__] (__umulsidi3): Define.
7418 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
7419 * config/cris/sfp-machine.h: New file.
7420 * config/cris/umulsidi3.S: New file.
7421 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
7422 * config/cris/arit.c (SIGNMULT): New macro.
7423 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
7424 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
7425 saving 3 out of originally 33 cycles from the fastest
7426 path, 3 out of 54 from the medium path and one from the longest
7427 path. Improve comments.
7428
16022041
RS
74292013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
7430
7431 * sync.c: Remove static aliases and define each function directly
7432 under its real name.
7433
69778659
JDA
74342013-10-02 John David Anglin <danglin@gcc.gnu.org>
7435
7436 * config.host (hppa*64*-*-linux*): Define extra_parts.
7437 (hppa*-*-linux*): Likewise.
7438
2deaf8b0
JR
74392013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
7440
7441 * config/arc/crtgend.S: Add 2013 to Copyright years.
7442 * config/arc/gmon/atomic.h: Likewise.
7443 * config/arc/gmon/auxreg.h: Likewise.
7444 * config/arc/gmon/sys/gmon_out.h: Likewise.
7445 * config/arc/gmon/sys/gmon.h: Likewise.
7446 * config/arc/gmon/prof-freq.c: Likewise.
7447 * config/arc/gmon/mcount.c: Likewise.
7448 * config/arc/gmon/prof-freq-stub.S: Likewise.
7449 * config/arc/gmon/gmon.c: Likewise.
7450 * config/arc/gmon/machine-gmon.h: Likewise.
7451 * config/arc/gmon/profil.S: Likewise.
7452 * config/arc/gmon/dcache_linesz.S: Likewise.
7453 * config/arc/crtg.S: Likewise.
7454 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
7455 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
7456 * config/arc/ieee-754/adddf3.S: Likewise.
7457 * config/arc/ieee-754/truncdfsf2.S: Likewise.
7458 * config/arc/ieee-754/fixsfsi.S: Likewise.
7459 * config/arc/ieee-754/gtsf2.S: Likewise.
7460 * config/arc/ieee-754/floatsisf.S: Likewise.
7461 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
7462 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
7463 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
7464 * config/arc/ieee-754/fixdfsi.S: Likewise.
7465 * config/arc/ieee-754/addsf3.S: Likewise.
7466 * config/arc/ieee-754/gesf2.S: Likewise.
7467 * config/arc/ieee-754/floatsidf.S: Likewise.
7468 * config/arc/ieee-754/extendsfdf2.S: Likewise.
7469 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
7470 * config/arc/ieee-754/gtdf2.S: Likewise.
7471 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
7472 * config/arc/ieee-754/uneqdf2.S: Likewise.
7473 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
7474 * config/arc/ieee-754/uneqsf2.S: Likewise.
7475 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
7476 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
7477 * config/arc/ieee-754/eqdf2.S: Likewise.
7478 * config/arc/ieee-754/ordsf2.S: Likewise.
7479 * config/arc/ieee-754/divsf3.S: Likewise.
7480 * config/arc/ieee-754/divdf3.S: Likewise.
7481 * config/arc/ieee-754/floatunsidf.S: Likewise.
7482 * config/arc/ieee-754/orddf2.S: Likewise.
7483 * config/arc/ieee-754/eqsf2.S: Likewise.
7484 * config/arc/ieee-754/gedf2.S: Likewise.
7485 * config/arc/crtn.S: Likewise.
7486 * config/arc/crti.S: Likewise.
7487 * config/arc/t-arc700-uClibc: Likewise.
7488 * config/arc/asm.h: Likewise.
7489 * config/arc/libgcc-excl.ver: Likewise.
7490 * config/arc/t-arc-newlib: Likewise.
7491 * config/arc/divtab-arc700.c: Likewise.
7492 * config/arc/initfini.c: Likewise.
7493 * config/arc/fp-hack.h: Likewise.
7494
c8e318b0
JR
74952013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7496 Diego Novillo <dnovillo@google.com>
7497
7498 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
7499 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
7500 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
7501 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 7502
d38a64b4
JR
75032013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
7504 Brendan Kehoe <brendan@zen.org>
7505 Simon Cook <simon.cook@embecosm.com>
7506
7507 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
7508 * config/arc: New directory.
7509 * longlong.h [__arc__] (umul_ppmm): Remove.
7510 [__arc__] (__umulsidi3): Define.
7511 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
7512 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
7513
dff717d2
JC
75142013-09-17 Jacek Caban <jacek@codeweavers.com>
7515
7516 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
7517 CreateSemaphoreA.
7518 * config/i386/gthr-win32.h: Likewise.
7519
5c0029de
DD
75202013-09-16 DJ Delorie <dj@redhat.com>
7521
844ad6c6 7522 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
7523 * config/rl78/lib2mul.c: Enable for RL78/G10.
7524 * config/rl78/lib2div.c: Likewise.
7525 * config/rl78/lshrsi3.S: Use vregs.h.
7526 * config/rl78/cmpsi2.S: Likewise.
7527 * config/rl78/trampoline.S: Likewise.
7528 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
7529
ceb2fc49
DD
75302013-09-14 DJ Delorie <dj@redhat.com>
7531 Nick Clifton <nickc@redhat.com>
7532
7533 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
7534 * config/rl78/vregs.h: New.
7535 * config/rl78/signbit.S: New file. Implements signbit function.
7536 * config/rl78/divmodsi.S: New.
7537 * config/rl78/divmodhi.S: New.
7538 * config/rl78/divmodqi.S: New.
7539 * config/rl78/t-rl78: Build them here...
7540 * config/rl78/lib2div.c: ...but not here.
7541
f6a83b4a
DD
75422013-09-12 DJ Delorie <dj@redhat.com>
7543
7544 * config.host (msp*-*-elf): New.
7545 * config/msp430/: New port.
7546
9107b096
IS
75472013-08-18 Iain Sandoe <iain@codesourcery.com>
7548
7549 PR gcov-profile/58127
7550 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
7551 __thread var for emulated TLS.
7552 (__gcov_indirect_call_counters): Likewise.
7553
0f9bde1f 75542013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 7555 Catherine Moore <clm@codesourcery.com>
7d296953 7556 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
7557
7558 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
7559 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
7560 (CALL_STUB_NO_RET): Likewise.
7561 (CALL_STUB_RET): Likewise.
7562 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
7563 __mips16_ret call/return stub symbols.
7564 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
7565 to tmake_file.
7566
2dc14aac
MR
75672013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
7568
7569 * config.host <mips*-*-linux*>: Remove a stray comment.
7570
748d71f3
JH
75712013-08-10 Jan Hubicka <jh@suse.cz>
7572
7573 Work around binutils PR14342
7574 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
7575 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
7576 (L_gcov_indirect_call_profiler_v2): New.
7577
2fa3d31b
JH
75782013-08-06 Jan Hubicka <jh@suse.cz>
7579
7580 * libgcov.c (__gcov_indirect_call_callee,
7581 __gcov_indirect_call_counters): New global vars.
7582 (__gcov_indirect_call_profiler): replace by ...
7583 (__gcov_indirect_call_profiler_v2) ... this one.
7584
2077db1b
CT
75852013-08-06 Caroline Tice <cmtice@google.com>
7586
d0595b65 7587 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 7588 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
7589 * configure.ac: Add code to check/set enable_vtable_verify.
7590 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 7591 true.
d0595b65
CT
7592 * vtv_start_preinit.c: New file.
7593 * vtv_end_preinit.c: New file.
7594 * vtv_start.c: New file.
7595 * vtv_end.c: New file.
7596 * configure: Regenerated.
2077db1b 7597
46549c20
MK
75982013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
7599
7600 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
7601 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
7602 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
7603 GPL-3.0-with-GCC-exception.
7604
72be589b
MR
76052013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
7606
7607 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
7608 ISA and up.
7609
902a3faf
AK
76102013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7611
7612 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
7613 mapping for FPRs when creating the fallback framestate.
7614
02371798
GJL
76152013-07-19 Georg-Johann Lay <avr@gjlay.de>
7616
7617 PR target/57516
7618 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
7619 (__round_s2_const, __round_u2_const)
7620 (__round_s4_const, __round_u4_const, __round_x8):
7621 Saturate result if addition result cannot be represented.
7622
ab0e8379
MK
76232013-07-15 Matthias Klose <doko@ubuntu.com>
7624
7625 * libgcc2.c: Don't include <limits.h>.
7626
7da38058
JJ
76272013-07-09 Janis Johnson <janisjo@codesourcery.com>
7628
7629 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
7630
1f6eac90
JJ
76312013-07-06 Jakub Jelinek <jakub@redhat.com>
7632
7633 PR target/29776
7634 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
7635
4ea3d774
JJ
76362013-06-28 Jakub Jelinek <jakub@redhat.com>
7637
7638 PR middle-end/36041
7639 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
7640 Define.
7641 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
7642 instead of table lookups.
7643 (__popcountDI2): Likewise.
7644
9d2cdf25
CJW
76452013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
7646
7647 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
7648 correctly.
7649
fa1e55b0
JM
76502013-06-21 Joseph Myers <joseph@codesourcery.com>
7651
7652 PR other/53317
7653 * soft-fp/adddf3.c: Update from glibc.
7654 * soft-fp/addsf3.c: Likewise.
7655 * soft-fp/addtf3.c: Likewise.
7656 * soft-fp/divdf3.c: Likewise.
7657 * soft-fp/divsf3.c: Likewise.
7658 * soft-fp/divtf3.c: Likewise.
7659 * soft-fp/double.h: Likewise.
7660 * soft-fp/eqdf2.c: Likewise.
7661 * soft-fp/eqsf2.c: Likewise.
7662 * soft-fp/eqtf2.c: Likewise.
7663 * soft-fp/extenddftf2.c: Likewise.
7664 * soft-fp/extended.h: Likewise.
7665 * soft-fp/extendsfdf2.c: Likewise.
7666 * soft-fp/extendsftf2.c: Likewise.
7667 * soft-fp/fixdfdi.c: Likewise.
7668 * soft-fp/fixdfsi.c: Likewise.
7669 * soft-fp/fixsfdi.c: Likewise.
7670 * soft-fp/fixsfsi.c: Likewise.
7671 * soft-fp/fixtfdi.c: Likewise.
7672 * soft-fp/fixtfsi.c: Likewise.
7673 * soft-fp/fixunsdfdi.c: Likewise.
7674 * soft-fp/fixunsdfsi.c: Likewise.
7675 * soft-fp/fixunssfdi.c: Likewise.
7676 * soft-fp/fixunssfsi.c: Likewise.
7677 * soft-fp/fixunstfdi.c: Likewise.
7678 * soft-fp/fixunstfsi.c: Likewise.
7679 * soft-fp/floatdidf.c: Likewise.
7680 * soft-fp/floatdisf.c: Likewise.
7681 * soft-fp/floatditf.c: Likewise.
7682 * soft-fp/floatsidf.c: Likewise.
7683 * soft-fp/floatsisf.c: Likewise.
7684 * soft-fp/floatsitf.c: Likewise.
7685 * soft-fp/floatundidf.c: Likewise.
7686 * soft-fp/floatundisf.c: Likewise.
7687 * soft-fp/floatunditf.c: Likewise.
7688 * soft-fp/floatunsidf.c: Likewise.
7689 * soft-fp/floatunsisf.c: Likewise.
7690 * soft-fp/floatunsitf.c: Likewise.
7691 * soft-fp/gedf2.c: Likewise.
7692 * soft-fp/gesf2.c: Likewise.
7693 * soft-fp/getf2.c: Likewise.
7694 * soft-fp/ledf2.c: Likewise.
7695 * soft-fp/lesf2.c: Likewise.
7696 * soft-fp/letf2.c: Likewise.
7697 * soft-fp/muldf3.c: Likewise.
7698 * soft-fp/mulsf3.c: Likewise.
7699 * soft-fp/multf3.c: Likewise.
7700 * soft-fp/negdf2.c: Likewise.
7701 * soft-fp/negsf2.c: Likewise.
7702 * soft-fp/negtf2.c: Likewise.
7703 * soft-fp/op-1.h: Likewise.
7704 * soft-fp/op-2.h: Likewise.
7705 * soft-fp/op-4.h: Likewise.
7706 * soft-fp/op-8.h: Likewise.
7707 * soft-fp/op-common.h: Likewise.
7708 * soft-fp/quad.h: Likewise.
7709 * soft-fp/single.h: Likewise.
7710 * soft-fp/soft-fp.h: Likewise.
7711 * soft-fp/subdf3.c: Likewise.
7712 * soft-fp/subsf3.c: Likewise.
7713 * soft-fp/subtf3.c: Likewise.
7714 * soft-fp/truncdfsf2.c: Likewise.
7715 * soft-fp/trunctfdf2.c: Likewise.
7716 * soft-fp/trunctfsf2.c: Likewise.
7717 * soft-fp/unorddf2.c: Likewise.
7718 * soft-fp/unordsf2.c: Likewise.
7719 * soft-fp/unordtf2.c: Likewise.
7720 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
7721 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7722 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7723 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7724 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7725 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7726 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7727 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7728 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7729 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
7730 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
7731 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
7732
0de86a92
JU
77332013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
7734
7735 * config/mips/lib2funcs.c: New file.
7736 * config/mips/t-mips (LIB2ADD_ST): Add it.
7737
0d008882
OE
77382013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
7739
7740 PR target/6526
7741 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
7742 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
7743
776434d1
WL
77442013-06-08 Walter Lee <walt@tilera.com>
7745
7746 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
7747 Replace int64_t with long long. Add __extension__ where
7748 appropriate.
7749 * config/tilepro/atomic.c: Include config.h.
7750
6ab3ebb4
DR
77512013-06-06 Douglas B Rupp <rupp@adacore.com>
7752
7753 * config.host (arm-wrs-vxworks): Configure with other soft float.
7754
107eea2c
JU
77552013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
7756
7757 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
7758 (mips64r5900el-*-elf*): New configurations.
7759
5cc19c62
AM
77602013-06-04 Alan Modra <amodra@gmail.com>
7761
7762 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
7763
0f1d3965
YR
77642013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
7765
7766 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
7767
0ba045df
EB
77682013-05-28 Eric Botcazou <ebotcazou@adacore.com>
7769
7770 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
7771 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
7772 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
7773
49dcafd4
EB
77742013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7775
7776 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
7777 (powerpc-wrs-vxworks): Likewise.
7778
4fcb5d87
EB
77792013-05-22 Eric Botcazou <ebotcazou@adacore.com>
7780
7781 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
7782 signal frames as well.
7783 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
7784 STACK_BIAS to the CFA offset.
7785
0ec33224
RH
77862013-05-17 Richard Henderson <rth@redhat.com>
7787
7788 PR target/49146
7789 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
7790 (execute_cfa_program): Use it when storing to fs->regs.
7791
492a8029
KT
77922013-05-08 Kai Tietz <ktietz@redhat.com>
7793
7794 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
7795 (__deregister_frame_info): Likewise.
7796
701e2f0a
TS
77972013-05-06 Thomas Schwinge <thomas@codesourcery.com>
7798
e5123d08
TS
7799 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
7800 NaN's payload.
7801
701e2f0a
TS
7802 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
7803
b9a7eb5d
AM
78042013-04-25 Alan Modra <amodra@gmail.com>
7805
7806 * config.host: Match little-endian powerpc-linux.
7807
dfe192f5
YZ
78082013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
7809
7810 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
7811 as 'unsigned long long' instead of 'unsigned long'.
7812 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
7813 'signed long'.
7814
b6b9af2f
JB
78152013-04-10 Julian Brown <julian@codesourcery.com>
7816
7817 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
7818 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
7819 unsigned char/unsigned short.
7820 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
7821
ecabdd00
JDA
78222013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7823
7824 PR other/55274
7825 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
7826
34652576
MI
78272013-04-04 Meador Inge <meadori@codesourcery.com>
7828
7829 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
7830 computing the location of the link register.
7831 (aeabi_uldivmod): Ditto.
7832
e9fd8c19
KT
78332013-03-27 Kai Tietz <ktietz@redhat.com>
7834
7835 * config.host: Add support for cygwin x64 target.
7836 * configure: Regenerated.
7837
a6406324
WL
78382013-03-26 Walter Lee <walt@tilera.com>
7839
7840 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
7841 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
7842
55446c7e
KT
78432013-03-25 Kai Tietz <ktietz@redhat.com>
7844
7845 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
7846
d2ae19d9
RM
78472013-03-20 Robert Mason <rbmj@verizon.net>
7848
7849 * config/vxlib-tls.c (__gthread_get_tsd_data,)
7850 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
7851 (__gthread_leave_tsd_dtor_context): Add prototypes.
7852 (tls_delete_hook): Update.
7853
22c4c869
CM
78542013-03-20 Catherine Moore <clm@codesourcery.com>
7855 Joseph Myers <joseph@codesourcery.com>
7856 Chao-ying Fu <fu@mips.com>
7857
7858 * config/mips/mips16.S: Don't build for microMIPS.
7859 * config/mips/linux-unwind.h: Handle microMIPS frame.
7860 * config/mips/crtn.S (fini, init): New labels.
7861
fbd28bc3
JJ
78622013-03-14 Jakub Jelinek <jakub@redhat.com>
7863
7864 PR tree-optimization/53265
7865 * unwind-dw2.c (execute_cfa_program): Avoid
7866 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
7867 on targets with DWARF_FRAME_REGISTERS < 32.
7868
decc676e
OE
78692013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
7870
7871 PR target/49880
7872 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
7873 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
7874
84ea618a
ST
78752013-03-07 Sriraman Tallam <tmsriram@google.com>
7876
7877 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
7878 sandybridge processors.
7879
8f6d1c86
OE
78802013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
7881
7882 PR target/56529
7883 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
7884 inclusion list.
7885
ecdbd01a 78862013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
7887
7888 * config/microblaze/crti.S: Setup stack protection at entry
7889
0b4ce21b
GJL
78902013-03-04 Georg-Johann Lay <avr@gjlay.de>
7891
7892 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
7893 (__rotldi3): Shift bytewise if applicable.
7894
b7c3f1ca
JG
78952013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
7896
7897 * config/aarch64/sync-cache.c
7898 (__aarch64_sync_cache_range): Silence warnings.
7899
6d65e8f1
CM
79002013-02-25 Catherine Moore <clm@codesourcery.com>
7901
7902 Revert:
7903 2013-02-24 Catherine Moore <clm@codesourcery.com>
7904 Joseph Myers <joseph@codesourcery.com>
7905 Chao-ying Fu <fu@mips.com>
7906
7907 * config/mips/mips16.S: Don't build for microMIPS.
7908 * config/mips/linux-unwind.h: Handle microMIPS frame.
7909 * config/mips/crtn.S (fini, init): New labels.
7910
6941b508
CM
79112013-02-24 Catherine Moore <clm@codesourcery.com>
7912 Joseph Myers <joseph@codesourcery.com>
7913 Chao-ying Fu <fu@mips.com>
7914
7915 * config/mips/mips16.S: Don't build for microMIPS.
7916 * config/mips/linux-unwind.h: Handle microMIPS frame.
7917 * config/mips/crtn.S (fini, init): New labels.
7918
7c422dbb 79192012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 7920 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
7921 as dividend.
7922
110207ad
AM
79232013-02-16 Alan Modra <amodra@gmail.com>
7924
7925 PR target/55431
7926 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7927 (ppc_fallback_frame_state): Always set up save locations for fp
7928 and altivec. Don't bother with non-callee-saved regs, r0-r13
7929 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7930
e68a4ef6
GJL
79312013-02-12 Georg-Johann Lay <avr@gjlay.de>
7932
7933 PR target/54222
7934 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7935 _ssmulHA, _ssmulSA.
7936 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7937 _ssmulha3, _usmulusa3, _ssmulsa3.
7938 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7939 (__muldi3): XCALL __muldi3_6 instead of rcall.
7940 (__umulsidi3, __mulsidi3): New functions.
7941 (do_prologue_saves, do_epilogue_restores): New .macros.
7942 (__divdi3_moddi3): Use them.
7943 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7944 (__usmulusa3, __ssmulsa3): New functions.
7945
6c59ffd1
IS
79462013-02-11 Iain Sandoe <iain@codesourcery.com>
7947 Jack Howarth <howarth@bromo.med.uc.edu>
7948 Patrick Marlier <patrick.marlier@gmail.com>
7949
7950 PR libitm/55693
7951 * config/darwin-crt-tm.c: Remove dummy functions hack.
7952
85d768f3
GJL
79532013-02-08 Georg-Johann Lay <avr@gjlay.de>
7954
7955 PR target/54222
7956 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7957 * config/avr/lib2-object.mk: New iterator to build objects from it.
7958 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7959 lib2funcs.c.
7960 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7961 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7962 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7963 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7964 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7965 * config/avr/lib1funcs-fixed.S: Implement them.
7966
5d5bf775
RS
79672013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
7968
7969 Update copyright years.
7970
99113dff
DE
79712013-02-01 David Edelsohn <dje.gcc@gmail.com>
7972
7973 PR target/54601
7974 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7975 Add crtcxa to extra_parts.
7976 * config/rs6000/exit.h: New file.
7977 * config/rs6000/cxa_atexit.c: New file.
7978 * config/rs6000/cxa_finalize.c: New file.
7979 * config/rs6000/crtcxa.c: New file.
7980 * config/rs6000/t-aix-cxa: New file.
7981 * config/rs6000/libgcc-aix-cxa.ver: New file.
7982
dbdbd982
NC
79832013-01-31 Nick Clifton <nickc@redhat.com>
7984
7985 * config/v850/lib1funcs.S: Add support for e3v5 architecture
7986 variant.
7987
5893f158
GJL
79882013-01-29 Georg-Johann Lay <avr@gjlay.de>
7989
7990 PR target/54222
7991 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7992 _mulQQ, _mulHQ, _mulHA, _mulSA,
7993 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7994 _divQQ, _divHQ, _divHA, _divSA,
7995 _divUQQ, _divUHQ, _divUHA, _divUSA.
7996
ecdbd01a 79972013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 7998
dbdbd982 7999 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
8000 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8001 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8002 to exclude functions from being built with libgcc.c and use
8003 the microblaze assembly.
8004
ecdbd01a 80052013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
8006
8007 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8008 extra_parts.
8009
922c57d1
YZ
80102013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
8011
8012 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8013 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8014 __UINTPTR_TYPE__; also cast 'base' to the same type before the
8015 alignment operation.
8016
e0f8b6a0
SN
80172013-01-15 Sofiane Naci <sofiane.naci@arm.com>
8018
8019 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8020 loop start address for cache clearing.
8021
00892272
GJL
80222013-01-14 Georg-Johann Lay <avr@gjlay.de>
8023
8024 * config/avr/lib1funcs.S: Remove trailing blanks.
8025 * config/avr/lib1funcs-fixed.S: Ditto.
8026
e59ec5fd
GJL
80272013-01-14 Georg-Johann Lay <avr@gjlay.de>
8028
8029 * config/avr/avr-lib.h: Add GPL copyright notice.
8030
3ffc1958
GJL
80312013-01-14 Georg-Johann Lay <avr@gjlay.de>
8032
8033 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8034 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8035 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8036 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8037
25c210f9
MK
80382013-01-07 Mark Kettenis <kettenis@openbsd.org>
8039
8040 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8041 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 8042
db59befb
NC
80432013-01-04 Nick Clifton <nickc@redhat.com>
8044
8045 * config/v850/lib1funcs.S: Only provide CALLT support functions if
8046 the CALLT instruction is supported.
8047
5aa12dbf
JW
80482012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
8049
8050 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8051 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8052
65f14117
JT
80532012-12-13 John Tytgat <John@bass-software.com>
8054
8055 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8056 is 25.
8057
ee3ae4f7
JJ
80582012-12-12 Jakub Jelinek <jakub@redhat.com>
8059
8060 PR libgcc/55451
8061 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8062 undefined signed overflows.
8063
2fcfba3d
UB
80642012-12-09 Uros Bizjak <ubizjak@gmail.com>
8065
8066 PR target/55344
8067 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8068
4f2b3dc2
UB
80692012-12-06 Uros Bizjak <ubizjak@gmail.com>
8070
8071 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8072 (FP_TRAPPING_EXCEPTIONS): Define.
8073 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8074 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8075
066161a2
RH
80762012-12-04 Richard Henderson <rth@redhat.com>
8077
8078 PR bootstrap/55571
8079 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8080
7d296953 80812012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 8082
4f2b3dc2 8083 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
8084 (FP_EX_SHIFT): Define.
8085 (FP_TRAPPING_EXCEPTIONS): Define.
8086
7d296953 80872012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
8088
8089 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8090 (FP_ROUNDMODE): Use FP_RND_MASK.
8091 * config/aarch64/sfp-exceptions.c: New.
8092 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8093 Use __sfp_handle_exceptions.
8094
5005fe22
RE
80952012-12-04 Richard Earnshaw <rearnsha@arm.com>
8096
8097 * config.host: (arm*-*-freebsd*): Remove.
8098 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8099 (arm*-*-elf*): Remove.
8100 (arm*-*-wince-pe*): Remove.
8101 * arm/unwind-arm.c (struct fpa_reg): Delete.
8102 (struct fpa_regs): Delete.
8103 (phase1_vrs): Remove fpa element.
8104 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8105 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8106 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8107 * ieee754-sf.S (floatundisf): Remove FPA support.
8108 (floatdisf): Likewise.
8109 * ieee75f-df.S (floatundidf): Likewise.
8110 (floatdidf): Likewise.
8111
e5a81c8e
KT
81122012-11-29 Kai Tietz <ktietz@redhat.com>
8113
8114 PR target/55445
8115 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8116 * unwind-generic.h: Likewise.
8117 * unwind-seh.c: Likewise.
8118
f4919e4a
RH
81192012-11-28 Richard Henderson <rth@redhat.com>
8120
8121 PR libgcc/48076
8122 * emutls.c (__emutls_get_address): Avoid race condition between
8123 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 8124
e13d9d5a
GJL
81252012-11-22 Georg-Johann Lay <avr@gjlay.de>
8126
8127 Adjust decimal point of signed accum mode to GCC default.
8128
8129 PR target/54222
8130 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8131 _divqq_helper.
8132 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8133 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8134 (__mulha3, __mulsa3)
8135 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
8136 decimal point of signed accum types.
8137
e13d9d5a
GJL
8138 (__mulusa3_round): New function.
8139 (__mulusa3): Use it.
8140 (__divqq_helper): New function.
8141 (__udivuqq3): Use it.
8142
1b845c6e
JJ
81432012-11-20 Jakub Jelinek <jakub@redhat.com>
8144
8145 PR bootstrap/55370
8146 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
8147
822a258a
TJ
81482012-11-18 Teresa Johnson <tejohnson@google.com>
8149
8150 PR bootstrap/55051
8151 * libgcov.c (gcov_exit): Remove merged program summary
8152 comparison unless !GCOV_LOCKED.
8153
7d296953 81542012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
8155
8156 * soft-fp: Updated from glibc upstream.
8157
e808687a
ILT
81582012-11-06 Ian Lance Taylor <iant@google.com>
8159
8160 * generic-morestack.c (__generic_morestack): Align the returned
8161 stack pointer to a 32 byte boundary.
8162 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
8163 increment the return address until we have decided that we don't
8164 have a varargs function.
8165 (__morestack) [32-bit]: Align stack correctly when calling C
8166 functions.
8167 (__morestack) [64-bit]: Likewise.
8168
460277e0
TS
81692012-11-04 Thomas Schwinge <thomas@codesourcery.com>
8170
8171 * configure: Regenerate.
8172
73edb277
UB
81732012-11-02 Uros Bizjak <ubizjak@gmail.com>
8174
8175 PR target/55175
8176 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
8177 * config/i386/sfp-machine.h: Guard exception handling
8178 code with _SOFT_FLOAT.
8179 * config/i386/32/sfp-machine.h: Guard rounding handling
8180 code with _SOFT_FLOAT.
8181 * config/i386/64/sfp-machine.h: Ditto.
8182
c1d4fa04
JS
81832012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
8184
8185 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
8186 as extra_parts.
8187
eff6ca85
UB
81882012-10-26 Uros Bizjak <ubizjak@gmail.com>
8189
8190 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
8191 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
8192 when appropriate. Correct structure element types.
8193 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
8194 -minline-all-stringops from compile flags.
8195
7d296953 81962012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
8197
8198 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
8199
7d296953 82002012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 8201
eff6ca85 8202 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 8203
6f288860
SH
82042012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
8205
8206 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
8207 tmake_file.
8208
1e3d5096
IB
82092012-10-23 Ian Bolton <ian.bolton@arm.com>
8210 Jim MacArthur <jim.macarthur@arm.com>
8211 Marcus Shawcroft <marcus.shawcroft@arm.com>
8212 Nigel Stephens <nigel.stephens@arm.com>
8213 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
8214 Richard Earnshaw <rearnsha@arm.com>
8215 Sofiane Naci <sofiane.naci@arm.com>
8216 Stephen Thomas <stephen.thomas@arm.com>
8217 Tejas Belagod <tejas.belagod@arm.com>
8218 Yufeng Zhang <yufeng.zhang@arm.com>
8219
8220 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
8221 * config/aarch64/crti.S: New file.
8222 * config/aarch64/crtn.S: New file.
8223 * config/aarch64/linux-unwind.h: New file.
8224 * config/aarch64/sfp-machine.h: New file.
8225 * config/aarch64/sync-cache.c: New file.
8226 * config/aarch64/t-aarch64: New file.
8227 * config/aarch64/t-softfp: New file.
8228
8a740f07
HPN
82292012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
8230
8231 * config/mmix/crti.S: Mark program and data addresses using PRELD.
8232 Remove typo'd and unnecessary alignment-LOC for .data. Remove
8233 no-longer-needed LDBU insns.
8234
7d296953 82352012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
8236
8237 * config.host
8238 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
8239 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
8240
595fefee
MGD
82412012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8242
8243 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
8244
9945a876
MK
82452012-10-15 Matthias Klose <doko@ubuntu.com>
8246
8247 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
8248
1183dc2c
PC
82492012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
8250
8251 * configure: Regenerate.
8252 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
8253
945a9c1f
UB
82542012-10-10 Uros Bizjak <ubizjak@gmail.com>
8255
8256 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8257 instructions for 64bit targets only.
8258
fb8bf47a
UB
82592012-10-10 Uros Bizjak <ubizjak@gmail.com>
8260
8261 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8262 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
8263 * config/i386/32/sfp-machine.h: ... here.
8264 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
8265 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
8266 New defines.
8267
acb72498
MK
82682012-10-07 Matthias Klose <doko@ubuntu.com>
8269
8270 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
8271 as unused.
8272 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
8273
8eaee0f0
MK
82742012-10-06 Mark Kettenis <kettenis@openbsd.org>
8275
8276 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
8277 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
8278 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
8279 (ElfW): Likewise.
8280
5e3e4fe8
JW
82812012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
8282
8283 PR other/53889
8284 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8285 Fix parameter names.
8286
86086376
OE
82872012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
8288
8289 PR target/33135
8290 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
8291 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
8292 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
8293
9597375a
OE
82942012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
8295
8296 PR target/50457
8297 * config/sh/linux-atomic.S: Delete.
8298 * config/sh/linux-atomic.c: New.
8299 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
8300 linux-atomic.c. Add cflags to disable warnings.
8301
1504e3e1
JW
83022012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8303
8304 PR other/53889
8305 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
8306 function.
8307 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
8308 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
8309 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
8310 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
8311 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
8312 Likewise.
1504e3e1
JW
8313 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
8314 Likewise.
8315 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
8316 Likewise.
8317 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
8318 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
8319
17f293b0
MK
83202012-09-19 Mark Kettenis <kettenis@openbsd.org>
8321
9597375a
OE
8322 * config.host (hppa-*-openbsd*): New target.
8323 * config/pa/t-openbsd: New file.
17f293b0 8324
51526856
GJL
83252012-09-15 Georg-Johann Lay <avr@gjlay.de>
8326
8327 PR target/54222
8328 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
8329 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
8330 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
8331 (__divsa3): Use __negsi2 to negate r_quoL.
8332 * config/avr/lib1funcs.S (FALIAS): New macro.
8333 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
8334 (__negsi2): ...this new function.
8335 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
8336 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
8337 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
8338 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
8339 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
8340 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
8341
aadb5b43
OE
83422012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
8343
8344 PR target/54089
8345 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
8346 (lshrsi3): Reimplement as lshrsi3_r0.
8347
d5d66749
AS
83482012-09-10 Andreas Schwab <schwab@linux-m68k.org>
8349
8350 PR target/46191
8351 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
8352 of libgcc.a.
8353
c6c36e73
TJ
83542012-09-07 Teresa Johnson <tejohnson@google.com>
8355
9597375a 8356 PR gcov-profile/54487
c6c36e73 8357 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 8358 differences.
c6c36e73 8359
b588ae30
GJL
83602012-09-05 Georg-Johann Lay <avr@gjlay.de>
8361
8362 PR target/54461
8363 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
8364 not configured --with-avrlibc=no.
8365 * config/avr/t-avrlibc: New file.
8366 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
8367 (DPBIT_FUNCS): Ditto.
8368 (TPBIT_FUNCS): Ditto.
8369
abd16fb1
TJ
83702012-09-04 Teresa Johnson <tejohnson@google.com>
8371
8372 * libgcov.c (struct gcov_summary_buffer): New structure.
8373 (gcov_histogram_insert): New function.
8374 (gcov_compute_histogram): Ditto.
8375 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
8376 histograms during summary merging.
8377
613061fd
MK
83782012-09-01 Mark Kettenis <kettenis@openbsd.org>
8379
8380 * config.host (x86_64-*-openbsd*): New target.
73edb277 8381
867a8345
CLT
83822012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
8383
8384 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
8385 attribute.
8386
4aeaaca3
GJL
83872012-08-24 Georg-Johann Lay <avr@gjlay.de>
8388
8389 PR target/54222
8390 * config/avr/t-avr (conv_X): Rename to func_X.
8391
e55e4056
GJL
83922012-08-24 Georg-Johann Lay <avr@gjlay.de>
8393
8394 PR target/54222
8395 * config/avr/lib1funcs-fixed.S: New file.
8396 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
8397 after they are used.
8398 (neg2, neg4): New macros.
8399 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
8400 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
8401 (__umulhisi3): Speed up MUL variant if there is enough flash.
8402 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
8403 avr-modes.def.
8404 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
8405 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
8406 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
8407 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
8408 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
8409 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
8410 (LIB2FUNCS_EXCLUDE): Add supported functions.
8411
a147b6d2
GJL
84122012-08-22 Georg-Johann Lay <avr@gjlay.de>
8413
8414 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
8415 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
8416 libgcc-s-objects.
8417 * fixed-obj.mk: Only expand dependency if $o is not in
8418 LIB2FUNCS_EXCLUDE.
8419
c637141a
L
84202012-08-22 H.J. Lu <hongjiu.lu@intel.com>
8421
8422 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
8423
130e00bd
JM
84242012-08-22 Joseph Myers <joseph@codesourcery.com>
8425
8426 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
8427 depend on --enable-shared.
8428 ($(lib1asmfuncs-o)): Use %.vis files independent of
8429 --enable-shared.
8430 * static-object.mk ($(base)$(objext), $(base).vis)
8431 ($(base)_s$(objext)): Use same rules for visibility handling as in
8432 shared-object.mk.
8433
4b1b3788
ILT
84342012-08-21 Ian Lance Taylor <iant@google.com>
8435
8436 * config/i386/morestack.S (__morestack_non_split): Increase amount
8437 of space allocated for non-split code stack.
8438
d2468141
JM
84392012-08-19 Joseph Myers <joseph@codesourcery.com>
8440
8441 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
8442 even if inhibit_libc.
8443
a508e1a8
JB
84442012-08-17 Julian Brown <julian@codesourcery.com>
8445
8446 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
8447 -fexceptions -fnon-call-exceptions if not defined.
8448 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
8449 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
8450
5615a07d
AS
84512012-08-17 Andreas Schwab <schwab@linux-m68k.org>
8452
8453 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
8454 type.
8455
138f5acd
DE
84562012-08-16 David Edelsohn <dje.gcc@gmail.com>
8457
8458 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
8459 rs6000/t-slibgcc-aix.
8460
18efc0dd
SB
84612012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8462
8463 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
8464
6b39bc38
SB
84652012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
8466
8467 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
8468
cd25dea0
L
84692012-08-03 H.J. Lu <hongjiu.lu@intel.com>
8470
8471 PR driver/54171
8472 * Makefile.in (version): Replace top_srcdir with srcdir.
8473
a3dda30b
JY
84742012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
8475
8476 * Makefile.in (version): set to BASE-VER file from gcc directory.
8477
d04aacfc
NC
84782012-08-01 Nick Clifton <nickc@redhat.com>
8479
8480 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
8481 Implements __clrsb for an HImode argument.
8482
0d13c974
NC
84832012-07-31 Nick Clifton <nickc@redhat.com>
8484
8485 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
8486 Implements __clrsb for an HImode argument.
8487 * config/stormy16/clrsbhi2.c: New file:
8488 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
8489
efbb59b2
SB
84902012-07-22 Steven Bosscher <steven@gcc.gnu.org>
8491
8492 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
8493
bf1431e3
TG
84942012-07-19 Tristan Gingold <gingold@adacore.com>
8495 Richard Henderson <rth@redhat.com>
8496
8497 * unwind-seh.c: New file.
8498 * unwind-generic.h: Include windows.h for SEH.
8499 (_Unwind_Exception): Use 6 private fields for SEH.
8500 (_GCC_specific_handler): Declare.
8501 * unwind-c.c (__gcc_personality_seh0): New function.
8502 Adjust for SEH.
8503 * config/i386/libgcc-cygming.ver: New file.
8504 * config/i386/t-seh-eh: New file.
8505 * config.host (x86_64-*-mingw*): Default to seh.
8506
659140c8
SB
85072012-07-14 Steven Bosscher <steven@gcc.gnu.org>
8508
8509 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
8510
a20d08fd
UB
85112012-06-17 Uros Bizjak <ubizjak@gmail.com>
8512
8513 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
8514 __builtin_expect when checking for exceptions.
8515 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
8516
79261115
UB
85172012-06-13 Uros Bizjak <ubizjak@gmail.com>
8518
4a172156
UB
8519 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
8520 function declaration.
8521 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8522 (FP_RND_MASK): New.
8523 * config/ia64/sfp-exceptions.c: New.
8524 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 8525
bb5c97d4
UB
85262012-06-13 Uros Bizjak <ubizjak@gmail.com>
8527
8528 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
8529 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
8530 * config/i386/64/sfp-machine: ... (delete here) ...
8531 * config/i386/sfp-machine.h: ... to here.
8532 (FP_EX_MASK): Remove.
8533 (FP_RND_MASK): New.
8534 (FP_INIT_ROUNDMODE): Declare asm as volatile.
8535
91fe5efb
ST
85362012-06-11 Sriraman Tallam <tmsriram@google.com>
8537
8538 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
8539 * config/i386/libgcc-sol2.ver: Ditto.
8540 * config/i386/libgcc-glibc.ver: Ditto.
8541
67a218c5
RM
85422012-06-11 Roland McGrath <mcgrathr@google.com>
8543
8544 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
8545 If __GLIBC__ is defined, refer to __pthread_key_create instead of
8546 pthread_cancel.
8547
492fbea1
UB
85482012-06-09 Uros Bizjak <ubizjak@gmail.com>
8549
8550 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
8551 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
8552 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
8553 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
8554 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
8555 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
8556 * config/i386/64/sfp-machine: ... (delete here) ...
8557 * config/i386/sfp-machine.h: ... to here.
8558 (FP_EX_MASK): New.
8559 (__sfp_handle_exceptions): New function declaration.
8560 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
8561 * config/i386/sfp-exceptions.c: New.
8562 * config/i386/t-softfp: New.
8563 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
8564 i386/t-softfp to tmake_file.
8565
7b4cf266
DM
85662012-06-03 David S. Miller <davem@davemloft.net>
8567
8568 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
8569 change.
8570
0de0d5c6
DM
85712012-05-31 David S. Miller <davem@davemloft.net>
8572
8573 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
8574 multiply and divide instructions on 32-bit when V9.
8575 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
8576
d8c9d391
JM
85772012-05-29 Joseph Myers <joseph@codesourcery.com>
8578
8579 * config/arm/ieee754-df.S: Fix typos.
8580 * config/arm/ieee754-sf.S: Fix typos.
8581 * config/c6x/libunwind.S: Fix typos.
8582 * config/epiphany/udivsi3-float.c: Fix typos.
8583 * config/microblaze/muldi3_hard.S: Fix typos.
8584 * config/picochip/adddi3.S: Fix typos.
8585 * config/picochip/ashlsi3.S: Fix typos.
8586 * config/picochip/ashrsi3.S: Fix typos.
8587 * config/picochip/clzsi2.S: Fix typos.
8588 * config/picochip/cmpsi2.S: Fix typos.
8589 * config/picochip/divmod15.S: Fix typos.
8590 * config/picochip/divmodhi4.S: Fix typos.
8591 * config/picochip/divmodsi4.S: Fix typos.
8592 * config/picochip/longjmp.S: Fix typos.
8593 * config/picochip/lshrsi3.S: Fix typos.
8594 * config/picochip/parityhi2.S: Fix typos.
8595 * config/picochip/popcounthi2.S: Fix typos.
8596 * config/picochip/setjmp.S: Fix typos.
8597 * config/picochip/subdi3.S: Fix typos.
8598 * config/picochip/ucmpsi2.S: Fix typos.
8599 * config/picochip/udivmodhi4.S: Fix typos.
8600 * config/picochip/udivmodsi4.S: Fix typos.
8601 * config/spu/divv2df3.c: Fix typos.
8602 * config/spu/mfc_multi_tag_release.c: Fix typos.
8603 * config/spu/mfc_tag_release.c: Fix typos.
8604 * configure.ac: Fix typos.
8605 * configure: Regenerate.
8606
31a18a7e
ILT
86072012-05-25 Ian Lance Taylor <iant@google.com>
8608
8609 * config/i386/morestack.S (__morestack_non_split): Check whether
8610 caller is varargs and needs %bp to hold the stack frame on return.
8611
c5768510
OH
86122012-05-25 Olivier Hainque <hainque@adacore.com>
8613
8614 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
8615 sequence in the non pic case on VxWorks.
8616
7c7c339b
OH
86172012-05-24 Olivier Hainque <hainque@adacore.com>
8618
73fb7630 8619 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
8620 "install-leaf" to "install".
8621
fdc1b7d3
OH
86222012-05-24 Olivier Hainque <hainque@adacore.com>
8623
8624 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
8625 Use a separate command for stamp removals.
8626
07ba94b9
AP
86272012-05-21 Andrew Pinski <apinski@cavium.com>
8628
8629 PR bootstrap/53183
8630 * configure.ac: Define the default includes to being none.
8631 * configure: Regenerate.
8632
4677d2eb
OH
86332012-05-16 Olivier Hainque <hainque@adacore.com>
8634
8635 * Makefile.in (install-unwind_h): Rename into ...
8636 (install-unwind_h-forbuild): New target.
8637 (all): Use it instead of the former install-unwind_h.
8638 (install-unwind_h): Reinstate, copy to user install destination
8639 for include files, not to the internal gcc object directory one.
8640 (install-leaf): Depend on it.
8641
7d67c380
OH
86422012-05-15 Olivier Hainque <hainque@adacore.com>
8643
8644 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
8645 register numbers. LR_REGNO replaces R_LR.
8646 (ucontext_for): New, helper for ...
8647 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
8648 and 5.3 of ...
8649 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
8650
aca06c90
RO
86512012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8652
8653 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
8654 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
8655 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
8656 i386/t-cpuinfo ...
8657 (i[34567]86-*-*, x86_64-*-*): ... here.
8658
8659 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
8660 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
8661
8662 * config/i386/i386-cpuinfo.c: Rename to ...
8663 * config/i386/cpuinfo.c: ... this.
8664 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
8665
8666 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
8667 (libgcc_cv_init_priority): New test.
8668 * configure: Regenerate.
8669 * config.in: New file.
8670 * Makefile.in (clean): Rename config.h to auto-target.h.
8671 (config.h): Likewise.
8672 (stamp-h): Likewise.
8673
8674 * config/i386/cpuinfo.c (auto-target.h): Include.
8675 (CONSTRUCTOR_PRIORITY): Define.
8676 (__cpu_indicator_init): Use it.
8677
0d03ac1b
L
86782012-05-09 H.J. Lu <hongjiu.lu@intel.com>
8679
8680 * longlong.h: Use a URL instead of an FSF postal address.
8681 Replace spaces with tab.
8682
4a172156 86832012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
8684
8685 * libgcov.c (gcov_clear, __gcov_reset): New functions.
8686 (__gcov_dump): Ditto.
8687 (gcov_dump_complete): New global variable.
8688 (gcov_exit): Export hidden to enable use in L_gcov_dump.
8689 (__gcov_flush): Outline functionality now in gcov_clear.
8690 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
8691
e4bb767e
AJ
86922012-04-28 Aurelien Jarno <aurelien@aurel32.net>
8693
31a18a7e
ILT
8694 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
8695 (mips*-*-linux*): Include mips/t-tpbit when long double is
8696 16 bytes long.
e4bb767e 8697
5ddecff9
ST
86982012-04-25 Sriraman Tallam <tmsriram@google.com>
8699
8700 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
8701 (get_available_features): New argument. Check for AVX2.
8702 (__cpu_indicator_init): Modify call to get_available_features.
8703
b427dd7a
AM
87042012-04-25 Alan Modra <amodra@gmail.com>
8705
8706 * config/rs6000/crtsavevr.S: New file.
8707 * config/rs6000/crtrestvr.S: New file.
8708 * config/rs6000/t-savresfgpr: Build the above.
8709 * config/rs6000/t-netbsd: Likewise.
8710
ad491329
ST
87112012-04-24 Sriraman Tallam <tmsriram@google.com>
8712
8713 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
8714
792317cc
ST
87152012-04-24 Sriraman Tallam <tmsriram@google.com>
8716
8717 * libgcc/config/i386/i386-cpuinfo.c: New file.
8718 * libgcc/config/i386/t-cpuinfo: New file.
8719 * libgcc/config.host: Include t-cpuinfo.
8720 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
8721
e1be98a4
CF
87222012-04-24 Chao-ying Fu <fu@mips.com>
8723
8724 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
8725
1bde7dab
TS
87262012-04-20 Thomas Schwinge <thomas@codesourcery.com>
8727
8728 struct siginfo vs. siginfo_t
8729
8730 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
8731 siginfo_t instead of struct siginfo.
8732 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
8733 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
8734 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
8735 (ia64_handle_unwabi): Likewise.
8736 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
8737 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
8738 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
8739 (sh_fallback_frame_state): Likewise.
8740 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
8741 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
8742
24590f66
L
87432012-04-02 H.J. Lu <hongjiu.lu@intel.com>
8744
8745 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
8746 system call number.
8747
9a9dcce8
EB
87482012-03-31 Eric Botcazou <ebotcazou@adacore.com>
8749
8750 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
8751 if it hasn't been previously saved.
8752
6401aaf5
L
87532012-03-29 H.J. Lu <hongjiu.lu@intel.com>
8754
8755 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
8756 only for glibc.
8757
7fd6378e
GJL
87582012-03-28 Georg-Johann Lay <avr@gjlay.de>
8759
8760 PR target/52737
8761 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
8762 instead of __AVR_HAVE_8BIT_SP__.
8763
9e916de7
TG
87642012-03-26 Tristan Gingold <gingold@adacore.com>
8765
8766 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
8767 (unw_table_entry): Use unw_word instead of unsigned long.
8768 (_Unwind_FindTableEntry): Likewise.
8769 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
8770 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
8771 (_Unwind_FindTableEntry): Likewise.
8772 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
8773 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
8774 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
8775 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
8776 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
8777 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
8778 (uw_init_context_1, uw_install_context): Likewise.
8779 (unw_word): Move to unwind-ia64.h
8780
4b12e93d
TG
87812012-03-26 Tristan Gingold <gingold@adacore.com>
8782
8783 * config/vms/vms-ucrt0.c: Update copyright years.
8784 Add a sanity check.
8785 (___gcc_main_flags): Declare.
8786 (__main): Check flags to remap argv and exit code.
8787 * config.host (*-*-*vms*): Adjust extra_parts.
8788 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
8789 (crt0.o): Add.
8790
06ea7371
RE
87912012-03-22 Richard Earnshaw <rearnsha@arm.com>
8792
8793 * arm/lib1funcs.asm (ctzsi2): New function.
8794 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
8795 * arm/t-linux (LIB1ASMFUNCS): Likewise.
8796 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
8797 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
8798 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
8799 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
8800
d82ad50d
AT
88012012-03-21 Andreas Tobler <andreast@fgznet.ch>
8802
8803 * config.host: Add bits to support powerpc64-*-freebsd*.
8804 * config/rs6000/freebsd-unwind.h: New file.
8805 * config/rs6000/t-freebsd64: New file.
8806
b260a8c0
RG
88072012-03-20 Richard Guenther <rguenther@suse.de>
8808
8809 PR gcov-profile/52627
8810 * libgcov.c (init_mx): Fix mutex name.
8811
86286a8a
TG
88122012-03-16 Tristan Gingold <gingold@adacore.com>
8813
8814 * config/ia64/vms-unwind.h: Remove ulong (and replace
8815 it by unw_reg where used). Define unw_reg with __int64.
8816
7888f266
RO
88172012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8818
8819 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8820 Solaris 8 handling.
8821 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8822 Solaris 8 handling.
8823 (sparc_is_sighandler): Likewise.
8824
f155bc64
L
88252012-03-13 H.J. Lu <hongjiu.lu@intel.com>
8826
8827 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
8828 <= saved reg size.
8829
d47657bd
RO
88302012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8831
8832 * config/arm/crtn.S: Fix typo.
8833
5bef73a1
RG
88342012-03-13 Richard Guenther <rguenther@suse.de>
8835
8836 * libgcov.c: Remove stdio.h include and NULL un-define.
8837
9c4271f3
RG
88382012-03-13 Richard Guenther <rguenther@suse.de>
8839
8840 PR target/52569
8841 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
8842
c6d10e7c
RG
88432012-03-13 Richard Guenther <rguenther@suse.de>
8844
8845 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
8846
074a385f
RG
88472012-03-13 Richard Guenther <rguenther@suse.de>
8848
8849 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
8850 and __gthread_mutex_init_function definitions.
8851
c4bc5c25
RO
88522012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8853
8854 * config.host (mips*-*-openbsd*): Remove.
8855
5c30094f
RO
88562012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8857
8858 * config.host: Remove alpha*-dec-osf5.1* handling.
8859 * config/alpha/gthr-posix.c: Remove.
8860 * config/alpha/libgcc-osf5.ver: Remove.
8861 * config/alpha/osf5-unwind.h: Remove.
8862 * config/alpha/t-osf-pthread: Remove.
8863 * config/alpha/t-slibgcc-osf: Remove.
8864 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
8865 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
8866 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
8867 * mkmap-flat.awk: Remove osf_export handling.
8868
33e3e24d
RG
88692012-03-12 Richard Guenther <rguenther@suse.de>
8870
8871 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
8872 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8873 (__gthread_mutex_init_function): New function.
8874 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
8875
8876 PR gcov/49484
8877 * libgcov.c: Include gthr.h.
8878 (__gcov_flush_mx): New global variable.
8879 (init_mx, init_mx_once): New functions.
8880 (__gcov_flush): Protect self with a mutex.
8881 (__gcov_fork): Re-initialize mutex after forking.
8882 * unwind-dw2-fde.c: Change condition under which to use
8883 __GTHREAD_MUTEX_INIT_FUNCTION.
8884
d8aba32a
TG
88852012-03-12 Tristan Gingold <gingold@adacore.com>
8886
8887 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
8888 * config/ia64/t-vms: Likewise.
8889
75ffafdc
MH
88902012-03-11 Michael Hope <michael.hope@linaro.org>
8891
4a172156
UB
8892 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
8893 for Thumb-2.
75ffafdc 8894
ef6c2c53
WL
88952012-03-07 Walter Lee <walt@tilera.com>
8896
8897 * config/tilepro/atomic.c: Rename "atomic_" prefix to
8898 "arch_atomic_".
8899 (atomic_xor): Rename and move definition to
8900 config/tilepro/atomic.h.
8901 (atomic_nand): Ditto.
8902 * config/tilepro/atomic.h: Rename "atomic_" prefix to
8903 "arch_atomic_".
8904 (arch_atomic_xor): Move from config/tilepro/atomic.c.
8905 (arch_atomic_nand): Ditto.
8906
4e30d980
GJL
89072012-03-07 Georg-Johann Lay <avr@gjlay.de>
8908
8909 PR target/52507
8910 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8911
61108225
GJL
89122012-03-07 Georg-Johann Lay <avr@gjlay.de>
8913
8914 PR target/52505
8915 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8916 from RAM.
8917
b30e10ab
GJL
89182012-03-07 Georg-Johann Lay <avr@gjlay.de>
8919
8920 PR target/52461
8921 PR target/52508
8922 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8923 if RAMPZ affects reading from RAM.
8924 (__tablejump_elpm__): Ditto.
8925 (.xload): Ditto.
8926 (__movmemx_hi): Ditto.
8927 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8928 (__do_global_dtors): Ditto.
8929 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8930 (__movmemx_hi): Ditto.
8931
8993fde4
RH
89322012-03-05 Richard Henderson <rth@redhat.com>
8933
8934 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8935 [ARM] (count_trailing_zeros): Use the builtin.
8936
b7633ee3
KT
89372012-03-01 Kai Tietz <ktietz@redhat.com>
8938
8939 * soft-fp: Imported from glibc upstream.
8940
fbd3340c
KT
89412012-02-28 Kai Tietz <ktietz@redhat.com>
8942
8943 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8944 for mingw-targets as attribute gcc_struct.
8945
e9e053eb
ILT
89462012-02-28 Ian Lance Taylor <iant@google.com>
8947
8948 * generic-morestack.c (__splitstack_releasecontext): Correct call
8949 to __morestack_release_segments.
8950
d80c632e
ST
89512012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8952
8953 PR target/52390
8954 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8955 for __linux__ when removing signals from __morestack_fullmask.
8956
0253a8b1
GJL
89572012-02-23 Georg-Johann Lay <avr@gjlay.de>
8958
8959 PR target/52261
8960 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8961
e10e461e
UW
89622012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8963
8964 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8965 instead of HAVE_INITFINI_ARRAY.
8966 * config/ia64/crtend.S: Likewise.
8967
0c0c6398
KT
89682012-02-20 Kai Tietz <ktietz@redhat.com>
8969
d7470374
KT
8970 PR libstdc++/52300
8971 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8972
0c0c6398
KT
8973 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8974 to w32-unwind.h header.
8975
78c27266
RS
89762012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8977
8978 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8979 (mips*-*-linux*): Remove t-slibgcc-libgcc.
8980 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8981 * config/mips/mips16.S (__mips16_rdhwr): Delete.
8982
5adeb246
RS
89832012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8984
8985 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8986
672ed313
IS
89872012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8988
8989 PR libitm/52220
8990 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 8991
e948a1fb
IS
89922012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8993 Patrick Marlier <patrick.marlier@gmail.com>
8994
8995 PR libitm/52220
8996 * config/darwin-crt-tm.c: Generate dummy functions.
8997
6017aed3
IS
89982012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8999 Patrick Marlier <patrick.marlier@gmail.com>
9000
9001 PR libitm/52042
9002 * config/darwin-crt-tm.c (getTMCloneTable): New function.
9003 (__doTMRegistrations): Call it.
e9e053eb 9004 (__doTMdeRegistrations): Likewise.
6017aed3 9005
2da8c1ad 90062012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
9007 Anatoly Sokolov <aesok@post.ru>
9008 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
9009
9010 PR target/52261
9011 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9012 (__epilogue_restores__): Ditto.
9013
0f952eb4
EB
90142012-02-15 Eric Botcazou <ebotcazou@adacore.com>
9015
9016 PR target/51921
9017 PR target/52205
9018 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9019 Solaris 11 and slightly reformat.
9020 (sparc_is_sighandler): Likewise.
9021
dd552284
WL
90222012-02-14 Walter Lee <walt@tilera.com>
9023
9024 * config.host: Handle tilegx and tilepro.
9025 * config/tilegx/sfp-machine.h: New file.
9026 * config/tilegx/sfp-machine32.h: New file.
9027 * config/tilegx/sfp-machine64.h: New file.
9028 * config/tilegx/t-crtstuff: New file.
9029 * config/tilegx/t-softfp: New file.
9030 * config/tilegx/t-tilegx: New file.
9031 * config/tilepro/atomic.c: New file.
9032 * config/tilepro/atomic.h: New file.
9033 * config/tilepro/linux-unwind.h: New file.
9034 * config/tilepro/sfp-machine.h: New file.
9035 * config/tilepro/softdivide.c: New file.
9036 * config/tilepro/softmpy.S: New file.
9037 * config/tilepro/t-crtstuff: New file.
9038 * config/tilepro/t-tilepro: New file.
9039
b59cbd50
JW
90402012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
9041
9042 PR libstdc++/51296
9043 PR libstdc++/51906
9044 * gthr-posix.h: Allow static initializer macros to be disabled.
9045 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9046
6caf807f
CLT
90472012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9048
9049 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9050 Add t-slibgcc-libgcc to tmake_file.
9051 * config/mips/libgcc-mips16.ver: Revert previous patch.
9052 * config/mips/mips16.S (__mips16_rdhwr): Hide.
9053
7d296953
JJ
90542012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
9055 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
9056
9057 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9058 * config/cr16/crti.S: New file.
9059 * config/cr16/crtlibid.S: New file.
9060 * config/cr16/crtn.S: New file.
9061 * config/cr16/lib1funcs.S: New file.
9062 * config/cr16/t-cr16: New file.
9063 * config/cr16/t-crtlibid: New file.
9064 * config/cr16/unwind-dw2.h: New file.
9065 * config/cr16/unwind-cr16.c: New file.
9066 * config/cr16/divmodhi3.c: New file.
9067
8ef03aa7
AM
90682012-01-25 Alan Modra <amodra@gmail.com>
9069
9070 * config/rs6000/t-linux64: Delete. Move..
9071 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9072 * config/rs6000/t-linux: ..and libgcc flags to here.
9073
daecebc8
DR
90742012-01-22 Douglas B Rupp <rupp@gnat.com>
9075
9076 * config.host (i[34567]86-*-interix3*):
8ef03aa7 9077 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
9078 * configure: Regenerate.
9079
ddaf8125
RS
90802012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
9081 Richard Sandiford <rdsandiford@googlemail.com>
9082
9083 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9084 * config/mips/mips16.S (__mips16_rdhwr): New function.
9085 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9086
2cd8b32c
NS
90872012-01-11 Nathan Sidwell <nathan@acm.org>
9088
9089 * libgcov.c (__gcov_init): Ignore objects with no functions.
9090
cba300dd
GJL
90912012-01-10 Georg-Johann Lay <avr@gjlay.de>
9092
9093 PR target/49868
9094 Extend __pgmx semantics to linearize memory.
9095 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9096 * config/avr/lib1funcs.S (__xload_1): New function.
9097 (__movmemx_qi, __movmemx_hi): New functions.
9098 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9099 semantics.
9ffaf4bc 9100
3d137660
EB
91012012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9102
9103 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9104 purported sigacthandler address isn't null before dereferencing it.
9105 (sparc_is_sighandler): Likewise.
9106
bf4db96c
EB
91072012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9108
9109 PR ada/41929
9110 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9111 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
9112 (sparc_is_sighandler): Likewise.
9113 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9114
1ab3568b
TG
91152012-01-06 Tristan Gingold <gingold@adacore.com>
9116
9117 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9118 compatibility thunks...
9119 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9120 (crtbeginS.o, crtendS.o): ... and these to ...
9121 * config/ia64/t-ia64-elf: ... this new file.
9122 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9123 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9124
925b0ed8
AK
91252012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9126
9127 * configure: Regenerate.
9128 * config/s390/t-crtstuff: Remove -fPIC.
9129
a99ad737
JW
91302012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9131
9132 PR bootstrap/51006
9133 * enable-execute-stack-mprotect.c (getpagesize): Do not define
9134 for NetBSD.
9135
884f56d1
GJL
91362012-01-02 Georg-Johann Lay <avr@gjlay.de>
9137
9138 PR target/51345
9139 * config/avr/lib1funcs.S: Remove FIXME comments.
9140 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
9141
8c57e547
GJL
91422012-01-02 Georg-Johann Lay <avr@gjlay.de>
9143
9144 Implement light-weight DImode support.
9145 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
9146 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
9147 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
9148 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
9149
04dbc287
NS
91502011-12-30 Nathan Sidwell <nathan@acm.org>
9151
9152 * libgcov.c (gcov_crc32): Remove global var.
9153 (free_fn_data): New function.
9154 (buffer_fn_data): Pass in filename, more robust error recovery.
9155 (crc32_unsigned): New function.
9156 (gcov_exit): More robust detection of new program. More robust
9157 error recovery.
9158 (__gcov_init): Do not update program's crc here.
9159
8e1d97d4
TG
91602011-12-21 Tristan Gingold <gingold@adacore.com>
9161
9162 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
9163
9ffaf4bc
ILT
91642011-12-21 Ian Lance Taylor <iant@google.com>
9165
9166 * config/i386/morestack.S: Simplify CFI opcodes throughout.
9167
a0c8d0c1
ILT
91682011-12-20 Ian Lance Taylor <iant@google.com>
9169
9170 * config/i386/morestack.S (__morestack_non_split): If there is
9171 enough stack space already, don't split. Ask for more stack space
9172 than we required.
9173
69048898
SDJ
91742011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
9175
9176 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
9177 `sys/sdt.h'.
9178 (_Unwind_DebugHook): New function.
9179 (uw_restore_core_regs): New define.
9180 (unwind_phase2): Use uw_restore_core_regs instead of
9181 restore_core_regs.
9182 (unwind_phase2_forced): Likewise.
9183 (__gnu_Unwind_Resume): Likewise.
9184
1bb4b6a3
UB
91852011-12-20 Uros Bizjak <ubizjak@gmail.com>
9186
9187 * config/alpha/linux-unwind.h: Update copyright years.
9188 (MD_FROB_UPDATE_CONTEXT): New define.
9189 (alpha_frob_update_context): New function.
9190
eb028768
RS
91912011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
9192
9193 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
9194 tmake_file rather replacing it.
9195
6a2045bf
IS
91962011-12-15 Iain Sandoe <iains@gcc.gnu.org>
9197
9198 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 9199 function is not used for PPC64.
6a2045bf
IS
9200 (save_world): Amend comments. Update the VRsave mask to reflect the
9201 saved regs.
9202 (rest_world): Update comments, do not clobber r10, do not use r8.
9203 (eh_rest_world_r10): Amend comments, do not use r8.
9204 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
9205 no longer used, move restore of CR and target address to the end of
9206 the routine.
9207
a13780a6
L
92082011-12-14 H.J. Lu <hongjiu.lu@intel.com>
9209
9210 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
9211 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
9212
d7288dfb
GJL
92132011-12-14 Georg-Johann Lay <avr@gjlay.de>
9214
9215 PR target/49313
9216 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
9217 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
9218
8d2c862d
EB
92192011-12-11 Eric Botcazou <ebotcazou@adacore.com>
9220
9221 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
9222
3447cae6
GJL
92232011-12-09 Georg-Johann Lay <avr@gjlay.de>
9224
9225 PR target/49313
9226 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
9227 * config/avr/lib1funcs.S (__muldi3): New function.
9228
806fc6aa
AP
92292011-12-06 Andrew Pinski <apinski@cavium.com>
9230
9231 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
9232 size of func_ptr.
9233 (__frame_dummy_init_array_entry): Likewise.
9234
28c5e6b5
GJL
92352011-12-06 Georg-Johann Lay <avr@gjlay.de>
9236
9237 Forward-port from gcc-4_6-branch r181936 2011-12-02.
9238
9239 PR target/51345
9240 PR target/51002
9241 * config/avr/lib1funcs.S (__prologue_saves__,
9242 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
9243 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
9244
8f90394a
IS
92452011-12-04 Iain Sandoe <iains@gcc.gnu.org>
9246
9247 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
9248
06dd33ac
JDA
92492011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9250
9251 PR other/51272
9252 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
9253 (_ITM_deregisterTMCloneTable): Likewise.
9254 (__register_frame_info): Fix unused warning.
9255 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
9256 pthread_default_stacksize_np): Likewise.
9257 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 9258
85b8555e
DD
92592011-11-29 DJ Delorie <dj@redhat.com>
9260
9261 * config.host (rl78-*-elf): New case.
9262 * config/rl78: New directory for the Renesas RL78.
9263
4d5ae4ea
BS
92642011-11-29 Bernd Schmidt <bernds@codesourcery.com>
9265
9266 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
9267 formatting.
9268
f9c55897
RO
92692011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9270
9271 PR other/51022
9272 * config/rs6000/t-savresfgpr: New file.
9273 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
9274 $(srcdir)/config/rs6000/eabi.S.
9275 * config/rs6000/t-ppccomm-ldbl: Remove.
9276 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
9277 tmake_file.
9278 (powerpc-*-eabispe*): Likewise.
9279 (powerpc-*-eabi*): Likewise.
9280 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9281 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
9282 to tmake_file, remove rs6000/t-ppccomm-ldbl.
9283 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
9284 tmake_file.
9285 (powerpc-*-eabisim*): Likewise.
9286 (powerpc-*-elf*): Likewise.
9287 (powerpc-*-eabialtivec*): Likewise.
9288 (powerpc-xilinx-eabi*): Likewise.
9289 (powerpc-*-rtems*): Likewise.
9290 (powerpcle-*-elf*): Likewise.
9291 (powerpcle-*-eabisim*): Likewise.
9292 (powerpcle-*-eabi*): Likewise.
9293
a01207c4
ILT
92942011-11-27 Ian Lance Taylor <iant@google.com>
9295
9296 * generic-morestack.c (__splitstack_find): Check for NULL old
9297 stack value.
9298 (__splitstack_resetcontext): New function.
9299 (__splitstack_releasecontext): New function.
9300 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9301
2b0b8ab2
IS
93022011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9303
9304 * config/darwin-crt-tm.c: Correct comments, use correct licence.
9305
c1d8101c
IS
93062011-11-27 Iain Sandoe <iains@gcc.gnu.org>
9307
9308 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
9309
8b281334
RH
93102011-11-26 Richard Henderson <rth@redhat.com>
9311
9312 * config/m68k/linux-atomic.c: New file.
9313 * config/m68k/t-linux: New file.
9314 * config.host (m68k-uclinux, m68k-linux): Use it.
9315
7546aa9d
RH
93162011-11-26 Richard Henderson <rth@redhat.com>
9317
9318 * crtstuff.c (__TMC_LIST__): Mark used not unused.
9319 (__TMC_END__): Only declare if hidden is available; in the definition,
9320 if hidden is unavailable add a null record.
9321 (deregister_tm_clones, register_tm_clones): New.
9322 (__do_global_dtors_aux, frame_dummy): Use them.
9323 (__do_global_dtors, __do_global_ctors_1): Likewise.
9324
e2362f5d
IS
93252011-11-22 Iain Sandoe <iains@gcc.gnu.org>
9326
9327 * config/darwin-crt-tm.c: New file.
9328 * config.host (darwin): Build crttms.o crttme.o to provide
9329 startup and shutdown for tm clones.
9330 * config/t-darwin (crttms.o): New build rule.
9331 (crttme.o): Likewise.
9332
6685dd96
HPN
93332011-11-21 Hans-Peter Nilsson <hp@axis.com>
9334
9335 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
9336 et al.
9337
b0dc7e4c
RH
93382011-11-21 Richard Henderson <rth@redhat.com>
9339
9340 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
9341 (__TMC_LIST__, __TMC_END__): New.
9342 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
9343 (__do_global_dtors): Likewise.
9344 (frame_dummy): Call _ITM_registerTMCloneTable.
9345 (__do_global_ctors_1): Likewise.
9346
d4b4b542
RO
93472011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9348
9349 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
9350 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9351 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
9352 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
9353 * config/i386/t-darwin64: Remove.
9354 * config/sh/t-netbsd (LIB2ADD): Remove.
9355
989bdb74
GJL
93562011-11-21 Georg-Johann Lay <avr@gjlay.de>
9357
9358 PR target/49313
9359 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
9360 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
9361 * config/avr/lib1funcs.S (wmov): New assembler macro.
9362 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
9363 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
9364 (__udivmod64): New function.
9365 (__negdi2): New function.
9366
515a0cfc
GP
93672011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
9368
9369 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
9370 *-*-freebsd*aout*): Remove.
9371
0115d17f
HPN
93722011-11-20 Hans-Peter Nilsson <hp@axis.com>
9373
9374 * static-object.mk (c_flags-$o): Save c_flags.
9375 ($(base)$(objext)): Use it.
9376
93aeb62b
SE
93772011-11-18 Steve Ellcey <sje@cup.hp.com>
9378
9379 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
9380
7bc6df2c
GJL
93812011-11-18 Georg-Johann Lay <avr@gjlay.de>
9382
9383 PR target/49868
9384 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
9385 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
9386 New functions.
9387
425d737b
MGD
93882011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9389
9390 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
9391 functions.
1bb4b6a3 9392 (aeabi_uidivmod): Likewise.
425d737b
MGD
9393 (umodsi3): Likewise.
9394 (divsi3): Likewise.
9395 (aeabi_idivmod): Likewise.
9396 (modsi3): Likewise.
9397
f2a176dc
TG
93982011-11-16 Tristan Gingold <gingold@adacore.com>
9399
9400 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
9401
7c209481
GJL
94022011-11-15 Georg-Johann Lay <avr@gjlay.de>
9403
9404 PR target/49868
9405 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
9406 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
9407
9dfd5832
JDA
94082011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9409
9410 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
9411 tmake_file list.
9412 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
9413 * config/pa/t-stublib64: Delete.
9414
f77dca5d
RH
94152011-11-12 Richard Henderson <rth@redhat.com>
9416
9417 * config/rs6000/linux-unwind.h (frob_update_context): Properly
9418 cast the pointer argument to _Unwind_SetGRPtr.
9419
902828f0
RO
94202011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9421
9422 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
9423
e14304ef
ILT
94242011-11-09 Ian Lance Taylor <iant@google.com>
9425
9426 * generic-morestack.c: Include <string.h>.
9427 (uintptr_type): Define.
9428 (struct initial_sp): Add dont_block_signals field. Reduce size of
9429 extra array by 1.
9430 (allocate_segment): Set prev field to NULL. Don't set
9431 __morestack_current_segment or __morestack_segments.
9432 (__generic_morestack): Update current->prev and *pp after calling
9433 allocate_segment.
9434 (__morestack_block_signals): Don't do anything if
9435 dont_block_signals is set.
9436 (__morestack_unblock_signals): Likewise.
9437 (__generic_findstack): Check for initial_sp == NULL. Add casts to
9438 uintptr_type.
9439 (__splitstack_block_signals): New function.
9440 (enum __splitstack_content_offsets): Define.
9441 (__splitstack_getcontext, __splitstack_setcontext): New functions.
9442 (__splitstack_makecontext): New function.
9443 (__splitstack_block_signals_context): New function.
9444 (__splitstack_find_context): New function.
9445 * config/i386/morestack.S (__morestack_get_guard): New function.
9446 (__morestack_set_guard, __morestack_make_guard): New functions.
9447 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
9448
e3d871e4
RO
94492011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9450
9451 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
9452 (i[34567]86-*-mingw*): ... here.
9453 (x86_64-*-mingw*): ... here.
9454
e55cef40
RO
94552011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9456
9457 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
9458
5366b186
NS
94592011-11-07 Nathan Sidwell <nathan@acm.org>
9460
9461 * libgcov.c (struct gcov_fn_buffer): New struct.
9462 (buffer_fn_data): New helper.
9463 (gcov_exit): Rework for new gcov data structures.
9464
74155a6f
GJL
94652011-11-07 Georg-Johann Lay <avr@gjlay.de>
9466
9467 PR target/49313
9468 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
9469
200feb07
RO
94702011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9471
9472 * config.host (tmake_file): Correct comment.
9473 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
9474 t-libgcc-pic.
9475 (bfin*-uclinux*): Likewise.
9476 (bfin*-linux-uclibc*): Likewise.
9477 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
9478
9479 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
9480 assigning.
9481 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9482 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
9483 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9484 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
9485 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9486 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
9487 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
9488 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
9489 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
9490 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
9491 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
9492 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
9493 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
9494
9495 * config/bfin/t-elf: Remove.
9496 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
9497
c9cd1a07
RO
94982011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9499
9500 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
9501 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
9502 (lm32-*-elf*, lm32-*-rtems*): Split into ...
9503 (lm32-*-elf*): ... this.
9504 (lm32-*-rtems*): ... and this.
9505 Add to tmake_file.
9506 (m32r-*-rtems*): Add to tmake_file.
9507 (moxie-*-rtems*): Likewise.
9508 (sparc-*-rtems*): Likewise.
9509 Remove t-rtems from tmake_file.
9510 (sparc64-*-rtems*): Likewise.
9511 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
9512 instead.
9513
9fbcc75d
RO
95142011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9515
9516 PR bootstrap/50982
9517 * config/gthr-posix.h: Move ...
9518 * gthr-posix.h: ... here.
9519 * config/gthr-lynx.h: Reflect this.
9520 * config/gthr-vxworks.h: Likewise.
9521 * config/rs6000/gthr-aix.h: Likewise.
9522 * configure.ac (target_thread_file): Likewise.
9523 * configure: Regenerate.
9524
76644b68
SH
95252011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
9526
9527 * config.host (arm*-*-rtemseabi*): New target.
9528
5e490f2a
JDA
95292011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9530
9531 PR other/50991
9532 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
9533 extra-parts.
9534
feeeff5c
JR
95352011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
9536
9537 * config.host (epiphany-*-elf*): New configuration.
9538 * config/epiphany: New Directory.
9539
d618bb2c
RC
95402011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
9541
9542 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
9543 * config/avr/t-rtems: New.
9544 Filter out _exit from LIB1ASMFUNCS.
9545
1bb6f778
DM
95462011-11-04 David S. Miller <davem@davemloft.net>
9547
9548 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
9549 * configure: Rebuild.
9550
9a7f7422
AK
95512011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9552
9553 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
9554 variable.
9555
e4fe948a
GJL
95562011-11-04 Georg-Johann Lay <avr@gjlay.de>
9557
9558 PR target/50931
9559 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
9560 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
9561
7084e037
JS
95622011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
9563
9564 PR target/50989
9565 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
9566
1a032034
RO
95672011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9568
9569 * config/c6x/t-elf (LIB2ADDEH): Set.
9570 * config/c6x/t-c6x-elf: Remove.
9571
d385f772
RO
95722011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9573
9574 * config/i386/sol2-ci.S: Rename to ...
9575 * config/i386/crti.S: ... this.
9576 * config/i386/sol2-cn.S: Rename to ...
9577 * config/i386/crtn.S: ... this.
9578 * config/sparc/sol2-ci.S: Rename to ...
9579 * config/sparc/crti.S: ... this.
9580 * config/sparc/sol2-cn.S: Rename to ...
9581 * config/sparc/crtn.S: ... this.
9582 * config/t-sol2 (CUSTOM_CRTIN): Remove.
9583 (crti.o, crtn.o): Remove.
9584
1ba878a9
TG
95852011-11-04 Tristan Gingold <gingold@adacore.com>
9586
9587 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
9588
02750c15
KK
95892011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
9590
9591 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
9592
bf86b067
HPN
95932011-11-03 Hans-Peter Nilsson <hp@axis.com>
9594
9595 * config.host (crisv32-*-none, cris-*-none): Remove.
9596 (crisv32-*-elf): Append to tmake_file, don't just set it.
9597 (cris-*-elf): Add missing t-fdpbit to tmake_file.
9598
d0bc53bd
RO
95992011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9600
9601 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
9602 (ecrtn$(objext)): Likewise.
9603 (ncrti$(objext)): Likewise.
9604 (ncrtn$(objext)): Likewise.
9605
036da830
AS
96062011-11-03 Andreas Schwab <schwab@redhat.com>
9607
9608 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
9609
d2a7d041
DM
96102011-11-02 David S. Miller <davem@davemloft.net>
9611
9612 * configure.ac: Set host_address on sparc too.
9613 * configure: Regenerate.
9614 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
9615 based upon host_address.
9616 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
9617
af8ed618
JM
96182011-11-02 Jason Merrill <jason@redhat.com>
9619
9620 * config/rs6000/t-ppccomm: Add missing \.
9621
5d1c8e77
RO
96222011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9623
9624 * gthr-single.h, gthr.h: New files.
9625 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
9626 config/gthr-vxworks.h, config/i386/gthr-win32.h,
9627 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
9628 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
9629 * config/i386/gthr-win32.c: Include "gthr-win32.h".
9630 * configure.ac (thread_header): New variable.
9631 Set it depending on target_thread_file.
9632 (gthr-default.h): Link from $thread_header.
9633 * configure: Regenerate.
9634 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
9635
852b75ed
RO
96362011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9637
9638 * configure.ac (tm_file_): New variable.
9639 Determine from tm_file.
9640 (tm_file, tm_defines): Substitute.
9641 * configure: Regenerate.
9642 * mkheader.sh: New file.
9643 * Makefile.in (clean): Remove libgcc_tm.h.
9644 ($(objects)): Depend on libgcc_tm.h.
9645 (libgcc_tm_defines, libgcc_tm_file): New variables.
9646 (libgcc_tm.h, libgcc_tm.stamp): New targets.
9647 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
9648 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
9649 ($(extra-parts)): Depend on libgcc_tm.h.
9650 * config.host (tm_defines, tm_file): New variable.
9651 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
9652 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
9653 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
9654 (avr-*-rtems*): Likewise.
9655 (avr-*-*): Likewise.
9656 (frv-*-elf): Likewise.
9657 (frv-*-*linux*): Likewise.
9658 (h8300-*-rtems*): Likewise.
9659 (h8300-*-elf*): Likewise.
9660 (i[34567]86-*-darwin*): Likewise.
9661 (x86_64-*-darwin*): Likewise.
9662 (rx-*-elf): Likewise.
9663 (tic6x-*-uclinux): Likewise.
9664 (tic6x-*-elf): Likewise.
9665 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
9666 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
9667 * config/i386/cygming-crtbegin.c: Likewise.
9668 * config/i386/cygming-crtend.c: Likewise.
9669 * config/ia64/fde-vms.c: Likewise.
9670 * config/ia64/unwind-ia64.c: Likewise.
9671 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9672 * config/rs6000/darwin-fallback.c: Likewise.
9673 * config/stormy16/lib2funcs.c: Likewise.
9674 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
9675 * crtstuff.c: Likewise.
9676 * dfp-bit.h: Likewise.
9677 * emutls.c: Likewise.
9678 * fixed-bit.c: Likewise.
9679 * fp-bit.c: Likewise.
9680 * generic-morestack-thread.c: Likewise.
9681 * generic-morestack.c: Likewise.
9682 * libgcc2.c: Likewise.
9683 * libgcov.c: Likewise.
9684 * unwind-dw2-fde-dip.c: Likewise.
9685 * unwind-dw2-fde.c: Likewise.
9686 * unwind-dw2.c: Likewise.
9687 * unwind-sjlj.c: Likewise.
9688
f9989b51
RO
96892011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9690
9691 * configure.ac: Include ../config/picflag.m4.
9692 (GCC_PICFLAG): Call it.
9693 Substitute.
9694 * configure: Regenerate.
9695 * Makefile.in (gcc_srcdir): Remove.
9696 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
9697 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
9698 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
9699 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
9700 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
9701 Use $<.
9702 Remove comment.
9703 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
9704 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
9705 to refer to libgcc2.c.
9706 Use $<.
9707 * config/darwin-64.c: New file.
9708 * config/darwin-crt3.c: Remove comment.
9709 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
9710 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
9711 config/udivmodsi4.c: New files.
9712 * config/memcmp.c, config/memcpy.c, config/memmove.c,
9713 config/memset.c: New files.
9714 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
9715 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
9716 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
9717 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
9718 * config/t-openbsd-thread: New file.
9719 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
9720 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
9721 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
9722 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
9723 qrnnd.S.
9724 Adapt filename.
9725 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
9726 to refer to gthr-posix.c.
9727 * config/alpha/t-vms (LIB2ADD): Set.
9728 * config/alpha/vms-gcc_shell_handler.c: New file.
9729 * config/arm/bpabi.c, config/arm/fp16.c,
9730 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
9731 config/arm/unaligned-funcs.c: New files.
9732 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
9733 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9734 * config/arm/t-linux: Likewise.
9735 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
9736 * config/arm/t-netbsd: New file.
9737 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
9738 * config/arm/t-symbian (LIB2ADD_ST): Set.
9739 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
9740 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9741 * config/bfin/t-elf: New file.
9742 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
9743 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
9744 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
9745 config/c6x/ltf.c: New files.
9746 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
9747 (HOST_LIBGCC2_CFLAGS): Set.
9748 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
9749 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9750 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
9751 New files.
9752 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
9753 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
9754 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
9755 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
9756 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
9757 files.
9758 * config/frv/t-frv (LIB2ADD): Set.
9759 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9760 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
9761 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
9762 config/h8300/popcounthi2.c: New files.
9763 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9764 * config/i386/gthr-win32.c: New file.
9765 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
9766 * config/i386/t-cygwin: Likewise.
9767 * config/i386/t-darwin, config/i386/t-darwin64,
9768 config/i386/t-gthr-win32, config/i386/t-interix: New files.
9769 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
9770 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9771 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9772 * config/ia64/quadlib.c: New file.
9773 * config/ia64/t-hpux (LIB2ADD): Set.
9774 * config/ia64/t-ia64: Add comment.
9775 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
9776 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9777 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
9778 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
9779 * config/m32c/t-m32c (LIB2ADD): Set.
9780 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9781 * config/m32r/t-m32r: Likewise.
9782 * config/m68k/fpgnulib.c: New file.
9783 * config/m68k/t-floatlib (LIB2ADD): Set.
9784 (xfgnulib.c): New target.
9785 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
9786 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
9787 * config/mep/t-mep (LIB2ADD): Set.
9788 * config/microblaze/divsi3.asm: Rename to divsi3.S.
9789 * config/microblaze/moddi3.asm: Rename to moddi3.S.
9790 * config/microblaze/modsi3.asm: Rename to modsi3.S.
9791 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
9792 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
9793 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
9794 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
9795 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
9796 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
9797 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
9798 New files.
9799 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
9800 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
9801 * config/pa/fptr.c, config/pa/lib2funcs.S,
9802 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
9803 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
9804 (LIB2ADD, LIB2ADD_ST): Set.
9805 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
9806 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
9807 Set.
9808 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
9809 * config/pdp11/t-pdp11: New file.
9810 * config/picochip/libgccExtras/adddi3.S,
9811 config/picochip/libgccExtras/ashlsi3.S,
9812 config/picochip/libgccExtras/ashrsi3.S,
9813 config/picochip/libgccExtras/clzsi2.S,
9814 config/picochip/libgccExtras/cmpsi2.S,
9815 config/picochip/libgccExtras/divmod15.S,
9816 config/picochip/libgccExtras/divmodhi4.S,
9817 config/picochip/libgccExtras/divmodsi4.S,
9818 config/picochip/libgccExtras/lshrsi3.S,
9819 config/picochip/libgccExtras/parityhi2.S,
9820 config/picochip/libgccExtras/popcounthi2.S,
9821 config/picochip/libgccExtras/subdi3.S,
9822 config/picochip/libgccExtras/ucmpsi2.S,
9823 config/picochip/libgccExtras/udivmodhi4.S,
9824 config/picochip/libgccExtras/udivmodsi4.S: New files.
9825 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
9826 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
9827 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
9828 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
9829 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
9830 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
9831 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
9832 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
9833 files.
9834 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
9835 (HOST_LIBGCC2_CFLAGS): Set.
9836 * config/rs6000/t-darwin64: New file.
9837 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
9838 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
9839 * config/rs6000/t-ppccomm (LIB2ADD): Add
9840 $(srcdir)/config/rs6000/tramp.S.
9841 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
9842 Add $(srcdir)/config/rs6000/eabi.S.
9843 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
9844 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
9845 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
9846 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
9847 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
9848 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
9849 * config/rs6000/tramp.S: New file.
9850 * config/s390/t-tpf: Remove.
9851 * config/sh/linux-atomic.S: New file.
9852 * config/sh/t-linux (LIB2ADD): Set.
9853 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
9854 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
9855 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
9856 to unwind-dw2.c.
9857 (HOST_LIBGCC2_CFLAGS): Set.
9858 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
9859 * config/spu/divmodti4.c, config/spu/divv2df3.c,
9860 config/spu/float_disf.c, config/spu/float_unsdidf.c,
9861 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
9862 config/spu/mfc_multi_tag_release.c,
9863 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
9864 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
9865 config/spu/multi3.c: New files.
9866 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
9867 (HOST_LIBGCC2_CFLAGS): Set.
9868 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
9869 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
9870 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
9871 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
9872 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
9873 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
9874 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
9875 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
9876 config/stormy16/umodsi3.c: New files.
9877 * config/xtensa/lib2funcs.S: New file.
9878 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
9879 * config/xtensa/t-xtensa (LIB2ADD): Set.
9880 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
9881 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
9882 Add t-freebsd-thread to tmake_file for posix threads.
9883 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
9884 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
9885 (*-*-lynxos*): Likewise.
9886 (*-*-netbsd*): Likewise.
9887 (*-*-openbsd*): Likewise.
9888 Add t-openbsd-thread to tmake_file for posix threads.
9889 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
9890 (*-*-vxworks*): Set tmake_file.
9891 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9892 (alpha*-*-freebsd*): Likewise.
9893 (alpha*-*-netbsd*): Likewise.
9894 (alpha*-*-openbsd*): Likewise.
9895 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
9896 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
9897 (alpha*-dec-*vms*): Likewise.
9898 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
9899 (bfin*-elf*): Add bfin/t-elf to tmake_file.
9900 (bfin*-uclinux*): Likewise.
9901 (bfin*-linux-uclibc*): Likewise.
9902 (crisv32-*-elf): Add cris/t-cris to tmake_file.
9903 (crisv32-*-none): Likewise.
9904 (cris-*-elf): Likewise.
9905 (cris-*-none): Likewise.
9906 (cris-*-linux*, crisv32-*-linux*): Likewise.
9907 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9908 tmake_file.
9909 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9910 tmake_file.
9911 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9912 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9913 (x86_64-*-elf*): Likewise.
9914 (i[34567]86-*-nto-qnx*): Likewise.
9915 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9916 win32 threads.
9917 (x86_64-*-mingw*): Likewise.
9918 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9919 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9920 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9921 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9922 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9923 tmake_file.
9924 (mipsisa64sr71k-*-elf*): Likewise.
9925 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9926 (mips-*-elf*, mipsel-*-elf*): Likewise.
9927 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9928 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9929 (mips*-*-rtems*): Likewise.
9930 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9931 to tmake_file.
9932 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9933 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9934 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9935 (spu-*-elf*): Likewise.
9936 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9937
45b86625
RO
99382011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9939
9940 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9941 $(srcdir) to refer to $(LIB1ASMSRC).
9942 Use $<.
9943 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9944 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9945 config/arm/lib1funcs.S: New files.
9946 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9947 * config/arm/t-arm: New file.
9948 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9949 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9950 config/arm/t-strongarm-elf: New files.
9951 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9952 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9953 * config/avr/lib1funcs.S: New file.
9954 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9955 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9956 * config/c6x/lib1funcs.S: New file.
9957 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9958 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9959 * config/frv/lib1funcs.S: New file.
9960 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9961 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9962 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9963 * config/ia64/__divxf3.asm: Rename to ...
9964 * config/ia64/__divxf3.S: ... this.
9965 Adapt lib1funcs.asm filename.
9966 * config/ia64/_fixtfdi.asm: Rename to ...
9967 * config/ia64/_fixtfdi.S: ... this.
9968 Adapt lib1funcs.asm filename.
9969 * config/ia64/_fixunstfdi.asm: Rename to ...
9970 * config/ia64/_fixunstfdi.S: ... this.
9971 Adapt lib1funcs.asm filename.
9972 * config/ia64/_floatditf.asm: Rename to ...
9973 * config/ia64/_floatditf.S: ... this.
9974 Adapt lib1funcs.asm filename.
9975 * config/ia64/lib1funcs.S: New file.
9976 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9977 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9978 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9979 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9980 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9981 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9982 * config/mep/lib1funcs.S: New file.
9983 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9984 * config/mips/mips16.S: New file.
9985 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9986 * config/pa/milli64.S: New file.
9987 * config/pa/t-linux, config/pa/t-linux64: New files.
9988 * config/picochip/lib1funcs.S: New file.
9989 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9990 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9991 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9992 * config/sh/t-netbsd: New file.
9993 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9994 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9995 * config/sh/t-sh64: New file.
9996 * config/sparc/lb1spc.S: New file.
9997 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9998 filename.
9999 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10000 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10001 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10002 config/xtensa/lib1funcs.S: New files.
10003 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10004 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10005 tmake_file.
10006 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10007 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10008 (arm*-*-linux*): Likewise.
10009 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10010 arm*-*-linux-*eabi, add arm/t-linux otherwise.
10011 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10012 (arm*-*-ecos-elf): Likewise.
10013 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10014 (arm*-*-rtems*): Likewise.
10015 (arm*-*-elf): Likewise.
10016 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10017 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10018 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10019 (bfin*-uclinux*): Likewise.
10020 (bfin*-linux-uclibc*): Likewise.
10021 (bfin*-rtems*): Likewise.
10022 (bfin*-*): Likewise.
10023 (fido-*-elf): Merge into m68k-*-elf*.
10024 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10025 (frv-*-*linux*): Add frv/t-frv to tmake_file.
10026 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10027 (h8300-*-elf*): Likewise.
10028 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10029 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10030 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10031 (i[34567]86-*-mingw*): Likewise.
10032 (x86_64-*-mingw*): Likewise.
10033 (i[34567]86-*-interix3*): Likewise.
10034 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10035 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10036 (m68k-*-elf*): Also handle fido-*-elf.
10037 Add m68k/t-floatlib to tmake_file.
10038 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10039 (m68k-*-linux*): Likewise.
10040 (m68k-*-rtems*): Likewise.
10041 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10042 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10043 sh64*-*-*.
10044 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10045 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10046 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10047 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10048 sh/t-netbsd to tmake_file.
10049 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10050 (sh-*-rtems*): Add sh/t-sh to tmake_file.
10051 (sh-wrs-vxworks): Likewise.
10052 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10053 *-leon[3-9]*.
10054 (v850*-*-*): Add v850/t-v850 to tmake_file.
10055 (vax-*-linux*): Add vax/t-linux to tmake_file.
10056 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10057
5f73c6cc
RO
100582011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10059
10060 * crtstuff.c: New file.
10061 * Makefile.in (CRTSTUFF_CFLAGS): Define.
10062 (CRTSTUFF_T_CFLAGS): Define.
10063 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10064 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10065 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10066 crtstuff.c.
10067 Use $<.
10068 (crtbeginT.o): Use $(objext).
10069 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10070 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10071 (gcc-extra-parts): Remove.
10072 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10073 Set extra_parts.
10074 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10075 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10076 Add t-crtstuff-pic to tmake_file.
10077 (*-*-lynxos*): New case.
10078 Set tmake_file, extra_parts.
10079 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10080 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10081 *-*-netbsdelf[2-9]*.
10082 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10083 (*-*-rtems*): Set extra_parts.
10084 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10085 (*-*-uclinux*): New case.
10086 Set extra_parts.
10087 (*-*-vms*): New case.
10088 Set tmake_file, extra_parts.
10089 (*-*-elf): Set extra_parts.
10090 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10091 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10092 vms/t-vms64.
10093 Set extra_parts.
10094 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10095 Set extra_parts.
10096 (arm*-*-freebsd*): Add t-crtin to tmake_file.
10097 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10098 (arm-wrs-vxworks): Append to tmake_file.
10099 Set extra_parts.
10100 (arm*-*-uclinux*): Set extra_parts.
10101 (arm*-*-ecos-elf): Likewise.
10102 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10103 arm*-*-eabi*.
10104 (arm*-*-rtems*): Set extra_parts.
10105 (arm*-*-elf): Likewise.
10106 (avr-*-rtems*): Clear extra_parts.
10107 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10108 Set extra_parts.
10109 (bfin*-uclinux*): Likewise.
10110 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10111 (bfin*-rtems*): Append to tmake_file.
10112 Set extra_parts.
10113 (bfin*-*): Likewise.
10114 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10115 (crisv32-*-elf): ... this.
10116 (crisv32-*-none): ... this.
10117 (cris-*-elf, cris-*-none): New cases.
10118 Add cris/t-elfmulti to tmake_file.
10119 (fr30-*-elf): Append to tmake_file.
10120 Set extra_parts.
10121 (frv-*-elf): Append to tmake_file, add frv/t-frv.
10122 Set extra_parts.
10123 (h8300-*-rtems*): Append to tmake_file.
10124 Set extra_parts.
10125 (h8300-*-elf*): Likewise.
10126 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10127 Set extra_parts.
10128 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10129 Set extra_parts.
10130 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10131 (x86_64-*-elf*): Likewise.
10132 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10133 (x86_64-*-freebsd*): Likewise.
10134 (x86_64-*-netbsd*): Likewise.
10135 (i[34567]86-*-linux*): Likewise.
10136 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10137 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10138 (x86_64-*-linux*): Likewise.
10139 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10140 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
10141 tmake_file.
10142 Set extra_parts.
10143 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
10144 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
10145 Append to extra_parts, remove crtbegin.o, crtend.o.
10146 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
10147 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
10148 crtend.o, crtbeginS.o, crtendS.o.
10149 (ia64*-*-linux*): Comment extra_parts.
10150 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
10151 Set extra_parts.
10152 (iq2000*-*-elf*): Clear extra_parts.
10153 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
10154 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
10155 (m32r-*-elf*, m32r-*-rtems*): Split off ...
10156 (m32r-*-rtems*): ... this.
10157 Add m32r/t-m32r to tmake_file.
10158 (m68k-*-elf*): Add t-crtin to tmake_file.
10159 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
10160 (mcore-*-elf): Likewise.
10161 (microblaze*-*-*): Set extra_parts.
10162 (mips*-sde-elf*): New case.
10163 Set tmake_file, extra_parts.
10164 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10165 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10166 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
10167 tmake_file.
10168 Set extra_parts.
10169 (mipsisa64sr71k-*-elf*): Likewise.
10170 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10171 (mips-*-elf*, mipsel-*-elf*): Likewise.
10172 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10173 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
10174 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10175 (mips*-*-rtems*): Likewise.
10176 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
10177 (moxie-*-*): Split into ...
10178 (moxie-*-elf, moxie-*-uclinux*): ... this.
10179 Add to extra_parts, remove crtbegin.o, crtend.o.
10180 (moxie-*-rtems*): New case.
10181 Set tmake_file.
10182 Clear extra_parts.
10183 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
10184 Set extra_parts.
10185 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10186 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
10187 tmake_file.
10188 Set extra_parts.
10189 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
10190 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
10191 Set extra_parts.
10192 (powerpc-*-eabisim*): Likewise.
10193 (powerpc-*-elf*): Likewise.
10194 (powerpc-*-eabialtivec*): Likewise.
10195 (powerpc-xilinx-eabi*): Likewise.
10196 (powerpc-*-eabi*): Likewise.
10197 (powerpc-*-rtems*): Likewise.
10198 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
10199 tmake_file.
10200 Set extra_parts.
10201 (powerpc-*-lynxos*): Add to tmake_file.
10202 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
10203 rs6000/t-crtstuff, t-crtstuff-pic.
10204 Set extra_parts.
10205 (powerpcle-*-eabisim*): Likewise.
10206 (powerpcle-*-eabi*): Likewise.
10207 (rx-*-elf): Remove extra_parts.
10208 (s390x-ibm-tpf*): Set extra_parts.
10209 (score-*-elf): Set extra_parts.
10210 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10211 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10212 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10213 (sh64l*-*-netbsd*): Split into ...
10214 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
10215 Add t-crtstuff-pic to tmake_file.
10216 Set extra_parts.
10217 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
10218 Set extra_parts.
10219 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
10220 (sparc-*-elf*): Remove t-crtin from tmake_file.
10221 Add to extra_parts, remove crtbegin.o, crtend.o.
10222 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
10223 (sparc64-*-linux*): Likewise.
10224 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
10225 Add to extra_parts, remove crtbegin.o, crtend.o.
10226 (sparc64-*-elf*): Remove t-crtin from tmake_file.
10227 Add to extra_parts, remove crtbegin.o, crtend.o.
10228 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
10229 Add to extra_parts, remove crtbegin.o, crtend.o.
10230 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
10231 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
10232 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
10233 Set extra_parts.
10234 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
10235 Set extra_parts.
10236 (tic6x-*-*): Change to ...
10237 (tic6x-*-elf): ... this.
10238 Set extra_parts.
10239 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
10240 Set extra_parts.
10241 (am33_2.0-*-linux*): Add comment.
10242 (mep*-*-*): Add mep/t-mep to tmake_file.
10243 Set extra_parts.
10244 * config/alpha/t-vms: New file.
10245 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
10246 * config/arm/crti.S, config/arm/crtn.S: New files.
10247 * config/bfin/crti.S, config/bfin/crtn.S: New files.
10248 * config/bfin/crtlibid.S: New file.
10249 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
10250 * config/c6x/crti.S, config/c6x/crtn.S: New files.
10251 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
10252 (crti.o, crtin.o): New rules.
10253 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10254 * config/c6x/t-uclinux: New file.
10255 * config/cris/t-elfmulti: New file.
10256 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
10257 * config/fr30/crti.S, config/fr30/crtn.S: New files.
10258 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
10259 * config/frv/t-frv: New file.
10260 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
10261 * config/h8300/crti.S, config/h8300/crtn.S: New files.
10262 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
10263 New files.
10264 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
10265 refer to cygming-crtbegin.c, cygming-crtend.c.
10266 Use $<.
10267 * config/i386/t-nto: New file.
10268 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
10269 * config/ia64/crti.S, config/ia64/crtn.S: New files.
10270 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
10271 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
10272 Use .S extension.
10273 Use $<.
10274 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
10275 (crtinitS.o): New rule.
10276 * config/ia64/vms-crtinit.S: New file.
10277 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
10278 * config/m32r/initfini.c: New file.
10279 * config/m32r/t-linux, config/m32r/t-m32r: New files.
10280 * config/m68k/crti.S, config/m68k/crtn.S: New files.
10281 * config/mcore/crti.S, config/mcore/crtn.S: New files.
10282 * config/mep/t-mep: New file.
10283 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
10284 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
10285 * config/mips/crti.S, config/mips/crtn.S: New files.
10286 * config/mips/t-crtstuff: New file.
10287 * config/mmix/crti.S, config/mmix/crtn.S: New files.
10288 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
10289 (CUSTOM_CRTIN): Set.
10290 ($(T)crti.o, $(T)crtn.o): Remove $(T),
10291 dependencies.
10292 Use $(srcdir) to refer to crti.S, crtn.S.
10293 Use .S extension, $<.
10294 * config/moxie/crti.asm: Rename to ...
10295 * config/moxie/crti.S: ... this.
10296 * config/moxie/crtn.asm: Rename to ...
10297 * config/moxie/crtn.S: ... this.
10298 * config/moxie/t-moxie: Remove.
10299 * config/pa/stublib.c: New file.
10300 * config/pa/t-stublib, config/pa/t-stublib64: New files.
10301 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
10302 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
10303 * config/rs6000/t-crtstuff: New file.
10304 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
10305 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
10306 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
10307 Make output file explicit.
10308 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
10309 Make output file explicit.
10310 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
10311 Make output file explicit.
10312 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
10313 Make output file explicit.
10314 * config/score/crti.S, config/score/crtn.S: New files.
10315 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
10316 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
10317 files.
10318 * config/sh/t-sh, config/sh/t-superh: New files.
10319 * config/sparc/t-linux64: New file.
10320 * config/spu/cache.S, config/spu/cachemgr.c: New files.
10321 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
10322 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
10323 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
10324 * config/t-crtin: Remove.
10325 * config/t-crtstuff-pic: New file.
10326 * config/t-sol2 (CUSTOM_CRTIN): Set.
10327 (crti.o, crtn.o): New rules.
10328 * config/vms/t-vms: New file.
10329 * config/vms/vms-ucrt0.c: New file.
10330 * config/xtensa/t-elf: New file.
10331
b040f2be
RO
103322011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10333
10334 * Makefile.in (SHLIB_NM_FLAGS): Set.
10335 * mkmap-flat.awk, mkmap-symver.awk: New files.
10336 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
10337 exceptions.
10338 * configure: Regenerate.
10339 * config/libgcc-glibc.ver: New file.
10340 * config/libgcc-libsystem.ver: New file.
10341 * config/t-libunwind (SHLIB_LC): Set.
10342 * config/t-linux: New file.
10343 * config/t-slibgcc (INSTALL_SHLIB): New.
10344 (SHLIB_INSTALL): Use it.
10345 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
10346 to mkmap-symver.awk.
10347 (SHLIB_MAPFILES): Don't append, adapt pathname.
10348 (SHLIB_VERPFX): Set.
10349 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
10350 to mkmap-symver.awk.
10351 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
10352 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
10353 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
10354 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
10355 to mkmap-flat.awk.
10356 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
10357 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
10358 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
10359 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
10360 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
10361 * config/i386/libgcc-darwin.10.4.ver,
10362 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
10363 New files.
10364 * config/i386/t-darwin: Remove.
10365 * config/i386/t-darwin64: Likewise.
10366 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
10367 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
10368 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
10369 * config/i386/t-linux: New file.
10370 * config/i386/t-mingw32: New file.
10371 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
10372 * config/ia64/t-glibc: Rename to ...
10373 * config/ia64/t-linux: ... this.
10374 (SHLIB_MAPFILES): Set.
10375 * config/ia64/t-glibc-libunwind: Rename to ...
10376 * config/ia64/t-linux-libunwind: ... this.
10377 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
10378 * config/ia64/t-slibgcc-hpux: New file.
10379 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
10380 * config/m68k/t-slibgcc-elf-ver: New file.
10381 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
10382 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
10383 to mkmap-flat.awk.
10384 * config/pa/t-slibgcc-hpux: New file.
10385 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
10386 files.
10387 * config/rs6000/libgcc-darwin.10.4.ver,
10388 config/rs6000/libgcc-darwin.10.5.ver: New files.
10389 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
10390 config/rs6000/libgcc-glibc.ver.
10391 * config/rs6000/libgcc-ppc64.ver: Rename to
10392 config/rs6000/libgcc-ibm-ldouble.ver.
10393 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
10394 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
10395 * config/rs6000/t-ldbl128: Rename to ...
10396 * config/rs6000/t-linux: ... this.
10397 (SHLIB_MAPFILES): Adapt filename.
10398 * config/rs6000/t-slibgcc-aix: New file.
10399 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
10400 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
10401 libgcc-excl.ver, libgcc-glibc.ver.
10402 (SHLIB_LINK, SHLIB_INSTALL): Remove.
10403 * config/sparc/libgcc-glibc.ver: New file.
10404 * config/sparc/t-linux: New file.
10405 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
10406 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
10407 t-slibgcc-elf-ver to tmake_file.
10408 Add t-slibgcc-nolc-override to tmake_file for posix threads on
10409 *-*-freebsd[34].
10410 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10411 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
10412 t-slibgcc-elf-ver, t-linux to tmake_file.
10413 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
10414 tmake_file.
10415 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
10416 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
10417 (alpha*-dec-*vms*): Likewise.
10418 (arm*-*-freebsd*): Append to tmake_file.
10419 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
10420 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
10421 arm*-*-linux-*eabi.
10422 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
10423 tmake_file for arm*-*-symbianelf*.
10424 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
10425 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
10426 cris/t-linux.
10427 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
10428 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
10429 pa/t-slibgcc-dwarf-ver to tmake_file.
10430 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
10431 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
10432 (hppa*64*-*-hpux11*): Likewise.
10433 (hppa[12]*-*-hpux11*): Likewise.
10434 (x86_64-*-darwin*): Don't override tmake_file, but only keep
10435 i386/t-crtpc, i386/t-crtfm.
10436 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
10437 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10438 to tmake_file.
10439 Add i386/t-cygwin to tmake_file.
10440 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
10441 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
10442 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
10443 to tmake_file.
10444 Add i386/t-mingw32 to tmake_file.
10445 (x86_64-*-mingw*): Likewise.
10446 (ia64*-*-freebsd*): Append to tmake_file.
10447 (ia64*-*-linux*): Append to tmake_file.
10448 Replace ia64/t-glibc by ia64/t-linux.
10449 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
10450 system libunwind.
10451 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
10452 t-slibgcc-hpux to tmake_file.
10453 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
10454 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
10455 (m32rle-*-linux*): Likewise.
10456 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
10457 sjlj exceptions.
10458 (microblaze*-linux*): New case.
10459 Append to tmake_file, add t-slibgcc-nolc-override.
10460 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
10461 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10462 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
10463 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10464 rs6000/t-slibgcc-aix to tmake_file.
10465 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10466 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10467 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10468 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10469 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10470 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
10471 sh*-*-linux*.
10472 (sparc-*-linux*): Append to tmake_file for *-leon*.
10473 Add sparc/t-linux to tmake_file for non-Leon targets.
10474 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
10475 (tic6x-*-uclinux): New case.
10476 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
10477 (tic6x-*-*): Add c6x/t-elf to tmake_file.
10478 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
10479 (am33_2.0-*-linux*): Append to tmake_file.
10480 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
10481 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
10482 x86_64-*-kfreebsd*-gnu.
10483 Add i386/t-linux to tmake_file.
10484
18b4bd7b
ILT
104852011-10-28 Ian Lance Taylor <iant@google.com>
10486
10487 * config/i386/morestack.S: Correct CFI information to do proper
10488 returns throughout function. In 32-bit mode, save %ebx so that it
10489 is restored on unwind.
10490
5b2d9d90
BS
104912011-10-25 Bernd Schmidt <bernds@codesourcery.com>
10492
10493 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
10494 case where B3 isn't the return register.
10495
0d53e346
BS
10496 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
10497 logic for doubleword pops.
10498
cbffbd59
AT
104992011-10-25 Andreas Tobler <andreast@fgznet.ch>
10500
10501 * config/rs6000/t-freebsd: Add wildcard.
10502
56dc349e
PB
105032011-10-21 Paul Brook <paul@codesourcery.com>
10504
10505 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
10506
1e06b07d
UB
105072011-10-16 Uros Bizjak <ubizjak@gmail.com>
10508 Eric Botcazou <ebotcazou@adacore.com>
10509
10510 PR target/50737
10511 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
10512 fs->signal_frame to 1.
10513
b5204884
ILT
105142011-10-07 Ian Lance Taylor <iant@google.com>
10515
10516 * generic-morestack-thread.c: #include <errno.h>.
10517
91a639a1
ILT
105182011-10-07 Ian Lance Taylor <iant@google.com>
10519
10520 PR target/46093
10521 * generic-morestack.c (__generic_morestack): Make sure the segment
10522 is large enough for both the stack frame and the copied
10523 parameters.
10524
cc49116d
RO
105252011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10526
10527 PR bootstrap/49804
10528 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
10529 extra_parts.
10530
2996d8c3
NC
105312011-09-28 Nick Clifton <nickc@redhat.com>
10532
10533 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
10534 64-bit doubles are not enabled.
10535 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
10536 and floatunsisf functions.
10537
1e874273 105382011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 10539
1e874273
PB
10540 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
10541 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
10542 * unwind-arm-common.inc: New file.
10543 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
10544 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
10545 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
10546 * config/c6x/libunwind.S: New file.
10547 * config/c6x/pr-support.c: New file.
10548 * config/c6x/unwind-c6x.c: New file.
10549 * config/c6x/unwind-c6x.h: New file.
10550 * config/c6x/t-c6x-elf: New file.
10551
f70c879a
UB
105522011-08-23 Uros Bizjak <ubizjak@gmail.com>
10553
10554 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
10555 (ASM_DIVZERO): Ditto.
10556 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
10557
c55b374b
RS
105582011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
10559
10560 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
10561
1e138510
RS
105622011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
10563
10564 PR target/50090
10565 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
10566 instead of an assembly one.
10567
1563503d
PB
105682011-08-12 Paolo Bonzini <bonzini@gnu.org>
10569
10570 PR bootstrap/50047
10571 * Makefile.in (install-unwind_h): Create
10572 $(gcc_objdir)/include/unwind.h atomically.
10573
3627ac1a
RO
105742011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10575
10576 * Makefile.in (install-unwind_h): Remove destination file first.
10577
c6412d86
RO
105782011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10579
10580 * sync.c: New file.
10581 * config/mips/t-mips16: New file.
10582 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
10583 (mips*-*-linux*): Likewise.
10584 (mips*-sde-elf*): Likewise.
10585 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
10586 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
10587 Add mips/t-mips16 to tmake_file.
10588 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
10589 (mips-*-elf*): Likewise.
10590 (mips64-*-elf*): Likewise.
10591 (mips64orion-*-elf*): Likewise.
10592 (mips*-*-rtems*): Likewise.
10593 (mipstx39-*-elf*): Likewise.
10594 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
10595 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
10596 LIBGCC_SYNC_CFLAGS.
10597 Use $(srcdir) to refer to sync.c.
10598 Use $<.
10599 ($(libgcc-sync-funcs-o)): Likewise.
10600 ($(libgcc-sync-size-funcs-s-o)): Likewise.
10601 ($(libgcc-sync-funcs-s-o)): Likewise.
10602
3cb6e5bd
AS
106032011-08-09 Andreas Schwab <schwab@linux-m68k.org>
10604
10605 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
10606 t-libunwind.
10607
cca2207a
L
106082011-08-08 H.J. Lu <hongjiu.lu@intel.com>
10609
10610 PR other/48007
10611 * config/i386/value-unwind.h: New.
10612
ed39fbad
RS
106132011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
10614
10615 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
10616 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
10617 Add to tmake_file rather than overriding it.
10618
aca0b0b3
RO
106192011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10620
10621 * config/t-softfp: Remove.
10622 * soft-fp: Moved from ../gcc/config.
10623 * soft-fp/README: Remove t-softfp reference.
10624 * soft-fp/t-softfp: Move to config/t-softfp.
10625 (softfp_machine_header): Remove.
10626 (softfp_file_list): Remove config subdir.
10627 (soft-fp-objects): New variable.
10628 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
10629 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
10630 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
10631 * config/t-softfp-excl: New file.
10632 * config/t-softfp-sfdf: New file.
10633 * config/t-softfp-tf: New file.
10634 * config/no-sfp-machine.h: New file.
10635 * config/arm/sfp-machine.h: New file.
10636 * config/arm/t-softfp: New file.
10637 * config/c6x/sfp-machine.h: New file.
10638 * config/i386/32/t-fprules-softfp: Rename to ...
10639 * config/i386/32/t-softfp: ... this.
10640 (tifunctions, LIB2ADD): Remove.
10641 (softfp_int_modes): Override.
10642 * config/i386/64/t-softfp-compat (tf-functions): Remove config
10643 subdir.
10644 * config/i386/64/eqtf2.c: Likewise.
10645 * config/i386/64/getf2.c: Likewise.
10646 * config/i386/64/letf2.c: Likewise.
10647 * config/ia64/sft-machine.h: New file.
10648 * config/ia64/t-fprules-softfp: Rename to ...
10649 * config/ia64/t-softfp: ... this.
10650 * config/lm32/sfp-machine.h: New file.
10651 * config/moxie/t-moxie-softfp: Remove.
10652 * config/rs6000/ibm-ldouble-format: New file.
10653 * config/rs6000/ibm-ldouble.c: New file.
10654 * config/rs6000/libgcc-ppc-glibc.ver: New file
10655 * config/rs6000/libgcc-ppc64.ver: New file
10656 * config/rs6000/sfp-machine.h: New file.
10657 * config/rs6000/t-freebsd: New file.
10658 * config/rs6000/t-ibm-ldouble: New file.
10659 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
10660 libgcc-ppc-glibc.ver.
10661 * config/rs6000/t-linux64: New file.
10662 * config/rs6000/t-ppccomm (LIB2ADD): Add
10663 $(srcdir)/config/rs6000/ibm-ldouble.c.
10664 * config/rs6000/t-ppccomm-ldbl: New file.
10665 * config/score/sfp-machine.h: New file.
10666 * config.host (sfp_machine_header): Explain.
10667 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
10668 t-softfp to tmake_file.
10669 (arm*-*-uclinux*): Likewise.
10670 (arm*-*-ecos-elf): Likewise.
10671 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10672 (arm*-*-rtems*): Likewise.
10673 (arm*-*-elf): Likewise.
10674 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
10675 in tmake_file.
10676 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
10677 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
10678 (lm32-*-uclinux*): Likewise.
10679 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
10680 t-softfp-excl, t-softfp.
10681 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
10682 (powerpc64-*-darwin*): Likewise.
10683 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
10684 to tmake_file.
10685 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
10686 tmake_file.
10687 (powerpc-*-eabisim*): Likewise.
10688 (powerpc-*-elf*): Likewise.
10689 (powerpc-*-eabialtivec*): Likewise.
10690 (powerpc-xilinx-eabi*): Likewise.
10691 (powerpc-*-rtems*): Likewise.
10692 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
10693 t-softfp-excl, t-softfp to tmake_file.
10694 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
10695 rs6000/t-ppccomm-ldbl to tmake_file.
10696 (powerpcle-*-elf*): Likewise.
10697 (powerpcle-*-eabisim*): Likewise.
10698 (powerpcle-*-eabi*): Likewise.
10699 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10700 rs6000/t-ibm-ldouble to tmake_file.
10701 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10702 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10703 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
10704 (tic6x-*-*): Likewise.
10705 (i[34567]86-*-darwin*, x86_64-*-darwin*,
10706 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
10707 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
10708 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
10709 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
10710 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
10711 t-softfp to tmake_file.
10712 * configure.ac (sfp_machine_header): Provide default if unset.
10713 Substitute.
10714 Link sfp-machine.h to config/$sfp_machine_header.
10715 * configure: Regenerate.
10716
569dc494
RO
107172011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10718
10719 * Makefile.in (double_type_size, long_double_type_size): Set.
10720 Remove $(fpbit-in-libgcc) support.
10721 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
10722 (fpbit-src): New variable.
10723 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
10724 Compile with -DFLOAT $(FPBIT_CFLAGS).
10725 Use $<.
10726 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
10727 Compile with $(FPBIT_CFLAGS).
10728 Use $<.
10729 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
10730 Compile with -DFLOAT $(TPBIT_CFLAGS).
10731 Use $<.
10732 * configure.ac (double_type_size, long_double_type_size):
10733 Determine and substitute.
10734 * configure: Regenerate.
10735 * fp-bit.c, fp-bit.h: New files.
10736 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
10737 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
10738 * config/mips/t-mips: New file.
10739 * config/mips/t-sdemtk: New file.
10740 * config/rs6000/ppc64-fp.c: New file.
10741 * config/rs6000/t-darwin (LIB2ADD): Add
10742 $(srcdir)/config/rs6000/ppc64-fp.c.
10743 * config/rs6000/t-ppc64-fp: New file.
10744 * config/rx/rx-lib.h: New file.
10745 * config/rx/t-rx (FPBIT): Set to true.
10746 ($(gcc_objdir)/fp-bit.c): Remove.
10747 (DPBIT): Set to true only with -m64bit-doubles.
10748 ($(gcc_objdir)/dp-bit.c): Remove.
10749 * config/sparc/t-softfp: Remove.
10750 * config/spu/t-elf: New file.
10751 * config/t-fdpbit, config/t-fpbit: New files.
10752 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
10753 (mips*-*-*): Likewise.
10754 (arm-wrs-vxworks): Likewise.
10755 (arm*-*-freebsd*): Likewise.
10756 (avr-*-rtems*): Add t-fpbit to tmake_file.
10757 (avr-*-*): Likewise.
10758 (bfin*-elf*): Add t-fdpbit to tmake_file.
10759 (bfin*-uclinux*): Likewise.
10760 (bfin*-linux-uclibc*): Likewise.
10761 (bfin*-rtems*): New case.
10762 Add t-fdpbit to tmake_file.
10763 (bfin*-*): Add t-fdpbit to tmake_file.
10764 (crisv32-*-elf): Likewise.
10765 (cris-*-linux*): Likewise.
10766 (fr30-*-elf): Likewise.
10767 (frv-*-elf, frv-*-*linux*): Likewise.
10768 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
10769 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
10770 (m32r-*-elf*): Likewise.
10771 (m32rle-*-elf*): Likewise.
10772 (m32r-*-linux*): Likewise.
10773 (m32rle-*-linux*): Likewise.
10774 (mcore-*-elf): Add t-fdpbit to tmake_file.
10775 (microblaze*-*-*): Likewise.
10776 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
10777 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
10778 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
10779 Fix typo.
10780 Add mips/t-tpbit to tmake-file.
10781 (mips*-*-linux*): Fix typo.
10782 (mips*-sde-elf*): New case
10783 Add mips/t-sdemtk unless using newlib.
10784 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
10785 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
10786 (mn10300-*-*): Likewise.
10787 (pdp11-*-*): Likewise.
10788 (picochip-*-*): Add t-fpbit to tmake_file.
10789 (powerpc-*-eabisimaltivec*): Likewise.
10790 (powerpc-*-eabisim*): Likewise.
10791 (powerpc-*-elf*): Likewise.
10792 (powerpc-*-eabialtivec*): Likewise.
10793 (powerpc-xilinx-eabi*): New case.
10794 Add t-fdpbit to tmake_file.
10795 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
10796 (powerpc-*-rtems*): Likewise.
10797 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
10798 tmake_file.
10799 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
10800 tmake_file.
10801 (powerpc-*-lynxos*): Likewise.
10802 (powerpcle-*-elf*): Likewise.
10803 (powerpcle-*-eabisim*): Likewise.
10804 (powerpcle-*-eabi*): Likewise.
10805 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
10806 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
10807 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10808 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10809 (rx-*-elf): Add t-fdpbit to tmake_file.
10810 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
10811 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
10812 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
10813 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
10814 sh*-*-netbsd*.
10815 (sh-*-rtems*): Add t-fdpbit to tmake_file.
10816 (sh-wrs-vxworks): Likewise.
10817 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
10818 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
10819 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
10820 (sparc64-*-rtems*): ... new case.
10821 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
10822 (spu-*-elf*): Likewise.
10823 Add spu/t-elf to tmake_file.
10824 (v850*-*-*): Add t-fdpbit to tmake_file.
10825 (xstormy16-*-elf): Likewise.
10826 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
10827 (mep*-*-*): Likewise.
10828
201cdb74
RO
108292011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10830
10831 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
10832 variables.
10833 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
10834 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
10835 (install-unwind_h): New target.
10836 (all): Depend on it.
10837 * config.host (unwind_header): New variable.
10838 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
10839 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10840 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
10841 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
10842 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
10843 Set unwind_header.
10844 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
10845 Set unwind_header.
10846 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
10847 arm*-*-eabi*.
10848 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
10849 Set unwind_header.
10850 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
10851 (ia64*-*-freebsd*): Likewise.
10852 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
10853 tmake_file.
10854 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
10855 $with_system_libunwind.
10856 (ia64*-*-hpux*): Set tmake_file.
10857 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
10858 (picochip-*-*): Set tmake_file.
10859 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
10860 md_unwind_header.
10861 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
10862 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
10863 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
10864 (xtensa*-*-elf*): Set tmake_file.
10865 (xtensa*-*-linux*): Likewise.
10866 * configure.ac: Include ../config/unwind_ipinfo.m4.
10867 Call GCC_CHECK_UNWIND_GETIPINFO.
10868 Link unwind.h to $unwind_header.
10869 * configure: Regenerate.
10870 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
10871 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
10872 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
10873 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
10874 * config/unwind-dw2-fde-darwin.c: New file.
10875 * config/arm/libunwind.S, config/arm/pr-support.c,
10876 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
10877 config/arm/unwind-arm.h,: New files.
10878 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
10879 config/ia64/t-eh-ia64, config/ia64/t-glibc,
10880 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
10881 config/ia64/t-vms, config/ia64/unwind-ia64.c,
10882 config/ia64/unwind-ia64.h: New files.
10883 * config/picochip/t-picochip: New file.
10884 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
10885 files.
10886 * config/rs6000/t-darwin (LIB2ADDEH): Set.
10887 * config/s390/t-tpf (LIB2ADDEH): Remove.
10888 * config/t-darwin (LIB2ADDEH): Set.
10889 * config/t-eh-dw2-dip: New file.
10890 * config/t-libunwind, config/t-libunwind-elf: New files.
10891 * config/t-sol2 (LIB2ADDEH): Remove.
10892 * config/xtensa/t-xtensa: New file.
10893
40f2f11f
L
108942011-08-02 H.J. Lu <hongjiu.lu@intel.com>
10895
10896 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
10897 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
10898 long long to check rt_sigreturn syscall.
10899
bd15e32c
AM
109002011-08-02 Alan Modra <amodra@gmail.com>
10901
10902 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10903 Restore for indirect call bcrtl from correct stack slot, and only
10904 if cfa+40 isn't valid.
10905
655b30bf
JB
109062011-08-01 Julian Brown <julian@codesourcery.com>
10907
10908 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10909 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10910 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10911
247eb06f
JB
109122011-08-01 Julian Brown <julian@codesourcery.com>
10913
10914 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10915 (libgcc-std.ver.in): Use above.
10916 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10917 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
10918 throughout file.
10919 * config/t-fixedpoint-gnu-prefix: New file.
10920 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10921 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10922 instead of __PFX__.
10923
02a8fe00
L
109242011-07-28 H.J. Lu <hongjiu.lu@intel.com>
10925
10926 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10927 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10928 for x86-64. Properly check __x86_64__ and __LP64__.
10929
5fce9126
L
109302010-07-28 H.J. Lu <hongjiu.lu@intel.com>
10931
10932 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10933 version.
10934 (_FP_WS_TYPE): Likewise.
10935 (_FP_I_TYPE): Likewise.
10936
2374a88a
AM
109372011-07-28 Alan Modra <amodra@gmail.com>
10938
10939 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10940 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10941 in a plt call stub. Do restore r2 if stopped on bctrl.
10942
e44dbbe1
RO
109432011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10944
10945 * config.host (i[3456x]86-*-netware*): Remove.
10946 * config/i386/netware-crt0.c, config/i386/t-nwld,
10947 config/i386/t-slibgcc-nwld: Remove.
10948
bcead286
BS
109492011-07-15 Bernd Schmidt <bernds@codesourcery.com>
10950
10951 * config.host: Handle tic6x-*-*.
10952 * config/c6x/c6x-abi.h: New file.
10953
b3fe1584
RO
109542011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10955
10956 * config/i386/crtprec.c: New file.
10957 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10958 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10959 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10960 (x86_64-*-darwin*): Likewise.
10961 (i[34567]86-*-solaris2*: Likewise.
10962
35d8090d
RO
109632011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10964
10965 * config/alpha/crtfastmath.c: New file.
10966 * config/i386/crtfastmath.c: New file.
10967 * config/ia64/crtfastmath.c: New file.
10968 * config/mips/crtfastmath.c: New file.
10969 * config/sparc/crtfastmath.c: New file.
10970
10971 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10972 crtfastmath.c.
10973 Add -frandom-seed=gcc-crtfastmath.
10974 * config/alpha/t-crtfm: Remove.
10975 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10976 * config/ia64/t-ia64 (crtfastmath.o): Remove.
10977
10978 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10979 (alpha*-dec-osf5.1*): Likewise.
10980 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10981 Add crtfastmath.o to extra_parts.
10982 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10983 Add crtfastmath.o to extra_parts.
10984 (x86_64-*-darwin*): Likewise.
10985 (x86_64-*-mingw*): Likewise.
10986 (ia64*-*-elf*): Add t-crtfm to tmake_file.
10987 (ia64*-*-freebsd*): Likewise.
10988 (ia64*-*-linux*): Likewise.
10989 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10990 Add crtfastmath.o to extra_parts.
10991
e141542e
RO
109922011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10993
10994 * config/darwin-crt3.o: New file.
10995 * config/rs6000/darwin-crt2.c: New file.
10996 * config/t-darwin: New file.
10997 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10998 (crt2.o): New rule.
10999 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11000 (powerpc-*-darwin*): Add crt2.o to extra_parts.
11001 (powerpc64-*-darwin*): Likewise.
11002
2d1efe2d
RO
110032011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11004
11005 * config/i386/netware-crt0.c: New file.
11006 * config/i386/t-nwld: Rename to ...
11007 * config/i386/t-slibgcc-nwld: ... this.
11008 * config/i386/t-nwld: New file.
11009 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11010 tmake_file.
11011 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11012 extra_parts.
11013
4a8bb046
RO
110142011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11015
11016 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11017 i386/t-crtstuff.
11018 * configure: Regenerate.
11019
2d8d5935
RO
110202011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11021
11022 * dfp-bit.c, dfp-bit.h: New files.
11023 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11024 variables.
11025 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11026 ($(d64pbit-o)): Likewise.
11027 ($(d128pbit-o)): Likewise.
11028 * config/t-dfprules: New file.
11029 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11030 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11031 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11032 (x86_64-*-linux*): Likewise.
11033 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11034 (i[34567]86-*-cygwin*): Likewise.
11035 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
11036 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11037
2c50b2c3
RO
110382011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11039
11040 * Makfile.in (LIBGCOV): New variable.
11041 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11042 * libgcov.c: New file.
11043
a039d7c2
RO
110442011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11045
11046 * fixed-bit.c, fixed-bit.h: New files.
11047 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11048 refer to fixed-bit.c.
11049
1e4b2746
JM
110502011-07-07 Joseph Myers <joseph@codesourcery.com>
11051
11052 * config.host (*local*): Remove.
11053
fbdd5d87
RO
110542011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11055
11056 PR target/39150
11057 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11058 like i?86-*-solaris2.1[0-9]*.
11059 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11060 * configure.ac (i?86-*-solaris2*): Likewise.
11061 * configure: Regenerate.
11062
9e7714f4
TS
110632011-07-06 Thomas Schwinge <thomas@schwinge.name>
11064
11065 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11066 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11067 md_unwind_header by splitting out of...
11068 (i[34567]86-*-linux*): ... this.
11069 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11070 Remove md_unwind_header by splitting out of...
11071 (x86_64-*-linux*): ... this.
11072
6dab9931
GJL
110732011-07-04 Georg-Johann Lay <avr@gjlay.de>
11074
11075 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11076
4be46d19
NC
110772011-06-28 Nick Clifton <nickc@redhat.com>
11078
11079 * config.host: Recognize all V850 variants.
11080
1da9434b
UB
110812011-06-22 Uros Bizjak <ubizjak@gmail.com>
11082
11083 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11084
e4d48a4d
RO
110852011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11086
11087 * shared-object.mk (c_flags-$o): Save c_flags.
11088 ($(base)$(objext)): Use it.
11089 ($(base)_s$(objext)): Likewise.
11090
3801c801
BS
110912011-06-21 Bernd Schmidt <bernds@codesourcery.com>
11092
11093 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11094 * libgcc-std.ver.in (GCC_4.7.0): New section.
11095
0ad8bb3b 110962011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 11097
0ad8bb3b
GJL
11098 PR target/49313
11099 PR target/29524
11100 * config/avr/t-avr: Fix line endings.
11101 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
11102 _parityXX2.
11103
ea963999
OH
111042011-06-14 Olivier Hainque <hainque@adacore.com>
11105 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11106
11107 * config/mips/irix6-unwind.h: New file.
11108 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11109
b11b0904
EB
111102011-06-10 Eric Botcazou <ebotcazou@adacore.com>
11111
11112 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11113 (sparc64_fallback_frame_state): Use it.
11114 (sparc64_frob_update_context): Further adjust context.
11115 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11116 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11117 * config/sparc/sol2-cn.S: Likewise.
11118
10e48e39
RO
111192011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11120
11121 * enable-execute-stack-empty.c: New file.
11122 * enable-execute-stack-mprotect.c: New file.
11123 * config/i386/enable-execute-stack-mingw32.c: New file.
11124 * config.host (enable_execute_stack): New variable.
11125 Select appropriate variants.
11126 * configure.ac: Link enable-execute-stack.c to
11127 $enable_execute_stack.
11128 * configure: Regenerate.
11129 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11130 (lib2funcs): Remove _enable_execute_stack.
11131
10c4cabc
DM
111322011-06-09 David S. Miller <davem@davemloft.net>
11133 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11134
11135 * config.host (sparc-*-linux*): Correct md_unwind_header
11136 filename.
11137 (s390x-ibm-tpf*): Fix typo.
11138
aa4203e7
RO
111392011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11140
11141 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
11142 Add crtfastmath.o to extra_parts.
11143 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
11144 mips/t-crtfm.
11145 * config/mips/t-crtfm: Remove.
11146
0defd786
JDA
111472011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11148
11149 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
11150
82f247af
KK
111512011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
11152
11153 * config.host (sh*-*-linux*): Fix typo.
11154
58cd1d70
RO
111552011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11156
11157 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
11158 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
11159 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
11160 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
11161 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
11162 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
11163 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
11164 Wrap in !__MINGW64__.
11165 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
11166 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
11167 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
11168 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
11169 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
11170 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
11171 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
11172 Wrap in !__LP64__.
11173 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
11174 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
11175 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
11176 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
11177 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
11178 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
11179 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
11180 * config/no-unwind.h: New file.
11181 * config.host (md_unwind_header): Document.
11182 Define.
11183 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
11184 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
11185 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
11186 hppa[12]*-*-hpux11*): Set md_unwind_header.
11187 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
11188 Set md_unwind_header.
11189 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
11190 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
11191 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
11192 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
11193 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
11194 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
11195 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
11196 md_unwind_header.
11197 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
11198 * configure: Regenerate.
11199
737346fa
RO
112002011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11201
11202 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
11203 Set tmake_file, extra_parts.
11204 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
11205 Remove O32 support.
11206 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
11207 Remove O32 support.
11208 * config/mips/t-irix6: New file.
11209 * config/mips/t-slibgcc-irix: New file.
11210
c192cee6
RO
112112011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11212
11213 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
11214 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
11215
ee33b5f0
RO
112162011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11217
11218 * configure.ac (target_thread_file): Determine thread model.
11219 * configure: Regenerate.
11220 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
11221 * config/alpha/t-alpha: New file.
11222 * config/alpha/t-crtfm: Use $<.
11223 * config/alpha/t-ieee: New file.
11224 * config/alpha/t-osf-pthread: New file.
11225 * config/alpha/t-slibgcc-osf: New file.
11226 * config/alpha/libgcc-osf5.ver: New file.
11227
0699e415
RO
112282011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11229
11230 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
11231 tmake_file.
11232 Add crtfastmath.o to extra_parts.
11233
a3fab9c2
RO
112342011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11235
11236 * config/gmon-sol2.c: Reindent.
11237 Cleanup comments.
11238 Remove, correct casts.
11239 Use STDERR_FILENO, NULL.
11240 (BASEADDRESS): Remove.
11241 (minbrk): Remove.
11242 (errno, sbrk): Remove declarations.
11243 (monstartup) [hp300]: Remove.
11244 (mcount): Remove.
11245
ca24c5ad
RO
112462011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11247
11248 * Makefile.in (cpu_type): Define.
11249 * config.host (i[34567]86-*-rtems*): Handle it.
11250 (i[34567]86-*-solaris2*): Move body ...
11251 (*-*-solaris2*): ... here.
11252 New case, generalize.
11253 (sparc-*-elf*): Handle it.
11254 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
11255 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
11256 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
11257 Fold into ...
11258 (sparc*-*-solaris2*): ... this.
11259 New case.
11260 (sparc64-*-elf*): Handle it.
11261 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
11262 Merge ../gcc/config/i386/gmon-sol2.c.
11263 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
11264 Use C comments.
11265 Merge ../gcc/config/i386/sol2-gc1.asm.
11266 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
11267 Use C comments.
11268 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
11269 Use C comments.
11270 * config/i386/t-crtfm (crtfastmath.o): Use $<.
11271 * config/i386/t-crtstuff: New file.
11272 * config/i386/t-softfp: New file.
11273 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
11274 $(T)crti.o, $(T)crtn.o): Remove.
11275 (gcrt1.o): New rule.
11276 (TARGET_LIBGCC2_CFLAGS): Remove.
11277 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
11278 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
11279 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
11280 * config/sparc/t-sol2: New file.
11281 * config/sparc/t-crtfm: Move to ...
11282 * config/t-crtfm: ... this.
11283 Use $(cpu_type), $<.
11284 * config/t-crtin: New file.
11285 * config/sparc/t-softfp: New file.
11286 * config/sparc/t-softmul: New file.
11287 * config/t-rtems: New file.
11288 * config/t-slibgcc: New file.
11289 * config/t-slibgcc-elf-ver: New file.
11290 * config/t-slibgcc-gld: New file.
11291 * config/t-slibgcc-sld: New file.
11292 * config/t-sol2: New file.
11293 * configure.ac: Include ../config/lib-ld.m4.
11294 Call AC_LIB_PROG_LD_GNU.
11295 Substitute cpu_type.
11296 * configure: Regenerate.
11297
ad5f3d7b
BS
112982011-05-27 Bernd Schmidt <bernds@codesourcery.com>
11299
11300 PR bootstrap/49173
11301 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
11302 libgcc-std.ver in the build directory.
11303 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
11304 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
11305
cdbf4541
BS
113062011-05-25 Bernd Schmidt <bernds@codesourcery.com>
11307
11308 * libgcc-std.ver.in: New file.
11309 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
11310 variables.
11311 (libgcc-std.ver): New rule.
11312 * config/t-gnu-prefix: New file.
11313
c8028650
RO
113142011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11315
11316 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
11317
4a68b4ca
JM
113182011-05-10 Joseph Myers <joseph@codesourcery.com>
11319
11320 * config/i386/darwin-lib.h: New file.
11321
80cf2e08
JM
113222011-05-10 Joseph Myers <joseph@codesourcery.com>
11323
11324 * config/arm/symbian-lib.h: New.
11325
a3330c9d
CD
113262011-05-04 Chris Demetriou <cgd@google.com>
11327
11328 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
11329 (__x86.get_pc_thunk.bx): ...this.
11330 (__morestack): Adjust for rename, remove undef of __i686.
11331
6ace0756
CD
113322011-05-03 Chris Demetriou <cgd@google.com>
11333
11334 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
11335
ebb9f8b0
JM
113362011-03-22 Joseph Myers <joseph@codesourcery.com>
11337
11338 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
11339 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
11340 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
11341 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
11342 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
11343 Remove cases.
11344
9cfa1499
AT
113452011-03-14 Andreas Tobler <andreast@fgznet.ch>
11346
11347 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
11348 Adjust copyright year.
11349
457186f6
ILT
113502011-03-07 Ian Lance Taylor <iant@google.com>
11351
11352 * generic-morestack.c (__splitstack_find): Adjust returned stack
11353 pointer to include all registers pushed by __morestack.
11354
58c741a6
DK
113552011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
11356
11357 PR target/40125
11358 * configure.ac: Call ACX_NONCANONICAL_TARGET.
11359 (toolexecdir): Calculate and AC_SUBST.
11360 (toolexeclibdir): Likewise.
11361 * Makefile.in (target_noncanonical): Import.
11362 (toolexecdir): Likewise.
11363 (toolexeclibdir): Likewise.
11364 * configure: Regenerate.
11365
26716c44
NF
113662010-12-13 Nathan Froyd <froydnj@codesourcery.com>
11367
11368 PR target/46040
11369 * config/arm/bpabi.h: Rename to...
11370 * config/arm/bpabi-lib.h: ...this.
11371
b595b1a1
RO
113722010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11373
11374 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
11375 appropriate.
11376 * configure: Regenerate.
11377
a3abe41c
NF
113782010-11-24 Nathan Froyd <froydnj@codesourcery.com>
11379
11380 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
11381 __FLOAT_WORD_ORDER__.
11382 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
11383 Delete.
11384
455c8f48
RW
113852010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11386
11387 PR other/46202
11388 * Makefile.in (install-strip): New phony target.
11389
f3824a8b
ILT
113902010-11-07 Ian Lance Taylor <iant@google.com>
11391
11392 PR target/46089
11393 * config/i386/morestack.S (__morestack_large_model): New
11394 function.
11395
18ed6ee4
NF
113962010-10-23 Nathan Froyd <froydnj@codesourcery.com>
11397
11398 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
11399 Delete.
11400 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
11401
8ac7fdcb
NF
114022010-10-14 Nathan Froyd <froydnj@codesourcery.com>
11403
11404 * config/arm/bpabi.h: New file.
11405 * config/frv/frv-abi.h: New file.
11406
cdb388c2
ILT
114072010-10-01 Ian Lance Taylor <iant@google.com>
11408
11409 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
11410 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
11411
ef7c141c
L
114122010-10-01 H.J. Lu <hongjiu.lu@intel.com>
11413
11414 PR target/45858
11415 * config.host: Add the missing `$'.
11416
80920132
ME
114172010-09-30 Michael Eager <eager@eagercon.com>
11418
11419 * config.host: Add microblaze*-*-*.
11420 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
11421 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
11422 udivsi3.asm,umodsi3.asm}: New.
11423
6dace308
ILT
114242010-09-28 Ian Lance Taylor <iant@google.com>
11425
11426 * configure.ac: Adjust CFI test to test assembler directly rather
11427 than checking gcc preprocessor macro.
11428 * configure: Rebuild.
11429
b6110d6d
ILT
114302010-09-27 Ian Lance Taylor <iant@google.com>
11431
11432 * configure.ac: Test whether assembler supports CFI directives.
11433 * config.host: Only add t-stack and i386/t-stack-i386 to
11434 tmake_file if libgcc_cv_cfi is "yes".
11435 * configure: Rebuild.
11436
7458026b
ILT
114372010-09-27 Ian Lance Taylor <iant@google.com>
11438
11439 * generic-morestack.h: New file.
11440 * generic-morestack.c: New file.
11441 * generic-morestack-thread.c: New file.
11442 * config/i386/morestack.S: New file.
11443 * config/t-stack: New file.
11444 * config/i386/t-stack-i386: New file.
11445 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
11446 i386/t-stack-i386 to tmake_file.
11447
5b50fc0c
IS
114482010-09-21 Iain Sandoe <iains@gcc.gnu.org>
11449
11450 * Makefile.in (libgcc-extra-parts): Check for static archives and
11451 invoke ranlib after installing them.
11452 (gcc-extra-parts): Likewise.
11453 (install-leaf): Likewise.
11454
b93cf342
L
114552010-09-14 H.J. Lu <hongjiu.lu@intel.com>
11456
11457 * configure: Regenerated.
11458
996b42ef
KT
114592010-09-10 Kai Tietz <kai.tietz@onevision.com>
11460
b93cf342 11461 * configure: Regenerated.
996b42ef 11462
be1c764e
GP
114632010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
11464 Andrew Pinski <pinskia@gmail.com>
11465
1da9434b 11466 PR target/40959
be1c764e
GP
11467 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
11468
cc0ae0ca
L
114692010-09-06 H.J. Lu <hongjiu.lu@intel.com>
11470
11471 PR target/45524
11472 * configure: Regenerated.
11473
84f47d20
AS
114742010-09-06 Andreas Schwab <schwab@redhat.com>
11475
11476 * configure: Regenerate.
11477
4159fb8d
UB
114782010-09-03 Uros Bizjak <ubizjak@gmail.com>
11479
11480 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
11481 64bit targets.
11482 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
11483 for 64bit targets.
11484
0df8fcc8
UB
114852010-09-03 Uros Bizjak <ubizjak@gmail.com>
11486 Iain Sandoe <iains@gcc.gnu.org>
11487
11488 PR target/45476
11489 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
11490 LIB2FUNCS_EXCLUDE functions.
11491
3c39bca6
AK
114922010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11493
11494 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
11495 Include dfp.m4.
11496 * configure: Regenerate.
11497
d78552bd
UB
114982010-09-01 Uros Bizjak <ubizjak@gmail.com>
11499
11500 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
11501 i386/t-freebsd to tmake_file.
11502 * config/i386/t-freebsd: New file.
11503 * config/i386/libgcc-bsd.ver: New file.
11504
c5b79d4e
NF
115052010-07-23 Nathan Froyd <froydnj@codesourcery.com>
11506
11507 * config.host (powerpc*-eabispe*): Set tmake_file.
11508 (powerpc*-eabi*): Likewise.
11509 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
11510 crtbeginS, crtendS, crtbeginT.
11511
48b09a92
KH
115122010-06-12 Kazu Hirata <kazu@codesourcery.com>
11513
11514 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
11515 to tmake_file. Add crtfastmath.o to extra_parts.
11516 * config/mips/t-crtfm: New.
11517
7d296953 115182010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
11519
11520 * config.host (sparc64-*-rtems*): New target.
11521
ed104137
RO
115222010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11523
11524 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11525 assembler syntax.
11526
3f56ef8b
TS
115272010-04-15 Thomas Schwinge <tschwinge@gnu.org>
11528
11529 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
11530
8c200350
RO
115312010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11532
11533 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
11534 alpha-dec-osf5.0* support.
11535
7d296953 115362010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
11537
11538 * config.host: Add lm32-*-rtems*.
11539
f128db92 115402010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 11541 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
11542
11543 PR target/39048
11544 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
11545 like other remaining 32-bit x86 OSes.
11546 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
11547 assembler syntax.
11548 * config/i386/libgcc-sol2.ver: New file.
11549 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
11550
7d296953 115512010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
11552
11553 PR c/43553
11554 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
11555 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
11556 is used and substitute set_use_emutls.
11557 * configure: Regenerated.
11558
15baf7f8
TG
115592010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
11560
11561 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
11562
7f5441df
RO
115632010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11564
11565 PR target/38085
11566 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
11567 MULTILIB_CFLAGS.
11568 ($(T)gcrt1.o): Likewise.
11569 ($(T)crt1.o): Likewise.
11570 ($(T)crti.o): Likewise.
11571 ($(T)crtn.o): Likewise.
11572
ef74edbd
RW
115732010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11574
11575 PR other/42980
11576 * Makefile.in (install): Use $(MAKE) string in rule, for
11577 parallel make.
11578
e7c914db
HPN
115792010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
11580
11581 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
11582 * config/mmix/t-mmix: New file.
11583 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
11584
1bcb71c4
JH
115852010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
11586
11587 PR java/41991
11588 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
11589 SHLIB_MAPFILES.
11590
e6e50811
AG
115912010-01-04 Anthony Green <green@moxielogic.com>
11592
11593 * config/moxie/crti.asm, config/moxie/crtn.asm,
11594 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
11595 config/moxie/t-moxie: New files.
11596 * config.host: Add t-moxie-softfp reference.
11597
7d296953 115982009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
11599
11600 PR other/39888
11601 * config/t-slibgcc-darwin: Fix embedded rpaths for
11602 --enable-version-specific-runtime-libs, build extension stub
11603 libs exposing features available from current libgcc_s.
11604
7d296953 116052009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 11606
d78552bd
UB
11607 * config.host: Add lm32 targets.
11608 * config/lm32: New directory.
11609 * config/lm32/libgcc_lm32.h: New file.
11610 * config/lm32/_mulsi3.c: New file.
11611 * config/lm32/_udivmodsi4.c: New file.
11612 * config/lm32/_divsi3.c: New file.
11613 * config/lm32/_modsi3.c: New file.
11614 * config/lm32/_udivsi3.c: New file.
11615 * config/lm32/_umodsi3.c: New file.
11616 * config/lm32/_lshrsi3.S: New file.
11617 * config/lm32/_ashrsi3.S: New file.
11618 * config/lm32/_ashlsi3.S: New file.
11619 * config/lm32/crti.S: New file.
11620 * config/lm32/crtn.S: New file.
11621 * config/lm32/t-lm32: New file.
11622 * config/lm32/t-elf: New file.
11623 * config/lm32/t-uclinux: New file.
aa4945c1 11624
65a324b4
NC
116252009-10-26 Nick Clifton <nickc@redhat.com>
11626
11627 * config.host: Add support for RX target.
11628 * config/rx: New directory.
11629 * config/rx/rx-abi-functions.c: New file. Supplementary
11630 functions for libgcc to support the RX ABI.
11631 * config/rx/rx-abi.h: New file. Supplementary header file for
11632 libgcc RX ABI functions.
11633 * config/rx/t-rx: New file: Makefile fragment for building
11634 libgcc for the RX.
11635
dfb3b0e3
UB
116362009-10-09 Uros Bizjak <ubizjak@gmail.com>
11637
11638 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
11639 constraint of y0 to "g".
11640
81dd9fd7
AK
116412009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11642
11643 * config.host: Include the s390 makefile fragments.
11644 * config/s390/32/_fixdfdi.c: New file.
11645 * config/s390/32/_fixsfdi.c: New file.
11646 * config/s390/32/_fixtfdi.c: New file.
11647 * config/s390/32/_fixunsdfdi.c: New file.
11648 * config/s390/32/_fixunssfdi.c: New file.
11649 * config/s390/32/_fixunstfdi.c: New file.
11650 * config/s390/32/t-floattodi: New file.
11651 * config/s390/libgcc-glibc.ver: New file.
11652 * config/s390/t-crtstuff: New file.
11653 * config/s390/t-linux: New file.
11654 * config/s390/t-tpf: New file.
11655
df58e648
RW
116562009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11657
11658 * configure.ac (AC_PREREQ): Bump to 2.64.
11659
79052be3
KK
116602009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
11661
11662 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
11663
5213506e
RW
116642009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11665
11666 * configure: Regenerate.
11667
a9a25daa
DR
116682009-08-09 Douglas B Rupp <rupp@gnat.com>
11669
11670 * config.host (ia64-hp-*vms*): New target.
11671 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
11672 with ia64-hp-*vms*.
11673
6efbd53f
RW
116742009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11675
11676 * configure.ac: Add snippet for maintainer-mode.
11677 * configure: Regenerate.
11678 * Makefile.in (AUTOCONF, configure_deps): New variables.
11679 ($(srcdir)/configure)): New rule, active only with maintainer
11680 mode turned on.
11681
7acf4da6
DD
116822009-06-23 DJ Delorie <dj@redhat.com>
11683
11684 Add MeP port.
11685 * config.host: Add mep support.
11686
54f549af
KT
116872009-06-22 Kai Tietz <kai.tietz@onevision.com>
11688
34481f28 11689 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 11690 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
11691
11692 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
11693 for mingw targets.
54f549af
KT
11694 * config/i386/64/_multc3.c: Likewise.
11695 * config/i386/64/_powitf2.c: Likewise.
11696 * config/i386/64/eqtf2.c: Likewise.
11697 * config/i386/64/getf2.c: Likewise.
11698 * config/i386/64/letf2.c: Likewise.
11699 * config/i386/64/letf2.c: Likewise.
34481f28
UB
11700 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
11701 unsigned long long for x64 mingw targets.
11702 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
11703 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 11704
fea96e25
MR
117052009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
11706
11707 * config.host (vax-*-linux*): New.
11708
cceb575c
AG
117092009-05-31 Anthony Green <green@moxielogic.com>
11710
11711 * config.host: Add moxie support.
11712 * config/moxie/t-moxie: New file.
11713
7d296953 117142009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
11715
11716 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 11717 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 11718
532bfb0a
AJ
117192009-04-17 Aurelien Jarno <aurelien@aurel32.net>
11720
11721 * config.host: Add i386/${host_address}/t-fprules-softfp to
11722 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
11723
748086b7
JJ
117242009-04-09 Nick Clifton <nickc@redhat.com>
11725
11726 * config/ia64/tf-signs.c: Change copyright header to refer to
11727 version 3 of the GNU General Public License with version 3.1
11728 of the GCC Runtime Library Exception and to point readers at
11729 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
11730 web page.
11731 * config/i386/32/tf-signs.c: Likewise.
11732 * config/libbid/_addsub_dd.c: Likewise.
11733 * config/libbid/_addsub_sd.c: Likewise.
11734 * config/libbid/_addsub_td.c: Likewise.
11735 * config/libbid/_dd_to_df.c: Likewise.
11736 * config/libbid/_dd_to_di.c: Likewise.
11737 * config/libbid/_dd_to_sd.c: Likewise.
11738 * config/libbid/_dd_to_sf.c: Likewise.
11739 * config/libbid/_dd_to_si.c: Likewise.
11740 * config/libbid/_dd_to_td.c: Likewise.
11741 * config/libbid/_dd_to_tf.c: Likewise.
11742 * config/libbid/_dd_to_udi.c: Likewise.
11743 * config/libbid/_dd_to_usi.c: Likewise.
11744 * config/libbid/_dd_to_xf.c: Likewise.
11745 * config/libbid/_df_to_dd.c: Likewise.
11746 * config/libbid/_df_to_sd.c: Likewise.
11747 * config/libbid/_df_to_td.c: Likewise.
11748 * config/libbid/_di_to_dd.c: Likewise.
11749 * config/libbid/_di_to_sd.c: Likewise.
11750 * config/libbid/_di_to_td.c: Likewise.
11751 * config/libbid/_div_dd.c: Likewise.
11752 * config/libbid/_div_sd.c: Likewise.
11753 * config/libbid/_div_td.c: Likewise.
11754 * config/libbid/_eq_dd.c: Likewise.
11755 * config/libbid/_eq_sd.c: Likewise.
11756 * config/libbid/_eq_td.c: Likewise.
11757 * config/libbid/_ge_dd.c: Likewise.
11758 * config/libbid/_ge_sd.c: Likewise.
11759 * config/libbid/_ge_td.c: Likewise.
11760 * config/libbid/_gt_dd.c: Likewise.
11761 * config/libbid/_gt_sd.c: Likewise.
11762 * config/libbid/_gt_td.c: Likewise.
11763 * config/libbid/_isinfd128.c: Likewise.
11764 * config/libbid/_isinfd32.c: Likewise.
11765 * config/libbid/_isinfd64.c: Likewise.
11766 * config/libbid/_le_dd.c: Likewise.
11767 * config/libbid/_le_sd.c: Likewise.
11768 * config/libbid/_le_td.c: Likewise.
11769 * config/libbid/_lt_dd.c: Likewise.
11770 * config/libbid/_lt_sd.c: Likewise.
11771 * config/libbid/_lt_td.c: Likewise.
11772 * config/libbid/_mul_dd.c: Likewise.
11773 * config/libbid/_mul_sd.c: Likewise.
11774 * config/libbid/_mul_td.c: Likewise.
11775 * config/libbid/_ne_dd.c: Likewise.
11776 * config/libbid/_ne_sd.c: Likewise.
11777 * config/libbid/_ne_td.c: Likewise.
11778 * config/libbid/_sd_to_dd.c: Likewise.
11779 * config/libbid/_sd_to_df.c: Likewise.
11780 * config/libbid/_sd_to_di.c: Likewise.
11781 * config/libbid/_sd_to_sf.c: Likewise.
11782 * config/libbid/_sd_to_si.c: Likewise.
11783 * config/libbid/_sd_to_td.c: Likewise.
11784 * config/libbid/_sd_to_tf.c: Likewise.
11785 * config/libbid/_sd_to_udi.c: Likewise.
11786 * config/libbid/_sd_to_usi.c: Likewise.
11787 * config/libbid/_sd_to_xf.c: Likewise.
11788 * config/libbid/_sf_to_dd.c: Likewise.
11789 * config/libbid/_sf_to_sd.c: Likewise.
11790 * config/libbid/_sf_to_td.c: Likewise.
11791 * config/libbid/_si_to_dd.c: Likewise.
11792 * config/libbid/_si_to_sd.c: Likewise.
11793 * config/libbid/_si_to_td.c: Likewise.
11794 * config/libbid/_td_to_dd.c: Likewise.
11795 * config/libbid/_td_to_df.c: Likewise.
11796 * config/libbid/_td_to_di.c: Likewise.
11797 * config/libbid/_td_to_sd.c: Likewise.
11798 * config/libbid/_td_to_sf.c: Likewise.
11799 * config/libbid/_td_to_si.c: Likewise.
11800 * config/libbid/_td_to_tf.c: Likewise.
11801 * config/libbid/_td_to_udi.c: Likewise.
11802 * config/libbid/_td_to_usi.c: Likewise.
11803 * config/libbid/_td_to_xf.c: Likewise.
11804 * config/libbid/_tf_to_dd.c: Likewise.
11805 * config/libbid/_tf_to_sd.c: Likewise.
11806 * config/libbid/_tf_to_td.c: Likewise.
11807 * config/libbid/_udi_to_dd.c: Likewise.
11808 * config/libbid/_udi_to_sd.c: Likewise.
11809 * config/libbid/_udi_to_td.c: Likewise.
11810 * config/libbid/_unord_dd.c: Likewise.
11811 * config/libbid/_unord_sd.c: Likewise.
11812 * config/libbid/_unord_td.c: Likewise.
11813 * config/libbid/_usi_to_dd.c: Likewise.
11814 * config/libbid/_usi_to_sd.c: Likewise.
11815 * config/libbid/_usi_to_td.c: Likewise.
11816 * config/libbid/_xf_to_dd.c: Likewise.
11817 * config/libbid/_xf_to_sd.c: Likewise.
11818 * config/libbid/_xf_to_td.c: Likewise.
11819 * config/libbid/bid128.c: Likewise.
11820 * config/libbid/bid128_2_str.h: Likewise.
11821 * config/libbid/bid128_2_str_macros.h: Likewise.
11822 * config/libbid/bid128_2_str_tables.c: Likewise.
11823 * config/libbid/bid128_add.c: Likewise.
11824 * config/libbid/bid128_compare.c: Likewise.
11825 * config/libbid/bid128_div.c: Likewise.
11826 * config/libbid/bid128_fma.c: Likewise.
11827 * config/libbid/bid128_logb.c: Likewise.
11828 * config/libbid/bid128_minmax.c: Likewise.
11829 * config/libbid/bid128_mul.c: Likewise.
11830 * config/libbid/bid128_next.c: Likewise.
11831 * config/libbid/bid128_noncomp.c: Likewise.
11832 * config/libbid/bid128_quantize.c: Likewise.
11833 * config/libbid/bid128_rem.c: Likewise.
11834 * config/libbid/bid128_round_integral.c: Likewise.
11835 * config/libbid/bid128_scalb.c: Likewise.
11836 * config/libbid/bid128_sqrt.c: Likewise.
11837 * config/libbid/bid128_string.c: Likewise.
11838 * config/libbid/bid128_to_int16.c: Likewise.
11839 * config/libbid/bid128_to_int32.c: Likewise.
11840 * config/libbid/bid128_to_int64.c: Likewise.
11841 * config/libbid/bid128_to_int8.c: Likewise.
11842 * config/libbid/bid128_to_uint16.c: Likewise.
11843 * config/libbid/bid128_to_uint32.c: Likewise.
11844 * config/libbid/bid128_to_uint64.c: Likewise.
11845 * config/libbid/bid128_to_uint8.c: Likewise.
11846 * config/libbid/bid32_to_bid128.c: Likewise.
11847 * config/libbid/bid32_to_bid64.c: Likewise.
11848 * config/libbid/bid64_add.c: Likewise.
11849 * config/libbid/bid64_compare.c: Likewise.
11850 * config/libbid/bid64_div.c: Likewise.
11851 * config/libbid/bid64_fma.c: Likewise.
11852 * config/libbid/bid64_logb.c: Likewise.
11853 * config/libbid/bid64_minmax.c: Likewise.
11854 * config/libbid/bid64_mul.c: Likewise.
11855 * config/libbid/bid64_next.c: Likewise.
11856 * config/libbid/bid64_noncomp.c: Likewise.
11857 * config/libbid/bid64_quantize.c: Likewise.
11858 * config/libbid/bid64_rem.c: Likewise.
11859 * config/libbid/bid64_round_integral.c: Likewise.
11860 * config/libbid/bid64_scalb.c: Likewise.
11861 * config/libbid/bid64_sqrt.c: Likewise.
11862 * config/libbid/bid64_string.c: Likewise.
11863 * config/libbid/bid64_to_bid128.c: Likewise.
11864 * config/libbid/bid64_to_int16.c: Likewise.
11865 * config/libbid/bid64_to_int32.c: Likewise.
11866 * config/libbid/bid64_to_int64.c: Likewise.
11867 * config/libbid/bid64_to_int8.c: Likewise.
11868 * config/libbid/bid64_to_uint16.c: Likewise.
11869 * config/libbid/bid64_to_uint32.c: Likewise.
11870 * config/libbid/bid64_to_uint64.c: Likewise.
11871 * config/libbid/bid64_to_uint8.c: Likewise.
11872 * config/libbid/bid_b2d.h: Likewise.
11873 * config/libbid/bid_binarydecimal.c: Likewise.
11874 * config/libbid/bid_conf.h: Likewise.
11875 * config/libbid/bid_convert_data.c: Likewise.
11876 * config/libbid/bid_decimal_data.c: Likewise.
11877 * config/libbid/bid_decimal_globals.c: Likewise.
11878 * config/libbid/bid_div_macros.h: Likewise.
11879 * config/libbid/bid_dpd.c: Likewise.
11880 * config/libbid/bid_flag_operations.c: Likewise.
11881 * config/libbid/bid_from_int.c: Likewise.
11882 * config/libbid/bid_functions.h: Likewise.
11883 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11884 * config/libbid/bid_inline_add.h: Likewise.
11885 * config/libbid/bid_internal.h: Likewise.
11886 * config/libbid/bid_round.c: Likewise.
11887 * config/libbid/bid_sqrt_macros.h: Likewise.
11888
118892009-04-09 Jakub Jelinek <jakub@redhat.com>
11890
11891 * Makefile.in: Change copyright header to refer to version
11892 3 of the GNU General Public License and to point readers at the
11893 COPYING3 file and the FSF's license web page.
11894 * config.host: Likewise.
11895
633dd061
AM
118962009-04-07 Alan Modra <amodra@bigpond.net.au>
11897
11898 * config.host: Reorder and merge to match config.gcc change.
11899
457d1d00
AM
119002009-04-03 Alan Modra <amodra@bigpond.net.au>
11901
11902 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11903
52c0e446
JM
119042009-03-28 Joseph Myers <joseph@codesourcery.com>
11905
11906 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11907 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11908 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11909 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11910
ba181049
UB
119112009-02-12 Uros Bizjak <ubizjak@gmail.com>
11912
11913 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11914 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11915
c252db20
L
119162009-02-12 H.J. Lu <hongjiu.lu@intel.com>
11917
ba181049
UB
11918 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11919 ia64/t-softfp-compat to tmake_file.
c252db20
L
11920
11921 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11922
11923 * config/ia64/__divxf3.asm: New.
11924 * config/ia64/_fixtfdi.asm: Likewise.
11925 * config/ia64/_fixunstfdi.asm: Likewise.
11926 * config/ia64/_floatditf.asm: Likewise.
11927 * config/ia64/t-fprules-softfp: Likewise.
11928 * config/ia64/t-softfp-compat: Likewise.
11929 * config/ia64/tf-signs.c: Likewise.
11930
c60535f9
BE
119312009-01-18 Ben Elliston <bje@au.ibm.com>
11932
11933 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11934
ce16861e
BE
119352009-01-16 Ben Elliston <bje@au.ibm.com>
11936
11937 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11938 to tmake_file.
11939
bcf4713b
BE
119402009-01-13 Ben Elliston <bje@au.ibm.com>
11941
11942 * config/t-softfp: New file.
11943 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11944 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11945
7d296953 119462009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
11947
11948 * config.host: Add m32r*-*-rtems*.
11949
7d296953 119502008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
11951
11952 * config.host: Add m32c*-*-rtems*.
11953
19523300
RO
119542008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11955
11956 PR bootstrap/33100
11957 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11958 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11959 * configure: Regenerate.
11960 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11961 tmake_file here from gcc/config.gcc.
11962 Move extra_parts here from gcc/config.gcc.
11963 * config/i386/t-sol2: Move here from gcc/config/i386.
11964 Use gcc_srcdir instead of srcdir.
11965
0a4a51c7
AN
119662008-11-18 Adam Nemet <anemet@caviumnetworks.com>
11967
11968 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11969 case.
11970
2a761e46
TS
119712008-11-09 Thomas Schwinge <tschwinge@gnu.org>
11972
11973 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11974
c0451df7
TS
119752008-10-08 Thomas Schwinge <tschwinge@gnu.org>
11976
11977 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11978
358da97e
HS
119792008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
11980
11981 Add picoChip port.
11982 * config.host: Add picochip-*-*.
11983
c660f132
BW
119842008-08-06 Bob Wilson <bob.wilson@acm.org>
11985
11986 * config.host: Match more processor names for Xtensa.
11987
d1349557
L
119882008-07-08 H.J. Lu <hongjiu.lu@intel.com>
11989
11990 * config/i386/64/t-softfp-compat: Update comments.
11991
dd7b73c0
L
119922008-07-07 H.J. Lu <hongjiu.lu@intel.com>
11993
11994 * config/i386/64/_divtc3-compat.c: Moved to ...
11995 * config/i386/64/_divtc3.c: Here.
11996
11997 * config/i386/64/_multc3-compat.c: Moved to ...
11998 * config/i386/64/_multc3.c: Here.
11999
12000 * config/i386/64/_powitf2-compat.c: Moved to ...
12001 * config/i386/64/_powitf2.c: Here.
12002
12003 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12004 .c suffix instead of -compat.c.
12005
6e1fab3d
UB
120062008-07-05 Uros Bizjak <ubizjak@gmail.com>
12007
12008 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12009 (_FP_MUL_MEAT_D): Ditto.
12010 (_FP_DIV_MEAT_S): Ditto.
12011 (_FP_DIV_MEAT_D): Ditto.
12012
f92518d7
RS
120132008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
12014
12015 * Makefile.in: Add support for __sync_* libgcc functions.
12016
d0aede14
L
120172008-07-03 H.J. Lu <hongjiu.lu@intel.com>
12018
12019 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12020
c174f11c
L
120212008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12022
12023 PR boostrap/36702
12024 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12025 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
12026
12027 * config/i386/64/t-fprules-softfp: Moved to ...
12028 * config/i386/64/t-softfp-compat: This. New.
12029
5f464fa2
UB
120302008-07-02 Uros Bizjak <ubizjak@gmail.com>
12031
12032 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12033 Initialize f with 0.0.
12034
ff473280
L
120352008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12036
12037 PR target/36669
12038 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12039
12040 * config/i386/64/_divtc3-compat.c: New.
12041 * config/i386/64/_multc3-compat.c: Likewise.
12042 * config/i386/64/_powitf2-compat.c: Likewise.
12043 * config/i386/64/eqtf2.c: Likewise.
12044 * config/i386/64/getf2.c: Likewise.
12045 * config/i386/64/letf2.c: Likewise.
12046 * config/i386/64/t-fprules-softfp: Likewise.
12047
120482008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12049
12050 * config.host: Add i386/${host_address}/t-fprules-softfp to
12051 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 12052 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
12053
12054 * configure.ac: Set host_address to 64 or 32 for x86.
12055 * configure: Regenerated.
12056
12057 * Makefile.in (config.status): Also depend on
12058 $(srcdir)/config.host.
12059
12060 * config/i386/32/t-fprules-softfp: New.
12061 * config/i386/32/tf-signs.c: Likewise.
12062
12063 * config/i386/64/sfp-machine.h: New. Moved from gcc.
12064
120652008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12066 Uros Bizjak <ubizjak@gmail.com>
12067
12068 * config/i386/32/sfp-machine.h: New.
12069
30551d99
NF
120702008-06-26 Nathan Froyd <froydnj@codesourcery.com>
12071
12072 * config/rs6000/t-ppccomm: Remove rules that conflict with
12073 auto-generated rules.
12074
18c04407
RW
120752008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12076
12077 * configure.ac: sinclude override.m4.
12078 * configure: Regenerate.
12079
10fbe77a
BRF
120802008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
12081
12082 * configure: Regenerate.
12083
bc6d4c3f
JM
120842008-06-10 Joseph Myers <joseph@codesourcery.com>
12085
12086 * Makefile.in (DECNUMINC): Remove
12087 -I$(MULTIBUILDTOP)../../libdecnumber.
12088 * gstdint.h: New.
12089
cd985f66
JM
120902008-06-07 Joseph Myers <joseph@codesourcery.com>
12091
12092 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12093 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12094 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12095 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12096 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12097 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12098 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12099 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12100 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12101 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12102 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12103 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12104 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12105 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12106
93fea8d3
AL
121072008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
12108
12109 * config.host (sh2[lbe]*-*-linux*): Allow target.
12110
18724e30
NF
121112008-04-30 Nathan Froyd <froydnj@codesourcery.com>
12112
12113 * config/rs6000/t-ppccomm: Add build rules for new files.
12114 (LIB2ADD_ST): New variable.
12115
47583040
AH
121162008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
12117
12118 PR target/34210
12119 PR target/35508
12120 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12121 * config/t-avr: New file. Build 16bit libgcc functions.
12122
cf8e67fe
JJ
121232008-03-02 Jakub Jelinek <jakub@redhat.com>
12124
12125 PR target/35401
12126 * config/t-slibgcc-darwin: Make install-leaf dependent on
12127 install-darwin-libgcc-stubs instead of install.
12128
8d8da227
JM
121292008-01-25 Joseph Myers <joseph@codesourcery.com>
12130
12131 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12132 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12133 sh-*-rtemscoff*): Remove cases.
12134
edbf8b16
RS
121352007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
12136
12137 * Makefile.in (all): Use install-leaf rather than install.
12138 (install): Split most of the rule into...
12139 (install-leaf): ...this new one.
12140
89deeaff
EK
121412007-12-19 Etsushi Kato <ek.kato@gmail.com>
12142 Paolo Bonzini <bonzini@gnu.org>
12143
12144 PR target/30572
5f464fa2
UB
12145 * Makefile.in: Use @shlib_slibdir@ substitution to get
12146 correct install name on darwin.
89deeaff 12147 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 12148
4081d704
HPN
121492007-12-15 Hans-Peter Nilsson <hp@axis.com>
12150
12151 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
12152 cris-*-elf and cris-*-none.
12153 (crisv32-*-linux*): Similar, as cris-*-linux*.
12154
f43e89a3
RIL
121552007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
12156
12157 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
12158
b4e9c2c6
L
121592007-10-27 H.J. Lu <hongjiu.lu@intel.com>
12160
12161 PR regression/33926
12162 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
12163 * configure: Regenerated.
12164
b2a00c89
L
121652007-09-27 H.J. Lu <hongjiu.lu@intel.com>
12166
12167 * Makefile.in (dfp-filenames): Replace decimal_globals,
12168 decimal_data, binarydecimal and convert_data with
12169 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
12170 and bid_convert_data, respectively.
12171
8d2a9e0e
CF
121722007-09-17 Chao-ying Fu <fu@mips.com>
12173 Nigel Stephens <nigel@mips.com>
12174
12175 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
12176 * Makefile.in (fixed_point): Define.
12177 Check if fixed_point is yes to build support functions.
12178 * configure.ac: Check for fixed_point support.
12179 * configure: Regenerated.
12180 * gen-fixed.sh: New file to generate lists of fixed-point labels,
12181 funcs, modes, from, to.
12182
2b53935d
JJ
121832007-09-11 Janis Johnson <janis187@us.ibm.com
12184
12185 * Makefile.in (dfp-filenames): Add bid128_noncomp.
12186
2533577f
JJ
121872007-09-10 Janis Johnson <janis187@us.ibm.com>
12188
12189 * Makefile.in (dfp-filenames): Remove decUtility, add
12190 decDouble, decPacked, decQuad, decSingle.
12191
3ae3dbd6
HK
121922007-08-27 Hans Kester <hans.kester@ellips.nl>
12193
12194 * config.host : Add x86_64-elf target.
12195
22867d02
L
121962007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12197
12198 * configure.ac (set_have_cc_tls): Add a missing =.
12199 * configure: Regenerated.
12200
6f461e76
L
122012007-07-06 H.J. Lu <hongjiu.lu@intel.com>
12202
12203 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
12204 and x86_64-*-linux*.
12205
12206 * config/t-tls: New file.
12207
dfb3b0e3 12208 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
12209
12210 * configure.ac: Include ../config/enable.m4 and
12211 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
12212 supports TLS and substitute set_have_cc_tls.
12213 * configure: Regenerated.
12214
200359e8
L
122152007-07-04 H.J. Lu <hongjiu.lu@intel.com>
12216
12217 * Makefile.in: Use libbid for DFP when BID is enabled.
12218
76f5e200
DS
122192007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
12220
12221 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 12222 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
12223 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
12224
9bd196f0 122252007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 12226 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
12227
12228 PR target/29498
12229 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
12230 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
12231 * config/i386/t-crtfm: Compile crtfastmath.o with
12232 -minline-all-stringops.
12233
1910440e
RS
122342007-05-10 Richard Sandiford <richard@codesourcery.com>
12235
12236 * config.host (sparc-wrs-vxworks): New target.
12237
7d33c31d
KH
122382007-04-14 Kazu Hirata <kazu@codesourcery.com>
12239
12240 * config.host: Recognize fido.
12241
96fccd0d
JJ
122422007-04-04 Janis Johnson <janis187@us.ibm.com>
12243
12244 * configure: Check host, not target, for decimal float support.
12245
577565f9
UB
122462007-04-03 Uros Bizjak <ubizjak@gmail.com>
12247
12248 * config/i386/t-crtpc: New file.
12249 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 12250 (x86_64-*-linux*): Ditto.
577565f9 12251
ccf8e764
RH
122522007-02-30 Kai Tietz <kai.tietz@onevision.com>
12253
12254 * config.host (x86_64-*-mingw*): New target.
12255
79b87c74
MM
122562007-03-23 Michael Meissner <michael.meissner@amd.com>
12257 H.J. Lu <hongjiu.lu@intel.com>
12258
12259 * Makefile.in (enable_decimal_float): New.
12260 (DECNUMINC): Add
12261 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
12262 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
12263 (decbits-filenames): This.
12264 (decbits-objects): New.
12265 (libgcc-objects): Add $(decbits-objects).
12266
12267 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
12268 Substitute enable_decimal_float.
12269 * configure: Regenerated.
12270
8fce4e31
HPN
122712007-03-19 Hans-Peter Nilsson <hp@axis.com>
12272
12273 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
12274
e8bb4597
BM
122752007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
12276
12277 * Makefile.in (install-info): New dummy target.
12278
344189f9
BS
122792007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
12280
12281 * config.host (bfin*-linux-uclibc*): Set extra_parts.
12282
ac84c172
BM
122832007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
12284
12285 * Makefile.in: Add install-html and install-pdf dummy
12286 targets.
12287
cd5c2357
RS
122882007-02-05 Roger Sayle <roger@eyesopen.com>
12289 Daniel Jacobowitz <dan@codesourcery.com>
12290
12291 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
12292 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
12293 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
12294
d9a66f98
JJ
122952007-01-29 Janis Johnson <janis187@us.ibm.com>
12296
12297 * Makefile.in (dec-filenames): Add decExcept.
12298
9891ec5f
DJ
122992007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
12300
12301 PR bootstrap/30469
12302 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
12303 -fprofile-use.
12304
d6efbf5a
DJ
123052007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
12306
12307 * configure.ac: Add --enable-version-specific-runtime-libs.
12308 Correct $slibdir default.
12309 * configure: Regenerated.
12310
17caeff2
JM
123112007-01-23 Joseph Myers <joseph@codesourcery.com>
12312
12313 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
12314
5ea41e3a
AP
123152007-01-21 Andrew Pinski <pinskia@gmail.com>
12316
12317 PR target/30519
12318 * config.host (alpha*-*-linux*): Set extra_parts.
12319
26900826
KK
123202007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
12321
12322 * config/sh/t-linux: New.
12323 * config.host (sh*-*-linux*): Set tmake_file.
12324
97af925b
DJ
123252007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
12326
12327 * Makefile.in (install): Handle multilibs.
12328
b0088af7
BM
123292007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12330
12331 * Makefile.in: Added .PHONY entry for documentation targets.
12332
e0a9456a
BM
123332007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
12334
12335 * Makefile.in: Add empty info, html, dvi, pdf targets.
12336
7fd453b4
MS
123372007-01-04 Mike Stump <mrs@apple.com>
12338
12339 * Makefile.in (MAKEINFO): Remove.
12340 (PERL): Likewise.
12341
14e8fc8b
PB
123422007-01-04 Paolo Bonzini <bonzini@gnu.org>
12343
12344 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
12345 * configure: Regenerate.
12346 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 12347 (gcc_objdir): Use it.
14e8fc8b 12348
1555beba
DJ
123492007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12350
12351 * config.host (ia64*-*-linux*): Set tmake_file.
12352
79e6eaeb
DJ
123532007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12354
12355 * Makefile.in (version): Define.
12356
fa958513
DJ
123572007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12358 Paolo Bonzini <bonzini@gnu.org>
12359
12360 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
12361 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
12362 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
12363 config/sparc/t-crtfm, config/t-slibgcc-darwin,
12364 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
12365 shared-object.mk, siditi-object.mk, static-object.mk: New files.
12366 * configure: Generated.
818ab71a 12367\f
877e3c2a 12368Copyright (C) 2007-2022 Free Software Foundation, Inc.
818ab71a
JJ
12369
12370Copying and distribution of this file, with or without modification,
12371are permitted in any medium without royalty provided the copyright
12372notice and this notice are preserved.