ChangeLog revision 1.1.1.22 1 2023-07-07 Release Manager
2
3 * GCC 10.5.0 released.
4
5 2023-05-21 Iain Sandoe <iain (a] sandoe.co.uk>
6
7 Backported from master:
8 2023-05-19 Iain Sandoe <iain (a] sandoe.co.uk>
9
10 * config.host: Arrange to set min Darwin OS versions from
11 the configured host version.
12 * config/darwin10-unwind-find-enc-func.c: Do not use current
13 headers, but declare the nexessary structures locally to the
14 versions in use for Mac OSX 10.6.
15 * config/t-darwin: Amend to handle configured min OS
16 versions.
17 * config/t-darwin-min-1: New.
18 * config/t-darwin-min-5: New.
19 * config/t-darwin-min-8: New.
20
21 2023-05-21 Iain Sandoe <iain (a] sandoe.co.uk>
22
23 Backported from master:
24 2021-11-05 Iain Sandoe <iain (a] sandoe.co.uk>
25
26 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
27
28 2023-05-21 Iain Sandoe <iain (a] sandoe.co.uk>
29
30 Backported from master:
31 2022-12-24 Iain Sandoe <iain (a] sandoe.co.uk>
32
33 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
34 install of libgcc_s.1.dylib when the installation is into the build
35 gcc directory.
36
37 2023-05-03 Jakub Jelinek <jakub (a] redhat.com>
38
39 Backported from master:
40 2023-02-09 Jakub Jelinek <jakub (a] redhat.com>
41
42 PR target/100758
43 * config/i386/cpuinfo.c (cpu_indicator_init): Call
44 get_available_features for all CPUs with max_level >= 1, rather
45 than just Intel or AMD.
46
47 2023-02-20 Nelson Chu <nelson.chu (a] sifive.com>
48
49 Backported from master:
50 2021-12-06 Nelson Chu <nelson.chu (a] sifive.com>
51
52 PR target/108339
53 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
54 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
55 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
56 HIDDEN_DEF.
57
58 2023-02-20 Jim Wilson <jimw (a] sifive.com>
59
60 Backported from master:
61 2020-06-02 Jim Wilson <jimw (a] sifive.com>
62
63 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
64 to bgtz.
65
66 2022-06-28 Release Manager
67
68 * GCC 10.4.0 released.
69
70 2022-05-29 Iain Sandoe <iain (a] sandoe.co.uk>
71
72 * config.host: Add weak emutls crt to the extra_parts.
73 (*-*-darwin*): Add logic to build a shared unwinder library for
74 Darwin8-10. Add shim declaration header to powerpc*-darwin builds.
75 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
76 workaround.
77 * config/libgcc-libsystem.ver: Add exclude list for the system-
78 provided unwinder.
79 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
80 Build a legacy libgcc_s.1 and the supporting pieces (all FAT libs).
81 * config/t-darwin-ehs: Add dependencies to the shared unwinder
82 objects. Add dependency on unwind.h.
83 * config/t-darwin: Reorganise the EH fragments to place them for
84 inclusion in a shared EH lib. Add libgcc_tm.h to the dependencies
85 for darwin10-unwind-find-enc-func.
86 * config/i386/libgcc-darwin.10.4.ver: Removed.
87 * config/i386/libgcc-darwin.10.5.ver: Removed.
88 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
89 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
90 * config/i386/t-darwin: Build legacy libgcc_s.1.
91 * config/rs6000/t-darwin: Likewise.
92 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
93 file. Add darwin-fallback.o.
94 * config/darwin-unwind.ver: New file.
95 * config/i386/libgcc-darwin.ver: New file.
96
97 2022-05-29 Iain Sandoe <iain (a] sandoe.co.uk>
98
99 Backported from master:
100 2021-11-19 Iain Sandoe <iain (a] sandoe.co.uk>
101
102 * config/t-darwin: Build weak-defined emutls objects.
103 * emutls.c (__emutls_get_address): Add optional attributes.
104 (__emutls_register_common): Likewise.
105 (EMUTLS_ATTR): New.
106
107 2022-05-29 Iain Sandoe <iain (a] sandoe.co.uk>
108
109 Backported from master:
110 2021-09-19 Iain Sandoe <iain (a] sandoe.co.uk>
111
112 * config.host: Use convenience library for Darwin10
113 unwinder shim.
114 * config/t-darwin: Build Darwin10 unwinder shim as a
115 convenience library.
116
117 2022-05-16 Sebastian Pop <spop (a] amazon.com>
118
119 PR target/105162
120 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
121 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
122
123 2022-02-13 Alan Modra <amodra (a] gmail.com>
124
125 Backported from master:
126 2021-07-15 Alan Modra <amodra (a] gmail.com>
127
128 * config/rs6000/morestack.S (R2_SAVE): Define.
129 (__morestack): Save and restore r2. Set up r2 for called
130 functions.
131
132 2022-02-13 Alan Modra <amodra (a] gmail.com>
133
134 Backported from master:
135 2020-10-01 Alan Modra <amodra (a] gmail.com>
136
137 * config/rs6000/morestack.S,
138 * config/rs6000/tramp.S: Support __PCREL__ code.
139
140 2021-10-27 John David Anglin <danglin (a] gcc.gnu.org>
141
142 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
143 tmake_file.
144 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
145 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
146 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
147 * config/pa/t-linux64 (LIB1ASMSRC): New define.
148 (LIB1ASMFUNCS): Revise.
149 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
150
151 2021-08-31 Richard Sandiford <richard.sandiford (a] arm.com>
152
153 Backported from master:
154 2021-08-31 Richard Sandiford <richard.sandiford (a] arm.com>
155
156 * config/aarch64/value-unwind.h: Add missing runtime exception
157 paragraph.
158 * config/frv/frv-abi.h: Likewise.
159 * config/i386/value-unwind.h: Likewise.
160 * config/pa/pa64-hpux-lib.h: Likewise.
161
162 2021-08-24 Richard Earnshaw <rearnsha (a] arm.com>
163
164 Backported from master:
165 2021-08-24 Richard Earnshaw <rearnsha (a] arm.com>
166
167 PR target/102035
168 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
169 Add vlldm erratum work-around.
170
171 2021-06-18 Srinath Parvathaneni <srinath.parvathaneni (a] arm.com>
172
173 Backported from master:
174 2021-06-11 Srinath Parvathaneni <srinath.parvathaneni (a] arm.com>
175
176 PR target/99939
177 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
178 macro.
179 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
180 on passing -mcmse option.
181
182 2021-04-27 Michael Meissner <meissner (a] linux.ibm.com>
183
184 PR target/98952
185 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
186 trampoline size comparison in 32-bit by reversing test and
187 combining load immediate with compare. Fix backported from trunk
188 change on 4/23, 886b6c1e8af502b69e3f318b9830b73b88215878.
189 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
190 in 32-bit by reversing test and combining load immediate with
191 compare.
192
193 2021-04-20 Jakub Jelinek <jakub (a] redhat.com>
194
195 Backported from master:
196 2021-04-03 Jakub Jelinek <jakub (a] redhat.com>
197
198 PR target/97653
199 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
200 $(objext) instead of $(object). Use _floatunditf instead of
201 _floatunsditf. Add tf <-> ti conversion objects.
202 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
203
204 2021-04-08 Release Manager
205
206 * GCC 10.3.0 released.
207
208 2021-03-31 Jan Hubicka <jh (a] suse.cz>
209
210 * config/i386/cpuinfo.c (get_amd_cpu): Support amdfam19.
211 * config/i386/cpuinfo.h (enum processor_types): Add AMDFAM19H.
212 (enum processor_subtypes): Add AMDFAM19H_ZNVER3.
213
214 2021-02-24 Christophe Lyon <christophe.lyon (a] linaro.org>
215
216 Backported from master:
217 2021-02-24 Christophe Lyon <christophe.lyon (a] linaro.org>
218 Hau Hsu <hsuhau617 (a] gmail.com>
219
220 PR target/99157
221 * config/arm/t-arm: Fix cmse support detection.
222
223 2021-01-21 Michael Meissner <meissner (a] linux.ibm.com>
224
225 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Back port from
226 master (12/3/2020). New make variable.
227 (IBM128_SHARED_OBJS): New make variable.
228 (IBM128_OBJS): New make variable. Set all objects to use the
229 explicit IBM format, and disable gnu attributes.
230 (IBM128_CFLAGS): New make variable.
231 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
232 modules.
233
234 2021-01-13 Samuel Thibault <samuel.thibault (a] gnu.org>
235
236 Backported from master:
237 2021-01-13 Samuel Thibault <samuel.thibault (a] gnu.org>
238
239 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
240 posix siginfo case to struct handler_args. Detect between legacy
241 and siginfo from the second parameter, which is a small sigcode in
242 the legacy case, and a pointer in the siginfo case.
243
244 2020-10-02 Sergei Trofimovich <siarheit (a] google.com>
245
246 Backported from master:
247 2020-09-22 Sergei Trofimovich <siarheit (a] google.com>
248
249 PR gcov-profile/96913
250 * libgcov-driver.c (write_one_data): Avoid function pointer
251 comparison in TOP streaming decision.
252
253 2020-08-03 Jakub Jelinek <jakub (a] redhat.com>
254
255 Backported from master:
256 2020-08-03 Jakub Jelinek <jakub (a] redhat.com>
257
258 PR target/96402
259 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
260 of x(tmp0), x(tmp1) in STXP arguments.
261
262 2020-07-23 Release Manager
263
264 * GCC 10.2.0 released.
265
266 2020-07-13 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
267
268 Backported from master:
269 2020-07-13 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
270
271 PR target/94891
272 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
273 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
274 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
275 (MD_DEMANGLE_RETURN_ADDR): This.
276 (aarch64_post_extract_frame_addr): Rename to ...
277 (aarch64_demangle_return_addr): This.
278 (aarch64_post_frob_eh_handler_addr): Remove.
279 * unwind-dw2.c (uw_update_context): Demangle return address.
280 (uw_frob_return_addr): Remove.
281
282 2020-07-13 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
283
284 Backported from master:
285 2020-07-09 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
286
287 PR target/96001
288 * config/aarch64/lse.S: Add BTI marking and related definitions,
289 and add BTI c to function entries.
290
291 2020-07-13 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
292
293 Backported from master:
294 2020-07-09 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
295
296 * config/aarch64/lse.S: Add stack note.
297
298 2020-06-17 Samuel Thibault <samuel.thibault (a] gnu.org>
299
300 Backported from master:
301 2020-06-17 Samuel Thibault <samuel.thibault (a] gnu.org>
302
303 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
304 'i386/gnu-unwind.h'
305 * config/i386/gnu-unwind.h: New file.
306
307 2020-05-29 Dong JianQiang <dongjianqiang2 (a] huawei.com>
308
309 PR gcov-profile/95332
310 * libgcov-util.c (read_gcda_file): Call gcov_magic.
311 * libgcov.h (gcov_magic): Disable GCC poison.
312
313 2020-05-21 H.J. Lu <hongjiu.lu (a] intel.com>
314
315 Backport from master
316 2020-05-21 H.J. Lu <hongjiu.lu (a] intel.com>
317
318 PR target/95212
319 * config/i386/cpuinfo.h (processor_features): Move
320 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
321
322 2020-05-20 H.J. Lu <hongjiu.lu (a] intel.com>
323
324 Backport from master
325 2020-05-20 H.J. Lu <hongjiu.lu (a] intel.com>
326
327 PR target/91695
328 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
329 check.
330
331 2020-05-19 H.J. Lu <hongjiu.lu (a] intel.com>
332
333 Backport from master
334 2020-05-19 H.J. Lu <hongjiu.lu (a] intel.com>
335
336 PR target/95212
337 PR target/95220
338 * config/i386/cpuinfo.c (get_available_features): Fix
339 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
340 * config/i386/cpuinfo.h (processor_features): Add
341 FEATURE_AVX512VP2INTERSECT.
342
343 2020-05-07 Release Manager
344
345 * GCC 10.1.0 released.
346
347 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov (a] arm.com>
348
349 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
350 instead of getauxval.
351 (AT_HWCAP): Define.
352 (HWCAP_ATOMICS): Define.
353 Guard detection on __gnu_linux__.
354
355 2020-04-27 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
356
357 * config/rs6000/crtresfpr.S: Use .machine ppc.
358 * config/rs6000/crtresxfpr.S: Likewise.
359 * config/rs6000/crtsavfpr.S: Likewise.
360
361 2020-04-21 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
362
363 PR target/94514
364 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
365 Update context->flags accroding to the frame state.
366
367 2020-04-19 Uro Bizjak <ubizjak (a] gmail.com>
368
369 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
370 Remove unneeded assignments to volatile memory.
371
372 2020-04-15 Jakub Jelinek <jakub (a] redhat.com>
373
374 PR target/93053
375 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
376 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
377 is not defined, use just .arch armv8-a.
378 (B, M, N, OPN): Define.
379 (COMMENT): New .macro.
380 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
381 defined. Otherwise, move the operands right after the glue? and
382 comment out operands where the macros are used.
383 * configure: Regenerated.
384 * config.in: Regenerated.
385
386 2020-04-07 Ian Lance Taylor <iant (a] golang.org>
387
388 PR libgcc/94513
389 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
390 syscall instead.
391
392 2020-04-04 Ian Lance Taylor <iant (a] golang.org>
393
394 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
395
396 2020-04-03 Ian Lance Taylor <iant (a] golang.org>
397
398 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
399 than mmap/munmap, to avoid hooks.
400
401 2020-04-03 Jim Johnston <jjohnst (a] us.ibm.com>
402
403 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
404 (TPFRA_OFFSET): Macros removed.
405 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
406 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
407 (PG3_SKIPPING_OFFSET): New macros.
408 (__isPATrange): Use cinfc_fast for the check.
409 (__isSkipResetAddr): New function.
410 (s390_fallback_frame_state): Check for skip trace addresses. Use
411 either ICST_CRET or ICST_SRET to calculate return address
412 location.
413 (__tpf_eh_return): Handle skip trace addresses.
414
415 2020-03-26 Richard Earnshaw <rearnsha (a] arm.com>
416
417 PR target/94220
418 * config/arm/lib1funcs.asm (COND): Use a single definition for
419 unified syntax.
420 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
421 (aeabi_idivmod): Likewise.
422 (divsi3_skip_div0_test): Likewise.
423
424 2020-03-17 Mihail Ionescu <mihail.ionescu (a] arm.com>
425
426 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
427
428 2020-03-04 Andreas Krebbel <krebbel (a] linux.ibm.com>
429
430 * config.host: Include the new makefile fragment.
431 * config/s390/t-tpf: New file.
432
433 2020-03-03 Richard Earnshaw <rearnsha (a] arm.com>
434
435 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
436 syntax.
437 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
438 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
439 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
440 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
441 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
442 syntax.
443 (divsi3, modsi3): Likewise.
444 (clzdi2, ctzsi2): Likewise.
445 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
446 unified syntax.
447 (UNWIND_WRAPPER): Likewise.
448
449 2020-03-02 Martin Liska <mliska (a] suse.cz>
450
451 * libgcov-interface.c: Remove duplicate
452 declaration of __gcov_flush_mx.
453
454 2020-02-18 Martin Liska <mliska (a] suse.cz>
455
456 PR ipa/92924
457 * libgcov-merge.c (merge_topn_values_set): Record
458 when a TOP N counter becomes invalid. When merging
459 remove a smallest value if the space is needed.
460
461 2020-02-12 Sandra Loosemore <sandra (a] codesourcery.com>
462
463 PR libstdc++/79193
464 PR libstdc++/88999
465
466 * configure: Regenerated.
467
468 2020-02-10 Jeff Law <law (a] redhat.com>
469
470 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
471 sections.
472 * config/frv/frvend.c: Similarly.
473
474 2020-02-10 H.J. Lu <hongjiu.lu (a] intel.com>
475
476 PR libgcc/85334
477 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
478 New.
479
480 2020-02-10 Christophe Lyon <christophe.lyon (a] linaro.org>
481
482 PR target/93615
483 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
484 _Unwind_gnu_Find_got.
485 * unwind-pe.h: Likewise.
486
487 2020-02-07 Jakub Jelinek <jakub (a] redhat.com>
488
489 PR target/93615
490 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
491 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
492 trailing :s in asm. Formatting fixes.
493 (_Unwind_decode_typeinfo_ptr): Adjust caller.
494
495 2020-01-31 Sandra Loosemore <sandra (a] codesourcery.com>
496
497 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
498
499 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
500 * config/nios2-elf-lib.h: New.
501 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
502 code for finding GOT base for nios2.
503
504 2020-01-27 Martin Liska <mliska (a] suse.cz>
505
506 PR gcov-profile/93403
507 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
508 Call __gcov_indirect_call_profiler_body.
509 (__gcov_indirect_call_profiler_body): New.
510 (__gcov_indirect_call_profiler_v4_atomic): New.
511 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
512 New declaration.
513
514 2020-01-27 Claudiu Zissulescu <claziss (a] synopsys.com>
515
516 * config/arc/crti.S: Add RF16 object attribute.
517 * config/arc/crtn.S: Likewise.
518 * config/arc/crttls.S: Likewise.
519 * config/arc/lib1funcs.S: Likewise.
520 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
521 * config/arc/lib2funcs.c: New file.
522 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
523
524 2020-01-24 Maciej W. Rozycki <macro (a] wdc.com>
525
526 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
527 * configure.ac: Handle `--with-toolexeclibdir='.
528 * configure: Regenerate.
529
530 2020-01-23 Dragan Mladjenovic <dmladjenovic (a] wavecomp.com>
531
532 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
533
534 2020-01-23 Dragan Mladjenovic <dmladjenovic (a] wavecomp.com>
535
536 * config/mips/gnustack.h: New file.
537 * config/mips/crti.S: Include gnustack.h.
538 * config/mips/crtn.S: Likewise.
539 * config/mips/mips16.S: Likewise.
540 * config/mips/vr4120-div.S: Likewise.
541
542 2020-01-23 Martin Liska <mliska (a] suse.cz>
543
544 * libgcov-driver.c (prune_topn_counter): Remove
545 check for -1 as we only prune run-time counters
546 that do not generate an invalid state.
547
548 2020-01-22 Martin Liska <mliska (a] suse.cz>
549
550 PR tree-optimization/92924
551 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
552 try to find an existing value, then find an empty slot
553 if not found.
554
555 2020-01-22 Martin Liska <mliska (a] suse.cz>
556
557 PR tree-optimization/92924
558 * libgcov-driver.c (prune_topn_counter): New.
559 (prune_counters): Likewise.
560 (dump_one_gcov): Prune a run-time counter.
561 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
562 For a known value, add GCOV_TOPN_VALUES to value.
563 Otherwise, decrement all counters by one.
564
565 2020-01-18 Hans-Peter Nilsson <hp (a] axis.com>
566
567 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
568
569 2020-01-18 John David Anglin <danglin (a] gcc.gnu.org>
570
571 PR libgcc/92988
572 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
573 DEFAULT_USE_CXA_ATEXIT is true.
574
575 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu (a] arm.com>
576 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
577
578 * config/arm/t-arm: Check return value of gcc rather than lack of
579 output.
580
581 2020-01-14 Georg-Johann Lay <avr (a] gjlay.de>
582
583 * config/avr/lib1funcs.S (skip): Simplify.
584
585 2020-01-10 Kwok Cheung Yeung <kcy (a] codesourcery.com>
586
587 * config/gcn/atomic.c: Remove include of stdint.h.
588 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
589 __UINTPTR_TYPE__.
590
591 2020-01-09 Kwok Cheung Yeung <kcy (a] codesourcery.com>
592
593 * config/gcn/atomic.c: New.
594 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
595
596 2020-01-08 Georg-Johann Lay <avr (a] gjlay.de>
597
598 Implement 64-bit double functions.
599
600 PR target/92055
601 * config.host (tmake_file) [target=avr]: Add t-libf7,
602 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
603 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
604 depending on sizeof (double) or sizeof (long double).
605 * config/avr/libf7: New folder.
606
607 2020-01-05 Olivier Hainque <hainque (a] adacore.com>
608
609 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
610 by IN_LIBGCC2.
611
612 2020-01-01 Jakub Jelinek <jakub (a] redhat.com>
613
614 Update copyright years.
615
616 2019-12-30 Olivier Hainque <hainque (a] adacore.com>
617
618 * config/gthr-vxworks.h: Use _vxworks-versions.h.
619 * config/gthr-vxworks-tls.c: Likewise.
620
621 2019-12-30 Olivier Hainque <hainque (a] adacore.com>
622
623 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
624 standard zero-initializer syntax.
625
626 2019-12-30 Olivier Hainque <hainque (a] adacore.com>
627
628 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
629 reference to the internal VX_GET_TLS_DATA interface.
630
631 2019-12-30 Olivier Hainque <hainque (a] adacore.com>
632
633 * config/vxcrtstuff.c: Fix incorrect spelling of
634 USE_INITFINI_ARRAY in guard.
635
636 2019-12-16 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
637
638 * config.host: s/msp430*-*-elf/msp430-*-elf*.
639 Override default "extra_parts" variable.
640 * configure: Regenerate.
641 * configure.ac: Disable TM clone registry by default for
642 msp430-elfbare.
643
644 2019-12-11 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
645
646 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
647 "extra_parts".
648 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
649
650 2019-12-11 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
651
652 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
653 true.
654
655 2019-12-09 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
656
657 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
658 defined instead of its value.
659
660 2019-12-09 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
661
662 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
663 if it will have contents.
664
665 2019-12-05 Georg-Johann Lay <avr (a] gjlay.de>
666
667 PR target/92055
668 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
669
670 2019-11-18 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
671
672 PR libgcc/91737
673 * config.host: Add t-gthr-noweak on *-*-musl*.
674 * config/t-gthr-noweak: New file.
675
676 2019-11-17 John David Anglin <danglin (a] gcc.gnu.org>
677
678 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
679 volatile void *. Remove trap check.
680 (__kernel_cmpxchg2): Likewise.
681 (FETCH_AND_OP_2): Adjust operand types.
682 (OP_AND_FETCH_2): Likewise.
683 (FETCH_AND_OP_WORD): Likewise.
684 (OP_AND_FETCH_WORD): Likewise.
685 (COMPARE_AND_SWAP_2): Likewise.
686 (__sync_val_compare_and_swap_4): Likewise.
687 (__sync_bool_compare_and_swap_4): Likewise.
688 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
689 (__sync_lock_test_and_set_4): Likewise.
690 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
691 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
692 for release.
693 (__sync_lock_release_8): Remove.
694
695 2019-11-15 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
696
697 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
698 of __sigset_t.
699
700 2019-11-14 Jerome Lambourg <lambourg (a] adacore.com>
701 Doug Rupp <rupp (a] adacore.com>
702 Olivier Hainque <hainque (a] adacore.com>
703
704 * config.host: Collapse the arm-vxworks entries into
705 a single arm-wrs-vxworks7* one.
706 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
707 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
708 kernel modules, to be overriden by libstdc++ when we link with
709 it. Rely on externally provided __exidx_start/end.
710
711 2019-11-14 Doug Rupp <rupp (a] adacore.com>
712 Olivier Hainque <hainque (a] adacore.com>
713
714 * config.host: Handle aarch64*-wrs-vxworks7*.
715
716 2019-11-12 Olivier Hainque <hainque (a] adacore.com>
717
718 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
719 sources except the cxx0x support to LIB2ADDEH. We don't support
720 cxx0x on AE/653.
721 * config/t-vxworksae: New file.
722 * config.host: Handle *-*-vxworksae: Add the two aforementioned
723 Makefile fragment files at their expected position in the tmake_file
724 list, in accordance with what is done for other VxWorks variants.
725
726 2019-11-12 Corentin Gay <gay (a] adacore.com>
727 Jerome Lambourg <lambourg (a] adacore.com>
728 Olivier Hainque <hainque (a] adacore.com>
729
730 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
731 sources to LIB2ADDEH.
732 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
733 * config/t-vxworks7: Likewise.
734
735 * config.host: Append a block at the end of the file to add the
736 t-gthr files to the tmake_file list for VxWorks after everything
737 else.
738
739 * config/vxlib.c: Rename as gthr-vxworks.c.
740 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
741
742 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
743 API and a basic error checking API, both internal. Simplify the
744 __gthread_once_t type definition and initializers. Add sections
745 for condition variables support and for the C++0x thread support,
746 conditioned against Vx653 for the latter.
747
748 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
749 implementation, leveraging the TAS internal API.
750 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
751 API, leveraging the general availability of TLS services in VxWorks7
752 post SR6xxx.
753 (__gthread_setspecific, __gthread_setspecific): Use it.
754 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
755 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
756 support based on VxWorks primitives.
757 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
758 based on VxWorks primitives.
759
760 2019-11-06 Jerome Lambourg <lambourg (a] adacore.com>
761 Olivier Hainque <hainque (a] adacore.com>
762
763 * config/vxcrtstuff.c: New file.
764 * config/t-vxcrtstuff: New Makefile fragment.
765 * config.host: Append t-vxcrtstuff to the tmake_file list
766 on all VxWorks ports using dwarf for table based EH.
767
768 2019-11-07 Georg-Johann Lay <avr (a] gjlay.de>
769
770 Support 64-bit double and 64-bit long double configurations.
771
772 PR target/92055
773 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
774 long double is a 32-bit type.
775 * config/avr/t-avrlibc: Copy double64 and long-double64
776 multilib(s) from the vanilla one.
777 * config/avr/t-copy-libgcc: New Makefile snip.
778
779 2019-11-04 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
780
781 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
782 the target output object format is not ELF.
783 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
784
785 2019-11-03 Oleg Endo <olegendo (a] gcc.gnu.org>
786
787 PR libgcc/78804
788 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
789 * fp-bit.c (pack_d, unpack_d): Remove special cases for
790 FLOAT_BIT_ORDER_MISMATCH.
791 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
792
793 2019-11-01 Jim Wilson <jimw (a] sifive.com>
794
795 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
796
797 2019-10-23 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
798
799 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
800 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
801 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
802 Define symbols for 32-bit and f5series hardware multiply
803 register addresses.
804 Replace hard-coded register addresses with symbols.
805 Fix "_mspabi*" typo.
806 Fix whitespace.
807 * config/msp430/lib2mul.c: Add comment.
808
809 2019-10-15 John David Anglin <danglin (a] gcc.gnu.org>
810
811 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
812 unsigned int. Adjust callers.
813 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
814 unsigned int *. Load relocation offset before function pointer.
815 Add barrier to ensure ordering.
816
817 2019-10-12 John David Anglin <danglin (a] gcc.gnu.org>
818
819 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
820 Load PIC register after branch target. Fix white space.
821 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
822 implementations. Load PIC register after branch target. Don't
823 clobber function pointer when it points to function descriptor.
824 Use nullification instead of branch in LINUX implementation.
825
826 2019-10-03 John David Anglin <danglin (a] gcc.gnu.org>
827
828 * config/pa/fptr.c: Disable -Warray-bounds warning.
829
830 2019-09-25 Richard Henderson <richard.henderson (a] linaro.org>
831
832 * config.in, configure: Re-rebuild with stock autoconf 2.69,
833 not the ubuntu modified 2.69.
834
835 PR target/91833
836 * config/aarch64/lse-init.c: Include auto-target.h. Disable
837 initialization if !HAVE_SYS_AUXV_H.
838 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
839 * config.in, configure: Rebuild.
840
841 PR target/91834
842 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
843 overlap the inputs.
844
845 2019-09-25 Shaokun Zhang <zhangshaokun (a] hisilicon.com>
846
847 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
848 CTR_EL0.IDC and CTR_EL0.DIC.
849
850 2019-09-20 Christophe Lyon <christophe.lyon (a] st.com>
851
852 Revert:
853 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
854 Mickal Gun <mickael.guene (a] st.com>
855
856 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
857 architecture.
858
859 2019-09-19 Richard Henderson <richard.henderson (a] linaro.org>
860
861 * config/aarch64/lse-init.c: New file.
862 * config/aarch64/lse.S: New file.
863 * config/aarch64/t-lse: New file.
864 * config.host: Add t-lse to all aarch64 tuples.
865
866 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
867 Mickal Gun <mickael.guene (a] st.com>
868
869 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
870 architecture.
871
872 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
873 Mickal Gun <mickael.guene (a] st.com>
874
875 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
876 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
877 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
878 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
879 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
880 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
881 (__gnu_personality_sigframe_fdpic): New.
882 (get_eit_entry): Add FDPIC signal frame support.
883
884 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
885 Mickal Gun <mickael.guene (a] st.com>
886
887 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
888 (__kernel_dmb): Likewise.
889 (__fdpic_cmpxchg): New function.
890 (__fdpic_dmb): New function.
891 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
892 (gnu_Unwind_Find_got): New function.
893 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
894 * unwind-arm-common.inc (UCB_PR_GOT): New.
895 (funcdesc_t): New struct.
896 (get_eit_entry): Add FDPIC support.
897 (unwind_phase2): Likewise.
898 (unwind_phase2_forced): Likewise.
899 (__gnu_Unwind_RaiseException): Likewise.
900 (__gnu_Unwind_Resume): Likewise.
901 (__gnu_Unwind_Backtrace): Likewise.
902 * unwind-pe.h (read_encoded_value_with_base): Likewise.
903
904 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
905 Mickal Gun <mickael.guene (a] st.com>
906
907 * libgcc/crtstuff.c: Add support for FDPIC.
908
909 2019-09-10 Christophe Lyon <christophe.lyon (a] st.com>
910
911 * config.host: Handle *-*-uclinuxfdpiceabi.
912
913 2019-09-09 Jose E. Marchesi <jose.marchesi (a] oracle.com>
914
915 * config.host: Set cpu_type for bpf-*-* targets.
916 * config/bpf/t-bpf: Likewise.
917 * config/bpf/crtn.S: Likewise.
918 * config/bpf/crti.S: New file.
919
920 2019-09-06 Jim Wilson <jimw (a] sifive.com>
921
922 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
923 (riscv*-*-freebsd*): Likewise.
924
925 2019-09-03 Ulrich Weigand <uweigand (a] de.ibm.com>
926
927 * config.host: Remove references to spu.
928 * config/spu/: Remove directory.
929
930 2019-08-23 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
931
932 PR target/91306
933 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
934 element type, instead of "sizeof" the element type.
935 (__DTOR_LIST__): Likewise.
936 (__TMC_LIST__): Likewise.
937 (__do_global_dtors_aux_fini_array_entry): Likewise.
938 (__frame_dummy_init_array_entry): Likewise.
939 (__CTOR_END__): Likewise.
940 (__DTOR_END__): Likweise.
941 (__FRAME_END__): Likewise.
942 (__TMC_END__): Likewise.
943
944 2019-08-20 Lili Cui <lilicui (a] intel.com>
945
946 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
947 INTEL_COREI7_COOPERLAKE.
948
949 2019-07-31 Matt Thomas <matt (a] 3am-software.com>
950 Nick Hudson <nick (a] nthcliff.demon.co.uk>
951 Matthew Green <mrg (a] eterna.com.au>
952 Maya Rashish <coypu (a] sdf.org>
953
954 * config.host (hppa*-*-netbsd*): New case.
955 * config/pa/t-netbsd: New file.
956
957 2019-07-31 Joel Hutton <Joel.Hutton (a] arm.com>
958
959 * config/arm/cmse.c (cmse_check_address_range): Add
960 warn_unused_result attribute.
961
962 2019-07-22 Martin Liska <mliska (a] suse.cz>
963
964 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
965 * config/pa/t-stublib: Likewise.
966
967 2019-07-22 Stafford Horne <shorne (a] gmail.com>
968
969 PR target/90362
970 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
971 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
972 instructions are not available on every processor. Change a
973 l.bnf to l.bf to fix logic issue.
974
975 2019-07-04 Iain Sandoe <iain (a] sandoe.co.uk>
976
977 * config.host: Remove reference to t-darwin8.
978
979 2019-07-03 Iain Sandoe <iain (a] sandoe.co.uk>
980
981 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
982 list.
983 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
984 mmacosx-version-min for crts to run across all system versions.
985 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
986 * config/t-darwin: Revise mmacosx-version-min for crts to run across
987 system versions >= 10.4.
988
989 2019-07-03 Martin Liska <mliska (a] suse.cz>
990
991 * Makefile.in: Use topn_values instead of one_value names.
992 * libgcov-merge.c (__gcov_merge_single): Move to ...
993 (__gcov_merge_topn): ... this.
994 (merge_single_value_set): Move to ...
995 (merge_topn_values_set): ... this.
996 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
997 ...
998 (__gcov_topn_values_profiler_body): ... this.
999 (__gcov_one_value_profiler_v2): Move to ...
1000 (__gcov_topn_values_profiler): ... this.
1001 (__gcov_one_value_profiler_v2_atomic): Move to ...
1002 (__gcov_topn_values_profiler_atomic): ... this.
1003 (__gcov_indirect_call_profiler_v4): Remove.
1004 * libgcov-util.c (__gcov_single_counter_op): Move to ...
1005 (__gcov_topn_counter_op): ... this.
1006 * libgcov.h (L_gcov_merge_single): Remove.
1007 (L_gcov_merge_topn): New.
1008 (__gcov_merge_single): Remove.
1009 (__gcov_merge_topn): New.
1010 (__gcov_one_value_profiler_v2): Move to ..
1011 (__gcov_topn_values_profiler): ... this.
1012 (__gcov_one_value_profiler_v2_atomic): Move to ...
1013 (__gcov_topn_values_profiler_atomic): ... this.
1014
1015 2019-07-03 Martin Liska <mliska (a] suse.cz>
1016
1017 * libgcov-merge.c (merge_single_value_set): Support N values.
1018 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1019
1020 2019-06-27 Ilia Diachkov <ilia.diachkov (a] optimitech.com>
1021
1022 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1023 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1024 * configure.ac: Add --disable-tm-clone-registry option.
1025 * configure: Regenerate.
1026
1027 2019-06-27 Martin Liska <mliska (a] suse.cz>
1028
1029 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1030 dead assignments.
1031 * libgcov-util.c: Likewise.
1032
1033 2019-06-27 Martin Liska <mliska (a] suse.cz>
1034
1035 * libgcov-util.c (gcov_profile_merge): Release allocated
1036 memory.
1037 (calculate_overlap): Likewise.
1038
1039 2019-06-25 Iain Sandoe <iain (a] sandoe.co.uk>
1040
1041 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1042 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1043 Build objects for the out of line save/restore register functions
1044 so that they can be used for any supported Darwin version.
1045 * config/t-darwin: Default the build Darwin version to Darwin8
1046 (MacOS 10.4).
1047
1048 2019-06-25 Martin Liska <mliska (a] suse.cz>
1049
1050 * libgcov-driver-system.c (replace_filename_variables): Do not
1051 call strlen with NULL argument.
1052
1053 2019-06-25 Andrew Stubbs <ams (a] codesourcery.com>
1054
1055 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1056 * config/gcn/unwind-gcn.c: New file.
1057
1058 2019-06-25 Kwok Cheung Yeung <kcy (a] codesourcery.com>
1059 Andrew Stubbs <ams (a] codesourcery.com>
1060
1061 * configure: Regenerate.
1062 * config/gcn/gthr-gcn.h: New.
1063
1064 2019-06-18 Tom de Vries <tdevries (a] suse.de>
1065
1066 * config/nvptx/crt0.c (__main): Declare.
1067
1068 2019-06-17 Matthew Green <mrg (a] eterna.com.au>
1069 Maya Rashish <coypu (a] sdf.org>
1070
1071 * config.host (aarch64*-*-netbsd*): New case.
1072
1073 2019-06-16 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
1074
1075 * config/msp430/slli.S (__mspabi_sllll): New library function for
1076 performing a logical left shift of a 64-bit value.
1077 * config/msp430/srai.S (__mspabi_srall): New library function for
1078 performing a arithmetic right shift of a 64-bit value.
1079 * config/msp430/srll.S (__mspabi_srlll): New library function for
1080 performing a logical right shift of a 64-bit value.
1081
1082 2019-06-14 Matt Thomas <matt (a] 3am-software.com>
1083 Matthew Green <mrg (a] eterna.com.au>
1084 Nick Hudson <skrll (a] netbsd.org>
1085 Maya Rashish <coypu (a] sdf.org>
1086
1087 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1088 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1089 functions to build.
1090 * config/arm/t-netbsd-eabi: New file.
1091
1092 2019-06-12 Dimitar Dimitrov <dimitar (a] dinux.eu>
1093
1094 * config.host: Add PRU target.
1095 * config/pru/asri.c: New file.
1096 * config/pru/eqd.c: New file.
1097 * config/pru/eqf.c: New file.
1098 * config/pru/ged.c: New file.
1099 * config/pru/gef.c: New file.
1100 * config/pru/gtd.c: New file.
1101 * config/pru/gtf.c: New file.
1102 * config/pru/led.c: New file.
1103 * config/pru/lef.c: New file.
1104 * config/pru/lib2bitcountHI.c: New file.
1105 * config/pru/lib2divHI.c: New file.
1106 * config/pru/lib2divQI.c: New file.
1107 * config/pru/lib2divSI.c: New file.
1108 * config/pru/libgcc-eabi.ver: New file.
1109 * config/pru/ltd.c: New file.
1110 * config/pru/ltf.c: New file.
1111 * config/pru/mpyll.S: New file.
1112 * config/pru/pru-abi.h: New file.
1113 * config/pru/pru-asm.h: New file.
1114 * config/pru/pru-divmod.h: New file.
1115 * config/pru/sfp-machine.h: New file.
1116 * config/pru/t-pru: New file.
1117
1118 2019-06-11 Jakub Jelinek <jakub (a] redhat.com>
1119
1120 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1121
1122 2019-06-10 Martin Liska <mliska (a] suse.cz>
1123
1124 PR bootstrap/90808
1125 * libgcov.h: Add ATTRIBUTE_UNUSED.
1126
1127 2019-06-10 Martin Liska <mliska (a] suse.cz>
1128
1129 * Makefile.in: Add __gcov_one_value_profiler_v2,
1130 __gcov_one_value_profiler_v2_atomic and
1131 __gcov_indirect_call_profiler_v4.
1132 * libgcov-merge.c (__gcov_merge_single): Change
1133 function signature.
1134 (merge_single_value_set): New.
1135 * libgcov-profiler.c (__gcov_one_value_profiler_body):
1136 Update functionality.
1137 (__gcov_one_value_profiler): Remove.
1138 (__gcov_one_value_profiler_v2): ... this.
1139 (__gcov_one_value_profiler_atomic): Rename to ...
1140 (__gcov_one_value_profiler_v2_atomic): this.
1141 (__gcov_indirect_call_profiler_v3): Rename to ...
1142 (__gcov_indirect_call_profiler_v4): ... this.
1143 * libgcov.h (__gcov_one_value_profiler): Remove.
1144 (__gcov_one_value_profiler_atomic): Remove.
1145 (__gcov_one_value_profiler_v2_atomic): New.
1146 (__gcov_indirect_call_profiler_v3): Remove.
1147 (__gcov_one_value_profiler_v2): New.
1148 (__gcov_indirect_call_profiler_v4): New.
1149 (gcov_get_counter_ignore_scaling): New function.
1150
1151 2019-06-07 Martin Liska <mliska (a] suse.cz>
1152
1153 * Makefile.in: Remove usage of
1154 _gcov_merge_icall_topn.
1155 * libgcov-driver.c (gcov_sort_n_vals): Remove.
1156 (gcov_sort_icall_topn_counter): Likewise.
1157 (gcov_sort_topn_counter_arrays): Likewise.
1158 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1159 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1160 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1161 Likewise.
1162 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1163 (struct indirect_call_tuple): Remove.
1164 (__gcov_indirect_call_topn_profiler): Remove.
1165 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1166 * libgcov.h (gcov_sort_n_vals): Remove.
1167 (L_gcov_merge_icall_topn): Likewise.
1168 (__gcov_merge_icall_topn): Likewise.
1169 (__gcov_indirect_call_topn_profiler): Likewise.
1170
1171 2019-06-06 Iain Sandoe <iain (a] sandoe.co.uk>
1172
1173 * config/rs6000/t-darwin: Ensure that the unwinder is built with
1174 altivec enabled.
1175
1176 2019-06-06 Jozef Lawrynowicz <jozef.l (a] mittosystems.com>
1177
1178 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1179 section.
1180 (__mspabi_slli): Likewise.
1181 (__mspabi_slll_n): Likewise.
1182 (__mspabi_slll): Likewise.
1183 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1184 (__mspabi_srai): Likewise.
1185 (__mspabi_sral_n): Likewise.
1186 (__mspabi_sral): Likewise.
1187 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1188 (__mspabi_srli): Likewise.
1189 (__mspabi_srll_n): Likewise.
1190 (__mspabi_srll): Likewise.
1191
1192 2019-06-05 Yoshinori Sato <ysato (a] users.sourceforge.jp>
1193
1194 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1195 Add appropriate tm_file clause as well.
1196 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1197
1198 2019-06-05 James Clarke <jrtc27 (a] jrtc27.com>
1199
1200 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1201 rather than .data/.bss so it can be accessed via gp-relative
1202 addressing.
1203
1204 2019-06-05 David Edelsohn <dje.gcc (a] gmail.com>
1205
1206 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1207 (CR2_REGNO): Rename to R_CR2.
1208 (XER_REGNO): Rename to R_XER.
1209 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1210 (VRSAVE_REGNO): Rename to R_VRSAVE.
1211 (VSCR_REGNO): R_VSCR.
1212
1213 2019-05-29 Yoshinori Sato <ysato (a] users.sourceforge.jp>
1214
1215 * config.host (rx-*-linux*): Add new case.
1216 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1217
1218 2019-05-29 Sam Tebbs <sam.tebbs (a] arm.com>
1219
1220 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1221 function.
1222 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1223 aarch64_post_frob_eh_handler_addr): Add check for b-key.
1224 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1225 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1226 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1227 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1228 string.
1229 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1230 string.
1231 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1232
1233 2019-05-28 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1234
1235 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1236 Remove Solaris 9 and 10 support.
1237 (sparc_is_sighandler): Likewise.
1238
1239 2019-05-26 John David Anglin <danglin (a] gcc.gnu.org>
1240
1241 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1242
1243 2019-05-17 H.J. Lu <hongjiu.lu (a] intel.com>
1244
1245 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1246 4_FP_W_TYPEs are used for IEEE quad precision.
1247 * soft-fp/extendhftf2.c: Likewise.
1248 * soft-fp/extendsftf2.c: Likewise.
1249 * soft-fp/extendxftf2.c: Likewise.
1250 * soft-fp/trunctfdf2.c: Likewise.
1251 * soft-fp/trunctfhf2.c: Likewise.
1252 * soft-fp/trunctfsf2.c: Likewise.
1253 * soft-fp/trunctfxf2.c: Likewise.
1254 * config/rs6000/ibm-ldouble.c: Likewise.
1255
1256 2019-05-14 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1257
1258 * config.host: Simplify various *-*-solaris2.1[0-9]* to
1259 *-*-solaris2*.
1260 * configure.ac: Likewise.
1261 * configure: Regenerate.
1262
1263 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1264 Solaris 10 and Solaris 11 < snv_125 handling.
1265
1266 2019-05-12 Iain Sandoe <iain (a] sandoe.co.uk>
1267
1268 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1269
1270 2019-05-07 Hongtao Liu <hongtao.liu (a] intel.com>
1271
1272 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1273 * config/i386/cpuinfo.h (enum processor_features): Add
1274 FEATURE_AVX512BF16.
1275
1276 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan (a] arm.com>
1277 Bernd Edlinger <bernd.edlinger (a] hotmail.de>
1278 Jakub Jelinek <jakub (a] redhat.com>
1279
1280 PR target/89093
1281 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1282 * config/arm/unwind-arm.c: Likewise.
1283 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1284 attribute for ARM.
1285
1286 2019-04-15 Monk Chiang <sh.chiang04 (a] gmail.com>
1287
1288 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1289 (RT_SIGRETURN): Update.
1290 (nds32_fallback_frame_state): Update.
1291
1292 2019-02-21 Martin Sebor <msebor (a] redhat.com>
1293
1294 * libgcc2.h (__clear_cache): Correct signature.
1295 * libgcc2.c (__clear_cache): Same.
1296
1297 2019-02-20 Uro Bizjak <ubizjak (a] gmail.com>
1298
1299 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1300 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1301
1302 2019-02-19 Uro Bizjak <ubizjak (a] gmail.com>
1303
1304 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1305 regno instead of index to DWARF_ZERO_REG.
1306
1307 2019-02-15 Eric Botcazou <ebotcazou (a] adacore.com>
1308
1309 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1310 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1311
1312 2019-01-31 Uro Bizjak <ubizjak (a] gmail.com>
1313
1314 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1315 to HOST_LIBGCC2_CFLAGS.
1316
1317 2019-01-23 Joseph Myers <joseph (a] codesourcery.com>
1318
1319 PR libgcc/88931
1320 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
1321
1322 2019-01-18 Martin Liska <mliska (a] suse.cz>
1323
1324 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1325 to ...
1326 (__gcov_indirect_call_profiler_v3): ... this.
1327 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1328 (__gcov_indirect_call_profiler_v3): Likewise.
1329 * Makefile.in: Bump function name.
1330
1331 2019-01-18 Martin Liska <mliska (a] suse.cz>
1332
1333 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1334 (gcov_version): Use in gcov_error.
1335 (merge_one_data): Likewise.
1336 (dump_one_gcov): Likewise.
1337
1338 2019-01-18 Martin Liska <mliska (a] suse.cz>
1339
1340 * libgcov-driver.c (gcov_version_string): New function.
1341 (gcov_version): Convert version integer into string.
1342
1343 2019-01-17 Andrew Stubbs <ams (a] codesourcery.com>
1344 Kwok Cheung Yeung <kcy (a] codesourcery.com>
1345 Julian Brown <julian (a] codesourcery.com>
1346 Tom de Vries <tom (a] codesourcery.com>
1347
1348 * config.host: Recognize amdgcn*-*-amdhsa.
1349 * config/gcn/crt0.c: New file.
1350 * config/gcn/lib2-divmod-hi.c: New file.
1351 * config/gcn/lib2-divmod.c: New file.
1352 * config/gcn/lib2-gcn.h: New file.
1353 * config/gcn/sfp-machine.h: New file.
1354 * config/gcn/t-amdgcn: New file.
1355
1356 2019-01-09 Sandra Loosemore <sandra (a] codesourcery.com>
1357
1358 PR other/16615
1359
1360 * config/c6x/libunwind.S: Mechanically replace "can not" with
1361 "cannot".
1362 * config/tilepro/atomic.h: Likewise.
1363 * config/vxlib-tls.c: Likewise.
1364 * generic-morestack-thread.c: Likewise.
1365 * generic-morestack.c: Likewise.
1366 * mkmap-symver.awk: Likewise.
1367
1368 2019-01-01 Jakub Jelinek <jakub (a] redhat.com>
1369
1370 Update copyright years.
1371
1372 2018-12-20 H.J. Lu <hongjiu.lu (a] intel.com>
1373
1374 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1375 to ignore -Waddress-of-packed-member.
1376
1377 2018-12-19 Thomas Preud'homme <thomas.preudhomme (a] linaro.org>
1378
1379 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1380 parameter and corresponding code.
1381 (ARM_FUNC_START): Likewise in both definitions.
1382 Also update footer comment about condition that need to match with
1383 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1384 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1385 defined. Weakly define it in this case.
1386 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1387 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1388 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1389 comment to keep condition in sync with the one in
1390 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1391
1392 2018-12-18 Wei Xiao <wei3.xiao (a] intel.com>
1393
1394 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1395 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1396
1397 2018-12-12 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
1398
1399 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1400 and .cfi_endproc directives for VxWorks targets.
1401
1402 2018-12-05 Paul Koning <ni1d (a] arrl.net>
1403
1404 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1405
1406 2018-11-27 Alan Modra <amodra (a] gmail.com>
1407
1408 * config/rs6000/morestack.S (__stack_split_initialize),
1409 (__morestack_get_guard, __morestack_set_guard),
1410 (__morestack_make_guard): Provide CFI covering these functions.
1411 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1412
1413 2018-11-15 Xianmiao Qu <xianmiao_qu (a] c-sky.com>
1414
1415 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
1416 (sc_pt_regs_lr): Update for kernel.
1417 (sc_pt_regs_tls): Update for kernel.
1418
1419 2018-11-15 Xianmiao Qu <xianmiao_qu (a] c-sky.com>
1420
1421 * config/csky/linux-unwind.h: Fix coding style.
1422
1423 2018-11-13 Xianmiao Qu <xianmiao_qu (a] c-sky.com>
1424
1425 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1426 (csky_fallback_frame_state): Modify the check of the
1427 instructions to adapt to changes in the kernel
1428
1429 2018-11-09 Stafford Horne <shorne (a] gmail.com>
1430 Richard Henderson <rth (a] twiddle.net>
1431
1432 * config.host: Add OpenRISC support.
1433 * config/or1k/*: New.
1434
1435 2018-11-08 Kito Cheng <kito (a] andestech.com>
1436
1437 * soft-fp/adddf3.c: Update from glibc.
1438 * soft-fp/addsf3.c: Likewise.
1439 * soft-fp/addtf3.c: Likewise.
1440 * soft-fp/divdf3.c: Likewise.
1441 * soft-fp/divsf3.c: Likewise.
1442 * soft-fp/divtf3.c: Likewise.
1443 * soft-fp/double.h: Likewise.
1444 * soft-fp/eqdf2.c: Likewise.
1445 * soft-fp/eqsf2.c: Likewise.
1446 * soft-fp/eqtf2.c: Likewise.
1447 * soft-fp/extenddftf2.c: Likewise.
1448 * soft-fp/extended.h: Likewise.
1449 * soft-fp/extendhftf2.c: Likewise.
1450 * soft-fp/extendsfdf2.c: Likewise.
1451 * soft-fp/extendsftf2.c: Likewise.
1452 * soft-fp/extendxftf2.c: Likewise.
1453 * soft-fp/fixdfdi.c: Likewise.
1454 * soft-fp/fixdfsi.c: Likewise.
1455 * soft-fp/fixdfti.c: Likewise.
1456 * soft-fp/fixhfti.c: Likewise.
1457 * soft-fp/fixsfdi.c: Likewise.
1458 * soft-fp/fixsfsi.c: Likewise.
1459 * soft-fp/fixsfti.c: Likewise.
1460 * soft-fp/fixtfdi.c: Likewise.
1461 * soft-fp/fixtfsi.c: Likewise.
1462 * soft-fp/fixtfti.c: Likewise.
1463 * soft-fp/fixunsdfdi.c: Likewise.
1464 * soft-fp/fixunsdfsi.c: Likewise.
1465 * soft-fp/fixunsdfti.c: Likewise.
1466 * soft-fp/fixunshfti.c: Likewise.
1467 * soft-fp/fixunssfdi.c: Likewise.
1468 * soft-fp/fixunssfsi.c: Likewise.
1469 * soft-fp/fixunssfti.c: Likewise.
1470 * soft-fp/fixunstfdi.c: Likewise.
1471 * soft-fp/fixunstfsi.c: Likewise.
1472 * soft-fp/fixunstfti.c: Likewise.
1473 * soft-fp/floatdidf.c: Likewise.
1474 * soft-fp/floatdisf.c: Likewise.
1475 * soft-fp/floatditf.c: Likewise.
1476 * soft-fp/floatsidf.c: Likewise.
1477 * soft-fp/floatsisf.c: Likewise.
1478 * soft-fp/floatsitf.c: Likewise.
1479 * soft-fp/floattidf.c: Likewise.
1480 * soft-fp/floattihf.c: Likewise.
1481 * soft-fp/floattisf.c: Likewise.
1482 * soft-fp/floattitf.c: Likewise.
1483 * soft-fp/floatundidf.c: Likewise.
1484 * soft-fp/floatundisf.c: Likewise.
1485 * soft-fp/floatunditf.c: Likewise.
1486 * soft-fp/floatunsidf.c: Likewise.
1487 * soft-fp/floatunsisf.c: Likewise.
1488 * soft-fp/floatunsitf.c: Likewise.
1489 * soft-fp/floatuntidf.c: Likewise.
1490 * soft-fp/floatuntihf.c: Likewise.
1491 * soft-fp/floatuntisf.c: Likewise.
1492 * soft-fp/floatuntitf.c: Likewise.
1493 * soft-fp/gedf2.c: Likewise.
1494 * soft-fp/gesf2.c: Likewise.
1495 * soft-fp/getf2.c: Likewise.
1496 * soft-fp/half.h: Likewise.
1497 * soft-fp/ledf2.c: Likewise.
1498 * soft-fp/lesf2.c: Likewise.
1499 * soft-fp/letf2.c: Likewise.
1500 * soft-fp/muldf3.c: Likewise.
1501 * soft-fp/mulsf3.c: Likewise.
1502 * soft-fp/multf3.c: Likewise.
1503 * soft-fp/negdf2.c: Likewise.
1504 * soft-fp/negsf2.c: Likewise.
1505 * soft-fp/negtf2.c: Likewise.
1506 * soft-fp/op-1.h: Likewise.
1507 * soft-fp/op-2.h: Likewise.
1508 * soft-fp/op-4.h: Likewise.
1509 * soft-fp/op-8.h: Likewise.
1510 * soft-fp/op-common.h: Likewise.
1511 * soft-fp/quad.h: Likewise.
1512 * soft-fp/single.h: Likewise.
1513 * soft-fp/soft-fp.h: Likewise.
1514 * soft-fp/subdf3.c: Likewise.
1515 * soft-fp/subsf3.c: Likewise.
1516 * soft-fp/subtf3.c: Likewise.
1517 * soft-fp/truncdfsf2.c: Likewise.
1518 * soft-fp/trunctfdf2.c: Likewise.
1519 * soft-fp/trunctfhf2.c: Likewise.
1520 * soft-fp/trunctfsf2.c: Likewise.
1521 * soft-fp/trunctfxf2.c: Likewise.
1522 * soft-fp/unorddf2.c: Likewise.
1523 * soft-fp/unordsf2.c: Likewise.
1524 * soft-fp/unordtf2.c: Likewise.
1525
1526 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar (a] amd.com>
1527
1528 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1529 * config/i386/cpuinfo.h (processor_types): Add znver2.
1530
1531 2018-11-01 Paul Koning <ni1d (a] arrl.net>
1532
1533 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1534 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1535
1536 2018-10-31 Joseph Myers <joseph (a] codesourcery.com>
1537
1538 PR bootstrap/82856
1539 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1540 * configure: Regenerate.
1541
1542 2018-10-31 Claudiu Zissulescu <claziss (a] synopsys.com>
1543
1544 * config/arc/lib1funcs.S (_muldi3): New function.
1545 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1546
1547 2018-10-30 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
1548
1549 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1550
1551 2018-10-25 Martin Liska <mliska (a] suse.cz>
1552
1553 PR other/87735
1554 * libgcov-profiler.c: Revert.
1555
1556 2018-10-24 Martin Liska <mliska (a] suse.cz>
1557
1558 * libgcov-profiler.c: Start from 1 in order to distinguish
1559 functions which were seen and these that were not.
1560
1561 2018-10-18 Paul Koning <ni1d (a] arrl.net>
1562
1563 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1564 standard.
1565 * divmod.c: Update references to __udivmodsi4.
1566 * udivmod.c: Ditto.
1567 * udivhi3.c: New file.
1568 * udivmodhi4.c: New file.
1569 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1570
1571 2018-10-17 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
1572
1573 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1574
1575 2018-10-12 Olivier Hainque <hainque (a] adacore.com>
1576
1577 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1578 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1579
1580 2018-10-08 Paul Koning <ni1d (a] arrl.net>
1581
1582 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1583
1584 2018-10-04 Martin Liska <mliska (a] suse.cz>
1585
1586 PR gcov-profile/84107
1587 * libgcov-profiler.c (__gcov_indirect_call):
1588 Change type to indirect_call_tuple.
1589 (struct indirect_call_tuple): New struct.
1590 (__gcov_indirect_call_topn_profiler): Change type.
1591 (__gcov_indirect_call_profiler_v2): Use the new
1592 variables.
1593 * libgcov.h (struct indirect_call_tuple): New struct
1594 definition.
1595
1596 2018-10-03 Uros Bizjak <ubizjak (a] gmail.com>
1597
1598 * libgcc2.c (isnan): Use __builtin_isnan.
1599 (isfinite): Use __builtin_isfinite.
1600 (isinf): Use __builtin_isinf.
1601
1602 2018-09-26 Uros Bizjak <ubizjak (a] gmail.com>
1603
1604 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1605
1606 2018-09-21 Alexandre Oliva <oliva (a] adacore.com>
1607
1608 * config/vxcache.c: New file. Provide __clear_cache, based on
1609 the cacheTextUpdate VxWorks service.
1610 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1611 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1612 * config/t-vxwoks7: Likewise.
1613
1614 2018-09-21 Martin Liska <mliska (a] suse.cz>
1615
1616 * libgcov-driver.c (crc32_unsigned): Remove.
1617 (gcov_histogram_insert): Likewise.
1618 (gcov_compute_histogram): Likewise.
1619 (compute_summary): Simplify rapidly.
1620 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1621 (merge_summary): Rapidly simplify.
1622 (dump_one_gcov): Ignore gcov_summary.
1623 (gcov_do_dump): Do not handle program summary, it's not
1624 used.
1625 * libgcov-util.c (tag_summary): Remove.
1626 (read_gcda_finalize): Fix coding style.
1627 (read_gcda_file): Initialize curr_object_summary.
1628 (compute_summary): Remove.
1629 (calculate_overlap): Remove settings of run_max.
1630
1631 2018-09-21 Monk Chiang <sh.chiang04 (a] gmail.com>
1632
1633 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1634 ucontext_t type instead.
1635 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1636
1637 2018-09-21 Kito Cheng <kito.cheng (a] gmail.com>
1638
1639 * config/nds32/t-nds32-glibc: New file.
1640
1641 2018-09-18 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1642
1643 * configure.ac (solaris_ld_v2_maps): New test.
1644 * configure: Regenerate.
1645 * Makefile.in (solaris_ld_v2_maps): New variable.
1646 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1647 if supported.
1648
1649 2018-08-23 Richard Earnshaw <rearnsha (a] arm.com>
1650
1651 PR target/86951
1652 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1653 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1654 to build.
1655
1656 2018-08-22 Iain Sandoe <iain (a] sandoe.co.uk>
1657
1658 * config/unwind-dw2-fde-darwin.c
1659 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1660 * config/darwin10-unwind-find-enc-func.c: to here.
1661 * config/t-darwin: Build Darwin10 unwinder shim crt.
1662 * libgcc/config.host: Add the Darwin10 unwinder shim.
1663
1664 2018-08-21 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
1665
1666 * config.host: Add crtbegin.o and crtend.o for
1667 powerpc-wrs-vxworks target.
1668
1669 2018-08-17 Jojo <jijie_rong (a] c-sky.com>
1670 Huibin Wang <huibin_wang (a] c-sky.com>
1671 Sandra Loosemore <sandra (a] codesourcery.com>
1672 Chung-Lin Tang <cltang (a] codesourcery.com>
1673
1674 C-SKY port: libgcc
1675
1676 * config.host: Add C-SKY support.
1677 * config/csky/*: New.
1678
1679 2018-08-12 Chung-Ju Wu <jasonwucj (a] gmail.com>
1680
1681 * config/nds32/t-nds32-isr: Rearrange object dependency.
1682 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1683 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1684 and registers usage.
1685 * config/nds32/isr-library/excp_isr.S: Ditto.
1686 * config/nds32/isr-library/intr_isr.S: Ditto.
1687 * config/nds32/isr-library/reset.S: Ditto.
1688 * config/nds32/isr-library/restore_all.inc: Ditto.
1689 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1690 * config/nds32/isr-library/restore_partial.inc: Ditto.
1691 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1692 * config/nds32/isr-library/save_all.inc: Ditto.
1693 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1694 * config/nds32/isr-library/save_partial.inc: Ditto.
1695 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1696 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1697
1698 2018-08-11 John David Anglin <danglin (a] gcc.gnu.org>
1699
1700 * config/pa/linux-atomic.c: Update comment.
1701 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1702 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1703 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1704 __ATOMIC_RELAXED for atomic loads.
1705 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1706 unordered store to release lock.
1707 (__sync_lock_release_8): Likewise.
1708 (SYNC_LOCK_RELEASE_2): Remove define.
1709
1710 2018-08-02 Nicolas Pitre <nico (a] fluxnic.net>
1711
1712 PR libgcc/86512
1713 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1714 exponent goes negative. Update my email address.
1715 * config/arm/ieee754-sf.S: Likewise.
1716
1717 2018-08-01 Martin Liska <mliska (a] suse.cz>
1718
1719 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
1720 check that __gcov_indirect_call_callee is non-null.
1721
1722 2018-07-30 Christophe Lyon <christophe.lyon (a] linaro.org>
1723
1724 * config/arm/ieee754-df.S: Fix comment for code working on
1725 architectures >= 4.
1726 * config/arm/ieee754-sf.S: Likewise.
1727
1728 2018-07-27 H.J. Lu <hongjiu.lu (a] intel.com>
1729
1730 PR libgcc/85334
1731 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1732 Removed.
1733
1734 2018-07-05 James Clarke <jrtc27 (a] jrtc27.com>
1735
1736 * configure: Regenerated.
1737
1738 2018-06-27 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1739
1740 * Makefile.in (install_leaf): Use enable_gcov instead of
1741 enable_libgcov.
1742
1743 2018-06-27 Rasmus Villemoes <rv (a] rasmusvillemoes.dk>
1744
1745 * configure.ac: Add --disable-gcov option.
1746 * configure: Regenerate.
1747 * Makefile.in: Honour @enable_gcov@.
1748
1749 2018-06-21 Christophe Lyon <christophe.lyon (a] linaro.org>
1750
1751 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1752 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1753 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1754 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1755 __ARM_ARCH__.
1756 * config/arm/ieee754-sf.S: Likewise.
1757 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1758
1759 2018-06-21 Christophe Lyon <christophe.lyon (a] linaro.org>
1760
1761 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1762 longer supported.
1763 * config/arm/ieee754-sf.S: Likewise.
1764
1765 2018-06-20 Than McIntosh <thanm (a] google.com>
1766
1767 PR libgcc/86213
1768 * generic-morestack.c (allocate_segment): Move calls to getenv and
1769 getpagesize to __morestack_load_mmap.
1770 (__morestack_load_mmap) Initialize static_pagesize and
1771 use_guard_page here so as to avoid clobbering SSE regs during a
1772 __morestack call.
1773
1774 2018-06-18 Michael Meissner <meissner (a] linux.ibm.com>
1775
1776 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1777 support modules with -mno-gnu-attribute.
1778 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1779
1780 2018-06-07 Olivier Hainque <hainque (a] adacore.com>
1781
1782 * config/t-vxworks (LIBGCC_INCLUDES): Add
1783 -I$(MULTIBUILDTOP)../../gcc/include.
1784 * config/t-vxworks7: Likewise. Reformat a bit to match
1785 the t-vxworks layout.
1786
1787 2018-06-07 Olga Makhotina <olga.makhotina (a] intel.com>
1788
1789 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1790
1791 2018-06-07 Martin Liska <mliska (a] suse.cz>
1792
1793 * libgcov-driver.c: Rename cs_all to all and assign it from
1794 all_prg.
1795
1796 2018-06-07 Martin Liska <mliska (a] suse.cz>
1797
1798 PR bootstrap/86057
1799 * libgcov-driver-system.c (replace_filename_variables): Use
1800 memcpy instead of mempcpy.
1801 (allocate_filename_struct): Do not allocate filename, allocate
1802 prefix and set it.
1803 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
1804 here and properly copy content into it.
1805 * libgcov-driver.c (struct gcov_filename): Remove max_length
1806 field, change prefix from size_t into char *.
1807 (compute_summary): Do not calculate longest filename.
1808 (gcov_do_dump): Release memory of gf.filename after each file.
1809 * libgcov-util.c (compute_summary): Use new signature of
1810 compute_summary.
1811 (calculate_overlap): Likewise.
1812
1813 2018-06-05 Martin Liska <mliska (a] suse.cz>
1814
1815 PR gcov-profile/47618
1816 * libgcov-driver-system.c (replace_filename_variables): New
1817 function.
1818 (gcov_exit_open_gcda_file): Use it.
1819
1820 2018-06-05 Martin Liska <mliska (a] suse.cz>
1821
1822 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1823 of gcov_ctr_summary.
1824 (compute_summary): Do it just for a single summary.
1825 (merge_one_data): Likewise.
1826 (merge_summary): Simplify as we read just single summary.
1827 (dump_one_gcov): Pass proper argument.
1828 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1829 single summary.
1830 (gcov_info_count_all_cold): Likewise.
1831 (calculate_overlap): Likewise.
1832
1833 2018-06-02 Chung-Ju Wu <jasonwucj (a] gmail.com>
1834 Monk Chiang <sh.chiang04 (a] gmail.com>
1835
1836 * config.host (nds32*-linux*): New.
1837 * config/nds32/linux-atomic.c: New file.
1838 * config/nds32/linux-unwind.h: New file.
1839
1840 2018-05-31 Uros Bizjak <ubizjak (a] gmail.com>
1841
1842 PR target/85591
1843 * config/i386/cpuinfo.c (get_amd_cpu): Return
1844 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1845
1846 2018-05-30 Rasmus Villemoes <rasmus.villemoes (a] prevas.dk>
1847
1848 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
1849
1850 2018-05-29 Martin Liska <mliska (a] suse.cz>
1851
1852 PR gcov-profile/85759
1853 * libgcov-driver-system.c (gcov_error): Introduce usage of
1854 GCOV_EXIT_AT_ERROR env. variable.
1855 * libgcov-driver.c (merge_one_data): Print error that we
1856 overwrite a gcov file with a different timestamp.
1857
1858 2018-05-23 Kalamatee <kalamatee (a] gmail.com>
1859
1860 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1861 path to Lf$finfty.
1862
1863 2018-05-18 Kito Cheng <kito.cheng (a] gmail.com>
1864 Monk Chiang <sh.chiang04 (a] gmail.com>
1865 Jim Wilson <jimw (a] sifive.com>
1866
1867 * config/riscv/save-restore.S: Add support for rv32e.
1868
1869 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov (a] arm.com>
1870
1871 * config/arm/libunwind.S: Update comment relating to armv5.
1872
1873 2018-05-17 Jerome Lambourg <lambourg (a] adacore.com>
1874
1875 * config/arm/cmse.c (cmse_check_address_range): Replace
1876 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1877
1878 2018-05-17 Olga Makhotina <olga.makhotina (a] intel.com>
1879
1880 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1881 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1882
1883 2018-05-08 Olga Makhotina <olga.makhotina (a] intel.com>
1884
1885 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1886 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1887
1888 2018-05-07 Amaan Cheval <amaan.cheval (a] gmail.com>
1889
1890 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1891
1892 2018-04-27 Andreas Tobler <andreast (a] gcc.gnu.org>
1893 Maryse Levavasseur <maryse.levavasseur (a] stormshield.eu>
1894
1895 PR libgcc/84292
1896 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1897 op_and_fetch to return the right result.
1898
1899 2018-04-27 Alan Modra <amodra (a] gmail.com>
1900
1901 PR libgcc/85532
1902 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1903 -fno-asynchronous-unwind-tables.
1904
1905 2018-04-25 Chung-Ju Wu <jasonwucj (a] gmail.com>
1906
1907 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1908 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1909
1910 2018-04-24 H.J. Lu <hongjiu.lu (a] intel.com>
1911
1912 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1913 when including "config/i386/shadow-stack-unwind.h".
1914
1915 2018-04-24 H.J. Lu <hongjiu.lu (a] intel.com>
1916
1917 * configure: Regenerated.
1918
1919 2018-04-20 Michael Meissner <meissner (a] linux.ibm.com>
1920
1921 PR target/85456
1922 * config/rs6000/_powikf2.c: New file. Add support for the
1923 __builtin_powil function when long double is IEEE 128-bit floating
1924 point.
1925 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1926 __powikf2 support.
1927 (__powikf2): Likewise.
1928 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1929 (__powikf2_hw): Likewise.
1930 (__powikf2): Likewise.
1931 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1932 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1933 (_powikf2-hw.c): Likewise.
1934
1935 2018-04-19 H.J. Lu <hongjiu.lu (a] intel.com>
1936
1937 PR libgcc/85334
1938 * unwind-generic.h (_Unwind_Frames_Increment): New.
1939 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1940 Likewise.
1941 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1942 count with _Unwind_Frames_Increment.
1943 (_Unwind_ForcedUnwind_Phase2): Likewise.
1944
1945 2018-04-19 H.J. Lu <hongjiu.lu (a] intel.com>
1946
1947 PR libgcc/85379
1948 * config/i386/morestack.S (__stack_split_initialize): Add
1949 _CET_ENDBR.
1950
1951 2018-04-19 Jakub Jelinek <jakub (a] redhat.com>
1952
1953 * configure: Regenerated.
1954
1955 2018-04-18 David Malcolm <dmalcolm (a] redhat.com>
1956
1957 PR jit/85384
1958 * configure: Regenerate.
1959
1960 2018-04-16 Jakub Jelinek <jakub (a] redhat.com>
1961
1962 PR target/84945
1963 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1964 -Wdangling-else warnings. Mask shift counts to avoid
1965 -Wshift-count-negative and -Wshift-count-overflow false positives.
1966
1967 2018-04-06 Ruslan Bukin <br (a] bsdpad.com>
1968
1969 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1970
1971 2018-03-29 H.J. Lu <hongjiu.lu (a] intel.com>
1972
1973 PR target/85100
1974 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1975 (XSTATE_FP): Likewise.
1976 (XSTATE_SSE): Likewise.
1977 (XSTATE_YMM): Likewise.
1978 (XSTATE_OPMASK): Likewise.
1979 (XSTATE_ZMM): Likewise.
1980 (XSTATE_HI_ZMM): Likewise.
1981 (XCR_AVX_ENABLED_MASK): Likewise.
1982 (XCR_AVX512F_ENABLED_MASK): Likewise.
1983 (get_available_features): Enable AVX and AVX512 features only
1984 if their states are supported by OSXSAVE.
1985
1986 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
1987
1988 PR target/85025
1989 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1990 Fix a typo, tmp => 255.
1991
1992 2018-03-20 Jakub Jelinek <jakub (a] redhat.com>
1993
1994 PR target/84945
1995 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1996 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1997 ifndef SHARED only.
1998 (set_feature): Define.
1999 (get_available_features): Use set_feature macro. Set __cpu_features2
2000 to the second word of features ifndef SHARED.
2001
2002 2018-03-15 Julia Koval <julia.koval (a] intel.com>
2003
2004 * config/i386/cpuinfo.c (get_available_features): Add
2005 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2006 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2007 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2008 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2009 FEATURE_AVX512BITALG.
2010
2011 2018-03-14 Julia Koval <julia.koval (a] intel.com>
2012
2013 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2014 icelake client and icelake server.
2015
2016 2018-03-06 John David Anglin <danglin (a] gcc.gnu.org>
2017
2018 * config/pa/fptr.c (_dl_read_access_allowed): New.
2019 (__canonicalize_funcptr_for_compare): Use it.
2020
2021 2018-02-28 Jakub Jelinek <jakub (a] redhat.com>
2022
2023 PR debug/83917
2024 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2025 $asm_hidden_op if visibility ("hidden") attribute works.
2026 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2027 * config/i386/i386-asm.h: Don't include auto-host.h.
2028 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2029 PACKAGE_URL): Don't undefine.
2030 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2031 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2032 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2033 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2034 definition instead of hardcoded .hidden.
2035 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2036 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2037 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2038 (USE_GAS_CFI_DIRECTIVES): Don't define.
2039 * configure: Regenerated.
2040 * config.in: Likewise.
2041
2042 2018-02-26 Jakub Jelinek <jakub (a] redhat.com>
2043
2044 PR debug/83917
2045 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2046 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2047 inclusion of auto-target.h and auto-host.h.
2048 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2049 __GCC_HAVE_DWARF2_CFI_ASM.
2050 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2051 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2052 cfi_pop): Define.
2053 * config/i386/cygwin.S: Don't include auto-host.h here, just
2054 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2055 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2056 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2057 * config/i386/resms64fx.h: Add cfi_* directives.
2058 * config/i386/resms64x.h: Likewise.
2059
2060 2018-02-20 Max Filippov <jcmvbkbc (a] gmail.com>
2061
2062 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2063 .literal_position directive.
2064 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2065
2066 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
2067
2068 PR target/84148
2069 * configure: Regenerate.
2070
2071 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
2072
2073 PR target/84239
2074 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2075 Include cetintrin.h not x86intrin.h.
2076
2077 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
2078
2079 PR target/84239
2080 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2081 Use new _get_ssp and _inc_ssp intrinsics.
2082
2083 2018-02-02 Julia Koval <julia.koval (a] intel.com>
2084
2085 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2086
2087 2018-01-26 Claudiu Zissulescu <claziss (a] synopsys.com>
2088
2089 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2090 option.
2091 (__divsi3): Use RF16 safe registers.
2092 (__modsi3): Likewise.
2093
2094 2018-01-23 Max Filippov <jcmvbkbc (a] gmail.com>
2095
2096 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2097 (__divsf3): Make NaN return value quiet.
2098 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2099 (__divdf3): Make NaN return value quiet.
2100
2101 2018-01-22 Sebastian Perta <sebastian.perta (a] renesas.com>
2102
2103 * config/rl78/anddi3.S: New assembly file.
2104 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2105
2106 2018-01-22 Sebastian Perta <sebastian.perta (a] renesas.com>
2107
2108 * config/rl78/umindi3.S: New assembly file.
2109 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2110
2111 2018-01-22 Sebastian Perta <sebastian.perta (a] renesas.com>
2112
2113 * config/rl78/smindi3.S: New assembly file.
2114 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2115
2116 2018-01-22 Sebastian Perta <sebastian.perta (a] renesas.com>
2117
2118 * config/rl78/smaxdi3.S: New assembly file.
2119 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2120
2121 2018-01-22 Sebastian Perta <sebastian.perta (a] renesas.com>
2122
2123 * config/rl78/umaxdi3.S: New assembly file.
2124 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
2125
2126 2018-01-21 John David Anglin <danglin (a] gcc.gnu.org>
2127
2128 PR lto/83452
2129 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2130 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2131
2132 2018-01-13 Richard Sandiford <richard.sandiford (a] linaro.org>
2133
2134 * config/aarch64/value-unwind.h (aarch64_vg): New function.
2135 (DWARF_LAZY_REGISTER_VALUE): Define.
2136 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2137 to provide a fallback register value.
2138
2139 2018-01-08 Michael Meissner <meissner (a] linux.vnet.ibm.com>
2140
2141 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2142 __ibm128, instead of trying to use long double.
2143 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2144 accomidate -mabi=ieeelongdouble multilibs.
2145 (CVT_IBM128_TO_FLOAT128): Likewise.
2146 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2147 the appropriate IBM extended double type.
2148 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2149 (__gcc_qsub): Likewise.
2150 (__gcc_qmul): Likewise.
2151 (__gcc_qdiv): Likewise.
2152 (pack_ldouble): Likewise.
2153 (__gcc_qneg): Likewise.
2154 (__gcc_qeq): Likewise.
2155 (__gcc_qne): Likewise.
2156 (__gcc_qge): Likewise.
2157 (__gcc_qle): Likewise.
2158 (__gcc_stoq): Likewise.
2159 (__gcc_dtoq): Likewise.
2160 (__gcc_itoq): Likewise.
2161 (__gcc_utoq): Likewise.
2162 (__gcc_qunord): Likewise.
2163 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2164 quad-float128.h for the definitions.
2165 (COPYSIGN): Use the f128 version instead of the q version.
2166 (INFINITY): Likewise.
2167 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2168 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2169 quad-float128.h for the definitions.
2170 (COPYSIGN): Use the f128 version instead of the q version.
2171 (INFINITY): Likewise.
2172 (FABS): Likewise.
2173 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2174 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2175 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2176
2177 2018-01-05 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
2178
2179 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2180 configuration.
2181
2182 2018-01-03 Jakub Jelinek <jakub (a] redhat.com>
2183
2184 Update copyright years.
2185
2186 2017-12-12 Kito Cheng <kito.cheng (a] gmail.com>
2187
2188 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2189 * config/riscv/multi3.c: New file.
2190 * config/riscv/multi3.S: Remove.
2191
2192 2017-12-08 Jim Wilson <jimw (a] sifive.com>
2193
2194 * config/riscv/div.S: Use FUNC_* macros.
2195 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2196 * config/riscv/save-restore.S: Likewise.
2197 * config/riscv/riscv-asm.h: New.
2198
2199 2017-11-30 Michael Meissner <meissner (a] linux.vnet.ibm.com>
2200
2201 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2202 * config/rs6000/_divkc3.c (__divkc3): Likewise.
2203
2204 PR libgcc/83112
2205 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2206 correct type for all ifunc resolvers to silence -Wattribute-alias
2207 warnings. Eliminate the forward declaration of the resolver
2208 functions which is no longer needed.
2209 (__subkf3_resolve): Likewise.
2210 (__mulkf3_resolve): Likewise.
2211 (__divkf3_resolve): Likewise.
2212 (__negkf2_resolve): Likewise.
2213 (__eqkf2_resolve): Likewise.
2214 (__nekf2_resolve): Likewise.
2215 (__gekf2_resolve): Likewise.
2216 (__gtkf2_resolve): Likewise.
2217 (__lekf2_resolve): Likewise.
2218 (__ltkf2_resolve): Likewise.
2219 (__unordkf2_resolve): Likewise.
2220 (__extendsfkf2_resolve): Likewise.
2221 (__extenddfkf2_resolve): Likewise.
2222 (__trunckfsf2_resolve): Likewise.
2223 (__trunckfdf2_resolve): Likewise.
2224 (__fixkfsi_resolve): Likewise.
2225 (__fixkfdi_resolve): Likewise.
2226 (__fixunskfsi_resolve): Likewise.
2227 (__fixunskfdi_resolve): Likewise.
2228 (__floatsikf_resolve): Likewise.
2229 (__floatdikf_resolve): Likewise.
2230 (__floatunsikf_resolve): Likewise.
2231 (__floatundikf_resolve): Likewise.
2232 (__extendkftf2_resolve): Likewise.
2233 (__trunctfkf2_resolve): Likewise.
2234
2235 PR libgcc/83103
2236 * config/rs6000/quad-float128.h (TF): Don't define if long double
2237 is IEEE 128-bit floating point.
2238 (TCtype): Define as either TCmode or KCmode, depending on whether
2239 long double is IEEE 128-bit floating point.
2240 (__mulkc3_sw): Add declarations for software/hardware versions of
2241 complex multiply/divide.
2242 (__divkc3_sw): Likewise.
2243 (__mulkc3_hw): Likewise.
2244 (__divkc3_hw): Likewise.
2245 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2246 handlers to switch between using software emulation and hardware
2247 float128 instructions, build the complex multiply/divide functions
2248 for both software and hardware support.
2249 * config/rs6000/_divkc3.c (_divkc3): Likewise.
2250 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2251 (__divkc3_resolve): Likewise.
2252 (__mulkc3): Likewise.
2253 (__divkc3): Likewise.
2254 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2255 (fp128_hw_src): Likewise.
2256 (fp128_hw_static_obj): Likewise.
2257 (fp128_hw_shared_obj): Likewise.
2258 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2259 _mulkc3.c and _divkc3.c, changing the function name.
2260 (_divkc3-hw.c): Likewise.
2261 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2262 and _divkc3-hw.c.
2263
2264 2017-11-26 Julia Koval <julia.koval (a] intel.com>
2265
2266 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2267 * config/i386/cpuinfo.h (processor_subtypes): Add
2268 INTEL_COREI7_CANNONLAKE.
2269
2270 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
2271
2272 PR bootstrap/83015
2273 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2274 parameter.
2275 * config/xtensa/unwind-dw2-xtensa.c: Likewise
2276 * config/ia64/unwind-ia64.c: Add frames parameter.
2277 * unwind-sjlj.c: Likewise.
2278
2279 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
2280
2281 * config/i386/linux-unwind.h: Include
2282 config/i386/shadow-stack-unwind.h.
2283 * config/i386/shadow-stack-unwind.h: New file.
2284 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2285 pass it to _Unwind_Frames_Extra.
2286 * unwind-generic.h (_Unwind_Frames_Extra): New.
2287 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2288 parameter. Add local variable frames to count number of frames.
2289 (_Unwind_ForcedUnwind_Phase2): Likewise.
2290 (_Unwind_RaiseException): Add local variable frames to count
2291 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2292 uw_install_context.
2293 (_Unwind_ForcedUnwind): Likewise.
2294 (_Unwind_Resume): Likewise.
2295 (_Unwind_Resume_or_Rethrow): Likewise.
2296
2297 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist (a] intel.com>
2298
2299 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2300 (CET_FLAGS): New.
2301 * config/i386/morestack.S: Include <cet.h>.
2302 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2303 * config/i386/resms64.h: Include <cet.h>.
2304 * config/i386/resms64f.h: Likewise.
2305 * config/i386/resms64fx.h: Likewise.
2306 * config/i386/resms64x.h: Likewise.
2307 * config/i386/savms64.h: Likewise.
2308 * config/i386/savms64f.h: Likewise.
2309 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2310 (CRTSTUFF_T_CFLAGS): Likewise.
2311 * configure.ac: Include ../config/cet.m4.
2312 Set and substitute CET_FLAGS.
2313 * configure: Regenerated.
2314
2315 2017-11-14 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
2316
2317 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2318 renaming.
2319 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2320 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2321 * configure: Regenerate.
2322
2323 2017-11-07 Tom de Vries <tom (a] codesourcery.com>
2324
2325 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2326 after "do {} while (0)".
2327
2328 2017-11-07 Tom de Vries <tom (a] codesourcery.com>
2329
2330 PR other/82784
2331 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2332 semicolon after "do {} while (0)".
2333 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2334 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2335 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2336 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2337
2338 2017-11-04 Andreas Tobler <andreast (a] gcc.gnu.org>
2339
2340 PR libgcc/82635
2341 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2342 sysctl to determine whether we're in a trampoline.
2343 Keep the pattern matching method for systems without
2344 KERN_PROC_SIGTRAMP sysctl.
2345
2346 2017-11-03 Cupertino Miranda <cmiranda (a] synopsys.com>
2347 Vineet Gupta <vgupta (a] synopsys.com>
2348
2349 * config.host (arc*-*-linux*): Set md_unwind_header variable.
2350 * config/arc/linux-unwind-reg.def: New file.
2351 * config/arc/linux-unwind-reg.h: Likewise.
2352
2353 2017-10-23 Sebastian Perta <sebastian.perta (a] renesas.com>
2354
2355 * config/rl78/subdi3.S: New assembly file.
2356 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2357
2358 2017-10-13 Sebastian Perta <sebastian.perta (a] renesas.com>
2359
2360 * config/rl78/adddi3.S: New assembly file.
2361 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2362
2363 2017-10-13 Jakub Jelinek <jakub (a] redhat.com>
2364
2365 PR target/82274
2366 * libgcc2.c (__mulvDI3): If both operands have
2367 the same highpart of -1 and the topmost bit of lowpart is 0,
2368 multiplication overflows even if both lowparts are 0.
2369
2370 2017-09-28 James Bowman <james.bowman (a] ftdichip.com>
2371
2372 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2373
2374 2017-09-26 Joseph Myers <joseph (a] codesourcery.com>
2375
2376 * config/microblaze/crti.S, config/microblaze/crtn.S,
2377 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2378 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2379 config/microblaze/mulsi3.S,
2380 config/microblaze/stack_overflow_exit.S,
2381 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2382 config/pa/milli64.S: Add .note.GNU-stack section.
2383
2384 2017-09-23 Daniel Santos <daniel.santos (a] pobox.com>
2385
2386 * configure.ac: Add Check for HAVE_AS_AVX.
2387 * config.in: Regenerate.
2388 * configure: Likewise.
2389 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2390 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2391 Correct out-of-date comments.
2392
2393 2017-09-20 Sebastian Peryt <sebastian.peryt (a] intel.com>
2394
2395 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2396 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2397
2398 2017-09-17 Daniel Santos <daniel.santos (a] pobox.com>
2399
2400 * config/i386/i386-asm.h (PASTE2): New macro.
2401 (ASMNAME): Modify to use PASTE2.
2402 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2403 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
2404 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
2405 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
2406 * config/i386/resms64f.S: Likewise.
2407 * config/i386/resms64fx.S: Likewise.
2408 * config/i386/resms64x.S: Likewise.
2409 * config/i386/savms64.S: Likewise.
2410 * config/i386/savms64f.S: Likewise.
2411 * config/i386/avx_resms64.S: New file that only defines a macro and
2412 includes it's corresponding header file.
2413 * config/i386/avx_resms64f.S: Likewise.
2414 * config/i386/avx_resms64fx.S: Likewise.
2415 * config/i386/avx_resms64x.S: Likewise.
2416 * config/i386/avx_savms64.S: Likewise.
2417 * config/i386/avx_savms64f.S: Likewise.
2418 * config/i386/sse_resms64.S: Likewise.
2419 * config/i386/sse_resms64f.S: Likewise.
2420 * config/i386/sse_resms64fx.S: Likewise.
2421 * config/i386/sse_resms64x.S: Likewise.
2422 * config/i386/sse_savms64.S: Likewise.
2423 * config/i386/sse_savms64f.S: Likewise.
2424 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
2425
2426 2017-09-01 Olivier Hainque <hainque (a] adacore.com>
2427 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2428
2429 2017-08-31 Olivier Hainque <hainque (a] adacore.com>
2430
2431 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2432 match as powerpc-wrs-vxworks*.
2433
2434 2017-08-07 Jonathan Yong <10walls (a] gmail.com>
2435
2436 * config.host (*-cygwin): Include file from mingw
2437 config/i386/enable-execute-stack-mingw32.c
2438
2439 2017-08-01 Jerome Lambourg <lambourg (a] adacore.com>
2440 Doug Rupp <rupp (a] adacore.com>
2441 Olivier Hainque <hainque (a] adacore.com>
2442
2443 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2444 as well as arm-wrs-vxworks.
2445 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
2446 LIB2ADDEH.
2447 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2448 __exidx_start and __exidx_end for downloadable modules.
2449
2450 2017-08-01 Olivier Hainque <hainque (a] adacore.com>
2451
2452 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2453 * config/t-vxworks7: Likewise.
2454
2455 2017-08-01 Olivier Hainque <hainque (a] adacore.com>
2456
2457 * config/t-vxworks: Instead of redefining LIB2ADD,
2458 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2459
2460 2017-07-28 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
2461
2462 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2463
2464 2017-07-24 Daniel Santos <daniel.santos (a] pobox.com>
2465
2466 PR testsuite/80759
2467 * config.host: include i386/t-msabi for darwin and solaris.
2468 * config/i386/i386-asm.h
2469 (ELFFN): Rename to FN_TYPE.
2470 (FN_SIZE): New macro.
2471 (FN_HIDDEN): Likewise.
2472 (ASMNAME): Likewise.
2473 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2474 .globl.
2475 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2476 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2477 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2478 .macro.
2479 * config/i386/resms64f.S: Likewise.
2480 * config/i386/resms64fx.S: Likewise.
2481 * config/i386/resms64x.S: Likewise.
2482 * config/i386/savms64.S: Likewise.
2483 * config/i386/savms64f.S: Likewise.
2484
2485 2017-07-19 John Marino <gnugcc (a] marino.st>
2486
2487 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2488
2489 2017-07-12 Michael Meissner <meissner (a] linux.vnet.ibm.com>
2490
2491 PR target/81193
2492 * configure.ac (PowerPC float128 hardware support): Test whether
2493 we can use __builtin_cpu_supports before enabling the ifunc
2494 handler.
2495 * configure: Regenerate.
2496
2497 2017-07-10 Vineet Gupta <vgupta (a] synopsys.com>
2498
2499 * config.host: Remove uclibc from arc target spec.
2500
2501 2017-07-09 Krister Walfridsson <krister.walfridsson (a] gmail.com>
2502
2503 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2504
2505 2017-07-07 Peter Bergner <bergner (a] vnet.ibm.com>
2506
2507 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2508 (have_ieee_hw_p): Delete function.
2509 (SW_OR_HW) Use __builtin_cpu_supports().
2510
2511 2017-07-06 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
2512
2513 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2514
2515 2017-07-03 Olivier Hainque <hainque (a] adacore.com>
2516
2517 * config/t-vxworks7: New file, really.
2518
2519 2017-06-28 Joseph Myers <joseph (a] codesourcery.com>
2520
2521 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2522 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2523 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2524 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2525 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2526 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2527 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2528 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2529 config/sh/linux-unwind.h (sh_fallback_frame_state),
2530 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2531 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2532 ucontext_t instead of struct ucontext.
2533
2534 2017-06-27 Jerome Lambourg <lambourg (a] adacore.com>
2535
2536 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2537 (x86_64-wrs-vxworks7): Likewise.
2538
2539 2017-06-27 Olivier Hainque <hainque (a] adacore.com>
2540
2541 * config/t-vxworks7: New file.
2542 * config.host (*-*-vxworks7): Use it.
2543
2544 2017-06-22 Matt Turner <mattst88 (a] gmail.com>
2545
2546 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2547 skylake case.
2548
2549 2017-06-21 Richard Biener <rguenther (a] suse.de>
2550
2551 PR gcov-profile/81080
2552 * configure.ac: Add AC_SYS_LARGEFILE.
2553 * libgcov.h: Include auto-target.h before tsystem.h to pick
2554 up _FILE_OFFSET_BITS which might differ for multilibs.
2555 * config.in: Regenerate.
2556 * configure: Likewise.
2557
2558 2017-06-16 Richard Earnshaw <rearnsha (a] arm.com>
2559
2560 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2561
2562 2017-06-09 Martin Liska <mliska (a] suse.cz>
2563
2564 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2565 Reset __gcov_indirect_call_callee to NULL.
2566
2567 2017-06-08 Olivier Hainque <hainque (a] adacore.com>
2568
2569 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2570 the set of -I options, support for direct inclusions of net/uio.h
2571 by VxWorks header files via ioLib.h.
2572
2573 2017-06-07 Tony Reix <tony.reix (a] atos.net>
2574 Matthieu Sarter <matthieu.sarter.external (a] atos.net>
2575 David Edelsohn <dje.gcc (a] gmail.com>
2576
2577 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2578 unconditionally.
2579 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2580 AIX 7.2 support.
2581
2582 2017-06-02 Olivier Hainque <hainque (a] adacore.com>
2583
2584 * config/vxlib.c (__gthread_once): Add missing value to
2585 return statement.
2586
2587 2017-05-30 Olivier Hainque <hainque (a] adacore.com>
2588
2589 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2590 dollar sign before $(MULTIDIR).
2591
2592 2017-05-26 Richard Henderson <rth (a] redhat.com>
2593
2594 PR libgcc/80037
2595 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2596
2597 2017-05-17 Andreas Tobler <andreast (a] gcc.gnu.org>
2598
2599 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2600 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2601 * config/arm/unwind-arm.c: Implement the above.
2602
2603 2017-05-15 Adhemerval Zanella <adhemerval.zanella (a] linaro.org>
2604
2605 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2606 section for a non-executable stack.
2607
2608 2017-05-14 Krister Walfridsson <krister.walfridsson (a] gmail.com>
2609
2610 PR target/80600
2611 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2612
2613 2017-05-14 Daniel Santos <daniel.santos (a] pobox.com>
2614
2615 * config.host: Add i386/t-msabi to i386/t-linux file list.
2616 * config/i386/i386-asm.h: New file.
2617 * config/i386/resms64.S: New file.
2618 * config/i386/resms64f.S: New file.
2619 * config/i386/resms64fx.S: New file.
2620 * config/i386/resms64x.S: New file.
2621 * config/i386/savms64.S: New file.
2622 * config/i386/savms64f.S: New file.
2623 * config/i386/t-msabi: New file.
2624
2625 2017-05-09 Andreas Tobler <andreast (a] gcc.gnu.org>
2626
2627 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2628 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2629
2630 2017-05-05 Joshua Conner <joshconner (a] google.com>
2631
2632 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2633 pc-relative indirect handling for fuchsia.
2634 * config/t-slibgcc-fuchsia: New file.
2635 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
2636 x86_64-*-fuchsia*): Add definitions.
2637
2638 2017-04-19 Martin Liska <mliska (a] suse.cz>
2639
2640 PR gcov-profile/80435
2641 * Makefile.in: Install gcov.h.
2642 * gcov.h: New file.
2643 * libgcov.h: Use the header and make __gcov_flush publicly
2644 visible.
2645
2646 2017-04-18 Martin Liska <mliska (a] suse.cz>
2647
2648 PR gcov-profile/78783
2649 * libgcov-driver.c (gcov_get_filename): New function.
2650
2651 2017-04-07 Jeff Law <law (a] redhat.com>
2652
2653 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2654 target makefile fragment.
2655 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2656
2657 2017-04-07 Alan Modra <amodra (a] gmail.com>
2658
2659 PR target/45053
2660 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2661
2662 2017-04-03 Jonathan Wakely <jwakely (a] redhat.com>
2663
2664 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2665
2666 2017-03-27 Claudiu Zissulescu <claziss (a] synopsys.com>
2667
2668 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2669
2670 2017-03-10 John Marino <gnugcc (a] marino.st>
2671
2672 * config/aarch64/freebsd-unwind.h: New file.
2673 * config.host: Add aarch64-*-freebsd unwinder.
2674
2675 2017-03-10 Segher Boessenkool <segher (a] kernel.crashing.org>
2676
2677 * config/rs6000/crtrestvr.s: Use .machine altivec.
2678 * config/rs6000/crtsavevr.s: Ditto.
2679
2680 2017-03-10 Segher Boessenkool <segher (a] kernel.crashing.org>
2681
2682 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2683 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2684 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2685 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2686 * configure: Regenerate.
2687 * config.in: Regenerate.
2688
2689 2017-03-02 Jonathan Yong <10walls (a] gmail.com>
2690
2691 * config/i386/gthr-win32.h: Define NOGDI before
2692 windows.h include to prevent w32api CC_NONE macro
2693 clash with libgfortran.
2694
2695 2017-03-02 Jonathan Yong <10walls (a] gmail.com>
2696
2697 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2698
2699 2017-02-16 Andrew Pinski <apinski (a] cavium.com>
2700
2701 * config/aarch64/value-unwind.h: New file.
2702 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2703 to tm_file.
2704
2705 2017-02-06 Palmer Dabbelt <palmer (a] dabbelt.com>
2706
2707 * config.host: Add RISC-V tuples.
2708 * config/riscv/atomic.c: New file.
2709 * config/riscv/crti.S: Likewise.
2710 * config/riscv/crtn.S: Likewise.
2711 * config/riscv/div.S: Likewise.
2712 * config/riscv/linux-unwind.h: Likewise.
2713 * config/riscv/muldi3.S: Likewise.
2714 * config/riscv/multi3.S: Likewise.
2715 * config/riscv/save-restore.S: Likewise.
2716 * config/riscv/sfp-machine.h: Likewise.
2717 * config/riscv/t-elf: Likewise.
2718 * config/riscv/t-elf32: Likewise.
2719 * config/riscv/t-elf64: Likewise.
2720 * config/riscv/t-softfp32: Likewise.
2721 * config/riscv/t-softfp64: Likewise.
2722
2723 2017-01-24 Jakub Jelinek <jakub (a] redhat.com>
2724
2725 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2726 /* FALLTHRU */ comments.
2727
2728 2017-01-21 Gerald Pfeifer <gerald (a] pfeifer.com>
2729
2730 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2731
2732 2017-01-20 Jiong Wang <jiong.wang (a] arm.com>
2733
2734 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2735 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2736 DW_CFA_GNU_window_save for AArch64 and LP64.
2737
2738 2017-01-20 Jiong Wang <jiong.wang (a] arm.com>
2739
2740 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2741
2742 2017-01-19 Jiong Wang <jiong.wang (a] arm.com>
2743
2744 * config/aarch64/aarch64-unwind.h: New file.
2745 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2746 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2747 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2748 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2749 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2750 (aarch64_post_extract_frame_addr): New function.
2751 (aarch64_post_frob_eh_handler_addr): New function.
2752 (aarch64_frob_update_context): New function.
2753 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2754 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2755 aarch64*-*-freebsd*):
2756 Initialize md_unwind_header to include aarch64-unwind.h.
2757 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2758 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2759 __aarch64__.
2760 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2761 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2762 (uw_frob_return_addr): New function.
2763 (uw_install_context): Use uw_frob_return_addr.
2764
2765 2017-01-17 Jakub Jelinek <jakub (a] redhat.com>
2766
2767 PR other/79046
2768 * configure.ac: Add GCC_BASE_VER.
2769 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2770 version from BASE-VER file.
2771 * configure: Regenerated.
2772
2773 2017-01-13 Joe Seymour <joe.s (a] somniumtech.com>
2774
2775 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2776 libmul_f5.a): Filter archived prerequisites.
2777
2778 2017-01-10 Andrew Senkevich <andrew.senkevich (a] intel.com>
2779
2780 * config/i386/cpuinfo.h (processor_features): Add
2781 FEATURE_AVX512VPOPCNTDQ.
2782 * config/i386/cpuinfo.c (get_available_features): Habdle new
2783 feature.
2784
2785 2017-01-04 Joseph Myers <joseph (a] codesourcery.com>
2786
2787 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2788 payload if [__mips_nan2008].
2789
2790 2017-01-04 Alan Modra <amodra (a] gmail.com>
2791
2792 * Makefile.in (configure_deps): Update.
2793 * configure: Regenerate.
2794
2795 2017-01-01 Jakub Jelinek <jakub (a] redhat.com>
2796
2797 Update copyright years.
2798
2799 2016-12-19 Krister Walfridsson <krister.walfridsson (a] gmail.com>
2800
2801 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2802 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2803 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2804
2805 2016-12-17 Matthias Klose <doko (a] ubuntu.com>
2806
2807 * config/arc/gmon: Remove empty directory.
2808
2809 2016-12-16 Claudiu Zissulescu <claziss (a] synopsys.com>
2810
2811 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2812 crtgend.
2813 (arc*-*-elf*): Likewise.
2814 * config/arc/t-arc: Remove old gmon lib targets.
2815 * config/arc/crtg.S: Remove.
2816 * config/arc/crtgend.S: Likewise.
2817 * config/arc/gmon/atomic.h: Likewise.
2818 * config/arc/gmon/auxreg.h: Likewise.
2819 * config/arc/gmon/dcache_linesz.S: Likewise.
2820 * config/arc/gmon/gmon.c: Likewise.
2821 * config/arc/gmon/machine-gmon.h: Likewise.
2822 * config/arc/gmon/mcount.c: Likewise.
2823 * config/arc/gmon/prof-freq-stub.S: Likewise.
2824 * config/arc/gmon/prof-freq.c: Likewise.
2825 * config/arc/gmon/profil.S: Likewise.
2826 * config/arc/gmon/sys/gmon.h: Likewise.
2827 * config/arc/gmon/sys/gmon_out.h: Likewise.
2828 * config/arc/t-arc-newlib: Likewise.
2829 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2830
2831 2016-12-12 George Spelvin <linux (a] sciencehorizons.net>
2832
2833 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2834
2835 2016-12-12 George Spelvin <linux (a] sciencehorizons.net>
2836
2837 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2838 R16 instead of push + pop.
2839 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2840
2841 2016-12-10 Krister Walfridsson <krister.walfridsson (a] gmail.com>
2842
2843 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2844 tmake_file.
2845
2846 2016-12-05 Cupertino Miranda <cmiranda (a] synopsys.com>
2847
2848 * config.host (arc*-*-linux-uclibc*): Use default extra
2849 objects. Include linux-android header.
2850 * config/arc/crti.S (_init): Declare symbol as function.
2851 (_fini): Likewise.
2852
2853 2016-12-03 Thomas Koenig <tkoenig (a] gcc.gnu.org>
2854
2855 PR fortran/78379
2856 * config/i386/cpuinfo.c: Move denums for processor vendors,
2857 processor type, processor subtypes and declaration of
2858 struct __processor_model into
2859 * config/i386/cpuinfo.h: New header file.
2860
2861 2016-12-02 Andre Vieira <andre.simoesdiasvieira (a] arm.com>
2862 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
2863
2864 * config/arm/cmse_nonsecure_call.S: New.
2865 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2866
2867 2016-12-02 Andre Vieira <andre.simoesdiasvieira (a] arm.com>
2868 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
2869
2870 * config/arm/t-arm (HAVE_CMSE): New.
2871 * config/arm/cmse.c: New.
2872
2873 2016-11-28 Thomas Petazzoni <thomas.petazzoni (a] free-electrons.com>
2874
2875 PR gcc/74748
2876 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2877 use generic linker version information on Blackfin.
2878
2879 PR gcc/74748
2880 * libgcc/mkmap-symver.awk: add support for skip_underscore
2881
2882 2016-11-27 Iain Sandoe <iain (a] codesourcery.com>
2883 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
2884
2885 PR target/67710
2886 * config/t-darwin: Default builds to 10.5 codegen.
2887
2888 2016-11-24 James Greenhalgh <james.greenhalgh (a] arm.com>
2889
2890 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2891 (_FP_NANSIGN_H): Likewise.
2892 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2893 (softfp_truncations): Add tfhf.
2894 (softfp_extras): Add required conversion functions.
2895
2896 2016-11-23 James Greenhalgh <james.greenhalgh (a] arm.com>
2897 Matthew Wahab <matthew.wahab (a] arm.com>
2898
2899 * config/arm/fp16.c (binary64): New.
2900 (__gnu_d2h_internal): New.
2901 (__gnu_d2h_ieee): New.
2902 (__gnu_d2h_alternative): New.
2903
2904 2016-11-23 James Greenhalgh <james.greenhalgh (a] arm.com>
2905 Matthew Wahab <matthew.wahab (a] arm.com>
2906
2907 * config/arm/fp16.c (struct format): New.
2908 (binary32): New.
2909 (__gnu_float2h_internal): New. Body moved from
2910 __gnu_f2h_internal and generalize.
2911 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2912 Call it with binary32.
2913
2914 2016-11-23 James Greenhalgh <james.greenhalgh (a] arm.com>
2915
2916 * soft-fp/extendhftf2.c: Update from glibc.
2917 * soft-fp/fixhfti.c: Likewise.
2918 * soft-fp/fixunshfti.c: Likewise.
2919 * soft-fp/floattihf.c: Likewise.
2920 * soft-fp/floatuntihf.c: Likewise.
2921 * soft-fp/half.h: Likewise.
2922 * soft-fp/trunctfhf2.c: Likewise.
2923
2924 2016-11-20 Marc Glisse <marc.glisse (a] inria.fr>
2925
2926 PR libgcc/77813
2927 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2928 __TMC_END__ behind a passthrough asm.
2929
2930 2016-11-18 Walter Lee <walt (a] tilera.com>
2931
2932 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
2933
2934 2016-11-17 Andrew Senkevich <andrew.senkevich (a] intel.com>
2935
2936 * config/i386/cpuinfo.c (processor_features): Add
2937 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2938
2939 2016-11-17 Claudiu Zissulescu <claziss (a] synopsys.com>
2940
2941 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2942 (__ARC_NORM__): Use instead ARC_OPTFPE.
2943 * config/arc/fp-hack.h: Likewise.
2944 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2945 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2946
2947 2016-11-16 Alexander Monakov <amonakov (a] ispras.ru>
2948
2949 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2950 * config/nvptx/mgomp.c: New file.
2951 * config/nvptx/t-nvptx: Add mgomp.c
2952
2953 2016-11-16 Waldemar Brodkorb <wbx (a] openadk.org>
2954
2955 PR libgcc/68468
2956 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2957
2958 2016-11-15 Claudiu Zissulescu <claziss (a] synopsys.com>
2959
2960 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2961 of checking for cpus.
2962 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2963 (__modsi3, __clzsi2): Likewise.
2964
2965 2016-11-11 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
2966
2967 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2968 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2969 * config/i386/t-cpuinfo-static: New.
2970
2971 2016-11-03 Martin Liska <mliska (a] suse.cz>
2972
2973 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2974 (__gcov_time_profiler_atomic): Likewise.
2975
2976 2016-11-03 Bernd Edlinger <bernd.edlinger (a] hotmail.de>
2977
2978 PR libgcc/78067
2979 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2980 count_leading_zeros.
2981
2982 2016-11-02 Uros Bizjak <ubizjak (a] gmail.com>
2983
2984 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2985 * libgcc2.c (__divmoddi4): New function.
2986 * libgcc2.h (__divmoddi4): Declare.
2987 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2988 and __PFX_divmodti4.
2989
2990 2016-10-24 Florian Weimer <fweimer (a] redhat.com>
2991
2992 PR libgcc/78064
2993 * unwind-c.c: Include auto-target.h.
2994
2995 2016-10-19 John David Anglin <danglin (a] gcc.gnu.org>
2996
2997 * config/pa/pa64-hpux-lib.h: New file.
2998 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2999 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3000 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3001 hppa*64*-*-hpux11*.
3002
3003 2016-10-18 Max Filippov <jcmvbkbc (a] gmail.com>
3004
3005 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3006 definition.
3007 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3008 definition.
3009 * config/xtensa/t-windowed (LIB2ADDEH): Use
3010 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3011 or xtensa/t-linux.
3012
3013 2016-10-18 Ding-Kai Chen <dkchen (a] cadence.com>
3014
3015 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3016 __ieee754_sqrt): New functions.
3017 (__divdf3): Add implementation with new FPU instructions under
3018 #if XCHAL_HAVE_DFP_DIV.
3019 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3020 __ieee754_sqrtf): New functions.
3021 (__divsf3): Add implementation with new FPU instructions under
3022 #if XCHAL_HAVE_FP_DIV.
3023 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3024 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3025
3026 2016-10-13 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
3027
3028 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3029 equivalent.
3030 * config/tilepro/atomic.c: Likewise and stop casting model to
3031 enum memmodel.
3032
3033 2016-10-10 Joseph Myers <joseph (a] codesourcery.com>
3034
3035 PR target/77586
3036 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3037 soft-fp.
3038
3039 2016-10-10 Andreas Tobler <andreast (a] gcc.gnu.org>
3040
3041 * config.host: Add support for aarch64-*-freebsd*.
3042
3043 2016-10-05 Andreas Schwab <schwab (a] suse.de>
3044
3045 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3046 (.section .init_array): Don't call __do_jv_register_classes.
3047 (.section .init): Likewise.
3048
3049 2016-10-04 Jakub Jelinek <jakub (a] redhat.com>
3050
3051 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3052 (__JCR_LIST__): Remove.
3053 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3054 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3055 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3056 * config/ia64/crtend.S (__JCR_END__): Remove.
3057 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3058 conditionals.
3059 (__JCR_LIST__, __JCR_END__): Remove.
3060 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3061 (__do_global_ctors_1): Likewise.
3062
3063 2015-09-28 Uros Bizjak <ubizjak (a] gmail.com>
3064
3065 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3066 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3067
3068 2016-09-27 Martin Liska <mliska (a] suse.cz>
3069
3070 PR gcov-profile/7970
3071 PR gcov-profile/16855
3072 PR gcov-profile/44779
3073 * libgcov-driver.c (__gcov_init): Do not register a atexit
3074 handler.
3075 (__gcov_exit): Rename from gcov_exit.
3076 * libgcov.h (__gcov_exit): Declare.
3077
3078 2016-09-27 Martin Liska <mliska (a] suse.cz>
3079
3080 PR bootstrap/77749
3081 * Makefile.in: Remove _gcov_merge_delta.
3082 * libgcov-merge.c (void __gcov_merge_delta): Remove.
3083 * libgcov-util.c (__gcov_delta_counter_op): Remove.
3084 * libgcov.h: Remove declaration of __gcov_merge_delta.
3085
3086 2016-09-21 Eric Botcazou <ebotcazou (a] adacore.com>
3087
3088 * configure.ac: Do not create links, only substitute the filenames.
3089 * configure: Regenerate.
3090 * Makefile.in: Assign the substitution results to variables.
3091 (LIBGCC_LINKS): Define.
3092 (enable-execute-stack.c): New rule.
3093 (unwind.h): Likewise.
3094 (md-unwind-support.h): Likewise.
3095 (sfp-machine.h): Likewise.
3096 (gthr-default.h): Likewise.
3097 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3098 unwind.h as prerequisite of install-unwind_h-forbuild.
3099
3100 2016-09-16 Jakub Jelinek <jakub (a] redhat.com>
3101
3102 PR libgcc/71744
3103 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3104 is not the primary registry and atomics are available.
3105 (any_objects_registered): New variable.
3106 (__register_frame_info_bases, __register_frame_info_table_bases):
3107 Atomically store 1 to any_objects_registered after registering first
3108 unwind info.
3109 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3110
3111 2016-09-09 James Greenhalgh <james.greenhalgh (a] arm.com>
3112
3113 PR target/63250
3114 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3115 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3116 (HFtype): Likewise.
3117 (HCtype): Likewise.
3118 (__divhc3): Likewise.
3119 (__mulhc3): Likewise.
3120 * libgcc2.c: Support _mulhc3 and _divhc3.
3121
3122 2016-09-07 Joseph Myers <joseph (a] codesourcery.com>
3123
3124 PR libgcc/77519
3125 * libgcc2.c (NOTRUNC): Invert settings.
3126
3127 2016-09-06 Martin Liska <mliska (a] suse.cz>
3128
3129 PR gcov-profile/77378
3130 PR gcov-profile/77466
3131 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3132 conditionaly enable/disable *_atomic functions.
3133
3134 2016-08-26 Joseph Myers <joseph (a] codesourcery.com>
3135
3136 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3137 where not already enabled.
3138
3139 2016-08-25 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
3140
3141 * config/mips/linux-unwind.h: Use sys/syscall.h.
3142
3143 2016-08-16 Joseph Myers <joseph (a] codesourcery.com>
3144
3145 PR libgcc/77265
3146 * soft-fp/adddf3.c: Update from glibc.
3147 * soft-fp/addsf3.c: Likewise.
3148 * soft-fp/addtf3.c: Likewise.
3149 * soft-fp/divdf3.c: Likewise.
3150 * soft-fp/divsf3.c: Likewise.
3151 * soft-fp/divtf3.c: Likewise.
3152 * soft-fp/double.h: Likewise.
3153 * soft-fp/eqdf2.c: Likewise.
3154 * soft-fp/eqsf2.c: Likewise.
3155 * soft-fp/eqtf2.c: Likewise.
3156 * soft-fp/extenddftf2.c: Likewise.
3157 * soft-fp/extended.h: Likewise.
3158 * soft-fp/extendsfdf2.c: Likewise.
3159 * soft-fp/extendsftf2.c: Likewise.
3160 * soft-fp/extendxftf2.c: Likewise.
3161 * soft-fp/fixdfdi.c: Likewise.
3162 * soft-fp/fixdfsi.c: Likewise.
3163 * soft-fp/fixdfti.c: Likewise.
3164 * soft-fp/fixsfdi.c: Likewise.
3165 * soft-fp/fixsfsi.c: Likewise.
3166 * soft-fp/fixsfti.c: Likewise.
3167 * soft-fp/fixtfdi.c: Likewise.
3168 * soft-fp/fixtfsi.c: Likewise.
3169 * soft-fp/fixtfti.c: Likewise.
3170 * soft-fp/fixunsdfdi.c: Likewise.
3171 * soft-fp/fixunsdfsi.c: Likewise.
3172 * soft-fp/fixunsdfti.c: Likewise.
3173 * soft-fp/fixunssfdi.c: Likewise.
3174 * soft-fp/fixunssfsi.c: Likewise.
3175 * soft-fp/fixunssfti.c: Likewise.
3176 * soft-fp/fixunstfdi.c: Likewise.
3177 * soft-fp/fixunstfsi.c: Likewise.
3178 * soft-fp/fixunstfti.c: Likewise.
3179 * soft-fp/floatdidf.c: Likewise.
3180 * soft-fp/floatdisf.c: Likewise.
3181 * soft-fp/floatditf.c: Likewise.
3182 * soft-fp/floatsidf.c: Likewise.
3183 * soft-fp/floatsisf.c: Likewise.
3184 * soft-fp/floatsitf.c: Likewise.
3185 * soft-fp/floattidf.c: Likewise.
3186 * soft-fp/floattisf.c: Likewise.
3187 * soft-fp/floattitf.c: Likewise.
3188 * soft-fp/floatundidf.c: Likewise.
3189 * soft-fp/floatundisf.c: Likewise.
3190 * soft-fp/floatunditf.c: Likewise.
3191 * soft-fp/floatunsidf.c: Likewise.
3192 * soft-fp/floatunsisf.c: Likewise.
3193 * soft-fp/floatunsitf.c: Likewise.
3194 * soft-fp/floatuntidf.c: Likewise.
3195 * soft-fp/floatuntisf.c: Likewise.
3196 * soft-fp/floatuntitf.c: Likewise.
3197 * soft-fp/gedf2.c: Likewise.
3198 * soft-fp/gesf2.c: Likewise.
3199 * soft-fp/getf2.c: Likewise.
3200 * soft-fp/ledf2.c: Likewise.
3201 * soft-fp/lesf2.c: Likewise.
3202 * soft-fp/letf2.c: Likewise.
3203 * soft-fp/muldf3.c: Likewise.
3204 * soft-fp/mulsf3.c: Likewise.
3205 * soft-fp/multf3.c: Likewise.
3206 * soft-fp/negdf2.c: Likewise.
3207 * soft-fp/negsf2.c: Likewise.
3208 * soft-fp/negtf2.c: Likewise.
3209 * soft-fp/op-1.h: Likewise.
3210 * soft-fp/op-2.h: Likewise.
3211 * soft-fp/op-4.h: Likewise.
3212 * soft-fp/op-8.h: Likewise.
3213 * soft-fp/op-common.h: Likewise.
3214 * soft-fp/quad.h: Likewise.
3215 * soft-fp/single.h: Likewise.
3216 * soft-fp/soft-fp.h: Likewise.
3217 * soft-fp/subdf3.c: Likewise.
3218 * soft-fp/subsf3.c: Likewise.
3219 * soft-fp/subtf3.c: Likewise.
3220 * soft-fp/truncdfsf2.c: Likewise.
3221 * soft-fp/trunctfdf2.c: Likewise.
3222 * soft-fp/trunctfsf2.c: Likewise.
3223 * soft-fp/trunctfxf2.c: Likewise.
3224 * soft-fp/unorddf2.c: Likewise.
3225 * soft-fp/unordsf2.c: Likewise.
3226 * soft-fp/unordtf2.c: Likewise.
3227
3228 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet (a] gmail.com>
3229
3230 PR gcov-profile/67097
3231 * libgcov-util.c (gcov_profile_merge): Skip missing files.
3232
3233 2016-08-10 Martin Liska <mliska (a] suse.cz>
3234
3235 PR gcov-profile/58306
3236 * Makefile.in: New functions (modules) are added.
3237 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3238 function.
3239 (__gcov_pow2_profiler_atomic): New function.
3240 (__gcov_one_value_profiler_body): New argument is instroduced.
3241 (__gcov_one_value_profiler): Call with the new argument.
3242 (__gcov_one_value_profiler_atomic): Likewise.
3243 (__gcov_indirect_call_profiler_v2): Likewise.
3244 (__gcov_time_profiler_atomic): New function.
3245 (__gcov_average_profiler_atomic): Likewise.
3246 (__gcov_ior_profiler_atomic): Likewise.
3247 * libgcov.h: Declare the aforementioned functions.
3248
3249 2016-08-09 Martin Liska <mliska (a] suse.cz>
3250
3251 * libgcov-util.c: Fix typo and GNU coding style.
3252
3253 2016-08-09 Martin Liska <mliska (a] suse.cz>
3254
3255 * Makefile.in: Remove __gcov_indirect_call_profiler.
3256 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3257 function.
3258 * libgcov.h: And the declaration of the function.
3259
3260 2016-08-09 Martin Liska <mliska (a] suse.cz>
3261
3262 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3263 power of two.
3264
3265 2016-07-29 Bill Schmidt <wschmidt (a] linux.vnet.ibm.com>
3266
3267 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3268 * config/rs6000/_mulkc3.c: Likewise.
3269
3270 2016-07-29 Georg-Johann Lay <avr (a] gjlay.de>
3271
3272 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3273 zero_reg as previous call to __umulhisi3 already cleared it.
3274
3275 2016-07-21 Aurelien Jarno <aurelien (a] aurel32.net>
3276
3277 PR target/59833
3278 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3279
3280 2016-07-19 Nick Clifton <nickc (a] redhat.com>
3281
3282 * config.host (m32r): Add m32r/t-m32r to tmake_file.
3283 Add crtinit.o and crtfini.o to extra_parts.
3284
3285 2016-07-12 Bill Schmidt <wschmidt (a] linux.vnet.ibm.com>
3286
3287 * config/rs6000/_divkc3.c: New.
3288 * config/rs6000/_mulkc3.c: New.
3289 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3290 and _divkc3.
3291 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3292 fp128_ppc_funcs.
3293
3294 2016-07-11 Hale Wang <hale.wang (a] arm.com>
3295 Andre Vieira <andre.simoesdiasvieira (a] arm.com>
3296
3297 * config/arm/lib1funcs.S: Add new wrapper.
3298
3299 2016-07-07 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
3300
3301 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3302
3303 2016-07-07 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
3304
3305 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3306 and ARMv5t* rather than for a fixed list of architectures.
3307
3308 2016-07-07 Thomas Preud'homme <thomas.preudhomme (a] arm.com>
3309
3310 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3311 implementation suitable for.
3312 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3313 for all Thumb-1 only targets.
3314 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3315 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3316 __ARM_ARCH_6M__.
3317 (EQUIV): Likewise.
3318 (ARM_FUNC_ALIAS): Likewise.
3319 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3320 version.
3321 (modsi3): Likewise.
3322 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3323 (clzdi2): Likewise.
3324 (ctzsi2): Likewise.
3325 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3326 __ARM_ARCH_6M__ in guard for checking whether it is defined.
3327 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3328 __ARM_ARCH_6M__ and add comment to indicate the connection between
3329 this condition and the one in gcc/config/arm/elf.h.
3330 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3331 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3332 * config/arm/t-softfp: Likewise.
3333
3334 2016-07-06 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
3335
3336 * libgcc2.c (SYMBOL__MAIN): Remove checks for
3337 CTOR_LISTS_DEFINED_EXTERNALLY.
3338
3339 2016-06-28 Walter Lee <walt (a] tilera.com>
3340
3341 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3342 asm/unistd.h.
3343 (SPR_CMPEXCH_VALUE): Define for tilegx.
3344 (__NR_FAST_cmpxchg): Define for tilepro.
3345 (__NR_FAST_atomic_update): Define for tilepro.
3346 (__NR_FAST_cmpxchg64): Define for tilepro.
3347
3348 2016-06-23 Jakub Sejdak <jakub.sejdak (a] phoesys.com>
3349
3350 * config.host: Add suport for arm*-*-phoenix* targets.
3351
3352 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
3353
3354 * config.host: Remove support for mep-*.
3355 * config/mep/lib1funcs.S: Remove.
3356 * config/mep/lib2funcs.c: Remove.
3357 * config/mep/t-mep: Remove.
3358 * config/mep/tramp.c: Remove.
3359
3360 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
3361
3362 * config.host: Remove support for avr-rtems.
3363 * config/avr/t-rtems: Remove.
3364
3365 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
3366
3367 * config.host: Remove m32r-rtems support.
3368
3369 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
3370
3371 * config.host: Remove h8300-rtems support.
3372
3373 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
3374
3375 * config.host: Remove support for knetbsd.
3376
3377 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
3378
3379 * config.host: Remove support for openbsd 2 and 3.
3380
3381 2016-06-21 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
3382
3383 * config.host: Remove interix support.
3384 * config/i386/t-interix: Remove.
3385
3386 2016-06-18 John David Anglin <danglin (a] gcc.gnu.org>
3387
3388 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3389 least-significant bit in function pointer for fixup.
3390
3391 2016-06-05 Aaron Conole <aconole (a] redhat.com>
3392 Nathan Sidwell <nathan (a] acm.org>
3393
3394 PR libgcc/71400
3395 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3396 (get_gcov_error_file): Check __gcov_error_file before trying to
3397 initialize it.
3398 (gcov_error): Always use get_gcov_error_file.
3399
3400 2016-06-02 Aaron Conole <aconole (a] redhat.com>
3401
3402 * libgcov-driver-system.c (__gcov_error_file): New.
3403 (get_gcov_error_file): New.
3404 (gcov_error): Use and set __gcov_error_file.
3405 (gcov_error_exit): New.
3406 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3407
3408 2016-05-26 Nathan Sidwell <nathan (a] acm.org>
3409
3410 * config/nvptx/free.asm: Delete.
3411 * config/nvptx/malloc.asm: Delete.
3412 * config/nvptx/realloc.c: Delete.
3413 * t-nvptx: Update.
3414
3415 2016-05-25 Nathan Sidwell <nathan (a] acm.org>
3416
3417 * config/nvptx/crt0.s: Delete.
3418 * config/nvptx/crt0.c: New.
3419 * t-nvptx: Update.
3420
3421 2016-05-19 Sandra Loosemore <sandra (a] codesourcery.com>
3422
3423 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
3424 dw2/seh configuration.
3425 [x86_64-*-mingw*]: Likewise.
3426
3427 2016-05-10 Joel Sherrill <joel (a] rtems.org>
3428
3429 PR libgcc/70720
3430 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3431 targets so the same extra_parts are built. Also have tmake_file add
3432 on to its value rather than override.
3433
3434 2016-04-30 Oleg Endo <olegendo (a] gcc.gnu.org>
3435
3436 * config.host: Remove SH5 support.
3437 * configure: Likewise.
3438
3439 2016-04-29 Oleg Endo <olegendo (a] gcc.gnu.org>
3440
3441 * config/sh/crt1.S: Remove SH5 support.
3442 * config/sh/crti.S: Likewise.
3443 * config/sh/crtn.S: Likewise.
3444 * config/sh/lib1funcs-4-300.S: Likewise.
3445 * config/sh/lib1funcs-Os-4-200.S: Likewise.
3446 * config/sh/lib1funcs.S: Likewise.
3447 * config/sh/linux-unwind.h: Likewise.
3448 * config/sh/t-sh64: Delete.
3449
3450 2016-04-29 Claudiu Zissulescu <claziss (a] synopsys.com>
3451
3452 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3453
3454 2016-04-28 Claudiu Zissulescu <claziss (a] synopsys.com>
3455 Joern Rennecke <joern.rennecke (a] embecosm.com>
3456
3457 * config/arc/crttls.S: New file.
3458 * config/arc/t-arc: New rule.
3459 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3460
3461 2016-04-25 Nick Clifton <nickc (a] redhat.com>
3462
3463 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3464 (__mspabi_cmpd): Likewise.
3465 * config/msp430/floathidf.c (__floathidf): Likewise.
3466 * config/msp430/floathisf.c (__floathisf): Likewise
3467 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3468 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3469 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3470 second parameter.
3471 (__ashrsi3): Likewise.
3472
3473 2016-04-21 Waldemar Brodkorb <wbx (a] openadk.org>
3474
3475 * config/m68k/linux-atomic.c: Do not include unistd.h
3476
3477 2016-04-20 Martin Galvan <martin.galvan (a] tallertechnologies.com>
3478
3479 * config/arm/ieee754-df.S: Fix typos in comments.
3480
3481 2016-04-11 Michael Meissner <meissner (a] linux.vnet.ibm.com>
3482
3483 PR target/70381
3484 * configure.ac (powerpc*-*-linux*): Rework tests to build
3485 __float128 emulation routines to not depend on using #pragma GCC
3486 target to enable -mfloat128.
3487 * configure: Regnerate.
3488
3489 2016-04-04 Eric Botcazou <ebotcazou (a] adacore.com>
3490
3491 PR target/67172
3492 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3493 __MINGW32__ is defined.
3494
3495 2016-03-28 James Bowman <james.bowman (a] ftdichip.com>
3496
3497 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
3498
3499 2016-03-22 Michael Meissner <meissner (a] linux.vnet.ibm.com>
3500
3501 PR libgcc/70363
3502 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3503 built with an assembler that does not support ISA 3.0
3504 instructions, rename __extendkftf2_sw to __extendkftf2.
3505
3506 2016-03-16 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3507
3508 PR target/38239
3509 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3510 call-clobbered registers.
3511 (internal_mcount): Remove __i386__ handling.
3512
3513 2016-02-26 Joel Sherrill <joel (a] rtems.org>
3514
3515 * config.host: Add x86_64-*-rtems*.
3516
3517 2016-02-26 Joel Sherrill <joel (a] rtems.org>
3518
3519 * libgcc/config.host: Add aarch64-*-rtems*.
3520
3521 2016-02-26 Paul E. Murphy <murphyp (a] linux.vnet.ibm.com>
3522 Bill Schmidt <wschmidt (a] linux.vnet.ibm.com>
3523
3524 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3525 union of u64 and double.
3526 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3527 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3528 value.
3529 (FP_ROUNDMODE): Update the usage of _fpscr.
3530
3531 2016-02-25 Ilya Verbin <ilya.verbin (a] intel.com>
3532
3533 PR driver/68463
3534 * Makefile.in (crtoffloadtable$(objext)): New rule.
3535 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3536 enable_offload_targets is not empty.
3537 * configure: Regenerate.
3538 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3539 crtoffloadtable.
3540
3541 2016-02-17 Max Filippov <jcmvbkbc (a] gmail.com>
3542
3543 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3544 .literal_position before the function.
3545 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3546 Likewise.
3547
3548 2016-02-15 Marcin Kocielnicki <koriakin (a] 0x04.net>
3549
3550 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3551 * config/s390/morestack.S: New file.
3552 * config/s390/t-stack-s390: New file.
3553 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3554
3555 2016-02-12 Walter Lee <walt (a] tilera.com>
3556
3557 * config.host (tilegx*-*-linux*): remove ti from
3558 softfp_int_modes for 32-bit configs.
3559
3560 2016-02-10 Ian Lance Taylor <iant (a] google.com>
3561
3562 PR go/68562
3563 * config/i386/morestack.S (__stack_split_initialize): Align
3564 stack.
3565
3566 2016-02-03 Andreas Tobler <andreast (a] gcc.gnu.org>
3567
3568 PR bootstrap/69611
3569 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3570 __FLOAT128__ to compile only for __float128 capable targets.
3571
3572 2016-01-25 Jakub Jelinek <jakub (a] redhat.com>
3573
3574 PR target/69444
3575 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3576 instead of ___NO_FPRS__.
3577
3578 2016-01-21 Michael Meissner <meissner (a] linux.vnet.ibm.com>
3579 Steven Munroe <munroesj (a] linux.vnet.ibm.com>
3580 Tulio Magno Quites Machado Filho <tulioqm (a] br.ibm.com>
3581
3582 * config/rs6000/float128-sed: New files to convert TF names to KF
3583 names for PowerPC IEEE 128-bit floating point support.
3584 * config/rs6000/float128-sed-hw: Likewise.
3585
3586 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3587 floating point hardware support.
3588
3589 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3590 128-bit floating point software emulation or use ISA 3.0 hardware
3591 support if it is available.
3592
3593 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3594 floating point.
3595
3596 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3597 floating point to IBM extended double.
3598
3599 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3600 double to IEEE 128-bit floating point.
3601
3602 * config/rs6000/t-float128: New Makefile fragments to enable
3603 building __float128 emulation support.
3604 * config/rs6000/t-float128-hw: Likewise.
3605
3606 * config/rs6000/sfp-exceptions.c: New file to provide exception
3607 support for IEEE 128-bit floating point.
3608
3609 * config/rs6000/floattikf.c: New files for converting between IEEE
3610 128-bit floating point and signed/unsigned 128-bit integers.
3611 * config/rs6000/fixunskfti.c: Likewise.
3612 * config/rs6000/fixkfti.c: Likewise.
3613 * config/rs6000/floatuntikf.c: Likewise.
3614
3615 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3616 when building on 64-bit systems, or when VSX is enabled.
3617 (_FP_W_TYPE): Likewise.
3618 (_FP_WS_TYPE): Likewise.
3619 (_FP_I_TYPE): Likewise.
3620 (TItype): Define on 64-bit systems.
3621 (UTItype): Likewise.
3622 (TI_BITS): Likewise.
3623 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3624 (_FP_MUL_MEAT_Q): Likewise.
3625 (_FP_DIV_MEAT_D): Likewise.
3626 (_FP_DIV_MEAT_Q): Likewise.
3627 (_FP_NANFRAC_D): Likewise.
3628 (_FP_NANFRAC_Q): Likewise.
3629 (ISA_BIT): Add exception support if we are being compiled on a
3630 machine with hardware floating point support to build the IEEE
3631 128-bit emulation functions.
3632 (FP_EX_INVALID): Likewise.
3633 (FP_EX_OVERFLOW): Likewise.
3634 (FP_EX_UNDERFLOW): Likewise.
3635 (FP_EX_DIVZERO): Likewise.
3636 (FP_EX_INEXACT): Likewise.
3637 (FP_EX_ALL): Likewise.
3638 (__sfp_handle_exceptions): Likewise.
3639 (FP_HANDLE_EXCEPTIONS): Likewise.
3640 (FP_RND_NEAREST): Likewise.
3641 (FP_RND_ZERO): Likewise.
3642 (FP_RND_PINF): Likewise.
3643 (FP_RND_MINF): Likewise.
3644 (FP_RND_MASK): Likewise.
3645 (_FP_DECL_EX): Likewise.
3646 (FP_INIT_ROUNDMODE): Likewise.
3647 (FP_ROUNDMODE): Likewise.
3648
3649 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3650 VSX code, enable IEEE 128-bit floating point. If the compiler can
3651 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3652 floating point hardware instructions and it supports declaring
3653 functions with the ifunc attribute, enable ifunc functions to
3654 switch between software and hardware support.
3655 * configure.ac (powerpc*-*-linux*): Likewise.
3656 * configure: Regenerate.
3657
3658 2016-01-15 Nick Clifton <nickc (a] redhat.com>
3659
3660 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3661 dependency as the source file to be compiled.
3662 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3663 (lib2hw_mul_f5.o): Likewise.
3664
3665 2016-01-13 Michael Meissner <meissner (a] linux.vnet.ibm.com>
3666
3667 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3668 * libgcc/config/rs6000/fixkfti.c: Likewise.
3669 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3670 * libgcc/config/rs6000/float128-hw.c: Likewise.
3671 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3672 * libgcc/config/rs6000/float128-sed: Likewise.
3673 * libgcc/config/rs6000/floattikf.c: Likewise.
3674 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3675 * libgcc/config/rs6000/quad-float128.h: Likewise.
3676 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3677 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3678 * libgcc/config/rs6000/t-float128: Likewise.
3679 * libgcc/config/rs6000/t-float128-hw: Likewise.
3680 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3681 * libgcc/config.host: Likewise.
3682 * libgcc/configure: Likewise.
3683 * libgcc/configure.ac: Likewise.
3684
3685 2016-01-13 Michael Meissner <meissner (a] linux.vnet.ibm.com>
3686 Steven Munroe <munroesj (a] linux.vnet.ibm.com>
3687 Tulio Magno Quites Machado Filho <tulioqm (a] br.ibm.com>
3688
3689 * config/rs6000/sfp-exceptions.c: New file to provide exception
3690 support for IEEE 128-bit floating point.
3691
3692 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3693 floating point hardware support.
3694
3695 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3696 point conversions.
3697 * config/rs6000/fixunskfti.c: Likewise.
3698 * config/rs6000/fixkfti.c: Likewise.
3699 * config/rs6000/floatuntikf.c: Likewise.
3700 * config/rs6000/extendkftf2-sw.c: Likewise.
3701 * config/rs6000/trunctfkf2-sw.c: Likewise.
3702
3703 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3704 128-bit floating point software emulation or use ISA 3.0 hardware
3705 support if it is available.
3706
3707 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3708 floating point.
3709
3710 * config/rs6000/t-float128: New Makefile fragments to enable
3711 building __float128 emulation support.
3712 * config/rs6000/t-float128-hw: Likewise.
3713
3714 * config/rs6000/float128-sed: New file to convert TF names to KF
3715 names for PowerPC IEEE 128-bit floating point support.
3716
3717 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3718 when building on 64-bit systems, or when VSX is enabled.
3719 (_FP_W_TYPE): Likewise.
3720 (_FP_WS_TYPE): Likewise.
3721 (_FP_I_TYPE): Likewise.
3722 (TItype): Define on 64-bit systems.
3723 (UTItype): Likewise.
3724 (TI_BITS): Likewise.
3725 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3726 (_FP_MUL_MEAT_Q): Likewise.
3727 (_FP_DIV_MEAT_D): Likewise.
3728 (_FP_DIV_MEAT_Q): Likewise.
3729 (_FP_NANFRAC_D): Likewise.
3730 (_FP_NANFRAC_Q): Likewise.
3731 (ISA_BIT): Add exception support if we are being compiled on a
3732 machine with hardware floating point support to build the IEEE
3733 128-bit emulation functions.
3734 (FP_EX_INVALID): Likewise.
3735 (FP_EX_OVERFLOW): Likewise.
3736 (FP_EX_UNDERFLOW): Likewise.
3737 (FP_EX_DIVZERO): Likewise.
3738 (FP_EX_INEXACT): Likewise.
3739 (FP_EX_ALL): Likewise.
3740 (__sfp_handle_exceptions): Likewise.
3741 (FP_HANDLE_EXCEPTIONS): Likewise.
3742 (FP_RND_NEAREST): Likewise.
3743 (FP_RND_ZERO): Likewise.
3744 (FP_RND_PINF): Likewise.
3745 (FP_RND_MINF): Likewise.
3746 (FP_RND_MASK): Likewise.
3747 (_FP_DECL_EX): Likewise.
3748 (FP_INIT_ROUNDMODE): Likewise.
3749 (FP_ROUNDMODE): Likewise.
3750
3751 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3752 compiler can do __float128.
3753 * configure: Regenerate.
3754
3755 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3756 VSX code, enable IEEE 128-bit floating point.
3757
3758 2016-01-05 Olivier Hainque <hainque (a] adacore.com>
3759
3760 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
3761 specificities.
3762
3763 2016-01-04 Jakub Jelinek <jakub (a] redhat.com>
3764
3765 Update copyright years.
3766
3767 2015-12-18 Andris Pavenis <andris.pavenis (a] iki.fi>
3768
3769 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
3770 soft-fp targets.
3771
3772 2015-12-16 Bernd Edlinger <bernd.edlinger (a] hotmail.de>
3773
3774 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3775 instead of abort to avoid dependency on stdlib.h.
3776
3777 2015-12-09 John David Anglin <danglin (a] gcc.gnu.org>
3778
3779 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3780 to initialize call to __dl_fixup once.
3781
3782 2015-12-04 Nick Clifton <nickc (a] redhat.com>
3783
3784 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3785 Allow for the second argument being negative.
3786 * config.host (extra_parts): Define for MSP430. Create separate
3787 libraries for each of the hardware multiply formats.
3788 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3789 that are needed.
3790 * config/msp430/lib2mul.c: Likewise.
3791 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3792 Add rules to build hardware multiply libraries.
3793 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3794 __mspabi_divul function.
3795 (__mspabi_divllu): New stub function.
3796
3797 2015-12-01 John David Anglin <danglin (a] gcc.gnu.org>
3798
3799 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3800 fixup values if saved GOT address doesn't match runtime address.
3801 (fixup_branch_offset): Reorder list.
3802
3803 2015-11-25 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3804
3805 * Makefile.in (VTV_CFLAGS): New variable.
3806 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3807 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3808 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3809 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3810 to extra_parts if $enable_vtable_verify = yes.
3811
3812 2015-11-23 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
3813
3814 PR target/68059
3815 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3816 (write): ...this and fix the return type.
3817
3818 2015-11-19 DJ Delorie <dj (a] redhat.com>
3819
3820 * config/msp430/lib2hw_mul.S: Fix alignment.
3821
3822 2015-11-18 Nathan Sidwell <nathan (a] codesourcery.com>
3823
3824 * config/nvptx/reduction.c: New.
3825 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3826
3827 2015-11-15 David Edelsohn <dje.gcc (a] gmail.com>
3828
3829 * config/rs6000/on_exit.c: New file.
3830 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3831 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3832
3833 2015-11-11 Claudiu Zissulescu <claziss (a] synopsys.com>
3834
3835 * config/arc/dp-hack.h: Add support for ARCHS.
3836 * config/arc/ieee-754/divdf3.S: Likewise.
3837 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3838 * config/arc/ieee-754/muldf3.S: Likewise.
3839 * config/arc/ieee-754/mulsf3.S: Likewise
3840 * config/arc/lib1funcs.S: Likewise
3841 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3842 for ARCv2 cores.
3843 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3844 for ARCv2 cores.
3845 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3846 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3847 cores.
3848
3849 2015-11-09 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3850
3851 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3852 value.
3853 * config/ia64/crtend.S: Likewise.
3854
3855 2015-11-07 Trevor Saunders <tbsaunde+gcc (a] tbsaunde.org>
3856
3857 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3858 __CHAR_BIT__ instead of BITS_PER_UNIT.
3859 * fixed-bit.h: Likewise.
3860 * fp-bit.h: Likewise.
3861 * libgcc2.c (__popcountSI2): Likewise.
3862 (__popcountDI2): Likewise.
3863 * libgcc2.h: Likewise.
3864 * libgcov.h: Likewise.
3865
3866 2015-11-07 David Edelsohn <dje.gcc (a] gmail.com>
3867
3868 * config/rs6000/atexit.c: New file.
3869 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3870 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3871 * config/rs6000/cxa_finalize.c
3872 (catomic_compare_and_exchange_bool_acq): Negate return value.
3873
3874 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar (a] amd.com>
3875
3876 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3877 (processor_subtypes): Add znver1.
3878 (get_amd_cpu): Detect znver1.
3879
3880 2015-10-29 Christophe Lyon <christophe.lyon (a] linaro.org>
3881
3882 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3883 Include crtfastmath.o.
3884
3885 2015-10-23 Joern Rennecke <joern.rennecke (a] embecosm.com>
3886
3887 PR libgcc/66883
3888 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
3889
3890 2015-10-16 Kaushik Phatak <kaushik.phatak (a] kpit.com>
3891
3892 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3893 * config/rl78/divmodsi.S: Update return register to r8.
3894 * config/rl78/divmodhi.S: Update return register to r8,r9.
3895 Branch to main_loop_done_himode to pop registers before return.
3896
3897 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar (a] amd.com>
3898
3899 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3900 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3901
3902 2015-10-05 Kirill Yukhin <kirill.yukhin (a] intel.com>
3903
3904 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3905
3906 2015-10-03 Max Filippov <jcmvbkbc (a] gmail.com>
3907
3908 * config.host (xtensa*-*-uclinux*): New configuration.
3909
3910 2015-10-02 Kirill Yukhin <kirill.yukhin (a] intel.com>
3911
3912 * config/i386/cpuinfo.c (processor_features): Add
3913 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3914
3915 2015-09-28 Joseph Myers <joseph (a] codesourcery.com>
3916
3917 * soft-fp/adddf3.c: Update from glibc.
3918 * soft-fp/addsf3.c: Likewise.
3919 * soft-fp/addtf3.c: Likewise.
3920 * soft-fp/divdf3.c: Likewise.
3921 * soft-fp/divsf3.c: Likewise.
3922 * soft-fp/divtf3.c: Likewise.
3923 * soft-fp/double.h: Likewise.
3924 * soft-fp/eqdf2.c: Likewise.
3925 * soft-fp/eqsf2.c: Likewise.
3926 * soft-fp/eqtf2.c: Likewise.
3927 * soft-fp/extenddftf2.c: Likewise.
3928 * soft-fp/extended.h: Likewise.
3929 * soft-fp/extendsfdf2.c: Likewise.
3930 * soft-fp/extendsftf2.c: Likewise.
3931 * soft-fp/extendxftf2.c: Likewise.
3932 * soft-fp/fixdfdi.c: Likewise.
3933 * soft-fp/fixdfsi.c: Likewise.
3934 * soft-fp/fixdfti.c: Likewise.
3935 * soft-fp/fixsfdi.c: Likewise.
3936 * soft-fp/fixsfsi.c: Likewise.
3937 * soft-fp/fixsfti.c: Likewise.
3938 * soft-fp/fixtfdi.c: Likewise.
3939 * soft-fp/fixtfsi.c: Likewise.
3940 * soft-fp/fixtfti.c: Likewise.
3941 * soft-fp/fixunsdfdi.c: Likewise.
3942 * soft-fp/fixunsdfsi.c: Likewise.
3943 * soft-fp/fixunsdfti.c: Likewise.
3944 * soft-fp/fixunssfdi.c: Likewise.
3945 * soft-fp/fixunssfsi.c: Likewise.
3946 * soft-fp/fixunssfti.c: Likewise.
3947 * soft-fp/fixunstfdi.c: Likewise.
3948 * soft-fp/fixunstfsi.c: Likewise.
3949 * soft-fp/fixunstfti.c: Likewise.
3950 * soft-fp/floatdidf.c: Likewise.
3951 * soft-fp/floatdisf.c: Likewise.
3952 * soft-fp/floatditf.c: Likewise.
3953 * soft-fp/floatsidf.c: Likewise.
3954 * soft-fp/floatsisf.c: Likewise.
3955 * soft-fp/floatsitf.c: Likewise.
3956 * soft-fp/floattidf.c: Likewise.
3957 * soft-fp/floattisf.c: Likewise.
3958 * soft-fp/floattitf.c: Likewise.
3959 * soft-fp/floatundidf.c: Likewise.
3960 * soft-fp/floatundisf.c: Likewise.
3961 * soft-fp/floatunditf.c: Likewise.
3962 * soft-fp/floatunsidf.c: Likewise.
3963 * soft-fp/floatunsisf.c: Likewise.
3964 * soft-fp/floatunsitf.c: Likewise.
3965 * soft-fp/floatuntidf.c: Likewise.
3966 * soft-fp/floatuntisf.c: Likewise.
3967 * soft-fp/floatuntitf.c: Likewise.
3968 * soft-fp/gedf2.c: Likewise.
3969 * soft-fp/gesf2.c: Likewise.
3970 * soft-fp/getf2.c: Likewise.
3971 * soft-fp/ledf2.c: Likewise.
3972 * soft-fp/lesf2.c: Likewise.
3973 * soft-fp/letf2.c: Likewise.
3974 * soft-fp/muldf3.c: Likewise.
3975 * soft-fp/mulsf3.c: Likewise.
3976 * soft-fp/multf3.c: Likewise.
3977 * soft-fp/negdf2.c: Likewise.
3978 * soft-fp/negsf2.c: Likewise.
3979 * soft-fp/negtf2.c: Likewise.
3980 * soft-fp/op-1.h: Likewise.
3981 * soft-fp/op-2.h: Likewise.
3982 * soft-fp/op-4.h: Likewise.
3983 * soft-fp/op-8.h: Likewise.
3984 * soft-fp/op-common.h: Likewise.
3985 * soft-fp/quad.h: Likewise.
3986 * soft-fp/single.h: Likewise.
3987 * soft-fp/soft-fp.h: Likewise.
3988 * soft-fp/subdf3.c: Likewise.
3989 * soft-fp/subsf3.c: Likewise.
3990 * soft-fp/subtf3.c: Likewise.
3991 * soft-fp/truncdfsf2.c: Likewise.
3992 * soft-fp/trunctfdf2.c: Likewise.
3993 * soft-fp/trunctfsf2.c: Likewise.
3994 * soft-fp/trunctfxf2.c: Likewise.
3995 * soft-fp/unorddf2.c: Likewise.
3996 * soft-fp/unordsf2.c: Likewise.
3997 * soft-fp/unordtf2.c: Likewise.
3998
3999 2015-09-24 Richard Earnshaw <rearnsha (a] arm.com>
4000
4001 PR libgcc/67624
4002 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4003
4004 2015-09-24 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
4005
4006 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4007 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4008 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4009 messages.
4010 (internal_mcount): Likewise.
4011 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4012 crt_compile, add CRTSTUFF_T_CFLAGS_S.
4013
4014 2015-09-24 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
4015
4016 * configure.ac (libgcc_cv_solaris_crts): New test.
4017 * configure: Regenerate.
4018 * config.in: Regenerate.
4019 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4020 * config/gmon-sol2.c: Rename to ...
4021 * config/sol2/gmon.c: ... this.
4022 Include auto-target.h.
4023 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4024 * config/t-sol2: Rename to ...
4025 * config/sol2/t-sol2: ... this.
4026 (gmon.o): Reflect renaming.
4027 (crtp.o, crtpg.o): New rules.
4028 * config.host (*-*-solaris2*): Reflect renaming.
4029 Use system CRTs if present.
4030 Remove default CRT case.
4031
4032 2015-09-23 John David Anglin <danglin (a] gcc.gnu.org>
4033
4034 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4035 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4036 __kernel_cmpxchg2.
4037 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4038 (__sync_val_compare_and_swap_##WIDTH): Likewise.
4039 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4040 (__sync_lock_test_and_set_##WIDTH): Likewise.
4041 (__sync_lock_release_##WIDTH): Likewise.
4042 (__sync_fetch_and_##OP##_4): Change result to match type of
4043 __kernel_cmpxchg.
4044 (__sync_##OP##_and_fetch_4): Likewise.
4045 (__sync_val_compare_and_swap_4): Likewise.
4046 (__sync_bool_compare_and_swap_4): likewise.
4047 (__sync_lock_test_and_set_4): Likewise.
4048 (__sync_lock_release_4): Likewise.
4049 (FETCH_AND_OP_2): Add long long variants.
4050 (OP_AND_FETCH_2): Likewise.
4051 (COMPARE_AND_SWAP_2 ): Likewise.
4052 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4053 (SYNC_LOCK_RELEASE_2): Likewise.
4054 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4055
4056 2015-09-22 Kirill Yukhin <kirill.yukhin (a] intel.com>
4057
4058 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4059 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4060 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4061 (get_available_features): Habdle new features.
4062
4063 2015-09-21 James Bowman <james.bowman (a] ftdichip.com>
4064
4065 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4066 memory layout. Deal correctly with BSS region larger than 32K.
4067 Handle a watchdog reset like a power-on reset. Clean up unused
4068 code.
4069
4070 2015-09-18 Andrew Dixie <andrewd (a] gentrack.com>
4071 David Edelsohn <dje.gcc (a] gmail.com>
4072
4073 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4074 * config/rs6000/crtdbase.S: New file.
4075 * config/rs6000/t-aix-cxa: Build crtdbase.o.
4076
4077 2015-09-15 Max Filippov <jcmvbkbc (a] gmail.com>
4078
4079 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4080 Add support for call0 ABI.
4081
4082 2015-09-13 John David Anglin <danglin (a] gcc.gnu.org>
4083
4084 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4085
4086 2015-09-03 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
4087
4088 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4089 (__GTHREAD_HAS_COND): Likewise.
4090 (__gthread_t): Likewise.
4091 (__gthread_cond_t): Likewise.
4092 (__gthread_time_t): Likewise.
4093 (__GTHREAD_MUTEX_INIT): Likewise.
4094 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4095 (__GTHREAD_COND_INIT): Likewise.
4096 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4097 (__GTHREAD_TIME_INIT): Likewise.
4098 (__gthread_create): Likewise.
4099 (__gthread_join): Likewise.
4100 (__gthread_detach): Likewise.
4101 (__gthread_equal): Likewise.
4102 (__gthread_self): Likewise.
4103 (__gthread_yield): Likewise.
4104 (__gthread_cond_broadcast): Likewise.
4105 (__gthread_cond_signal): Likewise.
4106 (__gthread_cond_wait): Likewise.
4107 (__gthread_cond_timedwait): Likewise.
4108 (__gthread_cond_wait_recursive): Likewise.
4109 (__gthread_cond_destroy): Likewise.
4110 (rtems_gxx_once): Delete.
4111 (rtems_gxx_key_create): Likewise.
4112 (rtems_gxx_key_delete): Likewise.
4113 (rtems_gxx_getspecific): Likewise.
4114 (rtems_gxx_setspecific): Likewise.
4115 (rtems_gxx_mutex_init): Likewise.
4116 (rtems_gxx_mutex_destroy): Likewise.
4117 (rtems_gxx_mutex_lock): Likewise.
4118 (rtems_gxx_mutex_trylock): Likewise.
4119 (rtems_gxx_mutex_unlock): Likewise.
4120 (rtems_gxx_recursive_mutex_init): Likewise.
4121 (rtems_gxx_recursive_mutex_lock): Likewise.
4122 (rtems_gxx_recursive_mutex_trylock): Likewise.
4123 (rtems_gxx_recursive_mutex_unlock): Likewise.
4124 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4125 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4126 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4127 (__gthread_once): Likewise.
4128 (__gthread_key_create): Likewise.
4129 (__gthread_key_delete): Likewise.
4130 (__gthread_getspecific): Likewise.
4131 (__gthread_setspecific): Likewise.
4132 (__gthread_key_t): Use <pthread.h> type.
4133 (__gthread_once_t): Likewise
4134 (__gthread_mutex_t): Use <sys/lock.h> type.
4135 (__gthread_recursive_mutex_t): Likewise
4136 (__gthread_mutex_lock): Use <sys/lock.h> function.
4137 (__gthread_mutex_trylock): Likewise.
4138 (__gthread_mutex_timedlock): Likewise.
4139 (__gthread_mutex_unlock): Likewise.
4140 (__gthread_mutex_destroy): Likewise.
4141 (__gthread_recursive_mutex_lock): Likewise.
4142 (__gthread_recursive_mutex_trylock): Likewise.
4143 (__gthread_recursive_mutex_timedlock): Likewise.
4144 (__gthread_recursive_mutex_unlock): Likewise.
4145 (__gthread_recursive_mutex_destroy): Likewise.
4146
4147 2015-08-18 Max Filippov <jcmvbkbc (a] gmail.com>
4148
4149 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4150 context->sp instead of context->cfa.
4151
4152 2015-08-18 Max Filippov <jcmvbkbc (a] gmail.com>
4153
4154 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4155 with unwind-dw2-fde-dip.
4156
4157 2015-08-18 Max Filippov <jcmvbkbc (a] gmail.com>
4158
4159 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4160 CALL12 followed by series of ENTRY to spill windowed registers.
4161 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4162 instead of making linux spill syscall.
4163
4164 2015-08-14 Yuri Rumyantsev <ysrumyan (a] gmail.com>
4165
4166 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4167 (get_intel_cpu): Likewise.
4168
4169 2015-08-12 H.J. Lu <hongjiu.lu (a] intel.com>
4170
4171 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4172 (get_intel_cpu): Add Knights Landing support.
4173
4174 2015-08-11 Uros Bizjak <ubizjak (a] gmail.com>
4175
4176 PR target/66954
4177 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4178 (get_available_features): Handle FEATURE_PCLMUL.
4179
4180 2015-08-10 H.J. Lu <hongjiu.lu (a] intel.com>
4181
4182 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4183 Broadwell.
4184
4185 2015-07-22 Uros Bizjak <ubizjak (a] gmail.com>
4186
4187 PR target/66954
4188 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4189 (get_available_features): Handle FEATURE_AES.
4190
4191 2015-07-22 Chung-Lin Tang <cltang (a] codesourcery.com>
4192
4193 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4194 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4195
4196 2015-07-17 Nathan Sidwell <nathan (a] codesourcery.com>
4197
4198 * offloadstuff.c: Constify host data.
4199
4200 2015-07-17 Jan Beulich <jbeulich (a] suse.com>
4201
4202 * config/t-softfp: Split up "else ifneq".
4203
4204 2015-07-14 Sandra Loosemore <sandra (a] codesourcery.com>
4205 Cesar Philippidis <cesar (a] codesourcery.com>
4206 Chung-Lin Tang <cltang (a] codesourcery.com>
4207
4208 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4209 for __nios2_arch__ level.
4210
4211 2015-07-13 John Marino <gnugcc (a] marino.st>
4212
4213 * config/i386/t-dragonfly: New.
4214
4215 2015-07-01 John David Anglin <danglin (a] gcc.gnu.org>
4216
4217 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4218 better match light-weight syscall argument order.
4219 (__kernel_cmpxchg2): Likewise.
4220 Adjust callers.
4221
4222 2015-06-30 H.J. Lu <hongjiu.lu (a] intel.com>
4223
4224 * config.host: Support i[34567]86-*-elfiamcu target.
4225 * config/t-softfp-sfdftf: New file.
4226 * config/i386/32/t-iamcu: Likewise.
4227 * configure: Regenerated.
4228
4229 2015-06-23 James Lemke <jwlemke (a] codesourcery.com>
4230
4231 libgcc/config/arm/
4232 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4233
4234 2015-05-27 H.J. Lu <hongjiu.lu (a] intel.com>
4235
4236 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4237
4238 2015-05-27 John Marino <gnugcc (a] marino.st>
4239
4240 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4241 md_unwind_header
4242 * config/i386/freebsd-unwind.h: New.
4243
4244 2015-05-22 Uros Bizjak <ubizjak (a] gmail.com>
4245
4246 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4247 i386/t-crtfm to tmake_file.
4248 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4249 (set_fast_math): Use set_fast_math_sse for SSE targets.
4250 * config/i386/t-crtfm: Remove.
4251
4252 2015-05-21 Alan Modra <amodra (a] gmail.com>
4253
4254 PR libgcc/66225
4255 * config/rs6000/morestack.S: Remove ".abiversion 1".
4256
4257 2015-05-20 Alan Modra <amodra (a] gmail.com>
4258
4259 * config/rs6000/morestack.S: New.
4260 * config/rs6000/t-stack-rs6000: New.
4261 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4262 to tmake_file.
4263 * generic-morestack.c: Don't build for powerpc 32-bit.
4264
4265 2015-05-19 Eric Botcazou <ebotcazou (a] adacore.com>
4266
4267 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4268 Remove useless endif/ifneq ($(enable_shared),yes) pair.
4269
4270 2015-05-16 James Bowman <james.bowman (a] ftdichip.com>
4271
4272 * config.host: FT32 target added.
4273 * config/ft32/*: New files for FT32 target.
4274
4275 2015-05-15 Martin Galvan <martin.galvan (a] tallertechnologies.com>
4276
4277 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4278 New macros.
4279 * config/arm/ieee754-df.S: Add CFI directives.
4280 * config/arm/ieee754-sf.S: Add CFI directives.
4281
4282 2015-05-13 Eric Botcazou <ebotcazou (a] adacore.com>
4283
4284 * configure.ac: Include config/sjlj.m4.
4285 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4286 * config.in: Regenerate.
4287 * configure: Likewise.
4288 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4289
4290 2015-05-12 Uros Bizjak <ubizjak (a] gmail.com>
4291
4292 * libgcov-util.c: Add space between string literal and macro name.
4293
4294 2015-05-06 Sandra Loosemore <sandra (a] codesourcery.com>
4295 Chris Jones <chrisj (a] nvidia.com>
4296 Joshua Conner <jconner (a] nvidia.com>
4297
4298 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4299 (arm*-*-uclinux*): Likewise.
4300 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4301 * config/arm/crtfastmath.c: New file.
4302
4303 2014-04-29 Bernd Schmidt <bernds (a] codesourcery.com>
4304
4305 * Makefile.in (real_host_noncanonical): New variable.
4306 (libsubdir): Use it.
4307 * configure.ac (real_host_noncanonical): Compute. Remove special
4308 case for intelmicemul.
4309 * configure: Regenerate.
4310
4311 2015-04-28 Uros Bizjak <ubizjak (a] gmail.com>
4312
4313 * config/frv/elf-lib.h: New file.
4314 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4315 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4316 to tm_file.
4317
4318 2015-04-28 Uros Bizjak <ubizjak (a] gmail.com>
4319
4320 * config/frv/frvbengin.c: Do not include defaults.h
4321 * config/frv/frvend.c: Ditto.
4322
4323 2015-04-27 Yoshinori Sato <ysato (a] users.sourceforge.jp>
4324
4325 * config.host: Add h8300-*-linux
4326 * config/h8300/t-linux: New file.
4327 * config/h8300/lib1funs.s: Change symbol prefix.
4328 * config/h8300/sfp-machine.h: 64bit double support.
4329
4330 2015-04-22 Gregor Richards <gregor.richards (a] uwaterloo.ca>
4331 Szabolcs Nagy <szabolcs.nagy (a] arm.com>
4332
4333 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4334 Linux if target provides dl_iterate_phdr.
4335
4336 2015-04-17 H.J. Lu <hongjiu.lu (a] intel.com>
4337
4338 PR target/65612
4339 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4340 * config/i386/cpuinfo.c (__cpu_model): Initialize.
4341 (__cpu_indicator_init (a] GCC_4.8.0): New.
4342 (__cpu_model (a] GCC_4.8.0): Likewise.
4343 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4344 -DUSE_ELF_SYMVER.
4345
4346 2015-04-16 Nick Clifton <nickc (a] redhat.com>
4347
4348 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4349 and __modhi3 functions.
4350 * config/rl78/divmodso.S: Add G14 and G13 versions of the
4351 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4352
4353 2015-04-15 Chen Gang <gang.chen.5i5j (a] gmail.com>
4354
4355 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4356 do-while loop as macro body to avoid warnings.
4357
4358 2015-04-10 Jakub Jelinek <jakub (a] redhat.com>
4359 Iain Sandoe <iain (a] codesourcery.com>
4360
4361 PR target/65351
4362 * configure: Regenerate.
4363
4364 2015-04-07 Jakub Jelinek <jakub (a] redhat.com>
4365 Iain Sandoe <iain (a] codesourcery.com>
4366
4367 PR target/65351
4368 * configure: Regenerate.
4369
4370 2015-03-25 Chung-Lin Tang <cltang (a] codesourcery.com>
4371
4372 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4373
4374 2015-03-03 Max Filippov <jcmvbkbc (a] gmail.com>
4375
4376 Implement call0 ABI for xtensa
4377 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4378 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4379 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4380 use ret in call0 ABI.
4381 * config/xtensa/t-windowed: New file.
4382 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4383 * libgcc/configure: Regenerated.
4384 * libgcc/configure.ac: Check if xtensa target is configured for
4385 windowed ABI and thus needs to use custom unwind code.
4386
4387 2015-02-12 Jonathan Wakely <jwakely (a] redhat.com>
4388
4389 PR libgcc/64885
4390 * gthr-single.h: Use __unused__ attribute instead of unused.
4391 * config/gthr-vxworks.h: Likewise.
4392 * config/i386/gthr-win32.h: Likewise.
4393
4394 2015-02-27 Kai Tietz <ktietz (a] redhat.com>
4395
4396 PR target/65038
4397 * config.in: Regenerated.
4398 * configure: Likewise.
4399 * configure.ac (AC_HEADER_STDC): Added explicit.
4400 (AC_CHECK_HEADERS): Check for default headers plus
4401 for ftw.h header.
4402 * libgcov-util.c (gcov_read_profile_dir): Disable use
4403 of ftw-function, if header is not found.
4404 (ftw_read_file): Likewise.
4405
4406 2015-02-23 Thomas Schwinge <thomas (a] codesourcery.com>
4407
4408 PR target/65181
4409 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4410 -Dinhibit_libc.
4411
4412 2015-02-17 Sandra Loosemore <sandra (a] codesourcery.com>
4413
4414 * config/arm/bpabi.S (test_div_by_zero): Make label names
4415 consistent between thumb2 and arm mode cases. Separate the
4416 signed comparison on the high word of the numerator from the
4417 unsigned comparison on the low word.
4418 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4419 signed comparison.
4420
4421 2015-02-17 Joseph Myers <joseph (a] codesourcery.com>
4422
4423 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4424 and <string.h>.
4425 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4426
4427 2015-02-10 Rainer Emrich <rainer (a] emrich-ebersheim.de>
4428
4429 PR gcov-profile/61889
4430 * libgcov-driver-system.c: undefine clashing macro for mkdir.
4431
4432 2015-02-02 Nick Clifton <nickc (a] redhat.com>
4433
4434 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4435 rounding up the fraction.
4436
4437 2015-01-31 John David Anglin <danglin (a] gcc.gnu.org>
4438
4439 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4440 oldval and newval to const void *. Fix typo.
4441 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4442 (FETCH_AND_OP_WORD): Likewise.
4443 (OP_AND_FETCH_WORD): Likewise.
4444 (COMPARE_AND_SWAP_2): Likewise.
4445 (__sync_val_compare_and_swap_4): Likewise.
4446 (__sync_lock_test_and_set_4): Likewise.
4447 (SYNC_LOCK_RELEASE_2): Likewise.
4448 Remove support for long long atomic operations.
4449
4450 2015-01-27 Caroline Tice <cmtice (a] google.com>
4451
4452 Committing VTV Cywin/Ming patch for Patrick Wollgast
4453 * Makefile.in: Move rules to build vtv_*.o out of the check
4454 for CUSTOM_CRTSTUFF.
4455 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4456 i[34567]86-*-mingw*)
4457 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4458 enable_vtable_verify.
4459
4460 2015-01-27 Nick Clifton <nickc (a] redhat.com>
4461
4462 * config/rl78/cmpsi2.S: Use function start and end macros.
4463 (__gcc_bcmp): New function.
4464 * config/rl78/lshrsi3.S: Use function start and end macros.
4465 * config/rl78/mulsi3.S: Add support for G10.
4466 (__mulqi3): New function for G10.
4467 * config/rl78/signbit.S: Use function start and end macros.
4468 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4469 fpmath-sf.S.
4470 (LIB2FUNCS_EXCLUDE): Define.
4471 (LIB2FUNCS_ST): Define.
4472 * config/rl78/trampoline.S: Use function start and end macros.
4473 * config/rl78/vregs.h (START_FUNC): New macro.
4474 (START_ANOTHER_FUNC): New macro.
4475 (END_FUNC): New macro.
4476 (END_ANOTHER_FUNC): New macro.
4477 * config/rl78/bit-count.S: New file. Contains assembler
4478 implementations of the bit counting functions: ___clzhi2,
4479 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4480 __paritysi2, __popcounthi2 and __popcountsi2.
4481 * config/rl78/fpbit-sf.S: New file. Contains assembler
4482 implementationas of the math functions: __negsf2, __cmpsf2,
4483 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4484 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
4485 * config/rl78/fpmath-sf.S: New file. Contains assembler
4486 implementations of the math functions: __subsf3, __addsf3,
4487 __mulsf3 and __divsf3
4488
4489 2015-01-27 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
4490
4491 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4492 Add i386/elf-lib.h to tm_file.
4493 * config/i386/elf-lib.h: Fix comment.
4494 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4495 && __sun__ && __svr4__]: Remove workaround.
4496
4497 2015-01-25 Allan Sandfeld Jensen <sandfeld (a] kde.org>
4498
4499 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4500 FEATURE_BMI2.
4501 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4502
4503 2015-01-24 H.J. Lu <hongjiu.lu (a] intel.com>
4504
4505 * config/i386/cpuinfo.c (processor_subtypes): Add
4506 INTEL_COREI7_BROADWELL.
4507 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4508 model numbers.
4509
4510 2015-01-23 Uros Bizjak <ubizjak (a] gmail.com>
4511
4512 * config/i386/elf-lib.h: New file.
4513 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4514 Wrap definition in #ifdef __i386__.
4515 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4516 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4517 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4518 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4519 to tm_file.
4520
4521 2015-01-22 Chen Gang <gang.chen.5i5j (a] gmail.com>
4522
4523 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4524 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4525
4526 2015-01-20 Chung-Lin Tang <cltang (a] codesourcery.com>
4527
4528 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4529 Update rt_sigframe format and address for current Nios II
4530 Linux conventions.
4531
4532 2015-01-09 Andreas Tobler <andreast (a] gcc.gnu.org>
4533
4534 * config.host (arm*-*-freebsd*): Add new configuration for
4535 arm*-*-freebsd*.
4536 * config/arm/freebsd-atomic.c: New file.
4537 * config/arm/t-freebsd: Likewise.
4538 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4539 'PC-relative indirect' OS's.
4540
4541 2015-01-06 Eric Botcazou <ebotcazou (a] adacore.com>
4542
4543 * config.host: Add Visium support.
4544 * config/visium: New directory.
4545
4546 2015-01-05 Jakub Jelinek <jakub (a] redhat.com>
4547
4548 Update copyright years.
4549
4550 2014-12-19 Matthew Fortune <matthew.fortune (a] imgtec.com>
4551
4552 * config.host: Support mipsisa32r6 and mipsisa64r6.
4553 * config/mips/mips16.S: Do not build for R6.
4554
4555 2014-12-17 Oleg Endo <olegendo (a] gcc.gnu.org>
4556
4557 * config/sh/crt.h: New.
4558 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4559 symbols.
4560 * config/sh/crt1.S: Likewise.
4561
4562 2014-12-15 Uros Bizjak <ubizjak (a] gmail.com>
4563
4564 PR libgcc/63832
4565 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4566 func_ptr *dtor_list temporary variable to avoid "array subscript
4567 is above array bounds" warnings.
4568
4569 2014-12-09 Michael Haubenwallner <michael.haubenwallner (a] ssi-schaefer.com>
4570
4571 * Makefile.in (with_aix_soname): Define.
4572 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4573 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4574 * configure: Recreate.
4575
4576 2014-12-05 Olivier Hainque <hainque (a] adacore.com>
4577
4578 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4579 now provided by defaults.h.
4580
4581 2014-11-30 Oleg Endo <olegendo (a] gcc.gnu.org>
4582
4583 PR target/55351
4584 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4585 whether it's defined.
4586
4587 2014-11-27 Ilya Tocar <ilya.tocar (a] intel.com>
4588
4589 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4590 * config/i386/cpuinfo.c (get_available_features): Detect it.
4591
4592 2014-11-27 Tony Wang <tony.wang (a] arm.com>
4593
4594 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4595 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4596 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4597
4598 2014-11-25 Segher Boessenkool <segher (a] kernel.crashing.org>
4599
4600 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4601
4602 2014-11-24 John David Anglin <danglin (a] gcc.gnu.org>
4603
4604 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4605 instead.
4606
4607 2014-11-21 Guy Martin <gmsoft (a] tuxicoman.be>
4608 John David Anglin <danglin (a] gcc.gnu.org>
4609
4610 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4611 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4612 (OP_AND_FETCH_2): Likewise.
4613 (COMPARE_AND_SWAP_2): Likewise.
4614 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4615 (SYNC_LOCK_RELEASE_2): Likewise.
4616 (SUBWORD_SYNC_OP): Remove.
4617 (SUBWORD_VAL_CAS): Likewise.
4618 (SUBWORD_BOOL_CAS): Likewise.
4619 (FETCH_AND_OP_WORD): Update.
4620 Consistently use signed types.
4621
4622 2014-11-13 Bernd Schmidt <bernds (a] codesourcery.com>
4623 Thomas Schwinge <thomas (a] codesourcery.com>
4624 Ilya Verbin <ilya.verbin (a] intel.com>
4625 Andrey Turetskiy <andrey.turetskiy (a] intel.com>
4626
4627 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4628 (crtoffloadend$(objext)): Likewise.
4629 * configure: Regenerate.
4630 * configure.ac (accel_dir_suffix): Compute new variable.
4631 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4632 if enable_offload_targets is not empty.
4633 * offloadstuff.c: New file.
4634
4635 2014-11-13 Nick Clifton <nickc (a] redhat.com>
4636
4637 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4638 Use START_FUNC and END_FUNC macros to enable linker garbage
4639 collection.
4640 * config/rl78/divmodqi.S: Likewise.
4641 * config/rl78/divmodsi.S: Likewise.
4642 * config/rl78/mulsi3.S: Likewise.
4643 * config/rl78/lib2div.c: Remove G10 functions.
4644 * config/rl78/lib2muls.c: Likewise.
4645 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4646 * config/rl78/vregs.h (START_FUNC): New macro.
4647 (END_FUNC): New macro.
4648
4649 2014-11-12 Matthew Fortune <matthew.fortune (a] imgtec.com>
4650
4651 * config/mips/mips16.S: Set .module when supported. Update O32
4652 FP64 calling convention and use for FPXX when possible. Add FPXX
4653 calling convention fallback case.
4654
4655 2014-11-06 Bernd Schmidt <bernds (a] codesourcery.com>
4656
4657 * config.host: Handle nvptx-*-*.
4658 * shared-object.mk (as-flags-$o): Define.
4659 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4660 -xassembler-with-cpp.
4661 * static-object.mk: Identical changes.
4662 * config/nvptx/t-nvptx: New file.
4663 * config/nvptx/crt0.s: New file.
4664 * config/nvptx/free.asm: New file.
4665 * config/nvptx/malloc.asm: New file.
4666 * config/nvptx/realloc.c: New file.
4667
4668 2014-10-30 Joseph Myers <joseph (a] codesourcery.com>
4669
4670 * Makefile.in (libgcc.map.in): New target.
4671 (libgcc.map): Use libgcc.map.in.
4672 * config/t-softfp (softfp_compat): New variable to be set by
4673 users.
4674 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4675 variables.
4676 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4677 directory.
4678 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4679 that use compat symbols and disable all code unless [SHARED].
4680 * config/t-softfp-compat: New file.
4681 * find-symver.awk: New file.
4682 * configure.ac (--with-glibc-version): New configure option.
4683 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4684 * configure: Regenerate.
4685 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4686 soft-float and e500.
4687
4688 2014-10-29 Joseph Myers <joseph (a] codesourcery.com>
4689
4690 * config/t-hardfp (hardfp_exclusions): Document new variable for
4691 user to define.
4692 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4693 * config/t-softfp (softfp_extras): Document new variable for user
4694 to define.
4695 (softfp_func_list): Add functions from $(softfp_extras).
4696 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4697 * config.host (powerpc*-*-linux*): For e500v1, use
4698 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4699 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4700 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4701
4702 2014-10-26 John David Anglin <danglin (a] gcc.gnu.org>
4703
4704 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4705 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4706 memory read accesses are ok.
4707
4708 2014-10-25 Joseph Myers <joseph (a] codesourcery.com>
4709
4710 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4711 * configure: Regenerate.
4712 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4713 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4714 of soft-fp for 32-bit classic hard float. Do not use
4715 t-softfp-excl for soft float.
4716
4717 2014-10-22 Joseph Myers <joseph (a] codesourcery.com>
4718
4719 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4720 configurations.
4721 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4722 Remove variables.
4723
4724 2014-10-22 Georg-Johann Lay <avr (a] gjlay.de>
4725
4726 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4727 introduced with 2014-10-21 trunk r216525.
4728
4729 2014-10-21 Joern Rennecke <joern.rennecke (a] embecosm.com>
4730 Vidya Praveen <vidya.praveen (a] atmel.com>
4731 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik (a] atmel.com>
4732 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj (a] atmel.com>
4733 Pitchumani Sivanupandi <Pitchumani.S (a] atmel.com>
4734
4735 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4736 order.
4737
4738 Updated library functions for AVRTINY arch.
4739 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4740 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4741 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4742 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4743 wsubi/wadi macors.
4744 (__mulsi3_helper): Update stack, preserve callee saved regs and
4745 argument from stack. Restore callee save registers.
4746 (__mulpsi3): Likewise.
4747 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4748 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
4749 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
4750 AVRTINY.
4751 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4752 (__do_copy_data): Added new definition for AVRTINY.
4753 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4754 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4755 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4756 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4757 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4758 macors.
4759 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
4760 AVRTINY.
4761
4762 Fix broken long multiplication on tiny arch.
4763
4764 2014-10-09 Joseph Myers <joseph (a] codesourcery.com>
4765
4766 * soft-fp/double.h: Update from glibc.
4767 * soft-fp/eqdf2.c: Likewise.
4768 * soft-fp/eqsf2.c: Likewise.
4769 * soft-fp/eqtf2.c: Likewise.
4770 * soft-fp/extenddftf2.c: Likewise.
4771 * soft-fp/extended.h: Likewise.
4772 * soft-fp/extendsfdf2.c: Likewise.
4773 * soft-fp/extendsftf2.c: Likewise.
4774 * soft-fp/extendxftf2.c: Likewise.
4775 * soft-fp/gedf2.c: Likewise.
4776 * soft-fp/gesf2.c: Likewise.
4777 * soft-fp/getf2.c: Likewise.
4778 * soft-fp/ledf2.c: Likewise.
4779 * soft-fp/lesf2.c: Likewise.
4780 * soft-fp/letf2.c: Likewise.
4781 * soft-fp/op-1.h: Likewise.
4782 * soft-fp/op-2.h: Likewise.
4783 * soft-fp/op-4.h: Likewise.
4784 * soft-fp/op-8.h: Likewise.
4785 * soft-fp/op-common.h: Likewise.
4786 * soft-fp/quad.h: Likewise.
4787 * soft-fp/single.h: Likewise.
4788 * soft-fp/soft-fp.h: Likewise.
4789 * soft-fp/unorddf2.c: Likewise.
4790 * soft-fp/unordsf2.c: Likewise.
4791 * soft-fp/unordtf2.c: Likewise.
4792 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4793 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4794 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4795 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4796 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4797 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4798 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4799 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4800 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4801 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4802
4803 2014-10-08 Rong Xu <xur (a] google.com>
4804
4805 * libgcov-util.c (read_gcda_file): Fix format.
4806 (find_match_gcov_info): Ditto.
4807 (calculate_2_entries): New.
4808 (compute_one_gcov): Ditto.
4809 (gcov_info_count_all_cold): Ditto.
4810 (gcov_info_count_all_zero): Ditto.
4811 (extract_file_basename): Ditto.
4812 (get_file_basename): Ditto.
4813 (set_flag): Ditto.
4814 (matched_gcov_info): Ditto.
4815 (calculate_overlap): Ditto.
4816 (gcov_profile_overlap): Ditto.
4817 * libgcov-driver.c (compute_summary): Make
4818 it avavilable for external calls.
4819
4820 2014-10-06 Rong Xu <xur (a] google.com>
4821
4822 * Makefile.in: Ditto.
4823 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4824 (gcov_sort_icall_topn_counter): Ditto.
4825 (gcov_sort_topn_counter_arrays): Ditto.
4826 (dump_one_gcov): Sort indirect_call topn counters.
4827 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4828 function.
4829 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4830 utility function.
4831 (__gcov_indirect_call_topn_profiler): New profiler function.
4832 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4833 * libgcov.h: New decls.
4834
4835 2014-10-04 Trevor Saunders <tsaunders (a] mozilla.com>
4836
4837 * config.host: Remove support for score-*.
4838
4839 2014-09-22 Joseph Myers <joseph (a] codesourcery.com>
4840
4841 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4842 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4843 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4844 __LIBGCC_XF_MANT_DIG__.
4845 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4846 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4847 __LIBGCC_TF_MANT_DIG__.
4848 * libgcc2.c (NOTRUNC): Define in terms of
4849 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4850 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4851
4852 2014-09-22 Joseph Myers <joseph (a] codesourcery.com>
4853
4854 PR target/63312
4855 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4856 New macros.
4857
4858 2014-09-22 Hans-Peter Nilsson <hp (a] axis.com>
4859
4860 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4861 override USE_PT_GNU_EH_FRAME.
4862 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4863 check USE_EH_FRAME_REGISTRY_ALWAYS against
4864 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4865 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4866 variable for substituted force_explicit_eh_registry.
4867 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4868 * configure.ac (explicit-exception-frame-registration):
4869 New AC_ARG_ENABLE.
4870 * configure: Regenerate.
4871
4872 2014-09-19 Olivier Hainque <hainque (a] adacore.com>
4873
4874 * config.host (powerpc-wrs-vxworksmils): New configuration,
4875 same as vxworksae.
4876
4877 2014-09-18 Joseph Myers <joseph (a] codesourcery.com>
4878
4879 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4880
4881 2014-09-18 Joseph Myers <joseph (a] codesourcery.com>
4882
4883 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4884 bits not set bits as indicating trapping exceptions.
4885
4886 2014-09-17 Nathan sidwell <nathan (a] acm.org>
4887
4888 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4889 (LIBGCOV_DRIVER): ... here.
4890 * libgcov-driver.c (gcov_master): New.
4891 (gcov_exit): Remove from master chain.
4892 (__gcov_init): Add to master chain if version compatible. Don't
4893 clear the version.
4894 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4895 (gcov_reset_int): Clear master chain, if compatible.
4896 (gcov_dump_int): New internal interface. Dump master chain, if
4897 compatible.
4898 (gcov_dump): Alias for gcov_dump_int.
4899 * libgcov.h (struct gcov_root): Add next and prev fields.
4900 (struct gcov_master): New struct.
4901 (__gcov_master): New.
4902 (gcov_dump_int): Declare.
4903
4904 2014-09-17 Olivier Hainque <hainque (a] adacore.com>
4905
4906 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4907 and crtbegin.o + crtend.o to extra_parts.
4908
4909 2014-09-12 Joseph Myers <joseph (a] codesourcery.com>
4910
4911 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4912 __LIBGCC_HAS_SF_MODE__.
4913 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4914 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4915 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4916 * config/libbid/bid_gcc_intrinsics.h
4917 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4918 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4919 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4920 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4921 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4922 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4923
4924 2014-09-11 Georg-Johann Lay <avr (a] gjlay.de>
4925
4926 PR target/63223
4927 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4928 and R24 as needed. Make work for all devices and .text locations.
4929 (__do_global_ctors, __do_global_dtors): Use word addresses.
4930 (__tablejump__, __tablejump_elpm__): Remove functions.
4931 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4932 Add _tablejump2.
4933 (XICALL, XIJMP): New macros.
4934
4935 2014-09-09 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
4936 Ramana Radhakrishnan <ramana.radhakrishnan (a] arm.com>
4937
4938 * config.host (aarch64*): Include crtfastmath.o and
4939 t-crtfm.
4940 * config/aarch64/crtfastmath.c: New file.
4941
4942 2014-09-08 Trevor Saunders <tsaunders (a] mozilla.com>
4943
4944 * config.host: Remove picochip support.
4945 * config/picochip/adddi3.S: Remove.
4946 * config/picochip/ashlsi3.S: Remove.
4947 * config/picochip/ashlsi3.c: Remove.
4948 * config/picochip/ashrsi3.S: Remove.
4949 * config/picochip/ashrsi3.c: Remove.
4950 * config/picochip/clzsi2.S: Remove.
4951 * config/picochip/cmpsi2.S: Remove.
4952 * config/picochip/divmod15.S: Remove.
4953 * config/picochip/divmodhi4.S: Remove.
4954 * config/picochip/divmodsi4.S: Remove.
4955 * config/picochip/lib1funcs.S: Remove.
4956 * config/picochip/longjmp.S: Remove.
4957 * config/picochip/lshrsi3.S: Remove.
4958 * config/picochip/lshrsi3.c: Remove.
4959 * config/picochip/parityhi2.S: Remove.
4960 * config/picochip/popcounthi2.S: Remove.
4961 * config/picochip/setjmp.S: Remove.
4962 * config/picochip/subdi3.S: Remove.
4963 * config/picochip/t-picochip: Remove.
4964 * config/picochip/ucmpsi2.S: Remove.
4965 * config/picochip/udivmodhi4.S: Remove.
4966 * config/picochip/udivmodsi4.S: Remove.
4967
4968 2014-09-08 Joseph Myers <joseph (a] codesourcery.com>
4969
4970 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4971 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4972 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4973 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4974 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4975 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4976 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4977 defined and LIBGCC2_HAS_DF_MODE is defined.
4978 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4979 defined and LIBGCC2_HAS_XF_MODE is defined.
4980 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4981 defined and LIBGCC2_HAS_TF_MODE is defined.
4982
4983 2014-09-08 Joseph Myers <joseph (a] codesourcery.com>
4984
4985 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4986 and ROUND_TOWARDS_ZERO conditionals.
4987
4988 2014-09-07 Nathan sidwell <nathan (a] acm.org>
4989
4990 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4991 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4992
4993 2014-09-05 Joseph Myers <joseph (a] codesourcery.com>
4994
4995 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4996 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4997 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4998 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4999 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5000 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5001 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5002 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5003 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5004 (DWARF_FRAME_REGISTERS): Change all uses to
5005 __LIBGCC_DWARF_FRAME_REGISTERS__.
5006 (EH_RETURN_STACKADJ_RTX): Change all uses to
5007 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5008 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5009 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
5010 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5011 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5012 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5013 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5014 to __LIBGCC_EH_FRAME_SECTION_NAME__.
5015 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5016 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5017 __LIBGCC_STACK_POINTER_REGNUM__.
5018 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5019 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5020 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5021 to __LIBGCC_STACK_POINTER_REGNUM__.
5022 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5023 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5024 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5025 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5026 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5027 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5028 (STACK_POINTER_REGNUM): Change all uses to
5029 __LIBGCC_STACK_POINTER_REGNUM__.
5030 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5031 use to __LIBGCC_STACK_POINTER_REGNUM__.
5032 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5033 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5034 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5035 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5036 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5037 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5038 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5039 to __LIBGCC_STACK_POINTER_REGNUM__.
5040 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5041 Remove conditional definition.
5042 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5043 __LIBGCC_TEXT_SECTION_ASM_OP__.
5044 (EH_FRAME_SECTION_NAME): Change all uses to
5045 __LIBGCC_EH_FRAME_SECTION_NAME__.
5046 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5047 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5048 (CTORS_SECTION_ASM_OP): Change all uses to
5049 __LIBGCC_CTORS_SECTION_ASM_OP__.
5050 (DTORS_SECTION_ASM_OP): Change all uses to
5051 __LIBGCC_DTORS_SECTION_ASM_OP__.
5052 (JCR_SECTION_NAME): Change all uses to
5053 __LIBGCC_JCR_SECTION_NAME__.
5054 (INIT_SECTION_ASM_OP): Change all uses to
5055 __LIBGCC_INIT_SECTION_ASM_OP__.
5056 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5057 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5058 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5059 __LIBGCC_STACK_GROWS_DOWNWARD__.
5060 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5061 __LIBGCC_INIT_SECTION_ASM_OP__.
5062 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5063 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5064 (EH_FRAME_SECTION_NAME): Change all uses to
5065 __LIBGCC_EH_FRAME_SECTION_NAME__.
5066 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5067 definitions. Change all uses to
5068 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5069 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5070 __LIBGCC_STACK_GROWS_DOWNWARD__.
5071 (DWARF_FRAME_REGISTERS): Change all uses to
5072 __LIBGCC_DWARF_FRAME_REGISTERS__.
5073 (EH_RETURN_STACKADJ_RTX): Change all uses to
5074 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5075 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5076 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5077 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5078 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5079 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5080
5081 2014-09-02 Nathan sidwell <nathan (a] acm.org>
5082
5083 * libgcov-interface.c (STRONG_ALIAS): New.
5084 (__gcov_flush): Call __gcov_reset_int.
5085 (__gcov_reset): Strong alias for ...
5086 (__gcov_reset_ing): ... this renamed hidden version.
5087 * libgcov.h (__gcov_reset_int): New declaration.
5088
5089 2014-08-19 Yaakov Selkowitz <yselkowi (a] redhat.com>
5090
5091 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5092 call from here...
5093 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5094 (__dso_handle): Define on Cygwin.
5095 * config/i386/t-cygming (crtbeginS.o): New rule.
5096 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5097
5098 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5099 declaration syntax.
5100
5101 2014-08-13 Steve Ellcey <sellcey (a] mips.com>
5102
5103 * crtstuff.c: Undef caddr_t.
5104
5105 2014-08-12 Steve Ellcey <sellcey (a] mips.com>
5106
5107 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
5108
5109 2014-08-07 Nathan Sidwell <nathan (a] acm.org>
5110
5111 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5112 (LIBGCOV_DRIVER): ... to here.
5113 * libgcov.h (gcov_do_dump): New #define.
5114 (struct gcov_root): New.
5115 (__gcov_root): New declaration.
5116 (__gcov_dump_one): Declare.
5117 * libgcov-driver.c (gcov_list, gcov_dump_complete,
5118 run_accounted): Delete.
5119 (gcov_compute_histogram): Add LIST argument, adjust.
5120 (compute_summary): Adjust gcov_compute_histogram call.
5121 (gcov_do_dump): Not hidden, static in libgcov.
5122 (gcov_clear): Move to interface.c.
5123 (__gcov_dump_one): New, broken out of ...
5124 (gcov_exit): ... here. Make static.
5125 (__gcov_root): New.
5126 (__gcov_init): Adjust.
5127 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5128 declarations.
5129 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5130 (gcov_clear): Moved from driver.c. Add LIST argument.
5131 (__gcov_reset): Adjust for changed interfaces.
5132 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5133
5134 2014-08-04 Rohit <rohitarulraj (a] freescale.com>
5135
5136 PR target/60102
5137 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
5138 based on change in SPE high register numbers and 3 HTM registers.
5139
5140 2014-08-01 Nathan Sidwell <nathan (a] acm.org>
5141
5142 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5143 LIBGCOV_INTERFACE): Reformat.
5144 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5145 IN_GCOV_TOOL.
5146 * libgcov-interface.c: Reformat some comments.
5147 (__gcov_flush_mx): Add declaration. Tidy up definition.
5148
5149 2014-07-31 Alan Modra <amodra (a] gmail.com>
5150 Peter Bergner <bergner (a] vnet.ibm.com>
5151
5152 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5153 (pack_ldouble): New function.
5154 (__gcc_qadd): Use it.
5155 (__gcc_qmul): Likewise.
5156 (__gcc_qdiv): Likewise.
5157 (__gcc_qneg): Likewise.
5158 (__gcc_stoq): Likewise.
5159 (__gcc_dtoq): Likewise.
5160
5161 2014-07-30 J. D. Johnston <jjohnst (a] us.ibm.com>
5162
5163 * config/s390/tpf-unwind.h: Include <stdbool.h>.
5164 (__tpf_eh_return): Add original return address as second parameter.
5165 Handle cases where unwinder routines were called directly, instead
5166 of from within the C++ library.
5167
5168 2014-07-29 Nathan Sidwell <nathan (a] acm.org>
5169
5170 * libgcov.h: Move renaming of entry points to lib gcov specific
5171 portion.
5172 (gcov_do_dump): New rename.
5173 (gcov_rewrite): Remove inline, make HIDDEN.
5174 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5175 (gcov_exit_compute_summary): Rename to ...
5176 (compute_summary): ... here. Add LIST argument.
5177 (gcov_exit_merge_gcda): Rename to ...
5178 (merge_one_data): ... here.
5179 (gcov_exit_write_gcda): Rename to ...
5180 (write_one_data): ... here.
5181 (gcov_exit_merge_summary): Rename to ...
5182 (merge_summary): Add RUN_COUNTED argument.
5183 (gcov_exit_dump_gcov): Rename to ...
5184 (dump_one_gcov): Add RUN_COUNTED argument.
5185 (gcov_do_dump): New function, broken out of ...
5186 (gcov_exit): ... here. Call it.
5187
5188 2014-07-27 Anthony Green <green (a] moxielogic.com>
5189
5190 * config.host: Add moxiebox configuration suppport.
5191
5192 2014-07-27 Nathan Sidwell <nathan (a] acm.org>
5193
5194 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5195 (struct gcov_filename): ... here. Include buffer and max length
5196 fields.
5197 (gcov_max_filename): Remove.
5198 (gi_filename): Remove.
5199 (gcov_exit_compute_summary): Compute max filename here.
5200 (gcov_exit_merge_gcda): Add filename parm, adjust.
5201 (gcov_exit_merge_summary): Likewise.
5202 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5203 (gcov_exit): Likewise.
5204 (__gcov_init): Don't calculate max length here.
5205 * libgcov_util.c (max_filename_len): Remove.
5206 (read_gcda_file): Don't calculate max length here.
5207 (gcov_read_profile_dir): Don't propagate here.
5208 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5209 struct gcov_filename changes.
5210 (gcov_exit_open_gcda_file): Likewise.
5211
5212 2014-07-25 Nathan Sidwell <nathan (a] acm.org>
5213
5214 * libgcov-driver.c (set_gcov_dump_complete,
5215 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5216 functions polluting user's namespace.
5217 (gcov_exit): Set variable directly.
5218 (gcov_clear): Reset variable directly.
5219 * libgcov-interface.c (get_gcov_dymp_complete,
5220 reset_gov_dump_complete): Remove declarations.
5221 (__gcov_reset, __gcov_dump): Don't call them.
5222
5223 2014-07-24 DJ Delorie <dj (a] redhat.com>
5224
5225 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5226 (__gcc_deregister_frame): Move logic to detect deregister function
5227 to ...
5228 (__gcc_register_frame): here, so it's consistent with the register
5229 logic.
5230
5231 2014-07-23 Nathan Sidwell <nathan (a] acm.org>
5232
5233 * libgcov-driver.c (set_gcov_list): Remove.
5234 (gcov_list): Make non-static in GCOV_TOOL.
5235 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5236
5237 2014-07-17 John David Anglin <danglin (a] gcc.gnu.org>
5238
5239 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5240 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5241 Don't use SYNC_LOCK_RELEASE for int type.
5242
5243 2014-07-14 Richard Biener <rguenther (a] suse.de>
5244
5245 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5246
5247 2014-07-11 Rong Xu <xur (a] google.com>
5248
5249 * libgcov-util.c (gcov_max_filename): Fix declartion.
5250
5251 2014-07-10 Rong Xu <xur (a] google.com>
5252
5253 Add gcov-tool: an offline gcda profile processing tool
5254 Support.
5255 * libgcov-driver.c (gcov_max_filename): Make available
5256 to gcov-tool.
5257 * libgcov-merge.c (__gcov_merge_add): Replace
5258 gcov_read_counter() with a Macro.
5259 (__gcov_merge_ior): Ditto.
5260 (__gcov_merge_time_profile): Ditto.
5261 (__gcov_merge_single): Ditto.
5262 (__gcov_merge_delta): Ditto.
5263 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5264 in the utility functions.
5265 (set_fn_ctrs): Utility function for reading gcda files to in-memory
5266 gcov_list object link lists.
5267 (tag_function): Ditto.
5268 (tag_blocks): Ditto.
5269 (tag_arcs): Ditto.
5270 (tag_lines): Ditto.
5271 (tag_counters): Ditto.
5272 (tag_summary): Ditto.
5273 (read_gcda_finalize): Ditto.
5274 (read_gcda_file): Ditto.
5275 (ftw_read_file): Ditto.
5276 (read_profile_dir_init): Ditto.
5277 (gcov_read_profile_dir): Ditto.
5278 (gcov_read_counter_mem): Ditto.
5279 (gcov_get_merge_weight): Ditto.
5280 (merge_wrapper): A wrapper function that calls merging handler.
5281 (gcov_merge): Merge two gcov_info objects with weights.
5282 (find_match_gcov_info): Find the matched gcov_info in the list.
5283 (gcov_profile_merge): Merge two gcov_info object lists.
5284 (__gcov_add_counter_op): Process edge profile counter values.
5285 (__gcov_ior_counter_op): Process IOR profile counter values.
5286 (__gcov_delta_counter_op): Process delta profile counter values.
5287 (__gcov_single_counter_op): Process single profile counter values.
5288 (fp_scale): Callback function for float-point scaling.
5289 (int_scale): Callback function for integer fraction scaling.
5290 (gcov_profile_scale): Scaling profile counters.
5291 (gcov_profile_normalize): Normalize profile counters.
5292 * libgcov.h: Add headers and functions for gcov-tool use.
5293 (gcov_get_counter): New.
5294 (gcov_get_counter_target): Ditto.
5295 (struct gcov_info): Make the functions field mutable in gcov-tool
5296 compilation.
5297
5298 2014-06-23 Kai Tietz <ktietz (a] redhat.com>
5299
5300 PR libgcc/61585
5301 * unwind-seh.c (_Unwind_GetGR): Check for proper
5302 index range.
5303 (_Unwind_SetGR): Likewise.
5304
5305 2014-05-22 Nick Clifton <nickc (a] redhat.com>
5306
5307 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5308 -mhwmult=none.
5309
5310 2014-05-22 Teresa Johnson <tejohnson (a] google.com>
5311
5312 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5313 include.
5314
5315 2014-05-20 John Marino <gnugcc (a] marino.st>
5316
5317 * config.host (*-*-dragonfly*): New target.
5318 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5319 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5320 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5321 * config/i386/dragonfly-unwind.h: New.
5322
5323 2014-05-21 Maciej W. Rozycki <macro (a] codesourcery.com>
5324
5325 PR libgcc/60166
5326 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5327 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5328
5329 2014-05-13 Bernd Edlinger <bernd.edlinger (a] hotmail.de>
5330
5331 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5332 implementation.
5333
5334 2014-05-12 Georg-Johann Lay <avr (a] gjlay.de>
5335
5336 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5337
5338 2014-05-08 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
5339
5340 PR libgcc/61097
5341 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5342 if --enable-shared.
5343
5344 2014-04-30 Bernd Edlinger <bernd.edlinger (a] hotmail.de>
5345
5346 Work around for current cygwin32 build problems.
5347 * config/i386/cygming-crtbegin.c (__register_frame_info,
5348 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5349 functions only for 64-bit systems.
5350
5351 2014-04-25 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
5352
5353 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5354 (sigill_caught, sigill_hdlr): Remove.
5355
5356 2014-04-22 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
5357
5358 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5359 check.
5360 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5361 Solaris 9 single-threaded support.
5362 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5363 Solaris 9 single-threaded support. Add call_user_handler code
5364 sequences.
5365 (sparc_is_sighandler): Likewise.
5366
5367 2014-03-27 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
5368
5369 * config.host: Append t-floattodi to tmake_file depending on
5370 host_address.
5371
5372 2014-03-20 Joel Sherrill <joel.sherrill (a] oarcorp.com>
5373
5374 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
5375
5376 2014-03-10 Uros Bizjak <ubizjak (a] gmail.com>
5377
5378 PR libgcc/60472
5379 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
5380 variable to avoid "array subscript is above array bounds" warnings.
5381 Use __builtin_expect when checking *jcr_list for NULL.
5382
5383 2014-03-06 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
5384
5385 PR libgcc/59339
5386 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5387 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5388 vtv_*.o to extra_parts if enable_vtable_verify.
5389
5390 2014-03-06 Nick Clifton <nickc (a] redhat.com>
5391
5392 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5393 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5394
5395 2014-02-28 Joey Ye <joey.ye (a] arm.com>
5396
5397 PR libgcc/60166
5398 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5399 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5400 Set to zero.
5401
5402 2014-02-24 Walter Lee <walt (a] tilera.com>
5403
5404 * config.host: Support "tilegx*" and "tilepro*" triplets.
5405 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5406 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5407
5408 2014-02-20 Sandra Loosemore <sandra (a] codesourcery.com>
5409 Chung-Lin Tang <cltang (a] codesourcery.com>
5410
5411 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5412 * config/nios2/crti.S: Remove .file directive.
5413 * config/nios2/crtn.S: Likewise.
5414
5415 2014-02-18 Kai Tietz <ktietz (a] redhat.com>
5416 Jonathan Schleifer <js (a] webkeks.org>
5417
5418 PR objc/56870
5419 * unwind-seh.c (_GCC_specific_handler): Pass proper
5420 value to unwind-handler.
5421
5422 2014-02-12 Joseph Myers <joseph (a] codesourcery.com>
5423
5424 * soft-fp/adddf3.c: Update from glibc.
5425 * soft-fp/addsf3.c: Likewise.
5426 * soft-fp/addtf3.c: Likewise.
5427 * soft-fp/divdf3.c: Likewise.
5428 * soft-fp/divsf3.c: Likewise.
5429 * soft-fp/divtf3.c: Likewise.
5430 * soft-fp/double.h: Likewise.
5431 * soft-fp/eqdf2.c: Likewise.
5432 * soft-fp/eqsf2.c: Likewise.
5433 * soft-fp/eqtf2.c: Likewise.
5434 * soft-fp/extenddftf2.c: Likewise.
5435 * soft-fp/extended.h: Likewise.
5436 * soft-fp/extendsfdf2.c: Likewise.
5437 * soft-fp/extendsftf2.c: Likewise.
5438 * soft-fp/extendxftf2.c: Likewise.
5439 * soft-fp/fixdfdi.c: Likewise.
5440 * soft-fp/fixdfsi.c: Likewise.
5441 * soft-fp/fixdfti.c: Likewise.
5442 * soft-fp/fixsfdi.c: Likewise.
5443 * soft-fp/fixsfsi.c: Likewise.
5444 * soft-fp/fixsfti.c: Likewise.
5445 * soft-fp/fixtfdi.c: Likewise.
5446 * soft-fp/fixtfsi.c: Likewise.
5447 * soft-fp/fixtfti.c: Likewise.
5448 * soft-fp/fixunsdfdi.c: Likewise.
5449 * soft-fp/fixunsdfsi.c: Likewise.
5450 * soft-fp/fixunsdfti.c: Likewise.
5451 * soft-fp/fixunssfdi.c: Likewise.
5452 * soft-fp/fixunssfsi.c: Likewise.
5453 * soft-fp/fixunssfti.c: Likewise.
5454 * soft-fp/fixunstfdi.c: Likewise.
5455 * soft-fp/fixunstfsi.c: Likewise.
5456 * soft-fp/fixunstfti.c: Likewise.
5457 * soft-fp/floatdidf.c: Likewise.
5458 * soft-fp/floatdisf.c: Likewise.
5459 * soft-fp/floatditf.c: Likewise.
5460 * soft-fp/floatsidf.c: Likewise.
5461 * soft-fp/floatsisf.c: Likewise.
5462 * soft-fp/floatsitf.c: Likewise.
5463 * soft-fp/floattidf.c: Likewise.
5464 * soft-fp/floattisf.c: Likewise.
5465 * soft-fp/floattitf.c: Likewise.
5466 * soft-fp/floatundidf.c: Likewise.
5467 * soft-fp/floatundisf.c: Likewise.
5468 * soft-fp/floatunditf.c: Likewise.
5469 * soft-fp/floatunsidf.c: Likewise.
5470 * soft-fp/floatunsisf.c: Likewise.
5471 * soft-fp/floatunsitf.c: Likewise.
5472 * soft-fp/floatuntidf.c: Likewise.
5473 * soft-fp/floatuntisf.c: Likewise.
5474 * soft-fp/floatuntitf.c: Likewise.
5475 * soft-fp/gedf2.c: Likewise.
5476 * soft-fp/gesf2.c: Likewise.
5477 * soft-fp/getf2.c: Likewise.
5478 * soft-fp/ledf2.c: Likewise.
5479 * soft-fp/lesf2.c: Likewise.
5480 * soft-fp/letf2.c: Likewise.
5481 * soft-fp/muldf3.c: Likewise.
5482 * soft-fp/mulsf3.c: Likewise.
5483 * soft-fp/multf3.c: Likewise.
5484 * soft-fp/negdf2.c: Likewise.
5485 * soft-fp/negsf2.c: Likewise.
5486 * soft-fp/negtf2.c: Likewise.
5487 * soft-fp/op-1.h: Likewise.
5488 * soft-fp/op-2.h: Likewise.
5489 * soft-fp/op-4.h: Likewise.
5490 * soft-fp/op-8.h: Likewise.
5491 * soft-fp/op-common.h: Likewise.
5492 * soft-fp/quad.h: Likewise.
5493 * soft-fp/single.h: Likewise.
5494 * soft-fp/soft-fp.h: Likewise.
5495 * soft-fp/subdf3.c: Likewise.
5496 * soft-fp/subsf3.c: Likewise.
5497 * soft-fp/subtf3.c: Likewise.
5498 * soft-fp/truncdfsf2.c: Likewise.
5499 * soft-fp/trunctfdf2.c: Likewise.
5500 * soft-fp/trunctfsf2.c: Likewise.
5501 * soft-fp/trunctfxf2.c: Likewise.
5502 * soft-fp/unorddf2.c: Likewise.
5503 * soft-fp/unordsf2.c: Likewise.
5504 * soft-fp/unordtf2.c: Likewise.
5505 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5506 macro.
5507 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5508 Likewise.
5509 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5510 Likewise.
5511 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5512 Likewise.
5513 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5514 Likewise.
5515 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5516 Likewise.
5517 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5518 Likewise.
5519 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5520 Likewise.
5521 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5522 Likewise.
5523 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5524 Likewise.
5525 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5526 Likewise.
5527 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5528 Likewise.
5529 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5530 Likewise.
5531 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5532 Likewise.
5533 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5534 Likewise.
5535 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5536 Likewise.
5537
5538 2014-02-07 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
5539
5540 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5541 cannot be represented.
5542 * config/s390/32/_fixsfdi.c: Likewise.
5543 * config/s390/32/_fixtfdi.c: Likewise.
5544 * config/s390/32/_fixunsdfdi.c: Likewise.
5545 * config/s390/32/_fixunssfdi.c: Likewise.
5546 * config/s390/32/_fixunstfdi.c: Likewise.
5547
5548 2014-02-07 Richard Sandiford <rdsandiford (a] googlemail.com>
5549
5550 * configure.ac (libgcc_cv_mips_hard_float): New.
5551 * configure: Regenerate.
5552 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5553 t-softfp-sfdf for hard-float targets.
5554 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5555 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5556 (softfp_truncations, softfp_exclude_libgcc2): New.
5557 * config/t-hardfp: New file.
5558 * config/t-hardfp-sfdf: Likewise.
5559 * config/hardfp.c: Likewise.
5560
5561 2014-02-05 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
5562
5563 * config.host: Include t-floattodi also for s390x.
5564 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5565 * config/s390/32/_fixsfdi.c: Likewise.
5566 * config/s390/32/_fixtfdi.c: Likewise.
5567 * config/s390/32/_fixunsdfdi.c: Likewise.
5568 * config/s390/32/_fixunssfdi.c: Likewise.
5569 * config/s390/32/_fixunstfdi.c: Likewise.
5570
5571 2014-02-04 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
5572
5573 PR target/59788
5574 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5575 (install-libgcc-unwind-map-forbuild): New target.
5576 (all): Depend on install-libgcc-unwind-map-forbuild.
5577 (install-libgcc-unwind-map): New target.
5578 (install): Depend on install-libgcc-unwind-map.
5579
5580 2014-02-02 Sandra Loosemore <sandra (a] codesourcery.com>
5581
5582 * config/nios2/crti.S (_init): Initialize GOT pointer from
5583 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5584
5585 2014-02-02 Richard Sandiford <rdsandiford (a] googlemail.com>
5586
5587 * configure.ac: Check __mips64 when setting host_address.
5588 * configure: Regenerate.
5589 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5590 mips/t-mips64 and t-softfp.
5591 (mips*-*-linux*): Don't add mips/t-tpbit.
5592 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5593 (DPBIT, DPBIT_CFLAGS): Delete.
5594 * config/mips/sfp-machine.h: New file.
5595 * config/mips/t-mips64: Likewise.
5596 * config/mips/t-softfp-tf: Likewise.
5597 * config/mips/t-tpbit: Delete.
5598
5599 2014-01-29 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
5600
5601 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5602 as long long.
5603
5604 2014-01-25 Walter Lee <walt (a] tilera.com>
5605
5606 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5607 config.h or system.h.
5608 (bool) Define.
5609
5610 2014-01-25 Walter Lee <walt (a] tilera.com>
5611
5612 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5613 (post_atomic_barrier): Ditto.
5614 (__fetch_and_do): New macro.
5615 (__atomic_fetch_and_do): Use __fetch_and_do.
5616 (__sync_fetch_and_do): New macro.
5617 (__sync_fetch_and_add_4): New function.
5618 (__sync_fetch_and_sub_4): New function.
5619 (__sync_fetch_and_or_4): New function.
5620 (__sync_fetch_and_and_4): New function.
5621 (__sync_fetch_and_xor_4): New function.
5622 (__sync_fetch_and_nand_4): New function.
5623 (__sync_fetch_and_add_8): New function.
5624 (__sync_fetch_and_sub_8): New function.
5625 (__sync_fetch_and_or_8): New function.
5626 (__sync_fetch_and_and_8): New function.
5627 (__sync_fetch_and_xor_8): New function.
5628 (__sync_fetch_and_nand_8): New function.
5629 (__do_and_fetch): New macro.
5630 (__atomic_do_and_fetch): Use __do_and_fetch.
5631 (__sync_do_and_fetch): New macro.
5632 (__sync_add_and_fetch_4): New function.
5633 (__sync_sub_and_fetch_4): New function.
5634 (__sync_or_and_fetch_4): New function.
5635 (__sync_and_and_fetch_4): New function.
5636 (__sync_xor_and_fetch_4): New function.
5637 (__sync_nand_and_fetch_4): New function.
5638 (__sync_add_and_fetch_8): New function.
5639 (__sync_sub_and_fetch_8): New function.
5640 (__sync_or_and_fetch_8): New function.
5641 (__sync_and_and_fetch_8): New function.
5642 (__sync_xor_and_fetch_8): New function.
5643 (__sync_nand_and_fetch_8): New function.
5644 (__sync_exchange_methods): New macro.
5645 (__sync_val_compare_and_swap_4): New function.
5646 (__sync_bool_compare_and_swap_4): New function.
5647 (__sync_lock_test_and_test_4): New function.
5648 (__sync_val_compare_and_swap_8): New function.
5649 (__sync_bool_compare_and_swap_8): New function.
5650 (__sync_lock_test_and_test_8): New function.
5651 (__subword_cmpxchg_body): New macro.
5652 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5653 (__atomic_compare_exchange_2): Ditto.
5654 (__sync_subword_cmpxchg): New macro.
5655 (__sync_val_compare_and_swap_1): New function.
5656 (__sync_bool_compare_and_swap_1): New function.
5657 (__sync_val_compare_and_swap_2): New function.
5658 (__sync_bool_compare_and_swap_2): New function.
5659 (__atomic_subword): Rename to ...
5660 (__subword): ... New name.
5661 (__atomic_subword_fetch): Use __subword.
5662 (__sync_subword_fetch): New macro.
5663 (__sync_fetch_and_add_1): New function.
5664 (__sync_fetch_and_sub_1): New function.
5665 (__sync_fetch_and_or_1): New function.
5666 (__sync_fetch_and_and_1): New function.
5667 (__sync_fetch_and_xor_1): New function.
5668 (__sync_fetch_and_nand_1): New function.
5669 (__sync_fetch_and_add_2): New function.
5670 (__sync_fetch_and_sub_2): New function.
5671 (__sync_fetch_and_or_2): New function.
5672 (__sync_fetch_and_and_2): New function.
5673 (__sync_fetch_and_xor_2): New function.
5674 (__sync_fetch_and_nand_2): New function.
5675 (__sync_add_and_fetch_1): New function.
5676 (__sync_sub_and_fetch_1): New function.
5677 (__sync_or_and_fetch_1): New function.
5678 (__sync_and_and_fetch_1): New function.
5679 (__sync_xor_and_fetch_1): New function.
5680 (__sync_nand_and_fetch_1): New function.
5681 (__sync_add_and_fetch_2): New function.
5682 (__sync_sub_and_fetch_2): New function.
5683 (__sync_or_and_fetch_2): New function.
5684 (__sync_and_and_fetch_2): New function.
5685 (__sync_xor_and_fetch_2): New function.
5686 (__sync_nand_and_fetch_2): New function.
5687 (__atomic_subword_lock): Use __subword.
5688 (__sync_subword_lock): New macro.
5689 (__sync_lock_test_and_set_1): New function.
5690 (__sync_lock_test_and_set_2): New function.
5691
5692 2014-01-25 Walter Lee <walt (a] tilera.com>
5693
5694 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5695 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5696 (__atomic_subword): Ditto.
5697
5698 2014-01-25 Walter Lee <walt (a] tilera.com>
5699
5700 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5701 a prefix op argument.
5702 (__atomic_nand_fetch_4): Add prefix op.
5703 (__atomic_nand_fetch_8): Ditto.
5704
5705 2014-01-21 Baruch Siach <barch (a] tkos.co.il>
5706
5707 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5708
5709 2014-01-09 Rong Xu <xur (a] google.com>
5710
5711 * libgcov-driver.c (this_prg): make it local to save
5712 bss space.
5713 (gcov_exit_compute_summary): Ditto.
5714 (gcov_exit_merge_gcda): Ditto.
5715 (gcov_exit_merge_summary): Ditto.
5716 (gcov_exit_dump_gcov): Ditto.
5717
5718 2014-01-08 Rong Xu <xur (a] google.com>
5719
5720 * libgcov-driver.c: Use libgcov.h.
5721 (buffer_fn_data): Use xmalloc instead of malloc.
5722 (gcov_exit_merge_gcda): Ditto.
5723 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5724 * libgcov.h: New common header files for libgcov-*.h.
5725 * libgcov-interface.c: Use libgcov.h
5726 * libgcov-merge.c: Ditto.
5727 * libgcov-profiler.c: Ditto.
5728 * Makefile.in: Add dependence to libgcov.h
5729
5730 2014-01-02 Joseph Myers <joseph (a] codesourcery.com>
5731
5732 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5733 case of small numerator and finite nonzero result.
5734
5735 2014-01-02 Richard Sandiford <rdsandiford (a] googlemail.com>
5736
5737 Update copyright years
5738
5739 2014-01-02 Richard Sandiford <rdsandiford (a] googlemail.com>
5740
5741 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5742 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5743 config/arc/dp-hack.h, config/arc/fp-hack.h,
5744 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5745 config/arc/ieee-754/arc600-dsp/divdf3.S,
5746 config/arc/ieee-754/arc600-dsp/divsf3.S,
5747 config/arc/ieee-754/arc600-dsp/muldf3.S,
5748 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5749 config/arc/ieee-754/arc600-mul64/divdf3.S,
5750 config/arc/ieee-754/arc600-mul64/divsf3.S,
5751 config/arc/ieee-754/arc600-mul64/muldf3.S,
5752 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5753 config/arc/ieee-754/arc600/divsf3.S,
5754 config/arc/ieee-754/arc600/mulsf3.S,
5755 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5756 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5757 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5758 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5759 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5760 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5761 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5762 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5763 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5764 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5765 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5766 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5767 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5768 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5769 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5770 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5771 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5772 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5773 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5774 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5775 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5776 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5777 vtv_start_preinit.c: Use the standard form for the copyright notice.
5778
5779 2013-12-31 Sandra Loosemore <sandra (a] codesourcery.com>
5780 Chung-Lin Tang <cltang (a] codesourcery.com>
5781 Based on patches from Altera Corporation
5782
5783 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5784 * config/nios2/lib2-nios2.h: New file.
5785 * config/nios2/lib2-divmod-hi.c: New file.
5786 * config/nios2/linux-unwind.h: New file.
5787 * config/nios2/lib2-divmod.c: New file.
5788 * config/nios2/linux-atomic.c: New file.
5789 * config/nios2/t-nios2: New file.
5790 * config/nios2/crti.asm: New file.
5791 * config/nios2/t-linux: New file.
5792 * config/nios2/lib2-divtable.c: New file.
5793 * config/nios2/lib2-mul.c: New file.
5794 * config/nios2/tramp.c: New file.
5795 * config/nios2/crtn.asm: New file.
5796
5797 2013-12-26 Uros Bizjak <ubizjak (a] gmail.com>
5798
5799 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5800 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5801 from cpuid.h to check vendor signatures.
5802
5803 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian (a] amd.com>
5804
5805 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
5806 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5807 (get_amd_cpu): Likewise.
5808
5809 2013-12-25 H.J. Lu <hongjiu.lu (a] intel.com>
5810
5811 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5812 Haswell.
5813
5814 2013-12-25 Allan Sandfeld Jensen <sandfeld (a] kde.org>
5815 H.J. Lu <hongjiu.lu (a] intel.com>
5816
5817 PR target/59422
5818 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
5819 and AMD_JAGUAR.
5820 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5821 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5822 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5823 FEATURE_XOP and FEATURE_FMA.
5824 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5825 AMDFAM15H_BDVER3.
5826 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
5827 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
5828 FEATURE_FMA4 and FEATURE_XOP.
5829
5830 2013-12-23 H.J. Lu <hongjiu.lu (a] intel.com>
5831
5832 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5833 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5834 (get_intel_cpu): Updated.
5835
5836 2013-12-12 Zhenqiang Chen <zhenqiang.chen (a] arm.com>
5837
5838 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5839
5840 2013-12-09 Uros Bizjak <ubizjak (a] gmail.com>
5841
5842 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5843 instructions when __SSE_MATH__ is defined.
5844
5845 2013-12-06 Ralf Corspius <ralf.corsepius (a] rtems.org>
5846
5847 * config.host (microblaze-*-rtems*): New.
5848
5849 2013-12-04 Kugan Vivekanandarajah <kuganv (a] linaro.org>
5850
5851 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5852 architectures that do not have hardware divide instruction.
5853 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5854
5855 2013-12-04 Richard Sandiford <rdsandiford (a] googlemail.com>
5856
5857 * longlong.h: Delete (moved to include/).
5858
5859 2013-12-03 Adhemerval Zanella <azanella (a] linux.vnet.ibm.com>
5860
5861 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5862 of normal number and qNaN to not raise an inexact exception.
5863
5864 2013-11-28 Uros Bizjak <ubizjak (a] gmail.com>
5865
5866 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5867
5868 2013-11-28 Matthew Leach <matthew.leach (a] arm.com>
5869
5870 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5871 for correct opcodes on BE.
5872
5873 2013-11-27 Uros Bizjak <ubizjak (a] gmail.com>
5874
5875 * soft-fp/op-4.h: Update from glibc.
5876
5877 2013-11-27 Kugan Vivekanandarajah <kuganv (a] linaro.org>
5878
5879 * libgcc2.c (__udivmoddi4): Define new implementation when
5880 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5881 divide instructions.
5882
5883 2013-11-25 Oleg Endo <olegendo (a] gcc.gnu.org>
5884
5885 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5886
5887 2013-11-25 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
5888
5889 * config/t-softfp (soft-fp-objects-base): New variable.
5890 (soft-fp-objects): Use it.
5891
5892 2013-11-23 David Edelson <dje.gcc (a] gmail.com>
5893 Andrew Dixie <andrewd (a] gentrack.com>
5894
5895 PR target/33704
5896 * config/rs6000/aixinitfini.c: New file.
5897 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5898 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5899 symbols.
5900
5901 2013-11-22 Yuri Rumyantsev <ysrumyan (a] gmail.com>
5902
5903 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
5904
5905 2013-11-18 Jan Hubicka <jh (a] suse.cz>
5906
5907 * libgcov-driver.c (run_accounted): Make global level static.
5908 (gcov_exit_merge_summary): Silence warning; do not clear
5909 run_accounted here.
5910 (gcov_exit): Clear it here.
5911
5912 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5913 run_accounted.
5914
5915 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5916 (all_prg, crc32): Remove static vars.
5917 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5918 all_prg.
5919 (gcov_exit_merge_gcda): Add crc32 parameter.
5920 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5921 do not account run if it was already accounted.
5922 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5923 (gcov_exit): Initialize all_prg; update.
5924
5925 2013-11-15 Andreas Schwab <schwab (a] linux-m68k.org>
5926
5927 * configure: Regenerate.
5928
5929 2013-11-14 Ulrich Weigand <Ulrich.Weigand (a] de.ibm.com>
5930 Alan Modra <amodra (a] gmail.com>
5931
5932 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5933 (frob_update_context): Use it.
5934
5935 2013-11-14 Ulrich Weigand <Ulrich.Weigand (a] de.ibm.com>
5936 Alan Modra <amodra (a] gmail.com>
5937
5938 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5939 (trampoline_initial): Provide ELFv2 variant.
5940 (__trampoline_setup): Likewise.
5941
5942 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5943 check for AIX indirect function call sequence if _CALL_ELF == 2.
5944
5945 2013-11-14 Ulrich Weigand <Ulrich.Weigand (a] de.ibm.com>
5946 Alan Modra <amodra (a] gmail.com>
5947
5948 * config/rs6000/linux-unwind.h (get_regs): Do not support
5949 old kernel versions if _CALL_ELF == 2.
5950 (frob_update_context): Do not support PLT stub variants only
5951 generated by old linkers if _CALL_ELF == 2.
5952
5953 2013-11-14 Ulrich Weigand <Ulrich.Weigand (a] de.ibm.com>
5954 Alan Modra <amodra (a] gmail.com>
5955
5956 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5957 location of CR save area for 64-bit little-endian systems.
5958
5959 2013-11-11 Eric Botcazou <ebotcazou (a] adacore.com>
5960
5961 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5962 in tmake_file.
5963 * config/arm/t-vxworks: Delete.
5964
5965 2013-11-10 Kai Tietz <ktietz (a] redhat.com>
5966
5967 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5968 Increment load-count on use of LIBGCC_SONAME DLL.
5969 (hmod_libgcc): New static variable to hold handle of
5970 LIBGCC_SONAME DLL.
5971 (__gcc_deregister_frame): Decrement load-count of
5972 LIBGCC_SONAME DLL.
5973
5974 2013-11-08 Bernhard Reutner-Fischer <aldot (a] gcc.gnu.org>
5975
5976 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5977 availability.
5978 * configure: Regenerate
5979
5980 2013-11-07 Uros Bizjak <ubizjak (a] gmail.com>
5981
5982 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5983 FP_EX_DENORM. Store result to volatile location after SSE division
5984 to close interrupt window. Remove unneeded fwait after x87
5985 division since interrupt window will be closed by emitted fstp.
5986 Rewrite FP_EX_INEXACT handling.
5987
5988 2013-11-06 Joseph Myers <joseph (a] codesourcery.com>
5989
5990 * soft-fp/README: Update.
5991 * soft-fp/adddf3.c: Update from glibc.
5992 * soft-fp/addsf3.c: Likewise.
5993 * soft-fp/addtf3.c: Likewise.
5994 * soft-fp/divdf3.c: Likewise.
5995 * soft-fp/divsf3.c: Likewise.
5996 * soft-fp/divtf3.c: Likewise.
5997 * soft-fp/double.h: Likewise.
5998 * soft-fp/eqdf2.c: Likewise.
5999 * soft-fp/eqsf2.c: Likewise.
6000 * soft-fp/eqtf2.c: Likewise.
6001 * soft-fp/extenddftf2.c: Likewise.
6002 * soft-fp/extended.h: Likewise.
6003 * soft-fp/extendsfdf2.c: Likewise.
6004 * soft-fp/extendsftf2.c: Likewise.
6005 * soft-fp/extendxftf2.c: Likewise.
6006 * soft-fp/fixdfdi.c: Likewise.
6007 * soft-fp/fixdfsi.c: Likewise.
6008 * soft-fp/fixdfti.c: Likewise.
6009 * soft-fp/fixsfdi.c: Likewise.
6010 * soft-fp/fixsfsi.c: Likewise.
6011 * soft-fp/fixsfti.c: Likewise.
6012 * soft-fp/fixtfdi.c: Likewise.
6013 * soft-fp/fixtfsi.c: Likewise.
6014 * soft-fp/fixtfti.c: Likewise.
6015 * soft-fp/fixunsdfdi.c: Likewise.
6016 * soft-fp/fixunsdfsi.c: Likewise.
6017 * soft-fp/fixunsdfti.c: Likewise.
6018 * soft-fp/fixunssfdi.c: Likewise.
6019 * soft-fp/fixunssfsi.c: Likewise.
6020 * soft-fp/fixunssfti.c: Likewise.
6021 * soft-fp/fixunstfdi.c: Likewise.
6022 * soft-fp/fixunstfsi.c: Likewise.
6023 * soft-fp/fixunstfti.c: Likewise.
6024 * soft-fp/floatdidf.c: Likewise.
6025 * soft-fp/floatdisf.c: Likewise.
6026 * soft-fp/floatditf.c: Likewise.
6027 * soft-fp/floatsidf.c: Likewise.
6028 * soft-fp/floatsisf.c: Likewise.
6029 * soft-fp/floatsitf.c: Likewise.
6030 * soft-fp/floattidf.c: Likewise.
6031 * soft-fp/floattisf.c: Likewise.
6032 * soft-fp/floattitf.c: Likewise.
6033 * soft-fp/floatundidf.c: Likewise.
6034 * soft-fp/floatundisf.c: Likewise.
6035 * soft-fp/floatunditf.c: Likewise.
6036 * soft-fp/floatunsidf.c: Likewise.
6037 * soft-fp/floatunsisf.c: Likewise.
6038 * soft-fp/floatunsitf.c: Likewise.
6039 * soft-fp/floatuntidf.c: Likewise.
6040 * soft-fp/floatuntisf.c: Likewise.
6041 * soft-fp/floatuntitf.c: Likewise.
6042 * soft-fp/gedf2.c: Likewise.
6043 * soft-fp/gesf2.c: Likewise.
6044 * soft-fp/getf2.c: Likewise.
6045 * soft-fp/ledf2.c: Likewise.
6046 * soft-fp/lesf2.c: Likewise.
6047 * soft-fp/letf2.c: Likewise.
6048 * soft-fp/muldf3.c: Likewise.
6049 * soft-fp/mulsf3.c: Likewise.
6050 * soft-fp/multf3.c: Likewise.
6051 * soft-fp/negdf2.c: Likewise.
6052 * soft-fp/negsf2.c: Likewise.
6053 * soft-fp/negtf2.c: Likewise.
6054 * soft-fp/op-1.h: Likewise.
6055 * soft-fp/op-2.h: Likewise.
6056 * soft-fp/op-4.h: Likewise.
6057 * soft-fp/op-8.h: Likewise.
6058 * soft-fp/op-common.h: Likewise.
6059 * soft-fp/quad.h: Likewise.
6060 * soft-fp/single.h: Likewise.
6061 * soft-fp/soft-fp.h: Likewise.
6062 * soft-fp/subdf3.c: Likewise.
6063 * soft-fp/subsf3.c: Likewise.
6064 * soft-fp/subtf3.c: Likewise.
6065 * soft-fp/truncdfsf2.c: Likewise.
6066 * soft-fp/trunctfdf2.c: Likewise.
6067 * soft-fp/trunctfsf2.c: Likewise.
6068 * soft-fp/trunctfxf2.c: Likewise.
6069 * soft-fp/unorddf2.c: Likewise.
6070 * soft-fp/unordsf2.c: Likewise.
6071 * soft-fp/unordtf2.c: Likewise.
6072
6073 2013-11-05 Uros Bizjak <ubizjak (a] gmail.com>
6074
6075 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6076 (_FP_MUL_MEAT_D): Ditto.
6077 (_FP_DIV_MEAT_S): Ditto.
6078 (_FP_DIV_MEAT_D): Ditto.
6079 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6080 t-softfp-sfdf and t-softfp to tmake_file.
6081
6082 2013-11-03 Uros Bizjak <ubizjak (a] gmail.com>
6083
6084 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6085 * config/i386/crtprec.c: Ditto.
6086
6087 2013-10-31 Chung-Ju Wu <jasonwucj (a] gmail.com>
6088 Shiva Chen <shiva0217 (a] gmail.com>
6089
6090 * config.host (nds32*-elf*): Add nds32 target.
6091 * config/nds32 : New directory and files.
6092
6093 2013-10-16 Hans-Peter Nilsson <hp (a] axis.com>
6094
6095 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
6096 * config.host (cpu_type) <Setting default>: Add entry for
6097 crisv32-*-*.
6098 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6099 <crisv32-*-linux*>: Adjust.
6100 * longlong.h: Wrap the whole CRIS section in a single
6101 defined(__CRIS__) conditional. Add comment about add_ssaaaa
6102 and sub_ddmmss.
6103 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6104 defined.
6105 [__CRIS__] (__umulsidi3): Define.
6106 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6107 * config/cris/sfp-machine.h: New file.
6108 * config/cris/umulsidi3.S: New file.
6109 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6110 * config/cris/arit.c (SIGNMULT): New macro.
6111 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6112 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6113 saving 3 out of originally 33 cycles from the fastest
6114 path, 3 out of 54 from the medium path and one from the longest
6115 path. Improve comments.
6116
6117 2013-10-15 Richard Sandiford <rdsandiford (a] googlemail.com>
6118
6119 * sync.c: Remove static aliases and define each function directly
6120 under its real name.
6121
6122 2013-10-02 John David Anglin <danglin (a] gcc.gnu.org>
6123
6124 * config.host (hppa*64*-*-linux*): Define extra_parts.
6125 (hppa*-*-linux*): Likewise.
6126
6127 2013-10-02 Joern Rennecke <joern.rennecke (a] embecosm.com>
6128
6129 * config/arc/crtgend.S: Add 2013 to Copyright years.
6130 * config/arc/gmon/atomic.h: Likewise.
6131 * config/arc/gmon/auxreg.h: Likewise.
6132 * config/arc/gmon/sys/gmon_out.h: Likewise.
6133 * config/arc/gmon/sys/gmon.h: Likewise.
6134 * config/arc/gmon/prof-freq.c: Likewise.
6135 * config/arc/gmon/mcount.c: Likewise.
6136 * config/arc/gmon/prof-freq-stub.S: Likewise.
6137 * config/arc/gmon/gmon.c: Likewise.
6138 * config/arc/gmon/machine-gmon.h: Likewise.
6139 * config/arc/gmon/profil.S: Likewise.
6140 * config/arc/gmon/dcache_linesz.S: Likewise.
6141 * config/arc/crtg.S: Likewise.
6142 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6143 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6144 * config/arc/ieee-754/adddf3.S: Likewise.
6145 * config/arc/ieee-754/truncdfsf2.S: Likewise.
6146 * config/arc/ieee-754/fixsfsi.S: Likewise.
6147 * config/arc/ieee-754/gtsf2.S: Likewise.
6148 * config/arc/ieee-754/floatsisf.S: Likewise.
6149 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6150 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6151 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6152 * config/arc/ieee-754/fixdfsi.S: Likewise.
6153 * config/arc/ieee-754/addsf3.S: Likewise.
6154 * config/arc/ieee-754/gesf2.S: Likewise.
6155 * config/arc/ieee-754/floatsidf.S: Likewise.
6156 * config/arc/ieee-754/extendsfdf2.S: Likewise.
6157 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6158 * config/arc/ieee-754/gtdf2.S: Likewise.
6159 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6160 * config/arc/ieee-754/uneqdf2.S: Likewise.
6161 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6162 * config/arc/ieee-754/uneqsf2.S: Likewise.
6163 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6164 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6165 * config/arc/ieee-754/eqdf2.S: Likewise.
6166 * config/arc/ieee-754/ordsf2.S: Likewise.
6167 * config/arc/ieee-754/divsf3.S: Likewise.
6168 * config/arc/ieee-754/divdf3.S: Likewise.
6169 * config/arc/ieee-754/floatunsidf.S: Likewise.
6170 * config/arc/ieee-754/orddf2.S: Likewise.
6171 * config/arc/ieee-754/eqsf2.S: Likewise.
6172 * config/arc/ieee-754/gedf2.S: Likewise.
6173 * config/arc/crtn.S: Likewise.
6174 * config/arc/crti.S: Likewise.
6175 * config/arc/t-arc700-uClibc: Likewise.
6176 * config/arc/asm.h: Likewise.
6177 * config/arc/libgcc-excl.ver: Likewise.
6178 * config/arc/t-arc-newlib: Likewise.
6179 * config/arc/divtab-arc700.c: Likewise.
6180 * config/arc/initfini.c: Likewise.
6181 * config/arc/fp-hack.h: Likewise.
6182
6183 2013-10-01 Joern Rennecke <joern.rennecke (a] embecosm.com>
6184 Diego Novillo <dnovillo (a] google.com>
6185
6186 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
6187 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6188 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6189 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
6190
6191 2013-10-01 Joern Rennecke <joern.rennecke (a] embecosm.com>
6192 Brendan Kehoe <brendan (a] zen.org>
6193 Simon Cook <simon.cook (a] embecosm.com>
6194
6195 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6196 * config/arc: New directory.
6197 * longlong.h [__arc__] (umul_ppmm): Remove.
6198 [__arc__] (__umulsidi3): Define.
6199 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6200 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6201
6202 2013-09-17 Jacek Caban <jacek (a] codeweavers.com>
6203
6204 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6205 CreateSemaphoreA.
6206 * config/i386/gthr-win32.h: Likewise.
6207
6208 2013-09-16 DJ Delorie <dj (a] redhat.com>
6209
6210 * config/rl78/vregs.h: Add G10 register definitions.
6211 * config/rl78/lib2mul.c: Enable for RL78/G10.
6212 * config/rl78/lib2div.c: Likewise.
6213 * config/rl78/lshrsi3.S: Use vregs.h.
6214 * config/rl78/cmpsi2.S: Likewise.
6215 * config/rl78/trampoline.S: Likewise.
6216 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
6217
6218 2013-09-14 DJ Delorie <dj (a] redhat.com>
6219 Nick Clifton <nickc (a] redhat.com>
6220
6221 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6222 * config/rl78/vregs.h: New.
6223 * config/rl78/signbit.S: New file. Implements signbit function.
6224 * config/rl78/divmodsi.S: New.
6225 * config/rl78/divmodhi.S: New.
6226 * config/rl78/divmodqi.S: New.
6227 * config/rl78/t-rl78: Build them here...
6228 * config/rl78/lib2div.c: ...but not here.
6229
6230 2013-09-12 DJ Delorie <dj (a] redhat.com>
6231
6232 * config.host (msp*-*-elf): New.
6233 * config/msp430/: New port.
6234
6235 2013-08-18 Iain Sandoe <iain (a] codesourcery.com>
6236
6237 PR gcov-profile/58127
6238 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6239 __thread var for emulated TLS.
6240 (__gcov_indirect_call_counters): Likewise.
6241
6242 2013-08-16 Maciej W. Rozycki <macro (a] codesourcery.com>
6243 Catherine Moore <clm (a] codesourcery.com>
6244 Richard Sandiford <rdsandiford (a] googlemail.com>
6245
6246 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6247 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6248 (CALL_STUB_NO_RET): Likewise.
6249 (CALL_STUB_RET): Likewise.
6250 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6251 __mips16_ret call/return stub symbols.
6252 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6253 to tmake_file.
6254
6255 2013-08-13 Maciej W. Rozycki <macro (a] codesourcery.com>
6256
6257 * config.host <mips*-*-linux*>: Remove a stray comment.
6258
6259 2013-08-10 Jan Hubicka <jh (a] suse.cz>
6260
6261 Work around binutils PR14342
6262 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6263 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6264 (L_gcov_indirect_call_profiler_v2): New.
6265
6266 2013-08-06 Jan Hubicka <jh (a] suse.cz>
6267
6268 * libgcov.c (__gcov_indirect_call_callee,
6269 __gcov_indirect_call_counters): New global vars.
6270 (__gcov_indirect_call_profiler): replace by ...
6271 (__gcov_indirect_call_profiler_v2) ... this one.
6272
6273 2013-08-06 Caroline Tice <cmtice (a] google.com>
6274
6275 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
6276 vtv_start_preinit.o and vtv_end_preinit.o.
6277 * configure.ac: Add code to check/set enable_vtable_verify.
6278 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
6279 true.
6280 * vtv_start_preinit.c: New file.
6281 * vtv_end_preinit.c: New file.
6282 * vtv_start.c: New file.
6283 * vtv_end.c: New file.
6284 * configure: Regenerated.
6285
6286 2013-08-01 Maxim Kuvyrkov <maxim (a] kugelworks.com>
6287
6288 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6289 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6290 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6291 GPL-3.0-with-GCC-exception.
6292
6293 2013-07-30 Maciej W. Rozycki <macro (a] codesourcery.com>
6294
6295 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6296 ISA and up.
6297
6298 2013-07-23 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
6299
6300 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6301 mapping for FPRs when creating the fallback framestate.
6302
6303 2013-07-19 Georg-Johann Lay <avr (a] gjlay.de>
6304
6305 PR target/57516
6306 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6307 (__round_s2_const, __round_u2_const)
6308 (__round_s4_const, __round_u4_const, __round_x8):
6309 Saturate result if addition result cannot be represented.
6310
6311 2013-07-15 Matthias Klose <doko (a] ubuntu.com>
6312
6313 * libgcc2.c: Don't include <limits.h>.
6314
6315 2013-07-09 Janis Johnson <janisjo (a] codesourcery.com>
6316
6317 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6318
6319 2013-07-06 Jakub Jelinek <jakub (a] redhat.com>
6320
6321 PR target/29776
6322 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6323
6324 2013-06-28 Jakub Jelinek <jakub (a] redhat.com>
6325
6326 PR middle-end/36041
6327 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6328 Define.
6329 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6330 instead of table lookups.
6331 (__popcountDI2): Likewise.
6332
6333 2013-06-25 Chung-Ju Wu <jasonwucj (a] gmail.com>
6334
6335 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6336 correctly.
6337
6338 2013-06-21 Joseph Myers <joseph (a] codesourcery.com>
6339
6340 PR other/53317
6341 * soft-fp/adddf3.c: Update from glibc.
6342 * soft-fp/addsf3.c: Likewise.
6343 * soft-fp/addtf3.c: Likewise.
6344 * soft-fp/divdf3.c: Likewise.
6345 * soft-fp/divsf3.c: Likewise.
6346 * soft-fp/divtf3.c: Likewise.
6347 * soft-fp/double.h: Likewise.
6348 * soft-fp/eqdf2.c: Likewise.
6349 * soft-fp/eqsf2.c: Likewise.
6350 * soft-fp/eqtf2.c: Likewise.
6351 * soft-fp/extenddftf2.c: Likewise.
6352 * soft-fp/extended.h: Likewise.
6353 * soft-fp/extendsfdf2.c: Likewise.
6354 * soft-fp/extendsftf2.c: Likewise.
6355 * soft-fp/fixdfdi.c: Likewise.
6356 * soft-fp/fixdfsi.c: Likewise.
6357 * soft-fp/fixsfdi.c: Likewise.
6358 * soft-fp/fixsfsi.c: Likewise.
6359 * soft-fp/fixtfdi.c: Likewise.
6360 * soft-fp/fixtfsi.c: Likewise.
6361 * soft-fp/fixunsdfdi.c: Likewise.
6362 * soft-fp/fixunsdfsi.c: Likewise.
6363 * soft-fp/fixunssfdi.c: Likewise.
6364 * soft-fp/fixunssfsi.c: Likewise.
6365 * soft-fp/fixunstfdi.c: Likewise.
6366 * soft-fp/fixunstfsi.c: Likewise.
6367 * soft-fp/floatdidf.c: Likewise.
6368 * soft-fp/floatdisf.c: Likewise.
6369 * soft-fp/floatditf.c: Likewise.
6370 * soft-fp/floatsidf.c: Likewise.
6371 * soft-fp/floatsisf.c: Likewise.
6372 * soft-fp/floatsitf.c: Likewise.
6373 * soft-fp/floatundidf.c: Likewise.
6374 * soft-fp/floatundisf.c: Likewise.
6375 * soft-fp/floatunditf.c: Likewise.
6376 * soft-fp/floatunsidf.c: Likewise.
6377 * soft-fp/floatunsisf.c: Likewise.
6378 * soft-fp/floatunsitf.c: Likewise.
6379 * soft-fp/gedf2.c: Likewise.
6380 * soft-fp/gesf2.c: Likewise.
6381 * soft-fp/getf2.c: Likewise.
6382 * soft-fp/ledf2.c: Likewise.
6383 * soft-fp/lesf2.c: Likewise.
6384 * soft-fp/letf2.c: Likewise.
6385 * soft-fp/muldf3.c: Likewise.
6386 * soft-fp/mulsf3.c: Likewise.
6387 * soft-fp/multf3.c: Likewise.
6388 * soft-fp/negdf2.c: Likewise.
6389 * soft-fp/negsf2.c: Likewise.
6390 * soft-fp/negtf2.c: Likewise.
6391 * soft-fp/op-1.h: Likewise.
6392 * soft-fp/op-2.h: Likewise.
6393 * soft-fp/op-4.h: Likewise.
6394 * soft-fp/op-8.h: Likewise.
6395 * soft-fp/op-common.h: Likewise.
6396 * soft-fp/quad.h: Likewise.
6397 * soft-fp/single.h: Likewise.
6398 * soft-fp/soft-fp.h: Likewise.
6399 * soft-fp/subdf3.c: Likewise.
6400 * soft-fp/subsf3.c: Likewise.
6401 * soft-fp/subtf3.c: Likewise.
6402 * soft-fp/truncdfsf2.c: Likewise.
6403 * soft-fp/trunctfdf2.c: Likewise.
6404 * soft-fp/trunctfsf2.c: Likewise.
6405 * soft-fp/unorddf2.c: Likewise.
6406 * soft-fp/unordsf2.c: Likewise.
6407 * soft-fp/unordtf2.c: Likewise.
6408 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6409 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6410 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6411 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6412 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6413 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6414 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6415 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6416 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6417 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6418 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6419 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6420
6421 2013-06-16 Jrgen Urban <JuergenUrban (a] gmx.de>
6422
6423 * config/mips/lib2funcs.c: New file.
6424 * config/mips/t-mips (LIB2ADD_ST): Add it.
6425
6426 2013-06-09 Oleg Endo <olegendo (a] gcc.gnu.org>
6427
6428 PR target/6526
6429 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6430 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
6431
6432 2013-06-08 Walter Lee <walt (a] tilera.com>
6433
6434 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6435 Replace int64_t with long long. Add __extension__ where
6436 appropriate.
6437 * config/tilepro/atomic.c: Include config.h.
6438
6439 2013-06-06 Douglas B Rupp <rupp (a] adacore.com>
6440
6441 * config.host (arm-wrs-vxworks): Configure with other soft float.
6442
6443 2013-06-04 Jrgen Urban <JuergenUrban (a] gmx.de>
6444
6445 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6446 (mips64r5900el-*-elf*): New configurations.
6447
6448 2013-06-04 Alan Modra <amodra (a] gmail.com>
6449
6450 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6451
6452 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev (a] intel.com>
6453
6454 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6455
6456 2013-05-28 Eric Botcazou <ebotcazou (a] adacore.com>
6457
6458 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6459 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6460 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6461
6462 2013-05-22 Eric Botcazou <ebotcazou (a] adacore.com>
6463
6464 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6465 (powerpc-wrs-vxworks): Likewise.
6466
6467 2013-05-22 Eric Botcazou <ebotcazou (a] adacore.com>
6468
6469 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6470 signal frames as well.
6471 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6472 STACK_BIAS to the CFA offset.
6473
6474 2013-05-17 Richard Henderson <rth (a] redhat.com>
6475
6476 PR target/49146
6477 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6478 (execute_cfa_program): Use it when storing to fs->regs.
6479
6480 2013-05-08 Kai Tietz <ktietz (a] redhat.com>
6481
6482 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6483 (__deregister_frame_info): Likewise.
6484
6485 2013-05-06 Thomas Schwinge <thomas (a] codesourcery.com>
6486
6487 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6488 NaN's payload.
6489
6490 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6491
6492 2013-04-25 Alan Modra <amodra (a] gmail.com>
6493
6494 * config.host: Match little-endian powerpc-linux.
6495
6496 2013-04-19 Yufeng Zhang <yufeng.zhang (a] arm.com>
6497
6498 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6499 as 'unsigned long long' instead of 'unsigned long'.
6500 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6501 'signed long'.
6502
6503 2013-04-10 Julian Brown <julian (a] codesourcery.com>
6504
6505 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6506 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6507 unsigned char/unsigned short.
6508 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6509
6510 2013-04-06 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
6511
6512 PR other/55274
6513 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6514
6515 2013-04-04 Meador Inge <meadori (a] codesourcery.com>
6516
6517 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6518 computing the location of the link register.
6519 (aeabi_uldivmod): Ditto.
6520
6521 2013-03-27 Kai Tietz <ktietz (a] redhat.com>
6522
6523 * config.host: Add support for cygwin x64 target.
6524 * configure: Regenerated.
6525
6526 2013-03-26 Walter Lee <walt (a] tilera.com>
6527
6528 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6529 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6530
6531 2013-03-25 Kai Tietz <ktietz (a] redhat.com>
6532
6533 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6534
6535 2013-03-20 Robert Mason <rbmj (a] verizon.net>
6536
6537 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6538 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6539 (__gthread_leave_tsd_dtor_context): Add prototypes.
6540 (tls_delete_hook): Update.
6541
6542 2013-03-20 Catherine Moore <clm (a] codesourcery.com>
6543 Joseph Myers <joseph (a] codesourcery.com>
6544 Chao-ying Fu <fu (a] mips.com>
6545
6546 * config/mips/mips16.S: Don't build for microMIPS.
6547 * config/mips/linux-unwind.h: Handle microMIPS frame.
6548 * config/mips/crtn.S (fini, init): New labels.
6549
6550 2013-03-14 Jakub Jelinek <jakub (a] redhat.com>
6551
6552 PR tree-optimization/53265
6553 * unwind-dw2.c (execute_cfa_program): Avoid
6554 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6555 on targets with DWARF_FRAME_REGISTERS < 32.
6556
6557 2013-03-13 Oleg Endo <olegendo (a] gcc.gnu.org>
6558
6559 PR target/49880
6560 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6561 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6562
6563 2013-03-07 Sriraman Tallam <tmsriram (a] google.com>
6564
6565 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6566 sandybridge processors.
6567
6568 2013-03-06 Oleg Endo <olegendo (a] gcc.gnu.org>
6569
6570 PR target/56529
6571 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6572 inclusion list.
6573
6574 2013-03-04 Edgar E. Iglesias <edgar.iglesias (a] gmail.com>
6575
6576 * config/microblaze/crti.S: Setup stack protection at entry
6577
6578 2013-03-04 Georg-Johann Lay <avr (a] gjlay.de>
6579
6580 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6581 (__rotldi3): Shift bytewise if applicable.
6582
6583 2013-03-01 James Greenhalgh <james.greenhalgh (a] arm.com>
6584
6585 * config/aarch64/sync-cache.c
6586 (__aarch64_sync_cache_range): Silence warnings.
6587
6588 2013-02-25 Catherine Moore <clm (a] codesourcery.com>
6589
6590 Revert:
6591 2013-02-24 Catherine Moore <clm (a] codesourcery.com>
6592 Joseph Myers <joseph (a] codesourcery.com>
6593 Chao-ying Fu <fu (a] mips.com>
6594
6595 * config/mips/mips16.S: Don't build for microMIPS.
6596 * config/mips/linux-unwind.h: Handle microMIPS frame.
6597 * config/mips/crtn.S (fini, init): New labels.
6598
6599 2013-02-24 Catherine Moore <clm (a] codesourcery.com>
6600 Joseph Myers <joseph (a] codesourcery.com>
6601 Chao-ying Fu <fu (a] mips.com>
6602
6603 * config/mips/mips16.S: Don't build for microMIPS.
6604 * config/mips/linux-unwind.h: Handle microMIPS frame.
6605 * config/mips/crtn.S (fini, init): New labels.
6606
6607 2012-02-19 Edgar E. Iglesias <edgar.iglesias (a] gmail.com>
6608 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
6609 as dividend.
6610
6611 2013-02-16 Alan Modra <amodra (a] gmail.com>
6612
6613 PR target/55431
6614 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6615 (ppc_fallback_frame_state): Always set up save locations for fp
6616 and altivec. Don't bother with non-callee-saved regs, r0-r13
6617 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6618
6619 2013-02-12 Georg-Johann Lay <avr (a] gjlay.de>
6620
6621 PR target/54222
6622 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6623 _ssmulHA, _ssmulSA.
6624 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6625 _ssmulha3, _usmulusa3, _ssmulsa3.
6626 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6627 (__muldi3): XCALL __muldi3_6 instead of rcall.
6628 (__umulsidi3, __mulsidi3): New functions.
6629 (do_prologue_saves, do_epilogue_restores): New .macros.
6630 (__divdi3_moddi3): Use them.
6631 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6632 (__usmulusa3, __ssmulsa3): New functions.
6633
6634 2013-02-11 Iain Sandoe <iain (a] codesourcery.com>
6635 Jack Howarth <howarth (a] bromo.med.uc.edu>
6636 Patrick Marlier <patrick.marlier (a] gmail.com>
6637
6638 PR libitm/55693
6639 * config/darwin-crt-tm.c: Remove dummy functions hack.
6640
6641 2013-02-08 Georg-Johann Lay <avr (a] gjlay.de>
6642
6643 PR target/54222
6644 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6645 * config/avr/lib2-object.mk: New iterator to build objects from it.
6646 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6647 lib2funcs.c.
6648 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6649 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6650 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6651 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6652 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6653 * config/avr/lib1funcs-fixed.S: Implement them.
6654
6655 2013-02-04 Richard Sandiford <rdsandiford (a] googlemail.com>
6656
6657 Update copyright years.
6658
6659 2013-02-01 David Edelsohn <dje.gcc (a] gmail.com>
6660
6661 PR target/54601
6662 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6663 Add crtcxa to extra_parts.
6664 * config/rs6000/exit.h: New file.
6665 * config/rs6000/cxa_atexit.c: New file.
6666 * config/rs6000/cxa_finalize.c: New file.
6667 * config/rs6000/crtcxa.c: New file.
6668 * config/rs6000/t-aix-cxa: New file.
6669 * config/rs6000/libgcc-aix-cxa.ver: New file.
6670
6671 2013-01-31 Nick Clifton <nickc (a] redhat.com>
6672
6673 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6674 variant.
6675
6676 2013-01-29 Georg-Johann Lay <avr (a] gjlay.de>
6677
6678 PR target/54222
6679 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6680 _mulQQ, _mulHQ, _mulHA, _mulSA,
6681 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6682 _divQQ, _divHQ, _divHA, _divSA,
6683 _divUQQ, _divUHQ, _divUHA, _divUSA.
6684
6685 2013-01-26 David Holsgrove <david.holsgrove (a] xilinx.com>
6686
6687 * config.host(microblaze*-linux*): tmake_file: Remove
6688 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6689 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6690 to exclude functions from being built with libgcc.c and use
6691 the microblaze assembly.
6692
6693 2013-01-26 Edgar E. Iglesias <edgar.iglesias (a] gmail.com>
6694
6695 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6696 extra_parts.
6697
6698 2013-01-17 Yufeng Zhang <yufeng.zhang (a] arm.com>
6699
6700 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6701 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6702 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6703 alignment operation.
6704
6705 2013-01-15 Sofiane Naci <sofiane.naci (a] arm.com>
6706
6707 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6708 loop start address for cache clearing.
6709
6710 2013-01-14 Georg-Johann Lay <avr (a] gjlay.de>
6711
6712 * config/avr/lib1funcs.S: Remove trailing blanks.
6713 * config/avr/lib1funcs-fixed.S: Ditto.
6714
6715 2013-01-14 Georg-Johann Lay <avr (a] gjlay.de>
6716
6717 * config/avr/avr-lib.h: Add GPL copyright notice.
6718
6719 2013-01-14 Georg-Johann Lay <avr (a] gjlay.de>
6720
6721 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6722 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6723 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6724 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6725
6726 2013-01-07 Mark Kettenis <kettenis (a] openbsd.org>
6727
6728 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6729 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
6730
6731 2013-01-04 Nick Clifton <nickc (a] redhat.com>
6732
6733 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6734 the CALLT instruction is supported.
6735
6736 2012-12-20 Jonathan Wakely <jwakely.gcc (a] gmail.com>
6737
6738 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6739 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6740
6741 2012-12-13 John Tytgat <John (a] bass-software.com>
6742
6743 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6744 is 25.
6745
6746 2012-12-12 Jakub Jelinek <jakub (a] redhat.com>
6747
6748 PR libgcc/55451
6749 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6750 undefined signed overflows.
6751
6752 2012-12-09 Uros Bizjak <ubizjak (a] gmail.com>
6753
6754 PR target/55344
6755 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6756
6757 2012-12-06 Uros Bizjak <ubizjak (a] gmail.com>
6758
6759 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6760 (FP_TRAPPING_EXCEPTIONS): Define.
6761 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6762 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6763
6764 2012-12-04 Richard Henderson <rth (a] redhat.com>
6765
6766 PR bootstrap/55571
6767 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6768
6769 2012-12-04 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
6770
6771 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
6772 (FP_EX_SHIFT): Define.
6773 (FP_TRAPPING_EXCEPTIONS): Define.
6774
6775 2012-12-04 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
6776
6777 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6778 (FP_ROUNDMODE): Use FP_RND_MASK.
6779 * config/aarch64/sfp-exceptions.c: New.
6780 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6781 Use __sfp_handle_exceptions.
6782
6783 2012-12-04 Richard Earnshaw <rearnsha (a] arm.com>
6784
6785 * config.host: (arm*-*-freebsd*): Remove.
6786 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6787 (arm*-*-elf*): Remove.
6788 (arm*-*-wince-pe*): Remove.
6789 * arm/unwind-arm.c (struct fpa_reg): Delete.
6790 (struct fpa_regs): Delete.
6791 (phase1_vrs): Remove fpa element.
6792 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6793 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6794 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6795 * ieee754-sf.S (floatundisf): Remove FPA support.
6796 (floatdisf): Likewise.
6797 * ieee75f-df.S (floatundidf): Likewise.
6798 (floatdidf): Likewise.
6799
6800 2012-11-29 Kai Tietz <ktietz (a] redhat.com>
6801
6802 PR target/55445
6803 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6804 * unwind-generic.h: Likewise.
6805 * unwind-seh.c: Likewise.
6806
6807 2012-11-28 Richard Henderson <rth (a] redhat.com>
6808
6809 PR libgcc/48076
6810 * emutls.c (__emutls_get_address): Avoid race condition between
6811 obj->loc.offset read and emutls_key initialization.
6812
6813 2012-11-22 Georg-Johann Lay <avr (a] gjlay.de>
6814
6815 Adjust decimal point of signed accum mode to GCC default.
6816
6817 PR target/54222
6818 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6819 _divqq_helper.
6820 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6821 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6822 (__mulha3, __mulsa3)
6823 (__divqq3, __divha3, __divsa3): Adjust to new position of
6824 decimal point of signed accum types.
6825
6826 (__mulusa3_round): New function.
6827 (__mulusa3): Use it.
6828 (__divqq_helper): New function.
6829 (__udivuqq3): Use it.
6830
6831 2012-11-20 Jakub Jelinek <jakub (a] redhat.com>
6832
6833 PR bootstrap/55370
6834 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6835
6836 2012-11-18 Teresa Johnson <tejohnson (a] google.com>
6837
6838 PR bootstrap/55051
6839 * libgcov.c (gcov_exit): Remove merged program summary
6840 comparison unless !GCOV_LOCKED.
6841
6842 2012-11-15 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
6843
6844 * soft-fp: Updated from glibc upstream.
6845
6846 2012-11-06 Ian Lance Taylor <iant (a] google.com>
6847
6848 * generic-morestack.c (__generic_morestack): Align the returned
6849 stack pointer to a 32 byte boundary.
6850 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6851 increment the return address until we have decided that we don't
6852 have a varargs function.
6853 (__morestack) [32-bit]: Align stack correctly when calling C
6854 functions.
6855 (__morestack) [64-bit]: Likewise.
6856
6857 2012-11-04 Thomas Schwinge <thomas (a] codesourcery.com>
6858
6859 * configure: Regenerate.
6860
6861 2012-11-02 Uros Bizjak <ubizjak (a] gmail.com>
6862
6863 PR target/55175
6864 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6865 * config/i386/sfp-machine.h: Guard exception handling
6866 code with _SOFT_FLOAT.
6867 * config/i386/32/sfp-machine.h: Guard rounding handling
6868 code with _SOFT_FLOAT.
6869 * config/i386/64/sfp-machine.h: Ditto.
6870
6871 2012-10-31 Joel Sherrill <joel.sherrill (a] oarcorp.com>
6872
6873 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6874 as extra_parts.
6875
6876 2012-10-26 Uros Bizjak <ubizjak (a] gmail.com>
6877
6878 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6879 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6880 when appropriate. Correct structure element types.
6881 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6882 -minline-all-stringops from compile flags.
6883
6884 2012-10-25 Ralf Corspius <ralf.corsepius (a] rtems.org>
6885
6886 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6887
6888 2012-10-25 Ralf Corspius <ralf.corsepius (a] rtems.org>
6889
6890 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
6891
6892 2012-10-25 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
6893
6894 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6895 tmake_file.
6896
6897 2012-10-23 Ian Bolton <ian.bolton (a] arm.com>
6898 Jim MacArthur <jim.macarthur (a] arm.com>
6899 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
6900 Nigel Stephens <nigel.stephens (a] arm.com>
6901 Ramana Radhakrishnan <ramana.radhakrishnan (a] arm.com>
6902 Richard Earnshaw <rearnsha (a] arm.com>
6903 Sofiane Naci <sofiane.naci (a] arm.com>
6904 Stephen Thomas <stephen.thomas (a] arm.com>
6905 Tejas Belagod <tejas.belagod (a] arm.com>
6906 Yufeng Zhang <yufeng.zhang (a] arm.com>
6907
6908 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6909 * config/aarch64/crti.S: New file.
6910 * config/aarch64/crtn.S: New file.
6911 * config/aarch64/linux-unwind.h: New file.
6912 * config/aarch64/sfp-machine.h: New file.
6913 * config/aarch64/sync-cache.c: New file.
6914 * config/aarch64/t-aarch64: New file.
6915 * config/aarch64/t-softfp: New file.
6916
6917 2012-10-21 Hans-Peter Nilsson <hp (a] bitrange.com>
6918
6919 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6920 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6921 no-longer-needed LDBU insns.
6922
6923 2012-10-18 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
6924
6925 * config.host
6926 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6927 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6928
6929 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann (a] arm.com>
6930
6931 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6932
6933 2012-10-15 Matthias Klose <doko (a] ubuntu.com>
6934
6935 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6936
6937 2012-10-15 Pavel Chupin <pavel.v.chupin (a] intel.com>
6938
6939 * configure: Regenerate.
6940 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6941
6942 2012-10-10 Uros Bizjak <ubizjak (a] gmail.com>
6943
6944 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6945 instructions for 64bit targets only.
6946
6947 2012-10-10 Uros Bizjak <ubizjak (a] gmail.com>
6948
6949 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6950 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6951 * config/i386/32/sfp-machine.h: ... here.
6952 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6953 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6954 New defines.
6955
6956 2012-10-07 Matthias Klose <doko (a] ubuntu.com>
6957
6958 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6959 as unused.
6960 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6961
6962 2012-10-06 Mark Kettenis <kettenis (a] openbsd.org>
6963
6964 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6965 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6966 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6967 (ElfW): Likewise.
6968
6969 2012-10-05 Jonathan Wakely <jwakely.gcc (a] gmail.com>
6970
6971 PR other/53889
6972 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6973 Fix parameter names.
6974
6975 2012-10-04 Oleg Endo <olegendo (a] gcc.gnu.org>
6976
6977 PR target/33135
6978 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6979 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6980 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6981
6982 2012-10-03 Oleg Endo <olegendo (a] gcc.gnu.org>
6983
6984 PR target/50457
6985 * config/sh/linux-atomic.S: Delete.
6986 * config/sh/linux-atomic.c: New.
6987 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6988 linux-atomic.c. Add cflags to disable warnings.
6989
6990 2012-10-02 Jonathan Wakely <jwakely.gcc (a] gmail.com>
6991
6992 PR other/53889
6993 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6994 function.
6995 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6996 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6997 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6998 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
6999 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7000 Likewise.
7001 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7002 Likewise.
7003 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7004 Likewise.
7005 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7006 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7007
7008 2012-09-19 Mark Kettenis <kettenis (a] openbsd.org>
7009
7010 * config.host (hppa-*-openbsd*): New target.
7011 * config/pa/t-openbsd: New file.
7012
7013 2012-09-15 Georg-Johann Lay <avr (a] gjlay.de>
7014
7015 PR target/54222
7016 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7017 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7018 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7019 (__divsa3): Use __negsi2 to negate r_quoL.
7020 * config/avr/lib1funcs.S (FALIAS): New macro.
7021 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7022 (__negsi2): ...this new function.
7023 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7024 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7025 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7026 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7027 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7028 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7029
7030 2012-09-10 Oleg Endo <olegendo (a] gcc.gnu.org>
7031
7032 PR target/54089
7033 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7034 (lshrsi3): Reimplement as lshrsi3_r0.
7035
7036 2012-09-10 Andreas Schwab <schwab (a] linux-m68k.org>
7037
7038 PR target/46191
7039 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7040 of libgcc.a.
7041
7042 2012-09-07 Teresa Johnson <tejohnson (a] google.com>
7043
7044 PR gcov-profile/54487
7045 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
7046 differences.
7047
7048 2012-09-05 Georg-Johann Lay <avr (a] gjlay.de>
7049
7050 PR target/54461
7051 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7052 not configured --with-avrlibc=no.
7053 * config/avr/t-avrlibc: New file.
7054 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7055 (DPBIT_FUNCS): Ditto.
7056 (TPBIT_FUNCS): Ditto.
7057
7058 2012-09-04 Teresa Johnson <tejohnson (a] google.com>
7059
7060 * libgcov.c (struct gcov_summary_buffer): New structure.
7061 (gcov_histogram_insert): New function.
7062 (gcov_compute_histogram): Ditto.
7063 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7064 histograms during summary merging.
7065
7066 2012-09-01 Mark Kettenis <kettenis (a] openbsd.org>
7067
7068 * config.host (x86_64-*-openbsd*): New target.
7069
7070 2012-08-29 Chung-Lin Tang <cltang (a] codesourcery.com>
7071
7072 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7073 attribute.
7074
7075 2012-08-24 Georg-Johann Lay <avr (a] gjlay.de>
7076
7077 PR target/54222
7078 * config/avr/t-avr (conv_X): Rename to func_X.
7079
7080 2012-08-24 Georg-Johann Lay <avr (a] gjlay.de>
7081
7082 PR target/54222
7083 * config/avr/lib1funcs-fixed.S: New file.
7084 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
7085 after they are used.
7086 (neg2, neg4): New macros.
7087 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7088 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7089 (__umulhisi3): Speed up MUL variant if there is enough flash.
7090 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7091 avr-modes.def.
7092 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7093 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7094 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7095 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7096 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7097 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7098 (LIB2FUNCS_EXCLUDE): Add supported functions.
7099
7100 2012-08-22 Georg-Johann Lay <avr (a] gjlay.de>
7101
7102 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7103 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7104 libgcc-s-objects.
7105 * fixed-obj.mk: Only expand dependency if $o is not in
7106 LIB2FUNCS_EXCLUDE.
7107
7108 2012-08-22 H.J. Lu <hongjiu.lu (a] intel.com>
7109
7110 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7111
7112 2012-08-22 Joseph Myers <joseph (a] codesourcery.com>
7113
7114 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7115 depend on --enable-shared.
7116 ($(lib1asmfuncs-o)): Use %.vis files independent of
7117 --enable-shared.
7118 * static-object.mk ($(base)$(objext), $(base).vis)
7119 ($(base)_s$(objext)): Use same rules for visibility handling as in
7120 shared-object.mk.
7121
7122 2012-08-21 Ian Lance Taylor <iant (a] google.com>
7123
7124 * config/i386/morestack.S (__morestack_non_split): Increase amount
7125 of space allocated for non-split code stack.
7126
7127 2012-08-19 Joseph Myers <joseph (a] codesourcery.com>
7128
7129 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7130 even if inhibit_libc.
7131
7132 2012-08-17 Julian Brown <julian (a] codesourcery.com>
7133
7134 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7135 -fexceptions -fnon-call-exceptions if not defined.
7136 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7137 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7138
7139 2012-08-17 Andreas Schwab <schwab (a] linux-m68k.org>
7140
7141 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7142 type.
7143
7144 2012-08-16 David Edelsohn <dje.gcc (a] gmail.com>
7145
7146 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7147 rs6000/t-slibgcc-aix.
7148
7149 2012-08-15 Segher Boessenkool <segher (a] kernel.crashing.org>
7150
7151 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7152
7153 2012-08-15 Segher Boessenkool <segher (a] kernel.crashing.org>
7154
7155 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7156
7157 2012-08-03 H.J. Lu <hongjiu.lu (a] intel.com>
7158
7159 PR driver/54171
7160 * Makefile.in (version): Replace top_srcdir with srcdir.
7161
7162 2012-08-03 Jonathan Yong <jon_y (a] users.sourceforge.net>
7163
7164 * Makefile.in (version): set to BASE-VER file from gcc directory.
7165
7166 2012-08-01 Nick Clifton <nickc (a] redhat.com>
7167
7168 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7169 Implements __clrsb for an HImode argument.
7170
7171 2012-07-31 Nick Clifton <nickc (a] redhat.com>
7172
7173 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7174 Implements __clrsb for an HImode argument.
7175 * config/stormy16/clrsbhi2.c: New file:
7176 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7177
7178 2012-07-22 Steven Bosscher <steven (a] gcc.gnu.org>
7179
7180 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7181
7182 2012-07-19 Tristan Gingold <gingold (a] adacore.com>
7183 Richard Henderson <rth (a] redhat.com>
7184
7185 * unwind-seh.c: New file.
7186 * unwind-generic.h: Include windows.h for SEH.
7187 (_Unwind_Exception): Use 6 private fields for SEH.
7188 (_GCC_specific_handler): Declare.
7189 * unwind-c.c (__gcc_personality_seh0): New function.
7190 Adjust for SEH.
7191 * config/i386/libgcc-cygming.ver: New file.
7192 * config/i386/t-seh-eh: New file.
7193 * config.host (x86_64-*-mingw*): Default to seh.
7194
7195 2012-07-14 Steven Bosscher <steven (a] gcc.gnu.org>
7196
7197 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7198
7199 2012-06-17 Uros Bizjak <ubizjak (a] gmail.com>
7200
7201 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7202 __builtin_expect when checking for exceptions.
7203 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7204
7205 2012-06-13 Uros Bizjak <ubizjak (a] gmail.com>
7206
7207 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7208 function declaration.
7209 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7210 (FP_RND_MASK): New.
7211 * config/ia64/sfp-exceptions.c: New.
7212 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7213
7214 2012-06-13 Uros Bizjak <ubizjak (a] gmail.com>
7215
7216 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7217 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7218 * config/i386/64/sfp-machine: ... (delete here) ...
7219 * config/i386/sfp-machine.h: ... to here.
7220 (FP_EX_MASK): Remove.
7221 (FP_RND_MASK): New.
7222 (FP_INIT_ROUNDMODE): Declare asm as volatile.
7223
7224 2012-06-11 Sriraman Tallam <tmsriram (a] google.com>
7225
7226 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7227 * config/i386/libgcc-sol2.ver: Ditto.
7228 * config/i386/libgcc-glibc.ver: Ditto.
7229
7230 2012-06-11 Roland McGrath <mcgrathr (a] google.com>
7231
7232 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7233 If __GLIBC__ is defined, refer to __pthread_key_create instead of
7234 pthread_cancel.
7235
7236 2012-06-09 Uros Bizjak <ubizjak (a] gmail.com>
7237
7238 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7239 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7240 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7241 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7242 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7243 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7244 * config/i386/64/sfp-machine: ... (delete here) ...
7245 * config/i386/sfp-machine.h: ... to here.
7246 (FP_EX_MASK): New.
7247 (__sfp_handle_exceptions): New function declaration.
7248 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7249 * config/i386/sfp-exceptions.c: New.
7250 * config/i386/t-softfp: New.
7251 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7252 i386/t-softfp to tmake_file.
7253
7254 2012-06-03 David S. Miller <davem (a] davemloft.net>
7255
7256 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7257 change.
7258
7259 2012-05-31 David S. Miller <davem (a] davemloft.net>
7260
7261 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7262 multiply and divide instructions on 32-bit when V9.
7263 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7264
7265 2012-05-29 Joseph Myers <joseph (a] codesourcery.com>
7266
7267 * config/arm/ieee754-df.S: Fix typos.
7268 * config/arm/ieee754-sf.S: Fix typos.
7269 * config/c6x/libunwind.S: Fix typos.
7270 * config/epiphany/udivsi3-float.c: Fix typos.
7271 * config/microblaze/muldi3_hard.S: Fix typos.
7272 * config/picochip/adddi3.S: Fix typos.
7273 * config/picochip/ashlsi3.S: Fix typos.
7274 * config/picochip/ashrsi3.S: Fix typos.
7275 * config/picochip/clzsi2.S: Fix typos.
7276 * config/picochip/cmpsi2.S: Fix typos.
7277 * config/picochip/divmod15.S: Fix typos.
7278 * config/picochip/divmodhi4.S: Fix typos.
7279 * config/picochip/divmodsi4.S: Fix typos.
7280 * config/picochip/longjmp.S: Fix typos.
7281 * config/picochip/lshrsi3.S: Fix typos.
7282 * config/picochip/parityhi2.S: Fix typos.
7283 * config/picochip/popcounthi2.S: Fix typos.
7284 * config/picochip/setjmp.S: Fix typos.
7285 * config/picochip/subdi3.S: Fix typos.
7286 * config/picochip/ucmpsi2.S: Fix typos.
7287 * config/picochip/udivmodhi4.S: Fix typos.
7288 * config/picochip/udivmodsi4.S: Fix typos.
7289 * config/spu/divv2df3.c: Fix typos.
7290 * config/spu/mfc_multi_tag_release.c: Fix typos.
7291 * config/spu/mfc_tag_release.c: Fix typos.
7292 * configure.ac: Fix typos.
7293 * configure: Regenerate.
7294
7295 2012-05-25 Ian Lance Taylor <iant (a] google.com>
7296
7297 * config/i386/morestack.S (__morestack_non_split): Check whether
7298 caller is varargs and needs %bp to hold the stack frame on return.
7299
7300 2012-05-25 Olivier Hainque <hainque (a] adacore.com>
7301
7302 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7303 sequence in the non pic case on VxWorks.
7304
7305 2012-05-24 Olivier Hainque <hainque (a] adacore.com>
7306
7307 * Makefile.in: Move dependency on install-unwind_h from
7308 "install-leaf" to "install".
7309
7310 2012-05-24 Olivier Hainque <hainque (a] adacore.com>
7311
7312 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7313 Use a separate command for stamp removals.
7314
7315 2012-05-21 Andrew Pinski <apinski (a] cavium.com>
7316
7317 PR bootstrap/53183
7318 * configure.ac: Define the default includes to being none.
7319 * configure: Regenerate.
7320
7321 2012-05-16 Olivier Hainque <hainque (a] adacore.com>
7322
7323 * Makefile.in (install-unwind_h): Rename into ...
7324 (install-unwind_h-forbuild): New target.
7325 (all): Use it instead of the former install-unwind_h.
7326 (install-unwind_h): Reinstate, copy to user install destination
7327 for include files, not to the internal gcc object directory one.
7328 (install-leaf): Depend on it.
7329
7330 2012-05-15 Olivier Hainque <hainque (a] adacore.com>
7331
7332 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7333 register numbers. LR_REGNO replaces R_LR.
7334 (ucontext_for): New, helper for ...
7335 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7336 and 5.3 of ...
7337 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7338
7339 2012-05-10 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
7340
7341 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7342 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7343 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7344 i386/t-cpuinfo ...
7345 (i[34567]86-*-*, x86_64-*-*): ... here.
7346
7347 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7348 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7349
7350 * config/i386/i386-cpuinfo.c: Rename to ...
7351 * config/i386/cpuinfo.c: ... this.
7352 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7353
7354 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7355 (libgcc_cv_init_priority): New test.
7356 * configure: Regenerate.
7357 * config.in: New file.
7358 * Makefile.in (clean): Rename config.h to auto-target.h.
7359 (config.h): Likewise.
7360 (stamp-h): Likewise.
7361
7362 * config/i386/cpuinfo.c (auto-target.h): Include.
7363 (CONSTRUCTOR_PRIORITY): Define.
7364 (__cpu_indicator_init): Use it.
7365
7366 2012-05-09 H.J. Lu <hongjiu.lu (a] intel.com>
7367
7368 * longlong.h: Use a URL instead of an FSF postal address.
7369 Replace spaces with tab.
7370
7371 2012-05-08 Teresa Johnson <tejohnson (a] google.com>
7372
7373 * libgcov.c (gcov_clear, __gcov_reset): New functions.
7374 (__gcov_dump): Ditto.
7375 (gcov_dump_complete): New global variable.
7376 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7377 (__gcov_flush): Outline functionality now in gcov_clear.
7378 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7379
7380 2012-04-28 Aurelien Jarno <aurelien (a] aurel32.net>
7381
7382 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7383 (mips*-*-linux*): Include mips/t-tpbit when long double is
7384 16 bytes long.
7385
7386 2012-04-25 Sriraman Tallam <tmsriram (a] google.com>
7387
7388 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7389 (get_available_features): New argument. Check for AVX2.
7390 (__cpu_indicator_init): Modify call to get_available_features.
7391
7392 2012-04-25 Alan Modra <amodra (a] gmail.com>
7393
7394 * config/rs6000/crtsavevr.S: New file.
7395 * config/rs6000/crtrestvr.S: New file.
7396 * config/rs6000/t-savresfgpr: Build the above.
7397 * config/rs6000/t-netbsd: Likewise.
7398
7399 2012-04-24 Sriraman Tallam <tmsriram (a] google.com>
7400
7401 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7402
7403 2012-04-24 Sriraman Tallam <tmsriram (a] google.com>
7404
7405 * libgcc/config/i386/i386-cpuinfo.c: New file.
7406 * libgcc/config/i386/t-cpuinfo: New file.
7407 * libgcc/config.host: Include t-cpuinfo.
7408 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7409
7410 2012-04-24 Chao-ying Fu <fu (a] mips.com>
7411
7412 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7413
7414 2012-04-20 Thomas Schwinge <thomas (a] codesourcery.com>
7415
7416 struct siginfo vs. siginfo_t
7417
7418 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7419 siginfo_t instead of struct siginfo.
7420 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7421 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7422 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7423 (ia64_handle_unwabi): Likewise.
7424 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7425 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7426 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7427 (sh_fallback_frame_state): Likewise.
7428 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7429 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7430
7431 2012-04-02 H.J. Lu <hongjiu.lu (a] intel.com>
7432
7433 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7434 system call number.
7435
7436 2012-03-31 Eric Botcazou <ebotcazou (a] adacore.com>
7437
7438 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7439 if it hasn't been previously saved.
7440
7441 2012-03-29 H.J. Lu <hongjiu.lu (a] intel.com>
7442
7443 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7444 only for glibc.
7445
7446 2012-03-28 Georg-Johann Lay <avr (a] gjlay.de>
7447
7448 PR target/52737
7449 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7450 instead of __AVR_HAVE_8BIT_SP__.
7451
7452 2012-03-26 Tristan Gingold <gingold (a] adacore.com>
7453
7454 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7455 (unw_table_entry): Use unw_word instead of unsigned long.
7456 (_Unwind_FindTableEntry): Likewise.
7457 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7458 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7459 (_Unwind_FindTableEntry): Likewise.
7460 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7461 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7462 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7463 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7464 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7465 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7466 (uw_init_context_1, uw_install_context): Likewise.
7467 (unw_word): Move to unwind-ia64.h
7468
7469 2012-03-26 Tristan Gingold <gingold (a] adacore.com>
7470
7471 * config/vms/vms-ucrt0.c: Update copyright years.
7472 Add a sanity check.
7473 (___gcc_main_flags): Declare.
7474 (__main): Check flags to remap argv and exit code.
7475 * config.host (*-*-*vms*): Adjust extra_parts.
7476 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7477 (crt0.o): Add.
7478
7479 2012-03-22 Richard Earnshaw <rearnsha (a] arm.com>
7480
7481 * arm/lib1funcs.asm (ctzsi2): New function.
7482 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7483 * arm/t-linux (LIB1ASMFUNCS): Likewise.
7484 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7485 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7486 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7487 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7488
7489 2012-03-21 Andreas Tobler <andreast (a] fgznet.ch>
7490
7491 * config.host: Add bits to support powerpc64-*-freebsd*.
7492 * config/rs6000/freebsd-unwind.h: New file.
7493 * config/rs6000/t-freebsd64: New file.
7494
7495 2012-03-20 Richard Guenther <rguenther (a] suse.de>
7496
7497 PR gcov-profile/52627
7498 * libgcov.c (init_mx): Fix mutex name.
7499
7500 2012-03-16 Tristan Gingold <gingold (a] adacore.com>
7501
7502 * config/ia64/vms-unwind.h: Remove ulong (and replace
7503 it by unw_reg where used). Define unw_reg with __int64.
7504
7505 2012-03-14 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
7506
7507 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7508 Solaris 8 handling.
7509 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7510 Solaris 8 handling.
7511 (sparc_is_sighandler): Likewise.
7512
7513 2012-03-13 H.J. Lu <hongjiu.lu (a] intel.com>
7514
7515 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7516 <= saved reg size.
7517
7518 2012-03-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
7519
7520 * config/arm/crtn.S: Fix typo.
7521
7522 2012-03-13 Richard Guenther <rguenther (a] suse.de>
7523
7524 * libgcov.c: Remove stdio.h include and NULL un-define.
7525
7526 2012-03-13 Richard Guenther <rguenther (a] suse.de>
7527
7528 PR target/52569
7529 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7530
7531 2012-03-13 Richard Guenther <rguenther (a] suse.de>
7532
7533 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7534
7535 2012-03-13 Richard Guenther <rguenther (a] suse.de>
7536
7537 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7538 and __gthread_mutex_init_function definitions.
7539
7540 2012-03-12 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
7541
7542 * config.host (mips*-*-openbsd*): Remove.
7543
7544 2012-03-12 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
7545
7546 * config.host: Remove alpha*-dec-osf5.1* handling.
7547 * config/alpha/gthr-posix.c: Remove.
7548 * config/alpha/libgcc-osf5.ver: Remove.
7549 * config/alpha/osf5-unwind.h: Remove.
7550 * config/alpha/t-osf-pthread: Remove.
7551 * config/alpha/t-slibgcc-osf: Remove.
7552 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7553 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7554 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7555 * mkmap-flat.awk: Remove osf_export handling.
7556
7557 2012-03-12 Richard Guenther <rguenther (a] suse.de>
7558
7559 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7560 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7561 (__gthread_mutex_init_function): New function.
7562 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7563
7564 PR gcov/49484
7565 * libgcov.c: Include gthr.h.
7566 (__gcov_flush_mx): New global variable.
7567 (init_mx, init_mx_once): New functions.
7568 (__gcov_flush): Protect self with a mutex.
7569 (__gcov_fork): Re-initialize mutex after forking.
7570 * unwind-dw2-fde.c: Change condition under which to use
7571 __GTHREAD_MUTEX_INIT_FUNCTION.
7572
7573 2012-03-12 Tristan Gingold <gingold (a] adacore.com>
7574
7575 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7576 * config/ia64/t-vms: Likewise.
7577
7578 2012-03-11 Michael Hope <michael.hope (a] linaro.org>
7579
7580 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7581 for Thumb-2.
7582
7583 2012-03-07 Walter Lee <walt (a] tilera.com>
7584
7585 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7586 "arch_atomic_".
7587 (atomic_xor): Rename and move definition to
7588 config/tilepro/atomic.h.
7589 (atomic_nand): Ditto.
7590 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7591 "arch_atomic_".
7592 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7593 (arch_atomic_nand): Ditto.
7594
7595 2012-03-07 Georg-Johann Lay <avr (a] gjlay.de>
7596
7597 PR target/52507
7598 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7599
7600 2012-03-07 Georg-Johann Lay <avr (a] gjlay.de>
7601
7602 PR target/52505
7603 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7604 from RAM.
7605
7606 2012-03-07 Georg-Johann Lay <avr (a] gjlay.de>
7607
7608 PR target/52461
7609 PR target/52508
7610 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7611 if RAMPZ affects reading from RAM.
7612 (__tablejump_elpm__): Ditto.
7613 (.xload): Ditto.
7614 (__movmemx_hi): Ditto.
7615 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7616 (__do_global_dtors): Ditto.
7617 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7618 (__movmemx_hi): Ditto.
7619
7620 2012-03-05 Richard Henderson <rth (a] redhat.com>
7621
7622 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7623 [ARM] (count_trailing_zeros): Use the builtin.
7624
7625 2012-03-01 Kai Tietz <ktietz (a] redhat.com>
7626
7627 * soft-fp: Imported from glibc upstream.
7628
7629 2012-02-28 Kai Tietz <ktietz (a] redhat.com>
7630
7631 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7632 for mingw-targets as attribute gcc_struct.
7633
7634 2012-02-28 Ian Lance Taylor <iant (a] google.com>
7635
7636 * generic-morestack.c (__splitstack_releasecontext): Correct call
7637 to __morestack_release_segments.
7638
7639 2012-02-27 Samuel Thibault <samuel.thibault (a] ens-lyon.org>
7640
7641 PR target/52390
7642 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7643 for __linux__ when removing signals from __morestack_fullmask.
7644
7645 2012-02-23 Georg-Johann Lay <avr (a] gjlay.de>
7646
7647 PR target/52261
7648 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7649
7650 2012-02-23 Ulrich Weigand <Ulrich.Weigand (a] de.ibm.com>
7651
7652 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7653 instead of HAVE_INITFINI_ARRAY.
7654 * config/ia64/crtend.S: Likewise.
7655
7656 2012-02-20 Kai Tietz <ktietz (a] redhat.com>
7657
7658 PR libstdc++/52300
7659 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7660
7661 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7662 to w32-unwind.h header.
7663
7664 2012-02-19 Richard Sandiford <rdsandiford (a] googlemail.com>
7665
7666 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7667 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7668 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7669 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7670
7671 2012-02-19 Richard Sandiford <rdsandiford (a] googlemail.com>
7672
7673 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7674
7675 2012-02-15 Iain Sandoe <iains (a] gcc.gnu.org>
7676
7677 PR libitm/52220
7678 * config/darwin-crt-tm.c: Correct typo.
7679
7680 2012-02-15 Iain Sandoe <iains (a] gcc.gnu.org>
7681 Patrick Marlier <patrick.marlier (a] gmail.com>
7682
7683 PR libitm/52220
7684 * config/darwin-crt-tm.c: Generate dummy functions.
7685
7686 2012-02-15 Iain Sandoe <iains (a] gcc.gnu.org>
7687 Patrick Marlier <patrick.marlier (a] gmail.com>
7688
7689 PR libitm/52042
7690 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7691 (__doTMRegistrations): Call it.
7692 (__doTMdeRegistrations): Likewise.
7693
7694 2012-01-15 Georg-Johann Lay <avr (a] gjlay.de>
7695 Anatoly Sokolov <aesok (a] post.ru>
7696 Eric Weddington <eric.weddington (a] atmel.com>
7697
7698 PR target/52261
7699 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7700 (__epilogue_restores__): Ditto.
7701
7702 2012-02-15 Eric Botcazou <ebotcazou (a] adacore.com>
7703
7704 PR target/51921
7705 PR target/52205
7706 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7707 Solaris 11 and slightly reformat.
7708 (sparc_is_sighandler): Likewise.
7709
7710 2012-02-14 Walter Lee <walt (a] tilera.com>
7711
7712 * config.host: Handle tilegx and tilepro.
7713 * config/tilegx/sfp-machine.h: New file.
7714 * config/tilegx/sfp-machine32.h: New file.
7715 * config/tilegx/sfp-machine64.h: New file.
7716 * config/tilegx/t-crtstuff: New file.
7717 * config/tilegx/t-softfp: New file.
7718 * config/tilegx/t-tilegx: New file.
7719 * config/tilepro/atomic.c: New file.
7720 * config/tilepro/atomic.h: New file.
7721 * config/tilepro/linux-unwind.h: New file.
7722 * config/tilepro/sfp-machine.h: New file.
7723 * config/tilepro/softdivide.c: New file.
7724 * config/tilepro/softmpy.S: New file.
7725 * config/tilepro/t-crtstuff: New file.
7726 * config/tilepro/t-tilepro: New file.
7727
7728 2012-02-07 Jonathan Wakely <jwakely.gcc (a] gmail.com>
7729
7730 PR libstdc++/51296
7731 PR libstdc++/51906
7732 * gthr-posix.h: Allow static initializer macros to be disabled.
7733 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7734
7735 2012-02-05 Chung-Lin Tang <cltang (a] codesourcery.com>
7736
7737 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7738 Add t-slibgcc-libgcc to tmake_file.
7739 * config/mips/libgcc-mips16.ver: Revert previous patch.
7740 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7741
7742 2012-02-02 Sumanth G <sumanth.gundapaneni (a] kpitcummins.com>
7743 Jayant R Sonar <jayant.sonar (a] kpitcummins.com>
7744
7745 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7746 * config/cr16/crti.S: New file.
7747 * config/cr16/crtlibid.S: New file.
7748 * config/cr16/crtn.S: New file.
7749 * config/cr16/lib1funcs.S: New file.
7750 * config/cr16/t-cr16: New file.
7751 * config/cr16/t-crtlibid: New file.
7752 * config/cr16/unwind-dw2.h: New file.
7753 * config/cr16/unwind-cr16.c: New file.
7754 * config/cr16/divmodhi3.c: New file.
7755
7756 2012-01-25 Alan Modra <amodra (a] gmail.com>
7757
7758 * config/rs6000/t-linux64: Delete. Move..
7759 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7760 * config/rs6000/t-linux: ..and libgcc flags to here.
7761
7762 2012-01-22 Douglas B Rupp <rupp (a] gnat.com>
7763
7764 * config.host (i[34567]86-*-interix3*):
7765 Change triplet to i[34567]86-*-interix[3-9]*.
7766 * configure: Regenerate.
7767
7768 2012-01-15 Chung-Lin Tang <cltang (a] codesourcery.com>
7769 Richard Sandiford <rdsandiford (a] googlemail.com>
7770
7771 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7772 * config/mips/mips16.S (__mips16_rdhwr): New function.
7773 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7774
7775 2012-01-11 Nathan Sidwell <nathan (a] acm.org>
7776
7777 * libgcov.c (__gcov_init): Ignore objects with no functions.
7778
7779 2012-01-10 Georg-Johann Lay <avr (a] gjlay.de>
7780
7781 PR target/49868
7782 Extend __pgmx semantics to linearize memory.
7783 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7784 * config/avr/lib1funcs.S (__xload_1): New function.
7785 (__movmemx_qi, __movmemx_hi): New functions.
7786 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7787 semantics.
7788
7789 2012-01-09 Eric Botcazou <ebotcazou (a] adacore.com>
7790
7791 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7792 purported sigacthandler address isn't null before dereferencing it.
7793 (sparc_is_sighandler): Likewise.
7794
7795 2012-01-09 Eric Botcazou <ebotcazou (a] adacore.com>
7796
7797 PR ada/41929
7798 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7799 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7800 (sparc_is_sighandler): Likewise.
7801 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7802
7803 2012-01-06 Tristan Gingold <gingold (a] adacore.com>
7804
7805 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7806 compatibility thunks...
7807 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7808 (crtbeginS.o, crtendS.o): ... and these to ...
7809 * config/ia64/t-ia64-elf: ... this new file.
7810 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7811 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7812
7813 2012-01-04 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
7814
7815 * configure: Regenerate.
7816 * config/s390/t-crtstuff: Remove -fPIC.
7817
7818 2012-01-02 Jonathan Wakely <jwakely.gcc (a] gmail.com>
7819
7820 PR bootstrap/51006
7821 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7822 for NetBSD.
7823
7824 2012-01-02 Georg-Johann Lay <avr (a] gjlay.de>
7825
7826 PR target/51345
7827 * config/avr/lib1funcs.S: Remove FIXME comments.
7828 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7829
7830 2012-01-02 Georg-Johann Lay <avr (a] gjlay.de>
7831
7832 Implement light-weight DImode support.
7833 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7834 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7835 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7836 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7837
7838 2011-12-30 Nathan Sidwell <nathan (a] acm.org>
7839
7840 * libgcov.c (gcov_crc32): Remove global var.
7841 (free_fn_data): New function.
7842 (buffer_fn_data): Pass in filename, more robust error recovery.
7843 (crc32_unsigned): New function.
7844 (gcov_exit): More robust detection of new program. More robust
7845 error recovery.
7846 (__gcov_init): Do not update program's crc here.
7847
7848 2011-12-21 Tristan Gingold <gingold (a] adacore.com>
7849
7850 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7851
7852 2011-12-21 Ian Lance Taylor <iant (a] google.com>
7853
7854 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7855
7856 2011-12-20 Ian Lance Taylor <iant (a] google.com>
7857
7858 * config/i386/morestack.S (__morestack_non_split): If there is
7859 enough stack space already, don't split. Ask for more stack space
7860 than we required.
7861
7862 2011-12-20 Sergio Durigan Junior <sergiodj (a] redhat.com>
7863
7864 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7865 `sys/sdt.h'.
7866 (_Unwind_DebugHook): New function.
7867 (uw_restore_core_regs): New define.
7868 (unwind_phase2): Use uw_restore_core_regs instead of
7869 restore_core_regs.
7870 (unwind_phase2_forced): Likewise.
7871 (__gnu_Unwind_Resume): Likewise.
7872
7873 2011-12-20 Uros Bizjak <ubizjak (a] gmail.com>
7874
7875 * config/alpha/linux-unwind.h: Update copyright years.
7876 (MD_FROB_UPDATE_CONTEXT): New define.
7877 (alpha_frob_update_context): New function.
7878
7879 2011-12-17 Richard Sandiford <rdsandiford (a] googlemail.com>
7880
7881 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7882 tmake_file rather replacing it.
7883
7884 2011-12-15 Iain Sandoe <iains (a] gcc.gnu.org>
7885
7886 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
7887 function is not used for PPC64.
7888 (save_world): Amend comments. Update the VRsave mask to reflect the
7889 saved regs.
7890 (rest_world): Update comments, do not clobber r10, do not use r8.
7891 (eh_rest_world_r10): Amend comments, do not use r8.
7892 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7893 no longer used, move restore of CR and target address to the end of
7894 the routine.
7895
7896 2011-12-14 H.J. Lu <hongjiu.lu (a] intel.com>
7897
7898 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7899 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7900
7901 2011-12-14 Georg-Johann Lay <avr (a] gjlay.de>
7902
7903 PR target/49313
7904 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7905 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7906
7907 2011-12-11 Eric Botcazou <ebotcazou (a] adacore.com>
7908
7909 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7910
7911 2011-12-09 Georg-Johann Lay <avr (a] gjlay.de>
7912
7913 PR target/49313
7914 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7915 * config/avr/lib1funcs.S (__muldi3): New function.
7916
7917 2011-12-06 Andrew Pinski <apinski (a] cavium.com>
7918
7919 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7920 size of func_ptr.
7921 (__frame_dummy_init_array_entry): Likewise.
7922
7923 2011-12-06 Georg-Johann Lay <avr (a] gjlay.de>
7924
7925 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7926
7927 PR target/51345
7928 PR target/51002
7929 * config/avr/lib1funcs.S (__prologue_saves__,
7930 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7931 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7932
7933 2011-12-04 Iain Sandoe <iains (a] gcc.gnu.org>
7934
7935 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7936
7937 2011-11-30 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
7938
7939 PR other/51272
7940 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7941 (_ITM_deregisterTMCloneTable): Likewise.
7942 (__register_frame_info): Fix unused warning.
7943 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7944 pthread_default_stacksize_np): Likewise.
7945 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
7946
7947 2011-11-29 DJ Delorie <dj (a] redhat.com>
7948
7949 * config.host (rl78-*-elf): New case.
7950 * config/rl78: New directory for the Renesas RL78.
7951
7952 2011-11-29 Bernd Schmidt <bernds (a] codesourcery.com>
7953
7954 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7955 formatting.
7956
7957 2011-11-28 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
7958
7959 PR other/51022
7960 * config/rs6000/t-savresfgpr: New file.
7961 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7962 $(srcdir)/config/rs6000/eabi.S.
7963 * config/rs6000/t-ppccomm-ldbl: Remove.
7964 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7965 tmake_file.
7966 (powerpc-*-eabispe*): Likewise.
7967 (powerpc-*-eabi*): Likewise.
7968 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7969 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7970 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7971 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7972 tmake_file.
7973 (powerpc-*-eabisim*): Likewise.
7974 (powerpc-*-elf*): Likewise.
7975 (powerpc-*-eabialtivec*): Likewise.
7976 (powerpc-xilinx-eabi*): Likewise.
7977 (powerpc-*-rtems*): Likewise.
7978 (powerpcle-*-elf*): Likewise.
7979 (powerpcle-*-eabisim*): Likewise.
7980 (powerpcle-*-eabi*): Likewise.
7981
7982 2011-11-27 Ian Lance Taylor <iant (a] google.com>
7983
7984 * generic-morestack.c (__splitstack_find): Check for NULL old
7985 stack value.
7986 (__splitstack_resetcontext): New function.
7987 (__splitstack_releasecontext): New function.
7988 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7989
7990 2011-11-27 Iain Sandoe <iains (a] gcc.gnu.org>
7991
7992 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7993
7994 2011-11-27 Iain Sandoe <iains (a] gcc.gnu.org>
7995
7996 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7997
7998 2011-11-26 Richard Henderson <rth (a] redhat.com>
7999
8000 * config/m68k/linux-atomic.c: New file.
8001 * config/m68k/t-linux: New file.
8002 * config.host (m68k-uclinux, m68k-linux): Use it.
8003
8004 2011-11-26 Richard Henderson <rth (a] redhat.com>
8005
8006 * crtstuff.c (__TMC_LIST__): Mark used not unused.
8007 (__TMC_END__): Only declare if hidden is available; in the definition,
8008 if hidden is unavailable add a null record.
8009 (deregister_tm_clones, register_tm_clones): New.
8010 (__do_global_dtors_aux, frame_dummy): Use them.
8011 (__do_global_dtors, __do_global_ctors_1): Likewise.
8012
8013 2011-11-22 Iain Sandoe <iains (a] gcc.gnu.org>
8014
8015 * config/darwin-crt-tm.c: New file.
8016 * config.host (darwin): Build crttms.o crttme.o to provide
8017 startup and shutdown for tm clones.
8018 * config/t-darwin (crttms.o): New build rule.
8019 (crttme.o): Likewise.
8020
8021 2011-11-21 Hans-Peter Nilsson <hp (a] axis.com>
8022
8023 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8024 et al.
8025
8026 2011-11-21 Richard Henderson <rth (a] redhat.com>
8027
8028 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8029 (__TMC_LIST__, __TMC_END__): New.
8030 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8031 (__do_global_dtors): Likewise.
8032 (frame_dummy): Call _ITM_registerTMCloneTable.
8033 (__do_global_ctors_1): Likewise.
8034
8035 2011-11-21 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8036
8037 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8038 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8039 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8040 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8041 * config/i386/t-darwin64: Remove.
8042 * config/sh/t-netbsd (LIB2ADD): Remove.
8043
8044 2011-11-21 Georg-Johann Lay <avr (a] gjlay.de>
8045
8046 PR target/49313
8047 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8048 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8049 * config/avr/lib1funcs.S (wmov): New assembler macro.
8050 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8051 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8052 (__udivmod64): New function.
8053 (__negdi2): New function.
8054
8055 2011-11-21 Gerald Pfeifer <gerald (a] pfeifer.com>
8056
8057 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8058 *-*-freebsd*aout*): Remove.
8059
8060 2011-11-20 Hans-Peter Nilsson <hp (a] axis.com>
8061
8062 * static-object.mk (c_flags-$o): Save c_flags.
8063 ($(base)$(objext)): Use it.
8064
8065 2011-11-18 Steve Ellcey <sje (a] cup.hp.com>
8066
8067 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8068
8069 2011-11-18 Georg-Johann Lay <avr (a] gjlay.de>
8070
8071 PR target/49868
8072 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8073 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8074 New functions.
8075
8076 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann (a] arm.com>
8077
8078 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8079 functions.
8080 (aeabi_uidivmod): Likewise.
8081 (umodsi3): Likewise.
8082 (divsi3): Likewise.
8083 (aeabi_idivmod): Likewise.
8084 (modsi3): Likewise.
8085
8086 2011-11-16 Tristan Gingold <gingold (a] adacore.com>
8087
8088 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8089
8090 2011-11-15 Georg-Johann Lay <avr (a] gjlay.de>
8091
8092 PR target/49868
8093 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
8094 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8095
8096 2011-11-13 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
8097
8098 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8099 tmake_file list.
8100 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8101 * config/pa/t-stublib64: Delete.
8102
8103 2011-11-12 Richard Henderson <rth (a] redhat.com>
8104
8105 * config/rs6000/linux-unwind.h (frob_update_context): Properly
8106 cast the pointer argument to _Unwind_SetGRPtr.
8107
8108 2011-11-11 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8109
8110 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8111
8112 2011-11-09 Ian Lance Taylor <iant (a] google.com>
8113
8114 * generic-morestack.c: Include <string.h>.
8115 (uintptr_type): Define.
8116 (struct initial_sp): Add dont_block_signals field. Reduce size of
8117 extra array by 1.
8118 (allocate_segment): Set prev field to NULL. Don't set
8119 __morestack_current_segment or __morestack_segments.
8120 (__generic_morestack): Update current->prev and *pp after calling
8121 allocate_segment.
8122 (__morestack_block_signals): Don't do anything if
8123 dont_block_signals is set.
8124 (__morestack_unblock_signals): Likewise.
8125 (__generic_findstack): Check for initial_sp == NULL. Add casts to
8126 uintptr_type.
8127 (__splitstack_block_signals): New function.
8128 (enum __splitstack_content_offsets): Define.
8129 (__splitstack_getcontext, __splitstack_setcontext): New functions.
8130 (__splitstack_makecontext): New function.
8131 (__splitstack_block_signals_context): New function.
8132 (__splitstack_find_context): New function.
8133 * config/i386/morestack.S (__morestack_get_guard): New function.
8134 (__morestack_set_guard, __morestack_make_guard): New functions.
8135 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8136
8137 2011-11-09 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8138
8139 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8140 (i[34567]86-*-mingw*): ... here.
8141 (x86_64-*-mingw*): ... here.
8142
8143 2011-11-08 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8144
8145 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8146
8147 2011-11-07 Nathan Sidwell <nathan (a] acm.org>
8148
8149 * libgcov.c (struct gcov_fn_buffer): New struct.
8150 (buffer_fn_data): New helper.
8151 (gcov_exit): Rework for new gcov data structures.
8152
8153 2011-11-07 Georg-Johann Lay <avr (a] gjlay.de>
8154
8155 PR target/49313
8156 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8157
8158 2011-11-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8159
8160 * config.host (tmake_file): Correct comment.
8161 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8162 t-libgcc-pic.
8163 (bfin*-uclinux*): Likewise.
8164 (bfin*-linux-uclibc*): Likewise.
8165 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8166
8167 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8168 assigning.
8169 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8170 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8171 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8172 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8173 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8174 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8175 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8176 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8177 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8178 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8179 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8180 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8181 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8182
8183 * config/bfin/t-elf: Remove.
8184 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8185
8186 2011-11-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8187
8188 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8189 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8190 (lm32-*-elf*, lm32-*-rtems*): Split into ...
8191 (lm32-*-elf*): ... this.
8192 (lm32-*-rtems*): ... and this.
8193 Add to tmake_file.
8194 (m32r-*-rtems*): Add to tmake_file.
8195 (moxie-*-rtems*): Likewise.
8196 (sparc-*-rtems*): Likewise.
8197 Remove t-rtems from tmake_file.
8198 (sparc64-*-rtems*): Likewise.
8199 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8200 instead.
8201
8202 2011-11-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8203
8204 PR bootstrap/50982
8205 * config/gthr-posix.h: Move ...
8206 * gthr-posix.h: ... here.
8207 * config/gthr-lynx.h: Reflect this.
8208 * config/gthr-vxworks.h: Likewise.
8209 * config/rs6000/gthr-aix.h: Likewise.
8210 * configure.ac (target_thread_file): Likewise.
8211 * configure: Regenerate.
8212
8213 2011-11-06 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
8214
8215 * config.host (arm*-*-rtemseabi*): New target.
8216
8217 2011-11-06 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
8218
8219 PR other/50991
8220 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8221 extra-parts.
8222
8223 2011-11-05 Joern Rennecke <joern.rennecke (a] embecosm.com>
8224
8225 * config.host (epiphany-*-elf*): New configuration.
8226 * config/epiphany: New Directory.
8227
8228 2011-11-05 Ralf Corspius <ralf.corsepius (a] rtems.org>
8229
8230 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8231 * config/avr/t-rtems: New.
8232 Filter out _exit from LIB1ASMFUNCS.
8233
8234 2011-11-04 David S. Miller <davem (a] davemloft.net>
8235
8236 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8237 * configure: Rebuild.
8238
8239 2011-11-04 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
8240
8241 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8242 variable.
8243
8244 2011-11-04 Georg-Johann Lay <avr (a] gjlay.de>
8245
8246 PR target/50931
8247 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8248 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8249
8250 2011-11-04 Joel Sherrill <joel.sherrill (a] oarcorp.com>
8251
8252 PR target/50989
8253 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8254
8255 2011-11-04 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8256
8257 * config/c6x/t-elf (LIB2ADDEH): Set.
8258 * config/c6x/t-c6x-elf: Remove.
8259
8260 2011-11-04 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8261
8262 * config/i386/sol2-ci.S: Rename to ...
8263 * config/i386/crti.S: ... this.
8264 * config/i386/sol2-cn.S: Rename to ...
8265 * config/i386/crtn.S: ... this.
8266 * config/sparc/sol2-ci.S: Rename to ...
8267 * config/sparc/crti.S: ... this.
8268 * config/sparc/sol2-cn.S: Rename to ...
8269 * config/sparc/crtn.S: ... this.
8270 * config/t-sol2 (CUSTOM_CRTIN): Remove.
8271 (crti.o, crtn.o): Remove.
8272
8273 2011-11-04 Tristan Gingold <gingold (a] adacore.com>
8274
8275 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8276
8277 2011-11-04 Kaz Kojima <kkojima (a] gcc.gnu.org>
8278
8279 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8280
8281 2011-11-03 Hans-Peter Nilsson <hp (a] axis.com>
8282
8283 * config.host (crisv32-*-none, cris-*-none): Remove.
8284 (crisv32-*-elf): Append to tmake_file, don't just set it.
8285 (cris-*-elf): Add missing t-fdpbit to tmake_file.
8286
8287 2011-11-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8288
8289 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8290 (ecrtn$(objext)): Likewise.
8291 (ncrti$(objext)): Likewise.
8292 (ncrtn$(objext)): Likewise.
8293
8294 2011-11-03 Andreas Schwab <schwab (a] redhat.com>
8295
8296 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8297
8298 2011-11-02 David S. Miller <davem (a] davemloft.net>
8299
8300 * configure.ac: Set host_address on sparc too.
8301 * configure: Regenerate.
8302 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8303 based upon host_address.
8304 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8305
8306 2011-11-02 Jason Merrill <jason (a] redhat.com>
8307
8308 * config/rs6000/t-ppccomm: Add missing \.
8309
8310 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8311
8312 * gthr-single.h, gthr.h: New files.
8313 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8314 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8315 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8316 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8317 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8318 * configure.ac (thread_header): New variable.
8319 Set it depending on target_thread_file.
8320 (gthr-default.h): Link from $thread_header.
8321 * configure: Regenerate.
8322 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8323
8324 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8325
8326 * configure.ac (tm_file_): New variable.
8327 Determine from tm_file.
8328 (tm_file, tm_defines): Substitute.
8329 * configure: Regenerate.
8330 * mkheader.sh: New file.
8331 * Makefile.in (clean): Remove libgcc_tm.h.
8332 ($(objects)): Depend on libgcc_tm.h.
8333 (libgcc_tm_defines, libgcc_tm_file): New variables.
8334 (libgcc_tm.h, libgcc_tm.stamp): New targets.
8335 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8336 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8337 ($(extra-parts)): Depend on libgcc_tm.h.
8338 * config.host (tm_defines, tm_file): New variable.
8339 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8340 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8341 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8342 (avr-*-rtems*): Likewise.
8343 (avr-*-*): Likewise.
8344 (frv-*-elf): Likewise.
8345 (frv-*-*linux*): Likewise.
8346 (h8300-*-rtems*): Likewise.
8347 (h8300-*-elf*): Likewise.
8348 (i[34567]86-*-darwin*): Likewise.
8349 (x86_64-*-darwin*): Likewise.
8350 (rx-*-elf): Likewise.
8351 (tic6x-*-uclinux): Likewise.
8352 (tic6x-*-elf): Likewise.
8353 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8354 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8355 * config/i386/cygming-crtbegin.c: Likewise.
8356 * config/i386/cygming-crtend.c: Likewise.
8357 * config/ia64/fde-vms.c: Likewise.
8358 * config/ia64/unwind-ia64.c: Likewise.
8359 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8360 * config/rs6000/darwin-fallback.c: Likewise.
8361 * config/stormy16/lib2funcs.c: Likewise.
8362 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8363 * crtstuff.c: Likewise.
8364 * dfp-bit.h: Likewise.
8365 * emutls.c: Likewise.
8366 * fixed-bit.c: Likewise.
8367 * fp-bit.c: Likewise.
8368 * generic-morestack-thread.c: Likewise.
8369 * generic-morestack.c: Likewise.
8370 * libgcc2.c: Likewise.
8371 * libgcov.c: Likewise.
8372 * unwind-dw2-fde-dip.c: Likewise.
8373 * unwind-dw2-fde.c: Likewise.
8374 * unwind-dw2.c: Likewise.
8375 * unwind-sjlj.c: Likewise.
8376
8377 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8378
8379 * configure.ac: Include ../config/picflag.m4.
8380 (GCC_PICFLAG): Call it.
8381 Substitute.
8382 * configure: Regenerate.
8383 * Makefile.in (gcc_srcdir): Remove.
8384 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8385 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8386 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8387 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8388 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8389 Use $<.
8390 Remove comment.
8391 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8392 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8393 to refer to libgcc2.c.
8394 Use $<.
8395 * config/darwin-64.c: New file.
8396 * config/darwin-crt3.c: Remove comment.
8397 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8398 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8399 config/udivmodsi4.c: New files.
8400 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8401 config/memset.c: New files.
8402 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8403 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8404 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8405 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8406 * config/t-openbsd-thread: New file.
8407 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8408 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8409 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8410 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8411 qrnnd.S.
8412 Adapt filename.
8413 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8414 to refer to gthr-posix.c.
8415 * config/alpha/t-vms (LIB2ADD): Set.
8416 * config/alpha/vms-gcc_shell_handler.c: New file.
8417 * config/arm/bpabi.c, config/arm/fp16.c,
8418 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8419 config/arm/unaligned-funcs.c: New files.
8420 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8421 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8422 * config/arm/t-linux: Likewise.
8423 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8424 * config/arm/t-netbsd: New file.
8425 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8426 * config/arm/t-symbian (LIB2ADD_ST): Set.
8427 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8428 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8429 * config/bfin/t-elf: New file.
8430 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8431 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8432 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8433 config/c6x/ltf.c: New files.
8434 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8435 (HOST_LIBGCC2_CFLAGS): Set.
8436 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8437 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8438 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8439 New files.
8440 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8441 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8442 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8443 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8444 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8445 files.
8446 * config/frv/t-frv (LIB2ADD): Set.
8447 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8448 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8449 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8450 config/h8300/popcounthi2.c: New files.
8451 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8452 * config/i386/gthr-win32.c: New file.
8453 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8454 * config/i386/t-cygwin: Likewise.
8455 * config/i386/t-darwin, config/i386/t-darwin64,
8456 config/i386/t-gthr-win32, config/i386/t-interix: New files.
8457 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8458 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8459 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8460 * config/ia64/quadlib.c: New file.
8461 * config/ia64/t-hpux (LIB2ADD): Set.
8462 * config/ia64/t-ia64: Add comment.
8463 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8464 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8465 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8466 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8467 * config/m32c/t-m32c (LIB2ADD): Set.
8468 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8469 * config/m32r/t-m32r: Likewise.
8470 * config/m68k/fpgnulib.c: New file.
8471 * config/m68k/t-floatlib (LIB2ADD): Set.
8472 (xfgnulib.c): New target.
8473 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8474 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8475 * config/mep/t-mep (LIB2ADD): Set.
8476 * config/microblaze/divsi3.asm: Rename to divsi3.S.
8477 * config/microblaze/moddi3.asm: Rename to moddi3.S.
8478 * config/microblaze/modsi3.asm: Rename to modsi3.S.
8479 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8480 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8481 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8482 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8483 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8484 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8485 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8486 New files.
8487 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8488 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8489 * config/pa/fptr.c, config/pa/lib2funcs.S,
8490 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8491 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8492 (LIB2ADD, LIB2ADD_ST): Set.
8493 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8494 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8495 Set.
8496 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8497 * config/pdp11/t-pdp11: New file.
8498 * config/picochip/libgccExtras/adddi3.S,
8499 config/picochip/libgccExtras/ashlsi3.S,
8500 config/picochip/libgccExtras/ashrsi3.S,
8501 config/picochip/libgccExtras/clzsi2.S,
8502 config/picochip/libgccExtras/cmpsi2.S,
8503 config/picochip/libgccExtras/divmod15.S,
8504 config/picochip/libgccExtras/divmodhi4.S,
8505 config/picochip/libgccExtras/divmodsi4.S,
8506 config/picochip/libgccExtras/lshrsi3.S,
8507 config/picochip/libgccExtras/parityhi2.S,
8508 config/picochip/libgccExtras/popcounthi2.S,
8509 config/picochip/libgccExtras/subdi3.S,
8510 config/picochip/libgccExtras/ucmpsi2.S,
8511 config/picochip/libgccExtras/udivmodhi4.S,
8512 config/picochip/libgccExtras/udivmodsi4.S: New files.
8513 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8514 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8515 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8516 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8517 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8518 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8519 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8520 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8521 files.
8522 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8523 (HOST_LIBGCC2_CFLAGS): Set.
8524 * config/rs6000/t-darwin64: New file.
8525 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8526 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8527 * config/rs6000/t-ppccomm (LIB2ADD): Add
8528 $(srcdir)/config/rs6000/tramp.S.
8529 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8530 Add $(srcdir)/config/rs6000/eabi.S.
8531 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8532 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8533 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8534 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8535 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8536 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8537 * config/rs6000/tramp.S: New file.
8538 * config/s390/t-tpf: Remove.
8539 * config/sh/linux-atomic.S: New file.
8540 * config/sh/t-linux (LIB2ADD): Set.
8541 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8542 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8543 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8544 to unwind-dw2.c.
8545 (HOST_LIBGCC2_CFLAGS): Set.
8546 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8547 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8548 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8549 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8550 config/spu/mfc_multi_tag_release.c,
8551 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8552 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8553 config/spu/multi3.c: New files.
8554 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8555 (HOST_LIBGCC2_CFLAGS): Set.
8556 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8557 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8558 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8559 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8560 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8561 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8562 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8563 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8564 config/stormy16/umodsi3.c: New files.
8565 * config/xtensa/lib2funcs.S: New file.
8566 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8567 * config/xtensa/t-xtensa (LIB2ADD): Set.
8568 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8569 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8570 Add t-freebsd-thread to tmake_file for posix threads.
8571 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8572 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8573 (*-*-lynxos*): Likewise.
8574 (*-*-netbsd*): Likewise.
8575 (*-*-openbsd*): Likewise.
8576 Add t-openbsd-thread to tmake_file for posix threads.
8577 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8578 (*-*-vxworks*): Set tmake_file.
8579 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8580 (alpha*-*-freebsd*): Likewise.
8581 (alpha*-*-netbsd*): Likewise.
8582 (alpha*-*-openbsd*): Likewise.
8583 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8584 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8585 (alpha*-dec-*vms*): Likewise.
8586 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8587 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8588 (bfin*-uclinux*): Likewise.
8589 (bfin*-linux-uclibc*): Likewise.
8590 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8591 (crisv32-*-none): Likewise.
8592 (cris-*-elf): Likewise.
8593 (cris-*-none): Likewise.
8594 (cris-*-linux*, crisv32-*-linux*): Likewise.
8595 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8596 tmake_file.
8597 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8598 tmake_file.
8599 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8600 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8601 (x86_64-*-elf*): Likewise.
8602 (i[34567]86-*-nto-qnx*): Likewise.
8603 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8604 win32 threads.
8605 (x86_64-*-mingw*): Likewise.
8606 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8607 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8608 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8609 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8610 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8611 tmake_file.
8612 (mipsisa64sr71k-*-elf*): Likewise.
8613 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8614 (mips-*-elf*, mipsel-*-elf*): Likewise.
8615 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8616 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8617 (mips*-*-rtems*): Likewise.
8618 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8619 to tmake_file.
8620 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8621 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8622 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8623 (spu-*-elf*): Likewise.
8624 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8625
8626 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8627
8628 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8629 $(srcdir) to refer to $(LIB1ASMSRC).
8630 Use $<.
8631 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8632 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8633 config/arm/lib1funcs.S: New files.
8634 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8635 * config/arm/t-arm: New file.
8636 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8637 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8638 config/arm/t-strongarm-elf: New files.
8639 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8640 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8641 * config/avr/lib1funcs.S: New file.
8642 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8643 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8644 * config/c6x/lib1funcs.S: New file.
8645 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8646 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8647 * config/frv/lib1funcs.S: New file.
8648 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8649 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8650 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8651 * config/ia64/__divxf3.asm: Rename to ...
8652 * config/ia64/__divxf3.S: ... this.
8653 Adapt lib1funcs.asm filename.
8654 * config/ia64/_fixtfdi.asm: Rename to ...
8655 * config/ia64/_fixtfdi.S: ... this.
8656 Adapt lib1funcs.asm filename.
8657 * config/ia64/_fixunstfdi.asm: Rename to ...
8658 * config/ia64/_fixunstfdi.S: ... this.
8659 Adapt lib1funcs.asm filename.
8660 * config/ia64/_floatditf.asm: Rename to ...
8661 * config/ia64/_floatditf.S: ... this.
8662 Adapt lib1funcs.asm filename.
8663 * config/ia64/lib1funcs.S: New file.
8664 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8665 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8666 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8667 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8668 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8669 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8670 * config/mep/lib1funcs.S: New file.
8671 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8672 * config/mips/mips16.S: New file.
8673 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8674 * config/pa/milli64.S: New file.
8675 * config/pa/t-linux, config/pa/t-linux64: New files.
8676 * config/picochip/lib1funcs.S: New file.
8677 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8678 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8679 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8680 * config/sh/t-netbsd: New file.
8681 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8682 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8683 * config/sh/t-sh64: New file.
8684 * config/sparc/lb1spc.S: New file.
8685 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8686 filename.
8687 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8688 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8689 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8690 config/xtensa/lib1funcs.S: New files.
8691 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8692 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8693 tmake_file.
8694 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8695 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8696 (arm*-*-linux*): Likewise.
8697 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8698 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8699 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8700 (arm*-*-ecos-elf): Likewise.
8701 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8702 (arm*-*-rtems*): Likewise.
8703 (arm*-*-elf): Likewise.
8704 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8705 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8706 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8707 (bfin*-uclinux*): Likewise.
8708 (bfin*-linux-uclibc*): Likewise.
8709 (bfin*-rtems*): Likewise.
8710 (bfin*-*): Likewise.
8711 (fido-*-elf): Merge into m68k-*-elf*.
8712 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8713 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8714 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8715 (h8300-*-elf*): Likewise.
8716 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8717 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8718 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8719 (i[34567]86-*-mingw*): Likewise.
8720 (x86_64-*-mingw*): Likewise.
8721 (i[34567]86-*-interix3*): Likewise.
8722 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8723 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8724 (m68k-*-elf*): Also handle fido-*-elf.
8725 Add m68k/t-floatlib to tmake_file.
8726 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8727 (m68k-*-linux*): Likewise.
8728 (m68k-*-rtems*): Likewise.
8729 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8730 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8731 sh64*-*-*.
8732 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8733 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8734 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8735 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8736 sh/t-netbsd to tmake_file.
8737 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8738 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8739 (sh-wrs-vxworks): Likewise.
8740 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8741 *-leon[3-9]*.
8742 (v850*-*-*): Add v850/t-v850 to tmake_file.
8743 (vax-*-linux*): Add vax/t-linux to tmake_file.
8744 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8745
8746 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
8747
8748 * crtstuff.c: New file.
8749 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8750 (CRTSTUFF_T_CFLAGS): Define.
8751 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8752 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8753 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8754 crtstuff.c.
8755 Use $<.
8756 (crtbeginT.o): Use $(objext).
8757 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8758 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8759 (gcc-extra-parts): Remove.
8760 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8761 Set extra_parts.
8762 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8763 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8764 Add t-crtstuff-pic to tmake_file.
8765 (*-*-lynxos*): New case.
8766 Set tmake_file, extra_parts.
8767 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8768 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8769 *-*-netbsdelf[2-9]*.
8770 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8771 (*-*-rtems*): Set extra_parts.
8772 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8773 (*-*-uclinux*): New case.
8774 Set extra_parts.
8775 (*-*-vms*): New case.
8776 Set tmake_file, extra_parts.
8777 (*-*-elf): Set extra_parts.
8778 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8779 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8780 vms/t-vms64.
8781 Set extra_parts.
8782 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8783 Set extra_parts.
8784 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8785 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8786 (arm-wrs-vxworks): Append to tmake_file.
8787 Set extra_parts.
8788 (arm*-*-uclinux*): Set extra_parts.
8789 (arm*-*-ecos-elf): Likewise.
8790 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8791 arm*-*-eabi*.
8792 (arm*-*-rtems*): Set extra_parts.
8793 (arm*-*-elf): Likewise.
8794 (avr-*-rtems*): Clear extra_parts.
8795 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8796 Set extra_parts.
8797 (bfin*-uclinux*): Likewise.
8798 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8799 (bfin*-rtems*): Append to tmake_file.
8800 Set extra_parts.
8801 (bfin*-*): Likewise.
8802 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8803 (crisv32-*-elf): ... this.
8804 (crisv32-*-none): ... this.
8805 (cris-*-elf, cris-*-none): New cases.
8806 Add cris/t-elfmulti to tmake_file.
8807 (fr30-*-elf): Append to tmake_file.
8808 Set extra_parts.
8809 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8810 Set extra_parts.
8811 (h8300-*-rtems*): Append to tmake_file.
8812 Set extra_parts.
8813 (h8300-*-elf*): Likewise.
8814 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8815 Set extra_parts.
8816 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8817 Set extra_parts.
8818 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8819 (x86_64-*-elf*): Likewise.
8820 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8821 (x86_64-*-freebsd*): Likewise.
8822 (x86_64-*-netbsd*): Likewise.
8823 (i[34567]86-*-linux*): Likewise.
8824 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8825 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8826 (x86_64-*-linux*): Likewise.
8827 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8828 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8829 tmake_file.
8830 Set extra_parts.
8831 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8832 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8833 Append to extra_parts, remove crtbegin.o, crtend.o.
8834 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8835 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8836 crtend.o, crtbeginS.o, crtendS.o.
8837 (ia64*-*-linux*): Comment extra_parts.
8838 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8839 Set extra_parts.
8840 (iq2000*-*-elf*): Clear extra_parts.
8841 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8842 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8843 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8844 (m32r-*-rtems*): ... this.
8845 Add m32r/t-m32r to tmake_file.
8846 (m68k-*-elf*): Add t-crtin to tmake_file.
8847 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8848 (mcore-*-elf): Likewise.
8849 (microblaze*-*-*): Set extra_parts.
8850 (mips*-sde-elf*): New case.
8851 Set tmake_file, extra_parts.
8852 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8853 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8854 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8855 tmake_file.
8856 Set extra_parts.
8857 (mipsisa64sr71k-*-elf*): Likewise.
8858 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8859 (mips-*-elf*, mipsel-*-elf*): Likewise.
8860 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8861 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8862 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8863 (mips*-*-rtems*): Likewise.
8864 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8865 (moxie-*-*): Split into ...
8866 (moxie-*-elf, moxie-*-uclinux*): ... this.
8867 Add to extra_parts, remove crtbegin.o, crtend.o.
8868 (moxie-*-rtems*): New case.
8869 Set tmake_file.
8870 Clear extra_parts.
8871 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8872 Set extra_parts.
8873 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8874 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8875 tmake_file.
8876 Set extra_parts.
8877 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8878 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8879 Set extra_parts.
8880 (powerpc-*-eabisim*): Likewise.
8881 (powerpc-*-elf*): Likewise.
8882 (powerpc-*-eabialtivec*): Likewise.
8883 (powerpc-xilinx-eabi*): Likewise.
8884 (powerpc-*-eabi*): Likewise.
8885 (powerpc-*-rtems*): Likewise.
8886 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8887 tmake_file.
8888 Set extra_parts.
8889 (powerpc-*-lynxos*): Add to tmake_file.
8890 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8891 rs6000/t-crtstuff, t-crtstuff-pic.
8892 Set extra_parts.
8893 (powerpcle-*-eabisim*): Likewise.
8894 (powerpcle-*-eabi*): Likewise.
8895 (rx-*-elf): Remove extra_parts.
8896 (s390x-ibm-tpf*): Set extra_parts.
8897 (score-*-elf): Set extra_parts.
8898 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8899 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8900 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8901 (sh64l*-*-netbsd*): Split into ...
8902 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8903 Add t-crtstuff-pic to tmake_file.
8904 Set extra_parts.
8905 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8906 Set extra_parts.
8907 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8908 (sparc-*-elf*): Remove t-crtin from tmake_file.
8909 Add to extra_parts, remove crtbegin.o, crtend.o.
8910 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8911 (sparc64-*-linux*): Likewise.
8912 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8913 Add to extra_parts, remove crtbegin.o, crtend.o.
8914 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8915 Add to extra_parts, remove crtbegin.o, crtend.o.
8916 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8917 Add to extra_parts, remove crtbegin.o, crtend.o.
8918 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8919 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8920 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8921 Set extra_parts.
8922 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8923 Set extra_parts.
8924 (tic6x-*-*): Change to ...
8925 (tic6x-*-elf): ... this.
8926 Set extra_parts.
8927 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8928 Set extra_parts.
8929 (am33_2.0-*-linux*): Add comment.
8930 (mep*-*-*): Add mep/t-mep to tmake_file.
8931 Set extra_parts.
8932 * config/alpha/t-vms: New file.
8933 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8934 * config/arm/crti.S, config/arm/crtn.S: New files.
8935 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8936 * config/bfin/crtlibid.S: New file.
8937 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8938 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8939 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8940 (crti.o, crtin.o): New rules.
8941 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8942 * config/c6x/t-uclinux: New file.
8943 * config/cris/t-elfmulti: New file.
8944 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8945 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8946 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8947 * config/frv/t-frv: New file.
8948 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8949 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8950 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8951 New files.
8952 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8953 refer to cygming-crtbegin.c, cygming-crtend.c.
8954 Use $<.
8955 * config/i386/t-nto: New file.
8956 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8957 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8958 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8959 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8960 Use .S extension.
8961 Use $<.
8962 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8963 (crtinitS.o): New rule.
8964 * config/ia64/vms-crtinit.S: New file.
8965 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8966 * config/m32r/initfini.c: New file.
8967 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8968 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8969 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8970 * config/mep/t-mep: New file.
8971 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8972 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8973 * config/mips/crti.S, config/mips/crtn.S: New files.
8974 * config/mips/t-crtstuff: New file.
8975 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8976 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8977 (CUSTOM_CRTIN): Set.
8978 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8979 dependencies.
8980 Use $(srcdir) to refer to crti.S, crtn.S.
8981 Use .S extension, $<.
8982 * config/moxie/crti.asm: Rename to ...
8983 * config/moxie/crti.S: ... this.
8984 * config/moxie/crtn.asm: Rename to ...
8985 * config/moxie/crtn.S: ... this.
8986 * config/moxie/t-moxie: Remove.
8987 * config/pa/stublib.c: New file.
8988 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8989 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8990 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8991 * config/rs6000/t-crtstuff: New file.
8992 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8993 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8994 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8995 Make output file explicit.
8996 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8997 Make output file explicit.
8998 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8999 Make output file explicit.
9000 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9001 Make output file explicit.
9002 * config/score/crti.S, config/score/crtn.S: New files.
9003 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9004 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9005 files.
9006 * config/sh/t-sh, config/sh/t-superh: New files.
9007 * config/sparc/t-linux64: New file.
9008 * config/spu/cache.S, config/spu/cachemgr.c: New files.
9009 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9010 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9011 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9012 * config/t-crtin: Remove.
9013 * config/t-crtstuff-pic: New file.
9014 * config/t-sol2 (CUSTOM_CRTIN): Set.
9015 (crti.o, crtn.o): New rules.
9016 * config/vms/t-vms: New file.
9017 * config/vms/vms-ucrt0.c: New file.
9018 * config/xtensa/t-elf: New file.
9019
9020 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9021
9022 * Makefile.in (SHLIB_NM_FLAGS): Set.
9023 * mkmap-flat.awk, mkmap-symver.awk: New files.
9024 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9025 exceptions.
9026 * configure: Regenerate.
9027 * config/libgcc-glibc.ver: New file.
9028 * config/libgcc-libsystem.ver: New file.
9029 * config/t-libunwind (SHLIB_LC): Set.
9030 * config/t-linux: New file.
9031 * config/t-slibgcc (INSTALL_SHLIB): New.
9032 (SHLIB_INSTALL): Use it.
9033 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9034 to mkmap-symver.awk.
9035 (SHLIB_MAPFILES): Don't append, adapt pathname.
9036 (SHLIB_VERPFX): Set.
9037 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9038 to mkmap-symver.awk.
9039 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9040 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9041 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9042 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9043 to mkmap-flat.awk.
9044 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9045 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9046 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9047 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9048 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9049 * config/i386/libgcc-darwin.10.4.ver,
9050 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9051 New files.
9052 * config/i386/t-darwin: Remove.
9053 * config/i386/t-darwin64: Likewise.
9054 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9055 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9056 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9057 * config/i386/t-linux: New file.
9058 * config/i386/t-mingw32: New file.
9059 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9060 * config/ia64/t-glibc: Rename to ...
9061 * config/ia64/t-linux: ... this.
9062 (SHLIB_MAPFILES): Set.
9063 * config/ia64/t-glibc-libunwind: Rename to ...
9064 * config/ia64/t-linux-libunwind: ... this.
9065 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9066 * config/ia64/t-slibgcc-hpux: New file.
9067 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9068 * config/m68k/t-slibgcc-elf-ver: New file.
9069 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9070 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9071 to mkmap-flat.awk.
9072 * config/pa/t-slibgcc-hpux: New file.
9073 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9074 files.
9075 * config/rs6000/libgcc-darwin.10.4.ver,
9076 config/rs6000/libgcc-darwin.10.5.ver: New files.
9077 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9078 config/rs6000/libgcc-glibc.ver.
9079 * config/rs6000/libgcc-ppc64.ver: Rename to
9080 config/rs6000/libgcc-ibm-ldouble.ver.
9081 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9082 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9083 * config/rs6000/t-ldbl128: Rename to ...
9084 * config/rs6000/t-linux: ... this.
9085 (SHLIB_MAPFILES): Adapt filename.
9086 * config/rs6000/t-slibgcc-aix: New file.
9087 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9088 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9089 libgcc-excl.ver, libgcc-glibc.ver.
9090 (SHLIB_LINK, SHLIB_INSTALL): Remove.
9091 * config/sparc/libgcc-glibc.ver: New file.
9092 * config/sparc/t-linux: New file.
9093 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9094 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9095 t-slibgcc-elf-ver to tmake_file.
9096 Add t-slibgcc-nolc-override to tmake_file for posix threads on
9097 *-*-freebsd[34].
9098 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9099 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9100 t-slibgcc-elf-ver, t-linux to tmake_file.
9101 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9102 tmake_file.
9103 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9104 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9105 (alpha*-dec-*vms*): Likewise.
9106 (arm*-*-freebsd*): Append to tmake_file.
9107 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9108 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9109 arm*-*-linux-*eabi.
9110 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9111 tmake_file for arm*-*-symbianelf*.
9112 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9113 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9114 cris/t-linux.
9115 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9116 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9117 pa/t-slibgcc-dwarf-ver to tmake_file.
9118 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9119 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9120 (hppa*64*-*-hpux11*): Likewise.
9121 (hppa[12]*-*-hpux11*): Likewise.
9122 (x86_64-*-darwin*): Don't override tmake_file, but only keep
9123 i386/t-crtpc, i386/t-crtfm.
9124 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9125 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9126 to tmake_file.
9127 Add i386/t-cygwin to tmake_file.
9128 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9129 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9130 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9131 to tmake_file.
9132 Add i386/t-mingw32 to tmake_file.
9133 (x86_64-*-mingw*): Likewise.
9134 (ia64*-*-freebsd*): Append to tmake_file.
9135 (ia64*-*-linux*): Append to tmake_file.
9136 Replace ia64/t-glibc by ia64/t-linux.
9137 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9138 system libunwind.
9139 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9140 t-slibgcc-hpux to tmake_file.
9141 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9142 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9143 (m32rle-*-linux*): Likewise.
9144 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9145 sjlj exceptions.
9146 (microblaze*-linux*): New case.
9147 Append to tmake_file, add t-slibgcc-nolc-override.
9148 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9149 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9150 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9151 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9152 rs6000/t-slibgcc-aix to tmake_file.
9153 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9154 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9155 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9156 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9157 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9158 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9159 sh*-*-linux*.
9160 (sparc-*-linux*): Append to tmake_file for *-leon*.
9161 Add sparc/t-linux to tmake_file for non-Leon targets.
9162 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9163 (tic6x-*-uclinux): New case.
9164 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9165 (tic6x-*-*): Add c6x/t-elf to tmake_file.
9166 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9167 (am33_2.0-*-linux*): Append to tmake_file.
9168 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9169 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9170 x86_64-*-kfreebsd*-gnu.
9171 Add i386/t-linux to tmake_file.
9172
9173 2011-10-28 Ian Lance Taylor <iant (a] google.com>
9174
9175 * config/i386/morestack.S: Correct CFI information to do proper
9176 returns throughout function. In 32-bit mode, save %ebx so that it
9177 is restored on unwind.
9178
9179 2011-10-25 Bernd Schmidt <bernds (a] codesourcery.com>
9180
9181 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9182 case where B3 isn't the return register.
9183
9184 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9185 logic for doubleword pops.
9186
9187 2011-10-25 Andreas Tobler <andreast (a] fgznet.ch>
9188
9189 * config/rs6000/t-freebsd: Add wildcard.
9190
9191 2011-10-21 Paul Brook <paul (a] codesourcery.com>
9192
9193 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9194
9195 2011-10-16 Uros Bizjak <ubizjak (a] gmail.com>
9196 Eric Botcazou <ebotcazou (a] adacore.com>
9197
9198 PR target/50737
9199 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9200 fs->signal_frame to 1.
9201
9202 2011-10-07 Ian Lance Taylor <iant (a] google.com>
9203
9204 * generic-morestack-thread.c: #include <errno.h>.
9205
9206 2011-10-07 Ian Lance Taylor <iant (a] google.com>
9207
9208 PR target/46093
9209 * generic-morestack.c (__generic_morestack): Make sure the segment
9210 is large enough for both the stack frame and the copied
9211 parameters.
9212
9213 2011-10-06 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9214
9215 PR bootstrap/49804
9216 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9217 extra_parts.
9218
9219 2011-09-28 Nick Clifton <nickc (a] redhat.com>
9220
9221 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9222 64-bit doubles are not enabled.
9223 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9224 and floatunsisf functions.
9225
9226 2011-09-13 Paul Brook <paul (a] codesourcery.com>
9227
9228 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
9229 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9230 * unwind-arm-common.inc: New file.
9231 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9232 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9233 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9234 * config/c6x/libunwind.S: New file.
9235 * config/c6x/pr-support.c: New file.
9236 * config/c6x/unwind-c6x.c: New file.
9237 * config/c6x/unwind-c6x.h: New file.
9238 * config/c6x/t-c6x-elf: New file.
9239
9240 2011-08-23 Uros Bizjak <ubizjak (a] gmail.com>
9241
9242 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9243 (ASM_DIVZERO): Ditto.
9244 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9245
9246 2011-08-18 Richard Sandiford <richard.sandiford (a] linaro.org>
9247
9248 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9249
9250 2011-08-17 Richard Sandiford <richard.sandiford (a] linaro.org>
9251
9252 PR target/50090
9253 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9254 instead of an assembly one.
9255
9256 2011-08-12 Paolo Bonzini <bonzini (a] gnu.org>
9257
9258 PR bootstrap/50047
9259 * Makefile.in (install-unwind_h): Create
9260 $(gcc_objdir)/include/unwind.h atomically.
9261
9262 2011-08-11 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9263
9264 * Makefile.in (install-unwind_h): Remove destination file first.
9265
9266 2011-08-09 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9267
9268 * sync.c: New file.
9269 * config/mips/t-mips16: New file.
9270 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9271 (mips*-*-linux*): Likewise.
9272 (mips*-sde-elf*): Likewise.
9273 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9274 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9275 Add mips/t-mips16 to tmake_file.
9276 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9277 (mips-*-elf*): Likewise.
9278 (mips64-*-elf*): Likewise.
9279 (mips64orion-*-elf*): Likewise.
9280 (mips*-*-rtems*): Likewise.
9281 (mipstx39-*-elf*): Likewise.
9282 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9283 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9284 LIBGCC_SYNC_CFLAGS.
9285 Use $(srcdir) to refer to sync.c.
9286 Use $<.
9287 ($(libgcc-sync-funcs-o)): Likewise.
9288 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9289 ($(libgcc-sync-funcs-s-o)): Likewise.
9290
9291 2011-08-09 Andreas Schwab <schwab (a] linux-m68k.org>
9292
9293 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9294 t-libunwind.
9295
9296 2011-08-08 H.J. Lu <hongjiu.lu (a] intel.com>
9297
9298 PR other/48007
9299 * config/i386/value-unwind.h: New.
9300
9301 2011-08-06 Richard Sandiford <rdsandiford (a] googlemail.com>
9302
9303 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9304 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9305 Add to tmake_file rather than overriding it.
9306
9307 2011-08-05 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9308
9309 * config/t-softfp: Remove.
9310 * soft-fp: Moved from ../gcc/config.
9311 * soft-fp/README: Remove t-softfp reference.
9312 * soft-fp/t-softfp: Move to config/t-softfp.
9313 (softfp_machine_header): Remove.
9314 (softfp_file_list): Remove config subdir.
9315 (soft-fp-objects): New variable.
9316 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9317 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9318 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9319 * config/t-softfp-excl: New file.
9320 * config/t-softfp-sfdf: New file.
9321 * config/t-softfp-tf: New file.
9322 * config/no-sfp-machine.h: New file.
9323 * config/arm/sfp-machine.h: New file.
9324 * config/arm/t-softfp: New file.
9325 * config/c6x/sfp-machine.h: New file.
9326 * config/i386/32/t-fprules-softfp: Rename to ...
9327 * config/i386/32/t-softfp: ... this.
9328 (tifunctions, LIB2ADD): Remove.
9329 (softfp_int_modes): Override.
9330 * config/i386/64/t-softfp-compat (tf-functions): Remove config
9331 subdir.
9332 * config/i386/64/eqtf2.c: Likewise.
9333 * config/i386/64/getf2.c: Likewise.
9334 * config/i386/64/letf2.c: Likewise.
9335 * config/ia64/sft-machine.h: New file.
9336 * config/ia64/t-fprules-softfp: Rename to ...
9337 * config/ia64/t-softfp: ... this.
9338 * config/lm32/sfp-machine.h: New file.
9339 * config/moxie/t-moxie-softfp: Remove.
9340 * config/rs6000/ibm-ldouble-format: New file.
9341 * config/rs6000/ibm-ldouble.c: New file.
9342 * config/rs6000/libgcc-ppc-glibc.ver: New file
9343 * config/rs6000/libgcc-ppc64.ver: New file
9344 * config/rs6000/sfp-machine.h: New file.
9345 * config/rs6000/t-freebsd: New file.
9346 * config/rs6000/t-ibm-ldouble: New file.
9347 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9348 libgcc-ppc-glibc.ver.
9349 * config/rs6000/t-linux64: New file.
9350 * config/rs6000/t-ppccomm (LIB2ADD): Add
9351 $(srcdir)/config/rs6000/ibm-ldouble.c.
9352 * config/rs6000/t-ppccomm-ldbl: New file.
9353 * config/score/sfp-machine.h: New file.
9354 * config.host (sfp_machine_header): Explain.
9355 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9356 t-softfp to tmake_file.
9357 (arm*-*-uclinux*): Likewise.
9358 (arm*-*-ecos-elf): Likewise.
9359 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9360 (arm*-*-rtems*): Likewise.
9361 (arm*-*-elf): Likewise.
9362 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9363 in tmake_file.
9364 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9365 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9366 (lm32-*-uclinux*): Likewise.
9367 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9368 t-softfp-excl, t-softfp.
9369 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9370 (powerpc64-*-darwin*): Likewise.
9371 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9372 to tmake_file.
9373 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9374 tmake_file.
9375 (powerpc-*-eabisim*): Likewise.
9376 (powerpc-*-elf*): Likewise.
9377 (powerpc-*-eabialtivec*): Likewise.
9378 (powerpc-xilinx-eabi*): Likewise.
9379 (powerpc-*-rtems*): Likewise.
9380 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9381 t-softfp-excl, t-softfp to tmake_file.
9382 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9383 rs6000/t-ppccomm-ldbl to tmake_file.
9384 (powerpcle-*-elf*): Likewise.
9385 (powerpcle-*-eabisim*): Likewise.
9386 (powerpcle-*-eabi*): Likewise.
9387 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9388 rs6000/t-ibm-ldouble to tmake_file.
9389 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9390 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9391 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9392 (tic6x-*-*): Likewise.
9393 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9394 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9395 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9396 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9397 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9398 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9399 t-softfp to tmake_file.
9400 * configure.ac (sfp_machine_header): Provide default if unset.
9401 Substitute.
9402 Link sfp-machine.h to config/$sfp_machine_header.
9403 * configure: Regenerate.
9404
9405 2011-08-05 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9406
9407 * Makefile.in (double_type_size, long_double_type_size): Set.
9408 Remove $(fpbit-in-libgcc) support.
9409 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9410 (fpbit-src): New variable.
9411 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9412 Compile with -DFLOAT $(FPBIT_CFLAGS).
9413 Use $<.
9414 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9415 Compile with $(FPBIT_CFLAGS).
9416 Use $<.
9417 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9418 Compile with -DFLOAT $(TPBIT_CFLAGS).
9419 Use $<.
9420 * configure.ac (double_type_size, long_double_type_size):
9421 Determine and substitute.
9422 * configure: Regenerate.
9423 * fp-bit.c, fp-bit.h: New files.
9424 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9425 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9426 * config/mips/t-mips: New file.
9427 * config/mips/t-sdemtk: New file.
9428 * config/rs6000/ppc64-fp.c: New file.
9429 * config/rs6000/t-darwin (LIB2ADD): Add
9430 $(srcdir)/config/rs6000/ppc64-fp.c.
9431 * config/rs6000/t-ppc64-fp: New file.
9432 * config/rx/rx-lib.h: New file.
9433 * config/rx/t-rx (FPBIT): Set to true.
9434 ($(gcc_objdir)/fp-bit.c): Remove.
9435 (DPBIT): Set to true only with -m64bit-doubles.
9436 ($(gcc_objdir)/dp-bit.c): Remove.
9437 * config/sparc/t-softfp: Remove.
9438 * config/spu/t-elf: New file.
9439 * config/t-fdpbit, config/t-fpbit: New files.
9440 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9441 (mips*-*-*): Likewise.
9442 (arm-wrs-vxworks): Likewise.
9443 (arm*-*-freebsd*): Likewise.
9444 (avr-*-rtems*): Add t-fpbit to tmake_file.
9445 (avr-*-*): Likewise.
9446 (bfin*-elf*): Add t-fdpbit to tmake_file.
9447 (bfin*-uclinux*): Likewise.
9448 (bfin*-linux-uclibc*): Likewise.
9449 (bfin*-rtems*): New case.
9450 Add t-fdpbit to tmake_file.
9451 (bfin*-*): Add t-fdpbit to tmake_file.
9452 (crisv32-*-elf): Likewise.
9453 (cris-*-linux*): Likewise.
9454 (fr30-*-elf): Likewise.
9455 (frv-*-elf, frv-*-*linux*): Likewise.
9456 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9457 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9458 (m32r-*-elf*): Likewise.
9459 (m32rle-*-elf*): Likewise.
9460 (m32r-*-linux*): Likewise.
9461 (m32rle-*-linux*): Likewise.
9462 (mcore-*-elf): Add t-fdpbit to tmake_file.
9463 (microblaze*-*-*): Likewise.
9464 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9465 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9466 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9467 Fix typo.
9468 Add mips/t-tpbit to tmake-file.
9469 (mips*-*-linux*): Fix typo.
9470 (mips*-sde-elf*): New case
9471 Add mips/t-sdemtk unless using newlib.
9472 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9473 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9474 (mn10300-*-*): Likewise.
9475 (pdp11-*-*): Likewise.
9476 (picochip-*-*): Add t-fpbit to tmake_file.
9477 (powerpc-*-eabisimaltivec*): Likewise.
9478 (powerpc-*-eabisim*): Likewise.
9479 (powerpc-*-elf*): Likewise.
9480 (powerpc-*-eabialtivec*): Likewise.
9481 (powerpc-xilinx-eabi*): New case.
9482 Add t-fdpbit to tmake_file.
9483 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
9484 (powerpc-*-rtems*): Likewise.
9485 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9486 tmake_file.
9487 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9488 tmake_file.
9489 (powerpc-*-lynxos*): Likewise.
9490 (powerpcle-*-elf*): Likewise.
9491 (powerpcle-*-eabisim*): Likewise.
9492 (powerpcle-*-eabi*): Likewise.
9493 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9494 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9495 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9496 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9497 (rx-*-elf): Add t-fdpbit to tmake_file.
9498 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9499 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9500 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9501 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9502 sh*-*-netbsd*.
9503 (sh-*-rtems*): Add t-fdpbit to tmake_file.
9504 (sh-wrs-vxworks): Likewise.
9505 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9506 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9507 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9508 (sparc64-*-rtems*): ... new case.
9509 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9510 (spu-*-elf*): Likewise.
9511 Add spu/t-elf to tmake_file.
9512 (v850*-*-*): Add t-fdpbit to tmake_file.
9513 (xstormy16-*-elf): Likewise.
9514 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9515 (mep*-*-*): Likewise.
9516
9517 2011-08-05 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9518
9519 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9520 variables.
9521 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9522 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9523 (install-unwind_h): New target.
9524 (all): Depend on it.
9525 * config.host (unwind_header): New variable.
9526 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9527 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9528 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9529 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9530 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9531 Set unwind_header.
9532 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9533 Set unwind_header.
9534 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9535 arm*-*-eabi*.
9536 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9537 Set unwind_header.
9538 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9539 (ia64*-*-freebsd*): Likewise.
9540 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9541 tmake_file.
9542 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9543 $with_system_libunwind.
9544 (ia64*-*-hpux*): Set tmake_file.
9545 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9546 (picochip-*-*): Set tmake_file.
9547 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9548 md_unwind_header.
9549 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9550 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9551 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9552 (xtensa*-*-elf*): Set tmake_file.
9553 (xtensa*-*-linux*): Likewise.
9554 * configure.ac: Include ../config/unwind_ipinfo.m4.
9555 Call GCC_CHECK_UNWIND_GETIPINFO.
9556 Link unwind.h to $unwind_header.
9557 * configure: Regenerate.
9558 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9559 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9560 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9561 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9562 * config/unwind-dw2-fde-darwin.c: New file.
9563 * config/arm/libunwind.S, config/arm/pr-support.c,
9564 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9565 config/arm/unwind-arm.h,: New files.
9566 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9567 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9568 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9569 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9570 config/ia64/unwind-ia64.h: New files.
9571 * config/picochip/t-picochip: New file.
9572 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9573 files.
9574 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9575 * config/s390/t-tpf (LIB2ADDEH): Remove.
9576 * config/t-darwin (LIB2ADDEH): Set.
9577 * config/t-eh-dw2-dip: New file.
9578 * config/t-libunwind, config/t-libunwind-elf: New files.
9579 * config/t-sol2 (LIB2ADDEH): Remove.
9580 * config/xtensa/t-xtensa: New file.
9581
9582 2011-08-02 H.J. Lu <hongjiu.lu (a] intel.com>
9583
9584 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9585 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9586 long long to check rt_sigreturn syscall.
9587
9588 2011-08-02 Alan Modra <amodra (a] gmail.com>
9589
9590 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9591 Restore for indirect call bcrtl from correct stack slot, and only
9592 if cfa+40 isn't valid.
9593
9594 2011-08-01 Julian Brown <julian (a] codesourcery.com>
9595
9596 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9597 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9598 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9599
9600 2011-08-01 Julian Brown <julian (a] codesourcery.com>
9601
9602 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9603 (libgcc-std.ver.in): Use above.
9604 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9605 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9606 throughout file.
9607 * config/t-fixedpoint-gnu-prefix: New file.
9608 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9609 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9610 instead of __PFX__.
9611
9612 2011-07-28 H.J. Lu <hongjiu.lu (a] intel.com>
9613
9614 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9615 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9616 for x86-64. Properly check __x86_64__ and __LP64__.
9617
9618 2010-07-28 H.J. Lu <hongjiu.lu (a] intel.com>
9619
9620 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9621 version.
9622 (_FP_WS_TYPE): Likewise.
9623 (_FP_I_TYPE): Likewise.
9624
9625 2011-07-28 Alan Modra <amodra (a] gmail.com>
9626
9627 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9628 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9629 in a plt call stub. Do restore r2 if stopped on bctrl.
9630
9631 2011-07-18 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9632
9633 * config.host (i[3456x]86-*-netware*): Remove.
9634 * config/i386/netware-crt0.c, config/i386/t-nwld,
9635 config/i386/t-slibgcc-nwld: Remove.
9636
9637 2011-07-15 Bernd Schmidt <bernds (a] codesourcery.com>
9638
9639 * config.host: Handle tic6x-*-*.
9640 * config/c6x/c6x-abi.h: New file.
9641
9642 2011-07-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9643
9644 * config/i386/crtprec.c: New file.
9645 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9646 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9647 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9648 (x86_64-*-darwin*): Likewise.
9649 (i[34567]86-*-solaris2*: Likewise.
9650
9651 2011-07-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9652
9653 * config/alpha/crtfastmath.c: New file.
9654 * config/i386/crtfastmath.c: New file.
9655 * config/ia64/crtfastmath.c: New file.
9656 * config/mips/crtfastmath.c: New file.
9657 * config/sparc/crtfastmath.c: New file.
9658
9659 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9660 crtfastmath.c.
9661 Add -frandom-seed=gcc-crtfastmath.
9662 * config/alpha/t-crtfm: Remove.
9663 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9664 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9665
9666 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9667 (alpha*-dec-osf5.1*): Likewise.
9668 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9669 Add crtfastmath.o to extra_parts.
9670 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9671 Add crtfastmath.o to extra_parts.
9672 (x86_64-*-darwin*): Likewise.
9673 (x86_64-*-mingw*): Likewise.
9674 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9675 (ia64*-*-freebsd*): Likewise.
9676 (ia64*-*-linux*): Likewise.
9677 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9678 Add crtfastmath.o to extra_parts.
9679
9680 2011-07-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9681
9682 * config/darwin-crt3.o: New file.
9683 * config/rs6000/darwin-crt2.c: New file.
9684 * config/t-darwin: New file.
9685 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9686 (crt2.o): New rule.
9687 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9688 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9689 (powerpc64-*-darwin*): Likewise.
9690
9691 2011-07-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9692
9693 * config/i386/netware-crt0.c: New file.
9694 * config/i386/t-nwld: Rename to ...
9695 * config/i386/t-slibgcc-nwld: ... this.
9696 * config/i386/t-nwld: New file.
9697 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9698 tmake_file.
9699 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9700 extra_parts.
9701
9702 2011-07-11 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9703
9704 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9705 i386/t-crtstuff.
9706 * configure: Regenerate.
9707
9708 2011-07-11 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9709
9710 * dfp-bit.c, dfp-bit.h: New files.
9711 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9712 variables.
9713 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9714 ($(d64pbit-o)): Likewise.
9715 ($(d128pbit-o)): Likewise.
9716 * config/t-dfprules: New file.
9717 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9718 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9719 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9720 (x86_64-*-linux*): Likewise.
9721 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9722 (i[34567]86-*-cygwin*): Likewise.
9723 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9724 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9725
9726 2011-07-08 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9727
9728 * Makfile.in (LIBGCOV): New variable.
9729 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9730 * libgcov.c: New file.
9731
9732 2011-07-08 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9733
9734 * fixed-bit.c, fixed-bit.h: New files.
9735 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9736 refer to fixed-bit.c.
9737
9738 2011-07-07 Joseph Myers <joseph (a] codesourcery.com>
9739
9740 * config.host (*local*): Remove.
9741
9742 2011-07-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9743
9744 PR target/39150
9745 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9746 like i?86-*-solaris2.1[0-9]*.
9747 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9748 * configure.ac (i?86-*-solaris2*): Likewise.
9749 * configure: Regenerate.
9750
9751 2011-07-06 Thomas Schwinge <thomas (a] schwinge.name>
9752
9753 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9754 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9755 md_unwind_header by splitting out of...
9756 (i[34567]86-*-linux*): ... this.
9757 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9758 Remove md_unwind_header by splitting out of...
9759 (x86_64-*-linux*): ... this.
9760
9761 2011-07-04 Georg-Johann Lay <avr (a] gjlay.de>
9762
9763 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9764
9765 2011-06-28 Nick Clifton <nickc (a] redhat.com>
9766
9767 * config.host: Recognize all V850 variants.
9768
9769 2011-06-22 Uros Bizjak <ubizjak (a] gmail.com>
9770
9771 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9772
9773 2011-06-21 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9774
9775 * shared-object.mk (c_flags-$o): Save c_flags.
9776 ($(base)$(objext)): Use it.
9777 ($(base)_s$(objext)): Likewise.
9778
9779 2011-06-21 Bernd Schmidt <bernds (a] codesourcery.com>
9780
9781 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9782 * libgcc-std.ver.in (GCC_4.7.0): New section.
9783
9784 2011-06-16 Georg-Johann Lay <avr (a] gjlay.de>
9785
9786 PR target/49313
9787 PR target/29524
9788 * config/avr/t-avr: Fix line endings.
9789 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9790 _parityXX2.
9791
9792 2011-06-14 Olivier Hainque <hainque (a] adacore.com>
9793 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9794
9795 * config/mips/irix6-unwind.h: New file.
9796 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9797
9798 2011-06-10 Eric Botcazou <ebotcazou (a] adacore.com>
9799
9800 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9801 (sparc64_fallback_frame_state): Use it.
9802 (sparc64_frob_update_context): Further adjust context.
9803 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9804 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9805 * config/sparc/sol2-cn.S: Likewise.
9806
9807 2011-06-09 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9808
9809 * enable-execute-stack-empty.c: New file.
9810 * enable-execute-stack-mprotect.c: New file.
9811 * config/i386/enable-execute-stack-mingw32.c: New file.
9812 * config.host (enable_execute_stack): New variable.
9813 Select appropriate variants.
9814 * configure.ac: Link enable-execute-stack.c to
9815 $enable_execute_stack.
9816 * configure: Regenerate.
9817 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9818 (lib2funcs): Remove _enable_execute_stack.
9819
9820 2011-06-09 David S. Miller <davem (a] davemloft.net>
9821 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9822
9823 * config.host (sparc-*-linux*): Correct md_unwind_header
9824 filename.
9825 (s390x-ibm-tpf*): Fix typo.
9826
9827 2011-06-06 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9828
9829 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9830 Add crtfastmath.o to extra_parts.
9831 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9832 mips/t-crtfm.
9833 * config/mips/t-crtfm: Remove.
9834
9835 2011-06-04 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
9836
9837 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9838
9839 2011-06-04 Kaz Kojima <kkojima (a] gcc.gnu.org>
9840
9841 * config.host (sh*-*-linux*): Fix typo.
9842
9843 2011-06-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9844
9845 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9846 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9847 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9848 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9849 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9850 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9851 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9852 Wrap in !__MINGW64__.
9853 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9854 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9855 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9856 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9857 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9858 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9859 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9860 Wrap in !__LP64__.
9861 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9862 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9863 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9864 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9865 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9866 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9867 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9868 * config/no-unwind.h: New file.
9869 * config.host (md_unwind_header): Document.
9870 Define.
9871 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9872 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9873 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9874 hppa[12]*-*-hpux11*): Set md_unwind_header.
9875 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9876 Set md_unwind_header.
9877 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9878 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9879 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9880 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9881 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9882 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9883 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9884 md_unwind_header.
9885 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9886 * configure: Regenerate.
9887
9888 2011-06-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9889
9890 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9891 Set tmake_file, extra_parts.
9892 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9893 Remove O32 support.
9894 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9895 Remove O32 support.
9896 * config/mips/t-irix6: New file.
9897 * config/mips/t-slibgcc-irix: New file.
9898
9899 2011-06-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9900
9901 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9902 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9903
9904 2011-06-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9905
9906 * configure.ac (target_thread_file): Determine thread model.
9907 * configure: Regenerate.
9908 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9909 * config/alpha/t-alpha: New file.
9910 * config/alpha/t-crtfm: Use $<.
9911 * config/alpha/t-ieee: New file.
9912 * config/alpha/t-osf-pthread: New file.
9913 * config/alpha/t-slibgcc-osf: New file.
9914 * config/alpha/libgcc-osf5.ver: New file.
9915
9916 2011-06-01 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9917
9918 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9919 tmake_file.
9920 Add crtfastmath.o to extra_parts.
9921
9922 2011-06-01 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9923
9924 * config/gmon-sol2.c: Reindent.
9925 Cleanup comments.
9926 Remove, correct casts.
9927 Use STDERR_FILENO, NULL.
9928 (BASEADDRESS): Remove.
9929 (minbrk): Remove.
9930 (errno, sbrk): Remove declarations.
9931 (monstartup) [hp300]: Remove.
9932 (mcount): Remove.
9933
9934 2011-06-01 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
9935
9936 * Makefile.in (cpu_type): Define.
9937 * config.host (i[34567]86-*-rtems*): Handle it.
9938 (i[34567]86-*-solaris2*): Move body ...
9939 (*-*-solaris2*): ... here.
9940 New case, generalize.
9941 (sparc-*-elf*): Handle it.
9942 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9943 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9944 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9945 Fold into ...
9946 (sparc*-*-solaris2*): ... this.
9947 New case.
9948 (sparc64-*-elf*): Handle it.
9949 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9950 Merge ../gcc/config/i386/gmon-sol2.c.
9951 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9952 Use C comments.
9953 Merge ../gcc/config/i386/sol2-gc1.asm.
9954 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9955 Use C comments.
9956 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9957 Use C comments.
9958 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9959 * config/i386/t-crtstuff: New file.
9960 * config/i386/t-softfp: New file.
9961 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9962 $(T)crti.o, $(T)crtn.o): Remove.
9963 (gcrt1.o): New rule.
9964 (TARGET_LIBGCC2_CFLAGS): Remove.
9965 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9966 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9967 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9968 * config/sparc/t-sol2: New file.
9969 * config/sparc/t-crtfm: Move to ...
9970 * config/t-crtfm: ... this.
9971 Use $(cpu_type), $<.
9972 * config/t-crtin: New file.
9973 * config/sparc/t-softfp: New file.
9974 * config/sparc/t-softmul: New file.
9975 * config/t-rtems: New file.
9976 * config/t-slibgcc: New file.
9977 * config/t-slibgcc-elf-ver: New file.
9978 * config/t-slibgcc-gld: New file.
9979 * config/t-slibgcc-sld: New file.
9980 * config/t-sol2: New file.
9981 * configure.ac: Include ../config/lib-ld.m4.
9982 Call AC_LIB_PROG_LD_GNU.
9983 Substitute cpu_type.
9984 * configure: Regenerate.
9985
9986 2011-05-27 Bernd Schmidt <bernds (a] codesourcery.com>
9987
9988 PR bootstrap/49173
9989 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9990 libgcc-std.ver in the build directory.
9991 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9992 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9993
9994 2011-05-25 Bernd Schmidt <bernds (a] codesourcery.com>
9995
9996 * libgcc-std.ver.in: New file.
9997 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9998 variables.
9999 (libgcc-std.ver): New rule.
10000 * config/t-gnu-prefix: New file.
10001
10002 2011-05-23 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10003
10004 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10005
10006 2011-05-10 Joseph Myers <joseph (a] codesourcery.com>
10007
10008 * config/i386/darwin-lib.h: New file.
10009
10010 2011-05-10 Joseph Myers <joseph (a] codesourcery.com>
10011
10012 * config/arm/symbian-lib.h: New.
10013
10014 2011-05-04 Chris Demetriou <cgd (a] google.com>
10015
10016 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10017 (__x86.get_pc_thunk.bx): ...this.
10018 (__morestack): Adjust for rename, remove undef of __i686.
10019
10020 2011-05-03 Chris Demetriou <cgd (a] google.com>
10021
10022 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10023
10024 2011-03-22 Joseph Myers <joseph (a] codesourcery.com>
10025
10026 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10027 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10028 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10029 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10030 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10031 Remove cases.
10032
10033 2011-03-14 Andreas Tobler <andreast (a] fgznet.ch>
10034
10035 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10036 Adjust copyright year.
10037
10038 2011-03-07 Ian Lance Taylor <iant (a] google.com>
10039
10040 * generic-morestack.c (__splitstack_find): Adjust returned stack
10041 pointer to include all registers pushed by __morestack.
10042
10043 2011-01-26 Dave Korn <dave.korn.cygwin (a] gmail.com>
10044
10045 PR target/40125
10046 * configure.ac: Call ACX_NONCANONICAL_TARGET.
10047 (toolexecdir): Calculate and AC_SUBST.
10048 (toolexeclibdir): Likewise.
10049 * Makefile.in (target_noncanonical): Import.
10050 (toolexecdir): Likewise.
10051 (toolexeclibdir): Likewise.
10052 * configure: Regenerate.
10053
10054 2010-12-13 Nathan Froyd <froydnj (a] codesourcery.com>
10055
10056 PR target/46040
10057 * config/arm/bpabi.h: Rename to...
10058 * config/arm/bpabi-lib.h: ...this.
10059
10060 2010-12-10 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10061
10062 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10063 appropriate.
10064 * configure: Regenerate.
10065
10066 2010-11-24 Nathan Froyd <froydnj (a] codesourcery.com>
10067
10068 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10069 __FLOAT_WORD_ORDER__.
10070 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10071 Delete.
10072
10073 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
10074
10075 PR other/46202
10076 * Makefile.in (install-strip): New phony target.
10077
10078 2010-11-07 Ian Lance Taylor <iant (a] google.com>
10079
10080 PR target/46089
10081 * config/i386/morestack.S (__morestack_large_model): New
10082 function.
10083
10084 2010-10-23 Nathan Froyd <froydnj (a] codesourcery.com>
10085
10086 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10087 Delete.
10088 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10089
10090 2010-10-14 Nathan Froyd <froydnj (a] codesourcery.com>
10091
10092 * config/arm/bpabi.h: New file.
10093 * config/frv/frv-abi.h: New file.
10094
10095 2010-10-01 Ian Lance Taylor <iant (a] google.com>
10096
10097 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10098 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10099
10100 2010-10-01 H.J. Lu <hongjiu.lu (a] intel.com>
10101
10102 PR target/45858
10103 * config.host: Add the missing `$'.
10104
10105 2010-09-30 Michael Eager <eager (a] eagercon.com>
10106
10107 * config.host: Add microblaze*-*-*.
10108 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10109 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10110 udivsi3.asm,umodsi3.asm}: New.
10111
10112 2010-09-28 Ian Lance Taylor <iant (a] google.com>
10113
10114 * configure.ac: Adjust CFI test to test assembler directly rather
10115 than checking gcc preprocessor macro.
10116 * configure: Rebuild.
10117
10118 2010-09-27 Ian Lance Taylor <iant (a] google.com>
10119
10120 * configure.ac: Test whether assembler supports CFI directives.
10121 * config.host: Only add t-stack and i386/t-stack-i386 to
10122 tmake_file if libgcc_cv_cfi is "yes".
10123 * configure: Rebuild.
10124
10125 2010-09-27 Ian Lance Taylor <iant (a] google.com>
10126
10127 * generic-morestack.h: New file.
10128 * generic-morestack.c: New file.
10129 * generic-morestack-thread.c: New file.
10130 * config/i386/morestack.S: New file.
10131 * config/t-stack: New file.
10132 * config/i386/t-stack-i386: New file.
10133 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10134 i386/t-stack-i386 to tmake_file.
10135
10136 2010-09-21 Iain Sandoe <iains (a] gcc.gnu.org>
10137
10138 * Makefile.in (libgcc-extra-parts): Check for static archives and
10139 invoke ranlib after installing them.
10140 (gcc-extra-parts): Likewise.
10141 (install-leaf): Likewise.
10142
10143 2010-09-14 H.J. Lu <hongjiu.lu (a] intel.com>
10144
10145 * configure: Regenerated.
10146
10147 2010-09-10 Kai Tietz <kai.tietz (a] onevision.com>
10148
10149 * configure: Regenerated.
10150
10151 2010-09-09 Gerald Pfeifer <gerald (a] pfeifer.com>
10152 Andrew Pinski <pinskia (a] gmail.com>
10153
10154 PR target/40959
10155 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
10156
10157 2010-09-06 H.J. Lu <hongjiu.lu (a] intel.com>
10158
10159 PR target/45524
10160 * configure: Regenerated.
10161
10162 2010-09-06 Andreas Schwab <schwab (a] redhat.com>
10163
10164 * configure: Regenerate.
10165
10166 2010-09-03 Uros Bizjak <ubizjak (a] gmail.com>
10167
10168 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10169 64bit targets.
10170 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10171 for 64bit targets.
10172
10173 2010-09-03 Uros Bizjak <ubizjak (a] gmail.com>
10174 Iain Sandoe <iains (a] gcc.gnu.org>
10175
10176 PR target/45476
10177 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10178 LIB2FUNCS_EXCLUDE functions.
10179
10180 2010-09-03 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
10181
10182 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10183 Include dfp.m4.
10184 * configure: Regenerate.
10185
10186 2010-09-01 Uros Bizjak <ubizjak (a] gmail.com>
10187
10188 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10189 i386/t-freebsd to tmake_file.
10190 * config/i386/t-freebsd: New file.
10191 * config/i386/libgcc-bsd.ver: New file.
10192
10193 2010-07-23 Nathan Froyd <froydnj (a] codesourcery.com>
10194
10195 * config.host (powerpc*-eabispe*): Set tmake_file.
10196 (powerpc*-eabi*): Likewise.
10197 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10198 crtbeginS, crtendS, crtbeginT.
10199
10200 2010-06-12 Kazu Hirata <kazu (a] codesourcery.com>
10201
10202 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10203 to tmake_file. Add crtfastmath.o to extra_parts.
10204 * config/mips/t-crtfm: New.
10205
10206 2010-05-19 Joel Sherrill <joel.sherrill (a] oarcorp.com>
10207
10208 * config.host (sparc64-*-rtems*): New target.
10209
10210 2010-05-19 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10211
10212 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10213 assembler syntax.
10214
10215 2010-04-15 Thomas Schwinge <tschwinge (a] gnu.org>
10216
10217 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10218
10219 2010-04-12 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10220
10221 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10222 alpha-dec-osf5.0* support.
10223
10224 2010-04-01 Ralf Corspius <ralf.corsepius (a] rtems.org>
10225
10226 * config.host: Add lm32-*-rtems*.
10227
10228 2010-03-31 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10229 Uros Bizjak <ubizjak (a] gmail.com>
10230
10231 PR target/39048
10232 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10233 like other remaining 32-bit x86 OSes.
10234 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10235 assembler syntax.
10236 * config/i386/libgcc-sol2.ver: New file.
10237 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10238
10239 2010-03-30 Jack Howarth <howarth (a] bromo.med.uc.edu>
10240
10241 PR c/43553
10242 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10243 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10244 is used and substitute set_use_emutls.
10245 * configure: Regenerated.
10246
10247 2010-03-30 Tarik Graba <tarik.graba (a] telecom-paristech.fr>
10248
10249 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10250
10251 2010-03-22 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10252
10253 PR target/38085
10254 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10255 MULTILIB_CFLAGS.
10256 ($(T)gcrt1.o): Likewise.
10257 ($(T)crt1.o): Likewise.
10258 ($(T)crti.o): Likewise.
10259 ($(T)crtn.o): Likewise.
10260
10261 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
10262
10263 PR other/42980
10264 * Makefile.in (install): Use $(MAKE) string in rule, for
10265 parallel make.
10266
10267 2010-02-22 Hans-Peter Nilsson <hp (a] bitrange.com>
10268
10269 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10270 * config/mmix/t-mmix: New file.
10271 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10272
10273 2010-02-02 Jack Howarth <howarth (a] bromo.med.uc.edu>
10274
10275 PR java/41991
10276 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10277 SHLIB_MAPFILES.
10278
10279 2010-01-04 Anthony Green <green (a] moxielogic.com>
10280
10281 * config/moxie/crti.asm, config/moxie/crtn.asm,
10282 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10283 config/moxie/t-moxie: New files.
10284 * config.host: Add t-moxie-softfp reference.
10285
10286 2009-11-18 Iain Sandoe <iain.sandoe (a] sandoe-acoustics.co.uk>
10287
10288 PR other/39888
10289 * config/t-slibgcc-darwin: Fix embedded rpaths for
10290 --enable-version-specific-runtime-libs, build extension stub
10291 libs exposing features available from current libgcc_s.
10292
10293 2009-11-11 Jon Beniston <jon (a] beniston.com>
10294
10295 * config.host: Add lm32 targets.
10296 * config/lm32: New directory.
10297 * config/lm32/libgcc_lm32.h: New file.
10298 * config/lm32/_mulsi3.c: New file.
10299 * config/lm32/_udivmodsi4.c: New file.
10300 * config/lm32/_divsi3.c: New file.
10301 * config/lm32/_modsi3.c: New file.
10302 * config/lm32/_udivsi3.c: New file.
10303 * config/lm32/_umodsi3.c: New file.
10304 * config/lm32/_lshrsi3.S: New file.
10305 * config/lm32/_ashrsi3.S: New file.
10306 * config/lm32/_ashlsi3.S: New file.
10307 * config/lm32/crti.S: New file.
10308 * config/lm32/crtn.S: New file.
10309 * config/lm32/t-lm32: New file.
10310 * config/lm32/t-elf: New file.
10311 * config/lm32/t-uclinux: New file.
10312
10313 2009-10-26 Nick Clifton <nickc (a] redhat.com>
10314
10315 * config.host: Add support for RX target.
10316 * config/rx: New directory.
10317 * config/rx/rx-abi-functions.c: New file. Supplementary
10318 functions for libgcc to support the RX ABI.
10319 * config/rx/rx-abi.h: New file. Supplementary header file for
10320 libgcc RX ABI functions.
10321 * config/rx/t-rx: New file: Makefile fragment for building
10322 libgcc for the RX.
10323
10324 2009-10-09 Uros Bizjak <ubizjak (a] gmail.com>
10325
10326 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10327 constraint of y0 to "g".
10328
10329 2009-10-07 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
10330
10331 * config.host: Include the s390 makefile fragments.
10332 * config/s390/32/_fixdfdi.c: New file.
10333 * config/s390/32/_fixsfdi.c: New file.
10334 * config/s390/32/_fixtfdi.c: New file.
10335 * config/s390/32/_fixunsdfdi.c: New file.
10336 * config/s390/32/_fixunssfdi.c: New file.
10337 * config/s390/32/_fixunstfdi.c: New file.
10338 * config/s390/32/t-floattodi: New file.
10339 * config/s390/libgcc-glibc.ver: New file.
10340 * config/s390/t-crtstuff: New file.
10341 * config/s390/t-linux: New file.
10342 * config/s390/t-tpf: New file.
10343
10344 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
10345
10346 * configure.ac (AC_PREREQ): Bump to 2.64.
10347
10348 2009-08-22 Kaz Kojima <kkojima (a] gcc.gnu.org>
10349
10350 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10351
10352 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
10353
10354 * configure: Regenerate.
10355
10356 2009-08-09 Douglas B Rupp <rupp (a] gnat.com>
10357
10358 * config.host (ia64-hp-*vms*): New target.
10359 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10360 with ia64-hp-*vms*.
10361
10362 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
10363
10364 * configure.ac: Add snippet for maintainer-mode.
10365 * configure: Regenerate.
10366 * Makefile.in (AUTOCONF, configure_deps): New variables.
10367 ($(srcdir)/configure)): New rule, active only with maintainer
10368 mode turned on.
10369
10370 2009-06-23 DJ Delorie <dj (a] redhat.com>
10371
10372 Add MeP port.
10373 * config.host: Add mep support.
10374
10375 2009-06-22 Kai Tietz <kai.tietz (a] onevision.com>
10376
10377 * config.host: Add i386/${host_address}/t-fprules-softfp and
10378 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
10379
10380 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10381 for mingw targets.
10382 * config/i386/64/_multc3.c: Likewise.
10383 * config/i386/64/_powitf2.c: Likewise.
10384 * config/i386/64/eqtf2.c: Likewise.
10385 * config/i386/64/getf2.c: Likewise.
10386 * config/i386/64/letf2.c: Likewise.
10387 * config/i386/64/letf2.c: Likewise.
10388 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10389 unsigned long long for x64 mingw targets.
10390 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10391 (_FP_I_TYPE): Define as long long for x64 mingw target.
10392
10393 2009-06-10 Maciej W. Rozycki <macro (a] linux-mips.org>
10394
10395 * config.host (vax-*-linux*): New.
10396
10397 2009-05-31 Anthony Green <green (a] moxielogic.com>
10398
10399 * config.host: Add moxie support.
10400 * config/moxie/t-moxie: New file.
10401
10402 2009-05-29 David Billinghurst <billingd (a] gcc.gnu.org>
10403
10404 * config.host: Add i386/${host_address}/t-fprules-softfp and
10405 t-softfp to tmake_file for i[34567]86-*-cygwin*.
10406
10407 2009-04-17 Aurelien Jarno <aurelien (a] aurel32.net>
10408
10409 * config.host: Add i386/${host_address}/t-fprules-softfp to
10410 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10411
10412 2009-04-09 Nick Clifton <nickc (a] redhat.com>
10413
10414 * config/ia64/tf-signs.c: Change copyright header to refer to
10415 version 3 of the GNU General Public License with version 3.1
10416 of the GCC Runtime Library Exception and to point readers at
10417 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10418 web page.
10419 * config/i386/32/tf-signs.c: Likewise.
10420 * config/libbid/_addsub_dd.c: Likewise.
10421 * config/libbid/_addsub_sd.c: Likewise.
10422 * config/libbid/_addsub_td.c: Likewise.
10423 * config/libbid/_dd_to_df.c: Likewise.
10424 * config/libbid/_dd_to_di.c: Likewise.
10425 * config/libbid/_dd_to_sd.c: Likewise.
10426 * config/libbid/_dd_to_sf.c: Likewise.
10427 * config/libbid/_dd_to_si.c: Likewise.
10428 * config/libbid/_dd_to_td.c: Likewise.
10429 * config/libbid/_dd_to_tf.c: Likewise.
10430 * config/libbid/_dd_to_udi.c: Likewise.
10431 * config/libbid/_dd_to_usi.c: Likewise.
10432 * config/libbid/_dd_to_xf.c: Likewise.
10433 * config/libbid/_df_to_dd.c: Likewise.
10434 * config/libbid/_df_to_sd.c: Likewise.
10435 * config/libbid/_df_to_td.c: Likewise.
10436 * config/libbid/_di_to_dd.c: Likewise.
10437 * config/libbid/_di_to_sd.c: Likewise.
10438 * config/libbid/_di_to_td.c: Likewise.
10439 * config/libbid/_div_dd.c: Likewise.
10440 * config/libbid/_div_sd.c: Likewise.
10441 * config/libbid/_div_td.c: Likewise.
10442 * config/libbid/_eq_dd.c: Likewise.
10443 * config/libbid/_eq_sd.c: Likewise.
10444 * config/libbid/_eq_td.c: Likewise.
10445 * config/libbid/_ge_dd.c: Likewise.
10446 * config/libbid/_ge_sd.c: Likewise.
10447 * config/libbid/_ge_td.c: Likewise.
10448 * config/libbid/_gt_dd.c: Likewise.
10449 * config/libbid/_gt_sd.c: Likewise.
10450 * config/libbid/_gt_td.c: Likewise.
10451 * config/libbid/_isinfd128.c: Likewise.
10452 * config/libbid/_isinfd32.c: Likewise.
10453 * config/libbid/_isinfd64.c: Likewise.
10454 * config/libbid/_le_dd.c: Likewise.
10455 * config/libbid/_le_sd.c: Likewise.
10456 * config/libbid/_le_td.c: Likewise.
10457 * config/libbid/_lt_dd.c: Likewise.
10458 * config/libbid/_lt_sd.c: Likewise.
10459 * config/libbid/_lt_td.c: Likewise.
10460 * config/libbid/_mul_dd.c: Likewise.
10461 * config/libbid/_mul_sd.c: Likewise.
10462 * config/libbid/_mul_td.c: Likewise.
10463 * config/libbid/_ne_dd.c: Likewise.
10464 * config/libbid/_ne_sd.c: Likewise.
10465 * config/libbid/_ne_td.c: Likewise.
10466 * config/libbid/_sd_to_dd.c: Likewise.
10467 * config/libbid/_sd_to_df.c: Likewise.
10468 * config/libbid/_sd_to_di.c: Likewise.
10469 * config/libbid/_sd_to_sf.c: Likewise.
10470 * config/libbid/_sd_to_si.c: Likewise.
10471 * config/libbid/_sd_to_td.c: Likewise.
10472 * config/libbid/_sd_to_tf.c: Likewise.
10473 * config/libbid/_sd_to_udi.c: Likewise.
10474 * config/libbid/_sd_to_usi.c: Likewise.
10475 * config/libbid/_sd_to_xf.c: Likewise.
10476 * config/libbid/_sf_to_dd.c: Likewise.
10477 * config/libbid/_sf_to_sd.c: Likewise.
10478 * config/libbid/_sf_to_td.c: Likewise.
10479 * config/libbid/_si_to_dd.c: Likewise.
10480 * config/libbid/_si_to_sd.c: Likewise.
10481 * config/libbid/_si_to_td.c: Likewise.
10482 * config/libbid/_td_to_dd.c: Likewise.
10483 * config/libbid/_td_to_df.c: Likewise.
10484 * config/libbid/_td_to_di.c: Likewise.
10485 * config/libbid/_td_to_sd.c: Likewise.
10486 * config/libbid/_td_to_sf.c: Likewise.
10487 * config/libbid/_td_to_si.c: Likewise.
10488 * config/libbid/_td_to_tf.c: Likewise.
10489 * config/libbid/_td_to_udi.c: Likewise.
10490 * config/libbid/_td_to_usi.c: Likewise.
10491 * config/libbid/_td_to_xf.c: Likewise.
10492 * config/libbid/_tf_to_dd.c: Likewise.
10493 * config/libbid/_tf_to_sd.c: Likewise.
10494 * config/libbid/_tf_to_td.c: Likewise.
10495 * config/libbid/_udi_to_dd.c: Likewise.
10496 * config/libbid/_udi_to_sd.c: Likewise.
10497 * config/libbid/_udi_to_td.c: Likewise.
10498 * config/libbid/_unord_dd.c: Likewise.
10499 * config/libbid/_unord_sd.c: Likewise.
10500 * config/libbid/_unord_td.c: Likewise.
10501 * config/libbid/_usi_to_dd.c: Likewise.
10502 * config/libbid/_usi_to_sd.c: Likewise.
10503 * config/libbid/_usi_to_td.c: Likewise.
10504 * config/libbid/_xf_to_dd.c: Likewise.
10505 * config/libbid/_xf_to_sd.c: Likewise.
10506 * config/libbid/_xf_to_td.c: Likewise.
10507 * config/libbid/bid128.c: Likewise.
10508 * config/libbid/bid128_2_str.h: Likewise.
10509 * config/libbid/bid128_2_str_macros.h: Likewise.
10510 * config/libbid/bid128_2_str_tables.c: Likewise.
10511 * config/libbid/bid128_add.c: Likewise.
10512 * config/libbid/bid128_compare.c: Likewise.
10513 * config/libbid/bid128_div.c: Likewise.
10514 * config/libbid/bid128_fma.c: Likewise.
10515 * config/libbid/bid128_logb.c: Likewise.
10516 * config/libbid/bid128_minmax.c: Likewise.
10517 * config/libbid/bid128_mul.c: Likewise.
10518 * config/libbid/bid128_next.c: Likewise.
10519 * config/libbid/bid128_noncomp.c: Likewise.
10520 * config/libbid/bid128_quantize.c: Likewise.
10521 * config/libbid/bid128_rem.c: Likewise.
10522 * config/libbid/bid128_round_integral.c: Likewise.
10523 * config/libbid/bid128_scalb.c: Likewise.
10524 * config/libbid/bid128_sqrt.c: Likewise.
10525 * config/libbid/bid128_string.c: Likewise.
10526 * config/libbid/bid128_to_int16.c: Likewise.
10527 * config/libbid/bid128_to_int32.c: Likewise.
10528 * config/libbid/bid128_to_int64.c: Likewise.
10529 * config/libbid/bid128_to_int8.c: Likewise.
10530 * config/libbid/bid128_to_uint16.c: Likewise.
10531 * config/libbid/bid128_to_uint32.c: Likewise.
10532 * config/libbid/bid128_to_uint64.c: Likewise.
10533 * config/libbid/bid128_to_uint8.c: Likewise.
10534 * config/libbid/bid32_to_bid128.c: Likewise.
10535 * config/libbid/bid32_to_bid64.c: Likewise.
10536 * config/libbid/bid64_add.c: Likewise.
10537 * config/libbid/bid64_compare.c: Likewise.
10538 * config/libbid/bid64_div.c: Likewise.
10539 * config/libbid/bid64_fma.c: Likewise.
10540 * config/libbid/bid64_logb.c: Likewise.
10541 * config/libbid/bid64_minmax.c: Likewise.
10542 * config/libbid/bid64_mul.c: Likewise.
10543 * config/libbid/bid64_next.c: Likewise.
10544 * config/libbid/bid64_noncomp.c: Likewise.
10545 * config/libbid/bid64_quantize.c: Likewise.
10546 * config/libbid/bid64_rem.c: Likewise.
10547 * config/libbid/bid64_round_integral.c: Likewise.
10548 * config/libbid/bid64_scalb.c: Likewise.
10549 * config/libbid/bid64_sqrt.c: Likewise.
10550 * config/libbid/bid64_string.c: Likewise.
10551 * config/libbid/bid64_to_bid128.c: Likewise.
10552 * config/libbid/bid64_to_int16.c: Likewise.
10553 * config/libbid/bid64_to_int32.c: Likewise.
10554 * config/libbid/bid64_to_int64.c: Likewise.
10555 * config/libbid/bid64_to_int8.c: Likewise.
10556 * config/libbid/bid64_to_uint16.c: Likewise.
10557 * config/libbid/bid64_to_uint32.c: Likewise.
10558 * config/libbid/bid64_to_uint64.c: Likewise.
10559 * config/libbid/bid64_to_uint8.c: Likewise.
10560 * config/libbid/bid_b2d.h: Likewise.
10561 * config/libbid/bid_binarydecimal.c: Likewise.
10562 * config/libbid/bid_conf.h: Likewise.
10563 * config/libbid/bid_convert_data.c: Likewise.
10564 * config/libbid/bid_decimal_data.c: Likewise.
10565 * config/libbid/bid_decimal_globals.c: Likewise.
10566 * config/libbid/bid_div_macros.h: Likewise.
10567 * config/libbid/bid_dpd.c: Likewise.
10568 * config/libbid/bid_flag_operations.c: Likewise.
10569 * config/libbid/bid_from_int.c: Likewise.
10570 * config/libbid/bid_functions.h: Likewise.
10571 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10572 * config/libbid/bid_inline_add.h: Likewise.
10573 * config/libbid/bid_internal.h: Likewise.
10574 * config/libbid/bid_round.c: Likewise.
10575 * config/libbid/bid_sqrt_macros.h: Likewise.
10576
10577 2009-04-09 Jakub Jelinek <jakub (a] redhat.com>
10578
10579 * Makefile.in: Change copyright header to refer to version
10580 3 of the GNU General Public License and to point readers at the
10581 COPYING3 file and the FSF's license web page.
10582 * config.host: Likewise.
10583
10584 2009-04-07 Alan Modra <amodra (a] bigpond.net.au>
10585
10586 * config.host: Reorder and merge to match config.gcc change.
10587
10588 2009-04-03 Alan Modra <amodra (a] bigpond.net.au>
10589
10590 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10591
10592 2009-03-28 Joseph Myers <joseph (a] codesourcery.com>
10593
10594 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10595 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10596 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10597 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10598
10599 2009-02-12 Uros Bizjak <ubizjak (a] gmail.com>
10600
10601 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10602 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10603
10604 2009-02-12 H.J. Lu <hongjiu.lu (a] intel.com>
10605
10606 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10607 ia64/t-softfp-compat to tmake_file.
10608
10609 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10610
10611 * config/ia64/__divxf3.asm: New.
10612 * config/ia64/_fixtfdi.asm: Likewise.
10613 * config/ia64/_fixunstfdi.asm: Likewise.
10614 * config/ia64/_floatditf.asm: Likewise.
10615 * config/ia64/t-fprules-softfp: Likewise.
10616 * config/ia64/t-softfp-compat: Likewise.
10617 * config/ia64/tf-signs.c: Likewise.
10618
10619 2009-01-18 Ben Elliston <bje (a] au.ibm.com>
10620
10621 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10622
10623 2009-01-16 Ben Elliston <bje (a] au.ibm.com>
10624
10625 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10626 to tmake_file.
10627
10628 2009-01-13 Ben Elliston <bje (a] au.ibm.com>
10629
10630 * config/t-softfp: New file.
10631 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10632 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10633
10634 2009-01-05 Joel Sherrill <joel.sherrill (a] oarcorp.com>
10635
10636 * config.host: Add m32r*-*-rtems*.
10637
10638 2008-12-01 Joel Sherrill <joel.sherrill (a] oarcorp.com>
10639
10640 * config.host: Add m32c*-*-rtems*.
10641
10642 2008-11-20 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE>
10643
10644 PR bootstrap/33100
10645 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10646 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10647 * configure: Regenerate.
10648 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10649 tmake_file here from gcc/config.gcc.
10650 Move extra_parts here from gcc/config.gcc.
10651 * config/i386/t-sol2: Move here from gcc/config/i386.
10652 Use gcc_srcdir instead of srcdir.
10653
10654 2008-11-18 Adam Nemet <anemet (a] caviumnetworks.com>
10655
10656 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10657 case.
10658
10659 2008-11-09 Thomas Schwinge <tschwinge (a] gnu.org>
10660
10661 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10662
10663 2008-10-08 Thomas Schwinge <tschwinge (a] gnu.org>
10664
10665 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10666
10667 2008-09-03 Hari Sandanagobalane <hariharan (a] picochip.com>
10668
10669 Add picoChip port.
10670 * config.host: Add picochip-*-*.
10671
10672 2008-08-06 Bob Wilson <bob.wilson (a] acm.org>
10673
10674 * config.host: Match more processor names for Xtensa.
10675
10676 2008-07-08 H.J. Lu <hongjiu.lu (a] intel.com>
10677
10678 * config/i386/64/t-softfp-compat: Update comments.
10679
10680 2008-07-07 H.J. Lu <hongjiu.lu (a] intel.com>
10681
10682 * config/i386/64/_divtc3-compat.c: Moved to ...
10683 * config/i386/64/_divtc3.c: Here.
10684
10685 * config/i386/64/_multc3-compat.c: Moved to ...
10686 * config/i386/64/_multc3.c: Here.
10687
10688 * config/i386/64/_powitf2-compat.c: Moved to ...
10689 * config/i386/64/_powitf2.c: Here.
10690
10691 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10692 .c suffix instead of -compat.c.
10693
10694 2008-07-05 Uros Bizjak <ubizjak (a] gmail.com>
10695
10696 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10697 (_FP_MUL_MEAT_D): Ditto.
10698 (_FP_DIV_MEAT_S): Ditto.
10699 (_FP_DIV_MEAT_D): Ditto.
10700
10701 2008-07-03 Richard Sandiford <rdsandiford (a] googlemail.com>
10702
10703 * Makefile.in: Add support for __sync_* libgcc functions.
10704
10705 2008-07-03 H.J. Lu <hongjiu.lu (a] intel.com>
10706
10707 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10708
10709 2008-07-02 H.J. Lu <hongjiu.lu (a] intel.com>
10710
10711 PR boostrap/36702
10712 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10713 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10714
10715 * config/i386/64/t-fprules-softfp: Moved to ...
10716 * config/i386/64/t-softfp-compat: This. New.
10717
10718 2008-07-02 Uros Bizjak <ubizjak (a] gmail.com>
10719
10720 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10721 Initialize f with 0.0.
10722
10723 2008-07-02 H.J. Lu <hongjiu.lu (a] intel.com>
10724
10725 PR target/36669
10726 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10727
10728 * config/i386/64/_divtc3-compat.c: New.
10729 * config/i386/64/_multc3-compat.c: Likewise.
10730 * config/i386/64/_powitf2-compat.c: Likewise.
10731 * config/i386/64/eqtf2.c: Likewise.
10732 * config/i386/64/getf2.c: Likewise.
10733 * config/i386/64/letf2.c: Likewise.
10734 * config/i386/64/t-fprules-softfp: Likewise.
10735
10736 2008-07-02 H.J. Lu <hongjiu.lu (a] intel.com>
10737
10738 * config.host: Add i386/${host_address}/t-fprules-softfp to
10739 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
10740 i[34567]86-*-linux*, x86_64-*-linux*.
10741
10742 * configure.ac: Set host_address to 64 or 32 for x86.
10743 * configure: Regenerated.
10744
10745 * Makefile.in (config.status): Also depend on
10746 $(srcdir)/config.host.
10747
10748 * config/i386/32/t-fprules-softfp: New.
10749 * config/i386/32/tf-signs.c: Likewise.
10750
10751 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10752
10753 2008-07-02 H.J. Lu <hongjiu.lu (a] intel.com>
10754 Uros Bizjak <ubizjak (a] gmail.com>
10755
10756 * config/i386/32/sfp-machine.h: New.
10757
10758 2008-06-26 Nathan Froyd <froydnj (a] codesourcery.com>
10759
10760 * config/rs6000/t-ppccomm: Remove rules that conflict with
10761 auto-generated rules.
10762
10763 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
10764
10765 * configure.ac: sinclude override.m4.
10766 * configure: Regenerate.
10767
10768 2008-06-11 Bernhard Fischer <aldot (a] gcc.gnu.org>
10769
10770 * configure: Regenerate.
10771
10772 2008-06-10 Joseph Myers <joseph (a] codesourcery.com>
10773
10774 * Makefile.in (DECNUMINC): Remove
10775 -I$(MULTIBUILDTOP)../../libdecnumber.
10776 * gstdint.h: New.
10777
10778 2008-06-07 Joseph Myers <joseph (a] codesourcery.com>
10779
10780 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10781 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10782 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10783 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10784 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10785 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10786 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10787 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10788 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10789 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10790 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10791 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10792 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10793 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10794
10795 2008-05-25 Arthur Loiret <arthur.loiret (a] u-psud.fr>
10796
10797 * config.host (sh2[lbe]*-*-linux*): Allow target.
10798
10799 2008-04-30 Nathan Froyd <froydnj (a] codesourcery.com>
10800
10801 * config/rs6000/t-ppccomm: Add build rules for new files.
10802 (LIB2ADD_ST): New variable.
10803
10804 2008-04-07 Andy Hutchinson <hutchinsonandy (a] aim.com>
10805
10806 PR target/34210
10807 PR target/35508
10808 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10809 * config/t-avr: New file. Build 16bit libgcc functions.
10810
10811 2008-03-02 Jakub Jelinek <jakub (a] redhat.com>
10812
10813 PR target/35401
10814 * config/t-slibgcc-darwin: Make install-leaf dependent on
10815 install-darwin-libgcc-stubs instead of install.
10816
10817 2008-01-25 Joseph Myers <joseph (a] codesourcery.com>
10818
10819 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10820 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10821 sh-*-rtemscoff*): Remove cases.
10822
10823 2007-12-27 Richard Sandiford <rsandifo (a] nildram.co.uk>
10824
10825 * Makefile.in (all): Use install-leaf rather than install.
10826 (install): Split most of the rule into...
10827 (install-leaf): ...this new one.
10828
10829 2007-12-19 Etsushi Kato <ek.kato (a] gmail.com>
10830 Paolo Bonzini <bonzini (a] gnu.org>
10831
10832 PR target/30572
10833 * Makefile.in: Use @shlib_slibdir@ substitution to get
10834 correct install name on darwin.
10835 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
10836
10837 2007-12-15 Hans-Peter Nilsson <hp (a] axis.com>
10838
10839 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10840 cris-*-elf and cris-*-none.
10841 (crisv32-*-linux*): Similar, as cris-*-linux*.
10842
10843 2007-11-20 Rask Ingemann Lambertsen <rask (a] sygehus.dk>
10844
10845 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10846
10847 2007-10-27 H.J. Lu <hongjiu.lu (a] intel.com>
10848
10849 PR regression/33926
10850 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10851 * configure: Regenerated.
10852
10853 2007-09-27 H.J. Lu <hongjiu.lu (a] intel.com>
10854
10855 * Makefile.in (dfp-filenames): Replace decimal_globals,
10856 decimal_data, binarydecimal and convert_data with
10857 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10858 and bid_convert_data, respectively.
10859
10860 2007-09-17 Chao-ying Fu <fu (a] mips.com>
10861 Nigel Stephens <nigel (a] mips.com>
10862
10863 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10864 * Makefile.in (fixed_point): Define.
10865 Check if fixed_point is yes to build support functions.
10866 * configure.ac: Check for fixed_point support.
10867 * configure: Regenerated.
10868 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10869 funcs, modes, from, to.
10870
10871 2007-09-11 Janis Johnson <janis187 (a] us.ibm.com
10872
10873 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10874
10875 2007-09-10 Janis Johnson <janis187 (a] us.ibm.com>
10876
10877 * Makefile.in (dfp-filenames): Remove decUtility, add
10878 decDouble, decPacked, decQuad, decSingle.
10879
10880 2007-08-27 Hans Kester <hans.kester (a] ellips.nl>
10881
10882 * config.host : Add x86_64-elf target.
10883
10884 2007-07-06 H.J. Lu <hongjiu.lu (a] intel.com>
10885
10886 * configure.ac (set_have_cc_tls): Add a missing =.
10887 * configure: Regenerated.
10888
10889 2007-07-06 H.J. Lu <hongjiu.lu (a] intel.com>
10890
10891 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10892 and x86_64-*-linux*.
10893
10894 * config/t-tls: New file.
10895
10896 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
10897
10898 * configure.ac: Include ../config/enable.m4 and
10899 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10900 supports TLS and substitute set_have_cc_tls.
10901 * configure: Regenerated.
10902
10903 2007-07-04 H.J. Lu <hongjiu.lu (a] intel.com>
10904
10905 * Makefile.in: Use libbid for DFP when BID is enabled.
10906
10907 2007-06-14 Danny Smith <dannysmith (a] users.sourceforge.net>
10908
10909 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
10910 extra_parts. Add config/i386/t-cygming to tmake_file.
10911 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10912
10913 2007-05-29 Zuxy Meng <zuxy.meng (a] gmail.com>
10914 Danny Smith <dannysmith (a] users.sourceforge.net>
10915
10916 PR target/29498
10917 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10918 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10919 * config/i386/t-crtfm: Compile crtfastmath.o with
10920 -minline-all-stringops.
10921
10922 2007-05-10 Richard Sandiford <richard (a] codesourcery.com>
10923
10924 * config.host (sparc-wrs-vxworks): New target.
10925
10926 2007-04-14 Kazu Hirata <kazu (a] codesourcery.com>
10927
10928 * config.host: Recognize fido.
10929
10930 2007-04-04 Janis Johnson <janis187 (a] us.ibm.com>
10931
10932 * configure: Check host, not target, for decimal float support.
10933
10934 2007-04-03 Uros Bizjak <ubizjak (a] gmail.com>
10935
10936 * config/i386/t-crtpc: New file.
10937 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
10938 (x86_64-*-linux*): Ditto.
10939
10940 2007-02-30 Kai Tietz <kai.tietz (a] onevision.com>
10941
10942 * config.host (x86_64-*-mingw*): New target.
10943
10944 2007-03-23 Michael Meissner <michael.meissner (a] amd.com>
10945 H.J. Lu <hongjiu.lu (a] intel.com>
10946
10947 * Makefile.in (enable_decimal_float): New.
10948 (DECNUMINC): Add
10949 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10950 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10951 (decbits-filenames): This.
10952 (decbits-objects): New.
10953 (libgcc-objects): Add $(decbits-objects).
10954
10955 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10956 Substitute enable_decimal_float.
10957 * configure: Regenerated.
10958
10959 2007-03-19 Hans-Peter Nilsson <hp (a] axis.com>
10960
10961 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10962
10963 2007-03-12 Brooks Moses <brooks.moses (a] codesourcery.com>
10964
10965 * Makefile.in (install-info): New dummy target.
10966
10967 2007-03-05 Bernd Schmidt <bernd.schmidt (a] analog.com>
10968
10969 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10970
10971 2007-03-01 Brooks Moses <brooks.moses (a] codesourcery.com>
10972
10973 * Makefile.in: Add install-html and install-pdf dummy
10974 targets.
10975
10976 2007-02-05 Roger Sayle <roger (a] eyesopen.com>
10977 Daniel Jacobowitz <dan (a] codesourcery.com>
10978
10979 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10980 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10981 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10982
10983 2007-01-29 Janis Johnson <janis187 (a] us.ibm.com>
10984
10985 * Makefile.in (dec-filenames): Add decExcept.
10986
10987 2007-01-28 Daniel Jacobowitz <dan (a] codesourcery.com>
10988
10989 PR bootstrap/30469
10990 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10991 -fprofile-use.
10992
10993 2007-01-25 Daniel Jacobowitz <dan (a] codesourcery.com>
10994
10995 * configure.ac: Add --enable-version-specific-runtime-libs.
10996 Correct $slibdir default.
10997 * configure: Regenerated.
10998
10999 2007-01-23 Joseph Myers <joseph (a] codesourcery.com>
11000
11001 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11002
11003 2007-01-21 Andrew Pinski <pinskia (a] gmail.com>
11004
11005 PR target/30519
11006 * config.host (alpha*-*-linux*): Set extra_parts.
11007
11008 2007-01-09 Kaz Kojima <kkojima (a] gcc.gnu.org>
11009
11010 * config/sh/t-linux: New.
11011 * config.host (sh*-*-linux*): Set tmake_file.
11012
11013 2007-01-05 Daniel Jacobowitz <dan (a] codesourcery.com>
11014
11015 * Makefile.in (install): Handle multilibs.
11016
11017 2007-01-04 Brooks Moses <brooks.moses (a] codesourcery.com>
11018
11019 * Makefile.in: Added .PHONY entry for documentation targets.
11020
11021 2007-01-04 Brooks Moses <brooks.moses (a] codesourcery.com>
11022
11023 * Makefile.in: Add empty info, html, dvi, pdf targets.
11024
11025 2007-01-04 Mike Stump <mrs (a] apple.com>
11026
11027 * Makefile.in (MAKEINFO): Remove.
11028 (PERL): Likewise.
11029
11030 2007-01-04 Paolo Bonzini <bonzini (a] gnu.org>
11031
11032 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11033 * configure: Regenerate.
11034 * Makefile.in (host_subdir): Substitute it.
11035 (gcc_objdir): Use it.
11036
11037 2007-01-04 Daniel Jacobowitz <dan (a] codesourcery.com>
11038
11039 * config.host (ia64*-*-linux*): Set tmake_file.
11040
11041 2007-01-04 Daniel Jacobowitz <dan (a] codesourcery.com>
11042
11043 * Makefile.in (version): Define.
11044
11045 2007-01-03 Daniel Jacobowitz <dan (a] codesourcery.com>
11046 Paolo Bonzini <bonzini (a] gnu.org>
11047
11048 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11049 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11050 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11051 config/sparc/t-crtfm, config/t-slibgcc-darwin,
11052 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11053 shared-object.mk, siditi-object.mk, static-object.mk: New files.
11054 * configure: Generated.
11055
11057 Copyright (C) 2007-2020 Free Software Foundation, Inc.
11058
11059 Copying and distribution of this file, with or without modification,
11060 are permitted in any medium without royalty provided the copyright
11061 notice and this notice are preserved.
11062