]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
bf074ee4
GA
12024-02-12 Iain Sandoe <iain@sandoe.co.uk>
2
3 PR target/113855
4 * config.host: Add trampoline support to x?86-linux.
5 * config/i386/heap-trampoline.c (trampoline_insns): Provide
6 a variant for IA32.
7 (union ix86_trampoline): Likewise.
8 (__gcc_nested_func_ptr_created): Implement a basic trampoline
9 for IA32.
10
67d5b10e
GA
112024-02-10 Jakub Jelinek <jakub@redhat.com>
12
13 * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Or in all remainder
14 limbs into inexact rather than just first two.
15 * soft-fp/floatbitintsd.c (__bid_floatbitintsd): Likewise.
16 * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
17
182024-02-10 Jakub Jelinek <jakub@redhat.com>
19
20 * soft-fp/fixddbitint.c (__bid_fixddbitint): Fix up
21 BIL_TYPE_SIZE == 32 shifts.
22 * soft-fp/fixsdbitint.c (__bid_fixsdbitint): Likewise.
23 * soft-fp/fixtdbitint.c (__bid_fixtdbitint): Likewise.
24 * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Likewise.
25 * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
26
2523654a
GA
272024-02-09 Iain Sandoe <iain@sandoe.co.uk>
28
29 * config/i386/libgcc-darwin.ver: Export bf and bitint-related
30 synbols.
31
3e4c4c5e
GA
322024-02-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
33
34 PR target/113700
35 * config/i386/libgcc-sol2.ver (GCC_14.0.0): Added all symbols from
36 i386/libgcc-glibc.ver (GCC_12.0.0, GCC_13.0.0, GCC_14.0.0).
37 * config/i386/libgcc-glibc.ver: Request notifications on updates.
38
392024-02-06 Matteo Italia <matteo@mitalia.net>
40
41 PR libgcc/113337
42 * unwind-seh.c (_Unwind_Resume_or_Rethrow): forward
43 _Unwind_RaiseException return code back to caller instead of
44 calling abort, allowing __cxa_rethrow to invoke std::terminate
45 in case of uncaught rethrown exception
46
4b7d4d8a
GA
472024-02-02 Jakub Jelinek <jakub@redhat.com>
48
49 PR libgcc/113604
50 * libgcc2.c (__divmodbitint4): If uv1 >= vv1, subtract
51 vv1 from uv1:uv0 once or twice as needed, rather than
52 subtracting vv1:vv1.
53
542024-02-02 Khem Raj <raj.khem@gmail.com>
55
56 * config/i386/enable-execute-stack-mingw32.c: Include
57 stdlib.h for abort() definition.
58
592024-02-02 Jakub Jelinek <jakub@redhat.com>
60
61 PR target/113700
62 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Remove __PFX prefixes
63 from symbol names.
64
e2554540
GA
652024-02-01 Jakub Jelinek <jakub@redhat.com>
66
67 PR libgcc/113402
68 * libgcc2.h (__gcc_nested_func_ptr_created): Change type of last
69 argument from void ** to void *.
70 * config/i386/heap-trampoline.c (__gcc_nested_func_ptr_created):
71 Change type of dst from void ** to void * and cast dst to void **
72 before dereferencing it.
73 * config/aarch64/heap-trampoline.c (__gcc_nested_func_ptr_created):
74 Likewise.
75
762024-02-01 Jakub Jelinek <jakub@redhat.com>
77
78 PR libgcc/113403
79 * config/i386/t-heap-trampoline: Add to LIB2ADDEHSHARED
80 i386/heap-trampoline.c rather than aarch64/heap-trampoline.c.
81
dd3455f6
GA
822024-02-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
83
84 * config/aarch64/crti.S: Remove stack marking.
85 * config/aarch64/crtn.S: Remove stack marking, include aarch64-asm.h
86 * config/aarch64/lse.S: Remove stack and GNU property markings.
87
097ddd55
GA
882024-01-30 Iain Sandoe <iain@sandoe.co.uk>
89
90 PR libgcc/113403
91 * config.host: Build libheap_t.a for i686/x86_64 Darwin.
92 * config/aarch64/heap-trampoline.c (HEAP_T_ATTR): New.
93 (allocate_tramp_ctrl): Allow a target to build this as a weak def.
94 (__gcc_nested_func_ptr_created): Likewise.
95 * config/i386/heap-trampoline.c (HEAP_T_ATTR): New.
96 (allocate_tramp_ctrl): Allow a target to build this as a weak def.
97 (__gcc_nested_func_ptr_created): Likewise.
98 * config/t-darwin: Build libheap_t.a (a CRT with heap trampoline
99 support).
100
1012024-01-30 Iain Sandoe <iain@sandoe.co.uk>
102
103 PR libgcc/113403
104 * config/aarch64/t-heap-trampoline: Move the heap trampoline
105 support functions from libgcc.a to libgcc_eh.a.
106 * config/i386/t-heap-trampoline: Likewise.
107
91b3da6f
GA
1082024-01-28 Iain Sandoe <iain@sandoe.co.uk>
109 Jakub Jelinek <jakub@redhat.com>
110
111 PR libgcc/113402
112 * config/aarch64/heap-trampoline.c: Rename
113 __builtin_nested_func_ptr_created to __gcc_nested_func_ptr_created and
114 __builtin_nested_func_ptr_deleted to __gcc_nested_func_ptr_deleted.
115 * config/i386/heap-trampoline.c: Likewise.
116 * libgcc2.h: Likewise.
117 * libgcc-std.ver.in (GCC_7.0.0): Likewise and then move
118 __gcc_nested_func_ptr_created and
119 __gcc_nested_func_ptr_deleted from this symbol version to ...
120 (GCC_14.0.0): ... this one.
121
ce9dae56
GA
1222024-01-26 Andrew Stubbs <ams@baylibre.com>
123
124 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Handle RDNA3.
125
3128786c
GA
1262024-01-23 Zac Walker <zacwalker@microsoft.com>
127
128 * config/aarch64/aarch64-asm.h (HIDDEN, SYMBOL_SIZE, SYMBOL_TYPE)
129 (ENTRY_ALIGN, GNU_PROPERTY): New macros.
130 * config/aarch64/__arm_sme_state.S: Use them.
131 * config/aarch64/__arm_tpidr2_save.S: Likewise.
132 * config/aarch64/__arm_za_disable.S: Likewise.
133 * config/aarch64/crti.S: Likewise.
134 * config/aarch64/lse.S: Likewise.
135
444a31f3
GA
1362024-01-12 Jakub Jelinek <jakub@redhat.com>
137
138 * libgcc2.h (UBILtype): New typedef with may_alias attribute.
139 (__mulbitint3, __divmodbitint4): Use UBILtype * instead of
140 UWtype * and const UBILtype * instead of const UWtype *.
141 * libgcc2.c (bitint_reduce_prec, bitint_mul_1, bitint_addmul_1,
142 __mulbitint3, bitint_negate, bitint_submul_1, __divmodbitint4):
143 Likewise.
144 * soft-fp/bitint.h (UBILtype): Change define into a typedef with
145 may_alias attribute.
146
1472024-01-12 Sandra Loosemore <sandra@codesourcery.com>
148
149 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Do not try to use
150 _dl_find_object on nios2; it doesn't work.
151
d2ae7cb2
GA
1522023-12-23 Thomas Schwinge <thomas@codesourcery.com>
153
154 * c++-minimal/README: New.
155 * c++-minimal/guard.c: New.
156 * config/gcn/t-amdgcn (LIB2ADD): Add it.
157 * config/nvptx/t-nvptx (LIB2ADD): Likewise.
158
7ad9058c
GA
1592023-12-20 Alexandre Oliva <oliva@adacore.com>
160
161 PR middle-end/112917
162 * config.host (sparc, sparc64): Enable...
163 * config/sparc/t-sparc: ... this new fragment.
164
fa1158c5
GA
1652023-12-20 Alexandre Oliva <oliva@adacore.com>
166
167 * strub.c (ATTRIBUTE_NOINLINE): New.
168 (ATTRIBUTE_STRUB_CALLABLE): Add it.
169 (__strub_dummy_force_no_leaf): Drop it.
170
7e6f0faa
GA
1712023-12-16 Andrew Carlotti <andrew.carlotti@arm.com>
172
173 * config/aarch64/cpuinfo.c (enum CPUFeatures): Move to shared
174 copy in gcc/common
175
1762023-12-16 Andrew Carlotti <andrew.carlotti@arm.com>
177 Pavel Iliin <Pavel.Iliin@arm.com>
178
179 * config/aarch64/t-aarch64: Include cpuinfo.c
180 * config/aarch64/cpuinfo.c: New file
181 (__init_cpu_features_constructor) New.
182 (__init_cpu_features_resolver) New.
183 (__init_cpu_features) New.
184
d5c96225
GA
1852023-12-11 Lipeng Zhu <lipeng.zhu@intel.com>
186
187 * gthr-posix.h (__GTHREAD_RWLOCK_INIT): New macro.
188 (__gthrw): New function.
189 (__gthread_rwlock_rdlock): New function.
190 (__gthread_rwlock_tryrdlock): New function.
191 (__gthread_rwlock_wrlock): New function.
192 (__gthread_rwlock_trywrlock): New function.
193 (__gthread_rwlock_unlock): New function.
194
dd3b75d8
GA
1952023-12-08 Florian Weimer <fweimer@redhat.com>
196
197 * libgcov-interface.c (__gcov_fork): Use __builtin_fork instead
198 of fork.
199
2002023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
201
202 * config.in: Regenerate.
203
2042023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
205
206 * config/aarch64/__arm_za_disable.S: Add hidden alias.
207 * config/aarch64/aarch64-unwind.h: Reset the SME state before
208 EH return via the _Unwind_Frames_Extra hook.
209
2102023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
211
212 * config/aarch64/t-aarch64: Add sources to the build.
213 * config/aarch64/__aarch64_have_sme.c: New file.
214 * config/aarch64/__arm_sme_state.S: New file.
215 * config/aarch64/__arm_tpidr2_restore.S: New file.
216 * config/aarch64/__arm_tpidr2_save.S: New file.
217 * config/aarch64/__arm_za_disable.S: New file.
218 * config/aarch64/aarch64-asm.h: New file.
219 * config/aarch64/libgcc-sme.ver: New file.
220
2212023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
222
223 * config.in: Undef HAVE___GETAUXVAL.
224 * configure: Regenerate.
225 * configure.ac: Check for __getauxval.
226
2272023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
228
229 * config.in: Undef HAVE_AS_VARIANT_PCS.
230 * configure: Regenerate.
231 * configure.ac: Check for .variant_pcs.
232
08f89e5e
GA
2332023-12-07 Alexandre Oliva <oliva@adacore.com>
234
235 * configure.ac: Check for strub support.
236 * configure: Rebuilt.
237 * Makefile.in: Compile strub.c conditionally.
238
ae9e48e5
GA
2392023-12-06 Thomas Schwinge <thomas@codesourcery.com>
240 Jakub Jelinek <jakub@redhat.com>
241
242 PR libgcc/109289
243 * emutls.c: Add GCC diagnostic ignored "-Wbuiltin-declaration-mismatch"
244 pragma.
245
3dd09cd9
GA
2462023-12-06 Alexandre Oliva <oliva@adacore.com>
247
248 * Makefile.in (LIB2ADD): Add strub.c.
249 * libgcc2.h (__strub_enter, __strub_update, __strub_leave):
250 Declare.
251 * strub.c: New.
252 * libgcc-std.ver.in (__strub_enter): Add to GCC_14.0.0.
253 (__strub_update, __strub_leave): Likewise.
254
833819e7
GA
2552023-12-03 Jeff Law <jlaw@ventanamicro.com>
256
257 * unwind-pe.h (_Unwind_gnu_Find_got): Add prototype.
258
2592023-12-03 Jeff Law <jlaw@ventanamicro.com>
260
261 * config/rx/rx-abi-functions.c (__ltdf2, __gtdf2): Add prototype.
262 (__ledf2, __gedf2, __eqdf2, __nedf2): Likewise.
263 (__ltsf2, __gtsf2, __lesf2, __gesf2, __eqsf2, __nesf2): Likewise.
264
2652023-12-03 Jeff Law <jlaw@ventanamicro.com>
266
267 * config/frv/frvbegin.c (atexit): Add prototype.
268
2e0f3f97
GA
2692023-12-01 Alexandre Oliva <oliva@adacore.com>
270
271 * libgcc-std.ver.in (__hardcfr_check): Add to GCC_14.0.0.
272
2732023-12-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
274
275 PR target/112777
276 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Honor that __LIBGCC_HAVE_LIBATOMIC is
277 always defined as either 0 or 1.
278
2792023-12-01 Florian Weimer <fweimer@redhat.com>
280
281 * config/aarch64/linux-unwind.h
282 (aarch64_fallback_frame_state): Add cast to the expected type
283 in sc assignment.
284
8428bcd7
GA
2852023-11-30 Wilco Dijkstra <wilco.dijkstra@arm.com>
286
287 PR target/111404
288 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Execute STLXP using
289 either new value or loaded value.
290
ad3e759c
GA
2912023-11-27 Richard Earnshaw <rearnsha@arm.com>
292
293 * config/arm/lib1funcs.S (__sync_synchronize): Adjust warning message.
294
77cf1dba
GA
2952023-11-24 Richard Earnshaw <rearnsha@arm.com>
296
297 * config.host (arm*-*-eabi* | arm*-*-rtems*):
298 Add arm/t-sync to the makefile rules.
299 * config/arm/lib1funcs.S (__sync_synchronize_none)
300 (__sync_synchronize_cp15dmb, __sync_synchronize_dmb)
301 (__sync_synchronize): New functions.
302 * config/arm/t-sync: New file.
303 * config/arm/sync-none.specs: Likewise.
304 * config/arm/sync-dmb.specs: Likewise.
305 * config/arm/sync-cp15dmb.specs: Likewise.
306
6fb55db0
GA
3072023-11-23 Jose E. Marchesi <jose.marchesi@oracle.com>
308
309 * hardcfr.c (__hardcfr_check_fail): Mark as always_inline.
310
92c480a4
GA
3112023-11-21 Jakub Jelinek <jakub@redhat.com>
312
313 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Formatting fixes.
314
9d58d2d8
GA
3152023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
316
317 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Always define it.
318 Set it also to 1, if __LIBGCC_HAVE_LIBATOMIC is defined.
319
3202023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
321
322 Revert:
323 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
324
325 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
326 (gcov_type_unsigned): Likewise.
327
b9fd8399
GA
3282023-11-10 Keith Packard <keithp@keithp.com>
329
330 * config/m68k/lb1sf68.S (__adddf3): Properly check for non-zero denorm.
331 (__divdf3): Restore sign bit properly.
332 (__addsf3): Correct exponent check.
333 * config/m68k/fpgnulib.c (EXPMASK): Define.
334 (__extendsfdf2): Handle Inf and NaN properly.
335 (__truncdfsf2): Handle underflow and overflow correctly.
336 (__extenddfxf2): Handle underflow, denorms, Inf and NaN correctly.
337 (__truncxfdf2): Handle underflow and denorms correctly.
338 (__fixxfsi): Reimplement.
339
3402023-11-09 Jakub Jelinek <jakub@redhat.com>
341
342 PR libgcc/65833
343 * config/t-softfp (softfp_bid_list): Add
344 {U,}TItype <-> _Decimal{32,64,128} conversions.
345 * soft-fp/floattisd.c: New file.
346 * soft-fp/floattidd.c: New file.
347 * soft-fp/floattitd.c: New file.
348 * soft-fp/floatuntisd.c: New file.
349 * soft-fp/floatuntidd.c: New file.
350 * soft-fp/floatuntitd.c: New file.
351 * soft-fp/fixsdti.c: New file.
352 * soft-fp/fixddti.c: New file.
353 * soft-fp/fixtdti.c: New file.
354 * soft-fp/fixunssdti.c: New file.
355 * soft-fp/fixunsddti.c: New file.
356 * soft-fp/fixunstdti.c: New file.
357
c48f1056
GA
3582023-11-07 Kwok Cheung Yeung <kcy@codesourcery.com>
359
360 * offloadstuff.c (OFFLOAD_IND_FUNC_TABLE_SECTION_NAME): New.
361 (__offload_ind_func_table): New.
362 (__offload_ind_funcs_end): New.
363 (__OFFLOAD_TABLE__): Add entries for indirect functions.
364
38904b73
GA
3652023-11-03 Thomas Schwinge <thomas@codesourcery.com>
366
367 * config/gcn/gthr-gcn.h (__gthread_getspecific): 's%NULL%0'.
368
eac0917b
GA
3692023-10-31 Alexandre Oliva <oliva@adacore.com>
370
371 * hardcfr.c: Adjust copyright year.
372
444a485f
GA
3732023-10-24 Sergei Trofimovich <siarheit@google.com>
374
375 * config/aarch64/heap-trampoline.c: Disable when libc is not
376 present.
377 * config/i386/heap-trampoline.c: Ditto.
378
3b632746
GA
3792023-10-22 Iain Sandoe <iain@sandoe.co.uk>
380
381 * config/t-slibgcc-darwin: Generate libgcc_s
382 with an @rpath name.
383 * config.host: Handle Darwin rpaths.
384 * config/t-darwin-rpath: New file.
385
3862023-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
387 Maxim Blinov <maxim.blinov@embecosm.com>
388 Iain Sandoe <iain@sandoe.co.uk>
389 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
390
391 * libgcc2.h (__builtin_nested_func_ptr_created): Declare.
392 (__builtin_nested_func_ptr_deleted): Declare.
393 * libgcc-std.ver.in: Add the new symbols.
394 * config/aarch64/heap-trampoline.c: Implement heap-based
395 trampolines for aarch64.
396 * config/aarch64/t-heap-trampoline: Add rule to build
397 config/aarch64/heap-trampoline.c
398 * config/i386/heap-trampoline.c: Implement heap-based
399 trampolines for x86_64.
400 * config/i386/t-heap-trampoline: Add rule to build
401 config/i386/heap-trampoline.cc
402 * config.host: Handle --enable-heap-trampolines on
403 x86_64-*-linux*, aarch64-*-linux*, x86_64-*-darwin*.
404
6f684dd2
GA
4052023-10-20 Andrew Stubbs <ams@codesourcery.com>
406
407 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Set false for __RDNA2__.
408
4092023-10-20 Alexandre Oliva <oliva@adacore.com>
410
411 * Makefile.in (LIB2ADD): Add hardcfr.c.
412 * hardcfr.c: New.
413
300d7d3a
GA
4142023-10-13 Florian Weimer <fweimer@redhat.com>
415
416 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Add
417 missing cast.
418
4192023-10-13 Florian Weimer <fweimer@redhat.com>
420
421 * config/arc/linux-unwind.h (arc_fallback_frame_state): Add
422 missing cast.
423
4242023-10-13 Florian Weimer <fweimer@redhat.com>
425
426 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
427 missing cast.
428
4292023-10-13 Florian Weimer <fweimer@redhat.com>
430
431 * config/csky/linux-unwind.h (csky_fallback_frame_state): Add
432 missing cast.
433
4342023-10-13 Florian Weimer <fweimer@redhat.com>
435
436 * config/m68k/fpgnulib.c (__cmpdf2): Declare.
437
0d9b4e86
GA
4382023-09-26 Wilco Dijkstra <wilco.dijkstra@arm.com>
439
440 * config/aarch64/lse.S (BTI_C): Remove define.
441
4907d220
GA
4422023-09-20 Pekka Seppänen <pexu@gcc.mail.kapsi.fi>
443
444 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key):
445 Use const unsigned type and a builtin.
446
a134b6ce
GA
4472023-09-06 Jakub Jelinek <jakub@redhat.com>
448
449 PR c/102989
450 * libgcc2.c (bitint_negate): Add function comment.
451 * soft-fp/bitint.h (bitint_negate): Add function comment.
452 (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
453
4542023-09-06 Jakub Jelinek <jakub@redhat.com>
455
456 PR c/102989
457 * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
458 * config/i386/64/t-softfp (softfp_extras): Likewise.
459 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
460 routines.
461 * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
462 bf, hf and xf mode floatbitint.
463 (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
464 * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
465 * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
466 * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
467 * config/t-softfp (softfp_floatbitint_funcs): New.
468 (softfp_bid_list): New.
469 (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
470 (softfp_bid_file_list): New.
471 (LIB2ADD_ST): Add $(softfp_bid_file_list).
472 * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
473 floatbitinttf.
474 * config/t-softfp-tf (softfp_extras): Likewise.
475 * libgcc2.c (bitint_reduce_prec): New inline function.
476 (BITINT_INC, BITINT_END): Define.
477 (bitint_mul_1, bitint_addmul_1): New helper functions.
478 (__mulbitint3): New function.
479 (bitint_negate, bitint_submul_1): New helper functions.
480 (__divmodbitint4): New function.
481 * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
482 libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
483 (__mulbitint3, __divmodbitint4): Declare.
484 * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
485 * Makefile.in (lib2funcs): Add _mulbitint3.
486 (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
487 * soft-fp/bitint.h: New file.
488 * soft-fp/fixdfbitint.c: New file.
489 * soft-fp/fixsfbitint.c: New file.
490 * soft-fp/fixtfbitint.c: New file.
491 * soft-fp/fixxfbitint.c: New file.
492 * soft-fp/floatbitintbf.c: New file.
493 * soft-fp/floatbitintdf.c: New file.
494 * soft-fp/floatbitinthf.c: New file.
495 * soft-fp/floatbitintsf.c: New file.
496 * soft-fp/floatbitinttf.c: New file.
497 * soft-fp/floatbitintxf.c: New file.
498 * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
499 4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
500 * soft-fp/bitintpow10.c: New file.
501 * soft-fp/fixsdbitint.c: New file.
502 * soft-fp/fixddbitint.c: New file.
503 * soft-fp/fixtdbitint.c: New file.
504 * soft-fp/floatbitintsd.c: New file.
505 * soft-fp/floatbitintdd.c: New file.
506 * soft-fp/floatbitinttd.c: New file.
507
5082023-09-06 Jakub Jelinek <jakub@redhat.com>
509
510 PR c/102989
511 * soft-fp/bitintpow10.h: New file.
512
d820cd78
GA
5132023-09-05 Yang Yujie <yangyujie@loongson.cn>
514
515 * config.host: add loongarch*-elf target.
516
886afed6
GA
5172023-08-11 Thomas Neumann <thomas.neumann@in.tum.de>
518
519 PR libgcc/110956
520 * unwind-dw2-fde.c: Associate object with address of unwinding
521 table.
522
4b92dba7
GA
5232023-08-07 John Ericson <git@JohnEricson.me>
524
525 * configure: Regenerate.
526
5272023-08-07 Alan Modra <amodra@gmail.com>
528
529 * configure: Regenerate.
530
82c2a34b
GA
5312023-07-23 Andrew Pinski <apinski@marvell.com>
532
533 * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
534 (riscv*-*-freebsd*): Likewise.
535 * config/riscv/t-crtstuff: New file.
536
49bed11d
GA
5372023-07-19 liuhongt <hongtao.liu@intel.com>
538
539 * config/i386/t-softfp: Add -msse2 to libbid HFtype related
540 files.
541
af3d3ce3
GA
5422023-07-11 Florian Weimer <fweimer@redhat.com>
543
544 PR libgcc/110179
545 * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
546 implicit conversion of pointer value to integer.
547
738808bd
GA
5482023-07-06 Kito Cheng <kito.cheng@sifive.com>
549
550 * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
551 (FP_HANDLE_EXCEPTIONS): Ditto.
552
e517d3f5
GA
5532023-06-19 Andrew Stubbs <ams@codesourcery.com>
554
555 * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
556 * config/gcn/lib2-divmod.c: Likewise.
557 * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
558 new vector libfuncs.
559 * config/gcn/t-amdgcn: Add new files.
560 * config/gcn/amdgcn_veclib.h: New file.
561 * config/gcn/lib2-vec_divmod-di.c: New file.
562 * config/gcn/lib2-vec_divmod-hi.c: New file.
563 * config/gcn/lib2-vec_divmod-qi.c: New file.
564 * config/gcn/lib2-vec_divmod.c: New file.
565
5662023-06-19 Andrew Stubbs <ams@codesourcery.com>
567
568 * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
569 (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
570 * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
571 * config/gcn/lib2-divmod-hi.c: Removed.
572
8c5b1365
GA
5732023-06-07 Florian Weimer <fweimer@redhat.com>
574
575 PR libgcc/109712
576 * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
577 parsing eh_frame.
578
14da7648
GA
5792023-06-05 Kewen Lin <linkw@linux.ibm.com>
580
581 * config/i386/morestack.S: Use @init_array rather than
582 @progbits for section type of section .init_array.
583 * config/rs6000/morestack.S: Likewise.
584 * config/s390/morestack.S: Likewise.
585
5862023-06-05 YunQiang Su <yunqiang.su@cipunited.com>
587
588 * config/mips/lib1funcs.S: New file.
589 define __speculation_barrier and include mips16.S.
590 * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
591 define LIB1ASMFUNCS as _speculation_barrier.
592 set version info for __speculation_barrier.
593 * config/mips/libgcc-mips.ver: New file.
594 * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
595 included in lib1funcs.S now.
596
321cee7e
GA
5972023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
598
599 PR libgcc/109670
600 * unwind-dw2-fde.c: Fix radix sort buffer management.
601
6022023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
603
604 PR libgcc/109685
605 * unwind-dw2-fde.c: Free sort array in atomic fast path.
606
5df01f89
GA
6072023-05-19 Iain Sandoe <iain@sandoe.co.uk>
608
609 * config.host: Arrange to set min Darwin OS versions from
610 the configured host version.
611 * config/darwin10-unwind-find-enc-func.c: Do not use current
612 headers, but declare the nexessary structures locally to the
613 versions in use for Mac OSX 10.6.
614 * config/t-darwin: Amend to handle configured min OS
615 versions.
616 * config/t-darwin-min-1: New.
617 * config/t-darwin-min-5: New.
618 * config/t-darwin-min-8: New.
619
3427b51b
GA
6202023-05-15 Thomas Neumann <tneumann@users.sourceforge.net>
621
622 * unwind-dw2-fde.c: Fix assert in non-atomic path.
623
6242023-05-15 Sören Tempel <soeren+git@soeren-tempel.net>
625
626 * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
627
d7cb9720
GA
6282023-05-02 Patrick O'Neill <patrick@rivosinc.com>
629
630 * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
631 sequentially consistent LR.aqrl/SC.rl pairs.
632
1fc8da95
GA
6332023-05-01 Dimitar Dimitrov <dimitar@dinux.eu>
634
635 * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
636 -DTARGET_HAS_NO_HW_DIVIDE.
637
4a3dbcbd
GA
6382023-04-27 Hans-Peter Nilsson <hp@axis.com>
639
640 * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
641 -DTARGET_HAS_NO_HW_DIVIDE.
642
6432023-04-26 Patrick O'Neill <patrick@rivosinc.com>
644
645 PR target/104338
646 * config/riscv/atomic.c: Add reference to duplicate logic.
647
0f04ebb4
GA
6482023-04-08 Tetsuma Hoshino <t-hoshino@pony-e.jp>
649
650 PR target/109402
651 * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
652 stack manipulations.
653
5229788d
GA
6542023-04-05 John David Anglin <danglin@gcc.gnu.org>
655
656 PR target/109374
657 * config/pa/milli64.S (RETURN_COLUMN): Define.
658 ($$divI): Add CFI directives.
659 ($$divU): Likewise.
660 ($$remI): Likewise.
661 ($$remU): Likewise.
662
09abeb73
GA
6632023-03-19 Stafford Horne <shorne@gmail.com>
664
665 * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
666 statement clearing existing exceptions.
667
a9835599
GA
6682023-03-13 Max Filippov <jcmvbkbc@gmail.com>
669
670 * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
671 * config/xtensa/crtn.S: Likewise.
672 * config/xtensa/lib1funcs.S: Likewise.
673 * config/xtensa/lib2funcs.S: Likewise.
674
44ea7318
GA
6752023-03-12 Jakub Jelinek <jakub@redhat.com>
676
677 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
678 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
679 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
680 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
681 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
682 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
683 * soft-fp/floatundibf.c: New file.
684 * soft-fp/floatdibf.c: New file.
685
c8065441
GA
6862023-03-10 Jakub Jelinek <jakub@redhat.com>
687
688 PR target/107703
689 * soft-fp/floattibf.c: New file.
690 * soft-fp/floatuntibf.c: New file.
691 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
692 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
693 floatuntibf.
694 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
695
6a87fdd3
GA
6962023-03-08 Kewen Lin <linkw@linux.ibm.com>
697
698 PR libgcc/108727
699 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
700 bump size.
701
3dd4ada4
GA
7022023-03-06 Michael Meissner <meissner@linux.ibm.com>
703
704 PR target/107299
705 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
706 whether long double is IBM or IEEE.
707 (INFINITY): Likewise.
708 (FABS): Likewise.
709 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
710 (INFINITY): Likewise.
711 * config/rs6000/quad-float128.h (TF): Remove definition.
712 (TFtype): Define to be long double or _Float128.
713 (TCtype): Define to be _Complex long double or _Complex _Float128.
714 * libgcc2.h (TFtype): Allow machine config files to override this.
715 (TCtype): Likewise.
716 * soft-fp/quad.h (TFtype): Likewise.
717
ae719781
GA
7182023-02-13 Kito Cheng <kito.cheng@sifive.com>
719
720 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
721 * config/riscv/value-unwind.h: New.
722
49e52115
GA
7232023-02-03 Christophe Lyon <christophe.lyon@arm.com>
724
725 * config/arm/pr-support.c (__gnu_unwind_execute): Use
726 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
727
897a0502
GA
7282023-01-30 Flavio Cruz <flaviocruz@gmail.com>
729
730 * config.host: Recognize x86_64-*-gnu* targets.
731 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
732 TODO for now.
733
607f278a
GA
7342023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
735
736 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
737 "0xb5".
738
7392023-01-23 Andrea Corallo <andrea.corallo@arm.com>
740 Tejas Belagod <tbelagod@arm.com>
741 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
742
743 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
744 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
745 with AUTG if found.
746 * config/arm/unwind-arm.c (struct pseudo_regs): New.
747 (phase1_vrs): Introduce new field to store pseudo-reg state.
748 (phase2_vrs): Likewise.
749 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
750 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
751 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
752
9f98cfa5
GA
7532023-01-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
754
755 PR target/107678
756 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
757 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
758 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
759 encode the return address signing state.
760 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
761 Check current return address signing state.
762 (aarch64_frob_update_contex): Remove.
763
5013c3bb
GA
7642023-01-13 John David Anglin <danglin@gcc.gnu.org>
765
766 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
767 pa/t-pa64-linux.
768 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
769 instead of pa/t-hpux and pa/t-pa64.
770 * config/pa/linux-atomic.c: Define u32 type.
771 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
772 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
773 defines to use atomic_load calls for type.
774 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
775 * config/pa/sync-libfuncs.c: New file.
776 * config/pa/t-netbsd (LIB2ADD_ST): Define.
777 * config/pa/t-openbsd (LIB2ADD_ST): Define.
778 * config/pa/t-pa64-hpux: New file.
779 * config/pa/t-pa64-linux: New file.
780
7812023-01-13 Jonathan Wakely <jwakely@redhat.com>
782
783 PR libstdc++/108331
784 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
785 struct matching the previous __gthread_mutex_t struct.
786 (__GTHREAD_LEGACY_MUTEX_T): Define.
787
7882023-01-13 Seija Kijin <doremylover456@gmail.com>
789
790 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
791 unified syntax.
792
d901bf8a
GA
7932023-01-07 LIU Hao <lh_mouse@126.com>
794
795 PR middle-end/108300
796 * config/i386/enable-execute-stack-mingw32.c: Define
797 `WIN32_LEAN_AND_MEAN` before <windows.h>.
798 * libgcc2.c: Likewise.
799 * unwind-generic.h: Likewise.
800
0f8fbb57
GA
8012023-01-03 Florian Weimer <fweimer@redhat.com>
802
803 * unwind-dw2-execute_cfa.h: New file. Extracted from
804 the execute_cfa_program function in unwind-dw2.c.
805 * unwind-dw2.c (execute_cfa_program_generic): New function.
806 (execute_cfa_program_specialized): Likewise.
807 (execute_cfa_program): Call execute_cfa_program_specialized
808 or execute_cfa_program_generic, as appropriate.
809
8102023-01-03 Florian Weimer <fweimer@redhat.com>
811
812 Revert:
813 2023-01-03 Florian Weimer <fweimer@redhat.com>
814
815 * unwind-dw2.c (dwarf_reg_size): New function.
816 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
817 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
818 (uw_init_context_1): Do not initialize dwarf_reg_size_table
819 if not in use.
820
8212023-01-03 Florian Weimer <fweimer@redhat.com>
822
823 Revert:
824 2023-01-03 Florian Weimer <fweimer@redhat.com>
825
826 * unwind-dw2-execute_cfa.h: New file. Extracted from
827 the execute_cfa_program function in unwind-dw2.c.
828 * unwind-dw2.c (execute_cfa_program_generic): New function.
829 (execute_cfa_program_specialized): Likewise.
830 (execute_cfa_program): Call execute_cfa_program_specialized
831 or execute_cfa_program_generic, as appropriate.
832
fee53a31
GA
8332023-01-02 Florian Weimer <fweimer@redhat.com>
834
835 * unwind-dw2-execute_cfa.h: New file. Extracted from
836 the execute_cfa_program function in unwind-dw2.c.
837 * unwind-dw2.c (execute_cfa_program_generic): New function.
838 (execute_cfa_program_specialized): Likewise.
839 (execute_cfa_program): Call execute_cfa_program_specialized
840 or execute_cfa_program_generic, as appropriate.
841
8422023-01-02 Florian Weimer <fweimer@redhat.com>
843
844 * unwind-dw2.c (dwarf_reg_size): New function.
845 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
846 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
847 (uw_init_context_1): Do not initialize dwarf_reg_size_table
848 if not in use.
849
bc38aee7
GA
8502022-12-25 Jonathan Yong <10walls@gmail.com>
851
852 * config/i386/gthr-win32.h: undef CC_NONE
853
843c4d2f
GA
8542022-12-24 Iain Sandoe <iain@sandoe.co.uk>
855
856 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
857 install of libgcc_s.1.dylib when the installation is into the build
858 gcc directory.
859
376d6b8c
GA
8602022-12-23 Eric Botcazou <ebotcazou@adacore.com>
861
862 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
863 as well as new i386/t-slibgcc-mingw fragment.
864 (x86_64-*-mingw*): Likewise.
865 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
866 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
867 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
868 Include stdlib.h instead of errno.h and do not include _mingw.h.
869 (CONST_CAST2): Add specific definition for C++.
870 (ATTRIBUTE_UNUSED): New macro.
871 (__UNUSED_PARAM): Delete.
872 Define WIN32_LEAN_AND_MEAN before including windows.h.
873 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
874 (__gthread_objc_init_thread_system): Likewise.
875 (__gthread_objc_thread_get_data): Minor tweak.
876 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
877 (__gthread_objc_condition_deallocate): Likewise.
878 (__gthread_objc_condition_wait): Likewise.
879 (__gthread_objc_condition_broadcast): Likewise.
880 (__gthread_objc_condition_signal): Likewise.
881 Include sys/time.h.
882 (__gthr_win32_DWORD): New typedef.
883 (__gthr_win32_HANDLE): Likewise.
884 (__gthr_win32_CRITICAL_SECTION): Likewise.
885 (__gthr_win32_CONDITION_VARIABLE): Likewise.
886 (__gthread_t): Adjust.
887 (__gthread_key_t): Likewise.
888 (__gthread_mutex_t): Likewise.
889 (__gthread_recursive_mutex_t): Likewise.
890 (__gthread_cond_t): New typedef.
891 (__gthread_time_t): Likewise.
892 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
893 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
894 (__GTHREAD_COND_INIT_FUNCTION): Define.
895 (__GTHREAD_TIME_INIT): Likewise.
896 (__gthr_i486_lock_cmp_xchg): Delete.
897 (__gthr_win32_create): Declare.
898 (__gthr_win32_join): Likewise.
899 (__gthr_win32_self): Likewise.
900 (__gthr_win32_detach): Likewise.
901 (__gthr_win32_equal): Likewise.
902 (__gthr_win32_yield): Likewise.
903 (__gthr_win32_mutex_destroy): Likewise.
904 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
905 (__gthr_win32_cond_broadcast): Likewise.
906 (__gthr_win32_cond_signal): Likewise.
907 (__gthr_win32_cond_wait): Likewise.
908 (__gthr_win32_cond_timedwait): Likewise.
909 (__gthr_win32_recursive_mutex_init_function): Delete.
910 (__gthr_win32_recursive_mutex_lock): Likewise.
911 (__gthr_win32_recursive_mutex_unlock): Likewise.
912 (__gthr_win32_recursive_mutex_destroy): Likewise.
913 (__gthread_create): New inline function.
914 (__gthread_join): Likewise.
915 (__gthread_self): Likewise.
916 (__gthread_detach): Likewise.
917 (__gthread_equal): Likewise.
918 (__gthread_yield): Likewise.
919 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
920 (__gthread_cond_broadcast): Likewise.
921 (__gthread_cond_signal): Likewise.
922 (__gthread_cond_wait): Likewise.
923 (__gthread_cond_timedwait): Likewise.
924 (__GTHREAD_WIN32_INLINE): New macro.
925 (__GTHREAD_WIN32_COND_INLINE): Likewise.
926 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
927 Define WIN32_LEAN_AND_MEAN before including windows.h.
928 (__gthread_once): Minor tweaks.
929 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
930 (__gthread_key_delete): Minor tweak.
931 (__gthread_getspecific): Likewise.
932 (__gthread_setspecific): Likewise.
933 (__gthread_mutex_init_function): Reimplement.
934 (__gthread_mutex_destroy): Likewise.
935 (__gthread_mutex_lock): Likewise.
936 (__gthread_mutex_trylock): Likewise.
937 (__gthread_mutex_unlock): Likewise.
938 (__gthr_win32_abs_to_rel_time): Declare.
939 (__gthread_recursive_mutex_init_function): Reimplement.
940 (__gthread_recursive_mutex_destroy): Likewise.
941 (__gthread_recursive_mutex_lock): Likewise.
942 (__gthread_recursive_mutex_trylock): Likewise.
943 (__gthread_recursive_mutex_unlock): Likewise.
944 (__gthread_cond_destroy): New inline function.
945 (__gthread_cond_wait_recursive): Likewise.
946 * config/i386/gthr-win32.c: Delete everything.
947 Include gthr-win32.h to get the out-of-line version of inline routines.
948 Add compile-time checks for the local version of the Win32 types.
949 * config/i386/gthr-win32-cond.c: New file.
950 * config/i386/gthr-win32-thread.c: Likewise.
951 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
952 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
953 the static version of libgcc.
954 * config/i386/t-slibgcc-mingw: New file.
955 * config/i386/libgcc-mingw.ver: Likewise.
956
5fb1e674
GA
9572022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
958
959 * unwind-dw2-fde.c: Initialize fde object lazily when
960 the first exception tries to pass through.
961
9622022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
963
964 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
965
e6110da4
GA
9662022-12-08 Max Filippov <jcmvbkbc@gmail.com>
967
968 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
969 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
970 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
971 (XSHAL_ABI): Remove stray symbols from macro definitions.
972
4bc2d9f6
GA
9732022-12-07 Max Filippov <jcmvbkbc@gmail.com>
974
975 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
976 xtensa-config-builtin.h.
977 * config/xtensa/crtn.S: Likewise.
978 * config/xtensa/lib1funcs.S: Likewise.
979 * config/xtensa/lib2funcs.S: Likewise.
980 * config/xtensa/xtensa-config-builtin.h: New File.
981
05788e9b
GA
9822022-11-04 Florian Weimer <fweimer@redhat.com>
983
984 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
985 values actually used by BFD ld.
986
00716b77
GA
9872022-10-23 LIU Hao <lh_mouse@126.com>
988
989 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
990 libobjc, instead of 'gthr.h'
991
87f9c4a4
GA
9922022-10-19 LIU Hao <lh_mouse@126.com>
993
994 * config.host: Add new cases for `mcf` thread model
995 * config/i386/gthr-mcf.h: New file
996 * config/i386/t-mingw-mcfgthread: New file
997 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
998 * configure: Regenerate
999
21de009f
GA
10002022-10-18 Jonathan Wakely <jwakely@redhat.com>
1001
1002 * Makefile.in: Quote variable.
1003
6237663c
GA
10042022-10-17 H.J. Lu <hjl.tools@gmail.com>
1005
1006 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
1007 argument.
1008 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
1009 _Unwind_Frames_Increment.
1010 (_Unwind_ForcedUnwind_Phase2): Likewise.
1011 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1012 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
1013 return address on normal stack doesn't match the return address
1014 on shadow stack.
1015
10162022-10-17 Florian Weimer <fweimer@redhat.com>
1017
1018 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
1019 and reduce its size.
1020
baeec7cc
GA
10212022-10-14 Jakub Jelinek <jakub@redhat.com>
1022
1023 * config/i386/t-softfp (softfp_extensions): Add bfsf.
1024 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
1025 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
1026 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
1027 -msse2.
1028 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
1029 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
1030 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
1031 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
1032 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
1033 * soft-fp/brain.h: New file.
1034 * soft-fp/truncsfbf2.c: New file.
1035 * soft-fp/truncdfbf2.c: New file.
1036 * soft-fp/truncxfbf2.c: New file.
1037 * soft-fp/trunctfbf2.c: New file.
1038 * soft-fp/trunchfbf2.c: New file.
1039 * soft-fp/truncbfhf2.c: New file.
1040 * soft-fp/extendbfsf2.c: New file.
1041
781f477a
GA
10422022-10-12 Martin Liska <mliska@suse.cz>
1043
1044 * libgcov-driver.c: Use new function.
1045 * libgcov.h (gcov_write_summary): Rename to ...
1046 (gcov_write_object_summary): ... this.
1047
ab332cd7
GA
10482022-10-11 Olivier Hainque <hainque@adacore.com>
1049
1050 * config.host (*vxworks*): When enable_shared, add
1051 libgcc and crtstuff "shared" fragments for rtp except
1052 large code model.
1053 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
1054 the list of fragments.
1055
629d04d3
GA
10562022-10-06 Jakub Jelinek <jakub@redhat.com>
1057
1058 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1059 fs->regs.how[X] instead of fs->regs.reg[X].how.
1060
10612022-10-06 Jakub Jelinek <jakub@redhat.com>
1062
1063 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
1064 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
1065 REG_UNDEFINED): New anonymous enum, moved from inside of
1066 struct frame_state_reg_info.
1067 (struct frame_state_reg_info): Remove reg[].how element and the
1068 anonymous enum there. Add how element.
1069 * unwind-dw2.c: Include stddef.h.
1070 (uw_frame_state_for): Don't clear first
1071 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
1072 (execute_cfa_program, __frame_state_for, uw_update_context_1,
1073 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
1074 or fs.regs.how[X] instead of fs.regs.reg[X].how.
1075 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
1076 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1077 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1078 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
1079 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
1080 Likewise.
1081 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
1082 Likewise.
1083 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
1084 * config/arc/linux-unwind.h (arc_fallback_frame_state,
1085 arc_frob_update_context): Likewise.
1086 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
1087 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
1088 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
1089 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
1090 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
1091 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
1092 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
1093 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
1094 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
1095 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
1096 x86_fallback_frame_state): Likewise.
1097 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
1098 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1099 x86_fallback_frame_state): Likewise.
1100 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
1101 Likewise.
1102 * config/i386/dragonfly-unwind.h
1103 (x86_64_dragonfly_fallback_frame_state): Likewise.
1104 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
1105 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
1106 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
1107 Likewise.
1108 * config/aarch64/freebsd-unwind.h
1109 (aarch64_freebsd_fallback_frame_state): Likewise.
1110 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1111 Likewise.
1112 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
1113 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1114 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
1115 Likewise.
1116 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
1117 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1118 Likewise.
1119 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
1120 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
1121 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
1122 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
1123
42231015
GA
11242022-10-02 Olivier Hainque <hainque@adacore.com>
1125
1126 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
1127 -I options for gcc/include and gcc/include-fixed at the end
1128 and make them -isystem.
1129
11302022-10-02 Olivier Hainque <hainque@adacore.com>
1131
1132 * config/gthr-vxworks.h: Prevent Wpragma warning for the
1133 pragma diagnostics on Wstrict-prototypes.
1134
bbdcdf5c
GA
11352022-09-29 Olivier Hainque <hainque@adacore.com>
1136
1137 * config/vxcrtstuff.c: Improve the comment attached to the use
1138 of auto-host.h and of __dso_handle. Remove redundant guard on
1139 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
1140
220c4d8e
GA
11412022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
1142
1143 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
1144 for the non-fast-path case. Drop destructor priority.
1145
279c6715
GA
11462022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
1147
1148 * unwind-dw2-fde.c: (release_register_frames) Remember
1149 when the btree has been destroyed.
1150 (__deregister_frame_info_bases) Disable the assert when
1151 shutting down.
1152
0990a778
GA
11532022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
1154
1155 * unwind-dw2-fde.c: Replace uintptr_t with typedef
1156 for __UINTPTR_TYPE__.
1157 * unwind-dw2-btree.h: Likewise.
1158
7ee0fa10
GA
11592022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
1160
1161 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
1162 (__register_frame_info_table_bases): Use btree in atomic fast path.
1163 (__deregister_frame_info_bases): Likewise.
1164 (_Unwind_Find_FDE): Likewise.
1165 (base_from_object): Make parameter const.
1166 (classify_object_over_fdes): Add query-only mode.
1167 (get_pc_range): Compute PC range for lookup.
1168 * unwind-dw2-fde.h (last_fde): Make parameter const.
1169 * unwind-dw2-btree.h: New file.
1170
542c60c4
GA
11712022-08-31 Martin Liska <mliska@suse.cz>
1172
1173 * config.host: Remove hppa.
1174
3de9fb32
GA
11752022-08-30 Martin Liska <mliska@suse.cz>
1176
1177 * config.host: Remove the port.
1178
16f542d6
GA
11792022-08-26 Martin Liska <mliska@suse.cz>
1180
1181 * config.host: Remove cr16 related stuff.
1182 * config/cr16/crti.S: Removed.
1183 * config/cr16/crtlibid.S: Removed.
1184 * config/cr16/crtn.S: Removed.
1185 * config/cr16/divmodhi3.c: Removed.
1186 * config/cr16/lib1funcs.S: Removed.
1187 * config/cr16/t-cr16: Removed.
1188 * config/cr16/t-crtlibid: Removed.
1189 * config/cr16/unwind-cr16.c: Removed.
1190 * config/cr16/unwind-dw2.h: Removed.
1191
47a61e65
GA
11922022-08-16 Kito Cheng <kito.cheng@sifive.com>
1193
1194 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
1195 (_FP_NANFRAC_H): Ditto.
1196 (_FP_NANSIGN_H): Ditto.
1197 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
1198 routines.
1199 (softfp_truncations): Ditto.
1200 (softfp_extras): Ditto.
1201 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
1202
12032022-08-16 Kito Cheng <kito.cheng@sifive.com>
1204
1205 * soft-fp/fixhfdi.c: New.
1206 * soft-fp/fixhfsi.c: Likewise.
1207 * soft-fp/fixunshfdi.c: Likewise.
1208 * soft-fp/fixunshfsi.c: Likewise.
1209 * soft-fp/floatdihf.c: Likewise.
1210 * soft-fp/floatsihf.c: Likewise.
1211 * soft-fp/floatundihf.c: Likewise.
1212 * soft-fp/floatunsihf.c: Likewise.
1213 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
1214 lines and update URL for license.
1215 * soft-fp/addsf3.c: Likewise.
1216 * soft-fp/addtf3.c: Likewise.
1217 * soft-fp/divdf3.c: Likewise.
1218 * soft-fp/divsf3.c: Likewise.
1219 * soft-fp/divtf3.c: Likewise.
1220 * soft-fp/double.h: Likewise.
1221 * soft-fp/eqdf2.c: Likewise.
1222 * soft-fp/eqhf2.c: Likewise.
1223 * soft-fp/eqsf2.c: Likewise.
1224 * soft-fp/eqtf2.c: Likewise.
1225 * soft-fp/extenddftf2.c: Likewise.
1226 * soft-fp/extended.h: Likewise.
1227 * soft-fp/extendhfdf2.c: Likewise.
1228 * soft-fp/extendhfsf2.c: Likewise.
1229 * soft-fp/extendhftf2.c: Likewise.
1230 * soft-fp/extendhfxf2.c: Likewise.
1231 * soft-fp/extendsfdf2.c: Likewise.
1232 * soft-fp/extendsftf2.c: Likewise.
1233 * soft-fp/extendxftf2.c: Likewise.
1234 * soft-fp/fixdfdi.c: Likewise.
1235 * soft-fp/fixdfsi.c: Likewise.
1236 * soft-fp/fixdfti.c: Likewise.
1237 * soft-fp/fixhfti.c: Likewise.
1238 * soft-fp/fixsfdi.c: Likewise.
1239 * soft-fp/fixsfsi.c: Likewise.
1240 * soft-fp/fixsfti.c: Likewise.
1241 * soft-fp/fixtfdi.c: Likewise.
1242 * soft-fp/fixtfsi.c: Likewise.
1243 * soft-fp/fixtfti.c: Likewise.
1244 * soft-fp/fixunsdfdi.c: Likewise.
1245 * soft-fp/fixunsdfsi.c: Likewise.
1246 * soft-fp/fixunsdfti.c: Likewise.
1247 * soft-fp/fixunshfti.c: Likewise.
1248 * soft-fp/fixunssfdi.c: Likewise.
1249 * soft-fp/fixunssfsi.c: Likewise.
1250 * soft-fp/fixunssfti.c: Likewise.
1251 * soft-fp/fixunstfdi.c: Likewise.
1252 * soft-fp/fixunstfsi.c: Likewise.
1253 * soft-fp/fixunstfti.c: Likewise.
1254 * soft-fp/floatdidf.c: Likewise.
1255 * soft-fp/floatdisf.c: Likewise.
1256 * soft-fp/floatditf.c: Likewise.
1257 * soft-fp/floatsidf.c: Likewise.
1258 * soft-fp/floatsisf.c: Likewise.
1259 * soft-fp/floatsitf.c: Likewise.
1260 * soft-fp/floattidf.c: Likewise.
1261 * soft-fp/floattihf.c: Likewise.
1262 * soft-fp/floattisf.c: Likewise.
1263 * soft-fp/floattitf.c: Likewise.
1264 * soft-fp/floatundidf.c: Likewise.
1265 * soft-fp/floatundisf.c: Likewise.
1266 * soft-fp/floatunditf.c: Likewise.
1267 * soft-fp/floatunsidf.c: Likewise.
1268 * soft-fp/floatunsisf.c: Likewise.
1269 * soft-fp/floatunsitf.c: Likewise.
1270 * soft-fp/floatuntidf.c: Likewise.
1271 * soft-fp/floatuntihf.c: Likewise.
1272 * soft-fp/floatuntisf.c: Likewise.
1273 * soft-fp/floatuntitf.c: Likewise.
1274 * soft-fp/gedf2.c: Likewise.
1275 * soft-fp/gesf2.c: Likewise.
1276 * soft-fp/getf2.c: Likewise.
1277 * soft-fp/half.h: Likewise.
1278 * soft-fp/ledf2.c: Likewise.
1279 * soft-fp/lesf2.c: Likewise.
1280 * soft-fp/letf2.c: Likewise.
1281 * soft-fp/muldf3.c: Likewise.
1282 * soft-fp/mulsf3.c: Likewise.
1283 * soft-fp/multf3.c: Likewise.
1284 * soft-fp/negdf2.c: Likewise.
1285 * soft-fp/negsf2.c: Likewise.
1286 * soft-fp/negtf2.c: Likewise.
1287 * soft-fp/op-1.h: Likewise.
1288 * soft-fp/op-2.h: Likewise.
1289 * soft-fp/op-4.h: Likewise.
1290 * soft-fp/op-8.h: Likewise.
1291 * soft-fp/op-common.h: Likewise.
1292 * soft-fp/quad.h: Likewise.
1293 * soft-fp/single.h: Likewise.
1294 * soft-fp/soft-fp.h: Likewise.
1295 * soft-fp/subdf3.c: Likewise.
1296 * soft-fp/subsf3.c: Likewise.
1297 * soft-fp/subtf3.c: Likewise.
1298 * soft-fp/truncdfhf2.c: Likewise.
1299 * soft-fp/truncdfsf2.c: Likewise.
1300 * soft-fp/truncsfhf2.c: Likewise.
1301 * soft-fp/trunctfdf2.c: Likewise.
1302 * soft-fp/trunctfhf2.c: Likewise.
1303 * soft-fp/trunctfsf2.c: Likewise.
1304 * soft-fp/trunctfxf2.c: Likewise.
1305 * soft-fp/truncxfhf2.c: Likewise.
1306 * soft-fp/unorddf2.c: Likewise.
1307 * soft-fp/unordsf2.c: Likewise.
1308 * soft-fp/unordtf2.c: Likewise.
1309
79fb1124
GA
13102022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
1311
1312 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
1313 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
1314 configurations.
1315
87509781
GA
13162022-06-25 Jeff Law <jeffreyalaw@gmail.com>
1317
1318 * config.host: Removed tilegx and tilepro entries.
1319 * config/tilegx/sfp-machine.h: Removed.
1320 * config/tilegx/sfp-machine32.h: Removed.
1321 * config/tilegx/sfp-machine64.h: Removed.
1322 * config/tilegx/t-crtstuff: Removed.
1323 * config/tilegx/t-softfp: Removed.
1324 * config/tilegx/t-tilegx: Removed.
1325 * config/tilepro/atomic.c: Removed.
1326 * config/tilepro/atomic.h: Removed.
1327 * config/tilepro/linux-unwind.h: Removed.
1328 * config/tilepro/sfp-machine.h: Removed.
1329 * config/tilepro/softdivide.c: Removed.
1330 * config/tilepro/softmpy.S: Removed.
1331 * config/tilepro/t-crtstuff: Removed.
1332 * config/tilepro/t-tilepro: Removed.
1333
e3bba42f
GA
13342022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
1335
1336 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
1337 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
1338
3164de6a
GA
13392022-06-01 H.J. Lu <hjl.tools@gmail.com>
1340
1341 PR libgcc/27576
1342 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
1343
3dff965c
GA
13442022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
1345
1346 PR libgcc/105708
1347 * config/aarch64/lse-init.c: Increase constructor priority.
1348
13492022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1350
1351 PR target/104689
1352 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1353 Handle the !REG_UNSAVED case.
1354 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
1355
57f2ce6a
GA
13562022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1357
1358 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
1359 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
1360 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
1361
13622022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1363
1364 * config.host: Add t-dfprules to AArch64 targets.
1365
13662022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1367
1368 * configure: Regenerate.
1369
9df4ffe4
GA
13702022-05-13 Sebastian Pop <spop@amazon.com>
1371
1372 PR target/105162
1373 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
1374 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
1375
e8778989
GA
13762022-05-10 Martin Liska <mliska@suse.cz>
1377 Hans-Peter Helfert <peter-helfert@t-online.de>
1378
1379 PR gcov-profile/105535
1380 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
1381 n_functions.
1382
6259d8aa
GA
13832022-05-02 Martin Liska <mliska@suse.cz>
1384
1385 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
1386
6b6f53d8
GA
13872022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1388
1389 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
1390 (gcov_profile_merge_stream): Likewise.
1391
13922022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1393
1394 * libgcov-util.c (consume_stream): New.
1395 (get_target_profiles_for_merge): Likewise.
1396 (gcov_profile_merge_stream): Likewise.
1397
13982022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1399
1400 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
1401
14022022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1403
1404 * libgcov-util.c (read_gcda_file): Do not open file.
1405 (ftw_read_file): Open file here.
1406
14072022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1408
1409 * libgcov-util.c (read_gcda_file): Prepend new info object to global
1410 list.
1411 (ftw_read_file): Remove list append here.
1412
14132022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1414
1415 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
1416 (ftw_read_file): Duplicate filename for read_gcda_file().
1417
14182022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1419
1420 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
1421 (__gcov_filename_to_gcfn): Declare and document.
1422 * libgcov-driver.c (dump_string): New.
1423 (__gcov_filename_to_gcfn): Likewise.
1424 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
1425
14262022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1427
1428 * libgcov.h (gcov_seek): Remove define and declaration.
1429
14302022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1431
1432 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
1433 parameter. Pass mode to gcov_open() calls.
1434 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
1435 gcov_exit_open_gcda_file() call.
1436 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
1437 calls.
1438 (__gcov_dump_one): Open file for reading and writing.
1439
14402022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1441
1442 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
1443 reading and writing.
1444 * libgcov-util.c (read_gcda_file): Open file for reading.
1445 * libgcov.h (gcov_open): Delete declaration.
1446
14472022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1448
1449 * libgcov-util.c (gcov_profile_merge): Return the list of merged
1450 profiles. Accept empty target and source profile lists.
1451
405eda0d
GA
14522022-04-08 Sergei Trofimovich <siarheit@google.com>
1453
1454 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
1455
9f774626
GA
14562022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
1457 Lulu Cheng <chenglulu@loongson.cn>
1458
1459 * configure: Regenerate file.
1460
14612022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
1462 Lulu Cheng <chenglulu@loongson.cn>
1463
1464 * config/loongarch/crtfastmath.c: New file.
1465 * config/loongarch/linux-unwind.h: Like wise.
1466 * config/loongarch/sfp-machine.h: Like wise.
1467 * config/loongarch/t-crtstuff: Like wise.
1468 * config/loongarch/t-loongarch: Like wise.
1469 * config/loongarch/t-loongarch64: Like wise.
1470 * config/loongarch/t-softfp-tf: Like wise.
1471 * config.host: Add LoongArch tuples.
1472 * configure.ac: Add LoongArch support.
1473
d7f00da1
GA
14742022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
1475
1476 PR libgcc/86224
1477 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
1478 for __mulsi3.
1479 (__udivsi3_internal, __divsi3_internal): Similarly.
1480 (__umodsi3, __modsi3): Use the internal function names.
1481
8cc4f9cd
GA
14822022-03-09 Tobias Burnus <tobias@codesourcery.com>
1483
1484 PR target/102215
1485 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
1486 a line up to non-arg-dependent value first.
1487 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
1488 __atomic_compare_exchange_{1,2}.
1489
8d96e14c
GA
14902022-03-04 Iain Sandoe <iain@sandoe.co.uk>
1491
1492 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
1493 * config/t-darwin-ehs: Add dependency on unwind.h.
1494
756a6185
GA
14952022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
1496
1497 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
1498 with 0 instead of NULL.
1499
15002022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1501
1502 PR target/104656
1503 * configure.ac: --disable-gcov if targetting bpf-*.
1504 * configure: Regenerate.
1505
e0b8716f
GA
15062022-01-25 Florian Weimer <fweimer@redhat.com>
1507
1508 PR libgcc/104207
1509 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
1510
fc829782
GA
15112022-01-17 Martin Liska <mliska@suse.cz>
1512
1513 * libgcov-driver.c: Rename .c names to .cc.
1514
9248ee41
GA
15152022-01-15 David <gccbugzilla@limegreensocks.com>
1516
1517 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
1518 Remove inlined version, Windows 95 is no longer relevant.
1519 * config/i386/gthr-win32.h
1520 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
1521
617db51d
GA
15222022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
1523
1524 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1525 DWARF_ALT_FRAME_RETURN_COLUMN macro.
1526
7d11b64b
GA
15272022-01-04 Florian Weimer <fweimer@redhat.com>
1528
1529 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1530 if available.
1531
5da23a13
GA
15322022-01-02 John David Anglin <danglin@gcc.gnu.org>
1533
1534 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1535 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1536 return is not equal _ASM_EFAULT.
1537 (__kernel_cmpxchg2): Likewise.
1538
2554e2da
GA
15392021-12-17 Iain Sandoe <iain@sandoe.co.uk>
1540
1541 * config.host: Add shim declaration header to powerpc*-darwin builds.
1542 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1543 file.
1544 * config/t-darwin-ehs: Add dependencies to the shared unwinder
1545 objects.
1546 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1547 the shared EH lib. Add all-multi to the dependencies for the
1548 libgcc_s.1.dylib redirections.
1549
7f1239cb
GA
15502021-12-13 Olivier Hainque <hainque@adacore.com>
1551
1552 * config.host (powerpc*-*-vxworks7*): Remove
1553 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1554
15552021-12-13 Olivier Hainque <hainque@adacore.com>
1556
1557 * config.host (*vxworks*): Remove special case for
1558 arm on the use of vxcrtstuff.
1559
15602021-12-13 Fred Konrad <konrad@adacore.com>
1561 Olivier Hainque <hainque@adacore.com>
1562
1563 * config/t-vxcrtstuffS: New Makefile fragment.
1564 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1565 functions for INITFINI_ARRAY support in shared libs and guard
1566 the definition of eh table registration functions on conditions
1567 indicating they are needed.
1568
15692021-12-13 Olivier Hainque <hainque@adacore.com>
1570
1571 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1572 ahead of the other files in tmake_files.
1573 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1574 overriding it.
1575
15762021-12-13 Olivier Hainque <hainque@adacore.com>
1577
1578 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1579 both VxWorks7 and earlier.
1580 * config/t-vxworks7: Remove.
1581 * config.host: Remove special case for vxworks7.
1582
e8decbe7
GA
15832021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1584
1585 * config/vxcrtstuff.c: Make constructor and destructor
1586 functions static when possible.
1587
15882021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1589
1590 * config/vxcrtstuff.c: Remove constructor/destructor
1591 declarations.
1592
0bceef16
GA
15932021-12-10 Iain Sandoe <iain@sandoe.co.uk>
1594
1595 * config/t-darwin: Add libgcc_tm.h to the dependencies
1596 for darwin10-unwind-find-enc-func.
1597
15982021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1599
1600 * config/rs6000/t-vxworks: New file.
1601 * config.host (powerpc*-*-vxworks*): Use it instead of
1602 t-ppccomm.
1603
4b4839e3
GA
16042021-12-09 Fred Konrad <konrad@adacore.com>
1605
1606 * config.host (powerpc*-wrs-vxworks7*): Fix path to
1607 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1608
16092021-12-09 Olivier Hainque <hainque@adacore.com>
1610 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1611
1612 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1613 $(LIBGCC2_INCLUDES).
1614 * config/t-vxworks7: Likewise.
1615
641ff219
GA
16162021-12-08 Iain Sandoe <iain@sandoe.co.uk>
1617
1618 * config.host (*-*-darwin*): Add logic to build a shared
1619 unwinder library for Darwin8-10.
1620 * config/i386/t-darwin: Build legacy libgcc_s.1.
1621 * config/rs6000/t-darwin: Likewise.
1622 * config/t-darwin: Reorganise the EH fragments to place
1623 them for inclusion in a shared EH lib.
1624 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1625 the supporting pieces (all FAT libs).
1626 * config/t-darwin-noeh: Removed.
1627 * config/darwin-unwind.ver: New file.
1628 * config/rs6000/t-darwin-ehs: New file.
1629 * config/t-darwin-ehs: New file.
1630
3a580f96
GA
16312021-12-06 Nelson Chu <nelson.chu@sifive.com>
1632
1633 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1634 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1635 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1636 HIDDEN_DEF.
1637
c177e806
GA
16382021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1639
1640 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1641 ssize_t and vfork after including auto-host.h.
1642
87cd82c8
GA
16432021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1644
1645 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1646 crtend.o to extra_parts.
1647
d62c8c74
GA
16482021-11-27 John David Anglin <danglin@gcc.gnu.org>
1649
1650 * config/pa/t-dimode (lib2difuncs): Fix typo.
1651
091ccc06
GA
16522021-11-25 Florian Weimer <fweimer@redhat.com>
1653
1654 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1655 Remove func, ret.
1656 (find_fde_tail): New function. Split from
1657 _Unwind_IteratePhdrCallback. Move the result initialization
1658 from _Unwind_Find_FDE.
1659 (_Unwind_Find_FDE): Updated to call find_fde_tail.
1660
06be28f6
GA
16612021-11-22 Florian Weimer <fweimer@redhat.com>
1662
1663 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1664 (struct unw_eh_callback_data): Make dbase member conditional.
1665 (unw_eh_callback_data_dbase): New function.
1666 (base_from_cb_data): Simplify for the non-dbase case.
1667 (_Unwind_IteratePhdrCallback): Adjust.
1668 (_Unwind_Find_FDE): Likewise.
1669
16702021-11-22 Florian Weimer <fweimer@redhat.com>
1671
1672 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1673 tbase member.
1674 (base_from_cb_data): Adjust.
1675 (_Unwind_IteratePhdrCallback): Likewise.
1676 (_Unwind_Find_FDE): Likewise.
1677
9c077398
GA
16782021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1679
1680 * config.host: Add weak emutls crt to the extra_parts.
1681 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1682 workaround.
1683 * config/libgcc-libsystem.ver: Add exclude list for the system-
1684 provided unwinder.
1685 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1686 * config/i386/libgcc-darwin.10.4.ver: Removed.
1687 * config/i386/libgcc-darwin.10.5.ver: Removed.
1688 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1689 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1690 * config/t-darwin-noeh: New file.
1691
16922021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1693
1694 * config/t-darwin: Build weak-defined emutls objects.
1695 * emutls.c (__emutls_get_address): Add optional attributes.
1696 (__emutls_register_common): Likewise.
1697 (EMUTLS_ATTR): New.
1698
b39265d4
GA
16992021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1700
1701 PR libgcc/103044
1702 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1703 called with a null argument or at the end of the backtrace and return.
1704 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1705
8d36a0d2
GA
17062021-11-10 Jakub Jelinek <jakub@redhat.com>
1707
1708 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1709 formatting fix.
1710
851dff04
GA
17112021-11-05 Iain Sandoe <iain@sandoe.co.uk>
1712
1713 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1714 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1715
17162021-11-05 John David Anglin <danglin@gcc.gnu.org>
1717
1718 PR libgomp/96661
1719 * config.host (hppa*64*-*-linux*): Revise tmake_file.
1720 (hppa*64*-*-hpux11*): Likewise.
1721 * config/pa/sfp-exceptions.c: New.
1722 * config/pa/sfp-machine.h: New.
1723 * config/pa/t-dimode: New.
1724 * config/pa/t-softfp-sfdftf: New.
1725
04a2cf3f
GA
17262021-10-27 John David Anglin <danglin@gcc.gnu.org>
1727
1728 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1729 tmake_file.
1730 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1731 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1732 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1733 * config/pa/t-linux64 (LIB1ASMSRC): New define.
1734 (LIB1ASMFUNCS): Revise.
1735 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1736
c2bd5d8a
GA
17372021-10-22 Stafford Horne <shorne@gmail.com>
1738
1739 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1740 Change to 0.
1741
5d5885c9
GA
17422021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1743
1744 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1745 outside of get_regs() in order to use it in another function, this
1746 is done twice: for __powerpc64__ and for !__powerpc64__.
1747 (struct trace_arg): New struct.
1748 (struct layout): New struct.
1749 (ppc_backchain_fallback): New function.
1750 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1751 state and call MD_BACKCHAIN_FALLBACK.
1752
9eb28a0f
GA
17532021-10-13 Martin Liska <mliska@suse.cz>
1754
1755 PR gcov-profile/90364
1756 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1757 checksums.
1758 (write_one_data): Write also checksum.
1759 * libgcov-util.c (read_gcda_file): Read also checksum field.
1760 * libgcov.h (struct gcov_info): Add new field.
1761
ce6eec39
GA
17622021-10-08 Ian Lance Taylor <iant@golang.org>
1763
1764 * config/i386/morestack.S: Use .init_array for constructor if
1765 available.
1766 * config/rs6000/morestack.S: Likewise.
1767 * config/s390/morestack.S: Likewise.
1768
154fd089
GA
17692021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1770
1771 PR target/101104
1772 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1773 Use more correct values for native IBM 128-bit.
1774
fd133479
GA
17752021-09-28 Iain Sandoe <iain@sandoe.co.uk>
1776
1777 * config/i386/libgcc-darwin.ver: Add Symbols for
1778 __cpu_model, __cpu_indicator_init.
1779
e4777439
GA
17802021-09-22 Iain Sandoe <iain@sandoe.co.uk>
1781
1782 * config/i386/sfp-machine.h: Guard Mach-O-specific code
1783 using __APPLE__.
1784
34fac9ef
GA
17852021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1786
1787 * config/t-slibgcc-darwin: Delete unused code.
1788
17892021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1790
1791 * config/i386/t-darwin: Add in a vers file for X86-specific
1792 symbols.
1793 * config/t-darwin: Add the generic symbol maps here...
1794 * config/t-slibgcc-darwin: ... removing from here.
1795 * config/i386/libgcc-darwin.ver: New file.
1796
17972021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1798
1799 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1800 and __mulhc3.
1801
18022021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1803
1804 * config.host: Use convenience library for Darwin10
1805 unwinder shim.
1806 * config/t-darwin: Build Darwin10 unwinder shim as a
1807 convenience library.
1808
07985c47
GA
18092021-09-13 Andrew Pinski <apinski@marvell.com>
1810
1811 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1812 * config/m32r/libgcc-glibc.ver: Removed.
1813 * config/m32r/t-linux: Removed.
1814
b6db7cd4
GA
18152021-09-08 liuhongt <hongtao.liu@intel.com>
1816
1817 * config/i386/t-softfp: Compile __{mul,div}hc3 into
1818 libgcc_s.so.1.
1819
18202021-09-08 Jakub Jelinek <jakub@redhat.com>
1821 Iain Sandoe <iain@sandoe.co.uk>
1822
1823 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1824 and export *hf* and *hc* functions at GCC_12.0.0.
1825
9f99555f
GA
18262021-09-06 liuhongt <hongtao.liu@intel.com>
1827
1828 * Makefile.in: Adjust to support specific CFLAGS for each
1829 libgcc source file.
1830 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1831 related libgcc source files.
1832 * config/i386/t-softfp: Ditto.
1833 * config/i386/_divhc3.c: New file.
1834 * config/i386/_mulhc3.c: New file.
1835
7b739540
GA
18362021-09-03 Iain Sandoe <iain@sandoe.co.uk>
1837
1838 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1839 alias_DFtype, alias_TFtype): New.
1840 (ALIAS_SELECTOR): New.
1841 (strong_alias): Use __typeof and a _Generic selector to
1842 provide the type to the synthesized function.
1843
9f7c2bad
GA
18442021-09-02 liuhongt <hongtao.liu@intel.com>
1845
1846 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1847 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1848 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1849 * config/i386/t-softfp: Add hf soft-fp.
1850 * config.host: Add i386/64/t-softfp.
1851 * config/i386/64/t-softfp: New file.
1852
18532021-09-02 liuhongt <hongtao.liu@intel.com>
1854
1855 * soft-fp/eqhf2.c: New file.
1856 * soft-fp/extendhfdf2.c: New file.
1857 * soft-fp/extendhfsf2.c: New file.
1858 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1859 * soft-fp/truncdfhf2.c: New file
1860 * soft-fp/truncsfhf2.c: New file
1861
e11c6046
GA
18622021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
1863
1864 * unwind-arm-common.inc (abort): Remove.
1865
6d51ee43
GA
18662021-08-31 Richard Sandiford <richard.sandiford@arm.com>
1867
1868 * config/aarch64/value-unwind.h: Add missing runtime exception
1869 paragraph.
1870 * config/frv/frv-abi.h: Likewise.
1871 * config/i386/value-unwind.h: Likewise.
1872 * config/pa/pa64-hpux-lib.h: Likewise.
1873
ccc19145
GA
18742021-08-26 David Edelsohn <dje.gcc@gmail.com>
1875
1876 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1877 __gcc_qadd.
1878 (__gcc_qadd): Call ldouble_qadd_internal.
1879 (__gcc_qsub): Call ldouble_qadd_internal with second long double
1880 argument negated.
1881
18822021-08-26 Jonathan Yong <10walls@gmail.com>
1883
1884 * config/i386/cygming-crtend.c: Fix register_frame_ctor
1885 and register_frame_dtor warnings.
1886
05ace294
GA
18872021-08-24 Richard Earnshaw <rearnsha@arm.com>
1888
1889 PR target/102035
1890 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1891 Add vlldm erratum work-around.
1892
4be4fa4e
GA
18932021-08-21 John David Anglin <danglin@gcc.gnu.org>
1894
1895 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1896
9d1d9fc8
GA
18972021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
1898
1899 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1900 (gcov_type_unsigned): Likewise.
1901
7dd8f198
GA
19022021-08-14 Stafford Horne <shorne@gmail.com>
1903
1904 PR target/99783
1905 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1906 * config/or1k/t-crtstuff: New file.
1907
f92f4778
GA
19082021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1909
1910 * libgcov-driver.c (#include <stdint.h>): Remove.
1911 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1912
19132021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1914
1915 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1916 * gcov.h (gcov_info): Declare.
1917 (__gcov_info_to_gdca): Likewise.
1918 * libgcov.h (gcov_write_counter): Remove.
1919 (gcov_write_tag_length): Likewise.
1920 * libgcov-driver.c (#include <stdint.h>): New.
1921 (#include <string.h>): Remove.
1922 (NEED_L_GCOV): Conditionally define.
1923 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1924 (are_all_counters_zero): New.
1925 (gcov_dump_handler): Likewise.
1926 (gcov_allocate_handler): Likewise.
1927 (dump_unsigned): Likewise.
1928 (dump_counter): Likewise.
1929 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1930 Use dump_unsigned() and dump_counter().
1931 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
1932 dump_unsigned(), dump_counter(), and are_all_counters_zero().
1933 (__gcov_info_to_gcda): New.
1934
8ebf4fb5
GA
19352021-08-05 Jakub Jelinek <jakub@redhat.com>
1936
1937 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1938 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1939 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1940 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1941
2697f832
GA
19422021-08-04 Jakub Jelinek <jakub@redhat.com>
1943
1944 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1945
d97d71a1
GA
19462021-07-15 Alan Modra <amodra@gmail.com>
1947
1948 * config/rs6000/morestack.S (R2_SAVE): Define.
1949 (__morestack): Save and restore r2. Set up r2 for called
1950 functions.
1951
bea7c16a
GA
19522021-07-01 H.J. Lu <hjl.tools@gmail.com>
1953
1954 * soft-fp/extendhfxf2.c: New file.
1955 * soft-fp/truncxfhf2.c: Likewise.
1956
6bc18203
GA
19572021-06-29 Julian Brown <julian@codesourcery.com>
1958
1959 * config/gcn/lib2-bswapti2.c: New file.
1960 * config/gcn/lib2-divmod-di.c: New file.
1961 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1962 typedefs.
1963 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1964 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1965 lib2-bswapti2.c.
1966
19672021-06-29 Julian Brown <julian@codesourcery.com>
1968
1969 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1970 return types to USItype.
1971 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1972
fcf617f0
GA
19732021-06-23 Kewen Lin <linkw@linux.ibm.com>
1974
1975 * configure: Regenerate.
1976 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1977 typos among the name, CFLAGS and the test.
1978 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1979 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1980 Remove.
1981 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1982 macro FLOAT128_HW_INSNS_ISA3_1.
1983 (FP128_3_1_CFLAGS_HW): Fix option typo.
1984 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1985 FLOAT128_HW_INSNS_ISA3_1.
1986 (__floattikf_resolve): Likewise.
1987 (__floatuntikf_resolve): Likewise.
1988 (__fixkfti_resolve): Likewise.
1989 (__fixunskfti_resolve): Likewise.
1990 (__floattikf): Likewise.
1991 (__floatuntikf): Likewise.
1992 (__fixkfti): Likewise.
1993 (__fixunskfti): Likewise.
1994
f16f65f8
GA
19952021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1996
1997 PR target/99939
1998 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1999 macro.
2000 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
2001 on passing -mcmse option.
2002
43c35d0d
GA
20032021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
2004
2005 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
2006 _ARCH_PPC64 .
2007
4f625f47
GA
20082021-06-09 Carl Love <cel@us.ibm.com>
2009
2010 * config.host: Add if test and set for
2011 libgcc_cv_powerpc_3_1_float128_hw.
2012 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
2013 Change calls of __fixkfti to __fixkfti_sw.
2014 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
2015 Change calls of __fixunskfti to __fixunskfti_sw.
2016 * config/rs6000/float128-p10.c (__floattikf_hw,
2017 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
2018 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
2019 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
2020 __fixunskfti_resolve): Add resolve functions.
2021 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
2022 * config/rs6000/float128-sed (floattitf, __floatuntitf,
2023 __fixtfti, __fixunstfti): Add editor commands to change names.
2024 * config/rs6000/float128-sed-hw (__floattitf,
2025 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
2026 change names.
2027 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
2028 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
2029 * config/rs6000/quad-float128.h (__floattikf_sw,
2030 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
2031 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
2032 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
2033 * config/rs6000/t-float128 (floattikf, floatuntikf,
2034 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
2035 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
2036 file names to fp128_ppc_funcs.
2037 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
2038 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
2039 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
2040 * config/rs6000/t-float128-p10-hw: New file.
2041 * configure: Update script for isa 3.1 128-bit float support.
2042 * configure.ac: Add check for 128-bit float hardware support.
2043 * config/rs6000/fixkfti-sw.c: New file.
2044 * config/rs6000/fixunskfti-sw.c: New file.
2045 * config/rs6000/floattikf-sw.c: New file.
2046 * config/rs6000/floatuntikf-sw.c: New file.
2047
f9af11c7
GA
20482021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
2049
2050 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
2051
4d0385df 20522021-05-13 Martin Liska <mliska@suse.cz>
f9af11c7
GA
2053
2054 * libgcov-driver.c: Fix GNU coding style.
2055
aa891c56
GA
20562021-05-10 Martin Liska <mliska@suse.cz>
2057
2058 * libgcov-driver.c (gcov_version): Use different name that does
2059 not clash with newly introduced macro.
2060
3c8e539d
GA
20612021-04-29 Eric Botcazou <ebotcazou@adacore.com>
2062
2063 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
2064 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
2065 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
2066
e4ff4ffb
GA
20672021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
2068
2069 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
2070 Define.
2071 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
2072 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
2073 Define.
2074 (__divkc3): Improve complex divide.
2075
05ec629f
GA
20762021-04-23 Michael Meissner <meissner@linux.ibm.com>
2077
2078 PR target/98952
2079 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
2080 trampoline size comparison in 32-bit by reversing test and
2081 combining load immediate with compare.
2082 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
2083 in 32-bit by reversing test and combining load immediate with
2084 compare.
2085
b1da9916
GA
20862021-04-05 Florian Weimer <fweimer@redhat.com>
2087 Michael Meissner <meissner@linux.ibm.com>
2088
2089 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
2090 point functions for $(decimal_float) only.
2091
c0756c4e
GA
20922021-04-03 Jakub Jelinek <jakub@redhat.com>
2093
2094 PR target/97653
2095 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
2096 $(objext) instead of $(object). Use _floatunditf instead of
2097 _floatunsditf. Add tf <-> ti conversion objects.
2098 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
2099
65374af2
GA
21002021-03-29 Michael Meissner <meissner@linux.ibm.com>
2101
2102 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
2103 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
2104 (fp128_decstr_objs): Delete.
2105 * dfp-bit.h: Call __sprintfieee128 to do conversions from
2106 _Float128 to a Decimal type. Call __strtoieee128 to do
2107 conversions from a Decimal type to _Float128.
2108 * config/rs6000/_sprintfkf.c: Delete file.
2109 * config/rs6000/_sprintfkf.h: Delete file.
2110 * config/rs6000/_strtokf.c: Delete file.
2111 * config/rs6000/_strtokf.h: Delete file.
2112
bf1f3168
GA
21132021-03-23 Marcus Comstedt <marcus@mc.pp.se>
2114
2115 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
2116 to __BYTE_ORDER__.
2117
0ad6a2e2
GA
21182021-03-06 Jakub Jelinek <jakub@redhat.com>
2119
2120 PR gcov-profile/99406
2121 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
2122 defined, define these macros if not defined already.
2123
67f10d28
GA
21242021-03-04 Martin Liska <mliska@suse.cz>
2125
2126 PR gcov-profile/99105
2127 * libgcov-driver.c (write_top_counters): Rename to ...
2128 (write_topn_counters): ... this.
2129 (write_one_data): Pre-allocate buffer for number of items
2130 in the corresponding linked lists.
2131 * libgcov.h (malloc_mmap): New function.
2132 (allocate_gcov_kvp): Use it.
2133
21342021-03-04 Martin Liska <mliska@suse.cz>
2135
2136 PR gcov-profile/99385
2137 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
2138
f3641ac7
GA
21392021-03-03 Martin Liska <mliska@suse.cz>
2140
2141 PR gcov-profile/97461
2142 * config.in: Regenerate.
2143 * configure: Likewise.
2144 * configure.ac: Check sys/mman.h header file
2145 * libgcov-driver.c (struct gcov_kvp): Remove static
2146 pre-allocated pool and use a dynamic one.
2147 * libgcov.h (MMAP_CHUNK_SIZE): New.
2148 (gcov_counter_add): Use mmap to allocate pool for struct
2149 gcov_kvp.
2150
d97a92dc
GA
21512021-03-02 Michael Meissner <meissner@linux.ibm.com>
2152
2153 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
2154 the function.
2155 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
2156
4028d01a
GA
21572021-02-24 Jakub Jelinek <jakub@redhat.com>
2158
2159 PR libgcc/99236
2160 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
2161 negation of m in unsigned type.
2162
21632021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
2164 Hau Hsu <hsuhau617@gmail.com>
2165
2166 PR target/99157
2167 * config/arm/t-arm: Fix cmse support detection.
2168
2f5765cf
GA
21692021-02-22 Michael Meissner <meissner@linux.ibm.com>
2170
2171 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
2172
21732021-02-22 Michael Meissner <meissner@linux.ibm.com>
2174
2175 * config/rs6000/_dd_to_kf.c: New file.
2176 * config/rs6000/_kf_to_dd.c: New file.
2177 * config/rs6000/_kf_to_sd.c: New file.
2178 * config/rs6000/_kf_to_td.c: New file.
2179 * config/rs6000/_sd_to_kf.c: New file.
2180 * config/rs6000/_sprintfkf.c: New file.
2181 * config/rs6000/_sprintfkf.h: New file.
2182 * config/rs6000/_strtokf.h: New file.
2183 * config/rs6000/_strtokf.c: New file.
2184 * config/rs6000/_td_to_kf.c: New file.
2185 * config/rs6000/quad-float128.h: Add new declarations.
2186 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
2187 (fp128_decstr_funcs): New macro.
2188 (ibm128_dec_funcs): New macro.
2189 (fp128_ppc_funcs): Add the new conversions.
2190 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
2191 compiled with -mabi=ieeelongdouble.
2192 (fp128_decstr_objs): Force __float128 <-> string conversions to be
2193 compiled with -mabi=ibmlongdouble.
2194 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
2195 compiled with -mabi=ieeelongdouble.
2196 (FP128_CFLAGS_DECIMAL): New macro.
2197 (IBM128_CFLAGS_DECIMAL): New macro.
2198 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
2199 (BFP_TO_DFP): Add PowerPC _Float128 support.
2200 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
2201 IEEE 128-bit floating point.
2202 (DFP_TO_BFP): Add PowerPC _Float128 support.
2203 (BFP_TO_DFP): Add PowerPC _Float128 support.
2204 (BFP_SPRINTF): New macro.
2205
aa69f0a8
GA
22062021-01-27 Jakub Jelinek <jakub@redhat.com>
2207
2208 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
2209 * config/i386/savms64f.h: Likewise.
2210 * config/i386/resms64.h: Likewise.
2211 * config/i386/resms64f.h: Likewise.
2212 * config/i386/resms64x.h: Likewise.
2213 * config/i386/resms64fx.h: Likewise.
2214
e62bb7f0
GA
22152021-01-26 Martin Liska <mliska@suse.cz>
2216
2217 PR gcov-profile/98739
2218 * libgcov.h (gcov_topn_add_value): Do not train when
2219 we have a merged profile with a negative number of total
2220 value.
2221
161e4c08
GA
22222021-01-25 Martin Liska <mliska@suse.cz>
2223
2224 PR gcov-profile/98739
2225 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
2226 ends with a dropped counter.
2227 * libgcov.h (gcov_topn_add_value): Add return value.
2228
be0851b8
GA
22292021-01-13 Stafford Horne <shorne@gmail.com>
2230
2231 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
2232 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
2233 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
2234 FP_EX_ALL): New constant macros.
2235 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
2236 FP_HANDLE_EXCEPTIONS): New macros.
2237 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
2238
22392021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
2240
2241 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
2242 posix siginfo case to struct handler_args. Detect between legacy
2243 and siginfo from the second parameter, which is a small sigcode in
2244 the legacy case, and a pointer in the siginfo case.
2245
108beb75
GA
22462020-12-20 Max Filippov <jcmvbkbc@gmail.com>
2247
2248 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
2249 functions.
2250 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
2251 _bswapdi2.
2252
f6e8e279
GA
22532020-12-08 Ian Lance Taylor <iant@golang.org>
2254
2255 * generic-morestack-thread.c (free_segments): Block signals during
2256 thread exit.
2257
b8dd0ef7
GA
22582020-12-03 Michael Meissner <meissner@linux.ibm.com>
2259
2260 PR libgcc/97543
2261 PR libgcc/97643
2262 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
2263 (IBM128_SHARED_OBJS): New make variable.
2264 (IBM128_OBJS): New make variable. Set all objects to use the
2265 explicit IBM format, and disable gnu attributes.
2266 (IBM128_CFLAGS): New make variable.
2267 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
2268 modules.
2269
22702020-12-03 Alexandre Oliva <oliva@adacore.com>
2271
2272 * config/t-vxworks (LIB2ADD): Drop.
2273 * config/t-vxworks7 (LIB2ADD): Likewise.
2274 * config/vxcache.c: Remove.
2275
94358e47
GA
22762020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
2277
2278 * libgcc2.c (bswapsi2): Make constants unsigned.
2279
360258da
GA
22802020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
2281
2282 * libgcc2.c (absvSI2): Simplify/improve implementation by using
2283 builtin_add_overflow.
2284 (absvsi2, absvDI2): Likewise.
2285
82e5048e
GA
22862020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
2287
2288 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
2289 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
2290
25bb75f8
GA
22912020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2292
2293 * config/msp430/lib2hw_mul.S (mult64_hw): New.
2294 (if MUL_32): Use mult64_hw for __muldi3.
2295 (if MUL_F5): Use mult64_hw for __muldi3.
2296 * config/msp430/lib2mul.c (__muldi3): New.
2297 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
2298
29c5d9ce
GA
22992020-11-17 Alan Modra <amodra@gmail.com>
2300
2301 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
2302 (LIB2_SIDITI_CONV_FUNCS): Define.
2303 * config/rs6000/ppc64-fp.c: Delete file.
2304
cba30651
GA
23052020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2306
2307 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
2308 hwmult library functions.
2309
bb622641
GA
23102020-11-10 Jeff Law <law@redhat.com>
2311
2312 * libgcc2.c: Fix whitespace issues in most recent change.
2313
23142020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
2315
2316 * libgcc2.c (__addvSI3): Use overflow builtins.
2317 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
2318 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
2319 (__negvsi2, __negvDI2): Likewise.
2320 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
2321 generated code.
2322 * libgcc2.h (__ucmpdi2): Adjust prototype.
2323
fd2325ea
GA
23242020-11-03 Pat Bernardi <bernardi@adacore.com>
2325 Olivier Hainque <hainque@adacore.com>
2326
2327 * config.host (aarch64-vxworks7*, tmake_file): Add
2328 ${cpu_type}/t-lse and t-slibgcc-libgcc.
2329
23302020-11-03 Martin Storsjö <martin@martin.st>
2331
2332 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
2333 before calling the callback.
2334
88ce3d5f
GA
23352020-10-30 Olivier Hainque <hainque@adacore.com>
2336 Douglas Rupp <rupp@adacore.com>
2337 Pat Bernardi <bernardi@adacore.com>
2338
2339 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
2340 to apply to VxWorks 7 as well.
2341
4f0606fe
GA
23422020-10-29 Olivier Hainque <hainque@adacore.com>
2343
2344 * config/gthr-vxworks-tls.c: Fix preprocessor logic
2345 controlling the definition of VX_ENTER_TLS_DTOR and
2346 VX_LEAVE_TLS_DTOR based on a version major check.
2347
23482020-10-29 Olivier Hainque <hainque@adacore.com>
2349
2350 * config/gthr-vxworks-thread.c: Fix name of macro used
2351 to condition the inclusion of an actual implementation.
2352
89bb01e7
GA
23532020-10-27 Martin Liska <mliska@suse.cz>
2354
2355 PR gcov-profile/97461
2356 * libgcov.h (gcov_counter_add): Use first static counters
2357 as it should help to have malloc wrappers set up.
2358
efe71fcc
GA
23592020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2360
2361 * config/gthr-vxworks-thread.c: #include gthr.h before
2362 testing the guard defined there.
2363 * config/gthr-vxworks-cond.c: Likewise.
2364
56ddd5e2
GA
23652020-10-21 Douglas Rupp <rupp@adacore.com>
2366 Olivier Hainque <hainque@adacore.com>
2367
2368 * config.host (powerpc*-wrs-vxworks7*): New case.
2369 * configure.ac: Handle powerpc*-*-vxworks7* as
2370 powerpc*-*-linux* for ppc-fp_type.
2371 * configure: Regenerate.
2372
56e4eee9
GA
23732020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2374
2375 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
2376 section on VxWorks >= 6.
2377 * config/gthr-vxworks-thread.c: Condition the entire
2378 implementation on __GTHREAD_CXX0X.
2379
23802020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2381
2382 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
2383 section on VxWorks >= 6.
2384 * config/gthr-vxworks-cond.c: Condition the entire
2385 implementation on __GTHREAD_HAS_COND.
2386
23872020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2388
2389 * config/gthr-vxworks.c: #include <taskLib.h>.
2390
23912020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2392
2393 * config/gthr-vxworks.h: Rewrite remaining occurrence
2394 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
2395
23962020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2397 Olivier Hainque <hainque@adacore.com>
2398
2399 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
2400 except on VxWorks 6.
2401
24022020-10-16 Olivier Hainque <hainque@adacore.com>
2403
2404 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
2405
b2698c21
GA
24062020-10-14 Alexandre Oliva <oliva@adacore.com>
2407
2408 * config/gthr-vxworks-thread.c: Include stdlib.h.
2409 (tls_delete_hook): Prototype it.
2410 (__gthread_cond_signal): Return early if no waiters. Consume
2411 signal in case the semaphore got full. Use semInfoGet instead
2412 of kernel-mode-only semInfo.
2413 (__gthread_cond_timedwait): Use semExchange. Always take the
2414 mutex again before returning.
2415 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
2416
24172020-10-14 Olivier Hainque <hainque@adacore.com>
2418
2419 * config/t-vxworks (LIBGCC2_INCLUDES): Append
2420 $(MULTISUBDIR) to the -I path for fixed headers, as we
2421 arrange to have different sets of such headers for different
2422 multilibs when they are activated.
2423 * config/t-vxworks7: Likewise.
2424
24252020-10-14 Olivier Hainque <hainque@adacore.com>
2426
2427 * config/t-vxworks: Add include-fixed to include search
2428 paths for libgcc on VxWorks.
2429 * config/t-vxworks7: Likewise.
2430
c74a0e82
GA
24312020-10-09 H.J. Lu <hjl.tools@gmail.com>
2432
2433 PR target/97148
2434 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
2435 instead of <cetintrin.h>.
2436
6c2675fa
GA
24372020-10-01 Alan Modra <amodra@gmail.com>
2438
2439 * config/rs6000/morestack.S,
2440 * config/rs6000/tramp.S: Support __PCREL__ code.
2441
24422020-10-01 Alan Modra <amodra@gmail.com>
2443
2444 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
2445
93bca37c
GA
24462020-09-29 Maciej W. Rozycki <macro@wdc.com>
2447
2448 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
2449 variable.
2450
e84761c6
GA
24512020-09-28 Richard Sandiford <richard.sandiford@arm.com>
2452
2453 * config/aarch64/libgcc-softfp.ver: New file.
2454 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
2455
4383c595
GA
24562020-09-27 Clement Chigot <clement.chigot@atos.net>
2457
2458 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
2459
521d2711
GA
24602020-09-22 Sergei Trofimovich <siarheit@google.com>
2461
2462 PR gcov-profile/96913
2463 * libgcov-driver.c (write_one_data): Avoid function pointer
2464 comparison in TOP streaming decision.
2465
2aad20c0
GA
24662020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
2467 Christophe Lyon <christophe.lyon@linaro.org>
2468
2469 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
2470 qualifier.
2471 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
2472 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
2473 missing prototypes.
2474
24752020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
2476
2477 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
2478 unused variable warning.
2479
ecde1b0a
GA
24802020-09-16 Jojo R <jiejie_rong@c-sky.com>
2481
2482 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
2483
80f86e78
GA
24842020-09-09 Tom de Vries <tdevries@suse.de>
2485
2486 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
2487 Wbuiltin-declaration-mismatch.
2488
57ea0894
GA
24892020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2490
2491 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
2492 * config/msp430/srai.S (__gnu_mspabi_srap): New.
2493 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
2494
b3cb5606
GA
24952020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
2496
2497 * config/nvptx/atomic.c: New.
2498 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
2499
6a1ad710
GA
25002020-08-03 Ian Lance Taylor <iant@golang.org>
2501
2502 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
2503
25042020-08-03 Jakub Jelinek <jakub@redhat.com>
2505
2506 PR target/96402
2507 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
2508 of x(tmp0), x(tmp1) in STXP arguments.
2509
48cc2e46
GA
25102020-07-31 Maciej W. Rozycki <macro@wdc.com>
2511
2512 * config/riscv/save-restore.S [__riscv_xlen == 64]
2513 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
2514 (__riscv_save_2): Replace negative immediates used for the final
2515 stack pointer adjustment with positive ones, right-shifted by 4.
2516
25172020-07-31 Martin Liska <mliska@suse.cz>
2518
2519 * libgcov-driver.c: Add __gcov_kvp_pool
2520 and __gcov_kvp_pool_index variables.
2521 * libgcov.h (allocate_gcov_kvp): New.
2522 (gcov_topn_add_value): Use it.
2523
53256ee3
GA
25242020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2525
2526 * config/aarch64/lse.S: Add PAC property note.
2527
9bb403dc
GA
25282020-07-23 Martin Liska <mliska@suse.cz>
2529
2530 PR gcov-profile/96035
2531 * libgcov-driver-system.c: Create gcov folders with 0777
2532 so that it respects a system umask.
2533
8ca07a30
GA
25342020-07-14 David Edelsohn <dje.gcc@gmail.com>
2535
2536 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2537
ea69fcf9
GA
25382020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2539
2540 PR target/94891
2541 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2542 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2543 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2544 (MD_DEMANGLE_RETURN_ADDR): This.
2545 (aarch64_post_extract_frame_addr): Rename to ...
2546 (aarch64_demangle_return_addr): This.
2547 (aarch64_post_frob_eh_handler_addr): Remove.
2548 * unwind-dw2.c (uw_update_context): Demangle return address.
2549 (uw_frob_return_addr): Remove.
2550
3f8ca9cb
GA
25512020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2552
2553 PR target/96001
2554 * config/aarch64/lse.S: Add BTI marking and related definitions,
2555 and add BTI c to function entries.
2556
25572020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2558
2559 * config/aarch64/lse.S: Add stack note.
2560
b5f24739
GA
25612020-07-02 Martin Liska <mliska@suse.cz>
2562
2563 PR gcov-profile/95348
2564 * libgcov-driver.c (merge_one_data): Merge only profiles
2565 that are not of non-zero type.
2566 (write_one_data): Write counters only if there's one non-zero
2567 value.
2568 * libgcov-util.c (tag_function): Change signature from unsigned
2569 to int.
2570 (tag_blocks): Likewise.
2571 (tag_arcs): Likewise.
2572 (tag_counters): Likewise.
2573 (tag_summary): Likewise.
2574 (tag_lines): Read only if COUNTERS is non-zero.
2575 (read_gcda_file): Handle negative length for COUNTERS type.
2576
d61ffe12
GA
25772020-06-25 Martin Liska <mliska@suse.cz>
2578
2579 * libgcov-driver.c (merge_summary): Remove function as its name
2580 is misleading and doing something different.
2581 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2582 in gcov-tool.
2583 * libgcov-util.c (curr_object_summary): Remove.
2584 (read_gcda_file): Remove unused curr_object_summary.
2585 (gcov_merge): Merge summaries.
2586 * libgcov.h: Add summary argument for gcov_info struct.
2587
2e546c26
GA
25882020-06-24 H.J. Lu <hjl.tools@gmail.com>
2589
2590 PR target/95259
2591 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
2592 "common/config/i386/i386-cpuinfo.h" and
2593 "common/config/i386/cpuinfo.h".
2594 (__cpu_features2): Changed to array.
2595 (get_amd_cpu): Removed.
2596 (get_intel_cpu): Likewise.
2597 (get_available_features): Likewise.
2598 (__cpu_indicator_init): Call cpu_indicator_init.
2599 * config/i386/cpuinfo.h: Removed.
2600
4543acc8
GA
26012020-06-23 David Edelsohn <dje.gcc@gmail.com>
2602
2603 * Makefile.in: Remove uses of empty.mk. Use -include.
2604 * config/avr/t-avr: Use -include.
2605 * empty.mk: Delete.
2606
f86e11a2
GA
26072020-06-21 David Edelsohn <dje.gcc@gmail.com>
2608
2609 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2610 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2611 and 64 bit with -maix64.
2612 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2613 Build and install AIX-style FAT libraries.
2614
aff95ee7
GA
26152020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
2616
2617 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2618 'i386/gnu-unwind.h'
2619 * config/i386/gnu-unwind.h: New file.
2620
26212020-06-17 Martin Liska <mliska@suse.cz>
2622
2623 * libgcov-util.c (read_gcda_finalize): Remove const operator.
2624 (merge_wrapper): Add both counts and use them properly.
2625 (topn_to_memory_representation): New function.
2626 (gcov_merge): Covert on disk representation to in memory
2627 representation.
2628 * libgcov.h: Remove const operator.
2629
6fb94d67
GA
26302020-06-15 Max Filippov <jcmvbkbc@gmail.com>
2631
2632 * configure: Regenerate.
2633 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2634 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2635
b952c2cf
GA
26362020-06-09 Martin Liska <mliska@suse.cz>
2637
2638 PR gcov-profile/95494
2639 * libgcov-driver.c (write_top_counters): Cast first to
2640 intptr_t as sizeof(*) != sizeof(gcov_type).
2641 * libgcov.h (gcov_counter_set_if_null): Remove.
2642 (gcov_topn_add_value): Cast first to intptr_t and update
2643 linked list directly.
2644
26452020-06-09 Max Filippov <jcmvbkbc@gmail.com>
2646
2647 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2648 with uw_install_context_1.
2649
3add3425
GA
26502020-06-04 Andreas Schwab <schwab@suse.de>
2651
2652 PR target/59230
2653 PR libfortran/59227
2654 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2655 soft-fp/divtf3.c.
2656 (LIB2ADD): Add config/ia64/divtf3.c.
2657 * config/ia64/divtf3.c: New file.
2658
9a5b7438
GA
26592020-06-03 Martin Liska <mliska@suse.cz>
2660
2661 PR gcov-profile/95480
2662 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2663 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2664 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2665 (gcov_counter_set_if_null): Likewise.
2666
a9312a79
GA
26672020-06-02 Jim Wilson <jimw@sifive.com>
2668
2669 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2670 to bgtz.
2671
26722020-06-02 Martin Liska <mliska@suse.cz>
2673
2674 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2675 of xmalloc.
2676
26772020-06-02 Martin Liska <mliska@suse.cz>
2678
2679 * libgcov-driver.c (prune_topn_counter): Remove.
2680 (prune_counters): Likewise.
2681 (merge_one_data): Special case TOP N counters
2682 as they have variable length.
2683 (write_top_counters): New.
2684 (write_one_data): Special case TOP N.
2685 (dump_one_gcov): Do not prune TOP N counters.
2686 * libgcov-merge.c (merge_topn_values_set): Remove.
2687 (__gcov_merge_topn): Use gcov_topn_add_value.
2688 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2689 Likewise here.
2690 * libgcov.h (gcov_counter_add): New.
2691 (gcov_counter_set_if_null): Likewise.
2692 (gcov_topn_add_value): New.
2693
4a9aa9de
GA
26942020-06-01 Uroš Bizjak <ubizjak@gmail.com>
2695
2696 * config/i386/sfp-exceptions.c (struct fenv):
2697 Add __attribute__ ((gcc_struct)).
2698
885ef72f
GA
26992020-05-29 H.J. Lu <hjl.tools@gmail.com>
2700
2701 PR bootstrap/95413
2702 * configure: Regenerated.
2703
53ffb43a
GA
27042020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
2705
2706 PR gcov-profile/95332
2707 * libgcov-util.c (read_gcda_file): Call gcov_magic.
2708 * libgcov.h (gcov_magic): Disable GCC poison.
2709
5855bdfa
L
27102020-05-21 H.J. Lu <hongjiu.lu@intel.com>
2711
2712 PR target/95212
2713 * config/i386/cpuinfo.h (processor_features): Move
2714 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2715
35b98036
L
27162020-05-20 H.J. Lu <hongjiu.lu@intel.com>
2717
2718 PR target/91695
2719 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2720 check.
2721
45395445
L
27222020-05-19 H.J. Lu <hongjiu.lu@intel.com>
2723
2724 PR target/95212
2725 PR target/95220
2726 * config/i386/cpuinfo.c (get_available_features): Fix
2727 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
2728 * config/i386/cpuinfo.h (processor_features): Add
2729 FEATURE_AVX512VP2INTERSECT.
2730
4c1a5d8b
L
27312020-05-15 H.J. Lu <hongjiu.lu@intel.com>
2732
2733 PR bootstrap/95147
2734 * configure: Regenerated.
2735
8d286dd1
L
27362020-05-14 H.J. Lu <hongjiu.lu@intel.com>
2737
2738 * configure: Regenerated.
2739
39748a89
HPN
27402020-05-09 Hans-Peter Nilsson <hp@axis.com>
2741
2742 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2743 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2744
d3a1459c
UB
27452020-05-06 Uroš Bizjak <ubizjak@gmail.com>
2746
2747 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2748 (__math_force_eval_div): New define.
2749 (__sfp_handle_exceptions): Use __math_force_eval_div to use
2750 generic division to generate INVALID, DIVZERO and INEXACT
2751 exceptions.
2752
12667785
KT
27532020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2754
2755 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2756 instead of getauxval.
2757 (AT_HWCAP): Define.
2758 (HWCAP_ATOMICS): Define.
2759 Guard detection on __gnu_linux__.
2760
ef836167
MM
27612020-05-05 Michael Meissner <meissner@linux.ibm.com>
2762
2763 * config.host: Delete changes meant for a private branch.
2764 * config/rs6000/t-float128: Likewise.
2765 * configure.ac: Likewise.
2766 * configure: Likewise.
2767
811b7636
ML
27682020-05-05 Martin Liska <mliska@suse.cz>
2769
2770 PR gcov-profile/93623
2771 * Makefile.in: Remove __gcov_flush.
2772 * gcov.h (__gcov_flush): Remove.
2773 * libgcov-interface.c (__gcov_flush): Remove.
2774 (init_mx): Use renamed mutex.
2775 (__gcov_lock): Likewise.
2776 (__gcov_unlock): Likewise.
2777 (__gcov_fork): Likewise.
2778 (__gcov_flush): Remove.
2779
c0532db4
ML
27802020-05-05 Martin Liska <mliska@suse.cz>
2781
2782 PR gcov-profile/93623
2783 * libgcov-interface.c (__gcov_fork): Do not flush
2784 and reset only in child process.
2785 (__gcov_execl): Dump counters only and reset them
2786 only if exec* fails.
2787 (__gcov_execlp): Likewise.
2788 (__gcov_execle): Likewise.
2789 (__gcov_execv): Likewise.
2790 (__gcov_execvp): Likewise.
2791 (__gcov_execve): Likewise.
2792
d39f7dc8
ML
27932020-05-05 Martin Liska <mliska@suse.cz>
2794
2795 PR gcov-profile/93623
2796 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2797 * libgcov-interface.c (ALIAS_void_fn): Remove.
2798 (__gcov_lock): New.
2799 (__gcov_unlock): New.
2800 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2801 (__gcov_reset): Likewise.
2802 (__gcov_dump): Likewise.
2803 * libgcov.h (__gcov_lock): New declaration.
2804 (__gcov_unlock): Likewise.
2805
afb9b710
UB
28062020-05-01 Uroš Bizjak <ubizjak@gmail.com>
2807
2808 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 2809 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
2810 generic division to generate INVALID and DIVZERO exceptions.
2811
66711279
SH
28122020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
2813
2814 * config/rs6000/crtresfpr.S: Use .machine ppc.
2815 * config/rs6000/crtresxfpr.S: Likewise.
2816 * config/rs6000/crtsavfpr.S: Likewise.
2817
fb22faf4
SN
28182020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2819
2820 PR target/94514
2821 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2822 Update context->flags accroding to the frame state.
2823
df73e584
UB
28242020-04-19 Uroš Bizjak <ubizjak@gmail.com>
2825
2826 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2827 Remove unneeded assignments to volatile memory.
2828
5b2f76e3
JJ
28292020-04-15 Jakub Jelinek <jakub@redhat.com>
2830
2831 PR target/93053
2832 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2833 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2834 is not defined, use just .arch armv8-a.
2835 (B, M, N, OPN): Define.
2836 (COMMENT): New .macro.
2837 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2838 defined. Otherwise, move the operands right after the glue? and
2839 comment out operands where the macros are used.
2840 * configure: Regenerated.
2841 * config.in: Regenerated.
2842
50c78532
ILT
28432020-04-07 Ian Lance Taylor <iant@golang.org>
2844
2845 PR libgcc/94513
2846 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2847 syscall instead.
2848
458ca332
ILT
28492020-04-04 Ian Lance Taylor <iant@golang.org>
2850
2851 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2852
710d54ed
ILT
28532020-04-03 Ian Lance Taylor <iant@golang.org>
2854
2855 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2856 than mmap/munmap, to avoid hooks.
2857
b749b5ec
JJ
28582020-04-03 Jim Johnston <jjohnst@us.ibm.com>
2859
2860 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2861 (TPFRA_OFFSET): Macros removed.
2862 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2863 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2864 (PG3_SKIPPING_OFFSET): New macros.
2865 (__isPATrange): Use cinfc_fast for the check.
2866 (__isSkipResetAddr): New function.
2867 (s390_fallback_frame_state): Check for skip trace addresses. Use
2868 either ICST_CRET or ICST_SRET to calculate return address
2869 location.
2870 (__tpf_eh_return): Handle skip trace addresses.
2871
a9cd2d78
RE
28722020-03-26 Richard Earnshaw <rearnsha@arm.com>
2873
2874 PR target/94220
2875 * config/arm/lib1funcs.asm (COND): Use a single definition for
2876 unified syntax.
2877 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2878 (aeabi_idivmod): Likewise.
2879 (divsi3_skip_div0_test): Likewise.
2880
f582ca0f
MI
28812020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
2882
2883 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2884
068fe0a9
AK
28852020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
2886
2887 * config.host: Include the new makefile fragment.
2888 * config/s390/t-tpf: New file.
2889
6b9ce2b4
RE
28902020-03-03 Richard Earnshaw <rearnsha@arm.com>
2891
2892 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2893 syntax.
2894 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2895 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2896 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2897 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2898 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2899 syntax.
2900 (divsi3, modsi3): Likewise.
2901 (clzdi2, ctzsi2): Likewise.
2902 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2903 unified syntax.
2904 (UNWIND_WRAPPER): Likewise.
2905
8dd5d8f3
ML
29062020-03-02 Martin Liska <mliska@suse.cz>
2907
2908 * libgcov-interface.c: Remove duplicate
2909 declaration of __gcov_flush_mx.
2910
ea0b1252
ML
29112020-02-18 Martin Liska <mliska@suse.cz>
2912
2913 PR ipa/92924
2914 * libgcov-merge.c (merge_topn_values_set): Record
2915 when a TOP N counter becomes invalid. When merging
2916 remove a smallest value if the space is needed.
2917
02ce382c
SL
29182020-02-12 Sandra Loosemore <sandra@codesourcery.com>
2919
2920 PR libstdc++/79193
2921 PR libstdc++/88999
2922
2923 * configure: Regenerated.
2924
7214fce3
JL
29252020-02-10 Jeff Law <law@redhat.com>
2926
2927 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2928 sections.
2929 * config/frv/frvend.c: Similarly.
2930
cf0f07ef
L
29312020-02-10 H.J. Lu <hongjiu.lu@intel.com>
2932
2933 PR libgcc/85334
2934 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2935 New.
2936
5602b48b
CL
29372020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
2938
2939 PR target/93615
2940 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2941 _Unwind_gnu_Find_got.
2942 * unwind-pe.h: Likewise.
2943
811a475e
JJ
29442020-02-07 Jakub Jelinek <jakub@redhat.com>
2945
2946 PR target/93615
2947 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2948 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
2949 trailing :s in asm. Formatting fixes.
2950 (_Unwind_decode_typeinfo_ptr): Adjust caller.
2951
2d33dcfe
SL
29522020-01-31 Sandra Loosemore <sandra@codesourcery.com>
2953
2954 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2955
2956 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2957 * config/nios2-elf-lib.h: New.
2958 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2959 code for finding GOT base for nios2.
2960
3ae37f92
ML
29612020-01-27 Martin Liska <mliska@suse.cz>
2962
2963 PR gcov-profile/93403
2964 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2965 Call __gcov_indirect_call_profiler_body.
2966 (__gcov_indirect_call_profiler_body): New.
2967 (__gcov_indirect_call_profiler_v4_atomic): New.
2968 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2969 New declaration.
2970
2744b8b2
CZ
29712020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
2972
2973 * config/arc/crti.S: Add RF16 object attribute.
2974 * config/arc/crtn.S: Likewise.
2975 * config/arc/crttls.S: Likewise.
2976 * config/arc/lib1funcs.S: Likewise.
2977 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2978 * config/arc/lib2funcs.c: New file.
2979 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2980
e8e66971
MR
29812020-01-24 Maciej W. Rozycki <macro@wdc.com>
2982
2983 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2984 * configure.ac: Handle `--with-toolexeclibdir='.
2985 * configure: Regenerate.
2986
54b3d52c
DM
29872020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2988
2989 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2990
a3c1e1f2
DM
29912020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2992
2993 * config/mips/gnustack.h: New file.
2994 * config/mips/crti.S: Include gnustack.h.
2995 * config/mips/crtn.S: Likewise.
2996 * config/mips/mips16.S: Likewise.
2997 * config/mips/vr4120-div.S: Likewise.
2998
e9ee848d
ML
29992020-01-23 Martin Liska <mliska@suse.cz>
3000
3001 * libgcov-driver.c (prune_topn_counter): Remove
3002 check for -1 as we only prune run-time counters
3003 that do not generate an invalid state.
3004
7491c17f
ML
30052020-01-22 Martin Liska <mliska@suse.cz>
3006
3007 PR tree-optimization/92924
3008 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
3009 try to find an existing value, then find an empty slot
3010 if not found.
3011
5f32f9cf
ML
30122020-01-22 Martin Liska <mliska@suse.cz>
3013
3014 PR tree-optimization/92924
3015 * libgcov-driver.c (prune_topn_counter): New.
3016 (prune_counters): Likewise.
3017 (dump_one_gcov): Prune a run-time counter.
3018 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
3019 For a known value, add GCOV_TOPN_VALUES to value.
3020 Otherwise, decrement all counters by one.
3021
463f6499
HPN
30222020-01-18 Hans-Peter Nilsson <hp@axis.com>
3023
3024 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
3025
84479e3a
JDA
30262020-01-18 John David Anglin <danglin@gcc.gnu.org>
3027
3028 PR libgcc/92988
3029 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
3030 DEFAULT_USE_CXA_ATEXIT is true.
3031
e953433f 30322020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 3033 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
3034
3035 * config/arm/t-arm: Check return value of gcc rather than lack of
3036 output.
3037
03e87724
GJL
30382020-01-14 Georg-Johann Lay <avr@gjlay.de>
3039
3040 * config/avr/lib1funcs.S (skip): Simplify.
3041
af9bd920
KCY
30422020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
3043
3044 * config/gcn/atomic.c: Remove include of stdint.h.
3045 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
3046 __UINTPTR_TYPE__.
3047
d6491d15
KCY
30482020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
3049
3050 * config/gcn/atomic.c: New.
3051 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
3052
f30dd607
GJL
30532020-01-08 Georg-Johann Lay <avr@gjlay.de>
3054
3055 Implement 64-bit double functions.
3056
3057 PR target/92055
3058 * config.host (tmake_file) [target=avr]: Add t-libf7,
3059 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
3060 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
3061 depending on sizeof (double) or sizeof (long double).
3062 * config/avr/libf7: New folder.
3063
5205a445
OH
30642020-01-05 Olivier Hainque <hainque@adacore.com>
3065
3066 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
3067 by IN_LIBGCC2.
3068
8d9254fc
JJ
30692020-01-01 Jakub Jelinek <jakub@redhat.com>
3070
3071 Update copyright years.
3072
abb6c3ee
OH
30732019-12-30 Olivier Hainque <hainque@adacore.com>
3074
3075 * config/gthr-vxworks.h: Use _vxworks-versions.h.
3076 * config/gthr-vxworks-tls.c: Likewise.
3077
d7f5094a
OH
30782019-12-30 Olivier Hainque <hainque@adacore.com>
3079
3080 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
3081 standard zero-initializer syntax.
3082
49cfaa2a
OH
30832019-12-30 Olivier Hainque <hainque@adacore.com>
3084
3085 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
3086 reference to the internal VX_GET_TLS_DATA interface.
3087
89b9a554
OH
30882019-12-30 Olivier Hainque <hainque@adacore.com>
3089
3090 * config/vxcrtstuff.c: Fix incorrect spelling of
3091 USE_INITFINI_ARRAY in guard.
3092
e8aa9f55
JL
30932019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3094
3095 * config.host: s/msp430*-*-elf/msp430-*-elf*.
3096 Override default "extra_parts" variable.
3097 * configure: Regenerate.
3098 * configure.ac: Disable TM clone registry by default for
3099 msp430-elfbare.
3100
a9046e98
JL
31012019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3102
3103 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
3104 "extra_parts".
3105 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
3106
34a53788
JL
31072019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3108
3109 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
3110 true.
3111
21a098f4
JL
31122019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3113
3114 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
3115 defined instead of its value.
3116
ad8b7783
JL
31172019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3118
3119 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
3120 if it will have contents.
3121
08d7ff78
GJL
31222019-12-05 Georg-Johann Lay <avr@gjlay.de>
3123
3124 PR target/92055
3125 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
3126
3d3a96a2
SN
31272019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
3128
34b4d99d 3129 PR libgcc/91737
3d3a96a2
SN
3130 * config.host: Add t-gthr-noweak on *-*-musl*.
3131 * config/t-gthr-noweak: New file.
3132
632b5e3d
JDA
31332019-11-17 John David Anglin <danglin@gcc.gnu.org>
3134
3135 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
3136 volatile void *. Remove trap check.
3137 (__kernel_cmpxchg2): Likewise.
3138 (FETCH_AND_OP_2): Adjust operand types.
3139 (OP_AND_FETCH_2): Likewise.
3140 (FETCH_AND_OP_WORD): Likewise.
3141 (OP_AND_FETCH_WORD): Likewise.
3142 (COMPARE_AND_SWAP_2): Likewise.
3143 (__sync_val_compare_and_swap_4): Likewise.
3144 (__sync_bool_compare_and_swap_4): Likewise.
3145 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3146 (__sync_lock_test_and_set_4): Likewise.
3147 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
3148 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
3149 for release.
3150 (__sync_lock_release_8): Remove.
3151
838fd641
SN
31522019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
3153
3154 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
3155 of __sigset_t.
3156
27204060
JL
31572019-11-14 Jerome Lambourg <lambourg@adacore.com>
3158 Doug Rupp <rupp@adacore.com>
3159 Olivier Hainque <hainque@adacore.com>
3160
3161 * config.host: Collapse the arm-vxworks entries into
3162 a single arm-wrs-vxworks7* one.
3163 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
3164 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
3165 kernel modules, to be overriden by libstdc++ when we link with
3166 it. Rely on externally provided __exidx_start/end.
3167
3004f893
DR
31682019-11-14 Doug Rupp <rupp@adacore.com>
3169 Olivier Hainque <hainque@adacore.com>
3170
3171 * config.host: Handle aarch64*-wrs-vxworks7*.
3172
36e5f4d4
OH
31732019-11-12 Olivier Hainque <hainque@adacore.com>
3174
3175 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
3176 sources except the cxx0x support to LIB2ADDEH. We don't support
3177 cxx0x on AE/653.
3178 * config/t-vxworksae: New file.
3179 * config.host: Handle *-*-vxworksae: Add the two aforementioned
3180 Makefile fragment files at their expected position in the tmake_file
3181 list, in accordance with what is done for other VxWorks variants.
3182
806dd047
CG
31832019-11-12 Corentin Gay <gay@adacore.com>
3184 Jerome Lambourg <lambourg@adacore.com>
3185 Olivier Hainque <hainque@adacore.com>
3186
3187 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
3188 sources to LIB2ADDEH.
3189 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
3190 * config/t-vxworks7: Likewise.
3191
3192 * config.host: Append a block at the end of the file to add the
3193 t-gthr files to the tmake_file list for VxWorks after everything
3194 else.
3195
3196 * config/vxlib.c: Rename as gthr-vxworks.c.
3197 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
3198
3199 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
3200 API and a basic error checking API, both internal. Simplify the
3201 __gthread_once_t type definition and initializers. Add sections
3202 for condition variables support and for the C++0x thread support,
3203 conditioned against Vx653 for the latter.
3204
3205 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
3206 implementation, leveraging the TAS internal API.
3207 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
3208 API, leveraging the general availability of TLS services in VxWorks7
3209 post SR6xxx.
3210 (__gthread_setspecific, __gthread_setspecific): Use it.
3211 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
3212 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
3213 support based on VxWorks primitives.
3214 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
3215 based on VxWorks primitives.
3216
78e49fb1
JL
32172019-11-06 Jerome Lambourg <lambourg@adacore.com>
3218 Olivier Hainque <hainque@adacore.com>
3219
3220 * config/vxcrtstuff.c: New file.
3221 * config/t-vxcrtstuff: New Makefile fragment.
3222 * config.host: Append t-vxcrtstuff to the tmake_file list
3223 on all VxWorks ports using dwarf for table based EH.
3224
29f3def3
GJL
32252019-11-07 Georg-Johann Lay <avr@gjlay.de>
3226
3227 Support 64-bit double and 64-bit long double configurations.
3228
3229 PR target/92055
3230 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
3231 long double is a 32-bit type.
3232 * config/avr/t-avrlibc: Copy double64 and long-double64
3233 multilib(s) from the vanilla one.
3234 * config/avr/t-copy-libgcc: New Makefile snip.
3235
62ec242e
JL
32362019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3237
3238 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
3239 the target output object format is not ELF.
3240 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
3241
da5c1bbe
OE
32422019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
3243
3244 PR libgcc/78804
3245 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
3246 * fp-bit.c (pack_d, unpack_d): Remove special cases for
3247 FLOAT_BIT_ORDER_MISMATCH.
3248 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
3249
8dc56a22
JW
32502019-11-01 Jim Wilson <jimw@sifive.com>
3251
3252 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
3253
91c64455
JL
32542019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3255
3256 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
3257 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
3258 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
3259 Define symbols for 32-bit and f5series hardware multiply
3260 register addresses.
3261 Replace hard-coded register addresses with symbols.
3262 Fix "_mspabi*" typo.
3263 Fix whitespace.
3264 * config/msp430/lib2mul.c: Add comment.
3265
85093ac6
JDA
32662019-10-15 John David Anglin <danglin@gcc.gnu.org>
3267
3268 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
3269 unsigned int. Adjust callers.
3270 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
3271 unsigned int *. Load relocation offset before function pointer.
3272 Add barrier to ensure ordering.
3273
1aea083d
JDA
32742019-10-12 John David Anglin <danglin@gcc.gnu.org>
3275
3276 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
3277 Load PIC register after branch target. Fix white space.
3278 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
3279 implementations. Load PIC register after branch target. Don't
3280 clobber function pointer when it points to function descriptor.
3281 Use nullification instead of branch in LINUX implementation.
3282
c49af82c
JDA
32832019-10-03 John David Anglin <danglin@gcc.gnu.org>
3284
3285 * config/pa/fptr.c: Disable -Warray-bounds warning.
3286
88a51d68
RH
32872019-09-25 Richard Henderson <richard.henderson@linaro.org>
3288
9e46fd07
RH
3289 * config.in, configure: Re-rebuild with stock autoconf 2.69,
3290 not the ubuntu modified 2.69.
3291
58d169ba
RH
3292 PR target/91833
3293 * config/aarch64/lse-init.c: Include auto-target.h. Disable
3294 initialization if !HAVE_SYS_AUXV_H.
3295 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
3296 * config.in, configure: Rebuild.
3297
88a51d68
RH
3298 PR target/91834
3299 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
3300 overlap the inputs.
3301
761e6bb9
SZ
33022019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
3303
3304 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
3305 CTR_EL0.IDC and CTR_EL0.DIC.
3306
76c93295
CL
33072019-09-20 Christophe Lyon <christophe.lyon@st.com>
3308
3309 Revert:
3310 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3311 Mickaël Guêné <mickael.guene@st.com>
3312
3313 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3314 architecture.
3315
33befddc
RH
33162019-09-19 Richard Henderson <richard.henderson@linaro.org>
3317
3318 * config/aarch64/lse-init.c: New file.
3319 * config/aarch64/lse.S: New file.
3320 * config/aarch64/t-lse: New file.
3321 * config.host: Add t-lse to all aarch64 tuples.
3322
ae1152e5
CL
33232019-09-10 Christophe Lyon <christophe.lyon@st.com>
3324 Mickaël Guêné <mickael.guene@st.com>
3325
84818dbb
CL
3326 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3327 architecture.
3328
33292019-09-10 Christophe Lyon <christophe.lyon@st.com>
3330 Mickaël Guêné <mickael.guene@st.com>
3331
ae1152e5
CL
3332 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
3333 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
3334 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
3335 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
3336 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
3337 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
3338 (__gnu_personality_sigframe_fdpic): New.
3339 (get_eit_entry): Add FDPIC signal frame support.
3340
5d727a4b
CL
33412019-09-10 Christophe Lyon <christophe.lyon@st.com>
3342 Mickaël Guêné <mickael.guene@st.com>
3343
3344 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
3345 (__kernel_dmb): Likewise.
3346 (__fdpic_cmpxchg): New function.
3347 (__fdpic_dmb): New function.
3348 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
3349 (gnu_Unwind_Find_got): New function.
3350 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
3351 * unwind-arm-common.inc (UCB_PR_GOT): New.
3352 (funcdesc_t): New struct.
3353 (get_eit_entry): Add FDPIC support.
3354 (unwind_phase2): Likewise.
3355 (unwind_phase2_forced): Likewise.
3356 (__gnu_Unwind_RaiseException): Likewise.
3357 (__gnu_Unwind_Resume): Likewise.
3358 (__gnu_Unwind_Backtrace): Likewise.
3359 * unwind-pe.h (read_encoded_value_with_base): Likewise.
3360
b1e21e5a 33612019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 3362 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 3363
11189793
CL
3364 * libgcc/crtstuff.c: Add support for FDPIC.
3365
33662019-09-10 Christophe Lyon <christophe.lyon@st.com>
3367
3368 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 3369
91dfef96
JM
33702019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
3371
3372 * config.host: Set cpu_type for bpf-*-* targets.
3373 * config/bpf/t-bpf: Likewise.
3374 * config/bpf/crtn.S: Likewise.
3375 * config/bpf/crti.S: New file.
3376
2f4d8951
JW
33772019-09-06 Jim Wilson <jimw@sifive.com>
3378
3379 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3380 (riscv*-*-freebsd*): Likewise.
3381
2f2aeda9
UW
33822019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
3383
3384 * config.host: Remove references to spu.
3385 * config/spu/: Remove directory.
3386
d16017da
JL
33872019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3388
3389 PR target/91306
3390 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
3391 element type, instead of "sizeof" the element type.
3392 (__DTOR_LIST__): Likewise.
3393 (__TMC_LIST__): Likewise.
3394 (__do_global_dtors_aux_fini_array_entry): Likewise.
3395 (__frame_dummy_init_array_entry): Likewise.
3396 (__CTOR_END__): Likewise.
3397 (__DTOR_END__): Likweise.
3398 (__FRAME_END__): Likewise.
3399 (__TMC_END__): Likewise.
3400
a9fcfec3
HL
34012019-08-20 Lili Cui <lilicui@intel.com>
3402
3403 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
3404 INTEL_COREI7_COOPERLAKE.
3405
428642b1
MT
34062019-07-31 Matt Thomas <matt@3am-software.com>
3407 Nick Hudson <nick@nthcliff.demon.co.uk>
3408 Matthew Green <mrg@eterna.com.au>
3409 Maya Rashish <coypu@sdf.org>
3410
3411 * config.host (hppa*-*-netbsd*): New case.
3412 * config/pa/t-netbsd: New file.
3413
f0efd925
JH
34142019-07-31 Joel Hutton <Joel.Hutton@arm.com>
3415
3416 * config/arm/cmse.c (cmse_check_address_range): Add
3417 warn_unused_result attribute.
3418
a861990d
ML
34192019-07-22 Martin Liska <mliska@suse.cz>
3420
3421 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
3422 * config/pa/t-stublib: Likewise.
3423
9c0dba7c
SH
34242019-07-22 Stafford Horne <shorne@gmail.com>
3425
3426 PR target/90362
3427 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
3428 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
3429 instructions are not available on every processor. Change a
3430 l.bnf to l.bf to fix logic issue.
3431
61afc8f8
IS
34322019-07-04 Iain Sandoe <iain@sandoe.co.uk>
3433
3434 * config.host: Remove reference to t-darwin8.
3435
179c7ef5
IS
34362019-07-03 Iain Sandoe <iain@sandoe.co.uk>
3437
3438 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
3439 list.
3440 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
3441 mmacosx-version-min for crts to run across all system versions.
3442 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
3443 * config/t-darwin: Revise mmacosx-version-min for crts to run across
3444 system versions >= 10.4.
3445
596341c7
ML
34462019-07-03 Martin Liska <mliska@suse.cz>
3447
3448 * Makefile.in: Use topn_values instead of one_value names.
3449 * libgcov-merge.c (__gcov_merge_single): Move to ...
3450 (__gcov_merge_topn): ... this.
3451 (merge_single_value_set): Move to ...
3452 (merge_topn_values_set): ... this.
3453 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
3454 ...
3455 (__gcov_topn_values_profiler_body): ... this.
3456 (__gcov_one_value_profiler_v2): Move to ...
3457 (__gcov_topn_values_profiler): ... this.
3458 (__gcov_one_value_profiler_v2_atomic): Move to ...
3459 (__gcov_topn_values_profiler_atomic): ... this.
3460 (__gcov_indirect_call_profiler_v4): Remove.
3461 * libgcov-util.c (__gcov_single_counter_op): Move to ...
3462 (__gcov_topn_counter_op): ... this.
3463 * libgcov.h (L_gcov_merge_single): Remove.
3464 (L_gcov_merge_topn): New.
3465 (__gcov_merge_single): Remove.
3466 (__gcov_merge_topn): New.
3467 (__gcov_one_value_profiler_v2): Move to ..
3468 (__gcov_topn_values_profiler): ... this.
3469 (__gcov_one_value_profiler_v2_atomic): Move to ...
3470 (__gcov_topn_values_profiler_atomic): ... this.
3471
1b309ca5
ML
34722019-07-03 Martin Liska <mliska@suse.cz>
3473
3474 * libgcov-merge.c (merge_single_value_set): Support N values.
3475 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
3476
5a460280
ID
34772019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
3478
3479 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
3480 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
3481 * configure.ac: Add --disable-tm-clone-registry option.
3482 * configure: Regenerate.
3483
45309d28
ML
34842019-06-27 Martin Liska <mliska@suse.cz>
3485
3486 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
3487 dead assignments.
3488 * libgcov-util.c: Likewise.
3489
c2f7a665
ML
34902019-06-27 Martin Liska <mliska@suse.cz>
3491
3492 * libgcov-util.c (gcov_profile_merge): Release allocated
3493 memory.
3494 (calculate_overlap): Likewise.
3495
a8e55c61
IS
34962019-06-25 Iain Sandoe <iain@sandoe.co.uk>
3497
3498 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
3499 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
3500 Build objects for the out of line save/restore register functions
3501 so that they can be used for any supported Darwin version.
3502 * config/t-darwin: Default the build Darwin version to Darwin8
3503 (MacOS 10.4).
3504
e5ce4cbc
ML
35052019-06-25 Martin Liska <mliska@suse.cz>
3506
3507 * libgcov-driver-system.c (replace_filename_variables): Do not
3508 call strlen with NULL argument.
3509
52a47d28
AS
35102019-06-25 Andrew Stubbs <ams@codesourcery.com>
3511
3512 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
3513 * config/gcn/unwind-gcn.c: New file.
3514
76d46331
KCY
35152019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
3516 Andrew Stubbs <ams@codesourcery.com>
3517
3518 * configure: Regenerate.
3519 * config/gcn/gthr-gcn.h: New.
3520
787783a0
TV
35212019-06-18 Tom de Vries <tdevries@suse.de>
3522
3523 * config/nvptx/crt0.c (__main): Declare.
3524
f32f7585
MG
35252019-06-17 Matthew Green <mrg@eterna.com.au>
3526 Maya Rashish <coypu@sdf.org>
3527
3528 * config.host (aarch64*-*-netbsd*): New case.
3529
0fcc78f7
JL
35302019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3531
3532 * config/msp430/slli.S (__mspabi_sllll): New library function for
3533 performing a logical left shift of a 64-bit value.
3534 * config/msp430/srai.S (__mspabi_srall): New library function for
3535 performing a arithmetic right shift of a 64-bit value.
3536 * config/msp430/srll.S (__mspabi_srlll): New library function for
3537 performing a logical right shift of a 64-bit value.
3538
b27c1082
MT
35392019-06-14 Matt Thomas <matt@3am-software.com>
3540 Matthew Green <mrg@eterna.com.au>
3541 Nick Hudson <skrll@netbsd.org>
3542 Maya Rashish <coypu@sdf.org>
3543
3544 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3545 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3546 functions to build.
3547 * config/arm/t-netbsd-eabi: New file.
3548
ae7deb4b
DD
35492019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
3550
3551 * config.host: Add PRU target.
3552 * config/pru/asri.c: New file.
3553 * config/pru/eqd.c: New file.
3554 * config/pru/eqf.c: New file.
3555 * config/pru/ged.c: New file.
3556 * config/pru/gef.c: New file.
3557 * config/pru/gtd.c: New file.
3558 * config/pru/gtf.c: New file.
3559 * config/pru/led.c: New file.
3560 * config/pru/lef.c: New file.
3561 * config/pru/lib2bitcountHI.c: New file.
3562 * config/pru/lib2divHI.c: New file.
3563 * config/pru/lib2divQI.c: New file.
3564 * config/pru/lib2divSI.c: New file.
3565 * config/pru/libgcc-eabi.ver: New file.
3566 * config/pru/ltd.c: New file.
3567 * config/pru/ltf.c: New file.
3568 * config/pru/mpyll.S: New file.
3569 * config/pru/pru-abi.h: New file.
3570 * config/pru/pru-asm.h: New file.
3571 * config/pru/pru-divmod.h: New file.
3572 * config/pru/sfp-machine.h: New file.
3573 * config/pru/t-pru: New file.
3574
0d7b3e47
JJ
35752019-06-11 Jakub Jelinek <jakub@redhat.com>
3576
3577 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3578
54e2d83c
ML
35792019-06-10 Martin Liska <mliska@suse.cz>
3580
3581 PR bootstrap/90808
3582 * libgcov.h: Add ATTRIBUTE_UNUSED.
3583
92d41717
ML
35842019-06-10 Martin Liska <mliska@suse.cz>
3585
3586 * Makefile.in: Add __gcov_one_value_profiler_v2,
3587 __gcov_one_value_profiler_v2_atomic and
3588 __gcov_indirect_call_profiler_v4.
3589 * libgcov-merge.c (__gcov_merge_single): Change
3590 function signature.
3591 (merge_single_value_set): New.
3592 * libgcov-profiler.c (__gcov_one_value_profiler_body):
3593 Update functionality.
3594 (__gcov_one_value_profiler): Remove.
3595 (__gcov_one_value_profiler_v2): ... this.
3596 (__gcov_one_value_profiler_atomic): Rename to ...
3597 (__gcov_one_value_profiler_v2_atomic): this.
3598 (__gcov_indirect_call_profiler_v3): Rename to ...
3599 (__gcov_indirect_call_profiler_v4): ... this.
3600 * libgcov.h (__gcov_one_value_profiler): Remove.
3601 (__gcov_one_value_profiler_atomic): Remove.
3602 (__gcov_one_value_profiler_v2_atomic): New.
3603 (__gcov_indirect_call_profiler_v3): Remove.
3604 (__gcov_one_value_profiler_v2): New.
3605 (__gcov_indirect_call_profiler_v4): New.
3606 (gcov_get_counter_ignore_scaling): New function.
3607
e37333ba
ML
36082019-06-07 Martin Liska <mliska@suse.cz>
3609
3610 * Makefile.in: Remove usage of
3611 _gcov_merge_icall_topn.
3612 * libgcov-driver.c (gcov_sort_n_vals): Remove.
3613 (gcov_sort_icall_topn_counter): Likewise.
3614 (gcov_sort_topn_counter_arrays): Likewise.
3615 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3616 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3617 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3618 Likewise.
3619 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3620 (struct indirect_call_tuple): Remove.
3621 (__gcov_indirect_call_topn_profiler): Remove.
3622 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3623 * libgcov.h (gcov_sort_n_vals): Remove.
3624 (L_gcov_merge_icall_topn): Likewise.
3625 (__gcov_merge_icall_topn): Likewise.
3626 (__gcov_indirect_call_topn_profiler): Likewise.
3627
34a4a9c2
IS
36282019-06-06 Iain Sandoe <iain@sandoe.co.uk>
3629
3630 * config/rs6000/t-darwin: Ensure that the unwinder is built with
3631 altivec enabled.
3632
d1b2f85f
JL
36332019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3634
3635 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3636 section.
3637 (__mspabi_slli): Likewise.
3638 (__mspabi_slll_n): Likewise.
3639 (__mspabi_slll): Likewise.
3640 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3641 (__mspabi_srai): Likewise.
3642 (__mspabi_sral_n): Likewise.
3643 (__mspabi_sral): Likewise.
3644 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3645 (__mspabi_srli): Likewise.
3646 (__mspabi_srll_n): Likewise.
3647 (__mspabi_srll): Likewise.
3648
e69a13d1
YS
36492019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
3650
3651 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3652 Add appropriate tm_file clause as well.
3653 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3654
b009eac1
JC
36552019-06-05 James Clarke <jrtc27@jrtc27.com>
3656
3657 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3658 rather than .data/.bss so it can be accessed via gp-relative
3659 addressing.
3660
781d39f2
DE
36612019-06-05 David Edelsohn <dje.gcc@gmail.com>
3662
3663 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3664 (CR2_REGNO): Rename to R_CR2.
3665 (XER_REGNO): Rename to R_XER.
3666 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3667 (VRSAVE_REGNO): Rename to R_VRSAVE.
3668 (VSCR_REGNO): R_VSCR.
3669
76aaa9cd
YS
36702019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
3671
3672 * config.host (rx-*-linux*): Add new case.
3673 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3674
8fc16d72
ST
36752019-05-29 Sam Tebbs <sam.tebbs@arm.com>
3676
3677 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3678 function.
3679 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3680 aarch64_post_frob_eh_handler_addr): Add check for b-key.
3681 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3682 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3683 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3684 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3685 string.
3686 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3687 string.
3688 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3689
e54b1a92
RO
36902019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3691
3692 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3693 Remove Solaris 9 and 10 support.
3694 (sparc_is_sighandler): Likewise.
3695
abbb8307
JDA
36962019-05-26 John David Anglin <danglin@gcc.gnu.org>
3697
3698 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3699
2581344d
L
37002019-05-17 H.J. Lu <hongjiu.lu@intel.com>
3701
3702 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3703 4_FP_W_TYPEs are used for IEEE quad precision.
3704 * soft-fp/extendhftf2.c: Likewise.
3705 * soft-fp/extendsftf2.c: Likewise.
3706 * soft-fp/extendxftf2.c: Likewise.
3707 * soft-fp/trunctfdf2.c: Likewise.
3708 * soft-fp/trunctfhf2.c: Likewise.
3709 * soft-fp/trunctfsf2.c: Likewise.
3710 * soft-fp/trunctfxf2.c: Likewise.
3711 * config/rs6000/ibm-ldouble.c: Likewise.
3712
ccd1242e
RO
37132019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3714
3715 * config.host: Simplify various *-*-solaris2.1[0-9]* to
3716 *-*-solaris2*.
3717 * configure.ac: Likewise.
3718 * configure: Regenerate.
3719
3720 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3721 Solaris 10 and Solaris 11 < snv_125 handling.
3722
ef5eb79d
IS
37232019-05-12 Iain Sandoe <iain@sandoe.co.uk>
3724
3725 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3726
4f0e90fa
HL
37272019-05-07 Hongtao Liu <hongtao.liu@intel.com>
3728
3729 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3730 * config/i386/cpuinfo.h (enum processor_features): Add
3731 FEATURE_AVX512BF16.
3732
48528842
RR
37332019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3734 Bernd Edlinger <bernd.edlinger@hotmail.de>
3735 Jakub Jelinek <jakub@redhat.com>
3736
3737 PR target/89093
3738 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3739 * config/arm/unwind-arm.c: Likewise.
3740 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3741 attribute for ARM.
3742
887e182f
MC
37432019-04-15 Monk Chiang <sh.chiang04@gmail.com>
3744
3745 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3746 (RT_SIGRETURN): Update.
3747 (nds32_fallback_frame_state): Update.
3748
a90b0cdd
MS
37492019-02-21 Martin Sebor <msebor@redhat.com>
3750
3751 * libgcc2.h (__clear_cache): Correct signature.
3752 * libgcc2.c (__clear_cache): Same.
3753
1ed28eda
UB
37542019-02-20 Uroš Bizjak <ubizjak@gmail.com>
3755
3756 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3757 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3758
fe95aee9
UB
37592019-02-19 Uroš Bizjak <ubizjak@gmail.com>
3760
3761 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3762 regno instead of index to DWARF_ZERO_REG.
3763
bf7988f1
EB
37642019-02-15 Eric Botcazou <ebotcazou@adacore.com>
3765
3766 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3767 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3768
ba2c1ca8
UB
37692019-01-31 Uroš Bizjak <ubizjak@gmail.com>
3770
3771 * config/alpha/t-linux: Add -mfp-rounding-mode=d
3772 to HOST_LIBGCC2_CFLAGS.
3773
6395ba73
L
37742019-01-23 Joseph Myers <joseph@codesourcery.com>
3775
3776 PR libgcc/88931
ba2c1ca8 3777 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 3778
756721ba
ML
37792019-01-18 Martin Liska <mliska@suse.cz>
3780
3781 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3782 to ...
3783 (__gcov_indirect_call_profiler_v3): ... this.
3784 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3785 (__gcov_indirect_call_profiler_v3): Likewise.
3786 * Makefile.in: Bump function name.
3787
d273c40a
ML
37882019-01-18 Martin Liska <mliska@suse.cz>
3789
3790 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3791 (gcov_version): Use in gcov_error.
3792 (merge_one_data): Likewise.
3793 (dump_one_gcov): Likewise.
3794
be9d9fdb
ML
37952019-01-18 Martin Liska <mliska@suse.cz>
3796
3797 * libgcov-driver.c (gcov_version_string): New function.
3798 (gcov_version): Convert version integer into string.
3799
91d7b7fe
AS
38002019-01-17 Andrew Stubbs <ams@codesourcery.com>
3801 Kwok Cheung Yeung <kcy@codesourcery.com>
3802 Julian Brown <julian@codesourcery.com>
3803 Tom de Vries <tom@codesourcery.com>
3804
3805 * config.host: Recognize amdgcn*-*-amdhsa.
3806 * config/gcn/crt0.c: New file.
3807 * config/gcn/lib2-divmod-hi.c: New file.
3808 * config/gcn/lib2-divmod.c: New file.
3809 * config/gcn/lib2-gcn.h: New file.
3810 * config/gcn/sfp-machine.h: New file.
3811 * config/gcn/t-amdgcn: New file.
3812
67914693
SL
38132019-01-09 Sandra Loosemore <sandra@codesourcery.com>
3814
3815 PR other/16615
3816
3817 * config/c6x/libunwind.S: Mechanically replace "can not" with
3818 "cannot".
3819 * config/tilepro/atomic.h: Likewise.
3820 * config/vxlib-tls.c: Likewise.
3821 * generic-morestack-thread.c: Likewise.
3822 * generic-morestack.c: Likewise.
3823 * mkmap-symver.awk: Likewise.
3824
a5544970
JJ
38252019-01-01 Jakub Jelinek <jakub@redhat.com>
3826
3827 Update copyright years.
3828
da77eace
L
38292018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3830
3831 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3832 to ignore -Waddress-of-packed-member.
3833
72e3a529
TP
38342018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
3835
3836 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3837 parameter and corresponding code.
3838 (ARM_FUNC_START): Likewise in both definitions.
3839 Also update footer comment about condition that need to match with
3840 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3841 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3842 defined. Weakly define it in this case.
3843 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3844 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3845 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3846 comment to keep condition in sync with the one in
3847 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3848
5d54c798
WX
38492018-12-18 Wei Xiao <wei3.xiao@intel.com>
3850
3851 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3852 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3853
5a2580b6
RV
38542018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3855
3856 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3857 and .cfi_endproc directives for VxWorks targets.
3858
c0c5112b
PK
38592018-12-05 Paul Koning <ni1d@arrl.net>
3860
3861 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3862
1ea7ea18
AM
38632018-11-27 Alan Modra <amodra@gmail.com>
3864
3865 * config/rs6000/morestack.S (__stack_split_initialize),
3866 (__morestack_get_guard, __morestack_set_guard),
3867 (__morestack_make_guard): Provide CFI covering these functions.
3868 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3869
ff641ae1
XQ
38702018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3871
1ea7ea18 3872 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
3873 (sc_pt_regs_lr): Update for kernel.
3874 (sc_pt_regs_tls): Update for kernel.
3875
28209372
XQ
38762018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3877
3878 * config/csky/linux-unwind.h: Fix coding style.
3879
b2a71af6
XQ
38802018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
3881
3882 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 3883 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
3884 instructions to adapt to changes in the kernel
3885
d929e137
SH
38862018-11-09 Stafford Horne <shorne@gmail.com>
3887 Richard Henderson <rth@twiddle.net>
3888
3889 * config.host: Add OpenRISC support.
3890 * config/or1k/*: New.
3891
222cfefa
KC
38922018-11-08 Kito Cheng <kito@andestech.com>
3893
3894 * soft-fp/adddf3.c: Update from glibc.
3895 * soft-fp/addsf3.c: Likewise.
3896 * soft-fp/addtf3.c: Likewise.
3897 * soft-fp/divdf3.c: Likewise.
3898 * soft-fp/divsf3.c: Likewise.
3899 * soft-fp/divtf3.c: Likewise.
3900 * soft-fp/double.h: Likewise.
3901 * soft-fp/eqdf2.c: Likewise.
3902 * soft-fp/eqsf2.c: Likewise.
3903 * soft-fp/eqtf2.c: Likewise.
3904 * soft-fp/extenddftf2.c: Likewise.
3905 * soft-fp/extended.h: Likewise.
3906 * soft-fp/extendhftf2.c: Likewise.
3907 * soft-fp/extendsfdf2.c: Likewise.
3908 * soft-fp/extendsftf2.c: Likewise.
3909 * soft-fp/extendxftf2.c: Likewise.
3910 * soft-fp/fixdfdi.c: Likewise.
3911 * soft-fp/fixdfsi.c: Likewise.
3912 * soft-fp/fixdfti.c: Likewise.
3913 * soft-fp/fixhfti.c: Likewise.
3914 * soft-fp/fixsfdi.c: Likewise.
3915 * soft-fp/fixsfsi.c: Likewise.
3916 * soft-fp/fixsfti.c: Likewise.
3917 * soft-fp/fixtfdi.c: Likewise.
3918 * soft-fp/fixtfsi.c: Likewise.
3919 * soft-fp/fixtfti.c: Likewise.
3920 * soft-fp/fixunsdfdi.c: Likewise.
3921 * soft-fp/fixunsdfsi.c: Likewise.
3922 * soft-fp/fixunsdfti.c: Likewise.
3923 * soft-fp/fixunshfti.c: Likewise.
3924 * soft-fp/fixunssfdi.c: Likewise.
3925 * soft-fp/fixunssfsi.c: Likewise.
3926 * soft-fp/fixunssfti.c: Likewise.
3927 * soft-fp/fixunstfdi.c: Likewise.
3928 * soft-fp/fixunstfsi.c: Likewise.
3929 * soft-fp/fixunstfti.c: Likewise.
3930 * soft-fp/floatdidf.c: Likewise.
3931 * soft-fp/floatdisf.c: Likewise.
3932 * soft-fp/floatditf.c: Likewise.
3933 * soft-fp/floatsidf.c: Likewise.
3934 * soft-fp/floatsisf.c: Likewise.
3935 * soft-fp/floatsitf.c: Likewise.
3936 * soft-fp/floattidf.c: Likewise.
3937 * soft-fp/floattihf.c: Likewise.
3938 * soft-fp/floattisf.c: Likewise.
3939 * soft-fp/floattitf.c: Likewise.
3940 * soft-fp/floatundidf.c: Likewise.
3941 * soft-fp/floatundisf.c: Likewise.
3942 * soft-fp/floatunditf.c: Likewise.
3943 * soft-fp/floatunsidf.c: Likewise.
3944 * soft-fp/floatunsisf.c: Likewise.
3945 * soft-fp/floatunsitf.c: Likewise.
3946 * soft-fp/floatuntidf.c: Likewise.
3947 * soft-fp/floatuntihf.c: Likewise.
3948 * soft-fp/floatuntisf.c: Likewise.
3949 * soft-fp/floatuntitf.c: Likewise.
3950 * soft-fp/gedf2.c: Likewise.
3951 * soft-fp/gesf2.c: Likewise.
3952 * soft-fp/getf2.c: Likewise.
3953 * soft-fp/half.h: Likewise.
3954 * soft-fp/ledf2.c: Likewise.
3955 * soft-fp/lesf2.c: Likewise.
3956 * soft-fp/letf2.c: Likewise.
3957 * soft-fp/muldf3.c: Likewise.
3958 * soft-fp/mulsf3.c: Likewise.
3959 * soft-fp/multf3.c: Likewise.
3960 * soft-fp/negdf2.c: Likewise.
3961 * soft-fp/negsf2.c: Likewise.
3962 * soft-fp/negtf2.c: Likewise.
3963 * soft-fp/op-1.h: Likewise.
3964 * soft-fp/op-2.h: Likewise.
3965 * soft-fp/op-4.h: Likewise.
3966 * soft-fp/op-8.h: Likewise.
3967 * soft-fp/op-common.h: Likewise.
3968 * soft-fp/quad.h: Likewise.
3969 * soft-fp/single.h: Likewise.
3970 * soft-fp/soft-fp.h: Likewise.
3971 * soft-fp/subdf3.c: Likewise.
3972 * soft-fp/subsf3.c: Likewise.
3973 * soft-fp/subtf3.c: Likewise.
3974 * soft-fp/truncdfsf2.c: Likewise.
3975 * soft-fp/trunctfdf2.c: Likewise.
3976 * soft-fp/trunctfhf2.c: Likewise.
3977 * soft-fp/trunctfsf2.c: Likewise.
3978 * soft-fp/trunctfxf2.c: Likewise.
3979 * soft-fp/unorddf2.c: Likewise.
3980 * soft-fp/unordsf2.c: Likewise.
3981 * soft-fp/unordtf2.c: Likewise.
3982
2901f42f
VK
39832018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
3984
3985 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3986 * config/i386/cpuinfo.h (processor_types): Add znver2.
3987
4310ca66
PK
39882018-11-01 Paul Koning <ni1d@arrl.net>
3989
3990 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3991 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3992
22e05272
JM
39932018-10-31 Joseph Myers <joseph@codesourcery.com>
3994
3995 PR bootstrap/82856
3996 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
3997 * configure: Regenerate.
3998
8180cde0
CZ
39992018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
4000
4001 * config/arc/lib1funcs.S (_muldi3): New function.
4002 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
4003
be7b071e
RV
40042018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4005
4006 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
4007
3239d726
ML
40082018-10-25 Martin Liska <mliska@suse.cz>
4009
4010 PR other/87735
4011 * libgcov-profiler.c: Revert.
4012
19b55958
ML
40132018-10-24 Martin Liska <mliska@suse.cz>
4014
4015 * libgcov-profiler.c: Start from 1 in order to distinguish
4016 functions which were seen and these that were not.
4017
a9a2fddb
PK
40182018-10-18 Paul Koning <ni1d@arrl.net>
4019
4020 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
4021 standard.
4022 * divmod.c: Update references to __udivmodsi4.
4023 * udivmod.c: Ditto.
4024 * udivhi3.c: New file.
4025 * udivmodhi4.c: New file.
4026 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
4027
fc8abc46
RV
40282018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4029
4030 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
4031
87f918e3
OH
40322018-10-12 Olivier Hainque <hainque@adacore.com>
4033
4034 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
4035 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
4036
be86efa7
PK
40372018-10-08 Paul Koning <ni1d@arrl.net>
4038
4039 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
4040
3edbcdbe
ML
40412018-10-04 Martin Liska <mliska@suse.cz>
4042
4043 PR gcov-profile/84107
4044 * libgcov-profiler.c (__gcov_indirect_call):
4045 Change type to indirect_call_tuple.
4046 (struct indirect_call_tuple): New struct.
4047 (__gcov_indirect_call_topn_profiler): Change type.
4048 (__gcov_indirect_call_profiler_v2): Use the new
4049 variables.
4050 * libgcov.h (struct indirect_call_tuple): New struct
4051 definition.
4052
af8096fc
UB
40532018-10-03 Uros Bizjak <ubizjak@gmail.com>
4054
4055 * libgcc2.c (isnan): Use __builtin_isnan.
4056 (isfinite): Use __builtin_isfinite.
4057 (isinf): Use __builtin_isinf.
4058
0a76bba4
UB
40592018-09-26 Uros Bizjak <ubizjak@gmail.com>
4060
4061 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
4062
5244089f
OH
40632018-09-21 Alexandre Oliva <oliva@adacore.com>
4064
4065 * config/vxcache.c: New file. Provide __clear_cache, based on
4066 the cacheTextUpdate VxWorks service.
4067 * config/t-vxworks (LIB2ADD): Add vxcache.c.
4068 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
4069 * config/t-vxwoks7: Likewise.
4070
512cc015
ML
40712018-09-21 Martin Liska <mliska@suse.cz>
4072
4073 * libgcov-driver.c (crc32_unsigned): Remove.
4074 (gcov_histogram_insert): Likewise.
4075 (gcov_compute_histogram): Likewise.
4076 (compute_summary): Simplify rapidly.
4077 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
4078 (merge_summary): Rapidly simplify.
4079 (dump_one_gcov): Ignore gcov_summary.
4080 (gcov_do_dump): Do not handle program summary, it's not
4081 used.
4082 * libgcov-util.c (tag_summary): Remove.
4083 (read_gcda_finalize): Fix coding style.
4084 (read_gcda_file): Initialize curr_object_summary.
4085 (compute_summary): Remove.
4086 (calculate_overlap): Remove settings of run_max.
4087
36ff254b
MC
40882018-09-21 Monk Chiang <sh.chiang04@gmail.com>
4089
4090 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
4091 ucontext_t type instead.
4092 (nds32_fallback_frame_state): Remove struct _sigframe statement.
4093
229a033d
KC
40942018-09-21 Kito Cheng <kito.cheng@gmail.com>
4095
4096 * config/nds32/t-nds32-glibc: New file.
4097
53c6feb2
RO
40982018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4099
4100 * configure.ac (solaris_ld_v2_maps): New test.
4101 * configure: Regenerate.
4102 * Makefile.in (solaris_ld_v2_maps): New variable.
4103 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
4104 if supported.
4105
ebdb6f23
RE
41062018-08-23 Richard Earnshaw <rearnsha@arm.com>
4107
4108 PR target/86951
4109 * config/arm/lib1funcs.asm (speculation_barrier): New function.
4110 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
4111 to build.
4112
a49c064e
IS
41132018-08-22 Iain Sandoe <iain@sandoe.co.uk>
4114
1ea7ea18 4115 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
4116 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
4117 * config/darwin10-unwind-find-enc-func.c: … to here.
4118 * config/t-darwin: Build Darwin10 unwinder shim crt.
4119 * libgcc/config.host: Add the Darwin10 unwinder shim.
4120
9a5b8df7
RV
41212018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4122
4123 * config.host: Add crtbegin.o and crtend.o for
4124 powerpc-wrs-vxworks target.
4125
4cd0bc3b
J
41262018-08-17 Jojo <jijie_rong@c-sky.com>
4127 Huibin Wang <huibin_wang@c-sky.com>
4128 Sandra Loosemore <sandra@codesourcery.com>
4129 Chung-Lin Tang <cltang@codesourcery.com>
4130
4131 C-SKY port: libgcc
4132
4133 * config.host: Add C-SKY support.
4134 * config/csky/*: New.
4135
a4931745
CJW
41362018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
4137
4138 * config/nds32/t-nds32-isr: Rearrange object dependency.
4139 * config/nds32/initfini.c: Add dwarf2 unwinding support.
4140 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
4141 and registers usage.
4142 * config/nds32/isr-library/excp_isr.S: Ditto.
4143 * config/nds32/isr-library/intr_isr.S: Ditto.
4144 * config/nds32/isr-library/reset.S: Ditto.
4145 * config/nds32/isr-library/restore_all.inc: Ditto.
4146 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
4147 * config/nds32/isr-library/restore_partial.inc: Ditto.
4148 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
4149 * config/nds32/isr-library/save_all.inc: Ditto.
4150 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
4151 * config/nds32/isr-library/save_partial.inc: Ditto.
4152 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
4153 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
4154
2b1969f6
JDA
41552018-08-11 John David Anglin <danglin@gcc.gnu.org>
4156
4157 * config/pa/linux-atomic.c: Update comment.
4158 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
4159 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
4160 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
4161 __ATOMIC_RELAXED for atomic loads.
4162 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
4163 unordered store to release lock.
4164 (__sync_lock_release_8): Likewise.
4165 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 4166
89fff9cc
NP
41672018-08-02 Nicolas Pitre <nico@fluxnic.net>
4168
4169 PR libgcc/86512
4170 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
4171 exponent goes negative. Update my email address.
4172 * config/arm/ieee754-sf.S: Likewise.
4173
fd2e1dcd
ML
41742018-08-01 Martin Liska <mliska@suse.cz>
4175
4176 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 4177 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 4178
b7415975
CL
41792018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
4180
4181 * config/arm/ieee754-df.S: Fix comment for code working on
4182 architectures >= 4.
4183 * config/arm/ieee754-sf.S: Likewise.
4184
b72e71a3
L
41852018-07-27 H.J. Lu <hongjiu.lu@intel.com>
4186
4187 PR libgcc/85334
4188 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4189 Removed.
4190
1c686aa4
JC
41912018-07-05 James Clarke <jrtc27@jrtc27.com>
4192
4193 * configure: Regenerated.
4194
b61c9b99
RO
41952018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4196
4197 * Makefile.in (install_leaf): Use enable_gcov instead of
4198 enable_libgcov.
4199
1765b023
RV
42002018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4201
4202 * configure.ac: Add --disable-gcov option.
4203 * configure: Regenerate.
4204 * Makefile.in: Honour @enable_gcov@.
4205
9b2e34ef
CL
42062018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
4207
4208 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
4209 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
4210 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
4211 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
4212 __ARM_ARCH__.
4213 * config/arm/ieee754-sf.S: Likewise.
4214 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
4215
d1b0dd54
CL
42162018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
4217
4218 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
4219 longer supported.
4220 * config/arm/ieee754-sf.S: Likewise.
4221
1f3fa525
TM
42222018-06-20 Than McIntosh <thanm@google.com>
4223
4224 PR libgcc/86213
4225 * generic-morestack.c (allocate_segment): Move calls to getenv and
4226 getpagesize to __morestack_load_mmap.
4227 (__morestack_load_mmap) Initialize static_pagesize and
4228 use_guard_page here so as to avoid clobbering SSE regs during a
4229 __morestack call.
4230
6a8886e4
MM
42312018-06-18 Michael Meissner <meissner@linux.ibm.com>
4232
4233 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
4234 support modules with -mno-gnu-attribute.
4235 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
4236
fb997097
OH
42372018-06-07 Olivier Hainque <hainque@adacore.com>
4238
4239 * config/t-vxworks (LIBGCC_INCLUDES): Add
4240 -I$(MULTIBUILDTOP)../../gcc/include.
4241 * config/t-vxworks7: Likewise. Reformat a bit to match
4242 the t-vxworks layout.
4243
a548a5a1
OM
42442018-06-07 Olga Makhotina <olga.makhotina@intel.com>
4245
4246 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
4247
244aebfd
ML
42482018-06-07 Martin Liska <mliska@suse.cz>
4249
4250 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 4251 all_prg.
244aebfd 4252
6c086e8c
ML
42532018-06-07 Martin Liska <mliska@suse.cz>
4254
92a285c1 4255 PR bootstrap/86057
6c086e8c 4256 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 4257 memcpy instead of mempcpy.
6c086e8c 4258 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 4259 prefix and set it.
6c086e8c 4260 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 4261 here and properly copy content into it.
6c086e8c 4262 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 4263 field, change prefix from size_t into char *.
6c086e8c
ML
4264 (compute_summary): Do not calculate longest filename.
4265 (gcov_do_dump): Release memory of gf.filename after each file.
4266 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 4267 compute_summary.
6c086e8c
ML
4268 (calculate_overlap): Likewise.
4269
97a53d1d
ML
42702018-06-05 Martin Liska <mliska@suse.cz>
4271
4272 PR gcov-profile/47618
4273 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 4274 function.
97a53d1d
ML
4275 (gcov_exit_open_gcda_file): Use it.
4276
7f3577f5
ML
42772018-06-05 Martin Liska <mliska@suse.cz>
4278
4279 * libgcov-driver.c (gcov_compute_histogram): Remove usage
4280 of gcov_ctr_summary.
4281 (compute_summary): Do it just for a single summary.
4282 (merge_one_data): Likewise.
4283 (merge_summary): Simplify as we read just single summary.
4284 (dump_one_gcov): Pass proper argument.
4285 * libgcov-util.c (compute_one_gcov): Simplify as we have just
4286 single summary.
4287 (gcov_info_count_all_cold): Likewise.
4288 (calculate_overlap): Likewise.
4289
cf3cd43d
CJW
42902018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
4291 Monk Chiang <sh.chiang04@gmail.com>
4292
4293 * config.host (nds32*-linux*): New.
4294 * config/nds32/linux-atomic.c: New file.
4295 * config/nds32/linux-unwind.h: New file.
4296
8b8003ed
UB
42972018-05-31 Uros Bizjak <ubizjak@gmail.com>
4298
4299 PR target/85591
4300 * config/i386/cpuinfo.c (get_amd_cpu): Return
4301 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
4302
bbdf026f
RV
43032018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
4304
92a285c1 4305 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 4306
0e8f29da
ML
43072018-05-29 Martin Liska <mliska@suse.cz>
4308
92a285c1 4309 PR gcov-profile/85759
0e8f29da 4310 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 4311 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 4312 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 4313 overwrite a gcov file with a different timestamp.
0e8f29da 4314
54fd1590
K
43152018-05-23 Kalamatee <kalamatee@gmail.com>
4316
4317 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
4318 path to Lf$finfty.
4319
09baee1a
KC
43202018-05-18 Kito Cheng <kito.cheng@gmail.com>
4321 Monk Chiang <sh.chiang04@gmail.com>
4322 Jim Wilson <jimw@sifive.com>
4323
4324 * config/riscv/save-restore.S: Add support for rv32e.
4325
c3f808d3
KT
43262018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4327
4328 * config/arm/libunwind.S: Update comment relating to armv5.
4329
fcf4f831
JL
43302018-05-17 Jerome Lambourg <lambourg@adacore.com>
4331
4332 * config/arm/cmse.c (cmse_check_address_range): Replace
4333 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
4334
74b2bb19
OM
43352018-05-17 Olga Makhotina <olga.makhotina@intel.com>
4336
4337 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
4338 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
4339
50e461df
OM
43402018-05-08 Olga Makhotina <olga.makhotina@intel.com>
4341
4342 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
4343 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
4344
e5f1cdb1
AC
43452018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
4346
4347 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
4348
8f479d7a
AT
43492018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
4350 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
4351
4352 PR libgcc/84292
4353 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
4354 op_and_fetch to return the right result.
4355
ae043291
AM
43562018-04-27 Alan Modra <amodra@gmail.com>
4357
4358 PR libgcc/85532
4359 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
4360 -fno-asynchronous-unwind-tables.
4361
ba169b74
CJW
43622018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
4363
4364 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
4365 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
4366
ffc2fc06
L
43672018-04-24 H.J. Lu <hongjiu.lu@intel.com>
4368
4369 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
4370 when including "config/i386/shadow-stack-unwind.h".
4371
7b47ecf2
L
43722018-04-24 H.J. Lu <hongjiu.lu@intel.com>
4373
4374 * configure: Regenerated.
4375
661eb8f9
MM
43762018-04-20 Michael Meissner <meissner@linux.ibm.com>
4377
4378 PR target/85456
4379 * config/rs6000/_powikf2.c: New file. Add support for the
4380 __builtin_powil function when long double is IEEE 128-bit floating
4381 point.
4382 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
4383 __powikf2 support.
4384 (__powikf2): Likewise.
4385 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
4386 (__powikf2_hw): Likewise.
4387 (__powikf2): Likewise.
4388 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
4389 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
4390 (_powikf2-hw.c): Likewise.
4391
5707be3c
L
43922018-04-19 H.J. Lu <hongjiu.lu@intel.com>
4393
4394 PR libgcc/85334
4395 * unwind-generic.h (_Unwind_Frames_Increment): New.
4396 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4397 Likewise.
4398 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
4399 count with _Unwind_Frames_Increment.
4400 (_Unwind_ForcedUnwind_Phase2): Likewise.
4401
5f9ca0b8
L
44022018-04-19 H.J. Lu <hongjiu.lu@intel.com>
4403
4404 PR libgcc/85379
4405 * config/i386/morestack.S (__stack_split_initialize): Add
4406 _CET_ENDBR.
4407
a0e1df88
JJ
44082018-04-19 Jakub Jelinek <jakub@redhat.com>
4409
4410 * configure: Regenerated.
4411
001ddaa8
DM
44122018-04-18 David Malcolm <dmalcolm@redhat.com>
4413
4414 PR jit/85384
4415 * configure: Regenerate.
4416
a57f99ba
JJ
44172018-04-16 Jakub Jelinek <jakub@redhat.com>
4418
4419 PR target/84945
4420 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
4421 -Wdangling-else warnings. Mask shift counts to avoid
4422 -Wshift-count-negative and -Wshift-count-overflow false positives.
4423
4d47fe5a
RB
44242018-04-06 Ruslan Bukin <br@bsdpad.com>
4425
4426 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
4427
059cc8ac
L
44282018-03-29 H.J. Lu <hongjiu.lu@intel.com>
4429
4430 PR target/85100
4431 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
4432 (XSTATE_FP): Likewise.
4433 (XSTATE_SSE): Likewise.
4434 (XSTATE_YMM): Likewise.
4435 (XSTATE_OPMASK): Likewise.
4436 (XSTATE_ZMM): Likewise.
4437 (XSTATE_HI_ZMM): Likewise.
4438 (XCR_AVX_ENABLED_MASK): Likewise.
4439 (XCR_AVX512F_ENABLED_MASK): Likewise.
4440 (get_available_features): Enable AVX and AVX512 features only
4441 if their states are supported by OSXSAVE.
4442
f2620385
IT
44432018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4444
4445 PR target/85025
4446 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4447 Fix a typo, tmp => 255.
4448
ae6dca8c
JJ
44492018-03-20 Jakub Jelinek <jakub@redhat.com>
4450
4451 PR target/84945
4452 * config/i386/cpuinfo.h (__cpu_features2): Declare.
4453 * config/i386/cpuinfo.c (__cpu_features2): New variable for
4454 ifndef SHARED only.
4455 (set_feature): Define.
4456 (get_available_features): Use set_feature macro. Set __cpu_features2
4457 to the second word of features ifndef SHARED.
4458
c36b04c1
JK
44592018-03-15 Julia Koval <julia.koval@intel.com>
4460
4461 * config/i386/cpuinfo.c (get_available_features): Add
4462 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
4463 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
4464 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
4465 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
4466 FEATURE_AVX512BITALG.
4467
79ab5364
JK
44682018-03-14 Julia Koval <julia.koval@intel.com>
4469
4470 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
4471 icelake client and icelake server.
4472
66a00b11
JDA
44732018-03-06 John David Anglin <danglin@gcc.gnu.org>
4474
4475 * config/pa/fptr.c (_dl_read_access_allowed): New.
4476 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 4477
ce579a4f
JJ
44782018-02-28 Jakub Jelinek <jakub@redhat.com>
4479
4480 PR debug/83917
4481 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
4482 $asm_hidden_op if visibility ("hidden") attribute works.
4483 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
4484 * config/i386/i386-asm.h: Don't include auto-host.h.
4485 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
4486 PACKAGE_URL): Don't undefine.
4487 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
4488 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
4489 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
4490 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
4491 definition instead of hardcoded .hidden.
4492 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
4493 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
4494 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
4495 (USE_GAS_CFI_DIRECTIVES): Don't define.
4496 * configure: Regenerated.
4497 * config.in: Likewise.
4498
e5868319
JJ
44992018-02-26 Jakub Jelinek <jakub@redhat.com>
4500
4501 PR debug/83917
4502 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
4503 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
4504 inclusion of auto-target.h and auto-host.h.
4505 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
4506 __GCC_HAVE_DWARF2_CFI_ASM.
4507 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4508 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
4509 cfi_pop): Define.
4510 * config/i386/cygwin.S: Don't include auto-host.h here, just
4511 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
4512 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4513 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
4514 * config/i386/resms64fx.h: Add cfi_* directives.
4515 * config/i386/resms64x.h: Likewise.
4516
faef260e
MF
45172018-02-20 Max Filippov <jcmvbkbc@gmail.com>
4518
4519 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4520 .literal_position directive.
4521 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
4522
14e335ed
IT
45232018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4524
4525 PR target/84148
4526 * configure: Regenerate.
4527
95df0433
IT
45282018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4529
4530 PR target/84239
4531 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4532 Include cetintrin.h not x86intrin.h.
4533
f8de876d
IT
45342018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4535
4536 PR target/84239
95df0433 4537 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
4538 Use new _get_ssp and _inc_ssp intrinsics.
4539
02da1e9c
JK
45402018-02-02 Julia Koval <julia.koval@intel.com>
4541
4542 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4543
048c6a9a
CZ
45442018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4545
4546 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4547 option.
4548 (__divsi3): Use RF16 safe registers.
4549 (__modsi3): Likewise.
4550
0889f168
MF
45512018-01-23 Max Filippov <jcmvbkbc@gmail.com>
4552
4553 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4554 (__divsf3): Make NaN return value quiet.
4555 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4556 (__divdf3): Make NaN return value quiet.
4557
bc8b0d04
SP
45582018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4559
4560 * config/rl78/anddi3.S: New assembly file.
4561 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4562
99cc06ea
SP
45632018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4564
4565 * config/rl78/umindi3.S: New assembly file.
4566 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4567
6e9007a0
SP
45682018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4569
4570 * config/rl78/smindi3.S: New assembly file.
4571 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4572
d975e494 45732018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 4574
d975e494
SP
4575 * config/rl78/smaxdi3.S: New assembly file.
4576 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4577
6a18c146 45782018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 4579
5dd16013
SP
4580 * config/rl78/umaxdi3.S: New assembly file.
4581 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 4582
07baf4a5
JDA
45832018-01-21 John David Anglin <danglin@gcc.gnu.org>
4584
4585 PR lto/83452
4586 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4587 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 4588
dbc3af4f
RS
45892018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
4590
4591 * config/aarch64/value-unwind.h (aarch64_vg): New function.
4592 (DWARF_LAZY_REGISTER_VALUE): Define.
4593 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4594 to provide a fallback register value.
4595
68df9882
MM
45962018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
4597
4598 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4599 __ibm128, instead of trying to use long double.
4600 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4601 accomidate -mabi=ieeelongdouble multilibs.
4602 (CVT_IBM128_TO_FLOAT128): Likewise.
4603 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4604 the appropriate IBM extended double type.
4605 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4606 (__gcc_qsub): Likewise.
4607 (__gcc_qmul): Likewise.
4608 (__gcc_qdiv): Likewise.
4609 (pack_ldouble): Likewise.
4610 (__gcc_qneg): Likewise.
4611 (__gcc_qeq): Likewise.
4612 (__gcc_qne): Likewise.
4613 (__gcc_qge): Likewise.
4614 (__gcc_qle): Likewise.
4615 (__gcc_stoq): Likewise.
4616 (__gcc_dtoq): Likewise.
4617 (__gcc_itoq): Likewise.
4618 (__gcc_utoq): Likewise.
4619 (__gcc_qunord): Likewise.
4620 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4621 quad-float128.h for the definitions.
4622 (COPYSIGN): Use the f128 version instead of the q version.
4623 (INFINITY): Likewise.
4624 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4625 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4626 quad-float128.h for the definitions.
4627 (COPYSIGN): Use the f128 version instead of the q version.
4628 (INFINITY): Likewise.
4629 (FABS): Likewise.
4630 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4631 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4632 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4633
64b371b1
SH
46342018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
4635
4636 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4637 configuration.
4638
85ec4feb
JJ
46392018-01-03 Jakub Jelinek <jakub@redhat.com>
4640
4641 Update copyright years.
4642
46432017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
4644
4645 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4646 * config/riscv/multi3.c: New file.
4647 * config/riscv/multi3.S: Remove.
4648
3a4c600f
JW
46492017-12-08 Jim Wilson <jimw@sifive.com>
4650
4651 * config/riscv/div.S: Use FUNC_* macros.
4652 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4653 * config/riscv/save-restore.S: Likewise.
4654 * config/riscv/riscv-asm.h: New.
4655
75ad35b5
MM
46562017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
4657
6ae3512c
MM
4658 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4659 * config/rs6000/_divkc3.c (__divkc3): Likewise.
4660
75ad35b5
MM
4661 PR libgcc/83112
4662 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4663 correct type for all ifunc resolvers to silence -Wattribute-alias
4664 warnings. Eliminate the forward declaration of the resolver
4665 functions which is no longer needed.
4666 (__subkf3_resolve): Likewise.
4667 (__mulkf3_resolve): Likewise.
4668 (__divkf3_resolve): Likewise.
4669 (__negkf2_resolve): Likewise.
4670 (__eqkf2_resolve): Likewise.
4671 (__nekf2_resolve): Likewise.
4672 (__gekf2_resolve): Likewise.
4673 (__gtkf2_resolve): Likewise.
4674 (__lekf2_resolve): Likewise.
4675 (__ltkf2_resolve): Likewise.
4676 (__unordkf2_resolve): Likewise.
4677 (__extendsfkf2_resolve): Likewise.
4678 (__extenddfkf2_resolve): Likewise.
4679 (__trunckfsf2_resolve): Likewise.
4680 (__trunckfdf2_resolve): Likewise.
4681 (__fixkfsi_resolve): Likewise.
4682 (__fixkfdi_resolve): Likewise.
4683 (__fixunskfsi_resolve): Likewise.
4684 (__fixunskfdi_resolve): Likewise.
4685 (__floatsikf_resolve): Likewise.
4686 (__floatdikf_resolve): Likewise.
4687 (__floatunsikf_resolve): Likewise.
4688 (__floatundikf_resolve): Likewise.
4689 (__extendkftf2_resolve): Likewise.
4690 (__trunctfkf2_resolve): Likewise.
4691
4692 PR libgcc/83103
4693 * config/rs6000/quad-float128.h (TF): Don't define if long double
4694 is IEEE 128-bit floating point.
4695 (TCtype): Define as either TCmode or KCmode, depending on whether
4696 long double is IEEE 128-bit floating point.
4697 (__mulkc3_sw): Add declarations for software/hardware versions of
4698 complex multiply/divide.
4699 (__divkc3_sw): Likewise.
4700 (__mulkc3_hw): Likewise.
4701 (__divkc3_hw): Likewise.
4702 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4703 handlers to switch between using software emulation and hardware
4704 float128 instructions, build the complex multiply/divide functions
4705 for both software and hardware support.
4706 * config/rs6000/_divkc3.c (_divkc3): Likewise.
4707 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4708 (__divkc3_resolve): Likewise.
4709 (__mulkc3): Likewise.
4710 (__divkc3): Likewise.
4711 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4712 (fp128_hw_src): Likewise.
4713 (fp128_hw_static_obj): Likewise.
4714 (fp128_hw_shared_obj): Likewise.
4715 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4716 _mulkc3.c and _divkc3.c, changing the function name.
4717 (_divkc3-hw.c): Likewise.
4718 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4719 and _divkc3-hw.c.
4720
c234d831
UB
47212017-11-26 Julia Koval <julia.koval@intel.com>
4722
4723 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4724 * config/i386/cpuinfo.h (processor_subtypes): Add
4725 INTEL_COREI7_CANNONLAKE.
4726
1ebafce0
IT
47272017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4728
4729 PR bootstrap/83015
4730 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4731 parameter.
4732 * config/xtensa/unwind-dw2-xtensa.c: Likewise
4733 * config/ia64/unwind-ia64.c: Add frames parameter.
4734 * unwind-sjlj.c: Likewise.
4735
6a10fff4
IT
47362017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4737
4738 * config/i386/linux-unwind.h: Include
4739 config/i386/shadow-stack-unwind.h.
4740 * config/i386/shadow-stack-unwind.h: New file.
4741 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4742 pass it to _Unwind_Frames_Extra.
4743 * unwind-generic.h (_Unwind_Frames_Extra): New.
4744 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4745 parameter. Add local variable frames to count number of frames.
4746 (_Unwind_ForcedUnwind_Phase2): Likewise.
4747 (_Unwind_RaiseException): Add local variable frames to count
4748 number of frames, pass it to _Unwind_RaiseException_Phase2 and
4749 uw_install_context.
4750 (_Unwind_ForcedUnwind): Likewise.
4751 (_Unwind_Resume): Likewise.
4752 (_Unwind_Resume_or_Rethrow): Likewise.
4753
1ecae1fc
IT
47542017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4755
4756 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4757 (CET_FLAGS): New.
4758 * config/i386/morestack.S: Include <cet.h>.
4759 (__morestack_large_model): Add _CET_ENDBR at function entrance.
4760 * config/i386/resms64.h: Include <cet.h>.
4761 * config/i386/resms64f.h: Likewise.
4762 * config/i386/resms64fx.h: Likewise.
4763 * config/i386/resms64x.h: Likewise.
4764 * config/i386/savms64.h: Likewise.
4765 * config/i386/savms64f.h: Likewise.
4766 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4767 (CRTSTUFF_T_CFLAGS): Likewise.
4768 * configure.ac: Include ../config/cet.m4.
4769 Set and substitute CET_FLAGS.
4770 * configure: Regenerated.
4771
f021f1d3
RO
47722017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4773
4774 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4775 renaming.
4776 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4777 * configure.ac (libgcc_cv_solaris_crts): Likewise.
4778 * configure: Regenerate.
4779
65f480c7
TV
47802017-11-07 Tom de Vries <tom@codesourcery.com>
4781
4782 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4783 after "do {} while (0)".
4784
2a321acb
TV
47852017-11-07 Tom de Vries <tom@codesourcery.com>
4786
4787 PR other/82784
4788 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4789 semicolon after "do {} while (0)".
4790 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4791 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4792 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4793 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4794
59fcf6c3
AT
47952017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
4796
4797 PR libgcc/82635
4798 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4799 sysctl to determine whether we're in a trampoline.
4800 Keep the pattern matching method for systems without
4801 KERN_PROC_SIGTRAMP sysctl.
4802
b0c7ddf8
CM
48032017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
4804 Vineet Gupta <vgupta@synopsys.com>
4805
4806 * config.host (arc*-*-linux*): Set md_unwind_header variable.
4807 * config/arc/linux-unwind-reg.def: New file.
4808 * config/arc/linux-unwind-reg.h: Likewise.
4809
5feee954
SP
48102017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
4811
4812 * config/rl78/subdi3.S: New assembly file.
4813 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4814
a0bf6cf7
SP
48152017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
4816
4817 * config/rl78/adddi3.S: New assembly file.
4818 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4819
e7176f75
JJ
48202017-10-13 Jakub Jelinek <jakub@redhat.com>
4821
4822 PR target/82274
4823 * libgcc2.c (__mulvDI3): If both operands have
4824 the same highpart of -1 and the topmost bit of lowpart is 0,
4825 multiplication overflows even if both lowparts are 0.
4826
db6601d2
JB
48272017-09-28 James Bowman <james.bowman@ftdichip.com>
4828
4829 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4830
938b6f1e
JM
48312017-09-26 Joseph Myers <joseph@codesourcery.com>
4832
4833 * config/microblaze/crti.S, config/microblaze/crtn.S,
4834 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4835 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4836 config/microblaze/mulsi3.S,
4837 config/microblaze/stack_overflow_exit.S,
4838 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4839 config/pa/milli64.S: Add .note.GNU-stack section.
4840
89762a83
DS
48412017-09-23 Daniel Santos <daniel.santos@pobox.com>
4842
4843 * configure.ac: Add Check for HAVE_AS_AVX.
4844 * config.in: Regenerate.
4845 * configure: Likewise.
4846 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4847 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4848 Correct out-of-date comments.
4849
cace2309
SP
48502017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
4851
4852 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4853 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4854
3cb626e4
DS
48552017-09-17 Daniel Santos <daniel.santos@pobox.com>
4856
cace2309 4857 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
4858 (ASMNAME): Modify to use PASTE2.
4859 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4860 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 4861 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 4862 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
4863 * config/i386/resms64f.S: Likewise.
4864 * config/i386/resms64fx.S: Likewise.
4865 * config/i386/resms64x.S: Likewise.
4866 * config/i386/savms64.S: Likewise.
4867 * config/i386/savms64f.S: Likewise.
4868 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 4869 includes it's corresponding header file.
cace2309
SP
4870 * config/i386/avx_resms64f.S: Likewise.
4871 * config/i386/avx_resms64fx.S: Likewise.
4872 * config/i386/avx_resms64x.S: Likewise.
4873 * config/i386/avx_savms64.S: Likewise.
4874 * config/i386/avx_savms64f.S: Likewise.
4875 * config/i386/sse_resms64.S: Likewise.
4876 * config/i386/sse_resms64f.S: Likewise.
4877 * config/i386/sse_resms64fx.S: Likewise.
4878 * config/i386/sse_resms64x.S: Likewise.
4879 * config/i386/sse_savms64.S: Likewise.
4880 * config/i386/sse_savms64f.S: Likewise.
4881 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 4882
2f19c491 48832017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
4884 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4885
611e7036
OH
48862017-08-31 Olivier Hainque <hainque@adacore.com>
4887
4888 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4889 match as powerpc-wrs-vxworks*.
4890
c8f34527
JY
48912017-08-07 Jonathan Yong <10walls@gmail.com>
4892
4893 * config.host (*-cygwin): Include file from mingw
4894 config/i386/enable-execute-stack-mingw32.c
4895
0b458d2b 48962017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
4897 Doug Rupp <rupp@adacore.com>
4898 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
4899
4900 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4901 as well as arm-wrs-vxworks.
4902 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
4903 LIB2ADDEH.
4904 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4905 __exidx_start and __exidx_end for downloadable modules.
4906
4df612fa
OH
49072017-08-01 Olivier Hainque <hainque@adacore.com>
4908
4909 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4910 * config/t-vxworks7: Likewise.
4911
5560e8c0
OH
49122017-08-01 Olivier Hainque <hainque@adacore.com>
4913
4914 * config/t-vxworks: Instead of redefining LIB2ADD,
4915 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4916
16bab95a
SH
49172017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
4918
4919 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4920
9cbc07cc
DS
49212017-07-24 Daniel Santos <daniel.santos@pobox.com>
4922
4923 PR testsuite/80759
4924 * config.host: include i386/t-msabi for darwin and solaris.
4925 * config/i386/i386-asm.h
4926 (ELFFN): Rename to FN_TYPE.
4927 (FN_SIZE): New macro.
4928 (FN_HIDDEN): Likewise.
4929 (ASMNAME): Likewise.
4930 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4931 .globl.
4932 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4933 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4934 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4935 .macro.
4936 * config/i386/resms64f.S: Likewise.
4937 * config/i386/resms64fx.S: Likewise.
4938 * config/i386/resms64x.S: Likewise.
4939 * config/i386/savms64.S: Likewise.
4940 * config/i386/savms64f.S: Likewise.
4941
de742204
JM
49422017-07-19 John Marino <gnugcc@marino.st>
4943
4944 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4945
3787ee47
MM
49462017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
4947
4948 PR target/81193
4949 * configure.ac (PowerPC float128 hardware support): Test whether
4950 we can use __builtin_cpu_supports before enabling the ifunc
4951 handler.
4952 * configure: Regenerate.
4953
b1938888
VG
49542017-07-10 Vineet Gupta <vgupta@synopsys.com>
4955
4956 * config.host: Remove uclibc from arc target spec.
4957
bec75e53
KW
49582017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
4959
4960 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4961
d4391a62
PB
49622017-07-07 Peter Bergner <bergner@vnet.ibm.com>
4963
4964 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4965 (have_ieee_hw_p): Delete function.
4966 (SW_OR_HW) Use __builtin_cpu_supports().
4967
9296dd9b
TP
49682017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4969
4970 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4971
b85a969e
OH
49722017-07-03 Olivier Hainque <hainque@adacore.com>
4973
d4391a62 4974 * config/t-vxworks7: New file, really.
b85a969e 4975
883312dc
JM
49762017-06-28 Joseph Myers <joseph@codesourcery.com>
4977
4978 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4979 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4980 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4981 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4982 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4983 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4984 config/pa/linux-unwind.h (pa32_fallback_frame_state),
4985 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4986 config/sh/linux-unwind.h (sh_fallback_frame_state),
4987 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4988 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4989 ucontext_t instead of struct ucontext.
4990
50567938
JL
49912017-06-27 Jerome Lambourg <lambourg@adacore.com>
4992
4993 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4994 (x86_64-wrs-vxworks7): Likewise.
4995
e4b0df93
OH
49962017-06-27 Olivier Hainque <hainque@adacore.com>
4997
4998 * config/t-vxworks7: New file.
4999 * config.host (*-*-vxworks7): Use it.
5000
60edf8bb
MT
50012017-06-22 Matt Turner <mattst88@gmail.com>
5002
5003 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
5004 skylake case.
5005
a51a76e5
RB
50062017-06-21 Richard Biener <rguenther@suse.de>
5007
5008 PR gcov-profile/81080
5009 * configure.ac: Add AC_SYS_LARGEFILE.
5010 * libgcov.h: Include auto-target.h before tsystem.h to pick
5011 up _FILE_OFFSET_BITS which might differ for multilibs.
5012 * config.in: Regenerate.
5013 * configure: Likewise.
5014
f0cd49c5
RE
50152017-06-16 Richard Earnshaw <rearnsha@arm.com>
5016
5017 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
5018
4f751c54
ML
50192017-06-09 Martin Liska <mliska@suse.cz>
5020
5021 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
5022 Reset __gcov_indirect_call_callee to NULL.
5023
1ac644c8
OH
50242017-06-08 Olivier Hainque <hainque@adacore.com>
5025
5026 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
5027 the set of -I options, support for direct inclusions of net/uio.h
5028 by VxWorks header files via ioLib.h.
5029
d8b9cd27
TR
50302017-06-07 Tony Reix <tony.reix@atos.net>
5031 Matthieu Sarter <matthieu.sarter.external@atos.net>
5032 David Edelsohn <dje.gcc@gmail.com>
5033
92a285c1
ML
5034 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
5035 unconditionally.
5036 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
5037 AIX 7.2 support.
d8b9cd27 5038
38a75ccc
OH
50392017-06-02 Olivier Hainque <hainque@adacore.com>
5040
5041 * config/vxlib.c (__gthread_once): Add missing value to
5042 return statement.
5043
5b2edf53
OH
50442017-05-30 Olivier Hainque <hainque@adacore.com>
5045
5046 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
5047 dollar sign before $(MULTIDIR).
5048
7d66e265
RH
50492017-05-26 Richard Henderson <rth@redhat.com>
5050
5051 PR libgcc/80037
5052 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
5053
78eca309
AT
50542017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
5055
5056 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
5057 _Unwind_SetIP available as functions for arm*-*-freebsd*.
5058 * config/arm/unwind-arm.c: Implement the above.
5059
c39d309a
AZ
50602017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5061
5062 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
5063 section for a non-executable stack.
5064
eac8c9f2
KW
50652017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
5066
5067 PR target/80600
5068 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
5069
d6d4d770
DS
50702017-05-14 Daniel Santos <daniel.santos@pobox.com>
5071
5072 * config.host: Add i386/t-msabi to i386/t-linux file list.
5073 * config/i386/i386-asm.h: New file.
5074 * config/i386/resms64.S: New file.
5075 * config/i386/resms64f.S: New file.
5076 * config/i386/resms64fx.S: New file.
5077 * config/i386/resms64x.S: New file.
5078 * config/i386/savms64.S: New file.
5079 * config/i386/savms64f.S: New file.
5080 * config/i386/t-msabi: New file.
5081
8ef2b9a7
AT
50822017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
5083
5084 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
5085 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
5086
7ab8766a
JC
50872017-05-05 Joshua Conner <joshconner@google.com>
5088
5089 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
5090 pc-relative indirect handling for fuchsia.
5091 * config/t-slibgcc-fuchsia: New file.
5092 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 5093 x86_64-*-fuchsia*): Add definitions.
7ab8766a 5094
46928a8f
ML
50952017-04-19 Martin Liska <mliska@suse.cz>
5096
5097 PR gcov-profile/80435
5098 * Makefile.in: Install gcov.h.
5099 * gcov.h: New file.
5100 * libgcov.h: Use the header and make __gcov_flush publicly
5101 visible.
5102
63971184
ML
51032017-04-18 Martin Liska <mliska@suse.cz>
5104
5105 PR gcov-profile/78783
5106 * libgcov-driver.c (gcov_get_filename): New function.
5107
29d8aae6
JL
51082017-04-07 Jeff Law <law@redhat.com>
5109
5110 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
5111 target makefile fragment.
5112 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
5113
2bdf7fc6
AM
51142017-04-07 Alan Modra <amodra@gmail.com>
5115
5116 PR target/45053
5117 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
5118
5764ee3c
JW
51192017-04-03 Jonathan Wakely <jwakely@redhat.com>
5120
5121 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
5122
c4192ad7
CZ
51232017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
5124
5125 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
5126
4ccfdb28
JM
51272017-03-10 John Marino <gnugcc@marino.st>
5128
5129 * config/aarch64/freebsd-unwind.h: New file.
5130 * config.host: Add aarch64-*-freebsd unwinder.
5131
4144e4e3
SB
51322017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
5133
5134 * config/rs6000/crtrestvr.s: Use .machine altivec.
5135 * config/rs6000/crtsavevr.s: Ditto.
5136
7502c597
SB
51372017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
5138
5139 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
5140 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
5141 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
5142 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
5143 * configure: Regenerate.
5144 * config.in: Regenerate.
5145
db9f7f65
JY
51462017-03-02 Jonathan Yong <10walls@gmail.com>
5147
5148 * config/i386/gthr-win32.h: Define NOGDI before
5149 windows.h include to prevent w32api CC_NONE macro
5150 clash with libgfortran.
5151
126437c5
JY
51522017-03-02 Jonathan Yong <10walls@gmail.com>
5153
5154 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
5155
31927af6
AP
51562017-02-16 Andrew Pinski <apinski@cavium.com>
5157
5158 * config/aarch64/value-unwind.h: New file.
5159 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
5160 to tm_file.
5161
0bd99911
PD
51622017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
5163
5164 * config.host: Add RISC-V tuples.
5165 * config/riscv/atomic.c: New file.
5166 * config/riscv/crti.S: Likewise.
5167 * config/riscv/crtn.S: Likewise.
5168 * config/riscv/div.S: Likewise.
5169 * config/riscv/linux-unwind.h: Likewise.
5170 * config/riscv/muldi3.S: Likewise.
5171 * config/riscv/multi3.S: Likewise.
5172 * config/riscv/save-restore.S: Likewise.
5173 * config/riscv/sfp-machine.h: Likewise.
5174 * config/riscv/t-elf: Likewise.
5175 * config/riscv/t-elf32: Likewise.
5176 * config/riscv/t-elf64: Likewise.
5177 * config/riscv/t-softfp32: Likewise.
5178 * config/riscv/t-softfp64: Likewise.
5179
a8c9ef2a
JJ
51802017-01-24 Jakub Jelinek <jakub@redhat.com>
5181
5182 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
5183 /* FALLTHRU */ comments.
5184
c6c82710
GP
51852017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
5186
5187 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
5188
a876231c
JW
51892017-01-20 Jiong Wang <jiong.wang@arm.com>
5190
5191 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
5192 * unwind-dw2.c (execute_cfa_program): Only multiplexing
5193 DW_CFA_GNU_window_save for AArch64 and LP64.
5194
aa348be2
JW
51952017-01-20 Jiong Wang <jiong.wang@arm.com>
5196
5197 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
5198
5636faf2
JW
51992017-01-19 Jiong Wang <jiong.wang@arm.com>
5200
5201 * config/aarch64/aarch64-unwind.h: New file.
5202 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
5203 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
5204 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
5205 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
5206 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
5207 (aarch64_post_extract_frame_addr): New function.
5208 (aarch64_post_frob_eh_handler_addr): New function.
5209 (aarch64_frob_update_context): New function.
5210 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
5211 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
5212 aarch64*-*-freebsd*):
5213 Initialize md_unwind_header to include aarch64-unwind.h.
5214 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
5215 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
5216 __aarch64__.
5217 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
5218 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
5219 (uw_frob_return_addr): New function.
5220 (uw_install_context): Use uw_frob_return_addr.
5221
3c36aa6b
JJ
52222017-01-17 Jakub Jelinek <jakub@redhat.com>
5223
5224 PR other/79046
5225 * configure.ac: Add GCC_BASE_VER.
5226 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
5227 version from BASE-VER file.
5228 * configure: Regenerated.
5229
829afb8f
JS
52302017-01-13 Joe Seymour <joe.s@somniumtech.com>
5231
5232 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
5233 libmul_f5.a): Filter archived prerequisites.
5234
79fc8ffe
AS
52352017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
5236
5237 * config/i386/cpuinfo.h (processor_features): Add
5238 FEATURE_AVX512VPOPCNTDQ.
5239 * config/i386/cpuinfo.c (get_available_features): Habdle new
5240 feature.
5241
fec5f4e0
JM
52422017-01-04 Joseph Myers <joseph@codesourcery.com>
5243
5244 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
5245 payload if [__mips_nan2008].
5246
8f56cb51
AM
52472017-01-04 Alan Modra <amodra@gmail.com>
5248
5249 * Makefile.in (configure_deps): Update.
5250 * configure: Regenerate.
5251
cbe34bb5
JJ
52522017-01-01 Jakub Jelinek <jakub@redhat.com>
5253
5254 Update copyright years.
5255
ab955692
KW
52562016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
5257
5258 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
5259 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
5260 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
5261
de34320f
MK
52622016-12-17 Matthias Klose <doko@ubuntu.com>
5263
5264 * config/arc/gmon: Remove empty directory.
5265
e04ea1da
CZ
52662016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
5267
5268 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
5269 crtgend.
5270 (arc*-*-elf*): Likewise.
5271 * config/arc/t-arc: Remove old gmon lib targets.
5272 * config/arc/crtg.S: Remove.
5273 * config/arc/crtgend.S: Likewise.
5274 * config/arc/gmon/atomic.h: Likewise.
5275 * config/arc/gmon/auxreg.h: Likewise.
5276 * config/arc/gmon/dcache_linesz.S: Likewise.
5277 * config/arc/gmon/gmon.c: Likewise.
5278 * config/arc/gmon/machine-gmon.h: Likewise.
5279 * config/arc/gmon/mcount.c: Likewise.
5280 * config/arc/gmon/prof-freq-stub.S: Likewise.
5281 * config/arc/gmon/prof-freq.c: Likewise.
5282 * config/arc/gmon/profil.S: Likewise.
5283 * config/arc/gmon/sys/gmon.h: Likewise.
5284 * config/arc/gmon/sys/gmon_out.h: Likewise.
5285 * config/arc/t-arc-newlib: Likewise.
5286 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
5287
8ae1c2c1
GS
52882016-12-12 George Spelvin <linux@sciencehorizons.net>
5289
5290 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
5291
a5b947fa
GS
52922016-12-12 George Spelvin <linux@sciencehorizons.net>
5293
5294 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
5295 R16 instead of push + pop.
5296 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
5297
d6574dd1
KW
52982016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
5299
5300 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
5301 tmake_file.
5302
62440b4f
CM
53032016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
5304
5305 * config.host (arc*-*-linux-uclibc*): Use default extra
5306 objects. Include linux-android header.
5307 * config/arc/crti.S (_init): Declare symbol as function.
5308 (_fini): Likewise.
5309
31cfd832
TK
53102016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
5311
5312 PR fortran/78379
5313 * config/i386/cpuinfo.c: Move denums for processor vendors,
5314 processor type, processor subtypes and declaration of
5315 struct __processor_model into
5316 * config/i386/cpuinfo.h: New header file.
5317
c92e08e3
AV
53182016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
5319 Thomas Preud'homme <thomas.preudhomme@arm.com>
5320
5321 * config/arm/cmse_nonsecure_call.S: New.
5322 * config/arm/t-arm: Compile cmse_nonsecure_call.S
5323
de7b5723
AV
53242016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
5325 Thomas Preud'homme <thomas.preudhomme@arm.com>
5326
5327 * config/arm/t-arm (HAVE_CMSE): New.
5328 * config/arm/cmse.c: New.
5329
7a0d2bce
TP
53302016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
5331
b3a5bff4
TP
5332 PR gcc/74748
5333 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
5334 use generic linker version information on Blackfin.
5335
7a0d2bce
TP
5336 PR gcc/74748
5337 * libgcc/mkmap-symver.awk: add support for skip_underscore
5338
b410cf1d
IS
53392016-11-27 Iain Sandoe <iain@codesourcery.com>
5340 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5341
5342 PR target/67710
5343 * config/t-darwin: Default builds to 10.5 codegen.
5344
2e5f8203
JG
53452016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
5346
5347 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
5348 (_FP_NANSIGN_H): Likewise.
5349 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
5350 (softfp_truncations): Add tfhf.
5351 (softfp_extras): Add required conversion functions.
5352
bea64ca3
JG
53532016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5354 Matthew Wahab <matthew.wahab@arm.com>
5355
5356 * config/arm/fp16.c (binary64): New.
5357 (__gnu_d2h_internal): New.
5358 (__gnu_d2h_ieee): New.
5359 (__gnu_d2h_alternative): New.
5360
8630cadb
JG
53612016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5362 Matthew Wahab <matthew.wahab@arm.com>
5363
5364 * config/arm/fp16.c (struct format): New.
5365 (binary32): New.
5366 (__gnu_float2h_internal): New. Body moved from
5367 __gnu_f2h_internal and generalize.
5368 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
5369 Call it with binary32.
5370
5823ef23
JG
53712016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5372
5373 * soft-fp/extendhftf2.c: Update from glibc.
5374 * soft-fp/fixhfti.c: Likewise.
5375 * soft-fp/fixunshfti.c: Likewise.
5376 * soft-fp/floattihf.c: Likewise.
5377 * soft-fp/floatuntihf.c: Likewise.
5378 * soft-fp/half.h: Likewise.
5379 * soft-fp/trunctfhf2.c: Likewise.
5380
62a7df9f
MG
53812016-11-20 Marc Glisse <marc.glisse@inria.fr>
5382
5383 PR libgcc/77813
5384 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
5385 __TMC_END__ behind a passthrough asm.
5386
7a384912
WL
53872016-11-18 Walter Lee <walt@tilera.com>
5388
62a7df9f 5389 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 5390
9775c1a5
L
53912016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
5392
5393 * config/i386/cpuinfo.c (processor_features): Add
5394 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
5395
48c842ab
CZ
53962016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
5397
5398 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
5399 (__ARC_NORM__): Use instead ARC_OPTFPE.
5400 * config/arc/fp-hack.h: Likewise.
5401 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
5402 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
5403
5012919d
AM
54042016-11-16 Alexander Monakov <amonakov@ispras.ru>
5405
5406 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
5407 * config/nvptx/mgomp.c: New file.
5408 * config/nvptx/t-nvptx: Add mgomp.c
5409
00178b98
WB
54102016-11-16 Waldemar Brodkorb <wbx@openadk.org>
5411
5412 PR libgcc/68468
5413 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
5414
d64af69f
CZ
54152016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
5416
5417 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
5418 of checking for cpus.
5419 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
5420 (__modsi3, __clzsi2): Likewise.
5421
9d8f95de
SN
54222016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5423
5424 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
5425 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
5426 * config/i386/t-cpuinfo-static: New.
5427
7d29f8e3
ML
54282016-11-03 Martin Liska <mliska@suse.cz>
5429
5430 * libgcov-profiler.c (__gcov_time_profiler): Remove.
5431 (__gcov_time_profiler_atomic): Likewise.
5432
5de3e2d8
BE
54332016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
5434
5435 PR libgcc/78067
5436 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
5437 count_leading_zeros.
5438
18362447
UB
54392016-11-02 Uros Bizjak <ubizjak@gmail.com>
5440
5441 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
5442 * libgcc2.c (__divmoddi4): New function.
5443 * libgcc2.h (__divmoddi4): Declare.
5444 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
5445 and __PFX_divmodti4.
5446
33107571
FW
54472016-10-24 Florian Weimer <fweimer@redhat.com>
5448
5449 PR libgcc/78064
5450 * unwind-c.c: Include auto-target.h.
5451
4c6d7494
JDA
54522016-10-19 John David Anglin <danglin@gcc.gnu.org>
5453
18362447 5454 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
5455 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
5456 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
5457 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
5458 hppa*64*-*-hpux11*.
5459
2a26adf1
MF
54602016-10-18 Max Filippov <jcmvbkbc@gmail.com>
5461
5462 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5463 definition.
5464 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5465 definition.
5466 * config/xtensa/t-windowed (LIB2ADDEH): Use
5467 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
5468 or xtensa/t-linux.
5469
66192aa1
DKC
54702016-10-18 Ding-Kai Chen <dkchen@cadence.com>
5471
5472 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
5473 __ieee754_sqrt): New functions.
5474 (__divdf3): Add implementation with new FPU instructions under
5475 #if XCHAL_HAVE_DFP_DIV.
5476 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
5477 __ieee754_sqrtf): New functions.
5478 (__divsf3): Add implementation with new FPU instructions under
5479 #if XCHAL_HAVE_FP_DIV.
5480 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
5481 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
5482
4d0cdd0c
TP
54832016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
5484
5485 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
5486 equivalent.
5487 * config/tilepro/atomic.c: Likewise and stop casting model to
5488 enum memmodel.
5489
73f01cca
JM
54902016-10-10 Joseph Myers <joseph@codesourcery.com>
5491
5492 PR target/77586
5493 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
5494 soft-fp.
5495
b20e7532
AT
54962016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
5497
5498 * config.host: Add support for aarch64-*-freebsd*.
5499
a786cec4
AS
55002016-10-05 Andreas Schwab <schwab@suse.de>
5501
5502 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
5503 (.section .init_array): Don't call __do_jv_register_classes.
5504 (.section .init): Likewise.
5505
5a79befb
JJ
55062016-10-04 Jakub Jelinek <jakub@redhat.com>
5507
5508 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
5509 (__JCR_LIST__): Remove.
5510 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
5511 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
5512 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
5513 * config/ia64/crtend.S (__JCR_END__): Remove.
5514 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
5515 conditionals.
5516 (__JCR_LIST__, __JCR_END__): Remove.
5517 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
5518 (__do_global_ctors_1): Likewise.
5519
e0ab3753
UB
55202015-09-28 Uros Bizjak <ubizjak@gmail.com>
5521
5522 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
5523 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
5524
8c9434c2
ML
55252016-09-27 Martin Liska <mliska@suse.cz>
5526
5527 PR gcov-profile/7970
5528 PR gcov-profile/16855
5529 PR gcov-profile/44779
5530 * libgcov-driver.c (__gcov_init): Do not register a atexit
5531 handler.
5532 (__gcov_exit): Rename from gcov_exit.
5533 * libgcov.h (__gcov_exit): Declare.
5534
56b653f1
ML
55352016-09-27 Martin Liska <mliska@suse.cz>
5536
5537 PR bootstrap/77749
5538 * Makefile.in: Remove _gcov_merge_delta.
5539 * libgcov-merge.c (void __gcov_merge_delta): Remove.
5540 * libgcov-util.c (__gcov_delta_counter_op): Remove.
5541 * libgcov.h: Remove declaration of __gcov_merge_delta.
5542
7e02fd1b
EB
55432016-09-21 Eric Botcazou <ebotcazou@adacore.com>
5544
5545 * configure.ac: Do not create links, only substitute the filenames.
5546 * configure: Regenerate.
5547 * Makefile.in: Assign the substitution results to variables.
5548 (LIBGCC_LINKS): Define.
5549 (enable-execute-stack.c): New rule.
5550 (unwind.h): Likewise.
5551 (md-unwind-support.h): Likewise.
5552 (sfp-machine.h): Likewise.
5553 (gthr-default.h): Likewise.
5554 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5555 unwind.h as prerequisite of install-unwind_h-forbuild.
5556
29991048
JJ
55572016-09-16 Jakub Jelinek <jakub@redhat.com>
5558
5559 PR libgcc/71744
5560 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5561 is not the primary registry and atomics are available.
5562 (any_objects_registered): New variable.
5563 (__register_frame_info_bases, __register_frame_info_table_bases):
5564 Atomically store 1 to any_objects_registered after registering first
5565 unwind info.
5566 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5567
0abcd6cc
JG
55682016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
5569
5570 PR target/63250
5571 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5572 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5573 (HFtype): Likewise.
5574 (HCtype): Likewise.
5575 (__divhc3): Likewise.
5576 (__mulhc3): Likewise.
5577 * libgcc2.c: Support _mulhc3 and _divhc3.
5578
d758aeb5
JM
55792016-09-07 Joseph Myers <joseph@codesourcery.com>
5580
5581 PR libgcc/77519
5582 * libgcc2.c (NOTRUNC): Invert settings.
5583
7fe76f6a
ML
55842016-09-06 Martin Liska <mliska@suse.cz>
5585
5586 PR gcov-profile/77378
5587 PR gcov-profile/77466
5588 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5589 conditionaly enable/disable *_atomic functions.
5590
21184026
JM
55912016-08-26 Joseph Myers <joseph@codesourcery.com>
5592
5593 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5594 where not already enabled.
5595
726f49c3
SN
55962016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5597
5598 * config/mips/linux-unwind.h: Use sys/syscall.h.
5599
feeb6268
JM
56002016-08-16 Joseph Myers <joseph@codesourcery.com>
5601
5602 PR libgcc/77265
5603 * soft-fp/adddf3.c: Update from glibc.
5604 * soft-fp/addsf3.c: Likewise.
5605 * soft-fp/addtf3.c: Likewise.
5606 * soft-fp/divdf3.c: Likewise.
5607 * soft-fp/divsf3.c: Likewise.
5608 * soft-fp/divtf3.c: Likewise.
5609 * soft-fp/double.h: Likewise.
5610 * soft-fp/eqdf2.c: Likewise.
5611 * soft-fp/eqsf2.c: Likewise.
5612 * soft-fp/eqtf2.c: Likewise.
5613 * soft-fp/extenddftf2.c: Likewise.
5614 * soft-fp/extended.h: Likewise.
5615 * soft-fp/extendsfdf2.c: Likewise.
5616 * soft-fp/extendsftf2.c: Likewise.
5617 * soft-fp/extendxftf2.c: Likewise.
5618 * soft-fp/fixdfdi.c: Likewise.
5619 * soft-fp/fixdfsi.c: Likewise.
5620 * soft-fp/fixdfti.c: Likewise.
5621 * soft-fp/fixsfdi.c: Likewise.
5622 * soft-fp/fixsfsi.c: Likewise.
5623 * soft-fp/fixsfti.c: Likewise.
5624 * soft-fp/fixtfdi.c: Likewise.
5625 * soft-fp/fixtfsi.c: Likewise.
5626 * soft-fp/fixtfti.c: Likewise.
5627 * soft-fp/fixunsdfdi.c: Likewise.
5628 * soft-fp/fixunsdfsi.c: Likewise.
5629 * soft-fp/fixunsdfti.c: Likewise.
5630 * soft-fp/fixunssfdi.c: Likewise.
5631 * soft-fp/fixunssfsi.c: Likewise.
5632 * soft-fp/fixunssfti.c: Likewise.
5633 * soft-fp/fixunstfdi.c: Likewise.
5634 * soft-fp/fixunstfsi.c: Likewise.
5635 * soft-fp/fixunstfti.c: Likewise.
5636 * soft-fp/floatdidf.c: Likewise.
5637 * soft-fp/floatdisf.c: Likewise.
5638 * soft-fp/floatditf.c: Likewise.
5639 * soft-fp/floatsidf.c: Likewise.
5640 * soft-fp/floatsisf.c: Likewise.
5641 * soft-fp/floatsitf.c: Likewise.
5642 * soft-fp/floattidf.c: Likewise.
5643 * soft-fp/floattisf.c: Likewise.
5644 * soft-fp/floattitf.c: Likewise.
5645 * soft-fp/floatundidf.c: Likewise.
5646 * soft-fp/floatundisf.c: Likewise.
5647 * soft-fp/floatunditf.c: Likewise.
5648 * soft-fp/floatunsidf.c: Likewise.
5649 * soft-fp/floatunsisf.c: Likewise.
5650 * soft-fp/floatunsitf.c: Likewise.
5651 * soft-fp/floatuntidf.c: Likewise.
5652 * soft-fp/floatuntisf.c: Likewise.
5653 * soft-fp/floatuntitf.c: Likewise.
5654 * soft-fp/gedf2.c: Likewise.
5655 * soft-fp/gesf2.c: Likewise.
5656 * soft-fp/getf2.c: Likewise.
5657 * soft-fp/ledf2.c: Likewise.
5658 * soft-fp/lesf2.c: Likewise.
5659 * soft-fp/letf2.c: Likewise.
5660 * soft-fp/muldf3.c: Likewise.
5661 * soft-fp/mulsf3.c: Likewise.
5662 * soft-fp/multf3.c: Likewise.
5663 * soft-fp/negdf2.c: Likewise.
5664 * soft-fp/negsf2.c: Likewise.
5665 * soft-fp/negtf2.c: Likewise.
5666 * soft-fp/op-1.h: Likewise.
5667 * soft-fp/op-2.h: Likewise.
5668 * soft-fp/op-4.h: Likewise.
5669 * soft-fp/op-8.h: Likewise.
5670 * soft-fp/op-common.h: Likewise.
5671 * soft-fp/quad.h: Likewise.
5672 * soft-fp/single.h: Likewise.
5673 * soft-fp/soft-fp.h: Likewise.
5674 * soft-fp/subdf3.c: Likewise.
5675 * soft-fp/subsf3.c: Likewise.
5676 * soft-fp/subtf3.c: Likewise.
5677 * soft-fp/truncdfsf2.c: Likewise.
5678 * soft-fp/trunctfdf2.c: Likewise.
5679 * soft-fp/trunctfsf2.c: Likewise.
5680 * soft-fp/trunctfxf2.c: Likewise.
5681 * soft-fp/unorddf2.c: Likewise.
5682 * soft-fp/unordsf2.c: Likewise.
5683 * soft-fp/unordtf2.c: Likewise.
5684
2e6fc1ac
GG
56852016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
5686
5687 PR gcov-profile/67097
5688 * libgcov-util.c (gcov_profile_merge): Skip missing files.
5689
a266236e
ML
56902016-08-10 Martin Liska <mliska@suse.cz>
5691
5692 PR gcov-profile/58306
5693 * Makefile.in: New functions (modules) are added.
5694 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5695 function.
5696 (__gcov_pow2_profiler_atomic): New function.
5697 (__gcov_one_value_profiler_body): New argument is instroduced.
5698 (__gcov_one_value_profiler): Call with the new argument.
5699 (__gcov_one_value_profiler_atomic): Likewise.
5700 (__gcov_indirect_call_profiler_v2): Likewise.
5701 (__gcov_time_profiler_atomic): New function.
5702 (__gcov_average_profiler_atomic): Likewise.
5703 (__gcov_ior_profiler_atomic): Likewise.
5704 * libgcov.h: Declare the aforementioned functions.
5705
e0c8eebf
ML
57062016-08-09 Martin Liska <mliska@suse.cz>
5707
5708 * libgcov-util.c: Fix typo and GNU coding style.
5709
6dce6418
ML
57102016-08-09 Martin Liska <mliska@suse.cz>
5711
5712 * Makefile.in: Remove __gcov_indirect_call_profiler.
5713 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5714 function.
5715 * libgcov.h: And the declaration of the function.
5716
dcb1e137
ML
57172016-08-09 Martin Liska <mliska@suse.cz>
5718
5719 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5720 power of two.
5721
d6e69705
BS
57222016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5723
5724 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5725 * config/rs6000/_mulkc3.c: Likewise.
5726
96aa1f95
GJL
57272016-07-29 Georg-Johann Lay <avr@gjlay.de>
5728
5729 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5730 zero_reg as previous call to __umulhisi3 already cleared it.
5731
a1b01d34
AJ
57322016-07-21 Aurelien Jarno <aurelien@aurel32.net>
5733
5734 PR target/59833
5735 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5736
985a47b2
NC
57372016-07-19 Nick Clifton <nickc@redhat.com>
5738
5739 * config.host (m32r): Add m32r/t-m32r to tmake_file.
5740 Add crtinit.o and crtfini.o to extra_parts.
5741
f906f5ed
BS
57422016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5743
5744 * config/rs6000/_divkc3.c: New.
5745 * config/rs6000/_mulkc3.c: New.
5746 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5747 and _divkc3.
5748 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5749 fp128_ppc_funcs.
5750
82742404
HW
57512016-07-11 Hale Wang <hale.wang@arm.com>
5752 Andre Vieira <andre.simoesdiasvieira@arm.com>
5753
5754 * config/arm/lib1funcs.S: Add new wrapper.
5755
05a437c1
TP
57562016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5757
5758 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5759
3d16d9ec
TP
57602016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5761
5762 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5763 and ARMv5t* rather than for a fixed list of architectures.
5764
6f493951
TP
57652016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5766
5767 * config/arm/bpabi-v6m.S: Clarify what architectures is the
5768 implementation suitable for.
5769 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5770 for all Thumb-1 only targets.
5771 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5772 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5773 __ARM_ARCH_6M__.
5774 (EQUIV): Likewise.
5775 (ARM_FUNC_ALIAS): Likewise.
5776 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5777 version.
5778 (modsi3): Likewise.
5779 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5780 (clzdi2): Likewise.
5781 (ctzsi2): Likewise.
5782 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5783 __ARM_ARCH_6M__ in guard for checking whether it is defined.
5784 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5785 __ARM_ARCH_6M__ and add comment to indicate the connection between
5786 this condition and the one in gcc/config/arm/elf.h.
5787 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5788 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5789 * config/arm/t-softfp: Likewise.
5790
1770511a
TS
57912016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5792
5793 * libgcc2.c (SYMBOL__MAIN): Remove checks for
5794 CTOR_LISTS_DEFINED_EXTERNALLY.
5795
ba6be749
WL
57962016-06-28 Walter Lee <walt@tilera.com>
5797
5798 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5799 asm/unistd.h.
5800 (SPR_CMPEXCH_VALUE): Define for tilegx.
5801 (__NR_FAST_cmpxchg): Define for tilepro.
5802 (__NR_FAST_atomic_update): Define for tilepro.
5803 (__NR_FAST_cmpxchg64): Define for tilepro.
5804
a34c0db5
JS
58052016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
5806
18362447 5807 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 5808
0609abda
TS
58092016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5810
5811 * config.host: Remove support for mep-*.
5812 * config/mep/lib1funcs.S: Remove.
5813 * config/mep/lib2funcs.c: Remove.
5814 * config/mep/t-mep: Remove.
5815 * config/mep/tramp.c: Remove.
5816
3e326935
TS
58172016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5818
5819 * config.host: Remove support for avr-rtems.
5820 * config/avr/t-rtems: Remove.
5821
914b155c
TS
58222016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5823
5824 * config.host: Remove m32r-rtems support.
5825
5ebf89bd
TS
58262016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5827
5828 * config.host: Remove h8300-rtems support.
5829
8466af06
TS
58302016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5831
5832 * config.host: Remove support for knetbsd.
5833
d980e738
TS
58342016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5835
5836 * config.host: Remove support for openbsd 2 and 3.
5837
ee2499b4
TS
58382016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5839
5840 * config.host: Remove interix support.
5841 * config/i386/t-interix: Remove.
5842
9f92937b
JDA
58432016-06-18 John David Anglin <danglin@gcc.gnu.org>
5844
5845 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5846 least-significant bit in function pointer for fixup.
5847
0a0ec53d
AC
58482016-06-05 Aaron Conole <aconole@redhat.com>
5849 Nathan Sidwell <nathan@acm.org>
5850
5851 PR libgcc/71400
5852 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5853 (get_gcov_error_file): Check __gcov_error_file before trying to
5854 initialize it.
5855 (gcov_error): Always use get_gcov_error_file.
5856
8aa5bdd6
AC
58572016-06-02 Aaron Conole <aconole@redhat.com>
5858
5859 * libgcov-driver-system.c (__gcov_error_file): New.
5860 (get_gcov_error_file): New.
5861 (gcov_error): Use and set __gcov_error_file.
5862 (gcov_error_exit): New.
5863 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5864
40774faf
NS
58652016-05-26 Nathan Sidwell <nathan@acm.org>
5866
5867 * config/nvptx/free.asm: Delete.
5868 * config/nvptx/malloc.asm: Delete.
5869 * config/nvptx/realloc.c: Delete.
5870 * t-nvptx: Update.
5871
69a6d5ad
NS
58722016-05-25 Nathan Sidwell <nathan@acm.org>
5873
5874 * config/nvptx/crt0.s: Delete.
5875 * config/nvptx/crt0.c: New.
5876 * t-nvptx: Update.
5877
6befaff6
SL
58782016-05-19 Sandra Loosemore <sandra@codesourcery.com>
5879
385c7747 5880 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
5881 dw2/seh configuration.
5882 [x86_64-*-mingw*]: Likewise.
5883
ad251dfd
JS
58842016-05-10 Joel Sherrill <joel@rtems.org>
5885
5886 PR libgcc/70720
5887 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5888 targets so the same extra_parts are built. Also have tmake_file add
5889 on to its value rather than override.
5890
bc6d9014
OE
58912016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
5892
5893 * config.host: Remove SH5 support.
5894 * configure: Likewise.
5895
9129c8cf
OE
58962016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
5897
5898 * config/sh/crt1.S: Remove SH5 support.
5899 * config/sh/crti.S: Likewise.
5900 * config/sh/crtn.S: Likewise.
5901 * config/sh/lib1funcs-4-300.S: Likewise.
5902 * config/sh/lib1funcs-Os-4-200.S: Likewise.
5903 * config/sh/lib1funcs.S: Likewise.
5904 * config/sh/linux-unwind.h: Likewise.
5905 * config/sh/t-sh64: Delete.
5906
39d50464
CZ
59072016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
5908
5909 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5910
8b48923b
CZ
59112016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
5912 Joern Rennecke <joern.rennecke@embecosm.com>
5913
5914 * config/arc/crttls.S: New file.
5915 * config/arc/t-arc: New rule.
5916 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5917
2de1cf8c
NC
59182016-04-25 Nick Clifton <nickc@redhat.com>
5919
5920 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5921 (__mspabi_cmpd): Likewise.
5922 * config/msp430/floathidf.c (__floathidf): Likewise.
5923 * config/msp430/floathisf.c (__floathisf): Likewise
5924 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5925 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5926 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5927 second parameter.
5928 (__ashrsi3): Likewise.
5929
b8ce3fe2
WB
59302016-04-21 Waldemar Brodkorb <wbx@openadk.org>
5931
5932 * config/m68k/linux-atomic.c: Do not include unistd.h
5933
4986f823
MG
59342016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
5935
5936 * config/arm/ieee754-df.S: Fix typos in comments.
5937
35fbda43
MM
59382016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
5939
5940 PR target/70381
5941 * configure.ac (powerpc*-*-linux*): Rework tests to build
5942 __float128 emulation routines to not depend on using #pragma GCC
5943 target to enable -mfloat128.
5944 * configure: Regnerate.
5945
72d1a48d
EB
59462016-04-04 Eric Botcazou <ebotcazou@adacore.com>
5947
5948 PR target/67172
5949 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5950 __MINGW32__ is defined.
5951
dc2e8995
JB
59522016-03-28 James Bowman <james.bowman@ftdichip.com>
5953
385c7747 5954 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 5955
104cdaf1
MM
59562016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
5957
5958 PR libgcc/70363
5959 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5960 built with an assembler that does not support ISA 3.0
5961 instructions, rename __extendkftf2_sw to __extendkftf2.
5962
a5046f48
RO
59632016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5964
5965 PR target/38239
5966 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5967 call-clobbered registers.
5968 (internal_mcount): Remove __i386__ handling.
5969
df674f74
JS
59702016-02-26 Joel Sherrill <joel@rtems.org>
5971
5972 * config.host: Add x86_64-*-rtems*.
5973
7cb065d6
JS
59742016-02-26 Joel Sherrill <joel@rtems.org>
5975
5976 * libgcc/config.host: Add aarch64-*-rtems*.
5977
47dfdc53
PM
59782016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5979 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5980
5981 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5982 union of u64 and double.
5983 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5984 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5985 value.
5986 (FP_ROUNDMODE): Update the usage of _fpscr.
5987
e6861a99
IV
59882016-02-25 Ilya Verbin <ilya.verbin@intel.com>
5989
5990 PR driver/68463
5991 * Makefile.in (crtoffloadtable$(objext)): New rule.
5992 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5993 enable_offload_targets is not empty.
5994 * configure: Regenerate.
5995 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5996 crtoffloadtable.
5997
9bfcbdee
MF
59982016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5999
6000 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
6001 .literal_position before the function.
6002 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
6003 Likewise.
6004
4cb4721f
MK
60052016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
6006
6007 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
6008 * config/s390/morestack.S: New file.
6009 * config/s390/t-stack-s390: New file.
6010 * generic-morestack.c (__splitstack_find): Add s390-specific code.
6011
b29d9a29
WL
60122016-02-12 Walter Lee <walt@tilera.com>
6013
6014 * config.host (tilegx*-*-linux*): remove ti from
6015 softfp_int_modes for 32-bit configs.
6016
03a0ae7d
ILT
60172016-02-10 Ian Lance Taylor <iant@google.com>
6018
6019 PR go/68562
6020 * config/i386/morestack.S (__stack_split_initialize): Align
6021 stack.
6022
68750bce
AT
60232016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
6024
6025 PR bootstrap/69611
6026 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
6027 __FLOAT128__ to compile only for __float128 capable targets.
6028
7d296953
JJ
60292016-01-25 Jakub Jelinek <jakub@redhat.com>
6030
6031 PR target/69444
6032 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
6033 instead of ___NO_FPRS__.
6034
a71c0334 60352016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
6036 Steven Munroe <munroesj@linux.vnet.ibm.com>
6037 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
6038
6039 * config/rs6000/float128-sed: New files to convert TF names to KF
6040 names for PowerPC IEEE 128-bit floating point support.
6041 * config/rs6000/float128-sed-hw: Likewise.
6042
6043 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
6044 floating point hardware support.
6045
6046 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6047 128-bit floating point software emulation or use ISA 3.0 hardware
6048 support if it is available.
6049
6050 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6051 floating point.
6052
6053 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
6054 floating point to IBM extended double.
6055
6056 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
6057 double to IEEE 128-bit floating point.
6058
6059 * config/rs6000/t-float128: New Makefile fragments to enable
6060 building __float128 emulation support.
6061 * config/rs6000/t-float128-hw: Likewise.
6062
6063 * config/rs6000/sfp-exceptions.c: New file to provide exception
6064 support for IEEE 128-bit floating point.
6065
6066 * config/rs6000/floattikf.c: New files for converting between IEEE
6067 128-bit floating point and signed/unsigned 128-bit integers.
6068 * config/rs6000/fixunskfti.c: Likewise.
6069 * config/rs6000/fixkfti.c: Likewise.
6070 * config/rs6000/floatuntikf.c: Likewise.
6071
6072 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6073 when building on 64-bit systems, or when VSX is enabled.
6074 (_FP_W_TYPE): Likewise.
6075 (_FP_WS_TYPE): Likewise.
6076 (_FP_I_TYPE): Likewise.
6077 (TItype): Define on 64-bit systems.
6078 (UTItype): Likewise.
6079 (TI_BITS): Likewise.
6080 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6081 (_FP_MUL_MEAT_Q): Likewise.
6082 (_FP_DIV_MEAT_D): Likewise.
6083 (_FP_DIV_MEAT_Q): Likewise.
6084 (_FP_NANFRAC_D): Likewise.
6085 (_FP_NANFRAC_Q): Likewise.
6086 (ISA_BIT): Add exception support if we are being compiled on a
6087 machine with hardware floating point support to build the IEEE
6088 128-bit emulation functions.
6089 (FP_EX_INVALID): Likewise.
6090 (FP_EX_OVERFLOW): Likewise.
6091 (FP_EX_UNDERFLOW): Likewise.
6092 (FP_EX_DIVZERO): Likewise.
6093 (FP_EX_INEXACT): Likewise.
6094 (FP_EX_ALL): Likewise.
6095 (__sfp_handle_exceptions): Likewise.
6096 (FP_HANDLE_EXCEPTIONS): Likewise.
6097 (FP_RND_NEAREST): Likewise.
6098 (FP_RND_ZERO): Likewise.
6099 (FP_RND_PINF): Likewise.
6100 (FP_RND_MINF): Likewise.
6101 (FP_RND_MASK): Likewise.
6102 (_FP_DECL_EX): Likewise.
6103 (FP_INIT_ROUNDMODE): Likewise.
6104 (FP_ROUNDMODE): Likewise.
6105
6106 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6107 VSX code, enable IEEE 128-bit floating point. If the compiler can
6108 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
6109 floating point hardware instructions and it supports declaring
6110 functions with the ifunc attribute, enable ifunc functions to
6111 switch between software and hardware support.
6112 * configure.ac (powerpc*-*-linux*): Likewise.
6113 * configure: Regenerate.
6114
bdc27e50
NC
61152016-01-15 Nick Clifton <nickc@redhat.com>
6116
6117 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
6118 dependency as the source file to be compiled.
6119 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
6120 (lib2hw_mul_f5.o): Likewise.
6121
006df05d
MM
61222016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
6123
6124 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
6125 * libgcc/config/rs6000/fixkfti.c: Likewise.
6126 * libgcc/config/rs6000/fixunskfti.c: Likewise.
6127 * libgcc/config/rs6000/float128-hw.c: Likewise.
6128 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
6129 * libgcc/config/rs6000/float128-sed: Likewise.
6130 * libgcc/config/rs6000/floattikf.c: Likewise.
6131 * libgcc/config/rs6000/floatuntikf.c: Likewise.
6132 * libgcc/config/rs6000/quad-float128.h: Likewise.
6133 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
6134 * libgcc/config/rs6000/sfp-machine.h: Likewise.
6135 * libgcc/config/rs6000/t-float128: Likewise.
6136 * libgcc/config/rs6000/t-float128-hw: Likewise.
6137 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
6138 * libgcc/config.host: Likewise.
6139 * libgcc/configure: Likewise.
6140 * libgcc/configure.ac: Likewise.
6141
29176d57 61422016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
6143 Steven Munroe <munroesj@linux.vnet.ibm.com>
6144 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
6145
6146 * config/rs6000/sfp-exceptions.c: New file to provide exception
6147 support for IEEE 128-bit floating point.
6148
6149 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
6150 floating point hardware support.
6151
6152 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
6153 point conversions.
6154 * config/rs6000/fixunskfti.c: Likewise.
6155 * config/rs6000/fixkfti.c: Likewise.
6156 * config/rs6000/floatuntikf.c: Likewise.
6157 * config/rs6000/extendkftf2-sw.c: Likewise.
6158 * config/rs6000/trunctfkf2-sw.c: Likewise.
6159
6160 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6161 128-bit floating point software emulation or use ISA 3.0 hardware
6162 support if it is available.
6163
6164 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6165 floating point.
6166
6167 * config/rs6000/t-float128: New Makefile fragments to enable
6168 building __float128 emulation support.
6169 * config/rs6000/t-float128-hw: Likewise.
6170
6171 * config/rs6000/float128-sed: New file to convert TF names to KF
6172 names for PowerPC IEEE 128-bit floating point support.
6173
6174 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6175 when building on 64-bit systems, or when VSX is enabled.
6176 (_FP_W_TYPE): Likewise.
6177 (_FP_WS_TYPE): Likewise.
6178 (_FP_I_TYPE): Likewise.
6179 (TItype): Define on 64-bit systems.
6180 (UTItype): Likewise.
6181 (TI_BITS): Likewise.
6182 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6183 (_FP_MUL_MEAT_Q): Likewise.
6184 (_FP_DIV_MEAT_D): Likewise.
6185 (_FP_DIV_MEAT_Q): Likewise.
6186 (_FP_NANFRAC_D): Likewise.
6187 (_FP_NANFRAC_Q): Likewise.
6188 (ISA_BIT): Add exception support if we are being compiled on a
6189 machine with hardware floating point support to build the IEEE
6190 128-bit emulation functions.
6191 (FP_EX_INVALID): Likewise.
6192 (FP_EX_OVERFLOW): Likewise.
6193 (FP_EX_UNDERFLOW): Likewise.
6194 (FP_EX_DIVZERO): Likewise.
6195 (FP_EX_INEXACT): Likewise.
6196 (FP_EX_ALL): Likewise.
6197 (__sfp_handle_exceptions): Likewise.
6198 (FP_HANDLE_EXCEPTIONS): Likewise.
6199 (FP_RND_NEAREST): Likewise.
6200 (FP_RND_ZERO): Likewise.
6201 (FP_RND_PINF): Likewise.
6202 (FP_RND_MINF): Likewise.
6203 (FP_RND_MASK): Likewise.
6204 (_FP_DECL_EX): Likewise.
6205 (FP_INIT_ROUNDMODE): Likewise.
6206 (FP_ROUNDMODE): Likewise.
6207
6208 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
6209 compiler can do __float128.
6210 * configure: Regenerate.
6211
6212 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6213 VSX code, enable IEEE 128-bit floating point.
6214
a2218983
OH
62152016-01-05 Olivier Hainque <hainque@adacore.com>
6216
6217 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 6218 specificities.
a2218983 6219
818ab71a
JJ
62202016-01-04 Jakub Jelinek <jakub@redhat.com>
6221
6222 Update copyright years.
6223
5a6c8ffa
AP
62242015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
6225
6226 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 6227 soft-fp targets.
5a6c8ffa 6228
077067a5
BE
62292015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
6230
6231 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
6232 instead of abort to avoid dependency on stdlib.h.
6233
787c1027
JDA
62342015-12-09 John David Anglin <danglin@gcc.gnu.org>
6235
6236 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
6237 to initialize call to __dl_fixup once.
6238
04a9ae28
NC
62392015-12-04 Nick Clifton <nickc@redhat.com>
6240
6241 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
6242 Allow for the second argument being negative.
6243 * config.host (extra_parts): Define for MSP430. Create separate
6244 libraries for each of the hardware multiply formats.
6245 * config/msp430/lib2hw_mul.S: Build only the multiply routines
6246 that are needed.
6247 * config/msp430/lib2mul.c: Likewise.
6248 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
6249 Add rules to build hardware multiply libraries.
6250 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
6251 __mspabi_divul function.
6252 (__mspabi_divllu): New stub function.
6253
9a32d437
JDA
62542015-12-01 John David Anglin <danglin@gcc.gnu.org>
6255
6256 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
6257 fixup values if saved GOT address doesn't match runtime address.
6258 (fixup_branch_offset): Reorder list.
6259
e5ef217c
RO
62602015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6261
6262 * Makefile.in (VTV_CFLAGS): New variable.
6263 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
6264 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
6265 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6266 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
6267 to extra_parts if $enable_vtable_verify = yes.
6268
78cc43a2
SN
62692015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
6270
6271 PR target/68059
6272 * config/arm/linux-atomic-64bit.c (__write): Rename to...
6273 (write): ...this and fix the return type.
6274
9afebea2
DD
62752015-11-19 DJ Delorie <dj@redhat.com>
6276
6277 * config/msp430/lib2hw_mul.S: Fix alignment.
6278
33f47f42
NS
62792015-11-18 Nathan Sidwell <nathan@codesourcery.com>
6280
6281 * config/nvptx/reduction.c: New.
6282 * config/nvptx/t-nvptx (LIB2ADD): Add it.
6283
d9adb476
DE
62842015-11-15 David Edelsohn <dje.gcc@gmail.com>
6285
6286 * config/rs6000/on_exit.c: New file.
6287 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
6288 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
6289
c0ab1970
CZ
62902015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
6291
6292 * config/arc/dp-hack.h: Add support for ARCHS.
6293 * config/arc/ieee-754/divdf3.S: Likewise.
6294 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6295 * config/arc/ieee-754/muldf3.S: Likewise.
6296 * config/arc/ieee-754/mulsf3.S: Likewise
6297 * config/arc/lib1funcs.S: Likewise
6298 * config/arc/gmon/dcache_linesz.S: Don't read the build register
6299 for ARCv2 cores.
6300 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
6301 for ARCv2 cores.
6302 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
6303 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
6304 cores.
6305
e6b6bf09
RO
63062015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6307
6308 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
6309 value.
6310 * config/ia64/crtend.S: Likewise.
6311
a153644f
TS
63122015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6313
6314 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
6315 __CHAR_BIT__ instead of BITS_PER_UNIT.
6316 * fixed-bit.h: Likewise.
6317 * fp-bit.h: Likewise.
6318 * libgcc2.c (__popcountSI2): Likewise.
6319 (__popcountDI2): Likewise.
6320 * libgcc2.h: Likewise.
6321 * libgcov.h: Likewise.
6322
3dee689d
DE
63232015-11-07 David Edelsohn <dje.gcc@gmail.com>
6324
6325 * config/rs6000/atexit.c: New file.
6326 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
6327 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
6328 * config/rs6000/cxa_finalize.c
6329 (catomic_compare_and_exchange_bool_acq): Negate return value.
6330
2ef543e4
VK
63312015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
6332
6333 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
6334 (processor_subtypes): Add znver1.
6335 (get_amd_cpu): Detect znver1.
6336
1300f017
CL
63372015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
6338
6339 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
6340 Include crtfastmath.o.
6341
3e5bb7ee
JR
63422015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
6343
6344 PR libgcc/66883
6345 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 6346
793aa938
KP
63472015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
6348
6349 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
6350 * config/rl78/divmodsi.S: Update return register to r8.
6351 * config/rl78/divmodhi.S: Update return register to r8,r9.
6352 Branch to main_loop_done_himode to pop registers before return.
6353
7d296953 63542015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
6355
6356 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
6357 (__cpu_indicator_init): Fix model selection for AMD CPUs.
6358
6a192b5a
KY
63592015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
6360
6361 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
6362
4a0a9457
MF
63632015-10-03 Max Filippov <jcmvbkbc@gmail.com>
6364
6365 * config.host (xtensa*-*-uclinux*): New configuration.
6366
ab91c076
KY
63672015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
6368
385c7747 6369 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
6370 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
6371
30954527
JM
63722015-09-28 Joseph Myers <joseph@codesourcery.com>
6373
6374 * soft-fp/adddf3.c: Update from glibc.
6375 * soft-fp/addsf3.c: Likewise.
6376 * soft-fp/addtf3.c: Likewise.
6377 * soft-fp/divdf3.c: Likewise.
6378 * soft-fp/divsf3.c: Likewise.
6379 * soft-fp/divtf3.c: Likewise.
6380 * soft-fp/double.h: Likewise.
6381 * soft-fp/eqdf2.c: Likewise.
6382 * soft-fp/eqsf2.c: Likewise.
6383 * soft-fp/eqtf2.c: Likewise.
6384 * soft-fp/extenddftf2.c: Likewise.
6385 * soft-fp/extended.h: Likewise.
6386 * soft-fp/extendsfdf2.c: Likewise.
6387 * soft-fp/extendsftf2.c: Likewise.
6388 * soft-fp/extendxftf2.c: Likewise.
6389 * soft-fp/fixdfdi.c: Likewise.
6390 * soft-fp/fixdfsi.c: Likewise.
6391 * soft-fp/fixdfti.c: Likewise.
6392 * soft-fp/fixsfdi.c: Likewise.
6393 * soft-fp/fixsfsi.c: Likewise.
6394 * soft-fp/fixsfti.c: Likewise.
6395 * soft-fp/fixtfdi.c: Likewise.
6396 * soft-fp/fixtfsi.c: Likewise.
6397 * soft-fp/fixtfti.c: Likewise.
6398 * soft-fp/fixunsdfdi.c: Likewise.
6399 * soft-fp/fixunsdfsi.c: Likewise.
6400 * soft-fp/fixunsdfti.c: Likewise.
6401 * soft-fp/fixunssfdi.c: Likewise.
6402 * soft-fp/fixunssfsi.c: Likewise.
6403 * soft-fp/fixunssfti.c: Likewise.
6404 * soft-fp/fixunstfdi.c: Likewise.
6405 * soft-fp/fixunstfsi.c: Likewise.
6406 * soft-fp/fixunstfti.c: Likewise.
6407 * soft-fp/floatdidf.c: Likewise.
6408 * soft-fp/floatdisf.c: Likewise.
6409 * soft-fp/floatditf.c: Likewise.
6410 * soft-fp/floatsidf.c: Likewise.
6411 * soft-fp/floatsisf.c: Likewise.
6412 * soft-fp/floatsitf.c: Likewise.
6413 * soft-fp/floattidf.c: Likewise.
6414 * soft-fp/floattisf.c: Likewise.
6415 * soft-fp/floattitf.c: Likewise.
6416 * soft-fp/floatundidf.c: Likewise.
6417 * soft-fp/floatundisf.c: Likewise.
6418 * soft-fp/floatunditf.c: Likewise.
6419 * soft-fp/floatunsidf.c: Likewise.
6420 * soft-fp/floatunsisf.c: Likewise.
6421 * soft-fp/floatunsitf.c: Likewise.
6422 * soft-fp/floatuntidf.c: Likewise.
6423 * soft-fp/floatuntisf.c: Likewise.
6424 * soft-fp/floatuntitf.c: Likewise.
6425 * soft-fp/gedf2.c: Likewise.
6426 * soft-fp/gesf2.c: Likewise.
6427 * soft-fp/getf2.c: Likewise.
6428 * soft-fp/ledf2.c: Likewise.
6429 * soft-fp/lesf2.c: Likewise.
6430 * soft-fp/letf2.c: Likewise.
6431 * soft-fp/muldf3.c: Likewise.
6432 * soft-fp/mulsf3.c: Likewise.
6433 * soft-fp/multf3.c: Likewise.
6434 * soft-fp/negdf2.c: Likewise.
6435 * soft-fp/negsf2.c: Likewise.
6436 * soft-fp/negtf2.c: Likewise.
6437 * soft-fp/op-1.h: Likewise.
6438 * soft-fp/op-2.h: Likewise.
6439 * soft-fp/op-4.h: Likewise.
6440 * soft-fp/op-8.h: Likewise.
6441 * soft-fp/op-common.h: Likewise.
6442 * soft-fp/quad.h: Likewise.
6443 * soft-fp/single.h: Likewise.
6444 * soft-fp/soft-fp.h: Likewise.
6445 * soft-fp/subdf3.c: Likewise.
6446 * soft-fp/subsf3.c: Likewise.
6447 * soft-fp/subtf3.c: Likewise.
6448 * soft-fp/truncdfsf2.c: Likewise.
6449 * soft-fp/trunctfdf2.c: Likewise.
6450 * soft-fp/trunctfsf2.c: Likewise.
6451 * soft-fp/trunctfxf2.c: Likewise.
6452 * soft-fp/unorddf2.c: Likewise.
6453 * soft-fp/unordsf2.c: Likewise.
6454 * soft-fp/unordtf2.c: Likewise.
6455
4dfe21ac
RE
64562015-09-24 Richard Earnshaw <rearnsha@arm.com>
6457
6458 PR libgcc/67624
6459 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
6460
df2a1cc4
RO
64612015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6462
6463 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6464 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
6465 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
6466 messages.
6467 (internal_mcount): Likewise.
6468 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
6469 crt_compile, add CRTSTUFF_T_CFLAGS_S.
6470
2d110442
RO
64712015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6472
6473 * configure.ac (libgcc_cv_solaris_crts): New test.
6474 * configure: Regenerate.
6475 * config.in: Regenerate.
6476 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
6477 * config/gmon-sol2.c: Rename to ...
6478 * config/sol2/gmon.c: ... this.
6479 Include auto-target.h.
6480 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
6481 * config/t-sol2: Rename to ...
6482 * config/sol2/t-sol2: ... this.
6483 (gmon.o): Reflect renaming.
6484 (crtp.o, crtpg.o): New rules.
6485 * config.host (*-*-solaris2*): Reflect renaming.
6486 Use system CRTs if present.
6487 Remove default CRT case.
6488
d572e439
JDA
64892015-09-23 John David Anglin <danglin@gcc.gnu.org>
6490
6491 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
6492 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
6493 __kernel_cmpxchg2.
6494 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
6495 (__sync_val_compare_and_swap_##WIDTH): Likewise.
6496 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
6497 (__sync_lock_test_and_set_##WIDTH): Likewise.
6498 (__sync_lock_release_##WIDTH): Likewise.
6499 (__sync_fetch_and_##OP##_4): Change result to match type of
6500 __kernel_cmpxchg.
6501 (__sync_##OP##_and_fetch_4): Likewise.
6502 (__sync_val_compare_and_swap_4): Likewise.
6503 (__sync_bool_compare_and_swap_4): likewise.
6504 (__sync_lock_test_and_set_4): Likewise.
6505 (__sync_lock_release_4): Likewise.
6506 (FETCH_AND_OP_2): Add long long variants.
6507 (OP_AND_FETCH_2): Likewise.
6508 (COMPARE_AND_SWAP_2 ): Likewise.
6509 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6510 (SYNC_LOCK_RELEASE_2): Likewise.
6511 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
6512
7d296953 65132015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
6514
6515 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
6516 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
6517 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
6518 (get_available_features): Habdle new features.
6519
131314e1
JB
65202015-09-21 James Bowman <james.bowman@ftdichip.com>
6521
6522 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
6523 memory layout. Deal correctly with BSS region larger than 32K.
6524 Handle a watchdog reset like a power-on reset. Clean up unused
6525 code.
6526
04218b35
AD
65272015-09-18 Andrew Dixie <andrewd@gentrack.com>
6528 David Edelsohn <dje.gcc@gmail.com>
6529
6530 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6531 * config/rs6000/crtdbase.S: New file.
6532 * config/rs6000/t-aix-cxa: Build crtdbase.o.
6533
c8338173
MF
65342015-09-15 Max Filippov <jcmvbkbc@gmail.com>
6535
6536 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6537 Add support for call0 ABI.
6538
7a84bf71
JDA
65392015-09-13 John David Anglin <danglin@gcc.gnu.org>
6540
6541 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6542
4efab402
SH
65432015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
6544
6545 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6546 (__GTHREAD_HAS_COND): Likewise.
6547 (__gthread_t): Likewise.
6548 (__gthread_cond_t): Likewise.
6549 (__gthread_time_t): Likewise.
6550 (__GTHREAD_MUTEX_INIT): Likewise.
6551 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6552 (__GTHREAD_COND_INIT): Likewise.
6553 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6554 (__GTHREAD_TIME_INIT): Likewise.
6555 (__gthread_create): Likewise.
6556 (__gthread_join): Likewise.
6557 (__gthread_detach): Likewise.
6558 (__gthread_equal): Likewise.
6559 (__gthread_self): Likewise.
6560 (__gthread_yield): Likewise.
6561 (__gthread_cond_broadcast): Likewise.
6562 (__gthread_cond_signal): Likewise.
6563 (__gthread_cond_wait): Likewise.
6564 (__gthread_cond_timedwait): Likewise.
6565 (__gthread_cond_wait_recursive): Likewise.
6566 (__gthread_cond_destroy): Likewise.
6567 (rtems_gxx_once): Delete.
6568 (rtems_gxx_key_create): Likewise.
6569 (rtems_gxx_key_delete): Likewise.
6570 (rtems_gxx_getspecific): Likewise.
6571 (rtems_gxx_setspecific): Likewise.
6572 (rtems_gxx_mutex_init): Likewise.
6573 (rtems_gxx_mutex_destroy): Likewise.
6574 (rtems_gxx_mutex_lock): Likewise.
6575 (rtems_gxx_mutex_trylock): Likewise.
6576 (rtems_gxx_mutex_unlock): Likewise.
6577 (rtems_gxx_recursive_mutex_init): Likewise.
6578 (rtems_gxx_recursive_mutex_lock): Likewise.
6579 (rtems_gxx_recursive_mutex_trylock): Likewise.
6580 (rtems_gxx_recursive_mutex_unlock): Likewise.
6581 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6582 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6583 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6584 (__gthread_once): Likewise.
6585 (__gthread_key_create): Likewise.
6586 (__gthread_key_delete): Likewise.
6587 (__gthread_getspecific): Likewise.
6588 (__gthread_setspecific): Likewise.
6589 (__gthread_key_t): Use <pthread.h> type.
6590 (__gthread_once_t): Likewise
6591 (__gthread_mutex_t): Use <sys/lock.h> type.
6592 (__gthread_recursive_mutex_t): Likewise
6593 (__gthread_mutex_lock): Use <sys/lock.h> function.
6594 (__gthread_mutex_trylock): Likewise.
6595 (__gthread_mutex_timedlock): Likewise.
6596 (__gthread_mutex_unlock): Likewise.
6597 (__gthread_mutex_destroy): Likewise.
6598 (__gthread_recursive_mutex_lock): Likewise.
6599 (__gthread_recursive_mutex_trylock): Likewise.
6600 (__gthread_recursive_mutex_timedlock): Likewise.
6601 (__gthread_recursive_mutex_unlock): Likewise.
6602 (__gthread_recursive_mutex_destroy): Likewise.
6603
991995c4
MF
66042015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6605
6606 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6607 context->sp instead of context->cfa.
6608
0e19db59
MF
66092015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6610
6611 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6612 with unwind-dw2-fde-dip.
6613
b6ac5f62
MF
66142015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6615
6616 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6617 CALL12 followed by series of ENTRY to spill windowed registers.
6618 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6619 instead of making linux spill syscall.
6620
3e0f3349
YR
66212015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
6622
6623 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6624 (get_intel_cpu): Likewise.
6625
51c728b1
L
66262015-08-12 H.J. Lu <hongjiu.lu@intel.com>
6627
6628 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6629 (get_intel_cpu): Add Knights Landing support.
6630
aff4eeac
UB
66312015-08-11 Uros Bizjak <ubizjak@gmail.com>
6632
6633 PR target/66954
6634 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6635 (get_available_features): Handle FEATURE_PCLMUL.
6636
736e56da
L
66372015-08-10 H.J. Lu <hongjiu.lu@intel.com>
6638
6639 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6640 Broadwell.
6641
54d22142
UB
66422015-07-22 Uros Bizjak <ubizjak@gmail.com>
6643
6644 PR target/66954
6645 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6646 (get_available_features): Handle FEATURE_AES.
6647
20ca17e4
CLT
66482015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
6649
6650 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6651 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6652
ebe4a560
NS
66532015-07-17 Nathan Sidwell <nathan@codesourcery.com>
6654
6655 * offloadstuff.c: Constify host data.
6656
180744c0
JB
66572015-07-17 Jan Beulich <jbeulich@suse.com>
6658
6659 * config/t-softfp: Split up "else ifneq".
6660
a03c6ae3
SL
66612015-07-14 Sandra Loosemore <sandra@codesourcery.com>
6662 Cesar Philippidis <cesar@codesourcery.com>
6663 Chung-Lin Tang <cltang@codesourcery.com>
6664
6665 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6666 for __nios2_arch__ level.
6667
73358db5
JM
66682015-07-13 John Marino <gnugcc@marino.st>
6669
6670 * config/i386/t-dragonfly: New.
6671
f9a12f7b
JDA
66722015-07-01 John David Anglin <danglin@gcc.gnu.org>
6673
6674 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6675 better match light-weight syscall argument order.
6676 (__kernel_cmpxchg2): Likewise.
6677 Adjust callers.
6678
cb78b51c
L
66792015-06-30 H.J. Lu <hongjiu.lu@intel.com>
6680
6681 * config.host: Support i[34567]86-*-elfiamcu target.
6682 * config/t-softfp-sfdftf: New file.
6683 * config/i386/32/t-iamcu: Likewise.
6684 * configure: Regenerated.
6685
4fa0f9ea
JL
66862015-06-23 James Lemke <jwlemke@codesourcery.com>
6687
6688 libgcc/config/arm/
6689 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6690
428b3812
L
66912015-05-27 H.J. Lu <hongjiu.lu@intel.com>
6692
6693 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6694
7d296953 66952015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
6696
6697 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6698 md_unwind_header
6699 * config/i386/freebsd-unwind.h: New.
6700
9b789cc1
UB
67012015-05-22 Uros Bizjak <ubizjak@gmail.com>
6702
6703 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6704 i386/t-crtfm to tmake_file.
6705 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6706 (set_fast_math): Use set_fast_math_sse for SSE targets.
6707 * config/i386/t-crtfm: Remove.
6708
3dafb220
AM
67092015-05-21 Alan Modra <amodra@gmail.com>
6710
6711 PR libgcc/66225
6712 * config/rs6000/morestack.S: Remove ".abiversion 1".
6713
0f0fd745
AM
67142015-05-20 Alan Modra <amodra@gmail.com>
6715
6716 * config/rs6000/morestack.S: New.
6717 * config/rs6000/t-stack-rs6000: New.
6718 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6719 to tmake_file.
6720 * generic-morestack.c: Don't build for powerpc 32-bit.
6721
515ae71b
EB
67222015-05-19 Eric Botcazou <ebotcazou@adacore.com>
6723
6724 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6725 Remove useless endif/ifneq ($(enable_shared),yes) pair.
6726
36805406
JL
67272015-05-16 James Bowman <james.bowman@ftdichip.com>
6728
6729 * config.host: FT32 target added.
6730 * config/ft32/*: New files for FT32 target.
6731
ff935d0c
MG
67322015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
6733
385c7747
UB
6734 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6735 New macros.
6736 * config/arm/ieee754-df.S: Add CFI directives.
6737 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 6738
9b92a9f3
EB
67392015-05-13 Eric Botcazou <ebotcazou@adacore.com>
6740
6741 * configure.ac: Include config/sjlj.m4.
6742 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6743 * config.in: Regenerate.
6744 * configure: Likewise.
6745 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6746
98b5dc61
UB
67472015-05-12 Uros Bizjak <ubizjak@gmail.com>
6748
6749 * libgcov-util.c: Add space between string literal and macro name.
6750
5a0ff57c
SL
67512015-05-06 Sandra Loosemore <sandra@codesourcery.com>
6752 Chris Jones <chrisj@nvidia.com>
6753 Joshua Conner <jconner@nvidia.com>
6754
6755 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6756 (arm*-*-uclinux*): Likewise.
6757 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6758 * config/arm/crtfastmath.c: New file.
6759
d28ad5d4
BS
67602014-04-29 Bernd Schmidt <bernds@codesourcery.com>
6761
6762 * Makefile.in (real_host_noncanonical): New variable.
6763 (libsubdir): Use it.
6764 * configure.ac (real_host_noncanonical): Compute. Remove special
6765 case for intelmicemul.
6766 * configure: Regenerate.
6767
cc86234f
UB
67682015-04-28 Uros Bizjak <ubizjak@gmail.com>
6769
6770 * config/frv/elf-lib.h: New file.
6771 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6772 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6773 to tm_file.
6774
67752015-04-28 Uros Bizjak <ubizjak@gmail.com>
6776
6777 * config/frv/frvbengin.c: Do not include defaults.h
6778 * config/frv/frvend.c: Ditto.
6779
2f6bd6eb
YS
67802015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
6781
6782 * config.host: Add h8300-*-linux
6783 * config/h8300/t-linux: New file.
6784 * config/h8300/lib1funs.s: Change symbol prefix.
6785 * config/h8300/sfp-machine.h: 64bit double support.
6786
15aa7b44
GR
67872015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
6788 Szabolcs Nagy <szabolcs.nagy@arm.com>
6789
6790 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6791 Linux if target provides dl_iterate_phdr.
6792
abd0cdc9
L
67932015-04-17 H.J. Lu <hongjiu.lu@intel.com>
6794
6795 PR target/65612
6796 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6797 * config/i386/cpuinfo.c (__cpu_model): Initialize.
6798 (__cpu_indicator_init@GCC_4.8.0): New.
6799 (__cpu_model@GCC_4.8.0): Likewise.
6800 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6801 -DUSE_ELF_SYMVER.
6802
72ed1126
NC
68032015-04-16 Nick Clifton <nickc@redhat.com>
6804
6805 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6806 and __modhi3 functions.
6807 * config/rl78/divmodso.S: Add G14 and G13 versions of the
6808 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6809
d26b2237
CG
68102015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
6811
6812 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6813 do-while loop as macro body to avoid warnings.
6814
cacf1f59
JJ
68152015-04-10 Jakub Jelinek <jakub@redhat.com>
6816 Iain Sandoe <iain@codesourcery.com>
6817
6818 PR target/65351
6819 * configure: Regenerate.
6820
e8a4ed3b
JJ
68212015-04-07 Jakub Jelinek <jakub@redhat.com>
6822 Iain Sandoe <iain@codesourcery.com>
6823
6824 PR target/65351
6825 * configure: Regenerate.
6826
0341335e
CLT
68272015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
6828
6829 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6830
590e2636 68312015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 6832
590e2636
MF
6833 Implement call0 ABI for xtensa
6834 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6835 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6836 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6837 use ret in call0 ABI.
6838 * config/xtensa/t-windowed: New file.
6839 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6840 * libgcc/configure: Regenerated.
6841 * libgcc/configure.ac: Check if xtensa target is configured for
6842 windowed ABI and thus needs to use custom unwind code.
6843
7727f8f2
JW
68442015-02-12 Jonathan Wakely <jwakely@redhat.com>
6845
6846 PR libgcc/64885
6847 * gthr-single.h: Use __unused__ attribute instead of unused.
6848 * config/gthr-vxworks.h: Likewise.
6849 * config/i386/gthr-win32.h: Likewise.
6850
0e4a0def
KT
68512015-02-27 Kai Tietz <ktietz@redhat.com>
6852
6853 PR target/65038
6854 * config.in: Regenerated.
6855 * configure: Likewise.
6856 * configure.ac (AC_HEADER_STDC): Added explicit.
6857 (AC_CHECK_HEADERS): Check for default headers plus
6858 for ftw.h header.
6859 * libgcov-util.c (gcov_read_profile_dir): Disable use
6860 of ftw-function, if header is not found.
6861 (ftw_read_file): Likewise.
6862
b6530d0a
TS
68632015-02-23 Thomas Schwinge <thomas@codesourcery.com>
6864
6865 PR target/65181
6866 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6867 -Dinhibit_libc.
6868
53cfb467
SL
68692015-02-17 Sandra Loosemore <sandra@codesourcery.com>
6870
6871 * config/arm/bpabi.S (test_div_by_zero): Make label names
6872 consistent between thumb2 and arm mode cases. Separate the
6873 signed comparison on the high word of the numerator from the
6874 unsigned comparison on the low word.
6875 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6876 signed comparison.
6877
77d10a1b
JM
68782015-02-17 Joseph Myers <joseph@codesourcery.com>
6879
6880 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6881 and <string.h>.
6882 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6883
98174188
RE
68842015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
6885
6886 PR gcov-profile/61889
471274de 6887 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 6888
771bef14
NC
68892015-02-02 Nick Clifton <nickc@redhat.com>
6890
6891 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6892 rounding up the fraction.
6893
40702893
JDA
68942015-01-31 John David Anglin <danglin@gcc.gnu.org>
6895
6896 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6897 oldval and newval to const void *. Fix typo.
6898 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6899 (FETCH_AND_OP_WORD): Likewise.
6900 (OP_AND_FETCH_WORD): Likewise.
6901 (COMPARE_AND_SWAP_2): Likewise.
6902 (__sync_val_compare_and_swap_4): Likewise.
6903 (__sync_lock_test_and_set_4): Likewise.
6904 (SYNC_LOCK_RELEASE_2): Likewise.
6905 Remove support for long long atomic operations.
6906
f7f049fa
CT
69072015-01-27 Caroline Tice <cmtice@google.com>
6908
6909 Committing VTV Cywin/Ming patch for Patrick Wollgast
6910 * Makefile.in: Move rules to build vtv_*.o out of the check
6911 for CUSTOM_CRTSTUFF.
6912 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6913 i[34567]86-*-mingw*)
3d3b561f 6914 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
f7f049fa
CT
6915 enable_vtable_verify.
6916
8410904a
NC
69172015-01-27 Nick Clifton <nickc@redhat.com>
6918
6919 * config/rl78/cmpsi2.S: Use function start and end macros.
6920 (__gcc_bcmp): New function.
6921 * config/rl78/lshrsi3.S: Use function start and end macros.
6922 * config/rl78/mulsi3.S: Add support for G10.
6923 (__mulqi3): New function for G10.
6924 * config/rl78/signbit.S: Use function start and end macros.
6925 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6926 fpmath-sf.S.
6927 (LIB2FUNCS_EXCLUDE): Define.
6928 (LIB2FUNCS_ST): Define.
6929 * config/rl78/trampoline.S: Use function start and end macros.
6930 * config/rl78/vregs.h (START_FUNC): New macro.
6931 (START_ANOTHER_FUNC): New macro.
6932 (END_FUNC): New macro.
6933 (END_ANOTHER_FUNC): New macro.
6934 * config/rl78/bit-count.S: New file. Contains assembler
6935 implementations of the bit counting functions: ___clzhi2,
6936 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6937 __paritysi2, __popcounthi2 and __popcountsi2.
6938 * config/rl78/fpbit-sf.S: New file. Contains assembler
6939 implementationas of the math functions: __negsf2, __cmpsf2,
6940 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6941 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
6942 * config/rl78/fpmath-sf.S: New file. Contains assembler
6943 implementations of the math functions: __subsf3, __addsf3,
6944 __mulsf3 and __divsf3
6945
f962fbf1
RO
69462015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6947
6948 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6949 Add i386/elf-lib.h to tm_file.
6950 * config/i386/elf-lib.h: Fix comment.
6951 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6952 && __sun__ && __svr4__]: Remove workaround.
6953
939911c5
ASJ
69542015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6955
6956 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6957 FEATURE_BMI2.
6958 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6959
c8f2dff2
L
69602015-01-24 H.J. Lu <hongjiu.lu@intel.com>
6961
6962 * config/i386/cpuinfo.c (processor_subtypes): Add
6963 INTEL_COREI7_BROADWELL.
6964 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6965 model numbers.
6966
7bbf9734
UB
69672015-01-23 Uros Bizjak <ubizjak@gmail.com>
6968
6969 * config/i386/elf-lib.h: New file.
6970 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6971 Wrap definition in #ifdef __i386__.
6972 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6973 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6974 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6975 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6976 to tm_file.
6977
324820f1
CG
69782015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
6979
6980 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6981 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6982
a9ce4e4a
CLT
69832015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
6984
6985 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6986 Update rt_sigframe format and address for current Nios II
6987 Linux conventions.
6988
82a19768
AT
69892015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
6990
6991 * config.host (arm*-*-freebsd*): Add new configuration for
6992 arm*-*-freebsd*.
6993 * config/arm/freebsd-atomic.c: New file.
6994 * config/arm/t-freebsd: Likewise.
6995 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6996 'PC-relative indirect' OS's.
6997
0969ec7d
EB
69982015-01-06 Eric Botcazou <ebotcazou@adacore.com>
6999
7000 * config.host: Add Visium support.
7001 * config/visium: New directory.
7002
5624e564
JJ
70032015-01-05 Jakub Jelinek <jakub@redhat.com>
7004
7005 Update copyright years.
7006
82f84ecb
MF
70072014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
7008
7009 * config.host: Support mipsisa32r6 and mipsisa64r6.
7010 * config/mips/mips16.S: Do not build for R6.
7011
69044fa9
OE
70122014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
7013
7014 * config/sh/crt.h: New.
7015 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
7016 symbols.
7017 * config/sh/crt1.S: Likewise.
7018
2405e0ea
UB
70192014-12-15 Uros Bizjak <ubizjak@gmail.com>
7020
7021 PR libgcc/63832
7022 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
7023 func_ptr *dtor_list temporary variable to avoid "array subscript
7024 is above array bounds" warnings.
7025
7d296953 70262014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
7027
7028 * Makefile.in (with_aix_soname): Define.
7029 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
7030 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
7031 * configure: Recreate.
7032
a66272f6
OH
70332014-12-05 Olivier Hainque <hainque@adacore.com>
7034
7035 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
7036 now provided by defaults.h.
7037
6342b2c5
OE
70382014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
7039
7d0ee249 7040 PR target/55351
6342b2c5
OE
7041 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
7042 whether it's defined.
7043
c17eac85
IT
70442014-11-27 Ilya Tocar <ilya.tocar@intel.com>
7045
7046 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
7047 * config/i386/cpuinfo.c (get_available_features): Detect it.
7048
1025cb6c
TW
70492014-11-27 Tony Wang <tony.wang@arm.com>
7050
7051 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
7052 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
7053 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
7054
d19f2e38
SB
70552014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
7056
7057 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
7058
17f6e9a3
JDA
70592014-11-24 John David Anglin <danglin@gcc.gnu.org>
7060
7061 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
7062 instead.
7063
0cd7c672
GM
70642014-11-21 Guy Martin <gmsoft@tuxicoman.be>
7065 John David Anglin <danglin@gcc.gnu.org>
7066
7067 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
7068 (FETCH_AND_OP_2): New. Use for subword and double word operations.
7069 (OP_AND_FETCH_2): Likewise.
7070 (COMPARE_AND_SWAP_2): Likewise.
7071 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
7072 (SYNC_LOCK_RELEASE_2): Likewise.
7073 (SUBWORD_SYNC_OP): Remove.
7074 (SUBWORD_VAL_CAS): Likewise.
7075 (SUBWORD_BOOL_CAS): Likewise.
7076 (FETCH_AND_OP_WORD): Update.
7077 Consistently use signed types.
cc86234f 7078
85c64bbe
BS
70792014-11-13 Bernd Schmidt <bernds@codesourcery.com>
7080 Thomas Schwinge <thomas@codesourcery.com>
7081 Ilya Verbin <ilya.verbin@intel.com>
7082 Andrey Turetskiy <andrey.turetskiy@intel.com>
7083
7084 * Makefile.in (crtoffloadbegin$(objext)): New rule.
7085 (crtoffloadend$(objext)): Likewise.
7086 * configure: Regenerate.
7087 * configure.ac (accel_dir_suffix): Compute new variable.
7088 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
7089 if enable_offload_targets is not empty.
7090 * offloadstuff.c: New file.
7091
52a1ff8b
NC
70922014-11-13 Nick Clifton <nickc@redhat.com>
7093
7094 * config/rl78/divmodhi.S: Add support for the G10 architecture.
7095 Use START_FUNC and END_FUNC macros to enable linker garbage
7096 collection.
7097 * config/rl78/divmodqi.S: Likewise.
7098 * config/rl78/divmodsi.S: Likewise.
7099 * config/rl78/mulsi3.S: Likewise.
7100 * config/rl78/lib2div.c: Remove G10 functions.
7101 * config/rl78/lib2muls.c: Likewise.
7102 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
7103 * config/rl78/vregs.h (START_FUNC): New macro.
7104 (END_FUNC): New macro.
7105
050af144
MF
71062014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
7107
7108 * config/mips/mips16.S: Set .module when supported. Update O32
7109 FP64 calling convention and use for FPXX when possible. Add FPXX
7110 calling convention fallback case.
7111
738f2522
BS
71122014-11-06 Bernd Schmidt <bernds@codesourcery.com>
7113
7114 * config.host: Handle nvptx-*-*.
7115 * shared-object.mk (as-flags-$o): Define.
7116 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
7117 -xassembler-with-cpp.
7118 * static-object.mk: Identical changes.
7119 * config/nvptx/t-nvptx: New file.
7120 * config/nvptx/crt0.s: New file.
7121 * config/nvptx/free.asm: New file.
7122 * config/nvptx/malloc.asm: New file.
7123 * config/nvptx/realloc.c: New file.
7124
e610393c
JM
71252014-10-30 Joseph Myers <joseph@codesourcery.com>
7126
7127 * Makefile.in (libgcc.map.in): New target.
7128 (libgcc.map): Use libgcc.map.in.
7129 * config/t-softfp (softfp_compat): New variable to be set by
7130 users.
7131 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
7132 variables.
7133 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
7134 directory.
7135 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
7136 that use compat symbols and disable all code unless [SHARED].
7137 * config/t-softfp-compat: New file.
7138 * find-symver.awk: New file.
7139 * configure.ac (--with-glibc-version): New configure option.
7140 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
7141 * configure: Regenerate.
7142 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
7143 soft-float and e500.
7144
bc1b3a88
JM
71452014-10-29 Joseph Myers <joseph@codesourcery.com>
7146
7147 * config/t-hardfp (hardfp_exclusions): Document new variable for
7148 user to define.
7149 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
7150 * config/t-softfp (softfp_extras): Document new variable for user
7151 to define.
7152 (softfp_func_list): Add functions from $(softfp_extras).
7153 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
7154 * config.host (powerpc*-*-linux*): For e500v1, use
7155 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
7156 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
7157 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
7158
ef2810c1
JDA
71592014-10-26 John David Anglin <danglin@gcc.gnu.org>
7160
7161 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
7162 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
7163 memory read accesses are ok.
7164
d80c2bea
JM
71652014-10-25 Joseph Myers <joseph@codesourcery.com>
7166
7167 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
7168 * configure: Regenerate.
7169 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
7170 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
7171 of soft-fp for 32-bit classic hard float. Do not use
7172 t-softfp-excl for soft float.
7173
693b297b
JM
71742014-10-22 Joseph Myers <joseph@codesourcery.com>
7175
7176 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
7177 configurations.
7178 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
7179 Remove variables.
7180
18a3415e
GJL
71812014-10-22 Georg-Johann Lay <avr@gjlay.de>
7182
7183 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
7184 introduced with 2014-10-21 trunk r216525.
7185
c1dd9790 71862014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
7187 Vidya Praveen <vidya.praveen@atmel.com>
7188 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
7189 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
7190 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
7191
7192 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
7193 order.
7194
7195 Updated library functions for AVRTINY arch.
7196 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
7197 Replaced occurrences of r0/r1 with tmp/zero reg macros.
7198 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
7199 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
7200 wsubi/wadi macors.
7201 (__mulsi3_helper): Update stack, preserve callee saved regs and
7202 argument from stack. Restore callee save registers.
7203 (__mulpsi3): Likewise.
7204 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
7205 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 7206 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
7207 AVRTINY.
7208 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
7209 (__do_copy_data): Added new definition for AVRTINY.
7210 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
7211 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
7212 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
7213 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
7214 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
7215 macors.
18a3415e 7216 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
7217 AVRTINY.
7218
18a3415e 7219 Fix broken long multiplication on tiny arch.
c1dd9790 7220
5f606431
JM
72212014-10-09 Joseph Myers <joseph@codesourcery.com>
7222
7223 * soft-fp/double.h: Update from glibc.
7224 * soft-fp/eqdf2.c: Likewise.
7225 * soft-fp/eqsf2.c: Likewise.
7226 * soft-fp/eqtf2.c: Likewise.
7227 * soft-fp/extenddftf2.c: Likewise.
7228 * soft-fp/extended.h: Likewise.
7229 * soft-fp/extendsfdf2.c: Likewise.
7230 * soft-fp/extendsftf2.c: Likewise.
7231 * soft-fp/extendxftf2.c: Likewise.
7232 * soft-fp/gedf2.c: Likewise.
7233 * soft-fp/gesf2.c: Likewise.
7234 * soft-fp/getf2.c: Likewise.
7235 * soft-fp/ledf2.c: Likewise.
7236 * soft-fp/lesf2.c: Likewise.
7237 * soft-fp/letf2.c: Likewise.
7238 * soft-fp/op-1.h: Likewise.
7239 * soft-fp/op-2.h: Likewise.
7240 * soft-fp/op-4.h: Likewise.
7241 * soft-fp/op-8.h: Likewise.
7242 * soft-fp/op-common.h: Likewise.
7243 * soft-fp/quad.h: Likewise.
7244 * soft-fp/single.h: Likewise.
7245 * soft-fp/soft-fp.h: Likewise.
7246 * soft-fp/unorddf2.c: Likewise.
7247 * soft-fp/unordsf2.c: Likewise.
7248 * soft-fp/unordtf2.c: Likewise.
7249 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
7250 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
7251 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
7252 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
7253 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
7254 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
7255 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
7256 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
7257 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
7258 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
7259
9b84e7a8
RX
72602014-10-08 Rong Xu <xur@google.com>
7261
7262 * libgcov-util.c (read_gcda_file): Fix format.
7263 (find_match_gcov_info): Ditto.
7264 (calculate_2_entries): New.
7265 (compute_one_gcov): Ditto.
7266 (gcov_info_count_all_cold): Ditto.
7267 (gcov_info_count_all_zero): Ditto.
7268 (extract_file_basename): Ditto.
7269 (get_file_basename): Ditto.
7270 (set_flag): Ditto.
7271 (matched_gcov_info): Ditto.
7272 (calculate_overlap): Ditto.
7273 (gcov_profile_overlap): Ditto.
7274 * libgcov-driver.c (compute_summary): Make
7275 it avavilable for external calls.
7276
fe1090c1
RX
72772014-10-06 Rong Xu <xur@google.com>
7278
7279 * Makefile.in: Ditto.
7280 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
7281 (gcov_sort_icall_topn_counter): Ditto.
7282 (gcov_sort_topn_counter_arrays): Ditto.
7283 (dump_one_gcov): Sort indirect_call topn counters.
7284 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
7285 function.
7286 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
7287 utility function.
7288 (__gcov_indirect_call_topn_profiler): New profiler function.
7289 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
7290 * libgcov.h: New decls.
7291
3daa7bbf
TS
72922014-10-04 Trevor Saunders <tsaunders@mozilla.com>
7293
7294 * config.host: Remove support for score-*.
7295
9a79452d
JM
72962014-09-22 Joseph Myers <joseph@codesourcery.com>
7297
7298 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7299 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
7300 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
7301 __LIBGCC_XF_MANT_DIG__.
7302 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
7303 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
7304 __LIBGCC_TF_MANT_DIG__.
7305 * libgcc2.c (NOTRUNC): Define in terms of
7306 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
7307 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7308
1a849e50
JM
73092014-09-22 Joseph Myers <joseph@codesourcery.com>
7310
7311 PR target/63312
7312 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
7313 New macros.
7314
598a1586
HPN
73152014-09-22 Hans-Peter Nilsson <hp@axis.com>
7316
7317 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
7318 override USE_PT_GNU_EH_FRAME.
7319 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
7320 check USE_EH_FRAME_REGISTRY_ALWAYS against
7321 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
7322 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
7323 variable for substituted force_explicit_eh_registry.
7324 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
7325 * configure.ac (explicit-exception-frame-registration):
7326 New AC_ARG_ENABLE.
7327 * configure: Regenerate.
7328
3a8fe7c6
OH
73292014-09-19 Olivier Hainque <hainque@adacore.com>
7330
7331 * config.host (powerpc-wrs-vxworksmils): New configuration,
7332 same as vxworksae.
7333
dd69f047
JM
73342014-09-18 Joseph Myers <joseph@codesourcery.com>
7335
7336 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
7337
e770bfd9
JM
73382014-09-18 Joseph Myers <joseph@codesourcery.com>
7339
7340 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
7341 bits not set bits as indicating trapping exceptions.
7342
cadb2b96
NS
73432014-09-17 Nathan sidwell <nathan@acm.org>
7344
7345 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
7346 (LIBGCOV_DRIVER): ... here.
7347 * libgcov-driver.c (gcov_master): New.
7348 (gcov_exit): Remove from master chain.
7349 (__gcov_init): Add to master chain if version compatible. Don't
7350 clear the version.
7351 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
7352 (gcov_reset_int): Clear master chain, if compatible.
7353 (gcov_dump_int): New internal interface. Dump master chain, if
7354 compatible.
7355 (gcov_dump): Alias for gcov_dump_int.
7356 * libgcov.h (struct gcov_root): Add next and prev fields.
7357 (struct gcov_master): New struct.
7358 (__gcov_master): New.
7359 (gcov_dump_int): Declare.
7360
580d22a3
OH
73612014-09-17 Olivier Hainque <hainque@adacore.com>
7362
7363 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
7364 and crtbegin.o + crtend.o to extra_parts.
7365
8cc4b7a2
JM
73662014-09-12 Joseph Myers <joseph@codesourcery.com>
7367
7368 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
7369 __LIBGCC_HAS_SF_MODE__.
7370 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7371 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7372 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7373 * config/libbid/bid_gcc_intrinsics.h
7374 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7375 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7376 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7377 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7378 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
7379 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7380
ea3f2b24
GJL
73812014-09-11 Georg-Johann Lay <avr@gjlay.de>
7382
7383 PR target/63223
7384 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
7385 and R24 as needed. Make work for all devices and .text locations.
7386 (__do_global_ctors, __do_global_dtors): Use word addresses.
7387 (__tablejump__, __tablejump_elpm__): Remove functions.
7388 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
7389 Add _tablejump2.
7390 (XICALL, XIJMP): New macros.
7391
b677236a
MS
73922014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
7393 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7394
7395 * config.host (aarch64*): Include crtfastmath.o and
7396 t-crtfm.
7397 * config/aarch64/crtfastmath.c: New file.
7398
157e859f
TS
73992014-09-08 Trevor Saunders <tsaunders@mozilla.com>
7400
7401 * config.host: Remove picochip support.
7402 * config/picochip/adddi3.S: Remove.
7403 * config/picochip/ashlsi3.S: Remove.
7404 * config/picochip/ashlsi3.c: Remove.
7405 * config/picochip/ashrsi3.S: Remove.
7406 * config/picochip/ashrsi3.c: Remove.
7407 * config/picochip/clzsi2.S: Remove.
7408 * config/picochip/cmpsi2.S: Remove.
7409 * config/picochip/divmod15.S: Remove.
7410 * config/picochip/divmodhi4.S: Remove.
7411 * config/picochip/divmodsi4.S: Remove.
7412 * config/picochip/lib1funcs.S: Remove.
7413 * config/picochip/longjmp.S: Remove.
7414 * config/picochip/lshrsi3.S: Remove.
7415 * config/picochip/lshrsi3.c: Remove.
7416 * config/picochip/parityhi2.S: Remove.
7417 * config/picochip/popcounthi2.S: Remove.
7418 * config/picochip/setjmp.S: Remove.
7419 * config/picochip/subdi3.S: Remove.
7420 * config/picochip/t-picochip: Remove.
7421 * config/picochip/ucmpsi2.S: Remove.
7422 * config/picochip/udivmodhi4.S: Remove.
7423 * config/picochip/udivmodsi4.S: Remove.
7424
66bb34c0
JM
74252014-09-08 Joseph Myers <joseph@codesourcery.com>
7426
7427 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
7428 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
7429 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
7430 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
7431 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
7432 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
7433 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
7434 defined and LIBGCC2_HAS_DF_MODE is defined.
7435 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
7436 defined and LIBGCC2_HAS_XF_MODE is defined.
7437 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
7438 defined and LIBGCC2_HAS_TF_MODE is defined.
7439
9686a2e6
JM
74402014-09-08 Joseph Myers <joseph@codesourcery.com>
7441
7442 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
7443 and ROUND_TOWARDS_ZERO conditionals.
7444
71c3e2ef
NS
74452014-09-07 Nathan sidwell <nathan@acm.org>
7446
7447 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
7448 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
7449
53d68b9f
JM
74502014-09-05 Joseph Myers <joseph@codesourcery.com>
7451
7452 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
7453 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7454 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7455 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7456 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7457 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7458 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7459 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
7460 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
7461 (DWARF_FRAME_REGISTERS): Change all uses to
7462 __LIBGCC_DWARF_FRAME_REGISTERS__.
7463 (EH_RETURN_STACKADJ_RTX): Change all uses to
7464 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7465 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
7466 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
7467 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
7468 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
7469 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
7470 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
7471 to __LIBGCC_EH_FRAME_SECTION_NAME__.
7472 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
7473 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
7474 __LIBGCC_STACK_POINTER_REGNUM__.
7475 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7476 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7477 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7478 to __LIBGCC_STACK_POINTER_REGNUM__.
7479 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7480 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7481 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7482 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7483 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7484 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7485 (STACK_POINTER_REGNUM): Change all uses to
7486 __LIBGCC_STACK_POINTER_REGNUM__.
7487 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
7488 use to __LIBGCC_STACK_POINTER_REGNUM__.
7489 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7490 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7491 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
7492 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7493 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
7494 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7495 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7496 to __LIBGCC_STACK_POINTER_REGNUM__.
7497 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
7498 Remove conditional definition.
7499 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
7500 __LIBGCC_TEXT_SECTION_ASM_OP__.
7501 (EH_FRAME_SECTION_NAME): Change all uses to
7502 __LIBGCC_EH_FRAME_SECTION_NAME__.
7503 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
7504 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
7505 (CTORS_SECTION_ASM_OP): Change all uses to
7506 __LIBGCC_CTORS_SECTION_ASM_OP__.
7507 (DTORS_SECTION_ASM_OP): Change all uses to
7508 __LIBGCC_DTORS_SECTION_ASM_OP__.
7509 (JCR_SECTION_NAME): Change all uses to
7510 __LIBGCC_JCR_SECTION_NAME__.
7511 (INIT_SECTION_ASM_OP): Change all uses to
7512 __LIBGCC_INIT_SECTION_ASM_OP__.
7513 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7514 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7515 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
7516 __LIBGCC_STACK_GROWS_DOWNWARD__.
7517 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
7518 __LIBGCC_INIT_SECTION_ASM_OP__.
7519 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7520 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7521 (EH_FRAME_SECTION_NAME): Change all uses to
7522 __LIBGCC_EH_FRAME_SECTION_NAME__.
7523 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
7524 definitions. Change all uses to
7525 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
7526 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
7527 __LIBGCC_STACK_GROWS_DOWNWARD__.
7528 (DWARF_FRAME_REGISTERS): Change all uses to
7529 __LIBGCC_DWARF_FRAME_REGISTERS__.
7530 (EH_RETURN_STACKADJ_RTX): Change all uses to
7531 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7532 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7533 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7534 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7535 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7536 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7537
b20ee094
NS
75382014-09-02 Nathan sidwell <nathan@acm.org>
7539
7540 * libgcov-interface.c (STRONG_ALIAS): New.
7541 (__gcov_flush): Call __gcov_reset_int.
7542 (__gcov_reset): Strong alias for ...
7543 (__gcov_reset_ing): ... this renamed hidden version.
7544 * libgcov.h (__gcov_reset_int): New declaration.
7545
1ac83976
YS
75462014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
7547
25efdb9f
YS
7548 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7549 call from here...
7550 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7551 (__dso_handle): Define on Cygwin.
7552 * config/i386/t-cygming (crtbeginS.o): New rule.
7553 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7554
1ac83976
YS
7555 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7556 declaration syntax.
7557
c6f9ea3b
SE
75582014-08-13 Steve Ellcey <sellcey@mips.com>
7559
7560 * crtstuff.c: Undef caddr_t.
7561
5b1ea7c5
SE
75622014-08-12 Steve Ellcey <sellcey@mips.com>
7563
7564 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
7565
4303c581
NS
75662014-08-07 Nathan Sidwell <nathan@acm.org>
7567
7568 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7569 (LIBGCOV_DRIVER): ... to here.
7570 * libgcov.h (gcov_do_dump): New #define.
7571 (struct gcov_root): New.
7572 (__gcov_root): New declaration.
7573 (__gcov_dump_one): Declare.
7574 * libgcov-driver.c (gcov_list, gcov_dump_complete,
7575 run_accounted): Delete.
7576 (gcov_compute_histogram): Add LIST argument, adjust.
7577 (compute_summary): Adjust gcov_compute_histogram call.
7578 (gcov_do_dump): Not hidden, static in libgcov.
7579 (gcov_clear): Move to interface.c.
7580 (__gcov_dump_one): New, broken out of ...
7581 (gcov_exit): ... here. Make static.
7582 (__gcov_root): New.
7583 (__gcov_init): Adjust.
7584 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7585 declarations.
7586 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7587 (gcov_clear): Moved from driver.c. Add LIST argument.
7588 (__gcov_reset): Adjust for changed interfaces.
7589 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7590
23742a9e
RAR
75912014-08-04 Rohit <rohitarulraj@freescale.com>
7592
7593 PR target/60102
7594 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 7595 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 7596
b98a872b
NS
75972014-08-01 Nathan Sidwell <nathan@acm.org>
7598
7599 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7600 LIBGCOV_INTERFACE): Reformat.
7601 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7602 IN_GCOV_TOOL.
7603 * libgcov-interface.c: Reformat some comments.
7604 (__gcov_flush_mx): Add declaration. Tidy up definition.
7605
6adaaa1d
AM
76062014-07-31 Alan Modra <amodra@gmail.com>
7607 Peter Bergner <bergner@vnet.ibm.com>
7608
7609 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7610 (pack_ldouble): New function.
7611 (__gcc_qadd): Use it.
7612 (__gcc_qmul): Likewise.
7613 (__gcc_qdiv): Likewise.
7614 (__gcc_qneg): Likewise.
7615 (__gcc_stoq): Likewise.
7616 (__gcc_dtoq): Likewise.
7617
87cb0c0c
UW
76182014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
7619
7620 * config/s390/tpf-unwind.h: Include <stdbool.h>.
7621 (__tpf_eh_return): Add original return address as second parameter.
7622 Handle cases where unwinder routines were called directly, instead
7623 of from within the C++ library.
7624
19926161
NS
76252014-07-29 Nathan Sidwell <nathan@acm.org>
7626
7627 * libgcov.h: Move renaming of entry points to lib gcov specific
7628 portion.
7629 (gcov_do_dump): New rename.
7630 (gcov_rewrite): Remove inline, make HIDDEN.
7631 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7632 (gcov_exit_compute_summary): Rename to ...
7633 (compute_summary): ... here. Add LIST argument.
7634 (gcov_exit_merge_gcda): Rename to ...
7635 (merge_one_data): ... here.
7636 (gcov_exit_write_gcda): Rename to ...
7637 (write_one_data): ... here.
7638 (gcov_exit_merge_summary): Rename to ...
7639 (merge_summary): Add RUN_COUNTED argument.
7640 (gcov_exit_dump_gcov): Rename to ...
7641 (dump_one_gcov): Add RUN_COUNTED argument.
7642 (gcov_do_dump): New function, broken out of ...
7643 (gcov_exit): ... here. Call it.
7644
17522262
AG
76452014-07-27 Anthony Green <green@moxielogic.com>
7646
7647 * config.host: Add moxiebox configuration suppport.
7648
6dc33097
NS
76492014-07-27 Nathan Sidwell <nathan@acm.org>
7650
7651 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7652 (struct gcov_filename): ... here. Include buffer and max length
7653 fields.
7654 (gcov_max_filename): Remove.
7655 (gi_filename): Remove.
7656 (gcov_exit_compute_summary): Compute max filename here.
7657 (gcov_exit_merge_gcda): Add filename parm, adjust.
7658 (gcov_exit_merge_summary): Likewise.
7659 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7660 (gcov_exit): Likewise.
7661 (__gcov_init): Don't calculate max length here.
7662 * libgcov_util.c (max_filename_len): Remove.
7663 (read_gcda_file): Don't calculate max length here.
7664 (gcov_read_profile_dir): Don't propagate here.
7665 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7666 struct gcov_filename changes.
7667 (gcov_exit_open_gcda_file): Likewise.
7668
770f687d
NS
76692014-07-25 Nathan Sidwell <nathan@acm.org>
7670
7671 * libgcov-driver.c (set_gcov_dump_complete,
7672 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7673 functions polluting user's namespace.
7674 (gcov_exit): Set variable directly.
7675 (gcov_clear): Reset variable directly.
7676 * libgcov-interface.c (get_gcov_dymp_complete,
7677 reset_gov_dump_complete): Remove declarations.
7678 (__gcov_reset, __gcov_dump): Don't call them.
7679
fabf71ba
DD
76802014-07-24 DJ Delorie <dj@redhat.com>
7681
7682 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
7683 (__gcc_deregister_frame): Move logic to detect deregister function
7684 to ...
7685 (__gcc_register_frame): here, so it's consistent with the register
7686 logic.
fabf71ba 7687
d10ee722
NS
76882014-07-23 Nathan Sidwell <nathan@acm.org>
7689
7690 * libgcov-driver.c (set_gcov_list): Remove.
7691 (gcov_list): Make non-static in GCOV_TOOL.
7692 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7693
a4137090
JDA
76942014-07-17 John David Anglin <danglin@gcc.gnu.org>
7695
7696 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7697 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7698 Don't use SYNC_LOCK_RELEASE for int type.
7699
72602c6c
RB
77002014-07-14 Richard Biener <rguenther@suse.de>
7701
7702 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7703
d5313205
RX
77042014-07-11 Rong Xu <xur@google.com>
7705
7706 * libgcov-util.c (gcov_max_filename): Fix declartion.
7707
c77556a5
RX
77082014-07-10 Rong Xu <xur@google.com>
7709
7710 Add gcov-tool: an offline gcda profile processing tool
7711 Support.
7712 * libgcov-driver.c (gcov_max_filename): Make available
7713 to gcov-tool.
7714 * libgcov-merge.c (__gcov_merge_add): Replace
7715 gcov_read_counter() with a Macro.
7716 (__gcov_merge_ior): Ditto.
7717 (__gcov_merge_time_profile): Ditto.
7718 (__gcov_merge_single): Ditto.
7719 (__gcov_merge_delta): Ditto.
7720 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7721 in the utility functions.
7722 (set_fn_ctrs): Utility function for reading gcda files to in-memory
7723 gcov_list object link lists.
7724 (tag_function): Ditto.
7725 (tag_blocks): Ditto.
7726 (tag_arcs): Ditto.
7727 (tag_lines): Ditto.
7728 (tag_counters): Ditto.
7729 (tag_summary): Ditto.
7730 (read_gcda_finalize): Ditto.
7731 (read_gcda_file): Ditto.
7732 (ftw_read_file): Ditto.
7733 (read_profile_dir_init): Ditto.
7734 (gcov_read_profile_dir): Ditto.
7735 (gcov_read_counter_mem): Ditto.
7736 (gcov_get_merge_weight): Ditto.
7737 (merge_wrapper): A wrapper function that calls merging handler.
7738 (gcov_merge): Merge two gcov_info objects with weights.
7739 (find_match_gcov_info): Find the matched gcov_info in the list.
7740 (gcov_profile_merge): Merge two gcov_info object lists.
7741 (__gcov_add_counter_op): Process edge profile counter values.
7742 (__gcov_ior_counter_op): Process IOR profile counter values.
7743 (__gcov_delta_counter_op): Process delta profile counter values.
7744 (__gcov_single_counter_op): Process single profile counter values.
7745 (fp_scale): Callback function for float-point scaling.
cc86234f 7746 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
7747 (gcov_profile_scale): Scaling profile counters.
7748 (gcov_profile_normalize): Normalize profile counters.
7749 * libgcov.h: Add headers and functions for gcov-tool use.
7750 (gcov_get_counter): New.
7751 (gcov_get_counter_target): Ditto.
7752 (struct gcov_info): Make the functions field mutable in gcov-tool
7753 compilation.
7754
5c7dac8a
KT
77552014-06-23 Kai Tietz <ktietz@redhat.com>
7756
7757 PR libgcc/61585
7758 * unwind-seh.c (_Unwind_GetGR): Check for proper
7759 index range.
7760 (_Unwind_SetGR): Likewise.
7761
161c9312
NC
77622014-05-22 Nick Clifton <nickc@redhat.com>
7763
7764 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7765 -mhwmult=none.
7766
e3f0315f
TJ
77672014-05-22 Teresa Johnson <tejohnson@google.com>
7768
7769 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7770 include.
7771
dbed5a9b
JM
77722014-05-20 John Marino <gnugcc@marino.st>
7773
7774 * config.host (*-*-dragonfly*): New target.
7775 * crtstuff.c: Make dl_iterate_support generic on *bsd.
7776 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7777 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7778 * config/i386/dragonfly-unwind.h: New.
7779
1ec380e5
MR
77802014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7781
7782 PR libgcc/60166
7783 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7784 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7785
54fde020
BE
77862014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
7787
7788 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7789 implementation.
7790
999db125
GJL
77912014-05-12 Georg-Johann Lay <avr@gjlay.de>
7792
7793 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7794
cceaf54a
RO
77952014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7796
7797 PR libgcc/61097
7798 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7799 if --enable-shared.
7800
e3fe9b5b
BE
78012014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
7802
7803 Work around for current cygwin32 build problems.
7804 * config/i386/cygming-crtbegin.c (__register_frame_info,
7805 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7806 functions only for 64-bit systems.
7807
54cf37e9
RO
78082014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7809
7810 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7811 (sigill_caught, sigill_hdlr): Remove.
7812
d9f069ab
RO
78132014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7814
7815 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7816 check.
7817 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7818 Solaris 9 single-threaded support.
7819 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7820 Solaris 9 single-threaded support. Add call_user_handler code
7821 sequences.
7822 (sparc_is_sighandler): Likewise.
7823
59976ef8
AK
78242014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7825
7826 * config.host: Append t-floattodi to tmake_file depending on
7827 host_address.
7828
d02bbcf3
JS
78292014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
7830
31466bc0 7831 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 7832
c2e7e597
UB
78332014-03-10 Uros Bizjak <ubizjak@gmail.com>
7834
7835 PR libgcc/60472
7836 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 7837 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
7838 Use __builtin_expect when checking *jcr_list for NULL.
7839
227a7dc8
RO
78402014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7841
7842 PR libgcc/59339
7843 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7844 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7845 vtv_*.o to extra_parts if enable_vtable_verify.
7846
df2b279c
NC
78472014-03-06 Nick Clifton <nickc@redhat.com>
7848
7849 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7850 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7851
dc11d79b
JY
78522014-02-28 Joey Ye <joey.ye@arm.com>
7853
7854 PR libgcc/60166
7855 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7856 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7857 Set to zero.
7858
341c653c
WL
78592014-02-24 Walter Lee <walt@tilera.com>
7860
7861 * config.host: Support "tilegx*" and "tilepro*" triplets.
7862 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7863 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7864
95ce7613
CLT
78652014-02-20 Sandra Loosemore <sandra@codesourcery.com>
7866 Chung-Lin Tang <cltang@codesourcery.com>
7867
7868 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7869 * config/nios2/crti.S: Remove .file directive.
7870 * config/nios2/crtn.S: Likewise.
7871
0bb4fc05
KT
78722014-02-18 Kai Tietz <ktietz@redhat.com>
7873 Jonathan Schleifer <js@webkeks.org>
7874
7875 PR objc/56870
7876 * unwind-seh.c (_GCC_specific_handler): Pass proper
7877 value to unwind-handler.
7878
9acf28f1
JM
78792014-02-12 Joseph Myers <joseph@codesourcery.com>
7880
7881 * soft-fp/adddf3.c: Update from glibc.
7882 * soft-fp/addsf3.c: Likewise.
7883 * soft-fp/addtf3.c: Likewise.
7884 * soft-fp/divdf3.c: Likewise.
7885 * soft-fp/divsf3.c: Likewise.
7886 * soft-fp/divtf3.c: Likewise.
7887 * soft-fp/double.h: Likewise.
7888 * soft-fp/eqdf2.c: Likewise.
7889 * soft-fp/eqsf2.c: Likewise.
7890 * soft-fp/eqtf2.c: Likewise.
7891 * soft-fp/extenddftf2.c: Likewise.
7892 * soft-fp/extended.h: Likewise.
7893 * soft-fp/extendsfdf2.c: Likewise.
7894 * soft-fp/extendsftf2.c: Likewise.
7895 * soft-fp/extendxftf2.c: Likewise.
7896 * soft-fp/fixdfdi.c: Likewise.
7897 * soft-fp/fixdfsi.c: Likewise.
7898 * soft-fp/fixdfti.c: Likewise.
7899 * soft-fp/fixsfdi.c: Likewise.
7900 * soft-fp/fixsfsi.c: Likewise.
7901 * soft-fp/fixsfti.c: Likewise.
7902 * soft-fp/fixtfdi.c: Likewise.
7903 * soft-fp/fixtfsi.c: Likewise.
7904 * soft-fp/fixtfti.c: Likewise.
7905 * soft-fp/fixunsdfdi.c: Likewise.
7906 * soft-fp/fixunsdfsi.c: Likewise.
7907 * soft-fp/fixunsdfti.c: Likewise.
7908 * soft-fp/fixunssfdi.c: Likewise.
7909 * soft-fp/fixunssfsi.c: Likewise.
7910 * soft-fp/fixunssfti.c: Likewise.
7911 * soft-fp/fixunstfdi.c: Likewise.
7912 * soft-fp/fixunstfsi.c: Likewise.
7913 * soft-fp/fixunstfti.c: Likewise.
7914 * soft-fp/floatdidf.c: Likewise.
7915 * soft-fp/floatdisf.c: Likewise.
7916 * soft-fp/floatditf.c: Likewise.
7917 * soft-fp/floatsidf.c: Likewise.
7918 * soft-fp/floatsisf.c: Likewise.
7919 * soft-fp/floatsitf.c: Likewise.
7920 * soft-fp/floattidf.c: Likewise.
7921 * soft-fp/floattisf.c: Likewise.
7922 * soft-fp/floattitf.c: Likewise.
7923 * soft-fp/floatundidf.c: Likewise.
7924 * soft-fp/floatundisf.c: Likewise.
7925 * soft-fp/floatunditf.c: Likewise.
7926 * soft-fp/floatunsidf.c: Likewise.
7927 * soft-fp/floatunsisf.c: Likewise.
7928 * soft-fp/floatunsitf.c: Likewise.
7929 * soft-fp/floatuntidf.c: Likewise.
7930 * soft-fp/floatuntisf.c: Likewise.
7931 * soft-fp/floatuntitf.c: Likewise.
7932 * soft-fp/gedf2.c: Likewise.
7933 * soft-fp/gesf2.c: Likewise.
7934 * soft-fp/getf2.c: Likewise.
7935 * soft-fp/ledf2.c: Likewise.
7936 * soft-fp/lesf2.c: Likewise.
7937 * soft-fp/letf2.c: Likewise.
7938 * soft-fp/muldf3.c: Likewise.
7939 * soft-fp/mulsf3.c: Likewise.
7940 * soft-fp/multf3.c: Likewise.
7941 * soft-fp/negdf2.c: Likewise.
7942 * soft-fp/negsf2.c: Likewise.
7943 * soft-fp/negtf2.c: Likewise.
7944 * soft-fp/op-1.h: Likewise.
7945 * soft-fp/op-2.h: Likewise.
7946 * soft-fp/op-4.h: Likewise.
7947 * soft-fp/op-8.h: Likewise.
7948 * soft-fp/op-common.h: Likewise.
7949 * soft-fp/quad.h: Likewise.
7950 * soft-fp/single.h: Likewise.
7951 * soft-fp/soft-fp.h: Likewise.
7952 * soft-fp/subdf3.c: Likewise.
7953 * soft-fp/subsf3.c: Likewise.
7954 * soft-fp/subtf3.c: Likewise.
7955 * soft-fp/truncdfsf2.c: Likewise.
7956 * soft-fp/trunctfdf2.c: Likewise.
7957 * soft-fp/trunctfsf2.c: Likewise.
7958 * soft-fp/trunctfxf2.c: Likewise.
7959 * soft-fp/unorddf2.c: Likewise.
7960 * soft-fp/unordsf2.c: Likewise.
7961 * soft-fp/unordtf2.c: Likewise.
7962 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7963 macro.
7964 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7965 Likewise.
7966 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7967 Likewise.
7968 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7969 Likewise.
7970 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7971 Likewise.
7972 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7973 Likewise.
7974 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7975 Likewise.
7976 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7977 Likewise.
7978 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7979 Likewise.
7980 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7981 Likewise.
7982 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7983 Likewise.
7984 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7985 Likewise.
7986 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7987 Likewise.
7988 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7989 Likewise.
7990 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7991 Likewise.
7992 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7993 Likewise.
7994
ce245ec6
AK
79952014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7996
7997 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7998 cannot be represented.
7999 * config/s390/32/_fixsfdi.c: Likewise.
8000 * config/s390/32/_fixtfdi.c: Likewise.
8001 * config/s390/32/_fixunsdfdi.c: Likewise.
8002 * config/s390/32/_fixunssfdi.c: Likewise.
8003 * config/s390/32/_fixunstfdi.c: Likewise.
8004
1c51d688
RS
80052014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
8006
8007 * configure.ac (libgcc_cv_mips_hard_float): New.
8008 * configure: Regenerate.
8009 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
8010 t-softfp-sfdf for hard-float targets.
8011 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
8012 (softfp_float_modes, softfp_int_modes, softfp_extensions)
8013 (softfp_truncations, softfp_exclude_libgcc2): New.
8014 * config/t-hardfp: New file.
8015 * config/t-hardfp-sfdf: Likewise.
8016 * config/hardfp.c: Likewise.
8017
bbf391db
AK
80182014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8019
8020 * config.host: Include t-floattodi also for s390x.
8021 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
8022 * config/s390/32/_fixsfdi.c: Likewise.
8023 * config/s390/32/_fixtfdi.c: Likewise.
8024 * config/s390/32/_fixunsdfdi.c: Likewise.
8025 * config/s390/32/_fixunssfdi.c: Likewise.
8026 * config/s390/32/_fixunstfdi.c: Likewise.
8027
91da0481
RO
80282014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8029
8030 PR target/59788
8031 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
8032 (install-libgcc-unwind-map-forbuild): New target.
8033 (all): Depend on install-libgcc-unwind-map-forbuild.
8034 (install-libgcc-unwind-map): New target.
8035 (install): Depend on install-libgcc-unwind-map.
8036
02b67731
SL
80372014-02-02 Sandra Loosemore <sandra@codesourcery.com>
8038
8039 * config/nios2/crti.S (_init): Initialize GOT pointer from
8040 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
8041
1ea0a651
RS
80422014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
8043
8044 * configure.ac: Check __mips64 when setting host_address.
8045 * configure: Regenerate.
8046 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
8047 mips/t-mips64 and t-softfp.
8048 (mips*-*-linux*): Don't add mips/t-tpbit.
8049 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
8050 (DPBIT, DPBIT_CFLAGS): Delete.
8051 * config/mips/sfp-machine.h: New file.
8052 * config/mips/t-mips64: Likewise.
8053 * config/mips/t-softfp-tf: Likewise.
8054 * config/mips/t-tpbit: Delete.
8055
f32b0061
MS
80562014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
8057
8058 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
8059 as long long.
8060
a5420aa4
WL
80612014-01-25 Walter Lee <walt@tilera.com>
8062
8063 * config/tilepro/atomic.c: Include tconfig.h. Don't include
8064 config.h or system.h.
8065 (bool) Define.
8066
24534912
WL
80672014-01-25 Walter Lee <walt@tilera.com>
8068
8069 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
8070 (post_atomic_barrier): Ditto.
8071 (__fetch_and_do): New macro.
8072 (__atomic_fetch_and_do): Use __fetch_and_do.
8073 (__sync_fetch_and_do): New macro.
8074 (__sync_fetch_and_add_4): New function.
8075 (__sync_fetch_and_sub_4): New function.
8076 (__sync_fetch_and_or_4): New function.
8077 (__sync_fetch_and_and_4): New function.
8078 (__sync_fetch_and_xor_4): New function.
8079 (__sync_fetch_and_nand_4): New function.
8080 (__sync_fetch_and_add_8): New function.
8081 (__sync_fetch_and_sub_8): New function.
8082 (__sync_fetch_and_or_8): New function.
8083 (__sync_fetch_and_and_8): New function.
8084 (__sync_fetch_and_xor_8): New function.
8085 (__sync_fetch_and_nand_8): New function.
8086 (__do_and_fetch): New macro.
8087 (__atomic_do_and_fetch): Use __do_and_fetch.
8088 (__sync_do_and_fetch): New macro.
8089 (__sync_add_and_fetch_4): New function.
8090 (__sync_sub_and_fetch_4): New function.
8091 (__sync_or_and_fetch_4): New function.
8092 (__sync_and_and_fetch_4): New function.
8093 (__sync_xor_and_fetch_4): New function.
8094 (__sync_nand_and_fetch_4): New function.
8095 (__sync_add_and_fetch_8): New function.
8096 (__sync_sub_and_fetch_8): New function.
8097 (__sync_or_and_fetch_8): New function.
8098 (__sync_and_and_fetch_8): New function.
8099 (__sync_xor_and_fetch_8): New function.
8100 (__sync_nand_and_fetch_8): New function.
8101 (__sync_exchange_methods): New macro.
8102 (__sync_val_compare_and_swap_4): New function.
8103 (__sync_bool_compare_and_swap_4): New function.
8104 (__sync_lock_test_and_test_4): New function.
8105 (__sync_val_compare_and_swap_8): New function.
8106 (__sync_bool_compare_and_swap_8): New function.
8107 (__sync_lock_test_and_test_8): New function.
8108 (__subword_cmpxchg_body): New macro.
8109 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
8110 (__atomic_compare_exchange_2): Ditto.
8111 (__sync_subword_cmpxchg): New macro.
8112 (__sync_val_compare_and_swap_1): New function.
8113 (__sync_bool_compare_and_swap_1): New function.
8114 (__sync_val_compare_and_swap_2): New function.
8115 (__sync_bool_compare_and_swap_2): New function.
8116 (__atomic_subword): Rename to ...
8117 (__subword): ... New name.
8118 (__atomic_subword_fetch): Use __subword.
8119 (__sync_subword_fetch): New macro.
8120 (__sync_fetch_and_add_1): New function.
8121 (__sync_fetch_and_sub_1): New function.
8122 (__sync_fetch_and_or_1): New function.
8123 (__sync_fetch_and_and_1): New function.
8124 (__sync_fetch_and_xor_1): New function.
8125 (__sync_fetch_and_nand_1): New function.
8126 (__sync_fetch_and_add_2): New function.
8127 (__sync_fetch_and_sub_2): New function.
8128 (__sync_fetch_and_or_2): New function.
8129 (__sync_fetch_and_and_2): New function.
8130 (__sync_fetch_and_xor_2): New function.
8131 (__sync_fetch_and_nand_2): New function.
8132 (__sync_add_and_fetch_1): New function.
8133 (__sync_sub_and_fetch_1): New function.
8134 (__sync_or_and_fetch_1): New function.
8135 (__sync_and_and_fetch_1): New function.
8136 (__sync_xor_and_fetch_1): New function.
8137 (__sync_nand_and_fetch_1): New function.
8138 (__sync_add_and_fetch_2): New function.
8139 (__sync_sub_and_fetch_2): New function.
8140 (__sync_or_and_fetch_2): New function.
8141 (__sync_and_and_fetch_2): New function.
8142 (__sync_xor_and_fetch_2): New function.
8143 (__sync_nand_and_fetch_2): New function.
8144 (__atomic_subword_lock): Use __subword.
8145 (__sync_subword_lock): New macro.
8146 (__sync_lock_test_and_set_1): New function.
8147 (__sync_lock_test_and_set_2): New function.
8148
4d6d3bc5
WL
81492014-01-25 Walter Lee <walt@tilera.com>
8150
8151 * config/tilepro/atomic.c (BIT_OFFSET): Define.
8152 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
8153 (__atomic_subword): Ditto.
8154
cbd9890e
WL
81552014-01-25 Walter Lee <walt@tilera.com>
8156
8157 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
8158 a prefix op argument.
8159 (__atomic_nand_fetch_4): Add prefix op.
8160 (__atomic_nand_fetch_8): Ditto.
8161
7d296953 81622014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
8163
8164 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
8165
46dd1242
L
81662014-01-09 Rong Xu <xur@google.com>
8167
8168 * libgcov-driver.c (this_prg): make it local to save
8169 bss space.
8170 (gcov_exit_compute_summary): Ditto.
8171 (gcov_exit_merge_gcda): Ditto.
8172 (gcov_exit_merge_summary): Ditto.
8173 (gcov_exit_dump_gcov): Ditto.
8174
cc86234f 81752014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
8176
8177 * libgcov-driver.c: Use libgcov.h.
8178 (buffer_fn_data): Use xmalloc instead of malloc.
8179 (gcov_exit_merge_gcda): Ditto.
8180 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
8181 * libgcov.h: New common header files for libgcov-*.h.
8182 * libgcov-interface.c: Use libgcov.h
8183 * libgcov-merge.c: Ditto.
8184 * libgcov-profiler.c: Ditto.
8185 * Makefile.in: Add dependence to libgcov.h
8186
a02e7bdd
JM
81872014-01-02 Joseph Myers <joseph@codesourcery.com>
8188
8189 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
8190 case of small numerator and finite nonzero result.
8191
ac1dca3c
RS
81922014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
8193
8194 Update copyright years
8195
f9030485
RS
81962014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
8197
8198 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
8199 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
8200 config/arc/dp-hack.h, config/arc/fp-hack.h,
8201 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
8202 config/arc/ieee-754/arc600-dsp/divdf3.S,
8203 config/arc/ieee-754/arc600-dsp/divsf3.S,
8204 config/arc/ieee-754/arc600-dsp/muldf3.S,
8205 config/arc/ieee-754/arc600-dsp/mulsf3.S,
8206 config/arc/ieee-754/arc600-mul64/divdf3.S,
8207 config/arc/ieee-754/arc600-mul64/divsf3.S,
8208 config/arc/ieee-754/arc600-mul64/muldf3.S,
8209 config/arc/ieee-754/arc600-mul64/mulsf3.S,
8210 config/arc/ieee-754/arc600/divsf3.S,
8211 config/arc/ieee-754/arc600/mulsf3.S,
8212 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
8213 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
8214 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
8215 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
8216 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
8217 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
8218 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
8219 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
8220 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
8221 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
8222 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
8223 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
8224 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
8225 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
8226 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
8227 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
8228 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
8229 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
8230 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
8231 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
8232 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
8233 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
8234 vtv_start_preinit.c: Use the standard form for the copyright notice.
8235
e430824f
CLT
82362013-12-31 Sandra Loosemore <sandra@codesourcery.com>
8237 Chung-Lin Tang <cltang@codesourcery.com>
3d3b561f 8238 Based on patches from Altera Corporation
e430824f
CLT
8239
8240 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
8241 * config/nios2/lib2-nios2.h: New file.
8242 * config/nios2/lib2-divmod-hi.c: New file.
8243 * config/nios2/linux-unwind.h: New file.
8244 * config/nios2/lib2-divmod.c: New file.
8245 * config/nios2/linux-atomic.c: New file.
8246 * config/nios2/t-nios2: New file.
8247 * config/nios2/crti.asm: New file.
8248 * config/nios2/t-linux: New file.
8249 * config/nios2/lib2-divtable.c: New file.
8250 * config/nios2/lib2-mul.c: New file.
8251 * config/nios2/tramp.c: New file.
8252 * config/nios2/crtn.asm: New file.
8253
1879e97f
UB
82542013-12-26 Uros Bizjak <ubizjak@gmail.com>
8255
8256 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
8257 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
8258 from cpuid.h to check vendor signatures.
8259
f4a4bdbb
GG
82602013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
8261
c2e7e597 8262 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
8263 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
8264 (get_amd_cpu): Likewise.
8265
8d2ae544
L
82662013-12-25 H.J. Lu <hongjiu.lu@intel.com>
8267
8268 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
8269 Haswell.
8270
74924838
ASJ
82712013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
8272 H.J. Lu <hongjiu.lu@intel.com>
8273
0bb52f25
L
8274 PR target/59422
8275 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
8276 and AMD_JAGUAR.
8277 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
8278 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
8279 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
8280 FEATURE_XOP and FEATURE_FMA.
8281 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
8282 AMDFAM15H_BDVER3.
8283 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 8284 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
8285 FEATURE_FMA4 and FEATURE_XOP.
8286
d3c11974
L
82872013-12-23 H.J. Lu <hongjiu.lu@intel.com>
8288
8289 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
8290 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
8291 (get_intel_cpu): Updated.
8292
064c4ff2
ZC
82932013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
8294
8295 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
8296
8b02e720
UB
82972013-12-09 Uros Bizjak <ubizjak@gmail.com>
8298
8299 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 8300 instructions when __SSE_MATH__ is defined.
8b02e720 8301
3fa2ccb4
RC
83022013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
8303
8304 * config.host (microblaze-*-rtems*): New.
8305
ecd78fc9
KV
83062013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
8307
8308 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
8309 architectures that do not have hardware divide instruction.
8310 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
8311
b21fbbd2
RS
83122013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
8313
8314 * longlong.h: Delete (moved to include/).
8315
b03fb8c9
AZ
83162013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8317
8318 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
8319 of normal number and qNaN to not raise an inexact exception.
8320
3c716922
UB
83212013-11-28 Uros Bizjak <ubizjak@gmail.com>
8322
8323 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
8324
83252013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
8326
8327 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
8328 for correct opcodes on BE.
8329
a3458d22
UB
83302013-11-27 Uros Bizjak <ubizjak@gmail.com>
8331
8332 * soft-fp/op-4.h: Update from glibc.
8333
30b8f78b
KV
83342013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
8335
8336 * libgcc2.c (__udivmoddi4): Define new implementation when
8337 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
8338 divide instructions.
8339
82552a29
OE
83402013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
8341
8342 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
8343
80e87457
RO
83442013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8345
8346 * config/t-softfp (soft-fp-objects-base): New variable.
8347 (soft-fp-objects): Use it.
8348
44178879
DE
83492013-11-23 David Edelson <dje.gcc@gmail.com>
8350 Andrew Dixie <andrewd@gentrack.com>
8351
8352 PR target/33704
8353 * config/rs6000/aixinitfini.c: New file.
8354 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
8355 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
8356 symbols.
8357
e5287671
YR
83582013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
8359
a3458d22 8360 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 8361
867c8b03
JH
83622013-11-18 Jan Hubicka <jh@suse.cz>
8363
7f369373
JH
8364 * libgcov-driver.c (run_accounted): Make global level static.
8365 (gcov_exit_merge_summary): Silence warning; do not clear
8366 run_accounted here.
8367 (gcov_exit): Clear it here.
8368
1d0b3334
JH
8369 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
8370 run_accounted.
8371
867c8b03
JH
8372 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
8373 (all_prg, crc32): Remove static vars.
8374 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
8375 all_prg.
8376 (gcov_exit_merge_gcda): Add crc32 parameter.
8377 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
8378 do not account run if it was already accounted.
8379 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
8380 (gcov_exit): Initialize all_prg; update.
8381
66204992
AS
83822013-11-15 Andreas Schwab <schwab@linux-m68k.org>
8383
8384 * configure: Regenerate.
8385
b54214fe
UW
83862013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8387 Alan Modra <amodra@gmail.com>
8388
8389 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
8390 (frob_update_context): Use it.
8391
83922013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8393 Alan Modra <amodra@gmail.com>
8394
8395 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
8396 (trampoline_initial): Provide ELFv2 variant.
8397 (__trampoline_setup): Likewise.
8398
8399 * config/rs6000/linux-unwind.h (frob_update_context): Do not
8400 check for AIX indirect function call sequence if _CALL_ELF == 2.
8401
84022013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8403 Alan Modra <amodra@gmail.com>
8404
8405 * config/rs6000/linux-unwind.h (get_regs): Do not support
8406 old kernel versions if _CALL_ELF == 2.
8407 (frob_update_context): Do not support PLT stub variants only
8408 generated by old linkers if _CALL_ELF == 2.
8409
13e0981a
UW
84102013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8411 Alan Modra <amodra@gmail.com>
8412
8413 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
8414 location of CR save area for 64-bit little-endian systems.
8415
1a80085d
EB
84162013-11-11 Eric Botcazou <ebotcazou@adacore.com>
8417
8418 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
8419 in tmake_file.
8420 * config/arm/t-vxworks: Delete.
8421
cabeea52
KT
84222013-11-10 Kai Tietz <ktietz@redhat.com>
8423
8424 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
8425 Increment load-count on use of LIBGCC_SONAME DLL.
8426 (hmod_libgcc): New static variable to hold handle of
8427 LIBGCC_SONAME DLL.
8428 (__gcc_deregister_frame): Decrement load-count of
8429 LIBGCC_SONAME DLL.
8430
ac088ba1
BRF
84312013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
8432
8433 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
8434 availability.
8435 * configure: Regenerate
8436
d59a8fcc
UB
84372013-11-07 Uros Bizjak <ubizjak@gmail.com>
8438
8439 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
8440 FP_EX_DENORM. Store result to volatile location after SSE division
8441 to close interrupt window. Remove unneeded fwait after x87
8442 division since interrupt window will be closed by emitted fstp.
9de84e84 8443 Rewrite FP_EX_INEXACT handling.
d59a8fcc 8444
9954c743
JM
84452013-11-06 Joseph Myers <joseph@codesourcery.com>
8446
8447 * soft-fp/README: Update.
8448 * soft-fp/adddf3.c: Update from glibc.
8449 * soft-fp/addsf3.c: Likewise.
8450 * soft-fp/addtf3.c: Likewise.
8451 * soft-fp/divdf3.c: Likewise.
8452 * soft-fp/divsf3.c: Likewise.
8453 * soft-fp/divtf3.c: Likewise.
8454 * soft-fp/double.h: Likewise.
8455 * soft-fp/eqdf2.c: Likewise.
8456 * soft-fp/eqsf2.c: Likewise.
8457 * soft-fp/eqtf2.c: Likewise.
8458 * soft-fp/extenddftf2.c: Likewise.
8459 * soft-fp/extended.h: Likewise.
8460 * soft-fp/extendsfdf2.c: Likewise.
8461 * soft-fp/extendsftf2.c: Likewise.
8462 * soft-fp/extendxftf2.c: Likewise.
8463 * soft-fp/fixdfdi.c: Likewise.
8464 * soft-fp/fixdfsi.c: Likewise.
8465 * soft-fp/fixdfti.c: Likewise.
8466 * soft-fp/fixsfdi.c: Likewise.
8467 * soft-fp/fixsfsi.c: Likewise.
8468 * soft-fp/fixsfti.c: Likewise.
8469 * soft-fp/fixtfdi.c: Likewise.
8470 * soft-fp/fixtfsi.c: Likewise.
8471 * soft-fp/fixtfti.c: Likewise.
8472 * soft-fp/fixunsdfdi.c: Likewise.
8473 * soft-fp/fixunsdfsi.c: Likewise.
8474 * soft-fp/fixunsdfti.c: Likewise.
8475 * soft-fp/fixunssfdi.c: Likewise.
8476 * soft-fp/fixunssfsi.c: Likewise.
8477 * soft-fp/fixunssfti.c: Likewise.
8478 * soft-fp/fixunstfdi.c: Likewise.
8479 * soft-fp/fixunstfsi.c: Likewise.
8480 * soft-fp/fixunstfti.c: Likewise.
8481 * soft-fp/floatdidf.c: Likewise.
8482 * soft-fp/floatdisf.c: Likewise.
8483 * soft-fp/floatditf.c: Likewise.
8484 * soft-fp/floatsidf.c: Likewise.
8485 * soft-fp/floatsisf.c: Likewise.
8486 * soft-fp/floatsitf.c: Likewise.
8487 * soft-fp/floattidf.c: Likewise.
8488 * soft-fp/floattisf.c: Likewise.
8489 * soft-fp/floattitf.c: Likewise.
8490 * soft-fp/floatundidf.c: Likewise.
8491 * soft-fp/floatundisf.c: Likewise.
8492 * soft-fp/floatunditf.c: Likewise.
8493 * soft-fp/floatunsidf.c: Likewise.
8494 * soft-fp/floatunsisf.c: Likewise.
8495 * soft-fp/floatunsitf.c: Likewise.
8496 * soft-fp/floatuntidf.c: Likewise.
8497 * soft-fp/floatuntisf.c: Likewise.
8498 * soft-fp/floatuntitf.c: Likewise.
8499 * soft-fp/gedf2.c: Likewise.
8500 * soft-fp/gesf2.c: Likewise.
8501 * soft-fp/getf2.c: Likewise.
8502 * soft-fp/ledf2.c: Likewise.
8503 * soft-fp/lesf2.c: Likewise.
8504 * soft-fp/letf2.c: Likewise.
8505 * soft-fp/muldf3.c: Likewise.
8506 * soft-fp/mulsf3.c: Likewise.
8507 * soft-fp/multf3.c: Likewise.
8508 * soft-fp/negdf2.c: Likewise.
8509 * soft-fp/negsf2.c: Likewise.
8510 * soft-fp/negtf2.c: Likewise.
8511 * soft-fp/op-1.h: Likewise.
8512 * soft-fp/op-2.h: Likewise.
8513 * soft-fp/op-4.h: Likewise.
8514 * soft-fp/op-8.h: Likewise.
8515 * soft-fp/op-common.h: Likewise.
8516 * soft-fp/quad.h: Likewise.
8517 * soft-fp/single.h: Likewise.
8518 * soft-fp/soft-fp.h: Likewise.
8519 * soft-fp/subdf3.c: Likewise.
8520 * soft-fp/subsf3.c: Likewise.
8521 * soft-fp/subtf3.c: Likewise.
8522 * soft-fp/truncdfsf2.c: Likewise.
8523 * soft-fp/trunctfdf2.c: Likewise.
8524 * soft-fp/trunctfsf2.c: Likewise.
8525 * soft-fp/trunctfxf2.c: Likewise.
8526 * soft-fp/unorddf2.c: Likewise.
8527 * soft-fp/unordsf2.c: Likewise.
8528 * soft-fp/unordtf2.c: Likewise.
8529
02ac9503
UB
85302013-11-05 Uros Bizjak <ubizjak@gmail.com>
8531
8532 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8533 (_FP_MUL_MEAT_D): Ditto.
8534 (_FP_DIV_MEAT_S): Ditto.
8535 (_FP_DIV_MEAT_D): Ditto.
8536 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8537 t-softfp-sfdf and t-softfp to tmake_file.
8538
61221141
UB
85392013-11-03 Uros Bizjak <ubizjak@gmail.com>
8540
8541 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8542 * config/i386/crtprec.c: Ditto.
8543
9304f876
CJW
85442013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
8545 Shiva Chen <shiva0217@gmail.com>
8546
8547 * config.host (nds32*-elf*): Add nds32 target.
8548 * config/nds32 : New directory and files.
8549
0e499e75
HPN
85502013-10-16 Hans-Peter Nilsson <hp@axis.com>
8551
8552 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
8553 * config.host (cpu_type) <Setting default>: Add entry for
8554 crisv32-*-*.
8555 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8556 <crisv32-*-linux*>: Adjust.
8557 * longlong.h: Wrap the whole CRIS section in a single
8558 defined(__CRIS__) conditional. Add comment about add_ssaaaa
8559 and sub_ddmmss.
8560 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8561 defined.
8562 [__CRIS__] (__umulsidi3): Define.
8563 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8564 * config/cris/sfp-machine.h: New file.
8565 * config/cris/umulsidi3.S: New file.
8566 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8567 * config/cris/arit.c (SIGNMULT): New macro.
8568 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8569 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8570 saving 3 out of originally 33 cycles from the fastest
8571 path, 3 out of 54 from the medium path and one from the longest
8572 path. Improve comments.
8573
16022041
RS
85742013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
8575
8576 * sync.c: Remove static aliases and define each function directly
8577 under its real name.
8578
69778659
JDA
85792013-10-02 John David Anglin <danglin@gcc.gnu.org>
8580
8581 * config.host (hppa*64*-*-linux*): Define extra_parts.
8582 (hppa*-*-linux*): Likewise.
8583
2deaf8b0
JR
85842013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
8585
8586 * config/arc/crtgend.S: Add 2013 to Copyright years.
8587 * config/arc/gmon/atomic.h: Likewise.
8588 * config/arc/gmon/auxreg.h: Likewise.
8589 * config/arc/gmon/sys/gmon_out.h: Likewise.
8590 * config/arc/gmon/sys/gmon.h: Likewise.
8591 * config/arc/gmon/prof-freq.c: Likewise.
8592 * config/arc/gmon/mcount.c: Likewise.
8593 * config/arc/gmon/prof-freq-stub.S: Likewise.
8594 * config/arc/gmon/gmon.c: Likewise.
8595 * config/arc/gmon/machine-gmon.h: Likewise.
8596 * config/arc/gmon/profil.S: Likewise.
8597 * config/arc/gmon/dcache_linesz.S: Likewise.
8598 * config/arc/crtg.S: Likewise.
8599 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8600 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8601 * config/arc/ieee-754/adddf3.S: Likewise.
8602 * config/arc/ieee-754/truncdfsf2.S: Likewise.
8603 * config/arc/ieee-754/fixsfsi.S: Likewise.
8604 * config/arc/ieee-754/gtsf2.S: Likewise.
8605 * config/arc/ieee-754/floatsisf.S: Likewise.
8606 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8607 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8608 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8609 * config/arc/ieee-754/fixdfsi.S: Likewise.
8610 * config/arc/ieee-754/addsf3.S: Likewise.
8611 * config/arc/ieee-754/gesf2.S: Likewise.
8612 * config/arc/ieee-754/floatsidf.S: Likewise.
8613 * config/arc/ieee-754/extendsfdf2.S: Likewise.
8614 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8615 * config/arc/ieee-754/gtdf2.S: Likewise.
8616 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8617 * config/arc/ieee-754/uneqdf2.S: Likewise.
8618 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8619 * config/arc/ieee-754/uneqsf2.S: Likewise.
8620 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8621 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8622 * config/arc/ieee-754/eqdf2.S: Likewise.
8623 * config/arc/ieee-754/ordsf2.S: Likewise.
8624 * config/arc/ieee-754/divsf3.S: Likewise.
8625 * config/arc/ieee-754/divdf3.S: Likewise.
8626 * config/arc/ieee-754/floatunsidf.S: Likewise.
8627 * config/arc/ieee-754/orddf2.S: Likewise.
8628 * config/arc/ieee-754/eqsf2.S: Likewise.
8629 * config/arc/ieee-754/gedf2.S: Likewise.
8630 * config/arc/crtn.S: Likewise.
8631 * config/arc/crti.S: Likewise.
8632 * config/arc/t-arc700-uClibc: Likewise.
8633 * config/arc/asm.h: Likewise.
8634 * config/arc/libgcc-excl.ver: Likewise.
8635 * config/arc/t-arc-newlib: Likewise.
8636 * config/arc/divtab-arc700.c: Likewise.
8637 * config/arc/initfini.c: Likewise.
8638 * config/arc/fp-hack.h: Likewise.
8639
c8e318b0
JR
86402013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8641 Diego Novillo <dnovillo@google.com>
8642
8643 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
8644 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8645 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8646 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 8647
d38a64b4
JR
86482013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8649 Brendan Kehoe <brendan@zen.org>
8650 Simon Cook <simon.cook@embecosm.com>
8651
8652 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8653 * config/arc: New directory.
8654 * longlong.h [__arc__] (umul_ppmm): Remove.
8655 [__arc__] (__umulsidi3): Define.
8656 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8657 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8658
dff717d2
JC
86592013-09-17 Jacek Caban <jacek@codeweavers.com>
8660
8661 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8662 CreateSemaphoreA.
8663 * config/i386/gthr-win32.h: Likewise.
8664
5c0029de
DD
86652013-09-16 DJ Delorie <dj@redhat.com>
8666
844ad6c6 8667 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
8668 * config/rl78/lib2mul.c: Enable for RL78/G10.
8669 * config/rl78/lib2div.c: Likewise.
8670 * config/rl78/lshrsi3.S: Use vregs.h.
8671 * config/rl78/cmpsi2.S: Likewise.
8672 * config/rl78/trampoline.S: Likewise.
8673 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
8674
ceb2fc49
DD
86752013-09-14 DJ Delorie <dj@redhat.com>
8676 Nick Clifton <nickc@redhat.com>
8677
8678 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8679 * config/rl78/vregs.h: New.
8680 * config/rl78/signbit.S: New file. Implements signbit function.
8681 * config/rl78/divmodsi.S: New.
8682 * config/rl78/divmodhi.S: New.
8683 * config/rl78/divmodqi.S: New.
8684 * config/rl78/t-rl78: Build them here...
8685 * config/rl78/lib2div.c: ...but not here.
8686
f6a83b4a
DD
86872013-09-12 DJ Delorie <dj@redhat.com>
8688
8689 * config.host (msp*-*-elf): New.
8690 * config/msp430/: New port.
8691
9107b096
IS
86922013-08-18 Iain Sandoe <iain@codesourcery.com>
8693
8694 PR gcov-profile/58127
8695 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8696 __thread var for emulated TLS.
8697 (__gcov_indirect_call_counters): Likewise.
8698
0f9bde1f 86992013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 8700 Catherine Moore <clm@codesourcery.com>
7d296953 8701 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
8702
8703 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8704 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8705 (CALL_STUB_NO_RET): Likewise.
8706 (CALL_STUB_RET): Likewise.
8707 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8708 __mips16_ret call/return stub symbols.
8709 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8710 to tmake_file.
8711
2dc14aac
MR
87122013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
8713
8714 * config.host <mips*-*-linux*>: Remove a stray comment.
8715
748d71f3
JH
87162013-08-10 Jan Hubicka <jh@suse.cz>
8717
8718 Work around binutils PR14342
8719 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8720 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8721 (L_gcov_indirect_call_profiler_v2): New.
8722
2fa3d31b
JH
87232013-08-06 Jan Hubicka <jh@suse.cz>
8724
8725 * libgcov.c (__gcov_indirect_call_callee,
8726 __gcov_indirect_call_counters): New global vars.
8727 (__gcov_indirect_call_profiler): replace by ...
8728 (__gcov_indirect_call_profiler_v2) ... this one.
8729
2077db1b
CT
87302013-08-06 Caroline Tice <cmtice@google.com>
8731
d0595b65 8732 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 8733 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
8734 * configure.ac: Add code to check/set enable_vtable_verify.
8735 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 8736 true.
d0595b65
CT
8737 * vtv_start_preinit.c: New file.
8738 * vtv_end_preinit.c: New file.
8739 * vtv_start.c: New file.
8740 * vtv_end.c: New file.
8741 * configure: Regenerated.
2077db1b 8742
46549c20
MK
87432013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
8744
8745 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8746 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8747 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8748 GPL-3.0-with-GCC-exception.
8749
72be589b
MR
87502013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
8751
8752 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8753 ISA and up.
8754
902a3faf
AK
87552013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8756
8757 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8758 mapping for FPRs when creating the fallback framestate.
8759
02371798
GJL
87602013-07-19 Georg-Johann Lay <avr@gjlay.de>
8761
8762 PR target/57516
8763 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8764 (__round_s2_const, __round_u2_const)
8765 (__round_s4_const, __round_u4_const, __round_x8):
8766 Saturate result if addition result cannot be represented.
8767
ab0e8379
MK
87682013-07-15 Matthias Klose <doko@ubuntu.com>
8769
8770 * libgcc2.c: Don't include <limits.h>.
8771
7da38058
JJ
87722013-07-09 Janis Johnson <janisjo@codesourcery.com>
8773
8774 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8775
1f6eac90
JJ
87762013-07-06 Jakub Jelinek <jakub@redhat.com>
8777
8778 PR target/29776
8779 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8780
4ea3d774
JJ
87812013-06-28 Jakub Jelinek <jakub@redhat.com>
8782
8783 PR middle-end/36041
8784 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8785 Define.
8786 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8787 instead of table lookups.
8788 (__popcountDI2): Likewise.
8789
9d2cdf25
CJW
87902013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
8791
8792 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8793 correctly.
8794
fa1e55b0
JM
87952013-06-21 Joseph Myers <joseph@codesourcery.com>
8796
8797 PR other/53317
8798 * soft-fp/adddf3.c: Update from glibc.
8799 * soft-fp/addsf3.c: Likewise.
8800 * soft-fp/addtf3.c: Likewise.
8801 * soft-fp/divdf3.c: Likewise.
8802 * soft-fp/divsf3.c: Likewise.
8803 * soft-fp/divtf3.c: Likewise.
8804 * soft-fp/double.h: Likewise.
8805 * soft-fp/eqdf2.c: Likewise.
8806 * soft-fp/eqsf2.c: Likewise.
8807 * soft-fp/eqtf2.c: Likewise.
8808 * soft-fp/extenddftf2.c: Likewise.
8809 * soft-fp/extended.h: Likewise.
8810 * soft-fp/extendsfdf2.c: Likewise.
8811 * soft-fp/extendsftf2.c: Likewise.
8812 * soft-fp/fixdfdi.c: Likewise.
8813 * soft-fp/fixdfsi.c: Likewise.
8814 * soft-fp/fixsfdi.c: Likewise.
8815 * soft-fp/fixsfsi.c: Likewise.
8816 * soft-fp/fixtfdi.c: Likewise.
8817 * soft-fp/fixtfsi.c: Likewise.
8818 * soft-fp/fixunsdfdi.c: Likewise.
8819 * soft-fp/fixunsdfsi.c: Likewise.
8820 * soft-fp/fixunssfdi.c: Likewise.
8821 * soft-fp/fixunssfsi.c: Likewise.
8822 * soft-fp/fixunstfdi.c: Likewise.
8823 * soft-fp/fixunstfsi.c: Likewise.
8824 * soft-fp/floatdidf.c: Likewise.
8825 * soft-fp/floatdisf.c: Likewise.
8826 * soft-fp/floatditf.c: Likewise.
8827 * soft-fp/floatsidf.c: Likewise.
8828 * soft-fp/floatsisf.c: Likewise.
8829 * soft-fp/floatsitf.c: Likewise.
8830 * soft-fp/floatundidf.c: Likewise.
8831 * soft-fp/floatundisf.c: Likewise.
8832 * soft-fp/floatunditf.c: Likewise.
8833 * soft-fp/floatunsidf.c: Likewise.
8834 * soft-fp/floatunsisf.c: Likewise.
8835 * soft-fp/floatunsitf.c: Likewise.
8836 * soft-fp/gedf2.c: Likewise.
8837 * soft-fp/gesf2.c: Likewise.
8838 * soft-fp/getf2.c: Likewise.
8839 * soft-fp/ledf2.c: Likewise.
8840 * soft-fp/lesf2.c: Likewise.
8841 * soft-fp/letf2.c: Likewise.
8842 * soft-fp/muldf3.c: Likewise.
8843 * soft-fp/mulsf3.c: Likewise.
8844 * soft-fp/multf3.c: Likewise.
8845 * soft-fp/negdf2.c: Likewise.
8846 * soft-fp/negsf2.c: Likewise.
8847 * soft-fp/negtf2.c: Likewise.
8848 * soft-fp/op-1.h: Likewise.
8849 * soft-fp/op-2.h: Likewise.
8850 * soft-fp/op-4.h: Likewise.
8851 * soft-fp/op-8.h: Likewise.
8852 * soft-fp/op-common.h: Likewise.
8853 * soft-fp/quad.h: Likewise.
8854 * soft-fp/single.h: Likewise.
8855 * soft-fp/soft-fp.h: Likewise.
8856 * soft-fp/subdf3.c: Likewise.
8857 * soft-fp/subsf3.c: Likewise.
8858 * soft-fp/subtf3.c: Likewise.
8859 * soft-fp/truncdfsf2.c: Likewise.
8860 * soft-fp/trunctfdf2.c: Likewise.
8861 * soft-fp/trunctfsf2.c: Likewise.
8862 * soft-fp/unorddf2.c: Likewise.
8863 * soft-fp/unordsf2.c: Likewise.
8864 * soft-fp/unordtf2.c: Likewise.
8865 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8866 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8867 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8868 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8869 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8870 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8871 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8872 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8873 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8874 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8875 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8876 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8877
0de86a92
JU
88782013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
8879
8880 * config/mips/lib2funcs.c: New file.
8881 * config/mips/t-mips (LIB2ADD_ST): Add it.
8882
0d008882
OE
88832013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
8884
8885 PR target/6526
8886 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8887 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
8888
776434d1
WL
88892013-06-08 Walter Lee <walt@tilera.com>
8890
8891 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8892 Replace int64_t with long long. Add __extension__ where
8893 appropriate.
8894 * config/tilepro/atomic.c: Include config.h.
8895
6ab3ebb4
DR
88962013-06-06 Douglas B Rupp <rupp@adacore.com>
8897
8898 * config.host (arm-wrs-vxworks): Configure with other soft float.
8899
107eea2c
JU
89002013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
8901
8902 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8903 (mips64r5900el-*-elf*): New configurations.
8904
5cc19c62
AM
89052013-06-04 Alan Modra <amodra@gmail.com>
8906
8907 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8908
0f1d3965
YR
89092013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
8910
8911 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8912
0ba045df
EB
89132013-05-28 Eric Botcazou <ebotcazou@adacore.com>
8914
8915 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8916 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8917 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8918
49dcafd4
EB
89192013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8920
8921 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8922 (powerpc-wrs-vxworks): Likewise.
8923
4fcb5d87
EB
89242013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8925
8926 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8927 signal frames as well.
8928 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8929 STACK_BIAS to the CFA offset.
8930
0ec33224
RH
89312013-05-17 Richard Henderson <rth@redhat.com>
8932
8933 PR target/49146
8934 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8935 (execute_cfa_program): Use it when storing to fs->regs.
8936
492a8029
KT
89372013-05-08 Kai Tietz <ktietz@redhat.com>
8938
8939 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8940 (__deregister_frame_info): Likewise.
8941
701e2f0a
TS
89422013-05-06 Thomas Schwinge <thomas@codesourcery.com>
8943
e5123d08
TS
8944 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8945 NaN's payload.
8946
701e2f0a
TS
8947 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8948
b9a7eb5d
AM
89492013-04-25 Alan Modra <amodra@gmail.com>
8950
8951 * config.host: Match little-endian powerpc-linux.
8952
dfe192f5
YZ
89532013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
8954
8955 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8956 as 'unsigned long long' instead of 'unsigned long'.
8957 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8958 'signed long'.
8959
b6b9af2f
JB
89602013-04-10 Julian Brown <julian@codesourcery.com>
8961
8962 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8963 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8964 unsigned char/unsigned short.
8965 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8966
ecabdd00
JDA
89672013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8968
8969 PR other/55274
8970 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8971
34652576
MI
89722013-04-04 Meador Inge <meadori@codesourcery.com>
8973
8974 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8975 computing the location of the link register.
8976 (aeabi_uldivmod): Ditto.
8977
e9fd8c19
KT
89782013-03-27 Kai Tietz <ktietz@redhat.com>
8979
8980 * config.host: Add support for cygwin x64 target.
8981 * configure: Regenerated.
8982
a6406324
WL
89832013-03-26 Walter Lee <walt@tilera.com>
8984
8985 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8986 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8987
55446c7e
KT
89882013-03-25 Kai Tietz <ktietz@redhat.com>
8989
8990 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8991
d2ae19d9
RM
89922013-03-20 Robert Mason <rbmj@verizon.net>
8993
8994 * config/vxlib-tls.c (__gthread_get_tsd_data,)
8995 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8996 (__gthread_leave_tsd_dtor_context): Add prototypes.
8997 (tls_delete_hook): Update.
8998
22c4c869
CM
89992013-03-20 Catherine Moore <clm@codesourcery.com>
9000 Joseph Myers <joseph@codesourcery.com>
9001 Chao-ying Fu <fu@mips.com>
9002
9003 * config/mips/mips16.S: Don't build for microMIPS.
9004 * config/mips/linux-unwind.h: Handle microMIPS frame.
9005 * config/mips/crtn.S (fini, init): New labels.
9006
fbd28bc3
JJ
90072013-03-14 Jakub Jelinek <jakub@redhat.com>
9008
9009 PR tree-optimization/53265
9010 * unwind-dw2.c (execute_cfa_program): Avoid
9011 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
9012 on targets with DWARF_FRAME_REGISTERS < 32.
9013
decc676e
OE
90142013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
9015
9016 PR target/49880
9017 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
9018 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
9019
84ea618a
ST
90202013-03-07 Sriraman Tallam <tmsriram@google.com>
9021
9022 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
9023 sandybridge processors.
9024
8f6d1c86
OE
90252013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
9026
9027 PR target/56529
9028 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
9029 inclusion list.
9030
ecdbd01a 90312013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
9032
9033 * config/microblaze/crti.S: Setup stack protection at entry
9034
0b4ce21b
GJL
90352013-03-04 Georg-Johann Lay <avr@gjlay.de>
9036
9037 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
9038 (__rotldi3): Shift bytewise if applicable.
9039
b7c3f1ca
JG
90402013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
9041
9042 * config/aarch64/sync-cache.c
9043 (__aarch64_sync_cache_range): Silence warnings.
9044
6d65e8f1
CM
90452013-02-25 Catherine Moore <clm@codesourcery.com>
9046
9047 Revert:
9048 2013-02-24 Catherine Moore <clm@codesourcery.com>
9049 Joseph Myers <joseph@codesourcery.com>
9050 Chao-ying Fu <fu@mips.com>
9051
9052 * config/mips/mips16.S: Don't build for microMIPS.
9053 * config/mips/linux-unwind.h: Handle microMIPS frame.
9054 * config/mips/crtn.S (fini, init): New labels.
9055
6941b508
CM
90562013-02-24 Catherine Moore <clm@codesourcery.com>
9057 Joseph Myers <joseph@codesourcery.com>
9058 Chao-ying Fu <fu@mips.com>
9059
9060 * config/mips/mips16.S: Don't build for microMIPS.
9061 * config/mips/linux-unwind.h: Handle microMIPS frame.
9062 * config/mips/crtn.S (fini, init): New labels.
9063
7c422dbb 90642012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 9065 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
9066 as dividend.
9067
110207ad
AM
90682013-02-16 Alan Modra <amodra@gmail.com>
9069
9070 PR target/55431
9071 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
9072 (ppc_fallback_frame_state): Always set up save locations for fp
9073 and altivec. Don't bother with non-callee-saved regs, r0-r13
9074 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
9075
e68a4ef6
GJL
90762013-02-12 Georg-Johann Lay <avr@gjlay.de>
9077
9078 PR target/54222
9079 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
9080 _ssmulHA, _ssmulSA.
9081 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
9082 _ssmulha3, _usmulusa3, _ssmulsa3.
9083 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
9084 (__muldi3): XCALL __muldi3_6 instead of rcall.
9085 (__umulsidi3, __mulsidi3): New functions.
9086 (do_prologue_saves, do_epilogue_restores): New .macros.
9087 (__divdi3_moddi3): Use them.
9088 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
9089 (__usmulusa3, __ssmulsa3): New functions.
9090
6c59ffd1
IS
90912013-02-11 Iain Sandoe <iain@codesourcery.com>
9092 Jack Howarth <howarth@bromo.med.uc.edu>
9093 Patrick Marlier <patrick.marlier@gmail.com>
9094
9095 PR libitm/55693
9096 * config/darwin-crt-tm.c: Remove dummy functions hack.
9097
85d768f3
GJL
90982013-02-08 Georg-Johann Lay <avr@gjlay.de>
9099
9100 PR target/54222
9101 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
9102 * config/avr/lib2-object.mk: New iterator to build objects from it.
9103 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
9104 lib2funcs.c.
9105 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
9106 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
9107 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
9108 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
9109 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
9110 * config/avr/lib1funcs-fixed.S: Implement them.
9111
5d5bf775
RS
91122013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
9113
9114 Update copyright years.
9115
99113dff
DE
91162013-02-01 David Edelsohn <dje.gcc@gmail.com>
9117
9118 PR target/54601
9119 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
9120 Add crtcxa to extra_parts.
9121 * config/rs6000/exit.h: New file.
9122 * config/rs6000/cxa_atexit.c: New file.
9123 * config/rs6000/cxa_finalize.c: New file.
9124 * config/rs6000/crtcxa.c: New file.
9125 * config/rs6000/t-aix-cxa: New file.
9126 * config/rs6000/libgcc-aix-cxa.ver: New file.
9127
dbdbd982
NC
91282013-01-31 Nick Clifton <nickc@redhat.com>
9129
9130 * config/v850/lib1funcs.S: Add support for e3v5 architecture
9131 variant.
9132
5893f158
GJL
91332013-01-29 Georg-Johann Lay <avr@gjlay.de>
9134
9135 PR target/54222
9136 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
9137 _mulQQ, _mulHQ, _mulHA, _mulSA,
9138 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
9139 _divQQ, _divHQ, _divHA, _divSA,
9140 _divUQQ, _divUHQ, _divUHA, _divUSA.
9141
ecdbd01a 91422013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 9143
dbdbd982 9144 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
9145 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
9146 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
9147 to exclude functions from being built with libgcc.c and use
9148 the microblaze assembly.
9149
ecdbd01a 91502013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
9151
9152 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
9153 extra_parts.
9154
922c57d1
YZ
91552013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
9156
9157 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
9158 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
9159 __UINTPTR_TYPE__; also cast 'base' to the same type before the
9160 alignment operation.
9161
e0f8b6a0
SN
91622013-01-15 Sofiane Naci <sofiane.naci@arm.com>
9163
9164 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
9165 loop start address for cache clearing.
9166
00892272
GJL
91672013-01-14 Georg-Johann Lay <avr@gjlay.de>
9168
9169 * config/avr/lib1funcs.S: Remove trailing blanks.
9170 * config/avr/lib1funcs-fixed.S: Ditto.
9171
e59ec5fd
GJL
91722013-01-14 Georg-Johann Lay <avr@gjlay.de>
9173
9174 * config/avr/avr-lib.h: Add GPL copyright notice.
9175
3ffc1958
GJL
91762013-01-14 Georg-Johann Lay <avr@gjlay.de>
9177
9178 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
9179 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
9180 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
9181 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
9182
25c210f9
MK
91832013-01-07 Mark Kettenis <kettenis@openbsd.org>
9184
9185 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
9186 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 9187
db59befb
NC
91882013-01-04 Nick Clifton <nickc@redhat.com>
9189
9190 * config/v850/lib1funcs.S: Only provide CALLT support functions if
9191 the CALLT instruction is supported.
9192
5aa12dbf
JW
91932012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
9194
9195 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
9196 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
9197
65f14117
JT
91982012-12-13 John Tytgat <John@bass-software.com>
9199
9200 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
9201 is 25.
9202
ee3ae4f7
JJ
92032012-12-12 Jakub Jelinek <jakub@redhat.com>
9204
9205 PR libgcc/55451
9206 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
9207 undefined signed overflows.
9208
2fcfba3d
UB
92092012-12-09 Uros Bizjak <ubizjak@gmail.com>
9210
9211 PR target/55344
9212 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
9213
4f2b3dc2
UB
92142012-12-06 Uros Bizjak <ubizjak@gmail.com>
9215
9216 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
9217 (FP_TRAPPING_EXCEPTIONS): Define.
9218 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
9219 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
9220
066161a2
RH
92212012-12-04 Richard Henderson <rth@redhat.com>
9222
9223 PR bootstrap/55571
9224 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
9225
7d296953 92262012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 9227
4f2b3dc2 9228 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
9229 (FP_EX_SHIFT): Define.
9230 (FP_TRAPPING_EXCEPTIONS): Define.
9231
7d296953 92322012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
9233
9234 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
9235 (FP_ROUNDMODE): Use FP_RND_MASK.
9236 * config/aarch64/sfp-exceptions.c: New.
9237 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9238 Use __sfp_handle_exceptions.
9239
5005fe22
RE
92402012-12-04 Richard Earnshaw <rearnsha@arm.com>
9241
9242 * config.host: (arm*-*-freebsd*): Remove.
9243 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
9244 (arm*-*-elf*): Remove.
9245 (arm*-*-wince-pe*): Remove.
9246 * arm/unwind-arm.c (struct fpa_reg): Delete.
9247 (struct fpa_regs): Delete.
9248 (phase1_vrs): Remove fpa element.
9249 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
9250 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
9251 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
9252 * ieee754-sf.S (floatundisf): Remove FPA support.
9253 (floatdisf): Likewise.
9254 * ieee75f-df.S (floatundidf): Likewise.
9255 (floatdidf): Likewise.
9256
e5a81c8e
KT
92572012-11-29 Kai Tietz <ktietz@redhat.com>
9258
9259 PR target/55445
9260 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
9261 * unwind-generic.h: Likewise.
9262 * unwind-seh.c: Likewise.
9263
f4919e4a
RH
92642012-11-28 Richard Henderson <rth@redhat.com>
9265
9266 PR libgcc/48076
9267 * emutls.c (__emutls_get_address): Avoid race condition between
9268 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 9269
e13d9d5a
GJL
92702012-11-22 Georg-Johann Lay <avr@gjlay.de>
9271
9272 Adjust decimal point of signed accum mode to GCC default.
9273
9274 PR target/54222
9275 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
9276 _divqq_helper.
9277 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
9278 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
9279 (__mulha3, __mulsa3)
9280 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
9281 decimal point of signed accum types.
9282
e13d9d5a
GJL
9283 (__mulusa3_round): New function.
9284 (__mulusa3): Use it.
9285 (__divqq_helper): New function.
9286 (__udivuqq3): Use it.
9287
1b845c6e
JJ
92882012-11-20 Jakub Jelinek <jakub@redhat.com>
9289
9290 PR bootstrap/55370
9291 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
9292
822a258a
TJ
92932012-11-18 Teresa Johnson <tejohnson@google.com>
9294
9295 PR bootstrap/55051
9296 * libgcov.c (gcov_exit): Remove merged program summary
9297 comparison unless !GCOV_LOCKED.
9298
7d296953 92992012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
9300
9301 * soft-fp: Updated from glibc upstream.
9302
e808687a
ILT
93032012-11-06 Ian Lance Taylor <iant@google.com>
9304
9305 * generic-morestack.c (__generic_morestack): Align the returned
9306 stack pointer to a 32 byte boundary.
9307 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
9308 increment the return address until we have decided that we don't
9309 have a varargs function.
9310 (__morestack) [32-bit]: Align stack correctly when calling C
9311 functions.
9312 (__morestack) [64-bit]: Likewise.
9313
460277e0
TS
93142012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9315
9316 * configure: Regenerate.
9317
73edb277
UB
93182012-11-02 Uros Bizjak <ubizjak@gmail.com>
9319
9320 PR target/55175
9321 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
9322 * config/i386/sfp-machine.h: Guard exception handling
9323 code with _SOFT_FLOAT.
9324 * config/i386/32/sfp-machine.h: Guard rounding handling
9325 code with _SOFT_FLOAT.
9326 * config/i386/64/sfp-machine.h: Ditto.
9327
c1d4fa04
JS
93282012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
9329
9330 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
9331 as extra_parts.
9332
eff6ca85
UB
93332012-10-26 Uros Bizjak <ubizjak@gmail.com>
9334
9335 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
9336 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
9337 when appropriate. Correct structure element types.
9338 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
9339 -minline-all-stringops from compile flags.
9340
7d296953 93412012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
9342
9343 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
9344
7d296953 93452012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 9346
eff6ca85 9347 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 9348
6f288860
SH
93492012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
9350
9351 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
9352 tmake_file.
9353
1e3d5096
IB
93542012-10-23 Ian Bolton <ian.bolton@arm.com>
9355 Jim MacArthur <jim.macarthur@arm.com>
9356 Marcus Shawcroft <marcus.shawcroft@arm.com>
9357 Nigel Stephens <nigel.stephens@arm.com>
9358 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
9359 Richard Earnshaw <rearnsha@arm.com>
9360 Sofiane Naci <sofiane.naci@arm.com>
9361 Stephen Thomas <stephen.thomas@arm.com>
9362 Tejas Belagod <tejas.belagod@arm.com>
9363 Yufeng Zhang <yufeng.zhang@arm.com>
9364
9365 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
9366 * config/aarch64/crti.S: New file.
9367 * config/aarch64/crtn.S: New file.
9368 * config/aarch64/linux-unwind.h: New file.
9369 * config/aarch64/sfp-machine.h: New file.
9370 * config/aarch64/sync-cache.c: New file.
9371 * config/aarch64/t-aarch64: New file.
9372 * config/aarch64/t-softfp: New file.
9373
8a740f07
HPN
93742012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
9375
9376 * config/mmix/crti.S: Mark program and data addresses using PRELD.
9377 Remove typo'd and unnecessary alignment-LOC for .data. Remove
9378 no-longer-needed LDBU insns.
9379
7d296953 93802012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
9381
9382 * config.host
9383 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
9384 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
9385
595fefee
MGD
93862012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9387
9388 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
9389
9945a876
MK
93902012-10-15 Matthias Klose <doko@ubuntu.com>
9391
9392 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
9393
1183dc2c
PC
93942012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
9395
9396 * configure: Regenerate.
9397 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
9398
945a9c1f
UB
93992012-10-10 Uros Bizjak <ubizjak@gmail.com>
9400
9401 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
9402 instructions for 64bit targets only.
9403
fb8bf47a
UB
94042012-10-10 Uros Bizjak <ubizjak@gmail.com>
9405
9406 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9407 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
9408 * config/i386/32/sfp-machine.h: ... here.
9409 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
9410 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
9411 New defines.
9412
acb72498
MK
94132012-10-07 Matthias Klose <doko@ubuntu.com>
9414
9415 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
9416 as unused.
9417 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
9418
8eaee0f0
MK
94192012-10-06 Mark Kettenis <kettenis@openbsd.org>
9420
9421 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
9422 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
9423 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
9424 (ElfW): Likewise.
9425
5e3e4fe8
JW
94262012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
9427
9428 PR other/53889
9429 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9430 Fix parameter names.
9431
86086376
OE
94322012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
9433
9434 PR target/33135
9435 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
9436 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
9437 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
9438
9597375a
OE
94392012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
9440
9441 PR target/50457
9442 * config/sh/linux-atomic.S: Delete.
9443 * config/sh/linux-atomic.c: New.
9444 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
9445 linux-atomic.c. Add cflags to disable warnings.
9446
1504e3e1
JW
94472012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9448
9449 PR other/53889
9450 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
9451 function.
9452 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
9453 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
9454 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
9455 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
9456 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
9457 Likewise.
1504e3e1
JW
9458 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9459 Likewise.
9460 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
9461 Likewise.
9462 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
9463 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
9464
17f293b0
MK
94652012-09-19 Mark Kettenis <kettenis@openbsd.org>
9466
9597375a
OE
9467 * config.host (hppa-*-openbsd*): New target.
9468 * config/pa/t-openbsd: New file.
17f293b0 9469
51526856
GJL
94702012-09-15 Georg-Johann Lay <avr@gjlay.de>
9471
9472 PR target/54222
9473 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
9474 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
9475 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
9476 (__divsa3): Use __negsi2 to negate r_quoL.
9477 * config/avr/lib1funcs.S (FALIAS): New macro.
9478 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
9479 (__negsi2): ...this new function.
9480 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
9481 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
9482 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
9483 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
9484 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
9485 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
9486
aadb5b43
OE
94872012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
9488
9489 PR target/54089
9490 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
9491 (lshrsi3): Reimplement as lshrsi3_r0.
9492
d5d66749
AS
94932012-09-10 Andreas Schwab <schwab@linux-m68k.org>
9494
9495 PR target/46191
9496 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
9497 of libgcc.a.
9498
c6c36e73
TJ
94992012-09-07 Teresa Johnson <tejohnson@google.com>
9500
9597375a 9501 PR gcov-profile/54487
c6c36e73 9502 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 9503 differences.
c6c36e73 9504
b588ae30
GJL
95052012-09-05 Georg-Johann Lay <avr@gjlay.de>
9506
9507 PR target/54461
9508 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
9509 not configured --with-avrlibc=no.
9510 * config/avr/t-avrlibc: New file.
9511 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
9512 (DPBIT_FUNCS): Ditto.
9513 (TPBIT_FUNCS): Ditto.
9514
abd16fb1
TJ
95152012-09-04 Teresa Johnson <tejohnson@google.com>
9516
9517 * libgcov.c (struct gcov_summary_buffer): New structure.
9518 (gcov_histogram_insert): New function.
9519 (gcov_compute_histogram): Ditto.
9520 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
9521 histograms during summary merging.
9522
613061fd
MK
95232012-09-01 Mark Kettenis <kettenis@openbsd.org>
9524
9525 * config.host (x86_64-*-openbsd*): New target.
73edb277 9526
867a8345
CLT
95272012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
9528
9529 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9530 attribute.
9531
4aeaaca3
GJL
95322012-08-24 Georg-Johann Lay <avr@gjlay.de>
9533
9534 PR target/54222
9535 * config/avr/t-avr (conv_X): Rename to func_X.
9536
e55e4056
GJL
95372012-08-24 Georg-Johann Lay <avr@gjlay.de>
9538
9539 PR target/54222
9540 * config/avr/lib1funcs-fixed.S: New file.
9541 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
9542 after they are used.
9543 (neg2, neg4): New macros.
9544 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9545 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9546 (__umulhisi3): Speed up MUL variant if there is enough flash.
9547 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9548 avr-modes.def.
9549 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9550 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9551 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9552 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9553 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9554 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9555 (LIB2FUNCS_EXCLUDE): Add supported functions.
9556
a147b6d2
GJL
95572012-08-22 Georg-Johann Lay <avr@gjlay.de>
9558
9559 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9560 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9561 libgcc-s-objects.
9562 * fixed-obj.mk: Only expand dependency if $o is not in
9563 LIB2FUNCS_EXCLUDE.
9564
c637141a
L
95652012-08-22 H.J. Lu <hongjiu.lu@intel.com>
9566
9567 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9568
130e00bd
JM
95692012-08-22 Joseph Myers <joseph@codesourcery.com>
9570
9571 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9572 depend on --enable-shared.
9573 ($(lib1asmfuncs-o)): Use %.vis files independent of
9574 --enable-shared.
9575 * static-object.mk ($(base)$(objext), $(base).vis)
9576 ($(base)_s$(objext)): Use same rules for visibility handling as in
9577 shared-object.mk.
9578
4b1b3788
ILT
95792012-08-21 Ian Lance Taylor <iant@google.com>
9580
9581 * config/i386/morestack.S (__morestack_non_split): Increase amount
9582 of space allocated for non-split code stack.
9583
d2468141
JM
95842012-08-19 Joseph Myers <joseph@codesourcery.com>
9585
9586 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9587 even if inhibit_libc.
9588
a508e1a8
JB
95892012-08-17 Julian Brown <julian@codesourcery.com>
9590
9591 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9592 -fexceptions -fnon-call-exceptions if not defined.
9593 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9594 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9595
5615a07d
AS
95962012-08-17 Andreas Schwab <schwab@linux-m68k.org>
9597
9598 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9599 type.
9600
138f5acd
DE
96012012-08-16 David Edelsohn <dje.gcc@gmail.com>
9602
9603 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9604 rs6000/t-slibgcc-aix.
9605
18efc0dd
SB
96062012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9607
9608 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9609
6b39bc38
SB
96102012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9611
9612 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9613
cd25dea0
L
96142012-08-03 H.J. Lu <hongjiu.lu@intel.com>
9615
9616 PR driver/54171
9617 * Makefile.in (version): Replace top_srcdir with srcdir.
9618
a3dda30b
JY
96192012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
9620
9621 * Makefile.in (version): set to BASE-VER file from gcc directory.
9622
d04aacfc
NC
96232012-08-01 Nick Clifton <nickc@redhat.com>
9624
9625 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9626 Implements __clrsb for an HImode argument.
9627
0d13c974
NC
96282012-07-31 Nick Clifton <nickc@redhat.com>
9629
9630 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9631 Implements __clrsb for an HImode argument.
9632 * config/stormy16/clrsbhi2.c: New file:
9633 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9634
efbb59b2
SB
96352012-07-22 Steven Bosscher <steven@gcc.gnu.org>
9636
9637 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9638
bf1431e3
TG
96392012-07-19 Tristan Gingold <gingold@adacore.com>
9640 Richard Henderson <rth@redhat.com>
9641
9642 * unwind-seh.c: New file.
9643 * unwind-generic.h: Include windows.h for SEH.
9644 (_Unwind_Exception): Use 6 private fields for SEH.
9645 (_GCC_specific_handler): Declare.
9646 * unwind-c.c (__gcc_personality_seh0): New function.
9647 Adjust for SEH.
9648 * config/i386/libgcc-cygming.ver: New file.
9649 * config/i386/t-seh-eh: New file.
9650 * config.host (x86_64-*-mingw*): Default to seh.
9651
659140c8
SB
96522012-07-14 Steven Bosscher <steven@gcc.gnu.org>
9653
9654 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9655
a20d08fd
UB
96562012-06-17 Uros Bizjak <ubizjak@gmail.com>
9657
9658 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9659 __builtin_expect when checking for exceptions.
9660 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9661
79261115
UB
96622012-06-13 Uros Bizjak <ubizjak@gmail.com>
9663
4a172156
UB
9664 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9665 function declaration.
9666 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9667 (FP_RND_MASK): New.
9668 * config/ia64/sfp-exceptions.c: New.
9669 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 9670
bb5c97d4
UB
96712012-06-13 Uros Bizjak <ubizjak@gmail.com>
9672
9673 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9674 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9675 * config/i386/64/sfp-machine: ... (delete here) ...
9676 * config/i386/sfp-machine.h: ... to here.
9677 (FP_EX_MASK): Remove.
9678 (FP_RND_MASK): New.
9679 (FP_INIT_ROUNDMODE): Declare asm as volatile.
9680
91fe5efb
ST
96812012-06-11 Sriraman Tallam <tmsriram@google.com>
9682
9683 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9684 * config/i386/libgcc-sol2.ver: Ditto.
9685 * config/i386/libgcc-glibc.ver: Ditto.
9686
67a218c5
RM
96872012-06-11 Roland McGrath <mcgrathr@google.com>
9688
9689 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9690 If __GLIBC__ is defined, refer to __pthread_key_create instead of
9691 pthread_cancel.
9692
492fbea1
UB
96932012-06-09 Uros Bizjak <ubizjak@gmail.com>
9694
9695 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9696 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9697 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9698 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9699 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9700 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9701 * config/i386/64/sfp-machine: ... (delete here) ...
9702 * config/i386/sfp-machine.h: ... to here.
9703 (FP_EX_MASK): New.
9704 (__sfp_handle_exceptions): New function declaration.
9705 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9706 * config/i386/sfp-exceptions.c: New.
9707 * config/i386/t-softfp: New.
9708 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9709 i386/t-softfp to tmake_file.
9710
7b4cf266
DM
97112012-06-03 David S. Miller <davem@davemloft.net>
9712
9713 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9714 change.
9715
0de0d5c6
DM
97162012-05-31 David S. Miller <davem@davemloft.net>
9717
9718 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9719 multiply and divide instructions on 32-bit when V9.
9720 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9721
d8c9d391
JM
97222012-05-29 Joseph Myers <joseph@codesourcery.com>
9723
9724 * config/arm/ieee754-df.S: Fix typos.
9725 * config/arm/ieee754-sf.S: Fix typos.
9726 * config/c6x/libunwind.S: Fix typos.
9727 * config/epiphany/udivsi3-float.c: Fix typos.
9728 * config/microblaze/muldi3_hard.S: Fix typos.
9729 * config/picochip/adddi3.S: Fix typos.
9730 * config/picochip/ashlsi3.S: Fix typos.
9731 * config/picochip/ashrsi3.S: Fix typos.
9732 * config/picochip/clzsi2.S: Fix typos.
9733 * config/picochip/cmpsi2.S: Fix typos.
9734 * config/picochip/divmod15.S: Fix typos.
9735 * config/picochip/divmodhi4.S: Fix typos.
9736 * config/picochip/divmodsi4.S: Fix typos.
9737 * config/picochip/longjmp.S: Fix typos.
9738 * config/picochip/lshrsi3.S: Fix typos.
9739 * config/picochip/parityhi2.S: Fix typos.
9740 * config/picochip/popcounthi2.S: Fix typos.
9741 * config/picochip/setjmp.S: Fix typos.
9742 * config/picochip/subdi3.S: Fix typos.
9743 * config/picochip/ucmpsi2.S: Fix typos.
9744 * config/picochip/udivmodhi4.S: Fix typos.
9745 * config/picochip/udivmodsi4.S: Fix typos.
9746 * config/spu/divv2df3.c: Fix typos.
9747 * config/spu/mfc_multi_tag_release.c: Fix typos.
9748 * config/spu/mfc_tag_release.c: Fix typos.
9749 * configure.ac: Fix typos.
9750 * configure: Regenerate.
9751
31a18a7e
ILT
97522012-05-25 Ian Lance Taylor <iant@google.com>
9753
9754 * config/i386/morestack.S (__morestack_non_split): Check whether
9755 caller is varargs and needs %bp to hold the stack frame on return.
9756
c5768510
OH
97572012-05-25 Olivier Hainque <hainque@adacore.com>
9758
9759 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9760 sequence in the non pic case on VxWorks.
9761
7c7c339b
OH
97622012-05-24 Olivier Hainque <hainque@adacore.com>
9763
73fb7630 9764 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
9765 "install-leaf" to "install".
9766
fdc1b7d3
OH
97672012-05-24 Olivier Hainque <hainque@adacore.com>
9768
9769 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9770 Use a separate command for stamp removals.
9771
07ba94b9
AP
97722012-05-21 Andrew Pinski <apinski@cavium.com>
9773
9774 PR bootstrap/53183
9775 * configure.ac: Define the default includes to being none.
9776 * configure: Regenerate.
9777
4677d2eb
OH
97782012-05-16 Olivier Hainque <hainque@adacore.com>
9779
9780 * Makefile.in (install-unwind_h): Rename into ...
9781 (install-unwind_h-forbuild): New target.
9782 (all): Use it instead of the former install-unwind_h.
9783 (install-unwind_h): Reinstate, copy to user install destination
9784 for include files, not to the internal gcc object directory one.
9785 (install-leaf): Depend on it.
9786
7d67c380
OH
97872012-05-15 Olivier Hainque <hainque@adacore.com>
9788
9789 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9790 register numbers. LR_REGNO replaces R_LR.
9791 (ucontext_for): New, helper for ...
9792 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9793 and 5.3 of ...
9794 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9795
aca06c90
RO
97962012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9797
9798 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9799 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9800 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9801 i386/t-cpuinfo ...
9802 (i[34567]86-*-*, x86_64-*-*): ... here.
9803
9804 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9805 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9806
9807 * config/i386/i386-cpuinfo.c: Rename to ...
9808 * config/i386/cpuinfo.c: ... this.
9809 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9810
9811 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9812 (libgcc_cv_init_priority): New test.
9813 * configure: Regenerate.
9814 * config.in: New file.
9815 * Makefile.in (clean): Rename config.h to auto-target.h.
9816 (config.h): Likewise.
9817 (stamp-h): Likewise.
9818
9819 * config/i386/cpuinfo.c (auto-target.h): Include.
9820 (CONSTRUCTOR_PRIORITY): Define.
9821 (__cpu_indicator_init): Use it.
9822
0d03ac1b
L
98232012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9824
9825 * longlong.h: Use a URL instead of an FSF postal address.
9826 Replace spaces with tab.
9827
4a172156 98282012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
9829
9830 * libgcov.c (gcov_clear, __gcov_reset): New functions.
9831 (__gcov_dump): Ditto.
9832 (gcov_dump_complete): New global variable.
9833 (gcov_exit): Export hidden to enable use in L_gcov_dump.
9834 (__gcov_flush): Outline functionality now in gcov_clear.
9835 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9836
e4bb767e
AJ
98372012-04-28 Aurelien Jarno <aurelien@aurel32.net>
9838
31a18a7e
ILT
9839 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9840 (mips*-*-linux*): Include mips/t-tpbit when long double is
9841 16 bytes long.
e4bb767e 9842
5ddecff9
ST
98432012-04-25 Sriraman Tallam <tmsriram@google.com>
9844
9845 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9846 (get_available_features): New argument. Check for AVX2.
9847 (__cpu_indicator_init): Modify call to get_available_features.
9848
b427dd7a
AM
98492012-04-25 Alan Modra <amodra@gmail.com>
9850
9851 * config/rs6000/crtsavevr.S: New file.
9852 * config/rs6000/crtrestvr.S: New file.
9853 * config/rs6000/t-savresfgpr: Build the above.
9854 * config/rs6000/t-netbsd: Likewise.
9855
ad491329
ST
98562012-04-24 Sriraman Tallam <tmsriram@google.com>
9857
9858 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9859
792317cc
ST
98602012-04-24 Sriraman Tallam <tmsriram@google.com>
9861
9862 * libgcc/config/i386/i386-cpuinfo.c: New file.
9863 * libgcc/config/i386/t-cpuinfo: New file.
9864 * libgcc/config.host: Include t-cpuinfo.
9865 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9866
e1be98a4
CF
98672012-04-24 Chao-ying Fu <fu@mips.com>
9868
9869 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9870
1bde7dab
TS
98712012-04-20 Thomas Schwinge <thomas@codesourcery.com>
9872
9873 struct siginfo vs. siginfo_t
9874
9875 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9876 siginfo_t instead of struct siginfo.
9877 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9878 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9879 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9880 (ia64_handle_unwabi): Likewise.
9881 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9882 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9883 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9884 (sh_fallback_frame_state): Likewise.
9885 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9886 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9887
24590f66
L
98882012-04-02 H.J. Lu <hongjiu.lu@intel.com>
9889
9890 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9891 system call number.
9892
9a9dcce8
EB
98932012-03-31 Eric Botcazou <ebotcazou@adacore.com>
9894
9895 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9896 if it hasn't been previously saved.
9897
6401aaf5
L
98982012-03-29 H.J. Lu <hongjiu.lu@intel.com>
9899
9900 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9901 only for glibc.
9902
7fd6378e
GJL
99032012-03-28 Georg-Johann Lay <avr@gjlay.de>
9904
9905 PR target/52737
9906 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9907 instead of __AVR_HAVE_8BIT_SP__.
9908
9e916de7
TG
99092012-03-26 Tristan Gingold <gingold@adacore.com>
9910
9911 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9912 (unw_table_entry): Use unw_word instead of unsigned long.
9913 (_Unwind_FindTableEntry): Likewise.
9914 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9915 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9916 (_Unwind_FindTableEntry): Likewise.
9917 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9918 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9919 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9920 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9921 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9922 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9923 (uw_init_context_1, uw_install_context): Likewise.
9924 (unw_word): Move to unwind-ia64.h
9925
4b12e93d
TG
99262012-03-26 Tristan Gingold <gingold@adacore.com>
9927
9928 * config/vms/vms-ucrt0.c: Update copyright years.
9929 Add a sanity check.
9930 (___gcc_main_flags): Declare.
9931 (__main): Check flags to remap argv and exit code.
9932 * config.host (*-*-*vms*): Adjust extra_parts.
9933 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9934 (crt0.o): Add.
9935
06ea7371
RE
99362012-03-22 Richard Earnshaw <rearnsha@arm.com>
9937
9938 * arm/lib1funcs.asm (ctzsi2): New function.
9939 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9940 * arm/t-linux (LIB1ASMFUNCS): Likewise.
9941 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9942 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9943 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9944 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9945
d82ad50d
AT
99462012-03-21 Andreas Tobler <andreast@fgznet.ch>
9947
9948 * config.host: Add bits to support powerpc64-*-freebsd*.
9949 * config/rs6000/freebsd-unwind.h: New file.
9950 * config/rs6000/t-freebsd64: New file.
9951
b260a8c0
RG
99522012-03-20 Richard Guenther <rguenther@suse.de>
9953
9954 PR gcov-profile/52627
9955 * libgcov.c (init_mx): Fix mutex name.
9956
86286a8a
TG
99572012-03-16 Tristan Gingold <gingold@adacore.com>
9958
9959 * config/ia64/vms-unwind.h: Remove ulong (and replace
9960 it by unw_reg where used). Define unw_reg with __int64.
9961
7888f266
RO
99622012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9963
9964 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9965 Solaris 8 handling.
9966 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9967 Solaris 8 handling.
9968 (sparc_is_sighandler): Likewise.
9969
f155bc64
L
99702012-03-13 H.J. Lu <hongjiu.lu@intel.com>
9971
9972 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9973 <= saved reg size.
9974
d47657bd
RO
99752012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9976
9977 * config/arm/crtn.S: Fix typo.
9978
5bef73a1
RG
99792012-03-13 Richard Guenther <rguenther@suse.de>
9980
9981 * libgcov.c: Remove stdio.h include and NULL un-define.
9982
9c4271f3
RG
99832012-03-13 Richard Guenther <rguenther@suse.de>
9984
9985 PR target/52569
9986 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9987
c6d10e7c
RG
99882012-03-13 Richard Guenther <rguenther@suse.de>
9989
9990 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9991
074a385f
RG
99922012-03-13 Richard Guenther <rguenther@suse.de>
9993
9994 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9995 and __gthread_mutex_init_function definitions.
9996
c4bc5c25
RO
99972012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9998
9999 * config.host (mips*-*-openbsd*): Remove.
10000
5c30094f
RO
100012012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10002
10003 * config.host: Remove alpha*-dec-osf5.1* handling.
10004 * config/alpha/gthr-posix.c: Remove.
10005 * config/alpha/libgcc-osf5.ver: Remove.
10006 * config/alpha/osf5-unwind.h: Remove.
10007 * config/alpha/t-osf-pthread: Remove.
10008 * config/alpha/t-slibgcc-osf: Remove.
10009 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
10010 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
10011 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
10012 * mkmap-flat.awk: Remove osf_export handling.
10013
33e3e24d
RG
100142012-03-12 Richard Guenther <rguenther@suse.de>
10015
10016 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
10017 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
10018 (__gthread_mutex_init_function): New function.
10019 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
10020
10021 PR gcov/49484
10022 * libgcov.c: Include gthr.h.
10023 (__gcov_flush_mx): New global variable.
10024 (init_mx, init_mx_once): New functions.
10025 (__gcov_flush): Protect self with a mutex.
10026 (__gcov_fork): Re-initialize mutex after forking.
10027 * unwind-dw2-fde.c: Change condition under which to use
10028 __GTHREAD_MUTEX_INIT_FUNCTION.
10029
d8aba32a
TG
100302012-03-12 Tristan Gingold <gingold@adacore.com>
10031
10032 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
10033 * config/ia64/t-vms: Likewise.
10034
75ffafdc
MH
100352012-03-11 Michael Hope <michael.hope@linaro.org>
10036
4a172156
UB
10037 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
10038 for Thumb-2.
75ffafdc 10039
ef6c2c53
WL
100402012-03-07 Walter Lee <walt@tilera.com>
10041
10042 * config/tilepro/atomic.c: Rename "atomic_" prefix to
10043 "arch_atomic_".
10044 (atomic_xor): Rename and move definition to
10045 config/tilepro/atomic.h.
10046 (atomic_nand): Ditto.
10047 * config/tilepro/atomic.h: Rename "atomic_" prefix to
10048 "arch_atomic_".
10049 (arch_atomic_xor): Move from config/tilepro/atomic.c.
10050 (arch_atomic_nand): Ditto.
10051
4e30d980
GJL
100522012-03-07 Georg-Johann Lay <avr@gjlay.de>
10053
10054 PR target/52507
10055 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
10056
61108225
GJL
100572012-03-07 Georg-Johann Lay <avr@gjlay.de>
10058
10059 PR target/52505
10060 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
10061 from RAM.
10062
b30e10ab
GJL
100632012-03-07 Georg-Johann Lay <avr@gjlay.de>
10064
10065 PR target/52461
10066 PR target/52508
10067 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
10068 if RAMPZ affects reading from RAM.
10069 (__tablejump_elpm__): Ditto.
10070 (.xload): Ditto.
10071 (__movmemx_hi): Ditto.
10072 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
10073 (__do_global_dtors): Ditto.
10074 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
10075 (__movmemx_hi): Ditto.
10076
8993fde4
RH
100772012-03-05 Richard Henderson <rth@redhat.com>
10078
10079 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
10080 [ARM] (count_trailing_zeros): Use the builtin.
10081
b7633ee3
KT
100822012-03-01 Kai Tietz <ktietz@redhat.com>
10083
10084 * soft-fp: Imported from glibc upstream.
10085
fbd3340c
KT
100862012-02-28 Kai Tietz <ktietz@redhat.com>
10087
10088 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
10089 for mingw-targets as attribute gcc_struct.
10090
e9e053eb
ILT
100912012-02-28 Ian Lance Taylor <iant@google.com>
10092
10093 * generic-morestack.c (__splitstack_releasecontext): Correct call
10094 to __morestack_release_segments.
10095
d80c632e
ST
100962012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10097
10098 PR target/52390
10099 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
10100 for __linux__ when removing signals from __morestack_fullmask.
10101
0253a8b1
GJL
101022012-02-23 Georg-Johann Lay <avr@gjlay.de>
10103
10104 PR target/52261
10105 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
10106
e10e461e
UW
101072012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10108
10109 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
10110 instead of HAVE_INITFINI_ARRAY.
10111 * config/ia64/crtend.S: Likewise.
10112
0c0c6398
KT
101132012-02-20 Kai Tietz <ktietz@redhat.com>
10114
d7470374
KT
10115 PR libstdc++/52300
10116 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
10117
0c0c6398
KT
10118 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
10119 to w32-unwind.h header.
10120
78c27266
RS
101212012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
10122
10123 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
10124 (mips*-*-linux*): Remove t-slibgcc-libgcc.
10125 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
10126 * config/mips/mips16.S (__mips16_rdhwr): Delete.
10127
5adeb246
RS
101282012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
10129
10130 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
10131
672ed313
IS
101322012-02-15 Iain Sandoe <iains@gcc.gnu.org>
10133
10134 PR libitm/52220
10135 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 10136
e948a1fb
IS
101372012-02-15 Iain Sandoe <iains@gcc.gnu.org>
10138 Patrick Marlier <patrick.marlier@gmail.com>
10139
10140 PR libitm/52220
10141 * config/darwin-crt-tm.c: Generate dummy functions.
10142
6017aed3
IS
101432012-02-15 Iain Sandoe <iains@gcc.gnu.org>
10144 Patrick Marlier <patrick.marlier@gmail.com>
10145
10146 PR libitm/52042
10147 * config/darwin-crt-tm.c (getTMCloneTable): New function.
10148 (__doTMRegistrations): Call it.
e9e053eb 10149 (__doTMdeRegistrations): Likewise.
6017aed3 10150
2da8c1ad 101512012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
10152 Anatoly Sokolov <aesok@post.ru>
10153 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
10154
10155 PR target/52261
10156 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
10157 (__epilogue_restores__): Ditto.
10158
0f952eb4
EB
101592012-02-15 Eric Botcazou <ebotcazou@adacore.com>
10160
10161 PR target/51921
10162 PR target/52205
10163 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
10164 Solaris 11 and slightly reformat.
10165 (sparc_is_sighandler): Likewise.
10166
dd552284
WL
101672012-02-14 Walter Lee <walt@tilera.com>
10168
10169 * config.host: Handle tilegx and tilepro.
10170 * config/tilegx/sfp-machine.h: New file.
10171 * config/tilegx/sfp-machine32.h: New file.
10172 * config/tilegx/sfp-machine64.h: New file.
10173 * config/tilegx/t-crtstuff: New file.
10174 * config/tilegx/t-softfp: New file.
10175 * config/tilegx/t-tilegx: New file.
10176 * config/tilepro/atomic.c: New file.
10177 * config/tilepro/atomic.h: New file.
10178 * config/tilepro/linux-unwind.h: New file.
10179 * config/tilepro/sfp-machine.h: New file.
10180 * config/tilepro/softdivide.c: New file.
10181 * config/tilepro/softmpy.S: New file.
10182 * config/tilepro/t-crtstuff: New file.
10183 * config/tilepro/t-tilepro: New file.
10184
b59cbd50
JW
101852012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
10186
10187 PR libstdc++/51296
10188 PR libstdc++/51906
10189 * gthr-posix.h: Allow static initializer macros to be disabled.
10190 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
10191
6caf807f
CLT
101922012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
10193
10194 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
10195 Add t-slibgcc-libgcc to tmake_file.
10196 * config/mips/libgcc-mips16.ver: Revert previous patch.
10197 * config/mips/mips16.S (__mips16_rdhwr): Hide.
10198
7d296953
JJ
101992012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
10200 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
10201
10202 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
10203 * config/cr16/crti.S: New file.
10204 * config/cr16/crtlibid.S: New file.
10205 * config/cr16/crtn.S: New file.
10206 * config/cr16/lib1funcs.S: New file.
10207 * config/cr16/t-cr16: New file.
10208 * config/cr16/t-crtlibid: New file.
10209 * config/cr16/unwind-dw2.h: New file.
10210 * config/cr16/unwind-cr16.c: New file.
10211 * config/cr16/divmodhi3.c: New file.
10212
8ef03aa7
AM
102132012-01-25 Alan Modra <amodra@gmail.com>
10214
10215 * config/rs6000/t-linux64: Delete. Move..
10216 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
10217 * config/rs6000/t-linux: ..and libgcc flags to here.
10218
daecebc8
DR
102192012-01-22 Douglas B Rupp <rupp@gnat.com>
10220
10221 * config.host (i[34567]86-*-interix3*):
8ef03aa7 10222 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
10223 * configure: Regenerate.
10224
ddaf8125
RS
102252012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
10226 Richard Sandiford <rdsandiford@googlemail.com>
10227
10228 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
10229 * config/mips/mips16.S (__mips16_rdhwr): New function.
10230 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
10231
2cd8b32c
NS
102322012-01-11 Nathan Sidwell <nathan@acm.org>
10233
10234 * libgcov.c (__gcov_init): Ignore objects with no functions.
10235
cba300dd
GJL
102362012-01-10 Georg-Johann Lay <avr@gjlay.de>
10237
10238 PR target/49868
10239 Extend __pgmx semantics to linearize memory.
10240 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
10241 * config/avr/lib1funcs.S (__xload_1): New function.
10242 (__movmemx_qi, __movmemx_hi): New functions.
10243 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
10244 semantics.
9ffaf4bc 10245
3d137660
EB
102462012-01-09 Eric Botcazou <ebotcazou@adacore.com>
10247
10248 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
10249 purported sigacthandler address isn't null before dereferencing it.
10250 (sparc_is_sighandler): Likewise.
10251
bf4db96c
EB
102522012-01-09 Eric Botcazou <ebotcazou@adacore.com>
10253
10254 PR ada/41929
10255 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
10256 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
10257 (sparc_is_sighandler): Likewise.
10258 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
10259
1ab3568b
TG
102602012-01-06 Tristan Gingold <gingold@adacore.com>
10261
10262 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
10263 compatibility thunks...
10264 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
10265 (crtbeginS.o, crtendS.o): ... and these to ...
10266 * config/ia64/t-ia64-elf: ... this new file.
10267 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
10268 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
10269
925b0ed8
AK
102702012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10271
10272 * configure: Regenerate.
10273 * config/s390/t-crtstuff: Remove -fPIC.
10274
a99ad737
JW
102752012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
10276
10277 PR bootstrap/51006
10278 * enable-execute-stack-mprotect.c (getpagesize): Do not define
10279 for NetBSD.
10280
884f56d1
GJL
102812012-01-02 Georg-Johann Lay <avr@gjlay.de>
10282
10283 PR target/51345
10284 * config/avr/lib1funcs.S: Remove FIXME comments.
10285 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
10286
8c57e547
GJL
102872012-01-02 Georg-Johann Lay <avr@gjlay.de>
10288
10289 Implement light-weight DImode support.
10290 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
10291 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
10292 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
10293 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
10294
04dbc287
NS
102952011-12-30 Nathan Sidwell <nathan@acm.org>
10296
10297 * libgcov.c (gcov_crc32): Remove global var.
10298 (free_fn_data): New function.
10299 (buffer_fn_data): Pass in filename, more robust error recovery.
10300 (crc32_unsigned): New function.
10301 (gcov_exit): More robust detection of new program. More robust
10302 error recovery.
10303 (__gcov_init): Do not update program's crc here.
10304
8e1d97d4
TG
103052011-12-21 Tristan Gingold <gingold@adacore.com>
10306
10307 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
10308
9ffaf4bc
ILT
103092011-12-21 Ian Lance Taylor <iant@google.com>
10310
10311 * config/i386/morestack.S: Simplify CFI opcodes throughout.
10312
a0c8d0c1
ILT
103132011-12-20 Ian Lance Taylor <iant@google.com>
10314
10315 * config/i386/morestack.S (__morestack_non_split): If there is
10316 enough stack space already, don't split. Ask for more stack space
10317 than we required.
10318
69048898
SDJ
103192011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
10320
10321 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
10322 `sys/sdt.h'.
10323 (_Unwind_DebugHook): New function.
10324 (uw_restore_core_regs): New define.
10325 (unwind_phase2): Use uw_restore_core_regs instead of
10326 restore_core_regs.
10327 (unwind_phase2_forced): Likewise.
10328 (__gnu_Unwind_Resume): Likewise.
10329
1bb4b6a3
UB
103302011-12-20 Uros Bizjak <ubizjak@gmail.com>
10331
10332 * config/alpha/linux-unwind.h: Update copyright years.
10333 (MD_FROB_UPDATE_CONTEXT): New define.
10334 (alpha_frob_update_context): New function.
10335
eb028768
RS
103362011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
10337
10338 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
10339 tmake_file rather replacing it.
10340
6a2045bf
IS
103412011-12-15 Iain Sandoe <iains@gcc.gnu.org>
10342
10343 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 10344 function is not used for PPC64.
6a2045bf
IS
10345 (save_world): Amend comments. Update the VRsave mask to reflect the
10346 saved regs.
10347 (rest_world): Update comments, do not clobber r10, do not use r8.
10348 (eh_rest_world_r10): Amend comments, do not use r8.
10349 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
10350 no longer used, move restore of CR and target address to the end of
10351 the routine.
10352
a13780a6
L
103532011-12-14 H.J. Lu <hongjiu.lu@intel.com>
10354
10355 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
10356 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
10357
d7288dfb
GJL
103582011-12-14 Georg-Johann Lay <avr@gjlay.de>
10359
10360 PR target/49313
10361 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
10362 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
10363
8d2c862d
EB
103642011-12-11 Eric Botcazou <ebotcazou@adacore.com>
10365
10366 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
10367
3447cae6
GJL
103682011-12-09 Georg-Johann Lay <avr@gjlay.de>
10369
10370 PR target/49313
10371 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
10372 * config/avr/lib1funcs.S (__muldi3): New function.
10373
806fc6aa
AP
103742011-12-06 Andrew Pinski <apinski@cavium.com>
10375
10376 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
10377 size of func_ptr.
10378 (__frame_dummy_init_array_entry): Likewise.
10379
28c5e6b5
GJL
103802011-12-06 Georg-Johann Lay <avr@gjlay.de>
10381
10382 Forward-port from gcc-4_6-branch r181936 2011-12-02.
10383
10384 PR target/51345
10385 PR target/51002
10386 * config/avr/lib1funcs.S (__prologue_saves__,
10387 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
10388 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
10389
8f90394a
IS
103902011-12-04 Iain Sandoe <iains@gcc.gnu.org>
10391
10392 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
10393
06dd33ac
JDA
103942011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10395
10396 PR other/51272
10397 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
10398 (_ITM_deregisterTMCloneTable): Likewise.
10399 (__register_frame_info): Fix unused warning.
10400 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
10401 pthread_default_stacksize_np): Likewise.
10402 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 10403
85b8555e
DD
104042011-11-29 DJ Delorie <dj@redhat.com>
10405
10406 * config.host (rl78-*-elf): New case.
10407 * config/rl78: New directory for the Renesas RL78.
10408
4d5ae4ea
BS
104092011-11-29 Bernd Schmidt <bernds@codesourcery.com>
10410
10411 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
10412 formatting.
10413
f9c55897
RO
104142011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10415
10416 PR other/51022
10417 * config/rs6000/t-savresfgpr: New file.
10418 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
10419 $(srcdir)/config/rs6000/eabi.S.
10420 * config/rs6000/t-ppccomm-ldbl: Remove.
10421 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
10422 tmake_file.
10423 (powerpc-*-eabispe*): Likewise.
10424 (powerpc-*-eabi*): Likewise.
10425 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10426 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
10427 to tmake_file, remove rs6000/t-ppccomm-ldbl.
10428 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
10429 tmake_file.
10430 (powerpc-*-eabisim*): Likewise.
10431 (powerpc-*-elf*): Likewise.
10432 (powerpc-*-eabialtivec*): Likewise.
10433 (powerpc-xilinx-eabi*): Likewise.
10434 (powerpc-*-rtems*): Likewise.
10435 (powerpcle-*-elf*): Likewise.
10436 (powerpcle-*-eabisim*): Likewise.
10437 (powerpcle-*-eabi*): Likewise.
10438
a01207c4
ILT
104392011-11-27 Ian Lance Taylor <iant@google.com>
10440
10441 * generic-morestack.c (__splitstack_find): Check for NULL old
10442 stack value.
10443 (__splitstack_resetcontext): New function.
10444 (__splitstack_releasecontext): New function.
10445 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10446
2b0b8ab2
IS
104472011-11-27 Iain Sandoe <iains@gcc.gnu.org>
10448
10449 * config/darwin-crt-tm.c: Correct comments, use correct licence.
10450
c1d8101c
IS
104512011-11-27 Iain Sandoe <iains@gcc.gnu.org>
10452
10453 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
10454
8b281334
RH
104552011-11-26 Richard Henderson <rth@redhat.com>
10456
10457 * config/m68k/linux-atomic.c: New file.
10458 * config/m68k/t-linux: New file.
10459 * config.host (m68k-uclinux, m68k-linux): Use it.
10460
7546aa9d
RH
104612011-11-26 Richard Henderson <rth@redhat.com>
10462
10463 * crtstuff.c (__TMC_LIST__): Mark used not unused.
10464 (__TMC_END__): Only declare if hidden is available; in the definition,
10465 if hidden is unavailable add a null record.
10466 (deregister_tm_clones, register_tm_clones): New.
10467 (__do_global_dtors_aux, frame_dummy): Use them.
10468 (__do_global_dtors, __do_global_ctors_1): Likewise.
10469
e2362f5d
IS
104702011-11-22 Iain Sandoe <iains@gcc.gnu.org>
10471
10472 * config/darwin-crt-tm.c: New file.
10473 * config.host (darwin): Build crttms.o crttme.o to provide
10474 startup and shutdown for tm clones.
10475 * config/t-darwin (crttms.o): New build rule.
10476 (crttme.o): Likewise.
10477
6685dd96
HPN
104782011-11-21 Hans-Peter Nilsson <hp@axis.com>
10479
10480 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
10481 et al.
10482
b0dc7e4c
RH
104832011-11-21 Richard Henderson <rth@redhat.com>
10484
10485 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
10486 (__TMC_LIST__, __TMC_END__): New.
10487 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
10488 (__do_global_dtors): Likewise.
10489 (frame_dummy): Call _ITM_registerTMCloneTable.
10490 (__do_global_ctors_1): Likewise.
10491
d4b4b542
RO
104922011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10493
10494 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
10495 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10496 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
10497 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
10498 * config/i386/t-darwin64: Remove.
10499 * config/sh/t-netbsd (LIB2ADD): Remove.
10500
989bdb74
GJL
105012011-11-21 Georg-Johann Lay <avr@gjlay.de>
10502
10503 PR target/49313
10504 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
10505 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
10506 * config/avr/lib1funcs.S (wmov): New assembler macro.
10507 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
10508 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
10509 (__udivmod64): New function.
10510 (__negdi2): New function.
10511
515a0cfc
GP
105122011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
10513
10514 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
10515 *-*-freebsd*aout*): Remove.
10516
0115d17f
HPN
105172011-11-20 Hans-Peter Nilsson <hp@axis.com>
10518
10519 * static-object.mk (c_flags-$o): Save c_flags.
10520 ($(base)$(objext)): Use it.
10521
93aeb62b
SE
105222011-11-18 Steve Ellcey <sje@cup.hp.com>
10523
10524 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
10525
7bc6df2c
GJL
105262011-11-18 Georg-Johann Lay <avr@gjlay.de>
10527
10528 PR target/49868
10529 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10530 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10531 New functions.
10532
425d737b
MGD
105332011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
10534
10535 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10536 functions.
1bb4b6a3 10537 (aeabi_uidivmod): Likewise.
425d737b
MGD
10538 (umodsi3): Likewise.
10539 (divsi3): Likewise.
10540 (aeabi_idivmod): Likewise.
10541 (modsi3): Likewise.
10542
f2a176dc
TG
105432011-11-16 Tristan Gingold <gingold@adacore.com>
10544
10545 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10546
7c209481
GJL
105472011-11-15 Georg-Johann Lay <avr@gjlay.de>
10548
10549 PR target/49868
10550 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
10551 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10552
9dfd5832
JDA
105532011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10554
10555 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10556 tmake_file list.
10557 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10558 * config/pa/t-stublib64: Delete.
10559
f77dca5d
RH
105602011-11-12 Richard Henderson <rth@redhat.com>
10561
10562 * config/rs6000/linux-unwind.h (frob_update_context): Properly
10563 cast the pointer argument to _Unwind_SetGRPtr.
10564
902828f0
RO
105652011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10566
10567 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10568
e14304ef
ILT
105692011-11-09 Ian Lance Taylor <iant@google.com>
10570
10571 * generic-morestack.c: Include <string.h>.
10572 (uintptr_type): Define.
10573 (struct initial_sp): Add dont_block_signals field. Reduce size of
10574 extra array by 1.
10575 (allocate_segment): Set prev field to NULL. Don't set
10576 __morestack_current_segment or __morestack_segments.
10577 (__generic_morestack): Update current->prev and *pp after calling
10578 allocate_segment.
10579 (__morestack_block_signals): Don't do anything if
10580 dont_block_signals is set.
10581 (__morestack_unblock_signals): Likewise.
10582 (__generic_findstack): Check for initial_sp == NULL. Add casts to
10583 uintptr_type.
10584 (__splitstack_block_signals): New function.
10585 (enum __splitstack_content_offsets): Define.
10586 (__splitstack_getcontext, __splitstack_setcontext): New functions.
10587 (__splitstack_makecontext): New function.
10588 (__splitstack_block_signals_context): New function.
10589 (__splitstack_find_context): New function.
10590 * config/i386/morestack.S (__morestack_get_guard): New function.
10591 (__morestack_set_guard, __morestack_make_guard): New functions.
10592 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10593
e3d871e4
RO
105942011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10595
10596 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10597 (i[34567]86-*-mingw*): ... here.
10598 (x86_64-*-mingw*): ... here.
10599
e55cef40
RO
106002011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10601
10602 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10603
5366b186
NS
106042011-11-07 Nathan Sidwell <nathan@acm.org>
10605
10606 * libgcov.c (struct gcov_fn_buffer): New struct.
10607 (buffer_fn_data): New helper.
10608 (gcov_exit): Rework for new gcov data structures.
10609
74155a6f
GJL
106102011-11-07 Georg-Johann Lay <avr@gjlay.de>
10611
10612 PR target/49313
10613 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10614
200feb07
RO
106152011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10616
10617 * config.host (tmake_file): Correct comment.
10618 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10619 t-libgcc-pic.
10620 (bfin*-uclinux*): Likewise.
10621 (bfin*-linux-uclibc*): Likewise.
10622 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10623
10624 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10625 assigning.
10626 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10627 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10628 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10629 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10630 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10631 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10632 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10633 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10634 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10635 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10636 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10637 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10638 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10639
10640 * config/bfin/t-elf: Remove.
10641 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10642
c9cd1a07
RO
106432011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10644
10645 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10646 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10647 (lm32-*-elf*, lm32-*-rtems*): Split into ...
10648 (lm32-*-elf*): ... this.
10649 (lm32-*-rtems*): ... and this.
10650 Add to tmake_file.
10651 (m32r-*-rtems*): Add to tmake_file.
10652 (moxie-*-rtems*): Likewise.
10653 (sparc-*-rtems*): Likewise.
10654 Remove t-rtems from tmake_file.
10655 (sparc64-*-rtems*): Likewise.
10656 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10657 instead.
10658
9fbcc75d
RO
106592011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10660
10661 PR bootstrap/50982
10662 * config/gthr-posix.h: Move ...
10663 * gthr-posix.h: ... here.
10664 * config/gthr-lynx.h: Reflect this.
10665 * config/gthr-vxworks.h: Likewise.
10666 * config/rs6000/gthr-aix.h: Likewise.
10667 * configure.ac (target_thread_file): Likewise.
10668 * configure: Regenerate.
10669
76644b68
SH
106702011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
10671
10672 * config.host (arm*-*-rtemseabi*): New target.
10673
5e490f2a
JDA
106742011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10675
10676 PR other/50991
10677 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10678 extra-parts.
10679
feeeff5c
JR
106802011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
10681
10682 * config.host (epiphany-*-elf*): New configuration.
10683 * config/epiphany: New Directory.
10684
d618bb2c
RC
106852011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
10686
10687 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10688 * config/avr/t-rtems: New.
10689 Filter out _exit from LIB1ASMFUNCS.
10690
1bb6f778
DM
106912011-11-04 David S. Miller <davem@davemloft.net>
10692
10693 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10694 * configure: Rebuild.
10695
9a7f7422
AK
106962011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10697
10698 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10699 variable.
10700
e4fe948a
GJL
107012011-11-04 Georg-Johann Lay <avr@gjlay.de>
10702
10703 PR target/50931
10704 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10705 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10706
7084e037
JS
107072011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
10708
10709 PR target/50989
10710 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10711
1a032034
RO
107122011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10713
10714 * config/c6x/t-elf (LIB2ADDEH): Set.
10715 * config/c6x/t-c6x-elf: Remove.
10716
d385f772
RO
107172011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10718
10719 * config/i386/sol2-ci.S: Rename to ...
10720 * config/i386/crti.S: ... this.
10721 * config/i386/sol2-cn.S: Rename to ...
10722 * config/i386/crtn.S: ... this.
10723 * config/sparc/sol2-ci.S: Rename to ...
10724 * config/sparc/crti.S: ... this.
10725 * config/sparc/sol2-cn.S: Rename to ...
10726 * config/sparc/crtn.S: ... this.
10727 * config/t-sol2 (CUSTOM_CRTIN): Remove.
10728 (crti.o, crtn.o): Remove.
10729
1ba878a9
TG
107302011-11-04 Tristan Gingold <gingold@adacore.com>
10731
10732 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10733
02750c15
KK
107342011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
10735
10736 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10737
bf86b067
HPN
107382011-11-03 Hans-Peter Nilsson <hp@axis.com>
10739
10740 * config.host (crisv32-*-none, cris-*-none): Remove.
10741 (crisv32-*-elf): Append to tmake_file, don't just set it.
10742 (cris-*-elf): Add missing t-fdpbit to tmake_file.
10743
d0bc53bd
RO
107442011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10745
10746 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10747 (ecrtn$(objext)): Likewise.
10748 (ncrti$(objext)): Likewise.
10749 (ncrtn$(objext)): Likewise.
10750
036da830
AS
107512011-11-03 Andreas Schwab <schwab@redhat.com>
10752
10753 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10754
d2a7d041
DM
107552011-11-02 David S. Miller <davem@davemloft.net>
10756
10757 * configure.ac: Set host_address on sparc too.
10758 * configure: Regenerate.
10759 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10760 based upon host_address.
10761 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10762
af8ed618
JM
107632011-11-02 Jason Merrill <jason@redhat.com>
10764
10765 * config/rs6000/t-ppccomm: Add missing \.
10766
5d1c8e77
RO
107672011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10768
10769 * gthr-single.h, gthr.h: New files.
10770 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10771 config/gthr-vxworks.h, config/i386/gthr-win32.h,
10772 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10773 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10774 * config/i386/gthr-win32.c: Include "gthr-win32.h".
10775 * configure.ac (thread_header): New variable.
10776 Set it depending on target_thread_file.
10777 (gthr-default.h): Link from $thread_header.
10778 * configure: Regenerate.
10779 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10780
852b75ed
RO
107812011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10782
10783 * configure.ac (tm_file_): New variable.
10784 Determine from tm_file.
10785 (tm_file, tm_defines): Substitute.
10786 * configure: Regenerate.
10787 * mkheader.sh: New file.
10788 * Makefile.in (clean): Remove libgcc_tm.h.
10789 ($(objects)): Depend on libgcc_tm.h.
10790 (libgcc_tm_defines, libgcc_tm_file): New variables.
10791 (libgcc_tm.h, libgcc_tm.stamp): New targets.
10792 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10793 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10794 ($(extra-parts)): Depend on libgcc_tm.h.
10795 * config.host (tm_defines, tm_file): New variable.
10796 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10797 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10798 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10799 (avr-*-rtems*): Likewise.
10800 (avr-*-*): Likewise.
10801 (frv-*-elf): Likewise.
10802 (frv-*-*linux*): Likewise.
10803 (h8300-*-rtems*): Likewise.
10804 (h8300-*-elf*): Likewise.
10805 (i[34567]86-*-darwin*): Likewise.
10806 (x86_64-*-darwin*): Likewise.
10807 (rx-*-elf): Likewise.
10808 (tic6x-*-uclinux): Likewise.
10809 (tic6x-*-elf): Likewise.
10810 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10811 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10812 * config/i386/cygming-crtbegin.c: Likewise.
10813 * config/i386/cygming-crtend.c: Likewise.
10814 * config/ia64/fde-vms.c: Likewise.
10815 * config/ia64/unwind-ia64.c: Likewise.
10816 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10817 * config/rs6000/darwin-fallback.c: Likewise.
10818 * config/stormy16/lib2funcs.c: Likewise.
10819 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10820 * crtstuff.c: Likewise.
10821 * dfp-bit.h: Likewise.
10822 * emutls.c: Likewise.
10823 * fixed-bit.c: Likewise.
10824 * fp-bit.c: Likewise.
10825 * generic-morestack-thread.c: Likewise.
10826 * generic-morestack.c: Likewise.
10827 * libgcc2.c: Likewise.
10828 * libgcov.c: Likewise.
10829 * unwind-dw2-fde-dip.c: Likewise.
10830 * unwind-dw2-fde.c: Likewise.
10831 * unwind-dw2.c: Likewise.
10832 * unwind-sjlj.c: Likewise.
10833
f9989b51
RO
108342011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10835
10836 * configure.ac: Include ../config/picflag.m4.
10837 (GCC_PICFLAG): Call it.
10838 Substitute.
10839 * configure: Regenerate.
10840 * Makefile.in (gcc_srcdir): Remove.
10841 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10842 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10843 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10844 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10845 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10846 Use $<.
10847 Remove comment.
10848 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10849 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10850 to refer to libgcc2.c.
10851 Use $<.
10852 * config/darwin-64.c: New file.
10853 * config/darwin-crt3.c: Remove comment.
10854 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10855 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10856 config/udivmodsi4.c: New files.
10857 * config/memcmp.c, config/memcpy.c, config/memmove.c,
10858 config/memset.c: New files.
10859 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10860 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10861 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10862 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10863 * config/t-openbsd-thread: New file.
10864 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10865 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10866 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10867 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10868 qrnnd.S.
10869 Adapt filename.
10870 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10871 to refer to gthr-posix.c.
10872 * config/alpha/t-vms (LIB2ADD): Set.
10873 * config/alpha/vms-gcc_shell_handler.c: New file.
10874 * config/arm/bpabi.c, config/arm/fp16.c,
10875 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10876 config/arm/unaligned-funcs.c: New files.
10877 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10878 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10879 * config/arm/t-linux: Likewise.
10880 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10881 * config/arm/t-netbsd: New file.
10882 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10883 * config/arm/t-symbian (LIB2ADD_ST): Set.
10884 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10885 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10886 * config/bfin/t-elf: New file.
10887 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10888 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10889 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10890 config/c6x/ltf.c: New files.
10891 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10892 (HOST_LIBGCC2_CFLAGS): Set.
10893 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10894 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10895 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10896 New files.
10897 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10898 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10899 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10900 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10901 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10902 files.
10903 * config/frv/t-frv (LIB2ADD): Set.
10904 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10905 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10906 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10907 config/h8300/popcounthi2.c: New files.
10908 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10909 * config/i386/gthr-win32.c: New file.
10910 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10911 * config/i386/t-cygwin: Likewise.
10912 * config/i386/t-darwin, config/i386/t-darwin64,
10913 config/i386/t-gthr-win32, config/i386/t-interix: New files.
10914 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10915 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10916 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10917 * config/ia64/quadlib.c: New file.
10918 * config/ia64/t-hpux (LIB2ADD): Set.
10919 * config/ia64/t-ia64: Add comment.
10920 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10921 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10922 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10923 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10924 * config/m32c/t-m32c (LIB2ADD): Set.
10925 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10926 * config/m32r/t-m32r: Likewise.
10927 * config/m68k/fpgnulib.c: New file.
10928 * config/m68k/t-floatlib (LIB2ADD): Set.
10929 (xfgnulib.c): New target.
10930 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10931 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10932 * config/mep/t-mep (LIB2ADD): Set.
10933 * config/microblaze/divsi3.asm: Rename to divsi3.S.
10934 * config/microblaze/moddi3.asm: Rename to moddi3.S.
10935 * config/microblaze/modsi3.asm: Rename to modsi3.S.
10936 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10937 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10938 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10939 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10940 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10941 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10942 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10943 New files.
10944 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10945 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10946 * config/pa/fptr.c, config/pa/lib2funcs.S,
10947 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10948 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10949 (LIB2ADD, LIB2ADD_ST): Set.
10950 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10951 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10952 Set.
10953 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10954 * config/pdp11/t-pdp11: New file.
10955 * config/picochip/libgccExtras/adddi3.S,
10956 config/picochip/libgccExtras/ashlsi3.S,
10957 config/picochip/libgccExtras/ashrsi3.S,
10958 config/picochip/libgccExtras/clzsi2.S,
10959 config/picochip/libgccExtras/cmpsi2.S,
10960 config/picochip/libgccExtras/divmod15.S,
10961 config/picochip/libgccExtras/divmodhi4.S,
10962 config/picochip/libgccExtras/divmodsi4.S,
10963 config/picochip/libgccExtras/lshrsi3.S,
10964 config/picochip/libgccExtras/parityhi2.S,
10965 config/picochip/libgccExtras/popcounthi2.S,
10966 config/picochip/libgccExtras/subdi3.S,
10967 config/picochip/libgccExtras/ucmpsi2.S,
10968 config/picochip/libgccExtras/udivmodhi4.S,
10969 config/picochip/libgccExtras/udivmodsi4.S: New files.
10970 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10971 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10972 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10973 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10974 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10975 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10976 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
10977 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10978 files.
10979 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10980 (HOST_LIBGCC2_CFLAGS): Set.
10981 * config/rs6000/t-darwin64: New file.
10982 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10983 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10984 * config/rs6000/t-ppccomm (LIB2ADD): Add
10985 $(srcdir)/config/rs6000/tramp.S.
10986 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10987 Add $(srcdir)/config/rs6000/eabi.S.
10988 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10989 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10990 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10991 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10992 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10993 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10994 * config/rs6000/tramp.S: New file.
10995 * config/s390/t-tpf: Remove.
10996 * config/sh/linux-atomic.S: New file.
10997 * config/sh/t-linux (LIB2ADD): Set.
10998 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10999 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
11000 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
11001 to unwind-dw2.c.
11002 (HOST_LIBGCC2_CFLAGS): Set.
11003 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11004 * config/spu/divmodti4.c, config/spu/divv2df3.c,
11005 config/spu/float_disf.c, config/spu/float_unsdidf.c,
11006 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
11007 config/spu/mfc_multi_tag_release.c,
11008 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
11009 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
11010 config/spu/multi3.c: New files.
11011 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
11012 (HOST_LIBGCC2_CFLAGS): Set.
11013 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
11014 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
11015 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
11016 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
11017 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
11018 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
11019 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
11020 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
11021 config/stormy16/umodsi3.c: New files.
11022 * config/xtensa/lib2funcs.S: New file.
11023 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
11024 * config/xtensa/t-xtensa (LIB2ADD): Set.
11025 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
11026 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
11027 Add t-freebsd-thread to tmake_file for posix threads.
11028 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
11029 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
11030 (*-*-lynxos*): Likewise.
11031 (*-*-netbsd*): Likewise.
11032 (*-*-openbsd*): Likewise.
11033 Add t-openbsd-thread to tmake_file for posix threads.
11034 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
11035 (*-*-vxworks*): Set tmake_file.
11036 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
11037 (alpha*-*-freebsd*): Likewise.
11038 (alpha*-*-netbsd*): Likewise.
11039 (alpha*-*-openbsd*): Likewise.
11040 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
11041 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
11042 (alpha*-dec-*vms*): Likewise.
11043 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
11044 (bfin*-elf*): Add bfin/t-elf to tmake_file.
11045 (bfin*-uclinux*): Likewise.
11046 (bfin*-linux-uclibc*): Likewise.
11047 (crisv32-*-elf): Add cris/t-cris to tmake_file.
11048 (crisv32-*-none): Likewise.
11049 (cris-*-elf): Likewise.
11050 (cris-*-none): Likewise.
11051 (cris-*-linux*, crisv32-*-linux*): Likewise.
11052 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
11053 tmake_file.
11054 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
11055 tmake_file.
11056 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
11057 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
11058 (x86_64-*-elf*): Likewise.
11059 (i[34567]86-*-nto-qnx*): Likewise.
11060 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
11061 win32 threads.
11062 (x86_64-*-mingw*): Likewise.
11063 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
11064 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
11065 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11066 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11067 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
11068 tmake_file.
11069 (mipsisa64sr71k-*-elf*): Likewise.
11070 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11071 (mips-*-elf*, mipsel-*-elf*): Likewise.
11072 (mips64-*-elf*, mips64el-*-elf*): Likewise.
11073 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11074 (mips*-*-rtems*): Likewise.
11075 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
11076 to tmake_file.
11077 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
11078 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
11079 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
11080 (spu-*-elf*): Likewise.
11081 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
11082
45b86625
RO
110832011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11084
11085 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
11086 $(srcdir) to refer to $(LIB1ASMSRC).
11087 Use $<.
11088 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
11089 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
11090 config/arm/lib1funcs.S: New files.
11091 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
11092 * config/arm/t-arm: New file.
11093 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
11094 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
11095 config/arm/t-strongarm-elf: New files.
11096 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
11097 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
11098 * config/avr/lib1funcs.S: New file.
11099 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11100 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
11101 * config/c6x/lib1funcs.S: New file.
11102 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11103 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
11104 * config/frv/lib1funcs.S: New file.
11105 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11106 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
11107 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
11108 * config/ia64/__divxf3.asm: Rename to ...
11109 * config/ia64/__divxf3.S: ... this.
11110 Adapt lib1funcs.asm filename.
11111 * config/ia64/_fixtfdi.asm: Rename to ...
11112 * config/ia64/_fixtfdi.S: ... this.
11113 Adapt lib1funcs.asm filename.
11114 * config/ia64/_fixunstfdi.asm: Rename to ...
11115 * config/ia64/_fixunstfdi.S: ... this.
11116 Adapt lib1funcs.asm filename.
11117 * config/ia64/_floatditf.asm: Rename to ...
11118 * config/ia64/_floatditf.S: ... this.
11119 Adapt lib1funcs.asm filename.
11120 * config/ia64/lib1funcs.S: New file.
11121 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
11122 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11123 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
11124 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
11125 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
11126 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
11127 * config/mep/lib1funcs.S: New file.
11128 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11129 * config/mips/mips16.S: New file.
11130 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11131 * config/pa/milli64.S: New file.
11132 * config/pa/t-linux, config/pa/t-linux64: New files.
11133 * config/picochip/lib1funcs.S: New file.
11134 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11135 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
11136 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
11137 * config/sh/t-netbsd: New file.
11138 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
11139 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
11140 * config/sh/t-sh64: New file.
11141 * config/sparc/lb1spc.S: New file.
11142 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
11143 filename.
11144 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
11145 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
11146 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
11147 config/xtensa/lib1funcs.S: New files.
11148 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11149 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
11150 tmake_file.
11151 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
11152 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
11153 (arm*-*-linux*): Likewise.
11154 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
11155 arm*-*-linux-*eabi, add arm/t-linux otherwise.
11156 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
11157 (arm*-*-ecos-elf): Likewise.
11158 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11159 (arm*-*-rtems*): Likewise.
11160 (arm*-*-elf): Likewise.
11161 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
11162 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
11163 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
11164 (bfin*-uclinux*): Likewise.
11165 (bfin*-linux-uclibc*): Likewise.
11166 (bfin*-rtems*): Likewise.
11167 (bfin*-*): Likewise.
11168 (fido-*-elf): Merge into m68k-*-elf*.
11169 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
11170 (frv-*-*linux*): Add frv/t-frv to tmake_file.
11171 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
11172 (h8300-*-elf*): Likewise.
11173 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
11174 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
11175 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
11176 (i[34567]86-*-mingw*): Likewise.
11177 (x86_64-*-mingw*): Likewise.
11178 (i[34567]86-*-interix3*): Likewise.
11179 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
11180 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
11181 (m68k-*-elf*): Also handle fido-*-elf.
11182 Add m68k/t-floatlib to tmake_file.
11183 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
11184 (m68k-*-linux*): Likewise.
11185 (m68k-*-rtems*): Likewise.
11186 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
11187 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
11188 sh64*-*-*.
11189 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
11190 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
11191 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
11192 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
11193 sh/t-netbsd to tmake_file.
11194 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
11195 (sh-*-rtems*): Add sh/t-sh to tmake_file.
11196 (sh-wrs-vxworks): Likewise.
11197 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
11198 *-leon[3-9]*.
11199 (v850*-*-*): Add v850/t-v850 to tmake_file.
11200 (vax-*-linux*): Add vax/t-linux to tmake_file.
11201 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
11202
5f73c6cc
RO
112032011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11204
11205 * crtstuff.c: New file.
11206 * Makefile.in (CRTSTUFF_CFLAGS): Define.
11207 (CRTSTUFF_T_CFLAGS): Define.
11208 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
11209 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
11210 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
11211 crtstuff.c.
11212 Use $<.
11213 (crtbeginT.o): Use $(objext).
11214 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
11215 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
11216 (gcc-extra-parts): Remove.
11217 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
11218 Set extra_parts.
11219 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11220 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
11221 Add t-crtstuff-pic to tmake_file.
11222 (*-*-lynxos*): New case.
11223 Set tmake_file, extra_parts.
11224 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
11225 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
11226 *-*-netbsdelf[2-9]*.
11227 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
11228 (*-*-rtems*): Set extra_parts.
11229 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
11230 (*-*-uclinux*): New case.
11231 Set extra_parts.
11232 (*-*-vms*): New case.
11233 Set tmake_file, extra_parts.
11234 (*-*-elf): Set extra_parts.
11235 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
11236 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
11237 vms/t-vms64.
11238 Set extra_parts.
11239 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
11240 Set extra_parts.
11241 (arm*-*-freebsd*): Add t-crtin to tmake_file.
11242 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
11243 (arm-wrs-vxworks): Append to tmake_file.
11244 Set extra_parts.
11245 (arm*-*-uclinux*): Set extra_parts.
11246 (arm*-*-ecos-elf): Likewise.
11247 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
11248 arm*-*-eabi*.
11249 (arm*-*-rtems*): Set extra_parts.
11250 (arm*-*-elf): Likewise.
11251 (avr-*-rtems*): Clear extra_parts.
11252 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
11253 Set extra_parts.
11254 (bfin*-uclinux*): Likewise.
11255 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
11256 (bfin*-rtems*): Append to tmake_file.
11257 Set extra_parts.
11258 (bfin*-*): Likewise.
11259 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
11260 (crisv32-*-elf): ... this.
11261 (crisv32-*-none): ... this.
11262 (cris-*-elf, cris-*-none): New cases.
11263 Add cris/t-elfmulti to tmake_file.
11264 (fr30-*-elf): Append to tmake_file.
11265 Set extra_parts.
11266 (frv-*-elf): Append to tmake_file, add frv/t-frv.
11267 Set extra_parts.
11268 (h8300-*-rtems*): Append to tmake_file.
11269 Set extra_parts.
11270 (h8300-*-elf*): Likewise.
11271 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
11272 Set extra_parts.
11273 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
11274 Set extra_parts.
11275 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
11276 (x86_64-*-elf*): Likewise.
11277 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
11278 (x86_64-*-freebsd*): Likewise.
11279 (x86_64-*-netbsd*): Likewise.
11280 (i[34567]86-*-linux*): Likewise.
11281 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11282 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11283 (x86_64-*-linux*): Likewise.
11284 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11285 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
11286 tmake_file.
11287 Set extra_parts.
11288 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
11289 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
11290 Append to extra_parts, remove crtbegin.o, crtend.o.
11291 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
11292 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
11293 crtend.o, crtbeginS.o, crtendS.o.
11294 (ia64*-*-linux*): Comment extra_parts.
11295 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
11296 Set extra_parts.
11297 (iq2000*-*-elf*): Clear extra_parts.
11298 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
11299 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
11300 (m32r-*-elf*, m32r-*-rtems*): Split off ...
11301 (m32r-*-rtems*): ... this.
11302 Add m32r/t-m32r to tmake_file.
11303 (m68k-*-elf*): Add t-crtin to tmake_file.
11304 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
11305 (mcore-*-elf): Likewise.
11306 (microblaze*-*-*): Set extra_parts.
11307 (mips*-sde-elf*): New case.
11308 Set tmake_file, extra_parts.
11309 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11310 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11311 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
11312 tmake_file.
11313 Set extra_parts.
11314 (mipsisa64sr71k-*-elf*): Likewise.
11315 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11316 (mips-*-elf*, mipsel-*-elf*): Likewise.
11317 (mips64-*-elf*, mips64el-*-elf*): Likewise.
11318 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
11319 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11320 (mips*-*-rtems*): Likewise.
11321 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
11322 (moxie-*-*): Split into ...
11323 (moxie-*-elf, moxie-*-uclinux*): ... this.
11324 Add to extra_parts, remove crtbegin.o, crtend.o.
11325 (moxie-*-rtems*): New case.
11326 Set tmake_file.
11327 Clear extra_parts.
11328 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
11329 Set extra_parts.
11330 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
11331 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
11332 tmake_file.
11333 Set extra_parts.
11334 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
11335 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
11336 Set extra_parts.
11337 (powerpc-*-eabisim*): Likewise.
11338 (powerpc-*-elf*): Likewise.
11339 (powerpc-*-eabialtivec*): Likewise.
11340 (powerpc-xilinx-eabi*): Likewise.
11341 (powerpc-*-eabi*): Likewise.
11342 (powerpc-*-rtems*): Likewise.
11343 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
11344 tmake_file.
11345 Set extra_parts.
11346 (powerpc-*-lynxos*): Add to tmake_file.
11347 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
11348 rs6000/t-crtstuff, t-crtstuff-pic.
11349 Set extra_parts.
11350 (powerpcle-*-eabisim*): Likewise.
11351 (powerpcle-*-eabi*): Likewise.
11352 (rx-*-elf): Remove extra_parts.
11353 (s390x-ibm-tpf*): Set extra_parts.
11354 (score-*-elf): Set extra_parts.
11355 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11356 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11357 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11358 (sh64l*-*-netbsd*): Split into ...
11359 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
11360 Add t-crtstuff-pic to tmake_file.
11361 Set extra_parts.
11362 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
11363 Set extra_parts.
11364 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
11365 (sparc-*-elf*): Remove t-crtin from tmake_file.
11366 Add to extra_parts, remove crtbegin.o, crtend.o.
11367 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
11368 (sparc64-*-linux*): Likewise.
11369 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
11370 Add to extra_parts, remove crtbegin.o, crtend.o.
11371 (sparc64-*-elf*): Remove t-crtin from tmake_file.
11372 Add to extra_parts, remove crtbegin.o, crtend.o.
11373 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
11374 Add to extra_parts, remove crtbegin.o, crtend.o.
11375 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
11376 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
11377 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
11378 Set extra_parts.
11379 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
11380 Set extra_parts.
11381 (tic6x-*-*): Change to ...
11382 (tic6x-*-elf): ... this.
11383 Set extra_parts.
11384 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
11385 Set extra_parts.
11386 (am33_2.0-*-linux*): Add comment.
11387 (mep*-*-*): Add mep/t-mep to tmake_file.
11388 Set extra_parts.
11389 * config/alpha/t-vms: New file.
11390 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
11391 * config/arm/crti.S, config/arm/crtn.S: New files.
11392 * config/bfin/crti.S, config/bfin/crtn.S: New files.
11393 * config/bfin/crtlibid.S: New file.
11394 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
11395 * config/c6x/crti.S, config/c6x/crtn.S: New files.
11396 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
11397 (crti.o, crtin.o): New rules.
11398 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11399 * config/c6x/t-uclinux: New file.
11400 * config/cris/t-elfmulti: New file.
11401 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
11402 * config/fr30/crti.S, config/fr30/crtn.S: New files.
11403 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
11404 * config/frv/t-frv: New file.
11405 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
11406 * config/h8300/crti.S, config/h8300/crtn.S: New files.
11407 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
11408 New files.
11409 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
11410 refer to cygming-crtbegin.c, cygming-crtend.c.
11411 Use $<.
11412 * config/i386/t-nto: New file.
11413 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
11414 * config/ia64/crti.S, config/ia64/crtn.S: New files.
11415 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
11416 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
11417 Use .S extension.
11418 Use $<.
11419 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11420 (crtinitS.o): New rule.
11421 * config/ia64/vms-crtinit.S: New file.
11422 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
11423 * config/m32r/initfini.c: New file.
11424 * config/m32r/t-linux, config/m32r/t-m32r: New files.
11425 * config/m68k/crti.S, config/m68k/crtn.S: New files.
11426 * config/mcore/crti.S, config/mcore/crtn.S: New files.
11427 * config/mep/t-mep: New file.
11428 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
11429 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
11430 * config/mips/crti.S, config/mips/crtn.S: New files.
11431 * config/mips/t-crtstuff: New file.
11432 * config/mmix/crti.S, config/mmix/crtn.S: New files.
11433 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
11434 (CUSTOM_CRTIN): Set.
11435 ($(T)crti.o, $(T)crtn.o): Remove $(T),
11436 dependencies.
11437 Use $(srcdir) to refer to crti.S, crtn.S.
11438 Use .S extension, $<.
11439 * config/moxie/crti.asm: Rename to ...
11440 * config/moxie/crti.S: ... this.
11441 * config/moxie/crtn.asm: Rename to ...
11442 * config/moxie/crtn.S: ... this.
11443 * config/moxie/t-moxie: Remove.
11444 * config/pa/stublib.c: New file.
11445 * config/pa/t-stublib, config/pa/t-stublib64: New files.
11446 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
11447 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
11448 * config/rs6000/t-crtstuff: New file.
11449 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
11450 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
11451 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
11452 Make output file explicit.
11453 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
11454 Make output file explicit.
11455 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
11456 Make output file explicit.
11457 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
11458 Make output file explicit.
11459 * config/score/crti.S, config/score/crtn.S: New files.
11460 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
11461 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
11462 files.
11463 * config/sh/t-sh, config/sh/t-superh: New files.
11464 * config/sparc/t-linux64: New file.
11465 * config/spu/cache.S, config/spu/cachemgr.c: New files.
11466 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
11467 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
11468 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
11469 * config/t-crtin: Remove.
11470 * config/t-crtstuff-pic: New file.
11471 * config/t-sol2 (CUSTOM_CRTIN): Set.
11472 (crti.o, crtn.o): New rules.
11473 * config/vms/t-vms: New file.
11474 * config/vms/vms-ucrt0.c: New file.
11475 * config/xtensa/t-elf: New file.
11476
b040f2be
RO
114772011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11478
11479 * Makefile.in (SHLIB_NM_FLAGS): Set.
11480 * mkmap-flat.awk, mkmap-symver.awk: New files.
11481 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
11482 exceptions.
11483 * configure: Regenerate.
11484 * config/libgcc-glibc.ver: New file.
11485 * config/libgcc-libsystem.ver: New file.
11486 * config/t-libunwind (SHLIB_LC): Set.
11487 * config/t-linux: New file.
11488 * config/t-slibgcc (INSTALL_SHLIB): New.
11489 (SHLIB_INSTALL): Use it.
11490 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
11491 to mkmap-symver.awk.
11492 (SHLIB_MAPFILES): Don't append, adapt pathname.
11493 (SHLIB_VERPFX): Set.
11494 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
11495 to mkmap-symver.awk.
11496 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
11497 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
11498 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
11499 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
11500 to mkmap-flat.awk.
11501 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
11502 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
11503 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
11504 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
11505 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
11506 * config/i386/libgcc-darwin.10.4.ver,
11507 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
11508 New files.
11509 * config/i386/t-darwin: Remove.
11510 * config/i386/t-darwin64: Likewise.
11511 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
11512 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
11513 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
11514 * config/i386/t-linux: New file.
11515 * config/i386/t-mingw32: New file.
11516 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
11517 * config/ia64/t-glibc: Rename to ...
11518 * config/ia64/t-linux: ... this.
11519 (SHLIB_MAPFILES): Set.
11520 * config/ia64/t-glibc-libunwind: Rename to ...
11521 * config/ia64/t-linux-libunwind: ... this.
11522 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
11523 * config/ia64/t-slibgcc-hpux: New file.
11524 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
11525 * config/m68k/t-slibgcc-elf-ver: New file.
11526 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
11527 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
11528 to mkmap-flat.awk.
11529 * config/pa/t-slibgcc-hpux: New file.
11530 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11531 files.
11532 * config/rs6000/libgcc-darwin.10.4.ver,
11533 config/rs6000/libgcc-darwin.10.5.ver: New files.
11534 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11535 config/rs6000/libgcc-glibc.ver.
11536 * config/rs6000/libgcc-ppc64.ver: Rename to
11537 config/rs6000/libgcc-ibm-ldouble.ver.
11538 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11539 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11540 * config/rs6000/t-ldbl128: Rename to ...
11541 * config/rs6000/t-linux: ... this.
11542 (SHLIB_MAPFILES): Adapt filename.
11543 * config/rs6000/t-slibgcc-aix: New file.
11544 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11545 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11546 libgcc-excl.ver, libgcc-glibc.ver.
11547 (SHLIB_LINK, SHLIB_INSTALL): Remove.
11548 * config/sparc/libgcc-glibc.ver: New file.
11549 * config/sparc/t-linux: New file.
11550 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11551 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11552 t-slibgcc-elf-ver to tmake_file.
11553 Add t-slibgcc-nolc-override to tmake_file for posix threads on
11554 *-*-freebsd[34].
11555 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11556 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11557 t-slibgcc-elf-ver, t-linux to tmake_file.
11558 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11559 tmake_file.
11560 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11561 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11562 (alpha*-dec-*vms*): Likewise.
11563 (arm*-*-freebsd*): Append to tmake_file.
11564 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11565 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11566 arm*-*-linux-*eabi.
11567 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11568 tmake_file for arm*-*-symbianelf*.
11569 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11570 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11571 cris/t-linux.
11572 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11573 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11574 pa/t-slibgcc-dwarf-ver to tmake_file.
11575 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11576 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11577 (hppa*64*-*-hpux11*): Likewise.
11578 (hppa[12]*-*-hpux11*): Likewise.
11579 (x86_64-*-darwin*): Don't override tmake_file, but only keep
11580 i386/t-crtpc, i386/t-crtfm.
11581 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11582 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11583 to tmake_file.
11584 Add i386/t-cygwin to tmake_file.
11585 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11586 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11587 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11588 to tmake_file.
11589 Add i386/t-mingw32 to tmake_file.
11590 (x86_64-*-mingw*): Likewise.
11591 (ia64*-*-freebsd*): Append to tmake_file.
11592 (ia64*-*-linux*): Append to tmake_file.
11593 Replace ia64/t-glibc by ia64/t-linux.
11594 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11595 system libunwind.
11596 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11597 t-slibgcc-hpux to tmake_file.
11598 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11599 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11600 (m32rle-*-linux*): Likewise.
11601 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11602 sjlj exceptions.
11603 (microblaze*-linux*): New case.
11604 Append to tmake_file, add t-slibgcc-nolc-override.
11605 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11606 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11607 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11608 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11609 rs6000/t-slibgcc-aix to tmake_file.
11610 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11611 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11612 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11613 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11614 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11615 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11616 sh*-*-linux*.
11617 (sparc-*-linux*): Append to tmake_file for *-leon*.
11618 Add sparc/t-linux to tmake_file for non-Leon targets.
11619 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11620 (tic6x-*-uclinux): New case.
11621 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11622 (tic6x-*-*): Add c6x/t-elf to tmake_file.
11623 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11624 (am33_2.0-*-linux*): Append to tmake_file.
11625 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11626 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11627 x86_64-*-kfreebsd*-gnu.
11628 Add i386/t-linux to tmake_file.
11629
18b4bd7b
ILT
116302011-10-28 Ian Lance Taylor <iant@google.com>
11631
11632 * config/i386/morestack.S: Correct CFI information to do proper
11633 returns throughout function. In 32-bit mode, save %ebx so that it
11634 is restored on unwind.
11635
5b2d9d90
BS
116362011-10-25 Bernd Schmidt <bernds@codesourcery.com>
11637
11638 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11639 case where B3 isn't the return register.
11640
0d53e346
BS
11641 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11642 logic for doubleword pops.
11643
cbffbd59
AT
116442011-10-25 Andreas Tobler <andreast@fgznet.ch>
11645
11646 * config/rs6000/t-freebsd: Add wildcard.
11647
56dc349e
PB
116482011-10-21 Paul Brook <paul@codesourcery.com>
11649
11650 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11651
1e06b07d
UB
116522011-10-16 Uros Bizjak <ubizjak@gmail.com>
11653 Eric Botcazou <ebotcazou@adacore.com>
11654
11655 PR target/50737
11656 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11657 fs->signal_frame to 1.
11658
b5204884
ILT
116592011-10-07 Ian Lance Taylor <iant@google.com>
11660
11661 * generic-morestack-thread.c: #include <errno.h>.
11662
91a639a1
ILT
116632011-10-07 Ian Lance Taylor <iant@google.com>
11664
11665 PR target/46093
11666 * generic-morestack.c (__generic_morestack): Make sure the segment
11667 is large enough for both the stack frame and the copied
11668 parameters.
11669
cc49116d
RO
116702011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11671
11672 PR bootstrap/49804
11673 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11674 extra_parts.
11675
2996d8c3
NC
116762011-09-28 Nick Clifton <nickc@redhat.com>
11677
11678 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11679 64-bit doubles are not enabled.
11680 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11681 and floatunsisf functions.
11682
1e874273 116832011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 11684
1e874273
PB
11685 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
11686 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11687 * unwind-arm-common.inc: New file.
11688 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11689 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11690 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11691 * config/c6x/libunwind.S: New file.
11692 * config/c6x/pr-support.c: New file.
11693 * config/c6x/unwind-c6x.c: New file.
11694 * config/c6x/unwind-c6x.h: New file.
11695 * config/c6x/t-c6x-elf: New file.
11696
f70c879a
UB
116972011-08-23 Uros Bizjak <ubizjak@gmail.com>
11698
11699 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11700 (ASM_DIVZERO): Ditto.
11701 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11702
c55b374b
RS
117032011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
11704
11705 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11706
1e138510
RS
117072011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
11708
11709 PR target/50090
11710 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11711 instead of an assembly one.
11712
1563503d
PB
117132011-08-12 Paolo Bonzini <bonzini@gnu.org>
11714
11715 PR bootstrap/50047
11716 * Makefile.in (install-unwind_h): Create
11717 $(gcc_objdir)/include/unwind.h atomically.
11718
3627ac1a
RO
117192011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11720
11721 * Makefile.in (install-unwind_h): Remove destination file first.
11722
c6412d86
RO
117232011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11724
11725 * sync.c: New file.
11726 * config/mips/t-mips16: New file.
11727 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11728 (mips*-*-linux*): Likewise.
11729 (mips*-sde-elf*): Likewise.
11730 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11731 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11732 Add mips/t-mips16 to tmake_file.
11733 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11734 (mips-*-elf*): Likewise.
11735 (mips64-*-elf*): Likewise.
11736 (mips64orion-*-elf*): Likewise.
11737 (mips*-*-rtems*): Likewise.
11738 (mipstx39-*-elf*): Likewise.
11739 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11740 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11741 LIBGCC_SYNC_CFLAGS.
11742 Use $(srcdir) to refer to sync.c.
11743 Use $<.
11744 ($(libgcc-sync-funcs-o)): Likewise.
11745 ($(libgcc-sync-size-funcs-s-o)): Likewise.
11746 ($(libgcc-sync-funcs-s-o)): Likewise.
11747
3cb6e5bd
AS
117482011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11749
11750 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11751 t-libunwind.
11752
cca2207a
L
117532011-08-08 H.J. Lu <hongjiu.lu@intel.com>
11754
11755 PR other/48007
11756 * config/i386/value-unwind.h: New.
11757
ed39fbad
RS
117582011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
11759
11760 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11761 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11762 Add to tmake_file rather than overriding it.
11763
aca0b0b3
RO
117642011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11765
11766 * config/t-softfp: Remove.
11767 * soft-fp: Moved from ../gcc/config.
11768 * soft-fp/README: Remove t-softfp reference.
11769 * soft-fp/t-softfp: Move to config/t-softfp.
11770 (softfp_machine_header): Remove.
11771 (softfp_file_list): Remove config subdir.
11772 (soft-fp-objects): New variable.
11773 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11774 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11775 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11776 * config/t-softfp-excl: New file.
11777 * config/t-softfp-sfdf: New file.
11778 * config/t-softfp-tf: New file.
11779 * config/no-sfp-machine.h: New file.
11780 * config/arm/sfp-machine.h: New file.
11781 * config/arm/t-softfp: New file.
11782 * config/c6x/sfp-machine.h: New file.
11783 * config/i386/32/t-fprules-softfp: Rename to ...
11784 * config/i386/32/t-softfp: ... this.
11785 (tifunctions, LIB2ADD): Remove.
11786 (softfp_int_modes): Override.
11787 * config/i386/64/t-softfp-compat (tf-functions): Remove config
11788 subdir.
11789 * config/i386/64/eqtf2.c: Likewise.
11790 * config/i386/64/getf2.c: Likewise.
11791 * config/i386/64/letf2.c: Likewise.
11792 * config/ia64/sft-machine.h: New file.
11793 * config/ia64/t-fprules-softfp: Rename to ...
11794 * config/ia64/t-softfp: ... this.
11795 * config/lm32/sfp-machine.h: New file.
11796 * config/moxie/t-moxie-softfp: Remove.
11797 * config/rs6000/ibm-ldouble-format: New file.
11798 * config/rs6000/ibm-ldouble.c: New file.
11799 * config/rs6000/libgcc-ppc-glibc.ver: New file
11800 * config/rs6000/libgcc-ppc64.ver: New file
11801 * config/rs6000/sfp-machine.h: New file.
11802 * config/rs6000/t-freebsd: New file.
11803 * config/rs6000/t-ibm-ldouble: New file.
11804 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11805 libgcc-ppc-glibc.ver.
11806 * config/rs6000/t-linux64: New file.
11807 * config/rs6000/t-ppccomm (LIB2ADD): Add
11808 $(srcdir)/config/rs6000/ibm-ldouble.c.
11809 * config/rs6000/t-ppccomm-ldbl: New file.
11810 * config/score/sfp-machine.h: New file.
11811 * config.host (sfp_machine_header): Explain.
11812 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11813 t-softfp to tmake_file.
11814 (arm*-*-uclinux*): Likewise.
11815 (arm*-*-ecos-elf): Likewise.
11816 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11817 (arm*-*-rtems*): Likewise.
11818 (arm*-*-elf): Likewise.
11819 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11820 in tmake_file.
11821 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11822 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11823 (lm32-*-uclinux*): Likewise.
11824 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11825 t-softfp-excl, t-softfp.
11826 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11827 (powerpc64-*-darwin*): Likewise.
11828 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11829 to tmake_file.
11830 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11831 tmake_file.
11832 (powerpc-*-eabisim*): Likewise.
11833 (powerpc-*-elf*): Likewise.
11834 (powerpc-*-eabialtivec*): Likewise.
11835 (powerpc-xilinx-eabi*): Likewise.
11836 (powerpc-*-rtems*): Likewise.
11837 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11838 t-softfp-excl, t-softfp to tmake_file.
11839 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11840 rs6000/t-ppccomm-ldbl to tmake_file.
11841 (powerpcle-*-elf*): Likewise.
11842 (powerpcle-*-eabisim*): Likewise.
11843 (powerpcle-*-eabi*): Likewise.
11844 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11845 rs6000/t-ibm-ldouble to tmake_file.
11846 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11847 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11848 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11849 (tic6x-*-*): Likewise.
11850 (i[34567]86-*-darwin*, x86_64-*-darwin*,
11851 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11852 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11853 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11854 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11855 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11856 t-softfp to tmake_file.
11857 * configure.ac (sfp_machine_header): Provide default if unset.
11858 Substitute.
11859 Link sfp-machine.h to config/$sfp_machine_header.
11860 * configure: Regenerate.
11861
569dc494
RO
118622011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11863
11864 * Makefile.in (double_type_size, long_double_type_size): Set.
11865 Remove $(fpbit-in-libgcc) support.
11866 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11867 (fpbit-src): New variable.
11868 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11869 Compile with -DFLOAT $(FPBIT_CFLAGS).
11870 Use $<.
11871 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11872 Compile with $(FPBIT_CFLAGS).
11873 Use $<.
11874 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11875 Compile with -DFLOAT $(TPBIT_CFLAGS).
11876 Use $<.
11877 * configure.ac (double_type_size, long_double_type_size):
11878 Determine and substitute.
11879 * configure: Regenerate.
11880 * fp-bit.c, fp-bit.h: New files.
11881 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11882 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11883 * config/mips/t-mips: New file.
11884 * config/mips/t-sdemtk: New file.
11885 * config/rs6000/ppc64-fp.c: New file.
11886 * config/rs6000/t-darwin (LIB2ADD): Add
11887 $(srcdir)/config/rs6000/ppc64-fp.c.
11888 * config/rs6000/t-ppc64-fp: New file.
11889 * config/rx/rx-lib.h: New file.
11890 * config/rx/t-rx (FPBIT): Set to true.
11891 ($(gcc_objdir)/fp-bit.c): Remove.
11892 (DPBIT): Set to true only with -m64bit-doubles.
11893 ($(gcc_objdir)/dp-bit.c): Remove.
11894 * config/sparc/t-softfp: Remove.
11895 * config/spu/t-elf: New file.
11896 * config/t-fdpbit, config/t-fpbit: New files.
11897 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11898 (mips*-*-*): Likewise.
11899 (arm-wrs-vxworks): Likewise.
11900 (arm*-*-freebsd*): Likewise.
11901 (avr-*-rtems*): Add t-fpbit to tmake_file.
11902 (avr-*-*): Likewise.
11903 (bfin*-elf*): Add t-fdpbit to tmake_file.
11904 (bfin*-uclinux*): Likewise.
11905 (bfin*-linux-uclibc*): Likewise.
11906 (bfin*-rtems*): New case.
11907 Add t-fdpbit to tmake_file.
11908 (bfin*-*): Add t-fdpbit to tmake_file.
11909 (crisv32-*-elf): Likewise.
11910 (cris-*-linux*): Likewise.
11911 (fr30-*-elf): Likewise.
11912 (frv-*-elf, frv-*-*linux*): Likewise.
11913 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11914 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11915 (m32r-*-elf*): Likewise.
11916 (m32rle-*-elf*): Likewise.
11917 (m32r-*-linux*): Likewise.
11918 (m32rle-*-linux*): Likewise.
11919 (mcore-*-elf): Add t-fdpbit to tmake_file.
11920 (microblaze*-*-*): Likewise.
11921 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11922 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11923 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11924 Fix typo.
11925 Add mips/t-tpbit to tmake-file.
11926 (mips*-*-linux*): Fix typo.
11927 (mips*-sde-elf*): New case
11928 Add mips/t-sdemtk unless using newlib.
11929 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11930 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11931 (mn10300-*-*): Likewise.
11932 (pdp11-*-*): Likewise.
11933 (picochip-*-*): Add t-fpbit to tmake_file.
11934 (powerpc-*-eabisimaltivec*): Likewise.
11935 (powerpc-*-eabisim*): Likewise.
11936 (powerpc-*-elf*): Likewise.
11937 (powerpc-*-eabialtivec*): Likewise.
11938 (powerpc-xilinx-eabi*): New case.
11939 Add t-fdpbit to tmake_file.
11940 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
11941 (powerpc-*-rtems*): Likewise.
11942 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11943 tmake_file.
11944 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11945 tmake_file.
11946 (powerpc-*-lynxos*): Likewise.
11947 (powerpcle-*-elf*): Likewise.
11948 (powerpcle-*-eabisim*): Likewise.
11949 (powerpcle-*-eabi*): Likewise.
11950 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11951 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11952 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11953 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11954 (rx-*-elf): Add t-fdpbit to tmake_file.
11955 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11956 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11957 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11958 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11959 sh*-*-netbsd*.
11960 (sh-*-rtems*): Add t-fdpbit to tmake_file.
11961 (sh-wrs-vxworks): Likewise.
11962 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11963 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11964 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11965 (sparc64-*-rtems*): ... new case.
11966 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11967 (spu-*-elf*): Likewise.
11968 Add spu/t-elf to tmake_file.
11969 (v850*-*-*): Add t-fdpbit to tmake_file.
11970 (xstormy16-*-elf): Likewise.
11971 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11972 (mep*-*-*): Likewise.
11973
201cdb74
RO
119742011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11975
11976 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11977 variables.
11978 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11979 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11980 (install-unwind_h): New target.
11981 (all): Depend on it.
11982 * config.host (unwind_header): New variable.
11983 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11984 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11985 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11986 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11987 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11988 Set unwind_header.
11989 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11990 Set unwind_header.
11991 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11992 arm*-*-eabi*.
11993 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11994 Set unwind_header.
11995 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11996 (ia64*-*-freebsd*): Likewise.
11997 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11998 tmake_file.
11999 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
12000 $with_system_libunwind.
12001 (ia64*-*-hpux*): Set tmake_file.
12002 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
12003 (picochip-*-*): Set tmake_file.
12004 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
12005 md_unwind_header.
12006 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12007 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12008 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
12009 (xtensa*-*-elf*): Set tmake_file.
12010 (xtensa*-*-linux*): Likewise.
12011 * configure.ac: Include ../config/unwind_ipinfo.m4.
12012 Call GCC_CHECK_UNWIND_GETIPINFO.
12013 Link unwind.h to $unwind_header.
12014 * configure: Regenerate.
12015 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
12016 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
12017 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
12018 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
12019 * config/unwind-dw2-fde-darwin.c: New file.
12020 * config/arm/libunwind.S, config/arm/pr-support.c,
12021 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
12022 config/arm/unwind-arm.h,: New files.
12023 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
12024 config/ia64/t-eh-ia64, config/ia64/t-glibc,
12025 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
12026 config/ia64/t-vms, config/ia64/unwind-ia64.c,
12027 config/ia64/unwind-ia64.h: New files.
12028 * config/picochip/t-picochip: New file.
12029 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
12030 files.
12031 * config/rs6000/t-darwin (LIB2ADDEH): Set.
12032 * config/s390/t-tpf (LIB2ADDEH): Remove.
12033 * config/t-darwin (LIB2ADDEH): Set.
12034 * config/t-eh-dw2-dip: New file.
12035 * config/t-libunwind, config/t-libunwind-elf: New files.
12036 * config/t-sol2 (LIB2ADDEH): Remove.
12037 * config/xtensa/t-xtensa: New file.
12038
40f2f11f
L
120392011-08-02 H.J. Lu <hongjiu.lu@intel.com>
12040
12041 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
12042 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
12043 long long to check rt_sigreturn syscall.
12044
bd15e32c
AM
120452011-08-02 Alan Modra <amodra@gmail.com>
12046
12047 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
12048 Restore for indirect call bcrtl from correct stack slot, and only
12049 if cfa+40 isn't valid.
12050
655b30bf
JB
120512011-08-01 Julian Brown <julian@codesourcery.com>
12052
12053 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
12054 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
12055 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
12056
247eb06f
JB
120572011-08-01 Julian Brown <julian@codesourcery.com>
12058
12059 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
12060 (libgcc-std.ver.in): Use above.
12061 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
12062 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
12063 throughout file.
12064 * config/t-fixedpoint-gnu-prefix: New file.
12065 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
12066 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
12067 instead of __PFX__.
12068
02a8fe00
L
120692011-07-28 H.J. Lu <hongjiu.lu@intel.com>
12070
12071 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
12072 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
12073 for x86-64. Properly check __x86_64__ and __LP64__.
12074
5fce9126
L
120752010-07-28 H.J. Lu <hongjiu.lu@intel.com>
12076
12077 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
12078 version.
12079 (_FP_WS_TYPE): Likewise.
12080 (_FP_I_TYPE): Likewise.
12081
2374a88a
AM
120822011-07-28 Alan Modra <amodra@gmail.com>
12083
12084 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
12085 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
12086 in a plt call stub. Do restore r2 if stopped on bctrl.
12087
e44dbbe1
RO
120882011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12089
12090 * config.host (i[3456x]86-*-netware*): Remove.
12091 * config/i386/netware-crt0.c, config/i386/t-nwld,
12092 config/i386/t-slibgcc-nwld: Remove.
12093
bcead286
BS
120942011-07-15 Bernd Schmidt <bernds@codesourcery.com>
12095
12096 * config.host: Handle tic6x-*-*.
12097 * config/c6x/c6x-abi.h: New file.
12098
b3fe1584
RO
120992011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12100
12101 * config/i386/crtprec.c: New file.
12102 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
12103 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
12104 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
12105 (x86_64-*-darwin*): Likewise.
12106 (i[34567]86-*-solaris2*: Likewise.
12107
35d8090d
RO
121082011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12109
12110 * config/alpha/crtfastmath.c: New file.
12111 * config/i386/crtfastmath.c: New file.
12112 * config/ia64/crtfastmath.c: New file.
12113 * config/mips/crtfastmath.c: New file.
12114 * config/sparc/crtfastmath.c: New file.
12115
12116 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
12117 crtfastmath.c.
12118 Add -frandom-seed=gcc-crtfastmath.
12119 * config/alpha/t-crtfm: Remove.
12120 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
12121 * config/ia64/t-ia64 (crtfastmath.o): Remove.
12122
12123 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
12124 (alpha*-dec-osf5.1*): Likewise.
12125 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
12126 Add crtfastmath.o to extra_parts.
12127 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
12128 Add crtfastmath.o to extra_parts.
12129 (x86_64-*-darwin*): Likewise.
12130 (x86_64-*-mingw*): Likewise.
12131 (ia64*-*-elf*): Add t-crtfm to tmake_file.
12132 (ia64*-*-freebsd*): Likewise.
12133 (ia64*-*-linux*): Likewise.
12134 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
12135 Add crtfastmath.o to extra_parts.
12136
e141542e
RO
121372011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12138
12139 * config/darwin-crt3.o: New file.
12140 * config/rs6000/darwin-crt2.c: New file.
12141 * config/t-darwin: New file.
12142 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
12143 (crt2.o): New rule.
12144 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
12145 (powerpc-*-darwin*): Add crt2.o to extra_parts.
12146 (powerpc64-*-darwin*): Likewise.
12147
2d1efe2d
RO
121482011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12149
12150 * config/i386/netware-crt0.c: New file.
12151 * config/i386/t-nwld: Rename to ...
12152 * config/i386/t-slibgcc-nwld: ... this.
12153 * config/i386/t-nwld: New file.
12154 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
12155 tmake_file.
12156 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
12157 extra_parts.
12158
4a8bb046
RO
121592011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12160
12161 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
12162 i386/t-crtstuff.
12163 * configure: Regenerate.
12164
2d8d5935
RO
121652011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12166
12167 * dfp-bit.c, dfp-bit.h: New files.
12168 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
12169 variables.
12170 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
12171 ($(d64pbit-o)): Likewise.
12172 ($(d128pbit-o)): Likewise.
12173 * config/t-dfprules: New file.
12174 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
12175 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
12176 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
12177 (x86_64-*-linux*): Likewise.
12178 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
12179 (i[34567]86-*-cygwin*): Likewise.
12180 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
12181 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
12182
2c50b2c3
RO
121832011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12184
12185 * Makfile.in (LIBGCOV): New variable.
12186 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
12187 * libgcov.c: New file.
12188
a039d7c2
RO
121892011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12190
12191 * fixed-bit.c, fixed-bit.h: New files.
12192 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
12193 refer to fixed-bit.c.
12194
1e4b2746
JM
121952011-07-07 Joseph Myers <joseph@codesourcery.com>
12196
12197 * config.host (*local*): Remove.
12198
fbdd5d87
RO
121992011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12200
12201 PR target/39150
12202 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
12203 like i?86-*-solaris2.1[0-9]*.
12204 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
12205 * configure.ac (i?86-*-solaris2*): Likewise.
12206 * configure: Regenerate.
12207
9e7714f4
TS
122082011-07-06 Thomas Schwinge <thomas@schwinge.name>
12209
12210 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
12211 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
12212 md_unwind_header by splitting out of...
12213 (i[34567]86-*-linux*): ... this.
12214 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
12215 Remove md_unwind_header by splitting out of...
12216 (x86_64-*-linux*): ... this.
12217
6dab9931
GJL
122182011-07-04 Georg-Johann Lay <avr@gjlay.de>
12219
12220 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
12221
4be46d19
NC
122222011-06-28 Nick Clifton <nickc@redhat.com>
12223
12224 * config.host: Recognize all V850 variants.
12225
1da9434b
UB
122262011-06-22 Uros Bizjak <ubizjak@gmail.com>
12227
12228 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
12229
e4d48a4d
RO
122302011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12231
12232 * shared-object.mk (c_flags-$o): Save c_flags.
12233 ($(base)$(objext)): Use it.
12234 ($(base)_s$(objext)): Likewise.
12235
3801c801
BS
122362011-06-21 Bernd Schmidt <bernds@codesourcery.com>
12237
12238 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
12239 * libgcc-std.ver.in (GCC_4.7.0): New section.
12240
0ad8bb3b 122412011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 12242
0ad8bb3b
GJL
12243 PR target/49313
12244 PR target/29524
12245 * config/avr/t-avr: Fix line endings.
12246 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
12247 _parityXX2.
12248
ea963999
OH
122492011-06-14 Olivier Hainque <hainque@adacore.com>
12250 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12251
12252 * config/mips/irix6-unwind.h: New file.
12253 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
12254
b11b0904
EB
122552011-06-10 Eric Botcazou <ebotcazou@adacore.com>
12256
12257 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
12258 (sparc64_fallback_frame_state): Use it.
12259 (sparc64_frob_update_context): Further adjust context.
12260 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
12261 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
12262 * config/sparc/sol2-cn.S: Likewise.
12263
10e48e39
RO
122642011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12265
12266 * enable-execute-stack-empty.c: New file.
12267 * enable-execute-stack-mprotect.c: New file.
12268 * config/i386/enable-execute-stack-mingw32.c: New file.
12269 * config.host (enable_execute_stack): New variable.
12270 Select appropriate variants.
12271 * configure.ac: Link enable-execute-stack.c to
12272 $enable_execute_stack.
12273 * configure: Regenerate.
12274 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
12275 (lib2funcs): Remove _enable_execute_stack.
12276
10c4cabc
DM
122772011-06-09 David S. Miller <davem@davemloft.net>
12278 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12279
12280 * config.host (sparc-*-linux*): Correct md_unwind_header
12281 filename.
12282 (s390x-ibm-tpf*): Fix typo.
12283
aa4203e7
RO
122842011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12285
12286 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
12287 Add crtfastmath.o to extra_parts.
12288 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
12289 mips/t-crtfm.
12290 * config/mips/t-crtfm: Remove.
12291
0defd786
JDA
122922011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
12293
12294 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
12295
82f247af
KK
122962011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
12297
12298 * config.host (sh*-*-linux*): Fix typo.
12299
58cd1d70
RO
123002011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12301
12302 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
12303 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
12304 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
12305 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
12306 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
12307 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
12308 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
12309 Wrap in !__MINGW64__.
12310 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
12311 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
12312 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
12313 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
12314 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
12315 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
12316 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
12317 Wrap in !__LP64__.
12318 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
12319 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
12320 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
12321 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
12322 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
12323 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
12324 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
12325 * config/no-unwind.h: New file.
12326 * config.host (md_unwind_header): Document.
12327 Define.
12328 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
12329 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
12330 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
12331 hppa[12]*-*-hpux11*): Set md_unwind_header.
12332 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
12333 Set md_unwind_header.
12334 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
12335 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
12336 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
12337 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
12338 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
12339 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
12340 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
12341 md_unwind_header.
12342 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
12343 * configure: Regenerate.
12344
737346fa
RO
123452011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12346
12347 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
12348 Set tmake_file, extra_parts.
12349 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
12350 Remove O32 support.
12351 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
12352 Remove O32 support.
12353 * config/mips/t-irix6: New file.
12354 * config/mips/t-slibgcc-irix: New file.
12355
c192cee6
RO
123562011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12357
12358 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
12359 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
12360
ee33b5f0
RO
123612011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12362
12363 * configure.ac (target_thread_file): Determine thread model.
12364 * configure: Regenerate.
12365 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
12366 * config/alpha/t-alpha: New file.
12367 * config/alpha/t-crtfm: Use $<.
12368 * config/alpha/t-ieee: New file.
12369 * config/alpha/t-osf-pthread: New file.
12370 * config/alpha/t-slibgcc-osf: New file.
12371 * config/alpha/libgcc-osf5.ver: New file.
12372
0699e415
RO
123732011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12374
12375 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
12376 tmake_file.
12377 Add crtfastmath.o to extra_parts.
12378
a3fab9c2
RO
123792011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12380
12381 * config/gmon-sol2.c: Reindent.
12382 Cleanup comments.
12383 Remove, correct casts.
12384 Use STDERR_FILENO, NULL.
12385 (BASEADDRESS): Remove.
12386 (minbrk): Remove.
12387 (errno, sbrk): Remove declarations.
12388 (monstartup) [hp300]: Remove.
12389 (mcount): Remove.
12390
ca24c5ad
RO
123912011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12392
12393 * Makefile.in (cpu_type): Define.
12394 * config.host (i[34567]86-*-rtems*): Handle it.
12395 (i[34567]86-*-solaris2*): Move body ...
12396 (*-*-solaris2*): ... here.
12397 New case, generalize.
12398 (sparc-*-elf*): Handle it.
12399 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
12400 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
12401 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
12402 Fold into ...
12403 (sparc*-*-solaris2*): ... this.
12404 New case.
12405 (sparc64-*-elf*): Handle it.
12406 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
12407 Merge ../gcc/config/i386/gmon-sol2.c.
12408 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
12409 Use C comments.
12410 Merge ../gcc/config/i386/sol2-gc1.asm.
12411 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
12412 Use C comments.
12413 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
12414 Use C comments.
12415 * config/i386/t-crtfm (crtfastmath.o): Use $<.
12416 * config/i386/t-crtstuff: New file.
12417 * config/i386/t-softfp: New file.
12418 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
12419 $(T)crti.o, $(T)crtn.o): Remove.
12420 (gcrt1.o): New rule.
12421 (TARGET_LIBGCC2_CFLAGS): Remove.
12422 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
12423 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
12424 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
12425 * config/sparc/t-sol2: New file.
12426 * config/sparc/t-crtfm: Move to ...
12427 * config/t-crtfm: ... this.
12428 Use $(cpu_type), $<.
12429 * config/t-crtin: New file.
12430 * config/sparc/t-softfp: New file.
12431 * config/sparc/t-softmul: New file.
12432 * config/t-rtems: New file.
12433 * config/t-slibgcc: New file.
12434 * config/t-slibgcc-elf-ver: New file.
12435 * config/t-slibgcc-gld: New file.
12436 * config/t-slibgcc-sld: New file.
12437 * config/t-sol2: New file.
12438 * configure.ac: Include ../config/lib-ld.m4.
12439 Call AC_LIB_PROG_LD_GNU.
12440 Substitute cpu_type.
12441 * configure: Regenerate.
12442
ad5f3d7b
BS
124432011-05-27 Bernd Schmidt <bernds@codesourcery.com>
12444
12445 PR bootstrap/49173
12446 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
12447 libgcc-std.ver in the build directory.
12448 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
12449 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
12450
cdbf4541
BS
124512011-05-25 Bernd Schmidt <bernds@codesourcery.com>
12452
12453 * libgcc-std.ver.in: New file.
12454 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
12455 variables.
12456 (libgcc-std.ver): New rule.
12457 * config/t-gnu-prefix: New file.
12458
c8028650
RO
124592011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12460
12461 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
12462
4a68b4ca
JM
124632011-05-10 Joseph Myers <joseph@codesourcery.com>
12464
12465 * config/i386/darwin-lib.h: New file.
12466
80cf2e08
JM
124672011-05-10 Joseph Myers <joseph@codesourcery.com>
12468
12469 * config/arm/symbian-lib.h: New.
12470
a3330c9d
CD
124712011-05-04 Chris Demetriou <cgd@google.com>
12472
12473 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
12474 (__x86.get_pc_thunk.bx): ...this.
12475 (__morestack): Adjust for rename, remove undef of __i686.
12476
6ace0756
CD
124772011-05-03 Chris Demetriou <cgd@google.com>
12478
12479 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
12480
ebb9f8b0
JM
124812011-03-22 Joseph Myers <joseph@codesourcery.com>
12482
12483 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
12484 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
12485 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
12486 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
12487 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
12488 Remove cases.
12489
9cfa1499
AT
124902011-03-14 Andreas Tobler <andreast@fgznet.ch>
12491
12492 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
12493 Adjust copyright year.
12494
457186f6
ILT
124952011-03-07 Ian Lance Taylor <iant@google.com>
12496
12497 * generic-morestack.c (__splitstack_find): Adjust returned stack
12498 pointer to include all registers pushed by __morestack.
12499
58c741a6
DK
125002011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
12501
12502 PR target/40125
12503 * configure.ac: Call ACX_NONCANONICAL_TARGET.
12504 (toolexecdir): Calculate and AC_SUBST.
12505 (toolexeclibdir): Likewise.
12506 * Makefile.in (target_noncanonical): Import.
12507 (toolexecdir): Likewise.
12508 (toolexeclibdir): Likewise.
12509 * configure: Regenerate.
12510
26716c44
NF
125112010-12-13 Nathan Froyd <froydnj@codesourcery.com>
12512
12513 PR target/46040
12514 * config/arm/bpabi.h: Rename to...
12515 * config/arm/bpabi-lib.h: ...this.
12516
b595b1a1
RO
125172010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12518
12519 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
12520 appropriate.
12521 * configure: Regenerate.
12522
a3abe41c
NF
125232010-11-24 Nathan Froyd <froydnj@codesourcery.com>
12524
12525 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
12526 __FLOAT_WORD_ORDER__.
12527 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
12528 Delete.
12529
455c8f48
RW
125302010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12531
12532 PR other/46202
12533 * Makefile.in (install-strip): New phony target.
12534
f3824a8b
ILT
125352010-11-07 Ian Lance Taylor <iant@google.com>
12536
12537 PR target/46089
12538 * config/i386/morestack.S (__morestack_large_model): New
12539 function.
12540
18ed6ee4
NF
125412010-10-23 Nathan Froyd <froydnj@codesourcery.com>
12542
12543 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12544 Delete.
12545 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12546
8ac7fdcb
NF
125472010-10-14 Nathan Froyd <froydnj@codesourcery.com>
12548
12549 * config/arm/bpabi.h: New file.
12550 * config/frv/frv-abi.h: New file.
12551
cdb388c2
ILT
125522010-10-01 Ian Lance Taylor <iant@google.com>
12553
12554 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12555 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12556
ef7c141c
L
125572010-10-01 H.J. Lu <hongjiu.lu@intel.com>
12558
12559 PR target/45858
12560 * config.host: Add the missing `$'.
12561
80920132
ME
125622010-09-30 Michael Eager <eager@eagercon.com>
12563
12564 * config.host: Add microblaze*-*-*.
12565 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12566 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12567 udivsi3.asm,umodsi3.asm}: New.
12568
6dace308
ILT
125692010-09-28 Ian Lance Taylor <iant@google.com>
12570
12571 * configure.ac: Adjust CFI test to test assembler directly rather
12572 than checking gcc preprocessor macro.
12573 * configure: Rebuild.
12574
b6110d6d
ILT
125752010-09-27 Ian Lance Taylor <iant@google.com>
12576
12577 * configure.ac: Test whether assembler supports CFI directives.
12578 * config.host: Only add t-stack and i386/t-stack-i386 to
12579 tmake_file if libgcc_cv_cfi is "yes".
12580 * configure: Rebuild.
12581
7458026b
ILT
125822010-09-27 Ian Lance Taylor <iant@google.com>
12583
12584 * generic-morestack.h: New file.
12585 * generic-morestack.c: New file.
12586 * generic-morestack-thread.c: New file.
12587 * config/i386/morestack.S: New file.
12588 * config/t-stack: New file.
12589 * config/i386/t-stack-i386: New file.
12590 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12591 i386/t-stack-i386 to tmake_file.
12592
5b50fc0c
IS
125932010-09-21 Iain Sandoe <iains@gcc.gnu.org>
12594
12595 * Makefile.in (libgcc-extra-parts): Check for static archives and
12596 invoke ranlib after installing them.
12597 (gcc-extra-parts): Likewise.
12598 (install-leaf): Likewise.
12599
b93cf342
L
126002010-09-14 H.J. Lu <hongjiu.lu@intel.com>
12601
12602 * configure: Regenerated.
12603
996b42ef
KT
126042010-09-10 Kai Tietz <kai.tietz@onevision.com>
12605
b93cf342 12606 * configure: Regenerated.
996b42ef 12607
be1c764e
GP
126082010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
12609 Andrew Pinski <pinskia@gmail.com>
12610
1da9434b 12611 PR target/40959
be1c764e
GP
12612 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
12613
cc0ae0ca
L
126142010-09-06 H.J. Lu <hongjiu.lu@intel.com>
12615
12616 PR target/45524
12617 * configure: Regenerated.
12618
84f47d20
AS
126192010-09-06 Andreas Schwab <schwab@redhat.com>
12620
12621 * configure: Regenerate.
12622
4159fb8d
UB
126232010-09-03 Uros Bizjak <ubizjak@gmail.com>
12624
12625 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12626 64bit targets.
12627 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12628 for 64bit targets.
12629
0df8fcc8
UB
126302010-09-03 Uros Bizjak <ubizjak@gmail.com>
12631 Iain Sandoe <iains@gcc.gnu.org>
12632
12633 PR target/45476
12634 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12635 LIB2FUNCS_EXCLUDE functions.
12636
3c39bca6
AK
126372010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12638
12639 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12640 Include dfp.m4.
12641 * configure: Regenerate.
12642
d78552bd
UB
126432010-09-01 Uros Bizjak <ubizjak@gmail.com>
12644
12645 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12646 i386/t-freebsd to tmake_file.
12647 * config/i386/t-freebsd: New file.
12648 * config/i386/libgcc-bsd.ver: New file.
12649
c5b79d4e
NF
126502010-07-23 Nathan Froyd <froydnj@codesourcery.com>
12651
12652 * config.host (powerpc*-eabispe*): Set tmake_file.
12653 (powerpc*-eabi*): Likewise.
12654 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12655 crtbeginS, crtendS, crtbeginT.
12656
48b09a92
KH
126572010-06-12 Kazu Hirata <kazu@codesourcery.com>
12658
12659 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12660 to tmake_file. Add crtfastmath.o to extra_parts.
12661 * config/mips/t-crtfm: New.
12662
7d296953 126632010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
12664
12665 * config.host (sparc64-*-rtems*): New target.
12666
ed104137
RO
126672010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12668
12669 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12670 assembler syntax.
12671
3f56ef8b
TS
126722010-04-15 Thomas Schwinge <tschwinge@gnu.org>
12673
12674 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12675
8c200350
RO
126762010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12677
12678 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12679 alpha-dec-osf5.0* support.
12680
7d296953 126812010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
12682
12683 * config.host: Add lm32-*-rtems*.
12684
f128db92 126852010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 12686 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
12687
12688 PR target/39048
12689 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12690 like other remaining 32-bit x86 OSes.
12691 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12692 assembler syntax.
12693 * config/i386/libgcc-sol2.ver: New file.
12694 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12695
7d296953 126962010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
12697
12698 PR c/43553
12699 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12700 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12701 is used and substitute set_use_emutls.
12702 * configure: Regenerated.
12703
15baf7f8
TG
127042010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
12705
12706 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12707
7f5441df
RO
127082010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12709
12710 PR target/38085
12711 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12712 MULTILIB_CFLAGS.
12713 ($(T)gcrt1.o): Likewise.
12714 ($(T)crt1.o): Likewise.
12715 ($(T)crti.o): Likewise.
12716 ($(T)crtn.o): Likewise.
12717
ef74edbd
RW
127182010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12719
12720 PR other/42980
12721 * Makefile.in (install): Use $(MAKE) string in rule, for
12722 parallel make.
12723
e7c914db
HPN
127242010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
12725
12726 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12727 * config/mmix/t-mmix: New file.
12728 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12729
1bcb71c4
JH
127302010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
12731
12732 PR java/41991
12733 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12734 SHLIB_MAPFILES.
12735
e6e50811
AG
127362010-01-04 Anthony Green <green@moxielogic.com>
12737
12738 * config/moxie/crti.asm, config/moxie/crtn.asm,
12739 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12740 config/moxie/t-moxie: New files.
12741 * config.host: Add t-moxie-softfp reference.
12742
7d296953 127432009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
12744
12745 PR other/39888
12746 * config/t-slibgcc-darwin: Fix embedded rpaths for
12747 --enable-version-specific-runtime-libs, build extension stub
12748 libs exposing features available from current libgcc_s.
12749
7d296953 127502009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 12751
d78552bd
UB
12752 * config.host: Add lm32 targets.
12753 * config/lm32: New directory.
12754 * config/lm32/libgcc_lm32.h: New file.
12755 * config/lm32/_mulsi3.c: New file.
12756 * config/lm32/_udivmodsi4.c: New file.
12757 * config/lm32/_divsi3.c: New file.
12758 * config/lm32/_modsi3.c: New file.
12759 * config/lm32/_udivsi3.c: New file.
12760 * config/lm32/_umodsi3.c: New file.
12761 * config/lm32/_lshrsi3.S: New file.
12762 * config/lm32/_ashrsi3.S: New file.
12763 * config/lm32/_ashlsi3.S: New file.
12764 * config/lm32/crti.S: New file.
12765 * config/lm32/crtn.S: New file.
12766 * config/lm32/t-lm32: New file.
12767 * config/lm32/t-elf: New file.
12768 * config/lm32/t-uclinux: New file.
aa4945c1 12769
65a324b4
NC
127702009-10-26 Nick Clifton <nickc@redhat.com>
12771
12772 * config.host: Add support for RX target.
12773 * config/rx: New directory.
12774 * config/rx/rx-abi-functions.c: New file. Supplementary
12775 functions for libgcc to support the RX ABI.
12776 * config/rx/rx-abi.h: New file. Supplementary header file for
12777 libgcc RX ABI functions.
12778 * config/rx/t-rx: New file: Makefile fragment for building
12779 libgcc for the RX.
12780
dfb3b0e3
UB
127812009-10-09 Uros Bizjak <ubizjak@gmail.com>
12782
12783 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12784 constraint of y0 to "g".
12785
81dd9fd7
AK
127862009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12787
12788 * config.host: Include the s390 makefile fragments.
12789 * config/s390/32/_fixdfdi.c: New file.
12790 * config/s390/32/_fixsfdi.c: New file.
12791 * config/s390/32/_fixtfdi.c: New file.
12792 * config/s390/32/_fixunsdfdi.c: New file.
12793 * config/s390/32/_fixunssfdi.c: New file.
12794 * config/s390/32/_fixunstfdi.c: New file.
12795 * config/s390/32/t-floattodi: New file.
12796 * config/s390/libgcc-glibc.ver: New file.
12797 * config/s390/t-crtstuff: New file.
12798 * config/s390/t-linux: New file.
12799 * config/s390/t-tpf: New file.
12800
df58e648
RW
128012009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12802
12803 * configure.ac (AC_PREREQ): Bump to 2.64.
12804
79052be3
KK
128052009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
12806
12807 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12808
5213506e
RW
128092009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12810
12811 * configure: Regenerate.
12812
a9a25daa
DR
128132009-08-09 Douglas B Rupp <rupp@gnat.com>
12814
12815 * config.host (ia64-hp-*vms*): New target.
12816 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12817 with ia64-hp-*vms*.
12818
6efbd53f
RW
128192009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12820
12821 * configure.ac: Add snippet for maintainer-mode.
12822 * configure: Regenerate.
12823 * Makefile.in (AUTOCONF, configure_deps): New variables.
12824 ($(srcdir)/configure)): New rule, active only with maintainer
12825 mode turned on.
12826
7acf4da6
DD
128272009-06-23 DJ Delorie <dj@redhat.com>
12828
12829 Add MeP port.
12830 * config.host: Add mep support.
12831
54f549af
KT
128322009-06-22 Kai Tietz <kai.tietz@onevision.com>
12833
34481f28 12834 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 12835 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
12836
12837 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12838 for mingw targets.
54f549af
KT
12839 * config/i386/64/_multc3.c: Likewise.
12840 * config/i386/64/_powitf2.c: Likewise.
12841 * config/i386/64/eqtf2.c: Likewise.
12842 * config/i386/64/getf2.c: Likewise.
12843 * config/i386/64/letf2.c: Likewise.
12844 * config/i386/64/letf2.c: Likewise.
34481f28
UB
12845 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12846 unsigned long long for x64 mingw targets.
12847 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12848 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 12849
fea96e25
MR
128502009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
12851
12852 * config.host (vax-*-linux*): New.
12853
cceb575c
AG
128542009-05-31 Anthony Green <green@moxielogic.com>
12855
12856 * config.host: Add moxie support.
12857 * config/moxie/t-moxie: New file.
12858
7d296953 128592009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
12860
12861 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 12862 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 12863
532bfb0a
AJ
128642009-04-17 Aurelien Jarno <aurelien@aurel32.net>
12865
12866 * config.host: Add i386/${host_address}/t-fprules-softfp to
12867 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12868
748086b7
JJ
128692009-04-09 Nick Clifton <nickc@redhat.com>
12870
12871 * config/ia64/tf-signs.c: Change copyright header to refer to
12872 version 3 of the GNU General Public License with version 3.1
12873 of the GCC Runtime Library Exception and to point readers at
12874 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12875 web page.
12876 * config/i386/32/tf-signs.c: Likewise.
12877 * config/libbid/_addsub_dd.c: Likewise.
12878 * config/libbid/_addsub_sd.c: Likewise.
12879 * config/libbid/_addsub_td.c: Likewise.
12880 * config/libbid/_dd_to_df.c: Likewise.
12881 * config/libbid/_dd_to_di.c: Likewise.
12882 * config/libbid/_dd_to_sd.c: Likewise.
12883 * config/libbid/_dd_to_sf.c: Likewise.
12884 * config/libbid/_dd_to_si.c: Likewise.
12885 * config/libbid/_dd_to_td.c: Likewise.
12886 * config/libbid/_dd_to_tf.c: Likewise.
12887 * config/libbid/_dd_to_udi.c: Likewise.
12888 * config/libbid/_dd_to_usi.c: Likewise.
12889 * config/libbid/_dd_to_xf.c: Likewise.
12890 * config/libbid/_df_to_dd.c: Likewise.
12891 * config/libbid/_df_to_sd.c: Likewise.
12892 * config/libbid/_df_to_td.c: Likewise.
12893 * config/libbid/_di_to_dd.c: Likewise.
12894 * config/libbid/_di_to_sd.c: Likewise.
12895 * config/libbid/_di_to_td.c: Likewise.
12896 * config/libbid/_div_dd.c: Likewise.
12897 * config/libbid/_div_sd.c: Likewise.
12898 * config/libbid/_div_td.c: Likewise.
12899 * config/libbid/_eq_dd.c: Likewise.
12900 * config/libbid/_eq_sd.c: Likewise.
12901 * config/libbid/_eq_td.c: Likewise.
12902 * config/libbid/_ge_dd.c: Likewise.
12903 * config/libbid/_ge_sd.c: Likewise.
12904 * config/libbid/_ge_td.c: Likewise.
12905 * config/libbid/_gt_dd.c: Likewise.
12906 * config/libbid/_gt_sd.c: Likewise.
12907 * config/libbid/_gt_td.c: Likewise.
12908 * config/libbid/_isinfd128.c: Likewise.
12909 * config/libbid/_isinfd32.c: Likewise.
12910 * config/libbid/_isinfd64.c: Likewise.
12911 * config/libbid/_le_dd.c: Likewise.
12912 * config/libbid/_le_sd.c: Likewise.
12913 * config/libbid/_le_td.c: Likewise.
12914 * config/libbid/_lt_dd.c: Likewise.
12915 * config/libbid/_lt_sd.c: Likewise.
12916 * config/libbid/_lt_td.c: Likewise.
12917 * config/libbid/_mul_dd.c: Likewise.
12918 * config/libbid/_mul_sd.c: Likewise.
12919 * config/libbid/_mul_td.c: Likewise.
12920 * config/libbid/_ne_dd.c: Likewise.
12921 * config/libbid/_ne_sd.c: Likewise.
12922 * config/libbid/_ne_td.c: Likewise.
12923 * config/libbid/_sd_to_dd.c: Likewise.
12924 * config/libbid/_sd_to_df.c: Likewise.
12925 * config/libbid/_sd_to_di.c: Likewise.
12926 * config/libbid/_sd_to_sf.c: Likewise.
12927 * config/libbid/_sd_to_si.c: Likewise.
12928 * config/libbid/_sd_to_td.c: Likewise.
12929 * config/libbid/_sd_to_tf.c: Likewise.
12930 * config/libbid/_sd_to_udi.c: Likewise.
12931 * config/libbid/_sd_to_usi.c: Likewise.
12932 * config/libbid/_sd_to_xf.c: Likewise.
12933 * config/libbid/_sf_to_dd.c: Likewise.
12934 * config/libbid/_sf_to_sd.c: Likewise.
12935 * config/libbid/_sf_to_td.c: Likewise.
12936 * config/libbid/_si_to_dd.c: Likewise.
12937 * config/libbid/_si_to_sd.c: Likewise.
12938 * config/libbid/_si_to_td.c: Likewise.
12939 * config/libbid/_td_to_dd.c: Likewise.
12940 * config/libbid/_td_to_df.c: Likewise.
12941 * config/libbid/_td_to_di.c: Likewise.
12942 * config/libbid/_td_to_sd.c: Likewise.
12943 * config/libbid/_td_to_sf.c: Likewise.
12944 * config/libbid/_td_to_si.c: Likewise.
12945 * config/libbid/_td_to_tf.c: Likewise.
12946 * config/libbid/_td_to_udi.c: Likewise.
12947 * config/libbid/_td_to_usi.c: Likewise.
12948 * config/libbid/_td_to_xf.c: Likewise.
12949 * config/libbid/_tf_to_dd.c: Likewise.
12950 * config/libbid/_tf_to_sd.c: Likewise.
12951 * config/libbid/_tf_to_td.c: Likewise.
12952 * config/libbid/_udi_to_dd.c: Likewise.
12953 * config/libbid/_udi_to_sd.c: Likewise.
12954 * config/libbid/_udi_to_td.c: Likewise.
12955 * config/libbid/_unord_dd.c: Likewise.
12956 * config/libbid/_unord_sd.c: Likewise.
12957 * config/libbid/_unord_td.c: Likewise.
12958 * config/libbid/_usi_to_dd.c: Likewise.
12959 * config/libbid/_usi_to_sd.c: Likewise.
12960 * config/libbid/_usi_to_td.c: Likewise.
12961 * config/libbid/_xf_to_dd.c: Likewise.
12962 * config/libbid/_xf_to_sd.c: Likewise.
12963 * config/libbid/_xf_to_td.c: Likewise.
12964 * config/libbid/bid128.c: Likewise.
12965 * config/libbid/bid128_2_str.h: Likewise.
12966 * config/libbid/bid128_2_str_macros.h: Likewise.
12967 * config/libbid/bid128_2_str_tables.c: Likewise.
12968 * config/libbid/bid128_add.c: Likewise.
12969 * config/libbid/bid128_compare.c: Likewise.
12970 * config/libbid/bid128_div.c: Likewise.
12971 * config/libbid/bid128_fma.c: Likewise.
12972 * config/libbid/bid128_logb.c: Likewise.
12973 * config/libbid/bid128_minmax.c: Likewise.
12974 * config/libbid/bid128_mul.c: Likewise.
12975 * config/libbid/bid128_next.c: Likewise.
12976 * config/libbid/bid128_noncomp.c: Likewise.
12977 * config/libbid/bid128_quantize.c: Likewise.
12978 * config/libbid/bid128_rem.c: Likewise.
12979 * config/libbid/bid128_round_integral.c: Likewise.
12980 * config/libbid/bid128_scalb.c: Likewise.
12981 * config/libbid/bid128_sqrt.c: Likewise.
12982 * config/libbid/bid128_string.c: Likewise.
12983 * config/libbid/bid128_to_int16.c: Likewise.
12984 * config/libbid/bid128_to_int32.c: Likewise.
12985 * config/libbid/bid128_to_int64.c: Likewise.
12986 * config/libbid/bid128_to_int8.c: Likewise.
12987 * config/libbid/bid128_to_uint16.c: Likewise.
12988 * config/libbid/bid128_to_uint32.c: Likewise.
12989 * config/libbid/bid128_to_uint64.c: Likewise.
12990 * config/libbid/bid128_to_uint8.c: Likewise.
12991 * config/libbid/bid32_to_bid128.c: Likewise.
12992 * config/libbid/bid32_to_bid64.c: Likewise.
12993 * config/libbid/bid64_add.c: Likewise.
12994 * config/libbid/bid64_compare.c: Likewise.
12995 * config/libbid/bid64_div.c: Likewise.
12996 * config/libbid/bid64_fma.c: Likewise.
12997 * config/libbid/bid64_logb.c: Likewise.
12998 * config/libbid/bid64_minmax.c: Likewise.
12999 * config/libbid/bid64_mul.c: Likewise.
13000 * config/libbid/bid64_next.c: Likewise.
13001 * config/libbid/bid64_noncomp.c: Likewise.
13002 * config/libbid/bid64_quantize.c: Likewise.
13003 * config/libbid/bid64_rem.c: Likewise.
13004 * config/libbid/bid64_round_integral.c: Likewise.
13005 * config/libbid/bid64_scalb.c: Likewise.
13006 * config/libbid/bid64_sqrt.c: Likewise.
13007 * config/libbid/bid64_string.c: Likewise.
13008 * config/libbid/bid64_to_bid128.c: Likewise.
13009 * config/libbid/bid64_to_int16.c: Likewise.
13010 * config/libbid/bid64_to_int32.c: Likewise.
13011 * config/libbid/bid64_to_int64.c: Likewise.
13012 * config/libbid/bid64_to_int8.c: Likewise.
13013 * config/libbid/bid64_to_uint16.c: Likewise.
13014 * config/libbid/bid64_to_uint32.c: Likewise.
13015 * config/libbid/bid64_to_uint64.c: Likewise.
13016 * config/libbid/bid64_to_uint8.c: Likewise.
13017 * config/libbid/bid_b2d.h: Likewise.
13018 * config/libbid/bid_binarydecimal.c: Likewise.
13019 * config/libbid/bid_conf.h: Likewise.
13020 * config/libbid/bid_convert_data.c: Likewise.
13021 * config/libbid/bid_decimal_data.c: Likewise.
13022 * config/libbid/bid_decimal_globals.c: Likewise.
13023 * config/libbid/bid_div_macros.h: Likewise.
13024 * config/libbid/bid_dpd.c: Likewise.
13025 * config/libbid/bid_flag_operations.c: Likewise.
13026 * config/libbid/bid_from_int.c: Likewise.
13027 * config/libbid/bid_functions.h: Likewise.
13028 * config/libbid/bid_gcc_intrinsics.h: Likewise.
13029 * config/libbid/bid_inline_add.h: Likewise.
13030 * config/libbid/bid_internal.h: Likewise.
13031 * config/libbid/bid_round.c: Likewise.
13032 * config/libbid/bid_sqrt_macros.h: Likewise.
13033
130342009-04-09 Jakub Jelinek <jakub@redhat.com>
13035
13036 * Makefile.in: Change copyright header to refer to version
13037 3 of the GNU General Public License and to point readers at the
13038 COPYING3 file and the FSF's license web page.
13039 * config.host: Likewise.
13040
633dd061
AM
130412009-04-07 Alan Modra <amodra@bigpond.net.au>
13042
13043 * config.host: Reorder and merge to match config.gcc change.
13044
457d1d00
AM
130452009-04-03 Alan Modra <amodra@bigpond.net.au>
13046
13047 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
13048
52c0e446
JM
130492009-03-28 Joseph Myers <joseph@codesourcery.com>
13050
13051 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
13052 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
13053 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
13054 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
13055
ba181049
UB
130562009-02-12 Uros Bizjak <ubizjak@gmail.com>
13057
13058 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
13059 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
13060
c252db20
L
130612009-02-12 H.J. Lu <hongjiu.lu@intel.com>
13062
ba181049
UB
13063 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
13064 ia64/t-softfp-compat to tmake_file.
c252db20
L
13065
13066 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
13067
13068 * config/ia64/__divxf3.asm: New.
13069 * config/ia64/_fixtfdi.asm: Likewise.
13070 * config/ia64/_fixunstfdi.asm: Likewise.
13071 * config/ia64/_floatditf.asm: Likewise.
13072 * config/ia64/t-fprules-softfp: Likewise.
13073 * config/ia64/t-softfp-compat: Likewise.
13074 * config/ia64/tf-signs.c: Likewise.
13075
c60535f9
BE
130762009-01-18 Ben Elliston <bje@au.ibm.com>
13077
13078 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
13079
ce16861e
BE
130802009-01-16 Ben Elliston <bje@au.ibm.com>
13081
13082 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
13083 to tmake_file.
13084
bcf4713b
BE
130852009-01-13 Ben Elliston <bje@au.ibm.com>
13086
13087 * config/t-softfp: New file.
13088 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
13089 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
13090
7d296953 130912009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
13092
13093 * config.host: Add m32r*-*-rtems*.
13094
7d296953 130952008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
13096
13097 * config.host: Add m32c*-*-rtems*.
13098
19523300
RO
130992008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13100
13101 PR bootstrap/33100
13102 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
13103 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
13104 * configure: Regenerate.
13105 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
13106 tmake_file here from gcc/config.gcc.
13107 Move extra_parts here from gcc/config.gcc.
13108 * config/i386/t-sol2: Move here from gcc/config/i386.
13109 Use gcc_srcdir instead of srcdir.
13110
0a4a51c7
AN
131112008-11-18 Adam Nemet <anemet@caviumnetworks.com>
13112
13113 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
13114 case.
13115
2a761e46
TS
131162008-11-09 Thomas Schwinge <tschwinge@gnu.org>
13117
13118 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
13119
c0451df7
TS
131202008-10-08 Thomas Schwinge <tschwinge@gnu.org>
13121
13122 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
13123
358da97e
HS
131242008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
13125
13126 Add picoChip port.
13127 * config.host: Add picochip-*-*.
13128
c660f132
BW
131292008-08-06 Bob Wilson <bob.wilson@acm.org>
13130
13131 * config.host: Match more processor names for Xtensa.
13132
d1349557
L
131332008-07-08 H.J. Lu <hongjiu.lu@intel.com>
13134
13135 * config/i386/64/t-softfp-compat: Update comments.
13136
dd7b73c0
L
131372008-07-07 H.J. Lu <hongjiu.lu@intel.com>
13138
13139 * config/i386/64/_divtc3-compat.c: Moved to ...
13140 * config/i386/64/_divtc3.c: Here.
13141
13142 * config/i386/64/_multc3-compat.c: Moved to ...
13143 * config/i386/64/_multc3.c: Here.
13144
13145 * config/i386/64/_powitf2-compat.c: Moved to ...
13146 * config/i386/64/_powitf2.c: Here.
13147
13148 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
13149 .c suffix instead of -compat.c.
13150
6e1fab3d
UB
131512008-07-05 Uros Bizjak <ubizjak@gmail.com>
13152
13153 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
13154 (_FP_MUL_MEAT_D): Ditto.
13155 (_FP_DIV_MEAT_S): Ditto.
13156 (_FP_DIV_MEAT_D): Ditto.
13157
f92518d7
RS
131582008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
13159
13160 * Makefile.in: Add support for __sync_* libgcc functions.
13161
d0aede14
L
131622008-07-03 H.J. Lu <hongjiu.lu@intel.com>
13163
13164 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
13165
c174f11c
L
131662008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13167
13168 PR boostrap/36702
13169 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
13170 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
13171
13172 * config/i386/64/t-fprules-softfp: Moved to ...
13173 * config/i386/64/t-softfp-compat: This. New.
13174
5f464fa2
UB
131752008-07-02 Uros Bizjak <ubizjak@gmail.com>
13176
13177 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
13178 Initialize f with 0.0.
13179
ff473280
L
131802008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13181
13182 PR target/36669
13183 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
13184
13185 * config/i386/64/_divtc3-compat.c: New.
13186 * config/i386/64/_multc3-compat.c: Likewise.
13187 * config/i386/64/_powitf2-compat.c: Likewise.
13188 * config/i386/64/eqtf2.c: Likewise.
13189 * config/i386/64/getf2.c: Likewise.
13190 * config/i386/64/letf2.c: Likewise.
13191 * config/i386/64/t-fprules-softfp: Likewise.
13192
131932008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13194
13195 * config.host: Add i386/${host_address}/t-fprules-softfp to
13196 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 13197 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
13198
13199 * configure.ac: Set host_address to 64 or 32 for x86.
13200 * configure: Regenerated.
13201
13202 * Makefile.in (config.status): Also depend on
13203 $(srcdir)/config.host.
13204
13205 * config/i386/32/t-fprules-softfp: New.
13206 * config/i386/32/tf-signs.c: Likewise.
13207
13208 * config/i386/64/sfp-machine.h: New. Moved from gcc.
13209
132102008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13211 Uros Bizjak <ubizjak@gmail.com>
13212
13213 * config/i386/32/sfp-machine.h: New.
13214
30551d99
NF
132152008-06-26 Nathan Froyd <froydnj@codesourcery.com>
13216
13217 * config/rs6000/t-ppccomm: Remove rules that conflict with
13218 auto-generated rules.
13219
18c04407
RW
132202008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13221
13222 * configure.ac: sinclude override.m4.
13223 * configure: Regenerate.
13224
10fbe77a
BRF
132252008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
13226
13227 * configure: Regenerate.
13228
bc6d4c3f
JM
132292008-06-10 Joseph Myers <joseph@codesourcery.com>
13230
13231 * Makefile.in (DECNUMINC): Remove
13232 -I$(MULTIBUILDTOP)../../libdecnumber.
13233 * gstdint.h: New.
13234
cd985f66
JM
132352008-06-07 Joseph Myers <joseph@codesourcery.com>
13236
13237 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
13238 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
13239 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
13240 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
13241 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
13242 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
13243 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
13244 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
13245 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
13246 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
13247 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
13248 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
13249 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
13250 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
13251
93fea8d3
AL
132522008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
13253
13254 * config.host (sh2[lbe]*-*-linux*): Allow target.
13255
18724e30
NF
132562008-04-30 Nathan Froyd <froydnj@codesourcery.com>
13257
13258 * config/rs6000/t-ppccomm: Add build rules for new files.
13259 (LIB2ADD_ST): New variable.
13260
47583040
AH
132612008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
13262
13263 PR target/34210
13264 PR target/35508
13265 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
13266 * config/t-avr: New file. Build 16bit libgcc functions.
13267
cf8e67fe
JJ
132682008-03-02 Jakub Jelinek <jakub@redhat.com>
13269
13270 PR target/35401
13271 * config/t-slibgcc-darwin: Make install-leaf dependent on
13272 install-darwin-libgcc-stubs instead of install.
13273
8d8da227
JM
132742008-01-25 Joseph Myers <joseph@codesourcery.com>
13275
13276 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
13277 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
13278 sh-*-rtemscoff*): Remove cases.
13279
edbf8b16
RS
132802007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
13281
13282 * Makefile.in (all): Use install-leaf rather than install.
13283 (install): Split most of the rule into...
13284 (install-leaf): ...this new one.
13285
89deeaff
EK
132862007-12-19 Etsushi Kato <ek.kato@gmail.com>
13287 Paolo Bonzini <bonzini@gnu.org>
13288
13289 PR target/30572
5f464fa2
UB
13290 * Makefile.in: Use @shlib_slibdir@ substitution to get
13291 correct install name on darwin.
89deeaff 13292 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 13293
4081d704
HPN
132942007-12-15 Hans-Peter Nilsson <hp@axis.com>
13295
13296 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
13297 cris-*-elf and cris-*-none.
13298 (crisv32-*-linux*): Similar, as cris-*-linux*.
13299
f43e89a3
RIL
133002007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
13301
13302 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
13303
b4e9c2c6
L
133042007-10-27 H.J. Lu <hongjiu.lu@intel.com>
13305
13306 PR regression/33926
13307 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
13308 * configure: Regenerated.
13309
b2a00c89
L
133102007-09-27 H.J. Lu <hongjiu.lu@intel.com>
13311
13312 * Makefile.in (dfp-filenames): Replace decimal_globals,
13313 decimal_data, binarydecimal and convert_data with
13314 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
13315 and bid_convert_data, respectively.
13316
8d2a9e0e
CF
133172007-09-17 Chao-ying Fu <fu@mips.com>
13318 Nigel Stephens <nigel@mips.com>
13319
13320 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
13321 * Makefile.in (fixed_point): Define.
13322 Check if fixed_point is yes to build support functions.
13323 * configure.ac: Check for fixed_point support.
13324 * configure: Regenerated.
13325 * gen-fixed.sh: New file to generate lists of fixed-point labels,
13326 funcs, modes, from, to.
13327
2b53935d
JJ
133282007-09-11 Janis Johnson <janis187@us.ibm.com
13329
13330 * Makefile.in (dfp-filenames): Add bid128_noncomp.
13331
2533577f
JJ
133322007-09-10 Janis Johnson <janis187@us.ibm.com>
13333
13334 * Makefile.in (dfp-filenames): Remove decUtility, add
13335 decDouble, decPacked, decQuad, decSingle.
13336
3ae3dbd6
HK
133372007-08-27 Hans Kester <hans.kester@ellips.nl>
13338
13339 * config.host : Add x86_64-elf target.
13340
22867d02
L
133412007-07-06 H.J. Lu <hongjiu.lu@intel.com>
13342
13343 * configure.ac (set_have_cc_tls): Add a missing =.
13344 * configure: Regenerated.
13345
6f461e76
L
133462007-07-06 H.J. Lu <hongjiu.lu@intel.com>
13347
13348 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
13349 and x86_64-*-linux*.
13350
13351 * config/t-tls: New file.
13352
dfb3b0e3 13353 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
13354
13355 * configure.ac: Include ../config/enable.m4 and
13356 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
13357 supports TLS and substitute set_have_cc_tls.
13358 * configure: Regenerated.
13359
200359e8
L
133602007-07-04 H.J. Lu <hongjiu.lu@intel.com>
13361
13362 * Makefile.in: Use libbid for DFP when BID is enabled.
13363
76f5e200
DS
133642007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
13365
13366 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 13367 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
13368 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
13369
9bd196f0 133702007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 13371 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
13372
13373 PR target/29498
13374 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
13375 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
13376 * config/i386/t-crtfm: Compile crtfastmath.o with
13377 -minline-all-stringops.
13378
1910440e
RS
133792007-05-10 Richard Sandiford <richard@codesourcery.com>
13380
13381 * config.host (sparc-wrs-vxworks): New target.
13382
7d33c31d
KH
133832007-04-14 Kazu Hirata <kazu@codesourcery.com>
13384
13385 * config.host: Recognize fido.
13386
96fccd0d
JJ
133872007-04-04 Janis Johnson <janis187@us.ibm.com>
13388
13389 * configure: Check host, not target, for decimal float support.
13390
577565f9
UB
133912007-04-03 Uros Bizjak <ubizjak@gmail.com>
13392
13393 * config/i386/t-crtpc: New file.
13394 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 13395 (x86_64-*-linux*): Ditto.
577565f9 13396
ccf8e764
RH
133972007-02-30 Kai Tietz <kai.tietz@onevision.com>
13398
13399 * config.host (x86_64-*-mingw*): New target.
13400
79b87c74
MM
134012007-03-23 Michael Meissner <michael.meissner@amd.com>
13402 H.J. Lu <hongjiu.lu@intel.com>
13403
13404 * Makefile.in (enable_decimal_float): New.
13405 (DECNUMINC): Add
13406 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
13407 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
13408 (decbits-filenames): This.
13409 (decbits-objects): New.
13410 (libgcc-objects): Add $(decbits-objects).
13411
13412 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
13413 Substitute enable_decimal_float.
13414 * configure: Regenerated.
13415
8fce4e31
HPN
134162007-03-19 Hans-Peter Nilsson <hp@axis.com>
13417
13418 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
13419
e8bb4597
BM
134202007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
13421
13422 * Makefile.in (install-info): New dummy target.
13423
344189f9
BS
134242007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
13425
13426 * config.host (bfin*-linux-uclibc*): Set extra_parts.
13427
ac84c172
BM
134282007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
13429
13430 * Makefile.in: Add install-html and install-pdf dummy
13431 targets.
13432
cd5c2357
RS
134332007-02-05 Roger Sayle <roger@eyesopen.com>
13434 Daniel Jacobowitz <dan@codesourcery.com>
13435
13436 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
13437 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
13438 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
13439
d9a66f98
JJ
134402007-01-29 Janis Johnson <janis187@us.ibm.com>
13441
13442 * Makefile.in (dec-filenames): Add decExcept.
13443
9891ec5f
DJ
134442007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
13445
13446 PR bootstrap/30469
13447 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
13448 -fprofile-use.
13449
d6efbf5a
DJ
134502007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
13451
13452 * configure.ac: Add --enable-version-specific-runtime-libs.
13453 Correct $slibdir default.
13454 * configure: Regenerated.
13455
17caeff2
JM
134562007-01-23 Joseph Myers <joseph@codesourcery.com>
13457
13458 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
13459
5ea41e3a
AP
134602007-01-21 Andrew Pinski <pinskia@gmail.com>
13461
13462 PR target/30519
13463 * config.host (alpha*-*-linux*): Set extra_parts.
13464
26900826
KK
134652007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
13466
13467 * config/sh/t-linux: New.
13468 * config.host (sh*-*-linux*): Set tmake_file.
13469
97af925b
DJ
134702007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
13471
13472 * Makefile.in (install): Handle multilibs.
13473
b0088af7
BM
134742007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
13475
13476 * Makefile.in: Added .PHONY entry for documentation targets.
13477
e0a9456a
BM
134782007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
13479
13480 * Makefile.in: Add empty info, html, dvi, pdf targets.
13481
7fd453b4
MS
134822007-01-04 Mike Stump <mrs@apple.com>
13483
13484 * Makefile.in (MAKEINFO): Remove.
13485 (PERL): Likewise.
13486
14e8fc8b
PB
134872007-01-04 Paolo Bonzini <bonzini@gnu.org>
13488
13489 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
13490 * configure: Regenerate.
13491 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 13492 (gcc_objdir): Use it.
14e8fc8b 13493
1555beba
DJ
134942007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
13495
13496 * config.host (ia64*-*-linux*): Set tmake_file.
13497
79e6eaeb
DJ
134982007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
13499
13500 * Makefile.in (version): Define.
13501
fa958513
DJ
135022007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
13503 Paolo Bonzini <bonzini@gnu.org>
13504
13505 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
13506 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
13507 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
13508 config/sparc/t-crtfm, config/t-slibgcc-darwin,
13509 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
13510 shared-object.mk, siditi-object.mk, static-object.mk: New files.
13511 * configure: Generated.
818ab71a 13512\f
6a720d41 13513Copyright (C) 2007-2024 Free Software Foundation, Inc.
818ab71a
JJ
13514
13515Copying and distribution of this file, with or without modification,
13516are permitted in any medium without royalty provided the copyright
13517notice and this notice are preserved.