]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/ChangeLog
build: Check for cargo when building rust language
[thirdparty/gcc.git] / libgcc / ChangeLog
1 2024-04-10 Andre Vieira <andre.simoesdiasvieira@arm.com>
2
3 * config/aarch64/t-softfp (softfp_extras): Add floatbitinthf,
4 floatbitintbf, floatbitinttf and fixtfbitint.
5 * config/aarch64/libgcc-softfp.ver (GCC_14.0.0): Add __floatbitinthf,
6 __floatbitintbf, __floatbitinttf and __fixtfbitint.
7
8 2024-04-09 Sergey Bugaev <bugaevc@gmail.com>
9
10 * config.host: Recognize aarch64*-*-gnu* hosts.
11 * config/aarch64/gnu-unwind.h: New file.
12 * config/aarch64/heap-trampoline.c
13 (allocate_trampoline_page): Support GNU/Hurd.
14
15 2024-04-04 Jørgen Kvalsvik <j@lambda.is>
16
17 * libgcov-merge.c (__gcov_merge_ior): New.
18
19 2024-04-03 Wilco Dijkstra <wilco.dijkstra@arm.com>
20
21 * config/aarch64/cpuinfo.c: Add HWCAP_EVTSTRM, HWCAP_CRC32, HWCAP_CPUID,
22 HWCAP_PACA and HWCAP_PACG.
23
24 2024-04-02 Jakub Jelinek <jakub@redhat.com>
25
26 * unwind-dw2-fde.c (struct fde_accumulator): Fix duplicated
27 words in comment; is is -> is.
28
29 2024-03-25 Max Filippov <jcmvbkbc@gmail.com>
30
31 * unwind-arm-common.inc (__gnu_personality_sigframe_fdpic): Cast
32 last argument of _Unwind_VRS_Set to void *.
33
34 2024-03-22 Thomas Neumann <tneumann@users.sourceforge.net>
35
36 PR libgcc/111731
37 * unwind-dw2-fde.c: Split unwind ranges if they contain the
38 unwind table.
39
40 2024-03-21 Jakub Jelinek <jakub@redhat.com>
41
42 PR libgcc/114397
43 * libgcc2.c (__divmodbitint4): Don't assume un < vn always means
44 abs(v) > abs(u), check for a special case of un + 1 == vn where
45 u is non-negative and v negative and after v's negation vn could
46 be reduced by 1.
47
48 2024-03-20 Flavio Cruz <flaviocruz@gmail.com>
49
50 * config/i386/gnu-unwind.h: Support unwinding x86_64 signal frames.
51
52 2024-03-15 Jakub Jelinek <jakub@redhat.com>
53
54 PR libgcc/114327
55 * libgcc2.c (bitint_negate): Return UWtype bitwise or of all the limbs
56 before negation rather than void.
57 (__divmodbitint4): Determine whether to fill in the upper limbs after
58 negation based on whether bitint_negate returned 0 or non-zero, rather
59 then always filling with -1.
60
61 2024-02-22 Kewen Lin <linkw@linux.ibm.com>
62
63 PR target/109987
64 * config/rs6000/t-float128-hw: Replace options -mpower{8,9}-vector
65 with -mcpu=power9.
66 * configure.ac: Update use of option -mpower9-vector with
67 -mcpu=power9.
68 * configure: Regenerate.
69
70 2024-02-21 Iain Sandoe <iain@sandoe.co.uk>
71
72 * config/aarch64/heap-trampoline.c
73 (aarch64_trampoline_insns): Arrange to encode instructions as a
74 byte array so that the order is independent of memory byte order.
75 (struct aarch64_trampoline): Likewise.
76
77 2024-02-20 Iain Sandoe <iain@sandoe.co.uk>
78
79 PR target/113971
80 * config/aarch64/heap-trampoline.c: Allow all linux variants.
81
82 2024-02-16 Matteo Italia <matteo@mitalia.net>
83
84 PR libgcc/113850
85 * config/i386/gthr-win32-cond.c (__gthr_win32_abs_to_rel_time):
86 fix absolute timespec to relative milliseconds count
87 conversion (it incorrectly returned seconds instead of
88 milliseconds); this avoids spurious wakeups in
89 __gthr_win32_cond_timedwait
90
91 2024-02-14 Jakub Jelinek <jakub@redhat.com>
92 H.J. Lu <hjl.tools@gmail.com>
93
94 PR target/113855
95 * config/i386/heap-trampoline.c (trampoline_insns): Add IBT
96 support and pad to the multiple of 4 bytes. Use movabsq
97 instead of movabs in comments. Add -mx32 variant.
98
99 2024-02-13 Jakub Jelinek <jakub@redhat.com>
100
101 * soft-fp/bitint.h (FP_FROM_BITINT): If iprec < 0 and msb is all ones,
102 just set n to 1 instead of using __builtin_clzll (~msb).
103
104 2024-02-12 Iain Sandoe <iain@sandoe.co.uk>
105
106 PR target/113855
107 * config.host: Add trampoline support to x?86-linux.
108 * config/i386/heap-trampoline.c (trampoline_insns): Provide
109 a variant for IA32.
110 (union ix86_trampoline): Likewise.
111 (__gcc_nested_func_ptr_created): Implement a basic trampoline
112 for IA32.
113
114 2024-02-10 Jakub Jelinek <jakub@redhat.com>
115
116 * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Or in all remainder
117 limbs into inexact rather than just first two.
118 * soft-fp/floatbitintsd.c (__bid_floatbitintsd): Likewise.
119 * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
120
121 2024-02-10 Jakub Jelinek <jakub@redhat.com>
122
123 * soft-fp/fixddbitint.c (__bid_fixddbitint): Fix up
124 BIL_TYPE_SIZE == 32 shifts.
125 * soft-fp/fixsdbitint.c (__bid_fixsdbitint): Likewise.
126 * soft-fp/fixtdbitint.c (__bid_fixtdbitint): Likewise.
127 * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Likewise.
128 * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
129
130 2024-02-09 Iain Sandoe <iain@sandoe.co.uk>
131
132 * config/i386/libgcc-darwin.ver: Export bf and bitint-related
133 synbols.
134
135 2024-02-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
136
137 PR target/113700
138 * config/i386/libgcc-sol2.ver (GCC_14.0.0): Added all symbols from
139 i386/libgcc-glibc.ver (GCC_12.0.0, GCC_13.0.0, GCC_14.0.0).
140 * config/i386/libgcc-glibc.ver: Request notifications on updates.
141
142 2024-02-06 Matteo Italia <matteo@mitalia.net>
143
144 PR libgcc/113337
145 * unwind-seh.c (_Unwind_Resume_or_Rethrow): forward
146 _Unwind_RaiseException return code back to caller instead of
147 calling abort, allowing __cxa_rethrow to invoke std::terminate
148 in case of uncaught rethrown exception
149
150 2024-02-02 Jakub Jelinek <jakub@redhat.com>
151
152 PR libgcc/113604
153 * libgcc2.c (__divmodbitint4): If uv1 >= vv1, subtract
154 vv1 from uv1:uv0 once or twice as needed, rather than
155 subtracting vv1:vv1.
156
157 2024-02-02 Khem Raj <raj.khem@gmail.com>
158
159 * config/i386/enable-execute-stack-mingw32.c: Include
160 stdlib.h for abort() definition.
161
162 2024-02-02 Jakub Jelinek <jakub@redhat.com>
163
164 PR target/113700
165 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Remove __PFX prefixes
166 from symbol names.
167
168 2024-02-01 Jakub Jelinek <jakub@redhat.com>
169
170 PR libgcc/113402
171 * libgcc2.h (__gcc_nested_func_ptr_created): Change type of last
172 argument from void ** to void *.
173 * config/i386/heap-trampoline.c (__gcc_nested_func_ptr_created):
174 Change type of dst from void ** to void * and cast dst to void **
175 before dereferencing it.
176 * config/aarch64/heap-trampoline.c (__gcc_nested_func_ptr_created):
177 Likewise.
178
179 2024-02-01 Jakub Jelinek <jakub@redhat.com>
180
181 PR libgcc/113403
182 * config/i386/t-heap-trampoline: Add to LIB2ADDEHSHARED
183 i386/heap-trampoline.c rather than aarch64/heap-trampoline.c.
184
185 2024-02-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
186
187 * config/aarch64/crti.S: Remove stack marking.
188 * config/aarch64/crtn.S: Remove stack marking, include aarch64-asm.h
189 * config/aarch64/lse.S: Remove stack and GNU property markings.
190
191 2024-01-30 Iain Sandoe <iain@sandoe.co.uk>
192
193 PR libgcc/113403
194 * config.host: Build libheap_t.a for i686/x86_64 Darwin.
195 * config/aarch64/heap-trampoline.c (HEAP_T_ATTR): New.
196 (allocate_tramp_ctrl): Allow a target to build this as a weak def.
197 (__gcc_nested_func_ptr_created): Likewise.
198 * config/i386/heap-trampoline.c (HEAP_T_ATTR): New.
199 (allocate_tramp_ctrl): Allow a target to build this as a weak def.
200 (__gcc_nested_func_ptr_created): Likewise.
201 * config/t-darwin: Build libheap_t.a (a CRT with heap trampoline
202 support).
203
204 2024-01-30 Iain Sandoe <iain@sandoe.co.uk>
205
206 PR libgcc/113403
207 * config/aarch64/t-heap-trampoline: Move the heap trampoline
208 support functions from libgcc.a to libgcc_eh.a.
209 * config/i386/t-heap-trampoline: Likewise.
210
211 2024-01-28 Iain Sandoe <iain@sandoe.co.uk>
212 Jakub Jelinek <jakub@redhat.com>
213
214 PR libgcc/113402
215 * config/aarch64/heap-trampoline.c: Rename
216 __builtin_nested_func_ptr_created to __gcc_nested_func_ptr_created and
217 __builtin_nested_func_ptr_deleted to __gcc_nested_func_ptr_deleted.
218 * config/i386/heap-trampoline.c: Likewise.
219 * libgcc2.h: Likewise.
220 * libgcc-std.ver.in (GCC_7.0.0): Likewise and then move
221 __gcc_nested_func_ptr_created and
222 __gcc_nested_func_ptr_deleted from this symbol version to ...
223 (GCC_14.0.0): ... this one.
224
225 2024-01-26 Andrew Stubbs <ams@baylibre.com>
226
227 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Handle RDNA3.
228
229 2024-01-23 Zac Walker <zacwalker@microsoft.com>
230
231 * config/aarch64/aarch64-asm.h (HIDDEN, SYMBOL_SIZE, SYMBOL_TYPE)
232 (ENTRY_ALIGN, GNU_PROPERTY): New macros.
233 * config/aarch64/__arm_sme_state.S: Use them.
234 * config/aarch64/__arm_tpidr2_save.S: Likewise.
235 * config/aarch64/__arm_za_disable.S: Likewise.
236 * config/aarch64/crti.S: Likewise.
237 * config/aarch64/lse.S: Likewise.
238
239 2024-01-12 Jakub Jelinek <jakub@redhat.com>
240
241 * libgcc2.h (UBILtype): New typedef with may_alias attribute.
242 (__mulbitint3, __divmodbitint4): Use UBILtype * instead of
243 UWtype * and const UBILtype * instead of const UWtype *.
244 * libgcc2.c (bitint_reduce_prec, bitint_mul_1, bitint_addmul_1,
245 __mulbitint3, bitint_negate, bitint_submul_1, __divmodbitint4):
246 Likewise.
247 * soft-fp/bitint.h (UBILtype): Change define into a typedef with
248 may_alias attribute.
249
250 2024-01-12 Sandra Loosemore <sandra@codesourcery.com>
251
252 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Do not try to use
253 _dl_find_object on nios2; it doesn't work.
254
255 2023-12-23 Thomas Schwinge <thomas@codesourcery.com>
256
257 * c++-minimal/README: New.
258 * c++-minimal/guard.c: New.
259 * config/gcn/t-amdgcn (LIB2ADD): Add it.
260 * config/nvptx/t-nvptx (LIB2ADD): Likewise.
261
262 2023-12-20 Alexandre Oliva <oliva@adacore.com>
263
264 PR middle-end/112917
265 * config.host (sparc, sparc64): Enable...
266 * config/sparc/t-sparc: ... this new fragment.
267
268 2023-12-20 Alexandre Oliva <oliva@adacore.com>
269
270 * strub.c (ATTRIBUTE_NOINLINE): New.
271 (ATTRIBUTE_STRUB_CALLABLE): Add it.
272 (__strub_dummy_force_no_leaf): Drop it.
273
274 2023-12-16 Andrew Carlotti <andrew.carlotti@arm.com>
275
276 * config/aarch64/cpuinfo.c (enum CPUFeatures): Move to shared
277 copy in gcc/common
278
279 2023-12-16 Andrew Carlotti <andrew.carlotti@arm.com>
280 Pavel Iliin <Pavel.Iliin@arm.com>
281
282 * config/aarch64/t-aarch64: Include cpuinfo.c
283 * config/aarch64/cpuinfo.c: New file
284 (__init_cpu_features_constructor) New.
285 (__init_cpu_features_resolver) New.
286 (__init_cpu_features) New.
287
288 2023-12-11 Lipeng Zhu <lipeng.zhu@intel.com>
289
290 * gthr-posix.h (__GTHREAD_RWLOCK_INIT): New macro.
291 (__gthrw): New function.
292 (__gthread_rwlock_rdlock): New function.
293 (__gthread_rwlock_tryrdlock): New function.
294 (__gthread_rwlock_wrlock): New function.
295 (__gthread_rwlock_trywrlock): New function.
296 (__gthread_rwlock_unlock): New function.
297
298 2023-12-08 Florian Weimer <fweimer@redhat.com>
299
300 * libgcov-interface.c (__gcov_fork): Use __builtin_fork instead
301 of fork.
302
303 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
304
305 * config.in: Regenerate.
306
307 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
308
309 * config/aarch64/__arm_za_disable.S: Add hidden alias.
310 * config/aarch64/aarch64-unwind.h: Reset the SME state before
311 EH return via the _Unwind_Frames_Extra hook.
312
313 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
314
315 * config/aarch64/t-aarch64: Add sources to the build.
316 * config/aarch64/__aarch64_have_sme.c: New file.
317 * config/aarch64/__arm_sme_state.S: New file.
318 * config/aarch64/__arm_tpidr2_restore.S: New file.
319 * config/aarch64/__arm_tpidr2_save.S: New file.
320 * config/aarch64/__arm_za_disable.S: New file.
321 * config/aarch64/aarch64-asm.h: New file.
322 * config/aarch64/libgcc-sme.ver: New file.
323
324 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
325
326 * config.in: Undef HAVE___GETAUXVAL.
327 * configure: Regenerate.
328 * configure.ac: Check for __getauxval.
329
330 2023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
331
332 * config.in: Undef HAVE_AS_VARIANT_PCS.
333 * configure: Regenerate.
334 * configure.ac: Check for .variant_pcs.
335
336 2023-12-07 Alexandre Oliva <oliva@adacore.com>
337
338 * configure.ac: Check for strub support.
339 * configure: Rebuilt.
340 * Makefile.in: Compile strub.c conditionally.
341
342 2023-12-06 Thomas Schwinge <thomas@codesourcery.com>
343 Jakub Jelinek <jakub@redhat.com>
344
345 PR libgcc/109289
346 * emutls.c: Add GCC diagnostic ignored "-Wbuiltin-declaration-mismatch"
347 pragma.
348
349 2023-12-06 Alexandre Oliva <oliva@adacore.com>
350
351 * Makefile.in (LIB2ADD): Add strub.c.
352 * libgcc2.h (__strub_enter, __strub_update, __strub_leave):
353 Declare.
354 * strub.c: New.
355 * libgcc-std.ver.in (__strub_enter): Add to GCC_14.0.0.
356 (__strub_update, __strub_leave): Likewise.
357
358 2023-12-03 Jeff Law <jlaw@ventanamicro.com>
359
360 * unwind-pe.h (_Unwind_gnu_Find_got): Add prototype.
361
362 2023-12-03 Jeff Law <jlaw@ventanamicro.com>
363
364 * config/rx/rx-abi-functions.c (__ltdf2, __gtdf2): Add prototype.
365 (__ledf2, __gedf2, __eqdf2, __nedf2): Likewise.
366 (__ltsf2, __gtsf2, __lesf2, __gesf2, __eqsf2, __nesf2): Likewise.
367
368 2023-12-03 Jeff Law <jlaw@ventanamicro.com>
369
370 * config/frv/frvbegin.c (atexit): Add prototype.
371
372 2023-12-01 Alexandre Oliva <oliva@adacore.com>
373
374 * libgcc-std.ver.in (__hardcfr_check): Add to GCC_14.0.0.
375
376 2023-12-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
377
378 PR target/112777
379 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Honor that __LIBGCC_HAVE_LIBATOMIC is
380 always defined as either 0 or 1.
381
382 2023-12-01 Florian Weimer <fweimer@redhat.com>
383
384 * config/aarch64/linux-unwind.h
385 (aarch64_fallback_frame_state): Add cast to the expected type
386 in sc assignment.
387
388 2023-11-30 Wilco Dijkstra <wilco.dijkstra@arm.com>
389
390 PR target/111404
391 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Execute STLXP using
392 either new value or loaded value.
393
394 2023-11-27 Richard Earnshaw <rearnsha@arm.com>
395
396 * config/arm/lib1funcs.S (__sync_synchronize): Adjust warning message.
397
398 2023-11-24 Richard Earnshaw <rearnsha@arm.com>
399
400 * config.host (arm*-*-eabi* | arm*-*-rtems*):
401 Add arm/t-sync to the makefile rules.
402 * config/arm/lib1funcs.S (__sync_synchronize_none)
403 (__sync_synchronize_cp15dmb, __sync_synchronize_dmb)
404 (__sync_synchronize): New functions.
405 * config/arm/t-sync: New file.
406 * config/arm/sync-none.specs: Likewise.
407 * config/arm/sync-dmb.specs: Likewise.
408 * config/arm/sync-cp15dmb.specs: Likewise.
409
410 2023-11-23 Jose E. Marchesi <jose.marchesi@oracle.com>
411
412 * hardcfr.c (__hardcfr_check_fail): Mark as always_inline.
413
414 2023-11-21 Jakub Jelinek <jakub@redhat.com>
415
416 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Formatting fixes.
417
418 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
419
420 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Always define it.
421 Set it also to 1, if __LIBGCC_HAVE_LIBATOMIC is defined.
422
423 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
424
425 Revert:
426 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
427
428 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
429 (gcov_type_unsigned): Likewise.
430
431 2023-11-10 Keith Packard <keithp@keithp.com>
432
433 * config/m68k/lb1sf68.S (__adddf3): Properly check for non-zero denorm.
434 (__divdf3): Restore sign bit properly.
435 (__addsf3): Correct exponent check.
436 * config/m68k/fpgnulib.c (EXPMASK): Define.
437 (__extendsfdf2): Handle Inf and NaN properly.
438 (__truncdfsf2): Handle underflow and overflow correctly.
439 (__extenddfxf2): Handle underflow, denorms, Inf and NaN correctly.
440 (__truncxfdf2): Handle underflow and denorms correctly.
441 (__fixxfsi): Reimplement.
442
443 2023-11-09 Jakub Jelinek <jakub@redhat.com>
444
445 PR libgcc/65833
446 * config/t-softfp (softfp_bid_list): Add
447 {U,}TItype <-> _Decimal{32,64,128} conversions.
448 * soft-fp/floattisd.c: New file.
449 * soft-fp/floattidd.c: New file.
450 * soft-fp/floattitd.c: New file.
451 * soft-fp/floatuntisd.c: New file.
452 * soft-fp/floatuntidd.c: New file.
453 * soft-fp/floatuntitd.c: New file.
454 * soft-fp/fixsdti.c: New file.
455 * soft-fp/fixddti.c: New file.
456 * soft-fp/fixtdti.c: New file.
457 * soft-fp/fixunssdti.c: New file.
458 * soft-fp/fixunsddti.c: New file.
459 * soft-fp/fixunstdti.c: New file.
460
461 2023-11-07 Kwok Cheung Yeung <kcy@codesourcery.com>
462
463 * offloadstuff.c (OFFLOAD_IND_FUNC_TABLE_SECTION_NAME): New.
464 (__offload_ind_func_table): New.
465 (__offload_ind_funcs_end): New.
466 (__OFFLOAD_TABLE__): Add entries for indirect functions.
467
468 2023-11-03 Thomas Schwinge <thomas@codesourcery.com>
469
470 * config/gcn/gthr-gcn.h (__gthread_getspecific): 's%NULL%0'.
471
472 2023-10-31 Alexandre Oliva <oliva@adacore.com>
473
474 * hardcfr.c: Adjust copyright year.
475
476 2023-10-24 Sergei Trofimovich <siarheit@google.com>
477
478 * config/aarch64/heap-trampoline.c: Disable when libc is not
479 present.
480 * config/i386/heap-trampoline.c: Ditto.
481
482 2023-10-22 Iain Sandoe <iain@sandoe.co.uk>
483
484 * config/t-slibgcc-darwin: Generate libgcc_s
485 with an @rpath name.
486 * config.host: Handle Darwin rpaths.
487 * config/t-darwin-rpath: New file.
488
489 2023-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
490 Maxim Blinov <maxim.blinov@embecosm.com>
491 Iain Sandoe <iain@sandoe.co.uk>
492 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
493
494 * libgcc2.h (__builtin_nested_func_ptr_created): Declare.
495 (__builtin_nested_func_ptr_deleted): Declare.
496 * libgcc-std.ver.in: Add the new symbols.
497 * config/aarch64/heap-trampoline.c: Implement heap-based
498 trampolines for aarch64.
499 * config/aarch64/t-heap-trampoline: Add rule to build
500 config/aarch64/heap-trampoline.c
501 * config/i386/heap-trampoline.c: Implement heap-based
502 trampolines for x86_64.
503 * config/i386/t-heap-trampoline: Add rule to build
504 config/i386/heap-trampoline.cc
505 * config.host: Handle --enable-heap-trampolines on
506 x86_64-*-linux*, aarch64-*-linux*, x86_64-*-darwin*.
507
508 2023-10-20 Andrew Stubbs <ams@codesourcery.com>
509
510 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Set false for __RDNA2__.
511
512 2023-10-20 Alexandre Oliva <oliva@adacore.com>
513
514 * Makefile.in (LIB2ADD): Add hardcfr.c.
515 * hardcfr.c: New.
516
517 2023-10-13 Florian Weimer <fweimer@redhat.com>
518
519 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Add
520 missing cast.
521
522 2023-10-13 Florian Weimer <fweimer@redhat.com>
523
524 * config/arc/linux-unwind.h (arc_fallback_frame_state): Add
525 missing cast.
526
527 2023-10-13 Florian Weimer <fweimer@redhat.com>
528
529 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
530 missing cast.
531
532 2023-10-13 Florian Weimer <fweimer@redhat.com>
533
534 * config/csky/linux-unwind.h (csky_fallback_frame_state): Add
535 missing cast.
536
537 2023-10-13 Florian Weimer <fweimer@redhat.com>
538
539 * config/m68k/fpgnulib.c (__cmpdf2): Declare.
540
541 2023-09-26 Wilco Dijkstra <wilco.dijkstra@arm.com>
542
543 * config/aarch64/lse.S (BTI_C): Remove define.
544
545 2023-09-20 Pekka Seppänen <pexu@gcc.mail.kapsi.fi>
546
547 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key):
548 Use const unsigned type and a builtin.
549
550 2023-09-06 Jakub Jelinek <jakub@redhat.com>
551
552 PR c/102989
553 * libgcc2.c (bitint_negate): Add function comment.
554 * soft-fp/bitint.h (bitint_negate): Add function comment.
555 (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
556
557 2023-09-06 Jakub Jelinek <jakub@redhat.com>
558
559 PR c/102989
560 * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
561 * config/i386/64/t-softfp (softfp_extras): Likewise.
562 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
563 routines.
564 * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
565 bf, hf and xf mode floatbitint.
566 (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
567 * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
568 * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
569 * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
570 * config/t-softfp (softfp_floatbitint_funcs): New.
571 (softfp_bid_list): New.
572 (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
573 (softfp_bid_file_list): New.
574 (LIB2ADD_ST): Add $(softfp_bid_file_list).
575 * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
576 floatbitinttf.
577 * config/t-softfp-tf (softfp_extras): Likewise.
578 * libgcc2.c (bitint_reduce_prec): New inline function.
579 (BITINT_INC, BITINT_END): Define.
580 (bitint_mul_1, bitint_addmul_1): New helper functions.
581 (__mulbitint3): New function.
582 (bitint_negate, bitint_submul_1): New helper functions.
583 (__divmodbitint4): New function.
584 * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
585 libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
586 (__mulbitint3, __divmodbitint4): Declare.
587 * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
588 * Makefile.in (lib2funcs): Add _mulbitint3.
589 (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
590 * soft-fp/bitint.h: New file.
591 * soft-fp/fixdfbitint.c: New file.
592 * soft-fp/fixsfbitint.c: New file.
593 * soft-fp/fixtfbitint.c: New file.
594 * soft-fp/fixxfbitint.c: New file.
595 * soft-fp/floatbitintbf.c: New file.
596 * soft-fp/floatbitintdf.c: New file.
597 * soft-fp/floatbitinthf.c: New file.
598 * soft-fp/floatbitintsf.c: New file.
599 * soft-fp/floatbitinttf.c: New file.
600 * soft-fp/floatbitintxf.c: New file.
601 * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
602 4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
603 * soft-fp/bitintpow10.c: New file.
604 * soft-fp/fixsdbitint.c: New file.
605 * soft-fp/fixddbitint.c: New file.
606 * soft-fp/fixtdbitint.c: New file.
607 * soft-fp/floatbitintsd.c: New file.
608 * soft-fp/floatbitintdd.c: New file.
609 * soft-fp/floatbitinttd.c: New file.
610
611 2023-09-06 Jakub Jelinek <jakub@redhat.com>
612
613 PR c/102989
614 * soft-fp/bitintpow10.h: New file.
615
616 2023-09-05 Yang Yujie <yangyujie@loongson.cn>
617
618 * config.host: add loongarch*-elf target.
619
620 2023-08-11 Thomas Neumann <thomas.neumann@in.tum.de>
621
622 PR libgcc/110956
623 * unwind-dw2-fde.c: Associate object with address of unwinding
624 table.
625
626 2023-08-07 John Ericson <git@JohnEricson.me>
627
628 * configure: Regenerate.
629
630 2023-08-07 Alan Modra <amodra@gmail.com>
631
632 * configure: Regenerate.
633
634 2023-07-23 Andrew Pinski <apinski@marvell.com>
635
636 * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
637 (riscv*-*-freebsd*): Likewise.
638 * config/riscv/t-crtstuff: New file.
639
640 2023-07-19 liuhongt <hongtao.liu@intel.com>
641
642 * config/i386/t-softfp: Add -msse2 to libbid HFtype related
643 files.
644
645 2023-07-11 Florian Weimer <fweimer@redhat.com>
646
647 PR libgcc/110179
648 * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
649 implicit conversion of pointer value to integer.
650
651 2023-07-06 Kito Cheng <kito.cheng@sifive.com>
652
653 * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
654 (FP_HANDLE_EXCEPTIONS): Ditto.
655
656 2023-06-19 Andrew Stubbs <ams@codesourcery.com>
657
658 * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
659 * config/gcn/lib2-divmod.c: Likewise.
660 * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
661 new vector libfuncs.
662 * config/gcn/t-amdgcn: Add new files.
663 * config/gcn/amdgcn_veclib.h: New file.
664 * config/gcn/lib2-vec_divmod-di.c: New file.
665 * config/gcn/lib2-vec_divmod-hi.c: New file.
666 * config/gcn/lib2-vec_divmod-qi.c: New file.
667 * config/gcn/lib2-vec_divmod.c: New file.
668
669 2023-06-19 Andrew Stubbs <ams@codesourcery.com>
670
671 * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
672 (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
673 * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
674 * config/gcn/lib2-divmod-hi.c: Removed.
675
676 2023-06-07 Florian Weimer <fweimer@redhat.com>
677
678 PR libgcc/109712
679 * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
680 parsing eh_frame.
681
682 2023-06-05 Kewen Lin <linkw@linux.ibm.com>
683
684 * config/i386/morestack.S: Use @init_array rather than
685 @progbits for section type of section .init_array.
686 * config/rs6000/morestack.S: Likewise.
687 * config/s390/morestack.S: Likewise.
688
689 2023-06-05 YunQiang Su <yunqiang.su@cipunited.com>
690
691 * config/mips/lib1funcs.S: New file.
692 define __speculation_barrier and include mips16.S.
693 * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
694 define LIB1ASMFUNCS as _speculation_barrier.
695 set version info for __speculation_barrier.
696 * config/mips/libgcc-mips.ver: New file.
697 * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
698 included in lib1funcs.S now.
699
700 2023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
701
702 PR libgcc/109670
703 * unwind-dw2-fde.c: Fix radix sort buffer management.
704
705 2023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
706
707 PR libgcc/109685
708 * unwind-dw2-fde.c: Free sort array in atomic fast path.
709
710 2023-05-19 Iain Sandoe <iain@sandoe.co.uk>
711
712 * config.host: Arrange to set min Darwin OS versions from
713 the configured host version.
714 * config/darwin10-unwind-find-enc-func.c: Do not use current
715 headers, but declare the nexessary structures locally to the
716 versions in use for Mac OSX 10.6.
717 * config/t-darwin: Amend to handle configured min OS
718 versions.
719 * config/t-darwin-min-1: New.
720 * config/t-darwin-min-5: New.
721 * config/t-darwin-min-8: New.
722
723 2023-05-15 Thomas Neumann <tneumann@users.sourceforge.net>
724
725 * unwind-dw2-fde.c: Fix assert in non-atomic path.
726
727 2023-05-15 Sören Tempel <soeren+git@soeren-tempel.net>
728
729 * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
730
731 2023-05-02 Patrick O'Neill <patrick@rivosinc.com>
732
733 * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
734 sequentially consistent LR.aqrl/SC.rl pairs.
735
736 2023-05-01 Dimitar Dimitrov <dimitar@dinux.eu>
737
738 * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
739 -DTARGET_HAS_NO_HW_DIVIDE.
740
741 2023-04-27 Hans-Peter Nilsson <hp@axis.com>
742
743 * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
744 -DTARGET_HAS_NO_HW_DIVIDE.
745
746 2023-04-26 Patrick O'Neill <patrick@rivosinc.com>
747
748 PR target/104338
749 * config/riscv/atomic.c: Add reference to duplicate logic.
750
751 2023-04-08 Tetsuma Hoshino <t-hoshino@pony-e.jp>
752
753 PR target/109402
754 * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
755 stack manipulations.
756
757 2023-04-05 John David Anglin <danglin@gcc.gnu.org>
758
759 PR target/109374
760 * config/pa/milli64.S (RETURN_COLUMN): Define.
761 ($$divI): Add CFI directives.
762 ($$divU): Likewise.
763 ($$remI): Likewise.
764 ($$remU): Likewise.
765
766 2023-03-19 Stafford Horne <shorne@gmail.com>
767
768 * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
769 statement clearing existing exceptions.
770
771 2023-03-13 Max Filippov <jcmvbkbc@gmail.com>
772
773 * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
774 * config/xtensa/crtn.S: Likewise.
775 * config/xtensa/lib1funcs.S: Likewise.
776 * config/xtensa/lib2funcs.S: Likewise.
777
778 2023-03-12 Jakub Jelinek <jakub@redhat.com>
779
780 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
781 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
782 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
783 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
784 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
785 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
786 * soft-fp/floatundibf.c: New file.
787 * soft-fp/floatdibf.c: New file.
788
789 2023-03-10 Jakub Jelinek <jakub@redhat.com>
790
791 PR target/107703
792 * soft-fp/floattibf.c: New file.
793 * soft-fp/floatuntibf.c: New file.
794 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
795 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
796 floatuntibf.
797 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
798
799 2023-03-08 Kewen Lin <linkw@linux.ibm.com>
800
801 PR libgcc/108727
802 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
803 bump size.
804
805 2023-03-06 Michael Meissner <meissner@linux.ibm.com>
806
807 PR target/107299
808 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
809 whether long double is IBM or IEEE.
810 (INFINITY): Likewise.
811 (FABS): Likewise.
812 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
813 (INFINITY): Likewise.
814 * config/rs6000/quad-float128.h (TF): Remove definition.
815 (TFtype): Define to be long double or _Float128.
816 (TCtype): Define to be _Complex long double or _Complex _Float128.
817 * libgcc2.h (TFtype): Allow machine config files to override this.
818 (TCtype): Likewise.
819 * soft-fp/quad.h (TFtype): Likewise.
820
821 2023-02-13 Kito Cheng <kito.cheng@sifive.com>
822
823 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
824 * config/riscv/value-unwind.h: New.
825
826 2023-02-03 Christophe Lyon <christophe.lyon@arm.com>
827
828 * config/arm/pr-support.c (__gnu_unwind_execute): Use
829 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
830
831 2023-01-30 Flavio Cruz <flaviocruz@gmail.com>
832
833 * config.host: Recognize x86_64-*-gnu* targets.
834 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
835 TODO for now.
836
837 2023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
838
839 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
840 "0xb5".
841
842 2023-01-23 Andrea Corallo <andrea.corallo@arm.com>
843 Tejas Belagod <tbelagod@arm.com>
844 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
845
846 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
847 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
848 with AUTG if found.
849 * config/arm/unwind-arm.c (struct pseudo_regs): New.
850 (phase1_vrs): Introduce new field to store pseudo-reg state.
851 (phase2_vrs): Likewise.
852 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
853 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
854 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
855
856 2023-01-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
857
858 PR target/107678
859 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
860 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
861 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
862 encode the return address signing state.
863 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
864 Check current return address signing state.
865 (aarch64_frob_update_contex): Remove.
866
867 2023-01-13 John David Anglin <danglin@gcc.gnu.org>
868
869 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
870 pa/t-pa64-linux.
871 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
872 instead of pa/t-hpux and pa/t-pa64.
873 * config/pa/linux-atomic.c: Define u32 type.
874 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
875 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
876 defines to use atomic_load calls for type.
877 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
878 * config/pa/sync-libfuncs.c: New file.
879 * config/pa/t-netbsd (LIB2ADD_ST): Define.
880 * config/pa/t-openbsd (LIB2ADD_ST): Define.
881 * config/pa/t-pa64-hpux: New file.
882 * config/pa/t-pa64-linux: New file.
883
884 2023-01-13 Jonathan Wakely <jwakely@redhat.com>
885
886 PR libstdc++/108331
887 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
888 struct matching the previous __gthread_mutex_t struct.
889 (__GTHREAD_LEGACY_MUTEX_T): Define.
890
891 2023-01-13 Seija Kijin <doremylover456@gmail.com>
892
893 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
894 unified syntax.
895
896 2023-01-07 LIU Hao <lh_mouse@126.com>
897
898 PR middle-end/108300
899 * config/i386/enable-execute-stack-mingw32.c: Define
900 `WIN32_LEAN_AND_MEAN` before <windows.h>.
901 * libgcc2.c: Likewise.
902 * unwind-generic.h: Likewise.
903
904 2023-01-03 Florian Weimer <fweimer@redhat.com>
905
906 * unwind-dw2-execute_cfa.h: New file. Extracted from
907 the execute_cfa_program function in unwind-dw2.c.
908 * unwind-dw2.c (execute_cfa_program_generic): New function.
909 (execute_cfa_program_specialized): Likewise.
910 (execute_cfa_program): Call execute_cfa_program_specialized
911 or execute_cfa_program_generic, as appropriate.
912
913 2023-01-03 Florian Weimer <fweimer@redhat.com>
914
915 Revert:
916 2023-01-03 Florian Weimer <fweimer@redhat.com>
917
918 * unwind-dw2.c (dwarf_reg_size): New function.
919 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
920 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
921 (uw_init_context_1): Do not initialize dwarf_reg_size_table
922 if not in use.
923
924 2023-01-03 Florian Weimer <fweimer@redhat.com>
925
926 Revert:
927 2023-01-03 Florian Weimer <fweimer@redhat.com>
928
929 * unwind-dw2-execute_cfa.h: New file. Extracted from
930 the execute_cfa_program function in unwind-dw2.c.
931 * unwind-dw2.c (execute_cfa_program_generic): New function.
932 (execute_cfa_program_specialized): Likewise.
933 (execute_cfa_program): Call execute_cfa_program_specialized
934 or execute_cfa_program_generic, as appropriate.
935
936 2023-01-02 Florian Weimer <fweimer@redhat.com>
937
938 * unwind-dw2-execute_cfa.h: New file. Extracted from
939 the execute_cfa_program function in unwind-dw2.c.
940 * unwind-dw2.c (execute_cfa_program_generic): New function.
941 (execute_cfa_program_specialized): Likewise.
942 (execute_cfa_program): Call execute_cfa_program_specialized
943 or execute_cfa_program_generic, as appropriate.
944
945 2023-01-02 Florian Weimer <fweimer@redhat.com>
946
947 * unwind-dw2.c (dwarf_reg_size): New function.
948 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
949 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
950 (uw_init_context_1): Do not initialize dwarf_reg_size_table
951 if not in use.
952
953 2022-12-25 Jonathan Yong <10walls@gmail.com>
954
955 * config/i386/gthr-win32.h: undef CC_NONE
956
957 2022-12-24 Iain Sandoe <iain@sandoe.co.uk>
958
959 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
960 install of libgcc_s.1.dylib when the installation is into the build
961 gcc directory.
962
963 2022-12-23 Eric Botcazou <ebotcazou@adacore.com>
964
965 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
966 as well as new i386/t-slibgcc-mingw fragment.
967 (x86_64-*-mingw*): Likewise.
968 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
969 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
970 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
971 Include stdlib.h instead of errno.h and do not include _mingw.h.
972 (CONST_CAST2): Add specific definition for C++.
973 (ATTRIBUTE_UNUSED): New macro.
974 (__UNUSED_PARAM): Delete.
975 Define WIN32_LEAN_AND_MEAN before including windows.h.
976 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
977 (__gthread_objc_init_thread_system): Likewise.
978 (__gthread_objc_thread_get_data): Minor tweak.
979 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
980 (__gthread_objc_condition_deallocate): Likewise.
981 (__gthread_objc_condition_wait): Likewise.
982 (__gthread_objc_condition_broadcast): Likewise.
983 (__gthread_objc_condition_signal): Likewise.
984 Include sys/time.h.
985 (__gthr_win32_DWORD): New typedef.
986 (__gthr_win32_HANDLE): Likewise.
987 (__gthr_win32_CRITICAL_SECTION): Likewise.
988 (__gthr_win32_CONDITION_VARIABLE): Likewise.
989 (__gthread_t): Adjust.
990 (__gthread_key_t): Likewise.
991 (__gthread_mutex_t): Likewise.
992 (__gthread_recursive_mutex_t): Likewise.
993 (__gthread_cond_t): New typedef.
994 (__gthread_time_t): Likewise.
995 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
996 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
997 (__GTHREAD_COND_INIT_FUNCTION): Define.
998 (__GTHREAD_TIME_INIT): Likewise.
999 (__gthr_i486_lock_cmp_xchg): Delete.
1000 (__gthr_win32_create): Declare.
1001 (__gthr_win32_join): Likewise.
1002 (__gthr_win32_self): Likewise.
1003 (__gthr_win32_detach): Likewise.
1004 (__gthr_win32_equal): Likewise.
1005 (__gthr_win32_yield): Likewise.
1006 (__gthr_win32_mutex_destroy): Likewise.
1007 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
1008 (__gthr_win32_cond_broadcast): Likewise.
1009 (__gthr_win32_cond_signal): Likewise.
1010 (__gthr_win32_cond_wait): Likewise.
1011 (__gthr_win32_cond_timedwait): Likewise.
1012 (__gthr_win32_recursive_mutex_init_function): Delete.
1013 (__gthr_win32_recursive_mutex_lock): Likewise.
1014 (__gthr_win32_recursive_mutex_unlock): Likewise.
1015 (__gthr_win32_recursive_mutex_destroy): Likewise.
1016 (__gthread_create): New inline function.
1017 (__gthread_join): Likewise.
1018 (__gthread_self): Likewise.
1019 (__gthread_detach): Likewise.
1020 (__gthread_equal): Likewise.
1021 (__gthread_yield): Likewise.
1022 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
1023 (__gthread_cond_broadcast): Likewise.
1024 (__gthread_cond_signal): Likewise.
1025 (__gthread_cond_wait): Likewise.
1026 (__gthread_cond_timedwait): Likewise.
1027 (__GTHREAD_WIN32_INLINE): New macro.
1028 (__GTHREAD_WIN32_COND_INLINE): Likewise.
1029 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
1030 Define WIN32_LEAN_AND_MEAN before including windows.h.
1031 (__gthread_once): Minor tweaks.
1032 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
1033 (__gthread_key_delete): Minor tweak.
1034 (__gthread_getspecific): Likewise.
1035 (__gthread_setspecific): Likewise.
1036 (__gthread_mutex_init_function): Reimplement.
1037 (__gthread_mutex_destroy): Likewise.
1038 (__gthread_mutex_lock): Likewise.
1039 (__gthread_mutex_trylock): Likewise.
1040 (__gthread_mutex_unlock): Likewise.
1041 (__gthr_win32_abs_to_rel_time): Declare.
1042 (__gthread_recursive_mutex_init_function): Reimplement.
1043 (__gthread_recursive_mutex_destroy): Likewise.
1044 (__gthread_recursive_mutex_lock): Likewise.
1045 (__gthread_recursive_mutex_trylock): Likewise.
1046 (__gthread_recursive_mutex_unlock): Likewise.
1047 (__gthread_cond_destroy): New inline function.
1048 (__gthread_cond_wait_recursive): Likewise.
1049 * config/i386/gthr-win32.c: Delete everything.
1050 Include gthr-win32.h to get the out-of-line version of inline routines.
1051 Add compile-time checks for the local version of the Win32 types.
1052 * config/i386/gthr-win32-cond.c: New file.
1053 * config/i386/gthr-win32-thread.c: Likewise.
1054 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
1055 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
1056 the static version of libgcc.
1057 * config/i386/t-slibgcc-mingw: New file.
1058 * config/i386/libgcc-mingw.ver: Likewise.
1059
1060 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
1061
1062 * unwind-dw2-fde.c: Initialize fde object lazily when
1063 the first exception tries to pass through.
1064
1065 2022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
1066
1067 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
1068
1069 2022-12-08 Max Filippov <jcmvbkbc@gmail.com>
1070
1071 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
1072 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
1073 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
1074 (XSHAL_ABI): Remove stray symbols from macro definitions.
1075
1076 2022-12-07 Max Filippov <jcmvbkbc@gmail.com>
1077
1078 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
1079 xtensa-config-builtin.h.
1080 * config/xtensa/crtn.S: Likewise.
1081 * config/xtensa/lib1funcs.S: Likewise.
1082 * config/xtensa/lib2funcs.S: Likewise.
1083 * config/xtensa/xtensa-config-builtin.h: New File.
1084
1085 2022-11-04 Florian Weimer <fweimer@redhat.com>
1086
1087 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
1088 values actually used by BFD ld.
1089
1090 2022-10-23 LIU Hao <lh_mouse@126.com>
1091
1092 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
1093 libobjc, instead of 'gthr.h'
1094
1095 2022-10-19 LIU Hao <lh_mouse@126.com>
1096
1097 * config.host: Add new cases for `mcf` thread model
1098 * config/i386/gthr-mcf.h: New file
1099 * config/i386/t-mingw-mcfgthread: New file
1100 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
1101 * configure: Regenerate
1102
1103 2022-10-18 Jonathan Wakely <jwakely@redhat.com>
1104
1105 * Makefile.in: Quote variable.
1106
1107 2022-10-17 H.J. Lu <hjl.tools@gmail.com>
1108
1109 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
1110 argument.
1111 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
1112 _Unwind_Frames_Increment.
1113 (_Unwind_ForcedUnwind_Phase2): Likewise.
1114 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1115 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
1116 return address on normal stack doesn't match the return address
1117 on shadow stack.
1118
1119 2022-10-17 Florian Weimer <fweimer@redhat.com>
1120
1121 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
1122 and reduce its size.
1123
1124 2022-10-14 Jakub Jelinek <jakub@redhat.com>
1125
1126 * config/i386/t-softfp (softfp_extensions): Add bfsf.
1127 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
1128 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
1129 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
1130 -msse2.
1131 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
1132 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
1133 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
1134 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
1135 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
1136 * soft-fp/brain.h: New file.
1137 * soft-fp/truncsfbf2.c: New file.
1138 * soft-fp/truncdfbf2.c: New file.
1139 * soft-fp/truncxfbf2.c: New file.
1140 * soft-fp/trunctfbf2.c: New file.
1141 * soft-fp/trunchfbf2.c: New file.
1142 * soft-fp/truncbfhf2.c: New file.
1143 * soft-fp/extendbfsf2.c: New file.
1144
1145 2022-10-12 Martin Liska <mliska@suse.cz>
1146
1147 * libgcov-driver.c: Use new function.
1148 * libgcov.h (gcov_write_summary): Rename to ...
1149 (gcov_write_object_summary): ... this.
1150
1151 2022-10-11 Olivier Hainque <hainque@adacore.com>
1152
1153 * config.host (*vxworks*): When enable_shared, add
1154 libgcc and crtstuff "shared" fragments for rtp except
1155 large code model.
1156 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
1157 the list of fragments.
1158
1159 2022-10-06 Jakub Jelinek <jakub@redhat.com>
1160
1161 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1162 fs->regs.how[X] instead of fs->regs.reg[X].how.
1163
1164 2022-10-06 Jakub Jelinek <jakub@redhat.com>
1165
1166 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
1167 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
1168 REG_UNDEFINED): New anonymous enum, moved from inside of
1169 struct frame_state_reg_info.
1170 (struct frame_state_reg_info): Remove reg[].how element and the
1171 anonymous enum there. Add how element.
1172 * unwind-dw2.c: Include stddef.h.
1173 (uw_frame_state_for): Don't clear first
1174 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
1175 (execute_cfa_program, __frame_state_for, uw_update_context_1,
1176 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
1177 or fs.regs.how[X] instead of fs.regs.reg[X].how.
1178 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
1179 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1180 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1181 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
1182 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
1183 Likewise.
1184 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
1185 Likewise.
1186 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
1187 * config/arc/linux-unwind.h (arc_fallback_frame_state,
1188 arc_frob_update_context): Likewise.
1189 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
1190 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
1191 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
1192 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
1193 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
1194 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
1195 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
1196 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
1197 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
1198 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
1199 x86_fallback_frame_state): Likewise.
1200 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
1201 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1202 x86_fallback_frame_state): Likewise.
1203 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
1204 Likewise.
1205 * config/i386/dragonfly-unwind.h
1206 (x86_64_dragonfly_fallback_frame_state): Likewise.
1207 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
1208 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
1209 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
1210 Likewise.
1211 * config/aarch64/freebsd-unwind.h
1212 (aarch64_freebsd_fallback_frame_state): Likewise.
1213 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1214 Likewise.
1215 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
1216 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1217 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
1218 Likewise.
1219 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
1220 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1221 Likewise.
1222 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
1223 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
1224 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
1225 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
1226
1227 2022-10-02 Olivier Hainque <hainque@adacore.com>
1228
1229 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
1230 -I options for gcc/include and gcc/include-fixed at the end
1231 and make them -isystem.
1232
1233 2022-10-02 Olivier Hainque <hainque@adacore.com>
1234
1235 * config/gthr-vxworks.h: Prevent Wpragma warning for the
1236 pragma diagnostics on Wstrict-prototypes.
1237
1238 2022-09-29 Olivier Hainque <hainque@adacore.com>
1239
1240 * config/vxcrtstuff.c: Improve the comment attached to the use
1241 of auto-host.h and of __dso_handle. Remove redundant guard on
1242 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
1243
1244 2022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
1245
1246 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
1247 for the non-fast-path case. Drop destructor priority.
1248
1249 2022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
1250
1251 * unwind-dw2-fde.c: (release_register_frames) Remember
1252 when the btree has been destroyed.
1253 (__deregister_frame_info_bases) Disable the assert when
1254 shutting down.
1255
1256 2022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
1257
1258 * unwind-dw2-fde.c: Replace uintptr_t with typedef
1259 for __UINTPTR_TYPE__.
1260 * unwind-dw2-btree.h: Likewise.
1261
1262 2022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
1263
1264 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
1265 (__register_frame_info_table_bases): Use btree in atomic fast path.
1266 (__deregister_frame_info_bases): Likewise.
1267 (_Unwind_Find_FDE): Likewise.
1268 (base_from_object): Make parameter const.
1269 (classify_object_over_fdes): Add query-only mode.
1270 (get_pc_range): Compute PC range for lookup.
1271 * unwind-dw2-fde.h (last_fde): Make parameter const.
1272 * unwind-dw2-btree.h: New file.
1273
1274 2022-08-31 Martin Liska <mliska@suse.cz>
1275
1276 * config.host: Remove hppa.
1277
1278 2022-08-30 Martin Liska <mliska@suse.cz>
1279
1280 * config.host: Remove the port.
1281
1282 2022-08-26 Martin Liska <mliska@suse.cz>
1283
1284 * config.host: Remove cr16 related stuff.
1285 * config/cr16/crti.S: Removed.
1286 * config/cr16/crtlibid.S: Removed.
1287 * config/cr16/crtn.S: Removed.
1288 * config/cr16/divmodhi3.c: Removed.
1289 * config/cr16/lib1funcs.S: Removed.
1290 * config/cr16/t-cr16: Removed.
1291 * config/cr16/t-crtlibid: Removed.
1292 * config/cr16/unwind-cr16.c: Removed.
1293 * config/cr16/unwind-dw2.h: Removed.
1294
1295 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
1296
1297 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
1298 (_FP_NANFRAC_H): Ditto.
1299 (_FP_NANSIGN_H): Ditto.
1300 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
1301 routines.
1302 (softfp_truncations): Ditto.
1303 (softfp_extras): Ditto.
1304 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
1305
1306 2022-08-16 Kito Cheng <kito.cheng@sifive.com>
1307
1308 * soft-fp/fixhfdi.c: New.
1309 * soft-fp/fixhfsi.c: Likewise.
1310 * soft-fp/fixunshfdi.c: Likewise.
1311 * soft-fp/fixunshfsi.c: Likewise.
1312 * soft-fp/floatdihf.c: Likewise.
1313 * soft-fp/floatsihf.c: Likewise.
1314 * soft-fp/floatundihf.c: Likewise.
1315 * soft-fp/floatunsihf.c: Likewise.
1316 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
1317 lines and update URL for license.
1318 * soft-fp/addsf3.c: Likewise.
1319 * soft-fp/addtf3.c: Likewise.
1320 * soft-fp/divdf3.c: Likewise.
1321 * soft-fp/divsf3.c: Likewise.
1322 * soft-fp/divtf3.c: Likewise.
1323 * soft-fp/double.h: Likewise.
1324 * soft-fp/eqdf2.c: Likewise.
1325 * soft-fp/eqhf2.c: Likewise.
1326 * soft-fp/eqsf2.c: Likewise.
1327 * soft-fp/eqtf2.c: Likewise.
1328 * soft-fp/extenddftf2.c: Likewise.
1329 * soft-fp/extended.h: Likewise.
1330 * soft-fp/extendhfdf2.c: Likewise.
1331 * soft-fp/extendhfsf2.c: Likewise.
1332 * soft-fp/extendhftf2.c: Likewise.
1333 * soft-fp/extendhfxf2.c: Likewise.
1334 * soft-fp/extendsfdf2.c: Likewise.
1335 * soft-fp/extendsftf2.c: Likewise.
1336 * soft-fp/extendxftf2.c: Likewise.
1337 * soft-fp/fixdfdi.c: Likewise.
1338 * soft-fp/fixdfsi.c: Likewise.
1339 * soft-fp/fixdfti.c: Likewise.
1340 * soft-fp/fixhfti.c: Likewise.
1341 * soft-fp/fixsfdi.c: Likewise.
1342 * soft-fp/fixsfsi.c: Likewise.
1343 * soft-fp/fixsfti.c: Likewise.
1344 * soft-fp/fixtfdi.c: Likewise.
1345 * soft-fp/fixtfsi.c: Likewise.
1346 * soft-fp/fixtfti.c: Likewise.
1347 * soft-fp/fixunsdfdi.c: Likewise.
1348 * soft-fp/fixunsdfsi.c: Likewise.
1349 * soft-fp/fixunsdfti.c: Likewise.
1350 * soft-fp/fixunshfti.c: Likewise.
1351 * soft-fp/fixunssfdi.c: Likewise.
1352 * soft-fp/fixunssfsi.c: Likewise.
1353 * soft-fp/fixunssfti.c: Likewise.
1354 * soft-fp/fixunstfdi.c: Likewise.
1355 * soft-fp/fixunstfsi.c: Likewise.
1356 * soft-fp/fixunstfti.c: Likewise.
1357 * soft-fp/floatdidf.c: Likewise.
1358 * soft-fp/floatdisf.c: Likewise.
1359 * soft-fp/floatditf.c: Likewise.
1360 * soft-fp/floatsidf.c: Likewise.
1361 * soft-fp/floatsisf.c: Likewise.
1362 * soft-fp/floatsitf.c: Likewise.
1363 * soft-fp/floattidf.c: Likewise.
1364 * soft-fp/floattihf.c: Likewise.
1365 * soft-fp/floattisf.c: Likewise.
1366 * soft-fp/floattitf.c: Likewise.
1367 * soft-fp/floatundidf.c: Likewise.
1368 * soft-fp/floatundisf.c: Likewise.
1369 * soft-fp/floatunditf.c: Likewise.
1370 * soft-fp/floatunsidf.c: Likewise.
1371 * soft-fp/floatunsisf.c: Likewise.
1372 * soft-fp/floatunsitf.c: Likewise.
1373 * soft-fp/floatuntidf.c: Likewise.
1374 * soft-fp/floatuntihf.c: Likewise.
1375 * soft-fp/floatuntisf.c: Likewise.
1376 * soft-fp/floatuntitf.c: Likewise.
1377 * soft-fp/gedf2.c: Likewise.
1378 * soft-fp/gesf2.c: Likewise.
1379 * soft-fp/getf2.c: Likewise.
1380 * soft-fp/half.h: Likewise.
1381 * soft-fp/ledf2.c: Likewise.
1382 * soft-fp/lesf2.c: Likewise.
1383 * soft-fp/letf2.c: Likewise.
1384 * soft-fp/muldf3.c: Likewise.
1385 * soft-fp/mulsf3.c: Likewise.
1386 * soft-fp/multf3.c: Likewise.
1387 * soft-fp/negdf2.c: Likewise.
1388 * soft-fp/negsf2.c: Likewise.
1389 * soft-fp/negtf2.c: Likewise.
1390 * soft-fp/op-1.h: Likewise.
1391 * soft-fp/op-2.h: Likewise.
1392 * soft-fp/op-4.h: Likewise.
1393 * soft-fp/op-8.h: Likewise.
1394 * soft-fp/op-common.h: Likewise.
1395 * soft-fp/quad.h: Likewise.
1396 * soft-fp/single.h: Likewise.
1397 * soft-fp/soft-fp.h: Likewise.
1398 * soft-fp/subdf3.c: Likewise.
1399 * soft-fp/subsf3.c: Likewise.
1400 * soft-fp/subtf3.c: Likewise.
1401 * soft-fp/truncdfhf2.c: Likewise.
1402 * soft-fp/truncdfsf2.c: Likewise.
1403 * soft-fp/truncsfhf2.c: Likewise.
1404 * soft-fp/trunctfdf2.c: Likewise.
1405 * soft-fp/trunctfhf2.c: Likewise.
1406 * soft-fp/trunctfsf2.c: Likewise.
1407 * soft-fp/trunctfxf2.c: Likewise.
1408 * soft-fp/truncxfhf2.c: Likewise.
1409 * soft-fp/unorddf2.c: Likewise.
1410 * soft-fp/unordsf2.c: Likewise.
1411 * soft-fp/unordtf2.c: Likewise.
1412
1413 2022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
1414
1415 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
1416 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
1417 configurations.
1418
1419 2022-06-25 Jeff Law <jeffreyalaw@gmail.com>
1420
1421 * config.host: Removed tilegx and tilepro entries.
1422 * config/tilegx/sfp-machine.h: Removed.
1423 * config/tilegx/sfp-machine32.h: Removed.
1424 * config/tilegx/sfp-machine64.h: Removed.
1425 * config/tilegx/t-crtstuff: Removed.
1426 * config/tilegx/t-softfp: Removed.
1427 * config/tilegx/t-tilegx: Removed.
1428 * config/tilepro/atomic.c: Removed.
1429 * config/tilepro/atomic.h: Removed.
1430 * config/tilepro/linux-unwind.h: Removed.
1431 * config/tilepro/sfp-machine.h: Removed.
1432 * config/tilepro/softdivide.c: Removed.
1433 * config/tilepro/softmpy.S: Removed.
1434 * config/tilepro/t-crtstuff: Removed.
1435 * config/tilepro/t-tilepro: Removed.
1436
1437 2022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
1438
1439 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
1440 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
1441
1442 2022-06-01 H.J. Lu <hjl.tools@gmail.com>
1443
1444 PR libgcc/27576
1445 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
1446
1447 2022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
1448
1449 PR libgcc/105708
1450 * config/aarch64/lse-init.c: Increase constructor priority.
1451
1452 2022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1453
1454 PR target/104689
1455 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1456 Handle the !REG_UNSAVED case.
1457 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
1458
1459 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1460
1461 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
1462 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
1463 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
1464
1465 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1466
1467 * config.host: Add t-dfprules to AArch64 targets.
1468
1469 2022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1470
1471 * configure: Regenerate.
1472
1473 2022-05-13 Sebastian Pop <spop@amazon.com>
1474
1475 PR target/105162
1476 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
1477 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
1478
1479 2022-05-10 Martin Liska <mliska@suse.cz>
1480 Hans-Peter Helfert <peter-helfert@t-online.de>
1481
1482 PR gcov-profile/105535
1483 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
1484 n_functions.
1485
1486 2022-05-02 Martin Liska <mliska@suse.cz>
1487
1488 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
1489
1490 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1491
1492 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
1493 (gcov_profile_merge_stream): Likewise.
1494
1495 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1496
1497 * libgcov-util.c (consume_stream): New.
1498 (get_target_profiles_for_merge): Likewise.
1499 (gcov_profile_merge_stream): Likewise.
1500
1501 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1502
1503 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
1504
1505 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1506
1507 * libgcov-util.c (read_gcda_file): Do not open file.
1508 (ftw_read_file): Open file here.
1509
1510 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1511
1512 * libgcov-util.c (read_gcda_file): Prepend new info object to global
1513 list.
1514 (ftw_read_file): Remove list append here.
1515
1516 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1517
1518 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
1519 (ftw_read_file): Duplicate filename for read_gcda_file().
1520
1521 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1522
1523 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
1524 (__gcov_filename_to_gcfn): Declare and document.
1525 * libgcov-driver.c (dump_string): New.
1526 (__gcov_filename_to_gcfn): Likewise.
1527 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
1528
1529 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1530
1531 * libgcov.h (gcov_seek): Remove define and declaration.
1532
1533 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1534
1535 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
1536 parameter. Pass mode to gcov_open() calls.
1537 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
1538 gcov_exit_open_gcda_file() call.
1539 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
1540 calls.
1541 (__gcov_dump_one): Open file for reading and writing.
1542
1543 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1544
1545 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
1546 reading and writing.
1547 * libgcov-util.c (read_gcda_file): Open file for reading.
1548 * libgcov.h (gcov_open): Delete declaration.
1549
1550 2022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1551
1552 * libgcov-util.c (gcov_profile_merge): Return the list of merged
1553 profiles. Accept empty target and source profile lists.
1554
1555 2022-04-08 Sergei Trofimovich <siarheit@google.com>
1556
1557 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
1558
1559 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
1560 Lulu Cheng <chenglulu@loongson.cn>
1561
1562 * configure: Regenerate file.
1563
1564 2022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
1565 Lulu Cheng <chenglulu@loongson.cn>
1566
1567 * config/loongarch/crtfastmath.c: New file.
1568 * config/loongarch/linux-unwind.h: Like wise.
1569 * config/loongarch/sfp-machine.h: Like wise.
1570 * config/loongarch/t-crtstuff: Like wise.
1571 * config/loongarch/t-loongarch: Like wise.
1572 * config/loongarch/t-loongarch64: Like wise.
1573 * config/loongarch/t-softfp-tf: Like wise.
1574 * config.host: Add LoongArch tuples.
1575 * configure.ac: Add LoongArch support.
1576
1577 2022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
1578
1579 PR libgcc/86224
1580 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
1581 for __mulsi3.
1582 (__udivsi3_internal, __divsi3_internal): Similarly.
1583 (__umodsi3, __modsi3): Use the internal function names.
1584
1585 2022-03-09 Tobias Burnus <tobias@codesourcery.com>
1586
1587 PR target/102215
1588 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
1589 a line up to non-arg-dependent value first.
1590 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
1591 __atomic_compare_exchange_{1,2}.
1592
1593 2022-03-04 Iain Sandoe <iain@sandoe.co.uk>
1594
1595 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
1596 * config/t-darwin-ehs: Add dependency on unwind.h.
1597
1598 2022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
1599
1600 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
1601 with 0 instead of NULL.
1602
1603 2022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1604
1605 PR target/104656
1606 * configure.ac: --disable-gcov if targetting bpf-*.
1607 * configure: Regenerate.
1608
1609 2022-01-25 Florian Weimer <fweimer@redhat.com>
1610
1611 PR libgcc/104207
1612 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
1613
1614 2022-01-17 Martin Liska <mliska@suse.cz>
1615
1616 * libgcov-driver.c: Rename .c names to .cc.
1617
1618 2022-01-15 David <gccbugzilla@limegreensocks.com>
1619
1620 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
1621 Remove inlined version, Windows 95 is no longer relevant.
1622 * config/i386/gthr-win32.h
1623 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
1624
1625 2022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
1626
1627 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1628 DWARF_ALT_FRAME_RETURN_COLUMN macro.
1629
1630 2022-01-04 Florian Weimer <fweimer@redhat.com>
1631
1632 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1633 if available.
1634
1635 2022-01-02 John David Anglin <danglin@gcc.gnu.org>
1636
1637 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1638 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1639 return is not equal _ASM_EFAULT.
1640 (__kernel_cmpxchg2): Likewise.
1641
1642 2021-12-17 Iain Sandoe <iain@sandoe.co.uk>
1643
1644 * config.host: Add shim declaration header to powerpc*-darwin builds.
1645 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1646 file.
1647 * config/t-darwin-ehs: Add dependencies to the shared unwinder
1648 objects.
1649 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1650 the shared EH lib. Add all-multi to the dependencies for the
1651 libgcc_s.1.dylib redirections.
1652
1653 2021-12-13 Olivier Hainque <hainque@adacore.com>
1654
1655 * config.host (powerpc*-*-vxworks7*): Remove
1656 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1657
1658 2021-12-13 Olivier Hainque <hainque@adacore.com>
1659
1660 * config.host (*vxworks*): Remove special case for
1661 arm on the use of vxcrtstuff.
1662
1663 2021-12-13 Fred Konrad <konrad@adacore.com>
1664 Olivier Hainque <hainque@adacore.com>
1665
1666 * config/t-vxcrtstuffS: New Makefile fragment.
1667 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1668 functions for INITFINI_ARRAY support in shared libs and guard
1669 the definition of eh table registration functions on conditions
1670 indicating they are needed.
1671
1672 2021-12-13 Olivier Hainque <hainque@adacore.com>
1673
1674 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1675 ahead of the other files in tmake_files.
1676 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1677 overriding it.
1678
1679 2021-12-13 Olivier Hainque <hainque@adacore.com>
1680
1681 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1682 both VxWorks7 and earlier.
1683 * config/t-vxworks7: Remove.
1684 * config.host: Remove special case for vxworks7.
1685
1686 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1687
1688 * config/vxcrtstuff.c: Make constructor and destructor
1689 functions static when possible.
1690
1691 2021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1692
1693 * config/vxcrtstuff.c: Remove constructor/destructor
1694 declarations.
1695
1696 2021-12-10 Iain Sandoe <iain@sandoe.co.uk>
1697
1698 * config/t-darwin: Add libgcc_tm.h to the dependencies
1699 for darwin10-unwind-find-enc-func.
1700
1701 2021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1702
1703 * config/rs6000/t-vxworks: New file.
1704 * config.host (powerpc*-*-vxworks*): Use it instead of
1705 t-ppccomm.
1706
1707 2021-12-09 Fred Konrad <konrad@adacore.com>
1708
1709 * config.host (powerpc*-wrs-vxworks7*): Fix path to
1710 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1711
1712 2021-12-09 Olivier Hainque <hainque@adacore.com>
1713 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1714
1715 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1716 $(LIBGCC2_INCLUDES).
1717 * config/t-vxworks7: Likewise.
1718
1719 2021-12-08 Iain Sandoe <iain@sandoe.co.uk>
1720
1721 * config.host (*-*-darwin*): Add logic to build a shared
1722 unwinder library for Darwin8-10.
1723 * config/i386/t-darwin: Build legacy libgcc_s.1.
1724 * config/rs6000/t-darwin: Likewise.
1725 * config/t-darwin: Reorganise the EH fragments to place
1726 them for inclusion in a shared EH lib.
1727 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1728 the supporting pieces (all FAT libs).
1729 * config/t-darwin-noeh: Removed.
1730 * config/darwin-unwind.ver: New file.
1731 * config/rs6000/t-darwin-ehs: New file.
1732 * config/t-darwin-ehs: New file.
1733
1734 2021-12-06 Nelson Chu <nelson.chu@sifive.com>
1735
1736 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1737 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1738 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1739 HIDDEN_DEF.
1740
1741 2021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1742
1743 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1744 ssize_t and vfork after including auto-host.h.
1745
1746 2021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1747
1748 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1749 crtend.o to extra_parts.
1750
1751 2021-11-27 John David Anglin <danglin@gcc.gnu.org>
1752
1753 * config/pa/t-dimode (lib2difuncs): Fix typo.
1754
1755 2021-11-25 Florian Weimer <fweimer@redhat.com>
1756
1757 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1758 Remove func, ret.
1759 (find_fde_tail): New function. Split from
1760 _Unwind_IteratePhdrCallback. Move the result initialization
1761 from _Unwind_Find_FDE.
1762 (_Unwind_Find_FDE): Updated to call find_fde_tail.
1763
1764 2021-11-22 Florian Weimer <fweimer@redhat.com>
1765
1766 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1767 (struct unw_eh_callback_data): Make dbase member conditional.
1768 (unw_eh_callback_data_dbase): New function.
1769 (base_from_cb_data): Simplify for the non-dbase case.
1770 (_Unwind_IteratePhdrCallback): Adjust.
1771 (_Unwind_Find_FDE): Likewise.
1772
1773 2021-11-22 Florian Weimer <fweimer@redhat.com>
1774
1775 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1776 tbase member.
1777 (base_from_cb_data): Adjust.
1778 (_Unwind_IteratePhdrCallback): Likewise.
1779 (_Unwind_Find_FDE): Likewise.
1780
1781 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1782
1783 * config.host: Add weak emutls crt to the extra_parts.
1784 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1785 workaround.
1786 * config/libgcc-libsystem.ver: Add exclude list for the system-
1787 provided unwinder.
1788 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1789 * config/i386/libgcc-darwin.10.4.ver: Removed.
1790 * config/i386/libgcc-darwin.10.5.ver: Removed.
1791 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1792 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1793 * config/t-darwin-noeh: New file.
1794
1795 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1796
1797 * config/t-darwin: Build weak-defined emutls objects.
1798 * emutls.c (__emutls_get_address): Add optional attributes.
1799 (__emutls_register_common): Likewise.
1800 (EMUTLS_ATTR): New.
1801
1802 2021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1803
1804 PR libgcc/103044
1805 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1806 called with a null argument or at the end of the backtrace and return.
1807 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1808
1809 2021-11-10 Jakub Jelinek <jakub@redhat.com>
1810
1811 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1812 formatting fix.
1813
1814 2021-11-05 Iain Sandoe <iain@sandoe.co.uk>
1815
1816 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1817 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1818
1819 2021-11-05 John David Anglin <danglin@gcc.gnu.org>
1820
1821 PR libgomp/96661
1822 * config.host (hppa*64*-*-linux*): Revise tmake_file.
1823 (hppa*64*-*-hpux11*): Likewise.
1824 * config/pa/sfp-exceptions.c: New.
1825 * config/pa/sfp-machine.h: New.
1826 * config/pa/t-dimode: New.
1827 * config/pa/t-softfp-sfdftf: New.
1828
1829 2021-10-27 John David Anglin <danglin@gcc.gnu.org>
1830
1831 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1832 tmake_file.
1833 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1834 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1835 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1836 * config/pa/t-linux64 (LIB1ASMSRC): New define.
1837 (LIB1ASMFUNCS): Revise.
1838 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1839
1840 2021-10-22 Stafford Horne <shorne@gmail.com>
1841
1842 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1843 Change to 0.
1844
1845 2021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1846
1847 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1848 outside of get_regs() in order to use it in another function, this
1849 is done twice: for __powerpc64__ and for !__powerpc64__.
1850 (struct trace_arg): New struct.
1851 (struct layout): New struct.
1852 (ppc_backchain_fallback): New function.
1853 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1854 state and call MD_BACKCHAIN_FALLBACK.
1855
1856 2021-10-13 Martin Liska <mliska@suse.cz>
1857
1858 PR gcov-profile/90364
1859 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1860 checksums.
1861 (write_one_data): Write also checksum.
1862 * libgcov-util.c (read_gcda_file): Read also checksum field.
1863 * libgcov.h (struct gcov_info): Add new field.
1864
1865 2021-10-08 Ian Lance Taylor <iant@golang.org>
1866
1867 * config/i386/morestack.S: Use .init_array for constructor if
1868 available.
1869 * config/rs6000/morestack.S: Likewise.
1870 * config/s390/morestack.S: Likewise.
1871
1872 2021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1873
1874 PR target/101104
1875 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1876 Use more correct values for native IBM 128-bit.
1877
1878 2021-09-28 Iain Sandoe <iain@sandoe.co.uk>
1879
1880 * config/i386/libgcc-darwin.ver: Add Symbols for
1881 __cpu_model, __cpu_indicator_init.
1882
1883 2021-09-22 Iain Sandoe <iain@sandoe.co.uk>
1884
1885 * config/i386/sfp-machine.h: Guard Mach-O-specific code
1886 using __APPLE__.
1887
1888 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1889
1890 * config/t-slibgcc-darwin: Delete unused code.
1891
1892 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1893
1894 * config/i386/t-darwin: Add in a vers file for X86-specific
1895 symbols.
1896 * config/t-darwin: Add the generic symbol maps here...
1897 * config/t-slibgcc-darwin: ... removing from here.
1898 * config/i386/libgcc-darwin.ver: New file.
1899
1900 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1901
1902 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1903 and __mulhc3.
1904
1905 2021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1906
1907 * config.host: Use convenience library for Darwin10
1908 unwinder shim.
1909 * config/t-darwin: Build Darwin10 unwinder shim as a
1910 convenience library.
1911
1912 2021-09-13 Andrew Pinski <apinski@marvell.com>
1913
1914 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1915 * config/m32r/libgcc-glibc.ver: Removed.
1916 * config/m32r/t-linux: Removed.
1917
1918 2021-09-08 liuhongt <hongtao.liu@intel.com>
1919
1920 * config/i386/t-softfp: Compile __{mul,div}hc3 into
1921 libgcc_s.so.1.
1922
1923 2021-09-08 Jakub Jelinek <jakub@redhat.com>
1924 Iain Sandoe <iain@sandoe.co.uk>
1925
1926 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1927 and export *hf* and *hc* functions at GCC_12.0.0.
1928
1929 2021-09-06 liuhongt <hongtao.liu@intel.com>
1930
1931 * Makefile.in: Adjust to support specific CFLAGS for each
1932 libgcc source file.
1933 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1934 related libgcc source files.
1935 * config/i386/t-softfp: Ditto.
1936 * config/i386/_divhc3.c: New file.
1937 * config/i386/_mulhc3.c: New file.
1938
1939 2021-09-03 Iain Sandoe <iain@sandoe.co.uk>
1940
1941 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1942 alias_DFtype, alias_TFtype): New.
1943 (ALIAS_SELECTOR): New.
1944 (strong_alias): Use __typeof and a _Generic selector to
1945 provide the type to the synthesized function.
1946
1947 2021-09-02 liuhongt <hongtao.liu@intel.com>
1948
1949 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1950 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1951 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1952 * config/i386/t-softfp: Add hf soft-fp.
1953 * config.host: Add i386/64/t-softfp.
1954 * config/i386/64/t-softfp: New file.
1955
1956 2021-09-02 liuhongt <hongtao.liu@intel.com>
1957
1958 * soft-fp/eqhf2.c: New file.
1959 * soft-fp/extendhfdf2.c: New file.
1960 * soft-fp/extendhfsf2.c: New file.
1961 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1962 * soft-fp/truncdfhf2.c: New file
1963 * soft-fp/truncsfhf2.c: New file
1964
1965 2021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
1966
1967 * unwind-arm-common.inc (abort): Remove.
1968
1969 2021-08-31 Richard Sandiford <richard.sandiford@arm.com>
1970
1971 * config/aarch64/value-unwind.h: Add missing runtime exception
1972 paragraph.
1973 * config/frv/frv-abi.h: Likewise.
1974 * config/i386/value-unwind.h: Likewise.
1975 * config/pa/pa64-hpux-lib.h: Likewise.
1976
1977 2021-08-26 David Edelsohn <dje.gcc@gmail.com>
1978
1979 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1980 __gcc_qadd.
1981 (__gcc_qadd): Call ldouble_qadd_internal.
1982 (__gcc_qsub): Call ldouble_qadd_internal with second long double
1983 argument negated.
1984
1985 2021-08-26 Jonathan Yong <10walls@gmail.com>
1986
1987 * config/i386/cygming-crtend.c: Fix register_frame_ctor
1988 and register_frame_dtor warnings.
1989
1990 2021-08-24 Richard Earnshaw <rearnsha@arm.com>
1991
1992 PR target/102035
1993 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1994 Add vlldm erratum work-around.
1995
1996 2021-08-21 John David Anglin <danglin@gcc.gnu.org>
1997
1998 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1999
2000 2021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
2001
2002 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
2003 (gcov_type_unsigned): Likewise.
2004
2005 2021-08-14 Stafford Horne <shorne@gmail.com>
2006
2007 PR target/99783
2008 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
2009 * config/or1k/t-crtstuff: New file.
2010
2011 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
2012
2013 * libgcov-driver.c (#include <stdint.h>): Remove.
2014 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
2015
2016 2021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
2017
2018 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
2019 * gcov.h (gcov_info): Declare.
2020 (__gcov_info_to_gdca): Likewise.
2021 * libgcov.h (gcov_write_counter): Remove.
2022 (gcov_write_tag_length): Likewise.
2023 * libgcov-driver.c (#include <stdint.h>): New.
2024 (#include <string.h>): Remove.
2025 (NEED_L_GCOV): Conditionally define.
2026 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
2027 (are_all_counters_zero): New.
2028 (gcov_dump_handler): Likewise.
2029 (gcov_allocate_handler): Likewise.
2030 (dump_unsigned): Likewise.
2031 (dump_counter): Likewise.
2032 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
2033 Use dump_unsigned() and dump_counter().
2034 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
2035 dump_unsigned(), dump_counter(), and are_all_counters_zero().
2036 (__gcov_info_to_gcda): New.
2037
2038 2021-08-05 Jakub Jelinek <jakub@redhat.com>
2039
2040 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
2041 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
2042 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
2043 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
2044
2045 2021-08-04 Jakub Jelinek <jakub@redhat.com>
2046
2047 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
2048
2049 2021-07-15 Alan Modra <amodra@gmail.com>
2050
2051 * config/rs6000/morestack.S (R2_SAVE): Define.
2052 (__morestack): Save and restore r2. Set up r2 for called
2053 functions.
2054
2055 2021-07-01 H.J. Lu <hjl.tools@gmail.com>
2056
2057 * soft-fp/extendhfxf2.c: New file.
2058 * soft-fp/truncxfhf2.c: Likewise.
2059
2060 2021-06-29 Julian Brown <julian@codesourcery.com>
2061
2062 * config/gcn/lib2-bswapti2.c: New file.
2063 * config/gcn/lib2-divmod-di.c: New file.
2064 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
2065 typedefs.
2066 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
2067 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
2068 lib2-bswapti2.c.
2069
2070 2021-06-29 Julian Brown <julian@codesourcery.com>
2071
2072 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
2073 return types to USItype.
2074 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
2075
2076 2021-06-23 Kewen Lin <linkw@linux.ibm.com>
2077
2078 * configure: Regenerate.
2079 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
2080 typos among the name, CFLAGS and the test.
2081 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
2082 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
2083 Remove.
2084 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
2085 macro FLOAT128_HW_INSNS_ISA3_1.
2086 (FP128_3_1_CFLAGS_HW): Fix option typo.
2087 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
2088 FLOAT128_HW_INSNS_ISA3_1.
2089 (__floattikf_resolve): Likewise.
2090 (__floatuntikf_resolve): Likewise.
2091 (__fixkfti_resolve): Likewise.
2092 (__fixunskfti_resolve): Likewise.
2093 (__floattikf): Likewise.
2094 (__floatuntikf): Likewise.
2095 (__fixkfti): Likewise.
2096 (__fixunskfti): Likewise.
2097
2098 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2099
2100 PR target/99939
2101 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
2102 macro.
2103 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
2104 on passing -mcmse option.
2105
2106 2021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
2107
2108 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
2109 _ARCH_PPC64 .
2110
2111 2021-06-09 Carl Love <cel@us.ibm.com>
2112
2113 * config.host: Add if test and set for
2114 libgcc_cv_powerpc_3_1_float128_hw.
2115 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
2116 Change calls of __fixkfti to __fixkfti_sw.
2117 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
2118 Change calls of __fixunskfti to __fixunskfti_sw.
2119 * config/rs6000/float128-p10.c (__floattikf_hw,
2120 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
2121 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
2122 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
2123 __fixunskfti_resolve): Add resolve functions.
2124 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
2125 * config/rs6000/float128-sed (floattitf, __floatuntitf,
2126 __fixtfti, __fixunstfti): Add editor commands to change names.
2127 * config/rs6000/float128-sed-hw (__floattitf,
2128 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
2129 change names.
2130 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
2131 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
2132 * config/rs6000/quad-float128.h (__floattikf_sw,
2133 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
2134 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
2135 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
2136 * config/rs6000/t-float128 (floattikf, floatuntikf,
2137 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
2138 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
2139 file names to fp128_ppc_funcs.
2140 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
2141 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
2142 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
2143 * config/rs6000/t-float128-p10-hw: New file.
2144 * configure: Update script for isa 3.1 128-bit float support.
2145 * configure.ac: Add check for 128-bit float hardware support.
2146 * config/rs6000/fixkfti-sw.c: New file.
2147 * config/rs6000/fixunskfti-sw.c: New file.
2148 * config/rs6000/floattikf-sw.c: New file.
2149 * config/rs6000/floatuntikf-sw.c: New file.
2150
2151 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
2152
2153 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
2154
2155 2021-05-13 Martin Liska <mliska@suse.cz>
2156
2157 * libgcov-driver.c: Fix GNU coding style.
2158
2159 2021-05-10 Martin Liska <mliska@suse.cz>
2160
2161 * libgcov-driver.c (gcov_version): Use different name that does
2162 not clash with newly introduced macro.
2163
2164 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
2165
2166 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
2167 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
2168 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
2169
2170 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
2171
2172 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
2173 Define.
2174 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
2175 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
2176 Define.
2177 (__divkc3): Improve complex divide.
2178
2179 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
2180
2181 PR target/98952
2182 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
2183 trampoline size comparison in 32-bit by reversing test and
2184 combining load immediate with compare.
2185 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
2186 in 32-bit by reversing test and combining load immediate with
2187 compare.
2188
2189 2021-04-05 Florian Weimer <fweimer@redhat.com>
2190 Michael Meissner <meissner@linux.ibm.com>
2191
2192 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
2193 point functions for $(decimal_float) only.
2194
2195 2021-04-03 Jakub Jelinek <jakub@redhat.com>
2196
2197 PR target/97653
2198 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
2199 $(objext) instead of $(object). Use _floatunditf instead of
2200 _floatunsditf. Add tf <-> ti conversion objects.
2201 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
2202
2203 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
2204
2205 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
2206 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
2207 (fp128_decstr_objs): Delete.
2208 * dfp-bit.h: Call __sprintfieee128 to do conversions from
2209 _Float128 to a Decimal type. Call __strtoieee128 to do
2210 conversions from a Decimal type to _Float128.
2211 * config/rs6000/_sprintfkf.c: Delete file.
2212 * config/rs6000/_sprintfkf.h: Delete file.
2213 * config/rs6000/_strtokf.c: Delete file.
2214 * config/rs6000/_strtokf.h: Delete file.
2215
2216 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
2217
2218 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
2219 to __BYTE_ORDER__.
2220
2221 2021-03-06 Jakub Jelinek <jakub@redhat.com>
2222
2223 PR gcov-profile/99406
2224 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
2225 defined, define these macros if not defined already.
2226
2227 2021-03-04 Martin Liska <mliska@suse.cz>
2228
2229 PR gcov-profile/99105
2230 * libgcov-driver.c (write_top_counters): Rename to ...
2231 (write_topn_counters): ... this.
2232 (write_one_data): Pre-allocate buffer for number of items
2233 in the corresponding linked lists.
2234 * libgcov.h (malloc_mmap): New function.
2235 (allocate_gcov_kvp): Use it.
2236
2237 2021-03-04 Martin Liska <mliska@suse.cz>
2238
2239 PR gcov-profile/99385
2240 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
2241
2242 2021-03-03 Martin Liska <mliska@suse.cz>
2243
2244 PR gcov-profile/97461
2245 * config.in: Regenerate.
2246 * configure: Likewise.
2247 * configure.ac: Check sys/mman.h header file
2248 * libgcov-driver.c (struct gcov_kvp): Remove static
2249 pre-allocated pool and use a dynamic one.
2250 * libgcov.h (MMAP_CHUNK_SIZE): New.
2251 (gcov_counter_add): Use mmap to allocate pool for struct
2252 gcov_kvp.
2253
2254 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
2255
2256 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
2257 the function.
2258 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
2259
2260 2021-02-24 Jakub Jelinek <jakub@redhat.com>
2261
2262 PR libgcc/99236
2263 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
2264 negation of m in unsigned type.
2265
2266 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
2267 Hau Hsu <hsuhau617@gmail.com>
2268
2269 PR target/99157
2270 * config/arm/t-arm: Fix cmse support detection.
2271
2272 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
2273
2274 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
2275
2276 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
2277
2278 * config/rs6000/_dd_to_kf.c: New file.
2279 * config/rs6000/_kf_to_dd.c: New file.
2280 * config/rs6000/_kf_to_sd.c: New file.
2281 * config/rs6000/_kf_to_td.c: New file.
2282 * config/rs6000/_sd_to_kf.c: New file.
2283 * config/rs6000/_sprintfkf.c: New file.
2284 * config/rs6000/_sprintfkf.h: New file.
2285 * config/rs6000/_strtokf.h: New file.
2286 * config/rs6000/_strtokf.c: New file.
2287 * config/rs6000/_td_to_kf.c: New file.
2288 * config/rs6000/quad-float128.h: Add new declarations.
2289 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
2290 (fp128_decstr_funcs): New macro.
2291 (ibm128_dec_funcs): New macro.
2292 (fp128_ppc_funcs): Add the new conversions.
2293 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
2294 compiled with -mabi=ieeelongdouble.
2295 (fp128_decstr_objs): Force __float128 <-> string conversions to be
2296 compiled with -mabi=ibmlongdouble.
2297 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
2298 compiled with -mabi=ieeelongdouble.
2299 (FP128_CFLAGS_DECIMAL): New macro.
2300 (IBM128_CFLAGS_DECIMAL): New macro.
2301 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
2302 (BFP_TO_DFP): Add PowerPC _Float128 support.
2303 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
2304 IEEE 128-bit floating point.
2305 (DFP_TO_BFP): Add PowerPC _Float128 support.
2306 (BFP_TO_DFP): Add PowerPC _Float128 support.
2307 (BFP_SPRINTF): New macro.
2308
2309 2021-01-27 Jakub Jelinek <jakub@redhat.com>
2310
2311 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
2312 * config/i386/savms64f.h: Likewise.
2313 * config/i386/resms64.h: Likewise.
2314 * config/i386/resms64f.h: Likewise.
2315 * config/i386/resms64x.h: Likewise.
2316 * config/i386/resms64fx.h: Likewise.
2317
2318 2021-01-26 Martin Liska <mliska@suse.cz>
2319
2320 PR gcov-profile/98739
2321 * libgcov.h (gcov_topn_add_value): Do not train when
2322 we have a merged profile with a negative number of total
2323 value.
2324
2325 2021-01-25 Martin Liska <mliska@suse.cz>
2326
2327 PR gcov-profile/98739
2328 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
2329 ends with a dropped counter.
2330 * libgcov.h (gcov_topn_add_value): Add return value.
2331
2332 2021-01-13 Stafford Horne <shorne@gmail.com>
2333
2334 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
2335 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
2336 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
2337 FP_EX_ALL): New constant macros.
2338 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
2339 FP_HANDLE_EXCEPTIONS): New macros.
2340 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
2341
2342 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
2343
2344 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
2345 posix siginfo case to struct handler_args. Detect between legacy
2346 and siginfo from the second parameter, which is a small sigcode in
2347 the legacy case, and a pointer in the siginfo case.
2348
2349 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
2350
2351 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
2352 functions.
2353 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
2354 _bswapdi2.
2355
2356 2020-12-08 Ian Lance Taylor <iant@golang.org>
2357
2358 * generic-morestack-thread.c (free_segments): Block signals during
2359 thread exit.
2360
2361 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
2362
2363 PR libgcc/97543
2364 PR libgcc/97643
2365 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
2366 (IBM128_SHARED_OBJS): New make variable.
2367 (IBM128_OBJS): New make variable. Set all objects to use the
2368 explicit IBM format, and disable gnu attributes.
2369 (IBM128_CFLAGS): New make variable.
2370 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
2371 modules.
2372
2373 2020-12-03 Alexandre Oliva <oliva@adacore.com>
2374
2375 * config/t-vxworks (LIB2ADD): Drop.
2376 * config/t-vxworks7 (LIB2ADD): Likewise.
2377 * config/vxcache.c: Remove.
2378
2379 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
2380
2381 * libgcc2.c (bswapsi2): Make constants unsigned.
2382
2383 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
2384
2385 * libgcc2.c (absvSI2): Simplify/improve implementation by using
2386 builtin_add_overflow.
2387 (absvsi2, absvDI2): Likewise.
2388
2389 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
2390
2391 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
2392 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
2393
2394 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2395
2396 * config/msp430/lib2hw_mul.S (mult64_hw): New.
2397 (if MUL_32): Use mult64_hw for __muldi3.
2398 (if MUL_F5): Use mult64_hw for __muldi3.
2399 * config/msp430/lib2mul.c (__muldi3): New.
2400 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
2401
2402 2020-11-17 Alan Modra <amodra@gmail.com>
2403
2404 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
2405 (LIB2_SIDITI_CONV_FUNCS): Define.
2406 * config/rs6000/ppc64-fp.c: Delete file.
2407
2408 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2409
2410 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
2411 hwmult library functions.
2412
2413 2020-11-10 Jeff Law <law@redhat.com>
2414
2415 * libgcc2.c: Fix whitespace issues in most recent change.
2416
2417 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
2418
2419 * libgcc2.c (__addvSI3): Use overflow builtins.
2420 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
2421 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
2422 (__negvsi2, __negvDI2): Likewise.
2423 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
2424 generated code.
2425 * libgcc2.h (__ucmpdi2): Adjust prototype.
2426
2427 2020-11-03 Pat Bernardi <bernardi@adacore.com>
2428 Olivier Hainque <hainque@adacore.com>
2429
2430 * config.host (aarch64-vxworks7*, tmake_file): Add
2431 ${cpu_type}/t-lse and t-slibgcc-libgcc.
2432
2433 2020-11-03 Martin Storsjö <martin@martin.st>
2434
2435 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
2436 before calling the callback.
2437
2438 2020-10-30 Olivier Hainque <hainque@adacore.com>
2439 Douglas Rupp <rupp@adacore.com>
2440 Pat Bernardi <bernardi@adacore.com>
2441
2442 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
2443 to apply to VxWorks 7 as well.
2444
2445 2020-10-29 Olivier Hainque <hainque@adacore.com>
2446
2447 * config/gthr-vxworks-tls.c: Fix preprocessor logic
2448 controlling the definition of VX_ENTER_TLS_DTOR and
2449 VX_LEAVE_TLS_DTOR based on a version major check.
2450
2451 2020-10-29 Olivier Hainque <hainque@adacore.com>
2452
2453 * config/gthr-vxworks-thread.c: Fix name of macro used
2454 to condition the inclusion of an actual implementation.
2455
2456 2020-10-27 Martin Liska <mliska@suse.cz>
2457
2458 PR gcov-profile/97461
2459 * libgcov.h (gcov_counter_add): Use first static counters
2460 as it should help to have malloc wrappers set up.
2461
2462 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2463
2464 * config/gthr-vxworks-thread.c: #include gthr.h before
2465 testing the guard defined there.
2466 * config/gthr-vxworks-cond.c: Likewise.
2467
2468 2020-10-21 Douglas Rupp <rupp@adacore.com>
2469 Olivier Hainque <hainque@adacore.com>
2470
2471 * config.host (powerpc*-wrs-vxworks7*): New case.
2472 * configure.ac: Handle powerpc*-*-vxworks7* as
2473 powerpc*-*-linux* for ppc-fp_type.
2474 * configure: Regenerate.
2475
2476 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2477
2478 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
2479 section on VxWorks >= 6.
2480 * config/gthr-vxworks-thread.c: Condition the entire
2481 implementation on __GTHREAD_CXX0X.
2482
2483 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2484
2485 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
2486 section on VxWorks >= 6.
2487 * config/gthr-vxworks-cond.c: Condition the entire
2488 implementation on __GTHREAD_HAS_COND.
2489
2490 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2491
2492 * config/gthr-vxworks.c: #include <taskLib.h>.
2493
2494 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2495
2496 * config/gthr-vxworks.h: Rewrite remaining occurrence
2497 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
2498
2499 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2500 Olivier Hainque <hainque@adacore.com>
2501
2502 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
2503 except on VxWorks 6.
2504
2505 2020-10-16 Olivier Hainque <hainque@adacore.com>
2506
2507 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
2508
2509 2020-10-14 Alexandre Oliva <oliva@adacore.com>
2510
2511 * config/gthr-vxworks-thread.c: Include stdlib.h.
2512 (tls_delete_hook): Prototype it.
2513 (__gthread_cond_signal): Return early if no waiters. Consume
2514 signal in case the semaphore got full. Use semInfoGet instead
2515 of kernel-mode-only semInfo.
2516 (__gthread_cond_timedwait): Use semExchange. Always take the
2517 mutex again before returning.
2518 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
2519
2520 2020-10-14 Olivier Hainque <hainque@adacore.com>
2521
2522 * config/t-vxworks (LIBGCC2_INCLUDES): Append
2523 $(MULTISUBDIR) to the -I path for fixed headers, as we
2524 arrange to have different sets of such headers for different
2525 multilibs when they are activated.
2526 * config/t-vxworks7: Likewise.
2527
2528 2020-10-14 Olivier Hainque <hainque@adacore.com>
2529
2530 * config/t-vxworks: Add include-fixed to include search
2531 paths for libgcc on VxWorks.
2532 * config/t-vxworks7: Likewise.
2533
2534 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
2535
2536 PR target/97148
2537 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
2538 instead of <cetintrin.h>.
2539
2540 2020-10-01 Alan Modra <amodra@gmail.com>
2541
2542 * config/rs6000/morestack.S,
2543 * config/rs6000/tramp.S: Support __PCREL__ code.
2544
2545 2020-10-01 Alan Modra <amodra@gmail.com>
2546
2547 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
2548
2549 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
2550
2551 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
2552 variable.
2553
2554 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
2555
2556 * config/aarch64/libgcc-softfp.ver: New file.
2557 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
2558
2559 2020-09-27 Clement Chigot <clement.chigot@atos.net>
2560
2561 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
2562
2563 2020-09-22 Sergei Trofimovich <siarheit@google.com>
2564
2565 PR gcov-profile/96913
2566 * libgcov-driver.c (write_one_data): Avoid function pointer
2567 comparison in TOP streaming decision.
2568
2569 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
2570 Christophe Lyon <christophe.lyon@linaro.org>
2571
2572 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
2573 qualifier.
2574 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
2575 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
2576 missing prototypes.
2577
2578 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
2579
2580 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
2581 unused variable warning.
2582
2583 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
2584
2585 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
2586
2587 2020-09-09 Tom de Vries <tdevries@suse.de>
2588
2589 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
2590 Wbuiltin-declaration-mismatch.
2591
2592 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2593
2594 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
2595 * config/msp430/srai.S (__gnu_mspabi_srap): New.
2596 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
2597
2598 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
2599
2600 * config/nvptx/atomic.c: New.
2601 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
2602
2603 2020-08-03 Ian Lance Taylor <iant@golang.org>
2604
2605 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
2606
2607 2020-08-03 Jakub Jelinek <jakub@redhat.com>
2608
2609 PR target/96402
2610 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
2611 of x(tmp0), x(tmp1) in STXP arguments.
2612
2613 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
2614
2615 * config/riscv/save-restore.S [__riscv_xlen == 64]
2616 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
2617 (__riscv_save_2): Replace negative immediates used for the final
2618 stack pointer adjustment with positive ones, right-shifted by 4.
2619
2620 2020-07-31 Martin Liska <mliska@suse.cz>
2621
2622 * libgcov-driver.c: Add __gcov_kvp_pool
2623 and __gcov_kvp_pool_index variables.
2624 * libgcov.h (allocate_gcov_kvp): New.
2625 (gcov_topn_add_value): Use it.
2626
2627 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2628
2629 * config/aarch64/lse.S: Add PAC property note.
2630
2631 2020-07-23 Martin Liska <mliska@suse.cz>
2632
2633 PR gcov-profile/96035
2634 * libgcov-driver-system.c: Create gcov folders with 0777
2635 so that it respects a system umask.
2636
2637 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
2638
2639 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2640
2641 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2642
2643 PR target/94891
2644 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2645 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2646 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2647 (MD_DEMANGLE_RETURN_ADDR): This.
2648 (aarch64_post_extract_frame_addr): Rename to ...
2649 (aarch64_demangle_return_addr): This.
2650 (aarch64_post_frob_eh_handler_addr): Remove.
2651 * unwind-dw2.c (uw_update_context): Demangle return address.
2652 (uw_frob_return_addr): Remove.
2653
2654 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2655
2656 PR target/96001
2657 * config/aarch64/lse.S: Add BTI marking and related definitions,
2658 and add BTI c to function entries.
2659
2660 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2661
2662 * config/aarch64/lse.S: Add stack note.
2663
2664 2020-07-02 Martin Liska <mliska@suse.cz>
2665
2666 PR gcov-profile/95348
2667 * libgcov-driver.c (merge_one_data): Merge only profiles
2668 that are not of non-zero type.
2669 (write_one_data): Write counters only if there's one non-zero
2670 value.
2671 * libgcov-util.c (tag_function): Change signature from unsigned
2672 to int.
2673 (tag_blocks): Likewise.
2674 (tag_arcs): Likewise.
2675 (tag_counters): Likewise.
2676 (tag_summary): Likewise.
2677 (tag_lines): Read only if COUNTERS is non-zero.
2678 (read_gcda_file): Handle negative length for COUNTERS type.
2679
2680 2020-06-25 Martin Liska <mliska@suse.cz>
2681
2682 * libgcov-driver.c (merge_summary): Remove function as its name
2683 is misleading and doing something different.
2684 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2685 in gcov-tool.
2686 * libgcov-util.c (curr_object_summary): Remove.
2687 (read_gcda_file): Remove unused curr_object_summary.
2688 (gcov_merge): Merge summaries.
2689 * libgcov.h: Add summary argument for gcov_info struct.
2690
2691 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
2692
2693 PR target/95259
2694 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
2695 "common/config/i386/i386-cpuinfo.h" and
2696 "common/config/i386/cpuinfo.h".
2697 (__cpu_features2): Changed to array.
2698 (get_amd_cpu): Removed.
2699 (get_intel_cpu): Likewise.
2700 (get_available_features): Likewise.
2701 (__cpu_indicator_init): Call cpu_indicator_init.
2702 * config/i386/cpuinfo.h: Removed.
2703
2704 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
2705
2706 * Makefile.in: Remove uses of empty.mk. Use -include.
2707 * config/avr/t-avr: Use -include.
2708 * empty.mk: Delete.
2709
2710 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
2711
2712 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2713 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2714 and 64 bit with -maix64.
2715 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2716 Build and install AIX-style FAT libraries.
2717
2718 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
2719
2720 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2721 'i386/gnu-unwind.h'
2722 * config/i386/gnu-unwind.h: New file.
2723
2724 2020-06-17 Martin Liska <mliska@suse.cz>
2725
2726 * libgcov-util.c (read_gcda_finalize): Remove const operator.
2727 (merge_wrapper): Add both counts and use them properly.
2728 (topn_to_memory_representation): New function.
2729 (gcov_merge): Covert on disk representation to in memory
2730 representation.
2731 * libgcov.h: Remove const operator.
2732
2733 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
2734
2735 * configure: Regenerate.
2736 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2737 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2738
2739 2020-06-09 Martin Liska <mliska@suse.cz>
2740
2741 PR gcov-profile/95494
2742 * libgcov-driver.c (write_top_counters): Cast first to
2743 intptr_t as sizeof(*) != sizeof(gcov_type).
2744 * libgcov.h (gcov_counter_set_if_null): Remove.
2745 (gcov_topn_add_value): Cast first to intptr_t and update
2746 linked list directly.
2747
2748 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
2749
2750 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2751 with uw_install_context_1.
2752
2753 2020-06-04 Andreas Schwab <schwab@suse.de>
2754
2755 PR target/59230
2756 PR libfortran/59227
2757 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2758 soft-fp/divtf3.c.
2759 (LIB2ADD): Add config/ia64/divtf3.c.
2760 * config/ia64/divtf3.c: New file.
2761
2762 2020-06-03 Martin Liska <mliska@suse.cz>
2763
2764 PR gcov-profile/95480
2765 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2766 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2767 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2768 (gcov_counter_set_if_null): Likewise.
2769
2770 2020-06-02 Jim Wilson <jimw@sifive.com>
2771
2772 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2773 to bgtz.
2774
2775 2020-06-02 Martin Liska <mliska@suse.cz>
2776
2777 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2778 of xmalloc.
2779
2780 2020-06-02 Martin Liska <mliska@suse.cz>
2781
2782 * libgcov-driver.c (prune_topn_counter): Remove.
2783 (prune_counters): Likewise.
2784 (merge_one_data): Special case TOP N counters
2785 as they have variable length.
2786 (write_top_counters): New.
2787 (write_one_data): Special case TOP N.
2788 (dump_one_gcov): Do not prune TOP N counters.
2789 * libgcov-merge.c (merge_topn_values_set): Remove.
2790 (__gcov_merge_topn): Use gcov_topn_add_value.
2791 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2792 Likewise here.
2793 * libgcov.h (gcov_counter_add): New.
2794 (gcov_counter_set_if_null): Likewise.
2795 (gcov_topn_add_value): New.
2796
2797 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
2798
2799 * config/i386/sfp-exceptions.c (struct fenv):
2800 Add __attribute__ ((gcc_struct)).
2801
2802 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
2803
2804 PR bootstrap/95413
2805 * configure: Regenerated.
2806
2807 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
2808
2809 PR gcov-profile/95332
2810 * libgcov-util.c (read_gcda_file): Call gcov_magic.
2811 * libgcov.h (gcov_magic): Disable GCC poison.
2812
2813 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
2814
2815 PR target/95212
2816 * config/i386/cpuinfo.h (processor_features): Move
2817 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2818
2819 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
2820
2821 PR target/91695
2822 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2823 check.
2824
2825 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
2826
2827 PR target/95212
2828 PR target/95220
2829 * config/i386/cpuinfo.c (get_available_features): Fix
2830 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
2831 * config/i386/cpuinfo.h (processor_features): Add
2832 FEATURE_AVX512VP2INTERSECT.
2833
2834 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
2835
2836 PR bootstrap/95147
2837 * configure: Regenerated.
2838
2839 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
2840
2841 * configure: Regenerated.
2842
2843 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
2844
2845 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2846 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2847
2848 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
2849
2850 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2851 (__math_force_eval_div): New define.
2852 (__sfp_handle_exceptions): Use __math_force_eval_div to use
2853 generic division to generate INVALID, DIVZERO and INEXACT
2854 exceptions.
2855
2856 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2857
2858 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2859 instead of getauxval.
2860 (AT_HWCAP): Define.
2861 (HWCAP_ATOMICS): Define.
2862 Guard detection on __gnu_linux__.
2863
2864 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
2865
2866 * config.host: Delete changes meant for a private branch.
2867 * config/rs6000/t-float128: Likewise.
2868 * configure.ac: Likewise.
2869 * configure: Likewise.
2870
2871 2020-05-05 Martin Liska <mliska@suse.cz>
2872
2873 PR gcov-profile/93623
2874 * Makefile.in: Remove __gcov_flush.
2875 * gcov.h (__gcov_flush): Remove.
2876 * libgcov-interface.c (__gcov_flush): Remove.
2877 (init_mx): Use renamed mutex.
2878 (__gcov_lock): Likewise.
2879 (__gcov_unlock): Likewise.
2880 (__gcov_fork): Likewise.
2881 (__gcov_flush): Remove.
2882
2883 2020-05-05 Martin Liska <mliska@suse.cz>
2884
2885 PR gcov-profile/93623
2886 * libgcov-interface.c (__gcov_fork): Do not flush
2887 and reset only in child process.
2888 (__gcov_execl): Dump counters only and reset them
2889 only if exec* fails.
2890 (__gcov_execlp): Likewise.
2891 (__gcov_execle): Likewise.
2892 (__gcov_execv): Likewise.
2893 (__gcov_execvp): Likewise.
2894 (__gcov_execve): Likewise.
2895
2896 2020-05-05 Martin Liska <mliska@suse.cz>
2897
2898 PR gcov-profile/93623
2899 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2900 * libgcov-interface.c (ALIAS_void_fn): Remove.
2901 (__gcov_lock): New.
2902 (__gcov_unlock): New.
2903 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2904 (__gcov_reset): Likewise.
2905 (__gcov_dump): Likewise.
2906 * libgcov.h (__gcov_lock): New declaration.
2907 (__gcov_unlock): Likewise.
2908
2909 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
2910
2911 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
2912 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
2913 generic division to generate INVALID and DIVZERO exceptions.
2914
2915 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
2916
2917 * config/rs6000/crtresfpr.S: Use .machine ppc.
2918 * config/rs6000/crtresxfpr.S: Likewise.
2919 * config/rs6000/crtsavfpr.S: Likewise.
2920
2921 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2922
2923 PR target/94514
2924 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2925 Update context->flags accroding to the frame state.
2926
2927 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
2928
2929 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2930 Remove unneeded assignments to volatile memory.
2931
2932 2020-04-15 Jakub Jelinek <jakub@redhat.com>
2933
2934 PR target/93053
2935 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2936 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2937 is not defined, use just .arch armv8-a.
2938 (B, M, N, OPN): Define.
2939 (COMMENT): New .macro.
2940 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2941 defined. Otherwise, move the operands right after the glue? and
2942 comment out operands where the macros are used.
2943 * configure: Regenerated.
2944 * config.in: Regenerated.
2945
2946 2020-04-07 Ian Lance Taylor <iant@golang.org>
2947
2948 PR libgcc/94513
2949 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2950 syscall instead.
2951
2952 2020-04-04 Ian Lance Taylor <iant@golang.org>
2953
2954 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2955
2956 2020-04-03 Ian Lance Taylor <iant@golang.org>
2957
2958 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2959 than mmap/munmap, to avoid hooks.
2960
2961 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
2962
2963 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2964 (TPFRA_OFFSET): Macros removed.
2965 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2966 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2967 (PG3_SKIPPING_OFFSET): New macros.
2968 (__isPATrange): Use cinfc_fast for the check.
2969 (__isSkipResetAddr): New function.
2970 (s390_fallback_frame_state): Check for skip trace addresses. Use
2971 either ICST_CRET or ICST_SRET to calculate return address
2972 location.
2973 (__tpf_eh_return): Handle skip trace addresses.
2974
2975 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
2976
2977 PR target/94220
2978 * config/arm/lib1funcs.asm (COND): Use a single definition for
2979 unified syntax.
2980 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2981 (aeabi_idivmod): Likewise.
2982 (divsi3_skip_div0_test): Likewise.
2983
2984 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
2985
2986 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2987
2988 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
2989
2990 * config.host: Include the new makefile fragment.
2991 * config/s390/t-tpf: New file.
2992
2993 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
2994
2995 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2996 syntax.
2997 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2998 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2999 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
3000 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
3001 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
3002 syntax.
3003 (divsi3, modsi3): Likewise.
3004 (clzdi2, ctzsi2): Likewise.
3005 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
3006 unified syntax.
3007 (UNWIND_WRAPPER): Likewise.
3008
3009 2020-03-02 Martin Liska <mliska@suse.cz>
3010
3011 * libgcov-interface.c: Remove duplicate
3012 declaration of __gcov_flush_mx.
3013
3014 2020-02-18 Martin Liska <mliska@suse.cz>
3015
3016 PR ipa/92924
3017 * libgcov-merge.c (merge_topn_values_set): Record
3018 when a TOP N counter becomes invalid. When merging
3019 remove a smallest value if the space is needed.
3020
3021 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
3022
3023 PR libstdc++/79193
3024 PR libstdc++/88999
3025
3026 * configure: Regenerated.
3027
3028 2020-02-10 Jeff Law <law@redhat.com>
3029
3030 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
3031 sections.
3032 * config/frv/frvend.c: Similarly.
3033
3034 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
3035
3036 PR libgcc/85334
3037 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3038 New.
3039
3040 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
3041
3042 PR target/93615
3043 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
3044 _Unwind_gnu_Find_got.
3045 * unwind-pe.h: Likewise.
3046
3047 2020-02-07 Jakub Jelinek <jakub@redhat.com>
3048
3049 PR target/93615
3050 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
3051 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
3052 trailing :s in asm. Formatting fixes.
3053 (_Unwind_decode_typeinfo_ptr): Adjust caller.
3054
3055 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
3056
3057 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
3058
3059 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
3060 * config/nios2-elf-lib.h: New.
3061 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
3062 code for finding GOT base for nios2.
3063
3064 2020-01-27 Martin Liska <mliska@suse.cz>
3065
3066 PR gcov-profile/93403
3067 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
3068 Call __gcov_indirect_call_profiler_body.
3069 (__gcov_indirect_call_profiler_body): New.
3070 (__gcov_indirect_call_profiler_v4_atomic): New.
3071 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
3072 New declaration.
3073
3074 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
3075
3076 * config/arc/crti.S: Add RF16 object attribute.
3077 * config/arc/crtn.S: Likewise.
3078 * config/arc/crttls.S: Likewise.
3079 * config/arc/lib1funcs.S: Likewise.
3080 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
3081 * config/arc/lib2funcs.c: New file.
3082 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
3083
3084 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
3085
3086 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
3087 * configure.ac: Handle `--with-toolexeclibdir='.
3088 * configure: Regenerate.
3089
3090 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
3091
3092 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
3093
3094 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
3095
3096 * config/mips/gnustack.h: New file.
3097 * config/mips/crti.S: Include gnustack.h.
3098 * config/mips/crtn.S: Likewise.
3099 * config/mips/mips16.S: Likewise.
3100 * config/mips/vr4120-div.S: Likewise.
3101
3102 2020-01-23 Martin Liska <mliska@suse.cz>
3103
3104 * libgcov-driver.c (prune_topn_counter): Remove
3105 check for -1 as we only prune run-time counters
3106 that do not generate an invalid state.
3107
3108 2020-01-22 Martin Liska <mliska@suse.cz>
3109
3110 PR tree-optimization/92924
3111 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
3112 try to find an existing value, then find an empty slot
3113 if not found.
3114
3115 2020-01-22 Martin Liska <mliska@suse.cz>
3116
3117 PR tree-optimization/92924
3118 * libgcov-driver.c (prune_topn_counter): New.
3119 (prune_counters): Likewise.
3120 (dump_one_gcov): Prune a run-time counter.
3121 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
3122 For a known value, add GCOV_TOPN_VALUES to value.
3123 Otherwise, decrement all counters by one.
3124
3125 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
3126
3127 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
3128
3129 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
3130
3131 PR libgcc/92988
3132 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
3133 DEFAULT_USE_CXA_ATEXIT is true.
3134
3135 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
3136 Thomas Preud'homme <thomas.preudhomme@arm.com>
3137
3138 * config/arm/t-arm: Check return value of gcc rather than lack of
3139 output.
3140
3141 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
3142
3143 * config/avr/lib1funcs.S (skip): Simplify.
3144
3145 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
3146
3147 * config/gcn/atomic.c: Remove include of stdint.h.
3148 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
3149 __UINTPTR_TYPE__.
3150
3151 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
3152
3153 * config/gcn/atomic.c: New.
3154 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
3155
3156 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
3157
3158 Implement 64-bit double functions.
3159
3160 PR target/92055
3161 * config.host (tmake_file) [target=avr]: Add t-libf7,
3162 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
3163 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
3164 depending on sizeof (double) or sizeof (long double).
3165 * config/avr/libf7: New folder.
3166
3167 2020-01-05 Olivier Hainque <hainque@adacore.com>
3168
3169 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
3170 by IN_LIBGCC2.
3171
3172 2020-01-01 Jakub Jelinek <jakub@redhat.com>
3173
3174 Update copyright years.
3175
3176 2019-12-30 Olivier Hainque <hainque@adacore.com>
3177
3178 * config/gthr-vxworks.h: Use _vxworks-versions.h.
3179 * config/gthr-vxworks-tls.c: Likewise.
3180
3181 2019-12-30 Olivier Hainque <hainque@adacore.com>
3182
3183 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
3184 standard zero-initializer syntax.
3185
3186 2019-12-30 Olivier Hainque <hainque@adacore.com>
3187
3188 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
3189 reference to the internal VX_GET_TLS_DATA interface.
3190
3191 2019-12-30 Olivier Hainque <hainque@adacore.com>
3192
3193 * config/vxcrtstuff.c: Fix incorrect spelling of
3194 USE_INITFINI_ARRAY in guard.
3195
3196 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3197
3198 * config.host: s/msp430*-*-elf/msp430-*-elf*.
3199 Override default "extra_parts" variable.
3200 * configure: Regenerate.
3201 * configure.ac: Disable TM clone registry by default for
3202 msp430-elfbare.
3203
3204 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3205
3206 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
3207 "extra_parts".
3208 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
3209
3210 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3211
3212 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
3213 true.
3214
3215 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3216
3217 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
3218 defined instead of its value.
3219
3220 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3221
3222 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
3223 if it will have contents.
3224
3225 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
3226
3227 PR target/92055
3228 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
3229
3230 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
3231
3232 PR libgcc/91737
3233 * config.host: Add t-gthr-noweak on *-*-musl*.
3234 * config/t-gthr-noweak: New file.
3235
3236 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
3237
3238 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
3239 volatile void *. Remove trap check.
3240 (__kernel_cmpxchg2): Likewise.
3241 (FETCH_AND_OP_2): Adjust operand types.
3242 (OP_AND_FETCH_2): Likewise.
3243 (FETCH_AND_OP_WORD): Likewise.
3244 (OP_AND_FETCH_WORD): Likewise.
3245 (COMPARE_AND_SWAP_2): Likewise.
3246 (__sync_val_compare_and_swap_4): Likewise.
3247 (__sync_bool_compare_and_swap_4): Likewise.
3248 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3249 (__sync_lock_test_and_set_4): Likewise.
3250 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
3251 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
3252 for release.
3253 (__sync_lock_release_8): Remove.
3254
3255 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
3256
3257 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
3258 of __sigset_t.
3259
3260 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
3261 Doug Rupp <rupp@adacore.com>
3262 Olivier Hainque <hainque@adacore.com>
3263
3264 * config.host: Collapse the arm-vxworks entries into
3265 a single arm-wrs-vxworks7* one.
3266 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
3267 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
3268 kernel modules, to be overriden by libstdc++ when we link with
3269 it. Rely on externally provided __exidx_start/end.
3270
3271 2019-11-14 Doug Rupp <rupp@adacore.com>
3272 Olivier Hainque <hainque@adacore.com>
3273
3274 * config.host: Handle aarch64*-wrs-vxworks7*.
3275
3276 2019-11-12 Olivier Hainque <hainque@adacore.com>
3277
3278 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
3279 sources except the cxx0x support to LIB2ADDEH. We don't support
3280 cxx0x on AE/653.
3281 * config/t-vxworksae: New file.
3282 * config.host: Handle *-*-vxworksae: Add the two aforementioned
3283 Makefile fragment files at their expected position in the tmake_file
3284 list, in accordance with what is done for other VxWorks variants.
3285
3286 2019-11-12 Corentin Gay <gay@adacore.com>
3287 Jerome Lambourg <lambourg@adacore.com>
3288 Olivier Hainque <hainque@adacore.com>
3289
3290 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
3291 sources to LIB2ADDEH.
3292 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
3293 * config/t-vxworks7: Likewise.
3294
3295 * config.host: Append a block at the end of the file to add the
3296 t-gthr files to the tmake_file list for VxWorks after everything
3297 else.
3298
3299 * config/vxlib.c: Rename as gthr-vxworks.c.
3300 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
3301
3302 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
3303 API and a basic error checking API, both internal. Simplify the
3304 __gthread_once_t type definition and initializers. Add sections
3305 for condition variables support and for the C++0x thread support,
3306 conditioned against Vx653 for the latter.
3307
3308 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
3309 implementation, leveraging the TAS internal API.
3310 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
3311 API, leveraging the general availability of TLS services in VxWorks7
3312 post SR6xxx.
3313 (__gthread_setspecific, __gthread_setspecific): Use it.
3314 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
3315 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
3316 support based on VxWorks primitives.
3317 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
3318 based on VxWorks primitives.
3319
3320 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
3321 Olivier Hainque <hainque@adacore.com>
3322
3323 * config/vxcrtstuff.c: New file.
3324 * config/t-vxcrtstuff: New Makefile fragment.
3325 * config.host: Append t-vxcrtstuff to the tmake_file list
3326 on all VxWorks ports using dwarf for table based EH.
3327
3328 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
3329
3330 Support 64-bit double and 64-bit long double configurations.
3331
3332 PR target/92055
3333 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
3334 long double is a 32-bit type.
3335 * config/avr/t-avrlibc: Copy double64 and long-double64
3336 multilib(s) from the vanilla one.
3337 * config/avr/t-copy-libgcc: New Makefile snip.
3338
3339 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3340
3341 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
3342 the target output object format is not ELF.
3343 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
3344
3345 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
3346
3347 PR libgcc/78804
3348 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
3349 * fp-bit.c (pack_d, unpack_d): Remove special cases for
3350 FLOAT_BIT_ORDER_MISMATCH.
3351 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
3352
3353 2019-11-01 Jim Wilson <jimw@sifive.com>
3354
3355 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
3356
3357 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3358
3359 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
3360 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
3361 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
3362 Define symbols for 32-bit and f5series hardware multiply
3363 register addresses.
3364 Replace hard-coded register addresses with symbols.
3365 Fix "_mspabi*" typo.
3366 Fix whitespace.
3367 * config/msp430/lib2mul.c: Add comment.
3368
3369 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
3370
3371 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
3372 unsigned int. Adjust callers.
3373 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
3374 unsigned int *. Load relocation offset before function pointer.
3375 Add barrier to ensure ordering.
3376
3377 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
3378
3379 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
3380 Load PIC register after branch target. Fix white space.
3381 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
3382 implementations. Load PIC register after branch target. Don't
3383 clobber function pointer when it points to function descriptor.
3384 Use nullification instead of branch in LINUX implementation.
3385
3386 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
3387
3388 * config/pa/fptr.c: Disable -Warray-bounds warning.
3389
3390 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
3391
3392 * config.in, configure: Re-rebuild with stock autoconf 2.69,
3393 not the ubuntu modified 2.69.
3394
3395 PR target/91833
3396 * config/aarch64/lse-init.c: Include auto-target.h. Disable
3397 initialization if !HAVE_SYS_AUXV_H.
3398 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
3399 * config.in, configure: Rebuild.
3400
3401 PR target/91834
3402 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
3403 overlap the inputs.
3404
3405 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
3406
3407 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
3408 CTR_EL0.IDC and CTR_EL0.DIC.
3409
3410 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
3411
3412 Revert:
3413 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3414 Mickaël Guêné <mickael.guene@st.com>
3415
3416 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3417 architecture.
3418
3419 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
3420
3421 * config/aarch64/lse-init.c: New file.
3422 * config/aarch64/lse.S: New file.
3423 * config/aarch64/t-lse: New file.
3424 * config.host: Add t-lse to all aarch64 tuples.
3425
3426 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3427 Mickaël Guêné <mickael.guene@st.com>
3428
3429 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3430 architecture.
3431
3432 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3433 Mickaël Guêné <mickael.guene@st.com>
3434
3435 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
3436 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
3437 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
3438 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
3439 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
3440 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
3441 (__gnu_personality_sigframe_fdpic): New.
3442 (get_eit_entry): Add FDPIC signal frame support.
3443
3444 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3445 Mickaël Guêné <mickael.guene@st.com>
3446
3447 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
3448 (__kernel_dmb): Likewise.
3449 (__fdpic_cmpxchg): New function.
3450 (__fdpic_dmb): New function.
3451 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
3452 (gnu_Unwind_Find_got): New function.
3453 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
3454 * unwind-arm-common.inc (UCB_PR_GOT): New.
3455 (funcdesc_t): New struct.
3456 (get_eit_entry): Add FDPIC support.
3457 (unwind_phase2): Likewise.
3458 (unwind_phase2_forced): Likewise.
3459 (__gnu_Unwind_RaiseException): Likewise.
3460 (__gnu_Unwind_Resume): Likewise.
3461 (__gnu_Unwind_Backtrace): Likewise.
3462 * unwind-pe.h (read_encoded_value_with_base): Likewise.
3463
3464 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3465 Mickaël Guêné <mickael.guene@st.com>
3466
3467 * libgcc/crtstuff.c: Add support for FDPIC.
3468
3469 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3470
3471 * config.host: Handle *-*-uclinuxfdpiceabi.
3472
3473 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
3474
3475 * config.host: Set cpu_type for bpf-*-* targets.
3476 * config/bpf/t-bpf: Likewise.
3477 * config/bpf/crtn.S: Likewise.
3478 * config/bpf/crti.S: New file.
3479
3480 2019-09-06 Jim Wilson <jimw@sifive.com>
3481
3482 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3483 (riscv*-*-freebsd*): Likewise.
3484
3485 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
3486
3487 * config.host: Remove references to spu.
3488 * config/spu/: Remove directory.
3489
3490 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3491
3492 PR target/91306
3493 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
3494 element type, instead of "sizeof" the element type.
3495 (__DTOR_LIST__): Likewise.
3496 (__TMC_LIST__): Likewise.
3497 (__do_global_dtors_aux_fini_array_entry): Likewise.
3498 (__frame_dummy_init_array_entry): Likewise.
3499 (__CTOR_END__): Likewise.
3500 (__DTOR_END__): Likweise.
3501 (__FRAME_END__): Likewise.
3502 (__TMC_END__): Likewise.
3503
3504 2019-08-20 Lili Cui <lilicui@intel.com>
3505
3506 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
3507 INTEL_COREI7_COOPERLAKE.
3508
3509 2019-07-31 Matt Thomas <matt@3am-software.com>
3510 Nick Hudson <nick@nthcliff.demon.co.uk>
3511 Matthew Green <mrg@eterna.com.au>
3512 Maya Rashish <coypu@sdf.org>
3513
3514 * config.host (hppa*-*-netbsd*): New case.
3515 * config/pa/t-netbsd: New file.
3516
3517 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
3518
3519 * config/arm/cmse.c (cmse_check_address_range): Add
3520 warn_unused_result attribute.
3521
3522 2019-07-22 Martin Liska <mliska@suse.cz>
3523
3524 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
3525 * config/pa/t-stublib: Likewise.
3526
3527 2019-07-22 Stafford Horne <shorne@gmail.com>
3528
3529 PR target/90362
3530 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
3531 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
3532 instructions are not available on every processor. Change a
3533 l.bnf to l.bf to fix logic issue.
3534
3535 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
3536
3537 * config.host: Remove reference to t-darwin8.
3538
3539 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
3540
3541 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
3542 list.
3543 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
3544 mmacosx-version-min for crts to run across all system versions.
3545 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
3546 * config/t-darwin: Revise mmacosx-version-min for crts to run across
3547 system versions >= 10.4.
3548
3549 2019-07-03 Martin Liska <mliska@suse.cz>
3550
3551 * Makefile.in: Use topn_values instead of one_value names.
3552 * libgcov-merge.c (__gcov_merge_single): Move to ...
3553 (__gcov_merge_topn): ... this.
3554 (merge_single_value_set): Move to ...
3555 (merge_topn_values_set): ... this.
3556 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
3557 ...
3558 (__gcov_topn_values_profiler_body): ... this.
3559 (__gcov_one_value_profiler_v2): Move to ...
3560 (__gcov_topn_values_profiler): ... this.
3561 (__gcov_one_value_profiler_v2_atomic): Move to ...
3562 (__gcov_topn_values_profiler_atomic): ... this.
3563 (__gcov_indirect_call_profiler_v4): Remove.
3564 * libgcov-util.c (__gcov_single_counter_op): Move to ...
3565 (__gcov_topn_counter_op): ... this.
3566 * libgcov.h (L_gcov_merge_single): Remove.
3567 (L_gcov_merge_topn): New.
3568 (__gcov_merge_single): Remove.
3569 (__gcov_merge_topn): New.
3570 (__gcov_one_value_profiler_v2): Move to ..
3571 (__gcov_topn_values_profiler): ... this.
3572 (__gcov_one_value_profiler_v2_atomic): Move to ...
3573 (__gcov_topn_values_profiler_atomic): ... this.
3574
3575 2019-07-03 Martin Liska <mliska@suse.cz>
3576
3577 * libgcov-merge.c (merge_single_value_set): Support N values.
3578 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
3579
3580 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
3581
3582 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
3583 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
3584 * configure.ac: Add --disable-tm-clone-registry option.
3585 * configure: Regenerate.
3586
3587 2019-06-27 Martin Liska <mliska@suse.cz>
3588
3589 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
3590 dead assignments.
3591 * libgcov-util.c: Likewise.
3592
3593 2019-06-27 Martin Liska <mliska@suse.cz>
3594
3595 * libgcov-util.c (gcov_profile_merge): Release allocated
3596 memory.
3597 (calculate_overlap): Likewise.
3598
3599 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
3600
3601 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
3602 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
3603 Build objects for the out of line save/restore register functions
3604 so that they can be used for any supported Darwin version.
3605 * config/t-darwin: Default the build Darwin version to Darwin8
3606 (MacOS 10.4).
3607
3608 2019-06-25 Martin Liska <mliska@suse.cz>
3609
3610 * libgcov-driver-system.c (replace_filename_variables): Do not
3611 call strlen with NULL argument.
3612
3613 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
3614
3615 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
3616 * config/gcn/unwind-gcn.c: New file.
3617
3618 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
3619 Andrew Stubbs <ams@codesourcery.com>
3620
3621 * configure: Regenerate.
3622 * config/gcn/gthr-gcn.h: New.
3623
3624 2019-06-18 Tom de Vries <tdevries@suse.de>
3625
3626 * config/nvptx/crt0.c (__main): Declare.
3627
3628 2019-06-17 Matthew Green <mrg@eterna.com.au>
3629 Maya Rashish <coypu@sdf.org>
3630
3631 * config.host (aarch64*-*-netbsd*): New case.
3632
3633 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3634
3635 * config/msp430/slli.S (__mspabi_sllll): New library function for
3636 performing a logical left shift of a 64-bit value.
3637 * config/msp430/srai.S (__mspabi_srall): New library function for
3638 performing a arithmetic right shift of a 64-bit value.
3639 * config/msp430/srll.S (__mspabi_srlll): New library function for
3640 performing a logical right shift of a 64-bit value.
3641
3642 2019-06-14 Matt Thomas <matt@3am-software.com>
3643 Matthew Green <mrg@eterna.com.au>
3644 Nick Hudson <skrll@netbsd.org>
3645 Maya Rashish <coypu@sdf.org>
3646
3647 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3648 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3649 functions to build.
3650 * config/arm/t-netbsd-eabi: New file.
3651
3652 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
3653
3654 * config.host: Add PRU target.
3655 * config/pru/asri.c: New file.
3656 * config/pru/eqd.c: New file.
3657 * config/pru/eqf.c: New file.
3658 * config/pru/ged.c: New file.
3659 * config/pru/gef.c: New file.
3660 * config/pru/gtd.c: New file.
3661 * config/pru/gtf.c: New file.
3662 * config/pru/led.c: New file.
3663 * config/pru/lef.c: New file.
3664 * config/pru/lib2bitcountHI.c: New file.
3665 * config/pru/lib2divHI.c: New file.
3666 * config/pru/lib2divQI.c: New file.
3667 * config/pru/lib2divSI.c: New file.
3668 * config/pru/libgcc-eabi.ver: New file.
3669 * config/pru/ltd.c: New file.
3670 * config/pru/ltf.c: New file.
3671 * config/pru/mpyll.S: New file.
3672 * config/pru/pru-abi.h: New file.
3673 * config/pru/pru-asm.h: New file.
3674 * config/pru/pru-divmod.h: New file.
3675 * config/pru/sfp-machine.h: New file.
3676 * config/pru/t-pru: New file.
3677
3678 2019-06-11 Jakub Jelinek <jakub@redhat.com>
3679
3680 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3681
3682 2019-06-10 Martin Liska <mliska@suse.cz>
3683
3684 PR bootstrap/90808
3685 * libgcov.h: Add ATTRIBUTE_UNUSED.
3686
3687 2019-06-10 Martin Liska <mliska@suse.cz>
3688
3689 * Makefile.in: Add __gcov_one_value_profiler_v2,
3690 __gcov_one_value_profiler_v2_atomic and
3691 __gcov_indirect_call_profiler_v4.
3692 * libgcov-merge.c (__gcov_merge_single): Change
3693 function signature.
3694 (merge_single_value_set): New.
3695 * libgcov-profiler.c (__gcov_one_value_profiler_body):
3696 Update functionality.
3697 (__gcov_one_value_profiler): Remove.
3698 (__gcov_one_value_profiler_v2): ... this.
3699 (__gcov_one_value_profiler_atomic): Rename to ...
3700 (__gcov_one_value_profiler_v2_atomic): this.
3701 (__gcov_indirect_call_profiler_v3): Rename to ...
3702 (__gcov_indirect_call_profiler_v4): ... this.
3703 * libgcov.h (__gcov_one_value_profiler): Remove.
3704 (__gcov_one_value_profiler_atomic): Remove.
3705 (__gcov_one_value_profiler_v2_atomic): New.
3706 (__gcov_indirect_call_profiler_v3): Remove.
3707 (__gcov_one_value_profiler_v2): New.
3708 (__gcov_indirect_call_profiler_v4): New.
3709 (gcov_get_counter_ignore_scaling): New function.
3710
3711 2019-06-07 Martin Liska <mliska@suse.cz>
3712
3713 * Makefile.in: Remove usage of
3714 _gcov_merge_icall_topn.
3715 * libgcov-driver.c (gcov_sort_n_vals): Remove.
3716 (gcov_sort_icall_topn_counter): Likewise.
3717 (gcov_sort_topn_counter_arrays): Likewise.
3718 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3719 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3720 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3721 Likewise.
3722 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3723 (struct indirect_call_tuple): Remove.
3724 (__gcov_indirect_call_topn_profiler): Remove.
3725 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3726 * libgcov.h (gcov_sort_n_vals): Remove.
3727 (L_gcov_merge_icall_topn): Likewise.
3728 (__gcov_merge_icall_topn): Likewise.
3729 (__gcov_indirect_call_topn_profiler): Likewise.
3730
3731 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
3732
3733 * config/rs6000/t-darwin: Ensure that the unwinder is built with
3734 altivec enabled.
3735
3736 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3737
3738 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3739 section.
3740 (__mspabi_slli): Likewise.
3741 (__mspabi_slll_n): Likewise.
3742 (__mspabi_slll): Likewise.
3743 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3744 (__mspabi_srai): Likewise.
3745 (__mspabi_sral_n): Likewise.
3746 (__mspabi_sral): Likewise.
3747 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3748 (__mspabi_srli): Likewise.
3749 (__mspabi_srll_n): Likewise.
3750 (__mspabi_srll): Likewise.
3751
3752 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
3753
3754 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3755 Add appropriate tm_file clause as well.
3756 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3757
3758 2019-06-05 James Clarke <jrtc27@jrtc27.com>
3759
3760 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3761 rather than .data/.bss so it can be accessed via gp-relative
3762 addressing.
3763
3764 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
3765
3766 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3767 (CR2_REGNO): Rename to R_CR2.
3768 (XER_REGNO): Rename to R_XER.
3769 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3770 (VRSAVE_REGNO): Rename to R_VRSAVE.
3771 (VSCR_REGNO): R_VSCR.
3772
3773 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
3774
3775 * config.host (rx-*-linux*): Add new case.
3776 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3777
3778 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
3779
3780 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3781 function.
3782 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3783 aarch64_post_frob_eh_handler_addr): Add check for b-key.
3784 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3785 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3786 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3787 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3788 string.
3789 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3790 string.
3791 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3792
3793 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3794
3795 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3796 Remove Solaris 9 and 10 support.
3797 (sparc_is_sighandler): Likewise.
3798
3799 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
3800
3801 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3802
3803 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
3804
3805 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3806 4_FP_W_TYPEs are used for IEEE quad precision.
3807 * soft-fp/extendhftf2.c: Likewise.
3808 * soft-fp/extendsftf2.c: Likewise.
3809 * soft-fp/extendxftf2.c: Likewise.
3810 * soft-fp/trunctfdf2.c: Likewise.
3811 * soft-fp/trunctfhf2.c: Likewise.
3812 * soft-fp/trunctfsf2.c: Likewise.
3813 * soft-fp/trunctfxf2.c: Likewise.
3814 * config/rs6000/ibm-ldouble.c: Likewise.
3815
3816 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3817
3818 * config.host: Simplify various *-*-solaris2.1[0-9]* to
3819 *-*-solaris2*.
3820 * configure.ac: Likewise.
3821 * configure: Regenerate.
3822
3823 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3824 Solaris 10 and Solaris 11 < snv_125 handling.
3825
3826 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
3827
3828 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3829
3830 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
3831
3832 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3833 * config/i386/cpuinfo.h (enum processor_features): Add
3834 FEATURE_AVX512BF16.
3835
3836 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3837 Bernd Edlinger <bernd.edlinger@hotmail.de>
3838 Jakub Jelinek <jakub@redhat.com>
3839
3840 PR target/89093
3841 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3842 * config/arm/unwind-arm.c: Likewise.
3843 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3844 attribute for ARM.
3845
3846 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
3847
3848 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3849 (RT_SIGRETURN): Update.
3850 (nds32_fallback_frame_state): Update.
3851
3852 2019-02-21 Martin Sebor <msebor@redhat.com>
3853
3854 * libgcc2.h (__clear_cache): Correct signature.
3855 * libgcc2.c (__clear_cache): Same.
3856
3857 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
3858
3859 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3860 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3861
3862 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
3863
3864 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3865 regno instead of index to DWARF_ZERO_REG.
3866
3867 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
3868
3869 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3870 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3871
3872 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
3873
3874 * config/alpha/t-linux: Add -mfp-rounding-mode=d
3875 to HOST_LIBGCC2_CFLAGS.
3876
3877 2019-01-23 Joseph Myers <joseph@codesourcery.com>
3878
3879 PR libgcc/88931
3880 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
3881
3882 2019-01-18 Martin Liska <mliska@suse.cz>
3883
3884 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3885 to ...
3886 (__gcov_indirect_call_profiler_v3): ... this.
3887 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3888 (__gcov_indirect_call_profiler_v3): Likewise.
3889 * Makefile.in: Bump function name.
3890
3891 2019-01-18 Martin Liska <mliska@suse.cz>
3892
3893 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3894 (gcov_version): Use in gcov_error.
3895 (merge_one_data): Likewise.
3896 (dump_one_gcov): Likewise.
3897
3898 2019-01-18 Martin Liska <mliska@suse.cz>
3899
3900 * libgcov-driver.c (gcov_version_string): New function.
3901 (gcov_version): Convert version integer into string.
3902
3903 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
3904 Kwok Cheung Yeung <kcy@codesourcery.com>
3905 Julian Brown <julian@codesourcery.com>
3906 Tom de Vries <tom@codesourcery.com>
3907
3908 * config.host: Recognize amdgcn*-*-amdhsa.
3909 * config/gcn/crt0.c: New file.
3910 * config/gcn/lib2-divmod-hi.c: New file.
3911 * config/gcn/lib2-divmod.c: New file.
3912 * config/gcn/lib2-gcn.h: New file.
3913 * config/gcn/sfp-machine.h: New file.
3914 * config/gcn/t-amdgcn: New file.
3915
3916 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
3917
3918 PR other/16615
3919
3920 * config/c6x/libunwind.S: Mechanically replace "can not" with
3921 "cannot".
3922 * config/tilepro/atomic.h: Likewise.
3923 * config/vxlib-tls.c: Likewise.
3924 * generic-morestack-thread.c: Likewise.
3925 * generic-morestack.c: Likewise.
3926 * mkmap-symver.awk: Likewise.
3927
3928 2019-01-01 Jakub Jelinek <jakub@redhat.com>
3929
3930 Update copyright years.
3931
3932 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3933
3934 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3935 to ignore -Waddress-of-packed-member.
3936
3937 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
3938
3939 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3940 parameter and corresponding code.
3941 (ARM_FUNC_START): Likewise in both definitions.
3942 Also update footer comment about condition that need to match with
3943 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3944 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3945 defined. Weakly define it in this case.
3946 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3947 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3948 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3949 comment to keep condition in sync with the one in
3950 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3951
3952 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
3953
3954 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3955 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3956
3957 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3958
3959 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3960 and .cfi_endproc directives for VxWorks targets.
3961
3962 2018-12-05 Paul Koning <ni1d@arrl.net>
3963
3964 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3965
3966 2018-11-27 Alan Modra <amodra@gmail.com>
3967
3968 * config/rs6000/morestack.S (__stack_split_initialize),
3969 (__morestack_get_guard, __morestack_set_guard),
3970 (__morestack_make_guard): Provide CFI covering these functions.
3971 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3972
3973 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3974
3975 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
3976 (sc_pt_regs_lr): Update for kernel.
3977 (sc_pt_regs_tls): Update for kernel.
3978
3979 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3980
3981 * config/csky/linux-unwind.h: Fix coding style.
3982
3983 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
3984
3985 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
3986 (csky_fallback_frame_state): Modify the check of the
3987 instructions to adapt to changes in the kernel
3988
3989 2018-11-09 Stafford Horne <shorne@gmail.com>
3990 Richard Henderson <rth@twiddle.net>
3991
3992 * config.host: Add OpenRISC support.
3993 * config/or1k/*: New.
3994
3995 2018-11-08 Kito Cheng <kito@andestech.com>
3996
3997 * soft-fp/adddf3.c: Update from glibc.
3998 * soft-fp/addsf3.c: Likewise.
3999 * soft-fp/addtf3.c: Likewise.
4000 * soft-fp/divdf3.c: Likewise.
4001 * soft-fp/divsf3.c: Likewise.
4002 * soft-fp/divtf3.c: Likewise.
4003 * soft-fp/double.h: Likewise.
4004 * soft-fp/eqdf2.c: Likewise.
4005 * soft-fp/eqsf2.c: Likewise.
4006 * soft-fp/eqtf2.c: Likewise.
4007 * soft-fp/extenddftf2.c: Likewise.
4008 * soft-fp/extended.h: Likewise.
4009 * soft-fp/extendhftf2.c: Likewise.
4010 * soft-fp/extendsfdf2.c: Likewise.
4011 * soft-fp/extendsftf2.c: Likewise.
4012 * soft-fp/extendxftf2.c: Likewise.
4013 * soft-fp/fixdfdi.c: Likewise.
4014 * soft-fp/fixdfsi.c: Likewise.
4015 * soft-fp/fixdfti.c: Likewise.
4016 * soft-fp/fixhfti.c: Likewise.
4017 * soft-fp/fixsfdi.c: Likewise.
4018 * soft-fp/fixsfsi.c: Likewise.
4019 * soft-fp/fixsfti.c: Likewise.
4020 * soft-fp/fixtfdi.c: Likewise.
4021 * soft-fp/fixtfsi.c: Likewise.
4022 * soft-fp/fixtfti.c: Likewise.
4023 * soft-fp/fixunsdfdi.c: Likewise.
4024 * soft-fp/fixunsdfsi.c: Likewise.
4025 * soft-fp/fixunsdfti.c: Likewise.
4026 * soft-fp/fixunshfti.c: Likewise.
4027 * soft-fp/fixunssfdi.c: Likewise.
4028 * soft-fp/fixunssfsi.c: Likewise.
4029 * soft-fp/fixunssfti.c: Likewise.
4030 * soft-fp/fixunstfdi.c: Likewise.
4031 * soft-fp/fixunstfsi.c: Likewise.
4032 * soft-fp/fixunstfti.c: Likewise.
4033 * soft-fp/floatdidf.c: Likewise.
4034 * soft-fp/floatdisf.c: Likewise.
4035 * soft-fp/floatditf.c: Likewise.
4036 * soft-fp/floatsidf.c: Likewise.
4037 * soft-fp/floatsisf.c: Likewise.
4038 * soft-fp/floatsitf.c: Likewise.
4039 * soft-fp/floattidf.c: Likewise.
4040 * soft-fp/floattihf.c: Likewise.
4041 * soft-fp/floattisf.c: Likewise.
4042 * soft-fp/floattitf.c: Likewise.
4043 * soft-fp/floatundidf.c: Likewise.
4044 * soft-fp/floatundisf.c: Likewise.
4045 * soft-fp/floatunditf.c: Likewise.
4046 * soft-fp/floatunsidf.c: Likewise.
4047 * soft-fp/floatunsisf.c: Likewise.
4048 * soft-fp/floatunsitf.c: Likewise.
4049 * soft-fp/floatuntidf.c: Likewise.
4050 * soft-fp/floatuntihf.c: Likewise.
4051 * soft-fp/floatuntisf.c: Likewise.
4052 * soft-fp/floatuntitf.c: Likewise.
4053 * soft-fp/gedf2.c: Likewise.
4054 * soft-fp/gesf2.c: Likewise.
4055 * soft-fp/getf2.c: Likewise.
4056 * soft-fp/half.h: Likewise.
4057 * soft-fp/ledf2.c: Likewise.
4058 * soft-fp/lesf2.c: Likewise.
4059 * soft-fp/letf2.c: Likewise.
4060 * soft-fp/muldf3.c: Likewise.
4061 * soft-fp/mulsf3.c: Likewise.
4062 * soft-fp/multf3.c: Likewise.
4063 * soft-fp/negdf2.c: Likewise.
4064 * soft-fp/negsf2.c: Likewise.
4065 * soft-fp/negtf2.c: Likewise.
4066 * soft-fp/op-1.h: Likewise.
4067 * soft-fp/op-2.h: Likewise.
4068 * soft-fp/op-4.h: Likewise.
4069 * soft-fp/op-8.h: Likewise.
4070 * soft-fp/op-common.h: Likewise.
4071 * soft-fp/quad.h: Likewise.
4072 * soft-fp/single.h: Likewise.
4073 * soft-fp/soft-fp.h: Likewise.
4074 * soft-fp/subdf3.c: Likewise.
4075 * soft-fp/subsf3.c: Likewise.
4076 * soft-fp/subtf3.c: Likewise.
4077 * soft-fp/truncdfsf2.c: Likewise.
4078 * soft-fp/trunctfdf2.c: Likewise.
4079 * soft-fp/trunctfhf2.c: Likewise.
4080 * soft-fp/trunctfsf2.c: Likewise.
4081 * soft-fp/trunctfxf2.c: Likewise.
4082 * soft-fp/unorddf2.c: Likewise.
4083 * soft-fp/unordsf2.c: Likewise.
4084 * soft-fp/unordtf2.c: Likewise.
4085
4086 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
4087
4088 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
4089 * config/i386/cpuinfo.h (processor_types): Add znver2.
4090
4091 2018-11-01 Paul Koning <ni1d@arrl.net>
4092
4093 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
4094 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
4095
4096 2018-10-31 Joseph Myers <joseph@codesourcery.com>
4097
4098 PR bootstrap/82856
4099 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
4100 * configure: Regenerate.
4101
4102 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
4103
4104 * config/arc/lib1funcs.S (_muldi3): New function.
4105 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
4106
4107 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4108
4109 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
4110
4111 2018-10-25 Martin Liska <mliska@suse.cz>
4112
4113 PR other/87735
4114 * libgcov-profiler.c: Revert.
4115
4116 2018-10-24 Martin Liska <mliska@suse.cz>
4117
4118 * libgcov-profiler.c: Start from 1 in order to distinguish
4119 functions which were seen and these that were not.
4120
4121 2018-10-18 Paul Koning <ni1d@arrl.net>
4122
4123 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
4124 standard.
4125 * divmod.c: Update references to __udivmodsi4.
4126 * udivmod.c: Ditto.
4127 * udivhi3.c: New file.
4128 * udivmodhi4.c: New file.
4129 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
4130
4131 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4132
4133 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
4134
4135 2018-10-12 Olivier Hainque <hainque@adacore.com>
4136
4137 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
4138 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
4139
4140 2018-10-08 Paul Koning <ni1d@arrl.net>
4141
4142 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
4143
4144 2018-10-04 Martin Liska <mliska@suse.cz>
4145
4146 PR gcov-profile/84107
4147 * libgcov-profiler.c (__gcov_indirect_call):
4148 Change type to indirect_call_tuple.
4149 (struct indirect_call_tuple): New struct.
4150 (__gcov_indirect_call_topn_profiler): Change type.
4151 (__gcov_indirect_call_profiler_v2): Use the new
4152 variables.
4153 * libgcov.h (struct indirect_call_tuple): New struct
4154 definition.
4155
4156 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
4157
4158 * libgcc2.c (isnan): Use __builtin_isnan.
4159 (isfinite): Use __builtin_isfinite.
4160 (isinf): Use __builtin_isinf.
4161
4162 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
4163
4164 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
4165
4166 2018-09-21 Alexandre Oliva <oliva@adacore.com>
4167
4168 * config/vxcache.c: New file. Provide __clear_cache, based on
4169 the cacheTextUpdate VxWorks service.
4170 * config/t-vxworks (LIB2ADD): Add vxcache.c.
4171 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
4172 * config/t-vxwoks7: Likewise.
4173
4174 2018-09-21 Martin Liska <mliska@suse.cz>
4175
4176 * libgcov-driver.c (crc32_unsigned): Remove.
4177 (gcov_histogram_insert): Likewise.
4178 (gcov_compute_histogram): Likewise.
4179 (compute_summary): Simplify rapidly.
4180 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
4181 (merge_summary): Rapidly simplify.
4182 (dump_one_gcov): Ignore gcov_summary.
4183 (gcov_do_dump): Do not handle program summary, it's not
4184 used.
4185 * libgcov-util.c (tag_summary): Remove.
4186 (read_gcda_finalize): Fix coding style.
4187 (read_gcda_file): Initialize curr_object_summary.
4188 (compute_summary): Remove.
4189 (calculate_overlap): Remove settings of run_max.
4190
4191 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
4192
4193 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
4194 ucontext_t type instead.
4195 (nds32_fallback_frame_state): Remove struct _sigframe statement.
4196
4197 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
4198
4199 * config/nds32/t-nds32-glibc: New file.
4200
4201 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4202
4203 * configure.ac (solaris_ld_v2_maps): New test.
4204 * configure: Regenerate.
4205 * Makefile.in (solaris_ld_v2_maps): New variable.
4206 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
4207 if supported.
4208
4209 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
4210
4211 PR target/86951
4212 * config/arm/lib1funcs.asm (speculation_barrier): New function.
4213 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
4214 to build.
4215
4216 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
4217
4218 * config/unwind-dw2-fde-darwin.c
4219 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
4220 * config/darwin10-unwind-find-enc-func.c: … to here.
4221 * config/t-darwin: Build Darwin10 unwinder shim crt.
4222 * libgcc/config.host: Add the Darwin10 unwinder shim.
4223
4224 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4225
4226 * config.host: Add crtbegin.o and crtend.o for
4227 powerpc-wrs-vxworks target.
4228
4229 2018-08-17 Jojo <jijie_rong@c-sky.com>
4230 Huibin Wang <huibin_wang@c-sky.com>
4231 Sandra Loosemore <sandra@codesourcery.com>
4232 Chung-Lin Tang <cltang@codesourcery.com>
4233
4234 C-SKY port: libgcc
4235
4236 * config.host: Add C-SKY support.
4237 * config/csky/*: New.
4238
4239 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
4240
4241 * config/nds32/t-nds32-isr: Rearrange object dependency.
4242 * config/nds32/initfini.c: Add dwarf2 unwinding support.
4243 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
4244 and registers usage.
4245 * config/nds32/isr-library/excp_isr.S: Ditto.
4246 * config/nds32/isr-library/intr_isr.S: Ditto.
4247 * config/nds32/isr-library/reset.S: Ditto.
4248 * config/nds32/isr-library/restore_all.inc: Ditto.
4249 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
4250 * config/nds32/isr-library/restore_partial.inc: Ditto.
4251 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
4252 * config/nds32/isr-library/save_all.inc: Ditto.
4253 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
4254 * config/nds32/isr-library/save_partial.inc: Ditto.
4255 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
4256 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
4257
4258 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
4259
4260 * config/pa/linux-atomic.c: Update comment.
4261 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
4262 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
4263 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
4264 __ATOMIC_RELAXED for atomic loads.
4265 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
4266 unordered store to release lock.
4267 (__sync_lock_release_8): Likewise.
4268 (SYNC_LOCK_RELEASE_2): Remove define.
4269
4270 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
4271
4272 PR libgcc/86512
4273 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
4274 exponent goes negative. Update my email address.
4275 * config/arm/ieee754-sf.S: Likewise.
4276
4277 2018-08-01 Martin Liska <mliska@suse.cz>
4278
4279 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
4280 check that __gcov_indirect_call_callee is non-null.
4281
4282 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
4283
4284 * config/arm/ieee754-df.S: Fix comment for code working on
4285 architectures >= 4.
4286 * config/arm/ieee754-sf.S: Likewise.
4287
4288 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
4289
4290 PR libgcc/85334
4291 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4292 Removed.
4293
4294 2018-07-05 James Clarke <jrtc27@jrtc27.com>
4295
4296 * configure: Regenerated.
4297
4298 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4299
4300 * Makefile.in (install_leaf): Use enable_gcov instead of
4301 enable_libgcov.
4302
4303 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4304
4305 * configure.ac: Add --disable-gcov option.
4306 * configure: Regenerate.
4307 * Makefile.in: Honour @enable_gcov@.
4308
4309 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
4310
4311 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
4312 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
4313 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
4314 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
4315 __ARM_ARCH__.
4316 * config/arm/ieee754-sf.S: Likewise.
4317 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
4318
4319 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
4320
4321 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
4322 longer supported.
4323 * config/arm/ieee754-sf.S: Likewise.
4324
4325 2018-06-20 Than McIntosh <thanm@google.com>
4326
4327 PR libgcc/86213
4328 * generic-morestack.c (allocate_segment): Move calls to getenv and
4329 getpagesize to __morestack_load_mmap.
4330 (__morestack_load_mmap) Initialize static_pagesize and
4331 use_guard_page here so as to avoid clobbering SSE regs during a
4332 __morestack call.
4333
4334 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
4335
4336 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
4337 support modules with -mno-gnu-attribute.
4338 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
4339
4340 2018-06-07 Olivier Hainque <hainque@adacore.com>
4341
4342 * config/t-vxworks (LIBGCC_INCLUDES): Add
4343 -I$(MULTIBUILDTOP)../../gcc/include.
4344 * config/t-vxworks7: Likewise. Reformat a bit to match
4345 the t-vxworks layout.
4346
4347 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
4348
4349 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
4350
4351 2018-06-07 Martin Liska <mliska@suse.cz>
4352
4353 * libgcov-driver.c: Rename cs_all to all and assign it from
4354 all_prg.
4355
4356 2018-06-07 Martin Liska <mliska@suse.cz>
4357
4358 PR bootstrap/86057
4359 * libgcov-driver-system.c (replace_filename_variables): Use
4360 memcpy instead of mempcpy.
4361 (allocate_filename_struct): Do not allocate filename, allocate
4362 prefix and set it.
4363 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
4364 here and properly copy content into it.
4365 * libgcov-driver.c (struct gcov_filename): Remove max_length
4366 field, change prefix from size_t into char *.
4367 (compute_summary): Do not calculate longest filename.
4368 (gcov_do_dump): Release memory of gf.filename after each file.
4369 * libgcov-util.c (compute_summary): Use new signature of
4370 compute_summary.
4371 (calculate_overlap): Likewise.
4372
4373 2018-06-05 Martin Liska <mliska@suse.cz>
4374
4375 PR gcov-profile/47618
4376 * libgcov-driver-system.c (replace_filename_variables): New
4377 function.
4378 (gcov_exit_open_gcda_file): Use it.
4379
4380 2018-06-05 Martin Liska <mliska@suse.cz>
4381
4382 * libgcov-driver.c (gcov_compute_histogram): Remove usage
4383 of gcov_ctr_summary.
4384 (compute_summary): Do it just for a single summary.
4385 (merge_one_data): Likewise.
4386 (merge_summary): Simplify as we read just single summary.
4387 (dump_one_gcov): Pass proper argument.
4388 * libgcov-util.c (compute_one_gcov): Simplify as we have just
4389 single summary.
4390 (gcov_info_count_all_cold): Likewise.
4391 (calculate_overlap): Likewise.
4392
4393 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
4394 Monk Chiang <sh.chiang04@gmail.com>
4395
4396 * config.host (nds32*-linux*): New.
4397 * config/nds32/linux-atomic.c: New file.
4398 * config/nds32/linux-unwind.h: New file.
4399
4400 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
4401
4402 PR target/85591
4403 * config/i386/cpuinfo.c (get_amd_cpu): Return
4404 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
4405
4406 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
4407
4408 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
4409
4410 2018-05-29 Martin Liska <mliska@suse.cz>
4411
4412 PR gcov-profile/85759
4413 * libgcov-driver-system.c (gcov_error): Introduce usage of
4414 GCOV_EXIT_AT_ERROR env. variable.
4415 * libgcov-driver.c (merge_one_data): Print error that we
4416 overwrite a gcov file with a different timestamp.
4417
4418 2018-05-23 Kalamatee <kalamatee@gmail.com>
4419
4420 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
4421 path to Lf$finfty.
4422
4423 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
4424 Monk Chiang <sh.chiang04@gmail.com>
4425 Jim Wilson <jimw@sifive.com>
4426
4427 * config/riscv/save-restore.S: Add support for rv32e.
4428
4429 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4430
4431 * config/arm/libunwind.S: Update comment relating to armv5.
4432
4433 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
4434
4435 * config/arm/cmse.c (cmse_check_address_range): Replace
4436 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
4437
4438 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
4439
4440 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
4441 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
4442
4443 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
4444
4445 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
4446 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
4447
4448 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
4449
4450 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
4451
4452 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
4453 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
4454
4455 PR libgcc/84292
4456 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
4457 op_and_fetch to return the right result.
4458
4459 2018-04-27 Alan Modra <amodra@gmail.com>
4460
4461 PR libgcc/85532
4462 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
4463 -fno-asynchronous-unwind-tables.
4464
4465 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
4466
4467 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
4468 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
4469
4470 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
4471
4472 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
4473 when including "config/i386/shadow-stack-unwind.h".
4474
4475 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
4476
4477 * configure: Regenerated.
4478
4479 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
4480
4481 PR target/85456
4482 * config/rs6000/_powikf2.c: New file. Add support for the
4483 __builtin_powil function when long double is IEEE 128-bit floating
4484 point.
4485 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
4486 __powikf2 support.
4487 (__powikf2): Likewise.
4488 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
4489 (__powikf2_hw): Likewise.
4490 (__powikf2): Likewise.
4491 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
4492 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
4493 (_powikf2-hw.c): Likewise.
4494
4495 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
4496
4497 PR libgcc/85334
4498 * unwind-generic.h (_Unwind_Frames_Increment): New.
4499 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4500 Likewise.
4501 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
4502 count with _Unwind_Frames_Increment.
4503 (_Unwind_ForcedUnwind_Phase2): Likewise.
4504
4505 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
4506
4507 PR libgcc/85379
4508 * config/i386/morestack.S (__stack_split_initialize): Add
4509 _CET_ENDBR.
4510
4511 2018-04-19 Jakub Jelinek <jakub@redhat.com>
4512
4513 * configure: Regenerated.
4514
4515 2018-04-18 David Malcolm <dmalcolm@redhat.com>
4516
4517 PR jit/85384
4518 * configure: Regenerate.
4519
4520 2018-04-16 Jakub Jelinek <jakub@redhat.com>
4521
4522 PR target/84945
4523 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
4524 -Wdangling-else warnings. Mask shift counts to avoid
4525 -Wshift-count-negative and -Wshift-count-overflow false positives.
4526
4527 2018-04-06 Ruslan Bukin <br@bsdpad.com>
4528
4529 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
4530
4531 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
4532
4533 PR target/85100
4534 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
4535 (XSTATE_FP): Likewise.
4536 (XSTATE_SSE): Likewise.
4537 (XSTATE_YMM): Likewise.
4538 (XSTATE_OPMASK): Likewise.
4539 (XSTATE_ZMM): Likewise.
4540 (XSTATE_HI_ZMM): Likewise.
4541 (XCR_AVX_ENABLED_MASK): Likewise.
4542 (XCR_AVX512F_ENABLED_MASK): Likewise.
4543 (get_available_features): Enable AVX and AVX512 features only
4544 if their states are supported by OSXSAVE.
4545
4546 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4547
4548 PR target/85025
4549 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4550 Fix a typo, tmp => 255.
4551
4552 2018-03-20 Jakub Jelinek <jakub@redhat.com>
4553
4554 PR target/84945
4555 * config/i386/cpuinfo.h (__cpu_features2): Declare.
4556 * config/i386/cpuinfo.c (__cpu_features2): New variable for
4557 ifndef SHARED only.
4558 (set_feature): Define.
4559 (get_available_features): Use set_feature macro. Set __cpu_features2
4560 to the second word of features ifndef SHARED.
4561
4562 2018-03-15 Julia Koval <julia.koval@intel.com>
4563
4564 * config/i386/cpuinfo.c (get_available_features): Add
4565 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
4566 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
4567 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
4568 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
4569 FEATURE_AVX512BITALG.
4570
4571 2018-03-14 Julia Koval <julia.koval@intel.com>
4572
4573 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
4574 icelake client and icelake server.
4575
4576 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
4577
4578 * config/pa/fptr.c (_dl_read_access_allowed): New.
4579 (__canonicalize_funcptr_for_compare): Use it.
4580
4581 2018-02-28 Jakub Jelinek <jakub@redhat.com>
4582
4583 PR debug/83917
4584 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
4585 $asm_hidden_op if visibility ("hidden") attribute works.
4586 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
4587 * config/i386/i386-asm.h: Don't include auto-host.h.
4588 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
4589 PACKAGE_URL): Don't undefine.
4590 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
4591 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
4592 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
4593 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
4594 definition instead of hardcoded .hidden.
4595 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
4596 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
4597 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
4598 (USE_GAS_CFI_DIRECTIVES): Don't define.
4599 * configure: Regenerated.
4600 * config.in: Likewise.
4601
4602 2018-02-26 Jakub Jelinek <jakub@redhat.com>
4603
4604 PR debug/83917
4605 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
4606 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
4607 inclusion of auto-target.h and auto-host.h.
4608 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
4609 __GCC_HAVE_DWARF2_CFI_ASM.
4610 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4611 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
4612 cfi_pop): Define.
4613 * config/i386/cygwin.S: Don't include auto-host.h here, just
4614 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
4615 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4616 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
4617 * config/i386/resms64fx.h: Add cfi_* directives.
4618 * config/i386/resms64x.h: Likewise.
4619
4620 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
4621
4622 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4623 .literal_position directive.
4624 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
4625
4626 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4627
4628 PR target/84148
4629 * configure: Regenerate.
4630
4631 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4632
4633 PR target/84239
4634 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4635 Include cetintrin.h not x86intrin.h.
4636
4637 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4638
4639 PR target/84239
4640 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4641 Use new _get_ssp and _inc_ssp intrinsics.
4642
4643 2018-02-02 Julia Koval <julia.koval@intel.com>
4644
4645 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4646
4647 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4648
4649 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4650 option.
4651 (__divsi3): Use RF16 safe registers.
4652 (__modsi3): Likewise.
4653
4654 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
4655
4656 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4657 (__divsf3): Make NaN return value quiet.
4658 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4659 (__divdf3): Make NaN return value quiet.
4660
4661 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4662
4663 * config/rl78/anddi3.S: New assembly file.
4664 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4665
4666 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4667
4668 * config/rl78/umindi3.S: New assembly file.
4669 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4670
4671 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4672
4673 * config/rl78/smindi3.S: New assembly file.
4674 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4675
4676 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4677
4678 * config/rl78/smaxdi3.S: New assembly file.
4679 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4680
4681 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4682
4683 * config/rl78/umaxdi3.S: New assembly file.
4684 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
4685
4686 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
4687
4688 PR lto/83452
4689 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4690 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
4691
4692 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
4693
4694 * config/aarch64/value-unwind.h (aarch64_vg): New function.
4695 (DWARF_LAZY_REGISTER_VALUE): Define.
4696 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4697 to provide a fallback register value.
4698
4699 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
4700
4701 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4702 __ibm128, instead of trying to use long double.
4703 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4704 accomidate -mabi=ieeelongdouble multilibs.
4705 (CVT_IBM128_TO_FLOAT128): Likewise.
4706 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4707 the appropriate IBM extended double type.
4708 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4709 (__gcc_qsub): Likewise.
4710 (__gcc_qmul): Likewise.
4711 (__gcc_qdiv): Likewise.
4712 (pack_ldouble): Likewise.
4713 (__gcc_qneg): Likewise.
4714 (__gcc_qeq): Likewise.
4715 (__gcc_qne): Likewise.
4716 (__gcc_qge): Likewise.
4717 (__gcc_qle): Likewise.
4718 (__gcc_stoq): Likewise.
4719 (__gcc_dtoq): Likewise.
4720 (__gcc_itoq): Likewise.
4721 (__gcc_utoq): Likewise.
4722 (__gcc_qunord): Likewise.
4723 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4724 quad-float128.h for the definitions.
4725 (COPYSIGN): Use the f128 version instead of the q version.
4726 (INFINITY): Likewise.
4727 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4728 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4729 quad-float128.h for the definitions.
4730 (COPYSIGN): Use the f128 version instead of the q version.
4731 (INFINITY): Likewise.
4732 (FABS): Likewise.
4733 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4734 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4735 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4736
4737 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
4738
4739 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4740 configuration.
4741
4742 2018-01-03 Jakub Jelinek <jakub@redhat.com>
4743
4744 Update copyright years.
4745
4746 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
4747
4748 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4749 * config/riscv/multi3.c: New file.
4750 * config/riscv/multi3.S: Remove.
4751
4752 2017-12-08 Jim Wilson <jimw@sifive.com>
4753
4754 * config/riscv/div.S: Use FUNC_* macros.
4755 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4756 * config/riscv/save-restore.S: Likewise.
4757 * config/riscv/riscv-asm.h: New.
4758
4759 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
4760
4761 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4762 * config/rs6000/_divkc3.c (__divkc3): Likewise.
4763
4764 PR libgcc/83112
4765 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4766 correct type for all ifunc resolvers to silence -Wattribute-alias
4767 warnings. Eliminate the forward declaration of the resolver
4768 functions which is no longer needed.
4769 (__subkf3_resolve): Likewise.
4770 (__mulkf3_resolve): Likewise.
4771 (__divkf3_resolve): Likewise.
4772 (__negkf2_resolve): Likewise.
4773 (__eqkf2_resolve): Likewise.
4774 (__nekf2_resolve): Likewise.
4775 (__gekf2_resolve): Likewise.
4776 (__gtkf2_resolve): Likewise.
4777 (__lekf2_resolve): Likewise.
4778 (__ltkf2_resolve): Likewise.
4779 (__unordkf2_resolve): Likewise.
4780 (__extendsfkf2_resolve): Likewise.
4781 (__extenddfkf2_resolve): Likewise.
4782 (__trunckfsf2_resolve): Likewise.
4783 (__trunckfdf2_resolve): Likewise.
4784 (__fixkfsi_resolve): Likewise.
4785 (__fixkfdi_resolve): Likewise.
4786 (__fixunskfsi_resolve): Likewise.
4787 (__fixunskfdi_resolve): Likewise.
4788 (__floatsikf_resolve): Likewise.
4789 (__floatdikf_resolve): Likewise.
4790 (__floatunsikf_resolve): Likewise.
4791 (__floatundikf_resolve): Likewise.
4792 (__extendkftf2_resolve): Likewise.
4793 (__trunctfkf2_resolve): Likewise.
4794
4795 PR libgcc/83103
4796 * config/rs6000/quad-float128.h (TF): Don't define if long double
4797 is IEEE 128-bit floating point.
4798 (TCtype): Define as either TCmode or KCmode, depending on whether
4799 long double is IEEE 128-bit floating point.
4800 (__mulkc3_sw): Add declarations for software/hardware versions of
4801 complex multiply/divide.
4802 (__divkc3_sw): Likewise.
4803 (__mulkc3_hw): Likewise.
4804 (__divkc3_hw): Likewise.
4805 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4806 handlers to switch between using software emulation and hardware
4807 float128 instructions, build the complex multiply/divide functions
4808 for both software and hardware support.
4809 * config/rs6000/_divkc3.c (_divkc3): Likewise.
4810 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4811 (__divkc3_resolve): Likewise.
4812 (__mulkc3): Likewise.
4813 (__divkc3): Likewise.
4814 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4815 (fp128_hw_src): Likewise.
4816 (fp128_hw_static_obj): Likewise.
4817 (fp128_hw_shared_obj): Likewise.
4818 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4819 _mulkc3.c and _divkc3.c, changing the function name.
4820 (_divkc3-hw.c): Likewise.
4821 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4822 and _divkc3-hw.c.
4823
4824 2017-11-26 Julia Koval <julia.koval@intel.com>
4825
4826 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4827 * config/i386/cpuinfo.h (processor_subtypes): Add
4828 INTEL_COREI7_CANNONLAKE.
4829
4830 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4831
4832 PR bootstrap/83015
4833 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4834 parameter.
4835 * config/xtensa/unwind-dw2-xtensa.c: Likewise
4836 * config/ia64/unwind-ia64.c: Add frames parameter.
4837 * unwind-sjlj.c: Likewise.
4838
4839 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4840
4841 * config/i386/linux-unwind.h: Include
4842 config/i386/shadow-stack-unwind.h.
4843 * config/i386/shadow-stack-unwind.h: New file.
4844 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4845 pass it to _Unwind_Frames_Extra.
4846 * unwind-generic.h (_Unwind_Frames_Extra): New.
4847 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4848 parameter. Add local variable frames to count number of frames.
4849 (_Unwind_ForcedUnwind_Phase2): Likewise.
4850 (_Unwind_RaiseException): Add local variable frames to count
4851 number of frames, pass it to _Unwind_RaiseException_Phase2 and
4852 uw_install_context.
4853 (_Unwind_ForcedUnwind): Likewise.
4854 (_Unwind_Resume): Likewise.
4855 (_Unwind_Resume_or_Rethrow): Likewise.
4856
4857 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4858
4859 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4860 (CET_FLAGS): New.
4861 * config/i386/morestack.S: Include <cet.h>.
4862 (__morestack_large_model): Add _CET_ENDBR at function entrance.
4863 * config/i386/resms64.h: Include <cet.h>.
4864 * config/i386/resms64f.h: Likewise.
4865 * config/i386/resms64fx.h: Likewise.
4866 * config/i386/resms64x.h: Likewise.
4867 * config/i386/savms64.h: Likewise.
4868 * config/i386/savms64f.h: Likewise.
4869 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4870 (CRTSTUFF_T_CFLAGS): Likewise.
4871 * configure.ac: Include ../config/cet.m4.
4872 Set and substitute CET_FLAGS.
4873 * configure: Regenerated.
4874
4875 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4876
4877 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4878 renaming.
4879 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4880 * configure.ac (libgcc_cv_solaris_crts): Likewise.
4881 * configure: Regenerate.
4882
4883 2017-11-07 Tom de Vries <tom@codesourcery.com>
4884
4885 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4886 after "do {} while (0)".
4887
4888 2017-11-07 Tom de Vries <tom@codesourcery.com>
4889
4890 PR other/82784
4891 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4892 semicolon after "do {} while (0)".
4893 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4894 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4895 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4896 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4897
4898 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
4899
4900 PR libgcc/82635
4901 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4902 sysctl to determine whether we're in a trampoline.
4903 Keep the pattern matching method for systems without
4904 KERN_PROC_SIGTRAMP sysctl.
4905
4906 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
4907 Vineet Gupta <vgupta@synopsys.com>
4908
4909 * config.host (arc*-*-linux*): Set md_unwind_header variable.
4910 * config/arc/linux-unwind-reg.def: New file.
4911 * config/arc/linux-unwind-reg.h: Likewise.
4912
4913 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
4914
4915 * config/rl78/subdi3.S: New assembly file.
4916 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4917
4918 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
4919
4920 * config/rl78/adddi3.S: New assembly file.
4921 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4922
4923 2017-10-13 Jakub Jelinek <jakub@redhat.com>
4924
4925 PR target/82274
4926 * libgcc2.c (__mulvDI3): If both operands have
4927 the same highpart of -1 and the topmost bit of lowpart is 0,
4928 multiplication overflows even if both lowparts are 0.
4929
4930 2017-09-28 James Bowman <james.bowman@ftdichip.com>
4931
4932 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4933
4934 2017-09-26 Joseph Myers <joseph@codesourcery.com>
4935
4936 * config/microblaze/crti.S, config/microblaze/crtn.S,
4937 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4938 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4939 config/microblaze/mulsi3.S,
4940 config/microblaze/stack_overflow_exit.S,
4941 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4942 config/pa/milli64.S: Add .note.GNU-stack section.
4943
4944 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
4945
4946 * configure.ac: Add Check for HAVE_AS_AVX.
4947 * config.in: Regenerate.
4948 * configure: Likewise.
4949 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4950 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4951 Correct out-of-date comments.
4952
4953 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
4954
4955 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4956 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4957
4958 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
4959
4960 * config/i386/i386-asm.h (PASTE2): New macro.
4961 (ASMNAME): Modify to use PASTE2.
4962 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4963 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
4964 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
4965 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
4966 * config/i386/resms64f.S: Likewise.
4967 * config/i386/resms64fx.S: Likewise.
4968 * config/i386/resms64x.S: Likewise.
4969 * config/i386/savms64.S: Likewise.
4970 * config/i386/savms64f.S: Likewise.
4971 * config/i386/avx_resms64.S: New file that only defines a macro and
4972 includes it's corresponding header file.
4973 * config/i386/avx_resms64f.S: Likewise.
4974 * config/i386/avx_resms64fx.S: Likewise.
4975 * config/i386/avx_resms64x.S: Likewise.
4976 * config/i386/avx_savms64.S: Likewise.
4977 * config/i386/avx_savms64f.S: Likewise.
4978 * config/i386/sse_resms64.S: Likewise.
4979 * config/i386/sse_resms64f.S: Likewise.
4980 * config/i386/sse_resms64fx.S: Likewise.
4981 * config/i386/sse_resms64x.S: Likewise.
4982 * config/i386/sse_savms64.S: Likewise.
4983 * config/i386/sse_savms64f.S: Likewise.
4984 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
4985
4986 2017-09-01 Olivier Hainque <hainque@adacore.com>
4987 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4988
4989 2017-08-31 Olivier Hainque <hainque@adacore.com>
4990
4991 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4992 match as powerpc-wrs-vxworks*.
4993
4994 2017-08-07 Jonathan Yong <10walls@gmail.com>
4995
4996 * config.host (*-cygwin): Include file from mingw
4997 config/i386/enable-execute-stack-mingw32.c
4998
4999 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
5000 Doug Rupp <rupp@adacore.com>
5001 Olivier Hainque <hainque@adacore.com>
5002
5003 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
5004 as well as arm-wrs-vxworks.
5005 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
5006 LIB2ADDEH.
5007 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
5008 __exidx_start and __exidx_end for downloadable modules.
5009
5010 2017-08-01 Olivier Hainque <hainque@adacore.com>
5011
5012 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
5013 * config/t-vxworks7: Likewise.
5014
5015 2017-08-01 Olivier Hainque <hainque@adacore.com>
5016
5017 * config/t-vxworks: Instead of redefining LIB2ADD,
5018 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
5019
5020 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
5021
5022 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
5023
5024 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
5025
5026 PR testsuite/80759
5027 * config.host: include i386/t-msabi for darwin and solaris.
5028 * config/i386/i386-asm.h
5029 (ELFFN): Rename to FN_TYPE.
5030 (FN_SIZE): New macro.
5031 (FN_HIDDEN): Likewise.
5032 (ASMNAME): Likewise.
5033 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
5034 .globl.
5035 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
5036 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
5037 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
5038 .macro.
5039 * config/i386/resms64f.S: Likewise.
5040 * config/i386/resms64fx.S: Likewise.
5041 * config/i386/resms64x.S: Likewise.
5042 * config/i386/savms64.S: Likewise.
5043 * config/i386/savms64f.S: Likewise.
5044
5045 2017-07-19 John Marino <gnugcc@marino.st>
5046
5047 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
5048
5049 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
5050
5051 PR target/81193
5052 * configure.ac (PowerPC float128 hardware support): Test whether
5053 we can use __builtin_cpu_supports before enabling the ifunc
5054 handler.
5055 * configure: Regenerate.
5056
5057 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
5058
5059 * config.host: Remove uclibc from arc target spec.
5060
5061 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
5062
5063 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
5064
5065 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
5066
5067 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
5068 (have_ieee_hw_p): Delete function.
5069 (SW_OR_HW) Use __builtin_cpu_supports().
5070
5071 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5072
5073 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
5074
5075 2017-07-03 Olivier Hainque <hainque@adacore.com>
5076
5077 * config/t-vxworks7: New file, really.
5078
5079 2017-06-28 Joseph Myers <joseph@codesourcery.com>
5080
5081 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
5082 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
5083 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
5084 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
5085 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
5086 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
5087 config/pa/linux-unwind.h (pa32_fallback_frame_state),
5088 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
5089 config/sh/linux-unwind.h (sh_fallback_frame_state),
5090 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
5091 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
5092 ucontext_t instead of struct ucontext.
5093
5094 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
5095
5096 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
5097 (x86_64-wrs-vxworks7): Likewise.
5098
5099 2017-06-27 Olivier Hainque <hainque@adacore.com>
5100
5101 * config/t-vxworks7: New file.
5102 * config.host (*-*-vxworks7): Use it.
5103
5104 2017-06-22 Matt Turner <mattst88@gmail.com>
5105
5106 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
5107 skylake case.
5108
5109 2017-06-21 Richard Biener <rguenther@suse.de>
5110
5111 PR gcov-profile/81080
5112 * configure.ac: Add AC_SYS_LARGEFILE.
5113 * libgcov.h: Include auto-target.h before tsystem.h to pick
5114 up _FILE_OFFSET_BITS which might differ for multilibs.
5115 * config.in: Regenerate.
5116 * configure: Likewise.
5117
5118 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
5119
5120 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
5121
5122 2017-06-09 Martin Liska <mliska@suse.cz>
5123
5124 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
5125 Reset __gcov_indirect_call_callee to NULL.
5126
5127 2017-06-08 Olivier Hainque <hainque@adacore.com>
5128
5129 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
5130 the set of -I options, support for direct inclusions of net/uio.h
5131 by VxWorks header files via ioLib.h.
5132
5133 2017-06-07 Tony Reix <tony.reix@atos.net>
5134 Matthieu Sarter <matthieu.sarter.external@atos.net>
5135 David Edelsohn <dje.gcc@gmail.com>
5136
5137 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
5138 unconditionally.
5139 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
5140 AIX 7.2 support.
5141
5142 2017-06-02 Olivier Hainque <hainque@adacore.com>
5143
5144 * config/vxlib.c (__gthread_once): Add missing value to
5145 return statement.
5146
5147 2017-05-30 Olivier Hainque <hainque@adacore.com>
5148
5149 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
5150 dollar sign before $(MULTIDIR).
5151
5152 2017-05-26 Richard Henderson <rth@redhat.com>
5153
5154 PR libgcc/80037
5155 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
5156
5157 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
5158
5159 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
5160 _Unwind_SetIP available as functions for arm*-*-freebsd*.
5161 * config/arm/unwind-arm.c: Implement the above.
5162
5163 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5164
5165 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
5166 section for a non-executable stack.
5167
5168 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
5169
5170 PR target/80600
5171 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
5172
5173 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
5174
5175 * config.host: Add i386/t-msabi to i386/t-linux file list.
5176 * config/i386/i386-asm.h: New file.
5177 * config/i386/resms64.S: New file.
5178 * config/i386/resms64f.S: New file.
5179 * config/i386/resms64fx.S: New file.
5180 * config/i386/resms64x.S: New file.
5181 * config/i386/savms64.S: New file.
5182 * config/i386/savms64f.S: New file.
5183 * config/i386/t-msabi: New file.
5184
5185 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
5186
5187 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
5188 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
5189
5190 2017-05-05 Joshua Conner <joshconner@google.com>
5191
5192 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
5193 pc-relative indirect handling for fuchsia.
5194 * config/t-slibgcc-fuchsia: New file.
5195 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
5196 x86_64-*-fuchsia*): Add definitions.
5197
5198 2017-04-19 Martin Liska <mliska@suse.cz>
5199
5200 PR gcov-profile/80435
5201 * Makefile.in: Install gcov.h.
5202 * gcov.h: New file.
5203 * libgcov.h: Use the header and make __gcov_flush publicly
5204 visible.
5205
5206 2017-04-18 Martin Liska <mliska@suse.cz>
5207
5208 PR gcov-profile/78783
5209 * libgcov-driver.c (gcov_get_filename): New function.
5210
5211 2017-04-07 Jeff Law <law@redhat.com>
5212
5213 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
5214 target makefile fragment.
5215 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
5216
5217 2017-04-07 Alan Modra <amodra@gmail.com>
5218
5219 PR target/45053
5220 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
5221
5222 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
5223
5224 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
5225
5226 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
5227
5228 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
5229
5230 2017-03-10 John Marino <gnugcc@marino.st>
5231
5232 * config/aarch64/freebsd-unwind.h: New file.
5233 * config.host: Add aarch64-*-freebsd unwinder.
5234
5235 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
5236
5237 * config/rs6000/crtrestvr.s: Use .machine altivec.
5238 * config/rs6000/crtsavevr.s: Ditto.
5239
5240 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
5241
5242 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
5243 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
5244 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
5245 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
5246 * configure: Regenerate.
5247 * config.in: Regenerate.
5248
5249 2017-03-02 Jonathan Yong <10walls@gmail.com>
5250
5251 * config/i386/gthr-win32.h: Define NOGDI before
5252 windows.h include to prevent w32api CC_NONE macro
5253 clash with libgfortran.
5254
5255 2017-03-02 Jonathan Yong <10walls@gmail.com>
5256
5257 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
5258
5259 2017-02-16 Andrew Pinski <apinski@cavium.com>
5260
5261 * config/aarch64/value-unwind.h: New file.
5262 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
5263 to tm_file.
5264
5265 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
5266
5267 * config.host: Add RISC-V tuples.
5268 * config/riscv/atomic.c: New file.
5269 * config/riscv/crti.S: Likewise.
5270 * config/riscv/crtn.S: Likewise.
5271 * config/riscv/div.S: Likewise.
5272 * config/riscv/linux-unwind.h: Likewise.
5273 * config/riscv/muldi3.S: Likewise.
5274 * config/riscv/multi3.S: Likewise.
5275 * config/riscv/save-restore.S: Likewise.
5276 * config/riscv/sfp-machine.h: Likewise.
5277 * config/riscv/t-elf: Likewise.
5278 * config/riscv/t-elf32: Likewise.
5279 * config/riscv/t-elf64: Likewise.
5280 * config/riscv/t-softfp32: Likewise.
5281 * config/riscv/t-softfp64: Likewise.
5282
5283 2017-01-24 Jakub Jelinek <jakub@redhat.com>
5284
5285 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
5286 /* FALLTHRU */ comments.
5287
5288 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
5289
5290 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
5291
5292 2017-01-20 Jiong Wang <jiong.wang@arm.com>
5293
5294 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
5295 * unwind-dw2.c (execute_cfa_program): Only multiplexing
5296 DW_CFA_GNU_window_save for AArch64 and LP64.
5297
5298 2017-01-20 Jiong Wang <jiong.wang@arm.com>
5299
5300 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
5301
5302 2017-01-19 Jiong Wang <jiong.wang@arm.com>
5303
5304 * config/aarch64/aarch64-unwind.h: New file.
5305 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
5306 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
5307 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
5308 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
5309 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
5310 (aarch64_post_extract_frame_addr): New function.
5311 (aarch64_post_frob_eh_handler_addr): New function.
5312 (aarch64_frob_update_context): New function.
5313 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
5314 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
5315 aarch64*-*-freebsd*):
5316 Initialize md_unwind_header to include aarch64-unwind.h.
5317 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
5318 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
5319 __aarch64__.
5320 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
5321 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
5322 (uw_frob_return_addr): New function.
5323 (uw_install_context): Use uw_frob_return_addr.
5324
5325 2017-01-17 Jakub Jelinek <jakub@redhat.com>
5326
5327 PR other/79046
5328 * configure.ac: Add GCC_BASE_VER.
5329 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
5330 version from BASE-VER file.
5331 * configure: Regenerated.
5332
5333 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
5334
5335 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
5336 libmul_f5.a): Filter archived prerequisites.
5337
5338 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
5339
5340 * config/i386/cpuinfo.h (processor_features): Add
5341 FEATURE_AVX512VPOPCNTDQ.
5342 * config/i386/cpuinfo.c (get_available_features): Habdle new
5343 feature.
5344
5345 2017-01-04 Joseph Myers <joseph@codesourcery.com>
5346
5347 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
5348 payload if [__mips_nan2008].
5349
5350 2017-01-04 Alan Modra <amodra@gmail.com>
5351
5352 * Makefile.in (configure_deps): Update.
5353 * configure: Regenerate.
5354
5355 2017-01-01 Jakub Jelinek <jakub@redhat.com>
5356
5357 Update copyright years.
5358
5359 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
5360
5361 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
5362 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
5363 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
5364
5365 2016-12-17 Matthias Klose <doko@ubuntu.com>
5366
5367 * config/arc/gmon: Remove empty directory.
5368
5369 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
5370
5371 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
5372 crtgend.
5373 (arc*-*-elf*): Likewise.
5374 * config/arc/t-arc: Remove old gmon lib targets.
5375 * config/arc/crtg.S: Remove.
5376 * config/arc/crtgend.S: Likewise.
5377 * config/arc/gmon/atomic.h: Likewise.
5378 * config/arc/gmon/auxreg.h: Likewise.
5379 * config/arc/gmon/dcache_linesz.S: Likewise.
5380 * config/arc/gmon/gmon.c: Likewise.
5381 * config/arc/gmon/machine-gmon.h: Likewise.
5382 * config/arc/gmon/mcount.c: Likewise.
5383 * config/arc/gmon/prof-freq-stub.S: Likewise.
5384 * config/arc/gmon/prof-freq.c: Likewise.
5385 * config/arc/gmon/profil.S: Likewise.
5386 * config/arc/gmon/sys/gmon.h: Likewise.
5387 * config/arc/gmon/sys/gmon_out.h: Likewise.
5388 * config/arc/t-arc-newlib: Likewise.
5389 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
5390
5391 2016-12-12 George Spelvin <linux@sciencehorizons.net>
5392
5393 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
5394
5395 2016-12-12 George Spelvin <linux@sciencehorizons.net>
5396
5397 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
5398 R16 instead of push + pop.
5399 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
5400
5401 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
5402
5403 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
5404 tmake_file.
5405
5406 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
5407
5408 * config.host (arc*-*-linux-uclibc*): Use default extra
5409 objects. Include linux-android header.
5410 * config/arc/crti.S (_init): Declare symbol as function.
5411 (_fini): Likewise.
5412
5413 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
5414
5415 PR fortran/78379
5416 * config/i386/cpuinfo.c: Move denums for processor vendors,
5417 processor type, processor subtypes and declaration of
5418 struct __processor_model into
5419 * config/i386/cpuinfo.h: New header file.
5420
5421 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
5422 Thomas Preud'homme <thomas.preudhomme@arm.com>
5423
5424 * config/arm/cmse_nonsecure_call.S: New.
5425 * config/arm/t-arm: Compile cmse_nonsecure_call.S
5426
5427 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
5428 Thomas Preud'homme <thomas.preudhomme@arm.com>
5429
5430 * config/arm/t-arm (HAVE_CMSE): New.
5431 * config/arm/cmse.c: New.
5432
5433 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
5434
5435 PR gcc/74748
5436 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
5437 use generic linker version information on Blackfin.
5438
5439 PR gcc/74748
5440 * libgcc/mkmap-symver.awk: add support for skip_underscore
5441
5442 2016-11-27 Iain Sandoe <iain@codesourcery.com>
5443 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5444
5445 PR target/67710
5446 * config/t-darwin: Default builds to 10.5 codegen.
5447
5448 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
5449
5450 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
5451 (_FP_NANSIGN_H): Likewise.
5452 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
5453 (softfp_truncations): Add tfhf.
5454 (softfp_extras): Add required conversion functions.
5455
5456 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5457 Matthew Wahab <matthew.wahab@arm.com>
5458
5459 * config/arm/fp16.c (binary64): New.
5460 (__gnu_d2h_internal): New.
5461 (__gnu_d2h_ieee): New.
5462 (__gnu_d2h_alternative): New.
5463
5464 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5465 Matthew Wahab <matthew.wahab@arm.com>
5466
5467 * config/arm/fp16.c (struct format): New.
5468 (binary32): New.
5469 (__gnu_float2h_internal): New. Body moved from
5470 __gnu_f2h_internal and generalize.
5471 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
5472 Call it with binary32.
5473
5474 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5475
5476 * soft-fp/extendhftf2.c: Update from glibc.
5477 * soft-fp/fixhfti.c: Likewise.
5478 * soft-fp/fixunshfti.c: Likewise.
5479 * soft-fp/floattihf.c: Likewise.
5480 * soft-fp/floatuntihf.c: Likewise.
5481 * soft-fp/half.h: Likewise.
5482 * soft-fp/trunctfhf2.c: Likewise.
5483
5484 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
5485
5486 PR libgcc/77813
5487 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
5488 __TMC_END__ behind a passthrough asm.
5489
5490 2016-11-18 Walter Lee <walt@tilera.com>
5491
5492 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
5493
5494 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
5495
5496 * config/i386/cpuinfo.c (processor_features): Add
5497 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
5498
5499 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
5500
5501 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
5502 (__ARC_NORM__): Use instead ARC_OPTFPE.
5503 * config/arc/fp-hack.h: Likewise.
5504 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
5505 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
5506
5507 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
5508
5509 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
5510 * config/nvptx/mgomp.c: New file.
5511 * config/nvptx/t-nvptx: Add mgomp.c
5512
5513 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
5514
5515 PR libgcc/68468
5516 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
5517
5518 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
5519
5520 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
5521 of checking for cpus.
5522 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
5523 (__modsi3, __clzsi2): Likewise.
5524
5525 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5526
5527 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
5528 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
5529 * config/i386/t-cpuinfo-static: New.
5530
5531 2016-11-03 Martin Liska <mliska@suse.cz>
5532
5533 * libgcov-profiler.c (__gcov_time_profiler): Remove.
5534 (__gcov_time_profiler_atomic): Likewise.
5535
5536 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
5537
5538 PR libgcc/78067
5539 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
5540 count_leading_zeros.
5541
5542 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
5543
5544 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
5545 * libgcc2.c (__divmoddi4): New function.
5546 * libgcc2.h (__divmoddi4): Declare.
5547 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
5548 and __PFX_divmodti4.
5549
5550 2016-10-24 Florian Weimer <fweimer@redhat.com>
5551
5552 PR libgcc/78064
5553 * unwind-c.c: Include auto-target.h.
5554
5555 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
5556
5557 * config/pa/pa64-hpux-lib.h: New file.
5558 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
5559 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
5560 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
5561 hppa*64*-*-hpux11*.
5562
5563 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
5564
5565 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5566 definition.
5567 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5568 definition.
5569 * config/xtensa/t-windowed (LIB2ADDEH): Use
5570 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
5571 or xtensa/t-linux.
5572
5573 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
5574
5575 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
5576 __ieee754_sqrt): New functions.
5577 (__divdf3): Add implementation with new FPU instructions under
5578 #if XCHAL_HAVE_DFP_DIV.
5579 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
5580 __ieee754_sqrtf): New functions.
5581 (__divsf3): Add implementation with new FPU instructions under
5582 #if XCHAL_HAVE_FP_DIV.
5583 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
5584 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
5585
5586 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
5587
5588 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
5589 equivalent.
5590 * config/tilepro/atomic.c: Likewise and stop casting model to
5591 enum memmodel.
5592
5593 2016-10-10 Joseph Myers <joseph@codesourcery.com>
5594
5595 PR target/77586
5596 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
5597 soft-fp.
5598
5599 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
5600
5601 * config.host: Add support for aarch64-*-freebsd*.
5602
5603 2016-10-05 Andreas Schwab <schwab@suse.de>
5604
5605 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
5606 (.section .init_array): Don't call __do_jv_register_classes.
5607 (.section .init): Likewise.
5608
5609 2016-10-04 Jakub Jelinek <jakub@redhat.com>
5610
5611 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
5612 (__JCR_LIST__): Remove.
5613 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
5614 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
5615 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
5616 * config/ia64/crtend.S (__JCR_END__): Remove.
5617 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
5618 conditionals.
5619 (__JCR_LIST__, __JCR_END__): Remove.
5620 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
5621 (__do_global_ctors_1): Likewise.
5622
5623 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
5624
5625 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
5626 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
5627
5628 2016-09-27 Martin Liska <mliska@suse.cz>
5629
5630 PR gcov-profile/7970
5631 PR gcov-profile/16855
5632 PR gcov-profile/44779
5633 * libgcov-driver.c (__gcov_init): Do not register a atexit
5634 handler.
5635 (__gcov_exit): Rename from gcov_exit.
5636 * libgcov.h (__gcov_exit): Declare.
5637
5638 2016-09-27 Martin Liska <mliska@suse.cz>
5639
5640 PR bootstrap/77749
5641 * Makefile.in: Remove _gcov_merge_delta.
5642 * libgcov-merge.c (void __gcov_merge_delta): Remove.
5643 * libgcov-util.c (__gcov_delta_counter_op): Remove.
5644 * libgcov.h: Remove declaration of __gcov_merge_delta.
5645
5646 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
5647
5648 * configure.ac: Do not create links, only substitute the filenames.
5649 * configure: Regenerate.
5650 * Makefile.in: Assign the substitution results to variables.
5651 (LIBGCC_LINKS): Define.
5652 (enable-execute-stack.c): New rule.
5653 (unwind.h): Likewise.
5654 (md-unwind-support.h): Likewise.
5655 (sfp-machine.h): Likewise.
5656 (gthr-default.h): Likewise.
5657 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5658 unwind.h as prerequisite of install-unwind_h-forbuild.
5659
5660 2016-09-16 Jakub Jelinek <jakub@redhat.com>
5661
5662 PR libgcc/71744
5663 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5664 is not the primary registry and atomics are available.
5665 (any_objects_registered): New variable.
5666 (__register_frame_info_bases, __register_frame_info_table_bases):
5667 Atomically store 1 to any_objects_registered after registering first
5668 unwind info.
5669 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5670
5671 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
5672
5673 PR target/63250
5674 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5675 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5676 (HFtype): Likewise.
5677 (HCtype): Likewise.
5678 (__divhc3): Likewise.
5679 (__mulhc3): Likewise.
5680 * libgcc2.c: Support _mulhc3 and _divhc3.
5681
5682 2016-09-07 Joseph Myers <joseph@codesourcery.com>
5683
5684 PR libgcc/77519
5685 * libgcc2.c (NOTRUNC): Invert settings.
5686
5687 2016-09-06 Martin Liska <mliska@suse.cz>
5688
5689 PR gcov-profile/77378
5690 PR gcov-profile/77466
5691 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5692 conditionaly enable/disable *_atomic functions.
5693
5694 2016-08-26 Joseph Myers <joseph@codesourcery.com>
5695
5696 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5697 where not already enabled.
5698
5699 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5700
5701 * config/mips/linux-unwind.h: Use sys/syscall.h.
5702
5703 2016-08-16 Joseph Myers <joseph@codesourcery.com>
5704
5705 PR libgcc/77265
5706 * soft-fp/adddf3.c: Update from glibc.
5707 * soft-fp/addsf3.c: Likewise.
5708 * soft-fp/addtf3.c: Likewise.
5709 * soft-fp/divdf3.c: Likewise.
5710 * soft-fp/divsf3.c: Likewise.
5711 * soft-fp/divtf3.c: Likewise.
5712 * soft-fp/double.h: Likewise.
5713 * soft-fp/eqdf2.c: Likewise.
5714 * soft-fp/eqsf2.c: Likewise.
5715 * soft-fp/eqtf2.c: Likewise.
5716 * soft-fp/extenddftf2.c: Likewise.
5717 * soft-fp/extended.h: Likewise.
5718 * soft-fp/extendsfdf2.c: Likewise.
5719 * soft-fp/extendsftf2.c: Likewise.
5720 * soft-fp/extendxftf2.c: Likewise.
5721 * soft-fp/fixdfdi.c: Likewise.
5722 * soft-fp/fixdfsi.c: Likewise.
5723 * soft-fp/fixdfti.c: Likewise.
5724 * soft-fp/fixsfdi.c: Likewise.
5725 * soft-fp/fixsfsi.c: Likewise.
5726 * soft-fp/fixsfti.c: Likewise.
5727 * soft-fp/fixtfdi.c: Likewise.
5728 * soft-fp/fixtfsi.c: Likewise.
5729 * soft-fp/fixtfti.c: Likewise.
5730 * soft-fp/fixunsdfdi.c: Likewise.
5731 * soft-fp/fixunsdfsi.c: Likewise.
5732 * soft-fp/fixunsdfti.c: Likewise.
5733 * soft-fp/fixunssfdi.c: Likewise.
5734 * soft-fp/fixunssfsi.c: Likewise.
5735 * soft-fp/fixunssfti.c: Likewise.
5736 * soft-fp/fixunstfdi.c: Likewise.
5737 * soft-fp/fixunstfsi.c: Likewise.
5738 * soft-fp/fixunstfti.c: Likewise.
5739 * soft-fp/floatdidf.c: Likewise.
5740 * soft-fp/floatdisf.c: Likewise.
5741 * soft-fp/floatditf.c: Likewise.
5742 * soft-fp/floatsidf.c: Likewise.
5743 * soft-fp/floatsisf.c: Likewise.
5744 * soft-fp/floatsitf.c: Likewise.
5745 * soft-fp/floattidf.c: Likewise.
5746 * soft-fp/floattisf.c: Likewise.
5747 * soft-fp/floattitf.c: Likewise.
5748 * soft-fp/floatundidf.c: Likewise.
5749 * soft-fp/floatundisf.c: Likewise.
5750 * soft-fp/floatunditf.c: Likewise.
5751 * soft-fp/floatunsidf.c: Likewise.
5752 * soft-fp/floatunsisf.c: Likewise.
5753 * soft-fp/floatunsitf.c: Likewise.
5754 * soft-fp/floatuntidf.c: Likewise.
5755 * soft-fp/floatuntisf.c: Likewise.
5756 * soft-fp/floatuntitf.c: Likewise.
5757 * soft-fp/gedf2.c: Likewise.
5758 * soft-fp/gesf2.c: Likewise.
5759 * soft-fp/getf2.c: Likewise.
5760 * soft-fp/ledf2.c: Likewise.
5761 * soft-fp/lesf2.c: Likewise.
5762 * soft-fp/letf2.c: Likewise.
5763 * soft-fp/muldf3.c: Likewise.
5764 * soft-fp/mulsf3.c: Likewise.
5765 * soft-fp/multf3.c: Likewise.
5766 * soft-fp/negdf2.c: Likewise.
5767 * soft-fp/negsf2.c: Likewise.
5768 * soft-fp/negtf2.c: Likewise.
5769 * soft-fp/op-1.h: Likewise.
5770 * soft-fp/op-2.h: Likewise.
5771 * soft-fp/op-4.h: Likewise.
5772 * soft-fp/op-8.h: Likewise.
5773 * soft-fp/op-common.h: Likewise.
5774 * soft-fp/quad.h: Likewise.
5775 * soft-fp/single.h: Likewise.
5776 * soft-fp/soft-fp.h: Likewise.
5777 * soft-fp/subdf3.c: Likewise.
5778 * soft-fp/subsf3.c: Likewise.
5779 * soft-fp/subtf3.c: Likewise.
5780 * soft-fp/truncdfsf2.c: Likewise.
5781 * soft-fp/trunctfdf2.c: Likewise.
5782 * soft-fp/trunctfsf2.c: Likewise.
5783 * soft-fp/trunctfxf2.c: Likewise.
5784 * soft-fp/unorddf2.c: Likewise.
5785 * soft-fp/unordsf2.c: Likewise.
5786 * soft-fp/unordtf2.c: Likewise.
5787
5788 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
5789
5790 PR gcov-profile/67097
5791 * libgcov-util.c (gcov_profile_merge): Skip missing files.
5792
5793 2016-08-10 Martin Liska <mliska@suse.cz>
5794
5795 PR gcov-profile/58306
5796 * Makefile.in: New functions (modules) are added.
5797 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5798 function.
5799 (__gcov_pow2_profiler_atomic): New function.
5800 (__gcov_one_value_profiler_body): New argument is instroduced.
5801 (__gcov_one_value_profiler): Call with the new argument.
5802 (__gcov_one_value_profiler_atomic): Likewise.
5803 (__gcov_indirect_call_profiler_v2): Likewise.
5804 (__gcov_time_profiler_atomic): New function.
5805 (__gcov_average_profiler_atomic): Likewise.
5806 (__gcov_ior_profiler_atomic): Likewise.
5807 * libgcov.h: Declare the aforementioned functions.
5808
5809 2016-08-09 Martin Liska <mliska@suse.cz>
5810
5811 * libgcov-util.c: Fix typo and GNU coding style.
5812
5813 2016-08-09 Martin Liska <mliska@suse.cz>
5814
5815 * Makefile.in: Remove __gcov_indirect_call_profiler.
5816 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5817 function.
5818 * libgcov.h: And the declaration of the function.
5819
5820 2016-08-09 Martin Liska <mliska@suse.cz>
5821
5822 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5823 power of two.
5824
5825 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5826
5827 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5828 * config/rs6000/_mulkc3.c: Likewise.
5829
5830 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
5831
5832 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5833 zero_reg as previous call to __umulhisi3 already cleared it.
5834
5835 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
5836
5837 PR target/59833
5838 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5839
5840 2016-07-19 Nick Clifton <nickc@redhat.com>
5841
5842 * config.host (m32r): Add m32r/t-m32r to tmake_file.
5843 Add crtinit.o and crtfini.o to extra_parts.
5844
5845 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5846
5847 * config/rs6000/_divkc3.c: New.
5848 * config/rs6000/_mulkc3.c: New.
5849 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5850 and _divkc3.
5851 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5852 fp128_ppc_funcs.
5853
5854 2016-07-11 Hale Wang <hale.wang@arm.com>
5855 Andre Vieira <andre.simoesdiasvieira@arm.com>
5856
5857 * config/arm/lib1funcs.S: Add new wrapper.
5858
5859 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5860
5861 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5862
5863 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5864
5865 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5866 and ARMv5t* rather than for a fixed list of architectures.
5867
5868 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5869
5870 * config/arm/bpabi-v6m.S: Clarify what architectures is the
5871 implementation suitable for.
5872 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5873 for all Thumb-1 only targets.
5874 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5875 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5876 __ARM_ARCH_6M__.
5877 (EQUIV): Likewise.
5878 (ARM_FUNC_ALIAS): Likewise.
5879 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5880 version.
5881 (modsi3): Likewise.
5882 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5883 (clzdi2): Likewise.
5884 (ctzsi2): Likewise.
5885 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5886 __ARM_ARCH_6M__ in guard for checking whether it is defined.
5887 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5888 __ARM_ARCH_6M__ and add comment to indicate the connection between
5889 this condition and the one in gcc/config/arm/elf.h.
5890 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5891 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5892 * config/arm/t-softfp: Likewise.
5893
5894 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5895
5896 * libgcc2.c (SYMBOL__MAIN): Remove checks for
5897 CTOR_LISTS_DEFINED_EXTERNALLY.
5898
5899 2016-06-28 Walter Lee <walt@tilera.com>
5900
5901 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5902 asm/unistd.h.
5903 (SPR_CMPEXCH_VALUE): Define for tilegx.
5904 (__NR_FAST_cmpxchg): Define for tilepro.
5905 (__NR_FAST_atomic_update): Define for tilepro.
5906 (__NR_FAST_cmpxchg64): Define for tilepro.
5907
5908 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
5909
5910 * config.host: Add suport for arm*-*-phoenix* targets.
5911
5912 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5913
5914 * config.host: Remove support for mep-*.
5915 * config/mep/lib1funcs.S: Remove.
5916 * config/mep/lib2funcs.c: Remove.
5917 * config/mep/t-mep: Remove.
5918 * config/mep/tramp.c: Remove.
5919
5920 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5921
5922 * config.host: Remove support for avr-rtems.
5923 * config/avr/t-rtems: Remove.
5924
5925 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5926
5927 * config.host: Remove m32r-rtems support.
5928
5929 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5930
5931 * config.host: Remove h8300-rtems support.
5932
5933 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5934
5935 * config.host: Remove support for knetbsd.
5936
5937 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5938
5939 * config.host: Remove support for openbsd 2 and 3.
5940
5941 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5942
5943 * config.host: Remove interix support.
5944 * config/i386/t-interix: Remove.
5945
5946 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
5947
5948 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5949 least-significant bit in function pointer for fixup.
5950
5951 2016-06-05 Aaron Conole <aconole@redhat.com>
5952 Nathan Sidwell <nathan@acm.org>
5953
5954 PR libgcc/71400
5955 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5956 (get_gcov_error_file): Check __gcov_error_file before trying to
5957 initialize it.
5958 (gcov_error): Always use get_gcov_error_file.
5959
5960 2016-06-02 Aaron Conole <aconole@redhat.com>
5961
5962 * libgcov-driver-system.c (__gcov_error_file): New.
5963 (get_gcov_error_file): New.
5964 (gcov_error): Use and set __gcov_error_file.
5965 (gcov_error_exit): New.
5966 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5967
5968 2016-05-26 Nathan Sidwell <nathan@acm.org>
5969
5970 * config/nvptx/free.asm: Delete.
5971 * config/nvptx/malloc.asm: Delete.
5972 * config/nvptx/realloc.c: Delete.
5973 * t-nvptx: Update.
5974
5975 2016-05-25 Nathan Sidwell <nathan@acm.org>
5976
5977 * config/nvptx/crt0.s: Delete.
5978 * config/nvptx/crt0.c: New.
5979 * t-nvptx: Update.
5980
5981 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
5982
5983 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
5984 dw2/seh configuration.
5985 [x86_64-*-mingw*]: Likewise.
5986
5987 2016-05-10 Joel Sherrill <joel@rtems.org>
5988
5989 PR libgcc/70720
5990 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5991 targets so the same extra_parts are built. Also have tmake_file add
5992 on to its value rather than override.
5993
5994 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
5995
5996 * config.host: Remove SH5 support.
5997 * configure: Likewise.
5998
5999 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
6000
6001 * config/sh/crt1.S: Remove SH5 support.
6002 * config/sh/crti.S: Likewise.
6003 * config/sh/crtn.S: Likewise.
6004 * config/sh/lib1funcs-4-300.S: Likewise.
6005 * config/sh/lib1funcs-Os-4-200.S: Likewise.
6006 * config/sh/lib1funcs.S: Likewise.
6007 * config/sh/linux-unwind.h: Likewise.
6008 * config/sh/t-sh64: Delete.
6009
6010 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
6011
6012 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
6013
6014 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
6015 Joern Rennecke <joern.rennecke@embecosm.com>
6016
6017 * config/arc/crttls.S: New file.
6018 * config/arc/t-arc: New rule.
6019 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
6020
6021 2016-04-25 Nick Clifton <nickc@redhat.com>
6022
6023 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
6024 (__mspabi_cmpd): Likewise.
6025 * config/msp430/floathidf.c (__floathidf): Likewise.
6026 * config/msp430/floathisf.c (__floathisf): Likewise
6027 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
6028 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
6029 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
6030 second parameter.
6031 (__ashrsi3): Likewise.
6032
6033 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
6034
6035 * config/m68k/linux-atomic.c: Do not include unistd.h
6036
6037 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
6038
6039 * config/arm/ieee754-df.S: Fix typos in comments.
6040
6041 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
6042
6043 PR target/70381
6044 * configure.ac (powerpc*-*-linux*): Rework tests to build
6045 __float128 emulation routines to not depend on using #pragma GCC
6046 target to enable -mfloat128.
6047 * configure: Regnerate.
6048
6049 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
6050
6051 PR target/67172
6052 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
6053 __MINGW32__ is defined.
6054
6055 2016-03-28 James Bowman <james.bowman@ftdichip.com>
6056
6057 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
6058
6059 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
6060
6061 PR libgcc/70363
6062 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
6063 built with an assembler that does not support ISA 3.0
6064 instructions, rename __extendkftf2_sw to __extendkftf2.
6065
6066 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6067
6068 PR target/38239
6069 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
6070 call-clobbered registers.
6071 (internal_mcount): Remove __i386__ handling.
6072
6073 2016-02-26 Joel Sherrill <joel@rtems.org>
6074
6075 * config.host: Add x86_64-*-rtems*.
6076
6077 2016-02-26 Joel Sherrill <joel@rtems.org>
6078
6079 * libgcc/config.host: Add aarch64-*-rtems*.
6080
6081 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6082 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
6083
6084 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
6085 union of u64 and double.
6086 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
6087 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
6088 value.
6089 (FP_ROUNDMODE): Update the usage of _fpscr.
6090
6091 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
6092
6093 PR driver/68463
6094 * Makefile.in (crtoffloadtable$(objext)): New rule.
6095 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
6096 enable_offload_targets is not empty.
6097 * configure: Regenerate.
6098 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
6099 crtoffloadtable.
6100
6101 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
6102
6103 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
6104 .literal_position before the function.
6105 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
6106 Likewise.
6107
6108 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
6109
6110 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
6111 * config/s390/morestack.S: New file.
6112 * config/s390/t-stack-s390: New file.
6113 * generic-morestack.c (__splitstack_find): Add s390-specific code.
6114
6115 2016-02-12 Walter Lee <walt@tilera.com>
6116
6117 * config.host (tilegx*-*-linux*): remove ti from
6118 softfp_int_modes for 32-bit configs.
6119
6120 2016-02-10 Ian Lance Taylor <iant@google.com>
6121
6122 PR go/68562
6123 * config/i386/morestack.S (__stack_split_initialize): Align
6124 stack.
6125
6126 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
6127
6128 PR bootstrap/69611
6129 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
6130 __FLOAT128__ to compile only for __float128 capable targets.
6131
6132 2016-01-25 Jakub Jelinek <jakub@redhat.com>
6133
6134 PR target/69444
6135 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
6136 instead of ___NO_FPRS__.
6137
6138 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
6139 Steven Munroe <munroesj@linux.vnet.ibm.com>
6140 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
6141
6142 * config/rs6000/float128-sed: New files to convert TF names to KF
6143 names for PowerPC IEEE 128-bit floating point support.
6144 * config/rs6000/float128-sed-hw: Likewise.
6145
6146 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
6147 floating point hardware support.
6148
6149 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6150 128-bit floating point software emulation or use ISA 3.0 hardware
6151 support if it is available.
6152
6153 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6154 floating point.
6155
6156 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
6157 floating point to IBM extended double.
6158
6159 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
6160 double to IEEE 128-bit floating point.
6161
6162 * config/rs6000/t-float128: New Makefile fragments to enable
6163 building __float128 emulation support.
6164 * config/rs6000/t-float128-hw: Likewise.
6165
6166 * config/rs6000/sfp-exceptions.c: New file to provide exception
6167 support for IEEE 128-bit floating point.
6168
6169 * config/rs6000/floattikf.c: New files for converting between IEEE
6170 128-bit floating point and signed/unsigned 128-bit integers.
6171 * config/rs6000/fixunskfti.c: Likewise.
6172 * config/rs6000/fixkfti.c: Likewise.
6173 * config/rs6000/floatuntikf.c: Likewise.
6174
6175 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6176 when building on 64-bit systems, or when VSX is enabled.
6177 (_FP_W_TYPE): Likewise.
6178 (_FP_WS_TYPE): Likewise.
6179 (_FP_I_TYPE): Likewise.
6180 (TItype): Define on 64-bit systems.
6181 (UTItype): Likewise.
6182 (TI_BITS): Likewise.
6183 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6184 (_FP_MUL_MEAT_Q): Likewise.
6185 (_FP_DIV_MEAT_D): Likewise.
6186 (_FP_DIV_MEAT_Q): Likewise.
6187 (_FP_NANFRAC_D): Likewise.
6188 (_FP_NANFRAC_Q): Likewise.
6189 (ISA_BIT): Add exception support if we are being compiled on a
6190 machine with hardware floating point support to build the IEEE
6191 128-bit emulation functions.
6192 (FP_EX_INVALID): Likewise.
6193 (FP_EX_OVERFLOW): Likewise.
6194 (FP_EX_UNDERFLOW): Likewise.
6195 (FP_EX_DIVZERO): Likewise.
6196 (FP_EX_INEXACT): Likewise.
6197 (FP_EX_ALL): Likewise.
6198 (__sfp_handle_exceptions): Likewise.
6199 (FP_HANDLE_EXCEPTIONS): Likewise.
6200 (FP_RND_NEAREST): Likewise.
6201 (FP_RND_ZERO): Likewise.
6202 (FP_RND_PINF): Likewise.
6203 (FP_RND_MINF): Likewise.
6204 (FP_RND_MASK): Likewise.
6205 (_FP_DECL_EX): Likewise.
6206 (FP_INIT_ROUNDMODE): Likewise.
6207 (FP_ROUNDMODE): Likewise.
6208
6209 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6210 VSX code, enable IEEE 128-bit floating point. If the compiler can
6211 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
6212 floating point hardware instructions and it supports declaring
6213 functions with the ifunc attribute, enable ifunc functions to
6214 switch between software and hardware support.
6215 * configure.ac (powerpc*-*-linux*): Likewise.
6216 * configure: Regenerate.
6217
6218 2016-01-15 Nick Clifton <nickc@redhat.com>
6219
6220 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
6221 dependency as the source file to be compiled.
6222 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
6223 (lib2hw_mul_f5.o): Likewise.
6224
6225 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
6226
6227 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
6228 * libgcc/config/rs6000/fixkfti.c: Likewise.
6229 * libgcc/config/rs6000/fixunskfti.c: Likewise.
6230 * libgcc/config/rs6000/float128-hw.c: Likewise.
6231 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
6232 * libgcc/config/rs6000/float128-sed: Likewise.
6233 * libgcc/config/rs6000/floattikf.c: Likewise.
6234 * libgcc/config/rs6000/floatuntikf.c: Likewise.
6235 * libgcc/config/rs6000/quad-float128.h: Likewise.
6236 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
6237 * libgcc/config/rs6000/sfp-machine.h: Likewise.
6238 * libgcc/config/rs6000/t-float128: Likewise.
6239 * libgcc/config/rs6000/t-float128-hw: Likewise.
6240 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
6241 * libgcc/config.host: Likewise.
6242 * libgcc/configure: Likewise.
6243 * libgcc/configure.ac: Likewise.
6244
6245 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
6246 Steven Munroe <munroesj@linux.vnet.ibm.com>
6247 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
6248
6249 * config/rs6000/sfp-exceptions.c: New file to provide exception
6250 support for IEEE 128-bit floating point.
6251
6252 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
6253 floating point hardware support.
6254
6255 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
6256 point conversions.
6257 * config/rs6000/fixunskfti.c: Likewise.
6258 * config/rs6000/fixkfti.c: Likewise.
6259 * config/rs6000/floatuntikf.c: Likewise.
6260 * config/rs6000/extendkftf2-sw.c: Likewise.
6261 * config/rs6000/trunctfkf2-sw.c: Likewise.
6262
6263 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6264 128-bit floating point software emulation or use ISA 3.0 hardware
6265 support if it is available.
6266
6267 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6268 floating point.
6269
6270 * config/rs6000/t-float128: New Makefile fragments to enable
6271 building __float128 emulation support.
6272 * config/rs6000/t-float128-hw: Likewise.
6273
6274 * config/rs6000/float128-sed: New file to convert TF names to KF
6275 names for PowerPC IEEE 128-bit floating point support.
6276
6277 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6278 when building on 64-bit systems, or when VSX is enabled.
6279 (_FP_W_TYPE): Likewise.
6280 (_FP_WS_TYPE): Likewise.
6281 (_FP_I_TYPE): Likewise.
6282 (TItype): Define on 64-bit systems.
6283 (UTItype): Likewise.
6284 (TI_BITS): Likewise.
6285 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6286 (_FP_MUL_MEAT_Q): Likewise.
6287 (_FP_DIV_MEAT_D): Likewise.
6288 (_FP_DIV_MEAT_Q): Likewise.
6289 (_FP_NANFRAC_D): Likewise.
6290 (_FP_NANFRAC_Q): Likewise.
6291 (ISA_BIT): Add exception support if we are being compiled on a
6292 machine with hardware floating point support to build the IEEE
6293 128-bit emulation functions.
6294 (FP_EX_INVALID): Likewise.
6295 (FP_EX_OVERFLOW): Likewise.
6296 (FP_EX_UNDERFLOW): Likewise.
6297 (FP_EX_DIVZERO): Likewise.
6298 (FP_EX_INEXACT): Likewise.
6299 (FP_EX_ALL): Likewise.
6300 (__sfp_handle_exceptions): Likewise.
6301 (FP_HANDLE_EXCEPTIONS): Likewise.
6302 (FP_RND_NEAREST): Likewise.
6303 (FP_RND_ZERO): Likewise.
6304 (FP_RND_PINF): Likewise.
6305 (FP_RND_MINF): Likewise.
6306 (FP_RND_MASK): Likewise.
6307 (_FP_DECL_EX): Likewise.
6308 (FP_INIT_ROUNDMODE): Likewise.
6309 (FP_ROUNDMODE): Likewise.
6310
6311 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
6312 compiler can do __float128.
6313 * configure: Regenerate.
6314
6315 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6316 VSX code, enable IEEE 128-bit floating point.
6317
6318 2016-01-05 Olivier Hainque <hainque@adacore.com>
6319
6320 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
6321 specificities.
6322
6323 2016-01-04 Jakub Jelinek <jakub@redhat.com>
6324
6325 Update copyright years.
6326
6327 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
6328
6329 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
6330 soft-fp targets.
6331
6332 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
6333
6334 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
6335 instead of abort to avoid dependency on stdlib.h.
6336
6337 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
6338
6339 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
6340 to initialize call to __dl_fixup once.
6341
6342 2015-12-04 Nick Clifton <nickc@redhat.com>
6343
6344 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
6345 Allow for the second argument being negative.
6346 * config.host (extra_parts): Define for MSP430. Create separate
6347 libraries for each of the hardware multiply formats.
6348 * config/msp430/lib2hw_mul.S: Build only the multiply routines
6349 that are needed.
6350 * config/msp430/lib2mul.c: Likewise.
6351 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
6352 Add rules to build hardware multiply libraries.
6353 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
6354 __mspabi_divul function.
6355 (__mspabi_divllu): New stub function.
6356
6357 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
6358
6359 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
6360 fixup values if saved GOT address doesn't match runtime address.
6361 (fixup_branch_offset): Reorder list.
6362
6363 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6364
6365 * Makefile.in (VTV_CFLAGS): New variable.
6366 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
6367 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
6368 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6369 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
6370 to extra_parts if $enable_vtable_verify = yes.
6371
6372 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
6373
6374 PR target/68059
6375 * config/arm/linux-atomic-64bit.c (__write): Rename to...
6376 (write): ...this and fix the return type.
6377
6378 2015-11-19 DJ Delorie <dj@redhat.com>
6379
6380 * config/msp430/lib2hw_mul.S: Fix alignment.
6381
6382 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
6383
6384 * config/nvptx/reduction.c: New.
6385 * config/nvptx/t-nvptx (LIB2ADD): Add it.
6386
6387 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
6388
6389 * config/rs6000/on_exit.c: New file.
6390 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
6391 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
6392
6393 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
6394
6395 * config/arc/dp-hack.h: Add support for ARCHS.
6396 * config/arc/ieee-754/divdf3.S: Likewise.
6397 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6398 * config/arc/ieee-754/muldf3.S: Likewise.
6399 * config/arc/ieee-754/mulsf3.S: Likewise
6400 * config/arc/lib1funcs.S: Likewise
6401 * config/arc/gmon/dcache_linesz.S: Don't read the build register
6402 for ARCv2 cores.
6403 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
6404 for ARCv2 cores.
6405 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
6406 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
6407 cores.
6408
6409 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6410
6411 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
6412 value.
6413 * config/ia64/crtend.S: Likewise.
6414
6415 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6416
6417 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
6418 __CHAR_BIT__ instead of BITS_PER_UNIT.
6419 * fixed-bit.h: Likewise.
6420 * fp-bit.h: Likewise.
6421 * libgcc2.c (__popcountSI2): Likewise.
6422 (__popcountDI2): Likewise.
6423 * libgcc2.h: Likewise.
6424 * libgcov.h: Likewise.
6425
6426 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
6427
6428 * config/rs6000/atexit.c: New file.
6429 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
6430 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
6431 * config/rs6000/cxa_finalize.c
6432 (catomic_compare_and_exchange_bool_acq): Negate return value.
6433
6434 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
6435
6436 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
6437 (processor_subtypes): Add znver1.
6438 (get_amd_cpu): Detect znver1.
6439
6440 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
6441
6442 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
6443 Include crtfastmath.o.
6444
6445 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
6446
6447 PR libgcc/66883
6448 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
6449
6450 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
6451
6452 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
6453 * config/rl78/divmodsi.S: Update return register to r8.
6454 * config/rl78/divmodhi.S: Update return register to r8,r9.
6455 Branch to main_loop_done_himode to pop registers before return.
6456
6457 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
6458
6459 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
6460 (__cpu_indicator_init): Fix model selection for AMD CPUs.
6461
6462 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
6463
6464 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
6465
6466 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
6467
6468 * config.host (xtensa*-*-uclinux*): New configuration.
6469
6470 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
6471
6472 * config/i386/cpuinfo.c (processor_features): Add
6473 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
6474
6475 2015-09-28 Joseph Myers <joseph@codesourcery.com>
6476
6477 * soft-fp/adddf3.c: Update from glibc.
6478 * soft-fp/addsf3.c: Likewise.
6479 * soft-fp/addtf3.c: Likewise.
6480 * soft-fp/divdf3.c: Likewise.
6481 * soft-fp/divsf3.c: Likewise.
6482 * soft-fp/divtf3.c: Likewise.
6483 * soft-fp/double.h: Likewise.
6484 * soft-fp/eqdf2.c: Likewise.
6485 * soft-fp/eqsf2.c: Likewise.
6486 * soft-fp/eqtf2.c: Likewise.
6487 * soft-fp/extenddftf2.c: Likewise.
6488 * soft-fp/extended.h: Likewise.
6489 * soft-fp/extendsfdf2.c: Likewise.
6490 * soft-fp/extendsftf2.c: Likewise.
6491 * soft-fp/extendxftf2.c: Likewise.
6492 * soft-fp/fixdfdi.c: Likewise.
6493 * soft-fp/fixdfsi.c: Likewise.
6494 * soft-fp/fixdfti.c: Likewise.
6495 * soft-fp/fixsfdi.c: Likewise.
6496 * soft-fp/fixsfsi.c: Likewise.
6497 * soft-fp/fixsfti.c: Likewise.
6498 * soft-fp/fixtfdi.c: Likewise.
6499 * soft-fp/fixtfsi.c: Likewise.
6500 * soft-fp/fixtfti.c: Likewise.
6501 * soft-fp/fixunsdfdi.c: Likewise.
6502 * soft-fp/fixunsdfsi.c: Likewise.
6503 * soft-fp/fixunsdfti.c: Likewise.
6504 * soft-fp/fixunssfdi.c: Likewise.
6505 * soft-fp/fixunssfsi.c: Likewise.
6506 * soft-fp/fixunssfti.c: Likewise.
6507 * soft-fp/fixunstfdi.c: Likewise.
6508 * soft-fp/fixunstfsi.c: Likewise.
6509 * soft-fp/fixunstfti.c: Likewise.
6510 * soft-fp/floatdidf.c: Likewise.
6511 * soft-fp/floatdisf.c: Likewise.
6512 * soft-fp/floatditf.c: Likewise.
6513 * soft-fp/floatsidf.c: Likewise.
6514 * soft-fp/floatsisf.c: Likewise.
6515 * soft-fp/floatsitf.c: Likewise.
6516 * soft-fp/floattidf.c: Likewise.
6517 * soft-fp/floattisf.c: Likewise.
6518 * soft-fp/floattitf.c: Likewise.
6519 * soft-fp/floatundidf.c: Likewise.
6520 * soft-fp/floatundisf.c: Likewise.
6521 * soft-fp/floatunditf.c: Likewise.
6522 * soft-fp/floatunsidf.c: Likewise.
6523 * soft-fp/floatunsisf.c: Likewise.
6524 * soft-fp/floatunsitf.c: Likewise.
6525 * soft-fp/floatuntidf.c: Likewise.
6526 * soft-fp/floatuntisf.c: Likewise.
6527 * soft-fp/floatuntitf.c: Likewise.
6528 * soft-fp/gedf2.c: Likewise.
6529 * soft-fp/gesf2.c: Likewise.
6530 * soft-fp/getf2.c: Likewise.
6531 * soft-fp/ledf2.c: Likewise.
6532 * soft-fp/lesf2.c: Likewise.
6533 * soft-fp/letf2.c: Likewise.
6534 * soft-fp/muldf3.c: Likewise.
6535 * soft-fp/mulsf3.c: Likewise.
6536 * soft-fp/multf3.c: Likewise.
6537 * soft-fp/negdf2.c: Likewise.
6538 * soft-fp/negsf2.c: Likewise.
6539 * soft-fp/negtf2.c: Likewise.
6540 * soft-fp/op-1.h: Likewise.
6541 * soft-fp/op-2.h: Likewise.
6542 * soft-fp/op-4.h: Likewise.
6543 * soft-fp/op-8.h: Likewise.
6544 * soft-fp/op-common.h: Likewise.
6545 * soft-fp/quad.h: Likewise.
6546 * soft-fp/single.h: Likewise.
6547 * soft-fp/soft-fp.h: Likewise.
6548 * soft-fp/subdf3.c: Likewise.
6549 * soft-fp/subsf3.c: Likewise.
6550 * soft-fp/subtf3.c: Likewise.
6551 * soft-fp/truncdfsf2.c: Likewise.
6552 * soft-fp/trunctfdf2.c: Likewise.
6553 * soft-fp/trunctfsf2.c: Likewise.
6554 * soft-fp/trunctfxf2.c: Likewise.
6555 * soft-fp/unorddf2.c: Likewise.
6556 * soft-fp/unordsf2.c: Likewise.
6557 * soft-fp/unordtf2.c: Likewise.
6558
6559 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
6560
6561 PR libgcc/67624
6562 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
6563
6564 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6565
6566 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6567 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
6568 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
6569 messages.
6570 (internal_mcount): Likewise.
6571 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
6572 crt_compile, add CRTSTUFF_T_CFLAGS_S.
6573
6574 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6575
6576 * configure.ac (libgcc_cv_solaris_crts): New test.
6577 * configure: Regenerate.
6578 * config.in: Regenerate.
6579 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
6580 * config/gmon-sol2.c: Rename to ...
6581 * config/sol2/gmon.c: ... this.
6582 Include auto-target.h.
6583 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
6584 * config/t-sol2: Rename to ...
6585 * config/sol2/t-sol2: ... this.
6586 (gmon.o): Reflect renaming.
6587 (crtp.o, crtpg.o): New rules.
6588 * config.host (*-*-solaris2*): Reflect renaming.
6589 Use system CRTs if present.
6590 Remove default CRT case.
6591
6592 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
6593
6594 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
6595 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
6596 __kernel_cmpxchg2.
6597 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
6598 (__sync_val_compare_and_swap_##WIDTH): Likewise.
6599 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
6600 (__sync_lock_test_and_set_##WIDTH): Likewise.
6601 (__sync_lock_release_##WIDTH): Likewise.
6602 (__sync_fetch_and_##OP##_4): Change result to match type of
6603 __kernel_cmpxchg.
6604 (__sync_##OP##_and_fetch_4): Likewise.
6605 (__sync_val_compare_and_swap_4): Likewise.
6606 (__sync_bool_compare_and_swap_4): likewise.
6607 (__sync_lock_test_and_set_4): Likewise.
6608 (__sync_lock_release_4): Likewise.
6609 (FETCH_AND_OP_2): Add long long variants.
6610 (OP_AND_FETCH_2): Likewise.
6611 (COMPARE_AND_SWAP_2 ): Likewise.
6612 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6613 (SYNC_LOCK_RELEASE_2): Likewise.
6614 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
6615
6616 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
6617
6618 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
6619 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
6620 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
6621 (get_available_features): Habdle new features.
6622
6623 2015-09-21 James Bowman <james.bowman@ftdichip.com>
6624
6625 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
6626 memory layout. Deal correctly with BSS region larger than 32K.
6627 Handle a watchdog reset like a power-on reset. Clean up unused
6628 code.
6629
6630 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
6631 David Edelsohn <dje.gcc@gmail.com>
6632
6633 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6634 * config/rs6000/crtdbase.S: New file.
6635 * config/rs6000/t-aix-cxa: Build crtdbase.o.
6636
6637 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
6638
6639 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6640 Add support for call0 ABI.
6641
6642 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
6643
6644 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6645
6646 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
6647
6648 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6649 (__GTHREAD_HAS_COND): Likewise.
6650 (__gthread_t): Likewise.
6651 (__gthread_cond_t): Likewise.
6652 (__gthread_time_t): Likewise.
6653 (__GTHREAD_MUTEX_INIT): Likewise.
6654 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6655 (__GTHREAD_COND_INIT): Likewise.
6656 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6657 (__GTHREAD_TIME_INIT): Likewise.
6658 (__gthread_create): Likewise.
6659 (__gthread_join): Likewise.
6660 (__gthread_detach): Likewise.
6661 (__gthread_equal): Likewise.
6662 (__gthread_self): Likewise.
6663 (__gthread_yield): Likewise.
6664 (__gthread_cond_broadcast): Likewise.
6665 (__gthread_cond_signal): Likewise.
6666 (__gthread_cond_wait): Likewise.
6667 (__gthread_cond_timedwait): Likewise.
6668 (__gthread_cond_wait_recursive): Likewise.
6669 (__gthread_cond_destroy): Likewise.
6670 (rtems_gxx_once): Delete.
6671 (rtems_gxx_key_create): Likewise.
6672 (rtems_gxx_key_delete): Likewise.
6673 (rtems_gxx_getspecific): Likewise.
6674 (rtems_gxx_setspecific): Likewise.
6675 (rtems_gxx_mutex_init): Likewise.
6676 (rtems_gxx_mutex_destroy): Likewise.
6677 (rtems_gxx_mutex_lock): Likewise.
6678 (rtems_gxx_mutex_trylock): Likewise.
6679 (rtems_gxx_mutex_unlock): Likewise.
6680 (rtems_gxx_recursive_mutex_init): Likewise.
6681 (rtems_gxx_recursive_mutex_lock): Likewise.
6682 (rtems_gxx_recursive_mutex_trylock): Likewise.
6683 (rtems_gxx_recursive_mutex_unlock): Likewise.
6684 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6685 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6686 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6687 (__gthread_once): Likewise.
6688 (__gthread_key_create): Likewise.
6689 (__gthread_key_delete): Likewise.
6690 (__gthread_getspecific): Likewise.
6691 (__gthread_setspecific): Likewise.
6692 (__gthread_key_t): Use <pthread.h> type.
6693 (__gthread_once_t): Likewise
6694 (__gthread_mutex_t): Use <sys/lock.h> type.
6695 (__gthread_recursive_mutex_t): Likewise
6696 (__gthread_mutex_lock): Use <sys/lock.h> function.
6697 (__gthread_mutex_trylock): Likewise.
6698 (__gthread_mutex_timedlock): Likewise.
6699 (__gthread_mutex_unlock): Likewise.
6700 (__gthread_mutex_destroy): Likewise.
6701 (__gthread_recursive_mutex_lock): Likewise.
6702 (__gthread_recursive_mutex_trylock): Likewise.
6703 (__gthread_recursive_mutex_timedlock): Likewise.
6704 (__gthread_recursive_mutex_unlock): Likewise.
6705 (__gthread_recursive_mutex_destroy): Likewise.
6706
6707 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6708
6709 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6710 context->sp instead of context->cfa.
6711
6712 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6713
6714 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6715 with unwind-dw2-fde-dip.
6716
6717 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6718
6719 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6720 CALL12 followed by series of ENTRY to spill windowed registers.
6721 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6722 instead of making linux spill syscall.
6723
6724 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
6725
6726 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6727 (get_intel_cpu): Likewise.
6728
6729 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
6730
6731 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6732 (get_intel_cpu): Add Knights Landing support.
6733
6734 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
6735
6736 PR target/66954
6737 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6738 (get_available_features): Handle FEATURE_PCLMUL.
6739
6740 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
6741
6742 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6743 Broadwell.
6744
6745 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
6746
6747 PR target/66954
6748 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6749 (get_available_features): Handle FEATURE_AES.
6750
6751 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
6752
6753 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6754 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6755
6756 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
6757
6758 * offloadstuff.c: Constify host data.
6759
6760 2015-07-17 Jan Beulich <jbeulich@suse.com>
6761
6762 * config/t-softfp: Split up "else ifneq".
6763
6764 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
6765 Cesar Philippidis <cesar@codesourcery.com>
6766 Chung-Lin Tang <cltang@codesourcery.com>
6767
6768 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6769 for __nios2_arch__ level.
6770
6771 2015-07-13 John Marino <gnugcc@marino.st>
6772
6773 * config/i386/t-dragonfly: New.
6774
6775 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
6776
6777 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6778 better match light-weight syscall argument order.
6779 (__kernel_cmpxchg2): Likewise.
6780 Adjust callers.
6781
6782 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
6783
6784 * config.host: Support i[34567]86-*-elfiamcu target.
6785 * config/t-softfp-sfdftf: New file.
6786 * config/i386/32/t-iamcu: Likewise.
6787 * configure: Regenerated.
6788
6789 2015-06-23 James Lemke <jwlemke@codesourcery.com>
6790
6791 libgcc/config/arm/
6792 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6793
6794 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
6795
6796 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6797
6798 2015-05-27 John Marino <gnugcc@marino.st>
6799
6800 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6801 md_unwind_header
6802 * config/i386/freebsd-unwind.h: New.
6803
6804 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
6805
6806 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6807 i386/t-crtfm to tmake_file.
6808 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6809 (set_fast_math): Use set_fast_math_sse for SSE targets.
6810 * config/i386/t-crtfm: Remove.
6811
6812 2015-05-21 Alan Modra <amodra@gmail.com>
6813
6814 PR libgcc/66225
6815 * config/rs6000/morestack.S: Remove ".abiversion 1".
6816
6817 2015-05-20 Alan Modra <amodra@gmail.com>
6818
6819 * config/rs6000/morestack.S: New.
6820 * config/rs6000/t-stack-rs6000: New.
6821 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6822 to tmake_file.
6823 * generic-morestack.c: Don't build for powerpc 32-bit.
6824
6825 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
6826
6827 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6828 Remove useless endif/ifneq ($(enable_shared),yes) pair.
6829
6830 2015-05-16 James Bowman <james.bowman@ftdichip.com>
6831
6832 * config.host: FT32 target added.
6833 * config/ft32/*: New files for FT32 target.
6834
6835 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
6836
6837 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6838 New macros.
6839 * config/arm/ieee754-df.S: Add CFI directives.
6840 * config/arm/ieee754-sf.S: Add CFI directives.
6841
6842 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
6843
6844 * configure.ac: Include config/sjlj.m4.
6845 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6846 * config.in: Regenerate.
6847 * configure: Likewise.
6848 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6849
6850 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
6851
6852 * libgcov-util.c: Add space between string literal and macro name.
6853
6854 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
6855 Chris Jones <chrisj@nvidia.com>
6856 Joshua Conner <jconner@nvidia.com>
6857
6858 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6859 (arm*-*-uclinux*): Likewise.
6860 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6861 * config/arm/crtfastmath.c: New file.
6862
6863 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
6864
6865 * Makefile.in (real_host_noncanonical): New variable.
6866 (libsubdir): Use it.
6867 * configure.ac (real_host_noncanonical): Compute. Remove special
6868 case for intelmicemul.
6869 * configure: Regenerate.
6870
6871 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
6872
6873 * config/frv/elf-lib.h: New file.
6874 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6875 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6876 to tm_file.
6877
6878 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
6879
6880 * config/frv/frvbengin.c: Do not include defaults.h
6881 * config/frv/frvend.c: Ditto.
6882
6883 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
6884
6885 * config.host: Add h8300-*-linux
6886 * config/h8300/t-linux: New file.
6887 * config/h8300/lib1funs.s: Change symbol prefix.
6888 * config/h8300/sfp-machine.h: 64bit double support.
6889
6890 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
6891 Szabolcs Nagy <szabolcs.nagy@arm.com>
6892
6893 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6894 Linux if target provides dl_iterate_phdr.
6895
6896 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
6897
6898 PR target/65612
6899 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6900 * config/i386/cpuinfo.c (__cpu_model): Initialize.
6901 (__cpu_indicator_init@GCC_4.8.0): New.
6902 (__cpu_model@GCC_4.8.0): Likewise.
6903 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6904 -DUSE_ELF_SYMVER.
6905
6906 2015-04-16 Nick Clifton <nickc@redhat.com>
6907
6908 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6909 and __modhi3 functions.
6910 * config/rl78/divmodso.S: Add G14 and G13 versions of the
6911 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6912
6913 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
6914
6915 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6916 do-while loop as macro body to avoid warnings.
6917
6918 2015-04-10 Jakub Jelinek <jakub@redhat.com>
6919 Iain Sandoe <iain@codesourcery.com>
6920
6921 PR target/65351
6922 * configure: Regenerate.
6923
6924 2015-04-07 Jakub Jelinek <jakub@redhat.com>
6925 Iain Sandoe <iain@codesourcery.com>
6926
6927 PR target/65351
6928 * configure: Regenerate.
6929
6930 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
6931
6932 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6933
6934 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
6935
6936 Implement call0 ABI for xtensa
6937 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6938 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6939 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6940 use ret in call0 ABI.
6941 * config/xtensa/t-windowed: New file.
6942 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6943 * libgcc/configure: Regenerated.
6944 * libgcc/configure.ac: Check if xtensa target is configured for
6945 windowed ABI and thus needs to use custom unwind code.
6946
6947 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
6948
6949 PR libgcc/64885
6950 * gthr-single.h: Use __unused__ attribute instead of unused.
6951 * config/gthr-vxworks.h: Likewise.
6952 * config/i386/gthr-win32.h: Likewise.
6953
6954 2015-02-27 Kai Tietz <ktietz@redhat.com>
6955
6956 PR target/65038
6957 * config.in: Regenerated.
6958 * configure: Likewise.
6959 * configure.ac (AC_HEADER_STDC): Added explicit.
6960 (AC_CHECK_HEADERS): Check for default headers plus
6961 for ftw.h header.
6962 * libgcov-util.c (gcov_read_profile_dir): Disable use
6963 of ftw-function, if header is not found.
6964 (ftw_read_file): Likewise.
6965
6966 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
6967
6968 PR target/65181
6969 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6970 -Dinhibit_libc.
6971
6972 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
6973
6974 * config/arm/bpabi.S (test_div_by_zero): Make label names
6975 consistent between thumb2 and arm mode cases. Separate the
6976 signed comparison on the high word of the numerator from the
6977 unsigned comparison on the low word.
6978 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6979 signed comparison.
6980
6981 2015-02-17 Joseph Myers <joseph@codesourcery.com>
6982
6983 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6984 and <string.h>.
6985 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6986
6987 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
6988
6989 PR gcov-profile/61889
6990 * libgcov-driver-system.c: undefine clashing macro for mkdir.
6991
6992 2015-02-02 Nick Clifton <nickc@redhat.com>
6993
6994 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6995 rounding up the fraction.
6996
6997 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
6998
6999 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
7000 oldval and newval to const void *. Fix typo.
7001 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
7002 (FETCH_AND_OP_WORD): Likewise.
7003 (OP_AND_FETCH_WORD): Likewise.
7004 (COMPARE_AND_SWAP_2): Likewise.
7005 (__sync_val_compare_and_swap_4): Likewise.
7006 (__sync_lock_test_and_set_4): Likewise.
7007 (SYNC_LOCK_RELEASE_2): Likewise.
7008 Remove support for long long atomic operations.
7009
7010 2015-01-27 Caroline Tice <cmtice@google.com>
7011
7012 Committing VTV Cywin/Ming patch for Patrick Wollgast
7013 * Makefile.in: Move rules to build vtv_*.o out of the check
7014 for CUSTOM_CRTSTUFF.
7015 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
7016 i[34567]86-*-mingw*)
7017 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
7018 enable_vtable_verify.
7019
7020 2015-01-27 Nick Clifton <nickc@redhat.com>
7021
7022 * config/rl78/cmpsi2.S: Use function start and end macros.
7023 (__gcc_bcmp): New function.
7024 * config/rl78/lshrsi3.S: Use function start and end macros.
7025 * config/rl78/mulsi3.S: Add support for G10.
7026 (__mulqi3): New function for G10.
7027 * config/rl78/signbit.S: Use function start and end macros.
7028 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
7029 fpmath-sf.S.
7030 (LIB2FUNCS_EXCLUDE): Define.
7031 (LIB2FUNCS_ST): Define.
7032 * config/rl78/trampoline.S: Use function start and end macros.
7033 * config/rl78/vregs.h (START_FUNC): New macro.
7034 (START_ANOTHER_FUNC): New macro.
7035 (END_FUNC): New macro.
7036 (END_ANOTHER_FUNC): New macro.
7037 * config/rl78/bit-count.S: New file. Contains assembler
7038 implementations of the bit counting functions: ___clzhi2,
7039 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
7040 __paritysi2, __popcounthi2 and __popcountsi2.
7041 * config/rl78/fpbit-sf.S: New file. Contains assembler
7042 implementationas of the math functions: __negsf2, __cmpsf2,
7043 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
7044 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
7045 * config/rl78/fpmath-sf.S: New file. Contains assembler
7046 implementations of the math functions: __subsf3, __addsf3,
7047 __mulsf3 and __divsf3
7048
7049 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7050
7051 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
7052 Add i386/elf-lib.h to tm_file.
7053 * config/i386/elf-lib.h: Fix comment.
7054 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
7055 && __sun__ && __svr4__]: Remove workaround.
7056
7057 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
7058
7059 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
7060 FEATURE_BMI2.
7061 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
7062
7063 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
7064
7065 * config/i386/cpuinfo.c (processor_subtypes): Add
7066 INTEL_COREI7_BROADWELL.
7067 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
7068 model numbers.
7069
7070 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
7071
7072 * config/i386/elf-lib.h: New file.
7073 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
7074 Wrap definition in #ifdef __i386__.
7075 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7076 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
7077 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
7078 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
7079 to tm_file.
7080
7081 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
7082
7083 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
7084 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
7085
7086 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
7087
7088 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
7089 Update rt_sigframe format and address for current Nios II
7090 Linux conventions.
7091
7092 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
7093
7094 * config.host (arm*-*-freebsd*): Add new configuration for
7095 arm*-*-freebsd*.
7096 * config/arm/freebsd-atomic.c: New file.
7097 * config/arm/t-freebsd: Likewise.
7098 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
7099 'PC-relative indirect' OS's.
7100
7101 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
7102
7103 * config.host: Add Visium support.
7104 * config/visium: New directory.
7105
7106 2015-01-05 Jakub Jelinek <jakub@redhat.com>
7107
7108 Update copyright years.
7109
7110 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
7111
7112 * config.host: Support mipsisa32r6 and mipsisa64r6.
7113 * config/mips/mips16.S: Do not build for R6.
7114
7115 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
7116
7117 * config/sh/crt.h: New.
7118 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
7119 symbols.
7120 * config/sh/crt1.S: Likewise.
7121
7122 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
7123
7124 PR libgcc/63832
7125 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
7126 func_ptr *dtor_list temporary variable to avoid "array subscript
7127 is above array bounds" warnings.
7128
7129 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
7130
7131 * Makefile.in (with_aix_soname): Define.
7132 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
7133 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
7134 * configure: Recreate.
7135
7136 2014-12-05 Olivier Hainque <hainque@adacore.com>
7137
7138 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
7139 now provided by defaults.h.
7140
7141 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
7142
7143 PR target/55351
7144 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
7145 whether it's defined.
7146
7147 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
7148
7149 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
7150 * config/i386/cpuinfo.c (get_available_features): Detect it.
7151
7152 2014-11-27 Tony Wang <tony.wang@arm.com>
7153
7154 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
7155 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
7156 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
7157
7158 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
7159
7160 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
7161
7162 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
7163
7164 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
7165 instead.
7166
7167 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
7168 John David Anglin <danglin@gcc.gnu.org>
7169
7170 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
7171 (FETCH_AND_OP_2): New. Use for subword and double word operations.
7172 (OP_AND_FETCH_2): Likewise.
7173 (COMPARE_AND_SWAP_2): Likewise.
7174 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
7175 (SYNC_LOCK_RELEASE_2): Likewise.
7176 (SUBWORD_SYNC_OP): Remove.
7177 (SUBWORD_VAL_CAS): Likewise.
7178 (SUBWORD_BOOL_CAS): Likewise.
7179 (FETCH_AND_OP_WORD): Update.
7180 Consistently use signed types.
7181
7182 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
7183 Thomas Schwinge <thomas@codesourcery.com>
7184 Ilya Verbin <ilya.verbin@intel.com>
7185 Andrey Turetskiy <andrey.turetskiy@intel.com>
7186
7187 * Makefile.in (crtoffloadbegin$(objext)): New rule.
7188 (crtoffloadend$(objext)): Likewise.
7189 * configure: Regenerate.
7190 * configure.ac (accel_dir_suffix): Compute new variable.
7191 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
7192 if enable_offload_targets is not empty.
7193 * offloadstuff.c: New file.
7194
7195 2014-11-13 Nick Clifton <nickc@redhat.com>
7196
7197 * config/rl78/divmodhi.S: Add support for the G10 architecture.
7198 Use START_FUNC and END_FUNC macros to enable linker garbage
7199 collection.
7200 * config/rl78/divmodqi.S: Likewise.
7201 * config/rl78/divmodsi.S: Likewise.
7202 * config/rl78/mulsi3.S: Likewise.
7203 * config/rl78/lib2div.c: Remove G10 functions.
7204 * config/rl78/lib2muls.c: Likewise.
7205 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
7206 * config/rl78/vregs.h (START_FUNC): New macro.
7207 (END_FUNC): New macro.
7208
7209 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
7210
7211 * config/mips/mips16.S: Set .module when supported. Update O32
7212 FP64 calling convention and use for FPXX when possible. Add FPXX
7213 calling convention fallback case.
7214
7215 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
7216
7217 * config.host: Handle nvptx-*-*.
7218 * shared-object.mk (as-flags-$o): Define.
7219 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
7220 -xassembler-with-cpp.
7221 * static-object.mk: Identical changes.
7222 * config/nvptx/t-nvptx: New file.
7223 * config/nvptx/crt0.s: New file.
7224 * config/nvptx/free.asm: New file.
7225 * config/nvptx/malloc.asm: New file.
7226 * config/nvptx/realloc.c: New file.
7227
7228 2014-10-30 Joseph Myers <joseph@codesourcery.com>
7229
7230 * Makefile.in (libgcc.map.in): New target.
7231 (libgcc.map): Use libgcc.map.in.
7232 * config/t-softfp (softfp_compat): New variable to be set by
7233 users.
7234 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
7235 variables.
7236 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
7237 directory.
7238 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
7239 that use compat symbols and disable all code unless [SHARED].
7240 * config/t-softfp-compat: New file.
7241 * find-symver.awk: New file.
7242 * configure.ac (--with-glibc-version): New configure option.
7243 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
7244 * configure: Regenerate.
7245 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
7246 soft-float and e500.
7247
7248 2014-10-29 Joseph Myers <joseph@codesourcery.com>
7249
7250 * config/t-hardfp (hardfp_exclusions): Document new variable for
7251 user to define.
7252 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
7253 * config/t-softfp (softfp_extras): Document new variable for user
7254 to define.
7255 (softfp_func_list): Add functions from $(softfp_extras).
7256 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
7257 * config.host (powerpc*-*-linux*): For e500v1, use
7258 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
7259 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
7260 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
7261
7262 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
7263
7264 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
7265 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
7266 memory read accesses are ok.
7267
7268 2014-10-25 Joseph Myers <joseph@codesourcery.com>
7269
7270 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
7271 * configure: Regenerate.
7272 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
7273 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
7274 of soft-fp for 32-bit classic hard float. Do not use
7275 t-softfp-excl for soft float.
7276
7277 2014-10-22 Joseph Myers <joseph@codesourcery.com>
7278
7279 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
7280 configurations.
7281 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
7282 Remove variables.
7283
7284 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
7285
7286 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
7287 introduced with 2014-10-21 trunk r216525.
7288
7289 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7290 Vidya Praveen <vidya.praveen@atmel.com>
7291 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
7292 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
7293 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
7294
7295 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
7296 order.
7297
7298 Updated library functions for AVRTINY arch.
7299 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
7300 Replaced occurrences of r0/r1 with tmp/zero reg macros.
7301 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
7302 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
7303 wsubi/wadi macors.
7304 (__mulsi3_helper): Update stack, preserve callee saved regs and
7305 argument from stack. Restore callee save registers.
7306 (__mulpsi3): Likewise.
7307 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
7308 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
7309 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
7310 AVRTINY.
7311 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
7312 (__do_copy_data): Added new definition for AVRTINY.
7313 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
7314 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
7315 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
7316 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
7317 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
7318 macors.
7319 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
7320 AVRTINY.
7321
7322 Fix broken long multiplication on tiny arch.
7323
7324 2014-10-09 Joseph Myers <joseph@codesourcery.com>
7325
7326 * soft-fp/double.h: Update from glibc.
7327 * soft-fp/eqdf2.c: Likewise.
7328 * soft-fp/eqsf2.c: Likewise.
7329 * soft-fp/eqtf2.c: Likewise.
7330 * soft-fp/extenddftf2.c: Likewise.
7331 * soft-fp/extended.h: Likewise.
7332 * soft-fp/extendsfdf2.c: Likewise.
7333 * soft-fp/extendsftf2.c: Likewise.
7334 * soft-fp/extendxftf2.c: Likewise.
7335 * soft-fp/gedf2.c: Likewise.
7336 * soft-fp/gesf2.c: Likewise.
7337 * soft-fp/getf2.c: Likewise.
7338 * soft-fp/ledf2.c: Likewise.
7339 * soft-fp/lesf2.c: Likewise.
7340 * soft-fp/letf2.c: Likewise.
7341 * soft-fp/op-1.h: Likewise.
7342 * soft-fp/op-2.h: Likewise.
7343 * soft-fp/op-4.h: Likewise.
7344 * soft-fp/op-8.h: Likewise.
7345 * soft-fp/op-common.h: Likewise.
7346 * soft-fp/quad.h: Likewise.
7347 * soft-fp/single.h: Likewise.
7348 * soft-fp/soft-fp.h: Likewise.
7349 * soft-fp/unorddf2.c: Likewise.
7350 * soft-fp/unordsf2.c: Likewise.
7351 * soft-fp/unordtf2.c: Likewise.
7352 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
7353 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
7354 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
7355 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
7356 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
7357 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
7358 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
7359 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
7360 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
7361 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
7362
7363 2014-10-08 Rong Xu <xur@google.com>
7364
7365 * libgcov-util.c (read_gcda_file): Fix format.
7366 (find_match_gcov_info): Ditto.
7367 (calculate_2_entries): New.
7368 (compute_one_gcov): Ditto.
7369 (gcov_info_count_all_cold): Ditto.
7370 (gcov_info_count_all_zero): Ditto.
7371 (extract_file_basename): Ditto.
7372 (get_file_basename): Ditto.
7373 (set_flag): Ditto.
7374 (matched_gcov_info): Ditto.
7375 (calculate_overlap): Ditto.
7376 (gcov_profile_overlap): Ditto.
7377 * libgcov-driver.c (compute_summary): Make
7378 it avavilable for external calls.
7379
7380 2014-10-06 Rong Xu <xur@google.com>
7381
7382 * Makefile.in: Ditto.
7383 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
7384 (gcov_sort_icall_topn_counter): Ditto.
7385 (gcov_sort_topn_counter_arrays): Ditto.
7386 (dump_one_gcov): Sort indirect_call topn counters.
7387 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
7388 function.
7389 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
7390 utility function.
7391 (__gcov_indirect_call_topn_profiler): New profiler function.
7392 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
7393 * libgcov.h: New decls.
7394
7395 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
7396
7397 * config.host: Remove support for score-*.
7398
7399 2014-09-22 Joseph Myers <joseph@codesourcery.com>
7400
7401 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7402 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
7403 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
7404 __LIBGCC_XF_MANT_DIG__.
7405 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
7406 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
7407 __LIBGCC_TF_MANT_DIG__.
7408 * libgcc2.c (NOTRUNC): Define in terms of
7409 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
7410 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7411
7412 2014-09-22 Joseph Myers <joseph@codesourcery.com>
7413
7414 PR target/63312
7415 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
7416 New macros.
7417
7418 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
7419
7420 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
7421 override USE_PT_GNU_EH_FRAME.
7422 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
7423 check USE_EH_FRAME_REGISTRY_ALWAYS against
7424 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
7425 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
7426 variable for substituted force_explicit_eh_registry.
7427 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
7428 * configure.ac (explicit-exception-frame-registration):
7429 New AC_ARG_ENABLE.
7430 * configure: Regenerate.
7431
7432 2014-09-19 Olivier Hainque <hainque@adacore.com>
7433
7434 * config.host (powerpc-wrs-vxworksmils): New configuration,
7435 same as vxworksae.
7436
7437 2014-09-18 Joseph Myers <joseph@codesourcery.com>
7438
7439 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
7440
7441 2014-09-18 Joseph Myers <joseph@codesourcery.com>
7442
7443 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
7444 bits not set bits as indicating trapping exceptions.
7445
7446 2014-09-17 Nathan sidwell <nathan@acm.org>
7447
7448 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
7449 (LIBGCOV_DRIVER): ... here.
7450 * libgcov-driver.c (gcov_master): New.
7451 (gcov_exit): Remove from master chain.
7452 (__gcov_init): Add to master chain if version compatible. Don't
7453 clear the version.
7454 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
7455 (gcov_reset_int): Clear master chain, if compatible.
7456 (gcov_dump_int): New internal interface. Dump master chain, if
7457 compatible.
7458 (gcov_dump): Alias for gcov_dump_int.
7459 * libgcov.h (struct gcov_root): Add next and prev fields.
7460 (struct gcov_master): New struct.
7461 (__gcov_master): New.
7462 (gcov_dump_int): Declare.
7463
7464 2014-09-17 Olivier Hainque <hainque@adacore.com>
7465
7466 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
7467 and crtbegin.o + crtend.o to extra_parts.
7468
7469 2014-09-12 Joseph Myers <joseph@codesourcery.com>
7470
7471 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
7472 __LIBGCC_HAS_SF_MODE__.
7473 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7474 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7475 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7476 * config/libbid/bid_gcc_intrinsics.h
7477 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7478 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7479 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7480 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7481 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
7482 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7483
7484 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
7485
7486 PR target/63223
7487 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
7488 and R24 as needed. Make work for all devices and .text locations.
7489 (__do_global_ctors, __do_global_dtors): Use word addresses.
7490 (__tablejump__, __tablejump_elpm__): Remove functions.
7491 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
7492 Add _tablejump2.
7493 (XICALL, XIJMP): New macros.
7494
7495 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
7496 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7497
7498 * config.host (aarch64*): Include crtfastmath.o and
7499 t-crtfm.
7500 * config/aarch64/crtfastmath.c: New file.
7501
7502 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
7503
7504 * config.host: Remove picochip support.
7505 * config/picochip/adddi3.S: Remove.
7506 * config/picochip/ashlsi3.S: Remove.
7507 * config/picochip/ashlsi3.c: Remove.
7508 * config/picochip/ashrsi3.S: Remove.
7509 * config/picochip/ashrsi3.c: Remove.
7510 * config/picochip/clzsi2.S: Remove.
7511 * config/picochip/cmpsi2.S: Remove.
7512 * config/picochip/divmod15.S: Remove.
7513 * config/picochip/divmodhi4.S: Remove.
7514 * config/picochip/divmodsi4.S: Remove.
7515 * config/picochip/lib1funcs.S: Remove.
7516 * config/picochip/longjmp.S: Remove.
7517 * config/picochip/lshrsi3.S: Remove.
7518 * config/picochip/lshrsi3.c: Remove.
7519 * config/picochip/parityhi2.S: Remove.
7520 * config/picochip/popcounthi2.S: Remove.
7521 * config/picochip/setjmp.S: Remove.
7522 * config/picochip/subdi3.S: Remove.
7523 * config/picochip/t-picochip: Remove.
7524 * config/picochip/ucmpsi2.S: Remove.
7525 * config/picochip/udivmodhi4.S: Remove.
7526 * config/picochip/udivmodsi4.S: Remove.
7527
7528 2014-09-08 Joseph Myers <joseph@codesourcery.com>
7529
7530 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
7531 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
7532 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
7533 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
7534 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
7535 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
7536 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
7537 defined and LIBGCC2_HAS_DF_MODE is defined.
7538 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
7539 defined and LIBGCC2_HAS_XF_MODE is defined.
7540 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
7541 defined and LIBGCC2_HAS_TF_MODE is defined.
7542
7543 2014-09-08 Joseph Myers <joseph@codesourcery.com>
7544
7545 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
7546 and ROUND_TOWARDS_ZERO conditionals.
7547
7548 2014-09-07 Nathan sidwell <nathan@acm.org>
7549
7550 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
7551 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
7552
7553 2014-09-05 Joseph Myers <joseph@codesourcery.com>
7554
7555 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
7556 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7557 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7558 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7559 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7560 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7561 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7562 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
7563 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
7564 (DWARF_FRAME_REGISTERS): Change all uses to
7565 __LIBGCC_DWARF_FRAME_REGISTERS__.
7566 (EH_RETURN_STACKADJ_RTX): Change all uses to
7567 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7568 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
7569 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
7570 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
7571 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
7572 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
7573 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
7574 to __LIBGCC_EH_FRAME_SECTION_NAME__.
7575 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
7576 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
7577 __LIBGCC_STACK_POINTER_REGNUM__.
7578 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7579 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7580 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7581 to __LIBGCC_STACK_POINTER_REGNUM__.
7582 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7583 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7584 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7585 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7586 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7587 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7588 (STACK_POINTER_REGNUM): Change all uses to
7589 __LIBGCC_STACK_POINTER_REGNUM__.
7590 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
7591 use to __LIBGCC_STACK_POINTER_REGNUM__.
7592 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7593 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7594 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
7595 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7596 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
7597 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7598 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7599 to __LIBGCC_STACK_POINTER_REGNUM__.
7600 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
7601 Remove conditional definition.
7602 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
7603 __LIBGCC_TEXT_SECTION_ASM_OP__.
7604 (EH_FRAME_SECTION_NAME): Change all uses to
7605 __LIBGCC_EH_FRAME_SECTION_NAME__.
7606 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
7607 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
7608 (CTORS_SECTION_ASM_OP): Change all uses to
7609 __LIBGCC_CTORS_SECTION_ASM_OP__.
7610 (DTORS_SECTION_ASM_OP): Change all uses to
7611 __LIBGCC_DTORS_SECTION_ASM_OP__.
7612 (JCR_SECTION_NAME): Change all uses to
7613 __LIBGCC_JCR_SECTION_NAME__.
7614 (INIT_SECTION_ASM_OP): Change all uses to
7615 __LIBGCC_INIT_SECTION_ASM_OP__.
7616 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7617 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7618 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
7619 __LIBGCC_STACK_GROWS_DOWNWARD__.
7620 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
7621 __LIBGCC_INIT_SECTION_ASM_OP__.
7622 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7623 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7624 (EH_FRAME_SECTION_NAME): Change all uses to
7625 __LIBGCC_EH_FRAME_SECTION_NAME__.
7626 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
7627 definitions. Change all uses to
7628 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
7629 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
7630 __LIBGCC_STACK_GROWS_DOWNWARD__.
7631 (DWARF_FRAME_REGISTERS): Change all uses to
7632 __LIBGCC_DWARF_FRAME_REGISTERS__.
7633 (EH_RETURN_STACKADJ_RTX): Change all uses to
7634 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7635 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7636 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7637 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7638 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7639 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7640
7641 2014-09-02 Nathan sidwell <nathan@acm.org>
7642
7643 * libgcov-interface.c (STRONG_ALIAS): New.
7644 (__gcov_flush): Call __gcov_reset_int.
7645 (__gcov_reset): Strong alias for ...
7646 (__gcov_reset_ing): ... this renamed hidden version.
7647 * libgcov.h (__gcov_reset_int): New declaration.
7648
7649 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
7650
7651 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7652 call from here...
7653 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7654 (__dso_handle): Define on Cygwin.
7655 * config/i386/t-cygming (crtbeginS.o): New rule.
7656 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7657
7658 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7659 declaration syntax.
7660
7661 2014-08-13 Steve Ellcey <sellcey@mips.com>
7662
7663 * crtstuff.c: Undef caddr_t.
7664
7665 2014-08-12 Steve Ellcey <sellcey@mips.com>
7666
7667 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
7668
7669 2014-08-07 Nathan Sidwell <nathan@acm.org>
7670
7671 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7672 (LIBGCOV_DRIVER): ... to here.
7673 * libgcov.h (gcov_do_dump): New #define.
7674 (struct gcov_root): New.
7675 (__gcov_root): New declaration.
7676 (__gcov_dump_one): Declare.
7677 * libgcov-driver.c (gcov_list, gcov_dump_complete,
7678 run_accounted): Delete.
7679 (gcov_compute_histogram): Add LIST argument, adjust.
7680 (compute_summary): Adjust gcov_compute_histogram call.
7681 (gcov_do_dump): Not hidden, static in libgcov.
7682 (gcov_clear): Move to interface.c.
7683 (__gcov_dump_one): New, broken out of ...
7684 (gcov_exit): ... here. Make static.
7685 (__gcov_root): New.
7686 (__gcov_init): Adjust.
7687 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7688 declarations.
7689 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7690 (gcov_clear): Moved from driver.c. Add LIST argument.
7691 (__gcov_reset): Adjust for changed interfaces.
7692 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7693
7694 2014-08-04 Rohit <rohitarulraj@freescale.com>
7695
7696 PR target/60102
7697 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
7698 based on change in SPE high register numbers and 3 HTM registers.
7699
7700 2014-08-01 Nathan Sidwell <nathan@acm.org>
7701
7702 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7703 LIBGCOV_INTERFACE): Reformat.
7704 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7705 IN_GCOV_TOOL.
7706 * libgcov-interface.c: Reformat some comments.
7707 (__gcov_flush_mx): Add declaration. Tidy up definition.
7708
7709 2014-07-31 Alan Modra <amodra@gmail.com>
7710 Peter Bergner <bergner@vnet.ibm.com>
7711
7712 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7713 (pack_ldouble): New function.
7714 (__gcc_qadd): Use it.
7715 (__gcc_qmul): Likewise.
7716 (__gcc_qdiv): Likewise.
7717 (__gcc_qneg): Likewise.
7718 (__gcc_stoq): Likewise.
7719 (__gcc_dtoq): Likewise.
7720
7721 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
7722
7723 * config/s390/tpf-unwind.h: Include <stdbool.h>.
7724 (__tpf_eh_return): Add original return address as second parameter.
7725 Handle cases where unwinder routines were called directly, instead
7726 of from within the C++ library.
7727
7728 2014-07-29 Nathan Sidwell <nathan@acm.org>
7729
7730 * libgcov.h: Move renaming of entry points to lib gcov specific
7731 portion.
7732 (gcov_do_dump): New rename.
7733 (gcov_rewrite): Remove inline, make HIDDEN.
7734 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7735 (gcov_exit_compute_summary): Rename to ...
7736 (compute_summary): ... here. Add LIST argument.
7737 (gcov_exit_merge_gcda): Rename to ...
7738 (merge_one_data): ... here.
7739 (gcov_exit_write_gcda): Rename to ...
7740 (write_one_data): ... here.
7741 (gcov_exit_merge_summary): Rename to ...
7742 (merge_summary): Add RUN_COUNTED argument.
7743 (gcov_exit_dump_gcov): Rename to ...
7744 (dump_one_gcov): Add RUN_COUNTED argument.
7745 (gcov_do_dump): New function, broken out of ...
7746 (gcov_exit): ... here. Call it.
7747
7748 2014-07-27 Anthony Green <green@moxielogic.com>
7749
7750 * config.host: Add moxiebox configuration suppport.
7751
7752 2014-07-27 Nathan Sidwell <nathan@acm.org>
7753
7754 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7755 (struct gcov_filename): ... here. Include buffer and max length
7756 fields.
7757 (gcov_max_filename): Remove.
7758 (gi_filename): Remove.
7759 (gcov_exit_compute_summary): Compute max filename here.
7760 (gcov_exit_merge_gcda): Add filename parm, adjust.
7761 (gcov_exit_merge_summary): Likewise.
7762 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7763 (gcov_exit): Likewise.
7764 (__gcov_init): Don't calculate max length here.
7765 * libgcov_util.c (max_filename_len): Remove.
7766 (read_gcda_file): Don't calculate max length here.
7767 (gcov_read_profile_dir): Don't propagate here.
7768 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7769 struct gcov_filename changes.
7770 (gcov_exit_open_gcda_file): Likewise.
7771
7772 2014-07-25 Nathan Sidwell <nathan@acm.org>
7773
7774 * libgcov-driver.c (set_gcov_dump_complete,
7775 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7776 functions polluting user's namespace.
7777 (gcov_exit): Set variable directly.
7778 (gcov_clear): Reset variable directly.
7779 * libgcov-interface.c (get_gcov_dymp_complete,
7780 reset_gov_dump_complete): Remove declarations.
7781 (__gcov_reset, __gcov_dump): Don't call them.
7782
7783 2014-07-24 DJ Delorie <dj@redhat.com>
7784
7785 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
7786 (__gcc_deregister_frame): Move logic to detect deregister function
7787 to ...
7788 (__gcc_register_frame): here, so it's consistent with the register
7789 logic.
7790
7791 2014-07-23 Nathan Sidwell <nathan@acm.org>
7792
7793 * libgcov-driver.c (set_gcov_list): Remove.
7794 (gcov_list): Make non-static in GCOV_TOOL.
7795 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7796
7797 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
7798
7799 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7800 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7801 Don't use SYNC_LOCK_RELEASE for int type.
7802
7803 2014-07-14 Richard Biener <rguenther@suse.de>
7804
7805 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7806
7807 2014-07-11 Rong Xu <xur@google.com>
7808
7809 * libgcov-util.c (gcov_max_filename): Fix declartion.
7810
7811 2014-07-10 Rong Xu <xur@google.com>
7812
7813 Add gcov-tool: an offline gcda profile processing tool
7814 Support.
7815 * libgcov-driver.c (gcov_max_filename): Make available
7816 to gcov-tool.
7817 * libgcov-merge.c (__gcov_merge_add): Replace
7818 gcov_read_counter() with a Macro.
7819 (__gcov_merge_ior): Ditto.
7820 (__gcov_merge_time_profile): Ditto.
7821 (__gcov_merge_single): Ditto.
7822 (__gcov_merge_delta): Ditto.
7823 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7824 in the utility functions.
7825 (set_fn_ctrs): Utility function for reading gcda files to in-memory
7826 gcov_list object link lists.
7827 (tag_function): Ditto.
7828 (tag_blocks): Ditto.
7829 (tag_arcs): Ditto.
7830 (tag_lines): Ditto.
7831 (tag_counters): Ditto.
7832 (tag_summary): Ditto.
7833 (read_gcda_finalize): Ditto.
7834 (read_gcda_file): Ditto.
7835 (ftw_read_file): Ditto.
7836 (read_profile_dir_init): Ditto.
7837 (gcov_read_profile_dir): Ditto.
7838 (gcov_read_counter_mem): Ditto.
7839 (gcov_get_merge_weight): Ditto.
7840 (merge_wrapper): A wrapper function that calls merging handler.
7841 (gcov_merge): Merge two gcov_info objects with weights.
7842 (find_match_gcov_info): Find the matched gcov_info in the list.
7843 (gcov_profile_merge): Merge two gcov_info object lists.
7844 (__gcov_add_counter_op): Process edge profile counter values.
7845 (__gcov_ior_counter_op): Process IOR profile counter values.
7846 (__gcov_delta_counter_op): Process delta profile counter values.
7847 (__gcov_single_counter_op): Process single profile counter values.
7848 (fp_scale): Callback function for float-point scaling.
7849 (int_scale): Callback function for integer fraction scaling.
7850 (gcov_profile_scale): Scaling profile counters.
7851 (gcov_profile_normalize): Normalize profile counters.
7852 * libgcov.h: Add headers and functions for gcov-tool use.
7853 (gcov_get_counter): New.
7854 (gcov_get_counter_target): Ditto.
7855 (struct gcov_info): Make the functions field mutable in gcov-tool
7856 compilation.
7857
7858 2014-06-23 Kai Tietz <ktietz@redhat.com>
7859
7860 PR libgcc/61585
7861 * unwind-seh.c (_Unwind_GetGR): Check for proper
7862 index range.
7863 (_Unwind_SetGR): Likewise.
7864
7865 2014-05-22 Nick Clifton <nickc@redhat.com>
7866
7867 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7868 -mhwmult=none.
7869
7870 2014-05-22 Teresa Johnson <tejohnson@google.com>
7871
7872 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7873 include.
7874
7875 2014-05-20 John Marino <gnugcc@marino.st>
7876
7877 * config.host (*-*-dragonfly*): New target.
7878 * crtstuff.c: Make dl_iterate_support generic on *bsd.
7879 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7880 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7881 * config/i386/dragonfly-unwind.h: New.
7882
7883 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7884
7885 PR libgcc/60166
7886 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7887 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7888
7889 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
7890
7891 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7892 implementation.
7893
7894 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
7895
7896 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7897
7898 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7899
7900 PR libgcc/61097
7901 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7902 if --enable-shared.
7903
7904 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
7905
7906 Work around for current cygwin32 build problems.
7907 * config/i386/cygming-crtbegin.c (__register_frame_info,
7908 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7909 functions only for 64-bit systems.
7910
7911 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7912
7913 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7914 (sigill_caught, sigill_hdlr): Remove.
7915
7916 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7917
7918 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7919 check.
7920 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7921 Solaris 9 single-threaded support.
7922 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7923 Solaris 9 single-threaded support. Add call_user_handler code
7924 sequences.
7925 (sparc_is_sighandler): Likewise.
7926
7927 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7928
7929 * config.host: Append t-floattodi to tmake_file depending on
7930 host_address.
7931
7932 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
7933
7934 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
7935
7936 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
7937
7938 PR libgcc/60472
7939 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
7940 variable to avoid "array subscript is above array bounds" warnings.
7941 Use __builtin_expect when checking *jcr_list for NULL.
7942
7943 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7944
7945 PR libgcc/59339
7946 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7947 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7948 vtv_*.o to extra_parts if enable_vtable_verify.
7949
7950 2014-03-06 Nick Clifton <nickc@redhat.com>
7951
7952 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7953 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7954
7955 2014-02-28 Joey Ye <joey.ye@arm.com>
7956
7957 PR libgcc/60166
7958 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7959 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7960 Set to zero.
7961
7962 2014-02-24 Walter Lee <walt@tilera.com>
7963
7964 * config.host: Support "tilegx*" and "tilepro*" triplets.
7965 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7966 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7967
7968 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
7969 Chung-Lin Tang <cltang@codesourcery.com>
7970
7971 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7972 * config/nios2/crti.S: Remove .file directive.
7973 * config/nios2/crtn.S: Likewise.
7974
7975 2014-02-18 Kai Tietz <ktietz@redhat.com>
7976 Jonathan Schleifer <js@webkeks.org>
7977
7978 PR objc/56870
7979 * unwind-seh.c (_GCC_specific_handler): Pass proper
7980 value to unwind-handler.
7981
7982 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7983
7984 * soft-fp/adddf3.c: Update from glibc.
7985 * soft-fp/addsf3.c: Likewise.
7986 * soft-fp/addtf3.c: Likewise.
7987 * soft-fp/divdf3.c: Likewise.
7988 * soft-fp/divsf3.c: Likewise.
7989 * soft-fp/divtf3.c: Likewise.
7990 * soft-fp/double.h: Likewise.
7991 * soft-fp/eqdf2.c: Likewise.
7992 * soft-fp/eqsf2.c: Likewise.
7993 * soft-fp/eqtf2.c: Likewise.
7994 * soft-fp/extenddftf2.c: Likewise.
7995 * soft-fp/extended.h: Likewise.
7996 * soft-fp/extendsfdf2.c: Likewise.
7997 * soft-fp/extendsftf2.c: Likewise.
7998 * soft-fp/extendxftf2.c: Likewise.
7999 * soft-fp/fixdfdi.c: Likewise.
8000 * soft-fp/fixdfsi.c: Likewise.
8001 * soft-fp/fixdfti.c: Likewise.
8002 * soft-fp/fixsfdi.c: Likewise.
8003 * soft-fp/fixsfsi.c: Likewise.
8004 * soft-fp/fixsfti.c: Likewise.
8005 * soft-fp/fixtfdi.c: Likewise.
8006 * soft-fp/fixtfsi.c: Likewise.
8007 * soft-fp/fixtfti.c: Likewise.
8008 * soft-fp/fixunsdfdi.c: Likewise.
8009 * soft-fp/fixunsdfsi.c: Likewise.
8010 * soft-fp/fixunsdfti.c: Likewise.
8011 * soft-fp/fixunssfdi.c: Likewise.
8012 * soft-fp/fixunssfsi.c: Likewise.
8013 * soft-fp/fixunssfti.c: Likewise.
8014 * soft-fp/fixunstfdi.c: Likewise.
8015 * soft-fp/fixunstfsi.c: Likewise.
8016 * soft-fp/fixunstfti.c: Likewise.
8017 * soft-fp/floatdidf.c: Likewise.
8018 * soft-fp/floatdisf.c: Likewise.
8019 * soft-fp/floatditf.c: Likewise.
8020 * soft-fp/floatsidf.c: Likewise.
8021 * soft-fp/floatsisf.c: Likewise.
8022 * soft-fp/floatsitf.c: Likewise.
8023 * soft-fp/floattidf.c: Likewise.
8024 * soft-fp/floattisf.c: Likewise.
8025 * soft-fp/floattitf.c: Likewise.
8026 * soft-fp/floatundidf.c: Likewise.
8027 * soft-fp/floatundisf.c: Likewise.
8028 * soft-fp/floatunditf.c: Likewise.
8029 * soft-fp/floatunsidf.c: Likewise.
8030 * soft-fp/floatunsisf.c: Likewise.
8031 * soft-fp/floatunsitf.c: Likewise.
8032 * soft-fp/floatuntidf.c: Likewise.
8033 * soft-fp/floatuntisf.c: Likewise.
8034 * soft-fp/floatuntitf.c: Likewise.
8035 * soft-fp/gedf2.c: Likewise.
8036 * soft-fp/gesf2.c: Likewise.
8037 * soft-fp/getf2.c: Likewise.
8038 * soft-fp/ledf2.c: Likewise.
8039 * soft-fp/lesf2.c: Likewise.
8040 * soft-fp/letf2.c: Likewise.
8041 * soft-fp/muldf3.c: Likewise.
8042 * soft-fp/mulsf3.c: Likewise.
8043 * soft-fp/multf3.c: Likewise.
8044 * soft-fp/negdf2.c: Likewise.
8045 * soft-fp/negsf2.c: Likewise.
8046 * soft-fp/negtf2.c: Likewise.
8047 * soft-fp/op-1.h: Likewise.
8048 * soft-fp/op-2.h: Likewise.
8049 * soft-fp/op-4.h: Likewise.
8050 * soft-fp/op-8.h: Likewise.
8051 * soft-fp/op-common.h: Likewise.
8052 * soft-fp/quad.h: Likewise.
8053 * soft-fp/single.h: Likewise.
8054 * soft-fp/soft-fp.h: Likewise.
8055 * soft-fp/subdf3.c: Likewise.
8056 * soft-fp/subsf3.c: Likewise.
8057 * soft-fp/subtf3.c: Likewise.
8058 * soft-fp/truncdfsf2.c: Likewise.
8059 * soft-fp/trunctfdf2.c: Likewise.
8060 * soft-fp/trunctfsf2.c: Likewise.
8061 * soft-fp/trunctfxf2.c: Likewise.
8062 * soft-fp/unorddf2.c: Likewise.
8063 * soft-fp/unordsf2.c: Likewise.
8064 * soft-fp/unordtf2.c: Likewise.
8065 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
8066 macro.
8067 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8068 Likewise.
8069 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8070 Likewise.
8071 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8072 Likewise.
8073 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8074 Likewise.
8075 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8076 Likewise.
8077 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8078 Likewise.
8079 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8080 Likewise.
8081 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8082 Likewise.
8083 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8084 Likewise.
8085 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8086 Likewise.
8087 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8088 Likewise.
8089 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8090 Likewise.
8091 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
8092 Likewise.
8093 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
8094 Likewise.
8095 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8096 Likewise.
8097
8098 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8099
8100 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
8101 cannot be represented.
8102 * config/s390/32/_fixsfdi.c: Likewise.
8103 * config/s390/32/_fixtfdi.c: Likewise.
8104 * config/s390/32/_fixunsdfdi.c: Likewise.
8105 * config/s390/32/_fixunssfdi.c: Likewise.
8106 * config/s390/32/_fixunstfdi.c: Likewise.
8107
8108 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
8109
8110 * configure.ac (libgcc_cv_mips_hard_float): New.
8111 * configure: Regenerate.
8112 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
8113 t-softfp-sfdf for hard-float targets.
8114 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
8115 (softfp_float_modes, softfp_int_modes, softfp_extensions)
8116 (softfp_truncations, softfp_exclude_libgcc2): New.
8117 * config/t-hardfp: New file.
8118 * config/t-hardfp-sfdf: Likewise.
8119 * config/hardfp.c: Likewise.
8120
8121 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8122
8123 * config.host: Include t-floattodi also for s390x.
8124 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
8125 * config/s390/32/_fixsfdi.c: Likewise.
8126 * config/s390/32/_fixtfdi.c: Likewise.
8127 * config/s390/32/_fixunsdfdi.c: Likewise.
8128 * config/s390/32/_fixunssfdi.c: Likewise.
8129 * config/s390/32/_fixunstfdi.c: Likewise.
8130
8131 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8132
8133 PR target/59788
8134 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
8135 (install-libgcc-unwind-map-forbuild): New target.
8136 (all): Depend on install-libgcc-unwind-map-forbuild.
8137 (install-libgcc-unwind-map): New target.
8138 (install): Depend on install-libgcc-unwind-map.
8139
8140 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
8141
8142 * config/nios2/crti.S (_init): Initialize GOT pointer from
8143 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
8144
8145 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
8146
8147 * configure.ac: Check __mips64 when setting host_address.
8148 * configure: Regenerate.
8149 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
8150 mips/t-mips64 and t-softfp.
8151 (mips*-*-linux*): Don't add mips/t-tpbit.
8152 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
8153 (DPBIT, DPBIT_CFLAGS): Delete.
8154 * config/mips/sfp-machine.h: New file.
8155 * config/mips/t-mips64: Likewise.
8156 * config/mips/t-softfp-tf: Likewise.
8157 * config/mips/t-tpbit: Delete.
8158
8159 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
8160
8161 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
8162 as long long.
8163
8164 2014-01-25 Walter Lee <walt@tilera.com>
8165
8166 * config/tilepro/atomic.c: Include tconfig.h. Don't include
8167 config.h or system.h.
8168 (bool) Define.
8169
8170 2014-01-25 Walter Lee <walt@tilera.com>
8171
8172 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
8173 (post_atomic_barrier): Ditto.
8174 (__fetch_and_do): New macro.
8175 (__atomic_fetch_and_do): Use __fetch_and_do.
8176 (__sync_fetch_and_do): New macro.
8177 (__sync_fetch_and_add_4): New function.
8178 (__sync_fetch_and_sub_4): New function.
8179 (__sync_fetch_and_or_4): New function.
8180 (__sync_fetch_and_and_4): New function.
8181 (__sync_fetch_and_xor_4): New function.
8182 (__sync_fetch_and_nand_4): New function.
8183 (__sync_fetch_and_add_8): New function.
8184 (__sync_fetch_and_sub_8): New function.
8185 (__sync_fetch_and_or_8): New function.
8186 (__sync_fetch_and_and_8): New function.
8187 (__sync_fetch_and_xor_8): New function.
8188 (__sync_fetch_and_nand_8): New function.
8189 (__do_and_fetch): New macro.
8190 (__atomic_do_and_fetch): Use __do_and_fetch.
8191 (__sync_do_and_fetch): New macro.
8192 (__sync_add_and_fetch_4): New function.
8193 (__sync_sub_and_fetch_4): New function.
8194 (__sync_or_and_fetch_4): New function.
8195 (__sync_and_and_fetch_4): New function.
8196 (__sync_xor_and_fetch_4): New function.
8197 (__sync_nand_and_fetch_4): New function.
8198 (__sync_add_and_fetch_8): New function.
8199 (__sync_sub_and_fetch_8): New function.
8200 (__sync_or_and_fetch_8): New function.
8201 (__sync_and_and_fetch_8): New function.
8202 (__sync_xor_and_fetch_8): New function.
8203 (__sync_nand_and_fetch_8): New function.
8204 (__sync_exchange_methods): New macro.
8205 (__sync_val_compare_and_swap_4): New function.
8206 (__sync_bool_compare_and_swap_4): New function.
8207 (__sync_lock_test_and_test_4): New function.
8208 (__sync_val_compare_and_swap_8): New function.
8209 (__sync_bool_compare_and_swap_8): New function.
8210 (__sync_lock_test_and_test_8): New function.
8211 (__subword_cmpxchg_body): New macro.
8212 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
8213 (__atomic_compare_exchange_2): Ditto.
8214 (__sync_subword_cmpxchg): New macro.
8215 (__sync_val_compare_and_swap_1): New function.
8216 (__sync_bool_compare_and_swap_1): New function.
8217 (__sync_val_compare_and_swap_2): New function.
8218 (__sync_bool_compare_and_swap_2): New function.
8219 (__atomic_subword): Rename to ...
8220 (__subword): ... New name.
8221 (__atomic_subword_fetch): Use __subword.
8222 (__sync_subword_fetch): New macro.
8223 (__sync_fetch_and_add_1): New function.
8224 (__sync_fetch_and_sub_1): New function.
8225 (__sync_fetch_and_or_1): New function.
8226 (__sync_fetch_and_and_1): New function.
8227 (__sync_fetch_and_xor_1): New function.
8228 (__sync_fetch_and_nand_1): New function.
8229 (__sync_fetch_and_add_2): New function.
8230 (__sync_fetch_and_sub_2): New function.
8231 (__sync_fetch_and_or_2): New function.
8232 (__sync_fetch_and_and_2): New function.
8233 (__sync_fetch_and_xor_2): New function.
8234 (__sync_fetch_and_nand_2): New function.
8235 (__sync_add_and_fetch_1): New function.
8236 (__sync_sub_and_fetch_1): New function.
8237 (__sync_or_and_fetch_1): New function.
8238 (__sync_and_and_fetch_1): New function.
8239 (__sync_xor_and_fetch_1): New function.
8240 (__sync_nand_and_fetch_1): New function.
8241 (__sync_add_and_fetch_2): New function.
8242 (__sync_sub_and_fetch_2): New function.
8243 (__sync_or_and_fetch_2): New function.
8244 (__sync_and_and_fetch_2): New function.
8245 (__sync_xor_and_fetch_2): New function.
8246 (__sync_nand_and_fetch_2): New function.
8247 (__atomic_subword_lock): Use __subword.
8248 (__sync_subword_lock): New macro.
8249 (__sync_lock_test_and_set_1): New function.
8250 (__sync_lock_test_and_set_2): New function.
8251
8252 2014-01-25 Walter Lee <walt@tilera.com>
8253
8254 * config/tilepro/atomic.c (BIT_OFFSET): Define.
8255 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
8256 (__atomic_subword): Ditto.
8257
8258 2014-01-25 Walter Lee <walt@tilera.com>
8259
8260 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
8261 a prefix op argument.
8262 (__atomic_nand_fetch_4): Add prefix op.
8263 (__atomic_nand_fetch_8): Ditto.
8264
8265 2014-01-21 Baruch Siach <barch@tkos.co.il>
8266
8267 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
8268
8269 2014-01-09 Rong Xu <xur@google.com>
8270
8271 * libgcov-driver.c (this_prg): make it local to save
8272 bss space.
8273 (gcov_exit_compute_summary): Ditto.
8274 (gcov_exit_merge_gcda): Ditto.
8275 (gcov_exit_merge_summary): Ditto.
8276 (gcov_exit_dump_gcov): Ditto.
8277
8278 2014-01-08 Rong Xu <xur@google.com>
8279
8280 * libgcov-driver.c: Use libgcov.h.
8281 (buffer_fn_data): Use xmalloc instead of malloc.
8282 (gcov_exit_merge_gcda): Ditto.
8283 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
8284 * libgcov.h: New common header files for libgcov-*.h.
8285 * libgcov-interface.c: Use libgcov.h
8286 * libgcov-merge.c: Ditto.
8287 * libgcov-profiler.c: Ditto.
8288 * Makefile.in: Add dependence to libgcov.h
8289
8290 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8291
8292 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
8293 case of small numerator and finite nonzero result.
8294
8295 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
8296
8297 Update copyright years
8298
8299 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
8300
8301 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
8302 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
8303 config/arc/dp-hack.h, config/arc/fp-hack.h,
8304 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
8305 config/arc/ieee-754/arc600-dsp/divdf3.S,
8306 config/arc/ieee-754/arc600-dsp/divsf3.S,
8307 config/arc/ieee-754/arc600-dsp/muldf3.S,
8308 config/arc/ieee-754/arc600-dsp/mulsf3.S,
8309 config/arc/ieee-754/arc600-mul64/divdf3.S,
8310 config/arc/ieee-754/arc600-mul64/divsf3.S,
8311 config/arc/ieee-754/arc600-mul64/muldf3.S,
8312 config/arc/ieee-754/arc600-mul64/mulsf3.S,
8313 config/arc/ieee-754/arc600/divsf3.S,
8314 config/arc/ieee-754/arc600/mulsf3.S,
8315 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
8316 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
8317 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
8318 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
8319 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
8320 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
8321 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
8322 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
8323 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
8324 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
8325 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
8326 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
8327 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
8328 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
8329 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
8330 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
8331 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
8332 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
8333 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
8334 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
8335 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
8336 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
8337 vtv_start_preinit.c: Use the standard form for the copyright notice.
8338
8339 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
8340 Chung-Lin Tang <cltang@codesourcery.com>
8341 Based on patches from Altera Corporation
8342
8343 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
8344 * config/nios2/lib2-nios2.h: New file.
8345 * config/nios2/lib2-divmod-hi.c: New file.
8346 * config/nios2/linux-unwind.h: New file.
8347 * config/nios2/lib2-divmod.c: New file.
8348 * config/nios2/linux-atomic.c: New file.
8349 * config/nios2/t-nios2: New file.
8350 * config/nios2/crti.asm: New file.
8351 * config/nios2/t-linux: New file.
8352 * config/nios2/lib2-divtable.c: New file.
8353 * config/nios2/lib2-mul.c: New file.
8354 * config/nios2/tramp.c: New file.
8355 * config/nios2/crtn.asm: New file.
8356
8357 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
8358
8359 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
8360 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
8361 from cpuid.h to check vendor signatures.
8362
8363 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
8364
8365 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
8366 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
8367 (get_amd_cpu): Likewise.
8368
8369 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
8370
8371 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
8372 Haswell.
8373
8374 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
8375 H.J. Lu <hongjiu.lu@intel.com>
8376
8377 PR target/59422
8378 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
8379 and AMD_JAGUAR.
8380 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
8381 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
8382 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
8383 FEATURE_XOP and FEATURE_FMA.
8384 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
8385 AMDFAM15H_BDVER3.
8386 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
8387 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
8388 FEATURE_FMA4 and FEATURE_XOP.
8389
8390 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
8391
8392 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
8393 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
8394 (get_intel_cpu): Updated.
8395
8396 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
8397
8398 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
8399
8400 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
8401
8402 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
8403 instructions when __SSE_MATH__ is defined.
8404
8405 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
8406
8407 * config.host (microblaze-*-rtems*): New.
8408
8409 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
8410
8411 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
8412 architectures that do not have hardware divide instruction.
8413 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
8414
8415 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
8416
8417 * longlong.h: Delete (moved to include/).
8418
8419 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8420
8421 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
8422 of normal number and qNaN to not raise an inexact exception.
8423
8424 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
8425
8426 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
8427
8428 2013-11-28 Matthew Leach <matthew.leach@arm.com>
8429
8430 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
8431 for correct opcodes on BE.
8432
8433 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
8434
8435 * soft-fp/op-4.h: Update from glibc.
8436
8437 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
8438
8439 * libgcc2.c (__udivmoddi4): Define new implementation when
8440 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
8441 divide instructions.
8442
8443 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
8444
8445 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
8446
8447 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8448
8449 * config/t-softfp (soft-fp-objects-base): New variable.
8450 (soft-fp-objects): Use it.
8451
8452 2013-11-23 David Edelson <dje.gcc@gmail.com>
8453 Andrew Dixie <andrewd@gentrack.com>
8454
8455 PR target/33704
8456 * config/rs6000/aixinitfini.c: New file.
8457 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
8458 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
8459 symbols.
8460
8461 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
8462
8463 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
8464
8465 2013-11-18 Jan Hubicka <jh@suse.cz>
8466
8467 * libgcov-driver.c (run_accounted): Make global level static.
8468 (gcov_exit_merge_summary): Silence warning; do not clear
8469 run_accounted here.
8470 (gcov_exit): Clear it here.
8471
8472 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
8473 run_accounted.
8474
8475 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
8476 (all_prg, crc32): Remove static vars.
8477 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
8478 all_prg.
8479 (gcov_exit_merge_gcda): Add crc32 parameter.
8480 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
8481 do not account run if it was already accounted.
8482 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
8483 (gcov_exit): Initialize all_prg; update.
8484
8485 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
8486
8487 * configure: Regenerate.
8488
8489 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8490 Alan Modra <amodra@gmail.com>
8491
8492 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
8493 (frob_update_context): Use it.
8494
8495 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8496 Alan Modra <amodra@gmail.com>
8497
8498 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
8499 (trampoline_initial): Provide ELFv2 variant.
8500 (__trampoline_setup): Likewise.
8501
8502 * config/rs6000/linux-unwind.h (frob_update_context): Do not
8503 check for AIX indirect function call sequence if _CALL_ELF == 2.
8504
8505 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8506 Alan Modra <amodra@gmail.com>
8507
8508 * config/rs6000/linux-unwind.h (get_regs): Do not support
8509 old kernel versions if _CALL_ELF == 2.
8510 (frob_update_context): Do not support PLT stub variants only
8511 generated by old linkers if _CALL_ELF == 2.
8512
8513 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8514 Alan Modra <amodra@gmail.com>
8515
8516 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
8517 location of CR save area for 64-bit little-endian systems.
8518
8519 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
8520
8521 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
8522 in tmake_file.
8523 * config/arm/t-vxworks: Delete.
8524
8525 2013-11-10 Kai Tietz <ktietz@redhat.com>
8526
8527 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
8528 Increment load-count on use of LIBGCC_SONAME DLL.
8529 (hmod_libgcc): New static variable to hold handle of
8530 LIBGCC_SONAME DLL.
8531 (__gcc_deregister_frame): Decrement load-count of
8532 LIBGCC_SONAME DLL.
8533
8534 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
8535
8536 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
8537 availability.
8538 * configure: Regenerate
8539
8540 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
8541
8542 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
8543 FP_EX_DENORM. Store result to volatile location after SSE division
8544 to close interrupt window. Remove unneeded fwait after x87
8545 division since interrupt window will be closed by emitted fstp.
8546 Rewrite FP_EX_INEXACT handling.
8547
8548 2013-11-06 Joseph Myers <joseph@codesourcery.com>
8549
8550 * soft-fp/README: Update.
8551 * soft-fp/adddf3.c: Update from glibc.
8552 * soft-fp/addsf3.c: Likewise.
8553 * soft-fp/addtf3.c: Likewise.
8554 * soft-fp/divdf3.c: Likewise.
8555 * soft-fp/divsf3.c: Likewise.
8556 * soft-fp/divtf3.c: Likewise.
8557 * soft-fp/double.h: Likewise.
8558 * soft-fp/eqdf2.c: Likewise.
8559 * soft-fp/eqsf2.c: Likewise.
8560 * soft-fp/eqtf2.c: Likewise.
8561 * soft-fp/extenddftf2.c: Likewise.
8562 * soft-fp/extended.h: Likewise.
8563 * soft-fp/extendsfdf2.c: Likewise.
8564 * soft-fp/extendsftf2.c: Likewise.
8565 * soft-fp/extendxftf2.c: Likewise.
8566 * soft-fp/fixdfdi.c: Likewise.
8567 * soft-fp/fixdfsi.c: Likewise.
8568 * soft-fp/fixdfti.c: Likewise.
8569 * soft-fp/fixsfdi.c: Likewise.
8570 * soft-fp/fixsfsi.c: Likewise.
8571 * soft-fp/fixsfti.c: Likewise.
8572 * soft-fp/fixtfdi.c: Likewise.
8573 * soft-fp/fixtfsi.c: Likewise.
8574 * soft-fp/fixtfti.c: Likewise.
8575 * soft-fp/fixunsdfdi.c: Likewise.
8576 * soft-fp/fixunsdfsi.c: Likewise.
8577 * soft-fp/fixunsdfti.c: Likewise.
8578 * soft-fp/fixunssfdi.c: Likewise.
8579 * soft-fp/fixunssfsi.c: Likewise.
8580 * soft-fp/fixunssfti.c: Likewise.
8581 * soft-fp/fixunstfdi.c: Likewise.
8582 * soft-fp/fixunstfsi.c: Likewise.
8583 * soft-fp/fixunstfti.c: Likewise.
8584 * soft-fp/floatdidf.c: Likewise.
8585 * soft-fp/floatdisf.c: Likewise.
8586 * soft-fp/floatditf.c: Likewise.
8587 * soft-fp/floatsidf.c: Likewise.
8588 * soft-fp/floatsisf.c: Likewise.
8589 * soft-fp/floatsitf.c: Likewise.
8590 * soft-fp/floattidf.c: Likewise.
8591 * soft-fp/floattisf.c: Likewise.
8592 * soft-fp/floattitf.c: Likewise.
8593 * soft-fp/floatundidf.c: Likewise.
8594 * soft-fp/floatundisf.c: Likewise.
8595 * soft-fp/floatunditf.c: Likewise.
8596 * soft-fp/floatunsidf.c: Likewise.
8597 * soft-fp/floatunsisf.c: Likewise.
8598 * soft-fp/floatunsitf.c: Likewise.
8599 * soft-fp/floatuntidf.c: Likewise.
8600 * soft-fp/floatuntisf.c: Likewise.
8601 * soft-fp/floatuntitf.c: Likewise.
8602 * soft-fp/gedf2.c: Likewise.
8603 * soft-fp/gesf2.c: Likewise.
8604 * soft-fp/getf2.c: Likewise.
8605 * soft-fp/ledf2.c: Likewise.
8606 * soft-fp/lesf2.c: Likewise.
8607 * soft-fp/letf2.c: Likewise.
8608 * soft-fp/muldf3.c: Likewise.
8609 * soft-fp/mulsf3.c: Likewise.
8610 * soft-fp/multf3.c: Likewise.
8611 * soft-fp/negdf2.c: Likewise.
8612 * soft-fp/negsf2.c: Likewise.
8613 * soft-fp/negtf2.c: Likewise.
8614 * soft-fp/op-1.h: Likewise.
8615 * soft-fp/op-2.h: Likewise.
8616 * soft-fp/op-4.h: Likewise.
8617 * soft-fp/op-8.h: Likewise.
8618 * soft-fp/op-common.h: Likewise.
8619 * soft-fp/quad.h: Likewise.
8620 * soft-fp/single.h: Likewise.
8621 * soft-fp/soft-fp.h: Likewise.
8622 * soft-fp/subdf3.c: Likewise.
8623 * soft-fp/subsf3.c: Likewise.
8624 * soft-fp/subtf3.c: Likewise.
8625 * soft-fp/truncdfsf2.c: Likewise.
8626 * soft-fp/trunctfdf2.c: Likewise.
8627 * soft-fp/trunctfsf2.c: Likewise.
8628 * soft-fp/trunctfxf2.c: Likewise.
8629 * soft-fp/unorddf2.c: Likewise.
8630 * soft-fp/unordsf2.c: Likewise.
8631 * soft-fp/unordtf2.c: Likewise.
8632
8633 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
8634
8635 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8636 (_FP_MUL_MEAT_D): Ditto.
8637 (_FP_DIV_MEAT_S): Ditto.
8638 (_FP_DIV_MEAT_D): Ditto.
8639 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8640 t-softfp-sfdf and t-softfp to tmake_file.
8641
8642 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
8643
8644 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8645 * config/i386/crtprec.c: Ditto.
8646
8647 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
8648 Shiva Chen <shiva0217@gmail.com>
8649
8650 * config.host (nds32*-elf*): Add nds32 target.
8651 * config/nds32 : New directory and files.
8652
8653 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
8654
8655 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
8656 * config.host (cpu_type) <Setting default>: Add entry for
8657 crisv32-*-*.
8658 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8659 <crisv32-*-linux*>: Adjust.
8660 * longlong.h: Wrap the whole CRIS section in a single
8661 defined(__CRIS__) conditional. Add comment about add_ssaaaa
8662 and sub_ddmmss.
8663 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8664 defined.
8665 [__CRIS__] (__umulsidi3): Define.
8666 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8667 * config/cris/sfp-machine.h: New file.
8668 * config/cris/umulsidi3.S: New file.
8669 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8670 * config/cris/arit.c (SIGNMULT): New macro.
8671 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8672 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8673 saving 3 out of originally 33 cycles from the fastest
8674 path, 3 out of 54 from the medium path and one from the longest
8675 path. Improve comments.
8676
8677 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
8678
8679 * sync.c: Remove static aliases and define each function directly
8680 under its real name.
8681
8682 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
8683
8684 * config.host (hppa*64*-*-linux*): Define extra_parts.
8685 (hppa*-*-linux*): Likewise.
8686
8687 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
8688
8689 * config/arc/crtgend.S: Add 2013 to Copyright years.
8690 * config/arc/gmon/atomic.h: Likewise.
8691 * config/arc/gmon/auxreg.h: Likewise.
8692 * config/arc/gmon/sys/gmon_out.h: Likewise.
8693 * config/arc/gmon/sys/gmon.h: Likewise.
8694 * config/arc/gmon/prof-freq.c: Likewise.
8695 * config/arc/gmon/mcount.c: Likewise.
8696 * config/arc/gmon/prof-freq-stub.S: Likewise.
8697 * config/arc/gmon/gmon.c: Likewise.
8698 * config/arc/gmon/machine-gmon.h: Likewise.
8699 * config/arc/gmon/profil.S: Likewise.
8700 * config/arc/gmon/dcache_linesz.S: Likewise.
8701 * config/arc/crtg.S: Likewise.
8702 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8703 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8704 * config/arc/ieee-754/adddf3.S: Likewise.
8705 * config/arc/ieee-754/truncdfsf2.S: Likewise.
8706 * config/arc/ieee-754/fixsfsi.S: Likewise.
8707 * config/arc/ieee-754/gtsf2.S: Likewise.
8708 * config/arc/ieee-754/floatsisf.S: Likewise.
8709 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8710 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8711 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8712 * config/arc/ieee-754/fixdfsi.S: Likewise.
8713 * config/arc/ieee-754/addsf3.S: Likewise.
8714 * config/arc/ieee-754/gesf2.S: Likewise.
8715 * config/arc/ieee-754/floatsidf.S: Likewise.
8716 * config/arc/ieee-754/extendsfdf2.S: Likewise.
8717 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8718 * config/arc/ieee-754/gtdf2.S: Likewise.
8719 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8720 * config/arc/ieee-754/uneqdf2.S: Likewise.
8721 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8722 * config/arc/ieee-754/uneqsf2.S: Likewise.
8723 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8724 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8725 * config/arc/ieee-754/eqdf2.S: Likewise.
8726 * config/arc/ieee-754/ordsf2.S: Likewise.
8727 * config/arc/ieee-754/divsf3.S: Likewise.
8728 * config/arc/ieee-754/divdf3.S: Likewise.
8729 * config/arc/ieee-754/floatunsidf.S: Likewise.
8730 * config/arc/ieee-754/orddf2.S: Likewise.
8731 * config/arc/ieee-754/eqsf2.S: Likewise.
8732 * config/arc/ieee-754/gedf2.S: Likewise.
8733 * config/arc/crtn.S: Likewise.
8734 * config/arc/crti.S: Likewise.
8735 * config/arc/t-arc700-uClibc: Likewise.
8736 * config/arc/asm.h: Likewise.
8737 * config/arc/libgcc-excl.ver: Likewise.
8738 * config/arc/t-arc-newlib: Likewise.
8739 * config/arc/divtab-arc700.c: Likewise.
8740 * config/arc/initfini.c: Likewise.
8741 * config/arc/fp-hack.h: Likewise.
8742
8743 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8744 Diego Novillo <dnovillo@google.com>
8745
8746 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
8747 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8748 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8749 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8750
8751 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8752 Brendan Kehoe <brendan@zen.org>
8753 Simon Cook <simon.cook@embecosm.com>
8754
8755 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8756 * config/arc: New directory.
8757 * longlong.h [__arc__] (umul_ppmm): Remove.
8758 [__arc__] (__umulsidi3): Define.
8759 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8760 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8761
8762 2013-09-17 Jacek Caban <jacek@codeweavers.com>
8763
8764 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8765 CreateSemaphoreA.
8766 * config/i386/gthr-win32.h: Likewise.
8767
8768 2013-09-16 DJ Delorie <dj@redhat.com>
8769
8770 * config/rl78/vregs.h: Add G10 register definitions.
8771 * config/rl78/lib2mul.c: Enable for RL78/G10.
8772 * config/rl78/lib2div.c: Likewise.
8773 * config/rl78/lshrsi3.S: Use vregs.h.
8774 * config/rl78/cmpsi2.S: Likewise.
8775 * config/rl78/trampoline.S: Likewise.
8776 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
8777
8778 2013-09-14 DJ Delorie <dj@redhat.com>
8779 Nick Clifton <nickc@redhat.com>
8780
8781 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8782 * config/rl78/vregs.h: New.
8783 * config/rl78/signbit.S: New file. Implements signbit function.
8784 * config/rl78/divmodsi.S: New.
8785 * config/rl78/divmodhi.S: New.
8786 * config/rl78/divmodqi.S: New.
8787 * config/rl78/t-rl78: Build them here...
8788 * config/rl78/lib2div.c: ...but not here.
8789
8790 2013-09-12 DJ Delorie <dj@redhat.com>
8791
8792 * config.host (msp*-*-elf): New.
8793 * config/msp430/: New port.
8794
8795 2013-08-18 Iain Sandoe <iain@codesourcery.com>
8796
8797 PR gcov-profile/58127
8798 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8799 __thread var for emulated TLS.
8800 (__gcov_indirect_call_counters): Likewise.
8801
8802 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
8803 Catherine Moore <clm@codesourcery.com>
8804 Richard Sandiford <rdsandiford@googlemail.com>
8805
8806 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8807 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8808 (CALL_STUB_NO_RET): Likewise.
8809 (CALL_STUB_RET): Likewise.
8810 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8811 __mips16_ret call/return stub symbols.
8812 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8813 to tmake_file.
8814
8815 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
8816
8817 * config.host <mips*-*-linux*>: Remove a stray comment.
8818
8819 2013-08-10 Jan Hubicka <jh@suse.cz>
8820
8821 Work around binutils PR14342
8822 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8823 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8824 (L_gcov_indirect_call_profiler_v2): New.
8825
8826 2013-08-06 Jan Hubicka <jh@suse.cz>
8827
8828 * libgcov.c (__gcov_indirect_call_callee,
8829 __gcov_indirect_call_counters): New global vars.
8830 (__gcov_indirect_call_profiler): replace by ...
8831 (__gcov_indirect_call_profiler_v2) ... this one.
8832
8833 2013-08-06 Caroline Tice <cmtice@google.com>
8834
8835 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
8836 vtv_start_preinit.o and vtv_end_preinit.o.
8837 * configure.ac: Add code to check/set enable_vtable_verify.
8838 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
8839 true.
8840 * vtv_start_preinit.c: New file.
8841 * vtv_end_preinit.c: New file.
8842 * vtv_start.c: New file.
8843 * vtv_end.c: New file.
8844 * configure: Regenerated.
8845
8846 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
8847
8848 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8849 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8850 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8851 GPL-3.0-with-GCC-exception.
8852
8853 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
8854
8855 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8856 ISA and up.
8857
8858 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8859
8860 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8861 mapping for FPRs when creating the fallback framestate.
8862
8863 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
8864
8865 PR target/57516
8866 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8867 (__round_s2_const, __round_u2_const)
8868 (__round_s4_const, __round_u4_const, __round_x8):
8869 Saturate result if addition result cannot be represented.
8870
8871 2013-07-15 Matthias Klose <doko@ubuntu.com>
8872
8873 * libgcc2.c: Don't include <limits.h>.
8874
8875 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
8876
8877 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8878
8879 2013-07-06 Jakub Jelinek <jakub@redhat.com>
8880
8881 PR target/29776
8882 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8883
8884 2013-06-28 Jakub Jelinek <jakub@redhat.com>
8885
8886 PR middle-end/36041
8887 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8888 Define.
8889 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8890 instead of table lookups.
8891 (__popcountDI2): Likewise.
8892
8893 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
8894
8895 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8896 correctly.
8897
8898 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8899
8900 PR other/53317
8901 * soft-fp/adddf3.c: Update from glibc.
8902 * soft-fp/addsf3.c: Likewise.
8903 * soft-fp/addtf3.c: Likewise.
8904 * soft-fp/divdf3.c: Likewise.
8905 * soft-fp/divsf3.c: Likewise.
8906 * soft-fp/divtf3.c: Likewise.
8907 * soft-fp/double.h: Likewise.
8908 * soft-fp/eqdf2.c: Likewise.
8909 * soft-fp/eqsf2.c: Likewise.
8910 * soft-fp/eqtf2.c: Likewise.
8911 * soft-fp/extenddftf2.c: Likewise.
8912 * soft-fp/extended.h: Likewise.
8913 * soft-fp/extendsfdf2.c: Likewise.
8914 * soft-fp/extendsftf2.c: Likewise.
8915 * soft-fp/fixdfdi.c: Likewise.
8916 * soft-fp/fixdfsi.c: Likewise.
8917 * soft-fp/fixsfdi.c: Likewise.
8918 * soft-fp/fixsfsi.c: Likewise.
8919 * soft-fp/fixtfdi.c: Likewise.
8920 * soft-fp/fixtfsi.c: Likewise.
8921 * soft-fp/fixunsdfdi.c: Likewise.
8922 * soft-fp/fixunsdfsi.c: Likewise.
8923 * soft-fp/fixunssfdi.c: Likewise.
8924 * soft-fp/fixunssfsi.c: Likewise.
8925 * soft-fp/fixunstfdi.c: Likewise.
8926 * soft-fp/fixunstfsi.c: Likewise.
8927 * soft-fp/floatdidf.c: Likewise.
8928 * soft-fp/floatdisf.c: Likewise.
8929 * soft-fp/floatditf.c: Likewise.
8930 * soft-fp/floatsidf.c: Likewise.
8931 * soft-fp/floatsisf.c: Likewise.
8932 * soft-fp/floatsitf.c: Likewise.
8933 * soft-fp/floatundidf.c: Likewise.
8934 * soft-fp/floatundisf.c: Likewise.
8935 * soft-fp/floatunditf.c: Likewise.
8936 * soft-fp/floatunsidf.c: Likewise.
8937 * soft-fp/floatunsisf.c: Likewise.
8938 * soft-fp/floatunsitf.c: Likewise.
8939 * soft-fp/gedf2.c: Likewise.
8940 * soft-fp/gesf2.c: Likewise.
8941 * soft-fp/getf2.c: Likewise.
8942 * soft-fp/ledf2.c: Likewise.
8943 * soft-fp/lesf2.c: Likewise.
8944 * soft-fp/letf2.c: Likewise.
8945 * soft-fp/muldf3.c: Likewise.
8946 * soft-fp/mulsf3.c: Likewise.
8947 * soft-fp/multf3.c: Likewise.
8948 * soft-fp/negdf2.c: Likewise.
8949 * soft-fp/negsf2.c: Likewise.
8950 * soft-fp/negtf2.c: Likewise.
8951 * soft-fp/op-1.h: Likewise.
8952 * soft-fp/op-2.h: Likewise.
8953 * soft-fp/op-4.h: Likewise.
8954 * soft-fp/op-8.h: Likewise.
8955 * soft-fp/op-common.h: Likewise.
8956 * soft-fp/quad.h: Likewise.
8957 * soft-fp/single.h: Likewise.
8958 * soft-fp/soft-fp.h: Likewise.
8959 * soft-fp/subdf3.c: Likewise.
8960 * soft-fp/subsf3.c: Likewise.
8961 * soft-fp/subtf3.c: Likewise.
8962 * soft-fp/truncdfsf2.c: Likewise.
8963 * soft-fp/trunctfdf2.c: Likewise.
8964 * soft-fp/trunctfsf2.c: Likewise.
8965 * soft-fp/unorddf2.c: Likewise.
8966 * soft-fp/unordsf2.c: Likewise.
8967 * soft-fp/unordtf2.c: Likewise.
8968 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8969 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8970 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8971 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8972 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8973 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8974 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8975 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8976 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8977 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8978 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8979 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8980
8981 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
8982
8983 * config/mips/lib2funcs.c: New file.
8984 * config/mips/t-mips (LIB2ADD_ST): Add it.
8985
8986 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
8987
8988 PR target/6526
8989 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8990 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
8991
8992 2013-06-08 Walter Lee <walt@tilera.com>
8993
8994 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8995 Replace int64_t with long long. Add __extension__ where
8996 appropriate.
8997 * config/tilepro/atomic.c: Include config.h.
8998
8999 2013-06-06 Douglas B Rupp <rupp@adacore.com>
9000
9001 * config.host (arm-wrs-vxworks): Configure with other soft float.
9002
9003 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
9004
9005 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
9006 (mips64r5900el-*-elf*): New configurations.
9007
9008 2013-06-04 Alan Modra <amodra@gmail.com>
9009
9010 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
9011
9012 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
9013
9014 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
9015
9016 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
9017
9018 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
9019 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
9020 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
9021
9022 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
9023
9024 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
9025 (powerpc-wrs-vxworks): Likewise.
9026
9027 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
9028
9029 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
9030 signal frames as well.
9031 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
9032 STACK_BIAS to the CFA offset.
9033
9034 2013-05-17 Richard Henderson <rth@redhat.com>
9035
9036 PR target/49146
9037 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
9038 (execute_cfa_program): Use it when storing to fs->regs.
9039
9040 2013-05-08 Kai Tietz <ktietz@redhat.com>
9041
9042 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
9043 (__deregister_frame_info): Likewise.
9044
9045 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
9046
9047 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
9048 NaN's payload.
9049
9050 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
9051
9052 2013-04-25 Alan Modra <amodra@gmail.com>
9053
9054 * config.host: Match little-endian powerpc-linux.
9055
9056 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
9057
9058 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
9059 as 'unsigned long long' instead of 'unsigned long'.
9060 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
9061 'signed long'.
9062
9063 2013-04-10 Julian Brown <julian@codesourcery.com>
9064
9065 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
9066 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
9067 unsigned char/unsigned short.
9068 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
9069
9070 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9071
9072 PR other/55274
9073 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
9074
9075 2013-04-04 Meador Inge <meadori@codesourcery.com>
9076
9077 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
9078 computing the location of the link register.
9079 (aeabi_uldivmod): Ditto.
9080
9081 2013-03-27 Kai Tietz <ktietz@redhat.com>
9082
9083 * config.host: Add support for cygwin x64 target.
9084 * configure: Regenerated.
9085
9086 2013-03-26 Walter Lee <walt@tilera.com>
9087
9088 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
9089 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
9090
9091 2013-03-25 Kai Tietz <ktietz@redhat.com>
9092
9093 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
9094
9095 2013-03-20 Robert Mason <rbmj@verizon.net>
9096
9097 * config/vxlib-tls.c (__gthread_get_tsd_data,)
9098 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
9099 (__gthread_leave_tsd_dtor_context): Add prototypes.
9100 (tls_delete_hook): Update.
9101
9102 2013-03-20 Catherine Moore <clm@codesourcery.com>
9103 Joseph Myers <joseph@codesourcery.com>
9104 Chao-ying Fu <fu@mips.com>
9105
9106 * config/mips/mips16.S: Don't build for microMIPS.
9107 * config/mips/linux-unwind.h: Handle microMIPS frame.
9108 * config/mips/crtn.S (fini, init): New labels.
9109
9110 2013-03-14 Jakub Jelinek <jakub@redhat.com>
9111
9112 PR tree-optimization/53265
9113 * unwind-dw2.c (execute_cfa_program): Avoid
9114 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
9115 on targets with DWARF_FRAME_REGISTERS < 32.
9116
9117 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
9118
9119 PR target/49880
9120 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
9121 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
9122
9123 2013-03-07 Sriraman Tallam <tmsriram@google.com>
9124
9125 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
9126 sandybridge processors.
9127
9128 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
9129
9130 PR target/56529
9131 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
9132 inclusion list.
9133
9134 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
9135
9136 * config/microblaze/crti.S: Setup stack protection at entry
9137
9138 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
9139
9140 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
9141 (__rotldi3): Shift bytewise if applicable.
9142
9143 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
9144
9145 * config/aarch64/sync-cache.c
9146 (__aarch64_sync_cache_range): Silence warnings.
9147
9148 2013-02-25 Catherine Moore <clm@codesourcery.com>
9149
9150 Revert:
9151 2013-02-24 Catherine Moore <clm@codesourcery.com>
9152 Joseph Myers <joseph@codesourcery.com>
9153 Chao-ying Fu <fu@mips.com>
9154
9155 * config/mips/mips16.S: Don't build for microMIPS.
9156 * config/mips/linux-unwind.h: Handle microMIPS frame.
9157 * config/mips/crtn.S (fini, init): New labels.
9158
9159 2013-02-24 Catherine Moore <clm@codesourcery.com>
9160 Joseph Myers <joseph@codesourcery.com>
9161 Chao-ying Fu <fu@mips.com>
9162
9163 * config/mips/mips16.S: Don't build for microMIPS.
9164 * config/mips/linux-unwind.h: Handle microMIPS frame.
9165 * config/mips/crtn.S (fini, init): New labels.
9166
9167 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
9168 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
9169 as dividend.
9170
9171 2013-02-16 Alan Modra <amodra@gmail.com>
9172
9173 PR target/55431
9174 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
9175 (ppc_fallback_frame_state): Always set up save locations for fp
9176 and altivec. Don't bother with non-callee-saved regs, r0-r13
9177 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
9178
9179 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
9180
9181 PR target/54222
9182 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
9183 _ssmulHA, _ssmulSA.
9184 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
9185 _ssmulha3, _usmulusa3, _ssmulsa3.
9186 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
9187 (__muldi3): XCALL __muldi3_6 instead of rcall.
9188 (__umulsidi3, __mulsidi3): New functions.
9189 (do_prologue_saves, do_epilogue_restores): New .macros.
9190 (__divdi3_moddi3): Use them.
9191 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
9192 (__usmulusa3, __ssmulsa3): New functions.
9193
9194 2013-02-11 Iain Sandoe <iain@codesourcery.com>
9195 Jack Howarth <howarth@bromo.med.uc.edu>
9196 Patrick Marlier <patrick.marlier@gmail.com>
9197
9198 PR libitm/55693
9199 * config/darwin-crt-tm.c: Remove dummy functions hack.
9200
9201 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
9202
9203 PR target/54222
9204 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
9205 * config/avr/lib2-object.mk: New iterator to build objects from it.
9206 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
9207 lib2funcs.c.
9208 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
9209 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
9210 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
9211 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
9212 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
9213 * config/avr/lib1funcs-fixed.S: Implement them.
9214
9215 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
9216
9217 Update copyright years.
9218
9219 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
9220
9221 PR target/54601
9222 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
9223 Add crtcxa to extra_parts.
9224 * config/rs6000/exit.h: New file.
9225 * config/rs6000/cxa_atexit.c: New file.
9226 * config/rs6000/cxa_finalize.c: New file.
9227 * config/rs6000/crtcxa.c: New file.
9228 * config/rs6000/t-aix-cxa: New file.
9229 * config/rs6000/libgcc-aix-cxa.ver: New file.
9230
9231 2013-01-31 Nick Clifton <nickc@redhat.com>
9232
9233 * config/v850/lib1funcs.S: Add support for e3v5 architecture
9234 variant.
9235
9236 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
9237
9238 PR target/54222
9239 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
9240 _mulQQ, _mulHQ, _mulHA, _mulSA,
9241 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
9242 _divQQ, _divHQ, _divHA, _divSA,
9243 _divUQQ, _divUHQ, _divUHA, _divUSA.
9244
9245 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
9246
9247 * config.host(microblaze*-linux*): tmake_file: Remove
9248 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
9249 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
9250 to exclude functions from being built with libgcc.c and use
9251 the microblaze assembly.
9252
9253 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
9254
9255 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
9256 extra_parts.
9257
9258 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
9259
9260 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
9261 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
9262 __UINTPTR_TYPE__; also cast 'base' to the same type before the
9263 alignment operation.
9264
9265 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
9266
9267 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
9268 loop start address for cache clearing.
9269
9270 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
9271
9272 * config/avr/lib1funcs.S: Remove trailing blanks.
9273 * config/avr/lib1funcs-fixed.S: Ditto.
9274
9275 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
9276
9277 * config/avr/avr-lib.h: Add GPL copyright notice.
9278
9279 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
9280
9281 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
9282 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
9283 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
9284 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
9285
9286 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
9287
9288 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
9289 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
9290
9291 2013-01-04 Nick Clifton <nickc@redhat.com>
9292
9293 * config/v850/lib1funcs.S: Only provide CALLT support functions if
9294 the CALLT instruction is supported.
9295
9296 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
9297
9298 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
9299 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
9300
9301 2012-12-13 John Tytgat <John@bass-software.com>
9302
9303 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
9304 is 25.
9305
9306 2012-12-12 Jakub Jelinek <jakub@redhat.com>
9307
9308 PR libgcc/55451
9309 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
9310 undefined signed overflows.
9311
9312 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
9313
9314 PR target/55344
9315 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
9316
9317 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
9318
9319 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
9320 (FP_TRAPPING_EXCEPTIONS): Define.
9321 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
9322 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
9323
9324 2012-12-04 Richard Henderson <rth@redhat.com>
9325
9326 PR bootstrap/55571
9327 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
9328
9329 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
9330
9331 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
9332 (FP_EX_SHIFT): Define.
9333 (FP_TRAPPING_EXCEPTIONS): Define.
9334
9335 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
9336
9337 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
9338 (FP_ROUNDMODE): Use FP_RND_MASK.
9339 * config/aarch64/sfp-exceptions.c: New.
9340 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9341 Use __sfp_handle_exceptions.
9342
9343 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
9344
9345 * config.host: (arm*-*-freebsd*): Remove.
9346 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
9347 (arm*-*-elf*): Remove.
9348 (arm*-*-wince-pe*): Remove.
9349 * arm/unwind-arm.c (struct fpa_reg): Delete.
9350 (struct fpa_regs): Delete.
9351 (phase1_vrs): Remove fpa element.
9352 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
9353 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
9354 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
9355 * ieee754-sf.S (floatundisf): Remove FPA support.
9356 (floatdisf): Likewise.
9357 * ieee75f-df.S (floatundidf): Likewise.
9358 (floatdidf): Likewise.
9359
9360 2012-11-29 Kai Tietz <ktietz@redhat.com>
9361
9362 PR target/55445
9363 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
9364 * unwind-generic.h: Likewise.
9365 * unwind-seh.c: Likewise.
9366
9367 2012-11-28 Richard Henderson <rth@redhat.com>
9368
9369 PR libgcc/48076
9370 * emutls.c (__emutls_get_address): Avoid race condition between
9371 obj->loc.offset read and emutls_key initialization.
9372
9373 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
9374
9375 Adjust decimal point of signed accum mode to GCC default.
9376
9377 PR target/54222
9378 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
9379 _divqq_helper.
9380 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
9381 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
9382 (__mulha3, __mulsa3)
9383 (__divqq3, __divha3, __divsa3): Adjust to new position of
9384 decimal point of signed accum types.
9385
9386 (__mulusa3_round): New function.
9387 (__mulusa3): Use it.
9388 (__divqq_helper): New function.
9389 (__udivuqq3): Use it.
9390
9391 2012-11-20 Jakub Jelinek <jakub@redhat.com>
9392
9393 PR bootstrap/55370
9394 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
9395
9396 2012-11-18 Teresa Johnson <tejohnson@google.com>
9397
9398 PR bootstrap/55051
9399 * libgcov.c (gcov_exit): Remove merged program summary
9400 comparison unless !GCOV_LOCKED.
9401
9402 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
9403
9404 * soft-fp: Updated from glibc upstream.
9405
9406 2012-11-06 Ian Lance Taylor <iant@google.com>
9407
9408 * generic-morestack.c (__generic_morestack): Align the returned
9409 stack pointer to a 32 byte boundary.
9410 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
9411 increment the return address until we have decided that we don't
9412 have a varargs function.
9413 (__morestack) [32-bit]: Align stack correctly when calling C
9414 functions.
9415 (__morestack) [64-bit]: Likewise.
9416
9417 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9418
9419 * configure: Regenerate.
9420
9421 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
9422
9423 PR target/55175
9424 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
9425 * config/i386/sfp-machine.h: Guard exception handling
9426 code with _SOFT_FLOAT.
9427 * config/i386/32/sfp-machine.h: Guard rounding handling
9428 code with _SOFT_FLOAT.
9429 * config/i386/64/sfp-machine.h: Ditto.
9430
9431 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
9432
9433 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
9434 as extra_parts.
9435
9436 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
9437
9438 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
9439 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
9440 when appropriate. Correct structure element types.
9441 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
9442 -minline-all-stringops from compile flags.
9443
9444 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
9445
9446 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
9447
9448 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
9449
9450 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
9451
9452 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
9453
9454 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
9455 tmake_file.
9456
9457 2012-10-23 Ian Bolton <ian.bolton@arm.com>
9458 Jim MacArthur <jim.macarthur@arm.com>
9459 Marcus Shawcroft <marcus.shawcroft@arm.com>
9460 Nigel Stephens <nigel.stephens@arm.com>
9461 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
9462 Richard Earnshaw <rearnsha@arm.com>
9463 Sofiane Naci <sofiane.naci@arm.com>
9464 Stephen Thomas <stephen.thomas@arm.com>
9465 Tejas Belagod <tejas.belagod@arm.com>
9466 Yufeng Zhang <yufeng.zhang@arm.com>
9467
9468 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
9469 * config/aarch64/crti.S: New file.
9470 * config/aarch64/crtn.S: New file.
9471 * config/aarch64/linux-unwind.h: New file.
9472 * config/aarch64/sfp-machine.h: New file.
9473 * config/aarch64/sync-cache.c: New file.
9474 * config/aarch64/t-aarch64: New file.
9475 * config/aarch64/t-softfp: New file.
9476
9477 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
9478
9479 * config/mmix/crti.S: Mark program and data addresses using PRELD.
9480 Remove typo'd and unnecessary alignment-LOC for .data. Remove
9481 no-longer-needed LDBU insns.
9482
9483 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
9484
9485 * config.host
9486 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
9487 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
9488
9489 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9490
9491 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
9492
9493 2012-10-15 Matthias Klose <doko@ubuntu.com>
9494
9495 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
9496
9497 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
9498
9499 * configure: Regenerate.
9500 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
9501
9502 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
9503
9504 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
9505 instructions for 64bit targets only.
9506
9507 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
9508
9509 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9510 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
9511 * config/i386/32/sfp-machine.h: ... here.
9512 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
9513 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
9514 New defines.
9515
9516 2012-10-07 Matthias Klose <doko@ubuntu.com>
9517
9518 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
9519 as unused.
9520 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
9521
9522 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
9523
9524 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
9525 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
9526 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
9527 (ElfW): Likewise.
9528
9529 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
9530
9531 PR other/53889
9532 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9533 Fix parameter names.
9534
9535 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
9536
9537 PR target/33135
9538 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
9539 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
9540 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
9541
9542 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
9543
9544 PR target/50457
9545 * config/sh/linux-atomic.S: Delete.
9546 * config/sh/linux-atomic.c: New.
9547 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
9548 linux-atomic.c. Add cflags to disable warnings.
9549
9550 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9551
9552 PR other/53889
9553 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
9554 function.
9555 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
9556 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
9557 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
9558 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
9559 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
9560 Likewise.
9561 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9562 Likewise.
9563 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
9564 Likewise.
9565 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
9566 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
9567
9568 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
9569
9570 * config.host (hppa-*-openbsd*): New target.
9571 * config/pa/t-openbsd: New file.
9572
9573 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
9574
9575 PR target/54222
9576 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
9577 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
9578 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
9579 (__divsa3): Use __negsi2 to negate r_quoL.
9580 * config/avr/lib1funcs.S (FALIAS): New macro.
9581 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
9582 (__negsi2): ...this new function.
9583 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
9584 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
9585 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
9586 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
9587 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
9588 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
9589
9590 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
9591
9592 PR target/54089
9593 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
9594 (lshrsi3): Reimplement as lshrsi3_r0.
9595
9596 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
9597
9598 PR target/46191
9599 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
9600 of libgcc.a.
9601
9602 2012-09-07 Teresa Johnson <tejohnson@google.com>
9603
9604 PR gcov-profile/54487
9605 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9606 differences.
9607
9608 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
9609
9610 PR target/54461
9611 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
9612 not configured --with-avrlibc=no.
9613 * config/avr/t-avrlibc: New file.
9614 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
9615 (DPBIT_FUNCS): Ditto.
9616 (TPBIT_FUNCS): Ditto.
9617
9618 2012-09-04 Teresa Johnson <tejohnson@google.com>
9619
9620 * libgcov.c (struct gcov_summary_buffer): New structure.
9621 (gcov_histogram_insert): New function.
9622 (gcov_compute_histogram): Ditto.
9623 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
9624 histograms during summary merging.
9625
9626 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
9627
9628 * config.host (x86_64-*-openbsd*): New target.
9629
9630 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
9631
9632 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9633 attribute.
9634
9635 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
9636
9637 PR target/54222
9638 * config/avr/t-avr (conv_X): Rename to func_X.
9639
9640 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
9641
9642 PR target/54222
9643 * config/avr/lib1funcs-fixed.S: New file.
9644 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
9645 after they are used.
9646 (neg2, neg4): New macros.
9647 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9648 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9649 (__umulhisi3): Speed up MUL variant if there is enough flash.
9650 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9651 avr-modes.def.
9652 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9653 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9654 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9655 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9656 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9657 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9658 (LIB2FUNCS_EXCLUDE): Add supported functions.
9659
9660 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
9661
9662 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9663 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9664 libgcc-s-objects.
9665 * fixed-obj.mk: Only expand dependency if $o is not in
9666 LIB2FUNCS_EXCLUDE.
9667
9668 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
9669
9670 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9671
9672 2012-08-22 Joseph Myers <joseph@codesourcery.com>
9673
9674 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9675 depend on --enable-shared.
9676 ($(lib1asmfuncs-o)): Use %.vis files independent of
9677 --enable-shared.
9678 * static-object.mk ($(base)$(objext), $(base).vis)
9679 ($(base)_s$(objext)): Use same rules for visibility handling as in
9680 shared-object.mk.
9681
9682 2012-08-21 Ian Lance Taylor <iant@google.com>
9683
9684 * config/i386/morestack.S (__morestack_non_split): Increase amount
9685 of space allocated for non-split code stack.
9686
9687 2012-08-19 Joseph Myers <joseph@codesourcery.com>
9688
9689 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9690 even if inhibit_libc.
9691
9692 2012-08-17 Julian Brown <julian@codesourcery.com>
9693
9694 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9695 -fexceptions -fnon-call-exceptions if not defined.
9696 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9697 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9698
9699 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
9700
9701 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9702 type.
9703
9704 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
9705
9706 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9707 rs6000/t-slibgcc-aix.
9708
9709 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9710
9711 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9712
9713 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9714
9715 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9716
9717 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
9718
9719 PR driver/54171
9720 * Makefile.in (version): Replace top_srcdir with srcdir.
9721
9722 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
9723
9724 * Makefile.in (version): set to BASE-VER file from gcc directory.
9725
9726 2012-08-01 Nick Clifton <nickc@redhat.com>
9727
9728 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9729 Implements __clrsb for an HImode argument.
9730
9731 2012-07-31 Nick Clifton <nickc@redhat.com>
9732
9733 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9734 Implements __clrsb for an HImode argument.
9735 * config/stormy16/clrsbhi2.c: New file:
9736 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9737
9738 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
9739
9740 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9741
9742 2012-07-19 Tristan Gingold <gingold@adacore.com>
9743 Richard Henderson <rth@redhat.com>
9744
9745 * unwind-seh.c: New file.
9746 * unwind-generic.h: Include windows.h for SEH.
9747 (_Unwind_Exception): Use 6 private fields for SEH.
9748 (_GCC_specific_handler): Declare.
9749 * unwind-c.c (__gcc_personality_seh0): New function.
9750 Adjust for SEH.
9751 * config/i386/libgcc-cygming.ver: New file.
9752 * config/i386/t-seh-eh: New file.
9753 * config.host (x86_64-*-mingw*): Default to seh.
9754
9755 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
9756
9757 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9758
9759 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
9760
9761 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9762 __builtin_expect when checking for exceptions.
9763 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9764
9765 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
9766
9767 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9768 function declaration.
9769 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9770 (FP_RND_MASK): New.
9771 * config/ia64/sfp-exceptions.c: New.
9772 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
9773
9774 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
9775
9776 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9777 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9778 * config/i386/64/sfp-machine: ... (delete here) ...
9779 * config/i386/sfp-machine.h: ... to here.
9780 (FP_EX_MASK): Remove.
9781 (FP_RND_MASK): New.
9782 (FP_INIT_ROUNDMODE): Declare asm as volatile.
9783
9784 2012-06-11 Sriraman Tallam <tmsriram@google.com>
9785
9786 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9787 * config/i386/libgcc-sol2.ver: Ditto.
9788 * config/i386/libgcc-glibc.ver: Ditto.
9789
9790 2012-06-11 Roland McGrath <mcgrathr@google.com>
9791
9792 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9793 If __GLIBC__ is defined, refer to __pthread_key_create instead of
9794 pthread_cancel.
9795
9796 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
9797
9798 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9799 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9800 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9801 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9802 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9803 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9804 * config/i386/64/sfp-machine: ... (delete here) ...
9805 * config/i386/sfp-machine.h: ... to here.
9806 (FP_EX_MASK): New.
9807 (__sfp_handle_exceptions): New function declaration.
9808 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9809 * config/i386/sfp-exceptions.c: New.
9810 * config/i386/t-softfp: New.
9811 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9812 i386/t-softfp to tmake_file.
9813
9814 2012-06-03 David S. Miller <davem@davemloft.net>
9815
9816 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9817 change.
9818
9819 2012-05-31 David S. Miller <davem@davemloft.net>
9820
9821 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9822 multiply and divide instructions on 32-bit when V9.
9823 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9824
9825 2012-05-29 Joseph Myers <joseph@codesourcery.com>
9826
9827 * config/arm/ieee754-df.S: Fix typos.
9828 * config/arm/ieee754-sf.S: Fix typos.
9829 * config/c6x/libunwind.S: Fix typos.
9830 * config/epiphany/udivsi3-float.c: Fix typos.
9831 * config/microblaze/muldi3_hard.S: Fix typos.
9832 * config/picochip/adddi3.S: Fix typos.
9833 * config/picochip/ashlsi3.S: Fix typos.
9834 * config/picochip/ashrsi3.S: Fix typos.
9835 * config/picochip/clzsi2.S: Fix typos.
9836 * config/picochip/cmpsi2.S: Fix typos.
9837 * config/picochip/divmod15.S: Fix typos.
9838 * config/picochip/divmodhi4.S: Fix typos.
9839 * config/picochip/divmodsi4.S: Fix typos.
9840 * config/picochip/longjmp.S: Fix typos.
9841 * config/picochip/lshrsi3.S: Fix typos.
9842 * config/picochip/parityhi2.S: Fix typos.
9843 * config/picochip/popcounthi2.S: Fix typos.
9844 * config/picochip/setjmp.S: Fix typos.
9845 * config/picochip/subdi3.S: Fix typos.
9846 * config/picochip/ucmpsi2.S: Fix typos.
9847 * config/picochip/udivmodhi4.S: Fix typos.
9848 * config/picochip/udivmodsi4.S: Fix typos.
9849 * config/spu/divv2df3.c: Fix typos.
9850 * config/spu/mfc_multi_tag_release.c: Fix typos.
9851 * config/spu/mfc_tag_release.c: Fix typos.
9852 * configure.ac: Fix typos.
9853 * configure: Regenerate.
9854
9855 2012-05-25 Ian Lance Taylor <iant@google.com>
9856
9857 * config/i386/morestack.S (__morestack_non_split): Check whether
9858 caller is varargs and needs %bp to hold the stack frame on return.
9859
9860 2012-05-25 Olivier Hainque <hainque@adacore.com>
9861
9862 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9863 sequence in the non pic case on VxWorks.
9864
9865 2012-05-24 Olivier Hainque <hainque@adacore.com>
9866
9867 * Makefile.in: Move dependency on install-unwind_h from
9868 "install-leaf" to "install".
9869
9870 2012-05-24 Olivier Hainque <hainque@adacore.com>
9871
9872 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9873 Use a separate command for stamp removals.
9874
9875 2012-05-21 Andrew Pinski <apinski@cavium.com>
9876
9877 PR bootstrap/53183
9878 * configure.ac: Define the default includes to being none.
9879 * configure: Regenerate.
9880
9881 2012-05-16 Olivier Hainque <hainque@adacore.com>
9882
9883 * Makefile.in (install-unwind_h): Rename into ...
9884 (install-unwind_h-forbuild): New target.
9885 (all): Use it instead of the former install-unwind_h.
9886 (install-unwind_h): Reinstate, copy to user install destination
9887 for include files, not to the internal gcc object directory one.
9888 (install-leaf): Depend on it.
9889
9890 2012-05-15 Olivier Hainque <hainque@adacore.com>
9891
9892 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9893 register numbers. LR_REGNO replaces R_LR.
9894 (ucontext_for): New, helper for ...
9895 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9896 and 5.3 of ...
9897 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9898
9899 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9900
9901 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9902 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9903 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9904 i386/t-cpuinfo ...
9905 (i[34567]86-*-*, x86_64-*-*): ... here.
9906
9907 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9908 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9909
9910 * config/i386/i386-cpuinfo.c: Rename to ...
9911 * config/i386/cpuinfo.c: ... this.
9912 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9913
9914 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9915 (libgcc_cv_init_priority): New test.
9916 * configure: Regenerate.
9917 * config.in: New file.
9918 * Makefile.in (clean): Rename config.h to auto-target.h.
9919 (config.h): Likewise.
9920 (stamp-h): Likewise.
9921
9922 * config/i386/cpuinfo.c (auto-target.h): Include.
9923 (CONSTRUCTOR_PRIORITY): Define.
9924 (__cpu_indicator_init): Use it.
9925
9926 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9927
9928 * longlong.h: Use a URL instead of an FSF postal address.
9929 Replace spaces with tab.
9930
9931 2012-05-08 Teresa Johnson <tejohnson@google.com>
9932
9933 * libgcov.c (gcov_clear, __gcov_reset): New functions.
9934 (__gcov_dump): Ditto.
9935 (gcov_dump_complete): New global variable.
9936 (gcov_exit): Export hidden to enable use in L_gcov_dump.
9937 (__gcov_flush): Outline functionality now in gcov_clear.
9938 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9939
9940 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
9941
9942 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9943 (mips*-*-linux*): Include mips/t-tpbit when long double is
9944 16 bytes long.
9945
9946 2012-04-25 Sriraman Tallam <tmsriram@google.com>
9947
9948 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9949 (get_available_features): New argument. Check for AVX2.
9950 (__cpu_indicator_init): Modify call to get_available_features.
9951
9952 2012-04-25 Alan Modra <amodra@gmail.com>
9953
9954 * config/rs6000/crtsavevr.S: New file.
9955 * config/rs6000/crtrestvr.S: New file.
9956 * config/rs6000/t-savresfgpr: Build the above.
9957 * config/rs6000/t-netbsd: Likewise.
9958
9959 2012-04-24 Sriraman Tallam <tmsriram@google.com>
9960
9961 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9962
9963 2012-04-24 Sriraman Tallam <tmsriram@google.com>
9964
9965 * libgcc/config/i386/i386-cpuinfo.c: New file.
9966 * libgcc/config/i386/t-cpuinfo: New file.
9967 * libgcc/config.host: Include t-cpuinfo.
9968 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9969
9970 2012-04-24 Chao-ying Fu <fu@mips.com>
9971
9972 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9973
9974 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
9975
9976 struct siginfo vs. siginfo_t
9977
9978 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9979 siginfo_t instead of struct siginfo.
9980 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9981 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9982 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9983 (ia64_handle_unwabi): Likewise.
9984 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9985 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9986 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9987 (sh_fallback_frame_state): Likewise.
9988 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9989 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9990
9991 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
9992
9993 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9994 system call number.
9995
9996 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
9997
9998 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9999 if it hasn't been previously saved.
10000
10001 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
10002
10003 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
10004 only for glibc.
10005
10006 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
10007
10008 PR target/52737
10009 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
10010 instead of __AVR_HAVE_8BIT_SP__.
10011
10012 2012-03-26 Tristan Gingold <gingold@adacore.com>
10013
10014 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
10015 (unw_table_entry): Use unw_word instead of unsigned long.
10016 (_Unwind_FindTableEntry): Likewise.
10017 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
10018 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
10019 (_Unwind_FindTableEntry): Likewise.
10020 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
10021 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
10022 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
10023 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
10024 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
10025 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
10026 (uw_init_context_1, uw_install_context): Likewise.
10027 (unw_word): Move to unwind-ia64.h
10028
10029 2012-03-26 Tristan Gingold <gingold@adacore.com>
10030
10031 * config/vms/vms-ucrt0.c: Update copyright years.
10032 Add a sanity check.
10033 (___gcc_main_flags): Declare.
10034 (__main): Check flags to remap argv and exit code.
10035 * config.host (*-*-*vms*): Adjust extra_parts.
10036 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
10037 (crt0.o): Add.
10038
10039 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
10040
10041 * arm/lib1funcs.asm (ctzsi2): New function.
10042 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
10043 * arm/t-linux (LIB1ASMFUNCS): Likewise.
10044 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
10045 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
10046 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
10047 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
10048
10049 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
10050
10051 * config.host: Add bits to support powerpc64-*-freebsd*.
10052 * config/rs6000/freebsd-unwind.h: New file.
10053 * config/rs6000/t-freebsd64: New file.
10054
10055 2012-03-20 Richard Guenther <rguenther@suse.de>
10056
10057 PR gcov-profile/52627
10058 * libgcov.c (init_mx): Fix mutex name.
10059
10060 2012-03-16 Tristan Gingold <gingold@adacore.com>
10061
10062 * config/ia64/vms-unwind.h: Remove ulong (and replace
10063 it by unw_reg where used). Define unw_reg with __int64.
10064
10065 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10066
10067 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
10068 Solaris 8 handling.
10069 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
10070 Solaris 8 handling.
10071 (sparc_is_sighandler): Likewise.
10072
10073 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
10074
10075 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
10076 <= saved reg size.
10077
10078 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10079
10080 * config/arm/crtn.S: Fix typo.
10081
10082 2012-03-13 Richard Guenther <rguenther@suse.de>
10083
10084 * libgcov.c: Remove stdio.h include and NULL un-define.
10085
10086 2012-03-13 Richard Guenther <rguenther@suse.de>
10087
10088 PR target/52569
10089 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
10090
10091 2012-03-13 Richard Guenther <rguenther@suse.de>
10092
10093 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
10094
10095 2012-03-13 Richard Guenther <rguenther@suse.de>
10096
10097 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
10098 and __gthread_mutex_init_function definitions.
10099
10100 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10101
10102 * config.host (mips*-*-openbsd*): Remove.
10103
10104 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10105
10106 * config.host: Remove alpha*-dec-osf5.1* handling.
10107 * config/alpha/gthr-posix.c: Remove.
10108 * config/alpha/libgcc-osf5.ver: Remove.
10109 * config/alpha/osf5-unwind.h: Remove.
10110 * config/alpha/t-osf-pthread: Remove.
10111 * config/alpha/t-slibgcc-osf: Remove.
10112 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
10113 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
10114 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
10115 * mkmap-flat.awk: Remove osf_export handling.
10116
10117 2012-03-12 Richard Guenther <rguenther@suse.de>
10118
10119 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
10120 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
10121 (__gthread_mutex_init_function): New function.
10122 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
10123
10124 PR gcov/49484
10125 * libgcov.c: Include gthr.h.
10126 (__gcov_flush_mx): New global variable.
10127 (init_mx, init_mx_once): New functions.
10128 (__gcov_flush): Protect self with a mutex.
10129 (__gcov_fork): Re-initialize mutex after forking.
10130 * unwind-dw2-fde.c: Change condition under which to use
10131 __GTHREAD_MUTEX_INIT_FUNCTION.
10132
10133 2012-03-12 Tristan Gingold <gingold@adacore.com>
10134
10135 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
10136 * config/ia64/t-vms: Likewise.
10137
10138 2012-03-11 Michael Hope <michael.hope@linaro.org>
10139
10140 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
10141 for Thumb-2.
10142
10143 2012-03-07 Walter Lee <walt@tilera.com>
10144
10145 * config/tilepro/atomic.c: Rename "atomic_" prefix to
10146 "arch_atomic_".
10147 (atomic_xor): Rename and move definition to
10148 config/tilepro/atomic.h.
10149 (atomic_nand): Ditto.
10150 * config/tilepro/atomic.h: Rename "atomic_" prefix to
10151 "arch_atomic_".
10152 (arch_atomic_xor): Move from config/tilepro/atomic.c.
10153 (arch_atomic_nand): Ditto.
10154
10155 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
10156
10157 PR target/52507
10158 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
10159
10160 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
10161
10162 PR target/52505
10163 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
10164 from RAM.
10165
10166 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
10167
10168 PR target/52461
10169 PR target/52508
10170 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
10171 if RAMPZ affects reading from RAM.
10172 (__tablejump_elpm__): Ditto.
10173 (.xload): Ditto.
10174 (__movmemx_hi): Ditto.
10175 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
10176 (__do_global_dtors): Ditto.
10177 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
10178 (__movmemx_hi): Ditto.
10179
10180 2012-03-05 Richard Henderson <rth@redhat.com>
10181
10182 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
10183 [ARM] (count_trailing_zeros): Use the builtin.
10184
10185 2012-03-01 Kai Tietz <ktietz@redhat.com>
10186
10187 * soft-fp: Imported from glibc upstream.
10188
10189 2012-02-28 Kai Tietz <ktietz@redhat.com>
10190
10191 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
10192 for mingw-targets as attribute gcc_struct.
10193
10194 2012-02-28 Ian Lance Taylor <iant@google.com>
10195
10196 * generic-morestack.c (__splitstack_releasecontext): Correct call
10197 to __morestack_release_segments.
10198
10199 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10200
10201 PR target/52390
10202 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
10203 for __linux__ when removing signals from __morestack_fullmask.
10204
10205 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
10206
10207 PR target/52261
10208 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
10209
10210 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10211
10212 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
10213 instead of HAVE_INITFINI_ARRAY.
10214 * config/ia64/crtend.S: Likewise.
10215
10216 2012-02-20 Kai Tietz <ktietz@redhat.com>
10217
10218 PR libstdc++/52300
10219 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
10220
10221 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
10222 to w32-unwind.h header.
10223
10224 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
10225
10226 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
10227 (mips*-*-linux*): Remove t-slibgcc-libgcc.
10228 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
10229 * config/mips/mips16.S (__mips16_rdhwr): Delete.
10230
10231 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
10232
10233 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
10234
10235 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
10236
10237 PR libitm/52220
10238 * config/darwin-crt-tm.c: Correct typo.
10239
10240 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
10241 Patrick Marlier <patrick.marlier@gmail.com>
10242
10243 PR libitm/52220
10244 * config/darwin-crt-tm.c: Generate dummy functions.
10245
10246 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
10247 Patrick Marlier <patrick.marlier@gmail.com>
10248
10249 PR libitm/52042
10250 * config/darwin-crt-tm.c (getTMCloneTable): New function.
10251 (__doTMRegistrations): Call it.
10252 (__doTMdeRegistrations): Likewise.
10253
10254 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
10255 Anatoly Sokolov <aesok@post.ru>
10256 Eric Weddington <eric.weddington@atmel.com>
10257
10258 PR target/52261
10259 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
10260 (__epilogue_restores__): Ditto.
10261
10262 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
10263
10264 PR target/51921
10265 PR target/52205
10266 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
10267 Solaris 11 and slightly reformat.
10268 (sparc_is_sighandler): Likewise.
10269
10270 2012-02-14 Walter Lee <walt@tilera.com>
10271
10272 * config.host: Handle tilegx and tilepro.
10273 * config/tilegx/sfp-machine.h: New file.
10274 * config/tilegx/sfp-machine32.h: New file.
10275 * config/tilegx/sfp-machine64.h: New file.
10276 * config/tilegx/t-crtstuff: New file.
10277 * config/tilegx/t-softfp: New file.
10278 * config/tilegx/t-tilegx: New file.
10279 * config/tilepro/atomic.c: New file.
10280 * config/tilepro/atomic.h: New file.
10281 * config/tilepro/linux-unwind.h: New file.
10282 * config/tilepro/sfp-machine.h: New file.
10283 * config/tilepro/softdivide.c: New file.
10284 * config/tilepro/softmpy.S: New file.
10285 * config/tilepro/t-crtstuff: New file.
10286 * config/tilepro/t-tilepro: New file.
10287
10288 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
10289
10290 PR libstdc++/51296
10291 PR libstdc++/51906
10292 * gthr-posix.h: Allow static initializer macros to be disabled.
10293 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
10294
10295 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
10296
10297 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
10298 Add t-slibgcc-libgcc to tmake_file.
10299 * config/mips/libgcc-mips16.ver: Revert previous patch.
10300 * config/mips/mips16.S (__mips16_rdhwr): Hide.
10301
10302 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
10303 Jayant R Sonar <jayant.sonar@kpitcummins.com>
10304
10305 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
10306 * config/cr16/crti.S: New file.
10307 * config/cr16/crtlibid.S: New file.
10308 * config/cr16/crtn.S: New file.
10309 * config/cr16/lib1funcs.S: New file.
10310 * config/cr16/t-cr16: New file.
10311 * config/cr16/t-crtlibid: New file.
10312 * config/cr16/unwind-dw2.h: New file.
10313 * config/cr16/unwind-cr16.c: New file.
10314 * config/cr16/divmodhi3.c: New file.
10315
10316 2012-01-25 Alan Modra <amodra@gmail.com>
10317
10318 * config/rs6000/t-linux64: Delete. Move..
10319 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
10320 * config/rs6000/t-linux: ..and libgcc flags to here.
10321
10322 2012-01-22 Douglas B Rupp <rupp@gnat.com>
10323
10324 * config.host (i[34567]86-*-interix3*):
10325 Change triplet to i[34567]86-*-interix[3-9]*.
10326 * configure: Regenerate.
10327
10328 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
10329 Richard Sandiford <rdsandiford@googlemail.com>
10330
10331 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
10332 * config/mips/mips16.S (__mips16_rdhwr): New function.
10333 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
10334
10335 2012-01-11 Nathan Sidwell <nathan@acm.org>
10336
10337 * libgcov.c (__gcov_init): Ignore objects with no functions.
10338
10339 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
10340
10341 PR target/49868
10342 Extend __pgmx semantics to linearize memory.
10343 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
10344 * config/avr/lib1funcs.S (__xload_1): New function.
10345 (__movmemx_qi, __movmemx_hi): New functions.
10346 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
10347 semantics.
10348
10349 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
10350
10351 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
10352 purported sigacthandler address isn't null before dereferencing it.
10353 (sparc_is_sighandler): Likewise.
10354
10355 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
10356
10357 PR ada/41929
10358 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
10359 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
10360 (sparc_is_sighandler): Likewise.
10361 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
10362
10363 2012-01-06 Tristan Gingold <gingold@adacore.com>
10364
10365 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
10366 compatibility thunks...
10367 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
10368 (crtbeginS.o, crtendS.o): ... and these to ...
10369 * config/ia64/t-ia64-elf: ... this new file.
10370 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
10371 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
10372
10373 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10374
10375 * configure: Regenerate.
10376 * config/s390/t-crtstuff: Remove -fPIC.
10377
10378 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
10379
10380 PR bootstrap/51006
10381 * enable-execute-stack-mprotect.c (getpagesize): Do not define
10382 for NetBSD.
10383
10384 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
10385
10386 PR target/51345
10387 * config/avr/lib1funcs.S: Remove FIXME comments.
10388 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
10389
10390 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
10391
10392 Implement light-weight DImode support.
10393 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
10394 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
10395 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
10396 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
10397
10398 2011-12-30 Nathan Sidwell <nathan@acm.org>
10399
10400 * libgcov.c (gcov_crc32): Remove global var.
10401 (free_fn_data): New function.
10402 (buffer_fn_data): Pass in filename, more robust error recovery.
10403 (crc32_unsigned): New function.
10404 (gcov_exit): More robust detection of new program. More robust
10405 error recovery.
10406 (__gcov_init): Do not update program's crc here.
10407
10408 2011-12-21 Tristan Gingold <gingold@adacore.com>
10409
10410 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
10411
10412 2011-12-21 Ian Lance Taylor <iant@google.com>
10413
10414 * config/i386/morestack.S: Simplify CFI opcodes throughout.
10415
10416 2011-12-20 Ian Lance Taylor <iant@google.com>
10417
10418 * config/i386/morestack.S (__morestack_non_split): If there is
10419 enough stack space already, don't split. Ask for more stack space
10420 than we required.
10421
10422 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
10423
10424 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
10425 `sys/sdt.h'.
10426 (_Unwind_DebugHook): New function.
10427 (uw_restore_core_regs): New define.
10428 (unwind_phase2): Use uw_restore_core_regs instead of
10429 restore_core_regs.
10430 (unwind_phase2_forced): Likewise.
10431 (__gnu_Unwind_Resume): Likewise.
10432
10433 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
10434
10435 * config/alpha/linux-unwind.h: Update copyright years.
10436 (MD_FROB_UPDATE_CONTEXT): New define.
10437 (alpha_frob_update_context): New function.
10438
10439 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
10440
10441 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
10442 tmake_file rather replacing it.
10443
10444 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
10445
10446 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
10447 function is not used for PPC64.
10448 (save_world): Amend comments. Update the VRsave mask to reflect the
10449 saved regs.
10450 (rest_world): Update comments, do not clobber r10, do not use r8.
10451 (eh_rest_world_r10): Amend comments, do not use r8.
10452 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
10453 no longer used, move restore of CR and target address to the end of
10454 the routine.
10455
10456 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
10457
10458 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
10459 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
10460
10461 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
10462
10463 PR target/49313
10464 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
10465 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
10466
10467 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
10468
10469 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
10470
10471 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
10472
10473 PR target/49313
10474 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
10475 * config/avr/lib1funcs.S (__muldi3): New function.
10476
10477 2011-12-06 Andrew Pinski <apinski@cavium.com>
10478
10479 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
10480 size of func_ptr.
10481 (__frame_dummy_init_array_entry): Likewise.
10482
10483 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
10484
10485 Forward-port from gcc-4_6-branch r181936 2011-12-02.
10486
10487 PR target/51345
10488 PR target/51002
10489 * config/avr/lib1funcs.S (__prologue_saves__,
10490 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
10491 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
10492
10493 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
10494
10495 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
10496
10497 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10498
10499 PR other/51272
10500 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
10501 (_ITM_deregisterTMCloneTable): Likewise.
10502 (__register_frame_info): Fix unused warning.
10503 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
10504 pthread_default_stacksize_np): Likewise.
10505 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
10506
10507 2011-11-29 DJ Delorie <dj@redhat.com>
10508
10509 * config.host (rl78-*-elf): New case.
10510 * config/rl78: New directory for the Renesas RL78.
10511
10512 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
10513
10514 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
10515 formatting.
10516
10517 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10518
10519 PR other/51022
10520 * config/rs6000/t-savresfgpr: New file.
10521 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
10522 $(srcdir)/config/rs6000/eabi.S.
10523 * config/rs6000/t-ppccomm-ldbl: Remove.
10524 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
10525 tmake_file.
10526 (powerpc-*-eabispe*): Likewise.
10527 (powerpc-*-eabi*): Likewise.
10528 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10529 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
10530 to tmake_file, remove rs6000/t-ppccomm-ldbl.
10531 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
10532 tmake_file.
10533 (powerpc-*-eabisim*): Likewise.
10534 (powerpc-*-elf*): Likewise.
10535 (powerpc-*-eabialtivec*): Likewise.
10536 (powerpc-xilinx-eabi*): Likewise.
10537 (powerpc-*-rtems*): Likewise.
10538 (powerpcle-*-elf*): Likewise.
10539 (powerpcle-*-eabisim*): Likewise.
10540 (powerpcle-*-eabi*): Likewise.
10541
10542 2011-11-27 Ian Lance Taylor <iant@google.com>
10543
10544 * generic-morestack.c (__splitstack_find): Check for NULL old
10545 stack value.
10546 (__splitstack_resetcontext): New function.
10547 (__splitstack_releasecontext): New function.
10548 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10549
10550 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
10551
10552 * config/darwin-crt-tm.c: Correct comments, use correct licence.
10553
10554 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
10555
10556 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
10557
10558 2011-11-26 Richard Henderson <rth@redhat.com>
10559
10560 * config/m68k/linux-atomic.c: New file.
10561 * config/m68k/t-linux: New file.
10562 * config.host (m68k-uclinux, m68k-linux): Use it.
10563
10564 2011-11-26 Richard Henderson <rth@redhat.com>
10565
10566 * crtstuff.c (__TMC_LIST__): Mark used not unused.
10567 (__TMC_END__): Only declare if hidden is available; in the definition,
10568 if hidden is unavailable add a null record.
10569 (deregister_tm_clones, register_tm_clones): New.
10570 (__do_global_dtors_aux, frame_dummy): Use them.
10571 (__do_global_dtors, __do_global_ctors_1): Likewise.
10572
10573 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
10574
10575 * config/darwin-crt-tm.c: New file.
10576 * config.host (darwin): Build crttms.o crttme.o to provide
10577 startup and shutdown for tm clones.
10578 * config/t-darwin (crttms.o): New build rule.
10579 (crttme.o): Likewise.
10580
10581 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
10582
10583 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
10584 et al.
10585
10586 2011-11-21 Richard Henderson <rth@redhat.com>
10587
10588 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
10589 (__TMC_LIST__, __TMC_END__): New.
10590 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
10591 (__do_global_dtors): Likewise.
10592 (frame_dummy): Call _ITM_registerTMCloneTable.
10593 (__do_global_ctors_1): Likewise.
10594
10595 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10596
10597 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
10598 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10599 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
10600 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
10601 * config/i386/t-darwin64: Remove.
10602 * config/sh/t-netbsd (LIB2ADD): Remove.
10603
10604 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
10605
10606 PR target/49313
10607 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
10608 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
10609 * config/avr/lib1funcs.S (wmov): New assembler macro.
10610 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
10611 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
10612 (__udivmod64): New function.
10613 (__negdi2): New function.
10614
10615 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
10616
10617 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
10618 *-*-freebsd*aout*): Remove.
10619
10620 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
10621
10622 * static-object.mk (c_flags-$o): Save c_flags.
10623 ($(base)$(objext)): Use it.
10624
10625 2011-11-18 Steve Ellcey <sje@cup.hp.com>
10626
10627 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
10628
10629 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
10630
10631 PR target/49868
10632 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10633 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10634 New functions.
10635
10636 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
10637
10638 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10639 functions.
10640 (aeabi_uidivmod): Likewise.
10641 (umodsi3): Likewise.
10642 (divsi3): Likewise.
10643 (aeabi_idivmod): Likewise.
10644 (modsi3): Likewise.
10645
10646 2011-11-16 Tristan Gingold <gingold@adacore.com>
10647
10648 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10649
10650 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
10651
10652 PR target/49868
10653 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
10654 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10655
10656 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10657
10658 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10659 tmake_file list.
10660 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10661 * config/pa/t-stublib64: Delete.
10662
10663 2011-11-12 Richard Henderson <rth@redhat.com>
10664
10665 * config/rs6000/linux-unwind.h (frob_update_context): Properly
10666 cast the pointer argument to _Unwind_SetGRPtr.
10667
10668 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10669
10670 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10671
10672 2011-11-09 Ian Lance Taylor <iant@google.com>
10673
10674 * generic-morestack.c: Include <string.h>.
10675 (uintptr_type): Define.
10676 (struct initial_sp): Add dont_block_signals field. Reduce size of
10677 extra array by 1.
10678 (allocate_segment): Set prev field to NULL. Don't set
10679 __morestack_current_segment or __morestack_segments.
10680 (__generic_morestack): Update current->prev and *pp after calling
10681 allocate_segment.
10682 (__morestack_block_signals): Don't do anything if
10683 dont_block_signals is set.
10684 (__morestack_unblock_signals): Likewise.
10685 (__generic_findstack): Check for initial_sp == NULL. Add casts to
10686 uintptr_type.
10687 (__splitstack_block_signals): New function.
10688 (enum __splitstack_content_offsets): Define.
10689 (__splitstack_getcontext, __splitstack_setcontext): New functions.
10690 (__splitstack_makecontext): New function.
10691 (__splitstack_block_signals_context): New function.
10692 (__splitstack_find_context): New function.
10693 * config/i386/morestack.S (__morestack_get_guard): New function.
10694 (__morestack_set_guard, __morestack_make_guard): New functions.
10695 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10696
10697 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10698
10699 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10700 (i[34567]86-*-mingw*): ... here.
10701 (x86_64-*-mingw*): ... here.
10702
10703 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10704
10705 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10706
10707 2011-11-07 Nathan Sidwell <nathan@acm.org>
10708
10709 * libgcov.c (struct gcov_fn_buffer): New struct.
10710 (buffer_fn_data): New helper.
10711 (gcov_exit): Rework for new gcov data structures.
10712
10713 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
10714
10715 PR target/49313
10716 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10717
10718 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10719
10720 * config.host (tmake_file): Correct comment.
10721 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10722 t-libgcc-pic.
10723 (bfin*-uclinux*): Likewise.
10724 (bfin*-linux-uclibc*): Likewise.
10725 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10726
10727 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10728 assigning.
10729 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10730 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10731 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10732 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10733 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10734 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10735 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10736 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10737 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10738 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10739 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10740 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10741 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10742
10743 * config/bfin/t-elf: Remove.
10744 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10745
10746 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10747
10748 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10749 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10750 (lm32-*-elf*, lm32-*-rtems*): Split into ...
10751 (lm32-*-elf*): ... this.
10752 (lm32-*-rtems*): ... and this.
10753 Add to tmake_file.
10754 (m32r-*-rtems*): Add to tmake_file.
10755 (moxie-*-rtems*): Likewise.
10756 (sparc-*-rtems*): Likewise.
10757 Remove t-rtems from tmake_file.
10758 (sparc64-*-rtems*): Likewise.
10759 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10760 instead.
10761
10762 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10763
10764 PR bootstrap/50982
10765 * config/gthr-posix.h: Move ...
10766 * gthr-posix.h: ... here.
10767 * config/gthr-lynx.h: Reflect this.
10768 * config/gthr-vxworks.h: Likewise.
10769 * config/rs6000/gthr-aix.h: Likewise.
10770 * configure.ac (target_thread_file): Likewise.
10771 * configure: Regenerate.
10772
10773 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
10774
10775 * config.host (arm*-*-rtemseabi*): New target.
10776
10777 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10778
10779 PR other/50991
10780 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10781 extra-parts.
10782
10783 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
10784
10785 * config.host (epiphany-*-elf*): New configuration.
10786 * config/epiphany: New Directory.
10787
10788 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
10789
10790 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10791 * config/avr/t-rtems: New.
10792 Filter out _exit from LIB1ASMFUNCS.
10793
10794 2011-11-04 David S. Miller <davem@davemloft.net>
10795
10796 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10797 * configure: Rebuild.
10798
10799 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10800
10801 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10802 variable.
10803
10804 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
10805
10806 PR target/50931
10807 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10808 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10809
10810 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
10811
10812 PR target/50989
10813 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10814
10815 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10816
10817 * config/c6x/t-elf (LIB2ADDEH): Set.
10818 * config/c6x/t-c6x-elf: Remove.
10819
10820 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10821
10822 * config/i386/sol2-ci.S: Rename to ...
10823 * config/i386/crti.S: ... this.
10824 * config/i386/sol2-cn.S: Rename to ...
10825 * config/i386/crtn.S: ... this.
10826 * config/sparc/sol2-ci.S: Rename to ...
10827 * config/sparc/crti.S: ... this.
10828 * config/sparc/sol2-cn.S: Rename to ...
10829 * config/sparc/crtn.S: ... this.
10830 * config/t-sol2 (CUSTOM_CRTIN): Remove.
10831 (crti.o, crtn.o): Remove.
10832
10833 2011-11-04 Tristan Gingold <gingold@adacore.com>
10834
10835 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10836
10837 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
10838
10839 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10840
10841 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
10842
10843 * config.host (crisv32-*-none, cris-*-none): Remove.
10844 (crisv32-*-elf): Append to tmake_file, don't just set it.
10845 (cris-*-elf): Add missing t-fdpbit to tmake_file.
10846
10847 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10848
10849 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10850 (ecrtn$(objext)): Likewise.
10851 (ncrti$(objext)): Likewise.
10852 (ncrtn$(objext)): Likewise.
10853
10854 2011-11-03 Andreas Schwab <schwab@redhat.com>
10855
10856 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10857
10858 2011-11-02 David S. Miller <davem@davemloft.net>
10859
10860 * configure.ac: Set host_address on sparc too.
10861 * configure: Regenerate.
10862 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10863 based upon host_address.
10864 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10865
10866 2011-11-02 Jason Merrill <jason@redhat.com>
10867
10868 * config/rs6000/t-ppccomm: Add missing \.
10869
10870 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10871
10872 * gthr-single.h, gthr.h: New files.
10873 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10874 config/gthr-vxworks.h, config/i386/gthr-win32.h,
10875 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10876 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10877 * config/i386/gthr-win32.c: Include "gthr-win32.h".
10878 * configure.ac (thread_header): New variable.
10879 Set it depending on target_thread_file.
10880 (gthr-default.h): Link from $thread_header.
10881 * configure: Regenerate.
10882 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10883
10884 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10885
10886 * configure.ac (tm_file_): New variable.
10887 Determine from tm_file.
10888 (tm_file, tm_defines): Substitute.
10889 * configure: Regenerate.
10890 * mkheader.sh: New file.
10891 * Makefile.in (clean): Remove libgcc_tm.h.
10892 ($(objects)): Depend on libgcc_tm.h.
10893 (libgcc_tm_defines, libgcc_tm_file): New variables.
10894 (libgcc_tm.h, libgcc_tm.stamp): New targets.
10895 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10896 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10897 ($(extra-parts)): Depend on libgcc_tm.h.
10898 * config.host (tm_defines, tm_file): New variable.
10899 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10900 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10901 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10902 (avr-*-rtems*): Likewise.
10903 (avr-*-*): Likewise.
10904 (frv-*-elf): Likewise.
10905 (frv-*-*linux*): Likewise.
10906 (h8300-*-rtems*): Likewise.
10907 (h8300-*-elf*): Likewise.
10908 (i[34567]86-*-darwin*): Likewise.
10909 (x86_64-*-darwin*): Likewise.
10910 (rx-*-elf): Likewise.
10911 (tic6x-*-uclinux): Likewise.
10912 (tic6x-*-elf): Likewise.
10913 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10914 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10915 * config/i386/cygming-crtbegin.c: Likewise.
10916 * config/i386/cygming-crtend.c: Likewise.
10917 * config/ia64/fde-vms.c: Likewise.
10918 * config/ia64/unwind-ia64.c: Likewise.
10919 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10920 * config/rs6000/darwin-fallback.c: Likewise.
10921 * config/stormy16/lib2funcs.c: Likewise.
10922 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10923 * crtstuff.c: Likewise.
10924 * dfp-bit.h: Likewise.
10925 * emutls.c: Likewise.
10926 * fixed-bit.c: Likewise.
10927 * fp-bit.c: Likewise.
10928 * generic-morestack-thread.c: Likewise.
10929 * generic-morestack.c: Likewise.
10930 * libgcc2.c: Likewise.
10931 * libgcov.c: Likewise.
10932 * unwind-dw2-fde-dip.c: Likewise.
10933 * unwind-dw2-fde.c: Likewise.
10934 * unwind-dw2.c: Likewise.
10935 * unwind-sjlj.c: Likewise.
10936
10937 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10938
10939 * configure.ac: Include ../config/picflag.m4.
10940 (GCC_PICFLAG): Call it.
10941 Substitute.
10942 * configure: Regenerate.
10943 * Makefile.in (gcc_srcdir): Remove.
10944 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10945 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10946 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10947 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10948 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10949 Use $<.
10950 Remove comment.
10951 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10952 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10953 to refer to libgcc2.c.
10954 Use $<.
10955 * config/darwin-64.c: New file.
10956 * config/darwin-crt3.c: Remove comment.
10957 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10958 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10959 config/udivmodsi4.c: New files.
10960 * config/memcmp.c, config/memcpy.c, config/memmove.c,
10961 config/memset.c: New files.
10962 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10963 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10964 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10965 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10966 * config/t-openbsd-thread: New file.
10967 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10968 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10969 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10970 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10971 qrnnd.S.
10972 Adapt filename.
10973 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10974 to refer to gthr-posix.c.
10975 * config/alpha/t-vms (LIB2ADD): Set.
10976 * config/alpha/vms-gcc_shell_handler.c: New file.
10977 * config/arm/bpabi.c, config/arm/fp16.c,
10978 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10979 config/arm/unaligned-funcs.c: New files.
10980 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10981 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10982 * config/arm/t-linux: Likewise.
10983 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10984 * config/arm/t-netbsd: New file.
10985 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10986 * config/arm/t-symbian (LIB2ADD_ST): Set.
10987 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10988 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10989 * config/bfin/t-elf: New file.
10990 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10991 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10992 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10993 config/c6x/ltf.c: New files.
10994 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10995 (HOST_LIBGCC2_CFLAGS): Set.
10996 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10997 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10998 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10999 New files.
11000 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
11001 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
11002 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
11003 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
11004 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
11005 files.
11006 * config/frv/t-frv (LIB2ADD): Set.
11007 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11008 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
11009 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
11010 config/h8300/popcounthi2.c: New files.
11011 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
11012 * config/i386/gthr-win32.c: New file.
11013 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
11014 * config/i386/t-cygwin: Likewise.
11015 * config/i386/t-darwin, config/i386/t-darwin64,
11016 config/i386/t-gthr-win32, config/i386/t-interix: New files.
11017 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
11018 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11019 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11020 * config/ia64/quadlib.c: New file.
11021 * config/ia64/t-hpux (LIB2ADD): Set.
11022 * config/ia64/t-ia64: Add comment.
11023 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
11024 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11025 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
11026 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
11027 * config/m32c/t-m32c (LIB2ADD): Set.
11028 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
11029 * config/m32r/t-m32r: Likewise.
11030 * config/m68k/fpgnulib.c: New file.
11031 * config/m68k/t-floatlib (LIB2ADD): Set.
11032 (xfgnulib.c): New target.
11033 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
11034 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
11035 * config/mep/t-mep (LIB2ADD): Set.
11036 * config/microblaze/divsi3.asm: Rename to divsi3.S.
11037 * config/microblaze/moddi3.asm: Rename to moddi3.S.
11038 * config/microblaze/modsi3.asm: Rename to modsi3.S.
11039 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
11040 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
11041 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
11042 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
11043 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
11044 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
11045 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
11046 New files.
11047 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
11048 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
11049 * config/pa/fptr.c, config/pa/lib2funcs.S,
11050 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
11051 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
11052 (LIB2ADD, LIB2ADD_ST): Set.
11053 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
11054 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
11055 Set.
11056 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
11057 * config/pdp11/t-pdp11: New file.
11058 * config/picochip/libgccExtras/adddi3.S,
11059 config/picochip/libgccExtras/ashlsi3.S,
11060 config/picochip/libgccExtras/ashrsi3.S,
11061 config/picochip/libgccExtras/clzsi2.S,
11062 config/picochip/libgccExtras/cmpsi2.S,
11063 config/picochip/libgccExtras/divmod15.S,
11064 config/picochip/libgccExtras/divmodhi4.S,
11065 config/picochip/libgccExtras/divmodsi4.S,
11066 config/picochip/libgccExtras/lshrsi3.S,
11067 config/picochip/libgccExtras/parityhi2.S,
11068 config/picochip/libgccExtras/popcounthi2.S,
11069 config/picochip/libgccExtras/subdi3.S,
11070 config/picochip/libgccExtras/ucmpsi2.S,
11071 config/picochip/libgccExtras/udivmodhi4.S,
11072 config/picochip/libgccExtras/udivmodsi4.S: New files.
11073 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
11074 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
11075 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
11076 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
11077 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
11078 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
11079 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
11080 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
11081 files.
11082 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
11083 (HOST_LIBGCC2_CFLAGS): Set.
11084 * config/rs6000/t-darwin64: New file.
11085 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
11086 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
11087 * config/rs6000/t-ppccomm (LIB2ADD): Add
11088 $(srcdir)/config/rs6000/tramp.S.
11089 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
11090 Add $(srcdir)/config/rs6000/eabi.S.
11091 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
11092 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
11093 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
11094 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
11095 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
11096 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
11097 * config/rs6000/tramp.S: New file.
11098 * config/s390/t-tpf: Remove.
11099 * config/sh/linux-atomic.S: New file.
11100 * config/sh/t-linux (LIB2ADD): Set.
11101 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
11102 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
11103 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
11104 to unwind-dw2.c.
11105 (HOST_LIBGCC2_CFLAGS): Set.
11106 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11107 * config/spu/divmodti4.c, config/spu/divv2df3.c,
11108 config/spu/float_disf.c, config/spu/float_unsdidf.c,
11109 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
11110 config/spu/mfc_multi_tag_release.c,
11111 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
11112 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
11113 config/spu/multi3.c: New files.
11114 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
11115 (HOST_LIBGCC2_CFLAGS): Set.
11116 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
11117 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
11118 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
11119 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
11120 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
11121 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
11122 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
11123 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
11124 config/stormy16/umodsi3.c: New files.
11125 * config/xtensa/lib2funcs.S: New file.
11126 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
11127 * config/xtensa/t-xtensa (LIB2ADD): Set.
11128 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
11129 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
11130 Add t-freebsd-thread to tmake_file for posix threads.
11131 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
11132 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
11133 (*-*-lynxos*): Likewise.
11134 (*-*-netbsd*): Likewise.
11135 (*-*-openbsd*): Likewise.
11136 Add t-openbsd-thread to tmake_file for posix threads.
11137 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
11138 (*-*-vxworks*): Set tmake_file.
11139 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
11140 (alpha*-*-freebsd*): Likewise.
11141 (alpha*-*-netbsd*): Likewise.
11142 (alpha*-*-openbsd*): Likewise.
11143 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
11144 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
11145 (alpha*-dec-*vms*): Likewise.
11146 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
11147 (bfin*-elf*): Add bfin/t-elf to tmake_file.
11148 (bfin*-uclinux*): Likewise.
11149 (bfin*-linux-uclibc*): Likewise.
11150 (crisv32-*-elf): Add cris/t-cris to tmake_file.
11151 (crisv32-*-none): Likewise.
11152 (cris-*-elf): Likewise.
11153 (cris-*-none): Likewise.
11154 (cris-*-linux*, crisv32-*-linux*): Likewise.
11155 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
11156 tmake_file.
11157 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
11158 tmake_file.
11159 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
11160 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
11161 (x86_64-*-elf*): Likewise.
11162 (i[34567]86-*-nto-qnx*): Likewise.
11163 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
11164 win32 threads.
11165 (x86_64-*-mingw*): Likewise.
11166 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
11167 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
11168 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11169 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11170 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
11171 tmake_file.
11172 (mipsisa64sr71k-*-elf*): Likewise.
11173 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11174 (mips-*-elf*, mipsel-*-elf*): Likewise.
11175 (mips64-*-elf*, mips64el-*-elf*): Likewise.
11176 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11177 (mips*-*-rtems*): Likewise.
11178 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
11179 to tmake_file.
11180 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
11181 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
11182 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
11183 (spu-*-elf*): Likewise.
11184 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
11185
11186 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11187
11188 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
11189 $(srcdir) to refer to $(LIB1ASMSRC).
11190 Use $<.
11191 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
11192 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
11193 config/arm/lib1funcs.S: New files.
11194 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
11195 * config/arm/t-arm: New file.
11196 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
11197 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
11198 config/arm/t-strongarm-elf: New files.
11199 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
11200 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
11201 * config/avr/lib1funcs.S: New file.
11202 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11203 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
11204 * config/c6x/lib1funcs.S: New file.
11205 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11206 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
11207 * config/frv/lib1funcs.S: New file.
11208 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11209 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
11210 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
11211 * config/ia64/__divxf3.asm: Rename to ...
11212 * config/ia64/__divxf3.S: ... this.
11213 Adapt lib1funcs.asm filename.
11214 * config/ia64/_fixtfdi.asm: Rename to ...
11215 * config/ia64/_fixtfdi.S: ... this.
11216 Adapt lib1funcs.asm filename.
11217 * config/ia64/_fixunstfdi.asm: Rename to ...
11218 * config/ia64/_fixunstfdi.S: ... this.
11219 Adapt lib1funcs.asm filename.
11220 * config/ia64/_floatditf.asm: Rename to ...
11221 * config/ia64/_floatditf.S: ... this.
11222 Adapt lib1funcs.asm filename.
11223 * config/ia64/lib1funcs.S: New file.
11224 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
11225 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11226 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
11227 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
11228 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
11229 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
11230 * config/mep/lib1funcs.S: New file.
11231 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11232 * config/mips/mips16.S: New file.
11233 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11234 * config/pa/milli64.S: New file.
11235 * config/pa/t-linux, config/pa/t-linux64: New files.
11236 * config/picochip/lib1funcs.S: New file.
11237 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11238 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
11239 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
11240 * config/sh/t-netbsd: New file.
11241 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
11242 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
11243 * config/sh/t-sh64: New file.
11244 * config/sparc/lb1spc.S: New file.
11245 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
11246 filename.
11247 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
11248 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
11249 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
11250 config/xtensa/lib1funcs.S: New files.
11251 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11252 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
11253 tmake_file.
11254 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
11255 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
11256 (arm*-*-linux*): Likewise.
11257 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
11258 arm*-*-linux-*eabi, add arm/t-linux otherwise.
11259 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
11260 (arm*-*-ecos-elf): Likewise.
11261 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11262 (arm*-*-rtems*): Likewise.
11263 (arm*-*-elf): Likewise.
11264 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
11265 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
11266 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
11267 (bfin*-uclinux*): Likewise.
11268 (bfin*-linux-uclibc*): Likewise.
11269 (bfin*-rtems*): Likewise.
11270 (bfin*-*): Likewise.
11271 (fido-*-elf): Merge into m68k-*-elf*.
11272 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
11273 (frv-*-*linux*): Add frv/t-frv to tmake_file.
11274 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
11275 (h8300-*-elf*): Likewise.
11276 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
11277 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
11278 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
11279 (i[34567]86-*-mingw*): Likewise.
11280 (x86_64-*-mingw*): Likewise.
11281 (i[34567]86-*-interix3*): Likewise.
11282 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
11283 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
11284 (m68k-*-elf*): Also handle fido-*-elf.
11285 Add m68k/t-floatlib to tmake_file.
11286 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
11287 (m68k-*-linux*): Likewise.
11288 (m68k-*-rtems*): Likewise.
11289 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
11290 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
11291 sh64*-*-*.
11292 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
11293 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
11294 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
11295 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
11296 sh/t-netbsd to tmake_file.
11297 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
11298 (sh-*-rtems*): Add sh/t-sh to tmake_file.
11299 (sh-wrs-vxworks): Likewise.
11300 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
11301 *-leon[3-9]*.
11302 (v850*-*-*): Add v850/t-v850 to tmake_file.
11303 (vax-*-linux*): Add vax/t-linux to tmake_file.
11304 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
11305
11306 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11307
11308 * crtstuff.c: New file.
11309 * Makefile.in (CRTSTUFF_CFLAGS): Define.
11310 (CRTSTUFF_T_CFLAGS): Define.
11311 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
11312 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
11313 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
11314 crtstuff.c.
11315 Use $<.
11316 (crtbeginT.o): Use $(objext).
11317 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
11318 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
11319 (gcc-extra-parts): Remove.
11320 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
11321 Set extra_parts.
11322 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11323 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
11324 Add t-crtstuff-pic to tmake_file.
11325 (*-*-lynxos*): New case.
11326 Set tmake_file, extra_parts.
11327 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
11328 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
11329 *-*-netbsdelf[2-9]*.
11330 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
11331 (*-*-rtems*): Set extra_parts.
11332 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
11333 (*-*-uclinux*): New case.
11334 Set extra_parts.
11335 (*-*-vms*): New case.
11336 Set tmake_file, extra_parts.
11337 (*-*-elf): Set extra_parts.
11338 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
11339 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
11340 vms/t-vms64.
11341 Set extra_parts.
11342 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
11343 Set extra_parts.
11344 (arm*-*-freebsd*): Add t-crtin to tmake_file.
11345 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
11346 (arm-wrs-vxworks): Append to tmake_file.
11347 Set extra_parts.
11348 (arm*-*-uclinux*): Set extra_parts.
11349 (arm*-*-ecos-elf): Likewise.
11350 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
11351 arm*-*-eabi*.
11352 (arm*-*-rtems*): Set extra_parts.
11353 (arm*-*-elf): Likewise.
11354 (avr-*-rtems*): Clear extra_parts.
11355 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
11356 Set extra_parts.
11357 (bfin*-uclinux*): Likewise.
11358 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
11359 (bfin*-rtems*): Append to tmake_file.
11360 Set extra_parts.
11361 (bfin*-*): Likewise.
11362 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
11363 (crisv32-*-elf): ... this.
11364 (crisv32-*-none): ... this.
11365 (cris-*-elf, cris-*-none): New cases.
11366 Add cris/t-elfmulti to tmake_file.
11367 (fr30-*-elf): Append to tmake_file.
11368 Set extra_parts.
11369 (frv-*-elf): Append to tmake_file, add frv/t-frv.
11370 Set extra_parts.
11371 (h8300-*-rtems*): Append to tmake_file.
11372 Set extra_parts.
11373 (h8300-*-elf*): Likewise.
11374 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
11375 Set extra_parts.
11376 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
11377 Set extra_parts.
11378 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
11379 (x86_64-*-elf*): Likewise.
11380 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
11381 (x86_64-*-freebsd*): Likewise.
11382 (x86_64-*-netbsd*): Likewise.
11383 (i[34567]86-*-linux*): Likewise.
11384 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11385 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11386 (x86_64-*-linux*): Likewise.
11387 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11388 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
11389 tmake_file.
11390 Set extra_parts.
11391 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
11392 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
11393 Append to extra_parts, remove crtbegin.o, crtend.o.
11394 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
11395 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
11396 crtend.o, crtbeginS.o, crtendS.o.
11397 (ia64*-*-linux*): Comment extra_parts.
11398 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
11399 Set extra_parts.
11400 (iq2000*-*-elf*): Clear extra_parts.
11401 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
11402 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
11403 (m32r-*-elf*, m32r-*-rtems*): Split off ...
11404 (m32r-*-rtems*): ... this.
11405 Add m32r/t-m32r to tmake_file.
11406 (m68k-*-elf*): Add t-crtin to tmake_file.
11407 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
11408 (mcore-*-elf): Likewise.
11409 (microblaze*-*-*): Set extra_parts.
11410 (mips*-sde-elf*): New case.
11411 Set tmake_file, extra_parts.
11412 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11413 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11414 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
11415 tmake_file.
11416 Set extra_parts.
11417 (mipsisa64sr71k-*-elf*): Likewise.
11418 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11419 (mips-*-elf*, mipsel-*-elf*): Likewise.
11420 (mips64-*-elf*, mips64el-*-elf*): Likewise.
11421 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
11422 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11423 (mips*-*-rtems*): Likewise.
11424 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
11425 (moxie-*-*): Split into ...
11426 (moxie-*-elf, moxie-*-uclinux*): ... this.
11427 Add to extra_parts, remove crtbegin.o, crtend.o.
11428 (moxie-*-rtems*): New case.
11429 Set tmake_file.
11430 Clear extra_parts.
11431 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
11432 Set extra_parts.
11433 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
11434 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
11435 tmake_file.
11436 Set extra_parts.
11437 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
11438 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
11439 Set extra_parts.
11440 (powerpc-*-eabisim*): Likewise.
11441 (powerpc-*-elf*): Likewise.
11442 (powerpc-*-eabialtivec*): Likewise.
11443 (powerpc-xilinx-eabi*): Likewise.
11444 (powerpc-*-eabi*): Likewise.
11445 (powerpc-*-rtems*): Likewise.
11446 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
11447 tmake_file.
11448 Set extra_parts.
11449 (powerpc-*-lynxos*): Add to tmake_file.
11450 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
11451 rs6000/t-crtstuff, t-crtstuff-pic.
11452 Set extra_parts.
11453 (powerpcle-*-eabisim*): Likewise.
11454 (powerpcle-*-eabi*): Likewise.
11455 (rx-*-elf): Remove extra_parts.
11456 (s390x-ibm-tpf*): Set extra_parts.
11457 (score-*-elf): Set extra_parts.
11458 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11459 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11460 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11461 (sh64l*-*-netbsd*): Split into ...
11462 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
11463 Add t-crtstuff-pic to tmake_file.
11464 Set extra_parts.
11465 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
11466 Set extra_parts.
11467 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
11468 (sparc-*-elf*): Remove t-crtin from tmake_file.
11469 Add to extra_parts, remove crtbegin.o, crtend.o.
11470 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
11471 (sparc64-*-linux*): Likewise.
11472 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
11473 Add to extra_parts, remove crtbegin.o, crtend.o.
11474 (sparc64-*-elf*): Remove t-crtin from tmake_file.
11475 Add to extra_parts, remove crtbegin.o, crtend.o.
11476 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
11477 Add to extra_parts, remove crtbegin.o, crtend.o.
11478 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
11479 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
11480 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
11481 Set extra_parts.
11482 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
11483 Set extra_parts.
11484 (tic6x-*-*): Change to ...
11485 (tic6x-*-elf): ... this.
11486 Set extra_parts.
11487 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
11488 Set extra_parts.
11489 (am33_2.0-*-linux*): Add comment.
11490 (mep*-*-*): Add mep/t-mep to tmake_file.
11491 Set extra_parts.
11492 * config/alpha/t-vms: New file.
11493 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
11494 * config/arm/crti.S, config/arm/crtn.S: New files.
11495 * config/bfin/crti.S, config/bfin/crtn.S: New files.
11496 * config/bfin/crtlibid.S: New file.
11497 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
11498 * config/c6x/crti.S, config/c6x/crtn.S: New files.
11499 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
11500 (crti.o, crtin.o): New rules.
11501 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11502 * config/c6x/t-uclinux: New file.
11503 * config/cris/t-elfmulti: New file.
11504 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
11505 * config/fr30/crti.S, config/fr30/crtn.S: New files.
11506 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
11507 * config/frv/t-frv: New file.
11508 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
11509 * config/h8300/crti.S, config/h8300/crtn.S: New files.
11510 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
11511 New files.
11512 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
11513 refer to cygming-crtbegin.c, cygming-crtend.c.
11514 Use $<.
11515 * config/i386/t-nto: New file.
11516 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
11517 * config/ia64/crti.S, config/ia64/crtn.S: New files.
11518 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
11519 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
11520 Use .S extension.
11521 Use $<.
11522 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11523 (crtinitS.o): New rule.
11524 * config/ia64/vms-crtinit.S: New file.
11525 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
11526 * config/m32r/initfini.c: New file.
11527 * config/m32r/t-linux, config/m32r/t-m32r: New files.
11528 * config/m68k/crti.S, config/m68k/crtn.S: New files.
11529 * config/mcore/crti.S, config/mcore/crtn.S: New files.
11530 * config/mep/t-mep: New file.
11531 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
11532 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
11533 * config/mips/crti.S, config/mips/crtn.S: New files.
11534 * config/mips/t-crtstuff: New file.
11535 * config/mmix/crti.S, config/mmix/crtn.S: New files.
11536 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
11537 (CUSTOM_CRTIN): Set.
11538 ($(T)crti.o, $(T)crtn.o): Remove $(T),
11539 dependencies.
11540 Use $(srcdir) to refer to crti.S, crtn.S.
11541 Use .S extension, $<.
11542 * config/moxie/crti.asm: Rename to ...
11543 * config/moxie/crti.S: ... this.
11544 * config/moxie/crtn.asm: Rename to ...
11545 * config/moxie/crtn.S: ... this.
11546 * config/moxie/t-moxie: Remove.
11547 * config/pa/stublib.c: New file.
11548 * config/pa/t-stublib, config/pa/t-stublib64: New files.
11549 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
11550 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
11551 * config/rs6000/t-crtstuff: New file.
11552 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
11553 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
11554 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
11555 Make output file explicit.
11556 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
11557 Make output file explicit.
11558 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
11559 Make output file explicit.
11560 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
11561 Make output file explicit.
11562 * config/score/crti.S, config/score/crtn.S: New files.
11563 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
11564 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
11565 files.
11566 * config/sh/t-sh, config/sh/t-superh: New files.
11567 * config/sparc/t-linux64: New file.
11568 * config/spu/cache.S, config/spu/cachemgr.c: New files.
11569 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
11570 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
11571 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
11572 * config/t-crtin: Remove.
11573 * config/t-crtstuff-pic: New file.
11574 * config/t-sol2 (CUSTOM_CRTIN): Set.
11575 (crti.o, crtn.o): New rules.
11576 * config/vms/t-vms: New file.
11577 * config/vms/vms-ucrt0.c: New file.
11578 * config/xtensa/t-elf: New file.
11579
11580 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11581
11582 * Makefile.in (SHLIB_NM_FLAGS): Set.
11583 * mkmap-flat.awk, mkmap-symver.awk: New files.
11584 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
11585 exceptions.
11586 * configure: Regenerate.
11587 * config/libgcc-glibc.ver: New file.
11588 * config/libgcc-libsystem.ver: New file.
11589 * config/t-libunwind (SHLIB_LC): Set.
11590 * config/t-linux: New file.
11591 * config/t-slibgcc (INSTALL_SHLIB): New.
11592 (SHLIB_INSTALL): Use it.
11593 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
11594 to mkmap-symver.awk.
11595 (SHLIB_MAPFILES): Don't append, adapt pathname.
11596 (SHLIB_VERPFX): Set.
11597 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
11598 to mkmap-symver.awk.
11599 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
11600 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
11601 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
11602 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
11603 to mkmap-flat.awk.
11604 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
11605 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
11606 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
11607 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
11608 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
11609 * config/i386/libgcc-darwin.10.4.ver,
11610 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
11611 New files.
11612 * config/i386/t-darwin: Remove.
11613 * config/i386/t-darwin64: Likewise.
11614 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
11615 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
11616 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
11617 * config/i386/t-linux: New file.
11618 * config/i386/t-mingw32: New file.
11619 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
11620 * config/ia64/t-glibc: Rename to ...
11621 * config/ia64/t-linux: ... this.
11622 (SHLIB_MAPFILES): Set.
11623 * config/ia64/t-glibc-libunwind: Rename to ...
11624 * config/ia64/t-linux-libunwind: ... this.
11625 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
11626 * config/ia64/t-slibgcc-hpux: New file.
11627 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
11628 * config/m68k/t-slibgcc-elf-ver: New file.
11629 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
11630 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
11631 to mkmap-flat.awk.
11632 * config/pa/t-slibgcc-hpux: New file.
11633 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11634 files.
11635 * config/rs6000/libgcc-darwin.10.4.ver,
11636 config/rs6000/libgcc-darwin.10.5.ver: New files.
11637 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11638 config/rs6000/libgcc-glibc.ver.
11639 * config/rs6000/libgcc-ppc64.ver: Rename to
11640 config/rs6000/libgcc-ibm-ldouble.ver.
11641 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11642 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11643 * config/rs6000/t-ldbl128: Rename to ...
11644 * config/rs6000/t-linux: ... this.
11645 (SHLIB_MAPFILES): Adapt filename.
11646 * config/rs6000/t-slibgcc-aix: New file.
11647 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11648 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11649 libgcc-excl.ver, libgcc-glibc.ver.
11650 (SHLIB_LINK, SHLIB_INSTALL): Remove.
11651 * config/sparc/libgcc-glibc.ver: New file.
11652 * config/sparc/t-linux: New file.
11653 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11654 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11655 t-slibgcc-elf-ver to tmake_file.
11656 Add t-slibgcc-nolc-override to tmake_file for posix threads on
11657 *-*-freebsd[34].
11658 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11659 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11660 t-slibgcc-elf-ver, t-linux to tmake_file.
11661 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11662 tmake_file.
11663 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11664 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11665 (alpha*-dec-*vms*): Likewise.
11666 (arm*-*-freebsd*): Append to tmake_file.
11667 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11668 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11669 arm*-*-linux-*eabi.
11670 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11671 tmake_file for arm*-*-symbianelf*.
11672 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11673 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11674 cris/t-linux.
11675 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11676 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11677 pa/t-slibgcc-dwarf-ver to tmake_file.
11678 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11679 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11680 (hppa*64*-*-hpux11*): Likewise.
11681 (hppa[12]*-*-hpux11*): Likewise.
11682 (x86_64-*-darwin*): Don't override tmake_file, but only keep
11683 i386/t-crtpc, i386/t-crtfm.
11684 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11685 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11686 to tmake_file.
11687 Add i386/t-cygwin to tmake_file.
11688 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11689 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11690 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11691 to tmake_file.
11692 Add i386/t-mingw32 to tmake_file.
11693 (x86_64-*-mingw*): Likewise.
11694 (ia64*-*-freebsd*): Append to tmake_file.
11695 (ia64*-*-linux*): Append to tmake_file.
11696 Replace ia64/t-glibc by ia64/t-linux.
11697 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11698 system libunwind.
11699 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11700 t-slibgcc-hpux to tmake_file.
11701 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11702 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11703 (m32rle-*-linux*): Likewise.
11704 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11705 sjlj exceptions.
11706 (microblaze*-linux*): New case.
11707 Append to tmake_file, add t-slibgcc-nolc-override.
11708 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11709 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11710 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11711 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11712 rs6000/t-slibgcc-aix to tmake_file.
11713 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11714 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11715 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11716 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11717 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11718 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11719 sh*-*-linux*.
11720 (sparc-*-linux*): Append to tmake_file for *-leon*.
11721 Add sparc/t-linux to tmake_file for non-Leon targets.
11722 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11723 (tic6x-*-uclinux): New case.
11724 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11725 (tic6x-*-*): Add c6x/t-elf to tmake_file.
11726 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11727 (am33_2.0-*-linux*): Append to tmake_file.
11728 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11729 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11730 x86_64-*-kfreebsd*-gnu.
11731 Add i386/t-linux to tmake_file.
11732
11733 2011-10-28 Ian Lance Taylor <iant@google.com>
11734
11735 * config/i386/morestack.S: Correct CFI information to do proper
11736 returns throughout function. In 32-bit mode, save %ebx so that it
11737 is restored on unwind.
11738
11739 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
11740
11741 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11742 case where B3 isn't the return register.
11743
11744 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11745 logic for doubleword pops.
11746
11747 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
11748
11749 * config/rs6000/t-freebsd: Add wildcard.
11750
11751 2011-10-21 Paul Brook <paul@codesourcery.com>
11752
11753 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11754
11755 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
11756 Eric Botcazou <ebotcazou@adacore.com>
11757
11758 PR target/50737
11759 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11760 fs->signal_frame to 1.
11761
11762 2011-10-07 Ian Lance Taylor <iant@google.com>
11763
11764 * generic-morestack-thread.c: #include <errno.h>.
11765
11766 2011-10-07 Ian Lance Taylor <iant@google.com>
11767
11768 PR target/46093
11769 * generic-morestack.c (__generic_morestack): Make sure the segment
11770 is large enough for both the stack frame and the copied
11771 parameters.
11772
11773 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11774
11775 PR bootstrap/49804
11776 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11777 extra_parts.
11778
11779 2011-09-28 Nick Clifton <nickc@redhat.com>
11780
11781 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11782 64-bit doubles are not enabled.
11783 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11784 and floatunsisf functions.
11785
11786 2011-09-13 Paul Brook <paul@codesourcery.com>
11787
11788 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
11789 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11790 * unwind-arm-common.inc: New file.
11791 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11792 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11793 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11794 * config/c6x/libunwind.S: New file.
11795 * config/c6x/pr-support.c: New file.
11796 * config/c6x/unwind-c6x.c: New file.
11797 * config/c6x/unwind-c6x.h: New file.
11798 * config/c6x/t-c6x-elf: New file.
11799
11800 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
11801
11802 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11803 (ASM_DIVZERO): Ditto.
11804 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11805
11806 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
11807
11808 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11809
11810 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
11811
11812 PR target/50090
11813 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11814 instead of an assembly one.
11815
11816 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
11817
11818 PR bootstrap/50047
11819 * Makefile.in (install-unwind_h): Create
11820 $(gcc_objdir)/include/unwind.h atomically.
11821
11822 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11823
11824 * Makefile.in (install-unwind_h): Remove destination file first.
11825
11826 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11827
11828 * sync.c: New file.
11829 * config/mips/t-mips16: New file.
11830 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11831 (mips*-*-linux*): Likewise.
11832 (mips*-sde-elf*): Likewise.
11833 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11834 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11835 Add mips/t-mips16 to tmake_file.
11836 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11837 (mips-*-elf*): Likewise.
11838 (mips64-*-elf*): Likewise.
11839 (mips64orion-*-elf*): Likewise.
11840 (mips*-*-rtems*): Likewise.
11841 (mipstx39-*-elf*): Likewise.
11842 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11843 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11844 LIBGCC_SYNC_CFLAGS.
11845 Use $(srcdir) to refer to sync.c.
11846 Use $<.
11847 ($(libgcc-sync-funcs-o)): Likewise.
11848 ($(libgcc-sync-size-funcs-s-o)): Likewise.
11849 ($(libgcc-sync-funcs-s-o)): Likewise.
11850
11851 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11852
11853 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11854 t-libunwind.
11855
11856 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
11857
11858 PR other/48007
11859 * config/i386/value-unwind.h: New.
11860
11861 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
11862
11863 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11864 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11865 Add to tmake_file rather than overriding it.
11866
11867 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11868
11869 * config/t-softfp: Remove.
11870 * soft-fp: Moved from ../gcc/config.
11871 * soft-fp/README: Remove t-softfp reference.
11872 * soft-fp/t-softfp: Move to config/t-softfp.
11873 (softfp_machine_header): Remove.
11874 (softfp_file_list): Remove config subdir.
11875 (soft-fp-objects): New variable.
11876 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11877 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11878 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11879 * config/t-softfp-excl: New file.
11880 * config/t-softfp-sfdf: New file.
11881 * config/t-softfp-tf: New file.
11882 * config/no-sfp-machine.h: New file.
11883 * config/arm/sfp-machine.h: New file.
11884 * config/arm/t-softfp: New file.
11885 * config/c6x/sfp-machine.h: New file.
11886 * config/i386/32/t-fprules-softfp: Rename to ...
11887 * config/i386/32/t-softfp: ... this.
11888 (tifunctions, LIB2ADD): Remove.
11889 (softfp_int_modes): Override.
11890 * config/i386/64/t-softfp-compat (tf-functions): Remove config
11891 subdir.
11892 * config/i386/64/eqtf2.c: Likewise.
11893 * config/i386/64/getf2.c: Likewise.
11894 * config/i386/64/letf2.c: Likewise.
11895 * config/ia64/sft-machine.h: New file.
11896 * config/ia64/t-fprules-softfp: Rename to ...
11897 * config/ia64/t-softfp: ... this.
11898 * config/lm32/sfp-machine.h: New file.
11899 * config/moxie/t-moxie-softfp: Remove.
11900 * config/rs6000/ibm-ldouble-format: New file.
11901 * config/rs6000/ibm-ldouble.c: New file.
11902 * config/rs6000/libgcc-ppc-glibc.ver: New file
11903 * config/rs6000/libgcc-ppc64.ver: New file
11904 * config/rs6000/sfp-machine.h: New file.
11905 * config/rs6000/t-freebsd: New file.
11906 * config/rs6000/t-ibm-ldouble: New file.
11907 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11908 libgcc-ppc-glibc.ver.
11909 * config/rs6000/t-linux64: New file.
11910 * config/rs6000/t-ppccomm (LIB2ADD): Add
11911 $(srcdir)/config/rs6000/ibm-ldouble.c.
11912 * config/rs6000/t-ppccomm-ldbl: New file.
11913 * config/score/sfp-machine.h: New file.
11914 * config.host (sfp_machine_header): Explain.
11915 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11916 t-softfp to tmake_file.
11917 (arm*-*-uclinux*): Likewise.
11918 (arm*-*-ecos-elf): Likewise.
11919 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11920 (arm*-*-rtems*): Likewise.
11921 (arm*-*-elf): Likewise.
11922 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11923 in tmake_file.
11924 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11925 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11926 (lm32-*-uclinux*): Likewise.
11927 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11928 t-softfp-excl, t-softfp.
11929 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11930 (powerpc64-*-darwin*): Likewise.
11931 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11932 to tmake_file.
11933 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11934 tmake_file.
11935 (powerpc-*-eabisim*): Likewise.
11936 (powerpc-*-elf*): Likewise.
11937 (powerpc-*-eabialtivec*): Likewise.
11938 (powerpc-xilinx-eabi*): Likewise.
11939 (powerpc-*-rtems*): Likewise.
11940 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11941 t-softfp-excl, t-softfp to tmake_file.
11942 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11943 rs6000/t-ppccomm-ldbl to tmake_file.
11944 (powerpcle-*-elf*): Likewise.
11945 (powerpcle-*-eabisim*): Likewise.
11946 (powerpcle-*-eabi*): Likewise.
11947 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11948 rs6000/t-ibm-ldouble to tmake_file.
11949 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11950 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11951 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11952 (tic6x-*-*): Likewise.
11953 (i[34567]86-*-darwin*, x86_64-*-darwin*,
11954 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11955 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11956 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11957 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11958 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11959 t-softfp to tmake_file.
11960 * configure.ac (sfp_machine_header): Provide default if unset.
11961 Substitute.
11962 Link sfp-machine.h to config/$sfp_machine_header.
11963 * configure: Regenerate.
11964
11965 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11966
11967 * Makefile.in (double_type_size, long_double_type_size): Set.
11968 Remove $(fpbit-in-libgcc) support.
11969 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11970 (fpbit-src): New variable.
11971 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11972 Compile with -DFLOAT $(FPBIT_CFLAGS).
11973 Use $<.
11974 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11975 Compile with $(FPBIT_CFLAGS).
11976 Use $<.
11977 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11978 Compile with -DFLOAT $(TPBIT_CFLAGS).
11979 Use $<.
11980 * configure.ac (double_type_size, long_double_type_size):
11981 Determine and substitute.
11982 * configure: Regenerate.
11983 * fp-bit.c, fp-bit.h: New files.
11984 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11985 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11986 * config/mips/t-mips: New file.
11987 * config/mips/t-sdemtk: New file.
11988 * config/rs6000/ppc64-fp.c: New file.
11989 * config/rs6000/t-darwin (LIB2ADD): Add
11990 $(srcdir)/config/rs6000/ppc64-fp.c.
11991 * config/rs6000/t-ppc64-fp: New file.
11992 * config/rx/rx-lib.h: New file.
11993 * config/rx/t-rx (FPBIT): Set to true.
11994 ($(gcc_objdir)/fp-bit.c): Remove.
11995 (DPBIT): Set to true only with -m64bit-doubles.
11996 ($(gcc_objdir)/dp-bit.c): Remove.
11997 * config/sparc/t-softfp: Remove.
11998 * config/spu/t-elf: New file.
11999 * config/t-fdpbit, config/t-fpbit: New files.
12000 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
12001 (mips*-*-*): Likewise.
12002 (arm-wrs-vxworks): Likewise.
12003 (arm*-*-freebsd*): Likewise.
12004 (avr-*-rtems*): Add t-fpbit to tmake_file.
12005 (avr-*-*): Likewise.
12006 (bfin*-elf*): Add t-fdpbit to tmake_file.
12007 (bfin*-uclinux*): Likewise.
12008 (bfin*-linux-uclibc*): Likewise.
12009 (bfin*-rtems*): New case.
12010 Add t-fdpbit to tmake_file.
12011 (bfin*-*): Add t-fdpbit to tmake_file.
12012 (crisv32-*-elf): Likewise.
12013 (cris-*-linux*): Likewise.
12014 (fr30-*-elf): Likewise.
12015 (frv-*-elf, frv-*-*linux*): Likewise.
12016 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
12017 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
12018 (m32r-*-elf*): Likewise.
12019 (m32rle-*-elf*): Likewise.
12020 (m32r-*-linux*): Likewise.
12021 (m32rle-*-linux*): Likewise.
12022 (mcore-*-elf): Add t-fdpbit to tmake_file.
12023 (microblaze*-*-*): Likewise.
12024 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
12025 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
12026 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
12027 Fix typo.
12028 Add mips/t-tpbit to tmake-file.
12029 (mips*-*-linux*): Fix typo.
12030 (mips*-sde-elf*): New case
12031 Add mips/t-sdemtk unless using newlib.
12032 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
12033 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
12034 (mn10300-*-*): Likewise.
12035 (pdp11-*-*): Likewise.
12036 (picochip-*-*): Add t-fpbit to tmake_file.
12037 (powerpc-*-eabisimaltivec*): Likewise.
12038 (powerpc-*-eabisim*): Likewise.
12039 (powerpc-*-elf*): Likewise.
12040 (powerpc-*-eabialtivec*): Likewise.
12041 (powerpc-xilinx-eabi*): New case.
12042 Add t-fdpbit to tmake_file.
12043 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
12044 (powerpc-*-rtems*): Likewise.
12045 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
12046 tmake_file.
12047 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
12048 tmake_file.
12049 (powerpc-*-lynxos*): Likewise.
12050 (powerpcle-*-elf*): Likewise.
12051 (powerpcle-*-eabisim*): Likewise.
12052 (powerpcle-*-eabi*): Likewise.
12053 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
12054 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
12055 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12056 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12057 (rx-*-elf): Add t-fdpbit to tmake_file.
12058 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
12059 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
12060 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
12061 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
12062 sh*-*-netbsd*.
12063 (sh-*-rtems*): Add t-fdpbit to tmake_file.
12064 (sh-wrs-vxworks): Likewise.
12065 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
12066 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
12067 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
12068 (sparc64-*-rtems*): ... new case.
12069 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
12070 (spu-*-elf*): Likewise.
12071 Add spu/t-elf to tmake_file.
12072 (v850*-*-*): Add t-fdpbit to tmake_file.
12073 (xstormy16-*-elf): Likewise.
12074 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
12075 (mep*-*-*): Likewise.
12076
12077 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12078
12079 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
12080 variables.
12081 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
12082 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
12083 (install-unwind_h): New target.
12084 (all): Depend on it.
12085 * config.host (unwind_header): New variable.
12086 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
12087 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
12088 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
12089 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
12090 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
12091 Set unwind_header.
12092 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
12093 Set unwind_header.
12094 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
12095 arm*-*-eabi*.
12096 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
12097 Set unwind_header.
12098 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
12099 (ia64*-*-freebsd*): Likewise.
12100 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
12101 tmake_file.
12102 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
12103 $with_system_libunwind.
12104 (ia64*-*-hpux*): Set tmake_file.
12105 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
12106 (picochip-*-*): Set tmake_file.
12107 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
12108 md_unwind_header.
12109 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12110 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12111 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
12112 (xtensa*-*-elf*): Set tmake_file.
12113 (xtensa*-*-linux*): Likewise.
12114 * configure.ac: Include ../config/unwind_ipinfo.m4.
12115 Call GCC_CHECK_UNWIND_GETIPINFO.
12116 Link unwind.h to $unwind_header.
12117 * configure: Regenerate.
12118 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
12119 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
12120 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
12121 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
12122 * config/unwind-dw2-fde-darwin.c: New file.
12123 * config/arm/libunwind.S, config/arm/pr-support.c,
12124 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
12125 config/arm/unwind-arm.h,: New files.
12126 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
12127 config/ia64/t-eh-ia64, config/ia64/t-glibc,
12128 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
12129 config/ia64/t-vms, config/ia64/unwind-ia64.c,
12130 config/ia64/unwind-ia64.h: New files.
12131 * config/picochip/t-picochip: New file.
12132 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
12133 files.
12134 * config/rs6000/t-darwin (LIB2ADDEH): Set.
12135 * config/s390/t-tpf (LIB2ADDEH): Remove.
12136 * config/t-darwin (LIB2ADDEH): Set.
12137 * config/t-eh-dw2-dip: New file.
12138 * config/t-libunwind, config/t-libunwind-elf: New files.
12139 * config/t-sol2 (LIB2ADDEH): Remove.
12140 * config/xtensa/t-xtensa: New file.
12141
12142 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
12143
12144 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
12145 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
12146 long long to check rt_sigreturn syscall.
12147
12148 2011-08-02 Alan Modra <amodra@gmail.com>
12149
12150 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
12151 Restore for indirect call bcrtl from correct stack slot, and only
12152 if cfa+40 isn't valid.
12153
12154 2011-08-01 Julian Brown <julian@codesourcery.com>
12155
12156 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
12157 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
12158 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
12159
12160 2011-08-01 Julian Brown <julian@codesourcery.com>
12161
12162 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
12163 (libgcc-std.ver.in): Use above.
12164 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
12165 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
12166 throughout file.
12167 * config/t-fixedpoint-gnu-prefix: New file.
12168 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
12169 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
12170 instead of __PFX__.
12171
12172 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
12173
12174 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
12175 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
12176 for x86-64. Properly check __x86_64__ and __LP64__.
12177
12178 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
12179
12180 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
12181 version.
12182 (_FP_WS_TYPE): Likewise.
12183 (_FP_I_TYPE): Likewise.
12184
12185 2011-07-28 Alan Modra <amodra@gmail.com>
12186
12187 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
12188 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
12189 in a plt call stub. Do restore r2 if stopped on bctrl.
12190
12191 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12192
12193 * config.host (i[3456x]86-*-netware*): Remove.
12194 * config/i386/netware-crt0.c, config/i386/t-nwld,
12195 config/i386/t-slibgcc-nwld: Remove.
12196
12197 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
12198
12199 * config.host: Handle tic6x-*-*.
12200 * config/c6x/c6x-abi.h: New file.
12201
12202 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12203
12204 * config/i386/crtprec.c: New file.
12205 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
12206 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
12207 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
12208 (x86_64-*-darwin*): Likewise.
12209 (i[34567]86-*-solaris2*: Likewise.
12210
12211 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12212
12213 * config/alpha/crtfastmath.c: New file.
12214 * config/i386/crtfastmath.c: New file.
12215 * config/ia64/crtfastmath.c: New file.
12216 * config/mips/crtfastmath.c: New file.
12217 * config/sparc/crtfastmath.c: New file.
12218
12219 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
12220 crtfastmath.c.
12221 Add -frandom-seed=gcc-crtfastmath.
12222 * config/alpha/t-crtfm: Remove.
12223 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
12224 * config/ia64/t-ia64 (crtfastmath.o): Remove.
12225
12226 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
12227 (alpha*-dec-osf5.1*): Likewise.
12228 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
12229 Add crtfastmath.o to extra_parts.
12230 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
12231 Add crtfastmath.o to extra_parts.
12232 (x86_64-*-darwin*): Likewise.
12233 (x86_64-*-mingw*): Likewise.
12234 (ia64*-*-elf*): Add t-crtfm to tmake_file.
12235 (ia64*-*-freebsd*): Likewise.
12236 (ia64*-*-linux*): Likewise.
12237 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
12238 Add crtfastmath.o to extra_parts.
12239
12240 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12241
12242 * config/darwin-crt3.o: New file.
12243 * config/rs6000/darwin-crt2.c: New file.
12244 * config/t-darwin: New file.
12245 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
12246 (crt2.o): New rule.
12247 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
12248 (powerpc-*-darwin*): Add crt2.o to extra_parts.
12249 (powerpc64-*-darwin*): Likewise.
12250
12251 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12252
12253 * config/i386/netware-crt0.c: New file.
12254 * config/i386/t-nwld: Rename to ...
12255 * config/i386/t-slibgcc-nwld: ... this.
12256 * config/i386/t-nwld: New file.
12257 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
12258 tmake_file.
12259 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
12260 extra_parts.
12261
12262 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12263
12264 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
12265 i386/t-crtstuff.
12266 * configure: Regenerate.
12267
12268 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12269
12270 * dfp-bit.c, dfp-bit.h: New files.
12271 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
12272 variables.
12273 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
12274 ($(d64pbit-o)): Likewise.
12275 ($(d128pbit-o)): Likewise.
12276 * config/t-dfprules: New file.
12277 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
12278 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
12279 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
12280 (x86_64-*-linux*): Likewise.
12281 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
12282 (i[34567]86-*-cygwin*): Likewise.
12283 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
12284 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
12285
12286 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12287
12288 * Makfile.in (LIBGCOV): New variable.
12289 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
12290 * libgcov.c: New file.
12291
12292 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12293
12294 * fixed-bit.c, fixed-bit.h: New files.
12295 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
12296 refer to fixed-bit.c.
12297
12298 2011-07-07 Joseph Myers <joseph@codesourcery.com>
12299
12300 * config.host (*local*): Remove.
12301
12302 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12303
12304 PR target/39150
12305 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
12306 like i?86-*-solaris2.1[0-9]*.
12307 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
12308 * configure.ac (i?86-*-solaris2*): Likewise.
12309 * configure: Regenerate.
12310
12311 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
12312
12313 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
12314 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
12315 md_unwind_header by splitting out of...
12316 (i[34567]86-*-linux*): ... this.
12317 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
12318 Remove md_unwind_header by splitting out of...
12319 (x86_64-*-linux*): ... this.
12320
12321 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
12322
12323 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
12324
12325 2011-06-28 Nick Clifton <nickc@redhat.com>
12326
12327 * config.host: Recognize all V850 variants.
12328
12329 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
12330
12331 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
12332
12333 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12334
12335 * shared-object.mk (c_flags-$o): Save c_flags.
12336 ($(base)$(objext)): Use it.
12337 ($(base)_s$(objext)): Likewise.
12338
12339 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
12340
12341 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
12342 * libgcc-std.ver.in (GCC_4.7.0): New section.
12343
12344 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
12345
12346 PR target/49313
12347 PR target/29524
12348 * config/avr/t-avr: Fix line endings.
12349 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
12350 _parityXX2.
12351
12352 2011-06-14 Olivier Hainque <hainque@adacore.com>
12353 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12354
12355 * config/mips/irix6-unwind.h: New file.
12356 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
12357
12358 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
12359
12360 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
12361 (sparc64_fallback_frame_state): Use it.
12362 (sparc64_frob_update_context): Further adjust context.
12363 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
12364 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
12365 * config/sparc/sol2-cn.S: Likewise.
12366
12367 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12368
12369 * enable-execute-stack-empty.c: New file.
12370 * enable-execute-stack-mprotect.c: New file.
12371 * config/i386/enable-execute-stack-mingw32.c: New file.
12372 * config.host (enable_execute_stack): New variable.
12373 Select appropriate variants.
12374 * configure.ac: Link enable-execute-stack.c to
12375 $enable_execute_stack.
12376 * configure: Regenerate.
12377 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
12378 (lib2funcs): Remove _enable_execute_stack.
12379
12380 2011-06-09 David S. Miller <davem@davemloft.net>
12381 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12382
12383 * config.host (sparc-*-linux*): Correct md_unwind_header
12384 filename.
12385 (s390x-ibm-tpf*): Fix typo.
12386
12387 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12388
12389 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
12390 Add crtfastmath.o to extra_parts.
12391 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
12392 mips/t-crtfm.
12393 * config/mips/t-crtfm: Remove.
12394
12395 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
12396
12397 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
12398
12399 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
12400
12401 * config.host (sh*-*-linux*): Fix typo.
12402
12403 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12404
12405 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
12406 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
12407 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
12408 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
12409 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
12410 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
12411 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
12412 Wrap in !__MINGW64__.
12413 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
12414 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
12415 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
12416 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
12417 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
12418 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
12419 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
12420 Wrap in !__LP64__.
12421 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
12422 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
12423 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
12424 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
12425 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
12426 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
12427 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
12428 * config/no-unwind.h: New file.
12429 * config.host (md_unwind_header): Document.
12430 Define.
12431 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
12432 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
12433 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
12434 hppa[12]*-*-hpux11*): Set md_unwind_header.
12435 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
12436 Set md_unwind_header.
12437 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
12438 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
12439 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
12440 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
12441 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
12442 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
12443 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
12444 md_unwind_header.
12445 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
12446 * configure: Regenerate.
12447
12448 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12449
12450 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
12451 Set tmake_file, extra_parts.
12452 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
12453 Remove O32 support.
12454 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
12455 Remove O32 support.
12456 * config/mips/t-irix6: New file.
12457 * config/mips/t-slibgcc-irix: New file.
12458
12459 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12460
12461 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
12462 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
12463
12464 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12465
12466 * configure.ac (target_thread_file): Determine thread model.
12467 * configure: Regenerate.
12468 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
12469 * config/alpha/t-alpha: New file.
12470 * config/alpha/t-crtfm: Use $<.
12471 * config/alpha/t-ieee: New file.
12472 * config/alpha/t-osf-pthread: New file.
12473 * config/alpha/t-slibgcc-osf: New file.
12474 * config/alpha/libgcc-osf5.ver: New file.
12475
12476 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12477
12478 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
12479 tmake_file.
12480 Add crtfastmath.o to extra_parts.
12481
12482 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12483
12484 * config/gmon-sol2.c: Reindent.
12485 Cleanup comments.
12486 Remove, correct casts.
12487 Use STDERR_FILENO, NULL.
12488 (BASEADDRESS): Remove.
12489 (minbrk): Remove.
12490 (errno, sbrk): Remove declarations.
12491 (monstartup) [hp300]: Remove.
12492 (mcount): Remove.
12493
12494 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12495
12496 * Makefile.in (cpu_type): Define.
12497 * config.host (i[34567]86-*-rtems*): Handle it.
12498 (i[34567]86-*-solaris2*): Move body ...
12499 (*-*-solaris2*): ... here.
12500 New case, generalize.
12501 (sparc-*-elf*): Handle it.
12502 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
12503 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
12504 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
12505 Fold into ...
12506 (sparc*-*-solaris2*): ... this.
12507 New case.
12508 (sparc64-*-elf*): Handle it.
12509 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
12510 Merge ../gcc/config/i386/gmon-sol2.c.
12511 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
12512 Use C comments.
12513 Merge ../gcc/config/i386/sol2-gc1.asm.
12514 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
12515 Use C comments.
12516 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
12517 Use C comments.
12518 * config/i386/t-crtfm (crtfastmath.o): Use $<.
12519 * config/i386/t-crtstuff: New file.
12520 * config/i386/t-softfp: New file.
12521 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
12522 $(T)crti.o, $(T)crtn.o): Remove.
12523 (gcrt1.o): New rule.
12524 (TARGET_LIBGCC2_CFLAGS): Remove.
12525 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
12526 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
12527 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
12528 * config/sparc/t-sol2: New file.
12529 * config/sparc/t-crtfm: Move to ...
12530 * config/t-crtfm: ... this.
12531 Use $(cpu_type), $<.
12532 * config/t-crtin: New file.
12533 * config/sparc/t-softfp: New file.
12534 * config/sparc/t-softmul: New file.
12535 * config/t-rtems: New file.
12536 * config/t-slibgcc: New file.
12537 * config/t-slibgcc-elf-ver: New file.
12538 * config/t-slibgcc-gld: New file.
12539 * config/t-slibgcc-sld: New file.
12540 * config/t-sol2: New file.
12541 * configure.ac: Include ../config/lib-ld.m4.
12542 Call AC_LIB_PROG_LD_GNU.
12543 Substitute cpu_type.
12544 * configure: Regenerate.
12545
12546 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
12547
12548 PR bootstrap/49173
12549 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
12550 libgcc-std.ver in the build directory.
12551 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
12552 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
12553
12554 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
12555
12556 * libgcc-std.ver.in: New file.
12557 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
12558 variables.
12559 (libgcc-std.ver): New rule.
12560 * config/t-gnu-prefix: New file.
12561
12562 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12563
12564 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
12565
12566 2011-05-10 Joseph Myers <joseph@codesourcery.com>
12567
12568 * config/i386/darwin-lib.h: New file.
12569
12570 2011-05-10 Joseph Myers <joseph@codesourcery.com>
12571
12572 * config/arm/symbian-lib.h: New.
12573
12574 2011-05-04 Chris Demetriou <cgd@google.com>
12575
12576 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
12577 (__x86.get_pc_thunk.bx): ...this.
12578 (__morestack): Adjust for rename, remove undef of __i686.
12579
12580 2011-05-03 Chris Demetriou <cgd@google.com>
12581
12582 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
12583
12584 2011-03-22 Joseph Myers <joseph@codesourcery.com>
12585
12586 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
12587 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
12588 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
12589 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
12590 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
12591 Remove cases.
12592
12593 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
12594
12595 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
12596 Adjust copyright year.
12597
12598 2011-03-07 Ian Lance Taylor <iant@google.com>
12599
12600 * generic-morestack.c (__splitstack_find): Adjust returned stack
12601 pointer to include all registers pushed by __morestack.
12602
12603 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
12604
12605 PR target/40125
12606 * configure.ac: Call ACX_NONCANONICAL_TARGET.
12607 (toolexecdir): Calculate and AC_SUBST.
12608 (toolexeclibdir): Likewise.
12609 * Makefile.in (target_noncanonical): Import.
12610 (toolexecdir): Likewise.
12611 (toolexeclibdir): Likewise.
12612 * configure: Regenerate.
12613
12614 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
12615
12616 PR target/46040
12617 * config/arm/bpabi.h: Rename to...
12618 * config/arm/bpabi-lib.h: ...this.
12619
12620 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12621
12622 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
12623 appropriate.
12624 * configure: Regenerate.
12625
12626 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
12627
12628 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
12629 __FLOAT_WORD_ORDER__.
12630 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
12631 Delete.
12632
12633 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12634
12635 PR other/46202
12636 * Makefile.in (install-strip): New phony target.
12637
12638 2010-11-07 Ian Lance Taylor <iant@google.com>
12639
12640 PR target/46089
12641 * config/i386/morestack.S (__morestack_large_model): New
12642 function.
12643
12644 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
12645
12646 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12647 Delete.
12648 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12649
12650 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
12651
12652 * config/arm/bpabi.h: New file.
12653 * config/frv/frv-abi.h: New file.
12654
12655 2010-10-01 Ian Lance Taylor <iant@google.com>
12656
12657 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12658 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12659
12660 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
12661
12662 PR target/45858
12663 * config.host: Add the missing `$'.
12664
12665 2010-09-30 Michael Eager <eager@eagercon.com>
12666
12667 * config.host: Add microblaze*-*-*.
12668 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12669 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12670 udivsi3.asm,umodsi3.asm}: New.
12671
12672 2010-09-28 Ian Lance Taylor <iant@google.com>
12673
12674 * configure.ac: Adjust CFI test to test assembler directly rather
12675 than checking gcc preprocessor macro.
12676 * configure: Rebuild.
12677
12678 2010-09-27 Ian Lance Taylor <iant@google.com>
12679
12680 * configure.ac: Test whether assembler supports CFI directives.
12681 * config.host: Only add t-stack and i386/t-stack-i386 to
12682 tmake_file if libgcc_cv_cfi is "yes".
12683 * configure: Rebuild.
12684
12685 2010-09-27 Ian Lance Taylor <iant@google.com>
12686
12687 * generic-morestack.h: New file.
12688 * generic-morestack.c: New file.
12689 * generic-morestack-thread.c: New file.
12690 * config/i386/morestack.S: New file.
12691 * config/t-stack: New file.
12692 * config/i386/t-stack-i386: New file.
12693 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12694 i386/t-stack-i386 to tmake_file.
12695
12696 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
12697
12698 * Makefile.in (libgcc-extra-parts): Check for static archives and
12699 invoke ranlib after installing them.
12700 (gcc-extra-parts): Likewise.
12701 (install-leaf): Likewise.
12702
12703 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
12704
12705 * configure: Regenerated.
12706
12707 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
12708
12709 * configure: Regenerated.
12710
12711 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
12712 Andrew Pinski <pinskia@gmail.com>
12713
12714 PR target/40959
12715 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
12716
12717 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
12718
12719 PR target/45524
12720 * configure: Regenerated.
12721
12722 2010-09-06 Andreas Schwab <schwab@redhat.com>
12723
12724 * configure: Regenerate.
12725
12726 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
12727
12728 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12729 64bit targets.
12730 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12731 for 64bit targets.
12732
12733 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
12734 Iain Sandoe <iains@gcc.gnu.org>
12735
12736 PR target/45476
12737 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12738 LIB2FUNCS_EXCLUDE functions.
12739
12740 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12741
12742 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12743 Include dfp.m4.
12744 * configure: Regenerate.
12745
12746 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
12747
12748 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12749 i386/t-freebsd to tmake_file.
12750 * config/i386/t-freebsd: New file.
12751 * config/i386/libgcc-bsd.ver: New file.
12752
12753 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
12754
12755 * config.host (powerpc*-eabispe*): Set tmake_file.
12756 (powerpc*-eabi*): Likewise.
12757 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12758 crtbeginS, crtendS, crtbeginT.
12759
12760 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
12761
12762 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12763 to tmake_file. Add crtfastmath.o to extra_parts.
12764 * config/mips/t-crtfm: New.
12765
12766 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
12767
12768 * config.host (sparc64-*-rtems*): New target.
12769
12770 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12771
12772 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12773 assembler syntax.
12774
12775 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
12776
12777 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12778
12779 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12780
12781 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12782 alpha-dec-osf5.0* support.
12783
12784 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
12785
12786 * config.host: Add lm32-*-rtems*.
12787
12788 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12789 Uros Bizjak <ubizjak@gmail.com>
12790
12791 PR target/39048
12792 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12793 like other remaining 32-bit x86 OSes.
12794 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12795 assembler syntax.
12796 * config/i386/libgcc-sol2.ver: New file.
12797 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12798
12799 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
12800
12801 PR c/43553
12802 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12803 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12804 is used and substitute set_use_emutls.
12805 * configure: Regenerated.
12806
12807 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
12808
12809 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12810
12811 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12812
12813 PR target/38085
12814 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12815 MULTILIB_CFLAGS.
12816 ($(T)gcrt1.o): Likewise.
12817 ($(T)crt1.o): Likewise.
12818 ($(T)crti.o): Likewise.
12819 ($(T)crtn.o): Likewise.
12820
12821 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12822
12823 PR other/42980
12824 * Makefile.in (install): Use $(MAKE) string in rule, for
12825 parallel make.
12826
12827 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
12828
12829 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12830 * config/mmix/t-mmix: New file.
12831 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12832
12833 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
12834
12835 PR java/41991
12836 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12837 SHLIB_MAPFILES.
12838
12839 2010-01-04 Anthony Green <green@moxielogic.com>
12840
12841 * config/moxie/crti.asm, config/moxie/crtn.asm,
12842 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12843 config/moxie/t-moxie: New files.
12844 * config.host: Add t-moxie-softfp reference.
12845
12846 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
12847
12848 PR other/39888
12849 * config/t-slibgcc-darwin: Fix embedded rpaths for
12850 --enable-version-specific-runtime-libs, build extension stub
12851 libs exposing features available from current libgcc_s.
12852
12853 2009-11-11 Jon Beniston <jon@beniston.com>
12854
12855 * config.host: Add lm32 targets.
12856 * config/lm32: New directory.
12857 * config/lm32/libgcc_lm32.h: New file.
12858 * config/lm32/_mulsi3.c: New file.
12859 * config/lm32/_udivmodsi4.c: New file.
12860 * config/lm32/_divsi3.c: New file.
12861 * config/lm32/_modsi3.c: New file.
12862 * config/lm32/_udivsi3.c: New file.
12863 * config/lm32/_umodsi3.c: New file.
12864 * config/lm32/_lshrsi3.S: New file.
12865 * config/lm32/_ashrsi3.S: New file.
12866 * config/lm32/_ashlsi3.S: New file.
12867 * config/lm32/crti.S: New file.
12868 * config/lm32/crtn.S: New file.
12869 * config/lm32/t-lm32: New file.
12870 * config/lm32/t-elf: New file.
12871 * config/lm32/t-uclinux: New file.
12872
12873 2009-10-26 Nick Clifton <nickc@redhat.com>
12874
12875 * config.host: Add support for RX target.
12876 * config/rx: New directory.
12877 * config/rx/rx-abi-functions.c: New file. Supplementary
12878 functions for libgcc to support the RX ABI.
12879 * config/rx/rx-abi.h: New file. Supplementary header file for
12880 libgcc RX ABI functions.
12881 * config/rx/t-rx: New file: Makefile fragment for building
12882 libgcc for the RX.
12883
12884 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
12885
12886 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12887 constraint of y0 to "g".
12888
12889 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12890
12891 * config.host: Include the s390 makefile fragments.
12892 * config/s390/32/_fixdfdi.c: New file.
12893 * config/s390/32/_fixsfdi.c: New file.
12894 * config/s390/32/_fixtfdi.c: New file.
12895 * config/s390/32/_fixunsdfdi.c: New file.
12896 * config/s390/32/_fixunssfdi.c: New file.
12897 * config/s390/32/_fixunstfdi.c: New file.
12898 * config/s390/32/t-floattodi: New file.
12899 * config/s390/libgcc-glibc.ver: New file.
12900 * config/s390/t-crtstuff: New file.
12901 * config/s390/t-linux: New file.
12902 * config/s390/t-tpf: New file.
12903
12904 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12905
12906 * configure.ac (AC_PREREQ): Bump to 2.64.
12907
12908 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
12909
12910 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12911
12912 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12913
12914 * configure: Regenerate.
12915
12916 2009-08-09 Douglas B Rupp <rupp@gnat.com>
12917
12918 * config.host (ia64-hp-*vms*): New target.
12919 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12920 with ia64-hp-*vms*.
12921
12922 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12923
12924 * configure.ac: Add snippet for maintainer-mode.
12925 * configure: Regenerate.
12926 * Makefile.in (AUTOCONF, configure_deps): New variables.
12927 ($(srcdir)/configure)): New rule, active only with maintainer
12928 mode turned on.
12929
12930 2009-06-23 DJ Delorie <dj@redhat.com>
12931
12932 Add MeP port.
12933 * config.host: Add mep support.
12934
12935 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
12936
12937 * config.host: Add i386/${host_address}/t-fprules-softfp and
12938 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
12939
12940 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12941 for mingw targets.
12942 * config/i386/64/_multc3.c: Likewise.
12943 * config/i386/64/_powitf2.c: Likewise.
12944 * config/i386/64/eqtf2.c: Likewise.
12945 * config/i386/64/getf2.c: Likewise.
12946 * config/i386/64/letf2.c: Likewise.
12947 * config/i386/64/letf2.c: Likewise.
12948 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12949 unsigned long long for x64 mingw targets.
12950 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12951 (_FP_I_TYPE): Define as long long for x64 mingw target.
12952
12953 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
12954
12955 * config.host (vax-*-linux*): New.
12956
12957 2009-05-31 Anthony Green <green@moxielogic.com>
12958
12959 * config.host: Add moxie support.
12960 * config/moxie/t-moxie: New file.
12961
12962 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
12963
12964 * config.host: Add i386/${host_address}/t-fprules-softfp and
12965 t-softfp to tmake_file for i[34567]86-*-cygwin*.
12966
12967 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
12968
12969 * config.host: Add i386/${host_address}/t-fprules-softfp to
12970 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12971
12972 2009-04-09 Nick Clifton <nickc@redhat.com>
12973
12974 * config/ia64/tf-signs.c: Change copyright header to refer to
12975 version 3 of the GNU General Public License with version 3.1
12976 of the GCC Runtime Library Exception and to point readers at
12977 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12978 web page.
12979 * config/i386/32/tf-signs.c: Likewise.
12980 * config/libbid/_addsub_dd.c: Likewise.
12981 * config/libbid/_addsub_sd.c: Likewise.
12982 * config/libbid/_addsub_td.c: Likewise.
12983 * config/libbid/_dd_to_df.c: Likewise.
12984 * config/libbid/_dd_to_di.c: Likewise.
12985 * config/libbid/_dd_to_sd.c: Likewise.
12986 * config/libbid/_dd_to_sf.c: Likewise.
12987 * config/libbid/_dd_to_si.c: Likewise.
12988 * config/libbid/_dd_to_td.c: Likewise.
12989 * config/libbid/_dd_to_tf.c: Likewise.
12990 * config/libbid/_dd_to_udi.c: Likewise.
12991 * config/libbid/_dd_to_usi.c: Likewise.
12992 * config/libbid/_dd_to_xf.c: Likewise.
12993 * config/libbid/_df_to_dd.c: Likewise.
12994 * config/libbid/_df_to_sd.c: Likewise.
12995 * config/libbid/_df_to_td.c: Likewise.
12996 * config/libbid/_di_to_dd.c: Likewise.
12997 * config/libbid/_di_to_sd.c: Likewise.
12998 * config/libbid/_di_to_td.c: Likewise.
12999 * config/libbid/_div_dd.c: Likewise.
13000 * config/libbid/_div_sd.c: Likewise.
13001 * config/libbid/_div_td.c: Likewise.
13002 * config/libbid/_eq_dd.c: Likewise.
13003 * config/libbid/_eq_sd.c: Likewise.
13004 * config/libbid/_eq_td.c: Likewise.
13005 * config/libbid/_ge_dd.c: Likewise.
13006 * config/libbid/_ge_sd.c: Likewise.
13007 * config/libbid/_ge_td.c: Likewise.
13008 * config/libbid/_gt_dd.c: Likewise.
13009 * config/libbid/_gt_sd.c: Likewise.
13010 * config/libbid/_gt_td.c: Likewise.
13011 * config/libbid/_isinfd128.c: Likewise.
13012 * config/libbid/_isinfd32.c: Likewise.
13013 * config/libbid/_isinfd64.c: Likewise.
13014 * config/libbid/_le_dd.c: Likewise.
13015 * config/libbid/_le_sd.c: Likewise.
13016 * config/libbid/_le_td.c: Likewise.
13017 * config/libbid/_lt_dd.c: Likewise.
13018 * config/libbid/_lt_sd.c: Likewise.
13019 * config/libbid/_lt_td.c: Likewise.
13020 * config/libbid/_mul_dd.c: Likewise.
13021 * config/libbid/_mul_sd.c: Likewise.
13022 * config/libbid/_mul_td.c: Likewise.
13023 * config/libbid/_ne_dd.c: Likewise.
13024 * config/libbid/_ne_sd.c: Likewise.
13025 * config/libbid/_ne_td.c: Likewise.
13026 * config/libbid/_sd_to_dd.c: Likewise.
13027 * config/libbid/_sd_to_df.c: Likewise.
13028 * config/libbid/_sd_to_di.c: Likewise.
13029 * config/libbid/_sd_to_sf.c: Likewise.
13030 * config/libbid/_sd_to_si.c: Likewise.
13031 * config/libbid/_sd_to_td.c: Likewise.
13032 * config/libbid/_sd_to_tf.c: Likewise.
13033 * config/libbid/_sd_to_udi.c: Likewise.
13034 * config/libbid/_sd_to_usi.c: Likewise.
13035 * config/libbid/_sd_to_xf.c: Likewise.
13036 * config/libbid/_sf_to_dd.c: Likewise.
13037 * config/libbid/_sf_to_sd.c: Likewise.
13038 * config/libbid/_sf_to_td.c: Likewise.
13039 * config/libbid/_si_to_dd.c: Likewise.
13040 * config/libbid/_si_to_sd.c: Likewise.
13041 * config/libbid/_si_to_td.c: Likewise.
13042 * config/libbid/_td_to_dd.c: Likewise.
13043 * config/libbid/_td_to_df.c: Likewise.
13044 * config/libbid/_td_to_di.c: Likewise.
13045 * config/libbid/_td_to_sd.c: Likewise.
13046 * config/libbid/_td_to_sf.c: Likewise.
13047 * config/libbid/_td_to_si.c: Likewise.
13048 * config/libbid/_td_to_tf.c: Likewise.
13049 * config/libbid/_td_to_udi.c: Likewise.
13050 * config/libbid/_td_to_usi.c: Likewise.
13051 * config/libbid/_td_to_xf.c: Likewise.
13052 * config/libbid/_tf_to_dd.c: Likewise.
13053 * config/libbid/_tf_to_sd.c: Likewise.
13054 * config/libbid/_tf_to_td.c: Likewise.
13055 * config/libbid/_udi_to_dd.c: Likewise.
13056 * config/libbid/_udi_to_sd.c: Likewise.
13057 * config/libbid/_udi_to_td.c: Likewise.
13058 * config/libbid/_unord_dd.c: Likewise.
13059 * config/libbid/_unord_sd.c: Likewise.
13060 * config/libbid/_unord_td.c: Likewise.
13061 * config/libbid/_usi_to_dd.c: Likewise.
13062 * config/libbid/_usi_to_sd.c: Likewise.
13063 * config/libbid/_usi_to_td.c: Likewise.
13064 * config/libbid/_xf_to_dd.c: Likewise.
13065 * config/libbid/_xf_to_sd.c: Likewise.
13066 * config/libbid/_xf_to_td.c: Likewise.
13067 * config/libbid/bid128.c: Likewise.
13068 * config/libbid/bid128_2_str.h: Likewise.
13069 * config/libbid/bid128_2_str_macros.h: Likewise.
13070 * config/libbid/bid128_2_str_tables.c: Likewise.
13071 * config/libbid/bid128_add.c: Likewise.
13072 * config/libbid/bid128_compare.c: Likewise.
13073 * config/libbid/bid128_div.c: Likewise.
13074 * config/libbid/bid128_fma.c: Likewise.
13075 * config/libbid/bid128_logb.c: Likewise.
13076 * config/libbid/bid128_minmax.c: Likewise.
13077 * config/libbid/bid128_mul.c: Likewise.
13078 * config/libbid/bid128_next.c: Likewise.
13079 * config/libbid/bid128_noncomp.c: Likewise.
13080 * config/libbid/bid128_quantize.c: Likewise.
13081 * config/libbid/bid128_rem.c: Likewise.
13082 * config/libbid/bid128_round_integral.c: Likewise.
13083 * config/libbid/bid128_scalb.c: Likewise.
13084 * config/libbid/bid128_sqrt.c: Likewise.
13085 * config/libbid/bid128_string.c: Likewise.
13086 * config/libbid/bid128_to_int16.c: Likewise.
13087 * config/libbid/bid128_to_int32.c: Likewise.
13088 * config/libbid/bid128_to_int64.c: Likewise.
13089 * config/libbid/bid128_to_int8.c: Likewise.
13090 * config/libbid/bid128_to_uint16.c: Likewise.
13091 * config/libbid/bid128_to_uint32.c: Likewise.
13092 * config/libbid/bid128_to_uint64.c: Likewise.
13093 * config/libbid/bid128_to_uint8.c: Likewise.
13094 * config/libbid/bid32_to_bid128.c: Likewise.
13095 * config/libbid/bid32_to_bid64.c: Likewise.
13096 * config/libbid/bid64_add.c: Likewise.
13097 * config/libbid/bid64_compare.c: Likewise.
13098 * config/libbid/bid64_div.c: Likewise.
13099 * config/libbid/bid64_fma.c: Likewise.
13100 * config/libbid/bid64_logb.c: Likewise.
13101 * config/libbid/bid64_minmax.c: Likewise.
13102 * config/libbid/bid64_mul.c: Likewise.
13103 * config/libbid/bid64_next.c: Likewise.
13104 * config/libbid/bid64_noncomp.c: Likewise.
13105 * config/libbid/bid64_quantize.c: Likewise.
13106 * config/libbid/bid64_rem.c: Likewise.
13107 * config/libbid/bid64_round_integral.c: Likewise.
13108 * config/libbid/bid64_scalb.c: Likewise.
13109 * config/libbid/bid64_sqrt.c: Likewise.
13110 * config/libbid/bid64_string.c: Likewise.
13111 * config/libbid/bid64_to_bid128.c: Likewise.
13112 * config/libbid/bid64_to_int16.c: Likewise.
13113 * config/libbid/bid64_to_int32.c: Likewise.
13114 * config/libbid/bid64_to_int64.c: Likewise.
13115 * config/libbid/bid64_to_int8.c: Likewise.
13116 * config/libbid/bid64_to_uint16.c: Likewise.
13117 * config/libbid/bid64_to_uint32.c: Likewise.
13118 * config/libbid/bid64_to_uint64.c: Likewise.
13119 * config/libbid/bid64_to_uint8.c: Likewise.
13120 * config/libbid/bid_b2d.h: Likewise.
13121 * config/libbid/bid_binarydecimal.c: Likewise.
13122 * config/libbid/bid_conf.h: Likewise.
13123 * config/libbid/bid_convert_data.c: Likewise.
13124 * config/libbid/bid_decimal_data.c: Likewise.
13125 * config/libbid/bid_decimal_globals.c: Likewise.
13126 * config/libbid/bid_div_macros.h: Likewise.
13127 * config/libbid/bid_dpd.c: Likewise.
13128 * config/libbid/bid_flag_operations.c: Likewise.
13129 * config/libbid/bid_from_int.c: Likewise.
13130 * config/libbid/bid_functions.h: Likewise.
13131 * config/libbid/bid_gcc_intrinsics.h: Likewise.
13132 * config/libbid/bid_inline_add.h: Likewise.
13133 * config/libbid/bid_internal.h: Likewise.
13134 * config/libbid/bid_round.c: Likewise.
13135 * config/libbid/bid_sqrt_macros.h: Likewise.
13136
13137 2009-04-09 Jakub Jelinek <jakub@redhat.com>
13138
13139 * Makefile.in: Change copyright header to refer to version
13140 3 of the GNU General Public License and to point readers at the
13141 COPYING3 file and the FSF's license web page.
13142 * config.host: Likewise.
13143
13144 2009-04-07 Alan Modra <amodra@bigpond.net.au>
13145
13146 * config.host: Reorder and merge to match config.gcc change.
13147
13148 2009-04-03 Alan Modra <amodra@bigpond.net.au>
13149
13150 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
13151
13152 2009-03-28 Joseph Myers <joseph@codesourcery.com>
13153
13154 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
13155 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
13156 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
13157 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
13158
13159 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
13160
13161 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
13162 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
13163
13164 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
13165
13166 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
13167 ia64/t-softfp-compat to tmake_file.
13168
13169 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
13170
13171 * config/ia64/__divxf3.asm: New.
13172 * config/ia64/_fixtfdi.asm: Likewise.
13173 * config/ia64/_fixunstfdi.asm: Likewise.
13174 * config/ia64/_floatditf.asm: Likewise.
13175 * config/ia64/t-fprules-softfp: Likewise.
13176 * config/ia64/t-softfp-compat: Likewise.
13177 * config/ia64/tf-signs.c: Likewise.
13178
13179 2009-01-18 Ben Elliston <bje@au.ibm.com>
13180
13181 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
13182
13183 2009-01-16 Ben Elliston <bje@au.ibm.com>
13184
13185 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
13186 to tmake_file.
13187
13188 2009-01-13 Ben Elliston <bje@au.ibm.com>
13189
13190 * config/t-softfp: New file.
13191 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
13192 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
13193
13194 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
13195
13196 * config.host: Add m32r*-*-rtems*.
13197
13198 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
13199
13200 * config.host: Add m32c*-*-rtems*.
13201
13202 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13203
13204 PR bootstrap/33100
13205 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
13206 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
13207 * configure: Regenerate.
13208 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
13209 tmake_file here from gcc/config.gcc.
13210 Move extra_parts here from gcc/config.gcc.
13211 * config/i386/t-sol2: Move here from gcc/config/i386.
13212 Use gcc_srcdir instead of srcdir.
13213
13214 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
13215
13216 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
13217 case.
13218
13219 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
13220
13221 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
13222
13223 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
13224
13225 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
13226
13227 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
13228
13229 Add picoChip port.
13230 * config.host: Add picochip-*-*.
13231
13232 2008-08-06 Bob Wilson <bob.wilson@acm.org>
13233
13234 * config.host: Match more processor names for Xtensa.
13235
13236 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
13237
13238 * config/i386/64/t-softfp-compat: Update comments.
13239
13240 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
13241
13242 * config/i386/64/_divtc3-compat.c: Moved to ...
13243 * config/i386/64/_divtc3.c: Here.
13244
13245 * config/i386/64/_multc3-compat.c: Moved to ...
13246 * config/i386/64/_multc3.c: Here.
13247
13248 * config/i386/64/_powitf2-compat.c: Moved to ...
13249 * config/i386/64/_powitf2.c: Here.
13250
13251 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
13252 .c suffix instead of -compat.c.
13253
13254 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
13255
13256 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
13257 (_FP_MUL_MEAT_D): Ditto.
13258 (_FP_DIV_MEAT_S): Ditto.
13259 (_FP_DIV_MEAT_D): Ditto.
13260
13261 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
13262
13263 * Makefile.in: Add support for __sync_* libgcc functions.
13264
13265 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
13266
13267 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
13268
13269 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13270
13271 PR boostrap/36702
13272 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
13273 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
13274
13275 * config/i386/64/t-fprules-softfp: Moved to ...
13276 * config/i386/64/t-softfp-compat: This. New.
13277
13278 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
13279
13280 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
13281 Initialize f with 0.0.
13282
13283 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13284
13285 PR target/36669
13286 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
13287
13288 * config/i386/64/_divtc3-compat.c: New.
13289 * config/i386/64/_multc3-compat.c: Likewise.
13290 * config/i386/64/_powitf2-compat.c: Likewise.
13291 * config/i386/64/eqtf2.c: Likewise.
13292 * config/i386/64/getf2.c: Likewise.
13293 * config/i386/64/letf2.c: Likewise.
13294 * config/i386/64/t-fprules-softfp: Likewise.
13295
13296 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13297
13298 * config.host: Add i386/${host_address}/t-fprules-softfp to
13299 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
13300 i[34567]86-*-linux*, x86_64-*-linux*.
13301
13302 * configure.ac: Set host_address to 64 or 32 for x86.
13303 * configure: Regenerated.
13304
13305 * Makefile.in (config.status): Also depend on
13306 $(srcdir)/config.host.
13307
13308 * config/i386/32/t-fprules-softfp: New.
13309 * config/i386/32/tf-signs.c: Likewise.
13310
13311 * config/i386/64/sfp-machine.h: New. Moved from gcc.
13312
13313 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13314 Uros Bizjak <ubizjak@gmail.com>
13315
13316 * config/i386/32/sfp-machine.h: New.
13317
13318 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
13319
13320 * config/rs6000/t-ppccomm: Remove rules that conflict with
13321 auto-generated rules.
13322
13323 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13324
13325 * configure.ac: sinclude override.m4.
13326 * configure: Regenerate.
13327
13328 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
13329
13330 * configure: Regenerate.
13331
13332 2008-06-10 Joseph Myers <joseph@codesourcery.com>
13333
13334 * Makefile.in (DECNUMINC): Remove
13335 -I$(MULTIBUILDTOP)../../libdecnumber.
13336 * gstdint.h: New.
13337
13338 2008-06-07 Joseph Myers <joseph@codesourcery.com>
13339
13340 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
13341 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
13342 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
13343 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
13344 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
13345 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
13346 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
13347 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
13348 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
13349 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
13350 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
13351 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
13352 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
13353 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
13354
13355 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
13356
13357 * config.host (sh2[lbe]*-*-linux*): Allow target.
13358
13359 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
13360
13361 * config/rs6000/t-ppccomm: Add build rules for new files.
13362 (LIB2ADD_ST): New variable.
13363
13364 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
13365
13366 PR target/34210
13367 PR target/35508
13368 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
13369 * config/t-avr: New file. Build 16bit libgcc functions.
13370
13371 2008-03-02 Jakub Jelinek <jakub@redhat.com>
13372
13373 PR target/35401
13374 * config/t-slibgcc-darwin: Make install-leaf dependent on
13375 install-darwin-libgcc-stubs instead of install.
13376
13377 2008-01-25 Joseph Myers <joseph@codesourcery.com>
13378
13379 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
13380 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
13381 sh-*-rtemscoff*): Remove cases.
13382
13383 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
13384
13385 * Makefile.in (all): Use install-leaf rather than install.
13386 (install): Split most of the rule into...
13387 (install-leaf): ...this new one.
13388
13389 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
13390 Paolo Bonzini <bonzini@gnu.org>
13391
13392 PR target/30572
13393 * Makefile.in: Use @shlib_slibdir@ substitution to get
13394 correct install name on darwin.
13395 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
13396
13397 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
13398
13399 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
13400 cris-*-elf and cris-*-none.
13401 (crisv32-*-linux*): Similar, as cris-*-linux*.
13402
13403 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
13404
13405 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
13406
13407 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
13408
13409 PR regression/33926
13410 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
13411 * configure: Regenerated.
13412
13413 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
13414
13415 * Makefile.in (dfp-filenames): Replace decimal_globals,
13416 decimal_data, binarydecimal and convert_data with
13417 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
13418 and bid_convert_data, respectively.
13419
13420 2007-09-17 Chao-ying Fu <fu@mips.com>
13421 Nigel Stephens <nigel@mips.com>
13422
13423 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
13424 * Makefile.in (fixed_point): Define.
13425 Check if fixed_point is yes to build support functions.
13426 * configure.ac: Check for fixed_point support.
13427 * configure: Regenerated.
13428 * gen-fixed.sh: New file to generate lists of fixed-point labels,
13429 funcs, modes, from, to.
13430
13431 2007-09-11 Janis Johnson <janis187@us.ibm.com
13432
13433 * Makefile.in (dfp-filenames): Add bid128_noncomp.
13434
13435 2007-09-10 Janis Johnson <janis187@us.ibm.com>
13436
13437 * Makefile.in (dfp-filenames): Remove decUtility, add
13438 decDouble, decPacked, decQuad, decSingle.
13439
13440 2007-08-27 Hans Kester <hans.kester@ellips.nl>
13441
13442 * config.host : Add x86_64-elf target.
13443
13444 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
13445
13446 * configure.ac (set_have_cc_tls): Add a missing =.
13447 * configure: Regenerated.
13448
13449 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
13450
13451 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
13452 and x86_64-*-linux*.
13453
13454 * config/t-tls: New file.
13455
13456 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
13457
13458 * configure.ac: Include ../config/enable.m4 and
13459 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
13460 supports TLS and substitute set_have_cc_tls.
13461 * configure: Regenerated.
13462
13463 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
13464
13465 * Makefile.in: Use libbid for DFP when BID is enabled.
13466
13467 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
13468
13469 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
13470 extra_parts. Add config/i386/t-cygming to tmake_file.
13471 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
13472
13473 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
13474 Danny Smith <dannysmith@users.sourceforge.net>
13475
13476 PR target/29498
13477 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
13478 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
13479 * config/i386/t-crtfm: Compile crtfastmath.o with
13480 -minline-all-stringops.
13481
13482 2007-05-10 Richard Sandiford <richard@codesourcery.com>
13483
13484 * config.host (sparc-wrs-vxworks): New target.
13485
13486 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
13487
13488 * config.host: Recognize fido.
13489
13490 2007-04-04 Janis Johnson <janis187@us.ibm.com>
13491
13492 * configure: Check host, not target, for decimal float support.
13493
13494 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
13495
13496 * config/i386/t-crtpc: New file.
13497 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
13498 (x86_64-*-linux*): Ditto.
13499
13500 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
13501
13502 * config.host (x86_64-*-mingw*): New target.
13503
13504 2007-03-23 Michael Meissner <michael.meissner@amd.com>
13505 H.J. Lu <hongjiu.lu@intel.com>
13506
13507 * Makefile.in (enable_decimal_float): New.
13508 (DECNUMINC): Add
13509 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
13510 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
13511 (decbits-filenames): This.
13512 (decbits-objects): New.
13513 (libgcc-objects): Add $(decbits-objects).
13514
13515 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
13516 Substitute enable_decimal_float.
13517 * configure: Regenerated.
13518
13519 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
13520
13521 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
13522
13523 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
13524
13525 * Makefile.in (install-info): New dummy target.
13526
13527 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
13528
13529 * config.host (bfin*-linux-uclibc*): Set extra_parts.
13530
13531 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
13532
13533 * Makefile.in: Add install-html and install-pdf dummy
13534 targets.
13535
13536 2007-02-05 Roger Sayle <roger@eyesopen.com>
13537 Daniel Jacobowitz <dan@codesourcery.com>
13538
13539 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
13540 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
13541 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
13542
13543 2007-01-29 Janis Johnson <janis187@us.ibm.com>
13544
13545 * Makefile.in (dec-filenames): Add decExcept.
13546
13547 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
13548
13549 PR bootstrap/30469
13550 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
13551 -fprofile-use.
13552
13553 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
13554
13555 * configure.ac: Add --enable-version-specific-runtime-libs.
13556 Correct $slibdir default.
13557 * configure: Regenerated.
13558
13559 2007-01-23 Joseph Myers <joseph@codesourcery.com>
13560
13561 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
13562
13563 2007-01-21 Andrew Pinski <pinskia@gmail.com>
13564
13565 PR target/30519
13566 * config.host (alpha*-*-linux*): Set extra_parts.
13567
13568 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
13569
13570 * config/sh/t-linux: New.
13571 * config.host (sh*-*-linux*): Set tmake_file.
13572
13573 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
13574
13575 * Makefile.in (install): Handle multilibs.
13576
13577 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
13578
13579 * Makefile.in: Added .PHONY entry for documentation targets.
13580
13581 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
13582
13583 * Makefile.in: Add empty info, html, dvi, pdf targets.
13584
13585 2007-01-04 Mike Stump <mrs@apple.com>
13586
13587 * Makefile.in (MAKEINFO): Remove.
13588 (PERL): Likewise.
13589
13590 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
13591
13592 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
13593 * configure: Regenerate.
13594 * Makefile.in (host_subdir): Substitute it.
13595 (gcc_objdir): Use it.
13596
13597 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
13598
13599 * config.host (ia64*-*-linux*): Set tmake_file.
13600
13601 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
13602
13603 * Makefile.in (version): Define.
13604
13605 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
13606 Paolo Bonzini <bonzini@gnu.org>
13607
13608 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
13609 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
13610 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
13611 config/sparc/t-crtfm, config/t-slibgcc-darwin,
13612 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
13613 shared-object.mk, siditi-object.mk, static-object.mk: New files.
13614 * configure: Generated.
13615 \f
13616 Copyright (C) 2007-2024 Free Software Foundation, Inc.
13617
13618 Copying and distribution of this file, with or without modification,
13619 are permitted in any medium without royalty provided the copyright
13620 notice and this notice are preserved.