]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
e1d4c8e4
GA
12024-04-15 Jakub Jelinek <jakub@redhat.com>
2
3 PR libgcc/114689
4 * config/m68k/fpgnulib.c (__truncdfsf2): Add parentheses around
5 !!sticky bitwise or operand to quiet up cppcheck. Add parentheses
6 around mant >> 1 bitwise or operand.
7
0f3e76ee
GA
82024-04-10 Andre Vieira <andre.simoesdiasvieira@arm.com>
9
10 * config/aarch64/t-softfp (softfp_extras): Add floatbitinthf,
11 floatbitintbf, floatbitinttf and fixtfbitint.
12 * config/aarch64/libgcc-softfp.ver (GCC_14.0.0): Add __floatbitinthf,
13 __floatbitintbf, __floatbitinttf and __fixtfbitint.
14
0753ae15
GA
152024-04-09 Sergey Bugaev <bugaevc@gmail.com>
16
17 * config.host: Recognize aarch64*-*-gnu* hosts.
18 * config/aarch64/gnu-unwind.h: New file.
19 * config/aarch64/heap-trampoline.c
20 (allocate_trampoline_page): Support GNU/Hurd.
21
5192e72e
GA
222024-04-04 Jørgen Kvalsvik <j@lambda.is>
23
24 * libgcov-merge.c (__gcov_merge_ior): New.
25
88ce7fbc
GA
262024-04-03 Wilco Dijkstra <wilco.dijkstra@arm.com>
27
28 * config/aarch64/cpuinfo.c: Add HWCAP_EVTSTRM, HWCAP_CRC32, HWCAP_CPUID,
29 HWCAP_PACA and HWCAP_PACG.
30
a1e6798a
GA
312024-04-02 Jakub Jelinek <jakub@redhat.com>
32
33 * unwind-dw2-fde.c (struct fde_accumulator): Fix duplicated
34 words in comment; is is -> is.
35
7e6cdec4
GA
362024-03-25 Max Filippov <jcmvbkbc@gmail.com>
37
38 * unwind-arm-common.inc (__gnu_personality_sigframe_fdpic): Cast
39 last argument of _Unwind_VRS_Set to void *.
40
e8985864
GA
412024-03-22 Thomas Neumann <tneumann@users.sourceforge.net>
42
43 PR libgcc/111731
44 * unwind-dw2-fde.c: Split unwind ranges if they contain the
45 unwind table.
46
44b79ab6
GA
472024-03-21 Jakub Jelinek <jakub@redhat.com>
48
49 PR libgcc/114397
50 * libgcc2.c (__divmodbitint4): Don't assume un < vn always means
51 abs(v) > abs(u), check for a special case of un + 1 == vn where
52 u is non-negative and v negative and after v's negation vn could
53 be reduced by 1.
54
af376184
GA
552024-03-20 Flavio Cruz <flaviocruz@gmail.com>
56
57 * config/i386/gnu-unwind.h: Support unwinding x86_64 signal frames.
58
53fb2cf7
GA
592024-03-15 Jakub Jelinek <jakub@redhat.com>
60
61 PR libgcc/114327
62 * libgcc2.c (bitint_negate): Return UWtype bitwise or of all the limbs
63 before negation rather than void.
64 (__divmodbitint4): Determine whether to fill in the upper limbs after
65 negation based on whether bitint_negate returned 0 or non-zero, rather
66 then always filling with -1.
67
77de8b72
GA
682024-02-22 Kewen Lin <linkw@linux.ibm.com>
69
70 PR target/109987
71 * config/rs6000/t-float128-hw: Replace options -mpower{8,9}-vector
72 with -mcpu=power9.
73 * configure.ac: Update use of option -mpower9-vector with
74 -mcpu=power9.
75 * configure: Regenerate.
76
98004ca0
GA
772024-02-21 Iain Sandoe <iain@sandoe.co.uk>
78
79 * config/aarch64/heap-trampoline.c
80 (aarch64_trampoline_insns): Arrange to encode instructions as a
81 byte array so that the order is independent of memory byte order.
82 (struct aarch64_trampoline): Likewise.
83
b4c88cc7
GA
842024-02-20 Iain Sandoe <iain@sandoe.co.uk>
85
86 PR target/113971
87 * config/aarch64/heap-trampoline.c: Allow all linux variants.
88
d70f155b
GA
892024-02-16 Matteo Italia <matteo@mitalia.net>
90
91 PR libgcc/113850
92 * config/i386/gthr-win32-cond.c (__gthr_win32_abs_to_rel_time):
93 fix absolute timespec to relative milliseconds count
94 conversion (it incorrectly returned seconds instead of
95 milliseconds); this avoids spurious wakeups in
96 __gthr_win32_cond_timedwait
97
5266f930
GA
982024-02-14 Jakub Jelinek <jakub@redhat.com>
99 H.J. Lu <hjl.tools@gmail.com>
100
101 PR target/113855
102 * config/i386/heap-trampoline.c (trampoline_insns): Add IBT
103 support and pad to the multiple of 4 bytes. Use movabsq
104 instead of movabs in comments. Add -mx32 variant.
105
df6c57ce
GA
1062024-02-13 Jakub Jelinek <jakub@redhat.com>
107
108 * soft-fp/bitint.h (FP_FROM_BITINT): If iprec < 0 and msb is all ones,
109 just set n to 1 instead of using __builtin_clzll (~msb).
110
bf074ee4
GA
1112024-02-12 Iain Sandoe <iain@sandoe.co.uk>
112
113 PR target/113855
114 * config.host: Add trampoline support to x?86-linux.
115 * config/i386/heap-trampoline.c (trampoline_insns): Provide
116 a variant for IA32.
117 (union ix86_trampoline): Likewise.
118 (__gcc_nested_func_ptr_created): Implement a basic trampoline
119 for IA32.
120
67d5b10e
GA
1212024-02-10 Jakub Jelinek <jakub@redhat.com>
122
123 * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Or in all remainder
124 limbs into inexact rather than just first two.
125 * soft-fp/floatbitintsd.c (__bid_floatbitintsd): Likewise.
126 * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
127
1282024-02-10 Jakub Jelinek <jakub@redhat.com>
129
130 * soft-fp/fixddbitint.c (__bid_fixddbitint): Fix up
131 BIL_TYPE_SIZE == 32 shifts.
132 * soft-fp/fixsdbitint.c (__bid_fixsdbitint): Likewise.
133 * soft-fp/fixtdbitint.c (__bid_fixtdbitint): Likewise.
134 * soft-fp/floatbitintdd.c (__bid_floatbitintdd): Likewise.
135 * soft-fp/floatbitinttd.c (__bid_floatbitinttd): Likewise.
136
2523654a
GA
1372024-02-09 Iain Sandoe <iain@sandoe.co.uk>
138
139 * config/i386/libgcc-darwin.ver: Export bf and bitint-related
140 synbols.
141
3e4c4c5e
GA
1422024-02-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
143
144 PR target/113700
145 * config/i386/libgcc-sol2.ver (GCC_14.0.0): Added all symbols from
146 i386/libgcc-glibc.ver (GCC_12.0.0, GCC_13.0.0, GCC_14.0.0).
147 * config/i386/libgcc-glibc.ver: Request notifications on updates.
148
1492024-02-06 Matteo Italia <matteo@mitalia.net>
150
151 PR libgcc/113337
152 * unwind-seh.c (_Unwind_Resume_or_Rethrow): forward
153 _Unwind_RaiseException return code back to caller instead of
154 calling abort, allowing __cxa_rethrow to invoke std::terminate
155 in case of uncaught rethrown exception
156
4b7d4d8a
GA
1572024-02-02 Jakub Jelinek <jakub@redhat.com>
158
159 PR libgcc/113604
160 * libgcc2.c (__divmodbitint4): If uv1 >= vv1, subtract
161 vv1 from uv1:uv0 once or twice as needed, rather than
162 subtracting vv1:vv1.
163
1642024-02-02 Khem Raj <raj.khem@gmail.com>
165
166 * config/i386/enable-execute-stack-mingw32.c: Include
167 stdlib.h for abort() definition.
168
1692024-02-02 Jakub Jelinek <jakub@redhat.com>
170
171 PR target/113700
172 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Remove __PFX prefixes
173 from symbol names.
174
e2554540
GA
1752024-02-01 Jakub Jelinek <jakub@redhat.com>
176
177 PR libgcc/113402
178 * libgcc2.h (__gcc_nested_func_ptr_created): Change type of last
179 argument from void ** to void *.
180 * config/i386/heap-trampoline.c (__gcc_nested_func_ptr_created):
181 Change type of dst from void ** to void * and cast dst to void **
182 before dereferencing it.
183 * config/aarch64/heap-trampoline.c (__gcc_nested_func_ptr_created):
184 Likewise.
185
1862024-02-01 Jakub Jelinek <jakub@redhat.com>
187
188 PR libgcc/113403
189 * config/i386/t-heap-trampoline: Add to LIB2ADDEHSHARED
190 i386/heap-trampoline.c rather than aarch64/heap-trampoline.c.
191
dd3455f6
GA
1922024-02-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
193
194 * config/aarch64/crti.S: Remove stack marking.
195 * config/aarch64/crtn.S: Remove stack marking, include aarch64-asm.h
196 * config/aarch64/lse.S: Remove stack and GNU property markings.
197
097ddd55
GA
1982024-01-30 Iain Sandoe <iain@sandoe.co.uk>
199
200 PR libgcc/113403
201 * config.host: Build libheap_t.a for i686/x86_64 Darwin.
202 * config/aarch64/heap-trampoline.c (HEAP_T_ATTR): New.
203 (allocate_tramp_ctrl): Allow a target to build this as a weak def.
204 (__gcc_nested_func_ptr_created): Likewise.
205 * config/i386/heap-trampoline.c (HEAP_T_ATTR): New.
206 (allocate_tramp_ctrl): Allow a target to build this as a weak def.
207 (__gcc_nested_func_ptr_created): Likewise.
208 * config/t-darwin: Build libheap_t.a (a CRT with heap trampoline
209 support).
210
2112024-01-30 Iain Sandoe <iain@sandoe.co.uk>
212
213 PR libgcc/113403
214 * config/aarch64/t-heap-trampoline: Move the heap trampoline
215 support functions from libgcc.a to libgcc_eh.a.
216 * config/i386/t-heap-trampoline: Likewise.
217
91b3da6f
GA
2182024-01-28 Iain Sandoe <iain@sandoe.co.uk>
219 Jakub Jelinek <jakub@redhat.com>
220
221 PR libgcc/113402
222 * config/aarch64/heap-trampoline.c: Rename
223 __builtin_nested_func_ptr_created to __gcc_nested_func_ptr_created and
224 __builtin_nested_func_ptr_deleted to __gcc_nested_func_ptr_deleted.
225 * config/i386/heap-trampoline.c: Likewise.
226 * libgcc2.h: Likewise.
227 * libgcc-std.ver.in (GCC_7.0.0): Likewise and then move
228 __gcc_nested_func_ptr_created and
229 __gcc_nested_func_ptr_deleted from this symbol version to ...
230 (GCC_14.0.0): ... this one.
231
ce9dae56
GA
2322024-01-26 Andrew Stubbs <ams@baylibre.com>
233
234 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Handle RDNA3.
235
3128786c
GA
2362024-01-23 Zac Walker <zacwalker@microsoft.com>
237
238 * config/aarch64/aarch64-asm.h (HIDDEN, SYMBOL_SIZE, SYMBOL_TYPE)
239 (ENTRY_ALIGN, GNU_PROPERTY): New macros.
240 * config/aarch64/__arm_sme_state.S: Use them.
241 * config/aarch64/__arm_tpidr2_save.S: Likewise.
242 * config/aarch64/__arm_za_disable.S: Likewise.
243 * config/aarch64/crti.S: Likewise.
244 * config/aarch64/lse.S: Likewise.
245
444a31f3
GA
2462024-01-12 Jakub Jelinek <jakub@redhat.com>
247
248 * libgcc2.h (UBILtype): New typedef with may_alias attribute.
249 (__mulbitint3, __divmodbitint4): Use UBILtype * instead of
250 UWtype * and const UBILtype * instead of const UWtype *.
251 * libgcc2.c (bitint_reduce_prec, bitint_mul_1, bitint_addmul_1,
252 __mulbitint3, bitint_negate, bitint_submul_1, __divmodbitint4):
253 Likewise.
254 * soft-fp/bitint.h (UBILtype): Change define into a typedef with
255 may_alias attribute.
256
2572024-01-12 Sandra Loosemore <sandra@codesourcery.com>
258
259 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Do not try to use
260 _dl_find_object on nios2; it doesn't work.
261
d2ae7cb2
GA
2622023-12-23 Thomas Schwinge <thomas@codesourcery.com>
263
264 * c++-minimal/README: New.
265 * c++-minimal/guard.c: New.
266 * config/gcn/t-amdgcn (LIB2ADD): Add it.
267 * config/nvptx/t-nvptx (LIB2ADD): Likewise.
268
7ad9058c
GA
2692023-12-20 Alexandre Oliva <oliva@adacore.com>
270
271 PR middle-end/112917
272 * config.host (sparc, sparc64): Enable...
273 * config/sparc/t-sparc: ... this new fragment.
274
fa1158c5
GA
2752023-12-20 Alexandre Oliva <oliva@adacore.com>
276
277 * strub.c (ATTRIBUTE_NOINLINE): New.
278 (ATTRIBUTE_STRUB_CALLABLE): Add it.
279 (__strub_dummy_force_no_leaf): Drop it.
280
7e6f0faa
GA
2812023-12-16 Andrew Carlotti <andrew.carlotti@arm.com>
282
283 * config/aarch64/cpuinfo.c (enum CPUFeatures): Move to shared
284 copy in gcc/common
285
2862023-12-16 Andrew Carlotti <andrew.carlotti@arm.com>
287 Pavel Iliin <Pavel.Iliin@arm.com>
288
289 * config/aarch64/t-aarch64: Include cpuinfo.c
290 * config/aarch64/cpuinfo.c: New file
291 (__init_cpu_features_constructor) New.
292 (__init_cpu_features_resolver) New.
293 (__init_cpu_features) New.
294
d5c96225
GA
2952023-12-11 Lipeng Zhu <lipeng.zhu@intel.com>
296
297 * gthr-posix.h (__GTHREAD_RWLOCK_INIT): New macro.
298 (__gthrw): New function.
299 (__gthread_rwlock_rdlock): New function.
300 (__gthread_rwlock_tryrdlock): New function.
301 (__gthread_rwlock_wrlock): New function.
302 (__gthread_rwlock_trywrlock): New function.
303 (__gthread_rwlock_unlock): New function.
304
dd3b75d8
GA
3052023-12-08 Florian Weimer <fweimer@redhat.com>
306
307 * libgcov-interface.c (__gcov_fork): Use __builtin_fork instead
308 of fork.
309
3102023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
311
312 * config.in: Regenerate.
313
3142023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
315
316 * config/aarch64/__arm_za_disable.S: Add hidden alias.
317 * config/aarch64/aarch64-unwind.h: Reset the SME state before
318 EH return via the _Unwind_Frames_Extra hook.
319
3202023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
321
322 * config/aarch64/t-aarch64: Add sources to the build.
323 * config/aarch64/__aarch64_have_sme.c: New file.
324 * config/aarch64/__arm_sme_state.S: New file.
325 * config/aarch64/__arm_tpidr2_restore.S: New file.
326 * config/aarch64/__arm_tpidr2_save.S: New file.
327 * config/aarch64/__arm_za_disable.S: New file.
328 * config/aarch64/aarch64-asm.h: New file.
329 * config/aarch64/libgcc-sme.ver: New file.
330
3312023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
332
333 * config.in: Undef HAVE___GETAUXVAL.
334 * configure: Regenerate.
335 * configure.ac: Check for __getauxval.
336
3372023-12-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
338
339 * config.in: Undef HAVE_AS_VARIANT_PCS.
340 * configure: Regenerate.
341 * configure.ac: Check for .variant_pcs.
342
08f89e5e
GA
3432023-12-07 Alexandre Oliva <oliva@adacore.com>
344
345 * configure.ac: Check for strub support.
346 * configure: Rebuilt.
347 * Makefile.in: Compile strub.c conditionally.
348
ae9e48e5
GA
3492023-12-06 Thomas Schwinge <thomas@codesourcery.com>
350 Jakub Jelinek <jakub@redhat.com>
351
352 PR libgcc/109289
353 * emutls.c: Add GCC diagnostic ignored "-Wbuiltin-declaration-mismatch"
354 pragma.
355
3dd09cd9
GA
3562023-12-06 Alexandre Oliva <oliva@adacore.com>
357
358 * Makefile.in (LIB2ADD): Add strub.c.
359 * libgcc2.h (__strub_enter, __strub_update, __strub_leave):
360 Declare.
361 * strub.c: New.
362 * libgcc-std.ver.in (__strub_enter): Add to GCC_14.0.0.
363 (__strub_update, __strub_leave): Likewise.
364
833819e7
GA
3652023-12-03 Jeff Law <jlaw@ventanamicro.com>
366
367 * unwind-pe.h (_Unwind_gnu_Find_got): Add prototype.
368
3692023-12-03 Jeff Law <jlaw@ventanamicro.com>
370
371 * config/rx/rx-abi-functions.c (__ltdf2, __gtdf2): Add prototype.
372 (__ledf2, __gedf2, __eqdf2, __nedf2): Likewise.
373 (__ltsf2, __gtsf2, __lesf2, __gesf2, __eqsf2, __nesf2): Likewise.
374
3752023-12-03 Jeff Law <jlaw@ventanamicro.com>
376
377 * config/frv/frvbegin.c (atexit): Add prototype.
378
2e0f3f97
GA
3792023-12-01 Alexandre Oliva <oliva@adacore.com>
380
381 * libgcc-std.ver.in (__hardcfr_check): Add to GCC_14.0.0.
382
3832023-12-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
384
385 PR target/112777
386 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Honor that __LIBGCC_HAVE_LIBATOMIC is
387 always defined as either 0 or 1.
388
3892023-12-01 Florian Weimer <fweimer@redhat.com>
390
391 * config/aarch64/linux-unwind.h
392 (aarch64_fallback_frame_state): Add cast to the expected type
393 in sc assignment.
394
8428bcd7
GA
3952023-11-30 Wilco Dijkstra <wilco.dijkstra@arm.com>
396
397 PR target/111404
398 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Execute STLXP using
399 either new value or loaded value.
400
ad3e759c
GA
4012023-11-27 Richard Earnshaw <rearnsha@arm.com>
402
403 * config/arm/lib1funcs.S (__sync_synchronize): Adjust warning message.
404
77cf1dba
GA
4052023-11-24 Richard Earnshaw <rearnsha@arm.com>
406
407 * config.host (arm*-*-eabi* | arm*-*-rtems*):
408 Add arm/t-sync to the makefile rules.
409 * config/arm/lib1funcs.S (__sync_synchronize_none)
410 (__sync_synchronize_cp15dmb, __sync_synchronize_dmb)
411 (__sync_synchronize): New functions.
412 * config/arm/t-sync: New file.
413 * config/arm/sync-none.specs: Likewise.
414 * config/arm/sync-dmb.specs: Likewise.
415 * config/arm/sync-cp15dmb.specs: Likewise.
416
6fb55db0
GA
4172023-11-23 Jose E. Marchesi <jose.marchesi@oracle.com>
418
419 * hardcfr.c (__hardcfr_check_fail): Mark as always_inline.
420
92c480a4
GA
4212023-11-21 Jakub Jelinek <jakub@redhat.com>
422
423 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Formatting fixes.
424
9d58d2d8
GA
4252023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
426
427 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Always define it.
428 Set it also to 1, if __LIBGCC_HAVE_LIBATOMIC is defined.
429
4302023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
431
432 Revert:
433 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
434
435 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
436 (gcov_type_unsigned): Likewise.
437
b9fd8399
GA
4382023-11-10 Keith Packard <keithp@keithp.com>
439
440 * config/m68k/lb1sf68.S (__adddf3): Properly check for non-zero denorm.
441 (__divdf3): Restore sign bit properly.
442 (__addsf3): Correct exponent check.
443 * config/m68k/fpgnulib.c (EXPMASK): Define.
444 (__extendsfdf2): Handle Inf and NaN properly.
445 (__truncdfsf2): Handle underflow and overflow correctly.
446 (__extenddfxf2): Handle underflow, denorms, Inf and NaN correctly.
447 (__truncxfdf2): Handle underflow and denorms correctly.
448 (__fixxfsi): Reimplement.
449
4502023-11-09 Jakub Jelinek <jakub@redhat.com>
451
452 PR libgcc/65833
453 * config/t-softfp (softfp_bid_list): Add
454 {U,}TItype <-> _Decimal{32,64,128} conversions.
455 * soft-fp/floattisd.c: New file.
456 * soft-fp/floattidd.c: New file.
457 * soft-fp/floattitd.c: New file.
458 * soft-fp/floatuntisd.c: New file.
459 * soft-fp/floatuntidd.c: New file.
460 * soft-fp/floatuntitd.c: New file.
461 * soft-fp/fixsdti.c: New file.
462 * soft-fp/fixddti.c: New file.
463 * soft-fp/fixtdti.c: New file.
464 * soft-fp/fixunssdti.c: New file.
465 * soft-fp/fixunsddti.c: New file.
466 * soft-fp/fixunstdti.c: New file.
467
c48f1056
GA
4682023-11-07 Kwok Cheung Yeung <kcy@codesourcery.com>
469
470 * offloadstuff.c (OFFLOAD_IND_FUNC_TABLE_SECTION_NAME): New.
471 (__offload_ind_func_table): New.
472 (__offload_ind_funcs_end): New.
473 (__OFFLOAD_TABLE__): Add entries for indirect functions.
474
38904b73
GA
4752023-11-03 Thomas Schwinge <thomas@codesourcery.com>
476
477 * config/gcn/gthr-gcn.h (__gthread_getspecific): 's%NULL%0'.
478
eac0917b
GA
4792023-10-31 Alexandre Oliva <oliva@adacore.com>
480
481 * hardcfr.c: Adjust copyright year.
482
444a485f
GA
4832023-10-24 Sergei Trofimovich <siarheit@google.com>
484
485 * config/aarch64/heap-trampoline.c: Disable when libc is not
486 present.
487 * config/i386/heap-trampoline.c: Ditto.
488
3b632746
GA
4892023-10-22 Iain Sandoe <iain@sandoe.co.uk>
490
491 * config/t-slibgcc-darwin: Generate libgcc_s
492 with an @rpath name.
493 * config.host: Handle Darwin rpaths.
494 * config/t-darwin-rpath: New file.
495
4962023-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
497 Maxim Blinov <maxim.blinov@embecosm.com>
498 Iain Sandoe <iain@sandoe.co.uk>
499 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
500
501 * libgcc2.h (__builtin_nested_func_ptr_created): Declare.
502 (__builtin_nested_func_ptr_deleted): Declare.
503 * libgcc-std.ver.in: Add the new symbols.
504 * config/aarch64/heap-trampoline.c: Implement heap-based
505 trampolines for aarch64.
506 * config/aarch64/t-heap-trampoline: Add rule to build
507 config/aarch64/heap-trampoline.c
508 * config/i386/heap-trampoline.c: Implement heap-based
509 trampolines for x86_64.
510 * config/i386/t-heap-trampoline: Add rule to build
511 config/i386/heap-trampoline.cc
512 * config.host: Handle --enable-heap-trampolines on
513 x86_64-*-linux*, aarch64-*-linux*, x86_64-*-darwin*.
514
6f684dd2
GA
5152023-10-20 Andrew Stubbs <ams@codesourcery.com>
516
517 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Set false for __RDNA2__.
518
5192023-10-20 Alexandre Oliva <oliva@adacore.com>
520
521 * Makefile.in (LIB2ADD): Add hardcfr.c.
522 * hardcfr.c: New.
523
300d7d3a
GA
5242023-10-13 Florian Weimer <fweimer@redhat.com>
525
526 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Add
527 missing cast.
528
5292023-10-13 Florian Weimer <fweimer@redhat.com>
530
531 * config/arc/linux-unwind.h (arc_fallback_frame_state): Add
532 missing cast.
533
5342023-10-13 Florian Weimer <fweimer@redhat.com>
535
536 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
537 missing cast.
538
5392023-10-13 Florian Weimer <fweimer@redhat.com>
540
541 * config/csky/linux-unwind.h (csky_fallback_frame_state): Add
542 missing cast.
543
5442023-10-13 Florian Weimer <fweimer@redhat.com>
545
546 * config/m68k/fpgnulib.c (__cmpdf2): Declare.
547
0d9b4e86
GA
5482023-09-26 Wilco Dijkstra <wilco.dijkstra@arm.com>
549
550 * config/aarch64/lse.S (BTI_C): Remove define.
551
4907d220
GA
5522023-09-20 Pekka Seppänen <pexu@gcc.mail.kapsi.fi>
553
554 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key):
555 Use const unsigned type and a builtin.
556
a134b6ce
GA
5572023-09-06 Jakub Jelinek <jakub@redhat.com>
558
559 PR c/102989
560 * libgcc2.c (bitint_negate): Add function comment.
561 * soft-fp/bitint.h (bitint_negate): Add function comment.
562 (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
563
5642023-09-06 Jakub Jelinek <jakub@redhat.com>
565
566 PR c/102989
567 * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
568 * config/i386/64/t-softfp (softfp_extras): Likewise.
569 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
570 routines.
571 * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
572 bf, hf and xf mode floatbitint.
573 (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
574 * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
575 * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
576 * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
577 * config/t-softfp (softfp_floatbitint_funcs): New.
578 (softfp_bid_list): New.
579 (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
580 (softfp_bid_file_list): New.
581 (LIB2ADD_ST): Add $(softfp_bid_file_list).
582 * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
583 floatbitinttf.
584 * config/t-softfp-tf (softfp_extras): Likewise.
585 * libgcc2.c (bitint_reduce_prec): New inline function.
586 (BITINT_INC, BITINT_END): Define.
587 (bitint_mul_1, bitint_addmul_1): New helper functions.
588 (__mulbitint3): New function.
589 (bitint_negate, bitint_submul_1): New helper functions.
590 (__divmodbitint4): New function.
591 * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
592 libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
593 (__mulbitint3, __divmodbitint4): Declare.
594 * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
595 * Makefile.in (lib2funcs): Add _mulbitint3.
596 (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
597 * soft-fp/bitint.h: New file.
598 * soft-fp/fixdfbitint.c: New file.
599 * soft-fp/fixsfbitint.c: New file.
600 * soft-fp/fixtfbitint.c: New file.
601 * soft-fp/fixxfbitint.c: New file.
602 * soft-fp/floatbitintbf.c: New file.
603 * soft-fp/floatbitintdf.c: New file.
604 * soft-fp/floatbitinthf.c: New file.
605 * soft-fp/floatbitintsf.c: New file.
606 * soft-fp/floatbitinttf.c: New file.
607 * soft-fp/floatbitintxf.c: New file.
608 * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
609 4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
610 * soft-fp/bitintpow10.c: New file.
611 * soft-fp/fixsdbitint.c: New file.
612 * soft-fp/fixddbitint.c: New file.
613 * soft-fp/fixtdbitint.c: New file.
614 * soft-fp/floatbitintsd.c: New file.
615 * soft-fp/floatbitintdd.c: New file.
616 * soft-fp/floatbitinttd.c: New file.
617
6182023-09-06 Jakub Jelinek <jakub@redhat.com>
619
620 PR c/102989
621 * soft-fp/bitintpow10.h: New file.
622
d820cd78
GA
6232023-09-05 Yang Yujie <yangyujie@loongson.cn>
624
625 * config.host: add loongarch*-elf target.
626
886afed6
GA
6272023-08-11 Thomas Neumann <thomas.neumann@in.tum.de>
628
629 PR libgcc/110956
630 * unwind-dw2-fde.c: Associate object with address of unwinding
631 table.
632
4b92dba7
GA
6332023-08-07 John Ericson <git@JohnEricson.me>
634
635 * configure: Regenerate.
636
6372023-08-07 Alan Modra <amodra@gmail.com>
638
639 * configure: Regenerate.
640
82c2a34b
GA
6412023-07-23 Andrew Pinski <apinski@marvell.com>
642
643 * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
644 (riscv*-*-freebsd*): Likewise.
645 * config/riscv/t-crtstuff: New file.
646
49bed11d
GA
6472023-07-19 liuhongt <hongtao.liu@intel.com>
648
649 * config/i386/t-softfp: Add -msse2 to libbid HFtype related
650 files.
651
af3d3ce3
GA
6522023-07-11 Florian Weimer <fweimer@redhat.com>
653
654 PR libgcc/110179
655 * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
656 implicit conversion of pointer value to integer.
657
738808bd
GA
6582023-07-06 Kito Cheng <kito.cheng@sifive.com>
659
660 * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
661 (FP_HANDLE_EXCEPTIONS): Ditto.
662
e517d3f5
GA
6632023-06-19 Andrew Stubbs <ams@codesourcery.com>
664
665 * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
666 * config/gcn/lib2-divmod.c: Likewise.
667 * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
668 new vector libfuncs.
669 * config/gcn/t-amdgcn: Add new files.
670 * config/gcn/amdgcn_veclib.h: New file.
671 * config/gcn/lib2-vec_divmod-di.c: New file.
672 * config/gcn/lib2-vec_divmod-hi.c: New file.
673 * config/gcn/lib2-vec_divmod-qi.c: New file.
674 * config/gcn/lib2-vec_divmod.c: New file.
675
6762023-06-19 Andrew Stubbs <ams@codesourcery.com>
677
678 * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
679 (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
680 * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
681 * config/gcn/lib2-divmod-hi.c: Removed.
682
8c5b1365
GA
6832023-06-07 Florian Weimer <fweimer@redhat.com>
684
685 PR libgcc/109712
686 * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
687 parsing eh_frame.
688
14da7648
GA
6892023-06-05 Kewen Lin <linkw@linux.ibm.com>
690
691 * config/i386/morestack.S: Use @init_array rather than
692 @progbits for section type of section .init_array.
693 * config/rs6000/morestack.S: Likewise.
694 * config/s390/morestack.S: Likewise.
695
6962023-06-05 YunQiang Su <yunqiang.su@cipunited.com>
697
698 * config/mips/lib1funcs.S: New file.
699 define __speculation_barrier and include mips16.S.
700 * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
701 define LIB1ASMFUNCS as _speculation_barrier.
702 set version info for __speculation_barrier.
703 * config/mips/libgcc-mips.ver: New file.
704 * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
705 included in lib1funcs.S now.
706
321cee7e
GA
7072023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
708
709 PR libgcc/109670
710 * unwind-dw2-fde.c: Fix radix sort buffer management.
711
7122023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
713
714 PR libgcc/109685
715 * unwind-dw2-fde.c: Free sort array in atomic fast path.
716
5df01f89
GA
7172023-05-19 Iain Sandoe <iain@sandoe.co.uk>
718
719 * config.host: Arrange to set min Darwin OS versions from
720 the configured host version.
721 * config/darwin10-unwind-find-enc-func.c: Do not use current
722 headers, but declare the nexessary structures locally to the
723 versions in use for Mac OSX 10.6.
724 * config/t-darwin: Amend to handle configured min OS
725 versions.
726 * config/t-darwin-min-1: New.
727 * config/t-darwin-min-5: New.
728 * config/t-darwin-min-8: New.
729
3427b51b
GA
7302023-05-15 Thomas Neumann <tneumann@users.sourceforge.net>
731
732 * unwind-dw2-fde.c: Fix assert in non-atomic path.
733
7342023-05-15 Sören Tempel <soeren+git@soeren-tempel.net>
735
736 * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
737
d7cb9720
GA
7382023-05-02 Patrick O'Neill <patrick@rivosinc.com>
739
740 * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
741 sequentially consistent LR.aqrl/SC.rl pairs.
742
1fc8da95
GA
7432023-05-01 Dimitar Dimitrov <dimitar@dinux.eu>
744
745 * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
746 -DTARGET_HAS_NO_HW_DIVIDE.
747
4a3dbcbd
GA
7482023-04-27 Hans-Peter Nilsson <hp@axis.com>
749
750 * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
751 -DTARGET_HAS_NO_HW_DIVIDE.
752
7532023-04-26 Patrick O'Neill <patrick@rivosinc.com>
754
755 PR target/104338
756 * config/riscv/atomic.c: Add reference to duplicate logic.
757
0f04ebb4
GA
7582023-04-08 Tetsuma Hoshino <t-hoshino@pony-e.jp>
759
760 PR target/109402
761 * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
762 stack manipulations.
763
5229788d
GA
7642023-04-05 John David Anglin <danglin@gcc.gnu.org>
765
766 PR target/109374
767 * config/pa/milli64.S (RETURN_COLUMN): Define.
768 ($$divI): Add CFI directives.
769 ($$divU): Likewise.
770 ($$remI): Likewise.
771 ($$remU): Likewise.
772
09abeb73
GA
7732023-03-19 Stafford Horne <shorne@gmail.com>
774
775 * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
776 statement clearing existing exceptions.
777
a9835599
GA
7782023-03-13 Max Filippov <jcmvbkbc@gmail.com>
779
780 * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
781 * config/xtensa/crtn.S: Likewise.
782 * config/xtensa/lib1funcs.S: Likewise.
783 * config/xtensa/lib2funcs.S: Likewise.
784
44ea7318
GA
7852023-03-12 Jakub Jelinek <jakub@redhat.com>
786
787 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
788 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
789 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
790 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
791 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
792 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
793 * soft-fp/floatundibf.c: New file.
794 * soft-fp/floatdibf.c: New file.
795
c8065441
GA
7962023-03-10 Jakub Jelinek <jakub@redhat.com>
797
798 PR target/107703
799 * soft-fp/floattibf.c: New file.
800 * soft-fp/floatuntibf.c: New file.
801 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
802 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
803 floatuntibf.
804 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
805
6a87fdd3
GA
8062023-03-08 Kewen Lin <linkw@linux.ibm.com>
807
808 PR libgcc/108727
809 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
810 bump size.
811
3dd4ada4
GA
8122023-03-06 Michael Meissner <meissner@linux.ibm.com>
813
814 PR target/107299
815 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
816 whether long double is IBM or IEEE.
817 (INFINITY): Likewise.
818 (FABS): Likewise.
819 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
820 (INFINITY): Likewise.
821 * config/rs6000/quad-float128.h (TF): Remove definition.
822 (TFtype): Define to be long double or _Float128.
823 (TCtype): Define to be _Complex long double or _Complex _Float128.
824 * libgcc2.h (TFtype): Allow machine config files to override this.
825 (TCtype): Likewise.
826 * soft-fp/quad.h (TFtype): Likewise.
827
ae719781
GA
8282023-02-13 Kito Cheng <kito.cheng@sifive.com>
829
830 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
831 * config/riscv/value-unwind.h: New.
832
49e52115
GA
8332023-02-03 Christophe Lyon <christophe.lyon@arm.com>
834
835 * config/arm/pr-support.c (__gnu_unwind_execute): Use
836 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
837
897a0502
GA
8382023-01-30 Flavio Cruz <flaviocruz@gmail.com>
839
840 * config.host: Recognize x86_64-*-gnu* targets.
841 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
842 TODO for now.
843
607f278a
GA
8442023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
845
846 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
847 "0xb5".
848
8492023-01-23 Andrea Corallo <andrea.corallo@arm.com>
850 Tejas Belagod <tbelagod@arm.com>
851 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
852
853 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
854 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
855 with AUTG if found.
856 * config/arm/unwind-arm.c (struct pseudo_regs): New.
857 (phase1_vrs): Introduce new field to store pseudo-reg state.
858 (phase2_vrs): Likewise.
859 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
860 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
861 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
862
9f98cfa5
GA
8632023-01-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
864
865 PR target/107678
866 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
867 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
868 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
869 encode the return address signing state.
870 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
871 Check current return address signing state.
872 (aarch64_frob_update_contex): Remove.
873
5013c3bb
GA
8742023-01-13 John David Anglin <danglin@gcc.gnu.org>
875
876 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
877 pa/t-pa64-linux.
878 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
879 instead of pa/t-hpux and pa/t-pa64.
880 * config/pa/linux-atomic.c: Define u32 type.
881 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
882 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
883 defines to use atomic_load calls for type.
884 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
885 * config/pa/sync-libfuncs.c: New file.
886 * config/pa/t-netbsd (LIB2ADD_ST): Define.
887 * config/pa/t-openbsd (LIB2ADD_ST): Define.
888 * config/pa/t-pa64-hpux: New file.
889 * config/pa/t-pa64-linux: New file.
890
8912023-01-13 Jonathan Wakely <jwakely@redhat.com>
892
893 PR libstdc++/108331
894 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
895 struct matching the previous __gthread_mutex_t struct.
896 (__GTHREAD_LEGACY_MUTEX_T): Define.
897
8982023-01-13 Seija Kijin <doremylover456@gmail.com>
899
900 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
901 unified syntax.
902
d901bf8a
GA
9032023-01-07 LIU Hao <lh_mouse@126.com>
904
905 PR middle-end/108300
906 * config/i386/enable-execute-stack-mingw32.c: Define
907 `WIN32_LEAN_AND_MEAN` before <windows.h>.
908 * libgcc2.c: Likewise.
909 * unwind-generic.h: Likewise.
910
0f8fbb57
GA
9112023-01-03 Florian Weimer <fweimer@redhat.com>
912
913 * unwind-dw2-execute_cfa.h: New file. Extracted from
914 the execute_cfa_program function in unwind-dw2.c.
915 * unwind-dw2.c (execute_cfa_program_generic): New function.
916 (execute_cfa_program_specialized): Likewise.
917 (execute_cfa_program): Call execute_cfa_program_specialized
918 or execute_cfa_program_generic, as appropriate.
919
9202023-01-03 Florian Weimer <fweimer@redhat.com>
921
922 Revert:
923 2023-01-03 Florian Weimer <fweimer@redhat.com>
924
925 * unwind-dw2.c (dwarf_reg_size): New function.
926 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
927 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
928 (uw_init_context_1): Do not initialize dwarf_reg_size_table
929 if not in use.
930
9312023-01-03 Florian Weimer <fweimer@redhat.com>
932
933 Revert:
934 2023-01-03 Florian Weimer <fweimer@redhat.com>
935
936 * unwind-dw2-execute_cfa.h: New file. Extracted from
937 the execute_cfa_program function in unwind-dw2.c.
938 * unwind-dw2.c (execute_cfa_program_generic): New function.
939 (execute_cfa_program_specialized): Likewise.
940 (execute_cfa_program): Call execute_cfa_program_specialized
941 or execute_cfa_program_generic, as appropriate.
942
fee53a31
GA
9432023-01-02 Florian Weimer <fweimer@redhat.com>
944
945 * unwind-dw2-execute_cfa.h: New file. Extracted from
946 the execute_cfa_program function in unwind-dw2.c.
947 * unwind-dw2.c (execute_cfa_program_generic): New function.
948 (execute_cfa_program_specialized): Likewise.
949 (execute_cfa_program): Call execute_cfa_program_specialized
950 or execute_cfa_program_generic, as appropriate.
951
9522023-01-02 Florian Weimer <fweimer@redhat.com>
953
954 * unwind-dw2.c (dwarf_reg_size): New function.
955 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
956 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
957 (uw_init_context_1): Do not initialize dwarf_reg_size_table
958 if not in use.
959
bc38aee7
GA
9602022-12-25 Jonathan Yong <10walls@gmail.com>
961
962 * config/i386/gthr-win32.h: undef CC_NONE
963
843c4d2f
GA
9642022-12-24 Iain Sandoe <iain@sandoe.co.uk>
965
966 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
967 install of libgcc_s.1.dylib when the installation is into the build
968 gcc directory.
969
376d6b8c
GA
9702022-12-23 Eric Botcazou <ebotcazou@adacore.com>
971
972 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
973 as well as new i386/t-slibgcc-mingw fragment.
974 (x86_64-*-mingw*): Likewise.
975 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
976 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
977 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
978 Include stdlib.h instead of errno.h and do not include _mingw.h.
979 (CONST_CAST2): Add specific definition for C++.
980 (ATTRIBUTE_UNUSED): New macro.
981 (__UNUSED_PARAM): Delete.
982 Define WIN32_LEAN_AND_MEAN before including windows.h.
983 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
984 (__gthread_objc_init_thread_system): Likewise.
985 (__gthread_objc_thread_get_data): Minor tweak.
986 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
987 (__gthread_objc_condition_deallocate): Likewise.
988 (__gthread_objc_condition_wait): Likewise.
989 (__gthread_objc_condition_broadcast): Likewise.
990 (__gthread_objc_condition_signal): Likewise.
991 Include sys/time.h.
992 (__gthr_win32_DWORD): New typedef.
993 (__gthr_win32_HANDLE): Likewise.
994 (__gthr_win32_CRITICAL_SECTION): Likewise.
995 (__gthr_win32_CONDITION_VARIABLE): Likewise.
996 (__gthread_t): Adjust.
997 (__gthread_key_t): Likewise.
998 (__gthread_mutex_t): Likewise.
999 (__gthread_recursive_mutex_t): Likewise.
1000 (__gthread_cond_t): New typedef.
1001 (__gthread_time_t): Likewise.
1002 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
1003 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
1004 (__GTHREAD_COND_INIT_FUNCTION): Define.
1005 (__GTHREAD_TIME_INIT): Likewise.
1006 (__gthr_i486_lock_cmp_xchg): Delete.
1007 (__gthr_win32_create): Declare.
1008 (__gthr_win32_join): Likewise.
1009 (__gthr_win32_self): Likewise.
1010 (__gthr_win32_detach): Likewise.
1011 (__gthr_win32_equal): Likewise.
1012 (__gthr_win32_yield): Likewise.
1013 (__gthr_win32_mutex_destroy): Likewise.
1014 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
1015 (__gthr_win32_cond_broadcast): Likewise.
1016 (__gthr_win32_cond_signal): Likewise.
1017 (__gthr_win32_cond_wait): Likewise.
1018 (__gthr_win32_cond_timedwait): Likewise.
1019 (__gthr_win32_recursive_mutex_init_function): Delete.
1020 (__gthr_win32_recursive_mutex_lock): Likewise.
1021 (__gthr_win32_recursive_mutex_unlock): Likewise.
1022 (__gthr_win32_recursive_mutex_destroy): Likewise.
1023 (__gthread_create): New inline function.
1024 (__gthread_join): Likewise.
1025 (__gthread_self): Likewise.
1026 (__gthread_detach): Likewise.
1027 (__gthread_equal): Likewise.
1028 (__gthread_yield): Likewise.
1029 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
1030 (__gthread_cond_broadcast): Likewise.
1031 (__gthread_cond_signal): Likewise.
1032 (__gthread_cond_wait): Likewise.
1033 (__gthread_cond_timedwait): Likewise.
1034 (__GTHREAD_WIN32_INLINE): New macro.
1035 (__GTHREAD_WIN32_COND_INLINE): Likewise.
1036 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
1037 Define WIN32_LEAN_AND_MEAN before including windows.h.
1038 (__gthread_once): Minor tweaks.
1039 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
1040 (__gthread_key_delete): Minor tweak.
1041 (__gthread_getspecific): Likewise.
1042 (__gthread_setspecific): Likewise.
1043 (__gthread_mutex_init_function): Reimplement.
1044 (__gthread_mutex_destroy): Likewise.
1045 (__gthread_mutex_lock): Likewise.
1046 (__gthread_mutex_trylock): Likewise.
1047 (__gthread_mutex_unlock): Likewise.
1048 (__gthr_win32_abs_to_rel_time): Declare.
1049 (__gthread_recursive_mutex_init_function): Reimplement.
1050 (__gthread_recursive_mutex_destroy): Likewise.
1051 (__gthread_recursive_mutex_lock): Likewise.
1052 (__gthread_recursive_mutex_trylock): Likewise.
1053 (__gthread_recursive_mutex_unlock): Likewise.
1054 (__gthread_cond_destroy): New inline function.
1055 (__gthread_cond_wait_recursive): Likewise.
1056 * config/i386/gthr-win32.c: Delete everything.
1057 Include gthr-win32.h to get the out-of-line version of inline routines.
1058 Add compile-time checks for the local version of the Win32 types.
1059 * config/i386/gthr-win32-cond.c: New file.
1060 * config/i386/gthr-win32-thread.c: Likewise.
1061 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
1062 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
1063 the static version of libgcc.
1064 * config/i386/t-slibgcc-mingw: New file.
1065 * config/i386/libgcc-mingw.ver: Likewise.
1066
5fb1e674
GA
10672022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
1068
1069 * unwind-dw2-fde.c: Initialize fde object lazily when
1070 the first exception tries to pass through.
1071
10722022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
1073
1074 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
1075
e6110da4
GA
10762022-12-08 Max Filippov <jcmvbkbc@gmail.com>
1077
1078 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
1079 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
1080 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
1081 (XSHAL_ABI): Remove stray symbols from macro definitions.
1082
4bc2d9f6
GA
10832022-12-07 Max Filippov <jcmvbkbc@gmail.com>
1084
1085 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
1086 xtensa-config-builtin.h.
1087 * config/xtensa/crtn.S: Likewise.
1088 * config/xtensa/lib1funcs.S: Likewise.
1089 * config/xtensa/lib2funcs.S: Likewise.
1090 * config/xtensa/xtensa-config-builtin.h: New File.
1091
05788e9b
GA
10922022-11-04 Florian Weimer <fweimer@redhat.com>
1093
1094 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
1095 values actually used by BFD ld.
1096
00716b77
GA
10972022-10-23 LIU Hao <lh_mouse@126.com>
1098
1099 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
1100 libobjc, instead of 'gthr.h'
1101
87f9c4a4
GA
11022022-10-19 LIU Hao <lh_mouse@126.com>
1103
1104 * config.host: Add new cases for `mcf` thread model
1105 * config/i386/gthr-mcf.h: New file
1106 * config/i386/t-mingw-mcfgthread: New file
1107 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
1108 * configure: Regenerate
1109
21de009f
GA
11102022-10-18 Jonathan Wakely <jwakely@redhat.com>
1111
1112 * Makefile.in: Quote variable.
1113
6237663c
GA
11142022-10-17 H.J. Lu <hjl.tools@gmail.com>
1115
1116 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
1117 argument.
1118 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
1119 _Unwind_Frames_Increment.
1120 (_Unwind_ForcedUnwind_Phase2): Likewise.
1121 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1122 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
1123 return address on normal stack doesn't match the return address
1124 on shadow stack.
1125
11262022-10-17 Florian Weimer <fweimer@redhat.com>
1127
1128 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
1129 and reduce its size.
1130
baeec7cc
GA
11312022-10-14 Jakub Jelinek <jakub@redhat.com>
1132
1133 * config/i386/t-softfp (softfp_extensions): Add bfsf.
1134 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
1135 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
1136 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
1137 -msse2.
1138 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
1139 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
1140 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
1141 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
1142 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
1143 * soft-fp/brain.h: New file.
1144 * soft-fp/truncsfbf2.c: New file.
1145 * soft-fp/truncdfbf2.c: New file.
1146 * soft-fp/truncxfbf2.c: New file.
1147 * soft-fp/trunctfbf2.c: New file.
1148 * soft-fp/trunchfbf2.c: New file.
1149 * soft-fp/truncbfhf2.c: New file.
1150 * soft-fp/extendbfsf2.c: New file.
1151
781f477a
GA
11522022-10-12 Martin Liska <mliska@suse.cz>
1153
1154 * libgcov-driver.c: Use new function.
1155 * libgcov.h (gcov_write_summary): Rename to ...
1156 (gcov_write_object_summary): ... this.
1157
ab332cd7
GA
11582022-10-11 Olivier Hainque <hainque@adacore.com>
1159
1160 * config.host (*vxworks*): When enable_shared, add
1161 libgcc and crtstuff "shared" fragments for rtp except
1162 large code model.
1163 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
1164 the list of fragments.
1165
629d04d3
GA
11662022-10-06 Jakub Jelinek <jakub@redhat.com>
1167
1168 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1169 fs->regs.how[X] instead of fs->regs.reg[X].how.
1170
11712022-10-06 Jakub Jelinek <jakub@redhat.com>
1172
1173 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
1174 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
1175 REG_UNDEFINED): New anonymous enum, moved from inside of
1176 struct frame_state_reg_info.
1177 (struct frame_state_reg_info): Remove reg[].how element and the
1178 anonymous enum there. Add how element.
1179 * unwind-dw2.c: Include stddef.h.
1180 (uw_frame_state_for): Don't clear first
1181 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
1182 (execute_cfa_program, __frame_state_for, uw_update_context_1,
1183 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
1184 or fs.regs.how[X] instead of fs.regs.reg[X].how.
1185 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
1186 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1187 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1188 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
1189 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
1190 Likewise.
1191 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
1192 Likewise.
1193 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
1194 * config/arc/linux-unwind.h (arc_fallback_frame_state,
1195 arc_frob_update_context): Likewise.
1196 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
1197 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
1198 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
1199 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
1200 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
1201 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
1202 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
1203 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
1204 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
1205 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
1206 x86_fallback_frame_state): Likewise.
1207 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
1208 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1209 x86_fallback_frame_state): Likewise.
1210 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
1211 Likewise.
1212 * config/i386/dragonfly-unwind.h
1213 (x86_64_dragonfly_fallback_frame_state): Likewise.
1214 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
1215 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
1216 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
1217 Likewise.
1218 * config/aarch64/freebsd-unwind.h
1219 (aarch64_freebsd_fallback_frame_state): Likewise.
1220 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1221 Likewise.
1222 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
1223 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1224 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
1225 Likewise.
1226 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
1227 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1228 Likewise.
1229 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
1230 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
1231 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
1232 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
1233
42231015
GA
12342022-10-02 Olivier Hainque <hainque@adacore.com>
1235
1236 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
1237 -I options for gcc/include and gcc/include-fixed at the end
1238 and make them -isystem.
1239
12402022-10-02 Olivier Hainque <hainque@adacore.com>
1241
1242 * config/gthr-vxworks.h: Prevent Wpragma warning for the
1243 pragma diagnostics on Wstrict-prototypes.
1244
bbdcdf5c
GA
12452022-09-29 Olivier Hainque <hainque@adacore.com>
1246
1247 * config/vxcrtstuff.c: Improve the comment attached to the use
1248 of auto-host.h and of __dso_handle. Remove redundant guard on
1249 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
1250
220c4d8e
GA
12512022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
1252
1253 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
1254 for the non-fast-path case. Drop destructor priority.
1255
279c6715
GA
12562022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
1257
1258 * unwind-dw2-fde.c: (release_register_frames) Remember
1259 when the btree has been destroyed.
1260 (__deregister_frame_info_bases) Disable the assert when
1261 shutting down.
1262
0990a778
GA
12632022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
1264
1265 * unwind-dw2-fde.c: Replace uintptr_t with typedef
1266 for __UINTPTR_TYPE__.
1267 * unwind-dw2-btree.h: Likewise.
1268
7ee0fa10
GA
12692022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
1270
1271 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
1272 (__register_frame_info_table_bases): Use btree in atomic fast path.
1273 (__deregister_frame_info_bases): Likewise.
1274 (_Unwind_Find_FDE): Likewise.
1275 (base_from_object): Make parameter const.
1276 (classify_object_over_fdes): Add query-only mode.
1277 (get_pc_range): Compute PC range for lookup.
1278 * unwind-dw2-fde.h (last_fde): Make parameter const.
1279 * unwind-dw2-btree.h: New file.
1280
542c60c4
GA
12812022-08-31 Martin Liska <mliska@suse.cz>
1282
1283 * config.host: Remove hppa.
1284
3de9fb32
GA
12852022-08-30 Martin Liska <mliska@suse.cz>
1286
1287 * config.host: Remove the port.
1288
16f542d6
GA
12892022-08-26 Martin Liska <mliska@suse.cz>
1290
1291 * config.host: Remove cr16 related stuff.
1292 * config/cr16/crti.S: Removed.
1293 * config/cr16/crtlibid.S: Removed.
1294 * config/cr16/crtn.S: Removed.
1295 * config/cr16/divmodhi3.c: Removed.
1296 * config/cr16/lib1funcs.S: Removed.
1297 * config/cr16/t-cr16: Removed.
1298 * config/cr16/t-crtlibid: Removed.
1299 * config/cr16/unwind-cr16.c: Removed.
1300 * config/cr16/unwind-dw2.h: Removed.
1301
47a61e65
GA
13022022-08-16 Kito Cheng <kito.cheng@sifive.com>
1303
1304 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
1305 (_FP_NANFRAC_H): Ditto.
1306 (_FP_NANSIGN_H): Ditto.
1307 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
1308 routines.
1309 (softfp_truncations): Ditto.
1310 (softfp_extras): Ditto.
1311 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
1312
13132022-08-16 Kito Cheng <kito.cheng@sifive.com>
1314
1315 * soft-fp/fixhfdi.c: New.
1316 * soft-fp/fixhfsi.c: Likewise.
1317 * soft-fp/fixunshfdi.c: Likewise.
1318 * soft-fp/fixunshfsi.c: Likewise.
1319 * soft-fp/floatdihf.c: Likewise.
1320 * soft-fp/floatsihf.c: Likewise.
1321 * soft-fp/floatundihf.c: Likewise.
1322 * soft-fp/floatunsihf.c: Likewise.
1323 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
1324 lines and update URL for license.
1325 * soft-fp/addsf3.c: Likewise.
1326 * soft-fp/addtf3.c: Likewise.
1327 * soft-fp/divdf3.c: Likewise.
1328 * soft-fp/divsf3.c: Likewise.
1329 * soft-fp/divtf3.c: Likewise.
1330 * soft-fp/double.h: Likewise.
1331 * soft-fp/eqdf2.c: Likewise.
1332 * soft-fp/eqhf2.c: Likewise.
1333 * soft-fp/eqsf2.c: Likewise.
1334 * soft-fp/eqtf2.c: Likewise.
1335 * soft-fp/extenddftf2.c: Likewise.
1336 * soft-fp/extended.h: Likewise.
1337 * soft-fp/extendhfdf2.c: Likewise.
1338 * soft-fp/extendhfsf2.c: Likewise.
1339 * soft-fp/extendhftf2.c: Likewise.
1340 * soft-fp/extendhfxf2.c: Likewise.
1341 * soft-fp/extendsfdf2.c: Likewise.
1342 * soft-fp/extendsftf2.c: Likewise.
1343 * soft-fp/extendxftf2.c: Likewise.
1344 * soft-fp/fixdfdi.c: Likewise.
1345 * soft-fp/fixdfsi.c: Likewise.
1346 * soft-fp/fixdfti.c: Likewise.
1347 * soft-fp/fixhfti.c: Likewise.
1348 * soft-fp/fixsfdi.c: Likewise.
1349 * soft-fp/fixsfsi.c: Likewise.
1350 * soft-fp/fixsfti.c: Likewise.
1351 * soft-fp/fixtfdi.c: Likewise.
1352 * soft-fp/fixtfsi.c: Likewise.
1353 * soft-fp/fixtfti.c: Likewise.
1354 * soft-fp/fixunsdfdi.c: Likewise.
1355 * soft-fp/fixunsdfsi.c: Likewise.
1356 * soft-fp/fixunsdfti.c: Likewise.
1357 * soft-fp/fixunshfti.c: Likewise.
1358 * soft-fp/fixunssfdi.c: Likewise.
1359 * soft-fp/fixunssfsi.c: Likewise.
1360 * soft-fp/fixunssfti.c: Likewise.
1361 * soft-fp/fixunstfdi.c: Likewise.
1362 * soft-fp/fixunstfsi.c: Likewise.
1363 * soft-fp/fixunstfti.c: Likewise.
1364 * soft-fp/floatdidf.c: Likewise.
1365 * soft-fp/floatdisf.c: Likewise.
1366 * soft-fp/floatditf.c: Likewise.
1367 * soft-fp/floatsidf.c: Likewise.
1368 * soft-fp/floatsisf.c: Likewise.
1369 * soft-fp/floatsitf.c: Likewise.
1370 * soft-fp/floattidf.c: Likewise.
1371 * soft-fp/floattihf.c: Likewise.
1372 * soft-fp/floattisf.c: Likewise.
1373 * soft-fp/floattitf.c: Likewise.
1374 * soft-fp/floatundidf.c: Likewise.
1375 * soft-fp/floatundisf.c: Likewise.
1376 * soft-fp/floatunditf.c: Likewise.
1377 * soft-fp/floatunsidf.c: Likewise.
1378 * soft-fp/floatunsisf.c: Likewise.
1379 * soft-fp/floatunsitf.c: Likewise.
1380 * soft-fp/floatuntidf.c: Likewise.
1381 * soft-fp/floatuntihf.c: Likewise.
1382 * soft-fp/floatuntisf.c: Likewise.
1383 * soft-fp/floatuntitf.c: Likewise.
1384 * soft-fp/gedf2.c: Likewise.
1385 * soft-fp/gesf2.c: Likewise.
1386 * soft-fp/getf2.c: Likewise.
1387 * soft-fp/half.h: Likewise.
1388 * soft-fp/ledf2.c: Likewise.
1389 * soft-fp/lesf2.c: Likewise.
1390 * soft-fp/letf2.c: Likewise.
1391 * soft-fp/muldf3.c: Likewise.
1392 * soft-fp/mulsf3.c: Likewise.
1393 * soft-fp/multf3.c: Likewise.
1394 * soft-fp/negdf2.c: Likewise.
1395 * soft-fp/negsf2.c: Likewise.
1396 * soft-fp/negtf2.c: Likewise.
1397 * soft-fp/op-1.h: Likewise.
1398 * soft-fp/op-2.h: Likewise.
1399 * soft-fp/op-4.h: Likewise.
1400 * soft-fp/op-8.h: Likewise.
1401 * soft-fp/op-common.h: Likewise.
1402 * soft-fp/quad.h: Likewise.
1403 * soft-fp/single.h: Likewise.
1404 * soft-fp/soft-fp.h: Likewise.
1405 * soft-fp/subdf3.c: Likewise.
1406 * soft-fp/subsf3.c: Likewise.
1407 * soft-fp/subtf3.c: Likewise.
1408 * soft-fp/truncdfhf2.c: Likewise.
1409 * soft-fp/truncdfsf2.c: Likewise.
1410 * soft-fp/truncsfhf2.c: Likewise.
1411 * soft-fp/trunctfdf2.c: Likewise.
1412 * soft-fp/trunctfhf2.c: Likewise.
1413 * soft-fp/trunctfsf2.c: Likewise.
1414 * soft-fp/trunctfxf2.c: Likewise.
1415 * soft-fp/truncxfhf2.c: Likewise.
1416 * soft-fp/unorddf2.c: Likewise.
1417 * soft-fp/unordsf2.c: Likewise.
1418 * soft-fp/unordtf2.c: Likewise.
1419
79fb1124
GA
14202022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
1421
1422 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
1423 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
1424 configurations.
1425
87509781
GA
14262022-06-25 Jeff Law <jeffreyalaw@gmail.com>
1427
1428 * config.host: Removed tilegx and tilepro entries.
1429 * config/tilegx/sfp-machine.h: Removed.
1430 * config/tilegx/sfp-machine32.h: Removed.
1431 * config/tilegx/sfp-machine64.h: Removed.
1432 * config/tilegx/t-crtstuff: Removed.
1433 * config/tilegx/t-softfp: Removed.
1434 * config/tilegx/t-tilegx: Removed.
1435 * config/tilepro/atomic.c: Removed.
1436 * config/tilepro/atomic.h: Removed.
1437 * config/tilepro/linux-unwind.h: Removed.
1438 * config/tilepro/sfp-machine.h: Removed.
1439 * config/tilepro/softdivide.c: Removed.
1440 * config/tilepro/softmpy.S: Removed.
1441 * config/tilepro/t-crtstuff: Removed.
1442 * config/tilepro/t-tilepro: Removed.
1443
e3bba42f
GA
14442022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
1445
1446 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
1447 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
1448
3164de6a
GA
14492022-06-01 H.J. Lu <hjl.tools@gmail.com>
1450
1451 PR libgcc/27576
1452 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
1453
3dff965c
GA
14542022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
1455
1456 PR libgcc/105708
1457 * config/aarch64/lse-init.c: Increase constructor priority.
1458
14592022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1460
1461 PR target/104689
1462 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1463 Handle the !REG_UNSAVED case.
1464 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
1465
57f2ce6a
GA
14662022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1467
1468 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
1469 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
1470 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
1471
14722022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1473
1474 * config.host: Add t-dfprules to AArch64 targets.
1475
14762022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1477
1478 * configure: Regenerate.
1479
9df4ffe4
GA
14802022-05-13 Sebastian Pop <spop@amazon.com>
1481
1482 PR target/105162
1483 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
1484 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
1485
e8778989
GA
14862022-05-10 Martin Liska <mliska@suse.cz>
1487 Hans-Peter Helfert <peter-helfert@t-online.de>
1488
1489 PR gcov-profile/105535
1490 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
1491 n_functions.
1492
6259d8aa
GA
14932022-05-02 Martin Liska <mliska@suse.cz>
1494
1495 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
1496
6b6f53d8
GA
14972022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1498
1499 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
1500 (gcov_profile_merge_stream): Likewise.
1501
15022022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1503
1504 * libgcov-util.c (consume_stream): New.
1505 (get_target_profiles_for_merge): Likewise.
1506 (gcov_profile_merge_stream): Likewise.
1507
15082022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1509
1510 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
1511
15122022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1513
1514 * libgcov-util.c (read_gcda_file): Do not open file.
1515 (ftw_read_file): Open file here.
1516
15172022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1518
1519 * libgcov-util.c (read_gcda_file): Prepend new info object to global
1520 list.
1521 (ftw_read_file): Remove list append here.
1522
15232022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1524
1525 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
1526 (ftw_read_file): Duplicate filename for read_gcda_file().
1527
15282022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1529
1530 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
1531 (__gcov_filename_to_gcfn): Declare and document.
1532 * libgcov-driver.c (dump_string): New.
1533 (__gcov_filename_to_gcfn): Likewise.
1534 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
1535
15362022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1537
1538 * libgcov.h (gcov_seek): Remove define and declaration.
1539
15402022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1541
1542 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
1543 parameter. Pass mode to gcov_open() calls.
1544 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
1545 gcov_exit_open_gcda_file() call.
1546 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
1547 calls.
1548 (__gcov_dump_one): Open file for reading and writing.
1549
15502022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1551
1552 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
1553 reading and writing.
1554 * libgcov-util.c (read_gcda_file): Open file for reading.
1555 * libgcov.h (gcov_open): Delete declaration.
1556
15572022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1558
1559 * libgcov-util.c (gcov_profile_merge): Return the list of merged
1560 profiles. Accept empty target and source profile lists.
1561
405eda0d
GA
15622022-04-08 Sergei Trofimovich <siarheit@google.com>
1563
1564 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
1565
9f774626
GA
15662022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
1567 Lulu Cheng <chenglulu@loongson.cn>
1568
1569 * configure: Regenerate file.
1570
15712022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
1572 Lulu Cheng <chenglulu@loongson.cn>
1573
1574 * config/loongarch/crtfastmath.c: New file.
1575 * config/loongarch/linux-unwind.h: Like wise.
1576 * config/loongarch/sfp-machine.h: Like wise.
1577 * config/loongarch/t-crtstuff: Like wise.
1578 * config/loongarch/t-loongarch: Like wise.
1579 * config/loongarch/t-loongarch64: Like wise.
1580 * config/loongarch/t-softfp-tf: Like wise.
1581 * config.host: Add LoongArch tuples.
1582 * configure.ac: Add LoongArch support.
1583
d7f00da1
GA
15842022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
1585
1586 PR libgcc/86224
1587 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
1588 for __mulsi3.
1589 (__udivsi3_internal, __divsi3_internal): Similarly.
1590 (__umodsi3, __modsi3): Use the internal function names.
1591
8cc4f9cd
GA
15922022-03-09 Tobias Burnus <tobias@codesourcery.com>
1593
1594 PR target/102215
1595 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
1596 a line up to non-arg-dependent value first.
1597 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
1598 __atomic_compare_exchange_{1,2}.
1599
8d96e14c
GA
16002022-03-04 Iain Sandoe <iain@sandoe.co.uk>
1601
1602 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
1603 * config/t-darwin-ehs: Add dependency on unwind.h.
1604
756a6185
GA
16052022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
1606
1607 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
1608 with 0 instead of NULL.
1609
16102022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1611
1612 PR target/104656
1613 * configure.ac: --disable-gcov if targetting bpf-*.
1614 * configure: Regenerate.
1615
e0b8716f
GA
16162022-01-25 Florian Weimer <fweimer@redhat.com>
1617
1618 PR libgcc/104207
1619 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
1620
fc829782
GA
16212022-01-17 Martin Liska <mliska@suse.cz>
1622
1623 * libgcov-driver.c: Rename .c names to .cc.
1624
9248ee41
GA
16252022-01-15 David <gccbugzilla@limegreensocks.com>
1626
1627 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
1628 Remove inlined version, Windows 95 is no longer relevant.
1629 * config/i386/gthr-win32.h
1630 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
1631
617db51d
GA
16322022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
1633
1634 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1635 DWARF_ALT_FRAME_RETURN_COLUMN macro.
1636
7d11b64b
GA
16372022-01-04 Florian Weimer <fweimer@redhat.com>
1638
1639 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1640 if available.
1641
5da23a13
GA
16422022-01-02 John David Anglin <danglin@gcc.gnu.org>
1643
1644 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1645 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1646 return is not equal _ASM_EFAULT.
1647 (__kernel_cmpxchg2): Likewise.
1648
2554e2da
GA
16492021-12-17 Iain Sandoe <iain@sandoe.co.uk>
1650
1651 * config.host: Add shim declaration header to powerpc*-darwin builds.
1652 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1653 file.
1654 * config/t-darwin-ehs: Add dependencies to the shared unwinder
1655 objects.
1656 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1657 the shared EH lib. Add all-multi to the dependencies for the
1658 libgcc_s.1.dylib redirections.
1659
7f1239cb
GA
16602021-12-13 Olivier Hainque <hainque@adacore.com>
1661
1662 * config.host (powerpc*-*-vxworks7*): Remove
1663 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1664
16652021-12-13 Olivier Hainque <hainque@adacore.com>
1666
1667 * config.host (*vxworks*): Remove special case for
1668 arm on the use of vxcrtstuff.
1669
16702021-12-13 Fred Konrad <konrad@adacore.com>
1671 Olivier Hainque <hainque@adacore.com>
1672
1673 * config/t-vxcrtstuffS: New Makefile fragment.
1674 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1675 functions for INITFINI_ARRAY support in shared libs and guard
1676 the definition of eh table registration functions on conditions
1677 indicating they are needed.
1678
16792021-12-13 Olivier Hainque <hainque@adacore.com>
1680
1681 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1682 ahead of the other files in tmake_files.
1683 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1684 overriding it.
1685
16862021-12-13 Olivier Hainque <hainque@adacore.com>
1687
1688 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1689 both VxWorks7 and earlier.
1690 * config/t-vxworks7: Remove.
1691 * config.host: Remove special case for vxworks7.
1692
e8decbe7
GA
16932021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1694
1695 * config/vxcrtstuff.c: Make constructor and destructor
1696 functions static when possible.
1697
16982021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1699
1700 * config/vxcrtstuff.c: Remove constructor/destructor
1701 declarations.
1702
0bceef16
GA
17032021-12-10 Iain Sandoe <iain@sandoe.co.uk>
1704
1705 * config/t-darwin: Add libgcc_tm.h to the dependencies
1706 for darwin10-unwind-find-enc-func.
1707
17082021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1709
1710 * config/rs6000/t-vxworks: New file.
1711 * config.host (powerpc*-*-vxworks*): Use it instead of
1712 t-ppccomm.
1713
4b4839e3
GA
17142021-12-09 Fred Konrad <konrad@adacore.com>
1715
1716 * config.host (powerpc*-wrs-vxworks7*): Fix path to
1717 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1718
17192021-12-09 Olivier Hainque <hainque@adacore.com>
1720 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1721
1722 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1723 $(LIBGCC2_INCLUDES).
1724 * config/t-vxworks7: Likewise.
1725
641ff219
GA
17262021-12-08 Iain Sandoe <iain@sandoe.co.uk>
1727
1728 * config.host (*-*-darwin*): Add logic to build a shared
1729 unwinder library for Darwin8-10.
1730 * config/i386/t-darwin: Build legacy libgcc_s.1.
1731 * config/rs6000/t-darwin: Likewise.
1732 * config/t-darwin: Reorganise the EH fragments to place
1733 them for inclusion in a shared EH lib.
1734 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1735 the supporting pieces (all FAT libs).
1736 * config/t-darwin-noeh: Removed.
1737 * config/darwin-unwind.ver: New file.
1738 * config/rs6000/t-darwin-ehs: New file.
1739 * config/t-darwin-ehs: New file.
1740
3a580f96
GA
17412021-12-06 Nelson Chu <nelson.chu@sifive.com>
1742
1743 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1744 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1745 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1746 HIDDEN_DEF.
1747
c177e806
GA
17482021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1749
1750 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1751 ssize_t and vfork after including auto-host.h.
1752
87cd82c8
GA
17532021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1754
1755 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1756 crtend.o to extra_parts.
1757
d62c8c74
GA
17582021-11-27 John David Anglin <danglin@gcc.gnu.org>
1759
1760 * config/pa/t-dimode (lib2difuncs): Fix typo.
1761
091ccc06
GA
17622021-11-25 Florian Weimer <fweimer@redhat.com>
1763
1764 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1765 Remove func, ret.
1766 (find_fde_tail): New function. Split from
1767 _Unwind_IteratePhdrCallback. Move the result initialization
1768 from _Unwind_Find_FDE.
1769 (_Unwind_Find_FDE): Updated to call find_fde_tail.
1770
06be28f6
GA
17712021-11-22 Florian Weimer <fweimer@redhat.com>
1772
1773 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1774 (struct unw_eh_callback_data): Make dbase member conditional.
1775 (unw_eh_callback_data_dbase): New function.
1776 (base_from_cb_data): Simplify for the non-dbase case.
1777 (_Unwind_IteratePhdrCallback): Adjust.
1778 (_Unwind_Find_FDE): Likewise.
1779
17802021-11-22 Florian Weimer <fweimer@redhat.com>
1781
1782 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1783 tbase member.
1784 (base_from_cb_data): Adjust.
1785 (_Unwind_IteratePhdrCallback): Likewise.
1786 (_Unwind_Find_FDE): Likewise.
1787
9c077398
GA
17882021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1789
1790 * config.host: Add weak emutls crt to the extra_parts.
1791 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1792 workaround.
1793 * config/libgcc-libsystem.ver: Add exclude list for the system-
1794 provided unwinder.
1795 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1796 * config/i386/libgcc-darwin.10.4.ver: Removed.
1797 * config/i386/libgcc-darwin.10.5.ver: Removed.
1798 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1799 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1800 * config/t-darwin-noeh: New file.
1801
18022021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1803
1804 * config/t-darwin: Build weak-defined emutls objects.
1805 * emutls.c (__emutls_get_address): Add optional attributes.
1806 (__emutls_register_common): Likewise.
1807 (EMUTLS_ATTR): New.
1808
b39265d4
GA
18092021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1810
1811 PR libgcc/103044
1812 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1813 called with a null argument or at the end of the backtrace and return.
1814 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1815
8d36a0d2
GA
18162021-11-10 Jakub Jelinek <jakub@redhat.com>
1817
1818 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1819 formatting fix.
1820
851dff04
GA
18212021-11-05 Iain Sandoe <iain@sandoe.co.uk>
1822
1823 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1824 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1825
18262021-11-05 John David Anglin <danglin@gcc.gnu.org>
1827
1828 PR libgomp/96661
1829 * config.host (hppa*64*-*-linux*): Revise tmake_file.
1830 (hppa*64*-*-hpux11*): Likewise.
1831 * config/pa/sfp-exceptions.c: New.
1832 * config/pa/sfp-machine.h: New.
1833 * config/pa/t-dimode: New.
1834 * config/pa/t-softfp-sfdftf: New.
1835
04a2cf3f
GA
18362021-10-27 John David Anglin <danglin@gcc.gnu.org>
1837
1838 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1839 tmake_file.
1840 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1841 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1842 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1843 * config/pa/t-linux64 (LIB1ASMSRC): New define.
1844 (LIB1ASMFUNCS): Revise.
1845 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1846
c2bd5d8a
GA
18472021-10-22 Stafford Horne <shorne@gmail.com>
1848
1849 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1850 Change to 0.
1851
5d5885c9
GA
18522021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1853
1854 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1855 outside of get_regs() in order to use it in another function, this
1856 is done twice: for __powerpc64__ and for !__powerpc64__.
1857 (struct trace_arg): New struct.
1858 (struct layout): New struct.
1859 (ppc_backchain_fallback): New function.
1860 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1861 state and call MD_BACKCHAIN_FALLBACK.
1862
9eb28a0f
GA
18632021-10-13 Martin Liska <mliska@suse.cz>
1864
1865 PR gcov-profile/90364
1866 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1867 checksums.
1868 (write_one_data): Write also checksum.
1869 * libgcov-util.c (read_gcda_file): Read also checksum field.
1870 * libgcov.h (struct gcov_info): Add new field.
1871
ce6eec39
GA
18722021-10-08 Ian Lance Taylor <iant@golang.org>
1873
1874 * config/i386/morestack.S: Use .init_array for constructor if
1875 available.
1876 * config/rs6000/morestack.S: Likewise.
1877 * config/s390/morestack.S: Likewise.
1878
154fd089
GA
18792021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1880
1881 PR target/101104
1882 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1883 Use more correct values for native IBM 128-bit.
1884
fd133479
GA
18852021-09-28 Iain Sandoe <iain@sandoe.co.uk>
1886
1887 * config/i386/libgcc-darwin.ver: Add Symbols for
1888 __cpu_model, __cpu_indicator_init.
1889
e4777439
GA
18902021-09-22 Iain Sandoe <iain@sandoe.co.uk>
1891
1892 * config/i386/sfp-machine.h: Guard Mach-O-specific code
1893 using __APPLE__.
1894
34fac9ef
GA
18952021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1896
1897 * config/t-slibgcc-darwin: Delete unused code.
1898
18992021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1900
1901 * config/i386/t-darwin: Add in a vers file for X86-specific
1902 symbols.
1903 * config/t-darwin: Add the generic symbol maps here...
1904 * config/t-slibgcc-darwin: ... removing from here.
1905 * config/i386/libgcc-darwin.ver: New file.
1906
19072021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1908
1909 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1910 and __mulhc3.
1911
19122021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1913
1914 * config.host: Use convenience library for Darwin10
1915 unwinder shim.
1916 * config/t-darwin: Build Darwin10 unwinder shim as a
1917 convenience library.
1918
07985c47
GA
19192021-09-13 Andrew Pinski <apinski@marvell.com>
1920
1921 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1922 * config/m32r/libgcc-glibc.ver: Removed.
1923 * config/m32r/t-linux: Removed.
1924
b6db7cd4
GA
19252021-09-08 liuhongt <hongtao.liu@intel.com>
1926
1927 * config/i386/t-softfp: Compile __{mul,div}hc3 into
1928 libgcc_s.so.1.
1929
19302021-09-08 Jakub Jelinek <jakub@redhat.com>
1931 Iain Sandoe <iain@sandoe.co.uk>
1932
1933 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1934 and export *hf* and *hc* functions at GCC_12.0.0.
1935
9f99555f
GA
19362021-09-06 liuhongt <hongtao.liu@intel.com>
1937
1938 * Makefile.in: Adjust to support specific CFLAGS for each
1939 libgcc source file.
1940 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1941 related libgcc source files.
1942 * config/i386/t-softfp: Ditto.
1943 * config/i386/_divhc3.c: New file.
1944 * config/i386/_mulhc3.c: New file.
1945
7b739540
GA
19462021-09-03 Iain Sandoe <iain@sandoe.co.uk>
1947
1948 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1949 alias_DFtype, alias_TFtype): New.
1950 (ALIAS_SELECTOR): New.
1951 (strong_alias): Use __typeof and a _Generic selector to
1952 provide the type to the synthesized function.
1953
9f7c2bad
GA
19542021-09-02 liuhongt <hongtao.liu@intel.com>
1955
1956 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1957 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1958 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1959 * config/i386/t-softfp: Add hf soft-fp.
1960 * config.host: Add i386/64/t-softfp.
1961 * config/i386/64/t-softfp: New file.
1962
19632021-09-02 liuhongt <hongtao.liu@intel.com>
1964
1965 * soft-fp/eqhf2.c: New file.
1966 * soft-fp/extendhfdf2.c: New file.
1967 * soft-fp/extendhfsf2.c: New file.
1968 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1969 * soft-fp/truncdfhf2.c: New file
1970 * soft-fp/truncsfhf2.c: New file
1971
e11c6046
GA
19722021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
1973
1974 * unwind-arm-common.inc (abort): Remove.
1975
6d51ee43
GA
19762021-08-31 Richard Sandiford <richard.sandiford@arm.com>
1977
1978 * config/aarch64/value-unwind.h: Add missing runtime exception
1979 paragraph.
1980 * config/frv/frv-abi.h: Likewise.
1981 * config/i386/value-unwind.h: Likewise.
1982 * config/pa/pa64-hpux-lib.h: Likewise.
1983
ccc19145
GA
19842021-08-26 David Edelsohn <dje.gcc@gmail.com>
1985
1986 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1987 __gcc_qadd.
1988 (__gcc_qadd): Call ldouble_qadd_internal.
1989 (__gcc_qsub): Call ldouble_qadd_internal with second long double
1990 argument negated.
1991
19922021-08-26 Jonathan Yong <10walls@gmail.com>
1993
1994 * config/i386/cygming-crtend.c: Fix register_frame_ctor
1995 and register_frame_dtor warnings.
1996
05ace294
GA
19972021-08-24 Richard Earnshaw <rearnsha@arm.com>
1998
1999 PR target/102035
2000 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
2001 Add vlldm erratum work-around.
2002
4be4fa4e
GA
20032021-08-21 John David Anglin <danglin@gcc.gnu.org>
2004
2005 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
2006
9d1d9fc8
GA
20072021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
2008
2009 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
2010 (gcov_type_unsigned): Likewise.
2011
7dd8f198
GA
20122021-08-14 Stafford Horne <shorne@gmail.com>
2013
2014 PR target/99783
2015 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
2016 * config/or1k/t-crtstuff: New file.
2017
f92f4778
GA
20182021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
2019
2020 * libgcov-driver.c (#include <stdint.h>): Remove.
2021 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
2022
20232021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
2024
2025 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
2026 * gcov.h (gcov_info): Declare.
2027 (__gcov_info_to_gdca): Likewise.
2028 * libgcov.h (gcov_write_counter): Remove.
2029 (gcov_write_tag_length): Likewise.
2030 * libgcov-driver.c (#include <stdint.h>): New.
2031 (#include <string.h>): Remove.
2032 (NEED_L_GCOV): Conditionally define.
2033 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
2034 (are_all_counters_zero): New.
2035 (gcov_dump_handler): Likewise.
2036 (gcov_allocate_handler): Likewise.
2037 (dump_unsigned): Likewise.
2038 (dump_counter): Likewise.
2039 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
2040 Use dump_unsigned() and dump_counter().
2041 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
2042 dump_unsigned(), dump_counter(), and are_all_counters_zero().
2043 (__gcov_info_to_gcda): New.
2044
8ebf4fb5
GA
20452021-08-05 Jakub Jelinek <jakub@redhat.com>
2046
2047 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
2048 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
2049 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
2050 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
2051
2697f832
GA
20522021-08-04 Jakub Jelinek <jakub@redhat.com>
2053
2054 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
2055
d97d71a1
GA
20562021-07-15 Alan Modra <amodra@gmail.com>
2057
2058 * config/rs6000/morestack.S (R2_SAVE): Define.
2059 (__morestack): Save and restore r2. Set up r2 for called
2060 functions.
2061
bea7c16a
GA
20622021-07-01 H.J. Lu <hjl.tools@gmail.com>
2063
2064 * soft-fp/extendhfxf2.c: New file.
2065 * soft-fp/truncxfhf2.c: Likewise.
2066
6bc18203
GA
20672021-06-29 Julian Brown <julian@codesourcery.com>
2068
2069 * config/gcn/lib2-bswapti2.c: New file.
2070 * config/gcn/lib2-divmod-di.c: New file.
2071 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
2072 typedefs.
2073 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
2074 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
2075 lib2-bswapti2.c.
2076
20772021-06-29 Julian Brown <julian@codesourcery.com>
2078
2079 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
2080 return types to USItype.
2081 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
2082
fcf617f0
GA
20832021-06-23 Kewen Lin <linkw@linux.ibm.com>
2084
2085 * configure: Regenerate.
2086 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
2087 typos among the name, CFLAGS and the test.
2088 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
2089 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
2090 Remove.
2091 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
2092 macro FLOAT128_HW_INSNS_ISA3_1.
2093 (FP128_3_1_CFLAGS_HW): Fix option typo.
2094 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
2095 FLOAT128_HW_INSNS_ISA3_1.
2096 (__floattikf_resolve): Likewise.
2097 (__floatuntikf_resolve): Likewise.
2098 (__fixkfti_resolve): Likewise.
2099 (__fixunskfti_resolve): Likewise.
2100 (__floattikf): Likewise.
2101 (__floatuntikf): Likewise.
2102 (__fixkfti): Likewise.
2103 (__fixunskfti): Likewise.
2104
f16f65f8
GA
21052021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2106
2107 PR target/99939
2108 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
2109 macro.
2110 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
2111 on passing -mcmse option.
2112
43c35d0d
GA
21132021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
2114
2115 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
2116 _ARCH_PPC64 .
2117
4f625f47
GA
21182021-06-09 Carl Love <cel@us.ibm.com>
2119
2120 * config.host: Add if test and set for
2121 libgcc_cv_powerpc_3_1_float128_hw.
2122 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
2123 Change calls of __fixkfti to __fixkfti_sw.
2124 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
2125 Change calls of __fixunskfti to __fixunskfti_sw.
2126 * config/rs6000/float128-p10.c (__floattikf_hw,
2127 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
2128 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
2129 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
2130 __fixunskfti_resolve): Add resolve functions.
2131 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
2132 * config/rs6000/float128-sed (floattitf, __floatuntitf,
2133 __fixtfti, __fixunstfti): Add editor commands to change names.
2134 * config/rs6000/float128-sed-hw (__floattitf,
2135 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
2136 change names.
2137 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
2138 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
2139 * config/rs6000/quad-float128.h (__floattikf_sw,
2140 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
2141 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
2142 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
2143 * config/rs6000/t-float128 (floattikf, floatuntikf,
2144 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
2145 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
2146 file names to fp128_ppc_funcs.
2147 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
2148 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
2149 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
2150 * config/rs6000/t-float128-p10-hw: New file.
2151 * configure: Update script for isa 3.1 128-bit float support.
2152 * configure.ac: Add check for 128-bit float hardware support.
2153 * config/rs6000/fixkfti-sw.c: New file.
2154 * config/rs6000/fixunskfti-sw.c: New file.
2155 * config/rs6000/floattikf-sw.c: New file.
2156 * config/rs6000/floatuntikf-sw.c: New file.
2157
f9af11c7
GA
21582021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
2159
2160 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
2161
4d0385df 21622021-05-13 Martin Liska <mliska@suse.cz>
f9af11c7
GA
2163
2164 * libgcov-driver.c: Fix GNU coding style.
2165
aa891c56
GA
21662021-05-10 Martin Liska <mliska@suse.cz>
2167
2168 * libgcov-driver.c (gcov_version): Use different name that does
2169 not clash with newly introduced macro.
2170
3c8e539d
GA
21712021-04-29 Eric Botcazou <ebotcazou@adacore.com>
2172
2173 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
2174 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
2175 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
2176
e4ff4ffb
GA
21772021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
2178
2179 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
2180 Define.
2181 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
2182 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
2183 Define.
2184 (__divkc3): Improve complex divide.
2185
05ec629f
GA
21862021-04-23 Michael Meissner <meissner@linux.ibm.com>
2187
2188 PR target/98952
2189 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
2190 trampoline size comparison in 32-bit by reversing test and
2191 combining load immediate with compare.
2192 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
2193 in 32-bit by reversing test and combining load immediate with
2194 compare.
2195
b1da9916
GA
21962021-04-05 Florian Weimer <fweimer@redhat.com>
2197 Michael Meissner <meissner@linux.ibm.com>
2198
2199 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
2200 point functions for $(decimal_float) only.
2201
c0756c4e
GA
22022021-04-03 Jakub Jelinek <jakub@redhat.com>
2203
2204 PR target/97653
2205 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
2206 $(objext) instead of $(object). Use _floatunditf instead of
2207 _floatunsditf. Add tf <-> ti conversion objects.
2208 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
2209
65374af2
GA
22102021-03-29 Michael Meissner <meissner@linux.ibm.com>
2211
2212 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
2213 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
2214 (fp128_decstr_objs): Delete.
2215 * dfp-bit.h: Call __sprintfieee128 to do conversions from
2216 _Float128 to a Decimal type. Call __strtoieee128 to do
2217 conversions from a Decimal type to _Float128.
2218 * config/rs6000/_sprintfkf.c: Delete file.
2219 * config/rs6000/_sprintfkf.h: Delete file.
2220 * config/rs6000/_strtokf.c: Delete file.
2221 * config/rs6000/_strtokf.h: Delete file.
2222
bf1f3168
GA
22232021-03-23 Marcus Comstedt <marcus@mc.pp.se>
2224
2225 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
2226 to __BYTE_ORDER__.
2227
0ad6a2e2
GA
22282021-03-06 Jakub Jelinek <jakub@redhat.com>
2229
2230 PR gcov-profile/99406
2231 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
2232 defined, define these macros if not defined already.
2233
67f10d28
GA
22342021-03-04 Martin Liska <mliska@suse.cz>
2235
2236 PR gcov-profile/99105
2237 * libgcov-driver.c (write_top_counters): Rename to ...
2238 (write_topn_counters): ... this.
2239 (write_one_data): Pre-allocate buffer for number of items
2240 in the corresponding linked lists.
2241 * libgcov.h (malloc_mmap): New function.
2242 (allocate_gcov_kvp): Use it.
2243
22442021-03-04 Martin Liska <mliska@suse.cz>
2245
2246 PR gcov-profile/99385
2247 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
2248
f3641ac7
GA
22492021-03-03 Martin Liska <mliska@suse.cz>
2250
2251 PR gcov-profile/97461
2252 * config.in: Regenerate.
2253 * configure: Likewise.
2254 * configure.ac: Check sys/mman.h header file
2255 * libgcov-driver.c (struct gcov_kvp): Remove static
2256 pre-allocated pool and use a dynamic one.
2257 * libgcov.h (MMAP_CHUNK_SIZE): New.
2258 (gcov_counter_add): Use mmap to allocate pool for struct
2259 gcov_kvp.
2260
d97a92dc
GA
22612021-03-02 Michael Meissner <meissner@linux.ibm.com>
2262
2263 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
2264 the function.
2265 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
2266
4028d01a
GA
22672021-02-24 Jakub Jelinek <jakub@redhat.com>
2268
2269 PR libgcc/99236
2270 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
2271 negation of m in unsigned type.
2272
22732021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
2274 Hau Hsu <hsuhau617@gmail.com>
2275
2276 PR target/99157
2277 * config/arm/t-arm: Fix cmse support detection.
2278
2f5765cf
GA
22792021-02-22 Michael Meissner <meissner@linux.ibm.com>
2280
2281 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
2282
22832021-02-22 Michael Meissner <meissner@linux.ibm.com>
2284
2285 * config/rs6000/_dd_to_kf.c: New file.
2286 * config/rs6000/_kf_to_dd.c: New file.
2287 * config/rs6000/_kf_to_sd.c: New file.
2288 * config/rs6000/_kf_to_td.c: New file.
2289 * config/rs6000/_sd_to_kf.c: New file.
2290 * config/rs6000/_sprintfkf.c: New file.
2291 * config/rs6000/_sprintfkf.h: New file.
2292 * config/rs6000/_strtokf.h: New file.
2293 * config/rs6000/_strtokf.c: New file.
2294 * config/rs6000/_td_to_kf.c: New file.
2295 * config/rs6000/quad-float128.h: Add new declarations.
2296 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
2297 (fp128_decstr_funcs): New macro.
2298 (ibm128_dec_funcs): New macro.
2299 (fp128_ppc_funcs): Add the new conversions.
2300 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
2301 compiled with -mabi=ieeelongdouble.
2302 (fp128_decstr_objs): Force __float128 <-> string conversions to be
2303 compiled with -mabi=ibmlongdouble.
2304 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
2305 compiled with -mabi=ieeelongdouble.
2306 (FP128_CFLAGS_DECIMAL): New macro.
2307 (IBM128_CFLAGS_DECIMAL): New macro.
2308 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
2309 (BFP_TO_DFP): Add PowerPC _Float128 support.
2310 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
2311 IEEE 128-bit floating point.
2312 (DFP_TO_BFP): Add PowerPC _Float128 support.
2313 (BFP_TO_DFP): Add PowerPC _Float128 support.
2314 (BFP_SPRINTF): New macro.
2315
aa69f0a8
GA
23162021-01-27 Jakub Jelinek <jakub@redhat.com>
2317
2318 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
2319 * config/i386/savms64f.h: Likewise.
2320 * config/i386/resms64.h: Likewise.
2321 * config/i386/resms64f.h: Likewise.
2322 * config/i386/resms64x.h: Likewise.
2323 * config/i386/resms64fx.h: Likewise.
2324
e62bb7f0
GA
23252021-01-26 Martin Liska <mliska@suse.cz>
2326
2327 PR gcov-profile/98739
2328 * libgcov.h (gcov_topn_add_value): Do not train when
2329 we have a merged profile with a negative number of total
2330 value.
2331
161e4c08
GA
23322021-01-25 Martin Liska <mliska@suse.cz>
2333
2334 PR gcov-profile/98739
2335 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
2336 ends with a dropped counter.
2337 * libgcov.h (gcov_topn_add_value): Add return value.
2338
be0851b8
GA
23392021-01-13 Stafford Horne <shorne@gmail.com>
2340
2341 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
2342 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
2343 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
2344 FP_EX_ALL): New constant macros.
2345 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
2346 FP_HANDLE_EXCEPTIONS): New macros.
2347 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
2348
23492021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
2350
2351 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
2352 posix siginfo case to struct handler_args. Detect between legacy
2353 and siginfo from the second parameter, which is a small sigcode in
2354 the legacy case, and a pointer in the siginfo case.
2355
108beb75
GA
23562020-12-20 Max Filippov <jcmvbkbc@gmail.com>
2357
2358 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
2359 functions.
2360 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
2361 _bswapdi2.
2362
f6e8e279
GA
23632020-12-08 Ian Lance Taylor <iant@golang.org>
2364
2365 * generic-morestack-thread.c (free_segments): Block signals during
2366 thread exit.
2367
b8dd0ef7
GA
23682020-12-03 Michael Meissner <meissner@linux.ibm.com>
2369
2370 PR libgcc/97543
2371 PR libgcc/97643
2372 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
2373 (IBM128_SHARED_OBJS): New make variable.
2374 (IBM128_OBJS): New make variable. Set all objects to use the
2375 explicit IBM format, and disable gnu attributes.
2376 (IBM128_CFLAGS): New make variable.
2377 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
2378 modules.
2379
23802020-12-03 Alexandre Oliva <oliva@adacore.com>
2381
2382 * config/t-vxworks (LIB2ADD): Drop.
2383 * config/t-vxworks7 (LIB2ADD): Likewise.
2384 * config/vxcache.c: Remove.
2385
94358e47
GA
23862020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
2387
2388 * libgcc2.c (bswapsi2): Make constants unsigned.
2389
360258da
GA
23902020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
2391
2392 * libgcc2.c (absvSI2): Simplify/improve implementation by using
2393 builtin_add_overflow.
2394 (absvsi2, absvDI2): Likewise.
2395
82e5048e
GA
23962020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
2397
2398 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
2399 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
2400
25bb75f8
GA
24012020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2402
2403 * config/msp430/lib2hw_mul.S (mult64_hw): New.
2404 (if MUL_32): Use mult64_hw for __muldi3.
2405 (if MUL_F5): Use mult64_hw for __muldi3.
2406 * config/msp430/lib2mul.c (__muldi3): New.
2407 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
2408
29c5d9ce
GA
24092020-11-17 Alan Modra <amodra@gmail.com>
2410
2411 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
2412 (LIB2_SIDITI_CONV_FUNCS): Define.
2413 * config/rs6000/ppc64-fp.c: Delete file.
2414
cba30651
GA
24152020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2416
2417 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
2418 hwmult library functions.
2419
bb622641
GA
24202020-11-10 Jeff Law <law@redhat.com>
2421
2422 * libgcc2.c: Fix whitespace issues in most recent change.
2423
24242020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
2425
2426 * libgcc2.c (__addvSI3): Use overflow builtins.
2427 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
2428 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
2429 (__negvsi2, __negvDI2): Likewise.
2430 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
2431 generated code.
2432 * libgcc2.h (__ucmpdi2): Adjust prototype.
2433
fd2325ea
GA
24342020-11-03 Pat Bernardi <bernardi@adacore.com>
2435 Olivier Hainque <hainque@adacore.com>
2436
2437 * config.host (aarch64-vxworks7*, tmake_file): Add
2438 ${cpu_type}/t-lse and t-slibgcc-libgcc.
2439
24402020-11-03 Martin Storsjö <martin@martin.st>
2441
2442 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
2443 before calling the callback.
2444
88ce3d5f
GA
24452020-10-30 Olivier Hainque <hainque@adacore.com>
2446 Douglas Rupp <rupp@adacore.com>
2447 Pat Bernardi <bernardi@adacore.com>
2448
2449 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
2450 to apply to VxWorks 7 as well.
2451
4f0606fe
GA
24522020-10-29 Olivier Hainque <hainque@adacore.com>
2453
2454 * config/gthr-vxworks-tls.c: Fix preprocessor logic
2455 controlling the definition of VX_ENTER_TLS_DTOR and
2456 VX_LEAVE_TLS_DTOR based on a version major check.
2457
24582020-10-29 Olivier Hainque <hainque@adacore.com>
2459
2460 * config/gthr-vxworks-thread.c: Fix name of macro used
2461 to condition the inclusion of an actual implementation.
2462
89bb01e7
GA
24632020-10-27 Martin Liska <mliska@suse.cz>
2464
2465 PR gcov-profile/97461
2466 * libgcov.h (gcov_counter_add): Use first static counters
2467 as it should help to have malloc wrappers set up.
2468
efe71fcc
GA
24692020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2470
2471 * config/gthr-vxworks-thread.c: #include gthr.h before
2472 testing the guard defined there.
2473 * config/gthr-vxworks-cond.c: Likewise.
2474
56ddd5e2
GA
24752020-10-21 Douglas Rupp <rupp@adacore.com>
2476 Olivier Hainque <hainque@adacore.com>
2477
2478 * config.host (powerpc*-wrs-vxworks7*): New case.
2479 * configure.ac: Handle powerpc*-*-vxworks7* as
2480 powerpc*-*-linux* for ppc-fp_type.
2481 * configure: Regenerate.
2482
56e4eee9
GA
24832020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2484
2485 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
2486 section on VxWorks >= 6.
2487 * config/gthr-vxworks-thread.c: Condition the entire
2488 implementation on __GTHREAD_CXX0X.
2489
24902020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2491
2492 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
2493 section on VxWorks >= 6.
2494 * config/gthr-vxworks-cond.c: Condition the entire
2495 implementation on __GTHREAD_HAS_COND.
2496
24972020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2498
2499 * config/gthr-vxworks.c: #include <taskLib.h>.
2500
25012020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2502
2503 * config/gthr-vxworks.h: Rewrite remaining occurrence
2504 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
2505
25062020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2507 Olivier Hainque <hainque@adacore.com>
2508
2509 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
2510 except on VxWorks 6.
2511
25122020-10-16 Olivier Hainque <hainque@adacore.com>
2513
2514 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
2515
b2698c21
GA
25162020-10-14 Alexandre Oliva <oliva@adacore.com>
2517
2518 * config/gthr-vxworks-thread.c: Include stdlib.h.
2519 (tls_delete_hook): Prototype it.
2520 (__gthread_cond_signal): Return early if no waiters. Consume
2521 signal in case the semaphore got full. Use semInfoGet instead
2522 of kernel-mode-only semInfo.
2523 (__gthread_cond_timedwait): Use semExchange. Always take the
2524 mutex again before returning.
2525 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
2526
25272020-10-14 Olivier Hainque <hainque@adacore.com>
2528
2529 * config/t-vxworks (LIBGCC2_INCLUDES): Append
2530 $(MULTISUBDIR) to the -I path for fixed headers, as we
2531 arrange to have different sets of such headers for different
2532 multilibs when they are activated.
2533 * config/t-vxworks7: Likewise.
2534
25352020-10-14 Olivier Hainque <hainque@adacore.com>
2536
2537 * config/t-vxworks: Add include-fixed to include search
2538 paths for libgcc on VxWorks.
2539 * config/t-vxworks7: Likewise.
2540
c74a0e82
GA
25412020-10-09 H.J. Lu <hjl.tools@gmail.com>
2542
2543 PR target/97148
2544 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
2545 instead of <cetintrin.h>.
2546
6c2675fa
GA
25472020-10-01 Alan Modra <amodra@gmail.com>
2548
2549 * config/rs6000/morestack.S,
2550 * config/rs6000/tramp.S: Support __PCREL__ code.
2551
25522020-10-01 Alan Modra <amodra@gmail.com>
2553
2554 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
2555
93bca37c
GA
25562020-09-29 Maciej W. Rozycki <macro@wdc.com>
2557
2558 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
2559 variable.
2560
e84761c6
GA
25612020-09-28 Richard Sandiford <richard.sandiford@arm.com>
2562
2563 * config/aarch64/libgcc-softfp.ver: New file.
2564 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
2565
4383c595
GA
25662020-09-27 Clement Chigot <clement.chigot@atos.net>
2567
2568 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
2569
521d2711
GA
25702020-09-22 Sergei Trofimovich <siarheit@google.com>
2571
2572 PR gcov-profile/96913
2573 * libgcov-driver.c (write_one_data): Avoid function pointer
2574 comparison in TOP streaming decision.
2575
2aad20c0
GA
25762020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
2577 Christophe Lyon <christophe.lyon@linaro.org>
2578
2579 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
2580 qualifier.
2581 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
2582 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
2583 missing prototypes.
2584
25852020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
2586
2587 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
2588 unused variable warning.
2589
ecde1b0a
GA
25902020-09-16 Jojo R <jiejie_rong@c-sky.com>
2591
2592 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
2593
80f86e78
GA
25942020-09-09 Tom de Vries <tdevries@suse.de>
2595
2596 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
2597 Wbuiltin-declaration-mismatch.
2598
57ea0894
GA
25992020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2600
2601 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
2602 * config/msp430/srai.S (__gnu_mspabi_srap): New.
2603 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
2604
b3cb5606
GA
26052020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
2606
2607 * config/nvptx/atomic.c: New.
2608 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
2609
6a1ad710
GA
26102020-08-03 Ian Lance Taylor <iant@golang.org>
2611
2612 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
2613
26142020-08-03 Jakub Jelinek <jakub@redhat.com>
2615
2616 PR target/96402
2617 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
2618 of x(tmp0), x(tmp1) in STXP arguments.
2619
48cc2e46
GA
26202020-07-31 Maciej W. Rozycki <macro@wdc.com>
2621
2622 * config/riscv/save-restore.S [__riscv_xlen == 64]
2623 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
2624 (__riscv_save_2): Replace negative immediates used for the final
2625 stack pointer adjustment with positive ones, right-shifted by 4.
2626
26272020-07-31 Martin Liska <mliska@suse.cz>
2628
2629 * libgcov-driver.c: Add __gcov_kvp_pool
2630 and __gcov_kvp_pool_index variables.
2631 * libgcov.h (allocate_gcov_kvp): New.
2632 (gcov_topn_add_value): Use it.
2633
53256ee3
GA
26342020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2635
2636 * config/aarch64/lse.S: Add PAC property note.
2637
9bb403dc
GA
26382020-07-23 Martin Liska <mliska@suse.cz>
2639
2640 PR gcov-profile/96035
2641 * libgcov-driver-system.c: Create gcov folders with 0777
2642 so that it respects a system umask.
2643
8ca07a30
GA
26442020-07-14 David Edelsohn <dje.gcc@gmail.com>
2645
2646 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2647
ea69fcf9
GA
26482020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2649
2650 PR target/94891
2651 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2652 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2653 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2654 (MD_DEMANGLE_RETURN_ADDR): This.
2655 (aarch64_post_extract_frame_addr): Rename to ...
2656 (aarch64_demangle_return_addr): This.
2657 (aarch64_post_frob_eh_handler_addr): Remove.
2658 * unwind-dw2.c (uw_update_context): Demangle return address.
2659 (uw_frob_return_addr): Remove.
2660
3f8ca9cb
GA
26612020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2662
2663 PR target/96001
2664 * config/aarch64/lse.S: Add BTI marking and related definitions,
2665 and add BTI c to function entries.
2666
26672020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2668
2669 * config/aarch64/lse.S: Add stack note.
2670
b5f24739
GA
26712020-07-02 Martin Liska <mliska@suse.cz>
2672
2673 PR gcov-profile/95348
2674 * libgcov-driver.c (merge_one_data): Merge only profiles
2675 that are not of non-zero type.
2676 (write_one_data): Write counters only if there's one non-zero
2677 value.
2678 * libgcov-util.c (tag_function): Change signature from unsigned
2679 to int.
2680 (tag_blocks): Likewise.
2681 (tag_arcs): Likewise.
2682 (tag_counters): Likewise.
2683 (tag_summary): Likewise.
2684 (tag_lines): Read only if COUNTERS is non-zero.
2685 (read_gcda_file): Handle negative length for COUNTERS type.
2686
d61ffe12
GA
26872020-06-25 Martin Liska <mliska@suse.cz>
2688
2689 * libgcov-driver.c (merge_summary): Remove function as its name
2690 is misleading and doing something different.
2691 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2692 in gcov-tool.
2693 * libgcov-util.c (curr_object_summary): Remove.
2694 (read_gcda_file): Remove unused curr_object_summary.
2695 (gcov_merge): Merge summaries.
2696 * libgcov.h: Add summary argument for gcov_info struct.
2697
2e546c26
GA
26982020-06-24 H.J. Lu <hjl.tools@gmail.com>
2699
2700 PR target/95259
2701 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
2702 "common/config/i386/i386-cpuinfo.h" and
2703 "common/config/i386/cpuinfo.h".
2704 (__cpu_features2): Changed to array.
2705 (get_amd_cpu): Removed.
2706 (get_intel_cpu): Likewise.
2707 (get_available_features): Likewise.
2708 (__cpu_indicator_init): Call cpu_indicator_init.
2709 * config/i386/cpuinfo.h: Removed.
2710
4543acc8
GA
27112020-06-23 David Edelsohn <dje.gcc@gmail.com>
2712
2713 * Makefile.in: Remove uses of empty.mk. Use -include.
2714 * config/avr/t-avr: Use -include.
2715 * empty.mk: Delete.
2716
f86e11a2
GA
27172020-06-21 David Edelsohn <dje.gcc@gmail.com>
2718
2719 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2720 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2721 and 64 bit with -maix64.
2722 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2723 Build and install AIX-style FAT libraries.
2724
aff95ee7
GA
27252020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
2726
2727 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2728 'i386/gnu-unwind.h'
2729 * config/i386/gnu-unwind.h: New file.
2730
27312020-06-17 Martin Liska <mliska@suse.cz>
2732
2733 * libgcov-util.c (read_gcda_finalize): Remove const operator.
2734 (merge_wrapper): Add both counts and use them properly.
2735 (topn_to_memory_representation): New function.
2736 (gcov_merge): Covert on disk representation to in memory
2737 representation.
2738 * libgcov.h: Remove const operator.
2739
6fb94d67
GA
27402020-06-15 Max Filippov <jcmvbkbc@gmail.com>
2741
2742 * configure: Regenerate.
2743 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2744 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2745
b952c2cf
GA
27462020-06-09 Martin Liska <mliska@suse.cz>
2747
2748 PR gcov-profile/95494
2749 * libgcov-driver.c (write_top_counters): Cast first to
2750 intptr_t as sizeof(*) != sizeof(gcov_type).
2751 * libgcov.h (gcov_counter_set_if_null): Remove.
2752 (gcov_topn_add_value): Cast first to intptr_t and update
2753 linked list directly.
2754
27552020-06-09 Max Filippov <jcmvbkbc@gmail.com>
2756
2757 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2758 with uw_install_context_1.
2759
3add3425
GA
27602020-06-04 Andreas Schwab <schwab@suse.de>
2761
2762 PR target/59230
2763 PR libfortran/59227
2764 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2765 soft-fp/divtf3.c.
2766 (LIB2ADD): Add config/ia64/divtf3.c.
2767 * config/ia64/divtf3.c: New file.
2768
9a5b7438
GA
27692020-06-03 Martin Liska <mliska@suse.cz>
2770
2771 PR gcov-profile/95480
2772 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2773 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2774 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2775 (gcov_counter_set_if_null): Likewise.
2776
a9312a79
GA
27772020-06-02 Jim Wilson <jimw@sifive.com>
2778
2779 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2780 to bgtz.
2781
27822020-06-02 Martin Liska <mliska@suse.cz>
2783
2784 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2785 of xmalloc.
2786
27872020-06-02 Martin Liska <mliska@suse.cz>
2788
2789 * libgcov-driver.c (prune_topn_counter): Remove.
2790 (prune_counters): Likewise.
2791 (merge_one_data): Special case TOP N counters
2792 as they have variable length.
2793 (write_top_counters): New.
2794 (write_one_data): Special case TOP N.
2795 (dump_one_gcov): Do not prune TOP N counters.
2796 * libgcov-merge.c (merge_topn_values_set): Remove.
2797 (__gcov_merge_topn): Use gcov_topn_add_value.
2798 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2799 Likewise here.
2800 * libgcov.h (gcov_counter_add): New.
2801 (gcov_counter_set_if_null): Likewise.
2802 (gcov_topn_add_value): New.
2803
4a9aa9de
GA
28042020-06-01 Uroš Bizjak <ubizjak@gmail.com>
2805
2806 * config/i386/sfp-exceptions.c (struct fenv):
2807 Add __attribute__ ((gcc_struct)).
2808
885ef72f
GA
28092020-05-29 H.J. Lu <hjl.tools@gmail.com>
2810
2811 PR bootstrap/95413
2812 * configure: Regenerated.
2813
53ffb43a
GA
28142020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
2815
2816 PR gcov-profile/95332
2817 * libgcov-util.c (read_gcda_file): Call gcov_magic.
2818 * libgcov.h (gcov_magic): Disable GCC poison.
2819
5855bdfa
L
28202020-05-21 H.J. Lu <hongjiu.lu@intel.com>
2821
2822 PR target/95212
2823 * config/i386/cpuinfo.h (processor_features): Move
2824 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2825
35b98036
L
28262020-05-20 H.J. Lu <hongjiu.lu@intel.com>
2827
2828 PR target/91695
2829 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2830 check.
2831
45395445
L
28322020-05-19 H.J. Lu <hongjiu.lu@intel.com>
2833
2834 PR target/95212
2835 PR target/95220
2836 * config/i386/cpuinfo.c (get_available_features): Fix
2837 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
2838 * config/i386/cpuinfo.h (processor_features): Add
2839 FEATURE_AVX512VP2INTERSECT.
2840
4c1a5d8b
L
28412020-05-15 H.J. Lu <hongjiu.lu@intel.com>
2842
2843 PR bootstrap/95147
2844 * configure: Regenerated.
2845
8d286dd1
L
28462020-05-14 H.J. Lu <hongjiu.lu@intel.com>
2847
2848 * configure: Regenerated.
2849
39748a89
HPN
28502020-05-09 Hans-Peter Nilsson <hp@axis.com>
2851
2852 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2853 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2854
d3a1459c
UB
28552020-05-06 Uroš Bizjak <ubizjak@gmail.com>
2856
2857 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2858 (__math_force_eval_div): New define.
2859 (__sfp_handle_exceptions): Use __math_force_eval_div to use
2860 generic division to generate INVALID, DIVZERO and INEXACT
2861 exceptions.
2862
12667785
KT
28632020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2864
2865 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2866 instead of getauxval.
2867 (AT_HWCAP): Define.
2868 (HWCAP_ATOMICS): Define.
2869 Guard detection on __gnu_linux__.
2870
ef836167
MM
28712020-05-05 Michael Meissner <meissner@linux.ibm.com>
2872
2873 * config.host: Delete changes meant for a private branch.
2874 * config/rs6000/t-float128: Likewise.
2875 * configure.ac: Likewise.
2876 * configure: Likewise.
2877
811b7636
ML
28782020-05-05 Martin Liska <mliska@suse.cz>
2879
2880 PR gcov-profile/93623
2881 * Makefile.in: Remove __gcov_flush.
2882 * gcov.h (__gcov_flush): Remove.
2883 * libgcov-interface.c (__gcov_flush): Remove.
2884 (init_mx): Use renamed mutex.
2885 (__gcov_lock): Likewise.
2886 (__gcov_unlock): Likewise.
2887 (__gcov_fork): Likewise.
2888 (__gcov_flush): Remove.
2889
c0532db4
ML
28902020-05-05 Martin Liska <mliska@suse.cz>
2891
2892 PR gcov-profile/93623
2893 * libgcov-interface.c (__gcov_fork): Do not flush
2894 and reset only in child process.
2895 (__gcov_execl): Dump counters only and reset them
2896 only if exec* fails.
2897 (__gcov_execlp): Likewise.
2898 (__gcov_execle): Likewise.
2899 (__gcov_execv): Likewise.
2900 (__gcov_execvp): Likewise.
2901 (__gcov_execve): Likewise.
2902
d39f7dc8
ML
29032020-05-05 Martin Liska <mliska@suse.cz>
2904
2905 PR gcov-profile/93623
2906 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2907 * libgcov-interface.c (ALIAS_void_fn): Remove.
2908 (__gcov_lock): New.
2909 (__gcov_unlock): New.
2910 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2911 (__gcov_reset): Likewise.
2912 (__gcov_dump): Likewise.
2913 * libgcov.h (__gcov_lock): New declaration.
2914 (__gcov_unlock): Likewise.
2915
afb9b710
UB
29162020-05-01 Uroš Bizjak <ubizjak@gmail.com>
2917
2918 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 2919 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
2920 generic division to generate INVALID and DIVZERO exceptions.
2921
66711279
SH
29222020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
2923
2924 * config/rs6000/crtresfpr.S: Use .machine ppc.
2925 * config/rs6000/crtresxfpr.S: Likewise.
2926 * config/rs6000/crtsavfpr.S: Likewise.
2927
fb22faf4
SN
29282020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2929
2930 PR target/94514
2931 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2932 Update context->flags accroding to the frame state.
2933
df73e584
UB
29342020-04-19 Uroš Bizjak <ubizjak@gmail.com>
2935
2936 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2937 Remove unneeded assignments to volatile memory.
2938
5b2f76e3
JJ
29392020-04-15 Jakub Jelinek <jakub@redhat.com>
2940
2941 PR target/93053
2942 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2943 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2944 is not defined, use just .arch armv8-a.
2945 (B, M, N, OPN): Define.
2946 (COMMENT): New .macro.
2947 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2948 defined. Otherwise, move the operands right after the glue? and
2949 comment out operands where the macros are used.
2950 * configure: Regenerated.
2951 * config.in: Regenerated.
2952
50c78532
ILT
29532020-04-07 Ian Lance Taylor <iant@golang.org>
2954
2955 PR libgcc/94513
2956 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2957 syscall instead.
2958
458ca332
ILT
29592020-04-04 Ian Lance Taylor <iant@golang.org>
2960
2961 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2962
710d54ed
ILT
29632020-04-03 Ian Lance Taylor <iant@golang.org>
2964
2965 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2966 than mmap/munmap, to avoid hooks.
2967
b749b5ec
JJ
29682020-04-03 Jim Johnston <jjohnst@us.ibm.com>
2969
2970 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2971 (TPFRA_OFFSET): Macros removed.
2972 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2973 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2974 (PG3_SKIPPING_OFFSET): New macros.
2975 (__isPATrange): Use cinfc_fast for the check.
2976 (__isSkipResetAddr): New function.
2977 (s390_fallback_frame_state): Check for skip trace addresses. Use
2978 either ICST_CRET or ICST_SRET to calculate return address
2979 location.
2980 (__tpf_eh_return): Handle skip trace addresses.
2981
a9cd2d78
RE
29822020-03-26 Richard Earnshaw <rearnsha@arm.com>
2983
2984 PR target/94220
2985 * config/arm/lib1funcs.asm (COND): Use a single definition for
2986 unified syntax.
2987 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2988 (aeabi_idivmod): Likewise.
2989 (divsi3_skip_div0_test): Likewise.
2990
f582ca0f
MI
29912020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
2992
2993 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2994
068fe0a9
AK
29952020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
2996
2997 * config.host: Include the new makefile fragment.
2998 * config/s390/t-tpf: New file.
2999
6b9ce2b4
RE
30002020-03-03 Richard Earnshaw <rearnsha@arm.com>
3001
3002 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
3003 syntax.
3004 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
3005 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
3006 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
3007 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
3008 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
3009 syntax.
3010 (divsi3, modsi3): Likewise.
3011 (clzdi2, ctzsi2): Likewise.
3012 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
3013 unified syntax.
3014 (UNWIND_WRAPPER): Likewise.
3015
8dd5d8f3
ML
30162020-03-02 Martin Liska <mliska@suse.cz>
3017
3018 * libgcov-interface.c: Remove duplicate
3019 declaration of __gcov_flush_mx.
3020
ea0b1252
ML
30212020-02-18 Martin Liska <mliska@suse.cz>
3022
3023 PR ipa/92924
3024 * libgcov-merge.c (merge_topn_values_set): Record
3025 when a TOP N counter becomes invalid. When merging
3026 remove a smallest value if the space is needed.
3027
02ce382c
SL
30282020-02-12 Sandra Loosemore <sandra@codesourcery.com>
3029
3030 PR libstdc++/79193
3031 PR libstdc++/88999
3032
3033 * configure: Regenerated.
3034
7214fce3
JL
30352020-02-10 Jeff Law <law@redhat.com>
3036
3037 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
3038 sections.
3039 * config/frv/frvend.c: Similarly.
3040
cf0f07ef
L
30412020-02-10 H.J. Lu <hongjiu.lu@intel.com>
3042
3043 PR libgcc/85334
3044 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3045 New.
3046
5602b48b
CL
30472020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
3048
3049 PR target/93615
3050 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
3051 _Unwind_gnu_Find_got.
3052 * unwind-pe.h: Likewise.
3053
811a475e
JJ
30542020-02-07 Jakub Jelinek <jakub@redhat.com>
3055
3056 PR target/93615
3057 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
3058 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
3059 trailing :s in asm. Formatting fixes.
3060 (_Unwind_decode_typeinfo_ptr): Adjust caller.
3061
2d33dcfe
SL
30622020-01-31 Sandra Loosemore <sandra@codesourcery.com>
3063
3064 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
3065
3066 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
3067 * config/nios2-elf-lib.h: New.
3068 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
3069 code for finding GOT base for nios2.
3070
3ae37f92
ML
30712020-01-27 Martin Liska <mliska@suse.cz>
3072
3073 PR gcov-profile/93403
3074 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
3075 Call __gcov_indirect_call_profiler_body.
3076 (__gcov_indirect_call_profiler_body): New.
3077 (__gcov_indirect_call_profiler_v4_atomic): New.
3078 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
3079 New declaration.
3080
2744b8b2
CZ
30812020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
3082
3083 * config/arc/crti.S: Add RF16 object attribute.
3084 * config/arc/crtn.S: Likewise.
3085 * config/arc/crttls.S: Likewise.
3086 * config/arc/lib1funcs.S: Likewise.
3087 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
3088 * config/arc/lib2funcs.c: New file.
3089 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
3090
e8e66971
MR
30912020-01-24 Maciej W. Rozycki <macro@wdc.com>
3092
3093 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
3094 * configure.ac: Handle `--with-toolexeclibdir='.
3095 * configure: Regenerate.
3096
54b3d52c
DM
30972020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
3098
3099 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
3100
a3c1e1f2
DM
31012020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
3102
3103 * config/mips/gnustack.h: New file.
3104 * config/mips/crti.S: Include gnustack.h.
3105 * config/mips/crtn.S: Likewise.
3106 * config/mips/mips16.S: Likewise.
3107 * config/mips/vr4120-div.S: Likewise.
3108
e9ee848d
ML
31092020-01-23 Martin Liska <mliska@suse.cz>
3110
3111 * libgcov-driver.c (prune_topn_counter): Remove
3112 check for -1 as we only prune run-time counters
3113 that do not generate an invalid state.
3114
7491c17f
ML
31152020-01-22 Martin Liska <mliska@suse.cz>
3116
3117 PR tree-optimization/92924
3118 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
3119 try to find an existing value, then find an empty slot
3120 if not found.
3121
5f32f9cf
ML
31222020-01-22 Martin Liska <mliska@suse.cz>
3123
3124 PR tree-optimization/92924
3125 * libgcov-driver.c (prune_topn_counter): New.
3126 (prune_counters): Likewise.
3127 (dump_one_gcov): Prune a run-time counter.
3128 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
3129 For a known value, add GCOV_TOPN_VALUES to value.
3130 Otherwise, decrement all counters by one.
3131
463f6499
HPN
31322020-01-18 Hans-Peter Nilsson <hp@axis.com>
3133
3134 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
3135
84479e3a
JDA
31362020-01-18 John David Anglin <danglin@gcc.gnu.org>
3137
3138 PR libgcc/92988
3139 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
3140 DEFAULT_USE_CXA_ATEXIT is true.
3141
e953433f 31422020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 3143 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
3144
3145 * config/arm/t-arm: Check return value of gcc rather than lack of
3146 output.
3147
03e87724
GJL
31482020-01-14 Georg-Johann Lay <avr@gjlay.de>
3149
3150 * config/avr/lib1funcs.S (skip): Simplify.
3151
af9bd920
KCY
31522020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
3153
3154 * config/gcn/atomic.c: Remove include of stdint.h.
3155 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
3156 __UINTPTR_TYPE__.
3157
d6491d15
KCY
31582020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
3159
3160 * config/gcn/atomic.c: New.
3161 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
3162
f30dd607
GJL
31632020-01-08 Georg-Johann Lay <avr@gjlay.de>
3164
3165 Implement 64-bit double functions.
3166
3167 PR target/92055
3168 * config.host (tmake_file) [target=avr]: Add t-libf7,
3169 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
3170 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
3171 depending on sizeof (double) or sizeof (long double).
3172 * config/avr/libf7: New folder.
3173
5205a445
OH
31742020-01-05 Olivier Hainque <hainque@adacore.com>
3175
3176 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
3177 by IN_LIBGCC2.
3178
8d9254fc
JJ
31792020-01-01 Jakub Jelinek <jakub@redhat.com>
3180
3181 Update copyright years.
3182
abb6c3ee
OH
31832019-12-30 Olivier Hainque <hainque@adacore.com>
3184
3185 * config/gthr-vxworks.h: Use _vxworks-versions.h.
3186 * config/gthr-vxworks-tls.c: Likewise.
3187
d7f5094a
OH
31882019-12-30 Olivier Hainque <hainque@adacore.com>
3189
3190 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
3191 standard zero-initializer syntax.
3192
49cfaa2a
OH
31932019-12-30 Olivier Hainque <hainque@adacore.com>
3194
3195 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
3196 reference to the internal VX_GET_TLS_DATA interface.
3197
89b9a554
OH
31982019-12-30 Olivier Hainque <hainque@adacore.com>
3199
3200 * config/vxcrtstuff.c: Fix incorrect spelling of
3201 USE_INITFINI_ARRAY in guard.
3202
e8aa9f55
JL
32032019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3204
3205 * config.host: s/msp430*-*-elf/msp430-*-elf*.
3206 Override default "extra_parts" variable.
3207 * configure: Regenerate.
3208 * configure.ac: Disable TM clone registry by default for
3209 msp430-elfbare.
3210
a9046e98
JL
32112019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3212
3213 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
3214 "extra_parts".
3215 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
3216
34a53788
JL
32172019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3218
3219 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
3220 true.
3221
21a098f4
JL
32222019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3223
3224 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
3225 defined instead of its value.
3226
ad8b7783
JL
32272019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3228
3229 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
3230 if it will have contents.
3231
08d7ff78
GJL
32322019-12-05 Georg-Johann Lay <avr@gjlay.de>
3233
3234 PR target/92055
3235 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
3236
3d3a96a2
SN
32372019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
3238
34b4d99d 3239 PR libgcc/91737
3d3a96a2
SN
3240 * config.host: Add t-gthr-noweak on *-*-musl*.
3241 * config/t-gthr-noweak: New file.
3242
632b5e3d
JDA
32432019-11-17 John David Anglin <danglin@gcc.gnu.org>
3244
3245 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
3246 volatile void *. Remove trap check.
3247 (__kernel_cmpxchg2): Likewise.
3248 (FETCH_AND_OP_2): Adjust operand types.
3249 (OP_AND_FETCH_2): Likewise.
3250 (FETCH_AND_OP_WORD): Likewise.
3251 (OP_AND_FETCH_WORD): Likewise.
3252 (COMPARE_AND_SWAP_2): Likewise.
3253 (__sync_val_compare_and_swap_4): Likewise.
3254 (__sync_bool_compare_and_swap_4): Likewise.
3255 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3256 (__sync_lock_test_and_set_4): Likewise.
3257 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
3258 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
3259 for release.
3260 (__sync_lock_release_8): Remove.
3261
838fd641
SN
32622019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
3263
3264 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
3265 of __sigset_t.
3266
27204060
JL
32672019-11-14 Jerome Lambourg <lambourg@adacore.com>
3268 Doug Rupp <rupp@adacore.com>
3269 Olivier Hainque <hainque@adacore.com>
3270
3271 * config.host: Collapse the arm-vxworks entries into
3272 a single arm-wrs-vxworks7* one.
3273 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
3274 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
3275 kernel modules, to be overriden by libstdc++ when we link with
3276 it. Rely on externally provided __exidx_start/end.
3277
3004f893
DR
32782019-11-14 Doug Rupp <rupp@adacore.com>
3279 Olivier Hainque <hainque@adacore.com>
3280
3281 * config.host: Handle aarch64*-wrs-vxworks7*.
3282
36e5f4d4
OH
32832019-11-12 Olivier Hainque <hainque@adacore.com>
3284
3285 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
3286 sources except the cxx0x support to LIB2ADDEH. We don't support
3287 cxx0x on AE/653.
3288 * config/t-vxworksae: New file.
3289 * config.host: Handle *-*-vxworksae: Add the two aforementioned
3290 Makefile fragment files at their expected position in the tmake_file
3291 list, in accordance with what is done for other VxWorks variants.
3292
806dd047
CG
32932019-11-12 Corentin Gay <gay@adacore.com>
3294 Jerome Lambourg <lambourg@adacore.com>
3295 Olivier Hainque <hainque@adacore.com>
3296
3297 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
3298 sources to LIB2ADDEH.
3299 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
3300 * config/t-vxworks7: Likewise.
3301
3302 * config.host: Append a block at the end of the file to add the
3303 t-gthr files to the tmake_file list for VxWorks after everything
3304 else.
3305
3306 * config/vxlib.c: Rename as gthr-vxworks.c.
3307 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
3308
3309 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
3310 API and a basic error checking API, both internal. Simplify the
3311 __gthread_once_t type definition and initializers. Add sections
3312 for condition variables support and for the C++0x thread support,
3313 conditioned against Vx653 for the latter.
3314
3315 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
3316 implementation, leveraging the TAS internal API.
3317 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
3318 API, leveraging the general availability of TLS services in VxWorks7
3319 post SR6xxx.
3320 (__gthread_setspecific, __gthread_setspecific): Use it.
3321 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
3322 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
3323 support based on VxWorks primitives.
3324 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
3325 based on VxWorks primitives.
3326
78e49fb1
JL
33272019-11-06 Jerome Lambourg <lambourg@adacore.com>
3328 Olivier Hainque <hainque@adacore.com>
3329
3330 * config/vxcrtstuff.c: New file.
3331 * config/t-vxcrtstuff: New Makefile fragment.
3332 * config.host: Append t-vxcrtstuff to the tmake_file list
3333 on all VxWorks ports using dwarf for table based EH.
3334
29f3def3
GJL
33352019-11-07 Georg-Johann Lay <avr@gjlay.de>
3336
3337 Support 64-bit double and 64-bit long double configurations.
3338
3339 PR target/92055
3340 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
3341 long double is a 32-bit type.
3342 * config/avr/t-avrlibc: Copy double64 and long-double64
3343 multilib(s) from the vanilla one.
3344 * config/avr/t-copy-libgcc: New Makefile snip.
3345
62ec242e
JL
33462019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3347
3348 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
3349 the target output object format is not ELF.
3350 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
3351
da5c1bbe
OE
33522019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
3353
3354 PR libgcc/78804
3355 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
3356 * fp-bit.c (pack_d, unpack_d): Remove special cases for
3357 FLOAT_BIT_ORDER_MISMATCH.
3358 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
3359
8dc56a22
JW
33602019-11-01 Jim Wilson <jimw@sifive.com>
3361
3362 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
3363
91c64455
JL
33642019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3365
3366 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
3367 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
3368 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
3369 Define symbols for 32-bit and f5series hardware multiply
3370 register addresses.
3371 Replace hard-coded register addresses with symbols.
3372 Fix "_mspabi*" typo.
3373 Fix whitespace.
3374 * config/msp430/lib2mul.c: Add comment.
3375
85093ac6
JDA
33762019-10-15 John David Anglin <danglin@gcc.gnu.org>
3377
3378 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
3379 unsigned int. Adjust callers.
3380 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
3381 unsigned int *. Load relocation offset before function pointer.
3382 Add barrier to ensure ordering.
3383
1aea083d
JDA
33842019-10-12 John David Anglin <danglin@gcc.gnu.org>
3385
3386 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
3387 Load PIC register after branch target. Fix white space.
3388 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
3389 implementations. Load PIC register after branch target. Don't
3390 clobber function pointer when it points to function descriptor.
3391 Use nullification instead of branch in LINUX implementation.
3392
c49af82c
JDA
33932019-10-03 John David Anglin <danglin@gcc.gnu.org>
3394
3395 * config/pa/fptr.c: Disable -Warray-bounds warning.
3396
88a51d68
RH
33972019-09-25 Richard Henderson <richard.henderson@linaro.org>
3398
9e46fd07
RH
3399 * config.in, configure: Re-rebuild with stock autoconf 2.69,
3400 not the ubuntu modified 2.69.
3401
58d169ba
RH
3402 PR target/91833
3403 * config/aarch64/lse-init.c: Include auto-target.h. Disable
3404 initialization if !HAVE_SYS_AUXV_H.
3405 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
3406 * config.in, configure: Rebuild.
3407
88a51d68
RH
3408 PR target/91834
3409 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
3410 overlap the inputs.
3411
761e6bb9
SZ
34122019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
3413
3414 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
3415 CTR_EL0.IDC and CTR_EL0.DIC.
3416
76c93295
CL
34172019-09-20 Christophe Lyon <christophe.lyon@st.com>
3418
3419 Revert:
3420 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3421 Mickaël Guêné <mickael.guene@st.com>
3422
3423 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3424 architecture.
3425
33befddc
RH
34262019-09-19 Richard Henderson <richard.henderson@linaro.org>
3427
3428 * config/aarch64/lse-init.c: New file.
3429 * config/aarch64/lse.S: New file.
3430 * config/aarch64/t-lse: New file.
3431 * config.host: Add t-lse to all aarch64 tuples.
3432
ae1152e5
CL
34332019-09-10 Christophe Lyon <christophe.lyon@st.com>
3434 Mickaël Guêné <mickael.guene@st.com>
3435
84818dbb
CL
3436 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3437 architecture.
3438
34392019-09-10 Christophe Lyon <christophe.lyon@st.com>
3440 Mickaël Guêné <mickael.guene@st.com>
3441
ae1152e5
CL
3442 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
3443 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
3444 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
3445 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
3446 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
3447 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
3448 (__gnu_personality_sigframe_fdpic): New.
3449 (get_eit_entry): Add FDPIC signal frame support.
3450
5d727a4b
CL
34512019-09-10 Christophe Lyon <christophe.lyon@st.com>
3452 Mickaël Guêné <mickael.guene@st.com>
3453
3454 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
3455 (__kernel_dmb): Likewise.
3456 (__fdpic_cmpxchg): New function.
3457 (__fdpic_dmb): New function.
3458 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
3459 (gnu_Unwind_Find_got): New function.
3460 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
3461 * unwind-arm-common.inc (UCB_PR_GOT): New.
3462 (funcdesc_t): New struct.
3463 (get_eit_entry): Add FDPIC support.
3464 (unwind_phase2): Likewise.
3465 (unwind_phase2_forced): Likewise.
3466 (__gnu_Unwind_RaiseException): Likewise.
3467 (__gnu_Unwind_Resume): Likewise.
3468 (__gnu_Unwind_Backtrace): Likewise.
3469 * unwind-pe.h (read_encoded_value_with_base): Likewise.
3470
b1e21e5a 34712019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 3472 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 3473
11189793
CL
3474 * libgcc/crtstuff.c: Add support for FDPIC.
3475
34762019-09-10 Christophe Lyon <christophe.lyon@st.com>
3477
3478 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 3479
91dfef96
JM
34802019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
3481
3482 * config.host: Set cpu_type for bpf-*-* targets.
3483 * config/bpf/t-bpf: Likewise.
3484 * config/bpf/crtn.S: Likewise.
3485 * config/bpf/crti.S: New file.
3486
2f4d8951
JW
34872019-09-06 Jim Wilson <jimw@sifive.com>
3488
3489 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3490 (riscv*-*-freebsd*): Likewise.
3491
2f2aeda9
UW
34922019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
3493
3494 * config.host: Remove references to spu.
3495 * config/spu/: Remove directory.
3496
d16017da
JL
34972019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3498
3499 PR target/91306
3500 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
3501 element type, instead of "sizeof" the element type.
3502 (__DTOR_LIST__): Likewise.
3503 (__TMC_LIST__): Likewise.
3504 (__do_global_dtors_aux_fini_array_entry): Likewise.
3505 (__frame_dummy_init_array_entry): Likewise.
3506 (__CTOR_END__): Likewise.
3507 (__DTOR_END__): Likweise.
3508 (__FRAME_END__): Likewise.
3509 (__TMC_END__): Likewise.
3510
a9fcfec3
HL
35112019-08-20 Lili Cui <lilicui@intel.com>
3512
3513 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
3514 INTEL_COREI7_COOPERLAKE.
3515
428642b1
MT
35162019-07-31 Matt Thomas <matt@3am-software.com>
3517 Nick Hudson <nick@nthcliff.demon.co.uk>
3518 Matthew Green <mrg@eterna.com.au>
3519 Maya Rashish <coypu@sdf.org>
3520
3521 * config.host (hppa*-*-netbsd*): New case.
3522 * config/pa/t-netbsd: New file.
3523
f0efd925
JH
35242019-07-31 Joel Hutton <Joel.Hutton@arm.com>
3525
3526 * config/arm/cmse.c (cmse_check_address_range): Add
3527 warn_unused_result attribute.
3528
a861990d
ML
35292019-07-22 Martin Liska <mliska@suse.cz>
3530
3531 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
3532 * config/pa/t-stublib: Likewise.
3533
9c0dba7c
SH
35342019-07-22 Stafford Horne <shorne@gmail.com>
3535
3536 PR target/90362
3537 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
3538 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
3539 instructions are not available on every processor. Change a
3540 l.bnf to l.bf to fix logic issue.
3541
61afc8f8
IS
35422019-07-04 Iain Sandoe <iain@sandoe.co.uk>
3543
3544 * config.host: Remove reference to t-darwin8.
3545
179c7ef5
IS
35462019-07-03 Iain Sandoe <iain@sandoe.co.uk>
3547
3548 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
3549 list.
3550 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
3551 mmacosx-version-min for crts to run across all system versions.
3552 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
3553 * config/t-darwin: Revise mmacosx-version-min for crts to run across
3554 system versions >= 10.4.
3555
596341c7
ML
35562019-07-03 Martin Liska <mliska@suse.cz>
3557
3558 * Makefile.in: Use topn_values instead of one_value names.
3559 * libgcov-merge.c (__gcov_merge_single): Move to ...
3560 (__gcov_merge_topn): ... this.
3561 (merge_single_value_set): Move to ...
3562 (merge_topn_values_set): ... this.
3563 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
3564 ...
3565 (__gcov_topn_values_profiler_body): ... this.
3566 (__gcov_one_value_profiler_v2): Move to ...
3567 (__gcov_topn_values_profiler): ... this.
3568 (__gcov_one_value_profiler_v2_atomic): Move to ...
3569 (__gcov_topn_values_profiler_atomic): ... this.
3570 (__gcov_indirect_call_profiler_v4): Remove.
3571 * libgcov-util.c (__gcov_single_counter_op): Move to ...
3572 (__gcov_topn_counter_op): ... this.
3573 * libgcov.h (L_gcov_merge_single): Remove.
3574 (L_gcov_merge_topn): New.
3575 (__gcov_merge_single): Remove.
3576 (__gcov_merge_topn): New.
3577 (__gcov_one_value_profiler_v2): Move to ..
3578 (__gcov_topn_values_profiler): ... this.
3579 (__gcov_one_value_profiler_v2_atomic): Move to ...
3580 (__gcov_topn_values_profiler_atomic): ... this.
3581
1b309ca5
ML
35822019-07-03 Martin Liska <mliska@suse.cz>
3583
3584 * libgcov-merge.c (merge_single_value_set): Support N values.
3585 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
3586
5a460280
ID
35872019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
3588
3589 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
3590 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
3591 * configure.ac: Add --disable-tm-clone-registry option.
3592 * configure: Regenerate.
3593
45309d28
ML
35942019-06-27 Martin Liska <mliska@suse.cz>
3595
3596 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
3597 dead assignments.
3598 * libgcov-util.c: Likewise.
3599
c2f7a665
ML
36002019-06-27 Martin Liska <mliska@suse.cz>
3601
3602 * libgcov-util.c (gcov_profile_merge): Release allocated
3603 memory.
3604 (calculate_overlap): Likewise.
3605
a8e55c61
IS
36062019-06-25 Iain Sandoe <iain@sandoe.co.uk>
3607
3608 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
3609 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
3610 Build objects for the out of line save/restore register functions
3611 so that they can be used for any supported Darwin version.
3612 * config/t-darwin: Default the build Darwin version to Darwin8
3613 (MacOS 10.4).
3614
e5ce4cbc
ML
36152019-06-25 Martin Liska <mliska@suse.cz>
3616
3617 * libgcov-driver-system.c (replace_filename_variables): Do not
3618 call strlen with NULL argument.
3619
52a47d28
AS
36202019-06-25 Andrew Stubbs <ams@codesourcery.com>
3621
3622 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
3623 * config/gcn/unwind-gcn.c: New file.
3624
76d46331
KCY
36252019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
3626 Andrew Stubbs <ams@codesourcery.com>
3627
3628 * configure: Regenerate.
3629 * config/gcn/gthr-gcn.h: New.
3630
787783a0
TV
36312019-06-18 Tom de Vries <tdevries@suse.de>
3632
3633 * config/nvptx/crt0.c (__main): Declare.
3634
f32f7585
MG
36352019-06-17 Matthew Green <mrg@eterna.com.au>
3636 Maya Rashish <coypu@sdf.org>
3637
3638 * config.host (aarch64*-*-netbsd*): New case.
3639
0fcc78f7
JL
36402019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3641
3642 * config/msp430/slli.S (__mspabi_sllll): New library function for
3643 performing a logical left shift of a 64-bit value.
3644 * config/msp430/srai.S (__mspabi_srall): New library function for
3645 performing a arithmetic right shift of a 64-bit value.
3646 * config/msp430/srll.S (__mspabi_srlll): New library function for
3647 performing a logical right shift of a 64-bit value.
3648
b27c1082
MT
36492019-06-14 Matt Thomas <matt@3am-software.com>
3650 Matthew Green <mrg@eterna.com.au>
3651 Nick Hudson <skrll@netbsd.org>
3652 Maya Rashish <coypu@sdf.org>
3653
3654 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3655 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3656 functions to build.
3657 * config/arm/t-netbsd-eabi: New file.
3658
ae7deb4b
DD
36592019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
3660
3661 * config.host: Add PRU target.
3662 * config/pru/asri.c: New file.
3663 * config/pru/eqd.c: New file.
3664 * config/pru/eqf.c: New file.
3665 * config/pru/ged.c: New file.
3666 * config/pru/gef.c: New file.
3667 * config/pru/gtd.c: New file.
3668 * config/pru/gtf.c: New file.
3669 * config/pru/led.c: New file.
3670 * config/pru/lef.c: New file.
3671 * config/pru/lib2bitcountHI.c: New file.
3672 * config/pru/lib2divHI.c: New file.
3673 * config/pru/lib2divQI.c: New file.
3674 * config/pru/lib2divSI.c: New file.
3675 * config/pru/libgcc-eabi.ver: New file.
3676 * config/pru/ltd.c: New file.
3677 * config/pru/ltf.c: New file.
3678 * config/pru/mpyll.S: New file.
3679 * config/pru/pru-abi.h: New file.
3680 * config/pru/pru-asm.h: New file.
3681 * config/pru/pru-divmod.h: New file.
3682 * config/pru/sfp-machine.h: New file.
3683 * config/pru/t-pru: New file.
3684
0d7b3e47
JJ
36852019-06-11 Jakub Jelinek <jakub@redhat.com>
3686
3687 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3688
54e2d83c
ML
36892019-06-10 Martin Liska <mliska@suse.cz>
3690
3691 PR bootstrap/90808
3692 * libgcov.h: Add ATTRIBUTE_UNUSED.
3693
92d41717
ML
36942019-06-10 Martin Liska <mliska@suse.cz>
3695
3696 * Makefile.in: Add __gcov_one_value_profiler_v2,
3697 __gcov_one_value_profiler_v2_atomic and
3698 __gcov_indirect_call_profiler_v4.
3699 * libgcov-merge.c (__gcov_merge_single): Change
3700 function signature.
3701 (merge_single_value_set): New.
3702 * libgcov-profiler.c (__gcov_one_value_profiler_body):
3703 Update functionality.
3704 (__gcov_one_value_profiler): Remove.
3705 (__gcov_one_value_profiler_v2): ... this.
3706 (__gcov_one_value_profiler_atomic): Rename to ...
3707 (__gcov_one_value_profiler_v2_atomic): this.
3708 (__gcov_indirect_call_profiler_v3): Rename to ...
3709 (__gcov_indirect_call_profiler_v4): ... this.
3710 * libgcov.h (__gcov_one_value_profiler): Remove.
3711 (__gcov_one_value_profiler_atomic): Remove.
3712 (__gcov_one_value_profiler_v2_atomic): New.
3713 (__gcov_indirect_call_profiler_v3): Remove.
3714 (__gcov_one_value_profiler_v2): New.
3715 (__gcov_indirect_call_profiler_v4): New.
3716 (gcov_get_counter_ignore_scaling): New function.
3717
e37333ba
ML
37182019-06-07 Martin Liska <mliska@suse.cz>
3719
3720 * Makefile.in: Remove usage of
3721 _gcov_merge_icall_topn.
3722 * libgcov-driver.c (gcov_sort_n_vals): Remove.
3723 (gcov_sort_icall_topn_counter): Likewise.
3724 (gcov_sort_topn_counter_arrays): Likewise.
3725 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3726 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3727 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3728 Likewise.
3729 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3730 (struct indirect_call_tuple): Remove.
3731 (__gcov_indirect_call_topn_profiler): Remove.
3732 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3733 * libgcov.h (gcov_sort_n_vals): Remove.
3734 (L_gcov_merge_icall_topn): Likewise.
3735 (__gcov_merge_icall_topn): Likewise.
3736 (__gcov_indirect_call_topn_profiler): Likewise.
3737
34a4a9c2
IS
37382019-06-06 Iain Sandoe <iain@sandoe.co.uk>
3739
3740 * config/rs6000/t-darwin: Ensure that the unwinder is built with
3741 altivec enabled.
3742
d1b2f85f
JL
37432019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3744
3745 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3746 section.
3747 (__mspabi_slli): Likewise.
3748 (__mspabi_slll_n): Likewise.
3749 (__mspabi_slll): Likewise.
3750 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3751 (__mspabi_srai): Likewise.
3752 (__mspabi_sral_n): Likewise.
3753 (__mspabi_sral): Likewise.
3754 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3755 (__mspabi_srli): Likewise.
3756 (__mspabi_srll_n): Likewise.
3757 (__mspabi_srll): Likewise.
3758
e69a13d1
YS
37592019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
3760
3761 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3762 Add appropriate tm_file clause as well.
3763 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3764
b009eac1
JC
37652019-06-05 James Clarke <jrtc27@jrtc27.com>
3766
3767 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3768 rather than .data/.bss so it can be accessed via gp-relative
3769 addressing.
3770
781d39f2
DE
37712019-06-05 David Edelsohn <dje.gcc@gmail.com>
3772
3773 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3774 (CR2_REGNO): Rename to R_CR2.
3775 (XER_REGNO): Rename to R_XER.
3776 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3777 (VRSAVE_REGNO): Rename to R_VRSAVE.
3778 (VSCR_REGNO): R_VSCR.
3779
76aaa9cd
YS
37802019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
3781
3782 * config.host (rx-*-linux*): Add new case.
3783 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3784
8fc16d72
ST
37852019-05-29 Sam Tebbs <sam.tebbs@arm.com>
3786
3787 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3788 function.
3789 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3790 aarch64_post_frob_eh_handler_addr): Add check for b-key.
3791 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3792 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3793 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3794 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3795 string.
3796 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3797 string.
3798 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3799
e54b1a92
RO
38002019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3801
3802 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3803 Remove Solaris 9 and 10 support.
3804 (sparc_is_sighandler): Likewise.
3805
abbb8307
JDA
38062019-05-26 John David Anglin <danglin@gcc.gnu.org>
3807
3808 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3809
2581344d
L
38102019-05-17 H.J. Lu <hongjiu.lu@intel.com>
3811
3812 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3813 4_FP_W_TYPEs are used for IEEE quad precision.
3814 * soft-fp/extendhftf2.c: Likewise.
3815 * soft-fp/extendsftf2.c: Likewise.
3816 * soft-fp/extendxftf2.c: Likewise.
3817 * soft-fp/trunctfdf2.c: Likewise.
3818 * soft-fp/trunctfhf2.c: Likewise.
3819 * soft-fp/trunctfsf2.c: Likewise.
3820 * soft-fp/trunctfxf2.c: Likewise.
3821 * config/rs6000/ibm-ldouble.c: Likewise.
3822
ccd1242e
RO
38232019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3824
3825 * config.host: Simplify various *-*-solaris2.1[0-9]* to
3826 *-*-solaris2*.
3827 * configure.ac: Likewise.
3828 * configure: Regenerate.
3829
3830 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3831 Solaris 10 and Solaris 11 < snv_125 handling.
3832
ef5eb79d
IS
38332019-05-12 Iain Sandoe <iain@sandoe.co.uk>
3834
3835 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3836
4f0e90fa
HL
38372019-05-07 Hongtao Liu <hongtao.liu@intel.com>
3838
3839 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3840 * config/i386/cpuinfo.h (enum processor_features): Add
3841 FEATURE_AVX512BF16.
3842
48528842
RR
38432019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3844 Bernd Edlinger <bernd.edlinger@hotmail.de>
3845 Jakub Jelinek <jakub@redhat.com>
3846
3847 PR target/89093
3848 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3849 * config/arm/unwind-arm.c: Likewise.
3850 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3851 attribute for ARM.
3852
887e182f
MC
38532019-04-15 Monk Chiang <sh.chiang04@gmail.com>
3854
3855 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3856 (RT_SIGRETURN): Update.
3857 (nds32_fallback_frame_state): Update.
3858
a90b0cdd
MS
38592019-02-21 Martin Sebor <msebor@redhat.com>
3860
3861 * libgcc2.h (__clear_cache): Correct signature.
3862 * libgcc2.c (__clear_cache): Same.
3863
1ed28eda
UB
38642019-02-20 Uroš Bizjak <ubizjak@gmail.com>
3865
3866 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3867 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3868
fe95aee9
UB
38692019-02-19 Uroš Bizjak <ubizjak@gmail.com>
3870
3871 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3872 regno instead of index to DWARF_ZERO_REG.
3873
bf7988f1
EB
38742019-02-15 Eric Botcazou <ebotcazou@adacore.com>
3875
3876 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3877 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3878
ba2c1ca8
UB
38792019-01-31 Uroš Bizjak <ubizjak@gmail.com>
3880
3881 * config/alpha/t-linux: Add -mfp-rounding-mode=d
3882 to HOST_LIBGCC2_CFLAGS.
3883
6395ba73
L
38842019-01-23 Joseph Myers <joseph@codesourcery.com>
3885
3886 PR libgcc/88931
ba2c1ca8 3887 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 3888
756721ba
ML
38892019-01-18 Martin Liska <mliska@suse.cz>
3890
3891 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3892 to ...
3893 (__gcov_indirect_call_profiler_v3): ... this.
3894 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3895 (__gcov_indirect_call_profiler_v3): Likewise.
3896 * Makefile.in: Bump function name.
3897
d273c40a
ML
38982019-01-18 Martin Liska <mliska@suse.cz>
3899
3900 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3901 (gcov_version): Use in gcov_error.
3902 (merge_one_data): Likewise.
3903 (dump_one_gcov): Likewise.
3904
be9d9fdb
ML
39052019-01-18 Martin Liska <mliska@suse.cz>
3906
3907 * libgcov-driver.c (gcov_version_string): New function.
3908 (gcov_version): Convert version integer into string.
3909
91d7b7fe
AS
39102019-01-17 Andrew Stubbs <ams@codesourcery.com>
3911 Kwok Cheung Yeung <kcy@codesourcery.com>
3912 Julian Brown <julian@codesourcery.com>
3913 Tom de Vries <tom@codesourcery.com>
3914
3915 * config.host: Recognize amdgcn*-*-amdhsa.
3916 * config/gcn/crt0.c: New file.
3917 * config/gcn/lib2-divmod-hi.c: New file.
3918 * config/gcn/lib2-divmod.c: New file.
3919 * config/gcn/lib2-gcn.h: New file.
3920 * config/gcn/sfp-machine.h: New file.
3921 * config/gcn/t-amdgcn: New file.
3922
67914693
SL
39232019-01-09 Sandra Loosemore <sandra@codesourcery.com>
3924
3925 PR other/16615
3926
3927 * config/c6x/libunwind.S: Mechanically replace "can not" with
3928 "cannot".
3929 * config/tilepro/atomic.h: Likewise.
3930 * config/vxlib-tls.c: Likewise.
3931 * generic-morestack-thread.c: Likewise.
3932 * generic-morestack.c: Likewise.
3933 * mkmap-symver.awk: Likewise.
3934
a5544970
JJ
39352019-01-01 Jakub Jelinek <jakub@redhat.com>
3936
3937 Update copyright years.
3938
da77eace
L
39392018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3940
3941 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3942 to ignore -Waddress-of-packed-member.
3943
72e3a529
TP
39442018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
3945
3946 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3947 parameter and corresponding code.
3948 (ARM_FUNC_START): Likewise in both definitions.
3949 Also update footer comment about condition that need to match with
3950 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3951 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3952 defined. Weakly define it in this case.
3953 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3954 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3955 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3956 comment to keep condition in sync with the one in
3957 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3958
5d54c798
WX
39592018-12-18 Wei Xiao <wei3.xiao@intel.com>
3960
3961 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3962 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3963
5a2580b6
RV
39642018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3965
3966 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3967 and .cfi_endproc directives for VxWorks targets.
3968
c0c5112b
PK
39692018-12-05 Paul Koning <ni1d@arrl.net>
3970
3971 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3972
1ea7ea18
AM
39732018-11-27 Alan Modra <amodra@gmail.com>
3974
3975 * config/rs6000/morestack.S (__stack_split_initialize),
3976 (__morestack_get_guard, __morestack_set_guard),
3977 (__morestack_make_guard): Provide CFI covering these functions.
3978 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3979
ff641ae1
XQ
39802018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3981
1ea7ea18 3982 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
3983 (sc_pt_regs_lr): Update for kernel.
3984 (sc_pt_regs_tls): Update for kernel.
3985
28209372
XQ
39862018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3987
3988 * config/csky/linux-unwind.h: Fix coding style.
3989
b2a71af6
XQ
39902018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
3991
3992 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 3993 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
3994 instructions to adapt to changes in the kernel
3995
d929e137
SH
39962018-11-09 Stafford Horne <shorne@gmail.com>
3997 Richard Henderson <rth@twiddle.net>
3998
3999 * config.host: Add OpenRISC support.
4000 * config/or1k/*: New.
4001
222cfefa
KC
40022018-11-08 Kito Cheng <kito@andestech.com>
4003
4004 * soft-fp/adddf3.c: Update from glibc.
4005 * soft-fp/addsf3.c: Likewise.
4006 * soft-fp/addtf3.c: Likewise.
4007 * soft-fp/divdf3.c: Likewise.
4008 * soft-fp/divsf3.c: Likewise.
4009 * soft-fp/divtf3.c: Likewise.
4010 * soft-fp/double.h: Likewise.
4011 * soft-fp/eqdf2.c: Likewise.
4012 * soft-fp/eqsf2.c: Likewise.
4013 * soft-fp/eqtf2.c: Likewise.
4014 * soft-fp/extenddftf2.c: Likewise.
4015 * soft-fp/extended.h: Likewise.
4016 * soft-fp/extendhftf2.c: Likewise.
4017 * soft-fp/extendsfdf2.c: Likewise.
4018 * soft-fp/extendsftf2.c: Likewise.
4019 * soft-fp/extendxftf2.c: Likewise.
4020 * soft-fp/fixdfdi.c: Likewise.
4021 * soft-fp/fixdfsi.c: Likewise.
4022 * soft-fp/fixdfti.c: Likewise.
4023 * soft-fp/fixhfti.c: Likewise.
4024 * soft-fp/fixsfdi.c: Likewise.
4025 * soft-fp/fixsfsi.c: Likewise.
4026 * soft-fp/fixsfti.c: Likewise.
4027 * soft-fp/fixtfdi.c: Likewise.
4028 * soft-fp/fixtfsi.c: Likewise.
4029 * soft-fp/fixtfti.c: Likewise.
4030 * soft-fp/fixunsdfdi.c: Likewise.
4031 * soft-fp/fixunsdfsi.c: Likewise.
4032 * soft-fp/fixunsdfti.c: Likewise.
4033 * soft-fp/fixunshfti.c: Likewise.
4034 * soft-fp/fixunssfdi.c: Likewise.
4035 * soft-fp/fixunssfsi.c: Likewise.
4036 * soft-fp/fixunssfti.c: Likewise.
4037 * soft-fp/fixunstfdi.c: Likewise.
4038 * soft-fp/fixunstfsi.c: Likewise.
4039 * soft-fp/fixunstfti.c: Likewise.
4040 * soft-fp/floatdidf.c: Likewise.
4041 * soft-fp/floatdisf.c: Likewise.
4042 * soft-fp/floatditf.c: Likewise.
4043 * soft-fp/floatsidf.c: Likewise.
4044 * soft-fp/floatsisf.c: Likewise.
4045 * soft-fp/floatsitf.c: Likewise.
4046 * soft-fp/floattidf.c: Likewise.
4047 * soft-fp/floattihf.c: Likewise.
4048 * soft-fp/floattisf.c: Likewise.
4049 * soft-fp/floattitf.c: Likewise.
4050 * soft-fp/floatundidf.c: Likewise.
4051 * soft-fp/floatundisf.c: Likewise.
4052 * soft-fp/floatunditf.c: Likewise.
4053 * soft-fp/floatunsidf.c: Likewise.
4054 * soft-fp/floatunsisf.c: Likewise.
4055 * soft-fp/floatunsitf.c: Likewise.
4056 * soft-fp/floatuntidf.c: Likewise.
4057 * soft-fp/floatuntihf.c: Likewise.
4058 * soft-fp/floatuntisf.c: Likewise.
4059 * soft-fp/floatuntitf.c: Likewise.
4060 * soft-fp/gedf2.c: Likewise.
4061 * soft-fp/gesf2.c: Likewise.
4062 * soft-fp/getf2.c: Likewise.
4063 * soft-fp/half.h: Likewise.
4064 * soft-fp/ledf2.c: Likewise.
4065 * soft-fp/lesf2.c: Likewise.
4066 * soft-fp/letf2.c: Likewise.
4067 * soft-fp/muldf3.c: Likewise.
4068 * soft-fp/mulsf3.c: Likewise.
4069 * soft-fp/multf3.c: Likewise.
4070 * soft-fp/negdf2.c: Likewise.
4071 * soft-fp/negsf2.c: Likewise.
4072 * soft-fp/negtf2.c: Likewise.
4073 * soft-fp/op-1.h: Likewise.
4074 * soft-fp/op-2.h: Likewise.
4075 * soft-fp/op-4.h: Likewise.
4076 * soft-fp/op-8.h: Likewise.
4077 * soft-fp/op-common.h: Likewise.
4078 * soft-fp/quad.h: Likewise.
4079 * soft-fp/single.h: Likewise.
4080 * soft-fp/soft-fp.h: Likewise.
4081 * soft-fp/subdf3.c: Likewise.
4082 * soft-fp/subsf3.c: Likewise.
4083 * soft-fp/subtf3.c: Likewise.
4084 * soft-fp/truncdfsf2.c: Likewise.
4085 * soft-fp/trunctfdf2.c: Likewise.
4086 * soft-fp/trunctfhf2.c: Likewise.
4087 * soft-fp/trunctfsf2.c: Likewise.
4088 * soft-fp/trunctfxf2.c: Likewise.
4089 * soft-fp/unorddf2.c: Likewise.
4090 * soft-fp/unordsf2.c: Likewise.
4091 * soft-fp/unordtf2.c: Likewise.
4092
2901f42f
VK
40932018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
4094
4095 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
4096 * config/i386/cpuinfo.h (processor_types): Add znver2.
4097
4310ca66
PK
40982018-11-01 Paul Koning <ni1d@arrl.net>
4099
4100 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
4101 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
4102
22e05272
JM
41032018-10-31 Joseph Myers <joseph@codesourcery.com>
4104
4105 PR bootstrap/82856
4106 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
4107 * configure: Regenerate.
4108
8180cde0
CZ
41092018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
4110
4111 * config/arc/lib1funcs.S (_muldi3): New function.
4112 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
4113
be7b071e
RV
41142018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4115
4116 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
4117
3239d726
ML
41182018-10-25 Martin Liska <mliska@suse.cz>
4119
4120 PR other/87735
4121 * libgcov-profiler.c: Revert.
4122
19b55958
ML
41232018-10-24 Martin Liska <mliska@suse.cz>
4124
4125 * libgcov-profiler.c: Start from 1 in order to distinguish
4126 functions which were seen and these that were not.
4127
a9a2fddb
PK
41282018-10-18 Paul Koning <ni1d@arrl.net>
4129
4130 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
4131 standard.
4132 * divmod.c: Update references to __udivmodsi4.
4133 * udivmod.c: Ditto.
4134 * udivhi3.c: New file.
4135 * udivmodhi4.c: New file.
4136 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
4137
fc8abc46
RV
41382018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4139
4140 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
4141
87f918e3
OH
41422018-10-12 Olivier Hainque <hainque@adacore.com>
4143
4144 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
4145 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
4146
be86efa7
PK
41472018-10-08 Paul Koning <ni1d@arrl.net>
4148
4149 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
4150
3edbcdbe
ML
41512018-10-04 Martin Liska <mliska@suse.cz>
4152
4153 PR gcov-profile/84107
4154 * libgcov-profiler.c (__gcov_indirect_call):
4155 Change type to indirect_call_tuple.
4156 (struct indirect_call_tuple): New struct.
4157 (__gcov_indirect_call_topn_profiler): Change type.
4158 (__gcov_indirect_call_profiler_v2): Use the new
4159 variables.
4160 * libgcov.h (struct indirect_call_tuple): New struct
4161 definition.
4162
af8096fc
UB
41632018-10-03 Uros Bizjak <ubizjak@gmail.com>
4164
4165 * libgcc2.c (isnan): Use __builtin_isnan.
4166 (isfinite): Use __builtin_isfinite.
4167 (isinf): Use __builtin_isinf.
4168
0a76bba4
UB
41692018-09-26 Uros Bizjak <ubizjak@gmail.com>
4170
4171 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
4172
5244089f
OH
41732018-09-21 Alexandre Oliva <oliva@adacore.com>
4174
4175 * config/vxcache.c: New file. Provide __clear_cache, based on
4176 the cacheTextUpdate VxWorks service.
4177 * config/t-vxworks (LIB2ADD): Add vxcache.c.
4178 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
4179 * config/t-vxwoks7: Likewise.
4180
512cc015
ML
41812018-09-21 Martin Liska <mliska@suse.cz>
4182
4183 * libgcov-driver.c (crc32_unsigned): Remove.
4184 (gcov_histogram_insert): Likewise.
4185 (gcov_compute_histogram): Likewise.
4186 (compute_summary): Simplify rapidly.
4187 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
4188 (merge_summary): Rapidly simplify.
4189 (dump_one_gcov): Ignore gcov_summary.
4190 (gcov_do_dump): Do not handle program summary, it's not
4191 used.
4192 * libgcov-util.c (tag_summary): Remove.
4193 (read_gcda_finalize): Fix coding style.
4194 (read_gcda_file): Initialize curr_object_summary.
4195 (compute_summary): Remove.
4196 (calculate_overlap): Remove settings of run_max.
4197
36ff254b
MC
41982018-09-21 Monk Chiang <sh.chiang04@gmail.com>
4199
4200 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
4201 ucontext_t type instead.
4202 (nds32_fallback_frame_state): Remove struct _sigframe statement.
4203
229a033d
KC
42042018-09-21 Kito Cheng <kito.cheng@gmail.com>
4205
4206 * config/nds32/t-nds32-glibc: New file.
4207
53c6feb2
RO
42082018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4209
4210 * configure.ac (solaris_ld_v2_maps): New test.
4211 * configure: Regenerate.
4212 * Makefile.in (solaris_ld_v2_maps): New variable.
4213 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
4214 if supported.
4215
ebdb6f23
RE
42162018-08-23 Richard Earnshaw <rearnsha@arm.com>
4217
4218 PR target/86951
4219 * config/arm/lib1funcs.asm (speculation_barrier): New function.
4220 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
4221 to build.
4222
a49c064e
IS
42232018-08-22 Iain Sandoe <iain@sandoe.co.uk>
4224
1ea7ea18 4225 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
4226 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
4227 * config/darwin10-unwind-find-enc-func.c: … to here.
4228 * config/t-darwin: Build Darwin10 unwinder shim crt.
4229 * libgcc/config.host: Add the Darwin10 unwinder shim.
4230
9a5b8df7
RV
42312018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4232
4233 * config.host: Add crtbegin.o and crtend.o for
4234 powerpc-wrs-vxworks target.
4235
4cd0bc3b
J
42362018-08-17 Jojo <jijie_rong@c-sky.com>
4237 Huibin Wang <huibin_wang@c-sky.com>
4238 Sandra Loosemore <sandra@codesourcery.com>
4239 Chung-Lin Tang <cltang@codesourcery.com>
4240
4241 C-SKY port: libgcc
4242
4243 * config.host: Add C-SKY support.
4244 * config/csky/*: New.
4245
a4931745
CJW
42462018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
4247
4248 * config/nds32/t-nds32-isr: Rearrange object dependency.
4249 * config/nds32/initfini.c: Add dwarf2 unwinding support.
4250 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
4251 and registers usage.
4252 * config/nds32/isr-library/excp_isr.S: Ditto.
4253 * config/nds32/isr-library/intr_isr.S: Ditto.
4254 * config/nds32/isr-library/reset.S: Ditto.
4255 * config/nds32/isr-library/restore_all.inc: Ditto.
4256 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
4257 * config/nds32/isr-library/restore_partial.inc: Ditto.
4258 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
4259 * config/nds32/isr-library/save_all.inc: Ditto.
4260 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
4261 * config/nds32/isr-library/save_partial.inc: Ditto.
4262 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
4263 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
4264
2b1969f6
JDA
42652018-08-11 John David Anglin <danglin@gcc.gnu.org>
4266
4267 * config/pa/linux-atomic.c: Update comment.
4268 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
4269 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
4270 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
4271 __ATOMIC_RELAXED for atomic loads.
4272 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
4273 unordered store to release lock.
4274 (__sync_lock_release_8): Likewise.
4275 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 4276
89fff9cc
NP
42772018-08-02 Nicolas Pitre <nico@fluxnic.net>
4278
4279 PR libgcc/86512
4280 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
4281 exponent goes negative. Update my email address.
4282 * config/arm/ieee754-sf.S: Likewise.
4283
fd2e1dcd
ML
42842018-08-01 Martin Liska <mliska@suse.cz>
4285
4286 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 4287 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 4288
b7415975
CL
42892018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
4290
4291 * config/arm/ieee754-df.S: Fix comment for code working on
4292 architectures >= 4.
4293 * config/arm/ieee754-sf.S: Likewise.
4294
b72e71a3
L
42952018-07-27 H.J. Lu <hongjiu.lu@intel.com>
4296
4297 PR libgcc/85334
4298 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4299 Removed.
4300
1c686aa4
JC
43012018-07-05 James Clarke <jrtc27@jrtc27.com>
4302
4303 * configure: Regenerated.
4304
b61c9b99
RO
43052018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4306
4307 * Makefile.in (install_leaf): Use enable_gcov instead of
4308 enable_libgcov.
4309
1765b023
RV
43102018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4311
4312 * configure.ac: Add --disable-gcov option.
4313 * configure: Regenerate.
4314 * Makefile.in: Honour @enable_gcov@.
4315
9b2e34ef
CL
43162018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
4317
4318 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
4319 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
4320 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
4321 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
4322 __ARM_ARCH__.
4323 * config/arm/ieee754-sf.S: Likewise.
4324 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
4325
d1b0dd54
CL
43262018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
4327
4328 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
4329 longer supported.
4330 * config/arm/ieee754-sf.S: Likewise.
4331
1f3fa525
TM
43322018-06-20 Than McIntosh <thanm@google.com>
4333
4334 PR libgcc/86213
4335 * generic-morestack.c (allocate_segment): Move calls to getenv and
4336 getpagesize to __morestack_load_mmap.
4337 (__morestack_load_mmap) Initialize static_pagesize and
4338 use_guard_page here so as to avoid clobbering SSE regs during a
4339 __morestack call.
4340
6a8886e4
MM
43412018-06-18 Michael Meissner <meissner@linux.ibm.com>
4342
4343 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
4344 support modules with -mno-gnu-attribute.
4345 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
4346
fb997097
OH
43472018-06-07 Olivier Hainque <hainque@adacore.com>
4348
4349 * config/t-vxworks (LIBGCC_INCLUDES): Add
4350 -I$(MULTIBUILDTOP)../../gcc/include.
4351 * config/t-vxworks7: Likewise. Reformat a bit to match
4352 the t-vxworks layout.
4353
a548a5a1
OM
43542018-06-07 Olga Makhotina <olga.makhotina@intel.com>
4355
4356 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
4357
244aebfd
ML
43582018-06-07 Martin Liska <mliska@suse.cz>
4359
4360 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 4361 all_prg.
244aebfd 4362
6c086e8c
ML
43632018-06-07 Martin Liska <mliska@suse.cz>
4364
92a285c1 4365 PR bootstrap/86057
6c086e8c 4366 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 4367 memcpy instead of mempcpy.
6c086e8c 4368 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 4369 prefix and set it.
6c086e8c 4370 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 4371 here and properly copy content into it.
6c086e8c 4372 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 4373 field, change prefix from size_t into char *.
6c086e8c
ML
4374 (compute_summary): Do not calculate longest filename.
4375 (gcov_do_dump): Release memory of gf.filename after each file.
4376 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 4377 compute_summary.
6c086e8c
ML
4378 (calculate_overlap): Likewise.
4379
97a53d1d
ML
43802018-06-05 Martin Liska <mliska@suse.cz>
4381
4382 PR gcov-profile/47618
4383 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 4384 function.
97a53d1d
ML
4385 (gcov_exit_open_gcda_file): Use it.
4386
7f3577f5
ML
43872018-06-05 Martin Liska <mliska@suse.cz>
4388
4389 * libgcov-driver.c (gcov_compute_histogram): Remove usage
4390 of gcov_ctr_summary.
4391 (compute_summary): Do it just for a single summary.
4392 (merge_one_data): Likewise.
4393 (merge_summary): Simplify as we read just single summary.
4394 (dump_one_gcov): Pass proper argument.
4395 * libgcov-util.c (compute_one_gcov): Simplify as we have just
4396 single summary.
4397 (gcov_info_count_all_cold): Likewise.
4398 (calculate_overlap): Likewise.
4399
cf3cd43d
CJW
44002018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
4401 Monk Chiang <sh.chiang04@gmail.com>
4402
4403 * config.host (nds32*-linux*): New.
4404 * config/nds32/linux-atomic.c: New file.
4405 * config/nds32/linux-unwind.h: New file.
4406
8b8003ed
UB
44072018-05-31 Uros Bizjak <ubizjak@gmail.com>
4408
4409 PR target/85591
4410 * config/i386/cpuinfo.c (get_amd_cpu): Return
4411 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
4412
bbdf026f
RV
44132018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
4414
92a285c1 4415 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 4416
0e8f29da
ML
44172018-05-29 Martin Liska <mliska@suse.cz>
4418
92a285c1 4419 PR gcov-profile/85759
0e8f29da 4420 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 4421 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 4422 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 4423 overwrite a gcov file with a different timestamp.
0e8f29da 4424
54fd1590
K
44252018-05-23 Kalamatee <kalamatee@gmail.com>
4426
4427 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
4428 path to Lf$finfty.
4429
09baee1a
KC
44302018-05-18 Kito Cheng <kito.cheng@gmail.com>
4431 Monk Chiang <sh.chiang04@gmail.com>
4432 Jim Wilson <jimw@sifive.com>
4433
4434 * config/riscv/save-restore.S: Add support for rv32e.
4435
c3f808d3
KT
44362018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4437
4438 * config/arm/libunwind.S: Update comment relating to armv5.
4439
fcf4f831
JL
44402018-05-17 Jerome Lambourg <lambourg@adacore.com>
4441
4442 * config/arm/cmse.c (cmse_check_address_range): Replace
4443 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
4444
74b2bb19
OM
44452018-05-17 Olga Makhotina <olga.makhotina@intel.com>
4446
4447 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
4448 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
4449
50e461df
OM
44502018-05-08 Olga Makhotina <olga.makhotina@intel.com>
4451
4452 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
4453 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
4454
e5f1cdb1
AC
44552018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
4456
4457 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
4458
8f479d7a
AT
44592018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
4460 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
4461
4462 PR libgcc/84292
4463 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
4464 op_and_fetch to return the right result.
4465
ae043291
AM
44662018-04-27 Alan Modra <amodra@gmail.com>
4467
4468 PR libgcc/85532
4469 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
4470 -fno-asynchronous-unwind-tables.
4471
ba169b74
CJW
44722018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
4473
4474 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
4475 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
4476
ffc2fc06
L
44772018-04-24 H.J. Lu <hongjiu.lu@intel.com>
4478
4479 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
4480 when including "config/i386/shadow-stack-unwind.h".
4481
7b47ecf2
L
44822018-04-24 H.J. Lu <hongjiu.lu@intel.com>
4483
4484 * configure: Regenerated.
4485
661eb8f9
MM
44862018-04-20 Michael Meissner <meissner@linux.ibm.com>
4487
4488 PR target/85456
4489 * config/rs6000/_powikf2.c: New file. Add support for the
4490 __builtin_powil function when long double is IEEE 128-bit floating
4491 point.
4492 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
4493 __powikf2 support.
4494 (__powikf2): Likewise.
4495 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
4496 (__powikf2_hw): Likewise.
4497 (__powikf2): Likewise.
4498 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
4499 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
4500 (_powikf2-hw.c): Likewise.
4501
5707be3c
L
45022018-04-19 H.J. Lu <hongjiu.lu@intel.com>
4503
4504 PR libgcc/85334
4505 * unwind-generic.h (_Unwind_Frames_Increment): New.
4506 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4507 Likewise.
4508 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
4509 count with _Unwind_Frames_Increment.
4510 (_Unwind_ForcedUnwind_Phase2): Likewise.
4511
5f9ca0b8
L
45122018-04-19 H.J. Lu <hongjiu.lu@intel.com>
4513
4514 PR libgcc/85379
4515 * config/i386/morestack.S (__stack_split_initialize): Add
4516 _CET_ENDBR.
4517
a0e1df88
JJ
45182018-04-19 Jakub Jelinek <jakub@redhat.com>
4519
4520 * configure: Regenerated.
4521
001ddaa8
DM
45222018-04-18 David Malcolm <dmalcolm@redhat.com>
4523
4524 PR jit/85384
4525 * configure: Regenerate.
4526
a57f99ba
JJ
45272018-04-16 Jakub Jelinek <jakub@redhat.com>
4528
4529 PR target/84945
4530 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
4531 -Wdangling-else warnings. Mask shift counts to avoid
4532 -Wshift-count-negative and -Wshift-count-overflow false positives.
4533
4d47fe5a
RB
45342018-04-06 Ruslan Bukin <br@bsdpad.com>
4535
4536 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
4537
059cc8ac
L
45382018-03-29 H.J. Lu <hongjiu.lu@intel.com>
4539
4540 PR target/85100
4541 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
4542 (XSTATE_FP): Likewise.
4543 (XSTATE_SSE): Likewise.
4544 (XSTATE_YMM): Likewise.
4545 (XSTATE_OPMASK): Likewise.
4546 (XSTATE_ZMM): Likewise.
4547 (XSTATE_HI_ZMM): Likewise.
4548 (XCR_AVX_ENABLED_MASK): Likewise.
4549 (XCR_AVX512F_ENABLED_MASK): Likewise.
4550 (get_available_features): Enable AVX and AVX512 features only
4551 if their states are supported by OSXSAVE.
4552
f2620385
IT
45532018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4554
4555 PR target/85025
4556 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4557 Fix a typo, tmp => 255.
4558
ae6dca8c
JJ
45592018-03-20 Jakub Jelinek <jakub@redhat.com>
4560
4561 PR target/84945
4562 * config/i386/cpuinfo.h (__cpu_features2): Declare.
4563 * config/i386/cpuinfo.c (__cpu_features2): New variable for
4564 ifndef SHARED only.
4565 (set_feature): Define.
4566 (get_available_features): Use set_feature macro. Set __cpu_features2
4567 to the second word of features ifndef SHARED.
4568
c36b04c1
JK
45692018-03-15 Julia Koval <julia.koval@intel.com>
4570
4571 * config/i386/cpuinfo.c (get_available_features): Add
4572 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
4573 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
4574 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
4575 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
4576 FEATURE_AVX512BITALG.
4577
79ab5364
JK
45782018-03-14 Julia Koval <julia.koval@intel.com>
4579
4580 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
4581 icelake client and icelake server.
4582
66a00b11
JDA
45832018-03-06 John David Anglin <danglin@gcc.gnu.org>
4584
4585 * config/pa/fptr.c (_dl_read_access_allowed): New.
4586 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 4587
ce579a4f
JJ
45882018-02-28 Jakub Jelinek <jakub@redhat.com>
4589
4590 PR debug/83917
4591 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
4592 $asm_hidden_op if visibility ("hidden") attribute works.
4593 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
4594 * config/i386/i386-asm.h: Don't include auto-host.h.
4595 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
4596 PACKAGE_URL): Don't undefine.
4597 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
4598 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
4599 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
4600 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
4601 definition instead of hardcoded .hidden.
4602 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
4603 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
4604 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
4605 (USE_GAS_CFI_DIRECTIVES): Don't define.
4606 * configure: Regenerated.
4607 * config.in: Likewise.
4608
e5868319
JJ
46092018-02-26 Jakub Jelinek <jakub@redhat.com>
4610
4611 PR debug/83917
4612 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
4613 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
4614 inclusion of auto-target.h and auto-host.h.
4615 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
4616 __GCC_HAVE_DWARF2_CFI_ASM.
4617 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4618 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
4619 cfi_pop): Define.
4620 * config/i386/cygwin.S: Don't include auto-host.h here, just
4621 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
4622 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4623 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
4624 * config/i386/resms64fx.h: Add cfi_* directives.
4625 * config/i386/resms64x.h: Likewise.
4626
faef260e
MF
46272018-02-20 Max Filippov <jcmvbkbc@gmail.com>
4628
4629 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4630 .literal_position directive.
4631 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
4632
14e335ed
IT
46332018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4634
4635 PR target/84148
4636 * configure: Regenerate.
4637
95df0433
IT
46382018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4639
4640 PR target/84239
4641 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4642 Include cetintrin.h not x86intrin.h.
4643
f8de876d
IT
46442018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4645
4646 PR target/84239
95df0433 4647 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
4648 Use new _get_ssp and _inc_ssp intrinsics.
4649
02da1e9c
JK
46502018-02-02 Julia Koval <julia.koval@intel.com>
4651
4652 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4653
048c6a9a
CZ
46542018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4655
4656 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4657 option.
4658 (__divsi3): Use RF16 safe registers.
4659 (__modsi3): Likewise.
4660
0889f168
MF
46612018-01-23 Max Filippov <jcmvbkbc@gmail.com>
4662
4663 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4664 (__divsf3): Make NaN return value quiet.
4665 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4666 (__divdf3): Make NaN return value quiet.
4667
bc8b0d04
SP
46682018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4669
4670 * config/rl78/anddi3.S: New assembly file.
4671 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4672
99cc06ea
SP
46732018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4674
4675 * config/rl78/umindi3.S: New assembly file.
4676 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4677
6e9007a0
SP
46782018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4679
4680 * config/rl78/smindi3.S: New assembly file.
4681 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4682
d975e494 46832018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 4684
d975e494
SP
4685 * config/rl78/smaxdi3.S: New assembly file.
4686 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4687
6a18c146 46882018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 4689
5dd16013
SP
4690 * config/rl78/umaxdi3.S: New assembly file.
4691 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 4692
07baf4a5
JDA
46932018-01-21 John David Anglin <danglin@gcc.gnu.org>
4694
4695 PR lto/83452
4696 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4697 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 4698
dbc3af4f
RS
46992018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
4700
4701 * config/aarch64/value-unwind.h (aarch64_vg): New function.
4702 (DWARF_LAZY_REGISTER_VALUE): Define.
4703 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4704 to provide a fallback register value.
4705
68df9882
MM
47062018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
4707
4708 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4709 __ibm128, instead of trying to use long double.
4710 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4711 accomidate -mabi=ieeelongdouble multilibs.
4712 (CVT_IBM128_TO_FLOAT128): Likewise.
4713 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4714 the appropriate IBM extended double type.
4715 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4716 (__gcc_qsub): Likewise.
4717 (__gcc_qmul): Likewise.
4718 (__gcc_qdiv): Likewise.
4719 (pack_ldouble): Likewise.
4720 (__gcc_qneg): Likewise.
4721 (__gcc_qeq): Likewise.
4722 (__gcc_qne): Likewise.
4723 (__gcc_qge): Likewise.
4724 (__gcc_qle): Likewise.
4725 (__gcc_stoq): Likewise.
4726 (__gcc_dtoq): Likewise.
4727 (__gcc_itoq): Likewise.
4728 (__gcc_utoq): Likewise.
4729 (__gcc_qunord): Likewise.
4730 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4731 quad-float128.h for the definitions.
4732 (COPYSIGN): Use the f128 version instead of the q version.
4733 (INFINITY): Likewise.
4734 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4735 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4736 quad-float128.h for the definitions.
4737 (COPYSIGN): Use the f128 version instead of the q version.
4738 (INFINITY): Likewise.
4739 (FABS): Likewise.
4740 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4741 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4742 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4743
64b371b1
SH
47442018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
4745
4746 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4747 configuration.
4748
85ec4feb
JJ
47492018-01-03 Jakub Jelinek <jakub@redhat.com>
4750
4751 Update copyright years.
4752
47532017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
4754
4755 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4756 * config/riscv/multi3.c: New file.
4757 * config/riscv/multi3.S: Remove.
4758
3a4c600f
JW
47592017-12-08 Jim Wilson <jimw@sifive.com>
4760
4761 * config/riscv/div.S: Use FUNC_* macros.
4762 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4763 * config/riscv/save-restore.S: Likewise.
4764 * config/riscv/riscv-asm.h: New.
4765
75ad35b5
MM
47662017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
4767
6ae3512c
MM
4768 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4769 * config/rs6000/_divkc3.c (__divkc3): Likewise.
4770
75ad35b5
MM
4771 PR libgcc/83112
4772 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4773 correct type for all ifunc resolvers to silence -Wattribute-alias
4774 warnings. Eliminate the forward declaration of the resolver
4775 functions which is no longer needed.
4776 (__subkf3_resolve): Likewise.
4777 (__mulkf3_resolve): Likewise.
4778 (__divkf3_resolve): Likewise.
4779 (__negkf2_resolve): Likewise.
4780 (__eqkf2_resolve): Likewise.
4781 (__nekf2_resolve): Likewise.
4782 (__gekf2_resolve): Likewise.
4783 (__gtkf2_resolve): Likewise.
4784 (__lekf2_resolve): Likewise.
4785 (__ltkf2_resolve): Likewise.
4786 (__unordkf2_resolve): Likewise.
4787 (__extendsfkf2_resolve): Likewise.
4788 (__extenddfkf2_resolve): Likewise.
4789 (__trunckfsf2_resolve): Likewise.
4790 (__trunckfdf2_resolve): Likewise.
4791 (__fixkfsi_resolve): Likewise.
4792 (__fixkfdi_resolve): Likewise.
4793 (__fixunskfsi_resolve): Likewise.
4794 (__fixunskfdi_resolve): Likewise.
4795 (__floatsikf_resolve): Likewise.
4796 (__floatdikf_resolve): Likewise.
4797 (__floatunsikf_resolve): Likewise.
4798 (__floatundikf_resolve): Likewise.
4799 (__extendkftf2_resolve): Likewise.
4800 (__trunctfkf2_resolve): Likewise.
4801
4802 PR libgcc/83103
4803 * config/rs6000/quad-float128.h (TF): Don't define if long double
4804 is IEEE 128-bit floating point.
4805 (TCtype): Define as either TCmode or KCmode, depending on whether
4806 long double is IEEE 128-bit floating point.
4807 (__mulkc3_sw): Add declarations for software/hardware versions of
4808 complex multiply/divide.
4809 (__divkc3_sw): Likewise.
4810 (__mulkc3_hw): Likewise.
4811 (__divkc3_hw): Likewise.
4812 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4813 handlers to switch between using software emulation and hardware
4814 float128 instructions, build the complex multiply/divide functions
4815 for both software and hardware support.
4816 * config/rs6000/_divkc3.c (_divkc3): Likewise.
4817 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4818 (__divkc3_resolve): Likewise.
4819 (__mulkc3): Likewise.
4820 (__divkc3): Likewise.
4821 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4822 (fp128_hw_src): Likewise.
4823 (fp128_hw_static_obj): Likewise.
4824 (fp128_hw_shared_obj): Likewise.
4825 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4826 _mulkc3.c and _divkc3.c, changing the function name.
4827 (_divkc3-hw.c): Likewise.
4828 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4829 and _divkc3-hw.c.
4830
c234d831
UB
48312017-11-26 Julia Koval <julia.koval@intel.com>
4832
4833 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4834 * config/i386/cpuinfo.h (processor_subtypes): Add
4835 INTEL_COREI7_CANNONLAKE.
4836
1ebafce0
IT
48372017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4838
4839 PR bootstrap/83015
4840 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4841 parameter.
4842 * config/xtensa/unwind-dw2-xtensa.c: Likewise
4843 * config/ia64/unwind-ia64.c: Add frames parameter.
4844 * unwind-sjlj.c: Likewise.
4845
6a10fff4
IT
48462017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4847
4848 * config/i386/linux-unwind.h: Include
4849 config/i386/shadow-stack-unwind.h.
4850 * config/i386/shadow-stack-unwind.h: New file.
4851 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4852 pass it to _Unwind_Frames_Extra.
4853 * unwind-generic.h (_Unwind_Frames_Extra): New.
4854 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4855 parameter. Add local variable frames to count number of frames.
4856 (_Unwind_ForcedUnwind_Phase2): Likewise.
4857 (_Unwind_RaiseException): Add local variable frames to count
4858 number of frames, pass it to _Unwind_RaiseException_Phase2 and
4859 uw_install_context.
4860 (_Unwind_ForcedUnwind): Likewise.
4861 (_Unwind_Resume): Likewise.
4862 (_Unwind_Resume_or_Rethrow): Likewise.
4863
1ecae1fc
IT
48642017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4865
4866 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4867 (CET_FLAGS): New.
4868 * config/i386/morestack.S: Include <cet.h>.
4869 (__morestack_large_model): Add _CET_ENDBR at function entrance.
4870 * config/i386/resms64.h: Include <cet.h>.
4871 * config/i386/resms64f.h: Likewise.
4872 * config/i386/resms64fx.h: Likewise.
4873 * config/i386/resms64x.h: Likewise.
4874 * config/i386/savms64.h: Likewise.
4875 * config/i386/savms64f.h: Likewise.
4876 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4877 (CRTSTUFF_T_CFLAGS): Likewise.
4878 * configure.ac: Include ../config/cet.m4.
4879 Set and substitute CET_FLAGS.
4880 * configure: Regenerated.
4881
f021f1d3
RO
48822017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4883
4884 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4885 renaming.
4886 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4887 * configure.ac (libgcc_cv_solaris_crts): Likewise.
4888 * configure: Regenerate.
4889
65f480c7
TV
48902017-11-07 Tom de Vries <tom@codesourcery.com>
4891
4892 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4893 after "do {} while (0)".
4894
2a321acb
TV
48952017-11-07 Tom de Vries <tom@codesourcery.com>
4896
4897 PR other/82784
4898 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4899 semicolon after "do {} while (0)".
4900 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4901 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4902 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4903 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4904
59fcf6c3
AT
49052017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
4906
4907 PR libgcc/82635
4908 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4909 sysctl to determine whether we're in a trampoline.
4910 Keep the pattern matching method for systems without
4911 KERN_PROC_SIGTRAMP sysctl.
4912
b0c7ddf8
CM
49132017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
4914 Vineet Gupta <vgupta@synopsys.com>
4915
4916 * config.host (arc*-*-linux*): Set md_unwind_header variable.
4917 * config/arc/linux-unwind-reg.def: New file.
4918 * config/arc/linux-unwind-reg.h: Likewise.
4919
5feee954
SP
49202017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
4921
4922 * config/rl78/subdi3.S: New assembly file.
4923 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4924
a0bf6cf7
SP
49252017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
4926
4927 * config/rl78/adddi3.S: New assembly file.
4928 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4929
e7176f75
JJ
49302017-10-13 Jakub Jelinek <jakub@redhat.com>
4931
4932 PR target/82274
4933 * libgcc2.c (__mulvDI3): If both operands have
4934 the same highpart of -1 and the topmost bit of lowpart is 0,
4935 multiplication overflows even if both lowparts are 0.
4936
db6601d2
JB
49372017-09-28 James Bowman <james.bowman@ftdichip.com>
4938
4939 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4940
938b6f1e
JM
49412017-09-26 Joseph Myers <joseph@codesourcery.com>
4942
4943 * config/microblaze/crti.S, config/microblaze/crtn.S,
4944 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4945 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4946 config/microblaze/mulsi3.S,
4947 config/microblaze/stack_overflow_exit.S,
4948 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4949 config/pa/milli64.S: Add .note.GNU-stack section.
4950
89762a83
DS
49512017-09-23 Daniel Santos <daniel.santos@pobox.com>
4952
4953 * configure.ac: Add Check for HAVE_AS_AVX.
4954 * config.in: Regenerate.
4955 * configure: Likewise.
4956 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4957 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4958 Correct out-of-date comments.
4959
cace2309
SP
49602017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
4961
4962 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4963 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4964
3cb626e4
DS
49652017-09-17 Daniel Santos <daniel.santos@pobox.com>
4966
cace2309 4967 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
4968 (ASMNAME): Modify to use PASTE2.
4969 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4970 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 4971 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 4972 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
4973 * config/i386/resms64f.S: Likewise.
4974 * config/i386/resms64fx.S: Likewise.
4975 * config/i386/resms64x.S: Likewise.
4976 * config/i386/savms64.S: Likewise.
4977 * config/i386/savms64f.S: Likewise.
4978 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 4979 includes it's corresponding header file.
cace2309
SP
4980 * config/i386/avx_resms64f.S: Likewise.
4981 * config/i386/avx_resms64fx.S: Likewise.
4982 * config/i386/avx_resms64x.S: Likewise.
4983 * config/i386/avx_savms64.S: Likewise.
4984 * config/i386/avx_savms64f.S: Likewise.
4985 * config/i386/sse_resms64.S: Likewise.
4986 * config/i386/sse_resms64f.S: Likewise.
4987 * config/i386/sse_resms64fx.S: Likewise.
4988 * config/i386/sse_resms64x.S: Likewise.
4989 * config/i386/sse_savms64.S: Likewise.
4990 * config/i386/sse_savms64f.S: Likewise.
4991 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 4992
2f19c491 49932017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
4994 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4995
611e7036
OH
49962017-08-31 Olivier Hainque <hainque@adacore.com>
4997
4998 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4999 match as powerpc-wrs-vxworks*.
5000
c8f34527
JY
50012017-08-07 Jonathan Yong <10walls@gmail.com>
5002
5003 * config.host (*-cygwin): Include file from mingw
5004 config/i386/enable-execute-stack-mingw32.c
5005
0b458d2b 50062017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
5007 Doug Rupp <rupp@adacore.com>
5008 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
5009
5010 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
5011 as well as arm-wrs-vxworks.
5012 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
5013 LIB2ADDEH.
5014 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
5015 __exidx_start and __exidx_end for downloadable modules.
5016
4df612fa
OH
50172017-08-01 Olivier Hainque <hainque@adacore.com>
5018
5019 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
5020 * config/t-vxworks7: Likewise.
5021
5560e8c0
OH
50222017-08-01 Olivier Hainque <hainque@adacore.com>
5023
5024 * config/t-vxworks: Instead of redefining LIB2ADD,
5025 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
5026
16bab95a
SH
50272017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
5028
5029 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
5030
9cbc07cc
DS
50312017-07-24 Daniel Santos <daniel.santos@pobox.com>
5032
5033 PR testsuite/80759
5034 * config.host: include i386/t-msabi for darwin and solaris.
5035 * config/i386/i386-asm.h
5036 (ELFFN): Rename to FN_TYPE.
5037 (FN_SIZE): New macro.
5038 (FN_HIDDEN): Likewise.
5039 (ASMNAME): Likewise.
5040 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
5041 .globl.
5042 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
5043 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
5044 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
5045 .macro.
5046 * config/i386/resms64f.S: Likewise.
5047 * config/i386/resms64fx.S: Likewise.
5048 * config/i386/resms64x.S: Likewise.
5049 * config/i386/savms64.S: Likewise.
5050 * config/i386/savms64f.S: Likewise.
5051
de742204
JM
50522017-07-19 John Marino <gnugcc@marino.st>
5053
5054 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
5055
3787ee47
MM
50562017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
5057
5058 PR target/81193
5059 * configure.ac (PowerPC float128 hardware support): Test whether
5060 we can use __builtin_cpu_supports before enabling the ifunc
5061 handler.
5062 * configure: Regenerate.
5063
b1938888
VG
50642017-07-10 Vineet Gupta <vgupta@synopsys.com>
5065
5066 * config.host: Remove uclibc from arc target spec.
5067
bec75e53
KW
50682017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
5069
5070 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
5071
d4391a62
PB
50722017-07-07 Peter Bergner <bergner@vnet.ibm.com>
5073
5074 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
5075 (have_ieee_hw_p): Delete function.
5076 (SW_OR_HW) Use __builtin_cpu_supports().
5077
9296dd9b
TP
50782017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5079
5080 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
5081
b85a969e
OH
50822017-07-03 Olivier Hainque <hainque@adacore.com>
5083
d4391a62 5084 * config/t-vxworks7: New file, really.
b85a969e 5085
883312dc
JM
50862017-06-28 Joseph Myers <joseph@codesourcery.com>
5087
5088 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
5089 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
5090 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
5091 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
5092 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
5093 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
5094 config/pa/linux-unwind.h (pa32_fallback_frame_state),
5095 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
5096 config/sh/linux-unwind.h (sh_fallback_frame_state),
5097 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
5098 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
5099 ucontext_t instead of struct ucontext.
5100
50567938
JL
51012017-06-27 Jerome Lambourg <lambourg@adacore.com>
5102
5103 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
5104 (x86_64-wrs-vxworks7): Likewise.
5105
e4b0df93
OH
51062017-06-27 Olivier Hainque <hainque@adacore.com>
5107
5108 * config/t-vxworks7: New file.
5109 * config.host (*-*-vxworks7): Use it.
5110
60edf8bb
MT
51112017-06-22 Matt Turner <mattst88@gmail.com>
5112
5113 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
5114 skylake case.
5115
a51a76e5
RB
51162017-06-21 Richard Biener <rguenther@suse.de>
5117
5118 PR gcov-profile/81080
5119 * configure.ac: Add AC_SYS_LARGEFILE.
5120 * libgcov.h: Include auto-target.h before tsystem.h to pick
5121 up _FILE_OFFSET_BITS which might differ for multilibs.
5122 * config.in: Regenerate.
5123 * configure: Likewise.
5124
f0cd49c5
RE
51252017-06-16 Richard Earnshaw <rearnsha@arm.com>
5126
5127 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
5128
4f751c54
ML
51292017-06-09 Martin Liska <mliska@suse.cz>
5130
5131 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
5132 Reset __gcov_indirect_call_callee to NULL.
5133
1ac644c8
OH
51342017-06-08 Olivier Hainque <hainque@adacore.com>
5135
5136 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
5137 the set of -I options, support for direct inclusions of net/uio.h
5138 by VxWorks header files via ioLib.h.
5139
d8b9cd27
TR
51402017-06-07 Tony Reix <tony.reix@atos.net>
5141 Matthieu Sarter <matthieu.sarter.external@atos.net>
5142 David Edelsohn <dje.gcc@gmail.com>
5143
92a285c1
ML
5144 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
5145 unconditionally.
5146 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
5147 AIX 7.2 support.
d8b9cd27 5148
38a75ccc
OH
51492017-06-02 Olivier Hainque <hainque@adacore.com>
5150
5151 * config/vxlib.c (__gthread_once): Add missing value to
5152 return statement.
5153
5b2edf53
OH
51542017-05-30 Olivier Hainque <hainque@adacore.com>
5155
5156 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
5157 dollar sign before $(MULTIDIR).
5158
7d66e265
RH
51592017-05-26 Richard Henderson <rth@redhat.com>
5160
5161 PR libgcc/80037
5162 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
5163
78eca309
AT
51642017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
5165
5166 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
5167 _Unwind_SetIP available as functions for arm*-*-freebsd*.
5168 * config/arm/unwind-arm.c: Implement the above.
5169
c39d309a
AZ
51702017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5171
5172 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
5173 section for a non-executable stack.
5174
eac8c9f2
KW
51752017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
5176
5177 PR target/80600
5178 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
5179
d6d4d770
DS
51802017-05-14 Daniel Santos <daniel.santos@pobox.com>
5181
5182 * config.host: Add i386/t-msabi to i386/t-linux file list.
5183 * config/i386/i386-asm.h: New file.
5184 * config/i386/resms64.S: New file.
5185 * config/i386/resms64f.S: New file.
5186 * config/i386/resms64fx.S: New file.
5187 * config/i386/resms64x.S: New file.
5188 * config/i386/savms64.S: New file.
5189 * config/i386/savms64f.S: New file.
5190 * config/i386/t-msabi: New file.
5191
8ef2b9a7
AT
51922017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
5193
5194 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
5195 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
5196
7ab8766a
JC
51972017-05-05 Joshua Conner <joshconner@google.com>
5198
5199 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
5200 pc-relative indirect handling for fuchsia.
5201 * config/t-slibgcc-fuchsia: New file.
5202 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 5203 x86_64-*-fuchsia*): Add definitions.
7ab8766a 5204
46928a8f
ML
52052017-04-19 Martin Liska <mliska@suse.cz>
5206
5207 PR gcov-profile/80435
5208 * Makefile.in: Install gcov.h.
5209 * gcov.h: New file.
5210 * libgcov.h: Use the header and make __gcov_flush publicly
5211 visible.
5212
63971184
ML
52132017-04-18 Martin Liska <mliska@suse.cz>
5214
5215 PR gcov-profile/78783
5216 * libgcov-driver.c (gcov_get_filename): New function.
5217
29d8aae6
JL
52182017-04-07 Jeff Law <law@redhat.com>
5219
5220 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
5221 target makefile fragment.
5222 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
5223
2bdf7fc6
AM
52242017-04-07 Alan Modra <amodra@gmail.com>
5225
5226 PR target/45053
5227 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
5228
5764ee3c
JW
52292017-04-03 Jonathan Wakely <jwakely@redhat.com>
5230
5231 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
5232
c4192ad7
CZ
52332017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
5234
5235 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
5236
4ccfdb28
JM
52372017-03-10 John Marino <gnugcc@marino.st>
5238
5239 * config/aarch64/freebsd-unwind.h: New file.
5240 * config.host: Add aarch64-*-freebsd unwinder.
5241
4144e4e3
SB
52422017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
5243
5244 * config/rs6000/crtrestvr.s: Use .machine altivec.
5245 * config/rs6000/crtsavevr.s: Ditto.
5246
7502c597
SB
52472017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
5248
5249 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
5250 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
5251 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
5252 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
5253 * configure: Regenerate.
5254 * config.in: Regenerate.
5255
db9f7f65
JY
52562017-03-02 Jonathan Yong <10walls@gmail.com>
5257
5258 * config/i386/gthr-win32.h: Define NOGDI before
5259 windows.h include to prevent w32api CC_NONE macro
5260 clash with libgfortran.
5261
126437c5
JY
52622017-03-02 Jonathan Yong <10walls@gmail.com>
5263
5264 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
5265
31927af6
AP
52662017-02-16 Andrew Pinski <apinski@cavium.com>
5267
5268 * config/aarch64/value-unwind.h: New file.
5269 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
5270 to tm_file.
5271
0bd99911
PD
52722017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
5273
5274 * config.host: Add RISC-V tuples.
5275 * config/riscv/atomic.c: New file.
5276 * config/riscv/crti.S: Likewise.
5277 * config/riscv/crtn.S: Likewise.
5278 * config/riscv/div.S: Likewise.
5279 * config/riscv/linux-unwind.h: Likewise.
5280 * config/riscv/muldi3.S: Likewise.
5281 * config/riscv/multi3.S: Likewise.
5282 * config/riscv/save-restore.S: Likewise.
5283 * config/riscv/sfp-machine.h: Likewise.
5284 * config/riscv/t-elf: Likewise.
5285 * config/riscv/t-elf32: Likewise.
5286 * config/riscv/t-elf64: Likewise.
5287 * config/riscv/t-softfp32: Likewise.
5288 * config/riscv/t-softfp64: Likewise.
5289
a8c9ef2a
JJ
52902017-01-24 Jakub Jelinek <jakub@redhat.com>
5291
5292 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
5293 /* FALLTHRU */ comments.
5294
c6c82710
GP
52952017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
5296
5297 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
5298
a876231c
JW
52992017-01-20 Jiong Wang <jiong.wang@arm.com>
5300
5301 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
5302 * unwind-dw2.c (execute_cfa_program): Only multiplexing
5303 DW_CFA_GNU_window_save for AArch64 and LP64.
5304
aa348be2
JW
53052017-01-20 Jiong Wang <jiong.wang@arm.com>
5306
5307 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
5308
5636faf2
JW
53092017-01-19 Jiong Wang <jiong.wang@arm.com>
5310
5311 * config/aarch64/aarch64-unwind.h: New file.
5312 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
5313 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
5314 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
5315 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
5316 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
5317 (aarch64_post_extract_frame_addr): New function.
5318 (aarch64_post_frob_eh_handler_addr): New function.
5319 (aarch64_frob_update_context): New function.
5320 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
5321 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
5322 aarch64*-*-freebsd*):
5323 Initialize md_unwind_header to include aarch64-unwind.h.
5324 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
5325 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
5326 __aarch64__.
5327 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
5328 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
5329 (uw_frob_return_addr): New function.
5330 (uw_install_context): Use uw_frob_return_addr.
5331
3c36aa6b
JJ
53322017-01-17 Jakub Jelinek <jakub@redhat.com>
5333
5334 PR other/79046
5335 * configure.ac: Add GCC_BASE_VER.
5336 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
5337 version from BASE-VER file.
5338 * configure: Regenerated.
5339
829afb8f
JS
53402017-01-13 Joe Seymour <joe.s@somniumtech.com>
5341
5342 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
5343 libmul_f5.a): Filter archived prerequisites.
5344
79fc8ffe
AS
53452017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
5346
5347 * config/i386/cpuinfo.h (processor_features): Add
5348 FEATURE_AVX512VPOPCNTDQ.
5349 * config/i386/cpuinfo.c (get_available_features): Habdle new
5350 feature.
5351
fec5f4e0
JM
53522017-01-04 Joseph Myers <joseph@codesourcery.com>
5353
5354 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
5355 payload if [__mips_nan2008].
5356
8f56cb51
AM
53572017-01-04 Alan Modra <amodra@gmail.com>
5358
5359 * Makefile.in (configure_deps): Update.
5360 * configure: Regenerate.
5361
cbe34bb5
JJ
53622017-01-01 Jakub Jelinek <jakub@redhat.com>
5363
5364 Update copyright years.
5365
ab955692
KW
53662016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
5367
5368 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
5369 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
5370 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
5371
de34320f
MK
53722016-12-17 Matthias Klose <doko@ubuntu.com>
5373
5374 * config/arc/gmon: Remove empty directory.
5375
e04ea1da
CZ
53762016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
5377
5378 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
5379 crtgend.
5380 (arc*-*-elf*): Likewise.
5381 * config/arc/t-arc: Remove old gmon lib targets.
5382 * config/arc/crtg.S: Remove.
5383 * config/arc/crtgend.S: Likewise.
5384 * config/arc/gmon/atomic.h: Likewise.
5385 * config/arc/gmon/auxreg.h: Likewise.
5386 * config/arc/gmon/dcache_linesz.S: Likewise.
5387 * config/arc/gmon/gmon.c: Likewise.
5388 * config/arc/gmon/machine-gmon.h: Likewise.
5389 * config/arc/gmon/mcount.c: Likewise.
5390 * config/arc/gmon/prof-freq-stub.S: Likewise.
5391 * config/arc/gmon/prof-freq.c: Likewise.
5392 * config/arc/gmon/profil.S: Likewise.
5393 * config/arc/gmon/sys/gmon.h: Likewise.
5394 * config/arc/gmon/sys/gmon_out.h: Likewise.
5395 * config/arc/t-arc-newlib: Likewise.
5396 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
5397
8ae1c2c1
GS
53982016-12-12 George Spelvin <linux@sciencehorizons.net>
5399
5400 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
5401
a5b947fa
GS
54022016-12-12 George Spelvin <linux@sciencehorizons.net>
5403
5404 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
5405 R16 instead of push + pop.
5406 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
5407
d6574dd1
KW
54082016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
5409
5410 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
5411 tmake_file.
5412
62440b4f
CM
54132016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
5414
5415 * config.host (arc*-*-linux-uclibc*): Use default extra
5416 objects. Include linux-android header.
5417 * config/arc/crti.S (_init): Declare symbol as function.
5418 (_fini): Likewise.
5419
31cfd832
TK
54202016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
5421
5422 PR fortran/78379
5423 * config/i386/cpuinfo.c: Move denums for processor vendors,
5424 processor type, processor subtypes and declaration of
5425 struct __processor_model into
5426 * config/i386/cpuinfo.h: New header file.
5427
c92e08e3
AV
54282016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
5429 Thomas Preud'homme <thomas.preudhomme@arm.com>
5430
5431 * config/arm/cmse_nonsecure_call.S: New.
5432 * config/arm/t-arm: Compile cmse_nonsecure_call.S
5433
de7b5723
AV
54342016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
5435 Thomas Preud'homme <thomas.preudhomme@arm.com>
5436
5437 * config/arm/t-arm (HAVE_CMSE): New.
5438 * config/arm/cmse.c: New.
5439
7a0d2bce
TP
54402016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
5441
b3a5bff4
TP
5442 PR gcc/74748
5443 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
5444 use generic linker version information on Blackfin.
5445
7a0d2bce
TP
5446 PR gcc/74748
5447 * libgcc/mkmap-symver.awk: add support for skip_underscore
5448
b410cf1d
IS
54492016-11-27 Iain Sandoe <iain@codesourcery.com>
5450 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5451
5452 PR target/67710
5453 * config/t-darwin: Default builds to 10.5 codegen.
5454
2e5f8203
JG
54552016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
5456
5457 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
5458 (_FP_NANSIGN_H): Likewise.
5459 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
5460 (softfp_truncations): Add tfhf.
5461 (softfp_extras): Add required conversion functions.
5462
bea64ca3
JG
54632016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5464 Matthew Wahab <matthew.wahab@arm.com>
5465
5466 * config/arm/fp16.c (binary64): New.
5467 (__gnu_d2h_internal): New.
5468 (__gnu_d2h_ieee): New.
5469 (__gnu_d2h_alternative): New.
5470
8630cadb
JG
54712016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5472 Matthew Wahab <matthew.wahab@arm.com>
5473
5474 * config/arm/fp16.c (struct format): New.
5475 (binary32): New.
5476 (__gnu_float2h_internal): New. Body moved from
5477 __gnu_f2h_internal and generalize.
5478 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
5479 Call it with binary32.
5480
5823ef23
JG
54812016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5482
5483 * soft-fp/extendhftf2.c: Update from glibc.
5484 * soft-fp/fixhfti.c: Likewise.
5485 * soft-fp/fixunshfti.c: Likewise.
5486 * soft-fp/floattihf.c: Likewise.
5487 * soft-fp/floatuntihf.c: Likewise.
5488 * soft-fp/half.h: Likewise.
5489 * soft-fp/trunctfhf2.c: Likewise.
5490
62a7df9f
MG
54912016-11-20 Marc Glisse <marc.glisse@inria.fr>
5492
5493 PR libgcc/77813
5494 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
5495 __TMC_END__ behind a passthrough asm.
5496
7a384912
WL
54972016-11-18 Walter Lee <walt@tilera.com>
5498
62a7df9f 5499 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 5500
9775c1a5
L
55012016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
5502
5503 * config/i386/cpuinfo.c (processor_features): Add
5504 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
5505
48c842ab
CZ
55062016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
5507
5508 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
5509 (__ARC_NORM__): Use instead ARC_OPTFPE.
5510 * config/arc/fp-hack.h: Likewise.
5511 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
5512 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
5513
5012919d
AM
55142016-11-16 Alexander Monakov <amonakov@ispras.ru>
5515
5516 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
5517 * config/nvptx/mgomp.c: New file.
5518 * config/nvptx/t-nvptx: Add mgomp.c
5519
00178b98
WB
55202016-11-16 Waldemar Brodkorb <wbx@openadk.org>
5521
5522 PR libgcc/68468
5523 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
5524
d64af69f
CZ
55252016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
5526
5527 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
5528 of checking for cpus.
5529 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
5530 (__modsi3, __clzsi2): Likewise.
5531
9d8f95de
SN
55322016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5533
5534 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
5535 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
5536 * config/i386/t-cpuinfo-static: New.
5537
7d29f8e3
ML
55382016-11-03 Martin Liska <mliska@suse.cz>
5539
5540 * libgcov-profiler.c (__gcov_time_profiler): Remove.
5541 (__gcov_time_profiler_atomic): Likewise.
5542
5de3e2d8
BE
55432016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
5544
5545 PR libgcc/78067
5546 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
5547 count_leading_zeros.
5548
18362447
UB
55492016-11-02 Uros Bizjak <ubizjak@gmail.com>
5550
5551 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
5552 * libgcc2.c (__divmoddi4): New function.
5553 * libgcc2.h (__divmoddi4): Declare.
5554 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
5555 and __PFX_divmodti4.
5556
33107571
FW
55572016-10-24 Florian Weimer <fweimer@redhat.com>
5558
5559 PR libgcc/78064
5560 * unwind-c.c: Include auto-target.h.
5561
4c6d7494
JDA
55622016-10-19 John David Anglin <danglin@gcc.gnu.org>
5563
18362447 5564 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
5565 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
5566 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
5567 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
5568 hppa*64*-*-hpux11*.
5569
2a26adf1
MF
55702016-10-18 Max Filippov <jcmvbkbc@gmail.com>
5571
5572 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5573 definition.
5574 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5575 definition.
5576 * config/xtensa/t-windowed (LIB2ADDEH): Use
5577 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
5578 or xtensa/t-linux.
5579
66192aa1
DKC
55802016-10-18 Ding-Kai Chen <dkchen@cadence.com>
5581
5582 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
5583 __ieee754_sqrt): New functions.
5584 (__divdf3): Add implementation with new FPU instructions under
5585 #if XCHAL_HAVE_DFP_DIV.
5586 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
5587 __ieee754_sqrtf): New functions.
5588 (__divsf3): Add implementation with new FPU instructions under
5589 #if XCHAL_HAVE_FP_DIV.
5590 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
5591 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
5592
4d0cdd0c
TP
55932016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
5594
5595 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
5596 equivalent.
5597 * config/tilepro/atomic.c: Likewise and stop casting model to
5598 enum memmodel.
5599
73f01cca
JM
56002016-10-10 Joseph Myers <joseph@codesourcery.com>
5601
5602 PR target/77586
5603 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
5604 soft-fp.
5605
b20e7532
AT
56062016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
5607
5608 * config.host: Add support for aarch64-*-freebsd*.
5609
a786cec4
AS
56102016-10-05 Andreas Schwab <schwab@suse.de>
5611
5612 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
5613 (.section .init_array): Don't call __do_jv_register_classes.
5614 (.section .init): Likewise.
5615
5a79befb
JJ
56162016-10-04 Jakub Jelinek <jakub@redhat.com>
5617
5618 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
5619 (__JCR_LIST__): Remove.
5620 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
5621 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
5622 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
5623 * config/ia64/crtend.S (__JCR_END__): Remove.
5624 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
5625 conditionals.
5626 (__JCR_LIST__, __JCR_END__): Remove.
5627 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
5628 (__do_global_ctors_1): Likewise.
5629
e0ab3753
UB
56302015-09-28 Uros Bizjak <ubizjak@gmail.com>
5631
5632 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
5633 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
5634
8c9434c2
ML
56352016-09-27 Martin Liska <mliska@suse.cz>
5636
5637 PR gcov-profile/7970
5638 PR gcov-profile/16855
5639 PR gcov-profile/44779
5640 * libgcov-driver.c (__gcov_init): Do not register a atexit
5641 handler.
5642 (__gcov_exit): Rename from gcov_exit.
5643 * libgcov.h (__gcov_exit): Declare.
5644
56b653f1
ML
56452016-09-27 Martin Liska <mliska@suse.cz>
5646
5647 PR bootstrap/77749
5648 * Makefile.in: Remove _gcov_merge_delta.
5649 * libgcov-merge.c (void __gcov_merge_delta): Remove.
5650 * libgcov-util.c (__gcov_delta_counter_op): Remove.
5651 * libgcov.h: Remove declaration of __gcov_merge_delta.
5652
7e02fd1b
EB
56532016-09-21 Eric Botcazou <ebotcazou@adacore.com>
5654
5655 * configure.ac: Do not create links, only substitute the filenames.
5656 * configure: Regenerate.
5657 * Makefile.in: Assign the substitution results to variables.
5658 (LIBGCC_LINKS): Define.
5659 (enable-execute-stack.c): New rule.
5660 (unwind.h): Likewise.
5661 (md-unwind-support.h): Likewise.
5662 (sfp-machine.h): Likewise.
5663 (gthr-default.h): Likewise.
5664 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5665 unwind.h as prerequisite of install-unwind_h-forbuild.
5666
29991048
JJ
56672016-09-16 Jakub Jelinek <jakub@redhat.com>
5668
5669 PR libgcc/71744
5670 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5671 is not the primary registry and atomics are available.
5672 (any_objects_registered): New variable.
5673 (__register_frame_info_bases, __register_frame_info_table_bases):
5674 Atomically store 1 to any_objects_registered after registering first
5675 unwind info.
5676 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5677
0abcd6cc
JG
56782016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
5679
5680 PR target/63250
5681 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5682 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5683 (HFtype): Likewise.
5684 (HCtype): Likewise.
5685 (__divhc3): Likewise.
5686 (__mulhc3): Likewise.
5687 * libgcc2.c: Support _mulhc3 and _divhc3.
5688
d758aeb5
JM
56892016-09-07 Joseph Myers <joseph@codesourcery.com>
5690
5691 PR libgcc/77519
5692 * libgcc2.c (NOTRUNC): Invert settings.
5693
7fe76f6a
ML
56942016-09-06 Martin Liska <mliska@suse.cz>
5695
5696 PR gcov-profile/77378
5697 PR gcov-profile/77466
5698 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5699 conditionaly enable/disable *_atomic functions.
5700
21184026
JM
57012016-08-26 Joseph Myers <joseph@codesourcery.com>
5702
5703 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5704 where not already enabled.
5705
726f49c3
SN
57062016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5707
5708 * config/mips/linux-unwind.h: Use sys/syscall.h.
5709
feeb6268
JM
57102016-08-16 Joseph Myers <joseph@codesourcery.com>
5711
5712 PR libgcc/77265
5713 * soft-fp/adddf3.c: Update from glibc.
5714 * soft-fp/addsf3.c: Likewise.
5715 * soft-fp/addtf3.c: Likewise.
5716 * soft-fp/divdf3.c: Likewise.
5717 * soft-fp/divsf3.c: Likewise.
5718 * soft-fp/divtf3.c: Likewise.
5719 * soft-fp/double.h: Likewise.
5720 * soft-fp/eqdf2.c: Likewise.
5721 * soft-fp/eqsf2.c: Likewise.
5722 * soft-fp/eqtf2.c: Likewise.
5723 * soft-fp/extenddftf2.c: Likewise.
5724 * soft-fp/extended.h: Likewise.
5725 * soft-fp/extendsfdf2.c: Likewise.
5726 * soft-fp/extendsftf2.c: Likewise.
5727 * soft-fp/extendxftf2.c: Likewise.
5728 * soft-fp/fixdfdi.c: Likewise.
5729 * soft-fp/fixdfsi.c: Likewise.
5730 * soft-fp/fixdfti.c: Likewise.
5731 * soft-fp/fixsfdi.c: Likewise.
5732 * soft-fp/fixsfsi.c: Likewise.
5733 * soft-fp/fixsfti.c: Likewise.
5734 * soft-fp/fixtfdi.c: Likewise.
5735 * soft-fp/fixtfsi.c: Likewise.
5736 * soft-fp/fixtfti.c: Likewise.
5737 * soft-fp/fixunsdfdi.c: Likewise.
5738 * soft-fp/fixunsdfsi.c: Likewise.
5739 * soft-fp/fixunsdfti.c: Likewise.
5740 * soft-fp/fixunssfdi.c: Likewise.
5741 * soft-fp/fixunssfsi.c: Likewise.
5742 * soft-fp/fixunssfti.c: Likewise.
5743 * soft-fp/fixunstfdi.c: Likewise.
5744 * soft-fp/fixunstfsi.c: Likewise.
5745 * soft-fp/fixunstfti.c: Likewise.
5746 * soft-fp/floatdidf.c: Likewise.
5747 * soft-fp/floatdisf.c: Likewise.
5748 * soft-fp/floatditf.c: Likewise.
5749 * soft-fp/floatsidf.c: Likewise.
5750 * soft-fp/floatsisf.c: Likewise.
5751 * soft-fp/floatsitf.c: Likewise.
5752 * soft-fp/floattidf.c: Likewise.
5753 * soft-fp/floattisf.c: Likewise.
5754 * soft-fp/floattitf.c: Likewise.
5755 * soft-fp/floatundidf.c: Likewise.
5756 * soft-fp/floatundisf.c: Likewise.
5757 * soft-fp/floatunditf.c: Likewise.
5758 * soft-fp/floatunsidf.c: Likewise.
5759 * soft-fp/floatunsisf.c: Likewise.
5760 * soft-fp/floatunsitf.c: Likewise.
5761 * soft-fp/floatuntidf.c: Likewise.
5762 * soft-fp/floatuntisf.c: Likewise.
5763 * soft-fp/floatuntitf.c: Likewise.
5764 * soft-fp/gedf2.c: Likewise.
5765 * soft-fp/gesf2.c: Likewise.
5766 * soft-fp/getf2.c: Likewise.
5767 * soft-fp/ledf2.c: Likewise.
5768 * soft-fp/lesf2.c: Likewise.
5769 * soft-fp/letf2.c: Likewise.
5770 * soft-fp/muldf3.c: Likewise.
5771 * soft-fp/mulsf3.c: Likewise.
5772 * soft-fp/multf3.c: Likewise.
5773 * soft-fp/negdf2.c: Likewise.
5774 * soft-fp/negsf2.c: Likewise.
5775 * soft-fp/negtf2.c: Likewise.
5776 * soft-fp/op-1.h: Likewise.
5777 * soft-fp/op-2.h: Likewise.
5778 * soft-fp/op-4.h: Likewise.
5779 * soft-fp/op-8.h: Likewise.
5780 * soft-fp/op-common.h: Likewise.
5781 * soft-fp/quad.h: Likewise.
5782 * soft-fp/single.h: Likewise.
5783 * soft-fp/soft-fp.h: Likewise.
5784 * soft-fp/subdf3.c: Likewise.
5785 * soft-fp/subsf3.c: Likewise.
5786 * soft-fp/subtf3.c: Likewise.
5787 * soft-fp/truncdfsf2.c: Likewise.
5788 * soft-fp/trunctfdf2.c: Likewise.
5789 * soft-fp/trunctfsf2.c: Likewise.
5790 * soft-fp/trunctfxf2.c: Likewise.
5791 * soft-fp/unorddf2.c: Likewise.
5792 * soft-fp/unordsf2.c: Likewise.
5793 * soft-fp/unordtf2.c: Likewise.
5794
2e6fc1ac
GG
57952016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
5796
5797 PR gcov-profile/67097
5798 * libgcov-util.c (gcov_profile_merge): Skip missing files.
5799
a266236e
ML
58002016-08-10 Martin Liska <mliska@suse.cz>
5801
5802 PR gcov-profile/58306
5803 * Makefile.in: New functions (modules) are added.
5804 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5805 function.
5806 (__gcov_pow2_profiler_atomic): New function.
5807 (__gcov_one_value_profiler_body): New argument is instroduced.
5808 (__gcov_one_value_profiler): Call with the new argument.
5809 (__gcov_one_value_profiler_atomic): Likewise.
5810 (__gcov_indirect_call_profiler_v2): Likewise.
5811 (__gcov_time_profiler_atomic): New function.
5812 (__gcov_average_profiler_atomic): Likewise.
5813 (__gcov_ior_profiler_atomic): Likewise.
5814 * libgcov.h: Declare the aforementioned functions.
5815
e0c8eebf
ML
58162016-08-09 Martin Liska <mliska@suse.cz>
5817
5818 * libgcov-util.c: Fix typo and GNU coding style.
5819
6dce6418
ML
58202016-08-09 Martin Liska <mliska@suse.cz>
5821
5822 * Makefile.in: Remove __gcov_indirect_call_profiler.
5823 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5824 function.
5825 * libgcov.h: And the declaration of the function.
5826
dcb1e137
ML
58272016-08-09 Martin Liska <mliska@suse.cz>
5828
5829 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5830 power of two.
5831
d6e69705
BS
58322016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5833
5834 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5835 * config/rs6000/_mulkc3.c: Likewise.
5836
96aa1f95
GJL
58372016-07-29 Georg-Johann Lay <avr@gjlay.de>
5838
5839 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5840 zero_reg as previous call to __umulhisi3 already cleared it.
5841
a1b01d34
AJ
58422016-07-21 Aurelien Jarno <aurelien@aurel32.net>
5843
5844 PR target/59833
5845 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5846
985a47b2
NC
58472016-07-19 Nick Clifton <nickc@redhat.com>
5848
5849 * config.host (m32r): Add m32r/t-m32r to tmake_file.
5850 Add crtinit.o and crtfini.o to extra_parts.
5851
f906f5ed
BS
58522016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5853
5854 * config/rs6000/_divkc3.c: New.
5855 * config/rs6000/_mulkc3.c: New.
5856 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5857 and _divkc3.
5858 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5859 fp128_ppc_funcs.
5860
82742404
HW
58612016-07-11 Hale Wang <hale.wang@arm.com>
5862 Andre Vieira <andre.simoesdiasvieira@arm.com>
5863
5864 * config/arm/lib1funcs.S: Add new wrapper.
5865
05a437c1
TP
58662016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5867
5868 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5869
3d16d9ec
TP
58702016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5871
5872 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5873 and ARMv5t* rather than for a fixed list of architectures.
5874
6f493951
TP
58752016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5876
5877 * config/arm/bpabi-v6m.S: Clarify what architectures is the
5878 implementation suitable for.
5879 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5880 for all Thumb-1 only targets.
5881 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5882 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5883 __ARM_ARCH_6M__.
5884 (EQUIV): Likewise.
5885 (ARM_FUNC_ALIAS): Likewise.
5886 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5887 version.
5888 (modsi3): Likewise.
5889 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5890 (clzdi2): Likewise.
5891 (ctzsi2): Likewise.
5892 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5893 __ARM_ARCH_6M__ in guard for checking whether it is defined.
5894 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5895 __ARM_ARCH_6M__ and add comment to indicate the connection between
5896 this condition and the one in gcc/config/arm/elf.h.
5897 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5898 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5899 * config/arm/t-softfp: Likewise.
5900
1770511a
TS
59012016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5902
5903 * libgcc2.c (SYMBOL__MAIN): Remove checks for
5904 CTOR_LISTS_DEFINED_EXTERNALLY.
5905
ba6be749
WL
59062016-06-28 Walter Lee <walt@tilera.com>
5907
5908 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5909 asm/unistd.h.
5910 (SPR_CMPEXCH_VALUE): Define for tilegx.
5911 (__NR_FAST_cmpxchg): Define for tilepro.
5912 (__NR_FAST_atomic_update): Define for tilepro.
5913 (__NR_FAST_cmpxchg64): Define for tilepro.
5914
a34c0db5
JS
59152016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
5916
18362447 5917 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 5918
0609abda
TS
59192016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5920
5921 * config.host: Remove support for mep-*.
5922 * config/mep/lib1funcs.S: Remove.
5923 * config/mep/lib2funcs.c: Remove.
5924 * config/mep/t-mep: Remove.
5925 * config/mep/tramp.c: Remove.
5926
3e326935
TS
59272016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5928
5929 * config.host: Remove support for avr-rtems.
5930 * config/avr/t-rtems: Remove.
5931
914b155c
TS
59322016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5933
5934 * config.host: Remove m32r-rtems support.
5935
5ebf89bd
TS
59362016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5937
5938 * config.host: Remove h8300-rtems support.
5939
8466af06
TS
59402016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5941
5942 * config.host: Remove support for knetbsd.
5943
d980e738
TS
59442016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5945
5946 * config.host: Remove support for openbsd 2 and 3.
5947
ee2499b4
TS
59482016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5949
5950 * config.host: Remove interix support.
5951 * config/i386/t-interix: Remove.
5952
9f92937b
JDA
59532016-06-18 John David Anglin <danglin@gcc.gnu.org>
5954
5955 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5956 least-significant bit in function pointer for fixup.
5957
0a0ec53d
AC
59582016-06-05 Aaron Conole <aconole@redhat.com>
5959 Nathan Sidwell <nathan@acm.org>
5960
5961 PR libgcc/71400
5962 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5963 (get_gcov_error_file): Check __gcov_error_file before trying to
5964 initialize it.
5965 (gcov_error): Always use get_gcov_error_file.
5966
8aa5bdd6
AC
59672016-06-02 Aaron Conole <aconole@redhat.com>
5968
5969 * libgcov-driver-system.c (__gcov_error_file): New.
5970 (get_gcov_error_file): New.
5971 (gcov_error): Use and set __gcov_error_file.
5972 (gcov_error_exit): New.
5973 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5974
40774faf
NS
59752016-05-26 Nathan Sidwell <nathan@acm.org>
5976
5977 * config/nvptx/free.asm: Delete.
5978 * config/nvptx/malloc.asm: Delete.
5979 * config/nvptx/realloc.c: Delete.
5980 * t-nvptx: Update.
5981
69a6d5ad
NS
59822016-05-25 Nathan Sidwell <nathan@acm.org>
5983
5984 * config/nvptx/crt0.s: Delete.
5985 * config/nvptx/crt0.c: New.
5986 * t-nvptx: Update.
5987
6befaff6
SL
59882016-05-19 Sandra Loosemore <sandra@codesourcery.com>
5989
385c7747 5990 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
5991 dw2/seh configuration.
5992 [x86_64-*-mingw*]: Likewise.
5993
ad251dfd
JS
59942016-05-10 Joel Sherrill <joel@rtems.org>
5995
5996 PR libgcc/70720
5997 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5998 targets so the same extra_parts are built. Also have tmake_file add
5999 on to its value rather than override.
6000
bc6d9014
OE
60012016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
6002
6003 * config.host: Remove SH5 support.
6004 * configure: Likewise.
6005
9129c8cf
OE
60062016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
6007
6008 * config/sh/crt1.S: Remove SH5 support.
6009 * config/sh/crti.S: Likewise.
6010 * config/sh/crtn.S: Likewise.
6011 * config/sh/lib1funcs-4-300.S: Likewise.
6012 * config/sh/lib1funcs-Os-4-200.S: Likewise.
6013 * config/sh/lib1funcs.S: Likewise.
6014 * config/sh/linux-unwind.h: Likewise.
6015 * config/sh/t-sh64: Delete.
6016
39d50464
CZ
60172016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
6018
6019 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
6020
8b48923b
CZ
60212016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
6022 Joern Rennecke <joern.rennecke@embecosm.com>
6023
6024 * config/arc/crttls.S: New file.
6025 * config/arc/t-arc: New rule.
6026 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
6027
2de1cf8c
NC
60282016-04-25 Nick Clifton <nickc@redhat.com>
6029
6030 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
6031 (__mspabi_cmpd): Likewise.
6032 * config/msp430/floathidf.c (__floathidf): Likewise.
6033 * config/msp430/floathisf.c (__floathisf): Likewise
6034 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
6035 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
6036 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
6037 second parameter.
6038 (__ashrsi3): Likewise.
6039
b8ce3fe2
WB
60402016-04-21 Waldemar Brodkorb <wbx@openadk.org>
6041
6042 * config/m68k/linux-atomic.c: Do not include unistd.h
6043
4986f823
MG
60442016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
6045
6046 * config/arm/ieee754-df.S: Fix typos in comments.
6047
35fbda43
MM
60482016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
6049
6050 PR target/70381
6051 * configure.ac (powerpc*-*-linux*): Rework tests to build
6052 __float128 emulation routines to not depend on using #pragma GCC
6053 target to enable -mfloat128.
6054 * configure: Regnerate.
6055
72d1a48d
EB
60562016-04-04 Eric Botcazou <ebotcazou@adacore.com>
6057
6058 PR target/67172
6059 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
6060 __MINGW32__ is defined.
6061
dc2e8995
JB
60622016-03-28 James Bowman <james.bowman@ftdichip.com>
6063
385c7747 6064 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 6065
104cdaf1
MM
60662016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
6067
6068 PR libgcc/70363
6069 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
6070 built with an assembler that does not support ISA 3.0
6071 instructions, rename __extendkftf2_sw to __extendkftf2.
6072
a5046f48
RO
60732016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6074
6075 PR target/38239
6076 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
6077 call-clobbered registers.
6078 (internal_mcount): Remove __i386__ handling.
6079
df674f74
JS
60802016-02-26 Joel Sherrill <joel@rtems.org>
6081
6082 * config.host: Add x86_64-*-rtems*.
6083
7cb065d6
JS
60842016-02-26 Joel Sherrill <joel@rtems.org>
6085
6086 * libgcc/config.host: Add aarch64-*-rtems*.
6087
47dfdc53
PM
60882016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6089 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
6090
6091 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
6092 union of u64 and double.
6093 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
6094 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
6095 value.
6096 (FP_ROUNDMODE): Update the usage of _fpscr.
6097
e6861a99
IV
60982016-02-25 Ilya Verbin <ilya.verbin@intel.com>
6099
6100 PR driver/68463
6101 * Makefile.in (crtoffloadtable$(objext)): New rule.
6102 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
6103 enable_offload_targets is not empty.
6104 * configure: Regenerate.
6105 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
6106 crtoffloadtable.
6107
9bfcbdee
MF
61082016-02-17 Max Filippov <jcmvbkbc@gmail.com>
6109
6110 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
6111 .literal_position before the function.
6112 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
6113 Likewise.
6114
4cb4721f
MK
61152016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
6116
6117 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
6118 * config/s390/morestack.S: New file.
6119 * config/s390/t-stack-s390: New file.
6120 * generic-morestack.c (__splitstack_find): Add s390-specific code.
6121
b29d9a29
WL
61222016-02-12 Walter Lee <walt@tilera.com>
6123
6124 * config.host (tilegx*-*-linux*): remove ti from
6125 softfp_int_modes for 32-bit configs.
6126
03a0ae7d
ILT
61272016-02-10 Ian Lance Taylor <iant@google.com>
6128
6129 PR go/68562
6130 * config/i386/morestack.S (__stack_split_initialize): Align
6131 stack.
6132
68750bce
AT
61332016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
6134
6135 PR bootstrap/69611
6136 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
6137 __FLOAT128__ to compile only for __float128 capable targets.
6138
7d296953
JJ
61392016-01-25 Jakub Jelinek <jakub@redhat.com>
6140
6141 PR target/69444
6142 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
6143 instead of ___NO_FPRS__.
6144
a71c0334 61452016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
6146 Steven Munroe <munroesj@linux.vnet.ibm.com>
6147 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
6148
6149 * config/rs6000/float128-sed: New files to convert TF names to KF
6150 names for PowerPC IEEE 128-bit floating point support.
6151 * config/rs6000/float128-sed-hw: Likewise.
6152
6153 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
6154 floating point hardware support.
6155
6156 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6157 128-bit floating point software emulation or use ISA 3.0 hardware
6158 support if it is available.
6159
6160 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6161 floating point.
6162
6163 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
6164 floating point to IBM extended double.
6165
6166 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
6167 double to IEEE 128-bit floating point.
6168
6169 * config/rs6000/t-float128: New Makefile fragments to enable
6170 building __float128 emulation support.
6171 * config/rs6000/t-float128-hw: Likewise.
6172
6173 * config/rs6000/sfp-exceptions.c: New file to provide exception
6174 support for IEEE 128-bit floating point.
6175
6176 * config/rs6000/floattikf.c: New files for converting between IEEE
6177 128-bit floating point and signed/unsigned 128-bit integers.
6178 * config/rs6000/fixunskfti.c: Likewise.
6179 * config/rs6000/fixkfti.c: Likewise.
6180 * config/rs6000/floatuntikf.c: Likewise.
6181
6182 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6183 when building on 64-bit systems, or when VSX is enabled.
6184 (_FP_W_TYPE): Likewise.
6185 (_FP_WS_TYPE): Likewise.
6186 (_FP_I_TYPE): Likewise.
6187 (TItype): Define on 64-bit systems.
6188 (UTItype): Likewise.
6189 (TI_BITS): Likewise.
6190 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6191 (_FP_MUL_MEAT_Q): Likewise.
6192 (_FP_DIV_MEAT_D): Likewise.
6193 (_FP_DIV_MEAT_Q): Likewise.
6194 (_FP_NANFRAC_D): Likewise.
6195 (_FP_NANFRAC_Q): Likewise.
6196 (ISA_BIT): Add exception support if we are being compiled on a
6197 machine with hardware floating point support to build the IEEE
6198 128-bit emulation functions.
6199 (FP_EX_INVALID): Likewise.
6200 (FP_EX_OVERFLOW): Likewise.
6201 (FP_EX_UNDERFLOW): Likewise.
6202 (FP_EX_DIVZERO): Likewise.
6203 (FP_EX_INEXACT): Likewise.
6204 (FP_EX_ALL): Likewise.
6205 (__sfp_handle_exceptions): Likewise.
6206 (FP_HANDLE_EXCEPTIONS): Likewise.
6207 (FP_RND_NEAREST): Likewise.
6208 (FP_RND_ZERO): Likewise.
6209 (FP_RND_PINF): Likewise.
6210 (FP_RND_MINF): Likewise.
6211 (FP_RND_MASK): Likewise.
6212 (_FP_DECL_EX): Likewise.
6213 (FP_INIT_ROUNDMODE): Likewise.
6214 (FP_ROUNDMODE): Likewise.
6215
6216 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6217 VSX code, enable IEEE 128-bit floating point. If the compiler can
6218 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
6219 floating point hardware instructions and it supports declaring
6220 functions with the ifunc attribute, enable ifunc functions to
6221 switch between software and hardware support.
6222 * configure.ac (powerpc*-*-linux*): Likewise.
6223 * configure: Regenerate.
6224
bdc27e50
NC
62252016-01-15 Nick Clifton <nickc@redhat.com>
6226
6227 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
6228 dependency as the source file to be compiled.
6229 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
6230 (lib2hw_mul_f5.o): Likewise.
6231
006df05d
MM
62322016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
6233
6234 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
6235 * libgcc/config/rs6000/fixkfti.c: Likewise.
6236 * libgcc/config/rs6000/fixunskfti.c: Likewise.
6237 * libgcc/config/rs6000/float128-hw.c: Likewise.
6238 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
6239 * libgcc/config/rs6000/float128-sed: Likewise.
6240 * libgcc/config/rs6000/floattikf.c: Likewise.
6241 * libgcc/config/rs6000/floatuntikf.c: Likewise.
6242 * libgcc/config/rs6000/quad-float128.h: Likewise.
6243 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
6244 * libgcc/config/rs6000/sfp-machine.h: Likewise.
6245 * libgcc/config/rs6000/t-float128: Likewise.
6246 * libgcc/config/rs6000/t-float128-hw: Likewise.
6247 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
6248 * libgcc/config.host: Likewise.
6249 * libgcc/configure: Likewise.
6250 * libgcc/configure.ac: Likewise.
6251
29176d57 62522016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
6253 Steven Munroe <munroesj@linux.vnet.ibm.com>
6254 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
6255
6256 * config/rs6000/sfp-exceptions.c: New file to provide exception
6257 support for IEEE 128-bit floating point.
6258
6259 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
6260 floating point hardware support.
6261
6262 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
6263 point conversions.
6264 * config/rs6000/fixunskfti.c: Likewise.
6265 * config/rs6000/fixkfti.c: Likewise.
6266 * config/rs6000/floatuntikf.c: Likewise.
6267 * config/rs6000/extendkftf2-sw.c: Likewise.
6268 * config/rs6000/trunctfkf2-sw.c: Likewise.
6269
6270 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
6271 128-bit floating point software emulation or use ISA 3.0 hardware
6272 support if it is available.
6273
6274 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
6275 floating point.
6276
6277 * config/rs6000/t-float128: New Makefile fragments to enable
6278 building __float128 emulation support.
6279 * config/rs6000/t-float128-hw: Likewise.
6280
6281 * config/rs6000/float128-sed: New file to convert TF names to KF
6282 names for PowerPC IEEE 128-bit floating point support.
6283
6284 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
6285 when building on 64-bit systems, or when VSX is enabled.
6286 (_FP_W_TYPE): Likewise.
6287 (_FP_WS_TYPE): Likewise.
6288 (_FP_I_TYPE): Likewise.
6289 (TItype): Define on 64-bit systems.
6290 (UTItype): Likewise.
6291 (TI_BITS): Likewise.
6292 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
6293 (_FP_MUL_MEAT_Q): Likewise.
6294 (_FP_DIV_MEAT_D): Likewise.
6295 (_FP_DIV_MEAT_Q): Likewise.
6296 (_FP_NANFRAC_D): Likewise.
6297 (_FP_NANFRAC_Q): Likewise.
6298 (ISA_BIT): Add exception support if we are being compiled on a
6299 machine with hardware floating point support to build the IEEE
6300 128-bit emulation functions.
6301 (FP_EX_INVALID): Likewise.
6302 (FP_EX_OVERFLOW): Likewise.
6303 (FP_EX_UNDERFLOW): Likewise.
6304 (FP_EX_DIVZERO): Likewise.
6305 (FP_EX_INEXACT): Likewise.
6306 (FP_EX_ALL): Likewise.
6307 (__sfp_handle_exceptions): Likewise.
6308 (FP_HANDLE_EXCEPTIONS): Likewise.
6309 (FP_RND_NEAREST): Likewise.
6310 (FP_RND_ZERO): Likewise.
6311 (FP_RND_PINF): Likewise.
6312 (FP_RND_MINF): Likewise.
6313 (FP_RND_MASK): Likewise.
6314 (_FP_DECL_EX): Likewise.
6315 (FP_INIT_ROUNDMODE): Likewise.
6316 (FP_ROUNDMODE): Likewise.
6317
6318 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
6319 compiler can do __float128.
6320 * configure: Regenerate.
6321
6322 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
6323 VSX code, enable IEEE 128-bit floating point.
6324
a2218983
OH
63252016-01-05 Olivier Hainque <hainque@adacore.com>
6326
6327 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 6328 specificities.
a2218983 6329
818ab71a
JJ
63302016-01-04 Jakub Jelinek <jakub@redhat.com>
6331
6332 Update copyright years.
6333
5a6c8ffa
AP
63342015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
6335
6336 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 6337 soft-fp targets.
5a6c8ffa 6338
077067a5
BE
63392015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
6340
6341 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
6342 instead of abort to avoid dependency on stdlib.h.
6343
787c1027
JDA
63442015-12-09 John David Anglin <danglin@gcc.gnu.org>
6345
6346 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
6347 to initialize call to __dl_fixup once.
6348
04a9ae28
NC
63492015-12-04 Nick Clifton <nickc@redhat.com>
6350
6351 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
6352 Allow for the second argument being negative.
6353 * config.host (extra_parts): Define for MSP430. Create separate
6354 libraries for each of the hardware multiply formats.
6355 * config/msp430/lib2hw_mul.S: Build only the multiply routines
6356 that are needed.
6357 * config/msp430/lib2mul.c: Likewise.
6358 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
6359 Add rules to build hardware multiply libraries.
6360 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
6361 __mspabi_divul function.
6362 (__mspabi_divllu): New stub function.
6363
9a32d437
JDA
63642015-12-01 John David Anglin <danglin@gcc.gnu.org>
6365
6366 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
6367 fixup values if saved GOT address doesn't match runtime address.
6368 (fixup_branch_offset): Reorder list.
6369
e5ef217c
RO
63702015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6371
6372 * Makefile.in (VTV_CFLAGS): New variable.
6373 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
6374 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
6375 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6376 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
6377 to extra_parts if $enable_vtable_verify = yes.
6378
78cc43a2
SN
63792015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
6380
6381 PR target/68059
6382 * config/arm/linux-atomic-64bit.c (__write): Rename to...
6383 (write): ...this and fix the return type.
6384
9afebea2
DD
63852015-11-19 DJ Delorie <dj@redhat.com>
6386
6387 * config/msp430/lib2hw_mul.S: Fix alignment.
6388
33f47f42
NS
63892015-11-18 Nathan Sidwell <nathan@codesourcery.com>
6390
6391 * config/nvptx/reduction.c: New.
6392 * config/nvptx/t-nvptx (LIB2ADD): Add it.
6393
d9adb476
DE
63942015-11-15 David Edelsohn <dje.gcc@gmail.com>
6395
6396 * config/rs6000/on_exit.c: New file.
6397 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
6398 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
6399
c0ab1970
CZ
64002015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
6401
6402 * config/arc/dp-hack.h: Add support for ARCHS.
6403 * config/arc/ieee-754/divdf3.S: Likewise.
6404 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6405 * config/arc/ieee-754/muldf3.S: Likewise.
6406 * config/arc/ieee-754/mulsf3.S: Likewise
6407 * config/arc/lib1funcs.S: Likewise
6408 * config/arc/gmon/dcache_linesz.S: Don't read the build register
6409 for ARCv2 cores.
6410 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
6411 for ARCv2 cores.
6412 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
6413 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
6414 cores.
6415
e6b6bf09
RO
64162015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6417
6418 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
6419 value.
6420 * config/ia64/crtend.S: Likewise.
6421
a153644f
TS
64222015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6423
6424 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
6425 __CHAR_BIT__ instead of BITS_PER_UNIT.
6426 * fixed-bit.h: Likewise.
6427 * fp-bit.h: Likewise.
6428 * libgcc2.c (__popcountSI2): Likewise.
6429 (__popcountDI2): Likewise.
6430 * libgcc2.h: Likewise.
6431 * libgcov.h: Likewise.
6432
3dee689d
DE
64332015-11-07 David Edelsohn <dje.gcc@gmail.com>
6434
6435 * config/rs6000/atexit.c: New file.
6436 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
6437 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
6438 * config/rs6000/cxa_finalize.c
6439 (catomic_compare_and_exchange_bool_acq): Negate return value.
6440
2ef543e4
VK
64412015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
6442
6443 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
6444 (processor_subtypes): Add znver1.
6445 (get_amd_cpu): Detect znver1.
6446
1300f017
CL
64472015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
6448
6449 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
6450 Include crtfastmath.o.
6451
3e5bb7ee
JR
64522015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
6453
6454 PR libgcc/66883
6455 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 6456
793aa938
KP
64572015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
6458
6459 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
6460 * config/rl78/divmodsi.S: Update return register to r8.
6461 * config/rl78/divmodhi.S: Update return register to r8,r9.
6462 Branch to main_loop_done_himode to pop registers before return.
6463
7d296953 64642015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
6465
6466 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
6467 (__cpu_indicator_init): Fix model selection for AMD CPUs.
6468
6a192b5a
KY
64692015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
6470
6471 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
6472
4a0a9457
MF
64732015-10-03 Max Filippov <jcmvbkbc@gmail.com>
6474
6475 * config.host (xtensa*-*-uclinux*): New configuration.
6476
ab91c076
KY
64772015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
6478
385c7747 6479 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
6480 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
6481
30954527
JM
64822015-09-28 Joseph Myers <joseph@codesourcery.com>
6483
6484 * soft-fp/adddf3.c: Update from glibc.
6485 * soft-fp/addsf3.c: Likewise.
6486 * soft-fp/addtf3.c: Likewise.
6487 * soft-fp/divdf3.c: Likewise.
6488 * soft-fp/divsf3.c: Likewise.
6489 * soft-fp/divtf3.c: Likewise.
6490 * soft-fp/double.h: Likewise.
6491 * soft-fp/eqdf2.c: Likewise.
6492 * soft-fp/eqsf2.c: Likewise.
6493 * soft-fp/eqtf2.c: Likewise.
6494 * soft-fp/extenddftf2.c: Likewise.
6495 * soft-fp/extended.h: Likewise.
6496 * soft-fp/extendsfdf2.c: Likewise.
6497 * soft-fp/extendsftf2.c: Likewise.
6498 * soft-fp/extendxftf2.c: Likewise.
6499 * soft-fp/fixdfdi.c: Likewise.
6500 * soft-fp/fixdfsi.c: Likewise.
6501 * soft-fp/fixdfti.c: Likewise.
6502 * soft-fp/fixsfdi.c: Likewise.
6503 * soft-fp/fixsfsi.c: Likewise.
6504 * soft-fp/fixsfti.c: Likewise.
6505 * soft-fp/fixtfdi.c: Likewise.
6506 * soft-fp/fixtfsi.c: Likewise.
6507 * soft-fp/fixtfti.c: Likewise.
6508 * soft-fp/fixunsdfdi.c: Likewise.
6509 * soft-fp/fixunsdfsi.c: Likewise.
6510 * soft-fp/fixunsdfti.c: Likewise.
6511 * soft-fp/fixunssfdi.c: Likewise.
6512 * soft-fp/fixunssfsi.c: Likewise.
6513 * soft-fp/fixunssfti.c: Likewise.
6514 * soft-fp/fixunstfdi.c: Likewise.
6515 * soft-fp/fixunstfsi.c: Likewise.
6516 * soft-fp/fixunstfti.c: Likewise.
6517 * soft-fp/floatdidf.c: Likewise.
6518 * soft-fp/floatdisf.c: Likewise.
6519 * soft-fp/floatditf.c: Likewise.
6520 * soft-fp/floatsidf.c: Likewise.
6521 * soft-fp/floatsisf.c: Likewise.
6522 * soft-fp/floatsitf.c: Likewise.
6523 * soft-fp/floattidf.c: Likewise.
6524 * soft-fp/floattisf.c: Likewise.
6525 * soft-fp/floattitf.c: Likewise.
6526 * soft-fp/floatundidf.c: Likewise.
6527 * soft-fp/floatundisf.c: Likewise.
6528 * soft-fp/floatunditf.c: Likewise.
6529 * soft-fp/floatunsidf.c: Likewise.
6530 * soft-fp/floatunsisf.c: Likewise.
6531 * soft-fp/floatunsitf.c: Likewise.
6532 * soft-fp/floatuntidf.c: Likewise.
6533 * soft-fp/floatuntisf.c: Likewise.
6534 * soft-fp/floatuntitf.c: Likewise.
6535 * soft-fp/gedf2.c: Likewise.
6536 * soft-fp/gesf2.c: Likewise.
6537 * soft-fp/getf2.c: Likewise.
6538 * soft-fp/ledf2.c: Likewise.
6539 * soft-fp/lesf2.c: Likewise.
6540 * soft-fp/letf2.c: Likewise.
6541 * soft-fp/muldf3.c: Likewise.
6542 * soft-fp/mulsf3.c: Likewise.
6543 * soft-fp/multf3.c: Likewise.
6544 * soft-fp/negdf2.c: Likewise.
6545 * soft-fp/negsf2.c: Likewise.
6546 * soft-fp/negtf2.c: Likewise.
6547 * soft-fp/op-1.h: Likewise.
6548 * soft-fp/op-2.h: Likewise.
6549 * soft-fp/op-4.h: Likewise.
6550 * soft-fp/op-8.h: Likewise.
6551 * soft-fp/op-common.h: Likewise.
6552 * soft-fp/quad.h: Likewise.
6553 * soft-fp/single.h: Likewise.
6554 * soft-fp/soft-fp.h: Likewise.
6555 * soft-fp/subdf3.c: Likewise.
6556 * soft-fp/subsf3.c: Likewise.
6557 * soft-fp/subtf3.c: Likewise.
6558 * soft-fp/truncdfsf2.c: Likewise.
6559 * soft-fp/trunctfdf2.c: Likewise.
6560 * soft-fp/trunctfsf2.c: Likewise.
6561 * soft-fp/trunctfxf2.c: Likewise.
6562 * soft-fp/unorddf2.c: Likewise.
6563 * soft-fp/unordsf2.c: Likewise.
6564 * soft-fp/unordtf2.c: Likewise.
6565
4dfe21ac
RE
65662015-09-24 Richard Earnshaw <rearnsha@arm.com>
6567
6568 PR libgcc/67624
6569 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
6570
df2a1cc4
RO
65712015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6572
6573 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6574 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
6575 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
6576 messages.
6577 (internal_mcount): Likewise.
6578 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
6579 crt_compile, add CRTSTUFF_T_CFLAGS_S.
6580
2d110442
RO
65812015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6582
6583 * configure.ac (libgcc_cv_solaris_crts): New test.
6584 * configure: Regenerate.
6585 * config.in: Regenerate.
6586 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
6587 * config/gmon-sol2.c: Rename to ...
6588 * config/sol2/gmon.c: ... this.
6589 Include auto-target.h.
6590 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
6591 * config/t-sol2: Rename to ...
6592 * config/sol2/t-sol2: ... this.
6593 (gmon.o): Reflect renaming.
6594 (crtp.o, crtpg.o): New rules.
6595 * config.host (*-*-solaris2*): Reflect renaming.
6596 Use system CRTs if present.
6597 Remove default CRT case.
6598
d572e439
JDA
65992015-09-23 John David Anglin <danglin@gcc.gnu.org>
6600
6601 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
6602 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
6603 __kernel_cmpxchg2.
6604 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
6605 (__sync_val_compare_and_swap_##WIDTH): Likewise.
6606 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
6607 (__sync_lock_test_and_set_##WIDTH): Likewise.
6608 (__sync_lock_release_##WIDTH): Likewise.
6609 (__sync_fetch_and_##OP##_4): Change result to match type of
6610 __kernel_cmpxchg.
6611 (__sync_##OP##_and_fetch_4): Likewise.
6612 (__sync_val_compare_and_swap_4): Likewise.
6613 (__sync_bool_compare_and_swap_4): likewise.
6614 (__sync_lock_test_and_set_4): Likewise.
6615 (__sync_lock_release_4): Likewise.
6616 (FETCH_AND_OP_2): Add long long variants.
6617 (OP_AND_FETCH_2): Likewise.
6618 (COMPARE_AND_SWAP_2 ): Likewise.
6619 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6620 (SYNC_LOCK_RELEASE_2): Likewise.
6621 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
6622
7d296953 66232015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
6624
6625 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
6626 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
6627 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
6628 (get_available_features): Habdle new features.
6629
131314e1
JB
66302015-09-21 James Bowman <james.bowman@ftdichip.com>
6631
6632 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
6633 memory layout. Deal correctly with BSS region larger than 32K.
6634 Handle a watchdog reset like a power-on reset. Clean up unused
6635 code.
6636
04218b35
AD
66372015-09-18 Andrew Dixie <andrewd@gentrack.com>
6638 David Edelsohn <dje.gcc@gmail.com>
6639
6640 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6641 * config/rs6000/crtdbase.S: New file.
6642 * config/rs6000/t-aix-cxa: Build crtdbase.o.
6643
c8338173
MF
66442015-09-15 Max Filippov <jcmvbkbc@gmail.com>
6645
6646 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6647 Add support for call0 ABI.
6648
7a84bf71
JDA
66492015-09-13 John David Anglin <danglin@gcc.gnu.org>
6650
6651 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6652
4efab402
SH
66532015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
6654
6655 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6656 (__GTHREAD_HAS_COND): Likewise.
6657 (__gthread_t): Likewise.
6658 (__gthread_cond_t): Likewise.
6659 (__gthread_time_t): Likewise.
6660 (__GTHREAD_MUTEX_INIT): Likewise.
6661 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6662 (__GTHREAD_COND_INIT): Likewise.
6663 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6664 (__GTHREAD_TIME_INIT): Likewise.
6665 (__gthread_create): Likewise.
6666 (__gthread_join): Likewise.
6667 (__gthread_detach): Likewise.
6668 (__gthread_equal): Likewise.
6669 (__gthread_self): Likewise.
6670 (__gthread_yield): Likewise.
6671 (__gthread_cond_broadcast): Likewise.
6672 (__gthread_cond_signal): Likewise.
6673 (__gthread_cond_wait): Likewise.
6674 (__gthread_cond_timedwait): Likewise.
6675 (__gthread_cond_wait_recursive): Likewise.
6676 (__gthread_cond_destroy): Likewise.
6677 (rtems_gxx_once): Delete.
6678 (rtems_gxx_key_create): Likewise.
6679 (rtems_gxx_key_delete): Likewise.
6680 (rtems_gxx_getspecific): Likewise.
6681 (rtems_gxx_setspecific): Likewise.
6682 (rtems_gxx_mutex_init): Likewise.
6683 (rtems_gxx_mutex_destroy): Likewise.
6684 (rtems_gxx_mutex_lock): Likewise.
6685 (rtems_gxx_mutex_trylock): Likewise.
6686 (rtems_gxx_mutex_unlock): Likewise.
6687 (rtems_gxx_recursive_mutex_init): Likewise.
6688 (rtems_gxx_recursive_mutex_lock): Likewise.
6689 (rtems_gxx_recursive_mutex_trylock): Likewise.
6690 (rtems_gxx_recursive_mutex_unlock): Likewise.
6691 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6692 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6693 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6694 (__gthread_once): Likewise.
6695 (__gthread_key_create): Likewise.
6696 (__gthread_key_delete): Likewise.
6697 (__gthread_getspecific): Likewise.
6698 (__gthread_setspecific): Likewise.
6699 (__gthread_key_t): Use <pthread.h> type.
6700 (__gthread_once_t): Likewise
6701 (__gthread_mutex_t): Use <sys/lock.h> type.
6702 (__gthread_recursive_mutex_t): Likewise
6703 (__gthread_mutex_lock): Use <sys/lock.h> function.
6704 (__gthread_mutex_trylock): Likewise.
6705 (__gthread_mutex_timedlock): Likewise.
6706 (__gthread_mutex_unlock): Likewise.
6707 (__gthread_mutex_destroy): Likewise.
6708 (__gthread_recursive_mutex_lock): Likewise.
6709 (__gthread_recursive_mutex_trylock): Likewise.
6710 (__gthread_recursive_mutex_timedlock): Likewise.
6711 (__gthread_recursive_mutex_unlock): Likewise.
6712 (__gthread_recursive_mutex_destroy): Likewise.
6713
991995c4
MF
67142015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6715
6716 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6717 context->sp instead of context->cfa.
6718
0e19db59
MF
67192015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6720
6721 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6722 with unwind-dw2-fde-dip.
6723
b6ac5f62
MF
67242015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6725
6726 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6727 CALL12 followed by series of ENTRY to spill windowed registers.
6728 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6729 instead of making linux spill syscall.
6730
3e0f3349
YR
67312015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
6732
6733 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6734 (get_intel_cpu): Likewise.
6735
51c728b1
L
67362015-08-12 H.J. Lu <hongjiu.lu@intel.com>
6737
6738 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6739 (get_intel_cpu): Add Knights Landing support.
6740
aff4eeac
UB
67412015-08-11 Uros Bizjak <ubizjak@gmail.com>
6742
6743 PR target/66954
6744 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6745 (get_available_features): Handle FEATURE_PCLMUL.
6746
736e56da
L
67472015-08-10 H.J. Lu <hongjiu.lu@intel.com>
6748
6749 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6750 Broadwell.
6751
54d22142
UB
67522015-07-22 Uros Bizjak <ubizjak@gmail.com>
6753
6754 PR target/66954
6755 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6756 (get_available_features): Handle FEATURE_AES.
6757
20ca17e4
CLT
67582015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
6759
6760 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6761 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6762
ebe4a560
NS
67632015-07-17 Nathan Sidwell <nathan@codesourcery.com>
6764
6765 * offloadstuff.c: Constify host data.
6766
180744c0
JB
67672015-07-17 Jan Beulich <jbeulich@suse.com>
6768
6769 * config/t-softfp: Split up "else ifneq".
6770
a03c6ae3
SL
67712015-07-14 Sandra Loosemore <sandra@codesourcery.com>
6772 Cesar Philippidis <cesar@codesourcery.com>
6773 Chung-Lin Tang <cltang@codesourcery.com>
6774
6775 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6776 for __nios2_arch__ level.
6777
73358db5
JM
67782015-07-13 John Marino <gnugcc@marino.st>
6779
6780 * config/i386/t-dragonfly: New.
6781
f9a12f7b
JDA
67822015-07-01 John David Anglin <danglin@gcc.gnu.org>
6783
6784 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6785 better match light-weight syscall argument order.
6786 (__kernel_cmpxchg2): Likewise.
6787 Adjust callers.
6788
cb78b51c
L
67892015-06-30 H.J. Lu <hongjiu.lu@intel.com>
6790
6791 * config.host: Support i[34567]86-*-elfiamcu target.
6792 * config/t-softfp-sfdftf: New file.
6793 * config/i386/32/t-iamcu: Likewise.
6794 * configure: Regenerated.
6795
4fa0f9ea
JL
67962015-06-23 James Lemke <jwlemke@codesourcery.com>
6797
6798 libgcc/config/arm/
6799 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6800
428b3812
L
68012015-05-27 H.J. Lu <hongjiu.lu@intel.com>
6802
6803 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6804
7d296953 68052015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
6806
6807 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6808 md_unwind_header
6809 * config/i386/freebsd-unwind.h: New.
6810
9b789cc1
UB
68112015-05-22 Uros Bizjak <ubizjak@gmail.com>
6812
6813 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6814 i386/t-crtfm to tmake_file.
6815 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6816 (set_fast_math): Use set_fast_math_sse for SSE targets.
6817 * config/i386/t-crtfm: Remove.
6818
3dafb220
AM
68192015-05-21 Alan Modra <amodra@gmail.com>
6820
6821 PR libgcc/66225
6822 * config/rs6000/morestack.S: Remove ".abiversion 1".
6823
0f0fd745
AM
68242015-05-20 Alan Modra <amodra@gmail.com>
6825
6826 * config/rs6000/morestack.S: New.
6827 * config/rs6000/t-stack-rs6000: New.
6828 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6829 to tmake_file.
6830 * generic-morestack.c: Don't build for powerpc 32-bit.
6831
515ae71b
EB
68322015-05-19 Eric Botcazou <ebotcazou@adacore.com>
6833
6834 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6835 Remove useless endif/ifneq ($(enable_shared),yes) pair.
6836
36805406
JL
68372015-05-16 James Bowman <james.bowman@ftdichip.com>
6838
6839 * config.host: FT32 target added.
6840 * config/ft32/*: New files for FT32 target.
6841
ff935d0c
MG
68422015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
6843
385c7747
UB
6844 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6845 New macros.
6846 * config/arm/ieee754-df.S: Add CFI directives.
6847 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 6848
9b92a9f3
EB
68492015-05-13 Eric Botcazou <ebotcazou@adacore.com>
6850
6851 * configure.ac: Include config/sjlj.m4.
6852 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6853 * config.in: Regenerate.
6854 * configure: Likewise.
6855 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6856
98b5dc61
UB
68572015-05-12 Uros Bizjak <ubizjak@gmail.com>
6858
6859 * libgcov-util.c: Add space between string literal and macro name.
6860
5a0ff57c
SL
68612015-05-06 Sandra Loosemore <sandra@codesourcery.com>
6862 Chris Jones <chrisj@nvidia.com>
6863 Joshua Conner <jconner@nvidia.com>
6864
6865 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6866 (arm*-*-uclinux*): Likewise.
6867 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6868 * config/arm/crtfastmath.c: New file.
6869
d28ad5d4
BS
68702014-04-29 Bernd Schmidt <bernds@codesourcery.com>
6871
6872 * Makefile.in (real_host_noncanonical): New variable.
6873 (libsubdir): Use it.
6874 * configure.ac (real_host_noncanonical): Compute. Remove special
6875 case for intelmicemul.
6876 * configure: Regenerate.
6877
cc86234f
UB
68782015-04-28 Uros Bizjak <ubizjak@gmail.com>
6879
6880 * config/frv/elf-lib.h: New file.
6881 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6882 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6883 to tm_file.
6884
68852015-04-28 Uros Bizjak <ubizjak@gmail.com>
6886
6887 * config/frv/frvbengin.c: Do not include defaults.h
6888 * config/frv/frvend.c: Ditto.
6889
2f6bd6eb
YS
68902015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
6891
6892 * config.host: Add h8300-*-linux
6893 * config/h8300/t-linux: New file.
6894 * config/h8300/lib1funs.s: Change symbol prefix.
6895 * config/h8300/sfp-machine.h: 64bit double support.
6896
15aa7b44
GR
68972015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
6898 Szabolcs Nagy <szabolcs.nagy@arm.com>
6899
6900 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6901 Linux if target provides dl_iterate_phdr.
6902
abd0cdc9
L
69032015-04-17 H.J. Lu <hongjiu.lu@intel.com>
6904
6905 PR target/65612
6906 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6907 * config/i386/cpuinfo.c (__cpu_model): Initialize.
6908 (__cpu_indicator_init@GCC_4.8.0): New.
6909 (__cpu_model@GCC_4.8.0): Likewise.
6910 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6911 -DUSE_ELF_SYMVER.
6912
72ed1126
NC
69132015-04-16 Nick Clifton <nickc@redhat.com>
6914
6915 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6916 and __modhi3 functions.
6917 * config/rl78/divmodso.S: Add G14 and G13 versions of the
6918 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6919
d26b2237
CG
69202015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
6921
6922 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6923 do-while loop as macro body to avoid warnings.
6924
cacf1f59
JJ
69252015-04-10 Jakub Jelinek <jakub@redhat.com>
6926 Iain Sandoe <iain@codesourcery.com>
6927
6928 PR target/65351
6929 * configure: Regenerate.
6930
e8a4ed3b
JJ
69312015-04-07 Jakub Jelinek <jakub@redhat.com>
6932 Iain Sandoe <iain@codesourcery.com>
6933
6934 PR target/65351
6935 * configure: Regenerate.
6936
0341335e
CLT
69372015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
6938
6939 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6940
590e2636 69412015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 6942
590e2636
MF
6943 Implement call0 ABI for xtensa
6944 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6945 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6946 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6947 use ret in call0 ABI.
6948 * config/xtensa/t-windowed: New file.
6949 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6950 * libgcc/configure: Regenerated.
6951 * libgcc/configure.ac: Check if xtensa target is configured for
6952 windowed ABI and thus needs to use custom unwind code.
6953
7727f8f2
JW
69542015-02-12 Jonathan Wakely <jwakely@redhat.com>
6955
6956 PR libgcc/64885
6957 * gthr-single.h: Use __unused__ attribute instead of unused.
6958 * config/gthr-vxworks.h: Likewise.
6959 * config/i386/gthr-win32.h: Likewise.
6960
0e4a0def
KT
69612015-02-27 Kai Tietz <ktietz@redhat.com>
6962
6963 PR target/65038
6964 * config.in: Regenerated.
6965 * configure: Likewise.
6966 * configure.ac (AC_HEADER_STDC): Added explicit.
6967 (AC_CHECK_HEADERS): Check for default headers plus
6968 for ftw.h header.
6969 * libgcov-util.c (gcov_read_profile_dir): Disable use
6970 of ftw-function, if header is not found.
6971 (ftw_read_file): Likewise.
6972
b6530d0a
TS
69732015-02-23 Thomas Schwinge <thomas@codesourcery.com>
6974
6975 PR target/65181
6976 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6977 -Dinhibit_libc.
6978
53cfb467
SL
69792015-02-17 Sandra Loosemore <sandra@codesourcery.com>
6980
6981 * config/arm/bpabi.S (test_div_by_zero): Make label names
6982 consistent between thumb2 and arm mode cases. Separate the
6983 signed comparison on the high word of the numerator from the
6984 unsigned comparison on the low word.
6985 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6986 signed comparison.
6987
77d10a1b
JM
69882015-02-17 Joseph Myers <joseph@codesourcery.com>
6989
6990 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6991 and <string.h>.
6992 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6993
98174188
RE
69942015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
6995
6996 PR gcov-profile/61889
471274de 6997 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 6998
771bef14
NC
69992015-02-02 Nick Clifton <nickc@redhat.com>
7000
7001 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
7002 rounding up the fraction.
7003
40702893
JDA
70042015-01-31 John David Anglin <danglin@gcc.gnu.org>
7005
7006 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
7007 oldval and newval to const void *. Fix typo.
7008 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
7009 (FETCH_AND_OP_WORD): Likewise.
7010 (OP_AND_FETCH_WORD): Likewise.
7011 (COMPARE_AND_SWAP_2): Likewise.
7012 (__sync_val_compare_and_swap_4): Likewise.
7013 (__sync_lock_test_and_set_4): Likewise.
7014 (SYNC_LOCK_RELEASE_2): Likewise.
7015 Remove support for long long atomic operations.
7016
f7f049fa
CT
70172015-01-27 Caroline Tice <cmtice@google.com>
7018
7019 Committing VTV Cywin/Ming patch for Patrick Wollgast
7020 * Makefile.in: Move rules to build vtv_*.o out of the check
7021 for CUSTOM_CRTSTUFF.
7022 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
7023 i[34567]86-*-mingw*)
3d3b561f 7024 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
f7f049fa
CT
7025 enable_vtable_verify.
7026
8410904a
NC
70272015-01-27 Nick Clifton <nickc@redhat.com>
7028
7029 * config/rl78/cmpsi2.S: Use function start and end macros.
7030 (__gcc_bcmp): New function.
7031 * config/rl78/lshrsi3.S: Use function start and end macros.
7032 * config/rl78/mulsi3.S: Add support for G10.
7033 (__mulqi3): New function for G10.
7034 * config/rl78/signbit.S: Use function start and end macros.
7035 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
7036 fpmath-sf.S.
7037 (LIB2FUNCS_EXCLUDE): Define.
7038 (LIB2FUNCS_ST): Define.
7039 * config/rl78/trampoline.S: Use function start and end macros.
7040 * config/rl78/vregs.h (START_FUNC): New macro.
7041 (START_ANOTHER_FUNC): New macro.
7042 (END_FUNC): New macro.
7043 (END_ANOTHER_FUNC): New macro.
7044 * config/rl78/bit-count.S: New file. Contains assembler
7045 implementations of the bit counting functions: ___clzhi2,
7046 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
7047 __paritysi2, __popcounthi2 and __popcountsi2.
7048 * config/rl78/fpbit-sf.S: New file. Contains assembler
7049 implementationas of the math functions: __negsf2, __cmpsf2,
7050 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
7051 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
7052 * config/rl78/fpmath-sf.S: New file. Contains assembler
7053 implementations of the math functions: __subsf3, __addsf3,
7054 __mulsf3 and __divsf3
7055
f962fbf1
RO
70562015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7057
7058 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
7059 Add i386/elf-lib.h to tm_file.
7060 * config/i386/elf-lib.h: Fix comment.
7061 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
7062 && __sun__ && __svr4__]: Remove workaround.
7063
939911c5
ASJ
70642015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
7065
7066 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
7067 FEATURE_BMI2.
7068 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
7069
c8f2dff2
L
70702015-01-24 H.J. Lu <hongjiu.lu@intel.com>
7071
7072 * config/i386/cpuinfo.c (processor_subtypes): Add
7073 INTEL_COREI7_BROADWELL.
7074 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
7075 model numbers.
7076
7bbf9734
UB
70772015-01-23 Uros Bizjak <ubizjak@gmail.com>
7078
7079 * config/i386/elf-lib.h: New file.
7080 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
7081 Wrap definition in #ifdef __i386__.
7082 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7083 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
7084 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
7085 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
7086 to tm_file.
7087
324820f1
CG
70882015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
7089
7090 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
7091 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
7092
a9ce4e4a
CLT
70932015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
7094
7095 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
7096 Update rt_sigframe format and address for current Nios II
7097 Linux conventions.
7098
82a19768
AT
70992015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
7100
7101 * config.host (arm*-*-freebsd*): Add new configuration for
7102 arm*-*-freebsd*.
7103 * config/arm/freebsd-atomic.c: New file.
7104 * config/arm/t-freebsd: Likewise.
7105 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
7106 'PC-relative indirect' OS's.
7107
0969ec7d
EB
71082015-01-06 Eric Botcazou <ebotcazou@adacore.com>
7109
7110 * config.host: Add Visium support.
7111 * config/visium: New directory.
7112
5624e564
JJ
71132015-01-05 Jakub Jelinek <jakub@redhat.com>
7114
7115 Update copyright years.
7116
82f84ecb
MF
71172014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
7118
7119 * config.host: Support mipsisa32r6 and mipsisa64r6.
7120 * config/mips/mips16.S: Do not build for R6.
7121
69044fa9
OE
71222014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
7123
7124 * config/sh/crt.h: New.
7125 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
7126 symbols.
7127 * config/sh/crt1.S: Likewise.
7128
2405e0ea
UB
71292014-12-15 Uros Bizjak <ubizjak@gmail.com>
7130
7131 PR libgcc/63832
7132 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
7133 func_ptr *dtor_list temporary variable to avoid "array subscript
7134 is above array bounds" warnings.
7135
7d296953 71362014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
7137
7138 * Makefile.in (with_aix_soname): Define.
7139 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
7140 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
7141 * configure: Recreate.
7142
a66272f6
OH
71432014-12-05 Olivier Hainque <hainque@adacore.com>
7144
7145 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
7146 now provided by defaults.h.
7147
6342b2c5
OE
71482014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
7149
7d0ee249 7150 PR target/55351
6342b2c5
OE
7151 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
7152 whether it's defined.
7153
c17eac85
IT
71542014-11-27 Ilya Tocar <ilya.tocar@intel.com>
7155
7156 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
7157 * config/i386/cpuinfo.c (get_available_features): Detect it.
7158
1025cb6c
TW
71592014-11-27 Tony Wang <tony.wang@arm.com>
7160
7161 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
7162 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
7163 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
7164
d19f2e38
SB
71652014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
7166
7167 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
7168
17f6e9a3
JDA
71692014-11-24 John David Anglin <danglin@gcc.gnu.org>
7170
7171 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
7172 instead.
7173
0cd7c672
GM
71742014-11-21 Guy Martin <gmsoft@tuxicoman.be>
7175 John David Anglin <danglin@gcc.gnu.org>
7176
7177 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
7178 (FETCH_AND_OP_2): New. Use for subword and double word operations.
7179 (OP_AND_FETCH_2): Likewise.
7180 (COMPARE_AND_SWAP_2): Likewise.
7181 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
7182 (SYNC_LOCK_RELEASE_2): Likewise.
7183 (SUBWORD_SYNC_OP): Remove.
7184 (SUBWORD_VAL_CAS): Likewise.
7185 (SUBWORD_BOOL_CAS): Likewise.
7186 (FETCH_AND_OP_WORD): Update.
7187 Consistently use signed types.
cc86234f 7188
85c64bbe
BS
71892014-11-13 Bernd Schmidt <bernds@codesourcery.com>
7190 Thomas Schwinge <thomas@codesourcery.com>
7191 Ilya Verbin <ilya.verbin@intel.com>
7192 Andrey Turetskiy <andrey.turetskiy@intel.com>
7193
7194 * Makefile.in (crtoffloadbegin$(objext)): New rule.
7195 (crtoffloadend$(objext)): Likewise.
7196 * configure: Regenerate.
7197 * configure.ac (accel_dir_suffix): Compute new variable.
7198 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
7199 if enable_offload_targets is not empty.
7200 * offloadstuff.c: New file.
7201
52a1ff8b
NC
72022014-11-13 Nick Clifton <nickc@redhat.com>
7203
7204 * config/rl78/divmodhi.S: Add support for the G10 architecture.
7205 Use START_FUNC and END_FUNC macros to enable linker garbage
7206 collection.
7207 * config/rl78/divmodqi.S: Likewise.
7208 * config/rl78/divmodsi.S: Likewise.
7209 * config/rl78/mulsi3.S: Likewise.
7210 * config/rl78/lib2div.c: Remove G10 functions.
7211 * config/rl78/lib2muls.c: Likewise.
7212 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
7213 * config/rl78/vregs.h (START_FUNC): New macro.
7214 (END_FUNC): New macro.
7215
050af144
MF
72162014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
7217
7218 * config/mips/mips16.S: Set .module when supported. Update O32
7219 FP64 calling convention and use for FPXX when possible. Add FPXX
7220 calling convention fallback case.
7221
738f2522
BS
72222014-11-06 Bernd Schmidt <bernds@codesourcery.com>
7223
7224 * config.host: Handle nvptx-*-*.
7225 * shared-object.mk (as-flags-$o): Define.
7226 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
7227 -xassembler-with-cpp.
7228 * static-object.mk: Identical changes.
7229 * config/nvptx/t-nvptx: New file.
7230 * config/nvptx/crt0.s: New file.
7231 * config/nvptx/free.asm: New file.
7232 * config/nvptx/malloc.asm: New file.
7233 * config/nvptx/realloc.c: New file.
7234
e610393c
JM
72352014-10-30 Joseph Myers <joseph@codesourcery.com>
7236
7237 * Makefile.in (libgcc.map.in): New target.
7238 (libgcc.map): Use libgcc.map.in.
7239 * config/t-softfp (softfp_compat): New variable to be set by
7240 users.
7241 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
7242 variables.
7243 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
7244 directory.
7245 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
7246 that use compat symbols and disable all code unless [SHARED].
7247 * config/t-softfp-compat: New file.
7248 * find-symver.awk: New file.
7249 * configure.ac (--with-glibc-version): New configure option.
7250 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
7251 * configure: Regenerate.
7252 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
7253 soft-float and e500.
7254
bc1b3a88
JM
72552014-10-29 Joseph Myers <joseph@codesourcery.com>
7256
7257 * config/t-hardfp (hardfp_exclusions): Document new variable for
7258 user to define.
7259 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
7260 * config/t-softfp (softfp_extras): Document new variable for user
7261 to define.
7262 (softfp_func_list): Add functions from $(softfp_extras).
7263 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
7264 * config.host (powerpc*-*-linux*): For e500v1, use
7265 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
7266 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
7267 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
7268
ef2810c1
JDA
72692014-10-26 John David Anglin <danglin@gcc.gnu.org>
7270
7271 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
7272 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
7273 memory read accesses are ok.
7274
d80c2bea
JM
72752014-10-25 Joseph Myers <joseph@codesourcery.com>
7276
7277 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
7278 * configure: Regenerate.
7279 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
7280 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
7281 of soft-fp for 32-bit classic hard float. Do not use
7282 t-softfp-excl for soft float.
7283
693b297b
JM
72842014-10-22 Joseph Myers <joseph@codesourcery.com>
7285
7286 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
7287 configurations.
7288 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
7289 Remove variables.
7290
18a3415e
GJL
72912014-10-22 Georg-Johann Lay <avr@gjlay.de>
7292
7293 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
7294 introduced with 2014-10-21 trunk r216525.
7295
c1dd9790 72962014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
7297 Vidya Praveen <vidya.praveen@atmel.com>
7298 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
7299 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
7300 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
7301
7302 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
7303 order.
7304
7305 Updated library functions for AVRTINY arch.
7306 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
7307 Replaced occurrences of r0/r1 with tmp/zero reg macros.
7308 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
7309 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
7310 wsubi/wadi macors.
7311 (__mulsi3_helper): Update stack, preserve callee saved regs and
7312 argument from stack. Restore callee save registers.
7313 (__mulpsi3): Likewise.
7314 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
7315 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 7316 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
7317 AVRTINY.
7318 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
7319 (__do_copy_data): Added new definition for AVRTINY.
7320 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
7321 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
7322 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
7323 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
7324 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
7325 macors.
18a3415e 7326 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
7327 AVRTINY.
7328
18a3415e 7329 Fix broken long multiplication on tiny arch.
c1dd9790 7330
5f606431
JM
73312014-10-09 Joseph Myers <joseph@codesourcery.com>
7332
7333 * soft-fp/double.h: Update from glibc.
7334 * soft-fp/eqdf2.c: Likewise.
7335 * soft-fp/eqsf2.c: Likewise.
7336 * soft-fp/eqtf2.c: Likewise.
7337 * soft-fp/extenddftf2.c: Likewise.
7338 * soft-fp/extended.h: Likewise.
7339 * soft-fp/extendsfdf2.c: Likewise.
7340 * soft-fp/extendsftf2.c: Likewise.
7341 * soft-fp/extendxftf2.c: Likewise.
7342 * soft-fp/gedf2.c: Likewise.
7343 * soft-fp/gesf2.c: Likewise.
7344 * soft-fp/getf2.c: Likewise.
7345 * soft-fp/ledf2.c: Likewise.
7346 * soft-fp/lesf2.c: Likewise.
7347 * soft-fp/letf2.c: Likewise.
7348 * soft-fp/op-1.h: Likewise.
7349 * soft-fp/op-2.h: Likewise.
7350 * soft-fp/op-4.h: Likewise.
7351 * soft-fp/op-8.h: Likewise.
7352 * soft-fp/op-common.h: Likewise.
7353 * soft-fp/quad.h: Likewise.
7354 * soft-fp/single.h: Likewise.
7355 * soft-fp/soft-fp.h: Likewise.
7356 * soft-fp/unorddf2.c: Likewise.
7357 * soft-fp/unordsf2.c: Likewise.
7358 * soft-fp/unordtf2.c: Likewise.
7359 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
7360 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
7361 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
7362 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
7363 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
7364 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
7365 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
7366 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
7367 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
7368 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
7369
9b84e7a8
RX
73702014-10-08 Rong Xu <xur@google.com>
7371
7372 * libgcov-util.c (read_gcda_file): Fix format.
7373 (find_match_gcov_info): Ditto.
7374 (calculate_2_entries): New.
7375 (compute_one_gcov): Ditto.
7376 (gcov_info_count_all_cold): Ditto.
7377 (gcov_info_count_all_zero): Ditto.
7378 (extract_file_basename): Ditto.
7379 (get_file_basename): Ditto.
7380 (set_flag): Ditto.
7381 (matched_gcov_info): Ditto.
7382 (calculate_overlap): Ditto.
7383 (gcov_profile_overlap): Ditto.
7384 * libgcov-driver.c (compute_summary): Make
7385 it avavilable for external calls.
7386
fe1090c1
RX
73872014-10-06 Rong Xu <xur@google.com>
7388
7389 * Makefile.in: Ditto.
7390 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
7391 (gcov_sort_icall_topn_counter): Ditto.
7392 (gcov_sort_topn_counter_arrays): Ditto.
7393 (dump_one_gcov): Sort indirect_call topn counters.
7394 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
7395 function.
7396 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
7397 utility function.
7398 (__gcov_indirect_call_topn_profiler): New profiler function.
7399 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
7400 * libgcov.h: New decls.
7401
3daa7bbf
TS
74022014-10-04 Trevor Saunders <tsaunders@mozilla.com>
7403
7404 * config.host: Remove support for score-*.
7405
9a79452d
JM
74062014-09-22 Joseph Myers <joseph@codesourcery.com>
7407
7408 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7409 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
7410 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
7411 __LIBGCC_XF_MANT_DIG__.
7412 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
7413 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
7414 __LIBGCC_TF_MANT_DIG__.
7415 * libgcc2.c (NOTRUNC): Define in terms of
7416 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
7417 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7418
1a849e50
JM
74192014-09-22 Joseph Myers <joseph@codesourcery.com>
7420
7421 PR target/63312
7422 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
7423 New macros.
7424
598a1586
HPN
74252014-09-22 Hans-Peter Nilsson <hp@axis.com>
7426
7427 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
7428 override USE_PT_GNU_EH_FRAME.
7429 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
7430 check USE_EH_FRAME_REGISTRY_ALWAYS against
7431 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
7432 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
7433 variable for substituted force_explicit_eh_registry.
7434 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
7435 * configure.ac (explicit-exception-frame-registration):
7436 New AC_ARG_ENABLE.
7437 * configure: Regenerate.
7438
3a8fe7c6
OH
74392014-09-19 Olivier Hainque <hainque@adacore.com>
7440
7441 * config.host (powerpc-wrs-vxworksmils): New configuration,
7442 same as vxworksae.
7443
dd69f047
JM
74442014-09-18 Joseph Myers <joseph@codesourcery.com>
7445
7446 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
7447
e770bfd9
JM
74482014-09-18 Joseph Myers <joseph@codesourcery.com>
7449
7450 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
7451 bits not set bits as indicating trapping exceptions.
7452
cadb2b96
NS
74532014-09-17 Nathan sidwell <nathan@acm.org>
7454
7455 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
7456 (LIBGCOV_DRIVER): ... here.
7457 * libgcov-driver.c (gcov_master): New.
7458 (gcov_exit): Remove from master chain.
7459 (__gcov_init): Add to master chain if version compatible. Don't
7460 clear the version.
7461 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
7462 (gcov_reset_int): Clear master chain, if compatible.
7463 (gcov_dump_int): New internal interface. Dump master chain, if
7464 compatible.
7465 (gcov_dump): Alias for gcov_dump_int.
7466 * libgcov.h (struct gcov_root): Add next and prev fields.
7467 (struct gcov_master): New struct.
7468 (__gcov_master): New.
7469 (gcov_dump_int): Declare.
7470
580d22a3
OH
74712014-09-17 Olivier Hainque <hainque@adacore.com>
7472
7473 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
7474 and crtbegin.o + crtend.o to extra_parts.
7475
8cc4b7a2
JM
74762014-09-12 Joseph Myers <joseph@codesourcery.com>
7477
7478 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
7479 __LIBGCC_HAS_SF_MODE__.
7480 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7481 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7482 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7483 * config/libbid/bid_gcc_intrinsics.h
7484 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7485 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7486 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7487 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7488 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
7489 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7490
ea3f2b24
GJL
74912014-09-11 Georg-Johann Lay <avr@gjlay.de>
7492
7493 PR target/63223
7494 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
7495 and R24 as needed. Make work for all devices and .text locations.
7496 (__do_global_ctors, __do_global_dtors): Use word addresses.
7497 (__tablejump__, __tablejump_elpm__): Remove functions.
7498 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
7499 Add _tablejump2.
7500 (XICALL, XIJMP): New macros.
7501
b677236a
MS
75022014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
7503 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7504
7505 * config.host (aarch64*): Include crtfastmath.o and
7506 t-crtfm.
7507 * config/aarch64/crtfastmath.c: New file.
7508
157e859f
TS
75092014-09-08 Trevor Saunders <tsaunders@mozilla.com>
7510
7511 * config.host: Remove picochip support.
7512 * config/picochip/adddi3.S: Remove.
7513 * config/picochip/ashlsi3.S: Remove.
7514 * config/picochip/ashlsi3.c: Remove.
7515 * config/picochip/ashrsi3.S: Remove.
7516 * config/picochip/ashrsi3.c: Remove.
7517 * config/picochip/clzsi2.S: Remove.
7518 * config/picochip/cmpsi2.S: Remove.
7519 * config/picochip/divmod15.S: Remove.
7520 * config/picochip/divmodhi4.S: Remove.
7521 * config/picochip/divmodsi4.S: Remove.
7522 * config/picochip/lib1funcs.S: Remove.
7523 * config/picochip/longjmp.S: Remove.
7524 * config/picochip/lshrsi3.S: Remove.
7525 * config/picochip/lshrsi3.c: Remove.
7526 * config/picochip/parityhi2.S: Remove.
7527 * config/picochip/popcounthi2.S: Remove.
7528 * config/picochip/setjmp.S: Remove.
7529 * config/picochip/subdi3.S: Remove.
7530 * config/picochip/t-picochip: Remove.
7531 * config/picochip/ucmpsi2.S: Remove.
7532 * config/picochip/udivmodhi4.S: Remove.
7533 * config/picochip/udivmodsi4.S: Remove.
7534
66bb34c0
JM
75352014-09-08 Joseph Myers <joseph@codesourcery.com>
7536
7537 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
7538 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
7539 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
7540 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
7541 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
7542 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
7543 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
7544 defined and LIBGCC2_HAS_DF_MODE is defined.
7545 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
7546 defined and LIBGCC2_HAS_XF_MODE is defined.
7547 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
7548 defined and LIBGCC2_HAS_TF_MODE is defined.
7549
9686a2e6
JM
75502014-09-08 Joseph Myers <joseph@codesourcery.com>
7551
7552 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
7553 and ROUND_TOWARDS_ZERO conditionals.
7554
71c3e2ef
NS
75552014-09-07 Nathan sidwell <nathan@acm.org>
7556
7557 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
7558 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
7559
53d68b9f
JM
75602014-09-05 Joseph Myers <joseph@codesourcery.com>
7561
7562 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
7563 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7564 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7565 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7566 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7567 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7568 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7569 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
7570 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
7571 (DWARF_FRAME_REGISTERS): Change all uses to
7572 __LIBGCC_DWARF_FRAME_REGISTERS__.
7573 (EH_RETURN_STACKADJ_RTX): Change all uses to
7574 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7575 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
7576 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
7577 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
7578 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
7579 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
7580 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
7581 to __LIBGCC_EH_FRAME_SECTION_NAME__.
7582 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
7583 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
7584 __LIBGCC_STACK_POINTER_REGNUM__.
7585 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7586 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7587 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7588 to __LIBGCC_STACK_POINTER_REGNUM__.
7589 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7590 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7591 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7592 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7593 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7594 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7595 (STACK_POINTER_REGNUM): Change all uses to
7596 __LIBGCC_STACK_POINTER_REGNUM__.
7597 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
7598 use to __LIBGCC_STACK_POINTER_REGNUM__.
7599 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7600 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7601 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
7602 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7603 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
7604 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7605 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7606 to __LIBGCC_STACK_POINTER_REGNUM__.
7607 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
7608 Remove conditional definition.
7609 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
7610 __LIBGCC_TEXT_SECTION_ASM_OP__.
7611 (EH_FRAME_SECTION_NAME): Change all uses to
7612 __LIBGCC_EH_FRAME_SECTION_NAME__.
7613 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
7614 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
7615 (CTORS_SECTION_ASM_OP): Change all uses to
7616 __LIBGCC_CTORS_SECTION_ASM_OP__.
7617 (DTORS_SECTION_ASM_OP): Change all uses to
7618 __LIBGCC_DTORS_SECTION_ASM_OP__.
7619 (JCR_SECTION_NAME): Change all uses to
7620 __LIBGCC_JCR_SECTION_NAME__.
7621 (INIT_SECTION_ASM_OP): Change all uses to
7622 __LIBGCC_INIT_SECTION_ASM_OP__.
7623 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7624 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7625 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
7626 __LIBGCC_STACK_GROWS_DOWNWARD__.
7627 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
7628 __LIBGCC_INIT_SECTION_ASM_OP__.
7629 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7630 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7631 (EH_FRAME_SECTION_NAME): Change all uses to
7632 __LIBGCC_EH_FRAME_SECTION_NAME__.
7633 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
7634 definitions. Change all uses to
7635 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
7636 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
7637 __LIBGCC_STACK_GROWS_DOWNWARD__.
7638 (DWARF_FRAME_REGISTERS): Change all uses to
7639 __LIBGCC_DWARF_FRAME_REGISTERS__.
7640 (EH_RETURN_STACKADJ_RTX): Change all uses to
7641 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7642 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7643 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7644 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7645 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7646 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7647
b20ee094
NS
76482014-09-02 Nathan sidwell <nathan@acm.org>
7649
7650 * libgcov-interface.c (STRONG_ALIAS): New.
7651 (__gcov_flush): Call __gcov_reset_int.
7652 (__gcov_reset): Strong alias for ...
7653 (__gcov_reset_ing): ... this renamed hidden version.
7654 * libgcov.h (__gcov_reset_int): New declaration.
7655
1ac83976
YS
76562014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
7657
25efdb9f
YS
7658 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7659 call from here...
7660 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7661 (__dso_handle): Define on Cygwin.
7662 * config/i386/t-cygming (crtbeginS.o): New rule.
7663 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7664
1ac83976
YS
7665 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7666 declaration syntax.
7667
c6f9ea3b
SE
76682014-08-13 Steve Ellcey <sellcey@mips.com>
7669
7670 * crtstuff.c: Undef caddr_t.
7671
5b1ea7c5
SE
76722014-08-12 Steve Ellcey <sellcey@mips.com>
7673
7674 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
7675
4303c581
NS
76762014-08-07 Nathan Sidwell <nathan@acm.org>
7677
7678 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7679 (LIBGCOV_DRIVER): ... to here.
7680 * libgcov.h (gcov_do_dump): New #define.
7681 (struct gcov_root): New.
7682 (__gcov_root): New declaration.
7683 (__gcov_dump_one): Declare.
7684 * libgcov-driver.c (gcov_list, gcov_dump_complete,
7685 run_accounted): Delete.
7686 (gcov_compute_histogram): Add LIST argument, adjust.
7687 (compute_summary): Adjust gcov_compute_histogram call.
7688 (gcov_do_dump): Not hidden, static in libgcov.
7689 (gcov_clear): Move to interface.c.
7690 (__gcov_dump_one): New, broken out of ...
7691 (gcov_exit): ... here. Make static.
7692 (__gcov_root): New.
7693 (__gcov_init): Adjust.
7694 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7695 declarations.
7696 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7697 (gcov_clear): Moved from driver.c. Add LIST argument.
7698 (__gcov_reset): Adjust for changed interfaces.
7699 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7700
23742a9e
RAR
77012014-08-04 Rohit <rohitarulraj@freescale.com>
7702
7703 PR target/60102
7704 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 7705 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 7706
b98a872b
NS
77072014-08-01 Nathan Sidwell <nathan@acm.org>
7708
7709 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7710 LIBGCOV_INTERFACE): Reformat.
7711 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7712 IN_GCOV_TOOL.
7713 * libgcov-interface.c: Reformat some comments.
7714 (__gcov_flush_mx): Add declaration. Tidy up definition.
7715
6adaaa1d
AM
77162014-07-31 Alan Modra <amodra@gmail.com>
7717 Peter Bergner <bergner@vnet.ibm.com>
7718
7719 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7720 (pack_ldouble): New function.
7721 (__gcc_qadd): Use it.
7722 (__gcc_qmul): Likewise.
7723 (__gcc_qdiv): Likewise.
7724 (__gcc_qneg): Likewise.
7725 (__gcc_stoq): Likewise.
7726 (__gcc_dtoq): Likewise.
7727
87cb0c0c
UW
77282014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
7729
7730 * config/s390/tpf-unwind.h: Include <stdbool.h>.
7731 (__tpf_eh_return): Add original return address as second parameter.
7732 Handle cases where unwinder routines were called directly, instead
7733 of from within the C++ library.
7734
19926161
NS
77352014-07-29 Nathan Sidwell <nathan@acm.org>
7736
7737 * libgcov.h: Move renaming of entry points to lib gcov specific
7738 portion.
7739 (gcov_do_dump): New rename.
7740 (gcov_rewrite): Remove inline, make HIDDEN.
7741 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7742 (gcov_exit_compute_summary): Rename to ...
7743 (compute_summary): ... here. Add LIST argument.
7744 (gcov_exit_merge_gcda): Rename to ...
7745 (merge_one_data): ... here.
7746 (gcov_exit_write_gcda): Rename to ...
7747 (write_one_data): ... here.
7748 (gcov_exit_merge_summary): Rename to ...
7749 (merge_summary): Add RUN_COUNTED argument.
7750 (gcov_exit_dump_gcov): Rename to ...
7751 (dump_one_gcov): Add RUN_COUNTED argument.
7752 (gcov_do_dump): New function, broken out of ...
7753 (gcov_exit): ... here. Call it.
7754
17522262
AG
77552014-07-27 Anthony Green <green@moxielogic.com>
7756
7757 * config.host: Add moxiebox configuration suppport.
7758
6dc33097
NS
77592014-07-27 Nathan Sidwell <nathan@acm.org>
7760
7761 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7762 (struct gcov_filename): ... here. Include buffer and max length
7763 fields.
7764 (gcov_max_filename): Remove.
7765 (gi_filename): Remove.
7766 (gcov_exit_compute_summary): Compute max filename here.
7767 (gcov_exit_merge_gcda): Add filename parm, adjust.
7768 (gcov_exit_merge_summary): Likewise.
7769 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7770 (gcov_exit): Likewise.
7771 (__gcov_init): Don't calculate max length here.
7772 * libgcov_util.c (max_filename_len): Remove.
7773 (read_gcda_file): Don't calculate max length here.
7774 (gcov_read_profile_dir): Don't propagate here.
7775 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7776 struct gcov_filename changes.
7777 (gcov_exit_open_gcda_file): Likewise.
7778
770f687d
NS
77792014-07-25 Nathan Sidwell <nathan@acm.org>
7780
7781 * libgcov-driver.c (set_gcov_dump_complete,
7782 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7783 functions polluting user's namespace.
7784 (gcov_exit): Set variable directly.
7785 (gcov_clear): Reset variable directly.
7786 * libgcov-interface.c (get_gcov_dymp_complete,
7787 reset_gov_dump_complete): Remove declarations.
7788 (__gcov_reset, __gcov_dump): Don't call them.
7789
fabf71ba
DD
77902014-07-24 DJ Delorie <dj@redhat.com>
7791
7792 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
7793 (__gcc_deregister_frame): Move logic to detect deregister function
7794 to ...
7795 (__gcc_register_frame): here, so it's consistent with the register
7796 logic.
fabf71ba 7797
d10ee722
NS
77982014-07-23 Nathan Sidwell <nathan@acm.org>
7799
7800 * libgcov-driver.c (set_gcov_list): Remove.
7801 (gcov_list): Make non-static in GCOV_TOOL.
7802 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7803
a4137090
JDA
78042014-07-17 John David Anglin <danglin@gcc.gnu.org>
7805
7806 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7807 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7808 Don't use SYNC_LOCK_RELEASE for int type.
7809
72602c6c
RB
78102014-07-14 Richard Biener <rguenther@suse.de>
7811
7812 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7813
d5313205
RX
78142014-07-11 Rong Xu <xur@google.com>
7815
7816 * libgcov-util.c (gcov_max_filename): Fix declartion.
7817
c77556a5
RX
78182014-07-10 Rong Xu <xur@google.com>
7819
7820 Add gcov-tool: an offline gcda profile processing tool
7821 Support.
7822 * libgcov-driver.c (gcov_max_filename): Make available
7823 to gcov-tool.
7824 * libgcov-merge.c (__gcov_merge_add): Replace
7825 gcov_read_counter() with a Macro.
7826 (__gcov_merge_ior): Ditto.
7827 (__gcov_merge_time_profile): Ditto.
7828 (__gcov_merge_single): Ditto.
7829 (__gcov_merge_delta): Ditto.
7830 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7831 in the utility functions.
7832 (set_fn_ctrs): Utility function for reading gcda files to in-memory
7833 gcov_list object link lists.
7834 (tag_function): Ditto.
7835 (tag_blocks): Ditto.
7836 (tag_arcs): Ditto.
7837 (tag_lines): Ditto.
7838 (tag_counters): Ditto.
7839 (tag_summary): Ditto.
7840 (read_gcda_finalize): Ditto.
7841 (read_gcda_file): Ditto.
7842 (ftw_read_file): Ditto.
7843 (read_profile_dir_init): Ditto.
7844 (gcov_read_profile_dir): Ditto.
7845 (gcov_read_counter_mem): Ditto.
7846 (gcov_get_merge_weight): Ditto.
7847 (merge_wrapper): A wrapper function that calls merging handler.
7848 (gcov_merge): Merge two gcov_info objects with weights.
7849 (find_match_gcov_info): Find the matched gcov_info in the list.
7850 (gcov_profile_merge): Merge two gcov_info object lists.
7851 (__gcov_add_counter_op): Process edge profile counter values.
7852 (__gcov_ior_counter_op): Process IOR profile counter values.
7853 (__gcov_delta_counter_op): Process delta profile counter values.
7854 (__gcov_single_counter_op): Process single profile counter values.
7855 (fp_scale): Callback function for float-point scaling.
cc86234f 7856 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
7857 (gcov_profile_scale): Scaling profile counters.
7858 (gcov_profile_normalize): Normalize profile counters.
7859 * libgcov.h: Add headers and functions for gcov-tool use.
7860 (gcov_get_counter): New.
7861 (gcov_get_counter_target): Ditto.
7862 (struct gcov_info): Make the functions field mutable in gcov-tool
7863 compilation.
7864
5c7dac8a
KT
78652014-06-23 Kai Tietz <ktietz@redhat.com>
7866
7867 PR libgcc/61585
7868 * unwind-seh.c (_Unwind_GetGR): Check for proper
7869 index range.
7870 (_Unwind_SetGR): Likewise.
7871
161c9312
NC
78722014-05-22 Nick Clifton <nickc@redhat.com>
7873
7874 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7875 -mhwmult=none.
7876
e3f0315f
TJ
78772014-05-22 Teresa Johnson <tejohnson@google.com>
7878
7879 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7880 include.
7881
dbed5a9b
JM
78822014-05-20 John Marino <gnugcc@marino.st>
7883
7884 * config.host (*-*-dragonfly*): New target.
7885 * crtstuff.c: Make dl_iterate_support generic on *bsd.
7886 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7887 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7888 * config/i386/dragonfly-unwind.h: New.
7889
1ec380e5
MR
78902014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7891
7892 PR libgcc/60166
7893 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7894 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7895
54fde020
BE
78962014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
7897
7898 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7899 implementation.
7900
999db125
GJL
79012014-05-12 Georg-Johann Lay <avr@gjlay.de>
7902
7903 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7904
cceaf54a
RO
79052014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7906
7907 PR libgcc/61097
7908 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7909 if --enable-shared.
7910
e3fe9b5b
BE
79112014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
7912
7913 Work around for current cygwin32 build problems.
7914 * config/i386/cygming-crtbegin.c (__register_frame_info,
7915 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7916 functions only for 64-bit systems.
7917
54cf37e9
RO
79182014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7919
7920 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7921 (sigill_caught, sigill_hdlr): Remove.
7922
d9f069ab
RO
79232014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7924
7925 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7926 check.
7927 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7928 Solaris 9 single-threaded support.
7929 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7930 Solaris 9 single-threaded support. Add call_user_handler code
7931 sequences.
7932 (sparc_is_sighandler): Likewise.
7933
59976ef8
AK
79342014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7935
7936 * config.host: Append t-floattodi to tmake_file depending on
7937 host_address.
7938
d02bbcf3
JS
79392014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
7940
31466bc0 7941 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 7942
c2e7e597
UB
79432014-03-10 Uros Bizjak <ubizjak@gmail.com>
7944
7945 PR libgcc/60472
7946 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 7947 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
7948 Use __builtin_expect when checking *jcr_list for NULL.
7949
227a7dc8
RO
79502014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7951
7952 PR libgcc/59339
7953 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7954 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7955 vtv_*.o to extra_parts if enable_vtable_verify.
7956
df2b279c
NC
79572014-03-06 Nick Clifton <nickc@redhat.com>
7958
7959 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7960 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7961
dc11d79b
JY
79622014-02-28 Joey Ye <joey.ye@arm.com>
7963
7964 PR libgcc/60166
7965 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7966 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7967 Set to zero.
7968
341c653c
WL
79692014-02-24 Walter Lee <walt@tilera.com>
7970
7971 * config.host: Support "tilegx*" and "tilepro*" triplets.
7972 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7973 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7974
95ce7613
CLT
79752014-02-20 Sandra Loosemore <sandra@codesourcery.com>
7976 Chung-Lin Tang <cltang@codesourcery.com>
7977
7978 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7979 * config/nios2/crti.S: Remove .file directive.
7980 * config/nios2/crtn.S: Likewise.
7981
0bb4fc05
KT
79822014-02-18 Kai Tietz <ktietz@redhat.com>
7983 Jonathan Schleifer <js@webkeks.org>
7984
7985 PR objc/56870
7986 * unwind-seh.c (_GCC_specific_handler): Pass proper
7987 value to unwind-handler.
7988
9acf28f1
JM
79892014-02-12 Joseph Myers <joseph@codesourcery.com>
7990
7991 * soft-fp/adddf3.c: Update from glibc.
7992 * soft-fp/addsf3.c: Likewise.
7993 * soft-fp/addtf3.c: Likewise.
7994 * soft-fp/divdf3.c: Likewise.
7995 * soft-fp/divsf3.c: Likewise.
7996 * soft-fp/divtf3.c: Likewise.
7997 * soft-fp/double.h: Likewise.
7998 * soft-fp/eqdf2.c: Likewise.
7999 * soft-fp/eqsf2.c: Likewise.
8000 * soft-fp/eqtf2.c: Likewise.
8001 * soft-fp/extenddftf2.c: Likewise.
8002 * soft-fp/extended.h: Likewise.
8003 * soft-fp/extendsfdf2.c: Likewise.
8004 * soft-fp/extendsftf2.c: Likewise.
8005 * soft-fp/extendxftf2.c: Likewise.
8006 * soft-fp/fixdfdi.c: Likewise.
8007 * soft-fp/fixdfsi.c: Likewise.
8008 * soft-fp/fixdfti.c: Likewise.
8009 * soft-fp/fixsfdi.c: Likewise.
8010 * soft-fp/fixsfsi.c: Likewise.
8011 * soft-fp/fixsfti.c: Likewise.
8012 * soft-fp/fixtfdi.c: Likewise.
8013 * soft-fp/fixtfsi.c: Likewise.
8014 * soft-fp/fixtfti.c: Likewise.
8015 * soft-fp/fixunsdfdi.c: Likewise.
8016 * soft-fp/fixunsdfsi.c: Likewise.
8017 * soft-fp/fixunsdfti.c: Likewise.
8018 * soft-fp/fixunssfdi.c: Likewise.
8019 * soft-fp/fixunssfsi.c: Likewise.
8020 * soft-fp/fixunssfti.c: Likewise.
8021 * soft-fp/fixunstfdi.c: Likewise.
8022 * soft-fp/fixunstfsi.c: Likewise.
8023 * soft-fp/fixunstfti.c: Likewise.
8024 * soft-fp/floatdidf.c: Likewise.
8025 * soft-fp/floatdisf.c: Likewise.
8026 * soft-fp/floatditf.c: Likewise.
8027 * soft-fp/floatsidf.c: Likewise.
8028 * soft-fp/floatsisf.c: Likewise.
8029 * soft-fp/floatsitf.c: Likewise.
8030 * soft-fp/floattidf.c: Likewise.
8031 * soft-fp/floattisf.c: Likewise.
8032 * soft-fp/floattitf.c: Likewise.
8033 * soft-fp/floatundidf.c: Likewise.
8034 * soft-fp/floatundisf.c: Likewise.
8035 * soft-fp/floatunditf.c: Likewise.
8036 * soft-fp/floatunsidf.c: Likewise.
8037 * soft-fp/floatunsisf.c: Likewise.
8038 * soft-fp/floatunsitf.c: Likewise.
8039 * soft-fp/floatuntidf.c: Likewise.
8040 * soft-fp/floatuntisf.c: Likewise.
8041 * soft-fp/floatuntitf.c: Likewise.
8042 * soft-fp/gedf2.c: Likewise.
8043 * soft-fp/gesf2.c: Likewise.
8044 * soft-fp/getf2.c: Likewise.
8045 * soft-fp/ledf2.c: Likewise.
8046 * soft-fp/lesf2.c: Likewise.
8047 * soft-fp/letf2.c: Likewise.
8048 * soft-fp/muldf3.c: Likewise.
8049 * soft-fp/mulsf3.c: Likewise.
8050 * soft-fp/multf3.c: Likewise.
8051 * soft-fp/negdf2.c: Likewise.
8052 * soft-fp/negsf2.c: Likewise.
8053 * soft-fp/negtf2.c: Likewise.
8054 * soft-fp/op-1.h: Likewise.
8055 * soft-fp/op-2.h: Likewise.
8056 * soft-fp/op-4.h: Likewise.
8057 * soft-fp/op-8.h: Likewise.
8058 * soft-fp/op-common.h: Likewise.
8059 * soft-fp/quad.h: Likewise.
8060 * soft-fp/single.h: Likewise.
8061 * soft-fp/soft-fp.h: Likewise.
8062 * soft-fp/subdf3.c: Likewise.
8063 * soft-fp/subsf3.c: Likewise.
8064 * soft-fp/subtf3.c: Likewise.
8065 * soft-fp/truncdfsf2.c: Likewise.
8066 * soft-fp/trunctfdf2.c: Likewise.
8067 * soft-fp/trunctfsf2.c: Likewise.
8068 * soft-fp/trunctfxf2.c: Likewise.
8069 * soft-fp/unorddf2.c: Likewise.
8070 * soft-fp/unordsf2.c: Likewise.
8071 * soft-fp/unordtf2.c: Likewise.
8072 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
8073 macro.
8074 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8075 Likewise.
8076 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8077 Likewise.
8078 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8079 Likewise.
8080 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8081 Likewise.
8082 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8083 Likewise.
8084 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8085 Likewise.
8086 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8087 Likewise.
8088 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8089 Likewise.
8090 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8091 Likewise.
8092 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8093 Likewise.
8094 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8095 Likewise.
8096 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8097 Likewise.
8098 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
8099 Likewise.
8100 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
8101 Likewise.
8102 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8103 Likewise.
8104
ce245ec6
AK
81052014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8106
8107 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
8108 cannot be represented.
8109 * config/s390/32/_fixsfdi.c: Likewise.
8110 * config/s390/32/_fixtfdi.c: Likewise.
8111 * config/s390/32/_fixunsdfdi.c: Likewise.
8112 * config/s390/32/_fixunssfdi.c: Likewise.
8113 * config/s390/32/_fixunstfdi.c: Likewise.
8114
1c51d688
RS
81152014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
8116
8117 * configure.ac (libgcc_cv_mips_hard_float): New.
8118 * configure: Regenerate.
8119 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
8120 t-softfp-sfdf for hard-float targets.
8121 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
8122 (softfp_float_modes, softfp_int_modes, softfp_extensions)
8123 (softfp_truncations, softfp_exclude_libgcc2): New.
8124 * config/t-hardfp: New file.
8125 * config/t-hardfp-sfdf: Likewise.
8126 * config/hardfp.c: Likewise.
8127
bbf391db
AK
81282014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8129
8130 * config.host: Include t-floattodi also for s390x.
8131 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
8132 * config/s390/32/_fixsfdi.c: Likewise.
8133 * config/s390/32/_fixtfdi.c: Likewise.
8134 * config/s390/32/_fixunsdfdi.c: Likewise.
8135 * config/s390/32/_fixunssfdi.c: Likewise.
8136 * config/s390/32/_fixunstfdi.c: Likewise.
8137
91da0481
RO
81382014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8139
8140 PR target/59788
8141 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
8142 (install-libgcc-unwind-map-forbuild): New target.
8143 (all): Depend on install-libgcc-unwind-map-forbuild.
8144 (install-libgcc-unwind-map): New target.
8145 (install): Depend on install-libgcc-unwind-map.
8146
02b67731
SL
81472014-02-02 Sandra Loosemore <sandra@codesourcery.com>
8148
8149 * config/nios2/crti.S (_init): Initialize GOT pointer from
8150 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
8151
1ea0a651
RS
81522014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
8153
8154 * configure.ac: Check __mips64 when setting host_address.
8155 * configure: Regenerate.
8156 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
8157 mips/t-mips64 and t-softfp.
8158 (mips*-*-linux*): Don't add mips/t-tpbit.
8159 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
8160 (DPBIT, DPBIT_CFLAGS): Delete.
8161 * config/mips/sfp-machine.h: New file.
8162 * config/mips/t-mips64: Likewise.
8163 * config/mips/t-softfp-tf: Likewise.
8164 * config/mips/t-tpbit: Delete.
8165
f32b0061
MS
81662014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
8167
8168 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
8169 as long long.
8170
a5420aa4
WL
81712014-01-25 Walter Lee <walt@tilera.com>
8172
8173 * config/tilepro/atomic.c: Include tconfig.h. Don't include
8174 config.h or system.h.
8175 (bool) Define.
8176
24534912
WL
81772014-01-25 Walter Lee <walt@tilera.com>
8178
8179 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
8180 (post_atomic_barrier): Ditto.
8181 (__fetch_and_do): New macro.
8182 (__atomic_fetch_and_do): Use __fetch_and_do.
8183 (__sync_fetch_and_do): New macro.
8184 (__sync_fetch_and_add_4): New function.
8185 (__sync_fetch_and_sub_4): New function.
8186 (__sync_fetch_and_or_4): New function.
8187 (__sync_fetch_and_and_4): New function.
8188 (__sync_fetch_and_xor_4): New function.
8189 (__sync_fetch_and_nand_4): New function.
8190 (__sync_fetch_and_add_8): New function.
8191 (__sync_fetch_and_sub_8): New function.
8192 (__sync_fetch_and_or_8): New function.
8193 (__sync_fetch_and_and_8): New function.
8194 (__sync_fetch_and_xor_8): New function.
8195 (__sync_fetch_and_nand_8): New function.
8196 (__do_and_fetch): New macro.
8197 (__atomic_do_and_fetch): Use __do_and_fetch.
8198 (__sync_do_and_fetch): New macro.
8199 (__sync_add_and_fetch_4): New function.
8200 (__sync_sub_and_fetch_4): New function.
8201 (__sync_or_and_fetch_4): New function.
8202 (__sync_and_and_fetch_4): New function.
8203 (__sync_xor_and_fetch_4): New function.
8204 (__sync_nand_and_fetch_4): New function.
8205 (__sync_add_and_fetch_8): New function.
8206 (__sync_sub_and_fetch_8): New function.
8207 (__sync_or_and_fetch_8): New function.
8208 (__sync_and_and_fetch_8): New function.
8209 (__sync_xor_and_fetch_8): New function.
8210 (__sync_nand_and_fetch_8): New function.
8211 (__sync_exchange_methods): New macro.
8212 (__sync_val_compare_and_swap_4): New function.
8213 (__sync_bool_compare_and_swap_4): New function.
8214 (__sync_lock_test_and_test_4): New function.
8215 (__sync_val_compare_and_swap_8): New function.
8216 (__sync_bool_compare_and_swap_8): New function.
8217 (__sync_lock_test_and_test_8): New function.
8218 (__subword_cmpxchg_body): New macro.
8219 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
8220 (__atomic_compare_exchange_2): Ditto.
8221 (__sync_subword_cmpxchg): New macro.
8222 (__sync_val_compare_and_swap_1): New function.
8223 (__sync_bool_compare_and_swap_1): New function.
8224 (__sync_val_compare_and_swap_2): New function.
8225 (__sync_bool_compare_and_swap_2): New function.
8226 (__atomic_subword): Rename to ...
8227 (__subword): ... New name.
8228 (__atomic_subword_fetch): Use __subword.
8229 (__sync_subword_fetch): New macro.
8230 (__sync_fetch_and_add_1): New function.
8231 (__sync_fetch_and_sub_1): New function.
8232 (__sync_fetch_and_or_1): New function.
8233 (__sync_fetch_and_and_1): New function.
8234 (__sync_fetch_and_xor_1): New function.
8235 (__sync_fetch_and_nand_1): New function.
8236 (__sync_fetch_and_add_2): New function.
8237 (__sync_fetch_and_sub_2): New function.
8238 (__sync_fetch_and_or_2): New function.
8239 (__sync_fetch_and_and_2): New function.
8240 (__sync_fetch_and_xor_2): New function.
8241 (__sync_fetch_and_nand_2): New function.
8242 (__sync_add_and_fetch_1): New function.
8243 (__sync_sub_and_fetch_1): New function.
8244 (__sync_or_and_fetch_1): New function.
8245 (__sync_and_and_fetch_1): New function.
8246 (__sync_xor_and_fetch_1): New function.
8247 (__sync_nand_and_fetch_1): New function.
8248 (__sync_add_and_fetch_2): New function.
8249 (__sync_sub_and_fetch_2): New function.
8250 (__sync_or_and_fetch_2): New function.
8251 (__sync_and_and_fetch_2): New function.
8252 (__sync_xor_and_fetch_2): New function.
8253 (__sync_nand_and_fetch_2): New function.
8254 (__atomic_subword_lock): Use __subword.
8255 (__sync_subword_lock): New macro.
8256 (__sync_lock_test_and_set_1): New function.
8257 (__sync_lock_test_and_set_2): New function.
8258
4d6d3bc5
WL
82592014-01-25 Walter Lee <walt@tilera.com>
8260
8261 * config/tilepro/atomic.c (BIT_OFFSET): Define.
8262 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
8263 (__atomic_subword): Ditto.
8264
cbd9890e
WL
82652014-01-25 Walter Lee <walt@tilera.com>
8266
8267 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
8268 a prefix op argument.
8269 (__atomic_nand_fetch_4): Add prefix op.
8270 (__atomic_nand_fetch_8): Ditto.
8271
7d296953 82722014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
8273
8274 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
8275
46dd1242
L
82762014-01-09 Rong Xu <xur@google.com>
8277
8278 * libgcov-driver.c (this_prg): make it local to save
8279 bss space.
8280 (gcov_exit_compute_summary): Ditto.
8281 (gcov_exit_merge_gcda): Ditto.
8282 (gcov_exit_merge_summary): Ditto.
8283 (gcov_exit_dump_gcov): Ditto.
8284
cc86234f 82852014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
8286
8287 * libgcov-driver.c: Use libgcov.h.
8288 (buffer_fn_data): Use xmalloc instead of malloc.
8289 (gcov_exit_merge_gcda): Ditto.
8290 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
8291 * libgcov.h: New common header files for libgcov-*.h.
8292 * libgcov-interface.c: Use libgcov.h
8293 * libgcov-merge.c: Ditto.
8294 * libgcov-profiler.c: Ditto.
8295 * Makefile.in: Add dependence to libgcov.h
8296
a02e7bdd
JM
82972014-01-02 Joseph Myers <joseph@codesourcery.com>
8298
8299 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
8300 case of small numerator and finite nonzero result.
8301
ac1dca3c
RS
83022014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
8303
8304 Update copyright years
8305
f9030485
RS
83062014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
8307
8308 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
8309 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
8310 config/arc/dp-hack.h, config/arc/fp-hack.h,
8311 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
8312 config/arc/ieee-754/arc600-dsp/divdf3.S,
8313 config/arc/ieee-754/arc600-dsp/divsf3.S,
8314 config/arc/ieee-754/arc600-dsp/muldf3.S,
8315 config/arc/ieee-754/arc600-dsp/mulsf3.S,
8316 config/arc/ieee-754/arc600-mul64/divdf3.S,
8317 config/arc/ieee-754/arc600-mul64/divsf3.S,
8318 config/arc/ieee-754/arc600-mul64/muldf3.S,
8319 config/arc/ieee-754/arc600-mul64/mulsf3.S,
8320 config/arc/ieee-754/arc600/divsf3.S,
8321 config/arc/ieee-754/arc600/mulsf3.S,
8322 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
8323 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
8324 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
8325 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
8326 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
8327 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
8328 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
8329 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
8330 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
8331 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
8332 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
8333 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
8334 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
8335 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
8336 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
8337 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
8338 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
8339 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
8340 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
8341 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
8342 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
8343 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
8344 vtv_start_preinit.c: Use the standard form for the copyright notice.
8345
e430824f
CLT
83462013-12-31 Sandra Loosemore <sandra@codesourcery.com>
8347 Chung-Lin Tang <cltang@codesourcery.com>
3d3b561f 8348 Based on patches from Altera Corporation
e430824f
CLT
8349
8350 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
8351 * config/nios2/lib2-nios2.h: New file.
8352 * config/nios2/lib2-divmod-hi.c: New file.
8353 * config/nios2/linux-unwind.h: New file.
8354 * config/nios2/lib2-divmod.c: New file.
8355 * config/nios2/linux-atomic.c: New file.
8356 * config/nios2/t-nios2: New file.
8357 * config/nios2/crti.asm: New file.
8358 * config/nios2/t-linux: New file.
8359 * config/nios2/lib2-divtable.c: New file.
8360 * config/nios2/lib2-mul.c: New file.
8361 * config/nios2/tramp.c: New file.
8362 * config/nios2/crtn.asm: New file.
8363
1879e97f
UB
83642013-12-26 Uros Bizjak <ubizjak@gmail.com>
8365
8366 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
8367 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
8368 from cpuid.h to check vendor signatures.
8369
f4a4bdbb
GG
83702013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
8371
c2e7e597 8372 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
8373 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
8374 (get_amd_cpu): Likewise.
8375
8d2ae544
L
83762013-12-25 H.J. Lu <hongjiu.lu@intel.com>
8377
8378 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
8379 Haswell.
8380
74924838
ASJ
83812013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
8382 H.J. Lu <hongjiu.lu@intel.com>
8383
0bb52f25
L
8384 PR target/59422
8385 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
8386 and AMD_JAGUAR.
8387 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
8388 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
8389 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
8390 FEATURE_XOP and FEATURE_FMA.
8391 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
8392 AMDFAM15H_BDVER3.
8393 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 8394 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
8395 FEATURE_FMA4 and FEATURE_XOP.
8396
d3c11974
L
83972013-12-23 H.J. Lu <hongjiu.lu@intel.com>
8398
8399 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
8400 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
8401 (get_intel_cpu): Updated.
8402
064c4ff2
ZC
84032013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
8404
8405 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
8406
8b02e720
UB
84072013-12-09 Uros Bizjak <ubizjak@gmail.com>
8408
8409 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 8410 instructions when __SSE_MATH__ is defined.
8b02e720 8411
3fa2ccb4
RC
84122013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
8413
8414 * config.host (microblaze-*-rtems*): New.
8415
ecd78fc9
KV
84162013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
8417
8418 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
8419 architectures that do not have hardware divide instruction.
8420 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
8421
b21fbbd2
RS
84222013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
8423
8424 * longlong.h: Delete (moved to include/).
8425
b03fb8c9
AZ
84262013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8427
8428 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
8429 of normal number and qNaN to not raise an inexact exception.
8430
3c716922
UB
84312013-11-28 Uros Bizjak <ubizjak@gmail.com>
8432
8433 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
8434
84352013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
8436
8437 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
8438 for correct opcodes on BE.
8439
a3458d22
UB
84402013-11-27 Uros Bizjak <ubizjak@gmail.com>
8441
8442 * soft-fp/op-4.h: Update from glibc.
8443
30b8f78b
KV
84442013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
8445
8446 * libgcc2.c (__udivmoddi4): Define new implementation when
8447 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
8448 divide instructions.
8449
82552a29
OE
84502013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
8451
8452 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
8453
80e87457
RO
84542013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8455
8456 * config/t-softfp (soft-fp-objects-base): New variable.
8457 (soft-fp-objects): Use it.
8458
44178879
DE
84592013-11-23 David Edelson <dje.gcc@gmail.com>
8460 Andrew Dixie <andrewd@gentrack.com>
8461
8462 PR target/33704
8463 * config/rs6000/aixinitfini.c: New file.
8464 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
8465 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
8466 symbols.
8467
e5287671
YR
84682013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
8469
a3458d22 8470 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 8471
867c8b03
JH
84722013-11-18 Jan Hubicka <jh@suse.cz>
8473
7f369373
JH
8474 * libgcov-driver.c (run_accounted): Make global level static.
8475 (gcov_exit_merge_summary): Silence warning; do not clear
8476 run_accounted here.
8477 (gcov_exit): Clear it here.
8478
1d0b3334
JH
8479 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
8480 run_accounted.
8481
867c8b03
JH
8482 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
8483 (all_prg, crc32): Remove static vars.
8484 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
8485 all_prg.
8486 (gcov_exit_merge_gcda): Add crc32 parameter.
8487 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
8488 do not account run if it was already accounted.
8489 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
8490 (gcov_exit): Initialize all_prg; update.
8491
66204992
AS
84922013-11-15 Andreas Schwab <schwab@linux-m68k.org>
8493
8494 * configure: Regenerate.
8495
b54214fe
UW
84962013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8497 Alan Modra <amodra@gmail.com>
8498
8499 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
8500 (frob_update_context): Use it.
8501
85022013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8503 Alan Modra <amodra@gmail.com>
8504
8505 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
8506 (trampoline_initial): Provide ELFv2 variant.
8507 (__trampoline_setup): Likewise.
8508
8509 * config/rs6000/linux-unwind.h (frob_update_context): Do not
8510 check for AIX indirect function call sequence if _CALL_ELF == 2.
8511
85122013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8513 Alan Modra <amodra@gmail.com>
8514
8515 * config/rs6000/linux-unwind.h (get_regs): Do not support
8516 old kernel versions if _CALL_ELF == 2.
8517 (frob_update_context): Do not support PLT stub variants only
8518 generated by old linkers if _CALL_ELF == 2.
8519
13e0981a
UW
85202013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8521 Alan Modra <amodra@gmail.com>
8522
8523 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
8524 location of CR save area for 64-bit little-endian systems.
8525
1a80085d
EB
85262013-11-11 Eric Botcazou <ebotcazou@adacore.com>
8527
8528 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
8529 in tmake_file.
8530 * config/arm/t-vxworks: Delete.
8531
cabeea52
KT
85322013-11-10 Kai Tietz <ktietz@redhat.com>
8533
8534 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
8535 Increment load-count on use of LIBGCC_SONAME DLL.
8536 (hmod_libgcc): New static variable to hold handle of
8537 LIBGCC_SONAME DLL.
8538 (__gcc_deregister_frame): Decrement load-count of
8539 LIBGCC_SONAME DLL.
8540
ac088ba1
BRF
85412013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
8542
8543 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
8544 availability.
8545 * configure: Regenerate
8546
d59a8fcc
UB
85472013-11-07 Uros Bizjak <ubizjak@gmail.com>
8548
8549 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
8550 FP_EX_DENORM. Store result to volatile location after SSE division
8551 to close interrupt window. Remove unneeded fwait after x87
8552 division since interrupt window will be closed by emitted fstp.
9de84e84 8553 Rewrite FP_EX_INEXACT handling.
d59a8fcc 8554
9954c743
JM
85552013-11-06 Joseph Myers <joseph@codesourcery.com>
8556
8557 * soft-fp/README: Update.
8558 * soft-fp/adddf3.c: Update from glibc.
8559 * soft-fp/addsf3.c: Likewise.
8560 * soft-fp/addtf3.c: Likewise.
8561 * soft-fp/divdf3.c: Likewise.
8562 * soft-fp/divsf3.c: Likewise.
8563 * soft-fp/divtf3.c: Likewise.
8564 * soft-fp/double.h: Likewise.
8565 * soft-fp/eqdf2.c: Likewise.
8566 * soft-fp/eqsf2.c: Likewise.
8567 * soft-fp/eqtf2.c: Likewise.
8568 * soft-fp/extenddftf2.c: Likewise.
8569 * soft-fp/extended.h: Likewise.
8570 * soft-fp/extendsfdf2.c: Likewise.
8571 * soft-fp/extendsftf2.c: Likewise.
8572 * soft-fp/extendxftf2.c: Likewise.
8573 * soft-fp/fixdfdi.c: Likewise.
8574 * soft-fp/fixdfsi.c: Likewise.
8575 * soft-fp/fixdfti.c: Likewise.
8576 * soft-fp/fixsfdi.c: Likewise.
8577 * soft-fp/fixsfsi.c: Likewise.
8578 * soft-fp/fixsfti.c: Likewise.
8579 * soft-fp/fixtfdi.c: Likewise.
8580 * soft-fp/fixtfsi.c: Likewise.
8581 * soft-fp/fixtfti.c: Likewise.
8582 * soft-fp/fixunsdfdi.c: Likewise.
8583 * soft-fp/fixunsdfsi.c: Likewise.
8584 * soft-fp/fixunsdfti.c: Likewise.
8585 * soft-fp/fixunssfdi.c: Likewise.
8586 * soft-fp/fixunssfsi.c: Likewise.
8587 * soft-fp/fixunssfti.c: Likewise.
8588 * soft-fp/fixunstfdi.c: Likewise.
8589 * soft-fp/fixunstfsi.c: Likewise.
8590 * soft-fp/fixunstfti.c: Likewise.
8591 * soft-fp/floatdidf.c: Likewise.
8592 * soft-fp/floatdisf.c: Likewise.
8593 * soft-fp/floatditf.c: Likewise.
8594 * soft-fp/floatsidf.c: Likewise.
8595 * soft-fp/floatsisf.c: Likewise.
8596 * soft-fp/floatsitf.c: Likewise.
8597 * soft-fp/floattidf.c: Likewise.
8598 * soft-fp/floattisf.c: Likewise.
8599 * soft-fp/floattitf.c: Likewise.
8600 * soft-fp/floatundidf.c: Likewise.
8601 * soft-fp/floatundisf.c: Likewise.
8602 * soft-fp/floatunditf.c: Likewise.
8603 * soft-fp/floatunsidf.c: Likewise.
8604 * soft-fp/floatunsisf.c: Likewise.
8605 * soft-fp/floatunsitf.c: Likewise.
8606 * soft-fp/floatuntidf.c: Likewise.
8607 * soft-fp/floatuntisf.c: Likewise.
8608 * soft-fp/floatuntitf.c: Likewise.
8609 * soft-fp/gedf2.c: Likewise.
8610 * soft-fp/gesf2.c: Likewise.
8611 * soft-fp/getf2.c: Likewise.
8612 * soft-fp/ledf2.c: Likewise.
8613 * soft-fp/lesf2.c: Likewise.
8614 * soft-fp/letf2.c: Likewise.
8615 * soft-fp/muldf3.c: Likewise.
8616 * soft-fp/mulsf3.c: Likewise.
8617 * soft-fp/multf3.c: Likewise.
8618 * soft-fp/negdf2.c: Likewise.
8619 * soft-fp/negsf2.c: Likewise.
8620 * soft-fp/negtf2.c: Likewise.
8621 * soft-fp/op-1.h: Likewise.
8622 * soft-fp/op-2.h: Likewise.
8623 * soft-fp/op-4.h: Likewise.
8624 * soft-fp/op-8.h: Likewise.
8625 * soft-fp/op-common.h: Likewise.
8626 * soft-fp/quad.h: Likewise.
8627 * soft-fp/single.h: Likewise.
8628 * soft-fp/soft-fp.h: Likewise.
8629 * soft-fp/subdf3.c: Likewise.
8630 * soft-fp/subsf3.c: Likewise.
8631 * soft-fp/subtf3.c: Likewise.
8632 * soft-fp/truncdfsf2.c: Likewise.
8633 * soft-fp/trunctfdf2.c: Likewise.
8634 * soft-fp/trunctfsf2.c: Likewise.
8635 * soft-fp/trunctfxf2.c: Likewise.
8636 * soft-fp/unorddf2.c: Likewise.
8637 * soft-fp/unordsf2.c: Likewise.
8638 * soft-fp/unordtf2.c: Likewise.
8639
02ac9503
UB
86402013-11-05 Uros Bizjak <ubizjak@gmail.com>
8641
8642 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8643 (_FP_MUL_MEAT_D): Ditto.
8644 (_FP_DIV_MEAT_S): Ditto.
8645 (_FP_DIV_MEAT_D): Ditto.
8646 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8647 t-softfp-sfdf and t-softfp to tmake_file.
8648
61221141
UB
86492013-11-03 Uros Bizjak <ubizjak@gmail.com>
8650
8651 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8652 * config/i386/crtprec.c: Ditto.
8653
9304f876
CJW
86542013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
8655 Shiva Chen <shiva0217@gmail.com>
8656
8657 * config.host (nds32*-elf*): Add nds32 target.
8658 * config/nds32 : New directory and files.
8659
0e499e75
HPN
86602013-10-16 Hans-Peter Nilsson <hp@axis.com>
8661
8662 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
8663 * config.host (cpu_type) <Setting default>: Add entry for
8664 crisv32-*-*.
8665 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8666 <crisv32-*-linux*>: Adjust.
8667 * longlong.h: Wrap the whole CRIS section in a single
8668 defined(__CRIS__) conditional. Add comment about add_ssaaaa
8669 and sub_ddmmss.
8670 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8671 defined.
8672 [__CRIS__] (__umulsidi3): Define.
8673 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8674 * config/cris/sfp-machine.h: New file.
8675 * config/cris/umulsidi3.S: New file.
8676 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8677 * config/cris/arit.c (SIGNMULT): New macro.
8678 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8679 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8680 saving 3 out of originally 33 cycles from the fastest
8681 path, 3 out of 54 from the medium path and one from the longest
8682 path. Improve comments.
8683
16022041
RS
86842013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
8685
8686 * sync.c: Remove static aliases and define each function directly
8687 under its real name.
8688
69778659
JDA
86892013-10-02 John David Anglin <danglin@gcc.gnu.org>
8690
8691 * config.host (hppa*64*-*-linux*): Define extra_parts.
8692 (hppa*-*-linux*): Likewise.
8693
2deaf8b0
JR
86942013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
8695
8696 * config/arc/crtgend.S: Add 2013 to Copyright years.
8697 * config/arc/gmon/atomic.h: Likewise.
8698 * config/arc/gmon/auxreg.h: Likewise.
8699 * config/arc/gmon/sys/gmon_out.h: Likewise.
8700 * config/arc/gmon/sys/gmon.h: Likewise.
8701 * config/arc/gmon/prof-freq.c: Likewise.
8702 * config/arc/gmon/mcount.c: Likewise.
8703 * config/arc/gmon/prof-freq-stub.S: Likewise.
8704 * config/arc/gmon/gmon.c: Likewise.
8705 * config/arc/gmon/machine-gmon.h: Likewise.
8706 * config/arc/gmon/profil.S: Likewise.
8707 * config/arc/gmon/dcache_linesz.S: Likewise.
8708 * config/arc/crtg.S: Likewise.
8709 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8710 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8711 * config/arc/ieee-754/adddf3.S: Likewise.
8712 * config/arc/ieee-754/truncdfsf2.S: Likewise.
8713 * config/arc/ieee-754/fixsfsi.S: Likewise.
8714 * config/arc/ieee-754/gtsf2.S: Likewise.
8715 * config/arc/ieee-754/floatsisf.S: Likewise.
8716 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8717 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8718 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8719 * config/arc/ieee-754/fixdfsi.S: Likewise.
8720 * config/arc/ieee-754/addsf3.S: Likewise.
8721 * config/arc/ieee-754/gesf2.S: Likewise.
8722 * config/arc/ieee-754/floatsidf.S: Likewise.
8723 * config/arc/ieee-754/extendsfdf2.S: Likewise.
8724 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8725 * config/arc/ieee-754/gtdf2.S: Likewise.
8726 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8727 * config/arc/ieee-754/uneqdf2.S: Likewise.
8728 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8729 * config/arc/ieee-754/uneqsf2.S: Likewise.
8730 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8731 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8732 * config/arc/ieee-754/eqdf2.S: Likewise.
8733 * config/arc/ieee-754/ordsf2.S: Likewise.
8734 * config/arc/ieee-754/divsf3.S: Likewise.
8735 * config/arc/ieee-754/divdf3.S: Likewise.
8736 * config/arc/ieee-754/floatunsidf.S: Likewise.
8737 * config/arc/ieee-754/orddf2.S: Likewise.
8738 * config/arc/ieee-754/eqsf2.S: Likewise.
8739 * config/arc/ieee-754/gedf2.S: Likewise.
8740 * config/arc/crtn.S: Likewise.
8741 * config/arc/crti.S: Likewise.
8742 * config/arc/t-arc700-uClibc: Likewise.
8743 * config/arc/asm.h: Likewise.
8744 * config/arc/libgcc-excl.ver: Likewise.
8745 * config/arc/t-arc-newlib: Likewise.
8746 * config/arc/divtab-arc700.c: Likewise.
8747 * config/arc/initfini.c: Likewise.
8748 * config/arc/fp-hack.h: Likewise.
8749
c8e318b0
JR
87502013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8751 Diego Novillo <dnovillo@google.com>
8752
8753 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
8754 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8755 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8756 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 8757
d38a64b4
JR
87582013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8759 Brendan Kehoe <brendan@zen.org>
8760 Simon Cook <simon.cook@embecosm.com>
8761
8762 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8763 * config/arc: New directory.
8764 * longlong.h [__arc__] (umul_ppmm): Remove.
8765 [__arc__] (__umulsidi3): Define.
8766 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8767 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8768
dff717d2
JC
87692013-09-17 Jacek Caban <jacek@codeweavers.com>
8770
8771 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8772 CreateSemaphoreA.
8773 * config/i386/gthr-win32.h: Likewise.
8774
5c0029de
DD
87752013-09-16 DJ Delorie <dj@redhat.com>
8776
844ad6c6 8777 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
8778 * config/rl78/lib2mul.c: Enable for RL78/G10.
8779 * config/rl78/lib2div.c: Likewise.
8780 * config/rl78/lshrsi3.S: Use vregs.h.
8781 * config/rl78/cmpsi2.S: Likewise.
8782 * config/rl78/trampoline.S: Likewise.
8783 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
8784
ceb2fc49
DD
87852013-09-14 DJ Delorie <dj@redhat.com>
8786 Nick Clifton <nickc@redhat.com>
8787
8788 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8789 * config/rl78/vregs.h: New.
8790 * config/rl78/signbit.S: New file. Implements signbit function.
8791 * config/rl78/divmodsi.S: New.
8792 * config/rl78/divmodhi.S: New.
8793 * config/rl78/divmodqi.S: New.
8794 * config/rl78/t-rl78: Build them here...
8795 * config/rl78/lib2div.c: ...but not here.
8796
f6a83b4a
DD
87972013-09-12 DJ Delorie <dj@redhat.com>
8798
8799 * config.host (msp*-*-elf): New.
8800 * config/msp430/: New port.
8801
9107b096
IS
88022013-08-18 Iain Sandoe <iain@codesourcery.com>
8803
8804 PR gcov-profile/58127
8805 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8806 __thread var for emulated TLS.
8807 (__gcov_indirect_call_counters): Likewise.
8808
0f9bde1f 88092013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 8810 Catherine Moore <clm@codesourcery.com>
7d296953 8811 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
8812
8813 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8814 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8815 (CALL_STUB_NO_RET): Likewise.
8816 (CALL_STUB_RET): Likewise.
8817 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8818 __mips16_ret call/return stub symbols.
8819 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8820 to tmake_file.
8821
2dc14aac
MR
88222013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
8823
8824 * config.host <mips*-*-linux*>: Remove a stray comment.
8825
748d71f3
JH
88262013-08-10 Jan Hubicka <jh@suse.cz>
8827
8828 Work around binutils PR14342
8829 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8830 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8831 (L_gcov_indirect_call_profiler_v2): New.
8832
2fa3d31b
JH
88332013-08-06 Jan Hubicka <jh@suse.cz>
8834
8835 * libgcov.c (__gcov_indirect_call_callee,
8836 __gcov_indirect_call_counters): New global vars.
8837 (__gcov_indirect_call_profiler): replace by ...
8838 (__gcov_indirect_call_profiler_v2) ... this one.
8839
2077db1b
CT
88402013-08-06 Caroline Tice <cmtice@google.com>
8841
d0595b65 8842 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 8843 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
8844 * configure.ac: Add code to check/set enable_vtable_verify.
8845 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 8846 true.
d0595b65
CT
8847 * vtv_start_preinit.c: New file.
8848 * vtv_end_preinit.c: New file.
8849 * vtv_start.c: New file.
8850 * vtv_end.c: New file.
8851 * configure: Regenerated.
2077db1b 8852
46549c20
MK
88532013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
8854
8855 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8856 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8857 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8858 GPL-3.0-with-GCC-exception.
8859
72be589b
MR
88602013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
8861
8862 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8863 ISA and up.
8864
902a3faf
AK
88652013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8866
8867 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8868 mapping for FPRs when creating the fallback framestate.
8869
02371798
GJL
88702013-07-19 Georg-Johann Lay <avr@gjlay.de>
8871
8872 PR target/57516
8873 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8874 (__round_s2_const, __round_u2_const)
8875 (__round_s4_const, __round_u4_const, __round_x8):
8876 Saturate result if addition result cannot be represented.
8877
ab0e8379
MK
88782013-07-15 Matthias Klose <doko@ubuntu.com>
8879
8880 * libgcc2.c: Don't include <limits.h>.
8881
7da38058
JJ
88822013-07-09 Janis Johnson <janisjo@codesourcery.com>
8883
8884 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8885
1f6eac90
JJ
88862013-07-06 Jakub Jelinek <jakub@redhat.com>
8887
8888 PR target/29776
8889 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8890
4ea3d774
JJ
88912013-06-28 Jakub Jelinek <jakub@redhat.com>
8892
8893 PR middle-end/36041
8894 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8895 Define.
8896 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8897 instead of table lookups.
8898 (__popcountDI2): Likewise.
8899
9d2cdf25
CJW
89002013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
8901
8902 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8903 correctly.
8904
fa1e55b0
JM
89052013-06-21 Joseph Myers <joseph@codesourcery.com>
8906
8907 PR other/53317
8908 * soft-fp/adddf3.c: Update from glibc.
8909 * soft-fp/addsf3.c: Likewise.
8910 * soft-fp/addtf3.c: Likewise.
8911 * soft-fp/divdf3.c: Likewise.
8912 * soft-fp/divsf3.c: Likewise.
8913 * soft-fp/divtf3.c: Likewise.
8914 * soft-fp/double.h: Likewise.
8915 * soft-fp/eqdf2.c: Likewise.
8916 * soft-fp/eqsf2.c: Likewise.
8917 * soft-fp/eqtf2.c: Likewise.
8918 * soft-fp/extenddftf2.c: Likewise.
8919 * soft-fp/extended.h: Likewise.
8920 * soft-fp/extendsfdf2.c: Likewise.
8921 * soft-fp/extendsftf2.c: Likewise.
8922 * soft-fp/fixdfdi.c: Likewise.
8923 * soft-fp/fixdfsi.c: Likewise.
8924 * soft-fp/fixsfdi.c: Likewise.
8925 * soft-fp/fixsfsi.c: Likewise.
8926 * soft-fp/fixtfdi.c: Likewise.
8927 * soft-fp/fixtfsi.c: Likewise.
8928 * soft-fp/fixunsdfdi.c: Likewise.
8929 * soft-fp/fixunsdfsi.c: Likewise.
8930 * soft-fp/fixunssfdi.c: Likewise.
8931 * soft-fp/fixunssfsi.c: Likewise.
8932 * soft-fp/fixunstfdi.c: Likewise.
8933 * soft-fp/fixunstfsi.c: Likewise.
8934 * soft-fp/floatdidf.c: Likewise.
8935 * soft-fp/floatdisf.c: Likewise.
8936 * soft-fp/floatditf.c: Likewise.
8937 * soft-fp/floatsidf.c: Likewise.
8938 * soft-fp/floatsisf.c: Likewise.
8939 * soft-fp/floatsitf.c: Likewise.
8940 * soft-fp/floatundidf.c: Likewise.
8941 * soft-fp/floatundisf.c: Likewise.
8942 * soft-fp/floatunditf.c: Likewise.
8943 * soft-fp/floatunsidf.c: Likewise.
8944 * soft-fp/floatunsisf.c: Likewise.
8945 * soft-fp/floatunsitf.c: Likewise.
8946 * soft-fp/gedf2.c: Likewise.
8947 * soft-fp/gesf2.c: Likewise.
8948 * soft-fp/getf2.c: Likewise.
8949 * soft-fp/ledf2.c: Likewise.
8950 * soft-fp/lesf2.c: Likewise.
8951 * soft-fp/letf2.c: Likewise.
8952 * soft-fp/muldf3.c: Likewise.
8953 * soft-fp/mulsf3.c: Likewise.
8954 * soft-fp/multf3.c: Likewise.
8955 * soft-fp/negdf2.c: Likewise.
8956 * soft-fp/negsf2.c: Likewise.
8957 * soft-fp/negtf2.c: Likewise.
8958 * soft-fp/op-1.h: Likewise.
8959 * soft-fp/op-2.h: Likewise.
8960 * soft-fp/op-4.h: Likewise.
8961 * soft-fp/op-8.h: Likewise.
8962 * soft-fp/op-common.h: Likewise.
8963 * soft-fp/quad.h: Likewise.
8964 * soft-fp/single.h: Likewise.
8965 * soft-fp/soft-fp.h: Likewise.
8966 * soft-fp/subdf3.c: Likewise.
8967 * soft-fp/subsf3.c: Likewise.
8968 * soft-fp/subtf3.c: Likewise.
8969 * soft-fp/truncdfsf2.c: Likewise.
8970 * soft-fp/trunctfdf2.c: Likewise.
8971 * soft-fp/trunctfsf2.c: Likewise.
8972 * soft-fp/unorddf2.c: Likewise.
8973 * soft-fp/unordsf2.c: Likewise.
8974 * soft-fp/unordtf2.c: Likewise.
8975 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8976 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8977 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8978 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8979 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8980 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8981 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8982 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8983 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8984 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8985 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8986 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8987
0de86a92
JU
89882013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
8989
8990 * config/mips/lib2funcs.c: New file.
8991 * config/mips/t-mips (LIB2ADD_ST): Add it.
8992
0d008882
OE
89932013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
8994
8995 PR target/6526
8996 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8997 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
8998
776434d1
WL
89992013-06-08 Walter Lee <walt@tilera.com>
9000
9001 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
9002 Replace int64_t with long long. Add __extension__ where
9003 appropriate.
9004 * config/tilepro/atomic.c: Include config.h.
9005
6ab3ebb4
DR
90062013-06-06 Douglas B Rupp <rupp@adacore.com>
9007
9008 * config.host (arm-wrs-vxworks): Configure with other soft float.
9009
107eea2c
JU
90102013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
9011
9012 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
9013 (mips64r5900el-*-elf*): New configurations.
9014
5cc19c62
AM
90152013-06-04 Alan Modra <amodra@gmail.com>
9016
9017 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
9018
0f1d3965
YR
90192013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
9020
9021 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
9022
0ba045df
EB
90232013-05-28 Eric Botcazou <ebotcazou@adacore.com>
9024
9025 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
9026 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
9027 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
9028
49dcafd4
EB
90292013-05-22 Eric Botcazou <ebotcazou@adacore.com>
9030
9031 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
9032 (powerpc-wrs-vxworks): Likewise.
9033
4fcb5d87
EB
90342013-05-22 Eric Botcazou <ebotcazou@adacore.com>
9035
9036 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
9037 signal frames as well.
9038 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
9039 STACK_BIAS to the CFA offset.
9040
0ec33224
RH
90412013-05-17 Richard Henderson <rth@redhat.com>
9042
9043 PR target/49146
9044 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
9045 (execute_cfa_program): Use it when storing to fs->regs.
9046
492a8029
KT
90472013-05-08 Kai Tietz <ktietz@redhat.com>
9048
9049 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
9050 (__deregister_frame_info): Likewise.
9051
701e2f0a
TS
90522013-05-06 Thomas Schwinge <thomas@codesourcery.com>
9053
e5123d08
TS
9054 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
9055 NaN's payload.
9056
701e2f0a
TS
9057 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
9058
b9a7eb5d
AM
90592013-04-25 Alan Modra <amodra@gmail.com>
9060
9061 * config.host: Match little-endian powerpc-linux.
9062
dfe192f5
YZ
90632013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
9064
9065 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
9066 as 'unsigned long long' instead of 'unsigned long'.
9067 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
9068 'signed long'.
9069
b6b9af2f
JB
90702013-04-10 Julian Brown <julian@codesourcery.com>
9071
9072 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
9073 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
9074 unsigned char/unsigned short.
9075 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
9076
ecabdd00
JDA
90772013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9078
9079 PR other/55274
9080 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
9081
34652576
MI
90822013-04-04 Meador Inge <meadori@codesourcery.com>
9083
9084 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
9085 computing the location of the link register.
9086 (aeabi_uldivmod): Ditto.
9087
e9fd8c19
KT
90882013-03-27 Kai Tietz <ktietz@redhat.com>
9089
9090 * config.host: Add support for cygwin x64 target.
9091 * configure: Regenerated.
9092
a6406324
WL
90932013-03-26 Walter Lee <walt@tilera.com>
9094
9095 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
9096 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
9097
55446c7e
KT
90982013-03-25 Kai Tietz <ktietz@redhat.com>
9099
9100 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
9101
d2ae19d9
RM
91022013-03-20 Robert Mason <rbmj@verizon.net>
9103
9104 * config/vxlib-tls.c (__gthread_get_tsd_data,)
9105 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
9106 (__gthread_leave_tsd_dtor_context): Add prototypes.
9107 (tls_delete_hook): Update.
9108
22c4c869
CM
91092013-03-20 Catherine Moore <clm@codesourcery.com>
9110 Joseph Myers <joseph@codesourcery.com>
9111 Chao-ying Fu <fu@mips.com>
9112
9113 * config/mips/mips16.S: Don't build for microMIPS.
9114 * config/mips/linux-unwind.h: Handle microMIPS frame.
9115 * config/mips/crtn.S (fini, init): New labels.
9116
fbd28bc3
JJ
91172013-03-14 Jakub Jelinek <jakub@redhat.com>
9118
9119 PR tree-optimization/53265
9120 * unwind-dw2.c (execute_cfa_program): Avoid
9121 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
9122 on targets with DWARF_FRAME_REGISTERS < 32.
9123
decc676e
OE
91242013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
9125
9126 PR target/49880
9127 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
9128 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
9129
84ea618a
ST
91302013-03-07 Sriraman Tallam <tmsriram@google.com>
9131
9132 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
9133 sandybridge processors.
9134
8f6d1c86
OE
91352013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
9136
9137 PR target/56529
9138 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
9139 inclusion list.
9140
ecdbd01a 91412013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
9142
9143 * config/microblaze/crti.S: Setup stack protection at entry
9144
0b4ce21b
GJL
91452013-03-04 Georg-Johann Lay <avr@gjlay.de>
9146
9147 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
9148 (__rotldi3): Shift bytewise if applicable.
9149
b7c3f1ca
JG
91502013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
9151
9152 * config/aarch64/sync-cache.c
9153 (__aarch64_sync_cache_range): Silence warnings.
9154
6d65e8f1
CM
91552013-02-25 Catherine Moore <clm@codesourcery.com>
9156
9157 Revert:
9158 2013-02-24 Catherine Moore <clm@codesourcery.com>
9159 Joseph Myers <joseph@codesourcery.com>
9160 Chao-ying Fu <fu@mips.com>
9161
9162 * config/mips/mips16.S: Don't build for microMIPS.
9163 * config/mips/linux-unwind.h: Handle microMIPS frame.
9164 * config/mips/crtn.S (fini, init): New labels.
9165
6941b508
CM
91662013-02-24 Catherine Moore <clm@codesourcery.com>
9167 Joseph Myers <joseph@codesourcery.com>
9168 Chao-ying Fu <fu@mips.com>
9169
9170 * config/mips/mips16.S: Don't build for microMIPS.
9171 * config/mips/linux-unwind.h: Handle microMIPS frame.
9172 * config/mips/crtn.S (fini, init): New labels.
9173
7c422dbb 91742012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 9175 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
9176 as dividend.
9177
110207ad
AM
91782013-02-16 Alan Modra <amodra@gmail.com>
9179
9180 PR target/55431
9181 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
9182 (ppc_fallback_frame_state): Always set up save locations for fp
9183 and altivec. Don't bother with non-callee-saved regs, r0-r13
9184 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
9185
e68a4ef6
GJL
91862013-02-12 Georg-Johann Lay <avr@gjlay.de>
9187
9188 PR target/54222
9189 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
9190 _ssmulHA, _ssmulSA.
9191 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
9192 _ssmulha3, _usmulusa3, _ssmulsa3.
9193 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
9194 (__muldi3): XCALL __muldi3_6 instead of rcall.
9195 (__umulsidi3, __mulsidi3): New functions.
9196 (do_prologue_saves, do_epilogue_restores): New .macros.
9197 (__divdi3_moddi3): Use them.
9198 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
9199 (__usmulusa3, __ssmulsa3): New functions.
9200
6c59ffd1
IS
92012013-02-11 Iain Sandoe <iain@codesourcery.com>
9202 Jack Howarth <howarth@bromo.med.uc.edu>
9203 Patrick Marlier <patrick.marlier@gmail.com>
9204
9205 PR libitm/55693
9206 * config/darwin-crt-tm.c: Remove dummy functions hack.
9207
85d768f3
GJL
92082013-02-08 Georg-Johann Lay <avr@gjlay.de>
9209
9210 PR target/54222
9211 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
9212 * config/avr/lib2-object.mk: New iterator to build objects from it.
9213 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
9214 lib2funcs.c.
9215 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
9216 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
9217 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
9218 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
9219 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
9220 * config/avr/lib1funcs-fixed.S: Implement them.
9221
5d5bf775
RS
92222013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
9223
9224 Update copyright years.
9225
99113dff
DE
92262013-02-01 David Edelsohn <dje.gcc@gmail.com>
9227
9228 PR target/54601
9229 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
9230 Add crtcxa to extra_parts.
9231 * config/rs6000/exit.h: New file.
9232 * config/rs6000/cxa_atexit.c: New file.
9233 * config/rs6000/cxa_finalize.c: New file.
9234 * config/rs6000/crtcxa.c: New file.
9235 * config/rs6000/t-aix-cxa: New file.
9236 * config/rs6000/libgcc-aix-cxa.ver: New file.
9237
dbdbd982
NC
92382013-01-31 Nick Clifton <nickc@redhat.com>
9239
9240 * config/v850/lib1funcs.S: Add support for e3v5 architecture
9241 variant.
9242
5893f158
GJL
92432013-01-29 Georg-Johann Lay <avr@gjlay.de>
9244
9245 PR target/54222
9246 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
9247 _mulQQ, _mulHQ, _mulHA, _mulSA,
9248 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
9249 _divQQ, _divHQ, _divHA, _divSA,
9250 _divUQQ, _divUHQ, _divUHA, _divUSA.
9251
ecdbd01a 92522013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 9253
dbdbd982 9254 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
9255 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
9256 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
9257 to exclude functions from being built with libgcc.c and use
9258 the microblaze assembly.
9259
ecdbd01a 92602013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
9261
9262 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
9263 extra_parts.
9264
922c57d1
YZ
92652013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
9266
9267 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
9268 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
9269 __UINTPTR_TYPE__; also cast 'base' to the same type before the
9270 alignment operation.
9271
e0f8b6a0
SN
92722013-01-15 Sofiane Naci <sofiane.naci@arm.com>
9273
9274 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
9275 loop start address for cache clearing.
9276
00892272
GJL
92772013-01-14 Georg-Johann Lay <avr@gjlay.de>
9278
9279 * config/avr/lib1funcs.S: Remove trailing blanks.
9280 * config/avr/lib1funcs-fixed.S: Ditto.
9281
e59ec5fd
GJL
92822013-01-14 Georg-Johann Lay <avr@gjlay.de>
9283
9284 * config/avr/avr-lib.h: Add GPL copyright notice.
9285
3ffc1958
GJL
92862013-01-14 Georg-Johann Lay <avr@gjlay.de>
9287
9288 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
9289 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
9290 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
9291 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
9292
25c210f9
MK
92932013-01-07 Mark Kettenis <kettenis@openbsd.org>
9294
9295 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
9296 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 9297
db59befb
NC
92982013-01-04 Nick Clifton <nickc@redhat.com>
9299
9300 * config/v850/lib1funcs.S: Only provide CALLT support functions if
9301 the CALLT instruction is supported.
9302
5aa12dbf
JW
93032012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
9304
9305 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
9306 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
9307
65f14117
JT
93082012-12-13 John Tytgat <John@bass-software.com>
9309
9310 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
9311 is 25.
9312
ee3ae4f7
JJ
93132012-12-12 Jakub Jelinek <jakub@redhat.com>
9314
9315 PR libgcc/55451
9316 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
9317 undefined signed overflows.
9318
2fcfba3d
UB
93192012-12-09 Uros Bizjak <ubizjak@gmail.com>
9320
9321 PR target/55344
9322 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
9323
4f2b3dc2
UB
93242012-12-06 Uros Bizjak <ubizjak@gmail.com>
9325
9326 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
9327 (FP_TRAPPING_EXCEPTIONS): Define.
9328 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
9329 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
9330
066161a2
RH
93312012-12-04 Richard Henderson <rth@redhat.com>
9332
9333 PR bootstrap/55571
9334 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
9335
7d296953 93362012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 9337
4f2b3dc2 9338 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
9339 (FP_EX_SHIFT): Define.
9340 (FP_TRAPPING_EXCEPTIONS): Define.
9341
7d296953 93422012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
9343
9344 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
9345 (FP_ROUNDMODE): Use FP_RND_MASK.
9346 * config/aarch64/sfp-exceptions.c: New.
9347 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9348 Use __sfp_handle_exceptions.
9349
5005fe22
RE
93502012-12-04 Richard Earnshaw <rearnsha@arm.com>
9351
9352 * config.host: (arm*-*-freebsd*): Remove.
9353 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
9354 (arm*-*-elf*): Remove.
9355 (arm*-*-wince-pe*): Remove.
9356 * arm/unwind-arm.c (struct fpa_reg): Delete.
9357 (struct fpa_regs): Delete.
9358 (phase1_vrs): Remove fpa element.
9359 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
9360 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
9361 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
9362 * ieee754-sf.S (floatundisf): Remove FPA support.
9363 (floatdisf): Likewise.
9364 * ieee75f-df.S (floatundidf): Likewise.
9365 (floatdidf): Likewise.
9366
e5a81c8e
KT
93672012-11-29 Kai Tietz <ktietz@redhat.com>
9368
9369 PR target/55445
9370 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
9371 * unwind-generic.h: Likewise.
9372 * unwind-seh.c: Likewise.
9373
f4919e4a
RH
93742012-11-28 Richard Henderson <rth@redhat.com>
9375
9376 PR libgcc/48076
9377 * emutls.c (__emutls_get_address): Avoid race condition between
9378 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 9379
e13d9d5a
GJL
93802012-11-22 Georg-Johann Lay <avr@gjlay.de>
9381
9382 Adjust decimal point of signed accum mode to GCC default.
9383
9384 PR target/54222
9385 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
9386 _divqq_helper.
9387 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
9388 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
9389 (__mulha3, __mulsa3)
9390 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
9391 decimal point of signed accum types.
9392
e13d9d5a
GJL
9393 (__mulusa3_round): New function.
9394 (__mulusa3): Use it.
9395 (__divqq_helper): New function.
9396 (__udivuqq3): Use it.
9397
1b845c6e
JJ
93982012-11-20 Jakub Jelinek <jakub@redhat.com>
9399
9400 PR bootstrap/55370
9401 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
9402
822a258a
TJ
94032012-11-18 Teresa Johnson <tejohnson@google.com>
9404
9405 PR bootstrap/55051
9406 * libgcov.c (gcov_exit): Remove merged program summary
9407 comparison unless !GCOV_LOCKED.
9408
7d296953 94092012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
9410
9411 * soft-fp: Updated from glibc upstream.
9412
e808687a
ILT
94132012-11-06 Ian Lance Taylor <iant@google.com>
9414
9415 * generic-morestack.c (__generic_morestack): Align the returned
9416 stack pointer to a 32 byte boundary.
9417 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
9418 increment the return address until we have decided that we don't
9419 have a varargs function.
9420 (__morestack) [32-bit]: Align stack correctly when calling C
9421 functions.
9422 (__morestack) [64-bit]: Likewise.
9423
460277e0
TS
94242012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9425
9426 * configure: Regenerate.
9427
73edb277
UB
94282012-11-02 Uros Bizjak <ubizjak@gmail.com>
9429
9430 PR target/55175
9431 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
9432 * config/i386/sfp-machine.h: Guard exception handling
9433 code with _SOFT_FLOAT.
9434 * config/i386/32/sfp-machine.h: Guard rounding handling
9435 code with _SOFT_FLOAT.
9436 * config/i386/64/sfp-machine.h: Ditto.
9437
c1d4fa04
JS
94382012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
9439
9440 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
9441 as extra_parts.
9442
eff6ca85
UB
94432012-10-26 Uros Bizjak <ubizjak@gmail.com>
9444
9445 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
9446 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
9447 when appropriate. Correct structure element types.
9448 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
9449 -minline-all-stringops from compile flags.
9450
7d296953 94512012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
9452
9453 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
9454
7d296953 94552012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 9456
eff6ca85 9457 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 9458
6f288860
SH
94592012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
9460
9461 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
9462 tmake_file.
9463
1e3d5096
IB
94642012-10-23 Ian Bolton <ian.bolton@arm.com>
9465 Jim MacArthur <jim.macarthur@arm.com>
9466 Marcus Shawcroft <marcus.shawcroft@arm.com>
9467 Nigel Stephens <nigel.stephens@arm.com>
9468 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
9469 Richard Earnshaw <rearnsha@arm.com>
9470 Sofiane Naci <sofiane.naci@arm.com>
9471 Stephen Thomas <stephen.thomas@arm.com>
9472 Tejas Belagod <tejas.belagod@arm.com>
9473 Yufeng Zhang <yufeng.zhang@arm.com>
9474
9475 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
9476 * config/aarch64/crti.S: New file.
9477 * config/aarch64/crtn.S: New file.
9478 * config/aarch64/linux-unwind.h: New file.
9479 * config/aarch64/sfp-machine.h: New file.
9480 * config/aarch64/sync-cache.c: New file.
9481 * config/aarch64/t-aarch64: New file.
9482 * config/aarch64/t-softfp: New file.
9483
8a740f07
HPN
94842012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
9485
9486 * config/mmix/crti.S: Mark program and data addresses using PRELD.
9487 Remove typo'd and unnecessary alignment-LOC for .data. Remove
9488 no-longer-needed LDBU insns.
9489
7d296953 94902012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
9491
9492 * config.host
9493 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
9494 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
9495
595fefee
MGD
94962012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9497
9498 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
9499
9945a876
MK
95002012-10-15 Matthias Klose <doko@ubuntu.com>
9501
9502 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
9503
1183dc2c
PC
95042012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
9505
9506 * configure: Regenerate.
9507 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
9508
945a9c1f
UB
95092012-10-10 Uros Bizjak <ubizjak@gmail.com>
9510
9511 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
9512 instructions for 64bit targets only.
9513
fb8bf47a
UB
95142012-10-10 Uros Bizjak <ubizjak@gmail.com>
9515
9516 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9517 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
9518 * config/i386/32/sfp-machine.h: ... here.
9519 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
9520 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
9521 New defines.
9522
acb72498
MK
95232012-10-07 Matthias Klose <doko@ubuntu.com>
9524
9525 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
9526 as unused.
9527 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
9528
8eaee0f0
MK
95292012-10-06 Mark Kettenis <kettenis@openbsd.org>
9530
9531 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
9532 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
9533 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
9534 (ElfW): Likewise.
9535
5e3e4fe8
JW
95362012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
9537
9538 PR other/53889
9539 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9540 Fix parameter names.
9541
86086376
OE
95422012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
9543
9544 PR target/33135
9545 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
9546 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
9547 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
9548
9597375a
OE
95492012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
9550
9551 PR target/50457
9552 * config/sh/linux-atomic.S: Delete.
9553 * config/sh/linux-atomic.c: New.
9554 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
9555 linux-atomic.c. Add cflags to disable warnings.
9556
1504e3e1
JW
95572012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9558
9559 PR other/53889
9560 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
9561 function.
9562 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
9563 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
9564 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
9565 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
9566 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
9567 Likewise.
1504e3e1
JW
9568 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9569 Likewise.
9570 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
9571 Likewise.
9572 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
9573 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
9574
17f293b0
MK
95752012-09-19 Mark Kettenis <kettenis@openbsd.org>
9576
9597375a
OE
9577 * config.host (hppa-*-openbsd*): New target.
9578 * config/pa/t-openbsd: New file.
17f293b0 9579
51526856
GJL
95802012-09-15 Georg-Johann Lay <avr@gjlay.de>
9581
9582 PR target/54222
9583 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
9584 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
9585 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
9586 (__divsa3): Use __negsi2 to negate r_quoL.
9587 * config/avr/lib1funcs.S (FALIAS): New macro.
9588 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
9589 (__negsi2): ...this new function.
9590 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
9591 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
9592 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
9593 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
9594 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
9595 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
9596
aadb5b43
OE
95972012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
9598
9599 PR target/54089
9600 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
9601 (lshrsi3): Reimplement as lshrsi3_r0.
9602
d5d66749
AS
96032012-09-10 Andreas Schwab <schwab@linux-m68k.org>
9604
9605 PR target/46191
9606 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
9607 of libgcc.a.
9608
c6c36e73
TJ
96092012-09-07 Teresa Johnson <tejohnson@google.com>
9610
9597375a 9611 PR gcov-profile/54487
c6c36e73 9612 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 9613 differences.
c6c36e73 9614
b588ae30
GJL
96152012-09-05 Georg-Johann Lay <avr@gjlay.de>
9616
9617 PR target/54461
9618 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
9619 not configured --with-avrlibc=no.
9620 * config/avr/t-avrlibc: New file.
9621 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
9622 (DPBIT_FUNCS): Ditto.
9623 (TPBIT_FUNCS): Ditto.
9624
abd16fb1
TJ
96252012-09-04 Teresa Johnson <tejohnson@google.com>
9626
9627 * libgcov.c (struct gcov_summary_buffer): New structure.
9628 (gcov_histogram_insert): New function.
9629 (gcov_compute_histogram): Ditto.
9630 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
9631 histograms during summary merging.
9632
613061fd
MK
96332012-09-01 Mark Kettenis <kettenis@openbsd.org>
9634
9635 * config.host (x86_64-*-openbsd*): New target.
73edb277 9636
867a8345
CLT
96372012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
9638
9639 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9640 attribute.
9641
4aeaaca3
GJL
96422012-08-24 Georg-Johann Lay <avr@gjlay.de>
9643
9644 PR target/54222
9645 * config/avr/t-avr (conv_X): Rename to func_X.
9646
e55e4056
GJL
96472012-08-24 Georg-Johann Lay <avr@gjlay.de>
9648
9649 PR target/54222
9650 * config/avr/lib1funcs-fixed.S: New file.
9651 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
9652 after they are used.
9653 (neg2, neg4): New macros.
9654 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9655 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9656 (__umulhisi3): Speed up MUL variant if there is enough flash.
9657 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9658 avr-modes.def.
9659 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9660 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9661 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9662 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9663 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9664 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9665 (LIB2FUNCS_EXCLUDE): Add supported functions.
9666
a147b6d2
GJL
96672012-08-22 Georg-Johann Lay <avr@gjlay.de>
9668
9669 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9670 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9671 libgcc-s-objects.
9672 * fixed-obj.mk: Only expand dependency if $o is not in
9673 LIB2FUNCS_EXCLUDE.
9674
c637141a
L
96752012-08-22 H.J. Lu <hongjiu.lu@intel.com>
9676
9677 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9678
130e00bd
JM
96792012-08-22 Joseph Myers <joseph@codesourcery.com>
9680
9681 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9682 depend on --enable-shared.
9683 ($(lib1asmfuncs-o)): Use %.vis files independent of
9684 --enable-shared.
9685 * static-object.mk ($(base)$(objext), $(base).vis)
9686 ($(base)_s$(objext)): Use same rules for visibility handling as in
9687 shared-object.mk.
9688
4b1b3788
ILT
96892012-08-21 Ian Lance Taylor <iant@google.com>
9690
9691 * config/i386/morestack.S (__morestack_non_split): Increase amount
9692 of space allocated for non-split code stack.
9693
d2468141
JM
96942012-08-19 Joseph Myers <joseph@codesourcery.com>
9695
9696 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9697 even if inhibit_libc.
9698
a508e1a8
JB
96992012-08-17 Julian Brown <julian@codesourcery.com>
9700
9701 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9702 -fexceptions -fnon-call-exceptions if not defined.
9703 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9704 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9705
5615a07d
AS
97062012-08-17 Andreas Schwab <schwab@linux-m68k.org>
9707
9708 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9709 type.
9710
138f5acd
DE
97112012-08-16 David Edelsohn <dje.gcc@gmail.com>
9712
9713 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9714 rs6000/t-slibgcc-aix.
9715
18efc0dd
SB
97162012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9717
9718 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9719
6b39bc38
SB
97202012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9721
9722 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9723
cd25dea0
L
97242012-08-03 H.J. Lu <hongjiu.lu@intel.com>
9725
9726 PR driver/54171
9727 * Makefile.in (version): Replace top_srcdir with srcdir.
9728
a3dda30b
JY
97292012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
9730
9731 * Makefile.in (version): set to BASE-VER file from gcc directory.
9732
d04aacfc
NC
97332012-08-01 Nick Clifton <nickc@redhat.com>
9734
9735 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9736 Implements __clrsb for an HImode argument.
9737
0d13c974
NC
97382012-07-31 Nick Clifton <nickc@redhat.com>
9739
9740 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9741 Implements __clrsb for an HImode argument.
9742 * config/stormy16/clrsbhi2.c: New file:
9743 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9744
efbb59b2
SB
97452012-07-22 Steven Bosscher <steven@gcc.gnu.org>
9746
9747 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9748
bf1431e3
TG
97492012-07-19 Tristan Gingold <gingold@adacore.com>
9750 Richard Henderson <rth@redhat.com>
9751
9752 * unwind-seh.c: New file.
9753 * unwind-generic.h: Include windows.h for SEH.
9754 (_Unwind_Exception): Use 6 private fields for SEH.
9755 (_GCC_specific_handler): Declare.
9756 * unwind-c.c (__gcc_personality_seh0): New function.
9757 Adjust for SEH.
9758 * config/i386/libgcc-cygming.ver: New file.
9759 * config/i386/t-seh-eh: New file.
9760 * config.host (x86_64-*-mingw*): Default to seh.
9761
659140c8
SB
97622012-07-14 Steven Bosscher <steven@gcc.gnu.org>
9763
9764 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9765
a20d08fd
UB
97662012-06-17 Uros Bizjak <ubizjak@gmail.com>
9767
9768 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9769 __builtin_expect when checking for exceptions.
9770 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9771
79261115
UB
97722012-06-13 Uros Bizjak <ubizjak@gmail.com>
9773
4a172156
UB
9774 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9775 function declaration.
9776 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9777 (FP_RND_MASK): New.
9778 * config/ia64/sfp-exceptions.c: New.
9779 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 9780
bb5c97d4
UB
97812012-06-13 Uros Bizjak <ubizjak@gmail.com>
9782
9783 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9784 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9785 * config/i386/64/sfp-machine: ... (delete here) ...
9786 * config/i386/sfp-machine.h: ... to here.
9787 (FP_EX_MASK): Remove.
9788 (FP_RND_MASK): New.
9789 (FP_INIT_ROUNDMODE): Declare asm as volatile.
9790
91fe5efb
ST
97912012-06-11 Sriraman Tallam <tmsriram@google.com>
9792
9793 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9794 * config/i386/libgcc-sol2.ver: Ditto.
9795 * config/i386/libgcc-glibc.ver: Ditto.
9796
67a218c5
RM
97972012-06-11 Roland McGrath <mcgrathr@google.com>
9798
9799 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9800 If __GLIBC__ is defined, refer to __pthread_key_create instead of
9801 pthread_cancel.
9802
492fbea1
UB
98032012-06-09 Uros Bizjak <ubizjak@gmail.com>
9804
9805 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9806 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9807 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9808 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9809 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9810 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9811 * config/i386/64/sfp-machine: ... (delete here) ...
9812 * config/i386/sfp-machine.h: ... to here.
9813 (FP_EX_MASK): New.
9814 (__sfp_handle_exceptions): New function declaration.
9815 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9816 * config/i386/sfp-exceptions.c: New.
9817 * config/i386/t-softfp: New.
9818 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9819 i386/t-softfp to tmake_file.
9820
7b4cf266
DM
98212012-06-03 David S. Miller <davem@davemloft.net>
9822
9823 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9824 change.
9825
0de0d5c6
DM
98262012-05-31 David S. Miller <davem@davemloft.net>
9827
9828 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9829 multiply and divide instructions on 32-bit when V9.
9830 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9831
d8c9d391
JM
98322012-05-29 Joseph Myers <joseph@codesourcery.com>
9833
9834 * config/arm/ieee754-df.S: Fix typos.
9835 * config/arm/ieee754-sf.S: Fix typos.
9836 * config/c6x/libunwind.S: Fix typos.
9837 * config/epiphany/udivsi3-float.c: Fix typos.
9838 * config/microblaze/muldi3_hard.S: Fix typos.
9839 * config/picochip/adddi3.S: Fix typos.
9840 * config/picochip/ashlsi3.S: Fix typos.
9841 * config/picochip/ashrsi3.S: Fix typos.
9842 * config/picochip/clzsi2.S: Fix typos.
9843 * config/picochip/cmpsi2.S: Fix typos.
9844 * config/picochip/divmod15.S: Fix typos.
9845 * config/picochip/divmodhi4.S: Fix typos.
9846 * config/picochip/divmodsi4.S: Fix typos.
9847 * config/picochip/longjmp.S: Fix typos.
9848 * config/picochip/lshrsi3.S: Fix typos.
9849 * config/picochip/parityhi2.S: Fix typos.
9850 * config/picochip/popcounthi2.S: Fix typos.
9851 * config/picochip/setjmp.S: Fix typos.
9852 * config/picochip/subdi3.S: Fix typos.
9853 * config/picochip/ucmpsi2.S: Fix typos.
9854 * config/picochip/udivmodhi4.S: Fix typos.
9855 * config/picochip/udivmodsi4.S: Fix typos.
9856 * config/spu/divv2df3.c: Fix typos.
9857 * config/spu/mfc_multi_tag_release.c: Fix typos.
9858 * config/spu/mfc_tag_release.c: Fix typos.
9859 * configure.ac: Fix typos.
9860 * configure: Regenerate.
9861
31a18a7e
ILT
98622012-05-25 Ian Lance Taylor <iant@google.com>
9863
9864 * config/i386/morestack.S (__morestack_non_split): Check whether
9865 caller is varargs and needs %bp to hold the stack frame on return.
9866
c5768510
OH
98672012-05-25 Olivier Hainque <hainque@adacore.com>
9868
9869 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9870 sequence in the non pic case on VxWorks.
9871
7c7c339b
OH
98722012-05-24 Olivier Hainque <hainque@adacore.com>
9873
73fb7630 9874 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
9875 "install-leaf" to "install".
9876
fdc1b7d3
OH
98772012-05-24 Olivier Hainque <hainque@adacore.com>
9878
9879 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9880 Use a separate command for stamp removals.
9881
07ba94b9
AP
98822012-05-21 Andrew Pinski <apinski@cavium.com>
9883
9884 PR bootstrap/53183
9885 * configure.ac: Define the default includes to being none.
9886 * configure: Regenerate.
9887
4677d2eb
OH
98882012-05-16 Olivier Hainque <hainque@adacore.com>
9889
9890 * Makefile.in (install-unwind_h): Rename into ...
9891 (install-unwind_h-forbuild): New target.
9892 (all): Use it instead of the former install-unwind_h.
9893 (install-unwind_h): Reinstate, copy to user install destination
9894 for include files, not to the internal gcc object directory one.
9895 (install-leaf): Depend on it.
9896
7d67c380
OH
98972012-05-15 Olivier Hainque <hainque@adacore.com>
9898
9899 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9900 register numbers. LR_REGNO replaces R_LR.
9901 (ucontext_for): New, helper for ...
9902 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9903 and 5.3 of ...
9904 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9905
aca06c90
RO
99062012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9907
9908 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9909 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9910 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9911 i386/t-cpuinfo ...
9912 (i[34567]86-*-*, x86_64-*-*): ... here.
9913
9914 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9915 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9916
9917 * config/i386/i386-cpuinfo.c: Rename to ...
9918 * config/i386/cpuinfo.c: ... this.
9919 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9920
9921 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9922 (libgcc_cv_init_priority): New test.
9923 * configure: Regenerate.
9924 * config.in: New file.
9925 * Makefile.in (clean): Rename config.h to auto-target.h.
9926 (config.h): Likewise.
9927 (stamp-h): Likewise.
9928
9929 * config/i386/cpuinfo.c (auto-target.h): Include.
9930 (CONSTRUCTOR_PRIORITY): Define.
9931 (__cpu_indicator_init): Use it.
9932
0d03ac1b
L
99332012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9934
9935 * longlong.h: Use a URL instead of an FSF postal address.
9936 Replace spaces with tab.
9937
4a172156 99382012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
9939
9940 * libgcov.c (gcov_clear, __gcov_reset): New functions.
9941 (__gcov_dump): Ditto.
9942 (gcov_dump_complete): New global variable.
9943 (gcov_exit): Export hidden to enable use in L_gcov_dump.
9944 (__gcov_flush): Outline functionality now in gcov_clear.
9945 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9946
e4bb767e
AJ
99472012-04-28 Aurelien Jarno <aurelien@aurel32.net>
9948
31a18a7e
ILT
9949 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9950 (mips*-*-linux*): Include mips/t-tpbit when long double is
9951 16 bytes long.
e4bb767e 9952
5ddecff9
ST
99532012-04-25 Sriraman Tallam <tmsriram@google.com>
9954
9955 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9956 (get_available_features): New argument. Check for AVX2.
9957 (__cpu_indicator_init): Modify call to get_available_features.
9958
b427dd7a
AM
99592012-04-25 Alan Modra <amodra@gmail.com>
9960
9961 * config/rs6000/crtsavevr.S: New file.
9962 * config/rs6000/crtrestvr.S: New file.
9963 * config/rs6000/t-savresfgpr: Build the above.
9964 * config/rs6000/t-netbsd: Likewise.
9965
ad491329
ST
99662012-04-24 Sriraman Tallam <tmsriram@google.com>
9967
9968 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9969
792317cc
ST
99702012-04-24 Sriraman Tallam <tmsriram@google.com>
9971
9972 * libgcc/config/i386/i386-cpuinfo.c: New file.
9973 * libgcc/config/i386/t-cpuinfo: New file.
9974 * libgcc/config.host: Include t-cpuinfo.
9975 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9976
e1be98a4
CF
99772012-04-24 Chao-ying Fu <fu@mips.com>
9978
9979 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9980
1bde7dab
TS
99812012-04-20 Thomas Schwinge <thomas@codesourcery.com>
9982
9983 struct siginfo vs. siginfo_t
9984
9985 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9986 siginfo_t instead of struct siginfo.
9987 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9988 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9989 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9990 (ia64_handle_unwabi): Likewise.
9991 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9992 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9993 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9994 (sh_fallback_frame_state): Likewise.
9995 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9996 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9997
24590f66
L
99982012-04-02 H.J. Lu <hongjiu.lu@intel.com>
9999
10000 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
10001 system call number.
10002
9a9dcce8
EB
100032012-03-31 Eric Botcazou <ebotcazou@adacore.com>
10004
10005 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
10006 if it hasn't been previously saved.
10007
6401aaf5
L
100082012-03-29 H.J. Lu <hongjiu.lu@intel.com>
10009
10010 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
10011 only for glibc.
10012
7fd6378e
GJL
100132012-03-28 Georg-Johann Lay <avr@gjlay.de>
10014
10015 PR target/52737
10016 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
10017 instead of __AVR_HAVE_8BIT_SP__.
10018
9e916de7
TG
100192012-03-26 Tristan Gingold <gingold@adacore.com>
10020
10021 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
10022 (unw_table_entry): Use unw_word instead of unsigned long.
10023 (_Unwind_FindTableEntry): Likewise.
10024 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
10025 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
10026 (_Unwind_FindTableEntry): Likewise.
10027 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
10028 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
10029 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
10030 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
10031 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
10032 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
10033 (uw_init_context_1, uw_install_context): Likewise.
10034 (unw_word): Move to unwind-ia64.h
10035
4b12e93d
TG
100362012-03-26 Tristan Gingold <gingold@adacore.com>
10037
10038 * config/vms/vms-ucrt0.c: Update copyright years.
10039 Add a sanity check.
10040 (___gcc_main_flags): Declare.
10041 (__main): Check flags to remap argv and exit code.
10042 * config.host (*-*-*vms*): Adjust extra_parts.
10043 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
10044 (crt0.o): Add.
10045
06ea7371
RE
100462012-03-22 Richard Earnshaw <rearnsha@arm.com>
10047
10048 * arm/lib1funcs.asm (ctzsi2): New function.
10049 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
10050 * arm/t-linux (LIB1ASMFUNCS): Likewise.
10051 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
10052 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
10053 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
10054 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
10055
d82ad50d
AT
100562012-03-21 Andreas Tobler <andreast@fgznet.ch>
10057
10058 * config.host: Add bits to support powerpc64-*-freebsd*.
10059 * config/rs6000/freebsd-unwind.h: New file.
10060 * config/rs6000/t-freebsd64: New file.
10061
b260a8c0
RG
100622012-03-20 Richard Guenther <rguenther@suse.de>
10063
10064 PR gcov-profile/52627
10065 * libgcov.c (init_mx): Fix mutex name.
10066
86286a8a
TG
100672012-03-16 Tristan Gingold <gingold@adacore.com>
10068
10069 * config/ia64/vms-unwind.h: Remove ulong (and replace
10070 it by unw_reg where used). Define unw_reg with __int64.
10071
7888f266
RO
100722012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10073
10074 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
10075 Solaris 8 handling.
10076 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
10077 Solaris 8 handling.
10078 (sparc_is_sighandler): Likewise.
10079
f155bc64
L
100802012-03-13 H.J. Lu <hongjiu.lu@intel.com>
10081
10082 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
10083 <= saved reg size.
10084
d47657bd
RO
100852012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10086
10087 * config/arm/crtn.S: Fix typo.
10088
5bef73a1
RG
100892012-03-13 Richard Guenther <rguenther@suse.de>
10090
10091 * libgcov.c: Remove stdio.h include and NULL un-define.
10092
9c4271f3
RG
100932012-03-13 Richard Guenther <rguenther@suse.de>
10094
10095 PR target/52569
10096 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
10097
c6d10e7c
RG
100982012-03-13 Richard Guenther <rguenther@suse.de>
10099
10100 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
10101
074a385f
RG
101022012-03-13 Richard Guenther <rguenther@suse.de>
10103
10104 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
10105 and __gthread_mutex_init_function definitions.
10106
c4bc5c25
RO
101072012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10108
10109 * config.host (mips*-*-openbsd*): Remove.
10110
5c30094f
RO
101112012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10112
10113 * config.host: Remove alpha*-dec-osf5.1* handling.
10114 * config/alpha/gthr-posix.c: Remove.
10115 * config/alpha/libgcc-osf5.ver: Remove.
10116 * config/alpha/osf5-unwind.h: Remove.
10117 * config/alpha/t-osf-pthread: Remove.
10118 * config/alpha/t-slibgcc-osf: Remove.
10119 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
10120 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
10121 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
10122 * mkmap-flat.awk: Remove osf_export handling.
10123
33e3e24d
RG
101242012-03-12 Richard Guenther <rguenther@suse.de>
10125
10126 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
10127 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
10128 (__gthread_mutex_init_function): New function.
10129 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
10130
10131 PR gcov/49484
10132 * libgcov.c: Include gthr.h.
10133 (__gcov_flush_mx): New global variable.
10134 (init_mx, init_mx_once): New functions.
10135 (__gcov_flush): Protect self with a mutex.
10136 (__gcov_fork): Re-initialize mutex after forking.
10137 * unwind-dw2-fde.c: Change condition under which to use
10138 __GTHREAD_MUTEX_INIT_FUNCTION.
10139
d8aba32a
TG
101402012-03-12 Tristan Gingold <gingold@adacore.com>
10141
10142 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
10143 * config/ia64/t-vms: Likewise.
10144
75ffafdc
MH
101452012-03-11 Michael Hope <michael.hope@linaro.org>
10146
4a172156
UB
10147 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
10148 for Thumb-2.
75ffafdc 10149
ef6c2c53
WL
101502012-03-07 Walter Lee <walt@tilera.com>
10151
10152 * config/tilepro/atomic.c: Rename "atomic_" prefix to
10153 "arch_atomic_".
10154 (atomic_xor): Rename and move definition to
10155 config/tilepro/atomic.h.
10156 (atomic_nand): Ditto.
10157 * config/tilepro/atomic.h: Rename "atomic_" prefix to
10158 "arch_atomic_".
10159 (arch_atomic_xor): Move from config/tilepro/atomic.c.
10160 (arch_atomic_nand): Ditto.
10161
4e30d980
GJL
101622012-03-07 Georg-Johann Lay <avr@gjlay.de>
10163
10164 PR target/52507
10165 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
10166
61108225
GJL
101672012-03-07 Georg-Johann Lay <avr@gjlay.de>
10168
10169 PR target/52505
10170 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
10171 from RAM.
10172
b30e10ab
GJL
101732012-03-07 Georg-Johann Lay <avr@gjlay.de>
10174
10175 PR target/52461
10176 PR target/52508
10177 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
10178 if RAMPZ affects reading from RAM.
10179 (__tablejump_elpm__): Ditto.
10180 (.xload): Ditto.
10181 (__movmemx_hi): Ditto.
10182 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
10183 (__do_global_dtors): Ditto.
10184 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
10185 (__movmemx_hi): Ditto.
10186
8993fde4
RH
101872012-03-05 Richard Henderson <rth@redhat.com>
10188
10189 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
10190 [ARM] (count_trailing_zeros): Use the builtin.
10191
b7633ee3
KT
101922012-03-01 Kai Tietz <ktietz@redhat.com>
10193
10194 * soft-fp: Imported from glibc upstream.
10195
fbd3340c
KT
101962012-02-28 Kai Tietz <ktietz@redhat.com>
10197
10198 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
10199 for mingw-targets as attribute gcc_struct.
10200
e9e053eb
ILT
102012012-02-28 Ian Lance Taylor <iant@google.com>
10202
10203 * generic-morestack.c (__splitstack_releasecontext): Correct call
10204 to __morestack_release_segments.
10205
d80c632e
ST
102062012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10207
10208 PR target/52390
10209 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
10210 for __linux__ when removing signals from __morestack_fullmask.
10211
0253a8b1
GJL
102122012-02-23 Georg-Johann Lay <avr@gjlay.de>
10213
10214 PR target/52261
10215 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
10216
e10e461e
UW
102172012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10218
10219 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
10220 instead of HAVE_INITFINI_ARRAY.
10221 * config/ia64/crtend.S: Likewise.
10222
0c0c6398
KT
102232012-02-20 Kai Tietz <ktietz@redhat.com>
10224
d7470374
KT
10225 PR libstdc++/52300
10226 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
10227
0c0c6398
KT
10228 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
10229 to w32-unwind.h header.
10230
78c27266
RS
102312012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
10232
10233 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
10234 (mips*-*-linux*): Remove t-slibgcc-libgcc.
10235 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
10236 * config/mips/mips16.S (__mips16_rdhwr): Delete.
10237
5adeb246
RS
102382012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
10239
10240 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
10241
672ed313
IS
102422012-02-15 Iain Sandoe <iains@gcc.gnu.org>
10243
10244 PR libitm/52220
10245 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 10246
e948a1fb
IS
102472012-02-15 Iain Sandoe <iains@gcc.gnu.org>
10248 Patrick Marlier <patrick.marlier@gmail.com>
10249
10250 PR libitm/52220
10251 * config/darwin-crt-tm.c: Generate dummy functions.
10252
6017aed3
IS
102532012-02-15 Iain Sandoe <iains@gcc.gnu.org>
10254 Patrick Marlier <patrick.marlier@gmail.com>
10255
10256 PR libitm/52042
10257 * config/darwin-crt-tm.c (getTMCloneTable): New function.
10258 (__doTMRegistrations): Call it.
e9e053eb 10259 (__doTMdeRegistrations): Likewise.
6017aed3 10260
2da8c1ad 102612012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
10262 Anatoly Sokolov <aesok@post.ru>
10263 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
10264
10265 PR target/52261
10266 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
10267 (__epilogue_restores__): Ditto.
10268
0f952eb4
EB
102692012-02-15 Eric Botcazou <ebotcazou@adacore.com>
10270
10271 PR target/51921
10272 PR target/52205
10273 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
10274 Solaris 11 and slightly reformat.
10275 (sparc_is_sighandler): Likewise.
10276
dd552284
WL
102772012-02-14 Walter Lee <walt@tilera.com>
10278
10279 * config.host: Handle tilegx and tilepro.
10280 * config/tilegx/sfp-machine.h: New file.
10281 * config/tilegx/sfp-machine32.h: New file.
10282 * config/tilegx/sfp-machine64.h: New file.
10283 * config/tilegx/t-crtstuff: New file.
10284 * config/tilegx/t-softfp: New file.
10285 * config/tilegx/t-tilegx: New file.
10286 * config/tilepro/atomic.c: New file.
10287 * config/tilepro/atomic.h: New file.
10288 * config/tilepro/linux-unwind.h: New file.
10289 * config/tilepro/sfp-machine.h: New file.
10290 * config/tilepro/softdivide.c: New file.
10291 * config/tilepro/softmpy.S: New file.
10292 * config/tilepro/t-crtstuff: New file.
10293 * config/tilepro/t-tilepro: New file.
10294
b59cbd50
JW
102952012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
10296
10297 PR libstdc++/51296
10298 PR libstdc++/51906
10299 * gthr-posix.h: Allow static initializer macros to be disabled.
10300 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
10301
6caf807f
CLT
103022012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
10303
10304 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
10305 Add t-slibgcc-libgcc to tmake_file.
10306 * config/mips/libgcc-mips16.ver: Revert previous patch.
10307 * config/mips/mips16.S (__mips16_rdhwr): Hide.
10308
7d296953
JJ
103092012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
10310 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
10311
10312 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
10313 * config/cr16/crti.S: New file.
10314 * config/cr16/crtlibid.S: New file.
10315 * config/cr16/crtn.S: New file.
10316 * config/cr16/lib1funcs.S: New file.
10317 * config/cr16/t-cr16: New file.
10318 * config/cr16/t-crtlibid: New file.
10319 * config/cr16/unwind-dw2.h: New file.
10320 * config/cr16/unwind-cr16.c: New file.
10321 * config/cr16/divmodhi3.c: New file.
10322
8ef03aa7
AM
103232012-01-25 Alan Modra <amodra@gmail.com>
10324
10325 * config/rs6000/t-linux64: Delete. Move..
10326 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
10327 * config/rs6000/t-linux: ..and libgcc flags to here.
10328
daecebc8
DR
103292012-01-22 Douglas B Rupp <rupp@gnat.com>
10330
10331 * config.host (i[34567]86-*-interix3*):
8ef03aa7 10332 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
10333 * configure: Regenerate.
10334
ddaf8125
RS
103352012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
10336 Richard Sandiford <rdsandiford@googlemail.com>
10337
10338 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
10339 * config/mips/mips16.S (__mips16_rdhwr): New function.
10340 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
10341
2cd8b32c
NS
103422012-01-11 Nathan Sidwell <nathan@acm.org>
10343
10344 * libgcov.c (__gcov_init): Ignore objects with no functions.
10345
cba300dd
GJL
103462012-01-10 Georg-Johann Lay <avr@gjlay.de>
10347
10348 PR target/49868
10349 Extend __pgmx semantics to linearize memory.
10350 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
10351 * config/avr/lib1funcs.S (__xload_1): New function.
10352 (__movmemx_qi, __movmemx_hi): New functions.
10353 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
10354 semantics.
9ffaf4bc 10355
3d137660
EB
103562012-01-09 Eric Botcazou <ebotcazou@adacore.com>
10357
10358 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
10359 purported sigacthandler address isn't null before dereferencing it.
10360 (sparc_is_sighandler): Likewise.
10361
bf4db96c
EB
103622012-01-09 Eric Botcazou <ebotcazou@adacore.com>
10363
10364 PR ada/41929
10365 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
10366 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
10367 (sparc_is_sighandler): Likewise.
10368 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
10369
1ab3568b
TG
103702012-01-06 Tristan Gingold <gingold@adacore.com>
10371
10372 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
10373 compatibility thunks...
10374 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
10375 (crtbeginS.o, crtendS.o): ... and these to ...
10376 * config/ia64/t-ia64-elf: ... this new file.
10377 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
10378 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
10379
925b0ed8
AK
103802012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10381
10382 * configure: Regenerate.
10383 * config/s390/t-crtstuff: Remove -fPIC.
10384
a99ad737
JW
103852012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
10386
10387 PR bootstrap/51006
10388 * enable-execute-stack-mprotect.c (getpagesize): Do not define
10389 for NetBSD.
10390
884f56d1
GJL
103912012-01-02 Georg-Johann Lay <avr@gjlay.de>
10392
10393 PR target/51345
10394 * config/avr/lib1funcs.S: Remove FIXME comments.
10395 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
10396
8c57e547
GJL
103972012-01-02 Georg-Johann Lay <avr@gjlay.de>
10398
10399 Implement light-weight DImode support.
10400 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
10401 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
10402 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
10403 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
10404
04dbc287
NS
104052011-12-30 Nathan Sidwell <nathan@acm.org>
10406
10407 * libgcov.c (gcov_crc32): Remove global var.
10408 (free_fn_data): New function.
10409 (buffer_fn_data): Pass in filename, more robust error recovery.
10410 (crc32_unsigned): New function.
10411 (gcov_exit): More robust detection of new program. More robust
10412 error recovery.
10413 (__gcov_init): Do not update program's crc here.
10414
8e1d97d4
TG
104152011-12-21 Tristan Gingold <gingold@adacore.com>
10416
10417 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
10418
9ffaf4bc
ILT
104192011-12-21 Ian Lance Taylor <iant@google.com>
10420
10421 * config/i386/morestack.S: Simplify CFI opcodes throughout.
10422
a0c8d0c1
ILT
104232011-12-20 Ian Lance Taylor <iant@google.com>
10424
10425 * config/i386/morestack.S (__morestack_non_split): If there is
10426 enough stack space already, don't split. Ask for more stack space
10427 than we required.
10428
69048898
SDJ
104292011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
10430
10431 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
10432 `sys/sdt.h'.
10433 (_Unwind_DebugHook): New function.
10434 (uw_restore_core_regs): New define.
10435 (unwind_phase2): Use uw_restore_core_regs instead of
10436 restore_core_regs.
10437 (unwind_phase2_forced): Likewise.
10438 (__gnu_Unwind_Resume): Likewise.
10439
1bb4b6a3
UB
104402011-12-20 Uros Bizjak <ubizjak@gmail.com>
10441
10442 * config/alpha/linux-unwind.h: Update copyright years.
10443 (MD_FROB_UPDATE_CONTEXT): New define.
10444 (alpha_frob_update_context): New function.
10445
eb028768
RS
104462011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
10447
10448 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
10449 tmake_file rather replacing it.
10450
6a2045bf
IS
104512011-12-15 Iain Sandoe <iains@gcc.gnu.org>
10452
10453 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 10454 function is not used for PPC64.
6a2045bf
IS
10455 (save_world): Amend comments. Update the VRsave mask to reflect the
10456 saved regs.
10457 (rest_world): Update comments, do not clobber r10, do not use r8.
10458 (eh_rest_world_r10): Amend comments, do not use r8.
10459 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
10460 no longer used, move restore of CR and target address to the end of
10461 the routine.
10462
a13780a6
L
104632011-12-14 H.J. Lu <hongjiu.lu@intel.com>
10464
10465 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
10466 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
10467
d7288dfb
GJL
104682011-12-14 Georg-Johann Lay <avr@gjlay.de>
10469
10470 PR target/49313
10471 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
10472 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
10473
8d2c862d
EB
104742011-12-11 Eric Botcazou <ebotcazou@adacore.com>
10475
10476 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
10477
3447cae6
GJL
104782011-12-09 Georg-Johann Lay <avr@gjlay.de>
10479
10480 PR target/49313
10481 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
10482 * config/avr/lib1funcs.S (__muldi3): New function.
10483
806fc6aa
AP
104842011-12-06 Andrew Pinski <apinski@cavium.com>
10485
10486 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
10487 size of func_ptr.
10488 (__frame_dummy_init_array_entry): Likewise.
10489
28c5e6b5
GJL
104902011-12-06 Georg-Johann Lay <avr@gjlay.de>
10491
10492 Forward-port from gcc-4_6-branch r181936 2011-12-02.
10493
10494 PR target/51345
10495 PR target/51002
10496 * config/avr/lib1funcs.S (__prologue_saves__,
10497 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
10498 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
10499
8f90394a
IS
105002011-12-04 Iain Sandoe <iains@gcc.gnu.org>
10501
10502 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
10503
06dd33ac
JDA
105042011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10505
10506 PR other/51272
10507 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
10508 (_ITM_deregisterTMCloneTable): Likewise.
10509 (__register_frame_info): Fix unused warning.
10510 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
10511 pthread_default_stacksize_np): Likewise.
10512 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 10513
85b8555e
DD
105142011-11-29 DJ Delorie <dj@redhat.com>
10515
10516 * config.host (rl78-*-elf): New case.
10517 * config/rl78: New directory for the Renesas RL78.
10518
4d5ae4ea
BS
105192011-11-29 Bernd Schmidt <bernds@codesourcery.com>
10520
10521 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
10522 formatting.
10523
f9c55897
RO
105242011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10525
10526 PR other/51022
10527 * config/rs6000/t-savresfgpr: New file.
10528 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
10529 $(srcdir)/config/rs6000/eabi.S.
10530 * config/rs6000/t-ppccomm-ldbl: Remove.
10531 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
10532 tmake_file.
10533 (powerpc-*-eabispe*): Likewise.
10534 (powerpc-*-eabi*): Likewise.
10535 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10536 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
10537 to tmake_file, remove rs6000/t-ppccomm-ldbl.
10538 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
10539 tmake_file.
10540 (powerpc-*-eabisim*): Likewise.
10541 (powerpc-*-elf*): Likewise.
10542 (powerpc-*-eabialtivec*): Likewise.
10543 (powerpc-xilinx-eabi*): Likewise.
10544 (powerpc-*-rtems*): Likewise.
10545 (powerpcle-*-elf*): Likewise.
10546 (powerpcle-*-eabisim*): Likewise.
10547 (powerpcle-*-eabi*): Likewise.
10548
a01207c4
ILT
105492011-11-27 Ian Lance Taylor <iant@google.com>
10550
10551 * generic-morestack.c (__splitstack_find): Check for NULL old
10552 stack value.
10553 (__splitstack_resetcontext): New function.
10554 (__splitstack_releasecontext): New function.
10555 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10556
2b0b8ab2
IS
105572011-11-27 Iain Sandoe <iains@gcc.gnu.org>
10558
10559 * config/darwin-crt-tm.c: Correct comments, use correct licence.
10560
c1d8101c
IS
105612011-11-27 Iain Sandoe <iains@gcc.gnu.org>
10562
10563 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
10564
8b281334
RH
105652011-11-26 Richard Henderson <rth@redhat.com>
10566
10567 * config/m68k/linux-atomic.c: New file.
10568 * config/m68k/t-linux: New file.
10569 * config.host (m68k-uclinux, m68k-linux): Use it.
10570
7546aa9d
RH
105712011-11-26 Richard Henderson <rth@redhat.com>
10572
10573 * crtstuff.c (__TMC_LIST__): Mark used not unused.
10574 (__TMC_END__): Only declare if hidden is available; in the definition,
10575 if hidden is unavailable add a null record.
10576 (deregister_tm_clones, register_tm_clones): New.
10577 (__do_global_dtors_aux, frame_dummy): Use them.
10578 (__do_global_dtors, __do_global_ctors_1): Likewise.
10579
e2362f5d
IS
105802011-11-22 Iain Sandoe <iains@gcc.gnu.org>
10581
10582 * config/darwin-crt-tm.c: New file.
10583 * config.host (darwin): Build crttms.o crttme.o to provide
10584 startup and shutdown for tm clones.
10585 * config/t-darwin (crttms.o): New build rule.
10586 (crttme.o): Likewise.
10587
6685dd96
HPN
105882011-11-21 Hans-Peter Nilsson <hp@axis.com>
10589
10590 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
10591 et al.
10592
b0dc7e4c
RH
105932011-11-21 Richard Henderson <rth@redhat.com>
10594
10595 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
10596 (__TMC_LIST__, __TMC_END__): New.
10597 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
10598 (__do_global_dtors): Likewise.
10599 (frame_dummy): Call _ITM_registerTMCloneTable.
10600 (__do_global_ctors_1): Likewise.
10601
d4b4b542
RO
106022011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10603
10604 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
10605 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10606 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
10607 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
10608 * config/i386/t-darwin64: Remove.
10609 * config/sh/t-netbsd (LIB2ADD): Remove.
10610
989bdb74
GJL
106112011-11-21 Georg-Johann Lay <avr@gjlay.de>
10612
10613 PR target/49313
10614 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
10615 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
10616 * config/avr/lib1funcs.S (wmov): New assembler macro.
10617 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
10618 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
10619 (__udivmod64): New function.
10620 (__negdi2): New function.
10621
515a0cfc
GP
106222011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
10623
10624 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
10625 *-*-freebsd*aout*): Remove.
10626
0115d17f
HPN
106272011-11-20 Hans-Peter Nilsson <hp@axis.com>
10628
10629 * static-object.mk (c_flags-$o): Save c_flags.
10630 ($(base)$(objext)): Use it.
10631
93aeb62b
SE
106322011-11-18 Steve Ellcey <sje@cup.hp.com>
10633
10634 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
10635
7bc6df2c
GJL
106362011-11-18 Georg-Johann Lay <avr@gjlay.de>
10637
10638 PR target/49868
10639 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10640 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10641 New functions.
10642
425d737b
MGD
106432011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
10644
10645 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10646 functions.
1bb4b6a3 10647 (aeabi_uidivmod): Likewise.
425d737b
MGD
10648 (umodsi3): Likewise.
10649 (divsi3): Likewise.
10650 (aeabi_idivmod): Likewise.
10651 (modsi3): Likewise.
10652
f2a176dc
TG
106532011-11-16 Tristan Gingold <gingold@adacore.com>
10654
10655 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10656
7c209481
GJL
106572011-11-15 Georg-Johann Lay <avr@gjlay.de>
10658
10659 PR target/49868
10660 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
10661 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10662
9dfd5832
JDA
106632011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10664
10665 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10666 tmake_file list.
10667 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10668 * config/pa/t-stublib64: Delete.
10669
f77dca5d
RH
106702011-11-12 Richard Henderson <rth@redhat.com>
10671
10672 * config/rs6000/linux-unwind.h (frob_update_context): Properly
10673 cast the pointer argument to _Unwind_SetGRPtr.
10674
902828f0
RO
106752011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10676
10677 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10678
e14304ef
ILT
106792011-11-09 Ian Lance Taylor <iant@google.com>
10680
10681 * generic-morestack.c: Include <string.h>.
10682 (uintptr_type): Define.
10683 (struct initial_sp): Add dont_block_signals field. Reduce size of
10684 extra array by 1.
10685 (allocate_segment): Set prev field to NULL. Don't set
10686 __morestack_current_segment or __morestack_segments.
10687 (__generic_morestack): Update current->prev and *pp after calling
10688 allocate_segment.
10689 (__morestack_block_signals): Don't do anything if
10690 dont_block_signals is set.
10691 (__morestack_unblock_signals): Likewise.
10692 (__generic_findstack): Check for initial_sp == NULL. Add casts to
10693 uintptr_type.
10694 (__splitstack_block_signals): New function.
10695 (enum __splitstack_content_offsets): Define.
10696 (__splitstack_getcontext, __splitstack_setcontext): New functions.
10697 (__splitstack_makecontext): New function.
10698 (__splitstack_block_signals_context): New function.
10699 (__splitstack_find_context): New function.
10700 * config/i386/morestack.S (__morestack_get_guard): New function.
10701 (__morestack_set_guard, __morestack_make_guard): New functions.
10702 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10703
e3d871e4
RO
107042011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10705
10706 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10707 (i[34567]86-*-mingw*): ... here.
10708 (x86_64-*-mingw*): ... here.
10709
e55cef40
RO
107102011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10711
10712 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10713
5366b186
NS
107142011-11-07 Nathan Sidwell <nathan@acm.org>
10715
10716 * libgcov.c (struct gcov_fn_buffer): New struct.
10717 (buffer_fn_data): New helper.
10718 (gcov_exit): Rework for new gcov data structures.
10719
74155a6f
GJL
107202011-11-07 Georg-Johann Lay <avr@gjlay.de>
10721
10722 PR target/49313
10723 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10724
200feb07
RO
107252011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10726
10727 * config.host (tmake_file): Correct comment.
10728 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10729 t-libgcc-pic.
10730 (bfin*-uclinux*): Likewise.
10731 (bfin*-linux-uclibc*): Likewise.
10732 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10733
10734 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10735 assigning.
10736 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10737 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10738 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10739 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10740 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10741 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10742 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10743 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10744 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10745 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10746 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10747 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10748 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10749
10750 * config/bfin/t-elf: Remove.
10751 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10752
c9cd1a07
RO
107532011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10754
10755 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10756 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10757 (lm32-*-elf*, lm32-*-rtems*): Split into ...
10758 (lm32-*-elf*): ... this.
10759 (lm32-*-rtems*): ... and this.
10760 Add to tmake_file.
10761 (m32r-*-rtems*): Add to tmake_file.
10762 (moxie-*-rtems*): Likewise.
10763 (sparc-*-rtems*): Likewise.
10764 Remove t-rtems from tmake_file.
10765 (sparc64-*-rtems*): Likewise.
10766 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10767 instead.
10768
9fbcc75d
RO
107692011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10770
10771 PR bootstrap/50982
10772 * config/gthr-posix.h: Move ...
10773 * gthr-posix.h: ... here.
10774 * config/gthr-lynx.h: Reflect this.
10775 * config/gthr-vxworks.h: Likewise.
10776 * config/rs6000/gthr-aix.h: Likewise.
10777 * configure.ac (target_thread_file): Likewise.
10778 * configure: Regenerate.
10779
76644b68
SH
107802011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
10781
10782 * config.host (arm*-*-rtemseabi*): New target.
10783
5e490f2a
JDA
107842011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10785
10786 PR other/50991
10787 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10788 extra-parts.
10789
feeeff5c
JR
107902011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
10791
10792 * config.host (epiphany-*-elf*): New configuration.
10793 * config/epiphany: New Directory.
10794
d618bb2c
RC
107952011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
10796
10797 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10798 * config/avr/t-rtems: New.
10799 Filter out _exit from LIB1ASMFUNCS.
10800
1bb6f778
DM
108012011-11-04 David S. Miller <davem@davemloft.net>
10802
10803 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10804 * configure: Rebuild.
10805
9a7f7422
AK
108062011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10807
10808 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10809 variable.
10810
e4fe948a
GJL
108112011-11-04 Georg-Johann Lay <avr@gjlay.de>
10812
10813 PR target/50931
10814 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10815 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10816
7084e037
JS
108172011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
10818
10819 PR target/50989
10820 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10821
1a032034
RO
108222011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10823
10824 * config/c6x/t-elf (LIB2ADDEH): Set.
10825 * config/c6x/t-c6x-elf: Remove.
10826
d385f772
RO
108272011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10828
10829 * config/i386/sol2-ci.S: Rename to ...
10830 * config/i386/crti.S: ... this.
10831 * config/i386/sol2-cn.S: Rename to ...
10832 * config/i386/crtn.S: ... this.
10833 * config/sparc/sol2-ci.S: Rename to ...
10834 * config/sparc/crti.S: ... this.
10835 * config/sparc/sol2-cn.S: Rename to ...
10836 * config/sparc/crtn.S: ... this.
10837 * config/t-sol2 (CUSTOM_CRTIN): Remove.
10838 (crti.o, crtn.o): Remove.
10839
1ba878a9
TG
108402011-11-04 Tristan Gingold <gingold@adacore.com>
10841
10842 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10843
02750c15
KK
108442011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
10845
10846 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10847
bf86b067
HPN
108482011-11-03 Hans-Peter Nilsson <hp@axis.com>
10849
10850 * config.host (crisv32-*-none, cris-*-none): Remove.
10851 (crisv32-*-elf): Append to tmake_file, don't just set it.
10852 (cris-*-elf): Add missing t-fdpbit to tmake_file.
10853
d0bc53bd
RO
108542011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10855
10856 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10857 (ecrtn$(objext)): Likewise.
10858 (ncrti$(objext)): Likewise.
10859 (ncrtn$(objext)): Likewise.
10860
036da830
AS
108612011-11-03 Andreas Schwab <schwab@redhat.com>
10862
10863 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10864
d2a7d041
DM
108652011-11-02 David S. Miller <davem@davemloft.net>
10866
10867 * configure.ac: Set host_address on sparc too.
10868 * configure: Regenerate.
10869 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10870 based upon host_address.
10871 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10872
af8ed618
JM
108732011-11-02 Jason Merrill <jason@redhat.com>
10874
10875 * config/rs6000/t-ppccomm: Add missing \.
10876
5d1c8e77
RO
108772011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10878
10879 * gthr-single.h, gthr.h: New files.
10880 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10881 config/gthr-vxworks.h, config/i386/gthr-win32.h,
10882 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10883 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10884 * config/i386/gthr-win32.c: Include "gthr-win32.h".
10885 * configure.ac (thread_header): New variable.
10886 Set it depending on target_thread_file.
10887 (gthr-default.h): Link from $thread_header.
10888 * configure: Regenerate.
10889 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10890
852b75ed
RO
108912011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10892
10893 * configure.ac (tm_file_): New variable.
10894 Determine from tm_file.
10895 (tm_file, tm_defines): Substitute.
10896 * configure: Regenerate.
10897 * mkheader.sh: New file.
10898 * Makefile.in (clean): Remove libgcc_tm.h.
10899 ($(objects)): Depend on libgcc_tm.h.
10900 (libgcc_tm_defines, libgcc_tm_file): New variables.
10901 (libgcc_tm.h, libgcc_tm.stamp): New targets.
10902 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10903 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10904 ($(extra-parts)): Depend on libgcc_tm.h.
10905 * config.host (tm_defines, tm_file): New variable.
10906 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10907 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10908 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10909 (avr-*-rtems*): Likewise.
10910 (avr-*-*): Likewise.
10911 (frv-*-elf): Likewise.
10912 (frv-*-*linux*): Likewise.
10913 (h8300-*-rtems*): Likewise.
10914 (h8300-*-elf*): Likewise.
10915 (i[34567]86-*-darwin*): Likewise.
10916 (x86_64-*-darwin*): Likewise.
10917 (rx-*-elf): Likewise.
10918 (tic6x-*-uclinux): Likewise.
10919 (tic6x-*-elf): Likewise.
10920 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10921 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10922 * config/i386/cygming-crtbegin.c: Likewise.
10923 * config/i386/cygming-crtend.c: Likewise.
10924 * config/ia64/fde-vms.c: Likewise.
10925 * config/ia64/unwind-ia64.c: Likewise.
10926 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10927 * config/rs6000/darwin-fallback.c: Likewise.
10928 * config/stormy16/lib2funcs.c: Likewise.
10929 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10930 * crtstuff.c: Likewise.
10931 * dfp-bit.h: Likewise.
10932 * emutls.c: Likewise.
10933 * fixed-bit.c: Likewise.
10934 * fp-bit.c: Likewise.
10935 * generic-morestack-thread.c: Likewise.
10936 * generic-morestack.c: Likewise.
10937 * libgcc2.c: Likewise.
10938 * libgcov.c: Likewise.
10939 * unwind-dw2-fde-dip.c: Likewise.
10940 * unwind-dw2-fde.c: Likewise.
10941 * unwind-dw2.c: Likewise.
10942 * unwind-sjlj.c: Likewise.
10943
f9989b51
RO
109442011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10945
10946 * configure.ac: Include ../config/picflag.m4.
10947 (GCC_PICFLAG): Call it.
10948 Substitute.
10949 * configure: Regenerate.
10950 * Makefile.in (gcc_srcdir): Remove.
10951 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10952 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10953 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10954 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10955 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10956 Use $<.
10957 Remove comment.
10958 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10959 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10960 to refer to libgcc2.c.
10961 Use $<.
10962 * config/darwin-64.c: New file.
10963 * config/darwin-crt3.c: Remove comment.
10964 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10965 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10966 config/udivmodsi4.c: New files.
10967 * config/memcmp.c, config/memcpy.c, config/memmove.c,
10968 config/memset.c: New files.
10969 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10970 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10971 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10972 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10973 * config/t-openbsd-thread: New file.
10974 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10975 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10976 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10977 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10978 qrnnd.S.
10979 Adapt filename.
10980 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10981 to refer to gthr-posix.c.
10982 * config/alpha/t-vms (LIB2ADD): Set.
10983 * config/alpha/vms-gcc_shell_handler.c: New file.
10984 * config/arm/bpabi.c, config/arm/fp16.c,
10985 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10986 config/arm/unaligned-funcs.c: New files.
10987 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10988 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10989 * config/arm/t-linux: Likewise.
10990 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10991 * config/arm/t-netbsd: New file.
10992 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10993 * config/arm/t-symbian (LIB2ADD_ST): Set.
10994 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10995 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10996 * config/bfin/t-elf: New file.
10997 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10998 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10999 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
11000 config/c6x/ltf.c: New files.
11001 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
11002 (HOST_LIBGCC2_CFLAGS): Set.
11003 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
11004 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11005 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
11006 New files.
11007 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
11008 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
11009 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
11010 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
11011 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
11012 files.
11013 * config/frv/t-frv (LIB2ADD): Set.
11014 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11015 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
11016 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
11017 config/h8300/popcounthi2.c: New files.
11018 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
11019 * config/i386/gthr-win32.c: New file.
11020 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
11021 * config/i386/t-cygwin: Likewise.
11022 * config/i386/t-darwin, config/i386/t-darwin64,
11023 config/i386/t-gthr-win32, config/i386/t-interix: New files.
11024 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
11025 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11026 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11027 * config/ia64/quadlib.c: New file.
11028 * config/ia64/t-hpux (LIB2ADD): Set.
11029 * config/ia64/t-ia64: Add comment.
11030 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
11031 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11032 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
11033 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
11034 * config/m32c/t-m32c (LIB2ADD): Set.
11035 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
11036 * config/m32r/t-m32r: Likewise.
11037 * config/m68k/fpgnulib.c: New file.
11038 * config/m68k/t-floatlib (LIB2ADD): Set.
11039 (xfgnulib.c): New target.
11040 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
11041 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
11042 * config/mep/t-mep (LIB2ADD): Set.
11043 * config/microblaze/divsi3.asm: Rename to divsi3.S.
11044 * config/microblaze/moddi3.asm: Rename to moddi3.S.
11045 * config/microblaze/modsi3.asm: Rename to modsi3.S.
11046 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
11047 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
11048 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
11049 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
11050 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
11051 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
11052 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
11053 New files.
11054 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
11055 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
11056 * config/pa/fptr.c, config/pa/lib2funcs.S,
11057 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
11058 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
11059 (LIB2ADD, LIB2ADD_ST): Set.
11060 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
11061 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
11062 Set.
11063 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
11064 * config/pdp11/t-pdp11: New file.
11065 * config/picochip/libgccExtras/adddi3.S,
11066 config/picochip/libgccExtras/ashlsi3.S,
11067 config/picochip/libgccExtras/ashrsi3.S,
11068 config/picochip/libgccExtras/clzsi2.S,
11069 config/picochip/libgccExtras/cmpsi2.S,
11070 config/picochip/libgccExtras/divmod15.S,
11071 config/picochip/libgccExtras/divmodhi4.S,
11072 config/picochip/libgccExtras/divmodsi4.S,
11073 config/picochip/libgccExtras/lshrsi3.S,
11074 config/picochip/libgccExtras/parityhi2.S,
11075 config/picochip/libgccExtras/popcounthi2.S,
11076 config/picochip/libgccExtras/subdi3.S,
11077 config/picochip/libgccExtras/ucmpsi2.S,
11078 config/picochip/libgccExtras/udivmodhi4.S,
11079 config/picochip/libgccExtras/udivmodsi4.S: New files.
11080 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
11081 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
11082 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
11083 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
11084 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
11085 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
11086 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
11087 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
11088 files.
11089 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
11090 (HOST_LIBGCC2_CFLAGS): Set.
11091 * config/rs6000/t-darwin64: New file.
11092 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
11093 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
11094 * config/rs6000/t-ppccomm (LIB2ADD): Add
11095 $(srcdir)/config/rs6000/tramp.S.
11096 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
11097 Add $(srcdir)/config/rs6000/eabi.S.
11098 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
11099 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
11100 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
11101 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
11102 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
11103 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
11104 * config/rs6000/tramp.S: New file.
11105 * config/s390/t-tpf: Remove.
11106 * config/sh/linux-atomic.S: New file.
11107 * config/sh/t-linux (LIB2ADD): Set.
11108 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
11109 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
11110 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
11111 to unwind-dw2.c.
11112 (HOST_LIBGCC2_CFLAGS): Set.
11113 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
11114 * config/spu/divmodti4.c, config/spu/divv2df3.c,
11115 config/spu/float_disf.c, config/spu/float_unsdidf.c,
11116 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
11117 config/spu/mfc_multi_tag_release.c,
11118 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
11119 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
11120 config/spu/multi3.c: New files.
11121 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
11122 (HOST_LIBGCC2_CFLAGS): Set.
11123 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
11124 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
11125 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
11126 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
11127 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
11128 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
11129 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
11130 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
11131 config/stormy16/umodsi3.c: New files.
11132 * config/xtensa/lib2funcs.S: New file.
11133 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
11134 * config/xtensa/t-xtensa (LIB2ADD): Set.
11135 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
11136 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
11137 Add t-freebsd-thread to tmake_file for posix threads.
11138 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
11139 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
11140 (*-*-lynxos*): Likewise.
11141 (*-*-netbsd*): Likewise.
11142 (*-*-openbsd*): Likewise.
11143 Add t-openbsd-thread to tmake_file for posix threads.
11144 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
11145 (*-*-vxworks*): Set tmake_file.
11146 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
11147 (alpha*-*-freebsd*): Likewise.
11148 (alpha*-*-netbsd*): Likewise.
11149 (alpha*-*-openbsd*): Likewise.
11150 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
11151 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
11152 (alpha*-dec-*vms*): Likewise.
11153 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
11154 (bfin*-elf*): Add bfin/t-elf to tmake_file.
11155 (bfin*-uclinux*): Likewise.
11156 (bfin*-linux-uclibc*): Likewise.
11157 (crisv32-*-elf): Add cris/t-cris to tmake_file.
11158 (crisv32-*-none): Likewise.
11159 (cris-*-elf): Likewise.
11160 (cris-*-none): Likewise.
11161 (cris-*-linux*, crisv32-*-linux*): Likewise.
11162 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
11163 tmake_file.
11164 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
11165 tmake_file.
11166 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
11167 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
11168 (x86_64-*-elf*): Likewise.
11169 (i[34567]86-*-nto-qnx*): Likewise.
11170 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
11171 win32 threads.
11172 (x86_64-*-mingw*): Likewise.
11173 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
11174 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
11175 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11176 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11177 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
11178 tmake_file.
11179 (mipsisa64sr71k-*-elf*): Likewise.
11180 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11181 (mips-*-elf*, mipsel-*-elf*): Likewise.
11182 (mips64-*-elf*, mips64el-*-elf*): Likewise.
11183 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11184 (mips*-*-rtems*): Likewise.
11185 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
11186 to tmake_file.
11187 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
11188 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
11189 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
11190 (spu-*-elf*): Likewise.
11191 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
11192
45b86625
RO
111932011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11194
11195 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
11196 $(srcdir) to refer to $(LIB1ASMSRC).
11197 Use $<.
11198 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
11199 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
11200 config/arm/lib1funcs.S: New files.
11201 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
11202 * config/arm/t-arm: New file.
11203 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
11204 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
11205 config/arm/t-strongarm-elf: New files.
11206 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
11207 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
11208 * config/avr/lib1funcs.S: New file.
11209 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11210 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
11211 * config/c6x/lib1funcs.S: New file.
11212 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11213 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
11214 * config/frv/lib1funcs.S: New file.
11215 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11216 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
11217 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
11218 * config/ia64/__divxf3.asm: Rename to ...
11219 * config/ia64/__divxf3.S: ... this.
11220 Adapt lib1funcs.asm filename.
11221 * config/ia64/_fixtfdi.asm: Rename to ...
11222 * config/ia64/_fixtfdi.S: ... this.
11223 Adapt lib1funcs.asm filename.
11224 * config/ia64/_fixunstfdi.asm: Rename to ...
11225 * config/ia64/_fixunstfdi.S: ... this.
11226 Adapt lib1funcs.asm filename.
11227 * config/ia64/_floatditf.asm: Rename to ...
11228 * config/ia64/_floatditf.S: ... this.
11229 Adapt lib1funcs.asm filename.
11230 * config/ia64/lib1funcs.S: New file.
11231 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
11232 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11233 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
11234 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
11235 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
11236 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
11237 * config/mep/lib1funcs.S: New file.
11238 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11239 * config/mips/mips16.S: New file.
11240 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11241 * config/pa/milli64.S: New file.
11242 * config/pa/t-linux, config/pa/t-linux64: New files.
11243 * config/picochip/lib1funcs.S: New file.
11244 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11245 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
11246 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
11247 * config/sh/t-netbsd: New file.
11248 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
11249 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
11250 * config/sh/t-sh64: New file.
11251 * config/sparc/lb1spc.S: New file.
11252 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
11253 filename.
11254 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
11255 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
11256 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
11257 config/xtensa/lib1funcs.S: New files.
11258 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
11259 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
11260 tmake_file.
11261 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
11262 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
11263 (arm*-*-linux*): Likewise.
11264 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
11265 arm*-*-linux-*eabi, add arm/t-linux otherwise.
11266 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
11267 (arm*-*-ecos-elf): Likewise.
11268 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11269 (arm*-*-rtems*): Likewise.
11270 (arm*-*-elf): Likewise.
11271 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
11272 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
11273 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
11274 (bfin*-uclinux*): Likewise.
11275 (bfin*-linux-uclibc*): Likewise.
11276 (bfin*-rtems*): Likewise.
11277 (bfin*-*): Likewise.
11278 (fido-*-elf): Merge into m68k-*-elf*.
11279 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
11280 (frv-*-*linux*): Add frv/t-frv to tmake_file.
11281 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
11282 (h8300-*-elf*): Likewise.
11283 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
11284 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
11285 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
11286 (i[34567]86-*-mingw*): Likewise.
11287 (x86_64-*-mingw*): Likewise.
11288 (i[34567]86-*-interix3*): Likewise.
11289 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
11290 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
11291 (m68k-*-elf*): Also handle fido-*-elf.
11292 Add m68k/t-floatlib to tmake_file.
11293 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
11294 (m68k-*-linux*): Likewise.
11295 (m68k-*-rtems*): Likewise.
11296 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
11297 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
11298 sh64*-*-*.
11299 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
11300 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
11301 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
11302 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
11303 sh/t-netbsd to tmake_file.
11304 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
11305 (sh-*-rtems*): Add sh/t-sh to tmake_file.
11306 (sh-wrs-vxworks): Likewise.
11307 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
11308 *-leon[3-9]*.
11309 (v850*-*-*): Add v850/t-v850 to tmake_file.
11310 (vax-*-linux*): Add vax/t-linux to tmake_file.
11311 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
11312
5f73c6cc
RO
113132011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11314
11315 * crtstuff.c: New file.
11316 * Makefile.in (CRTSTUFF_CFLAGS): Define.
11317 (CRTSTUFF_T_CFLAGS): Define.
11318 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
11319 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
11320 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
11321 crtstuff.c.
11322 Use $<.
11323 (crtbeginT.o): Use $(objext).
11324 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
11325 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
11326 (gcc-extra-parts): Remove.
11327 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
11328 Set extra_parts.
11329 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11330 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
11331 Add t-crtstuff-pic to tmake_file.
11332 (*-*-lynxos*): New case.
11333 Set tmake_file, extra_parts.
11334 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
11335 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
11336 *-*-netbsdelf[2-9]*.
11337 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
11338 (*-*-rtems*): Set extra_parts.
11339 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
11340 (*-*-uclinux*): New case.
11341 Set extra_parts.
11342 (*-*-vms*): New case.
11343 Set tmake_file, extra_parts.
11344 (*-*-elf): Set extra_parts.
11345 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
11346 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
11347 vms/t-vms64.
11348 Set extra_parts.
11349 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
11350 Set extra_parts.
11351 (arm*-*-freebsd*): Add t-crtin to tmake_file.
11352 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
11353 (arm-wrs-vxworks): Append to tmake_file.
11354 Set extra_parts.
11355 (arm*-*-uclinux*): Set extra_parts.
11356 (arm*-*-ecos-elf): Likewise.
11357 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
11358 arm*-*-eabi*.
11359 (arm*-*-rtems*): Set extra_parts.
11360 (arm*-*-elf): Likewise.
11361 (avr-*-rtems*): Clear extra_parts.
11362 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
11363 Set extra_parts.
11364 (bfin*-uclinux*): Likewise.
11365 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
11366 (bfin*-rtems*): Append to tmake_file.
11367 Set extra_parts.
11368 (bfin*-*): Likewise.
11369 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
11370 (crisv32-*-elf): ... this.
11371 (crisv32-*-none): ... this.
11372 (cris-*-elf, cris-*-none): New cases.
11373 Add cris/t-elfmulti to tmake_file.
11374 (fr30-*-elf): Append to tmake_file.
11375 Set extra_parts.
11376 (frv-*-elf): Append to tmake_file, add frv/t-frv.
11377 Set extra_parts.
11378 (h8300-*-rtems*): Append to tmake_file.
11379 Set extra_parts.
11380 (h8300-*-elf*): Likewise.
11381 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
11382 Set extra_parts.
11383 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
11384 Set extra_parts.
11385 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
11386 (x86_64-*-elf*): Likewise.
11387 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
11388 (x86_64-*-freebsd*): Likewise.
11389 (x86_64-*-netbsd*): Likewise.
11390 (i[34567]86-*-linux*): Likewise.
11391 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11392 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11393 (x86_64-*-linux*): Likewise.
11394 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11395 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
11396 tmake_file.
11397 Set extra_parts.
11398 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
11399 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
11400 Append to extra_parts, remove crtbegin.o, crtend.o.
11401 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
11402 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
11403 crtend.o, crtbeginS.o, crtendS.o.
11404 (ia64*-*-linux*): Comment extra_parts.
11405 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
11406 Set extra_parts.
11407 (iq2000*-*-elf*): Clear extra_parts.
11408 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
11409 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
11410 (m32r-*-elf*, m32r-*-rtems*): Split off ...
11411 (m32r-*-rtems*): ... this.
11412 Add m32r/t-m32r to tmake_file.
11413 (m68k-*-elf*): Add t-crtin to tmake_file.
11414 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
11415 (mcore-*-elf): Likewise.
11416 (microblaze*-*-*): Set extra_parts.
11417 (mips*-sde-elf*): New case.
11418 Set tmake_file, extra_parts.
11419 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11420 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11421 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
11422 tmake_file.
11423 Set extra_parts.
11424 (mipsisa64sr71k-*-elf*): Likewise.
11425 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11426 (mips-*-elf*, mipsel-*-elf*): Likewise.
11427 (mips64-*-elf*, mips64el-*-elf*): Likewise.
11428 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
11429 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11430 (mips*-*-rtems*): Likewise.
11431 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
11432 (moxie-*-*): Split into ...
11433 (moxie-*-elf, moxie-*-uclinux*): ... this.
11434 Add to extra_parts, remove crtbegin.o, crtend.o.
11435 (moxie-*-rtems*): New case.
11436 Set tmake_file.
11437 Clear extra_parts.
11438 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
11439 Set extra_parts.
11440 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
11441 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
11442 tmake_file.
11443 Set extra_parts.
11444 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
11445 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
11446 Set extra_parts.
11447 (powerpc-*-eabisim*): Likewise.
11448 (powerpc-*-elf*): Likewise.
11449 (powerpc-*-eabialtivec*): Likewise.
11450 (powerpc-xilinx-eabi*): Likewise.
11451 (powerpc-*-eabi*): Likewise.
11452 (powerpc-*-rtems*): Likewise.
11453 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
11454 tmake_file.
11455 Set extra_parts.
11456 (powerpc-*-lynxos*): Add to tmake_file.
11457 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
11458 rs6000/t-crtstuff, t-crtstuff-pic.
11459 Set extra_parts.
11460 (powerpcle-*-eabisim*): Likewise.
11461 (powerpcle-*-eabi*): Likewise.
11462 (rx-*-elf): Remove extra_parts.
11463 (s390x-ibm-tpf*): Set extra_parts.
11464 (score-*-elf): Set extra_parts.
11465 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11466 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11467 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11468 (sh64l*-*-netbsd*): Split into ...
11469 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
11470 Add t-crtstuff-pic to tmake_file.
11471 Set extra_parts.
11472 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
11473 Set extra_parts.
11474 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
11475 (sparc-*-elf*): Remove t-crtin from tmake_file.
11476 Add to extra_parts, remove crtbegin.o, crtend.o.
11477 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
11478 (sparc64-*-linux*): Likewise.
11479 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
11480 Add to extra_parts, remove crtbegin.o, crtend.o.
11481 (sparc64-*-elf*): Remove t-crtin from tmake_file.
11482 Add to extra_parts, remove crtbegin.o, crtend.o.
11483 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
11484 Add to extra_parts, remove crtbegin.o, crtend.o.
11485 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
11486 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
11487 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
11488 Set extra_parts.
11489 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
11490 Set extra_parts.
11491 (tic6x-*-*): Change to ...
11492 (tic6x-*-elf): ... this.
11493 Set extra_parts.
11494 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
11495 Set extra_parts.
11496 (am33_2.0-*-linux*): Add comment.
11497 (mep*-*-*): Add mep/t-mep to tmake_file.
11498 Set extra_parts.
11499 * config/alpha/t-vms: New file.
11500 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
11501 * config/arm/crti.S, config/arm/crtn.S: New files.
11502 * config/bfin/crti.S, config/bfin/crtn.S: New files.
11503 * config/bfin/crtlibid.S: New file.
11504 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
11505 * config/c6x/crti.S, config/c6x/crtn.S: New files.
11506 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
11507 (crti.o, crtin.o): New rules.
11508 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11509 * config/c6x/t-uclinux: New file.
11510 * config/cris/t-elfmulti: New file.
11511 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
11512 * config/fr30/crti.S, config/fr30/crtn.S: New files.
11513 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
11514 * config/frv/t-frv: New file.
11515 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
11516 * config/h8300/crti.S, config/h8300/crtn.S: New files.
11517 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
11518 New files.
11519 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
11520 refer to cygming-crtbegin.c, cygming-crtend.c.
11521 Use $<.
11522 * config/i386/t-nto: New file.
11523 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
11524 * config/ia64/crti.S, config/ia64/crtn.S: New files.
11525 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
11526 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
11527 Use .S extension.
11528 Use $<.
11529 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11530 (crtinitS.o): New rule.
11531 * config/ia64/vms-crtinit.S: New file.
11532 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
11533 * config/m32r/initfini.c: New file.
11534 * config/m32r/t-linux, config/m32r/t-m32r: New files.
11535 * config/m68k/crti.S, config/m68k/crtn.S: New files.
11536 * config/mcore/crti.S, config/mcore/crtn.S: New files.
11537 * config/mep/t-mep: New file.
11538 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
11539 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
11540 * config/mips/crti.S, config/mips/crtn.S: New files.
11541 * config/mips/t-crtstuff: New file.
11542 * config/mmix/crti.S, config/mmix/crtn.S: New files.
11543 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
11544 (CUSTOM_CRTIN): Set.
11545 ($(T)crti.o, $(T)crtn.o): Remove $(T),
11546 dependencies.
11547 Use $(srcdir) to refer to crti.S, crtn.S.
11548 Use .S extension, $<.
11549 * config/moxie/crti.asm: Rename to ...
11550 * config/moxie/crti.S: ... this.
11551 * config/moxie/crtn.asm: Rename to ...
11552 * config/moxie/crtn.S: ... this.
11553 * config/moxie/t-moxie: Remove.
11554 * config/pa/stublib.c: New file.
11555 * config/pa/t-stublib, config/pa/t-stublib64: New files.
11556 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
11557 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
11558 * config/rs6000/t-crtstuff: New file.
11559 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
11560 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
11561 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
11562 Make output file explicit.
11563 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
11564 Make output file explicit.
11565 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
11566 Make output file explicit.
11567 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
11568 Make output file explicit.
11569 * config/score/crti.S, config/score/crtn.S: New files.
11570 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
11571 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
11572 files.
11573 * config/sh/t-sh, config/sh/t-superh: New files.
11574 * config/sparc/t-linux64: New file.
11575 * config/spu/cache.S, config/spu/cachemgr.c: New files.
11576 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
11577 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
11578 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
11579 * config/t-crtin: Remove.
11580 * config/t-crtstuff-pic: New file.
11581 * config/t-sol2 (CUSTOM_CRTIN): Set.
11582 (crti.o, crtn.o): New rules.
11583 * config/vms/t-vms: New file.
11584 * config/vms/vms-ucrt0.c: New file.
11585 * config/xtensa/t-elf: New file.
11586
b040f2be
RO
115872011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11588
11589 * Makefile.in (SHLIB_NM_FLAGS): Set.
11590 * mkmap-flat.awk, mkmap-symver.awk: New files.
11591 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
11592 exceptions.
11593 * configure: Regenerate.
11594 * config/libgcc-glibc.ver: New file.
11595 * config/libgcc-libsystem.ver: New file.
11596 * config/t-libunwind (SHLIB_LC): Set.
11597 * config/t-linux: New file.
11598 * config/t-slibgcc (INSTALL_SHLIB): New.
11599 (SHLIB_INSTALL): Use it.
11600 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
11601 to mkmap-symver.awk.
11602 (SHLIB_MAPFILES): Don't append, adapt pathname.
11603 (SHLIB_VERPFX): Set.
11604 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
11605 to mkmap-symver.awk.
11606 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
11607 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
11608 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
11609 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
11610 to mkmap-flat.awk.
11611 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
11612 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
11613 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
11614 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
11615 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
11616 * config/i386/libgcc-darwin.10.4.ver,
11617 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
11618 New files.
11619 * config/i386/t-darwin: Remove.
11620 * config/i386/t-darwin64: Likewise.
11621 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
11622 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
11623 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
11624 * config/i386/t-linux: New file.
11625 * config/i386/t-mingw32: New file.
11626 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
11627 * config/ia64/t-glibc: Rename to ...
11628 * config/ia64/t-linux: ... this.
11629 (SHLIB_MAPFILES): Set.
11630 * config/ia64/t-glibc-libunwind: Rename to ...
11631 * config/ia64/t-linux-libunwind: ... this.
11632 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
11633 * config/ia64/t-slibgcc-hpux: New file.
11634 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
11635 * config/m68k/t-slibgcc-elf-ver: New file.
11636 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
11637 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
11638 to mkmap-flat.awk.
11639 * config/pa/t-slibgcc-hpux: New file.
11640 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11641 files.
11642 * config/rs6000/libgcc-darwin.10.4.ver,
11643 config/rs6000/libgcc-darwin.10.5.ver: New files.
11644 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11645 config/rs6000/libgcc-glibc.ver.
11646 * config/rs6000/libgcc-ppc64.ver: Rename to
11647 config/rs6000/libgcc-ibm-ldouble.ver.
11648 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11649 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11650 * config/rs6000/t-ldbl128: Rename to ...
11651 * config/rs6000/t-linux: ... this.
11652 (SHLIB_MAPFILES): Adapt filename.
11653 * config/rs6000/t-slibgcc-aix: New file.
11654 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11655 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11656 libgcc-excl.ver, libgcc-glibc.ver.
11657 (SHLIB_LINK, SHLIB_INSTALL): Remove.
11658 * config/sparc/libgcc-glibc.ver: New file.
11659 * config/sparc/t-linux: New file.
11660 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11661 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11662 t-slibgcc-elf-ver to tmake_file.
11663 Add t-slibgcc-nolc-override to tmake_file for posix threads on
11664 *-*-freebsd[34].
11665 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11666 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11667 t-slibgcc-elf-ver, t-linux to tmake_file.
11668 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11669 tmake_file.
11670 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11671 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11672 (alpha*-dec-*vms*): Likewise.
11673 (arm*-*-freebsd*): Append to tmake_file.
11674 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11675 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11676 arm*-*-linux-*eabi.
11677 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11678 tmake_file for arm*-*-symbianelf*.
11679 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11680 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11681 cris/t-linux.
11682 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11683 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11684 pa/t-slibgcc-dwarf-ver to tmake_file.
11685 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11686 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11687 (hppa*64*-*-hpux11*): Likewise.
11688 (hppa[12]*-*-hpux11*): Likewise.
11689 (x86_64-*-darwin*): Don't override tmake_file, but only keep
11690 i386/t-crtpc, i386/t-crtfm.
11691 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11692 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11693 to tmake_file.
11694 Add i386/t-cygwin to tmake_file.
11695 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11696 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11697 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11698 to tmake_file.
11699 Add i386/t-mingw32 to tmake_file.
11700 (x86_64-*-mingw*): Likewise.
11701 (ia64*-*-freebsd*): Append to tmake_file.
11702 (ia64*-*-linux*): Append to tmake_file.
11703 Replace ia64/t-glibc by ia64/t-linux.
11704 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11705 system libunwind.
11706 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11707 t-slibgcc-hpux to tmake_file.
11708 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11709 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11710 (m32rle-*-linux*): Likewise.
11711 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11712 sjlj exceptions.
11713 (microblaze*-linux*): New case.
11714 Append to tmake_file, add t-slibgcc-nolc-override.
11715 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11716 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11717 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11718 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11719 rs6000/t-slibgcc-aix to tmake_file.
11720 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11721 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11722 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11723 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11724 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11725 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11726 sh*-*-linux*.
11727 (sparc-*-linux*): Append to tmake_file for *-leon*.
11728 Add sparc/t-linux to tmake_file for non-Leon targets.
11729 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11730 (tic6x-*-uclinux): New case.
11731 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11732 (tic6x-*-*): Add c6x/t-elf to tmake_file.
11733 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11734 (am33_2.0-*-linux*): Append to tmake_file.
11735 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11736 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11737 x86_64-*-kfreebsd*-gnu.
11738 Add i386/t-linux to tmake_file.
11739
18b4bd7b
ILT
117402011-10-28 Ian Lance Taylor <iant@google.com>
11741
11742 * config/i386/morestack.S: Correct CFI information to do proper
11743 returns throughout function. In 32-bit mode, save %ebx so that it
11744 is restored on unwind.
11745
5b2d9d90
BS
117462011-10-25 Bernd Schmidt <bernds@codesourcery.com>
11747
11748 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11749 case where B3 isn't the return register.
11750
0d53e346
BS
11751 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11752 logic for doubleword pops.
11753
cbffbd59
AT
117542011-10-25 Andreas Tobler <andreast@fgznet.ch>
11755
11756 * config/rs6000/t-freebsd: Add wildcard.
11757
56dc349e
PB
117582011-10-21 Paul Brook <paul@codesourcery.com>
11759
11760 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11761
1e06b07d
UB
117622011-10-16 Uros Bizjak <ubizjak@gmail.com>
11763 Eric Botcazou <ebotcazou@adacore.com>
11764
11765 PR target/50737
11766 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11767 fs->signal_frame to 1.
11768
b5204884
ILT
117692011-10-07 Ian Lance Taylor <iant@google.com>
11770
11771 * generic-morestack-thread.c: #include <errno.h>.
11772
91a639a1
ILT
117732011-10-07 Ian Lance Taylor <iant@google.com>
11774
11775 PR target/46093
11776 * generic-morestack.c (__generic_morestack): Make sure the segment
11777 is large enough for both the stack frame and the copied
11778 parameters.
11779
cc49116d
RO
117802011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11781
11782 PR bootstrap/49804
11783 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11784 extra_parts.
11785
2996d8c3
NC
117862011-09-28 Nick Clifton <nickc@redhat.com>
11787
11788 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11789 64-bit doubles are not enabled.
11790 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11791 and floatunsisf functions.
11792
1e874273 117932011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 11794
1e874273
PB
11795 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
11796 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11797 * unwind-arm-common.inc: New file.
11798 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11799 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11800 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11801 * config/c6x/libunwind.S: New file.
11802 * config/c6x/pr-support.c: New file.
11803 * config/c6x/unwind-c6x.c: New file.
11804 * config/c6x/unwind-c6x.h: New file.
11805 * config/c6x/t-c6x-elf: New file.
11806
f70c879a
UB
118072011-08-23 Uros Bizjak <ubizjak@gmail.com>
11808
11809 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11810 (ASM_DIVZERO): Ditto.
11811 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11812
c55b374b
RS
118132011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
11814
11815 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11816
1e138510
RS
118172011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
11818
11819 PR target/50090
11820 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11821 instead of an assembly one.
11822
1563503d
PB
118232011-08-12 Paolo Bonzini <bonzini@gnu.org>
11824
11825 PR bootstrap/50047
11826 * Makefile.in (install-unwind_h): Create
11827 $(gcc_objdir)/include/unwind.h atomically.
11828
3627ac1a
RO
118292011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11830
11831 * Makefile.in (install-unwind_h): Remove destination file first.
11832
c6412d86
RO
118332011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11834
11835 * sync.c: New file.
11836 * config/mips/t-mips16: New file.
11837 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11838 (mips*-*-linux*): Likewise.
11839 (mips*-sde-elf*): Likewise.
11840 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11841 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11842 Add mips/t-mips16 to tmake_file.
11843 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11844 (mips-*-elf*): Likewise.
11845 (mips64-*-elf*): Likewise.
11846 (mips64orion-*-elf*): Likewise.
11847 (mips*-*-rtems*): Likewise.
11848 (mipstx39-*-elf*): Likewise.
11849 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11850 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11851 LIBGCC_SYNC_CFLAGS.
11852 Use $(srcdir) to refer to sync.c.
11853 Use $<.
11854 ($(libgcc-sync-funcs-o)): Likewise.
11855 ($(libgcc-sync-size-funcs-s-o)): Likewise.
11856 ($(libgcc-sync-funcs-s-o)): Likewise.
11857
3cb6e5bd
AS
118582011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11859
11860 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11861 t-libunwind.
11862
cca2207a
L
118632011-08-08 H.J. Lu <hongjiu.lu@intel.com>
11864
11865 PR other/48007
11866 * config/i386/value-unwind.h: New.
11867
ed39fbad
RS
118682011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
11869
11870 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11871 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11872 Add to tmake_file rather than overriding it.
11873
aca0b0b3
RO
118742011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11875
11876 * config/t-softfp: Remove.
11877 * soft-fp: Moved from ../gcc/config.
11878 * soft-fp/README: Remove t-softfp reference.
11879 * soft-fp/t-softfp: Move to config/t-softfp.
11880 (softfp_machine_header): Remove.
11881 (softfp_file_list): Remove config subdir.
11882 (soft-fp-objects): New variable.
11883 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11884 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11885 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11886 * config/t-softfp-excl: New file.
11887 * config/t-softfp-sfdf: New file.
11888 * config/t-softfp-tf: New file.
11889 * config/no-sfp-machine.h: New file.
11890 * config/arm/sfp-machine.h: New file.
11891 * config/arm/t-softfp: New file.
11892 * config/c6x/sfp-machine.h: New file.
11893 * config/i386/32/t-fprules-softfp: Rename to ...
11894 * config/i386/32/t-softfp: ... this.
11895 (tifunctions, LIB2ADD): Remove.
11896 (softfp_int_modes): Override.
11897 * config/i386/64/t-softfp-compat (tf-functions): Remove config
11898 subdir.
11899 * config/i386/64/eqtf2.c: Likewise.
11900 * config/i386/64/getf2.c: Likewise.
11901 * config/i386/64/letf2.c: Likewise.
11902 * config/ia64/sft-machine.h: New file.
11903 * config/ia64/t-fprules-softfp: Rename to ...
11904 * config/ia64/t-softfp: ... this.
11905 * config/lm32/sfp-machine.h: New file.
11906 * config/moxie/t-moxie-softfp: Remove.
11907 * config/rs6000/ibm-ldouble-format: New file.
11908 * config/rs6000/ibm-ldouble.c: New file.
11909 * config/rs6000/libgcc-ppc-glibc.ver: New file
11910 * config/rs6000/libgcc-ppc64.ver: New file
11911 * config/rs6000/sfp-machine.h: New file.
11912 * config/rs6000/t-freebsd: New file.
11913 * config/rs6000/t-ibm-ldouble: New file.
11914 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11915 libgcc-ppc-glibc.ver.
11916 * config/rs6000/t-linux64: New file.
11917 * config/rs6000/t-ppccomm (LIB2ADD): Add
11918 $(srcdir)/config/rs6000/ibm-ldouble.c.
11919 * config/rs6000/t-ppccomm-ldbl: New file.
11920 * config/score/sfp-machine.h: New file.
11921 * config.host (sfp_machine_header): Explain.
11922 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11923 t-softfp to tmake_file.
11924 (arm*-*-uclinux*): Likewise.
11925 (arm*-*-ecos-elf): Likewise.
11926 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11927 (arm*-*-rtems*): Likewise.
11928 (arm*-*-elf): Likewise.
11929 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11930 in tmake_file.
11931 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11932 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11933 (lm32-*-uclinux*): Likewise.
11934 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11935 t-softfp-excl, t-softfp.
11936 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11937 (powerpc64-*-darwin*): Likewise.
11938 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11939 to tmake_file.
11940 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11941 tmake_file.
11942 (powerpc-*-eabisim*): Likewise.
11943 (powerpc-*-elf*): Likewise.
11944 (powerpc-*-eabialtivec*): Likewise.
11945 (powerpc-xilinx-eabi*): Likewise.
11946 (powerpc-*-rtems*): Likewise.
11947 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11948 t-softfp-excl, t-softfp to tmake_file.
11949 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11950 rs6000/t-ppccomm-ldbl to tmake_file.
11951 (powerpcle-*-elf*): Likewise.
11952 (powerpcle-*-eabisim*): Likewise.
11953 (powerpcle-*-eabi*): Likewise.
11954 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11955 rs6000/t-ibm-ldouble to tmake_file.
11956 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11957 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11958 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11959 (tic6x-*-*): Likewise.
11960 (i[34567]86-*-darwin*, x86_64-*-darwin*,
11961 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11962 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11963 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11964 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11965 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11966 t-softfp to tmake_file.
11967 * configure.ac (sfp_machine_header): Provide default if unset.
11968 Substitute.
11969 Link sfp-machine.h to config/$sfp_machine_header.
11970 * configure: Regenerate.
11971
569dc494
RO
119722011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11973
11974 * Makefile.in (double_type_size, long_double_type_size): Set.
11975 Remove $(fpbit-in-libgcc) support.
11976 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11977 (fpbit-src): New variable.
11978 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11979 Compile with -DFLOAT $(FPBIT_CFLAGS).
11980 Use $<.
11981 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11982 Compile with $(FPBIT_CFLAGS).
11983 Use $<.
11984 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11985 Compile with -DFLOAT $(TPBIT_CFLAGS).
11986 Use $<.
11987 * configure.ac (double_type_size, long_double_type_size):
11988 Determine and substitute.
11989 * configure: Regenerate.
11990 * fp-bit.c, fp-bit.h: New files.
11991 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11992 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11993 * config/mips/t-mips: New file.
11994 * config/mips/t-sdemtk: New file.
11995 * config/rs6000/ppc64-fp.c: New file.
11996 * config/rs6000/t-darwin (LIB2ADD): Add
11997 $(srcdir)/config/rs6000/ppc64-fp.c.
11998 * config/rs6000/t-ppc64-fp: New file.
11999 * config/rx/rx-lib.h: New file.
12000 * config/rx/t-rx (FPBIT): Set to true.
12001 ($(gcc_objdir)/fp-bit.c): Remove.
12002 (DPBIT): Set to true only with -m64bit-doubles.
12003 ($(gcc_objdir)/dp-bit.c): Remove.
12004 * config/sparc/t-softfp: Remove.
12005 * config/spu/t-elf: New file.
12006 * config/t-fdpbit, config/t-fpbit: New files.
12007 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
12008 (mips*-*-*): Likewise.
12009 (arm-wrs-vxworks): Likewise.
12010 (arm*-*-freebsd*): Likewise.
12011 (avr-*-rtems*): Add t-fpbit to tmake_file.
12012 (avr-*-*): Likewise.
12013 (bfin*-elf*): Add t-fdpbit to tmake_file.
12014 (bfin*-uclinux*): Likewise.
12015 (bfin*-linux-uclibc*): Likewise.
12016 (bfin*-rtems*): New case.
12017 Add t-fdpbit to tmake_file.
12018 (bfin*-*): Add t-fdpbit to tmake_file.
12019 (crisv32-*-elf): Likewise.
12020 (cris-*-linux*): Likewise.
12021 (fr30-*-elf): Likewise.
12022 (frv-*-elf, frv-*-*linux*): Likewise.
12023 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
12024 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
12025 (m32r-*-elf*): Likewise.
12026 (m32rle-*-elf*): Likewise.
12027 (m32r-*-linux*): Likewise.
12028 (m32rle-*-linux*): Likewise.
12029 (mcore-*-elf): Add t-fdpbit to tmake_file.
12030 (microblaze*-*-*): Likewise.
12031 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
12032 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
12033 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
12034 Fix typo.
12035 Add mips/t-tpbit to tmake-file.
12036 (mips*-*-linux*): Fix typo.
12037 (mips*-sde-elf*): New case
12038 Add mips/t-sdemtk unless using newlib.
12039 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
12040 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
12041 (mn10300-*-*): Likewise.
12042 (pdp11-*-*): Likewise.
12043 (picochip-*-*): Add t-fpbit to tmake_file.
12044 (powerpc-*-eabisimaltivec*): Likewise.
12045 (powerpc-*-eabisim*): Likewise.
12046 (powerpc-*-elf*): Likewise.
12047 (powerpc-*-eabialtivec*): Likewise.
12048 (powerpc-xilinx-eabi*): New case.
12049 Add t-fdpbit to tmake_file.
12050 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
12051 (powerpc-*-rtems*): Likewise.
12052 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
12053 tmake_file.
12054 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
12055 tmake_file.
12056 (powerpc-*-lynxos*): Likewise.
12057 (powerpcle-*-elf*): Likewise.
12058 (powerpcle-*-eabisim*): Likewise.
12059 (powerpcle-*-eabi*): Likewise.
12060 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
12061 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
12062 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12063 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12064 (rx-*-elf): Add t-fdpbit to tmake_file.
12065 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
12066 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
12067 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
12068 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
12069 sh*-*-netbsd*.
12070 (sh-*-rtems*): Add t-fdpbit to tmake_file.
12071 (sh-wrs-vxworks): Likewise.
12072 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
12073 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
12074 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
12075 (sparc64-*-rtems*): ... new case.
12076 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
12077 (spu-*-elf*): Likewise.
12078 Add spu/t-elf to tmake_file.
12079 (v850*-*-*): Add t-fdpbit to tmake_file.
12080 (xstormy16-*-elf): Likewise.
12081 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
12082 (mep*-*-*): Likewise.
12083
201cdb74
RO
120842011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12085
12086 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
12087 variables.
12088 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
12089 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
12090 (install-unwind_h): New target.
12091 (all): Depend on it.
12092 * config.host (unwind_header): New variable.
12093 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
12094 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
12095 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
12096 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
12097 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
12098 Set unwind_header.
12099 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
12100 Set unwind_header.
12101 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
12102 arm*-*-eabi*.
12103 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
12104 Set unwind_header.
12105 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
12106 (ia64*-*-freebsd*): Likewise.
12107 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
12108 tmake_file.
12109 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
12110 $with_system_libunwind.
12111 (ia64*-*-hpux*): Set tmake_file.
12112 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
12113 (picochip-*-*): Set tmake_file.
12114 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
12115 md_unwind_header.
12116 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
12117 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
12118 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
12119 (xtensa*-*-elf*): Set tmake_file.
12120 (xtensa*-*-linux*): Likewise.
12121 * configure.ac: Include ../config/unwind_ipinfo.m4.
12122 Call GCC_CHECK_UNWIND_GETIPINFO.
12123 Link unwind.h to $unwind_header.
12124 * configure: Regenerate.
12125 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
12126 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
12127 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
12128 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
12129 * config/unwind-dw2-fde-darwin.c: New file.
12130 * config/arm/libunwind.S, config/arm/pr-support.c,
12131 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
12132 config/arm/unwind-arm.h,: New files.
12133 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
12134 config/ia64/t-eh-ia64, config/ia64/t-glibc,
12135 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
12136 config/ia64/t-vms, config/ia64/unwind-ia64.c,
12137 config/ia64/unwind-ia64.h: New files.
12138 * config/picochip/t-picochip: New file.
12139 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
12140 files.
12141 * config/rs6000/t-darwin (LIB2ADDEH): Set.
12142 * config/s390/t-tpf (LIB2ADDEH): Remove.
12143 * config/t-darwin (LIB2ADDEH): Set.
12144 * config/t-eh-dw2-dip: New file.
12145 * config/t-libunwind, config/t-libunwind-elf: New files.
12146 * config/t-sol2 (LIB2ADDEH): Remove.
12147 * config/xtensa/t-xtensa: New file.
12148
40f2f11f
L
121492011-08-02 H.J. Lu <hongjiu.lu@intel.com>
12150
12151 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
12152 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
12153 long long to check rt_sigreturn syscall.
12154
bd15e32c
AM
121552011-08-02 Alan Modra <amodra@gmail.com>
12156
12157 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
12158 Restore for indirect call bcrtl from correct stack slot, and only
12159 if cfa+40 isn't valid.
12160
655b30bf
JB
121612011-08-01 Julian Brown <julian@codesourcery.com>
12162
12163 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
12164 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
12165 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
12166
247eb06f
JB
121672011-08-01 Julian Brown <julian@codesourcery.com>
12168
12169 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
12170 (libgcc-std.ver.in): Use above.
12171 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
12172 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
12173 throughout file.
12174 * config/t-fixedpoint-gnu-prefix: New file.
12175 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
12176 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
12177 instead of __PFX__.
12178
02a8fe00
L
121792011-07-28 H.J. Lu <hongjiu.lu@intel.com>
12180
12181 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
12182 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
12183 for x86-64. Properly check __x86_64__ and __LP64__.
12184
5fce9126
L
121852010-07-28 H.J. Lu <hongjiu.lu@intel.com>
12186
12187 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
12188 version.
12189 (_FP_WS_TYPE): Likewise.
12190 (_FP_I_TYPE): Likewise.
12191
2374a88a
AM
121922011-07-28 Alan Modra <amodra@gmail.com>
12193
12194 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
12195 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
12196 in a plt call stub. Do restore r2 if stopped on bctrl.
12197
e44dbbe1
RO
121982011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12199
12200 * config.host (i[3456x]86-*-netware*): Remove.
12201 * config/i386/netware-crt0.c, config/i386/t-nwld,
12202 config/i386/t-slibgcc-nwld: Remove.
12203
bcead286
BS
122042011-07-15 Bernd Schmidt <bernds@codesourcery.com>
12205
12206 * config.host: Handle tic6x-*-*.
12207 * config/c6x/c6x-abi.h: New file.
12208
b3fe1584
RO
122092011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12210
12211 * config/i386/crtprec.c: New file.
12212 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
12213 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
12214 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
12215 (x86_64-*-darwin*): Likewise.
12216 (i[34567]86-*-solaris2*: Likewise.
12217
35d8090d
RO
122182011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12219
12220 * config/alpha/crtfastmath.c: New file.
12221 * config/i386/crtfastmath.c: New file.
12222 * config/ia64/crtfastmath.c: New file.
12223 * config/mips/crtfastmath.c: New file.
12224 * config/sparc/crtfastmath.c: New file.
12225
12226 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
12227 crtfastmath.c.
12228 Add -frandom-seed=gcc-crtfastmath.
12229 * config/alpha/t-crtfm: Remove.
12230 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
12231 * config/ia64/t-ia64 (crtfastmath.o): Remove.
12232
12233 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
12234 (alpha*-dec-osf5.1*): Likewise.
12235 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
12236 Add crtfastmath.o to extra_parts.
12237 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
12238 Add crtfastmath.o to extra_parts.
12239 (x86_64-*-darwin*): Likewise.
12240 (x86_64-*-mingw*): Likewise.
12241 (ia64*-*-elf*): Add t-crtfm to tmake_file.
12242 (ia64*-*-freebsd*): Likewise.
12243 (ia64*-*-linux*): Likewise.
12244 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
12245 Add crtfastmath.o to extra_parts.
12246
e141542e
RO
122472011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12248
12249 * config/darwin-crt3.o: New file.
12250 * config/rs6000/darwin-crt2.c: New file.
12251 * config/t-darwin: New file.
12252 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
12253 (crt2.o): New rule.
12254 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
12255 (powerpc-*-darwin*): Add crt2.o to extra_parts.
12256 (powerpc64-*-darwin*): Likewise.
12257
2d1efe2d
RO
122582011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12259
12260 * config/i386/netware-crt0.c: New file.
12261 * config/i386/t-nwld: Rename to ...
12262 * config/i386/t-slibgcc-nwld: ... this.
12263 * config/i386/t-nwld: New file.
12264 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
12265 tmake_file.
12266 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
12267 extra_parts.
12268
4a8bb046
RO
122692011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12270
12271 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
12272 i386/t-crtstuff.
12273 * configure: Regenerate.
12274
2d8d5935
RO
122752011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12276
12277 * dfp-bit.c, dfp-bit.h: New files.
12278 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
12279 variables.
12280 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
12281 ($(d64pbit-o)): Likewise.
12282 ($(d128pbit-o)): Likewise.
12283 * config/t-dfprules: New file.
12284 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
12285 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
12286 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
12287 (x86_64-*-linux*): Likewise.
12288 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
12289 (i[34567]86-*-cygwin*): Likewise.
12290 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
12291 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
12292
2c50b2c3
RO
122932011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12294
12295 * Makfile.in (LIBGCOV): New variable.
12296 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
12297 * libgcov.c: New file.
12298
a039d7c2
RO
122992011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12300
12301 * fixed-bit.c, fixed-bit.h: New files.
12302 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
12303 refer to fixed-bit.c.
12304
1e4b2746
JM
123052011-07-07 Joseph Myers <joseph@codesourcery.com>
12306
12307 * config.host (*local*): Remove.
12308
fbdd5d87
RO
123092011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12310
12311 PR target/39150
12312 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
12313 like i?86-*-solaris2.1[0-9]*.
12314 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
12315 * configure.ac (i?86-*-solaris2*): Likewise.
12316 * configure: Regenerate.
12317
9e7714f4
TS
123182011-07-06 Thomas Schwinge <thomas@schwinge.name>
12319
12320 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
12321 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
12322 md_unwind_header by splitting out of...
12323 (i[34567]86-*-linux*): ... this.
12324 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
12325 Remove md_unwind_header by splitting out of...
12326 (x86_64-*-linux*): ... this.
12327
6dab9931
GJL
123282011-07-04 Georg-Johann Lay <avr@gjlay.de>
12329
12330 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
12331
4be46d19
NC
123322011-06-28 Nick Clifton <nickc@redhat.com>
12333
12334 * config.host: Recognize all V850 variants.
12335
1da9434b
UB
123362011-06-22 Uros Bizjak <ubizjak@gmail.com>
12337
12338 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
12339
e4d48a4d
RO
123402011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12341
12342 * shared-object.mk (c_flags-$o): Save c_flags.
12343 ($(base)$(objext)): Use it.
12344 ($(base)_s$(objext)): Likewise.
12345
3801c801
BS
123462011-06-21 Bernd Schmidt <bernds@codesourcery.com>
12347
12348 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
12349 * libgcc-std.ver.in (GCC_4.7.0): New section.
12350
0ad8bb3b 123512011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 12352
0ad8bb3b
GJL
12353 PR target/49313
12354 PR target/29524
12355 * config/avr/t-avr: Fix line endings.
12356 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
12357 _parityXX2.
12358
ea963999
OH
123592011-06-14 Olivier Hainque <hainque@adacore.com>
12360 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12361
12362 * config/mips/irix6-unwind.h: New file.
12363 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
12364
b11b0904
EB
123652011-06-10 Eric Botcazou <ebotcazou@adacore.com>
12366
12367 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
12368 (sparc64_fallback_frame_state): Use it.
12369 (sparc64_frob_update_context): Further adjust context.
12370 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
12371 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
12372 * config/sparc/sol2-cn.S: Likewise.
12373
10e48e39
RO
123742011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12375
12376 * enable-execute-stack-empty.c: New file.
12377 * enable-execute-stack-mprotect.c: New file.
12378 * config/i386/enable-execute-stack-mingw32.c: New file.
12379 * config.host (enable_execute_stack): New variable.
12380 Select appropriate variants.
12381 * configure.ac: Link enable-execute-stack.c to
12382 $enable_execute_stack.
12383 * configure: Regenerate.
12384 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
12385 (lib2funcs): Remove _enable_execute_stack.
12386
10c4cabc
DM
123872011-06-09 David S. Miller <davem@davemloft.net>
12388 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12389
12390 * config.host (sparc-*-linux*): Correct md_unwind_header
12391 filename.
12392 (s390x-ibm-tpf*): Fix typo.
12393
aa4203e7
RO
123942011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12395
12396 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
12397 Add crtfastmath.o to extra_parts.
12398 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
12399 mips/t-crtfm.
12400 * config/mips/t-crtfm: Remove.
12401
0defd786
JDA
124022011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
12403
12404 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
12405
82f247af
KK
124062011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
12407
12408 * config.host (sh*-*-linux*): Fix typo.
12409
58cd1d70
RO
124102011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12411
12412 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
12413 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
12414 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
12415 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
12416 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
12417 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
12418 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
12419 Wrap in !__MINGW64__.
12420 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
12421 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
12422 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
12423 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
12424 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
12425 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
12426 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
12427 Wrap in !__LP64__.
12428 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
12429 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
12430 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
12431 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
12432 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
12433 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
12434 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
12435 * config/no-unwind.h: New file.
12436 * config.host (md_unwind_header): Document.
12437 Define.
12438 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
12439 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
12440 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
12441 hppa[12]*-*-hpux11*): Set md_unwind_header.
12442 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
12443 Set md_unwind_header.
12444 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
12445 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
12446 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
12447 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
12448 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
12449 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
12450 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
12451 md_unwind_header.
12452 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
12453 * configure: Regenerate.
12454
737346fa
RO
124552011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12456
12457 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
12458 Set tmake_file, extra_parts.
12459 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
12460 Remove O32 support.
12461 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
12462 Remove O32 support.
12463 * config/mips/t-irix6: New file.
12464 * config/mips/t-slibgcc-irix: New file.
12465
c192cee6
RO
124662011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12467
12468 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
12469 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
12470
ee33b5f0
RO
124712011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12472
12473 * configure.ac (target_thread_file): Determine thread model.
12474 * configure: Regenerate.
12475 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
12476 * config/alpha/t-alpha: New file.
12477 * config/alpha/t-crtfm: Use $<.
12478 * config/alpha/t-ieee: New file.
12479 * config/alpha/t-osf-pthread: New file.
12480 * config/alpha/t-slibgcc-osf: New file.
12481 * config/alpha/libgcc-osf5.ver: New file.
12482
0699e415
RO
124832011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12484
12485 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
12486 tmake_file.
12487 Add crtfastmath.o to extra_parts.
12488
a3fab9c2
RO
124892011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12490
12491 * config/gmon-sol2.c: Reindent.
12492 Cleanup comments.
12493 Remove, correct casts.
12494 Use STDERR_FILENO, NULL.
12495 (BASEADDRESS): Remove.
12496 (minbrk): Remove.
12497 (errno, sbrk): Remove declarations.
12498 (monstartup) [hp300]: Remove.
12499 (mcount): Remove.
12500
ca24c5ad
RO
125012011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12502
12503 * Makefile.in (cpu_type): Define.
12504 * config.host (i[34567]86-*-rtems*): Handle it.
12505 (i[34567]86-*-solaris2*): Move body ...
12506 (*-*-solaris2*): ... here.
12507 New case, generalize.
12508 (sparc-*-elf*): Handle it.
12509 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
12510 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
12511 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
12512 Fold into ...
12513 (sparc*-*-solaris2*): ... this.
12514 New case.
12515 (sparc64-*-elf*): Handle it.
12516 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
12517 Merge ../gcc/config/i386/gmon-sol2.c.
12518 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
12519 Use C comments.
12520 Merge ../gcc/config/i386/sol2-gc1.asm.
12521 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
12522 Use C comments.
12523 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
12524 Use C comments.
12525 * config/i386/t-crtfm (crtfastmath.o): Use $<.
12526 * config/i386/t-crtstuff: New file.
12527 * config/i386/t-softfp: New file.
12528 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
12529 $(T)crti.o, $(T)crtn.o): Remove.
12530 (gcrt1.o): New rule.
12531 (TARGET_LIBGCC2_CFLAGS): Remove.
12532 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
12533 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
12534 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
12535 * config/sparc/t-sol2: New file.
12536 * config/sparc/t-crtfm: Move to ...
12537 * config/t-crtfm: ... this.
12538 Use $(cpu_type), $<.
12539 * config/t-crtin: New file.
12540 * config/sparc/t-softfp: New file.
12541 * config/sparc/t-softmul: New file.
12542 * config/t-rtems: New file.
12543 * config/t-slibgcc: New file.
12544 * config/t-slibgcc-elf-ver: New file.
12545 * config/t-slibgcc-gld: New file.
12546 * config/t-slibgcc-sld: New file.
12547 * config/t-sol2: New file.
12548 * configure.ac: Include ../config/lib-ld.m4.
12549 Call AC_LIB_PROG_LD_GNU.
12550 Substitute cpu_type.
12551 * configure: Regenerate.
12552
ad5f3d7b
BS
125532011-05-27 Bernd Schmidt <bernds@codesourcery.com>
12554
12555 PR bootstrap/49173
12556 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
12557 libgcc-std.ver in the build directory.
12558 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
12559 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
12560
cdbf4541
BS
125612011-05-25 Bernd Schmidt <bernds@codesourcery.com>
12562
12563 * libgcc-std.ver.in: New file.
12564 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
12565 variables.
12566 (libgcc-std.ver): New rule.
12567 * config/t-gnu-prefix: New file.
12568
c8028650
RO
125692011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12570
12571 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
12572
4a68b4ca
JM
125732011-05-10 Joseph Myers <joseph@codesourcery.com>
12574
12575 * config/i386/darwin-lib.h: New file.
12576
80cf2e08
JM
125772011-05-10 Joseph Myers <joseph@codesourcery.com>
12578
12579 * config/arm/symbian-lib.h: New.
12580
a3330c9d
CD
125812011-05-04 Chris Demetriou <cgd@google.com>
12582
12583 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
12584 (__x86.get_pc_thunk.bx): ...this.
12585 (__morestack): Adjust for rename, remove undef of __i686.
12586
6ace0756
CD
125872011-05-03 Chris Demetriou <cgd@google.com>
12588
12589 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
12590
ebb9f8b0
JM
125912011-03-22 Joseph Myers <joseph@codesourcery.com>
12592
12593 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
12594 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
12595 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
12596 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
12597 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
12598 Remove cases.
12599
9cfa1499
AT
126002011-03-14 Andreas Tobler <andreast@fgznet.ch>
12601
12602 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
12603 Adjust copyright year.
12604
457186f6
ILT
126052011-03-07 Ian Lance Taylor <iant@google.com>
12606
12607 * generic-morestack.c (__splitstack_find): Adjust returned stack
12608 pointer to include all registers pushed by __morestack.
12609
58c741a6
DK
126102011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
12611
12612 PR target/40125
12613 * configure.ac: Call ACX_NONCANONICAL_TARGET.
12614 (toolexecdir): Calculate and AC_SUBST.
12615 (toolexeclibdir): Likewise.
12616 * Makefile.in (target_noncanonical): Import.
12617 (toolexecdir): Likewise.
12618 (toolexeclibdir): Likewise.
12619 * configure: Regenerate.
12620
26716c44
NF
126212010-12-13 Nathan Froyd <froydnj@codesourcery.com>
12622
12623 PR target/46040
12624 * config/arm/bpabi.h: Rename to...
12625 * config/arm/bpabi-lib.h: ...this.
12626
b595b1a1
RO
126272010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12628
12629 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
12630 appropriate.
12631 * configure: Regenerate.
12632
a3abe41c
NF
126332010-11-24 Nathan Froyd <froydnj@codesourcery.com>
12634
12635 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
12636 __FLOAT_WORD_ORDER__.
12637 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
12638 Delete.
12639
455c8f48
RW
126402010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12641
12642 PR other/46202
12643 * Makefile.in (install-strip): New phony target.
12644
f3824a8b
ILT
126452010-11-07 Ian Lance Taylor <iant@google.com>
12646
12647 PR target/46089
12648 * config/i386/morestack.S (__morestack_large_model): New
12649 function.
12650
18ed6ee4
NF
126512010-10-23 Nathan Froyd <froydnj@codesourcery.com>
12652
12653 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12654 Delete.
12655 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12656
8ac7fdcb
NF
126572010-10-14 Nathan Froyd <froydnj@codesourcery.com>
12658
12659 * config/arm/bpabi.h: New file.
12660 * config/frv/frv-abi.h: New file.
12661
cdb388c2
ILT
126622010-10-01 Ian Lance Taylor <iant@google.com>
12663
12664 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12665 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12666
ef7c141c
L
126672010-10-01 H.J. Lu <hongjiu.lu@intel.com>
12668
12669 PR target/45858
12670 * config.host: Add the missing `$'.
12671
80920132
ME
126722010-09-30 Michael Eager <eager@eagercon.com>
12673
12674 * config.host: Add microblaze*-*-*.
12675 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12676 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12677 udivsi3.asm,umodsi3.asm}: New.
12678
6dace308
ILT
126792010-09-28 Ian Lance Taylor <iant@google.com>
12680
12681 * configure.ac: Adjust CFI test to test assembler directly rather
12682 than checking gcc preprocessor macro.
12683 * configure: Rebuild.
12684
b6110d6d
ILT
126852010-09-27 Ian Lance Taylor <iant@google.com>
12686
12687 * configure.ac: Test whether assembler supports CFI directives.
12688 * config.host: Only add t-stack and i386/t-stack-i386 to
12689 tmake_file if libgcc_cv_cfi is "yes".
12690 * configure: Rebuild.
12691
7458026b
ILT
126922010-09-27 Ian Lance Taylor <iant@google.com>
12693
12694 * generic-morestack.h: New file.
12695 * generic-morestack.c: New file.
12696 * generic-morestack-thread.c: New file.
12697 * config/i386/morestack.S: New file.
12698 * config/t-stack: New file.
12699 * config/i386/t-stack-i386: New file.
12700 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12701 i386/t-stack-i386 to tmake_file.
12702
5b50fc0c
IS
127032010-09-21 Iain Sandoe <iains@gcc.gnu.org>
12704
12705 * Makefile.in (libgcc-extra-parts): Check for static archives and
12706 invoke ranlib after installing them.
12707 (gcc-extra-parts): Likewise.
12708 (install-leaf): Likewise.
12709
b93cf342
L
127102010-09-14 H.J. Lu <hongjiu.lu@intel.com>
12711
12712 * configure: Regenerated.
12713
996b42ef
KT
127142010-09-10 Kai Tietz <kai.tietz@onevision.com>
12715
b93cf342 12716 * configure: Regenerated.
996b42ef 12717
be1c764e
GP
127182010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
12719 Andrew Pinski <pinskia@gmail.com>
12720
1da9434b 12721 PR target/40959
be1c764e
GP
12722 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
12723
cc0ae0ca
L
127242010-09-06 H.J. Lu <hongjiu.lu@intel.com>
12725
12726 PR target/45524
12727 * configure: Regenerated.
12728
84f47d20
AS
127292010-09-06 Andreas Schwab <schwab@redhat.com>
12730
12731 * configure: Regenerate.
12732
4159fb8d
UB
127332010-09-03 Uros Bizjak <ubizjak@gmail.com>
12734
12735 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12736 64bit targets.
12737 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12738 for 64bit targets.
12739
0df8fcc8
UB
127402010-09-03 Uros Bizjak <ubizjak@gmail.com>
12741 Iain Sandoe <iains@gcc.gnu.org>
12742
12743 PR target/45476
12744 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12745 LIB2FUNCS_EXCLUDE functions.
12746
3c39bca6
AK
127472010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12748
12749 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12750 Include dfp.m4.
12751 * configure: Regenerate.
12752
d78552bd
UB
127532010-09-01 Uros Bizjak <ubizjak@gmail.com>
12754
12755 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12756 i386/t-freebsd to tmake_file.
12757 * config/i386/t-freebsd: New file.
12758 * config/i386/libgcc-bsd.ver: New file.
12759
c5b79d4e
NF
127602010-07-23 Nathan Froyd <froydnj@codesourcery.com>
12761
12762 * config.host (powerpc*-eabispe*): Set tmake_file.
12763 (powerpc*-eabi*): Likewise.
12764 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12765 crtbeginS, crtendS, crtbeginT.
12766
48b09a92
KH
127672010-06-12 Kazu Hirata <kazu@codesourcery.com>
12768
12769 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12770 to tmake_file. Add crtfastmath.o to extra_parts.
12771 * config/mips/t-crtfm: New.
12772
7d296953 127732010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
12774
12775 * config.host (sparc64-*-rtems*): New target.
12776
ed104137
RO
127772010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12778
12779 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12780 assembler syntax.
12781
3f56ef8b
TS
127822010-04-15 Thomas Schwinge <tschwinge@gnu.org>
12783
12784 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12785
8c200350
RO
127862010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12787
12788 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12789 alpha-dec-osf5.0* support.
12790
7d296953 127912010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
12792
12793 * config.host: Add lm32-*-rtems*.
12794
f128db92 127952010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 12796 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
12797
12798 PR target/39048
12799 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12800 like other remaining 32-bit x86 OSes.
12801 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12802 assembler syntax.
12803 * config/i386/libgcc-sol2.ver: New file.
12804 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12805
7d296953 128062010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
12807
12808 PR c/43553
12809 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12810 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12811 is used and substitute set_use_emutls.
12812 * configure: Regenerated.
12813
15baf7f8
TG
128142010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
12815
12816 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12817
7f5441df
RO
128182010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12819
12820 PR target/38085
12821 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12822 MULTILIB_CFLAGS.
12823 ($(T)gcrt1.o): Likewise.
12824 ($(T)crt1.o): Likewise.
12825 ($(T)crti.o): Likewise.
12826 ($(T)crtn.o): Likewise.
12827
ef74edbd
RW
128282010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12829
12830 PR other/42980
12831 * Makefile.in (install): Use $(MAKE) string in rule, for
12832 parallel make.
12833
e7c914db
HPN
128342010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
12835
12836 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12837 * config/mmix/t-mmix: New file.
12838 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12839
1bcb71c4
JH
128402010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
12841
12842 PR java/41991
12843 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12844 SHLIB_MAPFILES.
12845
e6e50811
AG
128462010-01-04 Anthony Green <green@moxielogic.com>
12847
12848 * config/moxie/crti.asm, config/moxie/crtn.asm,
12849 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12850 config/moxie/t-moxie: New files.
12851 * config.host: Add t-moxie-softfp reference.
12852
7d296953 128532009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
12854
12855 PR other/39888
12856 * config/t-slibgcc-darwin: Fix embedded rpaths for
12857 --enable-version-specific-runtime-libs, build extension stub
12858 libs exposing features available from current libgcc_s.
12859
7d296953 128602009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 12861
d78552bd
UB
12862 * config.host: Add lm32 targets.
12863 * config/lm32: New directory.
12864 * config/lm32/libgcc_lm32.h: New file.
12865 * config/lm32/_mulsi3.c: New file.
12866 * config/lm32/_udivmodsi4.c: New file.
12867 * config/lm32/_divsi3.c: New file.
12868 * config/lm32/_modsi3.c: New file.
12869 * config/lm32/_udivsi3.c: New file.
12870 * config/lm32/_umodsi3.c: New file.
12871 * config/lm32/_lshrsi3.S: New file.
12872 * config/lm32/_ashrsi3.S: New file.
12873 * config/lm32/_ashlsi3.S: New file.
12874 * config/lm32/crti.S: New file.
12875 * config/lm32/crtn.S: New file.
12876 * config/lm32/t-lm32: New file.
12877 * config/lm32/t-elf: New file.
12878 * config/lm32/t-uclinux: New file.
aa4945c1 12879
65a324b4
NC
128802009-10-26 Nick Clifton <nickc@redhat.com>
12881
12882 * config.host: Add support for RX target.
12883 * config/rx: New directory.
12884 * config/rx/rx-abi-functions.c: New file. Supplementary
12885 functions for libgcc to support the RX ABI.
12886 * config/rx/rx-abi.h: New file. Supplementary header file for
12887 libgcc RX ABI functions.
12888 * config/rx/t-rx: New file: Makefile fragment for building
12889 libgcc for the RX.
12890
dfb3b0e3
UB
128912009-10-09 Uros Bizjak <ubizjak@gmail.com>
12892
12893 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12894 constraint of y0 to "g".
12895
81dd9fd7
AK
128962009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12897
12898 * config.host: Include the s390 makefile fragments.
12899 * config/s390/32/_fixdfdi.c: New file.
12900 * config/s390/32/_fixsfdi.c: New file.
12901 * config/s390/32/_fixtfdi.c: New file.
12902 * config/s390/32/_fixunsdfdi.c: New file.
12903 * config/s390/32/_fixunssfdi.c: New file.
12904 * config/s390/32/_fixunstfdi.c: New file.
12905 * config/s390/32/t-floattodi: New file.
12906 * config/s390/libgcc-glibc.ver: New file.
12907 * config/s390/t-crtstuff: New file.
12908 * config/s390/t-linux: New file.
12909 * config/s390/t-tpf: New file.
12910
df58e648
RW
129112009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12912
12913 * configure.ac (AC_PREREQ): Bump to 2.64.
12914
79052be3
KK
129152009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
12916
12917 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12918
5213506e
RW
129192009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12920
12921 * configure: Regenerate.
12922
a9a25daa
DR
129232009-08-09 Douglas B Rupp <rupp@gnat.com>
12924
12925 * config.host (ia64-hp-*vms*): New target.
12926 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12927 with ia64-hp-*vms*.
12928
6efbd53f
RW
129292009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12930
12931 * configure.ac: Add snippet for maintainer-mode.
12932 * configure: Regenerate.
12933 * Makefile.in (AUTOCONF, configure_deps): New variables.
12934 ($(srcdir)/configure)): New rule, active only with maintainer
12935 mode turned on.
12936
7acf4da6
DD
129372009-06-23 DJ Delorie <dj@redhat.com>
12938
12939 Add MeP port.
12940 * config.host: Add mep support.
12941
54f549af
KT
129422009-06-22 Kai Tietz <kai.tietz@onevision.com>
12943
34481f28 12944 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 12945 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
12946
12947 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12948 for mingw targets.
54f549af
KT
12949 * config/i386/64/_multc3.c: Likewise.
12950 * config/i386/64/_powitf2.c: Likewise.
12951 * config/i386/64/eqtf2.c: Likewise.
12952 * config/i386/64/getf2.c: Likewise.
12953 * config/i386/64/letf2.c: Likewise.
12954 * config/i386/64/letf2.c: Likewise.
34481f28
UB
12955 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12956 unsigned long long for x64 mingw targets.
12957 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12958 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 12959
fea96e25
MR
129602009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
12961
12962 * config.host (vax-*-linux*): New.
12963
cceb575c
AG
129642009-05-31 Anthony Green <green@moxielogic.com>
12965
12966 * config.host: Add moxie support.
12967 * config/moxie/t-moxie: New file.
12968
7d296953 129692009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
12970
12971 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 12972 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 12973
532bfb0a
AJ
129742009-04-17 Aurelien Jarno <aurelien@aurel32.net>
12975
12976 * config.host: Add i386/${host_address}/t-fprules-softfp to
12977 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12978
748086b7
JJ
129792009-04-09 Nick Clifton <nickc@redhat.com>
12980
12981 * config/ia64/tf-signs.c: Change copyright header to refer to
12982 version 3 of the GNU General Public License with version 3.1
12983 of the GCC Runtime Library Exception and to point readers at
12984 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12985 web page.
12986 * config/i386/32/tf-signs.c: Likewise.
12987 * config/libbid/_addsub_dd.c: Likewise.
12988 * config/libbid/_addsub_sd.c: Likewise.
12989 * config/libbid/_addsub_td.c: Likewise.
12990 * config/libbid/_dd_to_df.c: Likewise.
12991 * config/libbid/_dd_to_di.c: Likewise.
12992 * config/libbid/_dd_to_sd.c: Likewise.
12993 * config/libbid/_dd_to_sf.c: Likewise.
12994 * config/libbid/_dd_to_si.c: Likewise.
12995 * config/libbid/_dd_to_td.c: Likewise.
12996 * config/libbid/_dd_to_tf.c: Likewise.
12997 * config/libbid/_dd_to_udi.c: Likewise.
12998 * config/libbid/_dd_to_usi.c: Likewise.
12999 * config/libbid/_dd_to_xf.c: Likewise.
13000 * config/libbid/_df_to_dd.c: Likewise.
13001 * config/libbid/_df_to_sd.c: Likewise.
13002 * config/libbid/_df_to_td.c: Likewise.
13003 * config/libbid/_di_to_dd.c: Likewise.
13004 * config/libbid/_di_to_sd.c: Likewise.
13005 * config/libbid/_di_to_td.c: Likewise.
13006 * config/libbid/_div_dd.c: Likewise.
13007 * config/libbid/_div_sd.c: Likewise.
13008 * config/libbid/_div_td.c: Likewise.
13009 * config/libbid/_eq_dd.c: Likewise.
13010 * config/libbid/_eq_sd.c: Likewise.
13011 * config/libbid/_eq_td.c: Likewise.
13012 * config/libbid/_ge_dd.c: Likewise.
13013 * config/libbid/_ge_sd.c: Likewise.
13014 * config/libbid/_ge_td.c: Likewise.
13015 * config/libbid/_gt_dd.c: Likewise.
13016 * config/libbid/_gt_sd.c: Likewise.
13017 * config/libbid/_gt_td.c: Likewise.
13018 * config/libbid/_isinfd128.c: Likewise.
13019 * config/libbid/_isinfd32.c: Likewise.
13020 * config/libbid/_isinfd64.c: Likewise.
13021 * config/libbid/_le_dd.c: Likewise.
13022 * config/libbid/_le_sd.c: Likewise.
13023 * config/libbid/_le_td.c: Likewise.
13024 * config/libbid/_lt_dd.c: Likewise.
13025 * config/libbid/_lt_sd.c: Likewise.
13026 * config/libbid/_lt_td.c: Likewise.
13027 * config/libbid/_mul_dd.c: Likewise.
13028 * config/libbid/_mul_sd.c: Likewise.
13029 * config/libbid/_mul_td.c: Likewise.
13030 * config/libbid/_ne_dd.c: Likewise.
13031 * config/libbid/_ne_sd.c: Likewise.
13032 * config/libbid/_ne_td.c: Likewise.
13033 * config/libbid/_sd_to_dd.c: Likewise.
13034 * config/libbid/_sd_to_df.c: Likewise.
13035 * config/libbid/_sd_to_di.c: Likewise.
13036 * config/libbid/_sd_to_sf.c: Likewise.
13037 * config/libbid/_sd_to_si.c: Likewise.
13038 * config/libbid/_sd_to_td.c: Likewise.
13039 * config/libbid/_sd_to_tf.c: Likewise.
13040 * config/libbid/_sd_to_udi.c: Likewise.
13041 * config/libbid/_sd_to_usi.c: Likewise.
13042 * config/libbid/_sd_to_xf.c: Likewise.
13043 * config/libbid/_sf_to_dd.c: Likewise.
13044 * config/libbid/_sf_to_sd.c: Likewise.
13045 * config/libbid/_sf_to_td.c: Likewise.
13046 * config/libbid/_si_to_dd.c: Likewise.
13047 * config/libbid/_si_to_sd.c: Likewise.
13048 * config/libbid/_si_to_td.c: Likewise.
13049 * config/libbid/_td_to_dd.c: Likewise.
13050 * config/libbid/_td_to_df.c: Likewise.
13051 * config/libbid/_td_to_di.c: Likewise.
13052 * config/libbid/_td_to_sd.c: Likewise.
13053 * config/libbid/_td_to_sf.c: Likewise.
13054 * config/libbid/_td_to_si.c: Likewise.
13055 * config/libbid/_td_to_tf.c: Likewise.
13056 * config/libbid/_td_to_udi.c: Likewise.
13057 * config/libbid/_td_to_usi.c: Likewise.
13058 * config/libbid/_td_to_xf.c: Likewise.
13059 * config/libbid/_tf_to_dd.c: Likewise.
13060 * config/libbid/_tf_to_sd.c: Likewise.
13061 * config/libbid/_tf_to_td.c: Likewise.
13062 * config/libbid/_udi_to_dd.c: Likewise.
13063 * config/libbid/_udi_to_sd.c: Likewise.
13064 * config/libbid/_udi_to_td.c: Likewise.
13065 * config/libbid/_unord_dd.c: Likewise.
13066 * config/libbid/_unord_sd.c: Likewise.
13067 * config/libbid/_unord_td.c: Likewise.
13068 * config/libbid/_usi_to_dd.c: Likewise.
13069 * config/libbid/_usi_to_sd.c: Likewise.
13070 * config/libbid/_usi_to_td.c: Likewise.
13071 * config/libbid/_xf_to_dd.c: Likewise.
13072 * config/libbid/_xf_to_sd.c: Likewise.
13073 * config/libbid/_xf_to_td.c: Likewise.
13074 * config/libbid/bid128.c: Likewise.
13075 * config/libbid/bid128_2_str.h: Likewise.
13076 * config/libbid/bid128_2_str_macros.h: Likewise.
13077 * config/libbid/bid128_2_str_tables.c: Likewise.
13078 * config/libbid/bid128_add.c: Likewise.
13079 * config/libbid/bid128_compare.c: Likewise.
13080 * config/libbid/bid128_div.c: Likewise.
13081 * config/libbid/bid128_fma.c: Likewise.
13082 * config/libbid/bid128_logb.c: Likewise.
13083 * config/libbid/bid128_minmax.c: Likewise.
13084 * config/libbid/bid128_mul.c: Likewise.
13085 * config/libbid/bid128_next.c: Likewise.
13086 * config/libbid/bid128_noncomp.c: Likewise.
13087 * config/libbid/bid128_quantize.c: Likewise.
13088 * config/libbid/bid128_rem.c: Likewise.
13089 * config/libbid/bid128_round_integral.c: Likewise.
13090 * config/libbid/bid128_scalb.c: Likewise.
13091 * config/libbid/bid128_sqrt.c: Likewise.
13092 * config/libbid/bid128_string.c: Likewise.
13093 * config/libbid/bid128_to_int16.c: Likewise.
13094 * config/libbid/bid128_to_int32.c: Likewise.
13095 * config/libbid/bid128_to_int64.c: Likewise.
13096 * config/libbid/bid128_to_int8.c: Likewise.
13097 * config/libbid/bid128_to_uint16.c: Likewise.
13098 * config/libbid/bid128_to_uint32.c: Likewise.
13099 * config/libbid/bid128_to_uint64.c: Likewise.
13100 * config/libbid/bid128_to_uint8.c: Likewise.
13101 * config/libbid/bid32_to_bid128.c: Likewise.
13102 * config/libbid/bid32_to_bid64.c: Likewise.
13103 * config/libbid/bid64_add.c: Likewise.
13104 * config/libbid/bid64_compare.c: Likewise.
13105 * config/libbid/bid64_div.c: Likewise.
13106 * config/libbid/bid64_fma.c: Likewise.
13107 * config/libbid/bid64_logb.c: Likewise.
13108 * config/libbid/bid64_minmax.c: Likewise.
13109 * config/libbid/bid64_mul.c: Likewise.
13110 * config/libbid/bid64_next.c: Likewise.
13111 * config/libbid/bid64_noncomp.c: Likewise.
13112 * config/libbid/bid64_quantize.c: Likewise.
13113 * config/libbid/bid64_rem.c: Likewise.
13114 * config/libbid/bid64_round_integral.c: Likewise.
13115 * config/libbid/bid64_scalb.c: Likewise.
13116 * config/libbid/bid64_sqrt.c: Likewise.
13117 * config/libbid/bid64_string.c: Likewise.
13118 * config/libbid/bid64_to_bid128.c: Likewise.
13119 * config/libbid/bid64_to_int16.c: Likewise.
13120 * config/libbid/bid64_to_int32.c: Likewise.
13121 * config/libbid/bid64_to_int64.c: Likewise.
13122 * config/libbid/bid64_to_int8.c: Likewise.
13123 * config/libbid/bid64_to_uint16.c: Likewise.
13124 * config/libbid/bid64_to_uint32.c: Likewise.
13125 * config/libbid/bid64_to_uint64.c: Likewise.
13126 * config/libbid/bid64_to_uint8.c: Likewise.
13127 * config/libbid/bid_b2d.h: Likewise.
13128 * config/libbid/bid_binarydecimal.c: Likewise.
13129 * config/libbid/bid_conf.h: Likewise.
13130 * config/libbid/bid_convert_data.c: Likewise.
13131 * config/libbid/bid_decimal_data.c: Likewise.
13132 * config/libbid/bid_decimal_globals.c: Likewise.
13133 * config/libbid/bid_div_macros.h: Likewise.
13134 * config/libbid/bid_dpd.c: Likewise.
13135 * config/libbid/bid_flag_operations.c: Likewise.
13136 * config/libbid/bid_from_int.c: Likewise.
13137 * config/libbid/bid_functions.h: Likewise.
13138 * config/libbid/bid_gcc_intrinsics.h: Likewise.
13139 * config/libbid/bid_inline_add.h: Likewise.
13140 * config/libbid/bid_internal.h: Likewise.
13141 * config/libbid/bid_round.c: Likewise.
13142 * config/libbid/bid_sqrt_macros.h: Likewise.
13143
131442009-04-09 Jakub Jelinek <jakub@redhat.com>
13145
13146 * Makefile.in: Change copyright header to refer to version
13147 3 of the GNU General Public License and to point readers at the
13148 COPYING3 file and the FSF's license web page.
13149 * config.host: Likewise.
13150
633dd061
AM
131512009-04-07 Alan Modra <amodra@bigpond.net.au>
13152
13153 * config.host: Reorder and merge to match config.gcc change.
13154
457d1d00
AM
131552009-04-03 Alan Modra <amodra@bigpond.net.au>
13156
13157 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
13158
52c0e446
JM
131592009-03-28 Joseph Myers <joseph@codesourcery.com>
13160
13161 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
13162 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
13163 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
13164 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
13165
ba181049
UB
131662009-02-12 Uros Bizjak <ubizjak@gmail.com>
13167
13168 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
13169 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
13170
c252db20
L
131712009-02-12 H.J. Lu <hongjiu.lu@intel.com>
13172
ba181049
UB
13173 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
13174 ia64/t-softfp-compat to tmake_file.
c252db20
L
13175
13176 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
13177
13178 * config/ia64/__divxf3.asm: New.
13179 * config/ia64/_fixtfdi.asm: Likewise.
13180 * config/ia64/_fixunstfdi.asm: Likewise.
13181 * config/ia64/_floatditf.asm: Likewise.
13182 * config/ia64/t-fprules-softfp: Likewise.
13183 * config/ia64/t-softfp-compat: Likewise.
13184 * config/ia64/tf-signs.c: Likewise.
13185
c60535f9
BE
131862009-01-18 Ben Elliston <bje@au.ibm.com>
13187
13188 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
13189
ce16861e
BE
131902009-01-16 Ben Elliston <bje@au.ibm.com>
13191
13192 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
13193 to tmake_file.
13194
bcf4713b
BE
131952009-01-13 Ben Elliston <bje@au.ibm.com>
13196
13197 * config/t-softfp: New file.
13198 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
13199 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
13200
7d296953 132012009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
13202
13203 * config.host: Add m32r*-*-rtems*.
13204
7d296953 132052008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
13206
13207 * config.host: Add m32c*-*-rtems*.
13208
19523300
RO
132092008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
13210
13211 PR bootstrap/33100
13212 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
13213 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
13214 * configure: Regenerate.
13215 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
13216 tmake_file here from gcc/config.gcc.
13217 Move extra_parts here from gcc/config.gcc.
13218 * config/i386/t-sol2: Move here from gcc/config/i386.
13219 Use gcc_srcdir instead of srcdir.
13220
0a4a51c7
AN
132212008-11-18 Adam Nemet <anemet@caviumnetworks.com>
13222
13223 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
13224 case.
13225
2a761e46
TS
132262008-11-09 Thomas Schwinge <tschwinge@gnu.org>
13227
13228 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
13229
c0451df7
TS
132302008-10-08 Thomas Schwinge <tschwinge@gnu.org>
13231
13232 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
13233
358da97e
HS
132342008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
13235
13236 Add picoChip port.
13237 * config.host: Add picochip-*-*.
13238
c660f132
BW
132392008-08-06 Bob Wilson <bob.wilson@acm.org>
13240
13241 * config.host: Match more processor names for Xtensa.
13242
d1349557
L
132432008-07-08 H.J. Lu <hongjiu.lu@intel.com>
13244
13245 * config/i386/64/t-softfp-compat: Update comments.
13246
dd7b73c0
L
132472008-07-07 H.J. Lu <hongjiu.lu@intel.com>
13248
13249 * config/i386/64/_divtc3-compat.c: Moved to ...
13250 * config/i386/64/_divtc3.c: Here.
13251
13252 * config/i386/64/_multc3-compat.c: Moved to ...
13253 * config/i386/64/_multc3.c: Here.
13254
13255 * config/i386/64/_powitf2-compat.c: Moved to ...
13256 * config/i386/64/_powitf2.c: Here.
13257
13258 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
13259 .c suffix instead of -compat.c.
13260
6e1fab3d
UB
132612008-07-05 Uros Bizjak <ubizjak@gmail.com>
13262
13263 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
13264 (_FP_MUL_MEAT_D): Ditto.
13265 (_FP_DIV_MEAT_S): Ditto.
13266 (_FP_DIV_MEAT_D): Ditto.
13267
f92518d7
RS
132682008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
13269
13270 * Makefile.in: Add support for __sync_* libgcc functions.
13271
d0aede14
L
132722008-07-03 H.J. Lu <hongjiu.lu@intel.com>
13273
13274 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
13275
c174f11c
L
132762008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13277
13278 PR boostrap/36702
13279 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
13280 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
13281
13282 * config/i386/64/t-fprules-softfp: Moved to ...
13283 * config/i386/64/t-softfp-compat: This. New.
13284
5f464fa2
UB
132852008-07-02 Uros Bizjak <ubizjak@gmail.com>
13286
13287 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
13288 Initialize f with 0.0.
13289
ff473280
L
132902008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13291
13292 PR target/36669
13293 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
13294
13295 * config/i386/64/_divtc3-compat.c: New.
13296 * config/i386/64/_multc3-compat.c: Likewise.
13297 * config/i386/64/_powitf2-compat.c: Likewise.
13298 * config/i386/64/eqtf2.c: Likewise.
13299 * config/i386/64/getf2.c: Likewise.
13300 * config/i386/64/letf2.c: Likewise.
13301 * config/i386/64/t-fprules-softfp: Likewise.
13302
133032008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13304
13305 * config.host: Add i386/${host_address}/t-fprules-softfp to
13306 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 13307 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
13308
13309 * configure.ac: Set host_address to 64 or 32 for x86.
13310 * configure: Regenerated.
13311
13312 * Makefile.in (config.status): Also depend on
13313 $(srcdir)/config.host.
13314
13315 * config/i386/32/t-fprules-softfp: New.
13316 * config/i386/32/tf-signs.c: Likewise.
13317
13318 * config/i386/64/sfp-machine.h: New. Moved from gcc.
13319
133202008-07-02 H.J. Lu <hongjiu.lu@intel.com>
13321 Uros Bizjak <ubizjak@gmail.com>
13322
13323 * config/i386/32/sfp-machine.h: New.
13324
30551d99
NF
133252008-06-26 Nathan Froyd <froydnj@codesourcery.com>
13326
13327 * config/rs6000/t-ppccomm: Remove rules that conflict with
13328 auto-generated rules.
13329
18c04407
RW
133302008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
13331
13332 * configure.ac: sinclude override.m4.
13333 * configure: Regenerate.
13334
10fbe77a
BRF
133352008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
13336
13337 * configure: Regenerate.
13338
bc6d4c3f
JM
133392008-06-10 Joseph Myers <joseph@codesourcery.com>
13340
13341 * Makefile.in (DECNUMINC): Remove
13342 -I$(MULTIBUILDTOP)../../libdecnumber.
13343 * gstdint.h: New.
13344
cd985f66
JM
133452008-06-07 Joseph Myers <joseph@codesourcery.com>
13346
13347 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
13348 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
13349 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
13350 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
13351 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
13352 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
13353 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
13354 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
13355 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
13356 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
13357 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
13358 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
13359 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
13360 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
13361
93fea8d3
AL
133622008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
13363
13364 * config.host (sh2[lbe]*-*-linux*): Allow target.
13365
18724e30
NF
133662008-04-30 Nathan Froyd <froydnj@codesourcery.com>
13367
13368 * config/rs6000/t-ppccomm: Add build rules for new files.
13369 (LIB2ADD_ST): New variable.
13370
47583040
AH
133712008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
13372
13373 PR target/34210
13374 PR target/35508
13375 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
13376 * config/t-avr: New file. Build 16bit libgcc functions.
13377
cf8e67fe
JJ
133782008-03-02 Jakub Jelinek <jakub@redhat.com>
13379
13380 PR target/35401
13381 * config/t-slibgcc-darwin: Make install-leaf dependent on
13382 install-darwin-libgcc-stubs instead of install.
13383
8d8da227
JM
133842008-01-25 Joseph Myers <joseph@codesourcery.com>
13385
13386 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
13387 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
13388 sh-*-rtemscoff*): Remove cases.
13389
edbf8b16
RS
133902007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
13391
13392 * Makefile.in (all): Use install-leaf rather than install.
13393 (install): Split most of the rule into...
13394 (install-leaf): ...this new one.
13395
89deeaff
EK
133962007-12-19 Etsushi Kato <ek.kato@gmail.com>
13397 Paolo Bonzini <bonzini@gnu.org>
13398
13399 PR target/30572
5f464fa2
UB
13400 * Makefile.in: Use @shlib_slibdir@ substitution to get
13401 correct install name on darwin.
89deeaff 13402 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 13403
4081d704
HPN
134042007-12-15 Hans-Peter Nilsson <hp@axis.com>
13405
13406 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
13407 cris-*-elf and cris-*-none.
13408 (crisv32-*-linux*): Similar, as cris-*-linux*.
13409
f43e89a3
RIL
134102007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
13411
13412 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
13413
b4e9c2c6
L
134142007-10-27 H.J. Lu <hongjiu.lu@intel.com>
13415
13416 PR regression/33926
13417 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
13418 * configure: Regenerated.
13419
b2a00c89
L
134202007-09-27 H.J. Lu <hongjiu.lu@intel.com>
13421
13422 * Makefile.in (dfp-filenames): Replace decimal_globals,
13423 decimal_data, binarydecimal and convert_data with
13424 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
13425 and bid_convert_data, respectively.
13426
8d2a9e0e
CF
134272007-09-17 Chao-ying Fu <fu@mips.com>
13428 Nigel Stephens <nigel@mips.com>
13429
13430 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
13431 * Makefile.in (fixed_point): Define.
13432 Check if fixed_point is yes to build support functions.
13433 * configure.ac: Check for fixed_point support.
13434 * configure: Regenerated.
13435 * gen-fixed.sh: New file to generate lists of fixed-point labels,
13436 funcs, modes, from, to.
13437
2b53935d
JJ
134382007-09-11 Janis Johnson <janis187@us.ibm.com
13439
13440 * Makefile.in (dfp-filenames): Add bid128_noncomp.
13441
2533577f
JJ
134422007-09-10 Janis Johnson <janis187@us.ibm.com>
13443
13444 * Makefile.in (dfp-filenames): Remove decUtility, add
13445 decDouble, decPacked, decQuad, decSingle.
13446
3ae3dbd6
HK
134472007-08-27 Hans Kester <hans.kester@ellips.nl>
13448
13449 * config.host : Add x86_64-elf target.
13450
22867d02
L
134512007-07-06 H.J. Lu <hongjiu.lu@intel.com>
13452
13453 * configure.ac (set_have_cc_tls): Add a missing =.
13454 * configure: Regenerated.
13455
6f461e76
L
134562007-07-06 H.J. Lu <hongjiu.lu@intel.com>
13457
13458 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
13459 and x86_64-*-linux*.
13460
13461 * config/t-tls: New file.
13462
dfb3b0e3 13463 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
13464
13465 * configure.ac: Include ../config/enable.m4 and
13466 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
13467 supports TLS and substitute set_have_cc_tls.
13468 * configure: Regenerated.
13469
200359e8
L
134702007-07-04 H.J. Lu <hongjiu.lu@intel.com>
13471
13472 * Makefile.in: Use libbid for DFP when BID is enabled.
13473
76f5e200
DS
134742007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
13475
13476 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 13477 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
13478 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
13479
9bd196f0 134802007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 13481 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
13482
13483 PR target/29498
13484 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
13485 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
13486 * config/i386/t-crtfm: Compile crtfastmath.o with
13487 -minline-all-stringops.
13488
1910440e
RS
134892007-05-10 Richard Sandiford <richard@codesourcery.com>
13490
13491 * config.host (sparc-wrs-vxworks): New target.
13492
7d33c31d
KH
134932007-04-14 Kazu Hirata <kazu@codesourcery.com>
13494
13495 * config.host: Recognize fido.
13496
96fccd0d
JJ
134972007-04-04 Janis Johnson <janis187@us.ibm.com>
13498
13499 * configure: Check host, not target, for decimal float support.
13500
577565f9
UB
135012007-04-03 Uros Bizjak <ubizjak@gmail.com>
13502
13503 * config/i386/t-crtpc: New file.
13504 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 13505 (x86_64-*-linux*): Ditto.
577565f9 13506
ccf8e764
RH
135072007-02-30 Kai Tietz <kai.tietz@onevision.com>
13508
13509 * config.host (x86_64-*-mingw*): New target.
13510
79b87c74
MM
135112007-03-23 Michael Meissner <michael.meissner@amd.com>
13512 H.J. Lu <hongjiu.lu@intel.com>
13513
13514 * Makefile.in (enable_decimal_float): New.
13515 (DECNUMINC): Add
13516 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
13517 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
13518 (decbits-filenames): This.
13519 (decbits-objects): New.
13520 (libgcc-objects): Add $(decbits-objects).
13521
13522 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
13523 Substitute enable_decimal_float.
13524 * configure: Regenerated.
13525
8fce4e31
HPN
135262007-03-19 Hans-Peter Nilsson <hp@axis.com>
13527
13528 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
13529
e8bb4597
BM
135302007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
13531
13532 * Makefile.in (install-info): New dummy target.
13533
344189f9
BS
135342007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
13535
13536 * config.host (bfin*-linux-uclibc*): Set extra_parts.
13537
ac84c172
BM
135382007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
13539
13540 * Makefile.in: Add install-html and install-pdf dummy
13541 targets.
13542
cd5c2357
RS
135432007-02-05 Roger Sayle <roger@eyesopen.com>
13544 Daniel Jacobowitz <dan@codesourcery.com>
13545
13546 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
13547 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
13548 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
13549
d9a66f98
JJ
135502007-01-29 Janis Johnson <janis187@us.ibm.com>
13551
13552 * Makefile.in (dec-filenames): Add decExcept.
13553
9891ec5f
DJ
135542007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
13555
13556 PR bootstrap/30469
13557 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
13558 -fprofile-use.
13559
d6efbf5a
DJ
135602007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
13561
13562 * configure.ac: Add --enable-version-specific-runtime-libs.
13563 Correct $slibdir default.
13564 * configure: Regenerated.
13565
17caeff2
JM
135662007-01-23 Joseph Myers <joseph@codesourcery.com>
13567
13568 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
13569
5ea41e3a
AP
135702007-01-21 Andrew Pinski <pinskia@gmail.com>
13571
13572 PR target/30519
13573 * config.host (alpha*-*-linux*): Set extra_parts.
13574
26900826
KK
135752007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
13576
13577 * config/sh/t-linux: New.
13578 * config.host (sh*-*-linux*): Set tmake_file.
13579
97af925b
DJ
135802007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
13581
13582 * Makefile.in (install): Handle multilibs.
13583
b0088af7
BM
135842007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
13585
13586 * Makefile.in: Added .PHONY entry for documentation targets.
13587
e0a9456a
BM
135882007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
13589
13590 * Makefile.in: Add empty info, html, dvi, pdf targets.
13591
7fd453b4
MS
135922007-01-04 Mike Stump <mrs@apple.com>
13593
13594 * Makefile.in (MAKEINFO): Remove.
13595 (PERL): Likewise.
13596
14e8fc8b
PB
135972007-01-04 Paolo Bonzini <bonzini@gnu.org>
13598
13599 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
13600 * configure: Regenerate.
13601 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 13602 (gcc_objdir): Use it.
14e8fc8b 13603
1555beba
DJ
136042007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
13605
13606 * config.host (ia64*-*-linux*): Set tmake_file.
13607
79e6eaeb
DJ
136082007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
13609
13610 * Makefile.in (version): Define.
13611
fa958513
DJ
136122007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
13613 Paolo Bonzini <bonzini@gnu.org>
13614
13615 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
13616 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
13617 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
13618 config/sparc/t-crtfm, config/t-slibgcc-darwin,
13619 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
13620 shared-object.mk, siditi-object.mk, static-object.mk: New files.
13621 * configure: Generated.
818ab71a 13622\f
6a720d41 13623Copyright (C) 2007-2024 Free Software Foundation, Inc.
818ab71a
JJ
13624
13625Copying and distribution of this file, with or without modification,
13626are permitted in any medium without royalty provided the copyright
13627notice and this notice are preserved.