ChangeLog revision 1.1.1.21 1 2022-06-28 Release Manager
2
3 * GCC 10.4.0 released.
4
5 2022-05-29 Iain Sandoe <iain (a] sandoe.co.uk>
6
7 * config.host: Add weak emutls crt to the extra_parts.
8 (*-*-darwin*): Add logic to build a shared unwinder library for
9 Darwin8-10. Add shim declaration header to powerpc*-darwin builds.
10 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
11 workaround.
12 * config/libgcc-libsystem.ver: Add exclude list for the system-
13 provided unwinder.
14 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
15 Build a legacy libgcc_s.1 and the supporting pieces (all FAT libs).
16 * config/t-darwin-ehs: Add dependencies to the shared unwinder
17 objects. Add dependency on unwind.h.
18 * config/t-darwin: Reorganise the EH fragments to place them for
19 inclusion in a shared EH lib. Add libgcc_tm.h to the dependencies
20 for darwin10-unwind-find-enc-func.
21 * config/i386/libgcc-darwin.10.4.ver: Removed.
22 * config/i386/libgcc-darwin.10.5.ver: Removed.
23 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
24 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
25 * config/i386/t-darwin: Build legacy libgcc_s.1.
26 * config/rs6000/t-darwin: Likewise.
27 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
28 file. Add darwin-fallback.o.
29 * config/darwin-unwind.ver: New file.
30 * config/i386/libgcc-darwin.ver: New file.
31
32 2022-05-29 Iain Sandoe <iain (a] sandoe.co.uk>
33
34 Backported from master:
35 2021-11-19 Iain Sandoe <iain (a] sandoe.co.uk>
36
37 * config/t-darwin: Build weak-defined emutls objects.
38 * emutls.c (__emutls_get_address): Add optional attributes.
39 (__emutls_register_common): Likewise.
40 (EMUTLS_ATTR): New.
41
42 2022-05-29 Iain Sandoe <iain (a] sandoe.co.uk>
43
44 Backported from master:
45 2021-09-19 Iain Sandoe <iain (a] sandoe.co.uk>
46
47 * config.host: Use convenience library for Darwin10
48 unwinder shim.
49 * config/t-darwin: Build Darwin10 unwinder shim as a
50 convenience library.
51
52 2022-05-16 Sebastian Pop <spop (a] amazon.com>
53
54 PR target/105162
55 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
56 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
57
58 2022-02-13 Alan Modra <amodra (a] gmail.com>
59
60 Backported from master:
61 2021-07-15 Alan Modra <amodra (a] gmail.com>
62
63 * config/rs6000/morestack.S (R2_SAVE): Define.
64 (__morestack): Save and restore r2. Set up r2 for called
65 functions.
66
67 2022-02-13 Alan Modra <amodra (a] gmail.com>
68
69 Backported from master:
70 2020-10-01 Alan Modra <amodra (a] gmail.com>
71
72 * config/rs6000/morestack.S,
73 * config/rs6000/tramp.S: Support __PCREL__ code.
74
75 2021-10-27 John David Anglin <danglin (a] gcc.gnu.org>
76
77 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
78 tmake_file.
79 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
80 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
81 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
82 * config/pa/t-linux64 (LIB1ASMSRC): New define.
83 (LIB1ASMFUNCS): Revise.
84 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
85
86 2021-08-31 Richard Sandiford <richard.sandiford (a] arm.com>
87
88 Backported from master:
89 2021-08-31 Richard Sandiford <richard.sandiford (a] arm.com>
90
91 * config/aarch64/value-unwind.h: Add missing runtime exception
92 paragraph.
93 * config/frv/frv-abi.h: Likewise.
94 * config/i386/value-unwind.h: Likewise.
95 * config/pa/pa64-hpux-lib.h: Likewise.
96
97 2021-08-24 Richard Earnshaw <rearnsha (a] arm.com>
98
99 Backported from master:
100 2021-08-24 Richard Earnshaw <rearnsha (a] arm.com>
101
102 PR target/102035
103 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
104 Add vlldm erratum work-around.
105
106 2021-06-18 Srinath Parvathaneni <srinath.parvathaneni (a] arm.com>
107
108 Backported from master:
109 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni (a] arm.com>
110
111 PR target/99939
112 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
113 macro.
114 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
115 on passing -mcmse option.
116
117 2021-04-27 Michael Meissner <meissner (a] linux.ibm.com>
118
119 PR target/98952
120 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
121 trampoline size comparison in 32-bit by reversing test and
122 combining load immediate with compare. Fix backported from trunk
123 change on 4/23, 886b6c1e8af502b69e3f318b9830b73b88215878.
124 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
125 in 32-bit by reversing test and combining load immediate with
126 compare.
127
128 2021-04-20 Jakub Jelinek <jakub (a] redhat.com>
129
130 Backported from master:
131 2021-04-03 Jakub Jelinek <jakub (a] redhat.com>
132
133 PR target/97653
134 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
135 $(objext) instead of $(object). Use _floatunditf instead of
136 _floatunsditf. Add tf <-> ti conversion objects.
137 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
138
139 2021-04-08 Release Manager
140
141 * GCC 10.3.0 released.
142
143 2021-03-31 Jan Hubicka <jh (a] suse.cz>
144
145 * config/i386/cpuinfo.c (get_amd_cpu): Support amdfam19.
146 * config/i386/cpuinfo.h (enum processor_types): Add AMDFAM19H.
147 (enum processor_subtypes): Add AMDFAM19H_ZNVER3.
148
149 2021-02-24 Christophe Lyon <christophe.lyon (a] linaro.org>
150
151 Backported from master:
152 2021-02-24 Christophe Lyon <christophe.lyon (a] linaro.org>
153 Hau Hsu <hsuhau617 (a] gmail.com>
154
155 PR target/99157
156 * config/arm/t-arm: Fix cmse support detection.
157
158 2021-01-21 Michael Meissner <meissner (a] linux.ibm.com>
159
160 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Back port from
161 master (12/3/2020). New make variable.
162 (IBM128_SHARED_OBJS): New make variable.
163 (IBM128_OBJS): New make variable. Set all objects to use the
164 explicit IBM format, and disable gnu attributes.
165 (IBM128_CFLAGS): New make variable.
166 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
167 modules.
168
169 2021-01-13 Samuel Thibault <samuel.thibault (a] gnu.org>
170
171 Backported from master:
172 2021-01-13 Samuel Thibault <samuel.thibault (a] gnu.org>
173
174 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
175 posix siginfo case to struct handler_args. Detect between legacy
176 and siginfo from the second parameter, which is a small sigcode in
177 the legacy case, and a pointer in the siginfo case.
178
179 2020-10-02 Sergei Trofimovich <siarheit (a] google.com>
180
181 Backported from master:
182 2020-09-22 Sergei Trofimovich <siarheit (a] google.com>
183
184 PR gcov-profile/96913
185 * libgcov-driver.c (write_one_data): Avoid function pointer
186 comparison in TOP streaming decision.
187
188 2020-08-03 Jakub Jelinek <jakub (a] redhat.com>
189
190 Backported from master:
191 2020-08-03 Jakub Jelinek <jakub (a] redhat.com>
192
193 PR target/96402
194 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
195 of x(tmp0), x(tmp1) in STXP arguments.
196
197 2020-07-23 Release Manager
198
199 * GCC 10.2.0 released.
200
201 2020-07-13 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
202
203 Backported from master:
204 2020-07-13 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
205
206 PR target/94891
207 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
208 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
209 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
210 (MD_DEMANGLE_RETURN_ADDR): This.
211 (aarch64_post_extract_frame_addr): Rename to ...
212 (aarch64_demangle_return_addr): This.
213 (aarch64_post_frob_eh_handler_addr): Remove.
214 * unwind-dw2.c (uw_update_context): Demangle return address.
215 (uw_frob_return_addr): Remove.
216
217 2020-07-13 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
218
219 Backported from master:
220 2020-07-09 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
221
222 PR target/96001
223 * config/aarch64/lse.S: Add BTI marking and related definitions,
224 and add BTI c to function entries.
225
226 2020-07-13 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
227
228 Backported from master:
229 2020-07-09 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
230
231 * config/aarch64/lse.S: Add stack note.
232
233 2020-06-17 Samuel Thibault <samuel.thibault (a] gnu.org>
234
235 Backported from master:
236 2020-06-17 Samuel Thibault <samuel.thibault (a] gnu.org>
237
238 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
239 'i386/gnu-unwind.h'
240 * config/i386/gnu-unwind.h: New file.
241
242 2020-05-29 Dong JianQiang <dongjianqiang2 (a] huawei.com>
243
244 PR gcov-profile/95332
245 * libgcov-util.c (read_gcda_file): Call gcov_magic.
246 * libgcov.h (gcov_magic): Disable GCC poison.
247
248 2020-05-21 H.J. Lu <hongjiu.lu (a] intel.com>
249
250 Backport from master
251 2020-05-21 H.J. Lu <hongjiu.lu (a] intel.com>
252
253 PR target/95212
254 * config/i386/cpuinfo.h (processor_features): Move
255 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
256
257 2020-05-20 H.J. Lu <hongjiu.lu (a] intel.com>
258
259 Backport from master
260 2020-05-20 H.J. Lu <hongjiu.lu (a] intel.com>
261
262 PR target/91695
263 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
264 check.
265
266 2020-05-19 H.J. Lu <hongjiu.lu (a] intel.com>
267
268 Backport from master
269 2020-05-19 H.J. Lu <hongjiu.lu (a] intel.com>
270
271 PR target/95212
272 PR target/95220
273 * config/i386/cpuinfo.c (get_available_features): Fix
274 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
275 * config/i386/cpuinfo.h (processor_features): Add
276 FEATURE_AVX512VP2INTERSECT.
277
278 2020-05-07 Release Manager
279
280 * GCC 10.1.0 released.
281
282 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov (a] arm.com>
283
284 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
285 instead of getauxval.
286 (AT_HWCAP): Define.
287 (HWCAP_ATOMICS): Define.
288 Guard detection on __gnu_linux__.
289
290 2020-04-27 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
291
292 * config/rs6000/crtresfpr.S: Use .machine ppc.
293 * config/rs6000/crtresxfpr.S: Likewise.
294 * config/rs6000/crtsavfpr.S: Likewise.
295
296 2020-04-21 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
297
298 PR target/94514
299 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
300 Update context->flags accroding to the frame state.
301
302 2020-04-19 Uro Bizjak <ubizjak (a] gmail.com>
303
304 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
305 Remove unneeded assignments to volatile memory.
306
307 2020-04-15 Jakub Jelinek <jakub (a] redhat.com>
308
309 PR target/93053
310 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
311 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
312 is not defined, use just .arch armv8-a.
313 (B, M, N, OPN): Define.
314 (COMMENT): New .macro.
315 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
316 defined. Otherwise, move the operands right after the glue? and
317 comment out operands where the macros are used.
318 * configure: Regenerated.
319 * config.in: Regenerated.
320
321 2020-04-07 Ian Lance Taylor <iant (a] golang.org>
322
323 PR libgcc/94513
324 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
325 syscall instead.
326
327 2020-04-04 Ian Lance Taylor <iant (a] golang.org>
328
329 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
330
331 2020-04-03 Ian Lance Taylor <iant (a] golang.org>
332
333 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
334 than mmap/munmap, to avoid hooks.
335
336 2020-04-03 Jim Johnston <jjohnst (a] us.ibm.com>
337
338 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
339 (TPFRA_OFFSET): Macros removed.
340 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
341 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
342 (PG3_SKIPPING_OFFSET): New macros.
343 (__isPATrange): Use cinfc_fast for the check.
344 (__isSkipResetAddr): New function.
345 (s390_fallback_frame_state): Check for skip trace addresses. Use
346 either ICST_CRET or ICST_SRET to calculate return address
347 location.
348 (__tpf_eh_return): Handle skip trace addresses.
349
350 2020-03-26 Richard Earnshaw <rearnsha (a] arm.com>
351
352 PR target/94220
353 * config/arm/lib1funcs.asm (COND): Use a single definition for
354 unified syntax.
355 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
356 (aeabi_idivmod): Likewise.
357 (divsi3_skip_div0_test): Likewise.
358
359 2020-03-17 Mihail Ionescu <mihail.ionescu (a] arm.com>
360
361 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
362
363 2020-03-04 Andreas Krebbel <krebbel (a] linux.ibm.com>
364
365 * config.host: Include the new makefile fragment.
366 * config/s390/t-tpf: New file.
367
368 2020-03-03 Richard Earnshaw <rearnsha (a] arm.com>
369
370 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
371 syntax.
372 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
373 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
374 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
375 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
376 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
377 syntax.
378 (divsi3, modsi3): Likewise.
379 (clzdi2, ctzsi2): Likewise.
380 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
381 unified syntax.
382 (UNWIND_WRAPPER): Likewise.
383
384 2020-03-02 Martin Liska <mliska (a] suse.cz>
385
386 * libgcov-interface.c: Remove duplicate
387 declaration of __gcov_flush_mx.
388
389 2020-02-18 Martin Liska <mliska (a] suse.cz>
390
391 PR ipa/92924
392 * libgcov-merge.c (merge_topn_values_set): Record
393 when a TOP N counter becomes invalid. When merging
394 remove a smallest value if the space is needed.
395
396 2020-02-12 Sandra Loosemore <sandra (a] codesourcery.com>
397
398 PR libstdc++/79193
399 PR libstdc++/88999
400
401 * configure: Regenerated.
402
403 2020-02-10 Jeff Law <law (a] redhat.com>
404
405 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
406 sections.
407 * config/frv/frvend.c: Similarly.
408
409 2020-02-10 H.J. Lu <hongjiu.lu (a] intel.com>
410
411 PR libgcc/85334
412 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
413 New.
414
415 2020-02-10 Christophe Lyon <christophe.lyon (a] linaro.org>
416
417 PR target/93615
418 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
419 _Unwind_gnu_Find_got.
420 * unwind-pe.h: Likewise.
421
422 2020-02-07 Jakub Jelinek <jakub (a] redhat.com>
423
424 PR target/93615
425 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
426 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
427 trailing :s in asm. Formatting fixes.
428 (_Unwind_decode_typeinfo_ptr): Adjust caller.
429
430 2020-01-31 Sandra Loosemore <sandra (a] codesourcery.com>
431
432 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
433
434 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
435 * config/nios2-elf-lib.h: New.
436 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
437 code for finding GOT base for nios2.
438
439 2020-01-27 Martin Liska <mliska (a] suse.cz>
440
441 PR gcov-profile/93403
442 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
443 Call __gcov_indirect_call_profiler_body.
444 (__gcov_indirect_call_profiler_body): New.
445 (__gcov_indirect_call_profiler_v4_atomic): New.
446 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
447 New declaration.
448
449 2020-01-27 Claudiu Zissulescu <claziss (a] synopsys.com>
450
451 * config/arc/crti.S: Add RF16 object attribute.
452 * config/arc/crtn.S: Likewise.
453 * config/arc/crttls.S: Likewise.
454 * config/arc/lib1funcs.S: Likewise.
455 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
456 * config/arc/lib2funcs.c: New file.
457 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
458
459 2020-01-24 Maciej W. Rozycki <macro (a] wdc.com>
460
461 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
462 * configure.ac: Handle `--with-toolexeclibdir='.
463 * configure: Regenerate.
464
465 2020-01-23 Dragan Mladjenovic <dmladjenovic (a] wavecomp.com>
466
467 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
468
469 2020-01-23 Dragan Mladjenovic <dmladjenovic (a] wavecomp.com>
470
471 * config/mips/gnustack.h: New file.
472 * config/mips/crti.S: Include gnustack.h.
473 * config/mips/crtn.S: Likewise.
474 * config/mips/mips16.S: Likewise.
475 * config/mips/vr4120-div.S: Likewise.
476
477 2020-01-23 Martin Liska <mliska (a] suse.cz>
478
479 * libgcov-driver.c (prune_topn_counter): Remove
480 check for -1 as we only prune run-time counters
481 that do not generate an invalid state.
482
483 2020-01-22 Martin Liska <mliska (a] suse.cz>
484
485 PR tree-optimization/92924
486 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
487 try to find an existing value, then find an empty slot
488 if not found.
489
490 2020-01-22 Martin Liska <mliska (a] suse.cz>
491
492 PR tree-optimization/92924
493 * libgcov-driver.c (prune_topn_counter): New.
494 (prune_counters): Likewise.
495 (dump_one_gcov): Prune a run-time counter.
496 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
497 For a known value, add GCOV_TOPN_VALUES to value.
498 Otherwise, decrement all counters by one.
499
500 2020-01-18 Hans-Peter Nilsson <hp (a] axis.com>
501
502 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
503
504 2020-01-18 John David Anglin <danglin (a] gcc.gnu.org>
505
506 PR libgcc/92988
507 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
508 DEFAULT_USE_CXA_ATEXIT is true.
509
510 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu (a] arm.com>
511 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
512
513 * config/arm/t-arm: Check return value of gcc rather than lack of
514 output.
515
516 2020-01-14 Georg-Johann Lay <avr (a] gjlay.de>
517
518 * config/avr/lib1funcs.S (skip): Simplify.
519
520 2020-01-10 Kwok Cheung Yeung <kcy (a] codesourcery.com>
521
522 * config/gcn/atomic.c: Remove include of stdint.h.
523 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
524 __UINTPTR_TYPE__.
525
526 2020-01-09 Kwok Cheung Yeung <kcy (a] codesourcery.com>
527
528 * config/gcn/atomic.c: New.
529 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
530
531 2020-01-08 Georg-Johann Lay <avr (a] gjlay.de>
532
533 Implement 64-bit double functions.
534
535 PR target/92055
536 * config.host (tmake_file) [target=avr]: Add t-libf7,
537 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
538 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
539 depending on sizeof (double) or sizeof (long double).
540 * config/avr/libf7: New folder.
541
542 2020-01-05 Olivier Hainque <hainque (a] adacore.com>
543
544 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
545 by IN_LIBGCC2.
546
547 2020-01-01 Jakub Jelinek <jakub (a] redhat.com>
548
549 Update copyright years.
550
551 2019-12-30 Olivier Hainque <hainque (a] adacore.com>
552
553 * config/gthr-vxworks.h: Use _vxworks-versions.h.
554 * config/gthr-vxworks-tls.c: Likewise.
555
556 2019-12-30 Olivier Hainque <hainque (a] adacore.com>
557
558 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
559 standard zero-initializer syntax.
560
561 2019-12-30 Olivier Hainque <hainque (a] adacore.com>
562
563 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
564 reference to the internal VX_GET_TLS_DATA interface.
565
566 2019-12-30 Olivier Hainque <hainque (a] adacore.com>
567
568 * config/vxcrtstuff.c: Fix incorrect spelling of
569 USE_INITFINI_ARRAY in guard.
570
571 2019-12-16 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
572
573 * config.host: s/msp430*-*-elf/msp430-*-elf*.
574 Override default "extra_parts" variable.
575 * configure: Regenerate.
576 * configure.ac: Disable TM clone registry by default for
577 msp430-elfbare.
578
579 2019-12-11 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
580
581 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
582 "extra_parts".
583 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
584
585 2019-12-11 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
586
587 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
588 true.
589
590 2019-12-09 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
591
592 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
593 defined instead of its value.
594
595 2019-12-09 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
596
597 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
598 if it will have contents.
599
600 2019-12-05 Georg-Johann Lay <avr (a] gjlay.de>
601
602 PR target/92055
603 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
604
605 2019-11-18 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
606
607 PR libgcc/91737
608 * config.host: Add t-gthr-noweak on *-*-musl*.
609 * config/t-gthr-noweak: New file.
610
611 2019-11-17 John David Anglin <danglin (a] gcc.gnu.org>
612
613 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
614 volatile void *. Remove trap check.
615 (__kernel_cmpxchg2): Likewise.
616 (FETCH_AND_OP_2): Adjust operand types.
617 (OP_AND_FETCH_2): Likewise.
618 (FETCH_AND_OP_WORD): Likewise.
619 (OP_AND_FETCH_WORD): Likewise.
620 (COMPARE_AND_SWAP_2): Likewise.
621 (__sync_val_compare_and_swap_4): Likewise.
622 (__sync_bool_compare_and_swap_4): Likewise.
623 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
624 (__sync_lock_test_and_set_4): Likewise.
625 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
626 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
627 for release.
628 (__sync_lock_release_8): Remove.
629
630 2019-11-15 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
631
632 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
633 of __sigset_t.
634
635 2019-11-14 Jerome Lambourg <lambourg (a] adacore.com>
636 Doug Rupp <rupp (a] adacore.com>
637 Olivier Hainque <hainque (a] adacore.com>
638
639 * config.host: Collapse the arm-vxworks entries into
640 a single arm-wrs-vxworks7* one.
641 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
642 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
643 kernel modules, to be overriden by libstdc++ when we link with
644 it. Rely on externally provided __exidx_start/end.
645
646 2019-11-14 Doug Rupp <rupp (a] adacore.com>
647 Olivier Hainque <hainque (a] adacore.com>
648
649 * config.host: Handle aarch64*-wrs-vxworks7*.
650
651 2019-11-12 Olivier Hainque <hainque (a] adacore.com>
652
653 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
654 sources except the cxx0x support to LIB2ADDEH. We don't support
655 cxx0x on AE/653.
656 * config/t-vxworksae: New file.
657 * config.host: Handle *-*-vxworksae: Add the two aforementioned
658 Makefile fragment files at their expected position in the tmake_file
659 list, in accordance with what is done for other VxWorks variants.
660
661 2019-11-12 Corentin Gay <gay (a] adacore.com>
662 Jerome Lambourg <lambourg (a] adacore.com>
663 Olivier Hainque <hainque (a] adacore.com>
664
665 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
666 sources to LIB2ADDEH.
667 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
668 * config/t-vxworks7: Likewise.
669
670 * config.host: Append a block at the end of the file to add the
671 t-gthr files to the tmake_file list for VxWorks after everything
672 else.
673
674 * config/vxlib.c: Rename as gthr-vxworks.c.
675 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
676
677 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
678 API and a basic error checking API, both internal. Simplify the
679 __gthread_once_t type definition and initializers. Add sections
680 for condition variables support and for the C++0x thread support,
681 conditioned against Vx653 for the latter.
682
683 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
684 implementation, leveraging the TAS internal API.
685 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
686 API, leveraging the general availability of TLS services in VxWorks7
687 post SR6xxx.
688 (__gthread_setspecific, __gthread_setspecific): Use it.
689 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
690 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
691 support based on VxWorks primitives.
692 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
693 based on VxWorks primitives.
694
695 2019-11-06 Jerome Lambourg <lambourg (a] adacore.com>
696 Olivier Hainque <hainque (a] adacore.com>
697
698 * config/vxcrtstuff.c: New file.
699 * config/t-vxcrtstuff: New Makefile fragment.
700 * config.host: Append t-vxcrtstuff to the tmake_file list
701 on all VxWorks ports using dwarf for table based EH.
702
703 2019-11-07 Georg-Johann Lay <avr (a] gjlay.de>
704
705 Support 64-bit double and 64-bit long double configurations.
706
707 PR target/92055
708 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
709 long double is a 32-bit type.
710 * config/avr/t-avrlibc: Copy double64 and long-double64
711 multilib(s) from the vanilla one.
712 * config/avr/t-copy-libgcc: New Makefile snip.
713
714 2019-11-04 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
715
716 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
717 the target output object format is not ELF.
718 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
719
720 2019-11-03 Oleg Endo <olegendo (a] gcc.gnu.org>
721
722 PR libgcc/78804
723 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
724 * fp-bit.c (pack_d, unpack_d): Remove special cases for
725 FLOAT_BIT_ORDER_MISMATCH.
726 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
727
728 2019-11-01 Jim Wilson <jimw (a] sifive.com>
729
730 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
731
732 2019-10-23 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
733
734 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
735 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
736 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
737 Define symbols for 32-bit and f5series hardware multiply
738 register addresses.
739 Replace hard-coded register addresses with symbols.
740 Fix "_mspabi*" typo.
741 Fix whitespace.
742 * config/msp430/lib2mul.c: Add comment.
743
744 2019-10-15 John David Anglin <danglin (a] gcc.gnu.org>
745
746 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
747 unsigned int. Adjust callers.
748 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
749 unsigned int *. Load relocation offset before function pointer.
750 Add barrier to ensure ordering.
751
752 2019-10-12 John David Anglin <danglin (a] gcc.gnu.org>
753
754 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
755 Load PIC register after branch target. Fix white space.
756 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
757 implementations. Load PIC register after branch target. Don't
758 clobber function pointer when it points to function descriptor.
759 Use nullification instead of branch in LINUX implementation.
760
761 2019-10-03 John David Anglin <danglin (a] gcc.gnu.org>
762
763 * config/pa/fptr.c: Disable -Warray-bounds warning.
764
765 2019-09-25 Richard Henderson <richard.henderson (a] linaro.org>
766
767 * config.in, configure: Re-rebuild with stock autoconf 2.69,
768 not the ubuntu modified 2.69.
769
770 PR target/91833
771 * config/aarch64/lse-init.c: Include auto-target.h. Disable
772 initialization if !HAVE_SYS_AUXV_H.
773 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
774 * config.in, configure: Rebuild.
775
776 PR target/91834
777 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
778 overlap the inputs.
779
780 2019-09-25 Shaokun Zhang <zhangshaokun (a] hisilicon.com>
781
782 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
783 CTR_EL0.IDC and CTR_EL0.DIC.
784
785 2019-09-20 Christophe Lyon <christophe.lyon (a] st.com>
786
787 Revert:
788 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
789 Mickal Gun <mickael.guene (a] st.com>
790
791 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
792 architecture.
793
794 2019-09-19 Richard Henderson <richard.henderson (a] linaro.org>
795
796 * config/aarch64/lse-init.c: New file.
797 * config/aarch64/lse.S: New file.
798 * config/aarch64/t-lse: New file.
799 * config.host: Add t-lse to all aarch64 tuples.
800
801 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
802 Mickal Gun <mickael.guene (a] st.com>
803
804 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
805 architecture.
806
807 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
808 Mickal Gun <mickael.guene (a] st.com>
809
810 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
811 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
812 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
813 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
814 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
815 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
816 (__gnu_personality_sigframe_fdpic): New.
817 (get_eit_entry): Add FDPIC signal frame support.
818
819 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
820 Mickal Gun <mickael.guene (a] st.com>
821
822 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
823 (__kernel_dmb): Likewise.
824 (__fdpic_cmpxchg): New function.
825 (__fdpic_dmb): New function.
826 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
827 (gnu_Unwind_Find_got): New function.
828 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
829 * unwind-arm-common.inc (UCB_PR_GOT): New.
830 (funcdesc_t): New struct.
831 (get_eit_entry): Add FDPIC support.
832 (unwind_phase2): Likewise.
833 (unwind_phase2_forced): Likewise.
834 (__gnu_Unwind_RaiseException): Likewise.
835 (__gnu_Unwind_Resume): Likewise.
836 (__gnu_Unwind_Backtrace): Likewise.
837 * unwind-pe.h (read_encoded_value_with_base): Likewise.
838
839 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
840 Mickal Gun <mickael.guene (a] st.com>
841
842 * libgcc/crtstuff.c: Add support for FDPIC.
843
844 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
845
846 * config.host: Handle *-*-uclinuxfdpiceabi.
847
848 2019-09-09 Jose E. Marchesi <jose.marchesi (a] oracle.com>
849
850 * config.host: Set cpu_type for bpf-*-* targets.
851 * config/bpf/t-bpf: Likewise.
852 * config/bpf/crtn.S: Likewise.
853 * config/bpf/crti.S: New file.
854
855 2019-09-06 Jim Wilson <jimw (a] sifive.com>
856
857 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
858 (riscv*-*-freebsd*): Likewise.
859
860 2019-09-03 Ulrich Weigand <uweigand (a] de.ibm.com>
861
862 * config.host: Remove references to spu.
863 * config/spu/: Remove directory.
864
865 2019-08-23 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
866
867 PR target/91306
868 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
869 element type, instead of "sizeof" the element type.
870 (__DTOR_LIST__): Likewise.
871 (__TMC_LIST__): Likewise.
872 (__do_global_dtors_aux_fini_array_entry): Likewise.
873 (__frame_dummy_init_array_entry): Likewise.
874 (__CTOR_END__): Likewise.
875 (__DTOR_END__): Likweise.
876 (__FRAME_END__): Likewise.
877 (__TMC_END__): Likewise.
878
879 2019-08-20 Lili Cui <lilicui (a] intel.com>
880
881 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
882 INTEL_COREI7_COOPERLAKE.
883
884 2019-07-31 Matt Thomas <matt (a] 3am-software.com>
885 Nick Hudson <nick (a] nthcliff.demon.co.uk>
886 Matthew Green <mrg (a] eterna.com.au>
887 Maya Rashish <coypu (a] sdf.org>
888
889 * config.host (hppa*-*-netbsd*): New case.
890 * config/pa/t-netbsd: New file.
891
892 2019-07-31 Joel Hutton <Joel.Hutton (a] arm.com>
893
894 * config/arm/cmse.c (cmse_check_address_range): Add
895 warn_unused_result attribute.
896
897 2019-07-22 Martin Liska <mliska (a] suse.cz>
898
899 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
900 * config/pa/t-stublib: Likewise.
901
902 2019-07-22 Stafford Horne <shorne (a] gmail.com>
903
904 PR target/90362
905 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
906 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
907 instructions are not available on every processor. Change a
908 l.bnf to l.bf to fix logic issue.
909
910 2019-07-04 Iain Sandoe <iain (a] sandoe.co.uk>
911
912 * config.host: Remove reference to t-darwin8.
913
914 2019-07-03 Iain Sandoe <iain (a] sandoe.co.uk>
915
916 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
917 list.
918 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
919 mmacosx-version-min for crts to run across all system versions.
920 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
921 * config/t-darwin: Revise mmacosx-version-min for crts to run across
922 system versions >= 10.4.
923
924 2019-07-03 Martin Liska <mliska (a] suse.cz>
925
926 * Makefile.in: Use topn_values instead of one_value names.
927 * libgcov-merge.c (__gcov_merge_single): Move to ...
928 (__gcov_merge_topn): ... this.
929 (merge_single_value_set): Move to ...
930 (merge_topn_values_set): ... this.
931 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
932 ...
933 (__gcov_topn_values_profiler_body): ... this.
934 (__gcov_one_value_profiler_v2): Move to ...
935 (__gcov_topn_values_profiler): ... this.
936 (__gcov_one_value_profiler_v2_atomic): Move to ...
937 (__gcov_topn_values_profiler_atomic): ... this.
938 (__gcov_indirect_call_profiler_v4): Remove.
939 * libgcov-util.c (__gcov_single_counter_op): Move to ...
940 (__gcov_topn_counter_op): ... this.
941 * libgcov.h (L_gcov_merge_single): Remove.
942 (L_gcov_merge_topn): New.
943 (__gcov_merge_single): Remove.
944 (__gcov_merge_topn): New.
945 (__gcov_one_value_profiler_v2): Move to ..
946 (__gcov_topn_values_profiler): ... this.
947 (__gcov_one_value_profiler_v2_atomic): Move to ...
948 (__gcov_topn_values_profiler_atomic): ... this.
949
950 2019-07-03 Martin Liska <mliska (a] suse.cz>
951
952 * libgcov-merge.c (merge_single_value_set): Support N values.
953 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
954
955 2019-06-27 Ilia Diachkov <ilia.diachkov (a] optimitech.com>
956
957 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
958 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
959 * configure.ac: Add --disable-tm-clone-registry option.
960 * configure: Regenerate.
961
962 2019-06-27 Martin Liska <mliska (a] suse.cz>
963
964 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
965 dead assignments.
966 * libgcov-util.c: Likewise.
967
968 2019-06-27 Martin Liska <mliska (a] suse.cz>
969
970 * libgcov-util.c (gcov_profile_merge): Release allocated
971 memory.
972 (calculate_overlap): Likewise.
973
974 2019-06-25 Iain Sandoe <iain (a] sandoe.co.uk>
975
976 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
977 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
978 Build objects for the out of line save/restore register functions
979 so that they can be used for any supported Darwin version.
980 * config/t-darwin: Default the build Darwin version to Darwin8
981 (MacOS 10.4).
982
983 2019-06-25 Martin Liska <mliska (a] suse.cz>
984
985 * libgcov-driver-system.c (replace_filename_variables): Do not
986 call strlen with NULL argument.
987
988 2019-06-25 Andrew Stubbs <ams (a] codesourcery.com>
989
990 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
991 * config/gcn/unwind-gcn.c: New file.
992
993 2019-06-25 Kwok Cheung Yeung <kcy (a] codesourcery.com>
994 Andrew Stubbs <ams (a] codesourcery.com>
995
996 * configure: Regenerate.
997 * config/gcn/gthr-gcn.h: New.
998
999 2019-06-18 Tom de Vries <tdevries (a] suse.de>
1000
1001 * config/nvptx/crt0.c (__main): Declare.
1002
1003 2019-06-17 Matthew Green <mrg (a] eterna.com.au>
1004 Maya Rashish <coypu (a] sdf.org>
1005
1006 * config.host (aarch64*-*-netbsd*): New case.
1007
1008 2019-06-16 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
1009
1010 * config/msp430/slli.S (__mspabi_sllll): New library function for
1011 performing a logical left shift of a 64-bit value.
1012 * config/msp430/srai.S (__mspabi_srall): New library function for
1013 performing a arithmetic right shift of a 64-bit value.
1014 * config/msp430/srll.S (__mspabi_srlll): New library function for
1015 performing a logical right shift of a 64-bit value.
1016
1017 2019-06-14 Matt Thomas <matt (a] 3am-software.com>
1018 Matthew Green <mrg (a] eterna.com.au>
1019 Nick Hudson <skrll (a] netbsd.org>
1020 Maya Rashish <coypu (a] sdf.org>
1021
1022 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1023 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1024 functions to build.
1025 * config/arm/t-netbsd-eabi: New file.
1026
1027 2019-06-12 Dimitar Dimitrov <dimitar (a] dinux.eu>
1028
1029 * config.host: Add PRU target.
1030 * config/pru/asri.c: New file.
1031 * config/pru/eqd.c: New file.
1032 * config/pru/eqf.c: New file.
1033 * config/pru/ged.c: New file.
1034 * config/pru/gef.c: New file.
1035 * config/pru/gtd.c: New file.
1036 * config/pru/gtf.c: New file.
1037 * config/pru/led.c: New file.
1038 * config/pru/lef.c: New file.
1039 * config/pru/lib2bitcountHI.c: New file.
1040 * config/pru/lib2divHI.c: New file.
1041 * config/pru/lib2divQI.c: New file.
1042 * config/pru/lib2divSI.c: New file.
1043 * config/pru/libgcc-eabi.ver: New file.
1044 * config/pru/ltd.c: New file.
1045 * config/pru/ltf.c: New file.
1046 * config/pru/mpyll.S: New file.
1047 * config/pru/pru-abi.h: New file.
1048 * config/pru/pru-asm.h: New file.
1049 * config/pru/pru-divmod.h: New file.
1050 * config/pru/sfp-machine.h: New file.
1051 * config/pru/t-pru: New file.
1052
1053 2019-06-11 Jakub Jelinek <jakub (a] redhat.com>
1054
1055 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1056
1057 2019-06-10 Martin Liska <mliska (a] suse.cz>
1058
1059 PR bootstrap/90808
1060 * libgcov.h: Add ATTRIBUTE_UNUSED.
1061
1062 2019-06-10 Martin Liska <mliska (a] suse.cz>
1063
1064 * Makefile.in: Add __gcov_one_value_profiler_v2,
1065 __gcov_one_value_profiler_v2_atomic and
1066 __gcov_indirect_call_profiler_v4.
1067 * libgcov-merge.c (__gcov_merge_single): Change
1068 function signature.
1069 (merge_single_value_set): New.
1070 * libgcov-profiler.c (__gcov_one_value_profiler_body):
1071 Update functionality.
1072 (__gcov_one_value_profiler): Remove.
1073 (__gcov_one_value_profiler_v2): ... this.
1074 (__gcov_one_value_profiler_atomic): Rename to ...
1075 (__gcov_one_value_profiler_v2_atomic): this.
1076 (__gcov_indirect_call_profiler_v3): Rename to ...
1077 (__gcov_indirect_call_profiler_v4): ... this.
1078 * libgcov.h (__gcov_one_value_profiler): Remove.
1079 (__gcov_one_value_profiler_atomic): Remove.
1080 (__gcov_one_value_profiler_v2_atomic): New.
1081 (__gcov_indirect_call_profiler_v3): Remove.
1082 (__gcov_one_value_profiler_v2): New.
1083 (__gcov_indirect_call_profiler_v4): New.
1084 (gcov_get_counter_ignore_scaling): New function.
1085
1086 2019-06-07 Martin Liska <mliska (a] suse.cz>
1087
1088 * Makefile.in: Remove usage of
1089 _gcov_merge_icall_topn.
1090 * libgcov-driver.c (gcov_sort_n_vals): Remove.
1091 (gcov_sort_icall_topn_counter): Likewise.
1092 (gcov_sort_topn_counter_arrays): Likewise.
1093 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1094 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1095 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1096 Likewise.
1097 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1098 (struct indirect_call_tuple): Remove.
1099 (__gcov_indirect_call_topn_profiler): Remove.
1100 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1101 * libgcov.h (gcov_sort_n_vals): Remove.
1102 (L_gcov_merge_icall_topn): Likewise.
1103 (__gcov_merge_icall_topn): Likewise.
1104 (__gcov_indirect_call_topn_profiler): Likewise.
1105
1106 2019-06-06 Iain Sandoe <iain (a] sandoe.co.uk>
1107
1108 * config/rs6000/t-darwin: Ensure that the unwinder is built with
1109 altivec enabled.
1110
1111 2019-06-06 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
1112
1113 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1114 section.
1115 (__mspabi_slli): Likewise.
1116 (__mspabi_slll_n): Likewise.
1117 (__mspabi_slll): Likewise.
1118 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1119 (__mspabi_srai): Likewise.
1120 (__mspabi_sral_n): Likewise.
1121 (__mspabi_sral): Likewise.
1122 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1123 (__mspabi_srli): Likewise.
1124 (__mspabi_srll_n): Likewise.
1125 (__mspabi_srll): Likewise.
1126
1127 2019-06-05 Yoshinori Sato <ysato (a] users.sourceforge.jp>
1128
1129 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1130 Add appropriate tm_file clause as well.
1131 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1132
1133 2019-06-05 James Clarke <jrtc27 (a] jrtc27.com>
1134
1135 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1136 rather than .data/.bss so it can be accessed via gp-relative
1137 addressing.
1138
1139 2019-06-05 David Edelsohn <dje.gcc (a] gmail.com>
1140
1141 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1142 (CR2_REGNO): Rename to R_CR2.
1143 (XER_REGNO): Rename to R_XER.
1144 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1145 (VRSAVE_REGNO): Rename to R_VRSAVE.
1146 (VSCR_REGNO): R_VSCR.
1147
1148 2019-05-29 Yoshinori Sato <ysato (a] users.sourceforge.jp>
1149
1150 * config.host (rx-*-linux*): Add new case.
1151 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1152
1153 2019-05-29 Sam Tebbs <sam.tebbs (a] arm.com>
1154
1155 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1156 function.
1157 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1158 aarch64_post_frob_eh_handler_addr): Add check for b-key.
1159 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1160 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1161 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1162 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1163 string.
1164 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1165 string.
1166 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1167
1168 2019-05-28 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1169
1170 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1171 Remove Solaris 9 and 10 support.
1172 (sparc_is_sighandler): Likewise.
1173
1174 2019-05-26 John David Anglin <danglin (a] gcc.gnu.org>
1175
1176 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1177
1178 2019-05-17 H.J. Lu <hongjiu.lu (a] intel.com>
1179
1180 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1181 4_FP_W_TYPEs are used for IEEE quad precision.
1182 * soft-fp/extendhftf2.c: Likewise.
1183 * soft-fp/extendsftf2.c: Likewise.
1184 * soft-fp/extendxftf2.c: Likewise.
1185 * soft-fp/trunctfdf2.c: Likewise.
1186 * soft-fp/trunctfhf2.c: Likewise.
1187 * soft-fp/trunctfsf2.c: Likewise.
1188 * soft-fp/trunctfxf2.c: Likewise.
1189 * config/rs6000/ibm-ldouble.c: Likewise.
1190
1191 2019-05-14 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1192
1193 * config.host: Simplify various *-*-solaris2.1[0-9]* to
1194 *-*-solaris2*.
1195 * configure.ac: Likewise.
1196 * configure: Regenerate.
1197
1198 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1199 Solaris 10 and Solaris 11 < snv_125 handling.
1200
1201 2019-05-12 Iain Sandoe <iain (a] sandoe.co.uk>
1202
1203 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1204
1205 2019-05-07 Hongtao Liu <hongtao.liu (a] intel.com>
1206
1207 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1208 * config/i386/cpuinfo.h (enum processor_features): Add
1209 FEATURE_AVX512BF16.
1210
1211 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan (a] arm.com>
1212 Bernd Edlinger <bernd.edlinger (a] hotmail.de>
1213 Jakub Jelinek <jakub (a] redhat.com>
1214
1215 PR target/89093
1216 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1217 * config/arm/unwind-arm.c: Likewise.
1218 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1219 attribute for ARM.
1220
1221 2019-04-15 Monk Chiang <sh.chiang04 (a] gmail.com>
1222
1223 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1224 (RT_SIGRETURN): Update.
1225 (nds32_fallback_frame_state): Update.
1226
1227 2019-02-21 Martin Sebor <msebor (a] redhat.com>
1228
1229 * libgcc2.h (__clear_cache): Correct signature.
1230 * libgcc2.c (__clear_cache): Same.
1231
1232 2019-02-20 Uro Bizjak <ubizjak (a] gmail.com>
1233
1234 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1235 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1236
1237 2019-02-19 Uro Bizjak <ubizjak (a] gmail.com>
1238
1239 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1240 regno instead of index to DWARF_ZERO_REG.
1241
1242 2019-02-15 Eric Botcazou <ebotcazou (a] adacore.com>
1243
1244 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1245 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1246
1247 2019-01-31 Uro Bizjak <ubizjak (a] gmail.com>
1248
1249 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1250 to HOST_LIBGCC2_CFLAGS.
1251
1252 2019-01-23 Joseph Myers <joseph (a] codesourcery.com>
1253
1254 PR libgcc/88931
1255 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
1256
1257 2019-01-18 Martin Liska <mliska (a] suse.cz>
1258
1259 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1260 to ...
1261 (__gcov_indirect_call_profiler_v3): ... this.
1262 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1263 (__gcov_indirect_call_profiler_v3): Likewise.
1264 * Makefile.in: Bump function name.
1265
1266 2019-01-18 Martin Liska <mliska (a] suse.cz>
1267
1268 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1269 (gcov_version): Use in gcov_error.
1270 (merge_one_data): Likewise.
1271 (dump_one_gcov): Likewise.
1272
1273 2019-01-18 Martin Liska <mliska (a] suse.cz>
1274
1275 * libgcov-driver.c (gcov_version_string): New function.
1276 (gcov_version): Convert version integer into string.
1277
1278 2019-01-17 Andrew Stubbs <ams (a] codesourcery.com>
1279 Kwok Cheung Yeung <kcy (a] codesourcery.com>
1280 Julian Brown <julian (a] codesourcery.com>
1281 Tom de Vries <tom (a] codesourcery.com>
1282
1283 * config.host: Recognize amdgcn*-*-amdhsa.
1284 * config/gcn/crt0.c: New file.
1285 * config/gcn/lib2-divmod-hi.c: New file.
1286 * config/gcn/lib2-divmod.c: New file.
1287 * config/gcn/lib2-gcn.h: New file.
1288 * config/gcn/sfp-machine.h: New file.
1289 * config/gcn/t-amdgcn: New file.
1290
1291 2019-01-09 Sandra Loosemore <sandra (a] codesourcery.com>
1292
1293 PR other/16615
1294
1295 * config/c6x/libunwind.S: Mechanically replace "can not" with
1296 "cannot".
1297 * config/tilepro/atomic.h: Likewise.
1298 * config/vxlib-tls.c: Likewise.
1299 * generic-morestack-thread.c: Likewise.
1300 * generic-morestack.c: Likewise.
1301 * mkmap-symver.awk: Likewise.
1302
1303 2019-01-01 Jakub Jelinek <jakub (a] redhat.com>
1304
1305 Update copyright years.
1306
1307 2018-12-20 H.J. Lu <hongjiu.lu (a] intel.com>
1308
1309 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1310 to ignore -Waddress-of-packed-member.
1311
1312 2018-12-19 Thomas Preud'homme <thomas.preudhomme (a] linaro.org>
1313
1314 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1315 parameter and corresponding code.
1316 (ARM_FUNC_START): Likewise in both definitions.
1317 Also update footer comment about condition that need to match with
1318 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1319 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1320 defined. Weakly define it in this case.
1321 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1322 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1323 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1324 comment to keep condition in sync with the one in
1325 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1326
1327 2018-12-18 Wei Xiao <wei3.xiao (a] intel.com>
1328
1329 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1330 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1331
1332 2018-12-12 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
1333
1334 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1335 and .cfi_endproc directives for VxWorks targets.
1336
1337 2018-12-05 Paul Koning <ni1d (a] arrl.net>
1338
1339 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1340
1341 2018-11-27 Alan Modra <amodra (a] gmail.com>
1342
1343 * config/rs6000/morestack.S (__stack_split_initialize),
1344 (__morestack_get_guard, __morestack_set_guard),
1345 (__morestack_make_guard): Provide CFI covering these functions.
1346 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1347
1348 2018-11-15 Xianmiao Qu <xianmiao_qu (a] c-sky.com>
1349
1350 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
1351 (sc_pt_regs_lr): Update for kernel.
1352 (sc_pt_regs_tls): Update for kernel.
1353
1354 2018-11-15 Xianmiao Qu <xianmiao_qu (a] c-sky.com>
1355
1356 * config/csky/linux-unwind.h: Fix coding style.
1357
1358 2018-11-13 Xianmiao Qu <xianmiao_qu (a] c-sky.com>
1359
1360 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1361 (csky_fallback_frame_state): Modify the check of the
1362 instructions to adapt to changes in the kernel
1363
1364 2018-11-09 Stafford Horne <shorne (a] gmail.com>
1365 Richard Henderson <rth (a] twiddle.net>
1366
1367 * config.host: Add OpenRISC support.
1368 * config/or1k/*: New.
1369
1370 2018-11-08 Kito Cheng <kito (a] andestech.com>
1371
1372 * soft-fp/adddf3.c: Update from glibc.
1373 * soft-fp/addsf3.c: Likewise.
1374 * soft-fp/addtf3.c: Likewise.
1375 * soft-fp/divdf3.c: Likewise.
1376 * soft-fp/divsf3.c: Likewise.
1377 * soft-fp/divtf3.c: Likewise.
1378 * soft-fp/double.h: Likewise.
1379 * soft-fp/eqdf2.c: Likewise.
1380 * soft-fp/eqsf2.c: Likewise.
1381 * soft-fp/eqtf2.c: Likewise.
1382 * soft-fp/extenddftf2.c: Likewise.
1383 * soft-fp/extended.h: Likewise.
1384 * soft-fp/extendhftf2.c: Likewise.
1385 * soft-fp/extendsfdf2.c: Likewise.
1386 * soft-fp/extendsftf2.c: Likewise.
1387 * soft-fp/extendxftf2.c: Likewise.
1388 * soft-fp/fixdfdi.c: Likewise.
1389 * soft-fp/fixdfsi.c: Likewise.
1390 * soft-fp/fixdfti.c: Likewise.
1391 * soft-fp/fixhfti.c: Likewise.
1392 * soft-fp/fixsfdi.c: Likewise.
1393 * soft-fp/fixsfsi.c: Likewise.
1394 * soft-fp/fixsfti.c: Likewise.
1395 * soft-fp/fixtfdi.c: Likewise.
1396 * soft-fp/fixtfsi.c: Likewise.
1397 * soft-fp/fixtfti.c: Likewise.
1398 * soft-fp/fixunsdfdi.c: Likewise.
1399 * soft-fp/fixunsdfsi.c: Likewise.
1400 * soft-fp/fixunsdfti.c: Likewise.
1401 * soft-fp/fixunshfti.c: Likewise.
1402 * soft-fp/fixunssfdi.c: Likewise.
1403 * soft-fp/fixunssfsi.c: Likewise.
1404 * soft-fp/fixunssfti.c: Likewise.
1405 * soft-fp/fixunstfdi.c: Likewise.
1406 * soft-fp/fixunstfsi.c: Likewise.
1407 * soft-fp/fixunstfti.c: Likewise.
1408 * soft-fp/floatdidf.c: Likewise.
1409 * soft-fp/floatdisf.c: Likewise.
1410 * soft-fp/floatditf.c: Likewise.
1411 * soft-fp/floatsidf.c: Likewise.
1412 * soft-fp/floatsisf.c: Likewise.
1413 * soft-fp/floatsitf.c: Likewise.
1414 * soft-fp/floattidf.c: Likewise.
1415 * soft-fp/floattihf.c: Likewise.
1416 * soft-fp/floattisf.c: Likewise.
1417 * soft-fp/floattitf.c: Likewise.
1418 * soft-fp/floatundidf.c: Likewise.
1419 * soft-fp/floatundisf.c: Likewise.
1420 * soft-fp/floatunditf.c: Likewise.
1421 * soft-fp/floatunsidf.c: Likewise.
1422 * soft-fp/floatunsisf.c: Likewise.
1423 * soft-fp/floatunsitf.c: Likewise.
1424 * soft-fp/floatuntidf.c: Likewise.
1425 * soft-fp/floatuntihf.c: Likewise.
1426 * soft-fp/floatuntisf.c: Likewise.
1427 * soft-fp/floatuntitf.c: Likewise.
1428 * soft-fp/gedf2.c: Likewise.
1429 * soft-fp/gesf2.c: Likewise.
1430 * soft-fp/getf2.c: Likewise.
1431 * soft-fp/half.h: Likewise.
1432 * soft-fp/ledf2.c: Likewise.
1433 * soft-fp/lesf2.c: Likewise.
1434 * soft-fp/letf2.c: Likewise.
1435 * soft-fp/muldf3.c: Likewise.
1436 * soft-fp/mulsf3.c: Likewise.
1437 * soft-fp/multf3.c: Likewise.
1438 * soft-fp/negdf2.c: Likewise.
1439 * soft-fp/negsf2.c: Likewise.
1440 * soft-fp/negtf2.c: Likewise.
1441 * soft-fp/op-1.h: Likewise.
1442 * soft-fp/op-2.h: Likewise.
1443 * soft-fp/op-4.h: Likewise.
1444 * soft-fp/op-8.h: Likewise.
1445 * soft-fp/op-common.h: Likewise.
1446 * soft-fp/quad.h: Likewise.
1447 * soft-fp/single.h: Likewise.
1448 * soft-fp/soft-fp.h: Likewise.
1449 * soft-fp/subdf3.c: Likewise.
1450 * soft-fp/subsf3.c: Likewise.
1451 * soft-fp/subtf3.c: Likewise.
1452 * soft-fp/truncdfsf2.c: Likewise.
1453 * soft-fp/trunctfdf2.c: Likewise.
1454 * soft-fp/trunctfhf2.c: Likewise.
1455 * soft-fp/trunctfsf2.c: Likewise.
1456 * soft-fp/trunctfxf2.c: Likewise.
1457 * soft-fp/unorddf2.c: Likewise.
1458 * soft-fp/unordsf2.c: Likewise.
1459 * soft-fp/unordtf2.c: Likewise.
1460
1461 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar (a] amd.com>
1462
1463 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1464 * config/i386/cpuinfo.h (processor_types): Add znver2.
1465
1466 2018-11-01 Paul Koning <ni1d (a] arrl.net>
1467
1468 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1469 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1470
1471 2018-10-31 Joseph Myers <joseph (a] codesourcery.com>
1472
1473 PR bootstrap/82856
1474 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1475 * configure: Regenerate.
1476
1477 2018-10-31 Claudiu Zissulescu <claziss (a] synopsys.com>
1478
1479 * config/arc/lib1funcs.S (_muldi3): New function.
1480 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1481
1482 2018-10-30 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
1483
1484 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1485
1486 2018-10-25 Martin Liska <mliska (a] suse.cz>
1487
1488 PR other/87735
1489 * libgcov-profiler.c: Revert.
1490
1491 2018-10-24 Martin Liska <mliska (a] suse.cz>
1492
1493 * libgcov-profiler.c: Start from 1 in order to distinguish
1494 functions which were seen and these that were not.
1495
1496 2018-10-18 Paul Koning <ni1d (a] arrl.net>
1497
1498 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1499 standard.
1500 * divmod.c: Update references to __udivmodsi4.
1501 * udivmod.c: Ditto.
1502 * udivhi3.c: New file.
1503 * udivmodhi4.c: New file.
1504 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1505
1506 2018-10-17 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
1507
1508 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1509
1510 2018-10-12 Olivier Hainque <hainque (a] adacore.com>
1511
1512 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1513 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1514
1515 2018-10-08 Paul Koning <ni1d (a] arrl.net>
1516
1517 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1518
1519 2018-10-04 Martin Liska <mliska (a] suse.cz>
1520
1521 PR gcov-profile/84107
1522 * libgcov-profiler.c (__gcov_indirect_call):
1523 Change type to indirect_call_tuple.
1524 (struct indirect_call_tuple): New struct.
1525 (__gcov_indirect_call_topn_profiler): Change type.
1526 (__gcov_indirect_call_profiler_v2): Use the new
1527 variables.
1528 * libgcov.h (struct indirect_call_tuple): New struct
1529 definition.
1530
1531 2018-10-03 Uros Bizjak <ubizjak (a] gmail.com>
1532
1533 * libgcc2.c (isnan): Use __builtin_isnan.
1534 (isfinite): Use __builtin_isfinite.
1535 (isinf): Use __builtin_isinf.
1536
1537 2018-09-26 Uros Bizjak <ubizjak (a] gmail.com>
1538
1539 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1540
1541 2018-09-21 Alexandre Oliva <oliva (a] adacore.com>
1542
1543 * config/vxcache.c: New file. Provide __clear_cache, based on
1544 the cacheTextUpdate VxWorks service.
1545 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1546 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1547 * config/t-vxwoks7: Likewise.
1548
1549 2018-09-21 Martin Liska <mliska (a] suse.cz>
1550
1551 * libgcov-driver.c (crc32_unsigned): Remove.
1552 (gcov_histogram_insert): Likewise.
1553 (gcov_compute_histogram): Likewise.
1554 (compute_summary): Simplify rapidly.
1555 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1556 (merge_summary): Rapidly simplify.
1557 (dump_one_gcov): Ignore gcov_summary.
1558 (gcov_do_dump): Do not handle program summary, it's not
1559 used.
1560 * libgcov-util.c (tag_summary): Remove.
1561 (read_gcda_finalize): Fix coding style.
1562 (read_gcda_file): Initialize curr_object_summary.
1563 (compute_summary): Remove.
1564 (calculate_overlap): Remove settings of run_max.
1565
1566 2018-09-21 Monk Chiang <sh.chiang04 (a] gmail.com>
1567
1568 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1569 ucontext_t type instead.
1570 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1571
1572 2018-09-21 Kito Cheng <kito.cheng (a] gmail.com>
1573
1574 * config/nds32/t-nds32-glibc: New file.
1575
1576 2018-09-18 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1577
1578 * configure.ac (solaris_ld_v2_maps): New test.
1579 * configure: Regenerate.
1580 * Makefile.in (solaris_ld_v2_maps): New variable.
1581 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1582 if supported.
1583
1584 2018-08-23 Richard Earnshaw <rearnsha (a] arm.com>
1585
1586 PR target/86951
1587 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1588 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1589 to build.
1590
1591 2018-08-22 Iain Sandoe <iain (a] sandoe.co.uk>
1592
1593 * config/unwind-dw2-fde-darwin.c
1594 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1595 * config/darwin10-unwind-find-enc-func.c: to here.
1596 * config/t-darwin: Build Darwin10 unwinder shim crt.
1597 * libgcc/config.host: Add the Darwin10 unwinder shim.
1598
1599 2018-08-21 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
1600
1601 * config.host: Add crtbegin.o and crtend.o for
1602 powerpc-wrs-vxworks target.
1603
1604 2018-08-17 Jojo <jijie_rong (a] c-sky.com>
1605 Huibin Wang <huibin_wang (a] c-sky.com>
1606 Sandra Loosemore <sandra (a] codesourcery.com>
1607 Chung-Lin Tang <cltang (a] codesourcery.com>
1608
1609 C-SKY port: libgcc
1610
1611 * config.host: Add C-SKY support.
1612 * config/csky/*: New.
1613
1614 2018-08-12 Chung-Ju Wu <jasonwucj (a] gmail.com>
1615
1616 * config/nds32/t-nds32-isr: Rearrange object dependency.
1617 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1618 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1619 and registers usage.
1620 * config/nds32/isr-library/excp_isr.S: Ditto.
1621 * config/nds32/isr-library/intr_isr.S: Ditto.
1622 * config/nds32/isr-library/reset.S: Ditto.
1623 * config/nds32/isr-library/restore_all.inc: Ditto.
1624 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1625 * config/nds32/isr-library/restore_partial.inc: Ditto.
1626 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1627 * config/nds32/isr-library/save_all.inc: Ditto.
1628 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1629 * config/nds32/isr-library/save_partial.inc: Ditto.
1630 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1631 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1632
1633 2018-08-11 John David Anglin <danglin (a] gcc.gnu.org>
1634
1635 * config/pa/linux-atomic.c: Update comment.
1636 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1637 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1638 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1639 __ATOMIC_RELAXED for atomic loads.
1640 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1641 unordered store to release lock.
1642 (__sync_lock_release_8): Likewise.
1643 (SYNC_LOCK_RELEASE_2): Remove define.
1644
1645 2018-08-02 Nicolas Pitre <nico (a] fluxnic.net>
1646
1647 PR libgcc/86512
1648 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1649 exponent goes negative. Update my email address.
1650 * config/arm/ieee754-sf.S: Likewise.
1651
1652 2018-08-01 Martin Liska <mliska (a] suse.cz>
1653
1654 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
1655 check that __gcov_indirect_call_callee is non-null.
1656
1657 2018-07-30 Christophe Lyon <christophe.lyon (a] linaro.org>
1658
1659 * config/arm/ieee754-df.S: Fix comment for code working on
1660 architectures >= 4.
1661 * config/arm/ieee754-sf.S: Likewise.
1662
1663 2018-07-27 H.J. Lu <hongjiu.lu (a] intel.com>
1664
1665 PR libgcc/85334
1666 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1667 Removed.
1668
1669 2018-07-05 James Clarke <jrtc27 (a] jrtc27.com>
1670
1671 * configure: Regenerated.
1672
1673 2018-06-27 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1674
1675 * Makefile.in (install_leaf): Use enable_gcov instead of
1676 enable_libgcov.
1677
1678 2018-06-27 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
1679
1680 * configure.ac: Add --disable-gcov option.
1681 * configure: Regenerate.
1682 * Makefile.in: Honour @enable_gcov@.
1683
1684 2018-06-21 Christophe Lyon <christophe.lyon (a] linaro.org>
1685
1686 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1687 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1688 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1689 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1690 __ARM_ARCH__.
1691 * config/arm/ieee754-sf.S: Likewise.
1692 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1693
1694 2018-06-21 Christophe Lyon <christophe.lyon (a] linaro.org>
1695
1696 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1697 longer supported.
1698 * config/arm/ieee754-sf.S: Likewise.
1699
1700 2018-06-20 Than McIntosh <thanm (a] google.com>
1701
1702 PR libgcc/86213
1703 * generic-morestack.c (allocate_segment): Move calls to getenv and
1704 getpagesize to __morestack_load_mmap.
1705 (__morestack_load_mmap) Initialize static_pagesize and
1706 use_guard_page here so as to avoid clobbering SSE regs during a
1707 __morestack call.
1708
1709 2018-06-18 Michael Meissner <meissner (a] linux.ibm.com>
1710
1711 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1712 support modules with -mno-gnu-attribute.
1713 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1714
1715 2018-06-07 Olivier Hainque <hainque (a] adacore.com>
1716
1717 * config/t-vxworks (LIBGCC_INCLUDES): Add
1718 -I$(MULTIBUILDTOP)../../gcc/include.
1719 * config/t-vxworks7: Likewise. Reformat a bit to match
1720 the t-vxworks layout.
1721
1722 2018-06-07 Olga Makhotina <olga.makhotina (a] intel.com>
1723
1724 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1725
1726 2018-06-07 Martin Liska <mliska (a] suse.cz>
1727
1728 * libgcov-driver.c: Rename cs_all to all and assign it from
1729 all_prg.
1730
1731 2018-06-07 Martin Liska <mliska (a] suse.cz>
1732
1733 PR bootstrap/86057
1734 * libgcov-driver-system.c (replace_filename_variables): Use
1735 memcpy instead of mempcpy.
1736 (allocate_filename_struct): Do not allocate filename, allocate
1737 prefix and set it.
1738 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
1739 here and properly copy content into it.
1740 * libgcov-driver.c (struct gcov_filename): Remove max_length
1741 field, change prefix from size_t into char *.
1742 (compute_summary): Do not calculate longest filename.
1743 (gcov_do_dump): Release memory of gf.filename after each file.
1744 * libgcov-util.c (compute_summary): Use new signature of
1745 compute_summary.
1746 (calculate_overlap): Likewise.
1747
1748 2018-06-05 Martin Liska <mliska (a] suse.cz>
1749
1750 PR gcov-profile/47618
1751 * libgcov-driver-system.c (replace_filename_variables): New
1752 function.
1753 (gcov_exit_open_gcda_file): Use it.
1754
1755 2018-06-05 Martin Liska <mliska (a] suse.cz>
1756
1757 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1758 of gcov_ctr_summary.
1759 (compute_summary): Do it just for a single summary.
1760 (merge_one_data): Likewise.
1761 (merge_summary): Simplify as we read just single summary.
1762 (dump_one_gcov): Pass proper argument.
1763 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1764 single summary.
1765 (gcov_info_count_all_cold): Likewise.
1766 (calculate_overlap): Likewise.
1767
1768 2018-06-02 Chung-Ju Wu <jasonwucj (a] gmail.com>
1769 Monk Chiang <sh.chiang04 (a] gmail.com>
1770
1771 * config.host (nds32*-linux*): New.
1772 * config/nds32/linux-atomic.c: New file.
1773 * config/nds32/linux-unwind.h: New file.
1774
1775 2018-05-31 Uros Bizjak <ubizjak (a] gmail.com>
1776
1777 PR target/85591
1778 * config/i386/cpuinfo.c (get_amd_cpu): Return
1779 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1780
1781 2018-05-30 Rasmus Villemoes <rasmus.villemoes (a] prevas.dk>
1782
1783 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
1784
1785 2018-05-29 Martin Liska <mliska (a] suse.cz>
1786
1787 PR gcov-profile/85759
1788 * libgcov-driver-system.c (gcov_error): Introduce usage of
1789 GCOV_EXIT_AT_ERROR env. variable.
1790 * libgcov-driver.c (merge_one_data): Print error that we
1791 overwrite a gcov file with a different timestamp.
1792
1793 2018-05-23 Kalamatee <kalamatee (a] gmail.com>
1794
1795 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1796 path to Lf$finfty.
1797
1798 2018-05-18 Kito Cheng <kito.cheng (a] gmail.com>
1799 Monk Chiang <sh.chiang04 (a] gmail.com>
1800 Jim Wilson <jimw (a] sifive.com>
1801
1802 * config/riscv/save-restore.S: Add support for rv32e.
1803
1804 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov (a] arm.com>
1805
1806 * config/arm/libunwind.S: Update comment relating to armv5.
1807
1808 2018-05-17 Jerome Lambourg <lambourg (a] adacore.com>
1809
1810 * config/arm/cmse.c (cmse_check_address_range): Replace
1811 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1812
1813 2018-05-17 Olga Makhotina <olga.makhotina (a] intel.com>
1814
1815 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1816 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1817
1818 2018-05-08 Olga Makhotina <olga.makhotina (a] intel.com>
1819
1820 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1821 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1822
1823 2018-05-07 Amaan Cheval <amaan.cheval (a] gmail.com>
1824
1825 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1826
1827 2018-04-27 Andreas Tobler <andreast (a] gcc.gnu.org>
1828 Maryse Levavasseur <maryse.levavasseur (a] stormshield.eu>
1829
1830 PR libgcc/84292
1831 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1832 op_and_fetch to return the right result.
1833
1834 2018-04-27 Alan Modra <amodra (a] gmail.com>
1835
1836 PR libgcc/85532
1837 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1838 -fno-asynchronous-unwind-tables.
1839
1840 2018-04-25 Chung-Ju Wu <jasonwucj (a] gmail.com>
1841
1842 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1843 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1844
1845 2018-04-24 H.J. Lu <hongjiu.lu (a] intel.com>
1846
1847 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1848 when including "config/i386/shadow-stack-unwind.h".
1849
1850 2018-04-24 H.J. Lu <hongjiu.lu (a] intel.com>
1851
1852 * configure: Regenerated.
1853
1854 2018-04-20 Michael Meissner <meissner (a] linux.ibm.com>
1855
1856 PR target/85456
1857 * config/rs6000/_powikf2.c: New file. Add support for the
1858 __builtin_powil function when long double is IEEE 128-bit floating
1859 point.
1860 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1861 __powikf2 support.
1862 (__powikf2): Likewise.
1863 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1864 (__powikf2_hw): Likewise.
1865 (__powikf2): Likewise.
1866 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1867 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1868 (_powikf2-hw.c): Likewise.
1869
1870 2018-04-19 H.J. Lu <hongjiu.lu (a] intel.com>
1871
1872 PR libgcc/85334
1873 * unwind-generic.h (_Unwind_Frames_Increment): New.
1874 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1875 Likewise.
1876 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1877 count with _Unwind_Frames_Increment.
1878 (_Unwind_ForcedUnwind_Phase2): Likewise.
1879
1880 2018-04-19 H.J. Lu <hongjiu.lu (a] intel.com>
1881
1882 PR libgcc/85379
1883 * config/i386/morestack.S (__stack_split_initialize): Add
1884 _CET_ENDBR.
1885
1886 2018-04-19 Jakub Jelinek <jakub (a] redhat.com>
1887
1888 * configure: Regenerated.
1889
1890 2018-04-18 David Malcolm <dmalcolm (a] redhat.com>
1891
1892 PR jit/85384
1893 * configure: Regenerate.
1894
1895 2018-04-16 Jakub Jelinek <jakub (a] redhat.com>
1896
1897 PR target/84945
1898 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1899 -Wdangling-else warnings. Mask shift counts to avoid
1900 -Wshift-count-negative and -Wshift-count-overflow false positives.
1901
1902 2018-04-06 Ruslan Bukin <br (a] bsdpad.com>
1903
1904 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1905
1906 2018-03-29 H.J. Lu <hongjiu.lu (a] intel.com>
1907
1908 PR target/85100
1909 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1910 (XSTATE_FP): Likewise.
1911 (XSTATE_SSE): Likewise.
1912 (XSTATE_YMM): Likewise.
1913 (XSTATE_OPMASK): Likewise.
1914 (XSTATE_ZMM): Likewise.
1915 (XSTATE_HI_ZMM): Likewise.
1916 (XCR_AVX_ENABLED_MASK): Likewise.
1917 (XCR_AVX512F_ENABLED_MASK): Likewise.
1918 (get_available_features): Enable AVX and AVX512 features only
1919 if their states are supported by OSXSAVE.
1920
1921 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
1922
1923 PR target/85025
1924 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1925 Fix a typo, tmp => 255.
1926
1927 2018-03-20 Jakub Jelinek <jakub (a] redhat.com>
1928
1929 PR target/84945
1930 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1931 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1932 ifndef SHARED only.
1933 (set_feature): Define.
1934 (get_available_features): Use set_feature macro. Set __cpu_features2
1935 to the second word of features ifndef SHARED.
1936
1937 2018-03-15 Julia Koval <julia.koval (a] intel.com>
1938
1939 * config/i386/cpuinfo.c (get_available_features): Add
1940 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1941 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1942 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1943 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1944 FEATURE_AVX512BITALG.
1945
1946 2018-03-14 Julia Koval <julia.koval (a] intel.com>
1947
1948 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1949 icelake client and icelake server.
1950
1951 2018-03-06 John David Anglin <danglin (a] gcc.gnu.org>
1952
1953 * config/pa/fptr.c (_dl_read_access_allowed): New.
1954 (__canonicalize_funcptr_for_compare): Use it.
1955
1956 2018-02-28 Jakub Jelinek <jakub (a] redhat.com>
1957
1958 PR debug/83917
1959 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1960 $asm_hidden_op if visibility ("hidden") attribute works.
1961 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1962 * config/i386/i386-asm.h: Don't include auto-host.h.
1963 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1964 PACKAGE_URL): Don't undefine.
1965 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1966 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1967 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1968 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1969 definition instead of hardcoded .hidden.
1970 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1971 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1972 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1973 (USE_GAS_CFI_DIRECTIVES): Don't define.
1974 * configure: Regenerated.
1975 * config.in: Likewise.
1976
1977 2018-02-26 Jakub Jelinek <jakub (a] redhat.com>
1978
1979 PR debug/83917
1980 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1981 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1982 inclusion of auto-target.h and auto-host.h.
1983 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1984 __GCC_HAVE_DWARF2_CFI_ASM.
1985 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1986 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1987 cfi_pop): Define.
1988 * config/i386/cygwin.S: Don't include auto-host.h here, just
1989 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1990 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1991 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1992 * config/i386/resms64fx.h: Add cfi_* directives.
1993 * config/i386/resms64x.h: Likewise.
1994
1995 2018-02-20 Max Filippov <jcmvbkbc (a] gmail.com>
1996
1997 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1998 .literal_position directive.
1999 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2000
2001 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
2002
2003 PR target/84148
2004 * configure: Regenerate.
2005
2006 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
2007
2008 PR target/84239
2009 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2010 Include cetintrin.h not x86intrin.h.
2011
2012 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
2013
2014 PR target/84239
2015 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2016 Use new _get_ssp and _inc_ssp intrinsics.
2017
2018 2018-02-02 Julia Koval <julia.koval (a] intel.com>
2019
2020 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2021
2022 2018-01-26 Claudiu Zissulescu <claziss (a] synopsys.com>
2023
2024 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2025 option.
2026 (__divsi3): Use RF16 safe registers.
2027 (__modsi3): Likewise.
2028
2029 2018-01-23 Max Filippov <jcmvbkbc (a] gmail.com>
2030
2031 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2032 (__divsf3): Make NaN return value quiet.
2033 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2034 (__divdf3): Make NaN return value quiet.
2035
2036 2018-01-22 Sebastian Perta <sebastian.perta (a] renesas.com>
2037
2038 * config/rl78/anddi3.S: New assembly file.
2039 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2040
2041 2018-01-22 Sebastian Perta <sebastian.perta (a] renesas.com>
2042
2043 * config/rl78/umindi3.S: New assembly file.
2044 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2045
2046 2018-01-22 Sebastian Perta <sebastian.perta (a] renesas.com>
2047
2048 * config/rl78/smindi3.S: New assembly file.
2049 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2050
2051 2018-01-22 Sebastian Perta <sebastian.perta (a] renesas.com>
2052
2053 * config/rl78/smaxdi3.S: New assembly file.
2054 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2055
2056 2018-01-22 Sebastian Perta <sebastian.perta (a] renesas.com>
2057
2058 * config/rl78/umaxdi3.S: New assembly file.
2059 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
2060
2061 2018-01-21 John David Anglin <danglin (a] gcc.gnu.org>
2062
2063 PR lto/83452
2064 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2065 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2066
2067 2018-01-13 Richard Sandiford <richard.sandiford (a] linaro.org>
2068
2069 * config/aarch64/value-unwind.h (aarch64_vg): New function.
2070 (DWARF_LAZY_REGISTER_VALUE): Define.
2071 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2072 to provide a fallback register value.
2073
2074 2018-01-08 Michael Meissner <meissner (a] linux.vnet.ibm.com>
2075
2076 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2077 __ibm128, instead of trying to use long double.
2078 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2079 accomidate -mabi=ieeelongdouble multilibs.
2080 (CVT_IBM128_TO_FLOAT128): Likewise.
2081 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2082 the appropriate IBM extended double type.
2083 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2084 (__gcc_qsub): Likewise.
2085 (__gcc_qmul): Likewise.
2086 (__gcc_qdiv): Likewise.
2087 (pack_ldouble): Likewise.
2088 (__gcc_qneg): Likewise.
2089 (__gcc_qeq): Likewise.
2090 (__gcc_qne): Likewise.
2091 (__gcc_qge): Likewise.
2092 (__gcc_qle): Likewise.
2093 (__gcc_stoq): Likewise.
2094 (__gcc_dtoq): Likewise.
2095 (__gcc_itoq): Likewise.
2096 (__gcc_utoq): Likewise.
2097 (__gcc_qunord): Likewise.
2098 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2099 quad-float128.h for the definitions.
2100 (COPYSIGN): Use the f128 version instead of the q version.
2101 (INFINITY): Likewise.
2102 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2103 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2104 quad-float128.h for the definitions.
2105 (COPYSIGN): Use the f128 version instead of the q version.
2106 (INFINITY): Likewise.
2107 (FABS): Likewise.
2108 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2109 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2110 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2111
2112 2018-01-05 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
2113
2114 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2115 configuration.
2116
2117 2018-01-03 Jakub Jelinek <jakub (a] redhat.com>
2118
2119 Update copyright years.
2120
2121 2017-12-12 Kito Cheng <kito.cheng (a] gmail.com>
2122
2123 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2124 * config/riscv/multi3.c: New file.
2125 * config/riscv/multi3.S: Remove.
2126
2127 2017-12-08 Jim Wilson <jimw (a] sifive.com>
2128
2129 * config/riscv/div.S: Use FUNC_* macros.
2130 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2131 * config/riscv/save-restore.S: Likewise.
2132 * config/riscv/riscv-asm.h: New.
2133
2134 2017-11-30 Michael Meissner <meissner (a] linux.vnet.ibm.com>
2135
2136 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2137 * config/rs6000/_divkc3.c (__divkc3): Likewise.
2138
2139 PR libgcc/83112
2140 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2141 correct type for all ifunc resolvers to silence -Wattribute-alias
2142 warnings. Eliminate the forward declaration of the resolver
2143 functions which is no longer needed.
2144 (__subkf3_resolve): Likewise.
2145 (__mulkf3_resolve): Likewise.
2146 (__divkf3_resolve): Likewise.
2147 (__negkf2_resolve): Likewise.
2148 (__eqkf2_resolve): Likewise.
2149 (__nekf2_resolve): Likewise.
2150 (__gekf2_resolve): Likewise.
2151 (__gtkf2_resolve): Likewise.
2152 (__lekf2_resolve): Likewise.
2153 (__ltkf2_resolve): Likewise.
2154 (__unordkf2_resolve): Likewise.
2155 (__extendsfkf2_resolve): Likewise.
2156 (__extenddfkf2_resolve): Likewise.
2157 (__trunckfsf2_resolve): Likewise.
2158 (__trunckfdf2_resolve): Likewise.
2159 (__fixkfsi_resolve): Likewise.
2160 (__fixkfdi_resolve): Likewise.
2161 (__fixunskfsi_resolve): Likewise.
2162 (__fixunskfdi_resolve): Likewise.
2163 (__floatsikf_resolve): Likewise.
2164 (__floatdikf_resolve): Likewise.
2165 (__floatunsikf_resolve): Likewise.
2166 (__floatundikf_resolve): Likewise.
2167 (__extendkftf2_resolve): Likewise.
2168 (__trunctfkf2_resolve): Likewise.
2169
2170 PR libgcc/83103
2171 * config/rs6000/quad-float128.h (TF): Don't define if long double
2172 is IEEE 128-bit floating point.
2173 (TCtype): Define as either TCmode or KCmode, depending on whether
2174 long double is IEEE 128-bit floating point.
2175 (__mulkc3_sw): Add declarations for software/hardware versions of
2176 complex multiply/divide.
2177 (__divkc3_sw): Likewise.
2178 (__mulkc3_hw): Likewise.
2179 (__divkc3_hw): Likewise.
2180 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2181 handlers to switch between using software emulation and hardware
2182 float128 instructions, build the complex multiply/divide functions
2183 for both software and hardware support.
2184 * config/rs6000/_divkc3.c (_divkc3): Likewise.
2185 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2186 (__divkc3_resolve): Likewise.
2187 (__mulkc3): Likewise.
2188 (__divkc3): Likewise.
2189 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2190 (fp128_hw_src): Likewise.
2191 (fp128_hw_static_obj): Likewise.
2192 (fp128_hw_shared_obj): Likewise.
2193 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2194 _mulkc3.c and _divkc3.c, changing the function name.
2195 (_divkc3-hw.c): Likewise.
2196 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2197 and _divkc3-hw.c.
2198
2199 2017-11-26 Julia Koval <julia.koval (a] intel.com>
2200
2201 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2202 * config/i386/cpuinfo.h (processor_subtypes): Add
2203 INTEL_COREI7_CANNONLAKE.
2204
2205 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
2206
2207 PR bootstrap/83015
2208 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2209 parameter.
2210 * config/xtensa/unwind-dw2-xtensa.c: Likewise
2211 * config/ia64/unwind-ia64.c: Add frames parameter.
2212 * unwind-sjlj.c: Likewise.
2213
2214 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
2215
2216 * config/i386/linux-unwind.h: Include
2217 config/i386/shadow-stack-unwind.h.
2218 * config/i386/shadow-stack-unwind.h: New file.
2219 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2220 pass it to _Unwind_Frames_Extra.
2221 * unwind-generic.h (_Unwind_Frames_Extra): New.
2222 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2223 parameter. Add local variable frames to count number of frames.
2224 (_Unwind_ForcedUnwind_Phase2): Likewise.
2225 (_Unwind_RaiseException): Add local variable frames to count
2226 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2227 uw_install_context.
2228 (_Unwind_ForcedUnwind): Likewise.
2229 (_Unwind_Resume): Likewise.
2230 (_Unwind_Resume_or_Rethrow): Likewise.
2231
2232 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
2233
2234 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2235 (CET_FLAGS): New.
2236 * config/i386/morestack.S: Include <cet.h>.
2237 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2238 * config/i386/resms64.h: Include <cet.h>.
2239 * config/i386/resms64f.h: Likewise.
2240 * config/i386/resms64fx.h: Likewise.
2241 * config/i386/resms64x.h: Likewise.
2242 * config/i386/savms64.h: Likewise.
2243 * config/i386/savms64f.h: Likewise.
2244 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2245 (CRTSTUFF_T_CFLAGS): Likewise.
2246 * configure.ac: Include ../config/cet.m4.
2247 Set and substitute CET_FLAGS.
2248 * configure: Regenerated.
2249
2250 2017-11-14 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
2251
2252 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2253 renaming.
2254 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2255 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2256 * configure: Regenerate.
2257
2258 2017-11-07 Tom de Vries <tom (a] codesourcery.com>
2259
2260 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2261 after "do {} while (0)".
2262
2263 2017-11-07 Tom de Vries <tom (a] codesourcery.com>
2264
2265 PR other/82784
2266 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2267 semicolon after "do {} while (0)".
2268 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2269 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2270 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2271 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2272
2273 2017-11-04 Andreas Tobler <andreast (a] gcc.gnu.org>
2274
2275 PR libgcc/82635
2276 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2277 sysctl to determine whether we're in a trampoline.
2278 Keep the pattern matching method for systems without
2279 KERN_PROC_SIGTRAMP sysctl.
2280
2281 2017-11-03 Cupertino Miranda <cmiranda (a] synopsys.com>
2282 Vineet Gupta <vgupta (a] synopsys.com>
2283
2284 * config.host (arc*-*-linux*): Set md_unwind_header variable.
2285 * config/arc/linux-unwind-reg.def: New file.
2286 * config/arc/linux-unwind-reg.h: Likewise.
2287
2288 2017-10-23 Sebastian Perta <sebastian.perta (a] renesas.com>
2289
2290 * config/rl78/subdi3.S: New assembly file.
2291 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2292
2293 2017-10-13 Sebastian Perta <sebastian.perta (a] renesas.com>
2294
2295 * config/rl78/adddi3.S: New assembly file.
2296 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2297
2298 2017-10-13 Jakub Jelinek <jakub (a] redhat.com>
2299
2300 PR target/82274
2301 * libgcc2.c (__mulvDI3): If both operands have
2302 the same highpart of -1 and the topmost bit of lowpart is 0,
2303 multiplication overflows even if both lowparts are 0.
2304
2305 2017-09-28 James Bowman <james.bowman (a] ftdichip.com>
2306
2307 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2308
2309 2017-09-26 Joseph Myers <joseph (a] codesourcery.com>
2310
2311 * config/microblaze/crti.S, config/microblaze/crtn.S,
2312 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2313 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2314 config/microblaze/mulsi3.S,
2315 config/microblaze/stack_overflow_exit.S,
2316 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2317 config/pa/milli64.S: Add .note.GNU-stack section.
2318
2319 2017-09-23 Daniel Santos <daniel.santos (a] pobox.com>
2320
2321 * configure.ac: Add Check for HAVE_AS_AVX.
2322 * config.in: Regenerate.
2323 * configure: Likewise.
2324 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2325 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2326 Correct out-of-date comments.
2327
2328 2017-09-20 Sebastian Peryt <sebastian.peryt (a] intel.com>
2329
2330 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2331 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2332
2333 2017-09-17 Daniel Santos <daniel.santos (a] pobox.com>
2334
2335 * config/i386/i386-asm.h (PASTE2): New macro.
2336 (ASMNAME): Modify to use PASTE2.
2337 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2338 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
2339 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
2340 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
2341 * config/i386/resms64f.S: Likewise.
2342 * config/i386/resms64fx.S: Likewise.
2343 * config/i386/resms64x.S: Likewise.
2344 * config/i386/savms64.S: Likewise.
2345 * config/i386/savms64f.S: Likewise.
2346 * config/i386/avx_resms64.S: New file that only defines a macro and
2347 includes it's corresponding header file.
2348 * config/i386/avx_resms64f.S: Likewise.
2349 * config/i386/avx_resms64fx.S: Likewise.
2350 * config/i386/avx_resms64x.S: Likewise.
2351 * config/i386/avx_savms64.S: Likewise.
2352 * config/i386/avx_savms64f.S: Likewise.
2353 * config/i386/sse_resms64.S: Likewise.
2354 * config/i386/sse_resms64f.S: Likewise.
2355 * config/i386/sse_resms64fx.S: Likewise.
2356 * config/i386/sse_resms64x.S: Likewise.
2357 * config/i386/sse_savms64.S: Likewise.
2358 * config/i386/sse_savms64f.S: Likewise.
2359 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
2360
2361 2017-09-01 Olivier Hainque <hainque (a] adacore.com>
2362 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2363
2364 2017-08-31 Olivier Hainque <hainque (a] adacore.com>
2365
2366 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2367 match as powerpc-wrs-vxworks*.
2368
2369 2017-08-07 Jonathan Yong <10walls (a] gmail.com>
2370
2371 * config.host (*-cygwin): Include file from mingw
2372 config/i386/enable-execute-stack-mingw32.c
2373
2374 2017-08-01 Jerome Lambourg <lambourg (a] adacore.com>
2375 Doug Rupp <rupp (a] adacore.com>
2376 Olivier Hainque <hainque (a] adacore.com>
2377
2378 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2379 as well as arm-wrs-vxworks.
2380 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
2381 LIB2ADDEH.
2382 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2383 __exidx_start and __exidx_end for downloadable modules.
2384
2385 2017-08-01 Olivier Hainque <hainque (a] adacore.com>
2386
2387 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2388 * config/t-vxworks7: Likewise.
2389
2390 2017-08-01 Olivier Hainque <hainque (a] adacore.com>
2391
2392 * config/t-vxworks: Instead of redefining LIB2ADD,
2393 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2394
2395 2017-07-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
2396
2397 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2398
2399 2017-07-24 Daniel Santos <daniel.santos (a] pobox.com>
2400
2401 PR testsuite/80759
2402 * config.host: include i386/t-msabi for darwin and solaris.
2403 * config/i386/i386-asm.h
2404 (ELFFN): Rename to FN_TYPE.
2405 (FN_SIZE): New macro.
2406 (FN_HIDDEN): Likewise.
2407 (ASMNAME): Likewise.
2408 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2409 .globl.
2410 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2411 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2412 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2413 .macro.
2414 * config/i386/resms64f.S: Likewise.
2415 * config/i386/resms64fx.S: Likewise.
2416 * config/i386/resms64x.S: Likewise.
2417 * config/i386/savms64.S: Likewise.
2418 * config/i386/savms64f.S: Likewise.
2419
2420 2017-07-19 John Marino <gnugcc (a] marino.st>
2421
2422 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2423
2424 2017-07-12 Michael Meissner <meissner (a] linux.vnet.ibm.com>
2425
2426 PR target/81193
2427 * configure.ac (PowerPC float128 hardware support): Test whether
2428 we can use __builtin_cpu_supports before enabling the ifunc
2429 handler.
2430 * configure: Regenerate.
2431
2432 2017-07-10 Vineet Gupta <vgupta (a] synopsys.com>
2433
2434 * config.host: Remove uclibc from arc target spec.
2435
2436 2017-07-09 Krister Walfridsson <krister.walfridsson (a] gmail.com>
2437
2438 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2439
2440 2017-07-07 Peter Bergner <bergner (a] vnet.ibm.com>
2441
2442 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2443 (have_ieee_hw_p): Delete function.
2444 (SW_OR_HW) Use __builtin_cpu_supports().
2445
2446 2017-07-06 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
2447
2448 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2449
2450 2017-07-03 Olivier Hainque <hainque (a] adacore.com>
2451
2452 * config/t-vxworks7: New file, really.
2453
2454 2017-06-28 Joseph Myers <joseph (a] codesourcery.com>
2455
2456 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2457 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2458 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2459 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2460 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2461 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2462 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2463 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2464 config/sh/linux-unwind.h (sh_fallback_frame_state),
2465 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2466 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2467 ucontext_t instead of struct ucontext.
2468
2469 2017-06-27 Jerome Lambourg <lambourg (a] adacore.com>
2470
2471 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2472 (x86_64-wrs-vxworks7): Likewise.
2473
2474 2017-06-27 Olivier Hainque <hainque (a] adacore.com>
2475
2476 * config/t-vxworks7: New file.
2477 * config.host (*-*-vxworks7): Use it.
2478
2479 2017-06-22 Matt Turner <mattst88 (a] gmail.com>
2480
2481 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2482 skylake case.
2483
2484 2017-06-21 Richard Biener <rguenther (a] suse.de>
2485
2486 PR gcov-profile/81080
2487 * configure.ac: Add AC_SYS_LARGEFILE.
2488 * libgcov.h: Include auto-target.h before tsystem.h to pick
2489 up _FILE_OFFSET_BITS which might differ for multilibs.
2490 * config.in: Regenerate.
2491 * configure: Likewise.
2492
2493 2017-06-16 Richard Earnshaw <rearnsha (a] arm.com>
2494
2495 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2496
2497 2017-06-09 Martin Liska <mliska (a] suse.cz>
2498
2499 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2500 Reset __gcov_indirect_call_callee to NULL.
2501
2502 2017-06-08 Olivier Hainque <hainque (a] adacore.com>
2503
2504 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2505 the set of -I options, support for direct inclusions of net/uio.h
2506 by VxWorks header files via ioLib.h.
2507
2508 2017-06-07 Tony Reix <tony.reix (a] atos.net>
2509 Matthieu Sarter <matthieu.sarter.external (a] atos.net>
2510 David Edelsohn <dje.gcc (a] gmail.com>
2511
2512 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2513 unconditionally.
2514 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2515 AIX 7.2 support.
2516
2517 2017-06-02 Olivier Hainque <hainque (a] adacore.com>
2518
2519 * config/vxlib.c (__gthread_once): Add missing value to
2520 return statement.
2521
2522 2017-05-30 Olivier Hainque <hainque (a] adacore.com>
2523
2524 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2525 dollar sign before $(MULTIDIR).
2526
2527 2017-05-26 Richard Henderson <rth (a] redhat.com>
2528
2529 PR libgcc/80037
2530 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2531
2532 2017-05-17 Andreas Tobler <andreast (a] gcc.gnu.org>
2533
2534 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2535 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2536 * config/arm/unwind-arm.c: Implement the above.
2537
2538 2017-05-15 Adhemerval Zanella <adhemerval.zanella (a] linaro.org>
2539
2540 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2541 section for a non-executable stack.
2542
2543 2017-05-14 Krister Walfridsson <krister.walfridsson (a] gmail.com>
2544
2545 PR target/80600
2546 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2547
2548 2017-05-14 Daniel Santos <daniel.santos (a] pobox.com>
2549
2550 * config.host: Add i386/t-msabi to i386/t-linux file list.
2551 * config/i386/i386-asm.h: New file.
2552 * config/i386/resms64.S: New file.
2553 * config/i386/resms64f.S: New file.
2554 * config/i386/resms64fx.S: New file.
2555 * config/i386/resms64x.S: New file.
2556 * config/i386/savms64.S: New file.
2557 * config/i386/savms64f.S: New file.
2558 * config/i386/t-msabi: New file.
2559
2560 2017-05-09 Andreas Tobler <andreast (a] gcc.gnu.org>
2561
2562 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2563 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2564
2565 2017-05-05 Joshua Conner <joshconner (a] google.com>
2566
2567 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2568 pc-relative indirect handling for fuchsia.
2569 * config/t-slibgcc-fuchsia: New file.
2570 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
2571 x86_64-*-fuchsia*): Add definitions.
2572
2573 2017-04-19 Martin Liska <mliska (a] suse.cz>
2574
2575 PR gcov-profile/80435
2576 * Makefile.in: Install gcov.h.
2577 * gcov.h: New file.
2578 * libgcov.h: Use the header and make __gcov_flush publicly
2579 visible.
2580
2581 2017-04-18 Martin Liska <mliska (a] suse.cz>
2582
2583 PR gcov-profile/78783
2584 * libgcov-driver.c (gcov_get_filename): New function.
2585
2586 2017-04-07 Jeff Law <law (a] redhat.com>
2587
2588 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2589 target makefile fragment.
2590 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2591
2592 2017-04-07 Alan Modra <amodra (a] gmail.com>
2593
2594 PR target/45053
2595 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2596
2597 2017-04-03 Jonathan Wakely <jwakely (a] redhat.com>
2598
2599 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2600
2601 2017-03-27 Claudiu Zissulescu <claziss (a] synopsys.com>
2602
2603 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2604
2605 2017-03-10 John Marino <gnugcc (a] marino.st>
2606
2607 * config/aarch64/freebsd-unwind.h: New file.
2608 * config.host: Add aarch64-*-freebsd unwinder.
2609
2610 2017-03-10 Segher Boessenkool <segher (a] kernel.crashing.org>
2611
2612 * config/rs6000/crtrestvr.s: Use .machine altivec.
2613 * config/rs6000/crtsavevr.s: Ditto.
2614
2615 2017-03-10 Segher Boessenkool <segher (a] kernel.crashing.org>
2616
2617 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2618 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2619 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2620 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2621 * configure: Regenerate.
2622 * config.in: Regenerate.
2623
2624 2017-03-02 Jonathan Yong <10walls (a] gmail.com>
2625
2626 * config/i386/gthr-win32.h: Define NOGDI before
2627 windows.h include to prevent w32api CC_NONE macro
2628 clash with libgfortran.
2629
2630 2017-03-02 Jonathan Yong <10walls (a] gmail.com>
2631
2632 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2633
2634 2017-02-16 Andrew Pinski <apinski (a] cavium.com>
2635
2636 * config/aarch64/value-unwind.h: New file.
2637 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2638 to tm_file.
2639
2640 2017-02-06 Palmer Dabbelt <palmer (a] dabbelt.com>
2641
2642 * config.host: Add RISC-V tuples.
2643 * config/riscv/atomic.c: New file.
2644 * config/riscv/crti.S: Likewise.
2645 * config/riscv/crtn.S: Likewise.
2646 * config/riscv/div.S: Likewise.
2647 * config/riscv/linux-unwind.h: Likewise.
2648 * config/riscv/muldi3.S: Likewise.
2649 * config/riscv/multi3.S: Likewise.
2650 * config/riscv/save-restore.S: Likewise.
2651 * config/riscv/sfp-machine.h: Likewise.
2652 * config/riscv/t-elf: Likewise.
2653 * config/riscv/t-elf32: Likewise.
2654 * config/riscv/t-elf64: Likewise.
2655 * config/riscv/t-softfp32: Likewise.
2656 * config/riscv/t-softfp64: Likewise.
2657
2658 2017-01-24 Jakub Jelinek <jakub (a] redhat.com>
2659
2660 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2661 /* FALLTHRU */ comments.
2662
2663 2017-01-21 Gerald Pfeifer <gerald (a] pfeifer.com>
2664
2665 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2666
2667 2017-01-20 Jiong Wang <jiong.wang (a] arm.com>
2668
2669 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2670 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2671 DW_CFA_GNU_window_save for AArch64 and LP64.
2672
2673 2017-01-20 Jiong Wang <jiong.wang (a] arm.com>
2674
2675 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2676
2677 2017-01-19 Jiong Wang <jiong.wang (a] arm.com>
2678
2679 * config/aarch64/aarch64-unwind.h: New file.
2680 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2681 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2682 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2683 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2684 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2685 (aarch64_post_extract_frame_addr): New function.
2686 (aarch64_post_frob_eh_handler_addr): New function.
2687 (aarch64_frob_update_context): New function.
2688 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2689 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2690 aarch64*-*-freebsd*):
2691 Initialize md_unwind_header to include aarch64-unwind.h.
2692 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2693 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2694 __aarch64__.
2695 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2696 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2697 (uw_frob_return_addr): New function.
2698 (uw_install_context): Use uw_frob_return_addr.
2699
2700 2017-01-17 Jakub Jelinek <jakub (a] redhat.com>
2701
2702 PR other/79046
2703 * configure.ac: Add GCC_BASE_VER.
2704 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2705 version from BASE-VER file.
2706 * configure: Regenerated.
2707
2708 2017-01-13 Joe Seymour <joe.s (a] somniumtech.com>
2709
2710 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2711 libmul_f5.a): Filter archived prerequisites.
2712
2713 2017-01-10 Andrew Senkevich <andrew.senkevich (a] intel.com>
2714
2715 * config/i386/cpuinfo.h (processor_features): Add
2716 FEATURE_AVX512VPOPCNTDQ.
2717 * config/i386/cpuinfo.c (get_available_features): Habdle new
2718 feature.
2719
2720 2017-01-04 Joseph Myers <joseph (a] codesourcery.com>
2721
2722 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2723 payload if [__mips_nan2008].
2724
2725 2017-01-04 Alan Modra <amodra (a] gmail.com>
2726
2727 * Makefile.in (configure_deps): Update.
2728 * configure: Regenerate.
2729
2730 2017-01-01 Jakub Jelinek <jakub (a] redhat.com>
2731
2732 Update copyright years.
2733
2734 2016-12-19 Krister Walfridsson <krister.walfridsson (a] gmail.com>
2735
2736 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2737 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2738 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2739
2740 2016-12-17 Matthias Klose <doko (a] ubuntu.com>
2741
2742 * config/arc/gmon: Remove empty directory.
2743
2744 2016-12-16 Claudiu Zissulescu <claziss (a] synopsys.com>
2745
2746 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2747 crtgend.
2748 (arc*-*-elf*): Likewise.
2749 * config/arc/t-arc: Remove old gmon lib targets.
2750 * config/arc/crtg.S: Remove.
2751 * config/arc/crtgend.S: Likewise.
2752 * config/arc/gmon/atomic.h: Likewise.
2753 * config/arc/gmon/auxreg.h: Likewise.
2754 * config/arc/gmon/dcache_linesz.S: Likewise.
2755 * config/arc/gmon/gmon.c: Likewise.
2756 * config/arc/gmon/machine-gmon.h: Likewise.
2757 * config/arc/gmon/mcount.c: Likewise.
2758 * config/arc/gmon/prof-freq-stub.S: Likewise.
2759 * config/arc/gmon/prof-freq.c: Likewise.
2760 * config/arc/gmon/profil.S: Likewise.
2761 * config/arc/gmon/sys/gmon.h: Likewise.
2762 * config/arc/gmon/sys/gmon_out.h: Likewise.
2763 * config/arc/t-arc-newlib: Likewise.
2764 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2765
2766 2016-12-12 George Spelvin <linux (a] sciencehorizons.net>
2767
2768 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2769
2770 2016-12-12 George Spelvin <linux (a] sciencehorizons.net>
2771
2772 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2773 R16 instead of push + pop.
2774 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2775
2776 2016-12-10 Krister Walfridsson <krister.walfridsson (a] gmail.com>
2777
2778 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2779 tmake_file.
2780
2781 2016-12-05 Cupertino Miranda <cmiranda (a] synopsys.com>
2782
2783 * config.host (arc*-*-linux-uclibc*): Use default extra
2784 objects. Include linux-android header.
2785 * config/arc/crti.S (_init): Declare symbol as function.
2786 (_fini): Likewise.
2787
2788 2016-12-03 Thomas Koenig <tkoenig (a] gcc.gnu.org>
2789
2790 PR fortran/78379
2791 * config/i386/cpuinfo.c: Move denums for processor vendors,
2792 processor type, processor subtypes and declaration of
2793 struct __processor_model into
2794 * config/i386/cpuinfo.h: New header file.
2795
2796 2016-12-02 Andre Vieira <andre.simoesdiasvieira (a] arm.com>
2797 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
2798
2799 * config/arm/cmse_nonsecure_call.S: New.
2800 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2801
2802 2016-12-02 Andre Vieira <andre.simoesdiasvieira (a] arm.com>
2803 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
2804
2805 * config/arm/t-arm (HAVE_CMSE): New.
2806 * config/arm/cmse.c: New.
2807
2808 2016-11-28 Thomas Petazzoni <thomas.petazzoni (a] free-electrons.com>
2809
2810 PR gcc/74748
2811 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2812 use generic linker version information on Blackfin.
2813
2814 PR gcc/74748
2815 * libgcc/mkmap-symver.awk: add support for skip_underscore
2816
2817 2016-11-27 Iain Sandoe <iain (a] codesourcery.com>
2818 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
2819
2820 PR target/67710
2821 * config/t-darwin: Default builds to 10.5 codegen.
2822
2823 2016-11-24 James Greenhalgh <james.greenhalgh (a] arm.com>
2824
2825 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2826 (_FP_NANSIGN_H): Likewise.
2827 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2828 (softfp_truncations): Add tfhf.
2829 (softfp_extras): Add required conversion functions.
2830
2831 2016-11-23 James Greenhalgh <james.greenhalgh (a] arm.com>
2832 Matthew Wahab <matthew.wahab (a] arm.com>
2833
2834 * config/arm/fp16.c (binary64): New.
2835 (__gnu_d2h_internal): New.
2836 (__gnu_d2h_ieee): New.
2837 (__gnu_d2h_alternative): New.
2838
2839 2016-11-23 James Greenhalgh <james.greenhalgh (a] arm.com>
2840 Matthew Wahab <matthew.wahab (a] arm.com>
2841
2842 * config/arm/fp16.c (struct format): New.
2843 (binary32): New.
2844 (__gnu_float2h_internal): New. Body moved from
2845 __gnu_f2h_internal and generalize.
2846 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2847 Call it with binary32.
2848
2849 2016-11-23 James Greenhalgh <james.greenhalgh (a] arm.com>
2850
2851 * soft-fp/extendhftf2.c: Update from glibc.
2852 * soft-fp/fixhfti.c: Likewise.
2853 * soft-fp/fixunshfti.c: Likewise.
2854 * soft-fp/floattihf.c: Likewise.
2855 * soft-fp/floatuntihf.c: Likewise.
2856 * soft-fp/half.h: Likewise.
2857 * soft-fp/trunctfhf2.c: Likewise.
2858
2859 2016-11-20 Marc Glisse <marc.glisse (a] inria.fr>
2860
2861 PR libgcc/77813
2862 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2863 __TMC_END__ behind a passthrough asm.
2864
2865 2016-11-18 Walter Lee <walt (a] tilera.com>
2866
2867 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2868
2869 2016-11-17 Andrew Senkevich <andrew.senkevich (a] intel.com>
2870
2871 * config/i386/cpuinfo.c (processor_features): Add
2872 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2873
2874 2016-11-17 Claudiu Zissulescu <claziss (a] synopsys.com>
2875
2876 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2877 (__ARC_NORM__): Use instead ARC_OPTFPE.
2878 * config/arc/fp-hack.h: Likewise.
2879 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2880 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2881
2882 2016-11-16 Alexander Monakov <amonakov (a] ispras.ru>
2883
2884 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2885 * config/nvptx/mgomp.c: New file.
2886 * config/nvptx/t-nvptx: Add mgomp.c
2887
2888 2016-11-16 Waldemar Brodkorb <wbx (a] openadk.org>
2889
2890 PR libgcc/68468
2891 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2892
2893 2016-11-15 Claudiu Zissulescu <claziss (a] synopsys.com>
2894
2895 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2896 of checking for cpus.
2897 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2898 (__modsi3, __clzsi2): Likewise.
2899
2900 2016-11-11 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
2901
2902 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2903 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2904 * config/i386/t-cpuinfo-static: New.
2905
2906 2016-11-03 Martin Liska <mliska (a] suse.cz>
2907
2908 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2909 (__gcov_time_profiler_atomic): Likewise.
2910
2911 2016-11-03 Bernd Edlinger <bernd.edlinger (a] hotmail.de>
2912
2913 PR libgcc/78067
2914 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2915 count_leading_zeros.
2916
2917 2016-11-02 Uros Bizjak <ubizjak (a] gmail.com>
2918
2919 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2920 * libgcc2.c (__divmoddi4): New function.
2921 * libgcc2.h (__divmoddi4): Declare.
2922 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2923 and __PFX_divmodti4.
2924
2925 2016-10-24 Florian Weimer <fweimer (a] redhat.com>
2926
2927 PR libgcc/78064
2928 * unwind-c.c: Include auto-target.h.
2929
2930 2016-10-19 John David Anglin <danglin (a] gcc.gnu.org>
2931
2932 * config/pa/pa64-hpux-lib.h: New file.
2933 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2934 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2935 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2936 hppa*64*-*-hpux11*.
2937
2938 2016-10-18 Max Filippov <jcmvbkbc (a] gmail.com>
2939
2940 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2941 definition.
2942 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2943 definition.
2944 * config/xtensa/t-windowed (LIB2ADDEH): Use
2945 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2946 or xtensa/t-linux.
2947
2948 2016-10-18 Ding-Kai Chen <dkchen (a] cadence.com>
2949
2950 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2951 __ieee754_sqrt): New functions.
2952 (__divdf3): Add implementation with new FPU instructions under
2953 #if XCHAL_HAVE_DFP_DIV.
2954 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2955 __ieee754_sqrtf): New functions.
2956 (__divsf3): Add implementation with new FPU instructions under
2957 #if XCHAL_HAVE_FP_DIV.
2958 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2959 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2960
2961 2016-10-13 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
2962
2963 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2964 equivalent.
2965 * config/tilepro/atomic.c: Likewise and stop casting model to
2966 enum memmodel.
2967
2968 2016-10-10 Joseph Myers <joseph (a] codesourcery.com>
2969
2970 PR target/77586
2971 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2972 soft-fp.
2973
2974 2016-10-10 Andreas Tobler <andreast (a] gcc.gnu.org>
2975
2976 * config.host: Add support for aarch64-*-freebsd*.
2977
2978 2016-10-05 Andreas Schwab <schwab (a] suse.de>
2979
2980 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2981 (.section .init_array): Don't call __do_jv_register_classes.
2982 (.section .init): Likewise.
2983
2984 2016-10-04 Jakub Jelinek <jakub (a] redhat.com>
2985
2986 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2987 (__JCR_LIST__): Remove.
2988 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2989 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2990 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2991 * config/ia64/crtend.S (__JCR_END__): Remove.
2992 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2993 conditionals.
2994 (__JCR_LIST__, __JCR_END__): Remove.
2995 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2996 (__do_global_ctors_1): Likewise.
2997
2998 2015-09-28 Uros Bizjak <ubizjak (a] gmail.com>
2999
3000 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3001 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3002
3003 2016-09-27 Martin Liska <mliska (a] suse.cz>
3004
3005 PR gcov-profile/7970
3006 PR gcov-profile/16855
3007 PR gcov-profile/44779
3008 * libgcov-driver.c (__gcov_init): Do not register a atexit
3009 handler.
3010 (__gcov_exit): Rename from gcov_exit.
3011 * libgcov.h (__gcov_exit): Declare.
3012
3013 2016-09-27 Martin Liska <mliska (a] suse.cz>
3014
3015 PR bootstrap/77749
3016 * Makefile.in: Remove _gcov_merge_delta.
3017 * libgcov-merge.c (void __gcov_merge_delta): Remove.
3018 * libgcov-util.c (__gcov_delta_counter_op): Remove.
3019 * libgcov.h: Remove declaration of __gcov_merge_delta.
3020
3021 2016-09-21 Eric Botcazou <ebotcazou (a] adacore.com>
3022
3023 * configure.ac: Do not create links, only substitute the filenames.
3024 * configure: Regenerate.
3025 * Makefile.in: Assign the substitution results to variables.
3026 (LIBGCC_LINKS): Define.
3027 (enable-execute-stack.c): New rule.
3028 (unwind.h): Likewise.
3029 (md-unwind-support.h): Likewise.
3030 (sfp-machine.h): Likewise.
3031 (gthr-default.h): Likewise.
3032 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3033 unwind.h as prerequisite of install-unwind_h-forbuild.
3034
3035 2016-09-16 Jakub Jelinek <jakub (a] redhat.com>
3036
3037 PR libgcc/71744
3038 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3039 is not the primary registry and atomics are available.
3040 (any_objects_registered): New variable.
3041 (__register_frame_info_bases, __register_frame_info_table_bases):
3042 Atomically store 1 to any_objects_registered after registering first
3043 unwind info.
3044 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3045
3046 2016-09-09 James Greenhalgh <james.greenhalgh (a] arm.com>
3047
3048 PR target/63250
3049 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3050 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3051 (HFtype): Likewise.
3052 (HCtype): Likewise.
3053 (__divhc3): Likewise.
3054 (__mulhc3): Likewise.
3055 * libgcc2.c: Support _mulhc3 and _divhc3.
3056
3057 2016-09-07 Joseph Myers <joseph (a] codesourcery.com>
3058
3059 PR libgcc/77519
3060 * libgcc2.c (NOTRUNC): Invert settings.
3061
3062 2016-09-06 Martin Liska <mliska (a] suse.cz>
3063
3064 PR gcov-profile/77378
3065 PR gcov-profile/77466
3066 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3067 conditionaly enable/disable *_atomic functions.
3068
3069 2016-08-26 Joseph Myers <joseph (a] codesourcery.com>
3070
3071 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3072 where not already enabled.
3073
3074 2016-08-25 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
3075
3076 * config/mips/linux-unwind.h: Use sys/syscall.h.
3077
3078 2016-08-16 Joseph Myers <joseph (a] codesourcery.com>
3079
3080 PR libgcc/77265
3081 * soft-fp/adddf3.c: Update from glibc.
3082 * soft-fp/addsf3.c: Likewise.
3083 * soft-fp/addtf3.c: Likewise.
3084 * soft-fp/divdf3.c: Likewise.
3085 * soft-fp/divsf3.c: Likewise.
3086 * soft-fp/divtf3.c: Likewise.
3087 * soft-fp/double.h: Likewise.
3088 * soft-fp/eqdf2.c: Likewise.
3089 * soft-fp/eqsf2.c: Likewise.
3090 * soft-fp/eqtf2.c: Likewise.
3091 * soft-fp/extenddftf2.c: Likewise.
3092 * soft-fp/extended.h: Likewise.
3093 * soft-fp/extendsfdf2.c: Likewise.
3094 * soft-fp/extendsftf2.c: Likewise.
3095 * soft-fp/extendxftf2.c: Likewise.
3096 * soft-fp/fixdfdi.c: Likewise.
3097 * soft-fp/fixdfsi.c: Likewise.
3098 * soft-fp/fixdfti.c: Likewise.
3099 * soft-fp/fixsfdi.c: Likewise.
3100 * soft-fp/fixsfsi.c: Likewise.
3101 * soft-fp/fixsfti.c: Likewise.
3102 * soft-fp/fixtfdi.c: Likewise.
3103 * soft-fp/fixtfsi.c: Likewise.
3104 * soft-fp/fixtfti.c: Likewise.
3105 * soft-fp/fixunsdfdi.c: Likewise.
3106 * soft-fp/fixunsdfsi.c: Likewise.
3107 * soft-fp/fixunsdfti.c: Likewise.
3108 * soft-fp/fixunssfdi.c: Likewise.
3109 * soft-fp/fixunssfsi.c: Likewise.
3110 * soft-fp/fixunssfti.c: Likewise.
3111 * soft-fp/fixunstfdi.c: Likewise.
3112 * soft-fp/fixunstfsi.c: Likewise.
3113 * soft-fp/fixunstfti.c: Likewise.
3114 * soft-fp/floatdidf.c: Likewise.
3115 * soft-fp/floatdisf.c: Likewise.
3116 * soft-fp/floatditf.c: Likewise.
3117 * soft-fp/floatsidf.c: Likewise.
3118 * soft-fp/floatsisf.c: Likewise.
3119 * soft-fp/floatsitf.c: Likewise.
3120 * soft-fp/floattidf.c: Likewise.
3121 * soft-fp/floattisf.c: Likewise.
3122 * soft-fp/floattitf.c: Likewise.
3123 * soft-fp/floatundidf.c: Likewise.
3124 * soft-fp/floatundisf.c: Likewise.
3125 * soft-fp/floatunditf.c: Likewise.
3126 * soft-fp/floatunsidf.c: Likewise.
3127 * soft-fp/floatunsisf.c: Likewise.
3128 * soft-fp/floatunsitf.c: Likewise.
3129 * soft-fp/floatuntidf.c: Likewise.
3130 * soft-fp/floatuntisf.c: Likewise.
3131 * soft-fp/floatuntitf.c: Likewise.
3132 * soft-fp/gedf2.c: Likewise.
3133 * soft-fp/gesf2.c: Likewise.
3134 * soft-fp/getf2.c: Likewise.
3135 * soft-fp/ledf2.c: Likewise.
3136 * soft-fp/lesf2.c: Likewise.
3137 * soft-fp/letf2.c: Likewise.
3138 * soft-fp/muldf3.c: Likewise.
3139 * soft-fp/mulsf3.c: Likewise.
3140 * soft-fp/multf3.c: Likewise.
3141 * soft-fp/negdf2.c: Likewise.
3142 * soft-fp/negsf2.c: Likewise.
3143 * soft-fp/negtf2.c: Likewise.
3144 * soft-fp/op-1.h: Likewise.
3145 * soft-fp/op-2.h: Likewise.
3146 * soft-fp/op-4.h: Likewise.
3147 * soft-fp/op-8.h: Likewise.
3148 * soft-fp/op-common.h: Likewise.
3149 * soft-fp/quad.h: Likewise.
3150 * soft-fp/single.h: Likewise.
3151 * soft-fp/soft-fp.h: Likewise.
3152 * soft-fp/subdf3.c: Likewise.
3153 * soft-fp/subsf3.c: Likewise.
3154 * soft-fp/subtf3.c: Likewise.
3155 * soft-fp/truncdfsf2.c: Likewise.
3156 * soft-fp/trunctfdf2.c: Likewise.
3157 * soft-fp/trunctfsf2.c: Likewise.
3158 * soft-fp/trunctfxf2.c: Likewise.
3159 * soft-fp/unorddf2.c: Likewise.
3160 * soft-fp/unordsf2.c: Likewise.
3161 * soft-fp/unordtf2.c: Likewise.
3162
3163 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet (a] gmail.com>
3164
3165 PR gcov-profile/67097
3166 * libgcov-util.c (gcov_profile_merge): Skip missing files.
3167
3168 2016-08-10 Martin Liska <mliska (a] suse.cz>
3169
3170 PR gcov-profile/58306
3171 * Makefile.in: New functions (modules) are added.
3172 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3173 function.
3174 (__gcov_pow2_profiler_atomic): New function.
3175 (__gcov_one_value_profiler_body): New argument is instroduced.
3176 (__gcov_one_value_profiler): Call with the new argument.
3177 (__gcov_one_value_profiler_atomic): Likewise.
3178 (__gcov_indirect_call_profiler_v2): Likewise.
3179 (__gcov_time_profiler_atomic): New function.
3180 (__gcov_average_profiler_atomic): Likewise.
3181 (__gcov_ior_profiler_atomic): Likewise.
3182 * libgcov.h: Declare the aforementioned functions.
3183
3184 2016-08-09 Martin Liska <mliska (a] suse.cz>
3185
3186 * libgcov-util.c: Fix typo and GNU coding style.
3187
3188 2016-08-09 Martin Liska <mliska (a] suse.cz>
3189
3190 * Makefile.in: Remove __gcov_indirect_call_profiler.
3191 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3192 function.
3193 * libgcov.h: And the declaration of the function.
3194
3195 2016-08-09 Martin Liska <mliska (a] suse.cz>
3196
3197 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3198 power of two.
3199
3200 2016-07-29 Bill Schmidt <wschmidt (a] linux.vnet.ibm.com>
3201
3202 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3203 * config/rs6000/_mulkc3.c: Likewise.
3204
3205 2016-07-29 Georg-Johann Lay <avr (a] gjlay.de>
3206
3207 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3208 zero_reg as previous call to __umulhisi3 already cleared it.
3209
3210 2016-07-21 Aurelien Jarno <aurelien (a] aurel32.net>
3211
3212 PR target/59833
3213 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3214
3215 2016-07-19 Nick Clifton <nickc (a] redhat.com>
3216
3217 * config.host (m32r): Add m32r/t-m32r to tmake_file.
3218 Add crtinit.o and crtfini.o to extra_parts.
3219
3220 2016-07-12 Bill Schmidt <wschmidt (a] linux.vnet.ibm.com>
3221
3222 * config/rs6000/_divkc3.c: New.
3223 * config/rs6000/_mulkc3.c: New.
3224 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3225 and _divkc3.
3226 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3227 fp128_ppc_funcs.
3228
3229 2016-07-11 Hale Wang <hale.wang (a] arm.com>
3230 Andre Vieira <andre.simoesdiasvieira (a] arm.com>
3231
3232 * config/arm/lib1funcs.S: Add new wrapper.
3233
3234 2016-07-07 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
3235
3236 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3237
3238 2016-07-07 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
3239
3240 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3241 and ARMv5t* rather than for a fixed list of architectures.
3242
3243 2016-07-07 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
3244
3245 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3246 implementation suitable for.
3247 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3248 for all Thumb-1 only targets.
3249 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3250 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3251 __ARM_ARCH_6M__.
3252 (EQUIV): Likewise.
3253 (ARM_FUNC_ALIAS): Likewise.
3254 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3255 version.
3256 (modsi3): Likewise.
3257 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3258 (clzdi2): Likewise.
3259 (ctzsi2): Likewise.
3260 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3261 __ARM_ARCH_6M__ in guard for checking whether it is defined.
3262 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3263 __ARM_ARCH_6M__ and add comment to indicate the connection between
3264 this condition and the one in gcc/config/arm/elf.h.
3265 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3266 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3267 * config/arm/t-softfp: Likewise.
3268
3269 2016-07-06 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
3270
3271 * libgcc2.c (SYMBOL__MAIN): Remove checks for
3272 CTOR_LISTS_DEFINED_EXTERNALLY.
3273
3274 2016-06-28 Walter Lee <walt (a] tilera.com>
3275
3276 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3277 asm/unistd.h.
3278 (SPR_CMPEXCH_VALUE): Define for tilegx.
3279 (__NR_FAST_cmpxchg): Define for tilepro.
3280 (__NR_FAST_atomic_update): Define for tilepro.
3281 (__NR_FAST_cmpxchg64): Define for tilepro.
3282
3283 2016-06-23 Jakub Sejdak <jakub.sejdak (a] phoesys.com>
3284
3285 * config.host: Add suport for arm*-*-phoenix* targets.
3286
3287 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
3288
3289 * config.host: Remove support for mep-*.
3290 * config/mep/lib1funcs.S: Remove.
3291 * config/mep/lib2funcs.c: Remove.
3292 * config/mep/t-mep: Remove.
3293 * config/mep/tramp.c: Remove.
3294
3295 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
3296
3297 * config.host: Remove support for avr-rtems.
3298 * config/avr/t-rtems: Remove.
3299
3300 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
3301
3302 * config.host: Remove m32r-rtems support.
3303
3304 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
3305
3306 * config.host: Remove h8300-rtems support.
3307
3308 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
3309
3310 * config.host: Remove support for knetbsd.
3311
3312 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
3313
3314 * config.host: Remove support for openbsd 2 and 3.
3315
3316 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
3317
3318 * config.host: Remove interix support.
3319 * config/i386/t-interix: Remove.
3320
3321 2016-06-18 John David Anglin <danglin (a] gcc.gnu.org>
3322
3323 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3324 least-significant bit in function pointer for fixup.
3325
3326 2016-06-05 Aaron Conole <aconole (a] redhat.com>
3327 Nathan Sidwell <nathan (a] acm.org>
3328
3329 PR libgcc/71400
3330 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3331 (get_gcov_error_file): Check __gcov_error_file before trying to
3332 initialize it.
3333 (gcov_error): Always use get_gcov_error_file.
3334
3335 2016-06-02 Aaron Conole <aconole (a] redhat.com>
3336
3337 * libgcov-driver-system.c (__gcov_error_file): New.
3338 (get_gcov_error_file): New.
3339 (gcov_error): Use and set __gcov_error_file.
3340 (gcov_error_exit): New.
3341 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3342
3343 2016-05-26 Nathan Sidwell <nathan (a] acm.org>
3344
3345 * config/nvptx/free.asm: Delete.
3346 * config/nvptx/malloc.asm: Delete.
3347 * config/nvptx/realloc.c: Delete.
3348 * t-nvptx: Update.
3349
3350 2016-05-25 Nathan Sidwell <nathan (a] acm.org>
3351
3352 * config/nvptx/crt0.s: Delete.
3353 * config/nvptx/crt0.c: New.
3354 * t-nvptx: Update.
3355
3356 2016-05-19 Sandra Loosemore <sandra (a] codesourcery.com>
3357
3358 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
3359 dw2/seh configuration.
3360 [x86_64-*-mingw*]: Likewise.
3361
3362 2016-05-10 Joel Sherrill <joel (a] rtems.org>
3363
3364 PR libgcc/70720
3365 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3366 targets so the same extra_parts are built. Also have tmake_file add
3367 on to its value rather than override.
3368
3369 2016-04-30 Oleg Endo <olegendo (a] gcc.gnu.org>
3370
3371 * config.host: Remove SH5 support.
3372 * configure: Likewise.
3373
3374 2016-04-29 Oleg Endo <olegendo (a] gcc.gnu.org>
3375
3376 * config/sh/crt1.S: Remove SH5 support.
3377 * config/sh/crti.S: Likewise.
3378 * config/sh/crtn.S: Likewise.
3379 * config/sh/lib1funcs-4-300.S: Likewise.
3380 * config/sh/lib1funcs-Os-4-200.S: Likewise.
3381 * config/sh/lib1funcs.S: Likewise.
3382 * config/sh/linux-unwind.h: Likewise.
3383 * config/sh/t-sh64: Delete.
3384
3385 2016-04-29 Claudiu Zissulescu <claziss (a] synopsys.com>
3386
3387 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3388
3389 2016-04-28 Claudiu Zissulescu <claziss (a] synopsys.com>
3390 Joern Rennecke <joern.rennecke (a] embecosm.com>
3391
3392 * config/arc/crttls.S: New file.
3393 * config/arc/t-arc: New rule.
3394 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3395
3396 2016-04-25 Nick Clifton <nickc (a] redhat.com>
3397
3398 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3399 (__mspabi_cmpd): Likewise.
3400 * config/msp430/floathidf.c (__floathidf): Likewise.
3401 * config/msp430/floathisf.c (__floathisf): Likewise
3402 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3403 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3404 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3405 second parameter.
3406 (__ashrsi3): Likewise.
3407
3408 2016-04-21 Waldemar Brodkorb <wbx (a] openadk.org>
3409
3410 * config/m68k/linux-atomic.c: Do not include unistd.h
3411
3412 2016-04-20 Martin Galvan <martin.galvan (a] tallertechnologies.com>
3413
3414 * config/arm/ieee754-df.S: Fix typos in comments.
3415
3416 2016-04-11 Michael Meissner <meissner (a] linux.vnet.ibm.com>
3417
3418 PR target/70381
3419 * configure.ac (powerpc*-*-linux*): Rework tests to build
3420 __float128 emulation routines to not depend on using #pragma GCC
3421 target to enable -mfloat128.
3422 * configure: Regnerate.
3423
3424 2016-04-04 Eric Botcazou <ebotcazou (a] adacore.com>
3425
3426 PR target/67172
3427 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3428 __MINGW32__ is defined.
3429
3430 2016-03-28 James Bowman <james.bowman (a] ftdichip.com>
3431
3432 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
3433
3434 2016-03-22 Michael Meissner <meissner (a] linux.vnet.ibm.com>
3435
3436 PR libgcc/70363
3437 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3438 built with an assembler that does not support ISA 3.0
3439 instructions, rename __extendkftf2_sw to __extendkftf2.
3440
3441 2016-03-16 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3442
3443 PR target/38239
3444 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3445 call-clobbered registers.
3446 (internal_mcount): Remove __i386__ handling.
3447
3448 2016-02-26 Joel Sherrill <joel (a] rtems.org>
3449
3450 * config.host: Add x86_64-*-rtems*.
3451
3452 2016-02-26 Joel Sherrill <joel (a] rtems.org>
3453
3454 * libgcc/config.host: Add aarch64-*-rtems*.
3455
3456 2016-02-26 Paul E. Murphy <murphyp (a] linux.vnet.ibm.com>
3457 Bill Schmidt <wschmidt (a] linux.vnet.ibm.com>
3458
3459 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3460 union of u64 and double.
3461 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3462 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3463 value.
3464 (FP_ROUNDMODE): Update the usage of _fpscr.
3465
3466 2016-02-25 Ilya Verbin <ilya.verbin (a] intel.com>
3467
3468 PR driver/68463
3469 * Makefile.in (crtoffloadtable$(objext)): New rule.
3470 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3471 enable_offload_targets is not empty.
3472 * configure: Regenerate.
3473 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3474 crtoffloadtable.
3475
3476 2016-02-17 Max Filippov <jcmvbkbc (a] gmail.com>
3477
3478 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3479 .literal_position before the function.
3480 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3481 Likewise.
3482
3483 2016-02-15 Marcin Kocielnicki <koriakin (a] 0x04.net>
3484
3485 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3486 * config/s390/morestack.S: New file.
3487 * config/s390/t-stack-s390: New file.
3488 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3489
3490 2016-02-12 Walter Lee <walt (a] tilera.com>
3491
3492 * config.host (tilegx*-*-linux*): remove ti from
3493 softfp_int_modes for 32-bit configs.
3494
3495 2016-02-10 Ian Lance Taylor <iant (a] google.com>
3496
3497 PR go/68562
3498 * config/i386/morestack.S (__stack_split_initialize): Align
3499 stack.
3500
3501 2016-02-03 Andreas Tobler <andreast (a] gcc.gnu.org>
3502
3503 PR bootstrap/69611
3504 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3505 __FLOAT128__ to compile only for __float128 capable targets.
3506
3507 2016-01-25 Jakub Jelinek <jakub (a] redhat.com>
3508
3509 PR target/69444
3510 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3511 instead of ___NO_FPRS__.
3512
3513 2016-01-21 Michael Meissner <meissner (a] linux.vnet.ibm.com>
3514 Steven Munroe <munroesj (a] linux.vnet.ibm.com>
3515 Tulio Magno Quites Machado Filho <tulioqm (a] br.ibm.com>
3516
3517 * config/rs6000/float128-sed: New files to convert TF names to KF
3518 names for PowerPC IEEE 128-bit floating point support.
3519 * config/rs6000/float128-sed-hw: Likewise.
3520
3521 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3522 floating point hardware support.
3523
3524 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3525 128-bit floating point software emulation or use ISA 3.0 hardware
3526 support if it is available.
3527
3528 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3529 floating point.
3530
3531 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3532 floating point to IBM extended double.
3533
3534 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3535 double to IEEE 128-bit floating point.
3536
3537 * config/rs6000/t-float128: New Makefile fragments to enable
3538 building __float128 emulation support.
3539 * config/rs6000/t-float128-hw: Likewise.
3540
3541 * config/rs6000/sfp-exceptions.c: New file to provide exception
3542 support for IEEE 128-bit floating point.
3543
3544 * config/rs6000/floattikf.c: New files for converting between IEEE
3545 128-bit floating point and signed/unsigned 128-bit integers.
3546 * config/rs6000/fixunskfti.c: Likewise.
3547 * config/rs6000/fixkfti.c: Likewise.
3548 * config/rs6000/floatuntikf.c: Likewise.
3549
3550 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3551 when building on 64-bit systems, or when VSX is enabled.
3552 (_FP_W_TYPE): Likewise.
3553 (_FP_WS_TYPE): Likewise.
3554 (_FP_I_TYPE): Likewise.
3555 (TItype): Define on 64-bit systems.
3556 (UTItype): Likewise.
3557 (TI_BITS): Likewise.
3558 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3559 (_FP_MUL_MEAT_Q): Likewise.
3560 (_FP_DIV_MEAT_D): Likewise.
3561 (_FP_DIV_MEAT_Q): Likewise.
3562 (_FP_NANFRAC_D): Likewise.
3563 (_FP_NANFRAC_Q): Likewise.
3564 (ISA_BIT): Add exception support if we are being compiled on a
3565 machine with hardware floating point support to build the IEEE
3566 128-bit emulation functions.
3567 (FP_EX_INVALID): Likewise.
3568 (FP_EX_OVERFLOW): Likewise.
3569 (FP_EX_UNDERFLOW): Likewise.
3570 (FP_EX_DIVZERO): Likewise.
3571 (FP_EX_INEXACT): Likewise.
3572 (FP_EX_ALL): Likewise.
3573 (__sfp_handle_exceptions): Likewise.
3574 (FP_HANDLE_EXCEPTIONS): Likewise.
3575 (FP_RND_NEAREST): Likewise.
3576 (FP_RND_ZERO): Likewise.
3577 (FP_RND_PINF): Likewise.
3578 (FP_RND_MINF): Likewise.
3579 (FP_RND_MASK): Likewise.
3580 (_FP_DECL_EX): Likewise.
3581 (FP_INIT_ROUNDMODE): Likewise.
3582 (FP_ROUNDMODE): Likewise.
3583
3584 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3585 VSX code, enable IEEE 128-bit floating point. If the compiler can
3586 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3587 floating point hardware instructions and it supports declaring
3588 functions with the ifunc attribute, enable ifunc functions to
3589 switch between software and hardware support.
3590 * configure.ac (powerpc*-*-linux*): Likewise.
3591 * configure: Regenerate.
3592
3593 2016-01-15 Nick Clifton <nickc (a] redhat.com>
3594
3595 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3596 dependency as the source file to be compiled.
3597 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3598 (lib2hw_mul_f5.o): Likewise.
3599
3600 2016-01-13 Michael Meissner <meissner (a] linux.vnet.ibm.com>
3601
3602 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3603 * libgcc/config/rs6000/fixkfti.c: Likewise.
3604 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3605 * libgcc/config/rs6000/float128-hw.c: Likewise.
3606 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3607 * libgcc/config/rs6000/float128-sed: Likewise.
3608 * libgcc/config/rs6000/floattikf.c: Likewise.
3609 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3610 * libgcc/config/rs6000/quad-float128.h: Likewise.
3611 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3612 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3613 * libgcc/config/rs6000/t-float128: Likewise.
3614 * libgcc/config/rs6000/t-float128-hw: Likewise.
3615 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3616 * libgcc/config.host: Likewise.
3617 * libgcc/configure: Likewise.
3618 * libgcc/configure.ac: Likewise.
3619
3620 2016-01-13 Michael Meissner <meissner (a] linux.vnet.ibm.com>
3621 Steven Munroe <munroesj (a] linux.vnet.ibm.com>
3622 Tulio Magno Quites Machado Filho <tulioqm (a] br.ibm.com>
3623
3624 * config/rs6000/sfp-exceptions.c: New file to provide exception
3625 support for IEEE 128-bit floating point.
3626
3627 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3628 floating point hardware support.
3629
3630 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3631 point conversions.
3632 * config/rs6000/fixunskfti.c: Likewise.
3633 * config/rs6000/fixkfti.c: Likewise.
3634 * config/rs6000/floatuntikf.c: Likewise.
3635 * config/rs6000/extendkftf2-sw.c: Likewise.
3636 * config/rs6000/trunctfkf2-sw.c: Likewise.
3637
3638 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3639 128-bit floating point software emulation or use ISA 3.0 hardware
3640 support if it is available.
3641
3642 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3643 floating point.
3644
3645 * config/rs6000/t-float128: New Makefile fragments to enable
3646 building __float128 emulation support.
3647 * config/rs6000/t-float128-hw: Likewise.
3648
3649 * config/rs6000/float128-sed: New file to convert TF names to KF
3650 names for PowerPC IEEE 128-bit floating point support.
3651
3652 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3653 when building on 64-bit systems, or when VSX is enabled.
3654 (_FP_W_TYPE): Likewise.
3655 (_FP_WS_TYPE): Likewise.
3656 (_FP_I_TYPE): Likewise.
3657 (TItype): Define on 64-bit systems.
3658 (UTItype): Likewise.
3659 (TI_BITS): Likewise.
3660 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3661 (_FP_MUL_MEAT_Q): Likewise.
3662 (_FP_DIV_MEAT_D): Likewise.
3663 (_FP_DIV_MEAT_Q): Likewise.
3664 (_FP_NANFRAC_D): Likewise.
3665 (_FP_NANFRAC_Q): Likewise.
3666 (ISA_BIT): Add exception support if we are being compiled on a
3667 machine with hardware floating point support to build the IEEE
3668 128-bit emulation functions.
3669 (FP_EX_INVALID): Likewise.
3670 (FP_EX_OVERFLOW): Likewise.
3671 (FP_EX_UNDERFLOW): Likewise.
3672 (FP_EX_DIVZERO): Likewise.
3673 (FP_EX_INEXACT): Likewise.
3674 (FP_EX_ALL): Likewise.
3675 (__sfp_handle_exceptions): Likewise.
3676 (FP_HANDLE_EXCEPTIONS): Likewise.
3677 (FP_RND_NEAREST): Likewise.
3678 (FP_RND_ZERO): Likewise.
3679 (FP_RND_PINF): Likewise.
3680 (FP_RND_MINF): Likewise.
3681 (FP_RND_MASK): Likewise.
3682 (_FP_DECL_EX): Likewise.
3683 (FP_INIT_ROUNDMODE): Likewise.
3684 (FP_ROUNDMODE): Likewise.
3685
3686 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3687 compiler can do __float128.
3688 * configure: Regenerate.
3689
3690 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3691 VSX code, enable IEEE 128-bit floating point.
3692
3693 2016-01-05 Olivier Hainque <hainque (a] adacore.com>
3694
3695 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
3696 specificities.
3697
3698 2016-01-04 Jakub Jelinek <jakub (a] redhat.com>
3699
3700 Update copyright years.
3701
3702 2015-12-18 Andris Pavenis <andris.pavenis (a] iki.fi>
3703
3704 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
3705 soft-fp targets.
3706
3707 2015-12-16 Bernd Edlinger <bernd.edlinger (a] hotmail.de>
3708
3709 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3710 instead of abort to avoid dependency on stdlib.h.
3711
3712 2015-12-09 John David Anglin <danglin (a] gcc.gnu.org>
3713
3714 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3715 to initialize call to __dl_fixup once.
3716
3717 2015-12-04 Nick Clifton <nickc (a] redhat.com>
3718
3719 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3720 Allow for the second argument being negative.
3721 * config.host (extra_parts): Define for MSP430. Create separate
3722 libraries for each of the hardware multiply formats.
3723 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3724 that are needed.
3725 * config/msp430/lib2mul.c: Likewise.
3726 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3727 Add rules to build hardware multiply libraries.
3728 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3729 __mspabi_divul function.
3730 (__mspabi_divllu): New stub function.
3731
3732 2015-12-01 John David Anglin <danglin (a] gcc.gnu.org>
3733
3734 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3735 fixup values if saved GOT address doesn't match runtime address.
3736 (fixup_branch_offset): Reorder list.
3737
3738 2015-11-25 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3739
3740 * Makefile.in (VTV_CFLAGS): New variable.
3741 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3742 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3743 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3744 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3745 to extra_parts if $enable_vtable_verify = yes.
3746
3747 2015-11-23 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
3748
3749 PR target/68059
3750 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3751 (write): ...this and fix the return type.
3752
3753 2015-11-19 DJ Delorie <dj (a] redhat.com>
3754
3755 * config/msp430/lib2hw_mul.S: Fix alignment.
3756
3757 2015-11-18 Nathan Sidwell <nathan (a] codesourcery.com>
3758
3759 * config/nvptx/reduction.c: New.
3760 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3761
3762 2015-11-15 David Edelsohn <dje.gcc (a] gmail.com>
3763
3764 * config/rs6000/on_exit.c: New file.
3765 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3766 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3767
3768 2015-11-11 Claudiu Zissulescu <claziss (a] synopsys.com>
3769
3770 * config/arc/dp-hack.h: Add support for ARCHS.
3771 * config/arc/ieee-754/divdf3.S: Likewise.
3772 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3773 * config/arc/ieee-754/muldf3.S: Likewise.
3774 * config/arc/ieee-754/mulsf3.S: Likewise
3775 * config/arc/lib1funcs.S: Likewise
3776 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3777 for ARCv2 cores.
3778 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3779 for ARCv2 cores.
3780 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3781 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3782 cores.
3783
3784 2015-11-09 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3785
3786 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3787 value.
3788 * config/ia64/crtend.S: Likewise.
3789
3790 2015-11-07 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
3791
3792 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3793 __CHAR_BIT__ instead of BITS_PER_UNIT.
3794 * fixed-bit.h: Likewise.
3795 * fp-bit.h: Likewise.
3796 * libgcc2.c (__popcountSI2): Likewise.
3797 (__popcountDI2): Likewise.
3798 * libgcc2.h: Likewise.
3799 * libgcov.h: Likewise.
3800
3801 2015-11-07 David Edelsohn <dje.gcc (a] gmail.com>
3802
3803 * config/rs6000/atexit.c: New file.
3804 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3805 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3806 * config/rs6000/cxa_finalize.c
3807 (catomic_compare_and_exchange_bool_acq): Negate return value.
3808
3809 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar (a] amd.com>
3810
3811 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3812 (processor_subtypes): Add znver1.
3813 (get_amd_cpu): Detect znver1.
3814
3815 2015-10-29 Christophe Lyon <christophe.lyon (a] linaro.org>
3816
3817 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3818 Include crtfastmath.o.
3819
3820 2015-10-23 Joern Rennecke <joern.rennecke (a] embecosm.com>
3821
3822 PR libgcc/66883
3823 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
3824
3825 2015-10-16 Kaushik Phatak <kaushik.phatak (a] kpit.com>
3826
3827 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3828 * config/rl78/divmodsi.S: Update return register to r8.
3829 * config/rl78/divmodhi.S: Update return register to r8,r9.
3830 Branch to main_loop_done_himode to pop registers before return.
3831
3832 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar (a] amd.com>
3833
3834 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3835 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3836
3837 2015-10-05 Kirill Yukhin <kirill.yukhin (a] intel.com>
3838
3839 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3840
3841 2015-10-03 Max Filippov <jcmvbkbc (a] gmail.com>
3842
3843 * config.host (xtensa*-*-uclinux*): New configuration.
3844
3845 2015-10-02 Kirill Yukhin <kirill.yukhin (a] intel.com>
3846
3847 * config/i386/cpuinfo.c (processor_features): Add
3848 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3849
3850 2015-09-28 Joseph Myers <joseph (a] codesourcery.com>
3851
3852 * soft-fp/adddf3.c: Update from glibc.
3853 * soft-fp/addsf3.c: Likewise.
3854 * soft-fp/addtf3.c: Likewise.
3855 * soft-fp/divdf3.c: Likewise.
3856 * soft-fp/divsf3.c: Likewise.
3857 * soft-fp/divtf3.c: Likewise.
3858 * soft-fp/double.h: Likewise.
3859 * soft-fp/eqdf2.c: Likewise.
3860 * soft-fp/eqsf2.c: Likewise.
3861 * soft-fp/eqtf2.c: Likewise.
3862 * soft-fp/extenddftf2.c: Likewise.
3863 * soft-fp/extended.h: Likewise.
3864 * soft-fp/extendsfdf2.c: Likewise.
3865 * soft-fp/extendsftf2.c: Likewise.
3866 * soft-fp/extendxftf2.c: Likewise.
3867 * soft-fp/fixdfdi.c: Likewise.
3868 * soft-fp/fixdfsi.c: Likewise.
3869 * soft-fp/fixdfti.c: Likewise.
3870 * soft-fp/fixsfdi.c: Likewise.
3871 * soft-fp/fixsfsi.c: Likewise.
3872 * soft-fp/fixsfti.c: Likewise.
3873 * soft-fp/fixtfdi.c: Likewise.
3874 * soft-fp/fixtfsi.c: Likewise.
3875 * soft-fp/fixtfti.c: Likewise.
3876 * soft-fp/fixunsdfdi.c: Likewise.
3877 * soft-fp/fixunsdfsi.c: Likewise.
3878 * soft-fp/fixunsdfti.c: Likewise.
3879 * soft-fp/fixunssfdi.c: Likewise.
3880 * soft-fp/fixunssfsi.c: Likewise.
3881 * soft-fp/fixunssfti.c: Likewise.
3882 * soft-fp/fixunstfdi.c: Likewise.
3883 * soft-fp/fixunstfsi.c: Likewise.
3884 * soft-fp/fixunstfti.c: Likewise.
3885 * soft-fp/floatdidf.c: Likewise.
3886 * soft-fp/floatdisf.c: Likewise.
3887 * soft-fp/floatditf.c: Likewise.
3888 * soft-fp/floatsidf.c: Likewise.
3889 * soft-fp/floatsisf.c: Likewise.
3890 * soft-fp/floatsitf.c: Likewise.
3891 * soft-fp/floattidf.c: Likewise.
3892 * soft-fp/floattisf.c: Likewise.
3893 * soft-fp/floattitf.c: Likewise.
3894 * soft-fp/floatundidf.c: Likewise.
3895 * soft-fp/floatundisf.c: Likewise.
3896 * soft-fp/floatunditf.c: Likewise.
3897 * soft-fp/floatunsidf.c: Likewise.
3898 * soft-fp/floatunsisf.c: Likewise.
3899 * soft-fp/floatunsitf.c: Likewise.
3900 * soft-fp/floatuntidf.c: Likewise.
3901 * soft-fp/floatuntisf.c: Likewise.
3902 * soft-fp/floatuntitf.c: Likewise.
3903 * soft-fp/gedf2.c: Likewise.
3904 * soft-fp/gesf2.c: Likewise.
3905 * soft-fp/getf2.c: Likewise.
3906 * soft-fp/ledf2.c: Likewise.
3907 * soft-fp/lesf2.c: Likewise.
3908 * soft-fp/letf2.c: Likewise.
3909 * soft-fp/muldf3.c: Likewise.
3910 * soft-fp/mulsf3.c: Likewise.
3911 * soft-fp/multf3.c: Likewise.
3912 * soft-fp/negdf2.c: Likewise.
3913 * soft-fp/negsf2.c: Likewise.
3914 * soft-fp/negtf2.c: Likewise.
3915 * soft-fp/op-1.h: Likewise.
3916 * soft-fp/op-2.h: Likewise.
3917 * soft-fp/op-4.h: Likewise.
3918 * soft-fp/op-8.h: Likewise.
3919 * soft-fp/op-common.h: Likewise.
3920 * soft-fp/quad.h: Likewise.
3921 * soft-fp/single.h: Likewise.
3922 * soft-fp/soft-fp.h: Likewise.
3923 * soft-fp/subdf3.c: Likewise.
3924 * soft-fp/subsf3.c: Likewise.
3925 * soft-fp/subtf3.c: Likewise.
3926 * soft-fp/truncdfsf2.c: Likewise.
3927 * soft-fp/trunctfdf2.c: Likewise.
3928 * soft-fp/trunctfsf2.c: Likewise.
3929 * soft-fp/trunctfxf2.c: Likewise.
3930 * soft-fp/unorddf2.c: Likewise.
3931 * soft-fp/unordsf2.c: Likewise.
3932 * soft-fp/unordtf2.c: Likewise.
3933
3934 2015-09-24 Richard Earnshaw <rearnsha (a] arm.com>
3935
3936 PR libgcc/67624
3937 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3938
3939 2015-09-24 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3940
3941 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3942 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3943 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3944 messages.
3945 (internal_mcount): Likewise.
3946 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3947 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3948
3949 2015-09-24 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3950
3951 * configure.ac (libgcc_cv_solaris_crts): New test.
3952 * configure: Regenerate.
3953 * config.in: Regenerate.
3954 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3955 * config/gmon-sol2.c: Rename to ...
3956 * config/sol2/gmon.c: ... this.
3957 Include auto-target.h.
3958 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3959 * config/t-sol2: Rename to ...
3960 * config/sol2/t-sol2: ... this.
3961 (gmon.o): Reflect renaming.
3962 (crtp.o, crtpg.o): New rules.
3963 * config.host (*-*-solaris2*): Reflect renaming.
3964 Use system CRTs if present.
3965 Remove default CRT case.
3966
3967 2015-09-23 John David Anglin <danglin (a] gcc.gnu.org>
3968
3969 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3970 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3971 __kernel_cmpxchg2.
3972 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3973 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3974 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3975 (__sync_lock_test_and_set_##WIDTH): Likewise.
3976 (__sync_lock_release_##WIDTH): Likewise.
3977 (__sync_fetch_and_##OP##_4): Change result to match type of
3978 __kernel_cmpxchg.
3979 (__sync_##OP##_and_fetch_4): Likewise.
3980 (__sync_val_compare_and_swap_4): Likewise.
3981 (__sync_bool_compare_and_swap_4): likewise.
3982 (__sync_lock_test_and_set_4): Likewise.
3983 (__sync_lock_release_4): Likewise.
3984 (FETCH_AND_OP_2): Add long long variants.
3985 (OP_AND_FETCH_2): Likewise.
3986 (COMPARE_AND_SWAP_2 ): Likewise.
3987 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3988 (SYNC_LOCK_RELEASE_2): Likewise.
3989 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3990
3991 2015-09-22 Kirill Yukhin <kirill.yukhin (a] intel.com>
3992
3993 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3994 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3995 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3996 (get_available_features): Habdle new features.
3997
3998 2015-09-21 James Bowman <james.bowman (a] ftdichip.com>
3999
4000 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4001 memory layout. Deal correctly with BSS region larger than 32K.
4002 Handle a watchdog reset like a power-on reset. Clean up unused
4003 code.
4004
4005 2015-09-18 Andrew Dixie <andrewd (a] gentrack.com>
4006 David Edelsohn <dje.gcc (a] gmail.com>
4007
4008 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4009 * config/rs6000/crtdbase.S: New file.
4010 * config/rs6000/t-aix-cxa: Build crtdbase.o.
4011
4012 2015-09-15 Max Filippov <jcmvbkbc (a] gmail.com>
4013
4014 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4015 Add support for call0 ABI.
4016
4017 2015-09-13 John David Anglin <danglin (a] gcc.gnu.org>
4018
4019 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4020
4021 2015-09-03 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
4022
4023 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4024 (__GTHREAD_HAS_COND): Likewise.
4025 (__gthread_t): Likewise.
4026 (__gthread_cond_t): Likewise.
4027 (__gthread_time_t): Likewise.
4028 (__GTHREAD_MUTEX_INIT): Likewise.
4029 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4030 (__GTHREAD_COND_INIT): Likewise.
4031 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4032 (__GTHREAD_TIME_INIT): Likewise.
4033 (__gthread_create): Likewise.
4034 (__gthread_join): Likewise.
4035 (__gthread_detach): Likewise.
4036 (__gthread_equal): Likewise.
4037 (__gthread_self): Likewise.
4038 (__gthread_yield): Likewise.
4039 (__gthread_cond_broadcast): Likewise.
4040 (__gthread_cond_signal): Likewise.
4041 (__gthread_cond_wait): Likewise.
4042 (__gthread_cond_timedwait): Likewise.
4043 (__gthread_cond_wait_recursive): Likewise.
4044 (__gthread_cond_destroy): Likewise.
4045 (rtems_gxx_once): Delete.
4046 (rtems_gxx_key_create): Likewise.
4047 (rtems_gxx_key_delete): Likewise.
4048 (rtems_gxx_getspecific): Likewise.
4049 (rtems_gxx_setspecific): Likewise.
4050 (rtems_gxx_mutex_init): Likewise.
4051 (rtems_gxx_mutex_destroy): Likewise.
4052 (rtems_gxx_mutex_lock): Likewise.
4053 (rtems_gxx_mutex_trylock): Likewise.
4054 (rtems_gxx_mutex_unlock): Likewise.
4055 (rtems_gxx_recursive_mutex_init): Likewise.
4056 (rtems_gxx_recursive_mutex_lock): Likewise.
4057 (rtems_gxx_recursive_mutex_trylock): Likewise.
4058 (rtems_gxx_recursive_mutex_unlock): Likewise.
4059 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4060 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4061 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4062 (__gthread_once): Likewise.
4063 (__gthread_key_create): Likewise.
4064 (__gthread_key_delete): Likewise.
4065 (__gthread_getspecific): Likewise.
4066 (__gthread_setspecific): Likewise.
4067 (__gthread_key_t): Use <pthread.h> type.
4068 (__gthread_once_t): Likewise
4069 (__gthread_mutex_t): Use <sys/lock.h> type.
4070 (__gthread_recursive_mutex_t): Likewise
4071 (__gthread_mutex_lock): Use <sys/lock.h> function.
4072 (__gthread_mutex_trylock): Likewise.
4073 (__gthread_mutex_timedlock): Likewise.
4074 (__gthread_mutex_unlock): Likewise.
4075 (__gthread_mutex_destroy): Likewise.
4076 (__gthread_recursive_mutex_lock): Likewise.
4077 (__gthread_recursive_mutex_trylock): Likewise.
4078 (__gthread_recursive_mutex_timedlock): Likewise.
4079 (__gthread_recursive_mutex_unlock): Likewise.
4080 (__gthread_recursive_mutex_destroy): Likewise.
4081
4082 2015-08-18 Max Filippov <jcmvbkbc (a] gmail.com>
4083
4084 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4085 context->sp instead of context->cfa.
4086
4087 2015-08-18 Max Filippov <jcmvbkbc (a] gmail.com>
4088
4089 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4090 with unwind-dw2-fde-dip.
4091
4092 2015-08-18 Max Filippov <jcmvbkbc (a] gmail.com>
4093
4094 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4095 CALL12 followed by series of ENTRY to spill windowed registers.
4096 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4097 instead of making linux spill syscall.
4098
4099 2015-08-14 Yuri Rumyantsev <ysrumyan (a] gmail.com>
4100
4101 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4102 (get_intel_cpu): Likewise.
4103
4104 2015-08-12 H.J. Lu <hongjiu.lu (a] intel.com>
4105
4106 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4107 (get_intel_cpu): Add Knights Landing support.
4108
4109 2015-08-11 Uros Bizjak <ubizjak (a] gmail.com>
4110
4111 PR target/66954
4112 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4113 (get_available_features): Handle FEATURE_PCLMUL.
4114
4115 2015-08-10 H.J. Lu <hongjiu.lu (a] intel.com>
4116
4117 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4118 Broadwell.
4119
4120 2015-07-22 Uros Bizjak <ubizjak (a] gmail.com>
4121
4122 PR target/66954
4123 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4124 (get_available_features): Handle FEATURE_AES.
4125
4126 2015-07-22 Chung-Lin Tang <cltang (a] codesourcery.com>
4127
4128 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4129 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4130
4131 2015-07-17 Nathan Sidwell <nathan (a] codesourcery.com>
4132
4133 * offloadstuff.c: Constify host data.
4134
4135 2015-07-17 Jan Beulich <jbeulich (a] suse.com>
4136
4137 * config/t-softfp: Split up "else ifneq".
4138
4139 2015-07-14 Sandra Loosemore <sandra (a] codesourcery.com>
4140 Cesar Philippidis <cesar (a] codesourcery.com>
4141 Chung-Lin Tang <cltang (a] codesourcery.com>
4142
4143 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4144 for __nios2_arch__ level.
4145
4146 2015-07-13 John Marino <gnugcc (a] marino.st>
4147
4148 * config/i386/t-dragonfly: New.
4149
4150 2015-07-01 John David Anglin <danglin (a] gcc.gnu.org>
4151
4152 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4153 better match light-weight syscall argument order.
4154 (__kernel_cmpxchg2): Likewise.
4155 Adjust callers.
4156
4157 2015-06-30 H.J. Lu <hongjiu.lu (a] intel.com>
4158
4159 * config.host: Support i[34567]86-*-elfiamcu target.
4160 * config/t-softfp-sfdftf: New file.
4161 * config/i386/32/t-iamcu: Likewise.
4162 * configure: Regenerated.
4163
4164 2015-06-23 James Lemke <jwlemke (a] codesourcery.com>
4165
4166 libgcc/config/arm/
4167 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4168
4169 2015-05-27 H.J. Lu <hongjiu.lu (a] intel.com>
4170
4171 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4172
4173 2015-05-27 John Marino <gnugcc (a] marino.st>
4174
4175 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4176 md_unwind_header
4177 * config/i386/freebsd-unwind.h: New.
4178
4179 2015-05-22 Uros Bizjak <ubizjak (a] gmail.com>
4180
4181 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4182 i386/t-crtfm to tmake_file.
4183 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4184 (set_fast_math): Use set_fast_math_sse for SSE targets.
4185 * config/i386/t-crtfm: Remove.
4186
4187 2015-05-21 Alan Modra <amodra (a] gmail.com>
4188
4189 PR libgcc/66225
4190 * config/rs6000/morestack.S: Remove ".abiversion 1".
4191
4192 2015-05-20 Alan Modra <amodra (a] gmail.com>
4193
4194 * config/rs6000/morestack.S: New.
4195 * config/rs6000/t-stack-rs6000: New.
4196 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4197 to tmake_file.
4198 * generic-morestack.c: Don't build for powerpc 32-bit.
4199
4200 2015-05-19 Eric Botcazou <ebotcazou (a] adacore.com>
4201
4202 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4203 Remove useless endif/ifneq ($(enable_shared),yes) pair.
4204
4205 2015-05-16 James Bowman <james.bowman (a] ftdichip.com>
4206
4207 * config.host: FT32 target added.
4208 * config/ft32/*: New files for FT32 target.
4209
4210 2015-05-15 Martin Galvan <martin.galvan (a] tallertechnologies.com>
4211
4212 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4213 New macros.
4214 * config/arm/ieee754-df.S: Add CFI directives.
4215 * config/arm/ieee754-sf.S: Add CFI directives.
4216
4217 2015-05-13 Eric Botcazou <ebotcazou (a] adacore.com>
4218
4219 * configure.ac: Include config/sjlj.m4.
4220 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4221 * config.in: Regenerate.
4222 * configure: Likewise.
4223 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4224
4225 2015-05-12 Uros Bizjak <ubizjak (a] gmail.com>
4226
4227 * libgcov-util.c: Add space between string literal and macro name.
4228
4229 2015-05-06 Sandra Loosemore <sandra (a] codesourcery.com>
4230 Chris Jones <chrisj (a] nvidia.com>
4231 Joshua Conner <jconner (a] nvidia.com>
4232
4233 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4234 (arm*-*-uclinux*): Likewise.
4235 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4236 * config/arm/crtfastmath.c: New file.
4237
4238 2014-04-29 Bernd Schmidt <bernds (a] codesourcery.com>
4239
4240 * Makefile.in (real_host_noncanonical): New variable.
4241 (libsubdir): Use it.
4242 * configure.ac (real_host_noncanonical): Compute. Remove special
4243 case for intelmicemul.
4244 * configure: Regenerate.
4245
4246 2015-04-28 Uros Bizjak <ubizjak (a] gmail.com>
4247
4248 * config/frv/elf-lib.h: New file.
4249 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4250 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4251 to tm_file.
4252
4253 2015-04-28 Uros Bizjak <ubizjak (a] gmail.com>
4254
4255 * config/frv/frvbengin.c: Do not include defaults.h
4256 * config/frv/frvend.c: Ditto.
4257
4258 2015-04-27 Yoshinori Sato <ysato (a] users.sourceforge.jp>
4259
4260 * config.host: Add h8300-*-linux
4261 * config/h8300/t-linux: New file.
4262 * config/h8300/lib1funs.s: Change symbol prefix.
4263 * config/h8300/sfp-machine.h: 64bit double support.
4264
4265 2015-04-22 Gregor Richards <gregor.richards (a] uwaterloo.ca>
4266 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
4267
4268 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4269 Linux if target provides dl_iterate_phdr.
4270
4271 2015-04-17 H.J. Lu <hongjiu.lu (a] intel.com>
4272
4273 PR target/65612
4274 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4275 * config/i386/cpuinfo.c (__cpu_model): Initialize.
4276 (__cpu_indicator_init (a] GCC_4.8.0): New.
4277 (__cpu_model (a] GCC_4.8.0): Likewise.
4278 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4279 -DUSE_ELF_SYMVER.
4280
4281 2015-04-16 Nick Clifton <nickc (a] redhat.com>
4282
4283 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4284 and __modhi3 functions.
4285 * config/rl78/divmodso.S: Add G14 and G13 versions of the
4286 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4287
4288 2015-04-15 Chen Gang <gang.chen.5i5j (a] gmail.com>
4289
4290 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4291 do-while loop as macro body to avoid warnings.
4292
4293 2015-04-10 Jakub Jelinek <jakub (a] redhat.com>
4294 Iain Sandoe <iain (a] codesourcery.com>
4295
4296 PR target/65351
4297 * configure: Regenerate.
4298
4299 2015-04-07 Jakub Jelinek <jakub (a] redhat.com>
4300 Iain Sandoe <iain (a] codesourcery.com>
4301
4302 PR target/65351
4303 * configure: Regenerate.
4304
4305 2015-03-25 Chung-Lin Tang <cltang (a] codesourcery.com>
4306
4307 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4308
4309 2015-03-03 Max Filippov <jcmvbkbc (a] gmail.com>
4310
4311 Implement call0 ABI for xtensa
4312 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4313 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4314 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4315 use ret in call0 ABI.
4316 * config/xtensa/t-windowed: New file.
4317 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4318 * libgcc/configure: Regenerated.
4319 * libgcc/configure.ac: Check if xtensa target is configured for
4320 windowed ABI and thus needs to use custom unwind code.
4321
4322 2015-02-12 Jonathan Wakely <jwakely (a] redhat.com>
4323
4324 PR libgcc/64885
4325 * gthr-single.h: Use __unused__ attribute instead of unused.
4326 * config/gthr-vxworks.h: Likewise.
4327 * config/i386/gthr-win32.h: Likewise.
4328
4329 2015-02-27 Kai Tietz <ktietz (a] redhat.com>
4330
4331 PR target/65038
4332 * config.in: Regenerated.
4333 * configure: Likewise.
4334 * configure.ac (AC_HEADER_STDC): Added explicit.
4335 (AC_CHECK_HEADERS): Check for default headers plus
4336 for ftw.h header.
4337 * libgcov-util.c (gcov_read_profile_dir): Disable use
4338 of ftw-function, if header is not found.
4339 (ftw_read_file): Likewise.
4340
4341 2015-02-23 Thomas Schwinge <thomas (a] codesourcery.com>
4342
4343 PR target/65181
4344 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4345 -Dinhibit_libc.
4346
4347 2015-02-17 Sandra Loosemore <sandra (a] codesourcery.com>
4348
4349 * config/arm/bpabi.S (test_div_by_zero): Make label names
4350 consistent between thumb2 and arm mode cases. Separate the
4351 signed comparison on the high word of the numerator from the
4352 unsigned comparison on the low word.
4353 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4354 signed comparison.
4355
4356 2015-02-17 Joseph Myers <joseph (a] codesourcery.com>
4357
4358 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4359 and <string.h>.
4360 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4361
4362 2015-02-10 Rainer Emrich <rainer (a] emrich-ebersheim.de>
4363
4364 PR gcov-profile/61889
4365 * libgcov-driver-system.c: undefine clashing macro for mkdir.
4366
4367 2015-02-02 Nick Clifton <nickc (a] redhat.com>
4368
4369 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4370 rounding up the fraction.
4371
4372 2015-01-31 John David Anglin <danglin (a] gcc.gnu.org>
4373
4374 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4375 oldval and newval to const void *. Fix typo.
4376 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4377 (FETCH_AND_OP_WORD): Likewise.
4378 (OP_AND_FETCH_WORD): Likewise.
4379 (COMPARE_AND_SWAP_2): Likewise.
4380 (__sync_val_compare_and_swap_4): Likewise.
4381 (__sync_lock_test_and_set_4): Likewise.
4382 (SYNC_LOCK_RELEASE_2): Likewise.
4383 Remove support for long long atomic operations.
4384
4385 2015-01-27 Caroline Tice <cmtice (a] google.com>
4386
4387 Committing VTV Cywin/Ming patch for Patrick Wollgast
4388 * Makefile.in: Move rules to build vtv_*.o out of the check
4389 for CUSTOM_CRTSTUFF.
4390 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4391 i[34567]86-*-mingw*)
4392 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4393 enable_vtable_verify.
4394
4395 2015-01-27 Nick Clifton <nickc (a] redhat.com>
4396
4397 * config/rl78/cmpsi2.S: Use function start and end macros.
4398 (__gcc_bcmp): New function.
4399 * config/rl78/lshrsi3.S: Use function start and end macros.
4400 * config/rl78/mulsi3.S: Add support for G10.
4401 (__mulqi3): New function for G10.
4402 * config/rl78/signbit.S: Use function start and end macros.
4403 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4404 fpmath-sf.S.
4405 (LIB2FUNCS_EXCLUDE): Define.
4406 (LIB2FUNCS_ST): Define.
4407 * config/rl78/trampoline.S: Use function start and end macros.
4408 * config/rl78/vregs.h (START_FUNC): New macro.
4409 (START_ANOTHER_FUNC): New macro.
4410 (END_FUNC): New macro.
4411 (END_ANOTHER_FUNC): New macro.
4412 * config/rl78/bit-count.S: New file. Contains assembler
4413 implementations of the bit counting functions: ___clzhi2,
4414 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4415 __paritysi2, __popcounthi2 and __popcountsi2.
4416 * config/rl78/fpbit-sf.S: New file. Contains assembler
4417 implementationas of the math functions: __negsf2, __cmpsf2,
4418 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4419 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
4420 * config/rl78/fpmath-sf.S: New file. Contains assembler
4421 implementations of the math functions: __subsf3, __addsf3,
4422 __mulsf3 and __divsf3
4423
4424 2015-01-27 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
4425
4426 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4427 Add i386/elf-lib.h to tm_file.
4428 * config/i386/elf-lib.h: Fix comment.
4429 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4430 && __sun__ && __svr4__]: Remove workaround.
4431
4432 2015-01-25 Allan Sandfeld Jensen <sandfeld (a] kde.org>
4433
4434 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4435 FEATURE_BMI2.
4436 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4437
4438 2015-01-24 H.J. Lu <hongjiu.lu (a] intel.com>
4439
4440 * config/i386/cpuinfo.c (processor_subtypes): Add
4441 INTEL_COREI7_BROADWELL.
4442 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4443 model numbers.
4444
4445 2015-01-23 Uros Bizjak <ubizjak (a] gmail.com>
4446
4447 * config/i386/elf-lib.h: New file.
4448 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4449 Wrap definition in #ifdef __i386__.
4450 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4451 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4452 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4453 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4454 to tm_file.
4455
4456 2015-01-22 Chen Gang <gang.chen.5i5j (a] gmail.com>
4457
4458 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4459 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4460
4461 2015-01-20 Chung-Lin Tang <cltang (a] codesourcery.com>
4462
4463 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4464 Update rt_sigframe format and address for current Nios II
4465 Linux conventions.
4466
4467 2015-01-09 Andreas Tobler <andreast (a] gcc.gnu.org>
4468
4469 * config.host (arm*-*-freebsd*): Add new configuration for
4470 arm*-*-freebsd*.
4471 * config/arm/freebsd-atomic.c: New file.
4472 * config/arm/t-freebsd: Likewise.
4473 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4474 'PC-relative indirect' OS's.
4475
4476 2015-01-06 Eric Botcazou <ebotcazou (a] adacore.com>
4477
4478 * config.host: Add Visium support.
4479 * config/visium: New directory.
4480
4481 2015-01-05 Jakub Jelinek <jakub (a] redhat.com>
4482
4483 Update copyright years.
4484
4485 2014-12-19 Matthew Fortune <matthew.fortune (a] imgtec.com>
4486
4487 * config.host: Support mipsisa32r6 and mipsisa64r6.
4488 * config/mips/mips16.S: Do not build for R6.
4489
4490 2014-12-17 Oleg Endo <olegendo (a] gcc.gnu.org>
4491
4492 * config/sh/crt.h: New.
4493 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4494 symbols.
4495 * config/sh/crt1.S: Likewise.
4496
4497 2014-12-15 Uros Bizjak <ubizjak (a] gmail.com>
4498
4499 PR libgcc/63832
4500 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4501 func_ptr *dtor_list temporary variable to avoid "array subscript
4502 is above array bounds" warnings.
4503
4504 2014-12-09 Michael Haubenwallner <michael.haubenwallner (a] ssi-schaefer.com>
4505
4506 * Makefile.in (with_aix_soname): Define.
4507 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4508 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4509 * configure: Recreate.
4510
4511 2014-12-05 Olivier Hainque <hainque (a] adacore.com>
4512
4513 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4514 now provided by defaults.h.
4515
4516 2014-11-30 Oleg Endo <olegendo (a] gcc.gnu.org>
4517
4518 PR target/55351
4519 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4520 whether it's defined.
4521
4522 2014-11-27 Ilya Tocar <ilya.tocar (a] intel.com>
4523
4524 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4525 * config/i386/cpuinfo.c (get_available_features): Detect it.
4526
4527 2014-11-27 Tony Wang <tony.wang (a] arm.com>
4528
4529 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4530 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4531 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4532
4533 2014-11-25 Segher Boessenkool <segher (a] kernel.crashing.org>
4534
4535 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4536
4537 2014-11-24 John David Anglin <danglin (a] gcc.gnu.org>
4538
4539 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4540 instead.
4541
4542 2014-11-21 Guy Martin <gmsoft (a] tuxicoman.be>
4543 John David Anglin <danglin (a] gcc.gnu.org>
4544
4545 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4546 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4547 (OP_AND_FETCH_2): Likewise.
4548 (COMPARE_AND_SWAP_2): Likewise.
4549 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4550 (SYNC_LOCK_RELEASE_2): Likewise.
4551 (SUBWORD_SYNC_OP): Remove.
4552 (SUBWORD_VAL_CAS): Likewise.
4553 (SUBWORD_BOOL_CAS): Likewise.
4554 (FETCH_AND_OP_WORD): Update.
4555 Consistently use signed types.
4556
4557 2014-11-13 Bernd Schmidt <bernds (a] codesourcery.com>
4558 Thomas Schwinge <thomas (a] codesourcery.com>
4559 Ilya Verbin <ilya.verbin (a] intel.com>
4560 Andrey Turetskiy <andrey.turetskiy (a] intel.com>
4561
4562 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4563 (crtoffloadend$(objext)): Likewise.
4564 * configure: Regenerate.
4565 * configure.ac (accel_dir_suffix): Compute new variable.
4566 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4567 if enable_offload_targets is not empty.
4568 * offloadstuff.c: New file.
4569
4570 2014-11-13 Nick Clifton <nickc (a] redhat.com>
4571
4572 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4573 Use START_FUNC and END_FUNC macros to enable linker garbage
4574 collection.
4575 * config/rl78/divmodqi.S: Likewise.
4576 * config/rl78/divmodsi.S: Likewise.
4577 * config/rl78/mulsi3.S: Likewise.
4578 * config/rl78/lib2div.c: Remove G10 functions.
4579 * config/rl78/lib2muls.c: Likewise.
4580 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4581 * config/rl78/vregs.h (START_FUNC): New macro.
4582 (END_FUNC): New macro.
4583
4584 2014-11-12 Matthew Fortune <matthew.fortune (a] imgtec.com>
4585
4586 * config/mips/mips16.S: Set .module when supported. Update O32
4587 FP64 calling convention and use for FPXX when possible. Add FPXX
4588 calling convention fallback case.
4589
4590 2014-11-06 Bernd Schmidt <bernds (a] codesourcery.com>
4591
4592 * config.host: Handle nvptx-*-*.
4593 * shared-object.mk (as-flags-$o): Define.
4594 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4595 -xassembler-with-cpp.
4596 * static-object.mk: Identical changes.
4597 * config/nvptx/t-nvptx: New file.
4598 * config/nvptx/crt0.s: New file.
4599 * config/nvptx/free.asm: New file.
4600 * config/nvptx/malloc.asm: New file.
4601 * config/nvptx/realloc.c: New file.
4602
4603 2014-10-30 Joseph Myers <joseph (a] codesourcery.com>
4604
4605 * Makefile.in (libgcc.map.in): New target.
4606 (libgcc.map): Use libgcc.map.in.
4607 * config/t-softfp (softfp_compat): New variable to be set by
4608 users.
4609 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4610 variables.
4611 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4612 directory.
4613 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4614 that use compat symbols and disable all code unless [SHARED].
4615 * config/t-softfp-compat: New file.
4616 * find-symver.awk: New file.
4617 * configure.ac (--with-glibc-version): New configure option.
4618 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4619 * configure: Regenerate.
4620 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4621 soft-float and e500.
4622
4623 2014-10-29 Joseph Myers <joseph (a] codesourcery.com>
4624
4625 * config/t-hardfp (hardfp_exclusions): Document new variable for
4626 user to define.
4627 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4628 * config/t-softfp (softfp_extras): Document new variable for user
4629 to define.
4630 (softfp_func_list): Add functions from $(softfp_extras).
4631 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4632 * config.host (powerpc*-*-linux*): For e500v1, use
4633 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4634 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4635 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4636
4637 2014-10-26 John David Anglin <danglin (a] gcc.gnu.org>
4638
4639 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4640 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4641 memory read accesses are ok.
4642
4643 2014-10-25 Joseph Myers <joseph (a] codesourcery.com>
4644
4645 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4646 * configure: Regenerate.
4647 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4648 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4649 of soft-fp for 32-bit classic hard float. Do not use
4650 t-softfp-excl for soft float.
4651
4652 2014-10-22 Joseph Myers <joseph (a] codesourcery.com>
4653
4654 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4655 configurations.
4656 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4657 Remove variables.
4658
4659 2014-10-22 Georg-Johann Lay <avr (a] gjlay.de>
4660
4661 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4662 introduced with 2014-10-21 trunk r216525.
4663
4664 2014-10-21 Joern Rennecke <joern.rennecke (a] embecosm.com>
4665 Vidya Praveen <vidya.praveen (a] atmel.com>
4666 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik (a] atmel.com>
4667 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj (a] atmel.com>
4668 Pitchumani Sivanupandi <Pitchumani.S (a] atmel.com>
4669
4670 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4671 order.
4672
4673 Updated library functions for AVRTINY arch.
4674 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4675 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4676 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4677 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4678 wsubi/wadi macors.
4679 (__mulsi3_helper): Update stack, preserve callee saved regs and
4680 argument from stack. Restore callee save registers.
4681 (__mulpsi3): Likewise.
4682 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4683 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
4684 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
4685 AVRTINY.
4686 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4687 (__do_copy_data): Added new definition for AVRTINY.
4688 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4689 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4690 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4691 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4692 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4693 macors.
4694 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
4695 AVRTINY.
4696
4697 Fix broken long multiplication on tiny arch.
4698
4699 2014-10-09 Joseph Myers <joseph (a] codesourcery.com>
4700
4701 * soft-fp/double.h: Update from glibc.
4702 * soft-fp/eqdf2.c: Likewise.
4703 * soft-fp/eqsf2.c: Likewise.
4704 * soft-fp/eqtf2.c: Likewise.
4705 * soft-fp/extenddftf2.c: Likewise.
4706 * soft-fp/extended.h: Likewise.
4707 * soft-fp/extendsfdf2.c: Likewise.
4708 * soft-fp/extendsftf2.c: Likewise.
4709 * soft-fp/extendxftf2.c: Likewise.
4710 * soft-fp/gedf2.c: Likewise.
4711 * soft-fp/gesf2.c: Likewise.
4712 * soft-fp/getf2.c: Likewise.
4713 * soft-fp/ledf2.c: Likewise.
4714 * soft-fp/lesf2.c: Likewise.
4715 * soft-fp/letf2.c: Likewise.
4716 * soft-fp/op-1.h: Likewise.
4717 * soft-fp/op-2.h: Likewise.
4718 * soft-fp/op-4.h: Likewise.
4719 * soft-fp/op-8.h: Likewise.
4720 * soft-fp/op-common.h: Likewise.
4721 * soft-fp/quad.h: Likewise.
4722 * soft-fp/single.h: Likewise.
4723 * soft-fp/soft-fp.h: Likewise.
4724 * soft-fp/unorddf2.c: Likewise.
4725 * soft-fp/unordsf2.c: Likewise.
4726 * soft-fp/unordtf2.c: Likewise.
4727 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4728 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4729 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4730 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4731 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4732 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4733 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4734 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4735 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4736 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4737
4738 2014-10-08 Rong Xu <xur (a] google.com>
4739
4740 * libgcov-util.c (read_gcda_file): Fix format.
4741 (find_match_gcov_info): Ditto.
4742 (calculate_2_entries): New.
4743 (compute_one_gcov): Ditto.
4744 (gcov_info_count_all_cold): Ditto.
4745 (gcov_info_count_all_zero): Ditto.
4746 (extract_file_basename): Ditto.
4747 (get_file_basename): Ditto.
4748 (set_flag): Ditto.
4749 (matched_gcov_info): Ditto.
4750 (calculate_overlap): Ditto.
4751 (gcov_profile_overlap): Ditto.
4752 * libgcov-driver.c (compute_summary): Make
4753 it avavilable for external calls.
4754
4755 2014-10-06 Rong Xu <xur (a] google.com>
4756
4757 * Makefile.in: Ditto.
4758 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4759 (gcov_sort_icall_topn_counter): Ditto.
4760 (gcov_sort_topn_counter_arrays): Ditto.
4761 (dump_one_gcov): Sort indirect_call topn counters.
4762 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4763 function.
4764 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4765 utility function.
4766 (__gcov_indirect_call_topn_profiler): New profiler function.
4767 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4768 * libgcov.h: New decls.
4769
4770 2014-10-04 Trevor Saunders <tsaunders (a] mozilla.com>
4771
4772 * config.host: Remove support for score-*.
4773
4774 2014-09-22 Joseph Myers <joseph (a] codesourcery.com>
4775
4776 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4777 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4778 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4779 __LIBGCC_XF_MANT_DIG__.
4780 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4781 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4782 __LIBGCC_TF_MANT_DIG__.
4783 * libgcc2.c (NOTRUNC): Define in terms of
4784 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4785 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4786
4787 2014-09-22 Joseph Myers <joseph (a] codesourcery.com>
4788
4789 PR target/63312
4790 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4791 New macros.
4792
4793 2014-09-22 Hans-Peter Nilsson <hp (a] axis.com>
4794
4795 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4796 override USE_PT_GNU_EH_FRAME.
4797 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4798 check USE_EH_FRAME_REGISTRY_ALWAYS against
4799 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4800 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4801 variable for substituted force_explicit_eh_registry.
4802 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4803 * configure.ac (explicit-exception-frame-registration):
4804 New AC_ARG_ENABLE.
4805 * configure: Regenerate.
4806
4807 2014-09-19 Olivier Hainque <hainque (a] adacore.com>
4808
4809 * config.host (powerpc-wrs-vxworksmils): New configuration,
4810 same as vxworksae.
4811
4812 2014-09-18 Joseph Myers <joseph (a] codesourcery.com>
4813
4814 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4815
4816 2014-09-18 Joseph Myers <joseph (a] codesourcery.com>
4817
4818 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4819 bits not set bits as indicating trapping exceptions.
4820
4821 2014-09-17 Nathan sidwell <nathan (a] acm.org>
4822
4823 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4824 (LIBGCOV_DRIVER): ... here.
4825 * libgcov-driver.c (gcov_master): New.
4826 (gcov_exit): Remove from master chain.
4827 (__gcov_init): Add to master chain if version compatible. Don't
4828 clear the version.
4829 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4830 (gcov_reset_int): Clear master chain, if compatible.
4831 (gcov_dump_int): New internal interface. Dump master chain, if
4832 compatible.
4833 (gcov_dump): Alias for gcov_dump_int.
4834 * libgcov.h (struct gcov_root): Add next and prev fields.
4835 (struct gcov_master): New struct.
4836 (__gcov_master): New.
4837 (gcov_dump_int): Declare.
4838
4839 2014-09-17 Olivier Hainque <hainque (a] adacore.com>
4840
4841 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4842 and crtbegin.o + crtend.o to extra_parts.
4843
4844 2014-09-12 Joseph Myers <joseph (a] codesourcery.com>
4845
4846 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4847 __LIBGCC_HAS_SF_MODE__.
4848 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4849 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4850 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4851 * config/libbid/bid_gcc_intrinsics.h
4852 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4853 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4854 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4855 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4856 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4857 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4858
4859 2014-09-11 Georg-Johann Lay <avr (a] gjlay.de>
4860
4861 PR target/63223
4862 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4863 and R24 as needed. Make work for all devices and .text locations.
4864 (__do_global_ctors, __do_global_dtors): Use word addresses.
4865 (__tablejump__, __tablejump_elpm__): Remove functions.
4866 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4867 Add _tablejump2.
4868 (XICALL, XIJMP): New macros.
4869
4870 2014-09-09 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
4871 Ramana Radhakrishnan <ramana.radhakrishnan (a] arm.com>
4872
4873 * config.host (aarch64*): Include crtfastmath.o and
4874 t-crtfm.
4875 * config/aarch64/crtfastmath.c: New file.
4876
4877 2014-09-08 Trevor Saunders <tsaunders (a] mozilla.com>
4878
4879 * config.host: Remove picochip support.
4880 * config/picochip/adddi3.S: Remove.
4881 * config/picochip/ashlsi3.S: Remove.
4882 * config/picochip/ashlsi3.c: Remove.
4883 * config/picochip/ashrsi3.S: Remove.
4884 * config/picochip/ashrsi3.c: Remove.
4885 * config/picochip/clzsi2.S: Remove.
4886 * config/picochip/cmpsi2.S: Remove.
4887 * config/picochip/divmod15.S: Remove.
4888 * config/picochip/divmodhi4.S: Remove.
4889 * config/picochip/divmodsi4.S: Remove.
4890 * config/picochip/lib1funcs.S: Remove.
4891 * config/picochip/longjmp.S: Remove.
4892 * config/picochip/lshrsi3.S: Remove.
4893 * config/picochip/lshrsi3.c: Remove.
4894 * config/picochip/parityhi2.S: Remove.
4895 * config/picochip/popcounthi2.S: Remove.
4896 * config/picochip/setjmp.S: Remove.
4897 * config/picochip/subdi3.S: Remove.
4898 * config/picochip/t-picochip: Remove.
4899 * config/picochip/ucmpsi2.S: Remove.
4900 * config/picochip/udivmodhi4.S: Remove.
4901 * config/picochip/udivmodsi4.S: Remove.
4902
4903 2014-09-08 Joseph Myers <joseph (a] codesourcery.com>
4904
4905 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4906 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4907 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4908 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4909 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4910 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4911 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4912 defined and LIBGCC2_HAS_DF_MODE is defined.
4913 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4914 defined and LIBGCC2_HAS_XF_MODE is defined.
4915 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4916 defined and LIBGCC2_HAS_TF_MODE is defined.
4917
4918 2014-09-08 Joseph Myers <joseph (a] codesourcery.com>
4919
4920 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4921 and ROUND_TOWARDS_ZERO conditionals.
4922
4923 2014-09-07 Nathan sidwell <nathan (a] acm.org>
4924
4925 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4926 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4927
4928 2014-09-05 Joseph Myers <joseph (a] codesourcery.com>
4929
4930 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4931 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4932 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4933 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4934 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4935 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4936 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4937 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4938 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4939 (DWARF_FRAME_REGISTERS): Change all uses to
4940 __LIBGCC_DWARF_FRAME_REGISTERS__.
4941 (EH_RETURN_STACKADJ_RTX): Change all uses to
4942 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4943 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4944 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4945 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4946 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4947 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4948 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4949 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4950 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4951 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4952 __LIBGCC_STACK_POINTER_REGNUM__.
4953 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4954 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4955 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4956 to __LIBGCC_STACK_POINTER_REGNUM__.
4957 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4958 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4959 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4960 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4961 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4962 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4963 (STACK_POINTER_REGNUM): Change all uses to
4964 __LIBGCC_STACK_POINTER_REGNUM__.
4965 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4966 use to __LIBGCC_STACK_POINTER_REGNUM__.
4967 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4968 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4969 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4970 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4971 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4972 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4973 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4974 to __LIBGCC_STACK_POINTER_REGNUM__.
4975 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4976 Remove conditional definition.
4977 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4978 __LIBGCC_TEXT_SECTION_ASM_OP__.
4979 (EH_FRAME_SECTION_NAME): Change all uses to
4980 __LIBGCC_EH_FRAME_SECTION_NAME__.
4981 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4982 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4983 (CTORS_SECTION_ASM_OP): Change all uses to
4984 __LIBGCC_CTORS_SECTION_ASM_OP__.
4985 (DTORS_SECTION_ASM_OP): Change all uses to
4986 __LIBGCC_DTORS_SECTION_ASM_OP__.
4987 (JCR_SECTION_NAME): Change all uses to
4988 __LIBGCC_JCR_SECTION_NAME__.
4989 (INIT_SECTION_ASM_OP): Change all uses to
4990 __LIBGCC_INIT_SECTION_ASM_OP__.
4991 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4992 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4993 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4994 __LIBGCC_STACK_GROWS_DOWNWARD__.
4995 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4996 __LIBGCC_INIT_SECTION_ASM_OP__.
4997 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4998 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4999 (EH_FRAME_SECTION_NAME): Change all uses to
5000 __LIBGCC_EH_FRAME_SECTION_NAME__.
5001 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5002 definitions. Change all uses to
5003 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5004 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5005 __LIBGCC_STACK_GROWS_DOWNWARD__.
5006 (DWARF_FRAME_REGISTERS): Change all uses to
5007 __LIBGCC_DWARF_FRAME_REGISTERS__.
5008 (EH_RETURN_STACKADJ_RTX): Change all uses to
5009 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5010 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5011 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5012 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5013 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5014 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5015
5016 2014-09-02 Nathan sidwell <nathan (a] acm.org>
5017
5018 * libgcov-interface.c (STRONG_ALIAS): New.
5019 (__gcov_flush): Call __gcov_reset_int.
5020 (__gcov_reset): Strong alias for ...
5021 (__gcov_reset_ing): ... this renamed hidden version.
5022 * libgcov.h (__gcov_reset_int): New declaration.
5023
5024 2014-08-19 Yaakov Selkowitz <yselkowi (a] redhat.com>
5025
5026 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5027 call from here...
5028 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5029 (__dso_handle): Define on Cygwin.
5030 * config/i386/t-cygming (crtbeginS.o): New rule.
5031 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5032
5033 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5034 declaration syntax.
5035
5036 2014-08-13 Steve Ellcey <sellcey (a] mips.com>
5037
5038 * crtstuff.c: Undef caddr_t.
5039
5040 2014-08-12 Steve Ellcey <sellcey (a] mips.com>
5041
5042 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
5043
5044 2014-08-07 Nathan Sidwell <nathan (a] acm.org>
5045
5046 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5047 (LIBGCOV_DRIVER): ... to here.
5048 * libgcov.h (gcov_do_dump): New #define.
5049 (struct gcov_root): New.
5050 (__gcov_root): New declaration.
5051 (__gcov_dump_one): Declare.
5052 * libgcov-driver.c (gcov_list, gcov_dump_complete,
5053 run_accounted): Delete.
5054 (gcov_compute_histogram): Add LIST argument, adjust.
5055 (compute_summary): Adjust gcov_compute_histogram call.
5056 (gcov_do_dump): Not hidden, static in libgcov.
5057 (gcov_clear): Move to interface.c.
5058 (__gcov_dump_one): New, broken out of ...
5059 (gcov_exit): ... here. Make static.
5060 (__gcov_root): New.
5061 (__gcov_init): Adjust.
5062 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5063 declarations.
5064 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5065 (gcov_clear): Moved from driver.c. Add LIST argument.
5066 (__gcov_reset): Adjust for changed interfaces.
5067 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5068
5069 2014-08-04 Rohit <rohitarulraj (a] freescale.com>
5070
5071 PR target/60102
5072 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
5073 based on change in SPE high register numbers and 3 HTM registers.
5074
5075 2014-08-01 Nathan Sidwell <nathan (a] acm.org>
5076
5077 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5078 LIBGCOV_INTERFACE): Reformat.
5079 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5080 IN_GCOV_TOOL.
5081 * libgcov-interface.c: Reformat some comments.
5082 (__gcov_flush_mx): Add declaration. Tidy up definition.
5083
5084 2014-07-31 Alan Modra <amodra (a] gmail.com>
5085 Peter Bergner <bergner (a] vnet.ibm.com>
5086
5087 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5088 (pack_ldouble): New function.
5089 (__gcc_qadd): Use it.
5090 (__gcc_qmul): Likewise.
5091 (__gcc_qdiv): Likewise.
5092 (__gcc_qneg): Likewise.
5093 (__gcc_stoq): Likewise.
5094 (__gcc_dtoq): Likewise.
5095
5096 2014-07-30 J. D. Johnston <jjohnst (a] us.ibm.com>
5097
5098 * config/s390/tpf-unwind.h: Include <stdbool.h>.
5099 (__tpf_eh_return): Add original return address as second parameter.
5100 Handle cases where unwinder routines were called directly, instead
5101 of from within the C++ library.
5102
5103 2014-07-29 Nathan Sidwell <nathan (a] acm.org>
5104
5105 * libgcov.h: Move renaming of entry points to lib gcov specific
5106 portion.
5107 (gcov_do_dump): New rename.
5108 (gcov_rewrite): Remove inline, make HIDDEN.
5109 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5110 (gcov_exit_compute_summary): Rename to ...
5111 (compute_summary): ... here. Add LIST argument.
5112 (gcov_exit_merge_gcda): Rename to ...
5113 (merge_one_data): ... here.
5114 (gcov_exit_write_gcda): Rename to ...
5115 (write_one_data): ... here.
5116 (gcov_exit_merge_summary): Rename to ...
5117 (merge_summary): Add RUN_COUNTED argument.
5118 (gcov_exit_dump_gcov): Rename to ...
5119 (dump_one_gcov): Add RUN_COUNTED argument.
5120 (gcov_do_dump): New function, broken out of ...
5121 (gcov_exit): ... here. Call it.
5122
5123 2014-07-27 Anthony Green <green (a] moxielogic.com>
5124
5125 * config.host: Add moxiebox configuration suppport.
5126
5127 2014-07-27 Nathan Sidwell <nathan (a] acm.org>
5128
5129 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5130 (struct gcov_filename): ... here. Include buffer and max length
5131 fields.
5132 (gcov_max_filename): Remove.
5133 (gi_filename): Remove.
5134 (gcov_exit_compute_summary): Compute max filename here.
5135 (gcov_exit_merge_gcda): Add filename parm, adjust.
5136 (gcov_exit_merge_summary): Likewise.
5137 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5138 (gcov_exit): Likewise.
5139 (__gcov_init): Don't calculate max length here.
5140 * libgcov_util.c (max_filename_len): Remove.
5141 (read_gcda_file): Don't calculate max length here.
5142 (gcov_read_profile_dir): Don't propagate here.
5143 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5144 struct gcov_filename changes.
5145 (gcov_exit_open_gcda_file): Likewise.
5146
5147 2014-07-25 Nathan Sidwell <nathan (a] acm.org>
5148
5149 * libgcov-driver.c (set_gcov_dump_complete,
5150 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5151 functions polluting user's namespace.
5152 (gcov_exit): Set variable directly.
5153 (gcov_clear): Reset variable directly.
5154 * libgcov-interface.c (get_gcov_dymp_complete,
5155 reset_gov_dump_complete): Remove declarations.
5156 (__gcov_reset, __gcov_dump): Don't call them.
5157
5158 2014-07-24 DJ Delorie <dj (a] redhat.com>
5159
5160 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5161 (__gcc_deregister_frame): Move logic to detect deregister function
5162 to ...
5163 (__gcc_register_frame): here, so it's consistent with the register
5164 logic.
5165
5166 2014-07-23 Nathan Sidwell <nathan (a] acm.org>
5167
5168 * libgcov-driver.c (set_gcov_list): Remove.
5169 (gcov_list): Make non-static in GCOV_TOOL.
5170 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5171
5172 2014-07-17 John David Anglin <danglin (a] gcc.gnu.org>
5173
5174 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5175 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5176 Don't use SYNC_LOCK_RELEASE for int type.
5177
5178 2014-07-14 Richard Biener <rguenther (a] suse.de>
5179
5180 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5181
5182 2014-07-11 Rong Xu <xur (a] google.com>
5183
5184 * libgcov-util.c (gcov_max_filename): Fix declartion.
5185
5186 2014-07-10 Rong Xu <xur (a] google.com>
5187
5188 Add gcov-tool: an offline gcda profile processing tool
5189 Support.
5190 * libgcov-driver.c (gcov_max_filename): Make available
5191 to gcov-tool.
5192 * libgcov-merge.c (__gcov_merge_add): Replace
5193 gcov_read_counter() with a Macro.
5194 (__gcov_merge_ior): Ditto.
5195 (__gcov_merge_time_profile): Ditto.
5196 (__gcov_merge_single): Ditto.
5197 (__gcov_merge_delta): Ditto.
5198 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5199 in the utility functions.
5200 (set_fn_ctrs): Utility function for reading gcda files to in-memory
5201 gcov_list object link lists.
5202 (tag_function): Ditto.
5203 (tag_blocks): Ditto.
5204 (tag_arcs): Ditto.
5205 (tag_lines): Ditto.
5206 (tag_counters): Ditto.
5207 (tag_summary): Ditto.
5208 (read_gcda_finalize): Ditto.
5209 (read_gcda_file): Ditto.
5210 (ftw_read_file): Ditto.
5211 (read_profile_dir_init): Ditto.
5212 (gcov_read_profile_dir): Ditto.
5213 (gcov_read_counter_mem): Ditto.
5214 (gcov_get_merge_weight): Ditto.
5215 (merge_wrapper): A wrapper function that calls merging handler.
5216 (gcov_merge): Merge two gcov_info objects with weights.
5217 (find_match_gcov_info): Find the matched gcov_info in the list.
5218 (gcov_profile_merge): Merge two gcov_info object lists.
5219 (__gcov_add_counter_op): Process edge profile counter values.
5220 (__gcov_ior_counter_op): Process IOR profile counter values.
5221 (__gcov_delta_counter_op): Process delta profile counter values.
5222 (__gcov_single_counter_op): Process single profile counter values.
5223 (fp_scale): Callback function for float-point scaling.
5224 (int_scale): Callback function for integer fraction scaling.
5225 (gcov_profile_scale): Scaling profile counters.
5226 (gcov_profile_normalize): Normalize profile counters.
5227 * libgcov.h: Add headers and functions for gcov-tool use.
5228 (gcov_get_counter): New.
5229 (gcov_get_counter_target): Ditto.
5230 (struct gcov_info): Make the functions field mutable in gcov-tool
5231 compilation.
5232
5233 2014-06-23 Kai Tietz <ktietz (a] redhat.com>
5234
5235 PR libgcc/61585
5236 * unwind-seh.c (_Unwind_GetGR): Check for proper
5237 index range.
5238 (_Unwind_SetGR): Likewise.
5239
5240 2014-05-22 Nick Clifton <nickc (a] redhat.com>
5241
5242 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5243 -mhwmult=none.
5244
5245 2014-05-22 Teresa Johnson <tejohnson (a] google.com>
5246
5247 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5248 include.
5249
5250 2014-05-20 John Marino <gnugcc (a] marino.st>
5251
5252 * config.host (*-*-dragonfly*): New target.
5253 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5254 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5255 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5256 * config/i386/dragonfly-unwind.h: New.
5257
5258 2014-05-21 Maciej W. Rozycki <macro (a] codesourcery.com>
5259
5260 PR libgcc/60166
5261 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5262 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5263
5264 2014-05-13 Bernd Edlinger <bernd.edlinger (a] hotmail.de>
5265
5266 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5267 implementation.
5268
5269 2014-05-12 Georg-Johann Lay <avr (a] gjlay.de>
5270
5271 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5272
5273 2014-05-08 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
5274
5275 PR libgcc/61097
5276 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5277 if --enable-shared.
5278
5279 2014-04-30 Bernd Edlinger <bernd.edlinger (a] hotmail.de>
5280
5281 Work around for current cygwin32 build problems.
5282 * config/i386/cygming-crtbegin.c (__register_frame_info,
5283 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5284 functions only for 64-bit systems.
5285
5286 2014-04-25 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
5287
5288 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5289 (sigill_caught, sigill_hdlr): Remove.
5290
5291 2014-04-22 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
5292
5293 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5294 check.
5295 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5296 Solaris 9 single-threaded support.
5297 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5298 Solaris 9 single-threaded support. Add call_user_handler code
5299 sequences.
5300 (sparc_is_sighandler): Likewise.
5301
5302 2014-03-27 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
5303
5304 * config.host: Append t-floattodi to tmake_file depending on
5305 host_address.
5306
5307 2014-03-20 Joel Sherrill <joel.sherrill (a] oarcorp.com>
5308
5309 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
5310
5311 2014-03-10 Uros Bizjak <ubizjak (a] gmail.com>
5312
5313 PR libgcc/60472
5314 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
5315 variable to avoid "array subscript is above array bounds" warnings.
5316 Use __builtin_expect when checking *jcr_list for NULL.
5317
5318 2014-03-06 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
5319
5320 PR libgcc/59339
5321 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5322 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5323 vtv_*.o to extra_parts if enable_vtable_verify.
5324
5325 2014-03-06 Nick Clifton <nickc (a] redhat.com>
5326
5327 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5328 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5329
5330 2014-02-28 Joey Ye <joey.ye (a] arm.com>
5331
5332 PR libgcc/60166
5333 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5334 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5335 Set to zero.
5336
5337 2014-02-24 Walter Lee <walt (a] tilera.com>
5338
5339 * config.host: Support "tilegx*" and "tilepro*" triplets.
5340 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5341 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5342
5343 2014-02-20 Sandra Loosemore <sandra (a] codesourcery.com>
5344 Chung-Lin Tang <cltang (a] codesourcery.com>
5345
5346 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5347 * config/nios2/crti.S: Remove .file directive.
5348 * config/nios2/crtn.S: Likewise.
5349
5350 2014-02-18 Kai Tietz <ktietz (a] redhat.com>
5351 Jonathan Schleifer <js (a] webkeks.org>
5352
5353 PR objc/56870
5354 * unwind-seh.c (_GCC_specific_handler): Pass proper
5355 value to unwind-handler.
5356
5357 2014-02-12 Joseph Myers <joseph (a] codesourcery.com>
5358
5359 * soft-fp/adddf3.c: Update from glibc.
5360 * soft-fp/addsf3.c: Likewise.
5361 * soft-fp/addtf3.c: Likewise.
5362 * soft-fp/divdf3.c: Likewise.
5363 * soft-fp/divsf3.c: Likewise.
5364 * soft-fp/divtf3.c: Likewise.
5365 * soft-fp/double.h: Likewise.
5366 * soft-fp/eqdf2.c: Likewise.
5367 * soft-fp/eqsf2.c: Likewise.
5368 * soft-fp/eqtf2.c: Likewise.
5369 * soft-fp/extenddftf2.c: Likewise.
5370 * soft-fp/extended.h: Likewise.
5371 * soft-fp/extendsfdf2.c: Likewise.
5372 * soft-fp/extendsftf2.c: Likewise.
5373 * soft-fp/extendxftf2.c: Likewise.
5374 * soft-fp/fixdfdi.c: Likewise.
5375 * soft-fp/fixdfsi.c: Likewise.
5376 * soft-fp/fixdfti.c: Likewise.
5377 * soft-fp/fixsfdi.c: Likewise.
5378 * soft-fp/fixsfsi.c: Likewise.
5379 * soft-fp/fixsfti.c: Likewise.
5380 * soft-fp/fixtfdi.c: Likewise.
5381 * soft-fp/fixtfsi.c: Likewise.
5382 * soft-fp/fixtfti.c: Likewise.
5383 * soft-fp/fixunsdfdi.c: Likewise.
5384 * soft-fp/fixunsdfsi.c: Likewise.
5385 * soft-fp/fixunsdfti.c: Likewise.
5386 * soft-fp/fixunssfdi.c: Likewise.
5387 * soft-fp/fixunssfsi.c: Likewise.
5388 * soft-fp/fixunssfti.c: Likewise.
5389 * soft-fp/fixunstfdi.c: Likewise.
5390 * soft-fp/fixunstfsi.c: Likewise.
5391 * soft-fp/fixunstfti.c: Likewise.
5392 * soft-fp/floatdidf.c: Likewise.
5393 * soft-fp/floatdisf.c: Likewise.
5394 * soft-fp/floatditf.c: Likewise.
5395 * soft-fp/floatsidf.c: Likewise.
5396 * soft-fp/floatsisf.c: Likewise.
5397 * soft-fp/floatsitf.c: Likewise.
5398 * soft-fp/floattidf.c: Likewise.
5399 * soft-fp/floattisf.c: Likewise.
5400 * soft-fp/floattitf.c: Likewise.
5401 * soft-fp/floatundidf.c: Likewise.
5402 * soft-fp/floatundisf.c: Likewise.
5403 * soft-fp/floatunditf.c: Likewise.
5404 * soft-fp/floatunsidf.c: Likewise.
5405 * soft-fp/floatunsisf.c: Likewise.
5406 * soft-fp/floatunsitf.c: Likewise.
5407 * soft-fp/floatuntidf.c: Likewise.
5408 * soft-fp/floatuntisf.c: Likewise.
5409 * soft-fp/floatuntitf.c: Likewise.
5410 * soft-fp/gedf2.c: Likewise.
5411 * soft-fp/gesf2.c: Likewise.
5412 * soft-fp/getf2.c: Likewise.
5413 * soft-fp/ledf2.c: Likewise.
5414 * soft-fp/lesf2.c: Likewise.
5415 * soft-fp/letf2.c: Likewise.
5416 * soft-fp/muldf3.c: Likewise.
5417 * soft-fp/mulsf3.c: Likewise.
5418 * soft-fp/multf3.c: Likewise.
5419 * soft-fp/negdf2.c: Likewise.
5420 * soft-fp/negsf2.c: Likewise.
5421 * soft-fp/negtf2.c: Likewise.
5422 * soft-fp/op-1.h: Likewise.
5423 * soft-fp/op-2.h: Likewise.
5424 * soft-fp/op-4.h: Likewise.
5425 * soft-fp/op-8.h: Likewise.
5426 * soft-fp/op-common.h: Likewise.
5427 * soft-fp/quad.h: Likewise.
5428 * soft-fp/single.h: Likewise.
5429 * soft-fp/soft-fp.h: Likewise.
5430 * soft-fp/subdf3.c: Likewise.
5431 * soft-fp/subsf3.c: Likewise.
5432 * soft-fp/subtf3.c: Likewise.
5433 * soft-fp/truncdfsf2.c: Likewise.
5434 * soft-fp/trunctfdf2.c: Likewise.
5435 * soft-fp/trunctfsf2.c: Likewise.
5436 * soft-fp/trunctfxf2.c: Likewise.
5437 * soft-fp/unorddf2.c: Likewise.
5438 * soft-fp/unordsf2.c: Likewise.
5439 * soft-fp/unordtf2.c: Likewise.
5440 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5441 macro.
5442 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5443 Likewise.
5444 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5445 Likewise.
5446 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5447 Likewise.
5448 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5449 Likewise.
5450 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5451 Likewise.
5452 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5453 Likewise.
5454 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5455 Likewise.
5456 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5457 Likewise.
5458 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5459 Likewise.
5460 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5461 Likewise.
5462 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5463 Likewise.
5464 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5465 Likewise.
5466 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5467 Likewise.
5468 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5469 Likewise.
5470 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5471 Likewise.
5472
5473 2014-02-07 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
5474
5475 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5476 cannot be represented.
5477 * config/s390/32/_fixsfdi.c: Likewise.
5478 * config/s390/32/_fixtfdi.c: Likewise.
5479 * config/s390/32/_fixunsdfdi.c: Likewise.
5480 * config/s390/32/_fixunssfdi.c: Likewise.
5481 * config/s390/32/_fixunstfdi.c: Likewise.
5482
5483 2014-02-07 Richard Sandiford <rdsandiford (a] googlemail.com>
5484
5485 * configure.ac (libgcc_cv_mips_hard_float): New.
5486 * configure: Regenerate.
5487 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5488 t-softfp-sfdf for hard-float targets.
5489 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5490 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5491 (softfp_truncations, softfp_exclude_libgcc2): New.
5492 * config/t-hardfp: New file.
5493 * config/t-hardfp-sfdf: Likewise.
5494 * config/hardfp.c: Likewise.
5495
5496 2014-02-05 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
5497
5498 * config.host: Include t-floattodi also for s390x.
5499 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5500 * config/s390/32/_fixsfdi.c: Likewise.
5501 * config/s390/32/_fixtfdi.c: Likewise.
5502 * config/s390/32/_fixunsdfdi.c: Likewise.
5503 * config/s390/32/_fixunssfdi.c: Likewise.
5504 * config/s390/32/_fixunstfdi.c: Likewise.
5505
5506 2014-02-04 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
5507
5508 PR target/59788
5509 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5510 (install-libgcc-unwind-map-forbuild): New target.
5511 (all): Depend on install-libgcc-unwind-map-forbuild.
5512 (install-libgcc-unwind-map): New target.
5513 (install): Depend on install-libgcc-unwind-map.
5514
5515 2014-02-02 Sandra Loosemore <sandra (a] codesourcery.com>
5516
5517 * config/nios2/crti.S (_init): Initialize GOT pointer from
5518 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5519
5520 2014-02-02 Richard Sandiford <rdsandiford (a] googlemail.com>
5521
5522 * configure.ac: Check __mips64 when setting host_address.
5523 * configure: Regenerate.
5524 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5525 mips/t-mips64 and t-softfp.
5526 (mips*-*-linux*): Don't add mips/t-tpbit.
5527 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5528 (DPBIT, DPBIT_CFLAGS): Delete.
5529 * config/mips/sfp-machine.h: New file.
5530 * config/mips/t-mips64: Likewise.
5531 * config/mips/t-softfp-tf: Likewise.
5532 * config/mips/t-tpbit: Delete.
5533
5534 2014-01-29 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
5535
5536 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5537 as long long.
5538
5539 2014-01-25 Walter Lee <walt (a] tilera.com>
5540
5541 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5542 config.h or system.h.
5543 (bool) Define.
5544
5545 2014-01-25 Walter Lee <walt (a] tilera.com>
5546
5547 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5548 (post_atomic_barrier): Ditto.
5549 (__fetch_and_do): New macro.
5550 (__atomic_fetch_and_do): Use __fetch_and_do.
5551 (__sync_fetch_and_do): New macro.
5552 (__sync_fetch_and_add_4): New function.
5553 (__sync_fetch_and_sub_4): New function.
5554 (__sync_fetch_and_or_4): New function.
5555 (__sync_fetch_and_and_4): New function.
5556 (__sync_fetch_and_xor_4): New function.
5557 (__sync_fetch_and_nand_4): New function.
5558 (__sync_fetch_and_add_8): New function.
5559 (__sync_fetch_and_sub_8): New function.
5560 (__sync_fetch_and_or_8): New function.
5561 (__sync_fetch_and_and_8): New function.
5562 (__sync_fetch_and_xor_8): New function.
5563 (__sync_fetch_and_nand_8): New function.
5564 (__do_and_fetch): New macro.
5565 (__atomic_do_and_fetch): Use __do_and_fetch.
5566 (__sync_do_and_fetch): New macro.
5567 (__sync_add_and_fetch_4): New function.
5568 (__sync_sub_and_fetch_4): New function.
5569 (__sync_or_and_fetch_4): New function.
5570 (__sync_and_and_fetch_4): New function.
5571 (__sync_xor_and_fetch_4): New function.
5572 (__sync_nand_and_fetch_4): New function.
5573 (__sync_add_and_fetch_8): New function.
5574 (__sync_sub_and_fetch_8): New function.
5575 (__sync_or_and_fetch_8): New function.
5576 (__sync_and_and_fetch_8): New function.
5577 (__sync_xor_and_fetch_8): New function.
5578 (__sync_nand_and_fetch_8): New function.
5579 (__sync_exchange_methods): New macro.
5580 (__sync_val_compare_and_swap_4): New function.
5581 (__sync_bool_compare_and_swap_4): New function.
5582 (__sync_lock_test_and_test_4): New function.
5583 (__sync_val_compare_and_swap_8): New function.
5584 (__sync_bool_compare_and_swap_8): New function.
5585 (__sync_lock_test_and_test_8): New function.
5586 (__subword_cmpxchg_body): New macro.
5587 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5588 (__atomic_compare_exchange_2): Ditto.
5589 (__sync_subword_cmpxchg): New macro.
5590 (__sync_val_compare_and_swap_1): New function.
5591 (__sync_bool_compare_and_swap_1): New function.
5592 (__sync_val_compare_and_swap_2): New function.
5593 (__sync_bool_compare_and_swap_2): New function.
5594 (__atomic_subword): Rename to ...
5595 (__subword): ... New name.
5596 (__atomic_subword_fetch): Use __subword.
5597 (__sync_subword_fetch): New macro.
5598 (__sync_fetch_and_add_1): New function.
5599 (__sync_fetch_and_sub_1): New function.
5600 (__sync_fetch_and_or_1): New function.
5601 (__sync_fetch_and_and_1): New function.
5602 (__sync_fetch_and_xor_1): New function.
5603 (__sync_fetch_and_nand_1): New function.
5604 (__sync_fetch_and_add_2): New function.
5605 (__sync_fetch_and_sub_2): New function.
5606 (__sync_fetch_and_or_2): New function.
5607 (__sync_fetch_and_and_2): New function.
5608 (__sync_fetch_and_xor_2): New function.
5609 (__sync_fetch_and_nand_2): New function.
5610 (__sync_add_and_fetch_1): New function.
5611 (__sync_sub_and_fetch_1): New function.
5612 (__sync_or_and_fetch_1): New function.
5613 (__sync_and_and_fetch_1): New function.
5614 (__sync_xor_and_fetch_1): New function.
5615 (__sync_nand_and_fetch_1): New function.
5616 (__sync_add_and_fetch_2): New function.
5617 (__sync_sub_and_fetch_2): New function.
5618 (__sync_or_and_fetch_2): New function.
5619 (__sync_and_and_fetch_2): New function.
5620 (__sync_xor_and_fetch_2): New function.
5621 (__sync_nand_and_fetch_2): New function.
5622 (__atomic_subword_lock): Use __subword.
5623 (__sync_subword_lock): New macro.
5624 (__sync_lock_test_and_set_1): New function.
5625 (__sync_lock_test_and_set_2): New function.
5626
5627 2014-01-25 Walter Lee <walt (a] tilera.com>
5628
5629 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5630 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5631 (__atomic_subword): Ditto.
5632
5633 2014-01-25 Walter Lee <walt (a] tilera.com>
5634
5635 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5636 a prefix op argument.
5637 (__atomic_nand_fetch_4): Add prefix op.
5638 (__atomic_nand_fetch_8): Ditto.
5639
5640 2014-01-21 Baruch Siach <barch (a] tkos.co.il>
5641
5642 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5643
5644 2014-01-09 Rong Xu <xur (a] google.com>
5645
5646 * libgcov-driver.c (this_prg): make it local to save
5647 bss space.
5648 (gcov_exit_compute_summary): Ditto.
5649 (gcov_exit_merge_gcda): Ditto.
5650 (gcov_exit_merge_summary): Ditto.
5651 (gcov_exit_dump_gcov): Ditto.
5652
5653 2014-01-08 Rong Xu <xur (a] google.com>
5654
5655 * libgcov-driver.c: Use libgcov.h.
5656 (buffer_fn_data): Use xmalloc instead of malloc.
5657 (gcov_exit_merge_gcda): Ditto.
5658 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5659 * libgcov.h: New common header files for libgcov-*.h.
5660 * libgcov-interface.c: Use libgcov.h
5661 * libgcov-merge.c: Ditto.
5662 * libgcov-profiler.c: Ditto.
5663 * Makefile.in: Add dependence to libgcov.h
5664
5665 2014-01-02 Joseph Myers <joseph (a] codesourcery.com>
5666
5667 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5668 case of small numerator and finite nonzero result.
5669
5670 2014-01-02 Richard Sandiford <rdsandiford (a] googlemail.com>
5671
5672 Update copyright years
5673
5674 2014-01-02 Richard Sandiford <rdsandiford (a] googlemail.com>
5675
5676 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5677 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5678 config/arc/dp-hack.h, config/arc/fp-hack.h,
5679 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5680 config/arc/ieee-754/arc600-dsp/divdf3.S,
5681 config/arc/ieee-754/arc600-dsp/divsf3.S,
5682 config/arc/ieee-754/arc600-dsp/muldf3.S,
5683 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5684 config/arc/ieee-754/arc600-mul64/divdf3.S,
5685 config/arc/ieee-754/arc600-mul64/divsf3.S,
5686 config/arc/ieee-754/arc600-mul64/muldf3.S,
5687 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5688 config/arc/ieee-754/arc600/divsf3.S,
5689 config/arc/ieee-754/arc600/mulsf3.S,
5690 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5691 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5692 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5693 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5694 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5695 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5696 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5697 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5698 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5699 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5700 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5701 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5702 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5703 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5704 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5705 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5706 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5707 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5708 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5709 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5710 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5711 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5712 vtv_start_preinit.c: Use the standard form for the copyright notice.
5713
5714 2013-12-31 Sandra Loosemore <sandra (a] codesourcery.com>
5715 Chung-Lin Tang <cltang (a] codesourcery.com>
5716 Based on patches from Altera Corporation
5717
5718 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5719 * config/nios2/lib2-nios2.h: New file.
5720 * config/nios2/lib2-divmod-hi.c: New file.
5721 * config/nios2/linux-unwind.h: New file.
5722 * config/nios2/lib2-divmod.c: New file.
5723 * config/nios2/linux-atomic.c: New file.
5724 * config/nios2/t-nios2: New file.
5725 * config/nios2/crti.asm: New file.
5726 * config/nios2/t-linux: New file.
5727 * config/nios2/lib2-divtable.c: New file.
5728 * config/nios2/lib2-mul.c: New file.
5729 * config/nios2/tramp.c: New file.
5730 * config/nios2/crtn.asm: New file.
5731
5732 2013-12-26 Uros Bizjak <ubizjak (a] gmail.com>
5733
5734 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5735 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5736 from cpuid.h to check vendor signatures.
5737
5738 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian (a] amd.com>
5739
5740 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
5741 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5742 (get_amd_cpu): Likewise.
5743
5744 2013-12-25 H.J. Lu <hongjiu.lu (a] intel.com>
5745
5746 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5747 Haswell.
5748
5749 2013-12-25 Allan Sandfeld Jensen <sandfeld (a] kde.org>
5750 H.J. Lu <hongjiu.lu (a] intel.com>
5751
5752 PR target/59422
5753 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
5754 and AMD_JAGUAR.
5755 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5756 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5757 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5758 FEATURE_XOP and FEATURE_FMA.
5759 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5760 AMDFAM15H_BDVER3.
5761 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
5762 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
5763 FEATURE_FMA4 and FEATURE_XOP.
5764
5765 2013-12-23 H.J. Lu <hongjiu.lu (a] intel.com>
5766
5767 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5768 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5769 (get_intel_cpu): Updated.
5770
5771 2013-12-12 Zhenqiang Chen <zhenqiang.chen (a] arm.com>
5772
5773 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5774
5775 2013-12-09 Uros Bizjak <ubizjak (a] gmail.com>
5776
5777 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5778 instructions when __SSE_MATH__ is defined.
5779
5780 2013-12-06 Ralf Corspius <ralf.corsepius (a] rtems.org>
5781
5782 * config.host (microblaze-*-rtems*): New.
5783
5784 2013-12-04 Kugan Vivekanandarajah <kuganv (a] linaro.org>
5785
5786 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5787 architectures that do not have hardware divide instruction.
5788 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5789
5790 2013-12-04 Richard Sandiford <rdsandiford (a] googlemail.com>
5791
5792 * longlong.h: Delete (moved to include/).
5793
5794 2013-12-03 Adhemerval Zanella <azanella (a] linux.vnet.ibm.com>
5795
5796 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5797 of normal number and qNaN to not raise an inexact exception.
5798
5799 2013-11-28 Uros Bizjak <ubizjak (a] gmail.com>
5800
5801 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5802
5803 2013-11-28 Matthew Leach <matthew.leach (a] arm.com>
5804
5805 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5806 for correct opcodes on BE.
5807
5808 2013-11-27 Uros Bizjak <ubizjak (a] gmail.com>
5809
5810 * soft-fp/op-4.h: Update from glibc.
5811
5812 2013-11-27 Kugan Vivekanandarajah <kuganv (a] linaro.org>
5813
5814 * libgcc2.c (__udivmoddi4): Define new implementation when
5815 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5816 divide instructions.
5817
5818 2013-11-25 Oleg Endo <olegendo (a] gcc.gnu.org>
5819
5820 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5821
5822 2013-11-25 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
5823
5824 * config/t-softfp (soft-fp-objects-base): New variable.
5825 (soft-fp-objects): Use it.
5826
5827 2013-11-23 David Edelson <dje.gcc (a] gmail.com>
5828 Andrew Dixie <andrewd (a] gentrack.com>
5829
5830 PR target/33704
5831 * config/rs6000/aixinitfini.c: New file.
5832 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5833 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5834 symbols.
5835
5836 2013-11-22 Yuri Rumyantsev <ysrumyan (a] gmail.com>
5837
5838 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
5839
5840 2013-11-18 Jan Hubicka <jh (a] suse.cz>
5841
5842 * libgcov-driver.c (run_accounted): Make global level static.
5843 (gcov_exit_merge_summary): Silence warning; do not clear
5844 run_accounted here.
5845 (gcov_exit): Clear it here.
5846
5847 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5848 run_accounted.
5849
5850 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5851 (all_prg, crc32): Remove static vars.
5852 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5853 all_prg.
5854 (gcov_exit_merge_gcda): Add crc32 parameter.
5855 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5856 do not account run if it was already accounted.
5857 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5858 (gcov_exit): Initialize all_prg; update.
5859
5860 2013-11-15 Andreas Schwab <schwab (a] linux-m68k.org>
5861
5862 * configure: Regenerate.
5863
5864 2013-11-14 Ulrich Weigand <Ulrich.Weigand (a] de.ibm.com>
5865 Alan Modra <amodra (a] gmail.com>
5866
5867 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5868 (frob_update_context): Use it.
5869
5870 2013-11-14 Ulrich Weigand <Ulrich.Weigand (a] de.ibm.com>
5871 Alan Modra <amodra (a] gmail.com>
5872
5873 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5874 (trampoline_initial): Provide ELFv2 variant.
5875 (__trampoline_setup): Likewise.
5876
5877 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5878 check for AIX indirect function call sequence if _CALL_ELF == 2.
5879
5880 2013-11-14 Ulrich Weigand <Ulrich.Weigand (a] de.ibm.com>
5881 Alan Modra <amodra (a] gmail.com>
5882
5883 * config/rs6000/linux-unwind.h (get_regs): Do not support
5884 old kernel versions if _CALL_ELF == 2.
5885 (frob_update_context): Do not support PLT stub variants only
5886 generated by old linkers if _CALL_ELF == 2.
5887
5888 2013-11-14 Ulrich Weigand <Ulrich.Weigand (a] de.ibm.com>
5889 Alan Modra <amodra (a] gmail.com>
5890
5891 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5892 location of CR save area for 64-bit little-endian systems.
5893
5894 2013-11-11 Eric Botcazou <ebotcazou (a] adacore.com>
5895
5896 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5897 in tmake_file.
5898 * config/arm/t-vxworks: Delete.
5899
5900 2013-11-10 Kai Tietz <ktietz (a] redhat.com>
5901
5902 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5903 Increment load-count on use of LIBGCC_SONAME DLL.
5904 (hmod_libgcc): New static variable to hold handle of
5905 LIBGCC_SONAME DLL.
5906 (__gcc_deregister_frame): Decrement load-count of
5907 LIBGCC_SONAME DLL.
5908
5909 2013-11-08 Bernhard Reutner-Fischer <aldot (a] gcc.gnu.org>
5910
5911 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5912 availability.
5913 * configure: Regenerate
5914
5915 2013-11-07 Uros Bizjak <ubizjak (a] gmail.com>
5916
5917 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5918 FP_EX_DENORM. Store result to volatile location after SSE division
5919 to close interrupt window. Remove unneeded fwait after x87
5920 division since interrupt window will be closed by emitted fstp.
5921 Rewrite FP_EX_INEXACT handling.
5922
5923 2013-11-06 Joseph Myers <joseph (a] codesourcery.com>
5924
5925 * soft-fp/README: Update.
5926 * soft-fp/adddf3.c: Update from glibc.
5927 * soft-fp/addsf3.c: Likewise.
5928 * soft-fp/addtf3.c: Likewise.
5929 * soft-fp/divdf3.c: Likewise.
5930 * soft-fp/divsf3.c: Likewise.
5931 * soft-fp/divtf3.c: Likewise.
5932 * soft-fp/double.h: Likewise.
5933 * soft-fp/eqdf2.c: Likewise.
5934 * soft-fp/eqsf2.c: Likewise.
5935 * soft-fp/eqtf2.c: Likewise.
5936 * soft-fp/extenddftf2.c: Likewise.
5937 * soft-fp/extended.h: Likewise.
5938 * soft-fp/extendsfdf2.c: Likewise.
5939 * soft-fp/extendsftf2.c: Likewise.
5940 * soft-fp/extendxftf2.c: Likewise.
5941 * soft-fp/fixdfdi.c: Likewise.
5942 * soft-fp/fixdfsi.c: Likewise.
5943 * soft-fp/fixdfti.c: Likewise.
5944 * soft-fp/fixsfdi.c: Likewise.
5945 * soft-fp/fixsfsi.c: Likewise.
5946 * soft-fp/fixsfti.c: Likewise.
5947 * soft-fp/fixtfdi.c: Likewise.
5948 * soft-fp/fixtfsi.c: Likewise.
5949 * soft-fp/fixtfti.c: Likewise.
5950 * soft-fp/fixunsdfdi.c: Likewise.
5951 * soft-fp/fixunsdfsi.c: Likewise.
5952 * soft-fp/fixunsdfti.c: Likewise.
5953 * soft-fp/fixunssfdi.c: Likewise.
5954 * soft-fp/fixunssfsi.c: Likewise.
5955 * soft-fp/fixunssfti.c: Likewise.
5956 * soft-fp/fixunstfdi.c: Likewise.
5957 * soft-fp/fixunstfsi.c: Likewise.
5958 * soft-fp/fixunstfti.c: Likewise.
5959 * soft-fp/floatdidf.c: Likewise.
5960 * soft-fp/floatdisf.c: Likewise.
5961 * soft-fp/floatditf.c: Likewise.
5962 * soft-fp/floatsidf.c: Likewise.
5963 * soft-fp/floatsisf.c: Likewise.
5964 * soft-fp/floatsitf.c: Likewise.
5965 * soft-fp/floattidf.c: Likewise.
5966 * soft-fp/floattisf.c: Likewise.
5967 * soft-fp/floattitf.c: Likewise.
5968 * soft-fp/floatundidf.c: Likewise.
5969 * soft-fp/floatundisf.c: Likewise.
5970 * soft-fp/floatunditf.c: Likewise.
5971 * soft-fp/floatunsidf.c: Likewise.
5972 * soft-fp/floatunsisf.c: Likewise.
5973 * soft-fp/floatunsitf.c: Likewise.
5974 * soft-fp/floatuntidf.c: Likewise.
5975 * soft-fp/floatuntisf.c: Likewise.
5976 * soft-fp/floatuntitf.c: Likewise.
5977 * soft-fp/gedf2.c: Likewise.
5978 * soft-fp/gesf2.c: Likewise.
5979 * soft-fp/getf2.c: Likewise.
5980 * soft-fp/ledf2.c: Likewise.
5981 * soft-fp/lesf2.c: Likewise.
5982 * soft-fp/letf2.c: Likewise.
5983 * soft-fp/muldf3.c: Likewise.
5984 * soft-fp/mulsf3.c: Likewise.
5985 * soft-fp/multf3.c: Likewise.
5986 * soft-fp/negdf2.c: Likewise.
5987 * soft-fp/negsf2.c: Likewise.
5988 * soft-fp/negtf2.c: Likewise.
5989 * soft-fp/op-1.h: Likewise.
5990 * soft-fp/op-2.h: Likewise.
5991 * soft-fp/op-4.h: Likewise.
5992 * soft-fp/op-8.h: Likewise.
5993 * soft-fp/op-common.h: Likewise.
5994 * soft-fp/quad.h: Likewise.
5995 * soft-fp/single.h: Likewise.
5996 * soft-fp/soft-fp.h: Likewise.
5997 * soft-fp/subdf3.c: Likewise.
5998 * soft-fp/subsf3.c: Likewise.
5999 * soft-fp/subtf3.c: Likewise.
6000 * soft-fp/truncdfsf2.c: Likewise.
6001 * soft-fp/trunctfdf2.c: Likewise.
6002 * soft-fp/trunctfsf2.c: Likewise.
6003 * soft-fp/trunctfxf2.c: Likewise.
6004 * soft-fp/unorddf2.c: Likewise.
6005 * soft-fp/unordsf2.c: Likewise.
6006 * soft-fp/unordtf2.c: Likewise.
6007
6008 2013-11-05 Uros Bizjak <ubizjak (a] gmail.com>
6009
6010 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6011 (_FP_MUL_MEAT_D): Ditto.
6012 (_FP_DIV_MEAT_S): Ditto.
6013 (_FP_DIV_MEAT_D): Ditto.
6014 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6015 t-softfp-sfdf and t-softfp to tmake_file.
6016
6017 2013-11-03 Uros Bizjak <ubizjak (a] gmail.com>
6018
6019 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6020 * config/i386/crtprec.c: Ditto.
6021
6022 2013-10-31 Chung-Ju Wu <jasonwucj (a] gmail.com>
6023 Shiva Chen <shiva0217 (a] gmail.com>
6024
6025 * config.host (nds32*-elf*): Add nds32 target.
6026 * config/nds32 : New directory and files.
6027
6028 2013-10-16 Hans-Peter Nilsson <hp (a] axis.com>
6029
6030 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
6031 * config.host (cpu_type) <Setting default>: Add entry for
6032 crisv32-*-*.
6033 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6034 <crisv32-*-linux*>: Adjust.
6035 * longlong.h: Wrap the whole CRIS section in a single
6036 defined(__CRIS__) conditional. Add comment about add_ssaaaa
6037 and sub_ddmmss.
6038 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6039 defined.
6040 [__CRIS__] (__umulsidi3): Define.
6041 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6042 * config/cris/sfp-machine.h: New file.
6043 * config/cris/umulsidi3.S: New file.
6044 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6045 * config/cris/arit.c (SIGNMULT): New macro.
6046 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6047 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6048 saving 3 out of originally 33 cycles from the fastest
6049 path, 3 out of 54 from the medium path and one from the longest
6050 path. Improve comments.
6051
6052 2013-10-15 Richard Sandiford <rdsandiford (a] googlemail.com>
6053
6054 * sync.c: Remove static aliases and define each function directly
6055 under its real name.
6056
6057 2013-10-02 John David Anglin <danglin (a] gcc.gnu.org>
6058
6059 * config.host (hppa*64*-*-linux*): Define extra_parts.
6060 (hppa*-*-linux*): Likewise.
6061
6062 2013-10-02 Joern Rennecke <joern.rennecke (a] embecosm.com>
6063
6064 * config/arc/crtgend.S: Add 2013 to Copyright years.
6065 * config/arc/gmon/atomic.h: Likewise.
6066 * config/arc/gmon/auxreg.h: Likewise.
6067 * config/arc/gmon/sys/gmon_out.h: Likewise.
6068 * config/arc/gmon/sys/gmon.h: Likewise.
6069 * config/arc/gmon/prof-freq.c: Likewise.
6070 * config/arc/gmon/mcount.c: Likewise.
6071 * config/arc/gmon/prof-freq-stub.S: Likewise.
6072 * config/arc/gmon/gmon.c: Likewise.
6073 * config/arc/gmon/machine-gmon.h: Likewise.
6074 * config/arc/gmon/profil.S: Likewise.
6075 * config/arc/gmon/dcache_linesz.S: Likewise.
6076 * config/arc/crtg.S: Likewise.
6077 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6078 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6079 * config/arc/ieee-754/adddf3.S: Likewise.
6080 * config/arc/ieee-754/truncdfsf2.S: Likewise.
6081 * config/arc/ieee-754/fixsfsi.S: Likewise.
6082 * config/arc/ieee-754/gtsf2.S: Likewise.
6083 * config/arc/ieee-754/floatsisf.S: Likewise.
6084 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6085 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6086 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6087 * config/arc/ieee-754/fixdfsi.S: Likewise.
6088 * config/arc/ieee-754/addsf3.S: Likewise.
6089 * config/arc/ieee-754/gesf2.S: Likewise.
6090 * config/arc/ieee-754/floatsidf.S: Likewise.
6091 * config/arc/ieee-754/extendsfdf2.S: Likewise.
6092 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6093 * config/arc/ieee-754/gtdf2.S: Likewise.
6094 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6095 * config/arc/ieee-754/uneqdf2.S: Likewise.
6096 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6097 * config/arc/ieee-754/uneqsf2.S: Likewise.
6098 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6099 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6100 * config/arc/ieee-754/eqdf2.S: Likewise.
6101 * config/arc/ieee-754/ordsf2.S: Likewise.
6102 * config/arc/ieee-754/divsf3.S: Likewise.
6103 * config/arc/ieee-754/divdf3.S: Likewise.
6104 * config/arc/ieee-754/floatunsidf.S: Likewise.
6105 * config/arc/ieee-754/orddf2.S: Likewise.
6106 * config/arc/ieee-754/eqsf2.S: Likewise.
6107 * config/arc/ieee-754/gedf2.S: Likewise.
6108 * config/arc/crtn.S: Likewise.
6109 * config/arc/crti.S: Likewise.
6110 * config/arc/t-arc700-uClibc: Likewise.
6111 * config/arc/asm.h: Likewise.
6112 * config/arc/libgcc-excl.ver: Likewise.
6113 * config/arc/t-arc-newlib: Likewise.
6114 * config/arc/divtab-arc700.c: Likewise.
6115 * config/arc/initfini.c: Likewise.
6116 * config/arc/fp-hack.h: Likewise.
6117
6118 2013-10-01 Joern Rennecke <joern.rennecke (a] embecosm.com>
6119 Diego Novillo <dnovillo (a] google.com>
6120
6121 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
6122 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6123 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6124 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
6125
6126 2013-10-01 Joern Rennecke <joern.rennecke (a] embecosm.com>
6127 Brendan Kehoe <brendan (a] zen.org>
6128 Simon Cook <simon.cook (a] embecosm.com>
6129
6130 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6131 * config/arc: New directory.
6132 * longlong.h [__arc__] (umul_ppmm): Remove.
6133 [__arc__] (__umulsidi3): Define.
6134 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6135 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6136
6137 2013-09-17 Jacek Caban <jacek (a] codeweavers.com>
6138
6139 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6140 CreateSemaphoreA.
6141 * config/i386/gthr-win32.h: Likewise.
6142
6143 2013-09-16 DJ Delorie <dj (a] redhat.com>
6144
6145 * config/rl78/vregs.h: Add G10 register definitions.
6146 * config/rl78/lib2mul.c: Enable for RL78/G10.
6147 * config/rl78/lib2div.c: Likewise.
6148 * config/rl78/lshrsi3.S: Use vregs.h.
6149 * config/rl78/cmpsi2.S: Likewise.
6150 * config/rl78/trampoline.S: Likewise.
6151 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
6152
6153 2013-09-14 DJ Delorie <dj (a] redhat.com>
6154 Nick Clifton <nickc (a] redhat.com>
6155
6156 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6157 * config/rl78/vregs.h: New.
6158 * config/rl78/signbit.S: New file. Implements signbit function.
6159 * config/rl78/divmodsi.S: New.
6160 * config/rl78/divmodhi.S: New.
6161 * config/rl78/divmodqi.S: New.
6162 * config/rl78/t-rl78: Build them here...
6163 * config/rl78/lib2div.c: ...but not here.
6164
6165 2013-09-12 DJ Delorie <dj (a] redhat.com>
6166
6167 * config.host (msp*-*-elf): New.
6168 * config/msp430/: New port.
6169
6170 2013-08-18 Iain Sandoe <iain (a] codesourcery.com>
6171
6172 PR gcov-profile/58127
6173 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6174 __thread var for emulated TLS.
6175 (__gcov_indirect_call_counters): Likewise.
6176
6177 2013-08-16 Maciej W. Rozycki <macro (a] codesourcery.com>
6178 Catherine Moore <clm (a] codesourcery.com>
6179 Richard Sandiford <rdsandiford (a] googlemail.com>
6180
6181 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6182 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6183 (CALL_STUB_NO_RET): Likewise.
6184 (CALL_STUB_RET): Likewise.
6185 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6186 __mips16_ret call/return stub symbols.
6187 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6188 to tmake_file.
6189
6190 2013-08-13 Maciej W. Rozycki <macro (a] codesourcery.com>
6191
6192 * config.host <mips*-*-linux*>: Remove a stray comment.
6193
6194 2013-08-10 Jan Hubicka <jh (a] suse.cz>
6195
6196 Work around binutils PR14342
6197 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6198 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6199 (L_gcov_indirect_call_profiler_v2): New.
6200
6201 2013-08-06 Jan Hubicka <jh (a] suse.cz>
6202
6203 * libgcov.c (__gcov_indirect_call_callee,
6204 __gcov_indirect_call_counters): New global vars.
6205 (__gcov_indirect_call_profiler): replace by ...
6206 (__gcov_indirect_call_profiler_v2) ... this one.
6207
6208 2013-08-06 Caroline Tice <cmtice (a] google.com>
6209
6210 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
6211 vtv_start_preinit.o and vtv_end_preinit.o.
6212 * configure.ac: Add code to check/set enable_vtable_verify.
6213 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
6214 true.
6215 * vtv_start_preinit.c: New file.
6216 * vtv_end_preinit.c: New file.
6217 * vtv_start.c: New file.
6218 * vtv_end.c: New file.
6219 * configure: Regenerated.
6220
6221 2013-08-01 Maxim Kuvyrkov <maxim (a] kugelworks.com>
6222
6223 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6224 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6225 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6226 GPL-3.0-with-GCC-exception.
6227
6228 2013-07-30 Maciej W. Rozycki <macro (a] codesourcery.com>
6229
6230 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6231 ISA and up.
6232
6233 2013-07-23 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
6234
6235 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6236 mapping for FPRs when creating the fallback framestate.
6237
6238 2013-07-19 Georg-Johann Lay <avr (a] gjlay.de>
6239
6240 PR target/57516
6241 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6242 (__round_s2_const, __round_u2_const)
6243 (__round_s4_const, __round_u4_const, __round_x8):
6244 Saturate result if addition result cannot be represented.
6245
6246 2013-07-15 Matthias Klose <doko (a] ubuntu.com>
6247
6248 * libgcc2.c: Don't include <limits.h>.
6249
6250 2013-07-09 Janis Johnson <janisjo (a] codesourcery.com>
6251
6252 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6253
6254 2013-07-06 Jakub Jelinek <jakub (a] redhat.com>
6255
6256 PR target/29776
6257 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6258
6259 2013-06-28 Jakub Jelinek <jakub (a] redhat.com>
6260
6261 PR middle-end/36041
6262 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6263 Define.
6264 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6265 instead of table lookups.
6266 (__popcountDI2): Likewise.
6267
6268 2013-06-25 Chung-Ju Wu <jasonwucj (a] gmail.com>
6269
6270 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6271 correctly.
6272
6273 2013-06-21 Joseph Myers <joseph (a] codesourcery.com>
6274
6275 PR other/53317
6276 * soft-fp/adddf3.c: Update from glibc.
6277 * soft-fp/addsf3.c: Likewise.
6278 * soft-fp/addtf3.c: Likewise.
6279 * soft-fp/divdf3.c: Likewise.
6280 * soft-fp/divsf3.c: Likewise.
6281 * soft-fp/divtf3.c: Likewise.
6282 * soft-fp/double.h: Likewise.
6283 * soft-fp/eqdf2.c: Likewise.
6284 * soft-fp/eqsf2.c: Likewise.
6285 * soft-fp/eqtf2.c: Likewise.
6286 * soft-fp/extenddftf2.c: Likewise.
6287 * soft-fp/extended.h: Likewise.
6288 * soft-fp/extendsfdf2.c: Likewise.
6289 * soft-fp/extendsftf2.c: Likewise.
6290 * soft-fp/fixdfdi.c: Likewise.
6291 * soft-fp/fixdfsi.c: Likewise.
6292 * soft-fp/fixsfdi.c: Likewise.
6293 * soft-fp/fixsfsi.c: Likewise.
6294 * soft-fp/fixtfdi.c: Likewise.
6295 * soft-fp/fixtfsi.c: Likewise.
6296 * soft-fp/fixunsdfdi.c: Likewise.
6297 * soft-fp/fixunsdfsi.c: Likewise.
6298 * soft-fp/fixunssfdi.c: Likewise.
6299 * soft-fp/fixunssfsi.c: Likewise.
6300 * soft-fp/fixunstfdi.c: Likewise.
6301 * soft-fp/fixunstfsi.c: Likewise.
6302 * soft-fp/floatdidf.c: Likewise.
6303 * soft-fp/floatdisf.c: Likewise.
6304 * soft-fp/floatditf.c: Likewise.
6305 * soft-fp/floatsidf.c: Likewise.
6306 * soft-fp/floatsisf.c: Likewise.
6307 * soft-fp/floatsitf.c: Likewise.
6308 * soft-fp/floatundidf.c: Likewise.
6309 * soft-fp/floatundisf.c: Likewise.
6310 * soft-fp/floatunditf.c: Likewise.
6311 * soft-fp/floatunsidf.c: Likewise.
6312 * soft-fp/floatunsisf.c: Likewise.
6313 * soft-fp/floatunsitf.c: Likewise.
6314 * soft-fp/gedf2.c: Likewise.
6315 * soft-fp/gesf2.c: Likewise.
6316 * soft-fp/getf2.c: Likewise.
6317 * soft-fp/ledf2.c: Likewise.
6318 * soft-fp/lesf2.c: Likewise.
6319 * soft-fp/letf2.c: Likewise.
6320 * soft-fp/muldf3.c: Likewise.
6321 * soft-fp/mulsf3.c: Likewise.
6322 * soft-fp/multf3.c: Likewise.
6323 * soft-fp/negdf2.c: Likewise.
6324 * soft-fp/negsf2.c: Likewise.
6325 * soft-fp/negtf2.c: Likewise.
6326 * soft-fp/op-1.h: Likewise.
6327 * soft-fp/op-2.h: Likewise.
6328 * soft-fp/op-4.h: Likewise.
6329 * soft-fp/op-8.h: Likewise.
6330 * soft-fp/op-common.h: Likewise.
6331 * soft-fp/quad.h: Likewise.
6332 * soft-fp/single.h: Likewise.
6333 * soft-fp/soft-fp.h: Likewise.
6334 * soft-fp/subdf3.c: Likewise.
6335 * soft-fp/subsf3.c: Likewise.
6336 * soft-fp/subtf3.c: Likewise.
6337 * soft-fp/truncdfsf2.c: Likewise.
6338 * soft-fp/trunctfdf2.c: Likewise.
6339 * soft-fp/trunctfsf2.c: Likewise.
6340 * soft-fp/unorddf2.c: Likewise.
6341 * soft-fp/unordsf2.c: Likewise.
6342 * soft-fp/unordtf2.c: Likewise.
6343 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6344 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6345 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6346 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6347 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6348 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6349 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6350 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6351 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6352 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6353 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6354 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6355
6356 2013-06-16 Jrgen Urban <JuergenUrban (a] gmx.de>
6357
6358 * config/mips/lib2funcs.c: New file.
6359 * config/mips/t-mips (LIB2ADD_ST): Add it.
6360
6361 2013-06-09 Oleg Endo <olegendo (a] gcc.gnu.org>
6362
6363 PR target/6526
6364 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6365 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
6366
6367 2013-06-08 Walter Lee <walt (a] tilera.com>
6368
6369 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6370 Replace int64_t with long long. Add __extension__ where
6371 appropriate.
6372 * config/tilepro/atomic.c: Include config.h.
6373
6374 2013-06-06 Douglas B Rupp <rupp (a] adacore.com>
6375
6376 * config.host (arm-wrs-vxworks): Configure with other soft float.
6377
6378 2013-06-04 Jrgen Urban <JuergenUrban (a] gmx.de>
6379
6380 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6381 (mips64r5900el-*-elf*): New configurations.
6382
6383 2013-06-04 Alan Modra <amodra (a] gmail.com>
6384
6385 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6386
6387 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev (a] intel.com>
6388
6389 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6390
6391 2013-05-28 Eric Botcazou <ebotcazou (a] adacore.com>
6392
6393 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6394 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6395 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6396
6397 2013-05-22 Eric Botcazou <ebotcazou (a] adacore.com>
6398
6399 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6400 (powerpc-wrs-vxworks): Likewise.
6401
6402 2013-05-22 Eric Botcazou <ebotcazou (a] adacore.com>
6403
6404 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6405 signal frames as well.
6406 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6407 STACK_BIAS to the CFA offset.
6408
6409 2013-05-17 Richard Henderson <rth (a] redhat.com>
6410
6411 PR target/49146
6412 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6413 (execute_cfa_program): Use it when storing to fs->regs.
6414
6415 2013-05-08 Kai Tietz <ktietz (a] redhat.com>
6416
6417 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6418 (__deregister_frame_info): Likewise.
6419
6420 2013-05-06 Thomas Schwinge <thomas (a] codesourcery.com>
6421
6422 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6423 NaN's payload.
6424
6425 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6426
6427 2013-04-25 Alan Modra <amodra (a] gmail.com>
6428
6429 * config.host: Match little-endian powerpc-linux.
6430
6431 2013-04-19 Yufeng Zhang <yufeng.zhang (a] arm.com>
6432
6433 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6434 as 'unsigned long long' instead of 'unsigned long'.
6435 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6436 'signed long'.
6437
6438 2013-04-10 Julian Brown <julian (a] codesourcery.com>
6439
6440 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6441 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6442 unsigned char/unsigned short.
6443 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6444
6445 2013-04-06 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
6446
6447 PR other/55274
6448 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6449
6450 2013-04-04 Meador Inge <meadori (a] codesourcery.com>
6451
6452 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6453 computing the location of the link register.
6454 (aeabi_uldivmod): Ditto.
6455
6456 2013-03-27 Kai Tietz <ktietz (a] redhat.com>
6457
6458 * config.host: Add support for cygwin x64 target.
6459 * configure: Regenerated.
6460
6461 2013-03-26 Walter Lee <walt (a] tilera.com>
6462
6463 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6464 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6465
6466 2013-03-25 Kai Tietz <ktietz (a] redhat.com>
6467
6468 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6469
6470 2013-03-20 Robert Mason <rbmj (a] verizon.net>
6471
6472 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6473 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6474 (__gthread_leave_tsd_dtor_context): Add prototypes.
6475 (tls_delete_hook): Update.
6476
6477 2013-03-20 Catherine Moore <clm (a] codesourcery.com>
6478 Joseph Myers <joseph (a] codesourcery.com>
6479 Chao-ying Fu <fu (a] mips.com>
6480
6481 * config/mips/mips16.S: Don't build for microMIPS.
6482 * config/mips/linux-unwind.h: Handle microMIPS frame.
6483 * config/mips/crtn.S (fini, init): New labels.
6484
6485 2013-03-14 Jakub Jelinek <jakub (a] redhat.com>
6486
6487 PR tree-optimization/53265
6488 * unwind-dw2.c (execute_cfa_program): Avoid
6489 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6490 on targets with DWARF_FRAME_REGISTERS < 32.
6491
6492 2013-03-13 Oleg Endo <olegendo (a] gcc.gnu.org>
6493
6494 PR target/49880
6495 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6496 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6497
6498 2013-03-07 Sriraman Tallam <tmsriram (a] google.com>
6499
6500 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6501 sandybridge processors.
6502
6503 2013-03-06 Oleg Endo <olegendo (a] gcc.gnu.org>
6504
6505 PR target/56529
6506 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6507 inclusion list.
6508
6509 2013-03-04 Edgar E. Iglesias <edgar.iglesias (a] gmail.com>
6510
6511 * config/microblaze/crti.S: Setup stack protection at entry
6512
6513 2013-03-04 Georg-Johann Lay <avr (a] gjlay.de>
6514
6515 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6516 (__rotldi3): Shift bytewise if applicable.
6517
6518 2013-03-01 James Greenhalgh <james.greenhalgh (a] arm.com>
6519
6520 * config/aarch64/sync-cache.c
6521 (__aarch64_sync_cache_range): Silence warnings.
6522
6523 2013-02-25 Catherine Moore <clm (a] codesourcery.com>
6524
6525 Revert:
6526 2013-02-24 Catherine Moore <clm (a] codesourcery.com>
6527 Joseph Myers <joseph (a] codesourcery.com>
6528 Chao-ying Fu <fu (a] mips.com>
6529
6530 * config/mips/mips16.S: Don't build for microMIPS.
6531 * config/mips/linux-unwind.h: Handle microMIPS frame.
6532 * config/mips/crtn.S (fini, init): New labels.
6533
6534 2013-02-24 Catherine Moore <clm (a] codesourcery.com>
6535 Joseph Myers <joseph (a] codesourcery.com>
6536 Chao-ying Fu <fu (a] mips.com>
6537
6538 * config/mips/mips16.S: Don't build for microMIPS.
6539 * config/mips/linux-unwind.h: Handle microMIPS frame.
6540 * config/mips/crtn.S (fini, init): New labels.
6541
6542 2012-02-19 Edgar E. Iglesias <edgar.iglesias (a] gmail.com>
6543 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
6544 as dividend.
6545
6546 2013-02-16 Alan Modra <amodra (a] gmail.com>
6547
6548 PR target/55431
6549 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6550 (ppc_fallback_frame_state): Always set up save locations for fp
6551 and altivec. Don't bother with non-callee-saved regs, r0-r13
6552 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6553
6554 2013-02-12 Georg-Johann Lay <avr (a] gjlay.de>
6555
6556 PR target/54222
6557 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6558 _ssmulHA, _ssmulSA.
6559 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6560 _ssmulha3, _usmulusa3, _ssmulsa3.
6561 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6562 (__muldi3): XCALL __muldi3_6 instead of rcall.
6563 (__umulsidi3, __mulsidi3): New functions.
6564 (do_prologue_saves, do_epilogue_restores): New .macros.
6565 (__divdi3_moddi3): Use them.
6566 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6567 (__usmulusa3, __ssmulsa3): New functions.
6568
6569 2013-02-11 Iain Sandoe <iain (a] codesourcery.com>
6570 Jack Howarth <howarth (a] bromo.med.uc.edu>
6571 Patrick Marlier <patrick.marlier (a] gmail.com>
6572
6573 PR libitm/55693
6574 * config/darwin-crt-tm.c: Remove dummy functions hack.
6575
6576 2013-02-08 Georg-Johann Lay <avr (a] gjlay.de>
6577
6578 PR target/54222
6579 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6580 * config/avr/lib2-object.mk: New iterator to build objects from it.
6581 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6582 lib2funcs.c.
6583 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6584 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6585 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6586 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6587 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6588 * config/avr/lib1funcs-fixed.S: Implement them.
6589
6590 2013-02-04 Richard Sandiford <rdsandiford (a] googlemail.com>
6591
6592 Update copyright years.
6593
6594 2013-02-01 David Edelsohn <dje.gcc (a] gmail.com>
6595
6596 PR target/54601
6597 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6598 Add crtcxa to extra_parts.
6599 * config/rs6000/exit.h: New file.
6600 * config/rs6000/cxa_atexit.c: New file.
6601 * config/rs6000/cxa_finalize.c: New file.
6602 * config/rs6000/crtcxa.c: New file.
6603 * config/rs6000/t-aix-cxa: New file.
6604 * config/rs6000/libgcc-aix-cxa.ver: New file.
6605
6606 2013-01-31 Nick Clifton <nickc (a] redhat.com>
6607
6608 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6609 variant.
6610
6611 2013-01-29 Georg-Johann Lay <avr (a] gjlay.de>
6612
6613 PR target/54222
6614 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6615 _mulQQ, _mulHQ, _mulHA, _mulSA,
6616 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6617 _divQQ, _divHQ, _divHA, _divSA,
6618 _divUQQ, _divUHQ, _divUHA, _divUSA.
6619
6620 2013-01-26 David Holsgrove <david.holsgrove (a] xilinx.com>
6621
6622 * config.host(microblaze*-linux*): tmake_file: Remove
6623 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6624 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6625 to exclude functions from being built with libgcc.c and use
6626 the microblaze assembly.
6627
6628 2013-01-26 Edgar E. Iglesias <edgar.iglesias (a] gmail.com>
6629
6630 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6631 extra_parts.
6632
6633 2013-01-17 Yufeng Zhang <yufeng.zhang (a] arm.com>
6634
6635 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6636 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6637 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6638 alignment operation.
6639
6640 2013-01-15 Sofiane Naci <sofiane.naci (a] arm.com>
6641
6642 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6643 loop start address for cache clearing.
6644
6645 2013-01-14 Georg-Johann Lay <avr (a] gjlay.de>
6646
6647 * config/avr/lib1funcs.S: Remove trailing blanks.
6648 * config/avr/lib1funcs-fixed.S: Ditto.
6649
6650 2013-01-14 Georg-Johann Lay <avr (a] gjlay.de>
6651
6652 * config/avr/avr-lib.h: Add GPL copyright notice.
6653
6654 2013-01-14 Georg-Johann Lay <avr (a] gjlay.de>
6655
6656 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6657 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6658 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6659 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6660
6661 2013-01-07 Mark Kettenis <kettenis (a] openbsd.org>
6662
6663 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6664 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
6665
6666 2013-01-04 Nick Clifton <nickc (a] redhat.com>
6667
6668 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6669 the CALLT instruction is supported.
6670
6671 2012-12-20 Jonathan Wakely <jwakely.gcc (a] gmail.com>
6672
6673 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6674 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6675
6676 2012-12-13 John Tytgat <John (a] bass-software.com>
6677
6678 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6679 is 25.
6680
6681 2012-12-12 Jakub Jelinek <jakub (a] redhat.com>
6682
6683 PR libgcc/55451
6684 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6685 undefined signed overflows.
6686
6687 2012-12-09 Uros Bizjak <ubizjak (a] gmail.com>
6688
6689 PR target/55344
6690 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6691
6692 2012-12-06 Uros Bizjak <ubizjak (a] gmail.com>
6693
6694 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6695 (FP_TRAPPING_EXCEPTIONS): Define.
6696 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6697 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6698
6699 2012-12-04 Richard Henderson <rth (a] redhat.com>
6700
6701 PR bootstrap/55571
6702 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6703
6704 2012-12-04 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
6705
6706 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
6707 (FP_EX_SHIFT): Define.
6708 (FP_TRAPPING_EXCEPTIONS): Define.
6709
6710 2012-12-04 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
6711
6712 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6713 (FP_ROUNDMODE): Use FP_RND_MASK.
6714 * config/aarch64/sfp-exceptions.c: New.
6715 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6716 Use __sfp_handle_exceptions.
6717
6718 2012-12-04 Richard Earnshaw <rearnsha (a] arm.com>
6719
6720 * config.host: (arm*-*-freebsd*): Remove.
6721 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6722 (arm*-*-elf*): Remove.
6723 (arm*-*-wince-pe*): Remove.
6724 * arm/unwind-arm.c (struct fpa_reg): Delete.
6725 (struct fpa_regs): Delete.
6726 (phase1_vrs): Remove fpa element.
6727 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6728 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6729 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6730 * ieee754-sf.S (floatundisf): Remove FPA support.
6731 (floatdisf): Likewise.
6732 * ieee75f-df.S (floatundidf): Likewise.
6733 (floatdidf): Likewise.
6734
6735 2012-11-29 Kai Tietz <ktietz (a] redhat.com>
6736
6737 PR target/55445
6738 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6739 * unwind-generic.h: Likewise.
6740 * unwind-seh.c: Likewise.
6741
6742 2012-11-28 Richard Henderson <rth (a] redhat.com>
6743
6744 PR libgcc/48076
6745 * emutls.c (__emutls_get_address): Avoid race condition between
6746 obj->loc.offset read and emutls_key initialization.
6747
6748 2012-11-22 Georg-Johann Lay <avr (a] gjlay.de>
6749
6750 Adjust decimal point of signed accum mode to GCC default.
6751
6752 PR target/54222
6753 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6754 _divqq_helper.
6755 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6756 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6757 (__mulha3, __mulsa3)
6758 (__divqq3, __divha3, __divsa3): Adjust to new position of
6759 decimal point of signed accum types.
6760
6761 (__mulusa3_round): New function.
6762 (__mulusa3): Use it.
6763 (__divqq_helper): New function.
6764 (__udivuqq3): Use it.
6765
6766 2012-11-20 Jakub Jelinek <jakub (a] redhat.com>
6767
6768 PR bootstrap/55370
6769 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6770
6771 2012-11-18 Teresa Johnson <tejohnson (a] google.com>
6772
6773 PR bootstrap/55051
6774 * libgcov.c (gcov_exit): Remove merged program summary
6775 comparison unless !GCOV_LOCKED.
6776
6777 2012-11-15 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
6778
6779 * soft-fp: Updated from glibc upstream.
6780
6781 2012-11-06 Ian Lance Taylor <iant (a] google.com>
6782
6783 * generic-morestack.c (__generic_morestack): Align the returned
6784 stack pointer to a 32 byte boundary.
6785 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6786 increment the return address until we have decided that we don't
6787 have a varargs function.
6788 (__morestack) [32-bit]: Align stack correctly when calling C
6789 functions.
6790 (__morestack) [64-bit]: Likewise.
6791
6792 2012-11-04 Thomas Schwinge <thomas (a] codesourcery.com>
6793
6794 * configure: Regenerate.
6795
6796 2012-11-02 Uros Bizjak <ubizjak (a] gmail.com>
6797
6798 PR target/55175
6799 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6800 * config/i386/sfp-machine.h: Guard exception handling
6801 code with _SOFT_FLOAT.
6802 * config/i386/32/sfp-machine.h: Guard rounding handling
6803 code with _SOFT_FLOAT.
6804 * config/i386/64/sfp-machine.h: Ditto.
6805
6806 2012-10-31 Joel Sherrill <joel.sherrill (a] oarcorp.com>
6807
6808 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6809 as extra_parts.
6810
6811 2012-10-26 Uros Bizjak <ubizjak (a] gmail.com>
6812
6813 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6814 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6815 when appropriate. Correct structure element types.
6816 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6817 -minline-all-stringops from compile flags.
6818
6819 2012-10-25 Ralf Corspius <ralf.corsepius (a] rtems.org>
6820
6821 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6822
6823 2012-10-25 Ralf Corspius <ralf.corsepius (a] rtems.org>
6824
6825 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
6826
6827 2012-10-25 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
6828
6829 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6830 tmake_file.
6831
6832 2012-10-23 Ian Bolton <ian.bolton (a] arm.com>
6833 Jim MacArthur <jim.macarthur (a] arm.com>
6834 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
6835 Nigel Stephens <nigel.stephens (a] arm.com>
6836 Ramana Radhakrishnan <ramana.radhakrishnan (a] arm.com>
6837 Richard Earnshaw <rearnsha (a] arm.com>
6838 Sofiane Naci <sofiane.naci (a] arm.com>
6839 Stephen Thomas <stephen.thomas (a] arm.com>
6840 Tejas Belagod <tejas.belagod (a] arm.com>
6841 Yufeng Zhang <yufeng.zhang (a] arm.com>
6842
6843 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6844 * config/aarch64/crti.S: New file.
6845 * config/aarch64/crtn.S: New file.
6846 * config/aarch64/linux-unwind.h: New file.
6847 * config/aarch64/sfp-machine.h: New file.
6848 * config/aarch64/sync-cache.c: New file.
6849 * config/aarch64/t-aarch64: New file.
6850 * config/aarch64/t-softfp: New file.
6851
6852 2012-10-21 Hans-Peter Nilsson <hp (a] bitrange.com>
6853
6854 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6855 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6856 no-longer-needed LDBU insns.
6857
6858 2012-10-18 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
6859
6860 * config.host
6861 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6862 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6863
6864 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann (a] arm.com>
6865
6866 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6867
6868 2012-10-15 Matthias Klose <doko (a] ubuntu.com>
6869
6870 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6871
6872 2012-10-15 Pavel Chupin <pavel.v.chupin (a] intel.com>
6873
6874 * configure: Regenerate.
6875 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6876
6877 2012-10-10 Uros Bizjak <ubizjak (a] gmail.com>
6878
6879 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6880 instructions for 64bit targets only.
6881
6882 2012-10-10 Uros Bizjak <ubizjak (a] gmail.com>
6883
6884 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6885 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6886 * config/i386/32/sfp-machine.h: ... here.
6887 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6888 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6889 New defines.
6890
6891 2012-10-07 Matthias Klose <doko (a] ubuntu.com>
6892
6893 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6894 as unused.
6895 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6896
6897 2012-10-06 Mark Kettenis <kettenis (a] openbsd.org>
6898
6899 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6900 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6901 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6902 (ElfW): Likewise.
6903
6904 2012-10-05 Jonathan Wakely <jwakely.gcc (a] gmail.com>
6905
6906 PR other/53889
6907 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6908 Fix parameter names.
6909
6910 2012-10-04 Oleg Endo <olegendo (a] gcc.gnu.org>
6911
6912 PR target/33135
6913 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6914 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6915 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6916
6917 2012-10-03 Oleg Endo <olegendo (a] gcc.gnu.org>
6918
6919 PR target/50457
6920 * config/sh/linux-atomic.S: Delete.
6921 * config/sh/linux-atomic.c: New.
6922 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6923 linux-atomic.c. Add cflags to disable warnings.
6924
6925 2012-10-02 Jonathan Wakely <jwakely.gcc (a] gmail.com>
6926
6927 PR other/53889
6928 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6929 function.
6930 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6931 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6932 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6933 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
6934 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6935 Likewise.
6936 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6937 Likewise.
6938 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6939 Likewise.
6940 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6941 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6942
6943 2012-09-19 Mark Kettenis <kettenis (a] openbsd.org>
6944
6945 * config.host (hppa-*-openbsd*): New target.
6946 * config/pa/t-openbsd: New file.
6947
6948 2012-09-15 Georg-Johann Lay <avr (a] gjlay.de>
6949
6950 PR target/54222
6951 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6952 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6953 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6954 (__divsa3): Use __negsi2 to negate r_quoL.
6955 * config/avr/lib1funcs.S (FALIAS): New macro.
6956 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6957 (__negsi2): ...this new function.
6958 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6959 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6960 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6961 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6962 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6963 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6964
6965 2012-09-10 Oleg Endo <olegendo (a] gcc.gnu.org>
6966
6967 PR target/54089
6968 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6969 (lshrsi3): Reimplement as lshrsi3_r0.
6970
6971 2012-09-10 Andreas Schwab <schwab (a] linux-m68k.org>
6972
6973 PR target/46191
6974 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6975 of libgcc.a.
6976
6977 2012-09-07 Teresa Johnson <tejohnson (a] google.com>
6978
6979 PR gcov-profile/54487
6980 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
6981 differences.
6982
6983 2012-09-05 Georg-Johann Lay <avr (a] gjlay.de>
6984
6985 PR target/54461
6986 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6987 not configured --with-avrlibc=no.
6988 * config/avr/t-avrlibc: New file.
6989 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6990 (DPBIT_FUNCS): Ditto.
6991 (TPBIT_FUNCS): Ditto.
6992
6993 2012-09-04 Teresa Johnson <tejohnson (a] google.com>
6994
6995 * libgcov.c (struct gcov_summary_buffer): New structure.
6996 (gcov_histogram_insert): New function.
6997 (gcov_compute_histogram): Ditto.
6998 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6999 histograms during summary merging.
7000
7001 2012-09-01 Mark Kettenis <kettenis (a] openbsd.org>
7002
7003 * config.host (x86_64-*-openbsd*): New target.
7004
7005 2012-08-29 Chung-Lin Tang <cltang (a] codesourcery.com>
7006
7007 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7008 attribute.
7009
7010 2012-08-24 Georg-Johann Lay <avr (a] gjlay.de>
7011
7012 PR target/54222
7013 * config/avr/t-avr (conv_X): Rename to func_X.
7014
7015 2012-08-24 Georg-Johann Lay <avr (a] gjlay.de>
7016
7017 PR target/54222
7018 * config/avr/lib1funcs-fixed.S: New file.
7019 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
7020 after they are used.
7021 (neg2, neg4): New macros.
7022 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7023 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7024 (__umulhisi3): Speed up MUL variant if there is enough flash.
7025 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7026 avr-modes.def.
7027 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7028 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7029 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7030 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7031 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7032 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7033 (LIB2FUNCS_EXCLUDE): Add supported functions.
7034
7035 2012-08-22 Georg-Johann Lay <avr (a] gjlay.de>
7036
7037 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7038 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7039 libgcc-s-objects.
7040 * fixed-obj.mk: Only expand dependency if $o is not in
7041 LIB2FUNCS_EXCLUDE.
7042
7043 2012-08-22 H.J. Lu <hongjiu.lu (a] intel.com>
7044
7045 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7046
7047 2012-08-22 Joseph Myers <joseph (a] codesourcery.com>
7048
7049 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7050 depend on --enable-shared.
7051 ($(lib1asmfuncs-o)): Use %.vis files independent of
7052 --enable-shared.
7053 * static-object.mk ($(base)$(objext), $(base).vis)
7054 ($(base)_s$(objext)): Use same rules for visibility handling as in
7055 shared-object.mk.
7056
7057 2012-08-21 Ian Lance Taylor <iant (a] google.com>
7058
7059 * config/i386/morestack.S (__morestack_non_split): Increase amount
7060 of space allocated for non-split code stack.
7061
7062 2012-08-19 Joseph Myers <joseph (a] codesourcery.com>
7063
7064 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7065 even if inhibit_libc.
7066
7067 2012-08-17 Julian Brown <julian (a] codesourcery.com>
7068
7069 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7070 -fexceptions -fnon-call-exceptions if not defined.
7071 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7072 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7073
7074 2012-08-17 Andreas Schwab <schwab (a] linux-m68k.org>
7075
7076 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7077 type.
7078
7079 2012-08-16 David Edelsohn <dje.gcc (a] gmail.com>
7080
7081 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7082 rs6000/t-slibgcc-aix.
7083
7084 2012-08-15 Segher Boessenkool <segher (a] kernel.crashing.org>
7085
7086 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7087
7088 2012-08-15 Segher Boessenkool <segher (a] kernel.crashing.org>
7089
7090 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7091
7092 2012-08-03 H.J. Lu <hongjiu.lu (a] intel.com>
7093
7094 PR driver/54171
7095 * Makefile.in (version): Replace top_srcdir with srcdir.
7096
7097 2012-08-03 Jonathan Yong <jon_y (a] users.sourceforge.net>
7098
7099 * Makefile.in (version): set to BASE-VER file from gcc directory.
7100
7101 2012-08-01 Nick Clifton <nickc (a] redhat.com>
7102
7103 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7104 Implements __clrsb for an HImode argument.
7105
7106 2012-07-31 Nick Clifton <nickc (a] redhat.com>
7107
7108 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7109 Implements __clrsb for an HImode argument.
7110 * config/stormy16/clrsbhi2.c: New file:
7111 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7112
7113 2012-07-22 Steven Bosscher <steven (a] gcc.gnu.org>
7114
7115 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7116
7117 2012-07-19 Tristan Gingold <gingold (a] adacore.com>
7118 Richard Henderson <rth (a] redhat.com>
7119
7120 * unwind-seh.c: New file.
7121 * unwind-generic.h: Include windows.h for SEH.
7122 (_Unwind_Exception): Use 6 private fields for SEH.
7123 (_GCC_specific_handler): Declare.
7124 * unwind-c.c (__gcc_personality_seh0): New function.
7125 Adjust for SEH.
7126 * config/i386/libgcc-cygming.ver: New file.
7127 * config/i386/t-seh-eh: New file.
7128 * config.host (x86_64-*-mingw*): Default to seh.
7129
7130 2012-07-14 Steven Bosscher <steven (a] gcc.gnu.org>
7131
7132 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7133
7134 2012-06-17 Uros Bizjak <ubizjak (a] gmail.com>
7135
7136 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7137 __builtin_expect when checking for exceptions.
7138 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7139
7140 2012-06-13 Uros Bizjak <ubizjak (a] gmail.com>
7141
7142 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7143 function declaration.
7144 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7145 (FP_RND_MASK): New.
7146 * config/ia64/sfp-exceptions.c: New.
7147 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7148
7149 2012-06-13 Uros Bizjak <ubizjak (a] gmail.com>
7150
7151 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7152 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7153 * config/i386/64/sfp-machine: ... (delete here) ...
7154 * config/i386/sfp-machine.h: ... to here.
7155 (FP_EX_MASK): Remove.
7156 (FP_RND_MASK): New.
7157 (FP_INIT_ROUNDMODE): Declare asm as volatile.
7158
7159 2012-06-11 Sriraman Tallam <tmsriram (a] google.com>
7160
7161 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7162 * config/i386/libgcc-sol2.ver: Ditto.
7163 * config/i386/libgcc-glibc.ver: Ditto.
7164
7165 2012-06-11 Roland McGrath <mcgrathr (a] google.com>
7166
7167 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7168 If __GLIBC__ is defined, refer to __pthread_key_create instead of
7169 pthread_cancel.
7170
7171 2012-06-09 Uros Bizjak <ubizjak (a] gmail.com>
7172
7173 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7174 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7175 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7176 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7177 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7178 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7179 * config/i386/64/sfp-machine: ... (delete here) ...
7180 * config/i386/sfp-machine.h: ... to here.
7181 (FP_EX_MASK): New.
7182 (__sfp_handle_exceptions): New function declaration.
7183 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7184 * config/i386/sfp-exceptions.c: New.
7185 * config/i386/t-softfp: New.
7186 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7187 i386/t-softfp to tmake_file.
7188
7189 2012-06-03 David S. Miller <davem (a] davemloft.net>
7190
7191 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7192 change.
7193
7194 2012-05-31 David S. Miller <davem (a] davemloft.net>
7195
7196 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7197 multiply and divide instructions on 32-bit when V9.
7198 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7199
7200 2012-05-29 Joseph Myers <joseph (a] codesourcery.com>
7201
7202 * config/arm/ieee754-df.S: Fix typos.
7203 * config/arm/ieee754-sf.S: Fix typos.
7204 * config/c6x/libunwind.S: Fix typos.
7205 * config/epiphany/udivsi3-float.c: Fix typos.
7206 * config/microblaze/muldi3_hard.S: Fix typos.
7207 * config/picochip/adddi3.S: Fix typos.
7208 * config/picochip/ashlsi3.S: Fix typos.
7209 * config/picochip/ashrsi3.S: Fix typos.
7210 * config/picochip/clzsi2.S: Fix typos.
7211 * config/picochip/cmpsi2.S: Fix typos.
7212 * config/picochip/divmod15.S: Fix typos.
7213 * config/picochip/divmodhi4.S: Fix typos.
7214 * config/picochip/divmodsi4.S: Fix typos.
7215 * config/picochip/longjmp.S: Fix typos.
7216 * config/picochip/lshrsi3.S: Fix typos.
7217 * config/picochip/parityhi2.S: Fix typos.
7218 * config/picochip/popcounthi2.S: Fix typos.
7219 * config/picochip/setjmp.S: Fix typos.
7220 * config/picochip/subdi3.S: Fix typos.
7221 * config/picochip/ucmpsi2.S: Fix typos.
7222 * config/picochip/udivmodhi4.S: Fix typos.
7223 * config/picochip/udivmodsi4.S: Fix typos.
7224 * config/spu/divv2df3.c: Fix typos.
7225 * config/spu/mfc_multi_tag_release.c: Fix typos.
7226 * config/spu/mfc_tag_release.c: Fix typos.
7227 * configure.ac: Fix typos.
7228 * configure: Regenerate.
7229
7230 2012-05-25 Ian Lance Taylor <iant (a] google.com>
7231
7232 * config/i386/morestack.S (__morestack_non_split): Check whether
7233 caller is varargs and needs %bp to hold the stack frame on return.
7234
7235 2012-05-25 Olivier Hainque <hainque (a] adacore.com>
7236
7237 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7238 sequence in the non pic case on VxWorks.
7239
7240 2012-05-24 Olivier Hainque <hainque (a] adacore.com>
7241
7242 * Makefile.in: Move dependency on install-unwind_h from
7243 "install-leaf" to "install".
7244
7245 2012-05-24 Olivier Hainque <hainque (a] adacore.com>
7246
7247 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7248 Use a separate command for stamp removals.
7249
7250 2012-05-21 Andrew Pinski <apinski (a] cavium.com>
7251
7252 PR bootstrap/53183
7253 * configure.ac: Define the default includes to being none.
7254 * configure: Regenerate.
7255
7256 2012-05-16 Olivier Hainque <hainque (a] adacore.com>
7257
7258 * Makefile.in (install-unwind_h): Rename into ...
7259 (install-unwind_h-forbuild): New target.
7260 (all): Use it instead of the former install-unwind_h.
7261 (install-unwind_h): Reinstate, copy to user install destination
7262 for include files, not to the internal gcc object directory one.
7263 (install-leaf): Depend on it.
7264
7265 2012-05-15 Olivier Hainque <hainque (a] adacore.com>
7266
7267 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7268 register numbers. LR_REGNO replaces R_LR.
7269 (ucontext_for): New, helper for ...
7270 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7271 and 5.3 of ...
7272 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7273
7274 2012-05-10 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
7275
7276 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7277 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7278 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7279 i386/t-cpuinfo ...
7280 (i[34567]86-*-*, x86_64-*-*): ... here.
7281
7282 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7283 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7284
7285 * config/i386/i386-cpuinfo.c: Rename to ...
7286 * config/i386/cpuinfo.c: ... this.
7287 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7288
7289 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7290 (libgcc_cv_init_priority): New test.
7291 * configure: Regenerate.
7292 * config.in: New file.
7293 * Makefile.in (clean): Rename config.h to auto-target.h.
7294 (config.h): Likewise.
7295 (stamp-h): Likewise.
7296
7297 * config/i386/cpuinfo.c (auto-target.h): Include.
7298 (CONSTRUCTOR_PRIORITY): Define.
7299 (__cpu_indicator_init): Use it.
7300
7301 2012-05-09 H.J. Lu <hongjiu.lu (a] intel.com>
7302
7303 * longlong.h: Use a URL instead of an FSF postal address.
7304 Replace spaces with tab.
7305
7306 2012-05-08 Teresa Johnson <tejohnson (a] google.com>
7307
7308 * libgcov.c (gcov_clear, __gcov_reset): New functions.
7309 (__gcov_dump): Ditto.
7310 (gcov_dump_complete): New global variable.
7311 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7312 (__gcov_flush): Outline functionality now in gcov_clear.
7313 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7314
7315 2012-04-28 Aurelien Jarno <aurelien (a] aurel32.net>
7316
7317 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7318 (mips*-*-linux*): Include mips/t-tpbit when long double is
7319 16 bytes long.
7320
7321 2012-04-25 Sriraman Tallam <tmsriram (a] google.com>
7322
7323 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7324 (get_available_features): New argument. Check for AVX2.
7325 (__cpu_indicator_init): Modify call to get_available_features.
7326
7327 2012-04-25 Alan Modra <amodra (a] gmail.com>
7328
7329 * config/rs6000/crtsavevr.S: New file.
7330 * config/rs6000/crtrestvr.S: New file.
7331 * config/rs6000/t-savresfgpr: Build the above.
7332 * config/rs6000/t-netbsd: Likewise.
7333
7334 2012-04-24 Sriraman Tallam <tmsriram (a] google.com>
7335
7336 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7337
7338 2012-04-24 Sriraman Tallam <tmsriram (a] google.com>
7339
7340 * libgcc/config/i386/i386-cpuinfo.c: New file.
7341 * libgcc/config/i386/t-cpuinfo: New file.
7342 * libgcc/config.host: Include t-cpuinfo.
7343 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7344
7345 2012-04-24 Chao-ying Fu <fu (a] mips.com>
7346
7347 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7348
7349 2012-04-20 Thomas Schwinge <thomas (a] codesourcery.com>
7350
7351 struct siginfo vs. siginfo_t
7352
7353 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7354 siginfo_t instead of struct siginfo.
7355 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7356 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7357 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7358 (ia64_handle_unwabi): Likewise.
7359 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7360 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7361 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7362 (sh_fallback_frame_state): Likewise.
7363 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7364 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7365
7366 2012-04-02 H.J. Lu <hongjiu.lu (a] intel.com>
7367
7368 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7369 system call number.
7370
7371 2012-03-31 Eric Botcazou <ebotcazou (a] adacore.com>
7372
7373 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7374 if it hasn't been previously saved.
7375
7376 2012-03-29 H.J. Lu <hongjiu.lu (a] intel.com>
7377
7378 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7379 only for glibc.
7380
7381 2012-03-28 Georg-Johann Lay <avr (a] gjlay.de>
7382
7383 PR target/52737
7384 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7385 instead of __AVR_HAVE_8BIT_SP__.
7386
7387 2012-03-26 Tristan Gingold <gingold (a] adacore.com>
7388
7389 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7390 (unw_table_entry): Use unw_word instead of unsigned long.
7391 (_Unwind_FindTableEntry): Likewise.
7392 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7393 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7394 (_Unwind_FindTableEntry): Likewise.
7395 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7396 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7397 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7398 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7399 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7400 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7401 (uw_init_context_1, uw_install_context): Likewise.
7402 (unw_word): Move to unwind-ia64.h
7403
7404 2012-03-26 Tristan Gingold <gingold (a] adacore.com>
7405
7406 * config/vms/vms-ucrt0.c: Update copyright years.
7407 Add a sanity check.
7408 (___gcc_main_flags): Declare.
7409 (__main): Check flags to remap argv and exit code.
7410 * config.host (*-*-*vms*): Adjust extra_parts.
7411 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7412 (crt0.o): Add.
7413
7414 2012-03-22 Richard Earnshaw <rearnsha (a] arm.com>
7415
7416 * arm/lib1funcs.asm (ctzsi2): New function.
7417 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7418 * arm/t-linux (LIB1ASMFUNCS): Likewise.
7419 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7420 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7421 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7422 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7423
7424 2012-03-21 Andreas Tobler <andreast (a] fgznet.ch>
7425
7426 * config.host: Add bits to support powerpc64-*-freebsd*.
7427 * config/rs6000/freebsd-unwind.h: New file.
7428 * config/rs6000/t-freebsd64: New file.
7429
7430 2012-03-20 Richard Guenther <rguenther (a] suse.de>
7431
7432 PR gcov-profile/52627
7433 * libgcov.c (init_mx): Fix mutex name.
7434
7435 2012-03-16 Tristan Gingold <gingold (a] adacore.com>
7436
7437 * config/ia64/vms-unwind.h: Remove ulong (and replace
7438 it by unw_reg where used). Define unw_reg with __int64.
7439
7440 2012-03-14 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
7441
7442 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7443 Solaris 8 handling.
7444 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7445 Solaris 8 handling.
7446 (sparc_is_sighandler): Likewise.
7447
7448 2012-03-13 H.J. Lu <hongjiu.lu (a] intel.com>
7449
7450 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7451 <= saved reg size.
7452
7453 2012-03-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
7454
7455 * config/arm/crtn.S: Fix typo.
7456
7457 2012-03-13 Richard Guenther <rguenther (a] suse.de>
7458
7459 * libgcov.c: Remove stdio.h include and NULL un-define.
7460
7461 2012-03-13 Richard Guenther <rguenther (a] suse.de>
7462
7463 PR target/52569
7464 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7465
7466 2012-03-13 Richard Guenther <rguenther (a] suse.de>
7467
7468 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7469
7470 2012-03-13 Richard Guenther <rguenther (a] suse.de>
7471
7472 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7473 and __gthread_mutex_init_function definitions.
7474
7475 2012-03-12 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
7476
7477 * config.host (mips*-*-openbsd*): Remove.
7478
7479 2012-03-12 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
7480
7481 * config.host: Remove alpha*-dec-osf5.1* handling.
7482 * config/alpha/gthr-posix.c: Remove.
7483 * config/alpha/libgcc-osf5.ver: Remove.
7484 * config/alpha/osf5-unwind.h: Remove.
7485 * config/alpha/t-osf-pthread: Remove.
7486 * config/alpha/t-slibgcc-osf: Remove.
7487 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7488 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7489 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7490 * mkmap-flat.awk: Remove osf_export handling.
7491
7492 2012-03-12 Richard Guenther <rguenther (a] suse.de>
7493
7494 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7495 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7496 (__gthread_mutex_init_function): New function.
7497 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7498
7499 PR gcov/49484
7500 * libgcov.c: Include gthr.h.
7501 (__gcov_flush_mx): New global variable.
7502 (init_mx, init_mx_once): New functions.
7503 (__gcov_flush): Protect self with a mutex.
7504 (__gcov_fork): Re-initialize mutex after forking.
7505 * unwind-dw2-fde.c: Change condition under which to use
7506 __GTHREAD_MUTEX_INIT_FUNCTION.
7507
7508 2012-03-12 Tristan Gingold <gingold (a] adacore.com>
7509
7510 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7511 * config/ia64/t-vms: Likewise.
7512
7513 2012-03-11 Michael Hope <michael.hope (a] linaro.org>
7514
7515 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7516 for Thumb-2.
7517
7518 2012-03-07 Walter Lee <walt (a] tilera.com>
7519
7520 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7521 "arch_atomic_".
7522 (atomic_xor): Rename and move definition to
7523 config/tilepro/atomic.h.
7524 (atomic_nand): Ditto.
7525 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7526 "arch_atomic_".
7527 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7528 (arch_atomic_nand): Ditto.
7529
7530 2012-03-07 Georg-Johann Lay <avr (a] gjlay.de>
7531
7532 PR target/52507
7533 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7534
7535 2012-03-07 Georg-Johann Lay <avr (a] gjlay.de>
7536
7537 PR target/52505
7538 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7539 from RAM.
7540
7541 2012-03-07 Georg-Johann Lay <avr (a] gjlay.de>
7542
7543 PR target/52461
7544 PR target/52508
7545 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7546 if RAMPZ affects reading from RAM.
7547 (__tablejump_elpm__): Ditto.
7548 (.xload): Ditto.
7549 (__movmemx_hi): Ditto.
7550 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7551 (__do_global_dtors): Ditto.
7552 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7553 (__movmemx_hi): Ditto.
7554
7555 2012-03-05 Richard Henderson <rth (a] redhat.com>
7556
7557 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7558 [ARM] (count_trailing_zeros): Use the builtin.
7559
7560 2012-03-01 Kai Tietz <ktietz (a] redhat.com>
7561
7562 * soft-fp: Imported from glibc upstream.
7563
7564 2012-02-28 Kai Tietz <ktietz (a] redhat.com>
7565
7566 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7567 for mingw-targets as attribute gcc_struct.
7568
7569 2012-02-28 Ian Lance Taylor <iant (a] google.com>
7570
7571 * generic-morestack.c (__splitstack_releasecontext): Correct call
7572 to __morestack_release_segments.
7573
7574 2012-02-27 Samuel Thibault <samuel.thibault (a] ens-lyon.org>
7575
7576 PR target/52390
7577 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7578 for __linux__ when removing signals from __morestack_fullmask.
7579
7580 2012-02-23 Georg-Johann Lay <avr (a] gjlay.de>
7581
7582 PR target/52261
7583 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7584
7585 2012-02-23 Ulrich Weigand <Ulrich.Weigand (a] de.ibm.com>
7586
7587 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7588 instead of HAVE_INITFINI_ARRAY.
7589 * config/ia64/crtend.S: Likewise.
7590
7591 2012-02-20 Kai Tietz <ktietz (a] redhat.com>
7592
7593 PR libstdc++/52300
7594 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7595
7596 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7597 to w32-unwind.h header.
7598
7599 2012-02-19 Richard Sandiford <rdsandiford (a] googlemail.com>
7600
7601 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7602 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7603 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7604 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7605
7606 2012-02-19 Richard Sandiford <rdsandiford (a] googlemail.com>
7607
7608 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7609
7610 2012-02-15 Iain Sandoe <iains (a] gcc.gnu.org>
7611
7612 PR libitm/52220
7613 * config/darwin-crt-tm.c: Correct typo.
7614
7615 2012-02-15 Iain Sandoe <iains (a] gcc.gnu.org>
7616 Patrick Marlier <patrick.marlier (a] gmail.com>
7617
7618 PR libitm/52220
7619 * config/darwin-crt-tm.c: Generate dummy functions.
7620
7621 2012-02-15 Iain Sandoe <iains (a] gcc.gnu.org>
7622 Patrick Marlier <patrick.marlier (a] gmail.com>
7623
7624 PR libitm/52042
7625 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7626 (__doTMRegistrations): Call it.
7627 (__doTMdeRegistrations): Likewise.
7628
7629 2012-01-15 Georg-Johann Lay <avr (a] gjlay.de>
7630 Anatoly Sokolov <aesok (a] post.ru>
7631 Eric Weddington <eric.weddington (a] atmel.com>
7632
7633 PR target/52261
7634 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7635 (__epilogue_restores__): Ditto.
7636
7637 2012-02-15 Eric Botcazou <ebotcazou (a] adacore.com>
7638
7639 PR target/51921
7640 PR target/52205
7641 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7642 Solaris 11 and slightly reformat.
7643 (sparc_is_sighandler): Likewise.
7644
7645 2012-02-14 Walter Lee <walt (a] tilera.com>
7646
7647 * config.host: Handle tilegx and tilepro.
7648 * config/tilegx/sfp-machine.h: New file.
7649 * config/tilegx/sfp-machine32.h: New file.
7650 * config/tilegx/sfp-machine64.h: New file.
7651 * config/tilegx/t-crtstuff: New file.
7652 * config/tilegx/t-softfp: New file.
7653 * config/tilegx/t-tilegx: New file.
7654 * config/tilepro/atomic.c: New file.
7655 * config/tilepro/atomic.h: New file.
7656 * config/tilepro/linux-unwind.h: New file.
7657 * config/tilepro/sfp-machine.h: New file.
7658 * config/tilepro/softdivide.c: New file.
7659 * config/tilepro/softmpy.S: New file.
7660 * config/tilepro/t-crtstuff: New file.
7661 * config/tilepro/t-tilepro: New file.
7662
7663 2012-02-07 Jonathan Wakely <jwakely.gcc (a] gmail.com>
7664
7665 PR libstdc++/51296
7666 PR libstdc++/51906
7667 * gthr-posix.h: Allow static initializer macros to be disabled.
7668 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7669
7670 2012-02-05 Chung-Lin Tang <cltang (a] codesourcery.com>
7671
7672 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7673 Add t-slibgcc-libgcc to tmake_file.
7674 * config/mips/libgcc-mips16.ver: Revert previous patch.
7675 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7676
7677 2012-02-02 Sumanth G <sumanth.gundapaneni (a] kpitcummins.com>
7678 Jayant R Sonar <jayant.sonar (a] kpitcummins.com>
7679
7680 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7681 * config/cr16/crti.S: New file.
7682 * config/cr16/crtlibid.S: New file.
7683 * config/cr16/crtn.S: New file.
7684 * config/cr16/lib1funcs.S: New file.
7685 * config/cr16/t-cr16: New file.
7686 * config/cr16/t-crtlibid: New file.
7687 * config/cr16/unwind-dw2.h: New file.
7688 * config/cr16/unwind-cr16.c: New file.
7689 * config/cr16/divmodhi3.c: New file.
7690
7691 2012-01-25 Alan Modra <amodra (a] gmail.com>
7692
7693 * config/rs6000/t-linux64: Delete. Move..
7694 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7695 * config/rs6000/t-linux: ..and libgcc flags to here.
7696
7697 2012-01-22 Douglas B Rupp <rupp (a] gnat.com>
7698
7699 * config.host (i[34567]86-*-interix3*):
7700 Change triplet to i[34567]86-*-interix[3-9]*.
7701 * configure: Regenerate.
7702
7703 2012-01-15 Chung-Lin Tang <cltang (a] codesourcery.com>
7704 Richard Sandiford <rdsandiford (a] googlemail.com>
7705
7706 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7707 * config/mips/mips16.S (__mips16_rdhwr): New function.
7708 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7709
7710 2012-01-11 Nathan Sidwell <nathan (a] acm.org>
7711
7712 * libgcov.c (__gcov_init): Ignore objects with no functions.
7713
7714 2012-01-10 Georg-Johann Lay <avr (a] gjlay.de>
7715
7716 PR target/49868
7717 Extend __pgmx semantics to linearize memory.
7718 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7719 * config/avr/lib1funcs.S (__xload_1): New function.
7720 (__movmemx_qi, __movmemx_hi): New functions.
7721 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7722 semantics.
7723
7724 2012-01-09 Eric Botcazou <ebotcazou (a] adacore.com>
7725
7726 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7727 purported sigacthandler address isn't null before dereferencing it.
7728 (sparc_is_sighandler): Likewise.
7729
7730 2012-01-09 Eric Botcazou <ebotcazou (a] adacore.com>
7731
7732 PR ada/41929
7733 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7734 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7735 (sparc_is_sighandler): Likewise.
7736 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7737
7738 2012-01-06 Tristan Gingold <gingold (a] adacore.com>
7739
7740 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7741 compatibility thunks...
7742 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7743 (crtbeginS.o, crtendS.o): ... and these to ...
7744 * config/ia64/t-ia64-elf: ... this new file.
7745 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7746 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7747
7748 2012-01-04 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
7749
7750 * configure: Regenerate.
7751 * config/s390/t-crtstuff: Remove -fPIC.
7752
7753 2012-01-02 Jonathan Wakely <jwakely.gcc (a] gmail.com>
7754
7755 PR bootstrap/51006
7756 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7757 for NetBSD.
7758
7759 2012-01-02 Georg-Johann Lay <avr (a] gjlay.de>
7760
7761 PR target/51345
7762 * config/avr/lib1funcs.S: Remove FIXME comments.
7763 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7764
7765 2012-01-02 Georg-Johann Lay <avr (a] gjlay.de>
7766
7767 Implement light-weight DImode support.
7768 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7769 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7770 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7771 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7772
7773 2011-12-30 Nathan Sidwell <nathan (a] acm.org>
7774
7775 * libgcov.c (gcov_crc32): Remove global var.
7776 (free_fn_data): New function.
7777 (buffer_fn_data): Pass in filename, more robust error recovery.
7778 (crc32_unsigned): New function.
7779 (gcov_exit): More robust detection of new program. More robust
7780 error recovery.
7781 (__gcov_init): Do not update program's crc here.
7782
7783 2011-12-21 Tristan Gingold <gingold (a] adacore.com>
7784
7785 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7786
7787 2011-12-21 Ian Lance Taylor <iant (a] google.com>
7788
7789 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7790
7791 2011-12-20 Ian Lance Taylor <iant (a] google.com>
7792
7793 * config/i386/morestack.S (__morestack_non_split): If there is
7794 enough stack space already, don't split. Ask for more stack space
7795 than we required.
7796
7797 2011-12-20 Sergio Durigan Junior <sergiodj (a] redhat.com>
7798
7799 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7800 `sys/sdt.h'.
7801 (_Unwind_DebugHook): New function.
7802 (uw_restore_core_regs): New define.
7803 (unwind_phase2): Use uw_restore_core_regs instead of
7804 restore_core_regs.
7805 (unwind_phase2_forced): Likewise.
7806 (__gnu_Unwind_Resume): Likewise.
7807
7808 2011-12-20 Uros Bizjak <ubizjak (a] gmail.com>
7809
7810 * config/alpha/linux-unwind.h: Update copyright years.
7811 (MD_FROB_UPDATE_CONTEXT): New define.
7812 (alpha_frob_update_context): New function.
7813
7814 2011-12-17 Richard Sandiford <rdsandiford (a] googlemail.com>
7815
7816 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7817 tmake_file rather replacing it.
7818
7819 2011-12-15 Iain Sandoe <iains (a] gcc.gnu.org>
7820
7821 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
7822 function is not used for PPC64.
7823 (save_world): Amend comments. Update the VRsave mask to reflect the
7824 saved regs.
7825 (rest_world): Update comments, do not clobber r10, do not use r8.
7826 (eh_rest_world_r10): Amend comments, do not use r8.
7827 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7828 no longer used, move restore of CR and target address to the end of
7829 the routine.
7830
7831 2011-12-14 H.J. Lu <hongjiu.lu (a] intel.com>
7832
7833 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7834 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7835
7836 2011-12-14 Georg-Johann Lay <avr (a] gjlay.de>
7837
7838 PR target/49313
7839 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7840 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7841
7842 2011-12-11 Eric Botcazou <ebotcazou (a] adacore.com>
7843
7844 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7845
7846 2011-12-09 Georg-Johann Lay <avr (a] gjlay.de>
7847
7848 PR target/49313
7849 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7850 * config/avr/lib1funcs.S (__muldi3): New function.
7851
7852 2011-12-06 Andrew Pinski <apinski (a] cavium.com>
7853
7854 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7855 size of func_ptr.
7856 (__frame_dummy_init_array_entry): Likewise.
7857
7858 2011-12-06 Georg-Johann Lay <avr (a] gjlay.de>
7859
7860 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7861
7862 PR target/51345
7863 PR target/51002
7864 * config/avr/lib1funcs.S (__prologue_saves__,
7865 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7866 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7867
7868 2011-12-04 Iain Sandoe <iains (a] gcc.gnu.org>
7869
7870 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7871
7872 2011-11-30 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
7873
7874 PR other/51272
7875 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7876 (_ITM_deregisterTMCloneTable): Likewise.
7877 (__register_frame_info): Fix unused warning.
7878 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7879 pthread_default_stacksize_np): Likewise.
7880 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
7881
7882 2011-11-29 DJ Delorie <dj (a] redhat.com>
7883
7884 * config.host (rl78-*-elf): New case.
7885 * config/rl78: New directory for the Renesas RL78.
7886
7887 2011-11-29 Bernd Schmidt <bernds (a] codesourcery.com>
7888
7889 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7890 formatting.
7891
7892 2011-11-28 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
7893
7894 PR other/51022
7895 * config/rs6000/t-savresfgpr: New file.
7896 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7897 $(srcdir)/config/rs6000/eabi.S.
7898 * config/rs6000/t-ppccomm-ldbl: Remove.
7899 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7900 tmake_file.
7901 (powerpc-*-eabispe*): Likewise.
7902 (powerpc-*-eabi*): Likewise.
7903 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7904 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7905 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7906 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7907 tmake_file.
7908 (powerpc-*-eabisim*): Likewise.
7909 (powerpc-*-elf*): Likewise.
7910 (powerpc-*-eabialtivec*): Likewise.
7911 (powerpc-xilinx-eabi*): Likewise.
7912 (powerpc-*-rtems*): Likewise.
7913 (powerpcle-*-elf*): Likewise.
7914 (powerpcle-*-eabisim*): Likewise.
7915 (powerpcle-*-eabi*): Likewise.
7916
7917 2011-11-27 Ian Lance Taylor <iant (a] google.com>
7918
7919 * generic-morestack.c (__splitstack_find): Check for NULL old
7920 stack value.
7921 (__splitstack_resetcontext): New function.
7922 (__splitstack_releasecontext): New function.
7923 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7924
7925 2011-11-27 Iain Sandoe <iains (a] gcc.gnu.org>
7926
7927 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7928
7929 2011-11-27 Iain Sandoe <iains (a] gcc.gnu.org>
7930
7931 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7932
7933 2011-11-26 Richard Henderson <rth (a] redhat.com>
7934
7935 * config/m68k/linux-atomic.c: New file.
7936 * config/m68k/t-linux: New file.
7937 * config.host (m68k-uclinux, m68k-linux): Use it.
7938
7939 2011-11-26 Richard Henderson <rth (a] redhat.com>
7940
7941 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7942 (__TMC_END__): Only declare if hidden is available; in the definition,
7943 if hidden is unavailable add a null record.
7944 (deregister_tm_clones, register_tm_clones): New.
7945 (__do_global_dtors_aux, frame_dummy): Use them.
7946 (__do_global_dtors, __do_global_ctors_1): Likewise.
7947
7948 2011-11-22 Iain Sandoe <iains (a] gcc.gnu.org>
7949
7950 * config/darwin-crt-tm.c: New file.
7951 * config.host (darwin): Build crttms.o crttme.o to provide
7952 startup and shutdown for tm clones.
7953 * config/t-darwin (crttms.o): New build rule.
7954 (crttme.o): Likewise.
7955
7956 2011-11-21 Hans-Peter Nilsson <hp (a] axis.com>
7957
7958 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7959 et al.
7960
7961 2011-11-21 Richard Henderson <rth (a] redhat.com>
7962
7963 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7964 (__TMC_LIST__, __TMC_END__): New.
7965 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7966 (__do_global_dtors): Likewise.
7967 (frame_dummy): Call _ITM_registerTMCloneTable.
7968 (__do_global_ctors_1): Likewise.
7969
7970 2011-11-21 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
7971
7972 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7973 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7974 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7975 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7976 * config/i386/t-darwin64: Remove.
7977 * config/sh/t-netbsd (LIB2ADD): Remove.
7978
7979 2011-11-21 Georg-Johann Lay <avr (a] gjlay.de>
7980
7981 PR target/49313
7982 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7983 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7984 * config/avr/lib1funcs.S (wmov): New assembler macro.
7985 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7986 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7987 (__udivmod64): New function.
7988 (__negdi2): New function.
7989
7990 2011-11-21 Gerald Pfeifer <gerald (a] pfeifer.com>
7991
7992 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7993 *-*-freebsd*aout*): Remove.
7994
7995 2011-11-20 Hans-Peter Nilsson <hp (a] axis.com>
7996
7997 * static-object.mk (c_flags-$o): Save c_flags.
7998 ($(base)$(objext)): Use it.
7999
8000 2011-11-18 Steve Ellcey <sje (a] cup.hp.com>
8001
8002 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8003
8004 2011-11-18 Georg-Johann Lay <avr (a] gjlay.de>
8005
8006 PR target/49868
8007 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8008 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8009 New functions.
8010
8011 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann (a] arm.com>
8012
8013 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8014 functions.
8015 (aeabi_uidivmod): Likewise.
8016 (umodsi3): Likewise.
8017 (divsi3): Likewise.
8018 (aeabi_idivmod): Likewise.
8019 (modsi3): Likewise.
8020
8021 2011-11-16 Tristan Gingold <gingold (a] adacore.com>
8022
8023 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8024
8025 2011-11-15 Georg-Johann Lay <avr (a] gjlay.de>
8026
8027 PR target/49868
8028 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
8029 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8030
8031 2011-11-13 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
8032
8033 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8034 tmake_file list.
8035 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8036 * config/pa/t-stublib64: Delete.
8037
8038 2011-11-12 Richard Henderson <rth (a] redhat.com>
8039
8040 * config/rs6000/linux-unwind.h (frob_update_context): Properly
8041 cast the pointer argument to _Unwind_SetGRPtr.
8042
8043 2011-11-11 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8044
8045 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8046
8047 2011-11-09 Ian Lance Taylor <iant (a] google.com>
8048
8049 * generic-morestack.c: Include <string.h>.
8050 (uintptr_type): Define.
8051 (struct initial_sp): Add dont_block_signals field. Reduce size of
8052 extra array by 1.
8053 (allocate_segment): Set prev field to NULL. Don't set
8054 __morestack_current_segment or __morestack_segments.
8055 (__generic_morestack): Update current->prev and *pp after calling
8056 allocate_segment.
8057 (__morestack_block_signals): Don't do anything if
8058 dont_block_signals is set.
8059 (__morestack_unblock_signals): Likewise.
8060 (__generic_findstack): Check for initial_sp == NULL. Add casts to
8061 uintptr_type.
8062 (__splitstack_block_signals): New function.
8063 (enum __splitstack_content_offsets): Define.
8064 (__splitstack_getcontext, __splitstack_setcontext): New functions.
8065 (__splitstack_makecontext): New function.
8066 (__splitstack_block_signals_context): New function.
8067 (__splitstack_find_context): New function.
8068 * config/i386/morestack.S (__morestack_get_guard): New function.
8069 (__morestack_set_guard, __morestack_make_guard): New functions.
8070 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8071
8072 2011-11-09 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8073
8074 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8075 (i[34567]86-*-mingw*): ... here.
8076 (x86_64-*-mingw*): ... here.
8077
8078 2011-11-08 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8079
8080 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8081
8082 2011-11-07 Nathan Sidwell <nathan (a] acm.org>
8083
8084 * libgcov.c (struct gcov_fn_buffer): New struct.
8085 (buffer_fn_data): New helper.
8086 (gcov_exit): Rework for new gcov data structures.
8087
8088 2011-11-07 Georg-Johann Lay <avr (a] gjlay.de>
8089
8090 PR target/49313
8091 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8092
8093 2011-11-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8094
8095 * config.host (tmake_file): Correct comment.
8096 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8097 t-libgcc-pic.
8098 (bfin*-uclinux*): Likewise.
8099 (bfin*-linux-uclibc*): Likewise.
8100 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8101
8102 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8103 assigning.
8104 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8105 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8106 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8107 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8108 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8109 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8110 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8111 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8112 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8113 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8114 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8115 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8116 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8117
8118 * config/bfin/t-elf: Remove.
8119 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8120
8121 2011-11-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8122
8123 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8124 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8125 (lm32-*-elf*, lm32-*-rtems*): Split into ...
8126 (lm32-*-elf*): ... this.
8127 (lm32-*-rtems*): ... and this.
8128 Add to tmake_file.
8129 (m32r-*-rtems*): Add to tmake_file.
8130 (moxie-*-rtems*): Likewise.
8131 (sparc-*-rtems*): Likewise.
8132 Remove t-rtems from tmake_file.
8133 (sparc64-*-rtems*): Likewise.
8134 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8135 instead.
8136
8137 2011-11-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8138
8139 PR bootstrap/50982
8140 * config/gthr-posix.h: Move ...
8141 * gthr-posix.h: ... here.
8142 * config/gthr-lynx.h: Reflect this.
8143 * config/gthr-vxworks.h: Likewise.
8144 * config/rs6000/gthr-aix.h: Likewise.
8145 * configure.ac (target_thread_file): Likewise.
8146 * configure: Regenerate.
8147
8148 2011-11-06 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
8149
8150 * config.host (arm*-*-rtemseabi*): New target.
8151
8152 2011-11-06 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
8153
8154 PR other/50991
8155 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8156 extra-parts.
8157
8158 2011-11-05 Joern Rennecke <joern.rennecke (a] embecosm.com>
8159
8160 * config.host (epiphany-*-elf*): New configuration.
8161 * config/epiphany: New Directory.
8162
8163 2011-11-05 Ralf Corspius <ralf.corsepius (a] rtems.org>
8164
8165 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8166 * config/avr/t-rtems: New.
8167 Filter out _exit from LIB1ASMFUNCS.
8168
8169 2011-11-04 David S. Miller <davem (a] davemloft.net>
8170
8171 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8172 * configure: Rebuild.
8173
8174 2011-11-04 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
8175
8176 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8177 variable.
8178
8179 2011-11-04 Georg-Johann Lay <avr (a] gjlay.de>
8180
8181 PR target/50931
8182 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8183 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8184
8185 2011-11-04 Joel Sherrill <joel.sherrill (a] oarcorp.com>
8186
8187 PR target/50989
8188 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8189
8190 2011-11-04 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8191
8192 * config/c6x/t-elf (LIB2ADDEH): Set.
8193 * config/c6x/t-c6x-elf: Remove.
8194
8195 2011-11-04 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8196
8197 * config/i386/sol2-ci.S: Rename to ...
8198 * config/i386/crti.S: ... this.
8199 * config/i386/sol2-cn.S: Rename to ...
8200 * config/i386/crtn.S: ... this.
8201 * config/sparc/sol2-ci.S: Rename to ...
8202 * config/sparc/crti.S: ... this.
8203 * config/sparc/sol2-cn.S: Rename to ...
8204 * config/sparc/crtn.S: ... this.
8205 * config/t-sol2 (CUSTOM_CRTIN): Remove.
8206 (crti.o, crtn.o): Remove.
8207
8208 2011-11-04 Tristan Gingold <gingold (a] adacore.com>
8209
8210 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8211
8212 2011-11-04 Kaz Kojima <kkojima (a] gcc.gnu.org>
8213
8214 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8215
8216 2011-11-03 Hans-Peter Nilsson <hp (a] axis.com>
8217
8218 * config.host (crisv32-*-none, cris-*-none): Remove.
8219 (crisv32-*-elf): Append to tmake_file, don't just set it.
8220 (cris-*-elf): Add missing t-fdpbit to tmake_file.
8221
8222 2011-11-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8223
8224 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8225 (ecrtn$(objext)): Likewise.
8226 (ncrti$(objext)): Likewise.
8227 (ncrtn$(objext)): Likewise.
8228
8229 2011-11-03 Andreas Schwab <schwab (a] redhat.com>
8230
8231 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8232
8233 2011-11-02 David S. Miller <davem (a] davemloft.net>
8234
8235 * configure.ac: Set host_address on sparc too.
8236 * configure: Regenerate.
8237 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8238 based upon host_address.
8239 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8240
8241 2011-11-02 Jason Merrill <jason (a] redhat.com>
8242
8243 * config/rs6000/t-ppccomm: Add missing \.
8244
8245 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8246
8247 * gthr-single.h, gthr.h: New files.
8248 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8249 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8250 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8251 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8252 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8253 * configure.ac (thread_header): New variable.
8254 Set it depending on target_thread_file.
8255 (gthr-default.h): Link from $thread_header.
8256 * configure: Regenerate.
8257 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8258
8259 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8260
8261 * configure.ac (tm_file_): New variable.
8262 Determine from tm_file.
8263 (tm_file, tm_defines): Substitute.
8264 * configure: Regenerate.
8265 * mkheader.sh: New file.
8266 * Makefile.in (clean): Remove libgcc_tm.h.
8267 ($(objects)): Depend on libgcc_tm.h.
8268 (libgcc_tm_defines, libgcc_tm_file): New variables.
8269 (libgcc_tm.h, libgcc_tm.stamp): New targets.
8270 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8271 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8272 ($(extra-parts)): Depend on libgcc_tm.h.
8273 * config.host (tm_defines, tm_file): New variable.
8274 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8275 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8276 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8277 (avr-*-rtems*): Likewise.
8278 (avr-*-*): Likewise.
8279 (frv-*-elf): Likewise.
8280 (frv-*-*linux*): Likewise.
8281 (h8300-*-rtems*): Likewise.
8282 (h8300-*-elf*): Likewise.
8283 (i[34567]86-*-darwin*): Likewise.
8284 (x86_64-*-darwin*): Likewise.
8285 (rx-*-elf): Likewise.
8286 (tic6x-*-uclinux): Likewise.
8287 (tic6x-*-elf): Likewise.
8288 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8289 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8290 * config/i386/cygming-crtbegin.c: Likewise.
8291 * config/i386/cygming-crtend.c: Likewise.
8292 * config/ia64/fde-vms.c: Likewise.
8293 * config/ia64/unwind-ia64.c: Likewise.
8294 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8295 * config/rs6000/darwin-fallback.c: Likewise.
8296 * config/stormy16/lib2funcs.c: Likewise.
8297 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8298 * crtstuff.c: Likewise.
8299 * dfp-bit.h: Likewise.
8300 * emutls.c: Likewise.
8301 * fixed-bit.c: Likewise.
8302 * fp-bit.c: Likewise.
8303 * generic-morestack-thread.c: Likewise.
8304 * generic-morestack.c: Likewise.
8305 * libgcc2.c: Likewise.
8306 * libgcov.c: Likewise.
8307 * unwind-dw2-fde-dip.c: Likewise.
8308 * unwind-dw2-fde.c: Likewise.
8309 * unwind-dw2.c: Likewise.
8310 * unwind-sjlj.c: Likewise.
8311
8312 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8313
8314 * configure.ac: Include ../config/picflag.m4.
8315 (GCC_PICFLAG): Call it.
8316 Substitute.
8317 * configure: Regenerate.
8318 * Makefile.in (gcc_srcdir): Remove.
8319 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8320 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8321 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8322 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8323 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8324 Use $<.
8325 Remove comment.
8326 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8327 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8328 to refer to libgcc2.c.
8329 Use $<.
8330 * config/darwin-64.c: New file.
8331 * config/darwin-crt3.c: Remove comment.
8332 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8333 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8334 config/udivmodsi4.c: New files.
8335 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8336 config/memset.c: New files.
8337 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8338 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8339 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8340 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8341 * config/t-openbsd-thread: New file.
8342 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8343 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8344 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8345 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8346 qrnnd.S.
8347 Adapt filename.
8348 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8349 to refer to gthr-posix.c.
8350 * config/alpha/t-vms (LIB2ADD): Set.
8351 * config/alpha/vms-gcc_shell_handler.c: New file.
8352 * config/arm/bpabi.c, config/arm/fp16.c,
8353 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8354 config/arm/unaligned-funcs.c: New files.
8355 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8356 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8357 * config/arm/t-linux: Likewise.
8358 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8359 * config/arm/t-netbsd: New file.
8360 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8361 * config/arm/t-symbian (LIB2ADD_ST): Set.
8362 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8363 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8364 * config/bfin/t-elf: New file.
8365 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8366 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8367 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8368 config/c6x/ltf.c: New files.
8369 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8370 (HOST_LIBGCC2_CFLAGS): Set.
8371 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8372 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8373 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8374 New files.
8375 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8376 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8377 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8378 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8379 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8380 files.
8381 * config/frv/t-frv (LIB2ADD): Set.
8382 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8383 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8384 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8385 config/h8300/popcounthi2.c: New files.
8386 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8387 * config/i386/gthr-win32.c: New file.
8388 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8389 * config/i386/t-cygwin: Likewise.
8390 * config/i386/t-darwin, config/i386/t-darwin64,
8391 config/i386/t-gthr-win32, config/i386/t-interix: New files.
8392 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8393 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8394 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8395 * config/ia64/quadlib.c: New file.
8396 * config/ia64/t-hpux (LIB2ADD): Set.
8397 * config/ia64/t-ia64: Add comment.
8398 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8399 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8400 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8401 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8402 * config/m32c/t-m32c (LIB2ADD): Set.
8403 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8404 * config/m32r/t-m32r: Likewise.
8405 * config/m68k/fpgnulib.c: New file.
8406 * config/m68k/t-floatlib (LIB2ADD): Set.
8407 (xfgnulib.c): New target.
8408 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8409 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8410 * config/mep/t-mep (LIB2ADD): Set.
8411 * config/microblaze/divsi3.asm: Rename to divsi3.S.
8412 * config/microblaze/moddi3.asm: Rename to moddi3.S.
8413 * config/microblaze/modsi3.asm: Rename to modsi3.S.
8414 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8415 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8416 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8417 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8418 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8419 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8420 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8421 New files.
8422 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8423 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8424 * config/pa/fptr.c, config/pa/lib2funcs.S,
8425 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8426 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8427 (LIB2ADD, LIB2ADD_ST): Set.
8428 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8429 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8430 Set.
8431 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8432 * config/pdp11/t-pdp11: New file.
8433 * config/picochip/libgccExtras/adddi3.S,
8434 config/picochip/libgccExtras/ashlsi3.S,
8435 config/picochip/libgccExtras/ashrsi3.S,
8436 config/picochip/libgccExtras/clzsi2.S,
8437 config/picochip/libgccExtras/cmpsi2.S,
8438 config/picochip/libgccExtras/divmod15.S,
8439 config/picochip/libgccExtras/divmodhi4.S,
8440 config/picochip/libgccExtras/divmodsi4.S,
8441 config/picochip/libgccExtras/lshrsi3.S,
8442 config/picochip/libgccExtras/parityhi2.S,
8443 config/picochip/libgccExtras/popcounthi2.S,
8444 config/picochip/libgccExtras/subdi3.S,
8445 config/picochip/libgccExtras/ucmpsi2.S,
8446 config/picochip/libgccExtras/udivmodhi4.S,
8447 config/picochip/libgccExtras/udivmodsi4.S: New files.
8448 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8449 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8450 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8451 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8452 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8453 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8454 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8455 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8456 files.
8457 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8458 (HOST_LIBGCC2_CFLAGS): Set.
8459 * config/rs6000/t-darwin64: New file.
8460 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8461 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8462 * config/rs6000/t-ppccomm (LIB2ADD): Add
8463 $(srcdir)/config/rs6000/tramp.S.
8464 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8465 Add $(srcdir)/config/rs6000/eabi.S.
8466 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8467 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8468 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8469 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8470 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8471 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8472 * config/rs6000/tramp.S: New file.
8473 * config/s390/t-tpf: Remove.
8474 * config/sh/linux-atomic.S: New file.
8475 * config/sh/t-linux (LIB2ADD): Set.
8476 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8477 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8478 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8479 to unwind-dw2.c.
8480 (HOST_LIBGCC2_CFLAGS): Set.
8481 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8482 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8483 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8484 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8485 config/spu/mfc_multi_tag_release.c,
8486 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8487 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8488 config/spu/multi3.c: New files.
8489 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8490 (HOST_LIBGCC2_CFLAGS): Set.
8491 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8492 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8493 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8494 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8495 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8496 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8497 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8498 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8499 config/stormy16/umodsi3.c: New files.
8500 * config/xtensa/lib2funcs.S: New file.
8501 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8502 * config/xtensa/t-xtensa (LIB2ADD): Set.
8503 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8504 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8505 Add t-freebsd-thread to tmake_file for posix threads.
8506 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8507 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8508 (*-*-lynxos*): Likewise.
8509 (*-*-netbsd*): Likewise.
8510 (*-*-openbsd*): Likewise.
8511 Add t-openbsd-thread to tmake_file for posix threads.
8512 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8513 (*-*-vxworks*): Set tmake_file.
8514 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8515 (alpha*-*-freebsd*): Likewise.
8516 (alpha*-*-netbsd*): Likewise.
8517 (alpha*-*-openbsd*): Likewise.
8518 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8519 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8520 (alpha*-dec-*vms*): Likewise.
8521 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8522 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8523 (bfin*-uclinux*): Likewise.
8524 (bfin*-linux-uclibc*): Likewise.
8525 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8526 (crisv32-*-none): Likewise.
8527 (cris-*-elf): Likewise.
8528 (cris-*-none): Likewise.
8529 (cris-*-linux*, crisv32-*-linux*): Likewise.
8530 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8531 tmake_file.
8532 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8533 tmake_file.
8534 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8535 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8536 (x86_64-*-elf*): Likewise.
8537 (i[34567]86-*-nto-qnx*): Likewise.
8538 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8539 win32 threads.
8540 (x86_64-*-mingw*): Likewise.
8541 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8542 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8543 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8544 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8545 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8546 tmake_file.
8547 (mipsisa64sr71k-*-elf*): Likewise.
8548 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8549 (mips-*-elf*, mipsel-*-elf*): Likewise.
8550 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8551 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8552 (mips*-*-rtems*): Likewise.
8553 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8554 to tmake_file.
8555 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8556 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8557 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8558 (spu-*-elf*): Likewise.
8559 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8560
8561 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8562
8563 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8564 $(srcdir) to refer to $(LIB1ASMSRC).
8565 Use $<.
8566 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8567 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8568 config/arm/lib1funcs.S: New files.
8569 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8570 * config/arm/t-arm: New file.
8571 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8572 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8573 config/arm/t-strongarm-elf: New files.
8574 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8575 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8576 * config/avr/lib1funcs.S: New file.
8577 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8578 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8579 * config/c6x/lib1funcs.S: New file.
8580 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8581 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8582 * config/frv/lib1funcs.S: New file.
8583 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8584 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8585 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8586 * config/ia64/__divxf3.asm: Rename to ...
8587 * config/ia64/__divxf3.S: ... this.
8588 Adapt lib1funcs.asm filename.
8589 * config/ia64/_fixtfdi.asm: Rename to ...
8590 * config/ia64/_fixtfdi.S: ... this.
8591 Adapt lib1funcs.asm filename.
8592 * config/ia64/_fixunstfdi.asm: Rename to ...
8593 * config/ia64/_fixunstfdi.S: ... this.
8594 Adapt lib1funcs.asm filename.
8595 * config/ia64/_floatditf.asm: Rename to ...
8596 * config/ia64/_floatditf.S: ... this.
8597 Adapt lib1funcs.asm filename.
8598 * config/ia64/lib1funcs.S: New file.
8599 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8600 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8601 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8602 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8603 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8604 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8605 * config/mep/lib1funcs.S: New file.
8606 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8607 * config/mips/mips16.S: New file.
8608 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8609 * config/pa/milli64.S: New file.
8610 * config/pa/t-linux, config/pa/t-linux64: New files.
8611 * config/picochip/lib1funcs.S: New file.
8612 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8613 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8614 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8615 * config/sh/t-netbsd: New file.
8616 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8617 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8618 * config/sh/t-sh64: New file.
8619 * config/sparc/lb1spc.S: New file.
8620 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8621 filename.
8622 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8623 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8624 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8625 config/xtensa/lib1funcs.S: New files.
8626 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8627 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8628 tmake_file.
8629 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8630 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8631 (arm*-*-linux*): Likewise.
8632 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8633 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8634 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8635 (arm*-*-ecos-elf): Likewise.
8636 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8637 (arm*-*-rtems*): Likewise.
8638 (arm*-*-elf): Likewise.
8639 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8640 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8641 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8642 (bfin*-uclinux*): Likewise.
8643 (bfin*-linux-uclibc*): Likewise.
8644 (bfin*-rtems*): Likewise.
8645 (bfin*-*): Likewise.
8646 (fido-*-elf): Merge into m68k-*-elf*.
8647 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8648 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8649 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8650 (h8300-*-elf*): Likewise.
8651 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8652 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8653 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8654 (i[34567]86-*-mingw*): Likewise.
8655 (x86_64-*-mingw*): Likewise.
8656 (i[34567]86-*-interix3*): Likewise.
8657 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8658 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8659 (m68k-*-elf*): Also handle fido-*-elf.
8660 Add m68k/t-floatlib to tmake_file.
8661 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8662 (m68k-*-linux*): Likewise.
8663 (m68k-*-rtems*): Likewise.
8664 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8665 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8666 sh64*-*-*.
8667 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8668 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8669 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8670 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8671 sh/t-netbsd to tmake_file.
8672 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8673 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8674 (sh-wrs-vxworks): Likewise.
8675 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8676 *-leon[3-9]*.
8677 (v850*-*-*): Add v850/t-v850 to tmake_file.
8678 (vax-*-linux*): Add vax/t-linux to tmake_file.
8679 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8680
8681 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8682
8683 * crtstuff.c: New file.
8684 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8685 (CRTSTUFF_T_CFLAGS): Define.
8686 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8687 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8688 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8689 crtstuff.c.
8690 Use $<.
8691 (crtbeginT.o): Use $(objext).
8692 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8693 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8694 (gcc-extra-parts): Remove.
8695 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8696 Set extra_parts.
8697 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8698 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8699 Add t-crtstuff-pic to tmake_file.
8700 (*-*-lynxos*): New case.
8701 Set tmake_file, extra_parts.
8702 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8703 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8704 *-*-netbsdelf[2-9]*.
8705 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8706 (*-*-rtems*): Set extra_parts.
8707 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8708 (*-*-uclinux*): New case.
8709 Set extra_parts.
8710 (*-*-vms*): New case.
8711 Set tmake_file, extra_parts.
8712 (*-*-elf): Set extra_parts.
8713 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8714 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8715 vms/t-vms64.
8716 Set extra_parts.
8717 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8718 Set extra_parts.
8719 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8720 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8721 (arm-wrs-vxworks): Append to tmake_file.
8722 Set extra_parts.
8723 (arm*-*-uclinux*): Set extra_parts.
8724 (arm*-*-ecos-elf): Likewise.
8725 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8726 arm*-*-eabi*.
8727 (arm*-*-rtems*): Set extra_parts.
8728 (arm*-*-elf): Likewise.
8729 (avr-*-rtems*): Clear extra_parts.
8730 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8731 Set extra_parts.
8732 (bfin*-uclinux*): Likewise.
8733 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8734 (bfin*-rtems*): Append to tmake_file.
8735 Set extra_parts.
8736 (bfin*-*): Likewise.
8737 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8738 (crisv32-*-elf): ... this.
8739 (crisv32-*-none): ... this.
8740 (cris-*-elf, cris-*-none): New cases.
8741 Add cris/t-elfmulti to tmake_file.
8742 (fr30-*-elf): Append to tmake_file.
8743 Set extra_parts.
8744 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8745 Set extra_parts.
8746 (h8300-*-rtems*): Append to tmake_file.
8747 Set extra_parts.
8748 (h8300-*-elf*): Likewise.
8749 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8750 Set extra_parts.
8751 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8752 Set extra_parts.
8753 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8754 (x86_64-*-elf*): Likewise.
8755 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8756 (x86_64-*-freebsd*): Likewise.
8757 (x86_64-*-netbsd*): Likewise.
8758 (i[34567]86-*-linux*): Likewise.
8759 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8760 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8761 (x86_64-*-linux*): Likewise.
8762 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8763 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8764 tmake_file.
8765 Set extra_parts.
8766 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8767 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8768 Append to extra_parts, remove crtbegin.o, crtend.o.
8769 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8770 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8771 crtend.o, crtbeginS.o, crtendS.o.
8772 (ia64*-*-linux*): Comment extra_parts.
8773 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8774 Set extra_parts.
8775 (iq2000*-*-elf*): Clear extra_parts.
8776 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8777 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8778 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8779 (m32r-*-rtems*): ... this.
8780 Add m32r/t-m32r to tmake_file.
8781 (m68k-*-elf*): Add t-crtin to tmake_file.
8782 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8783 (mcore-*-elf): Likewise.
8784 (microblaze*-*-*): Set extra_parts.
8785 (mips*-sde-elf*): New case.
8786 Set tmake_file, extra_parts.
8787 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8788 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8789 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8790 tmake_file.
8791 Set extra_parts.
8792 (mipsisa64sr71k-*-elf*): Likewise.
8793 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8794 (mips-*-elf*, mipsel-*-elf*): Likewise.
8795 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8796 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8797 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8798 (mips*-*-rtems*): Likewise.
8799 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8800 (moxie-*-*): Split into ...
8801 (moxie-*-elf, moxie-*-uclinux*): ... this.
8802 Add to extra_parts, remove crtbegin.o, crtend.o.
8803 (moxie-*-rtems*): New case.
8804 Set tmake_file.
8805 Clear extra_parts.
8806 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8807 Set extra_parts.
8808 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8809 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8810 tmake_file.
8811 Set extra_parts.
8812 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8813 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8814 Set extra_parts.
8815 (powerpc-*-eabisim*): Likewise.
8816 (powerpc-*-elf*): Likewise.
8817 (powerpc-*-eabialtivec*): Likewise.
8818 (powerpc-xilinx-eabi*): Likewise.
8819 (powerpc-*-eabi*): Likewise.
8820 (powerpc-*-rtems*): Likewise.
8821 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8822 tmake_file.
8823 Set extra_parts.
8824 (powerpc-*-lynxos*): Add to tmake_file.
8825 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8826 rs6000/t-crtstuff, t-crtstuff-pic.
8827 Set extra_parts.
8828 (powerpcle-*-eabisim*): Likewise.
8829 (powerpcle-*-eabi*): Likewise.
8830 (rx-*-elf): Remove extra_parts.
8831 (s390x-ibm-tpf*): Set extra_parts.
8832 (score-*-elf): Set extra_parts.
8833 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8834 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8835 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8836 (sh64l*-*-netbsd*): Split into ...
8837 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8838 Add t-crtstuff-pic to tmake_file.
8839 Set extra_parts.
8840 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8841 Set extra_parts.
8842 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8843 (sparc-*-elf*): Remove t-crtin from tmake_file.
8844 Add to extra_parts, remove crtbegin.o, crtend.o.
8845 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8846 (sparc64-*-linux*): Likewise.
8847 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8848 Add to extra_parts, remove crtbegin.o, crtend.o.
8849 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8850 Add to extra_parts, remove crtbegin.o, crtend.o.
8851 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8852 Add to extra_parts, remove crtbegin.o, crtend.o.
8853 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8854 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8855 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8856 Set extra_parts.
8857 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8858 Set extra_parts.
8859 (tic6x-*-*): Change to ...
8860 (tic6x-*-elf): ... this.
8861 Set extra_parts.
8862 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8863 Set extra_parts.
8864 (am33_2.0-*-linux*): Add comment.
8865 (mep*-*-*): Add mep/t-mep to tmake_file.
8866 Set extra_parts.
8867 * config/alpha/t-vms: New file.
8868 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8869 * config/arm/crti.S, config/arm/crtn.S: New files.
8870 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8871 * config/bfin/crtlibid.S: New file.
8872 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8873 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8874 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8875 (crti.o, crtin.o): New rules.
8876 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8877 * config/c6x/t-uclinux: New file.
8878 * config/cris/t-elfmulti: New file.
8879 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8880 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8881 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8882 * config/frv/t-frv: New file.
8883 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8884 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8885 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8886 New files.
8887 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8888 refer to cygming-crtbegin.c, cygming-crtend.c.
8889 Use $<.
8890 * config/i386/t-nto: New file.
8891 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8892 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8893 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8894 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8895 Use .S extension.
8896 Use $<.
8897 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8898 (crtinitS.o): New rule.
8899 * config/ia64/vms-crtinit.S: New file.
8900 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8901 * config/m32r/initfini.c: New file.
8902 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8903 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8904 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8905 * config/mep/t-mep: New file.
8906 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8907 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8908 * config/mips/crti.S, config/mips/crtn.S: New files.
8909 * config/mips/t-crtstuff: New file.
8910 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8911 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8912 (CUSTOM_CRTIN): Set.
8913 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8914 dependencies.
8915 Use $(srcdir) to refer to crti.S, crtn.S.
8916 Use .S extension, $<.
8917 * config/moxie/crti.asm: Rename to ...
8918 * config/moxie/crti.S: ... this.
8919 * config/moxie/crtn.asm: Rename to ...
8920 * config/moxie/crtn.S: ... this.
8921 * config/moxie/t-moxie: Remove.
8922 * config/pa/stublib.c: New file.
8923 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8924 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8925 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8926 * config/rs6000/t-crtstuff: New file.
8927 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8928 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8929 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8930 Make output file explicit.
8931 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8932 Make output file explicit.
8933 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8934 Make output file explicit.
8935 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8936 Make output file explicit.
8937 * config/score/crti.S, config/score/crtn.S: New files.
8938 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8939 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8940 files.
8941 * config/sh/t-sh, config/sh/t-superh: New files.
8942 * config/sparc/t-linux64: New file.
8943 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8944 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8945 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8946 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8947 * config/t-crtin: Remove.
8948 * config/t-crtstuff-pic: New file.
8949 * config/t-sol2 (CUSTOM_CRTIN): Set.
8950 (crti.o, crtn.o): New rules.
8951 * config/vms/t-vms: New file.
8952 * config/vms/vms-ucrt0.c: New file.
8953 * config/xtensa/t-elf: New file.
8954
8955 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8956
8957 * Makefile.in (SHLIB_NM_FLAGS): Set.
8958 * mkmap-flat.awk, mkmap-symver.awk: New files.
8959 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8960 exceptions.
8961 * configure: Regenerate.
8962 * config/libgcc-glibc.ver: New file.
8963 * config/libgcc-libsystem.ver: New file.
8964 * config/t-libunwind (SHLIB_LC): Set.
8965 * config/t-linux: New file.
8966 * config/t-slibgcc (INSTALL_SHLIB): New.
8967 (SHLIB_INSTALL): Use it.
8968 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8969 to mkmap-symver.awk.
8970 (SHLIB_MAPFILES): Don't append, adapt pathname.
8971 (SHLIB_VERPFX): Set.
8972 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8973 to mkmap-symver.awk.
8974 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8975 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8976 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8977 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8978 to mkmap-flat.awk.
8979 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8980 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8981 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8982 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8983 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8984 * config/i386/libgcc-darwin.10.4.ver,
8985 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8986 New files.
8987 * config/i386/t-darwin: Remove.
8988 * config/i386/t-darwin64: Likewise.
8989 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8990 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8991 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8992 * config/i386/t-linux: New file.
8993 * config/i386/t-mingw32: New file.
8994 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8995 * config/ia64/t-glibc: Rename to ...
8996 * config/ia64/t-linux: ... this.
8997 (SHLIB_MAPFILES): Set.
8998 * config/ia64/t-glibc-libunwind: Rename to ...
8999 * config/ia64/t-linux-libunwind: ... this.
9000 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9001 * config/ia64/t-slibgcc-hpux: New file.
9002 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9003 * config/m68k/t-slibgcc-elf-ver: New file.
9004 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9005 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9006 to mkmap-flat.awk.
9007 * config/pa/t-slibgcc-hpux: New file.
9008 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9009 files.
9010 * config/rs6000/libgcc-darwin.10.4.ver,
9011 config/rs6000/libgcc-darwin.10.5.ver: New files.
9012 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9013 config/rs6000/libgcc-glibc.ver.
9014 * config/rs6000/libgcc-ppc64.ver: Rename to
9015 config/rs6000/libgcc-ibm-ldouble.ver.
9016 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9017 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9018 * config/rs6000/t-ldbl128: Rename to ...
9019 * config/rs6000/t-linux: ... this.
9020 (SHLIB_MAPFILES): Adapt filename.
9021 * config/rs6000/t-slibgcc-aix: New file.
9022 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9023 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9024 libgcc-excl.ver, libgcc-glibc.ver.
9025 (SHLIB_LINK, SHLIB_INSTALL): Remove.
9026 * config/sparc/libgcc-glibc.ver: New file.
9027 * config/sparc/t-linux: New file.
9028 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9029 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9030 t-slibgcc-elf-ver to tmake_file.
9031 Add t-slibgcc-nolc-override to tmake_file for posix threads on
9032 *-*-freebsd[34].
9033 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9034 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9035 t-slibgcc-elf-ver, t-linux to tmake_file.
9036 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9037 tmake_file.
9038 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9039 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9040 (alpha*-dec-*vms*): Likewise.
9041 (arm*-*-freebsd*): Append to tmake_file.
9042 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9043 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9044 arm*-*-linux-*eabi.
9045 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9046 tmake_file for arm*-*-symbianelf*.
9047 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9048 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9049 cris/t-linux.
9050 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9051 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9052 pa/t-slibgcc-dwarf-ver to tmake_file.
9053 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9054 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9055 (hppa*64*-*-hpux11*): Likewise.
9056 (hppa[12]*-*-hpux11*): Likewise.
9057 (x86_64-*-darwin*): Don't override tmake_file, but only keep
9058 i386/t-crtpc, i386/t-crtfm.
9059 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9060 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9061 to tmake_file.
9062 Add i386/t-cygwin to tmake_file.
9063 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9064 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9065 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9066 to tmake_file.
9067 Add i386/t-mingw32 to tmake_file.
9068 (x86_64-*-mingw*): Likewise.
9069 (ia64*-*-freebsd*): Append to tmake_file.
9070 (ia64*-*-linux*): Append to tmake_file.
9071 Replace ia64/t-glibc by ia64/t-linux.
9072 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9073 system libunwind.
9074 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9075 t-slibgcc-hpux to tmake_file.
9076 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9077 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9078 (m32rle-*-linux*): Likewise.
9079 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9080 sjlj exceptions.
9081 (microblaze*-linux*): New case.
9082 Append to tmake_file, add t-slibgcc-nolc-override.
9083 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9084 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9085 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9086 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9087 rs6000/t-slibgcc-aix to tmake_file.
9088 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9089 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9090 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9091 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9092 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9093 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9094 sh*-*-linux*.
9095 (sparc-*-linux*): Append to tmake_file for *-leon*.
9096 Add sparc/t-linux to tmake_file for non-Leon targets.
9097 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9098 (tic6x-*-uclinux): New case.
9099 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9100 (tic6x-*-*): Add c6x/t-elf to tmake_file.
9101 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9102 (am33_2.0-*-linux*): Append to tmake_file.
9103 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9104 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9105 x86_64-*-kfreebsd*-gnu.
9106 Add i386/t-linux to tmake_file.
9107
9108 2011-10-28 Ian Lance Taylor <iant (a] google.com>
9109
9110 * config/i386/morestack.S: Correct CFI information to do proper
9111 returns throughout function. In 32-bit mode, save %ebx so that it
9112 is restored on unwind.
9113
9114 2011-10-25 Bernd Schmidt <bernds (a] codesourcery.com>
9115
9116 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9117 case where B3 isn't the return register.
9118
9119 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9120 logic for doubleword pops.
9121
9122 2011-10-25 Andreas Tobler <andreast (a] fgznet.ch>
9123
9124 * config/rs6000/t-freebsd: Add wildcard.
9125
9126 2011-10-21 Paul Brook <paul (a] codesourcery.com>
9127
9128 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9129
9130 2011-10-16 Uros Bizjak <ubizjak (a] gmail.com>
9131 Eric Botcazou <ebotcazou (a] adacore.com>
9132
9133 PR target/50737
9134 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9135 fs->signal_frame to 1.
9136
9137 2011-10-07 Ian Lance Taylor <iant (a] google.com>
9138
9139 * generic-morestack-thread.c: #include <errno.h>.
9140
9141 2011-10-07 Ian Lance Taylor <iant (a] google.com>
9142
9143 PR target/46093
9144 * generic-morestack.c (__generic_morestack): Make sure the segment
9145 is large enough for both the stack frame and the copied
9146 parameters.
9147
9148 2011-10-06 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9149
9150 PR bootstrap/49804
9151 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9152 extra_parts.
9153
9154 2011-09-28 Nick Clifton <nickc (a] redhat.com>
9155
9156 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9157 64-bit doubles are not enabled.
9158 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9159 and floatunsisf functions.
9160
9161 2011-09-13 Paul Brook <paul (a] codesourcery.com>
9162
9163 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
9164 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9165 * unwind-arm-common.inc: New file.
9166 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9167 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9168 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9169 * config/c6x/libunwind.S: New file.
9170 * config/c6x/pr-support.c: New file.
9171 * config/c6x/unwind-c6x.c: New file.
9172 * config/c6x/unwind-c6x.h: New file.
9173 * config/c6x/t-c6x-elf: New file.
9174
9175 2011-08-23 Uros Bizjak <ubizjak (a] gmail.com>
9176
9177 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9178 (ASM_DIVZERO): Ditto.
9179 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9180
9181 2011-08-18 Richard Sandiford <richard.sandiford (a] linaro.org>
9182
9183 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9184
9185 2011-08-17 Richard Sandiford <richard.sandiford (a] linaro.org>
9186
9187 PR target/50090
9188 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9189 instead of an assembly one.
9190
9191 2011-08-12 Paolo Bonzini <bonzini (a] gnu.org>
9192
9193 PR bootstrap/50047
9194 * Makefile.in (install-unwind_h): Create
9195 $(gcc_objdir)/include/unwind.h atomically.
9196
9197 2011-08-11 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9198
9199 * Makefile.in (install-unwind_h): Remove destination file first.
9200
9201 2011-08-09 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9202
9203 * sync.c: New file.
9204 * config/mips/t-mips16: New file.
9205 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9206 (mips*-*-linux*): Likewise.
9207 (mips*-sde-elf*): Likewise.
9208 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9209 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9210 Add mips/t-mips16 to tmake_file.
9211 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9212 (mips-*-elf*): Likewise.
9213 (mips64-*-elf*): Likewise.
9214 (mips64orion-*-elf*): Likewise.
9215 (mips*-*-rtems*): Likewise.
9216 (mipstx39-*-elf*): Likewise.
9217 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9218 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9219 LIBGCC_SYNC_CFLAGS.
9220 Use $(srcdir) to refer to sync.c.
9221 Use $<.
9222 ($(libgcc-sync-funcs-o)): Likewise.
9223 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9224 ($(libgcc-sync-funcs-s-o)): Likewise.
9225
9226 2011-08-09 Andreas Schwab <schwab (a] linux-m68k.org>
9227
9228 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9229 t-libunwind.
9230
9231 2011-08-08 H.J. Lu <hongjiu.lu (a] intel.com>
9232
9233 PR other/48007
9234 * config/i386/value-unwind.h: New.
9235
9236 2011-08-06 Richard Sandiford <rdsandiford (a] googlemail.com>
9237
9238 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9239 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9240 Add to tmake_file rather than overriding it.
9241
9242 2011-08-05 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9243
9244 * config/t-softfp: Remove.
9245 * soft-fp: Moved from ../gcc/config.
9246 * soft-fp/README: Remove t-softfp reference.
9247 * soft-fp/t-softfp: Move to config/t-softfp.
9248 (softfp_machine_header): Remove.
9249 (softfp_file_list): Remove config subdir.
9250 (soft-fp-objects): New variable.
9251 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9252 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9253 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9254 * config/t-softfp-excl: New file.
9255 * config/t-softfp-sfdf: New file.
9256 * config/t-softfp-tf: New file.
9257 * config/no-sfp-machine.h: New file.
9258 * config/arm/sfp-machine.h: New file.
9259 * config/arm/t-softfp: New file.
9260 * config/c6x/sfp-machine.h: New file.
9261 * config/i386/32/t-fprules-softfp: Rename to ...
9262 * config/i386/32/t-softfp: ... this.
9263 (tifunctions, LIB2ADD): Remove.
9264 (softfp_int_modes): Override.
9265 * config/i386/64/t-softfp-compat (tf-functions): Remove config
9266 subdir.
9267 * config/i386/64/eqtf2.c: Likewise.
9268 * config/i386/64/getf2.c: Likewise.
9269 * config/i386/64/letf2.c: Likewise.
9270 * config/ia64/sft-machine.h: New file.
9271 * config/ia64/t-fprules-softfp: Rename to ...
9272 * config/ia64/t-softfp: ... this.
9273 * config/lm32/sfp-machine.h: New file.
9274 * config/moxie/t-moxie-softfp: Remove.
9275 * config/rs6000/ibm-ldouble-format: New file.
9276 * config/rs6000/ibm-ldouble.c: New file.
9277 * config/rs6000/libgcc-ppc-glibc.ver: New file
9278 * config/rs6000/libgcc-ppc64.ver: New file
9279 * config/rs6000/sfp-machine.h: New file.
9280 * config/rs6000/t-freebsd: New file.
9281 * config/rs6000/t-ibm-ldouble: New file.
9282 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9283 libgcc-ppc-glibc.ver.
9284 * config/rs6000/t-linux64: New file.
9285 * config/rs6000/t-ppccomm (LIB2ADD): Add
9286 $(srcdir)/config/rs6000/ibm-ldouble.c.
9287 * config/rs6000/t-ppccomm-ldbl: New file.
9288 * config/score/sfp-machine.h: New file.
9289 * config.host (sfp_machine_header): Explain.
9290 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9291 t-softfp to tmake_file.
9292 (arm*-*-uclinux*): Likewise.
9293 (arm*-*-ecos-elf): Likewise.
9294 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9295 (arm*-*-rtems*): Likewise.
9296 (arm*-*-elf): Likewise.
9297 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9298 in tmake_file.
9299 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9300 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9301 (lm32-*-uclinux*): Likewise.
9302 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9303 t-softfp-excl, t-softfp.
9304 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9305 (powerpc64-*-darwin*): Likewise.
9306 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9307 to tmake_file.
9308 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9309 tmake_file.
9310 (powerpc-*-eabisim*): Likewise.
9311 (powerpc-*-elf*): Likewise.
9312 (powerpc-*-eabialtivec*): Likewise.
9313 (powerpc-xilinx-eabi*): Likewise.
9314 (powerpc-*-rtems*): Likewise.
9315 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9316 t-softfp-excl, t-softfp to tmake_file.
9317 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9318 rs6000/t-ppccomm-ldbl to tmake_file.
9319 (powerpcle-*-elf*): Likewise.
9320 (powerpcle-*-eabisim*): Likewise.
9321 (powerpcle-*-eabi*): Likewise.
9322 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9323 rs6000/t-ibm-ldouble to tmake_file.
9324 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9325 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9326 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9327 (tic6x-*-*): Likewise.
9328 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9329 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9330 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9331 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9332 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9333 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9334 t-softfp to tmake_file.
9335 * configure.ac (sfp_machine_header): Provide default if unset.
9336 Substitute.
9337 Link sfp-machine.h to config/$sfp_machine_header.
9338 * configure: Regenerate.
9339
9340 2011-08-05 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9341
9342 * Makefile.in (double_type_size, long_double_type_size): Set.
9343 Remove $(fpbit-in-libgcc) support.
9344 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9345 (fpbit-src): New variable.
9346 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9347 Compile with -DFLOAT $(FPBIT_CFLAGS).
9348 Use $<.
9349 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9350 Compile with $(FPBIT_CFLAGS).
9351 Use $<.
9352 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9353 Compile with -DFLOAT $(TPBIT_CFLAGS).
9354 Use $<.
9355 * configure.ac (double_type_size, long_double_type_size):
9356 Determine and substitute.
9357 * configure: Regenerate.
9358 * fp-bit.c, fp-bit.h: New files.
9359 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9360 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9361 * config/mips/t-mips: New file.
9362 * config/mips/t-sdemtk: New file.
9363 * config/rs6000/ppc64-fp.c: New file.
9364 * config/rs6000/t-darwin (LIB2ADD): Add
9365 $(srcdir)/config/rs6000/ppc64-fp.c.
9366 * config/rs6000/t-ppc64-fp: New file.
9367 * config/rx/rx-lib.h: New file.
9368 * config/rx/t-rx (FPBIT): Set to true.
9369 ($(gcc_objdir)/fp-bit.c): Remove.
9370 (DPBIT): Set to true only with -m64bit-doubles.
9371 ($(gcc_objdir)/dp-bit.c): Remove.
9372 * config/sparc/t-softfp: Remove.
9373 * config/spu/t-elf: New file.
9374 * config/t-fdpbit, config/t-fpbit: New files.
9375 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9376 (mips*-*-*): Likewise.
9377 (arm-wrs-vxworks): Likewise.
9378 (arm*-*-freebsd*): Likewise.
9379 (avr-*-rtems*): Add t-fpbit to tmake_file.
9380 (avr-*-*): Likewise.
9381 (bfin*-elf*): Add t-fdpbit to tmake_file.
9382 (bfin*-uclinux*): Likewise.
9383 (bfin*-linux-uclibc*): Likewise.
9384 (bfin*-rtems*): New case.
9385 Add t-fdpbit to tmake_file.
9386 (bfin*-*): Add t-fdpbit to tmake_file.
9387 (crisv32-*-elf): Likewise.
9388 (cris-*-linux*): Likewise.
9389 (fr30-*-elf): Likewise.
9390 (frv-*-elf, frv-*-*linux*): Likewise.
9391 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9392 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9393 (m32r-*-elf*): Likewise.
9394 (m32rle-*-elf*): Likewise.
9395 (m32r-*-linux*): Likewise.
9396 (m32rle-*-linux*): Likewise.
9397 (mcore-*-elf): Add t-fdpbit to tmake_file.
9398 (microblaze*-*-*): Likewise.
9399 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9400 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9401 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9402 Fix typo.
9403 Add mips/t-tpbit to tmake-file.
9404 (mips*-*-linux*): Fix typo.
9405 (mips*-sde-elf*): New case
9406 Add mips/t-sdemtk unless using newlib.
9407 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9408 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9409 (mn10300-*-*): Likewise.
9410 (pdp11-*-*): Likewise.
9411 (picochip-*-*): Add t-fpbit to tmake_file.
9412 (powerpc-*-eabisimaltivec*): Likewise.
9413 (powerpc-*-eabisim*): Likewise.
9414 (powerpc-*-elf*): Likewise.
9415 (powerpc-*-eabialtivec*): Likewise.
9416 (powerpc-xilinx-eabi*): New case.
9417 Add t-fdpbit to tmake_file.
9418 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
9419 (powerpc-*-rtems*): Likewise.
9420 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9421 tmake_file.
9422 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9423 tmake_file.
9424 (powerpc-*-lynxos*): Likewise.
9425 (powerpcle-*-elf*): Likewise.
9426 (powerpcle-*-eabisim*): Likewise.
9427 (powerpcle-*-eabi*): Likewise.
9428 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9429 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9430 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9431 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9432 (rx-*-elf): Add t-fdpbit to tmake_file.
9433 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9434 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9435 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9436 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9437 sh*-*-netbsd*.
9438 (sh-*-rtems*): Add t-fdpbit to tmake_file.
9439 (sh-wrs-vxworks): Likewise.
9440 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9441 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9442 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9443 (sparc64-*-rtems*): ... new case.
9444 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9445 (spu-*-elf*): Likewise.
9446 Add spu/t-elf to tmake_file.
9447 (v850*-*-*): Add t-fdpbit to tmake_file.
9448 (xstormy16-*-elf): Likewise.
9449 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9450 (mep*-*-*): Likewise.
9451
9452 2011-08-05 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9453
9454 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9455 variables.
9456 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9457 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9458 (install-unwind_h): New target.
9459 (all): Depend on it.
9460 * config.host (unwind_header): New variable.
9461 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9462 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9463 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9464 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9465 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9466 Set unwind_header.
9467 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9468 Set unwind_header.
9469 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9470 arm*-*-eabi*.
9471 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9472 Set unwind_header.
9473 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9474 (ia64*-*-freebsd*): Likewise.
9475 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9476 tmake_file.
9477 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9478 $with_system_libunwind.
9479 (ia64*-*-hpux*): Set tmake_file.
9480 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9481 (picochip-*-*): Set tmake_file.
9482 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9483 md_unwind_header.
9484 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9485 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9486 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9487 (xtensa*-*-elf*): Set tmake_file.
9488 (xtensa*-*-linux*): Likewise.
9489 * configure.ac: Include ../config/unwind_ipinfo.m4.
9490 Call GCC_CHECK_UNWIND_GETIPINFO.
9491 Link unwind.h to $unwind_header.
9492 * configure: Regenerate.
9493 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9494 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9495 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9496 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9497 * config/unwind-dw2-fde-darwin.c: New file.
9498 * config/arm/libunwind.S, config/arm/pr-support.c,
9499 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9500 config/arm/unwind-arm.h,: New files.
9501 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9502 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9503 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9504 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9505 config/ia64/unwind-ia64.h: New files.
9506 * config/picochip/t-picochip: New file.
9507 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9508 files.
9509 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9510 * config/s390/t-tpf (LIB2ADDEH): Remove.
9511 * config/t-darwin (LIB2ADDEH): Set.
9512 * config/t-eh-dw2-dip: New file.
9513 * config/t-libunwind, config/t-libunwind-elf: New files.
9514 * config/t-sol2 (LIB2ADDEH): Remove.
9515 * config/xtensa/t-xtensa: New file.
9516
9517 2011-08-02 H.J. Lu <hongjiu.lu (a] intel.com>
9518
9519 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9520 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9521 long long to check rt_sigreturn syscall.
9522
9523 2011-08-02 Alan Modra <amodra (a] gmail.com>
9524
9525 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9526 Restore for indirect call bcrtl from correct stack slot, and only
9527 if cfa+40 isn't valid.
9528
9529 2011-08-01 Julian Brown <julian (a] codesourcery.com>
9530
9531 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9532 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9533 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9534
9535 2011-08-01 Julian Brown <julian (a] codesourcery.com>
9536
9537 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9538 (libgcc-std.ver.in): Use above.
9539 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9540 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9541 throughout file.
9542 * config/t-fixedpoint-gnu-prefix: New file.
9543 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9544 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9545 instead of __PFX__.
9546
9547 2011-07-28 H.J. Lu <hongjiu.lu (a] intel.com>
9548
9549 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9550 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9551 for x86-64. Properly check __x86_64__ and __LP64__.
9552
9553 2010-07-28 H.J. Lu <hongjiu.lu (a] intel.com>
9554
9555 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9556 version.
9557 (_FP_WS_TYPE): Likewise.
9558 (_FP_I_TYPE): Likewise.
9559
9560 2011-07-28 Alan Modra <amodra (a] gmail.com>
9561
9562 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9563 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9564 in a plt call stub. Do restore r2 if stopped on bctrl.
9565
9566 2011-07-18 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9567
9568 * config.host (i[3456x]86-*-netware*): Remove.
9569 * config/i386/netware-crt0.c, config/i386/t-nwld,
9570 config/i386/t-slibgcc-nwld: Remove.
9571
9572 2011-07-15 Bernd Schmidt <bernds (a] codesourcery.com>
9573
9574 * config.host: Handle tic6x-*-*.
9575 * config/c6x/c6x-abi.h: New file.
9576
9577 2011-07-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9578
9579 * config/i386/crtprec.c: New file.
9580 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9581 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9582 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9583 (x86_64-*-darwin*): Likewise.
9584 (i[34567]86-*-solaris2*: Likewise.
9585
9586 2011-07-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9587
9588 * config/alpha/crtfastmath.c: New file.
9589 * config/i386/crtfastmath.c: New file.
9590 * config/ia64/crtfastmath.c: New file.
9591 * config/mips/crtfastmath.c: New file.
9592 * config/sparc/crtfastmath.c: New file.
9593
9594 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9595 crtfastmath.c.
9596 Add -frandom-seed=gcc-crtfastmath.
9597 * config/alpha/t-crtfm: Remove.
9598 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9599 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9600
9601 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9602 (alpha*-dec-osf5.1*): Likewise.
9603 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9604 Add crtfastmath.o to extra_parts.
9605 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9606 Add crtfastmath.o to extra_parts.
9607 (x86_64-*-darwin*): Likewise.
9608 (x86_64-*-mingw*): Likewise.
9609 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9610 (ia64*-*-freebsd*): Likewise.
9611 (ia64*-*-linux*): Likewise.
9612 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9613 Add crtfastmath.o to extra_parts.
9614
9615 2011-07-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9616
9617 * config/darwin-crt3.o: New file.
9618 * config/rs6000/darwin-crt2.c: New file.
9619 * config/t-darwin: New file.
9620 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9621 (crt2.o): New rule.
9622 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9623 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9624 (powerpc64-*-darwin*): Likewise.
9625
9626 2011-07-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9627
9628 * config/i386/netware-crt0.c: New file.
9629 * config/i386/t-nwld: Rename to ...
9630 * config/i386/t-slibgcc-nwld: ... this.
9631 * config/i386/t-nwld: New file.
9632 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9633 tmake_file.
9634 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9635 extra_parts.
9636
9637 2011-07-11 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9638
9639 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9640 i386/t-crtstuff.
9641 * configure: Regenerate.
9642
9643 2011-07-11 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9644
9645 * dfp-bit.c, dfp-bit.h: New files.
9646 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9647 variables.
9648 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9649 ($(d64pbit-o)): Likewise.
9650 ($(d128pbit-o)): Likewise.
9651 * config/t-dfprules: New file.
9652 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9653 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9654 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9655 (x86_64-*-linux*): Likewise.
9656 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9657 (i[34567]86-*-cygwin*): Likewise.
9658 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9659 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9660
9661 2011-07-08 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9662
9663 * Makfile.in (LIBGCOV): New variable.
9664 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9665 * libgcov.c: New file.
9666
9667 2011-07-08 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9668
9669 * fixed-bit.c, fixed-bit.h: New files.
9670 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9671 refer to fixed-bit.c.
9672
9673 2011-07-07 Joseph Myers <joseph (a] codesourcery.com>
9674
9675 * config.host (*local*): Remove.
9676
9677 2011-07-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9678
9679 PR target/39150
9680 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9681 like i?86-*-solaris2.1[0-9]*.
9682 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9683 * configure.ac (i?86-*-solaris2*): Likewise.
9684 * configure: Regenerate.
9685
9686 2011-07-06 Thomas Schwinge <thomas (a] schwinge.name>
9687
9688 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9689 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9690 md_unwind_header by splitting out of...
9691 (i[34567]86-*-linux*): ... this.
9692 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9693 Remove md_unwind_header by splitting out of...
9694 (x86_64-*-linux*): ... this.
9695
9696 2011-07-04 Georg-Johann Lay <avr (a] gjlay.de>
9697
9698 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9699
9700 2011-06-28 Nick Clifton <nickc (a] redhat.com>
9701
9702 * config.host: Recognize all V850 variants.
9703
9704 2011-06-22 Uros Bizjak <ubizjak (a] gmail.com>
9705
9706 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9707
9708 2011-06-21 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9709
9710 * shared-object.mk (c_flags-$o): Save c_flags.
9711 ($(base)$(objext)): Use it.
9712 ($(base)_s$(objext)): Likewise.
9713
9714 2011-06-21 Bernd Schmidt <bernds (a] codesourcery.com>
9715
9716 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9717 * libgcc-std.ver.in (GCC_4.7.0): New section.
9718
9719 2011-06-16 Georg-Johann Lay <avr (a] gjlay.de>
9720
9721 PR target/49313
9722 PR target/29524
9723 * config/avr/t-avr: Fix line endings.
9724 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9725 _parityXX2.
9726
9727 2011-06-14 Olivier Hainque <hainque (a] adacore.com>
9728 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9729
9730 * config/mips/irix6-unwind.h: New file.
9731 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9732
9733 2011-06-10 Eric Botcazou <ebotcazou (a] adacore.com>
9734
9735 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9736 (sparc64_fallback_frame_state): Use it.
9737 (sparc64_frob_update_context): Further adjust context.
9738 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9739 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9740 * config/sparc/sol2-cn.S: Likewise.
9741
9742 2011-06-09 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9743
9744 * enable-execute-stack-empty.c: New file.
9745 * enable-execute-stack-mprotect.c: New file.
9746 * config/i386/enable-execute-stack-mingw32.c: New file.
9747 * config.host (enable_execute_stack): New variable.
9748 Select appropriate variants.
9749 * configure.ac: Link enable-execute-stack.c to
9750 $enable_execute_stack.
9751 * configure: Regenerate.
9752 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9753 (lib2funcs): Remove _enable_execute_stack.
9754
9755 2011-06-09 David S. Miller <davem (a] davemloft.net>
9756 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9757
9758 * config.host (sparc-*-linux*): Correct md_unwind_header
9759 filename.
9760 (s390x-ibm-tpf*): Fix typo.
9761
9762 2011-06-06 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9763
9764 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9765 Add crtfastmath.o to extra_parts.
9766 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9767 mips/t-crtfm.
9768 * config/mips/t-crtfm: Remove.
9769
9770 2011-06-04 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
9771
9772 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9773
9774 2011-06-04 Kaz Kojima <kkojima (a] gcc.gnu.org>
9775
9776 * config.host (sh*-*-linux*): Fix typo.
9777
9778 2011-06-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9779
9780 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9781 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9782 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9783 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9784 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9785 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9786 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9787 Wrap in !__MINGW64__.
9788 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9789 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9790 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9791 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9792 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9793 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9794 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9795 Wrap in !__LP64__.
9796 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9797 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9798 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9799 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9800 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9801 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9802 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9803 * config/no-unwind.h: New file.
9804 * config.host (md_unwind_header): Document.
9805 Define.
9806 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9807 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9808 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9809 hppa[12]*-*-hpux11*): Set md_unwind_header.
9810 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9811 Set md_unwind_header.
9812 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9813 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9814 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9815 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9816 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9817 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9818 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9819 md_unwind_header.
9820 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9821 * configure: Regenerate.
9822
9823 2011-06-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9824
9825 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9826 Set tmake_file, extra_parts.
9827 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9828 Remove O32 support.
9829 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9830 Remove O32 support.
9831 * config/mips/t-irix6: New file.
9832 * config/mips/t-slibgcc-irix: New file.
9833
9834 2011-06-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9835
9836 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9837 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9838
9839 2011-06-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9840
9841 * configure.ac (target_thread_file): Determine thread model.
9842 * configure: Regenerate.
9843 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9844 * config/alpha/t-alpha: New file.
9845 * config/alpha/t-crtfm: Use $<.
9846 * config/alpha/t-ieee: New file.
9847 * config/alpha/t-osf-pthread: New file.
9848 * config/alpha/t-slibgcc-osf: New file.
9849 * config/alpha/libgcc-osf5.ver: New file.
9850
9851 2011-06-01 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9852
9853 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9854 tmake_file.
9855 Add crtfastmath.o to extra_parts.
9856
9857 2011-06-01 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9858
9859 * config/gmon-sol2.c: Reindent.
9860 Cleanup comments.
9861 Remove, correct casts.
9862 Use STDERR_FILENO, NULL.
9863 (BASEADDRESS): Remove.
9864 (minbrk): Remove.
9865 (errno, sbrk): Remove declarations.
9866 (monstartup) [hp300]: Remove.
9867 (mcount): Remove.
9868
9869 2011-06-01 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9870
9871 * Makefile.in (cpu_type): Define.
9872 * config.host (i[34567]86-*-rtems*): Handle it.
9873 (i[34567]86-*-solaris2*): Move body ...
9874 (*-*-solaris2*): ... here.
9875 New case, generalize.
9876 (sparc-*-elf*): Handle it.
9877 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9878 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9879 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9880 Fold into ...
9881 (sparc*-*-solaris2*): ... this.
9882 New case.
9883 (sparc64-*-elf*): Handle it.
9884 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9885 Merge ../gcc/config/i386/gmon-sol2.c.
9886 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9887 Use C comments.
9888 Merge ../gcc/config/i386/sol2-gc1.asm.
9889 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9890 Use C comments.
9891 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9892 Use C comments.
9893 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9894 * config/i386/t-crtstuff: New file.
9895 * config/i386/t-softfp: New file.
9896 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9897 $(T)crti.o, $(T)crtn.o): Remove.
9898 (gcrt1.o): New rule.
9899 (TARGET_LIBGCC2_CFLAGS): Remove.
9900 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9901 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9902 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9903 * config/sparc/t-sol2: New file.
9904 * config/sparc/t-crtfm: Move to ...
9905 * config/t-crtfm: ... this.
9906 Use $(cpu_type), $<.
9907 * config/t-crtin: New file.
9908 * config/sparc/t-softfp: New file.
9909 * config/sparc/t-softmul: New file.
9910 * config/t-rtems: New file.
9911 * config/t-slibgcc: New file.
9912 * config/t-slibgcc-elf-ver: New file.
9913 * config/t-slibgcc-gld: New file.
9914 * config/t-slibgcc-sld: New file.
9915 * config/t-sol2: New file.
9916 * configure.ac: Include ../config/lib-ld.m4.
9917 Call AC_LIB_PROG_LD_GNU.
9918 Substitute cpu_type.
9919 * configure: Regenerate.
9920
9921 2011-05-27 Bernd Schmidt <bernds (a] codesourcery.com>
9922
9923 PR bootstrap/49173
9924 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9925 libgcc-std.ver in the build directory.
9926 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9927 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9928
9929 2011-05-25 Bernd Schmidt <bernds (a] codesourcery.com>
9930
9931 * libgcc-std.ver.in: New file.
9932 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9933 variables.
9934 (libgcc-std.ver): New rule.
9935 * config/t-gnu-prefix: New file.
9936
9937 2011-05-23 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9938
9939 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9940
9941 2011-05-10 Joseph Myers <joseph (a] codesourcery.com>
9942
9943 * config/i386/darwin-lib.h: New file.
9944
9945 2011-05-10 Joseph Myers <joseph (a] codesourcery.com>
9946
9947 * config/arm/symbian-lib.h: New.
9948
9949 2011-05-04 Chris Demetriou <cgd (a] google.com>
9950
9951 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9952 (__x86.get_pc_thunk.bx): ...this.
9953 (__morestack): Adjust for rename, remove undef of __i686.
9954
9955 2011-05-03 Chris Demetriou <cgd (a] google.com>
9956
9957 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9958
9959 2011-03-22 Joseph Myers <joseph (a] codesourcery.com>
9960
9961 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9962 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9963 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9964 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9965 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9966 Remove cases.
9967
9968 2011-03-14 Andreas Tobler <andreast (a] fgznet.ch>
9969
9970 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9971 Adjust copyright year.
9972
9973 2011-03-07 Ian Lance Taylor <iant (a] google.com>
9974
9975 * generic-morestack.c (__splitstack_find): Adjust returned stack
9976 pointer to include all registers pushed by __morestack.
9977
9978 2011-01-26 Dave Korn <dave.korn.cygwin (a] gmail.com>
9979
9980 PR target/40125
9981 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9982 (toolexecdir): Calculate and AC_SUBST.
9983 (toolexeclibdir): Likewise.
9984 * Makefile.in (target_noncanonical): Import.
9985 (toolexecdir): Likewise.
9986 (toolexeclibdir): Likewise.
9987 * configure: Regenerate.
9988
9989 2010-12-13 Nathan Froyd <froydnj (a] codesourcery.com>
9990
9991 PR target/46040
9992 * config/arm/bpabi.h: Rename to...
9993 * config/arm/bpabi-lib.h: ...this.
9994
9995 2010-12-10 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9996
9997 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9998 appropriate.
9999 * configure: Regenerate.
10000
10001 2010-11-24 Nathan Froyd <froydnj (a] codesourcery.com>
10002
10003 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10004 __FLOAT_WORD_ORDER__.
10005 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10006 Delete.
10007
10008 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
10009
10010 PR other/46202
10011 * Makefile.in (install-strip): New phony target.
10012
10013 2010-11-07 Ian Lance Taylor <iant (a] google.com>
10014
10015 PR target/46089
10016 * config/i386/morestack.S (__morestack_large_model): New
10017 function.
10018
10019 2010-10-23 Nathan Froyd <froydnj (a] codesourcery.com>
10020
10021 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10022 Delete.
10023 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10024
10025 2010-10-14 Nathan Froyd <froydnj (a] codesourcery.com>
10026
10027 * config/arm/bpabi.h: New file.
10028 * config/frv/frv-abi.h: New file.
10029
10030 2010-10-01 Ian Lance Taylor <iant (a] google.com>
10031
10032 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10033 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10034
10035 2010-10-01 H.J. Lu <hongjiu.lu (a] intel.com>
10036
10037 PR target/45858
10038 * config.host: Add the missing `$'.
10039
10040 2010-09-30 Michael Eager <eager (a] eagercon.com>
10041
10042 * config.host: Add microblaze*-*-*.
10043 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10044 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10045 udivsi3.asm,umodsi3.asm}: New.
10046
10047 2010-09-28 Ian Lance Taylor <iant (a] google.com>
10048
10049 * configure.ac: Adjust CFI test to test assembler directly rather
10050 than checking gcc preprocessor macro.
10051 * configure: Rebuild.
10052
10053 2010-09-27 Ian Lance Taylor <iant (a] google.com>
10054
10055 * configure.ac: Test whether assembler supports CFI directives.
10056 * config.host: Only add t-stack and i386/t-stack-i386 to
10057 tmake_file if libgcc_cv_cfi is "yes".
10058 * configure: Rebuild.
10059
10060 2010-09-27 Ian Lance Taylor <iant (a] google.com>
10061
10062 * generic-morestack.h: New file.
10063 * generic-morestack.c: New file.
10064 * generic-morestack-thread.c: New file.
10065 * config/i386/morestack.S: New file.
10066 * config/t-stack: New file.
10067 * config/i386/t-stack-i386: New file.
10068 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10069 i386/t-stack-i386 to tmake_file.
10070
10071 2010-09-21 Iain Sandoe <iains (a] gcc.gnu.org>
10072
10073 * Makefile.in (libgcc-extra-parts): Check for static archives and
10074 invoke ranlib after installing them.
10075 (gcc-extra-parts): Likewise.
10076 (install-leaf): Likewise.
10077
10078 2010-09-14 H.J. Lu <hongjiu.lu (a] intel.com>
10079
10080 * configure: Regenerated.
10081
10082 2010-09-10 Kai Tietz <kai.tietz (a] onevision.com>
10083
10084 * configure: Regenerated.
10085
10086 2010-09-09 Gerald Pfeifer <gerald (a] pfeifer.com>
10087 Andrew Pinski <pinskia (a] gmail.com>
10088
10089 PR target/40959
10090 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
10091
10092 2010-09-06 H.J. Lu <hongjiu.lu (a] intel.com>
10093
10094 PR target/45524
10095 * configure: Regenerated.
10096
10097 2010-09-06 Andreas Schwab <schwab (a] redhat.com>
10098
10099 * configure: Regenerate.
10100
10101 2010-09-03 Uros Bizjak <ubizjak (a] gmail.com>
10102
10103 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10104 64bit targets.
10105 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10106 for 64bit targets.
10107
10108 2010-09-03 Uros Bizjak <ubizjak (a] gmail.com>
10109 Iain Sandoe <iains (a] gcc.gnu.org>
10110
10111 PR target/45476
10112 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10113 LIB2FUNCS_EXCLUDE functions.
10114
10115 2010-09-03 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
10116
10117 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10118 Include dfp.m4.
10119 * configure: Regenerate.
10120
10121 2010-09-01 Uros Bizjak <ubizjak (a] gmail.com>
10122
10123 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10124 i386/t-freebsd to tmake_file.
10125 * config/i386/t-freebsd: New file.
10126 * config/i386/libgcc-bsd.ver: New file.
10127
10128 2010-07-23 Nathan Froyd <froydnj (a] codesourcery.com>
10129
10130 * config.host (powerpc*-eabispe*): Set tmake_file.
10131 (powerpc*-eabi*): Likewise.
10132 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10133 crtbeginS, crtendS, crtbeginT.
10134
10135 2010-06-12 Kazu Hirata <kazu (a] codesourcery.com>
10136
10137 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10138 to tmake_file. Add crtfastmath.o to extra_parts.
10139 * config/mips/t-crtfm: New.
10140
10141 2010-05-19 Joel Sherrill <joel.sherrill (a] oarcorp.com>
10142
10143 * config.host (sparc64-*-rtems*): New target.
10144
10145 2010-05-19 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10146
10147 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10148 assembler syntax.
10149
10150 2010-04-15 Thomas Schwinge <tschwinge (a] gnu.org>
10151
10152 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10153
10154 2010-04-12 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10155
10156 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10157 alpha-dec-osf5.0* support.
10158
10159 2010-04-01 Ralf Corspius <ralf.corsepius (a] rtems.org>
10160
10161 * config.host: Add lm32-*-rtems*.
10162
10163 2010-03-31 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10164 Uros Bizjak <ubizjak (a] gmail.com>
10165
10166 PR target/39048
10167 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10168 like other remaining 32-bit x86 OSes.
10169 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10170 assembler syntax.
10171 * config/i386/libgcc-sol2.ver: New file.
10172 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10173
10174 2010-03-30 Jack Howarth <howarth (a] bromo.med.uc.edu>
10175
10176 PR c/43553
10177 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10178 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10179 is used and substitute set_use_emutls.
10180 * configure: Regenerated.
10181
10182 2010-03-30 Tarik Graba <tarik.graba (a] telecom-paristech.fr>
10183
10184 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10185
10186 2010-03-22 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10187
10188 PR target/38085
10189 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10190 MULTILIB_CFLAGS.
10191 ($(T)gcrt1.o): Likewise.
10192 ($(T)crt1.o): Likewise.
10193 ($(T)crti.o): Likewise.
10194 ($(T)crtn.o): Likewise.
10195
10196 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
10197
10198 PR other/42980
10199 * Makefile.in (install): Use $(MAKE) string in rule, for
10200 parallel make.
10201
10202 2010-02-22 Hans-Peter Nilsson <hp (a] bitrange.com>
10203
10204 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10205 * config/mmix/t-mmix: New file.
10206 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10207
10208 2010-02-02 Jack Howarth <howarth (a] bromo.med.uc.edu>
10209
10210 PR java/41991
10211 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10212 SHLIB_MAPFILES.
10213
10214 2010-01-04 Anthony Green <green (a] moxielogic.com>
10215
10216 * config/moxie/crti.asm, config/moxie/crtn.asm,
10217 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10218 config/moxie/t-moxie: New files.
10219 * config.host: Add t-moxie-softfp reference.
10220
10221 2009-11-18 Iain Sandoe <iain.sandoe (a] sandoe-acoustics.co.uk>
10222
10223 PR other/39888
10224 * config/t-slibgcc-darwin: Fix embedded rpaths for
10225 --enable-version-specific-runtime-libs, build extension stub
10226 libs exposing features available from current libgcc_s.
10227
10228 2009-11-11 Jon Beniston <jon (a] beniston.com>
10229
10230 * config.host: Add lm32 targets.
10231 * config/lm32: New directory.
10232 * config/lm32/libgcc_lm32.h: New file.
10233 * config/lm32/_mulsi3.c: New file.
10234 * config/lm32/_udivmodsi4.c: New file.
10235 * config/lm32/_divsi3.c: New file.
10236 * config/lm32/_modsi3.c: New file.
10237 * config/lm32/_udivsi3.c: New file.
10238 * config/lm32/_umodsi3.c: New file.
10239 * config/lm32/_lshrsi3.S: New file.
10240 * config/lm32/_ashrsi3.S: New file.
10241 * config/lm32/_ashlsi3.S: New file.
10242 * config/lm32/crti.S: New file.
10243 * config/lm32/crtn.S: New file.
10244 * config/lm32/t-lm32: New file.
10245 * config/lm32/t-elf: New file.
10246 * config/lm32/t-uclinux: New file.
10247
10248 2009-10-26 Nick Clifton <nickc (a] redhat.com>
10249
10250 * config.host: Add support for RX target.
10251 * config/rx: New directory.
10252 * config/rx/rx-abi-functions.c: New file. Supplementary
10253 functions for libgcc to support the RX ABI.
10254 * config/rx/rx-abi.h: New file. Supplementary header file for
10255 libgcc RX ABI functions.
10256 * config/rx/t-rx: New file: Makefile fragment for building
10257 libgcc for the RX.
10258
10259 2009-10-09 Uros Bizjak <ubizjak (a] gmail.com>
10260
10261 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10262 constraint of y0 to "g".
10263
10264 2009-10-07 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
10265
10266 * config.host: Include the s390 makefile fragments.
10267 * config/s390/32/_fixdfdi.c: New file.
10268 * config/s390/32/_fixsfdi.c: New file.
10269 * config/s390/32/_fixtfdi.c: New file.
10270 * config/s390/32/_fixunsdfdi.c: New file.
10271 * config/s390/32/_fixunssfdi.c: New file.
10272 * config/s390/32/_fixunstfdi.c: New file.
10273 * config/s390/32/t-floattodi: New file.
10274 * config/s390/libgcc-glibc.ver: New file.
10275 * config/s390/t-crtstuff: New file.
10276 * config/s390/t-linux: New file.
10277 * config/s390/t-tpf: New file.
10278
10279 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
10280
10281 * configure.ac (AC_PREREQ): Bump to 2.64.
10282
10283 2009-08-22 Kaz Kojima <kkojima (a] gcc.gnu.org>
10284
10285 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10286
10287 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
10288
10289 * configure: Regenerate.
10290
10291 2009-08-09 Douglas B Rupp <rupp (a] gnat.com>
10292
10293 * config.host (ia64-hp-*vms*): New target.
10294 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10295 with ia64-hp-*vms*.
10296
10297 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
10298
10299 * configure.ac: Add snippet for maintainer-mode.
10300 * configure: Regenerate.
10301 * Makefile.in (AUTOCONF, configure_deps): New variables.
10302 ($(srcdir)/configure)): New rule, active only with maintainer
10303 mode turned on.
10304
10305 2009-06-23 DJ Delorie <dj (a] redhat.com>
10306
10307 Add MeP port.
10308 * config.host: Add mep support.
10309
10310 2009-06-22 Kai Tietz <kai.tietz (a] onevision.com>
10311
10312 * config.host: Add i386/${host_address}/t-fprules-softfp and
10313 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
10314
10315 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10316 for mingw targets.
10317 * config/i386/64/_multc3.c: Likewise.
10318 * config/i386/64/_powitf2.c: Likewise.
10319 * config/i386/64/eqtf2.c: Likewise.
10320 * config/i386/64/getf2.c: Likewise.
10321 * config/i386/64/letf2.c: Likewise.
10322 * config/i386/64/letf2.c: Likewise.
10323 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10324 unsigned long long for x64 mingw targets.
10325 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10326 (_FP_I_TYPE): Define as long long for x64 mingw target.
10327
10328 2009-06-10 Maciej W. Rozycki <macro (a] linux-mips.org>
10329
10330 * config.host (vax-*-linux*): New.
10331
10332 2009-05-31 Anthony Green <green (a] moxielogic.com>
10333
10334 * config.host: Add moxie support.
10335 * config/moxie/t-moxie: New file.
10336
10337 2009-05-29 David Billinghurst <billingd (a] gcc.gnu.org>
10338
10339 * config.host: Add i386/${host_address}/t-fprules-softfp and
10340 t-softfp to tmake_file for i[34567]86-*-cygwin*.
10341
10342 2009-04-17 Aurelien Jarno <aurelien (a] aurel32.net>
10343
10344 * config.host: Add i386/${host_address}/t-fprules-softfp to
10345 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10346
10347 2009-04-09 Nick Clifton <nickc (a] redhat.com>
10348
10349 * config/ia64/tf-signs.c: Change copyright header to refer to
10350 version 3 of the GNU General Public License with version 3.1
10351 of the GCC Runtime Library Exception and to point readers at
10352 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10353 web page.
10354 * config/i386/32/tf-signs.c: Likewise.
10355 * config/libbid/_addsub_dd.c: Likewise.
10356 * config/libbid/_addsub_sd.c: Likewise.
10357 * config/libbid/_addsub_td.c: Likewise.
10358 * config/libbid/_dd_to_df.c: Likewise.
10359 * config/libbid/_dd_to_di.c: Likewise.
10360 * config/libbid/_dd_to_sd.c: Likewise.
10361 * config/libbid/_dd_to_sf.c: Likewise.
10362 * config/libbid/_dd_to_si.c: Likewise.
10363 * config/libbid/_dd_to_td.c: Likewise.
10364 * config/libbid/_dd_to_tf.c: Likewise.
10365 * config/libbid/_dd_to_udi.c: Likewise.
10366 * config/libbid/_dd_to_usi.c: Likewise.
10367 * config/libbid/_dd_to_xf.c: Likewise.
10368 * config/libbid/_df_to_dd.c: Likewise.
10369 * config/libbid/_df_to_sd.c: Likewise.
10370 * config/libbid/_df_to_td.c: Likewise.
10371 * config/libbid/_di_to_dd.c: Likewise.
10372 * config/libbid/_di_to_sd.c: Likewise.
10373 * config/libbid/_di_to_td.c: Likewise.
10374 * config/libbid/_div_dd.c: Likewise.
10375 * config/libbid/_div_sd.c: Likewise.
10376 * config/libbid/_div_td.c: Likewise.
10377 * config/libbid/_eq_dd.c: Likewise.
10378 * config/libbid/_eq_sd.c: Likewise.
10379 * config/libbid/_eq_td.c: Likewise.
10380 * config/libbid/_ge_dd.c: Likewise.
10381 * config/libbid/_ge_sd.c: Likewise.
10382 * config/libbid/_ge_td.c: Likewise.
10383 * config/libbid/_gt_dd.c: Likewise.
10384 * config/libbid/_gt_sd.c: Likewise.
10385 * config/libbid/_gt_td.c: Likewise.
10386 * config/libbid/_isinfd128.c: Likewise.
10387 * config/libbid/_isinfd32.c: Likewise.
10388 * config/libbid/_isinfd64.c: Likewise.
10389 * config/libbid/_le_dd.c: Likewise.
10390 * config/libbid/_le_sd.c: Likewise.
10391 * config/libbid/_le_td.c: Likewise.
10392 * config/libbid/_lt_dd.c: Likewise.
10393 * config/libbid/_lt_sd.c: Likewise.
10394 * config/libbid/_lt_td.c: Likewise.
10395 * config/libbid/_mul_dd.c: Likewise.
10396 * config/libbid/_mul_sd.c: Likewise.
10397 * config/libbid/_mul_td.c: Likewise.
10398 * config/libbid/_ne_dd.c: Likewise.
10399 * config/libbid/_ne_sd.c: Likewise.
10400 * config/libbid/_ne_td.c: Likewise.
10401 * config/libbid/_sd_to_dd.c: Likewise.
10402 * config/libbid/_sd_to_df.c: Likewise.
10403 * config/libbid/_sd_to_di.c: Likewise.
10404 * config/libbid/_sd_to_sf.c: Likewise.
10405 * config/libbid/_sd_to_si.c: Likewise.
10406 * config/libbid/_sd_to_td.c: Likewise.
10407 * config/libbid/_sd_to_tf.c: Likewise.
10408 * config/libbid/_sd_to_udi.c: Likewise.
10409 * config/libbid/_sd_to_usi.c: Likewise.
10410 * config/libbid/_sd_to_xf.c: Likewise.
10411 * config/libbid/_sf_to_dd.c: Likewise.
10412 * config/libbid/_sf_to_sd.c: Likewise.
10413 * config/libbid/_sf_to_td.c: Likewise.
10414 * config/libbid/_si_to_dd.c: Likewise.
10415 * config/libbid/_si_to_sd.c: Likewise.
10416 * config/libbid/_si_to_td.c: Likewise.
10417 * config/libbid/_td_to_dd.c: Likewise.
10418 * config/libbid/_td_to_df.c: Likewise.
10419 * config/libbid/_td_to_di.c: Likewise.
10420 * config/libbid/_td_to_sd.c: Likewise.
10421 * config/libbid/_td_to_sf.c: Likewise.
10422 * config/libbid/_td_to_si.c: Likewise.
10423 * config/libbid/_td_to_tf.c: Likewise.
10424 * config/libbid/_td_to_udi.c: Likewise.
10425 * config/libbid/_td_to_usi.c: Likewise.
10426 * config/libbid/_td_to_xf.c: Likewise.
10427 * config/libbid/_tf_to_dd.c: Likewise.
10428 * config/libbid/_tf_to_sd.c: Likewise.
10429 * config/libbid/_tf_to_td.c: Likewise.
10430 * config/libbid/_udi_to_dd.c: Likewise.
10431 * config/libbid/_udi_to_sd.c: Likewise.
10432 * config/libbid/_udi_to_td.c: Likewise.
10433 * config/libbid/_unord_dd.c: Likewise.
10434 * config/libbid/_unord_sd.c: Likewise.
10435 * config/libbid/_unord_td.c: Likewise.
10436 * config/libbid/_usi_to_dd.c: Likewise.
10437 * config/libbid/_usi_to_sd.c: Likewise.
10438 * config/libbid/_usi_to_td.c: Likewise.
10439 * config/libbid/_xf_to_dd.c: Likewise.
10440 * config/libbid/_xf_to_sd.c: Likewise.
10441 * config/libbid/_xf_to_td.c: Likewise.
10442 * config/libbid/bid128.c: Likewise.
10443 * config/libbid/bid128_2_str.h: Likewise.
10444 * config/libbid/bid128_2_str_macros.h: Likewise.
10445 * config/libbid/bid128_2_str_tables.c: Likewise.
10446 * config/libbid/bid128_add.c: Likewise.
10447 * config/libbid/bid128_compare.c: Likewise.
10448 * config/libbid/bid128_div.c: Likewise.
10449 * config/libbid/bid128_fma.c: Likewise.
10450 * config/libbid/bid128_logb.c: Likewise.
10451 * config/libbid/bid128_minmax.c: Likewise.
10452 * config/libbid/bid128_mul.c: Likewise.
10453 * config/libbid/bid128_next.c: Likewise.
10454 * config/libbid/bid128_noncomp.c: Likewise.
10455 * config/libbid/bid128_quantize.c: Likewise.
10456 * config/libbid/bid128_rem.c: Likewise.
10457 * config/libbid/bid128_round_integral.c: Likewise.
10458 * config/libbid/bid128_scalb.c: Likewise.
10459 * config/libbid/bid128_sqrt.c: Likewise.
10460 * config/libbid/bid128_string.c: Likewise.
10461 * config/libbid/bid128_to_int16.c: Likewise.
10462 * config/libbid/bid128_to_int32.c: Likewise.
10463 * config/libbid/bid128_to_int64.c: Likewise.
10464 * config/libbid/bid128_to_int8.c: Likewise.
10465 * config/libbid/bid128_to_uint16.c: Likewise.
10466 * config/libbid/bid128_to_uint32.c: Likewise.
10467 * config/libbid/bid128_to_uint64.c: Likewise.
10468 * config/libbid/bid128_to_uint8.c: Likewise.
10469 * config/libbid/bid32_to_bid128.c: Likewise.
10470 * config/libbid/bid32_to_bid64.c: Likewise.
10471 * config/libbid/bid64_add.c: Likewise.
10472 * config/libbid/bid64_compare.c: Likewise.
10473 * config/libbid/bid64_div.c: Likewise.
10474 * config/libbid/bid64_fma.c: Likewise.
10475 * config/libbid/bid64_logb.c: Likewise.
10476 * config/libbid/bid64_minmax.c: Likewise.
10477 * config/libbid/bid64_mul.c: Likewise.
10478 * config/libbid/bid64_next.c: Likewise.
10479 * config/libbid/bid64_noncomp.c: Likewise.
10480 * config/libbid/bid64_quantize.c: Likewise.
10481 * config/libbid/bid64_rem.c: Likewise.
10482 * config/libbid/bid64_round_integral.c: Likewise.
10483 * config/libbid/bid64_scalb.c: Likewise.
10484 * config/libbid/bid64_sqrt.c: Likewise.
10485 * config/libbid/bid64_string.c: Likewise.
10486 * config/libbid/bid64_to_bid128.c: Likewise.
10487 * config/libbid/bid64_to_int16.c: Likewise.
10488 * config/libbid/bid64_to_int32.c: Likewise.
10489 * config/libbid/bid64_to_int64.c: Likewise.
10490 * config/libbid/bid64_to_int8.c: Likewise.
10491 * config/libbid/bid64_to_uint16.c: Likewise.
10492 * config/libbid/bid64_to_uint32.c: Likewise.
10493 * config/libbid/bid64_to_uint64.c: Likewise.
10494 * config/libbid/bid64_to_uint8.c: Likewise.
10495 * config/libbid/bid_b2d.h: Likewise.
10496 * config/libbid/bid_binarydecimal.c: Likewise.
10497 * config/libbid/bid_conf.h: Likewise.
10498 * config/libbid/bid_convert_data.c: Likewise.
10499 * config/libbid/bid_decimal_data.c: Likewise.
10500 * config/libbid/bid_decimal_globals.c: Likewise.
10501 * config/libbid/bid_div_macros.h: Likewise.
10502 * config/libbid/bid_dpd.c: Likewise.
10503 * config/libbid/bid_flag_operations.c: Likewise.
10504 * config/libbid/bid_from_int.c: Likewise.
10505 * config/libbid/bid_functions.h: Likewise.
10506 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10507 * config/libbid/bid_inline_add.h: Likewise.
10508 * config/libbid/bid_internal.h: Likewise.
10509 * config/libbid/bid_round.c: Likewise.
10510 * config/libbid/bid_sqrt_macros.h: Likewise.
10511
10512 2009-04-09 Jakub Jelinek <jakub (a] redhat.com>
10513
10514 * Makefile.in: Change copyright header to refer to version
10515 3 of the GNU General Public License and to point readers at the
10516 COPYING3 file and the FSF's license web page.
10517 * config.host: Likewise.
10518
10519 2009-04-07 Alan Modra <amodra (a] bigpond.net.au>
10520
10521 * config.host: Reorder and merge to match config.gcc change.
10522
10523 2009-04-03 Alan Modra <amodra (a] bigpond.net.au>
10524
10525 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10526
10527 2009-03-28 Joseph Myers <joseph (a] codesourcery.com>
10528
10529 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10530 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10531 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10532 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10533
10534 2009-02-12 Uros Bizjak <ubizjak (a] gmail.com>
10535
10536 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10537 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10538
10539 2009-02-12 H.J. Lu <hongjiu.lu (a] intel.com>
10540
10541 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10542 ia64/t-softfp-compat to tmake_file.
10543
10544 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10545
10546 * config/ia64/__divxf3.asm: New.
10547 * config/ia64/_fixtfdi.asm: Likewise.
10548 * config/ia64/_fixunstfdi.asm: Likewise.
10549 * config/ia64/_floatditf.asm: Likewise.
10550 * config/ia64/t-fprules-softfp: Likewise.
10551 * config/ia64/t-softfp-compat: Likewise.
10552 * config/ia64/tf-signs.c: Likewise.
10553
10554 2009-01-18 Ben Elliston <bje (a] au.ibm.com>
10555
10556 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10557
10558 2009-01-16 Ben Elliston <bje (a] au.ibm.com>
10559
10560 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10561 to tmake_file.
10562
10563 2009-01-13 Ben Elliston <bje (a] au.ibm.com>
10564
10565 * config/t-softfp: New file.
10566 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10567 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10568
10569 2009-01-05 Joel Sherrill <joel.sherrill (a] oarcorp.com>
10570
10571 * config.host: Add m32r*-*-rtems*.
10572
10573 2008-12-01 Joel Sherrill <joel.sherrill (a] oarcorp.com>
10574
10575 * config.host: Add m32c*-*-rtems*.
10576
10577 2008-11-20 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE>
10578
10579 PR bootstrap/33100
10580 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10581 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10582 * configure: Regenerate.
10583 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10584 tmake_file here from gcc/config.gcc.
10585 Move extra_parts here from gcc/config.gcc.
10586 * config/i386/t-sol2: Move here from gcc/config/i386.
10587 Use gcc_srcdir instead of srcdir.
10588
10589 2008-11-18 Adam Nemet <anemet (a] caviumnetworks.com>
10590
10591 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10592 case.
10593
10594 2008-11-09 Thomas Schwinge <tschwinge (a] gnu.org>
10595
10596 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10597
10598 2008-10-08 Thomas Schwinge <tschwinge (a] gnu.org>
10599
10600 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10601
10602 2008-09-03 Hari Sandanagobalane <hariharan (a] picochip.com>
10603
10604 Add picoChip port.
10605 * config.host: Add picochip-*-*.
10606
10607 2008-08-06 Bob Wilson <bob.wilson (a] acm.org>
10608
10609 * config.host: Match more processor names for Xtensa.
10610
10611 2008-07-08 H.J. Lu <hongjiu.lu (a] intel.com>
10612
10613 * config/i386/64/t-softfp-compat: Update comments.
10614
10615 2008-07-07 H.J. Lu <hongjiu.lu (a] intel.com>
10616
10617 * config/i386/64/_divtc3-compat.c: Moved to ...
10618 * config/i386/64/_divtc3.c: Here.
10619
10620 * config/i386/64/_multc3-compat.c: Moved to ...
10621 * config/i386/64/_multc3.c: Here.
10622
10623 * config/i386/64/_powitf2-compat.c: Moved to ...
10624 * config/i386/64/_powitf2.c: Here.
10625
10626 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10627 .c suffix instead of -compat.c.
10628
10629 2008-07-05 Uros Bizjak <ubizjak (a] gmail.com>
10630
10631 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10632 (_FP_MUL_MEAT_D): Ditto.
10633 (_FP_DIV_MEAT_S): Ditto.
10634 (_FP_DIV_MEAT_D): Ditto.
10635
10636 2008-07-03 Richard Sandiford <rdsandiford (a] googlemail.com>
10637
10638 * Makefile.in: Add support for __sync_* libgcc functions.
10639
10640 2008-07-03 H.J. Lu <hongjiu.lu (a] intel.com>
10641
10642 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10643
10644 2008-07-02 H.J. Lu <hongjiu.lu (a] intel.com>
10645
10646 PR boostrap/36702
10647 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10648 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10649
10650 * config/i386/64/t-fprules-softfp: Moved to ...
10651 * config/i386/64/t-softfp-compat: This. New.
10652
10653 2008-07-02 Uros Bizjak <ubizjak (a] gmail.com>
10654
10655 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10656 Initialize f with 0.0.
10657
10658 2008-07-02 H.J. Lu <hongjiu.lu (a] intel.com>
10659
10660 PR target/36669
10661 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10662
10663 * config/i386/64/_divtc3-compat.c: New.
10664 * config/i386/64/_multc3-compat.c: Likewise.
10665 * config/i386/64/_powitf2-compat.c: Likewise.
10666 * config/i386/64/eqtf2.c: Likewise.
10667 * config/i386/64/getf2.c: Likewise.
10668 * config/i386/64/letf2.c: Likewise.
10669 * config/i386/64/t-fprules-softfp: Likewise.
10670
10671 2008-07-02 H.J. Lu <hongjiu.lu (a] intel.com>
10672
10673 * config.host: Add i386/${host_address}/t-fprules-softfp to
10674 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
10675 i[34567]86-*-linux*, x86_64-*-linux*.
10676
10677 * configure.ac: Set host_address to 64 or 32 for x86.
10678 * configure: Regenerated.
10679
10680 * Makefile.in (config.status): Also depend on
10681 $(srcdir)/config.host.
10682
10683 * config/i386/32/t-fprules-softfp: New.
10684 * config/i386/32/tf-signs.c: Likewise.
10685
10686 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10687
10688 2008-07-02 H.J. Lu <hongjiu.lu (a] intel.com>
10689 Uros Bizjak <ubizjak (a] gmail.com>
10690
10691 * config/i386/32/sfp-machine.h: New.
10692
10693 2008-06-26 Nathan Froyd <froydnj (a] codesourcery.com>
10694
10695 * config/rs6000/t-ppccomm: Remove rules that conflict with
10696 auto-generated rules.
10697
10698 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
10699
10700 * configure.ac: sinclude override.m4.
10701 * configure: Regenerate.
10702
10703 2008-06-11 Bernhard Fischer <aldot (a] gcc.gnu.org>
10704
10705 * configure: Regenerate.
10706
10707 2008-06-10 Joseph Myers <joseph (a] codesourcery.com>
10708
10709 * Makefile.in (DECNUMINC): Remove
10710 -I$(MULTIBUILDTOP)../../libdecnumber.
10711 * gstdint.h: New.
10712
10713 2008-06-07 Joseph Myers <joseph (a] codesourcery.com>
10714
10715 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10716 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10717 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10718 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10719 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10720 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10721 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10722 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10723 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10724 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10725 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10726 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10727 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10728 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10729
10730 2008-05-25 Arthur Loiret <arthur.loiret (a] u-psud.fr>
10731
10732 * config.host (sh2[lbe]*-*-linux*): Allow target.
10733
10734 2008-04-30 Nathan Froyd <froydnj (a] codesourcery.com>
10735
10736 * config/rs6000/t-ppccomm: Add build rules for new files.
10737 (LIB2ADD_ST): New variable.
10738
10739 2008-04-07 Andy Hutchinson <hutchinsonandy (a] aim.com>
10740
10741 PR target/34210
10742 PR target/35508
10743 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10744 * config/t-avr: New file. Build 16bit libgcc functions.
10745
10746 2008-03-02 Jakub Jelinek <jakub (a] redhat.com>
10747
10748 PR target/35401
10749 * config/t-slibgcc-darwin: Make install-leaf dependent on
10750 install-darwin-libgcc-stubs instead of install.
10751
10752 2008-01-25 Joseph Myers <joseph (a] codesourcery.com>
10753
10754 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10755 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10756 sh-*-rtemscoff*): Remove cases.
10757
10758 2007-12-27 Richard Sandiford <rsandifo (a] nildram.co.uk>
10759
10760 * Makefile.in (all): Use install-leaf rather than install.
10761 (install): Split most of the rule into...
10762 (install-leaf): ...this new one.
10763
10764 2007-12-19 Etsushi Kato <ek.kato (a] gmail.com>
10765 Paolo Bonzini <bonzini (a] gnu.org>
10766
10767 PR target/30572
10768 * Makefile.in: Use @shlib_slibdir@ substitution to get
10769 correct install name on darwin.
10770 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
10771
10772 2007-12-15 Hans-Peter Nilsson <hp (a] axis.com>
10773
10774 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10775 cris-*-elf and cris-*-none.
10776 (crisv32-*-linux*): Similar, as cris-*-linux*.
10777
10778 2007-11-20 Rask Ingemann Lambertsen <rask (a] sygehus.dk>
10779
10780 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10781
10782 2007-10-27 H.J. Lu <hongjiu.lu (a] intel.com>
10783
10784 PR regression/33926
10785 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10786 * configure: Regenerated.
10787
10788 2007-09-27 H.J. Lu <hongjiu.lu (a] intel.com>
10789
10790 * Makefile.in (dfp-filenames): Replace decimal_globals,
10791 decimal_data, binarydecimal and convert_data with
10792 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10793 and bid_convert_data, respectively.
10794
10795 2007-09-17 Chao-ying Fu <fu (a] mips.com>
10796 Nigel Stephens <nigel (a] mips.com>
10797
10798 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10799 * Makefile.in (fixed_point): Define.
10800 Check if fixed_point is yes to build support functions.
10801 * configure.ac: Check for fixed_point support.
10802 * configure: Regenerated.
10803 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10804 funcs, modes, from, to.
10805
10806 2007-09-11 Janis Johnson <janis187 (a] us.ibm.com
10807
10808 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10809
10810 2007-09-10 Janis Johnson <janis187 (a] us.ibm.com>
10811
10812 * Makefile.in (dfp-filenames): Remove decUtility, add
10813 decDouble, decPacked, decQuad, decSingle.
10814
10815 2007-08-27 Hans Kester <hans.kester (a] ellips.nl>
10816
10817 * config.host : Add x86_64-elf target.
10818
10819 2007-07-06 H.J. Lu <hongjiu.lu (a] intel.com>
10820
10821 * configure.ac (set_have_cc_tls): Add a missing =.
10822 * configure: Regenerated.
10823
10824 2007-07-06 H.J. Lu <hongjiu.lu (a] intel.com>
10825
10826 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10827 and x86_64-*-linux*.
10828
10829 * config/t-tls: New file.
10830
10831 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
10832
10833 * configure.ac: Include ../config/enable.m4 and
10834 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10835 supports TLS and substitute set_have_cc_tls.
10836 * configure: Regenerated.
10837
10838 2007-07-04 H.J. Lu <hongjiu.lu (a] intel.com>
10839
10840 * Makefile.in: Use libbid for DFP when BID is enabled.
10841
10842 2007-06-14 Danny Smith <dannysmith (a] users.sourceforge.net>
10843
10844 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
10845 extra_parts. Add config/i386/t-cygming to tmake_file.
10846 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10847
10848 2007-05-29 Zuxy Meng <zuxy.meng (a] gmail.com>
10849 Danny Smith <dannysmith (a] users.sourceforge.net>
10850
10851 PR target/29498
10852 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10853 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10854 * config/i386/t-crtfm: Compile crtfastmath.o with
10855 -minline-all-stringops.
10856
10857 2007-05-10 Richard Sandiford <richard (a] codesourcery.com>
10858
10859 * config.host (sparc-wrs-vxworks): New target.
10860
10861 2007-04-14 Kazu Hirata <kazu (a] codesourcery.com>
10862
10863 * config.host: Recognize fido.
10864
10865 2007-04-04 Janis Johnson <janis187 (a] us.ibm.com>
10866
10867 * configure: Check host, not target, for decimal float support.
10868
10869 2007-04-03 Uros Bizjak <ubizjak (a] gmail.com>
10870
10871 * config/i386/t-crtpc: New file.
10872 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
10873 (x86_64-*-linux*): Ditto.
10874
10875 2007-02-30 Kai Tietz <kai.tietz (a] onevision.com>
10876
10877 * config.host (x86_64-*-mingw*): New target.
10878
10879 2007-03-23 Michael Meissner <michael.meissner (a] amd.com>
10880 H.J. Lu <hongjiu.lu (a] intel.com>
10881
10882 * Makefile.in (enable_decimal_float): New.
10883 (DECNUMINC): Add
10884 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10885 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10886 (decbits-filenames): This.
10887 (decbits-objects): New.
10888 (libgcc-objects): Add $(decbits-objects).
10889
10890 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10891 Substitute enable_decimal_float.
10892 * configure: Regenerated.
10893
10894 2007-03-19 Hans-Peter Nilsson <hp (a] axis.com>
10895
10896 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10897
10898 2007-03-12 Brooks Moses <brooks.moses (a] codesourcery.com>
10899
10900 * Makefile.in (install-info): New dummy target.
10901
10902 2007-03-05 Bernd Schmidt <bernd.schmidt (a] analog.com>
10903
10904 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10905
10906 2007-03-01 Brooks Moses <brooks.moses (a] codesourcery.com>
10907
10908 * Makefile.in: Add install-html and install-pdf dummy
10909 targets.
10910
10911 2007-02-05 Roger Sayle <roger (a] eyesopen.com>
10912 Daniel Jacobowitz <dan (a] codesourcery.com>
10913
10914 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10915 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10916 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10917
10918 2007-01-29 Janis Johnson <janis187 (a] us.ibm.com>
10919
10920 * Makefile.in (dec-filenames): Add decExcept.
10921
10922 2007-01-28 Daniel Jacobowitz <dan (a] codesourcery.com>
10923
10924 PR bootstrap/30469
10925 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10926 -fprofile-use.
10927
10928 2007-01-25 Daniel Jacobowitz <dan (a] codesourcery.com>
10929
10930 * configure.ac: Add --enable-version-specific-runtime-libs.
10931 Correct $slibdir default.
10932 * configure: Regenerated.
10933
10934 2007-01-23 Joseph Myers <joseph (a] codesourcery.com>
10935
10936 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10937
10938 2007-01-21 Andrew Pinski <pinskia (a] gmail.com>
10939
10940 PR target/30519
10941 * config.host (alpha*-*-linux*): Set extra_parts.
10942
10943 2007-01-09 Kaz Kojima <kkojima (a] gcc.gnu.org>
10944
10945 * config/sh/t-linux: New.
10946 * config.host (sh*-*-linux*): Set tmake_file.
10947
10948 2007-01-05 Daniel Jacobowitz <dan (a] codesourcery.com>
10949
10950 * Makefile.in (install): Handle multilibs.
10951
10952 2007-01-04 Brooks Moses <brooks.moses (a] codesourcery.com>
10953
10954 * Makefile.in: Added .PHONY entry for documentation targets.
10955
10956 2007-01-04 Brooks Moses <brooks.moses (a] codesourcery.com>
10957
10958 * Makefile.in: Add empty info, html, dvi, pdf targets.
10959
10960 2007-01-04 Mike Stump <mrs (a] apple.com>
10961
10962 * Makefile.in (MAKEINFO): Remove.
10963 (PERL): Likewise.
10964
10965 2007-01-04 Paolo Bonzini <bonzini (a] gnu.org>
10966
10967 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10968 * configure: Regenerate.
10969 * Makefile.in (host_subdir): Substitute it.
10970 (gcc_objdir): Use it.
10971
10972 2007-01-04 Daniel Jacobowitz <dan (a] codesourcery.com>
10973
10974 * config.host (ia64*-*-linux*): Set tmake_file.
10975
10976 2007-01-04 Daniel Jacobowitz <dan (a] codesourcery.com>
10977
10978 * Makefile.in (version): Define.
10979
10980 2007-01-03 Daniel Jacobowitz <dan (a] codesourcery.com>
10981 Paolo Bonzini <bonzini (a] gnu.org>
10982
10983 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10984 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10985 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10986 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10987 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10988 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10989 * configure: Generated.
10990
10992 Copyright (C) 2007-2020 Free Software Foundation, Inc.
10993
10994 Copying and distribution of this file, with or without modification,
10995 are permitted in any medium without royalty provided the copyright
10996 notice and this notice are preserved.
10997