ChangeLog revision 1.1.1.26 1 2025-05-23 Release Manager
2
3 * GCC 14.3.0 released.
4
5 2025-05-01 Mark Mentovai <mark (a] mentovai.com>
6
7 Backported from master:
8 2024-09-24 Mark Mentovai <mark (a] mentovai.com>
9
10 PR target/116809
11 * config.host: Build legacy libgcc_s.1 on hosts before macOS 10.12.
12 * config/i386/t-darwin: Remove reference to legacy libgcc_s.1
13 * config/rs6000/t-darwin: Likewise.
14 * config/t-darwin-libgccs1: New file.
15
16 2025-03-27 Jakub Jelinek <jakub (a] redhat.com>
17
18 Backported from master:
19 2025-03-10 Jakub Jelinek <jakub (a] redhat.com>
20 Michael Leuchtenburg <michael (a] slashhome.org>
21
22 PR libgcc/119151
23 * unwind-dw2-btree.h (btree_split_inner): Add size argument. If
24 left_fence is in the middle of [target,target + size - 1] range,
25 increase it to target + size - 1.
26 (btree_insert): Adjust btree_split_inner caller. If fence is smaller
27 than base + size - 1, increase it and separator of the slot to
28 base + size - 1.
29
30 2025-02-20 Lulu Cheng <chenglulu (a] loongson.cn>
31
32 Backported from master:
33 2025-02-17 Lulu Cheng <chenglulu (a] loongson.cn>
34
35 PR target/118844
36 * config/loongarch/t-crtstuff: Add '-mcmodel=extreme'
37 to CRTSTUFF_T_CFLAGS_S.
38
39 2025-02-09 Dimitry Andric <dimitry (a] andric.com>
40
41 PR target/118685
42 * config.host (*-*-freebsd*): Add crtbeginT.o to extra_parts.
43
44 2025-01-09 Jakub Jelinek <jakub (a] redhat.com>
45
46 Backported from master:
47 2024-11-30 Jakub Jelinek <jakub (a] redhat.com>
48
49 PR libgomp/117851
50 * configure.ac (extra_parts): Add crtoffloadtableS.o.
51 * Makefile.in (crtoffloadtableS$(objext)): New goal.
52 * configure: Regenerated.
53
54 2025-01-06 Stafford Horne <shorne (a] gmail.com>
55
56 * config/or1k/lib1funcs.S: Add .note.GNU-stack section on linux.
57
58 2024-09-23 Iain Sandoe <iain (a] sandoe.co.uk>
59
60 Backported from master:
61 2024-09-22 Iain Sandoe <iain (a] sandoe.co.uk>
62
63 * config.host: From macOS 11, limit earliest macOS support
64 to macOS 11.
65 * config/t-darwin-min-11: New file.
66
67 2024-08-27 YunQiang Su <syq (a] gcc.gnu.org>
68
69 Backported from master:
70 2024-08-27 YunQiang Su <syq (a] gcc.gnu.org>
71
72 * config/mips/lib1funcs.S: Includes mips16.S.
73
74 2024-08-01 Release Manager
75
76 * GCC 14.2.0 released.
77
78 2024-06-21 Wilco Dijkstra <wilco.dijkstra (a] arm.com>
79
80 Backported from master:
81 2024-06-05 Wilco Dijkstra <wilco.dijkstra (a] arm.com>
82
83 PR target/115342
84 * config/aarch64/cpuinfo.c (__init_cpu_features_constructor):
85 Use HWCAP where possible. Use atomic write for initialization.
86 Fix FEAT_PREDRES comparison.
87 (__init_cpu_features_resolver): Use atomic load for correct
88 initialization.
89 (__init_cpu_features): Likewise.
90
91 2024-06-12 Andre Vieira <andre.simoesdiasvieira (a] arm.com>
92
93 Backported from master:
94 2024-06-06 Andre Vieira <andre.simoesdiasvieira (a] arm.com>
95
96 PR target/115360
97 * config/arm/cmse_nonsecure_call.S: Add .type and .size directives.
98
99 2024-06-10 Jan Beulich <jbeulich (a] suse.com>
100
101 * config/aarch64/cpuinfo.c: Provide AT_HWCAP2.
102
103 2024-05-18 Wolfgang Hospital <Wolfgang.Hospital (a] arcor.de>
104
105 Backported from master:
106 2024-05-18 Wolfgang Hospital <Wolfgang.Hospital (a] arcor.de>
107
108 PR target/115065
109 * config/avr/lib1funcs.S (__clzhi2): Tweak.
110
111 2024-05-10 Georg-Johann Lay <avr (a] gjlay.de>
112
113 Backported from master:
114 2024-05-10 Georg-Johann Lay <avr (a] gjlay.de>
115
116 PR target/114981
117 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _powisf2.
118 (LIB1ASMFUNCS) [!avrtiny]: Add _powif.
119 * config/avr/lib1funcs.S (mov4): New .macro.
120 (L_powif, __powisf2) [!avrtiny]: New module and function.
121
122 2024-05-07 Release Manager
123
124 * GCC 14.1.0 released.
125
126 2024-04-30 Jakub Jelinek <jakub (a] redhat.com>
127
128 Backported from master:
129 2024-04-30 Jakub Jelinek <jakub (a] redhat.com>
130
131 * gthr.h (GTHREAD_USE_WEAK): Don't redefine to 0 for glibc 2.34+
132 on GNU Hurd.
133
134 2024-04-25 Jakub Jelinek <jakub (a] redhat.com>
135
136 * gthr.h (GTHREAD_USE_WEAK): Redefine to 0 for GLIBC 2.34 or later.
137
138 2024-04-21 Georg-Johann Lay <avr (a] gjlay.de>
139
140 PR target/114794
141 * config/avr/lib1funcs.S (__udivmodqi4): Tweak.
142
143 2024-04-19 Jakub Jelinek <jakub (a] redhat.com>
144
145 PR libgcc/114762
146 * libgcc2.c (__divmodbitint4): Perform the decrement on negative
147 v with most significant limb all ones and the second least
148 significant limb with most significant bit clear always, regardless of
149 un < vn.
150
151 2024-04-18 Jakub Jelinek <jakub (a] redhat.com>
152
153 PR libgcc/114755
154 * libgcc2.c (__divmodbitint4): Perform the decrement on negative
155 v with most significant limb all ones and the second least
156 significant limb with most significant bit clear always, regardless of
157 un < vn.
158
159 2024-04-15 Jakub Jelinek <jakub (a] redhat.com>
160
161 PR libgcc/114689
162 * config/m68k/fpgnulib.c (__truncdfsf2): Add parentheses around
163 !!sticky bitwise or operand to quiet up cppcheck. Add parentheses
164 around mant >> 1 bitwise or operand.
165
166 2024-04-10 Andre Vieira <andre.simoesdiasvieira (a] arm.com>
167
168 * config/aarch64/t-softfp (softfp_extras): Add floatbitinthf,
169 floatbitintbf, floatbitinttf and fixtfbitint.
170 * config/aarch64/libgcc-softfp.ver (GCC_14.0.0): Add __floatbitinthf,
171 __floatbitintbf, __floatbitinttf and __fixtfbitint.
172
173 2024-04-09 Sergey Bugaev <bugaevc (a] gmail.com>
174
175 * config.host: Recognize aarch64*-*-gnu* hosts.
176 * config/aarch64/gnu-unwind.h: New file.
177 * config/aarch64/heap-trampoline.c
178 (allocate_trampoline_page): Support GNU/Hurd.
179
180 2024-04-04 Jrgen Kvalsvik <j (a] lambda.is>
181
182 * libgcov-merge.c (__gcov_merge_ior): New.
183
184 2024-04-03 Wilco Dijkstra <wilco.dijkstra (a] arm.com>
185
186 * config/aarch64/cpuinfo.c: Add HWCAP_EVTSTRM, HWCAP_CRC32, HWCAP_CPUID,
187 HWCAP_PACA and HWCAP_PACG.
188
189 2024-04-02 Jakub Jelinek <jakub (a] redhat.com>
190
191 * unwind-dw2-fde.c (struct fde_accumulator): Fix duplicated
192 words in comment; is is -> is.
193
194 2024-03-25 Max Filippov <jcmvbkbc (a] gmail.com>
195
196 * unwind-arm-common.inc (__gnu_personality_sigframe_fdpic): Cast
197 last argument of _Unwind_VRS_Set to void *.
198
199 2024-03-22 Thomas Neumann <tneumann (a] users.sourceforge.net>
200
201 PR libgcc/111731
202 * unwind-dw2-fde.c: Split unwind ranges if they contain the
203 unwind table.
204
205 2024-03-21 Jakub Jelinek <jakub (a] redhat.com>
206
207 PR libgcc/114397
208 * libgcc2.c (__divmodbitint4): Don't assume un < vn always means
209 abs(v) > abs(u), check for a special case of un + 1 == vn where
210 u is non-negative and v negative and after v's negation vn could
211 be reduced by 1.
212
213 2024-03-20 Flavio Cruz <flaviocruz (a] gmail.com>
214
215 * config/i386/gnu-unwind.h: Support unwinding x86_64 signal frames.
216
217 2024-03-15 Jakub Jelinek <jakub (a] redhat.com>
218
219 PR libgcc/114327
220 * libgcc2.c (bitint_negate): Return UWtype bitwise or of all the limbs
221 before negation rather than void.
222 (__divmodbitint4): Determine whether to fill in the upper limbs after
223 negation based on whether bitint_negate returned 0 or non-zero, rather
224 then always filling with -1.
225
226 2024-02-22 Kewen Lin <linkw (a] linux.ibm.com>
227
228 PR target/109987
229 * config/rs6000/t-float128-hw: Replace options -mpower{8,9}-vector
230 with -mcpu=power9.
231 * configure.ac: Update use of option -mpower9-vector with
232 -mcpu=power9.
233 * configure: Regenerate.
234
235 2024-02-21 Iain Sandoe <iain (a] sandoe.co.uk>
236
237 * config/aarch64/heap-trampoline.c
238 (aarch64_trampoline_insns): Arrange to encode instructions as a
239 byte array so that the order is independent of memory byte order.
240 (struct aarch64_trampoline): Likewise.
241
242 2024-02-20 Iain Sandoe <iain (a] sandoe.co.uk>
243
244 PR target/113971
245 * config/aarch64/heap-trampoline.c: Allow all linux variants.
246
247 2024-02-16 Matteo Italia <matteo (a] mitalia.net>
248
249 PR libgcc/113850
250 * config/i386/gthr-win32-cond.c (__gthr_win32_abs_to_rel_time):
251 fix absolute timespec to relative milliseconds count
252 conversion (it incorrectly returned seconds instead of
253 milliseconds); this avoids spurious wakeups in
254 __gthr_win32_cond_timedwait
255
256 2024-02-14 Jakub Jelinek <jakub (a] redhat.com>
257 H.J. Lu <hjl.tools (a] gmail.com>
258
259 PR target/113855
260 * config/i386/heap-trampoline.c (trampoline_insns): Add IBT
261 support and pad to the multiple of 4 bytes. Use movabsq
262 instead of movabs in comments. Add -mx32 variant.
263
264 2024-02-13 Jakub Jelinek <jakub (a] redhat.com>
265
266 * soft-fp/bitint.h (FP_FROM_BITINT): If iprec < 0 and msb is all ones,
267 just set n to 1 instead of using __builtin_clzll (~msb).
268
269 2024-02-12 Iain Sandoe <iain (a] sandoe.co.uk>
270
271 PR target/113855
272 * config.host: Add trampoline support to x?86-linux.
273 * config/i386/heap-trampoline.c (trampoline_insns): Provide
274 a variant for IA32.
275 (union ix86_trampoline): Likewise.
276 (__gcc_nested_func_ptr_created): Implement a basic trampoline
277 for IA32.
278
279 2024-02-10 Jakub Jelinek <jakub (a] redhat.com>
280
281 * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Or in all remainder
282 limbs into inexact rather than just first two.
283 * soft-fp/floatbitintsd.c (__bid_floatbitintsd): Likewise.
284 * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
285
286 2024-02-10 Jakub Jelinek <jakub (a] redhat.com>
287
288 * soft-fp/fixddbitint.c (__bid_fixddbitint): Fix up
289 BIL_TYPE_SIZE == 32 shifts.
290 * soft-fp/fixsdbitint.c (__bid_fixsdbitint): Likewise.
291 * soft-fp/fixtdbitint.c (__bid_fixtdbitint): Likewise.
292 * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Likewise.
293 * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
294
295 2024-02-09 Iain Sandoe <iain (a] sandoe.co.uk>
296
297 * config/i386/libgcc-darwin.ver: Export bf and bitint-related
298 synbols.
299
300 2024-02-06 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
301
302 PR target/113700
303 * config/i386/libgcc-sol2.ver (GCC_14.0.0): Added all symbols from
304 i386/libgcc-glibc.ver (GCC_12.0.0, GCC_13.0.0, GCC_14.0.0).
305 * config/i386/libgcc-glibc.ver: Request notifications on updates.
306
307 2024-02-06 Matteo Italia <matteo (a] mitalia.net>
308
309 PR libgcc/113337
310 * unwind-seh.c (_Unwind_Resume_or_Rethrow): forward
311 _Unwind_RaiseException return code back to caller instead of
312 calling abort, allowing __cxa_rethrow to invoke std::terminate
313 in case of uncaught rethrown exception
314
315 2024-02-02 Jakub Jelinek <jakub (a] redhat.com>
316
317 PR libgcc/113604
318 * libgcc2.c (__divmodbitint4): If uv1 >= vv1, subtract
319 vv1 from uv1:uv0 once or twice as needed, rather than
320 subtracting vv1:vv1.
321
322 2024-02-02 Khem Raj <raj.khem (a] gmail.com>
323
324 * config/i386/enable-execute-stack-mingw32.c: Include
325 stdlib.h for abort() definition.
326
327 2024-02-02 Jakub Jelinek <jakub (a] redhat.com>
328
329 PR target/113700
330 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Remove __PFX prefixes
331 from symbol names.
332
333 2024-02-01 Jakub Jelinek <jakub (a] redhat.com>
334
335 PR libgcc/113402
336 * libgcc2.h (__gcc_nested_func_ptr_created): Change type of last
337 argument from void ** to void *.
338 * config/i386/heap-trampoline.c (__gcc_nested_func_ptr_created):
339 Change type of dst from void ** to void * and cast dst to void **
340 before dereferencing it.
341 * config/aarch64/heap-trampoline.c (__gcc_nested_func_ptr_created):
342 Likewise.
343
344 2024-02-01 Jakub Jelinek <jakub (a] redhat.com>
345
346 PR libgcc/113403
347 * config/i386/t-heap-trampoline: Add to LIB2ADDEHSHARED
348 i386/heap-trampoline.c rather than aarch64/heap-trampoline.c.
349
350 2024-02-01 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
351
352 * config/aarch64/crti.S: Remove stack marking.
353 * config/aarch64/crtn.S: Remove stack marking, include aarch64-asm.h
354 * config/aarch64/lse.S: Remove stack and GNU property markings.
355
356 2024-01-30 Iain Sandoe <iain (a] sandoe.co.uk>
357
358 PR libgcc/113403
359 * config.host: Build libheap_t.a for i686/x86_64 Darwin.
360 * config/aarch64/heap-trampoline.c (HEAP_T_ATTR): New.
361 (allocate_tramp_ctrl): Allow a target to build this as a weak def.
362 (__gcc_nested_func_ptr_created): Likewise.
363 * config/i386/heap-trampoline.c (HEAP_T_ATTR): New.
364 (allocate_tramp_ctrl): Allow a target to build this as a weak def.
365 (__gcc_nested_func_ptr_created): Likewise.
366 * config/t-darwin: Build libheap_t.a (a CRT with heap trampoline
367 support).
368
369 2024-01-30 Iain Sandoe <iain (a] sandoe.co.uk>
370
371 PR libgcc/113403
372 * config/aarch64/t-heap-trampoline: Move the heap trampoline
373 support functions from libgcc.a to libgcc_eh.a.
374 * config/i386/t-heap-trampoline: Likewise.
375
376 2024-01-28 Iain Sandoe <iain (a] sandoe.co.uk>
377 Jakub Jelinek <jakub (a] redhat.com>
378
379 PR libgcc/113402
380 * config/aarch64/heap-trampoline.c: Rename
381 __builtin_nested_func_ptr_created to __gcc_nested_func_ptr_created and
382 __builtin_nested_func_ptr_deleted to __gcc_nested_func_ptr_deleted.
383 * config/i386/heap-trampoline.c: Likewise.
384 * libgcc2.h: Likewise.
385 * libgcc-std.ver.in (GCC_7.0.0): Likewise and then move
386 __gcc_nested_func_ptr_created and
387 __gcc_nested_func_ptr_deleted from this symbol version to ...
388 (GCC_14.0.0): ... this one.
389
390 2024-01-26 Andrew Stubbs <ams (a] baylibre.com>
391
392 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Handle RDNA3.
393
394 2024-01-23 Zac Walker <zacwalker (a] microsoft.com>
395
396 * config/aarch64/aarch64-asm.h (HIDDEN, SYMBOL_SIZE, SYMBOL_TYPE)
397 (ENTRY_ALIGN, GNU_PROPERTY): New macros.
398 * config/aarch64/__arm_sme_state.S: Use them.
399 * config/aarch64/__arm_tpidr2_save.S: Likewise.
400 * config/aarch64/__arm_za_disable.S: Likewise.
401 * config/aarch64/crti.S: Likewise.
402 * config/aarch64/lse.S: Likewise.
403
404 2024-01-12 Jakub Jelinek <jakub (a] redhat.com>
405
406 * libgcc2.h (UBILtype): New typedef with may_alias attribute.
407 (__mulbitint3, __divmodbitint4): Use UBILtype * instead of
408 UWtype * and const UBILtype * instead of const UWtype *.
409 * libgcc2.c (bitint_reduce_prec, bitint_mul_1, bitint_addmul_1,
410 __mulbitint3, bitint_negate, bitint_submul_1, __divmodbitint4):
411 Likewise.
412 * soft-fp/bitint.h (UBILtype): Change define into a typedef with
413 may_alias attribute.
414
415 2024-01-12 Sandra Loosemore <sandra (a] codesourcery.com>
416
417 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Do not try to use
418 _dl_find_object on nios2; it doesn't work.
419
420 2023-12-23 Thomas Schwinge <thomas (a] codesourcery.com>
421
422 * c++-minimal/README: New.
423 * c++-minimal/guard.c: New.
424 * config/gcn/t-amdgcn (LIB2ADD): Add it.
425 * config/nvptx/t-nvptx (LIB2ADD): Likewise.
426
427 2023-12-20 Alexandre Oliva <oliva (a] adacore.com>
428
429 PR middle-end/112917
430 * config.host (sparc, sparc64): Enable...
431 * config/sparc/t-sparc: ... this new fragment.
432
433 2023-12-20 Alexandre Oliva <oliva (a] adacore.com>
434
435 * strub.c (ATTRIBUTE_NOINLINE): New.
436 (ATTRIBUTE_STRUB_CALLABLE): Add it.
437 (__strub_dummy_force_no_leaf): Drop it.
438
439 2023-12-16 Andrew Carlotti <andrew.carlotti (a] arm.com>
440
441 * config/aarch64/cpuinfo.c (enum CPUFeatures): Move to shared
442 copy in gcc/common
443
444 2023-12-16 Andrew Carlotti <andrew.carlotti (a] arm.com>
445 Pavel Iliin <Pavel.Iliin (a] arm.com>
446
447 * config/aarch64/t-aarch64: Include cpuinfo.c
448 * config/aarch64/cpuinfo.c: New file
449 (__init_cpu_features_constructor) New.
450 (__init_cpu_features_resolver) New.
451 (__init_cpu_features) New.
452
453 2023-12-11 Lipeng Zhu <lipeng.zhu (a] intel.com>
454
455 * gthr-posix.h (__GTHREAD_RWLOCK_INIT): New macro.
456 (__gthrw): New function.
457 (__gthread_rwlock_rdlock): New function.
458 (__gthread_rwlock_tryrdlock): New function.
459 (__gthread_rwlock_wrlock): New function.
460 (__gthread_rwlock_trywrlock): New function.
461 (__gthread_rwlock_unlock): New function.
462
463 2023-12-08 Florian Weimer <fweimer (a] redhat.com>
464
465 * libgcov-interface.c (__gcov_fork): Use __builtin_fork instead
466 of fork.
467
468 2023-12-08 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
469
470 * config.in: Regenerate.
471
472 2023-12-08 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
473
474 * config/aarch64/__arm_za_disable.S: Add hidden alias.
475 * config/aarch64/aarch64-unwind.h: Reset the SME state before
476 EH return via the _Unwind_Frames_Extra hook.
477
478 2023-12-08 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
479
480 * config/aarch64/t-aarch64: Add sources to the build.
481 * config/aarch64/__aarch64_have_sme.c: New file.
482 * config/aarch64/__arm_sme_state.S: New file.
483 * config/aarch64/__arm_tpidr2_restore.S: New file.
484 * config/aarch64/__arm_tpidr2_save.S: New file.
485 * config/aarch64/__arm_za_disable.S: New file.
486 * config/aarch64/aarch64-asm.h: New file.
487 * config/aarch64/libgcc-sme.ver: New file.
488
489 2023-12-08 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
490
491 * config.in: Undef HAVE___GETAUXVAL.
492 * configure: Regenerate.
493 * configure.ac: Check for __getauxval.
494
495 2023-12-08 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
496
497 * config.in: Undef HAVE_AS_VARIANT_PCS.
498 * configure: Regenerate.
499 * configure.ac: Check for .variant_pcs.
500
501 2023-12-07 Alexandre Oliva <oliva (a] adacore.com>
502
503 * configure.ac: Check for strub support.
504 * configure: Rebuilt.
505 * Makefile.in: Compile strub.c conditionally.
506
507 2023-12-06 Thomas Schwinge <thomas (a] codesourcery.com>
508 Jakub Jelinek <jakub (a] redhat.com>
509
510 PR libgcc/109289
511 * emutls.c: Add GCC diagnostic ignored "-Wbuiltin-declaration-mismatch"
512 pragma.
513
514 2023-12-06 Alexandre Oliva <oliva (a] adacore.com>
515
516 * Makefile.in (LIB2ADD): Add strub.c.
517 * libgcc2.h (__strub_enter, __strub_update, __strub_leave):
518 Declare.
519 * strub.c: New.
520 * libgcc-std.ver.in (__strub_enter): Add to GCC_14.0.0.
521 (__strub_update, __strub_leave): Likewise.
522
523 2023-12-03 Jeff Law <jlaw (a] ventanamicro.com>
524
525 * unwind-pe.h (_Unwind_gnu_Find_got): Add prototype.
526
527 2023-12-03 Jeff Law <jlaw (a] ventanamicro.com>
528
529 * config/rx/rx-abi-functions.c (__ltdf2, __gtdf2): Add prototype.
530 (__ledf2, __gedf2, __eqdf2, __nedf2): Likewise.
531 (__ltsf2, __gtsf2, __lesf2, __gesf2, __eqsf2, __nesf2): Likewise.
532
533 2023-12-03 Jeff Law <jlaw (a] ventanamicro.com>
534
535 * config/frv/frvbegin.c (atexit): Add prototype.
536
537 2023-12-01 Alexandre Oliva <oliva (a] adacore.com>
538
539 * libgcc-std.ver.in (__hardcfr_check): Add to GCC_14.0.0.
540
541 2023-12-01 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
542
543 PR target/112777
544 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Honor that __LIBGCC_HAVE_LIBATOMIC is
545 always defined as either 0 or 1.
546
547 2023-12-01 Florian Weimer <fweimer (a] redhat.com>
548
549 * config/aarch64/linux-unwind.h
550 (aarch64_fallback_frame_state): Add cast to the expected type
551 in sc assignment.
552
553 2023-11-30 Wilco Dijkstra <wilco.dijkstra (a] arm.com>
554
555 PR target/111404
556 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Execute STLXP using
557 either new value or loaded value.
558
559 2023-11-27 Richard Earnshaw <rearnsha (a] arm.com>
560
561 * config/arm/lib1funcs.S (__sync_synchronize): Adjust warning message.
562
563 2023-11-24 Richard Earnshaw <rearnsha (a] arm.com>
564
565 * config.host (arm*-*-eabi* | arm*-*-rtems*):
566 Add arm/t-sync to the makefile rules.
567 * config/arm/lib1funcs.S (__sync_synchronize_none)
568 (__sync_synchronize_cp15dmb, __sync_synchronize_dmb)
569 (__sync_synchronize): New functions.
570 * config/arm/t-sync: New file.
571 * config/arm/sync-none.specs: Likewise.
572 * config/arm/sync-dmb.specs: Likewise.
573 * config/arm/sync-cp15dmb.specs: Likewise.
574
575 2023-11-23 Jose E. Marchesi <jose.marchesi (a] oracle.com>
576
577 * hardcfr.c (__hardcfr_check_fail): Mark as always_inline.
578
579 2023-11-21 Jakub Jelinek <jakub (a] redhat.com>
580
581 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Formatting fixes.
582
583 2023-11-18 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
584
585 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Always define it.
586 Set it also to 1, if __LIBGCC_HAVE_LIBATOMIC is defined.
587
588 2023-11-18 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
589
590 Revert:
591 2023-11-18 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
592
593 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
594 (gcov_type_unsigned): Likewise.
595
596 2023-11-10 Keith Packard <keithp (a] keithp.com>
597
598 * config/m68k/lb1sf68.S (__adddf3): Properly check for non-zero denorm.
599 (__divdf3): Restore sign bit properly.
600 (__addsf3): Correct exponent check.
601 * config/m68k/fpgnulib.c (EXPMASK): Define.
602 (__extendsfdf2): Handle Inf and NaN properly.
603 (__truncdfsf2): Handle underflow and overflow correctly.
604 (__extenddfxf2): Handle underflow, denorms, Inf and NaN correctly.
605 (__truncxfdf2): Handle underflow and denorms correctly.
606 (__fixxfsi): Reimplement.
607
608 2023-11-09 Jakub Jelinek <jakub (a] redhat.com>
609
610 PR libgcc/65833
611 * config/t-softfp (softfp_bid_list): Add
612 {U,}TItype <-> _Decimal{32,64,128} conversions.
613 * soft-fp/floattisd.c: New file.
614 * soft-fp/floattidd.c: New file.
615 * soft-fp/floattitd.c: New file.
616 * soft-fp/floatuntisd.c: New file.
617 * soft-fp/floatuntidd.c: New file.
618 * soft-fp/floatuntitd.c: New file.
619 * soft-fp/fixsdti.c: New file.
620 * soft-fp/fixddti.c: New file.
621 * soft-fp/fixtdti.c: New file.
622 * soft-fp/fixunssdti.c: New file.
623 * soft-fp/fixunsddti.c: New file.
624 * soft-fp/fixunstdti.c: New file.
625
626 2023-11-07 Kwok Cheung Yeung <kcy (a] codesourcery.com>
627
628 * offloadstuff.c (OFFLOAD_IND_FUNC_TABLE_SECTION_NAME): New.
629 (__offload_ind_func_table): New.
630 (__offload_ind_funcs_end): New.
631 (__OFFLOAD_TABLE__): Add entries for indirect functions.
632
633 2023-11-03 Thomas Schwinge <thomas (a] codesourcery.com>
634
635 * config/gcn/gthr-gcn.h (__gthread_getspecific): 's%NULL%0'.
636
637 2023-10-31 Alexandre Oliva <oliva (a] adacore.com>
638
639 * hardcfr.c: Adjust copyright year.
640
641 2023-10-24 Sergei Trofimovich <siarheit (a] google.com>
642
643 * config/aarch64/heap-trampoline.c: Disable when libc is not
644 present.
645 * config/i386/heap-trampoline.c: Ditto.
646
647 2023-10-22 Iain Sandoe <iain (a] sandoe.co.uk>
648
649 * config/t-slibgcc-darwin: Generate libgcc_s
650 with an @rpath name.
651 * config.host: Handle Darwin rpaths.
652 * config/t-darwin-rpath: New file.
653
654 2023-10-22 Andrew Burgess <andrew.burgess (a] embecosm.com>
655 Maxim Blinov <maxim.blinov (a] embecosm.com>
656 Iain Sandoe <iain (a] sandoe.co.uk>
657 Francois-Xavier Coudert <fxcoudert (a] gcc.gnu.org>
658
659 * libgcc2.h (__builtin_nested_func_ptr_created): Declare.
660 (__builtin_nested_func_ptr_deleted): Declare.
661 * libgcc-std.ver.in: Add the new symbols.
662 * config/aarch64/heap-trampoline.c: Implement heap-based
663 trampolines for aarch64.
664 * config/aarch64/t-heap-trampoline: Add rule to build
665 config/aarch64/heap-trampoline.c
666 * config/i386/heap-trampoline.c: Implement heap-based
667 trampolines for x86_64.
668 * config/i386/t-heap-trampoline: Add rule to build
669 config/i386/heap-trampoline.cc
670 * config.host: Handle --enable-heap-trampolines on
671 x86_64-*-linux*, aarch64-*-linux*, x86_64-*-darwin*.
672
673 2023-10-20 Andrew Stubbs <ams (a] codesourcery.com>
674
675 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Set false for __RDNA2__.
676
677 2023-10-20 Alexandre Oliva <oliva (a] adacore.com>
678
679 * Makefile.in (LIB2ADD): Add hardcfr.c.
680 * hardcfr.c: New.
681
682 2023-10-13 Florian Weimer <fweimer (a] redhat.com>
683
684 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Add
685 missing cast.
686
687 2023-10-13 Florian Weimer <fweimer (a] redhat.com>
688
689 * config/arc/linux-unwind.h (arc_fallback_frame_state): Add
690 missing cast.
691
692 2023-10-13 Florian Weimer <fweimer (a] redhat.com>
693
694 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
695 missing cast.
696
697 2023-10-13 Florian Weimer <fweimer (a] redhat.com>
698
699 * config/csky/linux-unwind.h (csky_fallback_frame_state): Add
700 missing cast.
701
702 2023-10-13 Florian Weimer <fweimer (a] redhat.com>
703
704 * config/m68k/fpgnulib.c (__cmpdf2): Declare.
705
706 2023-09-26 Wilco Dijkstra <wilco.dijkstra (a] arm.com>
707
708 * config/aarch64/lse.S (BTI_C): Remove define.
709
710 2023-09-20 Pekka Seppnen <pexu (a] gcc.mail.kapsi.fi>
711
712 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key):
713 Use const unsigned type and a builtin.
714
715 2023-09-06 Jakub Jelinek <jakub (a] redhat.com>
716
717 PR c/102989
718 * libgcc2.c (bitint_negate): Add function comment.
719 * soft-fp/bitint.h (bitint_negate): Add function comment.
720 (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
721
722 2023-09-06 Jakub Jelinek <jakub (a] redhat.com>
723
724 PR c/102989
725 * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
726 * config/i386/64/t-softfp (softfp_extras): Likewise.
727 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
728 routines.
729 * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
730 bf, hf and xf mode floatbitint.
731 (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
732 * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
733 * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
734 * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
735 * config/t-softfp (softfp_floatbitint_funcs): New.
736 (softfp_bid_list): New.
737 (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
738 (softfp_bid_file_list): New.
739 (LIB2ADD_ST): Add $(softfp_bid_file_list).
740 * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
741 floatbitinttf.
742 * config/t-softfp-tf (softfp_extras): Likewise.
743 * libgcc2.c (bitint_reduce_prec): New inline function.
744 (BITINT_INC, BITINT_END): Define.
745 (bitint_mul_1, bitint_addmul_1): New helper functions.
746 (__mulbitint3): New function.
747 (bitint_negate, bitint_submul_1): New helper functions.
748 (__divmodbitint4): New function.
749 * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
750 libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
751 (__mulbitint3, __divmodbitint4): Declare.
752 * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
753 * Makefile.in (lib2funcs): Add _mulbitint3.
754 (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
755 * soft-fp/bitint.h: New file.
756 * soft-fp/fixdfbitint.c: New file.
757 * soft-fp/fixsfbitint.c: New file.
758 * soft-fp/fixtfbitint.c: New file.
759 * soft-fp/fixxfbitint.c: New file.
760 * soft-fp/floatbitintbf.c: New file.
761 * soft-fp/floatbitintdf.c: New file.
762 * soft-fp/floatbitinthf.c: New file.
763 * soft-fp/floatbitintsf.c: New file.
764 * soft-fp/floatbitinttf.c: New file.
765 * soft-fp/floatbitintxf.c: New file.
766 * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
767 4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
768 * soft-fp/bitintpow10.c: New file.
769 * soft-fp/fixsdbitint.c: New file.
770 * soft-fp/fixddbitint.c: New file.
771 * soft-fp/fixtdbitint.c: New file.
772 * soft-fp/floatbitintsd.c: New file.
773 * soft-fp/floatbitintdd.c: New file.
774 * soft-fp/floatbitinttd.c: New file.
775
776 2023-09-06 Jakub Jelinek <jakub (a] redhat.com>
777
778 PR c/102989
779 * soft-fp/bitintpow10.h: New file.
780
781 2023-09-05 Yang Yujie <yangyujie (a] loongson.cn>
782
783 * config.host: add loongarch*-elf target.
784
785 2023-08-11 Thomas Neumann <thomas.neumann (a] in.tum.de>
786
787 PR libgcc/110956
788 * unwind-dw2-fde.c: Associate object with address of unwinding
789 table.
790
791 2023-08-07 John Ericson <git (a] JohnEricson.me>
792
793 * configure: Regenerate.
794
795 2023-08-07 Alan Modra <amodra (a] gmail.com>
796
797 * configure: Regenerate.
798
799 2023-07-23 Andrew Pinski <apinski (a] marvell.com>
800
801 * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
802 (riscv*-*-freebsd*): Likewise.
803 * config/riscv/t-crtstuff: New file.
804
805 2023-07-19 liuhongt <hongtao.liu (a] intel.com>
806
807 * config/i386/t-softfp: Add -msse2 to libbid HFtype related
808 files.
809
810 2023-07-11 Florian Weimer <fweimer (a] redhat.com>
811
812 PR libgcc/110179
813 * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
814 implicit conversion of pointer value to integer.
815
816 2023-07-06 Kito Cheng <kito.cheng (a] sifive.com>
817
818 * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
819 (FP_HANDLE_EXCEPTIONS): Ditto.
820
821 2023-06-19 Andrew Stubbs <ams (a] codesourcery.com>
822
823 * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
824 * config/gcn/lib2-divmod.c: Likewise.
825 * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
826 new vector libfuncs.
827 * config/gcn/t-amdgcn: Add new files.
828 * config/gcn/amdgcn_veclib.h: New file.
829 * config/gcn/lib2-vec_divmod-di.c: New file.
830 * config/gcn/lib2-vec_divmod-hi.c: New file.
831 * config/gcn/lib2-vec_divmod-qi.c: New file.
832 * config/gcn/lib2-vec_divmod.c: New file.
833
834 2023-06-19 Andrew Stubbs <ams (a] codesourcery.com>
835
836 * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
837 (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
838 * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
839 * config/gcn/lib2-divmod-hi.c: Removed.
840
841 2023-06-07 Florian Weimer <fweimer (a] redhat.com>
842
843 PR libgcc/109712
844 * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
845 parsing eh_frame.
846
847 2023-06-05 Kewen Lin <linkw (a] linux.ibm.com>
848
849 * config/i386/morestack.S: Use @init_array rather than
850 @progbits for section type of section .init_array.
851 * config/rs6000/morestack.S: Likewise.
852 * config/s390/morestack.S: Likewise.
853
854 2023-06-05 YunQiang Su <yunqiang.su (a] cipunited.com>
855
856 * config/mips/lib1funcs.S: New file.
857 define __speculation_barrier and include mips16.S.
858 * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
859 define LIB1ASMFUNCS as _speculation_barrier.
860 set version info for __speculation_barrier.
861 * config/mips/libgcc-mips.ver: New file.
862 * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
863 included in lib1funcs.S now.
864
865 2023-06-03 Thomas Neumann <tneumann (a] users.sourceforge.net>
866
867 PR libgcc/109670
868 * unwind-dw2-fde.c: Fix radix sort buffer management.
869
870 2023-06-03 Thomas Neumann <tneumann (a] users.sourceforge.net>
871
872 PR libgcc/109685
873 * unwind-dw2-fde.c: Free sort array in atomic fast path.
874
875 2023-05-19 Iain Sandoe <iain (a] sandoe.co.uk>
876
877 * config.host: Arrange to set min Darwin OS versions from
878 the configured host version.
879 * config/darwin10-unwind-find-enc-func.c: Do not use current
880 headers, but declare the nexessary structures locally to the
881 versions in use for Mac OSX 10.6.
882 * config/t-darwin: Amend to handle configured min OS
883 versions.
884 * config/t-darwin-min-1: New.
885 * config/t-darwin-min-5: New.
886 * config/t-darwin-min-8: New.
887
888 2023-05-15 Thomas Neumann <tneumann (a] users.sourceforge.net>
889
890 * unwind-dw2-fde.c: Fix assert in non-atomic path.
891
892 2023-05-15 Sren Tempel <soeren+git (a] soeren-tempel.net>
893
894 * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
895
896 2023-05-02 Patrick O'Neill <patrick (a] rivosinc.com>
897
898 * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
899 sequentially consistent LR.aqrl/SC.rl pairs.
900
901 2023-05-01 Dimitar Dimitrov <dimitar (a] dinux.eu>
902
903 * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
904 -DTARGET_HAS_NO_HW_DIVIDE.
905
906 2023-04-27 Hans-Peter Nilsson <hp (a] axis.com>
907
908 * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
909 -DTARGET_HAS_NO_HW_DIVIDE.
910
911 2023-04-26 Patrick O'Neill <patrick (a] rivosinc.com>
912
913 PR target/104338
914 * config/riscv/atomic.c: Add reference to duplicate logic.
915
916 2023-04-08 Tetsuma Hoshino <t-hoshino (a] pony-e.jp>
917
918 PR target/109402
919 * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
920 stack manipulations.
921
922 2023-04-05 John David Anglin <danglin (a] gcc.gnu.org>
923
924 PR target/109374
925 * config/pa/milli64.S (RETURN_COLUMN): Define.
926 ($$divI): Add CFI directives.
927 ($$divU): Likewise.
928 ($$remI): Likewise.
929 ($$remU): Likewise.
930
931 2023-03-19 Stafford Horne <shorne (a] gmail.com>
932
933 * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
934 statement clearing existing exceptions.
935
936 2023-03-13 Max Filippov <jcmvbkbc (a] gmail.com>
937
938 * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
939 * config/xtensa/crtn.S: Likewise.
940 * config/xtensa/lib1funcs.S: Likewise.
941 * config/xtensa/lib2funcs.S: Likewise.
942
943 2023-03-12 Jakub Jelinek <jakub (a] redhat.com>
944
945 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
946 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
947 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
948 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
949 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
950 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
951 * soft-fp/floatundibf.c: New file.
952 * soft-fp/floatdibf.c: New file.
953
954 2023-03-10 Jakub Jelinek <jakub (a] redhat.com>
955
956 PR target/107703
957 * soft-fp/floattibf.c: New file.
958 * soft-fp/floatuntibf.c: New file.
959 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
960 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
961 floatuntibf.
962 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
963
964 2023-03-08 Kewen Lin <linkw (a] linux.ibm.com>
965
966 PR libgcc/108727
967 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
968 bump size.
969
970 2023-03-06 Michael Meissner <meissner (a] linux.ibm.com>
971
972 PR target/107299
973 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
974 whether long double is IBM or IEEE.
975 (INFINITY): Likewise.
976 (FABS): Likewise.
977 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
978 (INFINITY): Likewise.
979 * config/rs6000/quad-float128.h (TF): Remove definition.
980 (TFtype): Define to be long double or _Float128.
981 (TCtype): Define to be _Complex long double or _Complex _Float128.
982 * libgcc2.h (TFtype): Allow machine config files to override this.
983 (TCtype): Likewise.
984 * soft-fp/quad.h (TFtype): Likewise.
985
986 2023-02-13 Kito Cheng <kito.cheng (a] sifive.com>
987
988 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
989 * config/riscv/value-unwind.h: New.
990
991 2023-02-03 Christophe Lyon <christophe.lyon (a] arm.com>
992
993 * config/arm/pr-support.c (__gnu_unwind_execute): Use
994 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
995
996 2023-01-30 Flavio Cruz <flaviocruz (a] gmail.com>
997
998 * config.host: Recognize x86_64-*-gnu* targets.
999 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
1000 TODO for now.
1001
1002 2023-01-23 Srinath Parvathaneni <srinath.parvathaneni (a] arm.com>
1003
1004 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
1005 "0xb5".
1006
1007 2023-01-23 Andrea Corallo <andrea.corallo (a] arm.com>
1008 Tejas Belagod <tbelagod (a] arm.com>
1009 Srinath Parvathaneni <srinath.parvathaneni (a] arm.com>
1010
1011 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
1012 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
1013 with AUTG if found.
1014 * config/arm/unwind-arm.c (struct pseudo_regs): New.
1015 (phase1_vrs): Introduce new field to store pseudo-reg state.
1016 (phase2_vrs): Likewise.
1017 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
1018 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
1019 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
1020
1021 2023-01-18 Wilco Dijkstra <wilco.dijkstra (a] arm.com>
1022
1023 PR target/107678
1024 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
1025 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
1026 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
1027 encode the return address signing state.
1028 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
1029 Check current return address signing state.
1030 (aarch64_frob_update_contex): Remove.
1031
1032 2023-01-13 John David Anglin <danglin (a] gcc.gnu.org>
1033
1034 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
1035 pa/t-pa64-linux.
1036 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
1037 instead of pa/t-hpux and pa/t-pa64.
1038 * config/pa/linux-atomic.c: Define u32 type.
1039 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
1040 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
1041 defines to use atomic_load calls for type.
1042 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
1043 * config/pa/sync-libfuncs.c: New file.
1044 * config/pa/t-netbsd (LIB2ADD_ST): Define.
1045 * config/pa/t-openbsd (LIB2ADD_ST): Define.
1046 * config/pa/t-pa64-hpux: New file.
1047 * config/pa/t-pa64-linux: New file.
1048
1049 2023-01-13 Jonathan Wakely <jwakely (a] redhat.com>
1050
1051 PR libstdc++/108331
1052 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
1053 struct matching the previous __gthread_mutex_t struct.
1054 (__GTHREAD_LEGACY_MUTEX_T): Define.
1055
1056 2023-01-13 Seija Kijin <doremylover456 (a] gmail.com>
1057
1058 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
1059 unified syntax.
1060
1061 2023-01-07 LIU Hao <lh_mouse (a] 126.com>
1062
1063 PR middle-end/108300
1064 * config/i386/enable-execute-stack-mingw32.c: Define
1065 `WIN32_LEAN_AND_MEAN` before <windows.h>.
1066 * libgcc2.c: Likewise.
1067 * unwind-generic.h: Likewise.
1068
1069 2023-01-03 Florian Weimer <fweimer (a] redhat.com>
1070
1071 * unwind-dw2-execute_cfa.h: New file. Extracted from
1072 the execute_cfa_program function in unwind-dw2.c.
1073 * unwind-dw2.c (execute_cfa_program_generic): New function.
1074 (execute_cfa_program_specialized): Likewise.
1075 (execute_cfa_program): Call execute_cfa_program_specialized
1076 or execute_cfa_program_generic, as appropriate.
1077
1078 2023-01-03 Florian Weimer <fweimer (a] redhat.com>
1079
1080 Revert:
1081 2023-01-03 Florian Weimer <fweimer (a] redhat.com>
1082
1083 * unwind-dw2.c (dwarf_reg_size): New function.
1084 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
1085 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
1086 (uw_init_context_1): Do not initialize dwarf_reg_size_table
1087 if not in use.
1088
1089 2023-01-03 Florian Weimer <fweimer (a] redhat.com>
1090
1091 Revert:
1092 2023-01-03 Florian Weimer <fweimer (a] redhat.com>
1093
1094 * unwind-dw2-execute_cfa.h: New file. Extracted from
1095 the execute_cfa_program function in unwind-dw2.c.
1096 * unwind-dw2.c (execute_cfa_program_generic): New function.
1097 (execute_cfa_program_specialized): Likewise.
1098 (execute_cfa_program): Call execute_cfa_program_specialized
1099 or execute_cfa_program_generic, as appropriate.
1100
1101 2023-01-02 Florian Weimer <fweimer (a] redhat.com>
1102
1103 * unwind-dw2-execute_cfa.h: New file. Extracted from
1104 the execute_cfa_program function in unwind-dw2.c.
1105 * unwind-dw2.c (execute_cfa_program_generic): New function.
1106 (execute_cfa_program_specialized): Likewise.
1107 (execute_cfa_program): Call execute_cfa_program_specialized
1108 or execute_cfa_program_generic, as appropriate.
1109
1110 2023-01-02 Florian Weimer <fweimer (a] redhat.com>
1111
1112 * unwind-dw2.c (dwarf_reg_size): New function.
1113 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
1114 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
1115 (uw_init_context_1): Do not initialize dwarf_reg_size_table
1116 if not in use.
1117
1118 2022-12-25 Jonathan Yong <10walls (a] gmail.com>
1119
1120 * config/i386/gthr-win32.h: undef CC_NONE
1121
1122 2022-12-24 Iain Sandoe <iain (a] sandoe.co.uk>
1123
1124 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
1125 install of libgcc_s.1.dylib when the installation is into the build
1126 gcc directory.
1127
1128 2022-12-23 Eric Botcazou <ebotcazou (a] adacore.com>
1129
1130 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
1131 as well as new i386/t-slibgcc-mingw fragment.
1132 (x86_64-*-mingw*): Likewise.
1133 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
1134 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
1135 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
1136 Include stdlib.h instead of errno.h and do not include _mingw.h.
1137 (CONST_CAST2): Add specific definition for C++.
1138 (ATTRIBUTE_UNUSED): New macro.
1139 (__UNUSED_PARAM): Delete.
1140 Define WIN32_LEAN_AND_MEAN before including windows.h.
1141 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
1142 (__gthread_objc_init_thread_system): Likewise.
1143 (__gthread_objc_thread_get_data): Minor tweak.
1144 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
1145 (__gthread_objc_condition_deallocate): Likewise.
1146 (__gthread_objc_condition_wait): Likewise.
1147 (__gthread_objc_condition_broadcast): Likewise.
1148 (__gthread_objc_condition_signal): Likewise.
1149 Include sys/time.h.
1150 (__gthr_win32_DWORD): New typedef.
1151 (__gthr_win32_HANDLE): Likewise.
1152 (__gthr_win32_CRITICAL_SECTION): Likewise.
1153 (__gthr_win32_CONDITION_VARIABLE): Likewise.
1154 (__gthread_t): Adjust.
1155 (__gthread_key_t): Likewise.
1156 (__gthread_mutex_t): Likewise.
1157 (__gthread_recursive_mutex_t): Likewise.
1158 (__gthread_cond_t): New typedef.
1159 (__gthread_time_t): Likewise.
1160 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
1161 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
1162 (__GTHREAD_COND_INIT_FUNCTION): Define.
1163 (__GTHREAD_TIME_INIT): Likewise.
1164 (__gthr_i486_lock_cmp_xchg): Delete.
1165 (__gthr_win32_create): Declare.
1166 (__gthr_win32_join): Likewise.
1167 (__gthr_win32_self): Likewise.
1168 (__gthr_win32_detach): Likewise.
1169 (__gthr_win32_equal): Likewise.
1170 (__gthr_win32_yield): Likewise.
1171 (__gthr_win32_mutex_destroy): Likewise.
1172 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
1173 (__gthr_win32_cond_broadcast): Likewise.
1174 (__gthr_win32_cond_signal): Likewise.
1175 (__gthr_win32_cond_wait): Likewise.
1176 (__gthr_win32_cond_timedwait): Likewise.
1177 (__gthr_win32_recursive_mutex_init_function): Delete.
1178 (__gthr_win32_recursive_mutex_lock): Likewise.
1179 (__gthr_win32_recursive_mutex_unlock): Likewise.
1180 (__gthr_win32_recursive_mutex_destroy): Likewise.
1181 (__gthread_create): New inline function.
1182 (__gthread_join): Likewise.
1183 (__gthread_self): Likewise.
1184 (__gthread_detach): Likewise.
1185 (__gthread_equal): Likewise.
1186 (__gthread_yield): Likewise.
1187 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
1188 (__gthread_cond_broadcast): Likewise.
1189 (__gthread_cond_signal): Likewise.
1190 (__gthread_cond_wait): Likewise.
1191 (__gthread_cond_timedwait): Likewise.
1192 (__GTHREAD_WIN32_INLINE): New macro.
1193 (__GTHREAD_WIN32_COND_INLINE): Likewise.
1194 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
1195 Define WIN32_LEAN_AND_MEAN before including windows.h.
1196 (__gthread_once): Minor tweaks.
1197 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
1198 (__gthread_key_delete): Minor tweak.
1199 (__gthread_getspecific): Likewise.
1200 (__gthread_setspecific): Likewise.
1201 (__gthread_mutex_init_function): Reimplement.
1202 (__gthread_mutex_destroy): Likewise.
1203 (__gthread_mutex_lock): Likewise.
1204 (__gthread_mutex_trylock): Likewise.
1205 (__gthread_mutex_unlock): Likewise.
1206 (__gthr_win32_abs_to_rel_time): Declare.
1207 (__gthread_recursive_mutex_init_function): Reimplement.
1208 (__gthread_recursive_mutex_destroy): Likewise.
1209 (__gthread_recursive_mutex_lock): Likewise.
1210 (__gthread_recursive_mutex_trylock): Likewise.
1211 (__gthread_recursive_mutex_unlock): Likewise.
1212 (__gthread_cond_destroy): New inline function.
1213 (__gthread_cond_wait_recursive): Likewise.
1214 * config/i386/gthr-win32.c: Delete everything.
1215 Include gthr-win32.h to get the out-of-line version of inline routines.
1216 Add compile-time checks for the local version of the Win32 types.
1217 * config/i386/gthr-win32-cond.c: New file.
1218 * config/i386/gthr-win32-thread.c: Likewise.
1219 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
1220 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
1221 the static version of libgcc.
1222 * config/i386/t-slibgcc-mingw: New file.
1223 * config/i386/libgcc-mingw.ver: Likewise.
1224
1225 2022-12-16 Thomas Neumann <tneumann (a] users.sourceforge.net>
1226
1227 * unwind-dw2-fde.c: Initialize fde object lazily when
1228 the first exception tries to pass through.
1229
1230 2022-12-16 Thomas Neumann <tneumann (a] users.sourceforge.net>
1231
1232 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
1233
1234 2022-12-08 Max Filippov <jcmvbkbc (a] gmail.com>
1235
1236 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
1237 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
1238 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
1239 (XSHAL_ABI): Remove stray symbols from macro definitions.
1240
1241 2022-12-07 Max Filippov <jcmvbkbc (a] gmail.com>
1242
1243 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
1244 xtensa-config-builtin.h.
1245 * config/xtensa/crtn.S: Likewise.
1246 * config/xtensa/lib1funcs.S: Likewise.
1247 * config/xtensa/lib2funcs.S: Likewise.
1248 * config/xtensa/xtensa-config-builtin.h: New File.
1249
1250 2022-11-04 Florian Weimer <fweimer (a] redhat.com>
1251
1252 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
1253 values actually used by BFD ld.
1254
1255 2022-10-23 LIU Hao <lh_mouse (a] 126.com>
1256
1257 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
1258 libobjc, instead of 'gthr.h'
1259
1260 2022-10-19 LIU Hao <lh_mouse (a] 126.com>
1261
1262 * config.host: Add new cases for `mcf` thread model
1263 * config/i386/gthr-mcf.h: New file
1264 * config/i386/t-mingw-mcfgthread: New file
1265 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
1266 * configure: Regenerate
1267
1268 2022-10-18 Jonathan Wakely <jwakely (a] redhat.com>
1269
1270 * Makefile.in: Quote variable.
1271
1272 2022-10-17 H.J. Lu <hjl.tools (a] gmail.com>
1273
1274 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
1275 argument.
1276 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
1277 _Unwind_Frames_Increment.
1278 (_Unwind_ForcedUnwind_Phase2): Likewise.
1279 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1280 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
1281 return address on normal stack doesn't match the return address
1282 on shadow stack.
1283
1284 2022-10-17 Florian Weimer <fweimer (a] redhat.com>
1285
1286 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
1287 and reduce its size.
1288
1289 2022-10-14 Jakub Jelinek <jakub (a] redhat.com>
1290
1291 * config/i386/t-softfp (softfp_extensions): Add bfsf.
1292 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
1293 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
1294 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
1295 -msse2.
1296 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
1297 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
1298 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
1299 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
1300 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
1301 * soft-fp/brain.h: New file.
1302 * soft-fp/truncsfbf2.c: New file.
1303 * soft-fp/truncdfbf2.c: New file.
1304 * soft-fp/truncxfbf2.c: New file.
1305 * soft-fp/trunctfbf2.c: New file.
1306 * soft-fp/trunchfbf2.c: New file.
1307 * soft-fp/truncbfhf2.c: New file.
1308 * soft-fp/extendbfsf2.c: New file.
1309
1310 2022-10-12 Martin Liska <mliska (a] suse.cz>
1311
1312 * libgcov-driver.c: Use new function.
1313 * libgcov.h (gcov_write_summary): Rename to ...
1314 (gcov_write_object_summary): ... this.
1315
1316 2022-10-11 Olivier Hainque <hainque (a] adacore.com>
1317
1318 * config.host (*vxworks*): When enable_shared, add
1319 libgcc and crtstuff "shared" fragments for rtp except
1320 large code model.
1321 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
1322 the list of fragments.
1323
1324 2022-10-06 Jakub Jelinek <jakub (a] redhat.com>
1325
1326 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1327 fs->regs.how[X] instead of fs->regs.reg[X].how.
1328
1329 2022-10-06 Jakub Jelinek <jakub (a] redhat.com>
1330
1331 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
1332 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
1333 REG_UNDEFINED): New anonymous enum, moved from inside of
1334 struct frame_state_reg_info.
1335 (struct frame_state_reg_info): Remove reg[].how element and the
1336 anonymous enum there. Add how element.
1337 * unwind-dw2.c: Include stddef.h.
1338 (uw_frame_state_for): Don't clear first
1339 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
1340 (execute_cfa_program, __frame_state_for, uw_update_context_1,
1341 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
1342 or fs.regs.how[X] instead of fs.regs.reg[X].how.
1343 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
1344 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1345 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1346 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
1347 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
1348 Likewise.
1349 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
1350 Likewise.
1351 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
1352 * config/arc/linux-unwind.h (arc_fallback_frame_state,
1353 arc_frob_update_context): Likewise.
1354 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
1355 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
1356 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
1357 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
1358 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
1359 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
1360 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
1361 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
1362 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
1363 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
1364 x86_fallback_frame_state): Likewise.
1365 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
1366 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1367 x86_fallback_frame_state): Likewise.
1368 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
1369 Likewise.
1370 * config/i386/dragonfly-unwind.h
1371 (x86_64_dragonfly_fallback_frame_state): Likewise.
1372 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
1373 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
1374 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
1375 Likewise.
1376 * config/aarch64/freebsd-unwind.h
1377 (aarch64_freebsd_fallback_frame_state): Likewise.
1378 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1379 Likewise.
1380 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
1381 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1382 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
1383 Likewise.
1384 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
1385 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1386 Likewise.
1387 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
1388 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
1389 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
1390 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
1391
1392 2022-10-02 Olivier Hainque <hainque (a] adacore.com>
1393
1394 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
1395 -I options for gcc/include and gcc/include-fixed at the end
1396 and make them -isystem.
1397
1398 2022-10-02 Olivier Hainque <hainque (a] adacore.com>
1399
1400 * config/gthr-vxworks.h: Prevent Wpragma warning for the
1401 pragma diagnostics on Wstrict-prototypes.
1402
1403 2022-09-29 Olivier Hainque <hainque (a] adacore.com>
1404
1405 * config/vxcrtstuff.c: Improve the comment attached to the use
1406 of auto-host.h and of __dso_handle. Remove redundant guard on
1407 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
1408
1409 2022-09-26 Thomas Neumann <tneumann (a] users.sourceforge.net>
1410
1411 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
1412 for the non-fast-path case. Drop destructor priority.
1413
1414 2022-09-22 Thomas Neumann <tneumann (a] users.sourceforge.net>
1415
1416 * unwind-dw2-fde.c: (release_register_frames) Remember
1417 when the btree has been destroyed.
1418 (__deregister_frame_info_bases) Disable the assert when
1419 shutting down.
1420
1421 2022-09-18 Thomas Neumann <tneumann (a] users.sourceforge.net>
1422
1423 * unwind-dw2-fde.c: Replace uintptr_t with typedef
1424 for __UINTPTR_TYPE__.
1425 * unwind-dw2-btree.h: Likewise.
1426
1427 2022-09-16 Thomas Neumann <tneumann (a] users.sourceforge.net>
1428
1429 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
1430 (__register_frame_info_table_bases): Use btree in atomic fast path.
1431 (__deregister_frame_info_bases): Likewise.
1432 (_Unwind_Find_FDE): Likewise.
1433 (base_from_object): Make parameter const.
1434 (classify_object_over_fdes): Add query-only mode.
1435 (get_pc_range): Compute PC range for lookup.
1436 * unwind-dw2-fde.h (last_fde): Make parameter const.
1437 * unwind-dw2-btree.h: New file.
1438
1439 2022-08-31 Martin Liska <mliska (a] suse.cz>
1440
1441 * config.host: Remove hppa.
1442
1443 2022-08-30 Martin Liska <mliska (a] suse.cz>
1444
1445 * config.host: Remove the port.
1446
1447 2022-08-26 Martin Liska <mliska (a] suse.cz>
1448
1449 * config.host: Remove cr16 related stuff.
1450 * config/cr16/crti.S: Removed.
1451 * config/cr16/crtlibid.S: Removed.
1452 * config/cr16/crtn.S: Removed.
1453 * config/cr16/divmodhi3.c: Removed.
1454 * config/cr16/lib1funcs.S: Removed.
1455 * config/cr16/t-cr16: Removed.
1456 * config/cr16/t-crtlibid: Removed.
1457 * config/cr16/unwind-cr16.c: Removed.
1458 * config/cr16/unwind-dw2.h: Removed.
1459
1460 2022-08-16 Kito Cheng <kito.cheng (a] sifive.com>
1461
1462 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
1463 (_FP_NANFRAC_H): Ditto.
1464 (_FP_NANSIGN_H): Ditto.
1465 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
1466 routines.
1467 (softfp_truncations): Ditto.
1468 (softfp_extras): Ditto.
1469 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
1470
1471 2022-08-16 Kito Cheng <kito.cheng (a] sifive.com>
1472
1473 * soft-fp/fixhfdi.c: New.
1474 * soft-fp/fixhfsi.c: Likewise.
1475 * soft-fp/fixunshfdi.c: Likewise.
1476 * soft-fp/fixunshfsi.c: Likewise.
1477 * soft-fp/floatdihf.c: Likewise.
1478 * soft-fp/floatsihf.c: Likewise.
1479 * soft-fp/floatundihf.c: Likewise.
1480 * soft-fp/floatunsihf.c: Likewise.
1481 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
1482 lines and update URL for license.
1483 * soft-fp/addsf3.c: Likewise.
1484 * soft-fp/addtf3.c: Likewise.
1485 * soft-fp/divdf3.c: Likewise.
1486 * soft-fp/divsf3.c: Likewise.
1487 * soft-fp/divtf3.c: Likewise.
1488 * soft-fp/double.h: Likewise.
1489 * soft-fp/eqdf2.c: Likewise.
1490 * soft-fp/eqhf2.c: Likewise.
1491 * soft-fp/eqsf2.c: Likewise.
1492 * soft-fp/eqtf2.c: Likewise.
1493 * soft-fp/extenddftf2.c: Likewise.
1494 * soft-fp/extended.h: Likewise.
1495 * soft-fp/extendhfdf2.c: Likewise.
1496 * soft-fp/extendhfsf2.c: Likewise.
1497 * soft-fp/extendhftf2.c: Likewise.
1498 * soft-fp/extendhfxf2.c: Likewise.
1499 * soft-fp/extendsfdf2.c: Likewise.
1500 * soft-fp/extendsftf2.c: Likewise.
1501 * soft-fp/extendxftf2.c: Likewise.
1502 * soft-fp/fixdfdi.c: Likewise.
1503 * soft-fp/fixdfsi.c: Likewise.
1504 * soft-fp/fixdfti.c: Likewise.
1505 * soft-fp/fixhfti.c: Likewise.
1506 * soft-fp/fixsfdi.c: Likewise.
1507 * soft-fp/fixsfsi.c: Likewise.
1508 * soft-fp/fixsfti.c: Likewise.
1509 * soft-fp/fixtfdi.c: Likewise.
1510 * soft-fp/fixtfsi.c: Likewise.
1511 * soft-fp/fixtfti.c: Likewise.
1512 * soft-fp/fixunsdfdi.c: Likewise.
1513 * soft-fp/fixunsdfsi.c: Likewise.
1514 * soft-fp/fixunsdfti.c: Likewise.
1515 * soft-fp/fixunshfti.c: Likewise.
1516 * soft-fp/fixunssfdi.c: Likewise.
1517 * soft-fp/fixunssfsi.c: Likewise.
1518 * soft-fp/fixunssfti.c: Likewise.
1519 * soft-fp/fixunstfdi.c: Likewise.
1520 * soft-fp/fixunstfsi.c: Likewise.
1521 * soft-fp/fixunstfti.c: Likewise.
1522 * soft-fp/floatdidf.c: Likewise.
1523 * soft-fp/floatdisf.c: Likewise.
1524 * soft-fp/floatditf.c: Likewise.
1525 * soft-fp/floatsidf.c: Likewise.
1526 * soft-fp/floatsisf.c: Likewise.
1527 * soft-fp/floatsitf.c: Likewise.
1528 * soft-fp/floattidf.c: Likewise.
1529 * soft-fp/floattihf.c: Likewise.
1530 * soft-fp/floattisf.c: Likewise.
1531 * soft-fp/floattitf.c: Likewise.
1532 * soft-fp/floatundidf.c: Likewise.
1533 * soft-fp/floatundisf.c: Likewise.
1534 * soft-fp/floatunditf.c: Likewise.
1535 * soft-fp/floatunsidf.c: Likewise.
1536 * soft-fp/floatunsisf.c: Likewise.
1537 * soft-fp/floatunsitf.c: Likewise.
1538 * soft-fp/floatuntidf.c: Likewise.
1539 * soft-fp/floatuntihf.c: Likewise.
1540 * soft-fp/floatuntisf.c: Likewise.
1541 * soft-fp/floatuntitf.c: Likewise.
1542 * soft-fp/gedf2.c: Likewise.
1543 * soft-fp/gesf2.c: Likewise.
1544 * soft-fp/getf2.c: Likewise.
1545 * soft-fp/half.h: Likewise.
1546 * soft-fp/ledf2.c: Likewise.
1547 * soft-fp/lesf2.c: Likewise.
1548 * soft-fp/letf2.c: Likewise.
1549 * soft-fp/muldf3.c: Likewise.
1550 * soft-fp/mulsf3.c: Likewise.
1551 * soft-fp/multf3.c: Likewise.
1552 * soft-fp/negdf2.c: Likewise.
1553 * soft-fp/negsf2.c: Likewise.
1554 * soft-fp/negtf2.c: Likewise.
1555 * soft-fp/op-1.h: Likewise.
1556 * soft-fp/op-2.h: Likewise.
1557 * soft-fp/op-4.h: Likewise.
1558 * soft-fp/op-8.h: Likewise.
1559 * soft-fp/op-common.h: Likewise.
1560 * soft-fp/quad.h: Likewise.
1561 * soft-fp/single.h: Likewise.
1562 * soft-fp/soft-fp.h: Likewise.
1563 * soft-fp/subdf3.c: Likewise.
1564 * soft-fp/subsf3.c: Likewise.
1565 * soft-fp/subtf3.c: Likewise.
1566 * soft-fp/truncdfhf2.c: Likewise.
1567 * soft-fp/truncdfsf2.c: Likewise.
1568 * soft-fp/truncsfhf2.c: Likewise.
1569 * soft-fp/trunctfdf2.c: Likewise.
1570 * soft-fp/trunctfhf2.c: Likewise.
1571 * soft-fp/trunctfsf2.c: Likewise.
1572 * soft-fp/trunctfxf2.c: Likewise.
1573 * soft-fp/truncxfhf2.c: Likewise.
1574 * soft-fp/unorddf2.c: Likewise.
1575 * soft-fp/unordsf2.c: Likewise.
1576 * soft-fp/unordtf2.c: Likewise.
1577
1578 2022-07-18 Claudiu Zissulescu <claziss (a] synopsys.com>
1579
1580 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
1581 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
1582 configurations.
1583
1584 2022-06-25 Jeff Law <jeffreyalaw (a] gmail.com>
1585
1586 * config.host: Removed tilegx and tilepro entries.
1587 * config/tilegx/sfp-machine.h: Removed.
1588 * config/tilegx/sfp-machine32.h: Removed.
1589 * config/tilegx/sfp-machine64.h: Removed.
1590 * config/tilegx/t-crtstuff: Removed.
1591 * config/tilegx/t-softfp: Removed.
1592 * config/tilegx/t-tilegx: Removed.
1593 * config/tilepro/atomic.c: Removed.
1594 * config/tilepro/atomic.h: Removed.
1595 * config/tilepro/linux-unwind.h: Removed.
1596 * config/tilepro/sfp-machine.h: Removed.
1597 * config/tilepro/softdivide.c: Removed.
1598 * config/tilepro/softmpy.S: Removed.
1599 * config/tilepro/t-crtstuff: Removed.
1600 * config/tilepro/t-tilepro: Removed.
1601
1602 2022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175 (a] yahoo.co.jp>
1603
1604 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
1605 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
1606
1607 2022-06-01 H.J. Lu <hjl.tools (a] gmail.com>
1608
1609 PR libgcc/27576
1610 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
1611
1612 2022-05-25 Wilco Dijkstra <wilco.dijkstra (a] arm.com>
1613
1614 PR libgcc/105708
1615 * config/aarch64/lse-init.c: Increase constructor priority.
1616
1617 2022-05-25 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
1618
1619 PR target/104689
1620 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1621 Handle the !REG_UNSAVED case.
1622 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
1623
1624 2022-05-20 Christophe Lyon <christophe.lyon (a] arm.com>
1625
1626 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
1627 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
1628 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
1629
1630 2022-05-20 Christophe Lyon <christophe.lyon (a] arm.com>
1631
1632 * config.host: Add t-dfprules to AArch64 targets.
1633
1634 2022-05-20 Christophe Lyon <christophe.lyon (a] arm.com>
1635
1636 * configure: Regenerate.
1637
1638 2022-05-13 Sebastian Pop <spop (a] amazon.com>
1639
1640 PR target/105162
1641 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
1642 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
1643
1644 2022-05-10 Martin Liska <mliska (a] suse.cz>
1645 Hans-Peter Helfert <peter-helfert (a] t-online.de>
1646
1647 PR gcov-profile/105535
1648 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
1649 n_functions.
1650
1651 2022-05-02 Martin Liska <mliska (a] suse.cz>
1652
1653 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
1654
1655 2022-04-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1656
1657 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
1658 (gcov_profile_merge_stream): Likewise.
1659
1660 2022-04-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1661
1662 * libgcov-util.c (consume_stream): New.
1663 (get_target_profiles_for_merge): Likewise.
1664 (gcov_profile_merge_stream): Likewise.
1665
1666 2022-04-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1667
1668 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
1669
1670 2022-04-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1671
1672 * libgcov-util.c (read_gcda_file): Do not open file.
1673 (ftw_read_file): Open file here.
1674
1675 2022-04-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1676
1677 * libgcov-util.c (read_gcda_file): Prepend new info object to global
1678 list.
1679 (ftw_read_file): Remove list append here.
1680
1681 2022-04-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1682
1683 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
1684 (ftw_read_file): Duplicate filename for read_gcda_file().
1685
1686 2022-04-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1687
1688 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
1689 (__gcov_filename_to_gcfn): Declare and document.
1690 * libgcov-driver.c (dump_string): New.
1691 (__gcov_filename_to_gcfn): Likewise.
1692 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
1693
1694 2022-04-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1695
1696 * libgcov.h (gcov_seek): Remove define and declaration.
1697
1698 2022-04-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1699
1700 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
1701 parameter. Pass mode to gcov_open() calls.
1702 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
1703 gcov_exit_open_gcda_file() call.
1704 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
1705 calls.
1706 (__gcov_dump_one): Open file for reading and writing.
1707
1708 2022-04-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1709
1710 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
1711 reading and writing.
1712 * libgcov-util.c (read_gcda_file): Open file for reading.
1713 * libgcov.h (gcov_open): Delete declaration.
1714
1715 2022-04-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1716
1717 * libgcov-util.c (gcov_profile_merge): Return the list of merged
1718 profiles. Accept empty target and source profile lists.
1719
1720 2022-04-08 Sergei Trofimovich <siarheit (a] google.com>
1721
1722 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
1723
1724 2022-03-29 Chenghua Xu <xuchenghua (a] loongson.cn>
1725 Lulu Cheng <chenglulu (a] loongson.cn>
1726
1727 * configure: Regenerate file.
1728
1729 2022-03-29 Chenghua Xu <xuchenghua (a] loongson.cn>
1730 Lulu Cheng <chenglulu (a] loongson.cn>
1731
1732 * config/loongarch/crtfastmath.c: New file.
1733 * config/loongarch/linux-unwind.h: Like wise.
1734 * config/loongarch/sfp-machine.h: Like wise.
1735 * config/loongarch/t-crtstuff: Like wise.
1736 * config/loongarch/t-loongarch: Like wise.
1737 * config/loongarch/t-loongarch64: Like wise.
1738 * config/loongarch/t-softfp-tf: Like wise.
1739 * config.host: Add LoongArch tuples.
1740 * configure.ac: Add LoongArch support.
1741
1742 2022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
1743
1744 PR libgcc/86224
1745 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
1746 for __mulsi3.
1747 (__udivsi3_internal, __divsi3_internal): Similarly.
1748 (__umodsi3, __modsi3): Use the internal function names.
1749
1750 2022-03-09 Tobias Burnus <tobias (a] codesourcery.com>
1751
1752 PR target/102215
1753 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
1754 a line up to non-arg-dependent value first.
1755 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
1756 __atomic_compare_exchange_{1,2}.
1757
1758 2022-03-04 Iain Sandoe <iain (a] sandoe.co.uk>
1759
1760 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
1761 * config/t-darwin-ehs: Add dependency on unwind.h.
1762
1763 2022-02-24 Xi Ruoyao <xry111 (a] mengyan1223.wang>
1764
1765 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
1766 with 0 instead of NULL.
1767
1768 2022-02-24 Jose E. Marchesi <jose.marchesi (a] oracle.com>
1769
1770 PR target/104656
1771 * configure.ac: --disable-gcov if targetting bpf-*.
1772 * configure: Regenerate.
1773
1774 2022-01-25 Florian Weimer <fweimer (a] redhat.com>
1775
1776 PR libgcc/104207
1777 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
1778
1779 2022-01-17 Martin Liska <mliska (a] suse.cz>
1780
1781 * libgcov-driver.c: Rename .c names to .cc.
1782
1783 2022-01-15 David <gccbugzilla (a] limegreensocks.com>
1784
1785 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
1786 Remove inlined version, Windows 95 is no longer relevant.
1787 * config/i386/gthr-win32.h
1788 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
1789
1790 2022-01-14 Claudiu Zissulescu <claziss (a] synopsys.com>
1791
1792 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1793 DWARF_ALT_FRAME_RETURN_COLUMN macro.
1794
1795 2022-01-04 Florian Weimer <fweimer (a] redhat.com>
1796
1797 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1798 if available.
1799
1800 2022-01-02 John David Anglin <danglin (a] gcc.gnu.org>
1801
1802 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1803 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1804 return is not equal _ASM_EFAULT.
1805 (__kernel_cmpxchg2): Likewise.
1806
1807 2021-12-17 Iain Sandoe <iain (a] sandoe.co.uk>
1808
1809 * config.host: Add shim declaration header to powerpc*-darwin builds.
1810 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1811 file.
1812 * config/t-darwin-ehs: Add dependencies to the shared unwinder
1813 objects.
1814 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1815 the shared EH lib. Add all-multi to the dependencies for the
1816 libgcc_s.1.dylib redirections.
1817
1818 2021-12-13 Olivier Hainque <hainque (a] adacore.com>
1819
1820 * config.host (powerpc*-*-vxworks7*): Remove
1821 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1822
1823 2021-12-13 Olivier Hainque <hainque (a] adacore.com>
1824
1825 * config.host (*vxworks*): Remove special case for
1826 arm on the use of vxcrtstuff.
1827
1828 2021-12-13 Fred Konrad <konrad (a] adacore.com>
1829 Olivier Hainque <hainque (a] adacore.com>
1830
1831 * config/t-vxcrtstuffS: New Makefile fragment.
1832 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1833 functions for INITFINI_ARRAY support in shared libs and guard
1834 the definition of eh table registration functions on conditions
1835 indicating they are needed.
1836
1837 2021-12-13 Olivier Hainque <hainque (a] adacore.com>
1838
1839 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1840 ahead of the other files in tmake_files.
1841 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1842 overriding it.
1843
1844 2021-12-13 Olivier Hainque <hainque (a] adacore.com>
1845
1846 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1847 both VxWorks7 and earlier.
1848 * config/t-vxworks7: Remove.
1849 * config.host: Remove special case for vxworks7.
1850
1851 2021-12-11 Rasmus Villemoes <rasmus.villemoes (a] prevas.dk>
1852
1853 * config/vxcrtstuff.c: Make constructor and destructor
1854 functions static when possible.
1855
1856 2021-12-11 Rasmus Villemoes <rasmus.villemoes (a] prevas.dk>
1857
1858 * config/vxcrtstuff.c: Remove constructor/destructor
1859 declarations.
1860
1861 2021-12-10 Iain Sandoe <iain (a] sandoe.co.uk>
1862
1863 * config/t-darwin: Add libgcc_tm.h to the dependencies
1864 for darwin10-unwind-find-enc-func.
1865
1866 2021-12-10 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
1867
1868 * config/rs6000/t-vxworks: New file.
1869 * config.host (powerpc*-*-vxworks*): Use it instead of
1870 t-ppccomm.
1871
1872 2021-12-09 Fred Konrad <konrad (a] adacore.com>
1873
1874 * config.host (powerpc*-wrs-vxworks7*): Fix path to
1875 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1876
1877 2021-12-09 Olivier Hainque <hainque (a] adacore.com>
1878 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
1879
1880 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1881 $(LIBGCC2_INCLUDES).
1882 * config/t-vxworks7: Likewise.
1883
1884 2021-12-08 Iain Sandoe <iain (a] sandoe.co.uk>
1885
1886 * config.host (*-*-darwin*): Add logic to build a shared
1887 unwinder library for Darwin8-10.
1888 * config/i386/t-darwin: Build legacy libgcc_s.1.
1889 * config/rs6000/t-darwin: Likewise.
1890 * config/t-darwin: Reorganise the EH fragments to place
1891 them for inclusion in a shared EH lib.
1892 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1893 the supporting pieces (all FAT libs).
1894 * config/t-darwin-noeh: Removed.
1895 * config/darwin-unwind.ver: New file.
1896 * config/rs6000/t-darwin-ehs: New file.
1897 * config/t-darwin-ehs: New file.
1898
1899 2021-12-06 Nelson Chu <nelson.chu (a] sifive.com>
1900
1901 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1902 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1903 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1904 HIDDEN_DEF.
1905
1906 2021-11-30 Rasmus Villemoes <rasmus.villemoes (a] prevas.dk>
1907
1908 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1909 ssize_t and vfork after including auto-host.h.
1910
1911 2021-11-29 Rasmus Villemoes <rasmus.villemoes (a] prevas.dk>
1912
1913 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1914 crtend.o to extra_parts.
1915
1916 2021-11-27 John David Anglin <danglin (a] gcc.gnu.org>
1917
1918 * config/pa/t-dimode (lib2difuncs): Fix typo.
1919
1920 2021-11-25 Florian Weimer <fweimer (a] redhat.com>
1921
1922 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1923 Remove func, ret.
1924 (find_fde_tail): New function. Split from
1925 _Unwind_IteratePhdrCallback. Move the result initialization
1926 from _Unwind_Find_FDE.
1927 (_Unwind_Find_FDE): Updated to call find_fde_tail.
1928
1929 2021-11-22 Florian Weimer <fweimer (a] redhat.com>
1930
1931 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1932 (struct unw_eh_callback_data): Make dbase member conditional.
1933 (unw_eh_callback_data_dbase): New function.
1934 (base_from_cb_data): Simplify for the non-dbase case.
1935 (_Unwind_IteratePhdrCallback): Adjust.
1936 (_Unwind_Find_FDE): Likewise.
1937
1938 2021-11-22 Florian Weimer <fweimer (a] redhat.com>
1939
1940 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1941 tbase member.
1942 (base_from_cb_data): Adjust.
1943 (_Unwind_IteratePhdrCallback): Likewise.
1944 (_Unwind_Find_FDE): Likewise.
1945
1946 2021-11-19 Iain Sandoe <iain (a] sandoe.co.uk>
1947
1948 * config.host: Add weak emutls crt to the extra_parts.
1949 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1950 workaround.
1951 * config/libgcc-libsystem.ver: Add exclude list for the system-
1952 provided unwinder.
1953 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1954 * config/i386/libgcc-darwin.10.4.ver: Removed.
1955 * config/i386/libgcc-darwin.10.5.ver: Removed.
1956 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1957 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1958 * config/t-darwin-noeh: New file.
1959
1960 2021-11-19 Iain Sandoe <iain (a] sandoe.co.uk>
1961
1962 * config/t-darwin: Build weak-defined emutls objects.
1963 * emutls.c (__emutls_get_address): Add optional attributes.
1964 (__emutls_register_common): Likewise.
1965 (EMUTLS_ATTR): New.
1966
1967 2021-11-11 Raphael Moreira Zinsly <rzinsly (a] linux.ibm.com>
1968
1969 PR libgcc/103044
1970 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1971 called with a null argument or at the end of the backtrace and return.
1972 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1973
1974 2021-11-10 Jakub Jelinek <jakub (a] redhat.com>
1975
1976 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1977 formatting fix.
1978
1979 2021-11-05 Iain Sandoe <iain (a] sandoe.co.uk>
1980
1981 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1982 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1983
1984 2021-11-05 John David Anglin <danglin (a] gcc.gnu.org>
1985
1986 PR libgomp/96661
1987 * config.host (hppa*64*-*-linux*): Revise tmake_file.
1988 (hppa*64*-*-hpux11*): Likewise.
1989 * config/pa/sfp-exceptions.c: New.
1990 * config/pa/sfp-machine.h: New.
1991 * config/pa/t-dimode: New.
1992 * config/pa/t-softfp-sfdftf: New.
1993
1994 2021-10-27 John David Anglin <danglin (a] gcc.gnu.org>
1995
1996 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1997 tmake_file.
1998 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1999 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
2000 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
2001 * config/pa/t-linux64 (LIB1ASMSRC): New define.
2002 (LIB1ASMFUNCS): Revise.
2003 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
2004
2005 2021-10-22 Stafford Horne <shorne (a] gmail.com>
2006
2007 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2008 Change to 0.
2009
2010 2021-10-14 Raphael Moreira Zinsly <rzinsly (a] linux.ibm.com>
2011
2012 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
2013 outside of get_regs() in order to use it in another function, this
2014 is done twice: for __powerpc64__ and for !__powerpc64__.
2015 (struct trace_arg): New struct.
2016 (struct layout): New struct.
2017 (ppc_backchain_fallback): New function.
2018 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
2019 state and call MD_BACKCHAIN_FALLBACK.
2020
2021 2021-10-13 Martin Liska <mliska (a] suse.cz>
2022
2023 PR gcov-profile/90364
2024 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
2025 checksums.
2026 (write_one_data): Write also checksum.
2027 * libgcov-util.c (read_gcda_file): Read also checksum field.
2028 * libgcov.h (struct gcov_info): Add new field.
2029
2030 2021-10-08 Ian Lance Taylor <iant (a] golang.org>
2031
2032 * config/i386/morestack.S: Use .init_array for constructor if
2033 available.
2034 * config/rs6000/morestack.S: Likewise.
2035 * config/s390/morestack.S: Likewise.
2036
2037 2021-10-03 Patrick McGehearty <patrick.mcgehearty (a] oracle.com>
2038
2039 PR target/101104
2040 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
2041 Use more correct values for native IBM 128-bit.
2042
2043 2021-09-28 Iain Sandoe <iain (a] sandoe.co.uk>
2044
2045 * config/i386/libgcc-darwin.ver: Add Symbols for
2046 __cpu_model, __cpu_indicator_init.
2047
2048 2021-09-22 Iain Sandoe <iain (a] sandoe.co.uk>
2049
2050 * config/i386/sfp-machine.h: Guard Mach-O-specific code
2051 using __APPLE__.
2052
2053 2021-09-19 Iain Sandoe <iain (a] sandoe.co.uk>
2054
2055 * config/t-slibgcc-darwin: Delete unused code.
2056
2057 2021-09-19 Iain Sandoe <iain (a] sandoe.co.uk>
2058
2059 * config/i386/t-darwin: Add in a vers file for X86-specific
2060 symbols.
2061 * config/t-darwin: Add the generic symbol maps here...
2062 * config/t-slibgcc-darwin: ... removing from here.
2063 * config/i386/libgcc-darwin.ver: New file.
2064
2065 2021-09-19 Iain Sandoe <iain (a] sandoe.co.uk>
2066
2067 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
2068 and __mulhc3.
2069
2070 2021-09-19 Iain Sandoe <iain (a] sandoe.co.uk>
2071
2072 * config.host: Use convenience library for Darwin10
2073 unwinder shim.
2074 * config/t-darwin: Build Darwin10 unwinder shim as a
2075 convenience library.
2076
2077 2021-09-13 Andrew Pinski <apinski (a] marvell.com>
2078
2079 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
2080 * config/m32r/libgcc-glibc.ver: Removed.
2081 * config/m32r/t-linux: Removed.
2082
2083 2021-09-08 liuhongt <hongtao.liu (a] intel.com>
2084
2085 * config/i386/t-softfp: Compile __{mul,div}hc3 into
2086 libgcc_s.so.1.
2087
2088 2021-09-08 Jakub Jelinek <jakub (a] redhat.com>
2089 Iain Sandoe <iain (a] sandoe.co.uk>
2090
2091 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
2092 and export *hf* and *hc* functions at GCC_12.0.0.
2093
2094 2021-09-06 liuhongt <hongtao.liu (a] intel.com>
2095
2096 * Makefile.in: Adjust to support specific CFLAGS for each
2097 libgcc source file.
2098 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
2099 related libgcc source files.
2100 * config/i386/t-softfp: Ditto.
2101 * config/i386/_divhc3.c: New file.
2102 * config/i386/_mulhc3.c: New file.
2103
2104 2021-09-03 Iain Sandoe <iain (a] sandoe.co.uk>
2105
2106 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
2107 alias_DFtype, alias_TFtype): New.
2108 (ALIAS_SELECTOR): New.
2109 (strong_alias): Use __typeof and a _Generic selector to
2110 provide the type to the synthesized function.
2111
2112 2021-09-02 liuhongt <hongtao.liu (a] intel.com>
2113
2114 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
2115 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
2116 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
2117 * config/i386/t-softfp: Add hf soft-fp.
2118 * config.host: Add i386/64/t-softfp.
2119 * config/i386/64/t-softfp: New file.
2120
2121 2021-09-02 liuhongt <hongtao.liu (a] intel.com>
2122
2123 * soft-fp/eqhf2.c: New file.
2124 * soft-fp/extendhfdf2.c: New file.
2125 * soft-fp/extendhfsf2.c: New file.
2126 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
2127 * soft-fp/truncdfhf2.c: New file
2128 * soft-fp/truncsfhf2.c: New file
2129
2130 2021-09-01 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
2131
2132 * unwind-arm-common.inc (abort): Remove.
2133
2134 2021-08-31 Richard Sandiford <richard.sandiford (a] arm.com>
2135
2136 * config/aarch64/value-unwind.h: Add missing runtime exception
2137 paragraph.
2138 * config/frv/frv-abi.h: Likewise.
2139 * config/i386/value-unwind.h: Likewise.
2140 * config/pa/pa64-hpux-lib.h: Likewise.
2141
2142 2021-08-26 David Edelsohn <dje.gcc (a] gmail.com>
2143
2144 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
2145 __gcc_qadd.
2146 (__gcc_qadd): Call ldouble_qadd_internal.
2147 (__gcc_qsub): Call ldouble_qadd_internal with second long double
2148 argument negated.
2149
2150 2021-08-26 Jonathan Yong <10walls (a] gmail.com>
2151
2152 * config/i386/cygming-crtend.c: Fix register_frame_ctor
2153 and register_frame_dtor warnings.
2154
2155 2021-08-24 Richard Earnshaw <rearnsha (a] arm.com>
2156
2157 PR target/102035
2158 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
2159 Add vlldm erratum work-around.
2160
2161 2021-08-21 John David Anglin <danglin (a] gcc.gnu.org>
2162
2163 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
2164
2165 2021-08-16 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
2166
2167 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
2168 (gcov_type_unsigned): Likewise.
2169
2170 2021-08-14 Stafford Horne <shorne (a] gmail.com>
2171
2172 PR target/99783
2173 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
2174 * config/or1k/t-crtstuff: New file.
2175
2176 2021-08-06 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
2177
2178 * libgcov-driver.c (#include <stdint.h>): Remove.
2179 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
2180
2181 2021-08-06 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
2182
2183 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
2184 * gcov.h (gcov_info): Declare.
2185 (__gcov_info_to_gdca): Likewise.
2186 * libgcov.h (gcov_write_counter): Remove.
2187 (gcov_write_tag_length): Likewise.
2188 * libgcov-driver.c (#include <stdint.h>): New.
2189 (#include <string.h>): Remove.
2190 (NEED_L_GCOV): Conditionally define.
2191 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
2192 (are_all_counters_zero): New.
2193 (gcov_dump_handler): Likewise.
2194 (gcov_allocate_handler): Likewise.
2195 (dump_unsigned): Likewise.
2196 (dump_counter): Likewise.
2197 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
2198 Use dump_unsigned() and dump_counter().
2199 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
2200 dump_unsigned(), dump_counter(), and are_all_counters_zero().
2201 (__gcov_info_to_gcda): New.
2202
2203 2021-08-05 Jakub Jelinek <jakub (a] redhat.com>
2204
2205 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
2206 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
2207 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
2208 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
2209
2210 2021-08-04 Jakub Jelinek <jakub (a] redhat.com>
2211
2212 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
2213
2214 2021-07-15 Alan Modra <amodra (a] gmail.com>
2215
2216 * config/rs6000/morestack.S (R2_SAVE): Define.
2217 (__morestack): Save and restore r2. Set up r2 for called
2218 functions.
2219
2220 2021-07-01 H.J. Lu <hjl.tools (a] gmail.com>
2221
2222 * soft-fp/extendhfxf2.c: New file.
2223 * soft-fp/truncxfhf2.c: Likewise.
2224
2225 2021-06-29 Julian Brown <julian (a] codesourcery.com>
2226
2227 * config/gcn/lib2-bswapti2.c: New file.
2228 * config/gcn/lib2-divmod-di.c: New file.
2229 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
2230 typedefs.
2231 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
2232 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
2233 lib2-bswapti2.c.
2234
2235 2021-06-29 Julian Brown <julian (a] codesourcery.com>
2236
2237 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
2238 return types to USItype.
2239 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
2240
2241 2021-06-23 Kewen Lin <linkw (a] linux.ibm.com>
2242
2243 * configure: Regenerate.
2244 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
2245 typos among the name, CFLAGS and the test.
2246 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
2247 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
2248 Remove.
2249 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
2250 macro FLOAT128_HW_INSNS_ISA3_1.
2251 (FP128_3_1_CFLAGS_HW): Fix option typo.
2252 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
2253 FLOAT128_HW_INSNS_ISA3_1.
2254 (__floattikf_resolve): Likewise.
2255 (__floatuntikf_resolve): Likewise.
2256 (__fixkfti_resolve): Likewise.
2257 (__fixunskfti_resolve): Likewise.
2258 (__floattikf): Likewise.
2259 (__floatuntikf): Likewise.
2260 (__fixkfti): Likewise.
2261 (__fixunskfti): Likewise.
2262
2263 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni (a] arm.com>
2264
2265 PR target/99939
2266 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
2267 macro.
2268 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
2269 on passing -mcmse option.
2270
2271 2021-06-10 Segher Boessenkool <segher (a] kernel.crashing.org>
2272
2273 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
2274 _ARCH_PPC64 .
2275
2276 2021-06-09 Carl Love <cel (a] us.ibm.com>
2277
2278 * config.host: Add if test and set for
2279 libgcc_cv_powerpc_3_1_float128_hw.
2280 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
2281 Change calls of __fixkfti to __fixkfti_sw.
2282 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
2283 Change calls of __fixunskfti to __fixunskfti_sw.
2284 * config/rs6000/float128-p10.c (__floattikf_hw,
2285 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
2286 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
2287 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
2288 __fixunskfti_resolve): Add resolve functions.
2289 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
2290 * config/rs6000/float128-sed (floattitf, __floatuntitf,
2291 __fixtfti, __fixunstfti): Add editor commands to change names.
2292 * config/rs6000/float128-sed-hw (__floattitf,
2293 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
2294 change names.
2295 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
2296 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
2297 * config/rs6000/quad-float128.h (__floattikf_sw,
2298 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
2299 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
2300 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
2301 * config/rs6000/t-float128 (floattikf, floatuntikf,
2302 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
2303 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
2304 file names to fp128_ppc_funcs.
2305 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
2306 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
2307 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
2308 * config/rs6000/t-float128-p10-hw: New file.
2309 * configure: Update script for isa 3.1 128-bit float support.
2310 * configure.ac: Add check for 128-bit float hardware support.
2311 * config/rs6000/fixkfti-sw.c: New file.
2312 * config/rs6000/fixunskfti-sw.c: New file.
2313 * config/rs6000/floattikf-sw.c: New file.
2314 * config/rs6000/floatuntikf-sw.c: New file.
2315
2316 2021-05-13 Dimitar Dimitrov <dimitar (a] dinux.eu>
2317
2318 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
2319
2320 2021-05-13 Martin Liska <mliska (a] suse.cz>
2321
2322 * libgcov-driver.c: Fix GNU coding style.
2323
2324 2021-05-10 Martin Liska <mliska (a] suse.cz>
2325
2326 * libgcov-driver.c (gcov_version): Use different name that does
2327 not clash with newly introduced macro.
2328
2329 2021-04-29 Eric Botcazou <ebotcazou (a] adacore.com>
2330
2331 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
2332 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
2333 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
2334
2335 2021-04-28 Patrick McGehearty <patrick.mcgehearty (a] oracle.com>
2336
2337 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
2338 Define.
2339 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
2340 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
2341 Define.
2342 (__divkc3): Improve complex divide.
2343
2344 2021-04-23 Michael Meissner <meissner (a] linux.ibm.com>
2345
2346 PR target/98952
2347 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
2348 trampoline size comparison in 32-bit by reversing test and
2349 combining load immediate with compare.
2350 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
2351 in 32-bit by reversing test and combining load immediate with
2352 compare.
2353
2354 2021-04-05 Florian Weimer <fweimer (a] redhat.com>
2355 Michael Meissner <meissner (a] linux.ibm.com>
2356
2357 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
2358 point functions for $(decimal_float) only.
2359
2360 2021-04-03 Jakub Jelinek <jakub (a] redhat.com>
2361
2362 PR target/97653
2363 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
2364 $(objext) instead of $(object). Use _floatunditf instead of
2365 _floatunsditf. Add tf <-> ti conversion objects.
2366 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
2367
2368 2021-03-29 Michael Meissner <meissner (a] linux.ibm.com>
2369
2370 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
2371 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
2372 (fp128_decstr_objs): Delete.
2373 * dfp-bit.h: Call __sprintfieee128 to do conversions from
2374 _Float128 to a Decimal type. Call __strtoieee128 to do
2375 conversions from a Decimal type to _Float128.
2376 * config/rs6000/_sprintfkf.c: Delete file.
2377 * config/rs6000/_sprintfkf.h: Delete file.
2378 * config/rs6000/_strtokf.c: Delete file.
2379 * config/rs6000/_strtokf.h: Delete file.
2380
2381 2021-03-23 Marcus Comstedt <marcus (a] mc.pp.se>
2382
2383 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
2384 to __BYTE_ORDER__.
2385
2386 2021-03-06 Jakub Jelinek <jakub (a] redhat.com>
2387
2388 PR gcov-profile/99406
2389 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
2390 defined, define these macros if not defined already.
2391
2392 2021-03-04 Martin Liska <mliska (a] suse.cz>
2393
2394 PR gcov-profile/99105
2395 * libgcov-driver.c (write_top_counters): Rename to ...
2396 (write_topn_counters): ... this.
2397 (write_one_data): Pre-allocate buffer for number of items
2398 in the corresponding linked lists.
2399 * libgcov.h (malloc_mmap): New function.
2400 (allocate_gcov_kvp): Use it.
2401
2402 2021-03-04 Martin Liska <mliska (a] suse.cz>
2403
2404 PR gcov-profile/99385
2405 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
2406
2407 2021-03-03 Martin Liska <mliska (a] suse.cz>
2408
2409 PR gcov-profile/97461
2410 * config.in: Regenerate.
2411 * configure: Likewise.
2412 * configure.ac: Check sys/mman.h header file
2413 * libgcov-driver.c (struct gcov_kvp): Remove static
2414 pre-allocated pool and use a dynamic one.
2415 * libgcov.h (MMAP_CHUNK_SIZE): New.
2416 (gcov_counter_add): Use mmap to allocate pool for struct
2417 gcov_kvp.
2418
2419 2021-03-02 Michael Meissner <meissner (a] linux.ibm.com>
2420
2421 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
2422 the function.
2423 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
2424
2425 2021-02-24 Jakub Jelinek <jakub (a] redhat.com>
2426
2427 PR libgcc/99236
2428 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
2429 negation of m in unsigned type.
2430
2431 2021-02-24 Christophe Lyon <christophe.lyon (a] linaro.org>
2432 Hau Hsu <hsuhau617 (a] gmail.com>
2433
2434 PR target/99157
2435 * config/arm/t-arm: Fix cmse support detection.
2436
2437 2021-02-22 Michael Meissner <meissner (a] linux.ibm.com>
2438
2439 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
2440
2441 2021-02-22 Michael Meissner <meissner (a] linux.ibm.com>
2442
2443 * config/rs6000/_dd_to_kf.c: New file.
2444 * config/rs6000/_kf_to_dd.c: New file.
2445 * config/rs6000/_kf_to_sd.c: New file.
2446 * config/rs6000/_kf_to_td.c: New file.
2447 * config/rs6000/_sd_to_kf.c: New file.
2448 * config/rs6000/_sprintfkf.c: New file.
2449 * config/rs6000/_sprintfkf.h: New file.
2450 * config/rs6000/_strtokf.h: New file.
2451 * config/rs6000/_strtokf.c: New file.
2452 * config/rs6000/_td_to_kf.c: New file.
2453 * config/rs6000/quad-float128.h: Add new declarations.
2454 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
2455 (fp128_decstr_funcs): New macro.
2456 (ibm128_dec_funcs): New macro.
2457 (fp128_ppc_funcs): Add the new conversions.
2458 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
2459 compiled with -mabi=ieeelongdouble.
2460 (fp128_decstr_objs): Force __float128 <-> string conversions to be
2461 compiled with -mabi=ibmlongdouble.
2462 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
2463 compiled with -mabi=ieeelongdouble.
2464 (FP128_CFLAGS_DECIMAL): New macro.
2465 (IBM128_CFLAGS_DECIMAL): New macro.
2466 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
2467 (BFP_TO_DFP): Add PowerPC _Float128 support.
2468 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
2469 IEEE 128-bit floating point.
2470 (DFP_TO_BFP): Add PowerPC _Float128 support.
2471 (BFP_TO_DFP): Add PowerPC _Float128 support.
2472 (BFP_SPRINTF): New macro.
2473
2474 2021-01-27 Jakub Jelinek <jakub (a] redhat.com>
2475
2476 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
2477 * config/i386/savms64f.h: Likewise.
2478 * config/i386/resms64.h: Likewise.
2479 * config/i386/resms64f.h: Likewise.
2480 * config/i386/resms64x.h: Likewise.
2481 * config/i386/resms64fx.h: Likewise.
2482
2483 2021-01-26 Martin Liska <mliska (a] suse.cz>
2484
2485 PR gcov-profile/98739
2486 * libgcov.h (gcov_topn_add_value): Do not train when
2487 we have a merged profile with a negative number of total
2488 value.
2489
2490 2021-01-25 Martin Liska <mliska (a] suse.cz>
2491
2492 PR gcov-profile/98739
2493 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
2494 ends with a dropped counter.
2495 * libgcov.h (gcov_topn_add_value): Add return value.
2496
2497 2021-01-13 Stafford Horne <shorne (a] gmail.com>
2498
2499 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
2500 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
2501 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
2502 FP_EX_ALL): New constant macros.
2503 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
2504 FP_HANDLE_EXCEPTIONS): New macros.
2505 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
2506
2507 2021-01-13 Samuel Thibault <samuel.thibault (a] gnu.org>
2508
2509 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
2510 posix siginfo case to struct handler_args. Detect between legacy
2511 and siginfo from the second parameter, which is a small sigcode in
2512 the legacy case, and a pointer in the siginfo case.
2513
2514 2020-12-20 Max Filippov <jcmvbkbc (a] gmail.com>
2515
2516 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
2517 functions.
2518 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
2519 _bswapdi2.
2520
2521 2020-12-08 Ian Lance Taylor <iant (a] golang.org>
2522
2523 * generic-morestack-thread.c (free_segments): Block signals during
2524 thread exit.
2525
2526 2020-12-03 Michael Meissner <meissner (a] linux.ibm.com>
2527
2528 PR libgcc/97543
2529 PR libgcc/97643
2530 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
2531 (IBM128_SHARED_OBJS): New make variable.
2532 (IBM128_OBJS): New make variable. Set all objects to use the
2533 explicit IBM format, and disable gnu attributes.
2534 (IBM128_CFLAGS): New make variable.
2535 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
2536 modules.
2537
2538 2020-12-03 Alexandre Oliva <oliva (a] adacore.com>
2539
2540 * config/t-vxworks (LIB2ADD): Drop.
2541 * config/t-vxworks7 (LIB2ADD): Likewise.
2542 * config/vxcache.c: Remove.
2543
2544 2020-11-30 Stefan Kanthak <stefan.kanthak (a] nexgo.de>
2545
2546 * libgcc2.c (bswapsi2): Make constants unsigned.
2547
2548 2020-11-25 Stefan Kanthak <stefan.kanthak (a] nexgo.de>
2549
2550 * libgcc2.c (absvSI2): Simplify/improve implementation by using
2551 builtin_add_overflow.
2552 (absvsi2, absvDI2): Likewise.
2553
2554 2020-11-20 Maciej W. Rozycki <macro (a] linux-mips.org>
2555
2556 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
2557 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
2558
2559 2020-11-18 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
2560
2561 * config/msp430/lib2hw_mul.S (mult64_hw): New.
2562 (if MUL_32): Use mult64_hw for __muldi3.
2563 (if MUL_F5): Use mult64_hw for __muldi3.
2564 * config/msp430/lib2mul.c (__muldi3): New.
2565 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
2566
2567 2020-11-17 Alan Modra <amodra (a] gmail.com>
2568
2569 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
2570 (LIB2_SIDITI_CONV_FUNCS): Define.
2571 * config/rs6000/ppc64-fp.c: Delete file.
2572
2573 2020-11-15 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
2574
2575 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
2576 hwmult library functions.
2577
2578 2020-11-10 Jeff Law <law (a] redhat.com>
2579
2580 * libgcc2.c: Fix whitespace issues in most recent change.
2581
2582 2020-11-10 Stefan Kanthak <stefan.kanthak (a] nexgo.de>
2583
2584 * libgcc2.c (__addvSI3): Use overflow builtins.
2585 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
2586 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
2587 (__negvsi2, __negvDI2): Likewise.
2588 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
2589 generated code.
2590 * libgcc2.h (__ucmpdi2): Adjust prototype.
2591
2592 2020-11-03 Pat Bernardi <bernardi (a] adacore.com>
2593 Olivier Hainque <hainque (a] adacore.com>
2594
2595 * config.host (aarch64-vxworks7*, tmake_file): Add
2596 ${cpu_type}/t-lse and t-slibgcc-libgcc.
2597
2598 2020-11-03 Martin Storsj <martin (a] martin.st>
2599
2600 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
2601 before calling the callback.
2602
2603 2020-10-30 Olivier Hainque <hainque (a] adacore.com>
2604 Douglas Rupp <rupp (a] adacore.com>
2605 Pat Bernardi <bernardi (a] adacore.com>
2606
2607 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
2608 to apply to VxWorks 7 as well.
2609
2610 2020-10-29 Olivier Hainque <hainque (a] adacore.com>
2611
2612 * config/gthr-vxworks-tls.c: Fix preprocessor logic
2613 controlling the definition of VX_ENTER_TLS_DTOR and
2614 VX_LEAVE_TLS_DTOR based on a version major check.
2615
2616 2020-10-29 Olivier Hainque <hainque (a] adacore.com>
2617
2618 * config/gthr-vxworks-thread.c: Fix name of macro used
2619 to condition the inclusion of an actual implementation.
2620
2621 2020-10-27 Martin Liska <mliska (a] suse.cz>
2622
2623 PR gcov-profile/97461
2624 * libgcov.h (gcov_counter_add): Use first static counters
2625 as it should help to have malloc wrappers set up.
2626
2627 2020-10-23 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
2628
2629 * config/gthr-vxworks-thread.c: #include gthr.h before
2630 testing the guard defined there.
2631 * config/gthr-vxworks-cond.c: Likewise.
2632
2633 2020-10-21 Douglas Rupp <rupp (a] adacore.com>
2634 Olivier Hainque <hainque (a] adacore.com>
2635
2636 * config.host (powerpc*-wrs-vxworks7*): New case.
2637 * configure.ac: Handle powerpc*-*-vxworks7* as
2638 powerpc*-*-linux* for ppc-fp_type.
2639 * configure: Regenerate.
2640
2641 2020-10-16 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
2642
2643 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
2644 section on VxWorks >= 6.
2645 * config/gthr-vxworks-thread.c: Condition the entire
2646 implementation on __GTHREAD_CXX0X.
2647
2648 2020-10-16 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
2649
2650 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
2651 section on VxWorks >= 6.
2652 * config/gthr-vxworks-cond.c: Condition the entire
2653 implementation on __GTHREAD_HAS_COND.
2654
2655 2020-10-16 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
2656
2657 * config/gthr-vxworks.c: #include <taskLib.h>.
2658
2659 2020-10-16 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
2660
2661 * config/gthr-vxworks.h: Rewrite remaining occurrence
2662 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
2663
2664 2020-10-16 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
2665 Olivier Hainque <hainque (a] adacore.com>
2666
2667 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
2668 except on VxWorks 6.
2669
2670 2020-10-16 Olivier Hainque <hainque (a] adacore.com>
2671
2672 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
2673
2674 2020-10-14 Alexandre Oliva <oliva (a] adacore.com>
2675
2676 * config/gthr-vxworks-thread.c: Include stdlib.h.
2677 (tls_delete_hook): Prototype it.
2678 (__gthread_cond_signal): Return early if no waiters. Consume
2679 signal in case the semaphore got full. Use semInfoGet instead
2680 of kernel-mode-only semInfo.
2681 (__gthread_cond_timedwait): Use semExchange. Always take the
2682 mutex again before returning.
2683 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
2684
2685 2020-10-14 Olivier Hainque <hainque (a] adacore.com>
2686
2687 * config/t-vxworks (LIBGCC2_INCLUDES): Append
2688 $(MULTISUBDIR) to the -I path for fixed headers, as we
2689 arrange to have different sets of such headers for different
2690 multilibs when they are activated.
2691 * config/t-vxworks7: Likewise.
2692
2693 2020-10-14 Olivier Hainque <hainque (a] adacore.com>
2694
2695 * config/t-vxworks: Add include-fixed to include search
2696 paths for libgcc on VxWorks.
2697 * config/t-vxworks7: Likewise.
2698
2699 2020-10-09 H.J. Lu <hjl.tools (a] gmail.com>
2700
2701 PR target/97148
2702 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
2703 instead of <cetintrin.h>.
2704
2705 2020-10-01 Alan Modra <amodra (a] gmail.com>
2706
2707 * config/rs6000/morestack.S,
2708 * config/rs6000/tramp.S: Support __PCREL__ code.
2709
2710 2020-10-01 Alan Modra <amodra (a] gmail.com>
2711
2712 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
2713
2714 2020-09-29 Maciej W. Rozycki <macro (a] wdc.com>
2715
2716 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
2717 variable.
2718
2719 2020-09-28 Richard Sandiford <richard.sandiford (a] arm.com>
2720
2721 * config/aarch64/libgcc-softfp.ver: New file.
2722 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
2723
2724 2020-09-27 Clement Chigot <clement.chigot (a] atos.net>
2725
2726 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
2727
2728 2020-09-22 Sergei Trofimovich <siarheit (a] google.com>
2729
2730 PR gcov-profile/96913
2731 * libgcov-driver.c (write_one_data): Avoid function pointer
2732 comparison in TOP streaming decision.
2733
2734 2020-09-17 Torbjrn SVENSSON <torbjorn.svensson (a] st.com>
2735 Christophe Lyon <christophe.lyon (a] linaro.org>
2736
2737 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
2738 qualifier.
2739 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
2740 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
2741 missing prototypes.
2742
2743 2020-09-17 Wei Wentao <weiwt.fnst (a] cn.fujitsu.com>
2744
2745 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
2746 unused variable warning.
2747
2748 2020-09-16 Jojo R <jiejie_rong (a] c-sky.com>
2749
2750 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
2751
2752 2020-09-09 Tom de Vries <tdevries (a] suse.de>
2753
2754 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
2755 Wbuiltin-declaration-mismatch.
2756
2757 2020-08-26 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
2758
2759 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
2760 * config/msp430/srai.S (__gnu_mspabi_srap): New.
2761 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
2762
2763 2020-08-13 Kwok Cheung Yeung <kcy (a] codesourcery.com>
2764
2765 * config/nvptx/atomic.c: New.
2766 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
2767
2768 2020-08-03 Ian Lance Taylor <iant (a] golang.org>
2769
2770 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
2771
2772 2020-08-03 Jakub Jelinek <jakub (a] redhat.com>
2773
2774 PR target/96402
2775 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
2776 of x(tmp0), x(tmp1) in STXP arguments.
2777
2778 2020-07-31 Maciej W. Rozycki <macro (a] wdc.com>
2779
2780 * config/riscv/save-restore.S [__riscv_xlen == 64]
2781 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
2782 (__riscv_save_2): Replace negative immediates used for the final
2783 stack pointer adjustment with positive ones, right-shifted by 4.
2784
2785 2020-07-31 Martin Liska <mliska (a] suse.cz>
2786
2787 * libgcov-driver.c: Add __gcov_kvp_pool
2788 and __gcov_kvp_pool_index variables.
2789 * libgcov.h (allocate_gcov_kvp): New.
2790 (gcov_topn_add_value): Use it.
2791
2792 2020-07-24 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
2793
2794 * config/aarch64/lse.S: Add PAC property note.
2795
2796 2020-07-23 Martin Liska <mliska (a] suse.cz>
2797
2798 PR gcov-profile/96035
2799 * libgcov-driver-system.c: Create gcov folders with 0777
2800 so that it respects a system umask.
2801
2802 2020-07-14 David Edelsohn <dje.gcc (a] gmail.com>
2803
2804 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2805
2806 2020-07-13 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
2807
2808 PR target/94891
2809 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2810 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2811 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2812 (MD_DEMANGLE_RETURN_ADDR): This.
2813 (aarch64_post_extract_frame_addr): Rename to ...
2814 (aarch64_demangle_return_addr): This.
2815 (aarch64_post_frob_eh_handler_addr): Remove.
2816 * unwind-dw2.c (uw_update_context): Demangle return address.
2817 (uw_frob_return_addr): Remove.
2818
2819 2020-07-09 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
2820
2821 PR target/96001
2822 * config/aarch64/lse.S: Add BTI marking and related definitions,
2823 and add BTI c to function entries.
2824
2825 2020-07-09 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
2826
2827 * config/aarch64/lse.S: Add stack note.
2828
2829 2020-07-02 Martin Liska <mliska (a] suse.cz>
2830
2831 PR gcov-profile/95348
2832 * libgcov-driver.c (merge_one_data): Merge only profiles
2833 that are not of non-zero type.
2834 (write_one_data): Write counters only if there's one non-zero
2835 value.
2836 * libgcov-util.c (tag_function): Change signature from unsigned
2837 to int.
2838 (tag_blocks): Likewise.
2839 (tag_arcs): Likewise.
2840 (tag_counters): Likewise.
2841 (tag_summary): Likewise.
2842 (tag_lines): Read only if COUNTERS is non-zero.
2843 (read_gcda_file): Handle negative length for COUNTERS type.
2844
2845 2020-06-25 Martin Liska <mliska (a] suse.cz>
2846
2847 * libgcov-driver.c (merge_summary): Remove function as its name
2848 is misleading and doing something different.
2849 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2850 in gcov-tool.
2851 * libgcov-util.c (curr_object_summary): Remove.
2852 (read_gcda_file): Remove unused curr_object_summary.
2853 (gcov_merge): Merge summaries.
2854 * libgcov.h: Add summary argument for gcov_info struct.
2855
2856 2020-06-24 H.J. Lu <hjl.tools (a] gmail.com>
2857
2858 PR target/95259
2859 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
2860 "common/config/i386/i386-cpuinfo.h" and
2861 "common/config/i386/cpuinfo.h".
2862 (__cpu_features2): Changed to array.
2863 (get_amd_cpu): Removed.
2864 (get_intel_cpu): Likewise.
2865 (get_available_features): Likewise.
2866 (__cpu_indicator_init): Call cpu_indicator_init.
2867 * config/i386/cpuinfo.h: Removed.
2868
2869 2020-06-23 David Edelsohn <dje.gcc (a] gmail.com>
2870
2871 * Makefile.in: Remove uses of empty.mk. Use -include.
2872 * config/avr/t-avr: Use -include.
2873 * empty.mk: Delete.
2874
2875 2020-06-21 David Edelsohn <dje.gcc (a] gmail.com>
2876
2877 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2878 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2879 and 64 bit with -maix64.
2880 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2881 Build and install AIX-style FAT libraries.
2882
2883 2020-06-17 Samuel Thibault <samuel.thibault (a] gnu.org>
2884
2885 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2886 'i386/gnu-unwind.h'
2887 * config/i386/gnu-unwind.h: New file.
2888
2889 2020-06-17 Martin Liska <mliska (a] suse.cz>
2890
2891 * libgcov-util.c (read_gcda_finalize): Remove const operator.
2892 (merge_wrapper): Add both counts and use them properly.
2893 (topn_to_memory_representation): New function.
2894 (gcov_merge): Covert on disk representation to in memory
2895 representation.
2896 * libgcov.h: Remove const operator.
2897
2898 2020-06-15 Max Filippov <jcmvbkbc (a] gmail.com>
2899
2900 * configure: Regenerate.
2901 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2902 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2903
2904 2020-06-09 Martin Liska <mliska (a] suse.cz>
2905
2906 PR gcov-profile/95494
2907 * libgcov-driver.c (write_top_counters): Cast first to
2908 intptr_t as sizeof(*) != sizeof(gcov_type).
2909 * libgcov.h (gcov_counter_set_if_null): Remove.
2910 (gcov_topn_add_value): Cast first to intptr_t and update
2911 linked list directly.
2912
2913 2020-06-09 Max Filippov <jcmvbkbc (a] gmail.com>
2914
2915 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2916 with uw_install_context_1.
2917
2918 2020-06-04 Andreas Schwab <schwab (a] suse.de>
2919
2920 PR target/59230
2921 PR libfortran/59227
2922 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2923 soft-fp/divtf3.c.
2924 (LIB2ADD): Add config/ia64/divtf3.c.
2925 * config/ia64/divtf3.c: New file.
2926
2927 2020-06-03 Martin Liska <mliska (a] suse.cz>
2928
2929 PR gcov-profile/95480
2930 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2931 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2932 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2933 (gcov_counter_set_if_null): Likewise.
2934
2935 2020-06-02 Jim Wilson <jimw (a] sifive.com>
2936
2937 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2938 to bgtz.
2939
2940 2020-06-02 Martin Liska <mliska (a] suse.cz>
2941
2942 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2943 of xmalloc.
2944
2945 2020-06-02 Martin Liska <mliska (a] suse.cz>
2946
2947 * libgcov-driver.c (prune_topn_counter): Remove.
2948 (prune_counters): Likewise.
2949 (merge_one_data): Special case TOP N counters
2950 as they have variable length.
2951 (write_top_counters): New.
2952 (write_one_data): Special case TOP N.
2953 (dump_one_gcov): Do not prune TOP N counters.
2954 * libgcov-merge.c (merge_topn_values_set): Remove.
2955 (__gcov_merge_topn): Use gcov_topn_add_value.
2956 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2957 Likewise here.
2958 * libgcov.h (gcov_counter_add): New.
2959 (gcov_counter_set_if_null): Likewise.
2960 (gcov_topn_add_value): New.
2961
2962 2020-06-01 Uro Bizjak <ubizjak (a] gmail.com>
2963
2964 * config/i386/sfp-exceptions.c (struct fenv):
2965 Add __attribute__ ((gcc_struct)).
2966
2967 2020-05-29 H.J. Lu <hjl.tools (a] gmail.com>
2968
2969 PR bootstrap/95413
2970 * configure: Regenerated.
2971
2972 2020-05-28 Dong JianQiang <dongjianqiang2 (a] huawei.com>
2973
2974 PR gcov-profile/95332
2975 * libgcov-util.c (read_gcda_file): Call gcov_magic.
2976 * libgcov.h (gcov_magic): Disable GCC poison.
2977
2978 2020-05-21 H.J. Lu <hongjiu.lu (a] intel.com>
2979
2980 PR target/95212
2981 * config/i386/cpuinfo.h (processor_features): Move
2982 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2983
2984 2020-05-20 H.J. Lu <hongjiu.lu (a] intel.com>
2985
2986 PR target/91695
2987 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2988 check.
2989
2990 2020-05-19 H.J. Lu <hongjiu.lu (a] intel.com>
2991
2992 PR target/95212
2993 PR target/95220
2994 * config/i386/cpuinfo.c (get_available_features): Fix
2995 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
2996 * config/i386/cpuinfo.h (processor_features): Add
2997 FEATURE_AVX512VP2INTERSECT.
2998
2999 2020-05-15 H.J. Lu <hongjiu.lu (a] intel.com>
3000
3001 PR bootstrap/95147
3002 * configure: Regenerated.
3003
3004 2020-05-14 H.J. Lu <hongjiu.lu (a] intel.com>
3005
3006 * configure: Regenerated.
3007
3008 2020-05-09 Hans-Peter Nilsson <hp (a] axis.com>
3009
3010 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
3011 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
3012
3013 2020-05-06 Uro Bizjak <ubizjak (a] gmail.com>
3014
3015 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
3016 (__math_force_eval_div): New define.
3017 (__sfp_handle_exceptions): Use __math_force_eval_div to use
3018 generic division to generate INVALID, DIVZERO and INEXACT
3019 exceptions.
3020
3021 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov (a] arm.com>
3022
3023 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
3024 instead of getauxval.
3025 (AT_HWCAP): Define.
3026 (HWCAP_ATOMICS): Define.
3027 Guard detection on __gnu_linux__.
3028
3029 2020-05-05 Michael Meissner <meissner (a] linux.ibm.com>
3030
3031 * config.host: Delete changes meant for a private branch.
3032 * config/rs6000/t-float128: Likewise.
3033 * configure.ac: Likewise.
3034 * configure: Likewise.
3035
3036 2020-05-05 Martin Liska <mliska (a] suse.cz>
3037
3038 PR gcov-profile/93623
3039 * Makefile.in: Remove __gcov_flush.
3040 * gcov.h (__gcov_flush): Remove.
3041 * libgcov-interface.c (__gcov_flush): Remove.
3042 (init_mx): Use renamed mutex.
3043 (__gcov_lock): Likewise.
3044 (__gcov_unlock): Likewise.
3045 (__gcov_fork): Likewise.
3046 (__gcov_flush): Remove.
3047
3048 2020-05-05 Martin Liska <mliska (a] suse.cz>
3049
3050 PR gcov-profile/93623
3051 * libgcov-interface.c (__gcov_fork): Do not flush
3052 and reset only in child process.
3053 (__gcov_execl): Dump counters only and reset them
3054 only if exec* fails.
3055 (__gcov_execlp): Likewise.
3056 (__gcov_execle): Likewise.
3057 (__gcov_execv): Likewise.
3058 (__gcov_execvp): Likewise.
3059 (__gcov_execve): Likewise.
3060
3061 2020-05-05 Martin Liska <mliska (a] suse.cz>
3062
3063 PR gcov-profile/93623
3064 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
3065 * libgcov-interface.c (ALIAS_void_fn): Remove.
3066 (__gcov_lock): New.
3067 (__gcov_unlock): New.
3068 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
3069 (__gcov_reset): Likewise.
3070 (__gcov_dump): Likewise.
3071 * libgcov.h (__gcov_lock): New declaration.
3072 (__gcov_unlock): Likewise.
3073
3074 2020-05-01 Uro Bizjak <ubizjak (a] gmail.com>
3075
3076 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
3077 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
3078 generic division to generate INVALID and DIVZERO exceptions.
3079
3080 2020-04-27 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
3081
3082 * config/rs6000/crtresfpr.S: Use .machine ppc.
3083 * config/rs6000/crtresxfpr.S: Likewise.
3084 * config/rs6000/crtsavfpr.S: Likewise.
3085
3086 2020-04-21 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
3087
3088 PR target/94514
3089 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
3090 Update context->flags accroding to the frame state.
3091
3092 2020-04-19 Uro Bizjak <ubizjak (a] gmail.com>
3093
3094 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
3095 Remove unneeded assignments to volatile memory.
3096
3097 2020-04-15 Jakub Jelinek <jakub (a] redhat.com>
3098
3099 PR target/93053
3100 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
3101 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
3102 is not defined, use just .arch armv8-a.
3103 (B, M, N, OPN): Define.
3104 (COMMENT): New .macro.
3105 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
3106 defined. Otherwise, move the operands right after the glue? and
3107 comment out operands where the macros are used.
3108 * configure: Regenerated.
3109 * config.in: Regenerated.
3110
3111 2020-04-07 Ian Lance Taylor <iant (a] golang.org>
3112
3113 PR libgcc/94513
3114 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
3115 syscall instead.
3116
3117 2020-04-04 Ian Lance Taylor <iant (a] golang.org>
3118
3119 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
3120
3121 2020-04-03 Ian Lance Taylor <iant (a] golang.org>
3122
3123 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
3124 than mmap/munmap, to avoid hooks.
3125
3126 2020-04-03 Jim Johnston <jjohnst (a] us.ibm.com>
3127
3128 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
3129 (TPFRA_OFFSET): Macros removed.
3130 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
3131 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
3132 (PG3_SKIPPING_OFFSET): New macros.
3133 (__isPATrange): Use cinfc_fast for the check.
3134 (__isSkipResetAddr): New function.
3135 (s390_fallback_frame_state): Check for skip trace addresses. Use
3136 either ICST_CRET or ICST_SRET to calculate return address
3137 location.
3138 (__tpf_eh_return): Handle skip trace addresses.
3139
3140 2020-03-26 Richard Earnshaw <rearnsha (a] arm.com>
3141
3142 PR target/94220
3143 * config/arm/lib1funcs.asm (COND): Use a single definition for
3144 unified syntax.
3145 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
3146 (aeabi_idivmod): Likewise.
3147 (divsi3_skip_div0_test): Likewise.
3148
3149 2020-03-17 Mihail Ionescu <mihail.ionescu (a] arm.com>
3150
3151 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
3152
3153 2020-03-04 Andreas Krebbel <krebbel (a] linux.ibm.com>
3154
3155 * config.host: Include the new makefile fragment.
3156 * config/s390/t-tpf: New file.
3157
3158 2020-03-03 Richard Earnshaw <rearnsha (a] arm.com>
3159
3160 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
3161 syntax.
3162 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
3163 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
3164 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
3165 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
3166 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
3167 syntax.
3168 (divsi3, modsi3): Likewise.
3169 (clzdi2, ctzsi2): Likewise.
3170 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
3171 unified syntax.
3172 (UNWIND_WRAPPER): Likewise.
3173
3174 2020-03-02 Martin Liska <mliska (a] suse.cz>
3175
3176 * libgcov-interface.c: Remove duplicate
3177 declaration of __gcov_flush_mx.
3178
3179 2020-02-18 Martin Liska <mliska (a] suse.cz>
3180
3181 PR ipa/92924
3182 * libgcov-merge.c (merge_topn_values_set): Record
3183 when a TOP N counter becomes invalid. When merging
3184 remove a smallest value if the space is needed.
3185
3186 2020-02-12 Sandra Loosemore <sandra (a] codesourcery.com>
3187
3188 PR libstdc++/79193
3189 PR libstdc++/88999
3190
3191 * configure: Regenerated.
3192
3193 2020-02-10 Jeff Law <law (a] redhat.com>
3194
3195 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
3196 sections.
3197 * config/frv/frvend.c: Similarly.
3198
3199 2020-02-10 H.J. Lu <hongjiu.lu (a] intel.com>
3200
3201 PR libgcc/85334
3202 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3203 New.
3204
3205 2020-02-10 Christophe Lyon <christophe.lyon (a] linaro.org>
3206
3207 PR target/93615
3208 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
3209 _Unwind_gnu_Find_got.
3210 * unwind-pe.h: Likewise.
3211
3212 2020-02-07 Jakub Jelinek <jakub (a] redhat.com>
3213
3214 PR target/93615
3215 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
3216 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
3217 trailing :s in asm. Formatting fixes.
3218 (_Unwind_decode_typeinfo_ptr): Adjust caller.
3219
3220 2020-01-31 Sandra Loosemore <sandra (a] codesourcery.com>
3221
3222 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
3223
3224 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
3225 * config/nios2-elf-lib.h: New.
3226 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
3227 code for finding GOT base for nios2.
3228
3229 2020-01-27 Martin Liska <mliska (a] suse.cz>
3230
3231 PR gcov-profile/93403
3232 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
3233 Call __gcov_indirect_call_profiler_body.
3234 (__gcov_indirect_call_profiler_body): New.
3235 (__gcov_indirect_call_profiler_v4_atomic): New.
3236 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
3237 New declaration.
3238
3239 2020-01-27 Claudiu Zissulescu <claziss (a] synopsys.com>
3240
3241 * config/arc/crti.S: Add RF16 object attribute.
3242 * config/arc/crtn.S: Likewise.
3243 * config/arc/crttls.S: Likewise.
3244 * config/arc/lib1funcs.S: Likewise.
3245 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
3246 * config/arc/lib2funcs.c: New file.
3247 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
3248
3249 2020-01-24 Maciej W. Rozycki <macro (a] wdc.com>
3250
3251 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
3252 * configure.ac: Handle `--with-toolexeclibdir='.
3253 * configure: Regenerate.
3254
3255 2020-01-23 Dragan Mladjenovic <dmladjenovic (a] wavecomp.com>
3256
3257 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
3258
3259 2020-01-23 Dragan Mladjenovic <dmladjenovic (a] wavecomp.com>
3260
3261 * config/mips/gnustack.h: New file.
3262 * config/mips/crti.S: Include gnustack.h.
3263 * config/mips/crtn.S: Likewise.
3264 * config/mips/mips16.S: Likewise.
3265 * config/mips/vr4120-div.S: Likewise.
3266
3267 2020-01-23 Martin Liska <mliska (a] suse.cz>
3268
3269 * libgcov-driver.c (prune_topn_counter): Remove
3270 check for -1 as we only prune run-time counters
3271 that do not generate an invalid state.
3272
3273 2020-01-22 Martin Liska <mliska (a] suse.cz>
3274
3275 PR tree-optimization/92924
3276 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
3277 try to find an existing value, then find an empty slot
3278 if not found.
3279
3280 2020-01-22 Martin Liska <mliska (a] suse.cz>
3281
3282 PR tree-optimization/92924
3283 * libgcov-driver.c (prune_topn_counter): New.
3284 (prune_counters): Likewise.
3285 (dump_one_gcov): Prune a run-time counter.
3286 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
3287 For a known value, add GCOV_TOPN_VALUES to value.
3288 Otherwise, decrement all counters by one.
3289
3290 2020-01-18 Hans-Peter Nilsson <hp (a] axis.com>
3291
3292 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
3293
3294 2020-01-18 John David Anglin <danglin (a] gcc.gnu.org>
3295
3296 PR libgcc/92988
3297 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
3298 DEFAULT_USE_CXA_ATEXIT is true.
3299
3300 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu (a] arm.com>
3301 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
3302
3303 * config/arm/t-arm: Check return value of gcc rather than lack of
3304 output.
3305
3306 2020-01-14 Georg-Johann Lay <avr (a] gjlay.de>
3307
3308 * config/avr/lib1funcs.S (skip): Simplify.
3309
3310 2020-01-10 Kwok Cheung Yeung <kcy (a] codesourcery.com>
3311
3312 * config/gcn/atomic.c: Remove include of stdint.h.
3313 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
3314 __UINTPTR_TYPE__.
3315
3316 2020-01-09 Kwok Cheung Yeung <kcy (a] codesourcery.com>
3317
3318 * config/gcn/atomic.c: New.
3319 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
3320
3321 2020-01-08 Georg-Johann Lay <avr (a] gjlay.de>
3322
3323 Implement 64-bit double functions.
3324
3325 PR target/92055
3326 * config.host (tmake_file) [target=avr]: Add t-libf7,
3327 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
3328 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
3329 depending on sizeof (double) or sizeof (long double).
3330 * config/avr/libf7: New folder.
3331
3332 2020-01-05 Olivier Hainque <hainque (a] adacore.com>
3333
3334 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
3335 by IN_LIBGCC2.
3336
3337 2020-01-01 Jakub Jelinek <jakub (a] redhat.com>
3338
3339 Update copyright years.
3340
3341 2019-12-30 Olivier Hainque <hainque (a] adacore.com>
3342
3343 * config/gthr-vxworks.h: Use _vxworks-versions.h.
3344 * config/gthr-vxworks-tls.c: Likewise.
3345
3346 2019-12-30 Olivier Hainque <hainque (a] adacore.com>
3347
3348 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
3349 standard zero-initializer syntax.
3350
3351 2019-12-30 Olivier Hainque <hainque (a] adacore.com>
3352
3353 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
3354 reference to the internal VX_GET_TLS_DATA interface.
3355
3356 2019-12-30 Olivier Hainque <hainque (a] adacore.com>
3357
3358 * config/vxcrtstuff.c: Fix incorrect spelling of
3359 USE_INITFINI_ARRAY in guard.
3360
3361 2019-12-16 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
3362
3363 * config.host: s/msp430*-*-elf/msp430-*-elf*.
3364 Override default "extra_parts" variable.
3365 * configure: Regenerate.
3366 * configure.ac: Disable TM clone registry by default for
3367 msp430-elfbare.
3368
3369 2019-12-11 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
3370
3371 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
3372 "extra_parts".
3373 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
3374
3375 2019-12-11 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
3376
3377 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
3378 true.
3379
3380 2019-12-09 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
3381
3382 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
3383 defined instead of its value.
3384
3385 2019-12-09 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
3386
3387 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
3388 if it will have contents.
3389
3390 2019-12-05 Georg-Johann Lay <avr (a] gjlay.de>
3391
3392 PR target/92055
3393 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
3394
3395 2019-11-18 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
3396
3397 PR libgcc/91737
3398 * config.host: Add t-gthr-noweak on *-*-musl*.
3399 * config/t-gthr-noweak: New file.
3400
3401 2019-11-17 John David Anglin <danglin (a] gcc.gnu.org>
3402
3403 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
3404 volatile void *. Remove trap check.
3405 (__kernel_cmpxchg2): Likewise.
3406 (FETCH_AND_OP_2): Adjust operand types.
3407 (OP_AND_FETCH_2): Likewise.
3408 (FETCH_AND_OP_WORD): Likewise.
3409 (OP_AND_FETCH_WORD): Likewise.
3410 (COMPARE_AND_SWAP_2): Likewise.
3411 (__sync_val_compare_and_swap_4): Likewise.
3412 (__sync_bool_compare_and_swap_4): Likewise.
3413 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3414 (__sync_lock_test_and_set_4): Likewise.
3415 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
3416 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
3417 for release.
3418 (__sync_lock_release_8): Remove.
3419
3420 2019-11-15 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
3421
3422 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
3423 of __sigset_t.
3424
3425 2019-11-14 Jerome Lambourg <lambourg (a] adacore.com>
3426 Doug Rupp <rupp (a] adacore.com>
3427 Olivier Hainque <hainque (a] adacore.com>
3428
3429 * config.host: Collapse the arm-vxworks entries into
3430 a single arm-wrs-vxworks7* one.
3431 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
3432 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
3433 kernel modules, to be overriden by libstdc++ when we link with
3434 it. Rely on externally provided __exidx_start/end.
3435
3436 2019-11-14 Doug Rupp <rupp (a] adacore.com>
3437 Olivier Hainque <hainque (a] adacore.com>
3438
3439 * config.host: Handle aarch64*-wrs-vxworks7*.
3440
3441 2019-11-12 Olivier Hainque <hainque (a] adacore.com>
3442
3443 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
3444 sources except the cxx0x support to LIB2ADDEH. We don't support
3445 cxx0x on AE/653.
3446 * config/t-vxworksae: New file.
3447 * config.host: Handle *-*-vxworksae: Add the two aforementioned
3448 Makefile fragment files at their expected position in the tmake_file
3449 list, in accordance with what is done for other VxWorks variants.
3450
3451 2019-11-12 Corentin Gay <gay (a] adacore.com>
3452 Jerome Lambourg <lambourg (a] adacore.com>
3453 Olivier Hainque <hainque (a] adacore.com>
3454
3455 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
3456 sources to LIB2ADDEH.
3457 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
3458 * config/t-vxworks7: Likewise.
3459
3460 * config.host: Append a block at the end of the file to add the
3461 t-gthr files to the tmake_file list for VxWorks after everything
3462 else.
3463
3464 * config/vxlib.c: Rename as gthr-vxworks.c.
3465 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
3466
3467 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
3468 API and a basic error checking API, both internal. Simplify the
3469 __gthread_once_t type definition and initializers. Add sections
3470 for condition variables support and for the C++0x thread support,
3471 conditioned against Vx653 for the latter.
3472
3473 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
3474 implementation, leveraging the TAS internal API.
3475 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
3476 API, leveraging the general availability of TLS services in VxWorks7
3477 post SR6xxx.
3478 (__gthread_setspecific, __gthread_setspecific): Use it.
3479 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
3480 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
3481 support based on VxWorks primitives.
3482 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
3483 based on VxWorks primitives.
3484
3485 2019-11-06 Jerome Lambourg <lambourg (a] adacore.com>
3486 Olivier Hainque <hainque (a] adacore.com>
3487
3488 * config/vxcrtstuff.c: New file.
3489 * config/t-vxcrtstuff: New Makefile fragment.
3490 * config.host: Append t-vxcrtstuff to the tmake_file list
3491 on all VxWorks ports using dwarf for table based EH.
3492
3493 2019-11-07 Georg-Johann Lay <avr (a] gjlay.de>
3494
3495 Support 64-bit double and 64-bit long double configurations.
3496
3497 PR target/92055
3498 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
3499 long double is a 32-bit type.
3500 * config/avr/t-avrlibc: Copy double64 and long-double64
3501 multilib(s) from the vanilla one.
3502 * config/avr/t-copy-libgcc: New Makefile snip.
3503
3504 2019-11-04 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
3505
3506 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
3507 the target output object format is not ELF.
3508 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
3509
3510 2019-11-03 Oleg Endo <olegendo (a] gcc.gnu.org>
3511
3512 PR libgcc/78804
3513 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
3514 * fp-bit.c (pack_d, unpack_d): Remove special cases for
3515 FLOAT_BIT_ORDER_MISMATCH.
3516 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
3517
3518 2019-11-01 Jim Wilson <jimw (a] sifive.com>
3519
3520 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
3521
3522 2019-10-23 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
3523
3524 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
3525 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
3526 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
3527 Define symbols for 32-bit and f5series hardware multiply
3528 register addresses.
3529 Replace hard-coded register addresses with symbols.
3530 Fix "_mspabi*" typo.
3531 Fix whitespace.
3532 * config/msp430/lib2mul.c: Add comment.
3533
3534 2019-10-15 John David Anglin <danglin (a] gcc.gnu.org>
3535
3536 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
3537 unsigned int. Adjust callers.
3538 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
3539 unsigned int *. Load relocation offset before function pointer.
3540 Add barrier to ensure ordering.
3541
3542 2019-10-12 John David Anglin <danglin (a] gcc.gnu.org>
3543
3544 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
3545 Load PIC register after branch target. Fix white space.
3546 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
3547 implementations. Load PIC register after branch target. Don't
3548 clobber function pointer when it points to function descriptor.
3549 Use nullification instead of branch in LINUX implementation.
3550
3551 2019-10-03 John David Anglin <danglin (a] gcc.gnu.org>
3552
3553 * config/pa/fptr.c: Disable -Warray-bounds warning.
3554
3555 2019-09-25 Richard Henderson <richard.henderson (a] linaro.org>
3556
3557 * config.in, configure: Re-rebuild with stock autoconf 2.69,
3558 not the ubuntu modified 2.69.
3559
3560 PR target/91833
3561 * config/aarch64/lse-init.c: Include auto-target.h. Disable
3562 initialization if !HAVE_SYS_AUXV_H.
3563 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
3564 * config.in, configure: Rebuild.
3565
3566 PR target/91834
3567 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
3568 overlap the inputs.
3569
3570 2019-09-25 Shaokun Zhang <zhangshaokun (a] hisilicon.com>
3571
3572 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
3573 CTR_EL0.IDC and CTR_EL0.DIC.
3574
3575 2019-09-20 Christophe Lyon <christophe.lyon (a] st.com>
3576
3577 Revert:
3578 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
3579 Mickal Gun <mickael.guene (a] st.com>
3580
3581 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3582 architecture.
3583
3584 2019-09-19 Richard Henderson <richard.henderson (a] linaro.org>
3585
3586 * config/aarch64/lse-init.c: New file.
3587 * config/aarch64/lse.S: New file.
3588 * config/aarch64/t-lse: New file.
3589 * config.host: Add t-lse to all aarch64 tuples.
3590
3591 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
3592 Mickal Gun <mickael.guene (a] st.com>
3593
3594 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3595 architecture.
3596
3597 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
3598 Mickal Gun <mickael.guene (a] st.com>
3599
3600 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
3601 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
3602 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
3603 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
3604 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
3605 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
3606 (__gnu_personality_sigframe_fdpic): New.
3607 (get_eit_entry): Add FDPIC signal frame support.
3608
3609 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
3610 Mickal Gun <mickael.guene (a] st.com>
3611
3612 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
3613 (__kernel_dmb): Likewise.
3614 (__fdpic_cmpxchg): New function.
3615 (__fdpic_dmb): New function.
3616 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
3617 (gnu_Unwind_Find_got): New function.
3618 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
3619 * unwind-arm-common.inc (UCB_PR_GOT): New.
3620 (funcdesc_t): New struct.
3621 (get_eit_entry): Add FDPIC support.
3622 (unwind_phase2): Likewise.
3623 (unwind_phase2_forced): Likewise.
3624 (__gnu_Unwind_RaiseException): Likewise.
3625 (__gnu_Unwind_Resume): Likewise.
3626 (__gnu_Unwind_Backtrace): Likewise.
3627 * unwind-pe.h (read_encoded_value_with_base): Likewise.
3628
3629 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
3630 Mickal Gun <mickael.guene (a] st.com>
3631
3632 * libgcc/crtstuff.c: Add support for FDPIC.
3633
3634 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
3635
3636 * config.host: Handle *-*-uclinuxfdpiceabi.
3637
3638 2019-09-09 Jose E. Marchesi <jose.marchesi (a] oracle.com>
3639
3640 * config.host: Set cpu_type for bpf-*-* targets.
3641 * config/bpf/t-bpf: Likewise.
3642 * config/bpf/crtn.S: Likewise.
3643 * config/bpf/crti.S: New file.
3644
3645 2019-09-06 Jim Wilson <jimw (a] sifive.com>
3646
3647 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3648 (riscv*-*-freebsd*): Likewise.
3649
3650 2019-09-03 Ulrich Weigand <uweigand (a] de.ibm.com>
3651
3652 * config.host: Remove references to spu.
3653 * config/spu/: Remove directory.
3654
3655 2019-08-23 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
3656
3657 PR target/91306
3658 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
3659 element type, instead of "sizeof" the element type.
3660 (__DTOR_LIST__): Likewise.
3661 (__TMC_LIST__): Likewise.
3662 (__do_global_dtors_aux_fini_array_entry): Likewise.
3663 (__frame_dummy_init_array_entry): Likewise.
3664 (__CTOR_END__): Likewise.
3665 (__DTOR_END__): Likweise.
3666 (__FRAME_END__): Likewise.
3667 (__TMC_END__): Likewise.
3668
3669 2019-08-20 Lili Cui <lilicui (a] intel.com>
3670
3671 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
3672 INTEL_COREI7_COOPERLAKE.
3673
3674 2019-07-31 Matt Thomas <matt (a] 3am-software.com>
3675 Nick Hudson <nick (a] nthcliff.demon.co.uk>
3676 Matthew Green <mrg (a] eterna.com.au>
3677 Maya Rashish <coypu (a] sdf.org>
3678
3679 * config.host (hppa*-*-netbsd*): New case.
3680 * config/pa/t-netbsd: New file.
3681
3682 2019-07-31 Joel Hutton <Joel.Hutton (a] arm.com>
3683
3684 * config/arm/cmse.c (cmse_check_address_range): Add
3685 warn_unused_result attribute.
3686
3687 2019-07-22 Martin Liska <mliska (a] suse.cz>
3688
3689 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
3690 * config/pa/t-stublib: Likewise.
3691
3692 2019-07-22 Stafford Horne <shorne (a] gmail.com>
3693
3694 PR target/90362
3695 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
3696 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
3697 instructions are not available on every processor. Change a
3698 l.bnf to l.bf to fix logic issue.
3699
3700 2019-07-04 Iain Sandoe <iain (a] sandoe.co.uk>
3701
3702 * config.host: Remove reference to t-darwin8.
3703
3704 2019-07-03 Iain Sandoe <iain (a] sandoe.co.uk>
3705
3706 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
3707 list.
3708 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
3709 mmacosx-version-min for crts to run across all system versions.
3710 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
3711 * config/t-darwin: Revise mmacosx-version-min for crts to run across
3712 system versions >= 10.4.
3713
3714 2019-07-03 Martin Liska <mliska (a] suse.cz>
3715
3716 * Makefile.in: Use topn_values instead of one_value names.
3717 * libgcov-merge.c (__gcov_merge_single): Move to ...
3718 (__gcov_merge_topn): ... this.
3719 (merge_single_value_set): Move to ...
3720 (merge_topn_values_set): ... this.
3721 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
3722 ...
3723 (__gcov_topn_values_profiler_body): ... this.
3724 (__gcov_one_value_profiler_v2): Move to ...
3725 (__gcov_topn_values_profiler): ... this.
3726 (__gcov_one_value_profiler_v2_atomic): Move to ...
3727 (__gcov_topn_values_profiler_atomic): ... this.
3728 (__gcov_indirect_call_profiler_v4): Remove.
3729 * libgcov-util.c (__gcov_single_counter_op): Move to ...
3730 (__gcov_topn_counter_op): ... this.
3731 * libgcov.h (L_gcov_merge_single): Remove.
3732 (L_gcov_merge_topn): New.
3733 (__gcov_merge_single): Remove.
3734 (__gcov_merge_topn): New.
3735 (__gcov_one_value_profiler_v2): Move to ..
3736 (__gcov_topn_values_profiler): ... this.
3737 (__gcov_one_value_profiler_v2_atomic): Move to ...
3738 (__gcov_topn_values_profiler_atomic): ... this.
3739
3740 2019-07-03 Martin Liska <mliska (a] suse.cz>
3741
3742 * libgcov-merge.c (merge_single_value_set): Support N values.
3743 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
3744
3745 2019-06-27 Ilia Diachkov <ilia.diachkov (a] optimitech.com>
3746
3747 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
3748 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
3749 * configure.ac: Add --disable-tm-clone-registry option.
3750 * configure: Regenerate.
3751
3752 2019-06-27 Martin Liska <mliska (a] suse.cz>
3753
3754 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
3755 dead assignments.
3756 * libgcov-util.c: Likewise.
3757
3758 2019-06-27 Martin Liska <mliska (a] suse.cz>
3759
3760 * libgcov-util.c (gcov_profile_merge): Release allocated
3761 memory.
3762 (calculate_overlap): Likewise.
3763
3764 2019-06-25 Iain Sandoe <iain (a] sandoe.co.uk>
3765
3766 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
3767 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
3768 Build objects for the out of line save/restore register functions
3769 so that they can be used for any supported Darwin version.
3770 * config/t-darwin: Default the build Darwin version to Darwin8
3771 (MacOS 10.4).
3772
3773 2019-06-25 Martin Liska <mliska (a] suse.cz>
3774
3775 * libgcov-driver-system.c (replace_filename_variables): Do not
3776 call strlen with NULL argument.
3777
3778 2019-06-25 Andrew Stubbs <ams (a] codesourcery.com>
3779
3780 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
3781 * config/gcn/unwind-gcn.c: New file.
3782
3783 2019-06-25 Kwok Cheung Yeung <kcy (a] codesourcery.com>
3784 Andrew Stubbs <ams (a] codesourcery.com>
3785
3786 * configure: Regenerate.
3787 * config/gcn/gthr-gcn.h: New.
3788
3789 2019-06-18 Tom de Vries <tdevries (a] suse.de>
3790
3791 * config/nvptx/crt0.c (__main): Declare.
3792
3793 2019-06-17 Matthew Green <mrg (a] eterna.com.au>
3794 Maya Rashish <coypu (a] sdf.org>
3795
3796 * config.host (aarch64*-*-netbsd*): New case.
3797
3798 2019-06-16 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
3799
3800 * config/msp430/slli.S (__mspabi_sllll): New library function for
3801 performing a logical left shift of a 64-bit value.
3802 * config/msp430/srai.S (__mspabi_srall): New library function for
3803 performing a arithmetic right shift of a 64-bit value.
3804 * config/msp430/srll.S (__mspabi_srlll): New library function for
3805 performing a logical right shift of a 64-bit value.
3806
3807 2019-06-14 Matt Thomas <matt (a] 3am-software.com>
3808 Matthew Green <mrg (a] eterna.com.au>
3809 Nick Hudson <skrll (a] netbsd.org>
3810 Maya Rashish <coypu (a] sdf.org>
3811
3812 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3813 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3814 functions to build.
3815 * config/arm/t-netbsd-eabi: New file.
3816
3817 2019-06-12 Dimitar Dimitrov <dimitar (a] dinux.eu>
3818
3819 * config.host: Add PRU target.
3820 * config/pru/asri.c: New file.
3821 * config/pru/eqd.c: New file.
3822 * config/pru/eqf.c: New file.
3823 * config/pru/ged.c: New file.
3824 * config/pru/gef.c: New file.
3825 * config/pru/gtd.c: New file.
3826 * config/pru/gtf.c: New file.
3827 * config/pru/led.c: New file.
3828 * config/pru/lef.c: New file.
3829 * config/pru/lib2bitcountHI.c: New file.
3830 * config/pru/lib2divHI.c: New file.
3831 * config/pru/lib2divQI.c: New file.
3832 * config/pru/lib2divSI.c: New file.
3833 * config/pru/libgcc-eabi.ver: New file.
3834 * config/pru/ltd.c: New file.
3835 * config/pru/ltf.c: New file.
3836 * config/pru/mpyll.S: New file.
3837 * config/pru/pru-abi.h: New file.
3838 * config/pru/pru-asm.h: New file.
3839 * config/pru/pru-divmod.h: New file.
3840 * config/pru/sfp-machine.h: New file.
3841 * config/pru/t-pru: New file.
3842
3843 2019-06-11 Jakub Jelinek <jakub (a] redhat.com>
3844
3845 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3846
3847 2019-06-10 Martin Liska <mliska (a] suse.cz>
3848
3849 PR bootstrap/90808
3850 * libgcov.h: Add ATTRIBUTE_UNUSED.
3851
3852 2019-06-10 Martin Liska <mliska (a] suse.cz>
3853
3854 * Makefile.in: Add __gcov_one_value_profiler_v2,
3855 __gcov_one_value_profiler_v2_atomic and
3856 __gcov_indirect_call_profiler_v4.
3857 * libgcov-merge.c (__gcov_merge_single): Change
3858 function signature.
3859 (merge_single_value_set): New.
3860 * libgcov-profiler.c (__gcov_one_value_profiler_body):
3861 Update functionality.
3862 (__gcov_one_value_profiler): Remove.
3863 (__gcov_one_value_profiler_v2): ... this.
3864 (__gcov_one_value_profiler_atomic): Rename to ...
3865 (__gcov_one_value_profiler_v2_atomic): this.
3866 (__gcov_indirect_call_profiler_v3): Rename to ...
3867 (__gcov_indirect_call_profiler_v4): ... this.
3868 * libgcov.h (__gcov_one_value_profiler): Remove.
3869 (__gcov_one_value_profiler_atomic): Remove.
3870 (__gcov_one_value_profiler_v2_atomic): New.
3871 (__gcov_indirect_call_profiler_v3): Remove.
3872 (__gcov_one_value_profiler_v2): New.
3873 (__gcov_indirect_call_profiler_v4): New.
3874 (gcov_get_counter_ignore_scaling): New function.
3875
3876 2019-06-07 Martin Liska <mliska (a] suse.cz>
3877
3878 * Makefile.in: Remove usage of
3879 _gcov_merge_icall_topn.
3880 * libgcov-driver.c (gcov_sort_n_vals): Remove.
3881 (gcov_sort_icall_topn_counter): Likewise.
3882 (gcov_sort_topn_counter_arrays): Likewise.
3883 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3884 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3885 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3886 Likewise.
3887 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3888 (struct indirect_call_tuple): Remove.
3889 (__gcov_indirect_call_topn_profiler): Remove.
3890 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3891 * libgcov.h (gcov_sort_n_vals): Remove.
3892 (L_gcov_merge_icall_topn): Likewise.
3893 (__gcov_merge_icall_topn): Likewise.
3894 (__gcov_indirect_call_topn_profiler): Likewise.
3895
3896 2019-06-06 Iain Sandoe <iain (a] sandoe.co.uk>
3897
3898 * config/rs6000/t-darwin: Ensure that the unwinder is built with
3899 altivec enabled.
3900
3901 2019-06-06 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
3902
3903 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3904 section.
3905 (__mspabi_slli): Likewise.
3906 (__mspabi_slll_n): Likewise.
3907 (__mspabi_slll): Likewise.
3908 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3909 (__mspabi_srai): Likewise.
3910 (__mspabi_sral_n): Likewise.
3911 (__mspabi_sral): Likewise.
3912 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3913 (__mspabi_srli): Likewise.
3914 (__mspabi_srll_n): Likewise.
3915 (__mspabi_srll): Likewise.
3916
3917 2019-06-05 Yoshinori Sato <ysato (a] users.sourceforge.jp>
3918
3919 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3920 Add appropriate tm_file clause as well.
3921 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3922
3923 2019-06-05 James Clarke <jrtc27 (a] jrtc27.com>
3924
3925 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3926 rather than .data/.bss so it can be accessed via gp-relative
3927 addressing.
3928
3929 2019-06-05 David Edelsohn <dje.gcc (a] gmail.com>
3930
3931 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3932 (CR2_REGNO): Rename to R_CR2.
3933 (XER_REGNO): Rename to R_XER.
3934 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3935 (VRSAVE_REGNO): Rename to R_VRSAVE.
3936 (VSCR_REGNO): R_VSCR.
3937
3938 2019-05-29 Yoshinori Sato <ysato (a] users.sourceforge.jp>
3939
3940 * config.host (rx-*-linux*): Add new case.
3941 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3942
3943 2019-05-29 Sam Tebbs <sam.tebbs (a] arm.com>
3944
3945 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3946 function.
3947 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3948 aarch64_post_frob_eh_handler_addr): Add check for b-key.
3949 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3950 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3951 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3952 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3953 string.
3954 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3955 string.
3956 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3957
3958 2019-05-28 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3959
3960 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3961 Remove Solaris 9 and 10 support.
3962 (sparc_is_sighandler): Likewise.
3963
3964 2019-05-26 John David Anglin <danglin (a] gcc.gnu.org>
3965
3966 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3967
3968 2019-05-17 H.J. Lu <hongjiu.lu (a] intel.com>
3969
3970 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3971 4_FP_W_TYPEs are used for IEEE quad precision.
3972 * soft-fp/extendhftf2.c: Likewise.
3973 * soft-fp/extendsftf2.c: Likewise.
3974 * soft-fp/extendxftf2.c: Likewise.
3975 * soft-fp/trunctfdf2.c: Likewise.
3976 * soft-fp/trunctfhf2.c: Likewise.
3977 * soft-fp/trunctfsf2.c: Likewise.
3978 * soft-fp/trunctfxf2.c: Likewise.
3979 * config/rs6000/ibm-ldouble.c: Likewise.
3980
3981 2019-05-14 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3982
3983 * config.host: Simplify various *-*-solaris2.1[0-9]* to
3984 *-*-solaris2*.
3985 * configure.ac: Likewise.
3986 * configure: Regenerate.
3987
3988 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3989 Solaris 10 and Solaris 11 < snv_125 handling.
3990
3991 2019-05-12 Iain Sandoe <iain (a] sandoe.co.uk>
3992
3993 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3994
3995 2019-05-07 Hongtao Liu <hongtao.liu (a] intel.com>
3996
3997 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3998 * config/i386/cpuinfo.h (enum processor_features): Add
3999 FEATURE_AVX512BF16.
4000
4001 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan (a] arm.com>
4002 Bernd Edlinger <bernd.edlinger (a] hotmail.de>
4003 Jakub Jelinek <jakub (a] redhat.com>
4004
4005 PR target/89093
4006 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
4007 * config/arm/unwind-arm.c: Likewise.
4008 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
4009 attribute for ARM.
4010
4011 2019-04-15 Monk Chiang <sh.chiang04 (a] gmail.com>
4012
4013 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
4014 (RT_SIGRETURN): Update.
4015 (nds32_fallback_frame_state): Update.
4016
4017 2019-02-21 Martin Sebor <msebor (a] redhat.com>
4018
4019 * libgcc2.h (__clear_cache): Correct signature.
4020 * libgcc2.c (__clear_cache): Same.
4021
4022 2019-02-20 Uro Bizjak <ubizjak (a] gmail.com>
4023
4024 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
4025 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
4026
4027 2019-02-19 Uro Bizjak <ubizjak (a] gmail.com>
4028
4029 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
4030 regno instead of index to DWARF_ZERO_REG.
4031
4032 2019-02-15 Eric Botcazou <ebotcazou (a] adacore.com>
4033
4034 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
4035 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
4036
4037 2019-01-31 Uro Bizjak <ubizjak (a] gmail.com>
4038
4039 * config/alpha/t-linux: Add -mfp-rounding-mode=d
4040 to HOST_LIBGCC2_CFLAGS.
4041
4042 2019-01-23 Joseph Myers <joseph (a] codesourcery.com>
4043
4044 PR libgcc/88931
4045 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
4046
4047 2019-01-18 Martin Liska <mliska (a] suse.cz>
4048
4049 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
4050 to ...
4051 (__gcov_indirect_call_profiler_v3): ... this.
4052 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
4053 (__gcov_indirect_call_profiler_v3): Likewise.
4054 * Makefile.in: Bump function name.
4055
4056 2019-01-18 Martin Liska <mliska (a] suse.cz>
4057
4058 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
4059 (gcov_version): Use in gcov_error.
4060 (merge_one_data): Likewise.
4061 (dump_one_gcov): Likewise.
4062
4063 2019-01-18 Martin Liska <mliska (a] suse.cz>
4064
4065 * libgcov-driver.c (gcov_version_string): New function.
4066 (gcov_version): Convert version integer into string.
4067
4068 2019-01-17 Andrew Stubbs <ams (a] codesourcery.com>
4069 Kwok Cheung Yeung <kcy (a] codesourcery.com>
4070 Julian Brown <julian (a] codesourcery.com>
4071 Tom de Vries <tom (a] codesourcery.com>
4072
4073 * config.host: Recognize amdgcn*-*-amdhsa.
4074 * config/gcn/crt0.c: New file.
4075 * config/gcn/lib2-divmod-hi.c: New file.
4076 * config/gcn/lib2-divmod.c: New file.
4077 * config/gcn/lib2-gcn.h: New file.
4078 * config/gcn/sfp-machine.h: New file.
4079 * config/gcn/t-amdgcn: New file.
4080
4081 2019-01-09 Sandra Loosemore <sandra (a] codesourcery.com>
4082
4083 PR other/16615
4084
4085 * config/c6x/libunwind.S: Mechanically replace "can not" with
4086 "cannot".
4087 * config/tilepro/atomic.h: Likewise.
4088 * config/vxlib-tls.c: Likewise.
4089 * generic-morestack-thread.c: Likewise.
4090 * generic-morestack.c: Likewise.
4091 * mkmap-symver.awk: Likewise.
4092
4093 2019-01-01 Jakub Jelinek <jakub (a] redhat.com>
4094
4095 Update copyright years.
4096
4097 2018-12-20 H.J. Lu <hongjiu.lu (a] intel.com>
4098
4099 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
4100 to ignore -Waddress-of-packed-member.
4101
4102 2018-12-19 Thomas Preud'homme <thomas.preudhomme (a] linaro.org>
4103
4104 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
4105 parameter and corresponding code.
4106 (ARM_FUNC_START): Likewise in both definitions.
4107 Also update footer comment about condition that need to match with
4108 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
4109 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
4110 defined. Weakly define it in this case.
4111 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
4112 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
4113 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
4114 comment to keep condition in sync with the one in
4115 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
4116
4117 2018-12-18 Wei Xiao <wei3.xiao (a] intel.com>
4118
4119 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
4120 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
4121
4122 2018-12-12 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
4123
4124 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
4125 and .cfi_endproc directives for VxWorks targets.
4126
4127 2018-12-05 Paul Koning <ni1d (a] arrl.net>
4128
4129 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
4130
4131 2018-11-27 Alan Modra <amodra (a] gmail.com>
4132
4133 * config/rs6000/morestack.S (__stack_split_initialize),
4134 (__morestack_get_guard, __morestack_set_guard),
4135 (__morestack_make_guard): Provide CFI covering these functions.
4136 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
4137
4138 2018-11-15 Xianmiao Qu <xianmiao_qu (a] c-sky.com>
4139
4140 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
4141 (sc_pt_regs_lr): Update for kernel.
4142 (sc_pt_regs_tls): Update for kernel.
4143
4144 2018-11-15 Xianmiao Qu <xianmiao_qu (a] c-sky.com>
4145
4146 * config/csky/linux-unwind.h: Fix coding style.
4147
4148 2018-11-13 Xianmiao Qu <xianmiao_qu (a] c-sky.com>
4149
4150 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
4151 (csky_fallback_frame_state): Modify the check of the
4152 instructions to adapt to changes in the kernel
4153
4154 2018-11-09 Stafford Horne <shorne (a] gmail.com>
4155 Richard Henderson <rth (a] twiddle.net>
4156
4157 * config.host: Add OpenRISC support.
4158 * config/or1k/*: New.
4159
4160 2018-11-08 Kito Cheng <kito (a] andestech.com>
4161
4162 * soft-fp/adddf3.c: Update from glibc.
4163 * soft-fp/addsf3.c: Likewise.
4164 * soft-fp/addtf3.c: Likewise.
4165 * soft-fp/divdf3.c: Likewise.
4166 * soft-fp/divsf3.c: Likewise.
4167 * soft-fp/divtf3.c: Likewise.
4168 * soft-fp/double.h: Likewise.
4169 * soft-fp/eqdf2.c: Likewise.
4170 * soft-fp/eqsf2.c: Likewise.
4171 * soft-fp/eqtf2.c: Likewise.
4172 * soft-fp/extenddftf2.c: Likewise.
4173 * soft-fp/extended.h: Likewise.
4174 * soft-fp/extendhftf2.c: Likewise.
4175 * soft-fp/extendsfdf2.c: Likewise.
4176 * soft-fp/extendsftf2.c: Likewise.
4177 * soft-fp/extendxftf2.c: Likewise.
4178 * soft-fp/fixdfdi.c: Likewise.
4179 * soft-fp/fixdfsi.c: Likewise.
4180 * soft-fp/fixdfti.c: Likewise.
4181 * soft-fp/fixhfti.c: Likewise.
4182 * soft-fp/fixsfdi.c: Likewise.
4183 * soft-fp/fixsfsi.c: Likewise.
4184 * soft-fp/fixsfti.c: Likewise.
4185 * soft-fp/fixtfdi.c: Likewise.
4186 * soft-fp/fixtfsi.c: Likewise.
4187 * soft-fp/fixtfti.c: Likewise.
4188 * soft-fp/fixunsdfdi.c: Likewise.
4189 * soft-fp/fixunsdfsi.c: Likewise.
4190 * soft-fp/fixunsdfti.c: Likewise.
4191 * soft-fp/fixunshfti.c: Likewise.
4192 * soft-fp/fixunssfdi.c: Likewise.
4193 * soft-fp/fixunssfsi.c: Likewise.
4194 * soft-fp/fixunssfti.c: Likewise.
4195 * soft-fp/fixunstfdi.c: Likewise.
4196 * soft-fp/fixunstfsi.c: Likewise.
4197 * soft-fp/fixunstfti.c: Likewise.
4198 * soft-fp/floatdidf.c: Likewise.
4199 * soft-fp/floatdisf.c: Likewise.
4200 * soft-fp/floatditf.c: Likewise.
4201 * soft-fp/floatsidf.c: Likewise.
4202 * soft-fp/floatsisf.c: Likewise.
4203 * soft-fp/floatsitf.c: Likewise.
4204 * soft-fp/floattidf.c: Likewise.
4205 * soft-fp/floattihf.c: Likewise.
4206 * soft-fp/floattisf.c: Likewise.
4207 * soft-fp/floattitf.c: Likewise.
4208 * soft-fp/floatundidf.c: Likewise.
4209 * soft-fp/floatundisf.c: Likewise.
4210 * soft-fp/floatunditf.c: Likewise.
4211 * soft-fp/floatunsidf.c: Likewise.
4212 * soft-fp/floatunsisf.c: Likewise.
4213 * soft-fp/floatunsitf.c: Likewise.
4214 * soft-fp/floatuntidf.c: Likewise.
4215 * soft-fp/floatuntihf.c: Likewise.
4216 * soft-fp/floatuntisf.c: Likewise.
4217 * soft-fp/floatuntitf.c: Likewise.
4218 * soft-fp/gedf2.c: Likewise.
4219 * soft-fp/gesf2.c: Likewise.
4220 * soft-fp/getf2.c: Likewise.
4221 * soft-fp/half.h: Likewise.
4222 * soft-fp/ledf2.c: Likewise.
4223 * soft-fp/lesf2.c: Likewise.
4224 * soft-fp/letf2.c: Likewise.
4225 * soft-fp/muldf3.c: Likewise.
4226 * soft-fp/mulsf3.c: Likewise.
4227 * soft-fp/multf3.c: Likewise.
4228 * soft-fp/negdf2.c: Likewise.
4229 * soft-fp/negsf2.c: Likewise.
4230 * soft-fp/negtf2.c: Likewise.
4231 * soft-fp/op-1.h: Likewise.
4232 * soft-fp/op-2.h: Likewise.
4233 * soft-fp/op-4.h: Likewise.
4234 * soft-fp/op-8.h: Likewise.
4235 * soft-fp/op-common.h: Likewise.
4236 * soft-fp/quad.h: Likewise.
4237 * soft-fp/single.h: Likewise.
4238 * soft-fp/soft-fp.h: Likewise.
4239 * soft-fp/subdf3.c: Likewise.
4240 * soft-fp/subsf3.c: Likewise.
4241 * soft-fp/subtf3.c: Likewise.
4242 * soft-fp/truncdfsf2.c: Likewise.
4243 * soft-fp/trunctfdf2.c: Likewise.
4244 * soft-fp/trunctfhf2.c: Likewise.
4245 * soft-fp/trunctfsf2.c: Likewise.
4246 * soft-fp/trunctfxf2.c: Likewise.
4247 * soft-fp/unorddf2.c: Likewise.
4248 * soft-fp/unordsf2.c: Likewise.
4249 * soft-fp/unordtf2.c: Likewise.
4250
4251 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar (a] amd.com>
4252
4253 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
4254 * config/i386/cpuinfo.h (processor_types): Add znver2.
4255
4256 2018-11-01 Paul Koning <ni1d (a] arrl.net>
4257
4258 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
4259 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
4260
4261 2018-10-31 Joseph Myers <joseph (a] codesourcery.com>
4262
4263 PR bootstrap/82856
4264 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
4265 * configure: Regenerate.
4266
4267 2018-10-31 Claudiu Zissulescu <claziss (a] synopsys.com>
4268
4269 * config/arc/lib1funcs.S (_muldi3): New function.
4270 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
4271
4272 2018-10-30 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
4273
4274 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
4275
4276 2018-10-25 Martin Liska <mliska (a] suse.cz>
4277
4278 PR other/87735
4279 * libgcov-profiler.c: Revert.
4280
4281 2018-10-24 Martin Liska <mliska (a] suse.cz>
4282
4283 * libgcov-profiler.c: Start from 1 in order to distinguish
4284 functions which were seen and these that were not.
4285
4286 2018-10-18 Paul Koning <ni1d (a] arrl.net>
4287
4288 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
4289 standard.
4290 * divmod.c: Update references to __udivmodsi4.
4291 * udivmod.c: Ditto.
4292 * udivhi3.c: New file.
4293 * udivmodhi4.c: New file.
4294 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
4295
4296 2018-10-17 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
4297
4298 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
4299
4300 2018-10-12 Olivier Hainque <hainque (a] adacore.com>
4301
4302 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
4303 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
4304
4305 2018-10-08 Paul Koning <ni1d (a] arrl.net>
4306
4307 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
4308
4309 2018-10-04 Martin Liska <mliska (a] suse.cz>
4310
4311 PR gcov-profile/84107
4312 * libgcov-profiler.c (__gcov_indirect_call):
4313 Change type to indirect_call_tuple.
4314 (struct indirect_call_tuple): New struct.
4315 (__gcov_indirect_call_topn_profiler): Change type.
4316 (__gcov_indirect_call_profiler_v2): Use the new
4317 variables.
4318 * libgcov.h (struct indirect_call_tuple): New struct
4319 definition.
4320
4321 2018-10-03 Uros Bizjak <ubizjak (a] gmail.com>
4322
4323 * libgcc2.c (isnan): Use __builtin_isnan.
4324 (isfinite): Use __builtin_isfinite.
4325 (isinf): Use __builtin_isinf.
4326
4327 2018-09-26 Uros Bizjak <ubizjak (a] gmail.com>
4328
4329 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
4330
4331 2018-09-21 Alexandre Oliva <oliva (a] adacore.com>
4332
4333 * config/vxcache.c: New file. Provide __clear_cache, based on
4334 the cacheTextUpdate VxWorks service.
4335 * config/t-vxworks (LIB2ADD): Add vxcache.c.
4336 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
4337 * config/t-vxwoks7: Likewise.
4338
4339 2018-09-21 Martin Liska <mliska (a] suse.cz>
4340
4341 * libgcov-driver.c (crc32_unsigned): Remove.
4342 (gcov_histogram_insert): Likewise.
4343 (gcov_compute_histogram): Likewise.
4344 (compute_summary): Simplify rapidly.
4345 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
4346 (merge_summary): Rapidly simplify.
4347 (dump_one_gcov): Ignore gcov_summary.
4348 (gcov_do_dump): Do not handle program summary, it's not
4349 used.
4350 * libgcov-util.c (tag_summary): Remove.
4351 (read_gcda_finalize): Fix coding style.
4352 (read_gcda_file): Initialize curr_object_summary.
4353 (compute_summary): Remove.
4354 (calculate_overlap): Remove settings of run_max.
4355
4356 2018-09-21 Monk Chiang <sh.chiang04 (a] gmail.com>
4357
4358 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
4359 ucontext_t type instead.
4360 (nds32_fallback_frame_state): Remove struct _sigframe statement.
4361
4362 2018-09-21 Kito Cheng <kito.cheng (a] gmail.com>
4363
4364 * config/nds32/t-nds32-glibc: New file.
4365
4366 2018-09-18 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
4367
4368 * configure.ac (solaris_ld_v2_maps): New test.
4369 * configure: Regenerate.
4370 * Makefile.in (solaris_ld_v2_maps): New variable.
4371 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
4372 if supported.
4373
4374 2018-08-23 Richard Earnshaw <rearnsha (a] arm.com>
4375
4376 PR target/86951
4377 * config/arm/lib1funcs.asm (speculation_barrier): New function.
4378 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
4379 to build.
4380
4381 2018-08-22 Iain Sandoe <iain (a] sandoe.co.uk>
4382
4383 * config/unwind-dw2-fde-darwin.c
4384 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
4385 * config/darwin10-unwind-find-enc-func.c: to here.
4386 * config/t-darwin: Build Darwin10 unwinder shim crt.
4387 * libgcc/config.host: Add the Darwin10 unwinder shim.
4388
4389 2018-08-21 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
4390
4391 * config.host: Add crtbegin.o and crtend.o for
4392 powerpc-wrs-vxworks target.
4393
4394 2018-08-17 Jojo <jijie_rong (a] c-sky.com>
4395 Huibin Wang <huibin_wang (a] c-sky.com>
4396 Sandra Loosemore <sandra (a] codesourcery.com>
4397 Chung-Lin Tang <cltang (a] codesourcery.com>
4398
4399 C-SKY port: libgcc
4400
4401 * config.host: Add C-SKY support.
4402 * config/csky/*: New.
4403
4404 2018-08-12 Chung-Ju Wu <jasonwucj (a] gmail.com>
4405
4406 * config/nds32/t-nds32-isr: Rearrange object dependency.
4407 * config/nds32/initfini.c: Add dwarf2 unwinding support.
4408 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
4409 and registers usage.
4410 * config/nds32/isr-library/excp_isr.S: Ditto.
4411 * config/nds32/isr-library/intr_isr.S: Ditto.
4412 * config/nds32/isr-library/reset.S: Ditto.
4413 * config/nds32/isr-library/restore_all.inc: Ditto.
4414 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
4415 * config/nds32/isr-library/restore_partial.inc: Ditto.
4416 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
4417 * config/nds32/isr-library/save_all.inc: Ditto.
4418 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
4419 * config/nds32/isr-library/save_partial.inc: Ditto.
4420 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
4421 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
4422
4423 2018-08-11 John David Anglin <danglin (a] gcc.gnu.org>
4424
4425 * config/pa/linux-atomic.c: Update comment.
4426 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
4427 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
4428 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
4429 __ATOMIC_RELAXED for atomic loads.
4430 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
4431 unordered store to release lock.
4432 (__sync_lock_release_8): Likewise.
4433 (SYNC_LOCK_RELEASE_2): Remove define.
4434
4435 2018-08-02 Nicolas Pitre <nico (a] fluxnic.net>
4436
4437 PR libgcc/86512
4438 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
4439 exponent goes negative. Update my email address.
4440 * config/arm/ieee754-sf.S: Likewise.
4441
4442 2018-08-01 Martin Liska <mliska (a] suse.cz>
4443
4444 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
4445 check that __gcov_indirect_call_callee is non-null.
4446
4447 2018-07-30 Christophe Lyon <christophe.lyon (a] linaro.org>
4448
4449 * config/arm/ieee754-df.S: Fix comment for code working on
4450 architectures >= 4.
4451 * config/arm/ieee754-sf.S: Likewise.
4452
4453 2018-07-27 H.J. Lu <hongjiu.lu (a] intel.com>
4454
4455 PR libgcc/85334
4456 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4457 Removed.
4458
4459 2018-07-05 James Clarke <jrtc27 (a] jrtc27.com>
4460
4461 * configure: Regenerated.
4462
4463 2018-06-27 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
4464
4465 * Makefile.in (install_leaf): Use enable_gcov instead of
4466 enable_libgcov.
4467
4468 2018-06-27 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
4469
4470 * configure.ac: Add --disable-gcov option.
4471 * configure: Regenerate.
4472 * Makefile.in: Honour @enable_gcov@.
4473
4474 2018-06-21 Christophe Lyon <christophe.lyon (a] linaro.org>
4475
4476 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
4477 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
4478 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
4479 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
4480 __ARM_ARCH__.
4481 * config/arm/ieee754-sf.S: Likewise.
4482 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
4483
4484 2018-06-21 Christophe Lyon <christophe.lyon (a] linaro.org>
4485
4486 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
4487 longer supported.
4488 * config/arm/ieee754-sf.S: Likewise.
4489
4490 2018-06-20 Than McIntosh <thanm (a] google.com>
4491
4492 PR libgcc/86213
4493 * generic-morestack.c (allocate_segment): Move calls to getenv and
4494 getpagesize to __morestack_load_mmap.
4495 (__morestack_load_mmap) Initialize static_pagesize and
4496 use_guard_page here so as to avoid clobbering SSE regs during a
4497 __morestack call.
4498
4499 2018-06-18 Michael Meissner <meissner (a] linux.ibm.com>
4500
4501 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
4502 support modules with -mno-gnu-attribute.
4503 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
4504
4505 2018-06-07 Olivier Hainque <hainque (a] adacore.com>
4506
4507 * config/t-vxworks (LIBGCC_INCLUDES): Add
4508 -I$(MULTIBUILDTOP)../../gcc/include.
4509 * config/t-vxworks7: Likewise. Reformat a bit to match
4510 the t-vxworks layout.
4511
4512 2018-06-07 Olga Makhotina <olga.makhotina (a] intel.com>
4513
4514 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
4515
4516 2018-06-07 Martin Liska <mliska (a] suse.cz>
4517
4518 * libgcov-driver.c: Rename cs_all to all and assign it from
4519 all_prg.
4520
4521 2018-06-07 Martin Liska <mliska (a] suse.cz>
4522
4523 PR bootstrap/86057
4524 * libgcov-driver-system.c (replace_filename_variables): Use
4525 memcpy instead of mempcpy.
4526 (allocate_filename_struct): Do not allocate filename, allocate
4527 prefix and set it.
4528 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
4529 here and properly copy content into it.
4530 * libgcov-driver.c (struct gcov_filename): Remove max_length
4531 field, change prefix from size_t into char *.
4532 (compute_summary): Do not calculate longest filename.
4533 (gcov_do_dump): Release memory of gf.filename after each file.
4534 * libgcov-util.c (compute_summary): Use new signature of
4535 compute_summary.
4536 (calculate_overlap): Likewise.
4537
4538 2018-06-05 Martin Liska <mliska (a] suse.cz>
4539
4540 PR gcov-profile/47618
4541 * libgcov-driver-system.c (replace_filename_variables): New
4542 function.
4543 (gcov_exit_open_gcda_file): Use it.
4544
4545 2018-06-05 Martin Liska <mliska (a] suse.cz>
4546
4547 * libgcov-driver.c (gcov_compute_histogram): Remove usage
4548 of gcov_ctr_summary.
4549 (compute_summary): Do it just for a single summary.
4550 (merge_one_data): Likewise.
4551 (merge_summary): Simplify as we read just single summary.
4552 (dump_one_gcov): Pass proper argument.
4553 * libgcov-util.c (compute_one_gcov): Simplify as we have just
4554 single summary.
4555 (gcov_info_count_all_cold): Likewise.
4556 (calculate_overlap): Likewise.
4557
4558 2018-06-02 Chung-Ju Wu <jasonwucj (a] gmail.com>
4559 Monk Chiang <sh.chiang04 (a] gmail.com>
4560
4561 * config.host (nds32*-linux*): New.
4562 * config/nds32/linux-atomic.c: New file.
4563 * config/nds32/linux-unwind.h: New file.
4564
4565 2018-05-31 Uros Bizjak <ubizjak (a] gmail.com>
4566
4567 PR target/85591
4568 * config/i386/cpuinfo.c (get_amd_cpu): Return
4569 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
4570
4571 2018-05-30 Rasmus Villemoes <rasmus.villemoes (a] prevas.dk>
4572
4573 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
4574
4575 2018-05-29 Martin Liska <mliska (a] suse.cz>
4576
4577 PR gcov-profile/85759
4578 * libgcov-driver-system.c (gcov_error): Introduce usage of
4579 GCOV_EXIT_AT_ERROR env. variable.
4580 * libgcov-driver.c (merge_one_data): Print error that we
4581 overwrite a gcov file with a different timestamp.
4582
4583 2018-05-23 Kalamatee <kalamatee (a] gmail.com>
4584
4585 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
4586 path to Lf$finfty.
4587
4588 2018-05-18 Kito Cheng <kito.cheng (a] gmail.com>
4589 Monk Chiang <sh.chiang04 (a] gmail.com>
4590 Jim Wilson <jimw (a] sifive.com>
4591
4592 * config/riscv/save-restore.S: Add support for rv32e.
4593
4594 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov (a] arm.com>
4595
4596 * config/arm/libunwind.S: Update comment relating to armv5.
4597
4598 2018-05-17 Jerome Lambourg <lambourg (a] adacore.com>
4599
4600 * config/arm/cmse.c (cmse_check_address_range): Replace
4601 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
4602
4603 2018-05-17 Olga Makhotina <olga.makhotina (a] intel.com>
4604
4605 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
4606 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
4607
4608 2018-05-08 Olga Makhotina <olga.makhotina (a] intel.com>
4609
4610 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
4611 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
4612
4613 2018-05-07 Amaan Cheval <amaan.cheval (a] gmail.com>
4614
4615 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
4616
4617 2018-04-27 Andreas Tobler <andreast (a] gcc.gnu.org>
4618 Maryse Levavasseur <maryse.levavasseur (a] stormshield.eu>
4619
4620 PR libgcc/84292
4621 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
4622 op_and_fetch to return the right result.
4623
4624 2018-04-27 Alan Modra <amodra (a] gmail.com>
4625
4626 PR libgcc/85532
4627 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
4628 -fno-asynchronous-unwind-tables.
4629
4630 2018-04-25 Chung-Ju Wu <jasonwucj (a] gmail.com>
4631
4632 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
4633 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
4634
4635 2018-04-24 H.J. Lu <hongjiu.lu (a] intel.com>
4636
4637 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
4638 when including "config/i386/shadow-stack-unwind.h".
4639
4640 2018-04-24 H.J. Lu <hongjiu.lu (a] intel.com>
4641
4642 * configure: Regenerated.
4643
4644 2018-04-20 Michael Meissner <meissner (a] linux.ibm.com>
4645
4646 PR target/85456
4647 * config/rs6000/_powikf2.c: New file. Add support for the
4648 __builtin_powil function when long double is IEEE 128-bit floating
4649 point.
4650 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
4651 __powikf2 support.
4652 (__powikf2): Likewise.
4653 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
4654 (__powikf2_hw): Likewise.
4655 (__powikf2): Likewise.
4656 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
4657 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
4658 (_powikf2-hw.c): Likewise.
4659
4660 2018-04-19 H.J. Lu <hongjiu.lu (a] intel.com>
4661
4662 PR libgcc/85334
4663 * unwind-generic.h (_Unwind_Frames_Increment): New.
4664 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4665 Likewise.
4666 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
4667 count with _Unwind_Frames_Increment.
4668 (_Unwind_ForcedUnwind_Phase2): Likewise.
4669
4670 2018-04-19 H.J. Lu <hongjiu.lu (a] intel.com>
4671
4672 PR libgcc/85379
4673 * config/i386/morestack.S (__stack_split_initialize): Add
4674 _CET_ENDBR.
4675
4676 2018-04-19 Jakub Jelinek <jakub (a] redhat.com>
4677
4678 * configure: Regenerated.
4679
4680 2018-04-18 David Malcolm <dmalcolm (a] redhat.com>
4681
4682 PR jit/85384
4683 * configure: Regenerate.
4684
4685 2018-04-16 Jakub Jelinek <jakub (a] redhat.com>
4686
4687 PR target/84945
4688 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
4689 -Wdangling-else warnings. Mask shift counts to avoid
4690 -Wshift-count-negative and -Wshift-count-overflow false positives.
4691
4692 2018-04-06 Ruslan Bukin <br (a] bsdpad.com>
4693
4694 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
4695
4696 2018-03-29 H.J. Lu <hongjiu.lu (a] intel.com>
4697
4698 PR target/85100
4699 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
4700 (XSTATE_FP): Likewise.
4701 (XSTATE_SSE): Likewise.
4702 (XSTATE_YMM): Likewise.
4703 (XSTATE_OPMASK): Likewise.
4704 (XSTATE_ZMM): Likewise.
4705 (XSTATE_HI_ZMM): Likewise.
4706 (XCR_AVX_ENABLED_MASK): Likewise.
4707 (XCR_AVX512F_ENABLED_MASK): Likewise.
4708 (get_available_features): Enable AVX and AVX512 features only
4709 if their states are supported by OSXSAVE.
4710
4711 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
4712
4713 PR target/85025
4714 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4715 Fix a typo, tmp => 255.
4716
4717 2018-03-20 Jakub Jelinek <jakub (a] redhat.com>
4718
4719 PR target/84945
4720 * config/i386/cpuinfo.h (__cpu_features2): Declare.
4721 * config/i386/cpuinfo.c (__cpu_features2): New variable for
4722 ifndef SHARED only.
4723 (set_feature): Define.
4724 (get_available_features): Use set_feature macro. Set __cpu_features2
4725 to the second word of features ifndef SHARED.
4726
4727 2018-03-15 Julia Koval <julia.koval (a] intel.com>
4728
4729 * config/i386/cpuinfo.c (get_available_features): Add
4730 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
4731 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
4732 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
4733 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
4734 FEATURE_AVX512BITALG.
4735
4736 2018-03-14 Julia Koval <julia.koval (a] intel.com>
4737
4738 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
4739 icelake client and icelake server.
4740
4741 2018-03-06 John David Anglin <danglin (a] gcc.gnu.org>
4742
4743 * config/pa/fptr.c (_dl_read_access_allowed): New.
4744 (__canonicalize_funcptr_for_compare): Use it.
4745
4746 2018-02-28 Jakub Jelinek <jakub (a] redhat.com>
4747
4748 PR debug/83917
4749 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
4750 $asm_hidden_op if visibility ("hidden") attribute works.
4751 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
4752 * config/i386/i386-asm.h: Don't include auto-host.h.
4753 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
4754 PACKAGE_URL): Don't undefine.
4755 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
4756 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
4757 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
4758 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
4759 definition instead of hardcoded .hidden.
4760 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
4761 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
4762 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
4763 (USE_GAS_CFI_DIRECTIVES): Don't define.
4764 * configure: Regenerated.
4765 * config.in: Likewise.
4766
4767 2018-02-26 Jakub Jelinek <jakub (a] redhat.com>
4768
4769 PR debug/83917
4770 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
4771 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
4772 inclusion of auto-target.h and auto-host.h.
4773 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
4774 __GCC_HAVE_DWARF2_CFI_ASM.
4775 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4776 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
4777 cfi_pop): Define.
4778 * config/i386/cygwin.S: Don't include auto-host.h here, just
4779 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
4780 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4781 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
4782 * config/i386/resms64fx.h: Add cfi_* directives.
4783 * config/i386/resms64x.h: Likewise.
4784
4785 2018-02-20 Max Filippov <jcmvbkbc (a] gmail.com>
4786
4787 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4788 .literal_position directive.
4789 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
4790
4791 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
4792
4793 PR target/84148
4794 * configure: Regenerate.
4795
4796 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
4797
4798 PR target/84239
4799 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4800 Include cetintrin.h not x86intrin.h.
4801
4802 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
4803
4804 PR target/84239
4805 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4806 Use new _get_ssp and _inc_ssp intrinsics.
4807
4808 2018-02-02 Julia Koval <julia.koval (a] intel.com>
4809
4810 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4811
4812 2018-01-26 Claudiu Zissulescu <claziss (a] synopsys.com>
4813
4814 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4815 option.
4816 (__divsi3): Use RF16 safe registers.
4817 (__modsi3): Likewise.
4818
4819 2018-01-23 Max Filippov <jcmvbkbc (a] gmail.com>
4820
4821 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4822 (__divsf3): Make NaN return value quiet.
4823 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4824 (__divdf3): Make NaN return value quiet.
4825
4826 2018-01-22 Sebastian Perta <sebastian.perta (a] renesas.com>
4827
4828 * config/rl78/anddi3.S: New assembly file.
4829 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4830
4831 2018-01-22 Sebastian Perta <sebastian.perta (a] renesas.com>
4832
4833 * config/rl78/umindi3.S: New assembly file.
4834 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4835
4836 2018-01-22 Sebastian Perta <sebastian.perta (a] renesas.com>
4837
4838 * config/rl78/smindi3.S: New assembly file.
4839 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4840
4841 2018-01-22 Sebastian Perta <sebastian.perta (a] renesas.com>
4842
4843 * config/rl78/smaxdi3.S: New assembly file.
4844 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4845
4846 2018-01-22 Sebastian Perta <sebastian.perta (a] renesas.com>
4847
4848 * config/rl78/umaxdi3.S: New assembly file.
4849 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
4850
4851 2018-01-21 John David Anglin <danglin (a] gcc.gnu.org>
4852
4853 PR lto/83452
4854 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4855 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
4856
4857 2018-01-13 Richard Sandiford <richard.sandiford (a] linaro.org>
4858
4859 * config/aarch64/value-unwind.h (aarch64_vg): New function.
4860 (DWARF_LAZY_REGISTER_VALUE): Define.
4861 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4862 to provide a fallback register value.
4863
4864 2018-01-08 Michael Meissner <meissner (a] linux.vnet.ibm.com>
4865
4866 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4867 __ibm128, instead of trying to use long double.
4868 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4869 accomidate -mabi=ieeelongdouble multilibs.
4870 (CVT_IBM128_TO_FLOAT128): Likewise.
4871 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4872 the appropriate IBM extended double type.
4873 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4874 (__gcc_qsub): Likewise.
4875 (__gcc_qmul): Likewise.
4876 (__gcc_qdiv): Likewise.
4877 (pack_ldouble): Likewise.
4878 (__gcc_qneg): Likewise.
4879 (__gcc_qeq): Likewise.
4880 (__gcc_qne): Likewise.
4881 (__gcc_qge): Likewise.
4882 (__gcc_qle): Likewise.
4883 (__gcc_stoq): Likewise.
4884 (__gcc_dtoq): Likewise.
4885 (__gcc_itoq): Likewise.
4886 (__gcc_utoq): Likewise.
4887 (__gcc_qunord): Likewise.
4888 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4889 quad-float128.h for the definitions.
4890 (COPYSIGN): Use the f128 version instead of the q version.
4891 (INFINITY): Likewise.
4892 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4893 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4894 quad-float128.h for the definitions.
4895 (COPYSIGN): Use the f128 version instead of the q version.
4896 (INFINITY): Likewise.
4897 (FABS): Likewise.
4898 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4899 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4900 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4901
4902 2018-01-05 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
4903
4904 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4905 configuration.
4906
4907 2018-01-03 Jakub Jelinek <jakub (a] redhat.com>
4908
4909 Update copyright years.
4910
4911 2017-12-12 Kito Cheng <kito.cheng (a] gmail.com>
4912
4913 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4914 * config/riscv/multi3.c: New file.
4915 * config/riscv/multi3.S: Remove.
4916
4917 2017-12-08 Jim Wilson <jimw (a] sifive.com>
4918
4919 * config/riscv/div.S: Use FUNC_* macros.
4920 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4921 * config/riscv/save-restore.S: Likewise.
4922 * config/riscv/riscv-asm.h: New.
4923
4924 2017-11-30 Michael Meissner <meissner (a] linux.vnet.ibm.com>
4925
4926 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4927 * config/rs6000/_divkc3.c (__divkc3): Likewise.
4928
4929 PR libgcc/83112
4930 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4931 correct type for all ifunc resolvers to silence -Wattribute-alias
4932 warnings. Eliminate the forward declaration of the resolver
4933 functions which is no longer needed.
4934 (__subkf3_resolve): Likewise.
4935 (__mulkf3_resolve): Likewise.
4936 (__divkf3_resolve): Likewise.
4937 (__negkf2_resolve): Likewise.
4938 (__eqkf2_resolve): Likewise.
4939 (__nekf2_resolve): Likewise.
4940 (__gekf2_resolve): Likewise.
4941 (__gtkf2_resolve): Likewise.
4942 (__lekf2_resolve): Likewise.
4943 (__ltkf2_resolve): Likewise.
4944 (__unordkf2_resolve): Likewise.
4945 (__extendsfkf2_resolve): Likewise.
4946 (__extenddfkf2_resolve): Likewise.
4947 (__trunckfsf2_resolve): Likewise.
4948 (__trunckfdf2_resolve): Likewise.
4949 (__fixkfsi_resolve): Likewise.
4950 (__fixkfdi_resolve): Likewise.
4951 (__fixunskfsi_resolve): Likewise.
4952 (__fixunskfdi_resolve): Likewise.
4953 (__floatsikf_resolve): Likewise.
4954 (__floatdikf_resolve): Likewise.
4955 (__floatunsikf_resolve): Likewise.
4956 (__floatundikf_resolve): Likewise.
4957 (__extendkftf2_resolve): Likewise.
4958 (__trunctfkf2_resolve): Likewise.
4959
4960 PR libgcc/83103
4961 * config/rs6000/quad-float128.h (TF): Don't define if long double
4962 is IEEE 128-bit floating point.
4963 (TCtype): Define as either TCmode or KCmode, depending on whether
4964 long double is IEEE 128-bit floating point.
4965 (__mulkc3_sw): Add declarations for software/hardware versions of
4966 complex multiply/divide.
4967 (__divkc3_sw): Likewise.
4968 (__mulkc3_hw): Likewise.
4969 (__divkc3_hw): Likewise.
4970 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4971 handlers to switch between using software emulation and hardware
4972 float128 instructions, build the complex multiply/divide functions
4973 for both software and hardware support.
4974 * config/rs6000/_divkc3.c (_divkc3): Likewise.
4975 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4976 (__divkc3_resolve): Likewise.
4977 (__mulkc3): Likewise.
4978 (__divkc3): Likewise.
4979 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4980 (fp128_hw_src): Likewise.
4981 (fp128_hw_static_obj): Likewise.
4982 (fp128_hw_shared_obj): Likewise.
4983 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4984 _mulkc3.c and _divkc3.c, changing the function name.
4985 (_divkc3-hw.c): Likewise.
4986 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4987 and _divkc3-hw.c.
4988
4989 2017-11-26 Julia Koval <julia.koval (a] intel.com>
4990
4991 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4992 * config/i386/cpuinfo.h (processor_subtypes): Add
4993 INTEL_COREI7_CANNONLAKE.
4994
4995 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
4996
4997 PR bootstrap/83015
4998 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4999 parameter.
5000 * config/xtensa/unwind-dw2-xtensa.c: Likewise
5001 * config/ia64/unwind-ia64.c: Add frames parameter.
5002 * unwind-sjlj.c: Likewise.
5003
5004 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
5005
5006 * config/i386/linux-unwind.h: Include
5007 config/i386/shadow-stack-unwind.h.
5008 * config/i386/shadow-stack-unwind.h: New file.
5009 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
5010 pass it to _Unwind_Frames_Extra.
5011 * unwind-generic.h (_Unwind_Frames_Extra): New.
5012 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
5013 parameter. Add local variable frames to count number of frames.
5014 (_Unwind_ForcedUnwind_Phase2): Likewise.
5015 (_Unwind_RaiseException): Add local variable frames to count
5016 number of frames, pass it to _Unwind_RaiseException_Phase2 and
5017 uw_install_context.
5018 (_Unwind_ForcedUnwind): Likewise.
5019 (_Unwind_Resume): Likewise.
5020 (_Unwind_Resume_or_Rethrow): Likewise.
5021
5022 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
5023
5024 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
5025 (CET_FLAGS): New.
5026 * config/i386/morestack.S: Include <cet.h>.
5027 (__morestack_large_model): Add _CET_ENDBR at function entrance.
5028 * config/i386/resms64.h: Include <cet.h>.
5029 * config/i386/resms64f.h: Likewise.
5030 * config/i386/resms64fx.h: Likewise.
5031 * config/i386/resms64x.h: Likewise.
5032 * config/i386/savms64.h: Likewise.
5033 * config/i386/savms64f.h: Likewise.
5034 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
5035 (CRTSTUFF_T_CFLAGS): Likewise.
5036 * configure.ac: Include ../config/cet.m4.
5037 Set and substitute CET_FLAGS.
5038 * configure: Regenerated.
5039
5040 2017-11-14 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
5041
5042 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
5043 renaming.
5044 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
5045 * configure.ac (libgcc_cv_solaris_crts): Likewise.
5046 * configure: Regenerate.
5047
5048 2017-11-07 Tom de Vries <tom (a] codesourcery.com>
5049
5050 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
5051 after "do {} while (0)".
5052
5053 2017-11-07 Tom de Vries <tom (a] codesourcery.com>
5054
5055 PR other/82784
5056 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
5057 semicolon after "do {} while (0)".
5058 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
5059 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
5060 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
5061 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
5062
5063 2017-11-04 Andreas Tobler <andreast (a] gcc.gnu.org>
5064
5065 PR libgcc/82635
5066 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
5067 sysctl to determine whether we're in a trampoline.
5068 Keep the pattern matching method for systems without
5069 KERN_PROC_SIGTRAMP sysctl.
5070
5071 2017-11-03 Cupertino Miranda <cmiranda (a] synopsys.com>
5072 Vineet Gupta <vgupta (a] synopsys.com>
5073
5074 * config.host (arc*-*-linux*): Set md_unwind_header variable.
5075 * config/arc/linux-unwind-reg.def: New file.
5076 * config/arc/linux-unwind-reg.h: Likewise.
5077
5078 2017-10-23 Sebastian Perta <sebastian.perta (a] renesas.com>
5079
5080 * config/rl78/subdi3.S: New assembly file.
5081 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
5082
5083 2017-10-13 Sebastian Perta <sebastian.perta (a] renesas.com>
5084
5085 * config/rl78/adddi3.S: New assembly file.
5086 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
5087
5088 2017-10-13 Jakub Jelinek <jakub (a] redhat.com>
5089
5090 PR target/82274
5091 * libgcc2.c (__mulvDI3): If both operands have
5092 the same highpart of -1 and the topmost bit of lowpart is 0,
5093 multiplication overflows even if both lowparts are 0.
5094
5095 2017-09-28 James Bowman <james.bowman (a] ftdichip.com>
5096
5097 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
5098
5099 2017-09-26 Joseph Myers <joseph (a] codesourcery.com>
5100
5101 * config/microblaze/crti.S, config/microblaze/crtn.S,
5102 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
5103 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
5104 config/microblaze/mulsi3.S,
5105 config/microblaze/stack_overflow_exit.S,
5106 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
5107 config/pa/milli64.S: Add .note.GNU-stack section.
5108
5109 2017-09-23 Daniel Santos <daniel.santos (a] pobox.com>
5110
5111 * configure.ac: Add Check for HAVE_AS_AVX.
5112 * config.in: Regenerate.
5113 * configure: Likewise.
5114 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
5115 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
5116 Correct out-of-date comments.
5117
5118 2017-09-20 Sebastian Peryt <sebastian.peryt (a] intel.com>
5119
5120 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
5121 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
5122
5123 2017-09-17 Daniel Santos <daniel.santos (a] pobox.com>
5124
5125 * config/i386/i386-asm.h (PASTE2): New macro.
5126 (ASMNAME): Modify to use PASTE2.
5127 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
5128 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
5129 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
5130 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
5131 * config/i386/resms64f.S: Likewise.
5132 * config/i386/resms64fx.S: Likewise.
5133 * config/i386/resms64x.S: Likewise.
5134 * config/i386/savms64.S: Likewise.
5135 * config/i386/savms64f.S: Likewise.
5136 * config/i386/avx_resms64.S: New file that only defines a macro and
5137 includes it's corresponding header file.
5138 * config/i386/avx_resms64f.S: Likewise.
5139 * config/i386/avx_resms64fx.S: Likewise.
5140 * config/i386/avx_resms64x.S: Likewise.
5141 * config/i386/avx_savms64.S: Likewise.
5142 * config/i386/avx_savms64f.S: Likewise.
5143 * config/i386/sse_resms64.S: Likewise.
5144 * config/i386/sse_resms64f.S: Likewise.
5145 * config/i386/sse_resms64fx.S: Likewise.
5146 * config/i386/sse_resms64x.S: Likewise.
5147 * config/i386/sse_savms64.S: Likewise.
5148 * config/i386/sse_savms64f.S: Likewise.
5149 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
5150
5151 2017-09-01 Olivier Hainque <hainque (a] adacore.com>
5152 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
5153
5154 2017-08-31 Olivier Hainque <hainque (a] adacore.com>
5155
5156 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
5157 match as powerpc-wrs-vxworks*.
5158
5159 2017-08-07 Jonathan Yong <10walls (a] gmail.com>
5160
5161 * config.host (*-cygwin): Include file from mingw
5162 config/i386/enable-execute-stack-mingw32.c
5163
5164 2017-08-01 Jerome Lambourg <lambourg (a] adacore.com>
5165 Doug Rupp <rupp (a] adacore.com>
5166 Olivier Hainque <hainque (a] adacore.com>
5167
5168 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
5169 as well as arm-wrs-vxworks.
5170 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
5171 LIB2ADDEH.
5172 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
5173 __exidx_start and __exidx_end for downloadable modules.
5174
5175 2017-08-01 Olivier Hainque <hainque (a] adacore.com>
5176
5177 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
5178 * config/t-vxworks7: Likewise.
5179
5180 2017-08-01 Olivier Hainque <hainque (a] adacore.com>
5181
5182 * config/t-vxworks: Instead of redefining LIB2ADD,
5183 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
5184
5185 2017-07-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
5186
5187 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
5188
5189 2017-07-24 Daniel Santos <daniel.santos (a] pobox.com>
5190
5191 PR testsuite/80759
5192 * config.host: include i386/t-msabi for darwin and solaris.
5193 * config/i386/i386-asm.h
5194 (ELFFN): Rename to FN_TYPE.
5195 (FN_SIZE): New macro.
5196 (FN_HIDDEN): Likewise.
5197 (ASMNAME): Likewise.
5198 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
5199 .globl.
5200 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
5201 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
5202 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
5203 .macro.
5204 * config/i386/resms64f.S: Likewise.
5205 * config/i386/resms64fx.S: Likewise.
5206 * config/i386/resms64x.S: Likewise.
5207 * config/i386/savms64.S: Likewise.
5208 * config/i386/savms64f.S: Likewise.
5209
5210 2017-07-19 John Marino <gnugcc (a] marino.st>
5211
5212 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
5213
5214 2017-07-12 Michael Meissner <meissner (a] linux.vnet.ibm.com>
5215
5216 PR target/81193
5217 * configure.ac (PowerPC float128 hardware support): Test whether
5218 we can use __builtin_cpu_supports before enabling the ifunc
5219 handler.
5220 * configure: Regenerate.
5221
5222 2017-07-10 Vineet Gupta <vgupta (a] synopsys.com>
5223
5224 * config.host: Remove uclibc from arc target spec.
5225
5226 2017-07-09 Krister Walfridsson <krister.walfridsson (a] gmail.com>
5227
5228 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
5229
5230 2017-07-07 Peter Bergner <bergner (a] vnet.ibm.com>
5231
5232 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
5233 (have_ieee_hw_p): Delete function.
5234 (SW_OR_HW) Use __builtin_cpu_supports().
5235
5236 2017-07-06 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
5237
5238 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
5239
5240 2017-07-03 Olivier Hainque <hainque (a] adacore.com>
5241
5242 * config/t-vxworks7: New file, really.
5243
5244 2017-06-28 Joseph Myers <joseph (a] codesourcery.com>
5245
5246 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
5247 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
5248 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
5249 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
5250 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
5251 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
5252 config/pa/linux-unwind.h (pa32_fallback_frame_state),
5253 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
5254 config/sh/linux-unwind.h (sh_fallback_frame_state),
5255 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
5256 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
5257 ucontext_t instead of struct ucontext.
5258
5259 2017-06-27 Jerome Lambourg <lambourg (a] adacore.com>
5260
5261 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
5262 (x86_64-wrs-vxworks7): Likewise.
5263
5264 2017-06-27 Olivier Hainque <hainque (a] adacore.com>
5265
5266 * config/t-vxworks7: New file.
5267 * config.host (*-*-vxworks7): Use it.
5268
5269 2017-06-22 Matt Turner <mattst88 (a] gmail.com>
5270
5271 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
5272 skylake case.
5273
5274 2017-06-21 Richard Biener <rguenther (a] suse.de>
5275
5276 PR gcov-profile/81080
5277 * configure.ac: Add AC_SYS_LARGEFILE.
5278 * libgcov.h: Include auto-target.h before tsystem.h to pick
5279 up _FILE_OFFSET_BITS which might differ for multilibs.
5280 * config.in: Regenerate.
5281 * configure: Likewise.
5282
5283 2017-06-16 Richard Earnshaw <rearnsha (a] arm.com>
5284
5285 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
5286
5287 2017-06-09 Martin Liska <mliska (a] suse.cz>
5288
5289 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
5290 Reset __gcov_indirect_call_callee to NULL.
5291
5292 2017-06-08 Olivier Hainque <hainque (a] adacore.com>
5293
5294 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
5295 the set of -I options, support for direct inclusions of net/uio.h
5296 by VxWorks header files via ioLib.h.
5297
5298 2017-06-07 Tony Reix <tony.reix (a] atos.net>
5299 Matthieu Sarter <matthieu.sarter.external (a] atos.net>
5300 David Edelsohn <dje.gcc (a] gmail.com>
5301
5302 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
5303 unconditionally.
5304 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
5305 AIX 7.2 support.
5306
5307 2017-06-02 Olivier Hainque <hainque (a] adacore.com>
5308
5309 * config/vxlib.c (__gthread_once): Add missing value to
5310 return statement.
5311
5312 2017-05-30 Olivier Hainque <hainque (a] adacore.com>
5313
5314 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
5315 dollar sign before $(MULTIDIR).
5316
5317 2017-05-26 Richard Henderson <rth (a] redhat.com>
5318
5319 PR libgcc/80037
5320 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
5321
5322 2017-05-17 Andreas Tobler <andreast (a] gcc.gnu.org>
5323
5324 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
5325 _Unwind_SetIP available as functions for arm*-*-freebsd*.
5326 * config/arm/unwind-arm.c: Implement the above.
5327
5328 2017-05-15 Adhemerval Zanella <adhemerval.zanella (a] linaro.org>
5329
5330 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
5331 section for a non-executable stack.
5332
5333 2017-05-14 Krister Walfridsson <krister.walfridsson (a] gmail.com>
5334
5335 PR target/80600
5336 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
5337
5338 2017-05-14 Daniel Santos <daniel.santos (a] pobox.com>
5339
5340 * config.host: Add i386/t-msabi to i386/t-linux file list.
5341 * config/i386/i386-asm.h: New file.
5342 * config/i386/resms64.S: New file.
5343 * config/i386/resms64f.S: New file.
5344 * config/i386/resms64fx.S: New file.
5345 * config/i386/resms64x.S: New file.
5346 * config/i386/savms64.S: New file.
5347 * config/i386/savms64f.S: New file.
5348 * config/i386/t-msabi: New file.
5349
5350 2017-05-09 Andreas Tobler <andreast (a] gcc.gnu.org>
5351
5352 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
5353 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
5354
5355 2017-05-05 Joshua Conner <joshconner (a] google.com>
5356
5357 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
5358 pc-relative indirect handling for fuchsia.
5359 * config/t-slibgcc-fuchsia: New file.
5360 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
5361 x86_64-*-fuchsia*): Add definitions.
5362
5363 2017-04-19 Martin Liska <mliska (a] suse.cz>
5364
5365 PR gcov-profile/80435
5366 * Makefile.in: Install gcov.h.
5367 * gcov.h: New file.
5368 * libgcov.h: Use the header and make __gcov_flush publicly
5369 visible.
5370
5371 2017-04-18 Martin Liska <mliska (a] suse.cz>
5372
5373 PR gcov-profile/78783
5374 * libgcov-driver.c (gcov_get_filename): New function.
5375
5376 2017-04-07 Jeff Law <law (a] redhat.com>
5377
5378 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
5379 target makefile fragment.
5380 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
5381
5382 2017-04-07 Alan Modra <amodra (a] gmail.com>
5383
5384 PR target/45053
5385 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
5386
5387 2017-04-03 Jonathan Wakely <jwakely (a] redhat.com>
5388
5389 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
5390
5391 2017-03-27 Claudiu Zissulescu <claziss (a] synopsys.com>
5392
5393 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
5394
5395 2017-03-10 John Marino <gnugcc (a] marino.st>
5396
5397 * config/aarch64/freebsd-unwind.h: New file.
5398 * config.host: Add aarch64-*-freebsd unwinder.
5399
5400 2017-03-10 Segher Boessenkool <segher (a] kernel.crashing.org>
5401
5402 * config/rs6000/crtrestvr.s: Use .machine altivec.
5403 * config/rs6000/crtsavevr.s: Ditto.
5404
5405 2017-03-10 Segher Boessenkool <segher (a] kernel.crashing.org>
5406
5407 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
5408 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
5409 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
5410 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
5411 * configure: Regenerate.
5412 * config.in: Regenerate.
5413
5414 2017-03-02 Jonathan Yong <10walls (a] gmail.com>
5415
5416 * config/i386/gthr-win32.h: Define NOGDI before
5417 windows.h include to prevent w32api CC_NONE macro
5418 clash with libgfortran.
5419
5420 2017-03-02 Jonathan Yong <10walls (a] gmail.com>
5421
5422 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
5423
5424 2017-02-16 Andrew Pinski <apinski (a] cavium.com>
5425
5426 * config/aarch64/value-unwind.h: New file.
5427 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
5428 to tm_file.
5429
5430 2017-02-06 Palmer Dabbelt <palmer (a] dabbelt.com>
5431
5432 * config.host: Add RISC-V tuples.
5433 * config/riscv/atomic.c: New file.
5434 * config/riscv/crti.S: Likewise.
5435 * config/riscv/crtn.S: Likewise.
5436 * config/riscv/div.S: Likewise.
5437 * config/riscv/linux-unwind.h: Likewise.
5438 * config/riscv/muldi3.S: Likewise.
5439 * config/riscv/multi3.S: Likewise.
5440 * config/riscv/save-restore.S: Likewise.
5441 * config/riscv/sfp-machine.h: Likewise.
5442 * config/riscv/t-elf: Likewise.
5443 * config/riscv/t-elf32: Likewise.
5444 * config/riscv/t-elf64: Likewise.
5445 * config/riscv/t-softfp32: Likewise.
5446 * config/riscv/t-softfp64: Likewise.
5447
5448 2017-01-24 Jakub Jelinek <jakub (a] redhat.com>
5449
5450 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
5451 /* FALLTHRU */ comments.
5452
5453 2017-01-21 Gerald Pfeifer <gerald (a] pfeifer.com>
5454
5455 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
5456
5457 2017-01-20 Jiong Wang <jiong.wang (a] arm.com>
5458
5459 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
5460 * unwind-dw2.c (execute_cfa_program): Only multiplexing
5461 DW_CFA_GNU_window_save for AArch64 and LP64.
5462
5463 2017-01-20 Jiong Wang <jiong.wang (a] arm.com>
5464
5465 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
5466
5467 2017-01-19 Jiong Wang <jiong.wang (a] arm.com>
5468
5469 * config/aarch64/aarch64-unwind.h: New file.
5470 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
5471 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
5472 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
5473 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
5474 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
5475 (aarch64_post_extract_frame_addr): New function.
5476 (aarch64_post_frob_eh_handler_addr): New function.
5477 (aarch64_frob_update_context): New function.
5478 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
5479 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
5480 aarch64*-*-freebsd*):
5481 Initialize md_unwind_header to include aarch64-unwind.h.
5482 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
5483 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
5484 __aarch64__.
5485 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
5486 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
5487 (uw_frob_return_addr): New function.
5488 (uw_install_context): Use uw_frob_return_addr.
5489
5490 2017-01-17 Jakub Jelinek <jakub (a] redhat.com>
5491
5492 PR other/79046
5493 * configure.ac: Add GCC_BASE_VER.
5494 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
5495 version from BASE-VER file.
5496 * configure: Regenerated.
5497
5498 2017-01-13 Joe Seymour <joe.s (a] somniumtech.com>
5499
5500 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
5501 libmul_f5.a): Filter archived prerequisites.
5502
5503 2017-01-10 Andrew Senkevich <andrew.senkevich (a] intel.com>
5504
5505 * config/i386/cpuinfo.h (processor_features): Add
5506 FEATURE_AVX512VPOPCNTDQ.
5507 * config/i386/cpuinfo.c (get_available_features): Habdle new
5508 feature.
5509
5510 2017-01-04 Joseph Myers <joseph (a] codesourcery.com>
5511
5512 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
5513 payload if [__mips_nan2008].
5514
5515 2017-01-04 Alan Modra <amodra (a] gmail.com>
5516
5517 * Makefile.in (configure_deps): Update.
5518 * configure: Regenerate.
5519
5520 2017-01-01 Jakub Jelinek <jakub (a] redhat.com>
5521
5522 Update copyright years.
5523
5524 2016-12-19 Krister Walfridsson <krister.walfridsson (a] gmail.com>
5525
5526 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
5527 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
5528 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
5529
5530 2016-12-17 Matthias Klose <doko (a] ubuntu.com>
5531
5532 * config/arc/gmon: Remove empty directory.
5533
5534 2016-12-16 Claudiu Zissulescu <claziss (a] synopsys.com>
5535
5536 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
5537 crtgend.
5538 (arc*-*-elf*): Likewise.
5539 * config/arc/t-arc: Remove old gmon lib targets.
5540 * config/arc/crtg.S: Remove.
5541 * config/arc/crtgend.S: Likewise.
5542 * config/arc/gmon/atomic.h: Likewise.
5543 * config/arc/gmon/auxreg.h: Likewise.
5544 * config/arc/gmon/dcache_linesz.S: Likewise.
5545 * config/arc/gmon/gmon.c: Likewise.
5546 * config/arc/gmon/machine-gmon.h: Likewise.
5547 * config/arc/gmon/mcount.c: Likewise.
5548 * config/arc/gmon/prof-freq-stub.S: Likewise.
5549 * config/arc/gmon/prof-freq.c: Likewise.
5550 * config/arc/gmon/profil.S: Likewise.
5551 * config/arc/gmon/sys/gmon.h: Likewise.
5552 * config/arc/gmon/sys/gmon_out.h: Likewise.
5553 * config/arc/t-arc-newlib: Likewise.
5554 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
5555
5556 2016-12-12 George Spelvin <linux (a] sciencehorizons.net>
5557
5558 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
5559
5560 2016-12-12 George Spelvin <linux (a] sciencehorizons.net>
5561
5562 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
5563 R16 instead of push + pop.
5564 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
5565
5566 2016-12-10 Krister Walfridsson <krister.walfridsson (a] gmail.com>
5567
5568 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
5569 tmake_file.
5570
5571 2016-12-05 Cupertino Miranda <cmiranda (a] synopsys.com>
5572
5573 * config.host (arc*-*-linux-uclibc*): Use default extra
5574 objects. Include linux-android header.
5575 * config/arc/crti.S (_init): Declare symbol as function.
5576 (_fini): Likewise.
5577
5578 2016-12-03 Thomas Koenig <tkoenig (a] gcc.gnu.org>
5579
5580 PR fortran/78379
5581 * config/i386/cpuinfo.c: Move denums for processor vendors,
5582 processor type, processor subtypes and declaration of
5583 struct __processor_model into
5584 * config/i386/cpuinfo.h: New header file.
5585
5586 2016-12-02 Andre Vieira <andre.simoesdiasvieira (a] arm.com>
5587 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
5588
5589 * config/arm/cmse_nonsecure_call.S: New.
5590 * config/arm/t-arm: Compile cmse_nonsecure_call.S
5591
5592 2016-12-02 Andre Vieira <andre.simoesdiasvieira (a] arm.com>
5593 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
5594
5595 * config/arm/t-arm (HAVE_CMSE): New.
5596 * config/arm/cmse.c: New.
5597
5598 2016-11-28 Thomas Petazzoni <thomas.petazzoni (a] free-electrons.com>
5599
5600 PR gcc/74748
5601 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
5602 use generic linker version information on Blackfin.
5603
5604 PR gcc/74748
5605 * libgcc/mkmap-symver.awk: add support for skip_underscore
5606
5607 2016-11-27 Iain Sandoe <iain (a] codesourcery.com>
5608 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
5609
5610 PR target/67710
5611 * config/t-darwin: Default builds to 10.5 codegen.
5612
5613 2016-11-24 James Greenhalgh <james.greenhalgh (a] arm.com>
5614
5615 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
5616 (_FP_NANSIGN_H): Likewise.
5617 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
5618 (softfp_truncations): Add tfhf.
5619 (softfp_extras): Add required conversion functions.
5620
5621 2016-11-23 James Greenhalgh <james.greenhalgh (a] arm.com>
5622 Matthew Wahab <matthew.wahab (a] arm.com>
5623
5624 * config/arm/fp16.c (binary64): New.
5625 (__gnu_d2h_internal): New.
5626 (__gnu_d2h_ieee): New.
5627 (__gnu_d2h_alternative): New.
5628
5629 2016-11-23 James Greenhalgh <james.greenhalgh (a] arm.com>
5630 Matthew Wahab <matthew.wahab (a] arm.com>
5631
5632 * config/arm/fp16.c (struct format): New.
5633 (binary32): New.
5634 (__gnu_float2h_internal): New. Body moved from
5635 __gnu_f2h_internal and generalize.
5636 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
5637 Call it with binary32.
5638
5639 2016-11-23 James Greenhalgh <james.greenhalgh (a] arm.com>
5640
5641 * soft-fp/extendhftf2.c: Update from glibc.
5642 * soft-fp/fixhfti.c: Likewise.
5643 * soft-fp/fixunshfti.c: Likewise.
5644 * soft-fp/floattihf.c: Likewise.
5645 * soft-fp/floatuntihf.c: Likewise.
5646 * soft-fp/half.h: Likewise.
5647 * soft-fp/trunctfhf2.c: Likewise.
5648
5649 2016-11-20 Marc Glisse <marc.glisse (a] inria.fr>
5650
5651 PR libgcc/77813
5652 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
5653 __TMC_END__ behind a passthrough asm.
5654
5655 2016-11-18 Walter Lee <walt (a] tilera.com>
5656
5657 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
5658
5659 2016-11-17 Andrew Senkevich <andrew.senkevich (a] intel.com>
5660
5661 * config/i386/cpuinfo.c (processor_features): Add
5662 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
5663
5664 2016-11-17 Claudiu Zissulescu <claziss (a] synopsys.com>
5665
5666 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
5667 (__ARC_NORM__): Use instead ARC_OPTFPE.
5668 * config/arc/fp-hack.h: Likewise.
5669 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
5670 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
5671
5672 2016-11-16 Alexander Monakov <amonakov (a] ispras.ru>
5673
5674 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
5675 * config/nvptx/mgomp.c: New file.
5676 * config/nvptx/t-nvptx: Add mgomp.c
5677
5678 2016-11-16 Waldemar Brodkorb <wbx (a] openadk.org>
5679
5680 PR libgcc/68468
5681 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
5682
5683 2016-11-15 Claudiu Zissulescu <claziss (a] synopsys.com>
5684
5685 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
5686 of checking for cpus.
5687 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
5688 (__modsi3, __clzsi2): Likewise.
5689
5690 2016-11-11 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
5691
5692 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
5693 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
5694 * config/i386/t-cpuinfo-static: New.
5695
5696 2016-11-03 Martin Liska <mliska (a] suse.cz>
5697
5698 * libgcov-profiler.c (__gcov_time_profiler): Remove.
5699 (__gcov_time_profiler_atomic): Likewise.
5700
5701 2016-11-03 Bernd Edlinger <bernd.edlinger (a] hotmail.de>
5702
5703 PR libgcc/78067
5704 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
5705 count_leading_zeros.
5706
5707 2016-11-02 Uros Bizjak <ubizjak (a] gmail.com>
5708
5709 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
5710 * libgcc2.c (__divmoddi4): New function.
5711 * libgcc2.h (__divmoddi4): Declare.
5712 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
5713 and __PFX_divmodti4.
5714
5715 2016-10-24 Florian Weimer <fweimer (a] redhat.com>
5716
5717 PR libgcc/78064
5718 * unwind-c.c: Include auto-target.h.
5719
5720 2016-10-19 John David Anglin <danglin (a] gcc.gnu.org>
5721
5722 * config/pa/pa64-hpux-lib.h: New file.
5723 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
5724 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
5725 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
5726 hppa*64*-*-hpux11*.
5727
5728 2016-10-18 Max Filippov <jcmvbkbc (a] gmail.com>
5729
5730 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5731 definition.
5732 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5733 definition.
5734 * config/xtensa/t-windowed (LIB2ADDEH): Use
5735 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
5736 or xtensa/t-linux.
5737
5738 2016-10-18 Ding-Kai Chen <dkchen (a] cadence.com>
5739
5740 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
5741 __ieee754_sqrt): New functions.
5742 (__divdf3): Add implementation with new FPU instructions under
5743 #if XCHAL_HAVE_DFP_DIV.
5744 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
5745 __ieee754_sqrtf): New functions.
5746 (__divsf3): Add implementation with new FPU instructions under
5747 #if XCHAL_HAVE_FP_DIV.
5748 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
5749 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
5750
5751 2016-10-13 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
5752
5753 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
5754 equivalent.
5755 * config/tilepro/atomic.c: Likewise and stop casting model to
5756 enum memmodel.
5757
5758 2016-10-10 Joseph Myers <joseph (a] codesourcery.com>
5759
5760 PR target/77586
5761 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
5762 soft-fp.
5763
5764 2016-10-10 Andreas Tobler <andreast (a] gcc.gnu.org>
5765
5766 * config.host: Add support for aarch64-*-freebsd*.
5767
5768 2016-10-05 Andreas Schwab <schwab (a] suse.de>
5769
5770 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
5771 (.section .init_array): Don't call __do_jv_register_classes.
5772 (.section .init): Likewise.
5773
5774 2016-10-04 Jakub Jelinek <jakub (a] redhat.com>
5775
5776 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
5777 (__JCR_LIST__): Remove.
5778 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
5779 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
5780 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
5781 * config/ia64/crtend.S (__JCR_END__): Remove.
5782 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
5783 conditionals.
5784 (__JCR_LIST__, __JCR_END__): Remove.
5785 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
5786 (__do_global_ctors_1): Likewise.
5787
5788 2015-09-28 Uros Bizjak <ubizjak (a] gmail.com>
5789
5790 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
5791 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
5792
5793 2016-09-27 Martin Liska <mliska (a] suse.cz>
5794
5795 PR gcov-profile/7970
5796 PR gcov-profile/16855
5797 PR gcov-profile/44779
5798 * libgcov-driver.c (__gcov_init): Do not register a atexit
5799 handler.
5800 (__gcov_exit): Rename from gcov_exit.
5801 * libgcov.h (__gcov_exit): Declare.
5802
5803 2016-09-27 Martin Liska <mliska (a] suse.cz>
5804
5805 PR bootstrap/77749
5806 * Makefile.in: Remove _gcov_merge_delta.
5807 * libgcov-merge.c (void __gcov_merge_delta): Remove.
5808 * libgcov-util.c (__gcov_delta_counter_op): Remove.
5809 * libgcov.h: Remove declaration of __gcov_merge_delta.
5810
5811 2016-09-21 Eric Botcazou <ebotcazou (a] adacore.com>
5812
5813 * configure.ac: Do not create links, only substitute the filenames.
5814 * configure: Regenerate.
5815 * Makefile.in: Assign the substitution results to variables.
5816 (LIBGCC_LINKS): Define.
5817 (enable-execute-stack.c): New rule.
5818 (unwind.h): Likewise.
5819 (md-unwind-support.h): Likewise.
5820 (sfp-machine.h): Likewise.
5821 (gthr-default.h): Likewise.
5822 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5823 unwind.h as prerequisite of install-unwind_h-forbuild.
5824
5825 2016-09-16 Jakub Jelinek <jakub (a] redhat.com>
5826
5827 PR libgcc/71744
5828 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5829 is not the primary registry and atomics are available.
5830 (any_objects_registered): New variable.
5831 (__register_frame_info_bases, __register_frame_info_table_bases):
5832 Atomically store 1 to any_objects_registered after registering first
5833 unwind info.
5834 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5835
5836 2016-09-09 James Greenhalgh <james.greenhalgh (a] arm.com>
5837
5838 PR target/63250
5839 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5840 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5841 (HFtype): Likewise.
5842 (HCtype): Likewise.
5843 (__divhc3): Likewise.
5844 (__mulhc3): Likewise.
5845 * libgcc2.c: Support _mulhc3 and _divhc3.
5846
5847 2016-09-07 Joseph Myers <joseph (a] codesourcery.com>
5848
5849 PR libgcc/77519
5850 * libgcc2.c (NOTRUNC): Invert settings.
5851
5852 2016-09-06 Martin Liska <mliska (a] suse.cz>
5853
5854 PR gcov-profile/77378
5855 PR gcov-profile/77466
5856 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5857 conditionaly enable/disable *_atomic functions.
5858
5859 2016-08-26 Joseph Myers <joseph (a] codesourcery.com>
5860
5861 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5862 where not already enabled.
5863
5864 2016-08-25 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
5865
5866 * config/mips/linux-unwind.h: Use sys/syscall.h.
5867
5868 2016-08-16 Joseph Myers <joseph (a] codesourcery.com>
5869
5870 PR libgcc/77265
5871 * soft-fp/adddf3.c: Update from glibc.
5872 * soft-fp/addsf3.c: Likewise.
5873 * soft-fp/addtf3.c: Likewise.
5874 * soft-fp/divdf3.c: Likewise.
5875 * soft-fp/divsf3.c: Likewise.
5876 * soft-fp/divtf3.c: Likewise.
5877 * soft-fp/double.h: Likewise.
5878 * soft-fp/eqdf2.c: Likewise.
5879 * soft-fp/eqsf2.c: Likewise.
5880 * soft-fp/eqtf2.c: Likewise.
5881 * soft-fp/extenddftf2.c: Likewise.
5882 * soft-fp/extended.h: Likewise.
5883 * soft-fp/extendsfdf2.c: Likewise.
5884 * soft-fp/extendsftf2.c: Likewise.
5885 * soft-fp/extendxftf2.c: Likewise.
5886 * soft-fp/fixdfdi.c: Likewise.
5887 * soft-fp/fixdfsi.c: Likewise.
5888 * soft-fp/fixdfti.c: Likewise.
5889 * soft-fp/fixsfdi.c: Likewise.
5890 * soft-fp/fixsfsi.c: Likewise.
5891 * soft-fp/fixsfti.c: Likewise.
5892 * soft-fp/fixtfdi.c: Likewise.
5893 * soft-fp/fixtfsi.c: Likewise.
5894 * soft-fp/fixtfti.c: Likewise.
5895 * soft-fp/fixunsdfdi.c: Likewise.
5896 * soft-fp/fixunsdfsi.c: Likewise.
5897 * soft-fp/fixunsdfti.c: Likewise.
5898 * soft-fp/fixunssfdi.c: Likewise.
5899 * soft-fp/fixunssfsi.c: Likewise.
5900 * soft-fp/fixunssfti.c: Likewise.
5901 * soft-fp/fixunstfdi.c: Likewise.
5902 * soft-fp/fixunstfsi.c: Likewise.
5903 * soft-fp/fixunstfti.c: Likewise.
5904 * soft-fp/floatdidf.c: Likewise.
5905 * soft-fp/floatdisf.c: Likewise.
5906 * soft-fp/floatditf.c: Likewise.
5907 * soft-fp/floatsidf.c: Likewise.
5908 * soft-fp/floatsisf.c: Likewise.
5909 * soft-fp/floatsitf.c: Likewise.
5910 * soft-fp/floattidf.c: Likewise.
5911 * soft-fp/floattisf.c: Likewise.
5912 * soft-fp/floattitf.c: Likewise.
5913 * soft-fp/floatundidf.c: Likewise.
5914 * soft-fp/floatundisf.c: Likewise.
5915 * soft-fp/floatunditf.c: Likewise.
5916 * soft-fp/floatunsidf.c: Likewise.
5917 * soft-fp/floatunsisf.c: Likewise.
5918 * soft-fp/floatunsitf.c: Likewise.
5919 * soft-fp/floatuntidf.c: Likewise.
5920 * soft-fp/floatuntisf.c: Likewise.
5921 * soft-fp/floatuntitf.c: Likewise.
5922 * soft-fp/gedf2.c: Likewise.
5923 * soft-fp/gesf2.c: Likewise.
5924 * soft-fp/getf2.c: Likewise.
5925 * soft-fp/ledf2.c: Likewise.
5926 * soft-fp/lesf2.c: Likewise.
5927 * soft-fp/letf2.c: Likewise.
5928 * soft-fp/muldf3.c: Likewise.
5929 * soft-fp/mulsf3.c: Likewise.
5930 * soft-fp/multf3.c: Likewise.
5931 * soft-fp/negdf2.c: Likewise.
5932 * soft-fp/negsf2.c: Likewise.
5933 * soft-fp/negtf2.c: Likewise.
5934 * soft-fp/op-1.h: Likewise.
5935 * soft-fp/op-2.h: Likewise.
5936 * soft-fp/op-4.h: Likewise.
5937 * soft-fp/op-8.h: Likewise.
5938 * soft-fp/op-common.h: Likewise.
5939 * soft-fp/quad.h: Likewise.
5940 * soft-fp/single.h: Likewise.
5941 * soft-fp/soft-fp.h: Likewise.
5942 * soft-fp/subdf3.c: Likewise.
5943 * soft-fp/subsf3.c: Likewise.
5944 * soft-fp/subtf3.c: Likewise.
5945 * soft-fp/truncdfsf2.c: Likewise.
5946 * soft-fp/trunctfdf2.c: Likewise.
5947 * soft-fp/trunctfsf2.c: Likewise.
5948 * soft-fp/trunctfxf2.c: Likewise.
5949 * soft-fp/unorddf2.c: Likewise.
5950 * soft-fp/unordsf2.c: Likewise.
5951 * soft-fp/unordtf2.c: Likewise.
5952
5953 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet (a] gmail.com>
5954
5955 PR gcov-profile/67097
5956 * libgcov-util.c (gcov_profile_merge): Skip missing files.
5957
5958 2016-08-10 Martin Liska <mliska (a] suse.cz>
5959
5960 PR gcov-profile/58306
5961 * Makefile.in: New functions (modules) are added.
5962 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5963 function.
5964 (__gcov_pow2_profiler_atomic): New function.
5965 (__gcov_one_value_profiler_body): New argument is instroduced.
5966 (__gcov_one_value_profiler): Call with the new argument.
5967 (__gcov_one_value_profiler_atomic): Likewise.
5968 (__gcov_indirect_call_profiler_v2): Likewise.
5969 (__gcov_time_profiler_atomic): New function.
5970 (__gcov_average_profiler_atomic): Likewise.
5971 (__gcov_ior_profiler_atomic): Likewise.
5972 * libgcov.h: Declare the aforementioned functions.
5973
5974 2016-08-09 Martin Liska <mliska (a] suse.cz>
5975
5976 * libgcov-util.c: Fix typo and GNU coding style.
5977
5978 2016-08-09 Martin Liska <mliska (a] suse.cz>
5979
5980 * Makefile.in: Remove __gcov_indirect_call_profiler.
5981 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5982 function.
5983 * libgcov.h: And the declaration of the function.
5984
5985 2016-08-09 Martin Liska <mliska (a] suse.cz>
5986
5987 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5988 power of two.
5989
5990 2016-07-29 Bill Schmidt <wschmidt (a] linux.vnet.ibm.com>
5991
5992 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5993 * config/rs6000/_mulkc3.c: Likewise.
5994
5995 2016-07-29 Georg-Johann Lay <avr (a] gjlay.de>
5996
5997 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5998 zero_reg as previous call to __umulhisi3 already cleared it.
5999
6000 2016-07-21 Aurelien Jarno <aurelien (a] aurel32.net>
6001
6002 PR target/59833
6003 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
6004
6005 2016-07-19 Nick Clifton <nickc (a] redhat.com>
6006
6007 * config.host (m32r): Add m32r/t-m32r to tmake_file.
6008 Add crtinit.o and crtfini.o to extra_parts.
6009
6010 2016-07-12 Bill Schmidt <wschmidt (a] linux.vnet.ibm.com>
6011
6012 * config/rs6000/_divkc3.c: New.
6013 * config/rs6000/_mulkc3.c: New.
6014 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
6015 and _divkc3.
6016 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
6017 fp128_ppc_funcs.
6018
6019 2016-07-11 Hale Wang <hale.wang (a] arm.com>
6020 Andre Vieira <andre.simoesdiasvieira (a] arm.com>
6021
6022 * config/arm/lib1funcs.S: Add new wrapper.
6023
6024 2016-07-07 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
6025
6026 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
6027
6028 2016-07-07 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
6029
6030 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
6031 and ARMv5t* rather than for a fixed list of architectures.
6032
6033 2016-07-07 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
6034
6035 * config/arm/bpabi-v6m.S: Clarify what architectures is the
6036 implementation suitable for.
6037 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
6038 for all Thumb-1 only targets.
6039 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
6040 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
6041 __ARM_ARCH_6M__.
6042 (EQUIV): Likewise.
6043 (ARM_FUNC_ALIAS): Likewise.
6044 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
6045 version.
6046 (modsi3): Likewise.
6047 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
6048 (clzdi2): Likewise.
6049 (ctzsi2): Likewise.
6050 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
6051 __ARM_ARCH_6M__ in guard for checking whether it is defined.
6052 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
6053 __ARM_ARCH_6M__ and add comment to indicate the connection between
6054 this condition and the one in gcc/config/arm/elf.h.
6055 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
6056 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
6057 * config/arm/t-softfp: Likewise.
6058
6059 2016-07-06 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
6060
6061 * libgcc2.c (SYMBOL__MAIN): Remove checks for
6062 CTOR_LISTS_DEFINED_EXTERNALLY.
6063
6064 2016-06-28 Walter Lee <walt (a] tilera.com>
6065
6066 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
6067 asm/unistd.h.
6068 (SPR_CMPEXCH_VALUE): Define for tilegx.
6069 (__NR_FAST_cmpxchg): Define for tilepro.
6070 (__NR_FAST_atomic_update): Define for tilepro.
6071 (__NR_FAST_cmpxchg64): Define for tilepro.
6072
6073 2016-06-23 Jakub Sejdak <jakub.sejdak (a] phoesys.com>
6074
6075 * config.host: Add suport for arm*-*-phoenix* targets.
6076
6077 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
6078
6079 * config.host: Remove support for mep-*.
6080 * config/mep/lib1funcs.S: Remove.
6081 * config/mep/lib2funcs.c: Remove.
6082 * config/mep/t-mep: Remove.
6083 * config/mep/tramp.c: Remove.
6084
6085 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
6086
6087 * config.host: Remove support for avr-rtems.
6088 * config/avr/t-rtems: Remove.
6089
6090 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
6091
6092 * config.host: Remove m32r-rtems support.
6093
6094 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
6095
6096 * config.host: Remove h8300-rtems support.
6097
6098 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
6099
6100 * config.host: Remove support for knetbsd.
6101
6102 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
6103
6104 * config.host: Remove support for openbsd 2 and 3.
6105
6106 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
6107
6108 * config.host: Remove interix support.
6109 * config/i386/t-interix: Remove.
6110
6111 2016-06-18 John David Anglin <danglin (a] gcc.gnu.org>
6112
6113 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
6114 least-significant bit in function pointer for fixup.
6115
6116 2016-06-05 Aaron Conole <aconole (a] redhat.com>
6117 Nathan Sidwell <nathan (a] acm.org>
6118
6119 PR libgcc/71400
6120 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
6121 (get_gcov_error_file): Check __gcov_error_file before trying to
6122 initialize it.
6123 (gcov_error): Always use get_gcov_error_file.
6124
6125 2016-06-02 Aaron Conole <aconole (a] redhat.com>
6126
6127 * libgcov-driver-system.c (__gcov_error_file): New.
6128 (get_gcov_error_file): New.
6129 (gcov_error): Use and set __gcov_error_file.
6130 (gcov_error_exit): New.
6131 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
6132
6133 2016-05-26 Nathan Sidwell <nathan (a] acm.org>
6134
6135 * config/nvptx/free.asm: Delete.
6136 * config/nvptx/malloc.asm: Delete.
6137 * config/nvptx/realloc.c: Delete.
6138 * t-nvptx: Update.
6139
6140 2016-05-25 Nathan Sidwell <nathan (a] acm.org>
6141
6142 * config/nvptx/crt0.s: Delete.
6143 * config/nvptx/crt0.c: New.
6144 * t-nvptx: Update.
6145
6146 2016-05-19 Sandra Loosemore <sandra (a] codesourcery.com>
6147
6148 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6149 dw2/seh configuration.
6150 [x86_64-*-mingw*]: Likewise.
6151
6152 2016-05-10 Joel Sherrill <joel (a] rtems.org>
6153
6154 PR libgcc/70720
6155 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
6156 targets so the same extra_parts are built. Also have tmake_file add
6157 on to its value rather than override.
6158
6159 2016-04-30 Oleg Endo <olegendo (a] gcc.gnu.org>
6160
6161 * config.host: Remove SH5 support.
6162 * configure: Likewise.
6163
6164 2016-04-29 Oleg Endo <olegendo (a] gcc.gnu.org>
6165
6166 * config/sh/crt1.S: Remove SH5 support.
6167 * config/sh/crti.S: Likewise.
6168 * config/sh/crtn.S: Likewise.
6169 * config/sh/lib1funcs-4-300.S: Likewise.
6170 * config/sh/lib1funcs-Os-4-200.S: Likewise.
6171 * config/sh/lib1funcs.S: Likewise.
6172 * config/sh/linux-unwind.h: Likewise.
6173 * config/sh/t-sh64: Delete.
6174
6175 2016-04-29 Claudiu Zissulescu <claziss (a] synopsys.com>
6176
6177 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
6178
6179 2016-04-28 Claudiu Zissulescu <claziss (a] synopsys.com>
6180 Joern Rennecke <joern.rennecke (a] embecosm.com>
6181
6182 * config/arc/crttls.S: New file.
6183 * config/arc/t-arc: New rule.
6184 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
6185
6186 2016-04-25 Nick Clifton <nickc (a] redhat.com>
6187
6188 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
6189 (__mspabi_cmpd): Likewise.
6190 * config/msp430/floathidf.c (__floathidf): Likewise.
6191 * config/msp430/floathisf.c (__floathisf): Likewise
6192 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
6193 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
6194 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
6195 second parameter.
6196 (__ashrsi3): Likewise.
6197
6198 2016-04-21 Waldemar Brodkorb <wbx (a] openadk.org>
6199
6200 * config/m68k/linux-atomic.c: Do not include unistd.h
6201
6202 2016-04-20 Martin Galvan <martin.galvan (a] tallertechnologies.com>
6203
6204 * config/arm/ieee754-df.S: Fix typos in comments.
6205
6206 2016-04-11 Michael Meissner <meissner (a] linux.vnet.ibm.com>
6207
6208 PR target/70381
6209 * configure.ac (powerpc*-*-linux*): Rework tests to build
6210 __float128 emulation routines to not depend on using #pragma GCC
6211 target to enable -mfloat128.
6212 * configure: Regnerate.
6213
6214 2016-04-04 Eric Botcazou <ebotcazou (a] adacore.com>
6215
6216 PR target/67172
6217 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
6218 __MINGW32__ is defined.
6219
6220 2016-03-28 James Bowman <james.bowman (a] ftdichip.com>
6221
6222 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
6223
6224 2016-03-22 Michael Meissner <meissner (a] linux.vnet.ibm.com>
6225
6226 PR libgcc/70363
6227 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
6228 built with an assembler that does not support ISA 3.0
6229 instructions, rename __extendkftf2_sw to __extendkftf2.
6230
6231 2016-03-16 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
6232
6233 PR target/38239
6234 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
6235 call-clobbered registers.
6236 (internal_mcount): Remove __i386__ handling.
6237
6238 2016-02-26 Joel Sherrill <joel (a] rtems.org>
6239
6240 * config.host: Add x86_64-*-rtems*.
6241
6242 2016-02-26 Joel Sherrill <joel (a] rtems.org>
6243
6244 * libgcc/config.host: Add aarch64-*-rtems*.
6245
6246 2016-02-26 Paul E. Murphy <murphyp (a] linux.vnet.ibm.com>
6247 Bill Schmidt <wschmidt (a] linux.vnet.ibm.com>
6248
6249 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
6250 union of u64 and double.
6251 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
6252 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
6253 value.
6254 (FP_ROUNDMODE): Update the usage of _fpscr.
6255
6256 2016-02-25 Ilya Verbin <ilya.verbin (a] intel.com>
6257
6258 PR driver/68463
6259 * Makefile.in (crtoffloadtable$(objext)): New rule.
6260 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
6261 enable_offload_targets is not empty.
6262 * configure: Regenerate.
6263 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
6264 crtoffloadtable.
6265
6266 2016-02-17 Max Filippov <jcmvbkbc (a] gmail.com>
6267
6268 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
6269 .literal_position before the function.
6270 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
6271 Likewise.
6272
6273 2016-02-15 Marcin Kocielnicki <koriakin (a] 0x04.net>
6274
6275 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
6276 * config/s390/morestack.S: New file.
6277 * config/s390/t-stack-s390: New file.
6278 * generic-morestack.c (__splitstack_find): Add s390-specific code.
6279
6280 2016-02-12 Walter Lee <walt (a] tilera.com>
6281
6282 * config.host (tilegx*-*-linux*): remove ti from
6283 softfp_int_modes for 32-bit configs.
6284
6285 2016-02-10 Ian Lance Taylor <iant (a] google.com>
6286
6287 PR go/68562
6288 * config/i386/morestack.S (__stack_split_initialize): Align
6289 stack.
6290
6291 2016-02-03 Andreas Tobler <andreast (a] gcc.gnu.org>
6292
6293 PR bootstrap/69611
6294 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
6295 __FLOAT128__ to compile only for __float128 capable targets.
6296
6297 2016-01-25 Jakub Jelinek <jakub (a] redhat.com>
6298
6299 PR target/69444
6300 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
6301 instead of ___NO_FPRS__.
6302
6303 2016-01-21 Michael Meissner <meissner (a] linux.vnet.ibm.com>
6304 Steven Munroe <munroesj (a] linux.vnet.ibm.com>
6305 Tulio Magno Quites Machado Filho <tulioqm (a] br.ibm.com>
6306
6307 * config/rs6000/float128-sed: New files to convert TF names to KF
6308 names for PowerPC IEEE 128-bit floating point support.
6309 * config/rs6000/float128-sed-hw: Likewise.
6310
6311 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
6312 floating point hardware support.
6313
6314 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6315 128-bit floating point software emulation or use ISA 3.0 hardware
6316 support if it is available.
6317
6318 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6319 floating point.
6320
6321 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
6322 floating point to IBM extended double.
6323
6324 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
6325 double to IEEE 128-bit floating point.
6326
6327 * config/rs6000/t-float128: New Makefile fragments to enable
6328 building __float128 emulation support.
6329 * config/rs6000/t-float128-hw: Likewise.
6330
6331 * config/rs6000/sfp-exceptions.c: New file to provide exception
6332 support for IEEE 128-bit floating point.
6333
6334 * config/rs6000/floattikf.c: New files for converting between IEEE
6335 128-bit floating point and signed/unsigned 128-bit integers.
6336 * config/rs6000/fixunskfti.c: Likewise.
6337 * config/rs6000/fixkfti.c: Likewise.
6338 * config/rs6000/floatuntikf.c: Likewise.
6339
6340 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6341 when building on 64-bit systems, or when VSX is enabled.
6342 (_FP_W_TYPE): Likewise.
6343 (_FP_WS_TYPE): Likewise.
6344 (_FP_I_TYPE): Likewise.
6345 (TItype): Define on 64-bit systems.
6346 (UTItype): Likewise.
6347 (TI_BITS): Likewise.
6348 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6349 (_FP_MUL_MEAT_Q): Likewise.
6350 (_FP_DIV_MEAT_D): Likewise.
6351 (_FP_DIV_MEAT_Q): Likewise.
6352 (_FP_NANFRAC_D): Likewise.
6353 (_FP_NANFRAC_Q): Likewise.
6354 (ISA_BIT): Add exception support if we are being compiled on a
6355 machine with hardware floating point support to build the IEEE
6356 128-bit emulation functions.
6357 (FP_EX_INVALID): Likewise.
6358 (FP_EX_OVERFLOW): Likewise.
6359 (FP_EX_UNDERFLOW): Likewise.
6360 (FP_EX_DIVZERO): Likewise.
6361 (FP_EX_INEXACT): Likewise.
6362 (FP_EX_ALL): Likewise.
6363 (__sfp_handle_exceptions): Likewise.
6364 (FP_HANDLE_EXCEPTIONS): Likewise.
6365 (FP_RND_NEAREST): Likewise.
6366 (FP_RND_ZERO): Likewise.
6367 (FP_RND_PINF): Likewise.
6368 (FP_RND_MINF): Likewise.
6369 (FP_RND_MASK): Likewise.
6370 (_FP_DECL_EX): Likewise.
6371 (FP_INIT_ROUNDMODE): Likewise.
6372 (FP_ROUNDMODE): Likewise.
6373
6374 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6375 VSX code, enable IEEE 128-bit floating point. If the compiler can
6376 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
6377 floating point hardware instructions and it supports declaring
6378 functions with the ifunc attribute, enable ifunc functions to
6379 switch between software and hardware support.
6380 * configure.ac (powerpc*-*-linux*): Likewise.
6381 * configure: Regenerate.
6382
6383 2016-01-15 Nick Clifton <nickc (a] redhat.com>
6384
6385 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
6386 dependency as the source file to be compiled.
6387 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
6388 (lib2hw_mul_f5.o): Likewise.
6389
6390 2016-01-13 Michael Meissner <meissner (a] linux.vnet.ibm.com>
6391
6392 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
6393 * libgcc/config/rs6000/fixkfti.c: Likewise.
6394 * libgcc/config/rs6000/fixunskfti.c: Likewise.
6395 * libgcc/config/rs6000/float128-hw.c: Likewise.
6396 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
6397 * libgcc/config/rs6000/float128-sed: Likewise.
6398 * libgcc/config/rs6000/floattikf.c: Likewise.
6399 * libgcc/config/rs6000/floatuntikf.c: Likewise.
6400 * libgcc/config/rs6000/quad-float128.h: Likewise.
6401 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
6402 * libgcc/config/rs6000/sfp-machine.h: Likewise.
6403 * libgcc/config/rs6000/t-float128: Likewise.
6404 * libgcc/config/rs6000/t-float128-hw: Likewise.
6405 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
6406 * libgcc/config.host: Likewise.
6407 * libgcc/configure: Likewise.
6408 * libgcc/configure.ac: Likewise.
6409
6410 2016-01-13 Michael Meissner <meissner (a] linux.vnet.ibm.com>
6411 Steven Munroe <munroesj (a] linux.vnet.ibm.com>
6412 Tulio Magno Quites Machado Filho <tulioqm (a] br.ibm.com>
6413
6414 * config/rs6000/sfp-exceptions.c: New file to provide exception
6415 support for IEEE 128-bit floating point.
6416
6417 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
6418 floating point hardware support.
6419
6420 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
6421 point conversions.
6422 * config/rs6000/fixunskfti.c: Likewise.
6423 * config/rs6000/fixkfti.c: Likewise.
6424 * config/rs6000/floatuntikf.c: Likewise.
6425 * config/rs6000/extendkftf2-sw.c: Likewise.
6426 * config/rs6000/trunctfkf2-sw.c: Likewise.
6427
6428 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6429 128-bit floating point software emulation or use ISA 3.0 hardware
6430 support if it is available.
6431
6432 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6433 floating point.
6434
6435 * config/rs6000/t-float128: New Makefile fragments to enable
6436 building __float128 emulation support.
6437 * config/rs6000/t-float128-hw: Likewise.
6438
6439 * config/rs6000/float128-sed: New file to convert TF names to KF
6440 names for PowerPC IEEE 128-bit floating point support.
6441
6442 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6443 when building on 64-bit systems, or when VSX is enabled.
6444 (_FP_W_TYPE): Likewise.
6445 (_FP_WS_TYPE): Likewise.
6446 (_FP_I_TYPE): Likewise.
6447 (TItype): Define on 64-bit systems.
6448 (UTItype): Likewise.
6449 (TI_BITS): Likewise.
6450 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6451 (_FP_MUL_MEAT_Q): Likewise.
6452 (_FP_DIV_MEAT_D): Likewise.
6453 (_FP_DIV_MEAT_Q): Likewise.
6454 (_FP_NANFRAC_D): Likewise.
6455 (_FP_NANFRAC_Q): Likewise.
6456 (ISA_BIT): Add exception support if we are being compiled on a
6457 machine with hardware floating point support to build the IEEE
6458 128-bit emulation functions.
6459 (FP_EX_INVALID): Likewise.
6460 (FP_EX_OVERFLOW): Likewise.
6461 (FP_EX_UNDERFLOW): Likewise.
6462 (FP_EX_DIVZERO): Likewise.
6463 (FP_EX_INEXACT): Likewise.
6464 (FP_EX_ALL): Likewise.
6465 (__sfp_handle_exceptions): Likewise.
6466 (FP_HANDLE_EXCEPTIONS): Likewise.
6467 (FP_RND_NEAREST): Likewise.
6468 (FP_RND_ZERO): Likewise.
6469 (FP_RND_PINF): Likewise.
6470 (FP_RND_MINF): Likewise.
6471 (FP_RND_MASK): Likewise.
6472 (_FP_DECL_EX): Likewise.
6473 (FP_INIT_ROUNDMODE): Likewise.
6474 (FP_ROUNDMODE): Likewise.
6475
6476 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
6477 compiler can do __float128.
6478 * configure: Regenerate.
6479
6480 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6481 VSX code, enable IEEE 128-bit floating point.
6482
6483 2016-01-05 Olivier Hainque <hainque (a] adacore.com>
6484
6485 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
6486 specificities.
6487
6488 2016-01-04 Jakub Jelinek <jakub (a] redhat.com>
6489
6490 Update copyright years.
6491
6492 2015-12-18 Andris Pavenis <andris.pavenis (a] iki.fi>
6493
6494 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
6495 soft-fp targets.
6496
6497 2015-12-16 Bernd Edlinger <bernd.edlinger (a] hotmail.de>
6498
6499 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
6500 instead of abort to avoid dependency on stdlib.h.
6501
6502 2015-12-09 John David Anglin <danglin (a] gcc.gnu.org>
6503
6504 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
6505 to initialize call to __dl_fixup once.
6506
6507 2015-12-04 Nick Clifton <nickc (a] redhat.com>
6508
6509 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
6510 Allow for the second argument being negative.
6511 * config.host (extra_parts): Define for MSP430. Create separate
6512 libraries for each of the hardware multiply formats.
6513 * config/msp430/lib2hw_mul.S: Build only the multiply routines
6514 that are needed.
6515 * config/msp430/lib2mul.c: Likewise.
6516 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
6517 Add rules to build hardware multiply libraries.
6518 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
6519 __mspabi_divul function.
6520 (__mspabi_divllu): New stub function.
6521
6522 2015-12-01 John David Anglin <danglin (a] gcc.gnu.org>
6523
6524 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
6525 fixup values if saved GOT address doesn't match runtime address.
6526 (fixup_branch_offset): Reorder list.
6527
6528 2015-11-25 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
6529
6530 * Makefile.in (VTV_CFLAGS): New variable.
6531 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
6532 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
6533 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6534 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
6535 to extra_parts if $enable_vtable_verify = yes.
6536
6537 2015-11-23 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
6538
6539 PR target/68059
6540 * config/arm/linux-atomic-64bit.c (__write): Rename to...
6541 (write): ...this and fix the return type.
6542
6543 2015-11-19 DJ Delorie <dj (a] redhat.com>
6544
6545 * config/msp430/lib2hw_mul.S: Fix alignment.
6546
6547 2015-11-18 Nathan Sidwell <nathan (a] codesourcery.com>
6548
6549 * config/nvptx/reduction.c: New.
6550 * config/nvptx/t-nvptx (LIB2ADD): Add it.
6551
6552 2015-11-15 David Edelsohn <dje.gcc (a] gmail.com>
6553
6554 * config/rs6000/on_exit.c: New file.
6555 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
6556 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
6557
6558 2015-11-11 Claudiu Zissulescu <claziss (a] synopsys.com>
6559
6560 * config/arc/dp-hack.h: Add support for ARCHS.
6561 * config/arc/ieee-754/divdf3.S: Likewise.
6562 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6563 * config/arc/ieee-754/muldf3.S: Likewise.
6564 * config/arc/ieee-754/mulsf3.S: Likewise
6565 * config/arc/lib1funcs.S: Likewise
6566 * config/arc/gmon/dcache_linesz.S: Don't read the build register
6567 for ARCv2 cores.
6568 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
6569 for ARCv2 cores.
6570 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
6571 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
6572 cores.
6573
6574 2015-11-09 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
6575
6576 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
6577 value.
6578 * config/ia64/crtend.S: Likewise.
6579
6580 2015-11-07 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
6581
6582 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
6583 __CHAR_BIT__ instead of BITS_PER_UNIT.
6584 * fixed-bit.h: Likewise.
6585 * fp-bit.h: Likewise.
6586 * libgcc2.c (__popcountSI2): Likewise.
6587 (__popcountDI2): Likewise.
6588 * libgcc2.h: Likewise.
6589 * libgcov.h: Likewise.
6590
6591 2015-11-07 David Edelsohn <dje.gcc (a] gmail.com>
6592
6593 * config/rs6000/atexit.c: New file.
6594 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
6595 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
6596 * config/rs6000/cxa_finalize.c
6597 (catomic_compare_and_exchange_bool_acq): Negate return value.
6598
6599 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar (a] amd.com>
6600
6601 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
6602 (processor_subtypes): Add znver1.
6603 (get_amd_cpu): Detect znver1.
6604
6605 2015-10-29 Christophe Lyon <christophe.lyon (a] linaro.org>
6606
6607 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
6608 Include crtfastmath.o.
6609
6610 2015-10-23 Joern Rennecke <joern.rennecke (a] embecosm.com>
6611
6612 PR libgcc/66883
6613 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
6614
6615 2015-10-16 Kaushik Phatak <kaushik.phatak (a] kpit.com>
6616
6617 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
6618 * config/rl78/divmodsi.S: Update return register to r8.
6619 * config/rl78/divmodhi.S: Update return register to r8,r9.
6620 Branch to main_loop_done_himode to pop registers before return.
6621
6622 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar (a] amd.com>
6623
6624 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
6625 (__cpu_indicator_init): Fix model selection for AMD CPUs.
6626
6627 2015-10-05 Kirill Yukhin <kirill.yukhin (a] intel.com>
6628
6629 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
6630
6631 2015-10-03 Max Filippov <jcmvbkbc (a] gmail.com>
6632
6633 * config.host (xtensa*-*-uclinux*): New configuration.
6634
6635 2015-10-02 Kirill Yukhin <kirill.yukhin (a] intel.com>
6636
6637 * config/i386/cpuinfo.c (processor_features): Add
6638 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
6639
6640 2015-09-28 Joseph Myers <joseph (a] codesourcery.com>
6641
6642 * soft-fp/adddf3.c: Update from glibc.
6643 * soft-fp/addsf3.c: Likewise.
6644 * soft-fp/addtf3.c: Likewise.
6645 * soft-fp/divdf3.c: Likewise.
6646 * soft-fp/divsf3.c: Likewise.
6647 * soft-fp/divtf3.c: Likewise.
6648 * soft-fp/double.h: Likewise.
6649 * soft-fp/eqdf2.c: Likewise.
6650 * soft-fp/eqsf2.c: Likewise.
6651 * soft-fp/eqtf2.c: Likewise.
6652 * soft-fp/extenddftf2.c: Likewise.
6653 * soft-fp/extended.h: Likewise.
6654 * soft-fp/extendsfdf2.c: Likewise.
6655 * soft-fp/extendsftf2.c: Likewise.
6656 * soft-fp/extendxftf2.c: Likewise.
6657 * soft-fp/fixdfdi.c: Likewise.
6658 * soft-fp/fixdfsi.c: Likewise.
6659 * soft-fp/fixdfti.c: Likewise.
6660 * soft-fp/fixsfdi.c: Likewise.
6661 * soft-fp/fixsfsi.c: Likewise.
6662 * soft-fp/fixsfti.c: Likewise.
6663 * soft-fp/fixtfdi.c: Likewise.
6664 * soft-fp/fixtfsi.c: Likewise.
6665 * soft-fp/fixtfti.c: Likewise.
6666 * soft-fp/fixunsdfdi.c: Likewise.
6667 * soft-fp/fixunsdfsi.c: Likewise.
6668 * soft-fp/fixunsdfti.c: Likewise.
6669 * soft-fp/fixunssfdi.c: Likewise.
6670 * soft-fp/fixunssfsi.c: Likewise.
6671 * soft-fp/fixunssfti.c: Likewise.
6672 * soft-fp/fixunstfdi.c: Likewise.
6673 * soft-fp/fixunstfsi.c: Likewise.
6674 * soft-fp/fixunstfti.c: Likewise.
6675 * soft-fp/floatdidf.c: Likewise.
6676 * soft-fp/floatdisf.c: Likewise.
6677 * soft-fp/floatditf.c: Likewise.
6678 * soft-fp/floatsidf.c: Likewise.
6679 * soft-fp/floatsisf.c: Likewise.
6680 * soft-fp/floatsitf.c: Likewise.
6681 * soft-fp/floattidf.c: Likewise.
6682 * soft-fp/floattisf.c: Likewise.
6683 * soft-fp/floattitf.c: Likewise.
6684 * soft-fp/floatundidf.c: Likewise.
6685 * soft-fp/floatundisf.c: Likewise.
6686 * soft-fp/floatunditf.c: Likewise.
6687 * soft-fp/floatunsidf.c: Likewise.
6688 * soft-fp/floatunsisf.c: Likewise.
6689 * soft-fp/floatunsitf.c: Likewise.
6690 * soft-fp/floatuntidf.c: Likewise.
6691 * soft-fp/floatuntisf.c: Likewise.
6692 * soft-fp/floatuntitf.c: Likewise.
6693 * soft-fp/gedf2.c: Likewise.
6694 * soft-fp/gesf2.c: Likewise.
6695 * soft-fp/getf2.c: Likewise.
6696 * soft-fp/ledf2.c: Likewise.
6697 * soft-fp/lesf2.c: Likewise.
6698 * soft-fp/letf2.c: Likewise.
6699 * soft-fp/muldf3.c: Likewise.
6700 * soft-fp/mulsf3.c: Likewise.
6701 * soft-fp/multf3.c: Likewise.
6702 * soft-fp/negdf2.c: Likewise.
6703 * soft-fp/negsf2.c: Likewise.
6704 * soft-fp/negtf2.c: Likewise.
6705 * soft-fp/op-1.h: Likewise.
6706 * soft-fp/op-2.h: Likewise.
6707 * soft-fp/op-4.h: Likewise.
6708 * soft-fp/op-8.h: Likewise.
6709 * soft-fp/op-common.h: Likewise.
6710 * soft-fp/quad.h: Likewise.
6711 * soft-fp/single.h: Likewise.
6712 * soft-fp/soft-fp.h: Likewise.
6713 * soft-fp/subdf3.c: Likewise.
6714 * soft-fp/subsf3.c: Likewise.
6715 * soft-fp/subtf3.c: Likewise.
6716 * soft-fp/truncdfsf2.c: Likewise.
6717 * soft-fp/trunctfdf2.c: Likewise.
6718 * soft-fp/trunctfsf2.c: Likewise.
6719 * soft-fp/trunctfxf2.c: Likewise.
6720 * soft-fp/unorddf2.c: Likewise.
6721 * soft-fp/unordsf2.c: Likewise.
6722 * soft-fp/unordtf2.c: Likewise.
6723
6724 2015-09-24 Richard Earnshaw <rearnsha (a] arm.com>
6725
6726 PR libgcc/67624
6727 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
6728
6729 2015-09-24 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
6730
6731 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6732 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
6733 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
6734 messages.
6735 (internal_mcount): Likewise.
6736 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
6737 crt_compile, add CRTSTUFF_T_CFLAGS_S.
6738
6739 2015-09-24 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
6740
6741 * configure.ac (libgcc_cv_solaris_crts): New test.
6742 * configure: Regenerate.
6743 * config.in: Regenerate.
6744 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
6745 * config/gmon-sol2.c: Rename to ...
6746 * config/sol2/gmon.c: ... this.
6747 Include auto-target.h.
6748 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
6749 * config/t-sol2: Rename to ...
6750 * config/sol2/t-sol2: ... this.
6751 (gmon.o): Reflect renaming.
6752 (crtp.o, crtpg.o): New rules.
6753 * config.host (*-*-solaris2*): Reflect renaming.
6754 Use system CRTs if present.
6755 Remove default CRT case.
6756
6757 2015-09-23 John David Anglin <danglin (a] gcc.gnu.org>
6758
6759 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
6760 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
6761 __kernel_cmpxchg2.
6762 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
6763 (__sync_val_compare_and_swap_##WIDTH): Likewise.
6764 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
6765 (__sync_lock_test_and_set_##WIDTH): Likewise.
6766 (__sync_lock_release_##WIDTH): Likewise.
6767 (__sync_fetch_and_##OP##_4): Change result to match type of
6768 __kernel_cmpxchg.
6769 (__sync_##OP##_and_fetch_4): Likewise.
6770 (__sync_val_compare_and_swap_4): Likewise.
6771 (__sync_bool_compare_and_swap_4): likewise.
6772 (__sync_lock_test_and_set_4): Likewise.
6773 (__sync_lock_release_4): Likewise.
6774 (FETCH_AND_OP_2): Add long long variants.
6775 (OP_AND_FETCH_2): Likewise.
6776 (COMPARE_AND_SWAP_2 ): Likewise.
6777 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6778 (SYNC_LOCK_RELEASE_2): Likewise.
6779 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
6780
6781 2015-09-22 Kirill Yukhin <kirill.yukhin (a] intel.com>
6782
6783 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
6784 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
6785 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
6786 (get_available_features): Habdle new features.
6787
6788 2015-09-21 James Bowman <james.bowman (a] ftdichip.com>
6789
6790 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
6791 memory layout. Deal correctly with BSS region larger than 32K.
6792 Handle a watchdog reset like a power-on reset. Clean up unused
6793 code.
6794
6795 2015-09-18 Andrew Dixie <andrewd (a] gentrack.com>
6796 David Edelsohn <dje.gcc (a] gmail.com>
6797
6798 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6799 * config/rs6000/crtdbase.S: New file.
6800 * config/rs6000/t-aix-cxa: Build crtdbase.o.
6801
6802 2015-09-15 Max Filippov <jcmvbkbc (a] gmail.com>
6803
6804 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6805 Add support for call0 ABI.
6806
6807 2015-09-13 John David Anglin <danglin (a] gcc.gnu.org>
6808
6809 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6810
6811 2015-09-03 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
6812
6813 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6814 (__GTHREAD_HAS_COND): Likewise.
6815 (__gthread_t): Likewise.
6816 (__gthread_cond_t): Likewise.
6817 (__gthread_time_t): Likewise.
6818 (__GTHREAD_MUTEX_INIT): Likewise.
6819 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6820 (__GTHREAD_COND_INIT): Likewise.
6821 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6822 (__GTHREAD_TIME_INIT): Likewise.
6823 (__gthread_create): Likewise.
6824 (__gthread_join): Likewise.
6825 (__gthread_detach): Likewise.
6826 (__gthread_equal): Likewise.
6827 (__gthread_self): Likewise.
6828 (__gthread_yield): Likewise.
6829 (__gthread_cond_broadcast): Likewise.
6830 (__gthread_cond_signal): Likewise.
6831 (__gthread_cond_wait): Likewise.
6832 (__gthread_cond_timedwait): Likewise.
6833 (__gthread_cond_wait_recursive): Likewise.
6834 (__gthread_cond_destroy): Likewise.
6835 (rtems_gxx_once): Delete.
6836 (rtems_gxx_key_create): Likewise.
6837 (rtems_gxx_key_delete): Likewise.
6838 (rtems_gxx_getspecific): Likewise.
6839 (rtems_gxx_setspecific): Likewise.
6840 (rtems_gxx_mutex_init): Likewise.
6841 (rtems_gxx_mutex_destroy): Likewise.
6842 (rtems_gxx_mutex_lock): Likewise.
6843 (rtems_gxx_mutex_trylock): Likewise.
6844 (rtems_gxx_mutex_unlock): Likewise.
6845 (rtems_gxx_recursive_mutex_init): Likewise.
6846 (rtems_gxx_recursive_mutex_lock): Likewise.
6847 (rtems_gxx_recursive_mutex_trylock): Likewise.
6848 (rtems_gxx_recursive_mutex_unlock): Likewise.
6849 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6850 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6851 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6852 (__gthread_once): Likewise.
6853 (__gthread_key_create): Likewise.
6854 (__gthread_key_delete): Likewise.
6855 (__gthread_getspecific): Likewise.
6856 (__gthread_setspecific): Likewise.
6857 (__gthread_key_t): Use <pthread.h> type.
6858 (__gthread_once_t): Likewise
6859 (__gthread_mutex_t): Use <sys/lock.h> type.
6860 (__gthread_recursive_mutex_t): Likewise
6861 (__gthread_mutex_lock): Use <sys/lock.h> function.
6862 (__gthread_mutex_trylock): Likewise.
6863 (__gthread_mutex_timedlock): Likewise.
6864 (__gthread_mutex_unlock): Likewise.
6865 (__gthread_mutex_destroy): Likewise.
6866 (__gthread_recursive_mutex_lock): Likewise.
6867 (__gthread_recursive_mutex_trylock): Likewise.
6868 (__gthread_recursive_mutex_timedlock): Likewise.
6869 (__gthread_recursive_mutex_unlock): Likewise.
6870 (__gthread_recursive_mutex_destroy): Likewise.
6871
6872 2015-08-18 Max Filippov <jcmvbkbc (a] gmail.com>
6873
6874 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6875 context->sp instead of context->cfa.
6876
6877 2015-08-18 Max Filippov <jcmvbkbc (a] gmail.com>
6878
6879 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6880 with unwind-dw2-fde-dip.
6881
6882 2015-08-18 Max Filippov <jcmvbkbc (a] gmail.com>
6883
6884 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6885 CALL12 followed by series of ENTRY to spill windowed registers.
6886 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6887 instead of making linux spill syscall.
6888
6889 2015-08-14 Yuri Rumyantsev <ysrumyan (a] gmail.com>
6890
6891 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6892 (get_intel_cpu): Likewise.
6893
6894 2015-08-12 H.J. Lu <hongjiu.lu (a] intel.com>
6895
6896 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6897 (get_intel_cpu): Add Knights Landing support.
6898
6899 2015-08-11 Uros Bizjak <ubizjak (a] gmail.com>
6900
6901 PR target/66954
6902 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6903 (get_available_features): Handle FEATURE_PCLMUL.
6904
6905 2015-08-10 H.J. Lu <hongjiu.lu (a] intel.com>
6906
6907 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6908 Broadwell.
6909
6910 2015-07-22 Uros Bizjak <ubizjak (a] gmail.com>
6911
6912 PR target/66954
6913 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6914 (get_available_features): Handle FEATURE_AES.
6915
6916 2015-07-22 Chung-Lin Tang <cltang (a] codesourcery.com>
6917
6918 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6919 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6920
6921 2015-07-17 Nathan Sidwell <nathan (a] codesourcery.com>
6922
6923 * offloadstuff.c: Constify host data.
6924
6925 2015-07-17 Jan Beulich <jbeulich (a] suse.com>
6926
6927 * config/t-softfp: Split up "else ifneq".
6928
6929 2015-07-14 Sandra Loosemore <sandra (a] codesourcery.com>
6930 Cesar Philippidis <cesar (a] codesourcery.com>
6931 Chung-Lin Tang <cltang (a] codesourcery.com>
6932
6933 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6934 for __nios2_arch__ level.
6935
6936 2015-07-13 John Marino <gnugcc (a] marino.st>
6937
6938 * config/i386/t-dragonfly: New.
6939
6940 2015-07-01 John David Anglin <danglin (a] gcc.gnu.org>
6941
6942 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6943 better match light-weight syscall argument order.
6944 (__kernel_cmpxchg2): Likewise.
6945 Adjust callers.
6946
6947 2015-06-30 H.J. Lu <hongjiu.lu (a] intel.com>
6948
6949 * config.host: Support i[34567]86-*-elfiamcu target.
6950 * config/t-softfp-sfdftf: New file.
6951 * config/i386/32/t-iamcu: Likewise.
6952 * configure: Regenerated.
6953
6954 2015-06-23 James Lemke <jwlemke (a] codesourcery.com>
6955
6956 libgcc/config/arm/
6957 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6958
6959 2015-05-27 H.J. Lu <hongjiu.lu (a] intel.com>
6960
6961 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6962
6963 2015-05-27 John Marino <gnugcc (a] marino.st>
6964
6965 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6966 md_unwind_header
6967 * config/i386/freebsd-unwind.h: New.
6968
6969 2015-05-22 Uros Bizjak <ubizjak (a] gmail.com>
6970
6971 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6972 i386/t-crtfm to tmake_file.
6973 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6974 (set_fast_math): Use set_fast_math_sse for SSE targets.
6975 * config/i386/t-crtfm: Remove.
6976
6977 2015-05-21 Alan Modra <amodra (a] gmail.com>
6978
6979 PR libgcc/66225
6980 * config/rs6000/morestack.S: Remove ".abiversion 1".
6981
6982 2015-05-20 Alan Modra <amodra (a] gmail.com>
6983
6984 * config/rs6000/morestack.S: New.
6985 * config/rs6000/t-stack-rs6000: New.
6986 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6987 to tmake_file.
6988 * generic-morestack.c: Don't build for powerpc 32-bit.
6989
6990 2015-05-19 Eric Botcazou <ebotcazou (a] adacore.com>
6991
6992 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6993 Remove useless endif/ifneq ($(enable_shared),yes) pair.
6994
6995 2015-05-16 James Bowman <james.bowman (a] ftdichip.com>
6996
6997 * config.host: FT32 target added.
6998 * config/ft32/*: New files for FT32 target.
6999
7000 2015-05-15 Martin Galvan <martin.galvan (a] tallertechnologies.com>
7001
7002 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
7003 New macros.
7004 * config/arm/ieee754-df.S: Add CFI directives.
7005 * config/arm/ieee754-sf.S: Add CFI directives.
7006
7007 2015-05-13 Eric Botcazou <ebotcazou (a] adacore.com>
7008
7009 * configure.ac: Include config/sjlj.m4.
7010 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
7011 * config.in: Regenerate.
7012 * configure: Likewise.
7013 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
7014
7015 2015-05-12 Uros Bizjak <ubizjak (a] gmail.com>
7016
7017 * libgcov-util.c: Add space between string literal and macro name.
7018
7019 2015-05-06 Sandra Loosemore <sandra (a] codesourcery.com>
7020 Chris Jones <chrisj (a] nvidia.com>
7021 Joshua Conner <jconner (a] nvidia.com>
7022
7023 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
7024 (arm*-*-uclinux*): Likewise.
7025 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
7026 * config/arm/crtfastmath.c: New file.
7027
7028 2014-04-29 Bernd Schmidt <bernds (a] codesourcery.com>
7029
7030 * Makefile.in (real_host_noncanonical): New variable.
7031 (libsubdir): Use it.
7032 * configure.ac (real_host_noncanonical): Compute. Remove special
7033 case for intelmicemul.
7034 * configure: Regenerate.
7035
7036 2015-04-28 Uros Bizjak <ubizjak (a] gmail.com>
7037
7038 * config/frv/elf-lib.h: New file.
7039 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
7040 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
7041 to tm_file.
7042
7043 2015-04-28 Uros Bizjak <ubizjak (a] gmail.com>
7044
7045 * config/frv/frvbengin.c: Do not include defaults.h
7046 * config/frv/frvend.c: Ditto.
7047
7048 2015-04-27 Yoshinori Sato <ysato (a] users.sourceforge.jp>
7049
7050 * config.host: Add h8300-*-linux
7051 * config/h8300/t-linux: New file.
7052 * config/h8300/lib1funs.s: Change symbol prefix.
7053 * config/h8300/sfp-machine.h: 64bit double support.
7054
7055 2015-04-22 Gregor Richards <gregor.richards (a] uwaterloo.ca>
7056 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
7057
7058 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
7059 Linux if target provides dl_iterate_phdr.
7060
7061 2015-04-17 H.J. Lu <hongjiu.lu (a] intel.com>
7062
7063 PR target/65612
7064 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
7065 * config/i386/cpuinfo.c (__cpu_model): Initialize.
7066 (__cpu_indicator_init (a] GCC_4.8.0): New.
7067 (__cpu_model (a] GCC_4.8.0): Likewise.
7068 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
7069 -DUSE_ELF_SYMVER.
7070
7071 2015-04-16 Nick Clifton <nickc (a] redhat.com>
7072
7073 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
7074 and __modhi3 functions.
7075 * config/rl78/divmodso.S: Add G14 and G13 versions of the
7076 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
7077
7078 2015-04-15 Chen Gang <gang.chen.5i5j (a] gmail.com>
7079
7080 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
7081 do-while loop as macro body to avoid warnings.
7082
7083 2015-04-10 Jakub Jelinek <jakub (a] redhat.com>
7084 Iain Sandoe <iain (a] codesourcery.com>
7085
7086 PR target/65351
7087 * configure: Regenerate.
7088
7089 2015-04-07 Jakub Jelinek <jakub (a] redhat.com>
7090 Iain Sandoe <iain (a] codesourcery.com>
7091
7092 PR target/65351
7093 * configure: Regenerate.
7094
7095 2015-03-25 Chung-Lin Tang <cltang (a] codesourcery.com>
7096
7097 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
7098
7099 2015-03-03 Max Filippov <jcmvbkbc (a] gmail.com>
7100
7101 Implement call0 ABI for xtensa
7102 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
7103 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
7104 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
7105 use ret in call0 ABI.
7106 * config/xtensa/t-windowed: New file.
7107 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
7108 * libgcc/configure: Regenerated.
7109 * libgcc/configure.ac: Check if xtensa target is configured for
7110 windowed ABI and thus needs to use custom unwind code.
7111
7112 2015-02-12 Jonathan Wakely <jwakely (a] redhat.com>
7113
7114 PR libgcc/64885
7115 * gthr-single.h: Use __unused__ attribute instead of unused.
7116 * config/gthr-vxworks.h: Likewise.
7117 * config/i386/gthr-win32.h: Likewise.
7118
7119 2015-02-27 Kai Tietz <ktietz (a] redhat.com>
7120
7121 PR target/65038
7122 * config.in: Regenerated.
7123 * configure: Likewise.
7124 * configure.ac (AC_HEADER_STDC): Added explicit.
7125 (AC_CHECK_HEADERS): Check for default headers plus
7126 for ftw.h header.
7127 * libgcov-util.c (gcov_read_profile_dir): Disable use
7128 of ftw-function, if header is not found.
7129 (ftw_read_file): Likewise.
7130
7131 2015-02-23 Thomas Schwinge <thomas (a] codesourcery.com>
7132
7133 PR target/65181
7134 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
7135 -Dinhibit_libc.
7136
7137 2015-02-17 Sandra Loosemore <sandra (a] codesourcery.com>
7138
7139 * config/arm/bpabi.S (test_div_by_zero): Make label names
7140 consistent between thumb2 and arm mode cases. Separate the
7141 signed comparison on the high word of the numerator from the
7142 unsigned comparison on the low word.
7143 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
7144 signed comparison.
7145
7146 2015-02-17 Joseph Myers <joseph (a] codesourcery.com>
7147
7148 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
7149 and <string.h>.
7150 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
7151
7152 2015-02-10 Rainer Emrich <rainer (a] emrich-ebersheim.de>
7153
7154 PR gcov-profile/61889
7155 * libgcov-driver-system.c: undefine clashing macro for mkdir.
7156
7157 2015-02-02 Nick Clifton <nickc (a] redhat.com>
7158
7159 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
7160 rounding up the fraction.
7161
7162 2015-01-31 John David Anglin <danglin (a] gcc.gnu.org>
7163
7164 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
7165 oldval and newval to const void *. Fix typo.
7166 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
7167 (FETCH_AND_OP_WORD): Likewise.
7168 (OP_AND_FETCH_WORD): Likewise.
7169 (COMPARE_AND_SWAP_2): Likewise.
7170 (__sync_val_compare_and_swap_4): Likewise.
7171 (__sync_lock_test_and_set_4): Likewise.
7172 (SYNC_LOCK_RELEASE_2): Likewise.
7173 Remove support for long long atomic operations.
7174
7175 2015-01-27 Caroline Tice <cmtice (a] google.com>
7176
7177 Committing VTV Cywin/Ming patch for Patrick Wollgast
7178 * Makefile.in: Move rules to build vtv_*.o out of the check
7179 for CUSTOM_CRTSTUFF.
7180 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
7181 i[34567]86-*-mingw*)
7182 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
7183 enable_vtable_verify.
7184
7185 2015-01-27 Nick Clifton <nickc (a] redhat.com>
7186
7187 * config/rl78/cmpsi2.S: Use function start and end macros.
7188 (__gcc_bcmp): New function.
7189 * config/rl78/lshrsi3.S: Use function start and end macros.
7190 * config/rl78/mulsi3.S: Add support for G10.
7191 (__mulqi3): New function for G10.
7192 * config/rl78/signbit.S: Use function start and end macros.
7193 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
7194 fpmath-sf.S.
7195 (LIB2FUNCS_EXCLUDE): Define.
7196 (LIB2FUNCS_ST): Define.
7197 * config/rl78/trampoline.S: Use function start and end macros.
7198 * config/rl78/vregs.h (START_FUNC): New macro.
7199 (START_ANOTHER_FUNC): New macro.
7200 (END_FUNC): New macro.
7201 (END_ANOTHER_FUNC): New macro.
7202 * config/rl78/bit-count.S: New file. Contains assembler
7203 implementations of the bit counting functions: ___clzhi2,
7204 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
7205 __paritysi2, __popcounthi2 and __popcountsi2.
7206 * config/rl78/fpbit-sf.S: New file. Contains assembler
7207 implementationas of the math functions: __negsf2, __cmpsf2,
7208 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
7209 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
7210 * config/rl78/fpmath-sf.S: New file. Contains assembler
7211 implementations of the math functions: __subsf3, __addsf3,
7212 __mulsf3 and __divsf3
7213
7214 2015-01-27 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
7215
7216 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
7217 Add i386/elf-lib.h to tm_file.
7218 * config/i386/elf-lib.h: Fix comment.
7219 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
7220 && __sun__ && __svr4__]: Remove workaround.
7221
7222 2015-01-25 Allan Sandfeld Jensen <sandfeld (a] kde.org>
7223
7224 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
7225 FEATURE_BMI2.
7226 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
7227
7228 2015-01-24 H.J. Lu <hongjiu.lu (a] intel.com>
7229
7230 * config/i386/cpuinfo.c (processor_subtypes): Add
7231 INTEL_COREI7_BROADWELL.
7232 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
7233 model numbers.
7234
7235 2015-01-23 Uros Bizjak <ubizjak (a] gmail.com>
7236
7237 * config/i386/elf-lib.h: New file.
7238 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
7239 Wrap definition in #ifdef __i386__.
7240 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7241 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
7242 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
7243 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
7244 to tm_file.
7245
7246 2015-01-22 Chen Gang <gang.chen.5i5j (a] gmail.com>
7247
7248 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
7249 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
7250
7251 2015-01-20 Chung-Lin Tang <cltang (a] codesourcery.com>
7252
7253 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
7254 Update rt_sigframe format and address for current Nios II
7255 Linux conventions.
7256
7257 2015-01-09 Andreas Tobler <andreast (a] gcc.gnu.org>
7258
7259 * config.host (arm*-*-freebsd*): Add new configuration for
7260 arm*-*-freebsd*.
7261 * config/arm/freebsd-atomic.c: New file.
7262 * config/arm/t-freebsd: Likewise.
7263 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
7264 'PC-relative indirect' OS's.
7265
7266 2015-01-06 Eric Botcazou <ebotcazou (a] adacore.com>
7267
7268 * config.host: Add Visium support.
7269 * config/visium: New directory.
7270
7271 2015-01-05 Jakub Jelinek <jakub (a] redhat.com>
7272
7273 Update copyright years.
7274
7275 2014-12-19 Matthew Fortune <matthew.fortune (a] imgtec.com>
7276
7277 * config.host: Support mipsisa32r6 and mipsisa64r6.
7278 * config/mips/mips16.S: Do not build for R6.
7279
7280 2014-12-17 Oleg Endo <olegendo (a] gcc.gnu.org>
7281
7282 * config/sh/crt.h: New.
7283 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
7284 symbols.
7285 * config/sh/crt1.S: Likewise.
7286
7287 2014-12-15 Uros Bizjak <ubizjak (a] gmail.com>
7288
7289 PR libgcc/63832
7290 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
7291 func_ptr *dtor_list temporary variable to avoid "array subscript
7292 is above array bounds" warnings.
7293
7294 2014-12-09 Michael Haubenwallner <michael.haubenwallner (a] ssi-schaefer.com>
7295
7296 * Makefile.in (with_aix_soname): Define.
7297 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
7298 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
7299 * configure: Recreate.
7300
7301 2014-12-05 Olivier Hainque <hainque (a] adacore.com>
7302
7303 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
7304 now provided by defaults.h.
7305
7306 2014-11-30 Oleg Endo <olegendo (a] gcc.gnu.org>
7307
7308 PR target/55351
7309 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
7310 whether it's defined.
7311
7312 2014-11-27 Ilya Tocar <ilya.tocar (a] intel.com>
7313
7314 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
7315 * config/i386/cpuinfo.c (get_available_features): Detect it.
7316
7317 2014-11-27 Tony Wang <tony.wang (a] arm.com>
7318
7319 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
7320 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
7321 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
7322
7323 2014-11-25 Segher Boessenkool <segher (a] kernel.crashing.org>
7324
7325 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
7326
7327 2014-11-24 John David Anglin <danglin (a] gcc.gnu.org>
7328
7329 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
7330 instead.
7331
7332 2014-11-21 Guy Martin <gmsoft (a] tuxicoman.be>
7333 John David Anglin <danglin (a] gcc.gnu.org>
7334
7335 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
7336 (FETCH_AND_OP_2): New. Use for subword and double word operations.
7337 (OP_AND_FETCH_2): Likewise.
7338 (COMPARE_AND_SWAP_2): Likewise.
7339 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
7340 (SYNC_LOCK_RELEASE_2): Likewise.
7341 (SUBWORD_SYNC_OP): Remove.
7342 (SUBWORD_VAL_CAS): Likewise.
7343 (SUBWORD_BOOL_CAS): Likewise.
7344 (FETCH_AND_OP_WORD): Update.
7345 Consistently use signed types.
7346
7347 2014-11-13 Bernd Schmidt <bernds (a] codesourcery.com>
7348 Thomas Schwinge <thomas (a] codesourcery.com>
7349 Ilya Verbin <ilya.verbin (a] intel.com>
7350 Andrey Turetskiy <andrey.turetskiy (a] intel.com>
7351
7352 * Makefile.in (crtoffloadbegin$(objext)): New rule.
7353 (crtoffloadend$(objext)): Likewise.
7354 * configure: Regenerate.
7355 * configure.ac (accel_dir_suffix): Compute new variable.
7356 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
7357 if enable_offload_targets is not empty.
7358 * offloadstuff.c: New file.
7359
7360 2014-11-13 Nick Clifton <nickc (a] redhat.com>
7361
7362 * config/rl78/divmodhi.S: Add support for the G10 architecture.
7363 Use START_FUNC and END_FUNC macros to enable linker garbage
7364 collection.
7365 * config/rl78/divmodqi.S: Likewise.
7366 * config/rl78/divmodsi.S: Likewise.
7367 * config/rl78/mulsi3.S: Likewise.
7368 * config/rl78/lib2div.c: Remove G10 functions.
7369 * config/rl78/lib2muls.c: Likewise.
7370 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
7371 * config/rl78/vregs.h (START_FUNC): New macro.
7372 (END_FUNC): New macro.
7373
7374 2014-11-12 Matthew Fortune <matthew.fortune (a] imgtec.com>
7375
7376 * config/mips/mips16.S: Set .module when supported. Update O32
7377 FP64 calling convention and use for FPXX when possible. Add FPXX
7378 calling convention fallback case.
7379
7380 2014-11-06 Bernd Schmidt <bernds (a] codesourcery.com>
7381
7382 * config.host: Handle nvptx-*-*.
7383 * shared-object.mk (as-flags-$o): Define.
7384 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
7385 -xassembler-with-cpp.
7386 * static-object.mk: Identical changes.
7387 * config/nvptx/t-nvptx: New file.
7388 * config/nvptx/crt0.s: New file.
7389 * config/nvptx/free.asm: New file.
7390 * config/nvptx/malloc.asm: New file.
7391 * config/nvptx/realloc.c: New file.
7392
7393 2014-10-30 Joseph Myers <joseph (a] codesourcery.com>
7394
7395 * Makefile.in (libgcc.map.in): New target.
7396 (libgcc.map): Use libgcc.map.in.
7397 * config/t-softfp (softfp_compat): New variable to be set by
7398 users.
7399 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
7400 variables.
7401 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
7402 directory.
7403 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
7404 that use compat symbols and disable all code unless [SHARED].
7405 * config/t-softfp-compat: New file.
7406 * find-symver.awk: New file.
7407 * configure.ac (--with-glibc-version): New configure option.
7408 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
7409 * configure: Regenerate.
7410 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
7411 soft-float and e500.
7412
7413 2014-10-29 Joseph Myers <joseph (a] codesourcery.com>
7414
7415 * config/t-hardfp (hardfp_exclusions): Document new variable for
7416 user to define.
7417 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
7418 * config/t-softfp (softfp_extras): Document new variable for user
7419 to define.
7420 (softfp_func_list): Add functions from $(softfp_extras).
7421 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
7422 * config.host (powerpc*-*-linux*): For e500v1, use
7423 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
7424 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
7425 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
7426
7427 2014-10-26 John David Anglin <danglin (a] gcc.gnu.org>
7428
7429 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
7430 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
7431 memory read accesses are ok.
7432
7433 2014-10-25 Joseph Myers <joseph (a] codesourcery.com>
7434
7435 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
7436 * configure: Regenerate.
7437 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
7438 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
7439 of soft-fp for 32-bit classic hard float. Do not use
7440 t-softfp-excl for soft float.
7441
7442 2014-10-22 Joseph Myers <joseph (a] codesourcery.com>
7443
7444 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
7445 configurations.
7446 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
7447 Remove variables.
7448
7449 2014-10-22 Georg-Johann Lay <avr (a] gjlay.de>
7450
7451 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
7452 introduced with 2014-10-21 trunk r216525.
7453
7454 2014-10-21 Joern Rennecke <joern.rennecke (a] embecosm.com>
7455 Vidya Praveen <vidya.praveen (a] atmel.com>
7456 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik (a] atmel.com>
7457 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj (a] atmel.com>
7458 Pitchumani Sivanupandi <Pitchumani.S (a] atmel.com>
7459
7460 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
7461 order.
7462
7463 Updated library functions for AVRTINY arch.
7464 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
7465 Replaced occurrences of r0/r1 with tmp/zero reg macros.
7466 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
7467 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
7468 wsubi/wadi macors.
7469 (__mulsi3_helper): Update stack, preserve callee saved regs and
7470 argument from stack. Restore callee save registers.
7471 (__mulpsi3): Likewise.
7472 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
7473 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
7474 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
7475 AVRTINY.
7476 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
7477 (__do_copy_data): Added new definition for AVRTINY.
7478 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
7479 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
7480 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
7481 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
7482 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
7483 macors.
7484 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
7485 AVRTINY.
7486
7487 Fix broken long multiplication on tiny arch.
7488
7489 2014-10-09 Joseph Myers <joseph (a] codesourcery.com>
7490
7491 * soft-fp/double.h: Update from glibc.
7492 * soft-fp/eqdf2.c: Likewise.
7493 * soft-fp/eqsf2.c: Likewise.
7494 * soft-fp/eqtf2.c: Likewise.
7495 * soft-fp/extenddftf2.c: Likewise.
7496 * soft-fp/extended.h: Likewise.
7497 * soft-fp/extendsfdf2.c: Likewise.
7498 * soft-fp/extendsftf2.c: Likewise.
7499 * soft-fp/extendxftf2.c: Likewise.
7500 * soft-fp/gedf2.c: Likewise.
7501 * soft-fp/gesf2.c: Likewise.
7502 * soft-fp/getf2.c: Likewise.
7503 * soft-fp/ledf2.c: Likewise.
7504 * soft-fp/lesf2.c: Likewise.
7505 * soft-fp/letf2.c: Likewise.
7506 * soft-fp/op-1.h: Likewise.
7507 * soft-fp/op-2.h: Likewise.
7508 * soft-fp/op-4.h: Likewise.
7509 * soft-fp/op-8.h: Likewise.
7510 * soft-fp/op-common.h: Likewise.
7511 * soft-fp/quad.h: Likewise.
7512 * soft-fp/single.h: Likewise.
7513 * soft-fp/soft-fp.h: Likewise.
7514 * soft-fp/unorddf2.c: Likewise.
7515 * soft-fp/unordsf2.c: Likewise.
7516 * soft-fp/unordtf2.c: Likewise.
7517 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
7518 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
7519 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
7520 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
7521 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
7522 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
7523 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
7524 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
7525 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
7526 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
7527
7528 2014-10-08 Rong Xu <xur (a] google.com>
7529
7530 * libgcov-util.c (read_gcda_file): Fix format.
7531 (find_match_gcov_info): Ditto.
7532 (calculate_2_entries): New.
7533 (compute_one_gcov): Ditto.
7534 (gcov_info_count_all_cold): Ditto.
7535 (gcov_info_count_all_zero): Ditto.
7536 (extract_file_basename): Ditto.
7537 (get_file_basename): Ditto.
7538 (set_flag): Ditto.
7539 (matched_gcov_info): Ditto.
7540 (calculate_overlap): Ditto.
7541 (gcov_profile_overlap): Ditto.
7542 * libgcov-driver.c (compute_summary): Make
7543 it avavilable for external calls.
7544
7545 2014-10-06 Rong Xu <xur (a] google.com>
7546
7547 * Makefile.in: Ditto.
7548 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
7549 (gcov_sort_icall_topn_counter): Ditto.
7550 (gcov_sort_topn_counter_arrays): Ditto.
7551 (dump_one_gcov): Sort indirect_call topn counters.
7552 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
7553 function.
7554 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
7555 utility function.
7556 (__gcov_indirect_call_topn_profiler): New profiler function.
7557 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
7558 * libgcov.h: New decls.
7559
7560 2014-10-04 Trevor Saunders <tsaunders (a] mozilla.com>
7561
7562 * config.host: Remove support for score-*.
7563
7564 2014-09-22 Joseph Myers <joseph (a] codesourcery.com>
7565
7566 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7567 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
7568 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
7569 __LIBGCC_XF_MANT_DIG__.
7570 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
7571 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
7572 __LIBGCC_TF_MANT_DIG__.
7573 * libgcc2.c (NOTRUNC): Define in terms of
7574 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
7575 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7576
7577 2014-09-22 Joseph Myers <joseph (a] codesourcery.com>
7578
7579 PR target/63312
7580 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
7581 New macros.
7582
7583 2014-09-22 Hans-Peter Nilsson <hp (a] axis.com>
7584
7585 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
7586 override USE_PT_GNU_EH_FRAME.
7587 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
7588 check USE_EH_FRAME_REGISTRY_ALWAYS against
7589 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
7590 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
7591 variable for substituted force_explicit_eh_registry.
7592 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
7593 * configure.ac (explicit-exception-frame-registration):
7594 New AC_ARG_ENABLE.
7595 * configure: Regenerate.
7596
7597 2014-09-19 Olivier Hainque <hainque (a] adacore.com>
7598
7599 * config.host (powerpc-wrs-vxworksmils): New configuration,
7600 same as vxworksae.
7601
7602 2014-09-18 Joseph Myers <joseph (a] codesourcery.com>
7603
7604 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
7605
7606 2014-09-18 Joseph Myers <joseph (a] codesourcery.com>
7607
7608 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
7609 bits not set bits as indicating trapping exceptions.
7610
7611 2014-09-17 Nathan sidwell <nathan (a] acm.org>
7612
7613 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
7614 (LIBGCOV_DRIVER): ... here.
7615 * libgcov-driver.c (gcov_master): New.
7616 (gcov_exit): Remove from master chain.
7617 (__gcov_init): Add to master chain if version compatible. Don't
7618 clear the version.
7619 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
7620 (gcov_reset_int): Clear master chain, if compatible.
7621 (gcov_dump_int): New internal interface. Dump master chain, if
7622 compatible.
7623 (gcov_dump): Alias for gcov_dump_int.
7624 * libgcov.h (struct gcov_root): Add next and prev fields.
7625 (struct gcov_master): New struct.
7626 (__gcov_master): New.
7627 (gcov_dump_int): Declare.
7628
7629 2014-09-17 Olivier Hainque <hainque (a] adacore.com>
7630
7631 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
7632 and crtbegin.o + crtend.o to extra_parts.
7633
7634 2014-09-12 Joseph Myers <joseph (a] codesourcery.com>
7635
7636 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
7637 __LIBGCC_HAS_SF_MODE__.
7638 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7639 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7640 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7641 * config/libbid/bid_gcc_intrinsics.h
7642 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7643 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7644 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7645 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7646 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
7647 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7648
7649 2014-09-11 Georg-Johann Lay <avr (a] gjlay.de>
7650
7651 PR target/63223
7652 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
7653 and R24 as needed. Make work for all devices and .text locations.
7654 (__do_global_ctors, __do_global_dtors): Use word addresses.
7655 (__tablejump__, __tablejump_elpm__): Remove functions.
7656 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
7657 Add _tablejump2.
7658 (XICALL, XIJMP): New macros.
7659
7660 2014-09-09 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
7661 Ramana Radhakrishnan <ramana.radhakrishnan (a] arm.com>
7662
7663 * config.host (aarch64*): Include crtfastmath.o and
7664 t-crtfm.
7665 * config/aarch64/crtfastmath.c: New file.
7666
7667 2014-09-08 Trevor Saunders <tsaunders (a] mozilla.com>
7668
7669 * config.host: Remove picochip support.
7670 * config/picochip/adddi3.S: Remove.
7671 * config/picochip/ashlsi3.S: Remove.
7672 * config/picochip/ashlsi3.c: Remove.
7673 * config/picochip/ashrsi3.S: Remove.
7674 * config/picochip/ashrsi3.c: Remove.
7675 * config/picochip/clzsi2.S: Remove.
7676 * config/picochip/cmpsi2.S: Remove.
7677 * config/picochip/divmod15.S: Remove.
7678 * config/picochip/divmodhi4.S: Remove.
7679 * config/picochip/divmodsi4.S: Remove.
7680 * config/picochip/lib1funcs.S: Remove.
7681 * config/picochip/longjmp.S: Remove.
7682 * config/picochip/lshrsi3.S: Remove.
7683 * config/picochip/lshrsi3.c: Remove.
7684 * config/picochip/parityhi2.S: Remove.
7685 * config/picochip/popcounthi2.S: Remove.
7686 * config/picochip/setjmp.S: Remove.
7687 * config/picochip/subdi3.S: Remove.
7688 * config/picochip/t-picochip: Remove.
7689 * config/picochip/ucmpsi2.S: Remove.
7690 * config/picochip/udivmodhi4.S: Remove.
7691 * config/picochip/udivmodsi4.S: Remove.
7692
7693 2014-09-08 Joseph Myers <joseph (a] codesourcery.com>
7694
7695 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
7696 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
7697 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
7698 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
7699 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
7700 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
7701 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
7702 defined and LIBGCC2_HAS_DF_MODE is defined.
7703 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
7704 defined and LIBGCC2_HAS_XF_MODE is defined.
7705 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
7706 defined and LIBGCC2_HAS_TF_MODE is defined.
7707
7708 2014-09-08 Joseph Myers <joseph (a] codesourcery.com>
7709
7710 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
7711 and ROUND_TOWARDS_ZERO conditionals.
7712
7713 2014-09-07 Nathan sidwell <nathan (a] acm.org>
7714
7715 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
7716 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
7717
7718 2014-09-05 Joseph Myers <joseph (a] codesourcery.com>
7719
7720 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
7721 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7722 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7723 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7724 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7725 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7726 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7727 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
7728 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
7729 (DWARF_FRAME_REGISTERS): Change all uses to
7730 __LIBGCC_DWARF_FRAME_REGISTERS__.
7731 (EH_RETURN_STACKADJ_RTX): Change all uses to
7732 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7733 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
7734 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
7735 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
7736 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
7737 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
7738 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
7739 to __LIBGCC_EH_FRAME_SECTION_NAME__.
7740 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
7741 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
7742 __LIBGCC_STACK_POINTER_REGNUM__.
7743 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7744 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7745 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7746 to __LIBGCC_STACK_POINTER_REGNUM__.
7747 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7748 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7749 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7750 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7751 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7752 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7753 (STACK_POINTER_REGNUM): Change all uses to
7754 __LIBGCC_STACK_POINTER_REGNUM__.
7755 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
7756 use to __LIBGCC_STACK_POINTER_REGNUM__.
7757 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7758 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7759 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
7760 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7761 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
7762 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7763 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7764 to __LIBGCC_STACK_POINTER_REGNUM__.
7765 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
7766 Remove conditional definition.
7767 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
7768 __LIBGCC_TEXT_SECTION_ASM_OP__.
7769 (EH_FRAME_SECTION_NAME): Change all uses to
7770 __LIBGCC_EH_FRAME_SECTION_NAME__.
7771 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
7772 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
7773 (CTORS_SECTION_ASM_OP): Change all uses to
7774 __LIBGCC_CTORS_SECTION_ASM_OP__.
7775 (DTORS_SECTION_ASM_OP): Change all uses to
7776 __LIBGCC_DTORS_SECTION_ASM_OP__.
7777 (JCR_SECTION_NAME): Change all uses to
7778 __LIBGCC_JCR_SECTION_NAME__.
7779 (INIT_SECTION_ASM_OP): Change all uses to
7780 __LIBGCC_INIT_SECTION_ASM_OP__.
7781 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7782 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7783 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
7784 __LIBGCC_STACK_GROWS_DOWNWARD__.
7785 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
7786 __LIBGCC_INIT_SECTION_ASM_OP__.
7787 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7788 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7789 (EH_FRAME_SECTION_NAME): Change all uses to
7790 __LIBGCC_EH_FRAME_SECTION_NAME__.
7791 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
7792 definitions. Change all uses to
7793 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
7794 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
7795 __LIBGCC_STACK_GROWS_DOWNWARD__.
7796 (DWARF_FRAME_REGISTERS): Change all uses to
7797 __LIBGCC_DWARF_FRAME_REGISTERS__.
7798 (EH_RETURN_STACKADJ_RTX): Change all uses to
7799 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7800 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7801 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7802 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7803 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7804 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7805
7806 2014-09-02 Nathan sidwell <nathan (a] acm.org>
7807
7808 * libgcov-interface.c (STRONG_ALIAS): New.
7809 (__gcov_flush): Call __gcov_reset_int.
7810 (__gcov_reset): Strong alias for ...
7811 (__gcov_reset_ing): ... this renamed hidden version.
7812 * libgcov.h (__gcov_reset_int): New declaration.
7813
7814 2014-08-19 Yaakov Selkowitz <yselkowi (a] redhat.com>
7815
7816 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7817 call from here...
7818 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7819 (__dso_handle): Define on Cygwin.
7820 * config/i386/t-cygming (crtbeginS.o): New rule.
7821 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7822
7823 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7824 declaration syntax.
7825
7826 2014-08-13 Steve Ellcey <sellcey (a] mips.com>
7827
7828 * crtstuff.c: Undef caddr_t.
7829
7830 2014-08-12 Steve Ellcey <sellcey (a] mips.com>
7831
7832 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
7833
7834 2014-08-07 Nathan Sidwell <nathan (a] acm.org>
7835
7836 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7837 (LIBGCOV_DRIVER): ... to here.
7838 * libgcov.h (gcov_do_dump): New #define.
7839 (struct gcov_root): New.
7840 (__gcov_root): New declaration.
7841 (__gcov_dump_one): Declare.
7842 * libgcov-driver.c (gcov_list, gcov_dump_complete,
7843 run_accounted): Delete.
7844 (gcov_compute_histogram): Add LIST argument, adjust.
7845 (compute_summary): Adjust gcov_compute_histogram call.
7846 (gcov_do_dump): Not hidden, static in libgcov.
7847 (gcov_clear): Move to interface.c.
7848 (__gcov_dump_one): New, broken out of ...
7849 (gcov_exit): ... here. Make static.
7850 (__gcov_root): New.
7851 (__gcov_init): Adjust.
7852 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7853 declarations.
7854 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7855 (gcov_clear): Moved from driver.c. Add LIST argument.
7856 (__gcov_reset): Adjust for changed interfaces.
7857 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7858
7859 2014-08-04 Rohit <rohitarulraj (a] freescale.com>
7860
7861 PR target/60102
7862 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
7863 based on change in SPE high register numbers and 3 HTM registers.
7864
7865 2014-08-01 Nathan Sidwell <nathan (a] acm.org>
7866
7867 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7868 LIBGCOV_INTERFACE): Reformat.
7869 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7870 IN_GCOV_TOOL.
7871 * libgcov-interface.c: Reformat some comments.
7872 (__gcov_flush_mx): Add declaration. Tidy up definition.
7873
7874 2014-07-31 Alan Modra <amodra (a] gmail.com>
7875 Peter Bergner <bergner (a] vnet.ibm.com>
7876
7877 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7878 (pack_ldouble): New function.
7879 (__gcc_qadd): Use it.
7880 (__gcc_qmul): Likewise.
7881 (__gcc_qdiv): Likewise.
7882 (__gcc_qneg): Likewise.
7883 (__gcc_stoq): Likewise.
7884 (__gcc_dtoq): Likewise.
7885
7886 2014-07-30 J. D. Johnston <jjohnst (a] us.ibm.com>
7887
7888 * config/s390/tpf-unwind.h: Include <stdbool.h>.
7889 (__tpf_eh_return): Add original return address as second parameter.
7890 Handle cases where unwinder routines were called directly, instead
7891 of from within the C++ library.
7892
7893 2014-07-29 Nathan Sidwell <nathan (a] acm.org>
7894
7895 * libgcov.h: Move renaming of entry points to lib gcov specific
7896 portion.
7897 (gcov_do_dump): New rename.
7898 (gcov_rewrite): Remove inline, make HIDDEN.
7899 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7900 (gcov_exit_compute_summary): Rename to ...
7901 (compute_summary): ... here. Add LIST argument.
7902 (gcov_exit_merge_gcda): Rename to ...
7903 (merge_one_data): ... here.
7904 (gcov_exit_write_gcda): Rename to ...
7905 (write_one_data): ... here.
7906 (gcov_exit_merge_summary): Rename to ...
7907 (merge_summary): Add RUN_COUNTED argument.
7908 (gcov_exit_dump_gcov): Rename to ...
7909 (dump_one_gcov): Add RUN_COUNTED argument.
7910 (gcov_do_dump): New function, broken out of ...
7911 (gcov_exit): ... here. Call it.
7912
7913 2014-07-27 Anthony Green <green (a] moxielogic.com>
7914
7915 * config.host: Add moxiebox configuration suppport.
7916
7917 2014-07-27 Nathan Sidwell <nathan (a] acm.org>
7918
7919 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7920 (struct gcov_filename): ... here. Include buffer and max length
7921 fields.
7922 (gcov_max_filename): Remove.
7923 (gi_filename): Remove.
7924 (gcov_exit_compute_summary): Compute max filename here.
7925 (gcov_exit_merge_gcda): Add filename parm, adjust.
7926 (gcov_exit_merge_summary): Likewise.
7927 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7928 (gcov_exit): Likewise.
7929 (__gcov_init): Don't calculate max length here.
7930 * libgcov_util.c (max_filename_len): Remove.
7931 (read_gcda_file): Don't calculate max length here.
7932 (gcov_read_profile_dir): Don't propagate here.
7933 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7934 struct gcov_filename changes.
7935 (gcov_exit_open_gcda_file): Likewise.
7936
7937 2014-07-25 Nathan Sidwell <nathan (a] acm.org>
7938
7939 * libgcov-driver.c (set_gcov_dump_complete,
7940 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7941 functions polluting user's namespace.
7942 (gcov_exit): Set variable directly.
7943 (gcov_clear): Reset variable directly.
7944 * libgcov-interface.c (get_gcov_dymp_complete,
7945 reset_gov_dump_complete): Remove declarations.
7946 (__gcov_reset, __gcov_dump): Don't call them.
7947
7948 2014-07-24 DJ Delorie <dj (a] redhat.com>
7949
7950 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
7951 (__gcc_deregister_frame): Move logic to detect deregister function
7952 to ...
7953 (__gcc_register_frame): here, so it's consistent with the register
7954 logic.
7955
7956 2014-07-23 Nathan Sidwell <nathan (a] acm.org>
7957
7958 * libgcov-driver.c (set_gcov_list): Remove.
7959 (gcov_list): Make non-static in GCOV_TOOL.
7960 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7961
7962 2014-07-17 John David Anglin <danglin (a] gcc.gnu.org>
7963
7964 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7965 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7966 Don't use SYNC_LOCK_RELEASE for int type.
7967
7968 2014-07-14 Richard Biener <rguenther (a] suse.de>
7969
7970 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7971
7972 2014-07-11 Rong Xu <xur (a] google.com>
7973
7974 * libgcov-util.c (gcov_max_filename): Fix declartion.
7975
7976 2014-07-10 Rong Xu <xur (a] google.com>
7977
7978 Add gcov-tool: an offline gcda profile processing tool
7979 Support.
7980 * libgcov-driver.c (gcov_max_filename): Make available
7981 to gcov-tool.
7982 * libgcov-merge.c (__gcov_merge_add): Replace
7983 gcov_read_counter() with a Macro.
7984 (__gcov_merge_ior): Ditto.
7985 (__gcov_merge_time_profile): Ditto.
7986 (__gcov_merge_single): Ditto.
7987 (__gcov_merge_delta): Ditto.
7988 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7989 in the utility functions.
7990 (set_fn_ctrs): Utility function for reading gcda files to in-memory
7991 gcov_list object link lists.
7992 (tag_function): Ditto.
7993 (tag_blocks): Ditto.
7994 (tag_arcs): Ditto.
7995 (tag_lines): Ditto.
7996 (tag_counters): Ditto.
7997 (tag_summary): Ditto.
7998 (read_gcda_finalize): Ditto.
7999 (read_gcda_file): Ditto.
8000 (ftw_read_file): Ditto.
8001 (read_profile_dir_init): Ditto.
8002 (gcov_read_profile_dir): Ditto.
8003 (gcov_read_counter_mem): Ditto.
8004 (gcov_get_merge_weight): Ditto.
8005 (merge_wrapper): A wrapper function that calls merging handler.
8006 (gcov_merge): Merge two gcov_info objects with weights.
8007 (find_match_gcov_info): Find the matched gcov_info in the list.
8008 (gcov_profile_merge): Merge two gcov_info object lists.
8009 (__gcov_add_counter_op): Process edge profile counter values.
8010 (__gcov_ior_counter_op): Process IOR profile counter values.
8011 (__gcov_delta_counter_op): Process delta profile counter values.
8012 (__gcov_single_counter_op): Process single profile counter values.
8013 (fp_scale): Callback function for float-point scaling.
8014 (int_scale): Callback function for integer fraction scaling.
8015 (gcov_profile_scale): Scaling profile counters.
8016 (gcov_profile_normalize): Normalize profile counters.
8017 * libgcov.h: Add headers and functions for gcov-tool use.
8018 (gcov_get_counter): New.
8019 (gcov_get_counter_target): Ditto.
8020 (struct gcov_info): Make the functions field mutable in gcov-tool
8021 compilation.
8022
8023 2014-06-23 Kai Tietz <ktietz (a] redhat.com>
8024
8025 PR libgcc/61585
8026 * unwind-seh.c (_Unwind_GetGR): Check for proper
8027 index range.
8028 (_Unwind_SetGR): Likewise.
8029
8030 2014-05-22 Nick Clifton <nickc (a] redhat.com>
8031
8032 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
8033 -mhwmult=none.
8034
8035 2014-05-22 Teresa Johnson <tejohnson (a] google.com>
8036
8037 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
8038 include.
8039
8040 2014-05-20 John Marino <gnugcc (a] marino.st>
8041
8042 * config.host (*-*-dragonfly*): New target.
8043 * crtstuff.c: Make dl_iterate_support generic on *bsd.
8044 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
8045 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
8046 * config/i386/dragonfly-unwind.h: New.
8047
8048 2014-05-21 Maciej W. Rozycki <macro (a] codesourcery.com>
8049
8050 PR libgcc/60166
8051 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
8052 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
8053
8054 2014-05-13 Bernd Edlinger <bernd.edlinger (a] hotmail.de>
8055
8056 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
8057 implementation.
8058
8059 2014-05-12 Georg-Johann Lay <avr (a] gjlay.de>
8060
8061 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
8062
8063 2014-05-08 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8064
8065 PR libgcc/61097
8066 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
8067 if --enable-shared.
8068
8069 2014-04-30 Bernd Edlinger <bernd.edlinger (a] hotmail.de>
8070
8071 Work around for current cygwin32 build problems.
8072 * config/i386/cygming-crtbegin.c (__register_frame_info,
8073 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
8074 functions only for 64-bit systems.
8075
8076 2014-04-25 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8077
8078 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
8079 (sigill_caught, sigill_hdlr): Remove.
8080
8081 2014-04-22 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8082
8083 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
8084 check.
8085 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8086 Solaris 9 single-threaded support.
8087 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8088 Solaris 9 single-threaded support. Add call_user_handler code
8089 sequences.
8090 (sparc_is_sighandler): Likewise.
8091
8092 2014-03-27 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
8093
8094 * config.host: Append t-floattodi to tmake_file depending on
8095 host_address.
8096
8097 2014-03-20 Joel Sherrill <joel.sherrill (a] oarcorp.com>
8098
8099 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
8100
8101 2014-03-10 Uros Bizjak <ubizjak (a] gmail.com>
8102
8103 PR libgcc/60472
8104 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
8105 variable to avoid "array subscript is above array bounds" warnings.
8106 Use __builtin_expect when checking *jcr_list for NULL.
8107
8108 2014-03-06 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8109
8110 PR libgcc/59339
8111 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
8112 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
8113 vtv_*.o to extra_parts if enable_vtable_verify.
8114
8115 2014-03-06 Nick Clifton <nickc (a] redhat.com>
8116
8117 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
8118 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
8119
8120 2014-02-28 Joey Ye <joey.ye (a] arm.com>
8121
8122 PR libgcc/60166
8123 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
8124 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
8125 Set to zero.
8126
8127 2014-02-24 Walter Lee <walt (a] tilera.com>
8128
8129 * config.host: Support "tilegx*" and "tilepro*" triplets.
8130 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
8131 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
8132
8133 2014-02-20 Sandra Loosemore <sandra (a] codesourcery.com>
8134 Chung-Lin Tang <cltang (a] codesourcery.com>
8135
8136 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
8137 * config/nios2/crti.S: Remove .file directive.
8138 * config/nios2/crtn.S: Likewise.
8139
8140 2014-02-18 Kai Tietz <ktietz (a] redhat.com>
8141 Jonathan Schleifer <js (a] webkeks.org>
8142
8143 PR objc/56870
8144 * unwind-seh.c (_GCC_specific_handler): Pass proper
8145 value to unwind-handler.
8146
8147 2014-02-12 Joseph Myers <joseph (a] codesourcery.com>
8148
8149 * soft-fp/adddf3.c: Update from glibc.
8150 * soft-fp/addsf3.c: Likewise.
8151 * soft-fp/addtf3.c: Likewise.
8152 * soft-fp/divdf3.c: Likewise.
8153 * soft-fp/divsf3.c: Likewise.
8154 * soft-fp/divtf3.c: Likewise.
8155 * soft-fp/double.h: Likewise.
8156 * soft-fp/eqdf2.c: Likewise.
8157 * soft-fp/eqsf2.c: Likewise.
8158 * soft-fp/eqtf2.c: Likewise.
8159 * soft-fp/extenddftf2.c: Likewise.
8160 * soft-fp/extended.h: Likewise.
8161 * soft-fp/extendsfdf2.c: Likewise.
8162 * soft-fp/extendsftf2.c: Likewise.
8163 * soft-fp/extendxftf2.c: Likewise.
8164 * soft-fp/fixdfdi.c: Likewise.
8165 * soft-fp/fixdfsi.c: Likewise.
8166 * soft-fp/fixdfti.c: Likewise.
8167 * soft-fp/fixsfdi.c: Likewise.
8168 * soft-fp/fixsfsi.c: Likewise.
8169 * soft-fp/fixsfti.c: Likewise.
8170 * soft-fp/fixtfdi.c: Likewise.
8171 * soft-fp/fixtfsi.c: Likewise.
8172 * soft-fp/fixtfti.c: Likewise.
8173 * soft-fp/fixunsdfdi.c: Likewise.
8174 * soft-fp/fixunsdfsi.c: Likewise.
8175 * soft-fp/fixunsdfti.c: Likewise.
8176 * soft-fp/fixunssfdi.c: Likewise.
8177 * soft-fp/fixunssfsi.c: Likewise.
8178 * soft-fp/fixunssfti.c: Likewise.
8179 * soft-fp/fixunstfdi.c: Likewise.
8180 * soft-fp/fixunstfsi.c: Likewise.
8181 * soft-fp/fixunstfti.c: Likewise.
8182 * soft-fp/floatdidf.c: Likewise.
8183 * soft-fp/floatdisf.c: Likewise.
8184 * soft-fp/floatditf.c: Likewise.
8185 * soft-fp/floatsidf.c: Likewise.
8186 * soft-fp/floatsisf.c: Likewise.
8187 * soft-fp/floatsitf.c: Likewise.
8188 * soft-fp/floattidf.c: Likewise.
8189 * soft-fp/floattisf.c: Likewise.
8190 * soft-fp/floattitf.c: Likewise.
8191 * soft-fp/floatundidf.c: Likewise.
8192 * soft-fp/floatundisf.c: Likewise.
8193 * soft-fp/floatunditf.c: Likewise.
8194 * soft-fp/floatunsidf.c: Likewise.
8195 * soft-fp/floatunsisf.c: Likewise.
8196 * soft-fp/floatunsitf.c: Likewise.
8197 * soft-fp/floatuntidf.c: Likewise.
8198 * soft-fp/floatuntisf.c: Likewise.
8199 * soft-fp/floatuntitf.c: Likewise.
8200 * soft-fp/gedf2.c: Likewise.
8201 * soft-fp/gesf2.c: Likewise.
8202 * soft-fp/getf2.c: Likewise.
8203 * soft-fp/ledf2.c: Likewise.
8204 * soft-fp/lesf2.c: Likewise.
8205 * soft-fp/letf2.c: Likewise.
8206 * soft-fp/muldf3.c: Likewise.
8207 * soft-fp/mulsf3.c: Likewise.
8208 * soft-fp/multf3.c: Likewise.
8209 * soft-fp/negdf2.c: Likewise.
8210 * soft-fp/negsf2.c: Likewise.
8211 * soft-fp/negtf2.c: Likewise.
8212 * soft-fp/op-1.h: Likewise.
8213 * soft-fp/op-2.h: Likewise.
8214 * soft-fp/op-4.h: Likewise.
8215 * soft-fp/op-8.h: Likewise.
8216 * soft-fp/op-common.h: Likewise.
8217 * soft-fp/quad.h: Likewise.
8218 * soft-fp/single.h: Likewise.
8219 * soft-fp/soft-fp.h: Likewise.
8220 * soft-fp/subdf3.c: Likewise.
8221 * soft-fp/subsf3.c: Likewise.
8222 * soft-fp/subtf3.c: Likewise.
8223 * soft-fp/truncdfsf2.c: Likewise.
8224 * soft-fp/trunctfdf2.c: Likewise.
8225 * soft-fp/trunctfsf2.c: Likewise.
8226 * soft-fp/trunctfxf2.c: Likewise.
8227 * soft-fp/unorddf2.c: Likewise.
8228 * soft-fp/unordsf2.c: Likewise.
8229 * soft-fp/unordtf2.c: Likewise.
8230 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
8231 macro.
8232 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8233 Likewise.
8234 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8235 Likewise.
8236 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8237 Likewise.
8238 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8239 Likewise.
8240 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8241 Likewise.
8242 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8243 Likewise.
8244 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8245 Likewise.
8246 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8247 Likewise.
8248 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8249 Likewise.
8250 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8251 Likewise.
8252 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8253 Likewise.
8254 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8255 Likewise.
8256 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
8257 Likewise.
8258 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
8259 Likewise.
8260 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8261 Likewise.
8262
8263 2014-02-07 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
8264
8265 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
8266 cannot be represented.
8267 * config/s390/32/_fixsfdi.c: Likewise.
8268 * config/s390/32/_fixtfdi.c: Likewise.
8269 * config/s390/32/_fixunsdfdi.c: Likewise.
8270 * config/s390/32/_fixunssfdi.c: Likewise.
8271 * config/s390/32/_fixunstfdi.c: Likewise.
8272
8273 2014-02-07 Richard Sandiford <rdsandiford (a] googlemail.com>
8274
8275 * configure.ac (libgcc_cv_mips_hard_float): New.
8276 * configure: Regenerate.
8277 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
8278 t-softfp-sfdf for hard-float targets.
8279 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
8280 (softfp_float_modes, softfp_int_modes, softfp_extensions)
8281 (softfp_truncations, softfp_exclude_libgcc2): New.
8282 * config/t-hardfp: New file.
8283 * config/t-hardfp-sfdf: Likewise.
8284 * config/hardfp.c: Likewise.
8285
8286 2014-02-05 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
8287
8288 * config.host: Include t-floattodi also for s390x.
8289 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
8290 * config/s390/32/_fixsfdi.c: Likewise.
8291 * config/s390/32/_fixtfdi.c: Likewise.
8292 * config/s390/32/_fixunsdfdi.c: Likewise.
8293 * config/s390/32/_fixunssfdi.c: Likewise.
8294 * config/s390/32/_fixunstfdi.c: Likewise.
8295
8296 2014-02-04 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8297
8298 PR target/59788
8299 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
8300 (install-libgcc-unwind-map-forbuild): New target.
8301 (all): Depend on install-libgcc-unwind-map-forbuild.
8302 (install-libgcc-unwind-map): New target.
8303 (install): Depend on install-libgcc-unwind-map.
8304
8305 2014-02-02 Sandra Loosemore <sandra (a] codesourcery.com>
8306
8307 * config/nios2/crti.S (_init): Initialize GOT pointer from
8308 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
8309
8310 2014-02-02 Richard Sandiford <rdsandiford (a] googlemail.com>
8311
8312 * configure.ac: Check __mips64 when setting host_address.
8313 * configure: Regenerate.
8314 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
8315 mips/t-mips64 and t-softfp.
8316 (mips*-*-linux*): Don't add mips/t-tpbit.
8317 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
8318 (DPBIT, DPBIT_CFLAGS): Delete.
8319 * config/mips/sfp-machine.h: New file.
8320 * config/mips/t-mips64: Likewise.
8321 * config/mips/t-softfp-tf: Likewise.
8322 * config/mips/t-tpbit: Delete.
8323
8324 2014-01-29 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
8325
8326 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
8327 as long long.
8328
8329 2014-01-25 Walter Lee <walt (a] tilera.com>
8330
8331 * config/tilepro/atomic.c: Include tconfig.h. Don't include
8332 config.h or system.h.
8333 (bool) Define.
8334
8335 2014-01-25 Walter Lee <walt (a] tilera.com>
8336
8337 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
8338 (post_atomic_barrier): Ditto.
8339 (__fetch_and_do): New macro.
8340 (__atomic_fetch_and_do): Use __fetch_and_do.
8341 (__sync_fetch_and_do): New macro.
8342 (__sync_fetch_and_add_4): New function.
8343 (__sync_fetch_and_sub_4): New function.
8344 (__sync_fetch_and_or_4): New function.
8345 (__sync_fetch_and_and_4): New function.
8346 (__sync_fetch_and_xor_4): New function.
8347 (__sync_fetch_and_nand_4): New function.
8348 (__sync_fetch_and_add_8): New function.
8349 (__sync_fetch_and_sub_8): New function.
8350 (__sync_fetch_and_or_8): New function.
8351 (__sync_fetch_and_and_8): New function.
8352 (__sync_fetch_and_xor_8): New function.
8353 (__sync_fetch_and_nand_8): New function.
8354 (__do_and_fetch): New macro.
8355 (__atomic_do_and_fetch): Use __do_and_fetch.
8356 (__sync_do_and_fetch): New macro.
8357 (__sync_add_and_fetch_4): New function.
8358 (__sync_sub_and_fetch_4): New function.
8359 (__sync_or_and_fetch_4): New function.
8360 (__sync_and_and_fetch_4): New function.
8361 (__sync_xor_and_fetch_4): New function.
8362 (__sync_nand_and_fetch_4): New function.
8363 (__sync_add_and_fetch_8): New function.
8364 (__sync_sub_and_fetch_8): New function.
8365 (__sync_or_and_fetch_8): New function.
8366 (__sync_and_and_fetch_8): New function.
8367 (__sync_xor_and_fetch_8): New function.
8368 (__sync_nand_and_fetch_8): New function.
8369 (__sync_exchange_methods): New macro.
8370 (__sync_val_compare_and_swap_4): New function.
8371 (__sync_bool_compare_and_swap_4): New function.
8372 (__sync_lock_test_and_test_4): New function.
8373 (__sync_val_compare_and_swap_8): New function.
8374 (__sync_bool_compare_and_swap_8): New function.
8375 (__sync_lock_test_and_test_8): New function.
8376 (__subword_cmpxchg_body): New macro.
8377 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
8378 (__atomic_compare_exchange_2): Ditto.
8379 (__sync_subword_cmpxchg): New macro.
8380 (__sync_val_compare_and_swap_1): New function.
8381 (__sync_bool_compare_and_swap_1): New function.
8382 (__sync_val_compare_and_swap_2): New function.
8383 (__sync_bool_compare_and_swap_2): New function.
8384 (__atomic_subword): Rename to ...
8385 (__subword): ... New name.
8386 (__atomic_subword_fetch): Use __subword.
8387 (__sync_subword_fetch): New macro.
8388 (__sync_fetch_and_add_1): New function.
8389 (__sync_fetch_and_sub_1): New function.
8390 (__sync_fetch_and_or_1): New function.
8391 (__sync_fetch_and_and_1): New function.
8392 (__sync_fetch_and_xor_1): New function.
8393 (__sync_fetch_and_nand_1): New function.
8394 (__sync_fetch_and_add_2): New function.
8395 (__sync_fetch_and_sub_2): New function.
8396 (__sync_fetch_and_or_2): New function.
8397 (__sync_fetch_and_and_2): New function.
8398 (__sync_fetch_and_xor_2): New function.
8399 (__sync_fetch_and_nand_2): New function.
8400 (__sync_add_and_fetch_1): New function.
8401 (__sync_sub_and_fetch_1): New function.
8402 (__sync_or_and_fetch_1): New function.
8403 (__sync_and_and_fetch_1): New function.
8404 (__sync_xor_and_fetch_1): New function.
8405 (__sync_nand_and_fetch_1): New function.
8406 (__sync_add_and_fetch_2): New function.
8407 (__sync_sub_and_fetch_2): New function.
8408 (__sync_or_and_fetch_2): New function.
8409 (__sync_and_and_fetch_2): New function.
8410 (__sync_xor_and_fetch_2): New function.
8411 (__sync_nand_and_fetch_2): New function.
8412 (__atomic_subword_lock): Use __subword.
8413 (__sync_subword_lock): New macro.
8414 (__sync_lock_test_and_set_1): New function.
8415 (__sync_lock_test_and_set_2): New function.
8416
8417 2014-01-25 Walter Lee <walt (a] tilera.com>
8418
8419 * config/tilepro/atomic.c (BIT_OFFSET): Define.
8420 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
8421 (__atomic_subword): Ditto.
8422
8423 2014-01-25 Walter Lee <walt (a] tilera.com>
8424
8425 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
8426 a prefix op argument.
8427 (__atomic_nand_fetch_4): Add prefix op.
8428 (__atomic_nand_fetch_8): Ditto.
8429
8430 2014-01-21 Baruch Siach <barch (a] tkos.co.il>
8431
8432 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
8433
8434 2014-01-09 Rong Xu <xur (a] google.com>
8435
8436 * libgcov-driver.c (this_prg): make it local to save
8437 bss space.
8438 (gcov_exit_compute_summary): Ditto.
8439 (gcov_exit_merge_gcda): Ditto.
8440 (gcov_exit_merge_summary): Ditto.
8441 (gcov_exit_dump_gcov): Ditto.
8442
8443 2014-01-08 Rong Xu <xur (a] google.com>
8444
8445 * libgcov-driver.c: Use libgcov.h.
8446 (buffer_fn_data): Use xmalloc instead of malloc.
8447 (gcov_exit_merge_gcda): Ditto.
8448 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
8449 * libgcov.h: New common header files for libgcov-*.h.
8450 * libgcov-interface.c: Use libgcov.h
8451 * libgcov-merge.c: Ditto.
8452 * libgcov-profiler.c: Ditto.
8453 * Makefile.in: Add dependence to libgcov.h
8454
8455 2014-01-02 Joseph Myers <joseph (a] codesourcery.com>
8456
8457 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
8458 case of small numerator and finite nonzero result.
8459
8460 2014-01-02 Richard Sandiford <rdsandiford (a] googlemail.com>
8461
8462 Update copyright years
8463
8464 2014-01-02 Richard Sandiford <rdsandiford (a] googlemail.com>
8465
8466 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
8467 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
8468 config/arc/dp-hack.h, config/arc/fp-hack.h,
8469 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
8470 config/arc/ieee-754/arc600-dsp/divdf3.S,
8471 config/arc/ieee-754/arc600-dsp/divsf3.S,
8472 config/arc/ieee-754/arc600-dsp/muldf3.S,
8473 config/arc/ieee-754/arc600-dsp/mulsf3.S,
8474 config/arc/ieee-754/arc600-mul64/divdf3.S,
8475 config/arc/ieee-754/arc600-mul64/divsf3.S,
8476 config/arc/ieee-754/arc600-mul64/muldf3.S,
8477 config/arc/ieee-754/arc600-mul64/mulsf3.S,
8478 config/arc/ieee-754/arc600/divsf3.S,
8479 config/arc/ieee-754/arc600/mulsf3.S,
8480 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
8481 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
8482 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
8483 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
8484 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
8485 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
8486 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
8487 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
8488 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
8489 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
8490 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
8491 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
8492 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
8493 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
8494 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
8495 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
8496 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
8497 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
8498 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
8499 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
8500 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
8501 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
8502 vtv_start_preinit.c: Use the standard form for the copyright notice.
8503
8504 2013-12-31 Sandra Loosemore <sandra (a] codesourcery.com>
8505 Chung-Lin Tang <cltang (a] codesourcery.com>
8506 Based on patches from Altera Corporation
8507
8508 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
8509 * config/nios2/lib2-nios2.h: New file.
8510 * config/nios2/lib2-divmod-hi.c: New file.
8511 * config/nios2/linux-unwind.h: New file.
8512 * config/nios2/lib2-divmod.c: New file.
8513 * config/nios2/linux-atomic.c: New file.
8514 * config/nios2/t-nios2: New file.
8515 * config/nios2/crti.asm: New file.
8516 * config/nios2/t-linux: New file.
8517 * config/nios2/lib2-divtable.c: New file.
8518 * config/nios2/lib2-mul.c: New file.
8519 * config/nios2/tramp.c: New file.
8520 * config/nios2/crtn.asm: New file.
8521
8522 2013-12-26 Uros Bizjak <ubizjak (a] gmail.com>
8523
8524 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
8525 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
8526 from cpuid.h to check vendor signatures.
8527
8528 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian (a] amd.com>
8529
8530 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
8531 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
8532 (get_amd_cpu): Likewise.
8533
8534 2013-12-25 H.J. Lu <hongjiu.lu (a] intel.com>
8535
8536 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
8537 Haswell.
8538
8539 2013-12-25 Allan Sandfeld Jensen <sandfeld (a] kde.org>
8540 H.J. Lu <hongjiu.lu (a] intel.com>
8541
8542 PR target/59422
8543 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
8544 and AMD_JAGUAR.
8545 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
8546 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
8547 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
8548 FEATURE_XOP and FEATURE_FMA.
8549 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
8550 AMDFAM15H_BDVER3.
8551 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
8552 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
8553 FEATURE_FMA4 and FEATURE_XOP.
8554
8555 2013-12-23 H.J. Lu <hongjiu.lu (a] intel.com>
8556
8557 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
8558 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
8559 (get_intel_cpu): Updated.
8560
8561 2013-12-12 Zhenqiang Chen <zhenqiang.chen (a] arm.com>
8562
8563 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
8564
8565 2013-12-09 Uros Bizjak <ubizjak (a] gmail.com>
8566
8567 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8568 instructions when __SSE_MATH__ is defined.
8569
8570 2013-12-06 Ralf Corspius <ralf.corsepius (a] rtems.org>
8571
8572 * config.host (microblaze-*-rtems*): New.
8573
8574 2013-12-04 Kugan Vivekanandarajah <kuganv (a] linaro.org>
8575
8576 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
8577 architectures that do not have hardware divide instruction.
8578 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
8579
8580 2013-12-04 Richard Sandiford <rdsandiford (a] googlemail.com>
8581
8582 * longlong.h: Delete (moved to include/).
8583
8584 2013-12-03 Adhemerval Zanella <azanella (a] linux.vnet.ibm.com>
8585
8586 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
8587 of normal number and qNaN to not raise an inexact exception.
8588
8589 2013-11-28 Uros Bizjak <ubizjak (a] gmail.com>
8590
8591 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
8592
8593 2013-11-28 Matthew Leach <matthew.leach (a] arm.com>
8594
8595 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
8596 for correct opcodes on BE.
8597
8598 2013-11-27 Uros Bizjak <ubizjak (a] gmail.com>
8599
8600 * soft-fp/op-4.h: Update from glibc.
8601
8602 2013-11-27 Kugan Vivekanandarajah <kuganv (a] linaro.org>
8603
8604 * libgcc2.c (__udivmoddi4): Define new implementation when
8605 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
8606 divide instructions.
8607
8608 2013-11-25 Oleg Endo <olegendo (a] gcc.gnu.org>
8609
8610 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
8611
8612 2013-11-25 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8613
8614 * config/t-softfp (soft-fp-objects-base): New variable.
8615 (soft-fp-objects): Use it.
8616
8617 2013-11-23 David Edelson <dje.gcc (a] gmail.com>
8618 Andrew Dixie <andrewd (a] gentrack.com>
8619
8620 PR target/33704
8621 * config/rs6000/aixinitfini.c: New file.
8622 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
8623 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
8624 symbols.
8625
8626 2013-11-22 Yuri Rumyantsev <ysrumyan (a] gmail.com>
8627
8628 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
8629
8630 2013-11-18 Jan Hubicka <jh (a] suse.cz>
8631
8632 * libgcov-driver.c (run_accounted): Make global level static.
8633 (gcov_exit_merge_summary): Silence warning; do not clear
8634 run_accounted here.
8635 (gcov_exit): Clear it here.
8636
8637 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
8638 run_accounted.
8639
8640 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
8641 (all_prg, crc32): Remove static vars.
8642 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
8643 all_prg.
8644 (gcov_exit_merge_gcda): Add crc32 parameter.
8645 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
8646 do not account run if it was already accounted.
8647 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
8648 (gcov_exit): Initialize all_prg; update.
8649
8650 2013-11-15 Andreas Schwab <schwab (a] linux-m68k.org>
8651
8652 * configure: Regenerate.
8653
8654 2013-11-14 Ulrich Weigand <Ulrich.Weigand (a] de.ibm.com>
8655 Alan Modra <amodra (a] gmail.com>
8656
8657 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
8658 (frob_update_context): Use it.
8659
8660 2013-11-14 Ulrich Weigand <Ulrich.Weigand (a] de.ibm.com>
8661 Alan Modra <amodra (a] gmail.com>
8662
8663 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
8664 (trampoline_initial): Provide ELFv2 variant.
8665 (__trampoline_setup): Likewise.
8666
8667 * config/rs6000/linux-unwind.h (frob_update_context): Do not
8668 check for AIX indirect function call sequence if _CALL_ELF == 2.
8669
8670 2013-11-14 Ulrich Weigand <Ulrich.Weigand (a] de.ibm.com>
8671 Alan Modra <amodra (a] gmail.com>
8672
8673 * config/rs6000/linux-unwind.h (get_regs): Do not support
8674 old kernel versions if _CALL_ELF == 2.
8675 (frob_update_context): Do not support PLT stub variants only
8676 generated by old linkers if _CALL_ELF == 2.
8677
8678 2013-11-14 Ulrich Weigand <Ulrich.Weigand (a] de.ibm.com>
8679 Alan Modra <amodra (a] gmail.com>
8680
8681 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
8682 location of CR save area for 64-bit little-endian systems.
8683
8684 2013-11-11 Eric Botcazou <ebotcazou (a] adacore.com>
8685
8686 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
8687 in tmake_file.
8688 * config/arm/t-vxworks: Delete.
8689
8690 2013-11-10 Kai Tietz <ktietz (a] redhat.com>
8691
8692 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
8693 Increment load-count on use of LIBGCC_SONAME DLL.
8694 (hmod_libgcc): New static variable to hold handle of
8695 LIBGCC_SONAME DLL.
8696 (__gcc_deregister_frame): Decrement load-count of
8697 LIBGCC_SONAME DLL.
8698
8699 2013-11-08 Bernhard Reutner-Fischer <aldot (a] gcc.gnu.org>
8700
8701 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
8702 availability.
8703 * configure: Regenerate
8704
8705 2013-11-07 Uros Bizjak <ubizjak (a] gmail.com>
8706
8707 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
8708 FP_EX_DENORM. Store result to volatile location after SSE division
8709 to close interrupt window. Remove unneeded fwait after x87
8710 division since interrupt window will be closed by emitted fstp.
8711 Rewrite FP_EX_INEXACT handling.
8712
8713 2013-11-06 Joseph Myers <joseph (a] codesourcery.com>
8714
8715 * soft-fp/README: Update.
8716 * soft-fp/adddf3.c: Update from glibc.
8717 * soft-fp/addsf3.c: Likewise.
8718 * soft-fp/addtf3.c: Likewise.
8719 * soft-fp/divdf3.c: Likewise.
8720 * soft-fp/divsf3.c: Likewise.
8721 * soft-fp/divtf3.c: Likewise.
8722 * soft-fp/double.h: Likewise.
8723 * soft-fp/eqdf2.c: Likewise.
8724 * soft-fp/eqsf2.c: Likewise.
8725 * soft-fp/eqtf2.c: Likewise.
8726 * soft-fp/extenddftf2.c: Likewise.
8727 * soft-fp/extended.h: Likewise.
8728 * soft-fp/extendsfdf2.c: Likewise.
8729 * soft-fp/extendsftf2.c: Likewise.
8730 * soft-fp/extendxftf2.c: Likewise.
8731 * soft-fp/fixdfdi.c: Likewise.
8732 * soft-fp/fixdfsi.c: Likewise.
8733 * soft-fp/fixdfti.c: Likewise.
8734 * soft-fp/fixsfdi.c: Likewise.
8735 * soft-fp/fixsfsi.c: Likewise.
8736 * soft-fp/fixsfti.c: Likewise.
8737 * soft-fp/fixtfdi.c: Likewise.
8738 * soft-fp/fixtfsi.c: Likewise.
8739 * soft-fp/fixtfti.c: Likewise.
8740 * soft-fp/fixunsdfdi.c: Likewise.
8741 * soft-fp/fixunsdfsi.c: Likewise.
8742 * soft-fp/fixunsdfti.c: Likewise.
8743 * soft-fp/fixunssfdi.c: Likewise.
8744 * soft-fp/fixunssfsi.c: Likewise.
8745 * soft-fp/fixunssfti.c: Likewise.
8746 * soft-fp/fixunstfdi.c: Likewise.
8747 * soft-fp/fixunstfsi.c: Likewise.
8748 * soft-fp/fixunstfti.c: Likewise.
8749 * soft-fp/floatdidf.c: Likewise.
8750 * soft-fp/floatdisf.c: Likewise.
8751 * soft-fp/floatditf.c: Likewise.
8752 * soft-fp/floatsidf.c: Likewise.
8753 * soft-fp/floatsisf.c: Likewise.
8754 * soft-fp/floatsitf.c: Likewise.
8755 * soft-fp/floattidf.c: Likewise.
8756 * soft-fp/floattisf.c: Likewise.
8757 * soft-fp/floattitf.c: Likewise.
8758 * soft-fp/floatundidf.c: Likewise.
8759 * soft-fp/floatundisf.c: Likewise.
8760 * soft-fp/floatunditf.c: Likewise.
8761 * soft-fp/floatunsidf.c: Likewise.
8762 * soft-fp/floatunsisf.c: Likewise.
8763 * soft-fp/floatunsitf.c: Likewise.
8764 * soft-fp/floatuntidf.c: Likewise.
8765 * soft-fp/floatuntisf.c: Likewise.
8766 * soft-fp/floatuntitf.c: Likewise.
8767 * soft-fp/gedf2.c: Likewise.
8768 * soft-fp/gesf2.c: Likewise.
8769 * soft-fp/getf2.c: Likewise.
8770 * soft-fp/ledf2.c: Likewise.
8771 * soft-fp/lesf2.c: Likewise.
8772 * soft-fp/letf2.c: Likewise.
8773 * soft-fp/muldf3.c: Likewise.
8774 * soft-fp/mulsf3.c: Likewise.
8775 * soft-fp/multf3.c: Likewise.
8776 * soft-fp/negdf2.c: Likewise.
8777 * soft-fp/negsf2.c: Likewise.
8778 * soft-fp/negtf2.c: Likewise.
8779 * soft-fp/op-1.h: Likewise.
8780 * soft-fp/op-2.h: Likewise.
8781 * soft-fp/op-4.h: Likewise.
8782 * soft-fp/op-8.h: Likewise.
8783 * soft-fp/op-common.h: Likewise.
8784 * soft-fp/quad.h: Likewise.
8785 * soft-fp/single.h: Likewise.
8786 * soft-fp/soft-fp.h: Likewise.
8787 * soft-fp/subdf3.c: Likewise.
8788 * soft-fp/subsf3.c: Likewise.
8789 * soft-fp/subtf3.c: Likewise.
8790 * soft-fp/truncdfsf2.c: Likewise.
8791 * soft-fp/trunctfdf2.c: Likewise.
8792 * soft-fp/trunctfsf2.c: Likewise.
8793 * soft-fp/trunctfxf2.c: Likewise.
8794 * soft-fp/unorddf2.c: Likewise.
8795 * soft-fp/unordsf2.c: Likewise.
8796 * soft-fp/unordtf2.c: Likewise.
8797
8798 2013-11-05 Uros Bizjak <ubizjak (a] gmail.com>
8799
8800 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8801 (_FP_MUL_MEAT_D): Ditto.
8802 (_FP_DIV_MEAT_S): Ditto.
8803 (_FP_DIV_MEAT_D): Ditto.
8804 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8805 t-softfp-sfdf and t-softfp to tmake_file.
8806
8807 2013-11-03 Uros Bizjak <ubizjak (a] gmail.com>
8808
8809 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8810 * config/i386/crtprec.c: Ditto.
8811
8812 2013-10-31 Chung-Ju Wu <jasonwucj (a] gmail.com>
8813 Shiva Chen <shiva0217 (a] gmail.com>
8814
8815 * config.host (nds32*-elf*): Add nds32 target.
8816 * config/nds32 : New directory and files.
8817
8818 2013-10-16 Hans-Peter Nilsson <hp (a] axis.com>
8819
8820 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
8821 * config.host (cpu_type) <Setting default>: Add entry for
8822 crisv32-*-*.
8823 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8824 <crisv32-*-linux*>: Adjust.
8825 * longlong.h: Wrap the whole CRIS section in a single
8826 defined(__CRIS__) conditional. Add comment about add_ssaaaa
8827 and sub_ddmmss.
8828 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8829 defined.
8830 [__CRIS__] (__umulsidi3): Define.
8831 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8832 * config/cris/sfp-machine.h: New file.
8833 * config/cris/umulsidi3.S: New file.
8834 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8835 * config/cris/arit.c (SIGNMULT): New macro.
8836 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8837 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8838 saving 3 out of originally 33 cycles from the fastest
8839 path, 3 out of 54 from the medium path and one from the longest
8840 path. Improve comments.
8841
8842 2013-10-15 Richard Sandiford <rdsandiford (a] googlemail.com>
8843
8844 * sync.c: Remove static aliases and define each function directly
8845 under its real name.
8846
8847 2013-10-02 John David Anglin <danglin (a] gcc.gnu.org>
8848
8849 * config.host (hppa*64*-*-linux*): Define extra_parts.
8850 (hppa*-*-linux*): Likewise.
8851
8852 2013-10-02 Joern Rennecke <joern.rennecke (a] embecosm.com>
8853
8854 * config/arc/crtgend.S: Add 2013 to Copyright years.
8855 * config/arc/gmon/atomic.h: Likewise.
8856 * config/arc/gmon/auxreg.h: Likewise.
8857 * config/arc/gmon/sys/gmon_out.h: Likewise.
8858 * config/arc/gmon/sys/gmon.h: Likewise.
8859 * config/arc/gmon/prof-freq.c: Likewise.
8860 * config/arc/gmon/mcount.c: Likewise.
8861 * config/arc/gmon/prof-freq-stub.S: Likewise.
8862 * config/arc/gmon/gmon.c: Likewise.
8863 * config/arc/gmon/machine-gmon.h: Likewise.
8864 * config/arc/gmon/profil.S: Likewise.
8865 * config/arc/gmon/dcache_linesz.S: Likewise.
8866 * config/arc/crtg.S: Likewise.
8867 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8868 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8869 * config/arc/ieee-754/adddf3.S: Likewise.
8870 * config/arc/ieee-754/truncdfsf2.S: Likewise.
8871 * config/arc/ieee-754/fixsfsi.S: Likewise.
8872 * config/arc/ieee-754/gtsf2.S: Likewise.
8873 * config/arc/ieee-754/floatsisf.S: Likewise.
8874 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8875 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8876 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8877 * config/arc/ieee-754/fixdfsi.S: Likewise.
8878 * config/arc/ieee-754/addsf3.S: Likewise.
8879 * config/arc/ieee-754/gesf2.S: Likewise.
8880 * config/arc/ieee-754/floatsidf.S: Likewise.
8881 * config/arc/ieee-754/extendsfdf2.S: Likewise.
8882 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8883 * config/arc/ieee-754/gtdf2.S: Likewise.
8884 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8885 * config/arc/ieee-754/uneqdf2.S: Likewise.
8886 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8887 * config/arc/ieee-754/uneqsf2.S: Likewise.
8888 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8889 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8890 * config/arc/ieee-754/eqdf2.S: Likewise.
8891 * config/arc/ieee-754/ordsf2.S: Likewise.
8892 * config/arc/ieee-754/divsf3.S: Likewise.
8893 * config/arc/ieee-754/divdf3.S: Likewise.
8894 * config/arc/ieee-754/floatunsidf.S: Likewise.
8895 * config/arc/ieee-754/orddf2.S: Likewise.
8896 * config/arc/ieee-754/eqsf2.S: Likewise.
8897 * config/arc/ieee-754/gedf2.S: Likewise.
8898 * config/arc/crtn.S: Likewise.
8899 * config/arc/crti.S: Likewise.
8900 * config/arc/t-arc700-uClibc: Likewise.
8901 * config/arc/asm.h: Likewise.
8902 * config/arc/libgcc-excl.ver: Likewise.
8903 * config/arc/t-arc-newlib: Likewise.
8904 * config/arc/divtab-arc700.c: Likewise.
8905 * config/arc/initfini.c: Likewise.
8906 * config/arc/fp-hack.h: Likewise.
8907
8908 2013-10-01 Joern Rennecke <joern.rennecke (a] embecosm.com>
8909 Diego Novillo <dnovillo (a] google.com>
8910
8911 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
8912 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8913 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8914 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8915
8916 2013-10-01 Joern Rennecke <joern.rennecke (a] embecosm.com>
8917 Brendan Kehoe <brendan (a] zen.org>
8918 Simon Cook <simon.cook (a] embecosm.com>
8919
8920 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8921 * config/arc: New directory.
8922 * longlong.h [__arc__] (umul_ppmm): Remove.
8923 [__arc__] (__umulsidi3): Define.
8924 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8925 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8926
8927 2013-09-17 Jacek Caban <jacek (a] codeweavers.com>
8928
8929 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8930 CreateSemaphoreA.
8931 * config/i386/gthr-win32.h: Likewise.
8932
8933 2013-09-16 DJ Delorie <dj (a] redhat.com>
8934
8935 * config/rl78/vregs.h: Add G10 register definitions.
8936 * config/rl78/lib2mul.c: Enable for RL78/G10.
8937 * config/rl78/lib2div.c: Likewise.
8938 * config/rl78/lshrsi3.S: Use vregs.h.
8939 * config/rl78/cmpsi2.S: Likewise.
8940 * config/rl78/trampoline.S: Likewise.
8941 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
8942
8943 2013-09-14 DJ Delorie <dj (a] redhat.com>
8944 Nick Clifton <nickc (a] redhat.com>
8945
8946 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8947 * config/rl78/vregs.h: New.
8948 * config/rl78/signbit.S: New file. Implements signbit function.
8949 * config/rl78/divmodsi.S: New.
8950 * config/rl78/divmodhi.S: New.
8951 * config/rl78/divmodqi.S: New.
8952 * config/rl78/t-rl78: Build them here...
8953 * config/rl78/lib2div.c: ...but not here.
8954
8955 2013-09-12 DJ Delorie <dj (a] redhat.com>
8956
8957 * config.host (msp*-*-elf): New.
8958 * config/msp430/: New port.
8959
8960 2013-08-18 Iain Sandoe <iain (a] codesourcery.com>
8961
8962 PR gcov-profile/58127
8963 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8964 __thread var for emulated TLS.
8965 (__gcov_indirect_call_counters): Likewise.
8966
8967 2013-08-16 Maciej W. Rozycki <macro (a] codesourcery.com>
8968 Catherine Moore <clm (a] codesourcery.com>
8969 Richard Sandiford <rdsandiford (a] googlemail.com>
8970
8971 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8972 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8973 (CALL_STUB_NO_RET): Likewise.
8974 (CALL_STUB_RET): Likewise.
8975 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8976 __mips16_ret call/return stub symbols.
8977 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8978 to tmake_file.
8979
8980 2013-08-13 Maciej W. Rozycki <macro (a] codesourcery.com>
8981
8982 * config.host <mips*-*-linux*>: Remove a stray comment.
8983
8984 2013-08-10 Jan Hubicka <jh (a] suse.cz>
8985
8986 Work around binutils PR14342
8987 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8988 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8989 (L_gcov_indirect_call_profiler_v2): New.
8990
8991 2013-08-06 Jan Hubicka <jh (a] suse.cz>
8992
8993 * libgcov.c (__gcov_indirect_call_callee,
8994 __gcov_indirect_call_counters): New global vars.
8995 (__gcov_indirect_call_profiler): replace by ...
8996 (__gcov_indirect_call_profiler_v2) ... this one.
8997
8998 2013-08-06 Caroline Tice <cmtice (a] google.com>
8999
9000 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
9001 vtv_start_preinit.o and vtv_end_preinit.o.
9002 * configure.ac: Add code to check/set enable_vtable_verify.
9003 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
9004 true.
9005 * vtv_start_preinit.c: New file.
9006 * vtv_end_preinit.c: New file.
9007 * vtv_start.c: New file.
9008 * vtv_end.c: New file.
9009 * configure: Regenerated.
9010
9011 2013-08-01 Maxim Kuvyrkov <maxim (a] kugelworks.com>
9012
9013 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
9014 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
9015 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
9016 GPL-3.0-with-GCC-exception.
9017
9018 2013-07-30 Maciej W. Rozycki <macro (a] codesourcery.com>
9019
9020 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
9021 ISA and up.
9022
9023 2013-07-23 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
9024
9025 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
9026 mapping for FPRs when creating the fallback framestate.
9027
9028 2013-07-19 Georg-Johann Lay <avr (a] gjlay.de>
9029
9030 PR target/57516
9031 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
9032 (__round_s2_const, __round_u2_const)
9033 (__round_s4_const, __round_u4_const, __round_x8):
9034 Saturate result if addition result cannot be represented.
9035
9036 2013-07-15 Matthias Klose <doko (a] ubuntu.com>
9037
9038 * libgcc2.c: Don't include <limits.h>.
9039
9040 2013-07-09 Janis Johnson <janisjo (a] codesourcery.com>
9041
9042 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
9043
9044 2013-07-06 Jakub Jelinek <jakub (a] redhat.com>
9045
9046 PR target/29776
9047 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
9048
9049 2013-06-28 Jakub Jelinek <jakub (a] redhat.com>
9050
9051 PR middle-end/36041
9052 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
9053 Define.
9054 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
9055 instead of table lookups.
9056 (__popcountDI2): Likewise.
9057
9058 2013-06-25 Chung-Ju Wu <jasonwucj (a] gmail.com>
9059
9060 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
9061 correctly.
9062
9063 2013-06-21 Joseph Myers <joseph (a] codesourcery.com>
9064
9065 PR other/53317
9066 * soft-fp/adddf3.c: Update from glibc.
9067 * soft-fp/addsf3.c: Likewise.
9068 * soft-fp/addtf3.c: Likewise.
9069 * soft-fp/divdf3.c: Likewise.
9070 * soft-fp/divsf3.c: Likewise.
9071 * soft-fp/divtf3.c: Likewise.
9072 * soft-fp/double.h: Likewise.
9073 * soft-fp/eqdf2.c: Likewise.
9074 * soft-fp/eqsf2.c: Likewise.
9075 * soft-fp/eqtf2.c: Likewise.
9076 * soft-fp/extenddftf2.c: Likewise.
9077 * soft-fp/extended.h: Likewise.
9078 * soft-fp/extendsfdf2.c: Likewise.
9079 * soft-fp/extendsftf2.c: Likewise.
9080 * soft-fp/fixdfdi.c: Likewise.
9081 * soft-fp/fixdfsi.c: Likewise.
9082 * soft-fp/fixsfdi.c: Likewise.
9083 * soft-fp/fixsfsi.c: Likewise.
9084 * soft-fp/fixtfdi.c: Likewise.
9085 * soft-fp/fixtfsi.c: Likewise.
9086 * soft-fp/fixunsdfdi.c: Likewise.
9087 * soft-fp/fixunsdfsi.c: Likewise.
9088 * soft-fp/fixunssfdi.c: Likewise.
9089 * soft-fp/fixunssfsi.c: Likewise.
9090 * soft-fp/fixunstfdi.c: Likewise.
9091 * soft-fp/fixunstfsi.c: Likewise.
9092 * soft-fp/floatdidf.c: Likewise.
9093 * soft-fp/floatdisf.c: Likewise.
9094 * soft-fp/floatditf.c: Likewise.
9095 * soft-fp/floatsidf.c: Likewise.
9096 * soft-fp/floatsisf.c: Likewise.
9097 * soft-fp/floatsitf.c: Likewise.
9098 * soft-fp/floatundidf.c: Likewise.
9099 * soft-fp/floatundisf.c: Likewise.
9100 * soft-fp/floatunditf.c: Likewise.
9101 * soft-fp/floatunsidf.c: Likewise.
9102 * soft-fp/floatunsisf.c: Likewise.
9103 * soft-fp/floatunsitf.c: Likewise.
9104 * soft-fp/gedf2.c: Likewise.
9105 * soft-fp/gesf2.c: Likewise.
9106 * soft-fp/getf2.c: Likewise.
9107 * soft-fp/ledf2.c: Likewise.
9108 * soft-fp/lesf2.c: Likewise.
9109 * soft-fp/letf2.c: Likewise.
9110 * soft-fp/muldf3.c: Likewise.
9111 * soft-fp/mulsf3.c: Likewise.
9112 * soft-fp/multf3.c: Likewise.
9113 * soft-fp/negdf2.c: Likewise.
9114 * soft-fp/negsf2.c: Likewise.
9115 * soft-fp/negtf2.c: Likewise.
9116 * soft-fp/op-1.h: Likewise.
9117 * soft-fp/op-2.h: Likewise.
9118 * soft-fp/op-4.h: Likewise.
9119 * soft-fp/op-8.h: Likewise.
9120 * soft-fp/op-common.h: Likewise.
9121 * soft-fp/quad.h: Likewise.
9122 * soft-fp/single.h: Likewise.
9123 * soft-fp/soft-fp.h: Likewise.
9124 * soft-fp/subdf3.c: Likewise.
9125 * soft-fp/subsf3.c: Likewise.
9126 * soft-fp/subtf3.c: Likewise.
9127 * soft-fp/truncdfsf2.c: Likewise.
9128 * soft-fp/trunctfdf2.c: Likewise.
9129 * soft-fp/trunctfsf2.c: Likewise.
9130 * soft-fp/unorddf2.c: Likewise.
9131 * soft-fp/unordsf2.c: Likewise.
9132 * soft-fp/unordtf2.c: Likewise.
9133 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
9134 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9135 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9136 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9137 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9138 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9139 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9140 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9141 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9142 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
9143 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
9144 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9145
9146 2013-06-16 Jrgen Urban <JuergenUrban (a] gmx.de>
9147
9148 * config/mips/lib2funcs.c: New file.
9149 * config/mips/t-mips (LIB2ADD_ST): Add it.
9150
9151 2013-06-09 Oleg Endo <olegendo (a] gcc.gnu.org>
9152
9153 PR target/6526
9154 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
9155 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
9156
9157 2013-06-08 Walter Lee <walt (a] tilera.com>
9158
9159 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
9160 Replace int64_t with long long. Add __extension__ where
9161 appropriate.
9162 * config/tilepro/atomic.c: Include config.h.
9163
9164 2013-06-06 Douglas B Rupp <rupp (a] adacore.com>
9165
9166 * config.host (arm-wrs-vxworks): Configure with other soft float.
9167
9168 2013-06-04 Jrgen Urban <JuergenUrban (a] gmx.de>
9169
9170 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
9171 (mips64r5900el-*-elf*): New configurations.
9172
9173 2013-06-04 Alan Modra <amodra (a] gmail.com>
9174
9175 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
9176
9177 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev (a] intel.com>
9178
9179 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
9180
9181 2013-05-28 Eric Botcazou <ebotcazou (a] adacore.com>
9182
9183 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
9184 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
9185 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
9186
9187 2013-05-22 Eric Botcazou <ebotcazou (a] adacore.com>
9188
9189 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
9190 (powerpc-wrs-vxworks): Likewise.
9191
9192 2013-05-22 Eric Botcazou <ebotcazou (a] adacore.com>
9193
9194 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
9195 signal frames as well.
9196 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
9197 STACK_BIAS to the CFA offset.
9198
9199 2013-05-17 Richard Henderson <rth (a] redhat.com>
9200
9201 PR target/49146
9202 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
9203 (execute_cfa_program): Use it when storing to fs->regs.
9204
9205 2013-05-08 Kai Tietz <ktietz (a] redhat.com>
9206
9207 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
9208 (__deregister_frame_info): Likewise.
9209
9210 2013-05-06 Thomas Schwinge <thomas (a] codesourcery.com>
9211
9212 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
9213 NaN's payload.
9214
9215 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
9216
9217 2013-04-25 Alan Modra <amodra (a] gmail.com>
9218
9219 * config.host: Match little-endian powerpc-linux.
9220
9221 2013-04-19 Yufeng Zhang <yufeng.zhang (a] arm.com>
9222
9223 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
9224 as 'unsigned long long' instead of 'unsigned long'.
9225 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
9226 'signed long'.
9227
9228 2013-04-10 Julian Brown <julian (a] codesourcery.com>
9229
9230 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
9231 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
9232 unsigned char/unsigned short.
9233 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
9234
9235 2013-04-06 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
9236
9237 PR other/55274
9238 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
9239
9240 2013-04-04 Meador Inge <meadori (a] codesourcery.com>
9241
9242 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
9243 computing the location of the link register.
9244 (aeabi_uldivmod): Ditto.
9245
9246 2013-03-27 Kai Tietz <ktietz (a] redhat.com>
9247
9248 * config.host: Add support for cygwin x64 target.
9249 * configure: Regenerated.
9250
9251 2013-03-26 Walter Lee <walt (a] tilera.com>
9252
9253 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
9254 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
9255
9256 2013-03-25 Kai Tietz <ktietz (a] redhat.com>
9257
9258 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
9259
9260 2013-03-20 Robert Mason <rbmj (a] verizon.net>
9261
9262 * config/vxlib-tls.c (__gthread_get_tsd_data,)
9263 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
9264 (__gthread_leave_tsd_dtor_context): Add prototypes.
9265 (tls_delete_hook): Update.
9266
9267 2013-03-20 Catherine Moore <clm (a] codesourcery.com>
9268 Joseph Myers <joseph (a] codesourcery.com>
9269 Chao-ying Fu <fu (a] mips.com>
9270
9271 * config/mips/mips16.S: Don't build for microMIPS.
9272 * config/mips/linux-unwind.h: Handle microMIPS frame.
9273 * config/mips/crtn.S (fini, init): New labels.
9274
9275 2013-03-14 Jakub Jelinek <jakub (a] redhat.com>
9276
9277 PR tree-optimization/53265
9278 * unwind-dw2.c (execute_cfa_program): Avoid
9279 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
9280 on targets with DWARF_FRAME_REGISTERS < 32.
9281
9282 2013-03-13 Oleg Endo <olegendo (a] gcc.gnu.org>
9283
9284 PR target/49880
9285 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
9286 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
9287
9288 2013-03-07 Sriraman Tallam <tmsriram (a] google.com>
9289
9290 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
9291 sandybridge processors.
9292
9293 2013-03-06 Oleg Endo <olegendo (a] gcc.gnu.org>
9294
9295 PR target/56529
9296 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
9297 inclusion list.
9298
9299 2013-03-04 Edgar E. Iglesias <edgar.iglesias (a] gmail.com>
9300
9301 * config/microblaze/crti.S: Setup stack protection at entry
9302
9303 2013-03-04 Georg-Johann Lay <avr (a] gjlay.de>
9304
9305 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
9306 (__rotldi3): Shift bytewise if applicable.
9307
9308 2013-03-01 James Greenhalgh <james.greenhalgh (a] arm.com>
9309
9310 * config/aarch64/sync-cache.c
9311 (__aarch64_sync_cache_range): Silence warnings.
9312
9313 2013-02-25 Catherine Moore <clm (a] codesourcery.com>
9314
9315 Revert:
9316 2013-02-24 Catherine Moore <clm (a] codesourcery.com>
9317 Joseph Myers <joseph (a] codesourcery.com>
9318 Chao-ying Fu <fu (a] mips.com>
9319
9320 * config/mips/mips16.S: Don't build for microMIPS.
9321 * config/mips/linux-unwind.h: Handle microMIPS frame.
9322 * config/mips/crtn.S (fini, init): New labels.
9323
9324 2013-02-24 Catherine Moore <clm (a] codesourcery.com>
9325 Joseph Myers <joseph (a] codesourcery.com>
9326 Chao-ying Fu <fu (a] mips.com>
9327
9328 * config/mips/mips16.S: Don't build for microMIPS.
9329 * config/mips/linux-unwind.h: Handle microMIPS frame.
9330 * config/mips/crtn.S (fini, init): New labels.
9331
9332 2012-02-19 Edgar E. Iglesias <edgar.iglesias (a] gmail.com>
9333 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
9334 as dividend.
9335
9336 2013-02-16 Alan Modra <amodra (a] gmail.com>
9337
9338 PR target/55431
9339 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
9340 (ppc_fallback_frame_state): Always set up save locations for fp
9341 and altivec. Don't bother with non-callee-saved regs, r0-r13
9342 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
9343
9344 2013-02-12 Georg-Johann Lay <avr (a] gjlay.de>
9345
9346 PR target/54222
9347 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
9348 _ssmulHA, _ssmulSA.
9349 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
9350 _ssmulha3, _usmulusa3, _ssmulsa3.
9351 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
9352 (__muldi3): XCALL __muldi3_6 instead of rcall.
9353 (__umulsidi3, __mulsidi3): New functions.
9354 (do_prologue_saves, do_epilogue_restores): New .macros.
9355 (__divdi3_moddi3): Use them.
9356 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
9357 (__usmulusa3, __ssmulsa3): New functions.
9358
9359 2013-02-11 Iain Sandoe <iain (a] codesourcery.com>
9360 Jack Howarth <howarth (a] bromo.med.uc.edu>
9361 Patrick Marlier <patrick.marlier (a] gmail.com>
9362
9363 PR libitm/55693
9364 * config/darwin-crt-tm.c: Remove dummy functions hack.
9365
9366 2013-02-08 Georg-Johann Lay <avr (a] gjlay.de>
9367
9368 PR target/54222
9369 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
9370 * config/avr/lib2-object.mk: New iterator to build objects from it.
9371 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
9372 lib2funcs.c.
9373 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
9374 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
9375 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
9376 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
9377 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
9378 * config/avr/lib1funcs-fixed.S: Implement them.
9379
9380 2013-02-04 Richard Sandiford <rdsandiford (a] googlemail.com>
9381
9382 Update copyright years.
9383
9384 2013-02-01 David Edelsohn <dje.gcc (a] gmail.com>
9385
9386 PR target/54601
9387 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
9388 Add crtcxa to extra_parts.
9389 * config/rs6000/exit.h: New file.
9390 * config/rs6000/cxa_atexit.c: New file.
9391 * config/rs6000/cxa_finalize.c: New file.
9392 * config/rs6000/crtcxa.c: New file.
9393 * config/rs6000/t-aix-cxa: New file.
9394 * config/rs6000/libgcc-aix-cxa.ver: New file.
9395
9396 2013-01-31 Nick Clifton <nickc (a] redhat.com>
9397
9398 * config/v850/lib1funcs.S: Add support for e3v5 architecture
9399 variant.
9400
9401 2013-01-29 Georg-Johann Lay <avr (a] gjlay.de>
9402
9403 PR target/54222
9404 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
9405 _mulQQ, _mulHQ, _mulHA, _mulSA,
9406 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
9407 _divQQ, _divHQ, _divHA, _divSA,
9408 _divUQQ, _divUHQ, _divUHA, _divUSA.
9409
9410 2013-01-26 David Holsgrove <david.holsgrove (a] xilinx.com>
9411
9412 * config.host(microblaze*-linux*): tmake_file: Remove
9413 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
9414 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
9415 to exclude functions from being built with libgcc.c and use
9416 the microblaze assembly.
9417
9418 2013-01-26 Edgar E. Iglesias <edgar.iglesias (a] gmail.com>
9419
9420 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
9421 extra_parts.
9422
9423 2013-01-17 Yufeng Zhang <yufeng.zhang (a] arm.com>
9424
9425 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
9426 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
9427 __UINTPTR_TYPE__; also cast 'base' to the same type before the
9428 alignment operation.
9429
9430 2013-01-15 Sofiane Naci <sofiane.naci (a] arm.com>
9431
9432 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
9433 loop start address for cache clearing.
9434
9435 2013-01-14 Georg-Johann Lay <avr (a] gjlay.de>
9436
9437 * config/avr/lib1funcs.S: Remove trailing blanks.
9438 * config/avr/lib1funcs-fixed.S: Ditto.
9439
9440 2013-01-14 Georg-Johann Lay <avr (a] gjlay.de>
9441
9442 * config/avr/avr-lib.h: Add GPL copyright notice.
9443
9444 2013-01-14 Georg-Johann Lay <avr (a] gjlay.de>
9445
9446 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
9447 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
9448 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
9449 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
9450
9451 2013-01-07 Mark Kettenis <kettenis (a] openbsd.org>
9452
9453 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
9454 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
9455
9456 2013-01-04 Nick Clifton <nickc (a] redhat.com>
9457
9458 * config/v850/lib1funcs.S: Only provide CALLT support functions if
9459 the CALLT instruction is supported.
9460
9461 2012-12-20 Jonathan Wakely <jwakely.gcc (a] gmail.com>
9462
9463 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
9464 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
9465
9466 2012-12-13 John Tytgat <John (a] bass-software.com>
9467
9468 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
9469 is 25.
9470
9471 2012-12-12 Jakub Jelinek <jakub (a] redhat.com>
9472
9473 PR libgcc/55451
9474 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
9475 undefined signed overflows.
9476
9477 2012-12-09 Uros Bizjak <ubizjak (a] gmail.com>
9478
9479 PR target/55344
9480 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
9481
9482 2012-12-06 Uros Bizjak <ubizjak (a] gmail.com>
9483
9484 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
9485 (FP_TRAPPING_EXCEPTIONS): Define.
9486 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
9487 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
9488
9489 2012-12-04 Richard Henderson <rth (a] redhat.com>
9490
9491 PR bootstrap/55571
9492 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
9493
9494 2012-12-04 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
9495
9496 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
9497 (FP_EX_SHIFT): Define.
9498 (FP_TRAPPING_EXCEPTIONS): Define.
9499
9500 2012-12-04 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
9501
9502 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
9503 (FP_ROUNDMODE): Use FP_RND_MASK.
9504 * config/aarch64/sfp-exceptions.c: New.
9505 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9506 Use __sfp_handle_exceptions.
9507
9508 2012-12-04 Richard Earnshaw <rearnsha (a] arm.com>
9509
9510 * config.host: (arm*-*-freebsd*): Remove.
9511 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
9512 (arm*-*-elf*): Remove.
9513 (arm*-*-wince-pe*): Remove.
9514 * arm/unwind-arm.c (struct fpa_reg): Delete.
9515 (struct fpa_regs): Delete.
9516 (phase1_vrs): Remove fpa element.
9517 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
9518 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
9519 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
9520 * ieee754-sf.S (floatundisf): Remove FPA support.
9521 (floatdisf): Likewise.
9522 * ieee75f-df.S (floatundidf): Likewise.
9523 (floatdidf): Likewise.
9524
9525 2012-11-29 Kai Tietz <ktietz (a] redhat.com>
9526
9527 PR target/55445
9528 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
9529 * unwind-generic.h: Likewise.
9530 * unwind-seh.c: Likewise.
9531
9532 2012-11-28 Richard Henderson <rth (a] redhat.com>
9533
9534 PR libgcc/48076
9535 * emutls.c (__emutls_get_address): Avoid race condition between
9536 obj->loc.offset read and emutls_key initialization.
9537
9538 2012-11-22 Georg-Johann Lay <avr (a] gjlay.de>
9539
9540 Adjust decimal point of signed accum mode to GCC default.
9541
9542 PR target/54222
9543 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
9544 _divqq_helper.
9545 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
9546 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
9547 (__mulha3, __mulsa3)
9548 (__divqq3, __divha3, __divsa3): Adjust to new position of
9549 decimal point of signed accum types.
9550
9551 (__mulusa3_round): New function.
9552 (__mulusa3): Use it.
9553 (__divqq_helper): New function.
9554 (__udivuqq3): Use it.
9555
9556 2012-11-20 Jakub Jelinek <jakub (a] redhat.com>
9557
9558 PR bootstrap/55370
9559 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
9560
9561 2012-11-18 Teresa Johnson <tejohnson (a] google.com>
9562
9563 PR bootstrap/55051
9564 * libgcov.c (gcov_exit): Remove merged program summary
9565 comparison unless !GCOV_LOCKED.
9566
9567 2012-11-15 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
9568
9569 * soft-fp: Updated from glibc upstream.
9570
9571 2012-11-06 Ian Lance Taylor <iant (a] google.com>
9572
9573 * generic-morestack.c (__generic_morestack): Align the returned
9574 stack pointer to a 32 byte boundary.
9575 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
9576 increment the return address until we have decided that we don't
9577 have a varargs function.
9578 (__morestack) [32-bit]: Align stack correctly when calling C
9579 functions.
9580 (__morestack) [64-bit]: Likewise.
9581
9582 2012-11-04 Thomas Schwinge <thomas (a] codesourcery.com>
9583
9584 * configure: Regenerate.
9585
9586 2012-11-02 Uros Bizjak <ubizjak (a] gmail.com>
9587
9588 PR target/55175
9589 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
9590 * config/i386/sfp-machine.h: Guard exception handling
9591 code with _SOFT_FLOAT.
9592 * config/i386/32/sfp-machine.h: Guard rounding handling
9593 code with _SOFT_FLOAT.
9594 * config/i386/64/sfp-machine.h: Ditto.
9595
9596 2012-10-31 Joel Sherrill <joel.sherrill (a] oarcorp.com>
9597
9598 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
9599 as extra_parts.
9600
9601 2012-10-26 Uros Bizjak <ubizjak (a] gmail.com>
9602
9603 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
9604 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
9605 when appropriate. Correct structure element types.
9606 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
9607 -minline-all-stringops from compile flags.
9608
9609 2012-10-25 Ralf Corspius <ralf.corsepius (a] rtems.org>
9610
9611 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
9612
9613 2012-10-25 Ralf Corspius <ralf.corsepius (a] rtems.org>
9614
9615 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
9616
9617 2012-10-25 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
9618
9619 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
9620 tmake_file.
9621
9622 2012-10-23 Ian Bolton <ian.bolton (a] arm.com>
9623 Jim MacArthur <jim.macarthur (a] arm.com>
9624 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
9625 Nigel Stephens <nigel.stephens (a] arm.com>
9626 Ramana Radhakrishnan <ramana.radhakrishnan (a] arm.com>
9627 Richard Earnshaw <rearnsha (a] arm.com>
9628 Sofiane Naci <sofiane.naci (a] arm.com>
9629 Stephen Thomas <stephen.thomas (a] arm.com>
9630 Tejas Belagod <tejas.belagod (a] arm.com>
9631 Yufeng Zhang <yufeng.zhang (a] arm.com>
9632
9633 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
9634 * config/aarch64/crti.S: New file.
9635 * config/aarch64/crtn.S: New file.
9636 * config/aarch64/linux-unwind.h: New file.
9637 * config/aarch64/sfp-machine.h: New file.
9638 * config/aarch64/sync-cache.c: New file.
9639 * config/aarch64/t-aarch64: New file.
9640 * config/aarch64/t-softfp: New file.
9641
9642 2012-10-21 Hans-Peter Nilsson <hp (a] bitrange.com>
9643
9644 * config/mmix/crti.S: Mark program and data addresses using PRELD.
9645 Remove typo'd and unnecessary alignment-LOC for .data. Remove
9646 no-longer-needed LDBU insns.
9647
9648 2012-10-18 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
9649
9650 * config.host
9651 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
9652 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
9653
9654 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann (a] arm.com>
9655
9656 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
9657
9658 2012-10-15 Matthias Klose <doko (a] ubuntu.com>
9659
9660 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
9661
9662 2012-10-15 Pavel Chupin <pavel.v.chupin (a] intel.com>
9663
9664 * configure: Regenerate.
9665 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
9666
9667 2012-10-10 Uros Bizjak <ubizjak (a] gmail.com>
9668
9669 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
9670 instructions for 64bit targets only.
9671
9672 2012-10-10 Uros Bizjak <ubizjak (a] gmail.com>
9673
9674 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9675 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
9676 * config/i386/32/sfp-machine.h: ... here.
9677 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
9678 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
9679 New defines.
9680
9681 2012-10-07 Matthias Klose <doko (a] ubuntu.com>
9682
9683 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
9684 as unused.
9685 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
9686
9687 2012-10-06 Mark Kettenis <kettenis (a] openbsd.org>
9688
9689 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
9690 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
9691 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
9692 (ElfW): Likewise.
9693
9694 2012-10-05 Jonathan Wakely <jwakely.gcc (a] gmail.com>
9695
9696 PR other/53889
9697 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9698 Fix parameter names.
9699
9700 2012-10-04 Oleg Endo <olegendo (a] gcc.gnu.org>
9701
9702 PR target/33135
9703 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
9704 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
9705 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
9706
9707 2012-10-03 Oleg Endo <olegendo (a] gcc.gnu.org>
9708
9709 PR target/50457
9710 * config/sh/linux-atomic.S: Delete.
9711 * config/sh/linux-atomic.c: New.
9712 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
9713 linux-atomic.c. Add cflags to disable warnings.
9714
9715 2012-10-02 Jonathan Wakely <jwakely.gcc (a] gmail.com>
9716
9717 PR other/53889
9718 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
9719 function.
9720 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
9721 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
9722 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
9723 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
9724 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
9725 Likewise.
9726 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9727 Likewise.
9728 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
9729 Likewise.
9730 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
9731 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
9732
9733 2012-09-19 Mark Kettenis <kettenis (a] openbsd.org>
9734
9735 * config.host (hppa-*-openbsd*): New target.
9736 * config/pa/t-openbsd: New file.
9737
9738 2012-09-15 Georg-Johann Lay <avr (a] gjlay.de>
9739
9740 PR target/54222
9741 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
9742 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
9743 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
9744 (__divsa3): Use __negsi2 to negate r_quoL.
9745 * config/avr/lib1funcs.S (FALIAS): New macro.
9746 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
9747 (__negsi2): ...this new function.
9748 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
9749 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
9750 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
9751 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
9752 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
9753 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
9754
9755 2012-09-10 Oleg Endo <olegendo (a] gcc.gnu.org>
9756
9757 PR target/54089
9758 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
9759 (lshrsi3): Reimplement as lshrsi3_r0.
9760
9761 2012-09-10 Andreas Schwab <schwab (a] linux-m68k.org>
9762
9763 PR target/46191
9764 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
9765 of libgcc.a.
9766
9767 2012-09-07 Teresa Johnson <tejohnson (a] google.com>
9768
9769 PR gcov-profile/54487
9770 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9771 differences.
9772
9773 2012-09-05 Georg-Johann Lay <avr (a] gjlay.de>
9774
9775 PR target/54461
9776 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
9777 not configured --with-avrlibc=no.
9778 * config/avr/t-avrlibc: New file.
9779 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
9780 (DPBIT_FUNCS): Ditto.
9781 (TPBIT_FUNCS): Ditto.
9782
9783 2012-09-04 Teresa Johnson <tejohnson (a] google.com>
9784
9785 * libgcov.c (struct gcov_summary_buffer): New structure.
9786 (gcov_histogram_insert): New function.
9787 (gcov_compute_histogram): Ditto.
9788 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
9789 histograms during summary merging.
9790
9791 2012-09-01 Mark Kettenis <kettenis (a] openbsd.org>
9792
9793 * config.host (x86_64-*-openbsd*): New target.
9794
9795 2012-08-29 Chung-Lin Tang <cltang (a] codesourcery.com>
9796
9797 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9798 attribute.
9799
9800 2012-08-24 Georg-Johann Lay <avr (a] gjlay.de>
9801
9802 PR target/54222
9803 * config/avr/t-avr (conv_X): Rename to func_X.
9804
9805 2012-08-24 Georg-Johann Lay <avr (a] gjlay.de>
9806
9807 PR target/54222
9808 * config/avr/lib1funcs-fixed.S: New file.
9809 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
9810 after they are used.
9811 (neg2, neg4): New macros.
9812 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9813 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9814 (__umulhisi3): Speed up MUL variant if there is enough flash.
9815 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9816 avr-modes.def.
9817 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9818 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9819 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9820 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9821 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9822 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9823 (LIB2FUNCS_EXCLUDE): Add supported functions.
9824
9825 2012-08-22 Georg-Johann Lay <avr (a] gjlay.de>
9826
9827 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9828 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9829 libgcc-s-objects.
9830 * fixed-obj.mk: Only expand dependency if $o is not in
9831 LIB2FUNCS_EXCLUDE.
9832
9833 2012-08-22 H.J. Lu <hongjiu.lu (a] intel.com>
9834
9835 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9836
9837 2012-08-22 Joseph Myers <joseph (a] codesourcery.com>
9838
9839 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9840 depend on --enable-shared.
9841 ($(lib1asmfuncs-o)): Use %.vis files independent of
9842 --enable-shared.
9843 * static-object.mk ($(base)$(objext), $(base).vis)
9844 ($(base)_s$(objext)): Use same rules for visibility handling as in
9845 shared-object.mk.
9846
9847 2012-08-21 Ian Lance Taylor <iant (a] google.com>
9848
9849 * config/i386/morestack.S (__morestack_non_split): Increase amount
9850 of space allocated for non-split code stack.
9851
9852 2012-08-19 Joseph Myers <joseph (a] codesourcery.com>
9853
9854 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9855 even if inhibit_libc.
9856
9857 2012-08-17 Julian Brown <julian (a] codesourcery.com>
9858
9859 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9860 -fexceptions -fnon-call-exceptions if not defined.
9861 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9862 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9863
9864 2012-08-17 Andreas Schwab <schwab (a] linux-m68k.org>
9865
9866 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9867 type.
9868
9869 2012-08-16 David Edelsohn <dje.gcc (a] gmail.com>
9870
9871 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9872 rs6000/t-slibgcc-aix.
9873
9874 2012-08-15 Segher Boessenkool <segher (a] kernel.crashing.org>
9875
9876 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9877
9878 2012-08-15 Segher Boessenkool <segher (a] kernel.crashing.org>
9879
9880 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9881
9882 2012-08-03 H.J. Lu <hongjiu.lu (a] intel.com>
9883
9884 PR driver/54171
9885 * Makefile.in (version): Replace top_srcdir with srcdir.
9886
9887 2012-08-03 Jonathan Yong <jon_y (a] users.sourceforge.net>
9888
9889 * Makefile.in (version): set to BASE-VER file from gcc directory.
9890
9891 2012-08-01 Nick Clifton <nickc (a] redhat.com>
9892
9893 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9894 Implements __clrsb for an HImode argument.
9895
9896 2012-07-31 Nick Clifton <nickc (a] redhat.com>
9897
9898 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9899 Implements __clrsb for an HImode argument.
9900 * config/stormy16/clrsbhi2.c: New file:
9901 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9902
9903 2012-07-22 Steven Bosscher <steven (a] gcc.gnu.org>
9904
9905 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9906
9907 2012-07-19 Tristan Gingold <gingold (a] adacore.com>
9908 Richard Henderson <rth (a] redhat.com>
9909
9910 * unwind-seh.c: New file.
9911 * unwind-generic.h: Include windows.h for SEH.
9912 (_Unwind_Exception): Use 6 private fields for SEH.
9913 (_GCC_specific_handler): Declare.
9914 * unwind-c.c (__gcc_personality_seh0): New function.
9915 Adjust for SEH.
9916 * config/i386/libgcc-cygming.ver: New file.
9917 * config/i386/t-seh-eh: New file.
9918 * config.host (x86_64-*-mingw*): Default to seh.
9919
9920 2012-07-14 Steven Bosscher <steven (a] gcc.gnu.org>
9921
9922 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9923
9924 2012-06-17 Uros Bizjak <ubizjak (a] gmail.com>
9925
9926 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9927 __builtin_expect when checking for exceptions.
9928 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9929
9930 2012-06-13 Uros Bizjak <ubizjak (a] gmail.com>
9931
9932 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9933 function declaration.
9934 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9935 (FP_RND_MASK): New.
9936 * config/ia64/sfp-exceptions.c: New.
9937 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
9938
9939 2012-06-13 Uros Bizjak <ubizjak (a] gmail.com>
9940
9941 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9942 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9943 * config/i386/64/sfp-machine: ... (delete here) ...
9944 * config/i386/sfp-machine.h: ... to here.
9945 (FP_EX_MASK): Remove.
9946 (FP_RND_MASK): New.
9947 (FP_INIT_ROUNDMODE): Declare asm as volatile.
9948
9949 2012-06-11 Sriraman Tallam <tmsriram (a] google.com>
9950
9951 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9952 * config/i386/libgcc-sol2.ver: Ditto.
9953 * config/i386/libgcc-glibc.ver: Ditto.
9954
9955 2012-06-11 Roland McGrath <mcgrathr (a] google.com>
9956
9957 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9958 If __GLIBC__ is defined, refer to __pthread_key_create instead of
9959 pthread_cancel.
9960
9961 2012-06-09 Uros Bizjak <ubizjak (a] gmail.com>
9962
9963 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9964 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9965 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9966 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9967 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9968 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9969 * config/i386/64/sfp-machine: ... (delete here) ...
9970 * config/i386/sfp-machine.h: ... to here.
9971 (FP_EX_MASK): New.
9972 (__sfp_handle_exceptions): New function declaration.
9973 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9974 * config/i386/sfp-exceptions.c: New.
9975 * config/i386/t-softfp: New.
9976 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9977 i386/t-softfp to tmake_file.
9978
9979 2012-06-03 David S. Miller <davem (a] davemloft.net>
9980
9981 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9982 change.
9983
9984 2012-05-31 David S. Miller <davem (a] davemloft.net>
9985
9986 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9987 multiply and divide instructions on 32-bit when V9.
9988 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9989
9990 2012-05-29 Joseph Myers <joseph (a] codesourcery.com>
9991
9992 * config/arm/ieee754-df.S: Fix typos.
9993 * config/arm/ieee754-sf.S: Fix typos.
9994 * config/c6x/libunwind.S: Fix typos.
9995 * config/epiphany/udivsi3-float.c: Fix typos.
9996 * config/microblaze/muldi3_hard.S: Fix typos.
9997 * config/picochip/adddi3.S: Fix typos.
9998 * config/picochip/ashlsi3.S: Fix typos.
9999 * config/picochip/ashrsi3.S: Fix typos.
10000 * config/picochip/clzsi2.S: Fix typos.
10001 * config/picochip/cmpsi2.S: Fix typos.
10002 * config/picochip/divmod15.S: Fix typos.
10003 * config/picochip/divmodhi4.S: Fix typos.
10004 * config/picochip/divmodsi4.S: Fix typos.
10005 * config/picochip/longjmp.S: Fix typos.
10006 * config/picochip/lshrsi3.S: Fix typos.
10007 * config/picochip/parityhi2.S: Fix typos.
10008 * config/picochip/popcounthi2.S: Fix typos.
10009 * config/picochip/setjmp.S: Fix typos.
10010 * config/picochip/subdi3.S: Fix typos.
10011 * config/picochip/ucmpsi2.S: Fix typos.
10012 * config/picochip/udivmodhi4.S: Fix typos.
10013 * config/picochip/udivmodsi4.S: Fix typos.
10014 * config/spu/divv2df3.c: Fix typos.
10015 * config/spu/mfc_multi_tag_release.c: Fix typos.
10016 * config/spu/mfc_tag_release.c: Fix typos.
10017 * configure.ac: Fix typos.
10018 * configure: Regenerate.
10019
10020 2012-05-25 Ian Lance Taylor <iant (a] google.com>
10021
10022 * config/i386/morestack.S (__morestack_non_split): Check whether
10023 caller is varargs and needs %bp to hold the stack frame on return.
10024
10025 2012-05-25 Olivier Hainque <hainque (a] adacore.com>
10026
10027 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
10028 sequence in the non pic case on VxWorks.
10029
10030 2012-05-24 Olivier Hainque <hainque (a] adacore.com>
10031
10032 * Makefile.in: Move dependency on install-unwind_h from
10033 "install-leaf" to "install".
10034
10035 2012-05-24 Olivier Hainque <hainque (a] adacore.com>
10036
10037 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
10038 Use a separate command for stamp removals.
10039
10040 2012-05-21 Andrew Pinski <apinski (a] cavium.com>
10041
10042 PR bootstrap/53183
10043 * configure.ac: Define the default includes to being none.
10044 * configure: Regenerate.
10045
10046 2012-05-16 Olivier Hainque <hainque (a] adacore.com>
10047
10048 * Makefile.in (install-unwind_h): Rename into ...
10049 (install-unwind_h-forbuild): New target.
10050 (all): Use it instead of the former install-unwind_h.
10051 (install-unwind_h): Reinstate, copy to user install destination
10052 for include files, not to the internal gcc object directory one.
10053 (install-leaf): Depend on it.
10054
10055 2012-05-15 Olivier Hainque <hainque (a] adacore.com>
10056
10057 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
10058 register numbers. LR_REGNO replaces R_LR.
10059 (ucontext_for): New, helper for ...
10060 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
10061 and 5.3 of ...
10062 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
10063
10064 2012-05-10 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10065
10066 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
10067 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
10068 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
10069 i386/t-cpuinfo ...
10070 (i[34567]86-*-*, x86_64-*-*): ... here.
10071
10072 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
10073 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
10074
10075 * config/i386/i386-cpuinfo.c: Rename to ...
10076 * config/i386/cpuinfo.c: ... this.
10077 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
10078
10079 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
10080 (libgcc_cv_init_priority): New test.
10081 * configure: Regenerate.
10082 * config.in: New file.
10083 * Makefile.in (clean): Rename config.h to auto-target.h.
10084 (config.h): Likewise.
10085 (stamp-h): Likewise.
10086
10087 * config/i386/cpuinfo.c (auto-target.h): Include.
10088 (CONSTRUCTOR_PRIORITY): Define.
10089 (__cpu_indicator_init): Use it.
10090
10091 2012-05-09 H.J. Lu <hongjiu.lu (a] intel.com>
10092
10093 * longlong.h: Use a URL instead of an FSF postal address.
10094 Replace spaces with tab.
10095
10096 2012-05-08 Teresa Johnson <tejohnson (a] google.com>
10097
10098 * libgcov.c (gcov_clear, __gcov_reset): New functions.
10099 (__gcov_dump): Ditto.
10100 (gcov_dump_complete): New global variable.
10101 (gcov_exit): Export hidden to enable use in L_gcov_dump.
10102 (__gcov_flush): Outline functionality now in gcov_clear.
10103 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
10104
10105 2012-04-28 Aurelien Jarno <aurelien (a] aurel32.net>
10106
10107 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
10108 (mips*-*-linux*): Include mips/t-tpbit when long double is
10109 16 bytes long.
10110
10111 2012-04-25 Sriraman Tallam <tmsriram (a] google.com>
10112
10113 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
10114 (get_available_features): New argument. Check for AVX2.
10115 (__cpu_indicator_init): Modify call to get_available_features.
10116
10117 2012-04-25 Alan Modra <amodra (a] gmail.com>
10118
10119 * config/rs6000/crtsavevr.S: New file.
10120 * config/rs6000/crtrestvr.S: New file.
10121 * config/rs6000/t-savresfgpr: Build the above.
10122 * config/rs6000/t-netbsd: Likewise.
10123
10124 2012-04-24 Sriraman Tallam <tmsriram (a] google.com>
10125
10126 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
10127
10128 2012-04-24 Sriraman Tallam <tmsriram (a] google.com>
10129
10130 * libgcc/config/i386/i386-cpuinfo.c: New file.
10131 * libgcc/config/i386/t-cpuinfo: New file.
10132 * libgcc/config.host: Include t-cpuinfo.
10133 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
10134
10135 2012-04-24 Chao-ying Fu <fu (a] mips.com>
10136
10137 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
10138
10139 2012-04-20 Thomas Schwinge <thomas (a] codesourcery.com>
10140
10141 struct siginfo vs. siginfo_t
10142
10143 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
10144 siginfo_t instead of struct siginfo.
10145 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
10146 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
10147 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
10148 (ia64_handle_unwabi): Likewise.
10149 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
10150 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
10151 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
10152 (sh_fallback_frame_state): Likewise.
10153 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
10154 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
10155
10156 2012-04-02 H.J. Lu <hongjiu.lu (a] intel.com>
10157
10158 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
10159 system call number.
10160
10161 2012-03-31 Eric Botcazou <ebotcazou (a] adacore.com>
10162
10163 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
10164 if it hasn't been previously saved.
10165
10166 2012-03-29 H.J. Lu <hongjiu.lu (a] intel.com>
10167
10168 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
10169 only for glibc.
10170
10171 2012-03-28 Georg-Johann Lay <avr (a] gjlay.de>
10172
10173 PR target/52737
10174 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
10175 instead of __AVR_HAVE_8BIT_SP__.
10176
10177 2012-03-26 Tristan Gingold <gingold (a] adacore.com>
10178
10179 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
10180 (unw_table_entry): Use unw_word instead of unsigned long.
10181 (_Unwind_FindTableEntry): Likewise.
10182 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
10183 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
10184 (_Unwind_FindTableEntry): Likewise.
10185 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
10186 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
10187 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
10188 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
10189 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
10190 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
10191 (uw_init_context_1, uw_install_context): Likewise.
10192 (unw_word): Move to unwind-ia64.h
10193
10194 2012-03-26 Tristan Gingold <gingold (a] adacore.com>
10195
10196 * config/vms/vms-ucrt0.c: Update copyright years.
10197 Add a sanity check.
10198 (___gcc_main_flags): Declare.
10199 (__main): Check flags to remap argv and exit code.
10200 * config.host (*-*-*vms*): Adjust extra_parts.
10201 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
10202 (crt0.o): Add.
10203
10204 2012-03-22 Richard Earnshaw <rearnsha (a] arm.com>
10205
10206 * arm/lib1funcs.asm (ctzsi2): New function.
10207 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
10208 * arm/t-linux (LIB1ASMFUNCS): Likewise.
10209 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
10210 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
10211 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
10212 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
10213
10214 2012-03-21 Andreas Tobler <andreast (a] fgznet.ch>
10215
10216 * config.host: Add bits to support powerpc64-*-freebsd*.
10217 * config/rs6000/freebsd-unwind.h: New file.
10218 * config/rs6000/t-freebsd64: New file.
10219
10220 2012-03-20 Richard Guenther <rguenther (a] suse.de>
10221
10222 PR gcov-profile/52627
10223 * libgcov.c (init_mx): Fix mutex name.
10224
10225 2012-03-16 Tristan Gingold <gingold (a] adacore.com>
10226
10227 * config/ia64/vms-unwind.h: Remove ulong (and replace
10228 it by unw_reg where used). Define unw_reg with __int64.
10229
10230 2012-03-14 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10231
10232 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
10233 Solaris 8 handling.
10234 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
10235 Solaris 8 handling.
10236 (sparc_is_sighandler): Likewise.
10237
10238 2012-03-13 H.J. Lu <hongjiu.lu (a] intel.com>
10239
10240 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
10241 <= saved reg size.
10242
10243 2012-03-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10244
10245 * config/arm/crtn.S: Fix typo.
10246
10247 2012-03-13 Richard Guenther <rguenther (a] suse.de>
10248
10249 * libgcov.c: Remove stdio.h include and NULL un-define.
10250
10251 2012-03-13 Richard Guenther <rguenther (a] suse.de>
10252
10253 PR target/52569
10254 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
10255
10256 2012-03-13 Richard Guenther <rguenther (a] suse.de>
10257
10258 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
10259
10260 2012-03-13 Richard Guenther <rguenther (a] suse.de>
10261
10262 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
10263 and __gthread_mutex_init_function definitions.
10264
10265 2012-03-12 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10266
10267 * config.host (mips*-*-openbsd*): Remove.
10268
10269 2012-03-12 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10270
10271 * config.host: Remove alpha*-dec-osf5.1* handling.
10272 * config/alpha/gthr-posix.c: Remove.
10273 * config/alpha/libgcc-osf5.ver: Remove.
10274 * config/alpha/osf5-unwind.h: Remove.
10275 * config/alpha/t-osf-pthread: Remove.
10276 * config/alpha/t-slibgcc-osf: Remove.
10277 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
10278 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
10279 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
10280 * mkmap-flat.awk: Remove osf_export handling.
10281
10282 2012-03-12 Richard Guenther <rguenther (a] suse.de>
10283
10284 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
10285 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
10286 (__gthread_mutex_init_function): New function.
10287 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
10288
10289 PR gcov/49484
10290 * libgcov.c: Include gthr.h.
10291 (__gcov_flush_mx): New global variable.
10292 (init_mx, init_mx_once): New functions.
10293 (__gcov_flush): Protect self with a mutex.
10294 (__gcov_fork): Re-initialize mutex after forking.
10295 * unwind-dw2-fde.c: Change condition under which to use
10296 __GTHREAD_MUTEX_INIT_FUNCTION.
10297
10298 2012-03-12 Tristan Gingold <gingold (a] adacore.com>
10299
10300 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
10301 * config/ia64/t-vms: Likewise.
10302
10303 2012-03-11 Michael Hope <michael.hope (a] linaro.org>
10304
10305 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
10306 for Thumb-2.
10307
10308 2012-03-07 Walter Lee <walt (a] tilera.com>
10309
10310 * config/tilepro/atomic.c: Rename "atomic_" prefix to
10311 "arch_atomic_".
10312 (atomic_xor): Rename and move definition to
10313 config/tilepro/atomic.h.
10314 (atomic_nand): Ditto.
10315 * config/tilepro/atomic.h: Rename "atomic_" prefix to
10316 "arch_atomic_".
10317 (arch_atomic_xor): Move from config/tilepro/atomic.c.
10318 (arch_atomic_nand): Ditto.
10319
10320 2012-03-07 Georg-Johann Lay <avr (a] gjlay.de>
10321
10322 PR target/52507
10323 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
10324
10325 2012-03-07 Georg-Johann Lay <avr (a] gjlay.de>
10326
10327 PR target/52505
10328 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
10329 from RAM.
10330
10331 2012-03-07 Georg-Johann Lay <avr (a] gjlay.de>
10332
10333 PR target/52461
10334 PR target/52508
10335 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
10336 if RAMPZ affects reading from RAM.
10337 (__tablejump_elpm__): Ditto.
10338 (.xload): Ditto.
10339 (__movmemx_hi): Ditto.
10340 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
10341 (__do_global_dtors): Ditto.
10342 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
10343 (__movmemx_hi): Ditto.
10344
10345 2012-03-05 Richard Henderson <rth (a] redhat.com>
10346
10347 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
10348 [ARM] (count_trailing_zeros): Use the builtin.
10349
10350 2012-03-01 Kai Tietz <ktietz (a] redhat.com>
10351
10352 * soft-fp: Imported from glibc upstream.
10353
10354 2012-02-28 Kai Tietz <ktietz (a] redhat.com>
10355
10356 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
10357 for mingw-targets as attribute gcc_struct.
10358
10359 2012-02-28 Ian Lance Taylor <iant (a] google.com>
10360
10361 * generic-morestack.c (__splitstack_releasecontext): Correct call
10362 to __morestack_release_segments.
10363
10364 2012-02-27 Samuel Thibault <samuel.thibault (a] ens-lyon.org>
10365
10366 PR target/52390
10367 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
10368 for __linux__ when removing signals from __morestack_fullmask.
10369
10370 2012-02-23 Georg-Johann Lay <avr (a] gjlay.de>
10371
10372 PR target/52261
10373 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
10374
10375 2012-02-23 Ulrich Weigand <Ulrich.Weigand (a] de.ibm.com>
10376
10377 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
10378 instead of HAVE_INITFINI_ARRAY.
10379 * config/ia64/crtend.S: Likewise.
10380
10381 2012-02-20 Kai Tietz <ktietz (a] redhat.com>
10382
10383 PR libstdc++/52300
10384 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
10385
10386 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
10387 to w32-unwind.h header.
10388
10389 2012-02-19 Richard Sandiford <rdsandiford (a] googlemail.com>
10390
10391 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
10392 (mips*-*-linux*): Remove t-slibgcc-libgcc.
10393 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
10394 * config/mips/mips16.S (__mips16_rdhwr): Delete.
10395
10396 2012-02-19 Richard Sandiford <rdsandiford (a] googlemail.com>
10397
10398 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
10399
10400 2012-02-15 Iain Sandoe <iains (a] gcc.gnu.org>
10401
10402 PR libitm/52220
10403 * config/darwin-crt-tm.c: Correct typo.
10404
10405 2012-02-15 Iain Sandoe <iains (a] gcc.gnu.org>
10406 Patrick Marlier <patrick.marlier (a] gmail.com>
10407
10408 PR libitm/52220
10409 * config/darwin-crt-tm.c: Generate dummy functions.
10410
10411 2012-02-15 Iain Sandoe <iains (a] gcc.gnu.org>
10412 Patrick Marlier <patrick.marlier (a] gmail.com>
10413
10414 PR libitm/52042
10415 * config/darwin-crt-tm.c (getTMCloneTable): New function.
10416 (__doTMRegistrations): Call it.
10417 (__doTMdeRegistrations): Likewise.
10418
10419 2012-01-15 Georg-Johann Lay <avr (a] gjlay.de>
10420 Anatoly Sokolov <aesok (a] post.ru>
10421 Eric Weddington <eric.weddington (a] atmel.com>
10422
10423 PR target/52261
10424 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
10425 (__epilogue_restores__): Ditto.
10426
10427 2012-02-15 Eric Botcazou <ebotcazou (a] adacore.com>
10428
10429 PR target/51921
10430 PR target/52205
10431 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
10432 Solaris 11 and slightly reformat.
10433 (sparc_is_sighandler): Likewise.
10434
10435 2012-02-14 Walter Lee <walt (a] tilera.com>
10436
10437 * config.host: Handle tilegx and tilepro.
10438 * config/tilegx/sfp-machine.h: New file.
10439 * config/tilegx/sfp-machine32.h: New file.
10440 * config/tilegx/sfp-machine64.h: New file.
10441 * config/tilegx/t-crtstuff: New file.
10442 * config/tilegx/t-softfp: New file.
10443 * config/tilegx/t-tilegx: New file.
10444 * config/tilepro/atomic.c: New file.
10445 * config/tilepro/atomic.h: New file.
10446 * config/tilepro/linux-unwind.h: New file.
10447 * config/tilepro/sfp-machine.h: New file.
10448 * config/tilepro/softdivide.c: New file.
10449 * config/tilepro/softmpy.S: New file.
10450 * config/tilepro/t-crtstuff: New file.
10451 * config/tilepro/t-tilepro: New file.
10452
10453 2012-02-07 Jonathan Wakely <jwakely.gcc (a] gmail.com>
10454
10455 PR libstdc++/51296
10456 PR libstdc++/51906
10457 * gthr-posix.h: Allow static initializer macros to be disabled.
10458 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
10459
10460 2012-02-05 Chung-Lin Tang <cltang (a] codesourcery.com>
10461
10462 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
10463 Add t-slibgcc-libgcc to tmake_file.
10464 * config/mips/libgcc-mips16.ver: Revert previous patch.
10465 * config/mips/mips16.S (__mips16_rdhwr): Hide.
10466
10467 2012-02-02 Sumanth G <sumanth.gundapaneni (a] kpitcummins.com>
10468 Jayant R Sonar <jayant.sonar (a] kpitcummins.com>
10469
10470 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
10471 * config/cr16/crti.S: New file.
10472 * config/cr16/crtlibid.S: New file.
10473 * config/cr16/crtn.S: New file.
10474 * config/cr16/lib1funcs.S: New file.
10475 * config/cr16/t-cr16: New file.
10476 * config/cr16/t-crtlibid: New file.
10477 * config/cr16/unwind-dw2.h: New file.
10478 * config/cr16/unwind-cr16.c: New file.
10479 * config/cr16/divmodhi3.c: New file.
10480
10481 2012-01-25 Alan Modra <amodra (a] gmail.com>
10482
10483 * config/rs6000/t-linux64: Delete. Move..
10484 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
10485 * config/rs6000/t-linux: ..and libgcc flags to here.
10486
10487 2012-01-22 Douglas B Rupp <rupp (a] gnat.com>
10488
10489 * config.host (i[34567]86-*-interix3*):
10490 Change triplet to i[34567]86-*-interix[3-9]*.
10491 * configure: Regenerate.
10492
10493 2012-01-15 Chung-Lin Tang <cltang (a] codesourcery.com>
10494 Richard Sandiford <rdsandiford (a] googlemail.com>
10495
10496 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
10497 * config/mips/mips16.S (__mips16_rdhwr): New function.
10498 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
10499
10500 2012-01-11 Nathan Sidwell <nathan (a] acm.org>
10501
10502 * libgcov.c (__gcov_init): Ignore objects with no functions.
10503
10504 2012-01-10 Georg-Johann Lay <avr (a] gjlay.de>
10505
10506 PR target/49868
10507 Extend __pgmx semantics to linearize memory.
10508 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
10509 * config/avr/lib1funcs.S (__xload_1): New function.
10510 (__movmemx_qi, __movmemx_hi): New functions.
10511 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
10512 semantics.
10513
10514 2012-01-09 Eric Botcazou <ebotcazou (a] adacore.com>
10515
10516 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
10517 purported sigacthandler address isn't null before dereferencing it.
10518 (sparc_is_sighandler): Likewise.
10519
10520 2012-01-09 Eric Botcazou <ebotcazou (a] adacore.com>
10521
10522 PR ada/41929
10523 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
10524 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
10525 (sparc_is_sighandler): Likewise.
10526 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
10527
10528 2012-01-06 Tristan Gingold <gingold (a] adacore.com>
10529
10530 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
10531 compatibility thunks...
10532 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
10533 (crtbeginS.o, crtendS.o): ... and these to ...
10534 * config/ia64/t-ia64-elf: ... this new file.
10535 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
10536 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
10537
10538 2012-01-04 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
10539
10540 * configure: Regenerate.
10541 * config/s390/t-crtstuff: Remove -fPIC.
10542
10543 2012-01-02 Jonathan Wakely <jwakely.gcc (a] gmail.com>
10544
10545 PR bootstrap/51006
10546 * enable-execute-stack-mprotect.c (getpagesize): Do not define
10547 for NetBSD.
10548
10549 2012-01-02 Georg-Johann Lay <avr (a] gjlay.de>
10550
10551 PR target/51345
10552 * config/avr/lib1funcs.S: Remove FIXME comments.
10553 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
10554
10555 2012-01-02 Georg-Johann Lay <avr (a] gjlay.de>
10556
10557 Implement light-weight DImode support.
10558 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
10559 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
10560 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
10561 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
10562
10563 2011-12-30 Nathan Sidwell <nathan (a] acm.org>
10564
10565 * libgcov.c (gcov_crc32): Remove global var.
10566 (free_fn_data): New function.
10567 (buffer_fn_data): Pass in filename, more robust error recovery.
10568 (crc32_unsigned): New function.
10569 (gcov_exit): More robust detection of new program. More robust
10570 error recovery.
10571 (__gcov_init): Do not update program's crc here.
10572
10573 2011-12-21 Tristan Gingold <gingold (a] adacore.com>
10574
10575 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
10576
10577 2011-12-21 Ian Lance Taylor <iant (a] google.com>
10578
10579 * config/i386/morestack.S: Simplify CFI opcodes throughout.
10580
10581 2011-12-20 Ian Lance Taylor <iant (a] google.com>
10582
10583 * config/i386/morestack.S (__morestack_non_split): If there is
10584 enough stack space already, don't split. Ask for more stack space
10585 than we required.
10586
10587 2011-12-20 Sergio Durigan Junior <sergiodj (a] redhat.com>
10588
10589 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
10590 `sys/sdt.h'.
10591 (_Unwind_DebugHook): New function.
10592 (uw_restore_core_regs): New define.
10593 (unwind_phase2): Use uw_restore_core_regs instead of
10594 restore_core_regs.
10595 (unwind_phase2_forced): Likewise.
10596 (__gnu_Unwind_Resume): Likewise.
10597
10598 2011-12-20 Uros Bizjak <ubizjak (a] gmail.com>
10599
10600 * config/alpha/linux-unwind.h: Update copyright years.
10601 (MD_FROB_UPDATE_CONTEXT): New define.
10602 (alpha_frob_update_context): New function.
10603
10604 2011-12-17 Richard Sandiford <rdsandiford (a] googlemail.com>
10605
10606 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
10607 tmake_file rather replacing it.
10608
10609 2011-12-15 Iain Sandoe <iains (a] gcc.gnu.org>
10610
10611 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
10612 function is not used for PPC64.
10613 (save_world): Amend comments. Update the VRsave mask to reflect the
10614 saved regs.
10615 (rest_world): Update comments, do not clobber r10, do not use r8.
10616 (eh_rest_world_r10): Amend comments, do not use r8.
10617 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
10618 no longer used, move restore of CR and target address to the end of
10619 the routine.
10620
10621 2011-12-14 H.J. Lu <hongjiu.lu (a] intel.com>
10622
10623 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
10624 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
10625
10626 2011-12-14 Georg-Johann Lay <avr (a] gjlay.de>
10627
10628 PR target/49313
10629 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
10630 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
10631
10632 2011-12-11 Eric Botcazou <ebotcazou (a] adacore.com>
10633
10634 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
10635
10636 2011-12-09 Georg-Johann Lay <avr (a] gjlay.de>
10637
10638 PR target/49313
10639 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
10640 * config/avr/lib1funcs.S (__muldi3): New function.
10641
10642 2011-12-06 Andrew Pinski <apinski (a] cavium.com>
10643
10644 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
10645 size of func_ptr.
10646 (__frame_dummy_init_array_entry): Likewise.
10647
10648 2011-12-06 Georg-Johann Lay <avr (a] gjlay.de>
10649
10650 Forward-port from gcc-4_6-branch r181936 2011-12-02.
10651
10652 PR target/51345
10653 PR target/51002
10654 * config/avr/lib1funcs.S (__prologue_saves__,
10655 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
10656 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
10657
10658 2011-12-04 Iain Sandoe <iains (a] gcc.gnu.org>
10659
10660 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
10661
10662 2011-11-30 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
10663
10664 PR other/51272
10665 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
10666 (_ITM_deregisterTMCloneTable): Likewise.
10667 (__register_frame_info): Fix unused warning.
10668 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
10669 pthread_default_stacksize_np): Likewise.
10670 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
10671
10672 2011-11-29 DJ Delorie <dj (a] redhat.com>
10673
10674 * config.host (rl78-*-elf): New case.
10675 * config/rl78: New directory for the Renesas RL78.
10676
10677 2011-11-29 Bernd Schmidt <bernds (a] codesourcery.com>
10678
10679 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
10680 formatting.
10681
10682 2011-11-28 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10683
10684 PR other/51022
10685 * config/rs6000/t-savresfgpr: New file.
10686 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
10687 $(srcdir)/config/rs6000/eabi.S.
10688 * config/rs6000/t-ppccomm-ldbl: Remove.
10689 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
10690 tmake_file.
10691 (powerpc-*-eabispe*): Likewise.
10692 (powerpc-*-eabi*): Likewise.
10693 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10694 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
10695 to tmake_file, remove rs6000/t-ppccomm-ldbl.
10696 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
10697 tmake_file.
10698 (powerpc-*-eabisim*): Likewise.
10699 (powerpc-*-elf*): Likewise.
10700 (powerpc-*-eabialtivec*): Likewise.
10701 (powerpc-xilinx-eabi*): Likewise.
10702 (powerpc-*-rtems*): Likewise.
10703 (powerpcle-*-elf*): Likewise.
10704 (powerpcle-*-eabisim*): Likewise.
10705 (powerpcle-*-eabi*): Likewise.
10706
10707 2011-11-27 Ian Lance Taylor <iant (a] google.com>
10708
10709 * generic-morestack.c (__splitstack_find): Check for NULL old
10710 stack value.
10711 (__splitstack_resetcontext): New function.
10712 (__splitstack_releasecontext): New function.
10713 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10714
10715 2011-11-27 Iain Sandoe <iains (a] gcc.gnu.org>
10716
10717 * config/darwin-crt-tm.c: Correct comments, use correct licence.
10718
10719 2011-11-27 Iain Sandoe <iains (a] gcc.gnu.org>
10720
10721 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
10722
10723 2011-11-26 Richard Henderson <rth (a] redhat.com>
10724
10725 * config/m68k/linux-atomic.c: New file.
10726 * config/m68k/t-linux: New file.
10727 * config.host (m68k-uclinux, m68k-linux): Use it.
10728
10729 2011-11-26 Richard Henderson <rth (a] redhat.com>
10730
10731 * crtstuff.c (__TMC_LIST__): Mark used not unused.
10732 (__TMC_END__): Only declare if hidden is available; in the definition,
10733 if hidden is unavailable add a null record.
10734 (deregister_tm_clones, register_tm_clones): New.
10735 (__do_global_dtors_aux, frame_dummy): Use them.
10736 (__do_global_dtors, __do_global_ctors_1): Likewise.
10737
10738 2011-11-22 Iain Sandoe <iains (a] gcc.gnu.org>
10739
10740 * config/darwin-crt-tm.c: New file.
10741 * config.host (darwin): Build crttms.o crttme.o to provide
10742 startup and shutdown for tm clones.
10743 * config/t-darwin (crttms.o): New build rule.
10744 (crttme.o): Likewise.
10745
10746 2011-11-21 Hans-Peter Nilsson <hp (a] axis.com>
10747
10748 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
10749 et al.
10750
10751 2011-11-21 Richard Henderson <rth (a] redhat.com>
10752
10753 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
10754 (__TMC_LIST__, __TMC_END__): New.
10755 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
10756 (__do_global_dtors): Likewise.
10757 (frame_dummy): Call _ITM_registerTMCloneTable.
10758 (__do_global_ctors_1): Likewise.
10759
10760 2011-11-21 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10761
10762 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
10763 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10764 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
10765 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
10766 * config/i386/t-darwin64: Remove.
10767 * config/sh/t-netbsd (LIB2ADD): Remove.
10768
10769 2011-11-21 Georg-Johann Lay <avr (a] gjlay.de>
10770
10771 PR target/49313
10772 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
10773 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
10774 * config/avr/lib1funcs.S (wmov): New assembler macro.
10775 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
10776 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
10777 (__udivmod64): New function.
10778 (__negdi2): New function.
10779
10780 2011-11-21 Gerald Pfeifer <gerald (a] pfeifer.com>
10781
10782 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
10783 *-*-freebsd*aout*): Remove.
10784
10785 2011-11-20 Hans-Peter Nilsson <hp (a] axis.com>
10786
10787 * static-object.mk (c_flags-$o): Save c_flags.
10788 ($(base)$(objext)): Use it.
10789
10790 2011-11-18 Steve Ellcey <sje (a] cup.hp.com>
10791
10792 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
10793
10794 2011-11-18 Georg-Johann Lay <avr (a] gjlay.de>
10795
10796 PR target/49868
10797 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10798 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10799 New functions.
10800
10801 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann (a] arm.com>
10802
10803 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10804 functions.
10805 (aeabi_uidivmod): Likewise.
10806 (umodsi3): Likewise.
10807 (divsi3): Likewise.
10808 (aeabi_idivmod): Likewise.
10809 (modsi3): Likewise.
10810
10811 2011-11-16 Tristan Gingold <gingold (a] adacore.com>
10812
10813 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10814
10815 2011-11-15 Georg-Johann Lay <avr (a] gjlay.de>
10816
10817 PR target/49868
10818 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
10819 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10820
10821 2011-11-13 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
10822
10823 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10824 tmake_file list.
10825 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10826 * config/pa/t-stublib64: Delete.
10827
10828 2011-11-12 Richard Henderson <rth (a] redhat.com>
10829
10830 * config/rs6000/linux-unwind.h (frob_update_context): Properly
10831 cast the pointer argument to _Unwind_SetGRPtr.
10832
10833 2011-11-11 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10834
10835 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10836
10837 2011-11-09 Ian Lance Taylor <iant (a] google.com>
10838
10839 * generic-morestack.c: Include <string.h>.
10840 (uintptr_type): Define.
10841 (struct initial_sp): Add dont_block_signals field. Reduce size of
10842 extra array by 1.
10843 (allocate_segment): Set prev field to NULL. Don't set
10844 __morestack_current_segment or __morestack_segments.
10845 (__generic_morestack): Update current->prev and *pp after calling
10846 allocate_segment.
10847 (__morestack_block_signals): Don't do anything if
10848 dont_block_signals is set.
10849 (__morestack_unblock_signals): Likewise.
10850 (__generic_findstack): Check for initial_sp == NULL. Add casts to
10851 uintptr_type.
10852 (__splitstack_block_signals): New function.
10853 (enum __splitstack_content_offsets): Define.
10854 (__splitstack_getcontext, __splitstack_setcontext): New functions.
10855 (__splitstack_makecontext): New function.
10856 (__splitstack_block_signals_context): New function.
10857 (__splitstack_find_context): New function.
10858 * config/i386/morestack.S (__morestack_get_guard): New function.
10859 (__morestack_set_guard, __morestack_make_guard): New functions.
10860 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10861
10862 2011-11-09 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10863
10864 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10865 (i[34567]86-*-mingw*): ... here.
10866 (x86_64-*-mingw*): ... here.
10867
10868 2011-11-08 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10869
10870 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10871
10872 2011-11-07 Nathan Sidwell <nathan (a] acm.org>
10873
10874 * libgcov.c (struct gcov_fn_buffer): New struct.
10875 (buffer_fn_data): New helper.
10876 (gcov_exit): Rework for new gcov data structures.
10877
10878 2011-11-07 Georg-Johann Lay <avr (a] gjlay.de>
10879
10880 PR target/49313
10881 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10882
10883 2011-11-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10884
10885 * config.host (tmake_file): Correct comment.
10886 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10887 t-libgcc-pic.
10888 (bfin*-uclinux*): Likewise.
10889 (bfin*-linux-uclibc*): Likewise.
10890 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10891
10892 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10893 assigning.
10894 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10895 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10896 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10897 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10898 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10899 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10900 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10901 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10902 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10903 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10904 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10905 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10906 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10907
10908 * config/bfin/t-elf: Remove.
10909 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10910
10911 2011-11-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10912
10913 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10914 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10915 (lm32-*-elf*, lm32-*-rtems*): Split into ...
10916 (lm32-*-elf*): ... this.
10917 (lm32-*-rtems*): ... and this.
10918 Add to tmake_file.
10919 (m32r-*-rtems*): Add to tmake_file.
10920 (moxie-*-rtems*): Likewise.
10921 (sparc-*-rtems*): Likewise.
10922 Remove t-rtems from tmake_file.
10923 (sparc64-*-rtems*): Likewise.
10924 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10925 instead.
10926
10927 2011-11-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10928
10929 PR bootstrap/50982
10930 * config/gthr-posix.h: Move ...
10931 * gthr-posix.h: ... here.
10932 * config/gthr-lynx.h: Reflect this.
10933 * config/gthr-vxworks.h: Likewise.
10934 * config/rs6000/gthr-aix.h: Likewise.
10935 * configure.ac (target_thread_file): Likewise.
10936 * configure: Regenerate.
10937
10938 2011-11-06 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
10939
10940 * config.host (arm*-*-rtemseabi*): New target.
10941
10942 2011-11-06 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
10943
10944 PR other/50991
10945 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10946 extra-parts.
10947
10948 2011-11-05 Joern Rennecke <joern.rennecke (a] embecosm.com>
10949
10950 * config.host (epiphany-*-elf*): New configuration.
10951 * config/epiphany: New Directory.
10952
10953 2011-11-05 Ralf Corspius <ralf.corsepius (a] rtems.org>
10954
10955 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10956 * config/avr/t-rtems: New.
10957 Filter out _exit from LIB1ASMFUNCS.
10958
10959 2011-11-04 David S. Miller <davem (a] davemloft.net>
10960
10961 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10962 * configure: Rebuild.
10963
10964 2011-11-04 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
10965
10966 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10967 variable.
10968
10969 2011-11-04 Georg-Johann Lay <avr (a] gjlay.de>
10970
10971 PR target/50931
10972 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10973 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10974
10975 2011-11-04 Joel Sherrill <joel.sherrill (a] oarcorp.com>
10976
10977 PR target/50989
10978 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10979
10980 2011-11-04 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10981
10982 * config/c6x/t-elf (LIB2ADDEH): Set.
10983 * config/c6x/t-c6x-elf: Remove.
10984
10985 2011-11-04 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10986
10987 * config/i386/sol2-ci.S: Rename to ...
10988 * config/i386/crti.S: ... this.
10989 * config/i386/sol2-cn.S: Rename to ...
10990 * config/i386/crtn.S: ... this.
10991 * config/sparc/sol2-ci.S: Rename to ...
10992 * config/sparc/crti.S: ... this.
10993 * config/sparc/sol2-cn.S: Rename to ...
10994 * config/sparc/crtn.S: ... this.
10995 * config/t-sol2 (CUSTOM_CRTIN): Remove.
10996 (crti.o, crtn.o): Remove.
10997
10998 2011-11-04 Tristan Gingold <gingold (a] adacore.com>
10999
11000 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
11001
11002 2011-11-04 Kaz Kojima <kkojima (a] gcc.gnu.org>
11003
11004 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
11005
11006 2011-11-03 Hans-Peter Nilsson <hp (a] axis.com>
11007
11008 * config.host (crisv32-*-none, cris-*-none): Remove.
11009 (crisv32-*-elf): Append to tmake_file, don't just set it.
11010 (cris-*-elf): Add missing t-fdpbit to tmake_file.
11011
11012 2011-11-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
11013
11014 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
11015 (ecrtn$(objext)): Likewise.
11016 (ncrti$(objext)): Likewise.
11017 (ncrtn$(objext)): Likewise.
11018
11019 2011-11-03 Andreas Schwab <schwab (a] redhat.com>
11020
11021 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
11022
11023 2011-11-02 David S. Miller <davem (a] davemloft.net>
11024
11025 * configure.ac: Set host_address on sparc too.
11026 * configure: Regenerate.
11027 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
11028 based upon host_address.
11029 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
11030
11031 2011-11-02 Jason Merrill <jason (a] redhat.com>
11032
11033 * config/rs6000/t-ppccomm: Add missing \.
11034
11035 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
11036
11037 * gthr-single.h, gthr.h: New files.
11038 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
11039 config/gthr-vxworks.h, config/i386/gthr-win32.h,
11040 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
11041 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
11042 * config/i386/gthr-win32.c: Include "gthr-win32.h".
11043 * configure.ac (thread_header): New variable.
11044 Set it depending on target_thread_file.
11045 (gthr-default.h): Link from $thread_header.
11046 * configure: Regenerate.
11047 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
11048
11049 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
11050
11051 * configure.ac (tm_file_): New variable.
11052 Determine from tm_file.
11053 (tm_file, tm_defines): Substitute.
11054 * configure: Regenerate.
11055 * mkheader.sh: New file.
11056 * Makefile.in (clean): Remove libgcc_tm.h.
11057 ($(objects)): Depend on libgcc_tm.h.
11058 (libgcc_tm_defines, libgcc_tm_file): New variables.
11059 (libgcc_tm.h, libgcc_tm.stamp): New targets.
11060 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
11061 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
11062 ($(extra-parts)): Depend on libgcc_tm.h.
11063 * config.host (tm_defines, tm_file): New variable.
11064 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
11065 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
11066 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
11067 (avr-*-rtems*): Likewise.
11068 (avr-*-*): Likewise.
11069 (frv-*-elf): Likewise.
11070 (frv-*-*linux*): Likewise.
11071 (h8300-*-rtems*): Likewise.
11072 (h8300-*-elf*): Likewise.
11073 (i[34567]86-*-darwin*): Likewise.
11074 (x86_64-*-darwin*): Likewise.
11075 (rx-*-elf): Likewise.
11076 (tic6x-*-uclinux): Likewise.
11077 (tic6x-*-elf): Likewise.
11078 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
11079 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
11080 * config/i386/cygming-crtbegin.c: Likewise.
11081 * config/i386/cygming-crtend.c: Likewise.
11082 * config/ia64/fde-vms.c: Likewise.
11083 * config/ia64/unwind-ia64.c: Likewise.
11084 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11085 * config/rs6000/darwin-fallback.c: Likewise.
11086 * config/stormy16/lib2funcs.c: Likewise.
11087 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
11088 * crtstuff.c: Likewise.
11089 * dfp-bit.h: Likewise.
11090 * emutls.c: Likewise.
11091 * fixed-bit.c: Likewise.
11092 * fp-bit.c: Likewise.
11093 * generic-morestack-thread.c: Likewise.
11094 * generic-morestack.c: Likewise.
11095 * libgcc2.c: Likewise.
11096 * libgcov.c: Likewise.
11097 * unwind-dw2-fde-dip.c: Likewise.
11098 * unwind-dw2-fde.c: Likewise.
11099 * unwind-dw2.c: Likewise.
11100 * unwind-sjlj.c: Likewise.
11101
11102 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
11103
11104 * configure.ac: Include ../config/picflag.m4.
11105 (GCC_PICFLAG): Call it.
11106 Substitute.
11107 * configure: Regenerate.
11108 * Makefile.in (gcc_srcdir): Remove.
11109 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
11110 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
11111 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
11112 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
11113 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
11114 Use $<.
11115 Remove comment.
11116 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
11117 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
11118 to refer to libgcc2.c.
11119 Use $<.
11120 * config/darwin-64.c: New file.
11121 * config/darwin-crt3.c: Remove comment.
11122 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
11123 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
11124 config/udivmodsi4.c: New files.
11125 * config/memcmp.c, config/memcpy.c, config/memmove.c,
11126 config/memset.c: New files.
11127 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
11128 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
11129 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
11130 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
11131 * config/t-openbsd-thread: New file.
11132 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
11133 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
11134 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
11135 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
11136 qrnnd.S.
11137 Adapt filename.
11138 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
11139 to refer to gthr-posix.c.
11140 * config/alpha/t-vms (LIB2ADD): Set.
11141 * config/alpha/vms-gcc_shell_handler.c: New file.
11142 * config/arm/bpabi.c, config/arm/fp16.c,
11143 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
11144 config/arm/unaligned-funcs.c: New files.
11145 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
11146 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
11147 * config/arm/t-linux: Likewise.
11148 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
11149 * config/arm/t-netbsd: New file.
11150 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
11151 * config/arm/t-symbian (LIB2ADD_ST): Set.
11152 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
11153 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11154 * config/bfin/t-elf: New file.
11155 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
11156 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
11157 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
11158 config/c6x/ltf.c: New files.
11159 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
11160 (HOST_LIBGCC2_CFLAGS): Set.
11161 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
11162 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11163 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
11164 New files.
11165 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
11166 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
11167 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
11168 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
11169 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
11170 files.
11171 * config/frv/t-frv (LIB2ADD): Set.
11172 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11173 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
11174 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
11175 config/h8300/popcounthi2.c: New files.
11176 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
11177 * config/i386/gthr-win32.c: New file.
11178 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
11179 * config/i386/t-cygwin: Likewise.
11180 * config/i386/t-darwin, config/i386/t-darwin64,
11181 config/i386/t-gthr-win32, config/i386/t-interix: New files.
11182 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
11183 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11184 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11185 * config/ia64/quadlib.c: New file.
11186 * config/ia64/t-hpux (LIB2ADD): Set.
11187 * config/ia64/t-ia64: Add comment.
11188 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
11189 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11190 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
11191 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
11192 * config/m32c/t-m32c (LIB2ADD): Set.
11193 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
11194 * config/m32r/t-m32r: Likewise.
11195 * config/m68k/fpgnulib.c: New file.
11196 * config/m68k/t-floatlib (LIB2ADD): Set.
11197 (xfgnulib.c): New target.
11198 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
11199 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
11200 * config/mep/t-mep (LIB2ADD): Set.
11201 * config/microblaze/divsi3.asm: Rename to divsi3.S.
11202 * config/microblaze/moddi3.asm: Rename to moddi3.S.
11203 * config/microblaze/modsi3.asm: Rename to modsi3.S.
11204 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
11205 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
11206 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
11207 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
11208 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
11209 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
11210 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
11211 New files.
11212 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
11213 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
11214 * config/pa/fptr.c, config/pa/lib2funcs.S,
11215 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
11216 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
11217 (LIB2ADD, LIB2ADD_ST): Set.
11218 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
11219 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
11220 Set.
11221 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
11222 * config/pdp11/t-pdp11: New file.
11223 * config/picochip/libgccExtras/adddi3.S,
11224 config/picochip/libgccExtras/ashlsi3.S,
11225 config/picochip/libgccExtras/ashrsi3.S,
11226 config/picochip/libgccExtras/clzsi2.S,
11227 config/picochip/libgccExtras/cmpsi2.S,
11228 config/picochip/libgccExtras/divmod15.S,
11229 config/picochip/libgccExtras/divmodhi4.S,
11230 config/picochip/libgccExtras/divmodsi4.S,
11231 config/picochip/libgccExtras/lshrsi3.S,
11232 config/picochip/libgccExtras/parityhi2.S,
11233 config/picochip/libgccExtras/popcounthi2.S,
11234 config/picochip/libgccExtras/subdi3.S,
11235 config/picochip/libgccExtras/ucmpsi2.S,
11236 config/picochip/libgccExtras/udivmodhi4.S,
11237 config/picochip/libgccExtras/udivmodsi4.S: New files.
11238 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
11239 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
11240 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
11241 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
11242 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
11243 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
11244 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
11245 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
11246 files.
11247 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
11248 (HOST_LIBGCC2_CFLAGS): Set.
11249 * config/rs6000/t-darwin64: New file.
11250 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
11251 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
11252 * config/rs6000/t-ppccomm (LIB2ADD): Add
11253 $(srcdir)/config/rs6000/tramp.S.
11254 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
11255 Add $(srcdir)/config/rs6000/eabi.S.
11256 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
11257 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
11258 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
11259 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
11260 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
11261 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
11262 * config/rs6000/tramp.S: New file.
11263 * config/s390/t-tpf: Remove.
11264 * config/sh/linux-atomic.S: New file.
11265 * config/sh/t-linux (LIB2ADD): Set.
11266 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
11267 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
11268 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
11269 to unwind-dw2.c.
11270 (HOST_LIBGCC2_CFLAGS): Set.
11271 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11272 * config/spu/divmodti4.c, config/spu/divv2df3.c,
11273 config/spu/float_disf.c, config/spu/float_unsdidf.c,
11274 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
11275 config/spu/mfc_multi_tag_release.c,
11276 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
11277 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
11278 config/spu/multi3.c: New files.
11279 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
11280 (HOST_LIBGCC2_CFLAGS): Set.
11281 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
11282 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
11283 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
11284 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
11285 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
11286 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
11287 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
11288 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
11289 config/stormy16/umodsi3.c: New files.
11290 * config/xtensa/lib2funcs.S: New file.
11291 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
11292 * config/xtensa/t-xtensa (LIB2ADD): Set.
11293 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
11294 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
11295 Add t-freebsd-thread to tmake_file for posix threads.
11296 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
11297 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
11298 (*-*-lynxos*): Likewise.
11299 (*-*-netbsd*): Likewise.
11300 (*-*-openbsd*): Likewise.
11301 Add t-openbsd-thread to tmake_file for posix threads.
11302 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
11303 (*-*-vxworks*): Set tmake_file.
11304 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
11305 (alpha*-*-freebsd*): Likewise.
11306 (alpha*-*-netbsd*): Likewise.
11307 (alpha*-*-openbsd*): Likewise.
11308 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
11309 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
11310 (alpha*-dec-*vms*): Likewise.
11311 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
11312 (bfin*-elf*): Add bfin/t-elf to tmake_file.
11313 (bfin*-uclinux*): Likewise.
11314 (bfin*-linux-uclibc*): Likewise.
11315 (crisv32-*-elf): Add cris/t-cris to tmake_file.
11316 (crisv32-*-none): Likewise.
11317 (cris-*-elf): Likewise.
11318 (cris-*-none): Likewise.
11319 (cris-*-linux*, crisv32-*-linux*): Likewise.
11320 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
11321 tmake_file.
11322 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
11323 tmake_file.
11324 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
11325 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
11326 (x86_64-*-elf*): Likewise.
11327 (i[34567]86-*-nto-qnx*): Likewise.
11328 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
11329 win32 threads.
11330 (x86_64-*-mingw*): Likewise.
11331 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
11332 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
11333 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11334 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11335 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
11336 tmake_file.
11337 (mipsisa64sr71k-*-elf*): Likewise.
11338 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11339 (mips-*-elf*, mipsel-*-elf*): Likewise.
11340 (mips64-*-elf*, mips64el-*-elf*): Likewise.
11341 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11342 (mips*-*-rtems*): Likewise.
11343 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
11344 to tmake_file.
11345 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
11346 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
11347 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
11348 (spu-*-elf*): Likewise.
11349 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
11350
11351 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
11352
11353 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
11354 $(srcdir) to refer to $(LIB1ASMSRC).
11355 Use $<.
11356 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
11357 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
11358 config/arm/lib1funcs.S: New files.
11359 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
11360 * config/arm/t-arm: New file.
11361 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
11362 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
11363 config/arm/t-strongarm-elf: New files.
11364 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
11365 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
11366 * config/avr/lib1funcs.S: New file.
11367 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11368 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
11369 * config/c6x/lib1funcs.S: New file.
11370 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11371 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
11372 * config/frv/lib1funcs.S: New file.
11373 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11374 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
11375 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
11376 * config/ia64/__divxf3.asm: Rename to ...
11377 * config/ia64/__divxf3.S: ... this.
11378 Adapt lib1funcs.asm filename.
11379 * config/ia64/_fixtfdi.asm: Rename to ...
11380 * config/ia64/_fixtfdi.S: ... this.
11381 Adapt lib1funcs.asm filename.
11382 * config/ia64/_fixunstfdi.asm: Rename to ...
11383 * config/ia64/_fixunstfdi.S: ... this.
11384 Adapt lib1funcs.asm filename.
11385 * config/ia64/_floatditf.asm: Rename to ...
11386 * config/ia64/_floatditf.S: ... this.
11387 Adapt lib1funcs.asm filename.
11388 * config/ia64/lib1funcs.S: New file.
11389 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
11390 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11391 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
11392 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
11393 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
11394 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
11395 * config/mep/lib1funcs.S: New file.
11396 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11397 * config/mips/mips16.S: New file.
11398 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11399 * config/pa/milli64.S: New file.
11400 * config/pa/t-linux, config/pa/t-linux64: New files.
11401 * config/picochip/lib1funcs.S: New file.
11402 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11403 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
11404 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
11405 * config/sh/t-netbsd: New file.
11406 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
11407 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
11408 * config/sh/t-sh64: New file.
11409 * config/sparc/lb1spc.S: New file.
11410 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
11411 filename.
11412 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
11413 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
11414 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
11415 config/xtensa/lib1funcs.S: New files.
11416 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11417 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
11418 tmake_file.
11419 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
11420 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
11421 (arm*-*-linux*): Likewise.
11422 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
11423 arm*-*-linux-*eabi, add arm/t-linux otherwise.
11424 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
11425 (arm*-*-ecos-elf): Likewise.
11426 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11427 (arm*-*-rtems*): Likewise.
11428 (arm*-*-elf): Likewise.
11429 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
11430 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
11431 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
11432 (bfin*-uclinux*): Likewise.
11433 (bfin*-linux-uclibc*): Likewise.
11434 (bfin*-rtems*): Likewise.
11435 (bfin*-*): Likewise.
11436 (fido-*-elf): Merge into m68k-*-elf*.
11437 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
11438 (frv-*-*linux*): Add frv/t-frv to tmake_file.
11439 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
11440 (h8300-*-elf*): Likewise.
11441 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
11442 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
11443 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
11444 (i[34567]86-*-mingw*): Likewise.
11445 (x86_64-*-mingw*): Likewise.
11446 (i[34567]86-*-interix3*): Likewise.
11447 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
11448 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
11449 (m68k-*-elf*): Also handle fido-*-elf.
11450 Add m68k/t-floatlib to tmake_file.
11451 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
11452 (m68k-*-linux*): Likewise.
11453 (m68k-*-rtems*): Likewise.
11454 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
11455 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
11456 sh64*-*-*.
11457 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
11458 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
11459 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
11460 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
11461 sh/t-netbsd to tmake_file.
11462 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
11463 (sh-*-rtems*): Add sh/t-sh to tmake_file.
11464 (sh-wrs-vxworks): Likewise.
11465 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
11466 *-leon[3-9]*.
11467 (v850*-*-*): Add v850/t-v850 to tmake_file.
11468 (vax-*-linux*): Add vax/t-linux to tmake_file.
11469 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
11470
11471 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
11472
11473 * crtstuff.c: New file.
11474 * Makefile.in (CRTSTUFF_CFLAGS): Define.
11475 (CRTSTUFF_T_CFLAGS): Define.
11476 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
11477 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
11478 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
11479 crtstuff.c.
11480 Use $<.
11481 (crtbeginT.o): Use $(objext).
11482 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
11483 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
11484 (gcc-extra-parts): Remove.
11485 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
11486 Set extra_parts.
11487 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11488 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
11489 Add t-crtstuff-pic to tmake_file.
11490 (*-*-lynxos*): New case.
11491 Set tmake_file, extra_parts.
11492 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
11493 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
11494 *-*-netbsdelf[2-9]*.
11495 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
11496 (*-*-rtems*): Set extra_parts.
11497 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
11498 (*-*-uclinux*): New case.
11499 Set extra_parts.
11500 (*-*-vms*): New case.
11501 Set tmake_file, extra_parts.
11502 (*-*-elf): Set extra_parts.
11503 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
11504 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
11505 vms/t-vms64.
11506 Set extra_parts.
11507 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
11508 Set extra_parts.
11509 (arm*-*-freebsd*): Add t-crtin to tmake_file.
11510 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
11511 (arm-wrs-vxworks): Append to tmake_file.
11512 Set extra_parts.
11513 (arm*-*-uclinux*): Set extra_parts.
11514 (arm*-*-ecos-elf): Likewise.
11515 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
11516 arm*-*-eabi*.
11517 (arm*-*-rtems*): Set extra_parts.
11518 (arm*-*-elf): Likewise.
11519 (avr-*-rtems*): Clear extra_parts.
11520 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
11521 Set extra_parts.
11522 (bfin*-uclinux*): Likewise.
11523 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
11524 (bfin*-rtems*): Append to tmake_file.
11525 Set extra_parts.
11526 (bfin*-*): Likewise.
11527 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
11528 (crisv32-*-elf): ... this.
11529 (crisv32-*-none): ... this.
11530 (cris-*-elf, cris-*-none): New cases.
11531 Add cris/t-elfmulti to tmake_file.
11532 (fr30-*-elf): Append to tmake_file.
11533 Set extra_parts.
11534 (frv-*-elf): Append to tmake_file, add frv/t-frv.
11535 Set extra_parts.
11536 (h8300-*-rtems*): Append to tmake_file.
11537 Set extra_parts.
11538 (h8300-*-elf*): Likewise.
11539 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
11540 Set extra_parts.
11541 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
11542 Set extra_parts.
11543 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
11544 (x86_64-*-elf*): Likewise.
11545 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
11546 (x86_64-*-freebsd*): Likewise.
11547 (x86_64-*-netbsd*): Likewise.
11548 (i[34567]86-*-linux*): Likewise.
11549 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11550 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11551 (x86_64-*-linux*): Likewise.
11552 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11553 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
11554 tmake_file.
11555 Set extra_parts.
11556 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
11557 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
11558 Append to extra_parts, remove crtbegin.o, crtend.o.
11559 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
11560 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
11561 crtend.o, crtbeginS.o, crtendS.o.
11562 (ia64*-*-linux*): Comment extra_parts.
11563 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
11564 Set extra_parts.
11565 (iq2000*-*-elf*): Clear extra_parts.
11566 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
11567 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
11568 (m32r-*-elf*, m32r-*-rtems*): Split off ...
11569 (m32r-*-rtems*): ... this.
11570 Add m32r/t-m32r to tmake_file.
11571 (m68k-*-elf*): Add t-crtin to tmake_file.
11572 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
11573 (mcore-*-elf): Likewise.
11574 (microblaze*-*-*): Set extra_parts.
11575 (mips*-sde-elf*): New case.
11576 Set tmake_file, extra_parts.
11577 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11578 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11579 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
11580 tmake_file.
11581 Set extra_parts.
11582 (mipsisa64sr71k-*-elf*): Likewise.
11583 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11584 (mips-*-elf*, mipsel-*-elf*): Likewise.
11585 (mips64-*-elf*, mips64el-*-elf*): Likewise.
11586 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
11587 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11588 (mips*-*-rtems*): Likewise.
11589 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
11590 (moxie-*-*): Split into ...
11591 (moxie-*-elf, moxie-*-uclinux*): ... this.
11592 Add to extra_parts, remove crtbegin.o, crtend.o.
11593 (moxie-*-rtems*): New case.
11594 Set tmake_file.
11595 Clear extra_parts.
11596 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
11597 Set extra_parts.
11598 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
11599 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
11600 tmake_file.
11601 Set extra_parts.
11602 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
11603 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
11604 Set extra_parts.
11605 (powerpc-*-eabisim*): Likewise.
11606 (powerpc-*-elf*): Likewise.
11607 (powerpc-*-eabialtivec*): Likewise.
11608 (powerpc-xilinx-eabi*): Likewise.
11609 (powerpc-*-eabi*): Likewise.
11610 (powerpc-*-rtems*): Likewise.
11611 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
11612 tmake_file.
11613 Set extra_parts.
11614 (powerpc-*-lynxos*): Add to tmake_file.
11615 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
11616 rs6000/t-crtstuff, t-crtstuff-pic.
11617 Set extra_parts.
11618 (powerpcle-*-eabisim*): Likewise.
11619 (powerpcle-*-eabi*): Likewise.
11620 (rx-*-elf): Remove extra_parts.
11621 (s390x-ibm-tpf*): Set extra_parts.
11622 (score-*-elf): Set extra_parts.
11623 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11624 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11625 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11626 (sh64l*-*-netbsd*): Split into ...
11627 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
11628 Add t-crtstuff-pic to tmake_file.
11629 Set extra_parts.
11630 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
11631 Set extra_parts.
11632 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
11633 (sparc-*-elf*): Remove t-crtin from tmake_file.
11634 Add to extra_parts, remove crtbegin.o, crtend.o.
11635 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
11636 (sparc64-*-linux*): Likewise.
11637 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
11638 Add to extra_parts, remove crtbegin.o, crtend.o.
11639 (sparc64-*-elf*): Remove t-crtin from tmake_file.
11640 Add to extra_parts, remove crtbegin.o, crtend.o.
11641 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
11642 Add to extra_parts, remove crtbegin.o, crtend.o.
11643 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
11644 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
11645 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
11646 Set extra_parts.
11647 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
11648 Set extra_parts.
11649 (tic6x-*-*): Change to ...
11650 (tic6x-*-elf): ... this.
11651 Set extra_parts.
11652 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
11653 Set extra_parts.
11654 (am33_2.0-*-linux*): Add comment.
11655 (mep*-*-*): Add mep/t-mep to tmake_file.
11656 Set extra_parts.
11657 * config/alpha/t-vms: New file.
11658 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
11659 * config/arm/crti.S, config/arm/crtn.S: New files.
11660 * config/bfin/crti.S, config/bfin/crtn.S: New files.
11661 * config/bfin/crtlibid.S: New file.
11662 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
11663 * config/c6x/crti.S, config/c6x/crtn.S: New files.
11664 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
11665 (crti.o, crtin.o): New rules.
11666 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11667 * config/c6x/t-uclinux: New file.
11668 * config/cris/t-elfmulti: New file.
11669 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
11670 * config/fr30/crti.S, config/fr30/crtn.S: New files.
11671 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
11672 * config/frv/t-frv: New file.
11673 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
11674 * config/h8300/crti.S, config/h8300/crtn.S: New files.
11675 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
11676 New files.
11677 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
11678 refer to cygming-crtbegin.c, cygming-crtend.c.
11679 Use $<.
11680 * config/i386/t-nto: New file.
11681 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
11682 * config/ia64/crti.S, config/ia64/crtn.S: New files.
11683 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
11684 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
11685 Use .S extension.
11686 Use $<.
11687 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11688 (crtinitS.o): New rule.
11689 * config/ia64/vms-crtinit.S: New file.
11690 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
11691 * config/m32r/initfini.c: New file.
11692 * config/m32r/t-linux, config/m32r/t-m32r: New files.
11693 * config/m68k/crti.S, config/m68k/crtn.S: New files.
11694 * config/mcore/crti.S, config/mcore/crtn.S: New files.
11695 * config/mep/t-mep: New file.
11696 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
11697 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
11698 * config/mips/crti.S, config/mips/crtn.S: New files.
11699 * config/mips/t-crtstuff: New file.
11700 * config/mmix/crti.S, config/mmix/crtn.S: New files.
11701 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
11702 (CUSTOM_CRTIN): Set.
11703 ($(T)crti.o, $(T)crtn.o): Remove $(T),
11704 dependencies.
11705 Use $(srcdir) to refer to crti.S, crtn.S.
11706 Use .S extension, $<.
11707 * config/moxie/crti.asm: Rename to ...
11708 * config/moxie/crti.S: ... this.
11709 * config/moxie/crtn.asm: Rename to ...
11710 * config/moxie/crtn.S: ... this.
11711 * config/moxie/t-moxie: Remove.
11712 * config/pa/stublib.c: New file.
11713 * config/pa/t-stublib, config/pa/t-stublib64: New files.
11714 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
11715 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
11716 * config/rs6000/t-crtstuff: New file.
11717 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
11718 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
11719 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
11720 Make output file explicit.
11721 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
11722 Make output file explicit.
11723 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
11724 Make output file explicit.
11725 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
11726 Make output file explicit.
11727 * config/score/crti.S, config/score/crtn.S: New files.
11728 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
11729 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
11730 files.
11731 * config/sh/t-sh, config/sh/t-superh: New files.
11732 * config/sparc/t-linux64: New file.
11733 * config/spu/cache.S, config/spu/cachemgr.c: New files.
11734 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
11735 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
11736 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
11737 * config/t-crtin: Remove.
11738 * config/t-crtstuff-pic: New file.
11739 * config/t-sol2 (CUSTOM_CRTIN): Set.
11740 (crti.o, crtn.o): New rules.
11741 * config/vms/t-vms: New file.
11742 * config/vms/vms-ucrt0.c: New file.
11743 * config/xtensa/t-elf: New file.
11744
11745 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
11746
11747 * Makefile.in (SHLIB_NM_FLAGS): Set.
11748 * mkmap-flat.awk, mkmap-symver.awk: New files.
11749 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
11750 exceptions.
11751 * configure: Regenerate.
11752 * config/libgcc-glibc.ver: New file.
11753 * config/libgcc-libsystem.ver: New file.
11754 * config/t-libunwind (SHLIB_LC): Set.
11755 * config/t-linux: New file.
11756 * config/t-slibgcc (INSTALL_SHLIB): New.
11757 (SHLIB_INSTALL): Use it.
11758 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
11759 to mkmap-symver.awk.
11760 (SHLIB_MAPFILES): Don't append, adapt pathname.
11761 (SHLIB_VERPFX): Set.
11762 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
11763 to mkmap-symver.awk.
11764 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
11765 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
11766 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
11767 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
11768 to mkmap-flat.awk.
11769 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
11770 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
11771 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
11772 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
11773 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
11774 * config/i386/libgcc-darwin.10.4.ver,
11775 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
11776 New files.
11777 * config/i386/t-darwin: Remove.
11778 * config/i386/t-darwin64: Likewise.
11779 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
11780 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
11781 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
11782 * config/i386/t-linux: New file.
11783 * config/i386/t-mingw32: New file.
11784 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
11785 * config/ia64/t-glibc: Rename to ...
11786 * config/ia64/t-linux: ... this.
11787 (SHLIB_MAPFILES): Set.
11788 * config/ia64/t-glibc-libunwind: Rename to ...
11789 * config/ia64/t-linux-libunwind: ... this.
11790 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
11791 * config/ia64/t-slibgcc-hpux: New file.
11792 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
11793 * config/m68k/t-slibgcc-elf-ver: New file.
11794 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
11795 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
11796 to mkmap-flat.awk.
11797 * config/pa/t-slibgcc-hpux: New file.
11798 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11799 files.
11800 * config/rs6000/libgcc-darwin.10.4.ver,
11801 config/rs6000/libgcc-darwin.10.5.ver: New files.
11802 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11803 config/rs6000/libgcc-glibc.ver.
11804 * config/rs6000/libgcc-ppc64.ver: Rename to
11805 config/rs6000/libgcc-ibm-ldouble.ver.
11806 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11807 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11808 * config/rs6000/t-ldbl128: Rename to ...
11809 * config/rs6000/t-linux: ... this.
11810 (SHLIB_MAPFILES): Adapt filename.
11811 * config/rs6000/t-slibgcc-aix: New file.
11812 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11813 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11814 libgcc-excl.ver, libgcc-glibc.ver.
11815 (SHLIB_LINK, SHLIB_INSTALL): Remove.
11816 * config/sparc/libgcc-glibc.ver: New file.
11817 * config/sparc/t-linux: New file.
11818 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11819 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11820 t-slibgcc-elf-ver to tmake_file.
11821 Add t-slibgcc-nolc-override to tmake_file for posix threads on
11822 *-*-freebsd[34].
11823 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11824 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11825 t-slibgcc-elf-ver, t-linux to tmake_file.
11826 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11827 tmake_file.
11828 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11829 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11830 (alpha*-dec-*vms*): Likewise.
11831 (arm*-*-freebsd*): Append to tmake_file.
11832 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11833 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11834 arm*-*-linux-*eabi.
11835 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11836 tmake_file for arm*-*-symbianelf*.
11837 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11838 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11839 cris/t-linux.
11840 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11841 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11842 pa/t-slibgcc-dwarf-ver to tmake_file.
11843 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11844 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11845 (hppa*64*-*-hpux11*): Likewise.
11846 (hppa[12]*-*-hpux11*): Likewise.
11847 (x86_64-*-darwin*): Don't override tmake_file, but only keep
11848 i386/t-crtpc, i386/t-crtfm.
11849 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11850 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11851 to tmake_file.
11852 Add i386/t-cygwin to tmake_file.
11853 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11854 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11855 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11856 to tmake_file.
11857 Add i386/t-mingw32 to tmake_file.
11858 (x86_64-*-mingw*): Likewise.
11859 (ia64*-*-freebsd*): Append to tmake_file.
11860 (ia64*-*-linux*): Append to tmake_file.
11861 Replace ia64/t-glibc by ia64/t-linux.
11862 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11863 system libunwind.
11864 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11865 t-slibgcc-hpux to tmake_file.
11866 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11867 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11868 (m32rle-*-linux*): Likewise.
11869 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11870 sjlj exceptions.
11871 (microblaze*-linux*): New case.
11872 Append to tmake_file, add t-slibgcc-nolc-override.
11873 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11874 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11875 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11876 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11877 rs6000/t-slibgcc-aix to tmake_file.
11878 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11879 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11880 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11881 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11882 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11883 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11884 sh*-*-linux*.
11885 (sparc-*-linux*): Append to tmake_file for *-leon*.
11886 Add sparc/t-linux to tmake_file for non-Leon targets.
11887 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11888 (tic6x-*-uclinux): New case.
11889 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11890 (tic6x-*-*): Add c6x/t-elf to tmake_file.
11891 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11892 (am33_2.0-*-linux*): Append to tmake_file.
11893 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11894 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11895 x86_64-*-kfreebsd*-gnu.
11896 Add i386/t-linux to tmake_file.
11897
11898 2011-10-28 Ian Lance Taylor <iant (a] google.com>
11899
11900 * config/i386/morestack.S: Correct CFI information to do proper
11901 returns throughout function. In 32-bit mode, save %ebx so that it
11902 is restored on unwind.
11903
11904 2011-10-25 Bernd Schmidt <bernds (a] codesourcery.com>
11905
11906 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11907 case where B3 isn't the return register.
11908
11909 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11910 logic for doubleword pops.
11911
11912 2011-10-25 Andreas Tobler <andreast (a] fgznet.ch>
11913
11914 * config/rs6000/t-freebsd: Add wildcard.
11915
11916 2011-10-21 Paul Brook <paul (a] codesourcery.com>
11917
11918 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11919
11920 2011-10-16 Uros Bizjak <ubizjak (a] gmail.com>
11921 Eric Botcazou <ebotcazou (a] adacore.com>
11922
11923 PR target/50737
11924 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11925 fs->signal_frame to 1.
11926
11927 2011-10-07 Ian Lance Taylor <iant (a] google.com>
11928
11929 * generic-morestack-thread.c: #include <errno.h>.
11930
11931 2011-10-07 Ian Lance Taylor <iant (a] google.com>
11932
11933 PR target/46093
11934 * generic-morestack.c (__generic_morestack): Make sure the segment
11935 is large enough for both the stack frame and the copied
11936 parameters.
11937
11938 2011-10-06 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
11939
11940 PR bootstrap/49804
11941 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11942 extra_parts.
11943
11944 2011-09-28 Nick Clifton <nickc (a] redhat.com>
11945
11946 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11947 64-bit doubles are not enabled.
11948 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11949 and floatunsisf functions.
11950
11951 2011-09-13 Paul Brook <paul (a] codesourcery.com>
11952
11953 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
11954 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11955 * unwind-arm-common.inc: New file.
11956 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11957 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11958 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11959 * config/c6x/libunwind.S: New file.
11960 * config/c6x/pr-support.c: New file.
11961 * config/c6x/unwind-c6x.c: New file.
11962 * config/c6x/unwind-c6x.h: New file.
11963 * config/c6x/t-c6x-elf: New file.
11964
11965 2011-08-23 Uros Bizjak <ubizjak (a] gmail.com>
11966
11967 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11968 (ASM_DIVZERO): Ditto.
11969 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11970
11971 2011-08-18 Richard Sandiford <richard.sandiford (a] linaro.org>
11972
11973 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11974
11975 2011-08-17 Richard Sandiford <richard.sandiford (a] linaro.org>
11976
11977 PR target/50090
11978 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11979 instead of an assembly one.
11980
11981 2011-08-12 Paolo Bonzini <bonzini (a] gnu.org>
11982
11983 PR bootstrap/50047
11984 * Makefile.in (install-unwind_h): Create
11985 $(gcc_objdir)/include/unwind.h atomically.
11986
11987 2011-08-11 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
11988
11989 * Makefile.in (install-unwind_h): Remove destination file first.
11990
11991 2011-08-09 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
11992
11993 * sync.c: New file.
11994 * config/mips/t-mips16: New file.
11995 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11996 (mips*-*-linux*): Likewise.
11997 (mips*-sde-elf*): Likewise.
11998 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11999 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
12000 Add mips/t-mips16 to tmake_file.
12001 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
12002 (mips-*-elf*): Likewise.
12003 (mips64-*-elf*): Likewise.
12004 (mips64orion-*-elf*): Likewise.
12005 (mips*-*-rtems*): Likewise.
12006 (mipstx39-*-elf*): Likewise.
12007 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
12008 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
12009 LIBGCC_SYNC_CFLAGS.
12010 Use $(srcdir) to refer to sync.c.
12011 Use $<.
12012 ($(libgcc-sync-funcs-o)): Likewise.
12013 ($(libgcc-sync-size-funcs-s-o)): Likewise.
12014 ($(libgcc-sync-funcs-s-o)): Likewise.
12015
12016 2011-08-09 Andreas Schwab <schwab (a] linux-m68k.org>
12017
12018 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
12019 t-libunwind.
12020
12021 2011-08-08 H.J. Lu <hongjiu.lu (a] intel.com>
12022
12023 PR other/48007
12024 * config/i386/value-unwind.h: New.
12025
12026 2011-08-06 Richard Sandiford <rdsandiford (a] googlemail.com>
12027
12028 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
12029 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
12030 Add to tmake_file rather than overriding it.
12031
12032 2011-08-05 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12033
12034 * config/t-softfp: Remove.
12035 * soft-fp: Moved from ../gcc/config.
12036 * soft-fp/README: Remove t-softfp reference.
12037 * soft-fp/t-softfp: Move to config/t-softfp.
12038 (softfp_machine_header): Remove.
12039 (softfp_file_list): Remove config subdir.
12040 (soft-fp-objects): New variable.
12041 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
12042 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
12043 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
12044 * config/t-softfp-excl: New file.
12045 * config/t-softfp-sfdf: New file.
12046 * config/t-softfp-tf: New file.
12047 * config/no-sfp-machine.h: New file.
12048 * config/arm/sfp-machine.h: New file.
12049 * config/arm/t-softfp: New file.
12050 * config/c6x/sfp-machine.h: New file.
12051 * config/i386/32/t-fprules-softfp: Rename to ...
12052 * config/i386/32/t-softfp: ... this.
12053 (tifunctions, LIB2ADD): Remove.
12054 (softfp_int_modes): Override.
12055 * config/i386/64/t-softfp-compat (tf-functions): Remove config
12056 subdir.
12057 * config/i386/64/eqtf2.c: Likewise.
12058 * config/i386/64/getf2.c: Likewise.
12059 * config/i386/64/letf2.c: Likewise.
12060 * config/ia64/sft-machine.h: New file.
12061 * config/ia64/t-fprules-softfp: Rename to ...
12062 * config/ia64/t-softfp: ... this.
12063 * config/lm32/sfp-machine.h: New file.
12064 * config/moxie/t-moxie-softfp: Remove.
12065 * config/rs6000/ibm-ldouble-format: New file.
12066 * config/rs6000/ibm-ldouble.c: New file.
12067 * config/rs6000/libgcc-ppc-glibc.ver: New file
12068 * config/rs6000/libgcc-ppc64.ver: New file
12069 * config/rs6000/sfp-machine.h: New file.
12070 * config/rs6000/t-freebsd: New file.
12071 * config/rs6000/t-ibm-ldouble: New file.
12072 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
12073 libgcc-ppc-glibc.ver.
12074 * config/rs6000/t-linux64: New file.
12075 * config/rs6000/t-ppccomm (LIB2ADD): Add
12076 $(srcdir)/config/rs6000/ibm-ldouble.c.
12077 * config/rs6000/t-ppccomm-ldbl: New file.
12078 * config/score/sfp-machine.h: New file.
12079 * config.host (sfp_machine_header): Explain.
12080 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
12081 t-softfp to tmake_file.
12082 (arm*-*-uclinux*): Likewise.
12083 (arm*-*-ecos-elf): Likewise.
12084 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
12085 (arm*-*-rtems*): Likewise.
12086 (arm*-*-elf): Likewise.
12087 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
12088 in tmake_file.
12089 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
12090 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
12091 (lm32-*-uclinux*): Likewise.
12092 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
12093 t-softfp-excl, t-softfp.
12094 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
12095 (powerpc64-*-darwin*): Likewise.
12096 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
12097 to tmake_file.
12098 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
12099 tmake_file.
12100 (powerpc-*-eabisim*): Likewise.
12101 (powerpc-*-elf*): Likewise.
12102 (powerpc-*-eabialtivec*): Likewise.
12103 (powerpc-xilinx-eabi*): Likewise.
12104 (powerpc-*-rtems*): Likewise.
12105 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
12106 t-softfp-excl, t-softfp to tmake_file.
12107 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
12108 rs6000/t-ppccomm-ldbl to tmake_file.
12109 (powerpcle-*-elf*): Likewise.
12110 (powerpcle-*-eabisim*): Likewise.
12111 (powerpcle-*-eabi*): Likewise.
12112 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
12113 rs6000/t-ibm-ldouble to tmake_file.
12114 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12115 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12116 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
12117 (tic6x-*-*): Likewise.
12118 (i[34567]86-*-darwin*, x86_64-*-darwin*,
12119 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
12120 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
12121 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
12122 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
12123 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
12124 t-softfp to tmake_file.
12125 * configure.ac (sfp_machine_header): Provide default if unset.
12126 Substitute.
12127 Link sfp-machine.h to config/$sfp_machine_header.
12128 * configure: Regenerate.
12129
12130 2011-08-05 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12131
12132 * Makefile.in (double_type_size, long_double_type_size): Set.
12133 Remove $(fpbit-in-libgcc) support.
12134 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
12135 (fpbit-src): New variable.
12136 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
12137 Compile with -DFLOAT $(FPBIT_CFLAGS).
12138 Use $<.
12139 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
12140 Compile with $(FPBIT_CFLAGS).
12141 Use $<.
12142 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
12143 Compile with -DFLOAT $(TPBIT_CFLAGS).
12144 Use $<.
12145 * configure.ac (double_type_size, long_double_type_size):
12146 Determine and substitute.
12147 * configure: Regenerate.
12148 * fp-bit.c, fp-bit.h: New files.
12149 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
12150 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
12151 * config/mips/t-mips: New file.
12152 * config/mips/t-sdemtk: New file.
12153 * config/rs6000/ppc64-fp.c: New file.
12154 * config/rs6000/t-darwin (LIB2ADD): Add
12155 $(srcdir)/config/rs6000/ppc64-fp.c.
12156 * config/rs6000/t-ppc64-fp: New file.
12157 * config/rx/rx-lib.h: New file.
12158 * config/rx/t-rx (FPBIT): Set to true.
12159 ($(gcc_objdir)/fp-bit.c): Remove.
12160 (DPBIT): Set to true only with -m64bit-doubles.
12161 ($(gcc_objdir)/dp-bit.c): Remove.
12162 * config/sparc/t-softfp: Remove.
12163 * config/spu/t-elf: New file.
12164 * config/t-fdpbit, config/t-fpbit: New files.
12165 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
12166 (mips*-*-*): Likewise.
12167 (arm-wrs-vxworks): Likewise.
12168 (arm*-*-freebsd*): Likewise.
12169 (avr-*-rtems*): Add t-fpbit to tmake_file.
12170 (avr-*-*): Likewise.
12171 (bfin*-elf*): Add t-fdpbit to tmake_file.
12172 (bfin*-uclinux*): Likewise.
12173 (bfin*-linux-uclibc*): Likewise.
12174 (bfin*-rtems*): New case.
12175 Add t-fdpbit to tmake_file.
12176 (bfin*-*): Add t-fdpbit to tmake_file.
12177 (crisv32-*-elf): Likewise.
12178 (cris-*-linux*): Likewise.
12179 (fr30-*-elf): Likewise.
12180 (frv-*-elf, frv-*-*linux*): Likewise.
12181 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
12182 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
12183 (m32r-*-elf*): Likewise.
12184 (m32rle-*-elf*): Likewise.
12185 (m32r-*-linux*): Likewise.
12186 (m32rle-*-linux*): Likewise.
12187 (mcore-*-elf): Add t-fdpbit to tmake_file.
12188 (microblaze*-*-*): Likewise.
12189 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
12190 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
12191 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
12192 Fix typo.
12193 Add mips/t-tpbit to tmake-file.
12194 (mips*-*-linux*): Fix typo.
12195 (mips*-sde-elf*): New case
12196 Add mips/t-sdemtk unless using newlib.
12197 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
12198 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
12199 (mn10300-*-*): Likewise.
12200 (pdp11-*-*): Likewise.
12201 (picochip-*-*): Add t-fpbit to tmake_file.
12202 (powerpc-*-eabisimaltivec*): Likewise.
12203 (powerpc-*-eabisim*): Likewise.
12204 (powerpc-*-elf*): Likewise.
12205 (powerpc-*-eabialtivec*): Likewise.
12206 (powerpc-xilinx-eabi*): New case.
12207 Add t-fdpbit to tmake_file.
12208 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
12209 (powerpc-*-rtems*): Likewise.
12210 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
12211 tmake_file.
12212 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
12213 tmake_file.
12214 (powerpc-*-lynxos*): Likewise.
12215 (powerpcle-*-elf*): Likewise.
12216 (powerpcle-*-eabisim*): Likewise.
12217 (powerpcle-*-eabi*): Likewise.
12218 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
12219 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
12220 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12221 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12222 (rx-*-elf): Add t-fdpbit to tmake_file.
12223 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
12224 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
12225 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
12226 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
12227 sh*-*-netbsd*.
12228 (sh-*-rtems*): Add t-fdpbit to tmake_file.
12229 (sh-wrs-vxworks): Likewise.
12230 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
12231 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
12232 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
12233 (sparc64-*-rtems*): ... new case.
12234 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
12235 (spu-*-elf*): Likewise.
12236 Add spu/t-elf to tmake_file.
12237 (v850*-*-*): Add t-fdpbit to tmake_file.
12238 (xstormy16-*-elf): Likewise.
12239 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
12240 (mep*-*-*): Likewise.
12241
12242 2011-08-05 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12243
12244 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
12245 variables.
12246 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
12247 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
12248 (install-unwind_h): New target.
12249 (all): Depend on it.
12250 * config.host (unwind_header): New variable.
12251 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
12252 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
12253 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
12254 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
12255 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
12256 Set unwind_header.
12257 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
12258 Set unwind_header.
12259 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
12260 arm*-*-eabi*.
12261 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
12262 Set unwind_header.
12263 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
12264 (ia64*-*-freebsd*): Likewise.
12265 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
12266 tmake_file.
12267 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
12268 $with_system_libunwind.
12269 (ia64*-*-hpux*): Set tmake_file.
12270 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
12271 (picochip-*-*): Set tmake_file.
12272 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
12273 md_unwind_header.
12274 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12275 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12276 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
12277 (xtensa*-*-elf*): Set tmake_file.
12278 (xtensa*-*-linux*): Likewise.
12279 * configure.ac: Include ../config/unwind_ipinfo.m4.
12280 Call GCC_CHECK_UNWIND_GETIPINFO.
12281 Link unwind.h to $unwind_header.
12282 * configure: Regenerate.
12283 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
12284 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
12285 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
12286 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
12287 * config/unwind-dw2-fde-darwin.c: New file.
12288 * config/arm/libunwind.S, config/arm/pr-support.c,
12289 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
12290 config/arm/unwind-arm.h,: New files.
12291 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
12292 config/ia64/t-eh-ia64, config/ia64/t-glibc,
12293 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
12294 config/ia64/t-vms, config/ia64/unwind-ia64.c,
12295 config/ia64/unwind-ia64.h: New files.
12296 * config/picochip/t-picochip: New file.
12297 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
12298 files.
12299 * config/rs6000/t-darwin (LIB2ADDEH): Set.
12300 * config/s390/t-tpf (LIB2ADDEH): Remove.
12301 * config/t-darwin (LIB2ADDEH): Set.
12302 * config/t-eh-dw2-dip: New file.
12303 * config/t-libunwind, config/t-libunwind-elf: New files.
12304 * config/t-sol2 (LIB2ADDEH): Remove.
12305 * config/xtensa/t-xtensa: New file.
12306
12307 2011-08-02 H.J. Lu <hongjiu.lu (a] intel.com>
12308
12309 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
12310 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
12311 long long to check rt_sigreturn syscall.
12312
12313 2011-08-02 Alan Modra <amodra (a] gmail.com>
12314
12315 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
12316 Restore for indirect call bcrtl from correct stack slot, and only
12317 if cfa+40 isn't valid.
12318
12319 2011-08-01 Julian Brown <julian (a] codesourcery.com>
12320
12321 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
12322 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
12323 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
12324
12325 2011-08-01 Julian Brown <julian (a] codesourcery.com>
12326
12327 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
12328 (libgcc-std.ver.in): Use above.
12329 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
12330 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
12331 throughout file.
12332 * config/t-fixedpoint-gnu-prefix: New file.
12333 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
12334 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
12335 instead of __PFX__.
12336
12337 2011-07-28 H.J. Lu <hongjiu.lu (a] intel.com>
12338
12339 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
12340 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
12341 for x86-64. Properly check __x86_64__ and __LP64__.
12342
12343 2010-07-28 H.J. Lu <hongjiu.lu (a] intel.com>
12344
12345 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
12346 version.
12347 (_FP_WS_TYPE): Likewise.
12348 (_FP_I_TYPE): Likewise.
12349
12350 2011-07-28 Alan Modra <amodra (a] gmail.com>
12351
12352 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
12353 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
12354 in a plt call stub. Do restore r2 if stopped on bctrl.
12355
12356 2011-07-18 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12357
12358 * config.host (i[3456x]86-*-netware*): Remove.
12359 * config/i386/netware-crt0.c, config/i386/t-nwld,
12360 config/i386/t-slibgcc-nwld: Remove.
12361
12362 2011-07-15 Bernd Schmidt <bernds (a] codesourcery.com>
12363
12364 * config.host: Handle tic6x-*-*.
12365 * config/c6x/c6x-abi.h: New file.
12366
12367 2011-07-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12368
12369 * config/i386/crtprec.c: New file.
12370 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
12371 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
12372 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
12373 (x86_64-*-darwin*): Likewise.
12374 (i[34567]86-*-solaris2*: Likewise.
12375
12376 2011-07-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12377
12378 * config/alpha/crtfastmath.c: New file.
12379 * config/i386/crtfastmath.c: New file.
12380 * config/ia64/crtfastmath.c: New file.
12381 * config/mips/crtfastmath.c: New file.
12382 * config/sparc/crtfastmath.c: New file.
12383
12384 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
12385 crtfastmath.c.
12386 Add -frandom-seed=gcc-crtfastmath.
12387 * config/alpha/t-crtfm: Remove.
12388 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
12389 * config/ia64/t-ia64 (crtfastmath.o): Remove.
12390
12391 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
12392 (alpha*-dec-osf5.1*): Likewise.
12393 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
12394 Add crtfastmath.o to extra_parts.
12395 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
12396 Add crtfastmath.o to extra_parts.
12397 (x86_64-*-darwin*): Likewise.
12398 (x86_64-*-mingw*): Likewise.
12399 (ia64*-*-elf*): Add t-crtfm to tmake_file.
12400 (ia64*-*-freebsd*): Likewise.
12401 (ia64*-*-linux*): Likewise.
12402 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
12403 Add crtfastmath.o to extra_parts.
12404
12405 2011-07-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12406
12407 * config/darwin-crt3.o: New file.
12408 * config/rs6000/darwin-crt2.c: New file.
12409 * config/t-darwin: New file.
12410 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
12411 (crt2.o): New rule.
12412 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
12413 (powerpc-*-darwin*): Add crt2.o to extra_parts.
12414 (powerpc64-*-darwin*): Likewise.
12415
12416 2011-07-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12417
12418 * config/i386/netware-crt0.c: New file.
12419 * config/i386/t-nwld: Rename to ...
12420 * config/i386/t-slibgcc-nwld: ... this.
12421 * config/i386/t-nwld: New file.
12422 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
12423 tmake_file.
12424 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
12425 extra_parts.
12426
12427 2011-07-11 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12428
12429 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
12430 i386/t-crtstuff.
12431 * configure: Regenerate.
12432
12433 2011-07-11 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12434
12435 * dfp-bit.c, dfp-bit.h: New files.
12436 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
12437 variables.
12438 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
12439 ($(d64pbit-o)): Likewise.
12440 ($(d128pbit-o)): Likewise.
12441 * config/t-dfprules: New file.
12442 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
12443 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
12444 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
12445 (x86_64-*-linux*): Likewise.
12446 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
12447 (i[34567]86-*-cygwin*): Likewise.
12448 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
12449 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
12450
12451 2011-07-08 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12452
12453 * Makfile.in (LIBGCOV): New variable.
12454 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
12455 * libgcov.c: New file.
12456
12457 2011-07-08 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12458
12459 * fixed-bit.c, fixed-bit.h: New files.
12460 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
12461 refer to fixed-bit.c.
12462
12463 2011-07-07 Joseph Myers <joseph (a] codesourcery.com>
12464
12465 * config.host (*local*): Remove.
12466
12467 2011-07-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12468
12469 PR target/39150
12470 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
12471 like i?86-*-solaris2.1[0-9]*.
12472 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
12473 * configure.ac (i?86-*-solaris2*): Likewise.
12474 * configure: Regenerate.
12475
12476 2011-07-06 Thomas Schwinge <thomas (a] schwinge.name>
12477
12478 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
12479 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
12480 md_unwind_header by splitting out of...
12481 (i[34567]86-*-linux*): ... this.
12482 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
12483 Remove md_unwind_header by splitting out of...
12484 (x86_64-*-linux*): ... this.
12485
12486 2011-07-04 Georg-Johann Lay <avr (a] gjlay.de>
12487
12488 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
12489
12490 2011-06-28 Nick Clifton <nickc (a] redhat.com>
12491
12492 * config.host: Recognize all V850 variants.
12493
12494 2011-06-22 Uros Bizjak <ubizjak (a] gmail.com>
12495
12496 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
12497
12498 2011-06-21 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12499
12500 * shared-object.mk (c_flags-$o): Save c_flags.
12501 ($(base)$(objext)): Use it.
12502 ($(base)_s$(objext)): Likewise.
12503
12504 2011-06-21 Bernd Schmidt <bernds (a] codesourcery.com>
12505
12506 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
12507 * libgcc-std.ver.in (GCC_4.7.0): New section.
12508
12509 2011-06-16 Georg-Johann Lay <avr (a] gjlay.de>
12510
12511 PR target/49313
12512 PR target/29524
12513 * config/avr/t-avr: Fix line endings.
12514 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
12515 _parityXX2.
12516
12517 2011-06-14 Olivier Hainque <hainque (a] adacore.com>
12518 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12519
12520 * config/mips/irix6-unwind.h: New file.
12521 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
12522
12523 2011-06-10 Eric Botcazou <ebotcazou (a] adacore.com>
12524
12525 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
12526 (sparc64_fallback_frame_state): Use it.
12527 (sparc64_frob_update_context): Further adjust context.
12528 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
12529 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
12530 * config/sparc/sol2-cn.S: Likewise.
12531
12532 2011-06-09 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12533
12534 * enable-execute-stack-empty.c: New file.
12535 * enable-execute-stack-mprotect.c: New file.
12536 * config/i386/enable-execute-stack-mingw32.c: New file.
12537 * config.host (enable_execute_stack): New variable.
12538 Select appropriate variants.
12539 * configure.ac: Link enable-execute-stack.c to
12540 $enable_execute_stack.
12541 * configure: Regenerate.
12542 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
12543 (lib2funcs): Remove _enable_execute_stack.
12544
12545 2011-06-09 David S. Miller <davem (a] davemloft.net>
12546 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12547
12548 * config.host (sparc-*-linux*): Correct md_unwind_header
12549 filename.
12550 (s390x-ibm-tpf*): Fix typo.
12551
12552 2011-06-06 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12553
12554 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
12555 Add crtfastmath.o to extra_parts.
12556 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
12557 mips/t-crtfm.
12558 * config/mips/t-crtfm: Remove.
12559
12560 2011-06-04 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
12561
12562 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
12563
12564 2011-06-04 Kaz Kojima <kkojima (a] gcc.gnu.org>
12565
12566 * config.host (sh*-*-linux*): Fix typo.
12567
12568 2011-06-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12569
12570 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
12571 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
12572 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
12573 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
12574 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
12575 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
12576 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
12577 Wrap in !__MINGW64__.
12578 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
12579 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
12580 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
12581 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
12582 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
12583 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
12584 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
12585 Wrap in !__LP64__.
12586 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
12587 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
12588 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
12589 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
12590 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
12591 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
12592 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
12593 * config/no-unwind.h: New file.
12594 * config.host (md_unwind_header): Document.
12595 Define.
12596 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
12597 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
12598 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
12599 hppa[12]*-*-hpux11*): Set md_unwind_header.
12600 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
12601 Set md_unwind_header.
12602 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
12603 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
12604 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
12605 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
12606 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
12607 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
12608 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
12609 md_unwind_header.
12610 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
12611 * configure: Regenerate.
12612
12613 2011-06-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12614
12615 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
12616 Set tmake_file, extra_parts.
12617 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
12618 Remove O32 support.
12619 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
12620 Remove O32 support.
12621 * config/mips/t-irix6: New file.
12622 * config/mips/t-slibgcc-irix: New file.
12623
12624 2011-06-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12625
12626 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
12627 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
12628
12629 2011-06-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12630
12631 * configure.ac (target_thread_file): Determine thread model.
12632 * configure: Regenerate.
12633 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
12634 * config/alpha/t-alpha: New file.
12635 * config/alpha/t-crtfm: Use $<.
12636 * config/alpha/t-ieee: New file.
12637 * config/alpha/t-osf-pthread: New file.
12638 * config/alpha/t-slibgcc-osf: New file.
12639 * config/alpha/libgcc-osf5.ver: New file.
12640
12641 2011-06-01 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12642
12643 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
12644 tmake_file.
12645 Add crtfastmath.o to extra_parts.
12646
12647 2011-06-01 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12648
12649 * config/gmon-sol2.c: Reindent.
12650 Cleanup comments.
12651 Remove, correct casts.
12652 Use STDERR_FILENO, NULL.
12653 (BASEADDRESS): Remove.
12654 (minbrk): Remove.
12655 (errno, sbrk): Remove declarations.
12656 (monstartup) [hp300]: Remove.
12657 (mcount): Remove.
12658
12659 2011-06-01 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12660
12661 * Makefile.in (cpu_type): Define.
12662 * config.host (i[34567]86-*-rtems*): Handle it.
12663 (i[34567]86-*-solaris2*): Move body ...
12664 (*-*-solaris2*): ... here.
12665 New case, generalize.
12666 (sparc-*-elf*): Handle it.
12667 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
12668 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
12669 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
12670 Fold into ...
12671 (sparc*-*-solaris2*): ... this.
12672 New case.
12673 (sparc64-*-elf*): Handle it.
12674 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
12675 Merge ../gcc/config/i386/gmon-sol2.c.
12676 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
12677 Use C comments.
12678 Merge ../gcc/config/i386/sol2-gc1.asm.
12679 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
12680 Use C comments.
12681 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
12682 Use C comments.
12683 * config/i386/t-crtfm (crtfastmath.o): Use $<.
12684 * config/i386/t-crtstuff: New file.
12685 * config/i386/t-softfp: New file.
12686 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
12687 $(T)crti.o, $(T)crtn.o): Remove.
12688 (gcrt1.o): New rule.
12689 (TARGET_LIBGCC2_CFLAGS): Remove.
12690 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
12691 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
12692 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
12693 * config/sparc/t-sol2: New file.
12694 * config/sparc/t-crtfm: Move to ...
12695 * config/t-crtfm: ... this.
12696 Use $(cpu_type), $<.
12697 * config/t-crtin: New file.
12698 * config/sparc/t-softfp: New file.
12699 * config/sparc/t-softmul: New file.
12700 * config/t-rtems: New file.
12701 * config/t-slibgcc: New file.
12702 * config/t-slibgcc-elf-ver: New file.
12703 * config/t-slibgcc-gld: New file.
12704 * config/t-slibgcc-sld: New file.
12705 * config/t-sol2: New file.
12706 * configure.ac: Include ../config/lib-ld.m4.
12707 Call AC_LIB_PROG_LD_GNU.
12708 Substitute cpu_type.
12709 * configure: Regenerate.
12710
12711 2011-05-27 Bernd Schmidt <bernds (a] codesourcery.com>
12712
12713 PR bootstrap/49173
12714 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
12715 libgcc-std.ver in the build directory.
12716 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
12717 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
12718
12719 2011-05-25 Bernd Schmidt <bernds (a] codesourcery.com>
12720
12721 * libgcc-std.ver.in: New file.
12722 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
12723 variables.
12724 (libgcc-std.ver): New rule.
12725 * config/t-gnu-prefix: New file.
12726
12727 2011-05-23 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12728
12729 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
12730
12731 2011-05-10 Joseph Myers <joseph (a] codesourcery.com>
12732
12733 * config/i386/darwin-lib.h: New file.
12734
12735 2011-05-10 Joseph Myers <joseph (a] codesourcery.com>
12736
12737 * config/arm/symbian-lib.h: New.
12738
12739 2011-05-04 Chris Demetriou <cgd (a] google.com>
12740
12741 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
12742 (__x86.get_pc_thunk.bx): ...this.
12743 (__morestack): Adjust for rename, remove undef of __i686.
12744
12745 2011-05-03 Chris Demetriou <cgd (a] google.com>
12746
12747 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
12748
12749 2011-03-22 Joseph Myers <joseph (a] codesourcery.com>
12750
12751 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
12752 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
12753 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
12754 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
12755 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
12756 Remove cases.
12757
12758 2011-03-14 Andreas Tobler <andreast (a] fgznet.ch>
12759
12760 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
12761 Adjust copyright year.
12762
12763 2011-03-07 Ian Lance Taylor <iant (a] google.com>
12764
12765 * generic-morestack.c (__splitstack_find): Adjust returned stack
12766 pointer to include all registers pushed by __morestack.
12767
12768 2011-01-26 Dave Korn <dave.korn.cygwin (a] gmail.com>
12769
12770 PR target/40125
12771 * configure.ac: Call ACX_NONCANONICAL_TARGET.
12772 (toolexecdir): Calculate and AC_SUBST.
12773 (toolexeclibdir): Likewise.
12774 * Makefile.in (target_noncanonical): Import.
12775 (toolexecdir): Likewise.
12776 (toolexeclibdir): Likewise.
12777 * configure: Regenerate.
12778
12779 2010-12-13 Nathan Froyd <froydnj (a] codesourcery.com>
12780
12781 PR target/46040
12782 * config/arm/bpabi.h: Rename to...
12783 * config/arm/bpabi-lib.h: ...this.
12784
12785 2010-12-10 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12786
12787 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
12788 appropriate.
12789 * configure: Regenerate.
12790
12791 2010-11-24 Nathan Froyd <froydnj (a] codesourcery.com>
12792
12793 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
12794 __FLOAT_WORD_ORDER__.
12795 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
12796 Delete.
12797
12798 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
12799
12800 PR other/46202
12801 * Makefile.in (install-strip): New phony target.
12802
12803 2010-11-07 Ian Lance Taylor <iant (a] google.com>
12804
12805 PR target/46089
12806 * config/i386/morestack.S (__morestack_large_model): New
12807 function.
12808
12809 2010-10-23 Nathan Froyd <froydnj (a] codesourcery.com>
12810
12811 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12812 Delete.
12813 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12814
12815 2010-10-14 Nathan Froyd <froydnj (a] codesourcery.com>
12816
12817 * config/arm/bpabi.h: New file.
12818 * config/frv/frv-abi.h: New file.
12819
12820 2010-10-01 Ian Lance Taylor <iant (a] google.com>
12821
12822 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12823 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12824
12825 2010-10-01 H.J. Lu <hongjiu.lu (a] intel.com>
12826
12827 PR target/45858
12828 * config.host: Add the missing `$'.
12829
12830 2010-09-30 Michael Eager <eager (a] eagercon.com>
12831
12832 * config.host: Add microblaze*-*-*.
12833 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12834 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12835 udivsi3.asm,umodsi3.asm}: New.
12836
12837 2010-09-28 Ian Lance Taylor <iant (a] google.com>
12838
12839 * configure.ac: Adjust CFI test to test assembler directly rather
12840 than checking gcc preprocessor macro.
12841 * configure: Rebuild.
12842
12843 2010-09-27 Ian Lance Taylor <iant (a] google.com>
12844
12845 * configure.ac: Test whether assembler supports CFI directives.
12846 * config.host: Only add t-stack and i386/t-stack-i386 to
12847 tmake_file if libgcc_cv_cfi is "yes".
12848 * configure: Rebuild.
12849
12850 2010-09-27 Ian Lance Taylor <iant (a] google.com>
12851
12852 * generic-morestack.h: New file.
12853 * generic-morestack.c: New file.
12854 * generic-morestack-thread.c: New file.
12855 * config/i386/morestack.S: New file.
12856 * config/t-stack: New file.
12857 * config/i386/t-stack-i386: New file.
12858 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12859 i386/t-stack-i386 to tmake_file.
12860
12861 2010-09-21 Iain Sandoe <iains (a] gcc.gnu.org>
12862
12863 * Makefile.in (libgcc-extra-parts): Check for static archives and
12864 invoke ranlib after installing them.
12865 (gcc-extra-parts): Likewise.
12866 (install-leaf): Likewise.
12867
12868 2010-09-14 H.J. Lu <hongjiu.lu (a] intel.com>
12869
12870 * configure: Regenerated.
12871
12872 2010-09-10 Kai Tietz <kai.tietz (a] onevision.com>
12873
12874 * configure: Regenerated.
12875
12876 2010-09-09 Gerald Pfeifer <gerald (a] pfeifer.com>
12877 Andrew Pinski <pinskia (a] gmail.com>
12878
12879 PR target/40959
12880 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
12881
12882 2010-09-06 H.J. Lu <hongjiu.lu (a] intel.com>
12883
12884 PR target/45524
12885 * configure: Regenerated.
12886
12887 2010-09-06 Andreas Schwab <schwab (a] redhat.com>
12888
12889 * configure: Regenerate.
12890
12891 2010-09-03 Uros Bizjak <ubizjak (a] gmail.com>
12892
12893 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12894 64bit targets.
12895 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12896 for 64bit targets.
12897
12898 2010-09-03 Uros Bizjak <ubizjak (a] gmail.com>
12899 Iain Sandoe <iains (a] gcc.gnu.org>
12900
12901 PR target/45476
12902 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12903 LIB2FUNCS_EXCLUDE functions.
12904
12905 2010-09-03 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
12906
12907 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12908 Include dfp.m4.
12909 * configure: Regenerate.
12910
12911 2010-09-01 Uros Bizjak <ubizjak (a] gmail.com>
12912
12913 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12914 i386/t-freebsd to tmake_file.
12915 * config/i386/t-freebsd: New file.
12916 * config/i386/libgcc-bsd.ver: New file.
12917
12918 2010-07-23 Nathan Froyd <froydnj (a] codesourcery.com>
12919
12920 * config.host (powerpc*-eabispe*): Set tmake_file.
12921 (powerpc*-eabi*): Likewise.
12922 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12923 crtbeginS, crtendS, crtbeginT.
12924
12925 2010-06-12 Kazu Hirata <kazu (a] codesourcery.com>
12926
12927 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12928 to tmake_file. Add crtfastmath.o to extra_parts.
12929 * config/mips/t-crtfm: New.
12930
12931 2010-05-19 Joel Sherrill <joel.sherrill (a] oarcorp.com>
12932
12933 * config.host (sparc64-*-rtems*): New target.
12934
12935 2010-05-19 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12936
12937 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12938 assembler syntax.
12939
12940 2010-04-15 Thomas Schwinge <tschwinge (a] gnu.org>
12941
12942 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12943
12944 2010-04-12 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12945
12946 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12947 alpha-dec-osf5.0* support.
12948
12949 2010-04-01 Ralf Corspius <ralf.corsepius (a] rtems.org>
12950
12951 * config.host: Add lm32-*-rtems*.
12952
12953 2010-03-31 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12954 Uros Bizjak <ubizjak (a] gmail.com>
12955
12956 PR target/39048
12957 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12958 like other remaining 32-bit x86 OSes.
12959 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12960 assembler syntax.
12961 * config/i386/libgcc-sol2.ver: New file.
12962 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12963
12964 2010-03-30 Jack Howarth <howarth (a] bromo.med.uc.edu>
12965
12966 PR c/43553
12967 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12968 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12969 is used and substitute set_use_emutls.
12970 * configure: Regenerated.
12971
12972 2010-03-30 Tarik Graba <tarik.graba (a] telecom-paristech.fr>
12973
12974 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12975
12976 2010-03-22 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
12977
12978 PR target/38085
12979 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12980 MULTILIB_CFLAGS.
12981 ($(T)gcrt1.o): Likewise.
12982 ($(T)crt1.o): Likewise.
12983 ($(T)crti.o): Likewise.
12984 ($(T)crtn.o): Likewise.
12985
12986 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
12987
12988 PR other/42980
12989 * Makefile.in (install): Use $(MAKE) string in rule, for
12990 parallel make.
12991
12992 2010-02-22 Hans-Peter Nilsson <hp (a] bitrange.com>
12993
12994 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12995 * config/mmix/t-mmix: New file.
12996 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12997
12998 2010-02-02 Jack Howarth <howarth (a] bromo.med.uc.edu>
12999
13000 PR java/41991
13001 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
13002 SHLIB_MAPFILES.
13003
13004 2010-01-04 Anthony Green <green (a] moxielogic.com>
13005
13006 * config/moxie/crti.asm, config/moxie/crtn.asm,
13007 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
13008 config/moxie/t-moxie: New files.
13009 * config.host: Add t-moxie-softfp reference.
13010
13011 2009-11-18 Iain Sandoe <iain.sandoe (a] sandoe-acoustics.co.uk>
13012
13013 PR other/39888
13014 * config/t-slibgcc-darwin: Fix embedded rpaths for
13015 --enable-version-specific-runtime-libs, build extension stub
13016 libs exposing features available from current libgcc_s.
13017
13018 2009-11-11 Jon Beniston <jon (a] beniston.com>
13019
13020 * config.host: Add lm32 targets.
13021 * config/lm32: New directory.
13022 * config/lm32/libgcc_lm32.h: New file.
13023 * config/lm32/_mulsi3.c: New file.
13024 * config/lm32/_udivmodsi4.c: New file.
13025 * config/lm32/_divsi3.c: New file.
13026 * config/lm32/_modsi3.c: New file.
13027 * config/lm32/_udivsi3.c: New file.
13028 * config/lm32/_umodsi3.c: New file.
13029 * config/lm32/_lshrsi3.S: New file.
13030 * config/lm32/_ashrsi3.S: New file.
13031 * config/lm32/_ashlsi3.S: New file.
13032 * config/lm32/crti.S: New file.
13033 * config/lm32/crtn.S: New file.
13034 * config/lm32/t-lm32: New file.
13035 * config/lm32/t-elf: New file.
13036 * config/lm32/t-uclinux: New file.
13037
13038 2009-10-26 Nick Clifton <nickc (a] redhat.com>
13039
13040 * config.host: Add support for RX target.
13041 * config/rx: New directory.
13042 * config/rx/rx-abi-functions.c: New file. Supplementary
13043 functions for libgcc to support the RX ABI.
13044 * config/rx/rx-abi.h: New file. Supplementary header file for
13045 libgcc RX ABI functions.
13046 * config/rx/t-rx: New file: Makefile fragment for building
13047 libgcc for the RX.
13048
13049 2009-10-09 Uros Bizjak <ubizjak (a] gmail.com>
13050
13051 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
13052 constraint of y0 to "g".
13053
13054 2009-10-07 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
13055
13056 * config.host: Include the s390 makefile fragments.
13057 * config/s390/32/_fixdfdi.c: New file.
13058 * config/s390/32/_fixsfdi.c: New file.
13059 * config/s390/32/_fixtfdi.c: New file.
13060 * config/s390/32/_fixunsdfdi.c: New file.
13061 * config/s390/32/_fixunssfdi.c: New file.
13062 * config/s390/32/_fixunstfdi.c: New file.
13063 * config/s390/32/t-floattodi: New file.
13064 * config/s390/libgcc-glibc.ver: New file.
13065 * config/s390/t-crtstuff: New file.
13066 * config/s390/t-linux: New file.
13067 * config/s390/t-tpf: New file.
13068
13069 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
13070
13071 * configure.ac (AC_PREREQ): Bump to 2.64.
13072
13073 2009-08-22 Kaz Kojima <kkojima (a] gcc.gnu.org>
13074
13075 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
13076
13077 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
13078
13079 * configure: Regenerate.
13080
13081 2009-08-09 Douglas B Rupp <rupp (a] gnat.com>
13082
13083 * config.host (ia64-hp-*vms*): New target.
13084 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
13085 with ia64-hp-*vms*.
13086
13087 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
13088
13089 * configure.ac: Add snippet for maintainer-mode.
13090 * configure: Regenerate.
13091 * Makefile.in (AUTOCONF, configure_deps): New variables.
13092 ($(srcdir)/configure)): New rule, active only with maintainer
13093 mode turned on.
13094
13095 2009-06-23 DJ Delorie <dj (a] redhat.com>
13096
13097 Add MeP port.
13098 * config.host: Add mep support.
13099
13100 2009-06-22 Kai Tietz <kai.tietz (a] onevision.com>
13101
13102 * config.host: Add i386/${host_address}/t-fprules-softfp and
13103 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
13104
13105 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
13106 for mingw targets.
13107 * config/i386/64/_multc3.c: Likewise.
13108 * config/i386/64/_powitf2.c: Likewise.
13109 * config/i386/64/eqtf2.c: Likewise.
13110 * config/i386/64/getf2.c: Likewise.
13111 * config/i386/64/letf2.c: Likewise.
13112 * config/i386/64/letf2.c: Likewise.
13113 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
13114 unsigned long long for x64 mingw targets.
13115 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
13116 (_FP_I_TYPE): Define as long long for x64 mingw target.
13117
13118 2009-06-10 Maciej W. Rozycki <macro (a] linux-mips.org>
13119
13120 * config.host (vax-*-linux*): New.
13121
13122 2009-05-31 Anthony Green <green (a] moxielogic.com>
13123
13124 * config.host: Add moxie support.
13125 * config/moxie/t-moxie: New file.
13126
13127 2009-05-29 David Billinghurst <billingd (a] gcc.gnu.org>
13128
13129 * config.host: Add i386/${host_address}/t-fprules-softfp and
13130 t-softfp to tmake_file for i[34567]86-*-cygwin*.
13131
13132 2009-04-17 Aurelien Jarno <aurelien (a] aurel32.net>
13133
13134 * config.host: Add i386/${host_address}/t-fprules-softfp to
13135 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
13136
13137 2009-04-09 Nick Clifton <nickc (a] redhat.com>
13138
13139 * config/ia64/tf-signs.c: Change copyright header to refer to
13140 version 3 of the GNU General Public License with version 3.1
13141 of the GCC Runtime Library Exception and to point readers at
13142 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
13143 web page.
13144 * config/i386/32/tf-signs.c: Likewise.
13145 * config/libbid/_addsub_dd.c: Likewise.
13146 * config/libbid/_addsub_sd.c: Likewise.
13147 * config/libbid/_addsub_td.c: Likewise.
13148 * config/libbid/_dd_to_df.c: Likewise.
13149 * config/libbid/_dd_to_di.c: Likewise.
13150 * config/libbid/_dd_to_sd.c: Likewise.
13151 * config/libbid/_dd_to_sf.c: Likewise.
13152 * config/libbid/_dd_to_si.c: Likewise.
13153 * config/libbid/_dd_to_td.c: Likewise.
13154 * config/libbid/_dd_to_tf.c: Likewise.
13155 * config/libbid/_dd_to_udi.c: Likewise.
13156 * config/libbid/_dd_to_usi.c: Likewise.
13157 * config/libbid/_dd_to_xf.c: Likewise.
13158 * config/libbid/_df_to_dd.c: Likewise.
13159 * config/libbid/_df_to_sd.c: Likewise.
13160 * config/libbid/_df_to_td.c: Likewise.
13161 * config/libbid/_di_to_dd.c: Likewise.
13162 * config/libbid/_di_to_sd.c: Likewise.
13163 * config/libbid/_di_to_td.c: Likewise.
13164 * config/libbid/_div_dd.c: Likewise.
13165 * config/libbid/_div_sd.c: Likewise.
13166 * config/libbid/_div_td.c: Likewise.
13167 * config/libbid/_eq_dd.c: Likewise.
13168 * config/libbid/_eq_sd.c: Likewise.
13169 * config/libbid/_eq_td.c: Likewise.
13170 * config/libbid/_ge_dd.c: Likewise.
13171 * config/libbid/_ge_sd.c: Likewise.
13172 * config/libbid/_ge_td.c: Likewise.
13173 * config/libbid/_gt_dd.c: Likewise.
13174 * config/libbid/_gt_sd.c: Likewise.
13175 * config/libbid/_gt_td.c: Likewise.
13176 * config/libbid/_isinfd128.c: Likewise.
13177 * config/libbid/_isinfd32.c: Likewise.
13178 * config/libbid/_isinfd64.c: Likewise.
13179 * config/libbid/_le_dd.c: Likewise.
13180 * config/libbid/_le_sd.c: Likewise.
13181 * config/libbid/_le_td.c: Likewise.
13182 * config/libbid/_lt_dd.c: Likewise.
13183 * config/libbid/_lt_sd.c: Likewise.
13184 * config/libbid/_lt_td.c: Likewise.
13185 * config/libbid/_mul_dd.c: Likewise.
13186 * config/libbid/_mul_sd.c: Likewise.
13187 * config/libbid/_mul_td.c: Likewise.
13188 * config/libbid/_ne_dd.c: Likewise.
13189 * config/libbid/_ne_sd.c: Likewise.
13190 * config/libbid/_ne_td.c: Likewise.
13191 * config/libbid/_sd_to_dd.c: Likewise.
13192 * config/libbid/_sd_to_df.c: Likewise.
13193 * config/libbid/_sd_to_di.c: Likewise.
13194 * config/libbid/_sd_to_sf.c: Likewise.
13195 * config/libbid/_sd_to_si.c: Likewise.
13196 * config/libbid/_sd_to_td.c: Likewise.
13197 * config/libbid/_sd_to_tf.c: Likewise.
13198 * config/libbid/_sd_to_udi.c: Likewise.
13199 * config/libbid/_sd_to_usi.c: Likewise.
13200 * config/libbid/_sd_to_xf.c: Likewise.
13201 * config/libbid/_sf_to_dd.c: Likewise.
13202 * config/libbid/_sf_to_sd.c: Likewise.
13203 * config/libbid/_sf_to_td.c: Likewise.
13204 * config/libbid/_si_to_dd.c: Likewise.
13205 * config/libbid/_si_to_sd.c: Likewise.
13206 * config/libbid/_si_to_td.c: Likewise.
13207 * config/libbid/_td_to_dd.c: Likewise.
13208 * config/libbid/_td_to_df.c: Likewise.
13209 * config/libbid/_td_to_di.c: Likewise.
13210 * config/libbid/_td_to_sd.c: Likewise.
13211 * config/libbid/_td_to_sf.c: Likewise.
13212 * config/libbid/_td_to_si.c: Likewise.
13213 * config/libbid/_td_to_tf.c: Likewise.
13214 * config/libbid/_td_to_udi.c: Likewise.
13215 * config/libbid/_td_to_usi.c: Likewise.
13216 * config/libbid/_td_to_xf.c: Likewise.
13217 * config/libbid/_tf_to_dd.c: Likewise.
13218 * config/libbid/_tf_to_sd.c: Likewise.
13219 * config/libbid/_tf_to_td.c: Likewise.
13220 * config/libbid/_udi_to_dd.c: Likewise.
13221 * config/libbid/_udi_to_sd.c: Likewise.
13222 * config/libbid/_udi_to_td.c: Likewise.
13223 * config/libbid/_unord_dd.c: Likewise.
13224 * config/libbid/_unord_sd.c: Likewise.
13225 * config/libbid/_unord_td.c: Likewise.
13226 * config/libbid/_usi_to_dd.c: Likewise.
13227 * config/libbid/_usi_to_sd.c: Likewise.
13228 * config/libbid/_usi_to_td.c: Likewise.
13229 * config/libbid/_xf_to_dd.c: Likewise.
13230 * config/libbid/_xf_to_sd.c: Likewise.
13231 * config/libbid/_xf_to_td.c: Likewise.
13232 * config/libbid/bid128.c: Likewise.
13233 * config/libbid/bid128_2_str.h: Likewise.
13234 * config/libbid/bid128_2_str_macros.h: Likewise.
13235 * config/libbid/bid128_2_str_tables.c: Likewise.
13236 * config/libbid/bid128_add.c: Likewise.
13237 * config/libbid/bid128_compare.c: Likewise.
13238 * config/libbid/bid128_div.c: Likewise.
13239 * config/libbid/bid128_fma.c: Likewise.
13240 * config/libbid/bid128_logb.c: Likewise.
13241 * config/libbid/bid128_minmax.c: Likewise.
13242 * config/libbid/bid128_mul.c: Likewise.
13243 * config/libbid/bid128_next.c: Likewise.
13244 * config/libbid/bid128_noncomp.c: Likewise.
13245 * config/libbid/bid128_quantize.c: Likewise.
13246 * config/libbid/bid128_rem.c: Likewise.
13247 * config/libbid/bid128_round_integral.c: Likewise.
13248 * config/libbid/bid128_scalb.c: Likewise.
13249 * config/libbid/bid128_sqrt.c: Likewise.
13250 * config/libbid/bid128_string.c: Likewise.
13251 * config/libbid/bid128_to_int16.c: Likewise.
13252 * config/libbid/bid128_to_int32.c: Likewise.
13253 * config/libbid/bid128_to_int64.c: Likewise.
13254 * config/libbid/bid128_to_int8.c: Likewise.
13255 * config/libbid/bid128_to_uint16.c: Likewise.
13256 * config/libbid/bid128_to_uint32.c: Likewise.
13257 * config/libbid/bid128_to_uint64.c: Likewise.
13258 * config/libbid/bid128_to_uint8.c: Likewise.
13259 * config/libbid/bid32_to_bid128.c: Likewise.
13260 * config/libbid/bid32_to_bid64.c: Likewise.
13261 * config/libbid/bid64_add.c: Likewise.
13262 * config/libbid/bid64_compare.c: Likewise.
13263 * config/libbid/bid64_div.c: Likewise.
13264 * config/libbid/bid64_fma.c: Likewise.
13265 * config/libbid/bid64_logb.c: Likewise.
13266 * config/libbid/bid64_minmax.c: Likewise.
13267 * config/libbid/bid64_mul.c: Likewise.
13268 * config/libbid/bid64_next.c: Likewise.
13269 * config/libbid/bid64_noncomp.c: Likewise.
13270 * config/libbid/bid64_quantize.c: Likewise.
13271 * config/libbid/bid64_rem.c: Likewise.
13272 * config/libbid/bid64_round_integral.c: Likewise.
13273 * config/libbid/bid64_scalb.c: Likewise.
13274 * config/libbid/bid64_sqrt.c: Likewise.
13275 * config/libbid/bid64_string.c: Likewise.
13276 * config/libbid/bid64_to_bid128.c: Likewise.
13277 * config/libbid/bid64_to_int16.c: Likewise.
13278 * config/libbid/bid64_to_int32.c: Likewise.
13279 * config/libbid/bid64_to_int64.c: Likewise.
13280 * config/libbid/bid64_to_int8.c: Likewise.
13281 * config/libbid/bid64_to_uint16.c: Likewise.
13282 * config/libbid/bid64_to_uint32.c: Likewise.
13283 * config/libbid/bid64_to_uint64.c: Likewise.
13284 * config/libbid/bid64_to_uint8.c: Likewise.
13285 * config/libbid/bid_b2d.h: Likewise.
13286 * config/libbid/bid_binarydecimal.c: Likewise.
13287 * config/libbid/bid_conf.h: Likewise.
13288 * config/libbid/bid_convert_data.c: Likewise.
13289 * config/libbid/bid_decimal_data.c: Likewise.
13290 * config/libbid/bid_decimal_globals.c: Likewise.
13291 * config/libbid/bid_div_macros.h: Likewise.
13292 * config/libbid/bid_dpd.c: Likewise.
13293 * config/libbid/bid_flag_operations.c: Likewise.
13294 * config/libbid/bid_from_int.c: Likewise.
13295 * config/libbid/bid_functions.h: Likewise.
13296 * config/libbid/bid_gcc_intrinsics.h: Likewise.
13297 * config/libbid/bid_inline_add.h: Likewise.
13298 * config/libbid/bid_internal.h: Likewise.
13299 * config/libbid/bid_round.c: Likewise.
13300 * config/libbid/bid_sqrt_macros.h: Likewise.
13301
13302 2009-04-09 Jakub Jelinek <jakub (a] redhat.com>
13303
13304 * Makefile.in: Change copyright header to refer to version
13305 3 of the GNU General Public License and to point readers at the
13306 COPYING3 file and the FSF's license web page.
13307 * config.host: Likewise.
13308
13309 2009-04-07 Alan Modra <amodra (a] bigpond.net.au>
13310
13311 * config.host: Reorder and merge to match config.gcc change.
13312
13313 2009-04-03 Alan Modra <amodra (a] bigpond.net.au>
13314
13315 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
13316
13317 2009-03-28 Joseph Myers <joseph (a] codesourcery.com>
13318
13319 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
13320 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
13321 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
13322 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
13323
13324 2009-02-12 Uros Bizjak <ubizjak (a] gmail.com>
13325
13326 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
13327 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
13328
13329 2009-02-12 H.J. Lu <hongjiu.lu (a] intel.com>
13330
13331 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
13332 ia64/t-softfp-compat to tmake_file.
13333
13334 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
13335
13336 * config/ia64/__divxf3.asm: New.
13337 * config/ia64/_fixtfdi.asm: Likewise.
13338 * config/ia64/_fixunstfdi.asm: Likewise.
13339 * config/ia64/_floatditf.asm: Likewise.
13340 * config/ia64/t-fprules-softfp: Likewise.
13341 * config/ia64/t-softfp-compat: Likewise.
13342 * config/ia64/tf-signs.c: Likewise.
13343
13344 2009-01-18 Ben Elliston <bje (a] au.ibm.com>
13345
13346 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
13347
13348 2009-01-16 Ben Elliston <bje (a] au.ibm.com>
13349
13350 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
13351 to tmake_file.
13352
13353 2009-01-13 Ben Elliston <bje (a] au.ibm.com>
13354
13355 * config/t-softfp: New file.
13356 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
13357 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
13358
13359 2009-01-05 Joel Sherrill <joel.sherrill (a] oarcorp.com>
13360
13361 * config.host: Add m32r*-*-rtems*.
13362
13363 2008-12-01 Joel Sherrill <joel.sherrill (a] oarcorp.com>
13364
13365 * config.host: Add m32c*-*-rtems*.
13366
13367 2008-11-20 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE>
13368
13369 PR bootstrap/33100
13370 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
13371 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
13372 * configure: Regenerate.
13373 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
13374 tmake_file here from gcc/config.gcc.
13375 Move extra_parts here from gcc/config.gcc.
13376 * config/i386/t-sol2: Move here from gcc/config/i386.
13377 Use gcc_srcdir instead of srcdir.
13378
13379 2008-11-18 Adam Nemet <anemet (a] caviumnetworks.com>
13380
13381 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
13382 case.
13383
13384 2008-11-09 Thomas Schwinge <tschwinge (a] gnu.org>
13385
13386 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
13387
13388 2008-10-08 Thomas Schwinge <tschwinge (a] gnu.org>
13389
13390 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
13391
13392 2008-09-03 Hari Sandanagobalane <hariharan (a] picochip.com>
13393
13394 Add picoChip port.
13395 * config.host: Add picochip-*-*.
13396
13397 2008-08-06 Bob Wilson <bob.wilson (a] acm.org>
13398
13399 * config.host: Match more processor names for Xtensa.
13400
13401 2008-07-08 H.J. Lu <hongjiu.lu (a] intel.com>
13402
13403 * config/i386/64/t-softfp-compat: Update comments.
13404
13405 2008-07-07 H.J. Lu <hongjiu.lu (a] intel.com>
13406
13407 * config/i386/64/_divtc3-compat.c: Moved to ...
13408 * config/i386/64/_divtc3.c: Here.
13409
13410 * config/i386/64/_multc3-compat.c: Moved to ...
13411 * config/i386/64/_multc3.c: Here.
13412
13413 * config/i386/64/_powitf2-compat.c: Moved to ...
13414 * config/i386/64/_powitf2.c: Here.
13415
13416 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
13417 .c suffix instead of -compat.c.
13418
13419 2008-07-05 Uros Bizjak <ubizjak (a] gmail.com>
13420
13421 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
13422 (_FP_MUL_MEAT_D): Ditto.
13423 (_FP_DIV_MEAT_S): Ditto.
13424 (_FP_DIV_MEAT_D): Ditto.
13425
13426 2008-07-03 Richard Sandiford <rdsandiford (a] googlemail.com>
13427
13428 * Makefile.in: Add support for __sync_* libgcc functions.
13429
13430 2008-07-03 H.J. Lu <hongjiu.lu (a] intel.com>
13431
13432 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
13433
13434 2008-07-02 H.J. Lu <hongjiu.lu (a] intel.com>
13435
13436 PR boostrap/36702
13437 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
13438 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
13439
13440 * config/i386/64/t-fprules-softfp: Moved to ...
13441 * config/i386/64/t-softfp-compat: This. New.
13442
13443 2008-07-02 Uros Bizjak <ubizjak (a] gmail.com>
13444
13445 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
13446 Initialize f with 0.0.
13447
13448 2008-07-02 H.J. Lu <hongjiu.lu (a] intel.com>
13449
13450 PR target/36669
13451 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
13452
13453 * config/i386/64/_divtc3-compat.c: New.
13454 * config/i386/64/_multc3-compat.c: Likewise.
13455 * config/i386/64/_powitf2-compat.c: Likewise.
13456 * config/i386/64/eqtf2.c: Likewise.
13457 * config/i386/64/getf2.c: Likewise.
13458 * config/i386/64/letf2.c: Likewise.
13459 * config/i386/64/t-fprules-softfp: Likewise.
13460
13461 2008-07-02 H.J. Lu <hongjiu.lu (a] intel.com>
13462
13463 * config.host: Add i386/${host_address}/t-fprules-softfp to
13464 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
13465 i[34567]86-*-linux*, x86_64-*-linux*.
13466
13467 * configure.ac: Set host_address to 64 or 32 for x86.
13468 * configure: Regenerated.
13469
13470 * Makefile.in (config.status): Also depend on
13471 $(srcdir)/config.host.
13472
13473 * config/i386/32/t-fprules-softfp: New.
13474 * config/i386/32/tf-signs.c: Likewise.
13475
13476 * config/i386/64/sfp-machine.h: New. Moved from gcc.
13477
13478 2008-07-02 H.J. Lu <hongjiu.lu (a] intel.com>
13479 Uros Bizjak <ubizjak (a] gmail.com>
13480
13481 * config/i386/32/sfp-machine.h: New.
13482
13483 2008-06-26 Nathan Froyd <froydnj (a] codesourcery.com>
13484
13485 * config/rs6000/t-ppccomm: Remove rules that conflict with
13486 auto-generated rules.
13487
13488 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
13489
13490 * configure.ac: sinclude override.m4.
13491 * configure: Regenerate.
13492
13493 2008-06-11 Bernhard Fischer <aldot (a] gcc.gnu.org>
13494
13495 * configure: Regenerate.
13496
13497 2008-06-10 Joseph Myers <joseph (a] codesourcery.com>
13498
13499 * Makefile.in (DECNUMINC): Remove
13500 -I$(MULTIBUILDTOP)../../libdecnumber.
13501 * gstdint.h: New.
13502
13503 2008-06-07 Joseph Myers <joseph (a] codesourcery.com>
13504
13505 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
13506 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
13507 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
13508 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
13509 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
13510 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
13511 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
13512 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
13513 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
13514 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
13515 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
13516 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
13517 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
13518 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
13519
13520 2008-05-25 Arthur Loiret <arthur.loiret (a] u-psud.fr>
13521
13522 * config.host (sh2[lbe]*-*-linux*): Allow target.
13523
13524 2008-04-30 Nathan Froyd <froydnj (a] codesourcery.com>
13525
13526 * config/rs6000/t-ppccomm: Add build rules for new files.
13527 (LIB2ADD_ST): New variable.
13528
13529 2008-04-07 Andy Hutchinson <hutchinsonandy (a] aim.com>
13530
13531 PR target/34210
13532 PR target/35508
13533 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
13534 * config/t-avr: New file. Build 16bit libgcc functions.
13535
13536 2008-03-02 Jakub Jelinek <jakub (a] redhat.com>
13537
13538 PR target/35401
13539 * config/t-slibgcc-darwin: Make install-leaf dependent on
13540 install-darwin-libgcc-stubs instead of install.
13541
13542 2008-01-25 Joseph Myers <joseph (a] codesourcery.com>
13543
13544 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
13545 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
13546 sh-*-rtemscoff*): Remove cases.
13547
13548 2007-12-27 Richard Sandiford <rsandifo (a] nildram.co.uk>
13549
13550 * Makefile.in (all): Use install-leaf rather than install.
13551 (install): Split most of the rule into...
13552 (install-leaf): ...this new one.
13553
13554 2007-12-19 Etsushi Kato <ek.kato (a] gmail.com>
13555 Paolo Bonzini <bonzini (a] gnu.org>
13556
13557 PR target/30572
13558 * Makefile.in: Use @shlib_slibdir@ substitution to get
13559 correct install name on darwin.
13560 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
13561
13562 2007-12-15 Hans-Peter Nilsson <hp (a] axis.com>
13563
13564 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
13565 cris-*-elf and cris-*-none.
13566 (crisv32-*-linux*): Similar, as cris-*-linux*.
13567
13568 2007-11-20 Rask Ingemann Lambertsen <rask (a] sygehus.dk>
13569
13570 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
13571
13572 2007-10-27 H.J. Lu <hongjiu.lu (a] intel.com>
13573
13574 PR regression/33926
13575 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
13576 * configure: Regenerated.
13577
13578 2007-09-27 H.J. Lu <hongjiu.lu (a] intel.com>
13579
13580 * Makefile.in (dfp-filenames): Replace decimal_globals,
13581 decimal_data, binarydecimal and convert_data with
13582 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
13583 and bid_convert_data, respectively.
13584
13585 2007-09-17 Chao-ying Fu <fu (a] mips.com>
13586 Nigel Stephens <nigel (a] mips.com>
13587
13588 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
13589 * Makefile.in (fixed_point): Define.
13590 Check if fixed_point is yes to build support functions.
13591 * configure.ac: Check for fixed_point support.
13592 * configure: Regenerated.
13593 * gen-fixed.sh: New file to generate lists of fixed-point labels,
13594 funcs, modes, from, to.
13595
13596 2007-09-11 Janis Johnson <janis187 (a] us.ibm.com
13597
13598 * Makefile.in (dfp-filenames): Add bid128_noncomp.
13599
13600 2007-09-10 Janis Johnson <janis187 (a] us.ibm.com>
13601
13602 * Makefile.in (dfp-filenames): Remove decUtility, add
13603 decDouble, decPacked, decQuad, decSingle.
13604
13605 2007-08-27 Hans Kester <hans.kester (a] ellips.nl>
13606
13607 * config.host : Add x86_64-elf target.
13608
13609 2007-07-06 H.J. Lu <hongjiu.lu (a] intel.com>
13610
13611 * configure.ac (set_have_cc_tls): Add a missing =.
13612 * configure: Regenerated.
13613
13614 2007-07-06 H.J. Lu <hongjiu.lu (a] intel.com>
13615
13616 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
13617 and x86_64-*-linux*.
13618
13619 * config/t-tls: New file.
13620
13621 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
13622
13623 * configure.ac: Include ../config/enable.m4 and
13624 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
13625 supports TLS and substitute set_have_cc_tls.
13626 * configure: Regenerated.
13627
13628 2007-07-04 H.J. Lu <hongjiu.lu (a] intel.com>
13629
13630 * Makefile.in: Use libbid for DFP when BID is enabled.
13631
13632 2007-06-14 Danny Smith <dannysmith (a] users.sourceforge.net>
13633
13634 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
13635 extra_parts. Add config/i386/t-cygming to tmake_file.
13636 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
13637
13638 2007-05-29 Zuxy Meng <zuxy.meng (a] gmail.com>
13639 Danny Smith <dannysmith (a] users.sourceforge.net>
13640
13641 PR target/29498
13642 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
13643 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
13644 * config/i386/t-crtfm: Compile crtfastmath.o with
13645 -minline-all-stringops.
13646
13647 2007-05-10 Richard Sandiford <richard (a] codesourcery.com>
13648
13649 * config.host (sparc-wrs-vxworks): New target.
13650
13651 2007-04-14 Kazu Hirata <kazu (a] codesourcery.com>
13652
13653 * config.host: Recognize fido.
13654
13655 2007-04-04 Janis Johnson <janis187 (a] us.ibm.com>
13656
13657 * configure: Check host, not target, for decimal float support.
13658
13659 2007-04-03 Uros Bizjak <ubizjak (a] gmail.com>
13660
13661 * config/i386/t-crtpc: New file.
13662 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
13663 (x86_64-*-linux*): Ditto.
13664
13665 2007-02-30 Kai Tietz <kai.tietz (a] onevision.com>
13666
13667 * config.host (x86_64-*-mingw*): New target.
13668
13669 2007-03-23 Michael Meissner <michael.meissner (a] amd.com>
13670 H.J. Lu <hongjiu.lu (a] intel.com>
13671
13672 * Makefile.in (enable_decimal_float): New.
13673 (DECNUMINC): Add
13674 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
13675 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
13676 (decbits-filenames): This.
13677 (decbits-objects): New.
13678 (libgcc-objects): Add $(decbits-objects).
13679
13680 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
13681 Substitute enable_decimal_float.
13682 * configure: Regenerated.
13683
13684 2007-03-19 Hans-Peter Nilsson <hp (a] axis.com>
13685
13686 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
13687
13688 2007-03-12 Brooks Moses <brooks.moses (a] codesourcery.com>
13689
13690 * Makefile.in (install-info): New dummy target.
13691
13692 2007-03-05 Bernd Schmidt <bernd.schmidt (a] analog.com>
13693
13694 * config.host (bfin*-linux-uclibc*): Set extra_parts.
13695
13696 2007-03-01 Brooks Moses <brooks.moses (a] codesourcery.com>
13697
13698 * Makefile.in: Add install-html and install-pdf dummy
13699 targets.
13700
13701 2007-02-05 Roger Sayle <roger (a] eyesopen.com>
13702 Daniel Jacobowitz <dan (a] codesourcery.com>
13703
13704 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
13705 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
13706 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
13707
13708 2007-01-29 Janis Johnson <janis187 (a] us.ibm.com>
13709
13710 * Makefile.in (dec-filenames): Add decExcept.
13711
13712 2007-01-28 Daniel Jacobowitz <dan (a] codesourcery.com>
13713
13714 PR bootstrap/30469
13715 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
13716 -fprofile-use.
13717
13718 2007-01-25 Daniel Jacobowitz <dan (a] codesourcery.com>
13719
13720 * configure.ac: Add --enable-version-specific-runtime-libs.
13721 Correct $slibdir default.
13722 * configure: Regenerated.
13723
13724 2007-01-23 Joseph Myers <joseph (a] codesourcery.com>
13725
13726 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
13727
13728 2007-01-21 Andrew Pinski <pinskia (a] gmail.com>
13729
13730 PR target/30519
13731 * config.host (alpha*-*-linux*): Set extra_parts.
13732
13733 2007-01-09 Kaz Kojima <kkojima (a] gcc.gnu.org>
13734
13735 * config/sh/t-linux: New.
13736 * config.host (sh*-*-linux*): Set tmake_file.
13737
13738 2007-01-05 Daniel Jacobowitz <dan (a] codesourcery.com>
13739
13740 * Makefile.in (install): Handle multilibs.
13741
13742 2007-01-04 Brooks Moses <brooks.moses (a] codesourcery.com>
13743
13744 * Makefile.in: Added .PHONY entry for documentation targets.
13745
13746 2007-01-04 Brooks Moses <brooks.moses (a] codesourcery.com>
13747
13748 * Makefile.in: Add empty info, html, dvi, pdf targets.
13749
13750 2007-01-04 Mike Stump <mrs (a] apple.com>
13751
13752 * Makefile.in (MAKEINFO): Remove.
13753 (PERL): Likewise.
13754
13755 2007-01-04 Paolo Bonzini <bonzini (a] gnu.org>
13756
13757 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
13758 * configure: Regenerate.
13759 * Makefile.in (host_subdir): Substitute it.
13760 (gcc_objdir): Use it.
13761
13762 2007-01-04 Daniel Jacobowitz <dan (a] codesourcery.com>
13763
13764 * config.host (ia64*-*-linux*): Set tmake_file.
13765
13766 2007-01-04 Daniel Jacobowitz <dan (a] codesourcery.com>
13767
13768 * Makefile.in (version): Define.
13769
13770 2007-01-03 Daniel Jacobowitz <dan (a] codesourcery.com>
13771 Paolo Bonzini <bonzini (a] gnu.org>
13772
13773 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
13774 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
13775 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
13776 config/sparc/t-crtfm, config/t-slibgcc-darwin,
13777 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
13778 shared-object.mk, siditi-object.mk, static-object.mk: New files.
13779 * configure: Generated.
13780
13782 Copyright (C) 2007-2024 Free Software Foundation, Inc.
13783
13784 Copying and distribution of this file, with or without modification,
13785 are permitted in any medium without royalty provided the copyright
13786 notice and this notice are preserved.
13787