Daily bump.
[gcc.git] / libgcc / ChangeLog
1 2020-11-10 Jeff Law <law@redhat.com>
2
3 * libgcc2.c: Fix whitespace issues in most recent change.
4
5 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
6
7 * libgcc2.c (__addvSI3): Use overflow builtins.
8 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
9 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
10 (__negvsi2, __negvDI2): Likewise.
11 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
12 generated code.
13 * libgcc2.h (__ucmpdi2): Adjust prototype.
14
15 2020-11-03 Pat Bernardi <bernardi@adacore.com>
16 Olivier Hainque <hainque@adacore.com>
17
18 * config.host (aarch64-vxworks7*, tmake_file): Add
19 ${cpu_type}/t-lse and t-slibgcc-libgcc.
20
21 2020-11-03 Martin Storsjö <martin@martin.st>
22
23 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
24 before calling the callback.
25
26 2020-10-30 Olivier Hainque <hainque@adacore.com>
27 Douglas Rupp <rupp@adacore.com>
28 Pat Bernardi <bernardi@adacore.com>
29
30 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
31 to apply to VxWorks 7 as well.
32
33 2020-10-29 Olivier Hainque <hainque@adacore.com>
34
35 * config/gthr-vxworks-tls.c: Fix preprocessor logic
36 controlling the definition of VX_ENTER_TLS_DTOR and
37 VX_LEAVE_TLS_DTOR based on a version major check.
38
39 2020-10-29 Olivier Hainque <hainque@adacore.com>
40
41 * config/gthr-vxworks-thread.c: Fix name of macro used
42 to condition the inclusion of an actual implementation.
43
44 2020-10-27 Martin Liska <mliska@suse.cz>
45
46 PR gcov-profile/97461
47 * libgcov.h (gcov_counter_add): Use first static counters
48 as it should help to have malloc wrappers set up.
49
50 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
51
52 * config/gthr-vxworks-thread.c: #include gthr.h before
53 testing the guard defined there.
54 * config/gthr-vxworks-cond.c: Likewise.
55
56 2020-10-21 Douglas Rupp <rupp@adacore.com>
57 Olivier Hainque <hainque@adacore.com>
58
59 * config.host (powerpc*-wrs-vxworks7*): New case.
60 * configure.ac: Handle powerpc*-*-vxworks7* as
61 powerpc*-*-linux* for ppc-fp_type.
62 * configure: Regenerate.
63
64 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
65
66 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
67 section on VxWorks >= 6.
68 * config/gthr-vxworks-thread.c: Condition the entire
69 implementation on __GTHREAD_CXX0X.
70
71 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
72
73 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
74 section on VxWorks >= 6.
75 * config/gthr-vxworks-cond.c: Condition the entire
76 implementation on __GTHREAD_HAS_COND.
77
78 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
79
80 * config/gthr-vxworks.c: #include <taskLib.h>.
81
82 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
83
84 * config/gthr-vxworks.h: Rewrite remaining occurrence
85 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
86
87 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
88 Olivier Hainque <hainque@adacore.com>
89
90 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
91 except on VxWorks 6.
92
93 2020-10-16 Olivier Hainque <hainque@adacore.com>
94
95 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
96
97 2020-10-14 Alexandre Oliva <oliva@adacore.com>
98
99 * config/gthr-vxworks-thread.c: Include stdlib.h.
100 (tls_delete_hook): Prototype it.
101 (__gthread_cond_signal): Return early if no waiters. Consume
102 signal in case the semaphore got full. Use semInfoGet instead
103 of kernel-mode-only semInfo.
104 (__gthread_cond_timedwait): Use semExchange. Always take the
105 mutex again before returning.
106 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
107
108 2020-10-14 Olivier Hainque <hainque@adacore.com>
109
110 * config/t-vxworks (LIBGCC2_INCLUDES): Append
111 $(MULTISUBDIR) to the -I path for fixed headers, as we
112 arrange to have different sets of such headers for different
113 multilibs when they are activated.
114 * config/t-vxworks7: Likewise.
115
116 2020-10-14 Olivier Hainque <hainque@adacore.com>
117
118 * config/t-vxworks: Add include-fixed to include search
119 paths for libgcc on VxWorks.
120 * config/t-vxworks7: Likewise.
121
122 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
123
124 PR target/97148
125 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
126 instead of <cetintrin.h>.
127
128 2020-10-01 Alan Modra <amodra@gmail.com>
129
130 * config/rs6000/morestack.S,
131 * config/rs6000/tramp.S: Support __PCREL__ code.
132
133 2020-10-01 Alan Modra <amodra@gmail.com>
134
135 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
136
137 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
138
139 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
140 variable.
141
142 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
143
144 * config/aarch64/libgcc-softfp.ver: New file.
145 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
146
147 2020-09-27 Clement Chigot <clement.chigot@atos.net>
148
149 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
150
151 2020-09-22 Sergei Trofimovich <siarheit@google.com>
152
153 PR gcov-profile/96913
154 * libgcov-driver.c (write_one_data): Avoid function pointer
155 comparison in TOP streaming decision.
156
157 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
158 Christophe Lyon <christophe.lyon@linaro.org>
159
160 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
161 qualifier.
162 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
163 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
164 missing prototypes.
165
166 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
167
168 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
169 unused variable warning.
170
171 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
172
173 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
174
175 2020-09-09 Tom de Vries <tdevries@suse.de>
176
177 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
178 Wbuiltin-declaration-mismatch.
179
180 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
181
182 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
183 * config/msp430/srai.S (__gnu_mspabi_srap): New.
184 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
185
186 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
187
188 * config/nvptx/atomic.c: New.
189 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
190
191 2020-08-03 Ian Lance Taylor <iant@golang.org>
192
193 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
194
195 2020-08-03 Jakub Jelinek <jakub@redhat.com>
196
197 PR target/96402
198 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
199 of x(tmp0), x(tmp1) in STXP arguments.
200
201 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
202
203 * config/riscv/save-restore.S [__riscv_xlen == 64]
204 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
205 (__riscv_save_2): Replace negative immediates used for the final
206 stack pointer adjustment with positive ones, right-shifted by 4.
207
208 2020-07-31 Martin Liska <mliska@suse.cz>
209
210 * libgcov-driver.c: Add __gcov_kvp_pool
211 and __gcov_kvp_pool_index variables.
212 * libgcov.h (allocate_gcov_kvp): New.
213 (gcov_topn_add_value): Use it.
214
215 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
216
217 * config/aarch64/lse.S: Add PAC property note.
218
219 2020-07-23 Martin Liska <mliska@suse.cz>
220
221 PR gcov-profile/96035
222 * libgcov-driver-system.c: Create gcov folders with 0777
223 so that it respects a system umask.
224
225 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
226
227 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
228
229 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
230
231 PR target/94891
232 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
233 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
234 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
235 (MD_DEMANGLE_RETURN_ADDR): This.
236 (aarch64_post_extract_frame_addr): Rename to ...
237 (aarch64_demangle_return_addr): This.
238 (aarch64_post_frob_eh_handler_addr): Remove.
239 * unwind-dw2.c (uw_update_context): Demangle return address.
240 (uw_frob_return_addr): Remove.
241
242 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
243
244 PR target/96001
245 * config/aarch64/lse.S: Add BTI marking and related definitions,
246 and add BTI c to function entries.
247
248 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
249
250 * config/aarch64/lse.S: Add stack note.
251
252 2020-07-02 Martin Liska <mliska@suse.cz>
253
254 PR gcov-profile/95348
255 * libgcov-driver.c (merge_one_data): Merge only profiles
256 that are not of non-zero type.
257 (write_one_data): Write counters only if there's one non-zero
258 value.
259 * libgcov-util.c (tag_function): Change signature from unsigned
260 to int.
261 (tag_blocks): Likewise.
262 (tag_arcs): Likewise.
263 (tag_counters): Likewise.
264 (tag_summary): Likewise.
265 (tag_lines): Read only if COUNTERS is non-zero.
266 (read_gcda_file): Handle negative length for COUNTERS type.
267
268 2020-06-25 Martin Liska <mliska@suse.cz>
269
270 * libgcov-driver.c (merge_summary): Remove function as its name
271 is misleading and doing something different.
272 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
273 in gcov-tool.
274 * libgcov-util.c (curr_object_summary): Remove.
275 (read_gcda_file): Remove unused curr_object_summary.
276 (gcov_merge): Merge summaries.
277 * libgcov.h: Add summary argument for gcov_info struct.
278
279 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
280
281 PR target/95259
282 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
283 "common/config/i386/i386-cpuinfo.h" and
284 "common/config/i386/cpuinfo.h".
285 (__cpu_features2): Changed to array.
286 (get_amd_cpu): Removed.
287 (get_intel_cpu): Likewise.
288 (get_available_features): Likewise.
289 (__cpu_indicator_init): Call cpu_indicator_init.
290 * config/i386/cpuinfo.h: Removed.
291
292 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
293
294 * Makefile.in: Remove uses of empty.mk. Use -include.
295 * config/avr/t-avr: Use -include.
296 * empty.mk: Delete.
297
298 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
299
300 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
301 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
302 and 64 bit with -maix64.
303 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
304 Build and install AIX-style FAT libraries.
305
306 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
307
308 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
309 'i386/gnu-unwind.h'
310 * config/i386/gnu-unwind.h: New file.
311
312 2020-06-17 Martin Liska <mliska@suse.cz>
313
314 * libgcov-util.c (read_gcda_finalize): Remove const operator.
315 (merge_wrapper): Add both counts and use them properly.
316 (topn_to_memory_representation): New function.
317 (gcov_merge): Covert on disk representation to in memory
318 representation.
319 * libgcov.h: Remove const operator.
320
321 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
322
323 * configure: Regenerate.
324 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
325 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
326
327 2020-06-09 Martin Liska <mliska@suse.cz>
328
329 PR gcov-profile/95494
330 * libgcov-driver.c (write_top_counters): Cast first to
331 intptr_t as sizeof(*) != sizeof(gcov_type).
332 * libgcov.h (gcov_counter_set_if_null): Remove.
333 (gcov_topn_add_value): Cast first to intptr_t and update
334 linked list directly.
335
336 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
337
338 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
339 with uw_install_context_1.
340
341 2020-06-04 Andreas Schwab <schwab@suse.de>
342
343 PR target/59230
344 PR libfortran/59227
345 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
346 soft-fp/divtf3.c.
347 (LIB2ADD): Add config/ia64/divtf3.c.
348 * config/ia64/divtf3.c: New file.
349
350 2020-06-03 Martin Liska <mliska@suse.cz>
351
352 PR gcov-profile/95480
353 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
354 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
355 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
356 (gcov_counter_set_if_null): Likewise.
357
358 2020-06-02 Jim Wilson <jimw@sifive.com>
359
360 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
361 to bgtz.
362
363 2020-06-02 Martin Liska <mliska@suse.cz>
364
365 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
366 of xmalloc.
367
368 2020-06-02 Martin Liska <mliska@suse.cz>
369
370 * libgcov-driver.c (prune_topn_counter): Remove.
371 (prune_counters): Likewise.
372 (merge_one_data): Special case TOP N counters
373 as they have variable length.
374 (write_top_counters): New.
375 (write_one_data): Special case TOP N.
376 (dump_one_gcov): Do not prune TOP N counters.
377 * libgcov-merge.c (merge_topn_values_set): Remove.
378 (__gcov_merge_topn): Use gcov_topn_add_value.
379 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
380 Likewise here.
381 * libgcov.h (gcov_counter_add): New.
382 (gcov_counter_set_if_null): Likewise.
383 (gcov_topn_add_value): New.
384
385 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
386
387 * config/i386/sfp-exceptions.c (struct fenv):
388 Add __attribute__ ((gcc_struct)).
389
390 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
391
392 PR bootstrap/95413
393 * configure: Regenerated.
394
395 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
396
397 PR gcov-profile/95332
398 * libgcov-util.c (read_gcda_file): Call gcov_magic.
399 * libgcov.h (gcov_magic): Disable GCC poison.
400
401 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
402
403 PR target/95212
404 * config/i386/cpuinfo.h (processor_features): Move
405 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
406
407 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
408
409 PR target/91695
410 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
411 check.
412
413 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
414
415 PR target/95212
416 PR target/95220
417 * config/i386/cpuinfo.c (get_available_features): Fix
418 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
419 * config/i386/cpuinfo.h (processor_features): Add
420 FEATURE_AVX512VP2INTERSECT.
421
422 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
423
424 PR bootstrap/95147
425 * configure: Regenerated.
426
427 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
428
429 * configure: Regenerated.
430
431 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
432
433 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
434 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
435
436 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
437
438 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
439 (__math_force_eval_div): New define.
440 (__sfp_handle_exceptions): Use __math_force_eval_div to use
441 generic division to generate INVALID, DIVZERO and INEXACT
442 exceptions.
443
444 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
445
446 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
447 instead of getauxval.
448 (AT_HWCAP): Define.
449 (HWCAP_ATOMICS): Define.
450 Guard detection on __gnu_linux__.
451
452 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
453
454 * config.host: Delete changes meant for a private branch.
455 * config/rs6000/t-float128: Likewise.
456 * configure.ac: Likewise.
457 * configure: Likewise.
458
459 2020-05-05 Martin Liska <mliska@suse.cz>
460
461 PR gcov-profile/93623
462 * Makefile.in: Remove __gcov_flush.
463 * gcov.h (__gcov_flush): Remove.
464 * libgcov-interface.c (__gcov_flush): Remove.
465 (init_mx): Use renamed mutex.
466 (__gcov_lock): Likewise.
467 (__gcov_unlock): Likewise.
468 (__gcov_fork): Likewise.
469 (__gcov_flush): Remove.
470
471 2020-05-05 Martin Liska <mliska@suse.cz>
472
473 PR gcov-profile/93623
474 * libgcov-interface.c (__gcov_fork): Do not flush
475 and reset only in child process.
476 (__gcov_execl): Dump counters only and reset them
477 only if exec* fails.
478 (__gcov_execlp): Likewise.
479 (__gcov_execle): Likewise.
480 (__gcov_execv): Likewise.
481 (__gcov_execvp): Likewise.
482 (__gcov_execve): Likewise.
483
484 2020-05-05 Martin Liska <mliska@suse.cz>
485
486 PR gcov-profile/93623
487 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
488 * libgcov-interface.c (ALIAS_void_fn): Remove.
489 (__gcov_lock): New.
490 (__gcov_unlock): New.
491 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
492 (__gcov_reset): Likewise.
493 (__gcov_dump): Likewise.
494 * libgcov.h (__gcov_lock): New declaration.
495 (__gcov_unlock): Likewise.
496
497 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
498
499 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
500 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
501 generic division to generate INVALID and DIVZERO exceptions.
502
503 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
504
505 * config/rs6000/crtresfpr.S: Use .machine ppc.
506 * config/rs6000/crtresxfpr.S: Likewise.
507 * config/rs6000/crtsavfpr.S: Likewise.
508
509 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
510
511 PR target/94514
512 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
513 Update context->flags accroding to the frame state.
514
515 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
516
517 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
518 Remove unneeded assignments to volatile memory.
519
520 2020-04-15 Jakub Jelinek <jakub@redhat.com>
521
522 PR target/93053
523 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
524 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
525 is not defined, use just .arch armv8-a.
526 (B, M, N, OPN): Define.
527 (COMMENT): New .macro.
528 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
529 defined. Otherwise, move the operands right after the glue? and
530 comment out operands where the macros are used.
531 * configure: Regenerated.
532 * config.in: Regenerated.
533
534 2020-04-07 Ian Lance Taylor <iant@golang.org>
535
536 PR libgcc/94513
537 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
538 syscall instead.
539
540 2020-04-04 Ian Lance Taylor <iant@golang.org>
541
542 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
543
544 2020-04-03 Ian Lance Taylor <iant@golang.org>
545
546 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
547 than mmap/munmap, to avoid hooks.
548
549 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
550
551 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
552 (TPFRA_OFFSET): Macros removed.
553 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
554 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
555 (PG3_SKIPPING_OFFSET): New macros.
556 (__isPATrange): Use cinfc_fast for the check.
557 (__isSkipResetAddr): New function.
558 (s390_fallback_frame_state): Check for skip trace addresses. Use
559 either ICST_CRET or ICST_SRET to calculate return address
560 location.
561 (__tpf_eh_return): Handle skip trace addresses.
562
563 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
564
565 PR target/94220
566 * config/arm/lib1funcs.asm (COND): Use a single definition for
567 unified syntax.
568 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
569 (aeabi_idivmod): Likewise.
570 (divsi3_skip_div0_test): Likewise.
571
572 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
573
574 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
575
576 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
577
578 * config.host: Include the new makefile fragment.
579 * config/s390/t-tpf: New file.
580
581 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
582
583 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
584 syntax.
585 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
586 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
587 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
588 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
589 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
590 syntax.
591 (divsi3, modsi3): Likewise.
592 (clzdi2, ctzsi2): Likewise.
593 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
594 unified syntax.
595 (UNWIND_WRAPPER): Likewise.
596
597 2020-03-02 Martin Liska <mliska@suse.cz>
598
599 * libgcov-interface.c: Remove duplicate
600 declaration of __gcov_flush_mx.
601
602 2020-02-18 Martin Liska <mliska@suse.cz>
603
604 PR ipa/92924
605 * libgcov-merge.c (merge_topn_values_set): Record
606 when a TOP N counter becomes invalid. When merging
607 remove a smallest value if the space is needed.
608
609 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
610
611 PR libstdc++/79193
612 PR libstdc++/88999
613
614 * configure: Regenerated.
615
616 2020-02-10 Jeff Law <law@redhat.com>
617
618 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
619 sections.
620 * config/frv/frvend.c: Similarly.
621
622 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
623
624 PR libgcc/85334
625 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
626 New.
627
628 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
629
630 PR target/93615
631 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
632 _Unwind_gnu_Find_got.
633 * unwind-pe.h: Likewise.
634
635 2020-02-07 Jakub Jelinek <jakub@redhat.com>
636
637 PR target/93615
638 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
639 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
640 trailing :s in asm. Formatting fixes.
641 (_Unwind_decode_typeinfo_ptr): Adjust caller.
642
643 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
644
645 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
646
647 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
648 * config/nios2-elf-lib.h: New.
649 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
650 code for finding GOT base for nios2.
651
652 2020-01-27 Martin Liska <mliska@suse.cz>
653
654 PR gcov-profile/93403
655 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
656 Call __gcov_indirect_call_profiler_body.
657 (__gcov_indirect_call_profiler_body): New.
658 (__gcov_indirect_call_profiler_v4_atomic): New.
659 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
660 New declaration.
661
662 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
663
664 * config/arc/crti.S: Add RF16 object attribute.
665 * config/arc/crtn.S: Likewise.
666 * config/arc/crttls.S: Likewise.
667 * config/arc/lib1funcs.S: Likewise.
668 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
669 * config/arc/lib2funcs.c: New file.
670 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
671
672 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
673
674 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
675 * configure.ac: Handle `--with-toolexeclibdir='.
676 * configure: Regenerate.
677
678 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
679
680 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
681
682 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
683
684 * config/mips/gnustack.h: New file.
685 * config/mips/crti.S: Include gnustack.h.
686 * config/mips/crtn.S: Likewise.
687 * config/mips/mips16.S: Likewise.
688 * config/mips/vr4120-div.S: Likewise.
689
690 2020-01-23 Martin Liska <mliska@suse.cz>
691
692 * libgcov-driver.c (prune_topn_counter): Remove
693 check for -1 as we only prune run-time counters
694 that do not generate an invalid state.
695
696 2020-01-22 Martin Liska <mliska@suse.cz>
697
698 PR tree-optimization/92924
699 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
700 try to find an existing value, then find an empty slot
701 if not found.
702
703 2020-01-22 Martin Liska <mliska@suse.cz>
704
705 PR tree-optimization/92924
706 * libgcov-driver.c (prune_topn_counter): New.
707 (prune_counters): Likewise.
708 (dump_one_gcov): Prune a run-time counter.
709 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
710 For a known value, add GCOV_TOPN_VALUES to value.
711 Otherwise, decrement all counters by one.
712
713 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
714
715 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
716
717 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
718
719 PR libgcc/92988
720 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
721 DEFAULT_USE_CXA_ATEXIT is true.
722
723 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
724 Thomas Preud'homme <thomas.preudhomme@arm.com>
725
726 * config/arm/t-arm: Check return value of gcc rather than lack of
727 output.
728
729 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
730
731 * config/avr/lib1funcs.S (skip): Simplify.
732
733 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
734
735 * config/gcn/atomic.c: Remove include of stdint.h.
736 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
737 __UINTPTR_TYPE__.
738
739 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
740
741 * config/gcn/atomic.c: New.
742 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
743
744 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
745
746 Implement 64-bit double functions.
747
748 PR target/92055
749 * config.host (tmake_file) [target=avr]: Add t-libf7,
750 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
751 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
752 depending on sizeof (double) or sizeof (long double).
753 * config/avr/libf7: New folder.
754
755 2020-01-05 Olivier Hainque <hainque@adacore.com>
756
757 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
758 by IN_LIBGCC2.
759
760 2020-01-01 Jakub Jelinek <jakub@redhat.com>
761
762 Update copyright years.
763
764 2019-12-30 Olivier Hainque <hainque@adacore.com>
765
766 * config/gthr-vxworks.h: Use _vxworks-versions.h.
767 * config/gthr-vxworks-tls.c: Likewise.
768
769 2019-12-30 Olivier Hainque <hainque@adacore.com>
770
771 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
772 standard zero-initializer syntax.
773
774 2019-12-30 Olivier Hainque <hainque@adacore.com>
775
776 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
777 reference to the internal VX_GET_TLS_DATA interface.
778
779 2019-12-30 Olivier Hainque <hainque@adacore.com>
780
781 * config/vxcrtstuff.c: Fix incorrect spelling of
782 USE_INITFINI_ARRAY in guard.
783
784 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
785
786 * config.host: s/msp430*-*-elf/msp430-*-elf*.
787 Override default "extra_parts" variable.
788 * configure: Regenerate.
789 * configure.ac: Disable TM clone registry by default for
790 msp430-elfbare.
791
792 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
793
794 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
795 "extra_parts".
796 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
797
798 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
799
800 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
801 true.
802
803 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
804
805 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
806 defined instead of its value.
807
808 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
809
810 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
811 if it will have contents.
812
813 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
814
815 PR target/92055
816 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
817
818 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
819
820 PR libgcc/91737
821 * config.host: Add t-gthr-noweak on *-*-musl*.
822 * config/t-gthr-noweak: New file.
823
824 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
825
826 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
827 volatile void *. Remove trap check.
828 (__kernel_cmpxchg2): Likewise.
829 (FETCH_AND_OP_2): Adjust operand types.
830 (OP_AND_FETCH_2): Likewise.
831 (FETCH_AND_OP_WORD): Likewise.
832 (OP_AND_FETCH_WORD): Likewise.
833 (COMPARE_AND_SWAP_2): Likewise.
834 (__sync_val_compare_and_swap_4): Likewise.
835 (__sync_bool_compare_and_swap_4): Likewise.
836 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
837 (__sync_lock_test_and_set_4): Likewise.
838 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
839 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
840 for release.
841 (__sync_lock_release_8): Remove.
842
843 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
844
845 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
846 of __sigset_t.
847
848 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
849 Doug Rupp <rupp@adacore.com>
850 Olivier Hainque <hainque@adacore.com>
851
852 * config.host: Collapse the arm-vxworks entries into
853 a single arm-wrs-vxworks7* one.
854 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
855 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
856 kernel modules, to be overriden by libstdc++ when we link with
857 it. Rely on externally provided __exidx_start/end.
858
859 2019-11-14 Doug Rupp <rupp@adacore.com>
860 Olivier Hainque <hainque@adacore.com>
861
862 * config.host: Handle aarch64*-wrs-vxworks7*.
863
864 2019-11-12 Olivier Hainque <hainque@adacore.com>
865
866 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
867 sources except the cxx0x support to LIB2ADDEH. We don't support
868 cxx0x on AE/653.
869 * config/t-vxworksae: New file.
870 * config.host: Handle *-*-vxworksae: Add the two aforementioned
871 Makefile fragment files at their expected position in the tmake_file
872 list, in accordance with what is done for other VxWorks variants.
873
874 2019-11-12 Corentin Gay <gay@adacore.com>
875 Jerome Lambourg <lambourg@adacore.com>
876 Olivier Hainque <hainque@adacore.com>
877
878 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
879 sources to LIB2ADDEH.
880 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
881 * config/t-vxworks7: Likewise.
882
883 * config.host: Append a block at the end of the file to add the
884 t-gthr files to the tmake_file list for VxWorks after everything
885 else.
886
887 * config/vxlib.c: Rename as gthr-vxworks.c.
888 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
889
890 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
891 API and a basic error checking API, both internal. Simplify the
892 __gthread_once_t type definition and initializers. Add sections
893 for condition variables support and for the C++0x thread support,
894 conditioned against Vx653 for the latter.
895
896 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
897 implementation, leveraging the TAS internal API.
898 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
899 API, leveraging the general availability of TLS services in VxWorks7
900 post SR6xxx.
901 (__gthread_setspecific, __gthread_setspecific): Use it.
902 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
903 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
904 support based on VxWorks primitives.
905 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
906 based on VxWorks primitives.
907
908 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
909 Olivier Hainque <hainque@adacore.com>
910
911 * config/vxcrtstuff.c: New file.
912 * config/t-vxcrtstuff: New Makefile fragment.
913 * config.host: Append t-vxcrtstuff to the tmake_file list
914 on all VxWorks ports using dwarf for table based EH.
915
916 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
917
918 Support 64-bit double and 64-bit long double configurations.
919
920 PR target/92055
921 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
922 long double is a 32-bit type.
923 * config/avr/t-avrlibc: Copy double64 and long-double64
924 multilib(s) from the vanilla one.
925 * config/avr/t-copy-libgcc: New Makefile snip.
926
927 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
928
929 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
930 the target output object format is not ELF.
931 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
932
933 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
934
935 PR libgcc/78804
936 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
937 * fp-bit.c (pack_d, unpack_d): Remove special cases for
938 FLOAT_BIT_ORDER_MISMATCH.
939 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
940
941 2019-11-01 Jim Wilson <jimw@sifive.com>
942
943 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
944
945 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
946
947 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
948 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
949 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
950 Define symbols for 32-bit and f5series hardware multiply
951 register addresses.
952 Replace hard-coded register addresses with symbols.
953 Fix "_mspabi*" typo.
954 Fix whitespace.
955 * config/msp430/lib2mul.c: Add comment.
956
957 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
958
959 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
960 unsigned int. Adjust callers.
961 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
962 unsigned int *. Load relocation offset before function pointer.
963 Add barrier to ensure ordering.
964
965 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
966
967 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
968 Load PIC register after branch target. Fix white space.
969 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
970 implementations. Load PIC register after branch target. Don't
971 clobber function pointer when it points to function descriptor.
972 Use nullification instead of branch in LINUX implementation.
973
974 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
975
976 * config/pa/fptr.c: Disable -Warray-bounds warning.
977
978 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
979
980 * config.in, configure: Re-rebuild with stock autoconf 2.69,
981 not the ubuntu modified 2.69.
982
983 PR target/91833
984 * config/aarch64/lse-init.c: Include auto-target.h. Disable
985 initialization if !HAVE_SYS_AUXV_H.
986 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
987 * config.in, configure: Rebuild.
988
989 PR target/91834
990 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
991 overlap the inputs.
992
993 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
994
995 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
996 CTR_EL0.IDC and CTR_EL0.DIC.
997
998 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
999
1000 Revert:
1001 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1002 Mickaël Guêné <mickael.guene@st.com>
1003
1004 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1005 architecture.
1006
1007 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
1008
1009 * config/aarch64/lse-init.c: New file.
1010 * config/aarch64/lse.S: New file.
1011 * config/aarch64/t-lse: New file.
1012 * config.host: Add t-lse to all aarch64 tuples.
1013
1014 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1015 Mickaël Guêné <mickael.guene@st.com>
1016
1017 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1018 architecture.
1019
1020 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1021 Mickaël Guêné <mickael.guene@st.com>
1022
1023 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1024 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1025 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1026 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1027 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1028 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1029 (__gnu_personality_sigframe_fdpic): New.
1030 (get_eit_entry): Add FDPIC signal frame support.
1031
1032 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1033 Mickaël Guêné <mickael.guene@st.com>
1034
1035 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1036 (__kernel_dmb): Likewise.
1037 (__fdpic_cmpxchg): New function.
1038 (__fdpic_dmb): New function.
1039 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1040 (gnu_Unwind_Find_got): New function.
1041 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1042 * unwind-arm-common.inc (UCB_PR_GOT): New.
1043 (funcdesc_t): New struct.
1044 (get_eit_entry): Add FDPIC support.
1045 (unwind_phase2): Likewise.
1046 (unwind_phase2_forced): Likewise.
1047 (__gnu_Unwind_RaiseException): Likewise.
1048 (__gnu_Unwind_Resume): Likewise.
1049 (__gnu_Unwind_Backtrace): Likewise.
1050 * unwind-pe.h (read_encoded_value_with_base): Likewise.
1051
1052 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1053 Mickaël Guêné <mickael.guene@st.com>
1054
1055 * libgcc/crtstuff.c: Add support for FDPIC.
1056
1057 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1058
1059 * config.host: Handle *-*-uclinuxfdpiceabi.
1060
1061 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1062
1063 * config.host: Set cpu_type for bpf-*-* targets.
1064 * config/bpf/t-bpf: Likewise.
1065 * config/bpf/crtn.S: Likewise.
1066 * config/bpf/crti.S: New file.
1067
1068 2019-09-06 Jim Wilson <jimw@sifive.com>
1069
1070 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1071 (riscv*-*-freebsd*): Likewise.
1072
1073 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
1074
1075 * config.host: Remove references to spu.
1076 * config/spu/: Remove directory.
1077
1078 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1079
1080 PR target/91306
1081 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1082 element type, instead of "sizeof" the element type.
1083 (__DTOR_LIST__): Likewise.
1084 (__TMC_LIST__): Likewise.
1085 (__do_global_dtors_aux_fini_array_entry): Likewise.
1086 (__frame_dummy_init_array_entry): Likewise.
1087 (__CTOR_END__): Likewise.
1088 (__DTOR_END__): Likweise.
1089 (__FRAME_END__): Likewise.
1090 (__TMC_END__): Likewise.
1091
1092 2019-08-20 Lili Cui <lilicui@intel.com>
1093
1094 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1095 INTEL_COREI7_COOPERLAKE.
1096
1097 2019-07-31 Matt Thomas <matt@3am-software.com>
1098 Nick Hudson <nick@nthcliff.demon.co.uk>
1099 Matthew Green <mrg@eterna.com.au>
1100 Maya Rashish <coypu@sdf.org>
1101
1102 * config.host (hppa*-*-netbsd*): New case.
1103 * config/pa/t-netbsd: New file.
1104
1105 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
1106
1107 * config/arm/cmse.c (cmse_check_address_range): Add
1108 warn_unused_result attribute.
1109
1110 2019-07-22 Martin Liska <mliska@suse.cz>
1111
1112 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1113 * config/pa/t-stublib: Likewise.
1114
1115 2019-07-22 Stafford Horne <shorne@gmail.com>
1116
1117 PR target/90362
1118 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1119 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1120 instructions are not available on every processor. Change a
1121 l.bnf to l.bf to fix logic issue.
1122
1123 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
1124
1125 * config.host: Remove reference to t-darwin8.
1126
1127 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
1128
1129 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1130 list.
1131 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
1132 mmacosx-version-min for crts to run across all system versions.
1133 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1134 * config/t-darwin: Revise mmacosx-version-min for crts to run across
1135 system versions >= 10.4.
1136
1137 2019-07-03 Martin Liska <mliska@suse.cz>
1138
1139 * Makefile.in: Use topn_values instead of one_value names.
1140 * libgcov-merge.c (__gcov_merge_single): Move to ...
1141 (__gcov_merge_topn): ... this.
1142 (merge_single_value_set): Move to ...
1143 (merge_topn_values_set): ... this.
1144 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1145 ...
1146 (__gcov_topn_values_profiler_body): ... this.
1147 (__gcov_one_value_profiler_v2): Move to ...
1148 (__gcov_topn_values_profiler): ... this.
1149 (__gcov_one_value_profiler_v2_atomic): Move to ...
1150 (__gcov_topn_values_profiler_atomic): ... this.
1151 (__gcov_indirect_call_profiler_v4): Remove.
1152 * libgcov-util.c (__gcov_single_counter_op): Move to ...
1153 (__gcov_topn_counter_op): ... this.
1154 * libgcov.h (L_gcov_merge_single): Remove.
1155 (L_gcov_merge_topn): New.
1156 (__gcov_merge_single): Remove.
1157 (__gcov_merge_topn): New.
1158 (__gcov_one_value_profiler_v2): Move to ..
1159 (__gcov_topn_values_profiler): ... this.
1160 (__gcov_one_value_profiler_v2_atomic): Move to ...
1161 (__gcov_topn_values_profiler_atomic): ... this.
1162
1163 2019-07-03 Martin Liska <mliska@suse.cz>
1164
1165 * libgcov-merge.c (merge_single_value_set): Support N values.
1166 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1167
1168 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
1169
1170 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1171 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1172 * configure.ac: Add --disable-tm-clone-registry option.
1173 * configure: Regenerate.
1174
1175 2019-06-27 Martin Liska <mliska@suse.cz>
1176
1177 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1178 dead assignments.
1179 * libgcov-util.c: Likewise.
1180
1181 2019-06-27 Martin Liska <mliska@suse.cz>
1182
1183 * libgcov-util.c (gcov_profile_merge): Release allocated
1184 memory.
1185 (calculate_overlap): Likewise.
1186
1187 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
1188
1189 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1190 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1191 Build objects for the out of line save/restore register functions
1192 so that they can be used for any supported Darwin version.
1193 * config/t-darwin: Default the build Darwin version to Darwin8
1194 (MacOS 10.4).
1195
1196 2019-06-25 Martin Liska <mliska@suse.cz>
1197
1198 * libgcov-driver-system.c (replace_filename_variables): Do not
1199 call strlen with NULL argument.
1200
1201 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
1202
1203 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1204 * config/gcn/unwind-gcn.c: New file.
1205
1206 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
1207 Andrew Stubbs <ams@codesourcery.com>
1208
1209 * configure: Regenerate.
1210 * config/gcn/gthr-gcn.h: New.
1211
1212 2019-06-18 Tom de Vries <tdevries@suse.de>
1213
1214 * config/nvptx/crt0.c (__main): Declare.
1215
1216 2019-06-17 Matthew Green <mrg@eterna.com.au>
1217 Maya Rashish <coypu@sdf.org>
1218
1219 * config.host (aarch64*-*-netbsd*): New case.
1220
1221 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1222
1223 * config/msp430/slli.S (__mspabi_sllll): New library function for
1224 performing a logical left shift of a 64-bit value.
1225 * config/msp430/srai.S (__mspabi_srall): New library function for
1226 performing a arithmetic right shift of a 64-bit value.
1227 * config/msp430/srll.S (__mspabi_srlll): New library function for
1228 performing a logical right shift of a 64-bit value.
1229
1230 2019-06-14 Matt Thomas <matt@3am-software.com>
1231 Matthew Green <mrg@eterna.com.au>
1232 Nick Hudson <skrll@netbsd.org>
1233 Maya Rashish <coypu@sdf.org>
1234
1235 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1236 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1237 functions to build.
1238 * config/arm/t-netbsd-eabi: New file.
1239
1240 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
1241
1242 * config.host: Add PRU target.
1243 * config/pru/asri.c: New file.
1244 * config/pru/eqd.c: New file.
1245 * config/pru/eqf.c: New file.
1246 * config/pru/ged.c: New file.
1247 * config/pru/gef.c: New file.
1248 * config/pru/gtd.c: New file.
1249 * config/pru/gtf.c: New file.
1250 * config/pru/led.c: New file.
1251 * config/pru/lef.c: New file.
1252 * config/pru/lib2bitcountHI.c: New file.
1253 * config/pru/lib2divHI.c: New file.
1254 * config/pru/lib2divQI.c: New file.
1255 * config/pru/lib2divSI.c: New file.
1256 * config/pru/libgcc-eabi.ver: New file.
1257 * config/pru/ltd.c: New file.
1258 * config/pru/ltf.c: New file.
1259 * config/pru/mpyll.S: New file.
1260 * config/pru/pru-abi.h: New file.
1261 * config/pru/pru-asm.h: New file.
1262 * config/pru/pru-divmod.h: New file.
1263 * config/pru/sfp-machine.h: New file.
1264 * config/pru/t-pru: New file.
1265
1266 2019-06-11 Jakub Jelinek <jakub@redhat.com>
1267
1268 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1269
1270 2019-06-10 Martin Liska <mliska@suse.cz>
1271
1272 PR bootstrap/90808
1273 * libgcov.h: Add ATTRIBUTE_UNUSED.
1274
1275 2019-06-10 Martin Liska <mliska@suse.cz>
1276
1277 * Makefile.in: Add __gcov_one_value_profiler_v2,
1278 __gcov_one_value_profiler_v2_atomic and
1279 __gcov_indirect_call_profiler_v4.
1280 * libgcov-merge.c (__gcov_merge_single): Change
1281 function signature.
1282 (merge_single_value_set): New.
1283 * libgcov-profiler.c (__gcov_one_value_profiler_body):
1284 Update functionality.
1285 (__gcov_one_value_profiler): Remove.
1286 (__gcov_one_value_profiler_v2): ... this.
1287 (__gcov_one_value_profiler_atomic): Rename to ...
1288 (__gcov_one_value_profiler_v2_atomic): this.
1289 (__gcov_indirect_call_profiler_v3): Rename to ...
1290 (__gcov_indirect_call_profiler_v4): ... this.
1291 * libgcov.h (__gcov_one_value_profiler): Remove.
1292 (__gcov_one_value_profiler_atomic): Remove.
1293 (__gcov_one_value_profiler_v2_atomic): New.
1294 (__gcov_indirect_call_profiler_v3): Remove.
1295 (__gcov_one_value_profiler_v2): New.
1296 (__gcov_indirect_call_profiler_v4): New.
1297 (gcov_get_counter_ignore_scaling): New function.
1298
1299 2019-06-07 Martin Liska <mliska@suse.cz>
1300
1301 * Makefile.in: Remove usage of
1302 _gcov_merge_icall_topn.
1303 * libgcov-driver.c (gcov_sort_n_vals): Remove.
1304 (gcov_sort_icall_topn_counter): Likewise.
1305 (gcov_sort_topn_counter_arrays): Likewise.
1306 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1307 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1308 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1309 Likewise.
1310 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1311 (struct indirect_call_tuple): Remove.
1312 (__gcov_indirect_call_topn_profiler): Remove.
1313 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1314 * libgcov.h (gcov_sort_n_vals): Remove.
1315 (L_gcov_merge_icall_topn): Likewise.
1316 (__gcov_merge_icall_topn): Likewise.
1317 (__gcov_indirect_call_topn_profiler): Likewise.
1318
1319 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
1320
1321 * config/rs6000/t-darwin: Ensure that the unwinder is built with
1322 altivec enabled.
1323
1324 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1325
1326 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1327 section.
1328 (__mspabi_slli): Likewise.
1329 (__mspabi_slll_n): Likewise.
1330 (__mspabi_slll): Likewise.
1331 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1332 (__mspabi_srai): Likewise.
1333 (__mspabi_sral_n): Likewise.
1334 (__mspabi_sral): Likewise.
1335 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1336 (__mspabi_srli): Likewise.
1337 (__mspabi_srll_n): Likewise.
1338 (__mspabi_srll): Likewise.
1339
1340 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1341
1342 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1343 Add appropriate tm_file clause as well.
1344 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1345
1346 2019-06-05 James Clarke <jrtc27@jrtc27.com>
1347
1348 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1349 rather than .data/.bss so it can be accessed via gp-relative
1350 addressing.
1351
1352 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
1353
1354 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1355 (CR2_REGNO): Rename to R_CR2.
1356 (XER_REGNO): Rename to R_XER.
1357 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1358 (VRSAVE_REGNO): Rename to R_VRSAVE.
1359 (VSCR_REGNO): R_VSCR.
1360
1361 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
1362
1363 * config.host (rx-*-linux*): Add new case.
1364 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1365
1366 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
1367
1368 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1369 function.
1370 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1371 aarch64_post_frob_eh_handler_addr): Add check for b-key.
1372 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1373 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1374 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1375 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1376 string.
1377 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1378 string.
1379 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1380
1381 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1382
1383 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1384 Remove Solaris 9 and 10 support.
1385 (sparc_is_sighandler): Likewise.
1386
1387 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
1388
1389 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1390
1391 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
1392
1393 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1394 4_FP_W_TYPEs are used for IEEE quad precision.
1395 * soft-fp/extendhftf2.c: Likewise.
1396 * soft-fp/extendsftf2.c: Likewise.
1397 * soft-fp/extendxftf2.c: Likewise.
1398 * soft-fp/trunctfdf2.c: Likewise.
1399 * soft-fp/trunctfhf2.c: Likewise.
1400 * soft-fp/trunctfsf2.c: Likewise.
1401 * soft-fp/trunctfxf2.c: Likewise.
1402 * config/rs6000/ibm-ldouble.c: Likewise.
1403
1404 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1405
1406 * config.host: Simplify various *-*-solaris2.1[0-9]* to
1407 *-*-solaris2*.
1408 * configure.ac: Likewise.
1409 * configure: Regenerate.
1410
1411 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1412 Solaris 10 and Solaris 11 < snv_125 handling.
1413
1414 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
1415
1416 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1417
1418 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
1419
1420 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1421 * config/i386/cpuinfo.h (enum processor_features): Add
1422 FEATURE_AVX512BF16.
1423
1424 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1425 Bernd Edlinger <bernd.edlinger@hotmail.de>
1426 Jakub Jelinek <jakub@redhat.com>
1427
1428 PR target/89093
1429 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1430 * config/arm/unwind-arm.c: Likewise.
1431 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1432 attribute for ARM.
1433
1434 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
1435
1436 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1437 (RT_SIGRETURN): Update.
1438 (nds32_fallback_frame_state): Update.
1439
1440 2019-02-21 Martin Sebor <msebor@redhat.com>
1441
1442 * libgcc2.h (__clear_cache): Correct signature.
1443 * libgcc2.c (__clear_cache): Same.
1444
1445 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
1446
1447 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1448 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1449
1450 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
1451
1452 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1453 regno instead of index to DWARF_ZERO_REG.
1454
1455 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
1456
1457 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1458 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1459
1460 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
1461
1462 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1463 to HOST_LIBGCC2_CFLAGS.
1464
1465 2019-01-23 Joseph Myers <joseph@codesourcery.com>
1466
1467 PR libgcc/88931
1468 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
1469
1470 2019-01-18 Martin Liska <mliska@suse.cz>
1471
1472 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1473 to ...
1474 (__gcov_indirect_call_profiler_v3): ... this.
1475 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1476 (__gcov_indirect_call_profiler_v3): Likewise.
1477 * Makefile.in: Bump function name.
1478
1479 2019-01-18 Martin Liska <mliska@suse.cz>
1480
1481 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1482 (gcov_version): Use in gcov_error.
1483 (merge_one_data): Likewise.
1484 (dump_one_gcov): Likewise.
1485
1486 2019-01-18 Martin Liska <mliska@suse.cz>
1487
1488 * libgcov-driver.c (gcov_version_string): New function.
1489 (gcov_version): Convert version integer into string.
1490
1491 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
1492 Kwok Cheung Yeung <kcy@codesourcery.com>
1493 Julian Brown <julian@codesourcery.com>
1494 Tom de Vries <tom@codesourcery.com>
1495
1496 * config.host: Recognize amdgcn*-*-amdhsa.
1497 * config/gcn/crt0.c: New file.
1498 * config/gcn/lib2-divmod-hi.c: New file.
1499 * config/gcn/lib2-divmod.c: New file.
1500 * config/gcn/lib2-gcn.h: New file.
1501 * config/gcn/sfp-machine.h: New file.
1502 * config/gcn/t-amdgcn: New file.
1503
1504 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
1505
1506 PR other/16615
1507
1508 * config/c6x/libunwind.S: Mechanically replace "can not" with
1509 "cannot".
1510 * config/tilepro/atomic.h: Likewise.
1511 * config/vxlib-tls.c: Likewise.
1512 * generic-morestack-thread.c: Likewise.
1513 * generic-morestack.c: Likewise.
1514 * mkmap-symver.awk: Likewise.
1515
1516 2019-01-01 Jakub Jelinek <jakub@redhat.com>
1517
1518 Update copyright years.
1519
1520 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1521
1522 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1523 to ignore -Waddress-of-packed-member.
1524
1525 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
1526
1527 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1528 parameter and corresponding code.
1529 (ARM_FUNC_START): Likewise in both definitions.
1530 Also update footer comment about condition that need to match with
1531 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1532 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1533 defined. Weakly define it in this case.
1534 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1535 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1536 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1537 comment to keep condition in sync with the one in
1538 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1539
1540 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
1541
1542 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1543 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1544
1545 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1546
1547 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1548 and .cfi_endproc directives for VxWorks targets.
1549
1550 2018-12-05 Paul Koning <ni1d@arrl.net>
1551
1552 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1553
1554 2018-11-27 Alan Modra <amodra@gmail.com>
1555
1556 * config/rs6000/morestack.S (__stack_split_initialize),
1557 (__morestack_get_guard, __morestack_set_guard),
1558 (__morestack_make_guard): Provide CFI covering these functions.
1559 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1560
1561 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1562
1563 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
1564 (sc_pt_regs_lr): Update for kernel.
1565 (sc_pt_regs_tls): Update for kernel.
1566
1567 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1568
1569 * config/csky/linux-unwind.h: Fix coding style.
1570
1571 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
1572
1573 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1574 (csky_fallback_frame_state): Modify the check of the
1575 instructions to adapt to changes in the kernel
1576
1577 2018-11-09 Stafford Horne <shorne@gmail.com>
1578 Richard Henderson <rth@twiddle.net>
1579
1580 * config.host: Add OpenRISC support.
1581 * config/or1k/*: New.
1582
1583 2018-11-08 Kito Cheng <kito@andestech.com>
1584
1585 * soft-fp/adddf3.c: Update from glibc.
1586 * soft-fp/addsf3.c: Likewise.
1587 * soft-fp/addtf3.c: Likewise.
1588 * soft-fp/divdf3.c: Likewise.
1589 * soft-fp/divsf3.c: Likewise.
1590 * soft-fp/divtf3.c: Likewise.
1591 * soft-fp/double.h: Likewise.
1592 * soft-fp/eqdf2.c: Likewise.
1593 * soft-fp/eqsf2.c: Likewise.
1594 * soft-fp/eqtf2.c: Likewise.
1595 * soft-fp/extenddftf2.c: Likewise.
1596 * soft-fp/extended.h: Likewise.
1597 * soft-fp/extendhftf2.c: Likewise.
1598 * soft-fp/extendsfdf2.c: Likewise.
1599 * soft-fp/extendsftf2.c: Likewise.
1600 * soft-fp/extendxftf2.c: Likewise.
1601 * soft-fp/fixdfdi.c: Likewise.
1602 * soft-fp/fixdfsi.c: Likewise.
1603 * soft-fp/fixdfti.c: Likewise.
1604 * soft-fp/fixhfti.c: Likewise.
1605 * soft-fp/fixsfdi.c: Likewise.
1606 * soft-fp/fixsfsi.c: Likewise.
1607 * soft-fp/fixsfti.c: Likewise.
1608 * soft-fp/fixtfdi.c: Likewise.
1609 * soft-fp/fixtfsi.c: Likewise.
1610 * soft-fp/fixtfti.c: Likewise.
1611 * soft-fp/fixunsdfdi.c: Likewise.
1612 * soft-fp/fixunsdfsi.c: Likewise.
1613 * soft-fp/fixunsdfti.c: Likewise.
1614 * soft-fp/fixunshfti.c: Likewise.
1615 * soft-fp/fixunssfdi.c: Likewise.
1616 * soft-fp/fixunssfsi.c: Likewise.
1617 * soft-fp/fixunssfti.c: Likewise.
1618 * soft-fp/fixunstfdi.c: Likewise.
1619 * soft-fp/fixunstfsi.c: Likewise.
1620 * soft-fp/fixunstfti.c: Likewise.
1621 * soft-fp/floatdidf.c: Likewise.
1622 * soft-fp/floatdisf.c: Likewise.
1623 * soft-fp/floatditf.c: Likewise.
1624 * soft-fp/floatsidf.c: Likewise.
1625 * soft-fp/floatsisf.c: Likewise.
1626 * soft-fp/floatsitf.c: Likewise.
1627 * soft-fp/floattidf.c: Likewise.
1628 * soft-fp/floattihf.c: Likewise.
1629 * soft-fp/floattisf.c: Likewise.
1630 * soft-fp/floattitf.c: Likewise.
1631 * soft-fp/floatundidf.c: Likewise.
1632 * soft-fp/floatundisf.c: Likewise.
1633 * soft-fp/floatunditf.c: Likewise.
1634 * soft-fp/floatunsidf.c: Likewise.
1635 * soft-fp/floatunsisf.c: Likewise.
1636 * soft-fp/floatunsitf.c: Likewise.
1637 * soft-fp/floatuntidf.c: Likewise.
1638 * soft-fp/floatuntihf.c: Likewise.
1639 * soft-fp/floatuntisf.c: Likewise.
1640 * soft-fp/floatuntitf.c: Likewise.
1641 * soft-fp/gedf2.c: Likewise.
1642 * soft-fp/gesf2.c: Likewise.
1643 * soft-fp/getf2.c: Likewise.
1644 * soft-fp/half.h: Likewise.
1645 * soft-fp/ledf2.c: Likewise.
1646 * soft-fp/lesf2.c: Likewise.
1647 * soft-fp/letf2.c: Likewise.
1648 * soft-fp/muldf3.c: Likewise.
1649 * soft-fp/mulsf3.c: Likewise.
1650 * soft-fp/multf3.c: Likewise.
1651 * soft-fp/negdf2.c: Likewise.
1652 * soft-fp/negsf2.c: Likewise.
1653 * soft-fp/negtf2.c: Likewise.
1654 * soft-fp/op-1.h: Likewise.
1655 * soft-fp/op-2.h: Likewise.
1656 * soft-fp/op-4.h: Likewise.
1657 * soft-fp/op-8.h: Likewise.
1658 * soft-fp/op-common.h: Likewise.
1659 * soft-fp/quad.h: Likewise.
1660 * soft-fp/single.h: Likewise.
1661 * soft-fp/soft-fp.h: Likewise.
1662 * soft-fp/subdf3.c: Likewise.
1663 * soft-fp/subsf3.c: Likewise.
1664 * soft-fp/subtf3.c: Likewise.
1665 * soft-fp/truncdfsf2.c: Likewise.
1666 * soft-fp/trunctfdf2.c: Likewise.
1667 * soft-fp/trunctfhf2.c: Likewise.
1668 * soft-fp/trunctfsf2.c: Likewise.
1669 * soft-fp/trunctfxf2.c: Likewise.
1670 * soft-fp/unorddf2.c: Likewise.
1671 * soft-fp/unordsf2.c: Likewise.
1672 * soft-fp/unordtf2.c: Likewise.
1673
1674 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
1675
1676 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1677 * config/i386/cpuinfo.h (processor_types): Add znver2.
1678
1679 2018-11-01 Paul Koning <ni1d@arrl.net>
1680
1681 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1682 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1683
1684 2018-10-31 Joseph Myers <joseph@codesourcery.com>
1685
1686 PR bootstrap/82856
1687 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1688 * configure: Regenerate.
1689
1690 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
1691
1692 * config/arc/lib1funcs.S (_muldi3): New function.
1693 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1694
1695 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1696
1697 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1698
1699 2018-10-25 Martin Liska <mliska@suse.cz>
1700
1701 PR other/87735
1702 * libgcov-profiler.c: Revert.
1703
1704 2018-10-24 Martin Liska <mliska@suse.cz>
1705
1706 * libgcov-profiler.c: Start from 1 in order to distinguish
1707 functions which were seen and these that were not.
1708
1709 2018-10-18 Paul Koning <ni1d@arrl.net>
1710
1711 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1712 standard.
1713 * divmod.c: Update references to __udivmodsi4.
1714 * udivmod.c: Ditto.
1715 * udivhi3.c: New file.
1716 * udivmodhi4.c: New file.
1717 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1718
1719 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1720
1721 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1722
1723 2018-10-12 Olivier Hainque <hainque@adacore.com>
1724
1725 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1726 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1727
1728 2018-10-08 Paul Koning <ni1d@arrl.net>
1729
1730 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1731
1732 2018-10-04 Martin Liska <mliska@suse.cz>
1733
1734 PR gcov-profile/84107
1735 * libgcov-profiler.c (__gcov_indirect_call):
1736 Change type to indirect_call_tuple.
1737 (struct indirect_call_tuple): New struct.
1738 (__gcov_indirect_call_topn_profiler): Change type.
1739 (__gcov_indirect_call_profiler_v2): Use the new
1740 variables.
1741 * libgcov.h (struct indirect_call_tuple): New struct
1742 definition.
1743
1744 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
1745
1746 * libgcc2.c (isnan): Use __builtin_isnan.
1747 (isfinite): Use __builtin_isfinite.
1748 (isinf): Use __builtin_isinf.
1749
1750 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
1751
1752 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1753
1754 2018-09-21 Alexandre Oliva <oliva@adacore.com>
1755
1756 * config/vxcache.c: New file. Provide __clear_cache, based on
1757 the cacheTextUpdate VxWorks service.
1758 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1759 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1760 * config/t-vxwoks7: Likewise.
1761
1762 2018-09-21 Martin Liska <mliska@suse.cz>
1763
1764 * libgcov-driver.c (crc32_unsigned): Remove.
1765 (gcov_histogram_insert): Likewise.
1766 (gcov_compute_histogram): Likewise.
1767 (compute_summary): Simplify rapidly.
1768 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1769 (merge_summary): Rapidly simplify.
1770 (dump_one_gcov): Ignore gcov_summary.
1771 (gcov_do_dump): Do not handle program summary, it's not
1772 used.
1773 * libgcov-util.c (tag_summary): Remove.
1774 (read_gcda_finalize): Fix coding style.
1775 (read_gcda_file): Initialize curr_object_summary.
1776 (compute_summary): Remove.
1777 (calculate_overlap): Remove settings of run_max.
1778
1779 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1780
1781 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1782 ucontext_t type instead.
1783 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1784
1785 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
1786
1787 * config/nds32/t-nds32-glibc: New file.
1788
1789 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1790
1791 * configure.ac (solaris_ld_v2_maps): New test.
1792 * configure: Regenerate.
1793 * Makefile.in (solaris_ld_v2_maps): New variable.
1794 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1795 if supported.
1796
1797 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
1798
1799 PR target/86951
1800 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1801 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1802 to build.
1803
1804 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1805
1806 * config/unwind-dw2-fde-darwin.c
1807 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1808 * config/darwin10-unwind-find-enc-func.c: … to here.
1809 * config/t-darwin: Build Darwin10 unwinder shim crt.
1810 * libgcc/config.host: Add the Darwin10 unwinder shim.
1811
1812 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1813
1814 * config.host: Add crtbegin.o and crtend.o for
1815 powerpc-wrs-vxworks target.
1816
1817 2018-08-17 Jojo <jijie_rong@c-sky.com>
1818 Huibin Wang <huibin_wang@c-sky.com>
1819 Sandra Loosemore <sandra@codesourcery.com>
1820 Chung-Lin Tang <cltang@codesourcery.com>
1821
1822 C-SKY port: libgcc
1823
1824 * config.host: Add C-SKY support.
1825 * config/csky/*: New.
1826
1827 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1828
1829 * config/nds32/t-nds32-isr: Rearrange object dependency.
1830 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1831 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1832 and registers usage.
1833 * config/nds32/isr-library/excp_isr.S: Ditto.
1834 * config/nds32/isr-library/intr_isr.S: Ditto.
1835 * config/nds32/isr-library/reset.S: Ditto.
1836 * config/nds32/isr-library/restore_all.inc: Ditto.
1837 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1838 * config/nds32/isr-library/restore_partial.inc: Ditto.
1839 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1840 * config/nds32/isr-library/save_all.inc: Ditto.
1841 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1842 * config/nds32/isr-library/save_partial.inc: Ditto.
1843 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1844 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1845
1846 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
1847
1848 * config/pa/linux-atomic.c: Update comment.
1849 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1850 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1851 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1852 __ATOMIC_RELAXED for atomic loads.
1853 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1854 unordered store to release lock.
1855 (__sync_lock_release_8): Likewise.
1856 (SYNC_LOCK_RELEASE_2): Remove define.
1857
1858 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
1859
1860 PR libgcc/86512
1861 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1862 exponent goes negative. Update my email address.
1863 * config/arm/ieee754-sf.S: Likewise.
1864
1865 2018-08-01 Martin Liska <mliska@suse.cz>
1866
1867 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
1868 check that __gcov_indirect_call_callee is non-null.
1869
1870 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1871
1872 * config/arm/ieee754-df.S: Fix comment for code working on
1873 architectures >= 4.
1874 * config/arm/ieee754-sf.S: Likewise.
1875
1876 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1877
1878 PR libgcc/85334
1879 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1880 Removed.
1881
1882 2018-07-05 James Clarke <jrtc27@jrtc27.com>
1883
1884 * configure: Regenerated.
1885
1886 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1887
1888 * Makefile.in (install_leaf): Use enable_gcov instead of
1889 enable_libgcov.
1890
1891 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1892
1893 * configure.ac: Add --disable-gcov option.
1894 * configure: Regenerate.
1895 * Makefile.in: Honour @enable_gcov@.
1896
1897 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1898
1899 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1900 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1901 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1902 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1903 __ARM_ARCH__.
1904 * config/arm/ieee754-sf.S: Likewise.
1905 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1906
1907 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1908
1909 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1910 longer supported.
1911 * config/arm/ieee754-sf.S: Likewise.
1912
1913 2018-06-20 Than McIntosh <thanm@google.com>
1914
1915 PR libgcc/86213
1916 * generic-morestack.c (allocate_segment): Move calls to getenv and
1917 getpagesize to __morestack_load_mmap.
1918 (__morestack_load_mmap) Initialize static_pagesize and
1919 use_guard_page here so as to avoid clobbering SSE regs during a
1920 __morestack call.
1921
1922 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
1923
1924 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1925 support modules with -mno-gnu-attribute.
1926 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1927
1928 2018-06-07 Olivier Hainque <hainque@adacore.com>
1929
1930 * config/t-vxworks (LIBGCC_INCLUDES): Add
1931 -I$(MULTIBUILDTOP)../../gcc/include.
1932 * config/t-vxworks7: Likewise. Reformat a bit to match
1933 the t-vxworks layout.
1934
1935 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1936
1937 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1938
1939 2018-06-07 Martin Liska <mliska@suse.cz>
1940
1941 * libgcov-driver.c: Rename cs_all to all and assign it from
1942 all_prg.
1943
1944 2018-06-07 Martin Liska <mliska@suse.cz>
1945
1946 PR bootstrap/86057
1947 * libgcov-driver-system.c (replace_filename_variables): Use
1948 memcpy instead of mempcpy.
1949 (allocate_filename_struct): Do not allocate filename, allocate
1950 prefix and set it.
1951 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
1952 here and properly copy content into it.
1953 * libgcov-driver.c (struct gcov_filename): Remove max_length
1954 field, change prefix from size_t into char *.
1955 (compute_summary): Do not calculate longest filename.
1956 (gcov_do_dump): Release memory of gf.filename after each file.
1957 * libgcov-util.c (compute_summary): Use new signature of
1958 compute_summary.
1959 (calculate_overlap): Likewise.
1960
1961 2018-06-05 Martin Liska <mliska@suse.cz>
1962
1963 PR gcov-profile/47618
1964 * libgcov-driver-system.c (replace_filename_variables): New
1965 function.
1966 (gcov_exit_open_gcda_file): Use it.
1967
1968 2018-06-05 Martin Liska <mliska@suse.cz>
1969
1970 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1971 of gcov_ctr_summary.
1972 (compute_summary): Do it just for a single summary.
1973 (merge_one_data): Likewise.
1974 (merge_summary): Simplify as we read just single summary.
1975 (dump_one_gcov): Pass proper argument.
1976 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1977 single summary.
1978 (gcov_info_count_all_cold): Likewise.
1979 (calculate_overlap): Likewise.
1980
1981 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1982 Monk Chiang <sh.chiang04@gmail.com>
1983
1984 * config.host (nds32*-linux*): New.
1985 * config/nds32/linux-atomic.c: New file.
1986 * config/nds32/linux-unwind.h: New file.
1987
1988 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
1989
1990 PR target/85591
1991 * config/i386/cpuinfo.c (get_amd_cpu): Return
1992 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1993
1994 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1995
1996 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
1997
1998 2018-05-29 Martin Liska <mliska@suse.cz>
1999
2000 PR gcov-profile/85759
2001 * libgcov-driver-system.c (gcov_error): Introduce usage of
2002 GCOV_EXIT_AT_ERROR env. variable.
2003 * libgcov-driver.c (merge_one_data): Print error that we
2004 overwrite a gcov file with a different timestamp.
2005
2006 2018-05-23 Kalamatee <kalamatee@gmail.com>
2007
2008 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2009 path to Lf$finfty.
2010
2011 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
2012 Monk Chiang <sh.chiang04@gmail.com>
2013 Jim Wilson <jimw@sifive.com>
2014
2015 * config/riscv/save-restore.S: Add support for rv32e.
2016
2017 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2018
2019 * config/arm/libunwind.S: Update comment relating to armv5.
2020
2021 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
2022
2023 * config/arm/cmse.c (cmse_check_address_range): Replace
2024 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2025
2026 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2027
2028 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2029 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2030
2031 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
2032
2033 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2034 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2035
2036 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
2037
2038 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2039
2040 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
2041 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2042
2043 PR libgcc/84292
2044 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2045 op_and_fetch to return the right result.
2046
2047 2018-04-27 Alan Modra <amodra@gmail.com>
2048
2049 PR libgcc/85532
2050 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2051 -fno-asynchronous-unwind-tables.
2052
2053 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2054
2055 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2056 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2057
2058 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2059
2060 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2061 when including "config/i386/shadow-stack-unwind.h".
2062
2063 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2064
2065 * configure: Regenerated.
2066
2067 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
2068
2069 PR target/85456
2070 * config/rs6000/_powikf2.c: New file. Add support for the
2071 __builtin_powil function when long double is IEEE 128-bit floating
2072 point.
2073 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2074 __powikf2 support.
2075 (__powikf2): Likewise.
2076 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2077 (__powikf2_hw): Likewise.
2078 (__powikf2): Likewise.
2079 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2080 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2081 (_powikf2-hw.c): Likewise.
2082
2083 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2084
2085 PR libgcc/85334
2086 * unwind-generic.h (_Unwind_Frames_Increment): New.
2087 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2088 Likewise.
2089 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2090 count with _Unwind_Frames_Increment.
2091 (_Unwind_ForcedUnwind_Phase2): Likewise.
2092
2093 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2094
2095 PR libgcc/85379
2096 * config/i386/morestack.S (__stack_split_initialize): Add
2097 _CET_ENDBR.
2098
2099 2018-04-19 Jakub Jelinek <jakub@redhat.com>
2100
2101 * configure: Regenerated.
2102
2103 2018-04-18 David Malcolm <dmalcolm@redhat.com>
2104
2105 PR jit/85384
2106 * configure: Regenerate.
2107
2108 2018-04-16 Jakub Jelinek <jakub@redhat.com>
2109
2110 PR target/84945
2111 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2112 -Wdangling-else warnings. Mask shift counts to avoid
2113 -Wshift-count-negative and -Wshift-count-overflow false positives.
2114
2115 2018-04-06 Ruslan Bukin <br@bsdpad.com>
2116
2117 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2118
2119 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
2120
2121 PR target/85100
2122 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2123 (XSTATE_FP): Likewise.
2124 (XSTATE_SSE): Likewise.
2125 (XSTATE_YMM): Likewise.
2126 (XSTATE_OPMASK): Likewise.
2127 (XSTATE_ZMM): Likewise.
2128 (XSTATE_HI_ZMM): Likewise.
2129 (XCR_AVX_ENABLED_MASK): Likewise.
2130 (XCR_AVX512F_ENABLED_MASK): Likewise.
2131 (get_available_features): Enable AVX and AVX512 features only
2132 if their states are supported by OSXSAVE.
2133
2134 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2135
2136 PR target/85025
2137 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2138 Fix a typo, tmp => 255.
2139
2140 2018-03-20 Jakub Jelinek <jakub@redhat.com>
2141
2142 PR target/84945
2143 * config/i386/cpuinfo.h (__cpu_features2): Declare.
2144 * config/i386/cpuinfo.c (__cpu_features2): New variable for
2145 ifndef SHARED only.
2146 (set_feature): Define.
2147 (get_available_features): Use set_feature macro. Set __cpu_features2
2148 to the second word of features ifndef SHARED.
2149
2150 2018-03-15 Julia Koval <julia.koval@intel.com>
2151
2152 * config/i386/cpuinfo.c (get_available_features): Add
2153 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2154 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2155 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2156 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2157 FEATURE_AVX512BITALG.
2158
2159 2018-03-14 Julia Koval <julia.koval@intel.com>
2160
2161 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2162 icelake client and icelake server.
2163
2164 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
2165
2166 * config/pa/fptr.c (_dl_read_access_allowed): New.
2167 (__canonicalize_funcptr_for_compare): Use it.
2168
2169 2018-02-28 Jakub Jelinek <jakub@redhat.com>
2170
2171 PR debug/83917
2172 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2173 $asm_hidden_op if visibility ("hidden") attribute works.
2174 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2175 * config/i386/i386-asm.h: Don't include auto-host.h.
2176 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2177 PACKAGE_URL): Don't undefine.
2178 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2179 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2180 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2181 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2182 definition instead of hardcoded .hidden.
2183 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2184 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2185 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2186 (USE_GAS_CFI_DIRECTIVES): Don't define.
2187 * configure: Regenerated.
2188 * config.in: Likewise.
2189
2190 2018-02-26 Jakub Jelinek <jakub@redhat.com>
2191
2192 PR debug/83917
2193 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2194 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2195 inclusion of auto-target.h and auto-host.h.
2196 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2197 __GCC_HAVE_DWARF2_CFI_ASM.
2198 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2199 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2200 cfi_pop): Define.
2201 * config/i386/cygwin.S: Don't include auto-host.h here, just
2202 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2203 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2204 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2205 * config/i386/resms64fx.h: Add cfi_* directives.
2206 * config/i386/resms64x.h: Likewise.
2207
2208 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
2209
2210 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2211 .literal_position directive.
2212 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2213
2214 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2215
2216 PR target/84148
2217 * configure: Regenerate.
2218
2219 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2220
2221 PR target/84239
2222 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2223 Include cetintrin.h not x86intrin.h.
2224
2225 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2226
2227 PR target/84239
2228 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2229 Use new _get_ssp and _inc_ssp intrinsics.
2230
2231 2018-02-02 Julia Koval <julia.koval@intel.com>
2232
2233 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2234
2235 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2236
2237 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2238 option.
2239 (__divsi3): Use RF16 safe registers.
2240 (__modsi3): Likewise.
2241
2242 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
2243
2244 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2245 (__divsf3): Make NaN return value quiet.
2246 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2247 (__divdf3): Make NaN return value quiet.
2248
2249 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2250
2251 * config/rl78/anddi3.S: New assembly file.
2252 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2253
2254 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2255
2256 * config/rl78/umindi3.S: New assembly file.
2257 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2258
2259 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2260
2261 * config/rl78/smindi3.S: New assembly file.
2262 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2263
2264 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2265
2266 * config/rl78/smaxdi3.S: New assembly file.
2267 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2268
2269 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2270
2271 * config/rl78/umaxdi3.S: New assembly file.
2272 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
2273
2274 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
2275
2276 PR lto/83452
2277 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2278 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2279
2280 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
2281
2282 * config/aarch64/value-unwind.h (aarch64_vg): New function.
2283 (DWARF_LAZY_REGISTER_VALUE): Define.
2284 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2285 to provide a fallback register value.
2286
2287 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
2288
2289 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2290 __ibm128, instead of trying to use long double.
2291 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2292 accomidate -mabi=ieeelongdouble multilibs.
2293 (CVT_IBM128_TO_FLOAT128): Likewise.
2294 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2295 the appropriate IBM extended double type.
2296 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2297 (__gcc_qsub): Likewise.
2298 (__gcc_qmul): Likewise.
2299 (__gcc_qdiv): Likewise.
2300 (pack_ldouble): Likewise.
2301 (__gcc_qneg): Likewise.
2302 (__gcc_qeq): Likewise.
2303 (__gcc_qne): Likewise.
2304 (__gcc_qge): Likewise.
2305 (__gcc_qle): Likewise.
2306 (__gcc_stoq): Likewise.
2307 (__gcc_dtoq): Likewise.
2308 (__gcc_itoq): Likewise.
2309 (__gcc_utoq): Likewise.
2310 (__gcc_qunord): Likewise.
2311 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2312 quad-float128.h for the definitions.
2313 (COPYSIGN): Use the f128 version instead of the q version.
2314 (INFINITY): Likewise.
2315 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2316 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2317 quad-float128.h for the definitions.
2318 (COPYSIGN): Use the f128 version instead of the q version.
2319 (INFINITY): Likewise.
2320 (FABS): Likewise.
2321 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2322 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2323 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2324
2325 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
2326
2327 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2328 configuration.
2329
2330 2018-01-03 Jakub Jelinek <jakub@redhat.com>
2331
2332 Update copyright years.
2333
2334 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
2335
2336 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2337 * config/riscv/multi3.c: New file.
2338 * config/riscv/multi3.S: Remove.
2339
2340 2017-12-08 Jim Wilson <jimw@sifive.com>
2341
2342 * config/riscv/div.S: Use FUNC_* macros.
2343 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2344 * config/riscv/save-restore.S: Likewise.
2345 * config/riscv/riscv-asm.h: New.
2346
2347 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
2348
2349 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2350 * config/rs6000/_divkc3.c (__divkc3): Likewise.
2351
2352 PR libgcc/83112
2353 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2354 correct type for all ifunc resolvers to silence -Wattribute-alias
2355 warnings. Eliminate the forward declaration of the resolver
2356 functions which is no longer needed.
2357 (__subkf3_resolve): Likewise.
2358 (__mulkf3_resolve): Likewise.
2359 (__divkf3_resolve): Likewise.
2360 (__negkf2_resolve): Likewise.
2361 (__eqkf2_resolve): Likewise.
2362 (__nekf2_resolve): Likewise.
2363 (__gekf2_resolve): Likewise.
2364 (__gtkf2_resolve): Likewise.
2365 (__lekf2_resolve): Likewise.
2366 (__ltkf2_resolve): Likewise.
2367 (__unordkf2_resolve): Likewise.
2368 (__extendsfkf2_resolve): Likewise.
2369 (__extenddfkf2_resolve): Likewise.
2370 (__trunckfsf2_resolve): Likewise.
2371 (__trunckfdf2_resolve): Likewise.
2372 (__fixkfsi_resolve): Likewise.
2373 (__fixkfdi_resolve): Likewise.
2374 (__fixunskfsi_resolve): Likewise.
2375 (__fixunskfdi_resolve): Likewise.
2376 (__floatsikf_resolve): Likewise.
2377 (__floatdikf_resolve): Likewise.
2378 (__floatunsikf_resolve): Likewise.
2379 (__floatundikf_resolve): Likewise.
2380 (__extendkftf2_resolve): Likewise.
2381 (__trunctfkf2_resolve): Likewise.
2382
2383 PR libgcc/83103
2384 * config/rs6000/quad-float128.h (TF): Don't define if long double
2385 is IEEE 128-bit floating point.
2386 (TCtype): Define as either TCmode or KCmode, depending on whether
2387 long double is IEEE 128-bit floating point.
2388 (__mulkc3_sw): Add declarations for software/hardware versions of
2389 complex multiply/divide.
2390 (__divkc3_sw): Likewise.
2391 (__mulkc3_hw): Likewise.
2392 (__divkc3_hw): Likewise.
2393 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2394 handlers to switch between using software emulation and hardware
2395 float128 instructions, build the complex multiply/divide functions
2396 for both software and hardware support.
2397 * config/rs6000/_divkc3.c (_divkc3): Likewise.
2398 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2399 (__divkc3_resolve): Likewise.
2400 (__mulkc3): Likewise.
2401 (__divkc3): Likewise.
2402 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2403 (fp128_hw_src): Likewise.
2404 (fp128_hw_static_obj): Likewise.
2405 (fp128_hw_shared_obj): Likewise.
2406 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2407 _mulkc3.c and _divkc3.c, changing the function name.
2408 (_divkc3-hw.c): Likewise.
2409 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2410 and _divkc3-hw.c.
2411
2412 2017-11-26 Julia Koval <julia.koval@intel.com>
2413
2414 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2415 * config/i386/cpuinfo.h (processor_subtypes): Add
2416 INTEL_COREI7_CANNONLAKE.
2417
2418 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2419
2420 PR bootstrap/83015
2421 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2422 parameter.
2423 * config/xtensa/unwind-dw2-xtensa.c: Likewise
2424 * config/ia64/unwind-ia64.c: Add frames parameter.
2425 * unwind-sjlj.c: Likewise.
2426
2427 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2428
2429 * config/i386/linux-unwind.h: Include
2430 config/i386/shadow-stack-unwind.h.
2431 * config/i386/shadow-stack-unwind.h: New file.
2432 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2433 pass it to _Unwind_Frames_Extra.
2434 * unwind-generic.h (_Unwind_Frames_Extra): New.
2435 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2436 parameter. Add local variable frames to count number of frames.
2437 (_Unwind_ForcedUnwind_Phase2): Likewise.
2438 (_Unwind_RaiseException): Add local variable frames to count
2439 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2440 uw_install_context.
2441 (_Unwind_ForcedUnwind): Likewise.
2442 (_Unwind_Resume): Likewise.
2443 (_Unwind_Resume_or_Rethrow): Likewise.
2444
2445 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2446
2447 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2448 (CET_FLAGS): New.
2449 * config/i386/morestack.S: Include <cet.h>.
2450 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2451 * config/i386/resms64.h: Include <cet.h>.
2452 * config/i386/resms64f.h: Likewise.
2453 * config/i386/resms64fx.h: Likewise.
2454 * config/i386/resms64x.h: Likewise.
2455 * config/i386/savms64.h: Likewise.
2456 * config/i386/savms64f.h: Likewise.
2457 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2458 (CRTSTUFF_T_CFLAGS): Likewise.
2459 * configure.ac: Include ../config/cet.m4.
2460 Set and substitute CET_FLAGS.
2461 * configure: Regenerated.
2462
2463 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2464
2465 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2466 renaming.
2467 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2468 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2469 * configure: Regenerate.
2470
2471 2017-11-07 Tom de Vries <tom@codesourcery.com>
2472
2473 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2474 after "do {} while (0)".
2475
2476 2017-11-07 Tom de Vries <tom@codesourcery.com>
2477
2478 PR other/82784
2479 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2480 semicolon after "do {} while (0)".
2481 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2482 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2483 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2484 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2485
2486 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
2487
2488 PR libgcc/82635
2489 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2490 sysctl to determine whether we're in a trampoline.
2491 Keep the pattern matching method for systems without
2492 KERN_PROC_SIGTRAMP sysctl.
2493
2494 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
2495 Vineet Gupta <vgupta@synopsys.com>
2496
2497 * config.host (arc*-*-linux*): Set md_unwind_header variable.
2498 * config/arc/linux-unwind-reg.def: New file.
2499 * config/arc/linux-unwind-reg.h: Likewise.
2500
2501 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
2502
2503 * config/rl78/subdi3.S: New assembly file.
2504 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2505
2506 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
2507
2508 * config/rl78/adddi3.S: New assembly file.
2509 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2510
2511 2017-10-13 Jakub Jelinek <jakub@redhat.com>
2512
2513 PR target/82274
2514 * libgcc2.c (__mulvDI3): If both operands have
2515 the same highpart of -1 and the topmost bit of lowpart is 0,
2516 multiplication overflows even if both lowparts are 0.
2517
2518 2017-09-28 James Bowman <james.bowman@ftdichip.com>
2519
2520 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2521
2522 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2523
2524 * config/microblaze/crti.S, config/microblaze/crtn.S,
2525 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2526 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2527 config/microblaze/mulsi3.S,
2528 config/microblaze/stack_overflow_exit.S,
2529 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2530 config/pa/milli64.S: Add .note.GNU-stack section.
2531
2532 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
2533
2534 * configure.ac: Add Check for HAVE_AS_AVX.
2535 * config.in: Regenerate.
2536 * configure: Likewise.
2537 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2538 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2539 Correct out-of-date comments.
2540
2541 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2542
2543 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2544 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2545
2546 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
2547
2548 * config/i386/i386-asm.h (PASTE2): New macro.
2549 (ASMNAME): Modify to use PASTE2.
2550 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2551 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
2552 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
2553 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
2554 * config/i386/resms64f.S: Likewise.
2555 * config/i386/resms64fx.S: Likewise.
2556 * config/i386/resms64x.S: Likewise.
2557 * config/i386/savms64.S: Likewise.
2558 * config/i386/savms64f.S: Likewise.
2559 * config/i386/avx_resms64.S: New file that only defines a macro and
2560 includes it's corresponding header file.
2561 * config/i386/avx_resms64f.S: Likewise.
2562 * config/i386/avx_resms64fx.S: Likewise.
2563 * config/i386/avx_resms64x.S: Likewise.
2564 * config/i386/avx_savms64.S: Likewise.
2565 * config/i386/avx_savms64f.S: Likewise.
2566 * config/i386/sse_resms64.S: Likewise.
2567 * config/i386/sse_resms64f.S: Likewise.
2568 * config/i386/sse_resms64fx.S: Likewise.
2569 * config/i386/sse_resms64x.S: Likewise.
2570 * config/i386/sse_savms64.S: Likewise.
2571 * config/i386/sse_savms64f.S: Likewise.
2572 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
2573
2574 2017-09-01 Olivier Hainque <hainque@adacore.com>
2575 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2576
2577 2017-08-31 Olivier Hainque <hainque@adacore.com>
2578
2579 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2580 match as powerpc-wrs-vxworks*.
2581
2582 2017-08-07 Jonathan Yong <10walls@gmail.com>
2583
2584 * config.host (*-cygwin): Include file from mingw
2585 config/i386/enable-execute-stack-mingw32.c
2586
2587 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
2588 Doug Rupp <rupp@adacore.com>
2589 Olivier Hainque <hainque@adacore.com>
2590
2591 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2592 as well as arm-wrs-vxworks.
2593 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
2594 LIB2ADDEH.
2595 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2596 __exidx_start and __exidx_end for downloadable modules.
2597
2598 2017-08-01 Olivier Hainque <hainque@adacore.com>
2599
2600 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2601 * config/t-vxworks7: Likewise.
2602
2603 2017-08-01 Olivier Hainque <hainque@adacore.com>
2604
2605 * config/t-vxworks: Instead of redefining LIB2ADD,
2606 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2607
2608 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2609
2610 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2611
2612 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
2613
2614 PR testsuite/80759
2615 * config.host: include i386/t-msabi for darwin and solaris.
2616 * config/i386/i386-asm.h
2617 (ELFFN): Rename to FN_TYPE.
2618 (FN_SIZE): New macro.
2619 (FN_HIDDEN): Likewise.
2620 (ASMNAME): Likewise.
2621 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2622 .globl.
2623 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2624 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2625 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2626 .macro.
2627 * config/i386/resms64f.S: Likewise.
2628 * config/i386/resms64fx.S: Likewise.
2629 * config/i386/resms64x.S: Likewise.
2630 * config/i386/savms64.S: Likewise.
2631 * config/i386/savms64f.S: Likewise.
2632
2633 2017-07-19 John Marino <gnugcc@marino.st>
2634
2635 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2636
2637 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
2638
2639 PR target/81193
2640 * configure.ac (PowerPC float128 hardware support): Test whether
2641 we can use __builtin_cpu_supports before enabling the ifunc
2642 handler.
2643 * configure: Regenerate.
2644
2645 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
2646
2647 * config.host: Remove uclibc from arc target spec.
2648
2649 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
2650
2651 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2652
2653 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
2654
2655 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2656 (have_ieee_hw_p): Delete function.
2657 (SW_OR_HW) Use __builtin_cpu_supports().
2658
2659 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2660
2661 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2662
2663 2017-07-03 Olivier Hainque <hainque@adacore.com>
2664
2665 * config/t-vxworks7: New file, really.
2666
2667 2017-06-28 Joseph Myers <joseph@codesourcery.com>
2668
2669 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2670 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2671 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2672 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2673 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2674 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2675 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2676 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2677 config/sh/linux-unwind.h (sh_fallback_frame_state),
2678 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2679 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2680 ucontext_t instead of struct ucontext.
2681
2682 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
2683
2684 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2685 (x86_64-wrs-vxworks7): Likewise.
2686
2687 2017-06-27 Olivier Hainque <hainque@adacore.com>
2688
2689 * config/t-vxworks7: New file.
2690 * config.host (*-*-vxworks7): Use it.
2691
2692 2017-06-22 Matt Turner <mattst88@gmail.com>
2693
2694 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2695 skylake case.
2696
2697 2017-06-21 Richard Biener <rguenther@suse.de>
2698
2699 PR gcov-profile/81080
2700 * configure.ac: Add AC_SYS_LARGEFILE.
2701 * libgcov.h: Include auto-target.h before tsystem.h to pick
2702 up _FILE_OFFSET_BITS which might differ for multilibs.
2703 * config.in: Regenerate.
2704 * configure: Likewise.
2705
2706 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
2707
2708 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2709
2710 2017-06-09 Martin Liska <mliska@suse.cz>
2711
2712 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2713 Reset __gcov_indirect_call_callee to NULL.
2714
2715 2017-06-08 Olivier Hainque <hainque@adacore.com>
2716
2717 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2718 the set of -I options, support for direct inclusions of net/uio.h
2719 by VxWorks header files via ioLib.h.
2720
2721 2017-06-07 Tony Reix <tony.reix@atos.net>
2722 Matthieu Sarter <matthieu.sarter.external@atos.net>
2723 David Edelsohn <dje.gcc@gmail.com>
2724
2725 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2726 unconditionally.
2727 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2728 AIX 7.2 support.
2729
2730 2017-06-02 Olivier Hainque <hainque@adacore.com>
2731
2732 * config/vxlib.c (__gthread_once): Add missing value to
2733 return statement.
2734
2735 2017-05-30 Olivier Hainque <hainque@adacore.com>
2736
2737 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2738 dollar sign before $(MULTIDIR).
2739
2740 2017-05-26 Richard Henderson <rth@redhat.com>
2741
2742 PR libgcc/80037
2743 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2744
2745 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2746
2747 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2748 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2749 * config/arm/unwind-arm.c: Implement the above.
2750
2751 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2752
2753 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2754 section for a non-executable stack.
2755
2756 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2757
2758 PR target/80600
2759 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2760
2761 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
2762
2763 * config.host: Add i386/t-msabi to i386/t-linux file list.
2764 * config/i386/i386-asm.h: New file.
2765 * config/i386/resms64.S: New file.
2766 * config/i386/resms64f.S: New file.
2767 * config/i386/resms64fx.S: New file.
2768 * config/i386/resms64x.S: New file.
2769 * config/i386/savms64.S: New file.
2770 * config/i386/savms64f.S: New file.
2771 * config/i386/t-msabi: New file.
2772
2773 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2774
2775 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2776 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2777
2778 2017-05-05 Joshua Conner <joshconner@google.com>
2779
2780 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2781 pc-relative indirect handling for fuchsia.
2782 * config/t-slibgcc-fuchsia: New file.
2783 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
2784 x86_64-*-fuchsia*): Add definitions.
2785
2786 2017-04-19 Martin Liska <mliska@suse.cz>
2787
2788 PR gcov-profile/80435
2789 * Makefile.in: Install gcov.h.
2790 * gcov.h: New file.
2791 * libgcov.h: Use the header and make __gcov_flush publicly
2792 visible.
2793
2794 2017-04-18 Martin Liska <mliska@suse.cz>
2795
2796 PR gcov-profile/78783
2797 * libgcov-driver.c (gcov_get_filename): New function.
2798
2799 2017-04-07 Jeff Law <law@redhat.com>
2800
2801 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2802 target makefile fragment.
2803 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2804
2805 2017-04-07 Alan Modra <amodra@gmail.com>
2806
2807 PR target/45053
2808 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2809
2810 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
2811
2812 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2813
2814 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2815
2816 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2817
2818 2017-03-10 John Marino <gnugcc@marino.st>
2819
2820 * config/aarch64/freebsd-unwind.h: New file.
2821 * config.host: Add aarch64-*-freebsd unwinder.
2822
2823 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2824
2825 * config/rs6000/crtrestvr.s: Use .machine altivec.
2826 * config/rs6000/crtsavevr.s: Ditto.
2827
2828 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2829
2830 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2831 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2832 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2833 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2834 * configure: Regenerate.
2835 * config.in: Regenerate.
2836
2837 2017-03-02 Jonathan Yong <10walls@gmail.com>
2838
2839 * config/i386/gthr-win32.h: Define NOGDI before
2840 windows.h include to prevent w32api CC_NONE macro
2841 clash with libgfortran.
2842
2843 2017-03-02 Jonathan Yong <10walls@gmail.com>
2844
2845 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2846
2847 2017-02-16 Andrew Pinski <apinski@cavium.com>
2848
2849 * config/aarch64/value-unwind.h: New file.
2850 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2851 to tm_file.
2852
2853 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2854
2855 * config.host: Add RISC-V tuples.
2856 * config/riscv/atomic.c: New file.
2857 * config/riscv/crti.S: Likewise.
2858 * config/riscv/crtn.S: Likewise.
2859 * config/riscv/div.S: Likewise.
2860 * config/riscv/linux-unwind.h: Likewise.
2861 * config/riscv/muldi3.S: Likewise.
2862 * config/riscv/multi3.S: Likewise.
2863 * config/riscv/save-restore.S: Likewise.
2864 * config/riscv/sfp-machine.h: Likewise.
2865 * config/riscv/t-elf: Likewise.
2866 * config/riscv/t-elf32: Likewise.
2867 * config/riscv/t-elf64: Likewise.
2868 * config/riscv/t-softfp32: Likewise.
2869 * config/riscv/t-softfp64: Likewise.
2870
2871 2017-01-24 Jakub Jelinek <jakub@redhat.com>
2872
2873 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2874 /* FALLTHRU */ comments.
2875
2876 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2877
2878 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2879
2880 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2881
2882 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2883 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2884 DW_CFA_GNU_window_save for AArch64 and LP64.
2885
2886 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2887
2888 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2889
2890 2017-01-19 Jiong Wang <jiong.wang@arm.com>
2891
2892 * config/aarch64/aarch64-unwind.h: New file.
2893 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2894 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2895 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2896 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2897 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2898 (aarch64_post_extract_frame_addr): New function.
2899 (aarch64_post_frob_eh_handler_addr): New function.
2900 (aarch64_frob_update_context): New function.
2901 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2902 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2903 aarch64*-*-freebsd*):
2904 Initialize md_unwind_header to include aarch64-unwind.h.
2905 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2906 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2907 __aarch64__.
2908 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2909 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2910 (uw_frob_return_addr): New function.
2911 (uw_install_context): Use uw_frob_return_addr.
2912
2913 2017-01-17 Jakub Jelinek <jakub@redhat.com>
2914
2915 PR other/79046
2916 * configure.ac: Add GCC_BASE_VER.
2917 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2918 version from BASE-VER file.
2919 * configure: Regenerated.
2920
2921 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
2922
2923 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2924 libmul_f5.a): Filter archived prerequisites.
2925
2926 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2927
2928 * config/i386/cpuinfo.h (processor_features): Add
2929 FEATURE_AVX512VPOPCNTDQ.
2930 * config/i386/cpuinfo.c (get_available_features): Habdle new
2931 feature.
2932
2933 2017-01-04 Joseph Myers <joseph@codesourcery.com>
2934
2935 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2936 payload if [__mips_nan2008].
2937
2938 2017-01-04 Alan Modra <amodra@gmail.com>
2939
2940 * Makefile.in (configure_deps): Update.
2941 * configure: Regenerate.
2942
2943 2017-01-01 Jakub Jelinek <jakub@redhat.com>
2944
2945 Update copyright years.
2946
2947 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2948
2949 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2950 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2951 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2952
2953 2016-12-17 Matthias Klose <doko@ubuntu.com>
2954
2955 * config/arc/gmon: Remove empty directory.
2956
2957 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2958
2959 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2960 crtgend.
2961 (arc*-*-elf*): Likewise.
2962 * config/arc/t-arc: Remove old gmon lib targets.
2963 * config/arc/crtg.S: Remove.
2964 * config/arc/crtgend.S: Likewise.
2965 * config/arc/gmon/atomic.h: Likewise.
2966 * config/arc/gmon/auxreg.h: Likewise.
2967 * config/arc/gmon/dcache_linesz.S: Likewise.
2968 * config/arc/gmon/gmon.c: Likewise.
2969 * config/arc/gmon/machine-gmon.h: Likewise.
2970 * config/arc/gmon/mcount.c: Likewise.
2971 * config/arc/gmon/prof-freq-stub.S: Likewise.
2972 * config/arc/gmon/prof-freq.c: Likewise.
2973 * config/arc/gmon/profil.S: Likewise.
2974 * config/arc/gmon/sys/gmon.h: Likewise.
2975 * config/arc/gmon/sys/gmon_out.h: Likewise.
2976 * config/arc/t-arc-newlib: Likewise.
2977 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2978
2979 2016-12-12 George Spelvin <linux@sciencehorizons.net>
2980
2981 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2982
2983 2016-12-12 George Spelvin <linux@sciencehorizons.net>
2984
2985 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2986 R16 instead of push + pop.
2987 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2988
2989 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2990
2991 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2992 tmake_file.
2993
2994 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2995
2996 * config.host (arc*-*-linux-uclibc*): Use default extra
2997 objects. Include linux-android header.
2998 * config/arc/crti.S (_init): Declare symbol as function.
2999 (_fini): Likewise.
3000
3001 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3002
3003 PR fortran/78379
3004 * config/i386/cpuinfo.c: Move denums for processor vendors,
3005 processor type, processor subtypes and declaration of
3006 struct __processor_model into
3007 * config/i386/cpuinfo.h: New header file.
3008
3009 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3010 Thomas Preud'homme <thomas.preudhomme@arm.com>
3011
3012 * config/arm/cmse_nonsecure_call.S: New.
3013 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3014
3015 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3016 Thomas Preud'homme <thomas.preudhomme@arm.com>
3017
3018 * config/arm/t-arm (HAVE_CMSE): New.
3019 * config/arm/cmse.c: New.
3020
3021 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3022
3023 PR gcc/74748
3024 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3025 use generic linker version information on Blackfin.
3026
3027 PR gcc/74748
3028 * libgcc/mkmap-symver.awk: add support for skip_underscore
3029
3030 2016-11-27 Iain Sandoe <iain@codesourcery.com>
3031 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3032
3033 PR target/67710
3034 * config/t-darwin: Default builds to 10.5 codegen.
3035
3036 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
3037
3038 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3039 (_FP_NANSIGN_H): Likewise.
3040 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3041 (softfp_truncations): Add tfhf.
3042 (softfp_extras): Add required conversion functions.
3043
3044 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3045 Matthew Wahab <matthew.wahab@arm.com>
3046
3047 * config/arm/fp16.c (binary64): New.
3048 (__gnu_d2h_internal): New.
3049 (__gnu_d2h_ieee): New.
3050 (__gnu_d2h_alternative): New.
3051
3052 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3053 Matthew Wahab <matthew.wahab@arm.com>
3054
3055 * config/arm/fp16.c (struct format): New.
3056 (binary32): New.
3057 (__gnu_float2h_internal): New. Body moved from
3058 __gnu_f2h_internal and generalize.
3059 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3060 Call it with binary32.
3061
3062 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3063
3064 * soft-fp/extendhftf2.c: Update from glibc.
3065 * soft-fp/fixhfti.c: Likewise.
3066 * soft-fp/fixunshfti.c: Likewise.
3067 * soft-fp/floattihf.c: Likewise.
3068 * soft-fp/floatuntihf.c: Likewise.
3069 * soft-fp/half.h: Likewise.
3070 * soft-fp/trunctfhf2.c: Likewise.
3071
3072 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
3073
3074 PR libgcc/77813
3075 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3076 __TMC_END__ behind a passthrough asm.
3077
3078 2016-11-18 Walter Lee <walt@tilera.com>
3079
3080 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3081
3082 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
3083
3084 * config/i386/cpuinfo.c (processor_features): Add
3085 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3086
3087 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
3088
3089 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3090 (__ARC_NORM__): Use instead ARC_OPTFPE.
3091 * config/arc/fp-hack.h: Likewise.
3092 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3093 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3094
3095 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
3096
3097 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3098 * config/nvptx/mgomp.c: New file.
3099 * config/nvptx/t-nvptx: Add mgomp.c
3100
3101 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
3102
3103 PR libgcc/68468
3104 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3105
3106 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
3107
3108 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3109 of checking for cpus.
3110 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3111 (__modsi3, __clzsi2): Likewise.
3112
3113 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3114
3115 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3116 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3117 * config/i386/t-cpuinfo-static: New.
3118
3119 2016-11-03 Martin Liska <mliska@suse.cz>
3120
3121 * libgcov-profiler.c (__gcov_time_profiler): Remove.
3122 (__gcov_time_profiler_atomic): Likewise.
3123
3124 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
3125
3126 PR libgcc/78067
3127 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3128 count_leading_zeros.
3129
3130 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
3131
3132 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3133 * libgcc2.c (__divmoddi4): New function.
3134 * libgcc2.h (__divmoddi4): Declare.
3135 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3136 and __PFX_divmodti4.
3137
3138 2016-10-24 Florian Weimer <fweimer@redhat.com>
3139
3140 PR libgcc/78064
3141 * unwind-c.c: Include auto-target.h.
3142
3143 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
3144
3145 * config/pa/pa64-hpux-lib.h: New file.
3146 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3147 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3148 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3149 hppa*64*-*-hpux11*.
3150
3151 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
3152
3153 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3154 definition.
3155 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3156 definition.
3157 * config/xtensa/t-windowed (LIB2ADDEH): Use
3158 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3159 or xtensa/t-linux.
3160
3161 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
3162
3163 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3164 __ieee754_sqrt): New functions.
3165 (__divdf3): Add implementation with new FPU instructions under
3166 #if XCHAL_HAVE_DFP_DIV.
3167 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3168 __ieee754_sqrtf): New functions.
3169 (__divsf3): Add implementation with new FPU instructions under
3170 #if XCHAL_HAVE_FP_DIV.
3171 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3172 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3173
3174 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3175
3176 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3177 equivalent.
3178 * config/tilepro/atomic.c: Likewise and stop casting model to
3179 enum memmodel.
3180
3181 2016-10-10 Joseph Myers <joseph@codesourcery.com>
3182
3183 PR target/77586
3184 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3185 soft-fp.
3186
3187 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
3188
3189 * config.host: Add support for aarch64-*-freebsd*.
3190
3191 2016-10-05 Andreas Schwab <schwab@suse.de>
3192
3193 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3194 (.section .init_array): Don't call __do_jv_register_classes.
3195 (.section .init): Likewise.
3196
3197 2016-10-04 Jakub Jelinek <jakub@redhat.com>
3198
3199 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3200 (__JCR_LIST__): Remove.
3201 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3202 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3203 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3204 * config/ia64/crtend.S (__JCR_END__): Remove.
3205 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3206 conditionals.
3207 (__JCR_LIST__, __JCR_END__): Remove.
3208 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3209 (__do_global_ctors_1): Likewise.
3210
3211 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
3212
3213 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3214 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3215
3216 2016-09-27 Martin Liska <mliska@suse.cz>
3217
3218 PR gcov-profile/7970
3219 PR gcov-profile/16855
3220 PR gcov-profile/44779
3221 * libgcov-driver.c (__gcov_init): Do not register a atexit
3222 handler.
3223 (__gcov_exit): Rename from gcov_exit.
3224 * libgcov.h (__gcov_exit): Declare.
3225
3226 2016-09-27 Martin Liska <mliska@suse.cz>
3227
3228 PR bootstrap/77749
3229 * Makefile.in: Remove _gcov_merge_delta.
3230 * libgcov-merge.c (void __gcov_merge_delta): Remove.
3231 * libgcov-util.c (__gcov_delta_counter_op): Remove.
3232 * libgcov.h: Remove declaration of __gcov_merge_delta.
3233
3234 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
3235
3236 * configure.ac: Do not create links, only substitute the filenames.
3237 * configure: Regenerate.
3238 * Makefile.in: Assign the substitution results to variables.
3239 (LIBGCC_LINKS): Define.
3240 (enable-execute-stack.c): New rule.
3241 (unwind.h): Likewise.
3242 (md-unwind-support.h): Likewise.
3243 (sfp-machine.h): Likewise.
3244 (gthr-default.h): Likewise.
3245 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3246 unwind.h as prerequisite of install-unwind_h-forbuild.
3247
3248 2016-09-16 Jakub Jelinek <jakub@redhat.com>
3249
3250 PR libgcc/71744
3251 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3252 is not the primary registry and atomics are available.
3253 (any_objects_registered): New variable.
3254 (__register_frame_info_bases, __register_frame_info_table_bases):
3255 Atomically store 1 to any_objects_registered after registering first
3256 unwind info.
3257 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3258
3259 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
3260
3261 PR target/63250
3262 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3263 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3264 (HFtype): Likewise.
3265 (HCtype): Likewise.
3266 (__divhc3): Likewise.
3267 (__mulhc3): Likewise.
3268 * libgcc2.c: Support _mulhc3 and _divhc3.
3269
3270 2016-09-07 Joseph Myers <joseph@codesourcery.com>
3271
3272 PR libgcc/77519
3273 * libgcc2.c (NOTRUNC): Invert settings.
3274
3275 2016-09-06 Martin Liska <mliska@suse.cz>
3276
3277 PR gcov-profile/77378
3278 PR gcov-profile/77466
3279 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3280 conditionaly enable/disable *_atomic functions.
3281
3282 2016-08-26 Joseph Myers <joseph@codesourcery.com>
3283
3284 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3285 where not already enabled.
3286
3287 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3288
3289 * config/mips/linux-unwind.h: Use sys/syscall.h.
3290
3291 2016-08-16 Joseph Myers <joseph@codesourcery.com>
3292
3293 PR libgcc/77265
3294 * soft-fp/adddf3.c: Update from glibc.
3295 * soft-fp/addsf3.c: Likewise.
3296 * soft-fp/addtf3.c: Likewise.
3297 * soft-fp/divdf3.c: Likewise.
3298 * soft-fp/divsf3.c: Likewise.
3299 * soft-fp/divtf3.c: Likewise.
3300 * soft-fp/double.h: Likewise.
3301 * soft-fp/eqdf2.c: Likewise.
3302 * soft-fp/eqsf2.c: Likewise.
3303 * soft-fp/eqtf2.c: Likewise.
3304 * soft-fp/extenddftf2.c: Likewise.
3305 * soft-fp/extended.h: Likewise.
3306 * soft-fp/extendsfdf2.c: Likewise.
3307 * soft-fp/extendsftf2.c: Likewise.
3308 * soft-fp/extendxftf2.c: Likewise.
3309 * soft-fp/fixdfdi.c: Likewise.
3310 * soft-fp/fixdfsi.c: Likewise.
3311 * soft-fp/fixdfti.c: Likewise.
3312 * soft-fp/fixsfdi.c: Likewise.
3313 * soft-fp/fixsfsi.c: Likewise.
3314 * soft-fp/fixsfti.c: Likewise.
3315 * soft-fp/fixtfdi.c: Likewise.
3316 * soft-fp/fixtfsi.c: Likewise.
3317 * soft-fp/fixtfti.c: Likewise.
3318 * soft-fp/fixunsdfdi.c: Likewise.
3319 * soft-fp/fixunsdfsi.c: Likewise.
3320 * soft-fp/fixunsdfti.c: Likewise.
3321 * soft-fp/fixunssfdi.c: Likewise.
3322 * soft-fp/fixunssfsi.c: Likewise.
3323 * soft-fp/fixunssfti.c: Likewise.
3324 * soft-fp/fixunstfdi.c: Likewise.
3325 * soft-fp/fixunstfsi.c: Likewise.
3326 * soft-fp/fixunstfti.c: Likewise.
3327 * soft-fp/floatdidf.c: Likewise.
3328 * soft-fp/floatdisf.c: Likewise.
3329 * soft-fp/floatditf.c: Likewise.
3330 * soft-fp/floatsidf.c: Likewise.
3331 * soft-fp/floatsisf.c: Likewise.
3332 * soft-fp/floatsitf.c: Likewise.
3333 * soft-fp/floattidf.c: Likewise.
3334 * soft-fp/floattisf.c: Likewise.
3335 * soft-fp/floattitf.c: Likewise.
3336 * soft-fp/floatundidf.c: Likewise.
3337 * soft-fp/floatundisf.c: Likewise.
3338 * soft-fp/floatunditf.c: Likewise.
3339 * soft-fp/floatunsidf.c: Likewise.
3340 * soft-fp/floatunsisf.c: Likewise.
3341 * soft-fp/floatunsitf.c: Likewise.
3342 * soft-fp/floatuntidf.c: Likewise.
3343 * soft-fp/floatuntisf.c: Likewise.
3344 * soft-fp/floatuntitf.c: Likewise.
3345 * soft-fp/gedf2.c: Likewise.
3346 * soft-fp/gesf2.c: Likewise.
3347 * soft-fp/getf2.c: Likewise.
3348 * soft-fp/ledf2.c: Likewise.
3349 * soft-fp/lesf2.c: Likewise.
3350 * soft-fp/letf2.c: Likewise.
3351 * soft-fp/muldf3.c: Likewise.
3352 * soft-fp/mulsf3.c: Likewise.
3353 * soft-fp/multf3.c: Likewise.
3354 * soft-fp/negdf2.c: Likewise.
3355 * soft-fp/negsf2.c: Likewise.
3356 * soft-fp/negtf2.c: Likewise.
3357 * soft-fp/op-1.h: Likewise.
3358 * soft-fp/op-2.h: Likewise.
3359 * soft-fp/op-4.h: Likewise.
3360 * soft-fp/op-8.h: Likewise.
3361 * soft-fp/op-common.h: Likewise.
3362 * soft-fp/quad.h: Likewise.
3363 * soft-fp/single.h: Likewise.
3364 * soft-fp/soft-fp.h: Likewise.
3365 * soft-fp/subdf3.c: Likewise.
3366 * soft-fp/subsf3.c: Likewise.
3367 * soft-fp/subtf3.c: Likewise.
3368 * soft-fp/truncdfsf2.c: Likewise.
3369 * soft-fp/trunctfdf2.c: Likewise.
3370 * soft-fp/trunctfsf2.c: Likewise.
3371 * soft-fp/trunctfxf2.c: Likewise.
3372 * soft-fp/unorddf2.c: Likewise.
3373 * soft-fp/unordsf2.c: Likewise.
3374 * soft-fp/unordtf2.c: Likewise.
3375
3376 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
3377
3378 PR gcov-profile/67097
3379 * libgcov-util.c (gcov_profile_merge): Skip missing files.
3380
3381 2016-08-10 Martin Liska <mliska@suse.cz>
3382
3383 PR gcov-profile/58306
3384 * Makefile.in: New functions (modules) are added.
3385 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3386 function.
3387 (__gcov_pow2_profiler_atomic): New function.
3388 (__gcov_one_value_profiler_body): New argument is instroduced.
3389 (__gcov_one_value_profiler): Call with the new argument.
3390 (__gcov_one_value_profiler_atomic): Likewise.
3391 (__gcov_indirect_call_profiler_v2): Likewise.
3392 (__gcov_time_profiler_atomic): New function.
3393 (__gcov_average_profiler_atomic): Likewise.
3394 (__gcov_ior_profiler_atomic): Likewise.
3395 * libgcov.h: Declare the aforementioned functions.
3396
3397 2016-08-09 Martin Liska <mliska@suse.cz>
3398
3399 * libgcov-util.c: Fix typo and GNU coding style.
3400
3401 2016-08-09 Martin Liska <mliska@suse.cz>
3402
3403 * Makefile.in: Remove __gcov_indirect_call_profiler.
3404 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3405 function.
3406 * libgcov.h: And the declaration of the function.
3407
3408 2016-08-09 Martin Liska <mliska@suse.cz>
3409
3410 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3411 power of two.
3412
3413 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3414
3415 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3416 * config/rs6000/_mulkc3.c: Likewise.
3417
3418 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
3419
3420 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3421 zero_reg as previous call to __umulhisi3 already cleared it.
3422
3423 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
3424
3425 PR target/59833
3426 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3427
3428 2016-07-19 Nick Clifton <nickc@redhat.com>
3429
3430 * config.host (m32r): Add m32r/t-m32r to tmake_file.
3431 Add crtinit.o and crtfini.o to extra_parts.
3432
3433 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3434
3435 * config/rs6000/_divkc3.c: New.
3436 * config/rs6000/_mulkc3.c: New.
3437 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3438 and _divkc3.
3439 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3440 fp128_ppc_funcs.
3441
3442 2016-07-11 Hale Wang <hale.wang@arm.com>
3443 Andre Vieira <andre.simoesdiasvieira@arm.com>
3444
3445 * config/arm/lib1funcs.S: Add new wrapper.
3446
3447 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3448
3449 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3450
3451 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3452
3453 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3454 and ARMv5t* rather than for a fixed list of architectures.
3455
3456 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3457
3458 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3459 implementation suitable for.
3460 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3461 for all Thumb-1 only targets.
3462 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3463 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3464 __ARM_ARCH_6M__.
3465 (EQUIV): Likewise.
3466 (ARM_FUNC_ALIAS): Likewise.
3467 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3468 version.
3469 (modsi3): Likewise.
3470 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3471 (clzdi2): Likewise.
3472 (ctzsi2): Likewise.
3473 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3474 __ARM_ARCH_6M__ in guard for checking whether it is defined.
3475 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3476 __ARM_ARCH_6M__ and add comment to indicate the connection between
3477 this condition and the one in gcc/config/arm/elf.h.
3478 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3479 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3480 * config/arm/t-softfp: Likewise.
3481
3482 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3483
3484 * libgcc2.c (SYMBOL__MAIN): Remove checks for
3485 CTOR_LISTS_DEFINED_EXTERNALLY.
3486
3487 2016-06-28 Walter Lee <walt@tilera.com>
3488
3489 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3490 asm/unistd.h.
3491 (SPR_CMPEXCH_VALUE): Define for tilegx.
3492 (__NR_FAST_cmpxchg): Define for tilepro.
3493 (__NR_FAST_atomic_update): Define for tilepro.
3494 (__NR_FAST_cmpxchg64): Define for tilepro.
3495
3496 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
3497
3498 * config.host: Add suport for arm*-*-phoenix* targets.
3499
3500 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3501
3502 * config.host: Remove support for mep-*.
3503 * config/mep/lib1funcs.S: Remove.
3504 * config/mep/lib2funcs.c: Remove.
3505 * config/mep/t-mep: Remove.
3506 * config/mep/tramp.c: Remove.
3507
3508 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3509
3510 * config.host: Remove support for avr-rtems.
3511 * config/avr/t-rtems: Remove.
3512
3513 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3514
3515 * config.host: Remove m32r-rtems support.
3516
3517 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3518
3519 * config.host: Remove h8300-rtems support.
3520
3521 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3522
3523 * config.host: Remove support for knetbsd.
3524
3525 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3526
3527 * config.host: Remove support for openbsd 2 and 3.
3528
3529 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3530
3531 * config.host: Remove interix support.
3532 * config/i386/t-interix: Remove.
3533
3534 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
3535
3536 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3537 least-significant bit in function pointer for fixup.
3538
3539 2016-06-05 Aaron Conole <aconole@redhat.com>
3540 Nathan Sidwell <nathan@acm.org>
3541
3542 PR libgcc/71400
3543 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3544 (get_gcov_error_file): Check __gcov_error_file before trying to
3545 initialize it.
3546 (gcov_error): Always use get_gcov_error_file.
3547
3548 2016-06-02 Aaron Conole <aconole@redhat.com>
3549
3550 * libgcov-driver-system.c (__gcov_error_file): New.
3551 (get_gcov_error_file): New.
3552 (gcov_error): Use and set __gcov_error_file.
3553 (gcov_error_exit): New.
3554 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3555
3556 2016-05-26 Nathan Sidwell <nathan@acm.org>
3557
3558 * config/nvptx/free.asm: Delete.
3559 * config/nvptx/malloc.asm: Delete.
3560 * config/nvptx/realloc.c: Delete.
3561 * t-nvptx: Update.
3562
3563 2016-05-25 Nathan Sidwell <nathan@acm.org>
3564
3565 * config/nvptx/crt0.s: Delete.
3566 * config/nvptx/crt0.c: New.
3567 * t-nvptx: Update.
3568
3569 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
3570
3571 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
3572 dw2/seh configuration.
3573 [x86_64-*-mingw*]: Likewise.
3574
3575 2016-05-10 Joel Sherrill <joel@rtems.org>
3576
3577 PR libgcc/70720
3578 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3579 targets so the same extra_parts are built. Also have tmake_file add
3580 on to its value rather than override.
3581
3582 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
3583
3584 * config.host: Remove SH5 support.
3585 * configure: Likewise.
3586
3587 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
3588
3589 * config/sh/crt1.S: Remove SH5 support.
3590 * config/sh/crti.S: Likewise.
3591 * config/sh/crtn.S: Likewise.
3592 * config/sh/lib1funcs-4-300.S: Likewise.
3593 * config/sh/lib1funcs-Os-4-200.S: Likewise.
3594 * config/sh/lib1funcs.S: Likewise.
3595 * config/sh/linux-unwind.h: Likewise.
3596 * config/sh/t-sh64: Delete.
3597
3598 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
3599
3600 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3601
3602 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
3603 Joern Rennecke <joern.rennecke@embecosm.com>
3604
3605 * config/arc/crttls.S: New file.
3606 * config/arc/t-arc: New rule.
3607 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3608
3609 2016-04-25 Nick Clifton <nickc@redhat.com>
3610
3611 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3612 (__mspabi_cmpd): Likewise.
3613 * config/msp430/floathidf.c (__floathidf): Likewise.
3614 * config/msp430/floathisf.c (__floathisf): Likewise
3615 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3616 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3617 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3618 second parameter.
3619 (__ashrsi3): Likewise.
3620
3621 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
3622
3623 * config/m68k/linux-atomic.c: Do not include unistd.h
3624
3625 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
3626
3627 * config/arm/ieee754-df.S: Fix typos in comments.
3628
3629 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3630
3631 PR target/70381
3632 * configure.ac (powerpc*-*-linux*): Rework tests to build
3633 __float128 emulation routines to not depend on using #pragma GCC
3634 target to enable -mfloat128.
3635 * configure: Regnerate.
3636
3637 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
3638
3639 PR target/67172
3640 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3641 __MINGW32__ is defined.
3642
3643 2016-03-28 James Bowman <james.bowman@ftdichip.com>
3644
3645 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
3646
3647 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
3648
3649 PR libgcc/70363
3650 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3651 built with an assembler that does not support ISA 3.0
3652 instructions, rename __extendkftf2_sw to __extendkftf2.
3653
3654 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3655
3656 PR target/38239
3657 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3658 call-clobbered registers.
3659 (internal_mcount): Remove __i386__ handling.
3660
3661 2016-02-26 Joel Sherrill <joel@rtems.org>
3662
3663 * config.host: Add x86_64-*-rtems*.
3664
3665 2016-02-26 Joel Sherrill <joel@rtems.org>
3666
3667 * libgcc/config.host: Add aarch64-*-rtems*.
3668
3669 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3670 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3671
3672 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3673 union of u64 and double.
3674 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3675 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3676 value.
3677 (FP_ROUNDMODE): Update the usage of _fpscr.
3678
3679 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
3680
3681 PR driver/68463
3682 * Makefile.in (crtoffloadtable$(objext)): New rule.
3683 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3684 enable_offload_targets is not empty.
3685 * configure: Regenerate.
3686 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3687 crtoffloadtable.
3688
3689 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3690
3691 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3692 .literal_position before the function.
3693 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3694 Likewise.
3695
3696 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3697
3698 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3699 * config/s390/morestack.S: New file.
3700 * config/s390/t-stack-s390: New file.
3701 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3702
3703 2016-02-12 Walter Lee <walt@tilera.com>
3704
3705 * config.host (tilegx*-*-linux*): remove ti from
3706 softfp_int_modes for 32-bit configs.
3707
3708 2016-02-10 Ian Lance Taylor <iant@google.com>
3709
3710 PR go/68562
3711 * config/i386/morestack.S (__stack_split_initialize): Align
3712 stack.
3713
3714 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3715
3716 PR bootstrap/69611
3717 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3718 __FLOAT128__ to compile only for __float128 capable targets.
3719
3720 2016-01-25 Jakub Jelinek <jakub@redhat.com>
3721
3722 PR target/69444
3723 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3724 instead of ___NO_FPRS__.
3725
3726 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
3727 Steven Munroe <munroesj@linux.vnet.ibm.com>
3728 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3729
3730 * config/rs6000/float128-sed: New files to convert TF names to KF
3731 names for PowerPC IEEE 128-bit floating point support.
3732 * config/rs6000/float128-sed-hw: Likewise.
3733
3734 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3735 floating point hardware support.
3736
3737 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3738 128-bit floating point software emulation or use ISA 3.0 hardware
3739 support if it is available.
3740
3741 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3742 floating point.
3743
3744 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3745 floating point to IBM extended double.
3746
3747 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3748 double to IEEE 128-bit floating point.
3749
3750 * config/rs6000/t-float128: New Makefile fragments to enable
3751 building __float128 emulation support.
3752 * config/rs6000/t-float128-hw: Likewise.
3753
3754 * config/rs6000/sfp-exceptions.c: New file to provide exception
3755 support for IEEE 128-bit floating point.
3756
3757 * config/rs6000/floattikf.c: New files for converting between IEEE
3758 128-bit floating point and signed/unsigned 128-bit integers.
3759 * config/rs6000/fixunskfti.c: Likewise.
3760 * config/rs6000/fixkfti.c: Likewise.
3761 * config/rs6000/floatuntikf.c: Likewise.
3762
3763 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3764 when building on 64-bit systems, or when VSX is enabled.
3765 (_FP_W_TYPE): Likewise.
3766 (_FP_WS_TYPE): Likewise.
3767 (_FP_I_TYPE): Likewise.
3768 (TItype): Define on 64-bit systems.
3769 (UTItype): Likewise.
3770 (TI_BITS): Likewise.
3771 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3772 (_FP_MUL_MEAT_Q): Likewise.
3773 (_FP_DIV_MEAT_D): Likewise.
3774 (_FP_DIV_MEAT_Q): Likewise.
3775 (_FP_NANFRAC_D): Likewise.
3776 (_FP_NANFRAC_Q): Likewise.
3777 (ISA_BIT): Add exception support if we are being compiled on a
3778 machine with hardware floating point support to build the IEEE
3779 128-bit emulation functions.
3780 (FP_EX_INVALID): Likewise.
3781 (FP_EX_OVERFLOW): Likewise.
3782 (FP_EX_UNDERFLOW): Likewise.
3783 (FP_EX_DIVZERO): Likewise.
3784 (FP_EX_INEXACT): Likewise.
3785 (FP_EX_ALL): Likewise.
3786 (__sfp_handle_exceptions): Likewise.
3787 (FP_HANDLE_EXCEPTIONS): Likewise.
3788 (FP_RND_NEAREST): Likewise.
3789 (FP_RND_ZERO): Likewise.
3790 (FP_RND_PINF): Likewise.
3791 (FP_RND_MINF): Likewise.
3792 (FP_RND_MASK): Likewise.
3793 (_FP_DECL_EX): Likewise.
3794 (FP_INIT_ROUNDMODE): Likewise.
3795 (FP_ROUNDMODE): Likewise.
3796
3797 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3798 VSX code, enable IEEE 128-bit floating point. If the compiler can
3799 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3800 floating point hardware instructions and it supports declaring
3801 functions with the ifunc attribute, enable ifunc functions to
3802 switch between software and hardware support.
3803 * configure.ac (powerpc*-*-linux*): Likewise.
3804 * configure: Regenerate.
3805
3806 2016-01-15 Nick Clifton <nickc@redhat.com>
3807
3808 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3809 dependency as the source file to be compiled.
3810 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3811 (lib2hw_mul_f5.o): Likewise.
3812
3813 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3814
3815 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3816 * libgcc/config/rs6000/fixkfti.c: Likewise.
3817 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3818 * libgcc/config/rs6000/float128-hw.c: Likewise.
3819 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3820 * libgcc/config/rs6000/float128-sed: Likewise.
3821 * libgcc/config/rs6000/floattikf.c: Likewise.
3822 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3823 * libgcc/config/rs6000/quad-float128.h: Likewise.
3824 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3825 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3826 * libgcc/config/rs6000/t-float128: Likewise.
3827 * libgcc/config/rs6000/t-float128-hw: Likewise.
3828 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3829 * libgcc/config.host: Likewise.
3830 * libgcc/configure: Likewise.
3831 * libgcc/configure.ac: Likewise.
3832
3833 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3834 Steven Munroe <munroesj@linux.vnet.ibm.com>
3835 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3836
3837 * config/rs6000/sfp-exceptions.c: New file to provide exception
3838 support for IEEE 128-bit floating point.
3839
3840 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3841 floating point hardware support.
3842
3843 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3844 point conversions.
3845 * config/rs6000/fixunskfti.c: Likewise.
3846 * config/rs6000/fixkfti.c: Likewise.
3847 * config/rs6000/floatuntikf.c: Likewise.
3848 * config/rs6000/extendkftf2-sw.c: Likewise.
3849 * config/rs6000/trunctfkf2-sw.c: Likewise.
3850
3851 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3852 128-bit floating point software emulation or use ISA 3.0 hardware
3853 support if it is available.
3854
3855 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3856 floating point.
3857
3858 * config/rs6000/t-float128: New Makefile fragments to enable
3859 building __float128 emulation support.
3860 * config/rs6000/t-float128-hw: Likewise.
3861
3862 * config/rs6000/float128-sed: New file to convert TF names to KF
3863 names for PowerPC IEEE 128-bit floating point support.
3864
3865 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3866 when building on 64-bit systems, or when VSX is enabled.
3867 (_FP_W_TYPE): Likewise.
3868 (_FP_WS_TYPE): Likewise.
3869 (_FP_I_TYPE): Likewise.
3870 (TItype): Define on 64-bit systems.
3871 (UTItype): Likewise.
3872 (TI_BITS): Likewise.
3873 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3874 (_FP_MUL_MEAT_Q): Likewise.
3875 (_FP_DIV_MEAT_D): Likewise.
3876 (_FP_DIV_MEAT_Q): Likewise.
3877 (_FP_NANFRAC_D): Likewise.
3878 (_FP_NANFRAC_Q): Likewise.
3879 (ISA_BIT): Add exception support if we are being compiled on a
3880 machine with hardware floating point support to build the IEEE
3881 128-bit emulation functions.
3882 (FP_EX_INVALID): Likewise.
3883 (FP_EX_OVERFLOW): Likewise.
3884 (FP_EX_UNDERFLOW): Likewise.
3885 (FP_EX_DIVZERO): Likewise.
3886 (FP_EX_INEXACT): Likewise.
3887 (FP_EX_ALL): Likewise.
3888 (__sfp_handle_exceptions): Likewise.
3889 (FP_HANDLE_EXCEPTIONS): Likewise.
3890 (FP_RND_NEAREST): Likewise.
3891 (FP_RND_ZERO): Likewise.
3892 (FP_RND_PINF): Likewise.
3893 (FP_RND_MINF): Likewise.
3894 (FP_RND_MASK): Likewise.
3895 (_FP_DECL_EX): Likewise.
3896 (FP_INIT_ROUNDMODE): Likewise.
3897 (FP_ROUNDMODE): Likewise.
3898
3899 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3900 compiler can do __float128.
3901 * configure: Regenerate.
3902
3903 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3904 VSX code, enable IEEE 128-bit floating point.
3905
3906 2016-01-05 Olivier Hainque <hainque@adacore.com>
3907
3908 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
3909 specificities.
3910
3911 2016-01-04 Jakub Jelinek <jakub@redhat.com>
3912
3913 Update copyright years.
3914
3915 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3916
3917 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
3918 soft-fp targets.
3919
3920 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3921
3922 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3923 instead of abort to avoid dependency on stdlib.h.
3924
3925 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
3926
3927 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3928 to initialize call to __dl_fixup once.
3929
3930 2015-12-04 Nick Clifton <nickc@redhat.com>
3931
3932 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3933 Allow for the second argument being negative.
3934 * config.host (extra_parts): Define for MSP430. Create separate
3935 libraries for each of the hardware multiply formats.
3936 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3937 that are needed.
3938 * config/msp430/lib2mul.c: Likewise.
3939 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3940 Add rules to build hardware multiply libraries.
3941 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3942 __mspabi_divul function.
3943 (__mspabi_divllu): New stub function.
3944
3945 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
3946
3947 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3948 fixup values if saved GOT address doesn't match runtime address.
3949 (fixup_branch_offset): Reorder list.
3950
3951 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3952
3953 * Makefile.in (VTV_CFLAGS): New variable.
3954 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3955 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3956 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3957 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3958 to extra_parts if $enable_vtable_verify = yes.
3959
3960 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3961
3962 PR target/68059
3963 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3964 (write): ...this and fix the return type.
3965
3966 2015-11-19 DJ Delorie <dj@redhat.com>
3967
3968 * config/msp430/lib2hw_mul.S: Fix alignment.
3969
3970 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3971
3972 * config/nvptx/reduction.c: New.
3973 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3974
3975 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
3976
3977 * config/rs6000/on_exit.c: New file.
3978 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3979 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3980
3981 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3982
3983 * config/arc/dp-hack.h: Add support for ARCHS.
3984 * config/arc/ieee-754/divdf3.S: Likewise.
3985 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3986 * config/arc/ieee-754/muldf3.S: Likewise.
3987 * config/arc/ieee-754/mulsf3.S: Likewise
3988 * config/arc/lib1funcs.S: Likewise
3989 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3990 for ARCv2 cores.
3991 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3992 for ARCv2 cores.
3993 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3994 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3995 cores.
3996
3997 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3998
3999 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4000 value.
4001 * config/ia64/crtend.S: Likewise.
4002
4003 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4004
4005 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4006 __CHAR_BIT__ instead of BITS_PER_UNIT.
4007 * fixed-bit.h: Likewise.
4008 * fp-bit.h: Likewise.
4009 * libgcc2.c (__popcountSI2): Likewise.
4010 (__popcountDI2): Likewise.
4011 * libgcc2.h: Likewise.
4012 * libgcov.h: Likewise.
4013
4014 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
4015
4016 * config/rs6000/atexit.c: New file.
4017 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4018 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4019 * config/rs6000/cxa_finalize.c
4020 (catomic_compare_and_exchange_bool_acq): Negate return value.
4021
4022 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4023
4024 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4025 (processor_subtypes): Add znver1.
4026 (get_amd_cpu): Detect znver1.
4027
4028 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
4029
4030 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4031 Include crtfastmath.o.
4032
4033 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
4034
4035 PR libgcc/66883
4036 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
4037
4038 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
4039
4040 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4041 * config/rl78/divmodsi.S: Update return register to r8.
4042 * config/rl78/divmodhi.S: Update return register to r8,r9.
4043 Branch to main_loop_done_himode to pop registers before return.
4044
4045 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4046
4047 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4048 (__cpu_indicator_init): Fix model selection for AMD CPUs.
4049
4050 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
4051
4052 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4053
4054 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
4055
4056 * config.host (xtensa*-*-uclinux*): New configuration.
4057
4058 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
4059
4060 * config/i386/cpuinfo.c (processor_features): Add
4061 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4062
4063 2015-09-28 Joseph Myers <joseph@codesourcery.com>
4064
4065 * soft-fp/adddf3.c: Update from glibc.
4066 * soft-fp/addsf3.c: Likewise.
4067 * soft-fp/addtf3.c: Likewise.
4068 * soft-fp/divdf3.c: Likewise.
4069 * soft-fp/divsf3.c: Likewise.
4070 * soft-fp/divtf3.c: Likewise.
4071 * soft-fp/double.h: Likewise.
4072 * soft-fp/eqdf2.c: Likewise.
4073 * soft-fp/eqsf2.c: Likewise.
4074 * soft-fp/eqtf2.c: Likewise.
4075 * soft-fp/extenddftf2.c: Likewise.
4076 * soft-fp/extended.h: Likewise.
4077 * soft-fp/extendsfdf2.c: Likewise.
4078 * soft-fp/extendsftf2.c: Likewise.
4079 * soft-fp/extendxftf2.c: Likewise.
4080 * soft-fp/fixdfdi.c: Likewise.
4081 * soft-fp/fixdfsi.c: Likewise.
4082 * soft-fp/fixdfti.c: Likewise.
4083 * soft-fp/fixsfdi.c: Likewise.
4084 * soft-fp/fixsfsi.c: Likewise.
4085 * soft-fp/fixsfti.c: Likewise.
4086 * soft-fp/fixtfdi.c: Likewise.
4087 * soft-fp/fixtfsi.c: Likewise.
4088 * soft-fp/fixtfti.c: Likewise.
4089 * soft-fp/fixunsdfdi.c: Likewise.
4090 * soft-fp/fixunsdfsi.c: Likewise.
4091 * soft-fp/fixunsdfti.c: Likewise.
4092 * soft-fp/fixunssfdi.c: Likewise.
4093 * soft-fp/fixunssfsi.c: Likewise.
4094 * soft-fp/fixunssfti.c: Likewise.
4095 * soft-fp/fixunstfdi.c: Likewise.
4096 * soft-fp/fixunstfsi.c: Likewise.
4097 * soft-fp/fixunstfti.c: Likewise.
4098 * soft-fp/floatdidf.c: Likewise.
4099 * soft-fp/floatdisf.c: Likewise.
4100 * soft-fp/floatditf.c: Likewise.
4101 * soft-fp/floatsidf.c: Likewise.
4102 * soft-fp/floatsisf.c: Likewise.
4103 * soft-fp/floatsitf.c: Likewise.
4104 * soft-fp/floattidf.c: Likewise.
4105 * soft-fp/floattisf.c: Likewise.
4106 * soft-fp/floattitf.c: Likewise.
4107 * soft-fp/floatundidf.c: Likewise.
4108 * soft-fp/floatundisf.c: Likewise.
4109 * soft-fp/floatunditf.c: Likewise.
4110 * soft-fp/floatunsidf.c: Likewise.
4111 * soft-fp/floatunsisf.c: Likewise.
4112 * soft-fp/floatunsitf.c: Likewise.
4113 * soft-fp/floatuntidf.c: Likewise.
4114 * soft-fp/floatuntisf.c: Likewise.
4115 * soft-fp/floatuntitf.c: Likewise.
4116 * soft-fp/gedf2.c: Likewise.
4117 * soft-fp/gesf2.c: Likewise.
4118 * soft-fp/getf2.c: Likewise.
4119 * soft-fp/ledf2.c: Likewise.
4120 * soft-fp/lesf2.c: Likewise.
4121 * soft-fp/letf2.c: Likewise.
4122 * soft-fp/muldf3.c: Likewise.
4123 * soft-fp/mulsf3.c: Likewise.
4124 * soft-fp/multf3.c: Likewise.
4125 * soft-fp/negdf2.c: Likewise.
4126 * soft-fp/negsf2.c: Likewise.
4127 * soft-fp/negtf2.c: Likewise.
4128 * soft-fp/op-1.h: Likewise.
4129 * soft-fp/op-2.h: Likewise.
4130 * soft-fp/op-4.h: Likewise.
4131 * soft-fp/op-8.h: Likewise.
4132 * soft-fp/op-common.h: Likewise.
4133 * soft-fp/quad.h: Likewise.
4134 * soft-fp/single.h: Likewise.
4135 * soft-fp/soft-fp.h: Likewise.
4136 * soft-fp/subdf3.c: Likewise.
4137 * soft-fp/subsf3.c: Likewise.
4138 * soft-fp/subtf3.c: Likewise.
4139 * soft-fp/truncdfsf2.c: Likewise.
4140 * soft-fp/trunctfdf2.c: Likewise.
4141 * soft-fp/trunctfsf2.c: Likewise.
4142 * soft-fp/trunctfxf2.c: Likewise.
4143 * soft-fp/unorddf2.c: Likewise.
4144 * soft-fp/unordsf2.c: Likewise.
4145 * soft-fp/unordtf2.c: Likewise.
4146
4147 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
4148
4149 PR libgcc/67624
4150 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4151
4152 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4153
4154 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4155 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4156 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4157 messages.
4158 (internal_mcount): Likewise.
4159 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4160 crt_compile, add CRTSTUFF_T_CFLAGS_S.
4161
4162 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4163
4164 * configure.ac (libgcc_cv_solaris_crts): New test.
4165 * configure: Regenerate.
4166 * config.in: Regenerate.
4167 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4168 * config/gmon-sol2.c: Rename to ...
4169 * config/sol2/gmon.c: ... this.
4170 Include auto-target.h.
4171 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4172 * config/t-sol2: Rename to ...
4173 * config/sol2/t-sol2: ... this.
4174 (gmon.o): Reflect renaming.
4175 (crtp.o, crtpg.o): New rules.
4176 * config.host (*-*-solaris2*): Reflect renaming.
4177 Use system CRTs if present.
4178 Remove default CRT case.
4179
4180 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
4181
4182 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4183 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4184 __kernel_cmpxchg2.
4185 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4186 (__sync_val_compare_and_swap_##WIDTH): Likewise.
4187 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4188 (__sync_lock_test_and_set_##WIDTH): Likewise.
4189 (__sync_lock_release_##WIDTH): Likewise.
4190 (__sync_fetch_and_##OP##_4): Change result to match type of
4191 __kernel_cmpxchg.
4192 (__sync_##OP##_and_fetch_4): Likewise.
4193 (__sync_val_compare_and_swap_4): Likewise.
4194 (__sync_bool_compare_and_swap_4): likewise.
4195 (__sync_lock_test_and_set_4): Likewise.
4196 (__sync_lock_release_4): Likewise.
4197 (FETCH_AND_OP_2): Add long long variants.
4198 (OP_AND_FETCH_2): Likewise.
4199 (COMPARE_AND_SWAP_2 ): Likewise.
4200 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4201 (SYNC_LOCK_RELEASE_2): Likewise.
4202 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4203
4204 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
4205
4206 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4207 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4208 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4209 (get_available_features): Habdle new features.
4210
4211 2015-09-21 James Bowman <james.bowman@ftdichip.com>
4212
4213 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4214 memory layout. Deal correctly with BSS region larger than 32K.
4215 Handle a watchdog reset like a power-on reset. Clean up unused
4216 code.
4217
4218 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
4219 David Edelsohn <dje.gcc@gmail.com>
4220
4221 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4222 * config/rs6000/crtdbase.S: New file.
4223 * config/rs6000/t-aix-cxa: Build crtdbase.o.
4224
4225 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
4226
4227 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4228 Add support for call0 ABI.
4229
4230 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
4231
4232 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4233
4234 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
4235
4236 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4237 (__GTHREAD_HAS_COND): Likewise.
4238 (__gthread_t): Likewise.
4239 (__gthread_cond_t): Likewise.
4240 (__gthread_time_t): Likewise.
4241 (__GTHREAD_MUTEX_INIT): Likewise.
4242 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4243 (__GTHREAD_COND_INIT): Likewise.
4244 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4245 (__GTHREAD_TIME_INIT): Likewise.
4246 (__gthread_create): Likewise.
4247 (__gthread_join): Likewise.
4248 (__gthread_detach): Likewise.
4249 (__gthread_equal): Likewise.
4250 (__gthread_self): Likewise.
4251 (__gthread_yield): Likewise.
4252 (__gthread_cond_broadcast): Likewise.
4253 (__gthread_cond_signal): Likewise.
4254 (__gthread_cond_wait): Likewise.
4255 (__gthread_cond_timedwait): Likewise.
4256 (__gthread_cond_wait_recursive): Likewise.
4257 (__gthread_cond_destroy): Likewise.
4258 (rtems_gxx_once): Delete.
4259 (rtems_gxx_key_create): Likewise.
4260 (rtems_gxx_key_delete): Likewise.
4261 (rtems_gxx_getspecific): Likewise.
4262 (rtems_gxx_setspecific): Likewise.
4263 (rtems_gxx_mutex_init): Likewise.
4264 (rtems_gxx_mutex_destroy): Likewise.
4265 (rtems_gxx_mutex_lock): Likewise.
4266 (rtems_gxx_mutex_trylock): Likewise.
4267 (rtems_gxx_mutex_unlock): Likewise.
4268 (rtems_gxx_recursive_mutex_init): Likewise.
4269 (rtems_gxx_recursive_mutex_lock): Likewise.
4270 (rtems_gxx_recursive_mutex_trylock): Likewise.
4271 (rtems_gxx_recursive_mutex_unlock): Likewise.
4272 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4273 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4274 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4275 (__gthread_once): Likewise.
4276 (__gthread_key_create): Likewise.
4277 (__gthread_key_delete): Likewise.
4278 (__gthread_getspecific): Likewise.
4279 (__gthread_setspecific): Likewise.
4280 (__gthread_key_t): Use <pthread.h> type.
4281 (__gthread_once_t): Likewise
4282 (__gthread_mutex_t): Use <sys/lock.h> type.
4283 (__gthread_recursive_mutex_t): Likewise
4284 (__gthread_mutex_lock): Use <sys/lock.h> function.
4285 (__gthread_mutex_trylock): Likewise.
4286 (__gthread_mutex_timedlock): Likewise.
4287 (__gthread_mutex_unlock): Likewise.
4288 (__gthread_mutex_destroy): Likewise.
4289 (__gthread_recursive_mutex_lock): Likewise.
4290 (__gthread_recursive_mutex_trylock): Likewise.
4291 (__gthread_recursive_mutex_timedlock): Likewise.
4292 (__gthread_recursive_mutex_unlock): Likewise.
4293 (__gthread_recursive_mutex_destroy): Likewise.
4294
4295 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4296
4297 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4298 context->sp instead of context->cfa.
4299
4300 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4301
4302 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4303 with unwind-dw2-fde-dip.
4304
4305 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4306
4307 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4308 CALL12 followed by series of ENTRY to spill windowed registers.
4309 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4310 instead of making linux spill syscall.
4311
4312 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
4313
4314 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4315 (get_intel_cpu): Likewise.
4316
4317 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
4318
4319 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4320 (get_intel_cpu): Add Knights Landing support.
4321
4322 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
4323
4324 PR target/66954
4325 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4326 (get_available_features): Handle FEATURE_PCLMUL.
4327
4328 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
4329
4330 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4331 Broadwell.
4332
4333 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
4334
4335 PR target/66954
4336 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4337 (get_available_features): Handle FEATURE_AES.
4338
4339 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
4340
4341 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4342 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4343
4344 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
4345
4346 * offloadstuff.c: Constify host data.
4347
4348 2015-07-17 Jan Beulich <jbeulich@suse.com>
4349
4350 * config/t-softfp: Split up "else ifneq".
4351
4352 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4353 Cesar Philippidis <cesar@codesourcery.com>
4354 Chung-Lin Tang <cltang@codesourcery.com>
4355
4356 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4357 for __nios2_arch__ level.
4358
4359 2015-07-13 John Marino <gnugcc@marino.st>
4360
4361 * config/i386/t-dragonfly: New.
4362
4363 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
4364
4365 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4366 better match light-weight syscall argument order.
4367 (__kernel_cmpxchg2): Likewise.
4368 Adjust callers.
4369
4370 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
4371
4372 * config.host: Support i[34567]86-*-elfiamcu target.
4373 * config/t-softfp-sfdftf: New file.
4374 * config/i386/32/t-iamcu: Likewise.
4375 * configure: Regenerated.
4376
4377 2015-06-23 James Lemke <jwlemke@codesourcery.com>
4378
4379 libgcc/config/arm/
4380 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4381
4382 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
4383
4384 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4385
4386 2015-05-27 John Marino <gnugcc@marino.st>
4387
4388 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4389 md_unwind_header
4390 * config/i386/freebsd-unwind.h: New.
4391
4392 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
4393
4394 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4395 i386/t-crtfm to tmake_file.
4396 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4397 (set_fast_math): Use set_fast_math_sse for SSE targets.
4398 * config/i386/t-crtfm: Remove.
4399
4400 2015-05-21 Alan Modra <amodra@gmail.com>
4401
4402 PR libgcc/66225
4403 * config/rs6000/morestack.S: Remove ".abiversion 1".
4404
4405 2015-05-20 Alan Modra <amodra@gmail.com>
4406
4407 * config/rs6000/morestack.S: New.
4408 * config/rs6000/t-stack-rs6000: New.
4409 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4410 to tmake_file.
4411 * generic-morestack.c: Don't build for powerpc 32-bit.
4412
4413 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
4414
4415 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4416 Remove useless endif/ifneq ($(enable_shared),yes) pair.
4417
4418 2015-05-16 James Bowman <james.bowman@ftdichip.com>
4419
4420 * config.host: FT32 target added.
4421 * config/ft32/*: New files for FT32 target.
4422
4423 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
4424
4425 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4426 New macros.
4427 * config/arm/ieee754-df.S: Add CFI directives.
4428 * config/arm/ieee754-sf.S: Add CFI directives.
4429
4430 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
4431
4432 * configure.ac: Include config/sjlj.m4.
4433 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4434 * config.in: Regenerate.
4435 * configure: Likewise.
4436 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4437
4438 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
4439
4440 * libgcov-util.c: Add space between string literal and macro name.
4441
4442 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
4443 Chris Jones <chrisj@nvidia.com>
4444 Joshua Conner <jconner@nvidia.com>
4445
4446 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4447 (arm*-*-uclinux*): Likewise.
4448 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4449 * config/arm/crtfastmath.c: New file.
4450
4451 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
4452
4453 * Makefile.in (real_host_noncanonical): New variable.
4454 (libsubdir): Use it.
4455 * configure.ac (real_host_noncanonical): Compute. Remove special
4456 case for intelmicemul.
4457 * configure: Regenerate.
4458
4459 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4460
4461 * config/frv/elf-lib.h: New file.
4462 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4463 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4464 to tm_file.
4465
4466 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4467
4468 * config/frv/frvbengin.c: Do not include defaults.h
4469 * config/frv/frvend.c: Ditto.
4470
4471 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
4472
4473 * config.host: Add h8300-*-linux
4474 * config/h8300/t-linux: New file.
4475 * config/h8300/lib1funs.s: Change symbol prefix.
4476 * config/h8300/sfp-machine.h: 64bit double support.
4477
4478 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
4479 Szabolcs Nagy <szabolcs.nagy@arm.com>
4480
4481 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4482 Linux if target provides dl_iterate_phdr.
4483
4484 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
4485
4486 PR target/65612
4487 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4488 * config/i386/cpuinfo.c (__cpu_model): Initialize.
4489 (__cpu_indicator_init@GCC_4.8.0): New.
4490 (__cpu_model@GCC_4.8.0): Likewise.
4491 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4492 -DUSE_ELF_SYMVER.
4493
4494 2015-04-16 Nick Clifton <nickc@redhat.com>
4495
4496 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4497 and __modhi3 functions.
4498 * config/rl78/divmodso.S: Add G14 and G13 versions of the
4499 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4500
4501 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
4502
4503 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4504 do-while loop as macro body to avoid warnings.
4505
4506 2015-04-10 Jakub Jelinek <jakub@redhat.com>
4507 Iain Sandoe <iain@codesourcery.com>
4508
4509 PR target/65351
4510 * configure: Regenerate.
4511
4512 2015-04-07 Jakub Jelinek <jakub@redhat.com>
4513 Iain Sandoe <iain@codesourcery.com>
4514
4515 PR target/65351
4516 * configure: Regenerate.
4517
4518 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
4519
4520 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4521
4522 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
4523
4524 Implement call0 ABI for xtensa
4525 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4526 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4527 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4528 use ret in call0 ABI.
4529 * config/xtensa/t-windowed: New file.
4530 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4531 * libgcc/configure: Regenerated.
4532 * libgcc/configure.ac: Check if xtensa target is configured for
4533 windowed ABI and thus needs to use custom unwind code.
4534
4535 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
4536
4537 PR libgcc/64885
4538 * gthr-single.h: Use __unused__ attribute instead of unused.
4539 * config/gthr-vxworks.h: Likewise.
4540 * config/i386/gthr-win32.h: Likewise.
4541
4542 2015-02-27 Kai Tietz <ktietz@redhat.com>
4543
4544 PR target/65038
4545 * config.in: Regenerated.
4546 * configure: Likewise.
4547 * configure.ac (AC_HEADER_STDC): Added explicit.
4548 (AC_CHECK_HEADERS): Check for default headers plus
4549 for ftw.h header.
4550 * libgcov-util.c (gcov_read_profile_dir): Disable use
4551 of ftw-function, if header is not found.
4552 (ftw_read_file): Likewise.
4553
4554 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
4555
4556 PR target/65181
4557 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4558 -Dinhibit_libc.
4559
4560 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
4561
4562 * config/arm/bpabi.S (test_div_by_zero): Make label names
4563 consistent between thumb2 and arm mode cases. Separate the
4564 signed comparison on the high word of the numerator from the
4565 unsigned comparison on the low word.
4566 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4567 signed comparison.
4568
4569 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4570
4571 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4572 and <string.h>.
4573 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4574
4575 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
4576
4577 PR gcov-profile/61889
4578 * libgcov-driver-system.c: undefine clashing macro for mkdir.
4579
4580 2015-02-02 Nick Clifton <nickc@redhat.com>
4581
4582 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4583 rounding up the fraction.
4584
4585 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
4586
4587 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4588 oldval and newval to const void *. Fix typo.
4589 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4590 (FETCH_AND_OP_WORD): Likewise.
4591 (OP_AND_FETCH_WORD): Likewise.
4592 (COMPARE_AND_SWAP_2): Likewise.
4593 (__sync_val_compare_and_swap_4): Likewise.
4594 (__sync_lock_test_and_set_4): Likewise.
4595 (SYNC_LOCK_RELEASE_2): Likewise.
4596 Remove support for long long atomic operations.
4597
4598 2015-01-27 Caroline Tice <cmtice@google.com>
4599
4600 Committing VTV Cywin/Ming patch for Patrick Wollgast
4601 * Makefile.in: Move rules to build vtv_*.o out of the check
4602 for CUSTOM_CRTSTUFF.
4603 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4604 i[34567]86-*-mingw*)
4605 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4606 enable_vtable_verify.
4607
4608 2015-01-27 Nick Clifton <nickc@redhat.com>
4609
4610 * config/rl78/cmpsi2.S: Use function start and end macros.
4611 (__gcc_bcmp): New function.
4612 * config/rl78/lshrsi3.S: Use function start and end macros.
4613 * config/rl78/mulsi3.S: Add support for G10.
4614 (__mulqi3): New function for G10.
4615 * config/rl78/signbit.S: Use function start and end macros.
4616 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4617 fpmath-sf.S.
4618 (LIB2FUNCS_EXCLUDE): Define.
4619 (LIB2FUNCS_ST): Define.
4620 * config/rl78/trampoline.S: Use function start and end macros.
4621 * config/rl78/vregs.h (START_FUNC): New macro.
4622 (START_ANOTHER_FUNC): New macro.
4623 (END_FUNC): New macro.
4624 (END_ANOTHER_FUNC): New macro.
4625 * config/rl78/bit-count.S: New file. Contains assembler
4626 implementations of the bit counting functions: ___clzhi2,
4627 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4628 __paritysi2, __popcounthi2 and __popcountsi2.
4629 * config/rl78/fpbit-sf.S: New file. Contains assembler
4630 implementationas of the math functions: __negsf2, __cmpsf2,
4631 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4632 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
4633 * config/rl78/fpmath-sf.S: New file. Contains assembler
4634 implementations of the math functions: __subsf3, __addsf3,
4635 __mulsf3 and __divsf3
4636
4637 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4638
4639 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4640 Add i386/elf-lib.h to tm_file.
4641 * config/i386/elf-lib.h: Fix comment.
4642 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4643 && __sun__ && __svr4__]: Remove workaround.
4644
4645 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4646
4647 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4648 FEATURE_BMI2.
4649 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4650
4651 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
4652
4653 * config/i386/cpuinfo.c (processor_subtypes): Add
4654 INTEL_COREI7_BROADWELL.
4655 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4656 model numbers.
4657
4658 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
4659
4660 * config/i386/elf-lib.h: New file.
4661 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4662 Wrap definition in #ifdef __i386__.
4663 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4664 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4665 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4666 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4667 to tm_file.
4668
4669 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
4670
4671 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4672 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4673
4674 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
4675
4676 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4677 Update rt_sigframe format and address for current Nios II
4678 Linux conventions.
4679
4680 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
4681
4682 * config.host (arm*-*-freebsd*): Add new configuration for
4683 arm*-*-freebsd*.
4684 * config/arm/freebsd-atomic.c: New file.
4685 * config/arm/t-freebsd: Likewise.
4686 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4687 'PC-relative indirect' OS's.
4688
4689 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
4690
4691 * config.host: Add Visium support.
4692 * config/visium: New directory.
4693
4694 2015-01-05 Jakub Jelinek <jakub@redhat.com>
4695
4696 Update copyright years.
4697
4698 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4699
4700 * config.host: Support mipsisa32r6 and mipsisa64r6.
4701 * config/mips/mips16.S: Do not build for R6.
4702
4703 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4704
4705 * config/sh/crt.h: New.
4706 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4707 symbols.
4708 * config/sh/crt1.S: Likewise.
4709
4710 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
4711
4712 PR libgcc/63832
4713 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4714 func_ptr *dtor_list temporary variable to avoid "array subscript
4715 is above array bounds" warnings.
4716
4717 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
4718
4719 * Makefile.in (with_aix_soname): Define.
4720 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4721 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4722 * configure: Recreate.
4723
4724 2014-12-05 Olivier Hainque <hainque@adacore.com>
4725
4726 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4727 now provided by defaults.h.
4728
4729 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4730
4731 PR target/55351
4732 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4733 whether it's defined.
4734
4735 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4736
4737 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4738 * config/i386/cpuinfo.c (get_available_features): Detect it.
4739
4740 2014-11-27 Tony Wang <tony.wang@arm.com>
4741
4742 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4743 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4744 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4745
4746 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4747
4748 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4749
4750 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
4751
4752 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4753 instead.
4754
4755 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4756 John David Anglin <danglin@gcc.gnu.org>
4757
4758 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4759 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4760 (OP_AND_FETCH_2): Likewise.
4761 (COMPARE_AND_SWAP_2): Likewise.
4762 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4763 (SYNC_LOCK_RELEASE_2): Likewise.
4764 (SUBWORD_SYNC_OP): Remove.
4765 (SUBWORD_VAL_CAS): Likewise.
4766 (SUBWORD_BOOL_CAS): Likewise.
4767 (FETCH_AND_OP_WORD): Update.
4768 Consistently use signed types.
4769
4770 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4771 Thomas Schwinge <thomas@codesourcery.com>
4772 Ilya Verbin <ilya.verbin@intel.com>
4773 Andrey Turetskiy <andrey.turetskiy@intel.com>
4774
4775 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4776 (crtoffloadend$(objext)): Likewise.
4777 * configure: Regenerate.
4778 * configure.ac (accel_dir_suffix): Compute new variable.
4779 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4780 if enable_offload_targets is not empty.
4781 * offloadstuff.c: New file.
4782
4783 2014-11-13 Nick Clifton <nickc@redhat.com>
4784
4785 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4786 Use START_FUNC and END_FUNC macros to enable linker garbage
4787 collection.
4788 * config/rl78/divmodqi.S: Likewise.
4789 * config/rl78/divmodsi.S: Likewise.
4790 * config/rl78/mulsi3.S: Likewise.
4791 * config/rl78/lib2div.c: Remove G10 functions.
4792 * config/rl78/lib2muls.c: Likewise.
4793 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4794 * config/rl78/vregs.h (START_FUNC): New macro.
4795 (END_FUNC): New macro.
4796
4797 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4798
4799 * config/mips/mips16.S: Set .module when supported. Update O32
4800 FP64 calling convention and use for FPXX when possible. Add FPXX
4801 calling convention fallback case.
4802
4803 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4804
4805 * config.host: Handle nvptx-*-*.
4806 * shared-object.mk (as-flags-$o): Define.
4807 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4808 -xassembler-with-cpp.
4809 * static-object.mk: Identical changes.
4810 * config/nvptx/t-nvptx: New file.
4811 * config/nvptx/crt0.s: New file.
4812 * config/nvptx/free.asm: New file.
4813 * config/nvptx/malloc.asm: New file.
4814 * config/nvptx/realloc.c: New file.
4815
4816 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4817
4818 * Makefile.in (libgcc.map.in): New target.
4819 (libgcc.map): Use libgcc.map.in.
4820 * config/t-softfp (softfp_compat): New variable to be set by
4821 users.
4822 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4823 variables.
4824 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4825 directory.
4826 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4827 that use compat symbols and disable all code unless [SHARED].
4828 * config/t-softfp-compat: New file.
4829 * find-symver.awk: New file.
4830 * configure.ac (--with-glibc-version): New configure option.
4831 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4832 * configure: Regenerate.
4833 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4834 soft-float and e500.
4835
4836 2014-10-29 Joseph Myers <joseph@codesourcery.com>
4837
4838 * config/t-hardfp (hardfp_exclusions): Document new variable for
4839 user to define.
4840 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4841 * config/t-softfp (softfp_extras): Document new variable for user
4842 to define.
4843 (softfp_func_list): Add functions from $(softfp_extras).
4844 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4845 * config.host (powerpc*-*-linux*): For e500v1, use
4846 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4847 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4848 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4849
4850 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
4851
4852 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4853 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4854 memory read accesses are ok.
4855
4856 2014-10-25 Joseph Myers <joseph@codesourcery.com>
4857
4858 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4859 * configure: Regenerate.
4860 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4861 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4862 of soft-fp for 32-bit classic hard float. Do not use
4863 t-softfp-excl for soft float.
4864
4865 2014-10-22 Joseph Myers <joseph@codesourcery.com>
4866
4867 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4868 configurations.
4869 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4870 Remove variables.
4871
4872 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
4873
4874 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4875 introduced with 2014-10-21 trunk r216525.
4876
4877 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
4878 Vidya Praveen <vidya.praveen@atmel.com>
4879 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4880 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4881 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
4882
4883 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4884 order.
4885
4886 Updated library functions for AVRTINY arch.
4887 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4888 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4889 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4890 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4891 wsubi/wadi macors.
4892 (__mulsi3_helper): Update stack, preserve callee saved regs and
4893 argument from stack. Restore callee save registers.
4894 (__mulpsi3): Likewise.
4895 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4896 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
4897 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
4898 AVRTINY.
4899 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4900 (__do_copy_data): Added new definition for AVRTINY.
4901 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4902 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4903 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4904 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4905 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4906 macors.
4907 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
4908 AVRTINY.
4909
4910 Fix broken long multiplication on tiny arch.
4911
4912 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4913
4914 * soft-fp/double.h: Update from glibc.
4915 * soft-fp/eqdf2.c: Likewise.
4916 * soft-fp/eqsf2.c: Likewise.
4917 * soft-fp/eqtf2.c: Likewise.
4918 * soft-fp/extenddftf2.c: Likewise.
4919 * soft-fp/extended.h: Likewise.
4920 * soft-fp/extendsfdf2.c: Likewise.
4921 * soft-fp/extendsftf2.c: Likewise.
4922 * soft-fp/extendxftf2.c: Likewise.
4923 * soft-fp/gedf2.c: Likewise.
4924 * soft-fp/gesf2.c: Likewise.
4925 * soft-fp/getf2.c: Likewise.
4926 * soft-fp/ledf2.c: Likewise.
4927 * soft-fp/lesf2.c: Likewise.
4928 * soft-fp/letf2.c: Likewise.
4929 * soft-fp/op-1.h: Likewise.
4930 * soft-fp/op-2.h: Likewise.
4931 * soft-fp/op-4.h: Likewise.
4932 * soft-fp/op-8.h: Likewise.
4933 * soft-fp/op-common.h: Likewise.
4934 * soft-fp/quad.h: Likewise.
4935 * soft-fp/single.h: Likewise.
4936 * soft-fp/soft-fp.h: Likewise.
4937 * soft-fp/unorddf2.c: Likewise.
4938 * soft-fp/unordsf2.c: Likewise.
4939 * soft-fp/unordtf2.c: Likewise.
4940 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4941 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4942 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4943 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4944 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4945 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4946 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4947 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4948 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4949 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4950
4951 2014-10-08 Rong Xu <xur@google.com>
4952
4953 * libgcov-util.c (read_gcda_file): Fix format.
4954 (find_match_gcov_info): Ditto.
4955 (calculate_2_entries): New.
4956 (compute_one_gcov): Ditto.
4957 (gcov_info_count_all_cold): Ditto.
4958 (gcov_info_count_all_zero): Ditto.
4959 (extract_file_basename): Ditto.
4960 (get_file_basename): Ditto.
4961 (set_flag): Ditto.
4962 (matched_gcov_info): Ditto.
4963 (calculate_overlap): Ditto.
4964 (gcov_profile_overlap): Ditto.
4965 * libgcov-driver.c (compute_summary): Make
4966 it avavilable for external calls.
4967
4968 2014-10-06 Rong Xu <xur@google.com>
4969
4970 * Makefile.in: Ditto.
4971 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4972 (gcov_sort_icall_topn_counter): Ditto.
4973 (gcov_sort_topn_counter_arrays): Ditto.
4974 (dump_one_gcov): Sort indirect_call topn counters.
4975 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4976 function.
4977 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4978 utility function.
4979 (__gcov_indirect_call_topn_profiler): New profiler function.
4980 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4981 * libgcov.h: New decls.
4982
4983 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4984
4985 * config.host: Remove support for score-*.
4986
4987 2014-09-22 Joseph Myers <joseph@codesourcery.com>
4988
4989 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4990 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4991 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4992 __LIBGCC_XF_MANT_DIG__.
4993 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4994 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4995 __LIBGCC_TF_MANT_DIG__.
4996 * libgcc2.c (NOTRUNC): Define in terms of
4997 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4998 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4999
5000 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5001
5002 PR target/63312
5003 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5004 New macros.
5005
5006 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
5007
5008 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5009 override USE_PT_GNU_EH_FRAME.
5010 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5011 check USE_EH_FRAME_REGISTRY_ALWAYS against
5012 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5013 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5014 variable for substituted force_explicit_eh_registry.
5015 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5016 * configure.ac (explicit-exception-frame-registration):
5017 New AC_ARG_ENABLE.
5018 * configure: Regenerate.
5019
5020 2014-09-19 Olivier Hainque <hainque@adacore.com>
5021
5022 * config.host (powerpc-wrs-vxworksmils): New configuration,
5023 same as vxworksae.
5024
5025 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5026
5027 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5028
5029 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5030
5031 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5032 bits not set bits as indicating trapping exceptions.
5033
5034 2014-09-17 Nathan sidwell <nathan@acm.org>
5035
5036 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5037 (LIBGCOV_DRIVER): ... here.
5038 * libgcov-driver.c (gcov_master): New.
5039 (gcov_exit): Remove from master chain.
5040 (__gcov_init): Add to master chain if version compatible. Don't
5041 clear the version.
5042 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5043 (gcov_reset_int): Clear master chain, if compatible.
5044 (gcov_dump_int): New internal interface. Dump master chain, if
5045 compatible.
5046 (gcov_dump): Alias for gcov_dump_int.
5047 * libgcov.h (struct gcov_root): Add next and prev fields.
5048 (struct gcov_master): New struct.
5049 (__gcov_master): New.
5050 (gcov_dump_int): Declare.
5051
5052 2014-09-17 Olivier Hainque <hainque@adacore.com>
5053
5054 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5055 and crtbegin.o + crtend.o to extra_parts.
5056
5057 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5058
5059 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5060 __LIBGCC_HAS_SF_MODE__.
5061 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5062 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5063 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5064 * config/libbid/bid_gcc_intrinsics.h
5065 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5066 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5067 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5068 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5069 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5070 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5071
5072 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
5073
5074 PR target/63223
5075 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5076 and R24 as needed. Make work for all devices and .text locations.
5077 (__do_global_ctors, __do_global_dtors): Use word addresses.
5078 (__tablejump__, __tablejump_elpm__): Remove functions.
5079 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5080 Add _tablejump2.
5081 (XICALL, XIJMP): New macros.
5082
5083 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
5084 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5085
5086 * config.host (aarch64*): Include crtfastmath.o and
5087 t-crtfm.
5088 * config/aarch64/crtfastmath.c: New file.
5089
5090 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
5091
5092 * config.host: Remove picochip support.
5093 * config/picochip/adddi3.S: Remove.
5094 * config/picochip/ashlsi3.S: Remove.
5095 * config/picochip/ashlsi3.c: Remove.
5096 * config/picochip/ashrsi3.S: Remove.
5097 * config/picochip/ashrsi3.c: Remove.
5098 * config/picochip/clzsi2.S: Remove.
5099 * config/picochip/cmpsi2.S: Remove.
5100 * config/picochip/divmod15.S: Remove.
5101 * config/picochip/divmodhi4.S: Remove.
5102 * config/picochip/divmodsi4.S: Remove.
5103 * config/picochip/lib1funcs.S: Remove.
5104 * config/picochip/longjmp.S: Remove.
5105 * config/picochip/lshrsi3.S: Remove.
5106 * config/picochip/lshrsi3.c: Remove.
5107 * config/picochip/parityhi2.S: Remove.
5108 * config/picochip/popcounthi2.S: Remove.
5109 * config/picochip/setjmp.S: Remove.
5110 * config/picochip/subdi3.S: Remove.
5111 * config/picochip/t-picochip: Remove.
5112 * config/picochip/ucmpsi2.S: Remove.
5113 * config/picochip/udivmodhi4.S: Remove.
5114 * config/picochip/udivmodsi4.S: Remove.
5115
5116 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5117
5118 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5119 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5120 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5121 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5122 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
5123 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5124 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
5125 defined and LIBGCC2_HAS_DF_MODE is defined.
5126 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
5127 defined and LIBGCC2_HAS_XF_MODE is defined.
5128 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
5129 defined and LIBGCC2_HAS_TF_MODE is defined.
5130
5131 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5132
5133 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5134 and ROUND_TOWARDS_ZERO conditionals.
5135
5136 2014-09-07 Nathan sidwell <nathan@acm.org>
5137
5138 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5139 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
5140
5141 2014-09-05 Joseph Myers <joseph@codesourcery.com>
5142
5143 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5144 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5145 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5146 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5147 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5148 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5149 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5150 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5151 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5152 (DWARF_FRAME_REGISTERS): Change all uses to
5153 __LIBGCC_DWARF_FRAME_REGISTERS__.
5154 (EH_RETURN_STACKADJ_RTX): Change all uses to
5155 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5156 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5157 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
5158 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5159 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5160 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5161 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5162 to __LIBGCC_EH_FRAME_SECTION_NAME__.
5163 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5164 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5165 __LIBGCC_STACK_POINTER_REGNUM__.
5166 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5167 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5168 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5169 to __LIBGCC_STACK_POINTER_REGNUM__.
5170 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5171 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5172 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5173 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5174 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5175 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5176 (STACK_POINTER_REGNUM): Change all uses to
5177 __LIBGCC_STACK_POINTER_REGNUM__.
5178 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5179 use to __LIBGCC_STACK_POINTER_REGNUM__.
5180 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5181 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5182 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5183 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5184 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5185 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5186 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5187 to __LIBGCC_STACK_POINTER_REGNUM__.
5188 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5189 Remove conditional definition.
5190 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5191 __LIBGCC_TEXT_SECTION_ASM_OP__.
5192 (EH_FRAME_SECTION_NAME): Change all uses to
5193 __LIBGCC_EH_FRAME_SECTION_NAME__.
5194 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5195 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5196 (CTORS_SECTION_ASM_OP): Change all uses to
5197 __LIBGCC_CTORS_SECTION_ASM_OP__.
5198 (DTORS_SECTION_ASM_OP): Change all uses to
5199 __LIBGCC_DTORS_SECTION_ASM_OP__.
5200 (JCR_SECTION_NAME): Change all uses to
5201 __LIBGCC_JCR_SECTION_NAME__.
5202 (INIT_SECTION_ASM_OP): Change all uses to
5203 __LIBGCC_INIT_SECTION_ASM_OP__.
5204 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5205 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5206 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5207 __LIBGCC_STACK_GROWS_DOWNWARD__.
5208 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5209 __LIBGCC_INIT_SECTION_ASM_OP__.
5210 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5211 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5212 (EH_FRAME_SECTION_NAME): Change all uses to
5213 __LIBGCC_EH_FRAME_SECTION_NAME__.
5214 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5215 definitions. Change all uses to
5216 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5217 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5218 __LIBGCC_STACK_GROWS_DOWNWARD__.
5219 (DWARF_FRAME_REGISTERS): Change all uses to
5220 __LIBGCC_DWARF_FRAME_REGISTERS__.
5221 (EH_RETURN_STACKADJ_RTX): Change all uses to
5222 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5223 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5224 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5225 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5226 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5227 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5228
5229 2014-09-02 Nathan sidwell <nathan@acm.org>
5230
5231 * libgcov-interface.c (STRONG_ALIAS): New.
5232 (__gcov_flush): Call __gcov_reset_int.
5233 (__gcov_reset): Strong alias for ...
5234 (__gcov_reset_ing): ... this renamed hidden version.
5235 * libgcov.h (__gcov_reset_int): New declaration.
5236
5237 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
5238
5239 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5240 call from here...
5241 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5242 (__dso_handle): Define on Cygwin.
5243 * config/i386/t-cygming (crtbeginS.o): New rule.
5244 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5245
5246 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5247 declaration syntax.
5248
5249 2014-08-13 Steve Ellcey <sellcey@mips.com>
5250
5251 * crtstuff.c: Undef caddr_t.
5252
5253 2014-08-12 Steve Ellcey <sellcey@mips.com>
5254
5255 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
5256
5257 2014-08-07 Nathan Sidwell <nathan@acm.org>
5258
5259 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5260 (LIBGCOV_DRIVER): ... to here.
5261 * libgcov.h (gcov_do_dump): New #define.
5262 (struct gcov_root): New.
5263 (__gcov_root): New declaration.
5264 (__gcov_dump_one): Declare.
5265 * libgcov-driver.c (gcov_list, gcov_dump_complete,
5266 run_accounted): Delete.
5267 (gcov_compute_histogram): Add LIST argument, adjust.
5268 (compute_summary): Adjust gcov_compute_histogram call.
5269 (gcov_do_dump): Not hidden, static in libgcov.
5270 (gcov_clear): Move to interface.c.
5271 (__gcov_dump_one): New, broken out of ...
5272 (gcov_exit): ... here. Make static.
5273 (__gcov_root): New.
5274 (__gcov_init): Adjust.
5275 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5276 declarations.
5277 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5278 (gcov_clear): Moved from driver.c. Add LIST argument.
5279 (__gcov_reset): Adjust for changed interfaces.
5280 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5281
5282 2014-08-04 Rohit <rohitarulraj@freescale.com>
5283
5284 PR target/60102
5285 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
5286 based on change in SPE high register numbers and 3 HTM registers.
5287
5288 2014-08-01 Nathan Sidwell <nathan@acm.org>
5289
5290 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5291 LIBGCOV_INTERFACE): Reformat.
5292 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5293 IN_GCOV_TOOL.
5294 * libgcov-interface.c: Reformat some comments.
5295 (__gcov_flush_mx): Add declaration. Tidy up definition.
5296
5297 2014-07-31 Alan Modra <amodra@gmail.com>
5298 Peter Bergner <bergner@vnet.ibm.com>
5299
5300 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5301 (pack_ldouble): New function.
5302 (__gcc_qadd): Use it.
5303 (__gcc_qmul): Likewise.
5304 (__gcc_qdiv): Likewise.
5305 (__gcc_qneg): Likewise.
5306 (__gcc_stoq): Likewise.
5307 (__gcc_dtoq): Likewise.
5308
5309 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
5310
5311 * config/s390/tpf-unwind.h: Include <stdbool.h>.
5312 (__tpf_eh_return): Add original return address as second parameter.
5313 Handle cases where unwinder routines were called directly, instead
5314 of from within the C++ library.
5315
5316 2014-07-29 Nathan Sidwell <nathan@acm.org>
5317
5318 * libgcov.h: Move renaming of entry points to lib gcov specific
5319 portion.
5320 (gcov_do_dump): New rename.
5321 (gcov_rewrite): Remove inline, make HIDDEN.
5322 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5323 (gcov_exit_compute_summary): Rename to ...
5324 (compute_summary): ... here. Add LIST argument.
5325 (gcov_exit_merge_gcda): Rename to ...
5326 (merge_one_data): ... here.
5327 (gcov_exit_write_gcda): Rename to ...
5328 (write_one_data): ... here.
5329 (gcov_exit_merge_summary): Rename to ...
5330 (merge_summary): Add RUN_COUNTED argument.
5331 (gcov_exit_dump_gcov): Rename to ...
5332 (dump_one_gcov): Add RUN_COUNTED argument.
5333 (gcov_do_dump): New function, broken out of ...
5334 (gcov_exit): ... here. Call it.
5335
5336 2014-07-27 Anthony Green <green@moxielogic.com>
5337
5338 * config.host: Add moxiebox configuration suppport.
5339
5340 2014-07-27 Nathan Sidwell <nathan@acm.org>
5341
5342 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5343 (struct gcov_filename): ... here. Include buffer and max length
5344 fields.
5345 (gcov_max_filename): Remove.
5346 (gi_filename): Remove.
5347 (gcov_exit_compute_summary): Compute max filename here.
5348 (gcov_exit_merge_gcda): Add filename parm, adjust.
5349 (gcov_exit_merge_summary): Likewise.
5350 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5351 (gcov_exit): Likewise.
5352 (__gcov_init): Don't calculate max length here.
5353 * libgcov_util.c (max_filename_len): Remove.
5354 (read_gcda_file): Don't calculate max length here.
5355 (gcov_read_profile_dir): Don't propagate here.
5356 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5357 struct gcov_filename changes.
5358 (gcov_exit_open_gcda_file): Likewise.
5359
5360 2014-07-25 Nathan Sidwell <nathan@acm.org>
5361
5362 * libgcov-driver.c (set_gcov_dump_complete,
5363 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5364 functions polluting user's namespace.
5365 (gcov_exit): Set variable directly.
5366 (gcov_clear): Reset variable directly.
5367 * libgcov-interface.c (get_gcov_dymp_complete,
5368 reset_gov_dump_complete): Remove declarations.
5369 (__gcov_reset, __gcov_dump): Don't call them.
5370
5371 2014-07-24 DJ Delorie <dj@redhat.com>
5372
5373 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5374 (__gcc_deregister_frame): Move logic to detect deregister function
5375 to ...
5376 (__gcc_register_frame): here, so it's consistent with the register
5377 logic.
5378
5379 2014-07-23 Nathan Sidwell <nathan@acm.org>
5380
5381 * libgcov-driver.c (set_gcov_list): Remove.
5382 (gcov_list): Make non-static in GCOV_TOOL.
5383 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5384
5385 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
5386
5387 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5388 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5389 Don't use SYNC_LOCK_RELEASE for int type.
5390
5391 2014-07-14 Richard Biener <rguenther@suse.de>
5392
5393 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5394
5395 2014-07-11 Rong Xu <xur@google.com>
5396
5397 * libgcov-util.c (gcov_max_filename): Fix declartion.
5398
5399 2014-07-10 Rong Xu <xur@google.com>
5400
5401 Add gcov-tool: an offline gcda profile processing tool
5402 Support.
5403 * libgcov-driver.c (gcov_max_filename): Make available
5404 to gcov-tool.
5405 * libgcov-merge.c (__gcov_merge_add): Replace
5406 gcov_read_counter() with a Macro.
5407 (__gcov_merge_ior): Ditto.
5408 (__gcov_merge_time_profile): Ditto.
5409 (__gcov_merge_single): Ditto.
5410 (__gcov_merge_delta): Ditto.
5411 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5412 in the utility functions.
5413 (set_fn_ctrs): Utility function for reading gcda files to in-memory
5414 gcov_list object link lists.
5415 (tag_function): Ditto.
5416 (tag_blocks): Ditto.
5417 (tag_arcs): Ditto.
5418 (tag_lines): Ditto.
5419 (tag_counters): Ditto.
5420 (tag_summary): Ditto.
5421 (read_gcda_finalize): Ditto.
5422 (read_gcda_file): Ditto.
5423 (ftw_read_file): Ditto.
5424 (read_profile_dir_init): Ditto.
5425 (gcov_read_profile_dir): Ditto.
5426 (gcov_read_counter_mem): Ditto.
5427 (gcov_get_merge_weight): Ditto.
5428 (merge_wrapper): A wrapper function that calls merging handler.
5429 (gcov_merge): Merge two gcov_info objects with weights.
5430 (find_match_gcov_info): Find the matched gcov_info in the list.
5431 (gcov_profile_merge): Merge two gcov_info object lists.
5432 (__gcov_add_counter_op): Process edge profile counter values.
5433 (__gcov_ior_counter_op): Process IOR profile counter values.
5434 (__gcov_delta_counter_op): Process delta profile counter values.
5435 (__gcov_single_counter_op): Process single profile counter values.
5436 (fp_scale): Callback function for float-point scaling.
5437 (int_scale): Callback function for integer fraction scaling.
5438 (gcov_profile_scale): Scaling profile counters.
5439 (gcov_profile_normalize): Normalize profile counters.
5440 * libgcov.h: Add headers and functions for gcov-tool use.
5441 (gcov_get_counter): New.
5442 (gcov_get_counter_target): Ditto.
5443 (struct gcov_info): Make the functions field mutable in gcov-tool
5444 compilation.
5445
5446 2014-06-23 Kai Tietz <ktietz@redhat.com>
5447
5448 PR libgcc/61585
5449 * unwind-seh.c (_Unwind_GetGR): Check for proper
5450 index range.
5451 (_Unwind_SetGR): Likewise.
5452
5453 2014-05-22 Nick Clifton <nickc@redhat.com>
5454
5455 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5456 -mhwmult=none.
5457
5458 2014-05-22 Teresa Johnson <tejohnson@google.com>
5459
5460 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5461 include.
5462
5463 2014-05-20 John Marino <gnugcc@marino.st>
5464
5465 * config.host (*-*-dragonfly*): New target.
5466 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5467 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5468 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5469 * config/i386/dragonfly-unwind.h: New.
5470
5471 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5472
5473 PR libgcc/60166
5474 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5475 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5476
5477 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
5478
5479 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5480 implementation.
5481
5482 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
5483
5484 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5485
5486 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5487
5488 PR libgcc/61097
5489 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5490 if --enable-shared.
5491
5492 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
5493
5494 Work around for current cygwin32 build problems.
5495 * config/i386/cygming-crtbegin.c (__register_frame_info,
5496 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5497 functions only for 64-bit systems.
5498
5499 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5500
5501 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5502 (sigill_caught, sigill_hdlr): Remove.
5503
5504 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5505
5506 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5507 check.
5508 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5509 Solaris 9 single-threaded support.
5510 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5511 Solaris 9 single-threaded support. Add call_user_handler code
5512 sequences.
5513 (sparc_is_sighandler): Likewise.
5514
5515 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5516
5517 * config.host: Append t-floattodi to tmake_file depending on
5518 host_address.
5519
5520 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
5521
5522 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
5523
5524 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
5525
5526 PR libgcc/60472
5527 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
5528 variable to avoid "array subscript is above array bounds" warnings.
5529 Use __builtin_expect when checking *jcr_list for NULL.
5530
5531 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5532
5533 PR libgcc/59339
5534 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5535 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5536 vtv_*.o to extra_parts if enable_vtable_verify.
5537
5538 2014-03-06 Nick Clifton <nickc@redhat.com>
5539
5540 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5541 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5542
5543 2014-02-28 Joey Ye <joey.ye@arm.com>
5544
5545 PR libgcc/60166
5546 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5547 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5548 Set to zero.
5549
5550 2014-02-24 Walter Lee <walt@tilera.com>
5551
5552 * config.host: Support "tilegx*" and "tilepro*" triplets.
5553 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5554 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5555
5556 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
5557 Chung-Lin Tang <cltang@codesourcery.com>
5558
5559 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5560 * config/nios2/crti.S: Remove .file directive.
5561 * config/nios2/crtn.S: Likewise.
5562
5563 2014-02-18 Kai Tietz <ktietz@redhat.com>
5564 Jonathan Schleifer <js@webkeks.org>
5565
5566 PR objc/56870
5567 * unwind-seh.c (_GCC_specific_handler): Pass proper
5568 value to unwind-handler.
5569
5570 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5571
5572 * soft-fp/adddf3.c: Update from glibc.
5573 * soft-fp/addsf3.c: Likewise.
5574 * soft-fp/addtf3.c: Likewise.
5575 * soft-fp/divdf3.c: Likewise.
5576 * soft-fp/divsf3.c: Likewise.
5577 * soft-fp/divtf3.c: Likewise.
5578 * soft-fp/double.h: Likewise.
5579 * soft-fp/eqdf2.c: Likewise.
5580 * soft-fp/eqsf2.c: Likewise.
5581 * soft-fp/eqtf2.c: Likewise.
5582 * soft-fp/extenddftf2.c: Likewise.
5583 * soft-fp/extended.h: Likewise.
5584 * soft-fp/extendsfdf2.c: Likewise.
5585 * soft-fp/extendsftf2.c: Likewise.
5586 * soft-fp/extendxftf2.c: Likewise.
5587 * soft-fp/fixdfdi.c: Likewise.
5588 * soft-fp/fixdfsi.c: Likewise.
5589 * soft-fp/fixdfti.c: Likewise.
5590 * soft-fp/fixsfdi.c: Likewise.
5591 * soft-fp/fixsfsi.c: Likewise.
5592 * soft-fp/fixsfti.c: Likewise.
5593 * soft-fp/fixtfdi.c: Likewise.
5594 * soft-fp/fixtfsi.c: Likewise.
5595 * soft-fp/fixtfti.c: Likewise.
5596 * soft-fp/fixunsdfdi.c: Likewise.
5597 * soft-fp/fixunsdfsi.c: Likewise.
5598 * soft-fp/fixunsdfti.c: Likewise.
5599 * soft-fp/fixunssfdi.c: Likewise.
5600 * soft-fp/fixunssfsi.c: Likewise.
5601 * soft-fp/fixunssfti.c: Likewise.
5602 * soft-fp/fixunstfdi.c: Likewise.
5603 * soft-fp/fixunstfsi.c: Likewise.
5604 * soft-fp/fixunstfti.c: Likewise.
5605 * soft-fp/floatdidf.c: Likewise.
5606 * soft-fp/floatdisf.c: Likewise.
5607 * soft-fp/floatditf.c: Likewise.
5608 * soft-fp/floatsidf.c: Likewise.
5609 * soft-fp/floatsisf.c: Likewise.
5610 * soft-fp/floatsitf.c: Likewise.
5611 * soft-fp/floattidf.c: Likewise.
5612 * soft-fp/floattisf.c: Likewise.
5613 * soft-fp/floattitf.c: Likewise.
5614 * soft-fp/floatundidf.c: Likewise.
5615 * soft-fp/floatundisf.c: Likewise.
5616 * soft-fp/floatunditf.c: Likewise.
5617 * soft-fp/floatunsidf.c: Likewise.
5618 * soft-fp/floatunsisf.c: Likewise.
5619 * soft-fp/floatunsitf.c: Likewise.
5620 * soft-fp/floatuntidf.c: Likewise.
5621 * soft-fp/floatuntisf.c: Likewise.
5622 * soft-fp/floatuntitf.c: Likewise.
5623 * soft-fp/gedf2.c: Likewise.
5624 * soft-fp/gesf2.c: Likewise.
5625 * soft-fp/getf2.c: Likewise.
5626 * soft-fp/ledf2.c: Likewise.
5627 * soft-fp/lesf2.c: Likewise.
5628 * soft-fp/letf2.c: Likewise.
5629 * soft-fp/muldf3.c: Likewise.
5630 * soft-fp/mulsf3.c: Likewise.
5631 * soft-fp/multf3.c: Likewise.
5632 * soft-fp/negdf2.c: Likewise.
5633 * soft-fp/negsf2.c: Likewise.
5634 * soft-fp/negtf2.c: Likewise.
5635 * soft-fp/op-1.h: Likewise.
5636 * soft-fp/op-2.h: Likewise.
5637 * soft-fp/op-4.h: Likewise.
5638 * soft-fp/op-8.h: Likewise.
5639 * soft-fp/op-common.h: Likewise.
5640 * soft-fp/quad.h: Likewise.
5641 * soft-fp/single.h: Likewise.
5642 * soft-fp/soft-fp.h: Likewise.
5643 * soft-fp/subdf3.c: Likewise.
5644 * soft-fp/subsf3.c: Likewise.
5645 * soft-fp/subtf3.c: Likewise.
5646 * soft-fp/truncdfsf2.c: Likewise.
5647 * soft-fp/trunctfdf2.c: Likewise.
5648 * soft-fp/trunctfsf2.c: Likewise.
5649 * soft-fp/trunctfxf2.c: Likewise.
5650 * soft-fp/unorddf2.c: Likewise.
5651 * soft-fp/unordsf2.c: Likewise.
5652 * soft-fp/unordtf2.c: Likewise.
5653 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5654 macro.
5655 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5656 Likewise.
5657 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5658 Likewise.
5659 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5660 Likewise.
5661 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5662 Likewise.
5663 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5664 Likewise.
5665 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5666 Likewise.
5667 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5668 Likewise.
5669 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5670 Likewise.
5671 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5672 Likewise.
5673 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5674 Likewise.
5675 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5676 Likewise.
5677 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5678 Likewise.
5679 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5680 Likewise.
5681 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5682 Likewise.
5683 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5684 Likewise.
5685
5686 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5687
5688 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5689 cannot be represented.
5690 * config/s390/32/_fixsfdi.c: Likewise.
5691 * config/s390/32/_fixtfdi.c: Likewise.
5692 * config/s390/32/_fixunsdfdi.c: Likewise.
5693 * config/s390/32/_fixunssfdi.c: Likewise.
5694 * config/s390/32/_fixunstfdi.c: Likewise.
5695
5696 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5697
5698 * configure.ac (libgcc_cv_mips_hard_float): New.
5699 * configure: Regenerate.
5700 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5701 t-softfp-sfdf for hard-float targets.
5702 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5703 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5704 (softfp_truncations, softfp_exclude_libgcc2): New.
5705 * config/t-hardfp: New file.
5706 * config/t-hardfp-sfdf: Likewise.
5707 * config/hardfp.c: Likewise.
5708
5709 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5710
5711 * config.host: Include t-floattodi also for s390x.
5712 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5713 * config/s390/32/_fixsfdi.c: Likewise.
5714 * config/s390/32/_fixtfdi.c: Likewise.
5715 * config/s390/32/_fixunsdfdi.c: Likewise.
5716 * config/s390/32/_fixunssfdi.c: Likewise.
5717 * config/s390/32/_fixunstfdi.c: Likewise.
5718
5719 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5720
5721 PR target/59788
5722 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5723 (install-libgcc-unwind-map-forbuild): New target.
5724 (all): Depend on install-libgcc-unwind-map-forbuild.
5725 (install-libgcc-unwind-map): New target.
5726 (install): Depend on install-libgcc-unwind-map.
5727
5728 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5729
5730 * config/nios2/crti.S (_init): Initialize GOT pointer from
5731 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5732
5733 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5734
5735 * configure.ac: Check __mips64 when setting host_address.
5736 * configure: Regenerate.
5737 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5738 mips/t-mips64 and t-softfp.
5739 (mips*-*-linux*): Don't add mips/t-tpbit.
5740 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5741 (DPBIT, DPBIT_CFLAGS): Delete.
5742 * config/mips/sfp-machine.h: New file.
5743 * config/mips/t-mips64: Likewise.
5744 * config/mips/t-softfp-tf: Likewise.
5745 * config/mips/t-tpbit: Delete.
5746
5747 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5748
5749 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5750 as long long.
5751
5752 2014-01-25 Walter Lee <walt@tilera.com>
5753
5754 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5755 config.h or system.h.
5756 (bool) Define.
5757
5758 2014-01-25 Walter Lee <walt@tilera.com>
5759
5760 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5761 (post_atomic_barrier): Ditto.
5762 (__fetch_and_do): New macro.
5763 (__atomic_fetch_and_do): Use __fetch_and_do.
5764 (__sync_fetch_and_do): New macro.
5765 (__sync_fetch_and_add_4): New function.
5766 (__sync_fetch_and_sub_4): New function.
5767 (__sync_fetch_and_or_4): New function.
5768 (__sync_fetch_and_and_4): New function.
5769 (__sync_fetch_and_xor_4): New function.
5770 (__sync_fetch_and_nand_4): New function.
5771 (__sync_fetch_and_add_8): New function.
5772 (__sync_fetch_and_sub_8): New function.
5773 (__sync_fetch_and_or_8): New function.
5774 (__sync_fetch_and_and_8): New function.
5775 (__sync_fetch_and_xor_8): New function.
5776 (__sync_fetch_and_nand_8): New function.
5777 (__do_and_fetch): New macro.
5778 (__atomic_do_and_fetch): Use __do_and_fetch.
5779 (__sync_do_and_fetch): New macro.
5780 (__sync_add_and_fetch_4): New function.
5781 (__sync_sub_and_fetch_4): New function.
5782 (__sync_or_and_fetch_4): New function.
5783 (__sync_and_and_fetch_4): New function.
5784 (__sync_xor_and_fetch_4): New function.
5785 (__sync_nand_and_fetch_4): New function.
5786 (__sync_add_and_fetch_8): New function.
5787 (__sync_sub_and_fetch_8): New function.
5788 (__sync_or_and_fetch_8): New function.
5789 (__sync_and_and_fetch_8): New function.
5790 (__sync_xor_and_fetch_8): New function.
5791 (__sync_nand_and_fetch_8): New function.
5792 (__sync_exchange_methods): New macro.
5793 (__sync_val_compare_and_swap_4): New function.
5794 (__sync_bool_compare_and_swap_4): New function.
5795 (__sync_lock_test_and_test_4): New function.
5796 (__sync_val_compare_and_swap_8): New function.
5797 (__sync_bool_compare_and_swap_8): New function.
5798 (__sync_lock_test_and_test_8): New function.
5799 (__subword_cmpxchg_body): New macro.
5800 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5801 (__atomic_compare_exchange_2): Ditto.
5802 (__sync_subword_cmpxchg): New macro.
5803 (__sync_val_compare_and_swap_1): New function.
5804 (__sync_bool_compare_and_swap_1): New function.
5805 (__sync_val_compare_and_swap_2): New function.
5806 (__sync_bool_compare_and_swap_2): New function.
5807 (__atomic_subword): Rename to ...
5808 (__subword): ... New name.
5809 (__atomic_subword_fetch): Use __subword.
5810 (__sync_subword_fetch): New macro.
5811 (__sync_fetch_and_add_1): New function.
5812 (__sync_fetch_and_sub_1): New function.
5813 (__sync_fetch_and_or_1): New function.
5814 (__sync_fetch_and_and_1): New function.
5815 (__sync_fetch_and_xor_1): New function.
5816 (__sync_fetch_and_nand_1): New function.
5817 (__sync_fetch_and_add_2): New function.
5818 (__sync_fetch_and_sub_2): New function.
5819 (__sync_fetch_and_or_2): New function.
5820 (__sync_fetch_and_and_2): New function.
5821 (__sync_fetch_and_xor_2): New function.
5822 (__sync_fetch_and_nand_2): New function.
5823 (__sync_add_and_fetch_1): New function.
5824 (__sync_sub_and_fetch_1): New function.
5825 (__sync_or_and_fetch_1): New function.
5826 (__sync_and_and_fetch_1): New function.
5827 (__sync_xor_and_fetch_1): New function.
5828 (__sync_nand_and_fetch_1): New function.
5829 (__sync_add_and_fetch_2): New function.
5830 (__sync_sub_and_fetch_2): New function.
5831 (__sync_or_and_fetch_2): New function.
5832 (__sync_and_and_fetch_2): New function.
5833 (__sync_xor_and_fetch_2): New function.
5834 (__sync_nand_and_fetch_2): New function.
5835 (__atomic_subword_lock): Use __subword.
5836 (__sync_subword_lock): New macro.
5837 (__sync_lock_test_and_set_1): New function.
5838 (__sync_lock_test_and_set_2): New function.
5839
5840 2014-01-25 Walter Lee <walt@tilera.com>
5841
5842 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5843 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5844 (__atomic_subword): Ditto.
5845
5846 2014-01-25 Walter Lee <walt@tilera.com>
5847
5848 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5849 a prefix op argument.
5850 (__atomic_nand_fetch_4): Add prefix op.
5851 (__atomic_nand_fetch_8): Ditto.
5852
5853 2014-01-21 Baruch Siach <barch@tkos.co.il>
5854
5855 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5856
5857 2014-01-09 Rong Xu <xur@google.com>
5858
5859 * libgcov-driver.c (this_prg): make it local to save
5860 bss space.
5861 (gcov_exit_compute_summary): Ditto.
5862 (gcov_exit_merge_gcda): Ditto.
5863 (gcov_exit_merge_summary): Ditto.
5864 (gcov_exit_dump_gcov): Ditto.
5865
5866 2014-01-08 Rong Xu <xur@google.com>
5867
5868 * libgcov-driver.c: Use libgcov.h.
5869 (buffer_fn_data): Use xmalloc instead of malloc.
5870 (gcov_exit_merge_gcda): Ditto.
5871 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5872 * libgcov.h: New common header files for libgcov-*.h.
5873 * libgcov-interface.c: Use libgcov.h
5874 * libgcov-merge.c: Ditto.
5875 * libgcov-profiler.c: Ditto.
5876 * Makefile.in: Add dependence to libgcov.h
5877
5878 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5879
5880 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5881 case of small numerator and finite nonzero result.
5882
5883 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5884
5885 Update copyright years
5886
5887 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5888
5889 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5890 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5891 config/arc/dp-hack.h, config/arc/fp-hack.h,
5892 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5893 config/arc/ieee-754/arc600-dsp/divdf3.S,
5894 config/arc/ieee-754/arc600-dsp/divsf3.S,
5895 config/arc/ieee-754/arc600-dsp/muldf3.S,
5896 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5897 config/arc/ieee-754/arc600-mul64/divdf3.S,
5898 config/arc/ieee-754/arc600-mul64/divsf3.S,
5899 config/arc/ieee-754/arc600-mul64/muldf3.S,
5900 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5901 config/arc/ieee-754/arc600/divsf3.S,
5902 config/arc/ieee-754/arc600/mulsf3.S,
5903 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5904 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5905 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5906 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5907 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5908 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5909 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5910 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5911 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5912 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5913 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5914 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5915 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5916 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5917 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5918 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5919 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5920 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5921 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5922 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5923 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5924 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5925 vtv_start_preinit.c: Use the standard form for the copyright notice.
5926
5927 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5928 Chung-Lin Tang <cltang@codesourcery.com>
5929 Based on patches from Altera Corporation
5930
5931 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5932 * config/nios2/lib2-nios2.h: New file.
5933 * config/nios2/lib2-divmod-hi.c: New file.
5934 * config/nios2/linux-unwind.h: New file.
5935 * config/nios2/lib2-divmod.c: New file.
5936 * config/nios2/linux-atomic.c: New file.
5937 * config/nios2/t-nios2: New file.
5938 * config/nios2/crti.asm: New file.
5939 * config/nios2/t-linux: New file.
5940 * config/nios2/lib2-divtable.c: New file.
5941 * config/nios2/lib2-mul.c: New file.
5942 * config/nios2/tramp.c: New file.
5943 * config/nios2/crtn.asm: New file.
5944
5945 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
5946
5947 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5948 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5949 from cpuid.h to check vendor signatures.
5950
5951 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5952
5953 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
5954 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5955 (get_amd_cpu): Likewise.
5956
5957 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5958
5959 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5960 Haswell.
5961
5962 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5963 H.J. Lu <hongjiu.lu@intel.com>
5964
5965 PR target/59422
5966 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
5967 and AMD_JAGUAR.
5968 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5969 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5970 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5971 FEATURE_XOP and FEATURE_FMA.
5972 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5973 AMDFAM15H_BDVER3.
5974 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
5975 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
5976 FEATURE_FMA4 and FEATURE_XOP.
5977
5978 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5979
5980 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5981 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5982 (get_intel_cpu): Updated.
5983
5984 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5985
5986 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5987
5988 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
5989
5990 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5991 instructions when __SSE_MATH__ is defined.
5992
5993 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5994
5995 * config.host (microblaze-*-rtems*): New.
5996
5997 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5998
5999 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6000 architectures that do not have hardware divide instruction.
6001 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6002
6003 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6004
6005 * longlong.h: Delete (moved to include/).
6006
6007 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6008
6009 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6010 of normal number and qNaN to not raise an inexact exception.
6011
6012 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
6013
6014 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6015
6016 2013-11-28 Matthew Leach <matthew.leach@arm.com>
6017
6018 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6019 for correct opcodes on BE.
6020
6021 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
6022
6023 * soft-fp/op-4.h: Update from glibc.
6024
6025 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6026
6027 * libgcc2.c (__udivmoddi4): Define new implementation when
6028 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6029 divide instructions.
6030
6031 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
6032
6033 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6034
6035 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6036
6037 * config/t-softfp (soft-fp-objects-base): New variable.
6038 (soft-fp-objects): Use it.
6039
6040 2013-11-23 David Edelson <dje.gcc@gmail.com>
6041 Andrew Dixie <andrewd@gentrack.com>
6042
6043 PR target/33704
6044 * config/rs6000/aixinitfini.c: New file.
6045 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6046 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6047 symbols.
6048
6049 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
6050
6051 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
6052
6053 2013-11-18 Jan Hubicka <jh@suse.cz>
6054
6055 * libgcov-driver.c (run_accounted): Make global level static.
6056 (gcov_exit_merge_summary): Silence warning; do not clear
6057 run_accounted here.
6058 (gcov_exit): Clear it here.
6059
6060 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6061 run_accounted.
6062
6063 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6064 (all_prg, crc32): Remove static vars.
6065 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6066 all_prg.
6067 (gcov_exit_merge_gcda): Add crc32 parameter.
6068 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6069 do not account run if it was already accounted.
6070 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6071 (gcov_exit): Initialize all_prg; update.
6072
6073 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
6074
6075 * configure: Regenerate.
6076
6077 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6078 Alan Modra <amodra@gmail.com>
6079
6080 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6081 (frob_update_context): Use it.
6082
6083 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6084 Alan Modra <amodra@gmail.com>
6085
6086 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6087 (trampoline_initial): Provide ELFv2 variant.
6088 (__trampoline_setup): Likewise.
6089
6090 * config/rs6000/linux-unwind.h (frob_update_context): Do not
6091 check for AIX indirect function call sequence if _CALL_ELF == 2.
6092
6093 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6094 Alan Modra <amodra@gmail.com>
6095
6096 * config/rs6000/linux-unwind.h (get_regs): Do not support
6097 old kernel versions if _CALL_ELF == 2.
6098 (frob_update_context): Do not support PLT stub variants only
6099 generated by old linkers if _CALL_ELF == 2.
6100
6101 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6102 Alan Modra <amodra@gmail.com>
6103
6104 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6105 location of CR save area for 64-bit little-endian systems.
6106
6107 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
6108
6109 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6110 in tmake_file.
6111 * config/arm/t-vxworks: Delete.
6112
6113 2013-11-10 Kai Tietz <ktietz@redhat.com>
6114
6115 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6116 Increment load-count on use of LIBGCC_SONAME DLL.
6117 (hmod_libgcc): New static variable to hold handle of
6118 LIBGCC_SONAME DLL.
6119 (__gcc_deregister_frame): Decrement load-count of
6120 LIBGCC_SONAME DLL.
6121
6122 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
6123
6124 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6125 availability.
6126 * configure: Regenerate
6127
6128 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
6129
6130 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6131 FP_EX_DENORM. Store result to volatile location after SSE division
6132 to close interrupt window. Remove unneeded fwait after x87
6133 division since interrupt window will be closed by emitted fstp.
6134 Rewrite FP_EX_INEXACT handling.
6135
6136 2013-11-06 Joseph Myers <joseph@codesourcery.com>
6137
6138 * soft-fp/README: Update.
6139 * soft-fp/adddf3.c: Update from glibc.
6140 * soft-fp/addsf3.c: Likewise.
6141 * soft-fp/addtf3.c: Likewise.
6142 * soft-fp/divdf3.c: Likewise.
6143 * soft-fp/divsf3.c: Likewise.
6144 * soft-fp/divtf3.c: Likewise.
6145 * soft-fp/double.h: Likewise.
6146 * soft-fp/eqdf2.c: Likewise.
6147 * soft-fp/eqsf2.c: Likewise.
6148 * soft-fp/eqtf2.c: Likewise.
6149 * soft-fp/extenddftf2.c: Likewise.
6150 * soft-fp/extended.h: Likewise.
6151 * soft-fp/extendsfdf2.c: Likewise.
6152 * soft-fp/extendsftf2.c: Likewise.
6153 * soft-fp/extendxftf2.c: Likewise.
6154 * soft-fp/fixdfdi.c: Likewise.
6155 * soft-fp/fixdfsi.c: Likewise.
6156 * soft-fp/fixdfti.c: Likewise.
6157 * soft-fp/fixsfdi.c: Likewise.
6158 * soft-fp/fixsfsi.c: Likewise.
6159 * soft-fp/fixsfti.c: Likewise.
6160 * soft-fp/fixtfdi.c: Likewise.
6161 * soft-fp/fixtfsi.c: Likewise.
6162 * soft-fp/fixtfti.c: Likewise.
6163 * soft-fp/fixunsdfdi.c: Likewise.
6164 * soft-fp/fixunsdfsi.c: Likewise.
6165 * soft-fp/fixunsdfti.c: Likewise.
6166 * soft-fp/fixunssfdi.c: Likewise.
6167 * soft-fp/fixunssfsi.c: Likewise.
6168 * soft-fp/fixunssfti.c: Likewise.
6169 * soft-fp/fixunstfdi.c: Likewise.
6170 * soft-fp/fixunstfsi.c: Likewise.
6171 * soft-fp/fixunstfti.c: Likewise.
6172 * soft-fp/floatdidf.c: Likewise.
6173 * soft-fp/floatdisf.c: Likewise.
6174 * soft-fp/floatditf.c: Likewise.
6175 * soft-fp/floatsidf.c: Likewise.
6176 * soft-fp/floatsisf.c: Likewise.
6177 * soft-fp/floatsitf.c: Likewise.
6178 * soft-fp/floattidf.c: Likewise.
6179 * soft-fp/floattisf.c: Likewise.
6180 * soft-fp/floattitf.c: Likewise.
6181 * soft-fp/floatundidf.c: Likewise.
6182 * soft-fp/floatundisf.c: Likewise.
6183 * soft-fp/floatunditf.c: Likewise.
6184 * soft-fp/floatunsidf.c: Likewise.
6185 * soft-fp/floatunsisf.c: Likewise.
6186 * soft-fp/floatunsitf.c: Likewise.
6187 * soft-fp/floatuntidf.c: Likewise.
6188 * soft-fp/floatuntisf.c: Likewise.
6189 * soft-fp/floatuntitf.c: Likewise.
6190 * soft-fp/gedf2.c: Likewise.
6191 * soft-fp/gesf2.c: Likewise.
6192 * soft-fp/getf2.c: Likewise.
6193 * soft-fp/ledf2.c: Likewise.
6194 * soft-fp/lesf2.c: Likewise.
6195 * soft-fp/letf2.c: Likewise.
6196 * soft-fp/muldf3.c: Likewise.
6197 * soft-fp/mulsf3.c: Likewise.
6198 * soft-fp/multf3.c: Likewise.
6199 * soft-fp/negdf2.c: Likewise.
6200 * soft-fp/negsf2.c: Likewise.
6201 * soft-fp/negtf2.c: Likewise.
6202 * soft-fp/op-1.h: Likewise.
6203 * soft-fp/op-2.h: Likewise.
6204 * soft-fp/op-4.h: Likewise.
6205 * soft-fp/op-8.h: Likewise.
6206 * soft-fp/op-common.h: Likewise.
6207 * soft-fp/quad.h: Likewise.
6208 * soft-fp/single.h: Likewise.
6209 * soft-fp/soft-fp.h: Likewise.
6210 * soft-fp/subdf3.c: Likewise.
6211 * soft-fp/subsf3.c: Likewise.
6212 * soft-fp/subtf3.c: Likewise.
6213 * soft-fp/truncdfsf2.c: Likewise.
6214 * soft-fp/trunctfdf2.c: Likewise.
6215 * soft-fp/trunctfsf2.c: Likewise.
6216 * soft-fp/trunctfxf2.c: Likewise.
6217 * soft-fp/unorddf2.c: Likewise.
6218 * soft-fp/unordsf2.c: Likewise.
6219 * soft-fp/unordtf2.c: Likewise.
6220
6221 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
6222
6223 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6224 (_FP_MUL_MEAT_D): Ditto.
6225 (_FP_DIV_MEAT_S): Ditto.
6226 (_FP_DIV_MEAT_D): Ditto.
6227 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6228 t-softfp-sfdf and t-softfp to tmake_file.
6229
6230 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
6231
6232 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6233 * config/i386/crtprec.c: Ditto.
6234
6235 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
6236 Shiva Chen <shiva0217@gmail.com>
6237
6238 * config.host (nds32*-elf*): Add nds32 target.
6239 * config/nds32 : New directory and files.
6240
6241 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
6242
6243 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
6244 * config.host (cpu_type) <Setting default>: Add entry for
6245 crisv32-*-*.
6246 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6247 <crisv32-*-linux*>: Adjust.
6248 * longlong.h: Wrap the whole CRIS section in a single
6249 defined(__CRIS__) conditional. Add comment about add_ssaaaa
6250 and sub_ddmmss.
6251 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6252 defined.
6253 [__CRIS__] (__umulsidi3): Define.
6254 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6255 * config/cris/sfp-machine.h: New file.
6256 * config/cris/umulsidi3.S: New file.
6257 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6258 * config/cris/arit.c (SIGNMULT): New macro.
6259 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6260 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6261 saving 3 out of originally 33 cycles from the fastest
6262 path, 3 out of 54 from the medium path and one from the longest
6263 path. Improve comments.
6264
6265 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
6266
6267 * sync.c: Remove static aliases and define each function directly
6268 under its real name.
6269
6270 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
6271
6272 * config.host (hppa*64*-*-linux*): Define extra_parts.
6273 (hppa*-*-linux*): Likewise.
6274
6275 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
6276
6277 * config/arc/crtgend.S: Add 2013 to Copyright years.
6278 * config/arc/gmon/atomic.h: Likewise.
6279 * config/arc/gmon/auxreg.h: Likewise.
6280 * config/arc/gmon/sys/gmon_out.h: Likewise.
6281 * config/arc/gmon/sys/gmon.h: Likewise.
6282 * config/arc/gmon/prof-freq.c: Likewise.
6283 * config/arc/gmon/mcount.c: Likewise.
6284 * config/arc/gmon/prof-freq-stub.S: Likewise.
6285 * config/arc/gmon/gmon.c: Likewise.
6286 * config/arc/gmon/machine-gmon.h: Likewise.
6287 * config/arc/gmon/profil.S: Likewise.
6288 * config/arc/gmon/dcache_linesz.S: Likewise.
6289 * config/arc/crtg.S: Likewise.
6290 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6291 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6292 * config/arc/ieee-754/adddf3.S: Likewise.
6293 * config/arc/ieee-754/truncdfsf2.S: Likewise.
6294 * config/arc/ieee-754/fixsfsi.S: Likewise.
6295 * config/arc/ieee-754/gtsf2.S: Likewise.
6296 * config/arc/ieee-754/floatsisf.S: Likewise.
6297 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6298 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6299 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6300 * config/arc/ieee-754/fixdfsi.S: Likewise.
6301 * config/arc/ieee-754/addsf3.S: Likewise.
6302 * config/arc/ieee-754/gesf2.S: Likewise.
6303 * config/arc/ieee-754/floatsidf.S: Likewise.
6304 * config/arc/ieee-754/extendsfdf2.S: Likewise.
6305 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6306 * config/arc/ieee-754/gtdf2.S: Likewise.
6307 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6308 * config/arc/ieee-754/uneqdf2.S: Likewise.
6309 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6310 * config/arc/ieee-754/uneqsf2.S: Likewise.
6311 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6312 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6313 * config/arc/ieee-754/eqdf2.S: Likewise.
6314 * config/arc/ieee-754/ordsf2.S: Likewise.
6315 * config/arc/ieee-754/divsf3.S: Likewise.
6316 * config/arc/ieee-754/divdf3.S: Likewise.
6317 * config/arc/ieee-754/floatunsidf.S: Likewise.
6318 * config/arc/ieee-754/orddf2.S: Likewise.
6319 * config/arc/ieee-754/eqsf2.S: Likewise.
6320 * config/arc/ieee-754/gedf2.S: Likewise.
6321 * config/arc/crtn.S: Likewise.
6322 * config/arc/crti.S: Likewise.
6323 * config/arc/t-arc700-uClibc: Likewise.
6324 * config/arc/asm.h: Likewise.
6325 * config/arc/libgcc-excl.ver: Likewise.
6326 * config/arc/t-arc-newlib: Likewise.
6327 * config/arc/divtab-arc700.c: Likewise.
6328 * config/arc/initfini.c: Likewise.
6329 * config/arc/fp-hack.h: Likewise.
6330
6331 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6332 Diego Novillo <dnovillo@google.com>
6333
6334 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
6335 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6336 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6337 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
6338
6339 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6340 Brendan Kehoe <brendan@zen.org>
6341 Simon Cook <simon.cook@embecosm.com>
6342
6343 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6344 * config/arc: New directory.
6345 * longlong.h [__arc__] (umul_ppmm): Remove.
6346 [__arc__] (__umulsidi3): Define.
6347 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6348 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6349
6350 2013-09-17 Jacek Caban <jacek@codeweavers.com>
6351
6352 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6353 CreateSemaphoreA.
6354 * config/i386/gthr-win32.h: Likewise.
6355
6356 2013-09-16 DJ Delorie <dj@redhat.com>
6357
6358 * config/rl78/vregs.h: Add G10 register definitions.
6359 * config/rl78/lib2mul.c: Enable for RL78/G10.
6360 * config/rl78/lib2div.c: Likewise.
6361 * config/rl78/lshrsi3.S: Use vregs.h.
6362 * config/rl78/cmpsi2.S: Likewise.
6363 * config/rl78/trampoline.S: Likewise.
6364 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
6365
6366 2013-09-14 DJ Delorie <dj@redhat.com>
6367 Nick Clifton <nickc@redhat.com>
6368
6369 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6370 * config/rl78/vregs.h: New.
6371 * config/rl78/signbit.S: New file. Implements signbit function.
6372 * config/rl78/divmodsi.S: New.
6373 * config/rl78/divmodhi.S: New.
6374 * config/rl78/divmodqi.S: New.
6375 * config/rl78/t-rl78: Build them here...
6376 * config/rl78/lib2div.c: ...but not here.
6377
6378 2013-09-12 DJ Delorie <dj@redhat.com>
6379
6380 * config.host (msp*-*-elf): New.
6381 * config/msp430/: New port.
6382
6383 2013-08-18 Iain Sandoe <iain@codesourcery.com>
6384
6385 PR gcov-profile/58127
6386 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6387 __thread var for emulated TLS.
6388 (__gcov_indirect_call_counters): Likewise.
6389
6390 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
6391 Catherine Moore <clm@codesourcery.com>
6392 Richard Sandiford <rdsandiford@googlemail.com>
6393
6394 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6395 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6396 (CALL_STUB_NO_RET): Likewise.
6397 (CALL_STUB_RET): Likewise.
6398 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6399 __mips16_ret call/return stub symbols.
6400 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6401 to tmake_file.
6402
6403 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
6404
6405 * config.host <mips*-*-linux*>: Remove a stray comment.
6406
6407 2013-08-10 Jan Hubicka <jh@suse.cz>
6408
6409 Work around binutils PR14342
6410 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6411 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6412 (L_gcov_indirect_call_profiler_v2): New.
6413
6414 2013-08-06 Jan Hubicka <jh@suse.cz>
6415
6416 * libgcov.c (__gcov_indirect_call_callee,
6417 __gcov_indirect_call_counters): New global vars.
6418 (__gcov_indirect_call_profiler): replace by ...
6419 (__gcov_indirect_call_profiler_v2) ... this one.
6420
6421 2013-08-06 Caroline Tice <cmtice@google.com>
6422
6423 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
6424 vtv_start_preinit.o and vtv_end_preinit.o.
6425 * configure.ac: Add code to check/set enable_vtable_verify.
6426 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
6427 true.
6428 * vtv_start_preinit.c: New file.
6429 * vtv_end_preinit.c: New file.
6430 * vtv_start.c: New file.
6431 * vtv_end.c: New file.
6432 * configure: Regenerated.
6433
6434 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
6435
6436 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6437 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6438 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6439 GPL-3.0-with-GCC-exception.
6440
6441 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
6442
6443 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6444 ISA and up.
6445
6446 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6447
6448 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6449 mapping for FPRs when creating the fallback framestate.
6450
6451 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
6452
6453 PR target/57516
6454 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6455 (__round_s2_const, __round_u2_const)
6456 (__round_s4_const, __round_u4_const, __round_x8):
6457 Saturate result if addition result cannot be represented.
6458
6459 2013-07-15 Matthias Klose <doko@ubuntu.com>
6460
6461 * libgcc2.c: Don't include <limits.h>.
6462
6463 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
6464
6465 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6466
6467 2013-07-06 Jakub Jelinek <jakub@redhat.com>
6468
6469 PR target/29776
6470 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6471
6472 2013-06-28 Jakub Jelinek <jakub@redhat.com>
6473
6474 PR middle-end/36041
6475 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6476 Define.
6477 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6478 instead of table lookups.
6479 (__popcountDI2): Likewise.
6480
6481 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
6482
6483 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6484 correctly.
6485
6486 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6487
6488 PR other/53317
6489 * soft-fp/adddf3.c: Update from glibc.
6490 * soft-fp/addsf3.c: Likewise.
6491 * soft-fp/addtf3.c: Likewise.
6492 * soft-fp/divdf3.c: Likewise.
6493 * soft-fp/divsf3.c: Likewise.
6494 * soft-fp/divtf3.c: Likewise.
6495 * soft-fp/double.h: Likewise.
6496 * soft-fp/eqdf2.c: Likewise.
6497 * soft-fp/eqsf2.c: Likewise.
6498 * soft-fp/eqtf2.c: Likewise.
6499 * soft-fp/extenddftf2.c: Likewise.
6500 * soft-fp/extended.h: Likewise.
6501 * soft-fp/extendsfdf2.c: Likewise.
6502 * soft-fp/extendsftf2.c: Likewise.
6503 * soft-fp/fixdfdi.c: Likewise.
6504 * soft-fp/fixdfsi.c: Likewise.
6505 * soft-fp/fixsfdi.c: Likewise.
6506 * soft-fp/fixsfsi.c: Likewise.
6507 * soft-fp/fixtfdi.c: Likewise.
6508 * soft-fp/fixtfsi.c: Likewise.
6509 * soft-fp/fixunsdfdi.c: Likewise.
6510 * soft-fp/fixunsdfsi.c: Likewise.
6511 * soft-fp/fixunssfdi.c: Likewise.
6512 * soft-fp/fixunssfsi.c: Likewise.
6513 * soft-fp/fixunstfdi.c: Likewise.
6514 * soft-fp/fixunstfsi.c: Likewise.
6515 * soft-fp/floatdidf.c: Likewise.
6516 * soft-fp/floatdisf.c: Likewise.
6517 * soft-fp/floatditf.c: Likewise.
6518 * soft-fp/floatsidf.c: Likewise.
6519 * soft-fp/floatsisf.c: Likewise.
6520 * soft-fp/floatsitf.c: Likewise.
6521 * soft-fp/floatundidf.c: Likewise.
6522 * soft-fp/floatundisf.c: Likewise.
6523 * soft-fp/floatunditf.c: Likewise.
6524 * soft-fp/floatunsidf.c: Likewise.
6525 * soft-fp/floatunsisf.c: Likewise.
6526 * soft-fp/floatunsitf.c: Likewise.
6527 * soft-fp/gedf2.c: Likewise.
6528 * soft-fp/gesf2.c: Likewise.
6529 * soft-fp/getf2.c: Likewise.
6530 * soft-fp/ledf2.c: Likewise.
6531 * soft-fp/lesf2.c: Likewise.
6532 * soft-fp/letf2.c: Likewise.
6533 * soft-fp/muldf3.c: Likewise.
6534 * soft-fp/mulsf3.c: Likewise.
6535 * soft-fp/multf3.c: Likewise.
6536 * soft-fp/negdf2.c: Likewise.
6537 * soft-fp/negsf2.c: Likewise.
6538 * soft-fp/negtf2.c: Likewise.
6539 * soft-fp/op-1.h: Likewise.
6540 * soft-fp/op-2.h: Likewise.
6541 * soft-fp/op-4.h: Likewise.
6542 * soft-fp/op-8.h: Likewise.
6543 * soft-fp/op-common.h: Likewise.
6544 * soft-fp/quad.h: Likewise.
6545 * soft-fp/single.h: Likewise.
6546 * soft-fp/soft-fp.h: Likewise.
6547 * soft-fp/subdf3.c: Likewise.
6548 * soft-fp/subsf3.c: Likewise.
6549 * soft-fp/subtf3.c: Likewise.
6550 * soft-fp/truncdfsf2.c: Likewise.
6551 * soft-fp/trunctfdf2.c: Likewise.
6552 * soft-fp/trunctfsf2.c: Likewise.
6553 * soft-fp/unorddf2.c: Likewise.
6554 * soft-fp/unordsf2.c: Likewise.
6555 * soft-fp/unordtf2.c: Likewise.
6556 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6557 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6558 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6559 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6560 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6561 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6562 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6563 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6564 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6565 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6566 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6567 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6568
6569 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
6570
6571 * config/mips/lib2funcs.c: New file.
6572 * config/mips/t-mips (LIB2ADD_ST): Add it.
6573
6574 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
6575
6576 PR target/6526
6577 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6578 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
6579
6580 2013-06-08 Walter Lee <walt@tilera.com>
6581
6582 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6583 Replace int64_t with long long. Add __extension__ where
6584 appropriate.
6585 * config/tilepro/atomic.c: Include config.h.
6586
6587 2013-06-06 Douglas B Rupp <rupp@adacore.com>
6588
6589 * config.host (arm-wrs-vxworks): Configure with other soft float.
6590
6591 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
6592
6593 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6594 (mips64r5900el-*-elf*): New configurations.
6595
6596 2013-06-04 Alan Modra <amodra@gmail.com>
6597
6598 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6599
6600 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
6601
6602 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6603
6604 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
6605
6606 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6607 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6608 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6609
6610 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6611
6612 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6613 (powerpc-wrs-vxworks): Likewise.
6614
6615 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6616
6617 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6618 signal frames as well.
6619 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6620 STACK_BIAS to the CFA offset.
6621
6622 2013-05-17 Richard Henderson <rth@redhat.com>
6623
6624 PR target/49146
6625 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6626 (execute_cfa_program): Use it when storing to fs->regs.
6627
6628 2013-05-08 Kai Tietz <ktietz@redhat.com>
6629
6630 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6631 (__deregister_frame_info): Likewise.
6632
6633 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
6634
6635 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6636 NaN's payload.
6637
6638 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6639
6640 2013-04-25 Alan Modra <amodra@gmail.com>
6641
6642 * config.host: Match little-endian powerpc-linux.
6643
6644 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
6645
6646 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6647 as 'unsigned long long' instead of 'unsigned long'.
6648 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6649 'signed long'.
6650
6651 2013-04-10 Julian Brown <julian@codesourcery.com>
6652
6653 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6654 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6655 unsigned char/unsigned short.
6656 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6657
6658 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6659
6660 PR other/55274
6661 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6662
6663 2013-04-04 Meador Inge <meadori@codesourcery.com>
6664
6665 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6666 computing the location of the link register.
6667 (aeabi_uldivmod): Ditto.
6668
6669 2013-03-27 Kai Tietz <ktietz@redhat.com>
6670
6671 * config.host: Add support for cygwin x64 target.
6672 * configure: Regenerated.
6673
6674 2013-03-26 Walter Lee <walt@tilera.com>
6675
6676 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6677 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6678
6679 2013-03-25 Kai Tietz <ktietz@redhat.com>
6680
6681 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6682
6683 2013-03-20 Robert Mason <rbmj@verizon.net>
6684
6685 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6686 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6687 (__gthread_leave_tsd_dtor_context): Add prototypes.
6688 (tls_delete_hook): Update.
6689
6690 2013-03-20 Catherine Moore <clm@codesourcery.com>
6691 Joseph Myers <joseph@codesourcery.com>
6692 Chao-ying Fu <fu@mips.com>
6693
6694 * config/mips/mips16.S: Don't build for microMIPS.
6695 * config/mips/linux-unwind.h: Handle microMIPS frame.
6696 * config/mips/crtn.S (fini, init): New labels.
6697
6698 2013-03-14 Jakub Jelinek <jakub@redhat.com>
6699
6700 PR tree-optimization/53265
6701 * unwind-dw2.c (execute_cfa_program): Avoid
6702 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6703 on targets with DWARF_FRAME_REGISTERS < 32.
6704
6705 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6706
6707 PR target/49880
6708 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6709 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6710
6711 2013-03-07 Sriraman Tallam <tmsriram@google.com>
6712
6713 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6714 sandybridge processors.
6715
6716 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6717
6718 PR target/56529
6719 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6720 inclusion list.
6721
6722 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6723
6724 * config/microblaze/crti.S: Setup stack protection at entry
6725
6726 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
6727
6728 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6729 (__rotldi3): Shift bytewise if applicable.
6730
6731 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6732
6733 * config/aarch64/sync-cache.c
6734 (__aarch64_sync_cache_range): Silence warnings.
6735
6736 2013-02-25 Catherine Moore <clm@codesourcery.com>
6737
6738 Revert:
6739 2013-02-24 Catherine Moore <clm@codesourcery.com>
6740 Joseph Myers <joseph@codesourcery.com>
6741 Chao-ying Fu <fu@mips.com>
6742
6743 * config/mips/mips16.S: Don't build for microMIPS.
6744 * config/mips/linux-unwind.h: Handle microMIPS frame.
6745 * config/mips/crtn.S (fini, init): New labels.
6746
6747 2013-02-24 Catherine Moore <clm@codesourcery.com>
6748 Joseph Myers <joseph@codesourcery.com>
6749 Chao-ying Fu <fu@mips.com>
6750
6751 * config/mips/mips16.S: Don't build for microMIPS.
6752 * config/mips/linux-unwind.h: Handle microMIPS frame.
6753 * config/mips/crtn.S (fini, init): New labels.
6754
6755 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6756 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
6757 as dividend.
6758
6759 2013-02-16 Alan Modra <amodra@gmail.com>
6760
6761 PR target/55431
6762 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6763 (ppc_fallback_frame_state): Always set up save locations for fp
6764 and altivec. Don't bother with non-callee-saved regs, r0-r13
6765 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6766
6767 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
6768
6769 PR target/54222
6770 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6771 _ssmulHA, _ssmulSA.
6772 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6773 _ssmulha3, _usmulusa3, _ssmulsa3.
6774 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6775 (__muldi3): XCALL __muldi3_6 instead of rcall.
6776 (__umulsidi3, __mulsidi3): New functions.
6777 (do_prologue_saves, do_epilogue_restores): New .macros.
6778 (__divdi3_moddi3): Use them.
6779 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6780 (__usmulusa3, __ssmulsa3): New functions.
6781
6782 2013-02-11 Iain Sandoe <iain@codesourcery.com>
6783 Jack Howarth <howarth@bromo.med.uc.edu>
6784 Patrick Marlier <patrick.marlier@gmail.com>
6785
6786 PR libitm/55693
6787 * config/darwin-crt-tm.c: Remove dummy functions hack.
6788
6789 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
6790
6791 PR target/54222
6792 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6793 * config/avr/lib2-object.mk: New iterator to build objects from it.
6794 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6795 lib2funcs.c.
6796 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6797 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6798 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6799 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6800 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6801 * config/avr/lib1funcs-fixed.S: Implement them.
6802
6803 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6804
6805 Update copyright years.
6806
6807 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
6808
6809 PR target/54601
6810 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6811 Add crtcxa to extra_parts.
6812 * config/rs6000/exit.h: New file.
6813 * config/rs6000/cxa_atexit.c: New file.
6814 * config/rs6000/cxa_finalize.c: New file.
6815 * config/rs6000/crtcxa.c: New file.
6816 * config/rs6000/t-aix-cxa: New file.
6817 * config/rs6000/libgcc-aix-cxa.ver: New file.
6818
6819 2013-01-31 Nick Clifton <nickc@redhat.com>
6820
6821 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6822 variant.
6823
6824 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
6825
6826 PR target/54222
6827 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6828 _mulQQ, _mulHQ, _mulHA, _mulSA,
6829 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6830 _divQQ, _divHQ, _divHA, _divSA,
6831 _divUQQ, _divUHQ, _divUHA, _divUSA.
6832
6833 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
6834
6835 * config.host(microblaze*-linux*): tmake_file: Remove
6836 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6837 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6838 to exclude functions from being built with libgcc.c and use
6839 the microblaze assembly.
6840
6841 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6842
6843 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6844 extra_parts.
6845
6846 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6847
6848 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6849 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6850 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6851 alignment operation.
6852
6853 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6854
6855 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6856 loop start address for cache clearing.
6857
6858 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6859
6860 * config/avr/lib1funcs.S: Remove trailing blanks.
6861 * config/avr/lib1funcs-fixed.S: Ditto.
6862
6863 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6864
6865 * config/avr/avr-lib.h: Add GPL copyright notice.
6866
6867 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6868
6869 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6870 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6871 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6872 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6873
6874 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
6875
6876 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6877 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
6878
6879 2013-01-04 Nick Clifton <nickc@redhat.com>
6880
6881 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6882 the CALLT instruction is supported.
6883
6884 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6885
6886 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6887 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6888
6889 2012-12-13 John Tytgat <John@bass-software.com>
6890
6891 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6892 is 25.
6893
6894 2012-12-12 Jakub Jelinek <jakub@redhat.com>
6895
6896 PR libgcc/55451
6897 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6898 undefined signed overflows.
6899
6900 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
6901
6902 PR target/55344
6903 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6904
6905 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
6906
6907 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6908 (FP_TRAPPING_EXCEPTIONS): Define.
6909 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6910 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6911
6912 2012-12-04 Richard Henderson <rth@redhat.com>
6913
6914 PR bootstrap/55571
6915 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6916
6917 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6918
6919 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
6920 (FP_EX_SHIFT): Define.
6921 (FP_TRAPPING_EXCEPTIONS): Define.
6922
6923 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6924
6925 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6926 (FP_ROUNDMODE): Use FP_RND_MASK.
6927 * config/aarch64/sfp-exceptions.c: New.
6928 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6929 Use __sfp_handle_exceptions.
6930
6931 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
6932
6933 * config.host: (arm*-*-freebsd*): Remove.
6934 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6935 (arm*-*-elf*): Remove.
6936 (arm*-*-wince-pe*): Remove.
6937 * arm/unwind-arm.c (struct fpa_reg): Delete.
6938 (struct fpa_regs): Delete.
6939 (phase1_vrs): Remove fpa element.
6940 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6941 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6942 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6943 * ieee754-sf.S (floatundisf): Remove FPA support.
6944 (floatdisf): Likewise.
6945 * ieee75f-df.S (floatundidf): Likewise.
6946 (floatdidf): Likewise.
6947
6948 2012-11-29 Kai Tietz <ktietz@redhat.com>
6949
6950 PR target/55445
6951 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6952 * unwind-generic.h: Likewise.
6953 * unwind-seh.c: Likewise.
6954
6955 2012-11-28 Richard Henderson <rth@redhat.com>
6956
6957 PR libgcc/48076
6958 * emutls.c (__emutls_get_address): Avoid race condition between
6959 obj->loc.offset read and emutls_key initialization.
6960
6961 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
6962
6963 Adjust decimal point of signed accum mode to GCC default.
6964
6965 PR target/54222
6966 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6967 _divqq_helper.
6968 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6969 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6970 (__mulha3, __mulsa3)
6971 (__divqq3, __divha3, __divsa3): Adjust to new position of
6972 decimal point of signed accum types.
6973
6974 (__mulusa3_round): New function.
6975 (__mulusa3): Use it.
6976 (__divqq_helper): New function.
6977 (__udivuqq3): Use it.
6978
6979 2012-11-20 Jakub Jelinek <jakub@redhat.com>
6980
6981 PR bootstrap/55370
6982 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6983
6984 2012-11-18 Teresa Johnson <tejohnson@google.com>
6985
6986 PR bootstrap/55051
6987 * libgcov.c (gcov_exit): Remove merged program summary
6988 comparison unless !GCOV_LOCKED.
6989
6990 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
6991
6992 * soft-fp: Updated from glibc upstream.
6993
6994 2012-11-06 Ian Lance Taylor <iant@google.com>
6995
6996 * generic-morestack.c (__generic_morestack): Align the returned
6997 stack pointer to a 32 byte boundary.
6998 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6999 increment the return address until we have decided that we don't
7000 have a varargs function.
7001 (__morestack) [32-bit]: Align stack correctly when calling C
7002 functions.
7003 (__morestack) [64-bit]: Likewise.
7004
7005 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7006
7007 * configure: Regenerate.
7008
7009 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
7010
7011 PR target/55175
7012 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7013 * config/i386/sfp-machine.h: Guard exception handling
7014 code with _SOFT_FLOAT.
7015 * config/i386/32/sfp-machine.h: Guard rounding handling
7016 code with _SOFT_FLOAT.
7017 * config/i386/64/sfp-machine.h: Ditto.
7018
7019 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7020
7021 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7022 as extra_parts.
7023
7024 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
7025
7026 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7027 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7028 when appropriate. Correct structure element types.
7029 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7030 -minline-all-stringops from compile flags.
7031
7032 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7033
7034 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7035
7036 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7037
7038 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
7039
7040 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
7041
7042 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7043 tmake_file.
7044
7045 2012-10-23 Ian Bolton <ian.bolton@arm.com>
7046 Jim MacArthur <jim.macarthur@arm.com>
7047 Marcus Shawcroft <marcus.shawcroft@arm.com>
7048 Nigel Stephens <nigel.stephens@arm.com>
7049 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7050 Richard Earnshaw <rearnsha@arm.com>
7051 Sofiane Naci <sofiane.naci@arm.com>
7052 Stephen Thomas <stephen.thomas@arm.com>
7053 Tejas Belagod <tejas.belagod@arm.com>
7054 Yufeng Zhang <yufeng.zhang@arm.com>
7055
7056 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7057 * config/aarch64/crti.S: New file.
7058 * config/aarch64/crtn.S: New file.
7059 * config/aarch64/linux-unwind.h: New file.
7060 * config/aarch64/sfp-machine.h: New file.
7061 * config/aarch64/sync-cache.c: New file.
7062 * config/aarch64/t-aarch64: New file.
7063 * config/aarch64/t-softfp: New file.
7064
7065 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
7066
7067 * config/mmix/crti.S: Mark program and data addresses using PRELD.
7068 Remove typo'd and unnecessary alignment-LOC for .data. Remove
7069 no-longer-needed LDBU insns.
7070
7071 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
7072
7073 * config.host
7074 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7075 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7076
7077 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7078
7079 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7080
7081 2012-10-15 Matthias Klose <doko@ubuntu.com>
7082
7083 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7084
7085 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
7086
7087 * configure: Regenerate.
7088 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7089
7090 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7091
7092 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7093 instructions for 64bit targets only.
7094
7095 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7096
7097 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7098 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7099 * config/i386/32/sfp-machine.h: ... here.
7100 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7101 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7102 New defines.
7103
7104 2012-10-07 Matthias Klose <doko@ubuntu.com>
7105
7106 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7107 as unused.
7108 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7109
7110 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
7111
7112 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7113 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7114 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7115 (ElfW): Likewise.
7116
7117 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
7118
7119 PR other/53889
7120 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7121 Fix parameter names.
7122
7123 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
7124
7125 PR target/33135
7126 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7127 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7128 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7129
7130 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
7131
7132 PR target/50457
7133 * config/sh/linux-atomic.S: Delete.
7134 * config/sh/linux-atomic.c: New.
7135 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7136 linux-atomic.c. Add cflags to disable warnings.
7137
7138 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7139
7140 PR other/53889
7141 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7142 function.
7143 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7144 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7145 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7146 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
7147 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7148 Likewise.
7149 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7150 Likewise.
7151 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7152 Likewise.
7153 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7154 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7155
7156 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
7157
7158 * config.host (hppa-*-openbsd*): New target.
7159 * config/pa/t-openbsd: New file.
7160
7161 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
7162
7163 PR target/54222
7164 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7165 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7166 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7167 (__divsa3): Use __negsi2 to negate r_quoL.
7168 * config/avr/lib1funcs.S (FALIAS): New macro.
7169 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7170 (__negsi2): ...this new function.
7171 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7172 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7173 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7174 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7175 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7176 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7177
7178 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
7179
7180 PR target/54089
7181 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7182 (lshrsi3): Reimplement as lshrsi3_r0.
7183
7184 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
7185
7186 PR target/46191
7187 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7188 of libgcc.a.
7189
7190 2012-09-07 Teresa Johnson <tejohnson@google.com>
7191
7192 PR gcov-profile/54487
7193 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
7194 differences.
7195
7196 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
7197
7198 PR target/54461
7199 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7200 not configured --with-avrlibc=no.
7201 * config/avr/t-avrlibc: New file.
7202 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7203 (DPBIT_FUNCS): Ditto.
7204 (TPBIT_FUNCS): Ditto.
7205
7206 2012-09-04 Teresa Johnson <tejohnson@google.com>
7207
7208 * libgcov.c (struct gcov_summary_buffer): New structure.
7209 (gcov_histogram_insert): New function.
7210 (gcov_compute_histogram): Ditto.
7211 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7212 histograms during summary merging.
7213
7214 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
7215
7216 * config.host (x86_64-*-openbsd*): New target.
7217
7218 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
7219
7220 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7221 attribute.
7222
7223 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7224
7225 PR target/54222
7226 * config/avr/t-avr (conv_X): Rename to func_X.
7227
7228 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7229
7230 PR target/54222
7231 * config/avr/lib1funcs-fixed.S: New file.
7232 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
7233 after they are used.
7234 (neg2, neg4): New macros.
7235 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7236 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7237 (__umulhisi3): Speed up MUL variant if there is enough flash.
7238 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7239 avr-modes.def.
7240 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7241 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7242 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7243 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7244 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7245 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7246 (LIB2FUNCS_EXCLUDE): Add supported functions.
7247
7248 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
7249
7250 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7251 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7252 libgcc-s-objects.
7253 * fixed-obj.mk: Only expand dependency if $o is not in
7254 LIB2FUNCS_EXCLUDE.
7255
7256 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
7257
7258 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7259
7260 2012-08-22 Joseph Myers <joseph@codesourcery.com>
7261
7262 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7263 depend on --enable-shared.
7264 ($(lib1asmfuncs-o)): Use %.vis files independent of
7265 --enable-shared.
7266 * static-object.mk ($(base)$(objext), $(base).vis)
7267 ($(base)_s$(objext)): Use same rules for visibility handling as in
7268 shared-object.mk.
7269
7270 2012-08-21 Ian Lance Taylor <iant@google.com>
7271
7272 * config/i386/morestack.S (__morestack_non_split): Increase amount
7273 of space allocated for non-split code stack.
7274
7275 2012-08-19 Joseph Myers <joseph@codesourcery.com>
7276
7277 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7278 even if inhibit_libc.
7279
7280 2012-08-17 Julian Brown <julian@codesourcery.com>
7281
7282 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7283 -fexceptions -fnon-call-exceptions if not defined.
7284 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7285 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7286
7287 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
7288
7289 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7290 type.
7291
7292 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
7293
7294 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7295 rs6000/t-slibgcc-aix.
7296
7297 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7298
7299 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7300
7301 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7302
7303 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7304
7305 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
7306
7307 PR driver/54171
7308 * Makefile.in (version): Replace top_srcdir with srcdir.
7309
7310 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
7311
7312 * Makefile.in (version): set to BASE-VER file from gcc directory.
7313
7314 2012-08-01 Nick Clifton <nickc@redhat.com>
7315
7316 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7317 Implements __clrsb for an HImode argument.
7318
7319 2012-07-31 Nick Clifton <nickc@redhat.com>
7320
7321 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7322 Implements __clrsb for an HImode argument.
7323 * config/stormy16/clrsbhi2.c: New file:
7324 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7325
7326 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
7327
7328 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7329
7330 2012-07-19 Tristan Gingold <gingold@adacore.com>
7331 Richard Henderson <rth@redhat.com>
7332
7333 * unwind-seh.c: New file.
7334 * unwind-generic.h: Include windows.h for SEH.
7335 (_Unwind_Exception): Use 6 private fields for SEH.
7336 (_GCC_specific_handler): Declare.
7337 * unwind-c.c (__gcc_personality_seh0): New function.
7338 Adjust for SEH.
7339 * config/i386/libgcc-cygming.ver: New file.
7340 * config/i386/t-seh-eh: New file.
7341 * config.host (x86_64-*-mingw*): Default to seh.
7342
7343 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
7344
7345 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7346
7347 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
7348
7349 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7350 __builtin_expect when checking for exceptions.
7351 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7352
7353 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7354
7355 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7356 function declaration.
7357 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7358 (FP_RND_MASK): New.
7359 * config/ia64/sfp-exceptions.c: New.
7360 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7361
7362 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7363
7364 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7365 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7366 * config/i386/64/sfp-machine: ... (delete here) ...
7367 * config/i386/sfp-machine.h: ... to here.
7368 (FP_EX_MASK): Remove.
7369 (FP_RND_MASK): New.
7370 (FP_INIT_ROUNDMODE): Declare asm as volatile.
7371
7372 2012-06-11 Sriraman Tallam <tmsriram@google.com>
7373
7374 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7375 * config/i386/libgcc-sol2.ver: Ditto.
7376 * config/i386/libgcc-glibc.ver: Ditto.
7377
7378 2012-06-11 Roland McGrath <mcgrathr@google.com>
7379
7380 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7381 If __GLIBC__ is defined, refer to __pthread_key_create instead of
7382 pthread_cancel.
7383
7384 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
7385
7386 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7387 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7388 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7389 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7390 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7391 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7392 * config/i386/64/sfp-machine: ... (delete here) ...
7393 * config/i386/sfp-machine.h: ... to here.
7394 (FP_EX_MASK): New.
7395 (__sfp_handle_exceptions): New function declaration.
7396 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7397 * config/i386/sfp-exceptions.c: New.
7398 * config/i386/t-softfp: New.
7399 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7400 i386/t-softfp to tmake_file.
7401
7402 2012-06-03 David S. Miller <davem@davemloft.net>
7403
7404 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7405 change.
7406
7407 2012-05-31 David S. Miller <davem@davemloft.net>
7408
7409 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7410 multiply and divide instructions on 32-bit when V9.
7411 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7412
7413 2012-05-29 Joseph Myers <joseph@codesourcery.com>
7414
7415 * config/arm/ieee754-df.S: Fix typos.
7416 * config/arm/ieee754-sf.S: Fix typos.
7417 * config/c6x/libunwind.S: Fix typos.
7418 * config/epiphany/udivsi3-float.c: Fix typos.
7419 * config/microblaze/muldi3_hard.S: Fix typos.
7420 * config/picochip/adddi3.S: Fix typos.
7421 * config/picochip/ashlsi3.S: Fix typos.
7422 * config/picochip/ashrsi3.S: Fix typos.
7423 * config/picochip/clzsi2.S: Fix typos.
7424 * config/picochip/cmpsi2.S: Fix typos.
7425 * config/picochip/divmod15.S: Fix typos.
7426 * config/picochip/divmodhi4.S: Fix typos.
7427 * config/picochip/divmodsi4.S: Fix typos.
7428 * config/picochip/longjmp.S: Fix typos.
7429 * config/picochip/lshrsi3.S: Fix typos.
7430 * config/picochip/parityhi2.S: Fix typos.
7431 * config/picochip/popcounthi2.S: Fix typos.
7432 * config/picochip/setjmp.S: Fix typos.
7433 * config/picochip/subdi3.S: Fix typos.
7434 * config/picochip/ucmpsi2.S: Fix typos.
7435 * config/picochip/udivmodhi4.S: Fix typos.
7436 * config/picochip/udivmodsi4.S: Fix typos.
7437 * config/spu/divv2df3.c: Fix typos.
7438 * config/spu/mfc_multi_tag_release.c: Fix typos.
7439 * config/spu/mfc_tag_release.c: Fix typos.
7440 * configure.ac: Fix typos.
7441 * configure: Regenerate.
7442
7443 2012-05-25 Ian Lance Taylor <iant@google.com>
7444
7445 * config/i386/morestack.S (__morestack_non_split): Check whether
7446 caller is varargs and needs %bp to hold the stack frame on return.
7447
7448 2012-05-25 Olivier Hainque <hainque@adacore.com>
7449
7450 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7451 sequence in the non pic case on VxWorks.
7452
7453 2012-05-24 Olivier Hainque <hainque@adacore.com>
7454
7455 * Makefile.in: Move dependency on install-unwind_h from
7456 "install-leaf" to "install".
7457
7458 2012-05-24 Olivier Hainque <hainque@adacore.com>
7459
7460 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7461 Use a separate command for stamp removals.
7462
7463 2012-05-21 Andrew Pinski <apinski@cavium.com>
7464
7465 PR bootstrap/53183
7466 * configure.ac: Define the default includes to being none.
7467 * configure: Regenerate.
7468
7469 2012-05-16 Olivier Hainque <hainque@adacore.com>
7470
7471 * Makefile.in (install-unwind_h): Rename into ...
7472 (install-unwind_h-forbuild): New target.
7473 (all): Use it instead of the former install-unwind_h.
7474 (install-unwind_h): Reinstate, copy to user install destination
7475 for include files, not to the internal gcc object directory one.
7476 (install-leaf): Depend on it.
7477
7478 2012-05-15 Olivier Hainque <hainque@adacore.com>
7479
7480 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7481 register numbers. LR_REGNO replaces R_LR.
7482 (ucontext_for): New, helper for ...
7483 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7484 and 5.3 of ...
7485 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7486
7487 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7488
7489 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7490 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7491 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7492 i386/t-cpuinfo ...
7493 (i[34567]86-*-*, x86_64-*-*): ... here.
7494
7495 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7496 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7497
7498 * config/i386/i386-cpuinfo.c: Rename to ...
7499 * config/i386/cpuinfo.c: ... this.
7500 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7501
7502 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7503 (libgcc_cv_init_priority): New test.
7504 * configure: Regenerate.
7505 * config.in: New file.
7506 * Makefile.in (clean): Rename config.h to auto-target.h.
7507 (config.h): Likewise.
7508 (stamp-h): Likewise.
7509
7510 * config/i386/cpuinfo.c (auto-target.h): Include.
7511 (CONSTRUCTOR_PRIORITY): Define.
7512 (__cpu_indicator_init): Use it.
7513
7514 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7515
7516 * longlong.h: Use a URL instead of an FSF postal address.
7517 Replace spaces with tab.
7518
7519 2012-05-08 Teresa Johnson <tejohnson@google.com>
7520
7521 * libgcov.c (gcov_clear, __gcov_reset): New functions.
7522 (__gcov_dump): Ditto.
7523 (gcov_dump_complete): New global variable.
7524 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7525 (__gcov_flush): Outline functionality now in gcov_clear.
7526 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7527
7528 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
7529
7530 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7531 (mips*-*-linux*): Include mips/t-tpbit when long double is
7532 16 bytes long.
7533
7534 2012-04-25 Sriraman Tallam <tmsriram@google.com>
7535
7536 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7537 (get_available_features): New argument. Check for AVX2.
7538 (__cpu_indicator_init): Modify call to get_available_features.
7539
7540 2012-04-25 Alan Modra <amodra@gmail.com>
7541
7542 * config/rs6000/crtsavevr.S: New file.
7543 * config/rs6000/crtrestvr.S: New file.
7544 * config/rs6000/t-savresfgpr: Build the above.
7545 * config/rs6000/t-netbsd: Likewise.
7546
7547 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7548
7549 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7550
7551 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7552
7553 * libgcc/config/i386/i386-cpuinfo.c: New file.
7554 * libgcc/config/i386/t-cpuinfo: New file.
7555 * libgcc/config.host: Include t-cpuinfo.
7556 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7557
7558 2012-04-24 Chao-ying Fu <fu@mips.com>
7559
7560 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7561
7562 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
7563
7564 struct siginfo vs. siginfo_t
7565
7566 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7567 siginfo_t instead of struct siginfo.
7568 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7569 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7570 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7571 (ia64_handle_unwabi): Likewise.
7572 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7573 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7574 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7575 (sh_fallback_frame_state): Likewise.
7576 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7577 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7578
7579 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
7580
7581 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7582 system call number.
7583
7584 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
7585
7586 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7587 if it hasn't been previously saved.
7588
7589 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
7590
7591 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7592 only for glibc.
7593
7594 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
7595
7596 PR target/52737
7597 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7598 instead of __AVR_HAVE_8BIT_SP__.
7599
7600 2012-03-26 Tristan Gingold <gingold@adacore.com>
7601
7602 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7603 (unw_table_entry): Use unw_word instead of unsigned long.
7604 (_Unwind_FindTableEntry): Likewise.
7605 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7606 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7607 (_Unwind_FindTableEntry): Likewise.
7608 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7609 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7610 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7611 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7612 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7613 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7614 (uw_init_context_1, uw_install_context): Likewise.
7615 (unw_word): Move to unwind-ia64.h
7616
7617 2012-03-26 Tristan Gingold <gingold@adacore.com>
7618
7619 * config/vms/vms-ucrt0.c: Update copyright years.
7620 Add a sanity check.
7621 (___gcc_main_flags): Declare.
7622 (__main): Check flags to remap argv and exit code.
7623 * config.host (*-*-*vms*): Adjust extra_parts.
7624 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7625 (crt0.o): Add.
7626
7627 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
7628
7629 * arm/lib1funcs.asm (ctzsi2): New function.
7630 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7631 * arm/t-linux (LIB1ASMFUNCS): Likewise.
7632 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7633 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7634 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7635 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7636
7637 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
7638
7639 * config.host: Add bits to support powerpc64-*-freebsd*.
7640 * config/rs6000/freebsd-unwind.h: New file.
7641 * config/rs6000/t-freebsd64: New file.
7642
7643 2012-03-20 Richard Guenther <rguenther@suse.de>
7644
7645 PR gcov-profile/52627
7646 * libgcov.c (init_mx): Fix mutex name.
7647
7648 2012-03-16 Tristan Gingold <gingold@adacore.com>
7649
7650 * config/ia64/vms-unwind.h: Remove ulong (and replace
7651 it by unw_reg where used). Define unw_reg with __int64.
7652
7653 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7654
7655 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7656 Solaris 8 handling.
7657 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7658 Solaris 8 handling.
7659 (sparc_is_sighandler): Likewise.
7660
7661 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
7662
7663 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7664 <= saved reg size.
7665
7666 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7667
7668 * config/arm/crtn.S: Fix typo.
7669
7670 2012-03-13 Richard Guenther <rguenther@suse.de>
7671
7672 * libgcov.c: Remove stdio.h include and NULL un-define.
7673
7674 2012-03-13 Richard Guenther <rguenther@suse.de>
7675
7676 PR target/52569
7677 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7678
7679 2012-03-13 Richard Guenther <rguenther@suse.de>
7680
7681 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7682
7683 2012-03-13 Richard Guenther <rguenther@suse.de>
7684
7685 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7686 and __gthread_mutex_init_function definitions.
7687
7688 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7689
7690 * config.host (mips*-*-openbsd*): Remove.
7691
7692 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7693
7694 * config.host: Remove alpha*-dec-osf5.1* handling.
7695 * config/alpha/gthr-posix.c: Remove.
7696 * config/alpha/libgcc-osf5.ver: Remove.
7697 * config/alpha/osf5-unwind.h: Remove.
7698 * config/alpha/t-osf-pthread: Remove.
7699 * config/alpha/t-slibgcc-osf: Remove.
7700 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7701 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7702 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7703 * mkmap-flat.awk: Remove osf_export handling.
7704
7705 2012-03-12 Richard Guenther <rguenther@suse.de>
7706
7707 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7708 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7709 (__gthread_mutex_init_function): New function.
7710 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7711
7712 PR gcov/49484
7713 * libgcov.c: Include gthr.h.
7714 (__gcov_flush_mx): New global variable.
7715 (init_mx, init_mx_once): New functions.
7716 (__gcov_flush): Protect self with a mutex.
7717 (__gcov_fork): Re-initialize mutex after forking.
7718 * unwind-dw2-fde.c: Change condition under which to use
7719 __GTHREAD_MUTEX_INIT_FUNCTION.
7720
7721 2012-03-12 Tristan Gingold <gingold@adacore.com>
7722
7723 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7724 * config/ia64/t-vms: Likewise.
7725
7726 2012-03-11 Michael Hope <michael.hope@linaro.org>
7727
7728 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7729 for Thumb-2.
7730
7731 2012-03-07 Walter Lee <walt@tilera.com>
7732
7733 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7734 "arch_atomic_".
7735 (atomic_xor): Rename and move definition to
7736 config/tilepro/atomic.h.
7737 (atomic_nand): Ditto.
7738 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7739 "arch_atomic_".
7740 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7741 (arch_atomic_nand): Ditto.
7742
7743 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7744
7745 PR target/52507
7746 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7747
7748 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7749
7750 PR target/52505
7751 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7752 from RAM.
7753
7754 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7755
7756 PR target/52461
7757 PR target/52508
7758 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7759 if RAMPZ affects reading from RAM.
7760 (__tablejump_elpm__): Ditto.
7761 (.xload): Ditto.
7762 (__movmemx_hi): Ditto.
7763 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7764 (__do_global_dtors): Ditto.
7765 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7766 (__movmemx_hi): Ditto.
7767
7768 2012-03-05 Richard Henderson <rth@redhat.com>
7769
7770 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7771 [ARM] (count_trailing_zeros): Use the builtin.
7772
7773 2012-03-01 Kai Tietz <ktietz@redhat.com>
7774
7775 * soft-fp: Imported from glibc upstream.
7776
7777 2012-02-28 Kai Tietz <ktietz@redhat.com>
7778
7779 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7780 for mingw-targets as attribute gcc_struct.
7781
7782 2012-02-28 Ian Lance Taylor <iant@google.com>
7783
7784 * generic-morestack.c (__splitstack_releasecontext): Correct call
7785 to __morestack_release_segments.
7786
7787 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7788
7789 PR target/52390
7790 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7791 for __linux__ when removing signals from __morestack_fullmask.
7792
7793 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
7794
7795 PR target/52261
7796 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7797
7798 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7799
7800 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7801 instead of HAVE_INITFINI_ARRAY.
7802 * config/ia64/crtend.S: Likewise.
7803
7804 2012-02-20 Kai Tietz <ktietz@redhat.com>
7805
7806 PR libstdc++/52300
7807 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7808
7809 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7810 to w32-unwind.h header.
7811
7812 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7813
7814 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7815 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7816 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7817 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7818
7819 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7820
7821 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7822
7823 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7824
7825 PR libitm/52220
7826 * config/darwin-crt-tm.c: Correct typo.
7827
7828 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7829 Patrick Marlier <patrick.marlier@gmail.com>
7830
7831 PR libitm/52220
7832 * config/darwin-crt-tm.c: Generate dummy functions.
7833
7834 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7835 Patrick Marlier <patrick.marlier@gmail.com>
7836
7837 PR libitm/52042
7838 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7839 (__doTMRegistrations): Call it.
7840 (__doTMdeRegistrations): Likewise.
7841
7842 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
7843 Anatoly Sokolov <aesok@post.ru>
7844 Eric Weddington <eric.weddington@atmel.com>
7845
7846 PR target/52261
7847 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7848 (__epilogue_restores__): Ditto.
7849
7850 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7851
7852 PR target/51921
7853 PR target/52205
7854 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7855 Solaris 11 and slightly reformat.
7856 (sparc_is_sighandler): Likewise.
7857
7858 2012-02-14 Walter Lee <walt@tilera.com>
7859
7860 * config.host: Handle tilegx and tilepro.
7861 * config/tilegx/sfp-machine.h: New file.
7862 * config/tilegx/sfp-machine32.h: New file.
7863 * config/tilegx/sfp-machine64.h: New file.
7864 * config/tilegx/t-crtstuff: New file.
7865 * config/tilegx/t-softfp: New file.
7866 * config/tilegx/t-tilegx: New file.
7867 * config/tilepro/atomic.c: New file.
7868 * config/tilepro/atomic.h: New file.
7869 * config/tilepro/linux-unwind.h: New file.
7870 * config/tilepro/sfp-machine.h: New file.
7871 * config/tilepro/softdivide.c: New file.
7872 * config/tilepro/softmpy.S: New file.
7873 * config/tilepro/t-crtstuff: New file.
7874 * config/tilepro/t-tilepro: New file.
7875
7876 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7877
7878 PR libstdc++/51296
7879 PR libstdc++/51906
7880 * gthr-posix.h: Allow static initializer macros to be disabled.
7881 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7882
7883 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7884
7885 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7886 Add t-slibgcc-libgcc to tmake_file.
7887 * config/mips/libgcc-mips16.ver: Revert previous patch.
7888 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7889
7890 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7891 Jayant R Sonar <jayant.sonar@kpitcummins.com>
7892
7893 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7894 * config/cr16/crti.S: New file.
7895 * config/cr16/crtlibid.S: New file.
7896 * config/cr16/crtn.S: New file.
7897 * config/cr16/lib1funcs.S: New file.
7898 * config/cr16/t-cr16: New file.
7899 * config/cr16/t-crtlibid: New file.
7900 * config/cr16/unwind-dw2.h: New file.
7901 * config/cr16/unwind-cr16.c: New file.
7902 * config/cr16/divmodhi3.c: New file.
7903
7904 2012-01-25 Alan Modra <amodra@gmail.com>
7905
7906 * config/rs6000/t-linux64: Delete. Move..
7907 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7908 * config/rs6000/t-linux: ..and libgcc flags to here.
7909
7910 2012-01-22 Douglas B Rupp <rupp@gnat.com>
7911
7912 * config.host (i[34567]86-*-interix3*):
7913 Change triplet to i[34567]86-*-interix[3-9]*.
7914 * configure: Regenerate.
7915
7916 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7917 Richard Sandiford <rdsandiford@googlemail.com>
7918
7919 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7920 * config/mips/mips16.S (__mips16_rdhwr): New function.
7921 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7922
7923 2012-01-11 Nathan Sidwell <nathan@acm.org>
7924
7925 * libgcov.c (__gcov_init): Ignore objects with no functions.
7926
7927 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
7928
7929 PR target/49868
7930 Extend __pgmx semantics to linearize memory.
7931 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7932 * config/avr/lib1funcs.S (__xload_1): New function.
7933 (__movmemx_qi, __movmemx_hi): New functions.
7934 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7935 semantics.
7936
7937 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7938
7939 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7940 purported sigacthandler address isn't null before dereferencing it.
7941 (sparc_is_sighandler): Likewise.
7942
7943 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7944
7945 PR ada/41929
7946 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7947 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7948 (sparc_is_sighandler): Likewise.
7949 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7950
7951 2012-01-06 Tristan Gingold <gingold@adacore.com>
7952
7953 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7954 compatibility thunks...
7955 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7956 (crtbeginS.o, crtendS.o): ... and these to ...
7957 * config/ia64/t-ia64-elf: ... this new file.
7958 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7959 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7960
7961 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7962
7963 * configure: Regenerate.
7964 * config/s390/t-crtstuff: Remove -fPIC.
7965
7966 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7967
7968 PR bootstrap/51006
7969 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7970 for NetBSD.
7971
7972 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
7973
7974 PR target/51345
7975 * config/avr/lib1funcs.S: Remove FIXME comments.
7976 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7977
7978 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
7979
7980 Implement light-weight DImode support.
7981 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7982 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7983 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7984 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7985
7986 2011-12-30 Nathan Sidwell <nathan@acm.org>
7987
7988 * libgcov.c (gcov_crc32): Remove global var.
7989 (free_fn_data): New function.
7990 (buffer_fn_data): Pass in filename, more robust error recovery.
7991 (crc32_unsigned): New function.
7992 (gcov_exit): More robust detection of new program. More robust
7993 error recovery.
7994 (__gcov_init): Do not update program's crc here.
7995
7996 2011-12-21 Tristan Gingold <gingold@adacore.com>
7997
7998 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7999
8000 2011-12-21 Ian Lance Taylor <iant@google.com>
8001
8002 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8003
8004 2011-12-20 Ian Lance Taylor <iant@google.com>
8005
8006 * config/i386/morestack.S (__morestack_non_split): If there is
8007 enough stack space already, don't split. Ask for more stack space
8008 than we required.
8009
8010 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8011
8012 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8013 `sys/sdt.h'.
8014 (_Unwind_DebugHook): New function.
8015 (uw_restore_core_regs): New define.
8016 (unwind_phase2): Use uw_restore_core_regs instead of
8017 restore_core_regs.
8018 (unwind_phase2_forced): Likewise.
8019 (__gnu_Unwind_Resume): Likewise.
8020
8021 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
8022
8023 * config/alpha/linux-unwind.h: Update copyright years.
8024 (MD_FROB_UPDATE_CONTEXT): New define.
8025 (alpha_frob_update_context): New function.
8026
8027 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8028
8029 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8030 tmake_file rather replacing it.
8031
8032 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
8033
8034 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
8035 function is not used for PPC64.
8036 (save_world): Amend comments. Update the VRsave mask to reflect the
8037 saved regs.
8038 (rest_world): Update comments, do not clobber r10, do not use r8.
8039 (eh_rest_world_r10): Amend comments, do not use r8.
8040 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8041 no longer used, move restore of CR and target address to the end of
8042 the routine.
8043
8044 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
8045
8046 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8047 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8048
8049 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
8050
8051 PR target/49313
8052 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8053 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8054
8055 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
8056
8057 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8058
8059 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
8060
8061 PR target/49313
8062 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8063 * config/avr/lib1funcs.S (__muldi3): New function.
8064
8065 2011-12-06 Andrew Pinski <apinski@cavium.com>
8066
8067 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8068 size of func_ptr.
8069 (__frame_dummy_init_array_entry): Likewise.
8070
8071 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
8072
8073 Forward-port from gcc-4_6-branch r181936 2011-12-02.
8074
8075 PR target/51345
8076 PR target/51002
8077 * config/avr/lib1funcs.S (__prologue_saves__,
8078 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8079 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
8080
8081 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
8082
8083 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8084
8085 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8086
8087 PR other/51272
8088 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8089 (_ITM_deregisterTMCloneTable): Likewise.
8090 (__register_frame_info): Fix unused warning.
8091 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8092 pthread_default_stacksize_np): Likewise.
8093 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
8094
8095 2011-11-29 DJ Delorie <dj@redhat.com>
8096
8097 * config.host (rl78-*-elf): New case.
8098 * config/rl78: New directory for the Renesas RL78.
8099
8100 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
8101
8102 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
8103 formatting.
8104
8105 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8106
8107 PR other/51022
8108 * config/rs6000/t-savresfgpr: New file.
8109 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8110 $(srcdir)/config/rs6000/eabi.S.
8111 * config/rs6000/t-ppccomm-ldbl: Remove.
8112 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8113 tmake_file.
8114 (powerpc-*-eabispe*): Likewise.
8115 (powerpc-*-eabi*): Likewise.
8116 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8117 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8118 to tmake_file, remove rs6000/t-ppccomm-ldbl.
8119 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8120 tmake_file.
8121 (powerpc-*-eabisim*): Likewise.
8122 (powerpc-*-elf*): Likewise.
8123 (powerpc-*-eabialtivec*): Likewise.
8124 (powerpc-xilinx-eabi*): Likewise.
8125 (powerpc-*-rtems*): Likewise.
8126 (powerpcle-*-elf*): Likewise.
8127 (powerpcle-*-eabisim*): Likewise.
8128 (powerpcle-*-eabi*): Likewise.
8129
8130 2011-11-27 Ian Lance Taylor <iant@google.com>
8131
8132 * generic-morestack.c (__splitstack_find): Check for NULL old
8133 stack value.
8134 (__splitstack_resetcontext): New function.
8135 (__splitstack_releasecontext): New function.
8136 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8137
8138 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8139
8140 * config/darwin-crt-tm.c: Correct comments, use correct licence.
8141
8142 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8143
8144 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8145
8146 2011-11-26 Richard Henderson <rth@redhat.com>
8147
8148 * config/m68k/linux-atomic.c: New file.
8149 * config/m68k/t-linux: New file.
8150 * config.host (m68k-uclinux, m68k-linux): Use it.
8151
8152 2011-11-26 Richard Henderson <rth@redhat.com>
8153
8154 * crtstuff.c (__TMC_LIST__): Mark used not unused.
8155 (__TMC_END__): Only declare if hidden is available; in the definition,
8156 if hidden is unavailable add a null record.
8157 (deregister_tm_clones, register_tm_clones): New.
8158 (__do_global_dtors_aux, frame_dummy): Use them.
8159 (__do_global_dtors, __do_global_ctors_1): Likewise.
8160
8161 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
8162
8163 * config/darwin-crt-tm.c: New file.
8164 * config.host (darwin): Build crttms.o crttme.o to provide
8165 startup and shutdown for tm clones.
8166 * config/t-darwin (crttms.o): New build rule.
8167 (crttme.o): Likewise.
8168
8169 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
8170
8171 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8172 et al.
8173
8174 2011-11-21 Richard Henderson <rth@redhat.com>
8175
8176 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8177 (__TMC_LIST__, __TMC_END__): New.
8178 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8179 (__do_global_dtors): Likewise.
8180 (frame_dummy): Call _ITM_registerTMCloneTable.
8181 (__do_global_ctors_1): Likewise.
8182
8183 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8184
8185 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8186 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8187 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8188 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8189 * config/i386/t-darwin64: Remove.
8190 * config/sh/t-netbsd (LIB2ADD): Remove.
8191
8192 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
8193
8194 PR target/49313
8195 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8196 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8197 * config/avr/lib1funcs.S (wmov): New assembler macro.
8198 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8199 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8200 (__udivmod64): New function.
8201 (__negdi2): New function.
8202
8203 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
8204
8205 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8206 *-*-freebsd*aout*): Remove.
8207
8208 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
8209
8210 * static-object.mk (c_flags-$o): Save c_flags.
8211 ($(base)$(objext)): Use it.
8212
8213 2011-11-18 Steve Ellcey <sje@cup.hp.com>
8214
8215 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8216
8217 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
8218
8219 PR target/49868
8220 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8221 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8222 New functions.
8223
8224 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8225
8226 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8227 functions.
8228 (aeabi_uidivmod): Likewise.
8229 (umodsi3): Likewise.
8230 (divsi3): Likewise.
8231 (aeabi_idivmod): Likewise.
8232 (modsi3): Likewise.
8233
8234 2011-11-16 Tristan Gingold <gingold@adacore.com>
8235
8236 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8237
8238 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
8239
8240 PR target/49868
8241 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
8242 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8243
8244 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8245
8246 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8247 tmake_file list.
8248 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8249 * config/pa/t-stublib64: Delete.
8250
8251 2011-11-12 Richard Henderson <rth@redhat.com>
8252
8253 * config/rs6000/linux-unwind.h (frob_update_context): Properly
8254 cast the pointer argument to _Unwind_SetGRPtr.
8255
8256 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8257
8258 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8259
8260 2011-11-09 Ian Lance Taylor <iant@google.com>
8261
8262 * generic-morestack.c: Include <string.h>.
8263 (uintptr_type): Define.
8264 (struct initial_sp): Add dont_block_signals field. Reduce size of
8265 extra array by 1.
8266 (allocate_segment): Set prev field to NULL. Don't set
8267 __morestack_current_segment or __morestack_segments.
8268 (__generic_morestack): Update current->prev and *pp after calling
8269 allocate_segment.
8270 (__morestack_block_signals): Don't do anything if
8271 dont_block_signals is set.
8272 (__morestack_unblock_signals): Likewise.
8273 (__generic_findstack): Check for initial_sp == NULL. Add casts to
8274 uintptr_type.
8275 (__splitstack_block_signals): New function.
8276 (enum __splitstack_content_offsets): Define.
8277 (__splitstack_getcontext, __splitstack_setcontext): New functions.
8278 (__splitstack_makecontext): New function.
8279 (__splitstack_block_signals_context): New function.
8280 (__splitstack_find_context): New function.
8281 * config/i386/morestack.S (__morestack_get_guard): New function.
8282 (__morestack_set_guard, __morestack_make_guard): New functions.
8283 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8284
8285 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8286
8287 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8288 (i[34567]86-*-mingw*): ... here.
8289 (x86_64-*-mingw*): ... here.
8290
8291 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8292
8293 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8294
8295 2011-11-07 Nathan Sidwell <nathan@acm.org>
8296
8297 * libgcov.c (struct gcov_fn_buffer): New struct.
8298 (buffer_fn_data): New helper.
8299 (gcov_exit): Rework for new gcov data structures.
8300
8301 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
8302
8303 PR target/49313
8304 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8305
8306 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8307
8308 * config.host (tmake_file): Correct comment.
8309 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8310 t-libgcc-pic.
8311 (bfin*-uclinux*): Likewise.
8312 (bfin*-linux-uclibc*): Likewise.
8313 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8314
8315 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8316 assigning.
8317 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8318 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8319 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8320 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8321 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8322 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8323 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8324 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8325 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8326 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8327 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8328 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8329 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8330
8331 * config/bfin/t-elf: Remove.
8332 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8333
8334 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8335
8336 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8337 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8338 (lm32-*-elf*, lm32-*-rtems*): Split into ...
8339 (lm32-*-elf*): ... this.
8340 (lm32-*-rtems*): ... and this.
8341 Add to tmake_file.
8342 (m32r-*-rtems*): Add to tmake_file.
8343 (moxie-*-rtems*): Likewise.
8344 (sparc-*-rtems*): Likewise.
8345 Remove t-rtems from tmake_file.
8346 (sparc64-*-rtems*): Likewise.
8347 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8348 instead.
8349
8350 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8351
8352 PR bootstrap/50982
8353 * config/gthr-posix.h: Move ...
8354 * gthr-posix.h: ... here.
8355 * config/gthr-lynx.h: Reflect this.
8356 * config/gthr-vxworks.h: Likewise.
8357 * config/rs6000/gthr-aix.h: Likewise.
8358 * configure.ac (target_thread_file): Likewise.
8359 * configure: Regenerate.
8360
8361 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
8362
8363 * config.host (arm*-*-rtemseabi*): New target.
8364
8365 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8366
8367 PR other/50991
8368 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8369 extra-parts.
8370
8371 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
8372
8373 * config.host (epiphany-*-elf*): New configuration.
8374 * config/epiphany: New Directory.
8375
8376 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
8377
8378 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8379 * config/avr/t-rtems: New.
8380 Filter out _exit from LIB1ASMFUNCS.
8381
8382 2011-11-04 David S. Miller <davem@davemloft.net>
8383
8384 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8385 * configure: Rebuild.
8386
8387 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8388
8389 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8390 variable.
8391
8392 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
8393
8394 PR target/50931
8395 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8396 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8397
8398 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
8399
8400 PR target/50989
8401 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8402
8403 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8404
8405 * config/c6x/t-elf (LIB2ADDEH): Set.
8406 * config/c6x/t-c6x-elf: Remove.
8407
8408 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8409
8410 * config/i386/sol2-ci.S: Rename to ...
8411 * config/i386/crti.S: ... this.
8412 * config/i386/sol2-cn.S: Rename to ...
8413 * config/i386/crtn.S: ... this.
8414 * config/sparc/sol2-ci.S: Rename to ...
8415 * config/sparc/crti.S: ... this.
8416 * config/sparc/sol2-cn.S: Rename to ...
8417 * config/sparc/crtn.S: ... this.
8418 * config/t-sol2 (CUSTOM_CRTIN): Remove.
8419 (crti.o, crtn.o): Remove.
8420
8421 2011-11-04 Tristan Gingold <gingold@adacore.com>
8422
8423 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8424
8425 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
8426
8427 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8428
8429 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
8430
8431 * config.host (crisv32-*-none, cris-*-none): Remove.
8432 (crisv32-*-elf): Append to tmake_file, don't just set it.
8433 (cris-*-elf): Add missing t-fdpbit to tmake_file.
8434
8435 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8436
8437 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8438 (ecrtn$(objext)): Likewise.
8439 (ncrti$(objext)): Likewise.
8440 (ncrtn$(objext)): Likewise.
8441
8442 2011-11-03 Andreas Schwab <schwab@redhat.com>
8443
8444 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8445
8446 2011-11-02 David S. Miller <davem@davemloft.net>
8447
8448 * configure.ac: Set host_address on sparc too.
8449 * configure: Regenerate.
8450 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8451 based upon host_address.
8452 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8453
8454 2011-11-02 Jason Merrill <jason@redhat.com>
8455
8456 * config/rs6000/t-ppccomm: Add missing \.
8457
8458 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8459
8460 * gthr-single.h, gthr.h: New files.
8461 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8462 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8463 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8464 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8465 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8466 * configure.ac (thread_header): New variable.
8467 Set it depending on target_thread_file.
8468 (gthr-default.h): Link from $thread_header.
8469 * configure: Regenerate.
8470 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8471
8472 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8473
8474 * configure.ac (tm_file_): New variable.
8475 Determine from tm_file.
8476 (tm_file, tm_defines): Substitute.
8477 * configure: Regenerate.
8478 * mkheader.sh: New file.
8479 * Makefile.in (clean): Remove libgcc_tm.h.
8480 ($(objects)): Depend on libgcc_tm.h.
8481 (libgcc_tm_defines, libgcc_tm_file): New variables.
8482 (libgcc_tm.h, libgcc_tm.stamp): New targets.
8483 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8484 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8485 ($(extra-parts)): Depend on libgcc_tm.h.
8486 * config.host (tm_defines, tm_file): New variable.
8487 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8488 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8489 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8490 (avr-*-rtems*): Likewise.
8491 (avr-*-*): Likewise.
8492 (frv-*-elf): Likewise.
8493 (frv-*-*linux*): Likewise.
8494 (h8300-*-rtems*): Likewise.
8495 (h8300-*-elf*): Likewise.
8496 (i[34567]86-*-darwin*): Likewise.
8497 (x86_64-*-darwin*): Likewise.
8498 (rx-*-elf): Likewise.
8499 (tic6x-*-uclinux): Likewise.
8500 (tic6x-*-elf): Likewise.
8501 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8502 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8503 * config/i386/cygming-crtbegin.c: Likewise.
8504 * config/i386/cygming-crtend.c: Likewise.
8505 * config/ia64/fde-vms.c: Likewise.
8506 * config/ia64/unwind-ia64.c: Likewise.
8507 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8508 * config/rs6000/darwin-fallback.c: Likewise.
8509 * config/stormy16/lib2funcs.c: Likewise.
8510 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8511 * crtstuff.c: Likewise.
8512 * dfp-bit.h: Likewise.
8513 * emutls.c: Likewise.
8514 * fixed-bit.c: Likewise.
8515 * fp-bit.c: Likewise.
8516 * generic-morestack-thread.c: Likewise.
8517 * generic-morestack.c: Likewise.
8518 * libgcc2.c: Likewise.
8519 * libgcov.c: Likewise.
8520 * unwind-dw2-fde-dip.c: Likewise.
8521 * unwind-dw2-fde.c: Likewise.
8522 * unwind-dw2.c: Likewise.
8523 * unwind-sjlj.c: Likewise.
8524
8525 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8526
8527 * configure.ac: Include ../config/picflag.m4.
8528 (GCC_PICFLAG): Call it.
8529 Substitute.
8530 * configure: Regenerate.
8531 * Makefile.in (gcc_srcdir): Remove.
8532 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8533 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8534 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8535 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8536 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8537 Use $<.
8538 Remove comment.
8539 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8540 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8541 to refer to libgcc2.c.
8542 Use $<.
8543 * config/darwin-64.c: New file.
8544 * config/darwin-crt3.c: Remove comment.
8545 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8546 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8547 config/udivmodsi4.c: New files.
8548 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8549 config/memset.c: New files.
8550 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8551 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8552 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8553 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8554 * config/t-openbsd-thread: New file.
8555 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8556 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8557 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8558 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8559 qrnnd.S.
8560 Adapt filename.
8561 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8562 to refer to gthr-posix.c.
8563 * config/alpha/t-vms (LIB2ADD): Set.
8564 * config/alpha/vms-gcc_shell_handler.c: New file.
8565 * config/arm/bpabi.c, config/arm/fp16.c,
8566 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8567 config/arm/unaligned-funcs.c: New files.
8568 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8569 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8570 * config/arm/t-linux: Likewise.
8571 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8572 * config/arm/t-netbsd: New file.
8573 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8574 * config/arm/t-symbian (LIB2ADD_ST): Set.
8575 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8576 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8577 * config/bfin/t-elf: New file.
8578 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8579 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8580 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8581 config/c6x/ltf.c: New files.
8582 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8583 (HOST_LIBGCC2_CFLAGS): Set.
8584 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8585 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8586 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8587 New files.
8588 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8589 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8590 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8591 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8592 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8593 files.
8594 * config/frv/t-frv (LIB2ADD): Set.
8595 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8596 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8597 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8598 config/h8300/popcounthi2.c: New files.
8599 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8600 * config/i386/gthr-win32.c: New file.
8601 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8602 * config/i386/t-cygwin: Likewise.
8603 * config/i386/t-darwin, config/i386/t-darwin64,
8604 config/i386/t-gthr-win32, config/i386/t-interix: New files.
8605 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8606 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8607 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8608 * config/ia64/quadlib.c: New file.
8609 * config/ia64/t-hpux (LIB2ADD): Set.
8610 * config/ia64/t-ia64: Add comment.
8611 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8612 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8613 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8614 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8615 * config/m32c/t-m32c (LIB2ADD): Set.
8616 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8617 * config/m32r/t-m32r: Likewise.
8618 * config/m68k/fpgnulib.c: New file.
8619 * config/m68k/t-floatlib (LIB2ADD): Set.
8620 (xfgnulib.c): New target.
8621 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8622 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8623 * config/mep/t-mep (LIB2ADD): Set.
8624 * config/microblaze/divsi3.asm: Rename to divsi3.S.
8625 * config/microblaze/moddi3.asm: Rename to moddi3.S.
8626 * config/microblaze/modsi3.asm: Rename to modsi3.S.
8627 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8628 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8629 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8630 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8631 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8632 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8633 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8634 New files.
8635 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8636 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8637 * config/pa/fptr.c, config/pa/lib2funcs.S,
8638 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8639 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8640 (LIB2ADD, LIB2ADD_ST): Set.
8641 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8642 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8643 Set.
8644 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8645 * config/pdp11/t-pdp11: New file.
8646 * config/picochip/libgccExtras/adddi3.S,
8647 config/picochip/libgccExtras/ashlsi3.S,
8648 config/picochip/libgccExtras/ashrsi3.S,
8649 config/picochip/libgccExtras/clzsi2.S,
8650 config/picochip/libgccExtras/cmpsi2.S,
8651 config/picochip/libgccExtras/divmod15.S,
8652 config/picochip/libgccExtras/divmodhi4.S,
8653 config/picochip/libgccExtras/divmodsi4.S,
8654 config/picochip/libgccExtras/lshrsi3.S,
8655 config/picochip/libgccExtras/parityhi2.S,
8656 config/picochip/libgccExtras/popcounthi2.S,
8657 config/picochip/libgccExtras/subdi3.S,
8658 config/picochip/libgccExtras/ucmpsi2.S,
8659 config/picochip/libgccExtras/udivmodhi4.S,
8660 config/picochip/libgccExtras/udivmodsi4.S: New files.
8661 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8662 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8663 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8664 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8665 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8666 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8667 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8668 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8669 files.
8670 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8671 (HOST_LIBGCC2_CFLAGS): Set.
8672 * config/rs6000/t-darwin64: New file.
8673 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8674 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8675 * config/rs6000/t-ppccomm (LIB2ADD): Add
8676 $(srcdir)/config/rs6000/tramp.S.
8677 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8678 Add $(srcdir)/config/rs6000/eabi.S.
8679 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8680 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8681 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8682 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8683 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8684 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8685 * config/rs6000/tramp.S: New file.
8686 * config/s390/t-tpf: Remove.
8687 * config/sh/linux-atomic.S: New file.
8688 * config/sh/t-linux (LIB2ADD): Set.
8689 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8690 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8691 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8692 to unwind-dw2.c.
8693 (HOST_LIBGCC2_CFLAGS): Set.
8694 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8695 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8696 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8697 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8698 config/spu/mfc_multi_tag_release.c,
8699 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8700 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8701 config/spu/multi3.c: New files.
8702 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8703 (HOST_LIBGCC2_CFLAGS): Set.
8704 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8705 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8706 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8707 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8708 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8709 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8710 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8711 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8712 config/stormy16/umodsi3.c: New files.
8713 * config/xtensa/lib2funcs.S: New file.
8714 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8715 * config/xtensa/t-xtensa (LIB2ADD): Set.
8716 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8717 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8718 Add t-freebsd-thread to tmake_file for posix threads.
8719 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8720 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8721 (*-*-lynxos*): Likewise.
8722 (*-*-netbsd*): Likewise.
8723 (*-*-openbsd*): Likewise.
8724 Add t-openbsd-thread to tmake_file for posix threads.
8725 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8726 (*-*-vxworks*): Set tmake_file.
8727 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8728 (alpha*-*-freebsd*): Likewise.
8729 (alpha*-*-netbsd*): Likewise.
8730 (alpha*-*-openbsd*): Likewise.
8731 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8732 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8733 (alpha*-dec-*vms*): Likewise.
8734 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8735 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8736 (bfin*-uclinux*): Likewise.
8737 (bfin*-linux-uclibc*): Likewise.
8738 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8739 (crisv32-*-none): Likewise.
8740 (cris-*-elf): Likewise.
8741 (cris-*-none): Likewise.
8742 (cris-*-linux*, crisv32-*-linux*): Likewise.
8743 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8744 tmake_file.
8745 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8746 tmake_file.
8747 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8748 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8749 (x86_64-*-elf*): Likewise.
8750 (i[34567]86-*-nto-qnx*): Likewise.
8751 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8752 win32 threads.
8753 (x86_64-*-mingw*): Likewise.
8754 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8755 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8756 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8757 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8758 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8759 tmake_file.
8760 (mipsisa64sr71k-*-elf*): Likewise.
8761 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8762 (mips-*-elf*, mipsel-*-elf*): Likewise.
8763 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8764 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8765 (mips*-*-rtems*): Likewise.
8766 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8767 to tmake_file.
8768 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8769 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8770 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8771 (spu-*-elf*): Likewise.
8772 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8773
8774 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8775
8776 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8777 $(srcdir) to refer to $(LIB1ASMSRC).
8778 Use $<.
8779 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8780 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8781 config/arm/lib1funcs.S: New files.
8782 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8783 * config/arm/t-arm: New file.
8784 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8785 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8786 config/arm/t-strongarm-elf: New files.
8787 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8788 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8789 * config/avr/lib1funcs.S: New file.
8790 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8791 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8792 * config/c6x/lib1funcs.S: New file.
8793 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8794 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8795 * config/frv/lib1funcs.S: New file.
8796 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8797 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8798 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8799 * config/ia64/__divxf3.asm: Rename to ...
8800 * config/ia64/__divxf3.S: ... this.
8801 Adapt lib1funcs.asm filename.
8802 * config/ia64/_fixtfdi.asm: Rename to ...
8803 * config/ia64/_fixtfdi.S: ... this.
8804 Adapt lib1funcs.asm filename.
8805 * config/ia64/_fixunstfdi.asm: Rename to ...
8806 * config/ia64/_fixunstfdi.S: ... this.
8807 Adapt lib1funcs.asm filename.
8808 * config/ia64/_floatditf.asm: Rename to ...
8809 * config/ia64/_floatditf.S: ... this.
8810 Adapt lib1funcs.asm filename.
8811 * config/ia64/lib1funcs.S: New file.
8812 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8813 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8814 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8815 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8816 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8817 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8818 * config/mep/lib1funcs.S: New file.
8819 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8820 * config/mips/mips16.S: New file.
8821 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8822 * config/pa/milli64.S: New file.
8823 * config/pa/t-linux, config/pa/t-linux64: New files.
8824 * config/picochip/lib1funcs.S: New file.
8825 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8826 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8827 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8828 * config/sh/t-netbsd: New file.
8829 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8830 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8831 * config/sh/t-sh64: New file.
8832 * config/sparc/lb1spc.S: New file.
8833 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8834 filename.
8835 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8836 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8837 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8838 config/xtensa/lib1funcs.S: New files.
8839 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8840 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8841 tmake_file.
8842 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8843 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8844 (arm*-*-linux*): Likewise.
8845 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8846 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8847 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8848 (arm*-*-ecos-elf): Likewise.
8849 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8850 (arm*-*-rtems*): Likewise.
8851 (arm*-*-elf): Likewise.
8852 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8853 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8854 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8855 (bfin*-uclinux*): Likewise.
8856 (bfin*-linux-uclibc*): Likewise.
8857 (bfin*-rtems*): Likewise.
8858 (bfin*-*): Likewise.
8859 (fido-*-elf): Merge into m68k-*-elf*.
8860 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8861 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8862 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8863 (h8300-*-elf*): Likewise.
8864 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8865 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8866 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8867 (i[34567]86-*-mingw*): Likewise.
8868 (x86_64-*-mingw*): Likewise.
8869 (i[34567]86-*-interix3*): Likewise.
8870 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8871 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8872 (m68k-*-elf*): Also handle fido-*-elf.
8873 Add m68k/t-floatlib to tmake_file.
8874 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8875 (m68k-*-linux*): Likewise.
8876 (m68k-*-rtems*): Likewise.
8877 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8878 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8879 sh64*-*-*.
8880 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8881 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8882 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8883 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8884 sh/t-netbsd to tmake_file.
8885 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8886 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8887 (sh-wrs-vxworks): Likewise.
8888 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8889 *-leon[3-9]*.
8890 (v850*-*-*): Add v850/t-v850 to tmake_file.
8891 (vax-*-linux*): Add vax/t-linux to tmake_file.
8892 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8893
8894 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8895
8896 * crtstuff.c: New file.
8897 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8898 (CRTSTUFF_T_CFLAGS): Define.
8899 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8900 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8901 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8902 crtstuff.c.
8903 Use $<.
8904 (crtbeginT.o): Use $(objext).
8905 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8906 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8907 (gcc-extra-parts): Remove.
8908 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8909 Set extra_parts.
8910 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8911 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8912 Add t-crtstuff-pic to tmake_file.
8913 (*-*-lynxos*): New case.
8914 Set tmake_file, extra_parts.
8915 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8916 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8917 *-*-netbsdelf[2-9]*.
8918 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8919 (*-*-rtems*): Set extra_parts.
8920 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8921 (*-*-uclinux*): New case.
8922 Set extra_parts.
8923 (*-*-vms*): New case.
8924 Set tmake_file, extra_parts.
8925 (*-*-elf): Set extra_parts.
8926 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8927 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8928 vms/t-vms64.
8929 Set extra_parts.
8930 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8931 Set extra_parts.
8932 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8933 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8934 (arm-wrs-vxworks): Append to tmake_file.
8935 Set extra_parts.
8936 (arm*-*-uclinux*): Set extra_parts.
8937 (arm*-*-ecos-elf): Likewise.
8938 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8939 arm*-*-eabi*.
8940 (arm*-*-rtems*): Set extra_parts.
8941 (arm*-*-elf): Likewise.
8942 (avr-*-rtems*): Clear extra_parts.
8943 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8944 Set extra_parts.
8945 (bfin*-uclinux*): Likewise.
8946 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8947 (bfin*-rtems*): Append to tmake_file.
8948 Set extra_parts.
8949 (bfin*-*): Likewise.
8950 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8951 (crisv32-*-elf): ... this.
8952 (crisv32-*-none): ... this.
8953 (cris-*-elf, cris-*-none): New cases.
8954 Add cris/t-elfmulti to tmake_file.
8955 (fr30-*-elf): Append to tmake_file.
8956 Set extra_parts.
8957 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8958 Set extra_parts.
8959 (h8300-*-rtems*): Append to tmake_file.
8960 Set extra_parts.
8961 (h8300-*-elf*): Likewise.
8962 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8963 Set extra_parts.
8964 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8965 Set extra_parts.
8966 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8967 (x86_64-*-elf*): Likewise.
8968 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8969 (x86_64-*-freebsd*): Likewise.
8970 (x86_64-*-netbsd*): Likewise.
8971 (i[34567]86-*-linux*): Likewise.
8972 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8973 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8974 (x86_64-*-linux*): Likewise.
8975 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8976 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8977 tmake_file.
8978 Set extra_parts.
8979 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8980 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8981 Append to extra_parts, remove crtbegin.o, crtend.o.
8982 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8983 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8984 crtend.o, crtbeginS.o, crtendS.o.
8985 (ia64*-*-linux*): Comment extra_parts.
8986 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8987 Set extra_parts.
8988 (iq2000*-*-elf*): Clear extra_parts.
8989 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8990 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8991 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8992 (m32r-*-rtems*): ... this.
8993 Add m32r/t-m32r to tmake_file.
8994 (m68k-*-elf*): Add t-crtin to tmake_file.
8995 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8996 (mcore-*-elf): Likewise.
8997 (microblaze*-*-*): Set extra_parts.
8998 (mips*-sde-elf*): New case.
8999 Set tmake_file, extra_parts.
9000 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9001 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9002 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9003 tmake_file.
9004 Set extra_parts.
9005 (mipsisa64sr71k-*-elf*): Likewise.
9006 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9007 (mips-*-elf*, mipsel-*-elf*): Likewise.
9008 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9009 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9010 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9011 (mips*-*-rtems*): Likewise.
9012 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9013 (moxie-*-*): Split into ...
9014 (moxie-*-elf, moxie-*-uclinux*): ... this.
9015 Add to extra_parts, remove crtbegin.o, crtend.o.
9016 (moxie-*-rtems*): New case.
9017 Set tmake_file.
9018 Clear extra_parts.
9019 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9020 Set extra_parts.
9021 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9022 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9023 tmake_file.
9024 Set extra_parts.
9025 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9026 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9027 Set extra_parts.
9028 (powerpc-*-eabisim*): Likewise.
9029 (powerpc-*-elf*): Likewise.
9030 (powerpc-*-eabialtivec*): Likewise.
9031 (powerpc-xilinx-eabi*): Likewise.
9032 (powerpc-*-eabi*): Likewise.
9033 (powerpc-*-rtems*): Likewise.
9034 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9035 tmake_file.
9036 Set extra_parts.
9037 (powerpc-*-lynxos*): Add to tmake_file.
9038 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9039 rs6000/t-crtstuff, t-crtstuff-pic.
9040 Set extra_parts.
9041 (powerpcle-*-eabisim*): Likewise.
9042 (powerpcle-*-eabi*): Likewise.
9043 (rx-*-elf): Remove extra_parts.
9044 (s390x-ibm-tpf*): Set extra_parts.
9045 (score-*-elf): Set extra_parts.
9046 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9047 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9048 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9049 (sh64l*-*-netbsd*): Split into ...
9050 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9051 Add t-crtstuff-pic to tmake_file.
9052 Set extra_parts.
9053 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9054 Set extra_parts.
9055 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9056 (sparc-*-elf*): Remove t-crtin from tmake_file.
9057 Add to extra_parts, remove crtbegin.o, crtend.o.
9058 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9059 (sparc64-*-linux*): Likewise.
9060 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9061 Add to extra_parts, remove crtbegin.o, crtend.o.
9062 (sparc64-*-elf*): Remove t-crtin from tmake_file.
9063 Add to extra_parts, remove crtbegin.o, crtend.o.
9064 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9065 Add to extra_parts, remove crtbegin.o, crtend.o.
9066 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9067 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9068 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9069 Set extra_parts.
9070 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9071 Set extra_parts.
9072 (tic6x-*-*): Change to ...
9073 (tic6x-*-elf): ... this.
9074 Set extra_parts.
9075 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9076 Set extra_parts.
9077 (am33_2.0-*-linux*): Add comment.
9078 (mep*-*-*): Add mep/t-mep to tmake_file.
9079 Set extra_parts.
9080 * config/alpha/t-vms: New file.
9081 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9082 * config/arm/crti.S, config/arm/crtn.S: New files.
9083 * config/bfin/crti.S, config/bfin/crtn.S: New files.
9084 * config/bfin/crtlibid.S: New file.
9085 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9086 * config/c6x/crti.S, config/c6x/crtn.S: New files.
9087 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9088 (crti.o, crtin.o): New rules.
9089 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9090 * config/c6x/t-uclinux: New file.
9091 * config/cris/t-elfmulti: New file.
9092 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9093 * config/fr30/crti.S, config/fr30/crtn.S: New files.
9094 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9095 * config/frv/t-frv: New file.
9096 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9097 * config/h8300/crti.S, config/h8300/crtn.S: New files.
9098 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9099 New files.
9100 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9101 refer to cygming-crtbegin.c, cygming-crtend.c.
9102 Use $<.
9103 * config/i386/t-nto: New file.
9104 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9105 * config/ia64/crti.S, config/ia64/crtn.S: New files.
9106 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9107 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9108 Use .S extension.
9109 Use $<.
9110 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9111 (crtinitS.o): New rule.
9112 * config/ia64/vms-crtinit.S: New file.
9113 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9114 * config/m32r/initfini.c: New file.
9115 * config/m32r/t-linux, config/m32r/t-m32r: New files.
9116 * config/m68k/crti.S, config/m68k/crtn.S: New files.
9117 * config/mcore/crti.S, config/mcore/crtn.S: New files.
9118 * config/mep/t-mep: New file.
9119 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9120 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9121 * config/mips/crti.S, config/mips/crtn.S: New files.
9122 * config/mips/t-crtstuff: New file.
9123 * config/mmix/crti.S, config/mmix/crtn.S: New files.
9124 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9125 (CUSTOM_CRTIN): Set.
9126 ($(T)crti.o, $(T)crtn.o): Remove $(T),
9127 dependencies.
9128 Use $(srcdir) to refer to crti.S, crtn.S.
9129 Use .S extension, $<.
9130 * config/moxie/crti.asm: Rename to ...
9131 * config/moxie/crti.S: ... this.
9132 * config/moxie/crtn.asm: Rename to ...
9133 * config/moxie/crtn.S: ... this.
9134 * config/moxie/t-moxie: Remove.
9135 * config/pa/stublib.c: New file.
9136 * config/pa/t-stublib, config/pa/t-stublib64: New files.
9137 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9138 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9139 * config/rs6000/t-crtstuff: New file.
9140 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9141 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9142 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9143 Make output file explicit.
9144 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9145 Make output file explicit.
9146 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9147 Make output file explicit.
9148 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9149 Make output file explicit.
9150 * config/score/crti.S, config/score/crtn.S: New files.
9151 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9152 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9153 files.
9154 * config/sh/t-sh, config/sh/t-superh: New files.
9155 * config/sparc/t-linux64: New file.
9156 * config/spu/cache.S, config/spu/cachemgr.c: New files.
9157 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9158 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9159 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9160 * config/t-crtin: Remove.
9161 * config/t-crtstuff-pic: New file.
9162 * config/t-sol2 (CUSTOM_CRTIN): Set.
9163 (crti.o, crtn.o): New rules.
9164 * config/vms/t-vms: New file.
9165 * config/vms/vms-ucrt0.c: New file.
9166 * config/xtensa/t-elf: New file.
9167
9168 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9169
9170 * Makefile.in (SHLIB_NM_FLAGS): Set.
9171 * mkmap-flat.awk, mkmap-symver.awk: New files.
9172 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9173 exceptions.
9174 * configure: Regenerate.
9175 * config/libgcc-glibc.ver: New file.
9176 * config/libgcc-libsystem.ver: New file.
9177 * config/t-libunwind (SHLIB_LC): Set.
9178 * config/t-linux: New file.
9179 * config/t-slibgcc (INSTALL_SHLIB): New.
9180 (SHLIB_INSTALL): Use it.
9181 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9182 to mkmap-symver.awk.
9183 (SHLIB_MAPFILES): Don't append, adapt pathname.
9184 (SHLIB_VERPFX): Set.
9185 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9186 to mkmap-symver.awk.
9187 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9188 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9189 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9190 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9191 to mkmap-flat.awk.
9192 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9193 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9194 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9195 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9196 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9197 * config/i386/libgcc-darwin.10.4.ver,
9198 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9199 New files.
9200 * config/i386/t-darwin: Remove.
9201 * config/i386/t-darwin64: Likewise.
9202 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9203 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9204 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9205 * config/i386/t-linux: New file.
9206 * config/i386/t-mingw32: New file.
9207 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9208 * config/ia64/t-glibc: Rename to ...
9209 * config/ia64/t-linux: ... this.
9210 (SHLIB_MAPFILES): Set.
9211 * config/ia64/t-glibc-libunwind: Rename to ...
9212 * config/ia64/t-linux-libunwind: ... this.
9213 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9214 * config/ia64/t-slibgcc-hpux: New file.
9215 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9216 * config/m68k/t-slibgcc-elf-ver: New file.
9217 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9218 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9219 to mkmap-flat.awk.
9220 * config/pa/t-slibgcc-hpux: New file.
9221 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9222 files.
9223 * config/rs6000/libgcc-darwin.10.4.ver,
9224 config/rs6000/libgcc-darwin.10.5.ver: New files.
9225 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9226 config/rs6000/libgcc-glibc.ver.
9227 * config/rs6000/libgcc-ppc64.ver: Rename to
9228 config/rs6000/libgcc-ibm-ldouble.ver.
9229 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9230 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9231 * config/rs6000/t-ldbl128: Rename to ...
9232 * config/rs6000/t-linux: ... this.
9233 (SHLIB_MAPFILES): Adapt filename.
9234 * config/rs6000/t-slibgcc-aix: New file.
9235 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9236 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9237 libgcc-excl.ver, libgcc-glibc.ver.
9238 (SHLIB_LINK, SHLIB_INSTALL): Remove.
9239 * config/sparc/libgcc-glibc.ver: New file.
9240 * config/sparc/t-linux: New file.
9241 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9242 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9243 t-slibgcc-elf-ver to tmake_file.
9244 Add t-slibgcc-nolc-override to tmake_file for posix threads on
9245 *-*-freebsd[34].
9246 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9247 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9248 t-slibgcc-elf-ver, t-linux to tmake_file.
9249 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9250 tmake_file.
9251 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9252 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9253 (alpha*-dec-*vms*): Likewise.
9254 (arm*-*-freebsd*): Append to tmake_file.
9255 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9256 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9257 arm*-*-linux-*eabi.
9258 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9259 tmake_file for arm*-*-symbianelf*.
9260 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9261 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9262 cris/t-linux.
9263 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9264 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9265 pa/t-slibgcc-dwarf-ver to tmake_file.
9266 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9267 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9268 (hppa*64*-*-hpux11*): Likewise.
9269 (hppa[12]*-*-hpux11*): Likewise.
9270 (x86_64-*-darwin*): Don't override tmake_file, but only keep
9271 i386/t-crtpc, i386/t-crtfm.
9272 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9273 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9274 to tmake_file.
9275 Add i386/t-cygwin to tmake_file.
9276 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9277 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9278 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9279 to tmake_file.
9280 Add i386/t-mingw32 to tmake_file.
9281 (x86_64-*-mingw*): Likewise.
9282 (ia64*-*-freebsd*): Append to tmake_file.
9283 (ia64*-*-linux*): Append to tmake_file.
9284 Replace ia64/t-glibc by ia64/t-linux.
9285 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9286 system libunwind.
9287 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9288 t-slibgcc-hpux to tmake_file.
9289 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9290 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9291 (m32rle-*-linux*): Likewise.
9292 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9293 sjlj exceptions.
9294 (microblaze*-linux*): New case.
9295 Append to tmake_file, add t-slibgcc-nolc-override.
9296 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9297 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9298 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9299 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9300 rs6000/t-slibgcc-aix to tmake_file.
9301 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9302 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9303 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9304 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9305 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9306 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9307 sh*-*-linux*.
9308 (sparc-*-linux*): Append to tmake_file for *-leon*.
9309 Add sparc/t-linux to tmake_file for non-Leon targets.
9310 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9311 (tic6x-*-uclinux): New case.
9312 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9313 (tic6x-*-*): Add c6x/t-elf to tmake_file.
9314 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9315 (am33_2.0-*-linux*): Append to tmake_file.
9316 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9317 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9318 x86_64-*-kfreebsd*-gnu.
9319 Add i386/t-linux to tmake_file.
9320
9321 2011-10-28 Ian Lance Taylor <iant@google.com>
9322
9323 * config/i386/morestack.S: Correct CFI information to do proper
9324 returns throughout function. In 32-bit mode, save %ebx so that it
9325 is restored on unwind.
9326
9327 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
9328
9329 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9330 case where B3 isn't the return register.
9331
9332 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9333 logic for doubleword pops.
9334
9335 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
9336
9337 * config/rs6000/t-freebsd: Add wildcard.
9338
9339 2011-10-21 Paul Brook <paul@codesourcery.com>
9340
9341 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9342
9343 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
9344 Eric Botcazou <ebotcazou@adacore.com>
9345
9346 PR target/50737
9347 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9348 fs->signal_frame to 1.
9349
9350 2011-10-07 Ian Lance Taylor <iant@google.com>
9351
9352 * generic-morestack-thread.c: #include <errno.h>.
9353
9354 2011-10-07 Ian Lance Taylor <iant@google.com>
9355
9356 PR target/46093
9357 * generic-morestack.c (__generic_morestack): Make sure the segment
9358 is large enough for both the stack frame and the copied
9359 parameters.
9360
9361 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9362
9363 PR bootstrap/49804
9364 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9365 extra_parts.
9366
9367 2011-09-28 Nick Clifton <nickc@redhat.com>
9368
9369 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9370 64-bit doubles are not enabled.
9371 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9372 and floatunsisf functions.
9373
9374 2011-09-13 Paul Brook <paul@codesourcery.com>
9375
9376 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
9377 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9378 * unwind-arm-common.inc: New file.
9379 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9380 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9381 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9382 * config/c6x/libunwind.S: New file.
9383 * config/c6x/pr-support.c: New file.
9384 * config/c6x/unwind-c6x.c: New file.
9385 * config/c6x/unwind-c6x.h: New file.
9386 * config/c6x/t-c6x-elf: New file.
9387
9388 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
9389
9390 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9391 (ASM_DIVZERO): Ditto.
9392 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9393
9394 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
9395
9396 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9397
9398 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
9399
9400 PR target/50090
9401 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9402 instead of an assembly one.
9403
9404 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
9405
9406 PR bootstrap/50047
9407 * Makefile.in (install-unwind_h): Create
9408 $(gcc_objdir)/include/unwind.h atomically.
9409
9410 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9411
9412 * Makefile.in (install-unwind_h): Remove destination file first.
9413
9414 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9415
9416 * sync.c: New file.
9417 * config/mips/t-mips16: New file.
9418 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9419 (mips*-*-linux*): Likewise.
9420 (mips*-sde-elf*): Likewise.
9421 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9422 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9423 Add mips/t-mips16 to tmake_file.
9424 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9425 (mips-*-elf*): Likewise.
9426 (mips64-*-elf*): Likewise.
9427 (mips64orion-*-elf*): Likewise.
9428 (mips*-*-rtems*): Likewise.
9429 (mipstx39-*-elf*): Likewise.
9430 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9431 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9432 LIBGCC_SYNC_CFLAGS.
9433 Use $(srcdir) to refer to sync.c.
9434 Use $<.
9435 ($(libgcc-sync-funcs-o)): Likewise.
9436 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9437 ($(libgcc-sync-funcs-s-o)): Likewise.
9438
9439 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9440
9441 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9442 t-libunwind.
9443
9444 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
9445
9446 PR other/48007
9447 * config/i386/value-unwind.h: New.
9448
9449 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
9450
9451 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9452 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9453 Add to tmake_file rather than overriding it.
9454
9455 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9456
9457 * config/t-softfp: Remove.
9458 * soft-fp: Moved from ../gcc/config.
9459 * soft-fp/README: Remove t-softfp reference.
9460 * soft-fp/t-softfp: Move to config/t-softfp.
9461 (softfp_machine_header): Remove.
9462 (softfp_file_list): Remove config subdir.
9463 (soft-fp-objects): New variable.
9464 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9465 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9466 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9467 * config/t-softfp-excl: New file.
9468 * config/t-softfp-sfdf: New file.
9469 * config/t-softfp-tf: New file.
9470 * config/no-sfp-machine.h: New file.
9471 * config/arm/sfp-machine.h: New file.
9472 * config/arm/t-softfp: New file.
9473 * config/c6x/sfp-machine.h: New file.
9474 * config/i386/32/t-fprules-softfp: Rename to ...
9475 * config/i386/32/t-softfp: ... this.
9476 (tifunctions, LIB2ADD): Remove.
9477 (softfp_int_modes): Override.
9478 * config/i386/64/t-softfp-compat (tf-functions): Remove config
9479 subdir.
9480 * config/i386/64/eqtf2.c: Likewise.
9481 * config/i386/64/getf2.c: Likewise.
9482 * config/i386/64/letf2.c: Likewise.
9483 * config/ia64/sft-machine.h: New file.
9484 * config/ia64/t-fprules-softfp: Rename to ...
9485 * config/ia64/t-softfp: ... this.
9486 * config/lm32/sfp-machine.h: New file.
9487 * config/moxie/t-moxie-softfp: Remove.
9488 * config/rs6000/ibm-ldouble-format: New file.
9489 * config/rs6000/ibm-ldouble.c: New file.
9490 * config/rs6000/libgcc-ppc-glibc.ver: New file
9491 * config/rs6000/libgcc-ppc64.ver: New file
9492 * config/rs6000/sfp-machine.h: New file.
9493 * config/rs6000/t-freebsd: New file.
9494 * config/rs6000/t-ibm-ldouble: New file.
9495 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9496 libgcc-ppc-glibc.ver.
9497 * config/rs6000/t-linux64: New file.
9498 * config/rs6000/t-ppccomm (LIB2ADD): Add
9499 $(srcdir)/config/rs6000/ibm-ldouble.c.
9500 * config/rs6000/t-ppccomm-ldbl: New file.
9501 * config/score/sfp-machine.h: New file.
9502 * config.host (sfp_machine_header): Explain.
9503 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9504 t-softfp to tmake_file.
9505 (arm*-*-uclinux*): Likewise.
9506 (arm*-*-ecos-elf): Likewise.
9507 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9508 (arm*-*-rtems*): Likewise.
9509 (arm*-*-elf): Likewise.
9510 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9511 in tmake_file.
9512 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9513 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9514 (lm32-*-uclinux*): Likewise.
9515 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9516 t-softfp-excl, t-softfp.
9517 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9518 (powerpc64-*-darwin*): Likewise.
9519 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9520 to tmake_file.
9521 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9522 tmake_file.
9523 (powerpc-*-eabisim*): Likewise.
9524 (powerpc-*-elf*): Likewise.
9525 (powerpc-*-eabialtivec*): Likewise.
9526 (powerpc-xilinx-eabi*): Likewise.
9527 (powerpc-*-rtems*): Likewise.
9528 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9529 t-softfp-excl, t-softfp to tmake_file.
9530 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9531 rs6000/t-ppccomm-ldbl to tmake_file.
9532 (powerpcle-*-elf*): Likewise.
9533 (powerpcle-*-eabisim*): Likewise.
9534 (powerpcle-*-eabi*): Likewise.
9535 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9536 rs6000/t-ibm-ldouble to tmake_file.
9537 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9538 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9539 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9540 (tic6x-*-*): Likewise.
9541 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9542 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9543 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9544 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9545 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9546 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9547 t-softfp to tmake_file.
9548 * configure.ac (sfp_machine_header): Provide default if unset.
9549 Substitute.
9550 Link sfp-machine.h to config/$sfp_machine_header.
9551 * configure: Regenerate.
9552
9553 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9554
9555 * Makefile.in (double_type_size, long_double_type_size): Set.
9556 Remove $(fpbit-in-libgcc) support.
9557 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9558 (fpbit-src): New variable.
9559 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9560 Compile with -DFLOAT $(FPBIT_CFLAGS).
9561 Use $<.
9562 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9563 Compile with $(FPBIT_CFLAGS).
9564 Use $<.
9565 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9566 Compile with -DFLOAT $(TPBIT_CFLAGS).
9567 Use $<.
9568 * configure.ac (double_type_size, long_double_type_size):
9569 Determine and substitute.
9570 * configure: Regenerate.
9571 * fp-bit.c, fp-bit.h: New files.
9572 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9573 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9574 * config/mips/t-mips: New file.
9575 * config/mips/t-sdemtk: New file.
9576 * config/rs6000/ppc64-fp.c: New file.
9577 * config/rs6000/t-darwin (LIB2ADD): Add
9578 $(srcdir)/config/rs6000/ppc64-fp.c.
9579 * config/rs6000/t-ppc64-fp: New file.
9580 * config/rx/rx-lib.h: New file.
9581 * config/rx/t-rx (FPBIT): Set to true.
9582 ($(gcc_objdir)/fp-bit.c): Remove.
9583 (DPBIT): Set to true only with -m64bit-doubles.
9584 ($(gcc_objdir)/dp-bit.c): Remove.
9585 * config/sparc/t-softfp: Remove.
9586 * config/spu/t-elf: New file.
9587 * config/t-fdpbit, config/t-fpbit: New files.
9588 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9589 (mips*-*-*): Likewise.
9590 (arm-wrs-vxworks): Likewise.
9591 (arm*-*-freebsd*): Likewise.
9592 (avr-*-rtems*): Add t-fpbit to tmake_file.
9593 (avr-*-*): Likewise.
9594 (bfin*-elf*): Add t-fdpbit to tmake_file.
9595 (bfin*-uclinux*): Likewise.
9596 (bfin*-linux-uclibc*): Likewise.
9597 (bfin*-rtems*): New case.
9598 Add t-fdpbit to tmake_file.
9599 (bfin*-*): Add t-fdpbit to tmake_file.
9600 (crisv32-*-elf): Likewise.
9601 (cris-*-linux*): Likewise.
9602 (fr30-*-elf): Likewise.
9603 (frv-*-elf, frv-*-*linux*): Likewise.
9604 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9605 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9606 (m32r-*-elf*): Likewise.
9607 (m32rle-*-elf*): Likewise.
9608 (m32r-*-linux*): Likewise.
9609 (m32rle-*-linux*): Likewise.
9610 (mcore-*-elf): Add t-fdpbit to tmake_file.
9611 (microblaze*-*-*): Likewise.
9612 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9613 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9614 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9615 Fix typo.
9616 Add mips/t-tpbit to tmake-file.
9617 (mips*-*-linux*): Fix typo.
9618 (mips*-sde-elf*): New case
9619 Add mips/t-sdemtk unless using newlib.
9620 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9621 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9622 (mn10300-*-*): Likewise.
9623 (pdp11-*-*): Likewise.
9624 (picochip-*-*): Add t-fpbit to tmake_file.
9625 (powerpc-*-eabisimaltivec*): Likewise.
9626 (powerpc-*-eabisim*): Likewise.
9627 (powerpc-*-elf*): Likewise.
9628 (powerpc-*-eabialtivec*): Likewise.
9629 (powerpc-xilinx-eabi*): New case.
9630 Add t-fdpbit to tmake_file.
9631 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
9632 (powerpc-*-rtems*): Likewise.
9633 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9634 tmake_file.
9635 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9636 tmake_file.
9637 (powerpc-*-lynxos*): Likewise.
9638 (powerpcle-*-elf*): Likewise.
9639 (powerpcle-*-eabisim*): Likewise.
9640 (powerpcle-*-eabi*): Likewise.
9641 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9642 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9643 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9644 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9645 (rx-*-elf): Add t-fdpbit to tmake_file.
9646 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9647 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9648 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9649 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9650 sh*-*-netbsd*.
9651 (sh-*-rtems*): Add t-fdpbit to tmake_file.
9652 (sh-wrs-vxworks): Likewise.
9653 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9654 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9655 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9656 (sparc64-*-rtems*): ... new case.
9657 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9658 (spu-*-elf*): Likewise.
9659 Add spu/t-elf to tmake_file.
9660 (v850*-*-*): Add t-fdpbit to tmake_file.
9661 (xstormy16-*-elf): Likewise.
9662 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9663 (mep*-*-*): Likewise.
9664
9665 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9666
9667 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9668 variables.
9669 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9670 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9671 (install-unwind_h): New target.
9672 (all): Depend on it.
9673 * config.host (unwind_header): New variable.
9674 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9675 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9676 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9677 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9678 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9679 Set unwind_header.
9680 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9681 Set unwind_header.
9682 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9683 arm*-*-eabi*.
9684 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9685 Set unwind_header.
9686 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9687 (ia64*-*-freebsd*): Likewise.
9688 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9689 tmake_file.
9690 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9691 $with_system_libunwind.
9692 (ia64*-*-hpux*): Set tmake_file.
9693 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9694 (picochip-*-*): Set tmake_file.
9695 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9696 md_unwind_header.
9697 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9698 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9699 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9700 (xtensa*-*-elf*): Set tmake_file.
9701 (xtensa*-*-linux*): Likewise.
9702 * configure.ac: Include ../config/unwind_ipinfo.m4.
9703 Call GCC_CHECK_UNWIND_GETIPINFO.
9704 Link unwind.h to $unwind_header.
9705 * configure: Regenerate.
9706 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9707 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9708 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9709 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9710 * config/unwind-dw2-fde-darwin.c: New file.
9711 * config/arm/libunwind.S, config/arm/pr-support.c,
9712 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9713 config/arm/unwind-arm.h,: New files.
9714 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9715 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9716 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9717 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9718 config/ia64/unwind-ia64.h: New files.
9719 * config/picochip/t-picochip: New file.
9720 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9721 files.
9722 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9723 * config/s390/t-tpf (LIB2ADDEH): Remove.
9724 * config/t-darwin (LIB2ADDEH): Set.
9725 * config/t-eh-dw2-dip: New file.
9726 * config/t-libunwind, config/t-libunwind-elf: New files.
9727 * config/t-sol2 (LIB2ADDEH): Remove.
9728 * config/xtensa/t-xtensa: New file.
9729
9730 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9731
9732 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9733 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9734 long long to check rt_sigreturn syscall.
9735
9736 2011-08-02 Alan Modra <amodra@gmail.com>
9737
9738 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9739 Restore for indirect call bcrtl from correct stack slot, and only
9740 if cfa+40 isn't valid.
9741
9742 2011-08-01 Julian Brown <julian@codesourcery.com>
9743
9744 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9745 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9746 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9747
9748 2011-08-01 Julian Brown <julian@codesourcery.com>
9749
9750 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9751 (libgcc-std.ver.in): Use above.
9752 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9753 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9754 throughout file.
9755 * config/t-fixedpoint-gnu-prefix: New file.
9756 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9757 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9758 instead of __PFX__.
9759
9760 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9761
9762 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9763 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9764 for x86-64. Properly check __x86_64__ and __LP64__.
9765
9766 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9767
9768 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9769 version.
9770 (_FP_WS_TYPE): Likewise.
9771 (_FP_I_TYPE): Likewise.
9772
9773 2011-07-28 Alan Modra <amodra@gmail.com>
9774
9775 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9776 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9777 in a plt call stub. Do restore r2 if stopped on bctrl.
9778
9779 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9780
9781 * config.host (i[3456x]86-*-netware*): Remove.
9782 * config/i386/netware-crt0.c, config/i386/t-nwld,
9783 config/i386/t-slibgcc-nwld: Remove.
9784
9785 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9786
9787 * config.host: Handle tic6x-*-*.
9788 * config/c6x/c6x-abi.h: New file.
9789
9790 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9791
9792 * config/i386/crtprec.c: New file.
9793 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9794 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9795 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9796 (x86_64-*-darwin*): Likewise.
9797 (i[34567]86-*-solaris2*: Likewise.
9798
9799 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9800
9801 * config/alpha/crtfastmath.c: New file.
9802 * config/i386/crtfastmath.c: New file.
9803 * config/ia64/crtfastmath.c: New file.
9804 * config/mips/crtfastmath.c: New file.
9805 * config/sparc/crtfastmath.c: New file.
9806
9807 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9808 crtfastmath.c.
9809 Add -frandom-seed=gcc-crtfastmath.
9810 * config/alpha/t-crtfm: Remove.
9811 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9812 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9813
9814 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9815 (alpha*-dec-osf5.1*): Likewise.
9816 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9817 Add crtfastmath.o to extra_parts.
9818 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9819 Add crtfastmath.o to extra_parts.
9820 (x86_64-*-darwin*): Likewise.
9821 (x86_64-*-mingw*): Likewise.
9822 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9823 (ia64*-*-freebsd*): Likewise.
9824 (ia64*-*-linux*): Likewise.
9825 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9826 Add crtfastmath.o to extra_parts.
9827
9828 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9829
9830 * config/darwin-crt3.o: New file.
9831 * config/rs6000/darwin-crt2.c: New file.
9832 * config/t-darwin: New file.
9833 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9834 (crt2.o): New rule.
9835 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9836 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9837 (powerpc64-*-darwin*): Likewise.
9838
9839 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9840
9841 * config/i386/netware-crt0.c: New file.
9842 * config/i386/t-nwld: Rename to ...
9843 * config/i386/t-slibgcc-nwld: ... this.
9844 * config/i386/t-nwld: New file.
9845 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9846 tmake_file.
9847 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9848 extra_parts.
9849
9850 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9851
9852 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9853 i386/t-crtstuff.
9854 * configure: Regenerate.
9855
9856 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9857
9858 * dfp-bit.c, dfp-bit.h: New files.
9859 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9860 variables.
9861 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9862 ($(d64pbit-o)): Likewise.
9863 ($(d128pbit-o)): Likewise.
9864 * config/t-dfprules: New file.
9865 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9866 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9867 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9868 (x86_64-*-linux*): Likewise.
9869 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9870 (i[34567]86-*-cygwin*): Likewise.
9871 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9872 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9873
9874 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9875
9876 * Makfile.in (LIBGCOV): New variable.
9877 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9878 * libgcov.c: New file.
9879
9880 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9881
9882 * fixed-bit.c, fixed-bit.h: New files.
9883 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9884 refer to fixed-bit.c.
9885
9886 2011-07-07 Joseph Myers <joseph@codesourcery.com>
9887
9888 * config.host (*local*): Remove.
9889
9890 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9891
9892 PR target/39150
9893 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9894 like i?86-*-solaris2.1[0-9]*.
9895 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9896 * configure.ac (i?86-*-solaris2*): Likewise.
9897 * configure: Regenerate.
9898
9899 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
9900
9901 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9902 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9903 md_unwind_header by splitting out of...
9904 (i[34567]86-*-linux*): ... this.
9905 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9906 Remove md_unwind_header by splitting out of...
9907 (x86_64-*-linux*): ... this.
9908
9909 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
9910
9911 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9912
9913 2011-06-28 Nick Clifton <nickc@redhat.com>
9914
9915 * config.host: Recognize all V850 variants.
9916
9917 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
9918
9919 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9920
9921 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9922
9923 * shared-object.mk (c_flags-$o): Save c_flags.
9924 ($(base)$(objext)): Use it.
9925 ($(base)_s$(objext)): Likewise.
9926
9927 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9928
9929 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9930 * libgcc-std.ver.in (GCC_4.7.0): New section.
9931
9932 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
9933
9934 PR target/49313
9935 PR target/29524
9936 * config/avr/t-avr: Fix line endings.
9937 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9938 _parityXX2.
9939
9940 2011-06-14 Olivier Hainque <hainque@adacore.com>
9941 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9942
9943 * config/mips/irix6-unwind.h: New file.
9944 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9945
9946 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9947
9948 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9949 (sparc64_fallback_frame_state): Use it.
9950 (sparc64_frob_update_context): Further adjust context.
9951 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9952 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9953 * config/sparc/sol2-cn.S: Likewise.
9954
9955 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9956
9957 * enable-execute-stack-empty.c: New file.
9958 * enable-execute-stack-mprotect.c: New file.
9959 * config/i386/enable-execute-stack-mingw32.c: New file.
9960 * config.host (enable_execute_stack): New variable.
9961 Select appropriate variants.
9962 * configure.ac: Link enable-execute-stack.c to
9963 $enable_execute_stack.
9964 * configure: Regenerate.
9965 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9966 (lib2funcs): Remove _enable_execute_stack.
9967
9968 2011-06-09 David S. Miller <davem@davemloft.net>
9969 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9970
9971 * config.host (sparc-*-linux*): Correct md_unwind_header
9972 filename.
9973 (s390x-ibm-tpf*): Fix typo.
9974
9975 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9976
9977 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9978 Add crtfastmath.o to extra_parts.
9979 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9980 mips/t-crtfm.
9981 * config/mips/t-crtfm: Remove.
9982
9983 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9984
9985 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9986
9987 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9988
9989 * config.host (sh*-*-linux*): Fix typo.
9990
9991 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9992
9993 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9994 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9995 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9996 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9997 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9998 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9999 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10000 Wrap in !__MINGW64__.
10001 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10002 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10003 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10004 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10005 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10006 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10007 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10008 Wrap in !__LP64__.
10009 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10010 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10011 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10012 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10013 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10014 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10015 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10016 * config/no-unwind.h: New file.
10017 * config.host (md_unwind_header): Document.
10018 Define.
10019 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10020 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10021 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10022 hppa[12]*-*-hpux11*): Set md_unwind_header.
10023 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10024 Set md_unwind_header.
10025 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10026 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10027 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10028 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10029 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10030 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10031 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10032 md_unwind_header.
10033 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10034 * configure: Regenerate.
10035
10036 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10037
10038 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10039 Set tmake_file, extra_parts.
10040 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10041 Remove O32 support.
10042 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10043 Remove O32 support.
10044 * config/mips/t-irix6: New file.
10045 * config/mips/t-slibgcc-irix: New file.
10046
10047 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10048
10049 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10050 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10051
10052 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10053
10054 * configure.ac (target_thread_file): Determine thread model.
10055 * configure: Regenerate.
10056 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10057 * config/alpha/t-alpha: New file.
10058 * config/alpha/t-crtfm: Use $<.
10059 * config/alpha/t-ieee: New file.
10060 * config/alpha/t-osf-pthread: New file.
10061 * config/alpha/t-slibgcc-osf: New file.
10062 * config/alpha/libgcc-osf5.ver: New file.
10063
10064 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10065
10066 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10067 tmake_file.
10068 Add crtfastmath.o to extra_parts.
10069
10070 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10071
10072 * config/gmon-sol2.c: Reindent.
10073 Cleanup comments.
10074 Remove, correct casts.
10075 Use STDERR_FILENO, NULL.
10076 (BASEADDRESS): Remove.
10077 (minbrk): Remove.
10078 (errno, sbrk): Remove declarations.
10079 (monstartup) [hp300]: Remove.
10080 (mcount): Remove.
10081
10082 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10083
10084 * Makefile.in (cpu_type): Define.
10085 * config.host (i[34567]86-*-rtems*): Handle it.
10086 (i[34567]86-*-solaris2*): Move body ...
10087 (*-*-solaris2*): ... here.
10088 New case, generalize.
10089 (sparc-*-elf*): Handle it.
10090 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10091 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10092 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10093 Fold into ...
10094 (sparc*-*-solaris2*): ... this.
10095 New case.
10096 (sparc64-*-elf*): Handle it.
10097 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10098 Merge ../gcc/config/i386/gmon-sol2.c.
10099 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10100 Use C comments.
10101 Merge ../gcc/config/i386/sol2-gc1.asm.
10102 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10103 Use C comments.
10104 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10105 Use C comments.
10106 * config/i386/t-crtfm (crtfastmath.o): Use $<.
10107 * config/i386/t-crtstuff: New file.
10108 * config/i386/t-softfp: New file.
10109 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10110 $(T)crti.o, $(T)crtn.o): Remove.
10111 (gcrt1.o): New rule.
10112 (TARGET_LIBGCC2_CFLAGS): Remove.
10113 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10114 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10115 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10116 * config/sparc/t-sol2: New file.
10117 * config/sparc/t-crtfm: Move to ...
10118 * config/t-crtfm: ... this.
10119 Use $(cpu_type), $<.
10120 * config/t-crtin: New file.
10121 * config/sparc/t-softfp: New file.
10122 * config/sparc/t-softmul: New file.
10123 * config/t-rtems: New file.
10124 * config/t-slibgcc: New file.
10125 * config/t-slibgcc-elf-ver: New file.
10126 * config/t-slibgcc-gld: New file.
10127 * config/t-slibgcc-sld: New file.
10128 * config/t-sol2: New file.
10129 * configure.ac: Include ../config/lib-ld.m4.
10130 Call AC_LIB_PROG_LD_GNU.
10131 Substitute cpu_type.
10132 * configure: Regenerate.
10133
10134 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
10135
10136 PR bootstrap/49173
10137 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10138 libgcc-std.ver in the build directory.
10139 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10140 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10141
10142 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
10143
10144 * libgcc-std.ver.in: New file.
10145 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10146 variables.
10147 (libgcc-std.ver): New rule.
10148 * config/t-gnu-prefix: New file.
10149
10150 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10151
10152 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10153
10154 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10155
10156 * config/i386/darwin-lib.h: New file.
10157
10158 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10159
10160 * config/arm/symbian-lib.h: New.
10161
10162 2011-05-04 Chris Demetriou <cgd@google.com>
10163
10164 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10165 (__x86.get_pc_thunk.bx): ...this.
10166 (__morestack): Adjust for rename, remove undef of __i686.
10167
10168 2011-05-03 Chris Demetriou <cgd@google.com>
10169
10170 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10171
10172 2011-03-22 Joseph Myers <joseph@codesourcery.com>
10173
10174 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10175 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10176 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10177 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10178 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10179 Remove cases.
10180
10181 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
10182
10183 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10184 Adjust copyright year.
10185
10186 2011-03-07 Ian Lance Taylor <iant@google.com>
10187
10188 * generic-morestack.c (__splitstack_find): Adjust returned stack
10189 pointer to include all registers pushed by __morestack.
10190
10191 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
10192
10193 PR target/40125
10194 * configure.ac: Call ACX_NONCANONICAL_TARGET.
10195 (toolexecdir): Calculate and AC_SUBST.
10196 (toolexeclibdir): Likewise.
10197 * Makefile.in (target_noncanonical): Import.
10198 (toolexecdir): Likewise.
10199 (toolexeclibdir): Likewise.
10200 * configure: Regenerate.
10201
10202 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
10203
10204 PR target/46040
10205 * config/arm/bpabi.h: Rename to...
10206 * config/arm/bpabi-lib.h: ...this.
10207
10208 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10209
10210 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10211 appropriate.
10212 * configure: Regenerate.
10213
10214 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
10215
10216 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10217 __FLOAT_WORD_ORDER__.
10218 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10219 Delete.
10220
10221 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10222
10223 PR other/46202
10224 * Makefile.in (install-strip): New phony target.
10225
10226 2010-11-07 Ian Lance Taylor <iant@google.com>
10227
10228 PR target/46089
10229 * config/i386/morestack.S (__morestack_large_model): New
10230 function.
10231
10232 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
10233
10234 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10235 Delete.
10236 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10237
10238 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
10239
10240 * config/arm/bpabi.h: New file.
10241 * config/frv/frv-abi.h: New file.
10242
10243 2010-10-01 Ian Lance Taylor <iant@google.com>
10244
10245 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10246 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10247
10248 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
10249
10250 PR target/45858
10251 * config.host: Add the missing `$'.
10252
10253 2010-09-30 Michael Eager <eager@eagercon.com>
10254
10255 * config.host: Add microblaze*-*-*.
10256 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10257 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10258 udivsi3.asm,umodsi3.asm}: New.
10259
10260 2010-09-28 Ian Lance Taylor <iant@google.com>
10261
10262 * configure.ac: Adjust CFI test to test assembler directly rather
10263 than checking gcc preprocessor macro.
10264 * configure: Rebuild.
10265
10266 2010-09-27 Ian Lance Taylor <iant@google.com>
10267
10268 * configure.ac: Test whether assembler supports CFI directives.
10269 * config.host: Only add t-stack and i386/t-stack-i386 to
10270 tmake_file if libgcc_cv_cfi is "yes".
10271 * configure: Rebuild.
10272
10273 2010-09-27 Ian Lance Taylor <iant@google.com>
10274
10275 * generic-morestack.h: New file.
10276 * generic-morestack.c: New file.
10277 * generic-morestack-thread.c: New file.
10278 * config/i386/morestack.S: New file.
10279 * config/t-stack: New file.
10280 * config/i386/t-stack-i386: New file.
10281 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10282 i386/t-stack-i386 to tmake_file.
10283
10284 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
10285
10286 * Makefile.in (libgcc-extra-parts): Check for static archives and
10287 invoke ranlib after installing them.
10288 (gcc-extra-parts): Likewise.
10289 (install-leaf): Likewise.
10290
10291 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
10292
10293 * configure: Regenerated.
10294
10295 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
10296
10297 * configure: Regenerated.
10298
10299 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
10300 Andrew Pinski <pinskia@gmail.com>
10301
10302 PR target/40959
10303 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
10304
10305 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
10306
10307 PR target/45524
10308 * configure: Regenerated.
10309
10310 2010-09-06 Andreas Schwab <schwab@redhat.com>
10311
10312 * configure: Regenerate.
10313
10314 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10315
10316 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10317 64bit targets.
10318 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10319 for 64bit targets.
10320
10321 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10322 Iain Sandoe <iains@gcc.gnu.org>
10323
10324 PR target/45476
10325 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10326 LIB2FUNCS_EXCLUDE functions.
10327
10328 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10329
10330 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10331 Include dfp.m4.
10332 * configure: Regenerate.
10333
10334 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
10335
10336 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10337 i386/t-freebsd to tmake_file.
10338 * config/i386/t-freebsd: New file.
10339 * config/i386/libgcc-bsd.ver: New file.
10340
10341 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
10342
10343 * config.host (powerpc*-eabispe*): Set tmake_file.
10344 (powerpc*-eabi*): Likewise.
10345 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10346 crtbeginS, crtendS, crtbeginT.
10347
10348 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
10349
10350 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10351 to tmake_file. Add crtfastmath.o to extra_parts.
10352 * config/mips/t-crtfm: New.
10353
10354 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
10355
10356 * config.host (sparc64-*-rtems*): New target.
10357
10358 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10359
10360 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10361 assembler syntax.
10362
10363 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
10364
10365 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10366
10367 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10368
10369 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10370 alpha-dec-osf5.0* support.
10371
10372 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
10373
10374 * config.host: Add lm32-*-rtems*.
10375
10376 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10377 Uros Bizjak <ubizjak@gmail.com>
10378
10379 PR target/39048
10380 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10381 like other remaining 32-bit x86 OSes.
10382 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10383 assembler syntax.
10384 * config/i386/libgcc-sol2.ver: New file.
10385 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10386
10387 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
10388
10389 PR c/43553
10390 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10391 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10392 is used and substitute set_use_emutls.
10393 * configure: Regenerated.
10394
10395 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
10396
10397 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10398
10399 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10400
10401 PR target/38085
10402 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10403 MULTILIB_CFLAGS.
10404 ($(T)gcrt1.o): Likewise.
10405 ($(T)crt1.o): Likewise.
10406 ($(T)crti.o): Likewise.
10407 ($(T)crtn.o): Likewise.
10408
10409 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10410
10411 PR other/42980
10412 * Makefile.in (install): Use $(MAKE) string in rule, for
10413 parallel make.
10414
10415 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
10416
10417 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10418 * config/mmix/t-mmix: New file.
10419 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10420
10421 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
10422
10423 PR java/41991
10424 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10425 SHLIB_MAPFILES.
10426
10427 2010-01-04 Anthony Green <green@moxielogic.com>
10428
10429 * config/moxie/crti.asm, config/moxie/crtn.asm,
10430 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10431 config/moxie/t-moxie: New files.
10432 * config.host: Add t-moxie-softfp reference.
10433
10434 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
10435
10436 PR other/39888
10437 * config/t-slibgcc-darwin: Fix embedded rpaths for
10438 --enable-version-specific-runtime-libs, build extension stub
10439 libs exposing features available from current libgcc_s.
10440
10441 2009-11-11 Jon Beniston <jon@beniston.com>
10442
10443 * config.host: Add lm32 targets.
10444 * config/lm32: New directory.
10445 * config/lm32/libgcc_lm32.h: New file.
10446 * config/lm32/_mulsi3.c: New file.
10447 * config/lm32/_udivmodsi4.c: New file.
10448 * config/lm32/_divsi3.c: New file.
10449 * config/lm32/_modsi3.c: New file.
10450 * config/lm32/_udivsi3.c: New file.
10451 * config/lm32/_umodsi3.c: New file.
10452 * config/lm32/_lshrsi3.S: New file.
10453 * config/lm32/_ashrsi3.S: New file.
10454 * config/lm32/_ashlsi3.S: New file.
10455 * config/lm32/crti.S: New file.
10456 * config/lm32/crtn.S: New file.
10457 * config/lm32/t-lm32: New file.
10458 * config/lm32/t-elf: New file.
10459 * config/lm32/t-uclinux: New file.
10460
10461 2009-10-26 Nick Clifton <nickc@redhat.com>
10462
10463 * config.host: Add support for RX target.
10464 * config/rx: New directory.
10465 * config/rx/rx-abi-functions.c: New file. Supplementary
10466 functions for libgcc to support the RX ABI.
10467 * config/rx/rx-abi.h: New file. Supplementary header file for
10468 libgcc RX ABI functions.
10469 * config/rx/t-rx: New file: Makefile fragment for building
10470 libgcc for the RX.
10471
10472 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
10473
10474 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10475 constraint of y0 to "g".
10476
10477 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10478
10479 * config.host: Include the s390 makefile fragments.
10480 * config/s390/32/_fixdfdi.c: New file.
10481 * config/s390/32/_fixsfdi.c: New file.
10482 * config/s390/32/_fixtfdi.c: New file.
10483 * config/s390/32/_fixunsdfdi.c: New file.
10484 * config/s390/32/_fixunssfdi.c: New file.
10485 * config/s390/32/_fixunstfdi.c: New file.
10486 * config/s390/32/t-floattodi: New file.
10487 * config/s390/libgcc-glibc.ver: New file.
10488 * config/s390/t-crtstuff: New file.
10489 * config/s390/t-linux: New file.
10490 * config/s390/t-tpf: New file.
10491
10492 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10493
10494 * configure.ac (AC_PREREQ): Bump to 2.64.
10495
10496 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
10497
10498 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10499
10500 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10501
10502 * configure: Regenerate.
10503
10504 2009-08-09 Douglas B Rupp <rupp@gnat.com>
10505
10506 * config.host (ia64-hp-*vms*): New target.
10507 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10508 with ia64-hp-*vms*.
10509
10510 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10511
10512 * configure.ac: Add snippet for maintainer-mode.
10513 * configure: Regenerate.
10514 * Makefile.in (AUTOCONF, configure_deps): New variables.
10515 ($(srcdir)/configure)): New rule, active only with maintainer
10516 mode turned on.
10517
10518 2009-06-23 DJ Delorie <dj@redhat.com>
10519
10520 Add MeP port.
10521 * config.host: Add mep support.
10522
10523 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
10524
10525 * config.host: Add i386/${host_address}/t-fprules-softfp and
10526 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
10527
10528 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10529 for mingw targets.
10530 * config/i386/64/_multc3.c: Likewise.
10531 * config/i386/64/_powitf2.c: Likewise.
10532 * config/i386/64/eqtf2.c: Likewise.
10533 * config/i386/64/getf2.c: Likewise.
10534 * config/i386/64/letf2.c: Likewise.
10535 * config/i386/64/letf2.c: Likewise.
10536 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10537 unsigned long long for x64 mingw targets.
10538 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10539 (_FP_I_TYPE): Define as long long for x64 mingw target.
10540
10541 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
10542
10543 * config.host (vax-*-linux*): New.
10544
10545 2009-05-31 Anthony Green <green@moxielogic.com>
10546
10547 * config.host: Add moxie support.
10548 * config/moxie/t-moxie: New file.
10549
10550 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
10551
10552 * config.host: Add i386/${host_address}/t-fprules-softfp and
10553 t-softfp to tmake_file for i[34567]86-*-cygwin*.
10554
10555 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
10556
10557 * config.host: Add i386/${host_address}/t-fprules-softfp to
10558 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10559
10560 2009-04-09 Nick Clifton <nickc@redhat.com>
10561
10562 * config/ia64/tf-signs.c: Change copyright header to refer to
10563 version 3 of the GNU General Public License with version 3.1
10564 of the GCC Runtime Library Exception and to point readers at
10565 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10566 web page.
10567 * config/i386/32/tf-signs.c: Likewise.
10568 * config/libbid/_addsub_dd.c: Likewise.
10569 * config/libbid/_addsub_sd.c: Likewise.
10570 * config/libbid/_addsub_td.c: Likewise.
10571 * config/libbid/_dd_to_df.c: Likewise.
10572 * config/libbid/_dd_to_di.c: Likewise.
10573 * config/libbid/_dd_to_sd.c: Likewise.
10574 * config/libbid/_dd_to_sf.c: Likewise.
10575 * config/libbid/_dd_to_si.c: Likewise.
10576 * config/libbid/_dd_to_td.c: Likewise.
10577 * config/libbid/_dd_to_tf.c: Likewise.
10578 * config/libbid/_dd_to_udi.c: Likewise.
10579 * config/libbid/_dd_to_usi.c: Likewise.
10580 * config/libbid/_dd_to_xf.c: Likewise.
10581 * config/libbid/_df_to_dd.c: Likewise.
10582 * config/libbid/_df_to_sd.c: Likewise.
10583 * config/libbid/_df_to_td.c: Likewise.
10584 * config/libbid/_di_to_dd.c: Likewise.
10585 * config/libbid/_di_to_sd.c: Likewise.
10586 * config/libbid/_di_to_td.c: Likewise.
10587 * config/libbid/_div_dd.c: Likewise.
10588 * config/libbid/_div_sd.c: Likewise.
10589 * config/libbid/_div_td.c: Likewise.
10590 * config/libbid/_eq_dd.c: Likewise.
10591 * config/libbid/_eq_sd.c: Likewise.
10592 * config/libbid/_eq_td.c: Likewise.
10593 * config/libbid/_ge_dd.c: Likewise.
10594 * config/libbid/_ge_sd.c: Likewise.
10595 * config/libbid/_ge_td.c: Likewise.
10596 * config/libbid/_gt_dd.c: Likewise.
10597 * config/libbid/_gt_sd.c: Likewise.
10598 * config/libbid/_gt_td.c: Likewise.
10599 * config/libbid/_isinfd128.c: Likewise.
10600 * config/libbid/_isinfd32.c: Likewise.
10601 * config/libbid/_isinfd64.c: Likewise.
10602 * config/libbid/_le_dd.c: Likewise.
10603 * config/libbid/_le_sd.c: Likewise.
10604 * config/libbid/_le_td.c: Likewise.
10605 * config/libbid/_lt_dd.c: Likewise.
10606 * config/libbid/_lt_sd.c: Likewise.
10607 * config/libbid/_lt_td.c: Likewise.
10608 * config/libbid/_mul_dd.c: Likewise.
10609 * config/libbid/_mul_sd.c: Likewise.
10610 * config/libbid/_mul_td.c: Likewise.
10611 * config/libbid/_ne_dd.c: Likewise.
10612 * config/libbid/_ne_sd.c: Likewise.
10613 * config/libbid/_ne_td.c: Likewise.
10614 * config/libbid/_sd_to_dd.c: Likewise.
10615 * config/libbid/_sd_to_df.c: Likewise.
10616 * config/libbid/_sd_to_di.c: Likewise.
10617 * config/libbid/_sd_to_sf.c: Likewise.
10618 * config/libbid/_sd_to_si.c: Likewise.
10619 * config/libbid/_sd_to_td.c: Likewise.
10620 * config/libbid/_sd_to_tf.c: Likewise.
10621 * config/libbid/_sd_to_udi.c: Likewise.
10622 * config/libbid/_sd_to_usi.c: Likewise.
10623 * config/libbid/_sd_to_xf.c: Likewise.
10624 * config/libbid/_sf_to_dd.c: Likewise.
10625 * config/libbid/_sf_to_sd.c: Likewise.
10626 * config/libbid/_sf_to_td.c: Likewise.
10627 * config/libbid/_si_to_dd.c: Likewise.
10628 * config/libbid/_si_to_sd.c: Likewise.
10629 * config/libbid/_si_to_td.c: Likewise.
10630 * config/libbid/_td_to_dd.c: Likewise.
10631 * config/libbid/_td_to_df.c: Likewise.
10632 * config/libbid/_td_to_di.c: Likewise.
10633 * config/libbid/_td_to_sd.c: Likewise.
10634 * config/libbid/_td_to_sf.c: Likewise.
10635 * config/libbid/_td_to_si.c: Likewise.
10636 * config/libbid/_td_to_tf.c: Likewise.
10637 * config/libbid/_td_to_udi.c: Likewise.
10638 * config/libbid/_td_to_usi.c: Likewise.
10639 * config/libbid/_td_to_xf.c: Likewise.
10640 * config/libbid/_tf_to_dd.c: Likewise.
10641 * config/libbid/_tf_to_sd.c: Likewise.
10642 * config/libbid/_tf_to_td.c: Likewise.
10643 * config/libbid/_udi_to_dd.c: Likewise.
10644 * config/libbid/_udi_to_sd.c: Likewise.
10645 * config/libbid/_udi_to_td.c: Likewise.
10646 * config/libbid/_unord_dd.c: Likewise.
10647 * config/libbid/_unord_sd.c: Likewise.
10648 * config/libbid/_unord_td.c: Likewise.
10649 * config/libbid/_usi_to_dd.c: Likewise.
10650 * config/libbid/_usi_to_sd.c: Likewise.
10651 * config/libbid/_usi_to_td.c: Likewise.
10652 * config/libbid/_xf_to_dd.c: Likewise.
10653 * config/libbid/_xf_to_sd.c: Likewise.
10654 * config/libbid/_xf_to_td.c: Likewise.
10655 * config/libbid/bid128.c: Likewise.
10656 * config/libbid/bid128_2_str.h: Likewise.
10657 * config/libbid/bid128_2_str_macros.h: Likewise.
10658 * config/libbid/bid128_2_str_tables.c: Likewise.
10659 * config/libbid/bid128_add.c: Likewise.
10660 * config/libbid/bid128_compare.c: Likewise.
10661 * config/libbid/bid128_div.c: Likewise.
10662 * config/libbid/bid128_fma.c: Likewise.
10663 * config/libbid/bid128_logb.c: Likewise.
10664 * config/libbid/bid128_minmax.c: Likewise.
10665 * config/libbid/bid128_mul.c: Likewise.
10666 * config/libbid/bid128_next.c: Likewise.
10667 * config/libbid/bid128_noncomp.c: Likewise.
10668 * config/libbid/bid128_quantize.c: Likewise.
10669 * config/libbid/bid128_rem.c: Likewise.
10670 * config/libbid/bid128_round_integral.c: Likewise.
10671 * config/libbid/bid128_scalb.c: Likewise.
10672 * config/libbid/bid128_sqrt.c: Likewise.
10673 * config/libbid/bid128_string.c: Likewise.
10674 * config/libbid/bid128_to_int16.c: Likewise.
10675 * config/libbid/bid128_to_int32.c: Likewise.
10676 * config/libbid/bid128_to_int64.c: Likewise.
10677 * config/libbid/bid128_to_int8.c: Likewise.
10678 * config/libbid/bid128_to_uint16.c: Likewise.
10679 * config/libbid/bid128_to_uint32.c: Likewise.
10680 * config/libbid/bid128_to_uint64.c: Likewise.
10681 * config/libbid/bid128_to_uint8.c: Likewise.
10682 * config/libbid/bid32_to_bid128.c: Likewise.
10683 * config/libbid/bid32_to_bid64.c: Likewise.
10684 * config/libbid/bid64_add.c: Likewise.
10685 * config/libbid/bid64_compare.c: Likewise.
10686 * config/libbid/bid64_div.c: Likewise.
10687 * config/libbid/bid64_fma.c: Likewise.
10688 * config/libbid/bid64_logb.c: Likewise.
10689 * config/libbid/bid64_minmax.c: Likewise.
10690 * config/libbid/bid64_mul.c: Likewise.
10691 * config/libbid/bid64_next.c: Likewise.
10692 * config/libbid/bid64_noncomp.c: Likewise.
10693 * config/libbid/bid64_quantize.c: Likewise.
10694 * config/libbid/bid64_rem.c: Likewise.
10695 * config/libbid/bid64_round_integral.c: Likewise.
10696 * config/libbid/bid64_scalb.c: Likewise.
10697 * config/libbid/bid64_sqrt.c: Likewise.
10698 * config/libbid/bid64_string.c: Likewise.
10699 * config/libbid/bid64_to_bid128.c: Likewise.
10700 * config/libbid/bid64_to_int16.c: Likewise.
10701 * config/libbid/bid64_to_int32.c: Likewise.
10702 * config/libbid/bid64_to_int64.c: Likewise.
10703 * config/libbid/bid64_to_int8.c: Likewise.
10704 * config/libbid/bid64_to_uint16.c: Likewise.
10705 * config/libbid/bid64_to_uint32.c: Likewise.
10706 * config/libbid/bid64_to_uint64.c: Likewise.
10707 * config/libbid/bid64_to_uint8.c: Likewise.
10708 * config/libbid/bid_b2d.h: Likewise.
10709 * config/libbid/bid_binarydecimal.c: Likewise.
10710 * config/libbid/bid_conf.h: Likewise.
10711 * config/libbid/bid_convert_data.c: Likewise.
10712 * config/libbid/bid_decimal_data.c: Likewise.
10713 * config/libbid/bid_decimal_globals.c: Likewise.
10714 * config/libbid/bid_div_macros.h: Likewise.
10715 * config/libbid/bid_dpd.c: Likewise.
10716 * config/libbid/bid_flag_operations.c: Likewise.
10717 * config/libbid/bid_from_int.c: Likewise.
10718 * config/libbid/bid_functions.h: Likewise.
10719 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10720 * config/libbid/bid_inline_add.h: Likewise.
10721 * config/libbid/bid_internal.h: Likewise.
10722 * config/libbid/bid_round.c: Likewise.
10723 * config/libbid/bid_sqrt_macros.h: Likewise.
10724
10725 2009-04-09 Jakub Jelinek <jakub@redhat.com>
10726
10727 * Makefile.in: Change copyright header to refer to version
10728 3 of the GNU General Public License and to point readers at the
10729 COPYING3 file and the FSF's license web page.
10730 * config.host: Likewise.
10731
10732 2009-04-07 Alan Modra <amodra@bigpond.net.au>
10733
10734 * config.host: Reorder and merge to match config.gcc change.
10735
10736 2009-04-03 Alan Modra <amodra@bigpond.net.au>
10737
10738 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10739
10740 2009-03-28 Joseph Myers <joseph@codesourcery.com>
10741
10742 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10743 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10744 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10745 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10746
10747 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
10748
10749 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10750 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10751
10752 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10753
10754 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10755 ia64/t-softfp-compat to tmake_file.
10756
10757 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10758
10759 * config/ia64/__divxf3.asm: New.
10760 * config/ia64/_fixtfdi.asm: Likewise.
10761 * config/ia64/_fixunstfdi.asm: Likewise.
10762 * config/ia64/_floatditf.asm: Likewise.
10763 * config/ia64/t-fprules-softfp: Likewise.
10764 * config/ia64/t-softfp-compat: Likewise.
10765 * config/ia64/tf-signs.c: Likewise.
10766
10767 2009-01-18 Ben Elliston <bje@au.ibm.com>
10768
10769 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10770
10771 2009-01-16 Ben Elliston <bje@au.ibm.com>
10772
10773 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10774 to tmake_file.
10775
10776 2009-01-13 Ben Elliston <bje@au.ibm.com>
10777
10778 * config/t-softfp: New file.
10779 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10780 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10781
10782 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
10783
10784 * config.host: Add m32r*-*-rtems*.
10785
10786 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
10787
10788 * config.host: Add m32c*-*-rtems*.
10789
10790 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10791
10792 PR bootstrap/33100
10793 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10794 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10795 * configure: Regenerate.
10796 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10797 tmake_file here from gcc/config.gcc.
10798 Move extra_parts here from gcc/config.gcc.
10799 * config/i386/t-sol2: Move here from gcc/config/i386.
10800 Use gcc_srcdir instead of srcdir.
10801
10802 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10803
10804 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10805 case.
10806
10807 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10808
10809 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10810
10811 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10812
10813 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10814
10815 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10816
10817 Add picoChip port.
10818 * config.host: Add picochip-*-*.
10819
10820 2008-08-06 Bob Wilson <bob.wilson@acm.org>
10821
10822 * config.host: Match more processor names for Xtensa.
10823
10824 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10825
10826 * config/i386/64/t-softfp-compat: Update comments.
10827
10828 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10829
10830 * config/i386/64/_divtc3-compat.c: Moved to ...
10831 * config/i386/64/_divtc3.c: Here.
10832
10833 * config/i386/64/_multc3-compat.c: Moved to ...
10834 * config/i386/64/_multc3.c: Here.
10835
10836 * config/i386/64/_powitf2-compat.c: Moved to ...
10837 * config/i386/64/_powitf2.c: Here.
10838
10839 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10840 .c suffix instead of -compat.c.
10841
10842 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
10843
10844 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10845 (_FP_MUL_MEAT_D): Ditto.
10846 (_FP_DIV_MEAT_S): Ditto.
10847 (_FP_DIV_MEAT_D): Ditto.
10848
10849 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10850
10851 * Makefile.in: Add support for __sync_* libgcc functions.
10852
10853 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10854
10855 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10856
10857 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10858
10859 PR boostrap/36702
10860 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10861 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10862
10863 * config/i386/64/t-fprules-softfp: Moved to ...
10864 * config/i386/64/t-softfp-compat: This. New.
10865
10866 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
10867
10868 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10869 Initialize f with 0.0.
10870
10871 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10872
10873 PR target/36669
10874 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10875
10876 * config/i386/64/_divtc3-compat.c: New.
10877 * config/i386/64/_multc3-compat.c: Likewise.
10878 * config/i386/64/_powitf2-compat.c: Likewise.
10879 * config/i386/64/eqtf2.c: Likewise.
10880 * config/i386/64/getf2.c: Likewise.
10881 * config/i386/64/letf2.c: Likewise.
10882 * config/i386/64/t-fprules-softfp: Likewise.
10883
10884 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10885
10886 * config.host: Add i386/${host_address}/t-fprules-softfp to
10887 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
10888 i[34567]86-*-linux*, x86_64-*-linux*.
10889
10890 * configure.ac: Set host_address to 64 or 32 for x86.
10891 * configure: Regenerated.
10892
10893 * Makefile.in (config.status): Also depend on
10894 $(srcdir)/config.host.
10895
10896 * config/i386/32/t-fprules-softfp: New.
10897 * config/i386/32/tf-signs.c: Likewise.
10898
10899 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10900
10901 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10902 Uros Bizjak <ubizjak@gmail.com>
10903
10904 * config/i386/32/sfp-machine.h: New.
10905
10906 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10907
10908 * config/rs6000/t-ppccomm: Remove rules that conflict with
10909 auto-generated rules.
10910
10911 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10912
10913 * configure.ac: sinclude override.m4.
10914 * configure: Regenerate.
10915
10916 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10917
10918 * configure: Regenerate.
10919
10920 2008-06-10 Joseph Myers <joseph@codesourcery.com>
10921
10922 * Makefile.in (DECNUMINC): Remove
10923 -I$(MULTIBUILDTOP)../../libdecnumber.
10924 * gstdint.h: New.
10925
10926 2008-06-07 Joseph Myers <joseph@codesourcery.com>
10927
10928 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10929 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10930 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10931 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10932 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10933 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10934 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10935 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10936 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10937 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10938 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10939 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10940 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10941 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10942
10943 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10944
10945 * config.host (sh2[lbe]*-*-linux*): Allow target.
10946
10947 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10948
10949 * config/rs6000/t-ppccomm: Add build rules for new files.
10950 (LIB2ADD_ST): New variable.
10951
10952 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10953
10954 PR target/34210
10955 PR target/35508
10956 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10957 * config/t-avr: New file. Build 16bit libgcc functions.
10958
10959 2008-03-02 Jakub Jelinek <jakub@redhat.com>
10960
10961 PR target/35401
10962 * config/t-slibgcc-darwin: Make install-leaf dependent on
10963 install-darwin-libgcc-stubs instead of install.
10964
10965 2008-01-25 Joseph Myers <joseph@codesourcery.com>
10966
10967 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10968 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10969 sh-*-rtemscoff*): Remove cases.
10970
10971 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10972
10973 * Makefile.in (all): Use install-leaf rather than install.
10974 (install): Split most of the rule into...
10975 (install-leaf): ...this new one.
10976
10977 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
10978 Paolo Bonzini <bonzini@gnu.org>
10979
10980 PR target/30572
10981 * Makefile.in: Use @shlib_slibdir@ substitution to get
10982 correct install name on darwin.
10983 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
10984
10985 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
10986
10987 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10988 cris-*-elf and cris-*-none.
10989 (crisv32-*-linux*): Similar, as cris-*-linux*.
10990
10991 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10992
10993 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10994
10995 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10996
10997 PR regression/33926
10998 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10999 * configure: Regenerated.
11000
11001 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11002
11003 * Makefile.in (dfp-filenames): Replace decimal_globals,
11004 decimal_data, binarydecimal and convert_data with
11005 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11006 and bid_convert_data, respectively.
11007
11008 2007-09-17 Chao-ying Fu <fu@mips.com>
11009 Nigel Stephens <nigel@mips.com>
11010
11011 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11012 * Makefile.in (fixed_point): Define.
11013 Check if fixed_point is yes to build support functions.
11014 * configure.ac: Check for fixed_point support.
11015 * configure: Regenerated.
11016 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11017 funcs, modes, from, to.
11018
11019 2007-09-11 Janis Johnson <janis187@us.ibm.com
11020
11021 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11022
11023 2007-09-10 Janis Johnson <janis187@us.ibm.com>
11024
11025 * Makefile.in (dfp-filenames): Remove decUtility, add
11026 decDouble, decPacked, decQuad, decSingle.
11027
11028 2007-08-27 Hans Kester <hans.kester@ellips.nl>
11029
11030 * config.host : Add x86_64-elf target.
11031
11032 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11033
11034 * configure.ac (set_have_cc_tls): Add a missing =.
11035 * configure: Regenerated.
11036
11037 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11038
11039 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11040 and x86_64-*-linux*.
11041
11042 * config/t-tls: New file.
11043
11044 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
11045
11046 * configure.ac: Include ../config/enable.m4 and
11047 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
11048 supports TLS and substitute set_have_cc_tls.
11049 * configure: Regenerated.
11050
11051 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
11052
11053 * Makefile.in: Use libbid for DFP when BID is enabled.
11054
11055 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
11056
11057 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
11058 extra_parts. Add config/i386/t-cygming to tmake_file.
11059 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11060
11061 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
11062 Danny Smith <dannysmith@users.sourceforge.net>
11063
11064 PR target/29498
11065 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11066 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
11067 * config/i386/t-crtfm: Compile crtfastmath.o with
11068 -minline-all-stringops.
11069
11070 2007-05-10 Richard Sandiford <richard@codesourcery.com>
11071
11072 * config.host (sparc-wrs-vxworks): New target.
11073
11074 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
11075
11076 * config.host: Recognize fido.
11077
11078 2007-04-04 Janis Johnson <janis187@us.ibm.com>
11079
11080 * configure: Check host, not target, for decimal float support.
11081
11082 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
11083
11084 * config/i386/t-crtpc: New file.
11085 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
11086 (x86_64-*-linux*): Ditto.
11087
11088 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
11089
11090 * config.host (x86_64-*-mingw*): New target.
11091
11092 2007-03-23 Michael Meissner <michael.meissner@amd.com>
11093 H.J. Lu <hongjiu.lu@intel.com>
11094
11095 * Makefile.in (enable_decimal_float): New.
11096 (DECNUMINC): Add
11097 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11098 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11099 (decbits-filenames): This.
11100 (decbits-objects): New.
11101 (libgcc-objects): Add $(decbits-objects).
11102
11103 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11104 Substitute enable_decimal_float.
11105 * configure: Regenerated.
11106
11107 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
11108
11109 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11110
11111 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
11112
11113 * Makefile.in (install-info): New dummy target.
11114
11115 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
11116
11117 * config.host (bfin*-linux-uclibc*): Set extra_parts.
11118
11119 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
11120
11121 * Makefile.in: Add install-html and install-pdf dummy
11122 targets.
11123
11124 2007-02-05 Roger Sayle <roger@eyesopen.com>
11125 Daniel Jacobowitz <dan@codesourcery.com>
11126
11127 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11128 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11129 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11130
11131 2007-01-29 Janis Johnson <janis187@us.ibm.com>
11132
11133 * Makefile.in (dec-filenames): Add decExcept.
11134
11135 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11136
11137 PR bootstrap/30469
11138 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11139 -fprofile-use.
11140
11141 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
11142
11143 * configure.ac: Add --enable-version-specific-runtime-libs.
11144 Correct $slibdir default.
11145 * configure: Regenerated.
11146
11147 2007-01-23 Joseph Myers <joseph@codesourcery.com>
11148
11149 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11150
11151 2007-01-21 Andrew Pinski <pinskia@gmail.com>
11152
11153 PR target/30519
11154 * config.host (alpha*-*-linux*): Set extra_parts.
11155
11156 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
11157
11158 * config/sh/t-linux: New.
11159 * config.host (sh*-*-linux*): Set tmake_file.
11160
11161 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
11162
11163 * Makefile.in (install): Handle multilibs.
11164
11165 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11166
11167 * Makefile.in: Added .PHONY entry for documentation targets.
11168
11169 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11170
11171 * Makefile.in: Add empty info, html, dvi, pdf targets.
11172
11173 2007-01-04 Mike Stump <mrs@apple.com>
11174
11175 * Makefile.in (MAKEINFO): Remove.
11176 (PERL): Likewise.
11177
11178 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
11179
11180 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11181 * configure: Regenerate.
11182 * Makefile.in (host_subdir): Substitute it.
11183 (gcc_objdir): Use it.
11184
11185 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11186
11187 * config.host (ia64*-*-linux*): Set tmake_file.
11188
11189 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11190
11191 * Makefile.in (version): Define.
11192
11193 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11194 Paolo Bonzini <bonzini@gnu.org>
11195
11196 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11197 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11198 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11199 config/sparc/t-crtfm, config/t-slibgcc-darwin,
11200 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11201 shared-object.mk, siditi-object.mk, static-object.mk: New files.
11202 * configure: Generated.
11203 \f
11204 Copyright (C) 2007-2020 Free Software Foundation, Inc.
11205
11206 Copying and distribution of this file, with or without modification,
11207 are permitted in any medium without royalty provided the copyright
11208 notice and this notice are preserved.