ChangeLog revision 1.1.1.27 1 2026-06-26 Release Manager
2
3 * GCC 14.4.0 released.
4
5 2025-08-15 Richard Sandiford <richard.sandiford (a] arm.com>
6
7 Backported from master:
8 2025-07-17 Richard Sandiford <richard.sandiford (a] arm.com>
9 Yury Khrustalev <yury.khrustalev (a] arm.com>
10
11 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
12 If a signal was raised while there was an uncommitted lazy save,
13 commit the save as part of the unwind process.
14
15 2025-05-23 Release Manager
16
17 * GCC 14.3.0 released.
18
19 2025-05-01 Mark Mentovai <mark (a] mentovai.com>
20
21 Backported from master:
22 2024-09-24 Mark Mentovai <mark (a] mentovai.com>
23
24 PR target/116809
25 * config.host: Build legacy libgcc_s.1 on hosts before macOS 10.12.
26 * config/i386/t-darwin: Remove reference to legacy libgcc_s.1
27 * config/rs6000/t-darwin: Likewise.
28 * config/t-darwin-libgccs1: New file.
29
30 2025-03-27 Jakub Jelinek <jakub (a] redhat.com>
31
32 Backported from master:
33 2025-03-10 Jakub Jelinek <jakub (a] redhat.com>
34 Michael Leuchtenburg <michael (a] slashhome.org>
35
36 PR libgcc/119151
37 * unwind-dw2-btree.h (btree_split_inner): Add size argument. If
38 left_fence is in the middle of [target,target + size - 1] range,
39 increase it to target + size - 1.
40 (btree_insert): Adjust btree_split_inner caller. If fence is smaller
41 than base + size - 1, increase it and separator of the slot to
42 base + size - 1.
43
44 2025-02-20 Lulu Cheng <chenglulu (a] loongson.cn>
45
46 Backported from master:
47 2025-02-17 Lulu Cheng <chenglulu (a] loongson.cn>
48
49 PR target/118844
50 * config/loongarch/t-crtstuff: Add '-mcmodel=extreme'
51 to CRTSTUFF_T_CFLAGS_S.
52
53 2025-02-09 Dimitry Andric <dimitry (a] andric.com>
54
55 PR target/118685
56 * config.host (*-*-freebsd*): Add crtbeginT.o to extra_parts.
57
58 2025-01-09 Jakub Jelinek <jakub (a] redhat.com>
59
60 Backported from master:
61 2024-11-30 Jakub Jelinek <jakub (a] redhat.com>
62
63 PR libgomp/117851
64 * configure.ac (extra_parts): Add crtoffloadtableS.o.
65 * Makefile.in (crtoffloadtableS$(objext)): New goal.
66 * configure: Regenerated.
67
68 2025-01-06 Stafford Horne <shorne (a] gmail.com>
69
70 * config/or1k/lib1funcs.S: Add .note.GNU-stack section on linux.
71
72 2024-09-23 Iain Sandoe <iain (a] sandoe.co.uk>
73
74 Backported from master:
75 2024-09-22 Iain Sandoe <iain (a] sandoe.co.uk>
76
77 * config.host: From macOS 11, limit earliest macOS support
78 to macOS 11.
79 * config/t-darwin-min-11: New file.
80
81 2024-08-27 YunQiang Su <syq (a] gcc.gnu.org>
82
83 Backported from master:
84 2024-08-27 YunQiang Su <syq (a] gcc.gnu.org>
85
86 * config/mips/lib1funcs.S: Includes mips16.S.
87
88 2024-08-01 Release Manager
89
90 * GCC 14.2.0 released.
91
92 2024-06-21 Wilco Dijkstra <wilco.dijkstra (a] arm.com>
93
94 Backported from master:
95 2024-06-05 Wilco Dijkstra <wilco.dijkstra (a] arm.com>
96
97 PR target/115342
98 * config/aarch64/cpuinfo.c (__init_cpu_features_constructor):
99 Use HWCAP where possible. Use atomic write for initialization.
100 Fix FEAT_PREDRES comparison.
101 (__init_cpu_features_resolver): Use atomic load for correct
102 initialization.
103 (__init_cpu_features): Likewise.
104
105 2024-06-12 Andre Vieira <andre.simoesdiasvieira (a] arm.com>
106
107 Backported from master:
108 2024-06-06 Andre Vieira <andre.simoesdiasvieira (a] arm.com>
109
110 PR target/115360
111 * config/arm/cmse_nonsecure_call.S: Add .type and .size directives.
112
113 2024-06-10 Jan Beulich <jbeulich (a] suse.com>
114
115 * config/aarch64/cpuinfo.c: Provide AT_HWCAP2.
116
117 2024-05-18 Wolfgang Hospital <Wolfgang.Hospital (a] arcor.de>
118
119 Backported from master:
120 2024-05-18 Wolfgang Hospital <Wolfgang.Hospital (a] arcor.de>
121
122 PR target/115065
123 * config/avr/lib1funcs.S (__clzhi2): Tweak.
124
125 2024-05-10 Georg-Johann Lay <avr (a] gjlay.de>
126
127 Backported from master:
128 2024-05-10 Georg-Johann Lay <avr (a] gjlay.de>
129
130 PR target/114981
131 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _powisf2.
132 (LIB1ASMFUNCS) [!avrtiny]: Add _powif.
133 * config/avr/lib1funcs.S (mov4): New .macro.
134 (L_powif, __powisf2) [!avrtiny]: New module and function.
135
136 2024-05-07 Release Manager
137
138 * GCC 14.1.0 released.
139
140 2024-04-30 Jakub Jelinek <jakub (a] redhat.com>
141
142 Backported from master:
143 2024-04-30 Jakub Jelinek <jakub (a] redhat.com>
144
145 * gthr.h (GTHREAD_USE_WEAK): Don't redefine to 0 for glibc 2.34+
146 on GNU Hurd.
147
148 2024-04-25 Jakub Jelinek <jakub (a] redhat.com>
149
150 * gthr.h (GTHREAD_USE_WEAK): Redefine to 0 for GLIBC 2.34 or later.
151
152 2024-04-21 Georg-Johann Lay <avr (a] gjlay.de>
153
154 PR target/114794
155 * config/avr/lib1funcs.S (__udivmodqi4): Tweak.
156
157 2024-04-19 Jakub Jelinek <jakub (a] redhat.com>
158
159 PR libgcc/114762
160 * libgcc2.c (__divmodbitint4): Perform the decrement on negative
161 v with most significant limb all ones and the second least
162 significant limb with most significant bit clear always, regardless of
163 un < vn.
164
165 2024-04-18 Jakub Jelinek <jakub (a] redhat.com>
166
167 PR libgcc/114755
168 * libgcc2.c (__divmodbitint4): Perform the decrement on negative
169 v with most significant limb all ones and the second least
170 significant limb with most significant bit clear always, regardless of
171 un < vn.
172
173 2024-04-15 Jakub Jelinek <jakub (a] redhat.com>
174
175 PR libgcc/114689
176 * config/m68k/fpgnulib.c (__truncdfsf2): Add parentheses around
177 !!sticky bitwise or operand to quiet up cppcheck. Add parentheses
178 around mant >> 1 bitwise or operand.
179
180 2024-04-10 Andre Vieira <andre.simoesdiasvieira (a] arm.com>
181
182 * config/aarch64/t-softfp (softfp_extras): Add floatbitinthf,
183 floatbitintbf, floatbitinttf and fixtfbitint.
184 * config/aarch64/libgcc-softfp.ver (GCC_14.0.0): Add __floatbitinthf,
185 __floatbitintbf, __floatbitinttf and __fixtfbitint.
186
187 2024-04-09 Sergey Bugaev <bugaevc (a] gmail.com>
188
189 * config.host: Recognize aarch64*-*-gnu* hosts.
190 * config/aarch64/gnu-unwind.h: New file.
191 * config/aarch64/heap-trampoline.c
192 (allocate_trampoline_page): Support GNU/Hurd.
193
194 2024-04-04 Jrgen Kvalsvik <j (a] lambda.is>
195
196 * libgcov-merge.c (__gcov_merge_ior): New.
197
198 2024-04-03 Wilco Dijkstra <wilco.dijkstra (a] arm.com>
199
200 * config/aarch64/cpuinfo.c: Add HWCAP_EVTSTRM, HWCAP_CRC32, HWCAP_CPUID,
201 HWCAP_PACA and HWCAP_PACG.
202
203 2024-04-02 Jakub Jelinek <jakub (a] redhat.com>
204
205 * unwind-dw2-fde.c (struct fde_accumulator): Fix duplicated
206 words in comment; is is -> is.
207
208 2024-03-25 Max Filippov <jcmvbkbc (a] gmail.com>
209
210 * unwind-arm-common.inc (__gnu_personality_sigframe_fdpic): Cast
211 last argument of _Unwind_VRS_Set to void *.
212
213 2024-03-22 Thomas Neumann <tneumann (a] users.sourceforge.net>
214
215 PR libgcc/111731
216 * unwind-dw2-fde.c: Split unwind ranges if they contain the
217 unwind table.
218
219 2024-03-21 Jakub Jelinek <jakub (a] redhat.com>
220
221 PR libgcc/114397
222 * libgcc2.c (__divmodbitint4): Don't assume un < vn always means
223 abs(v) > abs(u), check for a special case of un + 1 == vn where
224 u is non-negative and v negative and after v's negation vn could
225 be reduced by 1.
226
227 2024-03-20 Flavio Cruz <flaviocruz (a] gmail.com>
228
229 * config/i386/gnu-unwind.h: Support unwinding x86_64 signal frames.
230
231 2024-03-15 Jakub Jelinek <jakub (a] redhat.com>
232
233 PR libgcc/114327
234 * libgcc2.c (bitint_negate): Return UWtype bitwise or of all the limbs
235 before negation rather than void.
236 (__divmodbitint4): Determine whether to fill in the upper limbs after
237 negation based on whether bitint_negate returned 0 or non-zero, rather
238 then always filling with -1.
239
240 2024-02-22 Kewen Lin <linkw (a] linux.ibm.com>
241
242 PR target/109987
243 * config/rs6000/t-float128-hw: Replace options -mpower{8,9}-vector
244 with -mcpu=power9.
245 * configure.ac: Update use of option -mpower9-vector with
246 -mcpu=power9.
247 * configure: Regenerate.
248
249 2024-02-21 Iain Sandoe <iain (a] sandoe.co.uk>
250
251 * config/aarch64/heap-trampoline.c
252 (aarch64_trampoline_insns): Arrange to encode instructions as a
253 byte array so that the order is independent of memory byte order.
254 (struct aarch64_trampoline): Likewise.
255
256 2024-02-20 Iain Sandoe <iain (a] sandoe.co.uk>
257
258 PR target/113971
259 * config/aarch64/heap-trampoline.c: Allow all linux variants.
260
261 2024-02-16 Matteo Italia <matteo (a] mitalia.net>
262
263 PR libgcc/113850
264 * config/i386/gthr-win32-cond.c (__gthr_win32_abs_to_rel_time):
265 fix absolute timespec to relative milliseconds count
266 conversion (it incorrectly returned seconds instead of
267 milliseconds); this avoids spurious wakeups in
268 __gthr_win32_cond_timedwait
269
270 2024-02-14 Jakub Jelinek <jakub (a] redhat.com>
271 H.J. Lu <hjl.tools (a] gmail.com>
272
273 PR target/113855
274 * config/i386/heap-trampoline.c (trampoline_insns): Add IBT
275 support and pad to the multiple of 4 bytes. Use movabsq
276 instead of movabs in comments. Add -mx32 variant.
277
278 2024-02-13 Jakub Jelinek <jakub (a] redhat.com>
279
280 * soft-fp/bitint.h (FP_FROM_BITINT): If iprec < 0 and msb is all ones,
281 just set n to 1 instead of using __builtin_clzll (~msb).
282
283 2024-02-12 Iain Sandoe <iain (a] sandoe.co.uk>
284
285 PR target/113855
286 * config.host: Add trampoline support to x?86-linux.
287 * config/i386/heap-trampoline.c (trampoline_insns): Provide
288 a variant for IA32.
289 (union ix86_trampoline): Likewise.
290 (__gcc_nested_func_ptr_created): Implement a basic trampoline
291 for IA32.
292
293 2024-02-10 Jakub Jelinek <jakub (a] redhat.com>
294
295 * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Or in all remainder
296 limbs into inexact rather than just first two.
297 * soft-fp/floatbitintsd.c (__bid_floatbitintsd): Likewise.
298 * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
299
300 2024-02-10 Jakub Jelinek <jakub (a] redhat.com>
301
302 * soft-fp/fixddbitint.c (__bid_fixddbitint): Fix up
303 BIL_TYPE_SIZE == 32 shifts.
304 * soft-fp/fixsdbitint.c (__bid_fixsdbitint): Likewise.
305 * soft-fp/fixtdbitint.c (__bid_fixtdbitint): Likewise.
306 * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Likewise.
307 * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
308
309 2024-02-09 Iain Sandoe <iain (a] sandoe.co.uk>
310
311 * config/i386/libgcc-darwin.ver: Export bf and bitint-related
312 synbols.
313
314 2024-02-06 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
315
316 PR target/113700
317 * config/i386/libgcc-sol2.ver (GCC_14.0.0): Added all symbols from
318 i386/libgcc-glibc.ver (GCC_12.0.0, GCC_13.0.0, GCC_14.0.0).
319 * config/i386/libgcc-glibc.ver: Request notifications on updates.
320
321 2024-02-06 Matteo Italia <matteo (a] mitalia.net>
322
323 PR libgcc/113337
324 * unwind-seh.c (_Unwind_Resume_or_Rethrow): forward
325 _Unwind_RaiseException return code back to caller instead of
326 calling abort, allowing __cxa_rethrow to invoke std::terminate
327 in case of uncaught rethrown exception
328
329 2024-02-02 Jakub Jelinek <jakub (a] redhat.com>
330
331 PR libgcc/113604
332 * libgcc2.c (__divmodbitint4): If uv1 >= vv1, subtract
333 vv1 from uv1:uv0 once or twice as needed, rather than
334 subtracting vv1:vv1.
335
336 2024-02-02 Khem Raj <raj.khem (a] gmail.com>
337
338 * config/i386/enable-execute-stack-mingw32.c: Include
339 stdlib.h for abort() definition.
340
341 2024-02-02 Jakub Jelinek <jakub (a] redhat.com>
342
343 PR target/113700
344 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Remove __PFX prefixes
345 from symbol names.
346
347 2024-02-01 Jakub Jelinek <jakub (a] redhat.com>
348
349 PR libgcc/113402
350 * libgcc2.h (__gcc_nested_func_ptr_created): Change type of last
351 argument from void ** to void *.
352 * config/i386/heap-trampoline.c (__gcc_nested_func_ptr_created):
353 Change type of dst from void ** to void * and cast dst to void **
354 before dereferencing it.
355 * config/aarch64/heap-trampoline.c (__gcc_nested_func_ptr_created):
356 Likewise.
357
358 2024-02-01 Jakub Jelinek <jakub (a] redhat.com>
359
360 PR libgcc/113403
361 * config/i386/t-heap-trampoline: Add to LIB2ADDEHSHARED
362 i386/heap-trampoline.c rather than aarch64/heap-trampoline.c.
363
364 2024-02-01 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
365
366 * config/aarch64/crti.S: Remove stack marking.
367 * config/aarch64/crtn.S: Remove stack marking, include aarch64-asm.h
368 * config/aarch64/lse.S: Remove stack and GNU property markings.
369
370 2024-01-30 Iain Sandoe <iain (a] sandoe.co.uk>
371
372 PR libgcc/113403
373 * config.host: Build libheap_t.a for i686/x86_64 Darwin.
374 * config/aarch64/heap-trampoline.c (HEAP_T_ATTR): New.
375 (allocate_tramp_ctrl): Allow a target to build this as a weak def.
376 (__gcc_nested_func_ptr_created): Likewise.
377 * config/i386/heap-trampoline.c (HEAP_T_ATTR): New.
378 (allocate_tramp_ctrl): Allow a target to build this as a weak def.
379 (__gcc_nested_func_ptr_created): Likewise.
380 * config/t-darwin: Build libheap_t.a (a CRT with heap trampoline
381 support).
382
383 2024-01-30 Iain Sandoe <iain (a] sandoe.co.uk>
384
385 PR libgcc/113403
386 * config/aarch64/t-heap-trampoline: Move the heap trampoline
387 support functions from libgcc.a to libgcc_eh.a.
388 * config/i386/t-heap-trampoline: Likewise.
389
390 2024-01-28 Iain Sandoe <iain (a] sandoe.co.uk>
391 Jakub Jelinek <jakub (a] redhat.com>
392
393 PR libgcc/113402
394 * config/aarch64/heap-trampoline.c: Rename
395 __builtin_nested_func_ptr_created to __gcc_nested_func_ptr_created and
396 __builtin_nested_func_ptr_deleted to __gcc_nested_func_ptr_deleted.
397 * config/i386/heap-trampoline.c: Likewise.
398 * libgcc2.h: Likewise.
399 * libgcc-std.ver.in (GCC_7.0.0): Likewise and then move
400 __gcc_nested_func_ptr_created and
401 __gcc_nested_func_ptr_deleted from this symbol version to ...
402 (GCC_14.0.0): ... this one.
403
404 2024-01-26 Andrew Stubbs <ams (a] baylibre.com>
405
406 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Handle RDNA3.
407
408 2024-01-23 Zac Walker <zacwalker (a] microsoft.com>
409
410 * config/aarch64/aarch64-asm.h (HIDDEN, SYMBOL_SIZE, SYMBOL_TYPE)
411 (ENTRY_ALIGN, GNU_PROPERTY): New macros.
412 * config/aarch64/__arm_sme_state.S: Use them.
413 * config/aarch64/__arm_tpidr2_save.S: Likewise.
414 * config/aarch64/__arm_za_disable.S: Likewise.
415 * config/aarch64/crti.S: Likewise.
416 * config/aarch64/lse.S: Likewise.
417
418 2024-01-12 Jakub Jelinek <jakub (a] redhat.com>
419
420 * libgcc2.h (UBILtype): New typedef with may_alias attribute.
421 (__mulbitint3, __divmodbitint4): Use UBILtype * instead of
422 UWtype * and const UBILtype * instead of const UWtype *.
423 * libgcc2.c (bitint_reduce_prec, bitint_mul_1, bitint_addmul_1,
424 __mulbitint3, bitint_negate, bitint_submul_1, __divmodbitint4):
425 Likewise.
426 * soft-fp/bitint.h (UBILtype): Change define into a typedef with
427 may_alias attribute.
428
429 2024-01-12 Sandra Loosemore <sandra (a] codesourcery.com>
430
431 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Do not try to use
432 _dl_find_object on nios2; it doesn't work.
433
434 2023-12-23 Thomas Schwinge <thomas (a] codesourcery.com>
435
436 * c++-minimal/README: New.
437 * c++-minimal/guard.c: New.
438 * config/gcn/t-amdgcn (LIB2ADD): Add it.
439 * config/nvptx/t-nvptx (LIB2ADD): Likewise.
440
441 2023-12-20 Alexandre Oliva <oliva (a] adacore.com>
442
443 PR middle-end/112917
444 * config.host (sparc, sparc64): Enable...
445 * config/sparc/t-sparc: ... this new fragment.
446
447 2023-12-20 Alexandre Oliva <oliva (a] adacore.com>
448
449 * strub.c (ATTRIBUTE_NOINLINE): New.
450 (ATTRIBUTE_STRUB_CALLABLE): Add it.
451 (__strub_dummy_force_no_leaf): Drop it.
452
453 2023-12-16 Andrew Carlotti <andrew.carlotti (a] arm.com>
454
455 * config/aarch64/cpuinfo.c (enum CPUFeatures): Move to shared
456 copy in gcc/common
457
458 2023-12-16 Andrew Carlotti <andrew.carlotti (a] arm.com>
459 Pavel Iliin <Pavel.Iliin (a] arm.com>
460
461 * config/aarch64/t-aarch64: Include cpuinfo.c
462 * config/aarch64/cpuinfo.c: New file
463 (__init_cpu_features_constructor) New.
464 (__init_cpu_features_resolver) New.
465 (__init_cpu_features) New.
466
467 2023-12-11 Lipeng Zhu <lipeng.zhu (a] intel.com>
468
469 * gthr-posix.h (__GTHREAD_RWLOCK_INIT): New macro.
470 (__gthrw): New function.
471 (__gthread_rwlock_rdlock): New function.
472 (__gthread_rwlock_tryrdlock): New function.
473 (__gthread_rwlock_wrlock): New function.
474 (__gthread_rwlock_trywrlock): New function.
475 (__gthread_rwlock_unlock): New function.
476
477 2023-12-08 Florian Weimer <fweimer (a] redhat.com>
478
479 * libgcov-interface.c (__gcov_fork): Use __builtin_fork instead
480 of fork.
481
482 2023-12-08 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
483
484 * config.in: Regenerate.
485
486 2023-12-08 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
487
488 * config/aarch64/__arm_za_disable.S: Add hidden alias.
489 * config/aarch64/aarch64-unwind.h: Reset the SME state before
490 EH return via the _Unwind_Frames_Extra hook.
491
492 2023-12-08 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
493
494 * config/aarch64/t-aarch64: Add sources to the build.
495 * config/aarch64/__aarch64_have_sme.c: New file.
496 * config/aarch64/__arm_sme_state.S: New file.
497 * config/aarch64/__arm_tpidr2_restore.S: New file.
498 * config/aarch64/__arm_tpidr2_save.S: New file.
499 * config/aarch64/__arm_za_disable.S: New file.
500 * config/aarch64/aarch64-asm.h: New file.
501 * config/aarch64/libgcc-sme.ver: New file.
502
503 2023-12-08 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
504
505 * config.in: Undef HAVE___GETAUXVAL.
506 * configure: Regenerate.
507 * configure.ac: Check for __getauxval.
508
509 2023-12-08 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
510
511 * config.in: Undef HAVE_AS_VARIANT_PCS.
512 * configure: Regenerate.
513 * configure.ac: Check for .variant_pcs.
514
515 2023-12-07 Alexandre Oliva <oliva (a] adacore.com>
516
517 * configure.ac: Check for strub support.
518 * configure: Rebuilt.
519 * Makefile.in: Compile strub.c conditionally.
520
521 2023-12-06 Thomas Schwinge <thomas (a] codesourcery.com>
522 Jakub Jelinek <jakub (a] redhat.com>
523
524 PR libgcc/109289
525 * emutls.c: Add GCC diagnostic ignored "-Wbuiltin-declaration-mismatch"
526 pragma.
527
528 2023-12-06 Alexandre Oliva <oliva (a] adacore.com>
529
530 * Makefile.in (LIB2ADD): Add strub.c.
531 * libgcc2.h (__strub_enter, __strub_update, __strub_leave):
532 Declare.
533 * strub.c: New.
534 * libgcc-std.ver.in (__strub_enter): Add to GCC_14.0.0.
535 (__strub_update, __strub_leave): Likewise.
536
537 2023-12-03 Jeff Law <jlaw (a] ventanamicro.com>
538
539 * unwind-pe.h (_Unwind_gnu_Find_got): Add prototype.
540
541 2023-12-03 Jeff Law <jlaw (a] ventanamicro.com>
542
543 * config/rx/rx-abi-functions.c (__ltdf2, __gtdf2): Add prototype.
544 (__ledf2, __gedf2, __eqdf2, __nedf2): Likewise.
545 (__ltsf2, __gtsf2, __lesf2, __gesf2, __eqsf2, __nesf2): Likewise.
546
547 2023-12-03 Jeff Law <jlaw (a] ventanamicro.com>
548
549 * config/frv/frvbegin.c (atexit): Add prototype.
550
551 2023-12-01 Alexandre Oliva <oliva (a] adacore.com>
552
553 * libgcc-std.ver.in (__hardcfr_check): Add to GCC_14.0.0.
554
555 2023-12-01 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
556
557 PR target/112777
558 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Honor that __LIBGCC_HAVE_LIBATOMIC is
559 always defined as either 0 or 1.
560
561 2023-12-01 Florian Weimer <fweimer (a] redhat.com>
562
563 * config/aarch64/linux-unwind.h
564 (aarch64_fallback_frame_state): Add cast to the expected type
565 in sc assignment.
566
567 2023-11-30 Wilco Dijkstra <wilco.dijkstra (a] arm.com>
568
569 PR target/111404
570 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Execute STLXP using
571 either new value or loaded value.
572
573 2023-11-27 Richard Earnshaw <rearnsha (a] arm.com>
574
575 * config/arm/lib1funcs.S (__sync_synchronize): Adjust warning message.
576
577 2023-11-24 Richard Earnshaw <rearnsha (a] arm.com>
578
579 * config.host (arm*-*-eabi* | arm*-*-rtems*):
580 Add arm/t-sync to the makefile rules.
581 * config/arm/lib1funcs.S (__sync_synchronize_none)
582 (__sync_synchronize_cp15dmb, __sync_synchronize_dmb)
583 (__sync_synchronize): New functions.
584 * config/arm/t-sync: New file.
585 * config/arm/sync-none.specs: Likewise.
586 * config/arm/sync-dmb.specs: Likewise.
587 * config/arm/sync-cp15dmb.specs: Likewise.
588
589 2023-11-23 Jose E. Marchesi <jose.marchesi (a] oracle.com>
590
591 * hardcfr.c (__hardcfr_check_fail): Mark as always_inline.
592
593 2023-11-21 Jakub Jelinek <jakub (a] redhat.com>
594
595 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Formatting fixes.
596
597 2023-11-18 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
598
599 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Always define it.
600 Set it also to 1, if __LIBGCC_HAVE_LIBATOMIC is defined.
601
602 2023-11-18 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
603
604 Revert:
605 2023-11-18 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
606
607 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
608 (gcov_type_unsigned): Likewise.
609
610 2023-11-10 Keith Packard <keithp (a] keithp.com>
611
612 * config/m68k/lb1sf68.S (__adddf3): Properly check for non-zero denorm.
613 (__divdf3): Restore sign bit properly.
614 (__addsf3): Correct exponent check.
615 * config/m68k/fpgnulib.c (EXPMASK): Define.
616 (__extendsfdf2): Handle Inf and NaN properly.
617 (__truncdfsf2): Handle underflow and overflow correctly.
618 (__extenddfxf2): Handle underflow, denorms, Inf and NaN correctly.
619 (__truncxfdf2): Handle underflow and denorms correctly.
620 (__fixxfsi): Reimplement.
621
622 2023-11-09 Jakub Jelinek <jakub (a] redhat.com>
623
624 PR libgcc/65833
625 * config/t-softfp (softfp_bid_list): Add
626 {U,}TItype <-> _Decimal{32,64,128} conversions.
627 * soft-fp/floattisd.c: New file.
628 * soft-fp/floattidd.c: New file.
629 * soft-fp/floattitd.c: New file.
630 * soft-fp/floatuntisd.c: New file.
631 * soft-fp/floatuntidd.c: New file.
632 * soft-fp/floatuntitd.c: New file.
633 * soft-fp/fixsdti.c: New file.
634 * soft-fp/fixddti.c: New file.
635 * soft-fp/fixtdti.c: New file.
636 * soft-fp/fixunssdti.c: New file.
637 * soft-fp/fixunsddti.c: New file.
638 * soft-fp/fixunstdti.c: New file.
639
640 2023-11-07 Kwok Cheung Yeung <kcy (a] codesourcery.com>
641
642 * offloadstuff.c (OFFLOAD_IND_FUNC_TABLE_SECTION_NAME): New.
643 (__offload_ind_func_table): New.
644 (__offload_ind_funcs_end): New.
645 (__OFFLOAD_TABLE__): Add entries for indirect functions.
646
647 2023-11-03 Thomas Schwinge <thomas (a] codesourcery.com>
648
649 * config/gcn/gthr-gcn.h (__gthread_getspecific): 's%NULL%0'.
650
651 2023-10-31 Alexandre Oliva <oliva (a] adacore.com>
652
653 * hardcfr.c: Adjust copyright year.
654
655 2023-10-24 Sergei Trofimovich <siarheit (a] google.com>
656
657 * config/aarch64/heap-trampoline.c: Disable when libc is not
658 present.
659 * config/i386/heap-trampoline.c: Ditto.
660
661 2023-10-22 Iain Sandoe <iain (a] sandoe.co.uk>
662
663 * config/t-slibgcc-darwin: Generate libgcc_s
664 with an @rpath name.
665 * config.host: Handle Darwin rpaths.
666 * config/t-darwin-rpath: New file.
667
668 2023-10-22 Andrew Burgess <andrew.burgess (a] embecosm.com>
669 Maxim Blinov <maxim.blinov (a] embecosm.com>
670 Iain Sandoe <iain (a] sandoe.co.uk>
671 Francois-Xavier Coudert <fxcoudert (a] gcc.gnu.org>
672
673 * libgcc2.h (__builtin_nested_func_ptr_created): Declare.
674 (__builtin_nested_func_ptr_deleted): Declare.
675 * libgcc-std.ver.in: Add the new symbols.
676 * config/aarch64/heap-trampoline.c: Implement heap-based
677 trampolines for aarch64.
678 * config/aarch64/t-heap-trampoline: Add rule to build
679 config/aarch64/heap-trampoline.c
680 * config/i386/heap-trampoline.c: Implement heap-based
681 trampolines for x86_64.
682 * config/i386/t-heap-trampoline: Add rule to build
683 config/i386/heap-trampoline.cc
684 * config.host: Handle --enable-heap-trampolines on
685 x86_64-*-linux*, aarch64-*-linux*, x86_64-*-darwin*.
686
687 2023-10-20 Andrew Stubbs <ams (a] codesourcery.com>
688
689 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Set false for __RDNA2__.
690
691 2023-10-20 Alexandre Oliva <oliva (a] adacore.com>
692
693 * Makefile.in (LIB2ADD): Add hardcfr.c.
694 * hardcfr.c: New.
695
696 2023-10-13 Florian Weimer <fweimer (a] redhat.com>
697
698 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Add
699 missing cast.
700
701 2023-10-13 Florian Weimer <fweimer (a] redhat.com>
702
703 * config/arc/linux-unwind.h (arc_fallback_frame_state): Add
704 missing cast.
705
706 2023-10-13 Florian Weimer <fweimer (a] redhat.com>
707
708 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
709 missing cast.
710
711 2023-10-13 Florian Weimer <fweimer (a] redhat.com>
712
713 * config/csky/linux-unwind.h (csky_fallback_frame_state): Add
714 missing cast.
715
716 2023-10-13 Florian Weimer <fweimer (a] redhat.com>
717
718 * config/m68k/fpgnulib.c (__cmpdf2): Declare.
719
720 2023-09-26 Wilco Dijkstra <wilco.dijkstra (a] arm.com>
721
722 * config/aarch64/lse.S (BTI_C): Remove define.
723
724 2023-09-20 Pekka Seppnen <pexu (a] gcc.mail.kapsi.fi>
725
726 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key):
727 Use const unsigned type and a builtin.
728
729 2023-09-06 Jakub Jelinek <jakub (a] redhat.com>
730
731 PR c/102989
732 * libgcc2.c (bitint_negate): Add function comment.
733 * soft-fp/bitint.h (bitint_negate): Add function comment.
734 (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
735
736 2023-09-06 Jakub Jelinek <jakub (a] redhat.com>
737
738 PR c/102989
739 * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
740 * config/i386/64/t-softfp (softfp_extras): Likewise.
741 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
742 routines.
743 * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
744 bf, hf and xf mode floatbitint.
745 (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
746 * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
747 * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
748 * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
749 * config/t-softfp (softfp_floatbitint_funcs): New.
750 (softfp_bid_list): New.
751 (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
752 (softfp_bid_file_list): New.
753 (LIB2ADD_ST): Add $(softfp_bid_file_list).
754 * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
755 floatbitinttf.
756 * config/t-softfp-tf (softfp_extras): Likewise.
757 * libgcc2.c (bitint_reduce_prec): New inline function.
758 (BITINT_INC, BITINT_END): Define.
759 (bitint_mul_1, bitint_addmul_1): New helper functions.
760 (__mulbitint3): New function.
761 (bitint_negate, bitint_submul_1): New helper functions.
762 (__divmodbitint4): New function.
763 * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
764 libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
765 (__mulbitint3, __divmodbitint4): Declare.
766 * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
767 * Makefile.in (lib2funcs): Add _mulbitint3.
768 (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
769 * soft-fp/bitint.h: New file.
770 * soft-fp/fixdfbitint.c: New file.
771 * soft-fp/fixsfbitint.c: New file.
772 * soft-fp/fixtfbitint.c: New file.
773 * soft-fp/fixxfbitint.c: New file.
774 * soft-fp/floatbitintbf.c: New file.
775 * soft-fp/floatbitintdf.c: New file.
776 * soft-fp/floatbitinthf.c: New file.
777 * soft-fp/floatbitintsf.c: New file.
778 * soft-fp/floatbitinttf.c: New file.
779 * soft-fp/floatbitintxf.c: New file.
780 * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
781 4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
782 * soft-fp/bitintpow10.c: New file.
783 * soft-fp/fixsdbitint.c: New file.
784 * soft-fp/fixddbitint.c: New file.
785 * soft-fp/fixtdbitint.c: New file.
786 * soft-fp/floatbitintsd.c: New file.
787 * soft-fp/floatbitintdd.c: New file.
788 * soft-fp/floatbitinttd.c: New file.
789
790 2023-09-06 Jakub Jelinek <jakub (a] redhat.com>
791
792 PR c/102989
793 * soft-fp/bitintpow10.h: New file.
794
795 2023-09-05 Yang Yujie <yangyujie (a] loongson.cn>
796
797 * config.host: add loongarch*-elf target.
798
799 2023-08-11 Thomas Neumann <thomas.neumann (a] in.tum.de>
800
801 PR libgcc/110956
802 * unwind-dw2-fde.c: Associate object with address of unwinding
803 table.
804
805 2023-08-07 John Ericson <git (a] JohnEricson.me>
806
807 * configure: Regenerate.
808
809 2023-08-07 Alan Modra <amodra (a] gmail.com>
810
811 * configure: Regenerate.
812
813 2023-07-23 Andrew Pinski <apinski (a] marvell.com>
814
815 * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
816 (riscv*-*-freebsd*): Likewise.
817 * config/riscv/t-crtstuff: New file.
818
819 2023-07-19 liuhongt <hongtao.liu (a] intel.com>
820
821 * config/i386/t-softfp: Add -msse2 to libbid HFtype related
822 files.
823
824 2023-07-11 Florian Weimer <fweimer (a] redhat.com>
825
826 PR libgcc/110179
827 * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
828 implicit conversion of pointer value to integer.
829
830 2023-07-06 Kito Cheng <kito.cheng (a] sifive.com>
831
832 * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
833 (FP_HANDLE_EXCEPTIONS): Ditto.
834
835 2023-06-19 Andrew Stubbs <ams (a] codesourcery.com>
836
837 * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
838 * config/gcn/lib2-divmod.c: Likewise.
839 * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
840 new vector libfuncs.
841 * config/gcn/t-amdgcn: Add new files.
842 * config/gcn/amdgcn_veclib.h: New file.
843 * config/gcn/lib2-vec_divmod-di.c: New file.
844 * config/gcn/lib2-vec_divmod-hi.c: New file.
845 * config/gcn/lib2-vec_divmod-qi.c: New file.
846 * config/gcn/lib2-vec_divmod.c: New file.
847
848 2023-06-19 Andrew Stubbs <ams (a] codesourcery.com>
849
850 * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
851 (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
852 * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
853 * config/gcn/lib2-divmod-hi.c: Removed.
854
855 2023-06-07 Florian Weimer <fweimer (a] redhat.com>
856
857 PR libgcc/109712
858 * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
859 parsing eh_frame.
860
861 2023-06-05 Kewen Lin <linkw (a] linux.ibm.com>
862
863 * config/i386/morestack.S: Use @init_array rather than
864 @progbits for section type of section .init_array.
865 * config/rs6000/morestack.S: Likewise.
866 * config/s390/morestack.S: Likewise.
867
868 2023-06-05 YunQiang Su <yunqiang.su (a] cipunited.com>
869
870 * config/mips/lib1funcs.S: New file.
871 define __speculation_barrier and include mips16.S.
872 * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
873 define LIB1ASMFUNCS as _speculation_barrier.
874 set version info for __speculation_barrier.
875 * config/mips/libgcc-mips.ver: New file.
876 * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
877 included in lib1funcs.S now.
878
879 2023-06-03 Thomas Neumann <tneumann (a] users.sourceforge.net>
880
881 PR libgcc/109670
882 * unwind-dw2-fde.c: Fix radix sort buffer management.
883
884 2023-06-03 Thomas Neumann <tneumann (a] users.sourceforge.net>
885
886 PR libgcc/109685
887 * unwind-dw2-fde.c: Free sort array in atomic fast path.
888
889 2023-05-19 Iain Sandoe <iain (a] sandoe.co.uk>
890
891 * config.host: Arrange to set min Darwin OS versions from
892 the configured host version.
893 * config/darwin10-unwind-find-enc-func.c: Do not use current
894 headers, but declare the nexessary structures locally to the
895 versions in use for Mac OSX 10.6.
896 * config/t-darwin: Amend to handle configured min OS
897 versions.
898 * config/t-darwin-min-1: New.
899 * config/t-darwin-min-5: New.
900 * config/t-darwin-min-8: New.
901
902 2023-05-15 Thomas Neumann <tneumann (a] users.sourceforge.net>
903
904 * unwind-dw2-fde.c: Fix assert in non-atomic path.
905
906 2023-05-15 Sren Tempel <soeren+git (a] soeren-tempel.net>
907
908 * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
909
910 2023-05-02 Patrick O'Neill <patrick (a] rivosinc.com>
911
912 * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
913 sequentially consistent LR.aqrl/SC.rl pairs.
914
915 2023-05-01 Dimitar Dimitrov <dimitar (a] dinux.eu>
916
917 * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
918 -DTARGET_HAS_NO_HW_DIVIDE.
919
920 2023-04-27 Hans-Peter Nilsson <hp (a] axis.com>
921
922 * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
923 -DTARGET_HAS_NO_HW_DIVIDE.
924
925 2023-04-26 Patrick O'Neill <patrick (a] rivosinc.com>
926
927 PR target/104338
928 * config/riscv/atomic.c: Add reference to duplicate logic.
929
930 2023-04-08 Tetsuma Hoshino <t-hoshino (a] pony-e.jp>
931
932 PR target/109402
933 * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
934 stack manipulations.
935
936 2023-04-05 John David Anglin <danglin (a] gcc.gnu.org>
937
938 PR target/109374
939 * config/pa/milli64.S (RETURN_COLUMN): Define.
940 ($$divI): Add CFI directives.
941 ($$divU): Likewise.
942 ($$remI): Likewise.
943 ($$remU): Likewise.
944
945 2023-03-19 Stafford Horne <shorne (a] gmail.com>
946
947 * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
948 statement clearing existing exceptions.
949
950 2023-03-13 Max Filippov <jcmvbkbc (a] gmail.com>
951
952 * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
953 * config/xtensa/crtn.S: Likewise.
954 * config/xtensa/lib1funcs.S: Likewise.
955 * config/xtensa/lib2funcs.S: Likewise.
956
957 2023-03-12 Jakub Jelinek <jakub (a] redhat.com>
958
959 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
960 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
961 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
962 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
963 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
964 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
965 * soft-fp/floatundibf.c: New file.
966 * soft-fp/floatdibf.c: New file.
967
968 2023-03-10 Jakub Jelinek <jakub (a] redhat.com>
969
970 PR target/107703
971 * soft-fp/floattibf.c: New file.
972 * soft-fp/floatuntibf.c: New file.
973 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
974 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
975 floatuntibf.
976 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
977
978 2023-03-08 Kewen Lin <linkw (a] linux.ibm.com>
979
980 PR libgcc/108727
981 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
982 bump size.
983
984 2023-03-06 Michael Meissner <meissner (a] linux.ibm.com>
985
986 PR target/107299
987 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
988 whether long double is IBM or IEEE.
989 (INFINITY): Likewise.
990 (FABS): Likewise.
991 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
992 (INFINITY): Likewise.
993 * config/rs6000/quad-float128.h (TF): Remove definition.
994 (TFtype): Define to be long double or _Float128.
995 (TCtype): Define to be _Complex long double or _Complex _Float128.
996 * libgcc2.h (TFtype): Allow machine config files to override this.
997 (TCtype): Likewise.
998 * soft-fp/quad.h (TFtype): Likewise.
999
1000 2023-02-13 Kito Cheng <kito.cheng (a] sifive.com>
1001
1002 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
1003 * config/riscv/value-unwind.h: New.
1004
1005 2023-02-03 Christophe Lyon <christophe.lyon (a] arm.com>
1006
1007 * config/arm/pr-support.c (__gnu_unwind_execute): Use
1008 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
1009
1010 2023-01-30 Flavio Cruz <flaviocruz (a] gmail.com>
1011
1012 * config.host: Recognize x86_64-*-gnu* targets.
1013 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
1014 TODO for now.
1015
1016 2023-01-23 Srinath Parvathaneni <srinath.parvathaneni (a] arm.com>
1017
1018 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
1019 "0xb5".
1020
1021 2023-01-23 Andrea Corallo <andrea.corallo (a] arm.com>
1022 Tejas Belagod <tbelagod (a] arm.com>
1023 Srinath Parvathaneni <srinath.parvathaneni (a] arm.com>
1024
1025 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
1026 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
1027 with AUTG if found.
1028 * config/arm/unwind-arm.c (struct pseudo_regs): New.
1029 (phase1_vrs): Introduce new field to store pseudo-reg state.
1030 (phase2_vrs): Likewise.
1031 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
1032 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
1033 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
1034
1035 2023-01-18 Wilco Dijkstra <wilco.dijkstra (a] arm.com>
1036
1037 PR target/107678
1038 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
1039 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
1040 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
1041 encode the return address signing state.
1042 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
1043 Check current return address signing state.
1044 (aarch64_frob_update_contex): Remove.
1045
1046 2023-01-13 John David Anglin <danglin (a] gcc.gnu.org>
1047
1048 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
1049 pa/t-pa64-linux.
1050 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
1051 instead of pa/t-hpux and pa/t-pa64.
1052 * config/pa/linux-atomic.c: Define u32 type.
1053 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
1054 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
1055 defines to use atomic_load calls for type.
1056 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
1057 * config/pa/sync-libfuncs.c: New file.
1058 * config/pa/t-netbsd (LIB2ADD_ST): Define.
1059 * config/pa/t-openbsd (LIB2ADD_ST): Define.
1060 * config/pa/t-pa64-hpux: New file.
1061 * config/pa/t-pa64-linux: New file.
1062
1063 2023-01-13 Jonathan Wakely <jwakely (a] redhat.com>
1064
1065 PR libstdc++/108331
1066 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
1067 struct matching the previous __gthread_mutex_t struct.
1068 (__GTHREAD_LEGACY_MUTEX_T): Define.
1069
1070 2023-01-13 Seija Kijin <doremylover456 (a] gmail.com>
1071
1072 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
1073 unified syntax.
1074
1075 2023-01-07 LIU Hao <lh_mouse (a] 126.com>
1076
1077 PR middle-end/108300
1078 * config/i386/enable-execute-stack-mingw32.c: Define
1079 `WIN32_LEAN_AND_MEAN` before <windows.h>.
1080 * libgcc2.c: Likewise.
1081 * unwind-generic.h: Likewise.
1082
1083 2023-01-03 Florian Weimer <fweimer (a] redhat.com>
1084
1085 * unwind-dw2-execute_cfa.h: New file. Extracted from
1086 the execute_cfa_program function in unwind-dw2.c.
1087 * unwind-dw2.c (execute_cfa_program_generic): New function.
1088 (execute_cfa_program_specialized): Likewise.
1089 (execute_cfa_program): Call execute_cfa_program_specialized
1090 or execute_cfa_program_generic, as appropriate.
1091
1092 2023-01-03 Florian Weimer <fweimer (a] redhat.com>
1093
1094 Revert:
1095 2023-01-03 Florian Weimer <fweimer (a] redhat.com>
1096
1097 * unwind-dw2.c (dwarf_reg_size): New function.
1098 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
1099 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
1100 (uw_init_context_1): Do not initialize dwarf_reg_size_table
1101 if not in use.
1102
1103 2023-01-03 Florian Weimer <fweimer (a] redhat.com>
1104
1105 Revert:
1106 2023-01-03 Florian Weimer <fweimer (a] redhat.com>
1107
1108 * unwind-dw2-execute_cfa.h: New file. Extracted from
1109 the execute_cfa_program function in unwind-dw2.c.
1110 * unwind-dw2.c (execute_cfa_program_generic): New function.
1111 (execute_cfa_program_specialized): Likewise.
1112 (execute_cfa_program): Call execute_cfa_program_specialized
1113 or execute_cfa_program_generic, as appropriate.
1114
1115 2023-01-02 Florian Weimer <fweimer (a] redhat.com>
1116
1117 * unwind-dw2-execute_cfa.h: New file. Extracted from
1118 the execute_cfa_program function in unwind-dw2.c.
1119 * unwind-dw2.c (execute_cfa_program_generic): New function.
1120 (execute_cfa_program_specialized): Likewise.
1121 (execute_cfa_program): Call execute_cfa_program_specialized
1122 or execute_cfa_program_generic, as appropriate.
1123
1124 2023-01-02 Florian Weimer <fweimer (a] redhat.com>
1125
1126 * unwind-dw2.c (dwarf_reg_size): New function.
1127 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
1128 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
1129 (uw_init_context_1): Do not initialize dwarf_reg_size_table
1130 if not in use.
1131
1132 2022-12-25 Jonathan Yong <10walls (a] gmail.com>
1133
1134 * config/i386/gthr-win32.h: undef CC_NONE
1135
1136 2022-12-24 Iain Sandoe <iain (a] sandoe.co.uk>
1137
1138 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
1139 install of libgcc_s.1.dylib when the installation is into the build
1140 gcc directory.
1141
1142 2022-12-23 Eric Botcazou <ebotcazou (a] adacore.com>
1143
1144 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
1145 as well as new i386/t-slibgcc-mingw fragment.
1146 (x86_64-*-mingw*): Likewise.
1147 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
1148 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
1149 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
1150 Include stdlib.h instead of errno.h and do not include _mingw.h.
1151 (CONST_CAST2): Add specific definition for C++.
1152 (ATTRIBUTE_UNUSED): New macro.
1153 (__UNUSED_PARAM): Delete.
1154 Define WIN32_LEAN_AND_MEAN before including windows.h.
1155 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
1156 (__gthread_objc_init_thread_system): Likewise.
1157 (__gthread_objc_thread_get_data): Minor tweak.
1158 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
1159 (__gthread_objc_condition_deallocate): Likewise.
1160 (__gthread_objc_condition_wait): Likewise.
1161 (__gthread_objc_condition_broadcast): Likewise.
1162 (__gthread_objc_condition_signal): Likewise.
1163 Include sys/time.h.
1164 (__gthr_win32_DWORD): New typedef.
1165 (__gthr_win32_HANDLE): Likewise.
1166 (__gthr_win32_CRITICAL_SECTION): Likewise.
1167 (__gthr_win32_CONDITION_VARIABLE): Likewise.
1168 (__gthread_t): Adjust.
1169 (__gthread_key_t): Likewise.
1170 (__gthread_mutex_t): Likewise.
1171 (__gthread_recursive_mutex_t): Likewise.
1172 (__gthread_cond_t): New typedef.
1173 (__gthread_time_t): Likewise.
1174 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
1175 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
1176 (__GTHREAD_COND_INIT_FUNCTION): Define.
1177 (__GTHREAD_TIME_INIT): Likewise.
1178 (__gthr_i486_lock_cmp_xchg): Delete.
1179 (__gthr_win32_create): Declare.
1180 (__gthr_win32_join): Likewise.
1181 (__gthr_win32_self): Likewise.
1182 (__gthr_win32_detach): Likewise.
1183 (__gthr_win32_equal): Likewise.
1184 (__gthr_win32_yield): Likewise.
1185 (__gthr_win32_mutex_destroy): Likewise.
1186 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
1187 (__gthr_win32_cond_broadcast): Likewise.
1188 (__gthr_win32_cond_signal): Likewise.
1189 (__gthr_win32_cond_wait): Likewise.
1190 (__gthr_win32_cond_timedwait): Likewise.
1191 (__gthr_win32_recursive_mutex_init_function): Delete.
1192 (__gthr_win32_recursive_mutex_lock): Likewise.
1193 (__gthr_win32_recursive_mutex_unlock): Likewise.
1194 (__gthr_win32_recursive_mutex_destroy): Likewise.
1195 (__gthread_create): New inline function.
1196 (__gthread_join): Likewise.
1197 (__gthread_self): Likewise.
1198 (__gthread_detach): Likewise.
1199 (__gthread_equal): Likewise.
1200 (__gthread_yield): Likewise.
1201 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
1202 (__gthread_cond_broadcast): Likewise.
1203 (__gthread_cond_signal): Likewise.
1204 (__gthread_cond_wait): Likewise.
1205 (__gthread_cond_timedwait): Likewise.
1206 (__GTHREAD_WIN32_INLINE): New macro.
1207 (__GTHREAD_WIN32_COND_INLINE): Likewise.
1208 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
1209 Define WIN32_LEAN_AND_MEAN before including windows.h.
1210 (__gthread_once): Minor tweaks.
1211 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
1212 (__gthread_key_delete): Minor tweak.
1213 (__gthread_getspecific): Likewise.
1214 (__gthread_setspecific): Likewise.
1215 (__gthread_mutex_init_function): Reimplement.
1216 (__gthread_mutex_destroy): Likewise.
1217 (__gthread_mutex_lock): Likewise.
1218 (__gthread_mutex_trylock): Likewise.
1219 (__gthread_mutex_unlock): Likewise.
1220 (__gthr_win32_abs_to_rel_time): Declare.
1221 (__gthread_recursive_mutex_init_function): Reimplement.
1222 (__gthread_recursive_mutex_destroy): Likewise.
1223 (__gthread_recursive_mutex_lock): Likewise.
1224 (__gthread_recursive_mutex_trylock): Likewise.
1225 (__gthread_recursive_mutex_unlock): Likewise.
1226 (__gthread_cond_destroy): New inline function.
1227 (__gthread_cond_wait_recursive): Likewise.
1228 * config/i386/gthr-win32.c: Delete everything.
1229 Include gthr-win32.h to get the out-of-line version of inline routines.
1230 Add compile-time checks for the local version of the Win32 types.
1231 * config/i386/gthr-win32-cond.c: New file.
1232 * config/i386/gthr-win32-thread.c: Likewise.
1233 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
1234 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
1235 the static version of libgcc.
1236 * config/i386/t-slibgcc-mingw: New file.
1237 * config/i386/libgcc-mingw.ver: Likewise.
1238
1239 2022-12-16 Thomas Neumann <tneumann (a] users.sourceforge.net>
1240
1241 * unwind-dw2-fde.c: Initialize fde object lazily when
1242 the first exception tries to pass through.
1243
1244 2022-12-16 Thomas Neumann <tneumann (a] users.sourceforge.net>
1245
1246 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
1247
1248 2022-12-08 Max Filippov <jcmvbkbc (a] gmail.com>
1249
1250 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
1251 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
1252 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
1253 (XSHAL_ABI): Remove stray symbols from macro definitions.
1254
1255 2022-12-07 Max Filippov <jcmvbkbc (a] gmail.com>
1256
1257 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
1258 xtensa-config-builtin.h.
1259 * config/xtensa/crtn.S: Likewise.
1260 * config/xtensa/lib1funcs.S: Likewise.
1261 * config/xtensa/lib2funcs.S: Likewise.
1262 * config/xtensa/xtensa-config-builtin.h: New File.
1263
1264 2022-11-04 Florian Weimer <fweimer (a] redhat.com>
1265
1266 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
1267 values actually used by BFD ld.
1268
1269 2022-10-23 LIU Hao <lh_mouse (a] 126.com>
1270
1271 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
1272 libobjc, instead of 'gthr.h'
1273
1274 2022-10-19 LIU Hao <lh_mouse (a] 126.com>
1275
1276 * config.host: Add new cases for `mcf` thread model
1277 * config/i386/gthr-mcf.h: New file
1278 * config/i386/t-mingw-mcfgthread: New file
1279 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
1280 * configure: Regenerate
1281
1282 2022-10-18 Jonathan Wakely <jwakely (a] redhat.com>
1283
1284 * Makefile.in: Quote variable.
1285
1286 2022-10-17 H.J. Lu <hjl.tools (a] gmail.com>
1287
1288 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
1289 argument.
1290 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
1291 _Unwind_Frames_Increment.
1292 (_Unwind_ForcedUnwind_Phase2): Likewise.
1293 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1294 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
1295 return address on normal stack doesn't match the return address
1296 on shadow stack.
1297
1298 2022-10-17 Florian Weimer <fweimer (a] redhat.com>
1299
1300 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
1301 and reduce its size.
1302
1303 2022-10-14 Jakub Jelinek <jakub (a] redhat.com>
1304
1305 * config/i386/t-softfp (softfp_extensions): Add bfsf.
1306 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
1307 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
1308 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
1309 -msse2.
1310 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
1311 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
1312 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
1313 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
1314 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
1315 * soft-fp/brain.h: New file.
1316 * soft-fp/truncsfbf2.c: New file.
1317 * soft-fp/truncdfbf2.c: New file.
1318 * soft-fp/truncxfbf2.c: New file.
1319 * soft-fp/trunctfbf2.c: New file.
1320 * soft-fp/trunchfbf2.c: New file.
1321 * soft-fp/truncbfhf2.c: New file.
1322 * soft-fp/extendbfsf2.c: New file.
1323
1324 2022-10-12 Martin Liska <mliska (a] suse.cz>
1325
1326 * libgcov-driver.c: Use new function.
1327 * libgcov.h (gcov_write_summary): Rename to ...
1328 (gcov_write_object_summary): ... this.
1329
1330 2022-10-11 Olivier Hainque <hainque (a] adacore.com>
1331
1332 * config.host (*vxworks*): When enable_shared, add
1333 libgcc and crtstuff "shared" fragments for rtp except
1334 large code model.
1335 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
1336 the list of fragments.
1337
1338 2022-10-06 Jakub Jelinek <jakub (a] redhat.com>
1339
1340 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1341 fs->regs.how[X] instead of fs->regs.reg[X].how.
1342
1343 2022-10-06 Jakub Jelinek <jakub (a] redhat.com>
1344
1345 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
1346 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
1347 REG_UNDEFINED): New anonymous enum, moved from inside of
1348 struct frame_state_reg_info.
1349 (struct frame_state_reg_info): Remove reg[].how element and the
1350 anonymous enum there. Add how element.
1351 * unwind-dw2.c: Include stddef.h.
1352 (uw_frame_state_for): Don't clear first
1353 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
1354 (execute_cfa_program, __frame_state_for, uw_update_context_1,
1355 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
1356 or fs.regs.how[X] instead of fs.regs.reg[X].how.
1357 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
1358 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1359 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1360 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
1361 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
1362 Likewise.
1363 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
1364 Likewise.
1365 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
1366 * config/arc/linux-unwind.h (arc_fallback_frame_state,
1367 arc_frob_update_context): Likewise.
1368 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
1369 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
1370 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
1371 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
1372 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
1373 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
1374 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
1375 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
1376 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
1377 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
1378 x86_fallback_frame_state): Likewise.
1379 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
1380 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1381 x86_fallback_frame_state): Likewise.
1382 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
1383 Likewise.
1384 * config/i386/dragonfly-unwind.h
1385 (x86_64_dragonfly_fallback_frame_state): Likewise.
1386 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
1387 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
1388 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
1389 Likewise.
1390 * config/aarch64/freebsd-unwind.h
1391 (aarch64_freebsd_fallback_frame_state): Likewise.
1392 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1393 Likewise.
1394 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
1395 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1396 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
1397 Likewise.
1398 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
1399 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1400 Likewise.
1401 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
1402 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
1403 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
1404 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
1405
1406 2022-10-02 Olivier Hainque <hainque (a] adacore.com>
1407
1408 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
1409 -I options for gcc/include and gcc/include-fixed at the end
1410 and make them -isystem.
1411
1412 2022-10-02 Olivier Hainque <hainque (a] adacore.com>
1413
1414 * config/gthr-vxworks.h: Prevent Wpragma warning for the
1415 pragma diagnostics on Wstrict-prototypes.
1416
1417 2022-09-29 Olivier Hainque <hainque (a] adacore.com>
1418
1419 * config/vxcrtstuff.c: Improve the comment attached to the use
1420 of auto-host.h and of __dso_handle. Remove redundant guard on
1421 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
1422
1423 2022-09-26 Thomas Neumann <tneumann (a] users.sourceforge.net>
1424
1425 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
1426 for the non-fast-path case. Drop destructor priority.
1427
1428 2022-09-22 Thomas Neumann <tneumann (a] users.sourceforge.net>
1429
1430 * unwind-dw2-fde.c: (release_register_frames) Remember
1431 when the btree has been destroyed.
1432 (__deregister_frame_info_bases) Disable the assert when
1433 shutting down.
1434
1435 2022-09-18 Thomas Neumann <tneumann (a] users.sourceforge.net>
1436
1437 * unwind-dw2-fde.c: Replace uintptr_t with typedef
1438 for __UINTPTR_TYPE__.
1439 * unwind-dw2-btree.h: Likewise.
1440
1441 2022-09-16 Thomas Neumann <tneumann (a] users.sourceforge.net>
1442
1443 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
1444 (__register_frame_info_table_bases): Use btree in atomic fast path.
1445 (__deregister_frame_info_bases): Likewise.
1446 (_Unwind_Find_FDE): Likewise.
1447 (base_from_object): Make parameter const.
1448 (classify_object_over_fdes): Add query-only mode.
1449 (get_pc_range): Compute PC range for lookup.
1450 * unwind-dw2-fde.h (last_fde): Make parameter const.
1451 * unwind-dw2-btree.h: New file.
1452
1453 2022-08-31 Martin Liska <mliska (a] suse.cz>
1454
1455 * config.host: Remove hppa.
1456
1457 2022-08-30 Martin Liska <mliska (a] suse.cz>
1458
1459 * config.host: Remove the port.
1460
1461 2022-08-26 Martin Liska <mliska (a] suse.cz>
1462
1463 * config.host: Remove cr16 related stuff.
1464 * config/cr16/crti.S: Removed.
1465 * config/cr16/crtlibid.S: Removed.
1466 * config/cr16/crtn.S: Removed.
1467 * config/cr16/divmodhi3.c: Removed.
1468 * config/cr16/lib1funcs.S: Removed.
1469 * config/cr16/t-cr16: Removed.
1470 * config/cr16/t-crtlibid: Removed.
1471 * config/cr16/unwind-cr16.c: Removed.
1472 * config/cr16/unwind-dw2.h: Removed.
1473
1474 2022-08-16 Kito Cheng <kito.cheng (a] sifive.com>
1475
1476 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
1477 (_FP_NANFRAC_H): Ditto.
1478 (_FP_NANSIGN_H): Ditto.
1479 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
1480 routines.
1481 (softfp_truncations): Ditto.
1482 (softfp_extras): Ditto.
1483 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
1484
1485 2022-08-16 Kito Cheng <kito.cheng (a] sifive.com>
1486
1487 * soft-fp/fixhfdi.c: New.
1488 * soft-fp/fixhfsi.c: Likewise.
1489 * soft-fp/fixunshfdi.c: Likewise.
1490 * soft-fp/fixunshfsi.c: Likewise.
1491 * soft-fp/floatdihf.c: Likewise.
1492 * soft-fp/floatsihf.c: Likewise.
1493 * soft-fp/floatundihf.c: Likewise.
1494 * soft-fp/floatunsihf.c: Likewise.
1495 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
1496 lines and update URL for license.
1497 * soft-fp/addsf3.c: Likewise.
1498 * soft-fp/addtf3.c: Likewise.
1499 * soft-fp/divdf3.c: Likewise.
1500 * soft-fp/divsf3.c: Likewise.
1501 * soft-fp/divtf3.c: Likewise.
1502 * soft-fp/double.h: Likewise.
1503 * soft-fp/eqdf2.c: Likewise.
1504 * soft-fp/eqhf2.c: Likewise.
1505 * soft-fp/eqsf2.c: Likewise.
1506 * soft-fp/eqtf2.c: Likewise.
1507 * soft-fp/extenddftf2.c: Likewise.
1508 * soft-fp/extended.h: Likewise.
1509 * soft-fp/extendhfdf2.c: Likewise.
1510 * soft-fp/extendhfsf2.c: Likewise.
1511 * soft-fp/extendhftf2.c: Likewise.
1512 * soft-fp/extendhfxf2.c: Likewise.
1513 * soft-fp/extendsfdf2.c: Likewise.
1514 * soft-fp/extendsftf2.c: Likewise.
1515 * soft-fp/extendxftf2.c: Likewise.
1516 * soft-fp/fixdfdi.c: Likewise.
1517 * soft-fp/fixdfsi.c: Likewise.
1518 * soft-fp/fixdfti.c: Likewise.
1519 * soft-fp/fixhfti.c: Likewise.
1520 * soft-fp/fixsfdi.c: Likewise.
1521 * soft-fp/fixsfsi.c: Likewise.
1522 * soft-fp/fixsfti.c: Likewise.
1523 * soft-fp/fixtfdi.c: Likewise.
1524 * soft-fp/fixtfsi.c: Likewise.
1525 * soft-fp/fixtfti.c: Likewise.
1526 * soft-fp/fixunsdfdi.c: Likewise.
1527 * soft-fp/fixunsdfsi.c: Likewise.
1528 * soft-fp/fixunsdfti.c: Likewise.
1529 * soft-fp/fixunshfti.c: Likewise.
1530 * soft-fp/fixunssfdi.c: Likewise.
1531 * soft-fp/fixunssfsi.c: Likewise.
1532 * soft-fp/fixunssfti.c: Likewise.
1533 * soft-fp/fixunstfdi.c: Likewise.
1534 * soft-fp/fixunstfsi.c: Likewise.
1535 * soft-fp/fixunstfti.c: Likewise.
1536 * soft-fp/floatdidf.c: Likewise.
1537 * soft-fp/floatdisf.c: Likewise.
1538 * soft-fp/floatditf.c: Likewise.
1539 * soft-fp/floatsidf.c: Likewise.
1540 * soft-fp/floatsisf.c: Likewise.
1541 * soft-fp/floatsitf.c: Likewise.
1542 * soft-fp/floattidf.c: Likewise.
1543 * soft-fp/floattihf.c: Likewise.
1544 * soft-fp/floattisf.c: Likewise.
1545 * soft-fp/floattitf.c: Likewise.
1546 * soft-fp/floatundidf.c: Likewise.
1547 * soft-fp/floatundisf.c: Likewise.
1548 * soft-fp/floatunditf.c: Likewise.
1549 * soft-fp/floatunsidf.c: Likewise.
1550 * soft-fp/floatunsisf.c: Likewise.
1551 * soft-fp/floatunsitf.c: Likewise.
1552 * soft-fp/floatuntidf.c: Likewise.
1553 * soft-fp/floatuntihf.c: Likewise.
1554 * soft-fp/floatuntisf.c: Likewise.
1555 * soft-fp/floatuntitf.c: Likewise.
1556 * soft-fp/gedf2.c: Likewise.
1557 * soft-fp/gesf2.c: Likewise.
1558 * soft-fp/getf2.c: Likewise.
1559 * soft-fp/half.h: Likewise.
1560 * soft-fp/ledf2.c: Likewise.
1561 * soft-fp/lesf2.c: Likewise.
1562 * soft-fp/letf2.c: Likewise.
1563 * soft-fp/muldf3.c: Likewise.
1564 * soft-fp/mulsf3.c: Likewise.
1565 * soft-fp/multf3.c: Likewise.
1566 * soft-fp/negdf2.c: Likewise.
1567 * soft-fp/negsf2.c: Likewise.
1568 * soft-fp/negtf2.c: Likewise.
1569 * soft-fp/op-1.h: Likewise.
1570 * soft-fp/op-2.h: Likewise.
1571 * soft-fp/op-4.h: Likewise.
1572 * soft-fp/op-8.h: Likewise.
1573 * soft-fp/op-common.h: Likewise.
1574 * soft-fp/quad.h: Likewise.
1575 * soft-fp/single.h: Likewise.
1576 * soft-fp/soft-fp.h: Likewise.
1577 * soft-fp/subdf3.c: Likewise.
1578 * soft-fp/subsf3.c: Likewise.
1579 * soft-fp/subtf3.c: Likewise.
1580 * soft-fp/truncdfhf2.c: Likewise.
1581 * soft-fp/truncdfsf2.c: Likewise.
1582 * soft-fp/truncsfhf2.c: Likewise.
1583 * soft-fp/trunctfdf2.c: Likewise.
1584 * soft-fp/trunctfhf2.c: Likewise.
1585 * soft-fp/trunctfsf2.c: Likewise.
1586 * soft-fp/trunctfxf2.c: Likewise.
1587 * soft-fp/truncxfhf2.c: Likewise.
1588 * soft-fp/unorddf2.c: Likewise.
1589 * soft-fp/unordsf2.c: Likewise.
1590 * soft-fp/unordtf2.c: Likewise.
1591
1592 2022-07-18 Claudiu Zissulescu <claziss (a] synopsys.com>
1593
1594 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
1595 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
1596 configurations.
1597
1598 2022-06-25 Jeff Law <jeffreyalaw (a] gmail.com>
1599
1600 * config.host: Removed tilegx and tilepro entries.
1601 * config/tilegx/sfp-machine.h: Removed.
1602 * config/tilegx/sfp-machine32.h: Removed.
1603 * config/tilegx/sfp-machine64.h: Removed.
1604 * config/tilegx/t-crtstuff: Removed.
1605 * config/tilegx/t-softfp: Removed.
1606 * config/tilegx/t-tilegx: Removed.
1607 * config/tilepro/atomic.c: Removed.
1608 * config/tilepro/atomic.h: Removed.
1609 * config/tilepro/linux-unwind.h: Removed.
1610 * config/tilepro/sfp-machine.h: Removed.
1611 * config/tilepro/softdivide.c: Removed.
1612 * config/tilepro/softmpy.S: Removed.
1613 * config/tilepro/t-crtstuff: Removed.
1614 * config/tilepro/t-tilepro: Removed.
1615
1616 2022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175 (a] yahoo.co.jp>
1617
1618 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
1619 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
1620
1621 2022-06-01 H.J. Lu <hjl.tools (a] gmail.com>
1622
1623 PR libgcc/27576
1624 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
1625
1626 2022-05-25 Wilco Dijkstra <wilco.dijkstra (a] arm.com>
1627
1628 PR libgcc/105708
1629 * config/aarch64/lse-init.c: Increase constructor priority.
1630
1631 2022-05-25 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
1632
1633 PR target/104689
1634 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1635 Handle the !REG_UNSAVED case.
1636 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
1637
1638 2022-05-20 Christophe Lyon <christophe.lyon (a] arm.com>
1639
1640 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
1641 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
1642 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
1643
1644 2022-05-20 Christophe Lyon <christophe.lyon (a] arm.com>
1645
1646 * config.host: Add t-dfprules to AArch64 targets.
1647
1648 2022-05-20 Christophe Lyon <christophe.lyon (a] arm.com>
1649
1650 * configure: Regenerate.
1651
1652 2022-05-13 Sebastian Pop <spop (a] amazon.com>
1653
1654 PR target/105162
1655 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
1656 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
1657
1658 2022-05-10 Martin Liska <mliska (a] suse.cz>
1659 Hans-Peter Helfert <peter-helfert (a] t-online.de>
1660
1661 PR gcov-profile/105535
1662 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
1663 n_functions.
1664
1665 2022-05-02 Martin Liska <mliska (a] suse.cz>
1666
1667 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
1668
1669 2022-04-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1670
1671 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
1672 (gcov_profile_merge_stream): Likewise.
1673
1674 2022-04-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1675
1676 * libgcov-util.c (consume_stream): New.
1677 (get_target_profiles_for_merge): Likewise.
1678 (gcov_profile_merge_stream): Likewise.
1679
1680 2022-04-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1681
1682 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
1683
1684 2022-04-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1685
1686 * libgcov-util.c (read_gcda_file): Do not open file.
1687 (ftw_read_file): Open file here.
1688
1689 2022-04-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1690
1691 * libgcov-util.c (read_gcda_file): Prepend new info object to global
1692 list.
1693 (ftw_read_file): Remove list append here.
1694
1695 2022-04-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1696
1697 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
1698 (ftw_read_file): Duplicate filename for read_gcda_file().
1699
1700 2022-04-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1701
1702 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
1703 (__gcov_filename_to_gcfn): Declare and document.
1704 * libgcov-driver.c (dump_string): New.
1705 (__gcov_filename_to_gcfn): Likewise.
1706 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
1707
1708 2022-04-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1709
1710 * libgcov.h (gcov_seek): Remove define and declaration.
1711
1712 2022-04-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1713
1714 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
1715 parameter. Pass mode to gcov_open() calls.
1716 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
1717 gcov_exit_open_gcda_file() call.
1718 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
1719 calls.
1720 (__gcov_dump_one): Open file for reading and writing.
1721
1722 2022-04-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1723
1724 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
1725 reading and writing.
1726 * libgcov-util.c (read_gcda_file): Open file for reading.
1727 * libgcov.h (gcov_open): Delete declaration.
1728
1729 2022-04-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1730
1731 * libgcov-util.c (gcov_profile_merge): Return the list of merged
1732 profiles. Accept empty target and source profile lists.
1733
1734 2022-04-08 Sergei Trofimovich <siarheit (a] google.com>
1735
1736 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
1737
1738 2022-03-29 Chenghua Xu <xuchenghua (a] loongson.cn>
1739 Lulu Cheng <chenglulu (a] loongson.cn>
1740
1741 * configure: Regenerate file.
1742
1743 2022-03-29 Chenghua Xu <xuchenghua (a] loongson.cn>
1744 Lulu Cheng <chenglulu (a] loongson.cn>
1745
1746 * config/loongarch/crtfastmath.c: New file.
1747 * config/loongarch/linux-unwind.h: Like wise.
1748 * config/loongarch/sfp-machine.h: Like wise.
1749 * config/loongarch/t-crtstuff: Like wise.
1750 * config/loongarch/t-loongarch: Like wise.
1751 * config/loongarch/t-loongarch64: Like wise.
1752 * config/loongarch/t-softfp-tf: Like wise.
1753 * config.host: Add LoongArch tuples.
1754 * configure.ac: Add LoongArch support.
1755
1756 2022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
1757
1758 PR libgcc/86224
1759 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
1760 for __mulsi3.
1761 (__udivsi3_internal, __divsi3_internal): Similarly.
1762 (__umodsi3, __modsi3): Use the internal function names.
1763
1764 2022-03-09 Tobias Burnus <tobias (a] codesourcery.com>
1765
1766 PR target/102215
1767 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
1768 a line up to non-arg-dependent value first.
1769 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
1770 __atomic_compare_exchange_{1,2}.
1771
1772 2022-03-04 Iain Sandoe <iain (a] sandoe.co.uk>
1773
1774 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
1775 * config/t-darwin-ehs: Add dependency on unwind.h.
1776
1777 2022-02-24 Xi Ruoyao <xry111 (a] mengyan1223.wang>
1778
1779 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
1780 with 0 instead of NULL.
1781
1782 2022-02-24 Jose E. Marchesi <jose.marchesi (a] oracle.com>
1783
1784 PR target/104656
1785 * configure.ac: --disable-gcov if targetting bpf-*.
1786 * configure: Regenerate.
1787
1788 2022-01-25 Florian Weimer <fweimer (a] redhat.com>
1789
1790 PR libgcc/104207
1791 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
1792
1793 2022-01-17 Martin Liska <mliska (a] suse.cz>
1794
1795 * libgcov-driver.c: Rename .c names to .cc.
1796
1797 2022-01-15 David <gccbugzilla (a] limegreensocks.com>
1798
1799 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
1800 Remove inlined version, Windows 95 is no longer relevant.
1801 * config/i386/gthr-win32.h
1802 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
1803
1804 2022-01-14 Claudiu Zissulescu <claziss (a] synopsys.com>
1805
1806 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1807 DWARF_ALT_FRAME_RETURN_COLUMN macro.
1808
1809 2022-01-04 Florian Weimer <fweimer (a] redhat.com>
1810
1811 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1812 if available.
1813
1814 2022-01-02 John David Anglin <danglin (a] gcc.gnu.org>
1815
1816 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1817 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1818 return is not equal _ASM_EFAULT.
1819 (__kernel_cmpxchg2): Likewise.
1820
1821 2021-12-17 Iain Sandoe <iain (a] sandoe.co.uk>
1822
1823 * config.host: Add shim declaration header to powerpc*-darwin builds.
1824 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1825 file.
1826 * config/t-darwin-ehs: Add dependencies to the shared unwinder
1827 objects.
1828 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1829 the shared EH lib. Add all-multi to the dependencies for the
1830 libgcc_s.1.dylib redirections.
1831
1832 2021-12-13 Olivier Hainque <hainque (a] adacore.com>
1833
1834 * config.host (powerpc*-*-vxworks7*): Remove
1835 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1836
1837 2021-12-13 Olivier Hainque <hainque (a] adacore.com>
1838
1839 * config.host (*vxworks*): Remove special case for
1840 arm on the use of vxcrtstuff.
1841
1842 2021-12-13 Fred Konrad <konrad (a] adacore.com>
1843 Olivier Hainque <hainque (a] adacore.com>
1844
1845 * config/t-vxcrtstuffS: New Makefile fragment.
1846 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1847 functions for INITFINI_ARRAY support in shared libs and guard
1848 the definition of eh table registration functions on conditions
1849 indicating they are needed.
1850
1851 2021-12-13 Olivier Hainque <hainque (a] adacore.com>
1852
1853 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1854 ahead of the other files in tmake_files.
1855 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1856 overriding it.
1857
1858 2021-12-13 Olivier Hainque <hainque (a] adacore.com>
1859
1860 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1861 both VxWorks7 and earlier.
1862 * config/t-vxworks7: Remove.
1863 * config.host: Remove special case for vxworks7.
1864
1865 2021-12-11 Rasmus Villemoes <rasmus.villemoes (a] prevas.dk>
1866
1867 * config/vxcrtstuff.c: Make constructor and destructor
1868 functions static when possible.
1869
1870 2021-12-11 Rasmus Villemoes <rasmus.villemoes (a] prevas.dk>
1871
1872 * config/vxcrtstuff.c: Remove constructor/destructor
1873 declarations.
1874
1875 2021-12-10 Iain Sandoe <iain (a] sandoe.co.uk>
1876
1877 * config/t-darwin: Add libgcc_tm.h to the dependencies
1878 for darwin10-unwind-find-enc-func.
1879
1880 2021-12-10 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
1881
1882 * config/rs6000/t-vxworks: New file.
1883 * config.host (powerpc*-*-vxworks*): Use it instead of
1884 t-ppccomm.
1885
1886 2021-12-09 Fred Konrad <konrad (a] adacore.com>
1887
1888 * config.host (powerpc*-wrs-vxworks7*): Fix path to
1889 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1890
1891 2021-12-09 Olivier Hainque <hainque (a] adacore.com>
1892 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
1893
1894 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1895 $(LIBGCC2_INCLUDES).
1896 * config/t-vxworks7: Likewise.
1897
1898 2021-12-08 Iain Sandoe <iain (a] sandoe.co.uk>
1899
1900 * config.host (*-*-darwin*): Add logic to build a shared
1901 unwinder library for Darwin8-10.
1902 * config/i386/t-darwin: Build legacy libgcc_s.1.
1903 * config/rs6000/t-darwin: Likewise.
1904 * config/t-darwin: Reorganise the EH fragments to place
1905 them for inclusion in a shared EH lib.
1906 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1907 the supporting pieces (all FAT libs).
1908 * config/t-darwin-noeh: Removed.
1909 * config/darwin-unwind.ver: New file.
1910 * config/rs6000/t-darwin-ehs: New file.
1911 * config/t-darwin-ehs: New file.
1912
1913 2021-12-06 Nelson Chu <nelson.chu (a] sifive.com>
1914
1915 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1916 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1917 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1918 HIDDEN_DEF.
1919
1920 2021-11-30 Rasmus Villemoes <rasmus.villemoes (a] prevas.dk>
1921
1922 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1923 ssize_t and vfork after including auto-host.h.
1924
1925 2021-11-29 Rasmus Villemoes <rasmus.villemoes (a] prevas.dk>
1926
1927 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1928 crtend.o to extra_parts.
1929
1930 2021-11-27 John David Anglin <danglin (a] gcc.gnu.org>
1931
1932 * config/pa/t-dimode (lib2difuncs): Fix typo.
1933
1934 2021-11-25 Florian Weimer <fweimer (a] redhat.com>
1935
1936 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1937 Remove func, ret.
1938 (find_fde_tail): New function. Split from
1939 _Unwind_IteratePhdrCallback. Move the result initialization
1940 from _Unwind_Find_FDE.
1941 (_Unwind_Find_FDE): Updated to call find_fde_tail.
1942
1943 2021-11-22 Florian Weimer <fweimer (a] redhat.com>
1944
1945 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1946 (struct unw_eh_callback_data): Make dbase member conditional.
1947 (unw_eh_callback_data_dbase): New function.
1948 (base_from_cb_data): Simplify for the non-dbase case.
1949 (_Unwind_IteratePhdrCallback): Adjust.
1950 (_Unwind_Find_FDE): Likewise.
1951
1952 2021-11-22 Florian Weimer <fweimer (a] redhat.com>
1953
1954 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1955 tbase member.
1956 (base_from_cb_data): Adjust.
1957 (_Unwind_IteratePhdrCallback): Likewise.
1958 (_Unwind_Find_FDE): Likewise.
1959
1960 2021-11-19 Iain Sandoe <iain (a] sandoe.co.uk>
1961
1962 * config.host: Add weak emutls crt to the extra_parts.
1963 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1964 workaround.
1965 * config/libgcc-libsystem.ver: Add exclude list for the system-
1966 provided unwinder.
1967 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1968 * config/i386/libgcc-darwin.10.4.ver: Removed.
1969 * config/i386/libgcc-darwin.10.5.ver: Removed.
1970 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1971 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1972 * config/t-darwin-noeh: New file.
1973
1974 2021-11-19 Iain Sandoe <iain (a] sandoe.co.uk>
1975
1976 * config/t-darwin: Build weak-defined emutls objects.
1977 * emutls.c (__emutls_get_address): Add optional attributes.
1978 (__emutls_register_common): Likewise.
1979 (EMUTLS_ATTR): New.
1980
1981 2021-11-11 Raphael Moreira Zinsly <rzinsly (a] linux.ibm.com>
1982
1983 PR libgcc/103044
1984 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1985 called with a null argument or at the end of the backtrace and return.
1986 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1987
1988 2021-11-10 Jakub Jelinek <jakub (a] redhat.com>
1989
1990 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1991 formatting fix.
1992
1993 2021-11-05 Iain Sandoe <iain (a] sandoe.co.uk>
1994
1995 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1996 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1997
1998 2021-11-05 John David Anglin <danglin (a] gcc.gnu.org>
1999
2000 PR libgomp/96661
2001 * config.host (hppa*64*-*-linux*): Revise tmake_file.
2002 (hppa*64*-*-hpux11*): Likewise.
2003 * config/pa/sfp-exceptions.c: New.
2004 * config/pa/sfp-machine.h: New.
2005 * config/pa/t-dimode: New.
2006 * config/pa/t-softfp-sfdftf: New.
2007
2008 2021-10-27 John David Anglin <danglin (a] gcc.gnu.org>
2009
2010 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
2011 tmake_file.
2012 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
2013 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
2014 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
2015 * config/pa/t-linux64 (LIB1ASMSRC): New define.
2016 (LIB1ASMFUNCS): Revise.
2017 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
2018
2019 2021-10-22 Stafford Horne <shorne (a] gmail.com>
2020
2021 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2022 Change to 0.
2023
2024 2021-10-14 Raphael Moreira Zinsly <rzinsly (a] linux.ibm.com>
2025
2026 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
2027 outside of get_regs() in order to use it in another function, this
2028 is done twice: for __powerpc64__ and for !__powerpc64__.
2029 (struct trace_arg): New struct.
2030 (struct layout): New struct.
2031 (ppc_backchain_fallback): New function.
2032 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
2033 state and call MD_BACKCHAIN_FALLBACK.
2034
2035 2021-10-13 Martin Liska <mliska (a] suse.cz>
2036
2037 PR gcov-profile/90364
2038 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
2039 checksums.
2040 (write_one_data): Write also checksum.
2041 * libgcov-util.c (read_gcda_file): Read also checksum field.
2042 * libgcov.h (struct gcov_info): Add new field.
2043
2044 2021-10-08 Ian Lance Taylor <iant (a] golang.org>
2045
2046 * config/i386/morestack.S: Use .init_array for constructor if
2047 available.
2048 * config/rs6000/morestack.S: Likewise.
2049 * config/s390/morestack.S: Likewise.
2050
2051 2021-10-03 Patrick McGehearty <patrick.mcgehearty (a] oracle.com>
2052
2053 PR target/101104
2054 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
2055 Use more correct values for native IBM 128-bit.
2056
2057 2021-09-28 Iain Sandoe <iain (a] sandoe.co.uk>
2058
2059 * config/i386/libgcc-darwin.ver: Add Symbols for
2060 __cpu_model, __cpu_indicator_init.
2061
2062 2021-09-22 Iain Sandoe <iain (a] sandoe.co.uk>
2063
2064 * config/i386/sfp-machine.h: Guard Mach-O-specific code
2065 using __APPLE__.
2066
2067 2021-09-19 Iain Sandoe <iain (a] sandoe.co.uk>
2068
2069 * config/t-slibgcc-darwin: Delete unused code.
2070
2071 2021-09-19 Iain Sandoe <iain (a] sandoe.co.uk>
2072
2073 * config/i386/t-darwin: Add in a vers file for X86-specific
2074 symbols.
2075 * config/t-darwin: Add the generic symbol maps here...
2076 * config/t-slibgcc-darwin: ... removing from here.
2077 * config/i386/libgcc-darwin.ver: New file.
2078
2079 2021-09-19 Iain Sandoe <iain (a] sandoe.co.uk>
2080
2081 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
2082 and __mulhc3.
2083
2084 2021-09-19 Iain Sandoe <iain (a] sandoe.co.uk>
2085
2086 * config.host: Use convenience library for Darwin10
2087 unwinder shim.
2088 * config/t-darwin: Build Darwin10 unwinder shim as a
2089 convenience library.
2090
2091 2021-09-13 Andrew Pinski <apinski (a] marvell.com>
2092
2093 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
2094 * config/m32r/libgcc-glibc.ver: Removed.
2095 * config/m32r/t-linux: Removed.
2096
2097 2021-09-08 liuhongt <hongtao.liu (a] intel.com>
2098
2099 * config/i386/t-softfp: Compile __{mul,div}hc3 into
2100 libgcc_s.so.1.
2101
2102 2021-09-08 Jakub Jelinek <jakub (a] redhat.com>
2103 Iain Sandoe <iain (a] sandoe.co.uk>
2104
2105 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
2106 and export *hf* and *hc* functions at GCC_12.0.0.
2107
2108 2021-09-06 liuhongt <hongtao.liu (a] intel.com>
2109
2110 * Makefile.in: Adjust to support specific CFLAGS for each
2111 libgcc source file.
2112 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
2113 related libgcc source files.
2114 * config/i386/t-softfp: Ditto.
2115 * config/i386/_divhc3.c: New file.
2116 * config/i386/_mulhc3.c: New file.
2117
2118 2021-09-03 Iain Sandoe <iain (a] sandoe.co.uk>
2119
2120 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
2121 alias_DFtype, alias_TFtype): New.
2122 (ALIAS_SELECTOR): New.
2123 (strong_alias): Use __typeof and a _Generic selector to
2124 provide the type to the synthesized function.
2125
2126 2021-09-02 liuhongt <hongtao.liu (a] intel.com>
2127
2128 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
2129 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
2130 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
2131 * config/i386/t-softfp: Add hf soft-fp.
2132 * config.host: Add i386/64/t-softfp.
2133 * config/i386/64/t-softfp: New file.
2134
2135 2021-09-02 liuhongt <hongtao.liu (a] intel.com>
2136
2137 * soft-fp/eqhf2.c: New file.
2138 * soft-fp/extendhfdf2.c: New file.
2139 * soft-fp/extendhfsf2.c: New file.
2140 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
2141 * soft-fp/truncdfhf2.c: New file
2142 * soft-fp/truncsfhf2.c: New file
2143
2144 2021-09-01 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
2145
2146 * unwind-arm-common.inc (abort): Remove.
2147
2148 2021-08-31 Richard Sandiford <richard.sandiford (a] arm.com>
2149
2150 * config/aarch64/value-unwind.h: Add missing runtime exception
2151 paragraph.
2152 * config/frv/frv-abi.h: Likewise.
2153 * config/i386/value-unwind.h: Likewise.
2154 * config/pa/pa64-hpux-lib.h: Likewise.
2155
2156 2021-08-26 David Edelsohn <dje.gcc (a] gmail.com>
2157
2158 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
2159 __gcc_qadd.
2160 (__gcc_qadd): Call ldouble_qadd_internal.
2161 (__gcc_qsub): Call ldouble_qadd_internal with second long double
2162 argument negated.
2163
2164 2021-08-26 Jonathan Yong <10walls (a] gmail.com>
2165
2166 * config/i386/cygming-crtend.c: Fix register_frame_ctor
2167 and register_frame_dtor warnings.
2168
2169 2021-08-24 Richard Earnshaw <rearnsha (a] arm.com>
2170
2171 PR target/102035
2172 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
2173 Add vlldm erratum work-around.
2174
2175 2021-08-21 John David Anglin <danglin (a] gcc.gnu.org>
2176
2177 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
2178
2179 2021-08-16 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
2180
2181 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
2182 (gcov_type_unsigned): Likewise.
2183
2184 2021-08-14 Stafford Horne <shorne (a] gmail.com>
2185
2186 PR target/99783
2187 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
2188 * config/or1k/t-crtstuff: New file.
2189
2190 2021-08-06 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
2191
2192 * libgcov-driver.c (#include <stdint.h>): Remove.
2193 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
2194
2195 2021-08-06 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
2196
2197 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
2198 * gcov.h (gcov_info): Declare.
2199 (__gcov_info_to_gdca): Likewise.
2200 * libgcov.h (gcov_write_counter): Remove.
2201 (gcov_write_tag_length): Likewise.
2202 * libgcov-driver.c (#include <stdint.h>): New.
2203 (#include <string.h>): Remove.
2204 (NEED_L_GCOV): Conditionally define.
2205 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
2206 (are_all_counters_zero): New.
2207 (gcov_dump_handler): Likewise.
2208 (gcov_allocate_handler): Likewise.
2209 (dump_unsigned): Likewise.
2210 (dump_counter): Likewise.
2211 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
2212 Use dump_unsigned() and dump_counter().
2213 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
2214 dump_unsigned(), dump_counter(), and are_all_counters_zero().
2215 (__gcov_info_to_gcda): New.
2216
2217 2021-08-05 Jakub Jelinek <jakub (a] redhat.com>
2218
2219 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
2220 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
2221 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
2222 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
2223
2224 2021-08-04 Jakub Jelinek <jakub (a] redhat.com>
2225
2226 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
2227
2228 2021-07-15 Alan Modra <amodra (a] gmail.com>
2229
2230 * config/rs6000/morestack.S (R2_SAVE): Define.
2231 (__morestack): Save and restore r2. Set up r2 for called
2232 functions.
2233
2234 2021-07-01 H.J. Lu <hjl.tools (a] gmail.com>
2235
2236 * soft-fp/extendhfxf2.c: New file.
2237 * soft-fp/truncxfhf2.c: Likewise.
2238
2239 2021-06-29 Julian Brown <julian (a] codesourcery.com>
2240
2241 * config/gcn/lib2-bswapti2.c: New file.
2242 * config/gcn/lib2-divmod-di.c: New file.
2243 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
2244 typedefs.
2245 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
2246 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
2247 lib2-bswapti2.c.
2248
2249 2021-06-29 Julian Brown <julian (a] codesourcery.com>
2250
2251 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
2252 return types to USItype.
2253 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
2254
2255 2021-06-23 Kewen Lin <linkw (a] linux.ibm.com>
2256
2257 * configure: Regenerate.
2258 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
2259 typos among the name, CFLAGS and the test.
2260 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
2261 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
2262 Remove.
2263 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
2264 macro FLOAT128_HW_INSNS_ISA3_1.
2265 (FP128_3_1_CFLAGS_HW): Fix option typo.
2266 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
2267 FLOAT128_HW_INSNS_ISA3_1.
2268 (__floattikf_resolve): Likewise.
2269 (__floatuntikf_resolve): Likewise.
2270 (__fixkfti_resolve): Likewise.
2271 (__fixunskfti_resolve): Likewise.
2272 (__floattikf): Likewise.
2273 (__floatuntikf): Likewise.
2274 (__fixkfti): Likewise.
2275 (__fixunskfti): Likewise.
2276
2277 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni (a] arm.com>
2278
2279 PR target/99939
2280 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
2281 macro.
2282 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
2283 on passing -mcmse option.
2284
2285 2021-06-10 Segher Boessenkool <segher (a] kernel.crashing.org>
2286
2287 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
2288 _ARCH_PPC64 .
2289
2290 2021-06-09 Carl Love <cel (a] us.ibm.com>
2291
2292 * config.host: Add if test and set for
2293 libgcc_cv_powerpc_3_1_float128_hw.
2294 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
2295 Change calls of __fixkfti to __fixkfti_sw.
2296 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
2297 Change calls of __fixunskfti to __fixunskfti_sw.
2298 * config/rs6000/float128-p10.c (__floattikf_hw,
2299 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
2300 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
2301 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
2302 __fixunskfti_resolve): Add resolve functions.
2303 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
2304 * config/rs6000/float128-sed (floattitf, __floatuntitf,
2305 __fixtfti, __fixunstfti): Add editor commands to change names.
2306 * config/rs6000/float128-sed-hw (__floattitf,
2307 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
2308 change names.
2309 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
2310 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
2311 * config/rs6000/quad-float128.h (__floattikf_sw,
2312 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
2313 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
2314 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
2315 * config/rs6000/t-float128 (floattikf, floatuntikf,
2316 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
2317 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
2318 file names to fp128_ppc_funcs.
2319 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
2320 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
2321 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
2322 * config/rs6000/t-float128-p10-hw: New file.
2323 * configure: Update script for isa 3.1 128-bit float support.
2324 * configure.ac: Add check for 128-bit float hardware support.
2325 * config/rs6000/fixkfti-sw.c: New file.
2326 * config/rs6000/fixunskfti-sw.c: New file.
2327 * config/rs6000/floattikf-sw.c: New file.
2328 * config/rs6000/floatuntikf-sw.c: New file.
2329
2330 2021-05-13 Dimitar Dimitrov <dimitar (a] dinux.eu>
2331
2332 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
2333
2334 2021-05-13 Martin Liska <mliska (a] suse.cz>
2335
2336 * libgcov-driver.c: Fix GNU coding style.
2337
2338 2021-05-10 Martin Liska <mliska (a] suse.cz>
2339
2340 * libgcov-driver.c (gcov_version): Use different name that does
2341 not clash with newly introduced macro.
2342
2343 2021-04-29 Eric Botcazou <ebotcazou (a] adacore.com>
2344
2345 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
2346 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
2347 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
2348
2349 2021-04-28 Patrick McGehearty <patrick.mcgehearty (a] oracle.com>
2350
2351 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
2352 Define.
2353 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
2354 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
2355 Define.
2356 (__divkc3): Improve complex divide.
2357
2358 2021-04-23 Michael Meissner <meissner (a] linux.ibm.com>
2359
2360 PR target/98952
2361 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
2362 trampoline size comparison in 32-bit by reversing test and
2363 combining load immediate with compare.
2364 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
2365 in 32-bit by reversing test and combining load immediate with
2366 compare.
2367
2368 2021-04-05 Florian Weimer <fweimer (a] redhat.com>
2369 Michael Meissner <meissner (a] linux.ibm.com>
2370
2371 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
2372 point functions for $(decimal_float) only.
2373
2374 2021-04-03 Jakub Jelinek <jakub (a] redhat.com>
2375
2376 PR target/97653
2377 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
2378 $(objext) instead of $(object). Use _floatunditf instead of
2379 _floatunsditf. Add tf <-> ti conversion objects.
2380 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
2381
2382 2021-03-29 Michael Meissner <meissner (a] linux.ibm.com>
2383
2384 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
2385 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
2386 (fp128_decstr_objs): Delete.
2387 * dfp-bit.h: Call __sprintfieee128 to do conversions from
2388 _Float128 to a Decimal type. Call __strtoieee128 to do
2389 conversions from a Decimal type to _Float128.
2390 * config/rs6000/_sprintfkf.c: Delete file.
2391 * config/rs6000/_sprintfkf.h: Delete file.
2392 * config/rs6000/_strtokf.c: Delete file.
2393 * config/rs6000/_strtokf.h: Delete file.
2394
2395 2021-03-23 Marcus Comstedt <marcus (a] mc.pp.se>
2396
2397 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
2398 to __BYTE_ORDER__.
2399
2400 2021-03-06 Jakub Jelinek <jakub (a] redhat.com>
2401
2402 PR gcov-profile/99406
2403 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
2404 defined, define these macros if not defined already.
2405
2406 2021-03-04 Martin Liska <mliska (a] suse.cz>
2407
2408 PR gcov-profile/99105
2409 * libgcov-driver.c (write_top_counters): Rename to ...
2410 (write_topn_counters): ... this.
2411 (write_one_data): Pre-allocate buffer for number of items
2412 in the corresponding linked lists.
2413 * libgcov.h (malloc_mmap): New function.
2414 (allocate_gcov_kvp): Use it.
2415
2416 2021-03-04 Martin Liska <mliska (a] suse.cz>
2417
2418 PR gcov-profile/99385
2419 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
2420
2421 2021-03-03 Martin Liska <mliska (a] suse.cz>
2422
2423 PR gcov-profile/97461
2424 * config.in: Regenerate.
2425 * configure: Likewise.
2426 * configure.ac: Check sys/mman.h header file
2427 * libgcov-driver.c (struct gcov_kvp): Remove static
2428 pre-allocated pool and use a dynamic one.
2429 * libgcov.h (MMAP_CHUNK_SIZE): New.
2430 (gcov_counter_add): Use mmap to allocate pool for struct
2431 gcov_kvp.
2432
2433 2021-03-02 Michael Meissner <meissner (a] linux.ibm.com>
2434
2435 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
2436 the function.
2437 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
2438
2439 2021-02-24 Jakub Jelinek <jakub (a] redhat.com>
2440
2441 PR libgcc/99236
2442 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
2443 negation of m in unsigned type.
2444
2445 2021-02-24 Christophe Lyon <christophe.lyon (a] linaro.org>
2446 Hau Hsu <hsuhau617 (a] gmail.com>
2447
2448 PR target/99157
2449 * config/arm/t-arm: Fix cmse support detection.
2450
2451 2021-02-22 Michael Meissner <meissner (a] linux.ibm.com>
2452
2453 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
2454
2455 2021-02-22 Michael Meissner <meissner (a] linux.ibm.com>
2456
2457 * config/rs6000/_dd_to_kf.c: New file.
2458 * config/rs6000/_kf_to_dd.c: New file.
2459 * config/rs6000/_kf_to_sd.c: New file.
2460 * config/rs6000/_kf_to_td.c: New file.
2461 * config/rs6000/_sd_to_kf.c: New file.
2462 * config/rs6000/_sprintfkf.c: New file.
2463 * config/rs6000/_sprintfkf.h: New file.
2464 * config/rs6000/_strtokf.h: New file.
2465 * config/rs6000/_strtokf.c: New file.
2466 * config/rs6000/_td_to_kf.c: New file.
2467 * config/rs6000/quad-float128.h: Add new declarations.
2468 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
2469 (fp128_decstr_funcs): New macro.
2470 (ibm128_dec_funcs): New macro.
2471 (fp128_ppc_funcs): Add the new conversions.
2472 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
2473 compiled with -mabi=ieeelongdouble.
2474 (fp128_decstr_objs): Force __float128 <-> string conversions to be
2475 compiled with -mabi=ibmlongdouble.
2476 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
2477 compiled with -mabi=ieeelongdouble.
2478 (FP128_CFLAGS_DECIMAL): New macro.
2479 (IBM128_CFLAGS_DECIMAL): New macro.
2480 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
2481 (BFP_TO_DFP): Add PowerPC _Float128 support.
2482 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
2483 IEEE 128-bit floating point.
2484 (DFP_TO_BFP): Add PowerPC _Float128 support.
2485 (BFP_TO_DFP): Add PowerPC _Float128 support.
2486 (BFP_SPRINTF): New macro.
2487
2488 2021-01-27 Jakub Jelinek <jakub (a] redhat.com>
2489
2490 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
2491 * config/i386/savms64f.h: Likewise.
2492 * config/i386/resms64.h: Likewise.
2493 * config/i386/resms64f.h: Likewise.
2494 * config/i386/resms64x.h: Likewise.
2495 * config/i386/resms64fx.h: Likewise.
2496
2497 2021-01-26 Martin Liska <mliska (a] suse.cz>
2498
2499 PR gcov-profile/98739
2500 * libgcov.h (gcov_topn_add_value): Do not train when
2501 we have a merged profile with a negative number of total
2502 value.
2503
2504 2021-01-25 Martin Liska <mliska (a] suse.cz>
2505
2506 PR gcov-profile/98739
2507 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
2508 ends with a dropped counter.
2509 * libgcov.h (gcov_topn_add_value): Add return value.
2510
2511 2021-01-13 Stafford Horne <shorne (a] gmail.com>
2512
2513 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
2514 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
2515 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
2516 FP_EX_ALL): New constant macros.
2517 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
2518 FP_HANDLE_EXCEPTIONS): New macros.
2519 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
2520
2521 2021-01-13 Samuel Thibault <samuel.thibault (a] gnu.org>
2522
2523 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
2524 posix siginfo case to struct handler_args. Detect between legacy
2525 and siginfo from the second parameter, which is a small sigcode in
2526 the legacy case, and a pointer in the siginfo case.
2527
2528 2020-12-20 Max Filippov <jcmvbkbc (a] gmail.com>
2529
2530 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
2531 functions.
2532 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
2533 _bswapdi2.
2534
2535 2020-12-08 Ian Lance Taylor <iant (a] golang.org>
2536
2537 * generic-morestack-thread.c (free_segments): Block signals during
2538 thread exit.
2539
2540 2020-12-03 Michael Meissner <meissner (a] linux.ibm.com>
2541
2542 PR libgcc/97543
2543 PR libgcc/97643
2544 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
2545 (IBM128_SHARED_OBJS): New make variable.
2546 (IBM128_OBJS): New make variable. Set all objects to use the
2547 explicit IBM format, and disable gnu attributes.
2548 (IBM128_CFLAGS): New make variable.
2549 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
2550 modules.
2551
2552 2020-12-03 Alexandre Oliva <oliva (a] adacore.com>
2553
2554 * config/t-vxworks (LIB2ADD): Drop.
2555 * config/t-vxworks7 (LIB2ADD): Likewise.
2556 * config/vxcache.c: Remove.
2557
2558 2020-11-30 Stefan Kanthak <stefan.kanthak (a] nexgo.de>
2559
2560 * libgcc2.c (bswapsi2): Make constants unsigned.
2561
2562 2020-11-25 Stefan Kanthak <stefan.kanthak (a] nexgo.de>
2563
2564 * libgcc2.c (absvSI2): Simplify/improve implementation by using
2565 builtin_add_overflow.
2566 (absvsi2, absvDI2): Likewise.
2567
2568 2020-11-20 Maciej W. Rozycki <macro (a] linux-mips.org>
2569
2570 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
2571 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
2572
2573 2020-11-18 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
2574
2575 * config/msp430/lib2hw_mul.S (mult64_hw): New.
2576 (if MUL_32): Use mult64_hw for __muldi3.
2577 (if MUL_F5): Use mult64_hw for __muldi3.
2578 * config/msp430/lib2mul.c (__muldi3): New.
2579 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
2580
2581 2020-11-17 Alan Modra <amodra (a] gmail.com>
2582
2583 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
2584 (LIB2_SIDITI_CONV_FUNCS): Define.
2585 * config/rs6000/ppc64-fp.c: Delete file.
2586
2587 2020-11-15 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
2588
2589 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
2590 hwmult library functions.
2591
2592 2020-11-10 Jeff Law <law (a] redhat.com>
2593
2594 * libgcc2.c: Fix whitespace issues in most recent change.
2595
2596 2020-11-10 Stefan Kanthak <stefan.kanthak (a] nexgo.de>
2597
2598 * libgcc2.c (__addvSI3): Use overflow builtins.
2599 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
2600 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
2601 (__negvsi2, __negvDI2): Likewise.
2602 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
2603 generated code.
2604 * libgcc2.h (__ucmpdi2): Adjust prototype.
2605
2606 2020-11-03 Pat Bernardi <bernardi (a] adacore.com>
2607 Olivier Hainque <hainque (a] adacore.com>
2608
2609 * config.host (aarch64-vxworks7*, tmake_file): Add
2610 ${cpu_type}/t-lse and t-slibgcc-libgcc.
2611
2612 2020-11-03 Martin Storsj <martin (a] martin.st>
2613
2614 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
2615 before calling the callback.
2616
2617 2020-10-30 Olivier Hainque <hainque (a] adacore.com>
2618 Douglas Rupp <rupp (a] adacore.com>
2619 Pat Bernardi <bernardi (a] adacore.com>
2620
2621 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
2622 to apply to VxWorks 7 as well.
2623
2624 2020-10-29 Olivier Hainque <hainque (a] adacore.com>
2625
2626 * config/gthr-vxworks-tls.c: Fix preprocessor logic
2627 controlling the definition of VX_ENTER_TLS_DTOR and
2628 VX_LEAVE_TLS_DTOR based on a version major check.
2629
2630 2020-10-29 Olivier Hainque <hainque (a] adacore.com>
2631
2632 * config/gthr-vxworks-thread.c: Fix name of macro used
2633 to condition the inclusion of an actual implementation.
2634
2635 2020-10-27 Martin Liska <mliska (a] suse.cz>
2636
2637 PR gcov-profile/97461
2638 * libgcov.h (gcov_counter_add): Use first static counters
2639 as it should help to have malloc wrappers set up.
2640
2641 2020-10-23 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
2642
2643 * config/gthr-vxworks-thread.c: #include gthr.h before
2644 testing the guard defined there.
2645 * config/gthr-vxworks-cond.c: Likewise.
2646
2647 2020-10-21 Douglas Rupp <rupp (a] adacore.com>
2648 Olivier Hainque <hainque (a] adacore.com>
2649
2650 * config.host (powerpc*-wrs-vxworks7*): New case.
2651 * configure.ac: Handle powerpc*-*-vxworks7* as
2652 powerpc*-*-linux* for ppc-fp_type.
2653 * configure: Regenerate.
2654
2655 2020-10-16 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
2656
2657 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
2658 section on VxWorks >= 6.
2659 * config/gthr-vxworks-thread.c: Condition the entire
2660 implementation on __GTHREAD_CXX0X.
2661
2662 2020-10-16 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
2663
2664 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
2665 section on VxWorks >= 6.
2666 * config/gthr-vxworks-cond.c: Condition the entire
2667 implementation on __GTHREAD_HAS_COND.
2668
2669 2020-10-16 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
2670
2671 * config/gthr-vxworks.c: #include <taskLib.h>.
2672
2673 2020-10-16 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
2674
2675 * config/gthr-vxworks.h: Rewrite remaining occurrence
2676 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
2677
2678 2020-10-16 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
2679 Olivier Hainque <hainque (a] adacore.com>
2680
2681 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
2682 except on VxWorks 6.
2683
2684 2020-10-16 Olivier Hainque <hainque (a] adacore.com>
2685
2686 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
2687
2688 2020-10-14 Alexandre Oliva <oliva (a] adacore.com>
2689
2690 * config/gthr-vxworks-thread.c: Include stdlib.h.
2691 (tls_delete_hook): Prototype it.
2692 (__gthread_cond_signal): Return early if no waiters. Consume
2693 signal in case the semaphore got full. Use semInfoGet instead
2694 of kernel-mode-only semInfo.
2695 (__gthread_cond_timedwait): Use semExchange. Always take the
2696 mutex again before returning.
2697 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
2698
2699 2020-10-14 Olivier Hainque <hainque (a] adacore.com>
2700
2701 * config/t-vxworks (LIBGCC2_INCLUDES): Append
2702 $(MULTISUBDIR) to the -I path for fixed headers, as we
2703 arrange to have different sets of such headers for different
2704 multilibs when they are activated.
2705 * config/t-vxworks7: Likewise.
2706
2707 2020-10-14 Olivier Hainque <hainque (a] adacore.com>
2708
2709 * config/t-vxworks: Add include-fixed to include search
2710 paths for libgcc on VxWorks.
2711 * config/t-vxworks7: Likewise.
2712
2713 2020-10-09 H.J. Lu <hjl.tools (a] gmail.com>
2714
2715 PR target/97148
2716 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
2717 instead of <cetintrin.h>.
2718
2719 2020-10-01 Alan Modra <amodra (a] gmail.com>
2720
2721 * config/rs6000/morestack.S,
2722 * config/rs6000/tramp.S: Support __PCREL__ code.
2723
2724 2020-10-01 Alan Modra <amodra (a] gmail.com>
2725
2726 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
2727
2728 2020-09-29 Maciej W. Rozycki <macro (a] wdc.com>
2729
2730 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
2731 variable.
2732
2733 2020-09-28 Richard Sandiford <richard.sandiford (a] arm.com>
2734
2735 * config/aarch64/libgcc-softfp.ver: New file.
2736 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
2737
2738 2020-09-27 Clement Chigot <clement.chigot (a] atos.net>
2739
2740 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
2741
2742 2020-09-22 Sergei Trofimovich <siarheit (a] google.com>
2743
2744 PR gcov-profile/96913
2745 * libgcov-driver.c (write_one_data): Avoid function pointer
2746 comparison in TOP streaming decision.
2747
2748 2020-09-17 Torbjrn SVENSSON <torbjorn.svensson (a] st.com>
2749 Christophe Lyon <christophe.lyon (a] linaro.org>
2750
2751 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
2752 qualifier.
2753 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
2754 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
2755 missing prototypes.
2756
2757 2020-09-17 Wei Wentao <weiwt.fnst (a] cn.fujitsu.com>
2758
2759 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
2760 unused variable warning.
2761
2762 2020-09-16 Jojo R <jiejie_rong (a] c-sky.com>
2763
2764 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
2765
2766 2020-09-09 Tom de Vries <tdevries (a] suse.de>
2767
2768 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
2769 Wbuiltin-declaration-mismatch.
2770
2771 2020-08-26 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
2772
2773 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
2774 * config/msp430/srai.S (__gnu_mspabi_srap): New.
2775 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
2776
2777 2020-08-13 Kwok Cheung Yeung <kcy (a] codesourcery.com>
2778
2779 * config/nvptx/atomic.c: New.
2780 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
2781
2782 2020-08-03 Ian Lance Taylor <iant (a] golang.org>
2783
2784 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
2785
2786 2020-08-03 Jakub Jelinek <jakub (a] redhat.com>
2787
2788 PR target/96402
2789 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
2790 of x(tmp0), x(tmp1) in STXP arguments.
2791
2792 2020-07-31 Maciej W. Rozycki <macro (a] wdc.com>
2793
2794 * config/riscv/save-restore.S [__riscv_xlen == 64]
2795 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
2796 (__riscv_save_2): Replace negative immediates used for the final
2797 stack pointer adjustment with positive ones, right-shifted by 4.
2798
2799 2020-07-31 Martin Liska <mliska (a] suse.cz>
2800
2801 * libgcov-driver.c: Add __gcov_kvp_pool
2802 and __gcov_kvp_pool_index variables.
2803 * libgcov.h (allocate_gcov_kvp): New.
2804 (gcov_topn_add_value): Use it.
2805
2806 2020-07-24 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
2807
2808 * config/aarch64/lse.S: Add PAC property note.
2809
2810 2020-07-23 Martin Liska <mliska (a] suse.cz>
2811
2812 PR gcov-profile/96035
2813 * libgcov-driver-system.c: Create gcov folders with 0777
2814 so that it respects a system umask.
2815
2816 2020-07-14 David Edelsohn <dje.gcc (a] gmail.com>
2817
2818 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2819
2820 2020-07-13 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
2821
2822 PR target/94891
2823 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2824 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2825 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2826 (MD_DEMANGLE_RETURN_ADDR): This.
2827 (aarch64_post_extract_frame_addr): Rename to ...
2828 (aarch64_demangle_return_addr): This.
2829 (aarch64_post_frob_eh_handler_addr): Remove.
2830 * unwind-dw2.c (uw_update_context): Demangle return address.
2831 (uw_frob_return_addr): Remove.
2832
2833 2020-07-09 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
2834
2835 PR target/96001
2836 * config/aarch64/lse.S: Add BTI marking and related definitions,
2837 and add BTI c to function entries.
2838
2839 2020-07-09 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
2840
2841 * config/aarch64/lse.S: Add stack note.
2842
2843 2020-07-02 Martin Liska <mliska (a] suse.cz>
2844
2845 PR gcov-profile/95348
2846 * libgcov-driver.c (merge_one_data): Merge only profiles
2847 that are not of non-zero type.
2848 (write_one_data): Write counters only if there's one non-zero
2849 value.
2850 * libgcov-util.c (tag_function): Change signature from unsigned
2851 to int.
2852 (tag_blocks): Likewise.
2853 (tag_arcs): Likewise.
2854 (tag_counters): Likewise.
2855 (tag_summary): Likewise.
2856 (tag_lines): Read only if COUNTERS is non-zero.
2857 (read_gcda_file): Handle negative length for COUNTERS type.
2858
2859 2020-06-25 Martin Liska <mliska (a] suse.cz>
2860
2861 * libgcov-driver.c (merge_summary): Remove function as its name
2862 is misleading and doing something different.
2863 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2864 in gcov-tool.
2865 * libgcov-util.c (curr_object_summary): Remove.
2866 (read_gcda_file): Remove unused curr_object_summary.
2867 (gcov_merge): Merge summaries.
2868 * libgcov.h: Add summary argument for gcov_info struct.
2869
2870 2020-06-24 H.J. Lu <hjl.tools (a] gmail.com>
2871
2872 PR target/95259
2873 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
2874 "common/config/i386/i386-cpuinfo.h" and
2875 "common/config/i386/cpuinfo.h".
2876 (__cpu_features2): Changed to array.
2877 (get_amd_cpu): Removed.
2878 (get_intel_cpu): Likewise.
2879 (get_available_features): Likewise.
2880 (__cpu_indicator_init): Call cpu_indicator_init.
2881 * config/i386/cpuinfo.h: Removed.
2882
2883 2020-06-23 David Edelsohn <dje.gcc (a] gmail.com>
2884
2885 * Makefile.in: Remove uses of empty.mk. Use -include.
2886 * config/avr/t-avr: Use -include.
2887 * empty.mk: Delete.
2888
2889 2020-06-21 David Edelsohn <dje.gcc (a] gmail.com>
2890
2891 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2892 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2893 and 64 bit with -maix64.
2894 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2895 Build and install AIX-style FAT libraries.
2896
2897 2020-06-17 Samuel Thibault <samuel.thibault (a] gnu.org>
2898
2899 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2900 'i386/gnu-unwind.h'
2901 * config/i386/gnu-unwind.h: New file.
2902
2903 2020-06-17 Martin Liska <mliska (a] suse.cz>
2904
2905 * libgcov-util.c (read_gcda_finalize): Remove const operator.
2906 (merge_wrapper): Add both counts and use them properly.
2907 (topn_to_memory_representation): New function.
2908 (gcov_merge): Covert on disk representation to in memory
2909 representation.
2910 * libgcov.h: Remove const operator.
2911
2912 2020-06-15 Max Filippov <jcmvbkbc (a] gmail.com>
2913
2914 * configure: Regenerate.
2915 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2916 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2917
2918 2020-06-09 Martin Liska <mliska (a] suse.cz>
2919
2920 PR gcov-profile/95494
2921 * libgcov-driver.c (write_top_counters): Cast first to
2922 intptr_t as sizeof(*) != sizeof(gcov_type).
2923 * libgcov.h (gcov_counter_set_if_null): Remove.
2924 (gcov_topn_add_value): Cast first to intptr_t and update
2925 linked list directly.
2926
2927 2020-06-09 Max Filippov <jcmvbkbc (a] gmail.com>
2928
2929 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2930 with uw_install_context_1.
2931
2932 2020-06-04 Andreas Schwab <schwab (a] suse.de>
2933
2934 PR target/59230
2935 PR libfortran/59227
2936 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2937 soft-fp/divtf3.c.
2938 (LIB2ADD): Add config/ia64/divtf3.c.
2939 * config/ia64/divtf3.c: New file.
2940
2941 2020-06-03 Martin Liska <mliska (a] suse.cz>
2942
2943 PR gcov-profile/95480
2944 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2945 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2946 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2947 (gcov_counter_set_if_null): Likewise.
2948
2949 2020-06-02 Jim Wilson <jimw (a] sifive.com>
2950
2951 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2952 to bgtz.
2953
2954 2020-06-02 Martin Liska <mliska (a] suse.cz>
2955
2956 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2957 of xmalloc.
2958
2959 2020-06-02 Martin Liska <mliska (a] suse.cz>
2960
2961 * libgcov-driver.c (prune_topn_counter): Remove.
2962 (prune_counters): Likewise.
2963 (merge_one_data): Special case TOP N counters
2964 as they have variable length.
2965 (write_top_counters): New.
2966 (write_one_data): Special case TOP N.
2967 (dump_one_gcov): Do not prune TOP N counters.
2968 * libgcov-merge.c (merge_topn_values_set): Remove.
2969 (__gcov_merge_topn): Use gcov_topn_add_value.
2970 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2971 Likewise here.
2972 * libgcov.h (gcov_counter_add): New.
2973 (gcov_counter_set_if_null): Likewise.
2974 (gcov_topn_add_value): New.
2975
2976 2020-06-01 Uro Bizjak <ubizjak (a] gmail.com>
2977
2978 * config/i386/sfp-exceptions.c (struct fenv):
2979 Add __attribute__ ((gcc_struct)).
2980
2981 2020-05-29 H.J. Lu <hjl.tools (a] gmail.com>
2982
2983 PR bootstrap/95413
2984 * configure: Regenerated.
2985
2986 2020-05-28 Dong JianQiang <dongjianqiang2 (a] huawei.com>
2987
2988 PR gcov-profile/95332
2989 * libgcov-util.c (read_gcda_file): Call gcov_magic.
2990 * libgcov.h (gcov_magic): Disable GCC poison.
2991
2992 2020-05-21 H.J. Lu <hongjiu.lu (a] intel.com>
2993
2994 PR target/95212
2995 * config/i386/cpuinfo.h (processor_features): Move
2996 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2997
2998 2020-05-20 H.J. Lu <hongjiu.lu (a] intel.com>
2999
3000 PR target/91695
3001 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
3002 check.
3003
3004 2020-05-19 H.J. Lu <hongjiu.lu (a] intel.com>
3005
3006 PR target/95212
3007 PR target/95220
3008 * config/i386/cpuinfo.c (get_available_features): Fix
3009 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
3010 * config/i386/cpuinfo.h (processor_features): Add
3011 FEATURE_AVX512VP2INTERSECT.
3012
3013 2020-05-15 H.J. Lu <hongjiu.lu (a] intel.com>
3014
3015 PR bootstrap/95147
3016 * configure: Regenerated.
3017
3018 2020-05-14 H.J. Lu <hongjiu.lu (a] intel.com>
3019
3020 * configure: Regenerated.
3021
3022 2020-05-09 Hans-Peter Nilsson <hp (a] axis.com>
3023
3024 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
3025 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
3026
3027 2020-05-06 Uro Bizjak <ubizjak (a] gmail.com>
3028
3029 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
3030 (__math_force_eval_div): New define.
3031 (__sfp_handle_exceptions): Use __math_force_eval_div to use
3032 generic division to generate INVALID, DIVZERO and INEXACT
3033 exceptions.
3034
3035 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov (a] arm.com>
3036
3037 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
3038 instead of getauxval.
3039 (AT_HWCAP): Define.
3040 (HWCAP_ATOMICS): Define.
3041 Guard detection on __gnu_linux__.
3042
3043 2020-05-05 Michael Meissner <meissner (a] linux.ibm.com>
3044
3045 * config.host: Delete changes meant for a private branch.
3046 * config/rs6000/t-float128: Likewise.
3047 * configure.ac: Likewise.
3048 * configure: Likewise.
3049
3050 2020-05-05 Martin Liska <mliska (a] suse.cz>
3051
3052 PR gcov-profile/93623
3053 * Makefile.in: Remove __gcov_flush.
3054 * gcov.h (__gcov_flush): Remove.
3055 * libgcov-interface.c (__gcov_flush): Remove.
3056 (init_mx): Use renamed mutex.
3057 (__gcov_lock): Likewise.
3058 (__gcov_unlock): Likewise.
3059 (__gcov_fork): Likewise.
3060 (__gcov_flush): Remove.
3061
3062 2020-05-05 Martin Liska <mliska (a] suse.cz>
3063
3064 PR gcov-profile/93623
3065 * libgcov-interface.c (__gcov_fork): Do not flush
3066 and reset only in child process.
3067 (__gcov_execl): Dump counters only and reset them
3068 only if exec* fails.
3069 (__gcov_execlp): Likewise.
3070 (__gcov_execle): Likewise.
3071 (__gcov_execv): Likewise.
3072 (__gcov_execvp): Likewise.
3073 (__gcov_execve): Likewise.
3074
3075 2020-05-05 Martin Liska <mliska (a] suse.cz>
3076
3077 PR gcov-profile/93623
3078 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
3079 * libgcov-interface.c (ALIAS_void_fn): Remove.
3080 (__gcov_lock): New.
3081 (__gcov_unlock): New.
3082 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
3083 (__gcov_reset): Likewise.
3084 (__gcov_dump): Likewise.
3085 * libgcov.h (__gcov_lock): New declaration.
3086 (__gcov_unlock): Likewise.
3087
3088 2020-05-01 Uro Bizjak <ubizjak (a] gmail.com>
3089
3090 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
3091 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
3092 generic division to generate INVALID and DIVZERO exceptions.
3093
3094 2020-04-27 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
3095
3096 * config/rs6000/crtresfpr.S: Use .machine ppc.
3097 * config/rs6000/crtresxfpr.S: Likewise.
3098 * config/rs6000/crtsavfpr.S: Likewise.
3099
3100 2020-04-21 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
3101
3102 PR target/94514
3103 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
3104 Update context->flags accroding to the frame state.
3105
3106 2020-04-19 Uro Bizjak <ubizjak (a] gmail.com>
3107
3108 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
3109 Remove unneeded assignments to volatile memory.
3110
3111 2020-04-15 Jakub Jelinek <jakub (a] redhat.com>
3112
3113 PR target/93053
3114 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
3115 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
3116 is not defined, use just .arch armv8-a.
3117 (B, M, N, OPN): Define.
3118 (COMMENT): New .macro.
3119 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
3120 defined. Otherwise, move the operands right after the glue? and
3121 comment out operands where the macros are used.
3122 * configure: Regenerated.
3123 * config.in: Regenerated.
3124
3125 2020-04-07 Ian Lance Taylor <iant (a] golang.org>
3126
3127 PR libgcc/94513
3128 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
3129 syscall instead.
3130
3131 2020-04-04 Ian Lance Taylor <iant (a] golang.org>
3132
3133 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
3134
3135 2020-04-03 Ian Lance Taylor <iant (a] golang.org>
3136
3137 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
3138 than mmap/munmap, to avoid hooks.
3139
3140 2020-04-03 Jim Johnston <jjohnst (a] us.ibm.com>
3141
3142 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
3143 (TPFRA_OFFSET): Macros removed.
3144 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
3145 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
3146 (PG3_SKIPPING_OFFSET): New macros.
3147 (__isPATrange): Use cinfc_fast for the check.
3148 (__isSkipResetAddr): New function.
3149 (s390_fallback_frame_state): Check for skip trace addresses. Use
3150 either ICST_CRET or ICST_SRET to calculate return address
3151 location.
3152 (__tpf_eh_return): Handle skip trace addresses.
3153
3154 2020-03-26 Richard Earnshaw <rearnsha (a] arm.com>
3155
3156 PR target/94220
3157 * config/arm/lib1funcs.asm (COND): Use a single definition for
3158 unified syntax.
3159 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
3160 (aeabi_idivmod): Likewise.
3161 (divsi3_skip_div0_test): Likewise.
3162
3163 2020-03-17 Mihail Ionescu <mihail.ionescu (a] arm.com>
3164
3165 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
3166
3167 2020-03-04 Andreas Krebbel <krebbel (a] linux.ibm.com>
3168
3169 * config.host: Include the new makefile fragment.
3170 * config/s390/t-tpf: New file.
3171
3172 2020-03-03 Richard Earnshaw <rearnsha (a] arm.com>
3173
3174 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
3175 syntax.
3176 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
3177 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
3178 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
3179 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
3180 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
3181 syntax.
3182 (divsi3, modsi3): Likewise.
3183 (clzdi2, ctzsi2): Likewise.
3184 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
3185 unified syntax.
3186 (UNWIND_WRAPPER): Likewise.
3187
3188 2020-03-02 Martin Liska <mliska (a] suse.cz>
3189
3190 * libgcov-interface.c: Remove duplicate
3191 declaration of __gcov_flush_mx.
3192
3193 2020-02-18 Martin Liska <mliska (a] suse.cz>
3194
3195 PR ipa/92924
3196 * libgcov-merge.c (merge_topn_values_set): Record
3197 when a TOP N counter becomes invalid. When merging
3198 remove a smallest value if the space is needed.
3199
3200 2020-02-12 Sandra Loosemore <sandra (a] codesourcery.com>
3201
3202 PR libstdc++/79193
3203 PR libstdc++/88999
3204
3205 * configure: Regenerated.
3206
3207 2020-02-10 Jeff Law <law (a] redhat.com>
3208
3209 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
3210 sections.
3211 * config/frv/frvend.c: Similarly.
3212
3213 2020-02-10 H.J. Lu <hongjiu.lu (a] intel.com>
3214
3215 PR libgcc/85334
3216 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3217 New.
3218
3219 2020-02-10 Christophe Lyon <christophe.lyon (a] linaro.org>
3220
3221 PR target/93615
3222 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
3223 _Unwind_gnu_Find_got.
3224 * unwind-pe.h: Likewise.
3225
3226 2020-02-07 Jakub Jelinek <jakub (a] redhat.com>
3227
3228 PR target/93615
3229 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
3230 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
3231 trailing :s in asm. Formatting fixes.
3232 (_Unwind_decode_typeinfo_ptr): Adjust caller.
3233
3234 2020-01-31 Sandra Loosemore <sandra (a] codesourcery.com>
3235
3236 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
3237
3238 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
3239 * config/nios2-elf-lib.h: New.
3240 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
3241 code for finding GOT base for nios2.
3242
3243 2020-01-27 Martin Liska <mliska (a] suse.cz>
3244
3245 PR gcov-profile/93403
3246 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
3247 Call __gcov_indirect_call_profiler_body.
3248 (__gcov_indirect_call_profiler_body): New.
3249 (__gcov_indirect_call_profiler_v4_atomic): New.
3250 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
3251 New declaration.
3252
3253 2020-01-27 Claudiu Zissulescu <claziss (a] synopsys.com>
3254
3255 * config/arc/crti.S: Add RF16 object attribute.
3256 * config/arc/crtn.S: Likewise.
3257 * config/arc/crttls.S: Likewise.
3258 * config/arc/lib1funcs.S: Likewise.
3259 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
3260 * config/arc/lib2funcs.c: New file.
3261 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
3262
3263 2020-01-24 Maciej W. Rozycki <macro (a] wdc.com>
3264
3265 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
3266 * configure.ac: Handle `--with-toolexeclibdir='.
3267 * configure: Regenerate.
3268
3269 2020-01-23 Dragan Mladjenovic <dmladjenovic (a] wavecomp.com>
3270
3271 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
3272
3273 2020-01-23 Dragan Mladjenovic <dmladjenovic (a] wavecomp.com>
3274
3275 * config/mips/gnustack.h: New file.
3276 * config/mips/crti.S: Include gnustack.h.
3277 * config/mips/crtn.S: Likewise.
3278 * config/mips/mips16.S: Likewise.
3279 * config/mips/vr4120-div.S: Likewise.
3280
3281 2020-01-23 Martin Liska <mliska (a] suse.cz>
3282
3283 * libgcov-driver.c (prune_topn_counter): Remove
3284 check for -1 as we only prune run-time counters
3285 that do not generate an invalid state.
3286
3287 2020-01-22 Martin Liska <mliska (a] suse.cz>
3288
3289 PR tree-optimization/92924
3290 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
3291 try to find an existing value, then find an empty slot
3292 if not found.
3293
3294 2020-01-22 Martin Liska <mliska (a] suse.cz>
3295
3296 PR tree-optimization/92924
3297 * libgcov-driver.c (prune_topn_counter): New.
3298 (prune_counters): Likewise.
3299 (dump_one_gcov): Prune a run-time counter.
3300 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
3301 For a known value, add GCOV_TOPN_VALUES to value.
3302 Otherwise, decrement all counters by one.
3303
3304 2020-01-18 Hans-Peter Nilsson <hp (a] axis.com>
3305
3306 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
3307
3308 2020-01-18 John David Anglin <danglin (a] gcc.gnu.org>
3309
3310 PR libgcc/92988
3311 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
3312 DEFAULT_USE_CXA_ATEXIT is true.
3313
3314 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu (a] arm.com>
3315 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
3316
3317 * config/arm/t-arm: Check return value of gcc rather than lack of
3318 output.
3319
3320 2020-01-14 Georg-Johann Lay <avr (a] gjlay.de>
3321
3322 * config/avr/lib1funcs.S (skip): Simplify.
3323
3324 2020-01-10 Kwok Cheung Yeung <kcy (a] codesourcery.com>
3325
3326 * config/gcn/atomic.c: Remove include of stdint.h.
3327 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
3328 __UINTPTR_TYPE__.
3329
3330 2020-01-09 Kwok Cheung Yeung <kcy (a] codesourcery.com>
3331
3332 * config/gcn/atomic.c: New.
3333 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
3334
3335 2020-01-08 Georg-Johann Lay <avr (a] gjlay.de>
3336
3337 Implement 64-bit double functions.
3338
3339 PR target/92055
3340 * config.host (tmake_file) [target=avr]: Add t-libf7,
3341 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
3342 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
3343 depending on sizeof (double) or sizeof (long double).
3344 * config/avr/libf7: New folder.
3345
3346 2020-01-05 Olivier Hainque <hainque (a] adacore.com>
3347
3348 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
3349 by IN_LIBGCC2.
3350
3351 2020-01-01 Jakub Jelinek <jakub (a] redhat.com>
3352
3353 Update copyright years.
3354
3355 2019-12-30 Olivier Hainque <hainque (a] adacore.com>
3356
3357 * config/gthr-vxworks.h: Use _vxworks-versions.h.
3358 * config/gthr-vxworks-tls.c: Likewise.
3359
3360 2019-12-30 Olivier Hainque <hainque (a] adacore.com>
3361
3362 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
3363 standard zero-initializer syntax.
3364
3365 2019-12-30 Olivier Hainque <hainque (a] adacore.com>
3366
3367 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
3368 reference to the internal VX_GET_TLS_DATA interface.
3369
3370 2019-12-30 Olivier Hainque <hainque (a] adacore.com>
3371
3372 * config/vxcrtstuff.c: Fix incorrect spelling of
3373 USE_INITFINI_ARRAY in guard.
3374
3375 2019-12-16 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
3376
3377 * config.host: s/msp430*-*-elf/msp430-*-elf*.
3378 Override default "extra_parts" variable.
3379 * configure: Regenerate.
3380 * configure.ac: Disable TM clone registry by default for
3381 msp430-elfbare.
3382
3383 2019-12-11 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
3384
3385 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
3386 "extra_parts".
3387 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
3388
3389 2019-12-11 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
3390
3391 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
3392 true.
3393
3394 2019-12-09 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
3395
3396 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
3397 defined instead of its value.
3398
3399 2019-12-09 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
3400
3401 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
3402 if it will have contents.
3403
3404 2019-12-05 Georg-Johann Lay <avr (a] gjlay.de>
3405
3406 PR target/92055
3407 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
3408
3409 2019-11-18 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
3410
3411 PR libgcc/91737
3412 * config.host: Add t-gthr-noweak on *-*-musl*.
3413 * config/t-gthr-noweak: New file.
3414
3415 2019-11-17 John David Anglin <danglin (a] gcc.gnu.org>
3416
3417 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
3418 volatile void *. Remove trap check.
3419 (__kernel_cmpxchg2): Likewise.
3420 (FETCH_AND_OP_2): Adjust operand types.
3421 (OP_AND_FETCH_2): Likewise.
3422 (FETCH_AND_OP_WORD): Likewise.
3423 (OP_AND_FETCH_WORD): Likewise.
3424 (COMPARE_AND_SWAP_2): Likewise.
3425 (__sync_val_compare_and_swap_4): Likewise.
3426 (__sync_bool_compare_and_swap_4): Likewise.
3427 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3428 (__sync_lock_test_and_set_4): Likewise.
3429 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
3430 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
3431 for release.
3432 (__sync_lock_release_8): Remove.
3433
3434 2019-11-15 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
3435
3436 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
3437 of __sigset_t.
3438
3439 2019-11-14 Jerome Lambourg <lambourg (a] adacore.com>
3440 Doug Rupp <rupp (a] adacore.com>
3441 Olivier Hainque <hainque (a] adacore.com>
3442
3443 * config.host: Collapse the arm-vxworks entries into
3444 a single arm-wrs-vxworks7* one.
3445 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
3446 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
3447 kernel modules, to be overriden by libstdc++ when we link with
3448 it. Rely on externally provided __exidx_start/end.
3449
3450 2019-11-14 Doug Rupp <rupp (a] adacore.com>
3451 Olivier Hainque <hainque (a] adacore.com>
3452
3453 * config.host: Handle aarch64*-wrs-vxworks7*.
3454
3455 2019-11-12 Olivier Hainque <hainque (a] adacore.com>
3456
3457 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
3458 sources except the cxx0x support to LIB2ADDEH. We don't support
3459 cxx0x on AE/653.
3460 * config/t-vxworksae: New file.
3461 * config.host: Handle *-*-vxworksae: Add the two aforementioned
3462 Makefile fragment files at their expected position in the tmake_file
3463 list, in accordance with what is done for other VxWorks variants.
3464
3465 2019-11-12 Corentin Gay <gay (a] adacore.com>
3466 Jerome Lambourg <lambourg (a] adacore.com>
3467 Olivier Hainque <hainque (a] adacore.com>
3468
3469 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
3470 sources to LIB2ADDEH.
3471 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
3472 * config/t-vxworks7: Likewise.
3473
3474 * config.host: Append a block at the end of the file to add the
3475 t-gthr files to the tmake_file list for VxWorks after everything
3476 else.
3477
3478 * config/vxlib.c: Rename as gthr-vxworks.c.
3479 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
3480
3481 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
3482 API and a basic error checking API, both internal. Simplify the
3483 __gthread_once_t type definition and initializers. Add sections
3484 for condition variables support and for the C++0x thread support,
3485 conditioned against Vx653 for the latter.
3486
3487 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
3488 implementation, leveraging the TAS internal API.
3489 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
3490 API, leveraging the general availability of TLS services in VxWorks7
3491 post SR6xxx.
3492 (__gthread_setspecific, __gthread_setspecific): Use it.
3493 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
3494 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
3495 support based on VxWorks primitives.
3496 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
3497 based on VxWorks primitives.
3498
3499 2019-11-06 Jerome Lambourg <lambourg (a] adacore.com>
3500 Olivier Hainque <hainque (a] adacore.com>
3501
3502 * config/vxcrtstuff.c: New file.
3503 * config/t-vxcrtstuff: New Makefile fragment.
3504 * config.host: Append t-vxcrtstuff to the tmake_file list
3505 on all VxWorks ports using dwarf for table based EH.
3506
3507 2019-11-07 Georg-Johann Lay <avr (a] gjlay.de>
3508
3509 Support 64-bit double and 64-bit long double configurations.
3510
3511 PR target/92055
3512 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
3513 long double is a 32-bit type.
3514 * config/avr/t-avrlibc: Copy double64 and long-double64
3515 multilib(s) from the vanilla one.
3516 * config/avr/t-copy-libgcc: New Makefile snip.
3517
3518 2019-11-04 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
3519
3520 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
3521 the target output object format is not ELF.
3522 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
3523
3524 2019-11-03 Oleg Endo <olegendo (a] gcc.gnu.org>
3525
3526 PR libgcc/78804
3527 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
3528 * fp-bit.c (pack_d, unpack_d): Remove special cases for
3529 FLOAT_BIT_ORDER_MISMATCH.
3530 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
3531
3532 2019-11-01 Jim Wilson <jimw (a] sifive.com>
3533
3534 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
3535
3536 2019-10-23 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
3537
3538 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
3539 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
3540 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
3541 Define symbols for 32-bit and f5series hardware multiply
3542 register addresses.
3543 Replace hard-coded register addresses with symbols.
3544 Fix "_mspabi*" typo.
3545 Fix whitespace.
3546 * config/msp430/lib2mul.c: Add comment.
3547
3548 2019-10-15 John David Anglin <danglin (a] gcc.gnu.org>
3549
3550 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
3551 unsigned int. Adjust callers.
3552 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
3553 unsigned int *. Load relocation offset before function pointer.
3554 Add barrier to ensure ordering.
3555
3556 2019-10-12 John David Anglin <danglin (a] gcc.gnu.org>
3557
3558 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
3559 Load PIC register after branch target. Fix white space.
3560 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
3561 implementations. Load PIC register after branch target. Don't
3562 clobber function pointer when it points to function descriptor.
3563 Use nullification instead of branch in LINUX implementation.
3564
3565 2019-10-03 John David Anglin <danglin (a] gcc.gnu.org>
3566
3567 * config/pa/fptr.c: Disable -Warray-bounds warning.
3568
3569 2019-09-25 Richard Henderson <richard.henderson (a] linaro.org>
3570
3571 * config.in, configure: Re-rebuild with stock autoconf 2.69,
3572 not the ubuntu modified 2.69.
3573
3574 PR target/91833
3575 * config/aarch64/lse-init.c: Include auto-target.h. Disable
3576 initialization if !HAVE_SYS_AUXV_H.
3577 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
3578 * config.in, configure: Rebuild.
3579
3580 PR target/91834
3581 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
3582 overlap the inputs.
3583
3584 2019-09-25 Shaokun Zhang <zhangshaokun (a] hisilicon.com>
3585
3586 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
3587 CTR_EL0.IDC and CTR_EL0.DIC.
3588
3589 2019-09-20 Christophe Lyon <christophe.lyon (a] st.com>
3590
3591 Revert:
3592 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
3593 Mickal Gun <mickael.guene (a] st.com>
3594
3595 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3596 architecture.
3597
3598 2019-09-19 Richard Henderson <richard.henderson (a] linaro.org>
3599
3600 * config/aarch64/lse-init.c: New file.
3601 * config/aarch64/lse.S: New file.
3602 * config/aarch64/t-lse: New file.
3603 * config.host: Add t-lse to all aarch64 tuples.
3604
3605 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
3606 Mickal Gun <mickael.guene (a] st.com>
3607
3608 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3609 architecture.
3610
3611 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
3612 Mickal Gun <mickael.guene (a] st.com>
3613
3614 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
3615 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
3616 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
3617 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
3618 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
3619 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
3620 (__gnu_personality_sigframe_fdpic): New.
3621 (get_eit_entry): Add FDPIC signal frame support.
3622
3623 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
3624 Mickal Gun <mickael.guene (a] st.com>
3625
3626 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
3627 (__kernel_dmb): Likewise.
3628 (__fdpic_cmpxchg): New function.
3629 (__fdpic_dmb): New function.
3630 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
3631 (gnu_Unwind_Find_got): New function.
3632 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
3633 * unwind-arm-common.inc (UCB_PR_GOT): New.
3634 (funcdesc_t): New struct.
3635 (get_eit_entry): Add FDPIC support.
3636 (unwind_phase2): Likewise.
3637 (unwind_phase2_forced): Likewise.
3638 (__gnu_Unwind_RaiseException): Likewise.
3639 (__gnu_Unwind_Resume): Likewise.
3640 (__gnu_Unwind_Backtrace): Likewise.
3641 * unwind-pe.h (read_encoded_value_with_base): Likewise.
3642
3643 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
3644 Mickal Gun <mickael.guene (a] st.com>
3645
3646 * libgcc/crtstuff.c: Add support for FDPIC.
3647
3648 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
3649
3650 * config.host: Handle *-*-uclinuxfdpiceabi.
3651
3652 2019-09-09 Jose E. Marchesi <jose.marchesi (a] oracle.com>
3653
3654 * config.host: Set cpu_type for bpf-*-* targets.
3655 * config/bpf/t-bpf: Likewise.
3656 * config/bpf/crtn.S: Likewise.
3657 * config/bpf/crti.S: New file.
3658
3659 2019-09-06 Jim Wilson <jimw (a] sifive.com>
3660
3661 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3662 (riscv*-*-freebsd*): Likewise.
3663
3664 2019-09-03 Ulrich Weigand <uweigand (a] de.ibm.com>
3665
3666 * config.host: Remove references to spu.
3667 * config/spu/: Remove directory.
3668
3669 2019-08-23 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
3670
3671 PR target/91306
3672 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
3673 element type, instead of "sizeof" the element type.
3674 (__DTOR_LIST__): Likewise.
3675 (__TMC_LIST__): Likewise.
3676 (__do_global_dtors_aux_fini_array_entry): Likewise.
3677 (__frame_dummy_init_array_entry): Likewise.
3678 (__CTOR_END__): Likewise.
3679 (__DTOR_END__): Likweise.
3680 (__FRAME_END__): Likewise.
3681 (__TMC_END__): Likewise.
3682
3683 2019-08-20 Lili Cui <lilicui (a] intel.com>
3684
3685 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
3686 INTEL_COREI7_COOPERLAKE.
3687
3688 2019-07-31 Matt Thomas <matt (a] 3am-software.com>
3689 Nick Hudson <nick (a] nthcliff.demon.co.uk>
3690 Matthew Green <mrg (a] eterna.com.au>
3691 Maya Rashish <coypu (a] sdf.org>
3692
3693 * config.host (hppa*-*-netbsd*): New case.
3694 * config/pa/t-netbsd: New file.
3695
3696 2019-07-31 Joel Hutton <Joel.Hutton (a] arm.com>
3697
3698 * config/arm/cmse.c (cmse_check_address_range): Add
3699 warn_unused_result attribute.
3700
3701 2019-07-22 Martin Liska <mliska (a] suse.cz>
3702
3703 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
3704 * config/pa/t-stublib: Likewise.
3705
3706 2019-07-22 Stafford Horne <shorne (a] gmail.com>
3707
3708 PR target/90362
3709 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
3710 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
3711 instructions are not available on every processor. Change a
3712 l.bnf to l.bf to fix logic issue.
3713
3714 2019-07-04 Iain Sandoe <iain (a] sandoe.co.uk>
3715
3716 * config.host: Remove reference to t-darwin8.
3717
3718 2019-07-03 Iain Sandoe <iain (a] sandoe.co.uk>
3719
3720 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
3721 list.
3722 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
3723 mmacosx-version-min for crts to run across all system versions.
3724 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
3725 * config/t-darwin: Revise mmacosx-version-min for crts to run across
3726 system versions >= 10.4.
3727
3728 2019-07-03 Martin Liska <mliska (a] suse.cz>
3729
3730 * Makefile.in: Use topn_values instead of one_value names.
3731 * libgcov-merge.c (__gcov_merge_single): Move to ...
3732 (__gcov_merge_topn): ... this.
3733 (merge_single_value_set): Move to ...
3734 (merge_topn_values_set): ... this.
3735 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
3736 ...
3737 (__gcov_topn_values_profiler_body): ... this.
3738 (__gcov_one_value_profiler_v2): Move to ...
3739 (__gcov_topn_values_profiler): ... this.
3740 (__gcov_one_value_profiler_v2_atomic): Move to ...
3741 (__gcov_topn_values_profiler_atomic): ... this.
3742 (__gcov_indirect_call_profiler_v4): Remove.
3743 * libgcov-util.c (__gcov_single_counter_op): Move to ...
3744 (__gcov_topn_counter_op): ... this.
3745 * libgcov.h (L_gcov_merge_single): Remove.
3746 (L_gcov_merge_topn): New.
3747 (__gcov_merge_single): Remove.
3748 (__gcov_merge_topn): New.
3749 (__gcov_one_value_profiler_v2): Move to ..
3750 (__gcov_topn_values_profiler): ... this.
3751 (__gcov_one_value_profiler_v2_atomic): Move to ...
3752 (__gcov_topn_values_profiler_atomic): ... this.
3753
3754 2019-07-03 Martin Liska <mliska (a] suse.cz>
3755
3756 * libgcov-merge.c (merge_single_value_set): Support N values.
3757 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
3758
3759 2019-06-27 Ilia Diachkov <ilia.diachkov (a] optimitech.com>
3760
3761 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
3762 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
3763 * configure.ac: Add --disable-tm-clone-registry option.
3764 * configure: Regenerate.
3765
3766 2019-06-27 Martin Liska <mliska (a] suse.cz>
3767
3768 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
3769 dead assignments.
3770 * libgcov-util.c: Likewise.
3771
3772 2019-06-27 Martin Liska <mliska (a] suse.cz>
3773
3774 * libgcov-util.c (gcov_profile_merge): Release allocated
3775 memory.
3776 (calculate_overlap): Likewise.
3777
3778 2019-06-25 Iain Sandoe <iain (a] sandoe.co.uk>
3779
3780 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
3781 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
3782 Build objects for the out of line save/restore register functions
3783 so that they can be used for any supported Darwin version.
3784 * config/t-darwin: Default the build Darwin version to Darwin8
3785 (MacOS 10.4).
3786
3787 2019-06-25 Martin Liska <mliska (a] suse.cz>
3788
3789 * libgcov-driver-system.c (replace_filename_variables): Do not
3790 call strlen with NULL argument.
3791
3792 2019-06-25 Andrew Stubbs <ams (a] codesourcery.com>
3793
3794 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
3795 * config/gcn/unwind-gcn.c: New file.
3796
3797 2019-06-25 Kwok Cheung Yeung <kcy (a] codesourcery.com>
3798 Andrew Stubbs <ams (a] codesourcery.com>
3799
3800 * configure: Regenerate.
3801 * config/gcn/gthr-gcn.h: New.
3802
3803 2019-06-18 Tom de Vries <tdevries (a] suse.de>
3804
3805 * config/nvptx/crt0.c (__main): Declare.
3806
3807 2019-06-17 Matthew Green <mrg (a] eterna.com.au>
3808 Maya Rashish <coypu (a] sdf.org>
3809
3810 * config.host (aarch64*-*-netbsd*): New case.
3811
3812 2019-06-16 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
3813
3814 * config/msp430/slli.S (__mspabi_sllll): New library function for
3815 performing a logical left shift of a 64-bit value.
3816 * config/msp430/srai.S (__mspabi_srall): New library function for
3817 performing a arithmetic right shift of a 64-bit value.
3818 * config/msp430/srll.S (__mspabi_srlll): New library function for
3819 performing a logical right shift of a 64-bit value.
3820
3821 2019-06-14 Matt Thomas <matt (a] 3am-software.com>
3822 Matthew Green <mrg (a] eterna.com.au>
3823 Nick Hudson <skrll (a] netbsd.org>
3824 Maya Rashish <coypu (a] sdf.org>
3825
3826 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3827 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3828 functions to build.
3829 * config/arm/t-netbsd-eabi: New file.
3830
3831 2019-06-12 Dimitar Dimitrov <dimitar (a] dinux.eu>
3832
3833 * config.host: Add PRU target.
3834 * config/pru/asri.c: New file.
3835 * config/pru/eqd.c: New file.
3836 * config/pru/eqf.c: New file.
3837 * config/pru/ged.c: New file.
3838 * config/pru/gef.c: New file.
3839 * config/pru/gtd.c: New file.
3840 * config/pru/gtf.c: New file.
3841 * config/pru/led.c: New file.
3842 * config/pru/lef.c: New file.
3843 * config/pru/lib2bitcountHI.c: New file.
3844 * config/pru/lib2divHI.c: New file.
3845 * config/pru/lib2divQI.c: New file.
3846 * config/pru/lib2divSI.c: New file.
3847 * config/pru/libgcc-eabi.ver: New file.
3848 * config/pru/ltd.c: New file.
3849 * config/pru/ltf.c: New file.
3850 * config/pru/mpyll.S: New file.
3851 * config/pru/pru-abi.h: New file.
3852 * config/pru/pru-asm.h: New file.
3853 * config/pru/pru-divmod.h: New file.
3854 * config/pru/sfp-machine.h: New file.
3855 * config/pru/t-pru: New file.
3856
3857 2019-06-11 Jakub Jelinek <jakub (a] redhat.com>
3858
3859 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3860
3861 2019-06-10 Martin Liska <mliska (a] suse.cz>
3862
3863 PR bootstrap/90808
3864 * libgcov.h: Add ATTRIBUTE_UNUSED.
3865
3866 2019-06-10 Martin Liska <mliska (a] suse.cz>
3867
3868 * Makefile.in: Add __gcov_one_value_profiler_v2,
3869 __gcov_one_value_profiler_v2_atomic and
3870 __gcov_indirect_call_profiler_v4.
3871 * libgcov-merge.c (__gcov_merge_single): Change
3872 function signature.
3873 (merge_single_value_set): New.
3874 * libgcov-profiler.c (__gcov_one_value_profiler_body):
3875 Update functionality.
3876 (__gcov_one_value_profiler): Remove.
3877 (__gcov_one_value_profiler_v2): ... this.
3878 (__gcov_one_value_profiler_atomic): Rename to ...
3879 (__gcov_one_value_profiler_v2_atomic): this.
3880 (__gcov_indirect_call_profiler_v3): Rename to ...
3881 (__gcov_indirect_call_profiler_v4): ... this.
3882 * libgcov.h (__gcov_one_value_profiler): Remove.
3883 (__gcov_one_value_profiler_atomic): Remove.
3884 (__gcov_one_value_profiler_v2_atomic): New.
3885 (__gcov_indirect_call_profiler_v3): Remove.
3886 (__gcov_one_value_profiler_v2): New.
3887 (__gcov_indirect_call_profiler_v4): New.
3888 (gcov_get_counter_ignore_scaling): New function.
3889
3890 2019-06-07 Martin Liska <mliska (a] suse.cz>
3891
3892 * Makefile.in: Remove usage of
3893 _gcov_merge_icall_topn.
3894 * libgcov-driver.c (gcov_sort_n_vals): Remove.
3895 (gcov_sort_icall_topn_counter): Likewise.
3896 (gcov_sort_topn_counter_arrays): Likewise.
3897 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3898 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3899 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3900 Likewise.
3901 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3902 (struct indirect_call_tuple): Remove.
3903 (__gcov_indirect_call_topn_profiler): Remove.
3904 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3905 * libgcov.h (gcov_sort_n_vals): Remove.
3906 (L_gcov_merge_icall_topn): Likewise.
3907 (__gcov_merge_icall_topn): Likewise.
3908 (__gcov_indirect_call_topn_profiler): Likewise.
3909
3910 2019-06-06 Iain Sandoe <iain (a] sandoe.co.uk>
3911
3912 * config/rs6000/t-darwin: Ensure that the unwinder is built with
3913 altivec enabled.
3914
3915 2019-06-06 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
3916
3917 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3918 section.
3919 (__mspabi_slli): Likewise.
3920 (__mspabi_slll_n): Likewise.
3921 (__mspabi_slll): Likewise.
3922 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3923 (__mspabi_srai): Likewise.
3924 (__mspabi_sral_n): Likewise.
3925 (__mspabi_sral): Likewise.
3926 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3927 (__mspabi_srli): Likewise.
3928 (__mspabi_srll_n): Likewise.
3929 (__mspabi_srll): Likewise.
3930
3931 2019-06-05 Yoshinori Sato <ysato (a] users.sourceforge.jp>
3932
3933 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3934 Add appropriate tm_file clause as well.
3935 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3936
3937 2019-06-05 James Clarke <jrtc27 (a] jrtc27.com>
3938
3939 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3940 rather than .data/.bss so it can be accessed via gp-relative
3941 addressing.
3942
3943 2019-06-05 David Edelsohn <dje.gcc (a] gmail.com>
3944
3945 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3946 (CR2_REGNO): Rename to R_CR2.
3947 (XER_REGNO): Rename to R_XER.
3948 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3949 (VRSAVE_REGNO): Rename to R_VRSAVE.
3950 (VSCR_REGNO): R_VSCR.
3951
3952 2019-05-29 Yoshinori Sato <ysato (a] users.sourceforge.jp>
3953
3954 * config.host (rx-*-linux*): Add new case.
3955 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3956
3957 2019-05-29 Sam Tebbs <sam.tebbs (a] arm.com>
3958
3959 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3960 function.
3961 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3962 aarch64_post_frob_eh_handler_addr): Add check for b-key.
3963 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3964 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3965 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3966 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3967 string.
3968 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3969 string.
3970 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3971
3972 2019-05-28 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3973
3974 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3975 Remove Solaris 9 and 10 support.
3976 (sparc_is_sighandler): Likewise.
3977
3978 2019-05-26 John David Anglin <danglin (a] gcc.gnu.org>
3979
3980 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3981
3982 2019-05-17 H.J. Lu <hongjiu.lu (a] intel.com>
3983
3984 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3985 4_FP_W_TYPEs are used for IEEE quad precision.
3986 * soft-fp/extendhftf2.c: Likewise.
3987 * soft-fp/extendsftf2.c: Likewise.
3988 * soft-fp/extendxftf2.c: Likewise.
3989 * soft-fp/trunctfdf2.c: Likewise.
3990 * soft-fp/trunctfhf2.c: Likewise.
3991 * soft-fp/trunctfsf2.c: Likewise.
3992 * soft-fp/trunctfxf2.c: Likewise.
3993 * config/rs6000/ibm-ldouble.c: Likewise.
3994
3995 2019-05-14 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3996
3997 * config.host: Simplify various *-*-solaris2.1[0-9]* to
3998 *-*-solaris2*.
3999 * configure.ac: Likewise.
4000 * configure: Regenerate.
4001
4002 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4003 Solaris 10 and Solaris 11 < snv_125 handling.
4004
4005 2019-05-12 Iain Sandoe <iain (a] sandoe.co.uk>
4006
4007 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
4008
4009 2019-05-07 Hongtao Liu <hongtao.liu (a] intel.com>
4010
4011 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
4012 * config/i386/cpuinfo.h (enum processor_features): Add
4013 FEATURE_AVX512BF16.
4014
4015 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan (a] arm.com>
4016 Bernd Edlinger <bernd.edlinger (a] hotmail.de>
4017 Jakub Jelinek <jakub (a] redhat.com>
4018
4019 PR target/89093
4020 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
4021 * config/arm/unwind-arm.c: Likewise.
4022 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
4023 attribute for ARM.
4024
4025 2019-04-15 Monk Chiang <sh.chiang04 (a] gmail.com>
4026
4027 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
4028 (RT_SIGRETURN): Update.
4029 (nds32_fallback_frame_state): Update.
4030
4031 2019-02-21 Martin Sebor <msebor (a] redhat.com>
4032
4033 * libgcc2.h (__clear_cache): Correct signature.
4034 * libgcc2.c (__clear_cache): Same.
4035
4036 2019-02-20 Uro Bizjak <ubizjak (a] gmail.com>
4037
4038 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
4039 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
4040
4041 2019-02-19 Uro Bizjak <ubizjak (a] gmail.com>
4042
4043 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
4044 regno instead of index to DWARF_ZERO_REG.
4045
4046 2019-02-15 Eric Botcazou <ebotcazou (a] adacore.com>
4047
4048 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
4049 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
4050
4051 2019-01-31 Uro Bizjak <ubizjak (a] gmail.com>
4052
4053 * config/alpha/t-linux: Add -mfp-rounding-mode=d
4054 to HOST_LIBGCC2_CFLAGS.
4055
4056 2019-01-23 Joseph Myers <joseph (a] codesourcery.com>
4057
4058 PR libgcc/88931
4059 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
4060
4061 2019-01-18 Martin Liska <mliska (a] suse.cz>
4062
4063 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
4064 to ...
4065 (__gcov_indirect_call_profiler_v3): ... this.
4066 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
4067 (__gcov_indirect_call_profiler_v3): Likewise.
4068 * Makefile.in: Bump function name.
4069
4070 2019-01-18 Martin Liska <mliska (a] suse.cz>
4071
4072 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
4073 (gcov_version): Use in gcov_error.
4074 (merge_one_data): Likewise.
4075 (dump_one_gcov): Likewise.
4076
4077 2019-01-18 Martin Liska <mliska (a] suse.cz>
4078
4079 * libgcov-driver.c (gcov_version_string): New function.
4080 (gcov_version): Convert version integer into string.
4081
4082 2019-01-17 Andrew Stubbs <ams (a] codesourcery.com>
4083 Kwok Cheung Yeung <kcy (a] codesourcery.com>
4084 Julian Brown <julian (a] codesourcery.com>
4085 Tom de Vries <tom (a] codesourcery.com>
4086
4087 * config.host: Recognize amdgcn*-*-amdhsa.
4088 * config/gcn/crt0.c: New file.
4089 * config/gcn/lib2-divmod-hi.c: New file.
4090 * config/gcn/lib2-divmod.c: New file.
4091 * config/gcn/lib2-gcn.h: New file.
4092 * config/gcn/sfp-machine.h: New file.
4093 * config/gcn/t-amdgcn: New file.
4094
4095 2019-01-09 Sandra Loosemore <sandra (a] codesourcery.com>
4096
4097 PR other/16615
4098
4099 * config/c6x/libunwind.S: Mechanically replace "can not" with
4100 "cannot".
4101 * config/tilepro/atomic.h: Likewise.
4102 * config/vxlib-tls.c: Likewise.
4103 * generic-morestack-thread.c: Likewise.
4104 * generic-morestack.c: Likewise.
4105 * mkmap-symver.awk: Likewise.
4106
4107 2019-01-01 Jakub Jelinek <jakub (a] redhat.com>
4108
4109 Update copyright years.
4110
4111 2018-12-20 H.J. Lu <hongjiu.lu (a] intel.com>
4112
4113 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
4114 to ignore -Waddress-of-packed-member.
4115
4116 2018-12-19 Thomas Preud'homme <thomas.preudhomme (a] linaro.org>
4117
4118 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
4119 parameter and corresponding code.
4120 (ARM_FUNC_START): Likewise in both definitions.
4121 Also update footer comment about condition that need to match with
4122 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
4123 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
4124 defined. Weakly define it in this case.
4125 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
4126 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
4127 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
4128 comment to keep condition in sync with the one in
4129 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
4130
4131 2018-12-18 Wei Xiao <wei3.xiao (a] intel.com>
4132
4133 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
4134 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
4135
4136 2018-12-12 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
4137
4138 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
4139 and .cfi_endproc directives for VxWorks targets.
4140
4141 2018-12-05 Paul Koning <ni1d (a] arrl.net>
4142
4143 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
4144
4145 2018-11-27 Alan Modra <amodra (a] gmail.com>
4146
4147 * config/rs6000/morestack.S (__stack_split_initialize),
4148 (__morestack_get_guard, __morestack_set_guard),
4149 (__morestack_make_guard): Provide CFI covering these functions.
4150 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
4151
4152 2018-11-15 Xianmiao Qu <xianmiao_qu (a] c-sky.com>
4153
4154 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
4155 (sc_pt_regs_lr): Update for kernel.
4156 (sc_pt_regs_tls): Update for kernel.
4157
4158 2018-11-15 Xianmiao Qu <xianmiao_qu (a] c-sky.com>
4159
4160 * config/csky/linux-unwind.h: Fix coding style.
4161
4162 2018-11-13 Xianmiao Qu <xianmiao_qu (a] c-sky.com>
4163
4164 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
4165 (csky_fallback_frame_state): Modify the check of the
4166 instructions to adapt to changes in the kernel
4167
4168 2018-11-09 Stafford Horne <shorne (a] gmail.com>
4169 Richard Henderson <rth (a] twiddle.net>
4170
4171 * config.host: Add OpenRISC support.
4172 * config/or1k/*: New.
4173
4174 2018-11-08 Kito Cheng <kito (a] andestech.com>
4175
4176 * soft-fp/adddf3.c: Update from glibc.
4177 * soft-fp/addsf3.c: Likewise.
4178 * soft-fp/addtf3.c: Likewise.
4179 * soft-fp/divdf3.c: Likewise.
4180 * soft-fp/divsf3.c: Likewise.
4181 * soft-fp/divtf3.c: Likewise.
4182 * soft-fp/double.h: Likewise.
4183 * soft-fp/eqdf2.c: Likewise.
4184 * soft-fp/eqsf2.c: Likewise.
4185 * soft-fp/eqtf2.c: Likewise.
4186 * soft-fp/extenddftf2.c: Likewise.
4187 * soft-fp/extended.h: Likewise.
4188 * soft-fp/extendhftf2.c: Likewise.
4189 * soft-fp/extendsfdf2.c: Likewise.
4190 * soft-fp/extendsftf2.c: Likewise.
4191 * soft-fp/extendxftf2.c: Likewise.
4192 * soft-fp/fixdfdi.c: Likewise.
4193 * soft-fp/fixdfsi.c: Likewise.
4194 * soft-fp/fixdfti.c: Likewise.
4195 * soft-fp/fixhfti.c: Likewise.
4196 * soft-fp/fixsfdi.c: Likewise.
4197 * soft-fp/fixsfsi.c: Likewise.
4198 * soft-fp/fixsfti.c: Likewise.
4199 * soft-fp/fixtfdi.c: Likewise.
4200 * soft-fp/fixtfsi.c: Likewise.
4201 * soft-fp/fixtfti.c: Likewise.
4202 * soft-fp/fixunsdfdi.c: Likewise.
4203 * soft-fp/fixunsdfsi.c: Likewise.
4204 * soft-fp/fixunsdfti.c: Likewise.
4205 * soft-fp/fixunshfti.c: Likewise.
4206 * soft-fp/fixunssfdi.c: Likewise.
4207 * soft-fp/fixunssfsi.c: Likewise.
4208 * soft-fp/fixunssfti.c: Likewise.
4209 * soft-fp/fixunstfdi.c: Likewise.
4210 * soft-fp/fixunstfsi.c: Likewise.
4211 * soft-fp/fixunstfti.c: Likewise.
4212 * soft-fp/floatdidf.c: Likewise.
4213 * soft-fp/floatdisf.c: Likewise.
4214 * soft-fp/floatditf.c: Likewise.
4215 * soft-fp/floatsidf.c: Likewise.
4216 * soft-fp/floatsisf.c: Likewise.
4217 * soft-fp/floatsitf.c: Likewise.
4218 * soft-fp/floattidf.c: Likewise.
4219 * soft-fp/floattihf.c: Likewise.
4220 * soft-fp/floattisf.c: Likewise.
4221 * soft-fp/floattitf.c: Likewise.
4222 * soft-fp/floatundidf.c: Likewise.
4223 * soft-fp/floatundisf.c: Likewise.
4224 * soft-fp/floatunditf.c: Likewise.
4225 * soft-fp/floatunsidf.c: Likewise.
4226 * soft-fp/floatunsisf.c: Likewise.
4227 * soft-fp/floatunsitf.c: Likewise.
4228 * soft-fp/floatuntidf.c: Likewise.
4229 * soft-fp/floatuntihf.c: Likewise.
4230 * soft-fp/floatuntisf.c: Likewise.
4231 * soft-fp/floatuntitf.c: Likewise.
4232 * soft-fp/gedf2.c: Likewise.
4233 * soft-fp/gesf2.c: Likewise.
4234 * soft-fp/getf2.c: Likewise.
4235 * soft-fp/half.h: Likewise.
4236 * soft-fp/ledf2.c: Likewise.
4237 * soft-fp/lesf2.c: Likewise.
4238 * soft-fp/letf2.c: Likewise.
4239 * soft-fp/muldf3.c: Likewise.
4240 * soft-fp/mulsf3.c: Likewise.
4241 * soft-fp/multf3.c: Likewise.
4242 * soft-fp/negdf2.c: Likewise.
4243 * soft-fp/negsf2.c: Likewise.
4244 * soft-fp/negtf2.c: Likewise.
4245 * soft-fp/op-1.h: Likewise.
4246 * soft-fp/op-2.h: Likewise.
4247 * soft-fp/op-4.h: Likewise.
4248 * soft-fp/op-8.h: Likewise.
4249 * soft-fp/op-common.h: Likewise.
4250 * soft-fp/quad.h: Likewise.
4251 * soft-fp/single.h: Likewise.
4252 * soft-fp/soft-fp.h: Likewise.
4253 * soft-fp/subdf3.c: Likewise.
4254 * soft-fp/subsf3.c: Likewise.
4255 * soft-fp/subtf3.c: Likewise.
4256 * soft-fp/truncdfsf2.c: Likewise.
4257 * soft-fp/trunctfdf2.c: Likewise.
4258 * soft-fp/trunctfhf2.c: Likewise.
4259 * soft-fp/trunctfsf2.c: Likewise.
4260 * soft-fp/trunctfxf2.c: Likewise.
4261 * soft-fp/unorddf2.c: Likewise.
4262 * soft-fp/unordsf2.c: Likewise.
4263 * soft-fp/unordtf2.c: Likewise.
4264
4265 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar (a] amd.com>
4266
4267 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
4268 * config/i386/cpuinfo.h (processor_types): Add znver2.
4269
4270 2018-11-01 Paul Koning <ni1d (a] arrl.net>
4271
4272 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
4273 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
4274
4275 2018-10-31 Joseph Myers <joseph (a] codesourcery.com>
4276
4277 PR bootstrap/82856
4278 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
4279 * configure: Regenerate.
4280
4281 2018-10-31 Claudiu Zissulescu <claziss (a] synopsys.com>
4282
4283 * config/arc/lib1funcs.S (_muldi3): New function.
4284 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
4285
4286 2018-10-30 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
4287
4288 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
4289
4290 2018-10-25 Martin Liska <mliska (a] suse.cz>
4291
4292 PR other/87735
4293 * libgcov-profiler.c: Revert.
4294
4295 2018-10-24 Martin Liska <mliska (a] suse.cz>
4296
4297 * libgcov-profiler.c: Start from 1 in order to distinguish
4298 functions which were seen and these that were not.
4299
4300 2018-10-18 Paul Koning <ni1d (a] arrl.net>
4301
4302 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
4303 standard.
4304 * divmod.c: Update references to __udivmodsi4.
4305 * udivmod.c: Ditto.
4306 * udivhi3.c: New file.
4307 * udivmodhi4.c: New file.
4308 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
4309
4310 2018-10-17 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
4311
4312 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
4313
4314 2018-10-12 Olivier Hainque <hainque (a] adacore.com>
4315
4316 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
4317 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
4318
4319 2018-10-08 Paul Koning <ni1d (a] arrl.net>
4320
4321 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
4322
4323 2018-10-04 Martin Liska <mliska (a] suse.cz>
4324
4325 PR gcov-profile/84107
4326 * libgcov-profiler.c (__gcov_indirect_call):
4327 Change type to indirect_call_tuple.
4328 (struct indirect_call_tuple): New struct.
4329 (__gcov_indirect_call_topn_profiler): Change type.
4330 (__gcov_indirect_call_profiler_v2): Use the new
4331 variables.
4332 * libgcov.h (struct indirect_call_tuple): New struct
4333 definition.
4334
4335 2018-10-03 Uros Bizjak <ubizjak (a] gmail.com>
4336
4337 * libgcc2.c (isnan): Use __builtin_isnan.
4338 (isfinite): Use __builtin_isfinite.
4339 (isinf): Use __builtin_isinf.
4340
4341 2018-09-26 Uros Bizjak <ubizjak (a] gmail.com>
4342
4343 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
4344
4345 2018-09-21 Alexandre Oliva <oliva (a] adacore.com>
4346
4347 * config/vxcache.c: New file. Provide __clear_cache, based on
4348 the cacheTextUpdate VxWorks service.
4349 * config/t-vxworks (LIB2ADD): Add vxcache.c.
4350 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
4351 * config/t-vxwoks7: Likewise.
4352
4353 2018-09-21 Martin Liska <mliska (a] suse.cz>
4354
4355 * libgcov-driver.c (crc32_unsigned): Remove.
4356 (gcov_histogram_insert): Likewise.
4357 (gcov_compute_histogram): Likewise.
4358 (compute_summary): Simplify rapidly.
4359 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
4360 (merge_summary): Rapidly simplify.
4361 (dump_one_gcov): Ignore gcov_summary.
4362 (gcov_do_dump): Do not handle program summary, it's not
4363 used.
4364 * libgcov-util.c (tag_summary): Remove.
4365 (read_gcda_finalize): Fix coding style.
4366 (read_gcda_file): Initialize curr_object_summary.
4367 (compute_summary): Remove.
4368 (calculate_overlap): Remove settings of run_max.
4369
4370 2018-09-21 Monk Chiang <sh.chiang04 (a] gmail.com>
4371
4372 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
4373 ucontext_t type instead.
4374 (nds32_fallback_frame_state): Remove struct _sigframe statement.
4375
4376 2018-09-21 Kito Cheng <kito.cheng (a] gmail.com>
4377
4378 * config/nds32/t-nds32-glibc: New file.
4379
4380 2018-09-18 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
4381
4382 * configure.ac (solaris_ld_v2_maps): New test.
4383 * configure: Regenerate.
4384 * Makefile.in (solaris_ld_v2_maps): New variable.
4385 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
4386 if supported.
4387
4388 2018-08-23 Richard Earnshaw <rearnsha (a] arm.com>
4389
4390 PR target/86951
4391 * config/arm/lib1funcs.asm (speculation_barrier): New function.
4392 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
4393 to build.
4394
4395 2018-08-22 Iain Sandoe <iain (a] sandoe.co.uk>
4396
4397 * config/unwind-dw2-fde-darwin.c
4398 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
4399 * config/darwin10-unwind-find-enc-func.c: to here.
4400 * config/t-darwin: Build Darwin10 unwinder shim crt.
4401 * libgcc/config.host: Add the Darwin10 unwinder shim.
4402
4403 2018-08-21 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
4404
4405 * config.host: Add crtbegin.o and crtend.o for
4406 powerpc-wrs-vxworks target.
4407
4408 2018-08-17 Jojo <jijie_rong (a] c-sky.com>
4409 Huibin Wang <huibin_wang (a] c-sky.com>
4410 Sandra Loosemore <sandra (a] codesourcery.com>
4411 Chung-Lin Tang <cltang (a] codesourcery.com>
4412
4413 C-SKY port: libgcc
4414
4415 * config.host: Add C-SKY support.
4416 * config/csky/*: New.
4417
4418 2018-08-12 Chung-Ju Wu <jasonwucj (a] gmail.com>
4419
4420 * config/nds32/t-nds32-isr: Rearrange object dependency.
4421 * config/nds32/initfini.c: Add dwarf2 unwinding support.
4422 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
4423 and registers usage.
4424 * config/nds32/isr-library/excp_isr.S: Ditto.
4425 * config/nds32/isr-library/intr_isr.S: Ditto.
4426 * config/nds32/isr-library/reset.S: Ditto.
4427 * config/nds32/isr-library/restore_all.inc: Ditto.
4428 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
4429 * config/nds32/isr-library/restore_partial.inc: Ditto.
4430 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
4431 * config/nds32/isr-library/save_all.inc: Ditto.
4432 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
4433 * config/nds32/isr-library/save_partial.inc: Ditto.
4434 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
4435 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
4436
4437 2018-08-11 John David Anglin <danglin (a] gcc.gnu.org>
4438
4439 * config/pa/linux-atomic.c: Update comment.
4440 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
4441 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
4442 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
4443 __ATOMIC_RELAXED for atomic loads.
4444 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
4445 unordered store to release lock.
4446 (__sync_lock_release_8): Likewise.
4447 (SYNC_LOCK_RELEASE_2): Remove define.
4448
4449 2018-08-02 Nicolas Pitre <nico (a] fluxnic.net>
4450
4451 PR libgcc/86512
4452 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
4453 exponent goes negative. Update my email address.
4454 * config/arm/ieee754-sf.S: Likewise.
4455
4456 2018-08-01 Martin Liska <mliska (a] suse.cz>
4457
4458 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
4459 check that __gcov_indirect_call_callee is non-null.
4460
4461 2018-07-30 Christophe Lyon <christophe.lyon (a] linaro.org>
4462
4463 * config/arm/ieee754-df.S: Fix comment for code working on
4464 architectures >= 4.
4465 * config/arm/ieee754-sf.S: Likewise.
4466
4467 2018-07-27 H.J. Lu <hongjiu.lu (a] intel.com>
4468
4469 PR libgcc/85334
4470 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4471 Removed.
4472
4473 2018-07-05 James Clarke <jrtc27 (a] jrtc27.com>
4474
4475 * configure: Regenerated.
4476
4477 2018-06-27 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
4478
4479 * Makefile.in (install_leaf): Use enable_gcov instead of
4480 enable_libgcov.
4481
4482 2018-06-27 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
4483
4484 * configure.ac: Add --disable-gcov option.
4485 * configure: Regenerate.
4486 * Makefile.in: Honour @enable_gcov@.
4487
4488 2018-06-21 Christophe Lyon <christophe.lyon (a] linaro.org>
4489
4490 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
4491 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
4492 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
4493 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
4494 __ARM_ARCH__.
4495 * config/arm/ieee754-sf.S: Likewise.
4496 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
4497
4498 2018-06-21 Christophe Lyon <christophe.lyon (a] linaro.org>
4499
4500 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
4501 longer supported.
4502 * config/arm/ieee754-sf.S: Likewise.
4503
4504 2018-06-20 Than McIntosh <thanm (a] google.com>
4505
4506 PR libgcc/86213
4507 * generic-morestack.c (allocate_segment): Move calls to getenv and
4508 getpagesize to __morestack_load_mmap.
4509 (__morestack_load_mmap) Initialize static_pagesize and
4510 use_guard_page here so as to avoid clobbering SSE regs during a
4511 __morestack call.
4512
4513 2018-06-18 Michael Meissner <meissner (a] linux.ibm.com>
4514
4515 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
4516 support modules with -mno-gnu-attribute.
4517 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
4518
4519 2018-06-07 Olivier Hainque <hainque (a] adacore.com>
4520
4521 * config/t-vxworks (LIBGCC_INCLUDES): Add
4522 -I$(MULTIBUILDTOP)../../gcc/include.
4523 * config/t-vxworks7: Likewise. Reformat a bit to match
4524 the t-vxworks layout.
4525
4526 2018-06-07 Olga Makhotina <olga.makhotina (a] intel.com>
4527
4528 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
4529
4530 2018-06-07 Martin Liska <mliska (a] suse.cz>
4531
4532 * libgcov-driver.c: Rename cs_all to all and assign it from
4533 all_prg.
4534
4535 2018-06-07 Martin Liska <mliska (a] suse.cz>
4536
4537 PR bootstrap/86057
4538 * libgcov-driver-system.c (replace_filename_variables): Use
4539 memcpy instead of mempcpy.
4540 (allocate_filename_struct): Do not allocate filename, allocate
4541 prefix and set it.
4542 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
4543 here and properly copy content into it.
4544 * libgcov-driver.c (struct gcov_filename): Remove max_length
4545 field, change prefix from size_t into char *.
4546 (compute_summary): Do not calculate longest filename.
4547 (gcov_do_dump): Release memory of gf.filename after each file.
4548 * libgcov-util.c (compute_summary): Use new signature of
4549 compute_summary.
4550 (calculate_overlap): Likewise.
4551
4552 2018-06-05 Martin Liska <mliska (a] suse.cz>
4553
4554 PR gcov-profile/47618
4555 * libgcov-driver-system.c (replace_filename_variables): New
4556 function.
4557 (gcov_exit_open_gcda_file): Use it.
4558
4559 2018-06-05 Martin Liska <mliska (a] suse.cz>
4560
4561 * libgcov-driver.c (gcov_compute_histogram): Remove usage
4562 of gcov_ctr_summary.
4563 (compute_summary): Do it just for a single summary.
4564 (merge_one_data): Likewise.
4565 (merge_summary): Simplify as we read just single summary.
4566 (dump_one_gcov): Pass proper argument.
4567 * libgcov-util.c (compute_one_gcov): Simplify as we have just
4568 single summary.
4569 (gcov_info_count_all_cold): Likewise.
4570 (calculate_overlap): Likewise.
4571
4572 2018-06-02 Chung-Ju Wu <jasonwucj (a] gmail.com>
4573 Monk Chiang <sh.chiang04 (a] gmail.com>
4574
4575 * config.host (nds32*-linux*): New.
4576 * config/nds32/linux-atomic.c: New file.
4577 * config/nds32/linux-unwind.h: New file.
4578
4579 2018-05-31 Uros Bizjak <ubizjak (a] gmail.com>
4580
4581 PR target/85591
4582 * config/i386/cpuinfo.c (get_amd_cpu): Return
4583 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
4584
4585 2018-05-30 Rasmus Villemoes <rasmus.villemoes (a] prevas.dk>
4586
4587 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
4588
4589 2018-05-29 Martin Liska <mliska (a] suse.cz>
4590
4591 PR gcov-profile/85759
4592 * libgcov-driver-system.c (gcov_error): Introduce usage of
4593 GCOV_EXIT_AT_ERROR env. variable.
4594 * libgcov-driver.c (merge_one_data): Print error that we
4595 overwrite a gcov file with a different timestamp.
4596
4597 2018-05-23 Kalamatee <kalamatee (a] gmail.com>
4598
4599 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
4600 path to Lf$finfty.
4601
4602 2018-05-18 Kito Cheng <kito.cheng (a] gmail.com>
4603 Monk Chiang <sh.chiang04 (a] gmail.com>
4604 Jim Wilson <jimw (a] sifive.com>
4605
4606 * config/riscv/save-restore.S: Add support for rv32e.
4607
4608 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov (a] arm.com>
4609
4610 * config/arm/libunwind.S: Update comment relating to armv5.
4611
4612 2018-05-17 Jerome Lambourg <lambourg (a] adacore.com>
4613
4614 * config/arm/cmse.c (cmse_check_address_range): Replace
4615 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
4616
4617 2018-05-17 Olga Makhotina <olga.makhotina (a] intel.com>
4618
4619 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
4620 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
4621
4622 2018-05-08 Olga Makhotina <olga.makhotina (a] intel.com>
4623
4624 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
4625 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
4626
4627 2018-05-07 Amaan Cheval <amaan.cheval (a] gmail.com>
4628
4629 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
4630
4631 2018-04-27 Andreas Tobler <andreast (a] gcc.gnu.org>
4632 Maryse Levavasseur <maryse.levavasseur (a] stormshield.eu>
4633
4634 PR libgcc/84292
4635 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
4636 op_and_fetch to return the right result.
4637
4638 2018-04-27 Alan Modra <amodra (a] gmail.com>
4639
4640 PR libgcc/85532
4641 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
4642 -fno-asynchronous-unwind-tables.
4643
4644 2018-04-25 Chung-Ju Wu <jasonwucj (a] gmail.com>
4645
4646 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
4647 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
4648
4649 2018-04-24 H.J. Lu <hongjiu.lu (a] intel.com>
4650
4651 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
4652 when including "config/i386/shadow-stack-unwind.h".
4653
4654 2018-04-24 H.J. Lu <hongjiu.lu (a] intel.com>
4655
4656 * configure: Regenerated.
4657
4658 2018-04-20 Michael Meissner <meissner (a] linux.ibm.com>
4659
4660 PR target/85456
4661 * config/rs6000/_powikf2.c: New file. Add support for the
4662 __builtin_powil function when long double is IEEE 128-bit floating
4663 point.
4664 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
4665 __powikf2 support.
4666 (__powikf2): Likewise.
4667 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
4668 (__powikf2_hw): Likewise.
4669 (__powikf2): Likewise.
4670 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
4671 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
4672 (_powikf2-hw.c): Likewise.
4673
4674 2018-04-19 H.J. Lu <hongjiu.lu (a] intel.com>
4675
4676 PR libgcc/85334
4677 * unwind-generic.h (_Unwind_Frames_Increment): New.
4678 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4679 Likewise.
4680 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
4681 count with _Unwind_Frames_Increment.
4682 (_Unwind_ForcedUnwind_Phase2): Likewise.
4683
4684 2018-04-19 H.J. Lu <hongjiu.lu (a] intel.com>
4685
4686 PR libgcc/85379
4687 * config/i386/morestack.S (__stack_split_initialize): Add
4688 _CET_ENDBR.
4689
4690 2018-04-19 Jakub Jelinek <jakub (a] redhat.com>
4691
4692 * configure: Regenerated.
4693
4694 2018-04-18 David Malcolm <dmalcolm (a] redhat.com>
4695
4696 PR jit/85384
4697 * configure: Regenerate.
4698
4699 2018-04-16 Jakub Jelinek <jakub (a] redhat.com>
4700
4701 PR target/84945
4702 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
4703 -Wdangling-else warnings. Mask shift counts to avoid
4704 -Wshift-count-negative and -Wshift-count-overflow false positives.
4705
4706 2018-04-06 Ruslan Bukin <br (a] bsdpad.com>
4707
4708 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
4709
4710 2018-03-29 H.J. Lu <hongjiu.lu (a] intel.com>
4711
4712 PR target/85100
4713 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
4714 (XSTATE_FP): Likewise.
4715 (XSTATE_SSE): Likewise.
4716 (XSTATE_YMM): Likewise.
4717 (XSTATE_OPMASK): Likewise.
4718 (XSTATE_ZMM): Likewise.
4719 (XSTATE_HI_ZMM): Likewise.
4720 (XCR_AVX_ENABLED_MASK): Likewise.
4721 (XCR_AVX512F_ENABLED_MASK): Likewise.
4722 (get_available_features): Enable AVX and AVX512 features only
4723 if their states are supported by OSXSAVE.
4724
4725 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
4726
4727 PR target/85025
4728 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4729 Fix a typo, tmp => 255.
4730
4731 2018-03-20 Jakub Jelinek <jakub (a] redhat.com>
4732
4733 PR target/84945
4734 * config/i386/cpuinfo.h (__cpu_features2): Declare.
4735 * config/i386/cpuinfo.c (__cpu_features2): New variable for
4736 ifndef SHARED only.
4737 (set_feature): Define.
4738 (get_available_features): Use set_feature macro. Set __cpu_features2
4739 to the second word of features ifndef SHARED.
4740
4741 2018-03-15 Julia Koval <julia.koval (a] intel.com>
4742
4743 * config/i386/cpuinfo.c (get_available_features): Add
4744 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
4745 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
4746 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
4747 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
4748 FEATURE_AVX512BITALG.
4749
4750 2018-03-14 Julia Koval <julia.koval (a] intel.com>
4751
4752 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
4753 icelake client and icelake server.
4754
4755 2018-03-06 John David Anglin <danglin (a] gcc.gnu.org>
4756
4757 * config/pa/fptr.c (_dl_read_access_allowed): New.
4758 (__canonicalize_funcptr_for_compare): Use it.
4759
4760 2018-02-28 Jakub Jelinek <jakub (a] redhat.com>
4761
4762 PR debug/83917
4763 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
4764 $asm_hidden_op if visibility ("hidden") attribute works.
4765 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
4766 * config/i386/i386-asm.h: Don't include auto-host.h.
4767 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
4768 PACKAGE_URL): Don't undefine.
4769 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
4770 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
4771 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
4772 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
4773 definition instead of hardcoded .hidden.
4774 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
4775 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
4776 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
4777 (USE_GAS_CFI_DIRECTIVES): Don't define.
4778 * configure: Regenerated.
4779 * config.in: Likewise.
4780
4781 2018-02-26 Jakub Jelinek <jakub (a] redhat.com>
4782
4783 PR debug/83917
4784 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
4785 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
4786 inclusion of auto-target.h and auto-host.h.
4787 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
4788 __GCC_HAVE_DWARF2_CFI_ASM.
4789 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4790 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
4791 cfi_pop): Define.
4792 * config/i386/cygwin.S: Don't include auto-host.h here, just
4793 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
4794 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4795 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
4796 * config/i386/resms64fx.h: Add cfi_* directives.
4797 * config/i386/resms64x.h: Likewise.
4798
4799 2018-02-20 Max Filippov <jcmvbkbc (a] gmail.com>
4800
4801 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4802 .literal_position directive.
4803 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
4804
4805 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
4806
4807 PR target/84148
4808 * configure: Regenerate.
4809
4810 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
4811
4812 PR target/84239
4813 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4814 Include cetintrin.h not x86intrin.h.
4815
4816 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
4817
4818 PR target/84239
4819 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4820 Use new _get_ssp and _inc_ssp intrinsics.
4821
4822 2018-02-02 Julia Koval <julia.koval (a] intel.com>
4823
4824 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4825
4826 2018-01-26 Claudiu Zissulescu <claziss (a] synopsys.com>
4827
4828 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4829 option.
4830 (__divsi3): Use RF16 safe registers.
4831 (__modsi3): Likewise.
4832
4833 2018-01-23 Max Filippov <jcmvbkbc (a] gmail.com>
4834
4835 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4836 (__divsf3): Make NaN return value quiet.
4837 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4838 (__divdf3): Make NaN return value quiet.
4839
4840 2018-01-22 Sebastian Perta <sebastian.perta (a] renesas.com>
4841
4842 * config/rl78/anddi3.S: New assembly file.
4843 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4844
4845 2018-01-22 Sebastian Perta <sebastian.perta (a] renesas.com>
4846
4847 * config/rl78/umindi3.S: New assembly file.
4848 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4849
4850 2018-01-22 Sebastian Perta <sebastian.perta (a] renesas.com>
4851
4852 * config/rl78/smindi3.S: New assembly file.
4853 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4854
4855 2018-01-22 Sebastian Perta <sebastian.perta (a] renesas.com>
4856
4857 * config/rl78/smaxdi3.S: New assembly file.
4858 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4859
4860 2018-01-22 Sebastian Perta <sebastian.perta (a] renesas.com>
4861
4862 * config/rl78/umaxdi3.S: New assembly file.
4863 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
4864
4865 2018-01-21 John David Anglin <danglin (a] gcc.gnu.org>
4866
4867 PR lto/83452
4868 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4869 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
4870
4871 2018-01-13 Richard Sandiford <richard.sandiford (a] linaro.org>
4872
4873 * config/aarch64/value-unwind.h (aarch64_vg): New function.
4874 (DWARF_LAZY_REGISTER_VALUE): Define.
4875 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4876 to provide a fallback register value.
4877
4878 2018-01-08 Michael Meissner <meissner (a] linux.vnet.ibm.com>
4879
4880 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4881 __ibm128, instead of trying to use long double.
4882 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4883 accomidate -mabi=ieeelongdouble multilibs.
4884 (CVT_IBM128_TO_FLOAT128): Likewise.
4885 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4886 the appropriate IBM extended double type.
4887 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4888 (__gcc_qsub): Likewise.
4889 (__gcc_qmul): Likewise.
4890 (__gcc_qdiv): Likewise.
4891 (pack_ldouble): Likewise.
4892 (__gcc_qneg): Likewise.
4893 (__gcc_qeq): Likewise.
4894 (__gcc_qne): Likewise.
4895 (__gcc_qge): Likewise.
4896 (__gcc_qle): Likewise.
4897 (__gcc_stoq): Likewise.
4898 (__gcc_dtoq): Likewise.
4899 (__gcc_itoq): Likewise.
4900 (__gcc_utoq): Likewise.
4901 (__gcc_qunord): Likewise.
4902 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4903 quad-float128.h for the definitions.
4904 (COPYSIGN): Use the f128 version instead of the q version.
4905 (INFINITY): Likewise.
4906 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4907 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4908 quad-float128.h for the definitions.
4909 (COPYSIGN): Use the f128 version instead of the q version.
4910 (INFINITY): Likewise.
4911 (FABS): Likewise.
4912 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4913 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4914 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4915
4916 2018-01-05 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
4917
4918 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4919 configuration.
4920
4921 2018-01-03 Jakub Jelinek <jakub (a] redhat.com>
4922
4923 Update copyright years.
4924
4925 2017-12-12 Kito Cheng <kito.cheng (a] gmail.com>
4926
4927 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4928 * config/riscv/multi3.c: New file.
4929 * config/riscv/multi3.S: Remove.
4930
4931 2017-12-08 Jim Wilson <jimw (a] sifive.com>
4932
4933 * config/riscv/div.S: Use FUNC_* macros.
4934 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4935 * config/riscv/save-restore.S: Likewise.
4936 * config/riscv/riscv-asm.h: New.
4937
4938 2017-11-30 Michael Meissner <meissner (a] linux.vnet.ibm.com>
4939
4940 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4941 * config/rs6000/_divkc3.c (__divkc3): Likewise.
4942
4943 PR libgcc/83112
4944 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4945 correct type for all ifunc resolvers to silence -Wattribute-alias
4946 warnings. Eliminate the forward declaration of the resolver
4947 functions which is no longer needed.
4948 (__subkf3_resolve): Likewise.
4949 (__mulkf3_resolve): Likewise.
4950 (__divkf3_resolve): Likewise.
4951 (__negkf2_resolve): Likewise.
4952 (__eqkf2_resolve): Likewise.
4953 (__nekf2_resolve): Likewise.
4954 (__gekf2_resolve): Likewise.
4955 (__gtkf2_resolve): Likewise.
4956 (__lekf2_resolve): Likewise.
4957 (__ltkf2_resolve): Likewise.
4958 (__unordkf2_resolve): Likewise.
4959 (__extendsfkf2_resolve): Likewise.
4960 (__extenddfkf2_resolve): Likewise.
4961 (__trunckfsf2_resolve): Likewise.
4962 (__trunckfdf2_resolve): Likewise.
4963 (__fixkfsi_resolve): Likewise.
4964 (__fixkfdi_resolve): Likewise.
4965 (__fixunskfsi_resolve): Likewise.
4966 (__fixunskfdi_resolve): Likewise.
4967 (__floatsikf_resolve): Likewise.
4968 (__floatdikf_resolve): Likewise.
4969 (__floatunsikf_resolve): Likewise.
4970 (__floatundikf_resolve): Likewise.
4971 (__extendkftf2_resolve): Likewise.
4972 (__trunctfkf2_resolve): Likewise.
4973
4974 PR libgcc/83103
4975 * config/rs6000/quad-float128.h (TF): Don't define if long double
4976 is IEEE 128-bit floating point.
4977 (TCtype): Define as either TCmode or KCmode, depending on whether
4978 long double is IEEE 128-bit floating point.
4979 (__mulkc3_sw): Add declarations for software/hardware versions of
4980 complex multiply/divide.
4981 (__divkc3_sw): Likewise.
4982 (__mulkc3_hw): Likewise.
4983 (__divkc3_hw): Likewise.
4984 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4985 handlers to switch between using software emulation and hardware
4986 float128 instructions, build the complex multiply/divide functions
4987 for both software and hardware support.
4988 * config/rs6000/_divkc3.c (_divkc3): Likewise.
4989 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4990 (__divkc3_resolve): Likewise.
4991 (__mulkc3): Likewise.
4992 (__divkc3): Likewise.
4993 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4994 (fp128_hw_src): Likewise.
4995 (fp128_hw_static_obj): Likewise.
4996 (fp128_hw_shared_obj): Likewise.
4997 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4998 _mulkc3.c and _divkc3.c, changing the function name.
4999 (_divkc3-hw.c): Likewise.
5000 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
5001 and _divkc3-hw.c.
5002
5003 2017-11-26 Julia Koval <julia.koval (a] intel.com>
5004
5005 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
5006 * config/i386/cpuinfo.h (processor_subtypes): Add
5007 INTEL_COREI7_CANNONLAKE.
5008
5009 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
5010
5011 PR bootstrap/83015
5012 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
5013 parameter.
5014 * config/xtensa/unwind-dw2-xtensa.c: Likewise
5015 * config/ia64/unwind-ia64.c: Add frames parameter.
5016 * unwind-sjlj.c: Likewise.
5017
5018 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
5019
5020 * config/i386/linux-unwind.h: Include
5021 config/i386/shadow-stack-unwind.h.
5022 * config/i386/shadow-stack-unwind.h: New file.
5023 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
5024 pass it to _Unwind_Frames_Extra.
5025 * unwind-generic.h (_Unwind_Frames_Extra): New.
5026 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
5027 parameter. Add local variable frames to count number of frames.
5028 (_Unwind_ForcedUnwind_Phase2): Likewise.
5029 (_Unwind_RaiseException): Add local variable frames to count
5030 number of frames, pass it to _Unwind_RaiseException_Phase2 and
5031 uw_install_context.
5032 (_Unwind_ForcedUnwind): Likewise.
5033 (_Unwind_Resume): Likewise.
5034 (_Unwind_Resume_or_Rethrow): Likewise.
5035
5036 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
5037
5038 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
5039 (CET_FLAGS): New.
5040 * config/i386/morestack.S: Include <cet.h>.
5041 (__morestack_large_model): Add _CET_ENDBR at function entrance.
5042 * config/i386/resms64.h: Include <cet.h>.
5043 * config/i386/resms64f.h: Likewise.
5044 * config/i386/resms64fx.h: Likewise.
5045 * config/i386/resms64x.h: Likewise.
5046 * config/i386/savms64.h: Likewise.
5047 * config/i386/savms64f.h: Likewise.
5048 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
5049 (CRTSTUFF_T_CFLAGS): Likewise.
5050 * configure.ac: Include ../config/cet.m4.
5051 Set and substitute CET_FLAGS.
5052 * configure: Regenerated.
5053
5054 2017-11-14 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
5055
5056 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
5057 renaming.
5058 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
5059 * configure.ac (libgcc_cv_solaris_crts): Likewise.
5060 * configure: Regenerate.
5061
5062 2017-11-07 Tom de Vries <tom (a] codesourcery.com>
5063
5064 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
5065 after "do {} while (0)".
5066
5067 2017-11-07 Tom de Vries <tom (a] codesourcery.com>
5068
5069 PR other/82784
5070 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
5071 semicolon after "do {} while (0)".
5072 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
5073 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
5074 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
5075 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
5076
5077 2017-11-04 Andreas Tobler <andreast (a] gcc.gnu.org>
5078
5079 PR libgcc/82635
5080 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
5081 sysctl to determine whether we're in a trampoline.
5082 Keep the pattern matching method for systems without
5083 KERN_PROC_SIGTRAMP sysctl.
5084
5085 2017-11-03 Cupertino Miranda <cmiranda (a] synopsys.com>
5086 Vineet Gupta <vgupta (a] synopsys.com>
5087
5088 * config.host (arc*-*-linux*): Set md_unwind_header variable.
5089 * config/arc/linux-unwind-reg.def: New file.
5090 * config/arc/linux-unwind-reg.h: Likewise.
5091
5092 2017-10-23 Sebastian Perta <sebastian.perta (a] renesas.com>
5093
5094 * config/rl78/subdi3.S: New assembly file.
5095 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
5096
5097 2017-10-13 Sebastian Perta <sebastian.perta (a] renesas.com>
5098
5099 * config/rl78/adddi3.S: New assembly file.
5100 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
5101
5102 2017-10-13 Jakub Jelinek <jakub (a] redhat.com>
5103
5104 PR target/82274
5105 * libgcc2.c (__mulvDI3): If both operands have
5106 the same highpart of -1 and the topmost bit of lowpart is 0,
5107 multiplication overflows even if both lowparts are 0.
5108
5109 2017-09-28 James Bowman <james.bowman (a] ftdichip.com>
5110
5111 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
5112
5113 2017-09-26 Joseph Myers <joseph (a] codesourcery.com>
5114
5115 * config/microblaze/crti.S, config/microblaze/crtn.S,
5116 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
5117 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
5118 config/microblaze/mulsi3.S,
5119 config/microblaze/stack_overflow_exit.S,
5120 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
5121 config/pa/milli64.S: Add .note.GNU-stack section.
5122
5123 2017-09-23 Daniel Santos <daniel.santos (a] pobox.com>
5124
5125 * configure.ac: Add Check for HAVE_AS_AVX.
5126 * config.in: Regenerate.
5127 * configure: Likewise.
5128 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
5129 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
5130 Correct out-of-date comments.
5131
5132 2017-09-20 Sebastian Peryt <sebastian.peryt (a] intel.com>
5133
5134 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
5135 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
5136
5137 2017-09-17 Daniel Santos <daniel.santos (a] pobox.com>
5138
5139 * config/i386/i386-asm.h (PASTE2): New macro.
5140 (ASMNAME): Modify to use PASTE2.
5141 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
5142 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
5143 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
5144 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
5145 * config/i386/resms64f.S: Likewise.
5146 * config/i386/resms64fx.S: Likewise.
5147 * config/i386/resms64x.S: Likewise.
5148 * config/i386/savms64.S: Likewise.
5149 * config/i386/savms64f.S: Likewise.
5150 * config/i386/avx_resms64.S: New file that only defines a macro and
5151 includes it's corresponding header file.
5152 * config/i386/avx_resms64f.S: Likewise.
5153 * config/i386/avx_resms64fx.S: Likewise.
5154 * config/i386/avx_resms64x.S: Likewise.
5155 * config/i386/avx_savms64.S: Likewise.
5156 * config/i386/avx_savms64f.S: Likewise.
5157 * config/i386/sse_resms64.S: Likewise.
5158 * config/i386/sse_resms64f.S: Likewise.
5159 * config/i386/sse_resms64fx.S: Likewise.
5160 * config/i386/sse_resms64x.S: Likewise.
5161 * config/i386/sse_savms64.S: Likewise.
5162 * config/i386/sse_savms64f.S: Likewise.
5163 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
5164
5165 2017-09-01 Olivier Hainque <hainque (a] adacore.com>
5166 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
5167
5168 2017-08-31 Olivier Hainque <hainque (a] adacore.com>
5169
5170 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
5171 match as powerpc-wrs-vxworks*.
5172
5173 2017-08-07 Jonathan Yong <10walls (a] gmail.com>
5174
5175 * config.host (*-cygwin): Include file from mingw
5176 config/i386/enable-execute-stack-mingw32.c
5177
5178 2017-08-01 Jerome Lambourg <lambourg (a] adacore.com>
5179 Doug Rupp <rupp (a] adacore.com>
5180 Olivier Hainque <hainque (a] adacore.com>
5181
5182 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
5183 as well as arm-wrs-vxworks.
5184 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
5185 LIB2ADDEH.
5186 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
5187 __exidx_start and __exidx_end for downloadable modules.
5188
5189 2017-08-01 Olivier Hainque <hainque (a] adacore.com>
5190
5191 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
5192 * config/t-vxworks7: Likewise.
5193
5194 2017-08-01 Olivier Hainque <hainque (a] adacore.com>
5195
5196 * config/t-vxworks: Instead of redefining LIB2ADD,
5197 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
5198
5199 2017-07-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
5200
5201 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
5202
5203 2017-07-24 Daniel Santos <daniel.santos (a] pobox.com>
5204
5205 PR testsuite/80759
5206 * config.host: include i386/t-msabi for darwin and solaris.
5207 * config/i386/i386-asm.h
5208 (ELFFN): Rename to FN_TYPE.
5209 (FN_SIZE): New macro.
5210 (FN_HIDDEN): Likewise.
5211 (ASMNAME): Likewise.
5212 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
5213 .globl.
5214 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
5215 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
5216 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
5217 .macro.
5218 * config/i386/resms64f.S: Likewise.
5219 * config/i386/resms64fx.S: Likewise.
5220 * config/i386/resms64x.S: Likewise.
5221 * config/i386/savms64.S: Likewise.
5222 * config/i386/savms64f.S: Likewise.
5223
5224 2017-07-19 John Marino <gnugcc (a] marino.st>
5225
5226 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
5227
5228 2017-07-12 Michael Meissner <meissner (a] linux.vnet.ibm.com>
5229
5230 PR target/81193
5231 * configure.ac (PowerPC float128 hardware support): Test whether
5232 we can use __builtin_cpu_supports before enabling the ifunc
5233 handler.
5234 * configure: Regenerate.
5235
5236 2017-07-10 Vineet Gupta <vgupta (a] synopsys.com>
5237
5238 * config.host: Remove uclibc from arc target spec.
5239
5240 2017-07-09 Krister Walfridsson <krister.walfridsson (a] gmail.com>
5241
5242 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
5243
5244 2017-07-07 Peter Bergner <bergner (a] vnet.ibm.com>
5245
5246 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
5247 (have_ieee_hw_p): Delete function.
5248 (SW_OR_HW) Use __builtin_cpu_supports().
5249
5250 2017-07-06 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
5251
5252 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
5253
5254 2017-07-03 Olivier Hainque <hainque (a] adacore.com>
5255
5256 * config/t-vxworks7: New file, really.
5257
5258 2017-06-28 Joseph Myers <joseph (a] codesourcery.com>
5259
5260 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
5261 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
5262 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
5263 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
5264 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
5265 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
5266 config/pa/linux-unwind.h (pa32_fallback_frame_state),
5267 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
5268 config/sh/linux-unwind.h (sh_fallback_frame_state),
5269 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
5270 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
5271 ucontext_t instead of struct ucontext.
5272
5273 2017-06-27 Jerome Lambourg <lambourg (a] adacore.com>
5274
5275 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
5276 (x86_64-wrs-vxworks7): Likewise.
5277
5278 2017-06-27 Olivier Hainque <hainque (a] adacore.com>
5279
5280 * config/t-vxworks7: New file.
5281 * config.host (*-*-vxworks7): Use it.
5282
5283 2017-06-22 Matt Turner <mattst88 (a] gmail.com>
5284
5285 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
5286 skylake case.
5287
5288 2017-06-21 Richard Biener <rguenther (a] suse.de>
5289
5290 PR gcov-profile/81080
5291 * configure.ac: Add AC_SYS_LARGEFILE.
5292 * libgcov.h: Include auto-target.h before tsystem.h to pick
5293 up _FILE_OFFSET_BITS which might differ for multilibs.
5294 * config.in: Regenerate.
5295 * configure: Likewise.
5296
5297 2017-06-16 Richard Earnshaw <rearnsha (a] arm.com>
5298
5299 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
5300
5301 2017-06-09 Martin Liska <mliska (a] suse.cz>
5302
5303 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
5304 Reset __gcov_indirect_call_callee to NULL.
5305
5306 2017-06-08 Olivier Hainque <hainque (a] adacore.com>
5307
5308 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
5309 the set of -I options, support for direct inclusions of net/uio.h
5310 by VxWorks header files via ioLib.h.
5311
5312 2017-06-07 Tony Reix <tony.reix (a] atos.net>
5313 Matthieu Sarter <matthieu.sarter.external (a] atos.net>
5314 David Edelsohn <dje.gcc (a] gmail.com>
5315
5316 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
5317 unconditionally.
5318 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
5319 AIX 7.2 support.
5320
5321 2017-06-02 Olivier Hainque <hainque (a] adacore.com>
5322
5323 * config/vxlib.c (__gthread_once): Add missing value to
5324 return statement.
5325
5326 2017-05-30 Olivier Hainque <hainque (a] adacore.com>
5327
5328 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
5329 dollar sign before $(MULTIDIR).
5330
5331 2017-05-26 Richard Henderson <rth (a] redhat.com>
5332
5333 PR libgcc/80037
5334 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
5335
5336 2017-05-17 Andreas Tobler <andreast (a] gcc.gnu.org>
5337
5338 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
5339 _Unwind_SetIP available as functions for arm*-*-freebsd*.
5340 * config/arm/unwind-arm.c: Implement the above.
5341
5342 2017-05-15 Adhemerval Zanella <adhemerval.zanella (a] linaro.org>
5343
5344 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
5345 section for a non-executable stack.
5346
5347 2017-05-14 Krister Walfridsson <krister.walfridsson (a] gmail.com>
5348
5349 PR target/80600
5350 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
5351
5352 2017-05-14 Daniel Santos <daniel.santos (a] pobox.com>
5353
5354 * config.host: Add i386/t-msabi to i386/t-linux file list.
5355 * config/i386/i386-asm.h: New file.
5356 * config/i386/resms64.S: New file.
5357 * config/i386/resms64f.S: New file.
5358 * config/i386/resms64fx.S: New file.
5359 * config/i386/resms64x.S: New file.
5360 * config/i386/savms64.S: New file.
5361 * config/i386/savms64f.S: New file.
5362 * config/i386/t-msabi: New file.
5363
5364 2017-05-09 Andreas Tobler <andreast (a] gcc.gnu.org>
5365
5366 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
5367 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
5368
5369 2017-05-05 Joshua Conner <joshconner (a] google.com>
5370
5371 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
5372 pc-relative indirect handling for fuchsia.
5373 * config/t-slibgcc-fuchsia: New file.
5374 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
5375 x86_64-*-fuchsia*): Add definitions.
5376
5377 2017-04-19 Martin Liska <mliska (a] suse.cz>
5378
5379 PR gcov-profile/80435
5380 * Makefile.in: Install gcov.h.
5381 * gcov.h: New file.
5382 * libgcov.h: Use the header and make __gcov_flush publicly
5383 visible.
5384
5385 2017-04-18 Martin Liska <mliska (a] suse.cz>
5386
5387 PR gcov-profile/78783
5388 * libgcov-driver.c (gcov_get_filename): New function.
5389
5390 2017-04-07 Jeff Law <law (a] redhat.com>
5391
5392 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
5393 target makefile fragment.
5394 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
5395
5396 2017-04-07 Alan Modra <amodra (a] gmail.com>
5397
5398 PR target/45053
5399 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
5400
5401 2017-04-03 Jonathan Wakely <jwakely (a] redhat.com>
5402
5403 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
5404
5405 2017-03-27 Claudiu Zissulescu <claziss (a] synopsys.com>
5406
5407 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
5408
5409 2017-03-10 John Marino <gnugcc (a] marino.st>
5410
5411 * config/aarch64/freebsd-unwind.h: New file.
5412 * config.host: Add aarch64-*-freebsd unwinder.
5413
5414 2017-03-10 Segher Boessenkool <segher (a] kernel.crashing.org>
5415
5416 * config/rs6000/crtrestvr.s: Use .machine altivec.
5417 * config/rs6000/crtsavevr.s: Ditto.
5418
5419 2017-03-10 Segher Boessenkool <segher (a] kernel.crashing.org>
5420
5421 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
5422 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
5423 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
5424 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
5425 * configure: Regenerate.
5426 * config.in: Regenerate.
5427
5428 2017-03-02 Jonathan Yong <10walls (a] gmail.com>
5429
5430 * config/i386/gthr-win32.h: Define NOGDI before
5431 windows.h include to prevent w32api CC_NONE macro
5432 clash with libgfortran.
5433
5434 2017-03-02 Jonathan Yong <10walls (a] gmail.com>
5435
5436 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
5437
5438 2017-02-16 Andrew Pinski <apinski (a] cavium.com>
5439
5440 * config/aarch64/value-unwind.h: New file.
5441 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
5442 to tm_file.
5443
5444 2017-02-06 Palmer Dabbelt <palmer (a] dabbelt.com>
5445
5446 * config.host: Add RISC-V tuples.
5447 * config/riscv/atomic.c: New file.
5448 * config/riscv/crti.S: Likewise.
5449 * config/riscv/crtn.S: Likewise.
5450 * config/riscv/div.S: Likewise.
5451 * config/riscv/linux-unwind.h: Likewise.
5452 * config/riscv/muldi3.S: Likewise.
5453 * config/riscv/multi3.S: Likewise.
5454 * config/riscv/save-restore.S: Likewise.
5455 * config/riscv/sfp-machine.h: Likewise.
5456 * config/riscv/t-elf: Likewise.
5457 * config/riscv/t-elf32: Likewise.
5458 * config/riscv/t-elf64: Likewise.
5459 * config/riscv/t-softfp32: Likewise.
5460 * config/riscv/t-softfp64: Likewise.
5461
5462 2017-01-24 Jakub Jelinek <jakub (a] redhat.com>
5463
5464 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
5465 /* FALLTHRU */ comments.
5466
5467 2017-01-21 Gerald Pfeifer <gerald (a] pfeifer.com>
5468
5469 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
5470
5471 2017-01-20 Jiong Wang <jiong.wang (a] arm.com>
5472
5473 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
5474 * unwind-dw2.c (execute_cfa_program): Only multiplexing
5475 DW_CFA_GNU_window_save for AArch64 and LP64.
5476
5477 2017-01-20 Jiong Wang <jiong.wang (a] arm.com>
5478
5479 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
5480
5481 2017-01-19 Jiong Wang <jiong.wang (a] arm.com>
5482
5483 * config/aarch64/aarch64-unwind.h: New file.
5484 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
5485 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
5486 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
5487 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
5488 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
5489 (aarch64_post_extract_frame_addr): New function.
5490 (aarch64_post_frob_eh_handler_addr): New function.
5491 (aarch64_frob_update_context): New function.
5492 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
5493 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
5494 aarch64*-*-freebsd*):
5495 Initialize md_unwind_header to include aarch64-unwind.h.
5496 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
5497 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
5498 __aarch64__.
5499 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
5500 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
5501 (uw_frob_return_addr): New function.
5502 (uw_install_context): Use uw_frob_return_addr.
5503
5504 2017-01-17 Jakub Jelinek <jakub (a] redhat.com>
5505
5506 PR other/79046
5507 * configure.ac: Add GCC_BASE_VER.
5508 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
5509 version from BASE-VER file.
5510 * configure: Regenerated.
5511
5512 2017-01-13 Joe Seymour <joe.s (a] somniumtech.com>
5513
5514 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
5515 libmul_f5.a): Filter archived prerequisites.
5516
5517 2017-01-10 Andrew Senkevich <andrew.senkevich (a] intel.com>
5518
5519 * config/i386/cpuinfo.h (processor_features): Add
5520 FEATURE_AVX512VPOPCNTDQ.
5521 * config/i386/cpuinfo.c (get_available_features): Habdle new
5522 feature.
5523
5524 2017-01-04 Joseph Myers <joseph (a] codesourcery.com>
5525
5526 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
5527 payload if [__mips_nan2008].
5528
5529 2017-01-04 Alan Modra <amodra (a] gmail.com>
5530
5531 * Makefile.in (configure_deps): Update.
5532 * configure: Regenerate.
5533
5534 2017-01-01 Jakub Jelinek <jakub (a] redhat.com>
5535
5536 Update copyright years.
5537
5538 2016-12-19 Krister Walfridsson <krister.walfridsson (a] gmail.com>
5539
5540 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
5541 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
5542 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
5543
5544 2016-12-17 Matthias Klose <doko (a] ubuntu.com>
5545
5546 * config/arc/gmon: Remove empty directory.
5547
5548 2016-12-16 Claudiu Zissulescu <claziss (a] synopsys.com>
5549
5550 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
5551 crtgend.
5552 (arc*-*-elf*): Likewise.
5553 * config/arc/t-arc: Remove old gmon lib targets.
5554 * config/arc/crtg.S: Remove.
5555 * config/arc/crtgend.S: Likewise.
5556 * config/arc/gmon/atomic.h: Likewise.
5557 * config/arc/gmon/auxreg.h: Likewise.
5558 * config/arc/gmon/dcache_linesz.S: Likewise.
5559 * config/arc/gmon/gmon.c: Likewise.
5560 * config/arc/gmon/machine-gmon.h: Likewise.
5561 * config/arc/gmon/mcount.c: Likewise.
5562 * config/arc/gmon/prof-freq-stub.S: Likewise.
5563 * config/arc/gmon/prof-freq.c: Likewise.
5564 * config/arc/gmon/profil.S: Likewise.
5565 * config/arc/gmon/sys/gmon.h: Likewise.
5566 * config/arc/gmon/sys/gmon_out.h: Likewise.
5567 * config/arc/t-arc-newlib: Likewise.
5568 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
5569
5570 2016-12-12 George Spelvin <linux (a] sciencehorizons.net>
5571
5572 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
5573
5574 2016-12-12 George Spelvin <linux (a] sciencehorizons.net>
5575
5576 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
5577 R16 instead of push + pop.
5578 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
5579
5580 2016-12-10 Krister Walfridsson <krister.walfridsson (a] gmail.com>
5581
5582 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
5583 tmake_file.
5584
5585 2016-12-05 Cupertino Miranda <cmiranda (a] synopsys.com>
5586
5587 * config.host (arc*-*-linux-uclibc*): Use default extra
5588 objects. Include linux-android header.
5589 * config/arc/crti.S (_init): Declare symbol as function.
5590 (_fini): Likewise.
5591
5592 2016-12-03 Thomas Koenig <tkoenig (a] gcc.gnu.org>
5593
5594 PR fortran/78379
5595 * config/i386/cpuinfo.c: Move denums for processor vendors,
5596 processor type, processor subtypes and declaration of
5597 struct __processor_model into
5598 * config/i386/cpuinfo.h: New header file.
5599
5600 2016-12-02 Andre Vieira <andre.simoesdiasvieira (a] arm.com>
5601 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
5602
5603 * config/arm/cmse_nonsecure_call.S: New.
5604 * config/arm/t-arm: Compile cmse_nonsecure_call.S
5605
5606 2016-12-02 Andre Vieira <andre.simoesdiasvieira (a] arm.com>
5607 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
5608
5609 * config/arm/t-arm (HAVE_CMSE): New.
5610 * config/arm/cmse.c: New.
5611
5612 2016-11-28 Thomas Petazzoni <thomas.petazzoni (a] free-electrons.com>
5613
5614 PR gcc/74748
5615 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
5616 use generic linker version information on Blackfin.
5617
5618 PR gcc/74748
5619 * libgcc/mkmap-symver.awk: add support for skip_underscore
5620
5621 2016-11-27 Iain Sandoe <iain (a] codesourcery.com>
5622 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
5623
5624 PR target/67710
5625 * config/t-darwin: Default builds to 10.5 codegen.
5626
5627 2016-11-24 James Greenhalgh <james.greenhalgh (a] arm.com>
5628
5629 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
5630 (_FP_NANSIGN_H): Likewise.
5631 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
5632 (softfp_truncations): Add tfhf.
5633 (softfp_extras): Add required conversion functions.
5634
5635 2016-11-23 James Greenhalgh <james.greenhalgh (a] arm.com>
5636 Matthew Wahab <matthew.wahab (a] arm.com>
5637
5638 * config/arm/fp16.c (binary64): New.
5639 (__gnu_d2h_internal): New.
5640 (__gnu_d2h_ieee): New.
5641 (__gnu_d2h_alternative): New.
5642
5643 2016-11-23 James Greenhalgh <james.greenhalgh (a] arm.com>
5644 Matthew Wahab <matthew.wahab (a] arm.com>
5645
5646 * config/arm/fp16.c (struct format): New.
5647 (binary32): New.
5648 (__gnu_float2h_internal): New. Body moved from
5649 __gnu_f2h_internal and generalize.
5650 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
5651 Call it with binary32.
5652
5653 2016-11-23 James Greenhalgh <james.greenhalgh (a] arm.com>
5654
5655 * soft-fp/extendhftf2.c: Update from glibc.
5656 * soft-fp/fixhfti.c: Likewise.
5657 * soft-fp/fixunshfti.c: Likewise.
5658 * soft-fp/floattihf.c: Likewise.
5659 * soft-fp/floatuntihf.c: Likewise.
5660 * soft-fp/half.h: Likewise.
5661 * soft-fp/trunctfhf2.c: Likewise.
5662
5663 2016-11-20 Marc Glisse <marc.glisse (a] inria.fr>
5664
5665 PR libgcc/77813
5666 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
5667 __TMC_END__ behind a passthrough asm.
5668
5669 2016-11-18 Walter Lee <walt (a] tilera.com>
5670
5671 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
5672
5673 2016-11-17 Andrew Senkevich <andrew.senkevich (a] intel.com>
5674
5675 * config/i386/cpuinfo.c (processor_features): Add
5676 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
5677
5678 2016-11-17 Claudiu Zissulescu <claziss (a] synopsys.com>
5679
5680 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
5681 (__ARC_NORM__): Use instead ARC_OPTFPE.
5682 * config/arc/fp-hack.h: Likewise.
5683 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
5684 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
5685
5686 2016-11-16 Alexander Monakov <amonakov (a] ispras.ru>
5687
5688 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
5689 * config/nvptx/mgomp.c: New file.
5690 * config/nvptx/t-nvptx: Add mgomp.c
5691
5692 2016-11-16 Waldemar Brodkorb <wbx (a] openadk.org>
5693
5694 PR libgcc/68468
5695 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
5696
5697 2016-11-15 Claudiu Zissulescu <claziss (a] synopsys.com>
5698
5699 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
5700 of checking for cpus.
5701 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
5702 (__modsi3, __clzsi2): Likewise.
5703
5704 2016-11-11 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
5705
5706 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
5707 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
5708 * config/i386/t-cpuinfo-static: New.
5709
5710 2016-11-03 Martin Liska <mliska (a] suse.cz>
5711
5712 * libgcov-profiler.c (__gcov_time_profiler): Remove.
5713 (__gcov_time_profiler_atomic): Likewise.
5714
5715 2016-11-03 Bernd Edlinger <bernd.edlinger (a] hotmail.de>
5716
5717 PR libgcc/78067
5718 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
5719 count_leading_zeros.
5720
5721 2016-11-02 Uros Bizjak <ubizjak (a] gmail.com>
5722
5723 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
5724 * libgcc2.c (__divmoddi4): New function.
5725 * libgcc2.h (__divmoddi4): Declare.
5726 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
5727 and __PFX_divmodti4.
5728
5729 2016-10-24 Florian Weimer <fweimer (a] redhat.com>
5730
5731 PR libgcc/78064
5732 * unwind-c.c: Include auto-target.h.
5733
5734 2016-10-19 John David Anglin <danglin (a] gcc.gnu.org>
5735
5736 * config/pa/pa64-hpux-lib.h: New file.
5737 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
5738 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
5739 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
5740 hppa*64*-*-hpux11*.
5741
5742 2016-10-18 Max Filippov <jcmvbkbc (a] gmail.com>
5743
5744 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5745 definition.
5746 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5747 definition.
5748 * config/xtensa/t-windowed (LIB2ADDEH): Use
5749 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
5750 or xtensa/t-linux.
5751
5752 2016-10-18 Ding-Kai Chen <dkchen (a] cadence.com>
5753
5754 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
5755 __ieee754_sqrt): New functions.
5756 (__divdf3): Add implementation with new FPU instructions under
5757 #if XCHAL_HAVE_DFP_DIV.
5758 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
5759 __ieee754_sqrtf): New functions.
5760 (__divsf3): Add implementation with new FPU instructions under
5761 #if XCHAL_HAVE_FP_DIV.
5762 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
5763 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
5764
5765 2016-10-13 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
5766
5767 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
5768 equivalent.
5769 * config/tilepro/atomic.c: Likewise and stop casting model to
5770 enum memmodel.
5771
5772 2016-10-10 Joseph Myers <joseph (a] codesourcery.com>
5773
5774 PR target/77586
5775 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
5776 soft-fp.
5777
5778 2016-10-10 Andreas Tobler <andreast (a] gcc.gnu.org>
5779
5780 * config.host: Add support for aarch64-*-freebsd*.
5781
5782 2016-10-05 Andreas Schwab <schwab (a] suse.de>
5783
5784 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
5785 (.section .init_array): Don't call __do_jv_register_classes.
5786 (.section .init): Likewise.
5787
5788 2016-10-04 Jakub Jelinek <jakub (a] redhat.com>
5789
5790 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
5791 (__JCR_LIST__): Remove.
5792 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
5793 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
5794 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
5795 * config/ia64/crtend.S (__JCR_END__): Remove.
5796 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
5797 conditionals.
5798 (__JCR_LIST__, __JCR_END__): Remove.
5799 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
5800 (__do_global_ctors_1): Likewise.
5801
5802 2015-09-28 Uros Bizjak <ubizjak (a] gmail.com>
5803
5804 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
5805 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
5806
5807 2016-09-27 Martin Liska <mliska (a] suse.cz>
5808
5809 PR gcov-profile/7970
5810 PR gcov-profile/16855
5811 PR gcov-profile/44779
5812 * libgcov-driver.c (__gcov_init): Do not register a atexit
5813 handler.
5814 (__gcov_exit): Rename from gcov_exit.
5815 * libgcov.h (__gcov_exit): Declare.
5816
5817 2016-09-27 Martin Liska <mliska (a] suse.cz>
5818
5819 PR bootstrap/77749
5820 * Makefile.in: Remove _gcov_merge_delta.
5821 * libgcov-merge.c (void __gcov_merge_delta): Remove.
5822 * libgcov-util.c (__gcov_delta_counter_op): Remove.
5823 * libgcov.h: Remove declaration of __gcov_merge_delta.
5824
5825 2016-09-21 Eric Botcazou <ebotcazou (a] adacore.com>
5826
5827 * configure.ac: Do not create links, only substitute the filenames.
5828 * configure: Regenerate.
5829 * Makefile.in: Assign the substitution results to variables.
5830 (LIBGCC_LINKS): Define.
5831 (enable-execute-stack.c): New rule.
5832 (unwind.h): Likewise.
5833 (md-unwind-support.h): Likewise.
5834 (sfp-machine.h): Likewise.
5835 (gthr-default.h): Likewise.
5836 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5837 unwind.h as prerequisite of install-unwind_h-forbuild.
5838
5839 2016-09-16 Jakub Jelinek <jakub (a] redhat.com>
5840
5841 PR libgcc/71744
5842 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5843 is not the primary registry and atomics are available.
5844 (any_objects_registered): New variable.
5845 (__register_frame_info_bases, __register_frame_info_table_bases):
5846 Atomically store 1 to any_objects_registered after registering first
5847 unwind info.
5848 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5849
5850 2016-09-09 James Greenhalgh <james.greenhalgh (a] arm.com>
5851
5852 PR target/63250
5853 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5854 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5855 (HFtype): Likewise.
5856 (HCtype): Likewise.
5857 (__divhc3): Likewise.
5858 (__mulhc3): Likewise.
5859 * libgcc2.c: Support _mulhc3 and _divhc3.
5860
5861 2016-09-07 Joseph Myers <joseph (a] codesourcery.com>
5862
5863 PR libgcc/77519
5864 * libgcc2.c (NOTRUNC): Invert settings.
5865
5866 2016-09-06 Martin Liska <mliska (a] suse.cz>
5867
5868 PR gcov-profile/77378
5869 PR gcov-profile/77466
5870 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5871 conditionaly enable/disable *_atomic functions.
5872
5873 2016-08-26 Joseph Myers <joseph (a] codesourcery.com>
5874
5875 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5876 where not already enabled.
5877
5878 2016-08-25 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
5879
5880 * config/mips/linux-unwind.h: Use sys/syscall.h.
5881
5882 2016-08-16 Joseph Myers <joseph (a] codesourcery.com>
5883
5884 PR libgcc/77265
5885 * soft-fp/adddf3.c: Update from glibc.
5886 * soft-fp/addsf3.c: Likewise.
5887 * soft-fp/addtf3.c: Likewise.
5888 * soft-fp/divdf3.c: Likewise.
5889 * soft-fp/divsf3.c: Likewise.
5890 * soft-fp/divtf3.c: Likewise.
5891 * soft-fp/double.h: Likewise.
5892 * soft-fp/eqdf2.c: Likewise.
5893 * soft-fp/eqsf2.c: Likewise.
5894 * soft-fp/eqtf2.c: Likewise.
5895 * soft-fp/extenddftf2.c: Likewise.
5896 * soft-fp/extended.h: Likewise.
5897 * soft-fp/extendsfdf2.c: Likewise.
5898 * soft-fp/extendsftf2.c: Likewise.
5899 * soft-fp/extendxftf2.c: Likewise.
5900 * soft-fp/fixdfdi.c: Likewise.
5901 * soft-fp/fixdfsi.c: Likewise.
5902 * soft-fp/fixdfti.c: Likewise.
5903 * soft-fp/fixsfdi.c: Likewise.
5904 * soft-fp/fixsfsi.c: Likewise.
5905 * soft-fp/fixsfti.c: Likewise.
5906 * soft-fp/fixtfdi.c: Likewise.
5907 * soft-fp/fixtfsi.c: Likewise.
5908 * soft-fp/fixtfti.c: Likewise.
5909 * soft-fp/fixunsdfdi.c: Likewise.
5910 * soft-fp/fixunsdfsi.c: Likewise.
5911 * soft-fp/fixunsdfti.c: Likewise.
5912 * soft-fp/fixunssfdi.c: Likewise.
5913 * soft-fp/fixunssfsi.c: Likewise.
5914 * soft-fp/fixunssfti.c: Likewise.
5915 * soft-fp/fixunstfdi.c: Likewise.
5916 * soft-fp/fixunstfsi.c: Likewise.
5917 * soft-fp/fixunstfti.c: Likewise.
5918 * soft-fp/floatdidf.c: Likewise.
5919 * soft-fp/floatdisf.c: Likewise.
5920 * soft-fp/floatditf.c: Likewise.
5921 * soft-fp/floatsidf.c: Likewise.
5922 * soft-fp/floatsisf.c: Likewise.
5923 * soft-fp/floatsitf.c: Likewise.
5924 * soft-fp/floattidf.c: Likewise.
5925 * soft-fp/floattisf.c: Likewise.
5926 * soft-fp/floattitf.c: Likewise.
5927 * soft-fp/floatundidf.c: Likewise.
5928 * soft-fp/floatundisf.c: Likewise.
5929 * soft-fp/floatunditf.c: Likewise.
5930 * soft-fp/floatunsidf.c: Likewise.
5931 * soft-fp/floatunsisf.c: Likewise.
5932 * soft-fp/floatunsitf.c: Likewise.
5933 * soft-fp/floatuntidf.c: Likewise.
5934 * soft-fp/floatuntisf.c: Likewise.
5935 * soft-fp/floatuntitf.c: Likewise.
5936 * soft-fp/gedf2.c: Likewise.
5937 * soft-fp/gesf2.c: Likewise.
5938 * soft-fp/getf2.c: Likewise.
5939 * soft-fp/ledf2.c: Likewise.
5940 * soft-fp/lesf2.c: Likewise.
5941 * soft-fp/letf2.c: Likewise.
5942 * soft-fp/muldf3.c: Likewise.
5943 * soft-fp/mulsf3.c: Likewise.
5944 * soft-fp/multf3.c: Likewise.
5945 * soft-fp/negdf2.c: Likewise.
5946 * soft-fp/negsf2.c: Likewise.
5947 * soft-fp/negtf2.c: Likewise.
5948 * soft-fp/op-1.h: Likewise.
5949 * soft-fp/op-2.h: Likewise.
5950 * soft-fp/op-4.h: Likewise.
5951 * soft-fp/op-8.h: Likewise.
5952 * soft-fp/op-common.h: Likewise.
5953 * soft-fp/quad.h: Likewise.
5954 * soft-fp/single.h: Likewise.
5955 * soft-fp/soft-fp.h: Likewise.
5956 * soft-fp/subdf3.c: Likewise.
5957 * soft-fp/subsf3.c: Likewise.
5958 * soft-fp/subtf3.c: Likewise.
5959 * soft-fp/truncdfsf2.c: Likewise.
5960 * soft-fp/trunctfdf2.c: Likewise.
5961 * soft-fp/trunctfsf2.c: Likewise.
5962 * soft-fp/trunctfxf2.c: Likewise.
5963 * soft-fp/unorddf2.c: Likewise.
5964 * soft-fp/unordsf2.c: Likewise.
5965 * soft-fp/unordtf2.c: Likewise.
5966
5967 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet (a] gmail.com>
5968
5969 PR gcov-profile/67097
5970 * libgcov-util.c (gcov_profile_merge): Skip missing files.
5971
5972 2016-08-10 Martin Liska <mliska (a] suse.cz>
5973
5974 PR gcov-profile/58306
5975 * Makefile.in: New functions (modules) are added.
5976 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5977 function.
5978 (__gcov_pow2_profiler_atomic): New function.
5979 (__gcov_one_value_profiler_body): New argument is instroduced.
5980 (__gcov_one_value_profiler): Call with the new argument.
5981 (__gcov_one_value_profiler_atomic): Likewise.
5982 (__gcov_indirect_call_profiler_v2): Likewise.
5983 (__gcov_time_profiler_atomic): New function.
5984 (__gcov_average_profiler_atomic): Likewise.
5985 (__gcov_ior_profiler_atomic): Likewise.
5986 * libgcov.h: Declare the aforementioned functions.
5987
5988 2016-08-09 Martin Liska <mliska (a] suse.cz>
5989
5990 * libgcov-util.c: Fix typo and GNU coding style.
5991
5992 2016-08-09 Martin Liska <mliska (a] suse.cz>
5993
5994 * Makefile.in: Remove __gcov_indirect_call_profiler.
5995 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5996 function.
5997 * libgcov.h: And the declaration of the function.
5998
5999 2016-08-09 Martin Liska <mliska (a] suse.cz>
6000
6001 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
6002 power of two.
6003
6004 2016-07-29 Bill Schmidt <wschmidt (a] linux.vnet.ibm.com>
6005
6006 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
6007 * config/rs6000/_mulkc3.c: Likewise.
6008
6009 2016-07-29 Georg-Johann Lay <avr (a] gjlay.de>
6010
6011 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
6012 zero_reg as previous call to __umulhisi3 already cleared it.
6013
6014 2016-07-21 Aurelien Jarno <aurelien (a] aurel32.net>
6015
6016 PR target/59833
6017 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
6018
6019 2016-07-19 Nick Clifton <nickc (a] redhat.com>
6020
6021 * config.host (m32r): Add m32r/t-m32r to tmake_file.
6022 Add crtinit.o and crtfini.o to extra_parts.
6023
6024 2016-07-12 Bill Schmidt <wschmidt (a] linux.vnet.ibm.com>
6025
6026 * config/rs6000/_divkc3.c: New.
6027 * config/rs6000/_mulkc3.c: New.
6028 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
6029 and _divkc3.
6030 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
6031 fp128_ppc_funcs.
6032
6033 2016-07-11 Hale Wang <hale.wang (a] arm.com>
6034 Andre Vieira <andre.simoesdiasvieira (a] arm.com>
6035
6036 * config/arm/lib1funcs.S: Add new wrapper.
6037
6038 2016-07-07 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
6039
6040 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
6041
6042 2016-07-07 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
6043
6044 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
6045 and ARMv5t* rather than for a fixed list of architectures.
6046
6047 2016-07-07 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
6048
6049 * config/arm/bpabi-v6m.S: Clarify what architectures is the
6050 implementation suitable for.
6051 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
6052 for all Thumb-1 only targets.
6053 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
6054 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
6055 __ARM_ARCH_6M__.
6056 (EQUIV): Likewise.
6057 (ARM_FUNC_ALIAS): Likewise.
6058 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
6059 version.
6060 (modsi3): Likewise.
6061 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
6062 (clzdi2): Likewise.
6063 (ctzsi2): Likewise.
6064 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
6065 __ARM_ARCH_6M__ in guard for checking whether it is defined.
6066 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
6067 __ARM_ARCH_6M__ and add comment to indicate the connection between
6068 this condition and the one in gcc/config/arm/elf.h.
6069 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
6070 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
6071 * config/arm/t-softfp: Likewise.
6072
6073 2016-07-06 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
6074
6075 * libgcc2.c (SYMBOL__MAIN): Remove checks for
6076 CTOR_LISTS_DEFINED_EXTERNALLY.
6077
6078 2016-06-28 Walter Lee <walt (a] tilera.com>
6079
6080 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
6081 asm/unistd.h.
6082 (SPR_CMPEXCH_VALUE): Define for tilegx.
6083 (__NR_FAST_cmpxchg): Define for tilepro.
6084 (__NR_FAST_atomic_update): Define for tilepro.
6085 (__NR_FAST_cmpxchg64): Define for tilepro.
6086
6087 2016-06-23 Jakub Sejdak <jakub.sejdak (a] phoesys.com>
6088
6089 * config.host: Add suport for arm*-*-phoenix* targets.
6090
6091 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
6092
6093 * config.host: Remove support for mep-*.
6094 * config/mep/lib1funcs.S: Remove.
6095 * config/mep/lib2funcs.c: Remove.
6096 * config/mep/t-mep: Remove.
6097 * config/mep/tramp.c: Remove.
6098
6099 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
6100
6101 * config.host: Remove support for avr-rtems.
6102 * config/avr/t-rtems: Remove.
6103
6104 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
6105
6106 * config.host: Remove m32r-rtems support.
6107
6108 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
6109
6110 * config.host: Remove h8300-rtems support.
6111
6112 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
6113
6114 * config.host: Remove support for knetbsd.
6115
6116 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
6117
6118 * config.host: Remove support for openbsd 2 and 3.
6119
6120 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
6121
6122 * config.host: Remove interix support.
6123 * config/i386/t-interix: Remove.
6124
6125 2016-06-18 John David Anglin <danglin (a] gcc.gnu.org>
6126
6127 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
6128 least-significant bit in function pointer for fixup.
6129
6130 2016-06-05 Aaron Conole <aconole (a] redhat.com>
6131 Nathan Sidwell <nathan (a] acm.org>
6132
6133 PR libgcc/71400
6134 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
6135 (get_gcov_error_file): Check __gcov_error_file before trying to
6136 initialize it.
6137 (gcov_error): Always use get_gcov_error_file.
6138
6139 2016-06-02 Aaron Conole <aconole (a] redhat.com>
6140
6141 * libgcov-driver-system.c (__gcov_error_file): New.
6142 (get_gcov_error_file): New.
6143 (gcov_error): Use and set __gcov_error_file.
6144 (gcov_error_exit): New.
6145 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
6146
6147 2016-05-26 Nathan Sidwell <nathan (a] acm.org>
6148
6149 * config/nvptx/free.asm: Delete.
6150 * config/nvptx/malloc.asm: Delete.
6151 * config/nvptx/realloc.c: Delete.
6152 * t-nvptx: Update.
6153
6154 2016-05-25 Nathan Sidwell <nathan (a] acm.org>
6155
6156 * config/nvptx/crt0.s: Delete.
6157 * config/nvptx/crt0.c: New.
6158 * t-nvptx: Update.
6159
6160 2016-05-19 Sandra Loosemore <sandra (a] codesourcery.com>
6161
6162 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6163 dw2/seh configuration.
6164 [x86_64-*-mingw*]: Likewise.
6165
6166 2016-05-10 Joel Sherrill <joel (a] rtems.org>
6167
6168 PR libgcc/70720
6169 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
6170 targets so the same extra_parts are built. Also have tmake_file add
6171 on to its value rather than override.
6172
6173 2016-04-30 Oleg Endo <olegendo (a] gcc.gnu.org>
6174
6175 * config.host: Remove SH5 support.
6176 * configure: Likewise.
6177
6178 2016-04-29 Oleg Endo <olegendo (a] gcc.gnu.org>
6179
6180 * config/sh/crt1.S: Remove SH5 support.
6181 * config/sh/crti.S: Likewise.
6182 * config/sh/crtn.S: Likewise.
6183 * config/sh/lib1funcs-4-300.S: Likewise.
6184 * config/sh/lib1funcs-Os-4-200.S: Likewise.
6185 * config/sh/lib1funcs.S: Likewise.
6186 * config/sh/linux-unwind.h: Likewise.
6187 * config/sh/t-sh64: Delete.
6188
6189 2016-04-29 Claudiu Zissulescu <claziss (a] synopsys.com>
6190
6191 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
6192
6193 2016-04-28 Claudiu Zissulescu <claziss (a] synopsys.com>
6194 Joern Rennecke <joern.rennecke (a] embecosm.com>
6195
6196 * config/arc/crttls.S: New file.
6197 * config/arc/t-arc: New rule.
6198 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
6199
6200 2016-04-25 Nick Clifton <nickc (a] redhat.com>
6201
6202 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
6203 (__mspabi_cmpd): Likewise.
6204 * config/msp430/floathidf.c (__floathidf): Likewise.
6205 * config/msp430/floathisf.c (__floathisf): Likewise
6206 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
6207 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
6208 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
6209 second parameter.
6210 (__ashrsi3): Likewise.
6211
6212 2016-04-21 Waldemar Brodkorb <wbx (a] openadk.org>
6213
6214 * config/m68k/linux-atomic.c: Do not include unistd.h
6215
6216 2016-04-20 Martin Galvan <martin.galvan (a] tallertechnologies.com>
6217
6218 * config/arm/ieee754-df.S: Fix typos in comments.
6219
6220 2016-04-11 Michael Meissner <meissner (a] linux.vnet.ibm.com>
6221
6222 PR target/70381
6223 * configure.ac (powerpc*-*-linux*): Rework tests to build
6224 __float128 emulation routines to not depend on using #pragma GCC
6225 target to enable -mfloat128.
6226 * configure: Regnerate.
6227
6228 2016-04-04 Eric Botcazou <ebotcazou (a] adacore.com>
6229
6230 PR target/67172
6231 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
6232 __MINGW32__ is defined.
6233
6234 2016-03-28 James Bowman <james.bowman (a] ftdichip.com>
6235
6236 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
6237
6238 2016-03-22 Michael Meissner <meissner (a] linux.vnet.ibm.com>
6239
6240 PR libgcc/70363
6241 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
6242 built with an assembler that does not support ISA 3.0
6243 instructions, rename __extendkftf2_sw to __extendkftf2.
6244
6245 2016-03-16 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
6246
6247 PR target/38239
6248 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
6249 call-clobbered registers.
6250 (internal_mcount): Remove __i386__ handling.
6251
6252 2016-02-26 Joel Sherrill <joel (a] rtems.org>
6253
6254 * config.host: Add x86_64-*-rtems*.
6255
6256 2016-02-26 Joel Sherrill <joel (a] rtems.org>
6257
6258 * libgcc/config.host: Add aarch64-*-rtems*.
6259
6260 2016-02-26 Paul E. Murphy <murphyp (a] linux.vnet.ibm.com>
6261 Bill Schmidt <wschmidt (a] linux.vnet.ibm.com>
6262
6263 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
6264 union of u64 and double.
6265 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
6266 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
6267 value.
6268 (FP_ROUNDMODE): Update the usage of _fpscr.
6269
6270 2016-02-25 Ilya Verbin <ilya.verbin (a] intel.com>
6271
6272 PR driver/68463
6273 * Makefile.in (crtoffloadtable$(objext)): New rule.
6274 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
6275 enable_offload_targets is not empty.
6276 * configure: Regenerate.
6277 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
6278 crtoffloadtable.
6279
6280 2016-02-17 Max Filippov <jcmvbkbc (a] gmail.com>
6281
6282 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
6283 .literal_position before the function.
6284 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
6285 Likewise.
6286
6287 2016-02-15 Marcin Kocielnicki <koriakin (a] 0x04.net>
6288
6289 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
6290 * config/s390/morestack.S: New file.
6291 * config/s390/t-stack-s390: New file.
6292 * generic-morestack.c (__splitstack_find): Add s390-specific code.
6293
6294 2016-02-12 Walter Lee <walt (a] tilera.com>
6295
6296 * config.host (tilegx*-*-linux*): remove ti from
6297 softfp_int_modes for 32-bit configs.
6298
6299 2016-02-10 Ian Lance Taylor <iant (a] google.com>
6300
6301 PR go/68562
6302 * config/i386/morestack.S (__stack_split_initialize): Align
6303 stack.
6304
6305 2016-02-03 Andreas Tobler <andreast (a] gcc.gnu.org>
6306
6307 PR bootstrap/69611
6308 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
6309 __FLOAT128__ to compile only for __float128 capable targets.
6310
6311 2016-01-25 Jakub Jelinek <jakub (a] redhat.com>
6312
6313 PR target/69444
6314 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
6315 instead of ___NO_FPRS__.
6316
6317 2016-01-21 Michael Meissner <meissner (a] linux.vnet.ibm.com>
6318 Steven Munroe <munroesj (a] linux.vnet.ibm.com>
6319 Tulio Magno Quites Machado Filho <tulioqm (a] br.ibm.com>
6320
6321 * config/rs6000/float128-sed: New files to convert TF names to KF
6322 names for PowerPC IEEE 128-bit floating point support.
6323 * config/rs6000/float128-sed-hw: Likewise.
6324
6325 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
6326 floating point hardware support.
6327
6328 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6329 128-bit floating point software emulation or use ISA 3.0 hardware
6330 support if it is available.
6331
6332 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6333 floating point.
6334
6335 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
6336 floating point to IBM extended double.
6337
6338 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
6339 double to IEEE 128-bit floating point.
6340
6341 * config/rs6000/t-float128: New Makefile fragments to enable
6342 building __float128 emulation support.
6343 * config/rs6000/t-float128-hw: Likewise.
6344
6345 * config/rs6000/sfp-exceptions.c: New file to provide exception
6346 support for IEEE 128-bit floating point.
6347
6348 * config/rs6000/floattikf.c: New files for converting between IEEE
6349 128-bit floating point and signed/unsigned 128-bit integers.
6350 * config/rs6000/fixunskfti.c: Likewise.
6351 * config/rs6000/fixkfti.c: Likewise.
6352 * config/rs6000/floatuntikf.c: Likewise.
6353
6354 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6355 when building on 64-bit systems, or when VSX is enabled.
6356 (_FP_W_TYPE): Likewise.
6357 (_FP_WS_TYPE): Likewise.
6358 (_FP_I_TYPE): Likewise.
6359 (TItype): Define on 64-bit systems.
6360 (UTItype): Likewise.
6361 (TI_BITS): Likewise.
6362 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6363 (_FP_MUL_MEAT_Q): Likewise.
6364 (_FP_DIV_MEAT_D): Likewise.
6365 (_FP_DIV_MEAT_Q): Likewise.
6366 (_FP_NANFRAC_D): Likewise.
6367 (_FP_NANFRAC_Q): Likewise.
6368 (ISA_BIT): Add exception support if we are being compiled on a
6369 machine with hardware floating point support to build the IEEE
6370 128-bit emulation functions.
6371 (FP_EX_INVALID): Likewise.
6372 (FP_EX_OVERFLOW): Likewise.
6373 (FP_EX_UNDERFLOW): Likewise.
6374 (FP_EX_DIVZERO): Likewise.
6375 (FP_EX_INEXACT): Likewise.
6376 (FP_EX_ALL): Likewise.
6377 (__sfp_handle_exceptions): Likewise.
6378 (FP_HANDLE_EXCEPTIONS): Likewise.
6379 (FP_RND_NEAREST): Likewise.
6380 (FP_RND_ZERO): Likewise.
6381 (FP_RND_PINF): Likewise.
6382 (FP_RND_MINF): Likewise.
6383 (FP_RND_MASK): Likewise.
6384 (_FP_DECL_EX): Likewise.
6385 (FP_INIT_ROUNDMODE): Likewise.
6386 (FP_ROUNDMODE): Likewise.
6387
6388 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6389 VSX code, enable IEEE 128-bit floating point. If the compiler can
6390 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
6391 floating point hardware instructions and it supports declaring
6392 functions with the ifunc attribute, enable ifunc functions to
6393 switch between software and hardware support.
6394 * configure.ac (powerpc*-*-linux*): Likewise.
6395 * configure: Regenerate.
6396
6397 2016-01-15 Nick Clifton <nickc (a] redhat.com>
6398
6399 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
6400 dependency as the source file to be compiled.
6401 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
6402 (lib2hw_mul_f5.o): Likewise.
6403
6404 2016-01-13 Michael Meissner <meissner (a] linux.vnet.ibm.com>
6405
6406 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
6407 * libgcc/config/rs6000/fixkfti.c: Likewise.
6408 * libgcc/config/rs6000/fixunskfti.c: Likewise.
6409 * libgcc/config/rs6000/float128-hw.c: Likewise.
6410 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
6411 * libgcc/config/rs6000/float128-sed: Likewise.
6412 * libgcc/config/rs6000/floattikf.c: Likewise.
6413 * libgcc/config/rs6000/floatuntikf.c: Likewise.
6414 * libgcc/config/rs6000/quad-float128.h: Likewise.
6415 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
6416 * libgcc/config/rs6000/sfp-machine.h: Likewise.
6417 * libgcc/config/rs6000/t-float128: Likewise.
6418 * libgcc/config/rs6000/t-float128-hw: Likewise.
6419 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
6420 * libgcc/config.host: Likewise.
6421 * libgcc/configure: Likewise.
6422 * libgcc/configure.ac: Likewise.
6423
6424 2016-01-13 Michael Meissner <meissner (a] linux.vnet.ibm.com>
6425 Steven Munroe <munroesj (a] linux.vnet.ibm.com>
6426 Tulio Magno Quites Machado Filho <tulioqm (a] br.ibm.com>
6427
6428 * config/rs6000/sfp-exceptions.c: New file to provide exception
6429 support for IEEE 128-bit floating point.
6430
6431 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
6432 floating point hardware support.
6433
6434 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
6435 point conversions.
6436 * config/rs6000/fixunskfti.c: Likewise.
6437 * config/rs6000/fixkfti.c: Likewise.
6438 * config/rs6000/floatuntikf.c: Likewise.
6439 * config/rs6000/extendkftf2-sw.c: Likewise.
6440 * config/rs6000/trunctfkf2-sw.c: Likewise.
6441
6442 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6443 128-bit floating point software emulation or use ISA 3.0 hardware
6444 support if it is available.
6445
6446 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6447 floating point.
6448
6449 * config/rs6000/t-float128: New Makefile fragments to enable
6450 building __float128 emulation support.
6451 * config/rs6000/t-float128-hw: Likewise.
6452
6453 * config/rs6000/float128-sed: New file to convert TF names to KF
6454 names for PowerPC IEEE 128-bit floating point support.
6455
6456 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6457 when building on 64-bit systems, or when VSX is enabled.
6458 (_FP_W_TYPE): Likewise.
6459 (_FP_WS_TYPE): Likewise.
6460 (_FP_I_TYPE): Likewise.
6461 (TItype): Define on 64-bit systems.
6462 (UTItype): Likewise.
6463 (TI_BITS): Likewise.
6464 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6465 (_FP_MUL_MEAT_Q): Likewise.
6466 (_FP_DIV_MEAT_D): Likewise.
6467 (_FP_DIV_MEAT_Q): Likewise.
6468 (_FP_NANFRAC_D): Likewise.
6469 (_FP_NANFRAC_Q): Likewise.
6470 (ISA_BIT): Add exception support if we are being compiled on a
6471 machine with hardware floating point support to build the IEEE
6472 128-bit emulation functions.
6473 (FP_EX_INVALID): Likewise.
6474 (FP_EX_OVERFLOW): Likewise.
6475 (FP_EX_UNDERFLOW): Likewise.
6476 (FP_EX_DIVZERO): Likewise.
6477 (FP_EX_INEXACT): Likewise.
6478 (FP_EX_ALL): Likewise.
6479 (__sfp_handle_exceptions): Likewise.
6480 (FP_HANDLE_EXCEPTIONS): Likewise.
6481 (FP_RND_NEAREST): Likewise.
6482 (FP_RND_ZERO): Likewise.
6483 (FP_RND_PINF): Likewise.
6484 (FP_RND_MINF): Likewise.
6485 (FP_RND_MASK): Likewise.
6486 (_FP_DECL_EX): Likewise.
6487 (FP_INIT_ROUNDMODE): Likewise.
6488 (FP_ROUNDMODE): Likewise.
6489
6490 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
6491 compiler can do __float128.
6492 * configure: Regenerate.
6493
6494 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6495 VSX code, enable IEEE 128-bit floating point.
6496
6497 2016-01-05 Olivier Hainque <hainque (a] adacore.com>
6498
6499 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
6500 specificities.
6501
6502 2016-01-04 Jakub Jelinek <jakub (a] redhat.com>
6503
6504 Update copyright years.
6505
6506 2015-12-18 Andris Pavenis <andris.pavenis (a] iki.fi>
6507
6508 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
6509 soft-fp targets.
6510
6511 2015-12-16 Bernd Edlinger <bernd.edlinger (a] hotmail.de>
6512
6513 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
6514 instead of abort to avoid dependency on stdlib.h.
6515
6516 2015-12-09 John David Anglin <danglin (a] gcc.gnu.org>
6517
6518 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
6519 to initialize call to __dl_fixup once.
6520
6521 2015-12-04 Nick Clifton <nickc (a] redhat.com>
6522
6523 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
6524 Allow for the second argument being negative.
6525 * config.host (extra_parts): Define for MSP430. Create separate
6526 libraries for each of the hardware multiply formats.
6527 * config/msp430/lib2hw_mul.S: Build only the multiply routines
6528 that are needed.
6529 * config/msp430/lib2mul.c: Likewise.
6530 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
6531 Add rules to build hardware multiply libraries.
6532 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
6533 __mspabi_divul function.
6534 (__mspabi_divllu): New stub function.
6535
6536 2015-12-01 John David Anglin <danglin (a] gcc.gnu.org>
6537
6538 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
6539 fixup values if saved GOT address doesn't match runtime address.
6540 (fixup_branch_offset): Reorder list.
6541
6542 2015-11-25 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
6543
6544 * Makefile.in (VTV_CFLAGS): New variable.
6545 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
6546 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
6547 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6548 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
6549 to extra_parts if $enable_vtable_verify = yes.
6550
6551 2015-11-23 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
6552
6553 PR target/68059
6554 * config/arm/linux-atomic-64bit.c (__write): Rename to...
6555 (write): ...this and fix the return type.
6556
6557 2015-11-19 DJ Delorie <dj (a] redhat.com>
6558
6559 * config/msp430/lib2hw_mul.S: Fix alignment.
6560
6561 2015-11-18 Nathan Sidwell <nathan (a] codesourcery.com>
6562
6563 * config/nvptx/reduction.c: New.
6564 * config/nvptx/t-nvptx (LIB2ADD): Add it.
6565
6566 2015-11-15 David Edelsohn <dje.gcc (a] gmail.com>
6567
6568 * config/rs6000/on_exit.c: New file.
6569 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
6570 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
6571
6572 2015-11-11 Claudiu Zissulescu <claziss (a] synopsys.com>
6573
6574 * config/arc/dp-hack.h: Add support for ARCHS.
6575 * config/arc/ieee-754/divdf3.S: Likewise.
6576 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6577 * config/arc/ieee-754/muldf3.S: Likewise.
6578 * config/arc/ieee-754/mulsf3.S: Likewise
6579 * config/arc/lib1funcs.S: Likewise
6580 * config/arc/gmon/dcache_linesz.S: Don't read the build register
6581 for ARCv2 cores.
6582 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
6583 for ARCv2 cores.
6584 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
6585 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
6586 cores.
6587
6588 2015-11-09 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
6589
6590 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
6591 value.
6592 * config/ia64/crtend.S: Likewise.
6593
6594 2015-11-07 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
6595
6596 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
6597 __CHAR_BIT__ instead of BITS_PER_UNIT.
6598 * fixed-bit.h: Likewise.
6599 * fp-bit.h: Likewise.
6600 * libgcc2.c (__popcountSI2): Likewise.
6601 (__popcountDI2): Likewise.
6602 * libgcc2.h: Likewise.
6603 * libgcov.h: Likewise.
6604
6605 2015-11-07 David Edelsohn <dje.gcc (a] gmail.com>
6606
6607 * config/rs6000/atexit.c: New file.
6608 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
6609 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
6610 * config/rs6000/cxa_finalize.c
6611 (catomic_compare_and_exchange_bool_acq): Negate return value.
6612
6613 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar (a] amd.com>
6614
6615 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
6616 (processor_subtypes): Add znver1.
6617 (get_amd_cpu): Detect znver1.
6618
6619 2015-10-29 Christophe Lyon <christophe.lyon (a] linaro.org>
6620
6621 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
6622 Include crtfastmath.o.
6623
6624 2015-10-23 Joern Rennecke <joern.rennecke (a] embecosm.com>
6625
6626 PR libgcc/66883
6627 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
6628
6629 2015-10-16 Kaushik Phatak <kaushik.phatak (a] kpit.com>
6630
6631 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
6632 * config/rl78/divmodsi.S: Update return register to r8.
6633 * config/rl78/divmodhi.S: Update return register to r8,r9.
6634 Branch to main_loop_done_himode to pop registers before return.
6635
6636 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar (a] amd.com>
6637
6638 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
6639 (__cpu_indicator_init): Fix model selection for AMD CPUs.
6640
6641 2015-10-05 Kirill Yukhin <kirill.yukhin (a] intel.com>
6642
6643 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
6644
6645 2015-10-03 Max Filippov <jcmvbkbc (a] gmail.com>
6646
6647 * config.host (xtensa*-*-uclinux*): New configuration.
6648
6649 2015-10-02 Kirill Yukhin <kirill.yukhin (a] intel.com>
6650
6651 * config/i386/cpuinfo.c (processor_features): Add
6652 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
6653
6654 2015-09-28 Joseph Myers <joseph (a] codesourcery.com>
6655
6656 * soft-fp/adddf3.c: Update from glibc.
6657 * soft-fp/addsf3.c: Likewise.
6658 * soft-fp/addtf3.c: Likewise.
6659 * soft-fp/divdf3.c: Likewise.
6660 * soft-fp/divsf3.c: Likewise.
6661 * soft-fp/divtf3.c: Likewise.
6662 * soft-fp/double.h: Likewise.
6663 * soft-fp/eqdf2.c: Likewise.
6664 * soft-fp/eqsf2.c: Likewise.
6665 * soft-fp/eqtf2.c: Likewise.
6666 * soft-fp/extenddftf2.c: Likewise.
6667 * soft-fp/extended.h: Likewise.
6668 * soft-fp/extendsfdf2.c: Likewise.
6669 * soft-fp/extendsftf2.c: Likewise.
6670 * soft-fp/extendxftf2.c: Likewise.
6671 * soft-fp/fixdfdi.c: Likewise.
6672 * soft-fp/fixdfsi.c: Likewise.
6673 * soft-fp/fixdfti.c: Likewise.
6674 * soft-fp/fixsfdi.c: Likewise.
6675 * soft-fp/fixsfsi.c: Likewise.
6676 * soft-fp/fixsfti.c: Likewise.
6677 * soft-fp/fixtfdi.c: Likewise.
6678 * soft-fp/fixtfsi.c: Likewise.
6679 * soft-fp/fixtfti.c: Likewise.
6680 * soft-fp/fixunsdfdi.c: Likewise.
6681 * soft-fp/fixunsdfsi.c: Likewise.
6682 * soft-fp/fixunsdfti.c: Likewise.
6683 * soft-fp/fixunssfdi.c: Likewise.
6684 * soft-fp/fixunssfsi.c: Likewise.
6685 * soft-fp/fixunssfti.c: Likewise.
6686 * soft-fp/fixunstfdi.c: Likewise.
6687 * soft-fp/fixunstfsi.c: Likewise.
6688 * soft-fp/fixunstfti.c: Likewise.
6689 * soft-fp/floatdidf.c: Likewise.
6690 * soft-fp/floatdisf.c: Likewise.
6691 * soft-fp/floatditf.c: Likewise.
6692 * soft-fp/floatsidf.c: Likewise.
6693 * soft-fp/floatsisf.c: Likewise.
6694 * soft-fp/floatsitf.c: Likewise.
6695 * soft-fp/floattidf.c: Likewise.
6696 * soft-fp/floattisf.c: Likewise.
6697 * soft-fp/floattitf.c: Likewise.
6698 * soft-fp/floatundidf.c: Likewise.
6699 * soft-fp/floatundisf.c: Likewise.
6700 * soft-fp/floatunditf.c: Likewise.
6701 * soft-fp/floatunsidf.c: Likewise.
6702 * soft-fp/floatunsisf.c: Likewise.
6703 * soft-fp/floatunsitf.c: Likewise.
6704 * soft-fp/floatuntidf.c: Likewise.
6705 * soft-fp/floatuntisf.c: Likewise.
6706 * soft-fp/floatuntitf.c: Likewise.
6707 * soft-fp/gedf2.c: Likewise.
6708 * soft-fp/gesf2.c: Likewise.
6709 * soft-fp/getf2.c: Likewise.
6710 * soft-fp/ledf2.c: Likewise.
6711 * soft-fp/lesf2.c: Likewise.
6712 * soft-fp/letf2.c: Likewise.
6713 * soft-fp/muldf3.c: Likewise.
6714 * soft-fp/mulsf3.c: Likewise.
6715 * soft-fp/multf3.c: Likewise.
6716 * soft-fp/negdf2.c: Likewise.
6717 * soft-fp/negsf2.c: Likewise.
6718 * soft-fp/negtf2.c: Likewise.
6719 * soft-fp/op-1.h: Likewise.
6720 * soft-fp/op-2.h: Likewise.
6721 * soft-fp/op-4.h: Likewise.
6722 * soft-fp/op-8.h: Likewise.
6723 * soft-fp/op-common.h: Likewise.
6724 * soft-fp/quad.h: Likewise.
6725 * soft-fp/single.h: Likewise.
6726 * soft-fp/soft-fp.h: Likewise.
6727 * soft-fp/subdf3.c: Likewise.
6728 * soft-fp/subsf3.c: Likewise.
6729 * soft-fp/subtf3.c: Likewise.
6730 * soft-fp/truncdfsf2.c: Likewise.
6731 * soft-fp/trunctfdf2.c: Likewise.
6732 * soft-fp/trunctfsf2.c: Likewise.
6733 * soft-fp/trunctfxf2.c: Likewise.
6734 * soft-fp/unorddf2.c: Likewise.
6735 * soft-fp/unordsf2.c: Likewise.
6736 * soft-fp/unordtf2.c: Likewise.
6737
6738 2015-09-24 Richard Earnshaw <rearnsha (a] arm.com>
6739
6740 PR libgcc/67624
6741 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
6742
6743 2015-09-24 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
6744
6745 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6746 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
6747 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
6748 messages.
6749 (internal_mcount): Likewise.
6750 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
6751 crt_compile, add CRTSTUFF_T_CFLAGS_S.
6752
6753 2015-09-24 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
6754
6755 * configure.ac (libgcc_cv_solaris_crts): New test.
6756 * configure: Regenerate.
6757 * config.in: Regenerate.
6758 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
6759 * config/gmon-sol2.c: Rename to ...
6760 * config/sol2/gmon.c: ... this.
6761 Include auto-target.h.
6762 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
6763 * config/t-sol2: Rename to ...
6764 * config/sol2/t-sol2: ... this.
6765 (gmon.o): Reflect renaming.
6766 (crtp.o, crtpg.o): New rules.
6767 * config.host (*-*-solaris2*): Reflect renaming.
6768 Use system CRTs if present.
6769 Remove default CRT case.
6770
6771 2015-09-23 John David Anglin <danglin (a] gcc.gnu.org>
6772
6773 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
6774 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
6775 __kernel_cmpxchg2.
6776 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
6777 (__sync_val_compare_and_swap_##WIDTH): Likewise.
6778 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
6779 (__sync_lock_test_and_set_##WIDTH): Likewise.
6780 (__sync_lock_release_##WIDTH): Likewise.
6781 (__sync_fetch_and_##OP##_4): Change result to match type of
6782 __kernel_cmpxchg.
6783 (__sync_##OP##_and_fetch_4): Likewise.
6784 (__sync_val_compare_and_swap_4): Likewise.
6785 (__sync_bool_compare_and_swap_4): likewise.
6786 (__sync_lock_test_and_set_4): Likewise.
6787 (__sync_lock_release_4): Likewise.
6788 (FETCH_AND_OP_2): Add long long variants.
6789 (OP_AND_FETCH_2): Likewise.
6790 (COMPARE_AND_SWAP_2 ): Likewise.
6791 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6792 (SYNC_LOCK_RELEASE_2): Likewise.
6793 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
6794
6795 2015-09-22 Kirill Yukhin <kirill.yukhin (a] intel.com>
6796
6797 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
6798 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
6799 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
6800 (get_available_features): Habdle new features.
6801
6802 2015-09-21 James Bowman <james.bowman (a] ftdichip.com>
6803
6804 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
6805 memory layout. Deal correctly with BSS region larger than 32K.
6806 Handle a watchdog reset like a power-on reset. Clean up unused
6807 code.
6808
6809 2015-09-18 Andrew Dixie <andrewd (a] gentrack.com>
6810 David Edelsohn <dje.gcc (a] gmail.com>
6811
6812 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6813 * config/rs6000/crtdbase.S: New file.
6814 * config/rs6000/t-aix-cxa: Build crtdbase.o.
6815
6816 2015-09-15 Max Filippov <jcmvbkbc (a] gmail.com>
6817
6818 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6819 Add support for call0 ABI.
6820
6821 2015-09-13 John David Anglin <danglin (a] gcc.gnu.org>
6822
6823 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6824
6825 2015-09-03 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
6826
6827 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6828 (__GTHREAD_HAS_COND): Likewise.
6829 (__gthread_t): Likewise.
6830 (__gthread_cond_t): Likewise.
6831 (__gthread_time_t): Likewise.
6832 (__GTHREAD_MUTEX_INIT): Likewise.
6833 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6834 (__GTHREAD_COND_INIT): Likewise.
6835 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6836 (__GTHREAD_TIME_INIT): Likewise.
6837 (__gthread_create): Likewise.
6838 (__gthread_join): Likewise.
6839 (__gthread_detach): Likewise.
6840 (__gthread_equal): Likewise.
6841 (__gthread_self): Likewise.
6842 (__gthread_yield): Likewise.
6843 (__gthread_cond_broadcast): Likewise.
6844 (__gthread_cond_signal): Likewise.
6845 (__gthread_cond_wait): Likewise.
6846 (__gthread_cond_timedwait): Likewise.
6847 (__gthread_cond_wait_recursive): Likewise.
6848 (__gthread_cond_destroy): Likewise.
6849 (rtems_gxx_once): Delete.
6850 (rtems_gxx_key_create): Likewise.
6851 (rtems_gxx_key_delete): Likewise.
6852 (rtems_gxx_getspecific): Likewise.
6853 (rtems_gxx_setspecific): Likewise.
6854 (rtems_gxx_mutex_init): Likewise.
6855 (rtems_gxx_mutex_destroy): Likewise.
6856 (rtems_gxx_mutex_lock): Likewise.
6857 (rtems_gxx_mutex_trylock): Likewise.
6858 (rtems_gxx_mutex_unlock): Likewise.
6859 (rtems_gxx_recursive_mutex_init): Likewise.
6860 (rtems_gxx_recursive_mutex_lock): Likewise.
6861 (rtems_gxx_recursive_mutex_trylock): Likewise.
6862 (rtems_gxx_recursive_mutex_unlock): Likewise.
6863 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6864 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6865 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6866 (__gthread_once): Likewise.
6867 (__gthread_key_create): Likewise.
6868 (__gthread_key_delete): Likewise.
6869 (__gthread_getspecific): Likewise.
6870 (__gthread_setspecific): Likewise.
6871 (__gthread_key_t): Use <pthread.h> type.
6872 (__gthread_once_t): Likewise
6873 (__gthread_mutex_t): Use <sys/lock.h> type.
6874 (__gthread_recursive_mutex_t): Likewise
6875 (__gthread_mutex_lock): Use <sys/lock.h> function.
6876 (__gthread_mutex_trylock): Likewise.
6877 (__gthread_mutex_timedlock): Likewise.
6878 (__gthread_mutex_unlock): Likewise.
6879 (__gthread_mutex_destroy): Likewise.
6880 (__gthread_recursive_mutex_lock): Likewise.
6881 (__gthread_recursive_mutex_trylock): Likewise.
6882 (__gthread_recursive_mutex_timedlock): Likewise.
6883 (__gthread_recursive_mutex_unlock): Likewise.
6884 (__gthread_recursive_mutex_destroy): Likewise.
6885
6886 2015-08-18 Max Filippov <jcmvbkbc (a] gmail.com>
6887
6888 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6889 context->sp instead of context->cfa.
6890
6891 2015-08-18 Max Filippov <jcmvbkbc (a] gmail.com>
6892
6893 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6894 with unwind-dw2-fde-dip.
6895
6896 2015-08-18 Max Filippov <jcmvbkbc (a] gmail.com>
6897
6898 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6899 CALL12 followed by series of ENTRY to spill windowed registers.
6900 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6901 instead of making linux spill syscall.
6902
6903 2015-08-14 Yuri Rumyantsev <ysrumyan (a] gmail.com>
6904
6905 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6906 (get_intel_cpu): Likewise.
6907
6908 2015-08-12 H.J. Lu <hongjiu.lu (a] intel.com>
6909
6910 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6911 (get_intel_cpu): Add Knights Landing support.
6912
6913 2015-08-11 Uros Bizjak <ubizjak (a] gmail.com>
6914
6915 PR target/66954
6916 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6917 (get_available_features): Handle FEATURE_PCLMUL.
6918
6919 2015-08-10 H.J. Lu <hongjiu.lu (a] intel.com>
6920
6921 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6922 Broadwell.
6923
6924 2015-07-22 Uros Bizjak <ubizjak (a] gmail.com>
6925
6926 PR target/66954
6927 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6928 (get_available_features): Handle FEATURE_AES.
6929
6930 2015-07-22 Chung-Lin Tang <cltang (a] codesourcery.com>
6931
6932 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6933 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6934
6935 2015-07-17 Nathan Sidwell <nathan (a] codesourcery.com>
6936
6937 * offloadstuff.c: Constify host data.
6938
6939 2015-07-17 Jan Beulich <jbeulich (a] suse.com>
6940
6941 * config/t-softfp: Split up "else ifneq".
6942
6943 2015-07-14 Sandra Loosemore <sandra (a] codesourcery.com>
6944 Cesar Philippidis <cesar (a] codesourcery.com>
6945 Chung-Lin Tang <cltang (a] codesourcery.com>
6946
6947 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6948 for __nios2_arch__ level.
6949
6950 2015-07-13 John Marino <gnugcc (a] marino.st>
6951
6952 * config/i386/t-dragonfly: New.
6953
6954 2015-07-01 John David Anglin <danglin (a] gcc.gnu.org>
6955
6956 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6957 better match light-weight syscall argument order.
6958 (__kernel_cmpxchg2): Likewise.
6959 Adjust callers.
6960
6961 2015-06-30 H.J. Lu <hongjiu.lu (a] intel.com>
6962
6963 * config.host: Support i[34567]86-*-elfiamcu target.
6964 * config/t-softfp-sfdftf: New file.
6965 * config/i386/32/t-iamcu: Likewise.
6966 * configure: Regenerated.
6967
6968 2015-06-23 James Lemke <jwlemke (a] codesourcery.com>
6969
6970 libgcc/config/arm/
6971 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6972
6973 2015-05-27 H.J. Lu <hongjiu.lu (a] intel.com>
6974
6975 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6976
6977 2015-05-27 John Marino <gnugcc (a] marino.st>
6978
6979 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6980 md_unwind_header
6981 * config/i386/freebsd-unwind.h: New.
6982
6983 2015-05-22 Uros Bizjak <ubizjak (a] gmail.com>
6984
6985 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6986 i386/t-crtfm to tmake_file.
6987 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6988 (set_fast_math): Use set_fast_math_sse for SSE targets.
6989 * config/i386/t-crtfm: Remove.
6990
6991 2015-05-21 Alan Modra <amodra (a] gmail.com>
6992
6993 PR libgcc/66225
6994 * config/rs6000/morestack.S: Remove ".abiversion 1".
6995
6996 2015-05-20 Alan Modra <amodra (a] gmail.com>
6997
6998 * config/rs6000/morestack.S: New.
6999 * config/rs6000/t-stack-rs6000: New.
7000 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
7001 to tmake_file.
7002 * generic-morestack.c: Don't build for powerpc 32-bit.
7003
7004 2015-05-19 Eric Botcazou <ebotcazou (a] adacore.com>
7005
7006 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
7007 Remove useless endif/ifneq ($(enable_shared),yes) pair.
7008
7009 2015-05-16 James Bowman <james.bowman (a] ftdichip.com>
7010
7011 * config.host: FT32 target added.
7012 * config/ft32/*: New files for FT32 target.
7013
7014 2015-05-15 Martin Galvan <martin.galvan (a] tallertechnologies.com>
7015
7016 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
7017 New macros.
7018 * config/arm/ieee754-df.S: Add CFI directives.
7019 * config/arm/ieee754-sf.S: Add CFI directives.
7020
7021 2015-05-13 Eric Botcazou <ebotcazou (a] adacore.com>
7022
7023 * configure.ac: Include config/sjlj.m4.
7024 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
7025 * config.in: Regenerate.
7026 * configure: Likewise.
7027 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
7028
7029 2015-05-12 Uros Bizjak <ubizjak (a] gmail.com>
7030
7031 * libgcov-util.c: Add space between string literal and macro name.
7032
7033 2015-05-06 Sandra Loosemore <sandra (a] codesourcery.com>
7034 Chris Jones <chrisj (a] nvidia.com>
7035 Joshua Conner <jconner (a] nvidia.com>
7036
7037 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
7038 (arm*-*-uclinux*): Likewise.
7039 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
7040 * config/arm/crtfastmath.c: New file.
7041
7042 2014-04-29 Bernd Schmidt <bernds (a] codesourcery.com>
7043
7044 * Makefile.in (real_host_noncanonical): New variable.
7045 (libsubdir): Use it.
7046 * configure.ac (real_host_noncanonical): Compute. Remove special
7047 case for intelmicemul.
7048 * configure: Regenerate.
7049
7050 2015-04-28 Uros Bizjak <ubizjak (a] gmail.com>
7051
7052 * config/frv/elf-lib.h: New file.
7053 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
7054 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
7055 to tm_file.
7056
7057 2015-04-28 Uros Bizjak <ubizjak (a] gmail.com>
7058
7059 * config/frv/frvbengin.c: Do not include defaults.h
7060 * config/frv/frvend.c: Ditto.
7061
7062 2015-04-27 Yoshinori Sato <ysato (a] users.sourceforge.jp>
7063
7064 * config.host: Add h8300-*-linux
7065 * config/h8300/t-linux: New file.
7066 * config/h8300/lib1funs.s: Change symbol prefix.
7067 * config/h8300/sfp-machine.h: 64bit double support.
7068
7069 2015-04-22 Gregor Richards <gregor.richards (a] uwaterloo.ca>
7070 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
7071
7072 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
7073 Linux if target provides dl_iterate_phdr.
7074
7075 2015-04-17 H.J. Lu <hongjiu.lu (a] intel.com>
7076
7077 PR target/65612
7078 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
7079 * config/i386/cpuinfo.c (__cpu_model): Initialize.
7080 (__cpu_indicator_init (a] GCC_4.8.0): New.
7081 (__cpu_model (a] GCC_4.8.0): Likewise.
7082 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
7083 -DUSE_ELF_SYMVER.
7084
7085 2015-04-16 Nick Clifton <nickc (a] redhat.com>
7086
7087 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
7088 and __modhi3 functions.
7089 * config/rl78/divmodso.S: Add G14 and G13 versions of the
7090 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
7091
7092 2015-04-15 Chen Gang <gang.chen.5i5j (a] gmail.com>
7093
7094 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
7095 do-while loop as macro body to avoid warnings.
7096
7097 2015-04-10 Jakub Jelinek <jakub (a] redhat.com>
7098 Iain Sandoe <iain (a] codesourcery.com>
7099
7100 PR target/65351
7101 * configure: Regenerate.
7102
7103 2015-04-07 Jakub Jelinek <jakub (a] redhat.com>
7104 Iain Sandoe <iain (a] codesourcery.com>
7105
7106 PR target/65351
7107 * configure: Regenerate.
7108
7109 2015-03-25 Chung-Lin Tang <cltang (a] codesourcery.com>
7110
7111 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
7112
7113 2015-03-03 Max Filippov <jcmvbkbc (a] gmail.com>
7114
7115 Implement call0 ABI for xtensa
7116 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
7117 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
7118 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
7119 use ret in call0 ABI.
7120 * config/xtensa/t-windowed: New file.
7121 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
7122 * libgcc/configure: Regenerated.
7123 * libgcc/configure.ac: Check if xtensa target is configured for
7124 windowed ABI and thus needs to use custom unwind code.
7125
7126 2015-02-12 Jonathan Wakely <jwakely (a] redhat.com>
7127
7128 PR libgcc/64885
7129 * gthr-single.h: Use __unused__ attribute instead of unused.
7130 * config/gthr-vxworks.h: Likewise.
7131 * config/i386/gthr-win32.h: Likewise.
7132
7133 2015-02-27 Kai Tietz <ktietz (a] redhat.com>
7134
7135 PR target/65038
7136 * config.in: Regenerated.
7137 * configure: Likewise.
7138 * configure.ac (AC_HEADER_STDC): Added explicit.
7139 (AC_CHECK_HEADERS): Check for default headers plus
7140 for ftw.h header.
7141 * libgcov-util.c (gcov_read_profile_dir): Disable use
7142 of ftw-function, if header is not found.
7143 (ftw_read_file): Likewise.
7144
7145 2015-02-23 Thomas Schwinge <thomas (a] codesourcery.com>
7146
7147 PR target/65181
7148 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
7149 -Dinhibit_libc.
7150
7151 2015-02-17 Sandra Loosemore <sandra (a] codesourcery.com>
7152
7153 * config/arm/bpabi.S (test_div_by_zero): Make label names
7154 consistent between thumb2 and arm mode cases. Separate the
7155 signed comparison on the high word of the numerator from the
7156 unsigned comparison on the low word.
7157 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
7158 signed comparison.
7159
7160 2015-02-17 Joseph Myers <joseph (a] codesourcery.com>
7161
7162 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
7163 and <string.h>.
7164 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
7165
7166 2015-02-10 Rainer Emrich <rainer (a] emrich-ebersheim.de>
7167
7168 PR gcov-profile/61889
7169 * libgcov-driver-system.c: undefine clashing macro for mkdir.
7170
7171 2015-02-02 Nick Clifton <nickc (a] redhat.com>
7172
7173 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
7174 rounding up the fraction.
7175
7176 2015-01-31 John David Anglin <danglin (a] gcc.gnu.org>
7177
7178 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
7179 oldval and newval to const void *. Fix typo.
7180 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
7181 (FETCH_AND_OP_WORD): Likewise.
7182 (OP_AND_FETCH_WORD): Likewise.
7183 (COMPARE_AND_SWAP_2): Likewise.
7184 (__sync_val_compare_and_swap_4): Likewise.
7185 (__sync_lock_test_and_set_4): Likewise.
7186 (SYNC_LOCK_RELEASE_2): Likewise.
7187 Remove support for long long atomic operations.
7188
7189 2015-01-27 Caroline Tice <cmtice (a] google.com>
7190
7191 Committing VTV Cywin/Ming patch for Patrick Wollgast
7192 * Makefile.in: Move rules to build vtv_*.o out of the check
7193 for CUSTOM_CRTSTUFF.
7194 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
7195 i[34567]86-*-mingw*)
7196 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
7197 enable_vtable_verify.
7198
7199 2015-01-27 Nick Clifton <nickc (a] redhat.com>
7200
7201 * config/rl78/cmpsi2.S: Use function start and end macros.
7202 (__gcc_bcmp): New function.
7203 * config/rl78/lshrsi3.S: Use function start and end macros.
7204 * config/rl78/mulsi3.S: Add support for G10.
7205 (__mulqi3): New function for G10.
7206 * config/rl78/signbit.S: Use function start and end macros.
7207 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
7208 fpmath-sf.S.
7209 (LIB2FUNCS_EXCLUDE): Define.
7210 (LIB2FUNCS_ST): Define.
7211 * config/rl78/trampoline.S: Use function start and end macros.
7212 * config/rl78/vregs.h (START_FUNC): New macro.
7213 (START_ANOTHER_FUNC): New macro.
7214 (END_FUNC): New macro.
7215 (END_ANOTHER_FUNC): New macro.
7216 * config/rl78/bit-count.S: New file. Contains assembler
7217 implementations of the bit counting functions: ___clzhi2,
7218 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
7219 __paritysi2, __popcounthi2 and __popcountsi2.
7220 * config/rl78/fpbit-sf.S: New file. Contains assembler
7221 implementationas of the math functions: __negsf2, __cmpsf2,
7222 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
7223 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
7224 * config/rl78/fpmath-sf.S: New file. Contains assembler
7225 implementations of the math functions: __subsf3, __addsf3,
7226 __mulsf3 and __divsf3
7227
7228 2015-01-27 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
7229
7230 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
7231 Add i386/elf-lib.h to tm_file.
7232 * config/i386/elf-lib.h: Fix comment.
7233 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
7234 && __sun__ && __svr4__]: Remove workaround.
7235
7236 2015-01-25 Allan Sandfeld Jensen <sandfeld (a] kde.org>
7237
7238 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
7239 FEATURE_BMI2.
7240 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
7241
7242 2015-01-24 H.J. Lu <hongjiu.lu (a] intel.com>
7243
7244 * config/i386/cpuinfo.c (processor_subtypes): Add
7245 INTEL_COREI7_BROADWELL.
7246 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
7247 model numbers.
7248
7249 2015-01-23 Uros Bizjak <ubizjak (a] gmail.com>
7250
7251 * config/i386/elf-lib.h: New file.
7252 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
7253 Wrap definition in #ifdef __i386__.
7254 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7255 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
7256 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
7257 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
7258 to tm_file.
7259
7260 2015-01-22 Chen Gang <gang.chen.5i5j (a] gmail.com>
7261
7262 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
7263 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
7264
7265 2015-01-20 Chung-Lin Tang <cltang (a] codesourcery.com>
7266
7267 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
7268 Update rt_sigframe format and address for current Nios II
7269 Linux conventions.
7270
7271 2015-01-09 Andreas Tobler <andreast (a] gcc.gnu.org>
7272
7273 * config.host (arm*-*-freebsd*): Add new configuration for
7274 arm*-*-freebsd*.
7275 * config/arm/freebsd-atomic.c: New file.
7276 * config/arm/t-freebsd: Likewise.
7277 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
7278 'PC-relative indirect' OS's.
7279
7280 2015-01-06 Eric Botcazou <ebotcazou (a] adacore.com>
7281
7282 * config.host: Add Visium support.
7283 * config/visium: New directory.
7284
7285 2015-01-05 Jakub Jelinek <jakub (a] redhat.com>
7286
7287 Update copyright years.
7288
7289 2014-12-19 Matthew Fortune <matthew.fortune (a] imgtec.com>
7290
7291 * config.host: Support mipsisa32r6 and mipsisa64r6.
7292 * config/mips/mips16.S: Do not build for R6.
7293
7294 2014-12-17 Oleg Endo <olegendo (a] gcc.gnu.org>
7295
7296 * config/sh/crt.h: New.
7297 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
7298 symbols.
7299 * config/sh/crt1.S: Likewise.
7300
7301 2014-12-15 Uros Bizjak <ubizjak (a] gmail.com>
7302
7303 PR libgcc/63832
7304 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
7305 func_ptr *dtor_list temporary variable to avoid "array subscript
7306 is above array bounds" warnings.
7307
7308 2014-12-09 Michael Haubenwallner <michael.haubenwallner (a] ssi-schaefer.com>
7309
7310 * Makefile.in (with_aix_soname): Define.
7311 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
7312 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
7313 * configure: Recreate.
7314
7315 2014-12-05 Olivier Hainque <hainque (a] adacore.com>
7316
7317 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
7318 now provided by defaults.h.
7319
7320 2014-11-30 Oleg Endo <olegendo (a] gcc.gnu.org>
7321
7322 PR target/55351
7323 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
7324 whether it's defined.
7325
7326 2014-11-27 Ilya Tocar <ilya.tocar (a] intel.com>
7327
7328 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
7329 * config/i386/cpuinfo.c (get_available_features): Detect it.
7330
7331 2014-11-27 Tony Wang <tony.wang (a] arm.com>
7332
7333 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
7334 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
7335 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
7336
7337 2014-11-25 Segher Boessenkool <segher (a] kernel.crashing.org>
7338
7339 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
7340
7341 2014-11-24 John David Anglin <danglin (a] gcc.gnu.org>
7342
7343 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
7344 instead.
7345
7346 2014-11-21 Guy Martin <gmsoft (a] tuxicoman.be>
7347 John David Anglin <danglin (a] gcc.gnu.org>
7348
7349 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
7350 (FETCH_AND_OP_2): New. Use for subword and double word operations.
7351 (OP_AND_FETCH_2): Likewise.
7352 (COMPARE_AND_SWAP_2): Likewise.
7353 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
7354 (SYNC_LOCK_RELEASE_2): Likewise.
7355 (SUBWORD_SYNC_OP): Remove.
7356 (SUBWORD_VAL_CAS): Likewise.
7357 (SUBWORD_BOOL_CAS): Likewise.
7358 (FETCH_AND_OP_WORD): Update.
7359 Consistently use signed types.
7360
7361 2014-11-13 Bernd Schmidt <bernds (a] codesourcery.com>
7362 Thomas Schwinge <thomas (a] codesourcery.com>
7363 Ilya Verbin <ilya.verbin (a] intel.com>
7364 Andrey Turetskiy <andrey.turetskiy (a] intel.com>
7365
7366 * Makefile.in (crtoffloadbegin$(objext)): New rule.
7367 (crtoffloadend$(objext)): Likewise.
7368 * configure: Regenerate.
7369 * configure.ac (accel_dir_suffix): Compute new variable.
7370 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
7371 if enable_offload_targets is not empty.
7372 * offloadstuff.c: New file.
7373
7374 2014-11-13 Nick Clifton <nickc (a] redhat.com>
7375
7376 * config/rl78/divmodhi.S: Add support for the G10 architecture.
7377 Use START_FUNC and END_FUNC macros to enable linker garbage
7378 collection.
7379 * config/rl78/divmodqi.S: Likewise.
7380 * config/rl78/divmodsi.S: Likewise.
7381 * config/rl78/mulsi3.S: Likewise.
7382 * config/rl78/lib2div.c: Remove G10 functions.
7383 * config/rl78/lib2muls.c: Likewise.
7384 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
7385 * config/rl78/vregs.h (START_FUNC): New macro.
7386 (END_FUNC): New macro.
7387
7388 2014-11-12 Matthew Fortune <matthew.fortune (a] imgtec.com>
7389
7390 * config/mips/mips16.S: Set .module when supported. Update O32
7391 FP64 calling convention and use for FPXX when possible. Add FPXX
7392 calling convention fallback case.
7393
7394 2014-11-06 Bernd Schmidt <bernds (a] codesourcery.com>
7395
7396 * config.host: Handle nvptx-*-*.
7397 * shared-object.mk (as-flags-$o): Define.
7398 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
7399 -xassembler-with-cpp.
7400 * static-object.mk: Identical changes.
7401 * config/nvptx/t-nvptx: New file.
7402 * config/nvptx/crt0.s: New file.
7403 * config/nvptx/free.asm: New file.
7404 * config/nvptx/malloc.asm: New file.
7405 * config/nvptx/realloc.c: New file.
7406
7407 2014-10-30 Joseph Myers <joseph (a] codesourcery.com>
7408
7409 * Makefile.in (libgcc.map.in): New target.
7410 (libgcc.map): Use libgcc.map.in.
7411 * config/t-softfp (softfp_compat): New variable to be set by
7412 users.
7413 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
7414 variables.
7415 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
7416 directory.
7417 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
7418 that use compat symbols and disable all code unless [SHARED].
7419 * config/t-softfp-compat: New file.
7420 * find-symver.awk: New file.
7421 * configure.ac (--with-glibc-version): New configure option.
7422 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
7423 * configure: Regenerate.
7424 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
7425 soft-float and e500.
7426
7427 2014-10-29 Joseph Myers <joseph (a] codesourcery.com>
7428
7429 * config/t-hardfp (hardfp_exclusions): Document new variable for
7430 user to define.
7431 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
7432 * config/t-softfp (softfp_extras): Document new variable for user
7433 to define.
7434 (softfp_func_list): Add functions from $(softfp_extras).
7435 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
7436 * config.host (powerpc*-*-linux*): For e500v1, use
7437 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
7438 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
7439 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
7440
7441 2014-10-26 John David Anglin <danglin (a] gcc.gnu.org>
7442
7443 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
7444 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
7445 memory read accesses are ok.
7446
7447 2014-10-25 Joseph Myers <joseph (a] codesourcery.com>
7448
7449 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
7450 * configure: Regenerate.
7451 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
7452 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
7453 of soft-fp for 32-bit classic hard float. Do not use
7454 t-softfp-excl for soft float.
7455
7456 2014-10-22 Joseph Myers <joseph (a] codesourcery.com>
7457
7458 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
7459 configurations.
7460 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
7461 Remove variables.
7462
7463 2014-10-22 Georg-Johann Lay <avr (a] gjlay.de>
7464
7465 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
7466 introduced with 2014-10-21 trunk r216525.
7467
7468 2014-10-21 Joern Rennecke <joern.rennecke (a] embecosm.com>
7469 Vidya Praveen <vidya.praveen (a] atmel.com>
7470 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik (a] atmel.com>
7471 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj (a] atmel.com>
7472 Pitchumani Sivanupandi <Pitchumani.S (a] atmel.com>
7473
7474 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
7475 order.
7476
7477 Updated library functions for AVRTINY arch.
7478 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
7479 Replaced occurrences of r0/r1 with tmp/zero reg macros.
7480 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
7481 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
7482 wsubi/wadi macors.
7483 (__mulsi3_helper): Update stack, preserve callee saved regs and
7484 argument from stack. Restore callee save registers.
7485 (__mulpsi3): Likewise.
7486 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
7487 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
7488 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
7489 AVRTINY.
7490 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
7491 (__do_copy_data): Added new definition for AVRTINY.
7492 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
7493 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
7494 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
7495 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
7496 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
7497 macors.
7498 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
7499 AVRTINY.
7500
7501 Fix broken long multiplication on tiny arch.
7502
7503 2014-10-09 Joseph Myers <joseph (a] codesourcery.com>
7504
7505 * soft-fp/double.h: Update from glibc.
7506 * soft-fp/eqdf2.c: Likewise.
7507 * soft-fp/eqsf2.c: Likewise.
7508 * soft-fp/eqtf2.c: Likewise.
7509 * soft-fp/extenddftf2.c: Likewise.
7510 * soft-fp/extended.h: Likewise.
7511 * soft-fp/extendsfdf2.c: Likewise.
7512 * soft-fp/extendsftf2.c: Likewise.
7513 * soft-fp/extendxftf2.c: Likewise.
7514 * soft-fp/gedf2.c: Likewise.
7515 * soft-fp/gesf2.c: Likewise.
7516 * soft-fp/getf2.c: Likewise.
7517 * soft-fp/ledf2.c: Likewise.
7518 * soft-fp/lesf2.c: Likewise.
7519 * soft-fp/letf2.c: Likewise.
7520 * soft-fp/op-1.h: Likewise.
7521 * soft-fp/op-2.h: Likewise.
7522 * soft-fp/op-4.h: Likewise.
7523 * soft-fp/op-8.h: Likewise.
7524 * soft-fp/op-common.h: Likewise.
7525 * soft-fp/quad.h: Likewise.
7526 * soft-fp/single.h: Likewise.
7527 * soft-fp/soft-fp.h: Likewise.
7528 * soft-fp/unorddf2.c: Likewise.
7529 * soft-fp/unordsf2.c: Likewise.
7530 * soft-fp/unordtf2.c: Likewise.
7531 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
7532 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
7533 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
7534 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
7535 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
7536 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
7537 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
7538 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
7539 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
7540 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
7541
7542 2014-10-08 Rong Xu <xur (a] google.com>
7543
7544 * libgcov-util.c (read_gcda_file): Fix format.
7545 (find_match_gcov_info): Ditto.
7546 (calculate_2_entries): New.
7547 (compute_one_gcov): Ditto.
7548 (gcov_info_count_all_cold): Ditto.
7549 (gcov_info_count_all_zero): Ditto.
7550 (extract_file_basename): Ditto.
7551 (get_file_basename): Ditto.
7552 (set_flag): Ditto.
7553 (matched_gcov_info): Ditto.
7554 (calculate_overlap): Ditto.
7555 (gcov_profile_overlap): Ditto.
7556 * libgcov-driver.c (compute_summary): Make
7557 it avavilable for external calls.
7558
7559 2014-10-06 Rong Xu <xur (a] google.com>
7560
7561 * Makefile.in: Ditto.
7562 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
7563 (gcov_sort_icall_topn_counter): Ditto.
7564 (gcov_sort_topn_counter_arrays): Ditto.
7565 (dump_one_gcov): Sort indirect_call topn counters.
7566 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
7567 function.
7568 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
7569 utility function.
7570 (__gcov_indirect_call_topn_profiler): New profiler function.
7571 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
7572 * libgcov.h: New decls.
7573
7574 2014-10-04 Trevor Saunders <tsaunders (a] mozilla.com>
7575
7576 * config.host: Remove support for score-*.
7577
7578 2014-09-22 Joseph Myers <joseph (a] codesourcery.com>
7579
7580 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7581 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
7582 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
7583 __LIBGCC_XF_MANT_DIG__.
7584 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
7585 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
7586 __LIBGCC_TF_MANT_DIG__.
7587 * libgcc2.c (NOTRUNC): Define in terms of
7588 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
7589 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7590
7591 2014-09-22 Joseph Myers <joseph (a] codesourcery.com>
7592
7593 PR target/63312
7594 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
7595 New macros.
7596
7597 2014-09-22 Hans-Peter Nilsson <hp (a] axis.com>
7598
7599 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
7600 override USE_PT_GNU_EH_FRAME.
7601 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
7602 check USE_EH_FRAME_REGISTRY_ALWAYS against
7603 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
7604 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
7605 variable for substituted force_explicit_eh_registry.
7606 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
7607 * configure.ac (explicit-exception-frame-registration):
7608 New AC_ARG_ENABLE.
7609 * configure: Regenerate.
7610
7611 2014-09-19 Olivier Hainque <hainque (a] adacore.com>
7612
7613 * config.host (powerpc-wrs-vxworksmils): New configuration,
7614 same as vxworksae.
7615
7616 2014-09-18 Joseph Myers <joseph (a] codesourcery.com>
7617
7618 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
7619
7620 2014-09-18 Joseph Myers <joseph (a] codesourcery.com>
7621
7622 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
7623 bits not set bits as indicating trapping exceptions.
7624
7625 2014-09-17 Nathan sidwell <nathan (a] acm.org>
7626
7627 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
7628 (LIBGCOV_DRIVER): ... here.
7629 * libgcov-driver.c (gcov_master): New.
7630 (gcov_exit): Remove from master chain.
7631 (__gcov_init): Add to master chain if version compatible. Don't
7632 clear the version.
7633 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
7634 (gcov_reset_int): Clear master chain, if compatible.
7635 (gcov_dump_int): New internal interface. Dump master chain, if
7636 compatible.
7637 (gcov_dump): Alias for gcov_dump_int.
7638 * libgcov.h (struct gcov_root): Add next and prev fields.
7639 (struct gcov_master): New struct.
7640 (__gcov_master): New.
7641 (gcov_dump_int): Declare.
7642
7643 2014-09-17 Olivier Hainque <hainque (a] adacore.com>
7644
7645 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
7646 and crtbegin.o + crtend.o to extra_parts.
7647
7648 2014-09-12 Joseph Myers <joseph (a] codesourcery.com>
7649
7650 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
7651 __LIBGCC_HAS_SF_MODE__.
7652 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7653 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7654 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7655 * config/libbid/bid_gcc_intrinsics.h
7656 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7657 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7658 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7659 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7660 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
7661 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7662
7663 2014-09-11 Georg-Johann Lay <avr (a] gjlay.de>
7664
7665 PR target/63223
7666 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
7667 and R24 as needed. Make work for all devices and .text locations.
7668 (__do_global_ctors, __do_global_dtors): Use word addresses.
7669 (__tablejump__, __tablejump_elpm__): Remove functions.
7670 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
7671 Add _tablejump2.
7672 (XICALL, XIJMP): New macros.
7673
7674 2014-09-09 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
7675 Ramana Radhakrishnan <ramana.radhakrishnan (a] arm.com>
7676
7677 * config.host (aarch64*): Include crtfastmath.o and
7678 t-crtfm.
7679 * config/aarch64/crtfastmath.c: New file.
7680
7681 2014-09-08 Trevor Saunders <tsaunders (a] mozilla.com>
7682
7683 * config.host: Remove picochip support.
7684 * config/picochip/adddi3.S: Remove.
7685 * config/picochip/ashlsi3.S: Remove.
7686 * config/picochip/ashlsi3.c: Remove.
7687 * config/picochip/ashrsi3.S: Remove.
7688 * config/picochip/ashrsi3.c: Remove.
7689 * config/picochip/clzsi2.S: Remove.
7690 * config/picochip/cmpsi2.S: Remove.
7691 * config/picochip/divmod15.S: Remove.
7692 * config/picochip/divmodhi4.S: Remove.
7693 * config/picochip/divmodsi4.S: Remove.
7694 * config/picochip/lib1funcs.S: Remove.
7695 * config/picochip/longjmp.S: Remove.
7696 * config/picochip/lshrsi3.S: Remove.
7697 * config/picochip/lshrsi3.c: Remove.
7698 * config/picochip/parityhi2.S: Remove.
7699 * config/picochip/popcounthi2.S: Remove.
7700 * config/picochip/setjmp.S: Remove.
7701 * config/picochip/subdi3.S: Remove.
7702 * config/picochip/t-picochip: Remove.
7703 * config/picochip/ucmpsi2.S: Remove.
7704 * config/picochip/udivmodhi4.S: Remove.
7705 * config/picochip/udivmodsi4.S: Remove.
7706
7707 2014-09-08 Joseph Myers <joseph (a] codesourcery.com>
7708
7709 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
7710 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
7711 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
7712 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
7713 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
7714 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
7715 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
7716 defined and LIBGCC2_HAS_DF_MODE is defined.
7717 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
7718 defined and LIBGCC2_HAS_XF_MODE is defined.
7719 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
7720 defined and LIBGCC2_HAS_TF_MODE is defined.
7721
7722 2014-09-08 Joseph Myers <joseph (a] codesourcery.com>
7723
7724 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
7725 and ROUND_TOWARDS_ZERO conditionals.
7726
7727 2014-09-07 Nathan sidwell <nathan (a] acm.org>
7728
7729 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
7730 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
7731
7732 2014-09-05 Joseph Myers <joseph (a] codesourcery.com>
7733
7734 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
7735 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7736 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7737 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7738 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7739 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7740 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7741 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
7742 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
7743 (DWARF_FRAME_REGISTERS): Change all uses to
7744 __LIBGCC_DWARF_FRAME_REGISTERS__.
7745 (EH_RETURN_STACKADJ_RTX): Change all uses to
7746 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7747 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
7748 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
7749 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
7750 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
7751 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
7752 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
7753 to __LIBGCC_EH_FRAME_SECTION_NAME__.
7754 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
7755 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
7756 __LIBGCC_STACK_POINTER_REGNUM__.
7757 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7758 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7759 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7760 to __LIBGCC_STACK_POINTER_REGNUM__.
7761 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7762 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7763 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7764 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7765 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7766 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7767 (STACK_POINTER_REGNUM): Change all uses to
7768 __LIBGCC_STACK_POINTER_REGNUM__.
7769 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
7770 use to __LIBGCC_STACK_POINTER_REGNUM__.
7771 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7772 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7773 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
7774 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7775 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
7776 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7777 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7778 to __LIBGCC_STACK_POINTER_REGNUM__.
7779 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
7780 Remove conditional definition.
7781 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
7782 __LIBGCC_TEXT_SECTION_ASM_OP__.
7783 (EH_FRAME_SECTION_NAME): Change all uses to
7784 __LIBGCC_EH_FRAME_SECTION_NAME__.
7785 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
7786 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
7787 (CTORS_SECTION_ASM_OP): Change all uses to
7788 __LIBGCC_CTORS_SECTION_ASM_OP__.
7789 (DTORS_SECTION_ASM_OP): Change all uses to
7790 __LIBGCC_DTORS_SECTION_ASM_OP__.
7791 (JCR_SECTION_NAME): Change all uses to
7792 __LIBGCC_JCR_SECTION_NAME__.
7793 (INIT_SECTION_ASM_OP): Change all uses to
7794 __LIBGCC_INIT_SECTION_ASM_OP__.
7795 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7796 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7797 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
7798 __LIBGCC_STACK_GROWS_DOWNWARD__.
7799 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
7800 __LIBGCC_INIT_SECTION_ASM_OP__.
7801 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7802 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7803 (EH_FRAME_SECTION_NAME): Change all uses to
7804 __LIBGCC_EH_FRAME_SECTION_NAME__.
7805 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
7806 definitions. Change all uses to
7807 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
7808 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
7809 __LIBGCC_STACK_GROWS_DOWNWARD__.
7810 (DWARF_FRAME_REGISTERS): Change all uses to
7811 __LIBGCC_DWARF_FRAME_REGISTERS__.
7812 (EH_RETURN_STACKADJ_RTX): Change all uses to
7813 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7814 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7815 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7816 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7817 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7818 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7819
7820 2014-09-02 Nathan sidwell <nathan (a] acm.org>
7821
7822 * libgcov-interface.c (STRONG_ALIAS): New.
7823 (__gcov_flush): Call __gcov_reset_int.
7824 (__gcov_reset): Strong alias for ...
7825 (__gcov_reset_ing): ... this renamed hidden version.
7826 * libgcov.h (__gcov_reset_int): New declaration.
7827
7828 2014-08-19 Yaakov Selkowitz <yselkowi (a] redhat.com>
7829
7830 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7831 call from here...
7832 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7833 (__dso_handle): Define on Cygwin.
7834 * config/i386/t-cygming (crtbeginS.o): New rule.
7835 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7836
7837 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7838 declaration syntax.
7839
7840 2014-08-13 Steve Ellcey <sellcey (a] mips.com>
7841
7842 * crtstuff.c: Undef caddr_t.
7843
7844 2014-08-12 Steve Ellcey <sellcey (a] mips.com>
7845
7846 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
7847
7848 2014-08-07 Nathan Sidwell <nathan (a] acm.org>
7849
7850 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7851 (LIBGCOV_DRIVER): ... to here.
7852 * libgcov.h (gcov_do_dump): New #define.
7853 (struct gcov_root): New.
7854 (__gcov_root): New declaration.
7855 (__gcov_dump_one): Declare.
7856 * libgcov-driver.c (gcov_list, gcov_dump_complete,
7857 run_accounted): Delete.
7858 (gcov_compute_histogram): Add LIST argument, adjust.
7859 (compute_summary): Adjust gcov_compute_histogram call.
7860 (gcov_do_dump): Not hidden, static in libgcov.
7861 (gcov_clear): Move to interface.c.
7862 (__gcov_dump_one): New, broken out of ...
7863 (gcov_exit): ... here. Make static.
7864 (__gcov_root): New.
7865 (__gcov_init): Adjust.
7866 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7867 declarations.
7868 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7869 (gcov_clear): Moved from driver.c. Add LIST argument.
7870 (__gcov_reset): Adjust for changed interfaces.
7871 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7872
7873 2014-08-04 Rohit <rohitarulraj (a] freescale.com>
7874
7875 PR target/60102
7876 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
7877 based on change in SPE high register numbers and 3 HTM registers.
7878
7879 2014-08-01 Nathan Sidwell <nathan (a] acm.org>
7880
7881 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7882 LIBGCOV_INTERFACE): Reformat.
7883 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7884 IN_GCOV_TOOL.
7885 * libgcov-interface.c: Reformat some comments.
7886 (__gcov_flush_mx): Add declaration. Tidy up definition.
7887
7888 2014-07-31 Alan Modra <amodra (a] gmail.com>
7889 Peter Bergner <bergner (a] vnet.ibm.com>
7890
7891 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7892 (pack_ldouble): New function.
7893 (__gcc_qadd): Use it.
7894 (__gcc_qmul): Likewise.
7895 (__gcc_qdiv): Likewise.
7896 (__gcc_qneg): Likewise.
7897 (__gcc_stoq): Likewise.
7898 (__gcc_dtoq): Likewise.
7899
7900 2014-07-30 J. D. Johnston <jjohnst (a] us.ibm.com>
7901
7902 * config/s390/tpf-unwind.h: Include <stdbool.h>.
7903 (__tpf_eh_return): Add original return address as second parameter.
7904 Handle cases where unwinder routines were called directly, instead
7905 of from within the C++ library.
7906
7907 2014-07-29 Nathan Sidwell <nathan (a] acm.org>
7908
7909 * libgcov.h: Move renaming of entry points to lib gcov specific
7910 portion.
7911 (gcov_do_dump): New rename.
7912 (gcov_rewrite): Remove inline, make HIDDEN.
7913 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7914 (gcov_exit_compute_summary): Rename to ...
7915 (compute_summary): ... here. Add LIST argument.
7916 (gcov_exit_merge_gcda): Rename to ...
7917 (merge_one_data): ... here.
7918 (gcov_exit_write_gcda): Rename to ...
7919 (write_one_data): ... here.
7920 (gcov_exit_merge_summary): Rename to ...
7921 (merge_summary): Add RUN_COUNTED argument.
7922 (gcov_exit_dump_gcov): Rename to ...
7923 (dump_one_gcov): Add RUN_COUNTED argument.
7924 (gcov_do_dump): New function, broken out of ...
7925 (gcov_exit): ... here. Call it.
7926
7927 2014-07-27 Anthony Green <green (a] moxielogic.com>
7928
7929 * config.host: Add moxiebox configuration suppport.
7930
7931 2014-07-27 Nathan Sidwell <nathan (a] acm.org>
7932
7933 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7934 (struct gcov_filename): ... here. Include buffer and max length
7935 fields.
7936 (gcov_max_filename): Remove.
7937 (gi_filename): Remove.
7938 (gcov_exit_compute_summary): Compute max filename here.
7939 (gcov_exit_merge_gcda): Add filename parm, adjust.
7940 (gcov_exit_merge_summary): Likewise.
7941 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7942 (gcov_exit): Likewise.
7943 (__gcov_init): Don't calculate max length here.
7944 * libgcov_util.c (max_filename_len): Remove.
7945 (read_gcda_file): Don't calculate max length here.
7946 (gcov_read_profile_dir): Don't propagate here.
7947 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7948 struct gcov_filename changes.
7949 (gcov_exit_open_gcda_file): Likewise.
7950
7951 2014-07-25 Nathan Sidwell <nathan (a] acm.org>
7952
7953 * libgcov-driver.c (set_gcov_dump_complete,
7954 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7955 functions polluting user's namespace.
7956 (gcov_exit): Set variable directly.
7957 (gcov_clear): Reset variable directly.
7958 * libgcov-interface.c (get_gcov_dymp_complete,
7959 reset_gov_dump_complete): Remove declarations.
7960 (__gcov_reset, __gcov_dump): Don't call them.
7961
7962 2014-07-24 DJ Delorie <dj (a] redhat.com>
7963
7964 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
7965 (__gcc_deregister_frame): Move logic to detect deregister function
7966 to ...
7967 (__gcc_register_frame): here, so it's consistent with the register
7968 logic.
7969
7970 2014-07-23 Nathan Sidwell <nathan (a] acm.org>
7971
7972 * libgcov-driver.c (set_gcov_list): Remove.
7973 (gcov_list): Make non-static in GCOV_TOOL.
7974 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7975
7976 2014-07-17 John David Anglin <danglin (a] gcc.gnu.org>
7977
7978 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7979 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7980 Don't use SYNC_LOCK_RELEASE for int type.
7981
7982 2014-07-14 Richard Biener <rguenther (a] suse.de>
7983
7984 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7985
7986 2014-07-11 Rong Xu <xur (a] google.com>
7987
7988 * libgcov-util.c (gcov_max_filename): Fix declartion.
7989
7990 2014-07-10 Rong Xu <xur (a] google.com>
7991
7992 Add gcov-tool: an offline gcda profile processing tool
7993 Support.
7994 * libgcov-driver.c (gcov_max_filename): Make available
7995 to gcov-tool.
7996 * libgcov-merge.c (__gcov_merge_add): Replace
7997 gcov_read_counter() with a Macro.
7998 (__gcov_merge_ior): Ditto.
7999 (__gcov_merge_time_profile): Ditto.
8000 (__gcov_merge_single): Ditto.
8001 (__gcov_merge_delta): Ditto.
8002 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
8003 in the utility functions.
8004 (set_fn_ctrs): Utility function for reading gcda files to in-memory
8005 gcov_list object link lists.
8006 (tag_function): Ditto.
8007 (tag_blocks): Ditto.
8008 (tag_arcs): Ditto.
8009 (tag_lines): Ditto.
8010 (tag_counters): Ditto.
8011 (tag_summary): Ditto.
8012 (read_gcda_finalize): Ditto.
8013 (read_gcda_file): Ditto.
8014 (ftw_read_file): Ditto.
8015 (read_profile_dir_init): Ditto.
8016 (gcov_read_profile_dir): Ditto.
8017 (gcov_read_counter_mem): Ditto.
8018 (gcov_get_merge_weight): Ditto.
8019 (merge_wrapper): A wrapper function that calls merging handler.
8020 (gcov_merge): Merge two gcov_info objects with weights.
8021 (find_match_gcov_info): Find the matched gcov_info in the list.
8022 (gcov_profile_merge): Merge two gcov_info object lists.
8023 (__gcov_add_counter_op): Process edge profile counter values.
8024 (__gcov_ior_counter_op): Process IOR profile counter values.
8025 (__gcov_delta_counter_op): Process delta profile counter values.
8026 (__gcov_single_counter_op): Process single profile counter values.
8027 (fp_scale): Callback function for float-point scaling.
8028 (int_scale): Callback function for integer fraction scaling.
8029 (gcov_profile_scale): Scaling profile counters.
8030 (gcov_profile_normalize): Normalize profile counters.
8031 * libgcov.h: Add headers and functions for gcov-tool use.
8032 (gcov_get_counter): New.
8033 (gcov_get_counter_target): Ditto.
8034 (struct gcov_info): Make the functions field mutable in gcov-tool
8035 compilation.
8036
8037 2014-06-23 Kai Tietz <ktietz (a] redhat.com>
8038
8039 PR libgcc/61585
8040 * unwind-seh.c (_Unwind_GetGR): Check for proper
8041 index range.
8042 (_Unwind_SetGR): Likewise.
8043
8044 2014-05-22 Nick Clifton <nickc (a] redhat.com>
8045
8046 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
8047 -mhwmult=none.
8048
8049 2014-05-22 Teresa Johnson <tejohnson (a] google.com>
8050
8051 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
8052 include.
8053
8054 2014-05-20 John Marino <gnugcc (a] marino.st>
8055
8056 * config.host (*-*-dragonfly*): New target.
8057 * crtstuff.c: Make dl_iterate_support generic on *bsd.
8058 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
8059 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
8060 * config/i386/dragonfly-unwind.h: New.
8061
8062 2014-05-21 Maciej W. Rozycki <macro (a] codesourcery.com>
8063
8064 PR libgcc/60166
8065 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
8066 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
8067
8068 2014-05-13 Bernd Edlinger <bernd.edlinger (a] hotmail.de>
8069
8070 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
8071 implementation.
8072
8073 2014-05-12 Georg-Johann Lay <avr (a] gjlay.de>
8074
8075 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
8076
8077 2014-05-08 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8078
8079 PR libgcc/61097
8080 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
8081 if --enable-shared.
8082
8083 2014-04-30 Bernd Edlinger <bernd.edlinger (a] hotmail.de>
8084
8085 Work around for current cygwin32 build problems.
8086 * config/i386/cygming-crtbegin.c (__register_frame_info,
8087 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
8088 functions only for 64-bit systems.
8089
8090 2014-04-25 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8091
8092 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
8093 (sigill_caught, sigill_hdlr): Remove.
8094
8095 2014-04-22 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8096
8097 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
8098 check.
8099 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8100 Solaris 9 single-threaded support.
8101 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8102 Solaris 9 single-threaded support. Add call_user_handler code
8103 sequences.
8104 (sparc_is_sighandler): Likewise.
8105
8106 2014-03-27 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
8107
8108 * config.host: Append t-floattodi to tmake_file depending on
8109 host_address.
8110
8111 2014-03-20 Joel Sherrill <joel.sherrill (a] oarcorp.com>
8112
8113 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
8114
8115 2014-03-10 Uros Bizjak <ubizjak (a] gmail.com>
8116
8117 PR libgcc/60472
8118 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
8119 variable to avoid "array subscript is above array bounds" warnings.
8120 Use __builtin_expect when checking *jcr_list for NULL.
8121
8122 2014-03-06 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8123
8124 PR libgcc/59339
8125 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
8126 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
8127 vtv_*.o to extra_parts if enable_vtable_verify.
8128
8129 2014-03-06 Nick Clifton <nickc (a] redhat.com>
8130
8131 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
8132 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
8133
8134 2014-02-28 Joey Ye <joey.ye (a] arm.com>
8135
8136 PR libgcc/60166
8137 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
8138 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
8139 Set to zero.
8140
8141 2014-02-24 Walter Lee <walt (a] tilera.com>
8142
8143 * config.host: Support "tilegx*" and "tilepro*" triplets.
8144 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
8145 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
8146
8147 2014-02-20 Sandra Loosemore <sandra (a] codesourcery.com>
8148 Chung-Lin Tang <cltang (a] codesourcery.com>
8149
8150 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
8151 * config/nios2/crti.S: Remove .file directive.
8152 * config/nios2/crtn.S: Likewise.
8153
8154 2014-02-18 Kai Tietz <ktietz (a] redhat.com>
8155 Jonathan Schleifer <js (a] webkeks.org>
8156
8157 PR objc/56870
8158 * unwind-seh.c (_GCC_specific_handler): Pass proper
8159 value to unwind-handler.
8160
8161 2014-02-12 Joseph Myers <joseph (a] codesourcery.com>
8162
8163 * soft-fp/adddf3.c: Update from glibc.
8164 * soft-fp/addsf3.c: Likewise.
8165 * soft-fp/addtf3.c: Likewise.
8166 * soft-fp/divdf3.c: Likewise.
8167 * soft-fp/divsf3.c: Likewise.
8168 * soft-fp/divtf3.c: Likewise.
8169 * soft-fp/double.h: Likewise.
8170 * soft-fp/eqdf2.c: Likewise.
8171 * soft-fp/eqsf2.c: Likewise.
8172 * soft-fp/eqtf2.c: Likewise.
8173 * soft-fp/extenddftf2.c: Likewise.
8174 * soft-fp/extended.h: Likewise.
8175 * soft-fp/extendsfdf2.c: Likewise.
8176 * soft-fp/extendsftf2.c: Likewise.
8177 * soft-fp/extendxftf2.c: Likewise.
8178 * soft-fp/fixdfdi.c: Likewise.
8179 * soft-fp/fixdfsi.c: Likewise.
8180 * soft-fp/fixdfti.c: Likewise.
8181 * soft-fp/fixsfdi.c: Likewise.
8182 * soft-fp/fixsfsi.c: Likewise.
8183 * soft-fp/fixsfti.c: Likewise.
8184 * soft-fp/fixtfdi.c: Likewise.
8185 * soft-fp/fixtfsi.c: Likewise.
8186 * soft-fp/fixtfti.c: Likewise.
8187 * soft-fp/fixunsdfdi.c: Likewise.
8188 * soft-fp/fixunsdfsi.c: Likewise.
8189 * soft-fp/fixunsdfti.c: Likewise.
8190 * soft-fp/fixunssfdi.c: Likewise.
8191 * soft-fp/fixunssfsi.c: Likewise.
8192 * soft-fp/fixunssfti.c: Likewise.
8193 * soft-fp/fixunstfdi.c: Likewise.
8194 * soft-fp/fixunstfsi.c: Likewise.
8195 * soft-fp/fixunstfti.c: Likewise.
8196 * soft-fp/floatdidf.c: Likewise.
8197 * soft-fp/floatdisf.c: Likewise.
8198 * soft-fp/floatditf.c: Likewise.
8199 * soft-fp/floatsidf.c: Likewise.
8200 * soft-fp/floatsisf.c: Likewise.
8201 * soft-fp/floatsitf.c: Likewise.
8202 * soft-fp/floattidf.c: Likewise.
8203 * soft-fp/floattisf.c: Likewise.
8204 * soft-fp/floattitf.c: Likewise.
8205 * soft-fp/floatundidf.c: Likewise.
8206 * soft-fp/floatundisf.c: Likewise.
8207 * soft-fp/floatunditf.c: Likewise.
8208 * soft-fp/floatunsidf.c: Likewise.
8209 * soft-fp/floatunsisf.c: Likewise.
8210 * soft-fp/floatunsitf.c: Likewise.
8211 * soft-fp/floatuntidf.c: Likewise.
8212 * soft-fp/floatuntisf.c: Likewise.
8213 * soft-fp/floatuntitf.c: Likewise.
8214 * soft-fp/gedf2.c: Likewise.
8215 * soft-fp/gesf2.c: Likewise.
8216 * soft-fp/getf2.c: Likewise.
8217 * soft-fp/ledf2.c: Likewise.
8218 * soft-fp/lesf2.c: Likewise.
8219 * soft-fp/letf2.c: Likewise.
8220 * soft-fp/muldf3.c: Likewise.
8221 * soft-fp/mulsf3.c: Likewise.
8222 * soft-fp/multf3.c: Likewise.
8223 * soft-fp/negdf2.c: Likewise.
8224 * soft-fp/negsf2.c: Likewise.
8225 * soft-fp/negtf2.c: Likewise.
8226 * soft-fp/op-1.h: Likewise.
8227 * soft-fp/op-2.h: Likewise.
8228 * soft-fp/op-4.h: Likewise.
8229 * soft-fp/op-8.h: Likewise.
8230 * soft-fp/op-common.h: Likewise.
8231 * soft-fp/quad.h: Likewise.
8232 * soft-fp/single.h: Likewise.
8233 * soft-fp/soft-fp.h: Likewise.
8234 * soft-fp/subdf3.c: Likewise.
8235 * soft-fp/subsf3.c: Likewise.
8236 * soft-fp/subtf3.c: Likewise.
8237 * soft-fp/truncdfsf2.c: Likewise.
8238 * soft-fp/trunctfdf2.c: Likewise.
8239 * soft-fp/trunctfsf2.c: Likewise.
8240 * soft-fp/trunctfxf2.c: Likewise.
8241 * soft-fp/unorddf2.c: Likewise.
8242 * soft-fp/unordsf2.c: Likewise.
8243 * soft-fp/unordtf2.c: Likewise.
8244 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
8245 macro.
8246 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8247 Likewise.
8248 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8249 Likewise.
8250 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8251 Likewise.
8252 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8253 Likewise.
8254 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8255 Likewise.
8256 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8257 Likewise.
8258 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8259 Likewise.
8260 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8261 Likewise.
8262 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8263 Likewise.
8264 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8265 Likewise.
8266 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8267 Likewise.
8268 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8269 Likewise.
8270 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
8271 Likewise.
8272 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
8273 Likewise.
8274 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8275 Likewise.
8276
8277 2014-02-07 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
8278
8279 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
8280 cannot be represented.
8281 * config/s390/32/_fixsfdi.c: Likewise.
8282 * config/s390/32/_fixtfdi.c: Likewise.
8283 * config/s390/32/_fixunsdfdi.c: Likewise.
8284 * config/s390/32/_fixunssfdi.c: Likewise.
8285 * config/s390/32/_fixunstfdi.c: Likewise.
8286
8287 2014-02-07 Richard Sandiford <rdsandiford (a] googlemail.com>
8288
8289 * configure.ac (libgcc_cv_mips_hard_float): New.
8290 * configure: Regenerate.
8291 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
8292 t-softfp-sfdf for hard-float targets.
8293 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
8294 (softfp_float_modes, softfp_int_modes, softfp_extensions)
8295 (softfp_truncations, softfp_exclude_libgcc2): New.
8296 * config/t-hardfp: New file.
8297 * config/t-hardfp-sfdf: Likewise.
8298 * config/hardfp.c: Likewise.
8299
8300 2014-02-05 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
8301
8302 * config.host: Include t-floattodi also for s390x.
8303 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
8304 * config/s390/32/_fixsfdi.c: Likewise.
8305 * config/s390/32/_fixtfdi.c: Likewise.
8306 * config/s390/32/_fixunsdfdi.c: Likewise.
8307 * config/s390/32/_fixunssfdi.c: Likewise.
8308 * config/s390/32/_fixunstfdi.c: Likewise.
8309
8310 2014-02-04 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8311
8312 PR target/59788
8313 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
8314 (install-libgcc-unwind-map-forbuild): New target.
8315 (all): Depend on install-libgcc-unwind-map-forbuild.
8316 (install-libgcc-unwind-map): New target.
8317 (install): Depend on install-libgcc-unwind-map.
8318
8319 2014-02-02 Sandra Loosemore <sandra (a] codesourcery.com>
8320
8321 * config/nios2/crti.S (_init): Initialize GOT pointer from
8322 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
8323
8324 2014-02-02 Richard Sandiford <rdsandiford (a] googlemail.com>
8325
8326 * configure.ac: Check __mips64 when setting host_address.
8327 * configure: Regenerate.
8328 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
8329 mips/t-mips64 and t-softfp.
8330 (mips*-*-linux*): Don't add mips/t-tpbit.
8331 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
8332 (DPBIT, DPBIT_CFLAGS): Delete.
8333 * config/mips/sfp-machine.h: New file.
8334 * config/mips/t-mips64: Likewise.
8335 * config/mips/t-softfp-tf: Likewise.
8336 * config/mips/t-tpbit: Delete.
8337
8338 2014-01-29 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
8339
8340 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
8341 as long long.
8342
8343 2014-01-25 Walter Lee <walt (a] tilera.com>
8344
8345 * config/tilepro/atomic.c: Include tconfig.h. Don't include
8346 config.h or system.h.
8347 (bool) Define.
8348
8349 2014-01-25 Walter Lee <walt (a] tilera.com>
8350
8351 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
8352 (post_atomic_barrier): Ditto.
8353 (__fetch_and_do): New macro.
8354 (__atomic_fetch_and_do): Use __fetch_and_do.
8355 (__sync_fetch_and_do): New macro.
8356 (__sync_fetch_and_add_4): New function.
8357 (__sync_fetch_and_sub_4): New function.
8358 (__sync_fetch_and_or_4): New function.
8359 (__sync_fetch_and_and_4): New function.
8360 (__sync_fetch_and_xor_4): New function.
8361 (__sync_fetch_and_nand_4): New function.
8362 (__sync_fetch_and_add_8): New function.
8363 (__sync_fetch_and_sub_8): New function.
8364 (__sync_fetch_and_or_8): New function.
8365 (__sync_fetch_and_and_8): New function.
8366 (__sync_fetch_and_xor_8): New function.
8367 (__sync_fetch_and_nand_8): New function.
8368 (__do_and_fetch): New macro.
8369 (__atomic_do_and_fetch): Use __do_and_fetch.
8370 (__sync_do_and_fetch): New macro.
8371 (__sync_add_and_fetch_4): New function.
8372 (__sync_sub_and_fetch_4): New function.
8373 (__sync_or_and_fetch_4): New function.
8374 (__sync_and_and_fetch_4): New function.
8375 (__sync_xor_and_fetch_4): New function.
8376 (__sync_nand_and_fetch_4): New function.
8377 (__sync_add_and_fetch_8): New function.
8378 (__sync_sub_and_fetch_8): New function.
8379 (__sync_or_and_fetch_8): New function.
8380 (__sync_and_and_fetch_8): New function.
8381 (__sync_xor_and_fetch_8): New function.
8382 (__sync_nand_and_fetch_8): New function.
8383 (__sync_exchange_methods): New macro.
8384 (__sync_val_compare_and_swap_4): New function.
8385 (__sync_bool_compare_and_swap_4): New function.
8386 (__sync_lock_test_and_test_4): New function.
8387 (__sync_val_compare_and_swap_8): New function.
8388 (__sync_bool_compare_and_swap_8): New function.
8389 (__sync_lock_test_and_test_8): New function.
8390 (__subword_cmpxchg_body): New macro.
8391 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
8392 (__atomic_compare_exchange_2): Ditto.
8393 (__sync_subword_cmpxchg): New macro.
8394 (__sync_val_compare_and_swap_1): New function.
8395 (__sync_bool_compare_and_swap_1): New function.
8396 (__sync_val_compare_and_swap_2): New function.
8397 (__sync_bool_compare_and_swap_2): New function.
8398 (__atomic_subword): Rename to ...
8399 (__subword): ... New name.
8400 (__atomic_subword_fetch): Use __subword.
8401 (__sync_subword_fetch): New macro.
8402 (__sync_fetch_and_add_1): New function.
8403 (__sync_fetch_and_sub_1): New function.
8404 (__sync_fetch_and_or_1): New function.
8405 (__sync_fetch_and_and_1): New function.
8406 (__sync_fetch_and_xor_1): New function.
8407 (__sync_fetch_and_nand_1): New function.
8408 (__sync_fetch_and_add_2): New function.
8409 (__sync_fetch_and_sub_2): New function.
8410 (__sync_fetch_and_or_2): New function.
8411 (__sync_fetch_and_and_2): New function.
8412 (__sync_fetch_and_xor_2): New function.
8413 (__sync_fetch_and_nand_2): New function.
8414 (__sync_add_and_fetch_1): New function.
8415 (__sync_sub_and_fetch_1): New function.
8416 (__sync_or_and_fetch_1): New function.
8417 (__sync_and_and_fetch_1): New function.
8418 (__sync_xor_and_fetch_1): New function.
8419 (__sync_nand_and_fetch_1): New function.
8420 (__sync_add_and_fetch_2): New function.
8421 (__sync_sub_and_fetch_2): New function.
8422 (__sync_or_and_fetch_2): New function.
8423 (__sync_and_and_fetch_2): New function.
8424 (__sync_xor_and_fetch_2): New function.
8425 (__sync_nand_and_fetch_2): New function.
8426 (__atomic_subword_lock): Use __subword.
8427 (__sync_subword_lock): New macro.
8428 (__sync_lock_test_and_set_1): New function.
8429 (__sync_lock_test_and_set_2): New function.
8430
8431 2014-01-25 Walter Lee <walt (a] tilera.com>
8432
8433 * config/tilepro/atomic.c (BIT_OFFSET): Define.
8434 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
8435 (__atomic_subword): Ditto.
8436
8437 2014-01-25 Walter Lee <walt (a] tilera.com>
8438
8439 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
8440 a prefix op argument.
8441 (__atomic_nand_fetch_4): Add prefix op.
8442 (__atomic_nand_fetch_8): Ditto.
8443
8444 2014-01-21 Baruch Siach <barch (a] tkos.co.il>
8445
8446 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
8447
8448 2014-01-09 Rong Xu <xur (a] google.com>
8449
8450 * libgcov-driver.c (this_prg): make it local to save
8451 bss space.
8452 (gcov_exit_compute_summary): Ditto.
8453 (gcov_exit_merge_gcda): Ditto.
8454 (gcov_exit_merge_summary): Ditto.
8455 (gcov_exit_dump_gcov): Ditto.
8456
8457 2014-01-08 Rong Xu <xur (a] google.com>
8458
8459 * libgcov-driver.c: Use libgcov.h.
8460 (buffer_fn_data): Use xmalloc instead of malloc.
8461 (gcov_exit_merge_gcda): Ditto.
8462 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
8463 * libgcov.h: New common header files for libgcov-*.h.
8464 * libgcov-interface.c: Use libgcov.h
8465 * libgcov-merge.c: Ditto.
8466 * libgcov-profiler.c: Ditto.
8467 * Makefile.in: Add dependence to libgcov.h
8468
8469 2014-01-02 Joseph Myers <joseph (a] codesourcery.com>
8470
8471 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
8472 case of small numerator and finite nonzero result.
8473
8474 2014-01-02 Richard Sandiford <rdsandiford (a] googlemail.com>
8475
8476 Update copyright years
8477
8478 2014-01-02 Richard Sandiford <rdsandiford (a] googlemail.com>
8479
8480 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
8481 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
8482 config/arc/dp-hack.h, config/arc/fp-hack.h,
8483 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
8484 config/arc/ieee-754/arc600-dsp/divdf3.S,
8485 config/arc/ieee-754/arc600-dsp/divsf3.S,
8486 config/arc/ieee-754/arc600-dsp/muldf3.S,
8487 config/arc/ieee-754/arc600-dsp/mulsf3.S,
8488 config/arc/ieee-754/arc600-mul64/divdf3.S,
8489 config/arc/ieee-754/arc600-mul64/divsf3.S,
8490 config/arc/ieee-754/arc600-mul64/muldf3.S,
8491 config/arc/ieee-754/arc600-mul64/mulsf3.S,
8492 config/arc/ieee-754/arc600/divsf3.S,
8493 config/arc/ieee-754/arc600/mulsf3.S,
8494 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
8495 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
8496 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
8497 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
8498 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
8499 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
8500 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
8501 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
8502 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
8503 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
8504 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
8505 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
8506 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
8507 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
8508 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
8509 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
8510 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
8511 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
8512 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
8513 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
8514 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
8515 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
8516 vtv_start_preinit.c: Use the standard form for the copyright notice.
8517
8518 2013-12-31 Sandra Loosemore <sandra (a] codesourcery.com>
8519 Chung-Lin Tang <cltang (a] codesourcery.com>
8520 Based on patches from Altera Corporation
8521
8522 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
8523 * config/nios2/lib2-nios2.h: New file.
8524 * config/nios2/lib2-divmod-hi.c: New file.
8525 * config/nios2/linux-unwind.h: New file.
8526 * config/nios2/lib2-divmod.c: New file.
8527 * config/nios2/linux-atomic.c: New file.
8528 * config/nios2/t-nios2: New file.
8529 * config/nios2/crti.asm: New file.
8530 * config/nios2/t-linux: New file.
8531 * config/nios2/lib2-divtable.c: New file.
8532 * config/nios2/lib2-mul.c: New file.
8533 * config/nios2/tramp.c: New file.
8534 * config/nios2/crtn.asm: New file.
8535
8536 2013-12-26 Uros Bizjak <ubizjak (a] gmail.com>
8537
8538 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
8539 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
8540 from cpuid.h to check vendor signatures.
8541
8542 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian (a] amd.com>
8543
8544 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
8545 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
8546 (get_amd_cpu): Likewise.
8547
8548 2013-12-25 H.J. Lu <hongjiu.lu (a] intel.com>
8549
8550 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
8551 Haswell.
8552
8553 2013-12-25 Allan Sandfeld Jensen <sandfeld (a] kde.org>
8554 H.J. Lu <hongjiu.lu (a] intel.com>
8555
8556 PR target/59422
8557 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
8558 and AMD_JAGUAR.
8559 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
8560 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
8561 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
8562 FEATURE_XOP and FEATURE_FMA.
8563 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
8564 AMDFAM15H_BDVER3.
8565 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
8566 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
8567 FEATURE_FMA4 and FEATURE_XOP.
8568
8569 2013-12-23 H.J. Lu <hongjiu.lu (a] intel.com>
8570
8571 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
8572 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
8573 (get_intel_cpu): Updated.
8574
8575 2013-12-12 Zhenqiang Chen <zhenqiang.chen (a] arm.com>
8576
8577 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
8578
8579 2013-12-09 Uros Bizjak <ubizjak (a] gmail.com>
8580
8581 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8582 instructions when __SSE_MATH__ is defined.
8583
8584 2013-12-06 Ralf Corspius <ralf.corsepius (a] rtems.org>
8585
8586 * config.host (microblaze-*-rtems*): New.
8587
8588 2013-12-04 Kugan Vivekanandarajah <kuganv (a] linaro.org>
8589
8590 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
8591 architectures that do not have hardware divide instruction.
8592 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
8593
8594 2013-12-04 Richard Sandiford <rdsandiford (a] googlemail.com>
8595
8596 * longlong.h: Delete (moved to include/).
8597
8598 2013-12-03 Adhemerval Zanella <azanella (a] linux.vnet.ibm.com>
8599
8600 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
8601 of normal number and qNaN to not raise an inexact exception.
8602
8603 2013-11-28 Uros Bizjak <ubizjak (a] gmail.com>
8604
8605 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
8606
8607 2013-11-28 Matthew Leach <matthew.leach (a] arm.com>
8608
8609 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
8610 for correct opcodes on BE.
8611
8612 2013-11-27 Uros Bizjak <ubizjak (a] gmail.com>
8613
8614 * soft-fp/op-4.h: Update from glibc.
8615
8616 2013-11-27 Kugan Vivekanandarajah <kuganv (a] linaro.org>
8617
8618 * libgcc2.c (__udivmoddi4): Define new implementation when
8619 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
8620 divide instructions.
8621
8622 2013-11-25 Oleg Endo <olegendo (a] gcc.gnu.org>
8623
8624 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
8625
8626 2013-11-25 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8627
8628 * config/t-softfp (soft-fp-objects-base): New variable.
8629 (soft-fp-objects): Use it.
8630
8631 2013-11-23 David Edelson <dje.gcc (a] gmail.com>
8632 Andrew Dixie <andrewd (a] gentrack.com>
8633
8634 PR target/33704
8635 * config/rs6000/aixinitfini.c: New file.
8636 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
8637 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
8638 symbols.
8639
8640 2013-11-22 Yuri Rumyantsev <ysrumyan (a] gmail.com>
8641
8642 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
8643
8644 2013-11-18 Jan Hubicka <jh (a] suse.cz>
8645
8646 * libgcov-driver.c (run_accounted): Make global level static.
8647 (gcov_exit_merge_summary): Silence warning; do not clear
8648 run_accounted here.
8649 (gcov_exit): Clear it here.
8650
8651 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
8652 run_accounted.
8653
8654 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
8655 (all_prg, crc32): Remove static vars.
8656 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
8657 all_prg.
8658 (gcov_exit_merge_gcda): Add crc32 parameter.
8659 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
8660 do not account run if it was already accounted.
8661 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
8662 (gcov_exit): Initialize all_prg; update.
8663
8664 2013-11-15 Andreas Schwab <schwab (a] linux-m68k.org>
8665
8666 * configure: Regenerate.
8667
8668 2013-11-14 Ulrich Weigand <Ulrich.Weigand (a] de.ibm.com>
8669 Alan Modra <amodra (a] gmail.com>
8670
8671 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
8672 (frob_update_context): Use it.
8673
8674 2013-11-14 Ulrich Weigand <Ulrich.Weigand (a] de.ibm.com>
8675 Alan Modra <amodra (a] gmail.com>
8676
8677 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
8678 (trampoline_initial): Provide ELFv2 variant.
8679 (__trampoline_setup): Likewise.
8680
8681 * config/rs6000/linux-unwind.h (frob_update_context): Do not
8682 check for AIX indirect function call sequence if _CALL_ELF == 2.
8683
8684 2013-11-14 Ulrich Weigand <Ulrich.Weigand (a] de.ibm.com>
8685 Alan Modra <amodra (a] gmail.com>
8686
8687 * config/rs6000/linux-unwind.h (get_regs): Do not support
8688 old kernel versions if _CALL_ELF == 2.
8689 (frob_update_context): Do not support PLT stub variants only
8690 generated by old linkers if _CALL_ELF == 2.
8691
8692 2013-11-14 Ulrich Weigand <Ulrich.Weigand (a] de.ibm.com>
8693 Alan Modra <amodra (a] gmail.com>
8694
8695 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
8696 location of CR save area for 64-bit little-endian systems.
8697
8698 2013-11-11 Eric Botcazou <ebotcazou (a] adacore.com>
8699
8700 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
8701 in tmake_file.
8702 * config/arm/t-vxworks: Delete.
8703
8704 2013-11-10 Kai Tietz <ktietz (a] redhat.com>
8705
8706 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
8707 Increment load-count on use of LIBGCC_SONAME DLL.
8708 (hmod_libgcc): New static variable to hold handle of
8709 LIBGCC_SONAME DLL.
8710 (__gcc_deregister_frame): Decrement load-count of
8711 LIBGCC_SONAME DLL.
8712
8713 2013-11-08 Bernhard Reutner-Fischer <aldot (a] gcc.gnu.org>
8714
8715 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
8716 availability.
8717 * configure: Regenerate
8718
8719 2013-11-07 Uros Bizjak <ubizjak (a] gmail.com>
8720
8721 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
8722 FP_EX_DENORM. Store result to volatile location after SSE division
8723 to close interrupt window. Remove unneeded fwait after x87
8724 division since interrupt window will be closed by emitted fstp.
8725 Rewrite FP_EX_INEXACT handling.
8726
8727 2013-11-06 Joseph Myers <joseph (a] codesourcery.com>
8728
8729 * soft-fp/README: Update.
8730 * soft-fp/adddf3.c: Update from glibc.
8731 * soft-fp/addsf3.c: Likewise.
8732 * soft-fp/addtf3.c: Likewise.
8733 * soft-fp/divdf3.c: Likewise.
8734 * soft-fp/divsf3.c: Likewise.
8735 * soft-fp/divtf3.c: Likewise.
8736 * soft-fp/double.h: Likewise.
8737 * soft-fp/eqdf2.c: Likewise.
8738 * soft-fp/eqsf2.c: Likewise.
8739 * soft-fp/eqtf2.c: Likewise.
8740 * soft-fp/extenddftf2.c: Likewise.
8741 * soft-fp/extended.h: Likewise.
8742 * soft-fp/extendsfdf2.c: Likewise.
8743 * soft-fp/extendsftf2.c: Likewise.
8744 * soft-fp/extendxftf2.c: Likewise.
8745 * soft-fp/fixdfdi.c: Likewise.
8746 * soft-fp/fixdfsi.c: Likewise.
8747 * soft-fp/fixdfti.c: Likewise.
8748 * soft-fp/fixsfdi.c: Likewise.
8749 * soft-fp/fixsfsi.c: Likewise.
8750 * soft-fp/fixsfti.c: Likewise.
8751 * soft-fp/fixtfdi.c: Likewise.
8752 * soft-fp/fixtfsi.c: Likewise.
8753 * soft-fp/fixtfti.c: Likewise.
8754 * soft-fp/fixunsdfdi.c: Likewise.
8755 * soft-fp/fixunsdfsi.c: Likewise.
8756 * soft-fp/fixunsdfti.c: Likewise.
8757 * soft-fp/fixunssfdi.c: Likewise.
8758 * soft-fp/fixunssfsi.c: Likewise.
8759 * soft-fp/fixunssfti.c: Likewise.
8760 * soft-fp/fixunstfdi.c: Likewise.
8761 * soft-fp/fixunstfsi.c: Likewise.
8762 * soft-fp/fixunstfti.c: Likewise.
8763 * soft-fp/floatdidf.c: Likewise.
8764 * soft-fp/floatdisf.c: Likewise.
8765 * soft-fp/floatditf.c: Likewise.
8766 * soft-fp/floatsidf.c: Likewise.
8767 * soft-fp/floatsisf.c: Likewise.
8768 * soft-fp/floatsitf.c: Likewise.
8769 * soft-fp/floattidf.c: Likewise.
8770 * soft-fp/floattisf.c: Likewise.
8771 * soft-fp/floattitf.c: Likewise.
8772 * soft-fp/floatundidf.c: Likewise.
8773 * soft-fp/floatundisf.c: Likewise.
8774 * soft-fp/floatunditf.c: Likewise.
8775 * soft-fp/floatunsidf.c: Likewise.
8776 * soft-fp/floatunsisf.c: Likewise.
8777 * soft-fp/floatunsitf.c: Likewise.
8778 * soft-fp/floatuntidf.c: Likewise.
8779 * soft-fp/floatuntisf.c: Likewise.
8780 * soft-fp/floatuntitf.c: Likewise.
8781 * soft-fp/gedf2.c: Likewise.
8782 * soft-fp/gesf2.c: Likewise.
8783 * soft-fp/getf2.c: Likewise.
8784 * soft-fp/ledf2.c: Likewise.
8785 * soft-fp/lesf2.c: Likewise.
8786 * soft-fp/letf2.c: Likewise.
8787 * soft-fp/muldf3.c: Likewise.
8788 * soft-fp/mulsf3.c: Likewise.
8789 * soft-fp/multf3.c: Likewise.
8790 * soft-fp/negdf2.c: Likewise.
8791 * soft-fp/negsf2.c: Likewise.
8792 * soft-fp/negtf2.c: Likewise.
8793 * soft-fp/op-1.h: Likewise.
8794 * soft-fp/op-2.h: Likewise.
8795 * soft-fp/op-4.h: Likewise.
8796 * soft-fp/op-8.h: Likewise.
8797 * soft-fp/op-common.h: Likewise.
8798 * soft-fp/quad.h: Likewise.
8799 * soft-fp/single.h: Likewise.
8800 * soft-fp/soft-fp.h: Likewise.
8801 * soft-fp/subdf3.c: Likewise.
8802 * soft-fp/subsf3.c: Likewise.
8803 * soft-fp/subtf3.c: Likewise.
8804 * soft-fp/truncdfsf2.c: Likewise.
8805 * soft-fp/trunctfdf2.c: Likewise.
8806 * soft-fp/trunctfsf2.c: Likewise.
8807 * soft-fp/trunctfxf2.c: Likewise.
8808 * soft-fp/unorddf2.c: Likewise.
8809 * soft-fp/unordsf2.c: Likewise.
8810 * soft-fp/unordtf2.c: Likewise.
8811
8812 2013-11-05 Uros Bizjak <ubizjak (a] gmail.com>
8813
8814 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8815 (_FP_MUL_MEAT_D): Ditto.
8816 (_FP_DIV_MEAT_S): Ditto.
8817 (_FP_DIV_MEAT_D): Ditto.
8818 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8819 t-softfp-sfdf and t-softfp to tmake_file.
8820
8821 2013-11-03 Uros Bizjak <ubizjak (a] gmail.com>
8822
8823 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8824 * config/i386/crtprec.c: Ditto.
8825
8826 2013-10-31 Chung-Ju Wu <jasonwucj (a] gmail.com>
8827 Shiva Chen <shiva0217 (a] gmail.com>
8828
8829 * config.host (nds32*-elf*): Add nds32 target.
8830 * config/nds32 : New directory and files.
8831
8832 2013-10-16 Hans-Peter Nilsson <hp (a] axis.com>
8833
8834 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
8835 * config.host (cpu_type) <Setting default>: Add entry for
8836 crisv32-*-*.
8837 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8838 <crisv32-*-linux*>: Adjust.
8839 * longlong.h: Wrap the whole CRIS section in a single
8840 defined(__CRIS__) conditional. Add comment about add_ssaaaa
8841 and sub_ddmmss.
8842 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8843 defined.
8844 [__CRIS__] (__umulsidi3): Define.
8845 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8846 * config/cris/sfp-machine.h: New file.
8847 * config/cris/umulsidi3.S: New file.
8848 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8849 * config/cris/arit.c (SIGNMULT): New macro.
8850 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8851 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8852 saving 3 out of originally 33 cycles from the fastest
8853 path, 3 out of 54 from the medium path and one from the longest
8854 path. Improve comments.
8855
8856 2013-10-15 Richard Sandiford <rdsandiford (a] googlemail.com>
8857
8858 * sync.c: Remove static aliases and define each function directly
8859 under its real name.
8860
8861 2013-10-02 John David Anglin <danglin (a] gcc.gnu.org>
8862
8863 * config.host (hppa*64*-*-linux*): Define extra_parts.
8864 (hppa*-*-linux*): Likewise.
8865
8866 2013-10-02 Joern Rennecke <joern.rennecke (a] embecosm.com>
8867
8868 * config/arc/crtgend.S: Add 2013 to Copyright years.
8869 * config/arc/gmon/atomic.h: Likewise.
8870 * config/arc/gmon/auxreg.h: Likewise.
8871 * config/arc/gmon/sys/gmon_out.h: Likewise.
8872 * config/arc/gmon/sys/gmon.h: Likewise.
8873 * config/arc/gmon/prof-freq.c: Likewise.
8874 * config/arc/gmon/mcount.c: Likewise.
8875 * config/arc/gmon/prof-freq-stub.S: Likewise.
8876 * config/arc/gmon/gmon.c: Likewise.
8877 * config/arc/gmon/machine-gmon.h: Likewise.
8878 * config/arc/gmon/profil.S: Likewise.
8879 * config/arc/gmon/dcache_linesz.S: Likewise.
8880 * config/arc/crtg.S: Likewise.
8881 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8882 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8883 * config/arc/ieee-754/adddf3.S: Likewise.
8884 * config/arc/ieee-754/truncdfsf2.S: Likewise.
8885 * config/arc/ieee-754/fixsfsi.S: Likewise.
8886 * config/arc/ieee-754/gtsf2.S: Likewise.
8887 * config/arc/ieee-754/floatsisf.S: Likewise.
8888 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8889 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8890 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8891 * config/arc/ieee-754/fixdfsi.S: Likewise.
8892 * config/arc/ieee-754/addsf3.S: Likewise.
8893 * config/arc/ieee-754/gesf2.S: Likewise.
8894 * config/arc/ieee-754/floatsidf.S: Likewise.
8895 * config/arc/ieee-754/extendsfdf2.S: Likewise.
8896 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8897 * config/arc/ieee-754/gtdf2.S: Likewise.
8898 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8899 * config/arc/ieee-754/uneqdf2.S: Likewise.
8900 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8901 * config/arc/ieee-754/uneqsf2.S: Likewise.
8902 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8903 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8904 * config/arc/ieee-754/eqdf2.S: Likewise.
8905 * config/arc/ieee-754/ordsf2.S: Likewise.
8906 * config/arc/ieee-754/divsf3.S: Likewise.
8907 * config/arc/ieee-754/divdf3.S: Likewise.
8908 * config/arc/ieee-754/floatunsidf.S: Likewise.
8909 * config/arc/ieee-754/orddf2.S: Likewise.
8910 * config/arc/ieee-754/eqsf2.S: Likewise.
8911 * config/arc/ieee-754/gedf2.S: Likewise.
8912 * config/arc/crtn.S: Likewise.
8913 * config/arc/crti.S: Likewise.
8914 * config/arc/t-arc700-uClibc: Likewise.
8915 * config/arc/asm.h: Likewise.
8916 * config/arc/libgcc-excl.ver: Likewise.
8917 * config/arc/t-arc-newlib: Likewise.
8918 * config/arc/divtab-arc700.c: Likewise.
8919 * config/arc/initfini.c: Likewise.
8920 * config/arc/fp-hack.h: Likewise.
8921
8922 2013-10-01 Joern Rennecke <joern.rennecke (a] embecosm.com>
8923 Diego Novillo <dnovillo (a] google.com>
8924
8925 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
8926 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8927 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8928 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8929
8930 2013-10-01 Joern Rennecke <joern.rennecke (a] embecosm.com>
8931 Brendan Kehoe <brendan (a] zen.org>
8932 Simon Cook <simon.cook (a] embecosm.com>
8933
8934 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8935 * config/arc: New directory.
8936 * longlong.h [__arc__] (umul_ppmm): Remove.
8937 [__arc__] (__umulsidi3): Define.
8938 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8939 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8940
8941 2013-09-17 Jacek Caban <jacek (a] codeweavers.com>
8942
8943 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8944 CreateSemaphoreA.
8945 * config/i386/gthr-win32.h: Likewise.
8946
8947 2013-09-16 DJ Delorie <dj (a] redhat.com>
8948
8949 * config/rl78/vregs.h: Add G10 register definitions.
8950 * config/rl78/lib2mul.c: Enable for RL78/G10.
8951 * config/rl78/lib2div.c: Likewise.
8952 * config/rl78/lshrsi3.S: Use vregs.h.
8953 * config/rl78/cmpsi2.S: Likewise.
8954 * config/rl78/trampoline.S: Likewise.
8955 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
8956
8957 2013-09-14 DJ Delorie <dj (a] redhat.com>
8958 Nick Clifton <nickc (a] redhat.com>
8959
8960 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8961 * config/rl78/vregs.h: New.
8962 * config/rl78/signbit.S: New file. Implements signbit function.
8963 * config/rl78/divmodsi.S: New.
8964 * config/rl78/divmodhi.S: New.
8965 * config/rl78/divmodqi.S: New.
8966 * config/rl78/t-rl78: Build them here...
8967 * config/rl78/lib2div.c: ...but not here.
8968
8969 2013-09-12 DJ Delorie <dj (a] redhat.com>
8970
8971 * config.host (msp*-*-elf): New.
8972 * config/msp430/: New port.
8973
8974 2013-08-18 Iain Sandoe <iain (a] codesourcery.com>
8975
8976 PR gcov-profile/58127
8977 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8978 __thread var for emulated TLS.
8979 (__gcov_indirect_call_counters): Likewise.
8980
8981 2013-08-16 Maciej W. Rozycki <macro (a] codesourcery.com>
8982 Catherine Moore <clm (a] codesourcery.com>
8983 Richard Sandiford <rdsandiford (a] googlemail.com>
8984
8985 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8986 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8987 (CALL_STUB_NO_RET): Likewise.
8988 (CALL_STUB_RET): Likewise.
8989 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8990 __mips16_ret call/return stub symbols.
8991 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8992 to tmake_file.
8993
8994 2013-08-13 Maciej W. Rozycki <macro (a] codesourcery.com>
8995
8996 * config.host <mips*-*-linux*>: Remove a stray comment.
8997
8998 2013-08-10 Jan Hubicka <jh (a] suse.cz>
8999
9000 Work around binutils PR14342
9001 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
9002 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
9003 (L_gcov_indirect_call_profiler_v2): New.
9004
9005 2013-08-06 Jan Hubicka <jh (a] suse.cz>
9006
9007 * libgcov.c (__gcov_indirect_call_callee,
9008 __gcov_indirect_call_counters): New global vars.
9009 (__gcov_indirect_call_profiler): replace by ...
9010 (__gcov_indirect_call_profiler_v2) ... this one.
9011
9012 2013-08-06 Caroline Tice <cmtice (a] google.com>
9013
9014 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
9015 vtv_start_preinit.o and vtv_end_preinit.o.
9016 * configure.ac: Add code to check/set enable_vtable_verify.
9017 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
9018 true.
9019 * vtv_start_preinit.c: New file.
9020 * vtv_end_preinit.c: New file.
9021 * vtv_start.c: New file.
9022 * vtv_end.c: New file.
9023 * configure: Regenerated.
9024
9025 2013-08-01 Maxim Kuvyrkov <maxim (a] kugelworks.com>
9026
9027 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
9028 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
9029 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
9030 GPL-3.0-with-GCC-exception.
9031
9032 2013-07-30 Maciej W. Rozycki <macro (a] codesourcery.com>
9033
9034 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
9035 ISA and up.
9036
9037 2013-07-23 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
9038
9039 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
9040 mapping for FPRs when creating the fallback framestate.
9041
9042 2013-07-19 Georg-Johann Lay <avr (a] gjlay.de>
9043
9044 PR target/57516
9045 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
9046 (__round_s2_const, __round_u2_const)
9047 (__round_s4_const, __round_u4_const, __round_x8):
9048 Saturate result if addition result cannot be represented.
9049
9050 2013-07-15 Matthias Klose <doko (a] ubuntu.com>
9051
9052 * libgcc2.c: Don't include <limits.h>.
9053
9054 2013-07-09 Janis Johnson <janisjo (a] codesourcery.com>
9055
9056 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
9057
9058 2013-07-06 Jakub Jelinek <jakub (a] redhat.com>
9059
9060 PR target/29776
9061 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
9062
9063 2013-06-28 Jakub Jelinek <jakub (a] redhat.com>
9064
9065 PR middle-end/36041
9066 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
9067 Define.
9068 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
9069 instead of table lookups.
9070 (__popcountDI2): Likewise.
9071
9072 2013-06-25 Chung-Ju Wu <jasonwucj (a] gmail.com>
9073
9074 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
9075 correctly.
9076
9077 2013-06-21 Joseph Myers <joseph (a] codesourcery.com>
9078
9079 PR other/53317
9080 * soft-fp/adddf3.c: Update from glibc.
9081 * soft-fp/addsf3.c: Likewise.
9082 * soft-fp/addtf3.c: Likewise.
9083 * soft-fp/divdf3.c: Likewise.
9084 * soft-fp/divsf3.c: Likewise.
9085 * soft-fp/divtf3.c: Likewise.
9086 * soft-fp/double.h: Likewise.
9087 * soft-fp/eqdf2.c: Likewise.
9088 * soft-fp/eqsf2.c: Likewise.
9089 * soft-fp/eqtf2.c: Likewise.
9090 * soft-fp/extenddftf2.c: Likewise.
9091 * soft-fp/extended.h: Likewise.
9092 * soft-fp/extendsfdf2.c: Likewise.
9093 * soft-fp/extendsftf2.c: Likewise.
9094 * soft-fp/fixdfdi.c: Likewise.
9095 * soft-fp/fixdfsi.c: Likewise.
9096 * soft-fp/fixsfdi.c: Likewise.
9097 * soft-fp/fixsfsi.c: Likewise.
9098 * soft-fp/fixtfdi.c: Likewise.
9099 * soft-fp/fixtfsi.c: Likewise.
9100 * soft-fp/fixunsdfdi.c: Likewise.
9101 * soft-fp/fixunsdfsi.c: Likewise.
9102 * soft-fp/fixunssfdi.c: Likewise.
9103 * soft-fp/fixunssfsi.c: Likewise.
9104 * soft-fp/fixunstfdi.c: Likewise.
9105 * soft-fp/fixunstfsi.c: Likewise.
9106 * soft-fp/floatdidf.c: Likewise.
9107 * soft-fp/floatdisf.c: Likewise.
9108 * soft-fp/floatditf.c: Likewise.
9109 * soft-fp/floatsidf.c: Likewise.
9110 * soft-fp/floatsisf.c: Likewise.
9111 * soft-fp/floatsitf.c: Likewise.
9112 * soft-fp/floatundidf.c: Likewise.
9113 * soft-fp/floatundisf.c: Likewise.
9114 * soft-fp/floatunditf.c: Likewise.
9115 * soft-fp/floatunsidf.c: Likewise.
9116 * soft-fp/floatunsisf.c: Likewise.
9117 * soft-fp/floatunsitf.c: Likewise.
9118 * soft-fp/gedf2.c: Likewise.
9119 * soft-fp/gesf2.c: Likewise.
9120 * soft-fp/getf2.c: Likewise.
9121 * soft-fp/ledf2.c: Likewise.
9122 * soft-fp/lesf2.c: Likewise.
9123 * soft-fp/letf2.c: Likewise.
9124 * soft-fp/muldf3.c: Likewise.
9125 * soft-fp/mulsf3.c: Likewise.
9126 * soft-fp/multf3.c: Likewise.
9127 * soft-fp/negdf2.c: Likewise.
9128 * soft-fp/negsf2.c: Likewise.
9129 * soft-fp/negtf2.c: Likewise.
9130 * soft-fp/op-1.h: Likewise.
9131 * soft-fp/op-2.h: Likewise.
9132 * soft-fp/op-4.h: Likewise.
9133 * soft-fp/op-8.h: Likewise.
9134 * soft-fp/op-common.h: Likewise.
9135 * soft-fp/quad.h: Likewise.
9136 * soft-fp/single.h: Likewise.
9137 * soft-fp/soft-fp.h: Likewise.
9138 * soft-fp/subdf3.c: Likewise.
9139 * soft-fp/subsf3.c: Likewise.
9140 * soft-fp/subtf3.c: Likewise.
9141 * soft-fp/truncdfsf2.c: Likewise.
9142 * soft-fp/trunctfdf2.c: Likewise.
9143 * soft-fp/trunctfsf2.c: Likewise.
9144 * soft-fp/unorddf2.c: Likewise.
9145 * soft-fp/unordsf2.c: Likewise.
9146 * soft-fp/unordtf2.c: Likewise.
9147 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
9148 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9149 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9150 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9151 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9152 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9153 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9154 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9155 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9156 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
9157 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
9158 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9159
9160 2013-06-16 Jrgen Urban <JuergenUrban (a] gmx.de>
9161
9162 * config/mips/lib2funcs.c: New file.
9163 * config/mips/t-mips (LIB2ADD_ST): Add it.
9164
9165 2013-06-09 Oleg Endo <olegendo (a] gcc.gnu.org>
9166
9167 PR target/6526
9168 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
9169 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
9170
9171 2013-06-08 Walter Lee <walt (a] tilera.com>
9172
9173 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
9174 Replace int64_t with long long. Add __extension__ where
9175 appropriate.
9176 * config/tilepro/atomic.c: Include config.h.
9177
9178 2013-06-06 Douglas B Rupp <rupp (a] adacore.com>
9179
9180 * config.host (arm-wrs-vxworks): Configure with other soft float.
9181
9182 2013-06-04 Jrgen Urban <JuergenUrban (a] gmx.de>
9183
9184 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
9185 (mips64r5900el-*-elf*): New configurations.
9186
9187 2013-06-04 Alan Modra <amodra (a] gmail.com>
9188
9189 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
9190
9191 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev (a] intel.com>
9192
9193 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
9194
9195 2013-05-28 Eric Botcazou <ebotcazou (a] adacore.com>
9196
9197 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
9198 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
9199 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
9200
9201 2013-05-22 Eric Botcazou <ebotcazou (a] adacore.com>
9202
9203 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
9204 (powerpc-wrs-vxworks): Likewise.
9205
9206 2013-05-22 Eric Botcazou <ebotcazou (a] adacore.com>
9207
9208 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
9209 signal frames as well.
9210 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
9211 STACK_BIAS to the CFA offset.
9212
9213 2013-05-17 Richard Henderson <rth (a] redhat.com>
9214
9215 PR target/49146
9216 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
9217 (execute_cfa_program): Use it when storing to fs->regs.
9218
9219 2013-05-08 Kai Tietz <ktietz (a] redhat.com>
9220
9221 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
9222 (__deregister_frame_info): Likewise.
9223
9224 2013-05-06 Thomas Schwinge <thomas (a] codesourcery.com>
9225
9226 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
9227 NaN's payload.
9228
9229 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
9230
9231 2013-04-25 Alan Modra <amodra (a] gmail.com>
9232
9233 * config.host: Match little-endian powerpc-linux.
9234
9235 2013-04-19 Yufeng Zhang <yufeng.zhang (a] arm.com>
9236
9237 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
9238 as 'unsigned long long' instead of 'unsigned long'.
9239 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
9240 'signed long'.
9241
9242 2013-04-10 Julian Brown <julian (a] codesourcery.com>
9243
9244 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
9245 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
9246 unsigned char/unsigned short.
9247 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
9248
9249 2013-04-06 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
9250
9251 PR other/55274
9252 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
9253
9254 2013-04-04 Meador Inge <meadori (a] codesourcery.com>
9255
9256 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
9257 computing the location of the link register.
9258 (aeabi_uldivmod): Ditto.
9259
9260 2013-03-27 Kai Tietz <ktietz (a] redhat.com>
9261
9262 * config.host: Add support for cygwin x64 target.
9263 * configure: Regenerated.
9264
9265 2013-03-26 Walter Lee <walt (a] tilera.com>
9266
9267 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
9268 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
9269
9270 2013-03-25 Kai Tietz <ktietz (a] redhat.com>
9271
9272 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
9273
9274 2013-03-20 Robert Mason <rbmj (a] verizon.net>
9275
9276 * config/vxlib-tls.c (__gthread_get_tsd_data,)
9277 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
9278 (__gthread_leave_tsd_dtor_context): Add prototypes.
9279 (tls_delete_hook): Update.
9280
9281 2013-03-20 Catherine Moore <clm (a] codesourcery.com>
9282 Joseph Myers <joseph (a] codesourcery.com>
9283 Chao-ying Fu <fu (a] mips.com>
9284
9285 * config/mips/mips16.S: Don't build for microMIPS.
9286 * config/mips/linux-unwind.h: Handle microMIPS frame.
9287 * config/mips/crtn.S (fini, init): New labels.
9288
9289 2013-03-14 Jakub Jelinek <jakub (a] redhat.com>
9290
9291 PR tree-optimization/53265
9292 * unwind-dw2.c (execute_cfa_program): Avoid
9293 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
9294 on targets with DWARF_FRAME_REGISTERS < 32.
9295
9296 2013-03-13 Oleg Endo <olegendo (a] gcc.gnu.org>
9297
9298 PR target/49880
9299 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
9300 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
9301
9302 2013-03-07 Sriraman Tallam <tmsriram (a] google.com>
9303
9304 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
9305 sandybridge processors.
9306
9307 2013-03-06 Oleg Endo <olegendo (a] gcc.gnu.org>
9308
9309 PR target/56529
9310 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
9311 inclusion list.
9312
9313 2013-03-04 Edgar E. Iglesias <edgar.iglesias (a] gmail.com>
9314
9315 * config/microblaze/crti.S: Setup stack protection at entry
9316
9317 2013-03-04 Georg-Johann Lay <avr (a] gjlay.de>
9318
9319 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
9320 (__rotldi3): Shift bytewise if applicable.
9321
9322 2013-03-01 James Greenhalgh <james.greenhalgh (a] arm.com>
9323
9324 * config/aarch64/sync-cache.c
9325 (__aarch64_sync_cache_range): Silence warnings.
9326
9327 2013-02-25 Catherine Moore <clm (a] codesourcery.com>
9328
9329 Revert:
9330 2013-02-24 Catherine Moore <clm (a] codesourcery.com>
9331 Joseph Myers <joseph (a] codesourcery.com>
9332 Chao-ying Fu <fu (a] mips.com>
9333
9334 * config/mips/mips16.S: Don't build for microMIPS.
9335 * config/mips/linux-unwind.h: Handle microMIPS frame.
9336 * config/mips/crtn.S (fini, init): New labels.
9337
9338 2013-02-24 Catherine Moore <clm (a] codesourcery.com>
9339 Joseph Myers <joseph (a] codesourcery.com>
9340 Chao-ying Fu <fu (a] mips.com>
9341
9342 * config/mips/mips16.S: Don't build for microMIPS.
9343 * config/mips/linux-unwind.h: Handle microMIPS frame.
9344 * config/mips/crtn.S (fini, init): New labels.
9345
9346 2012-02-19 Edgar E. Iglesias <edgar.iglesias (a] gmail.com>
9347 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
9348 as dividend.
9349
9350 2013-02-16 Alan Modra <amodra (a] gmail.com>
9351
9352 PR target/55431
9353 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
9354 (ppc_fallback_frame_state): Always set up save locations for fp
9355 and altivec. Don't bother with non-callee-saved regs, r0-r13
9356 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
9357
9358 2013-02-12 Georg-Johann Lay <avr (a] gjlay.de>
9359
9360 PR target/54222
9361 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
9362 _ssmulHA, _ssmulSA.
9363 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
9364 _ssmulha3, _usmulusa3, _ssmulsa3.
9365 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
9366 (__muldi3): XCALL __muldi3_6 instead of rcall.
9367 (__umulsidi3, __mulsidi3): New functions.
9368 (do_prologue_saves, do_epilogue_restores): New .macros.
9369 (__divdi3_moddi3): Use them.
9370 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
9371 (__usmulusa3, __ssmulsa3): New functions.
9372
9373 2013-02-11 Iain Sandoe <iain (a] codesourcery.com>
9374 Jack Howarth <howarth (a] bromo.med.uc.edu>
9375 Patrick Marlier <patrick.marlier (a] gmail.com>
9376
9377 PR libitm/55693
9378 * config/darwin-crt-tm.c: Remove dummy functions hack.
9379
9380 2013-02-08 Georg-Johann Lay <avr (a] gjlay.de>
9381
9382 PR target/54222
9383 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
9384 * config/avr/lib2-object.mk: New iterator to build objects from it.
9385 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
9386 lib2funcs.c.
9387 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
9388 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
9389 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
9390 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
9391 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
9392 * config/avr/lib1funcs-fixed.S: Implement them.
9393
9394 2013-02-04 Richard Sandiford <rdsandiford (a] googlemail.com>
9395
9396 Update copyright years.
9397
9398 2013-02-01 David Edelsohn <dje.gcc (a] gmail.com>
9399
9400 PR target/54601
9401 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
9402 Add crtcxa to extra_parts.
9403 * config/rs6000/exit.h: New file.
9404 * config/rs6000/cxa_atexit.c: New file.
9405 * config/rs6000/cxa_finalize.c: New file.
9406 * config/rs6000/crtcxa.c: New file.
9407 * config/rs6000/t-aix-cxa: New file.
9408 * config/rs6000/libgcc-aix-cxa.ver: New file.
9409
9410 2013-01-31 Nick Clifton <nickc (a] redhat.com>
9411
9412 * config/v850/lib1funcs.S: Add support for e3v5 architecture
9413 variant.
9414
9415 2013-01-29 Georg-Johann Lay <avr (a] gjlay.de>
9416
9417 PR target/54222
9418 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
9419 _mulQQ, _mulHQ, _mulHA, _mulSA,
9420 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
9421 _divQQ, _divHQ, _divHA, _divSA,
9422 _divUQQ, _divUHQ, _divUHA, _divUSA.
9423
9424 2013-01-26 David Holsgrove <david.holsgrove (a] xilinx.com>
9425
9426 * config.host(microblaze*-linux*): tmake_file: Remove
9427 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
9428 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
9429 to exclude functions from being built with libgcc.c and use
9430 the microblaze assembly.
9431
9432 2013-01-26 Edgar E. Iglesias <edgar.iglesias (a] gmail.com>
9433
9434 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
9435 extra_parts.
9436
9437 2013-01-17 Yufeng Zhang <yufeng.zhang (a] arm.com>
9438
9439 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
9440 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
9441 __UINTPTR_TYPE__; also cast 'base' to the same type before the
9442 alignment operation.
9443
9444 2013-01-15 Sofiane Naci <sofiane.naci (a] arm.com>
9445
9446 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
9447 loop start address for cache clearing.
9448
9449 2013-01-14 Georg-Johann Lay <avr (a] gjlay.de>
9450
9451 * config/avr/lib1funcs.S: Remove trailing blanks.
9452 * config/avr/lib1funcs-fixed.S: Ditto.
9453
9454 2013-01-14 Georg-Johann Lay <avr (a] gjlay.de>
9455
9456 * config/avr/avr-lib.h: Add GPL copyright notice.
9457
9458 2013-01-14 Georg-Johann Lay <avr (a] gjlay.de>
9459
9460 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
9461 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
9462 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
9463 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
9464
9465 2013-01-07 Mark Kettenis <kettenis (a] openbsd.org>
9466
9467 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
9468 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
9469
9470 2013-01-04 Nick Clifton <nickc (a] redhat.com>
9471
9472 * config/v850/lib1funcs.S: Only provide CALLT support functions if
9473 the CALLT instruction is supported.
9474
9475 2012-12-20 Jonathan Wakely <jwakely.gcc (a] gmail.com>
9476
9477 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
9478 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
9479
9480 2012-12-13 John Tytgat <John (a] bass-software.com>
9481
9482 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
9483 is 25.
9484
9485 2012-12-12 Jakub Jelinek <jakub (a] redhat.com>
9486
9487 PR libgcc/55451
9488 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
9489 undefined signed overflows.
9490
9491 2012-12-09 Uros Bizjak <ubizjak (a] gmail.com>
9492
9493 PR target/55344
9494 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
9495
9496 2012-12-06 Uros Bizjak <ubizjak (a] gmail.com>
9497
9498 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
9499 (FP_TRAPPING_EXCEPTIONS): Define.
9500 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
9501 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
9502
9503 2012-12-04 Richard Henderson <rth (a] redhat.com>
9504
9505 PR bootstrap/55571
9506 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
9507
9508 2012-12-04 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
9509
9510 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
9511 (FP_EX_SHIFT): Define.
9512 (FP_TRAPPING_EXCEPTIONS): Define.
9513
9514 2012-12-04 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
9515
9516 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
9517 (FP_ROUNDMODE): Use FP_RND_MASK.
9518 * config/aarch64/sfp-exceptions.c: New.
9519 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9520 Use __sfp_handle_exceptions.
9521
9522 2012-12-04 Richard Earnshaw <rearnsha (a] arm.com>
9523
9524 * config.host: (arm*-*-freebsd*): Remove.
9525 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
9526 (arm*-*-elf*): Remove.
9527 (arm*-*-wince-pe*): Remove.
9528 * arm/unwind-arm.c (struct fpa_reg): Delete.
9529 (struct fpa_regs): Delete.
9530 (phase1_vrs): Remove fpa element.
9531 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
9532 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
9533 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
9534 * ieee754-sf.S (floatundisf): Remove FPA support.
9535 (floatdisf): Likewise.
9536 * ieee75f-df.S (floatundidf): Likewise.
9537 (floatdidf): Likewise.
9538
9539 2012-11-29 Kai Tietz <ktietz (a] redhat.com>
9540
9541 PR target/55445
9542 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
9543 * unwind-generic.h: Likewise.
9544 * unwind-seh.c: Likewise.
9545
9546 2012-11-28 Richard Henderson <rth (a] redhat.com>
9547
9548 PR libgcc/48076
9549 * emutls.c (__emutls_get_address): Avoid race condition between
9550 obj->loc.offset read and emutls_key initialization.
9551
9552 2012-11-22 Georg-Johann Lay <avr (a] gjlay.de>
9553
9554 Adjust decimal point of signed accum mode to GCC default.
9555
9556 PR target/54222
9557 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
9558 _divqq_helper.
9559 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
9560 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
9561 (__mulha3, __mulsa3)
9562 (__divqq3, __divha3, __divsa3): Adjust to new position of
9563 decimal point of signed accum types.
9564
9565 (__mulusa3_round): New function.
9566 (__mulusa3): Use it.
9567 (__divqq_helper): New function.
9568 (__udivuqq3): Use it.
9569
9570 2012-11-20 Jakub Jelinek <jakub (a] redhat.com>
9571
9572 PR bootstrap/55370
9573 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
9574
9575 2012-11-18 Teresa Johnson <tejohnson (a] google.com>
9576
9577 PR bootstrap/55051
9578 * libgcov.c (gcov_exit): Remove merged program summary
9579 comparison unless !GCOV_LOCKED.
9580
9581 2012-11-15 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
9582
9583 * soft-fp: Updated from glibc upstream.
9584
9585 2012-11-06 Ian Lance Taylor <iant (a] google.com>
9586
9587 * generic-morestack.c (__generic_morestack): Align the returned
9588 stack pointer to a 32 byte boundary.
9589 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
9590 increment the return address until we have decided that we don't
9591 have a varargs function.
9592 (__morestack) [32-bit]: Align stack correctly when calling C
9593 functions.
9594 (__morestack) [64-bit]: Likewise.
9595
9596 2012-11-04 Thomas Schwinge <thomas (a] codesourcery.com>
9597
9598 * configure: Regenerate.
9599
9600 2012-11-02 Uros Bizjak <ubizjak (a] gmail.com>
9601
9602 PR target/55175
9603 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
9604 * config/i386/sfp-machine.h: Guard exception handling
9605 code with _SOFT_FLOAT.
9606 * config/i386/32/sfp-machine.h: Guard rounding handling
9607 code with _SOFT_FLOAT.
9608 * config/i386/64/sfp-machine.h: Ditto.
9609
9610 2012-10-31 Joel Sherrill <joel.sherrill (a] oarcorp.com>
9611
9612 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
9613 as extra_parts.
9614
9615 2012-10-26 Uros Bizjak <ubizjak (a] gmail.com>
9616
9617 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
9618 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
9619 when appropriate. Correct structure element types.
9620 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
9621 -minline-all-stringops from compile flags.
9622
9623 2012-10-25 Ralf Corspius <ralf.corsepius (a] rtems.org>
9624
9625 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
9626
9627 2012-10-25 Ralf Corspius <ralf.corsepius (a] rtems.org>
9628
9629 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
9630
9631 2012-10-25 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
9632
9633 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
9634 tmake_file.
9635
9636 2012-10-23 Ian Bolton <ian.bolton (a] arm.com>
9637 Jim MacArthur <jim.macarthur (a] arm.com>
9638 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
9639 Nigel Stephens <nigel.stephens (a] arm.com>
9640 Ramana Radhakrishnan <ramana.radhakrishnan (a] arm.com>
9641 Richard Earnshaw <rearnsha (a] arm.com>
9642 Sofiane Naci <sofiane.naci (a] arm.com>
9643 Stephen Thomas <stephen.thomas (a] arm.com>
9644 Tejas Belagod <tejas.belagod (a] arm.com>
9645 Yufeng Zhang <yufeng.zhang (a] arm.com>
9646
9647 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
9648 * config/aarch64/crti.S: New file.
9649 * config/aarch64/crtn.S: New file.
9650 * config/aarch64/linux-unwind.h: New file.
9651 * config/aarch64/sfp-machine.h: New file.
9652 * config/aarch64/sync-cache.c: New file.
9653 * config/aarch64/t-aarch64: New file.
9654 * config/aarch64/t-softfp: New file.
9655
9656 2012-10-21 Hans-Peter Nilsson <hp (a] bitrange.com>
9657
9658 * config/mmix/crti.S: Mark program and data addresses using PRELD.
9659 Remove typo'd and unnecessary alignment-LOC for .data. Remove
9660 no-longer-needed LDBU insns.
9661
9662 2012-10-18 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
9663
9664 * config.host
9665 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
9666 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
9667
9668 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann (a] arm.com>
9669
9670 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
9671
9672 2012-10-15 Matthias Klose <doko (a] ubuntu.com>
9673
9674 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
9675
9676 2012-10-15 Pavel Chupin <pavel.v.chupin (a] intel.com>
9677
9678 * configure: Regenerate.
9679 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
9680
9681 2012-10-10 Uros Bizjak <ubizjak (a] gmail.com>
9682
9683 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
9684 instructions for 64bit targets only.
9685
9686 2012-10-10 Uros Bizjak <ubizjak (a] gmail.com>
9687
9688 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9689 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
9690 * config/i386/32/sfp-machine.h: ... here.
9691 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
9692 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
9693 New defines.
9694
9695 2012-10-07 Matthias Klose <doko (a] ubuntu.com>
9696
9697 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
9698 as unused.
9699 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
9700
9701 2012-10-06 Mark Kettenis <kettenis (a] openbsd.org>
9702
9703 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
9704 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
9705 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
9706 (ElfW): Likewise.
9707
9708 2012-10-05 Jonathan Wakely <jwakely.gcc (a] gmail.com>
9709
9710 PR other/53889
9711 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9712 Fix parameter names.
9713
9714 2012-10-04 Oleg Endo <olegendo (a] gcc.gnu.org>
9715
9716 PR target/33135
9717 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
9718 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
9719 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
9720
9721 2012-10-03 Oleg Endo <olegendo (a] gcc.gnu.org>
9722
9723 PR target/50457
9724 * config/sh/linux-atomic.S: Delete.
9725 * config/sh/linux-atomic.c: New.
9726 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
9727 linux-atomic.c. Add cflags to disable warnings.
9728
9729 2012-10-02 Jonathan Wakely <jwakely.gcc (a] gmail.com>
9730
9731 PR other/53889
9732 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
9733 function.
9734 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
9735 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
9736 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
9737 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
9738 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
9739 Likewise.
9740 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9741 Likewise.
9742 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
9743 Likewise.
9744 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
9745 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
9746
9747 2012-09-19 Mark Kettenis <kettenis (a] openbsd.org>
9748
9749 * config.host (hppa-*-openbsd*): New target.
9750 * config/pa/t-openbsd: New file.
9751
9752 2012-09-15 Georg-Johann Lay <avr (a] gjlay.de>
9753
9754 PR target/54222
9755 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
9756 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
9757 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
9758 (__divsa3): Use __negsi2 to negate r_quoL.
9759 * config/avr/lib1funcs.S (FALIAS): New macro.
9760 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
9761 (__negsi2): ...this new function.
9762 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
9763 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
9764 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
9765 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
9766 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
9767 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
9768
9769 2012-09-10 Oleg Endo <olegendo (a] gcc.gnu.org>
9770
9771 PR target/54089
9772 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
9773 (lshrsi3): Reimplement as lshrsi3_r0.
9774
9775 2012-09-10 Andreas Schwab <schwab (a] linux-m68k.org>
9776
9777 PR target/46191
9778 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
9779 of libgcc.a.
9780
9781 2012-09-07 Teresa Johnson <tejohnson (a] google.com>
9782
9783 PR gcov-profile/54487
9784 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9785 differences.
9786
9787 2012-09-05 Georg-Johann Lay <avr (a] gjlay.de>
9788
9789 PR target/54461
9790 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
9791 not configured --with-avrlibc=no.
9792 * config/avr/t-avrlibc: New file.
9793 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
9794 (DPBIT_FUNCS): Ditto.
9795 (TPBIT_FUNCS): Ditto.
9796
9797 2012-09-04 Teresa Johnson <tejohnson (a] google.com>
9798
9799 * libgcov.c (struct gcov_summary_buffer): New structure.
9800 (gcov_histogram_insert): New function.
9801 (gcov_compute_histogram): Ditto.
9802 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
9803 histograms during summary merging.
9804
9805 2012-09-01 Mark Kettenis <kettenis (a] openbsd.org>
9806
9807 * config.host (x86_64-*-openbsd*): New target.
9808
9809 2012-08-29 Chung-Lin Tang <cltang (a] codesourcery.com>
9810
9811 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9812 attribute.
9813
9814 2012-08-24 Georg-Johann Lay <avr (a] gjlay.de>
9815
9816 PR target/54222
9817 * config/avr/t-avr (conv_X): Rename to func_X.
9818
9819 2012-08-24 Georg-Johann Lay <avr (a] gjlay.de>
9820
9821 PR target/54222
9822 * config/avr/lib1funcs-fixed.S: New file.
9823 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
9824 after they are used.
9825 (neg2, neg4): New macros.
9826 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9827 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9828 (__umulhisi3): Speed up MUL variant if there is enough flash.
9829 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9830 avr-modes.def.
9831 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9832 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9833 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9834 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9835 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9836 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9837 (LIB2FUNCS_EXCLUDE): Add supported functions.
9838
9839 2012-08-22 Georg-Johann Lay <avr (a] gjlay.de>
9840
9841 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9842 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9843 libgcc-s-objects.
9844 * fixed-obj.mk: Only expand dependency if $o is not in
9845 LIB2FUNCS_EXCLUDE.
9846
9847 2012-08-22 H.J. Lu <hongjiu.lu (a] intel.com>
9848
9849 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9850
9851 2012-08-22 Joseph Myers <joseph (a] codesourcery.com>
9852
9853 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9854 depend on --enable-shared.
9855 ($(lib1asmfuncs-o)): Use %.vis files independent of
9856 --enable-shared.
9857 * static-object.mk ($(base)$(objext), $(base).vis)
9858 ($(base)_s$(objext)): Use same rules for visibility handling as in
9859 shared-object.mk.
9860
9861 2012-08-21 Ian Lance Taylor <iant (a] google.com>
9862
9863 * config/i386/morestack.S (__morestack_non_split): Increase amount
9864 of space allocated for non-split code stack.
9865
9866 2012-08-19 Joseph Myers <joseph (a] codesourcery.com>
9867
9868 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9869 even if inhibit_libc.
9870
9871 2012-08-17 Julian Brown <julian (a] codesourcery.com>
9872
9873 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9874 -fexceptions -fnon-call-exceptions if not defined.
9875 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9876 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9877
9878 2012-08-17 Andreas Schwab <schwab (a] linux-m68k.org>
9879
9880 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9881 type.
9882
9883 2012-08-16 David Edelsohn <dje.gcc (a] gmail.com>
9884
9885 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9886 rs6000/t-slibgcc-aix.
9887
9888 2012-08-15 Segher Boessenkool <segher (a] kernel.crashing.org>
9889
9890 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9891
9892 2012-08-15 Segher Boessenkool <segher (a] kernel.crashing.org>
9893
9894 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9895
9896 2012-08-03 H.J. Lu <hongjiu.lu (a] intel.com>
9897
9898 PR driver/54171
9899 * Makefile.in (version): Replace top_srcdir with srcdir.
9900
9901 2012-08-03 Jonathan Yong <jon_y (a] users.sourceforge.net>
9902
9903 * Makefile.in (version): set to BASE-VER file from gcc directory.
9904
9905 2012-08-01 Nick Clifton <nickc (a] redhat.com>
9906
9907 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9908 Implements __clrsb for an HImode argument.
9909
9910 2012-07-31 Nick Clifton <nickc (a] redhat.com>
9911
9912 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9913 Implements __clrsb for an HImode argument.
9914 * config/stormy16/clrsbhi2.c: New file:
9915 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9916
9917 2012-07-22 Steven Bosscher <steven (a] gcc.gnu.org>
9918
9919 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9920
9921 2012-07-19 Tristan Gingold <gingold (a] adacore.com>
9922 Richard Henderson <rth (a] redhat.com>
9923
9924 * unwind-seh.c: New file.
9925 * unwind-generic.h: Include windows.h for SEH.
9926 (_Unwind_Exception): Use 6 private fields for SEH.
9927 (_GCC_specific_handler): Declare.
9928 * unwind-c.c (__gcc_personality_seh0): New function.
9929 Adjust for SEH.
9930 * config/i386/libgcc-cygming.ver: New file.
9931 * config/i386/t-seh-eh: New file.
9932 * config.host (x86_64-*-mingw*): Default to seh.
9933
9934 2012-07-14 Steven Bosscher <steven (a] gcc.gnu.org>
9935
9936 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9937
9938 2012-06-17 Uros Bizjak <ubizjak (a] gmail.com>
9939
9940 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9941 __builtin_expect when checking for exceptions.
9942 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9943
9944 2012-06-13 Uros Bizjak <ubizjak (a] gmail.com>
9945
9946 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9947 function declaration.
9948 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9949 (FP_RND_MASK): New.
9950 * config/ia64/sfp-exceptions.c: New.
9951 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
9952
9953 2012-06-13 Uros Bizjak <ubizjak (a] gmail.com>
9954
9955 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9956 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9957 * config/i386/64/sfp-machine: ... (delete here) ...
9958 * config/i386/sfp-machine.h: ... to here.
9959 (FP_EX_MASK): Remove.
9960 (FP_RND_MASK): New.
9961 (FP_INIT_ROUNDMODE): Declare asm as volatile.
9962
9963 2012-06-11 Sriraman Tallam <tmsriram (a] google.com>
9964
9965 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9966 * config/i386/libgcc-sol2.ver: Ditto.
9967 * config/i386/libgcc-glibc.ver: Ditto.
9968
9969 2012-06-11 Roland McGrath <mcgrathr (a] google.com>
9970
9971 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9972 If __GLIBC__ is defined, refer to __pthread_key_create instead of
9973 pthread_cancel.
9974
9975 2012-06-09 Uros Bizjak <ubizjak (a] gmail.com>
9976
9977 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9978 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9979 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9980 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9981 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9982 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9983 * config/i386/64/sfp-machine: ... (delete here) ...
9984 * config/i386/sfp-machine.h: ... to here.
9985 (FP_EX_MASK): New.
9986 (__sfp_handle_exceptions): New function declaration.
9987 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9988 * config/i386/sfp-exceptions.c: New.
9989 * config/i386/t-softfp: New.
9990 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9991 i386/t-softfp to tmake_file.
9992
9993 2012-06-03 David S. Miller <davem (a] davemloft.net>
9994
9995 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9996 change.
9997
9998 2012-05-31 David S. Miller <davem (a] davemloft.net>
9999
10000 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
10001 multiply and divide instructions on 32-bit when V9.
10002 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
10003
10004 2012-05-29 Joseph Myers <joseph (a] codesourcery.com>
10005
10006 * config/arm/ieee754-df.S: Fix typos.
10007 * config/arm/ieee754-sf.S: Fix typos.
10008 * config/c6x/libunwind.S: Fix typos.
10009 * config/epiphany/udivsi3-float.c: Fix typos.
10010 * config/microblaze/muldi3_hard.S: Fix typos.
10011 * config/picochip/adddi3.S: Fix typos.
10012 * config/picochip/ashlsi3.S: Fix typos.
10013 * config/picochip/ashrsi3.S: Fix typos.
10014 * config/picochip/clzsi2.S: Fix typos.
10015 * config/picochip/cmpsi2.S: Fix typos.
10016 * config/picochip/divmod15.S: Fix typos.
10017 * config/picochip/divmodhi4.S: Fix typos.
10018 * config/picochip/divmodsi4.S: Fix typos.
10019 * config/picochip/longjmp.S: Fix typos.
10020 * config/picochip/lshrsi3.S: Fix typos.
10021 * config/picochip/parityhi2.S: Fix typos.
10022 * config/picochip/popcounthi2.S: Fix typos.
10023 * config/picochip/setjmp.S: Fix typos.
10024 * config/picochip/subdi3.S: Fix typos.
10025 * config/picochip/ucmpsi2.S: Fix typos.
10026 * config/picochip/udivmodhi4.S: Fix typos.
10027 * config/picochip/udivmodsi4.S: Fix typos.
10028 * config/spu/divv2df3.c: Fix typos.
10029 * config/spu/mfc_multi_tag_release.c: Fix typos.
10030 * config/spu/mfc_tag_release.c: Fix typos.
10031 * configure.ac: Fix typos.
10032 * configure: Regenerate.
10033
10034 2012-05-25 Ian Lance Taylor <iant (a] google.com>
10035
10036 * config/i386/morestack.S (__morestack_non_split): Check whether
10037 caller is varargs and needs %bp to hold the stack frame on return.
10038
10039 2012-05-25 Olivier Hainque <hainque (a] adacore.com>
10040
10041 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
10042 sequence in the non pic case on VxWorks.
10043
10044 2012-05-24 Olivier Hainque <hainque (a] adacore.com>
10045
10046 * Makefile.in: Move dependency on install-unwind_h from
10047 "install-leaf" to "install".
10048
10049 2012-05-24 Olivier Hainque <hainque (a] adacore.com>
10050
10051 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
10052 Use a separate command for stamp removals.
10053
10054 2012-05-21 Andrew Pinski <apinski (a] cavium.com>
10055
10056 PR bootstrap/53183
10057 * configure.ac: Define the default includes to being none.
10058 * configure: Regenerate.
10059
10060 2012-05-16 Olivier Hainque <hainque (a] adacore.com>
10061
10062 * Makefile.in (install-unwind_h): Rename into ...
10063 (install-unwind_h-forbuild): New target.
10064 (all): Use it instead of the former install-unwind_h.
10065 (install-unwind_h): Reinstate, copy to user install destination
10066 for include files, not to the internal gcc object directory one.
10067 (install-leaf): Depend on it.
10068
10069 2012-05-15 Olivier Hainque <hainque (a] adacore.com>
10070
10071 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
10072 register numbers. LR_REGNO replaces R_LR.
10073 (ucontext_for): New, helper for ...
10074 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
10075 and 5.3 of ...
10076 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
10077
10078 2012-05-10 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10079
10080 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
10081 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
10082 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
10083 i386/t-cpuinfo ...
10084 (i[34567]86-*-*, x86_64-*-*): ... here.
10085
10086 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
10087 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
10088
10089 * config/i386/i386-cpuinfo.c: Rename to ...
10090 * config/i386/cpuinfo.c: ... this.
10091 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
10092
10093 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
10094 (libgcc_cv_init_priority): New test.
10095 * configure: Regenerate.
10096 * config.in: New file.
10097 * Makefile.in (clean): Rename config.h to auto-target.h.
10098 (config.h): Likewise.
10099 (stamp-h): Likewise.
10100
10101 * config/i386/cpuinfo.c (auto-target.h): Include.
10102 (CONSTRUCTOR_PRIORITY): Define.
10103 (__cpu_indicator_init): Use it.
10104
10105 2012-05-09 H.J. Lu <hongjiu.lu (a] intel.com>
10106
10107 * longlong.h: Use a URL instead of an FSF postal address.
10108 Replace spaces with tab.
10109
10110 2012-05-08 Teresa Johnson <tejohnson (a] google.com>
10111
10112 * libgcov.c (gcov_clear, __gcov_reset): New functions.
10113 (__gcov_dump): Ditto.
10114 (gcov_dump_complete): New global variable.
10115 (gcov_exit): Export hidden to enable use in L_gcov_dump.
10116 (__gcov_flush): Outline functionality now in gcov_clear.
10117 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
10118
10119 2012-04-28 Aurelien Jarno <aurelien (a] aurel32.net>
10120
10121 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
10122 (mips*-*-linux*): Include mips/t-tpbit when long double is
10123 16 bytes long.
10124
10125 2012-04-25 Sriraman Tallam <tmsriram (a] google.com>
10126
10127 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
10128 (get_available_features): New argument. Check for AVX2.
10129 (__cpu_indicator_init): Modify call to get_available_features.
10130
10131 2012-04-25 Alan Modra <amodra (a] gmail.com>
10132
10133 * config/rs6000/crtsavevr.S: New file.
10134 * config/rs6000/crtrestvr.S: New file.
10135 * config/rs6000/t-savresfgpr: Build the above.
10136 * config/rs6000/t-netbsd: Likewise.
10137
10138 2012-04-24 Sriraman Tallam <tmsriram (a] google.com>
10139
10140 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
10141
10142 2012-04-24 Sriraman Tallam <tmsriram (a] google.com>
10143
10144 * libgcc/config/i386/i386-cpuinfo.c: New file.
10145 * libgcc/config/i386/t-cpuinfo: New file.
10146 * libgcc/config.host: Include t-cpuinfo.
10147 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
10148
10149 2012-04-24 Chao-ying Fu <fu (a] mips.com>
10150
10151 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
10152
10153 2012-04-20 Thomas Schwinge <thomas (a] codesourcery.com>
10154
10155 struct siginfo vs. siginfo_t
10156
10157 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
10158 siginfo_t instead of struct siginfo.
10159 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
10160 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
10161 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
10162 (ia64_handle_unwabi): Likewise.
10163 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
10164 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
10165 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
10166 (sh_fallback_frame_state): Likewise.
10167 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
10168 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
10169
10170 2012-04-02 H.J. Lu <hongjiu.lu (a] intel.com>
10171
10172 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
10173 system call number.
10174
10175 2012-03-31 Eric Botcazou <ebotcazou (a] adacore.com>
10176
10177 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
10178 if it hasn't been previously saved.
10179
10180 2012-03-29 H.J. Lu <hongjiu.lu (a] intel.com>
10181
10182 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
10183 only for glibc.
10184
10185 2012-03-28 Georg-Johann Lay <avr (a] gjlay.de>
10186
10187 PR target/52737
10188 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
10189 instead of __AVR_HAVE_8BIT_SP__.
10190
10191 2012-03-26 Tristan Gingold <gingold (a] adacore.com>
10192
10193 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
10194 (unw_table_entry): Use unw_word instead of unsigned long.
10195 (_Unwind_FindTableEntry): Likewise.
10196 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
10197 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
10198 (_Unwind_FindTableEntry): Likewise.
10199 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
10200 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
10201 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
10202 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
10203 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
10204 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
10205 (uw_init_context_1, uw_install_context): Likewise.
10206 (unw_word): Move to unwind-ia64.h
10207
10208 2012-03-26 Tristan Gingold <gingold (a] adacore.com>
10209
10210 * config/vms/vms-ucrt0.c: Update copyright years.
10211 Add a sanity check.
10212 (___gcc_main_flags): Declare.
10213 (__main): Check flags to remap argv and exit code.
10214 * config.host (*-*-*vms*): Adjust extra_parts.
10215 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
10216 (crt0.o): Add.
10217
10218 2012-03-22 Richard Earnshaw <rearnsha (a] arm.com>
10219
10220 * arm/lib1funcs.asm (ctzsi2): New function.
10221 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
10222 * arm/t-linux (LIB1ASMFUNCS): Likewise.
10223 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
10224 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
10225 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
10226 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
10227
10228 2012-03-21 Andreas Tobler <andreast (a] fgznet.ch>
10229
10230 * config.host: Add bits to support powerpc64-*-freebsd*.
10231 * config/rs6000/freebsd-unwind.h: New file.
10232 * config/rs6000/t-freebsd64: New file.
10233
10234 2012-03-20 Richard Guenther <rguenther (a] suse.de>
10235
10236 PR gcov-profile/52627
10237 * libgcov.c (init_mx): Fix mutex name.
10238
10239 2012-03-16 Tristan Gingold <gingold (a] adacore.com>
10240
10241 * config/ia64/vms-unwind.h: Remove ulong (and replace
10242 it by unw_reg where used). Define unw_reg with __int64.
10243
10244 2012-03-14 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10245
10246 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
10247 Solaris 8 handling.
10248 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
10249 Solaris 8 handling.
10250 (sparc_is_sighandler): Likewise.
10251
10252 2012-03-13 H.J. Lu <hongjiu.lu (a] intel.com>
10253
10254 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
10255 <= saved reg size.
10256
10257 2012-03-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10258
10259 * config/arm/crtn.S: Fix typo.
10260
10261 2012-03-13 Richard Guenther <rguenther (a] suse.de>
10262
10263 * libgcov.c: Remove stdio.h include and NULL un-define.
10264
10265 2012-03-13 Richard Guenther <rguenther (a] suse.de>
10266
10267 PR target/52569
10268 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
10269
10270 2012-03-13 Richard Guenther <rguenther (a] suse.de>
10271
10272 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
10273
10274 2012-03-13 Richard Guenther <rguenther (a] suse.de>
10275
10276 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
10277 and __gthread_mutex_init_function definitions.
10278
10279 2012-03-12 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10280
10281 * config.host (mips*-*-openbsd*): Remove.
10282
10283 2012-03-12 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10284
10285 * config.host: Remove alpha*-dec-osf5.1* handling.
10286 * config/alpha/gthr-posix.c: Remove.
10287 * config/alpha/libgcc-osf5.ver: Remove.
10288 * config/alpha/osf5-unwind.h: Remove.
10289 * config/alpha/t-osf-pthread: Remove.
10290 * config/alpha/t-slibgcc-osf: Remove.
10291 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
10292 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
10293 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
10294 * mkmap-flat.awk: Remove osf_export handling.
10295
10296 2012-03-12 Richard Guenther <rguenther (a] suse.de>
10297
10298 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
10299 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
10300 (__gthread_mutex_init_function): New function.
10301 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
10302
10303 PR gcov/49484
10304 * libgcov.c: Include gthr.h.
10305 (__gcov_flush_mx): New global variable.
10306 (init_mx, init_mx_once): New functions.
10307 (__gcov_flush): Protect self with a mutex.
10308 (__gcov_fork): Re-initialize mutex after forking.
10309 * unwind-dw2-fde.c: Change condition under which to use
10310 __GTHREAD_MUTEX_INIT_FUNCTION.
10311
10312 2012-03-12 Tristan Gingold <gingold (a] adacore.com>
10313
10314 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
10315 * config/ia64/t-vms: Likewise.
10316
10317 2012-03-11 Michael Hope <michael.hope (a] linaro.org>
10318
10319 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
10320 for Thumb-2.
10321
10322 2012-03-07 Walter Lee <walt (a] tilera.com>
10323
10324 * config/tilepro/atomic.c: Rename "atomic_" prefix to
10325 "arch_atomic_".
10326 (atomic_xor): Rename and move definition to
10327 config/tilepro/atomic.h.
10328 (atomic_nand): Ditto.
10329 * config/tilepro/atomic.h: Rename "atomic_" prefix to
10330 "arch_atomic_".
10331 (arch_atomic_xor): Move from config/tilepro/atomic.c.
10332 (arch_atomic_nand): Ditto.
10333
10334 2012-03-07 Georg-Johann Lay <avr (a] gjlay.de>
10335
10336 PR target/52507
10337 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
10338
10339 2012-03-07 Georg-Johann Lay <avr (a] gjlay.de>
10340
10341 PR target/52505
10342 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
10343 from RAM.
10344
10345 2012-03-07 Georg-Johann Lay <avr (a] gjlay.de>
10346
10347 PR target/52461
10348 PR target/52508
10349 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
10350 if RAMPZ affects reading from RAM.
10351 (__tablejump_elpm__): Ditto.
10352 (.xload): Ditto.
10353 (__movmemx_hi): Ditto.
10354 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
10355 (__do_global_dtors): Ditto.
10356 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
10357 (__movmemx_hi): Ditto.
10358
10359 2012-03-05 Richard Henderson <rth (a] redhat.com>
10360
10361 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
10362 [ARM] (count_trailing_zeros): Use the builtin.
10363
10364 2012-03-01 Kai Tietz <ktietz (a] redhat.com>
10365
10366 * soft-fp: Imported from glibc upstream.
10367
10368 2012-02-28 Kai Tietz <ktietz (a] redhat.com>
10369
10370 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
10371 for mingw-targets as attribute gcc_struct.
10372
10373 2012-02-28 Ian Lance Taylor <iant (a] google.com>
10374
10375 * generic-morestack.c (__splitstack_releasecontext): Correct call
10376 to __morestack_release_segments.
10377
10378 2012-02-27 Samuel Thibault <samuel.thibault (a] ens-lyon.org>
10379
10380 PR target/52390
10381 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
10382 for __linux__ when removing signals from __morestack_fullmask.
10383
10384 2012-02-23 Georg-Johann Lay <avr (a] gjlay.de>
10385
10386 PR target/52261
10387 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
10388
10389 2012-02-23 Ulrich Weigand <Ulrich.Weigand (a] de.ibm.com>
10390
10391 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
10392 instead of HAVE_INITFINI_ARRAY.
10393 * config/ia64/crtend.S: Likewise.
10394
10395 2012-02-20 Kai Tietz <ktietz (a] redhat.com>
10396
10397 PR libstdc++/52300
10398 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
10399
10400 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
10401 to w32-unwind.h header.
10402
10403 2012-02-19 Richard Sandiford <rdsandiford (a] googlemail.com>
10404
10405 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
10406 (mips*-*-linux*): Remove t-slibgcc-libgcc.
10407 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
10408 * config/mips/mips16.S (__mips16_rdhwr): Delete.
10409
10410 2012-02-19 Richard Sandiford <rdsandiford (a] googlemail.com>
10411
10412 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
10413
10414 2012-02-15 Iain Sandoe <iains (a] gcc.gnu.org>
10415
10416 PR libitm/52220
10417 * config/darwin-crt-tm.c: Correct typo.
10418
10419 2012-02-15 Iain Sandoe <iains (a] gcc.gnu.org>
10420 Patrick Marlier <patrick.marlier (a] gmail.com>
10421
10422 PR libitm/52220
10423 * config/darwin-crt-tm.c: Generate dummy functions.
10424
10425 2012-02-15 Iain Sandoe <iains (a] gcc.gnu.org>
10426 Patrick Marlier <patrick.marlier (a] gmail.com>
10427
10428 PR libitm/52042
10429 * config/darwin-crt-tm.c (getTMCloneTable): New function.
10430 (__doTMRegistrations): Call it.
10431 (__doTMdeRegistrations): Likewise.
10432
10433 2012-01-15 Georg-Johann Lay <avr (a] gjlay.de>
10434 Anatoly Sokolov <aesok (a] post.ru>
10435 Eric Weddington <eric.weddington (a] atmel.com>
10436
10437 PR target/52261
10438 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
10439 (__epilogue_restores__): Ditto.
10440
10441 2012-02-15 Eric Botcazou <ebotcazou (a] adacore.com>
10442
10443 PR target/51921
10444 PR target/52205
10445 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
10446 Solaris 11 and slightly reformat.
10447 (sparc_is_sighandler): Likewise.
10448
10449 2012-02-14 Walter Lee <walt (a] tilera.com>
10450
10451 * config.host: Handle tilegx and tilepro.
10452 * config/tilegx/sfp-machine.h: New file.
10453 * config/tilegx/sfp-machine32.h: New file.
10454 * config/tilegx/sfp-machine64.h: New file.
10455 * config/tilegx/t-crtstuff: New file.
10456 * config/tilegx/t-softfp: New file.
10457 * config/tilegx/t-tilegx: New file.
10458 * config/tilepro/atomic.c: New file.
10459 * config/tilepro/atomic.h: New file.
10460 * config/tilepro/linux-unwind.h: New file.
10461 * config/tilepro/sfp-machine.h: New file.
10462 * config/tilepro/softdivide.c: New file.
10463 * config/tilepro/softmpy.S: New file.
10464 * config/tilepro/t-crtstuff: New file.
10465 * config/tilepro/t-tilepro: New file.
10466
10467 2012-02-07 Jonathan Wakely <jwakely.gcc (a] gmail.com>
10468
10469 PR libstdc++/51296
10470 PR libstdc++/51906
10471 * gthr-posix.h: Allow static initializer macros to be disabled.
10472 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
10473
10474 2012-02-05 Chung-Lin Tang <cltang (a] codesourcery.com>
10475
10476 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
10477 Add t-slibgcc-libgcc to tmake_file.
10478 * config/mips/libgcc-mips16.ver: Revert previous patch.
10479 * config/mips/mips16.S (__mips16_rdhwr): Hide.
10480
10481 2012-02-02 Sumanth G <sumanth.gundapaneni (a] kpitcummins.com>
10482 Jayant R Sonar <jayant.sonar (a] kpitcummins.com>
10483
10484 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
10485 * config/cr16/crti.S: New file.
10486 * config/cr16/crtlibid.S: New file.
10487 * config/cr16/crtn.S: New file.
10488 * config/cr16/lib1funcs.S: New file.
10489 * config/cr16/t-cr16: New file.
10490 * config/cr16/t-crtlibid: New file.
10491 * config/cr16/unwind-dw2.h: New file.
10492 * config/cr16/unwind-cr16.c: New file.
10493 * config/cr16/divmodhi3.c: New file.
10494
10495 2012-01-25 Alan Modra <amodra (a] gmail.com>
10496
10497 * config/rs6000/t-linux64: Delete. Move..
10498 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
10499 * config/rs6000/t-linux: ..and libgcc flags to here.
10500
10501 2012-01-22 Douglas B Rupp <rupp (a] gnat.com>
10502
10503 * config.host (i[34567]86-*-interix3*):
10504 Change triplet to i[34567]86-*-interix[3-9]*.
10505 * configure: Regenerate.
10506
10507 2012-01-15 Chung-Lin Tang <cltang (a] codesourcery.com>
10508 Richard Sandiford <rdsandiford (a] googlemail.com>
10509
10510 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
10511 * config/mips/mips16.S (__mips16_rdhwr): New function.
10512 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
10513
10514 2012-01-11 Nathan Sidwell <nathan (a] acm.org>
10515
10516 * libgcov.c (__gcov_init): Ignore objects with no functions.
10517
10518 2012-01-10 Georg-Johann Lay <avr (a] gjlay.de>
10519
10520 PR target/49868
10521 Extend __pgmx semantics to linearize memory.
10522 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
10523 * config/avr/lib1funcs.S (__xload_1): New function.
10524 (__movmemx_qi, __movmemx_hi): New functions.
10525 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
10526 semantics.
10527
10528 2012-01-09 Eric Botcazou <ebotcazou (a] adacore.com>
10529
10530 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
10531 purported sigacthandler address isn't null before dereferencing it.
10532 (sparc_is_sighandler): Likewise.
10533
10534 2012-01-09 Eric Botcazou <ebotcazou (a] adacore.com>
10535
10536 PR ada/41929
10537 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
10538 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
10539 (sparc_is_sighandler): Likewise.
10540 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
10541
10542 2012-01-06 Tristan Gingold <gingold (a] adacore.com>
10543
10544 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
10545 compatibility thunks...
10546 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
10547 (crtbeginS.o, crtendS.o): ... and these to ...
10548 * config/ia64/t-ia64-elf: ... this new file.
10549 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
10550 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
10551
10552 2012-01-04 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
10553
10554 * configure: Regenerate.
10555 * config/s390/t-crtstuff: Remove -fPIC.
10556
10557 2012-01-02 Jonathan Wakely <jwakely.gcc (a] gmail.com>
10558
10559 PR bootstrap/51006
10560 * enable-execute-stack-mprotect.c (getpagesize): Do not define
10561 for NetBSD.
10562
10563 2012-01-02 Georg-Johann Lay <avr (a] gjlay.de>
10564
10565 PR target/51345
10566 * config/avr/lib1funcs.S: Remove FIXME comments.
10567 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
10568
10569 2012-01-02 Georg-Johann Lay <avr (a] gjlay.de>
10570
10571 Implement light-weight DImode support.
10572 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
10573 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
10574 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
10575 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
10576
10577 2011-12-30 Nathan Sidwell <nathan (a] acm.org>
10578
10579 * libgcov.c (gcov_crc32): Remove global var.
10580 (free_fn_data): New function.
10581 (buffer_fn_data): Pass in filename, more robust error recovery.
10582 (crc32_unsigned): New function.
10583 (gcov_exit): More robust detection of new program. More robust
10584 error recovery.
10585 (__gcov_init): Do not update program's crc here.
10586
10587 2011-12-21 Tristan Gingold <gingold (a] adacore.com>
10588
10589 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
10590
10591 2011-12-21 Ian Lance Taylor <iant (a] google.com>
10592
10593 * config/i386/morestack.S: Simplify CFI opcodes throughout.
10594
10595 2011-12-20 Ian Lance Taylor <iant (a] google.com>
10596
10597 * config/i386/morestack.S (__morestack_non_split): If there is
10598 enough stack space already, don't split. Ask for more stack space
10599 than we required.
10600
10601 2011-12-20 Sergio Durigan Junior <sergiodj (a] redhat.com>
10602
10603 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
10604 `sys/sdt.h'.
10605 (_Unwind_DebugHook): New function.
10606 (uw_restore_core_regs): New define.
10607 (unwind_phase2): Use uw_restore_core_regs instead of
10608 restore_core_regs.
10609 (unwind_phase2_forced): Likewise.
10610 (__gnu_Unwind_Resume): Likewise.
10611
10612 2011-12-20 Uros Bizjak <ubizjak (a] gmail.com>
10613
10614 * config/alpha/linux-unwind.h: Update copyright years.
10615 (MD_FROB_UPDATE_CONTEXT): New define.
10616 (alpha_frob_update_context): New function.
10617
10618 2011-12-17 Richard Sandiford <rdsandiford (a] googlemail.com>
10619
10620 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
10621 tmake_file rather replacing it.
10622
10623 2011-12-15 Iain Sandoe <iains (a] gcc.gnu.org>
10624
10625 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
10626 function is not used for PPC64.
10627 (save_world): Amend comments. Update the VRsave mask to reflect the
10628 saved regs.
10629 (rest_world): Update comments, do not clobber r10, do not use r8.
10630 (eh_rest_world_r10): Amend comments, do not use r8.
10631 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
10632 no longer used, move restore of CR and target address to the end of
10633 the routine.
10634
10635 2011-12-14 H.J. Lu <hongjiu.lu (a] intel.com>
10636
10637 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
10638 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
10639
10640 2011-12-14 Georg-Johann Lay <avr (a] gjlay.de>
10641
10642 PR target/49313
10643 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
10644 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
10645
10646 2011-12-11 Eric Botcazou <ebotcazou (a] adacore.com>
10647
10648 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
10649
10650 2011-12-09 Georg-Johann Lay <avr (a] gjlay.de>
10651
10652 PR target/49313
10653 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
10654 * config/avr/lib1funcs.S (__muldi3): New function.
10655
10656 2011-12-06 Andrew Pinski <apinski (a] cavium.com>
10657
10658 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
10659 size of func_ptr.
10660 (__frame_dummy_init_array_entry): Likewise.
10661
10662 2011-12-06 Georg-Johann Lay <avr (a] gjlay.de>
10663
10664 Forward-port from gcc-4_6-branch r181936 2011-12-02.
10665
10666 PR target/51345
10667 PR target/51002
10668 * config/avr/lib1funcs.S (__prologue_saves__,
10669 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
10670 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
10671
10672 2011-12-04 Iain Sandoe <iains (a] gcc.gnu.org>
10673
10674 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
10675
10676 2011-11-30 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
10677
10678 PR other/51272
10679 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
10680 (_ITM_deregisterTMCloneTable): Likewise.
10681 (__register_frame_info): Fix unused warning.
10682 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
10683 pthread_default_stacksize_np): Likewise.
10684 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
10685
10686 2011-11-29 DJ Delorie <dj (a] redhat.com>
10687
10688 * config.host (rl78-*-elf): New case.
10689 * config/rl78: New directory for the Renesas RL78.
10690
10691 2011-11-29 Bernd Schmidt <bernds (a] codesourcery.com>
10692
10693 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
10694 formatting.
10695
10696 2011-11-28 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10697
10698 PR other/51022
10699 * config/rs6000/t-savresfgpr: New file.
10700 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
10701 $(srcdir)/config/rs6000/eabi.S.
10702 * config/rs6000/t-ppccomm-ldbl: Remove.
10703 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
10704 tmake_file.
10705 (powerpc-*-eabispe*): Likewise.
10706 (powerpc-*-eabi*): Likewise.
10707 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10708 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
10709 to tmake_file, remove rs6000/t-ppccomm-ldbl.
10710 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
10711 tmake_file.
10712 (powerpc-*-eabisim*): Likewise.
10713 (powerpc-*-elf*): Likewise.
10714 (powerpc-*-eabialtivec*): Likewise.
10715 (powerpc-xilinx-eabi*): Likewise.
10716 (powerpc-*-rtems*): Likewise.
10717 (powerpcle-*-elf*): Likewise.
10718 (powerpcle-*-eabisim*): Likewise.
10719 (powerpcle-*-eabi*): Likewise.
10720
10721 2011-11-27 Ian Lance Taylor <iant (a] google.com>
10722
10723 * generic-morestack.c (__splitstack_find): Check for NULL old
10724 stack value.
10725 (__splitstack_resetcontext): New function.
10726 (__splitstack_releasecontext): New function.
10727 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10728
10729 2011-11-27 Iain Sandoe <iains (a] gcc.gnu.org>
10730
10731 * config/darwin-crt-tm.c: Correct comments, use correct licence.
10732
10733 2011-11-27 Iain Sandoe <iains (a] gcc.gnu.org>
10734
10735 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
10736
10737 2011-11-26 Richard Henderson <rth (a] redhat.com>
10738
10739 * config/m68k/linux-atomic.c: New file.
10740 * config/m68k/t-linux: New file.
10741 * config.host (m68k-uclinux, m68k-linux): Use it.
10742
10743 2011-11-26 Richard Henderson <rth (a] redhat.com>
10744
10745 * crtstuff.c (__TMC_LIST__): Mark used not unused.
10746 (__TMC_END__): Only declare if hidden is available; in the definition,
10747 if hidden is unavailable add a null record.
10748 (deregister_tm_clones, register_tm_clones): New.
10749 (__do_global_dtors_aux, frame_dummy): Use them.
10750 (__do_global_dtors, __do_global_ctors_1): Likewise.
10751
10752 2011-11-22 Iain Sandoe <iains (a] gcc.gnu.org>
10753
10754 * config/darwin-crt-tm.c: New file.
10755 * config.host (darwin): Build crttms.o crttme.o to provide
10756 startup and shutdown for tm clones.
10757 * config/t-darwin (crttms.o): New build rule.
10758 (crttme.o): Likewise.
10759
10760 2011-11-21 Hans-Peter Nilsson <hp (a] axis.com>
10761
10762 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
10763 et al.
10764
10765 2011-11-21 Richard Henderson <rth (a] redhat.com>
10766
10767 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
10768 (__TMC_LIST__, __TMC_END__): New.
10769 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
10770 (__do_global_dtors): Likewise.
10771 (frame_dummy): Call _ITM_registerTMCloneTable.
10772 (__do_global_ctors_1): Likewise.
10773
10774 2011-11-21 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10775
10776 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
10777 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10778 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
10779 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
10780 * config/i386/t-darwin64: Remove.
10781 * config/sh/t-netbsd (LIB2ADD): Remove.
10782
10783 2011-11-21 Georg-Johann Lay <avr (a] gjlay.de>
10784
10785 PR target/49313
10786 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
10787 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
10788 * config/avr/lib1funcs.S (wmov): New assembler macro.
10789 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
10790 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
10791 (__udivmod64): New function.
10792 (__negdi2): New function.
10793
10794 2011-11-21 Gerald Pfeifer <gerald (a] pfeifer.com>
10795
10796 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
10797 *-*-freebsd*aout*): Remove.
10798
10799 2011-11-20 Hans-Peter Nilsson <hp (a] axis.com>
10800
10801 * static-object.mk (c_flags-$o): Save c_flags.
10802 ($(base)$(objext)): Use it.
10803
10804 2011-11-18 Steve Ellcey <sje (a] cup.hp.com>
10805
10806 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
10807
10808 2011-11-18 Georg-Johann Lay <avr (a] gjlay.de>
10809
10810 PR target/49868
10811 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10812 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10813 New functions.
10814
10815 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann (a] arm.com>
10816
10817 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10818 functions.
10819 (aeabi_uidivmod): Likewise.
10820 (umodsi3): Likewise.
10821 (divsi3): Likewise.
10822 (aeabi_idivmod): Likewise.
10823 (modsi3): Likewise.
10824
10825 2011-11-16 Tristan Gingold <gingold (a] adacore.com>
10826
10827 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10828
10829 2011-11-15 Georg-Johann Lay <avr (a] gjlay.de>
10830
10831 PR target/49868
10832 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
10833 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10834
10835 2011-11-13 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
10836
10837 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10838 tmake_file list.
10839 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10840 * config/pa/t-stublib64: Delete.
10841
10842 2011-11-12 Richard Henderson <rth (a] redhat.com>
10843
10844 * config/rs6000/linux-unwind.h (frob_update_context): Properly
10845 cast the pointer argument to _Unwind_SetGRPtr.
10846
10847 2011-11-11 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10848
10849 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10850
10851 2011-11-09 Ian Lance Taylor <iant (a] google.com>
10852
10853 * generic-morestack.c: Include <string.h>.
10854 (uintptr_type): Define.
10855 (struct initial_sp): Add dont_block_signals field. Reduce size of
10856 extra array by 1.
10857 (allocate_segment): Set prev field to NULL. Don't set
10858 __morestack_current_segment or __morestack_segments.
10859 (__generic_morestack): Update current->prev and *pp after calling
10860 allocate_segment.
10861 (__morestack_block_signals): Don't do anything if
10862 dont_block_signals is set.
10863 (__morestack_unblock_signals): Likewise.
10864 (__generic_findstack): Check for initial_sp == NULL. Add casts to
10865 uintptr_type.
10866 (__splitstack_block_signals): New function.
10867 (enum __splitstack_content_offsets): Define.
10868 (__splitstack_getcontext, __splitstack_setcontext): New functions.
10869 (__splitstack_makecontext): New function.
10870 (__splitstack_block_signals_context): New function.
10871 (__splitstack_find_context): New function.
10872 * config/i386/morestack.S (__morestack_get_guard): New function.
10873 (__morestack_set_guard, __morestack_make_guard): New functions.
10874 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10875
10876 2011-11-09 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10877
10878 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10879 (i[34567]86-*-mingw*): ... here.
10880 (x86_64-*-mingw*): ... here.
10881
10882 2011-11-08 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10883
10884 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10885
10886 2011-11-07 Nathan Sidwell <nathan (a] acm.org>
10887
10888 * libgcov.c (struct gcov_fn_buffer): New struct.
10889 (buffer_fn_data): New helper.
10890 (gcov_exit): Rework for new gcov data structures.
10891
10892 2011-11-07 Georg-Johann Lay <avr (a] gjlay.de>
10893
10894 PR target/49313
10895 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10896
10897 2011-11-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10898
10899 * config.host (tmake_file): Correct comment.
10900 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10901 t-libgcc-pic.
10902 (bfin*-uclinux*): Likewise.
10903 (bfin*-linux-uclibc*): Likewise.
10904 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10905
10906 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10907 assigning.
10908 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10909 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10910 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10911 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10912 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10913 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10914 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10915 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10916 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10917 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10918 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10919 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10920 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10921
10922 * config/bfin/t-elf: Remove.
10923 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10924
10925 2011-11-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10926
10927 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10928 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10929 (lm32-*-elf*, lm32-*-rtems*): Split into ...
10930 (lm32-*-elf*): ... this.
10931 (lm32-*-rtems*): ... and this.
10932 Add to tmake_file.
10933 (m32r-*-rtems*): Add to tmake_file.
10934 (moxie-*-rtems*): Likewise.
10935 (sparc-*-rtems*): Likewise.
10936 Remove t-rtems from tmake_file.
10937 (sparc64-*-rtems*): Likewise.
10938 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10939 instead.
10940
10941 2011-11-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10942
10943 PR bootstrap/50982
10944 * config/gthr-posix.h: Move ...
10945 * gthr-posix.h: ... here.
10946 * config/gthr-lynx.h: Reflect this.
10947 * config/gthr-vxworks.h: Likewise.
10948 * config/rs6000/gthr-aix.h: Likewise.
10949 * configure.ac (target_thread_file): Likewise.
10950 * configure: Regenerate.
10951
10952 2011-11-06 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
10953
10954 * config.host (arm*-*-rtemseabi*): New target.
10955
10956 2011-11-06 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
10957
10958 PR other/50991
10959 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10960 extra-parts.
10961
10962 2011-11-05 Joern Rennecke <joern.rennecke (a] embecosm.com>
10963
10964 * config.host (epiphany-*-elf*): New configuration.
10965 * config/epiphany: New Directory.
10966
10967 2011-11-05 Ralf Corspius <ralf.corsepius (a] rtems.org>
10968
10969 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10970 * config/avr/t-rtems: New.
10971 Filter out _exit from LIB1ASMFUNCS.
10972
10973 2011-11-04 David S. Miller <davem (a] davemloft.net>
10974
10975 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10976 * configure: Rebuild.
10977
10978 2011-11-04 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
10979
10980 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10981 variable.
10982
10983 2011-11-04 Georg-Johann Lay <avr (a] gjlay.de>
10984
10985 PR target/50931
10986 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10987 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10988
10989 2011-11-04 Joel Sherrill <joel.sherrill (a] oarcorp.com>
10990
10991 PR target/50989
10992 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10993
10994 2011-11-04 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10995
10996 * config/c6x/t-elf (LIB2ADDEH): Set.
10997 * config/c6x/t-c6x-elf: Remove.
10998
10999 2011-11-04 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
11000
11001 * config/i386/sol2-ci.S: Rename to ...
11002 * config/i386/crti.S: ... this.
11003 * config/i386/sol2-cn.S: Rename to ...
11004 * config/i386/crtn.S: ... this.
11005 * config/sparc/sol2-ci.S: Rename to ...
11006 * config/sparc/crti.S: ... this.
11007 * config/sparc/sol2-cn.S: Rename to ...
11008 * config/sparc/crtn.S: ... this.
11009 * config/t-sol2 (CUSTOM_CRTIN): Remove.
11010 (crti.o, crtn.o): Remove.
11011
11012 2011-11-04 Tristan Gingold <gingold (a] adacore.com>
11013
11014 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
11015
11016 2011-11-04 Kaz Kojima <kkojima (a] gcc.gnu.org>
11017
11018 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
11019
11020 2011-11-03 Hans-Peter Nilsson <hp (a] axis.com>
11021
11022 * config.host (crisv32-*-none, cris-*-none): Remove.
11023 (crisv32-*-elf): Append to tmake_file, don't just set it.
11024 (cris-*-elf): Add missing t-fdpbit to tmake_file.
11025
11026 2011-11-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
11027
11028 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
11029 (ecrtn$(objext)): Likewise.
11030 (ncrti$(objext)): Likewise.
11031 (ncrtn$(objext)): Likewise.
11032
11033 2011-11-03 Andreas Schwab <schwab (a] redhat.com>
11034
11035 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
11036
11037 2011-11-02 David S. Miller <davem (a] davemloft.net>
11038
11039 * configure.ac: Set host_address on sparc too.
11040 * configure: Regenerate.
11041 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
11042 based upon host_address.
11043 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
11044
11045 2011-11-02 Jason Merrill <jason (a] redhat.com>
11046
11047 * config/rs6000/t-ppccomm: Add missing \.
11048
11049 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
11050
11051 * gthr-single.h, gthr.h: New files.
11052 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
11053 config/gthr-vxworks.h, config/i386/gthr-win32.h,
11054 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
11055 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
11056 * config/i386/gthr-win32.c: Include "gthr-win32.h".
11057 * configure.ac (thread_header): New variable.
11058 Set it depending on target_thread_file.
11059 (gthr-default.h): Link from $thread_header.
11060 * configure: Regenerate.
11061 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
11062
11063 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
11064
11065 * configure.ac (tm_file_): New variable.
11066 Determine from tm_file.
11067 (tm_file, tm_defines): Substitute.
11068 * configure: Regenerate.
11069 * mkheader.sh: New file.
11070 * Makefile.in (clean): Remove libgcc_tm.h.
11071 ($(objects)): Depend on libgcc_tm.h.
11072 (libgcc_tm_defines, libgcc_tm_file): New variables.
11073 (libgcc_tm.h, libgcc_tm.stamp): New targets.
11074 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
11075 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
11076 ($(extra-parts)): Depend on libgcc_tm.h.
11077 * config.host (tm_defines, tm_file): New variable.
11078 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
11079 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
11080 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
11081 (avr-*-rtems*): Likewise.
11082 (avr-*-*): Likewise.
11083 (frv-*-elf): Likewise.
11084 (frv-*-*linux*): Likewise.
11085 (h8300-*-rtems*): Likewise.
11086 (h8300-*-elf*): Likewise.
11087 (i[34567]86-*-darwin*): Likewise.
11088 (x86_64-*-darwin*): Likewise.
11089 (rx-*-elf): Likewise.
11090 (tic6x-*-uclinux): Likewise.
11091 (tic6x-*-elf): Likewise.
11092 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
11093 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
11094 * config/i386/cygming-crtbegin.c: Likewise.
11095 * config/i386/cygming-crtend.c: Likewise.
11096 * config/ia64/fde-vms.c: Likewise.
11097 * config/ia64/unwind-ia64.c: Likewise.
11098 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11099 * config/rs6000/darwin-fallback.c: Likewise.
11100 * config/stormy16/lib2funcs.c: Likewise.
11101 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
11102 * crtstuff.c: Likewise.
11103 * dfp-bit.h: Likewise.
11104 * emutls.c: Likewise.
11105 * fixed-bit.c: Likewise.
11106 * fp-bit.c: Likewise.
11107 * generic-morestack-thread.c: Likewise.
11108 * generic-morestack.c: Likewise.
11109 * libgcc2.c: Likewise.
11110 * libgcov.c: Likewise.
11111 * unwind-dw2-fde-dip.c: Likewise.
11112 * unwind-dw2-fde.c: Likewise.
11113 * unwind-dw2.c: Likewise.
11114 * unwind-sjlj.c: Likewise.
11115
11116 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
11117
11118 * configure.ac: Include ../config/picflag.m4.
11119 (GCC_PICFLAG): Call it.
11120 Substitute.
11121 * configure: Regenerate.
11122 * Makefile.in (gcc_srcdir): Remove.
11123 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
11124 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
11125 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
11126 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
11127 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
11128 Use $<.
11129 Remove comment.
11130 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
11131 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
11132 to refer to libgcc2.c.
11133 Use $<.
11134 * config/darwin-64.c: New file.
11135 * config/darwin-crt3.c: Remove comment.
11136 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
11137 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
11138 config/udivmodsi4.c: New files.
11139 * config/memcmp.c, config/memcpy.c, config/memmove.c,
11140 config/memset.c: New files.
11141 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
11142 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
11143 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
11144 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
11145 * config/t-openbsd-thread: New file.
11146 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
11147 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
11148 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
11149 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
11150 qrnnd.S.
11151 Adapt filename.
11152 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
11153 to refer to gthr-posix.c.
11154 * config/alpha/t-vms (LIB2ADD): Set.
11155 * config/alpha/vms-gcc_shell_handler.c: New file.
11156 * config/arm/bpabi.c, config/arm/fp16.c,
11157 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
11158 config/arm/unaligned-funcs.c: New files.
11159 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
11160 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
11161 * config/arm/t-linux: Likewise.
11162 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
11163 * config/arm/t-netbsd: New file.
11164 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
11165 * config/arm/t-symbian (LIB2ADD_ST): Set.
11166 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
11167 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11168 * config/bfin/t-elf: New file.
11169 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
11170 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
11171 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
11172 config/c6x/ltf.c: New files.
11173 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
11174 (HOST_LIBGCC2_CFLAGS): Set.
11175 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
11176 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11177 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
11178 New files.
11179 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
11180 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
11181 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
11182 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
11183 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
11184 files.
11185 * config/frv/t-frv (LIB2ADD): Set.
11186 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11187 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
11188 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
11189 config/h8300/popcounthi2.c: New files.
11190 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
11191 * config/i386/gthr-win32.c: New file.
11192 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
11193 * config/i386/t-cygwin: Likewise.
11194 * config/i386/t-darwin, config/i386/t-darwin64,
11195 config/i386/t-gthr-win32, config/i386/t-interix: New files.
11196 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
11197 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11198 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11199 * config/ia64/quadlib.c: New file.
11200 * config/ia64/t-hpux (LIB2ADD): Set.
11201 * config/ia64/t-ia64: Add comment.
11202 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
11203 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11204 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
11205 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
11206 * config/m32c/t-m32c (LIB2ADD): Set.
11207 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
11208 * config/m32r/t-m32r: Likewise.
11209 * config/m68k/fpgnulib.c: New file.
11210 * config/m68k/t-floatlib (LIB2ADD): Set.
11211 (xfgnulib.c): New target.
11212 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
11213 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
11214 * config/mep/t-mep (LIB2ADD): Set.
11215 * config/microblaze/divsi3.asm: Rename to divsi3.S.
11216 * config/microblaze/moddi3.asm: Rename to moddi3.S.
11217 * config/microblaze/modsi3.asm: Rename to modsi3.S.
11218 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
11219 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
11220 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
11221 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
11222 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
11223 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
11224 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
11225 New files.
11226 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
11227 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
11228 * config/pa/fptr.c, config/pa/lib2funcs.S,
11229 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
11230 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
11231 (LIB2ADD, LIB2ADD_ST): Set.
11232 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
11233 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
11234 Set.
11235 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
11236 * config/pdp11/t-pdp11: New file.
11237 * config/picochip/libgccExtras/adddi3.S,
11238 config/picochip/libgccExtras/ashlsi3.S,
11239 config/picochip/libgccExtras/ashrsi3.S,
11240 config/picochip/libgccExtras/clzsi2.S,
11241 config/picochip/libgccExtras/cmpsi2.S,
11242 config/picochip/libgccExtras/divmod15.S,
11243 config/picochip/libgccExtras/divmodhi4.S,
11244 config/picochip/libgccExtras/divmodsi4.S,
11245 config/picochip/libgccExtras/lshrsi3.S,
11246 config/picochip/libgccExtras/parityhi2.S,
11247 config/picochip/libgccExtras/popcounthi2.S,
11248 config/picochip/libgccExtras/subdi3.S,
11249 config/picochip/libgccExtras/ucmpsi2.S,
11250 config/picochip/libgccExtras/udivmodhi4.S,
11251 config/picochip/libgccExtras/udivmodsi4.S: New files.
11252 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
11253 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
11254 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
11255 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
11256 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
11257 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
11258 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
11259 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
11260 files.
11261 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
11262 (HOST_LIBGCC2_CFLAGS): Set.
11263 * config/rs6000/t-darwin64: New file.
11264 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
11265 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
11266 * config/rs6000/t-ppccomm (LIB2ADD): Add
11267 $(srcdir)/config/rs6000/tramp.S.
11268 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
11269 Add $(srcdir)/config/rs6000/eabi.S.
11270 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
11271 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
11272 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
11273 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
11274 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
11275 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
11276 * config/rs6000/tramp.S: New file.
11277 * config/s390/t-tpf: Remove.
11278 * config/sh/linux-atomic.S: New file.
11279 * config/sh/t-linux (LIB2ADD): Set.
11280 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
11281 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
11282 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
11283 to unwind-dw2.c.
11284 (HOST_LIBGCC2_CFLAGS): Set.
11285 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11286 * config/spu/divmodti4.c, config/spu/divv2df3.c,
11287 config/spu/float_disf.c, config/spu/float_unsdidf.c,
11288 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
11289 config/spu/mfc_multi_tag_release.c,
11290 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
11291 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
11292 config/spu/multi3.c: New files.
11293 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
11294 (HOST_LIBGCC2_CFLAGS): Set.
11295 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
11296 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
11297 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
11298 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
11299 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
11300 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
11301 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
11302 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
11303 config/stormy16/umodsi3.c: New files.
11304 * config/xtensa/lib2funcs.S: New file.
11305 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
11306 * config/xtensa/t-xtensa (LIB2ADD): Set.
11307 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
11308 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
11309 Add t-freebsd-thread to tmake_file for posix threads.
11310 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
11311 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
11312 (*-*-lynxos*): Likewise.
11313 (*-*-netbsd*): Likewise.
11314 (*-*-openbsd*): Likewise.
11315 Add t-openbsd-thread to tmake_file for posix threads.
11316 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
11317 (*-*-vxworks*): Set tmake_file.
11318 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
11319 (alpha*-*-freebsd*): Likewise.
11320 (alpha*-*-netbsd*): Likewise.
11321 (alpha*-*-openbsd*): Likewise.
11322 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
11323 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
11324 (alpha*-dec-*vms*): Likewise.
11325 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
11326 (bfin*-elf*): Add bfin/t-elf to tmake_file.
11327 (bfin*-uclinux*): Likewise.
11328 (bfin*-linux-uclibc*): Likewise.
11329 (crisv32-*-elf): Add cris/t-cris to tmake_file.
11330 (crisv32-*-none): Likewise.
11331 (cris-*-elf): Likewise.
11332 (cris-*-none): Likewise.
11333 (cris-*-linux*, crisv32-*-linux*): Likewise.
11334 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
11335 tmake_file.
11336 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
11337 tmake_file.
11338 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
11339 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
11340 (x86_64-*-elf*): Likewise.
11341 (i[34567]86-*-nto-qnx*): Likewise.
11342 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
11343 win32 threads.
11344 (x86_64-*-mingw*): Likewise.
11345 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
11346 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
11347 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11348 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11349 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
11350 tmake_file.
11351 (mipsisa64sr71k-*-elf*): Likewise.
11352 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11353 (mips-*-elf*, mipsel-*-elf*): Likewise.
11354 (mips64-*-elf*, mips64el-*-elf*): Likewise.
11355 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11356 (mips*-*-rtems*): Likewise.
11357 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
11358 to tmake_file.
11359 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
11360 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
11361 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
11362 (spu-*-elf*): Likewise.
11363 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
11364
11365 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
11366
11367 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
11368 $(srcdir) to refer to $(LIB1ASMSRC).
11369 Use $<.
11370 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
11371 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
11372 config/arm/lib1funcs.S: New files.
11373 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
11374 * config/arm/t-arm: New file.
11375 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
11376 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
11377 config/arm/t-strongarm-elf: New files.
11378 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
11379 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
11380 * config/avr/lib1funcs.S: New file.
11381 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11382 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
11383 * config/c6x/lib1funcs.S: New file.
11384 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11385 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
11386 * config/frv/lib1funcs.S: New file.
11387 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11388 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
11389 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
11390 * config/ia64/__divxf3.asm: Rename to ...
11391 * config/ia64/__divxf3.S: ... this.
11392 Adapt lib1funcs.asm filename.
11393 * config/ia64/_fixtfdi.asm: Rename to ...
11394 * config/ia64/_fixtfdi.S: ... this.
11395 Adapt lib1funcs.asm filename.
11396 * config/ia64/_fixunstfdi.asm: Rename to ...
11397 * config/ia64/_fixunstfdi.S: ... this.
11398 Adapt lib1funcs.asm filename.
11399 * config/ia64/_floatditf.asm: Rename to ...
11400 * config/ia64/_floatditf.S: ... this.
11401 Adapt lib1funcs.asm filename.
11402 * config/ia64/lib1funcs.S: New file.
11403 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
11404 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11405 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
11406 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
11407 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
11408 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
11409 * config/mep/lib1funcs.S: New file.
11410 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11411 * config/mips/mips16.S: New file.
11412 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11413 * config/pa/milli64.S: New file.
11414 * config/pa/t-linux, config/pa/t-linux64: New files.
11415 * config/picochip/lib1funcs.S: New file.
11416 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11417 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
11418 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
11419 * config/sh/t-netbsd: New file.
11420 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
11421 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
11422 * config/sh/t-sh64: New file.
11423 * config/sparc/lb1spc.S: New file.
11424 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
11425 filename.
11426 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
11427 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
11428 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
11429 config/xtensa/lib1funcs.S: New files.
11430 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11431 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
11432 tmake_file.
11433 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
11434 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
11435 (arm*-*-linux*): Likewise.
11436 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
11437 arm*-*-linux-*eabi, add arm/t-linux otherwise.
11438 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
11439 (arm*-*-ecos-elf): Likewise.
11440 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11441 (arm*-*-rtems*): Likewise.
11442 (arm*-*-elf): Likewise.
11443 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
11444 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
11445 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
11446 (bfin*-uclinux*): Likewise.
11447 (bfin*-linux-uclibc*): Likewise.
11448 (bfin*-rtems*): Likewise.
11449 (bfin*-*): Likewise.
11450 (fido-*-elf): Merge into m68k-*-elf*.
11451 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
11452 (frv-*-*linux*): Add frv/t-frv to tmake_file.
11453 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
11454 (h8300-*-elf*): Likewise.
11455 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
11456 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
11457 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
11458 (i[34567]86-*-mingw*): Likewise.
11459 (x86_64-*-mingw*): Likewise.
11460 (i[34567]86-*-interix3*): Likewise.
11461 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
11462 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
11463 (m68k-*-elf*): Also handle fido-*-elf.
11464 Add m68k/t-floatlib to tmake_file.
11465 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
11466 (m68k-*-linux*): Likewise.
11467 (m68k-*-rtems*): Likewise.
11468 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
11469 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
11470 sh64*-*-*.
11471 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
11472 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
11473 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
11474 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
11475 sh/t-netbsd to tmake_file.
11476 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
11477 (sh-*-rtems*): Add sh/t-sh to tmake_file.
11478 (sh-wrs-vxworks): Likewise.
11479 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
11480 *-leon[3-9]*.
11481 (v850*-*-*): Add v850/t-v850 to tmake_file.
11482 (vax-*-linux*): Add vax/t-linux to tmake_file.
11483 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
11484
11485 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
11486
11487 * crtstuff.c: New file.
11488 * Makefile.in (CRTSTUFF_CFLAGS): Define.
11489 (CRTSTUFF_T_CFLAGS): Define.
11490 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
11491 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
11492 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
11493 crtstuff.c.
11494 Use $<.
11495 (crtbeginT.o): Use $(objext).
11496 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
11497 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
11498 (gcc-extra-parts): Remove.
11499 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
11500 Set extra_parts.
11501 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11502 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
11503 Add t-crtstuff-pic to tmake_file.
11504 (*-*-lynxos*): New case.
11505 Set tmake_file, extra_parts.
11506 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
11507 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
11508 *-*-netbsdelf[2-9]*.
11509 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
11510 (*-*-rtems*): Set extra_parts.
11511 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
11512 (*-*-uclinux*): New case.
11513 Set extra_parts.
11514 (*-*-vms*): New case.
11515 Set tmake_file, extra_parts.
11516 (*-*-elf): Set extra_parts.
11517 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
11518 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
11519 vms/t-vms64.
11520 Set extra_parts.
11521 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
11522 Set extra_parts.
11523 (arm*-*-freebsd*): Add t-crtin to tmake_file.
11524 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
11525 (arm-wrs-vxworks): Append to tmake_file.
11526 Set extra_parts.
11527 (arm*-*-uclinux*): Set extra_parts.
11528 (arm*-*-ecos-elf): Likewise.
11529 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
11530 arm*-*-eabi*.
11531 (arm*-*-rtems*): Set extra_parts.
11532 (arm*-*-elf): Likewise.
11533 (avr-*-rtems*): Clear extra_parts.
11534 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
11535 Set extra_parts.
11536 (bfin*-uclinux*): Likewise.
11537 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
11538 (bfin*-rtems*): Append to tmake_file.
11539 Set extra_parts.
11540 (bfin*-*): Likewise.
11541 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
11542 (crisv32-*-elf): ... this.
11543 (crisv32-*-none): ... this.
11544 (cris-*-elf, cris-*-none): New cases.
11545 Add cris/t-elfmulti to tmake_file.
11546 (fr30-*-elf): Append to tmake_file.
11547 Set extra_parts.
11548 (frv-*-elf): Append to tmake_file, add frv/t-frv.
11549 Set extra_parts.
11550 (h8300-*-rtems*): Append to tmake_file.
11551 Set extra_parts.
11552 (h8300-*-elf*): Likewise.
11553 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
11554 Set extra_parts.
11555 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
11556 Set extra_parts.
11557 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
11558 (x86_64-*-elf*): Likewise.
11559 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
11560 (x86_64-*-freebsd*): Likewise.
11561 (x86_64-*-netbsd*): Likewise.
11562 (i[34567]86-*-linux*): Likewise.
11563 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11564 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11565 (x86_64-*-linux*): Likewise.
11566 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11567 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
11568 tmake_file.
11569 Set extra_parts.
11570 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
11571 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
11572 Append to extra_parts, remove crtbegin.o, crtend.o.
11573 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
11574 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
11575 crtend.o, crtbeginS.o, crtendS.o.
11576 (ia64*-*-linux*): Comment extra_parts.
11577 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
11578 Set extra_parts.
11579 (iq2000*-*-elf*): Clear extra_parts.
11580 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
11581 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
11582 (m32r-*-elf*, m32r-*-rtems*): Split off ...
11583 (m32r-*-rtems*): ... this.
11584 Add m32r/t-m32r to tmake_file.
11585 (m68k-*-elf*): Add t-crtin to tmake_file.
11586 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
11587 (mcore-*-elf): Likewise.
11588 (microblaze*-*-*): Set extra_parts.
11589 (mips*-sde-elf*): New case.
11590 Set tmake_file, extra_parts.
11591 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11592 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11593 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
11594 tmake_file.
11595 Set extra_parts.
11596 (mipsisa64sr71k-*-elf*): Likewise.
11597 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11598 (mips-*-elf*, mipsel-*-elf*): Likewise.
11599 (mips64-*-elf*, mips64el-*-elf*): Likewise.
11600 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
11601 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11602 (mips*-*-rtems*): Likewise.
11603 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
11604 (moxie-*-*): Split into ...
11605 (moxie-*-elf, moxie-*-uclinux*): ... this.
11606 Add to extra_parts, remove crtbegin.o, crtend.o.
11607 (moxie-*-rtems*): New case.
11608 Set tmake_file.
11609 Clear extra_parts.
11610 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
11611 Set extra_parts.
11612 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
11613 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
11614 tmake_file.
11615 Set extra_parts.
11616 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
11617 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
11618 Set extra_parts.
11619 (powerpc-*-eabisim*): Likewise.
11620 (powerpc-*-elf*): Likewise.
11621 (powerpc-*-eabialtivec*): Likewise.
11622 (powerpc-xilinx-eabi*): Likewise.
11623 (powerpc-*-eabi*): Likewise.
11624 (powerpc-*-rtems*): Likewise.
11625 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
11626 tmake_file.
11627 Set extra_parts.
11628 (powerpc-*-lynxos*): Add to tmake_file.
11629 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
11630 rs6000/t-crtstuff, t-crtstuff-pic.
11631 Set extra_parts.
11632 (powerpcle-*-eabisim*): Likewise.
11633 (powerpcle-*-eabi*): Likewise.
11634 (rx-*-elf): Remove extra_parts.
11635 (s390x-ibm-tpf*): Set extra_parts.
11636 (score-*-elf): Set extra_parts.
11637 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11638 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11639 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11640 (sh64l*-*-netbsd*): Split into ...
11641 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
11642 Add t-crtstuff-pic to tmake_file.
11643 Set extra_parts.
11644 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
11645 Set extra_parts.
11646 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
11647 (sparc-*-elf*): Remove t-crtin from tmake_file.
11648 Add to extra_parts, remove crtbegin.o, crtend.o.
11649 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
11650 (sparc64-*-linux*): Likewise.
11651 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
11652 Add to extra_parts, remove crtbegin.o, crtend.o.
11653 (sparc64-*-elf*): Remove t-crtin from tmake_file.
11654 Add to extra_parts, remove crtbegin.o, crtend.o.
11655 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
11656 Add to extra_parts, remove crtbegin.o, crtend.o.
11657 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
11658 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
11659 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
11660 Set extra_parts.
11661 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
11662 Set extra_parts.
11663 (tic6x-*-*): Change to ...
11664 (tic6x-*-elf): ... this.
11665 Set extra_parts.
11666 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
11667 Set extra_parts.
11668 (am33_2.0-*-linux*): Add comment.
11669 (mep*-*-*): Add mep/t-mep to tmake_file.
11670 Set extra_parts.
11671 * config/alpha/t-vms: New file.
11672 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
11673 * config/arm/crti.S, config/arm/crtn.S: New files.
11674 * config/bfin/crti.S, config/bfin/crtn.S: New files.
11675 * config/bfin/crtlibid.S: New file.
11676 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
11677 * config/c6x/crti.S, config/c6x/crtn.S: New files.
11678 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
11679 (crti.o, crtin.o): New rules.
11680 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11681 * config/c6x/t-uclinux: New file.
11682 * config/cris/t-elfmulti: New file.
11683 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
11684 * config/fr30/crti.S, config/fr30/crtn.S: New files.
11685 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
11686 * config/frv/t-frv: New file.
11687 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
11688 * config/h8300/crti.S, config/h8300/crtn.S: New files.
11689 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
11690 New files.
11691 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
11692 refer to cygming-crtbegin.c, cygming-crtend.c.
11693 Use $<.
11694 * config/i386/t-nto: New file.
11695 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
11696 * config/ia64/crti.S, config/ia64/crtn.S: New files.
11697 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
11698 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
11699 Use .S extension.
11700 Use $<.
11701 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11702 (crtinitS.o): New rule.
11703 * config/ia64/vms-crtinit.S: New file.
11704 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
11705 * config/m32r/initfini.c: New file.
11706 * config/m32r/t-linux, config/m32r/t-m32r: New files.
11707 * config/m68k/crti.S, config/m68k/crtn.S: New files.
11708 * config/mcore/crti.S, config/mcore/crtn.S: New files.
11709 * config/mep/t-mep: New file.
11710 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
11711 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
11712 * config/mips/crti.S, config/mips/crtn.S: New files.
11713 * config/mips/t-crtstuff: New file.
11714 * config/mmix/crti.S, config/mmix/crtn.S: New files.
11715 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
11716 (CUSTOM_CRTIN): Set.
11717 ($(T)crti.o, $(T)crtn.o): Remove $(T),
11718 dependencies.
11719 Use $(srcdir) to refer to crti.S, crtn.S.
11720 Use .S extension, $<.
11721 * config/moxie/crti.asm: Rename to ...
11722 * config/moxie/crti.S: ... this.
11723 * config/moxie/crtn.asm: Rename to ...
11724 * config/moxie/crtn.S: ... this.
11725 * config/moxie/t-moxie: Remove.
11726 * config/pa/stublib.c: New file.
11727 * config/pa/t-stublib, config/pa/t-stublib64: New files.
11728 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
11729 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
11730 * config/rs6000/t-crtstuff: New file.
11731 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
11732 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
11733 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
11734 Make output file explicit.
11735 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
11736 Make output file explicit.
11737 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
11738 Make output file explicit.
11739 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
11740 Make output file explicit.
11741 * config/score/crti.S, config/score/crtn.S: New files.
11742 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
11743 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
11744 files.
11745 * config/sh/t-sh, config/sh/t-superh: New files.
11746 * config/sparc/t-linux64: New file.
11747 * config/spu/cache.S, config/spu/cachemgr.c: New files.
11748 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
11749 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
11750 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
11751 * config/t-crtin: Remove.
11752 * config/t-crtstuff-pic: New file.
11753 * config/t-sol2 (CUSTOM_CRTIN): Set.
11754 (crti.o, crtn.o): New rules.
11755 * config/vms/t-vms: New file.
11756 * config/vms/vms-ucrt0.c: New file.
11757 * config/xtensa/t-elf: New file.
11758
11759 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
11760
11761 * Makefile.in (SHLIB_NM_FLAGS): Set.
11762 * mkmap-flat.awk, mkmap-symver.awk: New files.
11763 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
11764 exceptions.
11765 * configure: Regenerate.
11766 * config/libgcc-glibc.ver: New file.
11767 * config/libgcc-libsystem.ver: New file.
11768 * config/t-libunwind (SHLIB_LC): Set.
11769 * config/t-linux: New file.
11770 * config/t-slibgcc (INSTALL_SHLIB): New.
11771 (SHLIB_INSTALL): Use it.
11772 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
11773 to mkmap-symver.awk.
11774 (SHLIB_MAPFILES): Don't append, adapt pathname.
11775 (SHLIB_VERPFX): Set.
11776 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
11777 to mkmap-symver.awk.
11778 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
11779 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
11780 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
11781 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
11782 to mkmap-flat.awk.
11783 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
11784 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
11785 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
11786 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
11787 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
11788 * config/i386/libgcc-darwin.10.4.ver,
11789 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
11790 New files.
11791 * config/i386/t-darwin: Remove.
11792 * config/i386/t-darwin64: Likewise.
11793 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
11794 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
11795 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
11796 * config/i386/t-linux: New file.
11797 * config/i386/t-mingw32: New file.
11798 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
11799 * config/ia64/t-glibc: Rename to ...
11800 * config/ia64/t-linux: ... this.
11801 (SHLIB_MAPFILES): Set.
11802 * config/ia64/t-glibc-libunwind: Rename to ...
11803 * config/ia64/t-linux-libunwind: ... this.
11804 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
11805 * config/ia64/t-slibgcc-hpux: New file.
11806 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
11807 * config/m68k/t-slibgcc-elf-ver: New file.
11808 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
11809 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
11810 to mkmap-flat.awk.
11811 * config/pa/t-slibgcc-hpux: New file.
11812 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11813 files.
11814 * config/rs6000/libgcc-darwin.10.4.ver,
11815 config/rs6000/libgcc-darwin.10.5.ver: New files.
11816 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11817 config/rs6000/libgcc-glibc.ver.
11818 * config/rs6000/libgcc-ppc64.ver: Rename to
11819 config/rs6000/libgcc-ibm-ldouble.ver.
11820 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11821 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11822 * config/rs6000/t-ldbl128: Rename to ...
11823 * config/rs6000/t-linux: ... this.
11824 (SHLIB_MAPFILES): Adapt filename.
11825 * config/rs6000/t-slibgcc-aix: New file.
11826 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11827 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11828 libgcc-excl.ver, libgcc-glibc.ver.
11829 (SHLIB_LINK, SHLIB_INSTALL): Remove.
11830 * config/sparc/libgcc-glibc.ver: New file.
11831 * config/sparc/t-linux: New file.
11832 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11833 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11834 t-slibgcc-elf-ver to tmake_file.
11835 Add t-slibgcc-nolc-override to tmake_file for posix threads on
11836 *-*-freebsd[34].
11837 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11838 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11839 t-slibgcc-elf-ver, t-linux to tmake_file.
11840 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11841 tmake_file.
11842 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11843 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11844 (alpha*-dec-*vms*): Likewise.
11845 (arm*-*-freebsd*): Append to tmake_file.
11846 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11847 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11848 arm*-*-linux-*eabi.
11849 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11850 tmake_file for arm*-*-symbianelf*.
11851 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11852 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11853 cris/t-linux.
11854 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11855 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11856 pa/t-slibgcc-dwarf-ver to tmake_file.
11857 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11858 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11859 (hppa*64*-*-hpux11*): Likewise.
11860 (hppa[12]*-*-hpux11*): Likewise.
11861 (x86_64-*-darwin*): Don't override tmake_file, but only keep
11862 i386/t-crtpc, i386/t-crtfm.
11863 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11864 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11865 to tmake_file.
11866 Add i386/t-cygwin to tmake_file.
11867 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11868 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11869 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11870 to tmake_file.
11871 Add i386/t-mingw32 to tmake_file.
11872 (x86_64-*-mingw*): Likewise.
11873 (ia64*-*-freebsd*): Append to tmake_file.
11874 (ia64*-*-linux*): Append to tmake_file.
11875 Replace ia64/t-glibc by ia64/t-linux.
11876 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11877 system libunwind.
11878 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11879 t-slibgcc-hpux to tmake_file.
11880 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11881 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11882 (m32rle-*-linux*): Likewise.
11883 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11884 sjlj exceptions.
11885 (microblaze*-linux*): New case.
11886 Append to tmake_file, add t-slibgcc-nolc-override.
11887 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11888 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11889 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11890 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11891 rs6000/t-slibgcc-aix to tmake_file.
11892 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11893 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11894 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11895 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11896 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11897 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11898 sh*-*-linux*.
11899 (sparc-*-linux*): Append to tmake_file for *-leon*.
11900 Add sparc/t-linux to tmake_file for non-Leon targets.
11901 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11902 (tic6x-*-uclinux): New case.
11903 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11904 (tic6x-*-*): Add c6x/t-elf to tmake_file.
11905 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11906 (am33_2.0-*-linux*): Append to tmake_file.
11907 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11908 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11909 x86_64-*-kfreebsd*-gnu.
11910 Add i386/t-linux to tmake_file.
11911
11912 2011-10-28 Ian Lance Taylor <iant (a] google.com>
11913
11914 * config/i386/morestack.S: Correct CFI information to do proper
11915 returns throughout function. In 32-bit mode, save %ebx so that it
11916 is restored on unwind.
11917
11918 2011-10-25 Bernd Schmidt <bernds (a] codesourcery.com>
11919
11920 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11921 case where B3 isn't the return register.
11922
11923 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11924 logic for doubleword pops.
11925
11926 2011-10-25 Andreas Tobler <andreast (a] fgznet.ch>
11927
11928 * config/rs6000/t-freebsd: Add wildcard.
11929
11930 2011-10-21 Paul Brook <paul (a] codesourcery.com>
11931
11932 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11933
11934 2011-10-16 Uros Bizjak <ubizjak (a] gmail.com>
11935 Eric Botcazou <ebotcazou (a] adacore.com>
11936
11937 PR target/50737
11938 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11939 fs->signal_frame to 1.
11940
11941 2011-10-07 Ian Lance Taylor <iant (a] google.com>
11942
11943 * generic-morestack-thread.c: #include <errno.h>.
11944
11945 2011-10-07 Ian Lance Taylor <iant (a] google.com>
11946
11947 PR target/46093
11948 * generic-morestack.c (__generic_morestack): Make sure the segment
11949 is large enough for both the stack frame and the copied
11950 parameters.
11951
11952 2011-10-06 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
11953
11954 PR bootstrap/49804
11955 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11956 extra_parts.
11957
11958 2011-09-28 Nick Clifton <nickc (a] redhat.com>
11959
11960 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11961 64-bit doubles are not enabled.
11962 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11963 and floatunsisf functions.
11964
11965 2011-09-13 Paul Brook <paul (a] codesourcery.com>
11966
11967 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
11968 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11969 * unwind-arm-common.inc: New file.
11970 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11971 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11972 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11973 * config/c6x/libunwind.S: New file.
11974 * config/c6x/pr-support.c: New file.
11975 * config/c6x/unwind-c6x.c: New file.
11976 * config/c6x/unwind-c6x.h: New file.
11977 * config/c6x/t-c6x-elf: New file.
11978
11979 2011-08-23 Uros Bizjak <ubizjak (a] gmail.com>
11980
11981 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11982 (ASM_DIVZERO): Ditto.
11983 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11984
11985 2011-08-18 Richard Sandiford <richard.sandiford (a] linaro.org>
11986
11987 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11988
11989 2011-08-17 Richard Sandiford <richard.sandiford (a] linaro.org>
11990
11991 PR target/50090
11992 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11993 instead of an assembly one.
11994
11995 2011-08-12 Paolo Bonzini <bonzini (a] gnu.org>
11996
11997 PR bootstrap/50047
11998 * Makefile.in (install-unwind_h): Create
11999 $(gcc_objdir)/include/unwind.h atomically.
12000
12001 2011-08-11 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12002
12003 * Makefile.in (install-unwind_h): Remove destination file first.
12004
12005 2011-08-09 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12006
12007 * sync.c: New file.
12008 * config/mips/t-mips16: New file.
12009 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
12010 (mips*-*-linux*): Likewise.
12011 (mips*-sde-elf*): Likewise.
12012 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
12013 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
12014 Add mips/t-mips16 to tmake_file.
12015 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
12016 (mips-*-elf*): Likewise.
12017 (mips64-*-elf*): Likewise.
12018 (mips64orion-*-elf*): Likewise.
12019 (mips*-*-rtems*): Likewise.
12020 (mipstx39-*-elf*): Likewise.
12021 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
12022 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
12023 LIBGCC_SYNC_CFLAGS.
12024 Use $(srcdir) to refer to sync.c.
12025 Use $<.
12026 ($(libgcc-sync-funcs-o)): Likewise.
12027 ($(libgcc-sync-size-funcs-s-o)): Likewise.
12028 ($(libgcc-sync-funcs-s-o)): Likewise.
12029
12030 2011-08-09 Andreas Schwab <schwab (a] linux-m68k.org>
12031
12032 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
12033 t-libunwind.
12034
12035 2011-08-08 H.J. Lu <hongjiu.lu (a] intel.com>
12036
12037 PR other/48007
12038 * config/i386/value-unwind.h: New.
12039
12040 2011-08-06 Richard Sandiford <rdsandiford (a] googlemail.com>
12041
12042 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
12043 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
12044 Add to tmake_file rather than overriding it.
12045
12046 2011-08-05 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12047
12048 * config/t-softfp: Remove.
12049 * soft-fp: Moved from ../gcc/config.
12050 * soft-fp/README: Remove t-softfp reference.
12051 * soft-fp/t-softfp: Move to config/t-softfp.
12052 (softfp_machine_header): Remove.
12053 (softfp_file_list): Remove config subdir.
12054 (soft-fp-objects): New variable.
12055 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
12056 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
12057 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
12058 * config/t-softfp-excl: New file.
12059 * config/t-softfp-sfdf: New file.
12060 * config/t-softfp-tf: New file.
12061 * config/no-sfp-machine.h: New file.
12062 * config/arm/sfp-machine.h: New file.
12063 * config/arm/t-softfp: New file.
12064 * config/c6x/sfp-machine.h: New file.
12065 * config/i386/32/t-fprules-softfp: Rename to ...
12066 * config/i386/32/t-softfp: ... this.
12067 (tifunctions, LIB2ADD): Remove.
12068 (softfp_int_modes): Override.
12069 * config/i386/64/t-softfp-compat (tf-functions): Remove config
12070 subdir.
12071 * config/i386/64/eqtf2.c: Likewise.
12072 * config/i386/64/getf2.c: Likewise.
12073 * config/i386/64/letf2.c: Likewise.
12074 * config/ia64/sft-machine.h: New file.
12075 * config/ia64/t-fprules-softfp: Rename to ...
12076 * config/ia64/t-softfp: ... this.
12077 * config/lm32/sfp-machine.h: New file.
12078 * config/moxie/t-moxie-softfp: Remove.
12079 * config/rs6000/ibm-ldouble-format: New file.
12080 * config/rs6000/ibm-ldouble.c: New file.
12081 * config/rs6000/libgcc-ppc-glibc.ver: New file
12082 * config/rs6000/libgcc-ppc64.ver: New file
12083 * config/rs6000/sfp-machine.h: New file.
12084 * config/rs6000/t-freebsd: New file.
12085 * config/rs6000/t-ibm-ldouble: New file.
12086 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
12087 libgcc-ppc-glibc.ver.
12088 * config/rs6000/t-linux64: New file.
12089 * config/rs6000/t-ppccomm (LIB2ADD): Add
12090 $(srcdir)/config/rs6000/ibm-ldouble.c.
12091 * config/rs6000/t-ppccomm-ldbl: New file.
12092 * config/score/sfp-machine.h: New file.
12093 * config.host (sfp_machine_header): Explain.
12094 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
12095 t-softfp to tmake_file.
12096 (arm*-*-uclinux*): Likewise.
12097 (arm*-*-ecos-elf): Likewise.
12098 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
12099 (arm*-*-rtems*): Likewise.
12100 (arm*-*-elf): Likewise.
12101 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
12102 in tmake_file.
12103 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
12104 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
12105 (lm32-*-uclinux*): Likewise.
12106 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
12107 t-softfp-excl, t-softfp.
12108 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
12109 (powerpc64-*-darwin*): Likewise.
12110 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
12111 to tmake_file.
12112 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
12113 tmake_file.
12114 (powerpc-*-eabisim*): Likewise.
12115 (powerpc-*-elf*): Likewise.
12116 (powerpc-*-eabialtivec*): Likewise.
12117 (powerpc-xilinx-eabi*): Likewise.
12118 (powerpc-*-rtems*): Likewise.
12119 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
12120 t-softfp-excl, t-softfp to tmake_file.
12121 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
12122 rs6000/t-ppccomm-ldbl to tmake_file.
12123 (powerpcle-*-elf*): Likewise.
12124 (powerpcle-*-eabisim*): Likewise.
12125 (powerpcle-*-eabi*): Likewise.
12126 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
12127 rs6000/t-ibm-ldouble to tmake_file.
12128 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12129 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12130 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
12131 (tic6x-*-*): Likewise.
12132 (i[34567]86-*-darwin*, x86_64-*-darwin*,
12133 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
12134 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
12135 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
12136 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
12137 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
12138 t-softfp to tmake_file.
12139 * configure.ac (sfp_machine_header): Provide default if unset.
12140 Substitute.
12141 Link sfp-machine.h to config/$sfp_machine_header.
12142 * configure: Regenerate.
12143
12144 2011-08-05 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12145
12146 * Makefile.in (double_type_size, long_double_type_size): Set.
12147 Remove $(fpbit-in-libgcc) support.
12148 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
12149 (fpbit-src): New variable.
12150 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
12151 Compile with -DFLOAT $(FPBIT_CFLAGS).
12152 Use $<.
12153 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
12154 Compile with $(FPBIT_CFLAGS).
12155 Use $<.
12156 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
12157 Compile with -DFLOAT $(TPBIT_CFLAGS).
12158 Use $<.
12159 * configure.ac (double_type_size, long_double_type_size):
12160 Determine and substitute.
12161 * configure: Regenerate.
12162 * fp-bit.c, fp-bit.h: New files.
12163 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
12164 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
12165 * config/mips/t-mips: New file.
12166 * config/mips/t-sdemtk: New file.
12167 * config/rs6000/ppc64-fp.c: New file.
12168 * config/rs6000/t-darwin (LIB2ADD): Add
12169 $(srcdir)/config/rs6000/ppc64-fp.c.
12170 * config/rs6000/t-ppc64-fp: New file.
12171 * config/rx/rx-lib.h: New file.
12172 * config/rx/t-rx (FPBIT): Set to true.
12173 ($(gcc_objdir)/fp-bit.c): Remove.
12174 (DPBIT): Set to true only with -m64bit-doubles.
12175 ($(gcc_objdir)/dp-bit.c): Remove.
12176 * config/sparc/t-softfp: Remove.
12177 * config/spu/t-elf: New file.
12178 * config/t-fdpbit, config/t-fpbit: New files.
12179 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
12180 (mips*-*-*): Likewise.
12181 (arm-wrs-vxworks): Likewise.
12182 (arm*-*-freebsd*): Likewise.
12183 (avr-*-rtems*): Add t-fpbit to tmake_file.
12184 (avr-*-*): Likewise.
12185 (bfin*-elf*): Add t-fdpbit to tmake_file.
12186 (bfin*-uclinux*): Likewise.
12187 (bfin*-linux-uclibc*): Likewise.
12188 (bfin*-rtems*): New case.
12189 Add t-fdpbit to tmake_file.
12190 (bfin*-*): Add t-fdpbit to tmake_file.
12191 (crisv32-*-elf): Likewise.
12192 (cris-*-linux*): Likewise.
12193 (fr30-*-elf): Likewise.
12194 (frv-*-elf, frv-*-*linux*): Likewise.
12195 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
12196 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
12197 (m32r-*-elf*): Likewise.
12198 (m32rle-*-elf*): Likewise.
12199 (m32r-*-linux*): Likewise.
12200 (m32rle-*-linux*): Likewise.
12201 (mcore-*-elf): Add t-fdpbit to tmake_file.
12202 (microblaze*-*-*): Likewise.
12203 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
12204 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
12205 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
12206 Fix typo.
12207 Add mips/t-tpbit to tmake-file.
12208 (mips*-*-linux*): Fix typo.
12209 (mips*-sde-elf*): New case
12210 Add mips/t-sdemtk unless using newlib.
12211 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
12212 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
12213 (mn10300-*-*): Likewise.
12214 (pdp11-*-*): Likewise.
12215 (picochip-*-*): Add t-fpbit to tmake_file.
12216 (powerpc-*-eabisimaltivec*): Likewise.
12217 (powerpc-*-eabisim*): Likewise.
12218 (powerpc-*-elf*): Likewise.
12219 (powerpc-*-eabialtivec*): Likewise.
12220 (powerpc-xilinx-eabi*): New case.
12221 Add t-fdpbit to tmake_file.
12222 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
12223 (powerpc-*-rtems*): Likewise.
12224 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
12225 tmake_file.
12226 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
12227 tmake_file.
12228 (powerpc-*-lynxos*): Likewise.
12229 (powerpcle-*-elf*): Likewise.
12230 (powerpcle-*-eabisim*): Likewise.
12231 (powerpcle-*-eabi*): Likewise.
12232 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
12233 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
12234 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12235 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12236 (rx-*-elf): Add t-fdpbit to tmake_file.
12237 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
12238 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
12239 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
12240 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
12241 sh*-*-netbsd*.
12242 (sh-*-rtems*): Add t-fdpbit to tmake_file.
12243 (sh-wrs-vxworks): Likewise.
12244 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
12245 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
12246 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
12247 (sparc64-*-rtems*): ... new case.
12248 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
12249 (spu-*-elf*): Likewise.
12250 Add spu/t-elf to tmake_file.
12251 (v850*-*-*): Add t-fdpbit to tmake_file.
12252 (xstormy16-*-elf): Likewise.
12253 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
12254 (mep*-*-*): Likewise.
12255
12256 2011-08-05 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12257
12258 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
12259 variables.
12260 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
12261 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
12262 (install-unwind_h): New target.
12263 (all): Depend on it.
12264 * config.host (unwind_header): New variable.
12265 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
12266 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
12267 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
12268 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
12269 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
12270 Set unwind_header.
12271 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
12272 Set unwind_header.
12273 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
12274 arm*-*-eabi*.
12275 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
12276 Set unwind_header.
12277 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
12278 (ia64*-*-freebsd*): Likewise.
12279 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
12280 tmake_file.
12281 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
12282 $with_system_libunwind.
12283 (ia64*-*-hpux*): Set tmake_file.
12284 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
12285 (picochip-*-*): Set tmake_file.
12286 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
12287 md_unwind_header.
12288 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12289 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12290 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
12291 (xtensa*-*-elf*): Set tmake_file.
12292 (xtensa*-*-linux*): Likewise.
12293 * configure.ac: Include ../config/unwind_ipinfo.m4.
12294 Call GCC_CHECK_UNWIND_GETIPINFO.
12295 Link unwind.h to $unwind_header.
12296 * configure: Regenerate.
12297 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
12298 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
12299 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
12300 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
12301 * config/unwind-dw2-fde-darwin.c: New file.
12302 * config/arm/libunwind.S, config/arm/pr-support.c,
12303 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
12304 config/arm/unwind-arm.h,: New files.
12305 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
12306 config/ia64/t-eh-ia64, config/ia64/t-glibc,
12307 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
12308 config/ia64/t-vms, config/ia64/unwind-ia64.c,
12309 config/ia64/unwind-ia64.h: New files.
12310 * config/picochip/t-picochip: New file.
12311 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
12312 files.
12313 * config/rs6000/t-darwin (LIB2ADDEH): Set.
12314 * config/s390/t-tpf (LIB2ADDEH): Remove.
12315 * config/t-darwin (LIB2ADDEH): Set.
12316 * config/t-eh-dw2-dip: New file.
12317 * config/t-libunwind, config/t-libunwind-elf: New files.
12318 * config/t-sol2 (LIB2ADDEH): Remove.
12319 * config/xtensa/t-xtensa: New file.
12320
12321 2011-08-02 H.J. Lu <hongjiu.lu (a] intel.com>
12322
12323 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
12324 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
12325 long long to check rt_sigreturn syscall.
12326
12327 2011-08-02 Alan Modra <amodra (a] gmail.com>
12328
12329 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
12330 Restore for indirect call bcrtl from correct stack slot, and only
12331 if cfa+40 isn't valid.
12332
12333 2011-08-01 Julian Brown <julian (a] codesourcery.com>
12334
12335 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
12336 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
12337 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
12338
12339 2011-08-01 Julian Brown <julian (a] codesourcery.com>
12340
12341 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
12342 (libgcc-std.ver.in): Use above.
12343 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
12344 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
12345 throughout file.
12346 * config/t-fixedpoint-gnu-prefix: New file.
12347 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
12348 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
12349 instead of __PFX__.
12350
12351 2011-07-28 H.J. Lu <hongjiu.lu (a] intel.com>
12352
12353 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
12354 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
12355 for x86-64. Properly check __x86_64__ and __LP64__.
12356
12357 2010-07-28 H.J. Lu <hongjiu.lu (a] intel.com>
12358
12359 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
12360 version.
12361 (_FP_WS_TYPE): Likewise.
12362 (_FP_I_TYPE): Likewise.
12363
12364 2011-07-28 Alan Modra <amodra (a] gmail.com>
12365
12366 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
12367 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
12368 in a plt call stub. Do restore r2 if stopped on bctrl.
12369
12370 2011-07-18 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12371
12372 * config.host (i[3456x]86-*-netware*): Remove.
12373 * config/i386/netware-crt0.c, config/i386/t-nwld,
12374 config/i386/t-slibgcc-nwld: Remove.
12375
12376 2011-07-15 Bernd Schmidt <bernds (a] codesourcery.com>
12377
12378 * config.host: Handle tic6x-*-*.
12379 * config/c6x/c6x-abi.h: New file.
12380
12381 2011-07-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12382
12383 * config/i386/crtprec.c: New file.
12384 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
12385 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
12386 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
12387 (x86_64-*-darwin*): Likewise.
12388 (i[34567]86-*-solaris2*: Likewise.
12389
12390 2011-07-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12391
12392 * config/alpha/crtfastmath.c: New file.
12393 * config/i386/crtfastmath.c: New file.
12394 * config/ia64/crtfastmath.c: New file.
12395 * config/mips/crtfastmath.c: New file.
12396 * config/sparc/crtfastmath.c: New file.
12397
12398 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
12399 crtfastmath.c.
12400 Add -frandom-seed=gcc-crtfastmath.
12401 * config/alpha/t-crtfm: Remove.
12402 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
12403 * config/ia64/t-ia64 (crtfastmath.o): Remove.
12404
12405 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
12406 (alpha*-dec-osf5.1*): Likewise.
12407 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
12408 Add crtfastmath.o to extra_parts.
12409 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
12410 Add crtfastmath.o to extra_parts.
12411 (x86_64-*-darwin*): Likewise.
12412 (x86_64-*-mingw*): Likewise.
12413 (ia64*-*-elf*): Add t-crtfm to tmake_file.
12414 (ia64*-*-freebsd*): Likewise.
12415 (ia64*-*-linux*): Likewise.
12416 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
12417 Add crtfastmath.o to extra_parts.
12418
12419 2011-07-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12420
12421 * config/darwin-crt3.o: New file.
12422 * config/rs6000/darwin-crt2.c: New file.
12423 * config/t-darwin: New file.
12424 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
12425 (crt2.o): New rule.
12426 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
12427 (powerpc-*-darwin*): Add crt2.o to extra_parts.
12428 (powerpc64-*-darwin*): Likewise.
12429
12430 2011-07-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12431
12432 * config/i386/netware-crt0.c: New file.
12433 * config/i386/t-nwld: Rename to ...
12434 * config/i386/t-slibgcc-nwld: ... this.
12435 * config/i386/t-nwld: New file.
12436 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
12437 tmake_file.
12438 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
12439 extra_parts.
12440
12441 2011-07-11 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12442
12443 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
12444 i386/t-crtstuff.
12445 * configure: Regenerate.
12446
12447 2011-07-11 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12448
12449 * dfp-bit.c, dfp-bit.h: New files.
12450 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
12451 variables.
12452 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
12453 ($(d64pbit-o)): Likewise.
12454 ($(d128pbit-o)): Likewise.
12455 * config/t-dfprules: New file.
12456 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
12457 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
12458 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
12459 (x86_64-*-linux*): Likewise.
12460 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
12461 (i[34567]86-*-cygwin*): Likewise.
12462 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
12463 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
12464
12465 2011-07-08 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12466
12467 * Makfile.in (LIBGCOV): New variable.
12468 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
12469 * libgcov.c: New file.
12470
12471 2011-07-08 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12472
12473 * fixed-bit.c, fixed-bit.h: New files.
12474 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
12475 refer to fixed-bit.c.
12476
12477 2011-07-07 Joseph Myers <joseph (a] codesourcery.com>
12478
12479 * config.host (*local*): Remove.
12480
12481 2011-07-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12482
12483 PR target/39150
12484 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
12485 like i?86-*-solaris2.1[0-9]*.
12486 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
12487 * configure.ac (i?86-*-solaris2*): Likewise.
12488 * configure: Regenerate.
12489
12490 2011-07-06 Thomas Schwinge <thomas (a] schwinge.name>
12491
12492 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
12493 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
12494 md_unwind_header by splitting out of...
12495 (i[34567]86-*-linux*): ... this.
12496 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
12497 Remove md_unwind_header by splitting out of...
12498 (x86_64-*-linux*): ... this.
12499
12500 2011-07-04 Georg-Johann Lay <avr (a] gjlay.de>
12501
12502 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
12503
12504 2011-06-28 Nick Clifton <nickc (a] redhat.com>
12505
12506 * config.host: Recognize all V850 variants.
12507
12508 2011-06-22 Uros Bizjak <ubizjak (a] gmail.com>
12509
12510 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
12511
12512 2011-06-21 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12513
12514 * shared-object.mk (c_flags-$o): Save c_flags.
12515 ($(base)$(objext)): Use it.
12516 ($(base)_s$(objext)): Likewise.
12517
12518 2011-06-21 Bernd Schmidt <bernds (a] codesourcery.com>
12519
12520 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
12521 * libgcc-std.ver.in (GCC_4.7.0): New section.
12522
12523 2011-06-16 Georg-Johann Lay <avr (a] gjlay.de>
12524
12525 PR target/49313
12526 PR target/29524
12527 * config/avr/t-avr: Fix line endings.
12528 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
12529 _parityXX2.
12530
12531 2011-06-14 Olivier Hainque <hainque (a] adacore.com>
12532 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12533
12534 * config/mips/irix6-unwind.h: New file.
12535 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
12536
12537 2011-06-10 Eric Botcazou <ebotcazou (a] adacore.com>
12538
12539 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
12540 (sparc64_fallback_frame_state): Use it.
12541 (sparc64_frob_update_context): Further adjust context.
12542 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
12543 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
12544 * config/sparc/sol2-cn.S: Likewise.
12545
12546 2011-06-09 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12547
12548 * enable-execute-stack-empty.c: New file.
12549 * enable-execute-stack-mprotect.c: New file.
12550 * config/i386/enable-execute-stack-mingw32.c: New file.
12551 * config.host (enable_execute_stack): New variable.
12552 Select appropriate variants.
12553 * configure.ac: Link enable-execute-stack.c to
12554 $enable_execute_stack.
12555 * configure: Regenerate.
12556 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
12557 (lib2funcs): Remove _enable_execute_stack.
12558
12559 2011-06-09 David S. Miller <davem (a] davemloft.net>
12560 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12561
12562 * config.host (sparc-*-linux*): Correct md_unwind_header
12563 filename.
12564 (s390x-ibm-tpf*): Fix typo.
12565
12566 2011-06-06 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12567
12568 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
12569 Add crtfastmath.o to extra_parts.
12570 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
12571 mips/t-crtfm.
12572 * config/mips/t-crtfm: Remove.
12573
12574 2011-06-04 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
12575
12576 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
12577
12578 2011-06-04 Kaz Kojima <kkojima (a] gcc.gnu.org>
12579
12580 * config.host (sh*-*-linux*): Fix typo.
12581
12582 2011-06-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12583
12584 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
12585 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
12586 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
12587 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
12588 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
12589 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
12590 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
12591 Wrap in !__MINGW64__.
12592 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
12593 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
12594 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
12595 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
12596 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
12597 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
12598 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
12599 Wrap in !__LP64__.
12600 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
12601 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
12602 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
12603 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
12604 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
12605 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
12606 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
12607 * config/no-unwind.h: New file.
12608 * config.host (md_unwind_header): Document.
12609 Define.
12610 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
12611 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
12612 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
12613 hppa[12]*-*-hpux11*): Set md_unwind_header.
12614 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
12615 Set md_unwind_header.
12616 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
12617 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
12618 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
12619 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
12620 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
12621 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
12622 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
12623 md_unwind_header.
12624 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
12625 * configure: Regenerate.
12626
12627 2011-06-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12628
12629 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
12630 Set tmake_file, extra_parts.
12631 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
12632 Remove O32 support.
12633 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
12634 Remove O32 support.
12635 * config/mips/t-irix6: New file.
12636 * config/mips/t-slibgcc-irix: New file.
12637
12638 2011-06-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12639
12640 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
12641 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
12642
12643 2011-06-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12644
12645 * configure.ac (target_thread_file): Determine thread model.
12646 * configure: Regenerate.
12647 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
12648 * config/alpha/t-alpha: New file.
12649 * config/alpha/t-crtfm: Use $<.
12650 * config/alpha/t-ieee: New file.
12651 * config/alpha/t-osf-pthread: New file.
12652 * config/alpha/t-slibgcc-osf: New file.
12653 * config/alpha/libgcc-osf5.ver: New file.
12654
12655 2011-06-01 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12656
12657 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
12658 tmake_file.
12659 Add crtfastmath.o to extra_parts.
12660
12661 2011-06-01 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12662
12663 * config/gmon-sol2.c: Reindent.
12664 Cleanup comments.
12665 Remove, correct casts.
12666 Use STDERR_FILENO, NULL.
12667 (BASEADDRESS): Remove.
12668 (minbrk): Remove.
12669 (errno, sbrk): Remove declarations.
12670 (monstartup) [hp300]: Remove.
12671 (mcount): Remove.
12672
12673 2011-06-01 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12674
12675 * Makefile.in (cpu_type): Define.
12676 * config.host (i[34567]86-*-rtems*): Handle it.
12677 (i[34567]86-*-solaris2*): Move body ...
12678 (*-*-solaris2*): ... here.
12679 New case, generalize.
12680 (sparc-*-elf*): Handle it.
12681 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
12682 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
12683 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
12684 Fold into ...
12685 (sparc*-*-solaris2*): ... this.
12686 New case.
12687 (sparc64-*-elf*): Handle it.
12688 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
12689 Merge ../gcc/config/i386/gmon-sol2.c.
12690 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
12691 Use C comments.
12692 Merge ../gcc/config/i386/sol2-gc1.asm.
12693 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
12694 Use C comments.
12695 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
12696 Use C comments.
12697 * config/i386/t-crtfm (crtfastmath.o): Use $<.
12698 * config/i386/t-crtstuff: New file.
12699 * config/i386/t-softfp: New file.
12700 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
12701 $(T)crti.o, $(T)crtn.o): Remove.
12702 (gcrt1.o): New rule.
12703 (TARGET_LIBGCC2_CFLAGS): Remove.
12704 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
12705 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
12706 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
12707 * config/sparc/t-sol2: New file.
12708 * config/sparc/t-crtfm: Move to ...
12709 * config/t-crtfm: ... this.
12710 Use $(cpu_type), $<.
12711 * config/t-crtin: New file.
12712 * config/sparc/t-softfp: New file.
12713 * config/sparc/t-softmul: New file.
12714 * config/t-rtems: New file.
12715 * config/t-slibgcc: New file.
12716 * config/t-slibgcc-elf-ver: New file.
12717 * config/t-slibgcc-gld: New file.
12718 * config/t-slibgcc-sld: New file.
12719 * config/t-sol2: New file.
12720 * configure.ac: Include ../config/lib-ld.m4.
12721 Call AC_LIB_PROG_LD_GNU.
12722 Substitute cpu_type.
12723 * configure: Regenerate.
12724
12725 2011-05-27 Bernd Schmidt <bernds (a] codesourcery.com>
12726
12727 PR bootstrap/49173
12728 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
12729 libgcc-std.ver in the build directory.
12730 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
12731 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
12732
12733 2011-05-25 Bernd Schmidt <bernds (a] codesourcery.com>
12734
12735 * libgcc-std.ver.in: New file.
12736 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
12737 variables.
12738 (libgcc-std.ver): New rule.
12739 * config/t-gnu-prefix: New file.
12740
12741 2011-05-23 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12742
12743 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
12744
12745 2011-05-10 Joseph Myers <joseph (a] codesourcery.com>
12746
12747 * config/i386/darwin-lib.h: New file.
12748
12749 2011-05-10 Joseph Myers <joseph (a] codesourcery.com>
12750
12751 * config/arm/symbian-lib.h: New.
12752
12753 2011-05-04 Chris Demetriou <cgd (a] google.com>
12754
12755 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
12756 (__x86.get_pc_thunk.bx): ...this.
12757 (__morestack): Adjust for rename, remove undef of __i686.
12758
12759 2011-05-03 Chris Demetriou <cgd (a] google.com>
12760
12761 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
12762
12763 2011-03-22 Joseph Myers <joseph (a] codesourcery.com>
12764
12765 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
12766 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
12767 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
12768 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
12769 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
12770 Remove cases.
12771
12772 2011-03-14 Andreas Tobler <andreast (a] fgznet.ch>
12773
12774 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
12775 Adjust copyright year.
12776
12777 2011-03-07 Ian Lance Taylor <iant (a] google.com>
12778
12779 * generic-morestack.c (__splitstack_find): Adjust returned stack
12780 pointer to include all registers pushed by __morestack.
12781
12782 2011-01-26 Dave Korn <dave.korn.cygwin (a] gmail.com>
12783
12784 PR target/40125
12785 * configure.ac: Call ACX_NONCANONICAL_TARGET.
12786 (toolexecdir): Calculate and AC_SUBST.
12787 (toolexeclibdir): Likewise.
12788 * Makefile.in (target_noncanonical): Import.
12789 (toolexecdir): Likewise.
12790 (toolexeclibdir): Likewise.
12791 * configure: Regenerate.
12792
12793 2010-12-13 Nathan Froyd <froydnj (a] codesourcery.com>
12794
12795 PR target/46040
12796 * config/arm/bpabi.h: Rename to...
12797 * config/arm/bpabi-lib.h: ...this.
12798
12799 2010-12-10 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12800
12801 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
12802 appropriate.
12803 * configure: Regenerate.
12804
12805 2010-11-24 Nathan Froyd <froydnj (a] codesourcery.com>
12806
12807 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
12808 __FLOAT_WORD_ORDER__.
12809 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
12810 Delete.
12811
12812 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
12813
12814 PR other/46202
12815 * Makefile.in (install-strip): New phony target.
12816
12817 2010-11-07 Ian Lance Taylor <iant (a] google.com>
12818
12819 PR target/46089
12820 * config/i386/morestack.S (__morestack_large_model): New
12821 function.
12822
12823 2010-10-23 Nathan Froyd <froydnj (a] codesourcery.com>
12824
12825 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12826 Delete.
12827 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12828
12829 2010-10-14 Nathan Froyd <froydnj (a] codesourcery.com>
12830
12831 * config/arm/bpabi.h: New file.
12832 * config/frv/frv-abi.h: New file.
12833
12834 2010-10-01 Ian Lance Taylor <iant (a] google.com>
12835
12836 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12837 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12838
12839 2010-10-01 H.J. Lu <hongjiu.lu (a] intel.com>
12840
12841 PR target/45858
12842 * config.host: Add the missing `$'.
12843
12844 2010-09-30 Michael Eager <eager (a] eagercon.com>
12845
12846 * config.host: Add microblaze*-*-*.
12847 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12848 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12849 udivsi3.asm,umodsi3.asm}: New.
12850
12851 2010-09-28 Ian Lance Taylor <iant (a] google.com>
12852
12853 * configure.ac: Adjust CFI test to test assembler directly rather
12854 than checking gcc preprocessor macro.
12855 * configure: Rebuild.
12856
12857 2010-09-27 Ian Lance Taylor <iant (a] google.com>
12858
12859 * configure.ac: Test whether assembler supports CFI directives.
12860 * config.host: Only add t-stack and i386/t-stack-i386 to
12861 tmake_file if libgcc_cv_cfi is "yes".
12862 * configure: Rebuild.
12863
12864 2010-09-27 Ian Lance Taylor <iant (a] google.com>
12865
12866 * generic-morestack.h: New file.
12867 * generic-morestack.c: New file.
12868 * generic-morestack-thread.c: New file.
12869 * config/i386/morestack.S: New file.
12870 * config/t-stack: New file.
12871 * config/i386/t-stack-i386: New file.
12872 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12873 i386/t-stack-i386 to tmake_file.
12874
12875 2010-09-21 Iain Sandoe <iains (a] gcc.gnu.org>
12876
12877 * Makefile.in (libgcc-extra-parts): Check for static archives and
12878 invoke ranlib after installing them.
12879 (gcc-extra-parts): Likewise.
12880 (install-leaf): Likewise.
12881
12882 2010-09-14 H.J. Lu <hongjiu.lu (a] intel.com>
12883
12884 * configure: Regenerated.
12885
12886 2010-09-10 Kai Tietz <kai.tietz (a] onevision.com>
12887
12888 * configure: Regenerated.
12889
12890 2010-09-09 Gerald Pfeifer <gerald (a] pfeifer.com>
12891 Andrew Pinski <pinskia (a] gmail.com>
12892
12893 PR target/40959
12894 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
12895
12896 2010-09-06 H.J. Lu <hongjiu.lu (a] intel.com>
12897
12898 PR target/45524
12899 * configure: Regenerated.
12900
12901 2010-09-06 Andreas Schwab <schwab (a] redhat.com>
12902
12903 * configure: Regenerate.
12904
12905 2010-09-03 Uros Bizjak <ubizjak (a] gmail.com>
12906
12907 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12908 64bit targets.
12909 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12910 for 64bit targets.
12911
12912 2010-09-03 Uros Bizjak <ubizjak (a] gmail.com>
12913 Iain Sandoe <iains (a] gcc.gnu.org>
12914
12915 PR target/45476
12916 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12917 LIB2FUNCS_EXCLUDE functions.
12918
12919 2010-09-03 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
12920
12921 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12922 Include dfp.m4.
12923 * configure: Regenerate.
12924
12925 2010-09-01 Uros Bizjak <ubizjak (a] gmail.com>
12926
12927 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12928 i386/t-freebsd to tmake_file.
12929 * config/i386/t-freebsd: New file.
12930 * config/i386/libgcc-bsd.ver: New file.
12931
12932 2010-07-23 Nathan Froyd <froydnj (a] codesourcery.com>
12933
12934 * config.host (powerpc*-eabispe*): Set tmake_file.
12935 (powerpc*-eabi*): Likewise.
12936 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12937 crtbeginS, crtendS, crtbeginT.
12938
12939 2010-06-12 Kazu Hirata <kazu (a] codesourcery.com>
12940
12941 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12942 to tmake_file. Add crtfastmath.o to extra_parts.
12943 * config/mips/t-crtfm: New.
12944
12945 2010-05-19 Joel Sherrill <joel.sherrill (a] oarcorp.com>
12946
12947 * config.host (sparc64-*-rtems*): New target.
12948
12949 2010-05-19 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12950
12951 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12952 assembler syntax.
12953
12954 2010-04-15 Thomas Schwinge <tschwinge (a] gnu.org>
12955
12956 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12957
12958 2010-04-12 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12959
12960 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12961 alpha-dec-osf5.0* support.
12962
12963 2010-04-01 Ralf Corspius <ralf.corsepius (a] rtems.org>
12964
12965 * config.host: Add lm32-*-rtems*.
12966
12967 2010-03-31 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12968 Uros Bizjak <ubizjak (a] gmail.com>
12969
12970 PR target/39048
12971 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12972 like other remaining 32-bit x86 OSes.
12973 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12974 assembler syntax.
12975 * config/i386/libgcc-sol2.ver: New file.
12976 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12977
12978 2010-03-30 Jack Howarth <howarth (a] bromo.med.uc.edu>
12979
12980 PR c/43553
12981 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12982 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12983 is used and substitute set_use_emutls.
12984 * configure: Regenerated.
12985
12986 2010-03-30 Tarik Graba <tarik.graba (a] telecom-paristech.fr>
12987
12988 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12989
12990 2010-03-22 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12991
12992 PR target/38085
12993 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12994 MULTILIB_CFLAGS.
12995 ($(T)gcrt1.o): Likewise.
12996 ($(T)crt1.o): Likewise.
12997 ($(T)crti.o): Likewise.
12998 ($(T)crtn.o): Likewise.
12999
13000 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
13001
13002 PR other/42980
13003 * Makefile.in (install): Use $(MAKE) string in rule, for
13004 parallel make.
13005
13006 2010-02-22 Hans-Peter Nilsson <hp (a] bitrange.com>
13007
13008 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
13009 * config/mmix/t-mmix: New file.
13010 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
13011
13012 2010-02-02 Jack Howarth <howarth (a] bromo.med.uc.edu>
13013
13014 PR java/41991
13015 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
13016 SHLIB_MAPFILES.
13017
13018 2010-01-04 Anthony Green <green (a] moxielogic.com>
13019
13020 * config/moxie/crti.asm, config/moxie/crtn.asm,
13021 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
13022 config/moxie/t-moxie: New files.
13023 * config.host: Add t-moxie-softfp reference.
13024
13025 2009-11-18 Iain Sandoe <iain.sandoe (a] sandoe-acoustics.co.uk>
13026
13027 PR other/39888
13028 * config/t-slibgcc-darwin: Fix embedded rpaths for
13029 --enable-version-specific-runtime-libs, build extension stub
13030 libs exposing features available from current libgcc_s.
13031
13032 2009-11-11 Jon Beniston <jon (a] beniston.com>
13033
13034 * config.host: Add lm32 targets.
13035 * config/lm32: New directory.
13036 * config/lm32/libgcc_lm32.h: New file.
13037 * config/lm32/_mulsi3.c: New file.
13038 * config/lm32/_udivmodsi4.c: New file.
13039 * config/lm32/_divsi3.c: New file.
13040 * config/lm32/_modsi3.c: New file.
13041 * config/lm32/_udivsi3.c: New file.
13042 * config/lm32/_umodsi3.c: New file.
13043 * config/lm32/_lshrsi3.S: New file.
13044 * config/lm32/_ashrsi3.S: New file.
13045 * config/lm32/_ashlsi3.S: New file.
13046 * config/lm32/crti.S: New file.
13047 * config/lm32/crtn.S: New file.
13048 * config/lm32/t-lm32: New file.
13049 * config/lm32/t-elf: New file.
13050 * config/lm32/t-uclinux: New file.
13051
13052 2009-10-26 Nick Clifton <nickc (a] redhat.com>
13053
13054 * config.host: Add support for RX target.
13055 * config/rx: New directory.
13056 * config/rx/rx-abi-functions.c: New file. Supplementary
13057 functions for libgcc to support the RX ABI.
13058 * config/rx/rx-abi.h: New file. Supplementary header file for
13059 libgcc RX ABI functions.
13060 * config/rx/t-rx: New file: Makefile fragment for building
13061 libgcc for the RX.
13062
13063 2009-10-09 Uros Bizjak <ubizjak (a] gmail.com>
13064
13065 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
13066 constraint of y0 to "g".
13067
13068 2009-10-07 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
13069
13070 * config.host: Include the s390 makefile fragments.
13071 * config/s390/32/_fixdfdi.c: New file.
13072 * config/s390/32/_fixsfdi.c: New file.
13073 * config/s390/32/_fixtfdi.c: New file.
13074 * config/s390/32/_fixunsdfdi.c: New file.
13075 * config/s390/32/_fixunssfdi.c: New file.
13076 * config/s390/32/_fixunstfdi.c: New file.
13077 * config/s390/32/t-floattodi: New file.
13078 * config/s390/libgcc-glibc.ver: New file.
13079 * config/s390/t-crtstuff: New file.
13080 * config/s390/t-linux: New file.
13081 * config/s390/t-tpf: New file.
13082
13083 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
13084
13085 * configure.ac (AC_PREREQ): Bump to 2.64.
13086
13087 2009-08-22 Kaz Kojima <kkojima (a] gcc.gnu.org>
13088
13089 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
13090
13091 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
13092
13093 * configure: Regenerate.
13094
13095 2009-08-09 Douglas B Rupp <rupp (a] gnat.com>
13096
13097 * config.host (ia64-hp-*vms*): New target.
13098 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
13099 with ia64-hp-*vms*.
13100
13101 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
13102
13103 * configure.ac: Add snippet for maintainer-mode.
13104 * configure: Regenerate.
13105 * Makefile.in (AUTOCONF, configure_deps): New variables.
13106 ($(srcdir)/configure)): New rule, active only with maintainer
13107 mode turned on.
13108
13109 2009-06-23 DJ Delorie <dj (a] redhat.com>
13110
13111 Add MeP port.
13112 * config.host: Add mep support.
13113
13114 2009-06-22 Kai Tietz <kai.tietz (a] onevision.com>
13115
13116 * config.host: Add i386/${host_address}/t-fprules-softfp and
13117 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
13118
13119 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
13120 for mingw targets.
13121 * config/i386/64/_multc3.c: Likewise.
13122 * config/i386/64/_powitf2.c: Likewise.
13123 * config/i386/64/eqtf2.c: Likewise.
13124 * config/i386/64/getf2.c: Likewise.
13125 * config/i386/64/letf2.c: Likewise.
13126 * config/i386/64/letf2.c: Likewise.
13127 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
13128 unsigned long long for x64 mingw targets.
13129 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
13130 (_FP_I_TYPE): Define as long long for x64 mingw target.
13131
13132 2009-06-10 Maciej W. Rozycki <macro (a] linux-mips.org>
13133
13134 * config.host (vax-*-linux*): New.
13135
13136 2009-05-31 Anthony Green <green (a] moxielogic.com>
13137
13138 * config.host: Add moxie support.
13139 * config/moxie/t-moxie: New file.
13140
13141 2009-05-29 David Billinghurst <billingd (a] gcc.gnu.org>
13142
13143 * config.host: Add i386/${host_address}/t-fprules-softfp and
13144 t-softfp to tmake_file for i[34567]86-*-cygwin*.
13145
13146 2009-04-17 Aurelien Jarno <aurelien (a] aurel32.net>
13147
13148 * config.host: Add i386/${host_address}/t-fprules-softfp to
13149 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
13150
13151 2009-04-09 Nick Clifton <nickc (a] redhat.com>
13152
13153 * config/ia64/tf-signs.c: Change copyright header to refer to
13154 version 3 of the GNU General Public License with version 3.1
13155 of the GCC Runtime Library Exception and to point readers at
13156 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
13157 web page.
13158 * config/i386/32/tf-signs.c: Likewise.
13159 * config/libbid/_addsub_dd.c: Likewise.
13160 * config/libbid/_addsub_sd.c: Likewise.
13161 * config/libbid/_addsub_td.c: Likewise.
13162 * config/libbid/_dd_to_df.c: Likewise.
13163 * config/libbid/_dd_to_di.c: Likewise.
13164 * config/libbid/_dd_to_sd.c: Likewise.
13165 * config/libbid/_dd_to_sf.c: Likewise.
13166 * config/libbid/_dd_to_si.c: Likewise.
13167 * config/libbid/_dd_to_td.c: Likewise.
13168 * config/libbid/_dd_to_tf.c: Likewise.
13169 * config/libbid/_dd_to_udi.c: Likewise.
13170 * config/libbid/_dd_to_usi.c: Likewise.
13171 * config/libbid/_dd_to_xf.c: Likewise.
13172 * config/libbid/_df_to_dd.c: Likewise.
13173 * config/libbid/_df_to_sd.c: Likewise.
13174 * config/libbid/_df_to_td.c: Likewise.
13175 * config/libbid/_di_to_dd.c: Likewise.
13176 * config/libbid/_di_to_sd.c: Likewise.
13177 * config/libbid/_di_to_td.c: Likewise.
13178 * config/libbid/_div_dd.c: Likewise.
13179 * config/libbid/_div_sd.c: Likewise.
13180 * config/libbid/_div_td.c: Likewise.
13181 * config/libbid/_eq_dd.c: Likewise.
13182 * config/libbid/_eq_sd.c: Likewise.
13183 * config/libbid/_eq_td.c: Likewise.
13184 * config/libbid/_ge_dd.c: Likewise.
13185 * config/libbid/_ge_sd.c: Likewise.
13186 * config/libbid/_ge_td.c: Likewise.
13187 * config/libbid/_gt_dd.c: Likewise.
13188 * config/libbid/_gt_sd.c: Likewise.
13189 * config/libbid/_gt_td.c: Likewise.
13190 * config/libbid/_isinfd128.c: Likewise.
13191 * config/libbid/_isinfd32.c: Likewise.
13192 * config/libbid/_isinfd64.c: Likewise.
13193 * config/libbid/_le_dd.c: Likewise.
13194 * config/libbid/_le_sd.c: Likewise.
13195 * config/libbid/_le_td.c: Likewise.
13196 * config/libbid/_lt_dd.c: Likewise.
13197 * config/libbid/_lt_sd.c: Likewise.
13198 * config/libbid/_lt_td.c: Likewise.
13199 * config/libbid/_mul_dd.c: Likewise.
13200 * config/libbid/_mul_sd.c: Likewise.
13201 * config/libbid/_mul_td.c: Likewise.
13202 * config/libbid/_ne_dd.c: Likewise.
13203 * config/libbid/_ne_sd.c: Likewise.
13204 * config/libbid/_ne_td.c: Likewise.
13205 * config/libbid/_sd_to_dd.c: Likewise.
13206 * config/libbid/_sd_to_df.c: Likewise.
13207 * config/libbid/_sd_to_di.c: Likewise.
13208 * config/libbid/_sd_to_sf.c: Likewise.
13209 * config/libbid/_sd_to_si.c: Likewise.
13210 * config/libbid/_sd_to_td.c: Likewise.
13211 * config/libbid/_sd_to_tf.c: Likewise.
13212 * config/libbid/_sd_to_udi.c: Likewise.
13213 * config/libbid/_sd_to_usi.c: Likewise.
13214 * config/libbid/_sd_to_xf.c: Likewise.
13215 * config/libbid/_sf_to_dd.c: Likewise.
13216 * config/libbid/_sf_to_sd.c: Likewise.
13217 * config/libbid/_sf_to_td.c: Likewise.
13218 * config/libbid/_si_to_dd.c: Likewise.
13219 * config/libbid/_si_to_sd.c: Likewise.
13220 * config/libbid/_si_to_td.c: Likewise.
13221 * config/libbid/_td_to_dd.c: Likewise.
13222 * config/libbid/_td_to_df.c: Likewise.
13223 * config/libbid/_td_to_di.c: Likewise.
13224 * config/libbid/_td_to_sd.c: Likewise.
13225 * config/libbid/_td_to_sf.c: Likewise.
13226 * config/libbid/_td_to_si.c: Likewise.
13227 * config/libbid/_td_to_tf.c: Likewise.
13228 * config/libbid/_td_to_udi.c: Likewise.
13229 * config/libbid/_td_to_usi.c: Likewise.
13230 * config/libbid/_td_to_xf.c: Likewise.
13231 * config/libbid/_tf_to_dd.c: Likewise.
13232 * config/libbid/_tf_to_sd.c: Likewise.
13233 * config/libbid/_tf_to_td.c: Likewise.
13234 * config/libbid/_udi_to_dd.c: Likewise.
13235 * config/libbid/_udi_to_sd.c: Likewise.
13236 * config/libbid/_udi_to_td.c: Likewise.
13237 * config/libbid/_unord_dd.c: Likewise.
13238 * config/libbid/_unord_sd.c: Likewise.
13239 * config/libbid/_unord_td.c: Likewise.
13240 * config/libbid/_usi_to_dd.c: Likewise.
13241 * config/libbid/_usi_to_sd.c: Likewise.
13242 * config/libbid/_usi_to_td.c: Likewise.
13243 * config/libbid/_xf_to_dd.c: Likewise.
13244 * config/libbid/_xf_to_sd.c: Likewise.
13245 * config/libbid/_xf_to_td.c: Likewise.
13246 * config/libbid/bid128.c: Likewise.
13247 * config/libbid/bid128_2_str.h: Likewise.
13248 * config/libbid/bid128_2_str_macros.h: Likewise.
13249 * config/libbid/bid128_2_str_tables.c: Likewise.
13250 * config/libbid/bid128_add.c: Likewise.
13251 * config/libbid/bid128_compare.c: Likewise.
13252 * config/libbid/bid128_div.c: Likewise.
13253 * config/libbid/bid128_fma.c: Likewise.
13254 * config/libbid/bid128_logb.c: Likewise.
13255 * config/libbid/bid128_minmax.c: Likewise.
13256 * config/libbid/bid128_mul.c: Likewise.
13257 * config/libbid/bid128_next.c: Likewise.
13258 * config/libbid/bid128_noncomp.c: Likewise.
13259 * config/libbid/bid128_quantize.c: Likewise.
13260 * config/libbid/bid128_rem.c: Likewise.
13261 * config/libbid/bid128_round_integral.c: Likewise.
13262 * config/libbid/bid128_scalb.c: Likewise.
13263 * config/libbid/bid128_sqrt.c: Likewise.
13264 * config/libbid/bid128_string.c: Likewise.
13265 * config/libbid/bid128_to_int16.c: Likewise.
13266 * config/libbid/bid128_to_int32.c: Likewise.
13267 * config/libbid/bid128_to_int64.c: Likewise.
13268 * config/libbid/bid128_to_int8.c: Likewise.
13269 * config/libbid/bid128_to_uint16.c: Likewise.
13270 * config/libbid/bid128_to_uint32.c: Likewise.
13271 * config/libbid/bid128_to_uint64.c: Likewise.
13272 * config/libbid/bid128_to_uint8.c: Likewise.
13273 * config/libbid/bid32_to_bid128.c: Likewise.
13274 * config/libbid/bid32_to_bid64.c: Likewise.
13275 * config/libbid/bid64_add.c: Likewise.
13276 * config/libbid/bid64_compare.c: Likewise.
13277 * config/libbid/bid64_div.c: Likewise.
13278 * config/libbid/bid64_fma.c: Likewise.
13279 * config/libbid/bid64_logb.c: Likewise.
13280 * config/libbid/bid64_minmax.c: Likewise.
13281 * config/libbid/bid64_mul.c: Likewise.
13282 * config/libbid/bid64_next.c: Likewise.
13283 * config/libbid/bid64_noncomp.c: Likewise.
13284 * config/libbid/bid64_quantize.c: Likewise.
13285 * config/libbid/bid64_rem.c: Likewise.
13286 * config/libbid/bid64_round_integral.c: Likewise.
13287 * config/libbid/bid64_scalb.c: Likewise.
13288 * config/libbid/bid64_sqrt.c: Likewise.
13289 * config/libbid/bid64_string.c: Likewise.
13290 * config/libbid/bid64_to_bid128.c: Likewise.
13291 * config/libbid/bid64_to_int16.c: Likewise.
13292 * config/libbid/bid64_to_int32.c: Likewise.
13293 * config/libbid/bid64_to_int64.c: Likewise.
13294 * config/libbid/bid64_to_int8.c: Likewise.
13295 * config/libbid/bid64_to_uint16.c: Likewise.
13296 * config/libbid/bid64_to_uint32.c: Likewise.
13297 * config/libbid/bid64_to_uint64.c: Likewise.
13298 * config/libbid/bid64_to_uint8.c: Likewise.
13299 * config/libbid/bid_b2d.h: Likewise.
13300 * config/libbid/bid_binarydecimal.c: Likewise.
13301 * config/libbid/bid_conf.h: Likewise.
13302 * config/libbid/bid_convert_data.c: Likewise.
13303 * config/libbid/bid_decimal_data.c: Likewise.
13304 * config/libbid/bid_decimal_globals.c: Likewise.
13305 * config/libbid/bid_div_macros.h: Likewise.
13306 * config/libbid/bid_dpd.c: Likewise.
13307 * config/libbid/bid_flag_operations.c: Likewise.
13308 * config/libbid/bid_from_int.c: Likewise.
13309 * config/libbid/bid_functions.h: Likewise.
13310 * config/libbid/bid_gcc_intrinsics.h: Likewise.
13311 * config/libbid/bid_inline_add.h: Likewise.
13312 * config/libbid/bid_internal.h: Likewise.
13313 * config/libbid/bid_round.c: Likewise.
13314 * config/libbid/bid_sqrt_macros.h: Likewise.
13315
13316 2009-04-09 Jakub Jelinek <jakub (a] redhat.com>
13317
13318 * Makefile.in: Change copyright header to refer to version
13319 3 of the GNU General Public License and to point readers at the
13320 COPYING3 file and the FSF's license web page.
13321 * config.host: Likewise.
13322
13323 2009-04-07 Alan Modra <amodra (a] bigpond.net.au>
13324
13325 * config.host: Reorder and merge to match config.gcc change.
13326
13327 2009-04-03 Alan Modra <amodra (a] bigpond.net.au>
13328
13329 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
13330
13331 2009-03-28 Joseph Myers <joseph (a] codesourcery.com>
13332
13333 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
13334 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
13335 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
13336 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
13337
13338 2009-02-12 Uros Bizjak <ubizjak (a] gmail.com>
13339
13340 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
13341 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
13342
13343 2009-02-12 H.J. Lu <hongjiu.lu (a] intel.com>
13344
13345 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
13346 ia64/t-softfp-compat to tmake_file.
13347
13348 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
13349
13350 * config/ia64/__divxf3.asm: New.
13351 * config/ia64/_fixtfdi.asm: Likewise.
13352 * config/ia64/_fixunstfdi.asm: Likewise.
13353 * config/ia64/_floatditf.asm: Likewise.
13354 * config/ia64/t-fprules-softfp: Likewise.
13355 * config/ia64/t-softfp-compat: Likewise.
13356 * config/ia64/tf-signs.c: Likewise.
13357
13358 2009-01-18 Ben Elliston <bje (a] au.ibm.com>
13359
13360 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
13361
13362 2009-01-16 Ben Elliston <bje (a] au.ibm.com>
13363
13364 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
13365 to tmake_file.
13366
13367 2009-01-13 Ben Elliston <bje (a] au.ibm.com>
13368
13369 * config/t-softfp: New file.
13370 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
13371 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
13372
13373 2009-01-05 Joel Sherrill <joel.sherrill (a] oarcorp.com>
13374
13375 * config.host: Add m32r*-*-rtems*.
13376
13377 2008-12-01 Joel Sherrill <joel.sherrill (a] oarcorp.com>
13378
13379 * config.host: Add m32c*-*-rtems*.
13380
13381 2008-11-20 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE>
13382
13383 PR bootstrap/33100
13384 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
13385 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
13386 * configure: Regenerate.
13387 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
13388 tmake_file here from gcc/config.gcc.
13389 Move extra_parts here from gcc/config.gcc.
13390 * config/i386/t-sol2: Move here from gcc/config/i386.
13391 Use gcc_srcdir instead of srcdir.
13392
13393 2008-11-18 Adam Nemet <anemet (a] caviumnetworks.com>
13394
13395 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
13396 case.
13397
13398 2008-11-09 Thomas Schwinge <tschwinge (a] gnu.org>
13399
13400 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
13401
13402 2008-10-08 Thomas Schwinge <tschwinge (a] gnu.org>
13403
13404 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
13405
13406 2008-09-03 Hari Sandanagobalane <hariharan (a] picochip.com>
13407
13408 Add picoChip port.
13409 * config.host: Add picochip-*-*.
13410
13411 2008-08-06 Bob Wilson <bob.wilson (a] acm.org>
13412
13413 * config.host: Match more processor names for Xtensa.
13414
13415 2008-07-08 H.J. Lu <hongjiu.lu (a] intel.com>
13416
13417 * config/i386/64/t-softfp-compat: Update comments.
13418
13419 2008-07-07 H.J. Lu <hongjiu.lu (a] intel.com>
13420
13421 * config/i386/64/_divtc3-compat.c: Moved to ...
13422 * config/i386/64/_divtc3.c: Here.
13423
13424 * config/i386/64/_multc3-compat.c: Moved to ...
13425 * config/i386/64/_multc3.c: Here.
13426
13427 * config/i386/64/_powitf2-compat.c: Moved to ...
13428 * config/i386/64/_powitf2.c: Here.
13429
13430 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
13431 .c suffix instead of -compat.c.
13432
13433 2008-07-05 Uros Bizjak <ubizjak (a] gmail.com>
13434
13435 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
13436 (_FP_MUL_MEAT_D): Ditto.
13437 (_FP_DIV_MEAT_S): Ditto.
13438 (_FP_DIV_MEAT_D): Ditto.
13439
13440 2008-07-03 Richard Sandiford <rdsandiford (a] googlemail.com>
13441
13442 * Makefile.in: Add support for __sync_* libgcc functions.
13443
13444 2008-07-03 H.J. Lu <hongjiu.lu (a] intel.com>
13445
13446 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
13447
13448 2008-07-02 H.J. Lu <hongjiu.lu (a] intel.com>
13449
13450 PR boostrap/36702
13451 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
13452 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
13453
13454 * config/i386/64/t-fprules-softfp: Moved to ...
13455 * config/i386/64/t-softfp-compat: This. New.
13456
13457 2008-07-02 Uros Bizjak <ubizjak (a] gmail.com>
13458
13459 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
13460 Initialize f with 0.0.
13461
13462 2008-07-02 H.J. Lu <hongjiu.lu (a] intel.com>
13463
13464 PR target/36669
13465 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
13466
13467 * config/i386/64/_divtc3-compat.c: New.
13468 * config/i386/64/_multc3-compat.c: Likewise.
13469 * config/i386/64/_powitf2-compat.c: Likewise.
13470 * config/i386/64/eqtf2.c: Likewise.
13471 * config/i386/64/getf2.c: Likewise.
13472 * config/i386/64/letf2.c: Likewise.
13473 * config/i386/64/t-fprules-softfp: Likewise.
13474
13475 2008-07-02 H.J. Lu <hongjiu.lu (a] intel.com>
13476
13477 * config.host: Add i386/${host_address}/t-fprules-softfp to
13478 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
13479 i[34567]86-*-linux*, x86_64-*-linux*.
13480
13481 * configure.ac: Set host_address to 64 or 32 for x86.
13482 * configure: Regenerated.
13483
13484 * Makefile.in (config.status): Also depend on
13485 $(srcdir)/config.host.
13486
13487 * config/i386/32/t-fprules-softfp: New.
13488 * config/i386/32/tf-signs.c: Likewise.
13489
13490 * config/i386/64/sfp-machine.h: New. Moved from gcc.
13491
13492 2008-07-02 H.J. Lu <hongjiu.lu (a] intel.com>
13493 Uros Bizjak <ubizjak (a] gmail.com>
13494
13495 * config/i386/32/sfp-machine.h: New.
13496
13497 2008-06-26 Nathan Froyd <froydnj (a] codesourcery.com>
13498
13499 * config/rs6000/t-ppccomm: Remove rules that conflict with
13500 auto-generated rules.
13501
13502 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
13503
13504 * configure.ac: sinclude override.m4.
13505 * configure: Regenerate.
13506
13507 2008-06-11 Bernhard Fischer <aldot (a] gcc.gnu.org>
13508
13509 * configure: Regenerate.
13510
13511 2008-06-10 Joseph Myers <joseph (a] codesourcery.com>
13512
13513 * Makefile.in (DECNUMINC): Remove
13514 -I$(MULTIBUILDTOP)../../libdecnumber.
13515 * gstdint.h: New.
13516
13517 2008-06-07 Joseph Myers <joseph (a] codesourcery.com>
13518
13519 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
13520 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
13521 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
13522 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
13523 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
13524 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
13525 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
13526 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
13527 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
13528 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
13529 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
13530 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
13531 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
13532 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
13533
13534 2008-05-25 Arthur Loiret <arthur.loiret (a] u-psud.fr>
13535
13536 * config.host (sh2[lbe]*-*-linux*): Allow target.
13537
13538 2008-04-30 Nathan Froyd <froydnj (a] codesourcery.com>
13539
13540 * config/rs6000/t-ppccomm: Add build rules for new files.
13541 (LIB2ADD_ST): New variable.
13542
13543 2008-04-07 Andy Hutchinson <hutchinsonandy (a] aim.com>
13544
13545 PR target/34210
13546 PR target/35508
13547 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
13548 * config/t-avr: New file. Build 16bit libgcc functions.
13549
13550 2008-03-02 Jakub Jelinek <jakub (a] redhat.com>
13551
13552 PR target/35401
13553 * config/t-slibgcc-darwin: Make install-leaf dependent on
13554 install-darwin-libgcc-stubs instead of install.
13555
13556 2008-01-25 Joseph Myers <joseph (a] codesourcery.com>
13557
13558 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
13559 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
13560 sh-*-rtemscoff*): Remove cases.
13561
13562 2007-12-27 Richard Sandiford <rsandifo (a] nildram.co.uk>
13563
13564 * Makefile.in (all): Use install-leaf rather than install.
13565 (install): Split most of the rule into...
13566 (install-leaf): ...this new one.
13567
13568 2007-12-19 Etsushi Kato <ek.kato (a] gmail.com>
13569 Paolo Bonzini <bonzini (a] gnu.org>
13570
13571 PR target/30572
13572 * Makefile.in: Use @shlib_slibdir@ substitution to get
13573 correct install name on darwin.
13574 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
13575
13576 2007-12-15 Hans-Peter Nilsson <hp (a] axis.com>
13577
13578 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
13579 cris-*-elf and cris-*-none.
13580 (crisv32-*-linux*): Similar, as cris-*-linux*.
13581
13582 2007-11-20 Rask Ingemann Lambertsen <rask (a] sygehus.dk>
13583
13584 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
13585
13586 2007-10-27 H.J. Lu <hongjiu.lu (a] intel.com>
13587
13588 PR regression/33926
13589 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
13590 * configure: Regenerated.
13591
13592 2007-09-27 H.J. Lu <hongjiu.lu (a] intel.com>
13593
13594 * Makefile.in (dfp-filenames): Replace decimal_globals,
13595 decimal_data, binarydecimal and convert_data with
13596 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
13597 and bid_convert_data, respectively.
13598
13599 2007-09-17 Chao-ying Fu <fu (a] mips.com>
13600 Nigel Stephens <nigel (a] mips.com>
13601
13602 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
13603 * Makefile.in (fixed_point): Define.
13604 Check if fixed_point is yes to build support functions.
13605 * configure.ac: Check for fixed_point support.
13606 * configure: Regenerated.
13607 * gen-fixed.sh: New file to generate lists of fixed-point labels,
13608 funcs, modes, from, to.
13609
13610 2007-09-11 Janis Johnson <janis187 (a] us.ibm.com
13611
13612 * Makefile.in (dfp-filenames): Add bid128_noncomp.
13613
13614 2007-09-10 Janis Johnson <janis187 (a] us.ibm.com>
13615
13616 * Makefile.in (dfp-filenames): Remove decUtility, add
13617 decDouble, decPacked, decQuad, decSingle.
13618
13619 2007-08-27 Hans Kester <hans.kester (a] ellips.nl>
13620
13621 * config.host : Add x86_64-elf target.
13622
13623 2007-07-06 H.J. Lu <hongjiu.lu (a] intel.com>
13624
13625 * configure.ac (set_have_cc_tls): Add a missing =.
13626 * configure: Regenerated.
13627
13628 2007-07-06 H.J. Lu <hongjiu.lu (a] intel.com>
13629
13630 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
13631 and x86_64-*-linux*.
13632
13633 * config/t-tls: New file.
13634
13635 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
13636
13637 * configure.ac: Include ../config/enable.m4 and
13638 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
13639 supports TLS and substitute set_have_cc_tls.
13640 * configure: Regenerated.
13641
13642 2007-07-04 H.J. Lu <hongjiu.lu (a] intel.com>
13643
13644 * Makefile.in: Use libbid for DFP when BID is enabled.
13645
13646 2007-06-14 Danny Smith <dannysmith (a] users.sourceforge.net>
13647
13648 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
13649 extra_parts. Add config/i386/t-cygming to tmake_file.
13650 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
13651
13652 2007-05-29 Zuxy Meng <zuxy.meng (a] gmail.com>
13653 Danny Smith <dannysmith (a] users.sourceforge.net>
13654
13655 PR target/29498
13656 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
13657 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
13658 * config/i386/t-crtfm: Compile crtfastmath.o with
13659 -minline-all-stringops.
13660
13661 2007-05-10 Richard Sandiford <richard (a] codesourcery.com>
13662
13663 * config.host (sparc-wrs-vxworks): New target.
13664
13665 2007-04-14 Kazu Hirata <kazu (a] codesourcery.com>
13666
13667 * config.host: Recognize fido.
13668
13669 2007-04-04 Janis Johnson <janis187 (a] us.ibm.com>
13670
13671 * configure: Check host, not target, for decimal float support.
13672
13673 2007-04-03 Uros Bizjak <ubizjak (a] gmail.com>
13674
13675 * config/i386/t-crtpc: New file.
13676 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
13677 (x86_64-*-linux*): Ditto.
13678
13679 2007-02-30 Kai Tietz <kai.tietz (a] onevision.com>
13680
13681 * config.host (x86_64-*-mingw*): New target.
13682
13683 2007-03-23 Michael Meissner <michael.meissner (a] amd.com>
13684 H.J. Lu <hongjiu.lu (a] intel.com>
13685
13686 * Makefile.in (enable_decimal_float): New.
13687 (DECNUMINC): Add
13688 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
13689 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
13690 (decbits-filenames): This.
13691 (decbits-objects): New.
13692 (libgcc-objects): Add $(decbits-objects).
13693
13694 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
13695 Substitute enable_decimal_float.
13696 * configure: Regenerated.
13697
13698 2007-03-19 Hans-Peter Nilsson <hp (a] axis.com>
13699
13700 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
13701
13702 2007-03-12 Brooks Moses <brooks.moses (a] codesourcery.com>
13703
13704 * Makefile.in (install-info): New dummy target.
13705
13706 2007-03-05 Bernd Schmidt <bernd.schmidt (a] analog.com>
13707
13708 * config.host (bfin*-linux-uclibc*): Set extra_parts.
13709
13710 2007-03-01 Brooks Moses <brooks.moses (a] codesourcery.com>
13711
13712 * Makefile.in: Add install-html and install-pdf dummy
13713 targets.
13714
13715 2007-02-05 Roger Sayle <roger (a] eyesopen.com>
13716 Daniel Jacobowitz <dan (a] codesourcery.com>
13717
13718 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
13719 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
13720 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
13721
13722 2007-01-29 Janis Johnson <janis187 (a] us.ibm.com>
13723
13724 * Makefile.in (dec-filenames): Add decExcept.
13725
13726 2007-01-28 Daniel Jacobowitz <dan (a] codesourcery.com>
13727
13728 PR bootstrap/30469
13729 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
13730 -fprofile-use.
13731
13732 2007-01-25 Daniel Jacobowitz <dan (a] codesourcery.com>
13733
13734 * configure.ac: Add --enable-version-specific-runtime-libs.
13735 Correct $slibdir default.
13736 * configure: Regenerated.
13737
13738 2007-01-23 Joseph Myers <joseph (a] codesourcery.com>
13739
13740 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
13741
13742 2007-01-21 Andrew Pinski <pinskia (a] gmail.com>
13743
13744 PR target/30519
13745 * config.host (alpha*-*-linux*): Set extra_parts.
13746
13747 2007-01-09 Kaz Kojima <kkojima (a] gcc.gnu.org>
13748
13749 * config/sh/t-linux: New.
13750 * config.host (sh*-*-linux*): Set tmake_file.
13751
13752 2007-01-05 Daniel Jacobowitz <dan (a] codesourcery.com>
13753
13754 * Makefile.in (install): Handle multilibs.
13755
13756 2007-01-04 Brooks Moses <brooks.moses (a] codesourcery.com>
13757
13758 * Makefile.in: Added .PHONY entry for documentation targets.
13759
13760 2007-01-04 Brooks Moses <brooks.moses (a] codesourcery.com>
13761
13762 * Makefile.in: Add empty info, html, dvi, pdf targets.
13763
13764 2007-01-04 Mike Stump <mrs (a] apple.com>
13765
13766 * Makefile.in (MAKEINFO): Remove.
13767 (PERL): Likewise.
13768
13769 2007-01-04 Paolo Bonzini <bonzini (a] gnu.org>
13770
13771 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
13772 * configure: Regenerate.
13773 * Makefile.in (host_subdir): Substitute it.
13774 (gcc_objdir): Use it.
13775
13776 2007-01-04 Daniel Jacobowitz <dan (a] codesourcery.com>
13777
13778 * config.host (ia64*-*-linux*): Set tmake_file.
13779
13780 2007-01-04 Daniel Jacobowitz <dan (a] codesourcery.com>
13781
13782 * Makefile.in (version): Define.
13783
13784 2007-01-03 Daniel Jacobowitz <dan (a] codesourcery.com>
13785 Paolo Bonzini <bonzini (a] gnu.org>
13786
13787 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
13788 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
13789 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
13790 config/sparc/t-crtfm, config/t-slibgcc-darwin,
13791 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
13792 shared-object.mk, siditi-object.mk, static-object.mk: New files.
13793 * configure: Generated.
13794
13796 Copyright (C) 2007-2024 Free Software Foundation, Inc.
13797
13798 Copying and distribution of this file, with or without modification,
13799 are permitted in any medium without royalty provided the copyright
13800 notice and this notice are preserved.
13801