Daily bump.
[gcc.git] / libgcc / ChangeLog
1 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
2
3 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
4 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
5
6 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
7
8 * config/msp430/lib2hw_mul.S (mult64_hw): New.
9 (if MUL_32): Use mult64_hw for __muldi3.
10 (if MUL_F5): Use mult64_hw for __muldi3.
11 * config/msp430/lib2mul.c (__muldi3): New.
12 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
13
14 2020-11-17 Alan Modra <amodra@gmail.com>
15
16 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
17 (LIB2_SIDITI_CONV_FUNCS): Define.
18 * config/rs6000/ppc64-fp.c: Delete file.
19
20 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
21
22 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
23 hwmult library functions.
24
25 2020-11-10 Jeff Law <law@redhat.com>
26
27 * libgcc2.c: Fix whitespace issues in most recent change.
28
29 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
30
31 * libgcc2.c (__addvSI3): Use overflow builtins.
32 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
33 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
34 (__negvsi2, __negvDI2): Likewise.
35 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
36 generated code.
37 * libgcc2.h (__ucmpdi2): Adjust prototype.
38
39 2020-11-03 Pat Bernardi <bernardi@adacore.com>
40 Olivier Hainque <hainque@adacore.com>
41
42 * config.host (aarch64-vxworks7*, tmake_file): Add
43 ${cpu_type}/t-lse and t-slibgcc-libgcc.
44
45 2020-11-03 Martin Storsjö <martin@martin.st>
46
47 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
48 before calling the callback.
49
50 2020-10-30 Olivier Hainque <hainque@adacore.com>
51 Douglas Rupp <rupp@adacore.com>
52 Pat Bernardi <bernardi@adacore.com>
53
54 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
55 to apply to VxWorks 7 as well.
56
57 2020-10-29 Olivier Hainque <hainque@adacore.com>
58
59 * config/gthr-vxworks-tls.c: Fix preprocessor logic
60 controlling the definition of VX_ENTER_TLS_DTOR and
61 VX_LEAVE_TLS_DTOR based on a version major check.
62
63 2020-10-29 Olivier Hainque <hainque@adacore.com>
64
65 * config/gthr-vxworks-thread.c: Fix name of macro used
66 to condition the inclusion of an actual implementation.
67
68 2020-10-27 Martin Liska <mliska@suse.cz>
69
70 PR gcov-profile/97461
71 * libgcov.h (gcov_counter_add): Use first static counters
72 as it should help to have malloc wrappers set up.
73
74 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
75
76 * config/gthr-vxworks-thread.c: #include gthr.h before
77 testing the guard defined there.
78 * config/gthr-vxworks-cond.c: Likewise.
79
80 2020-10-21 Douglas Rupp <rupp@adacore.com>
81 Olivier Hainque <hainque@adacore.com>
82
83 * config.host (powerpc*-wrs-vxworks7*): New case.
84 * configure.ac: Handle powerpc*-*-vxworks7* as
85 powerpc*-*-linux* for ppc-fp_type.
86 * configure: Regenerate.
87
88 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
89
90 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
91 section on VxWorks >= 6.
92 * config/gthr-vxworks-thread.c: Condition the entire
93 implementation on __GTHREAD_CXX0X.
94
95 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
96
97 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
98 section on VxWorks >= 6.
99 * config/gthr-vxworks-cond.c: Condition the entire
100 implementation on __GTHREAD_HAS_COND.
101
102 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
103
104 * config/gthr-vxworks.c: #include <taskLib.h>.
105
106 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
107
108 * config/gthr-vxworks.h: Rewrite remaining occurrence
109 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
110
111 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
112 Olivier Hainque <hainque@adacore.com>
113
114 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
115 except on VxWorks 6.
116
117 2020-10-16 Olivier Hainque <hainque@adacore.com>
118
119 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
120
121 2020-10-14 Alexandre Oliva <oliva@adacore.com>
122
123 * config/gthr-vxworks-thread.c: Include stdlib.h.
124 (tls_delete_hook): Prototype it.
125 (__gthread_cond_signal): Return early if no waiters. Consume
126 signal in case the semaphore got full. Use semInfoGet instead
127 of kernel-mode-only semInfo.
128 (__gthread_cond_timedwait): Use semExchange. Always take the
129 mutex again before returning.
130 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
131
132 2020-10-14 Olivier Hainque <hainque@adacore.com>
133
134 * config/t-vxworks (LIBGCC2_INCLUDES): Append
135 $(MULTISUBDIR) to the -I path for fixed headers, as we
136 arrange to have different sets of such headers for different
137 multilibs when they are activated.
138 * config/t-vxworks7: Likewise.
139
140 2020-10-14 Olivier Hainque <hainque@adacore.com>
141
142 * config/t-vxworks: Add include-fixed to include search
143 paths for libgcc on VxWorks.
144 * config/t-vxworks7: Likewise.
145
146 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
147
148 PR target/97148
149 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
150 instead of <cetintrin.h>.
151
152 2020-10-01 Alan Modra <amodra@gmail.com>
153
154 * config/rs6000/morestack.S,
155 * config/rs6000/tramp.S: Support __PCREL__ code.
156
157 2020-10-01 Alan Modra <amodra@gmail.com>
158
159 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
160
161 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
162
163 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
164 variable.
165
166 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
167
168 * config/aarch64/libgcc-softfp.ver: New file.
169 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
170
171 2020-09-27 Clement Chigot <clement.chigot@atos.net>
172
173 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
174
175 2020-09-22 Sergei Trofimovich <siarheit@google.com>
176
177 PR gcov-profile/96913
178 * libgcov-driver.c (write_one_data): Avoid function pointer
179 comparison in TOP streaming decision.
180
181 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
182 Christophe Lyon <christophe.lyon@linaro.org>
183
184 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
185 qualifier.
186 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
187 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
188 missing prototypes.
189
190 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
191
192 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
193 unused variable warning.
194
195 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
196
197 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
198
199 2020-09-09 Tom de Vries <tdevries@suse.de>
200
201 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
202 Wbuiltin-declaration-mismatch.
203
204 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
205
206 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
207 * config/msp430/srai.S (__gnu_mspabi_srap): New.
208 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
209
210 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
211
212 * config/nvptx/atomic.c: New.
213 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
214
215 2020-08-03 Ian Lance Taylor <iant@golang.org>
216
217 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
218
219 2020-08-03 Jakub Jelinek <jakub@redhat.com>
220
221 PR target/96402
222 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
223 of x(tmp0), x(tmp1) in STXP arguments.
224
225 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
226
227 * config/riscv/save-restore.S [__riscv_xlen == 64]
228 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
229 (__riscv_save_2): Replace negative immediates used for the final
230 stack pointer adjustment with positive ones, right-shifted by 4.
231
232 2020-07-31 Martin Liska <mliska@suse.cz>
233
234 * libgcov-driver.c: Add __gcov_kvp_pool
235 and __gcov_kvp_pool_index variables.
236 * libgcov.h (allocate_gcov_kvp): New.
237 (gcov_topn_add_value): Use it.
238
239 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
240
241 * config/aarch64/lse.S: Add PAC property note.
242
243 2020-07-23 Martin Liska <mliska@suse.cz>
244
245 PR gcov-profile/96035
246 * libgcov-driver-system.c: Create gcov folders with 0777
247 so that it respects a system umask.
248
249 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
250
251 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
252
253 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
254
255 PR target/94891
256 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
257 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
258 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
259 (MD_DEMANGLE_RETURN_ADDR): This.
260 (aarch64_post_extract_frame_addr): Rename to ...
261 (aarch64_demangle_return_addr): This.
262 (aarch64_post_frob_eh_handler_addr): Remove.
263 * unwind-dw2.c (uw_update_context): Demangle return address.
264 (uw_frob_return_addr): Remove.
265
266 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
267
268 PR target/96001
269 * config/aarch64/lse.S: Add BTI marking and related definitions,
270 and add BTI c to function entries.
271
272 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
273
274 * config/aarch64/lse.S: Add stack note.
275
276 2020-07-02 Martin Liska <mliska@suse.cz>
277
278 PR gcov-profile/95348
279 * libgcov-driver.c (merge_one_data): Merge only profiles
280 that are not of non-zero type.
281 (write_one_data): Write counters only if there's one non-zero
282 value.
283 * libgcov-util.c (tag_function): Change signature from unsigned
284 to int.
285 (tag_blocks): Likewise.
286 (tag_arcs): Likewise.
287 (tag_counters): Likewise.
288 (tag_summary): Likewise.
289 (tag_lines): Read only if COUNTERS is non-zero.
290 (read_gcda_file): Handle negative length for COUNTERS type.
291
292 2020-06-25 Martin Liska <mliska@suse.cz>
293
294 * libgcov-driver.c (merge_summary): Remove function as its name
295 is misleading and doing something different.
296 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
297 in gcov-tool.
298 * libgcov-util.c (curr_object_summary): Remove.
299 (read_gcda_file): Remove unused curr_object_summary.
300 (gcov_merge): Merge summaries.
301 * libgcov.h: Add summary argument for gcov_info struct.
302
303 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
304
305 PR target/95259
306 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
307 "common/config/i386/i386-cpuinfo.h" and
308 "common/config/i386/cpuinfo.h".
309 (__cpu_features2): Changed to array.
310 (get_amd_cpu): Removed.
311 (get_intel_cpu): Likewise.
312 (get_available_features): Likewise.
313 (__cpu_indicator_init): Call cpu_indicator_init.
314 * config/i386/cpuinfo.h: Removed.
315
316 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
317
318 * Makefile.in: Remove uses of empty.mk. Use -include.
319 * config/avr/t-avr: Use -include.
320 * empty.mk: Delete.
321
322 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
323
324 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
325 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
326 and 64 bit with -maix64.
327 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
328 Build and install AIX-style FAT libraries.
329
330 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
331
332 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
333 'i386/gnu-unwind.h'
334 * config/i386/gnu-unwind.h: New file.
335
336 2020-06-17 Martin Liska <mliska@suse.cz>
337
338 * libgcov-util.c (read_gcda_finalize): Remove const operator.
339 (merge_wrapper): Add both counts and use them properly.
340 (topn_to_memory_representation): New function.
341 (gcov_merge): Covert on disk representation to in memory
342 representation.
343 * libgcov.h: Remove const operator.
344
345 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
346
347 * configure: Regenerate.
348 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
349 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
350
351 2020-06-09 Martin Liska <mliska@suse.cz>
352
353 PR gcov-profile/95494
354 * libgcov-driver.c (write_top_counters): Cast first to
355 intptr_t as sizeof(*) != sizeof(gcov_type).
356 * libgcov.h (gcov_counter_set_if_null): Remove.
357 (gcov_topn_add_value): Cast first to intptr_t and update
358 linked list directly.
359
360 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
361
362 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
363 with uw_install_context_1.
364
365 2020-06-04 Andreas Schwab <schwab@suse.de>
366
367 PR target/59230
368 PR libfortran/59227
369 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
370 soft-fp/divtf3.c.
371 (LIB2ADD): Add config/ia64/divtf3.c.
372 * config/ia64/divtf3.c: New file.
373
374 2020-06-03 Martin Liska <mliska@suse.cz>
375
376 PR gcov-profile/95480
377 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
378 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
379 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
380 (gcov_counter_set_if_null): Likewise.
381
382 2020-06-02 Jim Wilson <jimw@sifive.com>
383
384 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
385 to bgtz.
386
387 2020-06-02 Martin Liska <mliska@suse.cz>
388
389 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
390 of xmalloc.
391
392 2020-06-02 Martin Liska <mliska@suse.cz>
393
394 * libgcov-driver.c (prune_topn_counter): Remove.
395 (prune_counters): Likewise.
396 (merge_one_data): Special case TOP N counters
397 as they have variable length.
398 (write_top_counters): New.
399 (write_one_data): Special case TOP N.
400 (dump_one_gcov): Do not prune TOP N counters.
401 * libgcov-merge.c (merge_topn_values_set): Remove.
402 (__gcov_merge_topn): Use gcov_topn_add_value.
403 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
404 Likewise here.
405 * libgcov.h (gcov_counter_add): New.
406 (gcov_counter_set_if_null): Likewise.
407 (gcov_topn_add_value): New.
408
409 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
410
411 * config/i386/sfp-exceptions.c (struct fenv):
412 Add __attribute__ ((gcc_struct)).
413
414 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
415
416 PR bootstrap/95413
417 * configure: Regenerated.
418
419 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
420
421 PR gcov-profile/95332
422 * libgcov-util.c (read_gcda_file): Call gcov_magic.
423 * libgcov.h (gcov_magic): Disable GCC poison.
424
425 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
426
427 PR target/95212
428 * config/i386/cpuinfo.h (processor_features): Move
429 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
430
431 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
432
433 PR target/91695
434 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
435 check.
436
437 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
438
439 PR target/95212
440 PR target/95220
441 * config/i386/cpuinfo.c (get_available_features): Fix
442 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
443 * config/i386/cpuinfo.h (processor_features): Add
444 FEATURE_AVX512VP2INTERSECT.
445
446 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
447
448 PR bootstrap/95147
449 * configure: Regenerated.
450
451 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
452
453 * configure: Regenerated.
454
455 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
456
457 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
458 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
459
460 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
461
462 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
463 (__math_force_eval_div): New define.
464 (__sfp_handle_exceptions): Use __math_force_eval_div to use
465 generic division to generate INVALID, DIVZERO and INEXACT
466 exceptions.
467
468 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
469
470 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
471 instead of getauxval.
472 (AT_HWCAP): Define.
473 (HWCAP_ATOMICS): Define.
474 Guard detection on __gnu_linux__.
475
476 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
477
478 * config.host: Delete changes meant for a private branch.
479 * config/rs6000/t-float128: Likewise.
480 * configure.ac: Likewise.
481 * configure: Likewise.
482
483 2020-05-05 Martin Liska <mliska@suse.cz>
484
485 PR gcov-profile/93623
486 * Makefile.in: Remove __gcov_flush.
487 * gcov.h (__gcov_flush): Remove.
488 * libgcov-interface.c (__gcov_flush): Remove.
489 (init_mx): Use renamed mutex.
490 (__gcov_lock): Likewise.
491 (__gcov_unlock): Likewise.
492 (__gcov_fork): Likewise.
493 (__gcov_flush): Remove.
494
495 2020-05-05 Martin Liska <mliska@suse.cz>
496
497 PR gcov-profile/93623
498 * libgcov-interface.c (__gcov_fork): Do not flush
499 and reset only in child process.
500 (__gcov_execl): Dump counters only and reset them
501 only if exec* fails.
502 (__gcov_execlp): Likewise.
503 (__gcov_execle): Likewise.
504 (__gcov_execv): Likewise.
505 (__gcov_execvp): Likewise.
506 (__gcov_execve): Likewise.
507
508 2020-05-05 Martin Liska <mliska@suse.cz>
509
510 PR gcov-profile/93623
511 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
512 * libgcov-interface.c (ALIAS_void_fn): Remove.
513 (__gcov_lock): New.
514 (__gcov_unlock): New.
515 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
516 (__gcov_reset): Likewise.
517 (__gcov_dump): Likewise.
518 * libgcov.h (__gcov_lock): New declaration.
519 (__gcov_unlock): Likewise.
520
521 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
522
523 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
524 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
525 generic division to generate INVALID and DIVZERO exceptions.
526
527 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
528
529 * config/rs6000/crtresfpr.S: Use .machine ppc.
530 * config/rs6000/crtresxfpr.S: Likewise.
531 * config/rs6000/crtsavfpr.S: Likewise.
532
533 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
534
535 PR target/94514
536 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
537 Update context->flags accroding to the frame state.
538
539 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
540
541 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
542 Remove unneeded assignments to volatile memory.
543
544 2020-04-15 Jakub Jelinek <jakub@redhat.com>
545
546 PR target/93053
547 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
548 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
549 is not defined, use just .arch armv8-a.
550 (B, M, N, OPN): Define.
551 (COMMENT): New .macro.
552 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
553 defined. Otherwise, move the operands right after the glue? and
554 comment out operands where the macros are used.
555 * configure: Regenerated.
556 * config.in: Regenerated.
557
558 2020-04-07 Ian Lance Taylor <iant@golang.org>
559
560 PR libgcc/94513
561 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
562 syscall instead.
563
564 2020-04-04 Ian Lance Taylor <iant@golang.org>
565
566 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
567
568 2020-04-03 Ian Lance Taylor <iant@golang.org>
569
570 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
571 than mmap/munmap, to avoid hooks.
572
573 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
574
575 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
576 (TPFRA_OFFSET): Macros removed.
577 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
578 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
579 (PG3_SKIPPING_OFFSET): New macros.
580 (__isPATrange): Use cinfc_fast for the check.
581 (__isSkipResetAddr): New function.
582 (s390_fallback_frame_state): Check for skip trace addresses. Use
583 either ICST_CRET or ICST_SRET to calculate return address
584 location.
585 (__tpf_eh_return): Handle skip trace addresses.
586
587 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
588
589 PR target/94220
590 * config/arm/lib1funcs.asm (COND): Use a single definition for
591 unified syntax.
592 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
593 (aeabi_idivmod): Likewise.
594 (divsi3_skip_div0_test): Likewise.
595
596 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
597
598 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
599
600 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
601
602 * config.host: Include the new makefile fragment.
603 * config/s390/t-tpf: New file.
604
605 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
606
607 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
608 syntax.
609 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
610 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
611 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
612 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
613 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
614 syntax.
615 (divsi3, modsi3): Likewise.
616 (clzdi2, ctzsi2): Likewise.
617 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
618 unified syntax.
619 (UNWIND_WRAPPER): Likewise.
620
621 2020-03-02 Martin Liska <mliska@suse.cz>
622
623 * libgcov-interface.c: Remove duplicate
624 declaration of __gcov_flush_mx.
625
626 2020-02-18 Martin Liska <mliska@suse.cz>
627
628 PR ipa/92924
629 * libgcov-merge.c (merge_topn_values_set): Record
630 when a TOP N counter becomes invalid. When merging
631 remove a smallest value if the space is needed.
632
633 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
634
635 PR libstdc++/79193
636 PR libstdc++/88999
637
638 * configure: Regenerated.
639
640 2020-02-10 Jeff Law <law@redhat.com>
641
642 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
643 sections.
644 * config/frv/frvend.c: Similarly.
645
646 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
647
648 PR libgcc/85334
649 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
650 New.
651
652 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
653
654 PR target/93615
655 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
656 _Unwind_gnu_Find_got.
657 * unwind-pe.h: Likewise.
658
659 2020-02-07 Jakub Jelinek <jakub@redhat.com>
660
661 PR target/93615
662 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
663 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
664 trailing :s in asm. Formatting fixes.
665 (_Unwind_decode_typeinfo_ptr): Adjust caller.
666
667 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
668
669 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
670
671 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
672 * config/nios2-elf-lib.h: New.
673 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
674 code for finding GOT base for nios2.
675
676 2020-01-27 Martin Liska <mliska@suse.cz>
677
678 PR gcov-profile/93403
679 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
680 Call __gcov_indirect_call_profiler_body.
681 (__gcov_indirect_call_profiler_body): New.
682 (__gcov_indirect_call_profiler_v4_atomic): New.
683 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
684 New declaration.
685
686 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
687
688 * config/arc/crti.S: Add RF16 object attribute.
689 * config/arc/crtn.S: Likewise.
690 * config/arc/crttls.S: Likewise.
691 * config/arc/lib1funcs.S: Likewise.
692 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
693 * config/arc/lib2funcs.c: New file.
694 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
695
696 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
697
698 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
699 * configure.ac: Handle `--with-toolexeclibdir='.
700 * configure: Regenerate.
701
702 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
703
704 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
705
706 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
707
708 * config/mips/gnustack.h: New file.
709 * config/mips/crti.S: Include gnustack.h.
710 * config/mips/crtn.S: Likewise.
711 * config/mips/mips16.S: Likewise.
712 * config/mips/vr4120-div.S: Likewise.
713
714 2020-01-23 Martin Liska <mliska@suse.cz>
715
716 * libgcov-driver.c (prune_topn_counter): Remove
717 check for -1 as we only prune run-time counters
718 that do not generate an invalid state.
719
720 2020-01-22 Martin Liska <mliska@suse.cz>
721
722 PR tree-optimization/92924
723 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
724 try to find an existing value, then find an empty slot
725 if not found.
726
727 2020-01-22 Martin Liska <mliska@suse.cz>
728
729 PR tree-optimization/92924
730 * libgcov-driver.c (prune_topn_counter): New.
731 (prune_counters): Likewise.
732 (dump_one_gcov): Prune a run-time counter.
733 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
734 For a known value, add GCOV_TOPN_VALUES to value.
735 Otherwise, decrement all counters by one.
736
737 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
738
739 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
740
741 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
742
743 PR libgcc/92988
744 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
745 DEFAULT_USE_CXA_ATEXIT is true.
746
747 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
748 Thomas Preud'homme <thomas.preudhomme@arm.com>
749
750 * config/arm/t-arm: Check return value of gcc rather than lack of
751 output.
752
753 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
754
755 * config/avr/lib1funcs.S (skip): Simplify.
756
757 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
758
759 * config/gcn/atomic.c: Remove include of stdint.h.
760 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
761 __UINTPTR_TYPE__.
762
763 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
764
765 * config/gcn/atomic.c: New.
766 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
767
768 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
769
770 Implement 64-bit double functions.
771
772 PR target/92055
773 * config.host (tmake_file) [target=avr]: Add t-libf7,
774 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
775 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
776 depending on sizeof (double) or sizeof (long double).
777 * config/avr/libf7: New folder.
778
779 2020-01-05 Olivier Hainque <hainque@adacore.com>
780
781 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
782 by IN_LIBGCC2.
783
784 2020-01-01 Jakub Jelinek <jakub@redhat.com>
785
786 Update copyright years.
787
788 2019-12-30 Olivier Hainque <hainque@adacore.com>
789
790 * config/gthr-vxworks.h: Use _vxworks-versions.h.
791 * config/gthr-vxworks-tls.c: Likewise.
792
793 2019-12-30 Olivier Hainque <hainque@adacore.com>
794
795 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
796 standard zero-initializer syntax.
797
798 2019-12-30 Olivier Hainque <hainque@adacore.com>
799
800 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
801 reference to the internal VX_GET_TLS_DATA interface.
802
803 2019-12-30 Olivier Hainque <hainque@adacore.com>
804
805 * config/vxcrtstuff.c: Fix incorrect spelling of
806 USE_INITFINI_ARRAY in guard.
807
808 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
809
810 * config.host: s/msp430*-*-elf/msp430-*-elf*.
811 Override default "extra_parts" variable.
812 * configure: Regenerate.
813 * configure.ac: Disable TM clone registry by default for
814 msp430-elfbare.
815
816 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
817
818 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
819 "extra_parts".
820 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
821
822 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
823
824 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
825 true.
826
827 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
828
829 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
830 defined instead of its value.
831
832 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
833
834 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
835 if it will have contents.
836
837 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
838
839 PR target/92055
840 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
841
842 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
843
844 PR libgcc/91737
845 * config.host: Add t-gthr-noweak on *-*-musl*.
846 * config/t-gthr-noweak: New file.
847
848 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
849
850 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
851 volatile void *. Remove trap check.
852 (__kernel_cmpxchg2): Likewise.
853 (FETCH_AND_OP_2): Adjust operand types.
854 (OP_AND_FETCH_2): Likewise.
855 (FETCH_AND_OP_WORD): Likewise.
856 (OP_AND_FETCH_WORD): Likewise.
857 (COMPARE_AND_SWAP_2): Likewise.
858 (__sync_val_compare_and_swap_4): Likewise.
859 (__sync_bool_compare_and_swap_4): Likewise.
860 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
861 (__sync_lock_test_and_set_4): Likewise.
862 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
863 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
864 for release.
865 (__sync_lock_release_8): Remove.
866
867 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
868
869 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
870 of __sigset_t.
871
872 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
873 Doug Rupp <rupp@adacore.com>
874 Olivier Hainque <hainque@adacore.com>
875
876 * config.host: Collapse the arm-vxworks entries into
877 a single arm-wrs-vxworks7* one.
878 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
879 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
880 kernel modules, to be overriden by libstdc++ when we link with
881 it. Rely on externally provided __exidx_start/end.
882
883 2019-11-14 Doug Rupp <rupp@adacore.com>
884 Olivier Hainque <hainque@adacore.com>
885
886 * config.host: Handle aarch64*-wrs-vxworks7*.
887
888 2019-11-12 Olivier Hainque <hainque@adacore.com>
889
890 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
891 sources except the cxx0x support to LIB2ADDEH. We don't support
892 cxx0x on AE/653.
893 * config/t-vxworksae: New file.
894 * config.host: Handle *-*-vxworksae: Add the two aforementioned
895 Makefile fragment files at their expected position in the tmake_file
896 list, in accordance with what is done for other VxWorks variants.
897
898 2019-11-12 Corentin Gay <gay@adacore.com>
899 Jerome Lambourg <lambourg@adacore.com>
900 Olivier Hainque <hainque@adacore.com>
901
902 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
903 sources to LIB2ADDEH.
904 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
905 * config/t-vxworks7: Likewise.
906
907 * config.host: Append a block at the end of the file to add the
908 t-gthr files to the tmake_file list for VxWorks after everything
909 else.
910
911 * config/vxlib.c: Rename as gthr-vxworks.c.
912 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
913
914 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
915 API and a basic error checking API, both internal. Simplify the
916 __gthread_once_t type definition and initializers. Add sections
917 for condition variables support and for the C++0x thread support,
918 conditioned against Vx653 for the latter.
919
920 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
921 implementation, leveraging the TAS internal API.
922 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
923 API, leveraging the general availability of TLS services in VxWorks7
924 post SR6xxx.
925 (__gthread_setspecific, __gthread_setspecific): Use it.
926 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
927 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
928 support based on VxWorks primitives.
929 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
930 based on VxWorks primitives.
931
932 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
933 Olivier Hainque <hainque@adacore.com>
934
935 * config/vxcrtstuff.c: New file.
936 * config/t-vxcrtstuff: New Makefile fragment.
937 * config.host: Append t-vxcrtstuff to the tmake_file list
938 on all VxWorks ports using dwarf for table based EH.
939
940 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
941
942 Support 64-bit double and 64-bit long double configurations.
943
944 PR target/92055
945 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
946 long double is a 32-bit type.
947 * config/avr/t-avrlibc: Copy double64 and long-double64
948 multilib(s) from the vanilla one.
949 * config/avr/t-copy-libgcc: New Makefile snip.
950
951 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
952
953 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
954 the target output object format is not ELF.
955 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
956
957 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
958
959 PR libgcc/78804
960 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
961 * fp-bit.c (pack_d, unpack_d): Remove special cases for
962 FLOAT_BIT_ORDER_MISMATCH.
963 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
964
965 2019-11-01 Jim Wilson <jimw@sifive.com>
966
967 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
968
969 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
970
971 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
972 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
973 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
974 Define symbols for 32-bit and f5series hardware multiply
975 register addresses.
976 Replace hard-coded register addresses with symbols.
977 Fix "_mspabi*" typo.
978 Fix whitespace.
979 * config/msp430/lib2mul.c: Add comment.
980
981 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
982
983 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
984 unsigned int. Adjust callers.
985 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
986 unsigned int *. Load relocation offset before function pointer.
987 Add barrier to ensure ordering.
988
989 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
990
991 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
992 Load PIC register after branch target. Fix white space.
993 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
994 implementations. Load PIC register after branch target. Don't
995 clobber function pointer when it points to function descriptor.
996 Use nullification instead of branch in LINUX implementation.
997
998 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
999
1000 * config/pa/fptr.c: Disable -Warray-bounds warning.
1001
1002 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
1003
1004 * config.in, configure: Re-rebuild with stock autoconf 2.69,
1005 not the ubuntu modified 2.69.
1006
1007 PR target/91833
1008 * config/aarch64/lse-init.c: Include auto-target.h. Disable
1009 initialization if !HAVE_SYS_AUXV_H.
1010 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1011 * config.in, configure: Rebuild.
1012
1013 PR target/91834
1014 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1015 overlap the inputs.
1016
1017 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
1018
1019 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1020 CTR_EL0.IDC and CTR_EL0.DIC.
1021
1022 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
1023
1024 Revert:
1025 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1026 Mickaël Guêné <mickael.guene@st.com>
1027
1028 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1029 architecture.
1030
1031 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
1032
1033 * config/aarch64/lse-init.c: New file.
1034 * config/aarch64/lse.S: New file.
1035 * config/aarch64/t-lse: New file.
1036 * config.host: Add t-lse to all aarch64 tuples.
1037
1038 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1039 Mickaël Guêné <mickael.guene@st.com>
1040
1041 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1042 architecture.
1043
1044 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1045 Mickaël Guêné <mickael.guene@st.com>
1046
1047 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1048 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1049 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1050 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1051 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1052 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1053 (__gnu_personality_sigframe_fdpic): New.
1054 (get_eit_entry): Add FDPIC signal frame support.
1055
1056 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1057 Mickaël Guêné <mickael.guene@st.com>
1058
1059 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1060 (__kernel_dmb): Likewise.
1061 (__fdpic_cmpxchg): New function.
1062 (__fdpic_dmb): New function.
1063 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1064 (gnu_Unwind_Find_got): New function.
1065 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1066 * unwind-arm-common.inc (UCB_PR_GOT): New.
1067 (funcdesc_t): New struct.
1068 (get_eit_entry): Add FDPIC support.
1069 (unwind_phase2): Likewise.
1070 (unwind_phase2_forced): Likewise.
1071 (__gnu_Unwind_RaiseException): Likewise.
1072 (__gnu_Unwind_Resume): Likewise.
1073 (__gnu_Unwind_Backtrace): Likewise.
1074 * unwind-pe.h (read_encoded_value_with_base): Likewise.
1075
1076 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1077 Mickaël Guêné <mickael.guene@st.com>
1078
1079 * libgcc/crtstuff.c: Add support for FDPIC.
1080
1081 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1082
1083 * config.host: Handle *-*-uclinuxfdpiceabi.
1084
1085 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1086
1087 * config.host: Set cpu_type for bpf-*-* targets.
1088 * config/bpf/t-bpf: Likewise.
1089 * config/bpf/crtn.S: Likewise.
1090 * config/bpf/crti.S: New file.
1091
1092 2019-09-06 Jim Wilson <jimw@sifive.com>
1093
1094 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1095 (riscv*-*-freebsd*): Likewise.
1096
1097 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
1098
1099 * config.host: Remove references to spu.
1100 * config/spu/: Remove directory.
1101
1102 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1103
1104 PR target/91306
1105 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1106 element type, instead of "sizeof" the element type.
1107 (__DTOR_LIST__): Likewise.
1108 (__TMC_LIST__): Likewise.
1109 (__do_global_dtors_aux_fini_array_entry): Likewise.
1110 (__frame_dummy_init_array_entry): Likewise.
1111 (__CTOR_END__): Likewise.
1112 (__DTOR_END__): Likweise.
1113 (__FRAME_END__): Likewise.
1114 (__TMC_END__): Likewise.
1115
1116 2019-08-20 Lili Cui <lilicui@intel.com>
1117
1118 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1119 INTEL_COREI7_COOPERLAKE.
1120
1121 2019-07-31 Matt Thomas <matt@3am-software.com>
1122 Nick Hudson <nick@nthcliff.demon.co.uk>
1123 Matthew Green <mrg@eterna.com.au>
1124 Maya Rashish <coypu@sdf.org>
1125
1126 * config.host (hppa*-*-netbsd*): New case.
1127 * config/pa/t-netbsd: New file.
1128
1129 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
1130
1131 * config/arm/cmse.c (cmse_check_address_range): Add
1132 warn_unused_result attribute.
1133
1134 2019-07-22 Martin Liska <mliska@suse.cz>
1135
1136 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1137 * config/pa/t-stublib: Likewise.
1138
1139 2019-07-22 Stafford Horne <shorne@gmail.com>
1140
1141 PR target/90362
1142 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1143 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1144 instructions are not available on every processor. Change a
1145 l.bnf to l.bf to fix logic issue.
1146
1147 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
1148
1149 * config.host: Remove reference to t-darwin8.
1150
1151 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
1152
1153 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1154 list.
1155 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
1156 mmacosx-version-min for crts to run across all system versions.
1157 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1158 * config/t-darwin: Revise mmacosx-version-min for crts to run across
1159 system versions >= 10.4.
1160
1161 2019-07-03 Martin Liska <mliska@suse.cz>
1162
1163 * Makefile.in: Use topn_values instead of one_value names.
1164 * libgcov-merge.c (__gcov_merge_single): Move to ...
1165 (__gcov_merge_topn): ... this.
1166 (merge_single_value_set): Move to ...
1167 (merge_topn_values_set): ... this.
1168 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1169 ...
1170 (__gcov_topn_values_profiler_body): ... this.
1171 (__gcov_one_value_profiler_v2): Move to ...
1172 (__gcov_topn_values_profiler): ... this.
1173 (__gcov_one_value_profiler_v2_atomic): Move to ...
1174 (__gcov_topn_values_profiler_atomic): ... this.
1175 (__gcov_indirect_call_profiler_v4): Remove.
1176 * libgcov-util.c (__gcov_single_counter_op): Move to ...
1177 (__gcov_topn_counter_op): ... this.
1178 * libgcov.h (L_gcov_merge_single): Remove.
1179 (L_gcov_merge_topn): New.
1180 (__gcov_merge_single): Remove.
1181 (__gcov_merge_topn): New.
1182 (__gcov_one_value_profiler_v2): Move to ..
1183 (__gcov_topn_values_profiler): ... this.
1184 (__gcov_one_value_profiler_v2_atomic): Move to ...
1185 (__gcov_topn_values_profiler_atomic): ... this.
1186
1187 2019-07-03 Martin Liska <mliska@suse.cz>
1188
1189 * libgcov-merge.c (merge_single_value_set): Support N values.
1190 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1191
1192 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
1193
1194 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1195 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1196 * configure.ac: Add --disable-tm-clone-registry option.
1197 * configure: Regenerate.
1198
1199 2019-06-27 Martin Liska <mliska@suse.cz>
1200
1201 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1202 dead assignments.
1203 * libgcov-util.c: Likewise.
1204
1205 2019-06-27 Martin Liska <mliska@suse.cz>
1206
1207 * libgcov-util.c (gcov_profile_merge): Release allocated
1208 memory.
1209 (calculate_overlap): Likewise.
1210
1211 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
1212
1213 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1214 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1215 Build objects for the out of line save/restore register functions
1216 so that they can be used for any supported Darwin version.
1217 * config/t-darwin: Default the build Darwin version to Darwin8
1218 (MacOS 10.4).
1219
1220 2019-06-25 Martin Liska <mliska@suse.cz>
1221
1222 * libgcov-driver-system.c (replace_filename_variables): Do not
1223 call strlen with NULL argument.
1224
1225 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
1226
1227 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1228 * config/gcn/unwind-gcn.c: New file.
1229
1230 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
1231 Andrew Stubbs <ams@codesourcery.com>
1232
1233 * configure: Regenerate.
1234 * config/gcn/gthr-gcn.h: New.
1235
1236 2019-06-18 Tom de Vries <tdevries@suse.de>
1237
1238 * config/nvptx/crt0.c (__main): Declare.
1239
1240 2019-06-17 Matthew Green <mrg@eterna.com.au>
1241 Maya Rashish <coypu@sdf.org>
1242
1243 * config.host (aarch64*-*-netbsd*): New case.
1244
1245 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1246
1247 * config/msp430/slli.S (__mspabi_sllll): New library function for
1248 performing a logical left shift of a 64-bit value.
1249 * config/msp430/srai.S (__mspabi_srall): New library function for
1250 performing a arithmetic right shift of a 64-bit value.
1251 * config/msp430/srll.S (__mspabi_srlll): New library function for
1252 performing a logical right shift of a 64-bit value.
1253
1254 2019-06-14 Matt Thomas <matt@3am-software.com>
1255 Matthew Green <mrg@eterna.com.au>
1256 Nick Hudson <skrll@netbsd.org>
1257 Maya Rashish <coypu@sdf.org>
1258
1259 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1260 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1261 functions to build.
1262 * config/arm/t-netbsd-eabi: New file.
1263
1264 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
1265
1266 * config.host: Add PRU target.
1267 * config/pru/asri.c: New file.
1268 * config/pru/eqd.c: New file.
1269 * config/pru/eqf.c: New file.
1270 * config/pru/ged.c: New file.
1271 * config/pru/gef.c: New file.
1272 * config/pru/gtd.c: New file.
1273 * config/pru/gtf.c: New file.
1274 * config/pru/led.c: New file.
1275 * config/pru/lef.c: New file.
1276 * config/pru/lib2bitcountHI.c: New file.
1277 * config/pru/lib2divHI.c: New file.
1278 * config/pru/lib2divQI.c: New file.
1279 * config/pru/lib2divSI.c: New file.
1280 * config/pru/libgcc-eabi.ver: New file.
1281 * config/pru/ltd.c: New file.
1282 * config/pru/ltf.c: New file.
1283 * config/pru/mpyll.S: New file.
1284 * config/pru/pru-abi.h: New file.
1285 * config/pru/pru-asm.h: New file.
1286 * config/pru/pru-divmod.h: New file.
1287 * config/pru/sfp-machine.h: New file.
1288 * config/pru/t-pru: New file.
1289
1290 2019-06-11 Jakub Jelinek <jakub@redhat.com>
1291
1292 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1293
1294 2019-06-10 Martin Liska <mliska@suse.cz>
1295
1296 PR bootstrap/90808
1297 * libgcov.h: Add ATTRIBUTE_UNUSED.
1298
1299 2019-06-10 Martin Liska <mliska@suse.cz>
1300
1301 * Makefile.in: Add __gcov_one_value_profiler_v2,
1302 __gcov_one_value_profiler_v2_atomic and
1303 __gcov_indirect_call_profiler_v4.
1304 * libgcov-merge.c (__gcov_merge_single): Change
1305 function signature.
1306 (merge_single_value_set): New.
1307 * libgcov-profiler.c (__gcov_one_value_profiler_body):
1308 Update functionality.
1309 (__gcov_one_value_profiler): Remove.
1310 (__gcov_one_value_profiler_v2): ... this.
1311 (__gcov_one_value_profiler_atomic): Rename to ...
1312 (__gcov_one_value_profiler_v2_atomic): this.
1313 (__gcov_indirect_call_profiler_v3): Rename to ...
1314 (__gcov_indirect_call_profiler_v4): ... this.
1315 * libgcov.h (__gcov_one_value_profiler): Remove.
1316 (__gcov_one_value_profiler_atomic): Remove.
1317 (__gcov_one_value_profiler_v2_atomic): New.
1318 (__gcov_indirect_call_profiler_v3): Remove.
1319 (__gcov_one_value_profiler_v2): New.
1320 (__gcov_indirect_call_profiler_v4): New.
1321 (gcov_get_counter_ignore_scaling): New function.
1322
1323 2019-06-07 Martin Liska <mliska@suse.cz>
1324
1325 * Makefile.in: Remove usage of
1326 _gcov_merge_icall_topn.
1327 * libgcov-driver.c (gcov_sort_n_vals): Remove.
1328 (gcov_sort_icall_topn_counter): Likewise.
1329 (gcov_sort_topn_counter_arrays): Likewise.
1330 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1331 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1332 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1333 Likewise.
1334 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1335 (struct indirect_call_tuple): Remove.
1336 (__gcov_indirect_call_topn_profiler): Remove.
1337 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1338 * libgcov.h (gcov_sort_n_vals): Remove.
1339 (L_gcov_merge_icall_topn): Likewise.
1340 (__gcov_merge_icall_topn): Likewise.
1341 (__gcov_indirect_call_topn_profiler): Likewise.
1342
1343 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
1344
1345 * config/rs6000/t-darwin: Ensure that the unwinder is built with
1346 altivec enabled.
1347
1348 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1349
1350 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1351 section.
1352 (__mspabi_slli): Likewise.
1353 (__mspabi_slll_n): Likewise.
1354 (__mspabi_slll): Likewise.
1355 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1356 (__mspabi_srai): Likewise.
1357 (__mspabi_sral_n): Likewise.
1358 (__mspabi_sral): Likewise.
1359 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1360 (__mspabi_srli): Likewise.
1361 (__mspabi_srll_n): Likewise.
1362 (__mspabi_srll): Likewise.
1363
1364 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1365
1366 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1367 Add appropriate tm_file clause as well.
1368 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1369
1370 2019-06-05 James Clarke <jrtc27@jrtc27.com>
1371
1372 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1373 rather than .data/.bss so it can be accessed via gp-relative
1374 addressing.
1375
1376 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
1377
1378 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1379 (CR2_REGNO): Rename to R_CR2.
1380 (XER_REGNO): Rename to R_XER.
1381 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1382 (VRSAVE_REGNO): Rename to R_VRSAVE.
1383 (VSCR_REGNO): R_VSCR.
1384
1385 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
1386
1387 * config.host (rx-*-linux*): Add new case.
1388 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1389
1390 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
1391
1392 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1393 function.
1394 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1395 aarch64_post_frob_eh_handler_addr): Add check for b-key.
1396 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1397 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1398 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1399 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1400 string.
1401 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1402 string.
1403 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1404
1405 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1406
1407 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1408 Remove Solaris 9 and 10 support.
1409 (sparc_is_sighandler): Likewise.
1410
1411 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
1412
1413 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1414
1415 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
1416
1417 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1418 4_FP_W_TYPEs are used for IEEE quad precision.
1419 * soft-fp/extendhftf2.c: Likewise.
1420 * soft-fp/extendsftf2.c: Likewise.
1421 * soft-fp/extendxftf2.c: Likewise.
1422 * soft-fp/trunctfdf2.c: Likewise.
1423 * soft-fp/trunctfhf2.c: Likewise.
1424 * soft-fp/trunctfsf2.c: Likewise.
1425 * soft-fp/trunctfxf2.c: Likewise.
1426 * config/rs6000/ibm-ldouble.c: Likewise.
1427
1428 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1429
1430 * config.host: Simplify various *-*-solaris2.1[0-9]* to
1431 *-*-solaris2*.
1432 * configure.ac: Likewise.
1433 * configure: Regenerate.
1434
1435 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1436 Solaris 10 and Solaris 11 < snv_125 handling.
1437
1438 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
1439
1440 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1441
1442 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
1443
1444 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1445 * config/i386/cpuinfo.h (enum processor_features): Add
1446 FEATURE_AVX512BF16.
1447
1448 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1449 Bernd Edlinger <bernd.edlinger@hotmail.de>
1450 Jakub Jelinek <jakub@redhat.com>
1451
1452 PR target/89093
1453 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1454 * config/arm/unwind-arm.c: Likewise.
1455 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1456 attribute for ARM.
1457
1458 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
1459
1460 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1461 (RT_SIGRETURN): Update.
1462 (nds32_fallback_frame_state): Update.
1463
1464 2019-02-21 Martin Sebor <msebor@redhat.com>
1465
1466 * libgcc2.h (__clear_cache): Correct signature.
1467 * libgcc2.c (__clear_cache): Same.
1468
1469 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
1470
1471 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1472 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1473
1474 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
1475
1476 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1477 regno instead of index to DWARF_ZERO_REG.
1478
1479 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
1480
1481 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1482 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1483
1484 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
1485
1486 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1487 to HOST_LIBGCC2_CFLAGS.
1488
1489 2019-01-23 Joseph Myers <joseph@codesourcery.com>
1490
1491 PR libgcc/88931
1492 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
1493
1494 2019-01-18 Martin Liska <mliska@suse.cz>
1495
1496 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1497 to ...
1498 (__gcov_indirect_call_profiler_v3): ... this.
1499 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1500 (__gcov_indirect_call_profiler_v3): Likewise.
1501 * Makefile.in: Bump function name.
1502
1503 2019-01-18 Martin Liska <mliska@suse.cz>
1504
1505 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1506 (gcov_version): Use in gcov_error.
1507 (merge_one_data): Likewise.
1508 (dump_one_gcov): Likewise.
1509
1510 2019-01-18 Martin Liska <mliska@suse.cz>
1511
1512 * libgcov-driver.c (gcov_version_string): New function.
1513 (gcov_version): Convert version integer into string.
1514
1515 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
1516 Kwok Cheung Yeung <kcy@codesourcery.com>
1517 Julian Brown <julian@codesourcery.com>
1518 Tom de Vries <tom@codesourcery.com>
1519
1520 * config.host: Recognize amdgcn*-*-amdhsa.
1521 * config/gcn/crt0.c: New file.
1522 * config/gcn/lib2-divmod-hi.c: New file.
1523 * config/gcn/lib2-divmod.c: New file.
1524 * config/gcn/lib2-gcn.h: New file.
1525 * config/gcn/sfp-machine.h: New file.
1526 * config/gcn/t-amdgcn: New file.
1527
1528 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
1529
1530 PR other/16615
1531
1532 * config/c6x/libunwind.S: Mechanically replace "can not" with
1533 "cannot".
1534 * config/tilepro/atomic.h: Likewise.
1535 * config/vxlib-tls.c: Likewise.
1536 * generic-morestack-thread.c: Likewise.
1537 * generic-morestack.c: Likewise.
1538 * mkmap-symver.awk: Likewise.
1539
1540 2019-01-01 Jakub Jelinek <jakub@redhat.com>
1541
1542 Update copyright years.
1543
1544 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1545
1546 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1547 to ignore -Waddress-of-packed-member.
1548
1549 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
1550
1551 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1552 parameter and corresponding code.
1553 (ARM_FUNC_START): Likewise in both definitions.
1554 Also update footer comment about condition that need to match with
1555 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1556 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1557 defined. Weakly define it in this case.
1558 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1559 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1560 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1561 comment to keep condition in sync with the one in
1562 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1563
1564 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
1565
1566 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1567 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1568
1569 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1570
1571 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1572 and .cfi_endproc directives for VxWorks targets.
1573
1574 2018-12-05 Paul Koning <ni1d@arrl.net>
1575
1576 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1577
1578 2018-11-27 Alan Modra <amodra@gmail.com>
1579
1580 * config/rs6000/morestack.S (__stack_split_initialize),
1581 (__morestack_get_guard, __morestack_set_guard),
1582 (__morestack_make_guard): Provide CFI covering these functions.
1583 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1584
1585 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1586
1587 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
1588 (sc_pt_regs_lr): Update for kernel.
1589 (sc_pt_regs_tls): Update for kernel.
1590
1591 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1592
1593 * config/csky/linux-unwind.h: Fix coding style.
1594
1595 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
1596
1597 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1598 (csky_fallback_frame_state): Modify the check of the
1599 instructions to adapt to changes in the kernel
1600
1601 2018-11-09 Stafford Horne <shorne@gmail.com>
1602 Richard Henderson <rth@twiddle.net>
1603
1604 * config.host: Add OpenRISC support.
1605 * config/or1k/*: New.
1606
1607 2018-11-08 Kito Cheng <kito@andestech.com>
1608
1609 * soft-fp/adddf3.c: Update from glibc.
1610 * soft-fp/addsf3.c: Likewise.
1611 * soft-fp/addtf3.c: Likewise.
1612 * soft-fp/divdf3.c: Likewise.
1613 * soft-fp/divsf3.c: Likewise.
1614 * soft-fp/divtf3.c: Likewise.
1615 * soft-fp/double.h: Likewise.
1616 * soft-fp/eqdf2.c: Likewise.
1617 * soft-fp/eqsf2.c: Likewise.
1618 * soft-fp/eqtf2.c: Likewise.
1619 * soft-fp/extenddftf2.c: Likewise.
1620 * soft-fp/extended.h: Likewise.
1621 * soft-fp/extendhftf2.c: Likewise.
1622 * soft-fp/extendsfdf2.c: Likewise.
1623 * soft-fp/extendsftf2.c: Likewise.
1624 * soft-fp/extendxftf2.c: Likewise.
1625 * soft-fp/fixdfdi.c: Likewise.
1626 * soft-fp/fixdfsi.c: Likewise.
1627 * soft-fp/fixdfti.c: Likewise.
1628 * soft-fp/fixhfti.c: Likewise.
1629 * soft-fp/fixsfdi.c: Likewise.
1630 * soft-fp/fixsfsi.c: Likewise.
1631 * soft-fp/fixsfti.c: Likewise.
1632 * soft-fp/fixtfdi.c: Likewise.
1633 * soft-fp/fixtfsi.c: Likewise.
1634 * soft-fp/fixtfti.c: Likewise.
1635 * soft-fp/fixunsdfdi.c: Likewise.
1636 * soft-fp/fixunsdfsi.c: Likewise.
1637 * soft-fp/fixunsdfti.c: Likewise.
1638 * soft-fp/fixunshfti.c: Likewise.
1639 * soft-fp/fixunssfdi.c: Likewise.
1640 * soft-fp/fixunssfsi.c: Likewise.
1641 * soft-fp/fixunssfti.c: Likewise.
1642 * soft-fp/fixunstfdi.c: Likewise.
1643 * soft-fp/fixunstfsi.c: Likewise.
1644 * soft-fp/fixunstfti.c: Likewise.
1645 * soft-fp/floatdidf.c: Likewise.
1646 * soft-fp/floatdisf.c: Likewise.
1647 * soft-fp/floatditf.c: Likewise.
1648 * soft-fp/floatsidf.c: Likewise.
1649 * soft-fp/floatsisf.c: Likewise.
1650 * soft-fp/floatsitf.c: Likewise.
1651 * soft-fp/floattidf.c: Likewise.
1652 * soft-fp/floattihf.c: Likewise.
1653 * soft-fp/floattisf.c: Likewise.
1654 * soft-fp/floattitf.c: Likewise.
1655 * soft-fp/floatundidf.c: Likewise.
1656 * soft-fp/floatundisf.c: Likewise.
1657 * soft-fp/floatunditf.c: Likewise.
1658 * soft-fp/floatunsidf.c: Likewise.
1659 * soft-fp/floatunsisf.c: Likewise.
1660 * soft-fp/floatunsitf.c: Likewise.
1661 * soft-fp/floatuntidf.c: Likewise.
1662 * soft-fp/floatuntihf.c: Likewise.
1663 * soft-fp/floatuntisf.c: Likewise.
1664 * soft-fp/floatuntitf.c: Likewise.
1665 * soft-fp/gedf2.c: Likewise.
1666 * soft-fp/gesf2.c: Likewise.
1667 * soft-fp/getf2.c: Likewise.
1668 * soft-fp/half.h: Likewise.
1669 * soft-fp/ledf2.c: Likewise.
1670 * soft-fp/lesf2.c: Likewise.
1671 * soft-fp/letf2.c: Likewise.
1672 * soft-fp/muldf3.c: Likewise.
1673 * soft-fp/mulsf3.c: Likewise.
1674 * soft-fp/multf3.c: Likewise.
1675 * soft-fp/negdf2.c: Likewise.
1676 * soft-fp/negsf2.c: Likewise.
1677 * soft-fp/negtf2.c: Likewise.
1678 * soft-fp/op-1.h: Likewise.
1679 * soft-fp/op-2.h: Likewise.
1680 * soft-fp/op-4.h: Likewise.
1681 * soft-fp/op-8.h: Likewise.
1682 * soft-fp/op-common.h: Likewise.
1683 * soft-fp/quad.h: Likewise.
1684 * soft-fp/single.h: Likewise.
1685 * soft-fp/soft-fp.h: Likewise.
1686 * soft-fp/subdf3.c: Likewise.
1687 * soft-fp/subsf3.c: Likewise.
1688 * soft-fp/subtf3.c: Likewise.
1689 * soft-fp/truncdfsf2.c: Likewise.
1690 * soft-fp/trunctfdf2.c: Likewise.
1691 * soft-fp/trunctfhf2.c: Likewise.
1692 * soft-fp/trunctfsf2.c: Likewise.
1693 * soft-fp/trunctfxf2.c: Likewise.
1694 * soft-fp/unorddf2.c: Likewise.
1695 * soft-fp/unordsf2.c: Likewise.
1696 * soft-fp/unordtf2.c: Likewise.
1697
1698 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
1699
1700 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1701 * config/i386/cpuinfo.h (processor_types): Add znver2.
1702
1703 2018-11-01 Paul Koning <ni1d@arrl.net>
1704
1705 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1706 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1707
1708 2018-10-31 Joseph Myers <joseph@codesourcery.com>
1709
1710 PR bootstrap/82856
1711 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1712 * configure: Regenerate.
1713
1714 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
1715
1716 * config/arc/lib1funcs.S (_muldi3): New function.
1717 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1718
1719 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1720
1721 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1722
1723 2018-10-25 Martin Liska <mliska@suse.cz>
1724
1725 PR other/87735
1726 * libgcov-profiler.c: Revert.
1727
1728 2018-10-24 Martin Liska <mliska@suse.cz>
1729
1730 * libgcov-profiler.c: Start from 1 in order to distinguish
1731 functions which were seen and these that were not.
1732
1733 2018-10-18 Paul Koning <ni1d@arrl.net>
1734
1735 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1736 standard.
1737 * divmod.c: Update references to __udivmodsi4.
1738 * udivmod.c: Ditto.
1739 * udivhi3.c: New file.
1740 * udivmodhi4.c: New file.
1741 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1742
1743 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1744
1745 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1746
1747 2018-10-12 Olivier Hainque <hainque@adacore.com>
1748
1749 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1750 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1751
1752 2018-10-08 Paul Koning <ni1d@arrl.net>
1753
1754 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1755
1756 2018-10-04 Martin Liska <mliska@suse.cz>
1757
1758 PR gcov-profile/84107
1759 * libgcov-profiler.c (__gcov_indirect_call):
1760 Change type to indirect_call_tuple.
1761 (struct indirect_call_tuple): New struct.
1762 (__gcov_indirect_call_topn_profiler): Change type.
1763 (__gcov_indirect_call_profiler_v2): Use the new
1764 variables.
1765 * libgcov.h (struct indirect_call_tuple): New struct
1766 definition.
1767
1768 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
1769
1770 * libgcc2.c (isnan): Use __builtin_isnan.
1771 (isfinite): Use __builtin_isfinite.
1772 (isinf): Use __builtin_isinf.
1773
1774 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
1775
1776 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1777
1778 2018-09-21 Alexandre Oliva <oliva@adacore.com>
1779
1780 * config/vxcache.c: New file. Provide __clear_cache, based on
1781 the cacheTextUpdate VxWorks service.
1782 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1783 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1784 * config/t-vxwoks7: Likewise.
1785
1786 2018-09-21 Martin Liska <mliska@suse.cz>
1787
1788 * libgcov-driver.c (crc32_unsigned): Remove.
1789 (gcov_histogram_insert): Likewise.
1790 (gcov_compute_histogram): Likewise.
1791 (compute_summary): Simplify rapidly.
1792 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1793 (merge_summary): Rapidly simplify.
1794 (dump_one_gcov): Ignore gcov_summary.
1795 (gcov_do_dump): Do not handle program summary, it's not
1796 used.
1797 * libgcov-util.c (tag_summary): Remove.
1798 (read_gcda_finalize): Fix coding style.
1799 (read_gcda_file): Initialize curr_object_summary.
1800 (compute_summary): Remove.
1801 (calculate_overlap): Remove settings of run_max.
1802
1803 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1804
1805 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1806 ucontext_t type instead.
1807 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1808
1809 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
1810
1811 * config/nds32/t-nds32-glibc: New file.
1812
1813 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1814
1815 * configure.ac (solaris_ld_v2_maps): New test.
1816 * configure: Regenerate.
1817 * Makefile.in (solaris_ld_v2_maps): New variable.
1818 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1819 if supported.
1820
1821 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
1822
1823 PR target/86951
1824 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1825 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1826 to build.
1827
1828 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1829
1830 * config/unwind-dw2-fde-darwin.c
1831 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1832 * config/darwin10-unwind-find-enc-func.c: … to here.
1833 * config/t-darwin: Build Darwin10 unwinder shim crt.
1834 * libgcc/config.host: Add the Darwin10 unwinder shim.
1835
1836 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1837
1838 * config.host: Add crtbegin.o and crtend.o for
1839 powerpc-wrs-vxworks target.
1840
1841 2018-08-17 Jojo <jijie_rong@c-sky.com>
1842 Huibin Wang <huibin_wang@c-sky.com>
1843 Sandra Loosemore <sandra@codesourcery.com>
1844 Chung-Lin Tang <cltang@codesourcery.com>
1845
1846 C-SKY port: libgcc
1847
1848 * config.host: Add C-SKY support.
1849 * config/csky/*: New.
1850
1851 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1852
1853 * config/nds32/t-nds32-isr: Rearrange object dependency.
1854 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1855 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1856 and registers usage.
1857 * config/nds32/isr-library/excp_isr.S: Ditto.
1858 * config/nds32/isr-library/intr_isr.S: Ditto.
1859 * config/nds32/isr-library/reset.S: Ditto.
1860 * config/nds32/isr-library/restore_all.inc: Ditto.
1861 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1862 * config/nds32/isr-library/restore_partial.inc: Ditto.
1863 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1864 * config/nds32/isr-library/save_all.inc: Ditto.
1865 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1866 * config/nds32/isr-library/save_partial.inc: Ditto.
1867 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1868 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1869
1870 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
1871
1872 * config/pa/linux-atomic.c: Update comment.
1873 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1874 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1875 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1876 __ATOMIC_RELAXED for atomic loads.
1877 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1878 unordered store to release lock.
1879 (__sync_lock_release_8): Likewise.
1880 (SYNC_LOCK_RELEASE_2): Remove define.
1881
1882 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
1883
1884 PR libgcc/86512
1885 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1886 exponent goes negative. Update my email address.
1887 * config/arm/ieee754-sf.S: Likewise.
1888
1889 2018-08-01 Martin Liska <mliska@suse.cz>
1890
1891 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
1892 check that __gcov_indirect_call_callee is non-null.
1893
1894 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1895
1896 * config/arm/ieee754-df.S: Fix comment for code working on
1897 architectures >= 4.
1898 * config/arm/ieee754-sf.S: Likewise.
1899
1900 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1901
1902 PR libgcc/85334
1903 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1904 Removed.
1905
1906 2018-07-05 James Clarke <jrtc27@jrtc27.com>
1907
1908 * configure: Regenerated.
1909
1910 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1911
1912 * Makefile.in (install_leaf): Use enable_gcov instead of
1913 enable_libgcov.
1914
1915 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1916
1917 * configure.ac: Add --disable-gcov option.
1918 * configure: Regenerate.
1919 * Makefile.in: Honour @enable_gcov@.
1920
1921 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1922
1923 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1924 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1925 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1926 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1927 __ARM_ARCH__.
1928 * config/arm/ieee754-sf.S: Likewise.
1929 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1930
1931 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1932
1933 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1934 longer supported.
1935 * config/arm/ieee754-sf.S: Likewise.
1936
1937 2018-06-20 Than McIntosh <thanm@google.com>
1938
1939 PR libgcc/86213
1940 * generic-morestack.c (allocate_segment): Move calls to getenv and
1941 getpagesize to __morestack_load_mmap.
1942 (__morestack_load_mmap) Initialize static_pagesize and
1943 use_guard_page here so as to avoid clobbering SSE regs during a
1944 __morestack call.
1945
1946 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
1947
1948 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1949 support modules with -mno-gnu-attribute.
1950 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1951
1952 2018-06-07 Olivier Hainque <hainque@adacore.com>
1953
1954 * config/t-vxworks (LIBGCC_INCLUDES): Add
1955 -I$(MULTIBUILDTOP)../../gcc/include.
1956 * config/t-vxworks7: Likewise. Reformat a bit to match
1957 the t-vxworks layout.
1958
1959 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1960
1961 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1962
1963 2018-06-07 Martin Liska <mliska@suse.cz>
1964
1965 * libgcov-driver.c: Rename cs_all to all and assign it from
1966 all_prg.
1967
1968 2018-06-07 Martin Liska <mliska@suse.cz>
1969
1970 PR bootstrap/86057
1971 * libgcov-driver-system.c (replace_filename_variables): Use
1972 memcpy instead of mempcpy.
1973 (allocate_filename_struct): Do not allocate filename, allocate
1974 prefix and set it.
1975 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
1976 here and properly copy content into it.
1977 * libgcov-driver.c (struct gcov_filename): Remove max_length
1978 field, change prefix from size_t into char *.
1979 (compute_summary): Do not calculate longest filename.
1980 (gcov_do_dump): Release memory of gf.filename after each file.
1981 * libgcov-util.c (compute_summary): Use new signature of
1982 compute_summary.
1983 (calculate_overlap): Likewise.
1984
1985 2018-06-05 Martin Liska <mliska@suse.cz>
1986
1987 PR gcov-profile/47618
1988 * libgcov-driver-system.c (replace_filename_variables): New
1989 function.
1990 (gcov_exit_open_gcda_file): Use it.
1991
1992 2018-06-05 Martin Liska <mliska@suse.cz>
1993
1994 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1995 of gcov_ctr_summary.
1996 (compute_summary): Do it just for a single summary.
1997 (merge_one_data): Likewise.
1998 (merge_summary): Simplify as we read just single summary.
1999 (dump_one_gcov): Pass proper argument.
2000 * libgcov-util.c (compute_one_gcov): Simplify as we have just
2001 single summary.
2002 (gcov_info_count_all_cold): Likewise.
2003 (calculate_overlap): Likewise.
2004
2005 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
2006 Monk Chiang <sh.chiang04@gmail.com>
2007
2008 * config.host (nds32*-linux*): New.
2009 * config/nds32/linux-atomic.c: New file.
2010 * config/nds32/linux-unwind.h: New file.
2011
2012 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
2013
2014 PR target/85591
2015 * config/i386/cpuinfo.c (get_amd_cpu): Return
2016 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2017
2018 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2019
2020 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
2021
2022 2018-05-29 Martin Liska <mliska@suse.cz>
2023
2024 PR gcov-profile/85759
2025 * libgcov-driver-system.c (gcov_error): Introduce usage of
2026 GCOV_EXIT_AT_ERROR env. variable.
2027 * libgcov-driver.c (merge_one_data): Print error that we
2028 overwrite a gcov file with a different timestamp.
2029
2030 2018-05-23 Kalamatee <kalamatee@gmail.com>
2031
2032 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2033 path to Lf$finfty.
2034
2035 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
2036 Monk Chiang <sh.chiang04@gmail.com>
2037 Jim Wilson <jimw@sifive.com>
2038
2039 * config/riscv/save-restore.S: Add support for rv32e.
2040
2041 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2042
2043 * config/arm/libunwind.S: Update comment relating to armv5.
2044
2045 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
2046
2047 * config/arm/cmse.c (cmse_check_address_range): Replace
2048 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2049
2050 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2051
2052 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2053 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2054
2055 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
2056
2057 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2058 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2059
2060 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
2061
2062 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2063
2064 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
2065 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2066
2067 PR libgcc/84292
2068 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2069 op_and_fetch to return the right result.
2070
2071 2018-04-27 Alan Modra <amodra@gmail.com>
2072
2073 PR libgcc/85532
2074 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2075 -fno-asynchronous-unwind-tables.
2076
2077 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2078
2079 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2080 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2081
2082 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2083
2084 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2085 when including "config/i386/shadow-stack-unwind.h".
2086
2087 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2088
2089 * configure: Regenerated.
2090
2091 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
2092
2093 PR target/85456
2094 * config/rs6000/_powikf2.c: New file. Add support for the
2095 __builtin_powil function when long double is IEEE 128-bit floating
2096 point.
2097 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2098 __powikf2 support.
2099 (__powikf2): Likewise.
2100 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2101 (__powikf2_hw): Likewise.
2102 (__powikf2): Likewise.
2103 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2104 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2105 (_powikf2-hw.c): Likewise.
2106
2107 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2108
2109 PR libgcc/85334
2110 * unwind-generic.h (_Unwind_Frames_Increment): New.
2111 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2112 Likewise.
2113 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2114 count with _Unwind_Frames_Increment.
2115 (_Unwind_ForcedUnwind_Phase2): Likewise.
2116
2117 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2118
2119 PR libgcc/85379
2120 * config/i386/morestack.S (__stack_split_initialize): Add
2121 _CET_ENDBR.
2122
2123 2018-04-19 Jakub Jelinek <jakub@redhat.com>
2124
2125 * configure: Regenerated.
2126
2127 2018-04-18 David Malcolm <dmalcolm@redhat.com>
2128
2129 PR jit/85384
2130 * configure: Regenerate.
2131
2132 2018-04-16 Jakub Jelinek <jakub@redhat.com>
2133
2134 PR target/84945
2135 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2136 -Wdangling-else warnings. Mask shift counts to avoid
2137 -Wshift-count-negative and -Wshift-count-overflow false positives.
2138
2139 2018-04-06 Ruslan Bukin <br@bsdpad.com>
2140
2141 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2142
2143 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
2144
2145 PR target/85100
2146 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2147 (XSTATE_FP): Likewise.
2148 (XSTATE_SSE): Likewise.
2149 (XSTATE_YMM): Likewise.
2150 (XSTATE_OPMASK): Likewise.
2151 (XSTATE_ZMM): Likewise.
2152 (XSTATE_HI_ZMM): Likewise.
2153 (XCR_AVX_ENABLED_MASK): Likewise.
2154 (XCR_AVX512F_ENABLED_MASK): Likewise.
2155 (get_available_features): Enable AVX and AVX512 features only
2156 if their states are supported by OSXSAVE.
2157
2158 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2159
2160 PR target/85025
2161 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2162 Fix a typo, tmp => 255.
2163
2164 2018-03-20 Jakub Jelinek <jakub@redhat.com>
2165
2166 PR target/84945
2167 * config/i386/cpuinfo.h (__cpu_features2): Declare.
2168 * config/i386/cpuinfo.c (__cpu_features2): New variable for
2169 ifndef SHARED only.
2170 (set_feature): Define.
2171 (get_available_features): Use set_feature macro. Set __cpu_features2
2172 to the second word of features ifndef SHARED.
2173
2174 2018-03-15 Julia Koval <julia.koval@intel.com>
2175
2176 * config/i386/cpuinfo.c (get_available_features): Add
2177 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2178 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2179 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2180 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2181 FEATURE_AVX512BITALG.
2182
2183 2018-03-14 Julia Koval <julia.koval@intel.com>
2184
2185 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2186 icelake client and icelake server.
2187
2188 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
2189
2190 * config/pa/fptr.c (_dl_read_access_allowed): New.
2191 (__canonicalize_funcptr_for_compare): Use it.
2192
2193 2018-02-28 Jakub Jelinek <jakub@redhat.com>
2194
2195 PR debug/83917
2196 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2197 $asm_hidden_op if visibility ("hidden") attribute works.
2198 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2199 * config/i386/i386-asm.h: Don't include auto-host.h.
2200 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2201 PACKAGE_URL): Don't undefine.
2202 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2203 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2204 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2205 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2206 definition instead of hardcoded .hidden.
2207 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2208 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2209 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2210 (USE_GAS_CFI_DIRECTIVES): Don't define.
2211 * configure: Regenerated.
2212 * config.in: Likewise.
2213
2214 2018-02-26 Jakub Jelinek <jakub@redhat.com>
2215
2216 PR debug/83917
2217 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2218 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2219 inclusion of auto-target.h and auto-host.h.
2220 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2221 __GCC_HAVE_DWARF2_CFI_ASM.
2222 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2223 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2224 cfi_pop): Define.
2225 * config/i386/cygwin.S: Don't include auto-host.h here, just
2226 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2227 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2228 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2229 * config/i386/resms64fx.h: Add cfi_* directives.
2230 * config/i386/resms64x.h: Likewise.
2231
2232 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
2233
2234 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2235 .literal_position directive.
2236 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2237
2238 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2239
2240 PR target/84148
2241 * configure: Regenerate.
2242
2243 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2244
2245 PR target/84239
2246 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2247 Include cetintrin.h not x86intrin.h.
2248
2249 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2250
2251 PR target/84239
2252 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2253 Use new _get_ssp and _inc_ssp intrinsics.
2254
2255 2018-02-02 Julia Koval <julia.koval@intel.com>
2256
2257 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2258
2259 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2260
2261 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2262 option.
2263 (__divsi3): Use RF16 safe registers.
2264 (__modsi3): Likewise.
2265
2266 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
2267
2268 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2269 (__divsf3): Make NaN return value quiet.
2270 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2271 (__divdf3): Make NaN return value quiet.
2272
2273 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2274
2275 * config/rl78/anddi3.S: New assembly file.
2276 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2277
2278 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2279
2280 * config/rl78/umindi3.S: New assembly file.
2281 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2282
2283 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2284
2285 * config/rl78/smindi3.S: New assembly file.
2286 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2287
2288 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2289
2290 * config/rl78/smaxdi3.S: New assembly file.
2291 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2292
2293 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2294
2295 * config/rl78/umaxdi3.S: New assembly file.
2296 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
2297
2298 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
2299
2300 PR lto/83452
2301 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2302 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2303
2304 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
2305
2306 * config/aarch64/value-unwind.h (aarch64_vg): New function.
2307 (DWARF_LAZY_REGISTER_VALUE): Define.
2308 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2309 to provide a fallback register value.
2310
2311 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
2312
2313 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2314 __ibm128, instead of trying to use long double.
2315 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2316 accomidate -mabi=ieeelongdouble multilibs.
2317 (CVT_IBM128_TO_FLOAT128): Likewise.
2318 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2319 the appropriate IBM extended double type.
2320 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2321 (__gcc_qsub): Likewise.
2322 (__gcc_qmul): Likewise.
2323 (__gcc_qdiv): Likewise.
2324 (pack_ldouble): Likewise.
2325 (__gcc_qneg): Likewise.
2326 (__gcc_qeq): Likewise.
2327 (__gcc_qne): Likewise.
2328 (__gcc_qge): Likewise.
2329 (__gcc_qle): Likewise.
2330 (__gcc_stoq): Likewise.
2331 (__gcc_dtoq): Likewise.
2332 (__gcc_itoq): Likewise.
2333 (__gcc_utoq): Likewise.
2334 (__gcc_qunord): Likewise.
2335 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2336 quad-float128.h for the definitions.
2337 (COPYSIGN): Use the f128 version instead of the q version.
2338 (INFINITY): Likewise.
2339 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2340 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2341 quad-float128.h for the definitions.
2342 (COPYSIGN): Use the f128 version instead of the q version.
2343 (INFINITY): Likewise.
2344 (FABS): Likewise.
2345 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2346 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2347 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2348
2349 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
2350
2351 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2352 configuration.
2353
2354 2018-01-03 Jakub Jelinek <jakub@redhat.com>
2355
2356 Update copyright years.
2357
2358 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
2359
2360 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2361 * config/riscv/multi3.c: New file.
2362 * config/riscv/multi3.S: Remove.
2363
2364 2017-12-08 Jim Wilson <jimw@sifive.com>
2365
2366 * config/riscv/div.S: Use FUNC_* macros.
2367 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2368 * config/riscv/save-restore.S: Likewise.
2369 * config/riscv/riscv-asm.h: New.
2370
2371 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
2372
2373 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2374 * config/rs6000/_divkc3.c (__divkc3): Likewise.
2375
2376 PR libgcc/83112
2377 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2378 correct type for all ifunc resolvers to silence -Wattribute-alias
2379 warnings. Eliminate the forward declaration of the resolver
2380 functions which is no longer needed.
2381 (__subkf3_resolve): Likewise.
2382 (__mulkf3_resolve): Likewise.
2383 (__divkf3_resolve): Likewise.
2384 (__negkf2_resolve): Likewise.
2385 (__eqkf2_resolve): Likewise.
2386 (__nekf2_resolve): Likewise.
2387 (__gekf2_resolve): Likewise.
2388 (__gtkf2_resolve): Likewise.
2389 (__lekf2_resolve): Likewise.
2390 (__ltkf2_resolve): Likewise.
2391 (__unordkf2_resolve): Likewise.
2392 (__extendsfkf2_resolve): Likewise.
2393 (__extenddfkf2_resolve): Likewise.
2394 (__trunckfsf2_resolve): Likewise.
2395 (__trunckfdf2_resolve): Likewise.
2396 (__fixkfsi_resolve): Likewise.
2397 (__fixkfdi_resolve): Likewise.
2398 (__fixunskfsi_resolve): Likewise.
2399 (__fixunskfdi_resolve): Likewise.
2400 (__floatsikf_resolve): Likewise.
2401 (__floatdikf_resolve): Likewise.
2402 (__floatunsikf_resolve): Likewise.
2403 (__floatundikf_resolve): Likewise.
2404 (__extendkftf2_resolve): Likewise.
2405 (__trunctfkf2_resolve): Likewise.
2406
2407 PR libgcc/83103
2408 * config/rs6000/quad-float128.h (TF): Don't define if long double
2409 is IEEE 128-bit floating point.
2410 (TCtype): Define as either TCmode or KCmode, depending on whether
2411 long double is IEEE 128-bit floating point.
2412 (__mulkc3_sw): Add declarations for software/hardware versions of
2413 complex multiply/divide.
2414 (__divkc3_sw): Likewise.
2415 (__mulkc3_hw): Likewise.
2416 (__divkc3_hw): Likewise.
2417 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2418 handlers to switch between using software emulation and hardware
2419 float128 instructions, build the complex multiply/divide functions
2420 for both software and hardware support.
2421 * config/rs6000/_divkc3.c (_divkc3): Likewise.
2422 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2423 (__divkc3_resolve): Likewise.
2424 (__mulkc3): Likewise.
2425 (__divkc3): Likewise.
2426 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2427 (fp128_hw_src): Likewise.
2428 (fp128_hw_static_obj): Likewise.
2429 (fp128_hw_shared_obj): Likewise.
2430 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2431 _mulkc3.c and _divkc3.c, changing the function name.
2432 (_divkc3-hw.c): Likewise.
2433 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2434 and _divkc3-hw.c.
2435
2436 2017-11-26 Julia Koval <julia.koval@intel.com>
2437
2438 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2439 * config/i386/cpuinfo.h (processor_subtypes): Add
2440 INTEL_COREI7_CANNONLAKE.
2441
2442 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2443
2444 PR bootstrap/83015
2445 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2446 parameter.
2447 * config/xtensa/unwind-dw2-xtensa.c: Likewise
2448 * config/ia64/unwind-ia64.c: Add frames parameter.
2449 * unwind-sjlj.c: Likewise.
2450
2451 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2452
2453 * config/i386/linux-unwind.h: Include
2454 config/i386/shadow-stack-unwind.h.
2455 * config/i386/shadow-stack-unwind.h: New file.
2456 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2457 pass it to _Unwind_Frames_Extra.
2458 * unwind-generic.h (_Unwind_Frames_Extra): New.
2459 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2460 parameter. Add local variable frames to count number of frames.
2461 (_Unwind_ForcedUnwind_Phase2): Likewise.
2462 (_Unwind_RaiseException): Add local variable frames to count
2463 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2464 uw_install_context.
2465 (_Unwind_ForcedUnwind): Likewise.
2466 (_Unwind_Resume): Likewise.
2467 (_Unwind_Resume_or_Rethrow): Likewise.
2468
2469 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2470
2471 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2472 (CET_FLAGS): New.
2473 * config/i386/morestack.S: Include <cet.h>.
2474 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2475 * config/i386/resms64.h: Include <cet.h>.
2476 * config/i386/resms64f.h: Likewise.
2477 * config/i386/resms64fx.h: Likewise.
2478 * config/i386/resms64x.h: Likewise.
2479 * config/i386/savms64.h: Likewise.
2480 * config/i386/savms64f.h: Likewise.
2481 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2482 (CRTSTUFF_T_CFLAGS): Likewise.
2483 * configure.ac: Include ../config/cet.m4.
2484 Set and substitute CET_FLAGS.
2485 * configure: Regenerated.
2486
2487 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2488
2489 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2490 renaming.
2491 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2492 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2493 * configure: Regenerate.
2494
2495 2017-11-07 Tom de Vries <tom@codesourcery.com>
2496
2497 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2498 after "do {} while (0)".
2499
2500 2017-11-07 Tom de Vries <tom@codesourcery.com>
2501
2502 PR other/82784
2503 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2504 semicolon after "do {} while (0)".
2505 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2506 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2507 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2508 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2509
2510 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
2511
2512 PR libgcc/82635
2513 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2514 sysctl to determine whether we're in a trampoline.
2515 Keep the pattern matching method for systems without
2516 KERN_PROC_SIGTRAMP sysctl.
2517
2518 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
2519 Vineet Gupta <vgupta@synopsys.com>
2520
2521 * config.host (arc*-*-linux*): Set md_unwind_header variable.
2522 * config/arc/linux-unwind-reg.def: New file.
2523 * config/arc/linux-unwind-reg.h: Likewise.
2524
2525 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
2526
2527 * config/rl78/subdi3.S: New assembly file.
2528 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2529
2530 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
2531
2532 * config/rl78/adddi3.S: New assembly file.
2533 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2534
2535 2017-10-13 Jakub Jelinek <jakub@redhat.com>
2536
2537 PR target/82274
2538 * libgcc2.c (__mulvDI3): If both operands have
2539 the same highpart of -1 and the topmost bit of lowpart is 0,
2540 multiplication overflows even if both lowparts are 0.
2541
2542 2017-09-28 James Bowman <james.bowman@ftdichip.com>
2543
2544 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2545
2546 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2547
2548 * config/microblaze/crti.S, config/microblaze/crtn.S,
2549 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2550 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2551 config/microblaze/mulsi3.S,
2552 config/microblaze/stack_overflow_exit.S,
2553 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2554 config/pa/milli64.S: Add .note.GNU-stack section.
2555
2556 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
2557
2558 * configure.ac: Add Check for HAVE_AS_AVX.
2559 * config.in: Regenerate.
2560 * configure: Likewise.
2561 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2562 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2563 Correct out-of-date comments.
2564
2565 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2566
2567 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2568 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2569
2570 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
2571
2572 * config/i386/i386-asm.h (PASTE2): New macro.
2573 (ASMNAME): Modify to use PASTE2.
2574 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2575 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
2576 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
2577 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
2578 * config/i386/resms64f.S: Likewise.
2579 * config/i386/resms64fx.S: Likewise.
2580 * config/i386/resms64x.S: Likewise.
2581 * config/i386/savms64.S: Likewise.
2582 * config/i386/savms64f.S: Likewise.
2583 * config/i386/avx_resms64.S: New file that only defines a macro and
2584 includes it's corresponding header file.
2585 * config/i386/avx_resms64f.S: Likewise.
2586 * config/i386/avx_resms64fx.S: Likewise.
2587 * config/i386/avx_resms64x.S: Likewise.
2588 * config/i386/avx_savms64.S: Likewise.
2589 * config/i386/avx_savms64f.S: Likewise.
2590 * config/i386/sse_resms64.S: Likewise.
2591 * config/i386/sse_resms64f.S: Likewise.
2592 * config/i386/sse_resms64fx.S: Likewise.
2593 * config/i386/sse_resms64x.S: Likewise.
2594 * config/i386/sse_savms64.S: Likewise.
2595 * config/i386/sse_savms64f.S: Likewise.
2596 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
2597
2598 2017-09-01 Olivier Hainque <hainque@adacore.com>
2599 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2600
2601 2017-08-31 Olivier Hainque <hainque@adacore.com>
2602
2603 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2604 match as powerpc-wrs-vxworks*.
2605
2606 2017-08-07 Jonathan Yong <10walls@gmail.com>
2607
2608 * config.host (*-cygwin): Include file from mingw
2609 config/i386/enable-execute-stack-mingw32.c
2610
2611 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
2612 Doug Rupp <rupp@adacore.com>
2613 Olivier Hainque <hainque@adacore.com>
2614
2615 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2616 as well as arm-wrs-vxworks.
2617 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
2618 LIB2ADDEH.
2619 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2620 __exidx_start and __exidx_end for downloadable modules.
2621
2622 2017-08-01 Olivier Hainque <hainque@adacore.com>
2623
2624 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2625 * config/t-vxworks7: Likewise.
2626
2627 2017-08-01 Olivier Hainque <hainque@adacore.com>
2628
2629 * config/t-vxworks: Instead of redefining LIB2ADD,
2630 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2631
2632 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2633
2634 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2635
2636 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
2637
2638 PR testsuite/80759
2639 * config.host: include i386/t-msabi for darwin and solaris.
2640 * config/i386/i386-asm.h
2641 (ELFFN): Rename to FN_TYPE.
2642 (FN_SIZE): New macro.
2643 (FN_HIDDEN): Likewise.
2644 (ASMNAME): Likewise.
2645 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2646 .globl.
2647 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2648 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2649 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2650 .macro.
2651 * config/i386/resms64f.S: Likewise.
2652 * config/i386/resms64fx.S: Likewise.
2653 * config/i386/resms64x.S: Likewise.
2654 * config/i386/savms64.S: Likewise.
2655 * config/i386/savms64f.S: Likewise.
2656
2657 2017-07-19 John Marino <gnugcc@marino.st>
2658
2659 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2660
2661 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
2662
2663 PR target/81193
2664 * configure.ac (PowerPC float128 hardware support): Test whether
2665 we can use __builtin_cpu_supports before enabling the ifunc
2666 handler.
2667 * configure: Regenerate.
2668
2669 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
2670
2671 * config.host: Remove uclibc from arc target spec.
2672
2673 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
2674
2675 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2676
2677 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
2678
2679 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2680 (have_ieee_hw_p): Delete function.
2681 (SW_OR_HW) Use __builtin_cpu_supports().
2682
2683 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2684
2685 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2686
2687 2017-07-03 Olivier Hainque <hainque@adacore.com>
2688
2689 * config/t-vxworks7: New file, really.
2690
2691 2017-06-28 Joseph Myers <joseph@codesourcery.com>
2692
2693 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2694 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2695 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2696 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2697 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2698 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2699 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2700 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2701 config/sh/linux-unwind.h (sh_fallback_frame_state),
2702 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2703 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2704 ucontext_t instead of struct ucontext.
2705
2706 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
2707
2708 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2709 (x86_64-wrs-vxworks7): Likewise.
2710
2711 2017-06-27 Olivier Hainque <hainque@adacore.com>
2712
2713 * config/t-vxworks7: New file.
2714 * config.host (*-*-vxworks7): Use it.
2715
2716 2017-06-22 Matt Turner <mattst88@gmail.com>
2717
2718 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2719 skylake case.
2720
2721 2017-06-21 Richard Biener <rguenther@suse.de>
2722
2723 PR gcov-profile/81080
2724 * configure.ac: Add AC_SYS_LARGEFILE.
2725 * libgcov.h: Include auto-target.h before tsystem.h to pick
2726 up _FILE_OFFSET_BITS which might differ for multilibs.
2727 * config.in: Regenerate.
2728 * configure: Likewise.
2729
2730 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
2731
2732 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2733
2734 2017-06-09 Martin Liska <mliska@suse.cz>
2735
2736 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2737 Reset __gcov_indirect_call_callee to NULL.
2738
2739 2017-06-08 Olivier Hainque <hainque@adacore.com>
2740
2741 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2742 the set of -I options, support for direct inclusions of net/uio.h
2743 by VxWorks header files via ioLib.h.
2744
2745 2017-06-07 Tony Reix <tony.reix@atos.net>
2746 Matthieu Sarter <matthieu.sarter.external@atos.net>
2747 David Edelsohn <dje.gcc@gmail.com>
2748
2749 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2750 unconditionally.
2751 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2752 AIX 7.2 support.
2753
2754 2017-06-02 Olivier Hainque <hainque@adacore.com>
2755
2756 * config/vxlib.c (__gthread_once): Add missing value to
2757 return statement.
2758
2759 2017-05-30 Olivier Hainque <hainque@adacore.com>
2760
2761 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2762 dollar sign before $(MULTIDIR).
2763
2764 2017-05-26 Richard Henderson <rth@redhat.com>
2765
2766 PR libgcc/80037
2767 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2768
2769 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2770
2771 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2772 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2773 * config/arm/unwind-arm.c: Implement the above.
2774
2775 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2776
2777 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2778 section for a non-executable stack.
2779
2780 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2781
2782 PR target/80600
2783 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2784
2785 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
2786
2787 * config.host: Add i386/t-msabi to i386/t-linux file list.
2788 * config/i386/i386-asm.h: New file.
2789 * config/i386/resms64.S: New file.
2790 * config/i386/resms64f.S: New file.
2791 * config/i386/resms64fx.S: New file.
2792 * config/i386/resms64x.S: New file.
2793 * config/i386/savms64.S: New file.
2794 * config/i386/savms64f.S: New file.
2795 * config/i386/t-msabi: New file.
2796
2797 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2798
2799 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2800 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2801
2802 2017-05-05 Joshua Conner <joshconner@google.com>
2803
2804 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2805 pc-relative indirect handling for fuchsia.
2806 * config/t-slibgcc-fuchsia: New file.
2807 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
2808 x86_64-*-fuchsia*): Add definitions.
2809
2810 2017-04-19 Martin Liska <mliska@suse.cz>
2811
2812 PR gcov-profile/80435
2813 * Makefile.in: Install gcov.h.
2814 * gcov.h: New file.
2815 * libgcov.h: Use the header and make __gcov_flush publicly
2816 visible.
2817
2818 2017-04-18 Martin Liska <mliska@suse.cz>
2819
2820 PR gcov-profile/78783
2821 * libgcov-driver.c (gcov_get_filename): New function.
2822
2823 2017-04-07 Jeff Law <law@redhat.com>
2824
2825 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2826 target makefile fragment.
2827 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2828
2829 2017-04-07 Alan Modra <amodra@gmail.com>
2830
2831 PR target/45053
2832 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2833
2834 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
2835
2836 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2837
2838 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2839
2840 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2841
2842 2017-03-10 John Marino <gnugcc@marino.st>
2843
2844 * config/aarch64/freebsd-unwind.h: New file.
2845 * config.host: Add aarch64-*-freebsd unwinder.
2846
2847 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2848
2849 * config/rs6000/crtrestvr.s: Use .machine altivec.
2850 * config/rs6000/crtsavevr.s: Ditto.
2851
2852 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2853
2854 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2855 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2856 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2857 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2858 * configure: Regenerate.
2859 * config.in: Regenerate.
2860
2861 2017-03-02 Jonathan Yong <10walls@gmail.com>
2862
2863 * config/i386/gthr-win32.h: Define NOGDI before
2864 windows.h include to prevent w32api CC_NONE macro
2865 clash with libgfortran.
2866
2867 2017-03-02 Jonathan Yong <10walls@gmail.com>
2868
2869 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2870
2871 2017-02-16 Andrew Pinski <apinski@cavium.com>
2872
2873 * config/aarch64/value-unwind.h: New file.
2874 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2875 to tm_file.
2876
2877 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2878
2879 * config.host: Add RISC-V tuples.
2880 * config/riscv/atomic.c: New file.
2881 * config/riscv/crti.S: Likewise.
2882 * config/riscv/crtn.S: Likewise.
2883 * config/riscv/div.S: Likewise.
2884 * config/riscv/linux-unwind.h: Likewise.
2885 * config/riscv/muldi3.S: Likewise.
2886 * config/riscv/multi3.S: Likewise.
2887 * config/riscv/save-restore.S: Likewise.
2888 * config/riscv/sfp-machine.h: Likewise.
2889 * config/riscv/t-elf: Likewise.
2890 * config/riscv/t-elf32: Likewise.
2891 * config/riscv/t-elf64: Likewise.
2892 * config/riscv/t-softfp32: Likewise.
2893 * config/riscv/t-softfp64: Likewise.
2894
2895 2017-01-24 Jakub Jelinek <jakub@redhat.com>
2896
2897 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2898 /* FALLTHRU */ comments.
2899
2900 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2901
2902 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2903
2904 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2905
2906 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2907 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2908 DW_CFA_GNU_window_save for AArch64 and LP64.
2909
2910 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2911
2912 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2913
2914 2017-01-19 Jiong Wang <jiong.wang@arm.com>
2915
2916 * config/aarch64/aarch64-unwind.h: New file.
2917 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2918 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2919 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2920 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2921 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2922 (aarch64_post_extract_frame_addr): New function.
2923 (aarch64_post_frob_eh_handler_addr): New function.
2924 (aarch64_frob_update_context): New function.
2925 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2926 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2927 aarch64*-*-freebsd*):
2928 Initialize md_unwind_header to include aarch64-unwind.h.
2929 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2930 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2931 __aarch64__.
2932 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2933 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2934 (uw_frob_return_addr): New function.
2935 (uw_install_context): Use uw_frob_return_addr.
2936
2937 2017-01-17 Jakub Jelinek <jakub@redhat.com>
2938
2939 PR other/79046
2940 * configure.ac: Add GCC_BASE_VER.
2941 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2942 version from BASE-VER file.
2943 * configure: Regenerated.
2944
2945 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
2946
2947 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2948 libmul_f5.a): Filter archived prerequisites.
2949
2950 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2951
2952 * config/i386/cpuinfo.h (processor_features): Add
2953 FEATURE_AVX512VPOPCNTDQ.
2954 * config/i386/cpuinfo.c (get_available_features): Habdle new
2955 feature.
2956
2957 2017-01-04 Joseph Myers <joseph@codesourcery.com>
2958
2959 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2960 payload if [__mips_nan2008].
2961
2962 2017-01-04 Alan Modra <amodra@gmail.com>
2963
2964 * Makefile.in (configure_deps): Update.
2965 * configure: Regenerate.
2966
2967 2017-01-01 Jakub Jelinek <jakub@redhat.com>
2968
2969 Update copyright years.
2970
2971 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2972
2973 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2974 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2975 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2976
2977 2016-12-17 Matthias Klose <doko@ubuntu.com>
2978
2979 * config/arc/gmon: Remove empty directory.
2980
2981 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2982
2983 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2984 crtgend.
2985 (arc*-*-elf*): Likewise.
2986 * config/arc/t-arc: Remove old gmon lib targets.
2987 * config/arc/crtg.S: Remove.
2988 * config/arc/crtgend.S: Likewise.
2989 * config/arc/gmon/atomic.h: Likewise.
2990 * config/arc/gmon/auxreg.h: Likewise.
2991 * config/arc/gmon/dcache_linesz.S: Likewise.
2992 * config/arc/gmon/gmon.c: Likewise.
2993 * config/arc/gmon/machine-gmon.h: Likewise.
2994 * config/arc/gmon/mcount.c: Likewise.
2995 * config/arc/gmon/prof-freq-stub.S: Likewise.
2996 * config/arc/gmon/prof-freq.c: Likewise.
2997 * config/arc/gmon/profil.S: Likewise.
2998 * config/arc/gmon/sys/gmon.h: Likewise.
2999 * config/arc/gmon/sys/gmon_out.h: Likewise.
3000 * config/arc/t-arc-newlib: Likewise.
3001 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3002
3003 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3004
3005 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3006
3007 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3008
3009 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3010 R16 instead of push + pop.
3011 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3012
3013 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
3014
3015 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3016 tmake_file.
3017
3018 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
3019
3020 * config.host (arc*-*-linux-uclibc*): Use default extra
3021 objects. Include linux-android header.
3022 * config/arc/crti.S (_init): Declare symbol as function.
3023 (_fini): Likewise.
3024
3025 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3026
3027 PR fortran/78379
3028 * config/i386/cpuinfo.c: Move denums for processor vendors,
3029 processor type, processor subtypes and declaration of
3030 struct __processor_model into
3031 * config/i386/cpuinfo.h: New header file.
3032
3033 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3034 Thomas Preud'homme <thomas.preudhomme@arm.com>
3035
3036 * config/arm/cmse_nonsecure_call.S: New.
3037 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3038
3039 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3040 Thomas Preud'homme <thomas.preudhomme@arm.com>
3041
3042 * config/arm/t-arm (HAVE_CMSE): New.
3043 * config/arm/cmse.c: New.
3044
3045 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3046
3047 PR gcc/74748
3048 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3049 use generic linker version information on Blackfin.
3050
3051 PR gcc/74748
3052 * libgcc/mkmap-symver.awk: add support for skip_underscore
3053
3054 2016-11-27 Iain Sandoe <iain@codesourcery.com>
3055 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3056
3057 PR target/67710
3058 * config/t-darwin: Default builds to 10.5 codegen.
3059
3060 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
3061
3062 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3063 (_FP_NANSIGN_H): Likewise.
3064 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3065 (softfp_truncations): Add tfhf.
3066 (softfp_extras): Add required conversion functions.
3067
3068 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3069 Matthew Wahab <matthew.wahab@arm.com>
3070
3071 * config/arm/fp16.c (binary64): New.
3072 (__gnu_d2h_internal): New.
3073 (__gnu_d2h_ieee): New.
3074 (__gnu_d2h_alternative): New.
3075
3076 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3077 Matthew Wahab <matthew.wahab@arm.com>
3078
3079 * config/arm/fp16.c (struct format): New.
3080 (binary32): New.
3081 (__gnu_float2h_internal): New. Body moved from
3082 __gnu_f2h_internal and generalize.
3083 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3084 Call it with binary32.
3085
3086 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3087
3088 * soft-fp/extendhftf2.c: Update from glibc.
3089 * soft-fp/fixhfti.c: Likewise.
3090 * soft-fp/fixunshfti.c: Likewise.
3091 * soft-fp/floattihf.c: Likewise.
3092 * soft-fp/floatuntihf.c: Likewise.
3093 * soft-fp/half.h: Likewise.
3094 * soft-fp/trunctfhf2.c: Likewise.
3095
3096 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
3097
3098 PR libgcc/77813
3099 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3100 __TMC_END__ behind a passthrough asm.
3101
3102 2016-11-18 Walter Lee <walt@tilera.com>
3103
3104 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3105
3106 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
3107
3108 * config/i386/cpuinfo.c (processor_features): Add
3109 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3110
3111 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
3112
3113 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3114 (__ARC_NORM__): Use instead ARC_OPTFPE.
3115 * config/arc/fp-hack.h: Likewise.
3116 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3117 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3118
3119 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
3120
3121 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3122 * config/nvptx/mgomp.c: New file.
3123 * config/nvptx/t-nvptx: Add mgomp.c
3124
3125 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
3126
3127 PR libgcc/68468
3128 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3129
3130 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
3131
3132 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3133 of checking for cpus.
3134 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3135 (__modsi3, __clzsi2): Likewise.
3136
3137 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3138
3139 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3140 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3141 * config/i386/t-cpuinfo-static: New.
3142
3143 2016-11-03 Martin Liska <mliska@suse.cz>
3144
3145 * libgcov-profiler.c (__gcov_time_profiler): Remove.
3146 (__gcov_time_profiler_atomic): Likewise.
3147
3148 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
3149
3150 PR libgcc/78067
3151 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3152 count_leading_zeros.
3153
3154 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
3155
3156 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3157 * libgcc2.c (__divmoddi4): New function.
3158 * libgcc2.h (__divmoddi4): Declare.
3159 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3160 and __PFX_divmodti4.
3161
3162 2016-10-24 Florian Weimer <fweimer@redhat.com>
3163
3164 PR libgcc/78064
3165 * unwind-c.c: Include auto-target.h.
3166
3167 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
3168
3169 * config/pa/pa64-hpux-lib.h: New file.
3170 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3171 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3172 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3173 hppa*64*-*-hpux11*.
3174
3175 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
3176
3177 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3178 definition.
3179 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3180 definition.
3181 * config/xtensa/t-windowed (LIB2ADDEH): Use
3182 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3183 or xtensa/t-linux.
3184
3185 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
3186
3187 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3188 __ieee754_sqrt): New functions.
3189 (__divdf3): Add implementation with new FPU instructions under
3190 #if XCHAL_HAVE_DFP_DIV.
3191 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3192 __ieee754_sqrtf): New functions.
3193 (__divsf3): Add implementation with new FPU instructions under
3194 #if XCHAL_HAVE_FP_DIV.
3195 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3196 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3197
3198 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3199
3200 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3201 equivalent.
3202 * config/tilepro/atomic.c: Likewise and stop casting model to
3203 enum memmodel.
3204
3205 2016-10-10 Joseph Myers <joseph@codesourcery.com>
3206
3207 PR target/77586
3208 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3209 soft-fp.
3210
3211 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
3212
3213 * config.host: Add support for aarch64-*-freebsd*.
3214
3215 2016-10-05 Andreas Schwab <schwab@suse.de>
3216
3217 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3218 (.section .init_array): Don't call __do_jv_register_classes.
3219 (.section .init): Likewise.
3220
3221 2016-10-04 Jakub Jelinek <jakub@redhat.com>
3222
3223 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3224 (__JCR_LIST__): Remove.
3225 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3226 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3227 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3228 * config/ia64/crtend.S (__JCR_END__): Remove.
3229 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3230 conditionals.
3231 (__JCR_LIST__, __JCR_END__): Remove.
3232 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3233 (__do_global_ctors_1): Likewise.
3234
3235 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
3236
3237 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3238 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3239
3240 2016-09-27 Martin Liska <mliska@suse.cz>
3241
3242 PR gcov-profile/7970
3243 PR gcov-profile/16855
3244 PR gcov-profile/44779
3245 * libgcov-driver.c (__gcov_init): Do not register a atexit
3246 handler.
3247 (__gcov_exit): Rename from gcov_exit.
3248 * libgcov.h (__gcov_exit): Declare.
3249
3250 2016-09-27 Martin Liska <mliska@suse.cz>
3251
3252 PR bootstrap/77749
3253 * Makefile.in: Remove _gcov_merge_delta.
3254 * libgcov-merge.c (void __gcov_merge_delta): Remove.
3255 * libgcov-util.c (__gcov_delta_counter_op): Remove.
3256 * libgcov.h: Remove declaration of __gcov_merge_delta.
3257
3258 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
3259
3260 * configure.ac: Do not create links, only substitute the filenames.
3261 * configure: Regenerate.
3262 * Makefile.in: Assign the substitution results to variables.
3263 (LIBGCC_LINKS): Define.
3264 (enable-execute-stack.c): New rule.
3265 (unwind.h): Likewise.
3266 (md-unwind-support.h): Likewise.
3267 (sfp-machine.h): Likewise.
3268 (gthr-default.h): Likewise.
3269 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3270 unwind.h as prerequisite of install-unwind_h-forbuild.
3271
3272 2016-09-16 Jakub Jelinek <jakub@redhat.com>
3273
3274 PR libgcc/71744
3275 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3276 is not the primary registry and atomics are available.
3277 (any_objects_registered): New variable.
3278 (__register_frame_info_bases, __register_frame_info_table_bases):
3279 Atomically store 1 to any_objects_registered after registering first
3280 unwind info.
3281 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3282
3283 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
3284
3285 PR target/63250
3286 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3287 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3288 (HFtype): Likewise.
3289 (HCtype): Likewise.
3290 (__divhc3): Likewise.
3291 (__mulhc3): Likewise.
3292 * libgcc2.c: Support _mulhc3 and _divhc3.
3293
3294 2016-09-07 Joseph Myers <joseph@codesourcery.com>
3295
3296 PR libgcc/77519
3297 * libgcc2.c (NOTRUNC): Invert settings.
3298
3299 2016-09-06 Martin Liska <mliska@suse.cz>
3300
3301 PR gcov-profile/77378
3302 PR gcov-profile/77466
3303 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3304 conditionaly enable/disable *_atomic functions.
3305
3306 2016-08-26 Joseph Myers <joseph@codesourcery.com>
3307
3308 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3309 where not already enabled.
3310
3311 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3312
3313 * config/mips/linux-unwind.h: Use sys/syscall.h.
3314
3315 2016-08-16 Joseph Myers <joseph@codesourcery.com>
3316
3317 PR libgcc/77265
3318 * soft-fp/adddf3.c: Update from glibc.
3319 * soft-fp/addsf3.c: Likewise.
3320 * soft-fp/addtf3.c: Likewise.
3321 * soft-fp/divdf3.c: Likewise.
3322 * soft-fp/divsf3.c: Likewise.
3323 * soft-fp/divtf3.c: Likewise.
3324 * soft-fp/double.h: Likewise.
3325 * soft-fp/eqdf2.c: Likewise.
3326 * soft-fp/eqsf2.c: Likewise.
3327 * soft-fp/eqtf2.c: Likewise.
3328 * soft-fp/extenddftf2.c: Likewise.
3329 * soft-fp/extended.h: Likewise.
3330 * soft-fp/extendsfdf2.c: Likewise.
3331 * soft-fp/extendsftf2.c: Likewise.
3332 * soft-fp/extendxftf2.c: Likewise.
3333 * soft-fp/fixdfdi.c: Likewise.
3334 * soft-fp/fixdfsi.c: Likewise.
3335 * soft-fp/fixdfti.c: Likewise.
3336 * soft-fp/fixsfdi.c: Likewise.
3337 * soft-fp/fixsfsi.c: Likewise.
3338 * soft-fp/fixsfti.c: Likewise.
3339 * soft-fp/fixtfdi.c: Likewise.
3340 * soft-fp/fixtfsi.c: Likewise.
3341 * soft-fp/fixtfti.c: Likewise.
3342 * soft-fp/fixunsdfdi.c: Likewise.
3343 * soft-fp/fixunsdfsi.c: Likewise.
3344 * soft-fp/fixunsdfti.c: Likewise.
3345 * soft-fp/fixunssfdi.c: Likewise.
3346 * soft-fp/fixunssfsi.c: Likewise.
3347 * soft-fp/fixunssfti.c: Likewise.
3348 * soft-fp/fixunstfdi.c: Likewise.
3349 * soft-fp/fixunstfsi.c: Likewise.
3350 * soft-fp/fixunstfti.c: Likewise.
3351 * soft-fp/floatdidf.c: Likewise.
3352 * soft-fp/floatdisf.c: Likewise.
3353 * soft-fp/floatditf.c: Likewise.
3354 * soft-fp/floatsidf.c: Likewise.
3355 * soft-fp/floatsisf.c: Likewise.
3356 * soft-fp/floatsitf.c: Likewise.
3357 * soft-fp/floattidf.c: Likewise.
3358 * soft-fp/floattisf.c: Likewise.
3359 * soft-fp/floattitf.c: Likewise.
3360 * soft-fp/floatundidf.c: Likewise.
3361 * soft-fp/floatundisf.c: Likewise.
3362 * soft-fp/floatunditf.c: Likewise.
3363 * soft-fp/floatunsidf.c: Likewise.
3364 * soft-fp/floatunsisf.c: Likewise.
3365 * soft-fp/floatunsitf.c: Likewise.
3366 * soft-fp/floatuntidf.c: Likewise.
3367 * soft-fp/floatuntisf.c: Likewise.
3368 * soft-fp/floatuntitf.c: Likewise.
3369 * soft-fp/gedf2.c: Likewise.
3370 * soft-fp/gesf2.c: Likewise.
3371 * soft-fp/getf2.c: Likewise.
3372 * soft-fp/ledf2.c: Likewise.
3373 * soft-fp/lesf2.c: Likewise.
3374 * soft-fp/letf2.c: Likewise.
3375 * soft-fp/muldf3.c: Likewise.
3376 * soft-fp/mulsf3.c: Likewise.
3377 * soft-fp/multf3.c: Likewise.
3378 * soft-fp/negdf2.c: Likewise.
3379 * soft-fp/negsf2.c: Likewise.
3380 * soft-fp/negtf2.c: Likewise.
3381 * soft-fp/op-1.h: Likewise.
3382 * soft-fp/op-2.h: Likewise.
3383 * soft-fp/op-4.h: Likewise.
3384 * soft-fp/op-8.h: Likewise.
3385 * soft-fp/op-common.h: Likewise.
3386 * soft-fp/quad.h: Likewise.
3387 * soft-fp/single.h: Likewise.
3388 * soft-fp/soft-fp.h: Likewise.
3389 * soft-fp/subdf3.c: Likewise.
3390 * soft-fp/subsf3.c: Likewise.
3391 * soft-fp/subtf3.c: Likewise.
3392 * soft-fp/truncdfsf2.c: Likewise.
3393 * soft-fp/trunctfdf2.c: Likewise.
3394 * soft-fp/trunctfsf2.c: Likewise.
3395 * soft-fp/trunctfxf2.c: Likewise.
3396 * soft-fp/unorddf2.c: Likewise.
3397 * soft-fp/unordsf2.c: Likewise.
3398 * soft-fp/unordtf2.c: Likewise.
3399
3400 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
3401
3402 PR gcov-profile/67097
3403 * libgcov-util.c (gcov_profile_merge): Skip missing files.
3404
3405 2016-08-10 Martin Liska <mliska@suse.cz>
3406
3407 PR gcov-profile/58306
3408 * Makefile.in: New functions (modules) are added.
3409 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3410 function.
3411 (__gcov_pow2_profiler_atomic): New function.
3412 (__gcov_one_value_profiler_body): New argument is instroduced.
3413 (__gcov_one_value_profiler): Call with the new argument.
3414 (__gcov_one_value_profiler_atomic): Likewise.
3415 (__gcov_indirect_call_profiler_v2): Likewise.
3416 (__gcov_time_profiler_atomic): New function.
3417 (__gcov_average_profiler_atomic): Likewise.
3418 (__gcov_ior_profiler_atomic): Likewise.
3419 * libgcov.h: Declare the aforementioned functions.
3420
3421 2016-08-09 Martin Liska <mliska@suse.cz>
3422
3423 * libgcov-util.c: Fix typo and GNU coding style.
3424
3425 2016-08-09 Martin Liska <mliska@suse.cz>
3426
3427 * Makefile.in: Remove __gcov_indirect_call_profiler.
3428 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3429 function.
3430 * libgcov.h: And the declaration of the function.
3431
3432 2016-08-09 Martin Liska <mliska@suse.cz>
3433
3434 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3435 power of two.
3436
3437 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3438
3439 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3440 * config/rs6000/_mulkc3.c: Likewise.
3441
3442 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
3443
3444 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3445 zero_reg as previous call to __umulhisi3 already cleared it.
3446
3447 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
3448
3449 PR target/59833
3450 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3451
3452 2016-07-19 Nick Clifton <nickc@redhat.com>
3453
3454 * config.host (m32r): Add m32r/t-m32r to tmake_file.
3455 Add crtinit.o and crtfini.o to extra_parts.
3456
3457 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3458
3459 * config/rs6000/_divkc3.c: New.
3460 * config/rs6000/_mulkc3.c: New.
3461 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3462 and _divkc3.
3463 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3464 fp128_ppc_funcs.
3465
3466 2016-07-11 Hale Wang <hale.wang@arm.com>
3467 Andre Vieira <andre.simoesdiasvieira@arm.com>
3468
3469 * config/arm/lib1funcs.S: Add new wrapper.
3470
3471 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3472
3473 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3474
3475 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3476
3477 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3478 and ARMv5t* rather than for a fixed list of architectures.
3479
3480 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3481
3482 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3483 implementation suitable for.
3484 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3485 for all Thumb-1 only targets.
3486 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3487 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3488 __ARM_ARCH_6M__.
3489 (EQUIV): Likewise.
3490 (ARM_FUNC_ALIAS): Likewise.
3491 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3492 version.
3493 (modsi3): Likewise.
3494 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3495 (clzdi2): Likewise.
3496 (ctzsi2): Likewise.
3497 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3498 __ARM_ARCH_6M__ in guard for checking whether it is defined.
3499 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3500 __ARM_ARCH_6M__ and add comment to indicate the connection between
3501 this condition and the one in gcc/config/arm/elf.h.
3502 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3503 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3504 * config/arm/t-softfp: Likewise.
3505
3506 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3507
3508 * libgcc2.c (SYMBOL__MAIN): Remove checks for
3509 CTOR_LISTS_DEFINED_EXTERNALLY.
3510
3511 2016-06-28 Walter Lee <walt@tilera.com>
3512
3513 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3514 asm/unistd.h.
3515 (SPR_CMPEXCH_VALUE): Define for tilegx.
3516 (__NR_FAST_cmpxchg): Define for tilepro.
3517 (__NR_FAST_atomic_update): Define for tilepro.
3518 (__NR_FAST_cmpxchg64): Define for tilepro.
3519
3520 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
3521
3522 * config.host: Add suport for arm*-*-phoenix* targets.
3523
3524 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3525
3526 * config.host: Remove support for mep-*.
3527 * config/mep/lib1funcs.S: Remove.
3528 * config/mep/lib2funcs.c: Remove.
3529 * config/mep/t-mep: Remove.
3530 * config/mep/tramp.c: Remove.
3531
3532 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3533
3534 * config.host: Remove support for avr-rtems.
3535 * config/avr/t-rtems: Remove.
3536
3537 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3538
3539 * config.host: Remove m32r-rtems support.
3540
3541 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3542
3543 * config.host: Remove h8300-rtems support.
3544
3545 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3546
3547 * config.host: Remove support for knetbsd.
3548
3549 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3550
3551 * config.host: Remove support for openbsd 2 and 3.
3552
3553 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3554
3555 * config.host: Remove interix support.
3556 * config/i386/t-interix: Remove.
3557
3558 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
3559
3560 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3561 least-significant bit in function pointer for fixup.
3562
3563 2016-06-05 Aaron Conole <aconole@redhat.com>
3564 Nathan Sidwell <nathan@acm.org>
3565
3566 PR libgcc/71400
3567 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3568 (get_gcov_error_file): Check __gcov_error_file before trying to
3569 initialize it.
3570 (gcov_error): Always use get_gcov_error_file.
3571
3572 2016-06-02 Aaron Conole <aconole@redhat.com>
3573
3574 * libgcov-driver-system.c (__gcov_error_file): New.
3575 (get_gcov_error_file): New.
3576 (gcov_error): Use and set __gcov_error_file.
3577 (gcov_error_exit): New.
3578 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3579
3580 2016-05-26 Nathan Sidwell <nathan@acm.org>
3581
3582 * config/nvptx/free.asm: Delete.
3583 * config/nvptx/malloc.asm: Delete.
3584 * config/nvptx/realloc.c: Delete.
3585 * t-nvptx: Update.
3586
3587 2016-05-25 Nathan Sidwell <nathan@acm.org>
3588
3589 * config/nvptx/crt0.s: Delete.
3590 * config/nvptx/crt0.c: New.
3591 * t-nvptx: Update.
3592
3593 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
3594
3595 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
3596 dw2/seh configuration.
3597 [x86_64-*-mingw*]: Likewise.
3598
3599 2016-05-10 Joel Sherrill <joel@rtems.org>
3600
3601 PR libgcc/70720
3602 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3603 targets so the same extra_parts are built. Also have tmake_file add
3604 on to its value rather than override.
3605
3606 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
3607
3608 * config.host: Remove SH5 support.
3609 * configure: Likewise.
3610
3611 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
3612
3613 * config/sh/crt1.S: Remove SH5 support.
3614 * config/sh/crti.S: Likewise.
3615 * config/sh/crtn.S: Likewise.
3616 * config/sh/lib1funcs-4-300.S: Likewise.
3617 * config/sh/lib1funcs-Os-4-200.S: Likewise.
3618 * config/sh/lib1funcs.S: Likewise.
3619 * config/sh/linux-unwind.h: Likewise.
3620 * config/sh/t-sh64: Delete.
3621
3622 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
3623
3624 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3625
3626 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
3627 Joern Rennecke <joern.rennecke@embecosm.com>
3628
3629 * config/arc/crttls.S: New file.
3630 * config/arc/t-arc: New rule.
3631 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3632
3633 2016-04-25 Nick Clifton <nickc@redhat.com>
3634
3635 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3636 (__mspabi_cmpd): Likewise.
3637 * config/msp430/floathidf.c (__floathidf): Likewise.
3638 * config/msp430/floathisf.c (__floathisf): Likewise
3639 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3640 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3641 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3642 second parameter.
3643 (__ashrsi3): Likewise.
3644
3645 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
3646
3647 * config/m68k/linux-atomic.c: Do not include unistd.h
3648
3649 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
3650
3651 * config/arm/ieee754-df.S: Fix typos in comments.
3652
3653 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3654
3655 PR target/70381
3656 * configure.ac (powerpc*-*-linux*): Rework tests to build
3657 __float128 emulation routines to not depend on using #pragma GCC
3658 target to enable -mfloat128.
3659 * configure: Regnerate.
3660
3661 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
3662
3663 PR target/67172
3664 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3665 __MINGW32__ is defined.
3666
3667 2016-03-28 James Bowman <james.bowman@ftdichip.com>
3668
3669 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
3670
3671 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
3672
3673 PR libgcc/70363
3674 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3675 built with an assembler that does not support ISA 3.0
3676 instructions, rename __extendkftf2_sw to __extendkftf2.
3677
3678 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3679
3680 PR target/38239
3681 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3682 call-clobbered registers.
3683 (internal_mcount): Remove __i386__ handling.
3684
3685 2016-02-26 Joel Sherrill <joel@rtems.org>
3686
3687 * config.host: Add x86_64-*-rtems*.
3688
3689 2016-02-26 Joel Sherrill <joel@rtems.org>
3690
3691 * libgcc/config.host: Add aarch64-*-rtems*.
3692
3693 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3694 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3695
3696 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3697 union of u64 and double.
3698 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3699 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3700 value.
3701 (FP_ROUNDMODE): Update the usage of _fpscr.
3702
3703 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
3704
3705 PR driver/68463
3706 * Makefile.in (crtoffloadtable$(objext)): New rule.
3707 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3708 enable_offload_targets is not empty.
3709 * configure: Regenerate.
3710 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3711 crtoffloadtable.
3712
3713 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3714
3715 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3716 .literal_position before the function.
3717 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3718 Likewise.
3719
3720 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3721
3722 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3723 * config/s390/morestack.S: New file.
3724 * config/s390/t-stack-s390: New file.
3725 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3726
3727 2016-02-12 Walter Lee <walt@tilera.com>
3728
3729 * config.host (tilegx*-*-linux*): remove ti from
3730 softfp_int_modes for 32-bit configs.
3731
3732 2016-02-10 Ian Lance Taylor <iant@google.com>
3733
3734 PR go/68562
3735 * config/i386/morestack.S (__stack_split_initialize): Align
3736 stack.
3737
3738 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3739
3740 PR bootstrap/69611
3741 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3742 __FLOAT128__ to compile only for __float128 capable targets.
3743
3744 2016-01-25 Jakub Jelinek <jakub@redhat.com>
3745
3746 PR target/69444
3747 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3748 instead of ___NO_FPRS__.
3749
3750 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
3751 Steven Munroe <munroesj@linux.vnet.ibm.com>
3752 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3753
3754 * config/rs6000/float128-sed: New files to convert TF names to KF
3755 names for PowerPC IEEE 128-bit floating point support.
3756 * config/rs6000/float128-sed-hw: Likewise.
3757
3758 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3759 floating point hardware support.
3760
3761 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3762 128-bit floating point software emulation or use ISA 3.0 hardware
3763 support if it is available.
3764
3765 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3766 floating point.
3767
3768 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3769 floating point to IBM extended double.
3770
3771 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3772 double to IEEE 128-bit floating point.
3773
3774 * config/rs6000/t-float128: New Makefile fragments to enable
3775 building __float128 emulation support.
3776 * config/rs6000/t-float128-hw: Likewise.
3777
3778 * config/rs6000/sfp-exceptions.c: New file to provide exception
3779 support for IEEE 128-bit floating point.
3780
3781 * config/rs6000/floattikf.c: New files for converting between IEEE
3782 128-bit floating point and signed/unsigned 128-bit integers.
3783 * config/rs6000/fixunskfti.c: Likewise.
3784 * config/rs6000/fixkfti.c: Likewise.
3785 * config/rs6000/floatuntikf.c: Likewise.
3786
3787 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3788 when building on 64-bit systems, or when VSX is enabled.
3789 (_FP_W_TYPE): Likewise.
3790 (_FP_WS_TYPE): Likewise.
3791 (_FP_I_TYPE): Likewise.
3792 (TItype): Define on 64-bit systems.
3793 (UTItype): Likewise.
3794 (TI_BITS): Likewise.
3795 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3796 (_FP_MUL_MEAT_Q): Likewise.
3797 (_FP_DIV_MEAT_D): Likewise.
3798 (_FP_DIV_MEAT_Q): Likewise.
3799 (_FP_NANFRAC_D): Likewise.
3800 (_FP_NANFRAC_Q): Likewise.
3801 (ISA_BIT): Add exception support if we are being compiled on a
3802 machine with hardware floating point support to build the IEEE
3803 128-bit emulation functions.
3804 (FP_EX_INVALID): Likewise.
3805 (FP_EX_OVERFLOW): Likewise.
3806 (FP_EX_UNDERFLOW): Likewise.
3807 (FP_EX_DIVZERO): Likewise.
3808 (FP_EX_INEXACT): Likewise.
3809 (FP_EX_ALL): Likewise.
3810 (__sfp_handle_exceptions): Likewise.
3811 (FP_HANDLE_EXCEPTIONS): Likewise.
3812 (FP_RND_NEAREST): Likewise.
3813 (FP_RND_ZERO): Likewise.
3814 (FP_RND_PINF): Likewise.
3815 (FP_RND_MINF): Likewise.
3816 (FP_RND_MASK): Likewise.
3817 (_FP_DECL_EX): Likewise.
3818 (FP_INIT_ROUNDMODE): Likewise.
3819 (FP_ROUNDMODE): Likewise.
3820
3821 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3822 VSX code, enable IEEE 128-bit floating point. If the compiler can
3823 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3824 floating point hardware instructions and it supports declaring
3825 functions with the ifunc attribute, enable ifunc functions to
3826 switch between software and hardware support.
3827 * configure.ac (powerpc*-*-linux*): Likewise.
3828 * configure: Regenerate.
3829
3830 2016-01-15 Nick Clifton <nickc@redhat.com>
3831
3832 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3833 dependency as the source file to be compiled.
3834 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3835 (lib2hw_mul_f5.o): Likewise.
3836
3837 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3838
3839 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3840 * libgcc/config/rs6000/fixkfti.c: Likewise.
3841 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3842 * libgcc/config/rs6000/float128-hw.c: Likewise.
3843 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3844 * libgcc/config/rs6000/float128-sed: Likewise.
3845 * libgcc/config/rs6000/floattikf.c: Likewise.
3846 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3847 * libgcc/config/rs6000/quad-float128.h: Likewise.
3848 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3849 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3850 * libgcc/config/rs6000/t-float128: Likewise.
3851 * libgcc/config/rs6000/t-float128-hw: Likewise.
3852 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3853 * libgcc/config.host: Likewise.
3854 * libgcc/configure: Likewise.
3855 * libgcc/configure.ac: Likewise.
3856
3857 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3858 Steven Munroe <munroesj@linux.vnet.ibm.com>
3859 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3860
3861 * config/rs6000/sfp-exceptions.c: New file to provide exception
3862 support for IEEE 128-bit floating point.
3863
3864 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3865 floating point hardware support.
3866
3867 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3868 point conversions.
3869 * config/rs6000/fixunskfti.c: Likewise.
3870 * config/rs6000/fixkfti.c: Likewise.
3871 * config/rs6000/floatuntikf.c: Likewise.
3872 * config/rs6000/extendkftf2-sw.c: Likewise.
3873 * config/rs6000/trunctfkf2-sw.c: Likewise.
3874
3875 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3876 128-bit floating point software emulation or use ISA 3.0 hardware
3877 support if it is available.
3878
3879 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3880 floating point.
3881
3882 * config/rs6000/t-float128: New Makefile fragments to enable
3883 building __float128 emulation support.
3884 * config/rs6000/t-float128-hw: Likewise.
3885
3886 * config/rs6000/float128-sed: New file to convert TF names to KF
3887 names for PowerPC IEEE 128-bit floating point support.
3888
3889 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3890 when building on 64-bit systems, or when VSX is enabled.
3891 (_FP_W_TYPE): Likewise.
3892 (_FP_WS_TYPE): Likewise.
3893 (_FP_I_TYPE): Likewise.
3894 (TItype): Define on 64-bit systems.
3895 (UTItype): Likewise.
3896 (TI_BITS): Likewise.
3897 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3898 (_FP_MUL_MEAT_Q): Likewise.
3899 (_FP_DIV_MEAT_D): Likewise.
3900 (_FP_DIV_MEAT_Q): Likewise.
3901 (_FP_NANFRAC_D): Likewise.
3902 (_FP_NANFRAC_Q): Likewise.
3903 (ISA_BIT): Add exception support if we are being compiled on a
3904 machine with hardware floating point support to build the IEEE
3905 128-bit emulation functions.
3906 (FP_EX_INVALID): Likewise.
3907 (FP_EX_OVERFLOW): Likewise.
3908 (FP_EX_UNDERFLOW): Likewise.
3909 (FP_EX_DIVZERO): Likewise.
3910 (FP_EX_INEXACT): Likewise.
3911 (FP_EX_ALL): Likewise.
3912 (__sfp_handle_exceptions): Likewise.
3913 (FP_HANDLE_EXCEPTIONS): Likewise.
3914 (FP_RND_NEAREST): Likewise.
3915 (FP_RND_ZERO): Likewise.
3916 (FP_RND_PINF): Likewise.
3917 (FP_RND_MINF): Likewise.
3918 (FP_RND_MASK): Likewise.
3919 (_FP_DECL_EX): Likewise.
3920 (FP_INIT_ROUNDMODE): Likewise.
3921 (FP_ROUNDMODE): Likewise.
3922
3923 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3924 compiler can do __float128.
3925 * configure: Regenerate.
3926
3927 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3928 VSX code, enable IEEE 128-bit floating point.
3929
3930 2016-01-05 Olivier Hainque <hainque@adacore.com>
3931
3932 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
3933 specificities.
3934
3935 2016-01-04 Jakub Jelinek <jakub@redhat.com>
3936
3937 Update copyright years.
3938
3939 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3940
3941 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
3942 soft-fp targets.
3943
3944 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3945
3946 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3947 instead of abort to avoid dependency on stdlib.h.
3948
3949 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
3950
3951 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3952 to initialize call to __dl_fixup once.
3953
3954 2015-12-04 Nick Clifton <nickc@redhat.com>
3955
3956 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3957 Allow for the second argument being negative.
3958 * config.host (extra_parts): Define for MSP430. Create separate
3959 libraries for each of the hardware multiply formats.
3960 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3961 that are needed.
3962 * config/msp430/lib2mul.c: Likewise.
3963 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3964 Add rules to build hardware multiply libraries.
3965 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3966 __mspabi_divul function.
3967 (__mspabi_divllu): New stub function.
3968
3969 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
3970
3971 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3972 fixup values if saved GOT address doesn't match runtime address.
3973 (fixup_branch_offset): Reorder list.
3974
3975 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3976
3977 * Makefile.in (VTV_CFLAGS): New variable.
3978 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3979 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3980 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3981 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3982 to extra_parts if $enable_vtable_verify = yes.
3983
3984 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3985
3986 PR target/68059
3987 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3988 (write): ...this and fix the return type.
3989
3990 2015-11-19 DJ Delorie <dj@redhat.com>
3991
3992 * config/msp430/lib2hw_mul.S: Fix alignment.
3993
3994 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3995
3996 * config/nvptx/reduction.c: New.
3997 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3998
3999 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
4000
4001 * config/rs6000/on_exit.c: New file.
4002 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4003 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4004
4005 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
4006
4007 * config/arc/dp-hack.h: Add support for ARCHS.
4008 * config/arc/ieee-754/divdf3.S: Likewise.
4009 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4010 * config/arc/ieee-754/muldf3.S: Likewise.
4011 * config/arc/ieee-754/mulsf3.S: Likewise
4012 * config/arc/lib1funcs.S: Likewise
4013 * config/arc/gmon/dcache_linesz.S: Don't read the build register
4014 for ARCv2 cores.
4015 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4016 for ARCv2 cores.
4017 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4018 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4019 cores.
4020
4021 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4022
4023 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4024 value.
4025 * config/ia64/crtend.S: Likewise.
4026
4027 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4028
4029 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4030 __CHAR_BIT__ instead of BITS_PER_UNIT.
4031 * fixed-bit.h: Likewise.
4032 * fp-bit.h: Likewise.
4033 * libgcc2.c (__popcountSI2): Likewise.
4034 (__popcountDI2): Likewise.
4035 * libgcc2.h: Likewise.
4036 * libgcov.h: Likewise.
4037
4038 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
4039
4040 * config/rs6000/atexit.c: New file.
4041 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4042 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4043 * config/rs6000/cxa_finalize.c
4044 (catomic_compare_and_exchange_bool_acq): Negate return value.
4045
4046 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4047
4048 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4049 (processor_subtypes): Add znver1.
4050 (get_amd_cpu): Detect znver1.
4051
4052 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
4053
4054 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4055 Include crtfastmath.o.
4056
4057 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
4058
4059 PR libgcc/66883
4060 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
4061
4062 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
4063
4064 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4065 * config/rl78/divmodsi.S: Update return register to r8.
4066 * config/rl78/divmodhi.S: Update return register to r8,r9.
4067 Branch to main_loop_done_himode to pop registers before return.
4068
4069 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4070
4071 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4072 (__cpu_indicator_init): Fix model selection for AMD CPUs.
4073
4074 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
4075
4076 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4077
4078 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
4079
4080 * config.host (xtensa*-*-uclinux*): New configuration.
4081
4082 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
4083
4084 * config/i386/cpuinfo.c (processor_features): Add
4085 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4086
4087 2015-09-28 Joseph Myers <joseph@codesourcery.com>
4088
4089 * soft-fp/adddf3.c: Update from glibc.
4090 * soft-fp/addsf3.c: Likewise.
4091 * soft-fp/addtf3.c: Likewise.
4092 * soft-fp/divdf3.c: Likewise.
4093 * soft-fp/divsf3.c: Likewise.
4094 * soft-fp/divtf3.c: Likewise.
4095 * soft-fp/double.h: Likewise.
4096 * soft-fp/eqdf2.c: Likewise.
4097 * soft-fp/eqsf2.c: Likewise.
4098 * soft-fp/eqtf2.c: Likewise.
4099 * soft-fp/extenddftf2.c: Likewise.
4100 * soft-fp/extended.h: Likewise.
4101 * soft-fp/extendsfdf2.c: Likewise.
4102 * soft-fp/extendsftf2.c: Likewise.
4103 * soft-fp/extendxftf2.c: Likewise.
4104 * soft-fp/fixdfdi.c: Likewise.
4105 * soft-fp/fixdfsi.c: Likewise.
4106 * soft-fp/fixdfti.c: Likewise.
4107 * soft-fp/fixsfdi.c: Likewise.
4108 * soft-fp/fixsfsi.c: Likewise.
4109 * soft-fp/fixsfti.c: Likewise.
4110 * soft-fp/fixtfdi.c: Likewise.
4111 * soft-fp/fixtfsi.c: Likewise.
4112 * soft-fp/fixtfti.c: Likewise.
4113 * soft-fp/fixunsdfdi.c: Likewise.
4114 * soft-fp/fixunsdfsi.c: Likewise.
4115 * soft-fp/fixunsdfti.c: Likewise.
4116 * soft-fp/fixunssfdi.c: Likewise.
4117 * soft-fp/fixunssfsi.c: Likewise.
4118 * soft-fp/fixunssfti.c: Likewise.
4119 * soft-fp/fixunstfdi.c: Likewise.
4120 * soft-fp/fixunstfsi.c: Likewise.
4121 * soft-fp/fixunstfti.c: Likewise.
4122 * soft-fp/floatdidf.c: Likewise.
4123 * soft-fp/floatdisf.c: Likewise.
4124 * soft-fp/floatditf.c: Likewise.
4125 * soft-fp/floatsidf.c: Likewise.
4126 * soft-fp/floatsisf.c: Likewise.
4127 * soft-fp/floatsitf.c: Likewise.
4128 * soft-fp/floattidf.c: Likewise.
4129 * soft-fp/floattisf.c: Likewise.
4130 * soft-fp/floattitf.c: Likewise.
4131 * soft-fp/floatundidf.c: Likewise.
4132 * soft-fp/floatundisf.c: Likewise.
4133 * soft-fp/floatunditf.c: Likewise.
4134 * soft-fp/floatunsidf.c: Likewise.
4135 * soft-fp/floatunsisf.c: Likewise.
4136 * soft-fp/floatunsitf.c: Likewise.
4137 * soft-fp/floatuntidf.c: Likewise.
4138 * soft-fp/floatuntisf.c: Likewise.
4139 * soft-fp/floatuntitf.c: Likewise.
4140 * soft-fp/gedf2.c: Likewise.
4141 * soft-fp/gesf2.c: Likewise.
4142 * soft-fp/getf2.c: Likewise.
4143 * soft-fp/ledf2.c: Likewise.
4144 * soft-fp/lesf2.c: Likewise.
4145 * soft-fp/letf2.c: Likewise.
4146 * soft-fp/muldf3.c: Likewise.
4147 * soft-fp/mulsf3.c: Likewise.
4148 * soft-fp/multf3.c: Likewise.
4149 * soft-fp/negdf2.c: Likewise.
4150 * soft-fp/negsf2.c: Likewise.
4151 * soft-fp/negtf2.c: Likewise.
4152 * soft-fp/op-1.h: Likewise.
4153 * soft-fp/op-2.h: Likewise.
4154 * soft-fp/op-4.h: Likewise.
4155 * soft-fp/op-8.h: Likewise.
4156 * soft-fp/op-common.h: Likewise.
4157 * soft-fp/quad.h: Likewise.
4158 * soft-fp/single.h: Likewise.
4159 * soft-fp/soft-fp.h: Likewise.
4160 * soft-fp/subdf3.c: Likewise.
4161 * soft-fp/subsf3.c: Likewise.
4162 * soft-fp/subtf3.c: Likewise.
4163 * soft-fp/truncdfsf2.c: Likewise.
4164 * soft-fp/trunctfdf2.c: Likewise.
4165 * soft-fp/trunctfsf2.c: Likewise.
4166 * soft-fp/trunctfxf2.c: Likewise.
4167 * soft-fp/unorddf2.c: Likewise.
4168 * soft-fp/unordsf2.c: Likewise.
4169 * soft-fp/unordtf2.c: Likewise.
4170
4171 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
4172
4173 PR libgcc/67624
4174 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4175
4176 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4177
4178 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4179 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4180 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4181 messages.
4182 (internal_mcount): Likewise.
4183 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4184 crt_compile, add CRTSTUFF_T_CFLAGS_S.
4185
4186 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4187
4188 * configure.ac (libgcc_cv_solaris_crts): New test.
4189 * configure: Regenerate.
4190 * config.in: Regenerate.
4191 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4192 * config/gmon-sol2.c: Rename to ...
4193 * config/sol2/gmon.c: ... this.
4194 Include auto-target.h.
4195 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4196 * config/t-sol2: Rename to ...
4197 * config/sol2/t-sol2: ... this.
4198 (gmon.o): Reflect renaming.
4199 (crtp.o, crtpg.o): New rules.
4200 * config.host (*-*-solaris2*): Reflect renaming.
4201 Use system CRTs if present.
4202 Remove default CRT case.
4203
4204 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
4205
4206 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4207 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4208 __kernel_cmpxchg2.
4209 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4210 (__sync_val_compare_and_swap_##WIDTH): Likewise.
4211 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4212 (__sync_lock_test_and_set_##WIDTH): Likewise.
4213 (__sync_lock_release_##WIDTH): Likewise.
4214 (__sync_fetch_and_##OP##_4): Change result to match type of
4215 __kernel_cmpxchg.
4216 (__sync_##OP##_and_fetch_4): Likewise.
4217 (__sync_val_compare_and_swap_4): Likewise.
4218 (__sync_bool_compare_and_swap_4): likewise.
4219 (__sync_lock_test_and_set_4): Likewise.
4220 (__sync_lock_release_4): Likewise.
4221 (FETCH_AND_OP_2): Add long long variants.
4222 (OP_AND_FETCH_2): Likewise.
4223 (COMPARE_AND_SWAP_2 ): Likewise.
4224 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4225 (SYNC_LOCK_RELEASE_2): Likewise.
4226 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4227
4228 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
4229
4230 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4231 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4232 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4233 (get_available_features): Habdle new features.
4234
4235 2015-09-21 James Bowman <james.bowman@ftdichip.com>
4236
4237 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4238 memory layout. Deal correctly with BSS region larger than 32K.
4239 Handle a watchdog reset like a power-on reset. Clean up unused
4240 code.
4241
4242 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
4243 David Edelsohn <dje.gcc@gmail.com>
4244
4245 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4246 * config/rs6000/crtdbase.S: New file.
4247 * config/rs6000/t-aix-cxa: Build crtdbase.o.
4248
4249 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
4250
4251 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4252 Add support for call0 ABI.
4253
4254 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
4255
4256 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4257
4258 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
4259
4260 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4261 (__GTHREAD_HAS_COND): Likewise.
4262 (__gthread_t): Likewise.
4263 (__gthread_cond_t): Likewise.
4264 (__gthread_time_t): Likewise.
4265 (__GTHREAD_MUTEX_INIT): Likewise.
4266 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4267 (__GTHREAD_COND_INIT): Likewise.
4268 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4269 (__GTHREAD_TIME_INIT): Likewise.
4270 (__gthread_create): Likewise.
4271 (__gthread_join): Likewise.
4272 (__gthread_detach): Likewise.
4273 (__gthread_equal): Likewise.
4274 (__gthread_self): Likewise.
4275 (__gthread_yield): Likewise.
4276 (__gthread_cond_broadcast): Likewise.
4277 (__gthread_cond_signal): Likewise.
4278 (__gthread_cond_wait): Likewise.
4279 (__gthread_cond_timedwait): Likewise.
4280 (__gthread_cond_wait_recursive): Likewise.
4281 (__gthread_cond_destroy): Likewise.
4282 (rtems_gxx_once): Delete.
4283 (rtems_gxx_key_create): Likewise.
4284 (rtems_gxx_key_delete): Likewise.
4285 (rtems_gxx_getspecific): Likewise.
4286 (rtems_gxx_setspecific): Likewise.
4287 (rtems_gxx_mutex_init): Likewise.
4288 (rtems_gxx_mutex_destroy): Likewise.
4289 (rtems_gxx_mutex_lock): Likewise.
4290 (rtems_gxx_mutex_trylock): Likewise.
4291 (rtems_gxx_mutex_unlock): Likewise.
4292 (rtems_gxx_recursive_mutex_init): Likewise.
4293 (rtems_gxx_recursive_mutex_lock): Likewise.
4294 (rtems_gxx_recursive_mutex_trylock): Likewise.
4295 (rtems_gxx_recursive_mutex_unlock): Likewise.
4296 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4297 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4298 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4299 (__gthread_once): Likewise.
4300 (__gthread_key_create): Likewise.
4301 (__gthread_key_delete): Likewise.
4302 (__gthread_getspecific): Likewise.
4303 (__gthread_setspecific): Likewise.
4304 (__gthread_key_t): Use <pthread.h> type.
4305 (__gthread_once_t): Likewise
4306 (__gthread_mutex_t): Use <sys/lock.h> type.
4307 (__gthread_recursive_mutex_t): Likewise
4308 (__gthread_mutex_lock): Use <sys/lock.h> function.
4309 (__gthread_mutex_trylock): Likewise.
4310 (__gthread_mutex_timedlock): Likewise.
4311 (__gthread_mutex_unlock): Likewise.
4312 (__gthread_mutex_destroy): Likewise.
4313 (__gthread_recursive_mutex_lock): Likewise.
4314 (__gthread_recursive_mutex_trylock): Likewise.
4315 (__gthread_recursive_mutex_timedlock): Likewise.
4316 (__gthread_recursive_mutex_unlock): Likewise.
4317 (__gthread_recursive_mutex_destroy): Likewise.
4318
4319 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4320
4321 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4322 context->sp instead of context->cfa.
4323
4324 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4325
4326 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4327 with unwind-dw2-fde-dip.
4328
4329 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4330
4331 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4332 CALL12 followed by series of ENTRY to spill windowed registers.
4333 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4334 instead of making linux spill syscall.
4335
4336 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
4337
4338 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4339 (get_intel_cpu): Likewise.
4340
4341 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
4342
4343 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4344 (get_intel_cpu): Add Knights Landing support.
4345
4346 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
4347
4348 PR target/66954
4349 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4350 (get_available_features): Handle FEATURE_PCLMUL.
4351
4352 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
4353
4354 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4355 Broadwell.
4356
4357 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
4358
4359 PR target/66954
4360 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4361 (get_available_features): Handle FEATURE_AES.
4362
4363 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
4364
4365 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4366 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4367
4368 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
4369
4370 * offloadstuff.c: Constify host data.
4371
4372 2015-07-17 Jan Beulich <jbeulich@suse.com>
4373
4374 * config/t-softfp: Split up "else ifneq".
4375
4376 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4377 Cesar Philippidis <cesar@codesourcery.com>
4378 Chung-Lin Tang <cltang@codesourcery.com>
4379
4380 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4381 for __nios2_arch__ level.
4382
4383 2015-07-13 John Marino <gnugcc@marino.st>
4384
4385 * config/i386/t-dragonfly: New.
4386
4387 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
4388
4389 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4390 better match light-weight syscall argument order.
4391 (__kernel_cmpxchg2): Likewise.
4392 Adjust callers.
4393
4394 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
4395
4396 * config.host: Support i[34567]86-*-elfiamcu target.
4397 * config/t-softfp-sfdftf: New file.
4398 * config/i386/32/t-iamcu: Likewise.
4399 * configure: Regenerated.
4400
4401 2015-06-23 James Lemke <jwlemke@codesourcery.com>
4402
4403 libgcc/config/arm/
4404 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4405
4406 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
4407
4408 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4409
4410 2015-05-27 John Marino <gnugcc@marino.st>
4411
4412 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4413 md_unwind_header
4414 * config/i386/freebsd-unwind.h: New.
4415
4416 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
4417
4418 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4419 i386/t-crtfm to tmake_file.
4420 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4421 (set_fast_math): Use set_fast_math_sse for SSE targets.
4422 * config/i386/t-crtfm: Remove.
4423
4424 2015-05-21 Alan Modra <amodra@gmail.com>
4425
4426 PR libgcc/66225
4427 * config/rs6000/morestack.S: Remove ".abiversion 1".
4428
4429 2015-05-20 Alan Modra <amodra@gmail.com>
4430
4431 * config/rs6000/morestack.S: New.
4432 * config/rs6000/t-stack-rs6000: New.
4433 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4434 to tmake_file.
4435 * generic-morestack.c: Don't build for powerpc 32-bit.
4436
4437 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
4438
4439 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4440 Remove useless endif/ifneq ($(enable_shared),yes) pair.
4441
4442 2015-05-16 James Bowman <james.bowman@ftdichip.com>
4443
4444 * config.host: FT32 target added.
4445 * config/ft32/*: New files for FT32 target.
4446
4447 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
4448
4449 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4450 New macros.
4451 * config/arm/ieee754-df.S: Add CFI directives.
4452 * config/arm/ieee754-sf.S: Add CFI directives.
4453
4454 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
4455
4456 * configure.ac: Include config/sjlj.m4.
4457 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4458 * config.in: Regenerate.
4459 * configure: Likewise.
4460 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4461
4462 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
4463
4464 * libgcov-util.c: Add space between string literal and macro name.
4465
4466 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
4467 Chris Jones <chrisj@nvidia.com>
4468 Joshua Conner <jconner@nvidia.com>
4469
4470 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4471 (arm*-*-uclinux*): Likewise.
4472 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4473 * config/arm/crtfastmath.c: New file.
4474
4475 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
4476
4477 * Makefile.in (real_host_noncanonical): New variable.
4478 (libsubdir): Use it.
4479 * configure.ac (real_host_noncanonical): Compute. Remove special
4480 case for intelmicemul.
4481 * configure: Regenerate.
4482
4483 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4484
4485 * config/frv/elf-lib.h: New file.
4486 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4487 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4488 to tm_file.
4489
4490 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4491
4492 * config/frv/frvbengin.c: Do not include defaults.h
4493 * config/frv/frvend.c: Ditto.
4494
4495 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
4496
4497 * config.host: Add h8300-*-linux
4498 * config/h8300/t-linux: New file.
4499 * config/h8300/lib1funs.s: Change symbol prefix.
4500 * config/h8300/sfp-machine.h: 64bit double support.
4501
4502 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
4503 Szabolcs Nagy <szabolcs.nagy@arm.com>
4504
4505 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4506 Linux if target provides dl_iterate_phdr.
4507
4508 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
4509
4510 PR target/65612
4511 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4512 * config/i386/cpuinfo.c (__cpu_model): Initialize.
4513 (__cpu_indicator_init@GCC_4.8.0): New.
4514 (__cpu_model@GCC_4.8.0): Likewise.
4515 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4516 -DUSE_ELF_SYMVER.
4517
4518 2015-04-16 Nick Clifton <nickc@redhat.com>
4519
4520 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4521 and __modhi3 functions.
4522 * config/rl78/divmodso.S: Add G14 and G13 versions of the
4523 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4524
4525 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
4526
4527 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4528 do-while loop as macro body to avoid warnings.
4529
4530 2015-04-10 Jakub Jelinek <jakub@redhat.com>
4531 Iain Sandoe <iain@codesourcery.com>
4532
4533 PR target/65351
4534 * configure: Regenerate.
4535
4536 2015-04-07 Jakub Jelinek <jakub@redhat.com>
4537 Iain Sandoe <iain@codesourcery.com>
4538
4539 PR target/65351
4540 * configure: Regenerate.
4541
4542 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
4543
4544 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4545
4546 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
4547
4548 Implement call0 ABI for xtensa
4549 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4550 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4551 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4552 use ret in call0 ABI.
4553 * config/xtensa/t-windowed: New file.
4554 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4555 * libgcc/configure: Regenerated.
4556 * libgcc/configure.ac: Check if xtensa target is configured for
4557 windowed ABI and thus needs to use custom unwind code.
4558
4559 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
4560
4561 PR libgcc/64885
4562 * gthr-single.h: Use __unused__ attribute instead of unused.
4563 * config/gthr-vxworks.h: Likewise.
4564 * config/i386/gthr-win32.h: Likewise.
4565
4566 2015-02-27 Kai Tietz <ktietz@redhat.com>
4567
4568 PR target/65038
4569 * config.in: Regenerated.
4570 * configure: Likewise.
4571 * configure.ac (AC_HEADER_STDC): Added explicit.
4572 (AC_CHECK_HEADERS): Check for default headers plus
4573 for ftw.h header.
4574 * libgcov-util.c (gcov_read_profile_dir): Disable use
4575 of ftw-function, if header is not found.
4576 (ftw_read_file): Likewise.
4577
4578 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
4579
4580 PR target/65181
4581 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4582 -Dinhibit_libc.
4583
4584 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
4585
4586 * config/arm/bpabi.S (test_div_by_zero): Make label names
4587 consistent between thumb2 and arm mode cases. Separate the
4588 signed comparison on the high word of the numerator from the
4589 unsigned comparison on the low word.
4590 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4591 signed comparison.
4592
4593 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4594
4595 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4596 and <string.h>.
4597 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4598
4599 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
4600
4601 PR gcov-profile/61889
4602 * libgcov-driver-system.c: undefine clashing macro for mkdir.
4603
4604 2015-02-02 Nick Clifton <nickc@redhat.com>
4605
4606 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4607 rounding up the fraction.
4608
4609 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
4610
4611 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4612 oldval and newval to const void *. Fix typo.
4613 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4614 (FETCH_AND_OP_WORD): Likewise.
4615 (OP_AND_FETCH_WORD): Likewise.
4616 (COMPARE_AND_SWAP_2): Likewise.
4617 (__sync_val_compare_and_swap_4): Likewise.
4618 (__sync_lock_test_and_set_4): Likewise.
4619 (SYNC_LOCK_RELEASE_2): Likewise.
4620 Remove support for long long atomic operations.
4621
4622 2015-01-27 Caroline Tice <cmtice@google.com>
4623
4624 Committing VTV Cywin/Ming patch for Patrick Wollgast
4625 * Makefile.in: Move rules to build vtv_*.o out of the check
4626 for CUSTOM_CRTSTUFF.
4627 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4628 i[34567]86-*-mingw*)
4629 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4630 enable_vtable_verify.
4631
4632 2015-01-27 Nick Clifton <nickc@redhat.com>
4633
4634 * config/rl78/cmpsi2.S: Use function start and end macros.
4635 (__gcc_bcmp): New function.
4636 * config/rl78/lshrsi3.S: Use function start and end macros.
4637 * config/rl78/mulsi3.S: Add support for G10.
4638 (__mulqi3): New function for G10.
4639 * config/rl78/signbit.S: Use function start and end macros.
4640 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4641 fpmath-sf.S.
4642 (LIB2FUNCS_EXCLUDE): Define.
4643 (LIB2FUNCS_ST): Define.
4644 * config/rl78/trampoline.S: Use function start and end macros.
4645 * config/rl78/vregs.h (START_FUNC): New macro.
4646 (START_ANOTHER_FUNC): New macro.
4647 (END_FUNC): New macro.
4648 (END_ANOTHER_FUNC): New macro.
4649 * config/rl78/bit-count.S: New file. Contains assembler
4650 implementations of the bit counting functions: ___clzhi2,
4651 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4652 __paritysi2, __popcounthi2 and __popcountsi2.
4653 * config/rl78/fpbit-sf.S: New file. Contains assembler
4654 implementationas of the math functions: __negsf2, __cmpsf2,
4655 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4656 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
4657 * config/rl78/fpmath-sf.S: New file. Contains assembler
4658 implementations of the math functions: __subsf3, __addsf3,
4659 __mulsf3 and __divsf3
4660
4661 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4662
4663 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4664 Add i386/elf-lib.h to tm_file.
4665 * config/i386/elf-lib.h: Fix comment.
4666 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4667 && __sun__ && __svr4__]: Remove workaround.
4668
4669 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4670
4671 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4672 FEATURE_BMI2.
4673 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4674
4675 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
4676
4677 * config/i386/cpuinfo.c (processor_subtypes): Add
4678 INTEL_COREI7_BROADWELL.
4679 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4680 model numbers.
4681
4682 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
4683
4684 * config/i386/elf-lib.h: New file.
4685 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4686 Wrap definition in #ifdef __i386__.
4687 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4688 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4689 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4690 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4691 to tm_file.
4692
4693 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
4694
4695 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4696 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4697
4698 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
4699
4700 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4701 Update rt_sigframe format and address for current Nios II
4702 Linux conventions.
4703
4704 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
4705
4706 * config.host (arm*-*-freebsd*): Add new configuration for
4707 arm*-*-freebsd*.
4708 * config/arm/freebsd-atomic.c: New file.
4709 * config/arm/t-freebsd: Likewise.
4710 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4711 'PC-relative indirect' OS's.
4712
4713 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
4714
4715 * config.host: Add Visium support.
4716 * config/visium: New directory.
4717
4718 2015-01-05 Jakub Jelinek <jakub@redhat.com>
4719
4720 Update copyright years.
4721
4722 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4723
4724 * config.host: Support mipsisa32r6 and mipsisa64r6.
4725 * config/mips/mips16.S: Do not build for R6.
4726
4727 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4728
4729 * config/sh/crt.h: New.
4730 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4731 symbols.
4732 * config/sh/crt1.S: Likewise.
4733
4734 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
4735
4736 PR libgcc/63832
4737 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4738 func_ptr *dtor_list temporary variable to avoid "array subscript
4739 is above array bounds" warnings.
4740
4741 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
4742
4743 * Makefile.in (with_aix_soname): Define.
4744 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4745 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4746 * configure: Recreate.
4747
4748 2014-12-05 Olivier Hainque <hainque@adacore.com>
4749
4750 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4751 now provided by defaults.h.
4752
4753 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4754
4755 PR target/55351
4756 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4757 whether it's defined.
4758
4759 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4760
4761 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4762 * config/i386/cpuinfo.c (get_available_features): Detect it.
4763
4764 2014-11-27 Tony Wang <tony.wang@arm.com>
4765
4766 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4767 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4768 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4769
4770 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4771
4772 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4773
4774 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
4775
4776 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4777 instead.
4778
4779 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4780 John David Anglin <danglin@gcc.gnu.org>
4781
4782 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4783 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4784 (OP_AND_FETCH_2): Likewise.
4785 (COMPARE_AND_SWAP_2): Likewise.
4786 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4787 (SYNC_LOCK_RELEASE_2): Likewise.
4788 (SUBWORD_SYNC_OP): Remove.
4789 (SUBWORD_VAL_CAS): Likewise.
4790 (SUBWORD_BOOL_CAS): Likewise.
4791 (FETCH_AND_OP_WORD): Update.
4792 Consistently use signed types.
4793
4794 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4795 Thomas Schwinge <thomas@codesourcery.com>
4796 Ilya Verbin <ilya.verbin@intel.com>
4797 Andrey Turetskiy <andrey.turetskiy@intel.com>
4798
4799 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4800 (crtoffloadend$(objext)): Likewise.
4801 * configure: Regenerate.
4802 * configure.ac (accel_dir_suffix): Compute new variable.
4803 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4804 if enable_offload_targets is not empty.
4805 * offloadstuff.c: New file.
4806
4807 2014-11-13 Nick Clifton <nickc@redhat.com>
4808
4809 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4810 Use START_FUNC and END_FUNC macros to enable linker garbage
4811 collection.
4812 * config/rl78/divmodqi.S: Likewise.
4813 * config/rl78/divmodsi.S: Likewise.
4814 * config/rl78/mulsi3.S: Likewise.
4815 * config/rl78/lib2div.c: Remove G10 functions.
4816 * config/rl78/lib2muls.c: Likewise.
4817 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4818 * config/rl78/vregs.h (START_FUNC): New macro.
4819 (END_FUNC): New macro.
4820
4821 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4822
4823 * config/mips/mips16.S: Set .module when supported. Update O32
4824 FP64 calling convention and use for FPXX when possible. Add FPXX
4825 calling convention fallback case.
4826
4827 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4828
4829 * config.host: Handle nvptx-*-*.
4830 * shared-object.mk (as-flags-$o): Define.
4831 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4832 -xassembler-with-cpp.
4833 * static-object.mk: Identical changes.
4834 * config/nvptx/t-nvptx: New file.
4835 * config/nvptx/crt0.s: New file.
4836 * config/nvptx/free.asm: New file.
4837 * config/nvptx/malloc.asm: New file.
4838 * config/nvptx/realloc.c: New file.
4839
4840 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4841
4842 * Makefile.in (libgcc.map.in): New target.
4843 (libgcc.map): Use libgcc.map.in.
4844 * config/t-softfp (softfp_compat): New variable to be set by
4845 users.
4846 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4847 variables.
4848 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4849 directory.
4850 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4851 that use compat symbols and disable all code unless [SHARED].
4852 * config/t-softfp-compat: New file.
4853 * find-symver.awk: New file.
4854 * configure.ac (--with-glibc-version): New configure option.
4855 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4856 * configure: Regenerate.
4857 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4858 soft-float and e500.
4859
4860 2014-10-29 Joseph Myers <joseph@codesourcery.com>
4861
4862 * config/t-hardfp (hardfp_exclusions): Document new variable for
4863 user to define.
4864 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4865 * config/t-softfp (softfp_extras): Document new variable for user
4866 to define.
4867 (softfp_func_list): Add functions from $(softfp_extras).
4868 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4869 * config.host (powerpc*-*-linux*): For e500v1, use
4870 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4871 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4872 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4873
4874 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
4875
4876 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4877 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4878 memory read accesses are ok.
4879
4880 2014-10-25 Joseph Myers <joseph@codesourcery.com>
4881
4882 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4883 * configure: Regenerate.
4884 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4885 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4886 of soft-fp for 32-bit classic hard float. Do not use
4887 t-softfp-excl for soft float.
4888
4889 2014-10-22 Joseph Myers <joseph@codesourcery.com>
4890
4891 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4892 configurations.
4893 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4894 Remove variables.
4895
4896 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
4897
4898 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4899 introduced with 2014-10-21 trunk r216525.
4900
4901 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
4902 Vidya Praveen <vidya.praveen@atmel.com>
4903 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4904 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4905 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
4906
4907 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4908 order.
4909
4910 Updated library functions for AVRTINY arch.
4911 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4912 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4913 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4914 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4915 wsubi/wadi macors.
4916 (__mulsi3_helper): Update stack, preserve callee saved regs and
4917 argument from stack. Restore callee save registers.
4918 (__mulpsi3): Likewise.
4919 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4920 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
4921 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
4922 AVRTINY.
4923 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4924 (__do_copy_data): Added new definition for AVRTINY.
4925 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4926 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4927 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4928 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4929 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4930 macors.
4931 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
4932 AVRTINY.
4933
4934 Fix broken long multiplication on tiny arch.
4935
4936 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4937
4938 * soft-fp/double.h: Update from glibc.
4939 * soft-fp/eqdf2.c: Likewise.
4940 * soft-fp/eqsf2.c: Likewise.
4941 * soft-fp/eqtf2.c: Likewise.
4942 * soft-fp/extenddftf2.c: Likewise.
4943 * soft-fp/extended.h: Likewise.
4944 * soft-fp/extendsfdf2.c: Likewise.
4945 * soft-fp/extendsftf2.c: Likewise.
4946 * soft-fp/extendxftf2.c: Likewise.
4947 * soft-fp/gedf2.c: Likewise.
4948 * soft-fp/gesf2.c: Likewise.
4949 * soft-fp/getf2.c: Likewise.
4950 * soft-fp/ledf2.c: Likewise.
4951 * soft-fp/lesf2.c: Likewise.
4952 * soft-fp/letf2.c: Likewise.
4953 * soft-fp/op-1.h: Likewise.
4954 * soft-fp/op-2.h: Likewise.
4955 * soft-fp/op-4.h: Likewise.
4956 * soft-fp/op-8.h: Likewise.
4957 * soft-fp/op-common.h: Likewise.
4958 * soft-fp/quad.h: Likewise.
4959 * soft-fp/single.h: Likewise.
4960 * soft-fp/soft-fp.h: Likewise.
4961 * soft-fp/unorddf2.c: Likewise.
4962 * soft-fp/unordsf2.c: Likewise.
4963 * soft-fp/unordtf2.c: Likewise.
4964 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4965 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4966 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4967 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4968 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4969 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4970 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4971 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4972 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4973 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4974
4975 2014-10-08 Rong Xu <xur@google.com>
4976
4977 * libgcov-util.c (read_gcda_file): Fix format.
4978 (find_match_gcov_info): Ditto.
4979 (calculate_2_entries): New.
4980 (compute_one_gcov): Ditto.
4981 (gcov_info_count_all_cold): Ditto.
4982 (gcov_info_count_all_zero): Ditto.
4983 (extract_file_basename): Ditto.
4984 (get_file_basename): Ditto.
4985 (set_flag): Ditto.
4986 (matched_gcov_info): Ditto.
4987 (calculate_overlap): Ditto.
4988 (gcov_profile_overlap): Ditto.
4989 * libgcov-driver.c (compute_summary): Make
4990 it avavilable for external calls.
4991
4992 2014-10-06 Rong Xu <xur@google.com>
4993
4994 * Makefile.in: Ditto.
4995 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4996 (gcov_sort_icall_topn_counter): Ditto.
4997 (gcov_sort_topn_counter_arrays): Ditto.
4998 (dump_one_gcov): Sort indirect_call topn counters.
4999 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5000 function.
5001 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5002 utility function.
5003 (__gcov_indirect_call_topn_profiler): New profiler function.
5004 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5005 * libgcov.h: New decls.
5006
5007 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
5008
5009 * config.host: Remove support for score-*.
5010
5011 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5012
5013 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5014 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5015 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5016 __LIBGCC_XF_MANT_DIG__.
5017 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5018 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5019 __LIBGCC_TF_MANT_DIG__.
5020 * libgcc2.c (NOTRUNC): Define in terms of
5021 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5022 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5023
5024 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5025
5026 PR target/63312
5027 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5028 New macros.
5029
5030 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
5031
5032 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5033 override USE_PT_GNU_EH_FRAME.
5034 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5035 check USE_EH_FRAME_REGISTRY_ALWAYS against
5036 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5037 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5038 variable for substituted force_explicit_eh_registry.
5039 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5040 * configure.ac (explicit-exception-frame-registration):
5041 New AC_ARG_ENABLE.
5042 * configure: Regenerate.
5043
5044 2014-09-19 Olivier Hainque <hainque@adacore.com>
5045
5046 * config.host (powerpc-wrs-vxworksmils): New configuration,
5047 same as vxworksae.
5048
5049 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5050
5051 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5052
5053 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5054
5055 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5056 bits not set bits as indicating trapping exceptions.
5057
5058 2014-09-17 Nathan sidwell <nathan@acm.org>
5059
5060 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5061 (LIBGCOV_DRIVER): ... here.
5062 * libgcov-driver.c (gcov_master): New.
5063 (gcov_exit): Remove from master chain.
5064 (__gcov_init): Add to master chain if version compatible. Don't
5065 clear the version.
5066 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5067 (gcov_reset_int): Clear master chain, if compatible.
5068 (gcov_dump_int): New internal interface. Dump master chain, if
5069 compatible.
5070 (gcov_dump): Alias for gcov_dump_int.
5071 * libgcov.h (struct gcov_root): Add next and prev fields.
5072 (struct gcov_master): New struct.
5073 (__gcov_master): New.
5074 (gcov_dump_int): Declare.
5075
5076 2014-09-17 Olivier Hainque <hainque@adacore.com>
5077
5078 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5079 and crtbegin.o + crtend.o to extra_parts.
5080
5081 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5082
5083 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5084 __LIBGCC_HAS_SF_MODE__.
5085 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5086 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5087 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5088 * config/libbid/bid_gcc_intrinsics.h
5089 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5090 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5091 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5092 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5093 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5094 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5095
5096 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
5097
5098 PR target/63223
5099 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5100 and R24 as needed. Make work for all devices and .text locations.
5101 (__do_global_ctors, __do_global_dtors): Use word addresses.
5102 (__tablejump__, __tablejump_elpm__): Remove functions.
5103 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5104 Add _tablejump2.
5105 (XICALL, XIJMP): New macros.
5106
5107 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
5108 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5109
5110 * config.host (aarch64*): Include crtfastmath.o and
5111 t-crtfm.
5112 * config/aarch64/crtfastmath.c: New file.
5113
5114 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
5115
5116 * config.host: Remove picochip support.
5117 * config/picochip/adddi3.S: Remove.
5118 * config/picochip/ashlsi3.S: Remove.
5119 * config/picochip/ashlsi3.c: Remove.
5120 * config/picochip/ashrsi3.S: Remove.
5121 * config/picochip/ashrsi3.c: Remove.
5122 * config/picochip/clzsi2.S: Remove.
5123 * config/picochip/cmpsi2.S: Remove.
5124 * config/picochip/divmod15.S: Remove.
5125 * config/picochip/divmodhi4.S: Remove.
5126 * config/picochip/divmodsi4.S: Remove.
5127 * config/picochip/lib1funcs.S: Remove.
5128 * config/picochip/longjmp.S: Remove.
5129 * config/picochip/lshrsi3.S: Remove.
5130 * config/picochip/lshrsi3.c: Remove.
5131 * config/picochip/parityhi2.S: Remove.
5132 * config/picochip/popcounthi2.S: Remove.
5133 * config/picochip/setjmp.S: Remove.
5134 * config/picochip/subdi3.S: Remove.
5135 * config/picochip/t-picochip: Remove.
5136 * config/picochip/ucmpsi2.S: Remove.
5137 * config/picochip/udivmodhi4.S: Remove.
5138 * config/picochip/udivmodsi4.S: Remove.
5139
5140 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5141
5142 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5143 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5144 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5145 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5146 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
5147 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5148 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
5149 defined and LIBGCC2_HAS_DF_MODE is defined.
5150 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
5151 defined and LIBGCC2_HAS_XF_MODE is defined.
5152 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
5153 defined and LIBGCC2_HAS_TF_MODE is defined.
5154
5155 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5156
5157 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5158 and ROUND_TOWARDS_ZERO conditionals.
5159
5160 2014-09-07 Nathan sidwell <nathan@acm.org>
5161
5162 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5163 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
5164
5165 2014-09-05 Joseph Myers <joseph@codesourcery.com>
5166
5167 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5168 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5169 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5170 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5171 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5172 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5173 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5174 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5175 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5176 (DWARF_FRAME_REGISTERS): Change all uses to
5177 __LIBGCC_DWARF_FRAME_REGISTERS__.
5178 (EH_RETURN_STACKADJ_RTX): Change all uses to
5179 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5180 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5181 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
5182 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5183 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5184 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5185 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5186 to __LIBGCC_EH_FRAME_SECTION_NAME__.
5187 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5188 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5189 __LIBGCC_STACK_POINTER_REGNUM__.
5190 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5191 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5192 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5193 to __LIBGCC_STACK_POINTER_REGNUM__.
5194 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5195 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5196 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5197 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5198 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5199 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5200 (STACK_POINTER_REGNUM): Change all uses to
5201 __LIBGCC_STACK_POINTER_REGNUM__.
5202 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5203 use to __LIBGCC_STACK_POINTER_REGNUM__.
5204 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5205 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5206 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5207 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5208 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5209 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5210 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5211 to __LIBGCC_STACK_POINTER_REGNUM__.
5212 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5213 Remove conditional definition.
5214 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5215 __LIBGCC_TEXT_SECTION_ASM_OP__.
5216 (EH_FRAME_SECTION_NAME): Change all uses to
5217 __LIBGCC_EH_FRAME_SECTION_NAME__.
5218 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5219 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5220 (CTORS_SECTION_ASM_OP): Change all uses to
5221 __LIBGCC_CTORS_SECTION_ASM_OP__.
5222 (DTORS_SECTION_ASM_OP): Change all uses to
5223 __LIBGCC_DTORS_SECTION_ASM_OP__.
5224 (JCR_SECTION_NAME): Change all uses to
5225 __LIBGCC_JCR_SECTION_NAME__.
5226 (INIT_SECTION_ASM_OP): Change all uses to
5227 __LIBGCC_INIT_SECTION_ASM_OP__.
5228 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5229 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5230 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5231 __LIBGCC_STACK_GROWS_DOWNWARD__.
5232 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5233 __LIBGCC_INIT_SECTION_ASM_OP__.
5234 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5235 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5236 (EH_FRAME_SECTION_NAME): Change all uses to
5237 __LIBGCC_EH_FRAME_SECTION_NAME__.
5238 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5239 definitions. Change all uses to
5240 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5241 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5242 __LIBGCC_STACK_GROWS_DOWNWARD__.
5243 (DWARF_FRAME_REGISTERS): Change all uses to
5244 __LIBGCC_DWARF_FRAME_REGISTERS__.
5245 (EH_RETURN_STACKADJ_RTX): Change all uses to
5246 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5247 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5248 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5249 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5250 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5251 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5252
5253 2014-09-02 Nathan sidwell <nathan@acm.org>
5254
5255 * libgcov-interface.c (STRONG_ALIAS): New.
5256 (__gcov_flush): Call __gcov_reset_int.
5257 (__gcov_reset): Strong alias for ...
5258 (__gcov_reset_ing): ... this renamed hidden version.
5259 * libgcov.h (__gcov_reset_int): New declaration.
5260
5261 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
5262
5263 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5264 call from here...
5265 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5266 (__dso_handle): Define on Cygwin.
5267 * config/i386/t-cygming (crtbeginS.o): New rule.
5268 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5269
5270 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5271 declaration syntax.
5272
5273 2014-08-13 Steve Ellcey <sellcey@mips.com>
5274
5275 * crtstuff.c: Undef caddr_t.
5276
5277 2014-08-12 Steve Ellcey <sellcey@mips.com>
5278
5279 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
5280
5281 2014-08-07 Nathan Sidwell <nathan@acm.org>
5282
5283 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5284 (LIBGCOV_DRIVER): ... to here.
5285 * libgcov.h (gcov_do_dump): New #define.
5286 (struct gcov_root): New.
5287 (__gcov_root): New declaration.
5288 (__gcov_dump_one): Declare.
5289 * libgcov-driver.c (gcov_list, gcov_dump_complete,
5290 run_accounted): Delete.
5291 (gcov_compute_histogram): Add LIST argument, adjust.
5292 (compute_summary): Adjust gcov_compute_histogram call.
5293 (gcov_do_dump): Not hidden, static in libgcov.
5294 (gcov_clear): Move to interface.c.
5295 (__gcov_dump_one): New, broken out of ...
5296 (gcov_exit): ... here. Make static.
5297 (__gcov_root): New.
5298 (__gcov_init): Adjust.
5299 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5300 declarations.
5301 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5302 (gcov_clear): Moved from driver.c. Add LIST argument.
5303 (__gcov_reset): Adjust for changed interfaces.
5304 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5305
5306 2014-08-04 Rohit <rohitarulraj@freescale.com>
5307
5308 PR target/60102
5309 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
5310 based on change in SPE high register numbers and 3 HTM registers.
5311
5312 2014-08-01 Nathan Sidwell <nathan@acm.org>
5313
5314 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5315 LIBGCOV_INTERFACE): Reformat.
5316 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5317 IN_GCOV_TOOL.
5318 * libgcov-interface.c: Reformat some comments.
5319 (__gcov_flush_mx): Add declaration. Tidy up definition.
5320
5321 2014-07-31 Alan Modra <amodra@gmail.com>
5322 Peter Bergner <bergner@vnet.ibm.com>
5323
5324 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5325 (pack_ldouble): New function.
5326 (__gcc_qadd): Use it.
5327 (__gcc_qmul): Likewise.
5328 (__gcc_qdiv): Likewise.
5329 (__gcc_qneg): Likewise.
5330 (__gcc_stoq): Likewise.
5331 (__gcc_dtoq): Likewise.
5332
5333 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
5334
5335 * config/s390/tpf-unwind.h: Include <stdbool.h>.
5336 (__tpf_eh_return): Add original return address as second parameter.
5337 Handle cases where unwinder routines were called directly, instead
5338 of from within the C++ library.
5339
5340 2014-07-29 Nathan Sidwell <nathan@acm.org>
5341
5342 * libgcov.h: Move renaming of entry points to lib gcov specific
5343 portion.
5344 (gcov_do_dump): New rename.
5345 (gcov_rewrite): Remove inline, make HIDDEN.
5346 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5347 (gcov_exit_compute_summary): Rename to ...
5348 (compute_summary): ... here. Add LIST argument.
5349 (gcov_exit_merge_gcda): Rename to ...
5350 (merge_one_data): ... here.
5351 (gcov_exit_write_gcda): Rename to ...
5352 (write_one_data): ... here.
5353 (gcov_exit_merge_summary): Rename to ...
5354 (merge_summary): Add RUN_COUNTED argument.
5355 (gcov_exit_dump_gcov): Rename to ...
5356 (dump_one_gcov): Add RUN_COUNTED argument.
5357 (gcov_do_dump): New function, broken out of ...
5358 (gcov_exit): ... here. Call it.
5359
5360 2014-07-27 Anthony Green <green@moxielogic.com>
5361
5362 * config.host: Add moxiebox configuration suppport.
5363
5364 2014-07-27 Nathan Sidwell <nathan@acm.org>
5365
5366 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5367 (struct gcov_filename): ... here. Include buffer and max length
5368 fields.
5369 (gcov_max_filename): Remove.
5370 (gi_filename): Remove.
5371 (gcov_exit_compute_summary): Compute max filename here.
5372 (gcov_exit_merge_gcda): Add filename parm, adjust.
5373 (gcov_exit_merge_summary): Likewise.
5374 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5375 (gcov_exit): Likewise.
5376 (__gcov_init): Don't calculate max length here.
5377 * libgcov_util.c (max_filename_len): Remove.
5378 (read_gcda_file): Don't calculate max length here.
5379 (gcov_read_profile_dir): Don't propagate here.
5380 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5381 struct gcov_filename changes.
5382 (gcov_exit_open_gcda_file): Likewise.
5383
5384 2014-07-25 Nathan Sidwell <nathan@acm.org>
5385
5386 * libgcov-driver.c (set_gcov_dump_complete,
5387 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5388 functions polluting user's namespace.
5389 (gcov_exit): Set variable directly.
5390 (gcov_clear): Reset variable directly.
5391 * libgcov-interface.c (get_gcov_dymp_complete,
5392 reset_gov_dump_complete): Remove declarations.
5393 (__gcov_reset, __gcov_dump): Don't call them.
5394
5395 2014-07-24 DJ Delorie <dj@redhat.com>
5396
5397 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5398 (__gcc_deregister_frame): Move logic to detect deregister function
5399 to ...
5400 (__gcc_register_frame): here, so it's consistent with the register
5401 logic.
5402
5403 2014-07-23 Nathan Sidwell <nathan@acm.org>
5404
5405 * libgcov-driver.c (set_gcov_list): Remove.
5406 (gcov_list): Make non-static in GCOV_TOOL.
5407 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5408
5409 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
5410
5411 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5412 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5413 Don't use SYNC_LOCK_RELEASE for int type.
5414
5415 2014-07-14 Richard Biener <rguenther@suse.de>
5416
5417 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5418
5419 2014-07-11 Rong Xu <xur@google.com>
5420
5421 * libgcov-util.c (gcov_max_filename): Fix declartion.
5422
5423 2014-07-10 Rong Xu <xur@google.com>
5424
5425 Add gcov-tool: an offline gcda profile processing tool
5426 Support.
5427 * libgcov-driver.c (gcov_max_filename): Make available
5428 to gcov-tool.
5429 * libgcov-merge.c (__gcov_merge_add): Replace
5430 gcov_read_counter() with a Macro.
5431 (__gcov_merge_ior): Ditto.
5432 (__gcov_merge_time_profile): Ditto.
5433 (__gcov_merge_single): Ditto.
5434 (__gcov_merge_delta): Ditto.
5435 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5436 in the utility functions.
5437 (set_fn_ctrs): Utility function for reading gcda files to in-memory
5438 gcov_list object link lists.
5439 (tag_function): Ditto.
5440 (tag_blocks): Ditto.
5441 (tag_arcs): Ditto.
5442 (tag_lines): Ditto.
5443 (tag_counters): Ditto.
5444 (tag_summary): Ditto.
5445 (read_gcda_finalize): Ditto.
5446 (read_gcda_file): Ditto.
5447 (ftw_read_file): Ditto.
5448 (read_profile_dir_init): Ditto.
5449 (gcov_read_profile_dir): Ditto.
5450 (gcov_read_counter_mem): Ditto.
5451 (gcov_get_merge_weight): Ditto.
5452 (merge_wrapper): A wrapper function that calls merging handler.
5453 (gcov_merge): Merge two gcov_info objects with weights.
5454 (find_match_gcov_info): Find the matched gcov_info in the list.
5455 (gcov_profile_merge): Merge two gcov_info object lists.
5456 (__gcov_add_counter_op): Process edge profile counter values.
5457 (__gcov_ior_counter_op): Process IOR profile counter values.
5458 (__gcov_delta_counter_op): Process delta profile counter values.
5459 (__gcov_single_counter_op): Process single profile counter values.
5460 (fp_scale): Callback function for float-point scaling.
5461 (int_scale): Callback function for integer fraction scaling.
5462 (gcov_profile_scale): Scaling profile counters.
5463 (gcov_profile_normalize): Normalize profile counters.
5464 * libgcov.h: Add headers and functions for gcov-tool use.
5465 (gcov_get_counter): New.
5466 (gcov_get_counter_target): Ditto.
5467 (struct gcov_info): Make the functions field mutable in gcov-tool
5468 compilation.
5469
5470 2014-06-23 Kai Tietz <ktietz@redhat.com>
5471
5472 PR libgcc/61585
5473 * unwind-seh.c (_Unwind_GetGR): Check for proper
5474 index range.
5475 (_Unwind_SetGR): Likewise.
5476
5477 2014-05-22 Nick Clifton <nickc@redhat.com>
5478
5479 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5480 -mhwmult=none.
5481
5482 2014-05-22 Teresa Johnson <tejohnson@google.com>
5483
5484 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5485 include.
5486
5487 2014-05-20 John Marino <gnugcc@marino.st>
5488
5489 * config.host (*-*-dragonfly*): New target.
5490 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5491 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5492 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5493 * config/i386/dragonfly-unwind.h: New.
5494
5495 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5496
5497 PR libgcc/60166
5498 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5499 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5500
5501 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
5502
5503 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5504 implementation.
5505
5506 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
5507
5508 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5509
5510 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5511
5512 PR libgcc/61097
5513 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5514 if --enable-shared.
5515
5516 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
5517
5518 Work around for current cygwin32 build problems.
5519 * config/i386/cygming-crtbegin.c (__register_frame_info,
5520 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5521 functions only for 64-bit systems.
5522
5523 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5524
5525 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5526 (sigill_caught, sigill_hdlr): Remove.
5527
5528 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5529
5530 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5531 check.
5532 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5533 Solaris 9 single-threaded support.
5534 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5535 Solaris 9 single-threaded support. Add call_user_handler code
5536 sequences.
5537 (sparc_is_sighandler): Likewise.
5538
5539 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5540
5541 * config.host: Append t-floattodi to tmake_file depending on
5542 host_address.
5543
5544 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
5545
5546 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
5547
5548 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
5549
5550 PR libgcc/60472
5551 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
5552 variable to avoid "array subscript is above array bounds" warnings.
5553 Use __builtin_expect when checking *jcr_list for NULL.
5554
5555 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5556
5557 PR libgcc/59339
5558 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5559 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5560 vtv_*.o to extra_parts if enable_vtable_verify.
5561
5562 2014-03-06 Nick Clifton <nickc@redhat.com>
5563
5564 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5565 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5566
5567 2014-02-28 Joey Ye <joey.ye@arm.com>
5568
5569 PR libgcc/60166
5570 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5571 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5572 Set to zero.
5573
5574 2014-02-24 Walter Lee <walt@tilera.com>
5575
5576 * config.host: Support "tilegx*" and "tilepro*" triplets.
5577 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5578 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5579
5580 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
5581 Chung-Lin Tang <cltang@codesourcery.com>
5582
5583 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5584 * config/nios2/crti.S: Remove .file directive.
5585 * config/nios2/crtn.S: Likewise.
5586
5587 2014-02-18 Kai Tietz <ktietz@redhat.com>
5588 Jonathan Schleifer <js@webkeks.org>
5589
5590 PR objc/56870
5591 * unwind-seh.c (_GCC_specific_handler): Pass proper
5592 value to unwind-handler.
5593
5594 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5595
5596 * soft-fp/adddf3.c: Update from glibc.
5597 * soft-fp/addsf3.c: Likewise.
5598 * soft-fp/addtf3.c: Likewise.
5599 * soft-fp/divdf3.c: Likewise.
5600 * soft-fp/divsf3.c: Likewise.
5601 * soft-fp/divtf3.c: Likewise.
5602 * soft-fp/double.h: Likewise.
5603 * soft-fp/eqdf2.c: Likewise.
5604 * soft-fp/eqsf2.c: Likewise.
5605 * soft-fp/eqtf2.c: Likewise.
5606 * soft-fp/extenddftf2.c: Likewise.
5607 * soft-fp/extended.h: Likewise.
5608 * soft-fp/extendsfdf2.c: Likewise.
5609 * soft-fp/extendsftf2.c: Likewise.
5610 * soft-fp/extendxftf2.c: Likewise.
5611 * soft-fp/fixdfdi.c: Likewise.
5612 * soft-fp/fixdfsi.c: Likewise.
5613 * soft-fp/fixdfti.c: Likewise.
5614 * soft-fp/fixsfdi.c: Likewise.
5615 * soft-fp/fixsfsi.c: Likewise.
5616 * soft-fp/fixsfti.c: Likewise.
5617 * soft-fp/fixtfdi.c: Likewise.
5618 * soft-fp/fixtfsi.c: Likewise.
5619 * soft-fp/fixtfti.c: Likewise.
5620 * soft-fp/fixunsdfdi.c: Likewise.
5621 * soft-fp/fixunsdfsi.c: Likewise.
5622 * soft-fp/fixunsdfti.c: Likewise.
5623 * soft-fp/fixunssfdi.c: Likewise.
5624 * soft-fp/fixunssfsi.c: Likewise.
5625 * soft-fp/fixunssfti.c: Likewise.
5626 * soft-fp/fixunstfdi.c: Likewise.
5627 * soft-fp/fixunstfsi.c: Likewise.
5628 * soft-fp/fixunstfti.c: Likewise.
5629 * soft-fp/floatdidf.c: Likewise.
5630 * soft-fp/floatdisf.c: Likewise.
5631 * soft-fp/floatditf.c: Likewise.
5632 * soft-fp/floatsidf.c: Likewise.
5633 * soft-fp/floatsisf.c: Likewise.
5634 * soft-fp/floatsitf.c: Likewise.
5635 * soft-fp/floattidf.c: Likewise.
5636 * soft-fp/floattisf.c: Likewise.
5637 * soft-fp/floattitf.c: Likewise.
5638 * soft-fp/floatundidf.c: Likewise.
5639 * soft-fp/floatundisf.c: Likewise.
5640 * soft-fp/floatunditf.c: Likewise.
5641 * soft-fp/floatunsidf.c: Likewise.
5642 * soft-fp/floatunsisf.c: Likewise.
5643 * soft-fp/floatunsitf.c: Likewise.
5644 * soft-fp/floatuntidf.c: Likewise.
5645 * soft-fp/floatuntisf.c: Likewise.
5646 * soft-fp/floatuntitf.c: Likewise.
5647 * soft-fp/gedf2.c: Likewise.
5648 * soft-fp/gesf2.c: Likewise.
5649 * soft-fp/getf2.c: Likewise.
5650 * soft-fp/ledf2.c: Likewise.
5651 * soft-fp/lesf2.c: Likewise.
5652 * soft-fp/letf2.c: Likewise.
5653 * soft-fp/muldf3.c: Likewise.
5654 * soft-fp/mulsf3.c: Likewise.
5655 * soft-fp/multf3.c: Likewise.
5656 * soft-fp/negdf2.c: Likewise.
5657 * soft-fp/negsf2.c: Likewise.
5658 * soft-fp/negtf2.c: Likewise.
5659 * soft-fp/op-1.h: Likewise.
5660 * soft-fp/op-2.h: Likewise.
5661 * soft-fp/op-4.h: Likewise.
5662 * soft-fp/op-8.h: Likewise.
5663 * soft-fp/op-common.h: Likewise.
5664 * soft-fp/quad.h: Likewise.
5665 * soft-fp/single.h: Likewise.
5666 * soft-fp/soft-fp.h: Likewise.
5667 * soft-fp/subdf3.c: Likewise.
5668 * soft-fp/subsf3.c: Likewise.
5669 * soft-fp/subtf3.c: Likewise.
5670 * soft-fp/truncdfsf2.c: Likewise.
5671 * soft-fp/trunctfdf2.c: Likewise.
5672 * soft-fp/trunctfsf2.c: Likewise.
5673 * soft-fp/trunctfxf2.c: Likewise.
5674 * soft-fp/unorddf2.c: Likewise.
5675 * soft-fp/unordsf2.c: Likewise.
5676 * soft-fp/unordtf2.c: Likewise.
5677 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5678 macro.
5679 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5680 Likewise.
5681 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5682 Likewise.
5683 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5684 Likewise.
5685 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5686 Likewise.
5687 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5688 Likewise.
5689 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5690 Likewise.
5691 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5692 Likewise.
5693 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5694 Likewise.
5695 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5696 Likewise.
5697 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5698 Likewise.
5699 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5700 Likewise.
5701 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5702 Likewise.
5703 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5704 Likewise.
5705 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5706 Likewise.
5707 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5708 Likewise.
5709
5710 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5711
5712 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5713 cannot be represented.
5714 * config/s390/32/_fixsfdi.c: Likewise.
5715 * config/s390/32/_fixtfdi.c: Likewise.
5716 * config/s390/32/_fixunsdfdi.c: Likewise.
5717 * config/s390/32/_fixunssfdi.c: Likewise.
5718 * config/s390/32/_fixunstfdi.c: Likewise.
5719
5720 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5721
5722 * configure.ac (libgcc_cv_mips_hard_float): New.
5723 * configure: Regenerate.
5724 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5725 t-softfp-sfdf for hard-float targets.
5726 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5727 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5728 (softfp_truncations, softfp_exclude_libgcc2): New.
5729 * config/t-hardfp: New file.
5730 * config/t-hardfp-sfdf: Likewise.
5731 * config/hardfp.c: Likewise.
5732
5733 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5734
5735 * config.host: Include t-floattodi also for s390x.
5736 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5737 * config/s390/32/_fixsfdi.c: Likewise.
5738 * config/s390/32/_fixtfdi.c: Likewise.
5739 * config/s390/32/_fixunsdfdi.c: Likewise.
5740 * config/s390/32/_fixunssfdi.c: Likewise.
5741 * config/s390/32/_fixunstfdi.c: Likewise.
5742
5743 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5744
5745 PR target/59788
5746 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5747 (install-libgcc-unwind-map-forbuild): New target.
5748 (all): Depend on install-libgcc-unwind-map-forbuild.
5749 (install-libgcc-unwind-map): New target.
5750 (install): Depend on install-libgcc-unwind-map.
5751
5752 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5753
5754 * config/nios2/crti.S (_init): Initialize GOT pointer from
5755 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5756
5757 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5758
5759 * configure.ac: Check __mips64 when setting host_address.
5760 * configure: Regenerate.
5761 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5762 mips/t-mips64 and t-softfp.
5763 (mips*-*-linux*): Don't add mips/t-tpbit.
5764 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5765 (DPBIT, DPBIT_CFLAGS): Delete.
5766 * config/mips/sfp-machine.h: New file.
5767 * config/mips/t-mips64: Likewise.
5768 * config/mips/t-softfp-tf: Likewise.
5769 * config/mips/t-tpbit: Delete.
5770
5771 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5772
5773 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5774 as long long.
5775
5776 2014-01-25 Walter Lee <walt@tilera.com>
5777
5778 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5779 config.h or system.h.
5780 (bool) Define.
5781
5782 2014-01-25 Walter Lee <walt@tilera.com>
5783
5784 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5785 (post_atomic_barrier): Ditto.
5786 (__fetch_and_do): New macro.
5787 (__atomic_fetch_and_do): Use __fetch_and_do.
5788 (__sync_fetch_and_do): New macro.
5789 (__sync_fetch_and_add_4): New function.
5790 (__sync_fetch_and_sub_4): New function.
5791 (__sync_fetch_and_or_4): New function.
5792 (__sync_fetch_and_and_4): New function.
5793 (__sync_fetch_and_xor_4): New function.
5794 (__sync_fetch_and_nand_4): New function.
5795 (__sync_fetch_and_add_8): New function.
5796 (__sync_fetch_and_sub_8): New function.
5797 (__sync_fetch_and_or_8): New function.
5798 (__sync_fetch_and_and_8): New function.
5799 (__sync_fetch_and_xor_8): New function.
5800 (__sync_fetch_and_nand_8): New function.
5801 (__do_and_fetch): New macro.
5802 (__atomic_do_and_fetch): Use __do_and_fetch.
5803 (__sync_do_and_fetch): New macro.
5804 (__sync_add_and_fetch_4): New function.
5805 (__sync_sub_and_fetch_4): New function.
5806 (__sync_or_and_fetch_4): New function.
5807 (__sync_and_and_fetch_4): New function.
5808 (__sync_xor_and_fetch_4): New function.
5809 (__sync_nand_and_fetch_4): New function.
5810 (__sync_add_and_fetch_8): New function.
5811 (__sync_sub_and_fetch_8): New function.
5812 (__sync_or_and_fetch_8): New function.
5813 (__sync_and_and_fetch_8): New function.
5814 (__sync_xor_and_fetch_8): New function.
5815 (__sync_nand_and_fetch_8): New function.
5816 (__sync_exchange_methods): New macro.
5817 (__sync_val_compare_and_swap_4): New function.
5818 (__sync_bool_compare_and_swap_4): New function.
5819 (__sync_lock_test_and_test_4): New function.
5820 (__sync_val_compare_and_swap_8): New function.
5821 (__sync_bool_compare_and_swap_8): New function.
5822 (__sync_lock_test_and_test_8): New function.
5823 (__subword_cmpxchg_body): New macro.
5824 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5825 (__atomic_compare_exchange_2): Ditto.
5826 (__sync_subword_cmpxchg): New macro.
5827 (__sync_val_compare_and_swap_1): New function.
5828 (__sync_bool_compare_and_swap_1): New function.
5829 (__sync_val_compare_and_swap_2): New function.
5830 (__sync_bool_compare_and_swap_2): New function.
5831 (__atomic_subword): Rename to ...
5832 (__subword): ... New name.
5833 (__atomic_subword_fetch): Use __subword.
5834 (__sync_subword_fetch): New macro.
5835 (__sync_fetch_and_add_1): New function.
5836 (__sync_fetch_and_sub_1): New function.
5837 (__sync_fetch_and_or_1): New function.
5838 (__sync_fetch_and_and_1): New function.
5839 (__sync_fetch_and_xor_1): New function.
5840 (__sync_fetch_and_nand_1): New function.
5841 (__sync_fetch_and_add_2): New function.
5842 (__sync_fetch_and_sub_2): New function.
5843 (__sync_fetch_and_or_2): New function.
5844 (__sync_fetch_and_and_2): New function.
5845 (__sync_fetch_and_xor_2): New function.
5846 (__sync_fetch_and_nand_2): New function.
5847 (__sync_add_and_fetch_1): New function.
5848 (__sync_sub_and_fetch_1): New function.
5849 (__sync_or_and_fetch_1): New function.
5850 (__sync_and_and_fetch_1): New function.
5851 (__sync_xor_and_fetch_1): New function.
5852 (__sync_nand_and_fetch_1): New function.
5853 (__sync_add_and_fetch_2): New function.
5854 (__sync_sub_and_fetch_2): New function.
5855 (__sync_or_and_fetch_2): New function.
5856 (__sync_and_and_fetch_2): New function.
5857 (__sync_xor_and_fetch_2): New function.
5858 (__sync_nand_and_fetch_2): New function.
5859 (__atomic_subword_lock): Use __subword.
5860 (__sync_subword_lock): New macro.
5861 (__sync_lock_test_and_set_1): New function.
5862 (__sync_lock_test_and_set_2): New function.
5863
5864 2014-01-25 Walter Lee <walt@tilera.com>
5865
5866 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5867 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5868 (__atomic_subword): Ditto.
5869
5870 2014-01-25 Walter Lee <walt@tilera.com>
5871
5872 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5873 a prefix op argument.
5874 (__atomic_nand_fetch_4): Add prefix op.
5875 (__atomic_nand_fetch_8): Ditto.
5876
5877 2014-01-21 Baruch Siach <barch@tkos.co.il>
5878
5879 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5880
5881 2014-01-09 Rong Xu <xur@google.com>
5882
5883 * libgcov-driver.c (this_prg): make it local to save
5884 bss space.
5885 (gcov_exit_compute_summary): Ditto.
5886 (gcov_exit_merge_gcda): Ditto.
5887 (gcov_exit_merge_summary): Ditto.
5888 (gcov_exit_dump_gcov): Ditto.
5889
5890 2014-01-08 Rong Xu <xur@google.com>
5891
5892 * libgcov-driver.c: Use libgcov.h.
5893 (buffer_fn_data): Use xmalloc instead of malloc.
5894 (gcov_exit_merge_gcda): Ditto.
5895 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5896 * libgcov.h: New common header files for libgcov-*.h.
5897 * libgcov-interface.c: Use libgcov.h
5898 * libgcov-merge.c: Ditto.
5899 * libgcov-profiler.c: Ditto.
5900 * Makefile.in: Add dependence to libgcov.h
5901
5902 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5903
5904 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5905 case of small numerator and finite nonzero result.
5906
5907 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5908
5909 Update copyright years
5910
5911 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5912
5913 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5914 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5915 config/arc/dp-hack.h, config/arc/fp-hack.h,
5916 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5917 config/arc/ieee-754/arc600-dsp/divdf3.S,
5918 config/arc/ieee-754/arc600-dsp/divsf3.S,
5919 config/arc/ieee-754/arc600-dsp/muldf3.S,
5920 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5921 config/arc/ieee-754/arc600-mul64/divdf3.S,
5922 config/arc/ieee-754/arc600-mul64/divsf3.S,
5923 config/arc/ieee-754/arc600-mul64/muldf3.S,
5924 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5925 config/arc/ieee-754/arc600/divsf3.S,
5926 config/arc/ieee-754/arc600/mulsf3.S,
5927 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5928 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5929 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5930 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5931 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5932 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5933 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5934 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5935 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5936 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5937 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5938 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5939 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5940 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5941 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5942 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5943 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5944 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5945 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5946 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5947 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5948 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5949 vtv_start_preinit.c: Use the standard form for the copyright notice.
5950
5951 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5952 Chung-Lin Tang <cltang@codesourcery.com>
5953 Based on patches from Altera Corporation
5954
5955 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5956 * config/nios2/lib2-nios2.h: New file.
5957 * config/nios2/lib2-divmod-hi.c: New file.
5958 * config/nios2/linux-unwind.h: New file.
5959 * config/nios2/lib2-divmod.c: New file.
5960 * config/nios2/linux-atomic.c: New file.
5961 * config/nios2/t-nios2: New file.
5962 * config/nios2/crti.asm: New file.
5963 * config/nios2/t-linux: New file.
5964 * config/nios2/lib2-divtable.c: New file.
5965 * config/nios2/lib2-mul.c: New file.
5966 * config/nios2/tramp.c: New file.
5967 * config/nios2/crtn.asm: New file.
5968
5969 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
5970
5971 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5972 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5973 from cpuid.h to check vendor signatures.
5974
5975 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5976
5977 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
5978 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5979 (get_amd_cpu): Likewise.
5980
5981 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5982
5983 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5984 Haswell.
5985
5986 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5987 H.J. Lu <hongjiu.lu@intel.com>
5988
5989 PR target/59422
5990 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
5991 and AMD_JAGUAR.
5992 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5993 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5994 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5995 FEATURE_XOP and FEATURE_FMA.
5996 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5997 AMDFAM15H_BDVER3.
5998 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
5999 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
6000 FEATURE_FMA4 and FEATURE_XOP.
6001
6002 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
6003
6004 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6005 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6006 (get_intel_cpu): Updated.
6007
6008 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
6009
6010 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6011
6012 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
6013
6014 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6015 instructions when __SSE_MATH__ is defined.
6016
6017 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
6018
6019 * config.host (microblaze-*-rtems*): New.
6020
6021 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
6022
6023 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6024 architectures that do not have hardware divide instruction.
6025 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6026
6027 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6028
6029 * longlong.h: Delete (moved to include/).
6030
6031 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6032
6033 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6034 of normal number and qNaN to not raise an inexact exception.
6035
6036 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
6037
6038 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6039
6040 2013-11-28 Matthew Leach <matthew.leach@arm.com>
6041
6042 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6043 for correct opcodes on BE.
6044
6045 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
6046
6047 * soft-fp/op-4.h: Update from glibc.
6048
6049 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6050
6051 * libgcc2.c (__udivmoddi4): Define new implementation when
6052 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6053 divide instructions.
6054
6055 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
6056
6057 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6058
6059 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6060
6061 * config/t-softfp (soft-fp-objects-base): New variable.
6062 (soft-fp-objects): Use it.
6063
6064 2013-11-23 David Edelson <dje.gcc@gmail.com>
6065 Andrew Dixie <andrewd@gentrack.com>
6066
6067 PR target/33704
6068 * config/rs6000/aixinitfini.c: New file.
6069 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6070 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6071 symbols.
6072
6073 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
6074
6075 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
6076
6077 2013-11-18 Jan Hubicka <jh@suse.cz>
6078
6079 * libgcov-driver.c (run_accounted): Make global level static.
6080 (gcov_exit_merge_summary): Silence warning; do not clear
6081 run_accounted here.
6082 (gcov_exit): Clear it here.
6083
6084 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6085 run_accounted.
6086
6087 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6088 (all_prg, crc32): Remove static vars.
6089 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6090 all_prg.
6091 (gcov_exit_merge_gcda): Add crc32 parameter.
6092 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6093 do not account run if it was already accounted.
6094 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6095 (gcov_exit): Initialize all_prg; update.
6096
6097 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
6098
6099 * configure: Regenerate.
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 (TOC_SAVE_SLOT): Define.
6105 (frob_update_context): Use it.
6106
6107 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6108 Alan Modra <amodra@gmail.com>
6109
6110 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6111 (trampoline_initial): Provide ELFv2 variant.
6112 (__trampoline_setup): Likewise.
6113
6114 * config/rs6000/linux-unwind.h (frob_update_context): Do not
6115 check for AIX indirect function call sequence if _CALL_ELF == 2.
6116
6117 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6118 Alan Modra <amodra@gmail.com>
6119
6120 * config/rs6000/linux-unwind.h (get_regs): Do not support
6121 old kernel versions if _CALL_ELF == 2.
6122 (frob_update_context): Do not support PLT stub variants only
6123 generated by old linkers if _CALL_ELF == 2.
6124
6125 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6126 Alan Modra <amodra@gmail.com>
6127
6128 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6129 location of CR save area for 64-bit little-endian systems.
6130
6131 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
6132
6133 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6134 in tmake_file.
6135 * config/arm/t-vxworks: Delete.
6136
6137 2013-11-10 Kai Tietz <ktietz@redhat.com>
6138
6139 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6140 Increment load-count on use of LIBGCC_SONAME DLL.
6141 (hmod_libgcc): New static variable to hold handle of
6142 LIBGCC_SONAME DLL.
6143 (__gcc_deregister_frame): Decrement load-count of
6144 LIBGCC_SONAME DLL.
6145
6146 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
6147
6148 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6149 availability.
6150 * configure: Regenerate
6151
6152 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
6153
6154 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6155 FP_EX_DENORM. Store result to volatile location after SSE division
6156 to close interrupt window. Remove unneeded fwait after x87
6157 division since interrupt window will be closed by emitted fstp.
6158 Rewrite FP_EX_INEXACT handling.
6159
6160 2013-11-06 Joseph Myers <joseph@codesourcery.com>
6161
6162 * soft-fp/README: Update.
6163 * soft-fp/adddf3.c: Update from glibc.
6164 * soft-fp/addsf3.c: Likewise.
6165 * soft-fp/addtf3.c: Likewise.
6166 * soft-fp/divdf3.c: Likewise.
6167 * soft-fp/divsf3.c: Likewise.
6168 * soft-fp/divtf3.c: Likewise.
6169 * soft-fp/double.h: Likewise.
6170 * soft-fp/eqdf2.c: Likewise.
6171 * soft-fp/eqsf2.c: Likewise.
6172 * soft-fp/eqtf2.c: Likewise.
6173 * soft-fp/extenddftf2.c: Likewise.
6174 * soft-fp/extended.h: Likewise.
6175 * soft-fp/extendsfdf2.c: Likewise.
6176 * soft-fp/extendsftf2.c: Likewise.
6177 * soft-fp/extendxftf2.c: Likewise.
6178 * soft-fp/fixdfdi.c: Likewise.
6179 * soft-fp/fixdfsi.c: Likewise.
6180 * soft-fp/fixdfti.c: Likewise.
6181 * soft-fp/fixsfdi.c: Likewise.
6182 * soft-fp/fixsfsi.c: Likewise.
6183 * soft-fp/fixsfti.c: Likewise.
6184 * soft-fp/fixtfdi.c: Likewise.
6185 * soft-fp/fixtfsi.c: Likewise.
6186 * soft-fp/fixtfti.c: Likewise.
6187 * soft-fp/fixunsdfdi.c: Likewise.
6188 * soft-fp/fixunsdfsi.c: Likewise.
6189 * soft-fp/fixunsdfti.c: Likewise.
6190 * soft-fp/fixunssfdi.c: Likewise.
6191 * soft-fp/fixunssfsi.c: Likewise.
6192 * soft-fp/fixunssfti.c: Likewise.
6193 * soft-fp/fixunstfdi.c: Likewise.
6194 * soft-fp/fixunstfsi.c: Likewise.
6195 * soft-fp/fixunstfti.c: Likewise.
6196 * soft-fp/floatdidf.c: Likewise.
6197 * soft-fp/floatdisf.c: Likewise.
6198 * soft-fp/floatditf.c: Likewise.
6199 * soft-fp/floatsidf.c: Likewise.
6200 * soft-fp/floatsisf.c: Likewise.
6201 * soft-fp/floatsitf.c: Likewise.
6202 * soft-fp/floattidf.c: Likewise.
6203 * soft-fp/floattisf.c: Likewise.
6204 * soft-fp/floattitf.c: Likewise.
6205 * soft-fp/floatundidf.c: Likewise.
6206 * soft-fp/floatundisf.c: Likewise.
6207 * soft-fp/floatunditf.c: Likewise.
6208 * soft-fp/floatunsidf.c: Likewise.
6209 * soft-fp/floatunsisf.c: Likewise.
6210 * soft-fp/floatunsitf.c: Likewise.
6211 * soft-fp/floatuntidf.c: Likewise.
6212 * soft-fp/floatuntisf.c: Likewise.
6213 * soft-fp/floatuntitf.c: Likewise.
6214 * soft-fp/gedf2.c: Likewise.
6215 * soft-fp/gesf2.c: Likewise.
6216 * soft-fp/getf2.c: Likewise.
6217 * soft-fp/ledf2.c: Likewise.
6218 * soft-fp/lesf2.c: Likewise.
6219 * soft-fp/letf2.c: Likewise.
6220 * soft-fp/muldf3.c: Likewise.
6221 * soft-fp/mulsf3.c: Likewise.
6222 * soft-fp/multf3.c: Likewise.
6223 * soft-fp/negdf2.c: Likewise.
6224 * soft-fp/negsf2.c: Likewise.
6225 * soft-fp/negtf2.c: Likewise.
6226 * soft-fp/op-1.h: Likewise.
6227 * soft-fp/op-2.h: Likewise.
6228 * soft-fp/op-4.h: Likewise.
6229 * soft-fp/op-8.h: Likewise.
6230 * soft-fp/op-common.h: Likewise.
6231 * soft-fp/quad.h: Likewise.
6232 * soft-fp/single.h: Likewise.
6233 * soft-fp/soft-fp.h: Likewise.
6234 * soft-fp/subdf3.c: Likewise.
6235 * soft-fp/subsf3.c: Likewise.
6236 * soft-fp/subtf3.c: Likewise.
6237 * soft-fp/truncdfsf2.c: Likewise.
6238 * soft-fp/trunctfdf2.c: Likewise.
6239 * soft-fp/trunctfsf2.c: Likewise.
6240 * soft-fp/trunctfxf2.c: Likewise.
6241 * soft-fp/unorddf2.c: Likewise.
6242 * soft-fp/unordsf2.c: Likewise.
6243 * soft-fp/unordtf2.c: Likewise.
6244
6245 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
6246
6247 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6248 (_FP_MUL_MEAT_D): Ditto.
6249 (_FP_DIV_MEAT_S): Ditto.
6250 (_FP_DIV_MEAT_D): Ditto.
6251 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6252 t-softfp-sfdf and t-softfp to tmake_file.
6253
6254 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
6255
6256 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6257 * config/i386/crtprec.c: Ditto.
6258
6259 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
6260 Shiva Chen <shiva0217@gmail.com>
6261
6262 * config.host (nds32*-elf*): Add nds32 target.
6263 * config/nds32 : New directory and files.
6264
6265 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
6266
6267 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
6268 * config.host (cpu_type) <Setting default>: Add entry for
6269 crisv32-*-*.
6270 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6271 <crisv32-*-linux*>: Adjust.
6272 * longlong.h: Wrap the whole CRIS section in a single
6273 defined(__CRIS__) conditional. Add comment about add_ssaaaa
6274 and sub_ddmmss.
6275 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6276 defined.
6277 [__CRIS__] (__umulsidi3): Define.
6278 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6279 * config/cris/sfp-machine.h: New file.
6280 * config/cris/umulsidi3.S: New file.
6281 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6282 * config/cris/arit.c (SIGNMULT): New macro.
6283 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6284 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6285 saving 3 out of originally 33 cycles from the fastest
6286 path, 3 out of 54 from the medium path and one from the longest
6287 path. Improve comments.
6288
6289 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
6290
6291 * sync.c: Remove static aliases and define each function directly
6292 under its real name.
6293
6294 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
6295
6296 * config.host (hppa*64*-*-linux*): Define extra_parts.
6297 (hppa*-*-linux*): Likewise.
6298
6299 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
6300
6301 * config/arc/crtgend.S: Add 2013 to Copyright years.
6302 * config/arc/gmon/atomic.h: Likewise.
6303 * config/arc/gmon/auxreg.h: Likewise.
6304 * config/arc/gmon/sys/gmon_out.h: Likewise.
6305 * config/arc/gmon/sys/gmon.h: Likewise.
6306 * config/arc/gmon/prof-freq.c: Likewise.
6307 * config/arc/gmon/mcount.c: Likewise.
6308 * config/arc/gmon/prof-freq-stub.S: Likewise.
6309 * config/arc/gmon/gmon.c: Likewise.
6310 * config/arc/gmon/machine-gmon.h: Likewise.
6311 * config/arc/gmon/profil.S: Likewise.
6312 * config/arc/gmon/dcache_linesz.S: Likewise.
6313 * config/arc/crtg.S: Likewise.
6314 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6315 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6316 * config/arc/ieee-754/adddf3.S: Likewise.
6317 * config/arc/ieee-754/truncdfsf2.S: Likewise.
6318 * config/arc/ieee-754/fixsfsi.S: Likewise.
6319 * config/arc/ieee-754/gtsf2.S: Likewise.
6320 * config/arc/ieee-754/floatsisf.S: Likewise.
6321 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6322 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6323 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6324 * config/arc/ieee-754/fixdfsi.S: Likewise.
6325 * config/arc/ieee-754/addsf3.S: Likewise.
6326 * config/arc/ieee-754/gesf2.S: Likewise.
6327 * config/arc/ieee-754/floatsidf.S: Likewise.
6328 * config/arc/ieee-754/extendsfdf2.S: Likewise.
6329 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6330 * config/arc/ieee-754/gtdf2.S: Likewise.
6331 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6332 * config/arc/ieee-754/uneqdf2.S: Likewise.
6333 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6334 * config/arc/ieee-754/uneqsf2.S: Likewise.
6335 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6336 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6337 * config/arc/ieee-754/eqdf2.S: Likewise.
6338 * config/arc/ieee-754/ordsf2.S: Likewise.
6339 * config/arc/ieee-754/divsf3.S: Likewise.
6340 * config/arc/ieee-754/divdf3.S: Likewise.
6341 * config/arc/ieee-754/floatunsidf.S: Likewise.
6342 * config/arc/ieee-754/orddf2.S: Likewise.
6343 * config/arc/ieee-754/eqsf2.S: Likewise.
6344 * config/arc/ieee-754/gedf2.S: Likewise.
6345 * config/arc/crtn.S: Likewise.
6346 * config/arc/crti.S: Likewise.
6347 * config/arc/t-arc700-uClibc: Likewise.
6348 * config/arc/asm.h: Likewise.
6349 * config/arc/libgcc-excl.ver: Likewise.
6350 * config/arc/t-arc-newlib: Likewise.
6351 * config/arc/divtab-arc700.c: Likewise.
6352 * config/arc/initfini.c: Likewise.
6353 * config/arc/fp-hack.h: Likewise.
6354
6355 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6356 Diego Novillo <dnovillo@google.com>
6357
6358 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
6359 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6360 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6361 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
6362
6363 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6364 Brendan Kehoe <brendan@zen.org>
6365 Simon Cook <simon.cook@embecosm.com>
6366
6367 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6368 * config/arc: New directory.
6369 * longlong.h [__arc__] (umul_ppmm): Remove.
6370 [__arc__] (__umulsidi3): Define.
6371 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6372 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6373
6374 2013-09-17 Jacek Caban <jacek@codeweavers.com>
6375
6376 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6377 CreateSemaphoreA.
6378 * config/i386/gthr-win32.h: Likewise.
6379
6380 2013-09-16 DJ Delorie <dj@redhat.com>
6381
6382 * config/rl78/vregs.h: Add G10 register definitions.
6383 * config/rl78/lib2mul.c: Enable for RL78/G10.
6384 * config/rl78/lib2div.c: Likewise.
6385 * config/rl78/lshrsi3.S: Use vregs.h.
6386 * config/rl78/cmpsi2.S: Likewise.
6387 * config/rl78/trampoline.S: Likewise.
6388 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
6389
6390 2013-09-14 DJ Delorie <dj@redhat.com>
6391 Nick Clifton <nickc@redhat.com>
6392
6393 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6394 * config/rl78/vregs.h: New.
6395 * config/rl78/signbit.S: New file. Implements signbit function.
6396 * config/rl78/divmodsi.S: New.
6397 * config/rl78/divmodhi.S: New.
6398 * config/rl78/divmodqi.S: New.
6399 * config/rl78/t-rl78: Build them here...
6400 * config/rl78/lib2div.c: ...but not here.
6401
6402 2013-09-12 DJ Delorie <dj@redhat.com>
6403
6404 * config.host (msp*-*-elf): New.
6405 * config/msp430/: New port.
6406
6407 2013-08-18 Iain Sandoe <iain@codesourcery.com>
6408
6409 PR gcov-profile/58127
6410 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6411 __thread var for emulated TLS.
6412 (__gcov_indirect_call_counters): Likewise.
6413
6414 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
6415 Catherine Moore <clm@codesourcery.com>
6416 Richard Sandiford <rdsandiford@googlemail.com>
6417
6418 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6419 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6420 (CALL_STUB_NO_RET): Likewise.
6421 (CALL_STUB_RET): Likewise.
6422 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6423 __mips16_ret call/return stub symbols.
6424 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6425 to tmake_file.
6426
6427 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
6428
6429 * config.host <mips*-*-linux*>: Remove a stray comment.
6430
6431 2013-08-10 Jan Hubicka <jh@suse.cz>
6432
6433 Work around binutils PR14342
6434 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6435 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6436 (L_gcov_indirect_call_profiler_v2): New.
6437
6438 2013-08-06 Jan Hubicka <jh@suse.cz>
6439
6440 * libgcov.c (__gcov_indirect_call_callee,
6441 __gcov_indirect_call_counters): New global vars.
6442 (__gcov_indirect_call_profiler): replace by ...
6443 (__gcov_indirect_call_profiler_v2) ... this one.
6444
6445 2013-08-06 Caroline Tice <cmtice@google.com>
6446
6447 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
6448 vtv_start_preinit.o and vtv_end_preinit.o.
6449 * configure.ac: Add code to check/set enable_vtable_verify.
6450 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
6451 true.
6452 * vtv_start_preinit.c: New file.
6453 * vtv_end_preinit.c: New file.
6454 * vtv_start.c: New file.
6455 * vtv_end.c: New file.
6456 * configure: Regenerated.
6457
6458 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
6459
6460 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6461 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6462 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6463 GPL-3.0-with-GCC-exception.
6464
6465 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
6466
6467 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6468 ISA and up.
6469
6470 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6471
6472 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6473 mapping for FPRs when creating the fallback framestate.
6474
6475 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
6476
6477 PR target/57516
6478 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6479 (__round_s2_const, __round_u2_const)
6480 (__round_s4_const, __round_u4_const, __round_x8):
6481 Saturate result if addition result cannot be represented.
6482
6483 2013-07-15 Matthias Klose <doko@ubuntu.com>
6484
6485 * libgcc2.c: Don't include <limits.h>.
6486
6487 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
6488
6489 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6490
6491 2013-07-06 Jakub Jelinek <jakub@redhat.com>
6492
6493 PR target/29776
6494 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6495
6496 2013-06-28 Jakub Jelinek <jakub@redhat.com>
6497
6498 PR middle-end/36041
6499 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6500 Define.
6501 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6502 instead of table lookups.
6503 (__popcountDI2): Likewise.
6504
6505 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
6506
6507 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6508 correctly.
6509
6510 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6511
6512 PR other/53317
6513 * soft-fp/adddf3.c: Update from glibc.
6514 * soft-fp/addsf3.c: Likewise.
6515 * soft-fp/addtf3.c: Likewise.
6516 * soft-fp/divdf3.c: Likewise.
6517 * soft-fp/divsf3.c: Likewise.
6518 * soft-fp/divtf3.c: Likewise.
6519 * soft-fp/double.h: Likewise.
6520 * soft-fp/eqdf2.c: Likewise.
6521 * soft-fp/eqsf2.c: Likewise.
6522 * soft-fp/eqtf2.c: Likewise.
6523 * soft-fp/extenddftf2.c: Likewise.
6524 * soft-fp/extended.h: Likewise.
6525 * soft-fp/extendsfdf2.c: Likewise.
6526 * soft-fp/extendsftf2.c: Likewise.
6527 * soft-fp/fixdfdi.c: Likewise.
6528 * soft-fp/fixdfsi.c: Likewise.
6529 * soft-fp/fixsfdi.c: Likewise.
6530 * soft-fp/fixsfsi.c: Likewise.
6531 * soft-fp/fixtfdi.c: Likewise.
6532 * soft-fp/fixtfsi.c: Likewise.
6533 * soft-fp/fixunsdfdi.c: Likewise.
6534 * soft-fp/fixunsdfsi.c: Likewise.
6535 * soft-fp/fixunssfdi.c: Likewise.
6536 * soft-fp/fixunssfsi.c: Likewise.
6537 * soft-fp/fixunstfdi.c: Likewise.
6538 * soft-fp/fixunstfsi.c: Likewise.
6539 * soft-fp/floatdidf.c: Likewise.
6540 * soft-fp/floatdisf.c: Likewise.
6541 * soft-fp/floatditf.c: Likewise.
6542 * soft-fp/floatsidf.c: Likewise.
6543 * soft-fp/floatsisf.c: Likewise.
6544 * soft-fp/floatsitf.c: Likewise.
6545 * soft-fp/floatundidf.c: Likewise.
6546 * soft-fp/floatundisf.c: Likewise.
6547 * soft-fp/floatunditf.c: Likewise.
6548 * soft-fp/floatunsidf.c: Likewise.
6549 * soft-fp/floatunsisf.c: Likewise.
6550 * soft-fp/floatunsitf.c: Likewise.
6551 * soft-fp/gedf2.c: Likewise.
6552 * soft-fp/gesf2.c: Likewise.
6553 * soft-fp/getf2.c: Likewise.
6554 * soft-fp/ledf2.c: Likewise.
6555 * soft-fp/lesf2.c: Likewise.
6556 * soft-fp/letf2.c: Likewise.
6557 * soft-fp/muldf3.c: Likewise.
6558 * soft-fp/mulsf3.c: Likewise.
6559 * soft-fp/multf3.c: Likewise.
6560 * soft-fp/negdf2.c: Likewise.
6561 * soft-fp/negsf2.c: Likewise.
6562 * soft-fp/negtf2.c: Likewise.
6563 * soft-fp/op-1.h: Likewise.
6564 * soft-fp/op-2.h: Likewise.
6565 * soft-fp/op-4.h: Likewise.
6566 * soft-fp/op-8.h: Likewise.
6567 * soft-fp/op-common.h: Likewise.
6568 * soft-fp/quad.h: Likewise.
6569 * soft-fp/single.h: Likewise.
6570 * soft-fp/soft-fp.h: Likewise.
6571 * soft-fp/subdf3.c: Likewise.
6572 * soft-fp/subsf3.c: Likewise.
6573 * soft-fp/subtf3.c: Likewise.
6574 * soft-fp/truncdfsf2.c: Likewise.
6575 * soft-fp/trunctfdf2.c: Likewise.
6576 * soft-fp/trunctfsf2.c: Likewise.
6577 * soft-fp/unorddf2.c: Likewise.
6578 * soft-fp/unordsf2.c: Likewise.
6579 * soft-fp/unordtf2.c: Likewise.
6580 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6581 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6582 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6583 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6584 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6585 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6586 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6587 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6588 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6589 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6590 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6591 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6592
6593 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
6594
6595 * config/mips/lib2funcs.c: New file.
6596 * config/mips/t-mips (LIB2ADD_ST): Add it.
6597
6598 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
6599
6600 PR target/6526
6601 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6602 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
6603
6604 2013-06-08 Walter Lee <walt@tilera.com>
6605
6606 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6607 Replace int64_t with long long. Add __extension__ where
6608 appropriate.
6609 * config/tilepro/atomic.c: Include config.h.
6610
6611 2013-06-06 Douglas B Rupp <rupp@adacore.com>
6612
6613 * config.host (arm-wrs-vxworks): Configure with other soft float.
6614
6615 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
6616
6617 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6618 (mips64r5900el-*-elf*): New configurations.
6619
6620 2013-06-04 Alan Modra <amodra@gmail.com>
6621
6622 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6623
6624 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
6625
6626 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6627
6628 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
6629
6630 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6631 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6632 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6633
6634 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6635
6636 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6637 (powerpc-wrs-vxworks): Likewise.
6638
6639 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6640
6641 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6642 signal frames as well.
6643 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6644 STACK_BIAS to the CFA offset.
6645
6646 2013-05-17 Richard Henderson <rth@redhat.com>
6647
6648 PR target/49146
6649 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6650 (execute_cfa_program): Use it when storing to fs->regs.
6651
6652 2013-05-08 Kai Tietz <ktietz@redhat.com>
6653
6654 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6655 (__deregister_frame_info): Likewise.
6656
6657 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
6658
6659 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6660 NaN's payload.
6661
6662 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6663
6664 2013-04-25 Alan Modra <amodra@gmail.com>
6665
6666 * config.host: Match little-endian powerpc-linux.
6667
6668 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
6669
6670 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6671 as 'unsigned long long' instead of 'unsigned long'.
6672 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6673 'signed long'.
6674
6675 2013-04-10 Julian Brown <julian@codesourcery.com>
6676
6677 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6678 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6679 unsigned char/unsigned short.
6680 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6681
6682 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6683
6684 PR other/55274
6685 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6686
6687 2013-04-04 Meador Inge <meadori@codesourcery.com>
6688
6689 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6690 computing the location of the link register.
6691 (aeabi_uldivmod): Ditto.
6692
6693 2013-03-27 Kai Tietz <ktietz@redhat.com>
6694
6695 * config.host: Add support for cygwin x64 target.
6696 * configure: Regenerated.
6697
6698 2013-03-26 Walter Lee <walt@tilera.com>
6699
6700 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6701 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6702
6703 2013-03-25 Kai Tietz <ktietz@redhat.com>
6704
6705 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6706
6707 2013-03-20 Robert Mason <rbmj@verizon.net>
6708
6709 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6710 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6711 (__gthread_leave_tsd_dtor_context): Add prototypes.
6712 (tls_delete_hook): Update.
6713
6714 2013-03-20 Catherine Moore <clm@codesourcery.com>
6715 Joseph Myers <joseph@codesourcery.com>
6716 Chao-ying Fu <fu@mips.com>
6717
6718 * config/mips/mips16.S: Don't build for microMIPS.
6719 * config/mips/linux-unwind.h: Handle microMIPS frame.
6720 * config/mips/crtn.S (fini, init): New labels.
6721
6722 2013-03-14 Jakub Jelinek <jakub@redhat.com>
6723
6724 PR tree-optimization/53265
6725 * unwind-dw2.c (execute_cfa_program): Avoid
6726 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6727 on targets with DWARF_FRAME_REGISTERS < 32.
6728
6729 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6730
6731 PR target/49880
6732 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6733 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6734
6735 2013-03-07 Sriraman Tallam <tmsriram@google.com>
6736
6737 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6738 sandybridge processors.
6739
6740 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6741
6742 PR target/56529
6743 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6744 inclusion list.
6745
6746 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6747
6748 * config/microblaze/crti.S: Setup stack protection at entry
6749
6750 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
6751
6752 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6753 (__rotldi3): Shift bytewise if applicable.
6754
6755 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6756
6757 * config/aarch64/sync-cache.c
6758 (__aarch64_sync_cache_range): Silence warnings.
6759
6760 2013-02-25 Catherine Moore <clm@codesourcery.com>
6761
6762 Revert:
6763 2013-02-24 Catherine Moore <clm@codesourcery.com>
6764 Joseph Myers <joseph@codesourcery.com>
6765 Chao-ying Fu <fu@mips.com>
6766
6767 * config/mips/mips16.S: Don't build for microMIPS.
6768 * config/mips/linux-unwind.h: Handle microMIPS frame.
6769 * config/mips/crtn.S (fini, init): New labels.
6770
6771 2013-02-24 Catherine Moore <clm@codesourcery.com>
6772 Joseph Myers <joseph@codesourcery.com>
6773 Chao-ying Fu <fu@mips.com>
6774
6775 * config/mips/mips16.S: Don't build for microMIPS.
6776 * config/mips/linux-unwind.h: Handle microMIPS frame.
6777 * config/mips/crtn.S (fini, init): New labels.
6778
6779 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6780 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
6781 as dividend.
6782
6783 2013-02-16 Alan Modra <amodra@gmail.com>
6784
6785 PR target/55431
6786 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6787 (ppc_fallback_frame_state): Always set up save locations for fp
6788 and altivec. Don't bother with non-callee-saved regs, r0-r13
6789 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6790
6791 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
6792
6793 PR target/54222
6794 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6795 _ssmulHA, _ssmulSA.
6796 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6797 _ssmulha3, _usmulusa3, _ssmulsa3.
6798 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6799 (__muldi3): XCALL __muldi3_6 instead of rcall.
6800 (__umulsidi3, __mulsidi3): New functions.
6801 (do_prologue_saves, do_epilogue_restores): New .macros.
6802 (__divdi3_moddi3): Use them.
6803 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6804 (__usmulusa3, __ssmulsa3): New functions.
6805
6806 2013-02-11 Iain Sandoe <iain@codesourcery.com>
6807 Jack Howarth <howarth@bromo.med.uc.edu>
6808 Patrick Marlier <patrick.marlier@gmail.com>
6809
6810 PR libitm/55693
6811 * config/darwin-crt-tm.c: Remove dummy functions hack.
6812
6813 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
6814
6815 PR target/54222
6816 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6817 * config/avr/lib2-object.mk: New iterator to build objects from it.
6818 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6819 lib2funcs.c.
6820 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6821 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6822 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6823 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6824 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6825 * config/avr/lib1funcs-fixed.S: Implement them.
6826
6827 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6828
6829 Update copyright years.
6830
6831 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
6832
6833 PR target/54601
6834 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6835 Add crtcxa to extra_parts.
6836 * config/rs6000/exit.h: New file.
6837 * config/rs6000/cxa_atexit.c: New file.
6838 * config/rs6000/cxa_finalize.c: New file.
6839 * config/rs6000/crtcxa.c: New file.
6840 * config/rs6000/t-aix-cxa: New file.
6841 * config/rs6000/libgcc-aix-cxa.ver: New file.
6842
6843 2013-01-31 Nick Clifton <nickc@redhat.com>
6844
6845 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6846 variant.
6847
6848 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
6849
6850 PR target/54222
6851 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6852 _mulQQ, _mulHQ, _mulHA, _mulSA,
6853 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6854 _divQQ, _divHQ, _divHA, _divSA,
6855 _divUQQ, _divUHQ, _divUHA, _divUSA.
6856
6857 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
6858
6859 * config.host(microblaze*-linux*): tmake_file: Remove
6860 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6861 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6862 to exclude functions from being built with libgcc.c and use
6863 the microblaze assembly.
6864
6865 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6866
6867 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6868 extra_parts.
6869
6870 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6871
6872 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6873 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6874 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6875 alignment operation.
6876
6877 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6878
6879 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6880 loop start address for cache clearing.
6881
6882 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6883
6884 * config/avr/lib1funcs.S: Remove trailing blanks.
6885 * config/avr/lib1funcs-fixed.S: Ditto.
6886
6887 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6888
6889 * config/avr/avr-lib.h: Add GPL copyright notice.
6890
6891 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6892
6893 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6894 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6895 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6896 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6897
6898 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
6899
6900 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6901 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
6902
6903 2013-01-04 Nick Clifton <nickc@redhat.com>
6904
6905 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6906 the CALLT instruction is supported.
6907
6908 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6909
6910 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6911 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6912
6913 2012-12-13 John Tytgat <John@bass-software.com>
6914
6915 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6916 is 25.
6917
6918 2012-12-12 Jakub Jelinek <jakub@redhat.com>
6919
6920 PR libgcc/55451
6921 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6922 undefined signed overflows.
6923
6924 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
6925
6926 PR target/55344
6927 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6928
6929 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
6930
6931 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6932 (FP_TRAPPING_EXCEPTIONS): Define.
6933 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6934 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6935
6936 2012-12-04 Richard Henderson <rth@redhat.com>
6937
6938 PR bootstrap/55571
6939 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6940
6941 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6942
6943 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
6944 (FP_EX_SHIFT): Define.
6945 (FP_TRAPPING_EXCEPTIONS): Define.
6946
6947 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6948
6949 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6950 (FP_ROUNDMODE): Use FP_RND_MASK.
6951 * config/aarch64/sfp-exceptions.c: New.
6952 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6953 Use __sfp_handle_exceptions.
6954
6955 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
6956
6957 * config.host: (arm*-*-freebsd*): Remove.
6958 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6959 (arm*-*-elf*): Remove.
6960 (arm*-*-wince-pe*): Remove.
6961 * arm/unwind-arm.c (struct fpa_reg): Delete.
6962 (struct fpa_regs): Delete.
6963 (phase1_vrs): Remove fpa element.
6964 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6965 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6966 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6967 * ieee754-sf.S (floatundisf): Remove FPA support.
6968 (floatdisf): Likewise.
6969 * ieee75f-df.S (floatundidf): Likewise.
6970 (floatdidf): Likewise.
6971
6972 2012-11-29 Kai Tietz <ktietz@redhat.com>
6973
6974 PR target/55445
6975 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6976 * unwind-generic.h: Likewise.
6977 * unwind-seh.c: Likewise.
6978
6979 2012-11-28 Richard Henderson <rth@redhat.com>
6980
6981 PR libgcc/48076
6982 * emutls.c (__emutls_get_address): Avoid race condition between
6983 obj->loc.offset read and emutls_key initialization.
6984
6985 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
6986
6987 Adjust decimal point of signed accum mode to GCC default.
6988
6989 PR target/54222
6990 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6991 _divqq_helper.
6992 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6993 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6994 (__mulha3, __mulsa3)
6995 (__divqq3, __divha3, __divsa3): Adjust to new position of
6996 decimal point of signed accum types.
6997
6998 (__mulusa3_round): New function.
6999 (__mulusa3): Use it.
7000 (__divqq_helper): New function.
7001 (__udivuqq3): Use it.
7002
7003 2012-11-20 Jakub Jelinek <jakub@redhat.com>
7004
7005 PR bootstrap/55370
7006 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7007
7008 2012-11-18 Teresa Johnson <tejohnson@google.com>
7009
7010 PR bootstrap/55051
7011 * libgcov.c (gcov_exit): Remove merged program summary
7012 comparison unless !GCOV_LOCKED.
7013
7014 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
7015
7016 * soft-fp: Updated from glibc upstream.
7017
7018 2012-11-06 Ian Lance Taylor <iant@google.com>
7019
7020 * generic-morestack.c (__generic_morestack): Align the returned
7021 stack pointer to a 32 byte boundary.
7022 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7023 increment the return address until we have decided that we don't
7024 have a varargs function.
7025 (__morestack) [32-bit]: Align stack correctly when calling C
7026 functions.
7027 (__morestack) [64-bit]: Likewise.
7028
7029 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7030
7031 * configure: Regenerate.
7032
7033 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
7034
7035 PR target/55175
7036 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7037 * config/i386/sfp-machine.h: Guard exception handling
7038 code with _SOFT_FLOAT.
7039 * config/i386/32/sfp-machine.h: Guard rounding handling
7040 code with _SOFT_FLOAT.
7041 * config/i386/64/sfp-machine.h: Ditto.
7042
7043 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7044
7045 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7046 as extra_parts.
7047
7048 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
7049
7050 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7051 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7052 when appropriate. Correct structure element types.
7053 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7054 -minline-all-stringops from compile flags.
7055
7056 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7057
7058 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7059
7060 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7061
7062 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
7063
7064 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
7065
7066 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7067 tmake_file.
7068
7069 2012-10-23 Ian Bolton <ian.bolton@arm.com>
7070 Jim MacArthur <jim.macarthur@arm.com>
7071 Marcus Shawcroft <marcus.shawcroft@arm.com>
7072 Nigel Stephens <nigel.stephens@arm.com>
7073 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7074 Richard Earnshaw <rearnsha@arm.com>
7075 Sofiane Naci <sofiane.naci@arm.com>
7076 Stephen Thomas <stephen.thomas@arm.com>
7077 Tejas Belagod <tejas.belagod@arm.com>
7078 Yufeng Zhang <yufeng.zhang@arm.com>
7079
7080 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7081 * config/aarch64/crti.S: New file.
7082 * config/aarch64/crtn.S: New file.
7083 * config/aarch64/linux-unwind.h: New file.
7084 * config/aarch64/sfp-machine.h: New file.
7085 * config/aarch64/sync-cache.c: New file.
7086 * config/aarch64/t-aarch64: New file.
7087 * config/aarch64/t-softfp: New file.
7088
7089 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
7090
7091 * config/mmix/crti.S: Mark program and data addresses using PRELD.
7092 Remove typo'd and unnecessary alignment-LOC for .data. Remove
7093 no-longer-needed LDBU insns.
7094
7095 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
7096
7097 * config.host
7098 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7099 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7100
7101 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7102
7103 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7104
7105 2012-10-15 Matthias Klose <doko@ubuntu.com>
7106
7107 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7108
7109 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
7110
7111 * configure: Regenerate.
7112 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7113
7114 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7115
7116 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7117 instructions for 64bit targets only.
7118
7119 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7120
7121 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7122 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7123 * config/i386/32/sfp-machine.h: ... here.
7124 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7125 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7126 New defines.
7127
7128 2012-10-07 Matthias Klose <doko@ubuntu.com>
7129
7130 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7131 as unused.
7132 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7133
7134 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
7135
7136 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7137 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7138 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7139 (ElfW): Likewise.
7140
7141 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
7142
7143 PR other/53889
7144 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7145 Fix parameter names.
7146
7147 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
7148
7149 PR target/33135
7150 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7151 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7152 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7153
7154 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
7155
7156 PR target/50457
7157 * config/sh/linux-atomic.S: Delete.
7158 * config/sh/linux-atomic.c: New.
7159 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7160 linux-atomic.c. Add cflags to disable warnings.
7161
7162 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7163
7164 PR other/53889
7165 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7166 function.
7167 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7168 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7169 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7170 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
7171 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7172 Likewise.
7173 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7174 Likewise.
7175 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7176 Likewise.
7177 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7178 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7179
7180 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
7181
7182 * config.host (hppa-*-openbsd*): New target.
7183 * config/pa/t-openbsd: New file.
7184
7185 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
7186
7187 PR target/54222
7188 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7189 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7190 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7191 (__divsa3): Use __negsi2 to negate r_quoL.
7192 * config/avr/lib1funcs.S (FALIAS): New macro.
7193 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7194 (__negsi2): ...this new function.
7195 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7196 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7197 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7198 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7199 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7200 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7201
7202 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
7203
7204 PR target/54089
7205 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7206 (lshrsi3): Reimplement as lshrsi3_r0.
7207
7208 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
7209
7210 PR target/46191
7211 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7212 of libgcc.a.
7213
7214 2012-09-07 Teresa Johnson <tejohnson@google.com>
7215
7216 PR gcov-profile/54487
7217 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
7218 differences.
7219
7220 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
7221
7222 PR target/54461
7223 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7224 not configured --with-avrlibc=no.
7225 * config/avr/t-avrlibc: New file.
7226 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7227 (DPBIT_FUNCS): Ditto.
7228 (TPBIT_FUNCS): Ditto.
7229
7230 2012-09-04 Teresa Johnson <tejohnson@google.com>
7231
7232 * libgcov.c (struct gcov_summary_buffer): New structure.
7233 (gcov_histogram_insert): New function.
7234 (gcov_compute_histogram): Ditto.
7235 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7236 histograms during summary merging.
7237
7238 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
7239
7240 * config.host (x86_64-*-openbsd*): New target.
7241
7242 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
7243
7244 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7245 attribute.
7246
7247 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7248
7249 PR target/54222
7250 * config/avr/t-avr (conv_X): Rename to func_X.
7251
7252 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7253
7254 PR target/54222
7255 * config/avr/lib1funcs-fixed.S: New file.
7256 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
7257 after they are used.
7258 (neg2, neg4): New macros.
7259 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7260 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7261 (__umulhisi3): Speed up MUL variant if there is enough flash.
7262 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7263 avr-modes.def.
7264 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7265 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7266 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7267 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7268 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7269 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7270 (LIB2FUNCS_EXCLUDE): Add supported functions.
7271
7272 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
7273
7274 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7275 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7276 libgcc-s-objects.
7277 * fixed-obj.mk: Only expand dependency if $o is not in
7278 LIB2FUNCS_EXCLUDE.
7279
7280 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
7281
7282 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7283
7284 2012-08-22 Joseph Myers <joseph@codesourcery.com>
7285
7286 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7287 depend on --enable-shared.
7288 ($(lib1asmfuncs-o)): Use %.vis files independent of
7289 --enable-shared.
7290 * static-object.mk ($(base)$(objext), $(base).vis)
7291 ($(base)_s$(objext)): Use same rules for visibility handling as in
7292 shared-object.mk.
7293
7294 2012-08-21 Ian Lance Taylor <iant@google.com>
7295
7296 * config/i386/morestack.S (__morestack_non_split): Increase amount
7297 of space allocated for non-split code stack.
7298
7299 2012-08-19 Joseph Myers <joseph@codesourcery.com>
7300
7301 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7302 even if inhibit_libc.
7303
7304 2012-08-17 Julian Brown <julian@codesourcery.com>
7305
7306 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7307 -fexceptions -fnon-call-exceptions if not defined.
7308 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7309 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7310
7311 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
7312
7313 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7314 type.
7315
7316 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
7317
7318 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7319 rs6000/t-slibgcc-aix.
7320
7321 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7322
7323 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7324
7325 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7326
7327 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7328
7329 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
7330
7331 PR driver/54171
7332 * Makefile.in (version): Replace top_srcdir with srcdir.
7333
7334 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
7335
7336 * Makefile.in (version): set to BASE-VER file from gcc directory.
7337
7338 2012-08-01 Nick Clifton <nickc@redhat.com>
7339
7340 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7341 Implements __clrsb for an HImode argument.
7342
7343 2012-07-31 Nick Clifton <nickc@redhat.com>
7344
7345 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7346 Implements __clrsb for an HImode argument.
7347 * config/stormy16/clrsbhi2.c: New file:
7348 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7349
7350 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
7351
7352 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7353
7354 2012-07-19 Tristan Gingold <gingold@adacore.com>
7355 Richard Henderson <rth@redhat.com>
7356
7357 * unwind-seh.c: New file.
7358 * unwind-generic.h: Include windows.h for SEH.
7359 (_Unwind_Exception): Use 6 private fields for SEH.
7360 (_GCC_specific_handler): Declare.
7361 * unwind-c.c (__gcc_personality_seh0): New function.
7362 Adjust for SEH.
7363 * config/i386/libgcc-cygming.ver: New file.
7364 * config/i386/t-seh-eh: New file.
7365 * config.host (x86_64-*-mingw*): Default to seh.
7366
7367 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
7368
7369 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7370
7371 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
7372
7373 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7374 __builtin_expect when checking for exceptions.
7375 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7376
7377 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7378
7379 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7380 function declaration.
7381 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7382 (FP_RND_MASK): New.
7383 * config/ia64/sfp-exceptions.c: New.
7384 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7385
7386 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7387
7388 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7389 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7390 * config/i386/64/sfp-machine: ... (delete here) ...
7391 * config/i386/sfp-machine.h: ... to here.
7392 (FP_EX_MASK): Remove.
7393 (FP_RND_MASK): New.
7394 (FP_INIT_ROUNDMODE): Declare asm as volatile.
7395
7396 2012-06-11 Sriraman Tallam <tmsriram@google.com>
7397
7398 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7399 * config/i386/libgcc-sol2.ver: Ditto.
7400 * config/i386/libgcc-glibc.ver: Ditto.
7401
7402 2012-06-11 Roland McGrath <mcgrathr@google.com>
7403
7404 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7405 If __GLIBC__ is defined, refer to __pthread_key_create instead of
7406 pthread_cancel.
7407
7408 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
7409
7410 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7411 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7412 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7413 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7414 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7415 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7416 * config/i386/64/sfp-machine: ... (delete here) ...
7417 * config/i386/sfp-machine.h: ... to here.
7418 (FP_EX_MASK): New.
7419 (__sfp_handle_exceptions): New function declaration.
7420 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7421 * config/i386/sfp-exceptions.c: New.
7422 * config/i386/t-softfp: New.
7423 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7424 i386/t-softfp to tmake_file.
7425
7426 2012-06-03 David S. Miller <davem@davemloft.net>
7427
7428 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7429 change.
7430
7431 2012-05-31 David S. Miller <davem@davemloft.net>
7432
7433 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7434 multiply and divide instructions on 32-bit when V9.
7435 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7436
7437 2012-05-29 Joseph Myers <joseph@codesourcery.com>
7438
7439 * config/arm/ieee754-df.S: Fix typos.
7440 * config/arm/ieee754-sf.S: Fix typos.
7441 * config/c6x/libunwind.S: Fix typos.
7442 * config/epiphany/udivsi3-float.c: Fix typos.
7443 * config/microblaze/muldi3_hard.S: Fix typos.
7444 * config/picochip/adddi3.S: Fix typos.
7445 * config/picochip/ashlsi3.S: Fix typos.
7446 * config/picochip/ashrsi3.S: Fix typos.
7447 * config/picochip/clzsi2.S: Fix typos.
7448 * config/picochip/cmpsi2.S: Fix typos.
7449 * config/picochip/divmod15.S: Fix typos.
7450 * config/picochip/divmodhi4.S: Fix typos.
7451 * config/picochip/divmodsi4.S: Fix typos.
7452 * config/picochip/longjmp.S: Fix typos.
7453 * config/picochip/lshrsi3.S: Fix typos.
7454 * config/picochip/parityhi2.S: Fix typos.
7455 * config/picochip/popcounthi2.S: Fix typos.
7456 * config/picochip/setjmp.S: Fix typos.
7457 * config/picochip/subdi3.S: Fix typos.
7458 * config/picochip/ucmpsi2.S: Fix typos.
7459 * config/picochip/udivmodhi4.S: Fix typos.
7460 * config/picochip/udivmodsi4.S: Fix typos.
7461 * config/spu/divv2df3.c: Fix typos.
7462 * config/spu/mfc_multi_tag_release.c: Fix typos.
7463 * config/spu/mfc_tag_release.c: Fix typos.
7464 * configure.ac: Fix typos.
7465 * configure: Regenerate.
7466
7467 2012-05-25 Ian Lance Taylor <iant@google.com>
7468
7469 * config/i386/morestack.S (__morestack_non_split): Check whether
7470 caller is varargs and needs %bp to hold the stack frame on return.
7471
7472 2012-05-25 Olivier Hainque <hainque@adacore.com>
7473
7474 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7475 sequence in the non pic case on VxWorks.
7476
7477 2012-05-24 Olivier Hainque <hainque@adacore.com>
7478
7479 * Makefile.in: Move dependency on install-unwind_h from
7480 "install-leaf" to "install".
7481
7482 2012-05-24 Olivier Hainque <hainque@adacore.com>
7483
7484 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7485 Use a separate command for stamp removals.
7486
7487 2012-05-21 Andrew Pinski <apinski@cavium.com>
7488
7489 PR bootstrap/53183
7490 * configure.ac: Define the default includes to being none.
7491 * configure: Regenerate.
7492
7493 2012-05-16 Olivier Hainque <hainque@adacore.com>
7494
7495 * Makefile.in (install-unwind_h): Rename into ...
7496 (install-unwind_h-forbuild): New target.
7497 (all): Use it instead of the former install-unwind_h.
7498 (install-unwind_h): Reinstate, copy to user install destination
7499 for include files, not to the internal gcc object directory one.
7500 (install-leaf): Depend on it.
7501
7502 2012-05-15 Olivier Hainque <hainque@adacore.com>
7503
7504 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7505 register numbers. LR_REGNO replaces R_LR.
7506 (ucontext_for): New, helper for ...
7507 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7508 and 5.3 of ...
7509 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7510
7511 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7512
7513 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7514 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7515 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7516 i386/t-cpuinfo ...
7517 (i[34567]86-*-*, x86_64-*-*): ... here.
7518
7519 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7520 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7521
7522 * config/i386/i386-cpuinfo.c: Rename to ...
7523 * config/i386/cpuinfo.c: ... this.
7524 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7525
7526 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7527 (libgcc_cv_init_priority): New test.
7528 * configure: Regenerate.
7529 * config.in: New file.
7530 * Makefile.in (clean): Rename config.h to auto-target.h.
7531 (config.h): Likewise.
7532 (stamp-h): Likewise.
7533
7534 * config/i386/cpuinfo.c (auto-target.h): Include.
7535 (CONSTRUCTOR_PRIORITY): Define.
7536 (__cpu_indicator_init): Use it.
7537
7538 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7539
7540 * longlong.h: Use a URL instead of an FSF postal address.
7541 Replace spaces with tab.
7542
7543 2012-05-08 Teresa Johnson <tejohnson@google.com>
7544
7545 * libgcov.c (gcov_clear, __gcov_reset): New functions.
7546 (__gcov_dump): Ditto.
7547 (gcov_dump_complete): New global variable.
7548 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7549 (__gcov_flush): Outline functionality now in gcov_clear.
7550 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7551
7552 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
7553
7554 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7555 (mips*-*-linux*): Include mips/t-tpbit when long double is
7556 16 bytes long.
7557
7558 2012-04-25 Sriraman Tallam <tmsriram@google.com>
7559
7560 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7561 (get_available_features): New argument. Check for AVX2.
7562 (__cpu_indicator_init): Modify call to get_available_features.
7563
7564 2012-04-25 Alan Modra <amodra@gmail.com>
7565
7566 * config/rs6000/crtsavevr.S: New file.
7567 * config/rs6000/crtrestvr.S: New file.
7568 * config/rs6000/t-savresfgpr: Build the above.
7569 * config/rs6000/t-netbsd: Likewise.
7570
7571 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7572
7573 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7574
7575 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7576
7577 * libgcc/config/i386/i386-cpuinfo.c: New file.
7578 * libgcc/config/i386/t-cpuinfo: New file.
7579 * libgcc/config.host: Include t-cpuinfo.
7580 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7581
7582 2012-04-24 Chao-ying Fu <fu@mips.com>
7583
7584 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7585
7586 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
7587
7588 struct siginfo vs. siginfo_t
7589
7590 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7591 siginfo_t instead of struct siginfo.
7592 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7593 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7594 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7595 (ia64_handle_unwabi): Likewise.
7596 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7597 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7598 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7599 (sh_fallback_frame_state): Likewise.
7600 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7601 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7602
7603 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
7604
7605 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7606 system call number.
7607
7608 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
7609
7610 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7611 if it hasn't been previously saved.
7612
7613 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
7614
7615 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7616 only for glibc.
7617
7618 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
7619
7620 PR target/52737
7621 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7622 instead of __AVR_HAVE_8BIT_SP__.
7623
7624 2012-03-26 Tristan Gingold <gingold@adacore.com>
7625
7626 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7627 (unw_table_entry): Use unw_word instead of unsigned long.
7628 (_Unwind_FindTableEntry): Likewise.
7629 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7630 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7631 (_Unwind_FindTableEntry): Likewise.
7632 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7633 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7634 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7635 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7636 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7637 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7638 (uw_init_context_1, uw_install_context): Likewise.
7639 (unw_word): Move to unwind-ia64.h
7640
7641 2012-03-26 Tristan Gingold <gingold@adacore.com>
7642
7643 * config/vms/vms-ucrt0.c: Update copyright years.
7644 Add a sanity check.
7645 (___gcc_main_flags): Declare.
7646 (__main): Check flags to remap argv and exit code.
7647 * config.host (*-*-*vms*): Adjust extra_parts.
7648 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7649 (crt0.o): Add.
7650
7651 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
7652
7653 * arm/lib1funcs.asm (ctzsi2): New function.
7654 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7655 * arm/t-linux (LIB1ASMFUNCS): Likewise.
7656 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7657 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7658 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7659 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7660
7661 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
7662
7663 * config.host: Add bits to support powerpc64-*-freebsd*.
7664 * config/rs6000/freebsd-unwind.h: New file.
7665 * config/rs6000/t-freebsd64: New file.
7666
7667 2012-03-20 Richard Guenther <rguenther@suse.de>
7668
7669 PR gcov-profile/52627
7670 * libgcov.c (init_mx): Fix mutex name.
7671
7672 2012-03-16 Tristan Gingold <gingold@adacore.com>
7673
7674 * config/ia64/vms-unwind.h: Remove ulong (and replace
7675 it by unw_reg where used). Define unw_reg with __int64.
7676
7677 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7678
7679 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7680 Solaris 8 handling.
7681 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7682 Solaris 8 handling.
7683 (sparc_is_sighandler): Likewise.
7684
7685 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
7686
7687 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7688 <= saved reg size.
7689
7690 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7691
7692 * config/arm/crtn.S: Fix typo.
7693
7694 2012-03-13 Richard Guenther <rguenther@suse.de>
7695
7696 * libgcov.c: Remove stdio.h include and NULL un-define.
7697
7698 2012-03-13 Richard Guenther <rguenther@suse.de>
7699
7700 PR target/52569
7701 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7702
7703 2012-03-13 Richard Guenther <rguenther@suse.de>
7704
7705 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7706
7707 2012-03-13 Richard Guenther <rguenther@suse.de>
7708
7709 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7710 and __gthread_mutex_init_function definitions.
7711
7712 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7713
7714 * config.host (mips*-*-openbsd*): Remove.
7715
7716 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7717
7718 * config.host: Remove alpha*-dec-osf5.1* handling.
7719 * config/alpha/gthr-posix.c: Remove.
7720 * config/alpha/libgcc-osf5.ver: Remove.
7721 * config/alpha/osf5-unwind.h: Remove.
7722 * config/alpha/t-osf-pthread: Remove.
7723 * config/alpha/t-slibgcc-osf: Remove.
7724 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7725 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7726 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7727 * mkmap-flat.awk: Remove osf_export handling.
7728
7729 2012-03-12 Richard Guenther <rguenther@suse.de>
7730
7731 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7732 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7733 (__gthread_mutex_init_function): New function.
7734 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7735
7736 PR gcov/49484
7737 * libgcov.c: Include gthr.h.
7738 (__gcov_flush_mx): New global variable.
7739 (init_mx, init_mx_once): New functions.
7740 (__gcov_flush): Protect self with a mutex.
7741 (__gcov_fork): Re-initialize mutex after forking.
7742 * unwind-dw2-fde.c: Change condition under which to use
7743 __GTHREAD_MUTEX_INIT_FUNCTION.
7744
7745 2012-03-12 Tristan Gingold <gingold@adacore.com>
7746
7747 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7748 * config/ia64/t-vms: Likewise.
7749
7750 2012-03-11 Michael Hope <michael.hope@linaro.org>
7751
7752 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7753 for Thumb-2.
7754
7755 2012-03-07 Walter Lee <walt@tilera.com>
7756
7757 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7758 "arch_atomic_".
7759 (atomic_xor): Rename and move definition to
7760 config/tilepro/atomic.h.
7761 (atomic_nand): Ditto.
7762 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7763 "arch_atomic_".
7764 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7765 (arch_atomic_nand): Ditto.
7766
7767 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7768
7769 PR target/52507
7770 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7771
7772 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7773
7774 PR target/52505
7775 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7776 from RAM.
7777
7778 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7779
7780 PR target/52461
7781 PR target/52508
7782 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7783 if RAMPZ affects reading from RAM.
7784 (__tablejump_elpm__): Ditto.
7785 (.xload): Ditto.
7786 (__movmemx_hi): Ditto.
7787 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7788 (__do_global_dtors): Ditto.
7789 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7790 (__movmemx_hi): Ditto.
7791
7792 2012-03-05 Richard Henderson <rth@redhat.com>
7793
7794 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7795 [ARM] (count_trailing_zeros): Use the builtin.
7796
7797 2012-03-01 Kai Tietz <ktietz@redhat.com>
7798
7799 * soft-fp: Imported from glibc upstream.
7800
7801 2012-02-28 Kai Tietz <ktietz@redhat.com>
7802
7803 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7804 for mingw-targets as attribute gcc_struct.
7805
7806 2012-02-28 Ian Lance Taylor <iant@google.com>
7807
7808 * generic-morestack.c (__splitstack_releasecontext): Correct call
7809 to __morestack_release_segments.
7810
7811 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7812
7813 PR target/52390
7814 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7815 for __linux__ when removing signals from __morestack_fullmask.
7816
7817 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
7818
7819 PR target/52261
7820 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7821
7822 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7823
7824 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7825 instead of HAVE_INITFINI_ARRAY.
7826 * config/ia64/crtend.S: Likewise.
7827
7828 2012-02-20 Kai Tietz <ktietz@redhat.com>
7829
7830 PR libstdc++/52300
7831 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7832
7833 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7834 to w32-unwind.h header.
7835
7836 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7837
7838 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7839 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7840 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7841 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7842
7843 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7844
7845 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7846
7847 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7848
7849 PR libitm/52220
7850 * config/darwin-crt-tm.c: Correct typo.
7851
7852 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7853 Patrick Marlier <patrick.marlier@gmail.com>
7854
7855 PR libitm/52220
7856 * config/darwin-crt-tm.c: Generate dummy functions.
7857
7858 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7859 Patrick Marlier <patrick.marlier@gmail.com>
7860
7861 PR libitm/52042
7862 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7863 (__doTMRegistrations): Call it.
7864 (__doTMdeRegistrations): Likewise.
7865
7866 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
7867 Anatoly Sokolov <aesok@post.ru>
7868 Eric Weddington <eric.weddington@atmel.com>
7869
7870 PR target/52261
7871 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7872 (__epilogue_restores__): Ditto.
7873
7874 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7875
7876 PR target/51921
7877 PR target/52205
7878 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7879 Solaris 11 and slightly reformat.
7880 (sparc_is_sighandler): Likewise.
7881
7882 2012-02-14 Walter Lee <walt@tilera.com>
7883
7884 * config.host: Handle tilegx and tilepro.
7885 * config/tilegx/sfp-machine.h: New file.
7886 * config/tilegx/sfp-machine32.h: New file.
7887 * config/tilegx/sfp-machine64.h: New file.
7888 * config/tilegx/t-crtstuff: New file.
7889 * config/tilegx/t-softfp: New file.
7890 * config/tilegx/t-tilegx: New file.
7891 * config/tilepro/atomic.c: New file.
7892 * config/tilepro/atomic.h: New file.
7893 * config/tilepro/linux-unwind.h: New file.
7894 * config/tilepro/sfp-machine.h: New file.
7895 * config/tilepro/softdivide.c: New file.
7896 * config/tilepro/softmpy.S: New file.
7897 * config/tilepro/t-crtstuff: New file.
7898 * config/tilepro/t-tilepro: New file.
7899
7900 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7901
7902 PR libstdc++/51296
7903 PR libstdc++/51906
7904 * gthr-posix.h: Allow static initializer macros to be disabled.
7905 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7906
7907 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7908
7909 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7910 Add t-slibgcc-libgcc to tmake_file.
7911 * config/mips/libgcc-mips16.ver: Revert previous patch.
7912 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7913
7914 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7915 Jayant R Sonar <jayant.sonar@kpitcummins.com>
7916
7917 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7918 * config/cr16/crti.S: New file.
7919 * config/cr16/crtlibid.S: New file.
7920 * config/cr16/crtn.S: New file.
7921 * config/cr16/lib1funcs.S: New file.
7922 * config/cr16/t-cr16: New file.
7923 * config/cr16/t-crtlibid: New file.
7924 * config/cr16/unwind-dw2.h: New file.
7925 * config/cr16/unwind-cr16.c: New file.
7926 * config/cr16/divmodhi3.c: New file.
7927
7928 2012-01-25 Alan Modra <amodra@gmail.com>
7929
7930 * config/rs6000/t-linux64: Delete. Move..
7931 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7932 * config/rs6000/t-linux: ..and libgcc flags to here.
7933
7934 2012-01-22 Douglas B Rupp <rupp@gnat.com>
7935
7936 * config.host (i[34567]86-*-interix3*):
7937 Change triplet to i[34567]86-*-interix[3-9]*.
7938 * configure: Regenerate.
7939
7940 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7941 Richard Sandiford <rdsandiford@googlemail.com>
7942
7943 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7944 * config/mips/mips16.S (__mips16_rdhwr): New function.
7945 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7946
7947 2012-01-11 Nathan Sidwell <nathan@acm.org>
7948
7949 * libgcov.c (__gcov_init): Ignore objects with no functions.
7950
7951 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
7952
7953 PR target/49868
7954 Extend __pgmx semantics to linearize memory.
7955 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7956 * config/avr/lib1funcs.S (__xload_1): New function.
7957 (__movmemx_qi, __movmemx_hi): New functions.
7958 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7959 semantics.
7960
7961 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7962
7963 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7964 purported sigacthandler address isn't null before dereferencing it.
7965 (sparc_is_sighandler): Likewise.
7966
7967 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7968
7969 PR ada/41929
7970 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7971 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7972 (sparc_is_sighandler): Likewise.
7973 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7974
7975 2012-01-06 Tristan Gingold <gingold@adacore.com>
7976
7977 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7978 compatibility thunks...
7979 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7980 (crtbeginS.o, crtendS.o): ... and these to ...
7981 * config/ia64/t-ia64-elf: ... this new file.
7982 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7983 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7984
7985 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7986
7987 * configure: Regenerate.
7988 * config/s390/t-crtstuff: Remove -fPIC.
7989
7990 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7991
7992 PR bootstrap/51006
7993 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7994 for NetBSD.
7995
7996 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
7997
7998 PR target/51345
7999 * config/avr/lib1funcs.S: Remove FIXME comments.
8000 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8001
8002 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8003
8004 Implement light-weight DImode support.
8005 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8006 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8007 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8008 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8009
8010 2011-12-30 Nathan Sidwell <nathan@acm.org>
8011
8012 * libgcov.c (gcov_crc32): Remove global var.
8013 (free_fn_data): New function.
8014 (buffer_fn_data): Pass in filename, more robust error recovery.
8015 (crc32_unsigned): New function.
8016 (gcov_exit): More robust detection of new program. More robust
8017 error recovery.
8018 (__gcov_init): Do not update program's crc here.
8019
8020 2011-12-21 Tristan Gingold <gingold@adacore.com>
8021
8022 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8023
8024 2011-12-21 Ian Lance Taylor <iant@google.com>
8025
8026 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8027
8028 2011-12-20 Ian Lance Taylor <iant@google.com>
8029
8030 * config/i386/morestack.S (__morestack_non_split): If there is
8031 enough stack space already, don't split. Ask for more stack space
8032 than we required.
8033
8034 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8035
8036 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8037 `sys/sdt.h'.
8038 (_Unwind_DebugHook): New function.
8039 (uw_restore_core_regs): New define.
8040 (unwind_phase2): Use uw_restore_core_regs instead of
8041 restore_core_regs.
8042 (unwind_phase2_forced): Likewise.
8043 (__gnu_Unwind_Resume): Likewise.
8044
8045 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
8046
8047 * config/alpha/linux-unwind.h: Update copyright years.
8048 (MD_FROB_UPDATE_CONTEXT): New define.
8049 (alpha_frob_update_context): New function.
8050
8051 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8052
8053 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8054 tmake_file rather replacing it.
8055
8056 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
8057
8058 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
8059 function is not used for PPC64.
8060 (save_world): Amend comments. Update the VRsave mask to reflect the
8061 saved regs.
8062 (rest_world): Update comments, do not clobber r10, do not use r8.
8063 (eh_rest_world_r10): Amend comments, do not use r8.
8064 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8065 no longer used, move restore of CR and target address to the end of
8066 the routine.
8067
8068 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
8069
8070 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8071 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8072
8073 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
8074
8075 PR target/49313
8076 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8077 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8078
8079 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
8080
8081 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8082
8083 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
8084
8085 PR target/49313
8086 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8087 * config/avr/lib1funcs.S (__muldi3): New function.
8088
8089 2011-12-06 Andrew Pinski <apinski@cavium.com>
8090
8091 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8092 size of func_ptr.
8093 (__frame_dummy_init_array_entry): Likewise.
8094
8095 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
8096
8097 Forward-port from gcc-4_6-branch r181936 2011-12-02.
8098
8099 PR target/51345
8100 PR target/51002
8101 * config/avr/lib1funcs.S (__prologue_saves__,
8102 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8103 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
8104
8105 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
8106
8107 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8108
8109 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8110
8111 PR other/51272
8112 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8113 (_ITM_deregisterTMCloneTable): Likewise.
8114 (__register_frame_info): Fix unused warning.
8115 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8116 pthread_default_stacksize_np): Likewise.
8117 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
8118
8119 2011-11-29 DJ Delorie <dj@redhat.com>
8120
8121 * config.host (rl78-*-elf): New case.
8122 * config/rl78: New directory for the Renesas RL78.
8123
8124 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
8125
8126 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
8127 formatting.
8128
8129 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8130
8131 PR other/51022
8132 * config/rs6000/t-savresfgpr: New file.
8133 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8134 $(srcdir)/config/rs6000/eabi.S.
8135 * config/rs6000/t-ppccomm-ldbl: Remove.
8136 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8137 tmake_file.
8138 (powerpc-*-eabispe*): Likewise.
8139 (powerpc-*-eabi*): Likewise.
8140 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8141 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8142 to tmake_file, remove rs6000/t-ppccomm-ldbl.
8143 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8144 tmake_file.
8145 (powerpc-*-eabisim*): Likewise.
8146 (powerpc-*-elf*): Likewise.
8147 (powerpc-*-eabialtivec*): Likewise.
8148 (powerpc-xilinx-eabi*): Likewise.
8149 (powerpc-*-rtems*): Likewise.
8150 (powerpcle-*-elf*): Likewise.
8151 (powerpcle-*-eabisim*): Likewise.
8152 (powerpcle-*-eabi*): Likewise.
8153
8154 2011-11-27 Ian Lance Taylor <iant@google.com>
8155
8156 * generic-morestack.c (__splitstack_find): Check for NULL old
8157 stack value.
8158 (__splitstack_resetcontext): New function.
8159 (__splitstack_releasecontext): New function.
8160 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8161
8162 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8163
8164 * config/darwin-crt-tm.c: Correct comments, use correct licence.
8165
8166 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8167
8168 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8169
8170 2011-11-26 Richard Henderson <rth@redhat.com>
8171
8172 * config/m68k/linux-atomic.c: New file.
8173 * config/m68k/t-linux: New file.
8174 * config.host (m68k-uclinux, m68k-linux): Use it.
8175
8176 2011-11-26 Richard Henderson <rth@redhat.com>
8177
8178 * crtstuff.c (__TMC_LIST__): Mark used not unused.
8179 (__TMC_END__): Only declare if hidden is available; in the definition,
8180 if hidden is unavailable add a null record.
8181 (deregister_tm_clones, register_tm_clones): New.
8182 (__do_global_dtors_aux, frame_dummy): Use them.
8183 (__do_global_dtors, __do_global_ctors_1): Likewise.
8184
8185 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
8186
8187 * config/darwin-crt-tm.c: New file.
8188 * config.host (darwin): Build crttms.o crttme.o to provide
8189 startup and shutdown for tm clones.
8190 * config/t-darwin (crttms.o): New build rule.
8191 (crttme.o): Likewise.
8192
8193 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
8194
8195 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8196 et al.
8197
8198 2011-11-21 Richard Henderson <rth@redhat.com>
8199
8200 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8201 (__TMC_LIST__, __TMC_END__): New.
8202 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8203 (__do_global_dtors): Likewise.
8204 (frame_dummy): Call _ITM_registerTMCloneTable.
8205 (__do_global_ctors_1): Likewise.
8206
8207 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8208
8209 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8210 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8211 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8212 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8213 * config/i386/t-darwin64: Remove.
8214 * config/sh/t-netbsd (LIB2ADD): Remove.
8215
8216 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
8217
8218 PR target/49313
8219 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8220 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8221 * config/avr/lib1funcs.S (wmov): New assembler macro.
8222 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8223 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8224 (__udivmod64): New function.
8225 (__negdi2): New function.
8226
8227 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
8228
8229 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8230 *-*-freebsd*aout*): Remove.
8231
8232 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
8233
8234 * static-object.mk (c_flags-$o): Save c_flags.
8235 ($(base)$(objext)): Use it.
8236
8237 2011-11-18 Steve Ellcey <sje@cup.hp.com>
8238
8239 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8240
8241 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
8242
8243 PR target/49868
8244 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8245 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8246 New functions.
8247
8248 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8249
8250 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8251 functions.
8252 (aeabi_uidivmod): Likewise.
8253 (umodsi3): Likewise.
8254 (divsi3): Likewise.
8255 (aeabi_idivmod): Likewise.
8256 (modsi3): Likewise.
8257
8258 2011-11-16 Tristan Gingold <gingold@adacore.com>
8259
8260 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8261
8262 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
8263
8264 PR target/49868
8265 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
8266 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8267
8268 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8269
8270 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8271 tmake_file list.
8272 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8273 * config/pa/t-stublib64: Delete.
8274
8275 2011-11-12 Richard Henderson <rth@redhat.com>
8276
8277 * config/rs6000/linux-unwind.h (frob_update_context): Properly
8278 cast the pointer argument to _Unwind_SetGRPtr.
8279
8280 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8281
8282 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8283
8284 2011-11-09 Ian Lance Taylor <iant@google.com>
8285
8286 * generic-morestack.c: Include <string.h>.
8287 (uintptr_type): Define.
8288 (struct initial_sp): Add dont_block_signals field. Reduce size of
8289 extra array by 1.
8290 (allocate_segment): Set prev field to NULL. Don't set
8291 __morestack_current_segment or __morestack_segments.
8292 (__generic_morestack): Update current->prev and *pp after calling
8293 allocate_segment.
8294 (__morestack_block_signals): Don't do anything if
8295 dont_block_signals is set.
8296 (__morestack_unblock_signals): Likewise.
8297 (__generic_findstack): Check for initial_sp == NULL. Add casts to
8298 uintptr_type.
8299 (__splitstack_block_signals): New function.
8300 (enum __splitstack_content_offsets): Define.
8301 (__splitstack_getcontext, __splitstack_setcontext): New functions.
8302 (__splitstack_makecontext): New function.
8303 (__splitstack_block_signals_context): New function.
8304 (__splitstack_find_context): New function.
8305 * config/i386/morestack.S (__morestack_get_guard): New function.
8306 (__morestack_set_guard, __morestack_make_guard): New functions.
8307 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8308
8309 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8310
8311 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8312 (i[34567]86-*-mingw*): ... here.
8313 (x86_64-*-mingw*): ... here.
8314
8315 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8316
8317 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8318
8319 2011-11-07 Nathan Sidwell <nathan@acm.org>
8320
8321 * libgcov.c (struct gcov_fn_buffer): New struct.
8322 (buffer_fn_data): New helper.
8323 (gcov_exit): Rework for new gcov data structures.
8324
8325 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
8326
8327 PR target/49313
8328 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8329
8330 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8331
8332 * config.host (tmake_file): Correct comment.
8333 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8334 t-libgcc-pic.
8335 (bfin*-uclinux*): Likewise.
8336 (bfin*-linux-uclibc*): Likewise.
8337 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8338
8339 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8340 assigning.
8341 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8342 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8343 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8344 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8345 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8346 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8347 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8348 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8349 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8350 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8351 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8352 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8353 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8354
8355 * config/bfin/t-elf: Remove.
8356 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8357
8358 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8359
8360 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8361 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8362 (lm32-*-elf*, lm32-*-rtems*): Split into ...
8363 (lm32-*-elf*): ... this.
8364 (lm32-*-rtems*): ... and this.
8365 Add to tmake_file.
8366 (m32r-*-rtems*): Add to tmake_file.
8367 (moxie-*-rtems*): Likewise.
8368 (sparc-*-rtems*): Likewise.
8369 Remove t-rtems from tmake_file.
8370 (sparc64-*-rtems*): Likewise.
8371 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8372 instead.
8373
8374 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8375
8376 PR bootstrap/50982
8377 * config/gthr-posix.h: Move ...
8378 * gthr-posix.h: ... here.
8379 * config/gthr-lynx.h: Reflect this.
8380 * config/gthr-vxworks.h: Likewise.
8381 * config/rs6000/gthr-aix.h: Likewise.
8382 * configure.ac (target_thread_file): Likewise.
8383 * configure: Regenerate.
8384
8385 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
8386
8387 * config.host (arm*-*-rtemseabi*): New target.
8388
8389 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8390
8391 PR other/50991
8392 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8393 extra-parts.
8394
8395 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
8396
8397 * config.host (epiphany-*-elf*): New configuration.
8398 * config/epiphany: New Directory.
8399
8400 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
8401
8402 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8403 * config/avr/t-rtems: New.
8404 Filter out _exit from LIB1ASMFUNCS.
8405
8406 2011-11-04 David S. Miller <davem@davemloft.net>
8407
8408 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8409 * configure: Rebuild.
8410
8411 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8412
8413 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8414 variable.
8415
8416 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
8417
8418 PR target/50931
8419 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8420 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8421
8422 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
8423
8424 PR target/50989
8425 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8426
8427 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8428
8429 * config/c6x/t-elf (LIB2ADDEH): Set.
8430 * config/c6x/t-c6x-elf: Remove.
8431
8432 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8433
8434 * config/i386/sol2-ci.S: Rename to ...
8435 * config/i386/crti.S: ... this.
8436 * config/i386/sol2-cn.S: Rename to ...
8437 * config/i386/crtn.S: ... this.
8438 * config/sparc/sol2-ci.S: Rename to ...
8439 * config/sparc/crti.S: ... this.
8440 * config/sparc/sol2-cn.S: Rename to ...
8441 * config/sparc/crtn.S: ... this.
8442 * config/t-sol2 (CUSTOM_CRTIN): Remove.
8443 (crti.o, crtn.o): Remove.
8444
8445 2011-11-04 Tristan Gingold <gingold@adacore.com>
8446
8447 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8448
8449 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
8450
8451 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8452
8453 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
8454
8455 * config.host (crisv32-*-none, cris-*-none): Remove.
8456 (crisv32-*-elf): Append to tmake_file, don't just set it.
8457 (cris-*-elf): Add missing t-fdpbit to tmake_file.
8458
8459 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8460
8461 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8462 (ecrtn$(objext)): Likewise.
8463 (ncrti$(objext)): Likewise.
8464 (ncrtn$(objext)): Likewise.
8465
8466 2011-11-03 Andreas Schwab <schwab@redhat.com>
8467
8468 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8469
8470 2011-11-02 David S. Miller <davem@davemloft.net>
8471
8472 * configure.ac: Set host_address on sparc too.
8473 * configure: Regenerate.
8474 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8475 based upon host_address.
8476 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8477
8478 2011-11-02 Jason Merrill <jason@redhat.com>
8479
8480 * config/rs6000/t-ppccomm: Add missing \.
8481
8482 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8483
8484 * gthr-single.h, gthr.h: New files.
8485 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8486 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8487 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8488 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8489 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8490 * configure.ac (thread_header): New variable.
8491 Set it depending on target_thread_file.
8492 (gthr-default.h): Link from $thread_header.
8493 * configure: Regenerate.
8494 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8495
8496 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8497
8498 * configure.ac (tm_file_): New variable.
8499 Determine from tm_file.
8500 (tm_file, tm_defines): Substitute.
8501 * configure: Regenerate.
8502 * mkheader.sh: New file.
8503 * Makefile.in (clean): Remove libgcc_tm.h.
8504 ($(objects)): Depend on libgcc_tm.h.
8505 (libgcc_tm_defines, libgcc_tm_file): New variables.
8506 (libgcc_tm.h, libgcc_tm.stamp): New targets.
8507 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8508 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8509 ($(extra-parts)): Depend on libgcc_tm.h.
8510 * config.host (tm_defines, tm_file): New variable.
8511 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8512 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8513 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8514 (avr-*-rtems*): Likewise.
8515 (avr-*-*): Likewise.
8516 (frv-*-elf): Likewise.
8517 (frv-*-*linux*): Likewise.
8518 (h8300-*-rtems*): Likewise.
8519 (h8300-*-elf*): Likewise.
8520 (i[34567]86-*-darwin*): Likewise.
8521 (x86_64-*-darwin*): Likewise.
8522 (rx-*-elf): Likewise.
8523 (tic6x-*-uclinux): Likewise.
8524 (tic6x-*-elf): Likewise.
8525 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8526 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8527 * config/i386/cygming-crtbegin.c: Likewise.
8528 * config/i386/cygming-crtend.c: Likewise.
8529 * config/ia64/fde-vms.c: Likewise.
8530 * config/ia64/unwind-ia64.c: Likewise.
8531 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8532 * config/rs6000/darwin-fallback.c: Likewise.
8533 * config/stormy16/lib2funcs.c: Likewise.
8534 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8535 * crtstuff.c: Likewise.
8536 * dfp-bit.h: Likewise.
8537 * emutls.c: Likewise.
8538 * fixed-bit.c: Likewise.
8539 * fp-bit.c: Likewise.
8540 * generic-morestack-thread.c: Likewise.
8541 * generic-morestack.c: Likewise.
8542 * libgcc2.c: Likewise.
8543 * libgcov.c: Likewise.
8544 * unwind-dw2-fde-dip.c: Likewise.
8545 * unwind-dw2-fde.c: Likewise.
8546 * unwind-dw2.c: Likewise.
8547 * unwind-sjlj.c: Likewise.
8548
8549 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8550
8551 * configure.ac: Include ../config/picflag.m4.
8552 (GCC_PICFLAG): Call it.
8553 Substitute.
8554 * configure: Regenerate.
8555 * Makefile.in (gcc_srcdir): Remove.
8556 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8557 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8558 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8559 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8560 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8561 Use $<.
8562 Remove comment.
8563 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8564 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8565 to refer to libgcc2.c.
8566 Use $<.
8567 * config/darwin-64.c: New file.
8568 * config/darwin-crt3.c: Remove comment.
8569 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8570 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8571 config/udivmodsi4.c: New files.
8572 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8573 config/memset.c: New files.
8574 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8575 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8576 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8577 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8578 * config/t-openbsd-thread: New file.
8579 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8580 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8581 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8582 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8583 qrnnd.S.
8584 Adapt filename.
8585 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8586 to refer to gthr-posix.c.
8587 * config/alpha/t-vms (LIB2ADD): Set.
8588 * config/alpha/vms-gcc_shell_handler.c: New file.
8589 * config/arm/bpabi.c, config/arm/fp16.c,
8590 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8591 config/arm/unaligned-funcs.c: New files.
8592 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8593 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8594 * config/arm/t-linux: Likewise.
8595 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8596 * config/arm/t-netbsd: New file.
8597 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8598 * config/arm/t-symbian (LIB2ADD_ST): Set.
8599 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8600 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8601 * config/bfin/t-elf: New file.
8602 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8603 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8604 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8605 config/c6x/ltf.c: New files.
8606 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8607 (HOST_LIBGCC2_CFLAGS): Set.
8608 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8609 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8610 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8611 New files.
8612 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8613 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8614 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8615 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8616 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8617 files.
8618 * config/frv/t-frv (LIB2ADD): Set.
8619 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8620 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8621 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8622 config/h8300/popcounthi2.c: New files.
8623 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8624 * config/i386/gthr-win32.c: New file.
8625 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8626 * config/i386/t-cygwin: Likewise.
8627 * config/i386/t-darwin, config/i386/t-darwin64,
8628 config/i386/t-gthr-win32, config/i386/t-interix: New files.
8629 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8630 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8631 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8632 * config/ia64/quadlib.c: New file.
8633 * config/ia64/t-hpux (LIB2ADD): Set.
8634 * config/ia64/t-ia64: Add comment.
8635 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8636 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8637 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8638 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8639 * config/m32c/t-m32c (LIB2ADD): Set.
8640 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8641 * config/m32r/t-m32r: Likewise.
8642 * config/m68k/fpgnulib.c: New file.
8643 * config/m68k/t-floatlib (LIB2ADD): Set.
8644 (xfgnulib.c): New target.
8645 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8646 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8647 * config/mep/t-mep (LIB2ADD): Set.
8648 * config/microblaze/divsi3.asm: Rename to divsi3.S.
8649 * config/microblaze/moddi3.asm: Rename to moddi3.S.
8650 * config/microblaze/modsi3.asm: Rename to modsi3.S.
8651 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8652 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8653 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8654 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8655 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8656 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8657 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8658 New files.
8659 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8660 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8661 * config/pa/fptr.c, config/pa/lib2funcs.S,
8662 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8663 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8664 (LIB2ADD, LIB2ADD_ST): Set.
8665 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8666 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8667 Set.
8668 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8669 * config/pdp11/t-pdp11: New file.
8670 * config/picochip/libgccExtras/adddi3.S,
8671 config/picochip/libgccExtras/ashlsi3.S,
8672 config/picochip/libgccExtras/ashrsi3.S,
8673 config/picochip/libgccExtras/clzsi2.S,
8674 config/picochip/libgccExtras/cmpsi2.S,
8675 config/picochip/libgccExtras/divmod15.S,
8676 config/picochip/libgccExtras/divmodhi4.S,
8677 config/picochip/libgccExtras/divmodsi4.S,
8678 config/picochip/libgccExtras/lshrsi3.S,
8679 config/picochip/libgccExtras/parityhi2.S,
8680 config/picochip/libgccExtras/popcounthi2.S,
8681 config/picochip/libgccExtras/subdi3.S,
8682 config/picochip/libgccExtras/ucmpsi2.S,
8683 config/picochip/libgccExtras/udivmodhi4.S,
8684 config/picochip/libgccExtras/udivmodsi4.S: New files.
8685 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8686 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8687 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8688 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8689 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8690 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8691 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8692 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8693 files.
8694 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8695 (HOST_LIBGCC2_CFLAGS): Set.
8696 * config/rs6000/t-darwin64: New file.
8697 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8698 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8699 * config/rs6000/t-ppccomm (LIB2ADD): Add
8700 $(srcdir)/config/rs6000/tramp.S.
8701 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8702 Add $(srcdir)/config/rs6000/eabi.S.
8703 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8704 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8705 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8706 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8707 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8708 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8709 * config/rs6000/tramp.S: New file.
8710 * config/s390/t-tpf: Remove.
8711 * config/sh/linux-atomic.S: New file.
8712 * config/sh/t-linux (LIB2ADD): Set.
8713 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8714 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8715 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8716 to unwind-dw2.c.
8717 (HOST_LIBGCC2_CFLAGS): Set.
8718 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8719 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8720 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8721 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8722 config/spu/mfc_multi_tag_release.c,
8723 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8724 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8725 config/spu/multi3.c: New files.
8726 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8727 (HOST_LIBGCC2_CFLAGS): Set.
8728 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8729 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8730 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8731 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8732 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8733 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8734 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8735 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8736 config/stormy16/umodsi3.c: New files.
8737 * config/xtensa/lib2funcs.S: New file.
8738 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8739 * config/xtensa/t-xtensa (LIB2ADD): Set.
8740 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8741 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8742 Add t-freebsd-thread to tmake_file for posix threads.
8743 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8744 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8745 (*-*-lynxos*): Likewise.
8746 (*-*-netbsd*): Likewise.
8747 (*-*-openbsd*): Likewise.
8748 Add t-openbsd-thread to tmake_file for posix threads.
8749 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8750 (*-*-vxworks*): Set tmake_file.
8751 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8752 (alpha*-*-freebsd*): Likewise.
8753 (alpha*-*-netbsd*): Likewise.
8754 (alpha*-*-openbsd*): Likewise.
8755 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8756 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8757 (alpha*-dec-*vms*): Likewise.
8758 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8759 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8760 (bfin*-uclinux*): Likewise.
8761 (bfin*-linux-uclibc*): Likewise.
8762 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8763 (crisv32-*-none): Likewise.
8764 (cris-*-elf): Likewise.
8765 (cris-*-none): Likewise.
8766 (cris-*-linux*, crisv32-*-linux*): Likewise.
8767 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8768 tmake_file.
8769 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8770 tmake_file.
8771 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8772 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8773 (x86_64-*-elf*): Likewise.
8774 (i[34567]86-*-nto-qnx*): Likewise.
8775 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8776 win32 threads.
8777 (x86_64-*-mingw*): Likewise.
8778 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8779 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8780 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8781 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8782 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8783 tmake_file.
8784 (mipsisa64sr71k-*-elf*): Likewise.
8785 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8786 (mips-*-elf*, mipsel-*-elf*): Likewise.
8787 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8788 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8789 (mips*-*-rtems*): Likewise.
8790 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8791 to tmake_file.
8792 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8793 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8794 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8795 (spu-*-elf*): Likewise.
8796 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8797
8798 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8799
8800 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8801 $(srcdir) to refer to $(LIB1ASMSRC).
8802 Use $<.
8803 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8804 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8805 config/arm/lib1funcs.S: New files.
8806 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8807 * config/arm/t-arm: New file.
8808 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8809 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8810 config/arm/t-strongarm-elf: New files.
8811 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8812 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8813 * config/avr/lib1funcs.S: New file.
8814 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8815 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8816 * config/c6x/lib1funcs.S: New file.
8817 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8818 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8819 * config/frv/lib1funcs.S: New file.
8820 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8821 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8822 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8823 * config/ia64/__divxf3.asm: Rename to ...
8824 * config/ia64/__divxf3.S: ... this.
8825 Adapt lib1funcs.asm filename.
8826 * config/ia64/_fixtfdi.asm: Rename to ...
8827 * config/ia64/_fixtfdi.S: ... this.
8828 Adapt lib1funcs.asm filename.
8829 * config/ia64/_fixunstfdi.asm: Rename to ...
8830 * config/ia64/_fixunstfdi.S: ... this.
8831 Adapt lib1funcs.asm filename.
8832 * config/ia64/_floatditf.asm: Rename to ...
8833 * config/ia64/_floatditf.S: ... this.
8834 Adapt lib1funcs.asm filename.
8835 * config/ia64/lib1funcs.S: New file.
8836 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8837 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8838 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8839 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8840 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8841 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8842 * config/mep/lib1funcs.S: New file.
8843 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8844 * config/mips/mips16.S: New file.
8845 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8846 * config/pa/milli64.S: New file.
8847 * config/pa/t-linux, config/pa/t-linux64: New files.
8848 * config/picochip/lib1funcs.S: New file.
8849 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8850 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8851 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8852 * config/sh/t-netbsd: New file.
8853 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8854 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8855 * config/sh/t-sh64: New file.
8856 * config/sparc/lb1spc.S: New file.
8857 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8858 filename.
8859 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8860 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8861 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8862 config/xtensa/lib1funcs.S: New files.
8863 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8864 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8865 tmake_file.
8866 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8867 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8868 (arm*-*-linux*): Likewise.
8869 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8870 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8871 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8872 (arm*-*-ecos-elf): Likewise.
8873 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8874 (arm*-*-rtems*): Likewise.
8875 (arm*-*-elf): Likewise.
8876 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8877 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8878 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8879 (bfin*-uclinux*): Likewise.
8880 (bfin*-linux-uclibc*): Likewise.
8881 (bfin*-rtems*): Likewise.
8882 (bfin*-*): Likewise.
8883 (fido-*-elf): Merge into m68k-*-elf*.
8884 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8885 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8886 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8887 (h8300-*-elf*): Likewise.
8888 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8889 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8890 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8891 (i[34567]86-*-mingw*): Likewise.
8892 (x86_64-*-mingw*): Likewise.
8893 (i[34567]86-*-interix3*): Likewise.
8894 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8895 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8896 (m68k-*-elf*): Also handle fido-*-elf.
8897 Add m68k/t-floatlib to tmake_file.
8898 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8899 (m68k-*-linux*): Likewise.
8900 (m68k-*-rtems*): Likewise.
8901 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8902 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8903 sh64*-*-*.
8904 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8905 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8906 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8907 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8908 sh/t-netbsd to tmake_file.
8909 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8910 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8911 (sh-wrs-vxworks): Likewise.
8912 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8913 *-leon[3-9]*.
8914 (v850*-*-*): Add v850/t-v850 to tmake_file.
8915 (vax-*-linux*): Add vax/t-linux to tmake_file.
8916 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8917
8918 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8919
8920 * crtstuff.c: New file.
8921 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8922 (CRTSTUFF_T_CFLAGS): Define.
8923 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8924 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8925 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8926 crtstuff.c.
8927 Use $<.
8928 (crtbeginT.o): Use $(objext).
8929 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8930 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8931 (gcc-extra-parts): Remove.
8932 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8933 Set extra_parts.
8934 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8935 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8936 Add t-crtstuff-pic to tmake_file.
8937 (*-*-lynxos*): New case.
8938 Set tmake_file, extra_parts.
8939 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8940 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8941 *-*-netbsdelf[2-9]*.
8942 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8943 (*-*-rtems*): Set extra_parts.
8944 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8945 (*-*-uclinux*): New case.
8946 Set extra_parts.
8947 (*-*-vms*): New case.
8948 Set tmake_file, extra_parts.
8949 (*-*-elf): Set extra_parts.
8950 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8951 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8952 vms/t-vms64.
8953 Set extra_parts.
8954 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8955 Set extra_parts.
8956 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8957 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8958 (arm-wrs-vxworks): Append to tmake_file.
8959 Set extra_parts.
8960 (arm*-*-uclinux*): Set extra_parts.
8961 (arm*-*-ecos-elf): Likewise.
8962 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8963 arm*-*-eabi*.
8964 (arm*-*-rtems*): Set extra_parts.
8965 (arm*-*-elf): Likewise.
8966 (avr-*-rtems*): Clear extra_parts.
8967 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8968 Set extra_parts.
8969 (bfin*-uclinux*): Likewise.
8970 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8971 (bfin*-rtems*): Append to tmake_file.
8972 Set extra_parts.
8973 (bfin*-*): Likewise.
8974 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8975 (crisv32-*-elf): ... this.
8976 (crisv32-*-none): ... this.
8977 (cris-*-elf, cris-*-none): New cases.
8978 Add cris/t-elfmulti to tmake_file.
8979 (fr30-*-elf): Append to tmake_file.
8980 Set extra_parts.
8981 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8982 Set extra_parts.
8983 (h8300-*-rtems*): Append to tmake_file.
8984 Set extra_parts.
8985 (h8300-*-elf*): Likewise.
8986 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8987 Set extra_parts.
8988 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8989 Set extra_parts.
8990 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8991 (x86_64-*-elf*): Likewise.
8992 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8993 (x86_64-*-freebsd*): Likewise.
8994 (x86_64-*-netbsd*): Likewise.
8995 (i[34567]86-*-linux*): Likewise.
8996 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8997 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8998 (x86_64-*-linux*): Likewise.
8999 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9000 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9001 tmake_file.
9002 Set extra_parts.
9003 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9004 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9005 Append to extra_parts, remove crtbegin.o, crtend.o.
9006 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9007 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9008 crtend.o, crtbeginS.o, crtendS.o.
9009 (ia64*-*-linux*): Comment extra_parts.
9010 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9011 Set extra_parts.
9012 (iq2000*-*-elf*): Clear extra_parts.
9013 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9014 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9015 (m32r-*-elf*, m32r-*-rtems*): Split off ...
9016 (m32r-*-rtems*): ... this.
9017 Add m32r/t-m32r to tmake_file.
9018 (m68k-*-elf*): Add t-crtin to tmake_file.
9019 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9020 (mcore-*-elf): Likewise.
9021 (microblaze*-*-*): Set extra_parts.
9022 (mips*-sde-elf*): New case.
9023 Set tmake_file, extra_parts.
9024 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9025 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9026 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9027 tmake_file.
9028 Set extra_parts.
9029 (mipsisa64sr71k-*-elf*): Likewise.
9030 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9031 (mips-*-elf*, mipsel-*-elf*): Likewise.
9032 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9033 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9034 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9035 (mips*-*-rtems*): Likewise.
9036 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9037 (moxie-*-*): Split into ...
9038 (moxie-*-elf, moxie-*-uclinux*): ... this.
9039 Add to extra_parts, remove crtbegin.o, crtend.o.
9040 (moxie-*-rtems*): New case.
9041 Set tmake_file.
9042 Clear extra_parts.
9043 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9044 Set extra_parts.
9045 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9046 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9047 tmake_file.
9048 Set extra_parts.
9049 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9050 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9051 Set extra_parts.
9052 (powerpc-*-eabisim*): Likewise.
9053 (powerpc-*-elf*): Likewise.
9054 (powerpc-*-eabialtivec*): Likewise.
9055 (powerpc-xilinx-eabi*): Likewise.
9056 (powerpc-*-eabi*): Likewise.
9057 (powerpc-*-rtems*): Likewise.
9058 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9059 tmake_file.
9060 Set extra_parts.
9061 (powerpc-*-lynxos*): Add to tmake_file.
9062 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9063 rs6000/t-crtstuff, t-crtstuff-pic.
9064 Set extra_parts.
9065 (powerpcle-*-eabisim*): Likewise.
9066 (powerpcle-*-eabi*): Likewise.
9067 (rx-*-elf): Remove extra_parts.
9068 (s390x-ibm-tpf*): Set extra_parts.
9069 (score-*-elf): Set extra_parts.
9070 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9071 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9072 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9073 (sh64l*-*-netbsd*): Split into ...
9074 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9075 Add t-crtstuff-pic to tmake_file.
9076 Set extra_parts.
9077 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9078 Set extra_parts.
9079 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9080 (sparc-*-elf*): Remove t-crtin from tmake_file.
9081 Add to extra_parts, remove crtbegin.o, crtend.o.
9082 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9083 (sparc64-*-linux*): Likewise.
9084 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9085 Add to extra_parts, remove crtbegin.o, crtend.o.
9086 (sparc64-*-elf*): Remove t-crtin from tmake_file.
9087 Add to extra_parts, remove crtbegin.o, crtend.o.
9088 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9089 Add to extra_parts, remove crtbegin.o, crtend.o.
9090 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9091 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9092 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9093 Set extra_parts.
9094 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9095 Set extra_parts.
9096 (tic6x-*-*): Change to ...
9097 (tic6x-*-elf): ... this.
9098 Set extra_parts.
9099 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9100 Set extra_parts.
9101 (am33_2.0-*-linux*): Add comment.
9102 (mep*-*-*): Add mep/t-mep to tmake_file.
9103 Set extra_parts.
9104 * config/alpha/t-vms: New file.
9105 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9106 * config/arm/crti.S, config/arm/crtn.S: New files.
9107 * config/bfin/crti.S, config/bfin/crtn.S: New files.
9108 * config/bfin/crtlibid.S: New file.
9109 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9110 * config/c6x/crti.S, config/c6x/crtn.S: New files.
9111 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9112 (crti.o, crtin.o): New rules.
9113 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9114 * config/c6x/t-uclinux: New file.
9115 * config/cris/t-elfmulti: New file.
9116 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9117 * config/fr30/crti.S, config/fr30/crtn.S: New files.
9118 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9119 * config/frv/t-frv: New file.
9120 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9121 * config/h8300/crti.S, config/h8300/crtn.S: New files.
9122 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9123 New files.
9124 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9125 refer to cygming-crtbegin.c, cygming-crtend.c.
9126 Use $<.
9127 * config/i386/t-nto: New file.
9128 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9129 * config/ia64/crti.S, config/ia64/crtn.S: New files.
9130 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9131 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9132 Use .S extension.
9133 Use $<.
9134 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9135 (crtinitS.o): New rule.
9136 * config/ia64/vms-crtinit.S: New file.
9137 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9138 * config/m32r/initfini.c: New file.
9139 * config/m32r/t-linux, config/m32r/t-m32r: New files.
9140 * config/m68k/crti.S, config/m68k/crtn.S: New files.
9141 * config/mcore/crti.S, config/mcore/crtn.S: New files.
9142 * config/mep/t-mep: New file.
9143 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9144 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9145 * config/mips/crti.S, config/mips/crtn.S: New files.
9146 * config/mips/t-crtstuff: New file.
9147 * config/mmix/crti.S, config/mmix/crtn.S: New files.
9148 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9149 (CUSTOM_CRTIN): Set.
9150 ($(T)crti.o, $(T)crtn.o): Remove $(T),
9151 dependencies.
9152 Use $(srcdir) to refer to crti.S, crtn.S.
9153 Use .S extension, $<.
9154 * config/moxie/crti.asm: Rename to ...
9155 * config/moxie/crti.S: ... this.
9156 * config/moxie/crtn.asm: Rename to ...
9157 * config/moxie/crtn.S: ... this.
9158 * config/moxie/t-moxie: Remove.
9159 * config/pa/stublib.c: New file.
9160 * config/pa/t-stublib, config/pa/t-stublib64: New files.
9161 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9162 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9163 * config/rs6000/t-crtstuff: New file.
9164 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9165 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9166 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9167 Make output file explicit.
9168 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9169 Make output file explicit.
9170 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9171 Make output file explicit.
9172 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9173 Make output file explicit.
9174 * config/score/crti.S, config/score/crtn.S: New files.
9175 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9176 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9177 files.
9178 * config/sh/t-sh, config/sh/t-superh: New files.
9179 * config/sparc/t-linux64: New file.
9180 * config/spu/cache.S, config/spu/cachemgr.c: New files.
9181 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9182 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9183 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9184 * config/t-crtin: Remove.
9185 * config/t-crtstuff-pic: New file.
9186 * config/t-sol2 (CUSTOM_CRTIN): Set.
9187 (crti.o, crtn.o): New rules.
9188 * config/vms/t-vms: New file.
9189 * config/vms/vms-ucrt0.c: New file.
9190 * config/xtensa/t-elf: New file.
9191
9192 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9193
9194 * Makefile.in (SHLIB_NM_FLAGS): Set.
9195 * mkmap-flat.awk, mkmap-symver.awk: New files.
9196 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9197 exceptions.
9198 * configure: Regenerate.
9199 * config/libgcc-glibc.ver: New file.
9200 * config/libgcc-libsystem.ver: New file.
9201 * config/t-libunwind (SHLIB_LC): Set.
9202 * config/t-linux: New file.
9203 * config/t-slibgcc (INSTALL_SHLIB): New.
9204 (SHLIB_INSTALL): Use it.
9205 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9206 to mkmap-symver.awk.
9207 (SHLIB_MAPFILES): Don't append, adapt pathname.
9208 (SHLIB_VERPFX): Set.
9209 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9210 to mkmap-symver.awk.
9211 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9212 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9213 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9214 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9215 to mkmap-flat.awk.
9216 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9217 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9218 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9219 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9220 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9221 * config/i386/libgcc-darwin.10.4.ver,
9222 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9223 New files.
9224 * config/i386/t-darwin: Remove.
9225 * config/i386/t-darwin64: Likewise.
9226 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9227 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9228 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9229 * config/i386/t-linux: New file.
9230 * config/i386/t-mingw32: New file.
9231 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9232 * config/ia64/t-glibc: Rename to ...
9233 * config/ia64/t-linux: ... this.
9234 (SHLIB_MAPFILES): Set.
9235 * config/ia64/t-glibc-libunwind: Rename to ...
9236 * config/ia64/t-linux-libunwind: ... this.
9237 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9238 * config/ia64/t-slibgcc-hpux: New file.
9239 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9240 * config/m68k/t-slibgcc-elf-ver: New file.
9241 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9242 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9243 to mkmap-flat.awk.
9244 * config/pa/t-slibgcc-hpux: New file.
9245 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9246 files.
9247 * config/rs6000/libgcc-darwin.10.4.ver,
9248 config/rs6000/libgcc-darwin.10.5.ver: New files.
9249 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9250 config/rs6000/libgcc-glibc.ver.
9251 * config/rs6000/libgcc-ppc64.ver: Rename to
9252 config/rs6000/libgcc-ibm-ldouble.ver.
9253 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9254 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9255 * config/rs6000/t-ldbl128: Rename to ...
9256 * config/rs6000/t-linux: ... this.
9257 (SHLIB_MAPFILES): Adapt filename.
9258 * config/rs6000/t-slibgcc-aix: New file.
9259 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9260 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9261 libgcc-excl.ver, libgcc-glibc.ver.
9262 (SHLIB_LINK, SHLIB_INSTALL): Remove.
9263 * config/sparc/libgcc-glibc.ver: New file.
9264 * config/sparc/t-linux: New file.
9265 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9266 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9267 t-slibgcc-elf-ver to tmake_file.
9268 Add t-slibgcc-nolc-override to tmake_file for posix threads on
9269 *-*-freebsd[34].
9270 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9271 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9272 t-slibgcc-elf-ver, t-linux to tmake_file.
9273 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9274 tmake_file.
9275 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9276 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9277 (alpha*-dec-*vms*): Likewise.
9278 (arm*-*-freebsd*): Append to tmake_file.
9279 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9280 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9281 arm*-*-linux-*eabi.
9282 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9283 tmake_file for arm*-*-symbianelf*.
9284 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9285 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9286 cris/t-linux.
9287 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9288 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9289 pa/t-slibgcc-dwarf-ver to tmake_file.
9290 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9291 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9292 (hppa*64*-*-hpux11*): Likewise.
9293 (hppa[12]*-*-hpux11*): Likewise.
9294 (x86_64-*-darwin*): Don't override tmake_file, but only keep
9295 i386/t-crtpc, i386/t-crtfm.
9296 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9297 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9298 to tmake_file.
9299 Add i386/t-cygwin to tmake_file.
9300 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9301 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9302 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9303 to tmake_file.
9304 Add i386/t-mingw32 to tmake_file.
9305 (x86_64-*-mingw*): Likewise.
9306 (ia64*-*-freebsd*): Append to tmake_file.
9307 (ia64*-*-linux*): Append to tmake_file.
9308 Replace ia64/t-glibc by ia64/t-linux.
9309 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9310 system libunwind.
9311 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9312 t-slibgcc-hpux to tmake_file.
9313 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9314 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9315 (m32rle-*-linux*): Likewise.
9316 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9317 sjlj exceptions.
9318 (microblaze*-linux*): New case.
9319 Append to tmake_file, add t-slibgcc-nolc-override.
9320 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9321 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9322 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9323 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9324 rs6000/t-slibgcc-aix to tmake_file.
9325 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9326 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9327 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9328 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9329 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9330 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9331 sh*-*-linux*.
9332 (sparc-*-linux*): Append to tmake_file for *-leon*.
9333 Add sparc/t-linux to tmake_file for non-Leon targets.
9334 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9335 (tic6x-*-uclinux): New case.
9336 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9337 (tic6x-*-*): Add c6x/t-elf to tmake_file.
9338 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9339 (am33_2.0-*-linux*): Append to tmake_file.
9340 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9341 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9342 x86_64-*-kfreebsd*-gnu.
9343 Add i386/t-linux to tmake_file.
9344
9345 2011-10-28 Ian Lance Taylor <iant@google.com>
9346
9347 * config/i386/morestack.S: Correct CFI information to do proper
9348 returns throughout function. In 32-bit mode, save %ebx so that it
9349 is restored on unwind.
9350
9351 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
9352
9353 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9354 case where B3 isn't the return register.
9355
9356 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9357 logic for doubleword pops.
9358
9359 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
9360
9361 * config/rs6000/t-freebsd: Add wildcard.
9362
9363 2011-10-21 Paul Brook <paul@codesourcery.com>
9364
9365 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9366
9367 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
9368 Eric Botcazou <ebotcazou@adacore.com>
9369
9370 PR target/50737
9371 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9372 fs->signal_frame to 1.
9373
9374 2011-10-07 Ian Lance Taylor <iant@google.com>
9375
9376 * generic-morestack-thread.c: #include <errno.h>.
9377
9378 2011-10-07 Ian Lance Taylor <iant@google.com>
9379
9380 PR target/46093
9381 * generic-morestack.c (__generic_morestack): Make sure the segment
9382 is large enough for both the stack frame and the copied
9383 parameters.
9384
9385 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9386
9387 PR bootstrap/49804
9388 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9389 extra_parts.
9390
9391 2011-09-28 Nick Clifton <nickc@redhat.com>
9392
9393 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9394 64-bit doubles are not enabled.
9395 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9396 and floatunsisf functions.
9397
9398 2011-09-13 Paul Brook <paul@codesourcery.com>
9399
9400 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
9401 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9402 * unwind-arm-common.inc: New file.
9403 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9404 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9405 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9406 * config/c6x/libunwind.S: New file.
9407 * config/c6x/pr-support.c: New file.
9408 * config/c6x/unwind-c6x.c: New file.
9409 * config/c6x/unwind-c6x.h: New file.
9410 * config/c6x/t-c6x-elf: New file.
9411
9412 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
9413
9414 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9415 (ASM_DIVZERO): Ditto.
9416 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9417
9418 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
9419
9420 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9421
9422 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
9423
9424 PR target/50090
9425 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9426 instead of an assembly one.
9427
9428 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
9429
9430 PR bootstrap/50047
9431 * Makefile.in (install-unwind_h): Create
9432 $(gcc_objdir)/include/unwind.h atomically.
9433
9434 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9435
9436 * Makefile.in (install-unwind_h): Remove destination file first.
9437
9438 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9439
9440 * sync.c: New file.
9441 * config/mips/t-mips16: New file.
9442 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9443 (mips*-*-linux*): Likewise.
9444 (mips*-sde-elf*): Likewise.
9445 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9446 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9447 Add mips/t-mips16 to tmake_file.
9448 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9449 (mips-*-elf*): Likewise.
9450 (mips64-*-elf*): Likewise.
9451 (mips64orion-*-elf*): Likewise.
9452 (mips*-*-rtems*): Likewise.
9453 (mipstx39-*-elf*): Likewise.
9454 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9455 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9456 LIBGCC_SYNC_CFLAGS.
9457 Use $(srcdir) to refer to sync.c.
9458 Use $<.
9459 ($(libgcc-sync-funcs-o)): Likewise.
9460 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9461 ($(libgcc-sync-funcs-s-o)): Likewise.
9462
9463 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9464
9465 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9466 t-libunwind.
9467
9468 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
9469
9470 PR other/48007
9471 * config/i386/value-unwind.h: New.
9472
9473 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
9474
9475 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9476 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9477 Add to tmake_file rather than overriding it.
9478
9479 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9480
9481 * config/t-softfp: Remove.
9482 * soft-fp: Moved from ../gcc/config.
9483 * soft-fp/README: Remove t-softfp reference.
9484 * soft-fp/t-softfp: Move to config/t-softfp.
9485 (softfp_machine_header): Remove.
9486 (softfp_file_list): Remove config subdir.
9487 (soft-fp-objects): New variable.
9488 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9489 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9490 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9491 * config/t-softfp-excl: New file.
9492 * config/t-softfp-sfdf: New file.
9493 * config/t-softfp-tf: New file.
9494 * config/no-sfp-machine.h: New file.
9495 * config/arm/sfp-machine.h: New file.
9496 * config/arm/t-softfp: New file.
9497 * config/c6x/sfp-machine.h: New file.
9498 * config/i386/32/t-fprules-softfp: Rename to ...
9499 * config/i386/32/t-softfp: ... this.
9500 (tifunctions, LIB2ADD): Remove.
9501 (softfp_int_modes): Override.
9502 * config/i386/64/t-softfp-compat (tf-functions): Remove config
9503 subdir.
9504 * config/i386/64/eqtf2.c: Likewise.
9505 * config/i386/64/getf2.c: Likewise.
9506 * config/i386/64/letf2.c: Likewise.
9507 * config/ia64/sft-machine.h: New file.
9508 * config/ia64/t-fprules-softfp: Rename to ...
9509 * config/ia64/t-softfp: ... this.
9510 * config/lm32/sfp-machine.h: New file.
9511 * config/moxie/t-moxie-softfp: Remove.
9512 * config/rs6000/ibm-ldouble-format: New file.
9513 * config/rs6000/ibm-ldouble.c: New file.
9514 * config/rs6000/libgcc-ppc-glibc.ver: New file
9515 * config/rs6000/libgcc-ppc64.ver: New file
9516 * config/rs6000/sfp-machine.h: New file.
9517 * config/rs6000/t-freebsd: New file.
9518 * config/rs6000/t-ibm-ldouble: New file.
9519 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9520 libgcc-ppc-glibc.ver.
9521 * config/rs6000/t-linux64: New file.
9522 * config/rs6000/t-ppccomm (LIB2ADD): Add
9523 $(srcdir)/config/rs6000/ibm-ldouble.c.
9524 * config/rs6000/t-ppccomm-ldbl: New file.
9525 * config/score/sfp-machine.h: New file.
9526 * config.host (sfp_machine_header): Explain.
9527 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9528 t-softfp to tmake_file.
9529 (arm*-*-uclinux*): Likewise.
9530 (arm*-*-ecos-elf): Likewise.
9531 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9532 (arm*-*-rtems*): Likewise.
9533 (arm*-*-elf): Likewise.
9534 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9535 in tmake_file.
9536 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9537 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9538 (lm32-*-uclinux*): Likewise.
9539 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9540 t-softfp-excl, t-softfp.
9541 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9542 (powerpc64-*-darwin*): Likewise.
9543 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9544 to tmake_file.
9545 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9546 tmake_file.
9547 (powerpc-*-eabisim*): Likewise.
9548 (powerpc-*-elf*): Likewise.
9549 (powerpc-*-eabialtivec*): Likewise.
9550 (powerpc-xilinx-eabi*): Likewise.
9551 (powerpc-*-rtems*): Likewise.
9552 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9553 t-softfp-excl, t-softfp to tmake_file.
9554 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9555 rs6000/t-ppccomm-ldbl to tmake_file.
9556 (powerpcle-*-elf*): Likewise.
9557 (powerpcle-*-eabisim*): Likewise.
9558 (powerpcle-*-eabi*): Likewise.
9559 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9560 rs6000/t-ibm-ldouble to tmake_file.
9561 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9562 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9563 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9564 (tic6x-*-*): Likewise.
9565 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9566 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9567 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9568 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9569 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9570 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9571 t-softfp to tmake_file.
9572 * configure.ac (sfp_machine_header): Provide default if unset.
9573 Substitute.
9574 Link sfp-machine.h to config/$sfp_machine_header.
9575 * configure: Regenerate.
9576
9577 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9578
9579 * Makefile.in (double_type_size, long_double_type_size): Set.
9580 Remove $(fpbit-in-libgcc) support.
9581 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9582 (fpbit-src): New variable.
9583 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9584 Compile with -DFLOAT $(FPBIT_CFLAGS).
9585 Use $<.
9586 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9587 Compile with $(FPBIT_CFLAGS).
9588 Use $<.
9589 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9590 Compile with -DFLOAT $(TPBIT_CFLAGS).
9591 Use $<.
9592 * configure.ac (double_type_size, long_double_type_size):
9593 Determine and substitute.
9594 * configure: Regenerate.
9595 * fp-bit.c, fp-bit.h: New files.
9596 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9597 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9598 * config/mips/t-mips: New file.
9599 * config/mips/t-sdemtk: New file.
9600 * config/rs6000/ppc64-fp.c: New file.
9601 * config/rs6000/t-darwin (LIB2ADD): Add
9602 $(srcdir)/config/rs6000/ppc64-fp.c.
9603 * config/rs6000/t-ppc64-fp: New file.
9604 * config/rx/rx-lib.h: New file.
9605 * config/rx/t-rx (FPBIT): Set to true.
9606 ($(gcc_objdir)/fp-bit.c): Remove.
9607 (DPBIT): Set to true only with -m64bit-doubles.
9608 ($(gcc_objdir)/dp-bit.c): Remove.
9609 * config/sparc/t-softfp: Remove.
9610 * config/spu/t-elf: New file.
9611 * config/t-fdpbit, config/t-fpbit: New files.
9612 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9613 (mips*-*-*): Likewise.
9614 (arm-wrs-vxworks): Likewise.
9615 (arm*-*-freebsd*): Likewise.
9616 (avr-*-rtems*): Add t-fpbit to tmake_file.
9617 (avr-*-*): Likewise.
9618 (bfin*-elf*): Add t-fdpbit to tmake_file.
9619 (bfin*-uclinux*): Likewise.
9620 (bfin*-linux-uclibc*): Likewise.
9621 (bfin*-rtems*): New case.
9622 Add t-fdpbit to tmake_file.
9623 (bfin*-*): Add t-fdpbit to tmake_file.
9624 (crisv32-*-elf): Likewise.
9625 (cris-*-linux*): Likewise.
9626 (fr30-*-elf): Likewise.
9627 (frv-*-elf, frv-*-*linux*): Likewise.
9628 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9629 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9630 (m32r-*-elf*): Likewise.
9631 (m32rle-*-elf*): Likewise.
9632 (m32r-*-linux*): Likewise.
9633 (m32rle-*-linux*): Likewise.
9634 (mcore-*-elf): Add t-fdpbit to tmake_file.
9635 (microblaze*-*-*): Likewise.
9636 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9637 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9638 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9639 Fix typo.
9640 Add mips/t-tpbit to tmake-file.
9641 (mips*-*-linux*): Fix typo.
9642 (mips*-sde-elf*): New case
9643 Add mips/t-sdemtk unless using newlib.
9644 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9645 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9646 (mn10300-*-*): Likewise.
9647 (pdp11-*-*): Likewise.
9648 (picochip-*-*): Add t-fpbit to tmake_file.
9649 (powerpc-*-eabisimaltivec*): Likewise.
9650 (powerpc-*-eabisim*): Likewise.
9651 (powerpc-*-elf*): Likewise.
9652 (powerpc-*-eabialtivec*): Likewise.
9653 (powerpc-xilinx-eabi*): New case.
9654 Add t-fdpbit to tmake_file.
9655 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
9656 (powerpc-*-rtems*): Likewise.
9657 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9658 tmake_file.
9659 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9660 tmake_file.
9661 (powerpc-*-lynxos*): Likewise.
9662 (powerpcle-*-elf*): Likewise.
9663 (powerpcle-*-eabisim*): Likewise.
9664 (powerpcle-*-eabi*): Likewise.
9665 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9666 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9667 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9668 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9669 (rx-*-elf): Add t-fdpbit to tmake_file.
9670 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9671 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9672 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9673 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9674 sh*-*-netbsd*.
9675 (sh-*-rtems*): Add t-fdpbit to tmake_file.
9676 (sh-wrs-vxworks): Likewise.
9677 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9678 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9679 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9680 (sparc64-*-rtems*): ... new case.
9681 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9682 (spu-*-elf*): Likewise.
9683 Add spu/t-elf to tmake_file.
9684 (v850*-*-*): Add t-fdpbit to tmake_file.
9685 (xstormy16-*-elf): Likewise.
9686 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9687 (mep*-*-*): Likewise.
9688
9689 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9690
9691 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9692 variables.
9693 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9694 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9695 (install-unwind_h): New target.
9696 (all): Depend on it.
9697 * config.host (unwind_header): New variable.
9698 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9699 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9700 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9701 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9702 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9703 Set unwind_header.
9704 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9705 Set unwind_header.
9706 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9707 arm*-*-eabi*.
9708 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9709 Set unwind_header.
9710 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9711 (ia64*-*-freebsd*): Likewise.
9712 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9713 tmake_file.
9714 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9715 $with_system_libunwind.
9716 (ia64*-*-hpux*): Set tmake_file.
9717 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9718 (picochip-*-*): Set tmake_file.
9719 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9720 md_unwind_header.
9721 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9722 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9723 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9724 (xtensa*-*-elf*): Set tmake_file.
9725 (xtensa*-*-linux*): Likewise.
9726 * configure.ac: Include ../config/unwind_ipinfo.m4.
9727 Call GCC_CHECK_UNWIND_GETIPINFO.
9728 Link unwind.h to $unwind_header.
9729 * configure: Regenerate.
9730 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9731 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9732 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9733 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9734 * config/unwind-dw2-fde-darwin.c: New file.
9735 * config/arm/libunwind.S, config/arm/pr-support.c,
9736 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9737 config/arm/unwind-arm.h,: New files.
9738 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9739 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9740 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9741 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9742 config/ia64/unwind-ia64.h: New files.
9743 * config/picochip/t-picochip: New file.
9744 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9745 files.
9746 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9747 * config/s390/t-tpf (LIB2ADDEH): Remove.
9748 * config/t-darwin (LIB2ADDEH): Set.
9749 * config/t-eh-dw2-dip: New file.
9750 * config/t-libunwind, config/t-libunwind-elf: New files.
9751 * config/t-sol2 (LIB2ADDEH): Remove.
9752 * config/xtensa/t-xtensa: New file.
9753
9754 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9755
9756 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9757 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9758 long long to check rt_sigreturn syscall.
9759
9760 2011-08-02 Alan Modra <amodra@gmail.com>
9761
9762 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9763 Restore for indirect call bcrtl from correct stack slot, and only
9764 if cfa+40 isn't valid.
9765
9766 2011-08-01 Julian Brown <julian@codesourcery.com>
9767
9768 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9769 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9770 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9771
9772 2011-08-01 Julian Brown <julian@codesourcery.com>
9773
9774 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9775 (libgcc-std.ver.in): Use above.
9776 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9777 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9778 throughout file.
9779 * config/t-fixedpoint-gnu-prefix: New file.
9780 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9781 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9782 instead of __PFX__.
9783
9784 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9785
9786 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9787 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9788 for x86-64. Properly check __x86_64__ and __LP64__.
9789
9790 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9791
9792 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9793 version.
9794 (_FP_WS_TYPE): Likewise.
9795 (_FP_I_TYPE): Likewise.
9796
9797 2011-07-28 Alan Modra <amodra@gmail.com>
9798
9799 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9800 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9801 in a plt call stub. Do restore r2 if stopped on bctrl.
9802
9803 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9804
9805 * config.host (i[3456x]86-*-netware*): Remove.
9806 * config/i386/netware-crt0.c, config/i386/t-nwld,
9807 config/i386/t-slibgcc-nwld: Remove.
9808
9809 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9810
9811 * config.host: Handle tic6x-*-*.
9812 * config/c6x/c6x-abi.h: New file.
9813
9814 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9815
9816 * config/i386/crtprec.c: New file.
9817 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9818 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9819 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9820 (x86_64-*-darwin*): Likewise.
9821 (i[34567]86-*-solaris2*: Likewise.
9822
9823 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9824
9825 * config/alpha/crtfastmath.c: New file.
9826 * config/i386/crtfastmath.c: New file.
9827 * config/ia64/crtfastmath.c: New file.
9828 * config/mips/crtfastmath.c: New file.
9829 * config/sparc/crtfastmath.c: New file.
9830
9831 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9832 crtfastmath.c.
9833 Add -frandom-seed=gcc-crtfastmath.
9834 * config/alpha/t-crtfm: Remove.
9835 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9836 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9837
9838 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9839 (alpha*-dec-osf5.1*): Likewise.
9840 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9841 Add crtfastmath.o to extra_parts.
9842 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9843 Add crtfastmath.o to extra_parts.
9844 (x86_64-*-darwin*): Likewise.
9845 (x86_64-*-mingw*): Likewise.
9846 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9847 (ia64*-*-freebsd*): Likewise.
9848 (ia64*-*-linux*): Likewise.
9849 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9850 Add crtfastmath.o to extra_parts.
9851
9852 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9853
9854 * config/darwin-crt3.o: New file.
9855 * config/rs6000/darwin-crt2.c: New file.
9856 * config/t-darwin: New file.
9857 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9858 (crt2.o): New rule.
9859 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9860 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9861 (powerpc64-*-darwin*): Likewise.
9862
9863 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9864
9865 * config/i386/netware-crt0.c: New file.
9866 * config/i386/t-nwld: Rename to ...
9867 * config/i386/t-slibgcc-nwld: ... this.
9868 * config/i386/t-nwld: New file.
9869 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9870 tmake_file.
9871 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9872 extra_parts.
9873
9874 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9875
9876 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9877 i386/t-crtstuff.
9878 * configure: Regenerate.
9879
9880 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9881
9882 * dfp-bit.c, dfp-bit.h: New files.
9883 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9884 variables.
9885 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9886 ($(d64pbit-o)): Likewise.
9887 ($(d128pbit-o)): Likewise.
9888 * config/t-dfprules: New file.
9889 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9890 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9891 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9892 (x86_64-*-linux*): Likewise.
9893 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9894 (i[34567]86-*-cygwin*): Likewise.
9895 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9896 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9897
9898 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9899
9900 * Makfile.in (LIBGCOV): New variable.
9901 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9902 * libgcov.c: New file.
9903
9904 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9905
9906 * fixed-bit.c, fixed-bit.h: New files.
9907 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9908 refer to fixed-bit.c.
9909
9910 2011-07-07 Joseph Myers <joseph@codesourcery.com>
9911
9912 * config.host (*local*): Remove.
9913
9914 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9915
9916 PR target/39150
9917 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9918 like i?86-*-solaris2.1[0-9]*.
9919 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9920 * configure.ac (i?86-*-solaris2*): Likewise.
9921 * configure: Regenerate.
9922
9923 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
9924
9925 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9926 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9927 md_unwind_header by splitting out of...
9928 (i[34567]86-*-linux*): ... this.
9929 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9930 Remove md_unwind_header by splitting out of...
9931 (x86_64-*-linux*): ... this.
9932
9933 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
9934
9935 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9936
9937 2011-06-28 Nick Clifton <nickc@redhat.com>
9938
9939 * config.host: Recognize all V850 variants.
9940
9941 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
9942
9943 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9944
9945 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9946
9947 * shared-object.mk (c_flags-$o): Save c_flags.
9948 ($(base)$(objext)): Use it.
9949 ($(base)_s$(objext)): Likewise.
9950
9951 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9952
9953 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9954 * libgcc-std.ver.in (GCC_4.7.0): New section.
9955
9956 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
9957
9958 PR target/49313
9959 PR target/29524
9960 * config/avr/t-avr: Fix line endings.
9961 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9962 _parityXX2.
9963
9964 2011-06-14 Olivier Hainque <hainque@adacore.com>
9965 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9966
9967 * config/mips/irix6-unwind.h: New file.
9968 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9969
9970 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9971
9972 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9973 (sparc64_fallback_frame_state): Use it.
9974 (sparc64_frob_update_context): Further adjust context.
9975 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9976 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9977 * config/sparc/sol2-cn.S: Likewise.
9978
9979 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9980
9981 * enable-execute-stack-empty.c: New file.
9982 * enable-execute-stack-mprotect.c: New file.
9983 * config/i386/enable-execute-stack-mingw32.c: New file.
9984 * config.host (enable_execute_stack): New variable.
9985 Select appropriate variants.
9986 * configure.ac: Link enable-execute-stack.c to
9987 $enable_execute_stack.
9988 * configure: Regenerate.
9989 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9990 (lib2funcs): Remove _enable_execute_stack.
9991
9992 2011-06-09 David S. Miller <davem@davemloft.net>
9993 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9994
9995 * config.host (sparc-*-linux*): Correct md_unwind_header
9996 filename.
9997 (s390x-ibm-tpf*): Fix typo.
9998
9999 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10000
10001 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10002 Add crtfastmath.o to extra_parts.
10003 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10004 mips/t-crtfm.
10005 * config/mips/t-crtfm: Remove.
10006
10007 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10008
10009 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10010
10011 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
10012
10013 * config.host (sh*-*-linux*): Fix typo.
10014
10015 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10016
10017 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10018 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10019 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10020 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10021 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10022 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10023 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10024 Wrap in !__MINGW64__.
10025 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10026 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10027 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10028 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10029 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10030 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10031 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10032 Wrap in !__LP64__.
10033 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10034 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10035 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10036 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10037 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10038 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10039 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10040 * config/no-unwind.h: New file.
10041 * config.host (md_unwind_header): Document.
10042 Define.
10043 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10044 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10045 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10046 hppa[12]*-*-hpux11*): Set md_unwind_header.
10047 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10048 Set md_unwind_header.
10049 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10050 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10051 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10052 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10053 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10054 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10055 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10056 md_unwind_header.
10057 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10058 * configure: Regenerate.
10059
10060 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10061
10062 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10063 Set tmake_file, extra_parts.
10064 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10065 Remove O32 support.
10066 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10067 Remove O32 support.
10068 * config/mips/t-irix6: New file.
10069 * config/mips/t-slibgcc-irix: New file.
10070
10071 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10072
10073 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10074 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10075
10076 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10077
10078 * configure.ac (target_thread_file): Determine thread model.
10079 * configure: Regenerate.
10080 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10081 * config/alpha/t-alpha: New file.
10082 * config/alpha/t-crtfm: Use $<.
10083 * config/alpha/t-ieee: New file.
10084 * config/alpha/t-osf-pthread: New file.
10085 * config/alpha/t-slibgcc-osf: New file.
10086 * config/alpha/libgcc-osf5.ver: New file.
10087
10088 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10089
10090 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10091 tmake_file.
10092 Add crtfastmath.o to extra_parts.
10093
10094 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10095
10096 * config/gmon-sol2.c: Reindent.
10097 Cleanup comments.
10098 Remove, correct casts.
10099 Use STDERR_FILENO, NULL.
10100 (BASEADDRESS): Remove.
10101 (minbrk): Remove.
10102 (errno, sbrk): Remove declarations.
10103 (monstartup) [hp300]: Remove.
10104 (mcount): Remove.
10105
10106 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10107
10108 * Makefile.in (cpu_type): Define.
10109 * config.host (i[34567]86-*-rtems*): Handle it.
10110 (i[34567]86-*-solaris2*): Move body ...
10111 (*-*-solaris2*): ... here.
10112 New case, generalize.
10113 (sparc-*-elf*): Handle it.
10114 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10115 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10116 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10117 Fold into ...
10118 (sparc*-*-solaris2*): ... this.
10119 New case.
10120 (sparc64-*-elf*): Handle it.
10121 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10122 Merge ../gcc/config/i386/gmon-sol2.c.
10123 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10124 Use C comments.
10125 Merge ../gcc/config/i386/sol2-gc1.asm.
10126 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10127 Use C comments.
10128 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10129 Use C comments.
10130 * config/i386/t-crtfm (crtfastmath.o): Use $<.
10131 * config/i386/t-crtstuff: New file.
10132 * config/i386/t-softfp: New file.
10133 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10134 $(T)crti.o, $(T)crtn.o): Remove.
10135 (gcrt1.o): New rule.
10136 (TARGET_LIBGCC2_CFLAGS): Remove.
10137 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10138 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10139 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10140 * config/sparc/t-sol2: New file.
10141 * config/sparc/t-crtfm: Move to ...
10142 * config/t-crtfm: ... this.
10143 Use $(cpu_type), $<.
10144 * config/t-crtin: New file.
10145 * config/sparc/t-softfp: New file.
10146 * config/sparc/t-softmul: New file.
10147 * config/t-rtems: New file.
10148 * config/t-slibgcc: New file.
10149 * config/t-slibgcc-elf-ver: New file.
10150 * config/t-slibgcc-gld: New file.
10151 * config/t-slibgcc-sld: New file.
10152 * config/t-sol2: New file.
10153 * configure.ac: Include ../config/lib-ld.m4.
10154 Call AC_LIB_PROG_LD_GNU.
10155 Substitute cpu_type.
10156 * configure: Regenerate.
10157
10158 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
10159
10160 PR bootstrap/49173
10161 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10162 libgcc-std.ver in the build directory.
10163 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10164 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10165
10166 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
10167
10168 * libgcc-std.ver.in: New file.
10169 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10170 variables.
10171 (libgcc-std.ver): New rule.
10172 * config/t-gnu-prefix: New file.
10173
10174 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10175
10176 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10177
10178 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10179
10180 * config/i386/darwin-lib.h: New file.
10181
10182 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10183
10184 * config/arm/symbian-lib.h: New.
10185
10186 2011-05-04 Chris Demetriou <cgd@google.com>
10187
10188 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10189 (__x86.get_pc_thunk.bx): ...this.
10190 (__morestack): Adjust for rename, remove undef of __i686.
10191
10192 2011-05-03 Chris Demetriou <cgd@google.com>
10193
10194 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10195
10196 2011-03-22 Joseph Myers <joseph@codesourcery.com>
10197
10198 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10199 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10200 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10201 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10202 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10203 Remove cases.
10204
10205 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
10206
10207 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10208 Adjust copyright year.
10209
10210 2011-03-07 Ian Lance Taylor <iant@google.com>
10211
10212 * generic-morestack.c (__splitstack_find): Adjust returned stack
10213 pointer to include all registers pushed by __morestack.
10214
10215 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
10216
10217 PR target/40125
10218 * configure.ac: Call ACX_NONCANONICAL_TARGET.
10219 (toolexecdir): Calculate and AC_SUBST.
10220 (toolexeclibdir): Likewise.
10221 * Makefile.in (target_noncanonical): Import.
10222 (toolexecdir): Likewise.
10223 (toolexeclibdir): Likewise.
10224 * configure: Regenerate.
10225
10226 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
10227
10228 PR target/46040
10229 * config/arm/bpabi.h: Rename to...
10230 * config/arm/bpabi-lib.h: ...this.
10231
10232 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10233
10234 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10235 appropriate.
10236 * configure: Regenerate.
10237
10238 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
10239
10240 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10241 __FLOAT_WORD_ORDER__.
10242 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10243 Delete.
10244
10245 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10246
10247 PR other/46202
10248 * Makefile.in (install-strip): New phony target.
10249
10250 2010-11-07 Ian Lance Taylor <iant@google.com>
10251
10252 PR target/46089
10253 * config/i386/morestack.S (__morestack_large_model): New
10254 function.
10255
10256 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
10257
10258 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10259 Delete.
10260 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10261
10262 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
10263
10264 * config/arm/bpabi.h: New file.
10265 * config/frv/frv-abi.h: New file.
10266
10267 2010-10-01 Ian Lance Taylor <iant@google.com>
10268
10269 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10270 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10271
10272 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
10273
10274 PR target/45858
10275 * config.host: Add the missing `$'.
10276
10277 2010-09-30 Michael Eager <eager@eagercon.com>
10278
10279 * config.host: Add microblaze*-*-*.
10280 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10281 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10282 udivsi3.asm,umodsi3.asm}: New.
10283
10284 2010-09-28 Ian Lance Taylor <iant@google.com>
10285
10286 * configure.ac: Adjust CFI test to test assembler directly rather
10287 than checking gcc preprocessor macro.
10288 * configure: Rebuild.
10289
10290 2010-09-27 Ian Lance Taylor <iant@google.com>
10291
10292 * configure.ac: Test whether assembler supports CFI directives.
10293 * config.host: Only add t-stack and i386/t-stack-i386 to
10294 tmake_file if libgcc_cv_cfi is "yes".
10295 * configure: Rebuild.
10296
10297 2010-09-27 Ian Lance Taylor <iant@google.com>
10298
10299 * generic-morestack.h: New file.
10300 * generic-morestack.c: New file.
10301 * generic-morestack-thread.c: New file.
10302 * config/i386/morestack.S: New file.
10303 * config/t-stack: New file.
10304 * config/i386/t-stack-i386: New file.
10305 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10306 i386/t-stack-i386 to tmake_file.
10307
10308 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
10309
10310 * Makefile.in (libgcc-extra-parts): Check for static archives and
10311 invoke ranlib after installing them.
10312 (gcc-extra-parts): Likewise.
10313 (install-leaf): Likewise.
10314
10315 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
10316
10317 * configure: Regenerated.
10318
10319 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
10320
10321 * configure: Regenerated.
10322
10323 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
10324 Andrew Pinski <pinskia@gmail.com>
10325
10326 PR target/40959
10327 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
10328
10329 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
10330
10331 PR target/45524
10332 * configure: Regenerated.
10333
10334 2010-09-06 Andreas Schwab <schwab@redhat.com>
10335
10336 * configure: Regenerate.
10337
10338 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10339
10340 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10341 64bit targets.
10342 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10343 for 64bit targets.
10344
10345 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10346 Iain Sandoe <iains@gcc.gnu.org>
10347
10348 PR target/45476
10349 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10350 LIB2FUNCS_EXCLUDE functions.
10351
10352 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10353
10354 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10355 Include dfp.m4.
10356 * configure: Regenerate.
10357
10358 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
10359
10360 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10361 i386/t-freebsd to tmake_file.
10362 * config/i386/t-freebsd: New file.
10363 * config/i386/libgcc-bsd.ver: New file.
10364
10365 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
10366
10367 * config.host (powerpc*-eabispe*): Set tmake_file.
10368 (powerpc*-eabi*): Likewise.
10369 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10370 crtbeginS, crtendS, crtbeginT.
10371
10372 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
10373
10374 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10375 to tmake_file. Add crtfastmath.o to extra_parts.
10376 * config/mips/t-crtfm: New.
10377
10378 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
10379
10380 * config.host (sparc64-*-rtems*): New target.
10381
10382 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10383
10384 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10385 assembler syntax.
10386
10387 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
10388
10389 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10390
10391 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10392
10393 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10394 alpha-dec-osf5.0* support.
10395
10396 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
10397
10398 * config.host: Add lm32-*-rtems*.
10399
10400 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10401 Uros Bizjak <ubizjak@gmail.com>
10402
10403 PR target/39048
10404 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10405 like other remaining 32-bit x86 OSes.
10406 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10407 assembler syntax.
10408 * config/i386/libgcc-sol2.ver: New file.
10409 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10410
10411 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
10412
10413 PR c/43553
10414 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10415 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10416 is used and substitute set_use_emutls.
10417 * configure: Regenerated.
10418
10419 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
10420
10421 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10422
10423 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10424
10425 PR target/38085
10426 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10427 MULTILIB_CFLAGS.
10428 ($(T)gcrt1.o): Likewise.
10429 ($(T)crt1.o): Likewise.
10430 ($(T)crti.o): Likewise.
10431 ($(T)crtn.o): Likewise.
10432
10433 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10434
10435 PR other/42980
10436 * Makefile.in (install): Use $(MAKE) string in rule, for
10437 parallel make.
10438
10439 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
10440
10441 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10442 * config/mmix/t-mmix: New file.
10443 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10444
10445 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
10446
10447 PR java/41991
10448 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10449 SHLIB_MAPFILES.
10450
10451 2010-01-04 Anthony Green <green@moxielogic.com>
10452
10453 * config/moxie/crti.asm, config/moxie/crtn.asm,
10454 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10455 config/moxie/t-moxie: New files.
10456 * config.host: Add t-moxie-softfp reference.
10457
10458 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
10459
10460 PR other/39888
10461 * config/t-slibgcc-darwin: Fix embedded rpaths for
10462 --enable-version-specific-runtime-libs, build extension stub
10463 libs exposing features available from current libgcc_s.
10464
10465 2009-11-11 Jon Beniston <jon@beniston.com>
10466
10467 * config.host: Add lm32 targets.
10468 * config/lm32: New directory.
10469 * config/lm32/libgcc_lm32.h: New file.
10470 * config/lm32/_mulsi3.c: New file.
10471 * config/lm32/_udivmodsi4.c: New file.
10472 * config/lm32/_divsi3.c: New file.
10473 * config/lm32/_modsi3.c: New file.
10474 * config/lm32/_udivsi3.c: New file.
10475 * config/lm32/_umodsi3.c: New file.
10476 * config/lm32/_lshrsi3.S: New file.
10477 * config/lm32/_ashrsi3.S: New file.
10478 * config/lm32/_ashlsi3.S: New file.
10479 * config/lm32/crti.S: New file.
10480 * config/lm32/crtn.S: New file.
10481 * config/lm32/t-lm32: New file.
10482 * config/lm32/t-elf: New file.
10483 * config/lm32/t-uclinux: New file.
10484
10485 2009-10-26 Nick Clifton <nickc@redhat.com>
10486
10487 * config.host: Add support for RX target.
10488 * config/rx: New directory.
10489 * config/rx/rx-abi-functions.c: New file. Supplementary
10490 functions for libgcc to support the RX ABI.
10491 * config/rx/rx-abi.h: New file. Supplementary header file for
10492 libgcc RX ABI functions.
10493 * config/rx/t-rx: New file: Makefile fragment for building
10494 libgcc for the RX.
10495
10496 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
10497
10498 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10499 constraint of y0 to "g".
10500
10501 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10502
10503 * config.host: Include the s390 makefile fragments.
10504 * config/s390/32/_fixdfdi.c: New file.
10505 * config/s390/32/_fixsfdi.c: New file.
10506 * config/s390/32/_fixtfdi.c: New file.
10507 * config/s390/32/_fixunsdfdi.c: New file.
10508 * config/s390/32/_fixunssfdi.c: New file.
10509 * config/s390/32/_fixunstfdi.c: New file.
10510 * config/s390/32/t-floattodi: New file.
10511 * config/s390/libgcc-glibc.ver: New file.
10512 * config/s390/t-crtstuff: New file.
10513 * config/s390/t-linux: New file.
10514 * config/s390/t-tpf: New file.
10515
10516 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10517
10518 * configure.ac (AC_PREREQ): Bump to 2.64.
10519
10520 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
10521
10522 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10523
10524 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10525
10526 * configure: Regenerate.
10527
10528 2009-08-09 Douglas B Rupp <rupp@gnat.com>
10529
10530 * config.host (ia64-hp-*vms*): New target.
10531 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10532 with ia64-hp-*vms*.
10533
10534 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10535
10536 * configure.ac: Add snippet for maintainer-mode.
10537 * configure: Regenerate.
10538 * Makefile.in (AUTOCONF, configure_deps): New variables.
10539 ($(srcdir)/configure)): New rule, active only with maintainer
10540 mode turned on.
10541
10542 2009-06-23 DJ Delorie <dj@redhat.com>
10543
10544 Add MeP port.
10545 * config.host: Add mep support.
10546
10547 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
10548
10549 * config.host: Add i386/${host_address}/t-fprules-softfp and
10550 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
10551
10552 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10553 for mingw targets.
10554 * config/i386/64/_multc3.c: Likewise.
10555 * config/i386/64/_powitf2.c: Likewise.
10556 * config/i386/64/eqtf2.c: Likewise.
10557 * config/i386/64/getf2.c: Likewise.
10558 * config/i386/64/letf2.c: Likewise.
10559 * config/i386/64/letf2.c: Likewise.
10560 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10561 unsigned long long for x64 mingw targets.
10562 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10563 (_FP_I_TYPE): Define as long long for x64 mingw target.
10564
10565 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
10566
10567 * config.host (vax-*-linux*): New.
10568
10569 2009-05-31 Anthony Green <green@moxielogic.com>
10570
10571 * config.host: Add moxie support.
10572 * config/moxie/t-moxie: New file.
10573
10574 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
10575
10576 * config.host: Add i386/${host_address}/t-fprules-softfp and
10577 t-softfp to tmake_file for i[34567]86-*-cygwin*.
10578
10579 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
10580
10581 * config.host: Add i386/${host_address}/t-fprules-softfp to
10582 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10583
10584 2009-04-09 Nick Clifton <nickc@redhat.com>
10585
10586 * config/ia64/tf-signs.c: Change copyright header to refer to
10587 version 3 of the GNU General Public License with version 3.1
10588 of the GCC Runtime Library Exception and to point readers at
10589 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10590 web page.
10591 * config/i386/32/tf-signs.c: Likewise.
10592 * config/libbid/_addsub_dd.c: Likewise.
10593 * config/libbid/_addsub_sd.c: Likewise.
10594 * config/libbid/_addsub_td.c: Likewise.
10595 * config/libbid/_dd_to_df.c: Likewise.
10596 * config/libbid/_dd_to_di.c: Likewise.
10597 * config/libbid/_dd_to_sd.c: Likewise.
10598 * config/libbid/_dd_to_sf.c: Likewise.
10599 * config/libbid/_dd_to_si.c: Likewise.
10600 * config/libbid/_dd_to_td.c: Likewise.
10601 * config/libbid/_dd_to_tf.c: Likewise.
10602 * config/libbid/_dd_to_udi.c: Likewise.
10603 * config/libbid/_dd_to_usi.c: Likewise.
10604 * config/libbid/_dd_to_xf.c: Likewise.
10605 * config/libbid/_df_to_dd.c: Likewise.
10606 * config/libbid/_df_to_sd.c: Likewise.
10607 * config/libbid/_df_to_td.c: Likewise.
10608 * config/libbid/_di_to_dd.c: Likewise.
10609 * config/libbid/_di_to_sd.c: Likewise.
10610 * config/libbid/_di_to_td.c: Likewise.
10611 * config/libbid/_div_dd.c: Likewise.
10612 * config/libbid/_div_sd.c: Likewise.
10613 * config/libbid/_div_td.c: Likewise.
10614 * config/libbid/_eq_dd.c: Likewise.
10615 * config/libbid/_eq_sd.c: Likewise.
10616 * config/libbid/_eq_td.c: Likewise.
10617 * config/libbid/_ge_dd.c: Likewise.
10618 * config/libbid/_ge_sd.c: Likewise.
10619 * config/libbid/_ge_td.c: Likewise.
10620 * config/libbid/_gt_dd.c: Likewise.
10621 * config/libbid/_gt_sd.c: Likewise.
10622 * config/libbid/_gt_td.c: Likewise.
10623 * config/libbid/_isinfd128.c: Likewise.
10624 * config/libbid/_isinfd32.c: Likewise.
10625 * config/libbid/_isinfd64.c: Likewise.
10626 * config/libbid/_le_dd.c: Likewise.
10627 * config/libbid/_le_sd.c: Likewise.
10628 * config/libbid/_le_td.c: Likewise.
10629 * config/libbid/_lt_dd.c: Likewise.
10630 * config/libbid/_lt_sd.c: Likewise.
10631 * config/libbid/_lt_td.c: Likewise.
10632 * config/libbid/_mul_dd.c: Likewise.
10633 * config/libbid/_mul_sd.c: Likewise.
10634 * config/libbid/_mul_td.c: Likewise.
10635 * config/libbid/_ne_dd.c: Likewise.
10636 * config/libbid/_ne_sd.c: Likewise.
10637 * config/libbid/_ne_td.c: Likewise.
10638 * config/libbid/_sd_to_dd.c: Likewise.
10639 * config/libbid/_sd_to_df.c: Likewise.
10640 * config/libbid/_sd_to_di.c: Likewise.
10641 * config/libbid/_sd_to_sf.c: Likewise.
10642 * config/libbid/_sd_to_si.c: Likewise.
10643 * config/libbid/_sd_to_td.c: Likewise.
10644 * config/libbid/_sd_to_tf.c: Likewise.
10645 * config/libbid/_sd_to_udi.c: Likewise.
10646 * config/libbid/_sd_to_usi.c: Likewise.
10647 * config/libbid/_sd_to_xf.c: Likewise.
10648 * config/libbid/_sf_to_dd.c: Likewise.
10649 * config/libbid/_sf_to_sd.c: Likewise.
10650 * config/libbid/_sf_to_td.c: Likewise.
10651 * config/libbid/_si_to_dd.c: Likewise.
10652 * config/libbid/_si_to_sd.c: Likewise.
10653 * config/libbid/_si_to_td.c: Likewise.
10654 * config/libbid/_td_to_dd.c: Likewise.
10655 * config/libbid/_td_to_df.c: Likewise.
10656 * config/libbid/_td_to_di.c: Likewise.
10657 * config/libbid/_td_to_sd.c: Likewise.
10658 * config/libbid/_td_to_sf.c: Likewise.
10659 * config/libbid/_td_to_si.c: Likewise.
10660 * config/libbid/_td_to_tf.c: Likewise.
10661 * config/libbid/_td_to_udi.c: Likewise.
10662 * config/libbid/_td_to_usi.c: Likewise.
10663 * config/libbid/_td_to_xf.c: Likewise.
10664 * config/libbid/_tf_to_dd.c: Likewise.
10665 * config/libbid/_tf_to_sd.c: Likewise.
10666 * config/libbid/_tf_to_td.c: Likewise.
10667 * config/libbid/_udi_to_dd.c: Likewise.
10668 * config/libbid/_udi_to_sd.c: Likewise.
10669 * config/libbid/_udi_to_td.c: Likewise.
10670 * config/libbid/_unord_dd.c: Likewise.
10671 * config/libbid/_unord_sd.c: Likewise.
10672 * config/libbid/_unord_td.c: Likewise.
10673 * config/libbid/_usi_to_dd.c: Likewise.
10674 * config/libbid/_usi_to_sd.c: Likewise.
10675 * config/libbid/_usi_to_td.c: Likewise.
10676 * config/libbid/_xf_to_dd.c: Likewise.
10677 * config/libbid/_xf_to_sd.c: Likewise.
10678 * config/libbid/_xf_to_td.c: Likewise.
10679 * config/libbid/bid128.c: Likewise.
10680 * config/libbid/bid128_2_str.h: Likewise.
10681 * config/libbid/bid128_2_str_macros.h: Likewise.
10682 * config/libbid/bid128_2_str_tables.c: Likewise.
10683 * config/libbid/bid128_add.c: Likewise.
10684 * config/libbid/bid128_compare.c: Likewise.
10685 * config/libbid/bid128_div.c: Likewise.
10686 * config/libbid/bid128_fma.c: Likewise.
10687 * config/libbid/bid128_logb.c: Likewise.
10688 * config/libbid/bid128_minmax.c: Likewise.
10689 * config/libbid/bid128_mul.c: Likewise.
10690 * config/libbid/bid128_next.c: Likewise.
10691 * config/libbid/bid128_noncomp.c: Likewise.
10692 * config/libbid/bid128_quantize.c: Likewise.
10693 * config/libbid/bid128_rem.c: Likewise.
10694 * config/libbid/bid128_round_integral.c: Likewise.
10695 * config/libbid/bid128_scalb.c: Likewise.
10696 * config/libbid/bid128_sqrt.c: Likewise.
10697 * config/libbid/bid128_string.c: Likewise.
10698 * config/libbid/bid128_to_int16.c: Likewise.
10699 * config/libbid/bid128_to_int32.c: Likewise.
10700 * config/libbid/bid128_to_int64.c: Likewise.
10701 * config/libbid/bid128_to_int8.c: Likewise.
10702 * config/libbid/bid128_to_uint16.c: Likewise.
10703 * config/libbid/bid128_to_uint32.c: Likewise.
10704 * config/libbid/bid128_to_uint64.c: Likewise.
10705 * config/libbid/bid128_to_uint8.c: Likewise.
10706 * config/libbid/bid32_to_bid128.c: Likewise.
10707 * config/libbid/bid32_to_bid64.c: Likewise.
10708 * config/libbid/bid64_add.c: Likewise.
10709 * config/libbid/bid64_compare.c: Likewise.
10710 * config/libbid/bid64_div.c: Likewise.
10711 * config/libbid/bid64_fma.c: Likewise.
10712 * config/libbid/bid64_logb.c: Likewise.
10713 * config/libbid/bid64_minmax.c: Likewise.
10714 * config/libbid/bid64_mul.c: Likewise.
10715 * config/libbid/bid64_next.c: Likewise.
10716 * config/libbid/bid64_noncomp.c: Likewise.
10717 * config/libbid/bid64_quantize.c: Likewise.
10718 * config/libbid/bid64_rem.c: Likewise.
10719 * config/libbid/bid64_round_integral.c: Likewise.
10720 * config/libbid/bid64_scalb.c: Likewise.
10721 * config/libbid/bid64_sqrt.c: Likewise.
10722 * config/libbid/bid64_string.c: Likewise.
10723 * config/libbid/bid64_to_bid128.c: Likewise.
10724 * config/libbid/bid64_to_int16.c: Likewise.
10725 * config/libbid/bid64_to_int32.c: Likewise.
10726 * config/libbid/bid64_to_int64.c: Likewise.
10727 * config/libbid/bid64_to_int8.c: Likewise.
10728 * config/libbid/bid64_to_uint16.c: Likewise.
10729 * config/libbid/bid64_to_uint32.c: Likewise.
10730 * config/libbid/bid64_to_uint64.c: Likewise.
10731 * config/libbid/bid64_to_uint8.c: Likewise.
10732 * config/libbid/bid_b2d.h: Likewise.
10733 * config/libbid/bid_binarydecimal.c: Likewise.
10734 * config/libbid/bid_conf.h: Likewise.
10735 * config/libbid/bid_convert_data.c: Likewise.
10736 * config/libbid/bid_decimal_data.c: Likewise.
10737 * config/libbid/bid_decimal_globals.c: Likewise.
10738 * config/libbid/bid_div_macros.h: Likewise.
10739 * config/libbid/bid_dpd.c: Likewise.
10740 * config/libbid/bid_flag_operations.c: Likewise.
10741 * config/libbid/bid_from_int.c: Likewise.
10742 * config/libbid/bid_functions.h: Likewise.
10743 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10744 * config/libbid/bid_inline_add.h: Likewise.
10745 * config/libbid/bid_internal.h: Likewise.
10746 * config/libbid/bid_round.c: Likewise.
10747 * config/libbid/bid_sqrt_macros.h: Likewise.
10748
10749 2009-04-09 Jakub Jelinek <jakub@redhat.com>
10750
10751 * Makefile.in: Change copyright header to refer to version
10752 3 of the GNU General Public License and to point readers at the
10753 COPYING3 file and the FSF's license web page.
10754 * config.host: Likewise.
10755
10756 2009-04-07 Alan Modra <amodra@bigpond.net.au>
10757
10758 * config.host: Reorder and merge to match config.gcc change.
10759
10760 2009-04-03 Alan Modra <amodra@bigpond.net.au>
10761
10762 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10763
10764 2009-03-28 Joseph Myers <joseph@codesourcery.com>
10765
10766 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10767 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10768 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10769 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10770
10771 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
10772
10773 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10774 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10775
10776 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10777
10778 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10779 ia64/t-softfp-compat to tmake_file.
10780
10781 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10782
10783 * config/ia64/__divxf3.asm: New.
10784 * config/ia64/_fixtfdi.asm: Likewise.
10785 * config/ia64/_fixunstfdi.asm: Likewise.
10786 * config/ia64/_floatditf.asm: Likewise.
10787 * config/ia64/t-fprules-softfp: Likewise.
10788 * config/ia64/t-softfp-compat: Likewise.
10789 * config/ia64/tf-signs.c: Likewise.
10790
10791 2009-01-18 Ben Elliston <bje@au.ibm.com>
10792
10793 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10794
10795 2009-01-16 Ben Elliston <bje@au.ibm.com>
10796
10797 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10798 to tmake_file.
10799
10800 2009-01-13 Ben Elliston <bje@au.ibm.com>
10801
10802 * config/t-softfp: New file.
10803 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10804 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10805
10806 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
10807
10808 * config.host: Add m32r*-*-rtems*.
10809
10810 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
10811
10812 * config.host: Add m32c*-*-rtems*.
10813
10814 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10815
10816 PR bootstrap/33100
10817 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10818 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10819 * configure: Regenerate.
10820 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10821 tmake_file here from gcc/config.gcc.
10822 Move extra_parts here from gcc/config.gcc.
10823 * config/i386/t-sol2: Move here from gcc/config/i386.
10824 Use gcc_srcdir instead of srcdir.
10825
10826 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10827
10828 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10829 case.
10830
10831 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10832
10833 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10834
10835 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10836
10837 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10838
10839 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10840
10841 Add picoChip port.
10842 * config.host: Add picochip-*-*.
10843
10844 2008-08-06 Bob Wilson <bob.wilson@acm.org>
10845
10846 * config.host: Match more processor names for Xtensa.
10847
10848 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10849
10850 * config/i386/64/t-softfp-compat: Update comments.
10851
10852 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10853
10854 * config/i386/64/_divtc3-compat.c: Moved to ...
10855 * config/i386/64/_divtc3.c: Here.
10856
10857 * config/i386/64/_multc3-compat.c: Moved to ...
10858 * config/i386/64/_multc3.c: Here.
10859
10860 * config/i386/64/_powitf2-compat.c: Moved to ...
10861 * config/i386/64/_powitf2.c: Here.
10862
10863 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10864 .c suffix instead of -compat.c.
10865
10866 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
10867
10868 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10869 (_FP_MUL_MEAT_D): Ditto.
10870 (_FP_DIV_MEAT_S): Ditto.
10871 (_FP_DIV_MEAT_D): Ditto.
10872
10873 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10874
10875 * Makefile.in: Add support for __sync_* libgcc functions.
10876
10877 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10878
10879 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10880
10881 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10882
10883 PR boostrap/36702
10884 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10885 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10886
10887 * config/i386/64/t-fprules-softfp: Moved to ...
10888 * config/i386/64/t-softfp-compat: This. New.
10889
10890 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
10891
10892 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10893 Initialize f with 0.0.
10894
10895 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10896
10897 PR target/36669
10898 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10899
10900 * config/i386/64/_divtc3-compat.c: New.
10901 * config/i386/64/_multc3-compat.c: Likewise.
10902 * config/i386/64/_powitf2-compat.c: Likewise.
10903 * config/i386/64/eqtf2.c: Likewise.
10904 * config/i386/64/getf2.c: Likewise.
10905 * config/i386/64/letf2.c: Likewise.
10906 * config/i386/64/t-fprules-softfp: Likewise.
10907
10908 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10909
10910 * config.host: Add i386/${host_address}/t-fprules-softfp to
10911 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
10912 i[34567]86-*-linux*, x86_64-*-linux*.
10913
10914 * configure.ac: Set host_address to 64 or 32 for x86.
10915 * configure: Regenerated.
10916
10917 * Makefile.in (config.status): Also depend on
10918 $(srcdir)/config.host.
10919
10920 * config/i386/32/t-fprules-softfp: New.
10921 * config/i386/32/tf-signs.c: Likewise.
10922
10923 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10924
10925 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10926 Uros Bizjak <ubizjak@gmail.com>
10927
10928 * config/i386/32/sfp-machine.h: New.
10929
10930 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10931
10932 * config/rs6000/t-ppccomm: Remove rules that conflict with
10933 auto-generated rules.
10934
10935 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10936
10937 * configure.ac: sinclude override.m4.
10938 * configure: Regenerate.
10939
10940 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10941
10942 * configure: Regenerate.
10943
10944 2008-06-10 Joseph Myers <joseph@codesourcery.com>
10945
10946 * Makefile.in (DECNUMINC): Remove
10947 -I$(MULTIBUILDTOP)../../libdecnumber.
10948 * gstdint.h: New.
10949
10950 2008-06-07 Joseph Myers <joseph@codesourcery.com>
10951
10952 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10953 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10954 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10955 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10956 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10957 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10958 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10959 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10960 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10961 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10962 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10963 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10964 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10965 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10966
10967 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10968
10969 * config.host (sh2[lbe]*-*-linux*): Allow target.
10970
10971 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10972
10973 * config/rs6000/t-ppccomm: Add build rules for new files.
10974 (LIB2ADD_ST): New variable.
10975
10976 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10977
10978 PR target/34210
10979 PR target/35508
10980 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10981 * config/t-avr: New file. Build 16bit libgcc functions.
10982
10983 2008-03-02 Jakub Jelinek <jakub@redhat.com>
10984
10985 PR target/35401
10986 * config/t-slibgcc-darwin: Make install-leaf dependent on
10987 install-darwin-libgcc-stubs instead of install.
10988
10989 2008-01-25 Joseph Myers <joseph@codesourcery.com>
10990
10991 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10992 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10993 sh-*-rtemscoff*): Remove cases.
10994
10995 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10996
10997 * Makefile.in (all): Use install-leaf rather than install.
10998 (install): Split most of the rule into...
10999 (install-leaf): ...this new one.
11000
11001 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
11002 Paolo Bonzini <bonzini@gnu.org>
11003
11004 PR target/30572
11005 * Makefile.in: Use @shlib_slibdir@ substitution to get
11006 correct install name on darwin.
11007 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
11008
11009 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
11010
11011 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11012 cris-*-elf and cris-*-none.
11013 (crisv32-*-linux*): Similar, as cris-*-linux*.
11014
11015 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
11016
11017 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11018
11019 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
11020
11021 PR regression/33926
11022 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11023 * configure: Regenerated.
11024
11025 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11026
11027 * Makefile.in (dfp-filenames): Replace decimal_globals,
11028 decimal_data, binarydecimal and convert_data with
11029 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11030 and bid_convert_data, respectively.
11031
11032 2007-09-17 Chao-ying Fu <fu@mips.com>
11033 Nigel Stephens <nigel@mips.com>
11034
11035 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11036 * Makefile.in (fixed_point): Define.
11037 Check if fixed_point is yes to build support functions.
11038 * configure.ac: Check for fixed_point support.
11039 * configure: Regenerated.
11040 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11041 funcs, modes, from, to.
11042
11043 2007-09-11 Janis Johnson <janis187@us.ibm.com
11044
11045 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11046
11047 2007-09-10 Janis Johnson <janis187@us.ibm.com>
11048
11049 * Makefile.in (dfp-filenames): Remove decUtility, add
11050 decDouble, decPacked, decQuad, decSingle.
11051
11052 2007-08-27 Hans Kester <hans.kester@ellips.nl>
11053
11054 * config.host : Add x86_64-elf target.
11055
11056 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11057
11058 * configure.ac (set_have_cc_tls): Add a missing =.
11059 * configure: Regenerated.
11060
11061 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11062
11063 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11064 and x86_64-*-linux*.
11065
11066 * config/t-tls: New file.
11067
11068 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
11069
11070 * configure.ac: Include ../config/enable.m4 and
11071 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
11072 supports TLS and substitute set_have_cc_tls.
11073 * configure: Regenerated.
11074
11075 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
11076
11077 * Makefile.in: Use libbid for DFP when BID is enabled.
11078
11079 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
11080
11081 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
11082 extra_parts. Add config/i386/t-cygming to tmake_file.
11083 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11084
11085 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
11086 Danny Smith <dannysmith@users.sourceforge.net>
11087
11088 PR target/29498
11089 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11090 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
11091 * config/i386/t-crtfm: Compile crtfastmath.o with
11092 -minline-all-stringops.
11093
11094 2007-05-10 Richard Sandiford <richard@codesourcery.com>
11095
11096 * config.host (sparc-wrs-vxworks): New target.
11097
11098 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
11099
11100 * config.host: Recognize fido.
11101
11102 2007-04-04 Janis Johnson <janis187@us.ibm.com>
11103
11104 * configure: Check host, not target, for decimal float support.
11105
11106 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
11107
11108 * config/i386/t-crtpc: New file.
11109 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
11110 (x86_64-*-linux*): Ditto.
11111
11112 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
11113
11114 * config.host (x86_64-*-mingw*): New target.
11115
11116 2007-03-23 Michael Meissner <michael.meissner@amd.com>
11117 H.J. Lu <hongjiu.lu@intel.com>
11118
11119 * Makefile.in (enable_decimal_float): New.
11120 (DECNUMINC): Add
11121 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11122 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11123 (decbits-filenames): This.
11124 (decbits-objects): New.
11125 (libgcc-objects): Add $(decbits-objects).
11126
11127 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11128 Substitute enable_decimal_float.
11129 * configure: Regenerated.
11130
11131 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
11132
11133 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11134
11135 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
11136
11137 * Makefile.in (install-info): New dummy target.
11138
11139 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
11140
11141 * config.host (bfin*-linux-uclibc*): Set extra_parts.
11142
11143 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
11144
11145 * Makefile.in: Add install-html and install-pdf dummy
11146 targets.
11147
11148 2007-02-05 Roger Sayle <roger@eyesopen.com>
11149 Daniel Jacobowitz <dan@codesourcery.com>
11150
11151 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11152 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11153 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11154
11155 2007-01-29 Janis Johnson <janis187@us.ibm.com>
11156
11157 * Makefile.in (dec-filenames): Add decExcept.
11158
11159 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11160
11161 PR bootstrap/30469
11162 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11163 -fprofile-use.
11164
11165 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
11166
11167 * configure.ac: Add --enable-version-specific-runtime-libs.
11168 Correct $slibdir default.
11169 * configure: Regenerated.
11170
11171 2007-01-23 Joseph Myers <joseph@codesourcery.com>
11172
11173 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11174
11175 2007-01-21 Andrew Pinski <pinskia@gmail.com>
11176
11177 PR target/30519
11178 * config.host (alpha*-*-linux*): Set extra_parts.
11179
11180 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
11181
11182 * config/sh/t-linux: New.
11183 * config.host (sh*-*-linux*): Set tmake_file.
11184
11185 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
11186
11187 * Makefile.in (install): Handle multilibs.
11188
11189 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11190
11191 * Makefile.in: Added .PHONY entry for documentation targets.
11192
11193 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11194
11195 * Makefile.in: Add empty info, html, dvi, pdf targets.
11196
11197 2007-01-04 Mike Stump <mrs@apple.com>
11198
11199 * Makefile.in (MAKEINFO): Remove.
11200 (PERL): Likewise.
11201
11202 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
11203
11204 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11205 * configure: Regenerate.
11206 * Makefile.in (host_subdir): Substitute it.
11207 (gcc_objdir): Use it.
11208
11209 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11210
11211 * config.host (ia64*-*-linux*): Set tmake_file.
11212
11213 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11214
11215 * Makefile.in (version): Define.
11216
11217 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11218 Paolo Bonzini <bonzini@gnu.org>
11219
11220 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11221 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11222 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11223 config/sparc/t-crtfm, config/t-slibgcc-darwin,
11224 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11225 shared-object.mk, siditi-object.mk, static-object.mk: New files.
11226 * configure: Generated.
11227 \f
11228 Copyright (C) 2007-2020 Free Software Foundation, Inc.
11229
11230 Copying and distribution of this file, with or without modification,
11231 are permitted in any medium without royalty provided the copyright
11232 notice and this notice are preserved.