]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/ChangeLog
RISC-V: avoid LUI based const materialization ... [part of PR/106265]
[thirdparty/gcc.git] / libgcc / ChangeLog
1 2024-05-10 Georg-Johann Lay <avr@gjlay.de>
2
3 PR target/114981
4 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _powisf2.
5 (LIB1ASMFUNCS) [!avrtiny]: Add _powif.
6 * config/avr/lib1funcs.S (mov4): New .macro.
7 (L_powif, __powisf2) [!avrtiny]: New module and function.
8
9 2024-05-07 Zac Walker <zacwalker@microsoft.com>
10
11 * config.host: Add aarch64-w64-mingw32 target. Adjust targets
12 after moving MinGW files.
13 * config/i386/t-gthr-win32: Move to...
14 * config/mingw/t-gthr-win32: ...here.
15 * config/i386/t-mingw-pthread: Move to...
16 * config/mingw/t-mingw-pthread: ...here.
17 * config/aarch64/t-no-eh: New file. EH is not yet implemented for
18 the target, and the default definition should be disabled.
19
20 2024-05-07 Wolfgang Hospital <Wolfgang.Hospital@arcor.de>
21
22 PR target/114835
23 * config/avr/lib1funcs.S (__popcountqi2): Use code that
24 is one instruction shorter / faster.
25
26 2024-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
27
28 * configure.ac <*-*-solaris2*> (libgcc_cv_solaris_crts): Remove.
29 * config.host <*-*-solaris2*>: Remove !libgcc_cv_solaris_crts
30 support.
31 * configure, config.in: Regenerate.
32 * config/sol2/gmon.c (internal_mcount) [!HAVE_SOLARIS_CRTS]: Remove.
33 * config/i386/sol2-c1.S, config/sparc/sol2-c1.S: Remove.
34 * config/sol2/t-sol2 (crt1.o, gcrt1.o): Remove.
35
36 2024-05-06 Xiao Zeng <zengxiao@eswincomputing.com>
37 Jin Ma <jinma@linux.alibaba.com>
38
39 * config/riscv/sfp-machine.h (_FP_NANFRAC_B): New.
40 (_FP_NANSIGN_B): Ditto.
41 * config/riscv/t-softfp32: Add support for BF16 libfuncs.
42 * config/riscv/t-softfp64: Ditto.
43 * soft-fp/floatsibf.c: For si -> bf16.
44 * soft-fp/floatunsibf.c: For unsi -> bf16.
45
46 2024-05-03 Peter Damianov <peter0x44@disroot.org>
47
48 * libgcov-util.c (tag_counters): Swap order of arguments to xcalloc.
49 (topen_to_memory_representation): Likewise.
50
51 2024-04-30 Jakub Jelinek <jakub@redhat.com>
52
53 * gthr.h (GTHREAD_USE_WEAK): Don't redefine to 0 for glibc 2.34+
54 on GNU Hurd.
55
56 2024-04-25 Jakub Jelinek <jakub@redhat.com>
57
58 * gthr.h (GTHREAD_USE_WEAK): Redefine to 0 for GLIBC 2.34 or later.
59
60 2024-04-21 Georg-Johann Lay <avr@gjlay.de>
61
62 PR target/114794
63 * config/avr/lib1funcs.S (__udivmodqi4): Tweak.
64
65 2024-04-19 Jakub Jelinek <jakub@redhat.com>
66
67 PR libgcc/114762
68 * libgcc2.c (__divmodbitint4): Perform the decrement on negative
69 v with most significant limb all ones and the second least
70 significant limb with most significant bit clear always, regardless of
71 un < vn.
72
73 2024-04-18 Jakub Jelinek <jakub@redhat.com>
74
75 PR libgcc/114755
76 * libgcc2.c (__divmodbitint4): Perform the decrement on negative
77 v with most significant limb all ones and the second least
78 significant limb with most significant bit clear always, regardless of
79 un < vn.
80
81 2024-04-15 Jakub Jelinek <jakub@redhat.com>
82
83 PR libgcc/114689
84 * config/m68k/fpgnulib.c (__truncdfsf2): Add parentheses around
85 !!sticky bitwise or operand to quiet up cppcheck. Add parentheses
86 around mant >> 1 bitwise or operand.
87
88 2024-04-10 Andre Vieira <andre.simoesdiasvieira@arm.com>
89
90 * config/aarch64/t-softfp (softfp_extras): Add floatbitinthf,
91 floatbitintbf, floatbitinttf and fixtfbitint.
92 * config/aarch64/libgcc-softfp.ver (GCC_14.0.0): Add __floatbitinthf,
93 __floatbitintbf, __floatbitinttf and __fixtfbitint.
94
95 2024-04-09 Sergey Bugaev <bugaevc@gmail.com>
96
97 * config.host: Recognize aarch64*-*-gnu* hosts.
98 * config/aarch64/gnu-unwind.h: New file.
99 * config/aarch64/heap-trampoline.c
100 (allocate_trampoline_page): Support GNU/Hurd.
101
102 2024-04-04 Jørgen Kvalsvik <j@lambda.is>
103
104 * libgcov-merge.c (__gcov_merge_ior): New.
105
106 2024-04-03 Wilco Dijkstra <wilco.dijkstra@arm.com>
107
108 * config/aarch64/cpuinfo.c: Add HWCAP_EVTSTRM, HWCAP_CRC32, HWCAP_CPUID,
109 HWCAP_PACA and HWCAP_PACG.
110
111 2024-04-02 Jakub Jelinek <jakub@redhat.com>
112
113 * unwind-dw2-fde.c (struct fde_accumulator): Fix duplicated
114 words in comment; is is -> is.
115
116 2024-03-25 Max Filippov <jcmvbkbc@gmail.com>
117
118 * unwind-arm-common.inc (__gnu_personality_sigframe_fdpic): Cast
119 last argument of _Unwind_VRS_Set to void *.
120
121 2024-03-22 Thomas Neumann <tneumann@users.sourceforge.net>
122
123 PR libgcc/111731
124 * unwind-dw2-fde.c: Split unwind ranges if they contain the
125 unwind table.
126
127 2024-03-21 Jakub Jelinek <jakub@redhat.com>
128
129 PR libgcc/114397
130 * libgcc2.c (__divmodbitint4): Don't assume un < vn always means
131 abs(v) > abs(u), check for a special case of un + 1 == vn where
132 u is non-negative and v negative and after v's negation vn could
133 be reduced by 1.
134
135 2024-03-20 Flavio Cruz <flaviocruz@gmail.com>
136
137 * config/i386/gnu-unwind.h: Support unwinding x86_64 signal frames.
138
139 2024-03-15 Jakub Jelinek <jakub@redhat.com>
140
141 PR libgcc/114327
142 * libgcc2.c (bitint_negate): Return UWtype bitwise or of all the limbs
143 before negation rather than void.
144 (__divmodbitint4): Determine whether to fill in the upper limbs after
145 negation based on whether bitint_negate returned 0 or non-zero, rather
146 then always filling with -1.
147
148 2024-02-22 Kewen Lin <linkw@linux.ibm.com>
149
150 PR target/109987
151 * config/rs6000/t-float128-hw: Replace options -mpower{8,9}-vector
152 with -mcpu=power9.
153 * configure.ac: Update use of option -mpower9-vector with
154 -mcpu=power9.
155 * configure: Regenerate.
156
157 2024-02-21 Iain Sandoe <iain@sandoe.co.uk>
158
159 * config/aarch64/heap-trampoline.c
160 (aarch64_trampoline_insns): Arrange to encode instructions as a
161 byte array so that the order is independent of memory byte order.
162 (struct aarch64_trampoline): Likewise.
163
164 2024-02-20 Iain Sandoe <iain@sandoe.co.uk>
165
166 PR target/113971
167 * config/aarch64/heap-trampoline.c: Allow all linux variants.
168
169 2024-02-16 Matteo Italia <matteo@mitalia.net>
170
171 PR libgcc/113850
172 * config/i386/gthr-win32-cond.c (__gthr_win32_abs_to_rel_time):
173 fix absolute timespec to relative milliseconds count
174 conversion (it incorrectly returned seconds instead of
175 milliseconds); this avoids spurious wakeups in
176 __gthr_win32_cond_timedwait
177
178 2024-02-14 Jakub Jelinek <jakub@redhat.com>
179 H.J. Lu <hjl.tools@gmail.com>
180
181 PR target/113855
182 * config/i386/heap-trampoline.c (trampoline_insns): Add IBT
183 support and pad to the multiple of 4 bytes. Use movabsq
184 instead of movabs in comments. Add -mx32 variant.
185
186 2024-02-13 Jakub Jelinek <jakub@redhat.com>
187
188 * soft-fp/bitint.h (FP_FROM_BITINT): If iprec < 0 and msb is all ones,
189 just set n to 1 instead of using __builtin_clzll (~msb).
190
191 2024-02-12 Iain Sandoe <iain@sandoe.co.uk>
192
193 PR target/113855
194 * config.host: Add trampoline support to x?86-linux.
195 * config/i386/heap-trampoline.c (trampoline_insns): Provide
196 a variant for IA32.
197 (union ix86_trampoline): Likewise.
198 (__gcc_nested_func_ptr_created): Implement a basic trampoline
199 for IA32.
200
201 2024-02-10 Jakub Jelinek <jakub@redhat.com>
202
203 * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Or in all remainder
204 limbs into inexact rather than just first two.
205 * soft-fp/floatbitintsd.c (__bid_floatbitintsd): Likewise.
206 * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
207
208 2024-02-10 Jakub Jelinek <jakub@redhat.com>
209
210 * soft-fp/fixddbitint.c (__bid_fixddbitint): Fix up
211 BIL_TYPE_SIZE == 32 shifts.
212 * soft-fp/fixsdbitint.c (__bid_fixsdbitint): Likewise.
213 * soft-fp/fixtdbitint.c (__bid_fixtdbitint): Likewise.
214 * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Likewise.
215 * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
216
217 2024-02-09 Iain Sandoe <iain@sandoe.co.uk>
218
219 * config/i386/libgcc-darwin.ver: Export bf and bitint-related
220 synbols.
221
222 2024-02-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
223
224 PR target/113700
225 * config/i386/libgcc-sol2.ver (GCC_14.0.0): Added all symbols from
226 i386/libgcc-glibc.ver (GCC_12.0.0, GCC_13.0.0, GCC_14.0.0).
227 * config/i386/libgcc-glibc.ver: Request notifications on updates.
228
229 2024-02-06 Matteo Italia <matteo@mitalia.net>
230
231 PR libgcc/113337
232 * unwind-seh.c (_Unwind_Resume_or_Rethrow): forward
233 _Unwind_RaiseException return code back to caller instead of
234 calling abort, allowing __cxa_rethrow to invoke std::terminate
235 in case of uncaught rethrown exception
236
237 2024-02-02 Jakub Jelinek <jakub@redhat.com>
238
239 PR libgcc/113604
240 * libgcc2.c (__divmodbitint4): If uv1 >= vv1, subtract
241 vv1 from uv1:uv0 once or twice as needed, rather than
242 subtracting vv1:vv1.
243
244 2024-02-02 Khem Raj <raj.khem@gmail.com>
245
246 * config/i386/enable-execute-stack-mingw32.c: Include
247 stdlib.h for abort() definition.
248
249 2024-02-02 Jakub Jelinek <jakub@redhat.com>
250
251 PR target/113700
252 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Remove __PFX prefixes
253 from symbol names.
254
255 2024-02-01 Jakub Jelinek <jakub@redhat.com>
256
257 PR libgcc/113402
258 * libgcc2.h (__gcc_nested_func_ptr_created): Change type of last
259 argument from void ** to void *.
260 * config/i386/heap-trampoline.c (__gcc_nested_func_ptr_created):
261 Change type of dst from void ** to void * and cast dst to void **
262 before dereferencing it.
263 * config/aarch64/heap-trampoline.c (__gcc_nested_func_ptr_created):
264 Likewise.
265
266 2024-02-01 Jakub Jelinek <jakub@redhat.com>
267
268 PR libgcc/113403
269 * config/i386/t-heap-trampoline: Add to LIB2ADDEHSHARED
270 i386/heap-trampoline.c rather than aarch64/heap-trampoline.c.
271
272 2024-02-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
273
274 * config/aarch64/crti.S: Remove stack marking.
275 * config/aarch64/crtn.S: Remove stack marking, include aarch64-asm.h
276 * config/aarch64/lse.S: Remove stack and GNU property markings.
277
278 2024-01-30 Iain Sandoe <iain@sandoe.co.uk>
279
280 PR libgcc/113403
281 * config.host: Build libheap_t.a for i686/x86_64 Darwin.
282 * config/aarch64/heap-trampoline.c (HEAP_T_ATTR): New.
283 (allocate_tramp_ctrl): Allow a target to build this as a weak def.
284 (__gcc_nested_func_ptr_created): Likewise.
285 * config/i386/heap-trampoline.c (HEAP_T_ATTR): New.
286 (allocate_tramp_ctrl): Allow a target to build this as a weak def.
287 (__gcc_nested_func_ptr_created): Likewise.
288 * config/t-darwin: Build libheap_t.a (a CRT with heap trampoline
289 support).
290
291 2024-01-30 Iain Sandoe <iain@sandoe.co.uk>
292
293 PR libgcc/113403
294 * config/aarch64/t-heap-trampoline: Move the heap trampoline
295 support functions from libgcc.a to libgcc_eh.a.
296 * config/i386/t-heap-trampoline: Likewise.
297
298 2024-01-28 Iain Sandoe <iain@sandoe.co.uk>
299 Jakub Jelinek <jakub@redhat.com>
300
301 PR libgcc/113402
302 * config/aarch64/heap-trampoline.c: Rename
303 __builtin_nested_func_ptr_created to __gcc_nested_func_ptr_created and
304 __builtin_nested_func_ptr_deleted to __gcc_nested_func_ptr_deleted.
305 * config/i386/heap-trampoline.c: Likewise.
306 * libgcc2.h: Likewise.
307 * libgcc-std.ver.in (GCC_7.0.0): Likewise and then move
308 __gcc_nested_func_ptr_created and
309 __gcc_nested_func_ptr_deleted from this symbol version to ...
310 (GCC_14.0.0): ... this one.
311
312 2024-01-26 Andrew Stubbs <ams@baylibre.com>
313
314 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Handle RDNA3.
315
316 2024-01-23 Zac Walker <zacwalker@microsoft.com>
317
318 * config/aarch64/aarch64-asm.h (HIDDEN, SYMBOL_SIZE, SYMBOL_TYPE)
319 (ENTRY_ALIGN, GNU_PROPERTY): New macros.
320 * config/aarch64/__arm_sme_state.S: Use them.
321 * config/aarch64/__arm_tpidr2_save.S: Likewise.
322 * config/aarch64/__arm_za_disable.S: Likewise.
323 * config/aarch64/crti.S: Likewise.
324 * config/aarch64/lse.S: Likewise.
325
326 2024-01-12 Jakub Jelinek <jakub@redhat.com>
327
328 * libgcc2.h (UBILtype): New typedef with may_alias attribute.
329 (__mulbitint3, __divmodbitint4): Use UBILtype * instead of
330 UWtype * and const UBILtype * instead of const UWtype *.
331 * libgcc2.c (bitint_reduce_prec, bitint_mul_1, bitint_addmul_1,
332 __mulbitint3, bitint_negate, bitint_submul_1, __divmodbitint4):
333 Likewise.
334 * soft-fp/bitint.h (UBILtype): Change define into a typedef with
335 may_alias attribute.
336
337 2024-01-12 Sandra Loosemore <sandra@codesourcery.com>
338
339 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Do not try to use
340 _dl_find_object on nios2; it doesn't work.
341
342 2023-12-23 Thomas Schwinge <thomas@codesourcery.com>
343
344 * c++-minimal/README: New.
345 * c++-minimal/guard.c: New.
346 * config/gcn/t-amdgcn (LIB2ADD): Add it.
347 * config/nvptx/t-nvptx (LIB2ADD): Likewise.
348
349 2023-12-20 Alexandre Oliva <oliva@adacore.com>
350
351 PR middle-end/112917
352 * config.host (sparc, sparc64): Enable...
353 * config/sparc/t-sparc: ... this new fragment.
354
355 2023-12-20 Alexandre Oliva <oliva@adacore.com>
356
357 * strub.c (ATTRIBUTE_NOINLINE): New.
358 (ATTRIBUTE_STRUB_CALLABLE): Add it.
359 (__strub_dummy_force_no_leaf): Drop it.
360
361 2023-12-16 Andrew Carlotti <andrew.carlotti@arm.com>
362
363 * config/aarch64/cpuinfo.c (enum CPUFeatures): Move to shared
364 copy in gcc/common
365
366 2023-12-16 Andrew Carlotti <andrew.carlotti@arm.com>
367 Pavel Iliin <Pavel.Iliin@arm.com>
368
369 * config/aarch64/t-aarch64: Include cpuinfo.c
370 * config/aarch64/cpuinfo.c: New file
371 (__init_cpu_features_constructor) New.
372 (__init_cpu_features_resolver) New.
373 (__init_cpu_features) New.
374
375 2023-12-11 Lipeng Zhu <lipeng.zhu@intel.com>
376
377 * gthr-posix.h (__GTHREAD_RWLOCK_INIT): New macro.
378 (__gthrw): New function.
379 (__gthread_rwlock_rdlock): New function.
380 (__gthread_rwlock_tryrdlock): New function.
381 (__gthread_rwlock_wrlock): New function.
382 (__gthread_rwlock_trywrlock): New function.
383 (__gthread_rwlock_unlock): New function.
384
385 2023-12-08 Florian Weimer <fweimer@redhat.com>
386
387 * libgcov-interface.c (__gcov_fork): Use __builtin_fork instead
388 of fork.
389
390 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
391
392 * config.in: Regenerate.
393
394 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
395
396 * config/aarch64/__arm_za_disable.S: Add hidden alias.
397 * config/aarch64/aarch64-unwind.h: Reset the SME state before
398 EH return via the _Unwind_Frames_Extra hook.
399
400 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
401
402 * config/aarch64/t-aarch64: Add sources to the build.
403 * config/aarch64/__aarch64_have_sme.c: New file.
404 * config/aarch64/__arm_sme_state.S: New file.
405 * config/aarch64/__arm_tpidr2_restore.S: New file.
406 * config/aarch64/__arm_tpidr2_save.S: New file.
407 * config/aarch64/__arm_za_disable.S: New file.
408 * config/aarch64/aarch64-asm.h: New file.
409 * config/aarch64/libgcc-sme.ver: New file.
410
411 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
412
413 * config.in: Undef HAVE___GETAUXVAL.
414 * configure: Regenerate.
415 * configure.ac: Check for __getauxval.
416
417 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
418
419 * config.in: Undef HAVE_AS_VARIANT_PCS.
420 * configure: Regenerate.
421 * configure.ac: Check for .variant_pcs.
422
423 2023-12-07 Alexandre Oliva <oliva@adacore.com>
424
425 * configure.ac: Check for strub support.
426 * configure: Rebuilt.
427 * Makefile.in: Compile strub.c conditionally.
428
429 2023-12-06 Thomas Schwinge <thomas@codesourcery.com>
430 Jakub Jelinek <jakub@redhat.com>
431
432 PR libgcc/109289
433 * emutls.c: Add GCC diagnostic ignored "-Wbuiltin-declaration-mismatch"
434 pragma.
435
436 2023-12-06 Alexandre Oliva <oliva@adacore.com>
437
438 * Makefile.in (LIB2ADD): Add strub.c.
439 * libgcc2.h (__strub_enter, __strub_update, __strub_leave):
440 Declare.
441 * strub.c: New.
442 * libgcc-std.ver.in (__strub_enter): Add to GCC_14.0.0.
443 (__strub_update, __strub_leave): Likewise.
444
445 2023-12-03 Jeff Law <jlaw@ventanamicro.com>
446
447 * unwind-pe.h (_Unwind_gnu_Find_got): Add prototype.
448
449 2023-12-03 Jeff Law <jlaw@ventanamicro.com>
450
451 * config/rx/rx-abi-functions.c (__ltdf2, __gtdf2): Add prototype.
452 (__ledf2, __gedf2, __eqdf2, __nedf2): Likewise.
453 (__ltsf2, __gtsf2, __lesf2, __gesf2, __eqsf2, __nesf2): Likewise.
454
455 2023-12-03 Jeff Law <jlaw@ventanamicro.com>
456
457 * config/frv/frvbegin.c (atexit): Add prototype.
458
459 2023-12-01 Alexandre Oliva <oliva@adacore.com>
460
461 * libgcc-std.ver.in (__hardcfr_check): Add to GCC_14.0.0.
462
463 2023-12-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
464
465 PR target/112777
466 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Honor that __LIBGCC_HAVE_LIBATOMIC is
467 always defined as either 0 or 1.
468
469 2023-12-01 Florian Weimer <fweimer@redhat.com>
470
471 * config/aarch64/linux-unwind.h
472 (aarch64_fallback_frame_state): Add cast to the expected type
473 in sc assignment.
474
475 2023-11-30 Wilco Dijkstra <wilco.dijkstra@arm.com>
476
477 PR target/111404
478 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Execute STLXP using
479 either new value or loaded value.
480
481 2023-11-27 Richard Earnshaw <rearnsha@arm.com>
482
483 * config/arm/lib1funcs.S (__sync_synchronize): Adjust warning message.
484
485 2023-11-24 Richard Earnshaw <rearnsha@arm.com>
486
487 * config.host (arm*-*-eabi* | arm*-*-rtems*):
488 Add arm/t-sync to the makefile rules.
489 * config/arm/lib1funcs.S (__sync_synchronize_none)
490 (__sync_synchronize_cp15dmb, __sync_synchronize_dmb)
491 (__sync_synchronize): New functions.
492 * config/arm/t-sync: New file.
493 * config/arm/sync-none.specs: Likewise.
494 * config/arm/sync-dmb.specs: Likewise.
495 * config/arm/sync-cp15dmb.specs: Likewise.
496
497 2023-11-23 Jose E. Marchesi <jose.marchesi@oracle.com>
498
499 * hardcfr.c (__hardcfr_check_fail): Mark as always_inline.
500
501 2023-11-21 Jakub Jelinek <jakub@redhat.com>
502
503 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Formatting fixes.
504
505 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
506
507 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Always define it.
508 Set it also to 1, if __LIBGCC_HAVE_LIBATOMIC is defined.
509
510 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
511
512 Revert:
513 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
514
515 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
516 (gcov_type_unsigned): Likewise.
517
518 2023-11-10 Keith Packard <keithp@keithp.com>
519
520 * config/m68k/lb1sf68.S (__adddf3): Properly check for non-zero denorm.
521 (__divdf3): Restore sign bit properly.
522 (__addsf3): Correct exponent check.
523 * config/m68k/fpgnulib.c (EXPMASK): Define.
524 (__extendsfdf2): Handle Inf and NaN properly.
525 (__truncdfsf2): Handle underflow and overflow correctly.
526 (__extenddfxf2): Handle underflow, denorms, Inf and NaN correctly.
527 (__truncxfdf2): Handle underflow and denorms correctly.
528 (__fixxfsi): Reimplement.
529
530 2023-11-09 Jakub Jelinek <jakub@redhat.com>
531
532 PR libgcc/65833
533 * config/t-softfp (softfp_bid_list): Add
534 {U,}TItype <-> _Decimal{32,64,128} conversions.
535 * soft-fp/floattisd.c: New file.
536 * soft-fp/floattidd.c: New file.
537 * soft-fp/floattitd.c: New file.
538 * soft-fp/floatuntisd.c: New file.
539 * soft-fp/floatuntidd.c: New file.
540 * soft-fp/floatuntitd.c: New file.
541 * soft-fp/fixsdti.c: New file.
542 * soft-fp/fixddti.c: New file.
543 * soft-fp/fixtdti.c: New file.
544 * soft-fp/fixunssdti.c: New file.
545 * soft-fp/fixunsddti.c: New file.
546 * soft-fp/fixunstdti.c: New file.
547
548 2023-11-07 Kwok Cheung Yeung <kcy@codesourcery.com>
549
550 * offloadstuff.c (OFFLOAD_IND_FUNC_TABLE_SECTION_NAME): New.
551 (__offload_ind_func_table): New.
552 (__offload_ind_funcs_end): New.
553 (__OFFLOAD_TABLE__): Add entries for indirect functions.
554
555 2023-11-03 Thomas Schwinge <thomas@codesourcery.com>
556
557 * config/gcn/gthr-gcn.h (__gthread_getspecific): 's%NULL%0'.
558
559 2023-10-31 Alexandre Oliva <oliva@adacore.com>
560
561 * hardcfr.c: Adjust copyright year.
562
563 2023-10-24 Sergei Trofimovich <siarheit@google.com>
564
565 * config/aarch64/heap-trampoline.c: Disable when libc is not
566 present.
567 * config/i386/heap-trampoline.c: Ditto.
568
569 2023-10-22 Iain Sandoe <iain@sandoe.co.uk>
570
571 * config/t-slibgcc-darwin: Generate libgcc_s
572 with an @rpath name.
573 * config.host: Handle Darwin rpaths.
574 * config/t-darwin-rpath: New file.
575
576 2023-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
577 Maxim Blinov <maxim.blinov@embecosm.com>
578 Iain Sandoe <iain@sandoe.co.uk>
579 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
580
581 * libgcc2.h (__builtin_nested_func_ptr_created): Declare.
582 (__builtin_nested_func_ptr_deleted): Declare.
583 * libgcc-std.ver.in: Add the new symbols.
584 * config/aarch64/heap-trampoline.c: Implement heap-based
585 trampolines for aarch64.
586 * config/aarch64/t-heap-trampoline: Add rule to build
587 config/aarch64/heap-trampoline.c
588 * config/i386/heap-trampoline.c: Implement heap-based
589 trampolines for x86_64.
590 * config/i386/t-heap-trampoline: Add rule to build
591 config/i386/heap-trampoline.cc
592 * config.host: Handle --enable-heap-trampolines on
593 x86_64-*-linux*, aarch64-*-linux*, x86_64-*-darwin*.
594
595 2023-10-20 Andrew Stubbs <ams@codesourcery.com>
596
597 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Set false for __RDNA2__.
598
599 2023-10-20 Alexandre Oliva <oliva@adacore.com>
600
601 * Makefile.in (LIB2ADD): Add hardcfr.c.
602 * hardcfr.c: New.
603
604 2023-10-13 Florian Weimer <fweimer@redhat.com>
605
606 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Add
607 missing cast.
608
609 2023-10-13 Florian Weimer <fweimer@redhat.com>
610
611 * config/arc/linux-unwind.h (arc_fallback_frame_state): Add
612 missing cast.
613
614 2023-10-13 Florian Weimer <fweimer@redhat.com>
615
616 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
617 missing cast.
618
619 2023-10-13 Florian Weimer <fweimer@redhat.com>
620
621 * config/csky/linux-unwind.h (csky_fallback_frame_state): Add
622 missing cast.
623
624 2023-10-13 Florian Weimer <fweimer@redhat.com>
625
626 * config/m68k/fpgnulib.c (__cmpdf2): Declare.
627
628 2023-09-26 Wilco Dijkstra <wilco.dijkstra@arm.com>
629
630 * config/aarch64/lse.S (BTI_C): Remove define.
631
632 2023-09-20 Pekka Seppänen <pexu@gcc.mail.kapsi.fi>
633
634 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key):
635 Use const unsigned type and a builtin.
636
637 2023-09-06 Jakub Jelinek <jakub@redhat.com>
638
639 PR c/102989
640 * libgcc2.c (bitint_negate): Add function comment.
641 * soft-fp/bitint.h (bitint_negate): Add function comment.
642 (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
643
644 2023-09-06 Jakub Jelinek <jakub@redhat.com>
645
646 PR c/102989
647 * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
648 * config/i386/64/t-softfp (softfp_extras): Likewise.
649 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
650 routines.
651 * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
652 bf, hf and xf mode floatbitint.
653 (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
654 * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
655 * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
656 * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
657 * config/t-softfp (softfp_floatbitint_funcs): New.
658 (softfp_bid_list): New.
659 (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
660 (softfp_bid_file_list): New.
661 (LIB2ADD_ST): Add $(softfp_bid_file_list).
662 * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
663 floatbitinttf.
664 * config/t-softfp-tf (softfp_extras): Likewise.
665 * libgcc2.c (bitint_reduce_prec): New inline function.
666 (BITINT_INC, BITINT_END): Define.
667 (bitint_mul_1, bitint_addmul_1): New helper functions.
668 (__mulbitint3): New function.
669 (bitint_negate, bitint_submul_1): New helper functions.
670 (__divmodbitint4): New function.
671 * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
672 libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
673 (__mulbitint3, __divmodbitint4): Declare.
674 * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
675 * Makefile.in (lib2funcs): Add _mulbitint3.
676 (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
677 * soft-fp/bitint.h: New file.
678 * soft-fp/fixdfbitint.c: New file.
679 * soft-fp/fixsfbitint.c: New file.
680 * soft-fp/fixtfbitint.c: New file.
681 * soft-fp/fixxfbitint.c: New file.
682 * soft-fp/floatbitintbf.c: New file.
683 * soft-fp/floatbitintdf.c: New file.
684 * soft-fp/floatbitinthf.c: New file.
685 * soft-fp/floatbitintsf.c: New file.
686 * soft-fp/floatbitinttf.c: New file.
687 * soft-fp/floatbitintxf.c: New file.
688 * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
689 4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
690 * soft-fp/bitintpow10.c: New file.
691 * soft-fp/fixsdbitint.c: New file.
692 * soft-fp/fixddbitint.c: New file.
693 * soft-fp/fixtdbitint.c: New file.
694 * soft-fp/floatbitintsd.c: New file.
695 * soft-fp/floatbitintdd.c: New file.
696 * soft-fp/floatbitinttd.c: New file.
697
698 2023-09-06 Jakub Jelinek <jakub@redhat.com>
699
700 PR c/102989
701 * soft-fp/bitintpow10.h: New file.
702
703 2023-09-05 Yang Yujie <yangyujie@loongson.cn>
704
705 * config.host: add loongarch*-elf target.
706
707 2023-08-11 Thomas Neumann <thomas.neumann@in.tum.de>
708
709 PR libgcc/110956
710 * unwind-dw2-fde.c: Associate object with address of unwinding
711 table.
712
713 2023-08-07 John Ericson <git@JohnEricson.me>
714
715 * configure: Regenerate.
716
717 2023-08-07 Alan Modra <amodra@gmail.com>
718
719 * configure: Regenerate.
720
721 2023-07-23 Andrew Pinski <apinski@marvell.com>
722
723 * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
724 (riscv*-*-freebsd*): Likewise.
725 * config/riscv/t-crtstuff: New file.
726
727 2023-07-19 liuhongt <hongtao.liu@intel.com>
728
729 * config/i386/t-softfp: Add -msse2 to libbid HFtype related
730 files.
731
732 2023-07-11 Florian Weimer <fweimer@redhat.com>
733
734 PR libgcc/110179
735 * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
736 implicit conversion of pointer value to integer.
737
738 2023-07-06 Kito Cheng <kito.cheng@sifive.com>
739
740 * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
741 (FP_HANDLE_EXCEPTIONS): Ditto.
742
743 2023-06-19 Andrew Stubbs <ams@codesourcery.com>
744
745 * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
746 * config/gcn/lib2-divmod.c: Likewise.
747 * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
748 new vector libfuncs.
749 * config/gcn/t-amdgcn: Add new files.
750 * config/gcn/amdgcn_veclib.h: New file.
751 * config/gcn/lib2-vec_divmod-di.c: New file.
752 * config/gcn/lib2-vec_divmod-hi.c: New file.
753 * config/gcn/lib2-vec_divmod-qi.c: New file.
754 * config/gcn/lib2-vec_divmod.c: New file.
755
756 2023-06-19 Andrew Stubbs <ams@codesourcery.com>
757
758 * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
759 (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
760 * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
761 * config/gcn/lib2-divmod-hi.c: Removed.
762
763 2023-06-07 Florian Weimer <fweimer@redhat.com>
764
765 PR libgcc/109712
766 * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
767 parsing eh_frame.
768
769 2023-06-05 Kewen Lin <linkw@linux.ibm.com>
770
771 * config/i386/morestack.S: Use @init_array rather than
772 @progbits for section type of section .init_array.
773 * config/rs6000/morestack.S: Likewise.
774 * config/s390/morestack.S: Likewise.
775
776 2023-06-05 YunQiang Su <yunqiang.su@cipunited.com>
777
778 * config/mips/lib1funcs.S: New file.
779 define __speculation_barrier and include mips16.S.
780 * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
781 define LIB1ASMFUNCS as _speculation_barrier.
782 set version info for __speculation_barrier.
783 * config/mips/libgcc-mips.ver: New file.
784 * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
785 included in lib1funcs.S now.
786
787 2023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
788
789 PR libgcc/109670
790 * unwind-dw2-fde.c: Fix radix sort buffer management.
791
792 2023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
793
794 PR libgcc/109685
795 * unwind-dw2-fde.c: Free sort array in atomic fast path.
796
797 2023-05-19 Iain Sandoe <iain@sandoe.co.uk>
798
799 * config.host: Arrange to set min Darwin OS versions from
800 the configured host version.
801 * config/darwin10-unwind-find-enc-func.c: Do not use current
802 headers, but declare the nexessary structures locally to the
803 versions in use for Mac OSX 10.6.
804 * config/t-darwin: Amend to handle configured min OS
805 versions.
806 * config/t-darwin-min-1: New.
807 * config/t-darwin-min-5: New.
808 * config/t-darwin-min-8: New.
809
810 2023-05-15 Thomas Neumann <tneumann@users.sourceforge.net>
811
812 * unwind-dw2-fde.c: Fix assert in non-atomic path.
813
814 2023-05-15 Sören Tempel <soeren+git@soeren-tempel.net>
815
816 * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
817
818 2023-05-02 Patrick O'Neill <patrick@rivosinc.com>
819
820 * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
821 sequentially consistent LR.aqrl/SC.rl pairs.
822
823 2023-05-01 Dimitar Dimitrov <dimitar@dinux.eu>
824
825 * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
826 -DTARGET_HAS_NO_HW_DIVIDE.
827
828 2023-04-27 Hans-Peter Nilsson <hp@axis.com>
829
830 * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
831 -DTARGET_HAS_NO_HW_DIVIDE.
832
833 2023-04-26 Patrick O'Neill <patrick@rivosinc.com>
834
835 PR target/104338
836 * config/riscv/atomic.c: Add reference to duplicate logic.
837
838 2023-04-08 Tetsuma Hoshino <t-hoshino@pony-e.jp>
839
840 PR target/109402
841 * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
842 stack manipulations.
843
844 2023-04-05 John David Anglin <danglin@gcc.gnu.org>
845
846 PR target/109374
847 * config/pa/milli64.S (RETURN_COLUMN): Define.
848 ($$divI): Add CFI directives.
849 ($$divU): Likewise.
850 ($$remI): Likewise.
851 ($$remU): Likewise.
852
853 2023-03-19 Stafford Horne <shorne@gmail.com>
854
855 * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
856 statement clearing existing exceptions.
857
858 2023-03-13 Max Filippov <jcmvbkbc@gmail.com>
859
860 * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
861 * config/xtensa/crtn.S: Likewise.
862 * config/xtensa/lib1funcs.S: Likewise.
863 * config/xtensa/lib2funcs.S: Likewise.
864
865 2023-03-12 Jakub Jelinek <jakub@redhat.com>
866
867 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
868 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
869 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
870 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
871 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
872 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
873 * soft-fp/floatundibf.c: New file.
874 * soft-fp/floatdibf.c: New file.
875
876 2023-03-10 Jakub Jelinek <jakub@redhat.com>
877
878 PR target/107703
879 * soft-fp/floattibf.c: New file.
880 * soft-fp/floatuntibf.c: New file.
881 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
882 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
883 floatuntibf.
884 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
885
886 2023-03-08 Kewen Lin <linkw@linux.ibm.com>
887
888 PR libgcc/108727
889 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
890 bump size.
891
892 2023-03-06 Michael Meissner <meissner@linux.ibm.com>
893
894 PR target/107299
895 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
896 whether long double is IBM or IEEE.
897 (INFINITY): Likewise.
898 (FABS): Likewise.
899 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
900 (INFINITY): Likewise.
901 * config/rs6000/quad-float128.h (TF): Remove definition.
902 (TFtype): Define to be long double or _Float128.
903 (TCtype): Define to be _Complex long double or _Complex _Float128.
904 * libgcc2.h (TFtype): Allow machine config files to override this.
905 (TCtype): Likewise.
906 * soft-fp/quad.h (TFtype): Likewise.
907
908 2023-02-13 Kito Cheng <kito.cheng@sifive.com>
909
910 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
911 * config/riscv/value-unwind.h: New.
912
913 2023-02-03 Christophe Lyon <christophe.lyon@arm.com>
914
915 * config/arm/pr-support.c (__gnu_unwind_execute): Use
916 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
917
918 2023-01-30 Flavio Cruz <flaviocruz@gmail.com>
919
920 * config.host: Recognize x86_64-*-gnu* targets.
921 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
922 TODO for now.
923
924 2023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
925
926 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
927 "0xb5".
928
929 2023-01-23 Andrea Corallo <andrea.corallo@arm.com>
930 Tejas Belagod <tbelagod@arm.com>
931 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
932
933 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
934 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
935 with AUTG if found.
936 * config/arm/unwind-arm.c (struct pseudo_regs): New.
937 (phase1_vrs): Introduce new field to store pseudo-reg state.
938 (phase2_vrs): Likewise.
939 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
940 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
941 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
942
943 2023-01-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
944
945 PR target/107678
946 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
947 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
948 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
949 encode the return address signing state.
950 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
951 Check current return address signing state.
952 (aarch64_frob_update_contex): Remove.
953
954 2023-01-13 John David Anglin <danglin@gcc.gnu.org>
955
956 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
957 pa/t-pa64-linux.
958 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
959 instead of pa/t-hpux and pa/t-pa64.
960 * config/pa/linux-atomic.c: Define u32 type.
961 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
962 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
963 defines to use atomic_load calls for type.
964 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
965 * config/pa/sync-libfuncs.c: New file.
966 * config/pa/t-netbsd (LIB2ADD_ST): Define.
967 * config/pa/t-openbsd (LIB2ADD_ST): Define.
968 * config/pa/t-pa64-hpux: New file.
969 * config/pa/t-pa64-linux: New file.
970
971 2023-01-13 Jonathan Wakely <jwakely@redhat.com>
972
973 PR libstdc++/108331
974 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
975 struct matching the previous __gthread_mutex_t struct.
976 (__GTHREAD_LEGACY_MUTEX_T): Define.
977
978 2023-01-13 Seija Kijin <doremylover456@gmail.com>
979
980 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
981 unified syntax.
982
983 2023-01-07 LIU Hao <lh_mouse@126.com>
984
985 PR middle-end/108300
986 * config/i386/enable-execute-stack-mingw32.c: Define
987 `WIN32_LEAN_AND_MEAN` before <windows.h>.
988 * libgcc2.c: Likewise.
989 * unwind-generic.h: Likewise.
990
991 2023-01-03 Florian Weimer <fweimer@redhat.com>
992
993 * unwind-dw2-execute_cfa.h: New file. Extracted from
994 the execute_cfa_program function in unwind-dw2.c.
995 * unwind-dw2.c (execute_cfa_program_generic): New function.
996 (execute_cfa_program_specialized): Likewise.
997 (execute_cfa_program): Call execute_cfa_program_specialized
998 or execute_cfa_program_generic, as appropriate.
999
1000 2023-01-03 Florian Weimer <fweimer@redhat.com>
1001
1002 Revert:
1003 2023-01-03 Florian Weimer <fweimer@redhat.com>
1004
1005 * unwind-dw2.c (dwarf_reg_size): New function.
1006 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
1007 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
1008 (uw_init_context_1): Do not initialize dwarf_reg_size_table
1009 if not in use.
1010
1011 2023-01-03 Florian Weimer <fweimer@redhat.com>
1012
1013 Revert:
1014 2023-01-03 Florian Weimer <fweimer@redhat.com>
1015
1016 * unwind-dw2-execute_cfa.h: New file. Extracted from
1017 the execute_cfa_program function in unwind-dw2.c.
1018 * unwind-dw2.c (execute_cfa_program_generic): New function.
1019 (execute_cfa_program_specialized): Likewise.
1020 (execute_cfa_program): Call execute_cfa_program_specialized
1021 or execute_cfa_program_generic, as appropriate.
1022
1023 2023-01-02 Florian Weimer <fweimer@redhat.com>
1024
1025 * unwind-dw2-execute_cfa.h: New file. Extracted from
1026 the execute_cfa_program function in unwind-dw2.c.
1027 * unwind-dw2.c (execute_cfa_program_generic): New function.
1028 (execute_cfa_program_specialized): Likewise.
1029 (execute_cfa_program): Call execute_cfa_program_specialized
1030 or execute_cfa_program_generic, as appropriate.
1031
1032 2023-01-02 Florian Weimer <fweimer@redhat.com>
1033
1034 * unwind-dw2.c (dwarf_reg_size): New function.
1035 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
1036 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
1037 (uw_init_context_1): Do not initialize dwarf_reg_size_table
1038 if not in use.
1039
1040 2022-12-25 Jonathan Yong <10walls@gmail.com>
1041
1042 * config/i386/gthr-win32.h: undef CC_NONE
1043
1044 2022-12-24 Iain Sandoe <iain@sandoe.co.uk>
1045
1046 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
1047 install of libgcc_s.1.dylib when the installation is into the build
1048 gcc directory.
1049
1050 2022-12-23 Eric Botcazou <ebotcazou@adacore.com>
1051
1052 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
1053 as well as new i386/t-slibgcc-mingw fragment.
1054 (x86_64-*-mingw*): Likewise.
1055 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
1056 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
1057 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
1058 Include stdlib.h instead of errno.h and do not include _mingw.h.
1059 (CONST_CAST2): Add specific definition for C++.
1060 (ATTRIBUTE_UNUSED): New macro.
1061 (__UNUSED_PARAM): Delete.
1062 Define WIN32_LEAN_AND_MEAN before including windows.h.
1063 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
1064 (__gthread_objc_init_thread_system): Likewise.
1065 (__gthread_objc_thread_get_data): Minor tweak.
1066 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
1067 (__gthread_objc_condition_deallocate): Likewise.
1068 (__gthread_objc_condition_wait): Likewise.
1069 (__gthread_objc_condition_broadcast): Likewise.
1070 (__gthread_objc_condition_signal): Likewise.
1071 Include sys/time.h.
1072 (__gthr_win32_DWORD): New typedef.
1073 (__gthr_win32_HANDLE): Likewise.
1074 (__gthr_win32_CRITICAL_SECTION): Likewise.
1075 (__gthr_win32_CONDITION_VARIABLE): Likewise.
1076 (__gthread_t): Adjust.
1077 (__gthread_key_t): Likewise.
1078 (__gthread_mutex_t): Likewise.
1079 (__gthread_recursive_mutex_t): Likewise.
1080 (__gthread_cond_t): New typedef.
1081 (__gthread_time_t): Likewise.
1082 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
1083 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
1084 (__GTHREAD_COND_INIT_FUNCTION): Define.
1085 (__GTHREAD_TIME_INIT): Likewise.
1086 (__gthr_i486_lock_cmp_xchg): Delete.
1087 (__gthr_win32_create): Declare.
1088 (__gthr_win32_join): Likewise.
1089 (__gthr_win32_self): Likewise.
1090 (__gthr_win32_detach): Likewise.
1091 (__gthr_win32_equal): Likewise.
1092 (__gthr_win32_yield): Likewise.
1093 (__gthr_win32_mutex_destroy): Likewise.
1094 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
1095 (__gthr_win32_cond_broadcast): Likewise.
1096 (__gthr_win32_cond_signal): Likewise.
1097 (__gthr_win32_cond_wait): Likewise.
1098 (__gthr_win32_cond_timedwait): Likewise.
1099 (__gthr_win32_recursive_mutex_init_function): Delete.
1100 (__gthr_win32_recursive_mutex_lock): Likewise.
1101 (__gthr_win32_recursive_mutex_unlock): Likewise.
1102 (__gthr_win32_recursive_mutex_destroy): Likewise.
1103 (__gthread_create): New inline function.
1104 (__gthread_join): Likewise.
1105 (__gthread_self): Likewise.
1106 (__gthread_detach): Likewise.
1107 (__gthread_equal): Likewise.
1108 (__gthread_yield): Likewise.
1109 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
1110 (__gthread_cond_broadcast): Likewise.
1111 (__gthread_cond_signal): Likewise.
1112 (__gthread_cond_wait): Likewise.
1113 (__gthread_cond_timedwait): Likewise.
1114 (__GTHREAD_WIN32_INLINE): New macro.
1115 (__GTHREAD_WIN32_COND_INLINE): Likewise.
1116 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
1117 Define WIN32_LEAN_AND_MEAN before including windows.h.
1118 (__gthread_once): Minor tweaks.
1119 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
1120 (__gthread_key_delete): Minor tweak.
1121 (__gthread_getspecific): Likewise.
1122 (__gthread_setspecific): Likewise.
1123 (__gthread_mutex_init_function): Reimplement.
1124 (__gthread_mutex_destroy): Likewise.
1125 (__gthread_mutex_lock): Likewise.
1126 (__gthread_mutex_trylock): Likewise.
1127 (__gthread_mutex_unlock): Likewise.
1128 (__gthr_win32_abs_to_rel_time): Declare.
1129 (__gthread_recursive_mutex_init_function): Reimplement.
1130 (__gthread_recursive_mutex_destroy): Likewise.
1131 (__gthread_recursive_mutex_lock): Likewise.
1132 (__gthread_recursive_mutex_trylock): Likewise.
1133 (__gthread_recursive_mutex_unlock): Likewise.
1134 (__gthread_cond_destroy): New inline function.
1135 (__gthread_cond_wait_recursive): Likewise.
1136 * config/i386/gthr-win32.c: Delete everything.
1137 Include gthr-win32.h to get the out-of-line version of inline routines.
1138 Add compile-time checks for the local version of the Win32 types.
1139 * config/i386/gthr-win32-cond.c: New file.
1140 * config/i386/gthr-win32-thread.c: Likewise.
1141 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
1142 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
1143 the static version of libgcc.
1144 * config/i386/t-slibgcc-mingw: New file.
1145 * config/i386/libgcc-mingw.ver: Likewise.
1146
1147 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
1148
1149 * unwind-dw2-fde.c: Initialize fde object lazily when
1150 the first exception tries to pass through.
1151
1152 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
1153
1154 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
1155
1156 2022-12-08 Max Filippov <jcmvbkbc@gmail.com>
1157
1158 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
1159 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
1160 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
1161 (XSHAL_ABI): Remove stray symbols from macro definitions.
1162
1163 2022-12-07 Max Filippov <jcmvbkbc@gmail.com>
1164
1165 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
1166 xtensa-config-builtin.h.
1167 * config/xtensa/crtn.S: Likewise.
1168 * config/xtensa/lib1funcs.S: Likewise.
1169 * config/xtensa/lib2funcs.S: Likewise.
1170 * config/xtensa/xtensa-config-builtin.h: New File.
1171
1172 2022-11-04 Florian Weimer <fweimer@redhat.com>
1173
1174 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
1175 values actually used by BFD ld.
1176
1177 2022-10-23 LIU Hao <lh_mouse@126.com>
1178
1179 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
1180 libobjc, instead of 'gthr.h'
1181
1182 2022-10-19 LIU Hao <lh_mouse@126.com>
1183
1184 * config.host: Add new cases for `mcf` thread model
1185 * config/i386/gthr-mcf.h: New file
1186 * config/i386/t-mingw-mcfgthread: New file
1187 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
1188 * configure: Regenerate
1189
1190 2022-10-18 Jonathan Wakely <jwakely@redhat.com>
1191
1192 * Makefile.in: Quote variable.
1193
1194 2022-10-17 H.J. Lu <hjl.tools@gmail.com>
1195
1196 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
1197 argument.
1198 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
1199 _Unwind_Frames_Increment.
1200 (_Unwind_ForcedUnwind_Phase2): Likewise.
1201 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1202 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
1203 return address on normal stack doesn't match the return address
1204 on shadow stack.
1205
1206 2022-10-17 Florian Weimer <fweimer@redhat.com>
1207
1208 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
1209 and reduce its size.
1210
1211 2022-10-14 Jakub Jelinek <jakub@redhat.com>
1212
1213 * config/i386/t-softfp (softfp_extensions): Add bfsf.
1214 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
1215 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
1216 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
1217 -msse2.
1218 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
1219 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
1220 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
1221 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
1222 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
1223 * soft-fp/brain.h: New file.
1224 * soft-fp/truncsfbf2.c: New file.
1225 * soft-fp/truncdfbf2.c: New file.
1226 * soft-fp/truncxfbf2.c: New file.
1227 * soft-fp/trunctfbf2.c: New file.
1228 * soft-fp/trunchfbf2.c: New file.
1229 * soft-fp/truncbfhf2.c: New file.
1230 * soft-fp/extendbfsf2.c: New file.
1231
1232 2022-10-12 Martin Liska <mliska@suse.cz>
1233
1234 * libgcov-driver.c: Use new function.
1235 * libgcov.h (gcov_write_summary): Rename to ...
1236 (gcov_write_object_summary): ... this.
1237
1238 2022-10-11 Olivier Hainque <hainque@adacore.com>
1239
1240 * config.host (*vxworks*): When enable_shared, add
1241 libgcc and crtstuff "shared" fragments for rtp except
1242 large code model.
1243 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
1244 the list of fragments.
1245
1246 2022-10-06 Jakub Jelinek <jakub@redhat.com>
1247
1248 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1249 fs->regs.how[X] instead of fs->regs.reg[X].how.
1250
1251 2022-10-06 Jakub Jelinek <jakub@redhat.com>
1252
1253 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
1254 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
1255 REG_UNDEFINED): New anonymous enum, moved from inside of
1256 struct frame_state_reg_info.
1257 (struct frame_state_reg_info): Remove reg[].how element and the
1258 anonymous enum there. Add how element.
1259 * unwind-dw2.c: Include stddef.h.
1260 (uw_frame_state_for): Don't clear first
1261 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
1262 (execute_cfa_program, __frame_state_for, uw_update_context_1,
1263 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
1264 or fs.regs.how[X] instead of fs.regs.reg[X].how.
1265 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
1266 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1267 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1268 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
1269 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
1270 Likewise.
1271 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
1272 Likewise.
1273 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
1274 * config/arc/linux-unwind.h (arc_fallback_frame_state,
1275 arc_frob_update_context): Likewise.
1276 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
1277 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
1278 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
1279 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
1280 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
1281 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
1282 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
1283 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
1284 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
1285 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
1286 x86_fallback_frame_state): Likewise.
1287 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
1288 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1289 x86_fallback_frame_state): Likewise.
1290 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
1291 Likewise.
1292 * config/i386/dragonfly-unwind.h
1293 (x86_64_dragonfly_fallback_frame_state): Likewise.
1294 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
1295 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
1296 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
1297 Likewise.
1298 * config/aarch64/freebsd-unwind.h
1299 (aarch64_freebsd_fallback_frame_state): Likewise.
1300 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1301 Likewise.
1302 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
1303 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1304 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
1305 Likewise.
1306 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
1307 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1308 Likewise.
1309 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
1310 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
1311 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
1312 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
1313
1314 2022-10-02 Olivier Hainque <hainque@adacore.com>
1315
1316 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
1317 -I options for gcc/include and gcc/include-fixed at the end
1318 and make them -isystem.
1319
1320 2022-10-02 Olivier Hainque <hainque@adacore.com>
1321
1322 * config/gthr-vxworks.h: Prevent Wpragma warning for the
1323 pragma diagnostics on Wstrict-prototypes.
1324
1325 2022-09-29 Olivier Hainque <hainque@adacore.com>
1326
1327 * config/vxcrtstuff.c: Improve the comment attached to the use
1328 of auto-host.h and of __dso_handle. Remove redundant guard on
1329 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
1330
1331 2022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
1332
1333 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
1334 for the non-fast-path case. Drop destructor priority.
1335
1336 2022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
1337
1338 * unwind-dw2-fde.c: (release_register_frames) Remember
1339 when the btree has been destroyed.
1340 (__deregister_frame_info_bases) Disable the assert when
1341 shutting down.
1342
1343 2022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
1344
1345 * unwind-dw2-fde.c: Replace uintptr_t with typedef
1346 for __UINTPTR_TYPE__.
1347 * unwind-dw2-btree.h: Likewise.
1348
1349 2022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
1350
1351 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
1352 (__register_frame_info_table_bases): Use btree in atomic fast path.
1353 (__deregister_frame_info_bases): Likewise.
1354 (_Unwind_Find_FDE): Likewise.
1355 (base_from_object): Make parameter const.
1356 (classify_object_over_fdes): Add query-only mode.
1357 (get_pc_range): Compute PC range for lookup.
1358 * unwind-dw2-fde.h (last_fde): Make parameter const.
1359 * unwind-dw2-btree.h: New file.
1360
1361 2022-08-31 Martin Liska <mliska@suse.cz>
1362
1363 * config.host: Remove hppa.
1364
1365 2022-08-30 Martin Liska <mliska@suse.cz>
1366
1367 * config.host: Remove the port.
1368
1369 2022-08-26 Martin Liska <mliska@suse.cz>
1370
1371 * config.host: Remove cr16 related stuff.
1372 * config/cr16/crti.S: Removed.
1373 * config/cr16/crtlibid.S: Removed.
1374 * config/cr16/crtn.S: Removed.
1375 * config/cr16/divmodhi3.c: Removed.
1376 * config/cr16/lib1funcs.S: Removed.
1377 * config/cr16/t-cr16: Removed.
1378 * config/cr16/t-crtlibid: Removed.
1379 * config/cr16/unwind-cr16.c: Removed.
1380 * config/cr16/unwind-dw2.h: Removed.
1381
1382 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
1383
1384 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
1385 (_FP_NANFRAC_H): Ditto.
1386 (_FP_NANSIGN_H): Ditto.
1387 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
1388 routines.
1389 (softfp_truncations): Ditto.
1390 (softfp_extras): Ditto.
1391 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
1392
1393 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
1394
1395 * soft-fp/fixhfdi.c: New.
1396 * soft-fp/fixhfsi.c: Likewise.
1397 * soft-fp/fixunshfdi.c: Likewise.
1398 * soft-fp/fixunshfsi.c: Likewise.
1399 * soft-fp/floatdihf.c: Likewise.
1400 * soft-fp/floatsihf.c: Likewise.
1401 * soft-fp/floatundihf.c: Likewise.
1402 * soft-fp/floatunsihf.c: Likewise.
1403 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
1404 lines and update URL for license.
1405 * soft-fp/addsf3.c: Likewise.
1406 * soft-fp/addtf3.c: Likewise.
1407 * soft-fp/divdf3.c: Likewise.
1408 * soft-fp/divsf3.c: Likewise.
1409 * soft-fp/divtf3.c: Likewise.
1410 * soft-fp/double.h: Likewise.
1411 * soft-fp/eqdf2.c: Likewise.
1412 * soft-fp/eqhf2.c: Likewise.
1413 * soft-fp/eqsf2.c: Likewise.
1414 * soft-fp/eqtf2.c: Likewise.
1415 * soft-fp/extenddftf2.c: Likewise.
1416 * soft-fp/extended.h: Likewise.
1417 * soft-fp/extendhfdf2.c: Likewise.
1418 * soft-fp/extendhfsf2.c: Likewise.
1419 * soft-fp/extendhftf2.c: Likewise.
1420 * soft-fp/extendhfxf2.c: Likewise.
1421 * soft-fp/extendsfdf2.c: Likewise.
1422 * soft-fp/extendsftf2.c: Likewise.
1423 * soft-fp/extendxftf2.c: Likewise.
1424 * soft-fp/fixdfdi.c: Likewise.
1425 * soft-fp/fixdfsi.c: Likewise.
1426 * soft-fp/fixdfti.c: Likewise.
1427 * soft-fp/fixhfti.c: Likewise.
1428 * soft-fp/fixsfdi.c: Likewise.
1429 * soft-fp/fixsfsi.c: Likewise.
1430 * soft-fp/fixsfti.c: Likewise.
1431 * soft-fp/fixtfdi.c: Likewise.
1432 * soft-fp/fixtfsi.c: Likewise.
1433 * soft-fp/fixtfti.c: Likewise.
1434 * soft-fp/fixunsdfdi.c: Likewise.
1435 * soft-fp/fixunsdfsi.c: Likewise.
1436 * soft-fp/fixunsdfti.c: Likewise.
1437 * soft-fp/fixunshfti.c: Likewise.
1438 * soft-fp/fixunssfdi.c: Likewise.
1439 * soft-fp/fixunssfsi.c: Likewise.
1440 * soft-fp/fixunssfti.c: Likewise.
1441 * soft-fp/fixunstfdi.c: Likewise.
1442 * soft-fp/fixunstfsi.c: Likewise.
1443 * soft-fp/fixunstfti.c: Likewise.
1444 * soft-fp/floatdidf.c: Likewise.
1445 * soft-fp/floatdisf.c: Likewise.
1446 * soft-fp/floatditf.c: Likewise.
1447 * soft-fp/floatsidf.c: Likewise.
1448 * soft-fp/floatsisf.c: Likewise.
1449 * soft-fp/floatsitf.c: Likewise.
1450 * soft-fp/floattidf.c: Likewise.
1451 * soft-fp/floattihf.c: Likewise.
1452 * soft-fp/floattisf.c: Likewise.
1453 * soft-fp/floattitf.c: Likewise.
1454 * soft-fp/floatundidf.c: Likewise.
1455 * soft-fp/floatundisf.c: Likewise.
1456 * soft-fp/floatunditf.c: Likewise.
1457 * soft-fp/floatunsidf.c: Likewise.
1458 * soft-fp/floatunsisf.c: Likewise.
1459 * soft-fp/floatunsitf.c: Likewise.
1460 * soft-fp/floatuntidf.c: Likewise.
1461 * soft-fp/floatuntihf.c: Likewise.
1462 * soft-fp/floatuntisf.c: Likewise.
1463 * soft-fp/floatuntitf.c: Likewise.
1464 * soft-fp/gedf2.c: Likewise.
1465 * soft-fp/gesf2.c: Likewise.
1466 * soft-fp/getf2.c: Likewise.
1467 * soft-fp/half.h: Likewise.
1468 * soft-fp/ledf2.c: Likewise.
1469 * soft-fp/lesf2.c: Likewise.
1470 * soft-fp/letf2.c: Likewise.
1471 * soft-fp/muldf3.c: Likewise.
1472 * soft-fp/mulsf3.c: Likewise.
1473 * soft-fp/multf3.c: Likewise.
1474 * soft-fp/negdf2.c: Likewise.
1475 * soft-fp/negsf2.c: Likewise.
1476 * soft-fp/negtf2.c: Likewise.
1477 * soft-fp/op-1.h: Likewise.
1478 * soft-fp/op-2.h: Likewise.
1479 * soft-fp/op-4.h: Likewise.
1480 * soft-fp/op-8.h: Likewise.
1481 * soft-fp/op-common.h: Likewise.
1482 * soft-fp/quad.h: Likewise.
1483 * soft-fp/single.h: Likewise.
1484 * soft-fp/soft-fp.h: Likewise.
1485 * soft-fp/subdf3.c: Likewise.
1486 * soft-fp/subsf3.c: Likewise.
1487 * soft-fp/subtf3.c: Likewise.
1488 * soft-fp/truncdfhf2.c: Likewise.
1489 * soft-fp/truncdfsf2.c: Likewise.
1490 * soft-fp/truncsfhf2.c: Likewise.
1491 * soft-fp/trunctfdf2.c: Likewise.
1492 * soft-fp/trunctfhf2.c: Likewise.
1493 * soft-fp/trunctfsf2.c: Likewise.
1494 * soft-fp/trunctfxf2.c: Likewise.
1495 * soft-fp/truncxfhf2.c: Likewise.
1496 * soft-fp/unorddf2.c: Likewise.
1497 * soft-fp/unordsf2.c: Likewise.
1498 * soft-fp/unordtf2.c: Likewise.
1499
1500 2022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
1501
1502 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
1503 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
1504 configurations.
1505
1506 2022-06-25 Jeff Law <jeffreyalaw@gmail.com>
1507
1508 * config.host: Removed tilegx and tilepro entries.
1509 * config/tilegx/sfp-machine.h: Removed.
1510 * config/tilegx/sfp-machine32.h: Removed.
1511 * config/tilegx/sfp-machine64.h: Removed.
1512 * config/tilegx/t-crtstuff: Removed.
1513 * config/tilegx/t-softfp: Removed.
1514 * config/tilegx/t-tilegx: Removed.
1515 * config/tilepro/atomic.c: Removed.
1516 * config/tilepro/atomic.h: Removed.
1517 * config/tilepro/linux-unwind.h: Removed.
1518 * config/tilepro/sfp-machine.h: Removed.
1519 * config/tilepro/softdivide.c: Removed.
1520 * config/tilepro/softmpy.S: Removed.
1521 * config/tilepro/t-crtstuff: Removed.
1522 * config/tilepro/t-tilepro: Removed.
1523
1524 2022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
1525
1526 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
1527 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
1528
1529 2022-06-01 H.J. Lu <hjl.tools@gmail.com>
1530
1531 PR libgcc/27576
1532 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
1533
1534 2022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
1535
1536 PR libgcc/105708
1537 * config/aarch64/lse-init.c: Increase constructor priority.
1538
1539 2022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1540
1541 PR target/104689
1542 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1543 Handle the !REG_UNSAVED case.
1544 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
1545
1546 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1547
1548 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
1549 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
1550 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
1551
1552 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1553
1554 * config.host: Add t-dfprules to AArch64 targets.
1555
1556 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1557
1558 * configure: Regenerate.
1559
1560 2022-05-13 Sebastian Pop <spop@amazon.com>
1561
1562 PR target/105162
1563 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
1564 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
1565
1566 2022-05-10 Martin Liska <mliska@suse.cz>
1567 Hans-Peter Helfert <peter-helfert@t-online.de>
1568
1569 PR gcov-profile/105535
1570 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
1571 n_functions.
1572
1573 2022-05-02 Martin Liska <mliska@suse.cz>
1574
1575 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
1576
1577 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1578
1579 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
1580 (gcov_profile_merge_stream): Likewise.
1581
1582 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1583
1584 * libgcov-util.c (consume_stream): New.
1585 (get_target_profiles_for_merge): Likewise.
1586 (gcov_profile_merge_stream): Likewise.
1587
1588 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1589
1590 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
1591
1592 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1593
1594 * libgcov-util.c (read_gcda_file): Do not open file.
1595 (ftw_read_file): Open file here.
1596
1597 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1598
1599 * libgcov-util.c (read_gcda_file): Prepend new info object to global
1600 list.
1601 (ftw_read_file): Remove list append here.
1602
1603 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1604
1605 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
1606 (ftw_read_file): Duplicate filename for read_gcda_file().
1607
1608 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1609
1610 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
1611 (__gcov_filename_to_gcfn): Declare and document.
1612 * libgcov-driver.c (dump_string): New.
1613 (__gcov_filename_to_gcfn): Likewise.
1614 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
1615
1616 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1617
1618 * libgcov.h (gcov_seek): Remove define and declaration.
1619
1620 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1621
1622 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
1623 parameter. Pass mode to gcov_open() calls.
1624 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
1625 gcov_exit_open_gcda_file() call.
1626 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
1627 calls.
1628 (__gcov_dump_one): Open file for reading and writing.
1629
1630 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1631
1632 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
1633 reading and writing.
1634 * libgcov-util.c (read_gcda_file): Open file for reading.
1635 * libgcov.h (gcov_open): Delete declaration.
1636
1637 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1638
1639 * libgcov-util.c (gcov_profile_merge): Return the list of merged
1640 profiles. Accept empty target and source profile lists.
1641
1642 2022-04-08 Sergei Trofimovich <siarheit@google.com>
1643
1644 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
1645
1646 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
1647 Lulu Cheng <chenglulu@loongson.cn>
1648
1649 * configure: Regenerate file.
1650
1651 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
1652 Lulu Cheng <chenglulu@loongson.cn>
1653
1654 * config/loongarch/crtfastmath.c: New file.
1655 * config/loongarch/linux-unwind.h: Like wise.
1656 * config/loongarch/sfp-machine.h: Like wise.
1657 * config/loongarch/t-crtstuff: Like wise.
1658 * config/loongarch/t-loongarch: Like wise.
1659 * config/loongarch/t-loongarch64: Like wise.
1660 * config/loongarch/t-softfp-tf: Like wise.
1661 * config.host: Add LoongArch tuples.
1662 * configure.ac: Add LoongArch support.
1663
1664 2022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
1665
1666 PR libgcc/86224
1667 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
1668 for __mulsi3.
1669 (__udivsi3_internal, __divsi3_internal): Similarly.
1670 (__umodsi3, __modsi3): Use the internal function names.
1671
1672 2022-03-09 Tobias Burnus <tobias@codesourcery.com>
1673
1674 PR target/102215
1675 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
1676 a line up to non-arg-dependent value first.
1677 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
1678 __atomic_compare_exchange_{1,2}.
1679
1680 2022-03-04 Iain Sandoe <iain@sandoe.co.uk>
1681
1682 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
1683 * config/t-darwin-ehs: Add dependency on unwind.h.
1684
1685 2022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
1686
1687 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
1688 with 0 instead of NULL.
1689
1690 2022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1691
1692 PR target/104656
1693 * configure.ac: --disable-gcov if targetting bpf-*.
1694 * configure: Regenerate.
1695
1696 2022-01-25 Florian Weimer <fweimer@redhat.com>
1697
1698 PR libgcc/104207
1699 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
1700
1701 2022-01-17 Martin Liska <mliska@suse.cz>
1702
1703 * libgcov-driver.c: Rename .c names to .cc.
1704
1705 2022-01-15 David <gccbugzilla@limegreensocks.com>
1706
1707 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
1708 Remove inlined version, Windows 95 is no longer relevant.
1709 * config/i386/gthr-win32.h
1710 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
1711
1712 2022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
1713
1714 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1715 DWARF_ALT_FRAME_RETURN_COLUMN macro.
1716
1717 2022-01-04 Florian Weimer <fweimer@redhat.com>
1718
1719 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1720 if available.
1721
1722 2022-01-02 John David Anglin <danglin@gcc.gnu.org>
1723
1724 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1725 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1726 return is not equal _ASM_EFAULT.
1727 (__kernel_cmpxchg2): Likewise.
1728
1729 2021-12-17 Iain Sandoe <iain@sandoe.co.uk>
1730
1731 * config.host: Add shim declaration header to powerpc*-darwin builds.
1732 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1733 file.
1734 * config/t-darwin-ehs: Add dependencies to the shared unwinder
1735 objects.
1736 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1737 the shared EH lib. Add all-multi to the dependencies for the
1738 libgcc_s.1.dylib redirections.
1739
1740 2021-12-13 Olivier Hainque <hainque@adacore.com>
1741
1742 * config.host (powerpc*-*-vxworks7*): Remove
1743 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1744
1745 2021-12-13 Olivier Hainque <hainque@adacore.com>
1746
1747 * config.host (*vxworks*): Remove special case for
1748 arm on the use of vxcrtstuff.
1749
1750 2021-12-13 Fred Konrad <konrad@adacore.com>
1751 Olivier Hainque <hainque@adacore.com>
1752
1753 * config/t-vxcrtstuffS: New Makefile fragment.
1754 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1755 functions for INITFINI_ARRAY support in shared libs and guard
1756 the definition of eh table registration functions on conditions
1757 indicating they are needed.
1758
1759 2021-12-13 Olivier Hainque <hainque@adacore.com>
1760
1761 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1762 ahead of the other files in tmake_files.
1763 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1764 overriding it.
1765
1766 2021-12-13 Olivier Hainque <hainque@adacore.com>
1767
1768 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1769 both VxWorks7 and earlier.
1770 * config/t-vxworks7: Remove.
1771 * config.host: Remove special case for vxworks7.
1772
1773 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1774
1775 * config/vxcrtstuff.c: Make constructor and destructor
1776 functions static when possible.
1777
1778 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1779
1780 * config/vxcrtstuff.c: Remove constructor/destructor
1781 declarations.
1782
1783 2021-12-10 Iain Sandoe <iain@sandoe.co.uk>
1784
1785 * config/t-darwin: Add libgcc_tm.h to the dependencies
1786 for darwin10-unwind-find-enc-func.
1787
1788 2021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1789
1790 * config/rs6000/t-vxworks: New file.
1791 * config.host (powerpc*-*-vxworks*): Use it instead of
1792 t-ppccomm.
1793
1794 2021-12-09 Fred Konrad <konrad@adacore.com>
1795
1796 * config.host (powerpc*-wrs-vxworks7*): Fix path to
1797 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1798
1799 2021-12-09 Olivier Hainque <hainque@adacore.com>
1800 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1801
1802 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1803 $(LIBGCC2_INCLUDES).
1804 * config/t-vxworks7: Likewise.
1805
1806 2021-12-08 Iain Sandoe <iain@sandoe.co.uk>
1807
1808 * config.host (*-*-darwin*): Add logic to build a shared
1809 unwinder library for Darwin8-10.
1810 * config/i386/t-darwin: Build legacy libgcc_s.1.
1811 * config/rs6000/t-darwin: Likewise.
1812 * config/t-darwin: Reorganise the EH fragments to place
1813 them for inclusion in a shared EH lib.
1814 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1815 the supporting pieces (all FAT libs).
1816 * config/t-darwin-noeh: Removed.
1817 * config/darwin-unwind.ver: New file.
1818 * config/rs6000/t-darwin-ehs: New file.
1819 * config/t-darwin-ehs: New file.
1820
1821 2021-12-06 Nelson Chu <nelson.chu@sifive.com>
1822
1823 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1824 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1825 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1826 HIDDEN_DEF.
1827
1828 2021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1829
1830 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1831 ssize_t and vfork after including auto-host.h.
1832
1833 2021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1834
1835 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1836 crtend.o to extra_parts.
1837
1838 2021-11-27 John David Anglin <danglin@gcc.gnu.org>
1839
1840 * config/pa/t-dimode (lib2difuncs): Fix typo.
1841
1842 2021-11-25 Florian Weimer <fweimer@redhat.com>
1843
1844 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1845 Remove func, ret.
1846 (find_fde_tail): New function. Split from
1847 _Unwind_IteratePhdrCallback. Move the result initialization
1848 from _Unwind_Find_FDE.
1849 (_Unwind_Find_FDE): Updated to call find_fde_tail.
1850
1851 2021-11-22 Florian Weimer <fweimer@redhat.com>
1852
1853 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1854 (struct unw_eh_callback_data): Make dbase member conditional.
1855 (unw_eh_callback_data_dbase): New function.
1856 (base_from_cb_data): Simplify for the non-dbase case.
1857 (_Unwind_IteratePhdrCallback): Adjust.
1858 (_Unwind_Find_FDE): Likewise.
1859
1860 2021-11-22 Florian Weimer <fweimer@redhat.com>
1861
1862 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1863 tbase member.
1864 (base_from_cb_data): Adjust.
1865 (_Unwind_IteratePhdrCallback): Likewise.
1866 (_Unwind_Find_FDE): Likewise.
1867
1868 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1869
1870 * config.host: Add weak emutls crt to the extra_parts.
1871 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1872 workaround.
1873 * config/libgcc-libsystem.ver: Add exclude list for the system-
1874 provided unwinder.
1875 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1876 * config/i386/libgcc-darwin.10.4.ver: Removed.
1877 * config/i386/libgcc-darwin.10.5.ver: Removed.
1878 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1879 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1880 * config/t-darwin-noeh: New file.
1881
1882 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1883
1884 * config/t-darwin: Build weak-defined emutls objects.
1885 * emutls.c (__emutls_get_address): Add optional attributes.
1886 (__emutls_register_common): Likewise.
1887 (EMUTLS_ATTR): New.
1888
1889 2021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1890
1891 PR libgcc/103044
1892 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1893 called with a null argument or at the end of the backtrace and return.
1894 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1895
1896 2021-11-10 Jakub Jelinek <jakub@redhat.com>
1897
1898 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1899 formatting fix.
1900
1901 2021-11-05 Iain Sandoe <iain@sandoe.co.uk>
1902
1903 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1904 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1905
1906 2021-11-05 John David Anglin <danglin@gcc.gnu.org>
1907
1908 PR libgomp/96661
1909 * config.host (hppa*64*-*-linux*): Revise tmake_file.
1910 (hppa*64*-*-hpux11*): Likewise.
1911 * config/pa/sfp-exceptions.c: New.
1912 * config/pa/sfp-machine.h: New.
1913 * config/pa/t-dimode: New.
1914 * config/pa/t-softfp-sfdftf: New.
1915
1916 2021-10-27 John David Anglin <danglin@gcc.gnu.org>
1917
1918 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1919 tmake_file.
1920 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1921 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1922 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1923 * config/pa/t-linux64 (LIB1ASMSRC): New define.
1924 (LIB1ASMFUNCS): Revise.
1925 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1926
1927 2021-10-22 Stafford Horne <shorne@gmail.com>
1928
1929 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1930 Change to 0.
1931
1932 2021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1933
1934 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1935 outside of get_regs() in order to use it in another function, this
1936 is done twice: for __powerpc64__ and for !__powerpc64__.
1937 (struct trace_arg): New struct.
1938 (struct layout): New struct.
1939 (ppc_backchain_fallback): New function.
1940 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1941 state and call MD_BACKCHAIN_FALLBACK.
1942
1943 2021-10-13 Martin Liska <mliska@suse.cz>
1944
1945 PR gcov-profile/90364
1946 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1947 checksums.
1948 (write_one_data): Write also checksum.
1949 * libgcov-util.c (read_gcda_file): Read also checksum field.
1950 * libgcov.h (struct gcov_info): Add new field.
1951
1952 2021-10-08 Ian Lance Taylor <iant@golang.org>
1953
1954 * config/i386/morestack.S: Use .init_array for constructor if
1955 available.
1956 * config/rs6000/morestack.S: Likewise.
1957 * config/s390/morestack.S: Likewise.
1958
1959 2021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1960
1961 PR target/101104
1962 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1963 Use more correct values for native IBM 128-bit.
1964
1965 2021-09-28 Iain Sandoe <iain@sandoe.co.uk>
1966
1967 * config/i386/libgcc-darwin.ver: Add Symbols for
1968 __cpu_model, __cpu_indicator_init.
1969
1970 2021-09-22 Iain Sandoe <iain@sandoe.co.uk>
1971
1972 * config/i386/sfp-machine.h: Guard Mach-O-specific code
1973 using __APPLE__.
1974
1975 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1976
1977 * config/t-slibgcc-darwin: Delete unused code.
1978
1979 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1980
1981 * config/i386/t-darwin: Add in a vers file for X86-specific
1982 symbols.
1983 * config/t-darwin: Add the generic symbol maps here...
1984 * config/t-slibgcc-darwin: ... removing from here.
1985 * config/i386/libgcc-darwin.ver: New file.
1986
1987 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1988
1989 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1990 and __mulhc3.
1991
1992 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1993
1994 * config.host: Use convenience library for Darwin10
1995 unwinder shim.
1996 * config/t-darwin: Build Darwin10 unwinder shim as a
1997 convenience library.
1998
1999 2021-09-13 Andrew Pinski <apinski@marvell.com>
2000
2001 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
2002 * config/m32r/libgcc-glibc.ver: Removed.
2003 * config/m32r/t-linux: Removed.
2004
2005 2021-09-08 liuhongt <hongtao.liu@intel.com>
2006
2007 * config/i386/t-softfp: Compile __{mul,div}hc3 into
2008 libgcc_s.so.1.
2009
2010 2021-09-08 Jakub Jelinek <jakub@redhat.com>
2011 Iain Sandoe <iain@sandoe.co.uk>
2012
2013 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
2014 and export *hf* and *hc* functions at GCC_12.0.0.
2015
2016 2021-09-06 liuhongt <hongtao.liu@intel.com>
2017
2018 * Makefile.in: Adjust to support specific CFLAGS for each
2019 libgcc source file.
2020 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
2021 related libgcc source files.
2022 * config/i386/t-softfp: Ditto.
2023 * config/i386/_divhc3.c: New file.
2024 * config/i386/_mulhc3.c: New file.
2025
2026 2021-09-03 Iain Sandoe <iain@sandoe.co.uk>
2027
2028 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
2029 alias_DFtype, alias_TFtype): New.
2030 (ALIAS_SELECTOR): New.
2031 (strong_alias): Use __typeof and a _Generic selector to
2032 provide the type to the synthesized function.
2033
2034 2021-09-02 liuhongt <hongtao.liu@intel.com>
2035
2036 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
2037 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
2038 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
2039 * config/i386/t-softfp: Add hf soft-fp.
2040 * config.host: Add i386/64/t-softfp.
2041 * config/i386/64/t-softfp: New file.
2042
2043 2021-09-02 liuhongt <hongtao.liu@intel.com>
2044
2045 * soft-fp/eqhf2.c: New file.
2046 * soft-fp/extendhfdf2.c: New file.
2047 * soft-fp/extendhfsf2.c: New file.
2048 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
2049 * soft-fp/truncdfhf2.c: New file
2050 * soft-fp/truncsfhf2.c: New file
2051
2052 2021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
2053
2054 * unwind-arm-common.inc (abort): Remove.
2055
2056 2021-08-31 Richard Sandiford <richard.sandiford@arm.com>
2057
2058 * config/aarch64/value-unwind.h: Add missing runtime exception
2059 paragraph.
2060 * config/frv/frv-abi.h: Likewise.
2061 * config/i386/value-unwind.h: Likewise.
2062 * config/pa/pa64-hpux-lib.h: Likewise.
2063
2064 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
2065
2066 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
2067 __gcc_qadd.
2068 (__gcc_qadd): Call ldouble_qadd_internal.
2069 (__gcc_qsub): Call ldouble_qadd_internal with second long double
2070 argument negated.
2071
2072 2021-08-26 Jonathan Yong <10walls@gmail.com>
2073
2074 * config/i386/cygming-crtend.c: Fix register_frame_ctor
2075 and register_frame_dtor warnings.
2076
2077 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
2078
2079 PR target/102035
2080 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
2081 Add vlldm erratum work-around.
2082
2083 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
2084
2085 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
2086
2087 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
2088
2089 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
2090 (gcov_type_unsigned): Likewise.
2091
2092 2021-08-14 Stafford Horne <shorne@gmail.com>
2093
2094 PR target/99783
2095 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
2096 * config/or1k/t-crtstuff: New file.
2097
2098 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
2099
2100 * libgcov-driver.c (#include <stdint.h>): Remove.
2101 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
2102
2103 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
2104
2105 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
2106 * gcov.h (gcov_info): Declare.
2107 (__gcov_info_to_gdca): Likewise.
2108 * libgcov.h (gcov_write_counter): Remove.
2109 (gcov_write_tag_length): Likewise.
2110 * libgcov-driver.c (#include <stdint.h>): New.
2111 (#include <string.h>): Remove.
2112 (NEED_L_GCOV): Conditionally define.
2113 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
2114 (are_all_counters_zero): New.
2115 (gcov_dump_handler): Likewise.
2116 (gcov_allocate_handler): Likewise.
2117 (dump_unsigned): Likewise.
2118 (dump_counter): Likewise.
2119 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
2120 Use dump_unsigned() and dump_counter().
2121 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
2122 dump_unsigned(), dump_counter(), and are_all_counters_zero().
2123 (__gcov_info_to_gcda): New.
2124
2125 2021-08-05 Jakub Jelinek <jakub@redhat.com>
2126
2127 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
2128 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
2129 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
2130 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
2131
2132 2021-08-04 Jakub Jelinek <jakub@redhat.com>
2133
2134 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
2135
2136 2021-07-15 Alan Modra <amodra@gmail.com>
2137
2138 * config/rs6000/morestack.S (R2_SAVE): Define.
2139 (__morestack): Save and restore r2. Set up r2 for called
2140 functions.
2141
2142 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
2143
2144 * soft-fp/extendhfxf2.c: New file.
2145 * soft-fp/truncxfhf2.c: Likewise.
2146
2147 2021-06-29 Julian Brown <julian@codesourcery.com>
2148
2149 * config/gcn/lib2-bswapti2.c: New file.
2150 * config/gcn/lib2-divmod-di.c: New file.
2151 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
2152 typedefs.
2153 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
2154 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
2155 lib2-bswapti2.c.
2156
2157 2021-06-29 Julian Brown <julian@codesourcery.com>
2158
2159 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
2160 return types to USItype.
2161 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
2162
2163 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
2164
2165 * configure: Regenerate.
2166 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
2167 typos among the name, CFLAGS and the test.
2168 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
2169 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
2170 Remove.
2171 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
2172 macro FLOAT128_HW_INSNS_ISA3_1.
2173 (FP128_3_1_CFLAGS_HW): Fix option typo.
2174 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
2175 FLOAT128_HW_INSNS_ISA3_1.
2176 (__floattikf_resolve): Likewise.
2177 (__floatuntikf_resolve): Likewise.
2178 (__fixkfti_resolve): Likewise.
2179 (__fixunskfti_resolve): Likewise.
2180 (__floattikf): Likewise.
2181 (__floatuntikf): Likewise.
2182 (__fixkfti): Likewise.
2183 (__fixunskfti): Likewise.
2184
2185 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2186
2187 PR target/99939
2188 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
2189 macro.
2190 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
2191 on passing -mcmse option.
2192
2193 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
2194
2195 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
2196 _ARCH_PPC64 .
2197
2198 2021-06-09 Carl Love <cel@us.ibm.com>
2199
2200 * config.host: Add if test and set for
2201 libgcc_cv_powerpc_3_1_float128_hw.
2202 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
2203 Change calls of __fixkfti to __fixkfti_sw.
2204 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
2205 Change calls of __fixunskfti to __fixunskfti_sw.
2206 * config/rs6000/float128-p10.c (__floattikf_hw,
2207 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
2208 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
2209 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
2210 __fixunskfti_resolve): Add resolve functions.
2211 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
2212 * config/rs6000/float128-sed (floattitf, __floatuntitf,
2213 __fixtfti, __fixunstfti): Add editor commands to change names.
2214 * config/rs6000/float128-sed-hw (__floattitf,
2215 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
2216 change names.
2217 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
2218 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
2219 * config/rs6000/quad-float128.h (__floattikf_sw,
2220 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
2221 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
2222 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
2223 * config/rs6000/t-float128 (floattikf, floatuntikf,
2224 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
2225 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
2226 file names to fp128_ppc_funcs.
2227 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
2228 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
2229 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
2230 * config/rs6000/t-float128-p10-hw: New file.
2231 * configure: Update script for isa 3.1 128-bit float support.
2232 * configure.ac: Add check for 128-bit float hardware support.
2233 * config/rs6000/fixkfti-sw.c: New file.
2234 * config/rs6000/fixunskfti-sw.c: New file.
2235 * config/rs6000/floattikf-sw.c: New file.
2236 * config/rs6000/floatuntikf-sw.c: New file.
2237
2238 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
2239
2240 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
2241
2242 2021-05-13 Martin Liska <mliska@suse.cz>
2243
2244 * libgcov-driver.c: Fix GNU coding style.
2245
2246 2021-05-10 Martin Liska <mliska@suse.cz>
2247
2248 * libgcov-driver.c (gcov_version): Use different name that does
2249 not clash with newly introduced macro.
2250
2251 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
2252
2253 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
2254 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
2255 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
2256
2257 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
2258
2259 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
2260 Define.
2261 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
2262 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
2263 Define.
2264 (__divkc3): Improve complex divide.
2265
2266 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
2267
2268 PR target/98952
2269 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
2270 trampoline size comparison in 32-bit by reversing test and
2271 combining load immediate with compare.
2272 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
2273 in 32-bit by reversing test and combining load immediate with
2274 compare.
2275
2276 2021-04-05 Florian Weimer <fweimer@redhat.com>
2277 Michael Meissner <meissner@linux.ibm.com>
2278
2279 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
2280 point functions for $(decimal_float) only.
2281
2282 2021-04-03 Jakub Jelinek <jakub@redhat.com>
2283
2284 PR target/97653
2285 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
2286 $(objext) instead of $(object). Use _floatunditf instead of
2287 _floatunsditf. Add tf <-> ti conversion objects.
2288 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
2289
2290 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
2291
2292 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
2293 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
2294 (fp128_decstr_objs): Delete.
2295 * dfp-bit.h: Call __sprintfieee128 to do conversions from
2296 _Float128 to a Decimal type. Call __strtoieee128 to do
2297 conversions from a Decimal type to _Float128.
2298 * config/rs6000/_sprintfkf.c: Delete file.
2299 * config/rs6000/_sprintfkf.h: Delete file.
2300 * config/rs6000/_strtokf.c: Delete file.
2301 * config/rs6000/_strtokf.h: Delete file.
2302
2303 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
2304
2305 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
2306 to __BYTE_ORDER__.
2307
2308 2021-03-06 Jakub Jelinek <jakub@redhat.com>
2309
2310 PR gcov-profile/99406
2311 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
2312 defined, define these macros if not defined already.
2313
2314 2021-03-04 Martin Liska <mliska@suse.cz>
2315
2316 PR gcov-profile/99105
2317 * libgcov-driver.c (write_top_counters): Rename to ...
2318 (write_topn_counters): ... this.
2319 (write_one_data): Pre-allocate buffer for number of items
2320 in the corresponding linked lists.
2321 * libgcov.h (malloc_mmap): New function.
2322 (allocate_gcov_kvp): Use it.
2323
2324 2021-03-04 Martin Liska <mliska@suse.cz>
2325
2326 PR gcov-profile/99385
2327 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
2328
2329 2021-03-03 Martin Liska <mliska@suse.cz>
2330
2331 PR gcov-profile/97461
2332 * config.in: Regenerate.
2333 * configure: Likewise.
2334 * configure.ac: Check sys/mman.h header file
2335 * libgcov-driver.c (struct gcov_kvp): Remove static
2336 pre-allocated pool and use a dynamic one.
2337 * libgcov.h (MMAP_CHUNK_SIZE): New.
2338 (gcov_counter_add): Use mmap to allocate pool for struct
2339 gcov_kvp.
2340
2341 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
2342
2343 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
2344 the function.
2345 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
2346
2347 2021-02-24 Jakub Jelinek <jakub@redhat.com>
2348
2349 PR libgcc/99236
2350 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
2351 negation of m in unsigned type.
2352
2353 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
2354 Hau Hsu <hsuhau617@gmail.com>
2355
2356 PR target/99157
2357 * config/arm/t-arm: Fix cmse support detection.
2358
2359 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
2360
2361 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
2362
2363 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
2364
2365 * config/rs6000/_dd_to_kf.c: New file.
2366 * config/rs6000/_kf_to_dd.c: New file.
2367 * config/rs6000/_kf_to_sd.c: New file.
2368 * config/rs6000/_kf_to_td.c: New file.
2369 * config/rs6000/_sd_to_kf.c: New file.
2370 * config/rs6000/_sprintfkf.c: New file.
2371 * config/rs6000/_sprintfkf.h: New file.
2372 * config/rs6000/_strtokf.h: New file.
2373 * config/rs6000/_strtokf.c: New file.
2374 * config/rs6000/_td_to_kf.c: New file.
2375 * config/rs6000/quad-float128.h: Add new declarations.
2376 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
2377 (fp128_decstr_funcs): New macro.
2378 (ibm128_dec_funcs): New macro.
2379 (fp128_ppc_funcs): Add the new conversions.
2380 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
2381 compiled with -mabi=ieeelongdouble.
2382 (fp128_decstr_objs): Force __float128 <-> string conversions to be
2383 compiled with -mabi=ibmlongdouble.
2384 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
2385 compiled with -mabi=ieeelongdouble.
2386 (FP128_CFLAGS_DECIMAL): New macro.
2387 (IBM128_CFLAGS_DECIMAL): New macro.
2388 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
2389 (BFP_TO_DFP): Add PowerPC _Float128 support.
2390 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
2391 IEEE 128-bit floating point.
2392 (DFP_TO_BFP): Add PowerPC _Float128 support.
2393 (BFP_TO_DFP): Add PowerPC _Float128 support.
2394 (BFP_SPRINTF): New macro.
2395
2396 2021-01-27 Jakub Jelinek <jakub@redhat.com>
2397
2398 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
2399 * config/i386/savms64f.h: Likewise.
2400 * config/i386/resms64.h: Likewise.
2401 * config/i386/resms64f.h: Likewise.
2402 * config/i386/resms64x.h: Likewise.
2403 * config/i386/resms64fx.h: Likewise.
2404
2405 2021-01-26 Martin Liska <mliska@suse.cz>
2406
2407 PR gcov-profile/98739
2408 * libgcov.h (gcov_topn_add_value): Do not train when
2409 we have a merged profile with a negative number of total
2410 value.
2411
2412 2021-01-25 Martin Liska <mliska@suse.cz>
2413
2414 PR gcov-profile/98739
2415 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
2416 ends with a dropped counter.
2417 * libgcov.h (gcov_topn_add_value): Add return value.
2418
2419 2021-01-13 Stafford Horne <shorne@gmail.com>
2420
2421 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
2422 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
2423 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
2424 FP_EX_ALL): New constant macros.
2425 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
2426 FP_HANDLE_EXCEPTIONS): New macros.
2427 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
2428
2429 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
2430
2431 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
2432 posix siginfo case to struct handler_args. Detect between legacy
2433 and siginfo from the second parameter, which is a small sigcode in
2434 the legacy case, and a pointer in the siginfo case.
2435
2436 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
2437
2438 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
2439 functions.
2440 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
2441 _bswapdi2.
2442
2443 2020-12-08 Ian Lance Taylor <iant@golang.org>
2444
2445 * generic-morestack-thread.c (free_segments): Block signals during
2446 thread exit.
2447
2448 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
2449
2450 PR libgcc/97543
2451 PR libgcc/97643
2452 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
2453 (IBM128_SHARED_OBJS): New make variable.
2454 (IBM128_OBJS): New make variable. Set all objects to use the
2455 explicit IBM format, and disable gnu attributes.
2456 (IBM128_CFLAGS): New make variable.
2457 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
2458 modules.
2459
2460 2020-12-03 Alexandre Oliva <oliva@adacore.com>
2461
2462 * config/t-vxworks (LIB2ADD): Drop.
2463 * config/t-vxworks7 (LIB2ADD): Likewise.
2464 * config/vxcache.c: Remove.
2465
2466 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
2467
2468 * libgcc2.c (bswapsi2): Make constants unsigned.
2469
2470 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
2471
2472 * libgcc2.c (absvSI2): Simplify/improve implementation by using
2473 builtin_add_overflow.
2474 (absvsi2, absvDI2): Likewise.
2475
2476 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
2477
2478 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
2479 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
2480
2481 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2482
2483 * config/msp430/lib2hw_mul.S (mult64_hw): New.
2484 (if MUL_32): Use mult64_hw for __muldi3.
2485 (if MUL_F5): Use mult64_hw for __muldi3.
2486 * config/msp430/lib2mul.c (__muldi3): New.
2487 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
2488
2489 2020-11-17 Alan Modra <amodra@gmail.com>
2490
2491 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
2492 (LIB2_SIDITI_CONV_FUNCS): Define.
2493 * config/rs6000/ppc64-fp.c: Delete file.
2494
2495 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2496
2497 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
2498 hwmult library functions.
2499
2500 2020-11-10 Jeff Law <law@redhat.com>
2501
2502 * libgcc2.c: Fix whitespace issues in most recent change.
2503
2504 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
2505
2506 * libgcc2.c (__addvSI3): Use overflow builtins.
2507 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
2508 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
2509 (__negvsi2, __negvDI2): Likewise.
2510 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
2511 generated code.
2512 * libgcc2.h (__ucmpdi2): Adjust prototype.
2513
2514 2020-11-03 Pat Bernardi <bernardi@adacore.com>
2515 Olivier Hainque <hainque@adacore.com>
2516
2517 * config.host (aarch64-vxworks7*, tmake_file): Add
2518 ${cpu_type}/t-lse and t-slibgcc-libgcc.
2519
2520 2020-11-03 Martin Storsjö <martin@martin.st>
2521
2522 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
2523 before calling the callback.
2524
2525 2020-10-30 Olivier Hainque <hainque@adacore.com>
2526 Douglas Rupp <rupp@adacore.com>
2527 Pat Bernardi <bernardi@adacore.com>
2528
2529 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
2530 to apply to VxWorks 7 as well.
2531
2532 2020-10-29 Olivier Hainque <hainque@adacore.com>
2533
2534 * config/gthr-vxworks-tls.c: Fix preprocessor logic
2535 controlling the definition of VX_ENTER_TLS_DTOR and
2536 VX_LEAVE_TLS_DTOR based on a version major check.
2537
2538 2020-10-29 Olivier Hainque <hainque@adacore.com>
2539
2540 * config/gthr-vxworks-thread.c: Fix name of macro used
2541 to condition the inclusion of an actual implementation.
2542
2543 2020-10-27 Martin Liska <mliska@suse.cz>
2544
2545 PR gcov-profile/97461
2546 * libgcov.h (gcov_counter_add): Use first static counters
2547 as it should help to have malloc wrappers set up.
2548
2549 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2550
2551 * config/gthr-vxworks-thread.c: #include gthr.h before
2552 testing the guard defined there.
2553 * config/gthr-vxworks-cond.c: Likewise.
2554
2555 2020-10-21 Douglas Rupp <rupp@adacore.com>
2556 Olivier Hainque <hainque@adacore.com>
2557
2558 * config.host (powerpc*-wrs-vxworks7*): New case.
2559 * configure.ac: Handle powerpc*-*-vxworks7* as
2560 powerpc*-*-linux* for ppc-fp_type.
2561 * configure: Regenerate.
2562
2563 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2564
2565 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
2566 section on VxWorks >= 6.
2567 * config/gthr-vxworks-thread.c: Condition the entire
2568 implementation on __GTHREAD_CXX0X.
2569
2570 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2571
2572 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
2573 section on VxWorks >= 6.
2574 * config/gthr-vxworks-cond.c: Condition the entire
2575 implementation on __GTHREAD_HAS_COND.
2576
2577 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2578
2579 * config/gthr-vxworks.c: #include <taskLib.h>.
2580
2581 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2582
2583 * config/gthr-vxworks.h: Rewrite remaining occurrence
2584 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
2585
2586 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2587 Olivier Hainque <hainque@adacore.com>
2588
2589 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
2590 except on VxWorks 6.
2591
2592 2020-10-16 Olivier Hainque <hainque@adacore.com>
2593
2594 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
2595
2596 2020-10-14 Alexandre Oliva <oliva@adacore.com>
2597
2598 * config/gthr-vxworks-thread.c: Include stdlib.h.
2599 (tls_delete_hook): Prototype it.
2600 (__gthread_cond_signal): Return early if no waiters. Consume
2601 signal in case the semaphore got full. Use semInfoGet instead
2602 of kernel-mode-only semInfo.
2603 (__gthread_cond_timedwait): Use semExchange. Always take the
2604 mutex again before returning.
2605 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
2606
2607 2020-10-14 Olivier Hainque <hainque@adacore.com>
2608
2609 * config/t-vxworks (LIBGCC2_INCLUDES): Append
2610 $(MULTISUBDIR) to the -I path for fixed headers, as we
2611 arrange to have different sets of such headers for different
2612 multilibs when they are activated.
2613 * config/t-vxworks7: Likewise.
2614
2615 2020-10-14 Olivier Hainque <hainque@adacore.com>
2616
2617 * config/t-vxworks: Add include-fixed to include search
2618 paths for libgcc on VxWorks.
2619 * config/t-vxworks7: Likewise.
2620
2621 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
2622
2623 PR target/97148
2624 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
2625 instead of <cetintrin.h>.
2626
2627 2020-10-01 Alan Modra <amodra@gmail.com>
2628
2629 * config/rs6000/morestack.S,
2630 * config/rs6000/tramp.S: Support __PCREL__ code.
2631
2632 2020-10-01 Alan Modra <amodra@gmail.com>
2633
2634 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
2635
2636 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
2637
2638 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
2639 variable.
2640
2641 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
2642
2643 * config/aarch64/libgcc-softfp.ver: New file.
2644 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
2645
2646 2020-09-27 Clement Chigot <clement.chigot@atos.net>
2647
2648 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
2649
2650 2020-09-22 Sergei Trofimovich <siarheit@google.com>
2651
2652 PR gcov-profile/96913
2653 * libgcov-driver.c (write_one_data): Avoid function pointer
2654 comparison in TOP streaming decision.
2655
2656 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
2657 Christophe Lyon <christophe.lyon@linaro.org>
2658
2659 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
2660 qualifier.
2661 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
2662 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
2663 missing prototypes.
2664
2665 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
2666
2667 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
2668 unused variable warning.
2669
2670 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
2671
2672 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
2673
2674 2020-09-09 Tom de Vries <tdevries@suse.de>
2675
2676 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
2677 Wbuiltin-declaration-mismatch.
2678
2679 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2680
2681 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
2682 * config/msp430/srai.S (__gnu_mspabi_srap): New.
2683 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
2684
2685 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
2686
2687 * config/nvptx/atomic.c: New.
2688 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
2689
2690 2020-08-03 Ian Lance Taylor <iant@golang.org>
2691
2692 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
2693
2694 2020-08-03 Jakub Jelinek <jakub@redhat.com>
2695
2696 PR target/96402
2697 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
2698 of x(tmp0), x(tmp1) in STXP arguments.
2699
2700 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
2701
2702 * config/riscv/save-restore.S [__riscv_xlen == 64]
2703 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
2704 (__riscv_save_2): Replace negative immediates used for the final
2705 stack pointer adjustment with positive ones, right-shifted by 4.
2706
2707 2020-07-31 Martin Liska <mliska@suse.cz>
2708
2709 * libgcov-driver.c: Add __gcov_kvp_pool
2710 and __gcov_kvp_pool_index variables.
2711 * libgcov.h (allocate_gcov_kvp): New.
2712 (gcov_topn_add_value): Use it.
2713
2714 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2715
2716 * config/aarch64/lse.S: Add PAC property note.
2717
2718 2020-07-23 Martin Liska <mliska@suse.cz>
2719
2720 PR gcov-profile/96035
2721 * libgcov-driver-system.c: Create gcov folders with 0777
2722 so that it respects a system umask.
2723
2724 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
2725
2726 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2727
2728 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2729
2730 PR target/94891
2731 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2732 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2733 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2734 (MD_DEMANGLE_RETURN_ADDR): This.
2735 (aarch64_post_extract_frame_addr): Rename to ...
2736 (aarch64_demangle_return_addr): This.
2737 (aarch64_post_frob_eh_handler_addr): Remove.
2738 * unwind-dw2.c (uw_update_context): Demangle return address.
2739 (uw_frob_return_addr): Remove.
2740
2741 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2742
2743 PR target/96001
2744 * config/aarch64/lse.S: Add BTI marking and related definitions,
2745 and add BTI c to function entries.
2746
2747 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2748
2749 * config/aarch64/lse.S: Add stack note.
2750
2751 2020-07-02 Martin Liska <mliska@suse.cz>
2752
2753 PR gcov-profile/95348
2754 * libgcov-driver.c (merge_one_data): Merge only profiles
2755 that are not of non-zero type.
2756 (write_one_data): Write counters only if there's one non-zero
2757 value.
2758 * libgcov-util.c (tag_function): Change signature from unsigned
2759 to int.
2760 (tag_blocks): Likewise.
2761 (tag_arcs): Likewise.
2762 (tag_counters): Likewise.
2763 (tag_summary): Likewise.
2764 (tag_lines): Read only if COUNTERS is non-zero.
2765 (read_gcda_file): Handle negative length for COUNTERS type.
2766
2767 2020-06-25 Martin Liska <mliska@suse.cz>
2768
2769 * libgcov-driver.c (merge_summary): Remove function as its name
2770 is misleading and doing something different.
2771 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2772 in gcov-tool.
2773 * libgcov-util.c (curr_object_summary): Remove.
2774 (read_gcda_file): Remove unused curr_object_summary.
2775 (gcov_merge): Merge summaries.
2776 * libgcov.h: Add summary argument for gcov_info struct.
2777
2778 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
2779
2780 PR target/95259
2781 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
2782 "common/config/i386/i386-cpuinfo.h" and
2783 "common/config/i386/cpuinfo.h".
2784 (__cpu_features2): Changed to array.
2785 (get_amd_cpu): Removed.
2786 (get_intel_cpu): Likewise.
2787 (get_available_features): Likewise.
2788 (__cpu_indicator_init): Call cpu_indicator_init.
2789 * config/i386/cpuinfo.h: Removed.
2790
2791 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
2792
2793 * Makefile.in: Remove uses of empty.mk. Use -include.
2794 * config/avr/t-avr: Use -include.
2795 * empty.mk: Delete.
2796
2797 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
2798
2799 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2800 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2801 and 64 bit with -maix64.
2802 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2803 Build and install AIX-style FAT libraries.
2804
2805 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
2806
2807 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2808 'i386/gnu-unwind.h'
2809 * config/i386/gnu-unwind.h: New file.
2810
2811 2020-06-17 Martin Liska <mliska@suse.cz>
2812
2813 * libgcov-util.c (read_gcda_finalize): Remove const operator.
2814 (merge_wrapper): Add both counts and use them properly.
2815 (topn_to_memory_representation): New function.
2816 (gcov_merge): Covert on disk representation to in memory
2817 representation.
2818 * libgcov.h: Remove const operator.
2819
2820 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
2821
2822 * configure: Regenerate.
2823 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2824 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2825
2826 2020-06-09 Martin Liska <mliska@suse.cz>
2827
2828 PR gcov-profile/95494
2829 * libgcov-driver.c (write_top_counters): Cast first to
2830 intptr_t as sizeof(*) != sizeof(gcov_type).
2831 * libgcov.h (gcov_counter_set_if_null): Remove.
2832 (gcov_topn_add_value): Cast first to intptr_t and update
2833 linked list directly.
2834
2835 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
2836
2837 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2838 with uw_install_context_1.
2839
2840 2020-06-04 Andreas Schwab <schwab@suse.de>
2841
2842 PR target/59230
2843 PR libfortran/59227
2844 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2845 soft-fp/divtf3.c.
2846 (LIB2ADD): Add config/ia64/divtf3.c.
2847 * config/ia64/divtf3.c: New file.
2848
2849 2020-06-03 Martin Liska <mliska@suse.cz>
2850
2851 PR gcov-profile/95480
2852 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2853 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2854 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2855 (gcov_counter_set_if_null): Likewise.
2856
2857 2020-06-02 Jim Wilson <jimw@sifive.com>
2858
2859 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2860 to bgtz.
2861
2862 2020-06-02 Martin Liska <mliska@suse.cz>
2863
2864 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2865 of xmalloc.
2866
2867 2020-06-02 Martin Liska <mliska@suse.cz>
2868
2869 * libgcov-driver.c (prune_topn_counter): Remove.
2870 (prune_counters): Likewise.
2871 (merge_one_data): Special case TOP N counters
2872 as they have variable length.
2873 (write_top_counters): New.
2874 (write_one_data): Special case TOP N.
2875 (dump_one_gcov): Do not prune TOP N counters.
2876 * libgcov-merge.c (merge_topn_values_set): Remove.
2877 (__gcov_merge_topn): Use gcov_topn_add_value.
2878 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2879 Likewise here.
2880 * libgcov.h (gcov_counter_add): New.
2881 (gcov_counter_set_if_null): Likewise.
2882 (gcov_topn_add_value): New.
2883
2884 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
2885
2886 * config/i386/sfp-exceptions.c (struct fenv):
2887 Add __attribute__ ((gcc_struct)).
2888
2889 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
2890
2891 PR bootstrap/95413
2892 * configure: Regenerated.
2893
2894 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
2895
2896 PR gcov-profile/95332
2897 * libgcov-util.c (read_gcda_file): Call gcov_magic.
2898 * libgcov.h (gcov_magic): Disable GCC poison.
2899
2900 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
2901
2902 PR target/95212
2903 * config/i386/cpuinfo.h (processor_features): Move
2904 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2905
2906 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
2907
2908 PR target/91695
2909 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2910 check.
2911
2912 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
2913
2914 PR target/95212
2915 PR target/95220
2916 * config/i386/cpuinfo.c (get_available_features): Fix
2917 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
2918 * config/i386/cpuinfo.h (processor_features): Add
2919 FEATURE_AVX512VP2INTERSECT.
2920
2921 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
2922
2923 PR bootstrap/95147
2924 * configure: Regenerated.
2925
2926 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
2927
2928 * configure: Regenerated.
2929
2930 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
2931
2932 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2933 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2934
2935 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
2936
2937 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2938 (__math_force_eval_div): New define.
2939 (__sfp_handle_exceptions): Use __math_force_eval_div to use
2940 generic division to generate INVALID, DIVZERO and INEXACT
2941 exceptions.
2942
2943 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2944
2945 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2946 instead of getauxval.
2947 (AT_HWCAP): Define.
2948 (HWCAP_ATOMICS): Define.
2949 Guard detection on __gnu_linux__.
2950
2951 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
2952
2953 * config.host: Delete changes meant for a private branch.
2954 * config/rs6000/t-float128: Likewise.
2955 * configure.ac: Likewise.
2956 * configure: Likewise.
2957
2958 2020-05-05 Martin Liska <mliska@suse.cz>
2959
2960 PR gcov-profile/93623
2961 * Makefile.in: Remove __gcov_flush.
2962 * gcov.h (__gcov_flush): Remove.
2963 * libgcov-interface.c (__gcov_flush): Remove.
2964 (init_mx): Use renamed mutex.
2965 (__gcov_lock): Likewise.
2966 (__gcov_unlock): Likewise.
2967 (__gcov_fork): Likewise.
2968 (__gcov_flush): Remove.
2969
2970 2020-05-05 Martin Liska <mliska@suse.cz>
2971
2972 PR gcov-profile/93623
2973 * libgcov-interface.c (__gcov_fork): Do not flush
2974 and reset only in child process.
2975 (__gcov_execl): Dump counters only and reset them
2976 only if exec* fails.
2977 (__gcov_execlp): Likewise.
2978 (__gcov_execle): Likewise.
2979 (__gcov_execv): Likewise.
2980 (__gcov_execvp): Likewise.
2981 (__gcov_execve): Likewise.
2982
2983 2020-05-05 Martin Liska <mliska@suse.cz>
2984
2985 PR gcov-profile/93623
2986 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2987 * libgcov-interface.c (ALIAS_void_fn): Remove.
2988 (__gcov_lock): New.
2989 (__gcov_unlock): New.
2990 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2991 (__gcov_reset): Likewise.
2992 (__gcov_dump): Likewise.
2993 * libgcov.h (__gcov_lock): New declaration.
2994 (__gcov_unlock): Likewise.
2995
2996 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
2997
2998 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
2999 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
3000 generic division to generate INVALID and DIVZERO exceptions.
3001
3002 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
3003
3004 * config/rs6000/crtresfpr.S: Use .machine ppc.
3005 * config/rs6000/crtresxfpr.S: Likewise.
3006 * config/rs6000/crtsavfpr.S: Likewise.
3007
3008 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
3009
3010 PR target/94514
3011 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
3012 Update context->flags accroding to the frame state.
3013
3014 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
3015
3016 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
3017 Remove unneeded assignments to volatile memory.
3018
3019 2020-04-15 Jakub Jelinek <jakub@redhat.com>
3020
3021 PR target/93053
3022 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
3023 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
3024 is not defined, use just .arch armv8-a.
3025 (B, M, N, OPN): Define.
3026 (COMMENT): New .macro.
3027 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
3028 defined. Otherwise, move the operands right after the glue? and
3029 comment out operands where the macros are used.
3030 * configure: Regenerated.
3031 * config.in: Regenerated.
3032
3033 2020-04-07 Ian Lance Taylor <iant@golang.org>
3034
3035 PR libgcc/94513
3036 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
3037 syscall instead.
3038
3039 2020-04-04 Ian Lance Taylor <iant@golang.org>
3040
3041 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
3042
3043 2020-04-03 Ian Lance Taylor <iant@golang.org>
3044
3045 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
3046 than mmap/munmap, to avoid hooks.
3047
3048 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
3049
3050 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
3051 (TPFRA_OFFSET): Macros removed.
3052 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
3053 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
3054 (PG3_SKIPPING_OFFSET): New macros.
3055 (__isPATrange): Use cinfc_fast for the check.
3056 (__isSkipResetAddr): New function.
3057 (s390_fallback_frame_state): Check for skip trace addresses. Use
3058 either ICST_CRET or ICST_SRET to calculate return address
3059 location.
3060 (__tpf_eh_return): Handle skip trace addresses.
3061
3062 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
3063
3064 PR target/94220
3065 * config/arm/lib1funcs.asm (COND): Use a single definition for
3066 unified syntax.
3067 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
3068 (aeabi_idivmod): Likewise.
3069 (divsi3_skip_div0_test): Likewise.
3070
3071 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
3072
3073 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
3074
3075 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
3076
3077 * config.host: Include the new makefile fragment.
3078 * config/s390/t-tpf: New file.
3079
3080 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
3081
3082 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
3083 syntax.
3084 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
3085 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
3086 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
3087 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
3088 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
3089 syntax.
3090 (divsi3, modsi3): Likewise.
3091 (clzdi2, ctzsi2): Likewise.
3092 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
3093 unified syntax.
3094 (UNWIND_WRAPPER): Likewise.
3095
3096 2020-03-02 Martin Liska <mliska@suse.cz>
3097
3098 * libgcov-interface.c: Remove duplicate
3099 declaration of __gcov_flush_mx.
3100
3101 2020-02-18 Martin Liska <mliska@suse.cz>
3102
3103 PR ipa/92924
3104 * libgcov-merge.c (merge_topn_values_set): Record
3105 when a TOP N counter becomes invalid. When merging
3106 remove a smallest value if the space is needed.
3107
3108 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
3109
3110 PR libstdc++/79193
3111 PR libstdc++/88999
3112
3113 * configure: Regenerated.
3114
3115 2020-02-10 Jeff Law <law@redhat.com>
3116
3117 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
3118 sections.
3119 * config/frv/frvend.c: Similarly.
3120
3121 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
3122
3123 PR libgcc/85334
3124 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3125 New.
3126
3127 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
3128
3129 PR target/93615
3130 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
3131 _Unwind_gnu_Find_got.
3132 * unwind-pe.h: Likewise.
3133
3134 2020-02-07 Jakub Jelinek <jakub@redhat.com>
3135
3136 PR target/93615
3137 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
3138 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
3139 trailing :s in asm. Formatting fixes.
3140 (_Unwind_decode_typeinfo_ptr): Adjust caller.
3141
3142 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
3143
3144 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
3145
3146 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
3147 * config/nios2-elf-lib.h: New.
3148 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
3149 code for finding GOT base for nios2.
3150
3151 2020-01-27 Martin Liska <mliska@suse.cz>
3152
3153 PR gcov-profile/93403
3154 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
3155 Call __gcov_indirect_call_profiler_body.
3156 (__gcov_indirect_call_profiler_body): New.
3157 (__gcov_indirect_call_profiler_v4_atomic): New.
3158 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
3159 New declaration.
3160
3161 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
3162
3163 * config/arc/crti.S: Add RF16 object attribute.
3164 * config/arc/crtn.S: Likewise.
3165 * config/arc/crttls.S: Likewise.
3166 * config/arc/lib1funcs.S: Likewise.
3167 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
3168 * config/arc/lib2funcs.c: New file.
3169 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
3170
3171 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
3172
3173 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
3174 * configure.ac: Handle `--with-toolexeclibdir='.
3175 * configure: Regenerate.
3176
3177 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
3178
3179 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
3180
3181 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
3182
3183 * config/mips/gnustack.h: New file.
3184 * config/mips/crti.S: Include gnustack.h.
3185 * config/mips/crtn.S: Likewise.
3186 * config/mips/mips16.S: Likewise.
3187 * config/mips/vr4120-div.S: Likewise.
3188
3189 2020-01-23 Martin Liska <mliska@suse.cz>
3190
3191 * libgcov-driver.c (prune_topn_counter): Remove
3192 check for -1 as we only prune run-time counters
3193 that do not generate an invalid state.
3194
3195 2020-01-22 Martin Liska <mliska@suse.cz>
3196
3197 PR tree-optimization/92924
3198 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
3199 try to find an existing value, then find an empty slot
3200 if not found.
3201
3202 2020-01-22 Martin Liska <mliska@suse.cz>
3203
3204 PR tree-optimization/92924
3205 * libgcov-driver.c (prune_topn_counter): New.
3206 (prune_counters): Likewise.
3207 (dump_one_gcov): Prune a run-time counter.
3208 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
3209 For a known value, add GCOV_TOPN_VALUES to value.
3210 Otherwise, decrement all counters by one.
3211
3212 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
3213
3214 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
3215
3216 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
3217
3218 PR libgcc/92988
3219 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
3220 DEFAULT_USE_CXA_ATEXIT is true.
3221
3222 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
3223 Thomas Preud'homme <thomas.preudhomme@arm.com>
3224
3225 * config/arm/t-arm: Check return value of gcc rather than lack of
3226 output.
3227
3228 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
3229
3230 * config/avr/lib1funcs.S (skip): Simplify.
3231
3232 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
3233
3234 * config/gcn/atomic.c: Remove include of stdint.h.
3235 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
3236 __UINTPTR_TYPE__.
3237
3238 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
3239
3240 * config/gcn/atomic.c: New.
3241 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
3242
3243 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
3244
3245 Implement 64-bit double functions.
3246
3247 PR target/92055
3248 * config.host (tmake_file) [target=avr]: Add t-libf7,
3249 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
3250 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
3251 depending on sizeof (double) or sizeof (long double).
3252 * config/avr/libf7: New folder.
3253
3254 2020-01-05 Olivier Hainque <hainque@adacore.com>
3255
3256 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
3257 by IN_LIBGCC2.
3258
3259 2020-01-01 Jakub Jelinek <jakub@redhat.com>
3260
3261 Update copyright years.
3262
3263 2019-12-30 Olivier Hainque <hainque@adacore.com>
3264
3265 * config/gthr-vxworks.h: Use _vxworks-versions.h.
3266 * config/gthr-vxworks-tls.c: Likewise.
3267
3268 2019-12-30 Olivier Hainque <hainque@adacore.com>
3269
3270 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
3271 standard zero-initializer syntax.
3272
3273 2019-12-30 Olivier Hainque <hainque@adacore.com>
3274
3275 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
3276 reference to the internal VX_GET_TLS_DATA interface.
3277
3278 2019-12-30 Olivier Hainque <hainque@adacore.com>
3279
3280 * config/vxcrtstuff.c: Fix incorrect spelling of
3281 USE_INITFINI_ARRAY in guard.
3282
3283 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3284
3285 * config.host: s/msp430*-*-elf/msp430-*-elf*.
3286 Override default "extra_parts" variable.
3287 * configure: Regenerate.
3288 * configure.ac: Disable TM clone registry by default for
3289 msp430-elfbare.
3290
3291 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3292
3293 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
3294 "extra_parts".
3295 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
3296
3297 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3298
3299 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
3300 true.
3301
3302 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3303
3304 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
3305 defined instead of its value.
3306
3307 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3308
3309 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
3310 if it will have contents.
3311
3312 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
3313
3314 PR target/92055
3315 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
3316
3317 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
3318
3319 PR libgcc/91737
3320 * config.host: Add t-gthr-noweak on *-*-musl*.
3321 * config/t-gthr-noweak: New file.
3322
3323 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
3324
3325 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
3326 volatile void *. Remove trap check.
3327 (__kernel_cmpxchg2): Likewise.
3328 (FETCH_AND_OP_2): Adjust operand types.
3329 (OP_AND_FETCH_2): Likewise.
3330 (FETCH_AND_OP_WORD): Likewise.
3331 (OP_AND_FETCH_WORD): Likewise.
3332 (COMPARE_AND_SWAP_2): Likewise.
3333 (__sync_val_compare_and_swap_4): Likewise.
3334 (__sync_bool_compare_and_swap_4): Likewise.
3335 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3336 (__sync_lock_test_and_set_4): Likewise.
3337 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
3338 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
3339 for release.
3340 (__sync_lock_release_8): Remove.
3341
3342 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
3343
3344 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
3345 of __sigset_t.
3346
3347 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
3348 Doug Rupp <rupp@adacore.com>
3349 Olivier Hainque <hainque@adacore.com>
3350
3351 * config.host: Collapse the arm-vxworks entries into
3352 a single arm-wrs-vxworks7* one.
3353 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
3354 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
3355 kernel modules, to be overriden by libstdc++ when we link with
3356 it. Rely on externally provided __exidx_start/end.
3357
3358 2019-11-14 Doug Rupp <rupp@adacore.com>
3359 Olivier Hainque <hainque@adacore.com>
3360
3361 * config.host: Handle aarch64*-wrs-vxworks7*.
3362
3363 2019-11-12 Olivier Hainque <hainque@adacore.com>
3364
3365 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
3366 sources except the cxx0x support to LIB2ADDEH. We don't support
3367 cxx0x on AE/653.
3368 * config/t-vxworksae: New file.
3369 * config.host: Handle *-*-vxworksae: Add the two aforementioned
3370 Makefile fragment files at their expected position in the tmake_file
3371 list, in accordance with what is done for other VxWorks variants.
3372
3373 2019-11-12 Corentin Gay <gay@adacore.com>
3374 Jerome Lambourg <lambourg@adacore.com>
3375 Olivier Hainque <hainque@adacore.com>
3376
3377 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
3378 sources to LIB2ADDEH.
3379 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
3380 * config/t-vxworks7: Likewise.
3381
3382 * config.host: Append a block at the end of the file to add the
3383 t-gthr files to the tmake_file list for VxWorks after everything
3384 else.
3385
3386 * config/vxlib.c: Rename as gthr-vxworks.c.
3387 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
3388
3389 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
3390 API and a basic error checking API, both internal. Simplify the
3391 __gthread_once_t type definition and initializers. Add sections
3392 for condition variables support and for the C++0x thread support,
3393 conditioned against Vx653 for the latter.
3394
3395 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
3396 implementation, leveraging the TAS internal API.
3397 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
3398 API, leveraging the general availability of TLS services in VxWorks7
3399 post SR6xxx.
3400 (__gthread_setspecific, __gthread_setspecific): Use it.
3401 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
3402 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
3403 support based on VxWorks primitives.
3404 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
3405 based on VxWorks primitives.
3406
3407 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
3408 Olivier Hainque <hainque@adacore.com>
3409
3410 * config/vxcrtstuff.c: New file.
3411 * config/t-vxcrtstuff: New Makefile fragment.
3412 * config.host: Append t-vxcrtstuff to the tmake_file list
3413 on all VxWorks ports using dwarf for table based EH.
3414
3415 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
3416
3417 Support 64-bit double and 64-bit long double configurations.
3418
3419 PR target/92055
3420 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
3421 long double is a 32-bit type.
3422 * config/avr/t-avrlibc: Copy double64 and long-double64
3423 multilib(s) from the vanilla one.
3424 * config/avr/t-copy-libgcc: New Makefile snip.
3425
3426 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3427
3428 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
3429 the target output object format is not ELF.
3430 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
3431
3432 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
3433
3434 PR libgcc/78804
3435 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
3436 * fp-bit.c (pack_d, unpack_d): Remove special cases for
3437 FLOAT_BIT_ORDER_MISMATCH.
3438 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
3439
3440 2019-11-01 Jim Wilson <jimw@sifive.com>
3441
3442 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
3443
3444 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3445
3446 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
3447 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
3448 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
3449 Define symbols for 32-bit and f5series hardware multiply
3450 register addresses.
3451 Replace hard-coded register addresses with symbols.
3452 Fix "_mspabi*" typo.
3453 Fix whitespace.
3454 * config/msp430/lib2mul.c: Add comment.
3455
3456 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
3457
3458 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
3459 unsigned int. Adjust callers.
3460 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
3461 unsigned int *. Load relocation offset before function pointer.
3462 Add barrier to ensure ordering.
3463
3464 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
3465
3466 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
3467 Load PIC register after branch target. Fix white space.
3468 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
3469 implementations. Load PIC register after branch target. Don't
3470 clobber function pointer when it points to function descriptor.
3471 Use nullification instead of branch in LINUX implementation.
3472
3473 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
3474
3475 * config/pa/fptr.c: Disable -Warray-bounds warning.
3476
3477 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
3478
3479 * config.in, configure: Re-rebuild with stock autoconf 2.69,
3480 not the ubuntu modified 2.69.
3481
3482 PR target/91833
3483 * config/aarch64/lse-init.c: Include auto-target.h. Disable
3484 initialization if !HAVE_SYS_AUXV_H.
3485 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
3486 * config.in, configure: Rebuild.
3487
3488 PR target/91834
3489 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
3490 overlap the inputs.
3491
3492 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
3493
3494 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
3495 CTR_EL0.IDC and CTR_EL0.DIC.
3496
3497 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
3498
3499 Revert:
3500 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3501 Mickaël Guêné <mickael.guene@st.com>
3502
3503 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3504 architecture.
3505
3506 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
3507
3508 * config/aarch64/lse-init.c: New file.
3509 * config/aarch64/lse.S: New file.
3510 * config/aarch64/t-lse: New file.
3511 * config.host: Add t-lse to all aarch64 tuples.
3512
3513 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3514 Mickaël Guêné <mickael.guene@st.com>
3515
3516 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3517 architecture.
3518
3519 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3520 Mickaël Guêné <mickael.guene@st.com>
3521
3522 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
3523 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
3524 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
3525 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
3526 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
3527 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
3528 (__gnu_personality_sigframe_fdpic): New.
3529 (get_eit_entry): Add FDPIC signal frame support.
3530
3531 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3532 Mickaël Guêné <mickael.guene@st.com>
3533
3534 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
3535 (__kernel_dmb): Likewise.
3536 (__fdpic_cmpxchg): New function.
3537 (__fdpic_dmb): New function.
3538 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
3539 (gnu_Unwind_Find_got): New function.
3540 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
3541 * unwind-arm-common.inc (UCB_PR_GOT): New.
3542 (funcdesc_t): New struct.
3543 (get_eit_entry): Add FDPIC support.
3544 (unwind_phase2): Likewise.
3545 (unwind_phase2_forced): Likewise.
3546 (__gnu_Unwind_RaiseException): Likewise.
3547 (__gnu_Unwind_Resume): Likewise.
3548 (__gnu_Unwind_Backtrace): Likewise.
3549 * unwind-pe.h (read_encoded_value_with_base): Likewise.
3550
3551 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3552 Mickaël Guêné <mickael.guene@st.com>
3553
3554 * libgcc/crtstuff.c: Add support for FDPIC.
3555
3556 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3557
3558 * config.host: Handle *-*-uclinuxfdpiceabi.
3559
3560 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
3561
3562 * config.host: Set cpu_type for bpf-*-* targets.
3563 * config/bpf/t-bpf: Likewise.
3564 * config/bpf/crtn.S: Likewise.
3565 * config/bpf/crti.S: New file.
3566
3567 2019-09-06 Jim Wilson <jimw@sifive.com>
3568
3569 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3570 (riscv*-*-freebsd*): Likewise.
3571
3572 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
3573
3574 * config.host: Remove references to spu.
3575 * config/spu/: Remove directory.
3576
3577 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3578
3579 PR target/91306
3580 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
3581 element type, instead of "sizeof" the element type.
3582 (__DTOR_LIST__): Likewise.
3583 (__TMC_LIST__): Likewise.
3584 (__do_global_dtors_aux_fini_array_entry): Likewise.
3585 (__frame_dummy_init_array_entry): Likewise.
3586 (__CTOR_END__): Likewise.
3587 (__DTOR_END__): Likweise.
3588 (__FRAME_END__): Likewise.
3589 (__TMC_END__): Likewise.
3590
3591 2019-08-20 Lili Cui <lilicui@intel.com>
3592
3593 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
3594 INTEL_COREI7_COOPERLAKE.
3595
3596 2019-07-31 Matt Thomas <matt@3am-software.com>
3597 Nick Hudson <nick@nthcliff.demon.co.uk>
3598 Matthew Green <mrg@eterna.com.au>
3599 Maya Rashish <coypu@sdf.org>
3600
3601 * config.host (hppa*-*-netbsd*): New case.
3602 * config/pa/t-netbsd: New file.
3603
3604 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
3605
3606 * config/arm/cmse.c (cmse_check_address_range): Add
3607 warn_unused_result attribute.
3608
3609 2019-07-22 Martin Liska <mliska@suse.cz>
3610
3611 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
3612 * config/pa/t-stublib: Likewise.
3613
3614 2019-07-22 Stafford Horne <shorne@gmail.com>
3615
3616 PR target/90362
3617 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
3618 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
3619 instructions are not available on every processor. Change a
3620 l.bnf to l.bf to fix logic issue.
3621
3622 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
3623
3624 * config.host: Remove reference to t-darwin8.
3625
3626 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
3627
3628 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
3629 list.
3630 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
3631 mmacosx-version-min for crts to run across all system versions.
3632 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
3633 * config/t-darwin: Revise mmacosx-version-min for crts to run across
3634 system versions >= 10.4.
3635
3636 2019-07-03 Martin Liska <mliska@suse.cz>
3637
3638 * Makefile.in: Use topn_values instead of one_value names.
3639 * libgcov-merge.c (__gcov_merge_single): Move to ...
3640 (__gcov_merge_topn): ... this.
3641 (merge_single_value_set): Move to ...
3642 (merge_topn_values_set): ... this.
3643 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
3644 ...
3645 (__gcov_topn_values_profiler_body): ... this.
3646 (__gcov_one_value_profiler_v2): Move to ...
3647 (__gcov_topn_values_profiler): ... this.
3648 (__gcov_one_value_profiler_v2_atomic): Move to ...
3649 (__gcov_topn_values_profiler_atomic): ... this.
3650 (__gcov_indirect_call_profiler_v4): Remove.
3651 * libgcov-util.c (__gcov_single_counter_op): Move to ...
3652 (__gcov_topn_counter_op): ... this.
3653 * libgcov.h (L_gcov_merge_single): Remove.
3654 (L_gcov_merge_topn): New.
3655 (__gcov_merge_single): Remove.
3656 (__gcov_merge_topn): New.
3657 (__gcov_one_value_profiler_v2): Move to ..
3658 (__gcov_topn_values_profiler): ... this.
3659 (__gcov_one_value_profiler_v2_atomic): Move to ...
3660 (__gcov_topn_values_profiler_atomic): ... this.
3661
3662 2019-07-03 Martin Liska <mliska@suse.cz>
3663
3664 * libgcov-merge.c (merge_single_value_set): Support N values.
3665 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
3666
3667 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
3668
3669 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
3670 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
3671 * configure.ac: Add --disable-tm-clone-registry option.
3672 * configure: Regenerate.
3673
3674 2019-06-27 Martin Liska <mliska@suse.cz>
3675
3676 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
3677 dead assignments.
3678 * libgcov-util.c: Likewise.
3679
3680 2019-06-27 Martin Liska <mliska@suse.cz>
3681
3682 * libgcov-util.c (gcov_profile_merge): Release allocated
3683 memory.
3684 (calculate_overlap): Likewise.
3685
3686 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
3687
3688 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
3689 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
3690 Build objects for the out of line save/restore register functions
3691 so that they can be used for any supported Darwin version.
3692 * config/t-darwin: Default the build Darwin version to Darwin8
3693 (MacOS 10.4).
3694
3695 2019-06-25 Martin Liska <mliska@suse.cz>
3696
3697 * libgcov-driver-system.c (replace_filename_variables): Do not
3698 call strlen with NULL argument.
3699
3700 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
3701
3702 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
3703 * config/gcn/unwind-gcn.c: New file.
3704
3705 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
3706 Andrew Stubbs <ams@codesourcery.com>
3707
3708 * configure: Regenerate.
3709 * config/gcn/gthr-gcn.h: New.
3710
3711 2019-06-18 Tom de Vries <tdevries@suse.de>
3712
3713 * config/nvptx/crt0.c (__main): Declare.
3714
3715 2019-06-17 Matthew Green <mrg@eterna.com.au>
3716 Maya Rashish <coypu@sdf.org>
3717
3718 * config.host (aarch64*-*-netbsd*): New case.
3719
3720 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3721
3722 * config/msp430/slli.S (__mspabi_sllll): New library function for
3723 performing a logical left shift of a 64-bit value.
3724 * config/msp430/srai.S (__mspabi_srall): New library function for
3725 performing a arithmetic right shift of a 64-bit value.
3726 * config/msp430/srll.S (__mspabi_srlll): New library function for
3727 performing a logical right shift of a 64-bit value.
3728
3729 2019-06-14 Matt Thomas <matt@3am-software.com>
3730 Matthew Green <mrg@eterna.com.au>
3731 Nick Hudson <skrll@netbsd.org>
3732 Maya Rashish <coypu@sdf.org>
3733
3734 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3735 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3736 functions to build.
3737 * config/arm/t-netbsd-eabi: New file.
3738
3739 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
3740
3741 * config.host: Add PRU target.
3742 * config/pru/asri.c: New file.
3743 * config/pru/eqd.c: New file.
3744 * config/pru/eqf.c: New file.
3745 * config/pru/ged.c: New file.
3746 * config/pru/gef.c: New file.
3747 * config/pru/gtd.c: New file.
3748 * config/pru/gtf.c: New file.
3749 * config/pru/led.c: New file.
3750 * config/pru/lef.c: New file.
3751 * config/pru/lib2bitcountHI.c: New file.
3752 * config/pru/lib2divHI.c: New file.
3753 * config/pru/lib2divQI.c: New file.
3754 * config/pru/lib2divSI.c: New file.
3755 * config/pru/libgcc-eabi.ver: New file.
3756 * config/pru/ltd.c: New file.
3757 * config/pru/ltf.c: New file.
3758 * config/pru/mpyll.S: New file.
3759 * config/pru/pru-abi.h: New file.
3760 * config/pru/pru-asm.h: New file.
3761 * config/pru/pru-divmod.h: New file.
3762 * config/pru/sfp-machine.h: New file.
3763 * config/pru/t-pru: New file.
3764
3765 2019-06-11 Jakub Jelinek <jakub@redhat.com>
3766
3767 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3768
3769 2019-06-10 Martin Liska <mliska@suse.cz>
3770
3771 PR bootstrap/90808
3772 * libgcov.h: Add ATTRIBUTE_UNUSED.
3773
3774 2019-06-10 Martin Liska <mliska@suse.cz>
3775
3776 * Makefile.in: Add __gcov_one_value_profiler_v2,
3777 __gcov_one_value_profiler_v2_atomic and
3778 __gcov_indirect_call_profiler_v4.
3779 * libgcov-merge.c (__gcov_merge_single): Change
3780 function signature.
3781 (merge_single_value_set): New.
3782 * libgcov-profiler.c (__gcov_one_value_profiler_body):
3783 Update functionality.
3784 (__gcov_one_value_profiler): Remove.
3785 (__gcov_one_value_profiler_v2): ... this.
3786 (__gcov_one_value_profiler_atomic): Rename to ...
3787 (__gcov_one_value_profiler_v2_atomic): this.
3788 (__gcov_indirect_call_profiler_v3): Rename to ...
3789 (__gcov_indirect_call_profiler_v4): ... this.
3790 * libgcov.h (__gcov_one_value_profiler): Remove.
3791 (__gcov_one_value_profiler_atomic): Remove.
3792 (__gcov_one_value_profiler_v2_atomic): New.
3793 (__gcov_indirect_call_profiler_v3): Remove.
3794 (__gcov_one_value_profiler_v2): New.
3795 (__gcov_indirect_call_profiler_v4): New.
3796 (gcov_get_counter_ignore_scaling): New function.
3797
3798 2019-06-07 Martin Liska <mliska@suse.cz>
3799
3800 * Makefile.in: Remove usage of
3801 _gcov_merge_icall_topn.
3802 * libgcov-driver.c (gcov_sort_n_vals): Remove.
3803 (gcov_sort_icall_topn_counter): Likewise.
3804 (gcov_sort_topn_counter_arrays): Likewise.
3805 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3806 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3807 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3808 Likewise.
3809 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3810 (struct indirect_call_tuple): Remove.
3811 (__gcov_indirect_call_topn_profiler): Remove.
3812 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3813 * libgcov.h (gcov_sort_n_vals): Remove.
3814 (L_gcov_merge_icall_topn): Likewise.
3815 (__gcov_merge_icall_topn): Likewise.
3816 (__gcov_indirect_call_topn_profiler): Likewise.
3817
3818 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
3819
3820 * config/rs6000/t-darwin: Ensure that the unwinder is built with
3821 altivec enabled.
3822
3823 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3824
3825 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3826 section.
3827 (__mspabi_slli): Likewise.
3828 (__mspabi_slll_n): Likewise.
3829 (__mspabi_slll): Likewise.
3830 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3831 (__mspabi_srai): Likewise.
3832 (__mspabi_sral_n): Likewise.
3833 (__mspabi_sral): Likewise.
3834 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3835 (__mspabi_srli): Likewise.
3836 (__mspabi_srll_n): Likewise.
3837 (__mspabi_srll): Likewise.
3838
3839 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
3840
3841 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3842 Add appropriate tm_file clause as well.
3843 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3844
3845 2019-06-05 James Clarke <jrtc27@jrtc27.com>
3846
3847 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3848 rather than .data/.bss so it can be accessed via gp-relative
3849 addressing.
3850
3851 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
3852
3853 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3854 (CR2_REGNO): Rename to R_CR2.
3855 (XER_REGNO): Rename to R_XER.
3856 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3857 (VRSAVE_REGNO): Rename to R_VRSAVE.
3858 (VSCR_REGNO): R_VSCR.
3859
3860 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
3861
3862 * config.host (rx-*-linux*): Add new case.
3863 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3864
3865 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
3866
3867 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3868 function.
3869 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3870 aarch64_post_frob_eh_handler_addr): Add check for b-key.
3871 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3872 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3873 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3874 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3875 string.
3876 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3877 string.
3878 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3879
3880 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3881
3882 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3883 Remove Solaris 9 and 10 support.
3884 (sparc_is_sighandler): Likewise.
3885
3886 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
3887
3888 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3889
3890 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
3891
3892 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3893 4_FP_W_TYPEs are used for IEEE quad precision.
3894 * soft-fp/extendhftf2.c: Likewise.
3895 * soft-fp/extendsftf2.c: Likewise.
3896 * soft-fp/extendxftf2.c: Likewise.
3897 * soft-fp/trunctfdf2.c: Likewise.
3898 * soft-fp/trunctfhf2.c: Likewise.
3899 * soft-fp/trunctfsf2.c: Likewise.
3900 * soft-fp/trunctfxf2.c: Likewise.
3901 * config/rs6000/ibm-ldouble.c: Likewise.
3902
3903 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3904
3905 * config.host: Simplify various *-*-solaris2.1[0-9]* to
3906 *-*-solaris2*.
3907 * configure.ac: Likewise.
3908 * configure: Regenerate.
3909
3910 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3911 Solaris 10 and Solaris 11 < snv_125 handling.
3912
3913 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
3914
3915 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3916
3917 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
3918
3919 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3920 * config/i386/cpuinfo.h (enum processor_features): Add
3921 FEATURE_AVX512BF16.
3922
3923 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3924 Bernd Edlinger <bernd.edlinger@hotmail.de>
3925 Jakub Jelinek <jakub@redhat.com>
3926
3927 PR target/89093
3928 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3929 * config/arm/unwind-arm.c: Likewise.
3930 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3931 attribute for ARM.
3932
3933 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
3934
3935 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3936 (RT_SIGRETURN): Update.
3937 (nds32_fallback_frame_state): Update.
3938
3939 2019-02-21 Martin Sebor <msebor@redhat.com>
3940
3941 * libgcc2.h (__clear_cache): Correct signature.
3942 * libgcc2.c (__clear_cache): Same.
3943
3944 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
3945
3946 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3947 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3948
3949 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
3950
3951 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3952 regno instead of index to DWARF_ZERO_REG.
3953
3954 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
3955
3956 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3957 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3958
3959 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
3960
3961 * config/alpha/t-linux: Add -mfp-rounding-mode=d
3962 to HOST_LIBGCC2_CFLAGS.
3963
3964 2019-01-23 Joseph Myers <joseph@codesourcery.com>
3965
3966 PR libgcc/88931
3967 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
3968
3969 2019-01-18 Martin Liska <mliska@suse.cz>
3970
3971 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3972 to ...
3973 (__gcov_indirect_call_profiler_v3): ... this.
3974 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3975 (__gcov_indirect_call_profiler_v3): Likewise.
3976 * Makefile.in: Bump function name.
3977
3978 2019-01-18 Martin Liska <mliska@suse.cz>
3979
3980 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3981 (gcov_version): Use in gcov_error.
3982 (merge_one_data): Likewise.
3983 (dump_one_gcov): Likewise.
3984
3985 2019-01-18 Martin Liska <mliska@suse.cz>
3986
3987 * libgcov-driver.c (gcov_version_string): New function.
3988 (gcov_version): Convert version integer into string.
3989
3990 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
3991 Kwok Cheung Yeung <kcy@codesourcery.com>
3992 Julian Brown <julian@codesourcery.com>
3993 Tom de Vries <tom@codesourcery.com>
3994
3995 * config.host: Recognize amdgcn*-*-amdhsa.
3996 * config/gcn/crt0.c: New file.
3997 * config/gcn/lib2-divmod-hi.c: New file.
3998 * config/gcn/lib2-divmod.c: New file.
3999 * config/gcn/lib2-gcn.h: New file.
4000 * config/gcn/sfp-machine.h: New file.
4001 * config/gcn/t-amdgcn: New file.
4002
4003 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
4004
4005 PR other/16615
4006
4007 * config/c6x/libunwind.S: Mechanically replace "can not" with
4008 "cannot".
4009 * config/tilepro/atomic.h: Likewise.
4010 * config/vxlib-tls.c: Likewise.
4011 * generic-morestack-thread.c: Likewise.
4012 * generic-morestack.c: Likewise.
4013 * mkmap-symver.awk: Likewise.
4014
4015 2019-01-01 Jakub Jelinek <jakub@redhat.com>
4016
4017 Update copyright years.
4018
4019 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4020
4021 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
4022 to ignore -Waddress-of-packed-member.
4023
4024 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
4025
4026 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
4027 parameter and corresponding code.
4028 (ARM_FUNC_START): Likewise in both definitions.
4029 Also update footer comment about condition that need to match with
4030 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
4031 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
4032 defined. Weakly define it in this case.
4033 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
4034 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
4035 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
4036 comment to keep condition in sync with the one in
4037 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
4038
4039 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
4040
4041 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
4042 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
4043
4044 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4045
4046 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
4047 and .cfi_endproc directives for VxWorks targets.
4048
4049 2018-12-05 Paul Koning <ni1d@arrl.net>
4050
4051 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
4052
4053 2018-11-27 Alan Modra <amodra@gmail.com>
4054
4055 * config/rs6000/morestack.S (__stack_split_initialize),
4056 (__morestack_get_guard, __morestack_set_guard),
4057 (__morestack_make_guard): Provide CFI covering these functions.
4058 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
4059
4060 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
4061
4062 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
4063 (sc_pt_regs_lr): Update for kernel.
4064 (sc_pt_regs_tls): Update for kernel.
4065
4066 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
4067
4068 * config/csky/linux-unwind.h: Fix coding style.
4069
4070 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
4071
4072 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
4073 (csky_fallback_frame_state): Modify the check of the
4074 instructions to adapt to changes in the kernel
4075
4076 2018-11-09 Stafford Horne <shorne@gmail.com>
4077 Richard Henderson <rth@twiddle.net>
4078
4079 * config.host: Add OpenRISC support.
4080 * config/or1k/*: New.
4081
4082 2018-11-08 Kito Cheng <kito@andestech.com>
4083
4084 * soft-fp/adddf3.c: Update from glibc.
4085 * soft-fp/addsf3.c: Likewise.
4086 * soft-fp/addtf3.c: Likewise.
4087 * soft-fp/divdf3.c: Likewise.
4088 * soft-fp/divsf3.c: Likewise.
4089 * soft-fp/divtf3.c: Likewise.
4090 * soft-fp/double.h: Likewise.
4091 * soft-fp/eqdf2.c: Likewise.
4092 * soft-fp/eqsf2.c: Likewise.
4093 * soft-fp/eqtf2.c: Likewise.
4094 * soft-fp/extenddftf2.c: Likewise.
4095 * soft-fp/extended.h: Likewise.
4096 * soft-fp/extendhftf2.c: Likewise.
4097 * soft-fp/extendsfdf2.c: Likewise.
4098 * soft-fp/extendsftf2.c: Likewise.
4099 * soft-fp/extendxftf2.c: Likewise.
4100 * soft-fp/fixdfdi.c: Likewise.
4101 * soft-fp/fixdfsi.c: Likewise.
4102 * soft-fp/fixdfti.c: Likewise.
4103 * soft-fp/fixhfti.c: Likewise.
4104 * soft-fp/fixsfdi.c: Likewise.
4105 * soft-fp/fixsfsi.c: Likewise.
4106 * soft-fp/fixsfti.c: Likewise.
4107 * soft-fp/fixtfdi.c: Likewise.
4108 * soft-fp/fixtfsi.c: Likewise.
4109 * soft-fp/fixtfti.c: Likewise.
4110 * soft-fp/fixunsdfdi.c: Likewise.
4111 * soft-fp/fixunsdfsi.c: Likewise.
4112 * soft-fp/fixunsdfti.c: Likewise.
4113 * soft-fp/fixunshfti.c: Likewise.
4114 * soft-fp/fixunssfdi.c: Likewise.
4115 * soft-fp/fixunssfsi.c: Likewise.
4116 * soft-fp/fixunssfti.c: Likewise.
4117 * soft-fp/fixunstfdi.c: Likewise.
4118 * soft-fp/fixunstfsi.c: Likewise.
4119 * soft-fp/fixunstfti.c: Likewise.
4120 * soft-fp/floatdidf.c: Likewise.
4121 * soft-fp/floatdisf.c: Likewise.
4122 * soft-fp/floatditf.c: Likewise.
4123 * soft-fp/floatsidf.c: Likewise.
4124 * soft-fp/floatsisf.c: Likewise.
4125 * soft-fp/floatsitf.c: Likewise.
4126 * soft-fp/floattidf.c: Likewise.
4127 * soft-fp/floattihf.c: Likewise.
4128 * soft-fp/floattisf.c: Likewise.
4129 * soft-fp/floattitf.c: Likewise.
4130 * soft-fp/floatundidf.c: Likewise.
4131 * soft-fp/floatundisf.c: Likewise.
4132 * soft-fp/floatunditf.c: Likewise.
4133 * soft-fp/floatunsidf.c: Likewise.
4134 * soft-fp/floatunsisf.c: Likewise.
4135 * soft-fp/floatunsitf.c: Likewise.
4136 * soft-fp/floatuntidf.c: Likewise.
4137 * soft-fp/floatuntihf.c: Likewise.
4138 * soft-fp/floatuntisf.c: Likewise.
4139 * soft-fp/floatuntitf.c: Likewise.
4140 * soft-fp/gedf2.c: Likewise.
4141 * soft-fp/gesf2.c: Likewise.
4142 * soft-fp/getf2.c: Likewise.
4143 * soft-fp/half.h: Likewise.
4144 * soft-fp/ledf2.c: Likewise.
4145 * soft-fp/lesf2.c: Likewise.
4146 * soft-fp/letf2.c: Likewise.
4147 * soft-fp/muldf3.c: Likewise.
4148 * soft-fp/mulsf3.c: Likewise.
4149 * soft-fp/multf3.c: Likewise.
4150 * soft-fp/negdf2.c: Likewise.
4151 * soft-fp/negsf2.c: Likewise.
4152 * soft-fp/negtf2.c: Likewise.
4153 * soft-fp/op-1.h: Likewise.
4154 * soft-fp/op-2.h: Likewise.
4155 * soft-fp/op-4.h: Likewise.
4156 * soft-fp/op-8.h: Likewise.
4157 * soft-fp/op-common.h: Likewise.
4158 * soft-fp/quad.h: Likewise.
4159 * soft-fp/single.h: Likewise.
4160 * soft-fp/soft-fp.h: Likewise.
4161 * soft-fp/subdf3.c: Likewise.
4162 * soft-fp/subsf3.c: Likewise.
4163 * soft-fp/subtf3.c: Likewise.
4164 * soft-fp/truncdfsf2.c: Likewise.
4165 * soft-fp/trunctfdf2.c: Likewise.
4166 * soft-fp/trunctfhf2.c: Likewise.
4167 * soft-fp/trunctfsf2.c: Likewise.
4168 * soft-fp/trunctfxf2.c: Likewise.
4169 * soft-fp/unorddf2.c: Likewise.
4170 * soft-fp/unordsf2.c: Likewise.
4171 * soft-fp/unordtf2.c: Likewise.
4172
4173 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
4174
4175 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
4176 * config/i386/cpuinfo.h (processor_types): Add znver2.
4177
4178 2018-11-01 Paul Koning <ni1d@arrl.net>
4179
4180 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
4181 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
4182
4183 2018-10-31 Joseph Myers <joseph@codesourcery.com>
4184
4185 PR bootstrap/82856
4186 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
4187 * configure: Regenerate.
4188
4189 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
4190
4191 * config/arc/lib1funcs.S (_muldi3): New function.
4192 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
4193
4194 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4195
4196 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
4197
4198 2018-10-25 Martin Liska <mliska@suse.cz>
4199
4200 PR other/87735
4201 * libgcov-profiler.c: Revert.
4202
4203 2018-10-24 Martin Liska <mliska@suse.cz>
4204
4205 * libgcov-profiler.c: Start from 1 in order to distinguish
4206 functions which were seen and these that were not.
4207
4208 2018-10-18 Paul Koning <ni1d@arrl.net>
4209
4210 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
4211 standard.
4212 * divmod.c: Update references to __udivmodsi4.
4213 * udivmod.c: Ditto.
4214 * udivhi3.c: New file.
4215 * udivmodhi4.c: New file.
4216 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
4217
4218 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4219
4220 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
4221
4222 2018-10-12 Olivier Hainque <hainque@adacore.com>
4223
4224 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
4225 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
4226
4227 2018-10-08 Paul Koning <ni1d@arrl.net>
4228
4229 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
4230
4231 2018-10-04 Martin Liska <mliska@suse.cz>
4232
4233 PR gcov-profile/84107
4234 * libgcov-profiler.c (__gcov_indirect_call):
4235 Change type to indirect_call_tuple.
4236 (struct indirect_call_tuple): New struct.
4237 (__gcov_indirect_call_topn_profiler): Change type.
4238 (__gcov_indirect_call_profiler_v2): Use the new
4239 variables.
4240 * libgcov.h (struct indirect_call_tuple): New struct
4241 definition.
4242
4243 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
4244
4245 * libgcc2.c (isnan): Use __builtin_isnan.
4246 (isfinite): Use __builtin_isfinite.
4247 (isinf): Use __builtin_isinf.
4248
4249 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
4250
4251 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
4252
4253 2018-09-21 Alexandre Oliva <oliva@adacore.com>
4254
4255 * config/vxcache.c: New file. Provide __clear_cache, based on
4256 the cacheTextUpdate VxWorks service.
4257 * config/t-vxworks (LIB2ADD): Add vxcache.c.
4258 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
4259 * config/t-vxwoks7: Likewise.
4260
4261 2018-09-21 Martin Liska <mliska@suse.cz>
4262
4263 * libgcov-driver.c (crc32_unsigned): Remove.
4264 (gcov_histogram_insert): Likewise.
4265 (gcov_compute_histogram): Likewise.
4266 (compute_summary): Simplify rapidly.
4267 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
4268 (merge_summary): Rapidly simplify.
4269 (dump_one_gcov): Ignore gcov_summary.
4270 (gcov_do_dump): Do not handle program summary, it's not
4271 used.
4272 * libgcov-util.c (tag_summary): Remove.
4273 (read_gcda_finalize): Fix coding style.
4274 (read_gcda_file): Initialize curr_object_summary.
4275 (compute_summary): Remove.
4276 (calculate_overlap): Remove settings of run_max.
4277
4278 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
4279
4280 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
4281 ucontext_t type instead.
4282 (nds32_fallback_frame_state): Remove struct _sigframe statement.
4283
4284 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
4285
4286 * config/nds32/t-nds32-glibc: New file.
4287
4288 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4289
4290 * configure.ac (solaris_ld_v2_maps): New test.
4291 * configure: Regenerate.
4292 * Makefile.in (solaris_ld_v2_maps): New variable.
4293 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
4294 if supported.
4295
4296 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
4297
4298 PR target/86951
4299 * config/arm/lib1funcs.asm (speculation_barrier): New function.
4300 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
4301 to build.
4302
4303 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
4304
4305 * config/unwind-dw2-fde-darwin.c
4306 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
4307 * config/darwin10-unwind-find-enc-func.c: … to here.
4308 * config/t-darwin: Build Darwin10 unwinder shim crt.
4309 * libgcc/config.host: Add the Darwin10 unwinder shim.
4310
4311 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4312
4313 * config.host: Add crtbegin.o and crtend.o for
4314 powerpc-wrs-vxworks target.
4315
4316 2018-08-17 Jojo <jijie_rong@c-sky.com>
4317 Huibin Wang <huibin_wang@c-sky.com>
4318 Sandra Loosemore <sandra@codesourcery.com>
4319 Chung-Lin Tang <cltang@codesourcery.com>
4320
4321 C-SKY port: libgcc
4322
4323 * config.host: Add C-SKY support.
4324 * config/csky/*: New.
4325
4326 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
4327
4328 * config/nds32/t-nds32-isr: Rearrange object dependency.
4329 * config/nds32/initfini.c: Add dwarf2 unwinding support.
4330 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
4331 and registers usage.
4332 * config/nds32/isr-library/excp_isr.S: Ditto.
4333 * config/nds32/isr-library/intr_isr.S: Ditto.
4334 * config/nds32/isr-library/reset.S: Ditto.
4335 * config/nds32/isr-library/restore_all.inc: Ditto.
4336 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
4337 * config/nds32/isr-library/restore_partial.inc: Ditto.
4338 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
4339 * config/nds32/isr-library/save_all.inc: Ditto.
4340 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
4341 * config/nds32/isr-library/save_partial.inc: Ditto.
4342 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
4343 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
4344
4345 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
4346
4347 * config/pa/linux-atomic.c: Update comment.
4348 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
4349 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
4350 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
4351 __ATOMIC_RELAXED for atomic loads.
4352 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
4353 unordered store to release lock.
4354 (__sync_lock_release_8): Likewise.
4355 (SYNC_LOCK_RELEASE_2): Remove define.
4356
4357 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
4358
4359 PR libgcc/86512
4360 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
4361 exponent goes negative. Update my email address.
4362 * config/arm/ieee754-sf.S: Likewise.
4363
4364 2018-08-01 Martin Liska <mliska@suse.cz>
4365
4366 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
4367 check that __gcov_indirect_call_callee is non-null.
4368
4369 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
4370
4371 * config/arm/ieee754-df.S: Fix comment for code working on
4372 architectures >= 4.
4373 * config/arm/ieee754-sf.S: Likewise.
4374
4375 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
4376
4377 PR libgcc/85334
4378 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4379 Removed.
4380
4381 2018-07-05 James Clarke <jrtc27@jrtc27.com>
4382
4383 * configure: Regenerated.
4384
4385 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4386
4387 * Makefile.in (install_leaf): Use enable_gcov instead of
4388 enable_libgcov.
4389
4390 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4391
4392 * configure.ac: Add --disable-gcov option.
4393 * configure: Regenerate.
4394 * Makefile.in: Honour @enable_gcov@.
4395
4396 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
4397
4398 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
4399 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
4400 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
4401 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
4402 __ARM_ARCH__.
4403 * config/arm/ieee754-sf.S: Likewise.
4404 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
4405
4406 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
4407
4408 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
4409 longer supported.
4410 * config/arm/ieee754-sf.S: Likewise.
4411
4412 2018-06-20 Than McIntosh <thanm@google.com>
4413
4414 PR libgcc/86213
4415 * generic-morestack.c (allocate_segment): Move calls to getenv and
4416 getpagesize to __morestack_load_mmap.
4417 (__morestack_load_mmap) Initialize static_pagesize and
4418 use_guard_page here so as to avoid clobbering SSE regs during a
4419 __morestack call.
4420
4421 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
4422
4423 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
4424 support modules with -mno-gnu-attribute.
4425 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
4426
4427 2018-06-07 Olivier Hainque <hainque@adacore.com>
4428
4429 * config/t-vxworks (LIBGCC_INCLUDES): Add
4430 -I$(MULTIBUILDTOP)../../gcc/include.
4431 * config/t-vxworks7: Likewise. Reformat a bit to match
4432 the t-vxworks layout.
4433
4434 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
4435
4436 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
4437
4438 2018-06-07 Martin Liska <mliska@suse.cz>
4439
4440 * libgcov-driver.c: Rename cs_all to all and assign it from
4441 all_prg.
4442
4443 2018-06-07 Martin Liska <mliska@suse.cz>
4444
4445 PR bootstrap/86057
4446 * libgcov-driver-system.c (replace_filename_variables): Use
4447 memcpy instead of mempcpy.
4448 (allocate_filename_struct): Do not allocate filename, allocate
4449 prefix and set it.
4450 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
4451 here and properly copy content into it.
4452 * libgcov-driver.c (struct gcov_filename): Remove max_length
4453 field, change prefix from size_t into char *.
4454 (compute_summary): Do not calculate longest filename.
4455 (gcov_do_dump): Release memory of gf.filename after each file.
4456 * libgcov-util.c (compute_summary): Use new signature of
4457 compute_summary.
4458 (calculate_overlap): Likewise.
4459
4460 2018-06-05 Martin Liska <mliska@suse.cz>
4461
4462 PR gcov-profile/47618
4463 * libgcov-driver-system.c (replace_filename_variables): New
4464 function.
4465 (gcov_exit_open_gcda_file): Use it.
4466
4467 2018-06-05 Martin Liska <mliska@suse.cz>
4468
4469 * libgcov-driver.c (gcov_compute_histogram): Remove usage
4470 of gcov_ctr_summary.
4471 (compute_summary): Do it just for a single summary.
4472 (merge_one_data): Likewise.
4473 (merge_summary): Simplify as we read just single summary.
4474 (dump_one_gcov): Pass proper argument.
4475 * libgcov-util.c (compute_one_gcov): Simplify as we have just
4476 single summary.
4477 (gcov_info_count_all_cold): Likewise.
4478 (calculate_overlap): Likewise.
4479
4480 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
4481 Monk Chiang <sh.chiang04@gmail.com>
4482
4483 * config.host (nds32*-linux*): New.
4484 * config/nds32/linux-atomic.c: New file.
4485 * config/nds32/linux-unwind.h: New file.
4486
4487 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
4488
4489 PR target/85591
4490 * config/i386/cpuinfo.c (get_amd_cpu): Return
4491 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
4492
4493 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
4494
4495 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
4496
4497 2018-05-29 Martin Liska <mliska@suse.cz>
4498
4499 PR gcov-profile/85759
4500 * libgcov-driver-system.c (gcov_error): Introduce usage of
4501 GCOV_EXIT_AT_ERROR env. variable.
4502 * libgcov-driver.c (merge_one_data): Print error that we
4503 overwrite a gcov file with a different timestamp.
4504
4505 2018-05-23 Kalamatee <kalamatee@gmail.com>
4506
4507 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
4508 path to Lf$finfty.
4509
4510 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
4511 Monk Chiang <sh.chiang04@gmail.com>
4512 Jim Wilson <jimw@sifive.com>
4513
4514 * config/riscv/save-restore.S: Add support for rv32e.
4515
4516 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4517
4518 * config/arm/libunwind.S: Update comment relating to armv5.
4519
4520 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
4521
4522 * config/arm/cmse.c (cmse_check_address_range): Replace
4523 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
4524
4525 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
4526
4527 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
4528 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
4529
4530 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
4531
4532 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
4533 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
4534
4535 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
4536
4537 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
4538
4539 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
4540 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
4541
4542 PR libgcc/84292
4543 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
4544 op_and_fetch to return the right result.
4545
4546 2018-04-27 Alan Modra <amodra@gmail.com>
4547
4548 PR libgcc/85532
4549 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
4550 -fno-asynchronous-unwind-tables.
4551
4552 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
4553
4554 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
4555 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
4556
4557 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
4558
4559 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
4560 when including "config/i386/shadow-stack-unwind.h".
4561
4562 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
4563
4564 * configure: Regenerated.
4565
4566 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
4567
4568 PR target/85456
4569 * config/rs6000/_powikf2.c: New file. Add support for the
4570 __builtin_powil function when long double is IEEE 128-bit floating
4571 point.
4572 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
4573 __powikf2 support.
4574 (__powikf2): Likewise.
4575 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
4576 (__powikf2_hw): Likewise.
4577 (__powikf2): Likewise.
4578 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
4579 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
4580 (_powikf2-hw.c): Likewise.
4581
4582 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
4583
4584 PR libgcc/85334
4585 * unwind-generic.h (_Unwind_Frames_Increment): New.
4586 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4587 Likewise.
4588 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
4589 count with _Unwind_Frames_Increment.
4590 (_Unwind_ForcedUnwind_Phase2): Likewise.
4591
4592 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
4593
4594 PR libgcc/85379
4595 * config/i386/morestack.S (__stack_split_initialize): Add
4596 _CET_ENDBR.
4597
4598 2018-04-19 Jakub Jelinek <jakub@redhat.com>
4599
4600 * configure: Regenerated.
4601
4602 2018-04-18 David Malcolm <dmalcolm@redhat.com>
4603
4604 PR jit/85384
4605 * configure: Regenerate.
4606
4607 2018-04-16 Jakub Jelinek <jakub@redhat.com>
4608
4609 PR target/84945
4610 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
4611 -Wdangling-else warnings. Mask shift counts to avoid
4612 -Wshift-count-negative and -Wshift-count-overflow false positives.
4613
4614 2018-04-06 Ruslan Bukin <br@bsdpad.com>
4615
4616 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
4617
4618 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
4619
4620 PR target/85100
4621 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
4622 (XSTATE_FP): Likewise.
4623 (XSTATE_SSE): Likewise.
4624 (XSTATE_YMM): Likewise.
4625 (XSTATE_OPMASK): Likewise.
4626 (XSTATE_ZMM): Likewise.
4627 (XSTATE_HI_ZMM): Likewise.
4628 (XCR_AVX_ENABLED_MASK): Likewise.
4629 (XCR_AVX512F_ENABLED_MASK): Likewise.
4630 (get_available_features): Enable AVX and AVX512 features only
4631 if their states are supported by OSXSAVE.
4632
4633 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4634
4635 PR target/85025
4636 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4637 Fix a typo, tmp => 255.
4638
4639 2018-03-20 Jakub Jelinek <jakub@redhat.com>
4640
4641 PR target/84945
4642 * config/i386/cpuinfo.h (__cpu_features2): Declare.
4643 * config/i386/cpuinfo.c (__cpu_features2): New variable for
4644 ifndef SHARED only.
4645 (set_feature): Define.
4646 (get_available_features): Use set_feature macro. Set __cpu_features2
4647 to the second word of features ifndef SHARED.
4648
4649 2018-03-15 Julia Koval <julia.koval@intel.com>
4650
4651 * config/i386/cpuinfo.c (get_available_features): Add
4652 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
4653 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
4654 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
4655 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
4656 FEATURE_AVX512BITALG.
4657
4658 2018-03-14 Julia Koval <julia.koval@intel.com>
4659
4660 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
4661 icelake client and icelake server.
4662
4663 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
4664
4665 * config/pa/fptr.c (_dl_read_access_allowed): New.
4666 (__canonicalize_funcptr_for_compare): Use it.
4667
4668 2018-02-28 Jakub Jelinek <jakub@redhat.com>
4669
4670 PR debug/83917
4671 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
4672 $asm_hidden_op if visibility ("hidden") attribute works.
4673 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
4674 * config/i386/i386-asm.h: Don't include auto-host.h.
4675 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
4676 PACKAGE_URL): Don't undefine.
4677 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
4678 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
4679 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
4680 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
4681 definition instead of hardcoded .hidden.
4682 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
4683 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
4684 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
4685 (USE_GAS_CFI_DIRECTIVES): Don't define.
4686 * configure: Regenerated.
4687 * config.in: Likewise.
4688
4689 2018-02-26 Jakub Jelinek <jakub@redhat.com>
4690
4691 PR debug/83917
4692 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
4693 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
4694 inclusion of auto-target.h and auto-host.h.
4695 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
4696 __GCC_HAVE_DWARF2_CFI_ASM.
4697 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4698 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
4699 cfi_pop): Define.
4700 * config/i386/cygwin.S: Don't include auto-host.h here, just
4701 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
4702 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4703 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
4704 * config/i386/resms64fx.h: Add cfi_* directives.
4705 * config/i386/resms64x.h: Likewise.
4706
4707 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
4708
4709 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4710 .literal_position directive.
4711 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
4712
4713 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4714
4715 PR target/84148
4716 * configure: Regenerate.
4717
4718 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4719
4720 PR target/84239
4721 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4722 Include cetintrin.h not x86intrin.h.
4723
4724 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4725
4726 PR target/84239
4727 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4728 Use new _get_ssp and _inc_ssp intrinsics.
4729
4730 2018-02-02 Julia Koval <julia.koval@intel.com>
4731
4732 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4733
4734 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4735
4736 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4737 option.
4738 (__divsi3): Use RF16 safe registers.
4739 (__modsi3): Likewise.
4740
4741 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
4742
4743 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4744 (__divsf3): Make NaN return value quiet.
4745 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4746 (__divdf3): Make NaN return value quiet.
4747
4748 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4749
4750 * config/rl78/anddi3.S: New assembly file.
4751 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4752
4753 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4754
4755 * config/rl78/umindi3.S: New assembly file.
4756 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4757
4758 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4759
4760 * config/rl78/smindi3.S: New assembly file.
4761 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4762
4763 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4764
4765 * config/rl78/smaxdi3.S: New assembly file.
4766 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4767
4768 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4769
4770 * config/rl78/umaxdi3.S: New assembly file.
4771 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
4772
4773 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
4774
4775 PR lto/83452
4776 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4777 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
4778
4779 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
4780
4781 * config/aarch64/value-unwind.h (aarch64_vg): New function.
4782 (DWARF_LAZY_REGISTER_VALUE): Define.
4783 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4784 to provide a fallback register value.
4785
4786 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
4787
4788 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4789 __ibm128, instead of trying to use long double.
4790 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4791 accomidate -mabi=ieeelongdouble multilibs.
4792 (CVT_IBM128_TO_FLOAT128): Likewise.
4793 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4794 the appropriate IBM extended double type.
4795 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4796 (__gcc_qsub): Likewise.
4797 (__gcc_qmul): Likewise.
4798 (__gcc_qdiv): Likewise.
4799 (pack_ldouble): Likewise.
4800 (__gcc_qneg): Likewise.
4801 (__gcc_qeq): Likewise.
4802 (__gcc_qne): Likewise.
4803 (__gcc_qge): Likewise.
4804 (__gcc_qle): Likewise.
4805 (__gcc_stoq): Likewise.
4806 (__gcc_dtoq): Likewise.
4807 (__gcc_itoq): Likewise.
4808 (__gcc_utoq): Likewise.
4809 (__gcc_qunord): Likewise.
4810 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4811 quad-float128.h for the definitions.
4812 (COPYSIGN): Use the f128 version instead of the q version.
4813 (INFINITY): Likewise.
4814 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4815 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4816 quad-float128.h for the definitions.
4817 (COPYSIGN): Use the f128 version instead of the q version.
4818 (INFINITY): Likewise.
4819 (FABS): Likewise.
4820 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4821 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4822 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4823
4824 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
4825
4826 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4827 configuration.
4828
4829 2018-01-03 Jakub Jelinek <jakub@redhat.com>
4830
4831 Update copyright years.
4832
4833 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
4834
4835 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4836 * config/riscv/multi3.c: New file.
4837 * config/riscv/multi3.S: Remove.
4838
4839 2017-12-08 Jim Wilson <jimw@sifive.com>
4840
4841 * config/riscv/div.S: Use FUNC_* macros.
4842 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4843 * config/riscv/save-restore.S: Likewise.
4844 * config/riscv/riscv-asm.h: New.
4845
4846 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
4847
4848 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4849 * config/rs6000/_divkc3.c (__divkc3): Likewise.
4850
4851 PR libgcc/83112
4852 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4853 correct type for all ifunc resolvers to silence -Wattribute-alias
4854 warnings. Eliminate the forward declaration of the resolver
4855 functions which is no longer needed.
4856 (__subkf3_resolve): Likewise.
4857 (__mulkf3_resolve): Likewise.
4858 (__divkf3_resolve): Likewise.
4859 (__negkf2_resolve): Likewise.
4860 (__eqkf2_resolve): Likewise.
4861 (__nekf2_resolve): Likewise.
4862 (__gekf2_resolve): Likewise.
4863 (__gtkf2_resolve): Likewise.
4864 (__lekf2_resolve): Likewise.
4865 (__ltkf2_resolve): Likewise.
4866 (__unordkf2_resolve): Likewise.
4867 (__extendsfkf2_resolve): Likewise.
4868 (__extenddfkf2_resolve): Likewise.
4869 (__trunckfsf2_resolve): Likewise.
4870 (__trunckfdf2_resolve): Likewise.
4871 (__fixkfsi_resolve): Likewise.
4872 (__fixkfdi_resolve): Likewise.
4873 (__fixunskfsi_resolve): Likewise.
4874 (__fixunskfdi_resolve): Likewise.
4875 (__floatsikf_resolve): Likewise.
4876 (__floatdikf_resolve): Likewise.
4877 (__floatunsikf_resolve): Likewise.
4878 (__floatundikf_resolve): Likewise.
4879 (__extendkftf2_resolve): Likewise.
4880 (__trunctfkf2_resolve): Likewise.
4881
4882 PR libgcc/83103
4883 * config/rs6000/quad-float128.h (TF): Don't define if long double
4884 is IEEE 128-bit floating point.
4885 (TCtype): Define as either TCmode or KCmode, depending on whether
4886 long double is IEEE 128-bit floating point.
4887 (__mulkc3_sw): Add declarations for software/hardware versions of
4888 complex multiply/divide.
4889 (__divkc3_sw): Likewise.
4890 (__mulkc3_hw): Likewise.
4891 (__divkc3_hw): Likewise.
4892 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4893 handlers to switch between using software emulation and hardware
4894 float128 instructions, build the complex multiply/divide functions
4895 for both software and hardware support.
4896 * config/rs6000/_divkc3.c (_divkc3): Likewise.
4897 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4898 (__divkc3_resolve): Likewise.
4899 (__mulkc3): Likewise.
4900 (__divkc3): Likewise.
4901 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4902 (fp128_hw_src): Likewise.
4903 (fp128_hw_static_obj): Likewise.
4904 (fp128_hw_shared_obj): Likewise.
4905 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4906 _mulkc3.c and _divkc3.c, changing the function name.
4907 (_divkc3-hw.c): Likewise.
4908 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4909 and _divkc3-hw.c.
4910
4911 2017-11-26 Julia Koval <julia.koval@intel.com>
4912
4913 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4914 * config/i386/cpuinfo.h (processor_subtypes): Add
4915 INTEL_COREI7_CANNONLAKE.
4916
4917 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4918
4919 PR bootstrap/83015
4920 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4921 parameter.
4922 * config/xtensa/unwind-dw2-xtensa.c: Likewise
4923 * config/ia64/unwind-ia64.c: Add frames parameter.
4924 * unwind-sjlj.c: Likewise.
4925
4926 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4927
4928 * config/i386/linux-unwind.h: Include
4929 config/i386/shadow-stack-unwind.h.
4930 * config/i386/shadow-stack-unwind.h: New file.
4931 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4932 pass it to _Unwind_Frames_Extra.
4933 * unwind-generic.h (_Unwind_Frames_Extra): New.
4934 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4935 parameter. Add local variable frames to count number of frames.
4936 (_Unwind_ForcedUnwind_Phase2): Likewise.
4937 (_Unwind_RaiseException): Add local variable frames to count
4938 number of frames, pass it to _Unwind_RaiseException_Phase2 and
4939 uw_install_context.
4940 (_Unwind_ForcedUnwind): Likewise.
4941 (_Unwind_Resume): Likewise.
4942 (_Unwind_Resume_or_Rethrow): Likewise.
4943
4944 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4945
4946 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4947 (CET_FLAGS): New.
4948 * config/i386/morestack.S: Include <cet.h>.
4949 (__morestack_large_model): Add _CET_ENDBR at function entrance.
4950 * config/i386/resms64.h: Include <cet.h>.
4951 * config/i386/resms64f.h: Likewise.
4952 * config/i386/resms64fx.h: Likewise.
4953 * config/i386/resms64x.h: Likewise.
4954 * config/i386/savms64.h: Likewise.
4955 * config/i386/savms64f.h: Likewise.
4956 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4957 (CRTSTUFF_T_CFLAGS): Likewise.
4958 * configure.ac: Include ../config/cet.m4.
4959 Set and substitute CET_FLAGS.
4960 * configure: Regenerated.
4961
4962 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4963
4964 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4965 renaming.
4966 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4967 * configure.ac (libgcc_cv_solaris_crts): Likewise.
4968 * configure: Regenerate.
4969
4970 2017-11-07 Tom de Vries <tom@codesourcery.com>
4971
4972 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4973 after "do {} while (0)".
4974
4975 2017-11-07 Tom de Vries <tom@codesourcery.com>
4976
4977 PR other/82784
4978 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4979 semicolon after "do {} while (0)".
4980 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4981 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4982 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4983 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4984
4985 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
4986
4987 PR libgcc/82635
4988 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4989 sysctl to determine whether we're in a trampoline.
4990 Keep the pattern matching method for systems without
4991 KERN_PROC_SIGTRAMP sysctl.
4992
4993 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
4994 Vineet Gupta <vgupta@synopsys.com>
4995
4996 * config.host (arc*-*-linux*): Set md_unwind_header variable.
4997 * config/arc/linux-unwind-reg.def: New file.
4998 * config/arc/linux-unwind-reg.h: Likewise.
4999
5000 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
5001
5002 * config/rl78/subdi3.S: New assembly file.
5003 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
5004
5005 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
5006
5007 * config/rl78/adddi3.S: New assembly file.
5008 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
5009
5010 2017-10-13 Jakub Jelinek <jakub@redhat.com>
5011
5012 PR target/82274
5013 * libgcc2.c (__mulvDI3): If both operands have
5014 the same highpart of -1 and the topmost bit of lowpart is 0,
5015 multiplication overflows even if both lowparts are 0.
5016
5017 2017-09-28 James Bowman <james.bowman@ftdichip.com>
5018
5019 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
5020
5021 2017-09-26 Joseph Myers <joseph@codesourcery.com>
5022
5023 * config/microblaze/crti.S, config/microblaze/crtn.S,
5024 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
5025 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
5026 config/microblaze/mulsi3.S,
5027 config/microblaze/stack_overflow_exit.S,
5028 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
5029 config/pa/milli64.S: Add .note.GNU-stack section.
5030
5031 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
5032
5033 * configure.ac: Add Check for HAVE_AS_AVX.
5034 * config.in: Regenerate.
5035 * configure: Likewise.
5036 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
5037 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
5038 Correct out-of-date comments.
5039
5040 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
5041
5042 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
5043 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
5044
5045 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
5046
5047 * config/i386/i386-asm.h (PASTE2): New macro.
5048 (ASMNAME): Modify to use PASTE2.
5049 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
5050 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
5051 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
5052 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
5053 * config/i386/resms64f.S: Likewise.
5054 * config/i386/resms64fx.S: Likewise.
5055 * config/i386/resms64x.S: Likewise.
5056 * config/i386/savms64.S: Likewise.
5057 * config/i386/savms64f.S: Likewise.
5058 * config/i386/avx_resms64.S: New file that only defines a macro and
5059 includes it's corresponding header file.
5060 * config/i386/avx_resms64f.S: Likewise.
5061 * config/i386/avx_resms64fx.S: Likewise.
5062 * config/i386/avx_resms64x.S: Likewise.
5063 * config/i386/avx_savms64.S: Likewise.
5064 * config/i386/avx_savms64f.S: Likewise.
5065 * config/i386/sse_resms64.S: Likewise.
5066 * config/i386/sse_resms64f.S: Likewise.
5067 * config/i386/sse_resms64fx.S: Likewise.
5068 * config/i386/sse_resms64x.S: Likewise.
5069 * config/i386/sse_savms64.S: Likewise.
5070 * config/i386/sse_savms64f.S: Likewise.
5071 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
5072
5073 2017-09-01 Olivier Hainque <hainque@adacore.com>
5074 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
5075
5076 2017-08-31 Olivier Hainque <hainque@adacore.com>
5077
5078 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
5079 match as powerpc-wrs-vxworks*.
5080
5081 2017-08-07 Jonathan Yong <10walls@gmail.com>
5082
5083 * config.host (*-cygwin): Include file from mingw
5084 config/i386/enable-execute-stack-mingw32.c
5085
5086 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
5087 Doug Rupp <rupp@adacore.com>
5088 Olivier Hainque <hainque@adacore.com>
5089
5090 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
5091 as well as arm-wrs-vxworks.
5092 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
5093 LIB2ADDEH.
5094 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
5095 __exidx_start and __exidx_end for downloadable modules.
5096
5097 2017-08-01 Olivier Hainque <hainque@adacore.com>
5098
5099 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
5100 * config/t-vxworks7: Likewise.
5101
5102 2017-08-01 Olivier Hainque <hainque@adacore.com>
5103
5104 * config/t-vxworks: Instead of redefining LIB2ADD,
5105 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
5106
5107 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
5108
5109 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
5110
5111 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
5112
5113 PR testsuite/80759
5114 * config.host: include i386/t-msabi for darwin and solaris.
5115 * config/i386/i386-asm.h
5116 (ELFFN): Rename to FN_TYPE.
5117 (FN_SIZE): New macro.
5118 (FN_HIDDEN): Likewise.
5119 (ASMNAME): Likewise.
5120 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
5121 .globl.
5122 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
5123 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
5124 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
5125 .macro.
5126 * config/i386/resms64f.S: Likewise.
5127 * config/i386/resms64fx.S: Likewise.
5128 * config/i386/resms64x.S: Likewise.
5129 * config/i386/savms64.S: Likewise.
5130 * config/i386/savms64f.S: Likewise.
5131
5132 2017-07-19 John Marino <gnugcc@marino.st>
5133
5134 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
5135
5136 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
5137
5138 PR target/81193
5139 * configure.ac (PowerPC float128 hardware support): Test whether
5140 we can use __builtin_cpu_supports before enabling the ifunc
5141 handler.
5142 * configure: Regenerate.
5143
5144 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
5145
5146 * config.host: Remove uclibc from arc target spec.
5147
5148 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
5149
5150 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
5151
5152 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
5153
5154 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
5155 (have_ieee_hw_p): Delete function.
5156 (SW_OR_HW) Use __builtin_cpu_supports().
5157
5158 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5159
5160 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
5161
5162 2017-07-03 Olivier Hainque <hainque@adacore.com>
5163
5164 * config/t-vxworks7: New file, really.
5165
5166 2017-06-28 Joseph Myers <joseph@codesourcery.com>
5167
5168 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
5169 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
5170 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
5171 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
5172 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
5173 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
5174 config/pa/linux-unwind.h (pa32_fallback_frame_state),
5175 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
5176 config/sh/linux-unwind.h (sh_fallback_frame_state),
5177 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
5178 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
5179 ucontext_t instead of struct ucontext.
5180
5181 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
5182
5183 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
5184 (x86_64-wrs-vxworks7): Likewise.
5185
5186 2017-06-27 Olivier Hainque <hainque@adacore.com>
5187
5188 * config/t-vxworks7: New file.
5189 * config.host (*-*-vxworks7): Use it.
5190
5191 2017-06-22 Matt Turner <mattst88@gmail.com>
5192
5193 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
5194 skylake case.
5195
5196 2017-06-21 Richard Biener <rguenther@suse.de>
5197
5198 PR gcov-profile/81080
5199 * configure.ac: Add AC_SYS_LARGEFILE.
5200 * libgcov.h: Include auto-target.h before tsystem.h to pick
5201 up _FILE_OFFSET_BITS which might differ for multilibs.
5202 * config.in: Regenerate.
5203 * configure: Likewise.
5204
5205 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
5206
5207 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
5208
5209 2017-06-09 Martin Liska <mliska@suse.cz>
5210
5211 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
5212 Reset __gcov_indirect_call_callee to NULL.
5213
5214 2017-06-08 Olivier Hainque <hainque@adacore.com>
5215
5216 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
5217 the set of -I options, support for direct inclusions of net/uio.h
5218 by VxWorks header files via ioLib.h.
5219
5220 2017-06-07 Tony Reix <tony.reix@atos.net>
5221 Matthieu Sarter <matthieu.sarter.external@atos.net>
5222 David Edelsohn <dje.gcc@gmail.com>
5223
5224 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
5225 unconditionally.
5226 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
5227 AIX 7.2 support.
5228
5229 2017-06-02 Olivier Hainque <hainque@adacore.com>
5230
5231 * config/vxlib.c (__gthread_once): Add missing value to
5232 return statement.
5233
5234 2017-05-30 Olivier Hainque <hainque@adacore.com>
5235
5236 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
5237 dollar sign before $(MULTIDIR).
5238
5239 2017-05-26 Richard Henderson <rth@redhat.com>
5240
5241 PR libgcc/80037
5242 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
5243
5244 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
5245
5246 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
5247 _Unwind_SetIP available as functions for arm*-*-freebsd*.
5248 * config/arm/unwind-arm.c: Implement the above.
5249
5250 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5251
5252 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
5253 section for a non-executable stack.
5254
5255 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
5256
5257 PR target/80600
5258 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
5259
5260 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
5261
5262 * config.host: Add i386/t-msabi to i386/t-linux file list.
5263 * config/i386/i386-asm.h: New file.
5264 * config/i386/resms64.S: New file.
5265 * config/i386/resms64f.S: New file.
5266 * config/i386/resms64fx.S: New file.
5267 * config/i386/resms64x.S: New file.
5268 * config/i386/savms64.S: New file.
5269 * config/i386/savms64f.S: New file.
5270 * config/i386/t-msabi: New file.
5271
5272 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
5273
5274 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
5275 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
5276
5277 2017-05-05 Joshua Conner <joshconner@google.com>
5278
5279 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
5280 pc-relative indirect handling for fuchsia.
5281 * config/t-slibgcc-fuchsia: New file.
5282 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
5283 x86_64-*-fuchsia*): Add definitions.
5284
5285 2017-04-19 Martin Liska <mliska@suse.cz>
5286
5287 PR gcov-profile/80435
5288 * Makefile.in: Install gcov.h.
5289 * gcov.h: New file.
5290 * libgcov.h: Use the header and make __gcov_flush publicly
5291 visible.
5292
5293 2017-04-18 Martin Liska <mliska@suse.cz>
5294
5295 PR gcov-profile/78783
5296 * libgcov-driver.c (gcov_get_filename): New function.
5297
5298 2017-04-07 Jeff Law <law@redhat.com>
5299
5300 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
5301 target makefile fragment.
5302 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
5303
5304 2017-04-07 Alan Modra <amodra@gmail.com>
5305
5306 PR target/45053
5307 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
5308
5309 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
5310
5311 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
5312
5313 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
5314
5315 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
5316
5317 2017-03-10 John Marino <gnugcc@marino.st>
5318
5319 * config/aarch64/freebsd-unwind.h: New file.
5320 * config.host: Add aarch64-*-freebsd unwinder.
5321
5322 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
5323
5324 * config/rs6000/crtrestvr.s: Use .machine altivec.
5325 * config/rs6000/crtsavevr.s: Ditto.
5326
5327 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
5328
5329 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
5330 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
5331 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
5332 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
5333 * configure: Regenerate.
5334 * config.in: Regenerate.
5335
5336 2017-03-02 Jonathan Yong <10walls@gmail.com>
5337
5338 * config/i386/gthr-win32.h: Define NOGDI before
5339 windows.h include to prevent w32api CC_NONE macro
5340 clash with libgfortran.
5341
5342 2017-03-02 Jonathan Yong <10walls@gmail.com>
5343
5344 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
5345
5346 2017-02-16 Andrew Pinski <apinski@cavium.com>
5347
5348 * config/aarch64/value-unwind.h: New file.
5349 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
5350 to tm_file.
5351
5352 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
5353
5354 * config.host: Add RISC-V tuples.
5355 * config/riscv/atomic.c: New file.
5356 * config/riscv/crti.S: Likewise.
5357 * config/riscv/crtn.S: Likewise.
5358 * config/riscv/div.S: Likewise.
5359 * config/riscv/linux-unwind.h: Likewise.
5360 * config/riscv/muldi3.S: Likewise.
5361 * config/riscv/multi3.S: Likewise.
5362 * config/riscv/save-restore.S: Likewise.
5363 * config/riscv/sfp-machine.h: Likewise.
5364 * config/riscv/t-elf: Likewise.
5365 * config/riscv/t-elf32: Likewise.
5366 * config/riscv/t-elf64: Likewise.
5367 * config/riscv/t-softfp32: Likewise.
5368 * config/riscv/t-softfp64: Likewise.
5369
5370 2017-01-24 Jakub Jelinek <jakub@redhat.com>
5371
5372 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
5373 /* FALLTHRU */ comments.
5374
5375 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
5376
5377 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
5378
5379 2017-01-20 Jiong Wang <jiong.wang@arm.com>
5380
5381 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
5382 * unwind-dw2.c (execute_cfa_program): Only multiplexing
5383 DW_CFA_GNU_window_save for AArch64 and LP64.
5384
5385 2017-01-20 Jiong Wang <jiong.wang@arm.com>
5386
5387 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
5388
5389 2017-01-19 Jiong Wang <jiong.wang@arm.com>
5390
5391 * config/aarch64/aarch64-unwind.h: New file.
5392 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
5393 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
5394 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
5395 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
5396 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
5397 (aarch64_post_extract_frame_addr): New function.
5398 (aarch64_post_frob_eh_handler_addr): New function.
5399 (aarch64_frob_update_context): New function.
5400 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
5401 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
5402 aarch64*-*-freebsd*):
5403 Initialize md_unwind_header to include aarch64-unwind.h.
5404 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
5405 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
5406 __aarch64__.
5407 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
5408 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
5409 (uw_frob_return_addr): New function.
5410 (uw_install_context): Use uw_frob_return_addr.
5411
5412 2017-01-17 Jakub Jelinek <jakub@redhat.com>
5413
5414 PR other/79046
5415 * configure.ac: Add GCC_BASE_VER.
5416 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
5417 version from BASE-VER file.
5418 * configure: Regenerated.
5419
5420 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
5421
5422 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
5423 libmul_f5.a): Filter archived prerequisites.
5424
5425 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
5426
5427 * config/i386/cpuinfo.h (processor_features): Add
5428 FEATURE_AVX512VPOPCNTDQ.
5429 * config/i386/cpuinfo.c (get_available_features): Habdle new
5430 feature.
5431
5432 2017-01-04 Joseph Myers <joseph@codesourcery.com>
5433
5434 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
5435 payload if [__mips_nan2008].
5436
5437 2017-01-04 Alan Modra <amodra@gmail.com>
5438
5439 * Makefile.in (configure_deps): Update.
5440 * configure: Regenerate.
5441
5442 2017-01-01 Jakub Jelinek <jakub@redhat.com>
5443
5444 Update copyright years.
5445
5446 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
5447
5448 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
5449 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
5450 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
5451
5452 2016-12-17 Matthias Klose <doko@ubuntu.com>
5453
5454 * config/arc/gmon: Remove empty directory.
5455
5456 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
5457
5458 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
5459 crtgend.
5460 (arc*-*-elf*): Likewise.
5461 * config/arc/t-arc: Remove old gmon lib targets.
5462 * config/arc/crtg.S: Remove.
5463 * config/arc/crtgend.S: Likewise.
5464 * config/arc/gmon/atomic.h: Likewise.
5465 * config/arc/gmon/auxreg.h: Likewise.
5466 * config/arc/gmon/dcache_linesz.S: Likewise.
5467 * config/arc/gmon/gmon.c: Likewise.
5468 * config/arc/gmon/machine-gmon.h: Likewise.
5469 * config/arc/gmon/mcount.c: Likewise.
5470 * config/arc/gmon/prof-freq-stub.S: Likewise.
5471 * config/arc/gmon/prof-freq.c: Likewise.
5472 * config/arc/gmon/profil.S: Likewise.
5473 * config/arc/gmon/sys/gmon.h: Likewise.
5474 * config/arc/gmon/sys/gmon_out.h: Likewise.
5475 * config/arc/t-arc-newlib: Likewise.
5476 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
5477
5478 2016-12-12 George Spelvin <linux@sciencehorizons.net>
5479
5480 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
5481
5482 2016-12-12 George Spelvin <linux@sciencehorizons.net>
5483
5484 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
5485 R16 instead of push + pop.
5486 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
5487
5488 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
5489
5490 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
5491 tmake_file.
5492
5493 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
5494
5495 * config.host (arc*-*-linux-uclibc*): Use default extra
5496 objects. Include linux-android header.
5497 * config/arc/crti.S (_init): Declare symbol as function.
5498 (_fini): Likewise.
5499
5500 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
5501
5502 PR fortran/78379
5503 * config/i386/cpuinfo.c: Move denums for processor vendors,
5504 processor type, processor subtypes and declaration of
5505 struct __processor_model into
5506 * config/i386/cpuinfo.h: New header file.
5507
5508 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
5509 Thomas Preud'homme <thomas.preudhomme@arm.com>
5510
5511 * config/arm/cmse_nonsecure_call.S: New.
5512 * config/arm/t-arm: Compile cmse_nonsecure_call.S
5513
5514 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
5515 Thomas Preud'homme <thomas.preudhomme@arm.com>
5516
5517 * config/arm/t-arm (HAVE_CMSE): New.
5518 * config/arm/cmse.c: New.
5519
5520 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
5521
5522 PR gcc/74748
5523 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
5524 use generic linker version information on Blackfin.
5525
5526 PR gcc/74748
5527 * libgcc/mkmap-symver.awk: add support for skip_underscore
5528
5529 2016-11-27 Iain Sandoe <iain@codesourcery.com>
5530 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5531
5532 PR target/67710
5533 * config/t-darwin: Default builds to 10.5 codegen.
5534
5535 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
5536
5537 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
5538 (_FP_NANSIGN_H): Likewise.
5539 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
5540 (softfp_truncations): Add tfhf.
5541 (softfp_extras): Add required conversion functions.
5542
5543 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5544 Matthew Wahab <matthew.wahab@arm.com>
5545
5546 * config/arm/fp16.c (binary64): New.
5547 (__gnu_d2h_internal): New.
5548 (__gnu_d2h_ieee): New.
5549 (__gnu_d2h_alternative): New.
5550
5551 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5552 Matthew Wahab <matthew.wahab@arm.com>
5553
5554 * config/arm/fp16.c (struct format): New.
5555 (binary32): New.
5556 (__gnu_float2h_internal): New. Body moved from
5557 __gnu_f2h_internal and generalize.
5558 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
5559 Call it with binary32.
5560
5561 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5562
5563 * soft-fp/extendhftf2.c: Update from glibc.
5564 * soft-fp/fixhfti.c: Likewise.
5565 * soft-fp/fixunshfti.c: Likewise.
5566 * soft-fp/floattihf.c: Likewise.
5567 * soft-fp/floatuntihf.c: Likewise.
5568 * soft-fp/half.h: Likewise.
5569 * soft-fp/trunctfhf2.c: Likewise.
5570
5571 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
5572
5573 PR libgcc/77813
5574 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
5575 __TMC_END__ behind a passthrough asm.
5576
5577 2016-11-18 Walter Lee <walt@tilera.com>
5578
5579 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
5580
5581 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
5582
5583 * config/i386/cpuinfo.c (processor_features): Add
5584 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
5585
5586 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
5587
5588 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
5589 (__ARC_NORM__): Use instead ARC_OPTFPE.
5590 * config/arc/fp-hack.h: Likewise.
5591 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
5592 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
5593
5594 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
5595
5596 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
5597 * config/nvptx/mgomp.c: New file.
5598 * config/nvptx/t-nvptx: Add mgomp.c
5599
5600 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
5601
5602 PR libgcc/68468
5603 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
5604
5605 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
5606
5607 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
5608 of checking for cpus.
5609 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
5610 (__modsi3, __clzsi2): Likewise.
5611
5612 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5613
5614 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
5615 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
5616 * config/i386/t-cpuinfo-static: New.
5617
5618 2016-11-03 Martin Liska <mliska@suse.cz>
5619
5620 * libgcov-profiler.c (__gcov_time_profiler): Remove.
5621 (__gcov_time_profiler_atomic): Likewise.
5622
5623 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
5624
5625 PR libgcc/78067
5626 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
5627 count_leading_zeros.
5628
5629 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
5630
5631 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
5632 * libgcc2.c (__divmoddi4): New function.
5633 * libgcc2.h (__divmoddi4): Declare.
5634 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
5635 and __PFX_divmodti4.
5636
5637 2016-10-24 Florian Weimer <fweimer@redhat.com>
5638
5639 PR libgcc/78064
5640 * unwind-c.c: Include auto-target.h.
5641
5642 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
5643
5644 * config/pa/pa64-hpux-lib.h: New file.
5645 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
5646 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
5647 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
5648 hppa*64*-*-hpux11*.
5649
5650 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
5651
5652 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5653 definition.
5654 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5655 definition.
5656 * config/xtensa/t-windowed (LIB2ADDEH): Use
5657 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
5658 or xtensa/t-linux.
5659
5660 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
5661
5662 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
5663 __ieee754_sqrt): New functions.
5664 (__divdf3): Add implementation with new FPU instructions under
5665 #if XCHAL_HAVE_DFP_DIV.
5666 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
5667 __ieee754_sqrtf): New functions.
5668 (__divsf3): Add implementation with new FPU instructions under
5669 #if XCHAL_HAVE_FP_DIV.
5670 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
5671 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
5672
5673 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
5674
5675 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
5676 equivalent.
5677 * config/tilepro/atomic.c: Likewise and stop casting model to
5678 enum memmodel.
5679
5680 2016-10-10 Joseph Myers <joseph@codesourcery.com>
5681
5682 PR target/77586
5683 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
5684 soft-fp.
5685
5686 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
5687
5688 * config.host: Add support for aarch64-*-freebsd*.
5689
5690 2016-10-05 Andreas Schwab <schwab@suse.de>
5691
5692 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
5693 (.section .init_array): Don't call __do_jv_register_classes.
5694 (.section .init): Likewise.
5695
5696 2016-10-04 Jakub Jelinek <jakub@redhat.com>
5697
5698 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
5699 (__JCR_LIST__): Remove.
5700 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
5701 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
5702 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
5703 * config/ia64/crtend.S (__JCR_END__): Remove.
5704 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
5705 conditionals.
5706 (__JCR_LIST__, __JCR_END__): Remove.
5707 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
5708 (__do_global_ctors_1): Likewise.
5709
5710 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
5711
5712 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
5713 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
5714
5715 2016-09-27 Martin Liska <mliska@suse.cz>
5716
5717 PR gcov-profile/7970
5718 PR gcov-profile/16855
5719 PR gcov-profile/44779
5720 * libgcov-driver.c (__gcov_init): Do not register a atexit
5721 handler.
5722 (__gcov_exit): Rename from gcov_exit.
5723 * libgcov.h (__gcov_exit): Declare.
5724
5725 2016-09-27 Martin Liska <mliska@suse.cz>
5726
5727 PR bootstrap/77749
5728 * Makefile.in: Remove _gcov_merge_delta.
5729 * libgcov-merge.c (void __gcov_merge_delta): Remove.
5730 * libgcov-util.c (__gcov_delta_counter_op): Remove.
5731 * libgcov.h: Remove declaration of __gcov_merge_delta.
5732
5733 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
5734
5735 * configure.ac: Do not create links, only substitute the filenames.
5736 * configure: Regenerate.
5737 * Makefile.in: Assign the substitution results to variables.
5738 (LIBGCC_LINKS): Define.
5739 (enable-execute-stack.c): New rule.
5740 (unwind.h): Likewise.
5741 (md-unwind-support.h): Likewise.
5742 (sfp-machine.h): Likewise.
5743 (gthr-default.h): Likewise.
5744 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5745 unwind.h as prerequisite of install-unwind_h-forbuild.
5746
5747 2016-09-16 Jakub Jelinek <jakub@redhat.com>
5748
5749 PR libgcc/71744
5750 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5751 is not the primary registry and atomics are available.
5752 (any_objects_registered): New variable.
5753 (__register_frame_info_bases, __register_frame_info_table_bases):
5754 Atomically store 1 to any_objects_registered after registering first
5755 unwind info.
5756 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5757
5758 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
5759
5760 PR target/63250
5761 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5762 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5763 (HFtype): Likewise.
5764 (HCtype): Likewise.
5765 (__divhc3): Likewise.
5766 (__mulhc3): Likewise.
5767 * libgcc2.c: Support _mulhc3 and _divhc3.
5768
5769 2016-09-07 Joseph Myers <joseph@codesourcery.com>
5770
5771 PR libgcc/77519
5772 * libgcc2.c (NOTRUNC): Invert settings.
5773
5774 2016-09-06 Martin Liska <mliska@suse.cz>
5775
5776 PR gcov-profile/77378
5777 PR gcov-profile/77466
5778 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5779 conditionaly enable/disable *_atomic functions.
5780
5781 2016-08-26 Joseph Myers <joseph@codesourcery.com>
5782
5783 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5784 where not already enabled.
5785
5786 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5787
5788 * config/mips/linux-unwind.h: Use sys/syscall.h.
5789
5790 2016-08-16 Joseph Myers <joseph@codesourcery.com>
5791
5792 PR libgcc/77265
5793 * soft-fp/adddf3.c: Update from glibc.
5794 * soft-fp/addsf3.c: Likewise.
5795 * soft-fp/addtf3.c: Likewise.
5796 * soft-fp/divdf3.c: Likewise.
5797 * soft-fp/divsf3.c: Likewise.
5798 * soft-fp/divtf3.c: Likewise.
5799 * soft-fp/double.h: Likewise.
5800 * soft-fp/eqdf2.c: Likewise.
5801 * soft-fp/eqsf2.c: Likewise.
5802 * soft-fp/eqtf2.c: Likewise.
5803 * soft-fp/extenddftf2.c: Likewise.
5804 * soft-fp/extended.h: Likewise.
5805 * soft-fp/extendsfdf2.c: Likewise.
5806 * soft-fp/extendsftf2.c: Likewise.
5807 * soft-fp/extendxftf2.c: Likewise.
5808 * soft-fp/fixdfdi.c: Likewise.
5809 * soft-fp/fixdfsi.c: Likewise.
5810 * soft-fp/fixdfti.c: Likewise.
5811 * soft-fp/fixsfdi.c: Likewise.
5812 * soft-fp/fixsfsi.c: Likewise.
5813 * soft-fp/fixsfti.c: Likewise.
5814 * soft-fp/fixtfdi.c: Likewise.
5815 * soft-fp/fixtfsi.c: Likewise.
5816 * soft-fp/fixtfti.c: Likewise.
5817 * soft-fp/fixunsdfdi.c: Likewise.
5818 * soft-fp/fixunsdfsi.c: Likewise.
5819 * soft-fp/fixunsdfti.c: Likewise.
5820 * soft-fp/fixunssfdi.c: Likewise.
5821 * soft-fp/fixunssfsi.c: Likewise.
5822 * soft-fp/fixunssfti.c: Likewise.
5823 * soft-fp/fixunstfdi.c: Likewise.
5824 * soft-fp/fixunstfsi.c: Likewise.
5825 * soft-fp/fixunstfti.c: Likewise.
5826 * soft-fp/floatdidf.c: Likewise.
5827 * soft-fp/floatdisf.c: Likewise.
5828 * soft-fp/floatditf.c: Likewise.
5829 * soft-fp/floatsidf.c: Likewise.
5830 * soft-fp/floatsisf.c: Likewise.
5831 * soft-fp/floatsitf.c: Likewise.
5832 * soft-fp/floattidf.c: Likewise.
5833 * soft-fp/floattisf.c: Likewise.
5834 * soft-fp/floattitf.c: Likewise.
5835 * soft-fp/floatundidf.c: Likewise.
5836 * soft-fp/floatundisf.c: Likewise.
5837 * soft-fp/floatunditf.c: Likewise.
5838 * soft-fp/floatunsidf.c: Likewise.
5839 * soft-fp/floatunsisf.c: Likewise.
5840 * soft-fp/floatunsitf.c: Likewise.
5841 * soft-fp/floatuntidf.c: Likewise.
5842 * soft-fp/floatuntisf.c: Likewise.
5843 * soft-fp/floatuntitf.c: Likewise.
5844 * soft-fp/gedf2.c: Likewise.
5845 * soft-fp/gesf2.c: Likewise.
5846 * soft-fp/getf2.c: Likewise.
5847 * soft-fp/ledf2.c: Likewise.
5848 * soft-fp/lesf2.c: Likewise.
5849 * soft-fp/letf2.c: Likewise.
5850 * soft-fp/muldf3.c: Likewise.
5851 * soft-fp/mulsf3.c: Likewise.
5852 * soft-fp/multf3.c: Likewise.
5853 * soft-fp/negdf2.c: Likewise.
5854 * soft-fp/negsf2.c: Likewise.
5855 * soft-fp/negtf2.c: Likewise.
5856 * soft-fp/op-1.h: Likewise.
5857 * soft-fp/op-2.h: Likewise.
5858 * soft-fp/op-4.h: Likewise.
5859 * soft-fp/op-8.h: Likewise.
5860 * soft-fp/op-common.h: Likewise.
5861 * soft-fp/quad.h: Likewise.
5862 * soft-fp/single.h: Likewise.
5863 * soft-fp/soft-fp.h: Likewise.
5864 * soft-fp/subdf3.c: Likewise.
5865 * soft-fp/subsf3.c: Likewise.
5866 * soft-fp/subtf3.c: Likewise.
5867 * soft-fp/truncdfsf2.c: Likewise.
5868 * soft-fp/trunctfdf2.c: Likewise.
5869 * soft-fp/trunctfsf2.c: Likewise.
5870 * soft-fp/trunctfxf2.c: Likewise.
5871 * soft-fp/unorddf2.c: Likewise.
5872 * soft-fp/unordsf2.c: Likewise.
5873 * soft-fp/unordtf2.c: Likewise.
5874
5875 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
5876
5877 PR gcov-profile/67097
5878 * libgcov-util.c (gcov_profile_merge): Skip missing files.
5879
5880 2016-08-10 Martin Liska <mliska@suse.cz>
5881
5882 PR gcov-profile/58306
5883 * Makefile.in: New functions (modules) are added.
5884 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5885 function.
5886 (__gcov_pow2_profiler_atomic): New function.
5887 (__gcov_one_value_profiler_body): New argument is instroduced.
5888 (__gcov_one_value_profiler): Call with the new argument.
5889 (__gcov_one_value_profiler_atomic): Likewise.
5890 (__gcov_indirect_call_profiler_v2): Likewise.
5891 (__gcov_time_profiler_atomic): New function.
5892 (__gcov_average_profiler_atomic): Likewise.
5893 (__gcov_ior_profiler_atomic): Likewise.
5894 * libgcov.h: Declare the aforementioned functions.
5895
5896 2016-08-09 Martin Liska <mliska@suse.cz>
5897
5898 * libgcov-util.c: Fix typo and GNU coding style.
5899
5900 2016-08-09 Martin Liska <mliska@suse.cz>
5901
5902 * Makefile.in: Remove __gcov_indirect_call_profiler.
5903 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5904 function.
5905 * libgcov.h: And the declaration of the function.
5906
5907 2016-08-09 Martin Liska <mliska@suse.cz>
5908
5909 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5910 power of two.
5911
5912 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5913
5914 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5915 * config/rs6000/_mulkc3.c: Likewise.
5916
5917 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
5918
5919 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5920 zero_reg as previous call to __umulhisi3 already cleared it.
5921
5922 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
5923
5924 PR target/59833
5925 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5926
5927 2016-07-19 Nick Clifton <nickc@redhat.com>
5928
5929 * config.host (m32r): Add m32r/t-m32r to tmake_file.
5930 Add crtinit.o and crtfini.o to extra_parts.
5931
5932 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5933
5934 * config/rs6000/_divkc3.c: New.
5935 * config/rs6000/_mulkc3.c: New.
5936 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5937 and _divkc3.
5938 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5939 fp128_ppc_funcs.
5940
5941 2016-07-11 Hale Wang <hale.wang@arm.com>
5942 Andre Vieira <andre.simoesdiasvieira@arm.com>
5943
5944 * config/arm/lib1funcs.S: Add new wrapper.
5945
5946 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5947
5948 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5949
5950 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5951
5952 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5953 and ARMv5t* rather than for a fixed list of architectures.
5954
5955 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5956
5957 * config/arm/bpabi-v6m.S: Clarify what architectures is the
5958 implementation suitable for.
5959 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5960 for all Thumb-1 only targets.
5961 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5962 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5963 __ARM_ARCH_6M__.
5964 (EQUIV): Likewise.
5965 (ARM_FUNC_ALIAS): Likewise.
5966 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5967 version.
5968 (modsi3): Likewise.
5969 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5970 (clzdi2): Likewise.
5971 (ctzsi2): Likewise.
5972 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5973 __ARM_ARCH_6M__ in guard for checking whether it is defined.
5974 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5975 __ARM_ARCH_6M__ and add comment to indicate the connection between
5976 this condition and the one in gcc/config/arm/elf.h.
5977 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5978 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5979 * config/arm/t-softfp: Likewise.
5980
5981 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5982
5983 * libgcc2.c (SYMBOL__MAIN): Remove checks for
5984 CTOR_LISTS_DEFINED_EXTERNALLY.
5985
5986 2016-06-28 Walter Lee <walt@tilera.com>
5987
5988 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5989 asm/unistd.h.
5990 (SPR_CMPEXCH_VALUE): Define for tilegx.
5991 (__NR_FAST_cmpxchg): Define for tilepro.
5992 (__NR_FAST_atomic_update): Define for tilepro.
5993 (__NR_FAST_cmpxchg64): Define for tilepro.
5994
5995 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
5996
5997 * config.host: Add suport for arm*-*-phoenix* targets.
5998
5999 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6000
6001 * config.host: Remove support for mep-*.
6002 * config/mep/lib1funcs.S: Remove.
6003 * config/mep/lib2funcs.c: Remove.
6004 * config/mep/t-mep: Remove.
6005 * config/mep/tramp.c: Remove.
6006
6007 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6008
6009 * config.host: Remove support for avr-rtems.
6010 * config/avr/t-rtems: Remove.
6011
6012 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6013
6014 * config.host: Remove m32r-rtems support.
6015
6016 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6017
6018 * config.host: Remove h8300-rtems support.
6019
6020 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6021
6022 * config.host: Remove support for knetbsd.
6023
6024 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6025
6026 * config.host: Remove support for openbsd 2 and 3.
6027
6028 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6029
6030 * config.host: Remove interix support.
6031 * config/i386/t-interix: Remove.
6032
6033 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
6034
6035 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
6036 least-significant bit in function pointer for fixup.
6037
6038 2016-06-05 Aaron Conole <aconole@redhat.com>
6039 Nathan Sidwell <nathan@acm.org>
6040
6041 PR libgcc/71400
6042 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
6043 (get_gcov_error_file): Check __gcov_error_file before trying to
6044 initialize it.
6045 (gcov_error): Always use get_gcov_error_file.
6046
6047 2016-06-02 Aaron Conole <aconole@redhat.com>
6048
6049 * libgcov-driver-system.c (__gcov_error_file): New.
6050 (get_gcov_error_file): New.
6051 (gcov_error): Use and set __gcov_error_file.
6052 (gcov_error_exit): New.
6053 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
6054
6055 2016-05-26 Nathan Sidwell <nathan@acm.org>
6056
6057 * config/nvptx/free.asm: Delete.
6058 * config/nvptx/malloc.asm: Delete.
6059 * config/nvptx/realloc.c: Delete.
6060 * t-nvptx: Update.
6061
6062 2016-05-25 Nathan Sidwell <nathan@acm.org>
6063
6064 * config/nvptx/crt0.s: Delete.
6065 * config/nvptx/crt0.c: New.
6066 * t-nvptx: Update.
6067
6068 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
6069
6070 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6071 dw2/seh configuration.
6072 [x86_64-*-mingw*]: Likewise.
6073
6074 2016-05-10 Joel Sherrill <joel@rtems.org>
6075
6076 PR libgcc/70720
6077 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
6078 targets so the same extra_parts are built. Also have tmake_file add
6079 on to its value rather than override.
6080
6081 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
6082
6083 * config.host: Remove SH5 support.
6084 * configure: Likewise.
6085
6086 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
6087
6088 * config/sh/crt1.S: Remove SH5 support.
6089 * config/sh/crti.S: Likewise.
6090 * config/sh/crtn.S: Likewise.
6091 * config/sh/lib1funcs-4-300.S: Likewise.
6092 * config/sh/lib1funcs-Os-4-200.S: Likewise.
6093 * config/sh/lib1funcs.S: Likewise.
6094 * config/sh/linux-unwind.h: Likewise.
6095 * config/sh/t-sh64: Delete.
6096
6097 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
6098
6099 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
6100
6101 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
6102 Joern Rennecke <joern.rennecke@embecosm.com>
6103
6104 * config/arc/crttls.S: New file.
6105 * config/arc/t-arc: New rule.
6106 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
6107
6108 2016-04-25 Nick Clifton <nickc@redhat.com>
6109
6110 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
6111 (__mspabi_cmpd): Likewise.
6112 * config/msp430/floathidf.c (__floathidf): Likewise.
6113 * config/msp430/floathisf.c (__floathisf): Likewise
6114 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
6115 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
6116 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
6117 second parameter.
6118 (__ashrsi3): Likewise.
6119
6120 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
6121
6122 * config/m68k/linux-atomic.c: Do not include unistd.h
6123
6124 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
6125
6126 * config/arm/ieee754-df.S: Fix typos in comments.
6127
6128 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
6129
6130 PR target/70381
6131 * configure.ac (powerpc*-*-linux*): Rework tests to build
6132 __float128 emulation routines to not depend on using #pragma GCC
6133 target to enable -mfloat128.
6134 * configure: Regnerate.
6135
6136 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
6137
6138 PR target/67172
6139 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
6140 __MINGW32__ is defined.
6141
6142 2016-03-28 James Bowman <james.bowman@ftdichip.com>
6143
6144 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
6145
6146 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
6147
6148 PR libgcc/70363
6149 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
6150 built with an assembler that does not support ISA 3.0
6151 instructions, rename __extendkftf2_sw to __extendkftf2.
6152
6153 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6154
6155 PR target/38239
6156 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
6157 call-clobbered registers.
6158 (internal_mcount): Remove __i386__ handling.
6159
6160 2016-02-26 Joel Sherrill <joel@rtems.org>
6161
6162 * config.host: Add x86_64-*-rtems*.
6163
6164 2016-02-26 Joel Sherrill <joel@rtems.org>
6165
6166 * libgcc/config.host: Add aarch64-*-rtems*.
6167
6168 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6169 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
6170
6171 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
6172 union of u64 and double.
6173 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
6174 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
6175 value.
6176 (FP_ROUNDMODE): Update the usage of _fpscr.
6177
6178 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
6179
6180 PR driver/68463
6181 * Makefile.in (crtoffloadtable$(objext)): New rule.
6182 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
6183 enable_offload_targets is not empty.
6184 * configure: Regenerate.
6185 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
6186 crtoffloadtable.
6187
6188 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
6189
6190 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
6191 .literal_position before the function.
6192 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
6193 Likewise.
6194
6195 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
6196
6197 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
6198 * config/s390/morestack.S: New file.
6199 * config/s390/t-stack-s390: New file.
6200 * generic-morestack.c (__splitstack_find): Add s390-specific code.
6201
6202 2016-02-12 Walter Lee <walt@tilera.com>
6203
6204 * config.host (tilegx*-*-linux*): remove ti from
6205 softfp_int_modes for 32-bit configs.
6206
6207 2016-02-10 Ian Lance Taylor <iant@google.com>
6208
6209 PR go/68562
6210 * config/i386/morestack.S (__stack_split_initialize): Align
6211 stack.
6212
6213 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
6214
6215 PR bootstrap/69611
6216 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
6217 __FLOAT128__ to compile only for __float128 capable targets.
6218
6219 2016-01-25 Jakub Jelinek <jakub@redhat.com>
6220
6221 PR target/69444
6222 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
6223 instead of ___NO_FPRS__.
6224
6225 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
6226 Steven Munroe <munroesj@linux.vnet.ibm.com>
6227 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
6228
6229 * config/rs6000/float128-sed: New files to convert TF names to KF
6230 names for PowerPC IEEE 128-bit floating point support.
6231 * config/rs6000/float128-sed-hw: Likewise.
6232
6233 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
6234 floating point hardware support.
6235
6236 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6237 128-bit floating point software emulation or use ISA 3.0 hardware
6238 support if it is available.
6239
6240 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6241 floating point.
6242
6243 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
6244 floating point to IBM extended double.
6245
6246 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
6247 double to IEEE 128-bit floating point.
6248
6249 * config/rs6000/t-float128: New Makefile fragments to enable
6250 building __float128 emulation support.
6251 * config/rs6000/t-float128-hw: Likewise.
6252
6253 * config/rs6000/sfp-exceptions.c: New file to provide exception
6254 support for IEEE 128-bit floating point.
6255
6256 * config/rs6000/floattikf.c: New files for converting between IEEE
6257 128-bit floating point and signed/unsigned 128-bit integers.
6258 * config/rs6000/fixunskfti.c: Likewise.
6259 * config/rs6000/fixkfti.c: Likewise.
6260 * config/rs6000/floatuntikf.c: Likewise.
6261
6262 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6263 when building on 64-bit systems, or when VSX is enabled.
6264 (_FP_W_TYPE): Likewise.
6265 (_FP_WS_TYPE): Likewise.
6266 (_FP_I_TYPE): Likewise.
6267 (TItype): Define on 64-bit systems.
6268 (UTItype): Likewise.
6269 (TI_BITS): Likewise.
6270 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6271 (_FP_MUL_MEAT_Q): Likewise.
6272 (_FP_DIV_MEAT_D): Likewise.
6273 (_FP_DIV_MEAT_Q): Likewise.
6274 (_FP_NANFRAC_D): Likewise.
6275 (_FP_NANFRAC_Q): Likewise.
6276 (ISA_BIT): Add exception support if we are being compiled on a
6277 machine with hardware floating point support to build the IEEE
6278 128-bit emulation functions.
6279 (FP_EX_INVALID): Likewise.
6280 (FP_EX_OVERFLOW): Likewise.
6281 (FP_EX_UNDERFLOW): Likewise.
6282 (FP_EX_DIVZERO): Likewise.
6283 (FP_EX_INEXACT): Likewise.
6284 (FP_EX_ALL): Likewise.
6285 (__sfp_handle_exceptions): Likewise.
6286 (FP_HANDLE_EXCEPTIONS): Likewise.
6287 (FP_RND_NEAREST): Likewise.
6288 (FP_RND_ZERO): Likewise.
6289 (FP_RND_PINF): Likewise.
6290 (FP_RND_MINF): Likewise.
6291 (FP_RND_MASK): Likewise.
6292 (_FP_DECL_EX): Likewise.
6293 (FP_INIT_ROUNDMODE): Likewise.
6294 (FP_ROUNDMODE): Likewise.
6295
6296 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6297 VSX code, enable IEEE 128-bit floating point. If the compiler can
6298 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
6299 floating point hardware instructions and it supports declaring
6300 functions with the ifunc attribute, enable ifunc functions to
6301 switch between software and hardware support.
6302 * configure.ac (powerpc*-*-linux*): Likewise.
6303 * configure: Regenerate.
6304
6305 2016-01-15 Nick Clifton <nickc@redhat.com>
6306
6307 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
6308 dependency as the source file to be compiled.
6309 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
6310 (lib2hw_mul_f5.o): Likewise.
6311
6312 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
6313
6314 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
6315 * libgcc/config/rs6000/fixkfti.c: Likewise.
6316 * libgcc/config/rs6000/fixunskfti.c: Likewise.
6317 * libgcc/config/rs6000/float128-hw.c: Likewise.
6318 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
6319 * libgcc/config/rs6000/float128-sed: Likewise.
6320 * libgcc/config/rs6000/floattikf.c: Likewise.
6321 * libgcc/config/rs6000/floatuntikf.c: Likewise.
6322 * libgcc/config/rs6000/quad-float128.h: Likewise.
6323 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
6324 * libgcc/config/rs6000/sfp-machine.h: Likewise.
6325 * libgcc/config/rs6000/t-float128: Likewise.
6326 * libgcc/config/rs6000/t-float128-hw: Likewise.
6327 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
6328 * libgcc/config.host: Likewise.
6329 * libgcc/configure: Likewise.
6330 * libgcc/configure.ac: Likewise.
6331
6332 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
6333 Steven Munroe <munroesj@linux.vnet.ibm.com>
6334 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
6335
6336 * config/rs6000/sfp-exceptions.c: New file to provide exception
6337 support for IEEE 128-bit floating point.
6338
6339 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
6340 floating point hardware support.
6341
6342 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
6343 point conversions.
6344 * config/rs6000/fixunskfti.c: Likewise.
6345 * config/rs6000/fixkfti.c: Likewise.
6346 * config/rs6000/floatuntikf.c: Likewise.
6347 * config/rs6000/extendkftf2-sw.c: Likewise.
6348 * config/rs6000/trunctfkf2-sw.c: Likewise.
6349
6350 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6351 128-bit floating point software emulation or use ISA 3.0 hardware
6352 support if it is available.
6353
6354 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6355 floating point.
6356
6357 * config/rs6000/t-float128: New Makefile fragments to enable
6358 building __float128 emulation support.
6359 * config/rs6000/t-float128-hw: Likewise.
6360
6361 * config/rs6000/float128-sed: New file to convert TF names to KF
6362 names for PowerPC IEEE 128-bit floating point support.
6363
6364 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6365 when building on 64-bit systems, or when VSX is enabled.
6366 (_FP_W_TYPE): Likewise.
6367 (_FP_WS_TYPE): Likewise.
6368 (_FP_I_TYPE): Likewise.
6369 (TItype): Define on 64-bit systems.
6370 (UTItype): Likewise.
6371 (TI_BITS): Likewise.
6372 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6373 (_FP_MUL_MEAT_Q): Likewise.
6374 (_FP_DIV_MEAT_D): Likewise.
6375 (_FP_DIV_MEAT_Q): Likewise.
6376 (_FP_NANFRAC_D): Likewise.
6377 (_FP_NANFRAC_Q): Likewise.
6378 (ISA_BIT): Add exception support if we are being compiled on a
6379 machine with hardware floating point support to build the IEEE
6380 128-bit emulation functions.
6381 (FP_EX_INVALID): Likewise.
6382 (FP_EX_OVERFLOW): Likewise.
6383 (FP_EX_UNDERFLOW): Likewise.
6384 (FP_EX_DIVZERO): Likewise.
6385 (FP_EX_INEXACT): Likewise.
6386 (FP_EX_ALL): Likewise.
6387 (__sfp_handle_exceptions): Likewise.
6388 (FP_HANDLE_EXCEPTIONS): Likewise.
6389 (FP_RND_NEAREST): Likewise.
6390 (FP_RND_ZERO): Likewise.
6391 (FP_RND_PINF): Likewise.
6392 (FP_RND_MINF): Likewise.
6393 (FP_RND_MASK): Likewise.
6394 (_FP_DECL_EX): Likewise.
6395 (FP_INIT_ROUNDMODE): Likewise.
6396 (FP_ROUNDMODE): Likewise.
6397
6398 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
6399 compiler can do __float128.
6400 * configure: Regenerate.
6401
6402 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6403 VSX code, enable IEEE 128-bit floating point.
6404
6405 2016-01-05 Olivier Hainque <hainque@adacore.com>
6406
6407 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
6408 specificities.
6409
6410 2016-01-04 Jakub Jelinek <jakub@redhat.com>
6411
6412 Update copyright years.
6413
6414 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
6415
6416 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
6417 soft-fp targets.
6418
6419 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
6420
6421 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
6422 instead of abort to avoid dependency on stdlib.h.
6423
6424 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
6425
6426 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
6427 to initialize call to __dl_fixup once.
6428
6429 2015-12-04 Nick Clifton <nickc@redhat.com>
6430
6431 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
6432 Allow for the second argument being negative.
6433 * config.host (extra_parts): Define for MSP430. Create separate
6434 libraries for each of the hardware multiply formats.
6435 * config/msp430/lib2hw_mul.S: Build only the multiply routines
6436 that are needed.
6437 * config/msp430/lib2mul.c: Likewise.
6438 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
6439 Add rules to build hardware multiply libraries.
6440 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
6441 __mspabi_divul function.
6442 (__mspabi_divllu): New stub function.
6443
6444 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
6445
6446 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
6447 fixup values if saved GOT address doesn't match runtime address.
6448 (fixup_branch_offset): Reorder list.
6449
6450 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6451
6452 * Makefile.in (VTV_CFLAGS): New variable.
6453 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
6454 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
6455 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6456 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
6457 to extra_parts if $enable_vtable_verify = yes.
6458
6459 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
6460
6461 PR target/68059
6462 * config/arm/linux-atomic-64bit.c (__write): Rename to...
6463 (write): ...this and fix the return type.
6464
6465 2015-11-19 DJ Delorie <dj@redhat.com>
6466
6467 * config/msp430/lib2hw_mul.S: Fix alignment.
6468
6469 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
6470
6471 * config/nvptx/reduction.c: New.
6472 * config/nvptx/t-nvptx (LIB2ADD): Add it.
6473
6474 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
6475
6476 * config/rs6000/on_exit.c: New file.
6477 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
6478 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
6479
6480 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
6481
6482 * config/arc/dp-hack.h: Add support for ARCHS.
6483 * config/arc/ieee-754/divdf3.S: Likewise.
6484 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6485 * config/arc/ieee-754/muldf3.S: Likewise.
6486 * config/arc/ieee-754/mulsf3.S: Likewise
6487 * config/arc/lib1funcs.S: Likewise
6488 * config/arc/gmon/dcache_linesz.S: Don't read the build register
6489 for ARCv2 cores.
6490 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
6491 for ARCv2 cores.
6492 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
6493 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
6494 cores.
6495
6496 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6497
6498 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
6499 value.
6500 * config/ia64/crtend.S: Likewise.
6501
6502 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6503
6504 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
6505 __CHAR_BIT__ instead of BITS_PER_UNIT.
6506 * fixed-bit.h: Likewise.
6507 * fp-bit.h: Likewise.
6508 * libgcc2.c (__popcountSI2): Likewise.
6509 (__popcountDI2): Likewise.
6510 * libgcc2.h: Likewise.
6511 * libgcov.h: Likewise.
6512
6513 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
6514
6515 * config/rs6000/atexit.c: New file.
6516 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
6517 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
6518 * config/rs6000/cxa_finalize.c
6519 (catomic_compare_and_exchange_bool_acq): Negate return value.
6520
6521 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
6522
6523 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
6524 (processor_subtypes): Add znver1.
6525 (get_amd_cpu): Detect znver1.
6526
6527 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
6528
6529 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
6530 Include crtfastmath.o.
6531
6532 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
6533
6534 PR libgcc/66883
6535 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
6536
6537 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
6538
6539 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
6540 * config/rl78/divmodsi.S: Update return register to r8.
6541 * config/rl78/divmodhi.S: Update return register to r8,r9.
6542 Branch to main_loop_done_himode to pop registers before return.
6543
6544 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
6545
6546 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
6547 (__cpu_indicator_init): Fix model selection for AMD CPUs.
6548
6549 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
6550
6551 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
6552
6553 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
6554
6555 * config.host (xtensa*-*-uclinux*): New configuration.
6556
6557 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
6558
6559 * config/i386/cpuinfo.c (processor_features): Add
6560 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
6561
6562 2015-09-28 Joseph Myers <joseph@codesourcery.com>
6563
6564 * soft-fp/adddf3.c: Update from glibc.
6565 * soft-fp/addsf3.c: Likewise.
6566 * soft-fp/addtf3.c: Likewise.
6567 * soft-fp/divdf3.c: Likewise.
6568 * soft-fp/divsf3.c: Likewise.
6569 * soft-fp/divtf3.c: Likewise.
6570 * soft-fp/double.h: Likewise.
6571 * soft-fp/eqdf2.c: Likewise.
6572 * soft-fp/eqsf2.c: Likewise.
6573 * soft-fp/eqtf2.c: Likewise.
6574 * soft-fp/extenddftf2.c: Likewise.
6575 * soft-fp/extended.h: Likewise.
6576 * soft-fp/extendsfdf2.c: Likewise.
6577 * soft-fp/extendsftf2.c: Likewise.
6578 * soft-fp/extendxftf2.c: Likewise.
6579 * soft-fp/fixdfdi.c: Likewise.
6580 * soft-fp/fixdfsi.c: Likewise.
6581 * soft-fp/fixdfti.c: Likewise.
6582 * soft-fp/fixsfdi.c: Likewise.
6583 * soft-fp/fixsfsi.c: Likewise.
6584 * soft-fp/fixsfti.c: Likewise.
6585 * soft-fp/fixtfdi.c: Likewise.
6586 * soft-fp/fixtfsi.c: Likewise.
6587 * soft-fp/fixtfti.c: Likewise.
6588 * soft-fp/fixunsdfdi.c: Likewise.
6589 * soft-fp/fixunsdfsi.c: Likewise.
6590 * soft-fp/fixunsdfti.c: Likewise.
6591 * soft-fp/fixunssfdi.c: Likewise.
6592 * soft-fp/fixunssfsi.c: Likewise.
6593 * soft-fp/fixunssfti.c: Likewise.
6594 * soft-fp/fixunstfdi.c: Likewise.
6595 * soft-fp/fixunstfsi.c: Likewise.
6596 * soft-fp/fixunstfti.c: Likewise.
6597 * soft-fp/floatdidf.c: Likewise.
6598 * soft-fp/floatdisf.c: Likewise.
6599 * soft-fp/floatditf.c: Likewise.
6600 * soft-fp/floatsidf.c: Likewise.
6601 * soft-fp/floatsisf.c: Likewise.
6602 * soft-fp/floatsitf.c: Likewise.
6603 * soft-fp/floattidf.c: Likewise.
6604 * soft-fp/floattisf.c: Likewise.
6605 * soft-fp/floattitf.c: Likewise.
6606 * soft-fp/floatundidf.c: Likewise.
6607 * soft-fp/floatundisf.c: Likewise.
6608 * soft-fp/floatunditf.c: Likewise.
6609 * soft-fp/floatunsidf.c: Likewise.
6610 * soft-fp/floatunsisf.c: Likewise.
6611 * soft-fp/floatunsitf.c: Likewise.
6612 * soft-fp/floatuntidf.c: Likewise.
6613 * soft-fp/floatuntisf.c: Likewise.
6614 * soft-fp/floatuntitf.c: Likewise.
6615 * soft-fp/gedf2.c: Likewise.
6616 * soft-fp/gesf2.c: Likewise.
6617 * soft-fp/getf2.c: Likewise.
6618 * soft-fp/ledf2.c: Likewise.
6619 * soft-fp/lesf2.c: Likewise.
6620 * soft-fp/letf2.c: Likewise.
6621 * soft-fp/muldf3.c: Likewise.
6622 * soft-fp/mulsf3.c: Likewise.
6623 * soft-fp/multf3.c: Likewise.
6624 * soft-fp/negdf2.c: Likewise.
6625 * soft-fp/negsf2.c: Likewise.
6626 * soft-fp/negtf2.c: Likewise.
6627 * soft-fp/op-1.h: Likewise.
6628 * soft-fp/op-2.h: Likewise.
6629 * soft-fp/op-4.h: Likewise.
6630 * soft-fp/op-8.h: Likewise.
6631 * soft-fp/op-common.h: Likewise.
6632 * soft-fp/quad.h: Likewise.
6633 * soft-fp/single.h: Likewise.
6634 * soft-fp/soft-fp.h: Likewise.
6635 * soft-fp/subdf3.c: Likewise.
6636 * soft-fp/subsf3.c: Likewise.
6637 * soft-fp/subtf3.c: Likewise.
6638 * soft-fp/truncdfsf2.c: Likewise.
6639 * soft-fp/trunctfdf2.c: Likewise.
6640 * soft-fp/trunctfsf2.c: Likewise.
6641 * soft-fp/trunctfxf2.c: Likewise.
6642 * soft-fp/unorddf2.c: Likewise.
6643 * soft-fp/unordsf2.c: Likewise.
6644 * soft-fp/unordtf2.c: Likewise.
6645
6646 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
6647
6648 PR libgcc/67624
6649 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
6650
6651 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6652
6653 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6654 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
6655 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
6656 messages.
6657 (internal_mcount): Likewise.
6658 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
6659 crt_compile, add CRTSTUFF_T_CFLAGS_S.
6660
6661 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6662
6663 * configure.ac (libgcc_cv_solaris_crts): New test.
6664 * configure: Regenerate.
6665 * config.in: Regenerate.
6666 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
6667 * config/gmon-sol2.c: Rename to ...
6668 * config/sol2/gmon.c: ... this.
6669 Include auto-target.h.
6670 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
6671 * config/t-sol2: Rename to ...
6672 * config/sol2/t-sol2: ... this.
6673 (gmon.o): Reflect renaming.
6674 (crtp.o, crtpg.o): New rules.
6675 * config.host (*-*-solaris2*): Reflect renaming.
6676 Use system CRTs if present.
6677 Remove default CRT case.
6678
6679 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
6680
6681 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
6682 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
6683 __kernel_cmpxchg2.
6684 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
6685 (__sync_val_compare_and_swap_##WIDTH): Likewise.
6686 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
6687 (__sync_lock_test_and_set_##WIDTH): Likewise.
6688 (__sync_lock_release_##WIDTH): Likewise.
6689 (__sync_fetch_and_##OP##_4): Change result to match type of
6690 __kernel_cmpxchg.
6691 (__sync_##OP##_and_fetch_4): Likewise.
6692 (__sync_val_compare_and_swap_4): Likewise.
6693 (__sync_bool_compare_and_swap_4): likewise.
6694 (__sync_lock_test_and_set_4): Likewise.
6695 (__sync_lock_release_4): Likewise.
6696 (FETCH_AND_OP_2): Add long long variants.
6697 (OP_AND_FETCH_2): Likewise.
6698 (COMPARE_AND_SWAP_2 ): Likewise.
6699 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6700 (SYNC_LOCK_RELEASE_2): Likewise.
6701 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
6702
6703 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
6704
6705 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
6706 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
6707 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
6708 (get_available_features): Habdle new features.
6709
6710 2015-09-21 James Bowman <james.bowman@ftdichip.com>
6711
6712 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
6713 memory layout. Deal correctly with BSS region larger than 32K.
6714 Handle a watchdog reset like a power-on reset. Clean up unused
6715 code.
6716
6717 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
6718 David Edelsohn <dje.gcc@gmail.com>
6719
6720 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6721 * config/rs6000/crtdbase.S: New file.
6722 * config/rs6000/t-aix-cxa: Build crtdbase.o.
6723
6724 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
6725
6726 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6727 Add support for call0 ABI.
6728
6729 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
6730
6731 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6732
6733 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
6734
6735 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6736 (__GTHREAD_HAS_COND): Likewise.
6737 (__gthread_t): Likewise.
6738 (__gthread_cond_t): Likewise.
6739 (__gthread_time_t): Likewise.
6740 (__GTHREAD_MUTEX_INIT): Likewise.
6741 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6742 (__GTHREAD_COND_INIT): Likewise.
6743 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6744 (__GTHREAD_TIME_INIT): Likewise.
6745 (__gthread_create): Likewise.
6746 (__gthread_join): Likewise.
6747 (__gthread_detach): Likewise.
6748 (__gthread_equal): Likewise.
6749 (__gthread_self): Likewise.
6750 (__gthread_yield): Likewise.
6751 (__gthread_cond_broadcast): Likewise.
6752 (__gthread_cond_signal): Likewise.
6753 (__gthread_cond_wait): Likewise.
6754 (__gthread_cond_timedwait): Likewise.
6755 (__gthread_cond_wait_recursive): Likewise.
6756 (__gthread_cond_destroy): Likewise.
6757 (rtems_gxx_once): Delete.
6758 (rtems_gxx_key_create): Likewise.
6759 (rtems_gxx_key_delete): Likewise.
6760 (rtems_gxx_getspecific): Likewise.
6761 (rtems_gxx_setspecific): Likewise.
6762 (rtems_gxx_mutex_init): Likewise.
6763 (rtems_gxx_mutex_destroy): Likewise.
6764 (rtems_gxx_mutex_lock): Likewise.
6765 (rtems_gxx_mutex_trylock): Likewise.
6766 (rtems_gxx_mutex_unlock): Likewise.
6767 (rtems_gxx_recursive_mutex_init): Likewise.
6768 (rtems_gxx_recursive_mutex_lock): Likewise.
6769 (rtems_gxx_recursive_mutex_trylock): Likewise.
6770 (rtems_gxx_recursive_mutex_unlock): Likewise.
6771 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6772 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6773 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6774 (__gthread_once): Likewise.
6775 (__gthread_key_create): Likewise.
6776 (__gthread_key_delete): Likewise.
6777 (__gthread_getspecific): Likewise.
6778 (__gthread_setspecific): Likewise.
6779 (__gthread_key_t): Use <pthread.h> type.
6780 (__gthread_once_t): Likewise
6781 (__gthread_mutex_t): Use <sys/lock.h> type.
6782 (__gthread_recursive_mutex_t): Likewise
6783 (__gthread_mutex_lock): Use <sys/lock.h> function.
6784 (__gthread_mutex_trylock): Likewise.
6785 (__gthread_mutex_timedlock): Likewise.
6786 (__gthread_mutex_unlock): Likewise.
6787 (__gthread_mutex_destroy): Likewise.
6788 (__gthread_recursive_mutex_lock): Likewise.
6789 (__gthread_recursive_mutex_trylock): Likewise.
6790 (__gthread_recursive_mutex_timedlock): Likewise.
6791 (__gthread_recursive_mutex_unlock): Likewise.
6792 (__gthread_recursive_mutex_destroy): Likewise.
6793
6794 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6795
6796 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6797 context->sp instead of context->cfa.
6798
6799 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6800
6801 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6802 with unwind-dw2-fde-dip.
6803
6804 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6805
6806 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6807 CALL12 followed by series of ENTRY to spill windowed registers.
6808 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6809 instead of making linux spill syscall.
6810
6811 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
6812
6813 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6814 (get_intel_cpu): Likewise.
6815
6816 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
6817
6818 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6819 (get_intel_cpu): Add Knights Landing support.
6820
6821 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
6822
6823 PR target/66954
6824 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6825 (get_available_features): Handle FEATURE_PCLMUL.
6826
6827 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
6828
6829 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6830 Broadwell.
6831
6832 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
6833
6834 PR target/66954
6835 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6836 (get_available_features): Handle FEATURE_AES.
6837
6838 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
6839
6840 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6841 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6842
6843 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
6844
6845 * offloadstuff.c: Constify host data.
6846
6847 2015-07-17 Jan Beulich <jbeulich@suse.com>
6848
6849 * config/t-softfp: Split up "else ifneq".
6850
6851 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
6852 Cesar Philippidis <cesar@codesourcery.com>
6853 Chung-Lin Tang <cltang@codesourcery.com>
6854
6855 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6856 for __nios2_arch__ level.
6857
6858 2015-07-13 John Marino <gnugcc@marino.st>
6859
6860 * config/i386/t-dragonfly: New.
6861
6862 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
6863
6864 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6865 better match light-weight syscall argument order.
6866 (__kernel_cmpxchg2): Likewise.
6867 Adjust callers.
6868
6869 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
6870
6871 * config.host: Support i[34567]86-*-elfiamcu target.
6872 * config/t-softfp-sfdftf: New file.
6873 * config/i386/32/t-iamcu: Likewise.
6874 * configure: Regenerated.
6875
6876 2015-06-23 James Lemke <jwlemke@codesourcery.com>
6877
6878 libgcc/config/arm/
6879 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6880
6881 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
6882
6883 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6884
6885 2015-05-27 John Marino <gnugcc@marino.st>
6886
6887 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6888 md_unwind_header
6889 * config/i386/freebsd-unwind.h: New.
6890
6891 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
6892
6893 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6894 i386/t-crtfm to tmake_file.
6895 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6896 (set_fast_math): Use set_fast_math_sse for SSE targets.
6897 * config/i386/t-crtfm: Remove.
6898
6899 2015-05-21 Alan Modra <amodra@gmail.com>
6900
6901 PR libgcc/66225
6902 * config/rs6000/morestack.S: Remove ".abiversion 1".
6903
6904 2015-05-20 Alan Modra <amodra@gmail.com>
6905
6906 * config/rs6000/morestack.S: New.
6907 * config/rs6000/t-stack-rs6000: New.
6908 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6909 to tmake_file.
6910 * generic-morestack.c: Don't build for powerpc 32-bit.
6911
6912 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
6913
6914 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6915 Remove useless endif/ifneq ($(enable_shared),yes) pair.
6916
6917 2015-05-16 James Bowman <james.bowman@ftdichip.com>
6918
6919 * config.host: FT32 target added.
6920 * config/ft32/*: New files for FT32 target.
6921
6922 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
6923
6924 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6925 New macros.
6926 * config/arm/ieee754-df.S: Add CFI directives.
6927 * config/arm/ieee754-sf.S: Add CFI directives.
6928
6929 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
6930
6931 * configure.ac: Include config/sjlj.m4.
6932 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6933 * config.in: Regenerate.
6934 * configure: Likewise.
6935 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6936
6937 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
6938
6939 * libgcov-util.c: Add space between string literal and macro name.
6940
6941 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
6942 Chris Jones <chrisj@nvidia.com>
6943 Joshua Conner <jconner@nvidia.com>
6944
6945 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6946 (arm*-*-uclinux*): Likewise.
6947 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6948 * config/arm/crtfastmath.c: New file.
6949
6950 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
6951
6952 * Makefile.in (real_host_noncanonical): New variable.
6953 (libsubdir): Use it.
6954 * configure.ac (real_host_noncanonical): Compute. Remove special
6955 case for intelmicemul.
6956 * configure: Regenerate.
6957
6958 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
6959
6960 * config/frv/elf-lib.h: New file.
6961 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6962 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6963 to tm_file.
6964
6965 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
6966
6967 * config/frv/frvbengin.c: Do not include defaults.h
6968 * config/frv/frvend.c: Ditto.
6969
6970 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
6971
6972 * config.host: Add h8300-*-linux
6973 * config/h8300/t-linux: New file.
6974 * config/h8300/lib1funs.s: Change symbol prefix.
6975 * config/h8300/sfp-machine.h: 64bit double support.
6976
6977 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
6978 Szabolcs Nagy <szabolcs.nagy@arm.com>
6979
6980 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6981 Linux if target provides dl_iterate_phdr.
6982
6983 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
6984
6985 PR target/65612
6986 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6987 * config/i386/cpuinfo.c (__cpu_model): Initialize.
6988 (__cpu_indicator_init@GCC_4.8.0): New.
6989 (__cpu_model@GCC_4.8.0): Likewise.
6990 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6991 -DUSE_ELF_SYMVER.
6992
6993 2015-04-16 Nick Clifton <nickc@redhat.com>
6994
6995 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6996 and __modhi3 functions.
6997 * config/rl78/divmodso.S: Add G14 and G13 versions of the
6998 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6999
7000 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
7001
7002 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
7003 do-while loop as macro body to avoid warnings.
7004
7005 2015-04-10 Jakub Jelinek <jakub@redhat.com>
7006 Iain Sandoe <iain@codesourcery.com>
7007
7008 PR target/65351
7009 * configure: Regenerate.
7010
7011 2015-04-07 Jakub Jelinek <jakub@redhat.com>
7012 Iain Sandoe <iain@codesourcery.com>
7013
7014 PR target/65351
7015 * configure: Regenerate.
7016
7017 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
7018
7019 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
7020
7021 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
7022
7023 Implement call0 ABI for xtensa
7024 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
7025 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
7026 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
7027 use ret in call0 ABI.
7028 * config/xtensa/t-windowed: New file.
7029 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
7030 * libgcc/configure: Regenerated.
7031 * libgcc/configure.ac: Check if xtensa target is configured for
7032 windowed ABI and thus needs to use custom unwind code.
7033
7034 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
7035
7036 PR libgcc/64885
7037 * gthr-single.h: Use __unused__ attribute instead of unused.
7038 * config/gthr-vxworks.h: Likewise.
7039 * config/i386/gthr-win32.h: Likewise.
7040
7041 2015-02-27 Kai Tietz <ktietz@redhat.com>
7042
7043 PR target/65038
7044 * config.in: Regenerated.
7045 * configure: Likewise.
7046 * configure.ac (AC_HEADER_STDC): Added explicit.
7047 (AC_CHECK_HEADERS): Check for default headers plus
7048 for ftw.h header.
7049 * libgcov-util.c (gcov_read_profile_dir): Disable use
7050 of ftw-function, if header is not found.
7051 (ftw_read_file): Likewise.
7052
7053 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
7054
7055 PR target/65181
7056 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
7057 -Dinhibit_libc.
7058
7059 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
7060
7061 * config/arm/bpabi.S (test_div_by_zero): Make label names
7062 consistent between thumb2 and arm mode cases. Separate the
7063 signed comparison on the high word of the numerator from the
7064 unsigned comparison on the low word.
7065 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
7066 signed comparison.
7067
7068 2015-02-17 Joseph Myers <joseph@codesourcery.com>
7069
7070 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
7071 and <string.h>.
7072 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
7073
7074 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
7075
7076 PR gcov-profile/61889
7077 * libgcov-driver-system.c: undefine clashing macro for mkdir.
7078
7079 2015-02-02 Nick Clifton <nickc@redhat.com>
7080
7081 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
7082 rounding up the fraction.
7083
7084 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
7085
7086 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
7087 oldval and newval to const void *. Fix typo.
7088 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
7089 (FETCH_AND_OP_WORD): Likewise.
7090 (OP_AND_FETCH_WORD): Likewise.
7091 (COMPARE_AND_SWAP_2): Likewise.
7092 (__sync_val_compare_and_swap_4): Likewise.
7093 (__sync_lock_test_and_set_4): Likewise.
7094 (SYNC_LOCK_RELEASE_2): Likewise.
7095 Remove support for long long atomic operations.
7096
7097 2015-01-27 Caroline Tice <cmtice@google.com>
7098
7099 Committing VTV Cywin/Ming patch for Patrick Wollgast
7100 * Makefile.in: Move rules to build vtv_*.o out of the check
7101 for CUSTOM_CRTSTUFF.
7102 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
7103 i[34567]86-*-mingw*)
7104 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
7105 enable_vtable_verify.
7106
7107 2015-01-27 Nick Clifton <nickc@redhat.com>
7108
7109 * config/rl78/cmpsi2.S: Use function start and end macros.
7110 (__gcc_bcmp): New function.
7111 * config/rl78/lshrsi3.S: Use function start and end macros.
7112 * config/rl78/mulsi3.S: Add support for G10.
7113 (__mulqi3): New function for G10.
7114 * config/rl78/signbit.S: Use function start and end macros.
7115 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
7116 fpmath-sf.S.
7117 (LIB2FUNCS_EXCLUDE): Define.
7118 (LIB2FUNCS_ST): Define.
7119 * config/rl78/trampoline.S: Use function start and end macros.
7120 * config/rl78/vregs.h (START_FUNC): New macro.
7121 (START_ANOTHER_FUNC): New macro.
7122 (END_FUNC): New macro.
7123 (END_ANOTHER_FUNC): New macro.
7124 * config/rl78/bit-count.S: New file. Contains assembler
7125 implementations of the bit counting functions: ___clzhi2,
7126 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
7127 __paritysi2, __popcounthi2 and __popcountsi2.
7128 * config/rl78/fpbit-sf.S: New file. Contains assembler
7129 implementationas of the math functions: __negsf2, __cmpsf2,
7130 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
7131 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
7132 * config/rl78/fpmath-sf.S: New file. Contains assembler
7133 implementations of the math functions: __subsf3, __addsf3,
7134 __mulsf3 and __divsf3
7135
7136 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7137
7138 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
7139 Add i386/elf-lib.h to tm_file.
7140 * config/i386/elf-lib.h: Fix comment.
7141 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
7142 && __sun__ && __svr4__]: Remove workaround.
7143
7144 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
7145
7146 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
7147 FEATURE_BMI2.
7148 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
7149
7150 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
7151
7152 * config/i386/cpuinfo.c (processor_subtypes): Add
7153 INTEL_COREI7_BROADWELL.
7154 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
7155 model numbers.
7156
7157 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
7158
7159 * config/i386/elf-lib.h: New file.
7160 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
7161 Wrap definition in #ifdef __i386__.
7162 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7163 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
7164 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
7165 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
7166 to tm_file.
7167
7168 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
7169
7170 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
7171 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
7172
7173 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
7174
7175 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
7176 Update rt_sigframe format and address for current Nios II
7177 Linux conventions.
7178
7179 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
7180
7181 * config.host (arm*-*-freebsd*): Add new configuration for
7182 arm*-*-freebsd*.
7183 * config/arm/freebsd-atomic.c: New file.
7184 * config/arm/t-freebsd: Likewise.
7185 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
7186 'PC-relative indirect' OS's.
7187
7188 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
7189
7190 * config.host: Add Visium support.
7191 * config/visium: New directory.
7192
7193 2015-01-05 Jakub Jelinek <jakub@redhat.com>
7194
7195 Update copyright years.
7196
7197 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
7198
7199 * config.host: Support mipsisa32r6 and mipsisa64r6.
7200 * config/mips/mips16.S: Do not build for R6.
7201
7202 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
7203
7204 * config/sh/crt.h: New.
7205 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
7206 symbols.
7207 * config/sh/crt1.S: Likewise.
7208
7209 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
7210
7211 PR libgcc/63832
7212 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
7213 func_ptr *dtor_list temporary variable to avoid "array subscript
7214 is above array bounds" warnings.
7215
7216 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
7217
7218 * Makefile.in (with_aix_soname): Define.
7219 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
7220 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
7221 * configure: Recreate.
7222
7223 2014-12-05 Olivier Hainque <hainque@adacore.com>
7224
7225 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
7226 now provided by defaults.h.
7227
7228 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
7229
7230 PR target/55351
7231 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
7232 whether it's defined.
7233
7234 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
7235
7236 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
7237 * config/i386/cpuinfo.c (get_available_features): Detect it.
7238
7239 2014-11-27 Tony Wang <tony.wang@arm.com>
7240
7241 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
7242 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
7243 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
7244
7245 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
7246
7247 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
7248
7249 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
7250
7251 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
7252 instead.
7253
7254 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
7255 John David Anglin <danglin@gcc.gnu.org>
7256
7257 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
7258 (FETCH_AND_OP_2): New. Use for subword and double word operations.
7259 (OP_AND_FETCH_2): Likewise.
7260 (COMPARE_AND_SWAP_2): Likewise.
7261 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
7262 (SYNC_LOCK_RELEASE_2): Likewise.
7263 (SUBWORD_SYNC_OP): Remove.
7264 (SUBWORD_VAL_CAS): Likewise.
7265 (SUBWORD_BOOL_CAS): Likewise.
7266 (FETCH_AND_OP_WORD): Update.
7267 Consistently use signed types.
7268
7269 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
7270 Thomas Schwinge <thomas@codesourcery.com>
7271 Ilya Verbin <ilya.verbin@intel.com>
7272 Andrey Turetskiy <andrey.turetskiy@intel.com>
7273
7274 * Makefile.in (crtoffloadbegin$(objext)): New rule.
7275 (crtoffloadend$(objext)): Likewise.
7276 * configure: Regenerate.
7277 * configure.ac (accel_dir_suffix): Compute new variable.
7278 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
7279 if enable_offload_targets is not empty.
7280 * offloadstuff.c: New file.
7281
7282 2014-11-13 Nick Clifton <nickc@redhat.com>
7283
7284 * config/rl78/divmodhi.S: Add support for the G10 architecture.
7285 Use START_FUNC and END_FUNC macros to enable linker garbage
7286 collection.
7287 * config/rl78/divmodqi.S: Likewise.
7288 * config/rl78/divmodsi.S: Likewise.
7289 * config/rl78/mulsi3.S: Likewise.
7290 * config/rl78/lib2div.c: Remove G10 functions.
7291 * config/rl78/lib2muls.c: Likewise.
7292 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
7293 * config/rl78/vregs.h (START_FUNC): New macro.
7294 (END_FUNC): New macro.
7295
7296 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
7297
7298 * config/mips/mips16.S: Set .module when supported. Update O32
7299 FP64 calling convention and use for FPXX when possible. Add FPXX
7300 calling convention fallback case.
7301
7302 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
7303
7304 * config.host: Handle nvptx-*-*.
7305 * shared-object.mk (as-flags-$o): Define.
7306 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
7307 -xassembler-with-cpp.
7308 * static-object.mk: Identical changes.
7309 * config/nvptx/t-nvptx: New file.
7310 * config/nvptx/crt0.s: New file.
7311 * config/nvptx/free.asm: New file.
7312 * config/nvptx/malloc.asm: New file.
7313 * config/nvptx/realloc.c: New file.
7314
7315 2014-10-30 Joseph Myers <joseph@codesourcery.com>
7316
7317 * Makefile.in (libgcc.map.in): New target.
7318 (libgcc.map): Use libgcc.map.in.
7319 * config/t-softfp (softfp_compat): New variable to be set by
7320 users.
7321 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
7322 variables.
7323 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
7324 directory.
7325 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
7326 that use compat symbols and disable all code unless [SHARED].
7327 * config/t-softfp-compat: New file.
7328 * find-symver.awk: New file.
7329 * configure.ac (--with-glibc-version): New configure option.
7330 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
7331 * configure: Regenerate.
7332 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
7333 soft-float and e500.
7334
7335 2014-10-29 Joseph Myers <joseph@codesourcery.com>
7336
7337 * config/t-hardfp (hardfp_exclusions): Document new variable for
7338 user to define.
7339 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
7340 * config/t-softfp (softfp_extras): Document new variable for user
7341 to define.
7342 (softfp_func_list): Add functions from $(softfp_extras).
7343 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
7344 * config.host (powerpc*-*-linux*): For e500v1, use
7345 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
7346 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
7347 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
7348
7349 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
7350
7351 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
7352 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
7353 memory read accesses are ok.
7354
7355 2014-10-25 Joseph Myers <joseph@codesourcery.com>
7356
7357 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
7358 * configure: Regenerate.
7359 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
7360 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
7361 of soft-fp for 32-bit classic hard float. Do not use
7362 t-softfp-excl for soft float.
7363
7364 2014-10-22 Joseph Myers <joseph@codesourcery.com>
7365
7366 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
7367 configurations.
7368 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
7369 Remove variables.
7370
7371 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
7372
7373 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
7374 introduced with 2014-10-21 trunk r216525.
7375
7376 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7377 Vidya Praveen <vidya.praveen@atmel.com>
7378 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
7379 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
7380 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
7381
7382 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
7383 order.
7384
7385 Updated library functions for AVRTINY arch.
7386 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
7387 Replaced occurrences of r0/r1 with tmp/zero reg macros.
7388 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
7389 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
7390 wsubi/wadi macors.
7391 (__mulsi3_helper): Update stack, preserve callee saved regs and
7392 argument from stack. Restore callee save registers.
7393 (__mulpsi3): Likewise.
7394 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
7395 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
7396 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
7397 AVRTINY.
7398 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
7399 (__do_copy_data): Added new definition for AVRTINY.
7400 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
7401 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
7402 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
7403 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
7404 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
7405 macors.
7406 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
7407 AVRTINY.
7408
7409 Fix broken long multiplication on tiny arch.
7410
7411 2014-10-09 Joseph Myers <joseph@codesourcery.com>
7412
7413 * soft-fp/double.h: Update from glibc.
7414 * soft-fp/eqdf2.c: Likewise.
7415 * soft-fp/eqsf2.c: Likewise.
7416 * soft-fp/eqtf2.c: Likewise.
7417 * soft-fp/extenddftf2.c: Likewise.
7418 * soft-fp/extended.h: Likewise.
7419 * soft-fp/extendsfdf2.c: Likewise.
7420 * soft-fp/extendsftf2.c: Likewise.
7421 * soft-fp/extendxftf2.c: Likewise.
7422 * soft-fp/gedf2.c: Likewise.
7423 * soft-fp/gesf2.c: Likewise.
7424 * soft-fp/getf2.c: Likewise.
7425 * soft-fp/ledf2.c: Likewise.
7426 * soft-fp/lesf2.c: Likewise.
7427 * soft-fp/letf2.c: Likewise.
7428 * soft-fp/op-1.h: Likewise.
7429 * soft-fp/op-2.h: Likewise.
7430 * soft-fp/op-4.h: Likewise.
7431 * soft-fp/op-8.h: Likewise.
7432 * soft-fp/op-common.h: Likewise.
7433 * soft-fp/quad.h: Likewise.
7434 * soft-fp/single.h: Likewise.
7435 * soft-fp/soft-fp.h: Likewise.
7436 * soft-fp/unorddf2.c: Likewise.
7437 * soft-fp/unordsf2.c: Likewise.
7438 * soft-fp/unordtf2.c: Likewise.
7439 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
7440 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
7441 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
7442 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
7443 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
7444 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
7445 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
7446 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
7447 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
7448 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
7449
7450 2014-10-08 Rong Xu <xur@google.com>
7451
7452 * libgcov-util.c (read_gcda_file): Fix format.
7453 (find_match_gcov_info): Ditto.
7454 (calculate_2_entries): New.
7455 (compute_one_gcov): Ditto.
7456 (gcov_info_count_all_cold): Ditto.
7457 (gcov_info_count_all_zero): Ditto.
7458 (extract_file_basename): Ditto.
7459 (get_file_basename): Ditto.
7460 (set_flag): Ditto.
7461 (matched_gcov_info): Ditto.
7462 (calculate_overlap): Ditto.
7463 (gcov_profile_overlap): Ditto.
7464 * libgcov-driver.c (compute_summary): Make
7465 it avavilable for external calls.
7466
7467 2014-10-06 Rong Xu <xur@google.com>
7468
7469 * Makefile.in: Ditto.
7470 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
7471 (gcov_sort_icall_topn_counter): Ditto.
7472 (gcov_sort_topn_counter_arrays): Ditto.
7473 (dump_one_gcov): Sort indirect_call topn counters.
7474 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
7475 function.
7476 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
7477 utility function.
7478 (__gcov_indirect_call_topn_profiler): New profiler function.
7479 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
7480 * libgcov.h: New decls.
7481
7482 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
7483
7484 * config.host: Remove support for score-*.
7485
7486 2014-09-22 Joseph Myers <joseph@codesourcery.com>
7487
7488 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7489 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
7490 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
7491 __LIBGCC_XF_MANT_DIG__.
7492 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
7493 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
7494 __LIBGCC_TF_MANT_DIG__.
7495 * libgcc2.c (NOTRUNC): Define in terms of
7496 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
7497 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7498
7499 2014-09-22 Joseph Myers <joseph@codesourcery.com>
7500
7501 PR target/63312
7502 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
7503 New macros.
7504
7505 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
7506
7507 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
7508 override USE_PT_GNU_EH_FRAME.
7509 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
7510 check USE_EH_FRAME_REGISTRY_ALWAYS against
7511 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
7512 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
7513 variable for substituted force_explicit_eh_registry.
7514 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
7515 * configure.ac (explicit-exception-frame-registration):
7516 New AC_ARG_ENABLE.
7517 * configure: Regenerate.
7518
7519 2014-09-19 Olivier Hainque <hainque@adacore.com>
7520
7521 * config.host (powerpc-wrs-vxworksmils): New configuration,
7522 same as vxworksae.
7523
7524 2014-09-18 Joseph Myers <joseph@codesourcery.com>
7525
7526 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
7527
7528 2014-09-18 Joseph Myers <joseph@codesourcery.com>
7529
7530 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
7531 bits not set bits as indicating trapping exceptions.
7532
7533 2014-09-17 Nathan sidwell <nathan@acm.org>
7534
7535 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
7536 (LIBGCOV_DRIVER): ... here.
7537 * libgcov-driver.c (gcov_master): New.
7538 (gcov_exit): Remove from master chain.
7539 (__gcov_init): Add to master chain if version compatible. Don't
7540 clear the version.
7541 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
7542 (gcov_reset_int): Clear master chain, if compatible.
7543 (gcov_dump_int): New internal interface. Dump master chain, if
7544 compatible.
7545 (gcov_dump): Alias for gcov_dump_int.
7546 * libgcov.h (struct gcov_root): Add next and prev fields.
7547 (struct gcov_master): New struct.
7548 (__gcov_master): New.
7549 (gcov_dump_int): Declare.
7550
7551 2014-09-17 Olivier Hainque <hainque@adacore.com>
7552
7553 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
7554 and crtbegin.o + crtend.o to extra_parts.
7555
7556 2014-09-12 Joseph Myers <joseph@codesourcery.com>
7557
7558 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
7559 __LIBGCC_HAS_SF_MODE__.
7560 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7561 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7562 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7563 * config/libbid/bid_gcc_intrinsics.h
7564 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7565 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7566 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7567 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7568 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
7569 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7570
7571 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
7572
7573 PR target/63223
7574 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
7575 and R24 as needed. Make work for all devices and .text locations.
7576 (__do_global_ctors, __do_global_dtors): Use word addresses.
7577 (__tablejump__, __tablejump_elpm__): Remove functions.
7578 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
7579 Add _tablejump2.
7580 (XICALL, XIJMP): New macros.
7581
7582 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
7583 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7584
7585 * config.host (aarch64*): Include crtfastmath.o and
7586 t-crtfm.
7587 * config/aarch64/crtfastmath.c: New file.
7588
7589 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
7590
7591 * config.host: Remove picochip support.
7592 * config/picochip/adddi3.S: Remove.
7593 * config/picochip/ashlsi3.S: Remove.
7594 * config/picochip/ashlsi3.c: Remove.
7595 * config/picochip/ashrsi3.S: Remove.
7596 * config/picochip/ashrsi3.c: Remove.
7597 * config/picochip/clzsi2.S: Remove.
7598 * config/picochip/cmpsi2.S: Remove.
7599 * config/picochip/divmod15.S: Remove.
7600 * config/picochip/divmodhi4.S: Remove.
7601 * config/picochip/divmodsi4.S: Remove.
7602 * config/picochip/lib1funcs.S: Remove.
7603 * config/picochip/longjmp.S: Remove.
7604 * config/picochip/lshrsi3.S: Remove.
7605 * config/picochip/lshrsi3.c: Remove.
7606 * config/picochip/parityhi2.S: Remove.
7607 * config/picochip/popcounthi2.S: Remove.
7608 * config/picochip/setjmp.S: Remove.
7609 * config/picochip/subdi3.S: Remove.
7610 * config/picochip/t-picochip: Remove.
7611 * config/picochip/ucmpsi2.S: Remove.
7612 * config/picochip/udivmodhi4.S: Remove.
7613 * config/picochip/udivmodsi4.S: Remove.
7614
7615 2014-09-08 Joseph Myers <joseph@codesourcery.com>
7616
7617 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
7618 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
7619 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
7620 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
7621 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
7622 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
7623 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
7624 defined and LIBGCC2_HAS_DF_MODE is defined.
7625 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
7626 defined and LIBGCC2_HAS_XF_MODE is defined.
7627 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
7628 defined and LIBGCC2_HAS_TF_MODE is defined.
7629
7630 2014-09-08 Joseph Myers <joseph@codesourcery.com>
7631
7632 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
7633 and ROUND_TOWARDS_ZERO conditionals.
7634
7635 2014-09-07 Nathan sidwell <nathan@acm.org>
7636
7637 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
7638 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
7639
7640 2014-09-05 Joseph Myers <joseph@codesourcery.com>
7641
7642 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
7643 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7644 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7645 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7646 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7647 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7648 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7649 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
7650 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
7651 (DWARF_FRAME_REGISTERS): Change all uses to
7652 __LIBGCC_DWARF_FRAME_REGISTERS__.
7653 (EH_RETURN_STACKADJ_RTX): Change all uses to
7654 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7655 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
7656 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
7657 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
7658 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
7659 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
7660 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
7661 to __LIBGCC_EH_FRAME_SECTION_NAME__.
7662 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
7663 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
7664 __LIBGCC_STACK_POINTER_REGNUM__.
7665 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7666 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7667 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7668 to __LIBGCC_STACK_POINTER_REGNUM__.
7669 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7670 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7671 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7672 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7673 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7674 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7675 (STACK_POINTER_REGNUM): Change all uses to
7676 __LIBGCC_STACK_POINTER_REGNUM__.
7677 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
7678 use to __LIBGCC_STACK_POINTER_REGNUM__.
7679 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7680 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7681 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
7682 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7683 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
7684 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7685 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7686 to __LIBGCC_STACK_POINTER_REGNUM__.
7687 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
7688 Remove conditional definition.
7689 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
7690 __LIBGCC_TEXT_SECTION_ASM_OP__.
7691 (EH_FRAME_SECTION_NAME): Change all uses to
7692 __LIBGCC_EH_FRAME_SECTION_NAME__.
7693 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
7694 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
7695 (CTORS_SECTION_ASM_OP): Change all uses to
7696 __LIBGCC_CTORS_SECTION_ASM_OP__.
7697 (DTORS_SECTION_ASM_OP): Change all uses to
7698 __LIBGCC_DTORS_SECTION_ASM_OP__.
7699 (JCR_SECTION_NAME): Change all uses to
7700 __LIBGCC_JCR_SECTION_NAME__.
7701 (INIT_SECTION_ASM_OP): Change all uses to
7702 __LIBGCC_INIT_SECTION_ASM_OP__.
7703 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7704 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7705 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
7706 __LIBGCC_STACK_GROWS_DOWNWARD__.
7707 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
7708 __LIBGCC_INIT_SECTION_ASM_OP__.
7709 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7710 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7711 (EH_FRAME_SECTION_NAME): Change all uses to
7712 __LIBGCC_EH_FRAME_SECTION_NAME__.
7713 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
7714 definitions. Change all uses to
7715 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
7716 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
7717 __LIBGCC_STACK_GROWS_DOWNWARD__.
7718 (DWARF_FRAME_REGISTERS): Change all uses to
7719 __LIBGCC_DWARF_FRAME_REGISTERS__.
7720 (EH_RETURN_STACKADJ_RTX): Change all uses to
7721 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7722 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7723 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7724 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7725 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7726 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7727
7728 2014-09-02 Nathan sidwell <nathan@acm.org>
7729
7730 * libgcov-interface.c (STRONG_ALIAS): New.
7731 (__gcov_flush): Call __gcov_reset_int.
7732 (__gcov_reset): Strong alias for ...
7733 (__gcov_reset_ing): ... this renamed hidden version.
7734 * libgcov.h (__gcov_reset_int): New declaration.
7735
7736 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
7737
7738 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7739 call from here...
7740 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7741 (__dso_handle): Define on Cygwin.
7742 * config/i386/t-cygming (crtbeginS.o): New rule.
7743 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7744
7745 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7746 declaration syntax.
7747
7748 2014-08-13 Steve Ellcey <sellcey@mips.com>
7749
7750 * crtstuff.c: Undef caddr_t.
7751
7752 2014-08-12 Steve Ellcey <sellcey@mips.com>
7753
7754 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
7755
7756 2014-08-07 Nathan Sidwell <nathan@acm.org>
7757
7758 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7759 (LIBGCOV_DRIVER): ... to here.
7760 * libgcov.h (gcov_do_dump): New #define.
7761 (struct gcov_root): New.
7762 (__gcov_root): New declaration.
7763 (__gcov_dump_one): Declare.
7764 * libgcov-driver.c (gcov_list, gcov_dump_complete,
7765 run_accounted): Delete.
7766 (gcov_compute_histogram): Add LIST argument, adjust.
7767 (compute_summary): Adjust gcov_compute_histogram call.
7768 (gcov_do_dump): Not hidden, static in libgcov.
7769 (gcov_clear): Move to interface.c.
7770 (__gcov_dump_one): New, broken out of ...
7771 (gcov_exit): ... here. Make static.
7772 (__gcov_root): New.
7773 (__gcov_init): Adjust.
7774 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7775 declarations.
7776 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7777 (gcov_clear): Moved from driver.c. Add LIST argument.
7778 (__gcov_reset): Adjust for changed interfaces.
7779 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7780
7781 2014-08-04 Rohit <rohitarulraj@freescale.com>
7782
7783 PR target/60102
7784 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
7785 based on change in SPE high register numbers and 3 HTM registers.
7786
7787 2014-08-01 Nathan Sidwell <nathan@acm.org>
7788
7789 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7790 LIBGCOV_INTERFACE): Reformat.
7791 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7792 IN_GCOV_TOOL.
7793 * libgcov-interface.c: Reformat some comments.
7794 (__gcov_flush_mx): Add declaration. Tidy up definition.
7795
7796 2014-07-31 Alan Modra <amodra@gmail.com>
7797 Peter Bergner <bergner@vnet.ibm.com>
7798
7799 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7800 (pack_ldouble): New function.
7801 (__gcc_qadd): Use it.
7802 (__gcc_qmul): Likewise.
7803 (__gcc_qdiv): Likewise.
7804 (__gcc_qneg): Likewise.
7805 (__gcc_stoq): Likewise.
7806 (__gcc_dtoq): Likewise.
7807
7808 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
7809
7810 * config/s390/tpf-unwind.h: Include <stdbool.h>.
7811 (__tpf_eh_return): Add original return address as second parameter.
7812 Handle cases where unwinder routines were called directly, instead
7813 of from within the C++ library.
7814
7815 2014-07-29 Nathan Sidwell <nathan@acm.org>
7816
7817 * libgcov.h: Move renaming of entry points to lib gcov specific
7818 portion.
7819 (gcov_do_dump): New rename.
7820 (gcov_rewrite): Remove inline, make HIDDEN.
7821 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7822 (gcov_exit_compute_summary): Rename to ...
7823 (compute_summary): ... here. Add LIST argument.
7824 (gcov_exit_merge_gcda): Rename to ...
7825 (merge_one_data): ... here.
7826 (gcov_exit_write_gcda): Rename to ...
7827 (write_one_data): ... here.
7828 (gcov_exit_merge_summary): Rename to ...
7829 (merge_summary): Add RUN_COUNTED argument.
7830 (gcov_exit_dump_gcov): Rename to ...
7831 (dump_one_gcov): Add RUN_COUNTED argument.
7832 (gcov_do_dump): New function, broken out of ...
7833 (gcov_exit): ... here. Call it.
7834
7835 2014-07-27 Anthony Green <green@moxielogic.com>
7836
7837 * config.host: Add moxiebox configuration suppport.
7838
7839 2014-07-27 Nathan Sidwell <nathan@acm.org>
7840
7841 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7842 (struct gcov_filename): ... here. Include buffer and max length
7843 fields.
7844 (gcov_max_filename): Remove.
7845 (gi_filename): Remove.
7846 (gcov_exit_compute_summary): Compute max filename here.
7847 (gcov_exit_merge_gcda): Add filename parm, adjust.
7848 (gcov_exit_merge_summary): Likewise.
7849 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7850 (gcov_exit): Likewise.
7851 (__gcov_init): Don't calculate max length here.
7852 * libgcov_util.c (max_filename_len): Remove.
7853 (read_gcda_file): Don't calculate max length here.
7854 (gcov_read_profile_dir): Don't propagate here.
7855 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7856 struct gcov_filename changes.
7857 (gcov_exit_open_gcda_file): Likewise.
7858
7859 2014-07-25 Nathan Sidwell <nathan@acm.org>
7860
7861 * libgcov-driver.c (set_gcov_dump_complete,
7862 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7863 functions polluting user's namespace.
7864 (gcov_exit): Set variable directly.
7865 (gcov_clear): Reset variable directly.
7866 * libgcov-interface.c (get_gcov_dymp_complete,
7867 reset_gov_dump_complete): Remove declarations.
7868 (__gcov_reset, __gcov_dump): Don't call them.
7869
7870 2014-07-24 DJ Delorie <dj@redhat.com>
7871
7872 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
7873 (__gcc_deregister_frame): Move logic to detect deregister function
7874 to ...
7875 (__gcc_register_frame): here, so it's consistent with the register
7876 logic.
7877
7878 2014-07-23 Nathan Sidwell <nathan@acm.org>
7879
7880 * libgcov-driver.c (set_gcov_list): Remove.
7881 (gcov_list): Make non-static in GCOV_TOOL.
7882 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7883
7884 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
7885
7886 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7887 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7888 Don't use SYNC_LOCK_RELEASE for int type.
7889
7890 2014-07-14 Richard Biener <rguenther@suse.de>
7891
7892 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7893
7894 2014-07-11 Rong Xu <xur@google.com>
7895
7896 * libgcov-util.c (gcov_max_filename): Fix declartion.
7897
7898 2014-07-10 Rong Xu <xur@google.com>
7899
7900 Add gcov-tool: an offline gcda profile processing tool
7901 Support.
7902 * libgcov-driver.c (gcov_max_filename): Make available
7903 to gcov-tool.
7904 * libgcov-merge.c (__gcov_merge_add): Replace
7905 gcov_read_counter() with a Macro.
7906 (__gcov_merge_ior): Ditto.
7907 (__gcov_merge_time_profile): Ditto.
7908 (__gcov_merge_single): Ditto.
7909 (__gcov_merge_delta): Ditto.
7910 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7911 in the utility functions.
7912 (set_fn_ctrs): Utility function for reading gcda files to in-memory
7913 gcov_list object link lists.
7914 (tag_function): Ditto.
7915 (tag_blocks): Ditto.
7916 (tag_arcs): Ditto.
7917 (tag_lines): Ditto.
7918 (tag_counters): Ditto.
7919 (tag_summary): Ditto.
7920 (read_gcda_finalize): Ditto.
7921 (read_gcda_file): Ditto.
7922 (ftw_read_file): Ditto.
7923 (read_profile_dir_init): Ditto.
7924 (gcov_read_profile_dir): Ditto.
7925 (gcov_read_counter_mem): Ditto.
7926 (gcov_get_merge_weight): Ditto.
7927 (merge_wrapper): A wrapper function that calls merging handler.
7928 (gcov_merge): Merge two gcov_info objects with weights.
7929 (find_match_gcov_info): Find the matched gcov_info in the list.
7930 (gcov_profile_merge): Merge two gcov_info object lists.
7931 (__gcov_add_counter_op): Process edge profile counter values.
7932 (__gcov_ior_counter_op): Process IOR profile counter values.
7933 (__gcov_delta_counter_op): Process delta profile counter values.
7934 (__gcov_single_counter_op): Process single profile counter values.
7935 (fp_scale): Callback function for float-point scaling.
7936 (int_scale): Callback function for integer fraction scaling.
7937 (gcov_profile_scale): Scaling profile counters.
7938 (gcov_profile_normalize): Normalize profile counters.
7939 * libgcov.h: Add headers and functions for gcov-tool use.
7940 (gcov_get_counter): New.
7941 (gcov_get_counter_target): Ditto.
7942 (struct gcov_info): Make the functions field mutable in gcov-tool
7943 compilation.
7944
7945 2014-06-23 Kai Tietz <ktietz@redhat.com>
7946
7947 PR libgcc/61585
7948 * unwind-seh.c (_Unwind_GetGR): Check for proper
7949 index range.
7950 (_Unwind_SetGR): Likewise.
7951
7952 2014-05-22 Nick Clifton <nickc@redhat.com>
7953
7954 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7955 -mhwmult=none.
7956
7957 2014-05-22 Teresa Johnson <tejohnson@google.com>
7958
7959 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7960 include.
7961
7962 2014-05-20 John Marino <gnugcc@marino.st>
7963
7964 * config.host (*-*-dragonfly*): New target.
7965 * crtstuff.c: Make dl_iterate_support generic on *bsd.
7966 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7967 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7968 * config/i386/dragonfly-unwind.h: New.
7969
7970 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7971
7972 PR libgcc/60166
7973 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7974 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7975
7976 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
7977
7978 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7979 implementation.
7980
7981 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
7982
7983 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7984
7985 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7986
7987 PR libgcc/61097
7988 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7989 if --enable-shared.
7990
7991 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
7992
7993 Work around for current cygwin32 build problems.
7994 * config/i386/cygming-crtbegin.c (__register_frame_info,
7995 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7996 functions only for 64-bit systems.
7997
7998 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7999
8000 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
8001 (sigill_caught, sigill_hdlr): Remove.
8002
8003 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8004
8005 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
8006 check.
8007 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
8008 Solaris 9 single-threaded support.
8009 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
8010 Solaris 9 single-threaded support. Add call_user_handler code
8011 sequences.
8012 (sparc_is_sighandler): Likewise.
8013
8014 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8015
8016 * config.host: Append t-floattodi to tmake_file depending on
8017 host_address.
8018
8019 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
8020
8021 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
8022
8023 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
8024
8025 PR libgcc/60472
8026 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
8027 variable to avoid "array subscript is above array bounds" warnings.
8028 Use __builtin_expect when checking *jcr_list for NULL.
8029
8030 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8031
8032 PR libgcc/59339
8033 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
8034 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
8035 vtv_*.o to extra_parts if enable_vtable_verify.
8036
8037 2014-03-06 Nick Clifton <nickc@redhat.com>
8038
8039 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
8040 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
8041
8042 2014-02-28 Joey Ye <joey.ye@arm.com>
8043
8044 PR libgcc/60166
8045 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
8046 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
8047 Set to zero.
8048
8049 2014-02-24 Walter Lee <walt@tilera.com>
8050
8051 * config.host: Support "tilegx*" and "tilepro*" triplets.
8052 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
8053 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
8054
8055 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
8056 Chung-Lin Tang <cltang@codesourcery.com>
8057
8058 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
8059 * config/nios2/crti.S: Remove .file directive.
8060 * config/nios2/crtn.S: Likewise.
8061
8062 2014-02-18 Kai Tietz <ktietz@redhat.com>
8063 Jonathan Schleifer <js@webkeks.org>
8064
8065 PR objc/56870
8066 * unwind-seh.c (_GCC_specific_handler): Pass proper
8067 value to unwind-handler.
8068
8069 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8070
8071 * soft-fp/adddf3.c: Update from glibc.
8072 * soft-fp/addsf3.c: Likewise.
8073 * soft-fp/addtf3.c: Likewise.
8074 * soft-fp/divdf3.c: Likewise.
8075 * soft-fp/divsf3.c: Likewise.
8076 * soft-fp/divtf3.c: Likewise.
8077 * soft-fp/double.h: Likewise.
8078 * soft-fp/eqdf2.c: Likewise.
8079 * soft-fp/eqsf2.c: Likewise.
8080 * soft-fp/eqtf2.c: Likewise.
8081 * soft-fp/extenddftf2.c: Likewise.
8082 * soft-fp/extended.h: Likewise.
8083 * soft-fp/extendsfdf2.c: Likewise.
8084 * soft-fp/extendsftf2.c: Likewise.
8085 * soft-fp/extendxftf2.c: Likewise.
8086 * soft-fp/fixdfdi.c: Likewise.
8087 * soft-fp/fixdfsi.c: Likewise.
8088 * soft-fp/fixdfti.c: Likewise.
8089 * soft-fp/fixsfdi.c: Likewise.
8090 * soft-fp/fixsfsi.c: Likewise.
8091 * soft-fp/fixsfti.c: Likewise.
8092 * soft-fp/fixtfdi.c: Likewise.
8093 * soft-fp/fixtfsi.c: Likewise.
8094 * soft-fp/fixtfti.c: Likewise.
8095 * soft-fp/fixunsdfdi.c: Likewise.
8096 * soft-fp/fixunsdfsi.c: Likewise.
8097 * soft-fp/fixunsdfti.c: Likewise.
8098 * soft-fp/fixunssfdi.c: Likewise.
8099 * soft-fp/fixunssfsi.c: Likewise.
8100 * soft-fp/fixunssfti.c: Likewise.
8101 * soft-fp/fixunstfdi.c: Likewise.
8102 * soft-fp/fixunstfsi.c: Likewise.
8103 * soft-fp/fixunstfti.c: Likewise.
8104 * soft-fp/floatdidf.c: Likewise.
8105 * soft-fp/floatdisf.c: Likewise.
8106 * soft-fp/floatditf.c: Likewise.
8107 * soft-fp/floatsidf.c: Likewise.
8108 * soft-fp/floatsisf.c: Likewise.
8109 * soft-fp/floatsitf.c: Likewise.
8110 * soft-fp/floattidf.c: Likewise.
8111 * soft-fp/floattisf.c: Likewise.
8112 * soft-fp/floattitf.c: Likewise.
8113 * soft-fp/floatundidf.c: Likewise.
8114 * soft-fp/floatundisf.c: Likewise.
8115 * soft-fp/floatunditf.c: Likewise.
8116 * soft-fp/floatunsidf.c: Likewise.
8117 * soft-fp/floatunsisf.c: Likewise.
8118 * soft-fp/floatunsitf.c: Likewise.
8119 * soft-fp/floatuntidf.c: Likewise.
8120 * soft-fp/floatuntisf.c: Likewise.
8121 * soft-fp/floatuntitf.c: Likewise.
8122 * soft-fp/gedf2.c: Likewise.
8123 * soft-fp/gesf2.c: Likewise.
8124 * soft-fp/getf2.c: Likewise.
8125 * soft-fp/ledf2.c: Likewise.
8126 * soft-fp/lesf2.c: Likewise.
8127 * soft-fp/letf2.c: Likewise.
8128 * soft-fp/muldf3.c: Likewise.
8129 * soft-fp/mulsf3.c: Likewise.
8130 * soft-fp/multf3.c: Likewise.
8131 * soft-fp/negdf2.c: Likewise.
8132 * soft-fp/negsf2.c: Likewise.
8133 * soft-fp/negtf2.c: Likewise.
8134 * soft-fp/op-1.h: Likewise.
8135 * soft-fp/op-2.h: Likewise.
8136 * soft-fp/op-4.h: Likewise.
8137 * soft-fp/op-8.h: Likewise.
8138 * soft-fp/op-common.h: Likewise.
8139 * soft-fp/quad.h: Likewise.
8140 * soft-fp/single.h: Likewise.
8141 * soft-fp/soft-fp.h: Likewise.
8142 * soft-fp/subdf3.c: Likewise.
8143 * soft-fp/subsf3.c: Likewise.
8144 * soft-fp/subtf3.c: Likewise.
8145 * soft-fp/truncdfsf2.c: Likewise.
8146 * soft-fp/trunctfdf2.c: Likewise.
8147 * soft-fp/trunctfsf2.c: Likewise.
8148 * soft-fp/trunctfxf2.c: Likewise.
8149 * soft-fp/unorddf2.c: Likewise.
8150 * soft-fp/unordsf2.c: Likewise.
8151 * soft-fp/unordtf2.c: Likewise.
8152 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
8153 macro.
8154 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8155 Likewise.
8156 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8157 Likewise.
8158 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8159 Likewise.
8160 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8161 Likewise.
8162 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8163 Likewise.
8164 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8165 Likewise.
8166 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8167 Likewise.
8168 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8169 Likewise.
8170 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8171 Likewise.
8172 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8173 Likewise.
8174 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8175 Likewise.
8176 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8177 Likewise.
8178 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
8179 Likewise.
8180 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
8181 Likewise.
8182 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8183 Likewise.
8184
8185 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8186
8187 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
8188 cannot be represented.
8189 * config/s390/32/_fixsfdi.c: Likewise.
8190 * config/s390/32/_fixtfdi.c: Likewise.
8191 * config/s390/32/_fixunsdfdi.c: Likewise.
8192 * config/s390/32/_fixunssfdi.c: Likewise.
8193 * config/s390/32/_fixunstfdi.c: Likewise.
8194
8195 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
8196
8197 * configure.ac (libgcc_cv_mips_hard_float): New.
8198 * configure: Regenerate.
8199 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
8200 t-softfp-sfdf for hard-float targets.
8201 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
8202 (softfp_float_modes, softfp_int_modes, softfp_extensions)
8203 (softfp_truncations, softfp_exclude_libgcc2): New.
8204 * config/t-hardfp: New file.
8205 * config/t-hardfp-sfdf: Likewise.
8206 * config/hardfp.c: Likewise.
8207
8208 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8209
8210 * config.host: Include t-floattodi also for s390x.
8211 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
8212 * config/s390/32/_fixsfdi.c: Likewise.
8213 * config/s390/32/_fixtfdi.c: Likewise.
8214 * config/s390/32/_fixunsdfdi.c: Likewise.
8215 * config/s390/32/_fixunssfdi.c: Likewise.
8216 * config/s390/32/_fixunstfdi.c: Likewise.
8217
8218 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8219
8220 PR target/59788
8221 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
8222 (install-libgcc-unwind-map-forbuild): New target.
8223 (all): Depend on install-libgcc-unwind-map-forbuild.
8224 (install-libgcc-unwind-map): New target.
8225 (install): Depend on install-libgcc-unwind-map.
8226
8227 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
8228
8229 * config/nios2/crti.S (_init): Initialize GOT pointer from
8230 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
8231
8232 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
8233
8234 * configure.ac: Check __mips64 when setting host_address.
8235 * configure: Regenerate.
8236 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
8237 mips/t-mips64 and t-softfp.
8238 (mips*-*-linux*): Don't add mips/t-tpbit.
8239 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
8240 (DPBIT, DPBIT_CFLAGS): Delete.
8241 * config/mips/sfp-machine.h: New file.
8242 * config/mips/t-mips64: Likewise.
8243 * config/mips/t-softfp-tf: Likewise.
8244 * config/mips/t-tpbit: Delete.
8245
8246 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
8247
8248 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
8249 as long long.
8250
8251 2014-01-25 Walter Lee <walt@tilera.com>
8252
8253 * config/tilepro/atomic.c: Include tconfig.h. Don't include
8254 config.h or system.h.
8255 (bool) Define.
8256
8257 2014-01-25 Walter Lee <walt@tilera.com>
8258
8259 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
8260 (post_atomic_barrier): Ditto.
8261 (__fetch_and_do): New macro.
8262 (__atomic_fetch_and_do): Use __fetch_and_do.
8263 (__sync_fetch_and_do): New macro.
8264 (__sync_fetch_and_add_4): New function.
8265 (__sync_fetch_and_sub_4): New function.
8266 (__sync_fetch_and_or_4): New function.
8267 (__sync_fetch_and_and_4): New function.
8268 (__sync_fetch_and_xor_4): New function.
8269 (__sync_fetch_and_nand_4): New function.
8270 (__sync_fetch_and_add_8): New function.
8271 (__sync_fetch_and_sub_8): New function.
8272 (__sync_fetch_and_or_8): New function.
8273 (__sync_fetch_and_and_8): New function.
8274 (__sync_fetch_and_xor_8): New function.
8275 (__sync_fetch_and_nand_8): New function.
8276 (__do_and_fetch): New macro.
8277 (__atomic_do_and_fetch): Use __do_and_fetch.
8278 (__sync_do_and_fetch): New macro.
8279 (__sync_add_and_fetch_4): New function.
8280 (__sync_sub_and_fetch_4): New function.
8281 (__sync_or_and_fetch_4): New function.
8282 (__sync_and_and_fetch_4): New function.
8283 (__sync_xor_and_fetch_4): New function.
8284 (__sync_nand_and_fetch_4): New function.
8285 (__sync_add_and_fetch_8): New function.
8286 (__sync_sub_and_fetch_8): New function.
8287 (__sync_or_and_fetch_8): New function.
8288 (__sync_and_and_fetch_8): New function.
8289 (__sync_xor_and_fetch_8): New function.
8290 (__sync_nand_and_fetch_8): New function.
8291 (__sync_exchange_methods): New macro.
8292 (__sync_val_compare_and_swap_4): New function.
8293 (__sync_bool_compare_and_swap_4): New function.
8294 (__sync_lock_test_and_test_4): New function.
8295 (__sync_val_compare_and_swap_8): New function.
8296 (__sync_bool_compare_and_swap_8): New function.
8297 (__sync_lock_test_and_test_8): New function.
8298 (__subword_cmpxchg_body): New macro.
8299 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
8300 (__atomic_compare_exchange_2): Ditto.
8301 (__sync_subword_cmpxchg): New macro.
8302 (__sync_val_compare_and_swap_1): New function.
8303 (__sync_bool_compare_and_swap_1): New function.
8304 (__sync_val_compare_and_swap_2): New function.
8305 (__sync_bool_compare_and_swap_2): New function.
8306 (__atomic_subword): Rename to ...
8307 (__subword): ... New name.
8308 (__atomic_subword_fetch): Use __subword.
8309 (__sync_subword_fetch): New macro.
8310 (__sync_fetch_and_add_1): New function.
8311 (__sync_fetch_and_sub_1): New function.
8312 (__sync_fetch_and_or_1): New function.
8313 (__sync_fetch_and_and_1): New function.
8314 (__sync_fetch_and_xor_1): New function.
8315 (__sync_fetch_and_nand_1): New function.
8316 (__sync_fetch_and_add_2): New function.
8317 (__sync_fetch_and_sub_2): New function.
8318 (__sync_fetch_and_or_2): New function.
8319 (__sync_fetch_and_and_2): New function.
8320 (__sync_fetch_and_xor_2): New function.
8321 (__sync_fetch_and_nand_2): New function.
8322 (__sync_add_and_fetch_1): New function.
8323 (__sync_sub_and_fetch_1): New function.
8324 (__sync_or_and_fetch_1): New function.
8325 (__sync_and_and_fetch_1): New function.
8326 (__sync_xor_and_fetch_1): New function.
8327 (__sync_nand_and_fetch_1): New function.
8328 (__sync_add_and_fetch_2): New function.
8329 (__sync_sub_and_fetch_2): New function.
8330 (__sync_or_and_fetch_2): New function.
8331 (__sync_and_and_fetch_2): New function.
8332 (__sync_xor_and_fetch_2): New function.
8333 (__sync_nand_and_fetch_2): New function.
8334 (__atomic_subword_lock): Use __subword.
8335 (__sync_subword_lock): New macro.
8336 (__sync_lock_test_and_set_1): New function.
8337 (__sync_lock_test_and_set_2): New function.
8338
8339 2014-01-25 Walter Lee <walt@tilera.com>
8340
8341 * config/tilepro/atomic.c (BIT_OFFSET): Define.
8342 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
8343 (__atomic_subword): Ditto.
8344
8345 2014-01-25 Walter Lee <walt@tilera.com>
8346
8347 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
8348 a prefix op argument.
8349 (__atomic_nand_fetch_4): Add prefix op.
8350 (__atomic_nand_fetch_8): Ditto.
8351
8352 2014-01-21 Baruch Siach <barch@tkos.co.il>
8353
8354 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
8355
8356 2014-01-09 Rong Xu <xur@google.com>
8357
8358 * libgcov-driver.c (this_prg): make it local to save
8359 bss space.
8360 (gcov_exit_compute_summary): Ditto.
8361 (gcov_exit_merge_gcda): Ditto.
8362 (gcov_exit_merge_summary): Ditto.
8363 (gcov_exit_dump_gcov): Ditto.
8364
8365 2014-01-08 Rong Xu <xur@google.com>
8366
8367 * libgcov-driver.c: Use libgcov.h.
8368 (buffer_fn_data): Use xmalloc instead of malloc.
8369 (gcov_exit_merge_gcda): Ditto.
8370 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
8371 * libgcov.h: New common header files for libgcov-*.h.
8372 * libgcov-interface.c: Use libgcov.h
8373 * libgcov-merge.c: Ditto.
8374 * libgcov-profiler.c: Ditto.
8375 * Makefile.in: Add dependence to libgcov.h
8376
8377 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8378
8379 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
8380 case of small numerator and finite nonzero result.
8381
8382 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
8383
8384 Update copyright years
8385
8386 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
8387
8388 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
8389 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
8390 config/arc/dp-hack.h, config/arc/fp-hack.h,
8391 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
8392 config/arc/ieee-754/arc600-dsp/divdf3.S,
8393 config/arc/ieee-754/arc600-dsp/divsf3.S,
8394 config/arc/ieee-754/arc600-dsp/muldf3.S,
8395 config/arc/ieee-754/arc600-dsp/mulsf3.S,
8396 config/arc/ieee-754/arc600-mul64/divdf3.S,
8397 config/arc/ieee-754/arc600-mul64/divsf3.S,
8398 config/arc/ieee-754/arc600-mul64/muldf3.S,
8399 config/arc/ieee-754/arc600-mul64/mulsf3.S,
8400 config/arc/ieee-754/arc600/divsf3.S,
8401 config/arc/ieee-754/arc600/mulsf3.S,
8402 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
8403 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
8404 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
8405 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
8406 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
8407 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
8408 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
8409 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
8410 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
8411 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
8412 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
8413 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
8414 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
8415 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
8416 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
8417 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
8418 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
8419 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
8420 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
8421 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
8422 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
8423 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
8424 vtv_start_preinit.c: Use the standard form for the copyright notice.
8425
8426 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
8427 Chung-Lin Tang <cltang@codesourcery.com>
8428 Based on patches from Altera Corporation
8429
8430 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
8431 * config/nios2/lib2-nios2.h: New file.
8432 * config/nios2/lib2-divmod-hi.c: New file.
8433 * config/nios2/linux-unwind.h: New file.
8434 * config/nios2/lib2-divmod.c: New file.
8435 * config/nios2/linux-atomic.c: New file.
8436 * config/nios2/t-nios2: New file.
8437 * config/nios2/crti.asm: New file.
8438 * config/nios2/t-linux: New file.
8439 * config/nios2/lib2-divtable.c: New file.
8440 * config/nios2/lib2-mul.c: New file.
8441 * config/nios2/tramp.c: New file.
8442 * config/nios2/crtn.asm: New file.
8443
8444 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
8445
8446 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
8447 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
8448 from cpuid.h to check vendor signatures.
8449
8450 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
8451
8452 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
8453 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
8454 (get_amd_cpu): Likewise.
8455
8456 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
8457
8458 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
8459 Haswell.
8460
8461 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
8462 H.J. Lu <hongjiu.lu@intel.com>
8463
8464 PR target/59422
8465 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
8466 and AMD_JAGUAR.
8467 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
8468 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
8469 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
8470 FEATURE_XOP and FEATURE_FMA.
8471 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
8472 AMDFAM15H_BDVER3.
8473 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
8474 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
8475 FEATURE_FMA4 and FEATURE_XOP.
8476
8477 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
8478
8479 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
8480 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
8481 (get_intel_cpu): Updated.
8482
8483 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
8484
8485 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
8486
8487 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
8488
8489 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8490 instructions when __SSE_MATH__ is defined.
8491
8492 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
8493
8494 * config.host (microblaze-*-rtems*): New.
8495
8496 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
8497
8498 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
8499 architectures that do not have hardware divide instruction.
8500 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
8501
8502 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
8503
8504 * longlong.h: Delete (moved to include/).
8505
8506 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8507
8508 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
8509 of normal number and qNaN to not raise an inexact exception.
8510
8511 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
8512
8513 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
8514
8515 2013-11-28 Matthew Leach <matthew.leach@arm.com>
8516
8517 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
8518 for correct opcodes on BE.
8519
8520 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
8521
8522 * soft-fp/op-4.h: Update from glibc.
8523
8524 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
8525
8526 * libgcc2.c (__udivmoddi4): Define new implementation when
8527 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
8528 divide instructions.
8529
8530 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
8531
8532 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
8533
8534 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8535
8536 * config/t-softfp (soft-fp-objects-base): New variable.
8537 (soft-fp-objects): Use it.
8538
8539 2013-11-23 David Edelson <dje.gcc@gmail.com>
8540 Andrew Dixie <andrewd@gentrack.com>
8541
8542 PR target/33704
8543 * config/rs6000/aixinitfini.c: New file.
8544 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
8545 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
8546 symbols.
8547
8548 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
8549
8550 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
8551
8552 2013-11-18 Jan Hubicka <jh@suse.cz>
8553
8554 * libgcov-driver.c (run_accounted): Make global level static.
8555 (gcov_exit_merge_summary): Silence warning; do not clear
8556 run_accounted here.
8557 (gcov_exit): Clear it here.
8558
8559 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
8560 run_accounted.
8561
8562 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
8563 (all_prg, crc32): Remove static vars.
8564 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
8565 all_prg.
8566 (gcov_exit_merge_gcda): Add crc32 parameter.
8567 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
8568 do not account run if it was already accounted.
8569 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
8570 (gcov_exit): Initialize all_prg; update.
8571
8572 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
8573
8574 * configure: Regenerate.
8575
8576 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8577 Alan Modra <amodra@gmail.com>
8578
8579 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
8580 (frob_update_context): Use it.
8581
8582 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8583 Alan Modra <amodra@gmail.com>
8584
8585 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
8586 (trampoline_initial): Provide ELFv2 variant.
8587 (__trampoline_setup): Likewise.
8588
8589 * config/rs6000/linux-unwind.h (frob_update_context): Do not
8590 check for AIX indirect function call sequence if _CALL_ELF == 2.
8591
8592 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8593 Alan Modra <amodra@gmail.com>
8594
8595 * config/rs6000/linux-unwind.h (get_regs): Do not support
8596 old kernel versions if _CALL_ELF == 2.
8597 (frob_update_context): Do not support PLT stub variants only
8598 generated by old linkers if _CALL_ELF == 2.
8599
8600 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8601 Alan Modra <amodra@gmail.com>
8602
8603 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
8604 location of CR save area for 64-bit little-endian systems.
8605
8606 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
8607
8608 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
8609 in tmake_file.
8610 * config/arm/t-vxworks: Delete.
8611
8612 2013-11-10 Kai Tietz <ktietz@redhat.com>
8613
8614 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
8615 Increment load-count on use of LIBGCC_SONAME DLL.
8616 (hmod_libgcc): New static variable to hold handle of
8617 LIBGCC_SONAME DLL.
8618 (__gcc_deregister_frame): Decrement load-count of
8619 LIBGCC_SONAME DLL.
8620
8621 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
8622
8623 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
8624 availability.
8625 * configure: Regenerate
8626
8627 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
8628
8629 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
8630 FP_EX_DENORM. Store result to volatile location after SSE division
8631 to close interrupt window. Remove unneeded fwait after x87
8632 division since interrupt window will be closed by emitted fstp.
8633 Rewrite FP_EX_INEXACT handling.
8634
8635 2013-11-06 Joseph Myers <joseph@codesourcery.com>
8636
8637 * soft-fp/README: Update.
8638 * soft-fp/adddf3.c: Update from glibc.
8639 * soft-fp/addsf3.c: Likewise.
8640 * soft-fp/addtf3.c: Likewise.
8641 * soft-fp/divdf3.c: Likewise.
8642 * soft-fp/divsf3.c: Likewise.
8643 * soft-fp/divtf3.c: Likewise.
8644 * soft-fp/double.h: Likewise.
8645 * soft-fp/eqdf2.c: Likewise.
8646 * soft-fp/eqsf2.c: Likewise.
8647 * soft-fp/eqtf2.c: Likewise.
8648 * soft-fp/extenddftf2.c: Likewise.
8649 * soft-fp/extended.h: Likewise.
8650 * soft-fp/extendsfdf2.c: Likewise.
8651 * soft-fp/extendsftf2.c: Likewise.
8652 * soft-fp/extendxftf2.c: Likewise.
8653 * soft-fp/fixdfdi.c: Likewise.
8654 * soft-fp/fixdfsi.c: Likewise.
8655 * soft-fp/fixdfti.c: Likewise.
8656 * soft-fp/fixsfdi.c: Likewise.
8657 * soft-fp/fixsfsi.c: Likewise.
8658 * soft-fp/fixsfti.c: Likewise.
8659 * soft-fp/fixtfdi.c: Likewise.
8660 * soft-fp/fixtfsi.c: Likewise.
8661 * soft-fp/fixtfti.c: Likewise.
8662 * soft-fp/fixunsdfdi.c: Likewise.
8663 * soft-fp/fixunsdfsi.c: Likewise.
8664 * soft-fp/fixunsdfti.c: Likewise.
8665 * soft-fp/fixunssfdi.c: Likewise.
8666 * soft-fp/fixunssfsi.c: Likewise.
8667 * soft-fp/fixunssfti.c: Likewise.
8668 * soft-fp/fixunstfdi.c: Likewise.
8669 * soft-fp/fixunstfsi.c: Likewise.
8670 * soft-fp/fixunstfti.c: Likewise.
8671 * soft-fp/floatdidf.c: Likewise.
8672 * soft-fp/floatdisf.c: Likewise.
8673 * soft-fp/floatditf.c: Likewise.
8674 * soft-fp/floatsidf.c: Likewise.
8675 * soft-fp/floatsisf.c: Likewise.
8676 * soft-fp/floatsitf.c: Likewise.
8677 * soft-fp/floattidf.c: Likewise.
8678 * soft-fp/floattisf.c: Likewise.
8679 * soft-fp/floattitf.c: Likewise.
8680 * soft-fp/floatundidf.c: Likewise.
8681 * soft-fp/floatundisf.c: Likewise.
8682 * soft-fp/floatunditf.c: Likewise.
8683 * soft-fp/floatunsidf.c: Likewise.
8684 * soft-fp/floatunsisf.c: Likewise.
8685 * soft-fp/floatunsitf.c: Likewise.
8686 * soft-fp/floatuntidf.c: Likewise.
8687 * soft-fp/floatuntisf.c: Likewise.
8688 * soft-fp/floatuntitf.c: Likewise.
8689 * soft-fp/gedf2.c: Likewise.
8690 * soft-fp/gesf2.c: Likewise.
8691 * soft-fp/getf2.c: Likewise.
8692 * soft-fp/ledf2.c: Likewise.
8693 * soft-fp/lesf2.c: Likewise.
8694 * soft-fp/letf2.c: Likewise.
8695 * soft-fp/muldf3.c: Likewise.
8696 * soft-fp/mulsf3.c: Likewise.
8697 * soft-fp/multf3.c: Likewise.
8698 * soft-fp/negdf2.c: Likewise.
8699 * soft-fp/negsf2.c: Likewise.
8700 * soft-fp/negtf2.c: Likewise.
8701 * soft-fp/op-1.h: Likewise.
8702 * soft-fp/op-2.h: Likewise.
8703 * soft-fp/op-4.h: Likewise.
8704 * soft-fp/op-8.h: Likewise.
8705 * soft-fp/op-common.h: Likewise.
8706 * soft-fp/quad.h: Likewise.
8707 * soft-fp/single.h: Likewise.
8708 * soft-fp/soft-fp.h: Likewise.
8709 * soft-fp/subdf3.c: Likewise.
8710 * soft-fp/subsf3.c: Likewise.
8711 * soft-fp/subtf3.c: Likewise.
8712 * soft-fp/truncdfsf2.c: Likewise.
8713 * soft-fp/trunctfdf2.c: Likewise.
8714 * soft-fp/trunctfsf2.c: Likewise.
8715 * soft-fp/trunctfxf2.c: Likewise.
8716 * soft-fp/unorddf2.c: Likewise.
8717 * soft-fp/unordsf2.c: Likewise.
8718 * soft-fp/unordtf2.c: Likewise.
8719
8720 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
8721
8722 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8723 (_FP_MUL_MEAT_D): Ditto.
8724 (_FP_DIV_MEAT_S): Ditto.
8725 (_FP_DIV_MEAT_D): Ditto.
8726 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8727 t-softfp-sfdf and t-softfp to tmake_file.
8728
8729 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
8730
8731 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8732 * config/i386/crtprec.c: Ditto.
8733
8734 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
8735 Shiva Chen <shiva0217@gmail.com>
8736
8737 * config.host (nds32*-elf*): Add nds32 target.
8738 * config/nds32 : New directory and files.
8739
8740 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
8741
8742 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
8743 * config.host (cpu_type) <Setting default>: Add entry for
8744 crisv32-*-*.
8745 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8746 <crisv32-*-linux*>: Adjust.
8747 * longlong.h: Wrap the whole CRIS section in a single
8748 defined(__CRIS__) conditional. Add comment about add_ssaaaa
8749 and sub_ddmmss.
8750 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8751 defined.
8752 [__CRIS__] (__umulsidi3): Define.
8753 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8754 * config/cris/sfp-machine.h: New file.
8755 * config/cris/umulsidi3.S: New file.
8756 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8757 * config/cris/arit.c (SIGNMULT): New macro.
8758 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8759 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8760 saving 3 out of originally 33 cycles from the fastest
8761 path, 3 out of 54 from the medium path and one from the longest
8762 path. Improve comments.
8763
8764 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
8765
8766 * sync.c: Remove static aliases and define each function directly
8767 under its real name.
8768
8769 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
8770
8771 * config.host (hppa*64*-*-linux*): Define extra_parts.
8772 (hppa*-*-linux*): Likewise.
8773
8774 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
8775
8776 * config/arc/crtgend.S: Add 2013 to Copyright years.
8777 * config/arc/gmon/atomic.h: Likewise.
8778 * config/arc/gmon/auxreg.h: Likewise.
8779 * config/arc/gmon/sys/gmon_out.h: Likewise.
8780 * config/arc/gmon/sys/gmon.h: Likewise.
8781 * config/arc/gmon/prof-freq.c: Likewise.
8782 * config/arc/gmon/mcount.c: Likewise.
8783 * config/arc/gmon/prof-freq-stub.S: Likewise.
8784 * config/arc/gmon/gmon.c: Likewise.
8785 * config/arc/gmon/machine-gmon.h: Likewise.
8786 * config/arc/gmon/profil.S: Likewise.
8787 * config/arc/gmon/dcache_linesz.S: Likewise.
8788 * config/arc/crtg.S: Likewise.
8789 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8790 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8791 * config/arc/ieee-754/adddf3.S: Likewise.
8792 * config/arc/ieee-754/truncdfsf2.S: Likewise.
8793 * config/arc/ieee-754/fixsfsi.S: Likewise.
8794 * config/arc/ieee-754/gtsf2.S: Likewise.
8795 * config/arc/ieee-754/floatsisf.S: Likewise.
8796 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8797 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8798 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8799 * config/arc/ieee-754/fixdfsi.S: Likewise.
8800 * config/arc/ieee-754/addsf3.S: Likewise.
8801 * config/arc/ieee-754/gesf2.S: Likewise.
8802 * config/arc/ieee-754/floatsidf.S: Likewise.
8803 * config/arc/ieee-754/extendsfdf2.S: Likewise.
8804 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8805 * config/arc/ieee-754/gtdf2.S: Likewise.
8806 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8807 * config/arc/ieee-754/uneqdf2.S: Likewise.
8808 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8809 * config/arc/ieee-754/uneqsf2.S: Likewise.
8810 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8811 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8812 * config/arc/ieee-754/eqdf2.S: Likewise.
8813 * config/arc/ieee-754/ordsf2.S: Likewise.
8814 * config/arc/ieee-754/divsf3.S: Likewise.
8815 * config/arc/ieee-754/divdf3.S: Likewise.
8816 * config/arc/ieee-754/floatunsidf.S: Likewise.
8817 * config/arc/ieee-754/orddf2.S: Likewise.
8818 * config/arc/ieee-754/eqsf2.S: Likewise.
8819 * config/arc/ieee-754/gedf2.S: Likewise.
8820 * config/arc/crtn.S: Likewise.
8821 * config/arc/crti.S: Likewise.
8822 * config/arc/t-arc700-uClibc: Likewise.
8823 * config/arc/asm.h: Likewise.
8824 * config/arc/libgcc-excl.ver: Likewise.
8825 * config/arc/t-arc-newlib: Likewise.
8826 * config/arc/divtab-arc700.c: Likewise.
8827 * config/arc/initfini.c: Likewise.
8828 * config/arc/fp-hack.h: Likewise.
8829
8830 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8831 Diego Novillo <dnovillo@google.com>
8832
8833 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
8834 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8835 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8836 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8837
8838 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8839 Brendan Kehoe <brendan@zen.org>
8840 Simon Cook <simon.cook@embecosm.com>
8841
8842 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8843 * config/arc: New directory.
8844 * longlong.h [__arc__] (umul_ppmm): Remove.
8845 [__arc__] (__umulsidi3): Define.
8846 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8847 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8848
8849 2013-09-17 Jacek Caban <jacek@codeweavers.com>
8850
8851 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8852 CreateSemaphoreA.
8853 * config/i386/gthr-win32.h: Likewise.
8854
8855 2013-09-16 DJ Delorie <dj@redhat.com>
8856
8857 * config/rl78/vregs.h: Add G10 register definitions.
8858 * config/rl78/lib2mul.c: Enable for RL78/G10.
8859 * config/rl78/lib2div.c: Likewise.
8860 * config/rl78/lshrsi3.S: Use vregs.h.
8861 * config/rl78/cmpsi2.S: Likewise.
8862 * config/rl78/trampoline.S: Likewise.
8863 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
8864
8865 2013-09-14 DJ Delorie <dj@redhat.com>
8866 Nick Clifton <nickc@redhat.com>
8867
8868 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8869 * config/rl78/vregs.h: New.
8870 * config/rl78/signbit.S: New file. Implements signbit function.
8871 * config/rl78/divmodsi.S: New.
8872 * config/rl78/divmodhi.S: New.
8873 * config/rl78/divmodqi.S: New.
8874 * config/rl78/t-rl78: Build them here...
8875 * config/rl78/lib2div.c: ...but not here.
8876
8877 2013-09-12 DJ Delorie <dj@redhat.com>
8878
8879 * config.host (msp*-*-elf): New.
8880 * config/msp430/: New port.
8881
8882 2013-08-18 Iain Sandoe <iain@codesourcery.com>
8883
8884 PR gcov-profile/58127
8885 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8886 __thread var for emulated TLS.
8887 (__gcov_indirect_call_counters): Likewise.
8888
8889 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
8890 Catherine Moore <clm@codesourcery.com>
8891 Richard Sandiford <rdsandiford@googlemail.com>
8892
8893 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8894 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8895 (CALL_STUB_NO_RET): Likewise.
8896 (CALL_STUB_RET): Likewise.
8897 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8898 __mips16_ret call/return stub symbols.
8899 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8900 to tmake_file.
8901
8902 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
8903
8904 * config.host <mips*-*-linux*>: Remove a stray comment.
8905
8906 2013-08-10 Jan Hubicka <jh@suse.cz>
8907
8908 Work around binutils PR14342
8909 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8910 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8911 (L_gcov_indirect_call_profiler_v2): New.
8912
8913 2013-08-06 Jan Hubicka <jh@suse.cz>
8914
8915 * libgcov.c (__gcov_indirect_call_callee,
8916 __gcov_indirect_call_counters): New global vars.
8917 (__gcov_indirect_call_profiler): replace by ...
8918 (__gcov_indirect_call_profiler_v2) ... this one.
8919
8920 2013-08-06 Caroline Tice <cmtice@google.com>
8921
8922 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
8923 vtv_start_preinit.o and vtv_end_preinit.o.
8924 * configure.ac: Add code to check/set enable_vtable_verify.
8925 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
8926 true.
8927 * vtv_start_preinit.c: New file.
8928 * vtv_end_preinit.c: New file.
8929 * vtv_start.c: New file.
8930 * vtv_end.c: New file.
8931 * configure: Regenerated.
8932
8933 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
8934
8935 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8936 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8937 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8938 GPL-3.0-with-GCC-exception.
8939
8940 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
8941
8942 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8943 ISA and up.
8944
8945 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8946
8947 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8948 mapping for FPRs when creating the fallback framestate.
8949
8950 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
8951
8952 PR target/57516
8953 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8954 (__round_s2_const, __round_u2_const)
8955 (__round_s4_const, __round_u4_const, __round_x8):
8956 Saturate result if addition result cannot be represented.
8957
8958 2013-07-15 Matthias Klose <doko@ubuntu.com>
8959
8960 * libgcc2.c: Don't include <limits.h>.
8961
8962 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
8963
8964 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8965
8966 2013-07-06 Jakub Jelinek <jakub@redhat.com>
8967
8968 PR target/29776
8969 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8970
8971 2013-06-28 Jakub Jelinek <jakub@redhat.com>
8972
8973 PR middle-end/36041
8974 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8975 Define.
8976 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8977 instead of table lookups.
8978 (__popcountDI2): Likewise.
8979
8980 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
8981
8982 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8983 correctly.
8984
8985 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8986
8987 PR other/53317
8988 * soft-fp/adddf3.c: Update from glibc.
8989 * soft-fp/addsf3.c: Likewise.
8990 * soft-fp/addtf3.c: Likewise.
8991 * soft-fp/divdf3.c: Likewise.
8992 * soft-fp/divsf3.c: Likewise.
8993 * soft-fp/divtf3.c: Likewise.
8994 * soft-fp/double.h: Likewise.
8995 * soft-fp/eqdf2.c: Likewise.
8996 * soft-fp/eqsf2.c: Likewise.
8997 * soft-fp/eqtf2.c: Likewise.
8998 * soft-fp/extenddftf2.c: Likewise.
8999 * soft-fp/extended.h: Likewise.
9000 * soft-fp/extendsfdf2.c: Likewise.
9001 * soft-fp/extendsftf2.c: Likewise.
9002 * soft-fp/fixdfdi.c: Likewise.
9003 * soft-fp/fixdfsi.c: Likewise.
9004 * soft-fp/fixsfdi.c: Likewise.
9005 * soft-fp/fixsfsi.c: Likewise.
9006 * soft-fp/fixtfdi.c: Likewise.
9007 * soft-fp/fixtfsi.c: Likewise.
9008 * soft-fp/fixunsdfdi.c: Likewise.
9009 * soft-fp/fixunsdfsi.c: Likewise.
9010 * soft-fp/fixunssfdi.c: Likewise.
9011 * soft-fp/fixunssfsi.c: Likewise.
9012 * soft-fp/fixunstfdi.c: Likewise.
9013 * soft-fp/fixunstfsi.c: Likewise.
9014 * soft-fp/floatdidf.c: Likewise.
9015 * soft-fp/floatdisf.c: Likewise.
9016 * soft-fp/floatditf.c: Likewise.
9017 * soft-fp/floatsidf.c: Likewise.
9018 * soft-fp/floatsisf.c: Likewise.
9019 * soft-fp/floatsitf.c: Likewise.
9020 * soft-fp/floatundidf.c: Likewise.
9021 * soft-fp/floatundisf.c: Likewise.
9022 * soft-fp/floatunditf.c: Likewise.
9023 * soft-fp/floatunsidf.c: Likewise.
9024 * soft-fp/floatunsisf.c: Likewise.
9025 * soft-fp/floatunsitf.c: Likewise.
9026 * soft-fp/gedf2.c: Likewise.
9027 * soft-fp/gesf2.c: Likewise.
9028 * soft-fp/getf2.c: Likewise.
9029 * soft-fp/ledf2.c: Likewise.
9030 * soft-fp/lesf2.c: Likewise.
9031 * soft-fp/letf2.c: Likewise.
9032 * soft-fp/muldf3.c: Likewise.
9033 * soft-fp/mulsf3.c: Likewise.
9034 * soft-fp/multf3.c: Likewise.
9035 * soft-fp/negdf2.c: Likewise.
9036 * soft-fp/negsf2.c: Likewise.
9037 * soft-fp/negtf2.c: Likewise.
9038 * soft-fp/op-1.h: Likewise.
9039 * soft-fp/op-2.h: Likewise.
9040 * soft-fp/op-4.h: Likewise.
9041 * soft-fp/op-8.h: Likewise.
9042 * soft-fp/op-common.h: Likewise.
9043 * soft-fp/quad.h: Likewise.
9044 * soft-fp/single.h: Likewise.
9045 * soft-fp/soft-fp.h: Likewise.
9046 * soft-fp/subdf3.c: Likewise.
9047 * soft-fp/subsf3.c: Likewise.
9048 * soft-fp/subtf3.c: Likewise.
9049 * soft-fp/truncdfsf2.c: Likewise.
9050 * soft-fp/trunctfdf2.c: Likewise.
9051 * soft-fp/trunctfsf2.c: Likewise.
9052 * soft-fp/unorddf2.c: Likewise.
9053 * soft-fp/unordsf2.c: Likewise.
9054 * soft-fp/unordtf2.c: Likewise.
9055 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
9056 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9057 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9058 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9059 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9060 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9061 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9062 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9063 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9064 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
9065 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
9066 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
9067
9068 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
9069
9070 * config/mips/lib2funcs.c: New file.
9071 * config/mips/t-mips (LIB2ADD_ST): Add it.
9072
9073 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
9074
9075 PR target/6526
9076 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
9077 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
9078
9079 2013-06-08 Walter Lee <walt@tilera.com>
9080
9081 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
9082 Replace int64_t with long long. Add __extension__ where
9083 appropriate.
9084 * config/tilepro/atomic.c: Include config.h.
9085
9086 2013-06-06 Douglas B Rupp <rupp@adacore.com>
9087
9088 * config.host (arm-wrs-vxworks): Configure with other soft float.
9089
9090 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
9091
9092 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
9093 (mips64r5900el-*-elf*): New configurations.
9094
9095 2013-06-04 Alan Modra <amodra@gmail.com>
9096
9097 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
9098
9099 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
9100
9101 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
9102
9103 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
9104
9105 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
9106 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
9107 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
9108
9109 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
9110
9111 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
9112 (powerpc-wrs-vxworks): Likewise.
9113
9114 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
9115
9116 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
9117 signal frames as well.
9118 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
9119 STACK_BIAS to the CFA offset.
9120
9121 2013-05-17 Richard Henderson <rth@redhat.com>
9122
9123 PR target/49146
9124 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
9125 (execute_cfa_program): Use it when storing to fs->regs.
9126
9127 2013-05-08 Kai Tietz <ktietz@redhat.com>
9128
9129 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
9130 (__deregister_frame_info): Likewise.
9131
9132 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
9133
9134 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
9135 NaN's payload.
9136
9137 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
9138
9139 2013-04-25 Alan Modra <amodra@gmail.com>
9140
9141 * config.host: Match little-endian powerpc-linux.
9142
9143 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
9144
9145 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
9146 as 'unsigned long long' instead of 'unsigned long'.
9147 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
9148 'signed long'.
9149
9150 2013-04-10 Julian Brown <julian@codesourcery.com>
9151
9152 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
9153 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
9154 unsigned char/unsigned short.
9155 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
9156
9157 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9158
9159 PR other/55274
9160 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
9161
9162 2013-04-04 Meador Inge <meadori@codesourcery.com>
9163
9164 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
9165 computing the location of the link register.
9166 (aeabi_uldivmod): Ditto.
9167
9168 2013-03-27 Kai Tietz <ktietz@redhat.com>
9169
9170 * config.host: Add support for cygwin x64 target.
9171 * configure: Regenerated.
9172
9173 2013-03-26 Walter Lee <walt@tilera.com>
9174
9175 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
9176 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
9177
9178 2013-03-25 Kai Tietz <ktietz@redhat.com>
9179
9180 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
9181
9182 2013-03-20 Robert Mason <rbmj@verizon.net>
9183
9184 * config/vxlib-tls.c (__gthread_get_tsd_data,)
9185 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
9186 (__gthread_leave_tsd_dtor_context): Add prototypes.
9187 (tls_delete_hook): Update.
9188
9189 2013-03-20 Catherine Moore <clm@codesourcery.com>
9190 Joseph Myers <joseph@codesourcery.com>
9191 Chao-ying Fu <fu@mips.com>
9192
9193 * config/mips/mips16.S: Don't build for microMIPS.
9194 * config/mips/linux-unwind.h: Handle microMIPS frame.
9195 * config/mips/crtn.S (fini, init): New labels.
9196
9197 2013-03-14 Jakub Jelinek <jakub@redhat.com>
9198
9199 PR tree-optimization/53265
9200 * unwind-dw2.c (execute_cfa_program): Avoid
9201 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
9202 on targets with DWARF_FRAME_REGISTERS < 32.
9203
9204 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
9205
9206 PR target/49880
9207 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
9208 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
9209
9210 2013-03-07 Sriraman Tallam <tmsriram@google.com>
9211
9212 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
9213 sandybridge processors.
9214
9215 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
9216
9217 PR target/56529
9218 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
9219 inclusion list.
9220
9221 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
9222
9223 * config/microblaze/crti.S: Setup stack protection at entry
9224
9225 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
9226
9227 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
9228 (__rotldi3): Shift bytewise if applicable.
9229
9230 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
9231
9232 * config/aarch64/sync-cache.c
9233 (__aarch64_sync_cache_range): Silence warnings.
9234
9235 2013-02-25 Catherine Moore <clm@codesourcery.com>
9236
9237 Revert:
9238 2013-02-24 Catherine Moore <clm@codesourcery.com>
9239 Joseph Myers <joseph@codesourcery.com>
9240 Chao-ying Fu <fu@mips.com>
9241
9242 * config/mips/mips16.S: Don't build for microMIPS.
9243 * config/mips/linux-unwind.h: Handle microMIPS frame.
9244 * config/mips/crtn.S (fini, init): New labels.
9245
9246 2013-02-24 Catherine Moore <clm@codesourcery.com>
9247 Joseph Myers <joseph@codesourcery.com>
9248 Chao-ying Fu <fu@mips.com>
9249
9250 * config/mips/mips16.S: Don't build for microMIPS.
9251 * config/mips/linux-unwind.h: Handle microMIPS frame.
9252 * config/mips/crtn.S (fini, init): New labels.
9253
9254 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
9255 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
9256 as dividend.
9257
9258 2013-02-16 Alan Modra <amodra@gmail.com>
9259
9260 PR target/55431
9261 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
9262 (ppc_fallback_frame_state): Always set up save locations for fp
9263 and altivec. Don't bother with non-callee-saved regs, r0-r13
9264 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
9265
9266 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
9267
9268 PR target/54222
9269 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
9270 _ssmulHA, _ssmulSA.
9271 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
9272 _ssmulha3, _usmulusa3, _ssmulsa3.
9273 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
9274 (__muldi3): XCALL __muldi3_6 instead of rcall.
9275 (__umulsidi3, __mulsidi3): New functions.
9276 (do_prologue_saves, do_epilogue_restores): New .macros.
9277 (__divdi3_moddi3): Use them.
9278 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
9279 (__usmulusa3, __ssmulsa3): New functions.
9280
9281 2013-02-11 Iain Sandoe <iain@codesourcery.com>
9282 Jack Howarth <howarth@bromo.med.uc.edu>
9283 Patrick Marlier <patrick.marlier@gmail.com>
9284
9285 PR libitm/55693
9286 * config/darwin-crt-tm.c: Remove dummy functions hack.
9287
9288 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
9289
9290 PR target/54222
9291 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
9292 * config/avr/lib2-object.mk: New iterator to build objects from it.
9293 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
9294 lib2funcs.c.
9295 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
9296 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
9297 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
9298 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
9299 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
9300 * config/avr/lib1funcs-fixed.S: Implement them.
9301
9302 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
9303
9304 Update copyright years.
9305
9306 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
9307
9308 PR target/54601
9309 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
9310 Add crtcxa to extra_parts.
9311 * config/rs6000/exit.h: New file.
9312 * config/rs6000/cxa_atexit.c: New file.
9313 * config/rs6000/cxa_finalize.c: New file.
9314 * config/rs6000/crtcxa.c: New file.
9315 * config/rs6000/t-aix-cxa: New file.
9316 * config/rs6000/libgcc-aix-cxa.ver: New file.
9317
9318 2013-01-31 Nick Clifton <nickc@redhat.com>
9319
9320 * config/v850/lib1funcs.S: Add support for e3v5 architecture
9321 variant.
9322
9323 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
9324
9325 PR target/54222
9326 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
9327 _mulQQ, _mulHQ, _mulHA, _mulSA,
9328 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
9329 _divQQ, _divHQ, _divHA, _divSA,
9330 _divUQQ, _divUHQ, _divUHA, _divUSA.
9331
9332 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
9333
9334 * config.host(microblaze*-linux*): tmake_file: Remove
9335 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
9336 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
9337 to exclude functions from being built with libgcc.c and use
9338 the microblaze assembly.
9339
9340 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
9341
9342 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
9343 extra_parts.
9344
9345 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
9346
9347 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
9348 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
9349 __UINTPTR_TYPE__; also cast 'base' to the same type before the
9350 alignment operation.
9351
9352 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
9353
9354 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
9355 loop start address for cache clearing.
9356
9357 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
9358
9359 * config/avr/lib1funcs.S: Remove trailing blanks.
9360 * config/avr/lib1funcs-fixed.S: Ditto.
9361
9362 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
9363
9364 * config/avr/avr-lib.h: Add GPL copyright notice.
9365
9366 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
9367
9368 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
9369 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
9370 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
9371 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
9372
9373 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
9374
9375 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
9376 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
9377
9378 2013-01-04 Nick Clifton <nickc@redhat.com>
9379
9380 * config/v850/lib1funcs.S: Only provide CALLT support functions if
9381 the CALLT instruction is supported.
9382
9383 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
9384
9385 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
9386 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
9387
9388 2012-12-13 John Tytgat <John@bass-software.com>
9389
9390 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
9391 is 25.
9392
9393 2012-12-12 Jakub Jelinek <jakub@redhat.com>
9394
9395 PR libgcc/55451
9396 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
9397 undefined signed overflows.
9398
9399 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
9400
9401 PR target/55344
9402 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
9403
9404 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
9405
9406 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
9407 (FP_TRAPPING_EXCEPTIONS): Define.
9408 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
9409 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
9410
9411 2012-12-04 Richard Henderson <rth@redhat.com>
9412
9413 PR bootstrap/55571
9414 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
9415
9416 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
9417
9418 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
9419 (FP_EX_SHIFT): Define.
9420 (FP_TRAPPING_EXCEPTIONS): Define.
9421
9422 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
9423
9424 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
9425 (FP_ROUNDMODE): Use FP_RND_MASK.
9426 * config/aarch64/sfp-exceptions.c: New.
9427 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9428 Use __sfp_handle_exceptions.
9429
9430 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
9431
9432 * config.host: (arm*-*-freebsd*): Remove.
9433 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
9434 (arm*-*-elf*): Remove.
9435 (arm*-*-wince-pe*): Remove.
9436 * arm/unwind-arm.c (struct fpa_reg): Delete.
9437 (struct fpa_regs): Delete.
9438 (phase1_vrs): Remove fpa element.
9439 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
9440 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
9441 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
9442 * ieee754-sf.S (floatundisf): Remove FPA support.
9443 (floatdisf): Likewise.
9444 * ieee75f-df.S (floatundidf): Likewise.
9445 (floatdidf): Likewise.
9446
9447 2012-11-29 Kai Tietz <ktietz@redhat.com>
9448
9449 PR target/55445
9450 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
9451 * unwind-generic.h: Likewise.
9452 * unwind-seh.c: Likewise.
9453
9454 2012-11-28 Richard Henderson <rth@redhat.com>
9455
9456 PR libgcc/48076
9457 * emutls.c (__emutls_get_address): Avoid race condition between
9458 obj->loc.offset read and emutls_key initialization.
9459
9460 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
9461
9462 Adjust decimal point of signed accum mode to GCC default.
9463
9464 PR target/54222
9465 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
9466 _divqq_helper.
9467 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
9468 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
9469 (__mulha3, __mulsa3)
9470 (__divqq3, __divha3, __divsa3): Adjust to new position of
9471 decimal point of signed accum types.
9472
9473 (__mulusa3_round): New function.
9474 (__mulusa3): Use it.
9475 (__divqq_helper): New function.
9476 (__udivuqq3): Use it.
9477
9478 2012-11-20 Jakub Jelinek <jakub@redhat.com>
9479
9480 PR bootstrap/55370
9481 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
9482
9483 2012-11-18 Teresa Johnson <tejohnson@google.com>
9484
9485 PR bootstrap/55051
9486 * libgcov.c (gcov_exit): Remove merged program summary
9487 comparison unless !GCOV_LOCKED.
9488
9489 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
9490
9491 * soft-fp: Updated from glibc upstream.
9492
9493 2012-11-06 Ian Lance Taylor <iant@google.com>
9494
9495 * generic-morestack.c (__generic_morestack): Align the returned
9496 stack pointer to a 32 byte boundary.
9497 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
9498 increment the return address until we have decided that we don't
9499 have a varargs function.
9500 (__morestack) [32-bit]: Align stack correctly when calling C
9501 functions.
9502 (__morestack) [64-bit]: Likewise.
9503
9504 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9505
9506 * configure: Regenerate.
9507
9508 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
9509
9510 PR target/55175
9511 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
9512 * config/i386/sfp-machine.h: Guard exception handling
9513 code with _SOFT_FLOAT.
9514 * config/i386/32/sfp-machine.h: Guard rounding handling
9515 code with _SOFT_FLOAT.
9516 * config/i386/64/sfp-machine.h: Ditto.
9517
9518 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
9519
9520 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
9521 as extra_parts.
9522
9523 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
9524
9525 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
9526 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
9527 when appropriate. Correct structure element types.
9528 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
9529 -minline-all-stringops from compile flags.
9530
9531 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
9532
9533 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
9534
9535 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
9536
9537 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
9538
9539 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
9540
9541 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
9542 tmake_file.
9543
9544 2012-10-23 Ian Bolton <ian.bolton@arm.com>
9545 Jim MacArthur <jim.macarthur@arm.com>
9546 Marcus Shawcroft <marcus.shawcroft@arm.com>
9547 Nigel Stephens <nigel.stephens@arm.com>
9548 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
9549 Richard Earnshaw <rearnsha@arm.com>
9550 Sofiane Naci <sofiane.naci@arm.com>
9551 Stephen Thomas <stephen.thomas@arm.com>
9552 Tejas Belagod <tejas.belagod@arm.com>
9553 Yufeng Zhang <yufeng.zhang@arm.com>
9554
9555 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
9556 * config/aarch64/crti.S: New file.
9557 * config/aarch64/crtn.S: New file.
9558 * config/aarch64/linux-unwind.h: New file.
9559 * config/aarch64/sfp-machine.h: New file.
9560 * config/aarch64/sync-cache.c: New file.
9561 * config/aarch64/t-aarch64: New file.
9562 * config/aarch64/t-softfp: New file.
9563
9564 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
9565
9566 * config/mmix/crti.S: Mark program and data addresses using PRELD.
9567 Remove typo'd and unnecessary alignment-LOC for .data. Remove
9568 no-longer-needed LDBU insns.
9569
9570 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
9571
9572 * config.host
9573 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
9574 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
9575
9576 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9577
9578 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
9579
9580 2012-10-15 Matthias Klose <doko@ubuntu.com>
9581
9582 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
9583
9584 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
9585
9586 * configure: Regenerate.
9587 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
9588
9589 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
9590
9591 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
9592 instructions for 64bit targets only.
9593
9594 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
9595
9596 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9597 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
9598 * config/i386/32/sfp-machine.h: ... here.
9599 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
9600 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
9601 New defines.
9602
9603 2012-10-07 Matthias Klose <doko@ubuntu.com>
9604
9605 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
9606 as unused.
9607 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
9608
9609 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
9610
9611 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
9612 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
9613 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
9614 (ElfW): Likewise.
9615
9616 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
9617
9618 PR other/53889
9619 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9620 Fix parameter names.
9621
9622 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
9623
9624 PR target/33135
9625 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
9626 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
9627 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
9628
9629 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
9630
9631 PR target/50457
9632 * config/sh/linux-atomic.S: Delete.
9633 * config/sh/linux-atomic.c: New.
9634 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
9635 linux-atomic.c. Add cflags to disable warnings.
9636
9637 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9638
9639 PR other/53889
9640 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
9641 function.
9642 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
9643 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
9644 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
9645 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
9646 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
9647 Likewise.
9648 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9649 Likewise.
9650 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
9651 Likewise.
9652 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
9653 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
9654
9655 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
9656
9657 * config.host (hppa-*-openbsd*): New target.
9658 * config/pa/t-openbsd: New file.
9659
9660 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
9661
9662 PR target/54222
9663 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
9664 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
9665 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
9666 (__divsa3): Use __negsi2 to negate r_quoL.
9667 * config/avr/lib1funcs.S (FALIAS): New macro.
9668 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
9669 (__negsi2): ...this new function.
9670 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
9671 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
9672 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
9673 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
9674 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
9675 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
9676
9677 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
9678
9679 PR target/54089
9680 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
9681 (lshrsi3): Reimplement as lshrsi3_r0.
9682
9683 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
9684
9685 PR target/46191
9686 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
9687 of libgcc.a.
9688
9689 2012-09-07 Teresa Johnson <tejohnson@google.com>
9690
9691 PR gcov-profile/54487
9692 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9693 differences.
9694
9695 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
9696
9697 PR target/54461
9698 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
9699 not configured --with-avrlibc=no.
9700 * config/avr/t-avrlibc: New file.
9701 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
9702 (DPBIT_FUNCS): Ditto.
9703 (TPBIT_FUNCS): Ditto.
9704
9705 2012-09-04 Teresa Johnson <tejohnson@google.com>
9706
9707 * libgcov.c (struct gcov_summary_buffer): New structure.
9708 (gcov_histogram_insert): New function.
9709 (gcov_compute_histogram): Ditto.
9710 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
9711 histograms during summary merging.
9712
9713 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
9714
9715 * config.host (x86_64-*-openbsd*): New target.
9716
9717 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
9718
9719 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9720 attribute.
9721
9722 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
9723
9724 PR target/54222
9725 * config/avr/t-avr (conv_X): Rename to func_X.
9726
9727 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
9728
9729 PR target/54222
9730 * config/avr/lib1funcs-fixed.S: New file.
9731 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
9732 after they are used.
9733 (neg2, neg4): New macros.
9734 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9735 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9736 (__umulhisi3): Speed up MUL variant if there is enough flash.
9737 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9738 avr-modes.def.
9739 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9740 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9741 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9742 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9743 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9744 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9745 (LIB2FUNCS_EXCLUDE): Add supported functions.
9746
9747 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
9748
9749 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9750 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9751 libgcc-s-objects.
9752 * fixed-obj.mk: Only expand dependency if $o is not in
9753 LIB2FUNCS_EXCLUDE.
9754
9755 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
9756
9757 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9758
9759 2012-08-22 Joseph Myers <joseph@codesourcery.com>
9760
9761 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9762 depend on --enable-shared.
9763 ($(lib1asmfuncs-o)): Use %.vis files independent of
9764 --enable-shared.
9765 * static-object.mk ($(base)$(objext), $(base).vis)
9766 ($(base)_s$(objext)): Use same rules for visibility handling as in
9767 shared-object.mk.
9768
9769 2012-08-21 Ian Lance Taylor <iant@google.com>
9770
9771 * config/i386/morestack.S (__morestack_non_split): Increase amount
9772 of space allocated for non-split code stack.
9773
9774 2012-08-19 Joseph Myers <joseph@codesourcery.com>
9775
9776 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9777 even if inhibit_libc.
9778
9779 2012-08-17 Julian Brown <julian@codesourcery.com>
9780
9781 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9782 -fexceptions -fnon-call-exceptions if not defined.
9783 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9784 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9785
9786 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
9787
9788 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9789 type.
9790
9791 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
9792
9793 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9794 rs6000/t-slibgcc-aix.
9795
9796 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9797
9798 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9799
9800 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9801
9802 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9803
9804 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
9805
9806 PR driver/54171
9807 * Makefile.in (version): Replace top_srcdir with srcdir.
9808
9809 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
9810
9811 * Makefile.in (version): set to BASE-VER file from gcc directory.
9812
9813 2012-08-01 Nick Clifton <nickc@redhat.com>
9814
9815 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9816 Implements __clrsb for an HImode argument.
9817
9818 2012-07-31 Nick Clifton <nickc@redhat.com>
9819
9820 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9821 Implements __clrsb for an HImode argument.
9822 * config/stormy16/clrsbhi2.c: New file:
9823 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9824
9825 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
9826
9827 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9828
9829 2012-07-19 Tristan Gingold <gingold@adacore.com>
9830 Richard Henderson <rth@redhat.com>
9831
9832 * unwind-seh.c: New file.
9833 * unwind-generic.h: Include windows.h for SEH.
9834 (_Unwind_Exception): Use 6 private fields for SEH.
9835 (_GCC_specific_handler): Declare.
9836 * unwind-c.c (__gcc_personality_seh0): New function.
9837 Adjust for SEH.
9838 * config/i386/libgcc-cygming.ver: New file.
9839 * config/i386/t-seh-eh: New file.
9840 * config.host (x86_64-*-mingw*): Default to seh.
9841
9842 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
9843
9844 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9845
9846 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
9847
9848 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9849 __builtin_expect when checking for exceptions.
9850 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9851
9852 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
9853
9854 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9855 function declaration.
9856 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9857 (FP_RND_MASK): New.
9858 * config/ia64/sfp-exceptions.c: New.
9859 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
9860
9861 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
9862
9863 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9864 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9865 * config/i386/64/sfp-machine: ... (delete here) ...
9866 * config/i386/sfp-machine.h: ... to here.
9867 (FP_EX_MASK): Remove.
9868 (FP_RND_MASK): New.
9869 (FP_INIT_ROUNDMODE): Declare asm as volatile.
9870
9871 2012-06-11 Sriraman Tallam <tmsriram@google.com>
9872
9873 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9874 * config/i386/libgcc-sol2.ver: Ditto.
9875 * config/i386/libgcc-glibc.ver: Ditto.
9876
9877 2012-06-11 Roland McGrath <mcgrathr@google.com>
9878
9879 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9880 If __GLIBC__ is defined, refer to __pthread_key_create instead of
9881 pthread_cancel.
9882
9883 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
9884
9885 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9886 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9887 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9888 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9889 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9890 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9891 * config/i386/64/sfp-machine: ... (delete here) ...
9892 * config/i386/sfp-machine.h: ... to here.
9893 (FP_EX_MASK): New.
9894 (__sfp_handle_exceptions): New function declaration.
9895 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9896 * config/i386/sfp-exceptions.c: New.
9897 * config/i386/t-softfp: New.
9898 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9899 i386/t-softfp to tmake_file.
9900
9901 2012-06-03 David S. Miller <davem@davemloft.net>
9902
9903 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9904 change.
9905
9906 2012-05-31 David S. Miller <davem@davemloft.net>
9907
9908 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9909 multiply and divide instructions on 32-bit when V9.
9910 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9911
9912 2012-05-29 Joseph Myers <joseph@codesourcery.com>
9913
9914 * config/arm/ieee754-df.S: Fix typos.
9915 * config/arm/ieee754-sf.S: Fix typos.
9916 * config/c6x/libunwind.S: Fix typos.
9917 * config/epiphany/udivsi3-float.c: Fix typos.
9918 * config/microblaze/muldi3_hard.S: Fix typos.
9919 * config/picochip/adddi3.S: Fix typos.
9920 * config/picochip/ashlsi3.S: Fix typos.
9921 * config/picochip/ashrsi3.S: Fix typos.
9922 * config/picochip/clzsi2.S: Fix typos.
9923 * config/picochip/cmpsi2.S: Fix typos.
9924 * config/picochip/divmod15.S: Fix typos.
9925 * config/picochip/divmodhi4.S: Fix typos.
9926 * config/picochip/divmodsi4.S: Fix typos.
9927 * config/picochip/longjmp.S: Fix typos.
9928 * config/picochip/lshrsi3.S: Fix typos.
9929 * config/picochip/parityhi2.S: Fix typos.
9930 * config/picochip/popcounthi2.S: Fix typos.
9931 * config/picochip/setjmp.S: Fix typos.
9932 * config/picochip/subdi3.S: Fix typos.
9933 * config/picochip/ucmpsi2.S: Fix typos.
9934 * config/picochip/udivmodhi4.S: Fix typos.
9935 * config/picochip/udivmodsi4.S: Fix typos.
9936 * config/spu/divv2df3.c: Fix typos.
9937 * config/spu/mfc_multi_tag_release.c: Fix typos.
9938 * config/spu/mfc_tag_release.c: Fix typos.
9939 * configure.ac: Fix typos.
9940 * configure: Regenerate.
9941
9942 2012-05-25 Ian Lance Taylor <iant@google.com>
9943
9944 * config/i386/morestack.S (__morestack_non_split): Check whether
9945 caller is varargs and needs %bp to hold the stack frame on return.
9946
9947 2012-05-25 Olivier Hainque <hainque@adacore.com>
9948
9949 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9950 sequence in the non pic case on VxWorks.
9951
9952 2012-05-24 Olivier Hainque <hainque@adacore.com>
9953
9954 * Makefile.in: Move dependency on install-unwind_h from
9955 "install-leaf" to "install".
9956
9957 2012-05-24 Olivier Hainque <hainque@adacore.com>
9958
9959 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9960 Use a separate command for stamp removals.
9961
9962 2012-05-21 Andrew Pinski <apinski@cavium.com>
9963
9964 PR bootstrap/53183
9965 * configure.ac: Define the default includes to being none.
9966 * configure: Regenerate.
9967
9968 2012-05-16 Olivier Hainque <hainque@adacore.com>
9969
9970 * Makefile.in (install-unwind_h): Rename into ...
9971 (install-unwind_h-forbuild): New target.
9972 (all): Use it instead of the former install-unwind_h.
9973 (install-unwind_h): Reinstate, copy to user install destination
9974 for include files, not to the internal gcc object directory one.
9975 (install-leaf): Depend on it.
9976
9977 2012-05-15 Olivier Hainque <hainque@adacore.com>
9978
9979 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9980 register numbers. LR_REGNO replaces R_LR.
9981 (ucontext_for): New, helper for ...
9982 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9983 and 5.3 of ...
9984 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9985
9986 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9987
9988 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9989 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9990 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9991 i386/t-cpuinfo ...
9992 (i[34567]86-*-*, x86_64-*-*): ... here.
9993
9994 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9995 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9996
9997 * config/i386/i386-cpuinfo.c: Rename to ...
9998 * config/i386/cpuinfo.c: ... this.
9999 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
10000
10001 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
10002 (libgcc_cv_init_priority): New test.
10003 * configure: Regenerate.
10004 * config.in: New file.
10005 * Makefile.in (clean): Rename config.h to auto-target.h.
10006 (config.h): Likewise.
10007 (stamp-h): Likewise.
10008
10009 * config/i386/cpuinfo.c (auto-target.h): Include.
10010 (CONSTRUCTOR_PRIORITY): Define.
10011 (__cpu_indicator_init): Use it.
10012
10013 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10014
10015 * longlong.h: Use a URL instead of an FSF postal address.
10016 Replace spaces with tab.
10017
10018 2012-05-08 Teresa Johnson <tejohnson@google.com>
10019
10020 * libgcov.c (gcov_clear, __gcov_reset): New functions.
10021 (__gcov_dump): Ditto.
10022 (gcov_dump_complete): New global variable.
10023 (gcov_exit): Export hidden to enable use in L_gcov_dump.
10024 (__gcov_flush): Outline functionality now in gcov_clear.
10025 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
10026
10027 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
10028
10029 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
10030 (mips*-*-linux*): Include mips/t-tpbit when long double is
10031 16 bytes long.
10032
10033 2012-04-25 Sriraman Tallam <tmsriram@google.com>
10034
10035 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
10036 (get_available_features): New argument. Check for AVX2.
10037 (__cpu_indicator_init): Modify call to get_available_features.
10038
10039 2012-04-25 Alan Modra <amodra@gmail.com>
10040
10041 * config/rs6000/crtsavevr.S: New file.
10042 * config/rs6000/crtrestvr.S: New file.
10043 * config/rs6000/t-savresfgpr: Build the above.
10044 * config/rs6000/t-netbsd: Likewise.
10045
10046 2012-04-24 Sriraman Tallam <tmsriram@google.com>
10047
10048 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
10049
10050 2012-04-24 Sriraman Tallam <tmsriram@google.com>
10051
10052 * libgcc/config/i386/i386-cpuinfo.c: New file.
10053 * libgcc/config/i386/t-cpuinfo: New file.
10054 * libgcc/config.host: Include t-cpuinfo.
10055 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
10056
10057 2012-04-24 Chao-ying Fu <fu@mips.com>
10058
10059 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
10060
10061 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
10062
10063 struct siginfo vs. siginfo_t
10064
10065 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
10066 siginfo_t instead of struct siginfo.
10067 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
10068 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
10069 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
10070 (ia64_handle_unwabi): Likewise.
10071 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
10072 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
10073 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
10074 (sh_fallback_frame_state): Likewise.
10075 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
10076 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
10077
10078 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
10079
10080 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
10081 system call number.
10082
10083 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
10084
10085 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
10086 if it hasn't been previously saved.
10087
10088 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
10089
10090 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
10091 only for glibc.
10092
10093 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
10094
10095 PR target/52737
10096 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
10097 instead of __AVR_HAVE_8BIT_SP__.
10098
10099 2012-03-26 Tristan Gingold <gingold@adacore.com>
10100
10101 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
10102 (unw_table_entry): Use unw_word instead of unsigned long.
10103 (_Unwind_FindTableEntry): Likewise.
10104 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
10105 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
10106 (_Unwind_FindTableEntry): Likewise.
10107 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
10108 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
10109 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
10110 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
10111 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
10112 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
10113 (uw_init_context_1, uw_install_context): Likewise.
10114 (unw_word): Move to unwind-ia64.h
10115
10116 2012-03-26 Tristan Gingold <gingold@adacore.com>
10117
10118 * config/vms/vms-ucrt0.c: Update copyright years.
10119 Add a sanity check.
10120 (___gcc_main_flags): Declare.
10121 (__main): Check flags to remap argv and exit code.
10122 * config.host (*-*-*vms*): Adjust extra_parts.
10123 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
10124 (crt0.o): Add.
10125
10126 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
10127
10128 * arm/lib1funcs.asm (ctzsi2): New function.
10129 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
10130 * arm/t-linux (LIB1ASMFUNCS): Likewise.
10131 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
10132 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
10133 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
10134 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
10135
10136 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
10137
10138 * config.host: Add bits to support powerpc64-*-freebsd*.
10139 * config/rs6000/freebsd-unwind.h: New file.
10140 * config/rs6000/t-freebsd64: New file.
10141
10142 2012-03-20 Richard Guenther <rguenther@suse.de>
10143
10144 PR gcov-profile/52627
10145 * libgcov.c (init_mx): Fix mutex name.
10146
10147 2012-03-16 Tristan Gingold <gingold@adacore.com>
10148
10149 * config/ia64/vms-unwind.h: Remove ulong (and replace
10150 it by unw_reg where used). Define unw_reg with __int64.
10151
10152 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10153
10154 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
10155 Solaris 8 handling.
10156 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
10157 Solaris 8 handling.
10158 (sparc_is_sighandler): Likewise.
10159
10160 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
10161
10162 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
10163 <= saved reg size.
10164
10165 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10166
10167 * config/arm/crtn.S: Fix typo.
10168
10169 2012-03-13 Richard Guenther <rguenther@suse.de>
10170
10171 * libgcov.c: Remove stdio.h include and NULL un-define.
10172
10173 2012-03-13 Richard Guenther <rguenther@suse.de>
10174
10175 PR target/52569
10176 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
10177
10178 2012-03-13 Richard Guenther <rguenther@suse.de>
10179
10180 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
10181
10182 2012-03-13 Richard Guenther <rguenther@suse.de>
10183
10184 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
10185 and __gthread_mutex_init_function definitions.
10186
10187 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10188
10189 * config.host (mips*-*-openbsd*): Remove.
10190
10191 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10192
10193 * config.host: Remove alpha*-dec-osf5.1* handling.
10194 * config/alpha/gthr-posix.c: Remove.
10195 * config/alpha/libgcc-osf5.ver: Remove.
10196 * config/alpha/osf5-unwind.h: Remove.
10197 * config/alpha/t-osf-pthread: Remove.
10198 * config/alpha/t-slibgcc-osf: Remove.
10199 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
10200 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
10201 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
10202 * mkmap-flat.awk: Remove osf_export handling.
10203
10204 2012-03-12 Richard Guenther <rguenther@suse.de>
10205
10206 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
10207 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
10208 (__gthread_mutex_init_function): New function.
10209 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
10210
10211 PR gcov/49484
10212 * libgcov.c: Include gthr.h.
10213 (__gcov_flush_mx): New global variable.
10214 (init_mx, init_mx_once): New functions.
10215 (__gcov_flush): Protect self with a mutex.
10216 (__gcov_fork): Re-initialize mutex after forking.
10217 * unwind-dw2-fde.c: Change condition under which to use
10218 __GTHREAD_MUTEX_INIT_FUNCTION.
10219
10220 2012-03-12 Tristan Gingold <gingold@adacore.com>
10221
10222 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
10223 * config/ia64/t-vms: Likewise.
10224
10225 2012-03-11 Michael Hope <michael.hope@linaro.org>
10226
10227 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
10228 for Thumb-2.
10229
10230 2012-03-07 Walter Lee <walt@tilera.com>
10231
10232 * config/tilepro/atomic.c: Rename "atomic_" prefix to
10233 "arch_atomic_".
10234 (atomic_xor): Rename and move definition to
10235 config/tilepro/atomic.h.
10236 (atomic_nand): Ditto.
10237 * config/tilepro/atomic.h: Rename "atomic_" prefix to
10238 "arch_atomic_".
10239 (arch_atomic_xor): Move from config/tilepro/atomic.c.
10240 (arch_atomic_nand): Ditto.
10241
10242 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
10243
10244 PR target/52507
10245 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
10246
10247 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
10248
10249 PR target/52505
10250 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
10251 from RAM.
10252
10253 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
10254
10255 PR target/52461
10256 PR target/52508
10257 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
10258 if RAMPZ affects reading from RAM.
10259 (__tablejump_elpm__): Ditto.
10260 (.xload): Ditto.
10261 (__movmemx_hi): Ditto.
10262 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
10263 (__do_global_dtors): Ditto.
10264 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
10265 (__movmemx_hi): Ditto.
10266
10267 2012-03-05 Richard Henderson <rth@redhat.com>
10268
10269 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
10270 [ARM] (count_trailing_zeros): Use the builtin.
10271
10272 2012-03-01 Kai Tietz <ktietz@redhat.com>
10273
10274 * soft-fp: Imported from glibc upstream.
10275
10276 2012-02-28 Kai Tietz <ktietz@redhat.com>
10277
10278 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
10279 for mingw-targets as attribute gcc_struct.
10280
10281 2012-02-28 Ian Lance Taylor <iant@google.com>
10282
10283 * generic-morestack.c (__splitstack_releasecontext): Correct call
10284 to __morestack_release_segments.
10285
10286 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10287
10288 PR target/52390
10289 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
10290 for __linux__ when removing signals from __morestack_fullmask.
10291
10292 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
10293
10294 PR target/52261
10295 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
10296
10297 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10298
10299 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
10300 instead of HAVE_INITFINI_ARRAY.
10301 * config/ia64/crtend.S: Likewise.
10302
10303 2012-02-20 Kai Tietz <ktietz@redhat.com>
10304
10305 PR libstdc++/52300
10306 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
10307
10308 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
10309 to w32-unwind.h header.
10310
10311 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
10312
10313 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
10314 (mips*-*-linux*): Remove t-slibgcc-libgcc.
10315 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
10316 * config/mips/mips16.S (__mips16_rdhwr): Delete.
10317
10318 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
10319
10320 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
10321
10322 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
10323
10324 PR libitm/52220
10325 * config/darwin-crt-tm.c: Correct typo.
10326
10327 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
10328 Patrick Marlier <patrick.marlier@gmail.com>
10329
10330 PR libitm/52220
10331 * config/darwin-crt-tm.c: Generate dummy functions.
10332
10333 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
10334 Patrick Marlier <patrick.marlier@gmail.com>
10335
10336 PR libitm/52042
10337 * config/darwin-crt-tm.c (getTMCloneTable): New function.
10338 (__doTMRegistrations): Call it.
10339 (__doTMdeRegistrations): Likewise.
10340
10341 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
10342 Anatoly Sokolov <aesok@post.ru>
10343 Eric Weddington <eric.weddington@atmel.com>
10344
10345 PR target/52261
10346 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
10347 (__epilogue_restores__): Ditto.
10348
10349 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
10350
10351 PR target/51921
10352 PR target/52205
10353 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
10354 Solaris 11 and slightly reformat.
10355 (sparc_is_sighandler): Likewise.
10356
10357 2012-02-14 Walter Lee <walt@tilera.com>
10358
10359 * config.host: Handle tilegx and tilepro.
10360 * config/tilegx/sfp-machine.h: New file.
10361 * config/tilegx/sfp-machine32.h: New file.
10362 * config/tilegx/sfp-machine64.h: New file.
10363 * config/tilegx/t-crtstuff: New file.
10364 * config/tilegx/t-softfp: New file.
10365 * config/tilegx/t-tilegx: New file.
10366 * config/tilepro/atomic.c: New file.
10367 * config/tilepro/atomic.h: New file.
10368 * config/tilepro/linux-unwind.h: New file.
10369 * config/tilepro/sfp-machine.h: New file.
10370 * config/tilepro/softdivide.c: New file.
10371 * config/tilepro/softmpy.S: New file.
10372 * config/tilepro/t-crtstuff: New file.
10373 * config/tilepro/t-tilepro: New file.
10374
10375 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
10376
10377 PR libstdc++/51296
10378 PR libstdc++/51906
10379 * gthr-posix.h: Allow static initializer macros to be disabled.
10380 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
10381
10382 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
10383
10384 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
10385 Add t-slibgcc-libgcc to tmake_file.
10386 * config/mips/libgcc-mips16.ver: Revert previous patch.
10387 * config/mips/mips16.S (__mips16_rdhwr): Hide.
10388
10389 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
10390 Jayant R Sonar <jayant.sonar@kpitcummins.com>
10391
10392 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
10393 * config/cr16/crti.S: New file.
10394 * config/cr16/crtlibid.S: New file.
10395 * config/cr16/crtn.S: New file.
10396 * config/cr16/lib1funcs.S: New file.
10397 * config/cr16/t-cr16: New file.
10398 * config/cr16/t-crtlibid: New file.
10399 * config/cr16/unwind-dw2.h: New file.
10400 * config/cr16/unwind-cr16.c: New file.
10401 * config/cr16/divmodhi3.c: New file.
10402
10403 2012-01-25 Alan Modra <amodra@gmail.com>
10404
10405 * config/rs6000/t-linux64: Delete. Move..
10406 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
10407 * config/rs6000/t-linux: ..and libgcc flags to here.
10408
10409 2012-01-22 Douglas B Rupp <rupp@gnat.com>
10410
10411 * config.host (i[34567]86-*-interix3*):
10412 Change triplet to i[34567]86-*-interix[3-9]*.
10413 * configure: Regenerate.
10414
10415 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
10416 Richard Sandiford <rdsandiford@googlemail.com>
10417
10418 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
10419 * config/mips/mips16.S (__mips16_rdhwr): New function.
10420 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
10421
10422 2012-01-11 Nathan Sidwell <nathan@acm.org>
10423
10424 * libgcov.c (__gcov_init): Ignore objects with no functions.
10425
10426 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
10427
10428 PR target/49868
10429 Extend __pgmx semantics to linearize memory.
10430 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
10431 * config/avr/lib1funcs.S (__xload_1): New function.
10432 (__movmemx_qi, __movmemx_hi): New functions.
10433 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
10434 semantics.
10435
10436 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
10437
10438 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
10439 purported sigacthandler address isn't null before dereferencing it.
10440 (sparc_is_sighandler): Likewise.
10441
10442 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
10443
10444 PR ada/41929
10445 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
10446 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
10447 (sparc_is_sighandler): Likewise.
10448 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
10449
10450 2012-01-06 Tristan Gingold <gingold@adacore.com>
10451
10452 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
10453 compatibility thunks...
10454 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
10455 (crtbeginS.o, crtendS.o): ... and these to ...
10456 * config/ia64/t-ia64-elf: ... this new file.
10457 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
10458 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
10459
10460 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10461
10462 * configure: Regenerate.
10463 * config/s390/t-crtstuff: Remove -fPIC.
10464
10465 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
10466
10467 PR bootstrap/51006
10468 * enable-execute-stack-mprotect.c (getpagesize): Do not define
10469 for NetBSD.
10470
10471 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
10472
10473 PR target/51345
10474 * config/avr/lib1funcs.S: Remove FIXME comments.
10475 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
10476
10477 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
10478
10479 Implement light-weight DImode support.
10480 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
10481 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
10482 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
10483 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
10484
10485 2011-12-30 Nathan Sidwell <nathan@acm.org>
10486
10487 * libgcov.c (gcov_crc32): Remove global var.
10488 (free_fn_data): New function.
10489 (buffer_fn_data): Pass in filename, more robust error recovery.
10490 (crc32_unsigned): New function.
10491 (gcov_exit): More robust detection of new program. More robust
10492 error recovery.
10493 (__gcov_init): Do not update program's crc here.
10494
10495 2011-12-21 Tristan Gingold <gingold@adacore.com>
10496
10497 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
10498
10499 2011-12-21 Ian Lance Taylor <iant@google.com>
10500
10501 * config/i386/morestack.S: Simplify CFI opcodes throughout.
10502
10503 2011-12-20 Ian Lance Taylor <iant@google.com>
10504
10505 * config/i386/morestack.S (__morestack_non_split): If there is
10506 enough stack space already, don't split. Ask for more stack space
10507 than we required.
10508
10509 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
10510
10511 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
10512 `sys/sdt.h'.
10513 (_Unwind_DebugHook): New function.
10514 (uw_restore_core_regs): New define.
10515 (unwind_phase2): Use uw_restore_core_regs instead of
10516 restore_core_regs.
10517 (unwind_phase2_forced): Likewise.
10518 (__gnu_Unwind_Resume): Likewise.
10519
10520 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
10521
10522 * config/alpha/linux-unwind.h: Update copyright years.
10523 (MD_FROB_UPDATE_CONTEXT): New define.
10524 (alpha_frob_update_context): New function.
10525
10526 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
10527
10528 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
10529 tmake_file rather replacing it.
10530
10531 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
10532
10533 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
10534 function is not used for PPC64.
10535 (save_world): Amend comments. Update the VRsave mask to reflect the
10536 saved regs.
10537 (rest_world): Update comments, do not clobber r10, do not use r8.
10538 (eh_rest_world_r10): Amend comments, do not use r8.
10539 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
10540 no longer used, move restore of CR and target address to the end of
10541 the routine.
10542
10543 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
10544
10545 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
10546 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
10547
10548 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
10549
10550 PR target/49313
10551 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
10552 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
10553
10554 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
10555
10556 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
10557
10558 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
10559
10560 PR target/49313
10561 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
10562 * config/avr/lib1funcs.S (__muldi3): New function.
10563
10564 2011-12-06 Andrew Pinski <apinski@cavium.com>
10565
10566 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
10567 size of func_ptr.
10568 (__frame_dummy_init_array_entry): Likewise.
10569
10570 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
10571
10572 Forward-port from gcc-4_6-branch r181936 2011-12-02.
10573
10574 PR target/51345
10575 PR target/51002
10576 * config/avr/lib1funcs.S (__prologue_saves__,
10577 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
10578 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
10579
10580 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
10581
10582 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
10583
10584 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10585
10586 PR other/51272
10587 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
10588 (_ITM_deregisterTMCloneTable): Likewise.
10589 (__register_frame_info): Fix unused warning.
10590 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
10591 pthread_default_stacksize_np): Likewise.
10592 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
10593
10594 2011-11-29 DJ Delorie <dj@redhat.com>
10595
10596 * config.host (rl78-*-elf): New case.
10597 * config/rl78: New directory for the Renesas RL78.
10598
10599 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
10600
10601 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
10602 formatting.
10603
10604 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10605
10606 PR other/51022
10607 * config/rs6000/t-savresfgpr: New file.
10608 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
10609 $(srcdir)/config/rs6000/eabi.S.
10610 * config/rs6000/t-ppccomm-ldbl: Remove.
10611 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
10612 tmake_file.
10613 (powerpc-*-eabispe*): Likewise.
10614 (powerpc-*-eabi*): Likewise.
10615 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10616 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
10617 to tmake_file, remove rs6000/t-ppccomm-ldbl.
10618 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
10619 tmake_file.
10620 (powerpc-*-eabisim*): Likewise.
10621 (powerpc-*-elf*): Likewise.
10622 (powerpc-*-eabialtivec*): Likewise.
10623 (powerpc-xilinx-eabi*): Likewise.
10624 (powerpc-*-rtems*): Likewise.
10625 (powerpcle-*-elf*): Likewise.
10626 (powerpcle-*-eabisim*): Likewise.
10627 (powerpcle-*-eabi*): Likewise.
10628
10629 2011-11-27 Ian Lance Taylor <iant@google.com>
10630
10631 * generic-morestack.c (__splitstack_find): Check for NULL old
10632 stack value.
10633 (__splitstack_resetcontext): New function.
10634 (__splitstack_releasecontext): New function.
10635 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10636
10637 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
10638
10639 * config/darwin-crt-tm.c: Correct comments, use correct licence.
10640
10641 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
10642
10643 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
10644
10645 2011-11-26 Richard Henderson <rth@redhat.com>
10646
10647 * config/m68k/linux-atomic.c: New file.
10648 * config/m68k/t-linux: New file.
10649 * config.host (m68k-uclinux, m68k-linux): Use it.
10650
10651 2011-11-26 Richard Henderson <rth@redhat.com>
10652
10653 * crtstuff.c (__TMC_LIST__): Mark used not unused.
10654 (__TMC_END__): Only declare if hidden is available; in the definition,
10655 if hidden is unavailable add a null record.
10656 (deregister_tm_clones, register_tm_clones): New.
10657 (__do_global_dtors_aux, frame_dummy): Use them.
10658 (__do_global_dtors, __do_global_ctors_1): Likewise.
10659
10660 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
10661
10662 * config/darwin-crt-tm.c: New file.
10663 * config.host (darwin): Build crttms.o crttme.o to provide
10664 startup and shutdown for tm clones.
10665 * config/t-darwin (crttms.o): New build rule.
10666 (crttme.o): Likewise.
10667
10668 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
10669
10670 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
10671 et al.
10672
10673 2011-11-21 Richard Henderson <rth@redhat.com>
10674
10675 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
10676 (__TMC_LIST__, __TMC_END__): New.
10677 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
10678 (__do_global_dtors): Likewise.
10679 (frame_dummy): Call _ITM_registerTMCloneTable.
10680 (__do_global_ctors_1): Likewise.
10681
10682 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10683
10684 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
10685 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10686 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
10687 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
10688 * config/i386/t-darwin64: Remove.
10689 * config/sh/t-netbsd (LIB2ADD): Remove.
10690
10691 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
10692
10693 PR target/49313
10694 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
10695 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
10696 * config/avr/lib1funcs.S (wmov): New assembler macro.
10697 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
10698 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
10699 (__udivmod64): New function.
10700 (__negdi2): New function.
10701
10702 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
10703
10704 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
10705 *-*-freebsd*aout*): Remove.
10706
10707 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
10708
10709 * static-object.mk (c_flags-$o): Save c_flags.
10710 ($(base)$(objext)): Use it.
10711
10712 2011-11-18 Steve Ellcey <sje@cup.hp.com>
10713
10714 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
10715
10716 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
10717
10718 PR target/49868
10719 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10720 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10721 New functions.
10722
10723 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
10724
10725 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10726 functions.
10727 (aeabi_uidivmod): Likewise.
10728 (umodsi3): Likewise.
10729 (divsi3): Likewise.
10730 (aeabi_idivmod): Likewise.
10731 (modsi3): Likewise.
10732
10733 2011-11-16 Tristan Gingold <gingold@adacore.com>
10734
10735 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10736
10737 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
10738
10739 PR target/49868
10740 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
10741 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10742
10743 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10744
10745 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10746 tmake_file list.
10747 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10748 * config/pa/t-stublib64: Delete.
10749
10750 2011-11-12 Richard Henderson <rth@redhat.com>
10751
10752 * config/rs6000/linux-unwind.h (frob_update_context): Properly
10753 cast the pointer argument to _Unwind_SetGRPtr.
10754
10755 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10756
10757 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10758
10759 2011-11-09 Ian Lance Taylor <iant@google.com>
10760
10761 * generic-morestack.c: Include <string.h>.
10762 (uintptr_type): Define.
10763 (struct initial_sp): Add dont_block_signals field. Reduce size of
10764 extra array by 1.
10765 (allocate_segment): Set prev field to NULL. Don't set
10766 __morestack_current_segment or __morestack_segments.
10767 (__generic_morestack): Update current->prev and *pp after calling
10768 allocate_segment.
10769 (__morestack_block_signals): Don't do anything if
10770 dont_block_signals is set.
10771 (__morestack_unblock_signals): Likewise.
10772 (__generic_findstack): Check for initial_sp == NULL. Add casts to
10773 uintptr_type.
10774 (__splitstack_block_signals): New function.
10775 (enum __splitstack_content_offsets): Define.
10776 (__splitstack_getcontext, __splitstack_setcontext): New functions.
10777 (__splitstack_makecontext): New function.
10778 (__splitstack_block_signals_context): New function.
10779 (__splitstack_find_context): New function.
10780 * config/i386/morestack.S (__morestack_get_guard): New function.
10781 (__morestack_set_guard, __morestack_make_guard): New functions.
10782 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10783
10784 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10785
10786 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10787 (i[34567]86-*-mingw*): ... here.
10788 (x86_64-*-mingw*): ... here.
10789
10790 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10791
10792 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10793
10794 2011-11-07 Nathan Sidwell <nathan@acm.org>
10795
10796 * libgcov.c (struct gcov_fn_buffer): New struct.
10797 (buffer_fn_data): New helper.
10798 (gcov_exit): Rework for new gcov data structures.
10799
10800 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
10801
10802 PR target/49313
10803 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10804
10805 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10806
10807 * config.host (tmake_file): Correct comment.
10808 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10809 t-libgcc-pic.
10810 (bfin*-uclinux*): Likewise.
10811 (bfin*-linux-uclibc*): Likewise.
10812 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10813
10814 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10815 assigning.
10816 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10817 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10818 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10819 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10820 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10821 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10822 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10823 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10824 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10825 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10826 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10827 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10828 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10829
10830 * config/bfin/t-elf: Remove.
10831 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10832
10833 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10834
10835 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10836 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10837 (lm32-*-elf*, lm32-*-rtems*): Split into ...
10838 (lm32-*-elf*): ... this.
10839 (lm32-*-rtems*): ... and this.
10840 Add to tmake_file.
10841 (m32r-*-rtems*): Add to tmake_file.
10842 (moxie-*-rtems*): Likewise.
10843 (sparc-*-rtems*): Likewise.
10844 Remove t-rtems from tmake_file.
10845 (sparc64-*-rtems*): Likewise.
10846 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10847 instead.
10848
10849 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10850
10851 PR bootstrap/50982
10852 * config/gthr-posix.h: Move ...
10853 * gthr-posix.h: ... here.
10854 * config/gthr-lynx.h: Reflect this.
10855 * config/gthr-vxworks.h: Likewise.
10856 * config/rs6000/gthr-aix.h: Likewise.
10857 * configure.ac (target_thread_file): Likewise.
10858 * configure: Regenerate.
10859
10860 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
10861
10862 * config.host (arm*-*-rtemseabi*): New target.
10863
10864 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10865
10866 PR other/50991
10867 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10868 extra-parts.
10869
10870 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
10871
10872 * config.host (epiphany-*-elf*): New configuration.
10873 * config/epiphany: New Directory.
10874
10875 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
10876
10877 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10878 * config/avr/t-rtems: New.
10879 Filter out _exit from LIB1ASMFUNCS.
10880
10881 2011-11-04 David S. Miller <davem@davemloft.net>
10882
10883 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10884 * configure: Rebuild.
10885
10886 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10887
10888 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10889 variable.
10890
10891 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
10892
10893 PR target/50931
10894 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10895 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10896
10897 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
10898
10899 PR target/50989
10900 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10901
10902 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10903
10904 * config/c6x/t-elf (LIB2ADDEH): Set.
10905 * config/c6x/t-c6x-elf: Remove.
10906
10907 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10908
10909 * config/i386/sol2-ci.S: Rename to ...
10910 * config/i386/crti.S: ... this.
10911 * config/i386/sol2-cn.S: Rename to ...
10912 * config/i386/crtn.S: ... this.
10913 * config/sparc/sol2-ci.S: Rename to ...
10914 * config/sparc/crti.S: ... this.
10915 * config/sparc/sol2-cn.S: Rename to ...
10916 * config/sparc/crtn.S: ... this.
10917 * config/t-sol2 (CUSTOM_CRTIN): Remove.
10918 (crti.o, crtn.o): Remove.
10919
10920 2011-11-04 Tristan Gingold <gingold@adacore.com>
10921
10922 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10923
10924 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
10925
10926 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10927
10928 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
10929
10930 * config.host (crisv32-*-none, cris-*-none): Remove.
10931 (crisv32-*-elf): Append to tmake_file, don't just set it.
10932 (cris-*-elf): Add missing t-fdpbit to tmake_file.
10933
10934 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10935
10936 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10937 (ecrtn$(objext)): Likewise.
10938 (ncrti$(objext)): Likewise.
10939 (ncrtn$(objext)): Likewise.
10940
10941 2011-11-03 Andreas Schwab <schwab@redhat.com>
10942
10943 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10944
10945 2011-11-02 David S. Miller <davem@davemloft.net>
10946
10947 * configure.ac: Set host_address on sparc too.
10948 * configure: Regenerate.
10949 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10950 based upon host_address.
10951 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10952
10953 2011-11-02 Jason Merrill <jason@redhat.com>
10954
10955 * config/rs6000/t-ppccomm: Add missing \.
10956
10957 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10958
10959 * gthr-single.h, gthr.h: New files.
10960 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10961 config/gthr-vxworks.h, config/i386/gthr-win32.h,
10962 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10963 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10964 * config/i386/gthr-win32.c: Include "gthr-win32.h".
10965 * configure.ac (thread_header): New variable.
10966 Set it depending on target_thread_file.
10967 (gthr-default.h): Link from $thread_header.
10968 * configure: Regenerate.
10969 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10970
10971 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10972
10973 * configure.ac (tm_file_): New variable.
10974 Determine from tm_file.
10975 (tm_file, tm_defines): Substitute.
10976 * configure: Regenerate.
10977 * mkheader.sh: New file.
10978 * Makefile.in (clean): Remove libgcc_tm.h.
10979 ($(objects)): Depend on libgcc_tm.h.
10980 (libgcc_tm_defines, libgcc_tm_file): New variables.
10981 (libgcc_tm.h, libgcc_tm.stamp): New targets.
10982 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10983 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10984 ($(extra-parts)): Depend on libgcc_tm.h.
10985 * config.host (tm_defines, tm_file): New variable.
10986 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10987 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10988 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10989 (avr-*-rtems*): Likewise.
10990 (avr-*-*): Likewise.
10991 (frv-*-elf): Likewise.
10992 (frv-*-*linux*): Likewise.
10993 (h8300-*-rtems*): Likewise.
10994 (h8300-*-elf*): Likewise.
10995 (i[34567]86-*-darwin*): Likewise.
10996 (x86_64-*-darwin*): Likewise.
10997 (rx-*-elf): Likewise.
10998 (tic6x-*-uclinux): Likewise.
10999 (tic6x-*-elf): Likewise.
11000 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
11001 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
11002 * config/i386/cygming-crtbegin.c: Likewise.
11003 * config/i386/cygming-crtend.c: Likewise.
11004 * config/ia64/fde-vms.c: Likewise.
11005 * config/ia64/unwind-ia64.c: Likewise.
11006 * config/libbid/bid_gcc_intrinsics.h: Likewise.
11007 * config/rs6000/darwin-fallback.c: Likewise.
11008 * config/stormy16/lib2funcs.c: Likewise.
11009 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
11010 * crtstuff.c: Likewise.
11011 * dfp-bit.h: Likewise.
11012 * emutls.c: Likewise.
11013 * fixed-bit.c: Likewise.
11014 * fp-bit.c: Likewise.
11015 * generic-morestack-thread.c: Likewise.
11016 * generic-morestack.c: Likewise.
11017 * libgcc2.c: Likewise.
11018 * libgcov.c: Likewise.
11019 * unwind-dw2-fde-dip.c: Likewise.
11020 * unwind-dw2-fde.c: Likewise.
11021 * unwind-dw2.c: Likewise.
11022 * unwind-sjlj.c: Likewise.
11023
11024 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11025
11026 * configure.ac: Include ../config/picflag.m4.
11027 (GCC_PICFLAG): Call it.
11028 Substitute.
11029 * configure: Regenerate.
11030 * Makefile.in (gcc_srcdir): Remove.
11031 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
11032 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
11033 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
11034 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
11035 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
11036 Use $<.
11037 Remove comment.
11038 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
11039 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
11040 to refer to libgcc2.c.
11041 Use $<.
11042 * config/darwin-64.c: New file.
11043 * config/darwin-crt3.c: Remove comment.
11044 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
11045 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
11046 config/udivmodsi4.c: New files.
11047 * config/memcmp.c, config/memcpy.c, config/memmove.c,
11048 config/memset.c: New files.
11049 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
11050 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
11051 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
11052 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
11053 * config/t-openbsd-thread: New file.
11054 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
11055 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
11056 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
11057 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
11058 qrnnd.S.
11059 Adapt filename.
11060 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
11061 to refer to gthr-posix.c.
11062 * config/alpha/t-vms (LIB2ADD): Set.
11063 * config/alpha/vms-gcc_shell_handler.c: New file.
11064 * config/arm/bpabi.c, config/arm/fp16.c,
11065 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
11066 config/arm/unaligned-funcs.c: New files.
11067 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
11068 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
11069 * config/arm/t-linux: Likewise.
11070 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
11071 * config/arm/t-netbsd: New file.
11072 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
11073 * config/arm/t-symbian (LIB2ADD_ST): Set.
11074 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
11075 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11076 * config/bfin/t-elf: New file.
11077 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
11078 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
11079 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
11080 config/c6x/ltf.c: New files.
11081 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
11082 (HOST_LIBGCC2_CFLAGS): Set.
11083 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
11084 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11085 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
11086 New files.
11087 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
11088 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
11089 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
11090 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
11091 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
11092 files.
11093 * config/frv/t-frv (LIB2ADD): Set.
11094 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11095 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
11096 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
11097 config/h8300/popcounthi2.c: New files.
11098 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
11099 * config/i386/gthr-win32.c: New file.
11100 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
11101 * config/i386/t-cygwin: Likewise.
11102 * config/i386/t-darwin, config/i386/t-darwin64,
11103 config/i386/t-gthr-win32, config/i386/t-interix: New files.
11104 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
11105 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11106 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11107 * config/ia64/quadlib.c: New file.
11108 * config/ia64/t-hpux (LIB2ADD): Set.
11109 * config/ia64/t-ia64: Add comment.
11110 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
11111 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11112 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
11113 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
11114 * config/m32c/t-m32c (LIB2ADD): Set.
11115 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
11116 * config/m32r/t-m32r: Likewise.
11117 * config/m68k/fpgnulib.c: New file.
11118 * config/m68k/t-floatlib (LIB2ADD): Set.
11119 (xfgnulib.c): New target.
11120 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
11121 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
11122 * config/mep/t-mep (LIB2ADD): Set.
11123 * config/microblaze/divsi3.asm: Rename to divsi3.S.
11124 * config/microblaze/moddi3.asm: Rename to moddi3.S.
11125 * config/microblaze/modsi3.asm: Rename to modsi3.S.
11126 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
11127 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
11128 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
11129 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
11130 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
11131 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
11132 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
11133 New files.
11134 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
11135 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
11136 * config/pa/fptr.c, config/pa/lib2funcs.S,
11137 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
11138 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
11139 (LIB2ADD, LIB2ADD_ST): Set.
11140 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
11141 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
11142 Set.
11143 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
11144 * config/pdp11/t-pdp11: New file.
11145 * config/picochip/libgccExtras/adddi3.S,
11146 config/picochip/libgccExtras/ashlsi3.S,
11147 config/picochip/libgccExtras/ashrsi3.S,
11148 config/picochip/libgccExtras/clzsi2.S,
11149 config/picochip/libgccExtras/cmpsi2.S,
11150 config/picochip/libgccExtras/divmod15.S,
11151 config/picochip/libgccExtras/divmodhi4.S,
11152 config/picochip/libgccExtras/divmodsi4.S,
11153 config/picochip/libgccExtras/lshrsi3.S,
11154 config/picochip/libgccExtras/parityhi2.S,
11155 config/picochip/libgccExtras/popcounthi2.S,
11156 config/picochip/libgccExtras/subdi3.S,
11157 config/picochip/libgccExtras/ucmpsi2.S,
11158 config/picochip/libgccExtras/udivmodhi4.S,
11159 config/picochip/libgccExtras/udivmodsi4.S: New files.
11160 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
11161 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
11162 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
11163 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
11164 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
11165 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
11166 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
11167 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
11168 files.
11169 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
11170 (HOST_LIBGCC2_CFLAGS): Set.
11171 * config/rs6000/t-darwin64: New file.
11172 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
11173 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
11174 * config/rs6000/t-ppccomm (LIB2ADD): Add
11175 $(srcdir)/config/rs6000/tramp.S.
11176 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
11177 Add $(srcdir)/config/rs6000/eabi.S.
11178 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
11179 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
11180 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
11181 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
11182 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
11183 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
11184 * config/rs6000/tramp.S: New file.
11185 * config/s390/t-tpf: Remove.
11186 * config/sh/linux-atomic.S: New file.
11187 * config/sh/t-linux (LIB2ADD): Set.
11188 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
11189 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
11190 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
11191 to unwind-dw2.c.
11192 (HOST_LIBGCC2_CFLAGS): Set.
11193 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11194 * config/spu/divmodti4.c, config/spu/divv2df3.c,
11195 config/spu/float_disf.c, config/spu/float_unsdidf.c,
11196 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
11197 config/spu/mfc_multi_tag_release.c,
11198 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
11199 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
11200 config/spu/multi3.c: New files.
11201 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
11202 (HOST_LIBGCC2_CFLAGS): Set.
11203 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
11204 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
11205 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
11206 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
11207 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
11208 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
11209 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
11210 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
11211 config/stormy16/umodsi3.c: New files.
11212 * config/xtensa/lib2funcs.S: New file.
11213 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
11214 * config/xtensa/t-xtensa (LIB2ADD): Set.
11215 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
11216 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
11217 Add t-freebsd-thread to tmake_file for posix threads.
11218 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
11219 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
11220 (*-*-lynxos*): Likewise.
11221 (*-*-netbsd*): Likewise.
11222 (*-*-openbsd*): Likewise.
11223 Add t-openbsd-thread to tmake_file for posix threads.
11224 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
11225 (*-*-vxworks*): Set tmake_file.
11226 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
11227 (alpha*-*-freebsd*): Likewise.
11228 (alpha*-*-netbsd*): Likewise.
11229 (alpha*-*-openbsd*): Likewise.
11230 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
11231 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
11232 (alpha*-dec-*vms*): Likewise.
11233 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
11234 (bfin*-elf*): Add bfin/t-elf to tmake_file.
11235 (bfin*-uclinux*): Likewise.
11236 (bfin*-linux-uclibc*): Likewise.
11237 (crisv32-*-elf): Add cris/t-cris to tmake_file.
11238 (crisv32-*-none): Likewise.
11239 (cris-*-elf): Likewise.
11240 (cris-*-none): Likewise.
11241 (cris-*-linux*, crisv32-*-linux*): Likewise.
11242 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
11243 tmake_file.
11244 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
11245 tmake_file.
11246 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
11247 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
11248 (x86_64-*-elf*): Likewise.
11249 (i[34567]86-*-nto-qnx*): Likewise.
11250 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
11251 win32 threads.
11252 (x86_64-*-mingw*): Likewise.
11253 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
11254 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
11255 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11256 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11257 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
11258 tmake_file.
11259 (mipsisa64sr71k-*-elf*): Likewise.
11260 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11261 (mips-*-elf*, mipsel-*-elf*): Likewise.
11262 (mips64-*-elf*, mips64el-*-elf*): Likewise.
11263 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11264 (mips*-*-rtems*): Likewise.
11265 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
11266 to tmake_file.
11267 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
11268 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
11269 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
11270 (spu-*-elf*): Likewise.
11271 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
11272
11273 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11274
11275 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
11276 $(srcdir) to refer to $(LIB1ASMSRC).
11277 Use $<.
11278 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
11279 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
11280 config/arm/lib1funcs.S: New files.
11281 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
11282 * config/arm/t-arm: New file.
11283 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
11284 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
11285 config/arm/t-strongarm-elf: New files.
11286 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
11287 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
11288 * config/avr/lib1funcs.S: New file.
11289 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11290 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
11291 * config/c6x/lib1funcs.S: New file.
11292 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11293 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
11294 * config/frv/lib1funcs.S: New file.
11295 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11296 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
11297 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
11298 * config/ia64/__divxf3.asm: Rename to ...
11299 * config/ia64/__divxf3.S: ... this.
11300 Adapt lib1funcs.asm filename.
11301 * config/ia64/_fixtfdi.asm: Rename to ...
11302 * config/ia64/_fixtfdi.S: ... this.
11303 Adapt lib1funcs.asm filename.
11304 * config/ia64/_fixunstfdi.asm: Rename to ...
11305 * config/ia64/_fixunstfdi.S: ... this.
11306 Adapt lib1funcs.asm filename.
11307 * config/ia64/_floatditf.asm: Rename to ...
11308 * config/ia64/_floatditf.S: ... this.
11309 Adapt lib1funcs.asm filename.
11310 * config/ia64/lib1funcs.S: New file.
11311 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
11312 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11313 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
11314 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
11315 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
11316 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
11317 * config/mep/lib1funcs.S: New file.
11318 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11319 * config/mips/mips16.S: New file.
11320 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11321 * config/pa/milli64.S: New file.
11322 * config/pa/t-linux, config/pa/t-linux64: New files.
11323 * config/picochip/lib1funcs.S: New file.
11324 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11325 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
11326 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
11327 * config/sh/t-netbsd: New file.
11328 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
11329 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
11330 * config/sh/t-sh64: New file.
11331 * config/sparc/lb1spc.S: New file.
11332 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
11333 filename.
11334 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
11335 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
11336 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
11337 config/xtensa/lib1funcs.S: New files.
11338 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11339 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
11340 tmake_file.
11341 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
11342 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
11343 (arm*-*-linux*): Likewise.
11344 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
11345 arm*-*-linux-*eabi, add arm/t-linux otherwise.
11346 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
11347 (arm*-*-ecos-elf): Likewise.
11348 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11349 (arm*-*-rtems*): Likewise.
11350 (arm*-*-elf): Likewise.
11351 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
11352 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
11353 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
11354 (bfin*-uclinux*): Likewise.
11355 (bfin*-linux-uclibc*): Likewise.
11356 (bfin*-rtems*): Likewise.
11357 (bfin*-*): Likewise.
11358 (fido-*-elf): Merge into m68k-*-elf*.
11359 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
11360 (frv-*-*linux*): Add frv/t-frv to tmake_file.
11361 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
11362 (h8300-*-elf*): Likewise.
11363 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
11364 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
11365 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
11366 (i[34567]86-*-mingw*): Likewise.
11367 (x86_64-*-mingw*): Likewise.
11368 (i[34567]86-*-interix3*): Likewise.
11369 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
11370 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
11371 (m68k-*-elf*): Also handle fido-*-elf.
11372 Add m68k/t-floatlib to tmake_file.
11373 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
11374 (m68k-*-linux*): Likewise.
11375 (m68k-*-rtems*): Likewise.
11376 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
11377 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
11378 sh64*-*-*.
11379 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
11380 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
11381 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
11382 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
11383 sh/t-netbsd to tmake_file.
11384 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
11385 (sh-*-rtems*): Add sh/t-sh to tmake_file.
11386 (sh-wrs-vxworks): Likewise.
11387 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
11388 *-leon[3-9]*.
11389 (v850*-*-*): Add v850/t-v850 to tmake_file.
11390 (vax-*-linux*): Add vax/t-linux to tmake_file.
11391 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
11392
11393 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11394
11395 * crtstuff.c: New file.
11396 * Makefile.in (CRTSTUFF_CFLAGS): Define.
11397 (CRTSTUFF_T_CFLAGS): Define.
11398 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
11399 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
11400 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
11401 crtstuff.c.
11402 Use $<.
11403 (crtbeginT.o): Use $(objext).
11404 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
11405 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
11406 (gcc-extra-parts): Remove.
11407 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
11408 Set extra_parts.
11409 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11410 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
11411 Add t-crtstuff-pic to tmake_file.
11412 (*-*-lynxos*): New case.
11413 Set tmake_file, extra_parts.
11414 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
11415 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
11416 *-*-netbsdelf[2-9]*.
11417 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
11418 (*-*-rtems*): Set extra_parts.
11419 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
11420 (*-*-uclinux*): New case.
11421 Set extra_parts.
11422 (*-*-vms*): New case.
11423 Set tmake_file, extra_parts.
11424 (*-*-elf): Set extra_parts.
11425 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
11426 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
11427 vms/t-vms64.
11428 Set extra_parts.
11429 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
11430 Set extra_parts.
11431 (arm*-*-freebsd*): Add t-crtin to tmake_file.
11432 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
11433 (arm-wrs-vxworks): Append to tmake_file.
11434 Set extra_parts.
11435 (arm*-*-uclinux*): Set extra_parts.
11436 (arm*-*-ecos-elf): Likewise.
11437 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
11438 arm*-*-eabi*.
11439 (arm*-*-rtems*): Set extra_parts.
11440 (arm*-*-elf): Likewise.
11441 (avr-*-rtems*): Clear extra_parts.
11442 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
11443 Set extra_parts.
11444 (bfin*-uclinux*): Likewise.
11445 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
11446 (bfin*-rtems*): Append to tmake_file.
11447 Set extra_parts.
11448 (bfin*-*): Likewise.
11449 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
11450 (crisv32-*-elf): ... this.
11451 (crisv32-*-none): ... this.
11452 (cris-*-elf, cris-*-none): New cases.
11453 Add cris/t-elfmulti to tmake_file.
11454 (fr30-*-elf): Append to tmake_file.
11455 Set extra_parts.
11456 (frv-*-elf): Append to tmake_file, add frv/t-frv.
11457 Set extra_parts.
11458 (h8300-*-rtems*): Append to tmake_file.
11459 Set extra_parts.
11460 (h8300-*-elf*): Likewise.
11461 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
11462 Set extra_parts.
11463 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
11464 Set extra_parts.
11465 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
11466 (x86_64-*-elf*): Likewise.
11467 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
11468 (x86_64-*-freebsd*): Likewise.
11469 (x86_64-*-netbsd*): Likewise.
11470 (i[34567]86-*-linux*): Likewise.
11471 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11472 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11473 (x86_64-*-linux*): Likewise.
11474 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11475 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
11476 tmake_file.
11477 Set extra_parts.
11478 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
11479 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
11480 Append to extra_parts, remove crtbegin.o, crtend.o.
11481 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
11482 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
11483 crtend.o, crtbeginS.o, crtendS.o.
11484 (ia64*-*-linux*): Comment extra_parts.
11485 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
11486 Set extra_parts.
11487 (iq2000*-*-elf*): Clear extra_parts.
11488 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
11489 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
11490 (m32r-*-elf*, m32r-*-rtems*): Split off ...
11491 (m32r-*-rtems*): ... this.
11492 Add m32r/t-m32r to tmake_file.
11493 (m68k-*-elf*): Add t-crtin to tmake_file.
11494 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
11495 (mcore-*-elf): Likewise.
11496 (microblaze*-*-*): Set extra_parts.
11497 (mips*-sde-elf*): New case.
11498 Set tmake_file, extra_parts.
11499 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11500 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11501 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
11502 tmake_file.
11503 Set extra_parts.
11504 (mipsisa64sr71k-*-elf*): Likewise.
11505 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11506 (mips-*-elf*, mipsel-*-elf*): Likewise.
11507 (mips64-*-elf*, mips64el-*-elf*): Likewise.
11508 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
11509 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11510 (mips*-*-rtems*): Likewise.
11511 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
11512 (moxie-*-*): Split into ...
11513 (moxie-*-elf, moxie-*-uclinux*): ... this.
11514 Add to extra_parts, remove crtbegin.o, crtend.o.
11515 (moxie-*-rtems*): New case.
11516 Set tmake_file.
11517 Clear extra_parts.
11518 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
11519 Set extra_parts.
11520 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
11521 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
11522 tmake_file.
11523 Set extra_parts.
11524 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
11525 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
11526 Set extra_parts.
11527 (powerpc-*-eabisim*): Likewise.
11528 (powerpc-*-elf*): Likewise.
11529 (powerpc-*-eabialtivec*): Likewise.
11530 (powerpc-xilinx-eabi*): Likewise.
11531 (powerpc-*-eabi*): Likewise.
11532 (powerpc-*-rtems*): Likewise.
11533 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
11534 tmake_file.
11535 Set extra_parts.
11536 (powerpc-*-lynxos*): Add to tmake_file.
11537 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
11538 rs6000/t-crtstuff, t-crtstuff-pic.
11539 Set extra_parts.
11540 (powerpcle-*-eabisim*): Likewise.
11541 (powerpcle-*-eabi*): Likewise.
11542 (rx-*-elf): Remove extra_parts.
11543 (s390x-ibm-tpf*): Set extra_parts.
11544 (score-*-elf): Set extra_parts.
11545 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11546 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11547 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11548 (sh64l*-*-netbsd*): Split into ...
11549 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
11550 Add t-crtstuff-pic to tmake_file.
11551 Set extra_parts.
11552 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
11553 Set extra_parts.
11554 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
11555 (sparc-*-elf*): Remove t-crtin from tmake_file.
11556 Add to extra_parts, remove crtbegin.o, crtend.o.
11557 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
11558 (sparc64-*-linux*): Likewise.
11559 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
11560 Add to extra_parts, remove crtbegin.o, crtend.o.
11561 (sparc64-*-elf*): Remove t-crtin from tmake_file.
11562 Add to extra_parts, remove crtbegin.o, crtend.o.
11563 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
11564 Add to extra_parts, remove crtbegin.o, crtend.o.
11565 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
11566 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
11567 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
11568 Set extra_parts.
11569 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
11570 Set extra_parts.
11571 (tic6x-*-*): Change to ...
11572 (tic6x-*-elf): ... this.
11573 Set extra_parts.
11574 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
11575 Set extra_parts.
11576 (am33_2.0-*-linux*): Add comment.
11577 (mep*-*-*): Add mep/t-mep to tmake_file.
11578 Set extra_parts.
11579 * config/alpha/t-vms: New file.
11580 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
11581 * config/arm/crti.S, config/arm/crtn.S: New files.
11582 * config/bfin/crti.S, config/bfin/crtn.S: New files.
11583 * config/bfin/crtlibid.S: New file.
11584 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
11585 * config/c6x/crti.S, config/c6x/crtn.S: New files.
11586 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
11587 (crti.o, crtin.o): New rules.
11588 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11589 * config/c6x/t-uclinux: New file.
11590 * config/cris/t-elfmulti: New file.
11591 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
11592 * config/fr30/crti.S, config/fr30/crtn.S: New files.
11593 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
11594 * config/frv/t-frv: New file.
11595 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
11596 * config/h8300/crti.S, config/h8300/crtn.S: New files.
11597 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
11598 New files.
11599 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
11600 refer to cygming-crtbegin.c, cygming-crtend.c.
11601 Use $<.
11602 * config/i386/t-nto: New file.
11603 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
11604 * config/ia64/crti.S, config/ia64/crtn.S: New files.
11605 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
11606 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
11607 Use .S extension.
11608 Use $<.
11609 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11610 (crtinitS.o): New rule.
11611 * config/ia64/vms-crtinit.S: New file.
11612 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
11613 * config/m32r/initfini.c: New file.
11614 * config/m32r/t-linux, config/m32r/t-m32r: New files.
11615 * config/m68k/crti.S, config/m68k/crtn.S: New files.
11616 * config/mcore/crti.S, config/mcore/crtn.S: New files.
11617 * config/mep/t-mep: New file.
11618 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
11619 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
11620 * config/mips/crti.S, config/mips/crtn.S: New files.
11621 * config/mips/t-crtstuff: New file.
11622 * config/mmix/crti.S, config/mmix/crtn.S: New files.
11623 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
11624 (CUSTOM_CRTIN): Set.
11625 ($(T)crti.o, $(T)crtn.o): Remove $(T),
11626 dependencies.
11627 Use $(srcdir) to refer to crti.S, crtn.S.
11628 Use .S extension, $<.
11629 * config/moxie/crti.asm: Rename to ...
11630 * config/moxie/crti.S: ... this.
11631 * config/moxie/crtn.asm: Rename to ...
11632 * config/moxie/crtn.S: ... this.
11633 * config/moxie/t-moxie: Remove.
11634 * config/pa/stublib.c: New file.
11635 * config/pa/t-stublib, config/pa/t-stublib64: New files.
11636 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
11637 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
11638 * config/rs6000/t-crtstuff: New file.
11639 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
11640 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
11641 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
11642 Make output file explicit.
11643 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
11644 Make output file explicit.
11645 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
11646 Make output file explicit.
11647 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
11648 Make output file explicit.
11649 * config/score/crti.S, config/score/crtn.S: New files.
11650 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
11651 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
11652 files.
11653 * config/sh/t-sh, config/sh/t-superh: New files.
11654 * config/sparc/t-linux64: New file.
11655 * config/spu/cache.S, config/spu/cachemgr.c: New files.
11656 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
11657 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
11658 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
11659 * config/t-crtin: Remove.
11660 * config/t-crtstuff-pic: New file.
11661 * config/t-sol2 (CUSTOM_CRTIN): Set.
11662 (crti.o, crtn.o): New rules.
11663 * config/vms/t-vms: New file.
11664 * config/vms/vms-ucrt0.c: New file.
11665 * config/xtensa/t-elf: New file.
11666
11667 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11668
11669 * Makefile.in (SHLIB_NM_FLAGS): Set.
11670 * mkmap-flat.awk, mkmap-symver.awk: New files.
11671 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
11672 exceptions.
11673 * configure: Regenerate.
11674 * config/libgcc-glibc.ver: New file.
11675 * config/libgcc-libsystem.ver: New file.
11676 * config/t-libunwind (SHLIB_LC): Set.
11677 * config/t-linux: New file.
11678 * config/t-slibgcc (INSTALL_SHLIB): New.
11679 (SHLIB_INSTALL): Use it.
11680 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
11681 to mkmap-symver.awk.
11682 (SHLIB_MAPFILES): Don't append, adapt pathname.
11683 (SHLIB_VERPFX): Set.
11684 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
11685 to mkmap-symver.awk.
11686 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
11687 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
11688 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
11689 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
11690 to mkmap-flat.awk.
11691 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
11692 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
11693 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
11694 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
11695 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
11696 * config/i386/libgcc-darwin.10.4.ver,
11697 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
11698 New files.
11699 * config/i386/t-darwin: Remove.
11700 * config/i386/t-darwin64: Likewise.
11701 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
11702 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
11703 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
11704 * config/i386/t-linux: New file.
11705 * config/i386/t-mingw32: New file.
11706 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
11707 * config/ia64/t-glibc: Rename to ...
11708 * config/ia64/t-linux: ... this.
11709 (SHLIB_MAPFILES): Set.
11710 * config/ia64/t-glibc-libunwind: Rename to ...
11711 * config/ia64/t-linux-libunwind: ... this.
11712 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
11713 * config/ia64/t-slibgcc-hpux: New file.
11714 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
11715 * config/m68k/t-slibgcc-elf-ver: New file.
11716 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
11717 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
11718 to mkmap-flat.awk.
11719 * config/pa/t-slibgcc-hpux: New file.
11720 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11721 files.
11722 * config/rs6000/libgcc-darwin.10.4.ver,
11723 config/rs6000/libgcc-darwin.10.5.ver: New files.
11724 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11725 config/rs6000/libgcc-glibc.ver.
11726 * config/rs6000/libgcc-ppc64.ver: Rename to
11727 config/rs6000/libgcc-ibm-ldouble.ver.
11728 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11729 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11730 * config/rs6000/t-ldbl128: Rename to ...
11731 * config/rs6000/t-linux: ... this.
11732 (SHLIB_MAPFILES): Adapt filename.
11733 * config/rs6000/t-slibgcc-aix: New file.
11734 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11735 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11736 libgcc-excl.ver, libgcc-glibc.ver.
11737 (SHLIB_LINK, SHLIB_INSTALL): Remove.
11738 * config/sparc/libgcc-glibc.ver: New file.
11739 * config/sparc/t-linux: New file.
11740 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11741 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11742 t-slibgcc-elf-ver to tmake_file.
11743 Add t-slibgcc-nolc-override to tmake_file for posix threads on
11744 *-*-freebsd[34].
11745 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11746 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11747 t-slibgcc-elf-ver, t-linux to tmake_file.
11748 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11749 tmake_file.
11750 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11751 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11752 (alpha*-dec-*vms*): Likewise.
11753 (arm*-*-freebsd*): Append to tmake_file.
11754 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11755 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11756 arm*-*-linux-*eabi.
11757 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11758 tmake_file for arm*-*-symbianelf*.
11759 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11760 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11761 cris/t-linux.
11762 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11763 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11764 pa/t-slibgcc-dwarf-ver to tmake_file.
11765 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11766 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11767 (hppa*64*-*-hpux11*): Likewise.
11768 (hppa[12]*-*-hpux11*): Likewise.
11769 (x86_64-*-darwin*): Don't override tmake_file, but only keep
11770 i386/t-crtpc, i386/t-crtfm.
11771 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11772 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11773 to tmake_file.
11774 Add i386/t-cygwin to tmake_file.
11775 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11776 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11777 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11778 to tmake_file.
11779 Add i386/t-mingw32 to tmake_file.
11780 (x86_64-*-mingw*): Likewise.
11781 (ia64*-*-freebsd*): Append to tmake_file.
11782 (ia64*-*-linux*): Append to tmake_file.
11783 Replace ia64/t-glibc by ia64/t-linux.
11784 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11785 system libunwind.
11786 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11787 t-slibgcc-hpux to tmake_file.
11788 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11789 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11790 (m32rle-*-linux*): Likewise.
11791 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11792 sjlj exceptions.
11793 (microblaze*-linux*): New case.
11794 Append to tmake_file, add t-slibgcc-nolc-override.
11795 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11796 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11797 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11798 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11799 rs6000/t-slibgcc-aix to tmake_file.
11800 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11801 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11802 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11803 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11804 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11805 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11806 sh*-*-linux*.
11807 (sparc-*-linux*): Append to tmake_file for *-leon*.
11808 Add sparc/t-linux to tmake_file for non-Leon targets.
11809 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11810 (tic6x-*-uclinux): New case.
11811 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11812 (tic6x-*-*): Add c6x/t-elf to tmake_file.
11813 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11814 (am33_2.0-*-linux*): Append to tmake_file.
11815 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11816 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11817 x86_64-*-kfreebsd*-gnu.
11818 Add i386/t-linux to tmake_file.
11819
11820 2011-10-28 Ian Lance Taylor <iant@google.com>
11821
11822 * config/i386/morestack.S: Correct CFI information to do proper
11823 returns throughout function. In 32-bit mode, save %ebx so that it
11824 is restored on unwind.
11825
11826 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
11827
11828 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11829 case where B3 isn't the return register.
11830
11831 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11832 logic for doubleword pops.
11833
11834 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
11835
11836 * config/rs6000/t-freebsd: Add wildcard.
11837
11838 2011-10-21 Paul Brook <paul@codesourcery.com>
11839
11840 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11841
11842 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
11843 Eric Botcazou <ebotcazou@adacore.com>
11844
11845 PR target/50737
11846 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11847 fs->signal_frame to 1.
11848
11849 2011-10-07 Ian Lance Taylor <iant@google.com>
11850
11851 * generic-morestack-thread.c: #include <errno.h>.
11852
11853 2011-10-07 Ian Lance Taylor <iant@google.com>
11854
11855 PR target/46093
11856 * generic-morestack.c (__generic_morestack): Make sure the segment
11857 is large enough for both the stack frame and the copied
11858 parameters.
11859
11860 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11861
11862 PR bootstrap/49804
11863 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11864 extra_parts.
11865
11866 2011-09-28 Nick Clifton <nickc@redhat.com>
11867
11868 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11869 64-bit doubles are not enabled.
11870 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11871 and floatunsisf functions.
11872
11873 2011-09-13 Paul Brook <paul@codesourcery.com>
11874
11875 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
11876 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11877 * unwind-arm-common.inc: New file.
11878 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11879 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11880 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11881 * config/c6x/libunwind.S: New file.
11882 * config/c6x/pr-support.c: New file.
11883 * config/c6x/unwind-c6x.c: New file.
11884 * config/c6x/unwind-c6x.h: New file.
11885 * config/c6x/t-c6x-elf: New file.
11886
11887 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
11888
11889 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11890 (ASM_DIVZERO): Ditto.
11891 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11892
11893 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
11894
11895 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11896
11897 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
11898
11899 PR target/50090
11900 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11901 instead of an assembly one.
11902
11903 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
11904
11905 PR bootstrap/50047
11906 * Makefile.in (install-unwind_h): Create
11907 $(gcc_objdir)/include/unwind.h atomically.
11908
11909 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11910
11911 * Makefile.in (install-unwind_h): Remove destination file first.
11912
11913 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11914
11915 * sync.c: New file.
11916 * config/mips/t-mips16: New file.
11917 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11918 (mips*-*-linux*): Likewise.
11919 (mips*-sde-elf*): Likewise.
11920 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11921 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11922 Add mips/t-mips16 to tmake_file.
11923 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11924 (mips-*-elf*): Likewise.
11925 (mips64-*-elf*): Likewise.
11926 (mips64orion-*-elf*): Likewise.
11927 (mips*-*-rtems*): Likewise.
11928 (mipstx39-*-elf*): Likewise.
11929 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11930 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11931 LIBGCC_SYNC_CFLAGS.
11932 Use $(srcdir) to refer to sync.c.
11933 Use $<.
11934 ($(libgcc-sync-funcs-o)): Likewise.
11935 ($(libgcc-sync-size-funcs-s-o)): Likewise.
11936 ($(libgcc-sync-funcs-s-o)): Likewise.
11937
11938 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11939
11940 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11941 t-libunwind.
11942
11943 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
11944
11945 PR other/48007
11946 * config/i386/value-unwind.h: New.
11947
11948 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
11949
11950 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11951 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11952 Add to tmake_file rather than overriding it.
11953
11954 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11955
11956 * config/t-softfp: Remove.
11957 * soft-fp: Moved from ../gcc/config.
11958 * soft-fp/README: Remove t-softfp reference.
11959 * soft-fp/t-softfp: Move to config/t-softfp.
11960 (softfp_machine_header): Remove.
11961 (softfp_file_list): Remove config subdir.
11962 (soft-fp-objects): New variable.
11963 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11964 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11965 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11966 * config/t-softfp-excl: New file.
11967 * config/t-softfp-sfdf: New file.
11968 * config/t-softfp-tf: New file.
11969 * config/no-sfp-machine.h: New file.
11970 * config/arm/sfp-machine.h: New file.
11971 * config/arm/t-softfp: New file.
11972 * config/c6x/sfp-machine.h: New file.
11973 * config/i386/32/t-fprules-softfp: Rename to ...
11974 * config/i386/32/t-softfp: ... this.
11975 (tifunctions, LIB2ADD): Remove.
11976 (softfp_int_modes): Override.
11977 * config/i386/64/t-softfp-compat (tf-functions): Remove config
11978 subdir.
11979 * config/i386/64/eqtf2.c: Likewise.
11980 * config/i386/64/getf2.c: Likewise.
11981 * config/i386/64/letf2.c: Likewise.
11982 * config/ia64/sft-machine.h: New file.
11983 * config/ia64/t-fprules-softfp: Rename to ...
11984 * config/ia64/t-softfp: ... this.
11985 * config/lm32/sfp-machine.h: New file.
11986 * config/moxie/t-moxie-softfp: Remove.
11987 * config/rs6000/ibm-ldouble-format: New file.
11988 * config/rs6000/ibm-ldouble.c: New file.
11989 * config/rs6000/libgcc-ppc-glibc.ver: New file
11990 * config/rs6000/libgcc-ppc64.ver: New file
11991 * config/rs6000/sfp-machine.h: New file.
11992 * config/rs6000/t-freebsd: New file.
11993 * config/rs6000/t-ibm-ldouble: New file.
11994 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11995 libgcc-ppc-glibc.ver.
11996 * config/rs6000/t-linux64: New file.
11997 * config/rs6000/t-ppccomm (LIB2ADD): Add
11998 $(srcdir)/config/rs6000/ibm-ldouble.c.
11999 * config/rs6000/t-ppccomm-ldbl: New file.
12000 * config/score/sfp-machine.h: New file.
12001 * config.host (sfp_machine_header): Explain.
12002 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
12003 t-softfp to tmake_file.
12004 (arm*-*-uclinux*): Likewise.
12005 (arm*-*-ecos-elf): Likewise.
12006 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
12007 (arm*-*-rtems*): Likewise.
12008 (arm*-*-elf): Likewise.
12009 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
12010 in tmake_file.
12011 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
12012 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
12013 (lm32-*-uclinux*): Likewise.
12014 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
12015 t-softfp-excl, t-softfp.
12016 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
12017 (powerpc64-*-darwin*): Likewise.
12018 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
12019 to tmake_file.
12020 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
12021 tmake_file.
12022 (powerpc-*-eabisim*): Likewise.
12023 (powerpc-*-elf*): Likewise.
12024 (powerpc-*-eabialtivec*): Likewise.
12025 (powerpc-xilinx-eabi*): Likewise.
12026 (powerpc-*-rtems*): Likewise.
12027 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
12028 t-softfp-excl, t-softfp to tmake_file.
12029 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
12030 rs6000/t-ppccomm-ldbl to tmake_file.
12031 (powerpcle-*-elf*): Likewise.
12032 (powerpcle-*-eabisim*): Likewise.
12033 (powerpcle-*-eabi*): Likewise.
12034 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
12035 rs6000/t-ibm-ldouble to tmake_file.
12036 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12037 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12038 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
12039 (tic6x-*-*): Likewise.
12040 (i[34567]86-*-darwin*, x86_64-*-darwin*,
12041 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
12042 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
12043 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
12044 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
12045 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
12046 t-softfp to tmake_file.
12047 * configure.ac (sfp_machine_header): Provide default if unset.
12048 Substitute.
12049 Link sfp-machine.h to config/$sfp_machine_header.
12050 * configure: Regenerate.
12051
12052 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12053
12054 * Makefile.in (double_type_size, long_double_type_size): Set.
12055 Remove $(fpbit-in-libgcc) support.
12056 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
12057 (fpbit-src): New variable.
12058 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
12059 Compile with -DFLOAT $(FPBIT_CFLAGS).
12060 Use $<.
12061 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
12062 Compile with $(FPBIT_CFLAGS).
12063 Use $<.
12064 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
12065 Compile with -DFLOAT $(TPBIT_CFLAGS).
12066 Use $<.
12067 * configure.ac (double_type_size, long_double_type_size):
12068 Determine and substitute.
12069 * configure: Regenerate.
12070 * fp-bit.c, fp-bit.h: New files.
12071 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
12072 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
12073 * config/mips/t-mips: New file.
12074 * config/mips/t-sdemtk: New file.
12075 * config/rs6000/ppc64-fp.c: New file.
12076 * config/rs6000/t-darwin (LIB2ADD): Add
12077 $(srcdir)/config/rs6000/ppc64-fp.c.
12078 * config/rs6000/t-ppc64-fp: New file.
12079 * config/rx/rx-lib.h: New file.
12080 * config/rx/t-rx (FPBIT): Set to true.
12081 ($(gcc_objdir)/fp-bit.c): Remove.
12082 (DPBIT): Set to true only with -m64bit-doubles.
12083 ($(gcc_objdir)/dp-bit.c): Remove.
12084 * config/sparc/t-softfp: Remove.
12085 * config/spu/t-elf: New file.
12086 * config/t-fdpbit, config/t-fpbit: New files.
12087 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
12088 (mips*-*-*): Likewise.
12089 (arm-wrs-vxworks): Likewise.
12090 (arm*-*-freebsd*): Likewise.
12091 (avr-*-rtems*): Add t-fpbit to tmake_file.
12092 (avr-*-*): Likewise.
12093 (bfin*-elf*): Add t-fdpbit to tmake_file.
12094 (bfin*-uclinux*): Likewise.
12095 (bfin*-linux-uclibc*): Likewise.
12096 (bfin*-rtems*): New case.
12097 Add t-fdpbit to tmake_file.
12098 (bfin*-*): Add t-fdpbit to tmake_file.
12099 (crisv32-*-elf): Likewise.
12100 (cris-*-linux*): Likewise.
12101 (fr30-*-elf): Likewise.
12102 (frv-*-elf, frv-*-*linux*): Likewise.
12103 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
12104 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
12105 (m32r-*-elf*): Likewise.
12106 (m32rle-*-elf*): Likewise.
12107 (m32r-*-linux*): Likewise.
12108 (m32rle-*-linux*): Likewise.
12109 (mcore-*-elf): Add t-fdpbit to tmake_file.
12110 (microblaze*-*-*): Likewise.
12111 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
12112 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
12113 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
12114 Fix typo.
12115 Add mips/t-tpbit to tmake-file.
12116 (mips*-*-linux*): Fix typo.
12117 (mips*-sde-elf*): New case
12118 Add mips/t-sdemtk unless using newlib.
12119 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
12120 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
12121 (mn10300-*-*): Likewise.
12122 (pdp11-*-*): Likewise.
12123 (picochip-*-*): Add t-fpbit to tmake_file.
12124 (powerpc-*-eabisimaltivec*): Likewise.
12125 (powerpc-*-eabisim*): Likewise.
12126 (powerpc-*-elf*): Likewise.
12127 (powerpc-*-eabialtivec*): Likewise.
12128 (powerpc-xilinx-eabi*): New case.
12129 Add t-fdpbit to tmake_file.
12130 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
12131 (powerpc-*-rtems*): Likewise.
12132 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
12133 tmake_file.
12134 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
12135 tmake_file.
12136 (powerpc-*-lynxos*): Likewise.
12137 (powerpcle-*-elf*): Likewise.
12138 (powerpcle-*-eabisim*): Likewise.
12139 (powerpcle-*-eabi*): Likewise.
12140 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
12141 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
12142 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12143 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12144 (rx-*-elf): Add t-fdpbit to tmake_file.
12145 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
12146 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
12147 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
12148 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
12149 sh*-*-netbsd*.
12150 (sh-*-rtems*): Add t-fdpbit to tmake_file.
12151 (sh-wrs-vxworks): Likewise.
12152 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
12153 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
12154 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
12155 (sparc64-*-rtems*): ... new case.
12156 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
12157 (spu-*-elf*): Likewise.
12158 Add spu/t-elf to tmake_file.
12159 (v850*-*-*): Add t-fdpbit to tmake_file.
12160 (xstormy16-*-elf): Likewise.
12161 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
12162 (mep*-*-*): Likewise.
12163
12164 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12165
12166 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
12167 variables.
12168 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
12169 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
12170 (install-unwind_h): New target.
12171 (all): Depend on it.
12172 * config.host (unwind_header): New variable.
12173 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
12174 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
12175 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
12176 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
12177 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
12178 Set unwind_header.
12179 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
12180 Set unwind_header.
12181 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
12182 arm*-*-eabi*.
12183 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
12184 Set unwind_header.
12185 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
12186 (ia64*-*-freebsd*): Likewise.
12187 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
12188 tmake_file.
12189 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
12190 $with_system_libunwind.
12191 (ia64*-*-hpux*): Set tmake_file.
12192 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
12193 (picochip-*-*): Set tmake_file.
12194 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
12195 md_unwind_header.
12196 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12197 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12198 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
12199 (xtensa*-*-elf*): Set tmake_file.
12200 (xtensa*-*-linux*): Likewise.
12201 * configure.ac: Include ../config/unwind_ipinfo.m4.
12202 Call GCC_CHECK_UNWIND_GETIPINFO.
12203 Link unwind.h to $unwind_header.
12204 * configure: Regenerate.
12205 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
12206 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
12207 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
12208 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
12209 * config/unwind-dw2-fde-darwin.c: New file.
12210 * config/arm/libunwind.S, config/arm/pr-support.c,
12211 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
12212 config/arm/unwind-arm.h,: New files.
12213 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
12214 config/ia64/t-eh-ia64, config/ia64/t-glibc,
12215 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
12216 config/ia64/t-vms, config/ia64/unwind-ia64.c,
12217 config/ia64/unwind-ia64.h: New files.
12218 * config/picochip/t-picochip: New file.
12219 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
12220 files.
12221 * config/rs6000/t-darwin (LIB2ADDEH): Set.
12222 * config/s390/t-tpf (LIB2ADDEH): Remove.
12223 * config/t-darwin (LIB2ADDEH): Set.
12224 * config/t-eh-dw2-dip: New file.
12225 * config/t-libunwind, config/t-libunwind-elf: New files.
12226 * config/t-sol2 (LIB2ADDEH): Remove.
12227 * config/xtensa/t-xtensa: New file.
12228
12229 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
12230
12231 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
12232 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
12233 long long to check rt_sigreturn syscall.
12234
12235 2011-08-02 Alan Modra <amodra@gmail.com>
12236
12237 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
12238 Restore for indirect call bcrtl from correct stack slot, and only
12239 if cfa+40 isn't valid.
12240
12241 2011-08-01 Julian Brown <julian@codesourcery.com>
12242
12243 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
12244 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
12245 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
12246
12247 2011-08-01 Julian Brown <julian@codesourcery.com>
12248
12249 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
12250 (libgcc-std.ver.in): Use above.
12251 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
12252 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
12253 throughout file.
12254 * config/t-fixedpoint-gnu-prefix: New file.
12255 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
12256 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
12257 instead of __PFX__.
12258
12259 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
12260
12261 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
12262 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
12263 for x86-64. Properly check __x86_64__ and __LP64__.
12264
12265 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
12266
12267 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
12268 version.
12269 (_FP_WS_TYPE): Likewise.
12270 (_FP_I_TYPE): Likewise.
12271
12272 2011-07-28 Alan Modra <amodra@gmail.com>
12273
12274 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
12275 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
12276 in a plt call stub. Do restore r2 if stopped on bctrl.
12277
12278 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12279
12280 * config.host (i[3456x]86-*-netware*): Remove.
12281 * config/i386/netware-crt0.c, config/i386/t-nwld,
12282 config/i386/t-slibgcc-nwld: Remove.
12283
12284 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
12285
12286 * config.host: Handle tic6x-*-*.
12287 * config/c6x/c6x-abi.h: New file.
12288
12289 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12290
12291 * config/i386/crtprec.c: New file.
12292 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
12293 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
12294 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
12295 (x86_64-*-darwin*): Likewise.
12296 (i[34567]86-*-solaris2*: Likewise.
12297
12298 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12299
12300 * config/alpha/crtfastmath.c: New file.
12301 * config/i386/crtfastmath.c: New file.
12302 * config/ia64/crtfastmath.c: New file.
12303 * config/mips/crtfastmath.c: New file.
12304 * config/sparc/crtfastmath.c: New file.
12305
12306 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
12307 crtfastmath.c.
12308 Add -frandom-seed=gcc-crtfastmath.
12309 * config/alpha/t-crtfm: Remove.
12310 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
12311 * config/ia64/t-ia64 (crtfastmath.o): Remove.
12312
12313 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
12314 (alpha*-dec-osf5.1*): Likewise.
12315 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
12316 Add crtfastmath.o to extra_parts.
12317 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
12318 Add crtfastmath.o to extra_parts.
12319 (x86_64-*-darwin*): Likewise.
12320 (x86_64-*-mingw*): Likewise.
12321 (ia64*-*-elf*): Add t-crtfm to tmake_file.
12322 (ia64*-*-freebsd*): Likewise.
12323 (ia64*-*-linux*): Likewise.
12324 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
12325 Add crtfastmath.o to extra_parts.
12326
12327 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12328
12329 * config/darwin-crt3.o: New file.
12330 * config/rs6000/darwin-crt2.c: New file.
12331 * config/t-darwin: New file.
12332 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
12333 (crt2.o): New rule.
12334 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
12335 (powerpc-*-darwin*): Add crt2.o to extra_parts.
12336 (powerpc64-*-darwin*): Likewise.
12337
12338 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12339
12340 * config/i386/netware-crt0.c: New file.
12341 * config/i386/t-nwld: Rename to ...
12342 * config/i386/t-slibgcc-nwld: ... this.
12343 * config/i386/t-nwld: New file.
12344 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
12345 tmake_file.
12346 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
12347 extra_parts.
12348
12349 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12350
12351 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
12352 i386/t-crtstuff.
12353 * configure: Regenerate.
12354
12355 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12356
12357 * dfp-bit.c, dfp-bit.h: New files.
12358 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
12359 variables.
12360 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
12361 ($(d64pbit-o)): Likewise.
12362 ($(d128pbit-o)): Likewise.
12363 * config/t-dfprules: New file.
12364 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
12365 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
12366 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
12367 (x86_64-*-linux*): Likewise.
12368 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
12369 (i[34567]86-*-cygwin*): Likewise.
12370 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
12371 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
12372
12373 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12374
12375 * Makfile.in (LIBGCOV): New variable.
12376 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
12377 * libgcov.c: New file.
12378
12379 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12380
12381 * fixed-bit.c, fixed-bit.h: New files.
12382 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
12383 refer to fixed-bit.c.
12384
12385 2011-07-07 Joseph Myers <joseph@codesourcery.com>
12386
12387 * config.host (*local*): Remove.
12388
12389 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12390
12391 PR target/39150
12392 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
12393 like i?86-*-solaris2.1[0-9]*.
12394 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
12395 * configure.ac (i?86-*-solaris2*): Likewise.
12396 * configure: Regenerate.
12397
12398 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
12399
12400 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
12401 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
12402 md_unwind_header by splitting out of...
12403 (i[34567]86-*-linux*): ... this.
12404 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
12405 Remove md_unwind_header by splitting out of...
12406 (x86_64-*-linux*): ... this.
12407
12408 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
12409
12410 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
12411
12412 2011-06-28 Nick Clifton <nickc@redhat.com>
12413
12414 * config.host: Recognize all V850 variants.
12415
12416 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
12417
12418 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
12419
12420 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12421
12422 * shared-object.mk (c_flags-$o): Save c_flags.
12423 ($(base)$(objext)): Use it.
12424 ($(base)_s$(objext)): Likewise.
12425
12426 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
12427
12428 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
12429 * libgcc-std.ver.in (GCC_4.7.0): New section.
12430
12431 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
12432
12433 PR target/49313
12434 PR target/29524
12435 * config/avr/t-avr: Fix line endings.
12436 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
12437 _parityXX2.
12438
12439 2011-06-14 Olivier Hainque <hainque@adacore.com>
12440 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12441
12442 * config/mips/irix6-unwind.h: New file.
12443 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
12444
12445 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
12446
12447 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
12448 (sparc64_fallback_frame_state): Use it.
12449 (sparc64_frob_update_context): Further adjust context.
12450 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
12451 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
12452 * config/sparc/sol2-cn.S: Likewise.
12453
12454 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12455
12456 * enable-execute-stack-empty.c: New file.
12457 * enable-execute-stack-mprotect.c: New file.
12458 * config/i386/enable-execute-stack-mingw32.c: New file.
12459 * config.host (enable_execute_stack): New variable.
12460 Select appropriate variants.
12461 * configure.ac: Link enable-execute-stack.c to
12462 $enable_execute_stack.
12463 * configure: Regenerate.
12464 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
12465 (lib2funcs): Remove _enable_execute_stack.
12466
12467 2011-06-09 David S. Miller <davem@davemloft.net>
12468 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12469
12470 * config.host (sparc-*-linux*): Correct md_unwind_header
12471 filename.
12472 (s390x-ibm-tpf*): Fix typo.
12473
12474 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12475
12476 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
12477 Add crtfastmath.o to extra_parts.
12478 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
12479 mips/t-crtfm.
12480 * config/mips/t-crtfm: Remove.
12481
12482 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
12483
12484 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
12485
12486 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
12487
12488 * config.host (sh*-*-linux*): Fix typo.
12489
12490 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12491
12492 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
12493 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
12494 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
12495 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
12496 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
12497 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
12498 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
12499 Wrap in !__MINGW64__.
12500 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
12501 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
12502 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
12503 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
12504 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
12505 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
12506 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
12507 Wrap in !__LP64__.
12508 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
12509 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
12510 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
12511 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
12512 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
12513 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
12514 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
12515 * config/no-unwind.h: New file.
12516 * config.host (md_unwind_header): Document.
12517 Define.
12518 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
12519 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
12520 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
12521 hppa[12]*-*-hpux11*): Set md_unwind_header.
12522 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
12523 Set md_unwind_header.
12524 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
12525 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
12526 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
12527 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
12528 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
12529 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
12530 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
12531 md_unwind_header.
12532 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
12533 * configure: Regenerate.
12534
12535 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12536
12537 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
12538 Set tmake_file, extra_parts.
12539 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
12540 Remove O32 support.
12541 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
12542 Remove O32 support.
12543 * config/mips/t-irix6: New file.
12544 * config/mips/t-slibgcc-irix: New file.
12545
12546 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12547
12548 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
12549 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
12550
12551 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12552
12553 * configure.ac (target_thread_file): Determine thread model.
12554 * configure: Regenerate.
12555 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
12556 * config/alpha/t-alpha: New file.
12557 * config/alpha/t-crtfm: Use $<.
12558 * config/alpha/t-ieee: New file.
12559 * config/alpha/t-osf-pthread: New file.
12560 * config/alpha/t-slibgcc-osf: New file.
12561 * config/alpha/libgcc-osf5.ver: New file.
12562
12563 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12564
12565 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
12566 tmake_file.
12567 Add crtfastmath.o to extra_parts.
12568
12569 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12570
12571 * config/gmon-sol2.c: Reindent.
12572 Cleanup comments.
12573 Remove, correct casts.
12574 Use STDERR_FILENO, NULL.
12575 (BASEADDRESS): Remove.
12576 (minbrk): Remove.
12577 (errno, sbrk): Remove declarations.
12578 (monstartup) [hp300]: Remove.
12579 (mcount): Remove.
12580
12581 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12582
12583 * Makefile.in (cpu_type): Define.
12584 * config.host (i[34567]86-*-rtems*): Handle it.
12585 (i[34567]86-*-solaris2*): Move body ...
12586 (*-*-solaris2*): ... here.
12587 New case, generalize.
12588 (sparc-*-elf*): Handle it.
12589 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
12590 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
12591 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
12592 Fold into ...
12593 (sparc*-*-solaris2*): ... this.
12594 New case.
12595 (sparc64-*-elf*): Handle it.
12596 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
12597 Merge ../gcc/config/i386/gmon-sol2.c.
12598 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
12599 Use C comments.
12600 Merge ../gcc/config/i386/sol2-gc1.asm.
12601 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
12602 Use C comments.
12603 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
12604 Use C comments.
12605 * config/i386/t-crtfm (crtfastmath.o): Use $<.
12606 * config/i386/t-crtstuff: New file.
12607 * config/i386/t-softfp: New file.
12608 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
12609 $(T)crti.o, $(T)crtn.o): Remove.
12610 (gcrt1.o): New rule.
12611 (TARGET_LIBGCC2_CFLAGS): Remove.
12612 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
12613 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
12614 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
12615 * config/sparc/t-sol2: New file.
12616 * config/sparc/t-crtfm: Move to ...
12617 * config/t-crtfm: ... this.
12618 Use $(cpu_type), $<.
12619 * config/t-crtin: New file.
12620 * config/sparc/t-softfp: New file.
12621 * config/sparc/t-softmul: New file.
12622 * config/t-rtems: New file.
12623 * config/t-slibgcc: New file.
12624 * config/t-slibgcc-elf-ver: New file.
12625 * config/t-slibgcc-gld: New file.
12626 * config/t-slibgcc-sld: New file.
12627 * config/t-sol2: New file.
12628 * configure.ac: Include ../config/lib-ld.m4.
12629 Call AC_LIB_PROG_LD_GNU.
12630 Substitute cpu_type.
12631 * configure: Regenerate.
12632
12633 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
12634
12635 PR bootstrap/49173
12636 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
12637 libgcc-std.ver in the build directory.
12638 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
12639 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
12640
12641 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
12642
12643 * libgcc-std.ver.in: New file.
12644 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
12645 variables.
12646 (libgcc-std.ver): New rule.
12647 * config/t-gnu-prefix: New file.
12648
12649 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12650
12651 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
12652
12653 2011-05-10 Joseph Myers <joseph@codesourcery.com>
12654
12655 * config/i386/darwin-lib.h: New file.
12656
12657 2011-05-10 Joseph Myers <joseph@codesourcery.com>
12658
12659 * config/arm/symbian-lib.h: New.
12660
12661 2011-05-04 Chris Demetriou <cgd@google.com>
12662
12663 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
12664 (__x86.get_pc_thunk.bx): ...this.
12665 (__morestack): Adjust for rename, remove undef of __i686.
12666
12667 2011-05-03 Chris Demetriou <cgd@google.com>
12668
12669 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
12670
12671 2011-03-22 Joseph Myers <joseph@codesourcery.com>
12672
12673 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
12674 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
12675 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
12676 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
12677 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
12678 Remove cases.
12679
12680 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
12681
12682 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
12683 Adjust copyright year.
12684
12685 2011-03-07 Ian Lance Taylor <iant@google.com>
12686
12687 * generic-morestack.c (__splitstack_find): Adjust returned stack
12688 pointer to include all registers pushed by __morestack.
12689
12690 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
12691
12692 PR target/40125
12693 * configure.ac: Call ACX_NONCANONICAL_TARGET.
12694 (toolexecdir): Calculate and AC_SUBST.
12695 (toolexeclibdir): Likewise.
12696 * Makefile.in (target_noncanonical): Import.
12697 (toolexecdir): Likewise.
12698 (toolexeclibdir): Likewise.
12699 * configure: Regenerate.
12700
12701 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
12702
12703 PR target/46040
12704 * config/arm/bpabi.h: Rename to...
12705 * config/arm/bpabi-lib.h: ...this.
12706
12707 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12708
12709 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
12710 appropriate.
12711 * configure: Regenerate.
12712
12713 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
12714
12715 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
12716 __FLOAT_WORD_ORDER__.
12717 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
12718 Delete.
12719
12720 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12721
12722 PR other/46202
12723 * Makefile.in (install-strip): New phony target.
12724
12725 2010-11-07 Ian Lance Taylor <iant@google.com>
12726
12727 PR target/46089
12728 * config/i386/morestack.S (__morestack_large_model): New
12729 function.
12730
12731 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
12732
12733 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12734 Delete.
12735 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12736
12737 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
12738
12739 * config/arm/bpabi.h: New file.
12740 * config/frv/frv-abi.h: New file.
12741
12742 2010-10-01 Ian Lance Taylor <iant@google.com>
12743
12744 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12745 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12746
12747 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
12748
12749 PR target/45858
12750 * config.host: Add the missing `$'.
12751
12752 2010-09-30 Michael Eager <eager@eagercon.com>
12753
12754 * config.host: Add microblaze*-*-*.
12755 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12756 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12757 udivsi3.asm,umodsi3.asm}: New.
12758
12759 2010-09-28 Ian Lance Taylor <iant@google.com>
12760
12761 * configure.ac: Adjust CFI test to test assembler directly rather
12762 than checking gcc preprocessor macro.
12763 * configure: Rebuild.
12764
12765 2010-09-27 Ian Lance Taylor <iant@google.com>
12766
12767 * configure.ac: Test whether assembler supports CFI directives.
12768 * config.host: Only add t-stack and i386/t-stack-i386 to
12769 tmake_file if libgcc_cv_cfi is "yes".
12770 * configure: Rebuild.
12771
12772 2010-09-27 Ian Lance Taylor <iant@google.com>
12773
12774 * generic-morestack.h: New file.
12775 * generic-morestack.c: New file.
12776 * generic-morestack-thread.c: New file.
12777 * config/i386/morestack.S: New file.
12778 * config/t-stack: New file.
12779 * config/i386/t-stack-i386: New file.
12780 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12781 i386/t-stack-i386 to tmake_file.
12782
12783 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
12784
12785 * Makefile.in (libgcc-extra-parts): Check for static archives and
12786 invoke ranlib after installing them.
12787 (gcc-extra-parts): Likewise.
12788 (install-leaf): Likewise.
12789
12790 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
12791
12792 * configure: Regenerated.
12793
12794 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
12795
12796 * configure: Regenerated.
12797
12798 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
12799 Andrew Pinski <pinskia@gmail.com>
12800
12801 PR target/40959
12802 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
12803
12804 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
12805
12806 PR target/45524
12807 * configure: Regenerated.
12808
12809 2010-09-06 Andreas Schwab <schwab@redhat.com>
12810
12811 * configure: Regenerate.
12812
12813 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
12814
12815 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12816 64bit targets.
12817 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12818 for 64bit targets.
12819
12820 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
12821 Iain Sandoe <iains@gcc.gnu.org>
12822
12823 PR target/45476
12824 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12825 LIB2FUNCS_EXCLUDE functions.
12826
12827 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12828
12829 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12830 Include dfp.m4.
12831 * configure: Regenerate.
12832
12833 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
12834
12835 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12836 i386/t-freebsd to tmake_file.
12837 * config/i386/t-freebsd: New file.
12838 * config/i386/libgcc-bsd.ver: New file.
12839
12840 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
12841
12842 * config.host (powerpc*-eabispe*): Set tmake_file.
12843 (powerpc*-eabi*): Likewise.
12844 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12845 crtbeginS, crtendS, crtbeginT.
12846
12847 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
12848
12849 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12850 to tmake_file. Add crtfastmath.o to extra_parts.
12851 * config/mips/t-crtfm: New.
12852
12853 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
12854
12855 * config.host (sparc64-*-rtems*): New target.
12856
12857 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12858
12859 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12860 assembler syntax.
12861
12862 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
12863
12864 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12865
12866 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12867
12868 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12869 alpha-dec-osf5.0* support.
12870
12871 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
12872
12873 * config.host: Add lm32-*-rtems*.
12874
12875 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12876 Uros Bizjak <ubizjak@gmail.com>
12877
12878 PR target/39048
12879 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12880 like other remaining 32-bit x86 OSes.
12881 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12882 assembler syntax.
12883 * config/i386/libgcc-sol2.ver: New file.
12884 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12885
12886 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
12887
12888 PR c/43553
12889 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12890 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12891 is used and substitute set_use_emutls.
12892 * configure: Regenerated.
12893
12894 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
12895
12896 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12897
12898 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12899
12900 PR target/38085
12901 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12902 MULTILIB_CFLAGS.
12903 ($(T)gcrt1.o): Likewise.
12904 ($(T)crt1.o): Likewise.
12905 ($(T)crti.o): Likewise.
12906 ($(T)crtn.o): Likewise.
12907
12908 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12909
12910 PR other/42980
12911 * Makefile.in (install): Use $(MAKE) string in rule, for
12912 parallel make.
12913
12914 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
12915
12916 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12917 * config/mmix/t-mmix: New file.
12918 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12919
12920 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
12921
12922 PR java/41991
12923 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12924 SHLIB_MAPFILES.
12925
12926 2010-01-04 Anthony Green <green@moxielogic.com>
12927
12928 * config/moxie/crti.asm, config/moxie/crtn.asm,
12929 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12930 config/moxie/t-moxie: New files.
12931 * config.host: Add t-moxie-softfp reference.
12932
12933 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
12934
12935 PR other/39888
12936 * config/t-slibgcc-darwin: Fix embedded rpaths for
12937 --enable-version-specific-runtime-libs, build extension stub
12938 libs exposing features available from current libgcc_s.
12939
12940 2009-11-11 Jon Beniston <jon@beniston.com>
12941
12942 * config.host: Add lm32 targets.
12943 * config/lm32: New directory.
12944 * config/lm32/libgcc_lm32.h: New file.
12945 * config/lm32/_mulsi3.c: New file.
12946 * config/lm32/_udivmodsi4.c: New file.
12947 * config/lm32/_divsi3.c: New file.
12948 * config/lm32/_modsi3.c: New file.
12949 * config/lm32/_udivsi3.c: New file.
12950 * config/lm32/_umodsi3.c: New file.
12951 * config/lm32/_lshrsi3.S: New file.
12952 * config/lm32/_ashrsi3.S: New file.
12953 * config/lm32/_ashlsi3.S: New file.
12954 * config/lm32/crti.S: New file.
12955 * config/lm32/crtn.S: New file.
12956 * config/lm32/t-lm32: New file.
12957 * config/lm32/t-elf: New file.
12958 * config/lm32/t-uclinux: New file.
12959
12960 2009-10-26 Nick Clifton <nickc@redhat.com>
12961
12962 * config.host: Add support for RX target.
12963 * config/rx: New directory.
12964 * config/rx/rx-abi-functions.c: New file. Supplementary
12965 functions for libgcc to support the RX ABI.
12966 * config/rx/rx-abi.h: New file. Supplementary header file for
12967 libgcc RX ABI functions.
12968 * config/rx/t-rx: New file: Makefile fragment for building
12969 libgcc for the RX.
12970
12971 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
12972
12973 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12974 constraint of y0 to "g".
12975
12976 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12977
12978 * config.host: Include the s390 makefile fragments.
12979 * config/s390/32/_fixdfdi.c: New file.
12980 * config/s390/32/_fixsfdi.c: New file.
12981 * config/s390/32/_fixtfdi.c: New file.
12982 * config/s390/32/_fixunsdfdi.c: New file.
12983 * config/s390/32/_fixunssfdi.c: New file.
12984 * config/s390/32/_fixunstfdi.c: New file.
12985 * config/s390/32/t-floattodi: New file.
12986 * config/s390/libgcc-glibc.ver: New file.
12987 * config/s390/t-crtstuff: New file.
12988 * config/s390/t-linux: New file.
12989 * config/s390/t-tpf: New file.
12990
12991 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12992
12993 * configure.ac (AC_PREREQ): Bump to 2.64.
12994
12995 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
12996
12997 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12998
12999 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13000
13001 * configure: Regenerate.
13002
13003 2009-08-09 Douglas B Rupp <rupp@gnat.com>
13004
13005 * config.host (ia64-hp-*vms*): New target.
13006 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
13007 with ia64-hp-*vms*.
13008
13009 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13010
13011 * configure.ac: Add snippet for maintainer-mode.
13012 * configure: Regenerate.
13013 * Makefile.in (AUTOCONF, configure_deps): New variables.
13014 ($(srcdir)/configure)): New rule, active only with maintainer
13015 mode turned on.
13016
13017 2009-06-23 DJ Delorie <dj@redhat.com>
13018
13019 Add MeP port.
13020 * config.host: Add mep support.
13021
13022 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
13023
13024 * config.host: Add i386/${host_address}/t-fprules-softfp and
13025 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
13026
13027 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
13028 for mingw targets.
13029 * config/i386/64/_multc3.c: Likewise.
13030 * config/i386/64/_powitf2.c: Likewise.
13031 * config/i386/64/eqtf2.c: Likewise.
13032 * config/i386/64/getf2.c: Likewise.
13033 * config/i386/64/letf2.c: Likewise.
13034 * config/i386/64/letf2.c: Likewise.
13035 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
13036 unsigned long long for x64 mingw targets.
13037 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
13038 (_FP_I_TYPE): Define as long long for x64 mingw target.
13039
13040 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
13041
13042 * config.host (vax-*-linux*): New.
13043
13044 2009-05-31 Anthony Green <green@moxielogic.com>
13045
13046 * config.host: Add moxie support.
13047 * config/moxie/t-moxie: New file.
13048
13049 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
13050
13051 * config.host: Add i386/${host_address}/t-fprules-softfp and
13052 t-softfp to tmake_file for i[34567]86-*-cygwin*.
13053
13054 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
13055
13056 * config.host: Add i386/${host_address}/t-fprules-softfp to
13057 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
13058
13059 2009-04-09 Nick Clifton <nickc@redhat.com>
13060
13061 * config/ia64/tf-signs.c: Change copyright header to refer to
13062 version 3 of the GNU General Public License with version 3.1
13063 of the GCC Runtime Library Exception and to point readers at
13064 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
13065 web page.
13066 * config/i386/32/tf-signs.c: Likewise.
13067 * config/libbid/_addsub_dd.c: Likewise.
13068 * config/libbid/_addsub_sd.c: Likewise.
13069 * config/libbid/_addsub_td.c: Likewise.
13070 * config/libbid/_dd_to_df.c: Likewise.
13071 * config/libbid/_dd_to_di.c: Likewise.
13072 * config/libbid/_dd_to_sd.c: Likewise.
13073 * config/libbid/_dd_to_sf.c: Likewise.
13074 * config/libbid/_dd_to_si.c: Likewise.
13075 * config/libbid/_dd_to_td.c: Likewise.
13076 * config/libbid/_dd_to_tf.c: Likewise.
13077 * config/libbid/_dd_to_udi.c: Likewise.
13078 * config/libbid/_dd_to_usi.c: Likewise.
13079 * config/libbid/_dd_to_xf.c: Likewise.
13080 * config/libbid/_df_to_dd.c: Likewise.
13081 * config/libbid/_df_to_sd.c: Likewise.
13082 * config/libbid/_df_to_td.c: Likewise.
13083 * config/libbid/_di_to_dd.c: Likewise.
13084 * config/libbid/_di_to_sd.c: Likewise.
13085 * config/libbid/_di_to_td.c: Likewise.
13086 * config/libbid/_div_dd.c: Likewise.
13087 * config/libbid/_div_sd.c: Likewise.
13088 * config/libbid/_div_td.c: Likewise.
13089 * config/libbid/_eq_dd.c: Likewise.
13090 * config/libbid/_eq_sd.c: Likewise.
13091 * config/libbid/_eq_td.c: Likewise.
13092 * config/libbid/_ge_dd.c: Likewise.
13093 * config/libbid/_ge_sd.c: Likewise.
13094 * config/libbid/_ge_td.c: Likewise.
13095 * config/libbid/_gt_dd.c: Likewise.
13096 * config/libbid/_gt_sd.c: Likewise.
13097 * config/libbid/_gt_td.c: Likewise.
13098 * config/libbid/_isinfd128.c: Likewise.
13099 * config/libbid/_isinfd32.c: Likewise.
13100 * config/libbid/_isinfd64.c: Likewise.
13101 * config/libbid/_le_dd.c: Likewise.
13102 * config/libbid/_le_sd.c: Likewise.
13103 * config/libbid/_le_td.c: Likewise.
13104 * config/libbid/_lt_dd.c: Likewise.
13105 * config/libbid/_lt_sd.c: Likewise.
13106 * config/libbid/_lt_td.c: Likewise.
13107 * config/libbid/_mul_dd.c: Likewise.
13108 * config/libbid/_mul_sd.c: Likewise.
13109 * config/libbid/_mul_td.c: Likewise.
13110 * config/libbid/_ne_dd.c: Likewise.
13111 * config/libbid/_ne_sd.c: Likewise.
13112 * config/libbid/_ne_td.c: Likewise.
13113 * config/libbid/_sd_to_dd.c: Likewise.
13114 * config/libbid/_sd_to_df.c: Likewise.
13115 * config/libbid/_sd_to_di.c: Likewise.
13116 * config/libbid/_sd_to_sf.c: Likewise.
13117 * config/libbid/_sd_to_si.c: Likewise.
13118 * config/libbid/_sd_to_td.c: Likewise.
13119 * config/libbid/_sd_to_tf.c: Likewise.
13120 * config/libbid/_sd_to_udi.c: Likewise.
13121 * config/libbid/_sd_to_usi.c: Likewise.
13122 * config/libbid/_sd_to_xf.c: Likewise.
13123 * config/libbid/_sf_to_dd.c: Likewise.
13124 * config/libbid/_sf_to_sd.c: Likewise.
13125 * config/libbid/_sf_to_td.c: Likewise.
13126 * config/libbid/_si_to_dd.c: Likewise.
13127 * config/libbid/_si_to_sd.c: Likewise.
13128 * config/libbid/_si_to_td.c: Likewise.
13129 * config/libbid/_td_to_dd.c: Likewise.
13130 * config/libbid/_td_to_df.c: Likewise.
13131 * config/libbid/_td_to_di.c: Likewise.
13132 * config/libbid/_td_to_sd.c: Likewise.
13133 * config/libbid/_td_to_sf.c: Likewise.
13134 * config/libbid/_td_to_si.c: Likewise.
13135 * config/libbid/_td_to_tf.c: Likewise.
13136 * config/libbid/_td_to_udi.c: Likewise.
13137 * config/libbid/_td_to_usi.c: Likewise.
13138 * config/libbid/_td_to_xf.c: Likewise.
13139 * config/libbid/_tf_to_dd.c: Likewise.
13140 * config/libbid/_tf_to_sd.c: Likewise.
13141 * config/libbid/_tf_to_td.c: Likewise.
13142 * config/libbid/_udi_to_dd.c: Likewise.
13143 * config/libbid/_udi_to_sd.c: Likewise.
13144 * config/libbid/_udi_to_td.c: Likewise.
13145 * config/libbid/_unord_dd.c: Likewise.
13146 * config/libbid/_unord_sd.c: Likewise.
13147 * config/libbid/_unord_td.c: Likewise.
13148 * config/libbid/_usi_to_dd.c: Likewise.
13149 * config/libbid/_usi_to_sd.c: Likewise.
13150 * config/libbid/_usi_to_td.c: Likewise.
13151 * config/libbid/_xf_to_dd.c: Likewise.
13152 * config/libbid/_xf_to_sd.c: Likewise.
13153 * config/libbid/_xf_to_td.c: Likewise.
13154 * config/libbid/bid128.c: Likewise.
13155 * config/libbid/bid128_2_str.h: Likewise.
13156 * config/libbid/bid128_2_str_macros.h: Likewise.
13157 * config/libbid/bid128_2_str_tables.c: Likewise.
13158 * config/libbid/bid128_add.c: Likewise.
13159 * config/libbid/bid128_compare.c: Likewise.
13160 * config/libbid/bid128_div.c: Likewise.
13161 * config/libbid/bid128_fma.c: Likewise.
13162 * config/libbid/bid128_logb.c: Likewise.
13163 * config/libbid/bid128_minmax.c: Likewise.
13164 * config/libbid/bid128_mul.c: Likewise.
13165 * config/libbid/bid128_next.c: Likewise.
13166 * config/libbid/bid128_noncomp.c: Likewise.
13167 * config/libbid/bid128_quantize.c: Likewise.
13168 * config/libbid/bid128_rem.c: Likewise.
13169 * config/libbid/bid128_round_integral.c: Likewise.
13170 * config/libbid/bid128_scalb.c: Likewise.
13171 * config/libbid/bid128_sqrt.c: Likewise.
13172 * config/libbid/bid128_string.c: Likewise.
13173 * config/libbid/bid128_to_int16.c: Likewise.
13174 * config/libbid/bid128_to_int32.c: Likewise.
13175 * config/libbid/bid128_to_int64.c: Likewise.
13176 * config/libbid/bid128_to_int8.c: Likewise.
13177 * config/libbid/bid128_to_uint16.c: Likewise.
13178 * config/libbid/bid128_to_uint32.c: Likewise.
13179 * config/libbid/bid128_to_uint64.c: Likewise.
13180 * config/libbid/bid128_to_uint8.c: Likewise.
13181 * config/libbid/bid32_to_bid128.c: Likewise.
13182 * config/libbid/bid32_to_bid64.c: Likewise.
13183 * config/libbid/bid64_add.c: Likewise.
13184 * config/libbid/bid64_compare.c: Likewise.
13185 * config/libbid/bid64_div.c: Likewise.
13186 * config/libbid/bid64_fma.c: Likewise.
13187 * config/libbid/bid64_logb.c: Likewise.
13188 * config/libbid/bid64_minmax.c: Likewise.
13189 * config/libbid/bid64_mul.c: Likewise.
13190 * config/libbid/bid64_next.c: Likewise.
13191 * config/libbid/bid64_noncomp.c: Likewise.
13192 * config/libbid/bid64_quantize.c: Likewise.
13193 * config/libbid/bid64_rem.c: Likewise.
13194 * config/libbid/bid64_round_integral.c: Likewise.
13195 * config/libbid/bid64_scalb.c: Likewise.
13196 * config/libbid/bid64_sqrt.c: Likewise.
13197 * config/libbid/bid64_string.c: Likewise.
13198 * config/libbid/bid64_to_bid128.c: Likewise.
13199 * config/libbid/bid64_to_int16.c: Likewise.
13200 * config/libbid/bid64_to_int32.c: Likewise.
13201 * config/libbid/bid64_to_int64.c: Likewise.
13202 * config/libbid/bid64_to_int8.c: Likewise.
13203 * config/libbid/bid64_to_uint16.c: Likewise.
13204 * config/libbid/bid64_to_uint32.c: Likewise.
13205 * config/libbid/bid64_to_uint64.c: Likewise.
13206 * config/libbid/bid64_to_uint8.c: Likewise.
13207 * config/libbid/bid_b2d.h: Likewise.
13208 * config/libbid/bid_binarydecimal.c: Likewise.
13209 * config/libbid/bid_conf.h: Likewise.
13210 * config/libbid/bid_convert_data.c: Likewise.
13211 * config/libbid/bid_decimal_data.c: Likewise.
13212 * config/libbid/bid_decimal_globals.c: Likewise.
13213 * config/libbid/bid_div_macros.h: Likewise.
13214 * config/libbid/bid_dpd.c: Likewise.
13215 * config/libbid/bid_flag_operations.c: Likewise.
13216 * config/libbid/bid_from_int.c: Likewise.
13217 * config/libbid/bid_functions.h: Likewise.
13218 * config/libbid/bid_gcc_intrinsics.h: Likewise.
13219 * config/libbid/bid_inline_add.h: Likewise.
13220 * config/libbid/bid_internal.h: Likewise.
13221 * config/libbid/bid_round.c: Likewise.
13222 * config/libbid/bid_sqrt_macros.h: Likewise.
13223
13224 2009-04-09 Jakub Jelinek <jakub@redhat.com>
13225
13226 * Makefile.in: Change copyright header to refer to version
13227 3 of the GNU General Public License and to point readers at the
13228 COPYING3 file and the FSF's license web page.
13229 * config.host: Likewise.
13230
13231 2009-04-07 Alan Modra <amodra@bigpond.net.au>
13232
13233 * config.host: Reorder and merge to match config.gcc change.
13234
13235 2009-04-03 Alan Modra <amodra@bigpond.net.au>
13236
13237 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
13238
13239 2009-03-28 Joseph Myers <joseph@codesourcery.com>
13240
13241 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
13242 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
13243 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
13244 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
13245
13246 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
13247
13248 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
13249 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
13250
13251 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
13252
13253 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
13254 ia64/t-softfp-compat to tmake_file.
13255
13256 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
13257
13258 * config/ia64/__divxf3.asm: New.
13259 * config/ia64/_fixtfdi.asm: Likewise.
13260 * config/ia64/_fixunstfdi.asm: Likewise.
13261 * config/ia64/_floatditf.asm: Likewise.
13262 * config/ia64/t-fprules-softfp: Likewise.
13263 * config/ia64/t-softfp-compat: Likewise.
13264 * config/ia64/tf-signs.c: Likewise.
13265
13266 2009-01-18 Ben Elliston <bje@au.ibm.com>
13267
13268 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
13269
13270 2009-01-16 Ben Elliston <bje@au.ibm.com>
13271
13272 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
13273 to tmake_file.
13274
13275 2009-01-13 Ben Elliston <bje@au.ibm.com>
13276
13277 * config/t-softfp: New file.
13278 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
13279 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
13280
13281 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
13282
13283 * config.host: Add m32r*-*-rtems*.
13284
13285 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
13286
13287 * config.host: Add m32c*-*-rtems*.
13288
13289 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13290
13291 PR bootstrap/33100
13292 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
13293 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
13294 * configure: Regenerate.
13295 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
13296 tmake_file here from gcc/config.gcc.
13297 Move extra_parts here from gcc/config.gcc.
13298 * config/i386/t-sol2: Move here from gcc/config/i386.
13299 Use gcc_srcdir instead of srcdir.
13300
13301 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
13302
13303 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
13304 case.
13305
13306 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
13307
13308 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
13309
13310 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
13311
13312 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
13313
13314 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
13315
13316 Add picoChip port.
13317 * config.host: Add picochip-*-*.
13318
13319 2008-08-06 Bob Wilson <bob.wilson@acm.org>
13320
13321 * config.host: Match more processor names for Xtensa.
13322
13323 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
13324
13325 * config/i386/64/t-softfp-compat: Update comments.
13326
13327 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
13328
13329 * config/i386/64/_divtc3-compat.c: Moved to ...
13330 * config/i386/64/_divtc3.c: Here.
13331
13332 * config/i386/64/_multc3-compat.c: Moved to ...
13333 * config/i386/64/_multc3.c: Here.
13334
13335 * config/i386/64/_powitf2-compat.c: Moved to ...
13336 * config/i386/64/_powitf2.c: Here.
13337
13338 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
13339 .c suffix instead of -compat.c.
13340
13341 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
13342
13343 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
13344 (_FP_MUL_MEAT_D): Ditto.
13345 (_FP_DIV_MEAT_S): Ditto.
13346 (_FP_DIV_MEAT_D): Ditto.
13347
13348 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
13349
13350 * Makefile.in: Add support for __sync_* libgcc functions.
13351
13352 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
13353
13354 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
13355
13356 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13357
13358 PR boostrap/36702
13359 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
13360 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
13361
13362 * config/i386/64/t-fprules-softfp: Moved to ...
13363 * config/i386/64/t-softfp-compat: This. New.
13364
13365 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
13366
13367 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
13368 Initialize f with 0.0.
13369
13370 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13371
13372 PR target/36669
13373 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
13374
13375 * config/i386/64/_divtc3-compat.c: New.
13376 * config/i386/64/_multc3-compat.c: Likewise.
13377 * config/i386/64/_powitf2-compat.c: Likewise.
13378 * config/i386/64/eqtf2.c: Likewise.
13379 * config/i386/64/getf2.c: Likewise.
13380 * config/i386/64/letf2.c: Likewise.
13381 * config/i386/64/t-fprules-softfp: Likewise.
13382
13383 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13384
13385 * config.host: Add i386/${host_address}/t-fprules-softfp to
13386 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
13387 i[34567]86-*-linux*, x86_64-*-linux*.
13388
13389 * configure.ac: Set host_address to 64 or 32 for x86.
13390 * configure: Regenerated.
13391
13392 * Makefile.in (config.status): Also depend on
13393 $(srcdir)/config.host.
13394
13395 * config/i386/32/t-fprules-softfp: New.
13396 * config/i386/32/tf-signs.c: Likewise.
13397
13398 * config/i386/64/sfp-machine.h: New. Moved from gcc.
13399
13400 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13401 Uros Bizjak <ubizjak@gmail.com>
13402
13403 * config/i386/32/sfp-machine.h: New.
13404
13405 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
13406
13407 * config/rs6000/t-ppccomm: Remove rules that conflict with
13408 auto-generated rules.
13409
13410 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13411
13412 * configure.ac: sinclude override.m4.
13413 * configure: Regenerate.
13414
13415 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
13416
13417 * configure: Regenerate.
13418
13419 2008-06-10 Joseph Myers <joseph@codesourcery.com>
13420
13421 * Makefile.in (DECNUMINC): Remove
13422 -I$(MULTIBUILDTOP)../../libdecnumber.
13423 * gstdint.h: New.
13424
13425 2008-06-07 Joseph Myers <joseph@codesourcery.com>
13426
13427 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
13428 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
13429 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
13430 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
13431 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
13432 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
13433 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
13434 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
13435 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
13436 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
13437 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
13438 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
13439 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
13440 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
13441
13442 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
13443
13444 * config.host (sh2[lbe]*-*-linux*): Allow target.
13445
13446 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
13447
13448 * config/rs6000/t-ppccomm: Add build rules for new files.
13449 (LIB2ADD_ST): New variable.
13450
13451 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
13452
13453 PR target/34210
13454 PR target/35508
13455 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
13456 * config/t-avr: New file. Build 16bit libgcc functions.
13457
13458 2008-03-02 Jakub Jelinek <jakub@redhat.com>
13459
13460 PR target/35401
13461 * config/t-slibgcc-darwin: Make install-leaf dependent on
13462 install-darwin-libgcc-stubs instead of install.
13463
13464 2008-01-25 Joseph Myers <joseph@codesourcery.com>
13465
13466 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
13467 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
13468 sh-*-rtemscoff*): Remove cases.
13469
13470 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
13471
13472 * Makefile.in (all): Use install-leaf rather than install.
13473 (install): Split most of the rule into...
13474 (install-leaf): ...this new one.
13475
13476 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
13477 Paolo Bonzini <bonzini@gnu.org>
13478
13479 PR target/30572
13480 * Makefile.in: Use @shlib_slibdir@ substitution to get
13481 correct install name on darwin.
13482 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
13483
13484 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
13485
13486 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
13487 cris-*-elf and cris-*-none.
13488 (crisv32-*-linux*): Similar, as cris-*-linux*.
13489
13490 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
13491
13492 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
13493
13494 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
13495
13496 PR regression/33926
13497 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
13498 * configure: Regenerated.
13499
13500 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
13501
13502 * Makefile.in (dfp-filenames): Replace decimal_globals,
13503 decimal_data, binarydecimal and convert_data with
13504 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
13505 and bid_convert_data, respectively.
13506
13507 2007-09-17 Chao-ying Fu <fu@mips.com>
13508 Nigel Stephens <nigel@mips.com>
13509
13510 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
13511 * Makefile.in (fixed_point): Define.
13512 Check if fixed_point is yes to build support functions.
13513 * configure.ac: Check for fixed_point support.
13514 * configure: Regenerated.
13515 * gen-fixed.sh: New file to generate lists of fixed-point labels,
13516 funcs, modes, from, to.
13517
13518 2007-09-11 Janis Johnson <janis187@us.ibm.com
13519
13520 * Makefile.in (dfp-filenames): Add bid128_noncomp.
13521
13522 2007-09-10 Janis Johnson <janis187@us.ibm.com>
13523
13524 * Makefile.in (dfp-filenames): Remove decUtility, add
13525 decDouble, decPacked, decQuad, decSingle.
13526
13527 2007-08-27 Hans Kester <hans.kester@ellips.nl>
13528
13529 * config.host : Add x86_64-elf target.
13530
13531 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
13532
13533 * configure.ac (set_have_cc_tls): Add a missing =.
13534 * configure: Regenerated.
13535
13536 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
13537
13538 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
13539 and x86_64-*-linux*.
13540
13541 * config/t-tls: New file.
13542
13543 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
13544
13545 * configure.ac: Include ../config/enable.m4 and
13546 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
13547 supports TLS and substitute set_have_cc_tls.
13548 * configure: Regenerated.
13549
13550 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
13551
13552 * Makefile.in: Use libbid for DFP when BID is enabled.
13553
13554 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
13555
13556 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
13557 extra_parts. Add config/i386/t-cygming to tmake_file.
13558 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
13559
13560 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
13561 Danny Smith <dannysmith@users.sourceforge.net>
13562
13563 PR target/29498
13564 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
13565 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
13566 * config/i386/t-crtfm: Compile crtfastmath.o with
13567 -minline-all-stringops.
13568
13569 2007-05-10 Richard Sandiford <richard@codesourcery.com>
13570
13571 * config.host (sparc-wrs-vxworks): New target.
13572
13573 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
13574
13575 * config.host: Recognize fido.
13576
13577 2007-04-04 Janis Johnson <janis187@us.ibm.com>
13578
13579 * configure: Check host, not target, for decimal float support.
13580
13581 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
13582
13583 * config/i386/t-crtpc: New file.
13584 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
13585 (x86_64-*-linux*): Ditto.
13586
13587 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
13588
13589 * config.host (x86_64-*-mingw*): New target.
13590
13591 2007-03-23 Michael Meissner <michael.meissner@amd.com>
13592 H.J. Lu <hongjiu.lu@intel.com>
13593
13594 * Makefile.in (enable_decimal_float): New.
13595 (DECNUMINC): Add
13596 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
13597 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
13598 (decbits-filenames): This.
13599 (decbits-objects): New.
13600 (libgcc-objects): Add $(decbits-objects).
13601
13602 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
13603 Substitute enable_decimal_float.
13604 * configure: Regenerated.
13605
13606 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
13607
13608 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
13609
13610 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
13611
13612 * Makefile.in (install-info): New dummy target.
13613
13614 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
13615
13616 * config.host (bfin*-linux-uclibc*): Set extra_parts.
13617
13618 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
13619
13620 * Makefile.in: Add install-html and install-pdf dummy
13621 targets.
13622
13623 2007-02-05 Roger Sayle <roger@eyesopen.com>
13624 Daniel Jacobowitz <dan@codesourcery.com>
13625
13626 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
13627 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
13628 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
13629
13630 2007-01-29 Janis Johnson <janis187@us.ibm.com>
13631
13632 * Makefile.in (dec-filenames): Add decExcept.
13633
13634 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
13635
13636 PR bootstrap/30469
13637 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
13638 -fprofile-use.
13639
13640 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
13641
13642 * configure.ac: Add --enable-version-specific-runtime-libs.
13643 Correct $slibdir default.
13644 * configure: Regenerated.
13645
13646 2007-01-23 Joseph Myers <joseph@codesourcery.com>
13647
13648 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
13649
13650 2007-01-21 Andrew Pinski <pinskia@gmail.com>
13651
13652 PR target/30519
13653 * config.host (alpha*-*-linux*): Set extra_parts.
13654
13655 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
13656
13657 * config/sh/t-linux: New.
13658 * config.host (sh*-*-linux*): Set tmake_file.
13659
13660 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
13661
13662 * Makefile.in (install): Handle multilibs.
13663
13664 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
13665
13666 * Makefile.in: Added .PHONY entry for documentation targets.
13667
13668 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
13669
13670 * Makefile.in: Add empty info, html, dvi, pdf targets.
13671
13672 2007-01-04 Mike Stump <mrs@apple.com>
13673
13674 * Makefile.in (MAKEINFO): Remove.
13675 (PERL): Likewise.
13676
13677 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
13678
13679 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
13680 * configure: Regenerate.
13681 * Makefile.in (host_subdir): Substitute it.
13682 (gcc_objdir): Use it.
13683
13684 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
13685
13686 * config.host (ia64*-*-linux*): Set tmake_file.
13687
13688 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
13689
13690 * Makefile.in (version): Define.
13691
13692 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
13693 Paolo Bonzini <bonzini@gnu.org>
13694
13695 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
13696 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
13697 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
13698 config/sparc/t-crtfm, config/t-slibgcc-darwin,
13699 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
13700 shared-object.mk, siditi-object.mk, static-object.mk: New files.
13701 * configure: Generated.
13702 \f
13703 Copyright (C) 2007-2024 Free Software Foundation, Inc.
13704
13705 Copying and distribution of this file, with or without modification,
13706 are permitted in any medium without royalty provided the copyright
13707 notice and this notice are preserved.