]> gcc.gnu.org Git - gcc.git/blob - libgcc/ChangeLog
Daily bump.
[gcc.git] / libgcc / ChangeLog
1 2020-11-17 Alan Modra <amodra@gmail.com>
2
3 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
4 (LIB2_SIDITI_CONV_FUNCS): Define.
5 * config/rs6000/ppc64-fp.c: Delete file.
6
7 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
8
9 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
10 hwmult library functions.
11
12 2020-11-10 Jeff Law <law@redhat.com>
13
14 * libgcc2.c: Fix whitespace issues in most recent change.
15
16 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
17
18 * libgcc2.c (__addvSI3): Use overflow builtins.
19 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
20 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
21 (__negvsi2, __negvDI2): Likewise.
22 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
23 generated code.
24 * libgcc2.h (__ucmpdi2): Adjust prototype.
25
26 2020-11-03 Pat Bernardi <bernardi@adacore.com>
27 Olivier Hainque <hainque@adacore.com>
28
29 * config.host (aarch64-vxworks7*, tmake_file): Add
30 ${cpu_type}/t-lse and t-slibgcc-libgcc.
31
32 2020-11-03 Martin Storsjö <martin@martin.st>
33
34 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
35 before calling the callback.
36
37 2020-10-30 Olivier Hainque <hainque@adacore.com>
38 Douglas Rupp <rupp@adacore.com>
39 Pat Bernardi <bernardi@adacore.com>
40
41 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
42 to apply to VxWorks 7 as well.
43
44 2020-10-29 Olivier Hainque <hainque@adacore.com>
45
46 * config/gthr-vxworks-tls.c: Fix preprocessor logic
47 controlling the definition of VX_ENTER_TLS_DTOR and
48 VX_LEAVE_TLS_DTOR based on a version major check.
49
50 2020-10-29 Olivier Hainque <hainque@adacore.com>
51
52 * config/gthr-vxworks-thread.c: Fix name of macro used
53 to condition the inclusion of an actual implementation.
54
55 2020-10-27 Martin Liska <mliska@suse.cz>
56
57 PR gcov-profile/97461
58 * libgcov.h (gcov_counter_add): Use first static counters
59 as it should help to have malloc wrappers set up.
60
61 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
62
63 * config/gthr-vxworks-thread.c: #include gthr.h before
64 testing the guard defined there.
65 * config/gthr-vxworks-cond.c: Likewise.
66
67 2020-10-21 Douglas Rupp <rupp@adacore.com>
68 Olivier Hainque <hainque@adacore.com>
69
70 * config.host (powerpc*-wrs-vxworks7*): New case.
71 * configure.ac: Handle powerpc*-*-vxworks7* as
72 powerpc*-*-linux* for ppc-fp_type.
73 * configure: Regenerate.
74
75 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
76
77 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
78 section on VxWorks >= 6.
79 * config/gthr-vxworks-thread.c: Condition the entire
80 implementation on __GTHREAD_CXX0X.
81
82 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
83
84 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
85 section on VxWorks >= 6.
86 * config/gthr-vxworks-cond.c: Condition the entire
87 implementation on __GTHREAD_HAS_COND.
88
89 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
90
91 * config/gthr-vxworks.c: #include <taskLib.h>.
92
93 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
94
95 * config/gthr-vxworks.h: Rewrite remaining occurrence
96 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
97
98 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
99 Olivier Hainque <hainque@adacore.com>
100
101 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
102 except on VxWorks 6.
103
104 2020-10-16 Olivier Hainque <hainque@adacore.com>
105
106 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
107
108 2020-10-14 Alexandre Oliva <oliva@adacore.com>
109
110 * config/gthr-vxworks-thread.c: Include stdlib.h.
111 (tls_delete_hook): Prototype it.
112 (__gthread_cond_signal): Return early if no waiters. Consume
113 signal in case the semaphore got full. Use semInfoGet instead
114 of kernel-mode-only semInfo.
115 (__gthread_cond_timedwait): Use semExchange. Always take the
116 mutex again before returning.
117 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
118
119 2020-10-14 Olivier Hainque <hainque@adacore.com>
120
121 * config/t-vxworks (LIBGCC2_INCLUDES): Append
122 $(MULTISUBDIR) to the -I path for fixed headers, as we
123 arrange to have different sets of such headers for different
124 multilibs when they are activated.
125 * config/t-vxworks7: Likewise.
126
127 2020-10-14 Olivier Hainque <hainque@adacore.com>
128
129 * config/t-vxworks: Add include-fixed to include search
130 paths for libgcc on VxWorks.
131 * config/t-vxworks7: Likewise.
132
133 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
134
135 PR target/97148
136 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
137 instead of <cetintrin.h>.
138
139 2020-10-01 Alan Modra <amodra@gmail.com>
140
141 * config/rs6000/morestack.S,
142 * config/rs6000/tramp.S: Support __PCREL__ code.
143
144 2020-10-01 Alan Modra <amodra@gmail.com>
145
146 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
147
148 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
149
150 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
151 variable.
152
153 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
154
155 * config/aarch64/libgcc-softfp.ver: New file.
156 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
157
158 2020-09-27 Clement Chigot <clement.chigot@atos.net>
159
160 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
161
162 2020-09-22 Sergei Trofimovich <siarheit@google.com>
163
164 PR gcov-profile/96913
165 * libgcov-driver.c (write_one_data): Avoid function pointer
166 comparison in TOP streaming decision.
167
168 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
169 Christophe Lyon <christophe.lyon@linaro.org>
170
171 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
172 qualifier.
173 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
174 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
175 missing prototypes.
176
177 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
178
179 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
180 unused variable warning.
181
182 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
183
184 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
185
186 2020-09-09 Tom de Vries <tdevries@suse.de>
187
188 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
189 Wbuiltin-declaration-mismatch.
190
191 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
192
193 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
194 * config/msp430/srai.S (__gnu_mspabi_srap): New.
195 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
196
197 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
198
199 * config/nvptx/atomic.c: New.
200 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
201
202 2020-08-03 Ian Lance Taylor <iant@golang.org>
203
204 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
205
206 2020-08-03 Jakub Jelinek <jakub@redhat.com>
207
208 PR target/96402
209 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
210 of x(tmp0), x(tmp1) in STXP arguments.
211
212 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
213
214 * config/riscv/save-restore.S [__riscv_xlen == 64]
215 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
216 (__riscv_save_2): Replace negative immediates used for the final
217 stack pointer adjustment with positive ones, right-shifted by 4.
218
219 2020-07-31 Martin Liska <mliska@suse.cz>
220
221 * libgcov-driver.c: Add __gcov_kvp_pool
222 and __gcov_kvp_pool_index variables.
223 * libgcov.h (allocate_gcov_kvp): New.
224 (gcov_topn_add_value): Use it.
225
226 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
227
228 * config/aarch64/lse.S: Add PAC property note.
229
230 2020-07-23 Martin Liska <mliska@suse.cz>
231
232 PR gcov-profile/96035
233 * libgcov-driver-system.c: Create gcov folders with 0777
234 so that it respects a system umask.
235
236 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
237
238 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
239
240 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
241
242 PR target/94891
243 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
244 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
245 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
246 (MD_DEMANGLE_RETURN_ADDR): This.
247 (aarch64_post_extract_frame_addr): Rename to ...
248 (aarch64_demangle_return_addr): This.
249 (aarch64_post_frob_eh_handler_addr): Remove.
250 * unwind-dw2.c (uw_update_context): Demangle return address.
251 (uw_frob_return_addr): Remove.
252
253 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
254
255 PR target/96001
256 * config/aarch64/lse.S: Add BTI marking and related definitions,
257 and add BTI c to function entries.
258
259 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
260
261 * config/aarch64/lse.S: Add stack note.
262
263 2020-07-02 Martin Liska <mliska@suse.cz>
264
265 PR gcov-profile/95348
266 * libgcov-driver.c (merge_one_data): Merge only profiles
267 that are not of non-zero type.
268 (write_one_data): Write counters only if there's one non-zero
269 value.
270 * libgcov-util.c (tag_function): Change signature from unsigned
271 to int.
272 (tag_blocks): Likewise.
273 (tag_arcs): Likewise.
274 (tag_counters): Likewise.
275 (tag_summary): Likewise.
276 (tag_lines): Read only if COUNTERS is non-zero.
277 (read_gcda_file): Handle negative length for COUNTERS type.
278
279 2020-06-25 Martin Liska <mliska@suse.cz>
280
281 * libgcov-driver.c (merge_summary): Remove function as its name
282 is misleading and doing something different.
283 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
284 in gcov-tool.
285 * libgcov-util.c (curr_object_summary): Remove.
286 (read_gcda_file): Remove unused curr_object_summary.
287 (gcov_merge): Merge summaries.
288 * libgcov.h: Add summary argument for gcov_info struct.
289
290 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
291
292 PR target/95259
293 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
294 "common/config/i386/i386-cpuinfo.h" and
295 "common/config/i386/cpuinfo.h".
296 (__cpu_features2): Changed to array.
297 (get_amd_cpu): Removed.
298 (get_intel_cpu): Likewise.
299 (get_available_features): Likewise.
300 (__cpu_indicator_init): Call cpu_indicator_init.
301 * config/i386/cpuinfo.h: Removed.
302
303 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
304
305 * Makefile.in: Remove uses of empty.mk. Use -include.
306 * config/avr/t-avr: Use -include.
307 * empty.mk: Delete.
308
309 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
310
311 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
312 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
313 and 64 bit with -maix64.
314 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
315 Build and install AIX-style FAT libraries.
316
317 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
318
319 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
320 'i386/gnu-unwind.h'
321 * config/i386/gnu-unwind.h: New file.
322
323 2020-06-17 Martin Liska <mliska@suse.cz>
324
325 * libgcov-util.c (read_gcda_finalize): Remove const operator.
326 (merge_wrapper): Add both counts and use them properly.
327 (topn_to_memory_representation): New function.
328 (gcov_merge): Covert on disk representation to in memory
329 representation.
330 * libgcov.h: Remove const operator.
331
332 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
333
334 * configure: Regenerate.
335 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
336 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
337
338 2020-06-09 Martin Liska <mliska@suse.cz>
339
340 PR gcov-profile/95494
341 * libgcov-driver.c (write_top_counters): Cast first to
342 intptr_t as sizeof(*) != sizeof(gcov_type).
343 * libgcov.h (gcov_counter_set_if_null): Remove.
344 (gcov_topn_add_value): Cast first to intptr_t and update
345 linked list directly.
346
347 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
348
349 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
350 with uw_install_context_1.
351
352 2020-06-04 Andreas Schwab <schwab@suse.de>
353
354 PR target/59230
355 PR libfortran/59227
356 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
357 soft-fp/divtf3.c.
358 (LIB2ADD): Add config/ia64/divtf3.c.
359 * config/ia64/divtf3.c: New file.
360
361 2020-06-03 Martin Liska <mliska@suse.cz>
362
363 PR gcov-profile/95480
364 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
365 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
366 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
367 (gcov_counter_set_if_null): Likewise.
368
369 2020-06-02 Jim Wilson <jimw@sifive.com>
370
371 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
372 to bgtz.
373
374 2020-06-02 Martin Liska <mliska@suse.cz>
375
376 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
377 of xmalloc.
378
379 2020-06-02 Martin Liska <mliska@suse.cz>
380
381 * libgcov-driver.c (prune_topn_counter): Remove.
382 (prune_counters): Likewise.
383 (merge_one_data): Special case TOP N counters
384 as they have variable length.
385 (write_top_counters): New.
386 (write_one_data): Special case TOP N.
387 (dump_one_gcov): Do not prune TOP N counters.
388 * libgcov-merge.c (merge_topn_values_set): Remove.
389 (__gcov_merge_topn): Use gcov_topn_add_value.
390 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
391 Likewise here.
392 * libgcov.h (gcov_counter_add): New.
393 (gcov_counter_set_if_null): Likewise.
394 (gcov_topn_add_value): New.
395
396 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
397
398 * config/i386/sfp-exceptions.c (struct fenv):
399 Add __attribute__ ((gcc_struct)).
400
401 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
402
403 PR bootstrap/95413
404 * configure: Regenerated.
405
406 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
407
408 PR gcov-profile/95332
409 * libgcov-util.c (read_gcda_file): Call gcov_magic.
410 * libgcov.h (gcov_magic): Disable GCC poison.
411
412 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
413
414 PR target/95212
415 * config/i386/cpuinfo.h (processor_features): Move
416 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
417
418 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
419
420 PR target/91695
421 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
422 check.
423
424 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
425
426 PR target/95212
427 PR target/95220
428 * config/i386/cpuinfo.c (get_available_features): Fix
429 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
430 * config/i386/cpuinfo.h (processor_features): Add
431 FEATURE_AVX512VP2INTERSECT.
432
433 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
434
435 PR bootstrap/95147
436 * configure: Regenerated.
437
438 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
439
440 * configure: Regenerated.
441
442 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
443
444 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
445 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
446
447 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
448
449 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
450 (__math_force_eval_div): New define.
451 (__sfp_handle_exceptions): Use __math_force_eval_div to use
452 generic division to generate INVALID, DIVZERO and INEXACT
453 exceptions.
454
455 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
456
457 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
458 instead of getauxval.
459 (AT_HWCAP): Define.
460 (HWCAP_ATOMICS): Define.
461 Guard detection on __gnu_linux__.
462
463 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
464
465 * config.host: Delete changes meant for a private branch.
466 * config/rs6000/t-float128: Likewise.
467 * configure.ac: Likewise.
468 * configure: Likewise.
469
470 2020-05-05 Martin Liska <mliska@suse.cz>
471
472 PR gcov-profile/93623
473 * Makefile.in: Remove __gcov_flush.
474 * gcov.h (__gcov_flush): Remove.
475 * libgcov-interface.c (__gcov_flush): Remove.
476 (init_mx): Use renamed mutex.
477 (__gcov_lock): Likewise.
478 (__gcov_unlock): Likewise.
479 (__gcov_fork): Likewise.
480 (__gcov_flush): Remove.
481
482 2020-05-05 Martin Liska <mliska@suse.cz>
483
484 PR gcov-profile/93623
485 * libgcov-interface.c (__gcov_fork): Do not flush
486 and reset only in child process.
487 (__gcov_execl): Dump counters only and reset them
488 only if exec* fails.
489 (__gcov_execlp): Likewise.
490 (__gcov_execle): Likewise.
491 (__gcov_execv): Likewise.
492 (__gcov_execvp): Likewise.
493 (__gcov_execve): Likewise.
494
495 2020-05-05 Martin Liska <mliska@suse.cz>
496
497 PR gcov-profile/93623
498 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
499 * libgcov-interface.c (ALIAS_void_fn): Remove.
500 (__gcov_lock): New.
501 (__gcov_unlock): New.
502 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
503 (__gcov_reset): Likewise.
504 (__gcov_dump): Likewise.
505 * libgcov.h (__gcov_lock): New declaration.
506 (__gcov_unlock): Likewise.
507
508 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
509
510 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
511 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
512 generic division to generate INVALID and DIVZERO exceptions.
513
514 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
515
516 * config/rs6000/crtresfpr.S: Use .machine ppc.
517 * config/rs6000/crtresxfpr.S: Likewise.
518 * config/rs6000/crtsavfpr.S: Likewise.
519
520 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
521
522 PR target/94514
523 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
524 Update context->flags accroding to the frame state.
525
526 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
527
528 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
529 Remove unneeded assignments to volatile memory.
530
531 2020-04-15 Jakub Jelinek <jakub@redhat.com>
532
533 PR target/93053
534 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
535 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
536 is not defined, use just .arch armv8-a.
537 (B, M, N, OPN): Define.
538 (COMMENT): New .macro.
539 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
540 defined. Otherwise, move the operands right after the glue? and
541 comment out operands where the macros are used.
542 * configure: Regenerated.
543 * config.in: Regenerated.
544
545 2020-04-07 Ian Lance Taylor <iant@golang.org>
546
547 PR libgcc/94513
548 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
549 syscall instead.
550
551 2020-04-04 Ian Lance Taylor <iant@golang.org>
552
553 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
554
555 2020-04-03 Ian Lance Taylor <iant@golang.org>
556
557 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
558 than mmap/munmap, to avoid hooks.
559
560 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
561
562 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
563 (TPFRA_OFFSET): Macros removed.
564 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
565 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
566 (PG3_SKIPPING_OFFSET): New macros.
567 (__isPATrange): Use cinfc_fast for the check.
568 (__isSkipResetAddr): New function.
569 (s390_fallback_frame_state): Check for skip trace addresses. Use
570 either ICST_CRET or ICST_SRET to calculate return address
571 location.
572 (__tpf_eh_return): Handle skip trace addresses.
573
574 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
575
576 PR target/94220
577 * config/arm/lib1funcs.asm (COND): Use a single definition for
578 unified syntax.
579 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
580 (aeabi_idivmod): Likewise.
581 (divsi3_skip_div0_test): Likewise.
582
583 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
584
585 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
586
587 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
588
589 * config.host: Include the new makefile fragment.
590 * config/s390/t-tpf: New file.
591
592 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
593
594 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
595 syntax.
596 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
597 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
598 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
599 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
600 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
601 syntax.
602 (divsi3, modsi3): Likewise.
603 (clzdi2, ctzsi2): Likewise.
604 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
605 unified syntax.
606 (UNWIND_WRAPPER): Likewise.
607
608 2020-03-02 Martin Liska <mliska@suse.cz>
609
610 * libgcov-interface.c: Remove duplicate
611 declaration of __gcov_flush_mx.
612
613 2020-02-18 Martin Liska <mliska@suse.cz>
614
615 PR ipa/92924
616 * libgcov-merge.c (merge_topn_values_set): Record
617 when a TOP N counter becomes invalid. When merging
618 remove a smallest value if the space is needed.
619
620 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
621
622 PR libstdc++/79193
623 PR libstdc++/88999
624
625 * configure: Regenerated.
626
627 2020-02-10 Jeff Law <law@redhat.com>
628
629 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
630 sections.
631 * config/frv/frvend.c: Similarly.
632
633 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
634
635 PR libgcc/85334
636 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
637 New.
638
639 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
640
641 PR target/93615
642 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
643 _Unwind_gnu_Find_got.
644 * unwind-pe.h: Likewise.
645
646 2020-02-07 Jakub Jelinek <jakub@redhat.com>
647
648 PR target/93615
649 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
650 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
651 trailing :s in asm. Formatting fixes.
652 (_Unwind_decode_typeinfo_ptr): Adjust caller.
653
654 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
655
656 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
657
658 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
659 * config/nios2-elf-lib.h: New.
660 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
661 code for finding GOT base for nios2.
662
663 2020-01-27 Martin Liska <mliska@suse.cz>
664
665 PR gcov-profile/93403
666 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
667 Call __gcov_indirect_call_profiler_body.
668 (__gcov_indirect_call_profiler_body): New.
669 (__gcov_indirect_call_profiler_v4_atomic): New.
670 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
671 New declaration.
672
673 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
674
675 * config/arc/crti.S: Add RF16 object attribute.
676 * config/arc/crtn.S: Likewise.
677 * config/arc/crttls.S: Likewise.
678 * config/arc/lib1funcs.S: Likewise.
679 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
680 * config/arc/lib2funcs.c: New file.
681 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
682
683 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
684
685 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
686 * configure.ac: Handle `--with-toolexeclibdir='.
687 * configure: Regenerate.
688
689 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
690
691 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
692
693 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
694
695 * config/mips/gnustack.h: New file.
696 * config/mips/crti.S: Include gnustack.h.
697 * config/mips/crtn.S: Likewise.
698 * config/mips/mips16.S: Likewise.
699 * config/mips/vr4120-div.S: Likewise.
700
701 2020-01-23 Martin Liska <mliska@suse.cz>
702
703 * libgcov-driver.c (prune_topn_counter): Remove
704 check for -1 as we only prune run-time counters
705 that do not generate an invalid state.
706
707 2020-01-22 Martin Liska <mliska@suse.cz>
708
709 PR tree-optimization/92924
710 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
711 try to find an existing value, then find an empty slot
712 if not found.
713
714 2020-01-22 Martin Liska <mliska@suse.cz>
715
716 PR tree-optimization/92924
717 * libgcov-driver.c (prune_topn_counter): New.
718 (prune_counters): Likewise.
719 (dump_one_gcov): Prune a run-time counter.
720 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
721 For a known value, add GCOV_TOPN_VALUES to value.
722 Otherwise, decrement all counters by one.
723
724 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
725
726 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
727
728 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
729
730 PR libgcc/92988
731 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
732 DEFAULT_USE_CXA_ATEXIT is true.
733
734 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
735 Thomas Preud'homme <thomas.preudhomme@arm.com>
736
737 * config/arm/t-arm: Check return value of gcc rather than lack of
738 output.
739
740 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
741
742 * config/avr/lib1funcs.S (skip): Simplify.
743
744 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
745
746 * config/gcn/atomic.c: Remove include of stdint.h.
747 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
748 __UINTPTR_TYPE__.
749
750 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
751
752 * config/gcn/atomic.c: New.
753 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
754
755 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
756
757 Implement 64-bit double functions.
758
759 PR target/92055
760 * config.host (tmake_file) [target=avr]: Add t-libf7,
761 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
762 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
763 depending on sizeof (double) or sizeof (long double).
764 * config/avr/libf7: New folder.
765
766 2020-01-05 Olivier Hainque <hainque@adacore.com>
767
768 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
769 by IN_LIBGCC2.
770
771 2020-01-01 Jakub Jelinek <jakub@redhat.com>
772
773 Update copyright years.
774
775 2019-12-30 Olivier Hainque <hainque@adacore.com>
776
777 * config/gthr-vxworks.h: Use _vxworks-versions.h.
778 * config/gthr-vxworks-tls.c: Likewise.
779
780 2019-12-30 Olivier Hainque <hainque@adacore.com>
781
782 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
783 standard zero-initializer syntax.
784
785 2019-12-30 Olivier Hainque <hainque@adacore.com>
786
787 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
788 reference to the internal VX_GET_TLS_DATA interface.
789
790 2019-12-30 Olivier Hainque <hainque@adacore.com>
791
792 * config/vxcrtstuff.c: Fix incorrect spelling of
793 USE_INITFINI_ARRAY in guard.
794
795 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
796
797 * config.host: s/msp430*-*-elf/msp430-*-elf*.
798 Override default "extra_parts" variable.
799 * configure: Regenerate.
800 * configure.ac: Disable TM clone registry by default for
801 msp430-elfbare.
802
803 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
804
805 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
806 "extra_parts".
807 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
808
809 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
810
811 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
812 true.
813
814 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
815
816 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
817 defined instead of its value.
818
819 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
820
821 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
822 if it will have contents.
823
824 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
825
826 PR target/92055
827 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
828
829 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
830
831 PR libgcc/91737
832 * config.host: Add t-gthr-noweak on *-*-musl*.
833 * config/t-gthr-noweak: New file.
834
835 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
836
837 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
838 volatile void *. Remove trap check.
839 (__kernel_cmpxchg2): Likewise.
840 (FETCH_AND_OP_2): Adjust operand types.
841 (OP_AND_FETCH_2): Likewise.
842 (FETCH_AND_OP_WORD): Likewise.
843 (OP_AND_FETCH_WORD): Likewise.
844 (COMPARE_AND_SWAP_2): Likewise.
845 (__sync_val_compare_and_swap_4): Likewise.
846 (__sync_bool_compare_and_swap_4): Likewise.
847 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
848 (__sync_lock_test_and_set_4): Likewise.
849 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
850 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
851 for release.
852 (__sync_lock_release_8): Remove.
853
854 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
855
856 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
857 of __sigset_t.
858
859 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
860 Doug Rupp <rupp@adacore.com>
861 Olivier Hainque <hainque@adacore.com>
862
863 * config.host: Collapse the arm-vxworks entries into
864 a single arm-wrs-vxworks7* one.
865 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
866 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
867 kernel modules, to be overriden by libstdc++ when we link with
868 it. Rely on externally provided __exidx_start/end.
869
870 2019-11-14 Doug Rupp <rupp@adacore.com>
871 Olivier Hainque <hainque@adacore.com>
872
873 * config.host: Handle aarch64*-wrs-vxworks7*.
874
875 2019-11-12 Olivier Hainque <hainque@adacore.com>
876
877 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
878 sources except the cxx0x support to LIB2ADDEH. We don't support
879 cxx0x on AE/653.
880 * config/t-vxworksae: New file.
881 * config.host: Handle *-*-vxworksae: Add the two aforementioned
882 Makefile fragment files at their expected position in the tmake_file
883 list, in accordance with what is done for other VxWorks variants.
884
885 2019-11-12 Corentin Gay <gay@adacore.com>
886 Jerome Lambourg <lambourg@adacore.com>
887 Olivier Hainque <hainque@adacore.com>
888
889 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
890 sources to LIB2ADDEH.
891 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
892 * config/t-vxworks7: Likewise.
893
894 * config.host: Append a block at the end of the file to add the
895 t-gthr files to the tmake_file list for VxWorks after everything
896 else.
897
898 * config/vxlib.c: Rename as gthr-vxworks.c.
899 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
900
901 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
902 API and a basic error checking API, both internal. Simplify the
903 __gthread_once_t type definition and initializers. Add sections
904 for condition variables support and for the C++0x thread support,
905 conditioned against Vx653 for the latter.
906
907 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
908 implementation, leveraging the TAS internal API.
909 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
910 API, leveraging the general availability of TLS services in VxWorks7
911 post SR6xxx.
912 (__gthread_setspecific, __gthread_setspecific): Use it.
913 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
914 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
915 support based on VxWorks primitives.
916 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
917 based on VxWorks primitives.
918
919 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
920 Olivier Hainque <hainque@adacore.com>
921
922 * config/vxcrtstuff.c: New file.
923 * config/t-vxcrtstuff: New Makefile fragment.
924 * config.host: Append t-vxcrtstuff to the tmake_file list
925 on all VxWorks ports using dwarf for table based EH.
926
927 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
928
929 Support 64-bit double and 64-bit long double configurations.
930
931 PR target/92055
932 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
933 long double is a 32-bit type.
934 * config/avr/t-avrlibc: Copy double64 and long-double64
935 multilib(s) from the vanilla one.
936 * config/avr/t-copy-libgcc: New Makefile snip.
937
938 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
939
940 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
941 the target output object format is not ELF.
942 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
943
944 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
945
946 PR libgcc/78804
947 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
948 * fp-bit.c (pack_d, unpack_d): Remove special cases for
949 FLOAT_BIT_ORDER_MISMATCH.
950 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
951
952 2019-11-01 Jim Wilson <jimw@sifive.com>
953
954 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
955
956 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
957
958 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
959 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
960 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
961 Define symbols for 32-bit and f5series hardware multiply
962 register addresses.
963 Replace hard-coded register addresses with symbols.
964 Fix "_mspabi*" typo.
965 Fix whitespace.
966 * config/msp430/lib2mul.c: Add comment.
967
968 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
969
970 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
971 unsigned int. Adjust callers.
972 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
973 unsigned int *. Load relocation offset before function pointer.
974 Add barrier to ensure ordering.
975
976 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
977
978 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
979 Load PIC register after branch target. Fix white space.
980 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
981 implementations. Load PIC register after branch target. Don't
982 clobber function pointer when it points to function descriptor.
983 Use nullification instead of branch in LINUX implementation.
984
985 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
986
987 * config/pa/fptr.c: Disable -Warray-bounds warning.
988
989 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
990
991 * config.in, configure: Re-rebuild with stock autoconf 2.69,
992 not the ubuntu modified 2.69.
993
994 PR target/91833
995 * config/aarch64/lse-init.c: Include auto-target.h. Disable
996 initialization if !HAVE_SYS_AUXV_H.
997 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
998 * config.in, configure: Rebuild.
999
1000 PR target/91834
1001 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1002 overlap the inputs.
1003
1004 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
1005
1006 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1007 CTR_EL0.IDC and CTR_EL0.DIC.
1008
1009 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
1010
1011 Revert:
1012 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1013 Mickaël Guêné <mickael.guene@st.com>
1014
1015 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1016 architecture.
1017
1018 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
1019
1020 * config/aarch64/lse-init.c: New file.
1021 * config/aarch64/lse.S: New file.
1022 * config/aarch64/t-lse: New file.
1023 * config.host: Add t-lse to all aarch64 tuples.
1024
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-10 Christophe Lyon <christophe.lyon@st.com>
1032 Mickaël Guêné <mickael.guene@st.com>
1033
1034 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1035 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1036 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1037 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1038 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1039 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1040 (__gnu_personality_sigframe_fdpic): New.
1041 (get_eit_entry): Add FDPIC signal frame support.
1042
1043 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1044 Mickaël Guêné <mickael.guene@st.com>
1045
1046 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1047 (__kernel_dmb): Likewise.
1048 (__fdpic_cmpxchg): New function.
1049 (__fdpic_dmb): New function.
1050 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1051 (gnu_Unwind_Find_got): New function.
1052 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1053 * unwind-arm-common.inc (UCB_PR_GOT): New.
1054 (funcdesc_t): New struct.
1055 (get_eit_entry): Add FDPIC support.
1056 (unwind_phase2): Likewise.
1057 (unwind_phase2_forced): Likewise.
1058 (__gnu_Unwind_RaiseException): Likewise.
1059 (__gnu_Unwind_Resume): Likewise.
1060 (__gnu_Unwind_Backtrace): Likewise.
1061 * unwind-pe.h (read_encoded_value_with_base): Likewise.
1062
1063 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1064 Mickaël Guêné <mickael.guene@st.com>
1065
1066 * libgcc/crtstuff.c: Add support for FDPIC.
1067
1068 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1069
1070 * config.host: Handle *-*-uclinuxfdpiceabi.
1071
1072 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1073
1074 * config.host: Set cpu_type for bpf-*-* targets.
1075 * config/bpf/t-bpf: Likewise.
1076 * config/bpf/crtn.S: Likewise.
1077 * config/bpf/crti.S: New file.
1078
1079 2019-09-06 Jim Wilson <jimw@sifive.com>
1080
1081 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1082 (riscv*-*-freebsd*): Likewise.
1083
1084 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
1085
1086 * config.host: Remove references to spu.
1087 * config/spu/: Remove directory.
1088
1089 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1090
1091 PR target/91306
1092 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1093 element type, instead of "sizeof" the element type.
1094 (__DTOR_LIST__): Likewise.
1095 (__TMC_LIST__): Likewise.
1096 (__do_global_dtors_aux_fini_array_entry): Likewise.
1097 (__frame_dummy_init_array_entry): Likewise.
1098 (__CTOR_END__): Likewise.
1099 (__DTOR_END__): Likweise.
1100 (__FRAME_END__): Likewise.
1101 (__TMC_END__): Likewise.
1102
1103 2019-08-20 Lili Cui <lilicui@intel.com>
1104
1105 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1106 INTEL_COREI7_COOPERLAKE.
1107
1108 2019-07-31 Matt Thomas <matt@3am-software.com>
1109 Nick Hudson <nick@nthcliff.demon.co.uk>
1110 Matthew Green <mrg@eterna.com.au>
1111 Maya Rashish <coypu@sdf.org>
1112
1113 * config.host (hppa*-*-netbsd*): New case.
1114 * config/pa/t-netbsd: New file.
1115
1116 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
1117
1118 * config/arm/cmse.c (cmse_check_address_range): Add
1119 warn_unused_result attribute.
1120
1121 2019-07-22 Martin Liska <mliska@suse.cz>
1122
1123 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1124 * config/pa/t-stublib: Likewise.
1125
1126 2019-07-22 Stafford Horne <shorne@gmail.com>
1127
1128 PR target/90362
1129 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1130 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1131 instructions are not available on every processor. Change a
1132 l.bnf to l.bf to fix logic issue.
1133
1134 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
1135
1136 * config.host: Remove reference to t-darwin8.
1137
1138 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
1139
1140 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1141 list.
1142 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
1143 mmacosx-version-min for crts to run across all system versions.
1144 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1145 * config/t-darwin: Revise mmacosx-version-min for crts to run across
1146 system versions >= 10.4.
1147
1148 2019-07-03 Martin Liska <mliska@suse.cz>
1149
1150 * Makefile.in: Use topn_values instead of one_value names.
1151 * libgcov-merge.c (__gcov_merge_single): Move to ...
1152 (__gcov_merge_topn): ... this.
1153 (merge_single_value_set): Move to ...
1154 (merge_topn_values_set): ... this.
1155 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1156 ...
1157 (__gcov_topn_values_profiler_body): ... this.
1158 (__gcov_one_value_profiler_v2): Move to ...
1159 (__gcov_topn_values_profiler): ... this.
1160 (__gcov_one_value_profiler_v2_atomic): Move to ...
1161 (__gcov_topn_values_profiler_atomic): ... this.
1162 (__gcov_indirect_call_profiler_v4): Remove.
1163 * libgcov-util.c (__gcov_single_counter_op): Move to ...
1164 (__gcov_topn_counter_op): ... this.
1165 * libgcov.h (L_gcov_merge_single): Remove.
1166 (L_gcov_merge_topn): New.
1167 (__gcov_merge_single): Remove.
1168 (__gcov_merge_topn): New.
1169 (__gcov_one_value_profiler_v2): Move to ..
1170 (__gcov_topn_values_profiler): ... this.
1171 (__gcov_one_value_profiler_v2_atomic): Move to ...
1172 (__gcov_topn_values_profiler_atomic): ... this.
1173
1174 2019-07-03 Martin Liska <mliska@suse.cz>
1175
1176 * libgcov-merge.c (merge_single_value_set): Support N values.
1177 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1178
1179 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
1180
1181 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1182 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1183 * configure.ac: Add --disable-tm-clone-registry option.
1184 * configure: Regenerate.
1185
1186 2019-06-27 Martin Liska <mliska@suse.cz>
1187
1188 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1189 dead assignments.
1190 * libgcov-util.c: Likewise.
1191
1192 2019-06-27 Martin Liska <mliska@suse.cz>
1193
1194 * libgcov-util.c (gcov_profile_merge): Release allocated
1195 memory.
1196 (calculate_overlap): Likewise.
1197
1198 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
1199
1200 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1201 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1202 Build objects for the out of line save/restore register functions
1203 so that they can be used for any supported Darwin version.
1204 * config/t-darwin: Default the build Darwin version to Darwin8
1205 (MacOS 10.4).
1206
1207 2019-06-25 Martin Liska <mliska@suse.cz>
1208
1209 * libgcov-driver-system.c (replace_filename_variables): Do not
1210 call strlen with NULL argument.
1211
1212 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
1213
1214 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1215 * config/gcn/unwind-gcn.c: New file.
1216
1217 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
1218 Andrew Stubbs <ams@codesourcery.com>
1219
1220 * configure: Regenerate.
1221 * config/gcn/gthr-gcn.h: New.
1222
1223 2019-06-18 Tom de Vries <tdevries@suse.de>
1224
1225 * config/nvptx/crt0.c (__main): Declare.
1226
1227 2019-06-17 Matthew Green <mrg@eterna.com.au>
1228 Maya Rashish <coypu@sdf.org>
1229
1230 * config.host (aarch64*-*-netbsd*): New case.
1231
1232 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1233
1234 * config/msp430/slli.S (__mspabi_sllll): New library function for
1235 performing a logical left shift of a 64-bit value.
1236 * config/msp430/srai.S (__mspabi_srall): New library function for
1237 performing a arithmetic right shift of a 64-bit value.
1238 * config/msp430/srll.S (__mspabi_srlll): New library function for
1239 performing a logical right shift of a 64-bit value.
1240
1241 2019-06-14 Matt Thomas <matt@3am-software.com>
1242 Matthew Green <mrg@eterna.com.au>
1243 Nick Hudson <skrll@netbsd.org>
1244 Maya Rashish <coypu@sdf.org>
1245
1246 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1247 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1248 functions to build.
1249 * config/arm/t-netbsd-eabi: New file.
1250
1251 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
1252
1253 * config.host: Add PRU target.
1254 * config/pru/asri.c: New file.
1255 * config/pru/eqd.c: New file.
1256 * config/pru/eqf.c: New file.
1257 * config/pru/ged.c: New file.
1258 * config/pru/gef.c: New file.
1259 * config/pru/gtd.c: New file.
1260 * config/pru/gtf.c: New file.
1261 * config/pru/led.c: New file.
1262 * config/pru/lef.c: New file.
1263 * config/pru/lib2bitcountHI.c: New file.
1264 * config/pru/lib2divHI.c: New file.
1265 * config/pru/lib2divQI.c: New file.
1266 * config/pru/lib2divSI.c: New file.
1267 * config/pru/libgcc-eabi.ver: New file.
1268 * config/pru/ltd.c: New file.
1269 * config/pru/ltf.c: New file.
1270 * config/pru/mpyll.S: New file.
1271 * config/pru/pru-abi.h: New file.
1272 * config/pru/pru-asm.h: New file.
1273 * config/pru/pru-divmod.h: New file.
1274 * config/pru/sfp-machine.h: New file.
1275 * config/pru/t-pru: New file.
1276
1277 2019-06-11 Jakub Jelinek <jakub@redhat.com>
1278
1279 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1280
1281 2019-06-10 Martin Liska <mliska@suse.cz>
1282
1283 PR bootstrap/90808
1284 * libgcov.h: Add ATTRIBUTE_UNUSED.
1285
1286 2019-06-10 Martin Liska <mliska@suse.cz>
1287
1288 * Makefile.in: Add __gcov_one_value_profiler_v2,
1289 __gcov_one_value_profiler_v2_atomic and
1290 __gcov_indirect_call_profiler_v4.
1291 * libgcov-merge.c (__gcov_merge_single): Change
1292 function signature.
1293 (merge_single_value_set): New.
1294 * libgcov-profiler.c (__gcov_one_value_profiler_body):
1295 Update functionality.
1296 (__gcov_one_value_profiler): Remove.
1297 (__gcov_one_value_profiler_v2): ... this.
1298 (__gcov_one_value_profiler_atomic): Rename to ...
1299 (__gcov_one_value_profiler_v2_atomic): this.
1300 (__gcov_indirect_call_profiler_v3): Rename to ...
1301 (__gcov_indirect_call_profiler_v4): ... this.
1302 * libgcov.h (__gcov_one_value_profiler): Remove.
1303 (__gcov_one_value_profiler_atomic): Remove.
1304 (__gcov_one_value_profiler_v2_atomic): New.
1305 (__gcov_indirect_call_profiler_v3): Remove.
1306 (__gcov_one_value_profiler_v2): New.
1307 (__gcov_indirect_call_profiler_v4): New.
1308 (gcov_get_counter_ignore_scaling): New function.
1309
1310 2019-06-07 Martin Liska <mliska@suse.cz>
1311
1312 * Makefile.in: Remove usage of
1313 _gcov_merge_icall_topn.
1314 * libgcov-driver.c (gcov_sort_n_vals): Remove.
1315 (gcov_sort_icall_topn_counter): Likewise.
1316 (gcov_sort_topn_counter_arrays): Likewise.
1317 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1318 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1319 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1320 Likewise.
1321 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1322 (struct indirect_call_tuple): Remove.
1323 (__gcov_indirect_call_topn_profiler): Remove.
1324 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1325 * libgcov.h (gcov_sort_n_vals): Remove.
1326 (L_gcov_merge_icall_topn): Likewise.
1327 (__gcov_merge_icall_topn): Likewise.
1328 (__gcov_indirect_call_topn_profiler): Likewise.
1329
1330 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
1331
1332 * config/rs6000/t-darwin: Ensure that the unwinder is built with
1333 altivec enabled.
1334
1335 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1336
1337 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1338 section.
1339 (__mspabi_slli): Likewise.
1340 (__mspabi_slll_n): Likewise.
1341 (__mspabi_slll): Likewise.
1342 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1343 (__mspabi_srai): Likewise.
1344 (__mspabi_sral_n): Likewise.
1345 (__mspabi_sral): Likewise.
1346 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1347 (__mspabi_srli): Likewise.
1348 (__mspabi_srll_n): Likewise.
1349 (__mspabi_srll): Likewise.
1350
1351 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1352
1353 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1354 Add appropriate tm_file clause as well.
1355 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1356
1357 2019-06-05 James Clarke <jrtc27@jrtc27.com>
1358
1359 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1360 rather than .data/.bss so it can be accessed via gp-relative
1361 addressing.
1362
1363 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
1364
1365 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1366 (CR2_REGNO): Rename to R_CR2.
1367 (XER_REGNO): Rename to R_XER.
1368 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1369 (VRSAVE_REGNO): Rename to R_VRSAVE.
1370 (VSCR_REGNO): R_VSCR.
1371
1372 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
1373
1374 * config.host (rx-*-linux*): Add new case.
1375 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1376
1377 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
1378
1379 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1380 function.
1381 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1382 aarch64_post_frob_eh_handler_addr): Add check for b-key.
1383 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1384 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1385 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1386 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1387 string.
1388 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1389 string.
1390 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1391
1392 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1393
1394 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1395 Remove Solaris 9 and 10 support.
1396 (sparc_is_sighandler): Likewise.
1397
1398 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
1399
1400 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1401
1402 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
1403
1404 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1405 4_FP_W_TYPEs are used for IEEE quad precision.
1406 * soft-fp/extendhftf2.c: Likewise.
1407 * soft-fp/extendsftf2.c: Likewise.
1408 * soft-fp/extendxftf2.c: Likewise.
1409 * soft-fp/trunctfdf2.c: Likewise.
1410 * soft-fp/trunctfhf2.c: Likewise.
1411 * soft-fp/trunctfsf2.c: Likewise.
1412 * soft-fp/trunctfxf2.c: Likewise.
1413 * config/rs6000/ibm-ldouble.c: Likewise.
1414
1415 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1416
1417 * config.host: Simplify various *-*-solaris2.1[0-9]* to
1418 *-*-solaris2*.
1419 * configure.ac: Likewise.
1420 * configure: Regenerate.
1421
1422 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1423 Solaris 10 and Solaris 11 < snv_125 handling.
1424
1425 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
1426
1427 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1428
1429 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
1430
1431 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1432 * config/i386/cpuinfo.h (enum processor_features): Add
1433 FEATURE_AVX512BF16.
1434
1435 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1436 Bernd Edlinger <bernd.edlinger@hotmail.de>
1437 Jakub Jelinek <jakub@redhat.com>
1438
1439 PR target/89093
1440 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1441 * config/arm/unwind-arm.c: Likewise.
1442 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1443 attribute for ARM.
1444
1445 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
1446
1447 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1448 (RT_SIGRETURN): Update.
1449 (nds32_fallback_frame_state): Update.
1450
1451 2019-02-21 Martin Sebor <msebor@redhat.com>
1452
1453 * libgcc2.h (__clear_cache): Correct signature.
1454 * libgcc2.c (__clear_cache): Same.
1455
1456 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
1457
1458 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1459 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1460
1461 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
1462
1463 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1464 regno instead of index to DWARF_ZERO_REG.
1465
1466 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
1467
1468 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1469 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1470
1471 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
1472
1473 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1474 to HOST_LIBGCC2_CFLAGS.
1475
1476 2019-01-23 Joseph Myers <joseph@codesourcery.com>
1477
1478 PR libgcc/88931
1479 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
1480
1481 2019-01-18 Martin Liska <mliska@suse.cz>
1482
1483 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1484 to ...
1485 (__gcov_indirect_call_profiler_v3): ... this.
1486 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1487 (__gcov_indirect_call_profiler_v3): Likewise.
1488 * Makefile.in: Bump function name.
1489
1490 2019-01-18 Martin Liska <mliska@suse.cz>
1491
1492 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1493 (gcov_version): Use in gcov_error.
1494 (merge_one_data): Likewise.
1495 (dump_one_gcov): Likewise.
1496
1497 2019-01-18 Martin Liska <mliska@suse.cz>
1498
1499 * libgcov-driver.c (gcov_version_string): New function.
1500 (gcov_version): Convert version integer into string.
1501
1502 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
1503 Kwok Cheung Yeung <kcy@codesourcery.com>
1504 Julian Brown <julian@codesourcery.com>
1505 Tom de Vries <tom@codesourcery.com>
1506
1507 * config.host: Recognize amdgcn*-*-amdhsa.
1508 * config/gcn/crt0.c: New file.
1509 * config/gcn/lib2-divmod-hi.c: New file.
1510 * config/gcn/lib2-divmod.c: New file.
1511 * config/gcn/lib2-gcn.h: New file.
1512 * config/gcn/sfp-machine.h: New file.
1513 * config/gcn/t-amdgcn: New file.
1514
1515 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
1516
1517 PR other/16615
1518
1519 * config/c6x/libunwind.S: Mechanically replace "can not" with
1520 "cannot".
1521 * config/tilepro/atomic.h: Likewise.
1522 * config/vxlib-tls.c: Likewise.
1523 * generic-morestack-thread.c: Likewise.
1524 * generic-morestack.c: Likewise.
1525 * mkmap-symver.awk: Likewise.
1526
1527 2019-01-01 Jakub Jelinek <jakub@redhat.com>
1528
1529 Update copyright years.
1530
1531 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1532
1533 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1534 to ignore -Waddress-of-packed-member.
1535
1536 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
1537
1538 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1539 parameter and corresponding code.
1540 (ARM_FUNC_START): Likewise in both definitions.
1541 Also update footer comment about condition that need to match with
1542 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1543 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1544 defined. Weakly define it in this case.
1545 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1546 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1547 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1548 comment to keep condition in sync with the one in
1549 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1550
1551 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
1552
1553 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1554 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1555
1556 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1557
1558 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1559 and .cfi_endproc directives for VxWorks targets.
1560
1561 2018-12-05 Paul Koning <ni1d@arrl.net>
1562
1563 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1564
1565 2018-11-27 Alan Modra <amodra@gmail.com>
1566
1567 * config/rs6000/morestack.S (__stack_split_initialize),
1568 (__morestack_get_guard, __morestack_set_guard),
1569 (__morestack_make_guard): Provide CFI covering these functions.
1570 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1571
1572 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1573
1574 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
1575 (sc_pt_regs_lr): Update for kernel.
1576 (sc_pt_regs_tls): Update for kernel.
1577
1578 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1579
1580 * config/csky/linux-unwind.h: Fix coding style.
1581
1582 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
1583
1584 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1585 (csky_fallback_frame_state): Modify the check of the
1586 instructions to adapt to changes in the kernel
1587
1588 2018-11-09 Stafford Horne <shorne@gmail.com>
1589 Richard Henderson <rth@twiddle.net>
1590
1591 * config.host: Add OpenRISC support.
1592 * config/or1k/*: New.
1593
1594 2018-11-08 Kito Cheng <kito@andestech.com>
1595
1596 * soft-fp/adddf3.c: Update from glibc.
1597 * soft-fp/addsf3.c: Likewise.
1598 * soft-fp/addtf3.c: Likewise.
1599 * soft-fp/divdf3.c: Likewise.
1600 * soft-fp/divsf3.c: Likewise.
1601 * soft-fp/divtf3.c: Likewise.
1602 * soft-fp/double.h: Likewise.
1603 * soft-fp/eqdf2.c: Likewise.
1604 * soft-fp/eqsf2.c: Likewise.
1605 * soft-fp/eqtf2.c: Likewise.
1606 * soft-fp/extenddftf2.c: Likewise.
1607 * soft-fp/extended.h: Likewise.
1608 * soft-fp/extendhftf2.c: Likewise.
1609 * soft-fp/extendsfdf2.c: Likewise.
1610 * soft-fp/extendsftf2.c: Likewise.
1611 * soft-fp/extendxftf2.c: Likewise.
1612 * soft-fp/fixdfdi.c: Likewise.
1613 * soft-fp/fixdfsi.c: Likewise.
1614 * soft-fp/fixdfti.c: Likewise.
1615 * soft-fp/fixhfti.c: Likewise.
1616 * soft-fp/fixsfdi.c: Likewise.
1617 * soft-fp/fixsfsi.c: Likewise.
1618 * soft-fp/fixsfti.c: Likewise.
1619 * soft-fp/fixtfdi.c: Likewise.
1620 * soft-fp/fixtfsi.c: Likewise.
1621 * soft-fp/fixtfti.c: Likewise.
1622 * soft-fp/fixunsdfdi.c: Likewise.
1623 * soft-fp/fixunsdfsi.c: Likewise.
1624 * soft-fp/fixunsdfti.c: Likewise.
1625 * soft-fp/fixunshfti.c: Likewise.
1626 * soft-fp/fixunssfdi.c: Likewise.
1627 * soft-fp/fixunssfsi.c: Likewise.
1628 * soft-fp/fixunssfti.c: Likewise.
1629 * soft-fp/fixunstfdi.c: Likewise.
1630 * soft-fp/fixunstfsi.c: Likewise.
1631 * soft-fp/fixunstfti.c: Likewise.
1632 * soft-fp/floatdidf.c: Likewise.
1633 * soft-fp/floatdisf.c: Likewise.
1634 * soft-fp/floatditf.c: Likewise.
1635 * soft-fp/floatsidf.c: Likewise.
1636 * soft-fp/floatsisf.c: Likewise.
1637 * soft-fp/floatsitf.c: Likewise.
1638 * soft-fp/floattidf.c: Likewise.
1639 * soft-fp/floattihf.c: Likewise.
1640 * soft-fp/floattisf.c: Likewise.
1641 * soft-fp/floattitf.c: Likewise.
1642 * soft-fp/floatundidf.c: Likewise.
1643 * soft-fp/floatundisf.c: Likewise.
1644 * soft-fp/floatunditf.c: Likewise.
1645 * soft-fp/floatunsidf.c: Likewise.
1646 * soft-fp/floatunsisf.c: Likewise.
1647 * soft-fp/floatunsitf.c: Likewise.
1648 * soft-fp/floatuntidf.c: Likewise.
1649 * soft-fp/floatuntihf.c: Likewise.
1650 * soft-fp/floatuntisf.c: Likewise.
1651 * soft-fp/floatuntitf.c: Likewise.
1652 * soft-fp/gedf2.c: Likewise.
1653 * soft-fp/gesf2.c: Likewise.
1654 * soft-fp/getf2.c: Likewise.
1655 * soft-fp/half.h: Likewise.
1656 * soft-fp/ledf2.c: Likewise.
1657 * soft-fp/lesf2.c: Likewise.
1658 * soft-fp/letf2.c: Likewise.
1659 * soft-fp/muldf3.c: Likewise.
1660 * soft-fp/mulsf3.c: Likewise.
1661 * soft-fp/multf3.c: Likewise.
1662 * soft-fp/negdf2.c: Likewise.
1663 * soft-fp/negsf2.c: Likewise.
1664 * soft-fp/negtf2.c: Likewise.
1665 * soft-fp/op-1.h: Likewise.
1666 * soft-fp/op-2.h: Likewise.
1667 * soft-fp/op-4.h: Likewise.
1668 * soft-fp/op-8.h: Likewise.
1669 * soft-fp/op-common.h: Likewise.
1670 * soft-fp/quad.h: Likewise.
1671 * soft-fp/single.h: Likewise.
1672 * soft-fp/soft-fp.h: Likewise.
1673 * soft-fp/subdf3.c: Likewise.
1674 * soft-fp/subsf3.c: Likewise.
1675 * soft-fp/subtf3.c: Likewise.
1676 * soft-fp/truncdfsf2.c: Likewise.
1677 * soft-fp/trunctfdf2.c: Likewise.
1678 * soft-fp/trunctfhf2.c: Likewise.
1679 * soft-fp/trunctfsf2.c: Likewise.
1680 * soft-fp/trunctfxf2.c: Likewise.
1681 * soft-fp/unorddf2.c: Likewise.
1682 * soft-fp/unordsf2.c: Likewise.
1683 * soft-fp/unordtf2.c: Likewise.
1684
1685 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
1686
1687 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1688 * config/i386/cpuinfo.h (processor_types): Add znver2.
1689
1690 2018-11-01 Paul Koning <ni1d@arrl.net>
1691
1692 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1693 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1694
1695 2018-10-31 Joseph Myers <joseph@codesourcery.com>
1696
1697 PR bootstrap/82856
1698 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1699 * configure: Regenerate.
1700
1701 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
1702
1703 * config/arc/lib1funcs.S (_muldi3): New function.
1704 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1705
1706 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1707
1708 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1709
1710 2018-10-25 Martin Liska <mliska@suse.cz>
1711
1712 PR other/87735
1713 * libgcov-profiler.c: Revert.
1714
1715 2018-10-24 Martin Liska <mliska@suse.cz>
1716
1717 * libgcov-profiler.c: Start from 1 in order to distinguish
1718 functions which were seen and these that were not.
1719
1720 2018-10-18 Paul Koning <ni1d@arrl.net>
1721
1722 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1723 standard.
1724 * divmod.c: Update references to __udivmodsi4.
1725 * udivmod.c: Ditto.
1726 * udivhi3.c: New file.
1727 * udivmodhi4.c: New file.
1728 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1729
1730 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1731
1732 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1733
1734 2018-10-12 Olivier Hainque <hainque@adacore.com>
1735
1736 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1737 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1738
1739 2018-10-08 Paul Koning <ni1d@arrl.net>
1740
1741 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1742
1743 2018-10-04 Martin Liska <mliska@suse.cz>
1744
1745 PR gcov-profile/84107
1746 * libgcov-profiler.c (__gcov_indirect_call):
1747 Change type to indirect_call_tuple.
1748 (struct indirect_call_tuple): New struct.
1749 (__gcov_indirect_call_topn_profiler): Change type.
1750 (__gcov_indirect_call_profiler_v2): Use the new
1751 variables.
1752 * libgcov.h (struct indirect_call_tuple): New struct
1753 definition.
1754
1755 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
1756
1757 * libgcc2.c (isnan): Use __builtin_isnan.
1758 (isfinite): Use __builtin_isfinite.
1759 (isinf): Use __builtin_isinf.
1760
1761 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
1762
1763 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1764
1765 2018-09-21 Alexandre Oliva <oliva@adacore.com>
1766
1767 * config/vxcache.c: New file. Provide __clear_cache, based on
1768 the cacheTextUpdate VxWorks service.
1769 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1770 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1771 * config/t-vxwoks7: Likewise.
1772
1773 2018-09-21 Martin Liska <mliska@suse.cz>
1774
1775 * libgcov-driver.c (crc32_unsigned): Remove.
1776 (gcov_histogram_insert): Likewise.
1777 (gcov_compute_histogram): Likewise.
1778 (compute_summary): Simplify rapidly.
1779 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1780 (merge_summary): Rapidly simplify.
1781 (dump_one_gcov): Ignore gcov_summary.
1782 (gcov_do_dump): Do not handle program summary, it's not
1783 used.
1784 * libgcov-util.c (tag_summary): Remove.
1785 (read_gcda_finalize): Fix coding style.
1786 (read_gcda_file): Initialize curr_object_summary.
1787 (compute_summary): Remove.
1788 (calculate_overlap): Remove settings of run_max.
1789
1790 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1791
1792 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1793 ucontext_t type instead.
1794 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1795
1796 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
1797
1798 * config/nds32/t-nds32-glibc: New file.
1799
1800 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1801
1802 * configure.ac (solaris_ld_v2_maps): New test.
1803 * configure: Regenerate.
1804 * Makefile.in (solaris_ld_v2_maps): New variable.
1805 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1806 if supported.
1807
1808 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
1809
1810 PR target/86951
1811 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1812 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1813 to build.
1814
1815 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1816
1817 * config/unwind-dw2-fde-darwin.c
1818 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1819 * config/darwin10-unwind-find-enc-func.c: … to here.
1820 * config/t-darwin: Build Darwin10 unwinder shim crt.
1821 * libgcc/config.host: Add the Darwin10 unwinder shim.
1822
1823 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1824
1825 * config.host: Add crtbegin.o and crtend.o for
1826 powerpc-wrs-vxworks target.
1827
1828 2018-08-17 Jojo <jijie_rong@c-sky.com>
1829 Huibin Wang <huibin_wang@c-sky.com>
1830 Sandra Loosemore <sandra@codesourcery.com>
1831 Chung-Lin Tang <cltang@codesourcery.com>
1832
1833 C-SKY port: libgcc
1834
1835 * config.host: Add C-SKY support.
1836 * config/csky/*: New.
1837
1838 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1839
1840 * config/nds32/t-nds32-isr: Rearrange object dependency.
1841 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1842 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1843 and registers usage.
1844 * config/nds32/isr-library/excp_isr.S: Ditto.
1845 * config/nds32/isr-library/intr_isr.S: Ditto.
1846 * config/nds32/isr-library/reset.S: Ditto.
1847 * config/nds32/isr-library/restore_all.inc: Ditto.
1848 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1849 * config/nds32/isr-library/restore_partial.inc: Ditto.
1850 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1851 * config/nds32/isr-library/save_all.inc: Ditto.
1852 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1853 * config/nds32/isr-library/save_partial.inc: Ditto.
1854 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1855 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1856
1857 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
1858
1859 * config/pa/linux-atomic.c: Update comment.
1860 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1861 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1862 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1863 __ATOMIC_RELAXED for atomic loads.
1864 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1865 unordered store to release lock.
1866 (__sync_lock_release_8): Likewise.
1867 (SYNC_LOCK_RELEASE_2): Remove define.
1868
1869 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
1870
1871 PR libgcc/86512
1872 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1873 exponent goes negative. Update my email address.
1874 * config/arm/ieee754-sf.S: Likewise.
1875
1876 2018-08-01 Martin Liska <mliska@suse.cz>
1877
1878 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
1879 check that __gcov_indirect_call_callee is non-null.
1880
1881 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1882
1883 * config/arm/ieee754-df.S: Fix comment for code working on
1884 architectures >= 4.
1885 * config/arm/ieee754-sf.S: Likewise.
1886
1887 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1888
1889 PR libgcc/85334
1890 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1891 Removed.
1892
1893 2018-07-05 James Clarke <jrtc27@jrtc27.com>
1894
1895 * configure: Regenerated.
1896
1897 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1898
1899 * Makefile.in (install_leaf): Use enable_gcov instead of
1900 enable_libgcov.
1901
1902 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1903
1904 * configure.ac: Add --disable-gcov option.
1905 * configure: Regenerate.
1906 * Makefile.in: Honour @enable_gcov@.
1907
1908 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1909
1910 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1911 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1912 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1913 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1914 __ARM_ARCH__.
1915 * config/arm/ieee754-sf.S: Likewise.
1916 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1917
1918 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1919
1920 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1921 longer supported.
1922 * config/arm/ieee754-sf.S: Likewise.
1923
1924 2018-06-20 Than McIntosh <thanm@google.com>
1925
1926 PR libgcc/86213
1927 * generic-morestack.c (allocate_segment): Move calls to getenv and
1928 getpagesize to __morestack_load_mmap.
1929 (__morestack_load_mmap) Initialize static_pagesize and
1930 use_guard_page here so as to avoid clobbering SSE regs during a
1931 __morestack call.
1932
1933 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
1934
1935 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1936 support modules with -mno-gnu-attribute.
1937 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1938
1939 2018-06-07 Olivier Hainque <hainque@adacore.com>
1940
1941 * config/t-vxworks (LIBGCC_INCLUDES): Add
1942 -I$(MULTIBUILDTOP)../../gcc/include.
1943 * config/t-vxworks7: Likewise. Reformat a bit to match
1944 the t-vxworks layout.
1945
1946 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1947
1948 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1949
1950 2018-06-07 Martin Liska <mliska@suse.cz>
1951
1952 * libgcov-driver.c: Rename cs_all to all and assign it from
1953 all_prg.
1954
1955 2018-06-07 Martin Liska <mliska@suse.cz>
1956
1957 PR bootstrap/86057
1958 * libgcov-driver-system.c (replace_filename_variables): Use
1959 memcpy instead of mempcpy.
1960 (allocate_filename_struct): Do not allocate filename, allocate
1961 prefix and set it.
1962 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
1963 here and properly copy content into it.
1964 * libgcov-driver.c (struct gcov_filename): Remove max_length
1965 field, change prefix from size_t into char *.
1966 (compute_summary): Do not calculate longest filename.
1967 (gcov_do_dump): Release memory of gf.filename after each file.
1968 * libgcov-util.c (compute_summary): Use new signature of
1969 compute_summary.
1970 (calculate_overlap): Likewise.
1971
1972 2018-06-05 Martin Liska <mliska@suse.cz>
1973
1974 PR gcov-profile/47618
1975 * libgcov-driver-system.c (replace_filename_variables): New
1976 function.
1977 (gcov_exit_open_gcda_file): Use it.
1978
1979 2018-06-05 Martin Liska <mliska@suse.cz>
1980
1981 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1982 of gcov_ctr_summary.
1983 (compute_summary): Do it just for a single summary.
1984 (merge_one_data): Likewise.
1985 (merge_summary): Simplify as we read just single summary.
1986 (dump_one_gcov): Pass proper argument.
1987 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1988 single summary.
1989 (gcov_info_count_all_cold): Likewise.
1990 (calculate_overlap): Likewise.
1991
1992 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1993 Monk Chiang <sh.chiang04@gmail.com>
1994
1995 * config.host (nds32*-linux*): New.
1996 * config/nds32/linux-atomic.c: New file.
1997 * config/nds32/linux-unwind.h: New file.
1998
1999 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
2000
2001 PR target/85591
2002 * config/i386/cpuinfo.c (get_amd_cpu): Return
2003 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2004
2005 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2006
2007 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
2008
2009 2018-05-29 Martin Liska <mliska@suse.cz>
2010
2011 PR gcov-profile/85759
2012 * libgcov-driver-system.c (gcov_error): Introduce usage of
2013 GCOV_EXIT_AT_ERROR env. variable.
2014 * libgcov-driver.c (merge_one_data): Print error that we
2015 overwrite a gcov file with a different timestamp.
2016
2017 2018-05-23 Kalamatee <kalamatee@gmail.com>
2018
2019 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2020 path to Lf$finfty.
2021
2022 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
2023 Monk Chiang <sh.chiang04@gmail.com>
2024 Jim Wilson <jimw@sifive.com>
2025
2026 * config/riscv/save-restore.S: Add support for rv32e.
2027
2028 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2029
2030 * config/arm/libunwind.S: Update comment relating to armv5.
2031
2032 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
2033
2034 * config/arm/cmse.c (cmse_check_address_range): Replace
2035 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2036
2037 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2038
2039 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2040 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2041
2042 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
2043
2044 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2045 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2046
2047 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
2048
2049 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2050
2051 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
2052 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2053
2054 PR libgcc/84292
2055 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2056 op_and_fetch to return the right result.
2057
2058 2018-04-27 Alan Modra <amodra@gmail.com>
2059
2060 PR libgcc/85532
2061 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2062 -fno-asynchronous-unwind-tables.
2063
2064 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2065
2066 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2067 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2068
2069 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2070
2071 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2072 when including "config/i386/shadow-stack-unwind.h".
2073
2074 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2075
2076 * configure: Regenerated.
2077
2078 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
2079
2080 PR target/85456
2081 * config/rs6000/_powikf2.c: New file. Add support for the
2082 __builtin_powil function when long double is IEEE 128-bit floating
2083 point.
2084 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2085 __powikf2 support.
2086 (__powikf2): Likewise.
2087 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2088 (__powikf2_hw): Likewise.
2089 (__powikf2): Likewise.
2090 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2091 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2092 (_powikf2-hw.c): Likewise.
2093
2094 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2095
2096 PR libgcc/85334
2097 * unwind-generic.h (_Unwind_Frames_Increment): New.
2098 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2099 Likewise.
2100 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2101 count with _Unwind_Frames_Increment.
2102 (_Unwind_ForcedUnwind_Phase2): Likewise.
2103
2104 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2105
2106 PR libgcc/85379
2107 * config/i386/morestack.S (__stack_split_initialize): Add
2108 _CET_ENDBR.
2109
2110 2018-04-19 Jakub Jelinek <jakub@redhat.com>
2111
2112 * configure: Regenerated.
2113
2114 2018-04-18 David Malcolm <dmalcolm@redhat.com>
2115
2116 PR jit/85384
2117 * configure: Regenerate.
2118
2119 2018-04-16 Jakub Jelinek <jakub@redhat.com>
2120
2121 PR target/84945
2122 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2123 -Wdangling-else warnings. Mask shift counts to avoid
2124 -Wshift-count-negative and -Wshift-count-overflow false positives.
2125
2126 2018-04-06 Ruslan Bukin <br@bsdpad.com>
2127
2128 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2129
2130 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
2131
2132 PR target/85100
2133 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2134 (XSTATE_FP): Likewise.
2135 (XSTATE_SSE): Likewise.
2136 (XSTATE_YMM): Likewise.
2137 (XSTATE_OPMASK): Likewise.
2138 (XSTATE_ZMM): Likewise.
2139 (XSTATE_HI_ZMM): Likewise.
2140 (XCR_AVX_ENABLED_MASK): Likewise.
2141 (XCR_AVX512F_ENABLED_MASK): Likewise.
2142 (get_available_features): Enable AVX and AVX512 features only
2143 if their states are supported by OSXSAVE.
2144
2145 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2146
2147 PR target/85025
2148 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2149 Fix a typo, tmp => 255.
2150
2151 2018-03-20 Jakub Jelinek <jakub@redhat.com>
2152
2153 PR target/84945
2154 * config/i386/cpuinfo.h (__cpu_features2): Declare.
2155 * config/i386/cpuinfo.c (__cpu_features2): New variable for
2156 ifndef SHARED only.
2157 (set_feature): Define.
2158 (get_available_features): Use set_feature macro. Set __cpu_features2
2159 to the second word of features ifndef SHARED.
2160
2161 2018-03-15 Julia Koval <julia.koval@intel.com>
2162
2163 * config/i386/cpuinfo.c (get_available_features): Add
2164 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2165 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2166 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2167 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2168 FEATURE_AVX512BITALG.
2169
2170 2018-03-14 Julia Koval <julia.koval@intel.com>
2171
2172 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2173 icelake client and icelake server.
2174
2175 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
2176
2177 * config/pa/fptr.c (_dl_read_access_allowed): New.
2178 (__canonicalize_funcptr_for_compare): Use it.
2179
2180 2018-02-28 Jakub Jelinek <jakub@redhat.com>
2181
2182 PR debug/83917
2183 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2184 $asm_hidden_op if visibility ("hidden") attribute works.
2185 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2186 * config/i386/i386-asm.h: Don't include auto-host.h.
2187 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2188 PACKAGE_URL): Don't undefine.
2189 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2190 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2191 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2192 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2193 definition instead of hardcoded .hidden.
2194 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2195 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2196 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2197 (USE_GAS_CFI_DIRECTIVES): Don't define.
2198 * configure: Regenerated.
2199 * config.in: Likewise.
2200
2201 2018-02-26 Jakub Jelinek <jakub@redhat.com>
2202
2203 PR debug/83917
2204 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2205 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2206 inclusion of auto-target.h and auto-host.h.
2207 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2208 __GCC_HAVE_DWARF2_CFI_ASM.
2209 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2210 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2211 cfi_pop): Define.
2212 * config/i386/cygwin.S: Don't include auto-host.h here, just
2213 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2214 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2215 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2216 * config/i386/resms64fx.h: Add cfi_* directives.
2217 * config/i386/resms64x.h: Likewise.
2218
2219 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
2220
2221 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2222 .literal_position directive.
2223 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2224
2225 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2226
2227 PR target/84148
2228 * configure: Regenerate.
2229
2230 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2231
2232 PR target/84239
2233 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2234 Include cetintrin.h not x86intrin.h.
2235
2236 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2237
2238 PR target/84239
2239 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2240 Use new _get_ssp and _inc_ssp intrinsics.
2241
2242 2018-02-02 Julia Koval <julia.koval@intel.com>
2243
2244 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2245
2246 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2247
2248 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2249 option.
2250 (__divsi3): Use RF16 safe registers.
2251 (__modsi3): Likewise.
2252
2253 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
2254
2255 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2256 (__divsf3): Make NaN return value quiet.
2257 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2258 (__divdf3): Make NaN return value quiet.
2259
2260 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2261
2262 * config/rl78/anddi3.S: New assembly file.
2263 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2264
2265 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2266
2267 * config/rl78/umindi3.S: New assembly file.
2268 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2269
2270 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2271
2272 * config/rl78/smindi3.S: New assembly file.
2273 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2274
2275 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2276
2277 * config/rl78/smaxdi3.S: New assembly file.
2278 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2279
2280 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2281
2282 * config/rl78/umaxdi3.S: New assembly file.
2283 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
2284
2285 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
2286
2287 PR lto/83452
2288 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2289 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2290
2291 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
2292
2293 * config/aarch64/value-unwind.h (aarch64_vg): New function.
2294 (DWARF_LAZY_REGISTER_VALUE): Define.
2295 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2296 to provide a fallback register value.
2297
2298 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
2299
2300 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2301 __ibm128, instead of trying to use long double.
2302 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2303 accomidate -mabi=ieeelongdouble multilibs.
2304 (CVT_IBM128_TO_FLOAT128): Likewise.
2305 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2306 the appropriate IBM extended double type.
2307 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2308 (__gcc_qsub): Likewise.
2309 (__gcc_qmul): Likewise.
2310 (__gcc_qdiv): Likewise.
2311 (pack_ldouble): Likewise.
2312 (__gcc_qneg): Likewise.
2313 (__gcc_qeq): Likewise.
2314 (__gcc_qne): Likewise.
2315 (__gcc_qge): Likewise.
2316 (__gcc_qle): Likewise.
2317 (__gcc_stoq): Likewise.
2318 (__gcc_dtoq): Likewise.
2319 (__gcc_itoq): Likewise.
2320 (__gcc_utoq): Likewise.
2321 (__gcc_qunord): Likewise.
2322 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2323 quad-float128.h for the definitions.
2324 (COPYSIGN): Use the f128 version instead of the q version.
2325 (INFINITY): Likewise.
2326 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2327 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2328 quad-float128.h for the definitions.
2329 (COPYSIGN): Use the f128 version instead of the q version.
2330 (INFINITY): Likewise.
2331 (FABS): Likewise.
2332 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2333 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2334 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2335
2336 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
2337
2338 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2339 configuration.
2340
2341 2018-01-03 Jakub Jelinek <jakub@redhat.com>
2342
2343 Update copyright years.
2344
2345 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
2346
2347 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2348 * config/riscv/multi3.c: New file.
2349 * config/riscv/multi3.S: Remove.
2350
2351 2017-12-08 Jim Wilson <jimw@sifive.com>
2352
2353 * config/riscv/div.S: Use FUNC_* macros.
2354 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2355 * config/riscv/save-restore.S: Likewise.
2356 * config/riscv/riscv-asm.h: New.
2357
2358 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
2359
2360 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2361 * config/rs6000/_divkc3.c (__divkc3): Likewise.
2362
2363 PR libgcc/83112
2364 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2365 correct type for all ifunc resolvers to silence -Wattribute-alias
2366 warnings. Eliminate the forward declaration of the resolver
2367 functions which is no longer needed.
2368 (__subkf3_resolve): Likewise.
2369 (__mulkf3_resolve): Likewise.
2370 (__divkf3_resolve): Likewise.
2371 (__negkf2_resolve): Likewise.
2372 (__eqkf2_resolve): Likewise.
2373 (__nekf2_resolve): Likewise.
2374 (__gekf2_resolve): Likewise.
2375 (__gtkf2_resolve): Likewise.
2376 (__lekf2_resolve): Likewise.
2377 (__ltkf2_resolve): Likewise.
2378 (__unordkf2_resolve): Likewise.
2379 (__extendsfkf2_resolve): Likewise.
2380 (__extenddfkf2_resolve): Likewise.
2381 (__trunckfsf2_resolve): Likewise.
2382 (__trunckfdf2_resolve): Likewise.
2383 (__fixkfsi_resolve): Likewise.
2384 (__fixkfdi_resolve): Likewise.
2385 (__fixunskfsi_resolve): Likewise.
2386 (__fixunskfdi_resolve): Likewise.
2387 (__floatsikf_resolve): Likewise.
2388 (__floatdikf_resolve): Likewise.
2389 (__floatunsikf_resolve): Likewise.
2390 (__floatundikf_resolve): Likewise.
2391 (__extendkftf2_resolve): Likewise.
2392 (__trunctfkf2_resolve): Likewise.
2393
2394 PR libgcc/83103
2395 * config/rs6000/quad-float128.h (TF): Don't define if long double
2396 is IEEE 128-bit floating point.
2397 (TCtype): Define as either TCmode or KCmode, depending on whether
2398 long double is IEEE 128-bit floating point.
2399 (__mulkc3_sw): Add declarations for software/hardware versions of
2400 complex multiply/divide.
2401 (__divkc3_sw): Likewise.
2402 (__mulkc3_hw): Likewise.
2403 (__divkc3_hw): Likewise.
2404 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2405 handlers to switch between using software emulation and hardware
2406 float128 instructions, build the complex multiply/divide functions
2407 for both software and hardware support.
2408 * config/rs6000/_divkc3.c (_divkc3): Likewise.
2409 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2410 (__divkc3_resolve): Likewise.
2411 (__mulkc3): Likewise.
2412 (__divkc3): Likewise.
2413 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2414 (fp128_hw_src): Likewise.
2415 (fp128_hw_static_obj): Likewise.
2416 (fp128_hw_shared_obj): Likewise.
2417 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2418 _mulkc3.c and _divkc3.c, changing the function name.
2419 (_divkc3-hw.c): Likewise.
2420 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2421 and _divkc3-hw.c.
2422
2423 2017-11-26 Julia Koval <julia.koval@intel.com>
2424
2425 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2426 * config/i386/cpuinfo.h (processor_subtypes): Add
2427 INTEL_COREI7_CANNONLAKE.
2428
2429 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2430
2431 PR bootstrap/83015
2432 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2433 parameter.
2434 * config/xtensa/unwind-dw2-xtensa.c: Likewise
2435 * config/ia64/unwind-ia64.c: Add frames parameter.
2436 * unwind-sjlj.c: Likewise.
2437
2438 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2439
2440 * config/i386/linux-unwind.h: Include
2441 config/i386/shadow-stack-unwind.h.
2442 * config/i386/shadow-stack-unwind.h: New file.
2443 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2444 pass it to _Unwind_Frames_Extra.
2445 * unwind-generic.h (_Unwind_Frames_Extra): New.
2446 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2447 parameter. Add local variable frames to count number of frames.
2448 (_Unwind_ForcedUnwind_Phase2): Likewise.
2449 (_Unwind_RaiseException): Add local variable frames to count
2450 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2451 uw_install_context.
2452 (_Unwind_ForcedUnwind): Likewise.
2453 (_Unwind_Resume): Likewise.
2454 (_Unwind_Resume_or_Rethrow): Likewise.
2455
2456 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2457
2458 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2459 (CET_FLAGS): New.
2460 * config/i386/morestack.S: Include <cet.h>.
2461 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2462 * config/i386/resms64.h: Include <cet.h>.
2463 * config/i386/resms64f.h: Likewise.
2464 * config/i386/resms64fx.h: Likewise.
2465 * config/i386/resms64x.h: Likewise.
2466 * config/i386/savms64.h: Likewise.
2467 * config/i386/savms64f.h: Likewise.
2468 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2469 (CRTSTUFF_T_CFLAGS): Likewise.
2470 * configure.ac: Include ../config/cet.m4.
2471 Set and substitute CET_FLAGS.
2472 * configure: Regenerated.
2473
2474 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2475
2476 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2477 renaming.
2478 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2479 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2480 * configure: Regenerate.
2481
2482 2017-11-07 Tom de Vries <tom@codesourcery.com>
2483
2484 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2485 after "do {} while (0)".
2486
2487 2017-11-07 Tom de Vries <tom@codesourcery.com>
2488
2489 PR other/82784
2490 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2491 semicolon after "do {} while (0)".
2492 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2493 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2494 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2495 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2496
2497 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
2498
2499 PR libgcc/82635
2500 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2501 sysctl to determine whether we're in a trampoline.
2502 Keep the pattern matching method for systems without
2503 KERN_PROC_SIGTRAMP sysctl.
2504
2505 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
2506 Vineet Gupta <vgupta@synopsys.com>
2507
2508 * config.host (arc*-*-linux*): Set md_unwind_header variable.
2509 * config/arc/linux-unwind-reg.def: New file.
2510 * config/arc/linux-unwind-reg.h: Likewise.
2511
2512 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
2513
2514 * config/rl78/subdi3.S: New assembly file.
2515 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2516
2517 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
2518
2519 * config/rl78/adddi3.S: New assembly file.
2520 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2521
2522 2017-10-13 Jakub Jelinek <jakub@redhat.com>
2523
2524 PR target/82274
2525 * libgcc2.c (__mulvDI3): If both operands have
2526 the same highpart of -1 and the topmost bit of lowpart is 0,
2527 multiplication overflows even if both lowparts are 0.
2528
2529 2017-09-28 James Bowman <james.bowman@ftdichip.com>
2530
2531 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2532
2533 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2534
2535 * config/microblaze/crti.S, config/microblaze/crtn.S,
2536 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2537 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2538 config/microblaze/mulsi3.S,
2539 config/microblaze/stack_overflow_exit.S,
2540 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2541 config/pa/milli64.S: Add .note.GNU-stack section.
2542
2543 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
2544
2545 * configure.ac: Add Check for HAVE_AS_AVX.
2546 * config.in: Regenerate.
2547 * configure: Likewise.
2548 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2549 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2550 Correct out-of-date comments.
2551
2552 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2553
2554 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2555 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2556
2557 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
2558
2559 * config/i386/i386-asm.h (PASTE2): New macro.
2560 (ASMNAME): Modify to use PASTE2.
2561 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2562 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
2563 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
2564 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
2565 * config/i386/resms64f.S: Likewise.
2566 * config/i386/resms64fx.S: Likewise.
2567 * config/i386/resms64x.S: Likewise.
2568 * config/i386/savms64.S: Likewise.
2569 * config/i386/savms64f.S: Likewise.
2570 * config/i386/avx_resms64.S: New file that only defines a macro and
2571 includes it's corresponding header file.
2572 * config/i386/avx_resms64f.S: Likewise.
2573 * config/i386/avx_resms64fx.S: Likewise.
2574 * config/i386/avx_resms64x.S: Likewise.
2575 * config/i386/avx_savms64.S: Likewise.
2576 * config/i386/avx_savms64f.S: Likewise.
2577 * config/i386/sse_resms64.S: Likewise.
2578 * config/i386/sse_resms64f.S: Likewise.
2579 * config/i386/sse_resms64fx.S: Likewise.
2580 * config/i386/sse_resms64x.S: Likewise.
2581 * config/i386/sse_savms64.S: Likewise.
2582 * config/i386/sse_savms64f.S: Likewise.
2583 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
2584
2585 2017-09-01 Olivier Hainque <hainque@adacore.com>
2586 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2587
2588 2017-08-31 Olivier Hainque <hainque@adacore.com>
2589
2590 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2591 match as powerpc-wrs-vxworks*.
2592
2593 2017-08-07 Jonathan Yong <10walls@gmail.com>
2594
2595 * config.host (*-cygwin): Include file from mingw
2596 config/i386/enable-execute-stack-mingw32.c
2597
2598 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
2599 Doug Rupp <rupp@adacore.com>
2600 Olivier Hainque <hainque@adacore.com>
2601
2602 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2603 as well as arm-wrs-vxworks.
2604 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
2605 LIB2ADDEH.
2606 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2607 __exidx_start and __exidx_end for downloadable modules.
2608
2609 2017-08-01 Olivier Hainque <hainque@adacore.com>
2610
2611 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2612 * config/t-vxworks7: Likewise.
2613
2614 2017-08-01 Olivier Hainque <hainque@adacore.com>
2615
2616 * config/t-vxworks: Instead of redefining LIB2ADD,
2617 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2618
2619 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2620
2621 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2622
2623 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
2624
2625 PR testsuite/80759
2626 * config.host: include i386/t-msabi for darwin and solaris.
2627 * config/i386/i386-asm.h
2628 (ELFFN): Rename to FN_TYPE.
2629 (FN_SIZE): New macro.
2630 (FN_HIDDEN): Likewise.
2631 (ASMNAME): Likewise.
2632 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2633 .globl.
2634 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2635 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2636 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2637 .macro.
2638 * config/i386/resms64f.S: Likewise.
2639 * config/i386/resms64fx.S: Likewise.
2640 * config/i386/resms64x.S: Likewise.
2641 * config/i386/savms64.S: Likewise.
2642 * config/i386/savms64f.S: Likewise.
2643
2644 2017-07-19 John Marino <gnugcc@marino.st>
2645
2646 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2647
2648 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
2649
2650 PR target/81193
2651 * configure.ac (PowerPC float128 hardware support): Test whether
2652 we can use __builtin_cpu_supports before enabling the ifunc
2653 handler.
2654 * configure: Regenerate.
2655
2656 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
2657
2658 * config.host: Remove uclibc from arc target spec.
2659
2660 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
2661
2662 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2663
2664 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
2665
2666 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2667 (have_ieee_hw_p): Delete function.
2668 (SW_OR_HW) Use __builtin_cpu_supports().
2669
2670 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2671
2672 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2673
2674 2017-07-03 Olivier Hainque <hainque@adacore.com>
2675
2676 * config/t-vxworks7: New file, really.
2677
2678 2017-06-28 Joseph Myers <joseph@codesourcery.com>
2679
2680 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2681 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2682 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2683 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2684 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2685 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2686 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2687 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2688 config/sh/linux-unwind.h (sh_fallback_frame_state),
2689 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2690 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2691 ucontext_t instead of struct ucontext.
2692
2693 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
2694
2695 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2696 (x86_64-wrs-vxworks7): Likewise.
2697
2698 2017-06-27 Olivier Hainque <hainque@adacore.com>
2699
2700 * config/t-vxworks7: New file.
2701 * config.host (*-*-vxworks7): Use it.
2702
2703 2017-06-22 Matt Turner <mattst88@gmail.com>
2704
2705 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2706 skylake case.
2707
2708 2017-06-21 Richard Biener <rguenther@suse.de>
2709
2710 PR gcov-profile/81080
2711 * configure.ac: Add AC_SYS_LARGEFILE.
2712 * libgcov.h: Include auto-target.h before tsystem.h to pick
2713 up _FILE_OFFSET_BITS which might differ for multilibs.
2714 * config.in: Regenerate.
2715 * configure: Likewise.
2716
2717 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
2718
2719 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2720
2721 2017-06-09 Martin Liska <mliska@suse.cz>
2722
2723 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2724 Reset __gcov_indirect_call_callee to NULL.
2725
2726 2017-06-08 Olivier Hainque <hainque@adacore.com>
2727
2728 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2729 the set of -I options, support for direct inclusions of net/uio.h
2730 by VxWorks header files via ioLib.h.
2731
2732 2017-06-07 Tony Reix <tony.reix@atos.net>
2733 Matthieu Sarter <matthieu.sarter.external@atos.net>
2734 David Edelsohn <dje.gcc@gmail.com>
2735
2736 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2737 unconditionally.
2738 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2739 AIX 7.2 support.
2740
2741 2017-06-02 Olivier Hainque <hainque@adacore.com>
2742
2743 * config/vxlib.c (__gthread_once): Add missing value to
2744 return statement.
2745
2746 2017-05-30 Olivier Hainque <hainque@adacore.com>
2747
2748 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2749 dollar sign before $(MULTIDIR).
2750
2751 2017-05-26 Richard Henderson <rth@redhat.com>
2752
2753 PR libgcc/80037
2754 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2755
2756 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2757
2758 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2759 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2760 * config/arm/unwind-arm.c: Implement the above.
2761
2762 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2763
2764 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2765 section for a non-executable stack.
2766
2767 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2768
2769 PR target/80600
2770 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2771
2772 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
2773
2774 * config.host: Add i386/t-msabi to i386/t-linux file list.
2775 * config/i386/i386-asm.h: New file.
2776 * config/i386/resms64.S: New file.
2777 * config/i386/resms64f.S: New file.
2778 * config/i386/resms64fx.S: New file.
2779 * config/i386/resms64x.S: New file.
2780 * config/i386/savms64.S: New file.
2781 * config/i386/savms64f.S: New file.
2782 * config/i386/t-msabi: New file.
2783
2784 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2785
2786 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2787 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2788
2789 2017-05-05 Joshua Conner <joshconner@google.com>
2790
2791 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2792 pc-relative indirect handling for fuchsia.
2793 * config/t-slibgcc-fuchsia: New file.
2794 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
2795 x86_64-*-fuchsia*): Add definitions.
2796
2797 2017-04-19 Martin Liska <mliska@suse.cz>
2798
2799 PR gcov-profile/80435
2800 * Makefile.in: Install gcov.h.
2801 * gcov.h: New file.
2802 * libgcov.h: Use the header and make __gcov_flush publicly
2803 visible.
2804
2805 2017-04-18 Martin Liska <mliska@suse.cz>
2806
2807 PR gcov-profile/78783
2808 * libgcov-driver.c (gcov_get_filename): New function.
2809
2810 2017-04-07 Jeff Law <law@redhat.com>
2811
2812 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2813 target makefile fragment.
2814 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2815
2816 2017-04-07 Alan Modra <amodra@gmail.com>
2817
2818 PR target/45053
2819 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2820
2821 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
2822
2823 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2824
2825 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2826
2827 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2828
2829 2017-03-10 John Marino <gnugcc@marino.st>
2830
2831 * config/aarch64/freebsd-unwind.h: New file.
2832 * config.host: Add aarch64-*-freebsd unwinder.
2833
2834 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2835
2836 * config/rs6000/crtrestvr.s: Use .machine altivec.
2837 * config/rs6000/crtsavevr.s: Ditto.
2838
2839 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2840
2841 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2842 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2843 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2844 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2845 * configure: Regenerate.
2846 * config.in: Regenerate.
2847
2848 2017-03-02 Jonathan Yong <10walls@gmail.com>
2849
2850 * config/i386/gthr-win32.h: Define NOGDI before
2851 windows.h include to prevent w32api CC_NONE macro
2852 clash with libgfortran.
2853
2854 2017-03-02 Jonathan Yong <10walls@gmail.com>
2855
2856 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2857
2858 2017-02-16 Andrew Pinski <apinski@cavium.com>
2859
2860 * config/aarch64/value-unwind.h: New file.
2861 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2862 to tm_file.
2863
2864 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2865
2866 * config.host: Add RISC-V tuples.
2867 * config/riscv/atomic.c: New file.
2868 * config/riscv/crti.S: Likewise.
2869 * config/riscv/crtn.S: Likewise.
2870 * config/riscv/div.S: Likewise.
2871 * config/riscv/linux-unwind.h: Likewise.
2872 * config/riscv/muldi3.S: Likewise.
2873 * config/riscv/multi3.S: Likewise.
2874 * config/riscv/save-restore.S: Likewise.
2875 * config/riscv/sfp-machine.h: Likewise.
2876 * config/riscv/t-elf: Likewise.
2877 * config/riscv/t-elf32: Likewise.
2878 * config/riscv/t-elf64: Likewise.
2879 * config/riscv/t-softfp32: Likewise.
2880 * config/riscv/t-softfp64: Likewise.
2881
2882 2017-01-24 Jakub Jelinek <jakub@redhat.com>
2883
2884 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2885 /* FALLTHRU */ comments.
2886
2887 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2888
2889 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2890
2891 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2892
2893 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2894 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2895 DW_CFA_GNU_window_save for AArch64 and LP64.
2896
2897 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2898
2899 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2900
2901 2017-01-19 Jiong Wang <jiong.wang@arm.com>
2902
2903 * config/aarch64/aarch64-unwind.h: New file.
2904 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2905 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2906 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2907 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2908 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2909 (aarch64_post_extract_frame_addr): New function.
2910 (aarch64_post_frob_eh_handler_addr): New function.
2911 (aarch64_frob_update_context): New function.
2912 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2913 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2914 aarch64*-*-freebsd*):
2915 Initialize md_unwind_header to include aarch64-unwind.h.
2916 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2917 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2918 __aarch64__.
2919 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2920 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2921 (uw_frob_return_addr): New function.
2922 (uw_install_context): Use uw_frob_return_addr.
2923
2924 2017-01-17 Jakub Jelinek <jakub@redhat.com>
2925
2926 PR other/79046
2927 * configure.ac: Add GCC_BASE_VER.
2928 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2929 version from BASE-VER file.
2930 * configure: Regenerated.
2931
2932 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
2933
2934 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2935 libmul_f5.a): Filter archived prerequisites.
2936
2937 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2938
2939 * config/i386/cpuinfo.h (processor_features): Add
2940 FEATURE_AVX512VPOPCNTDQ.
2941 * config/i386/cpuinfo.c (get_available_features): Habdle new
2942 feature.
2943
2944 2017-01-04 Joseph Myers <joseph@codesourcery.com>
2945
2946 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2947 payload if [__mips_nan2008].
2948
2949 2017-01-04 Alan Modra <amodra@gmail.com>
2950
2951 * Makefile.in (configure_deps): Update.
2952 * configure: Regenerate.
2953
2954 2017-01-01 Jakub Jelinek <jakub@redhat.com>
2955
2956 Update copyright years.
2957
2958 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2959
2960 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2961 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2962 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2963
2964 2016-12-17 Matthias Klose <doko@ubuntu.com>
2965
2966 * config/arc/gmon: Remove empty directory.
2967
2968 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2969
2970 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2971 crtgend.
2972 (arc*-*-elf*): Likewise.
2973 * config/arc/t-arc: Remove old gmon lib targets.
2974 * config/arc/crtg.S: Remove.
2975 * config/arc/crtgend.S: Likewise.
2976 * config/arc/gmon/atomic.h: Likewise.
2977 * config/arc/gmon/auxreg.h: Likewise.
2978 * config/arc/gmon/dcache_linesz.S: Likewise.
2979 * config/arc/gmon/gmon.c: Likewise.
2980 * config/arc/gmon/machine-gmon.h: Likewise.
2981 * config/arc/gmon/mcount.c: Likewise.
2982 * config/arc/gmon/prof-freq-stub.S: Likewise.
2983 * config/arc/gmon/prof-freq.c: Likewise.
2984 * config/arc/gmon/profil.S: Likewise.
2985 * config/arc/gmon/sys/gmon.h: Likewise.
2986 * config/arc/gmon/sys/gmon_out.h: Likewise.
2987 * config/arc/t-arc-newlib: Likewise.
2988 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2989
2990 2016-12-12 George Spelvin <linux@sciencehorizons.net>
2991
2992 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2993
2994 2016-12-12 George Spelvin <linux@sciencehorizons.net>
2995
2996 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2997 R16 instead of push + pop.
2998 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2999
3000 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
3001
3002 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3003 tmake_file.
3004
3005 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
3006
3007 * config.host (arc*-*-linux-uclibc*): Use default extra
3008 objects. Include linux-android header.
3009 * config/arc/crti.S (_init): Declare symbol as function.
3010 (_fini): Likewise.
3011
3012 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3013
3014 PR fortran/78379
3015 * config/i386/cpuinfo.c: Move denums for processor vendors,
3016 processor type, processor subtypes and declaration of
3017 struct __processor_model into
3018 * config/i386/cpuinfo.h: New header file.
3019
3020 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3021 Thomas Preud'homme <thomas.preudhomme@arm.com>
3022
3023 * config/arm/cmse_nonsecure_call.S: New.
3024 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3025
3026 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3027 Thomas Preud'homme <thomas.preudhomme@arm.com>
3028
3029 * config/arm/t-arm (HAVE_CMSE): New.
3030 * config/arm/cmse.c: New.
3031
3032 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3033
3034 PR gcc/74748
3035 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3036 use generic linker version information on Blackfin.
3037
3038 PR gcc/74748
3039 * libgcc/mkmap-symver.awk: add support for skip_underscore
3040
3041 2016-11-27 Iain Sandoe <iain@codesourcery.com>
3042 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3043
3044 PR target/67710
3045 * config/t-darwin: Default builds to 10.5 codegen.
3046
3047 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
3048
3049 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3050 (_FP_NANSIGN_H): Likewise.
3051 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3052 (softfp_truncations): Add tfhf.
3053 (softfp_extras): Add required conversion functions.
3054
3055 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3056 Matthew Wahab <matthew.wahab@arm.com>
3057
3058 * config/arm/fp16.c (binary64): New.
3059 (__gnu_d2h_internal): New.
3060 (__gnu_d2h_ieee): New.
3061 (__gnu_d2h_alternative): New.
3062
3063 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3064 Matthew Wahab <matthew.wahab@arm.com>
3065
3066 * config/arm/fp16.c (struct format): New.
3067 (binary32): New.
3068 (__gnu_float2h_internal): New. Body moved from
3069 __gnu_f2h_internal and generalize.
3070 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3071 Call it with binary32.
3072
3073 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3074
3075 * soft-fp/extendhftf2.c: Update from glibc.
3076 * soft-fp/fixhfti.c: Likewise.
3077 * soft-fp/fixunshfti.c: Likewise.
3078 * soft-fp/floattihf.c: Likewise.
3079 * soft-fp/floatuntihf.c: Likewise.
3080 * soft-fp/half.h: Likewise.
3081 * soft-fp/trunctfhf2.c: Likewise.
3082
3083 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
3084
3085 PR libgcc/77813
3086 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3087 __TMC_END__ behind a passthrough asm.
3088
3089 2016-11-18 Walter Lee <walt@tilera.com>
3090
3091 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3092
3093 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
3094
3095 * config/i386/cpuinfo.c (processor_features): Add
3096 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3097
3098 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
3099
3100 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3101 (__ARC_NORM__): Use instead ARC_OPTFPE.
3102 * config/arc/fp-hack.h: Likewise.
3103 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3104 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3105
3106 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
3107
3108 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3109 * config/nvptx/mgomp.c: New file.
3110 * config/nvptx/t-nvptx: Add mgomp.c
3111
3112 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
3113
3114 PR libgcc/68468
3115 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3116
3117 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
3118
3119 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3120 of checking for cpus.
3121 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3122 (__modsi3, __clzsi2): Likewise.
3123
3124 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3125
3126 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3127 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3128 * config/i386/t-cpuinfo-static: New.
3129
3130 2016-11-03 Martin Liska <mliska@suse.cz>
3131
3132 * libgcov-profiler.c (__gcov_time_profiler): Remove.
3133 (__gcov_time_profiler_atomic): Likewise.
3134
3135 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
3136
3137 PR libgcc/78067
3138 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3139 count_leading_zeros.
3140
3141 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
3142
3143 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3144 * libgcc2.c (__divmoddi4): New function.
3145 * libgcc2.h (__divmoddi4): Declare.
3146 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3147 and __PFX_divmodti4.
3148
3149 2016-10-24 Florian Weimer <fweimer@redhat.com>
3150
3151 PR libgcc/78064
3152 * unwind-c.c: Include auto-target.h.
3153
3154 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
3155
3156 * config/pa/pa64-hpux-lib.h: New file.
3157 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3158 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3159 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3160 hppa*64*-*-hpux11*.
3161
3162 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
3163
3164 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3165 definition.
3166 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3167 definition.
3168 * config/xtensa/t-windowed (LIB2ADDEH): Use
3169 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3170 or xtensa/t-linux.
3171
3172 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
3173
3174 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3175 __ieee754_sqrt): New functions.
3176 (__divdf3): Add implementation with new FPU instructions under
3177 #if XCHAL_HAVE_DFP_DIV.
3178 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3179 __ieee754_sqrtf): New functions.
3180 (__divsf3): Add implementation with new FPU instructions under
3181 #if XCHAL_HAVE_FP_DIV.
3182 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3183 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3184
3185 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3186
3187 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3188 equivalent.
3189 * config/tilepro/atomic.c: Likewise and stop casting model to
3190 enum memmodel.
3191
3192 2016-10-10 Joseph Myers <joseph@codesourcery.com>
3193
3194 PR target/77586
3195 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3196 soft-fp.
3197
3198 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
3199
3200 * config.host: Add support for aarch64-*-freebsd*.
3201
3202 2016-10-05 Andreas Schwab <schwab@suse.de>
3203
3204 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3205 (.section .init_array): Don't call __do_jv_register_classes.
3206 (.section .init): Likewise.
3207
3208 2016-10-04 Jakub Jelinek <jakub@redhat.com>
3209
3210 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3211 (__JCR_LIST__): Remove.
3212 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3213 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3214 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3215 * config/ia64/crtend.S (__JCR_END__): Remove.
3216 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3217 conditionals.
3218 (__JCR_LIST__, __JCR_END__): Remove.
3219 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3220 (__do_global_ctors_1): Likewise.
3221
3222 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
3223
3224 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3225 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3226
3227 2016-09-27 Martin Liska <mliska@suse.cz>
3228
3229 PR gcov-profile/7970
3230 PR gcov-profile/16855
3231 PR gcov-profile/44779
3232 * libgcov-driver.c (__gcov_init): Do not register a atexit
3233 handler.
3234 (__gcov_exit): Rename from gcov_exit.
3235 * libgcov.h (__gcov_exit): Declare.
3236
3237 2016-09-27 Martin Liska <mliska@suse.cz>
3238
3239 PR bootstrap/77749
3240 * Makefile.in: Remove _gcov_merge_delta.
3241 * libgcov-merge.c (void __gcov_merge_delta): Remove.
3242 * libgcov-util.c (__gcov_delta_counter_op): Remove.
3243 * libgcov.h: Remove declaration of __gcov_merge_delta.
3244
3245 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
3246
3247 * configure.ac: Do not create links, only substitute the filenames.
3248 * configure: Regenerate.
3249 * Makefile.in: Assign the substitution results to variables.
3250 (LIBGCC_LINKS): Define.
3251 (enable-execute-stack.c): New rule.
3252 (unwind.h): Likewise.
3253 (md-unwind-support.h): Likewise.
3254 (sfp-machine.h): Likewise.
3255 (gthr-default.h): Likewise.
3256 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3257 unwind.h as prerequisite of install-unwind_h-forbuild.
3258
3259 2016-09-16 Jakub Jelinek <jakub@redhat.com>
3260
3261 PR libgcc/71744
3262 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3263 is not the primary registry and atomics are available.
3264 (any_objects_registered): New variable.
3265 (__register_frame_info_bases, __register_frame_info_table_bases):
3266 Atomically store 1 to any_objects_registered after registering first
3267 unwind info.
3268 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3269
3270 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
3271
3272 PR target/63250
3273 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3274 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3275 (HFtype): Likewise.
3276 (HCtype): Likewise.
3277 (__divhc3): Likewise.
3278 (__mulhc3): Likewise.
3279 * libgcc2.c: Support _mulhc3 and _divhc3.
3280
3281 2016-09-07 Joseph Myers <joseph@codesourcery.com>
3282
3283 PR libgcc/77519
3284 * libgcc2.c (NOTRUNC): Invert settings.
3285
3286 2016-09-06 Martin Liska <mliska@suse.cz>
3287
3288 PR gcov-profile/77378
3289 PR gcov-profile/77466
3290 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3291 conditionaly enable/disable *_atomic functions.
3292
3293 2016-08-26 Joseph Myers <joseph@codesourcery.com>
3294
3295 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3296 where not already enabled.
3297
3298 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3299
3300 * config/mips/linux-unwind.h: Use sys/syscall.h.
3301
3302 2016-08-16 Joseph Myers <joseph@codesourcery.com>
3303
3304 PR libgcc/77265
3305 * soft-fp/adddf3.c: Update from glibc.
3306 * soft-fp/addsf3.c: Likewise.
3307 * soft-fp/addtf3.c: Likewise.
3308 * soft-fp/divdf3.c: Likewise.
3309 * soft-fp/divsf3.c: Likewise.
3310 * soft-fp/divtf3.c: Likewise.
3311 * soft-fp/double.h: Likewise.
3312 * soft-fp/eqdf2.c: Likewise.
3313 * soft-fp/eqsf2.c: Likewise.
3314 * soft-fp/eqtf2.c: Likewise.
3315 * soft-fp/extenddftf2.c: Likewise.
3316 * soft-fp/extended.h: Likewise.
3317 * soft-fp/extendsfdf2.c: Likewise.
3318 * soft-fp/extendsftf2.c: Likewise.
3319 * soft-fp/extendxftf2.c: Likewise.
3320 * soft-fp/fixdfdi.c: Likewise.
3321 * soft-fp/fixdfsi.c: Likewise.
3322 * soft-fp/fixdfti.c: Likewise.
3323 * soft-fp/fixsfdi.c: Likewise.
3324 * soft-fp/fixsfsi.c: Likewise.
3325 * soft-fp/fixsfti.c: Likewise.
3326 * soft-fp/fixtfdi.c: Likewise.
3327 * soft-fp/fixtfsi.c: Likewise.
3328 * soft-fp/fixtfti.c: Likewise.
3329 * soft-fp/fixunsdfdi.c: Likewise.
3330 * soft-fp/fixunsdfsi.c: Likewise.
3331 * soft-fp/fixunsdfti.c: Likewise.
3332 * soft-fp/fixunssfdi.c: Likewise.
3333 * soft-fp/fixunssfsi.c: Likewise.
3334 * soft-fp/fixunssfti.c: Likewise.
3335 * soft-fp/fixunstfdi.c: Likewise.
3336 * soft-fp/fixunstfsi.c: Likewise.
3337 * soft-fp/fixunstfti.c: Likewise.
3338 * soft-fp/floatdidf.c: Likewise.
3339 * soft-fp/floatdisf.c: Likewise.
3340 * soft-fp/floatditf.c: Likewise.
3341 * soft-fp/floatsidf.c: Likewise.
3342 * soft-fp/floatsisf.c: Likewise.
3343 * soft-fp/floatsitf.c: Likewise.
3344 * soft-fp/floattidf.c: Likewise.
3345 * soft-fp/floattisf.c: Likewise.
3346 * soft-fp/floattitf.c: Likewise.
3347 * soft-fp/floatundidf.c: Likewise.
3348 * soft-fp/floatundisf.c: Likewise.
3349 * soft-fp/floatunditf.c: Likewise.
3350 * soft-fp/floatunsidf.c: Likewise.
3351 * soft-fp/floatunsisf.c: Likewise.
3352 * soft-fp/floatunsitf.c: Likewise.
3353 * soft-fp/floatuntidf.c: Likewise.
3354 * soft-fp/floatuntisf.c: Likewise.
3355 * soft-fp/floatuntitf.c: Likewise.
3356 * soft-fp/gedf2.c: Likewise.
3357 * soft-fp/gesf2.c: Likewise.
3358 * soft-fp/getf2.c: Likewise.
3359 * soft-fp/ledf2.c: Likewise.
3360 * soft-fp/lesf2.c: Likewise.
3361 * soft-fp/letf2.c: Likewise.
3362 * soft-fp/muldf3.c: Likewise.
3363 * soft-fp/mulsf3.c: Likewise.
3364 * soft-fp/multf3.c: Likewise.
3365 * soft-fp/negdf2.c: Likewise.
3366 * soft-fp/negsf2.c: Likewise.
3367 * soft-fp/negtf2.c: Likewise.
3368 * soft-fp/op-1.h: Likewise.
3369 * soft-fp/op-2.h: Likewise.
3370 * soft-fp/op-4.h: Likewise.
3371 * soft-fp/op-8.h: Likewise.
3372 * soft-fp/op-common.h: Likewise.
3373 * soft-fp/quad.h: Likewise.
3374 * soft-fp/single.h: Likewise.
3375 * soft-fp/soft-fp.h: Likewise.
3376 * soft-fp/subdf3.c: Likewise.
3377 * soft-fp/subsf3.c: Likewise.
3378 * soft-fp/subtf3.c: Likewise.
3379 * soft-fp/truncdfsf2.c: Likewise.
3380 * soft-fp/trunctfdf2.c: Likewise.
3381 * soft-fp/trunctfsf2.c: Likewise.
3382 * soft-fp/trunctfxf2.c: Likewise.
3383 * soft-fp/unorddf2.c: Likewise.
3384 * soft-fp/unordsf2.c: Likewise.
3385 * soft-fp/unordtf2.c: Likewise.
3386
3387 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
3388
3389 PR gcov-profile/67097
3390 * libgcov-util.c (gcov_profile_merge): Skip missing files.
3391
3392 2016-08-10 Martin Liska <mliska@suse.cz>
3393
3394 PR gcov-profile/58306
3395 * Makefile.in: New functions (modules) are added.
3396 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3397 function.
3398 (__gcov_pow2_profiler_atomic): New function.
3399 (__gcov_one_value_profiler_body): New argument is instroduced.
3400 (__gcov_one_value_profiler): Call with the new argument.
3401 (__gcov_one_value_profiler_atomic): Likewise.
3402 (__gcov_indirect_call_profiler_v2): Likewise.
3403 (__gcov_time_profiler_atomic): New function.
3404 (__gcov_average_profiler_atomic): Likewise.
3405 (__gcov_ior_profiler_atomic): Likewise.
3406 * libgcov.h: Declare the aforementioned functions.
3407
3408 2016-08-09 Martin Liska <mliska@suse.cz>
3409
3410 * libgcov-util.c: Fix typo and GNU coding style.
3411
3412 2016-08-09 Martin Liska <mliska@suse.cz>
3413
3414 * Makefile.in: Remove __gcov_indirect_call_profiler.
3415 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3416 function.
3417 * libgcov.h: And the declaration of the function.
3418
3419 2016-08-09 Martin Liska <mliska@suse.cz>
3420
3421 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3422 power of two.
3423
3424 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3425
3426 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3427 * config/rs6000/_mulkc3.c: Likewise.
3428
3429 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
3430
3431 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3432 zero_reg as previous call to __umulhisi3 already cleared it.
3433
3434 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
3435
3436 PR target/59833
3437 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3438
3439 2016-07-19 Nick Clifton <nickc@redhat.com>
3440
3441 * config.host (m32r): Add m32r/t-m32r to tmake_file.
3442 Add crtinit.o and crtfini.o to extra_parts.
3443
3444 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3445
3446 * config/rs6000/_divkc3.c: New.
3447 * config/rs6000/_mulkc3.c: New.
3448 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3449 and _divkc3.
3450 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3451 fp128_ppc_funcs.
3452
3453 2016-07-11 Hale Wang <hale.wang@arm.com>
3454 Andre Vieira <andre.simoesdiasvieira@arm.com>
3455
3456 * config/arm/lib1funcs.S: Add new wrapper.
3457
3458 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3459
3460 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3461
3462 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3463
3464 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3465 and ARMv5t* rather than for a fixed list of architectures.
3466
3467 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3468
3469 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3470 implementation suitable for.
3471 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3472 for all Thumb-1 only targets.
3473 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3474 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3475 __ARM_ARCH_6M__.
3476 (EQUIV): Likewise.
3477 (ARM_FUNC_ALIAS): Likewise.
3478 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3479 version.
3480 (modsi3): Likewise.
3481 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3482 (clzdi2): Likewise.
3483 (ctzsi2): Likewise.
3484 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3485 __ARM_ARCH_6M__ in guard for checking whether it is defined.
3486 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3487 __ARM_ARCH_6M__ and add comment to indicate the connection between
3488 this condition and the one in gcc/config/arm/elf.h.
3489 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3490 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3491 * config/arm/t-softfp: Likewise.
3492
3493 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3494
3495 * libgcc2.c (SYMBOL__MAIN): Remove checks for
3496 CTOR_LISTS_DEFINED_EXTERNALLY.
3497
3498 2016-06-28 Walter Lee <walt@tilera.com>
3499
3500 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3501 asm/unistd.h.
3502 (SPR_CMPEXCH_VALUE): Define for tilegx.
3503 (__NR_FAST_cmpxchg): Define for tilepro.
3504 (__NR_FAST_atomic_update): Define for tilepro.
3505 (__NR_FAST_cmpxchg64): Define for tilepro.
3506
3507 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
3508
3509 * config.host: Add suport for arm*-*-phoenix* targets.
3510
3511 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3512
3513 * config.host: Remove support for mep-*.
3514 * config/mep/lib1funcs.S: Remove.
3515 * config/mep/lib2funcs.c: Remove.
3516 * config/mep/t-mep: Remove.
3517 * config/mep/tramp.c: Remove.
3518
3519 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3520
3521 * config.host: Remove support for avr-rtems.
3522 * config/avr/t-rtems: Remove.
3523
3524 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3525
3526 * config.host: Remove m32r-rtems support.
3527
3528 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3529
3530 * config.host: Remove h8300-rtems support.
3531
3532 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3533
3534 * config.host: Remove support for knetbsd.
3535
3536 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3537
3538 * config.host: Remove support for openbsd 2 and 3.
3539
3540 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3541
3542 * config.host: Remove interix support.
3543 * config/i386/t-interix: Remove.
3544
3545 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
3546
3547 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3548 least-significant bit in function pointer for fixup.
3549
3550 2016-06-05 Aaron Conole <aconole@redhat.com>
3551 Nathan Sidwell <nathan@acm.org>
3552
3553 PR libgcc/71400
3554 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3555 (get_gcov_error_file): Check __gcov_error_file before trying to
3556 initialize it.
3557 (gcov_error): Always use get_gcov_error_file.
3558
3559 2016-06-02 Aaron Conole <aconole@redhat.com>
3560
3561 * libgcov-driver-system.c (__gcov_error_file): New.
3562 (get_gcov_error_file): New.
3563 (gcov_error): Use and set __gcov_error_file.
3564 (gcov_error_exit): New.
3565 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3566
3567 2016-05-26 Nathan Sidwell <nathan@acm.org>
3568
3569 * config/nvptx/free.asm: Delete.
3570 * config/nvptx/malloc.asm: Delete.
3571 * config/nvptx/realloc.c: Delete.
3572 * t-nvptx: Update.
3573
3574 2016-05-25 Nathan Sidwell <nathan@acm.org>
3575
3576 * config/nvptx/crt0.s: Delete.
3577 * config/nvptx/crt0.c: New.
3578 * t-nvptx: Update.
3579
3580 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
3581
3582 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
3583 dw2/seh configuration.
3584 [x86_64-*-mingw*]: Likewise.
3585
3586 2016-05-10 Joel Sherrill <joel@rtems.org>
3587
3588 PR libgcc/70720
3589 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3590 targets so the same extra_parts are built. Also have tmake_file add
3591 on to its value rather than override.
3592
3593 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
3594
3595 * config.host: Remove SH5 support.
3596 * configure: Likewise.
3597
3598 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
3599
3600 * config/sh/crt1.S: Remove SH5 support.
3601 * config/sh/crti.S: Likewise.
3602 * config/sh/crtn.S: Likewise.
3603 * config/sh/lib1funcs-4-300.S: Likewise.
3604 * config/sh/lib1funcs-Os-4-200.S: Likewise.
3605 * config/sh/lib1funcs.S: Likewise.
3606 * config/sh/linux-unwind.h: Likewise.
3607 * config/sh/t-sh64: Delete.
3608
3609 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
3610
3611 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3612
3613 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
3614 Joern Rennecke <joern.rennecke@embecosm.com>
3615
3616 * config/arc/crttls.S: New file.
3617 * config/arc/t-arc: New rule.
3618 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3619
3620 2016-04-25 Nick Clifton <nickc@redhat.com>
3621
3622 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3623 (__mspabi_cmpd): Likewise.
3624 * config/msp430/floathidf.c (__floathidf): Likewise.
3625 * config/msp430/floathisf.c (__floathisf): Likewise
3626 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3627 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3628 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3629 second parameter.
3630 (__ashrsi3): Likewise.
3631
3632 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
3633
3634 * config/m68k/linux-atomic.c: Do not include unistd.h
3635
3636 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
3637
3638 * config/arm/ieee754-df.S: Fix typos in comments.
3639
3640 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3641
3642 PR target/70381
3643 * configure.ac (powerpc*-*-linux*): Rework tests to build
3644 __float128 emulation routines to not depend on using #pragma GCC
3645 target to enable -mfloat128.
3646 * configure: Regnerate.
3647
3648 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
3649
3650 PR target/67172
3651 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3652 __MINGW32__ is defined.
3653
3654 2016-03-28 James Bowman <james.bowman@ftdichip.com>
3655
3656 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
3657
3658 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
3659
3660 PR libgcc/70363
3661 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3662 built with an assembler that does not support ISA 3.0
3663 instructions, rename __extendkftf2_sw to __extendkftf2.
3664
3665 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3666
3667 PR target/38239
3668 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3669 call-clobbered registers.
3670 (internal_mcount): Remove __i386__ handling.
3671
3672 2016-02-26 Joel Sherrill <joel@rtems.org>
3673
3674 * config.host: Add x86_64-*-rtems*.
3675
3676 2016-02-26 Joel Sherrill <joel@rtems.org>
3677
3678 * libgcc/config.host: Add aarch64-*-rtems*.
3679
3680 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3681 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3682
3683 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3684 union of u64 and double.
3685 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3686 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3687 value.
3688 (FP_ROUNDMODE): Update the usage of _fpscr.
3689
3690 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
3691
3692 PR driver/68463
3693 * Makefile.in (crtoffloadtable$(objext)): New rule.
3694 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3695 enable_offload_targets is not empty.
3696 * configure: Regenerate.
3697 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3698 crtoffloadtable.
3699
3700 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3701
3702 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3703 .literal_position before the function.
3704 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3705 Likewise.
3706
3707 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3708
3709 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3710 * config/s390/morestack.S: New file.
3711 * config/s390/t-stack-s390: New file.
3712 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3713
3714 2016-02-12 Walter Lee <walt@tilera.com>
3715
3716 * config.host (tilegx*-*-linux*): remove ti from
3717 softfp_int_modes for 32-bit configs.
3718
3719 2016-02-10 Ian Lance Taylor <iant@google.com>
3720
3721 PR go/68562
3722 * config/i386/morestack.S (__stack_split_initialize): Align
3723 stack.
3724
3725 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3726
3727 PR bootstrap/69611
3728 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3729 __FLOAT128__ to compile only for __float128 capable targets.
3730
3731 2016-01-25 Jakub Jelinek <jakub@redhat.com>
3732
3733 PR target/69444
3734 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3735 instead of ___NO_FPRS__.
3736
3737 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
3738 Steven Munroe <munroesj@linux.vnet.ibm.com>
3739 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3740
3741 * config/rs6000/float128-sed: New files to convert TF names to KF
3742 names for PowerPC IEEE 128-bit floating point support.
3743 * config/rs6000/float128-sed-hw: Likewise.
3744
3745 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3746 floating point hardware support.
3747
3748 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3749 128-bit floating point software emulation or use ISA 3.0 hardware
3750 support if it is available.
3751
3752 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3753 floating point.
3754
3755 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3756 floating point to IBM extended double.
3757
3758 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3759 double to IEEE 128-bit floating point.
3760
3761 * config/rs6000/t-float128: New Makefile fragments to enable
3762 building __float128 emulation support.
3763 * config/rs6000/t-float128-hw: Likewise.
3764
3765 * config/rs6000/sfp-exceptions.c: New file to provide exception
3766 support for IEEE 128-bit floating point.
3767
3768 * config/rs6000/floattikf.c: New files for converting between IEEE
3769 128-bit floating point and signed/unsigned 128-bit integers.
3770 * config/rs6000/fixunskfti.c: Likewise.
3771 * config/rs6000/fixkfti.c: Likewise.
3772 * config/rs6000/floatuntikf.c: Likewise.
3773
3774 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3775 when building on 64-bit systems, or when VSX is enabled.
3776 (_FP_W_TYPE): Likewise.
3777 (_FP_WS_TYPE): Likewise.
3778 (_FP_I_TYPE): Likewise.
3779 (TItype): Define on 64-bit systems.
3780 (UTItype): Likewise.
3781 (TI_BITS): Likewise.
3782 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3783 (_FP_MUL_MEAT_Q): Likewise.
3784 (_FP_DIV_MEAT_D): Likewise.
3785 (_FP_DIV_MEAT_Q): Likewise.
3786 (_FP_NANFRAC_D): Likewise.
3787 (_FP_NANFRAC_Q): Likewise.
3788 (ISA_BIT): Add exception support if we are being compiled on a
3789 machine with hardware floating point support to build the IEEE
3790 128-bit emulation functions.
3791 (FP_EX_INVALID): Likewise.
3792 (FP_EX_OVERFLOW): Likewise.
3793 (FP_EX_UNDERFLOW): Likewise.
3794 (FP_EX_DIVZERO): Likewise.
3795 (FP_EX_INEXACT): Likewise.
3796 (FP_EX_ALL): Likewise.
3797 (__sfp_handle_exceptions): Likewise.
3798 (FP_HANDLE_EXCEPTIONS): Likewise.
3799 (FP_RND_NEAREST): Likewise.
3800 (FP_RND_ZERO): Likewise.
3801 (FP_RND_PINF): Likewise.
3802 (FP_RND_MINF): Likewise.
3803 (FP_RND_MASK): Likewise.
3804 (_FP_DECL_EX): Likewise.
3805 (FP_INIT_ROUNDMODE): Likewise.
3806 (FP_ROUNDMODE): Likewise.
3807
3808 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3809 VSX code, enable IEEE 128-bit floating point. If the compiler can
3810 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3811 floating point hardware instructions and it supports declaring
3812 functions with the ifunc attribute, enable ifunc functions to
3813 switch between software and hardware support.
3814 * configure.ac (powerpc*-*-linux*): Likewise.
3815 * configure: Regenerate.
3816
3817 2016-01-15 Nick Clifton <nickc@redhat.com>
3818
3819 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3820 dependency as the source file to be compiled.
3821 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3822 (lib2hw_mul_f5.o): Likewise.
3823
3824 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3825
3826 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3827 * libgcc/config/rs6000/fixkfti.c: Likewise.
3828 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3829 * libgcc/config/rs6000/float128-hw.c: Likewise.
3830 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3831 * libgcc/config/rs6000/float128-sed: Likewise.
3832 * libgcc/config/rs6000/floattikf.c: Likewise.
3833 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3834 * libgcc/config/rs6000/quad-float128.h: Likewise.
3835 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3836 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3837 * libgcc/config/rs6000/t-float128: Likewise.
3838 * libgcc/config/rs6000/t-float128-hw: Likewise.
3839 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3840 * libgcc/config.host: Likewise.
3841 * libgcc/configure: Likewise.
3842 * libgcc/configure.ac: Likewise.
3843
3844 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3845 Steven Munroe <munroesj@linux.vnet.ibm.com>
3846 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3847
3848 * config/rs6000/sfp-exceptions.c: New file to provide exception
3849 support for IEEE 128-bit floating point.
3850
3851 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3852 floating point hardware support.
3853
3854 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3855 point conversions.
3856 * config/rs6000/fixunskfti.c: Likewise.
3857 * config/rs6000/fixkfti.c: Likewise.
3858 * config/rs6000/floatuntikf.c: Likewise.
3859 * config/rs6000/extendkftf2-sw.c: Likewise.
3860 * config/rs6000/trunctfkf2-sw.c: Likewise.
3861
3862 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3863 128-bit floating point software emulation or use ISA 3.0 hardware
3864 support if it is available.
3865
3866 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3867 floating point.
3868
3869 * config/rs6000/t-float128: New Makefile fragments to enable
3870 building __float128 emulation support.
3871 * config/rs6000/t-float128-hw: Likewise.
3872
3873 * config/rs6000/float128-sed: New file to convert TF names to KF
3874 names for PowerPC IEEE 128-bit floating point support.
3875
3876 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3877 when building on 64-bit systems, or when VSX is enabled.
3878 (_FP_W_TYPE): Likewise.
3879 (_FP_WS_TYPE): Likewise.
3880 (_FP_I_TYPE): Likewise.
3881 (TItype): Define on 64-bit systems.
3882 (UTItype): Likewise.
3883 (TI_BITS): Likewise.
3884 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3885 (_FP_MUL_MEAT_Q): Likewise.
3886 (_FP_DIV_MEAT_D): Likewise.
3887 (_FP_DIV_MEAT_Q): Likewise.
3888 (_FP_NANFRAC_D): Likewise.
3889 (_FP_NANFRAC_Q): Likewise.
3890 (ISA_BIT): Add exception support if we are being compiled on a
3891 machine with hardware floating point support to build the IEEE
3892 128-bit emulation functions.
3893 (FP_EX_INVALID): Likewise.
3894 (FP_EX_OVERFLOW): Likewise.
3895 (FP_EX_UNDERFLOW): Likewise.
3896 (FP_EX_DIVZERO): Likewise.
3897 (FP_EX_INEXACT): Likewise.
3898 (FP_EX_ALL): Likewise.
3899 (__sfp_handle_exceptions): Likewise.
3900 (FP_HANDLE_EXCEPTIONS): Likewise.
3901 (FP_RND_NEAREST): Likewise.
3902 (FP_RND_ZERO): Likewise.
3903 (FP_RND_PINF): Likewise.
3904 (FP_RND_MINF): Likewise.
3905 (FP_RND_MASK): Likewise.
3906 (_FP_DECL_EX): Likewise.
3907 (FP_INIT_ROUNDMODE): Likewise.
3908 (FP_ROUNDMODE): Likewise.
3909
3910 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3911 compiler can do __float128.
3912 * configure: Regenerate.
3913
3914 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3915 VSX code, enable IEEE 128-bit floating point.
3916
3917 2016-01-05 Olivier Hainque <hainque@adacore.com>
3918
3919 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
3920 specificities.
3921
3922 2016-01-04 Jakub Jelinek <jakub@redhat.com>
3923
3924 Update copyright years.
3925
3926 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3927
3928 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
3929 soft-fp targets.
3930
3931 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3932
3933 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3934 instead of abort to avoid dependency on stdlib.h.
3935
3936 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
3937
3938 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3939 to initialize call to __dl_fixup once.
3940
3941 2015-12-04 Nick Clifton <nickc@redhat.com>
3942
3943 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3944 Allow for the second argument being negative.
3945 * config.host (extra_parts): Define for MSP430. Create separate
3946 libraries for each of the hardware multiply formats.
3947 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3948 that are needed.
3949 * config/msp430/lib2mul.c: Likewise.
3950 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3951 Add rules to build hardware multiply libraries.
3952 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3953 __mspabi_divul function.
3954 (__mspabi_divllu): New stub function.
3955
3956 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
3957
3958 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3959 fixup values if saved GOT address doesn't match runtime address.
3960 (fixup_branch_offset): Reorder list.
3961
3962 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3963
3964 * Makefile.in (VTV_CFLAGS): New variable.
3965 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3966 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3967 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3968 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3969 to extra_parts if $enable_vtable_verify = yes.
3970
3971 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3972
3973 PR target/68059
3974 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3975 (write): ...this and fix the return type.
3976
3977 2015-11-19 DJ Delorie <dj@redhat.com>
3978
3979 * config/msp430/lib2hw_mul.S: Fix alignment.
3980
3981 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3982
3983 * config/nvptx/reduction.c: New.
3984 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3985
3986 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
3987
3988 * config/rs6000/on_exit.c: New file.
3989 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3990 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3991
3992 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3993
3994 * config/arc/dp-hack.h: Add support for ARCHS.
3995 * config/arc/ieee-754/divdf3.S: Likewise.
3996 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3997 * config/arc/ieee-754/muldf3.S: Likewise.
3998 * config/arc/ieee-754/mulsf3.S: Likewise
3999 * config/arc/lib1funcs.S: Likewise
4000 * config/arc/gmon/dcache_linesz.S: Don't read the build register
4001 for ARCv2 cores.
4002 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4003 for ARCv2 cores.
4004 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4005 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4006 cores.
4007
4008 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4009
4010 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4011 value.
4012 * config/ia64/crtend.S: Likewise.
4013
4014 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4015
4016 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4017 __CHAR_BIT__ instead of BITS_PER_UNIT.
4018 * fixed-bit.h: Likewise.
4019 * fp-bit.h: Likewise.
4020 * libgcc2.c (__popcountSI2): Likewise.
4021 (__popcountDI2): Likewise.
4022 * libgcc2.h: Likewise.
4023 * libgcov.h: Likewise.
4024
4025 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
4026
4027 * config/rs6000/atexit.c: New file.
4028 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4029 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4030 * config/rs6000/cxa_finalize.c
4031 (catomic_compare_and_exchange_bool_acq): Negate return value.
4032
4033 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4034
4035 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4036 (processor_subtypes): Add znver1.
4037 (get_amd_cpu): Detect znver1.
4038
4039 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
4040
4041 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4042 Include crtfastmath.o.
4043
4044 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
4045
4046 PR libgcc/66883
4047 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
4048
4049 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
4050
4051 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4052 * config/rl78/divmodsi.S: Update return register to r8.
4053 * config/rl78/divmodhi.S: Update return register to r8,r9.
4054 Branch to main_loop_done_himode to pop registers before return.
4055
4056 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4057
4058 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4059 (__cpu_indicator_init): Fix model selection for AMD CPUs.
4060
4061 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
4062
4063 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4064
4065 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
4066
4067 * config.host (xtensa*-*-uclinux*): New configuration.
4068
4069 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
4070
4071 * config/i386/cpuinfo.c (processor_features): Add
4072 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4073
4074 2015-09-28 Joseph Myers <joseph@codesourcery.com>
4075
4076 * soft-fp/adddf3.c: Update from glibc.
4077 * soft-fp/addsf3.c: Likewise.
4078 * soft-fp/addtf3.c: Likewise.
4079 * soft-fp/divdf3.c: Likewise.
4080 * soft-fp/divsf3.c: Likewise.
4081 * soft-fp/divtf3.c: Likewise.
4082 * soft-fp/double.h: Likewise.
4083 * soft-fp/eqdf2.c: Likewise.
4084 * soft-fp/eqsf2.c: Likewise.
4085 * soft-fp/eqtf2.c: Likewise.
4086 * soft-fp/extenddftf2.c: Likewise.
4087 * soft-fp/extended.h: Likewise.
4088 * soft-fp/extendsfdf2.c: Likewise.
4089 * soft-fp/extendsftf2.c: Likewise.
4090 * soft-fp/extendxftf2.c: Likewise.
4091 * soft-fp/fixdfdi.c: Likewise.
4092 * soft-fp/fixdfsi.c: Likewise.
4093 * soft-fp/fixdfti.c: Likewise.
4094 * soft-fp/fixsfdi.c: Likewise.
4095 * soft-fp/fixsfsi.c: Likewise.
4096 * soft-fp/fixsfti.c: Likewise.
4097 * soft-fp/fixtfdi.c: Likewise.
4098 * soft-fp/fixtfsi.c: Likewise.
4099 * soft-fp/fixtfti.c: Likewise.
4100 * soft-fp/fixunsdfdi.c: Likewise.
4101 * soft-fp/fixunsdfsi.c: Likewise.
4102 * soft-fp/fixunsdfti.c: Likewise.
4103 * soft-fp/fixunssfdi.c: Likewise.
4104 * soft-fp/fixunssfsi.c: Likewise.
4105 * soft-fp/fixunssfti.c: Likewise.
4106 * soft-fp/fixunstfdi.c: Likewise.
4107 * soft-fp/fixunstfsi.c: Likewise.
4108 * soft-fp/fixunstfti.c: Likewise.
4109 * soft-fp/floatdidf.c: Likewise.
4110 * soft-fp/floatdisf.c: Likewise.
4111 * soft-fp/floatditf.c: Likewise.
4112 * soft-fp/floatsidf.c: Likewise.
4113 * soft-fp/floatsisf.c: Likewise.
4114 * soft-fp/floatsitf.c: Likewise.
4115 * soft-fp/floattidf.c: Likewise.
4116 * soft-fp/floattisf.c: Likewise.
4117 * soft-fp/floattitf.c: Likewise.
4118 * soft-fp/floatundidf.c: Likewise.
4119 * soft-fp/floatundisf.c: Likewise.
4120 * soft-fp/floatunditf.c: Likewise.
4121 * soft-fp/floatunsidf.c: Likewise.
4122 * soft-fp/floatunsisf.c: Likewise.
4123 * soft-fp/floatunsitf.c: Likewise.
4124 * soft-fp/floatuntidf.c: Likewise.
4125 * soft-fp/floatuntisf.c: Likewise.
4126 * soft-fp/floatuntitf.c: Likewise.
4127 * soft-fp/gedf2.c: Likewise.
4128 * soft-fp/gesf2.c: Likewise.
4129 * soft-fp/getf2.c: Likewise.
4130 * soft-fp/ledf2.c: Likewise.
4131 * soft-fp/lesf2.c: Likewise.
4132 * soft-fp/letf2.c: Likewise.
4133 * soft-fp/muldf3.c: Likewise.
4134 * soft-fp/mulsf3.c: Likewise.
4135 * soft-fp/multf3.c: Likewise.
4136 * soft-fp/negdf2.c: Likewise.
4137 * soft-fp/negsf2.c: Likewise.
4138 * soft-fp/negtf2.c: Likewise.
4139 * soft-fp/op-1.h: Likewise.
4140 * soft-fp/op-2.h: Likewise.
4141 * soft-fp/op-4.h: Likewise.
4142 * soft-fp/op-8.h: Likewise.
4143 * soft-fp/op-common.h: Likewise.
4144 * soft-fp/quad.h: Likewise.
4145 * soft-fp/single.h: Likewise.
4146 * soft-fp/soft-fp.h: Likewise.
4147 * soft-fp/subdf3.c: Likewise.
4148 * soft-fp/subsf3.c: Likewise.
4149 * soft-fp/subtf3.c: Likewise.
4150 * soft-fp/truncdfsf2.c: Likewise.
4151 * soft-fp/trunctfdf2.c: Likewise.
4152 * soft-fp/trunctfsf2.c: Likewise.
4153 * soft-fp/trunctfxf2.c: Likewise.
4154 * soft-fp/unorddf2.c: Likewise.
4155 * soft-fp/unordsf2.c: Likewise.
4156 * soft-fp/unordtf2.c: Likewise.
4157
4158 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
4159
4160 PR libgcc/67624
4161 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4162
4163 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4164
4165 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4166 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4167 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4168 messages.
4169 (internal_mcount): Likewise.
4170 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4171 crt_compile, add CRTSTUFF_T_CFLAGS_S.
4172
4173 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4174
4175 * configure.ac (libgcc_cv_solaris_crts): New test.
4176 * configure: Regenerate.
4177 * config.in: Regenerate.
4178 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4179 * config/gmon-sol2.c: Rename to ...
4180 * config/sol2/gmon.c: ... this.
4181 Include auto-target.h.
4182 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4183 * config/t-sol2: Rename to ...
4184 * config/sol2/t-sol2: ... this.
4185 (gmon.o): Reflect renaming.
4186 (crtp.o, crtpg.o): New rules.
4187 * config.host (*-*-solaris2*): Reflect renaming.
4188 Use system CRTs if present.
4189 Remove default CRT case.
4190
4191 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
4192
4193 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4194 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4195 __kernel_cmpxchg2.
4196 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4197 (__sync_val_compare_and_swap_##WIDTH): Likewise.
4198 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4199 (__sync_lock_test_and_set_##WIDTH): Likewise.
4200 (__sync_lock_release_##WIDTH): Likewise.
4201 (__sync_fetch_and_##OP##_4): Change result to match type of
4202 __kernel_cmpxchg.
4203 (__sync_##OP##_and_fetch_4): Likewise.
4204 (__sync_val_compare_and_swap_4): Likewise.
4205 (__sync_bool_compare_and_swap_4): likewise.
4206 (__sync_lock_test_and_set_4): Likewise.
4207 (__sync_lock_release_4): Likewise.
4208 (FETCH_AND_OP_2): Add long long variants.
4209 (OP_AND_FETCH_2): Likewise.
4210 (COMPARE_AND_SWAP_2 ): Likewise.
4211 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4212 (SYNC_LOCK_RELEASE_2): Likewise.
4213 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4214
4215 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
4216
4217 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4218 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4219 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4220 (get_available_features): Habdle new features.
4221
4222 2015-09-21 James Bowman <james.bowman@ftdichip.com>
4223
4224 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4225 memory layout. Deal correctly with BSS region larger than 32K.
4226 Handle a watchdog reset like a power-on reset. Clean up unused
4227 code.
4228
4229 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
4230 David Edelsohn <dje.gcc@gmail.com>
4231
4232 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4233 * config/rs6000/crtdbase.S: New file.
4234 * config/rs6000/t-aix-cxa: Build crtdbase.o.
4235
4236 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
4237
4238 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4239 Add support for call0 ABI.
4240
4241 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
4242
4243 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4244
4245 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
4246
4247 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4248 (__GTHREAD_HAS_COND): Likewise.
4249 (__gthread_t): Likewise.
4250 (__gthread_cond_t): Likewise.
4251 (__gthread_time_t): Likewise.
4252 (__GTHREAD_MUTEX_INIT): Likewise.
4253 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4254 (__GTHREAD_COND_INIT): Likewise.
4255 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4256 (__GTHREAD_TIME_INIT): Likewise.
4257 (__gthread_create): Likewise.
4258 (__gthread_join): Likewise.
4259 (__gthread_detach): Likewise.
4260 (__gthread_equal): Likewise.
4261 (__gthread_self): Likewise.
4262 (__gthread_yield): Likewise.
4263 (__gthread_cond_broadcast): Likewise.
4264 (__gthread_cond_signal): Likewise.
4265 (__gthread_cond_wait): Likewise.
4266 (__gthread_cond_timedwait): Likewise.
4267 (__gthread_cond_wait_recursive): Likewise.
4268 (__gthread_cond_destroy): Likewise.
4269 (rtems_gxx_once): Delete.
4270 (rtems_gxx_key_create): Likewise.
4271 (rtems_gxx_key_delete): Likewise.
4272 (rtems_gxx_getspecific): Likewise.
4273 (rtems_gxx_setspecific): Likewise.
4274 (rtems_gxx_mutex_init): Likewise.
4275 (rtems_gxx_mutex_destroy): Likewise.
4276 (rtems_gxx_mutex_lock): Likewise.
4277 (rtems_gxx_mutex_trylock): Likewise.
4278 (rtems_gxx_mutex_unlock): Likewise.
4279 (rtems_gxx_recursive_mutex_init): Likewise.
4280 (rtems_gxx_recursive_mutex_lock): Likewise.
4281 (rtems_gxx_recursive_mutex_trylock): Likewise.
4282 (rtems_gxx_recursive_mutex_unlock): Likewise.
4283 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4284 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4285 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4286 (__gthread_once): Likewise.
4287 (__gthread_key_create): Likewise.
4288 (__gthread_key_delete): Likewise.
4289 (__gthread_getspecific): Likewise.
4290 (__gthread_setspecific): Likewise.
4291 (__gthread_key_t): Use <pthread.h> type.
4292 (__gthread_once_t): Likewise
4293 (__gthread_mutex_t): Use <sys/lock.h> type.
4294 (__gthread_recursive_mutex_t): Likewise
4295 (__gthread_mutex_lock): Use <sys/lock.h> function.
4296 (__gthread_mutex_trylock): Likewise.
4297 (__gthread_mutex_timedlock): Likewise.
4298 (__gthread_mutex_unlock): Likewise.
4299 (__gthread_mutex_destroy): Likewise.
4300 (__gthread_recursive_mutex_lock): Likewise.
4301 (__gthread_recursive_mutex_trylock): Likewise.
4302 (__gthread_recursive_mutex_timedlock): Likewise.
4303 (__gthread_recursive_mutex_unlock): Likewise.
4304 (__gthread_recursive_mutex_destroy): Likewise.
4305
4306 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4307
4308 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4309 context->sp instead of context->cfa.
4310
4311 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4312
4313 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4314 with unwind-dw2-fde-dip.
4315
4316 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4317
4318 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4319 CALL12 followed by series of ENTRY to spill windowed registers.
4320 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4321 instead of making linux spill syscall.
4322
4323 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
4324
4325 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4326 (get_intel_cpu): Likewise.
4327
4328 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
4329
4330 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4331 (get_intel_cpu): Add Knights Landing support.
4332
4333 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
4334
4335 PR target/66954
4336 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4337 (get_available_features): Handle FEATURE_PCLMUL.
4338
4339 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
4340
4341 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4342 Broadwell.
4343
4344 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
4345
4346 PR target/66954
4347 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4348 (get_available_features): Handle FEATURE_AES.
4349
4350 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
4351
4352 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4353 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4354
4355 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
4356
4357 * offloadstuff.c: Constify host data.
4358
4359 2015-07-17 Jan Beulich <jbeulich@suse.com>
4360
4361 * config/t-softfp: Split up "else ifneq".
4362
4363 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4364 Cesar Philippidis <cesar@codesourcery.com>
4365 Chung-Lin Tang <cltang@codesourcery.com>
4366
4367 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4368 for __nios2_arch__ level.
4369
4370 2015-07-13 John Marino <gnugcc@marino.st>
4371
4372 * config/i386/t-dragonfly: New.
4373
4374 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
4375
4376 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4377 better match light-weight syscall argument order.
4378 (__kernel_cmpxchg2): Likewise.
4379 Adjust callers.
4380
4381 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
4382
4383 * config.host: Support i[34567]86-*-elfiamcu target.
4384 * config/t-softfp-sfdftf: New file.
4385 * config/i386/32/t-iamcu: Likewise.
4386 * configure: Regenerated.
4387
4388 2015-06-23 James Lemke <jwlemke@codesourcery.com>
4389
4390 libgcc/config/arm/
4391 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4392
4393 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
4394
4395 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4396
4397 2015-05-27 John Marino <gnugcc@marino.st>
4398
4399 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4400 md_unwind_header
4401 * config/i386/freebsd-unwind.h: New.
4402
4403 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
4404
4405 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4406 i386/t-crtfm to tmake_file.
4407 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4408 (set_fast_math): Use set_fast_math_sse for SSE targets.
4409 * config/i386/t-crtfm: Remove.
4410
4411 2015-05-21 Alan Modra <amodra@gmail.com>
4412
4413 PR libgcc/66225
4414 * config/rs6000/morestack.S: Remove ".abiversion 1".
4415
4416 2015-05-20 Alan Modra <amodra@gmail.com>
4417
4418 * config/rs6000/morestack.S: New.
4419 * config/rs6000/t-stack-rs6000: New.
4420 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4421 to tmake_file.
4422 * generic-morestack.c: Don't build for powerpc 32-bit.
4423
4424 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
4425
4426 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4427 Remove useless endif/ifneq ($(enable_shared),yes) pair.
4428
4429 2015-05-16 James Bowman <james.bowman@ftdichip.com>
4430
4431 * config.host: FT32 target added.
4432 * config/ft32/*: New files for FT32 target.
4433
4434 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
4435
4436 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4437 New macros.
4438 * config/arm/ieee754-df.S: Add CFI directives.
4439 * config/arm/ieee754-sf.S: Add CFI directives.
4440
4441 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
4442
4443 * configure.ac: Include config/sjlj.m4.
4444 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4445 * config.in: Regenerate.
4446 * configure: Likewise.
4447 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4448
4449 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
4450
4451 * libgcov-util.c: Add space between string literal and macro name.
4452
4453 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
4454 Chris Jones <chrisj@nvidia.com>
4455 Joshua Conner <jconner@nvidia.com>
4456
4457 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4458 (arm*-*-uclinux*): Likewise.
4459 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4460 * config/arm/crtfastmath.c: New file.
4461
4462 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
4463
4464 * Makefile.in (real_host_noncanonical): New variable.
4465 (libsubdir): Use it.
4466 * configure.ac (real_host_noncanonical): Compute. Remove special
4467 case for intelmicemul.
4468 * configure: Regenerate.
4469
4470 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4471
4472 * config/frv/elf-lib.h: New file.
4473 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4474 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4475 to tm_file.
4476
4477 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4478
4479 * config/frv/frvbengin.c: Do not include defaults.h
4480 * config/frv/frvend.c: Ditto.
4481
4482 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
4483
4484 * config.host: Add h8300-*-linux
4485 * config/h8300/t-linux: New file.
4486 * config/h8300/lib1funs.s: Change symbol prefix.
4487 * config/h8300/sfp-machine.h: 64bit double support.
4488
4489 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
4490 Szabolcs Nagy <szabolcs.nagy@arm.com>
4491
4492 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4493 Linux if target provides dl_iterate_phdr.
4494
4495 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
4496
4497 PR target/65612
4498 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4499 * config/i386/cpuinfo.c (__cpu_model): Initialize.
4500 (__cpu_indicator_init@GCC_4.8.0): New.
4501 (__cpu_model@GCC_4.8.0): Likewise.
4502 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4503 -DUSE_ELF_SYMVER.
4504
4505 2015-04-16 Nick Clifton <nickc@redhat.com>
4506
4507 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4508 and __modhi3 functions.
4509 * config/rl78/divmodso.S: Add G14 and G13 versions of the
4510 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4511
4512 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
4513
4514 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4515 do-while loop as macro body to avoid warnings.
4516
4517 2015-04-10 Jakub Jelinek <jakub@redhat.com>
4518 Iain Sandoe <iain@codesourcery.com>
4519
4520 PR target/65351
4521 * configure: Regenerate.
4522
4523 2015-04-07 Jakub Jelinek <jakub@redhat.com>
4524 Iain Sandoe <iain@codesourcery.com>
4525
4526 PR target/65351
4527 * configure: Regenerate.
4528
4529 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
4530
4531 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4532
4533 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
4534
4535 Implement call0 ABI for xtensa
4536 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4537 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4538 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4539 use ret in call0 ABI.
4540 * config/xtensa/t-windowed: New file.
4541 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4542 * libgcc/configure: Regenerated.
4543 * libgcc/configure.ac: Check if xtensa target is configured for
4544 windowed ABI and thus needs to use custom unwind code.
4545
4546 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
4547
4548 PR libgcc/64885
4549 * gthr-single.h: Use __unused__ attribute instead of unused.
4550 * config/gthr-vxworks.h: Likewise.
4551 * config/i386/gthr-win32.h: Likewise.
4552
4553 2015-02-27 Kai Tietz <ktietz@redhat.com>
4554
4555 PR target/65038
4556 * config.in: Regenerated.
4557 * configure: Likewise.
4558 * configure.ac (AC_HEADER_STDC): Added explicit.
4559 (AC_CHECK_HEADERS): Check for default headers plus
4560 for ftw.h header.
4561 * libgcov-util.c (gcov_read_profile_dir): Disable use
4562 of ftw-function, if header is not found.
4563 (ftw_read_file): Likewise.
4564
4565 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
4566
4567 PR target/65181
4568 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4569 -Dinhibit_libc.
4570
4571 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
4572
4573 * config/arm/bpabi.S (test_div_by_zero): Make label names
4574 consistent between thumb2 and arm mode cases. Separate the
4575 signed comparison on the high word of the numerator from the
4576 unsigned comparison on the low word.
4577 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4578 signed comparison.
4579
4580 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4581
4582 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4583 and <string.h>.
4584 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4585
4586 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
4587
4588 PR gcov-profile/61889
4589 * libgcov-driver-system.c: undefine clashing macro for mkdir.
4590
4591 2015-02-02 Nick Clifton <nickc@redhat.com>
4592
4593 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4594 rounding up the fraction.
4595
4596 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
4597
4598 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4599 oldval and newval to const void *. Fix typo.
4600 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4601 (FETCH_AND_OP_WORD): Likewise.
4602 (OP_AND_FETCH_WORD): Likewise.
4603 (COMPARE_AND_SWAP_2): Likewise.
4604 (__sync_val_compare_and_swap_4): Likewise.
4605 (__sync_lock_test_and_set_4): Likewise.
4606 (SYNC_LOCK_RELEASE_2): Likewise.
4607 Remove support for long long atomic operations.
4608
4609 2015-01-27 Caroline Tice <cmtice@google.com>
4610
4611 Committing VTV Cywin/Ming patch for Patrick Wollgast
4612 * Makefile.in: Move rules to build vtv_*.o out of the check
4613 for CUSTOM_CRTSTUFF.
4614 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4615 i[34567]86-*-mingw*)
4616 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4617 enable_vtable_verify.
4618
4619 2015-01-27 Nick Clifton <nickc@redhat.com>
4620
4621 * config/rl78/cmpsi2.S: Use function start and end macros.
4622 (__gcc_bcmp): New function.
4623 * config/rl78/lshrsi3.S: Use function start and end macros.
4624 * config/rl78/mulsi3.S: Add support for G10.
4625 (__mulqi3): New function for G10.
4626 * config/rl78/signbit.S: Use function start and end macros.
4627 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4628 fpmath-sf.S.
4629 (LIB2FUNCS_EXCLUDE): Define.
4630 (LIB2FUNCS_ST): Define.
4631 * config/rl78/trampoline.S: Use function start and end macros.
4632 * config/rl78/vregs.h (START_FUNC): New macro.
4633 (START_ANOTHER_FUNC): New macro.
4634 (END_FUNC): New macro.
4635 (END_ANOTHER_FUNC): New macro.
4636 * config/rl78/bit-count.S: New file. Contains assembler
4637 implementations of the bit counting functions: ___clzhi2,
4638 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4639 __paritysi2, __popcounthi2 and __popcountsi2.
4640 * config/rl78/fpbit-sf.S: New file. Contains assembler
4641 implementationas of the math functions: __negsf2, __cmpsf2,
4642 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4643 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
4644 * config/rl78/fpmath-sf.S: New file. Contains assembler
4645 implementations of the math functions: __subsf3, __addsf3,
4646 __mulsf3 and __divsf3
4647
4648 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4649
4650 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4651 Add i386/elf-lib.h to tm_file.
4652 * config/i386/elf-lib.h: Fix comment.
4653 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4654 && __sun__ && __svr4__]: Remove workaround.
4655
4656 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4657
4658 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4659 FEATURE_BMI2.
4660 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4661
4662 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
4663
4664 * config/i386/cpuinfo.c (processor_subtypes): Add
4665 INTEL_COREI7_BROADWELL.
4666 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4667 model numbers.
4668
4669 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
4670
4671 * config/i386/elf-lib.h: New file.
4672 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4673 Wrap definition in #ifdef __i386__.
4674 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4675 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4676 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4677 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4678 to tm_file.
4679
4680 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
4681
4682 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4683 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4684
4685 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
4686
4687 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4688 Update rt_sigframe format and address for current Nios II
4689 Linux conventions.
4690
4691 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
4692
4693 * config.host (arm*-*-freebsd*): Add new configuration for
4694 arm*-*-freebsd*.
4695 * config/arm/freebsd-atomic.c: New file.
4696 * config/arm/t-freebsd: Likewise.
4697 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4698 'PC-relative indirect' OS's.
4699
4700 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
4701
4702 * config.host: Add Visium support.
4703 * config/visium: New directory.
4704
4705 2015-01-05 Jakub Jelinek <jakub@redhat.com>
4706
4707 Update copyright years.
4708
4709 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4710
4711 * config.host: Support mipsisa32r6 and mipsisa64r6.
4712 * config/mips/mips16.S: Do not build for R6.
4713
4714 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4715
4716 * config/sh/crt.h: New.
4717 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4718 symbols.
4719 * config/sh/crt1.S: Likewise.
4720
4721 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
4722
4723 PR libgcc/63832
4724 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4725 func_ptr *dtor_list temporary variable to avoid "array subscript
4726 is above array bounds" warnings.
4727
4728 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
4729
4730 * Makefile.in (with_aix_soname): Define.
4731 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4732 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4733 * configure: Recreate.
4734
4735 2014-12-05 Olivier Hainque <hainque@adacore.com>
4736
4737 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4738 now provided by defaults.h.
4739
4740 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4741
4742 PR target/55351
4743 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4744 whether it's defined.
4745
4746 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4747
4748 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4749 * config/i386/cpuinfo.c (get_available_features): Detect it.
4750
4751 2014-11-27 Tony Wang <tony.wang@arm.com>
4752
4753 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4754 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4755 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4756
4757 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4758
4759 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4760
4761 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
4762
4763 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4764 instead.
4765
4766 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4767 John David Anglin <danglin@gcc.gnu.org>
4768
4769 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4770 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4771 (OP_AND_FETCH_2): Likewise.
4772 (COMPARE_AND_SWAP_2): Likewise.
4773 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4774 (SYNC_LOCK_RELEASE_2): Likewise.
4775 (SUBWORD_SYNC_OP): Remove.
4776 (SUBWORD_VAL_CAS): Likewise.
4777 (SUBWORD_BOOL_CAS): Likewise.
4778 (FETCH_AND_OP_WORD): Update.
4779 Consistently use signed types.
4780
4781 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4782 Thomas Schwinge <thomas@codesourcery.com>
4783 Ilya Verbin <ilya.verbin@intel.com>
4784 Andrey Turetskiy <andrey.turetskiy@intel.com>
4785
4786 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4787 (crtoffloadend$(objext)): Likewise.
4788 * configure: Regenerate.
4789 * configure.ac (accel_dir_suffix): Compute new variable.
4790 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4791 if enable_offload_targets is not empty.
4792 * offloadstuff.c: New file.
4793
4794 2014-11-13 Nick Clifton <nickc@redhat.com>
4795
4796 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4797 Use START_FUNC and END_FUNC macros to enable linker garbage
4798 collection.
4799 * config/rl78/divmodqi.S: Likewise.
4800 * config/rl78/divmodsi.S: Likewise.
4801 * config/rl78/mulsi3.S: Likewise.
4802 * config/rl78/lib2div.c: Remove G10 functions.
4803 * config/rl78/lib2muls.c: Likewise.
4804 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4805 * config/rl78/vregs.h (START_FUNC): New macro.
4806 (END_FUNC): New macro.
4807
4808 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4809
4810 * config/mips/mips16.S: Set .module when supported. Update O32
4811 FP64 calling convention and use for FPXX when possible. Add FPXX
4812 calling convention fallback case.
4813
4814 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4815
4816 * config.host: Handle nvptx-*-*.
4817 * shared-object.mk (as-flags-$o): Define.
4818 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4819 -xassembler-with-cpp.
4820 * static-object.mk: Identical changes.
4821 * config/nvptx/t-nvptx: New file.
4822 * config/nvptx/crt0.s: New file.
4823 * config/nvptx/free.asm: New file.
4824 * config/nvptx/malloc.asm: New file.
4825 * config/nvptx/realloc.c: New file.
4826
4827 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4828
4829 * Makefile.in (libgcc.map.in): New target.
4830 (libgcc.map): Use libgcc.map.in.
4831 * config/t-softfp (softfp_compat): New variable to be set by
4832 users.
4833 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4834 variables.
4835 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4836 directory.
4837 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4838 that use compat symbols and disable all code unless [SHARED].
4839 * config/t-softfp-compat: New file.
4840 * find-symver.awk: New file.
4841 * configure.ac (--with-glibc-version): New configure option.
4842 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4843 * configure: Regenerate.
4844 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4845 soft-float and e500.
4846
4847 2014-10-29 Joseph Myers <joseph@codesourcery.com>
4848
4849 * config/t-hardfp (hardfp_exclusions): Document new variable for
4850 user to define.
4851 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4852 * config/t-softfp (softfp_extras): Document new variable for user
4853 to define.
4854 (softfp_func_list): Add functions from $(softfp_extras).
4855 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4856 * config.host (powerpc*-*-linux*): For e500v1, use
4857 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4858 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4859 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4860
4861 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
4862
4863 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4864 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4865 memory read accesses are ok.
4866
4867 2014-10-25 Joseph Myers <joseph@codesourcery.com>
4868
4869 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4870 * configure: Regenerate.
4871 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4872 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4873 of soft-fp for 32-bit classic hard float. Do not use
4874 t-softfp-excl for soft float.
4875
4876 2014-10-22 Joseph Myers <joseph@codesourcery.com>
4877
4878 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4879 configurations.
4880 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4881 Remove variables.
4882
4883 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
4884
4885 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4886 introduced with 2014-10-21 trunk r216525.
4887
4888 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
4889 Vidya Praveen <vidya.praveen@atmel.com>
4890 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4891 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4892 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
4893
4894 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4895 order.
4896
4897 Updated library functions for AVRTINY arch.
4898 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4899 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4900 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4901 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4902 wsubi/wadi macors.
4903 (__mulsi3_helper): Update stack, preserve callee saved regs and
4904 argument from stack. Restore callee save registers.
4905 (__mulpsi3): Likewise.
4906 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4907 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
4908 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
4909 AVRTINY.
4910 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4911 (__do_copy_data): Added new definition for AVRTINY.
4912 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4913 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4914 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4915 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4916 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4917 macors.
4918 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
4919 AVRTINY.
4920
4921 Fix broken long multiplication on tiny arch.
4922
4923 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4924
4925 * soft-fp/double.h: Update from glibc.
4926 * soft-fp/eqdf2.c: Likewise.
4927 * soft-fp/eqsf2.c: Likewise.
4928 * soft-fp/eqtf2.c: Likewise.
4929 * soft-fp/extenddftf2.c: Likewise.
4930 * soft-fp/extended.h: Likewise.
4931 * soft-fp/extendsfdf2.c: Likewise.
4932 * soft-fp/extendsftf2.c: Likewise.
4933 * soft-fp/extendxftf2.c: Likewise.
4934 * soft-fp/gedf2.c: Likewise.
4935 * soft-fp/gesf2.c: Likewise.
4936 * soft-fp/getf2.c: Likewise.
4937 * soft-fp/ledf2.c: Likewise.
4938 * soft-fp/lesf2.c: Likewise.
4939 * soft-fp/letf2.c: Likewise.
4940 * soft-fp/op-1.h: Likewise.
4941 * soft-fp/op-2.h: Likewise.
4942 * soft-fp/op-4.h: Likewise.
4943 * soft-fp/op-8.h: Likewise.
4944 * soft-fp/op-common.h: Likewise.
4945 * soft-fp/quad.h: Likewise.
4946 * soft-fp/single.h: Likewise.
4947 * soft-fp/soft-fp.h: Likewise.
4948 * soft-fp/unorddf2.c: Likewise.
4949 * soft-fp/unordsf2.c: Likewise.
4950 * soft-fp/unordtf2.c: Likewise.
4951 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4952 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4953 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4954 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4955 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4956 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4957 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4958 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4959 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4960 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4961
4962 2014-10-08 Rong Xu <xur@google.com>
4963
4964 * libgcov-util.c (read_gcda_file): Fix format.
4965 (find_match_gcov_info): Ditto.
4966 (calculate_2_entries): New.
4967 (compute_one_gcov): Ditto.
4968 (gcov_info_count_all_cold): Ditto.
4969 (gcov_info_count_all_zero): Ditto.
4970 (extract_file_basename): Ditto.
4971 (get_file_basename): Ditto.
4972 (set_flag): Ditto.
4973 (matched_gcov_info): Ditto.
4974 (calculate_overlap): Ditto.
4975 (gcov_profile_overlap): Ditto.
4976 * libgcov-driver.c (compute_summary): Make
4977 it avavilable for external calls.
4978
4979 2014-10-06 Rong Xu <xur@google.com>
4980
4981 * Makefile.in: Ditto.
4982 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4983 (gcov_sort_icall_topn_counter): Ditto.
4984 (gcov_sort_topn_counter_arrays): Ditto.
4985 (dump_one_gcov): Sort indirect_call topn counters.
4986 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4987 function.
4988 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4989 utility function.
4990 (__gcov_indirect_call_topn_profiler): New profiler function.
4991 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4992 * libgcov.h: New decls.
4993
4994 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4995
4996 * config.host: Remove support for score-*.
4997
4998 2014-09-22 Joseph Myers <joseph@codesourcery.com>
4999
5000 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5001 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5002 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5003 __LIBGCC_XF_MANT_DIG__.
5004 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5005 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5006 __LIBGCC_TF_MANT_DIG__.
5007 * libgcc2.c (NOTRUNC): Define in terms of
5008 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5009 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5010
5011 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5012
5013 PR target/63312
5014 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5015 New macros.
5016
5017 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
5018
5019 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5020 override USE_PT_GNU_EH_FRAME.
5021 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5022 check USE_EH_FRAME_REGISTRY_ALWAYS against
5023 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5024 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5025 variable for substituted force_explicit_eh_registry.
5026 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5027 * configure.ac (explicit-exception-frame-registration):
5028 New AC_ARG_ENABLE.
5029 * configure: Regenerate.
5030
5031 2014-09-19 Olivier Hainque <hainque@adacore.com>
5032
5033 * config.host (powerpc-wrs-vxworksmils): New configuration,
5034 same as vxworksae.
5035
5036 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5037
5038 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5039
5040 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5041
5042 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5043 bits not set bits as indicating trapping exceptions.
5044
5045 2014-09-17 Nathan sidwell <nathan@acm.org>
5046
5047 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5048 (LIBGCOV_DRIVER): ... here.
5049 * libgcov-driver.c (gcov_master): New.
5050 (gcov_exit): Remove from master chain.
5051 (__gcov_init): Add to master chain if version compatible. Don't
5052 clear the version.
5053 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5054 (gcov_reset_int): Clear master chain, if compatible.
5055 (gcov_dump_int): New internal interface. Dump master chain, if
5056 compatible.
5057 (gcov_dump): Alias for gcov_dump_int.
5058 * libgcov.h (struct gcov_root): Add next and prev fields.
5059 (struct gcov_master): New struct.
5060 (__gcov_master): New.
5061 (gcov_dump_int): Declare.
5062
5063 2014-09-17 Olivier Hainque <hainque@adacore.com>
5064
5065 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5066 and crtbegin.o + crtend.o to extra_parts.
5067
5068 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5069
5070 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5071 __LIBGCC_HAS_SF_MODE__.
5072 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5073 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5074 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5075 * config/libbid/bid_gcc_intrinsics.h
5076 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5077 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5078 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5079 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5080 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5081 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5082
5083 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
5084
5085 PR target/63223
5086 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5087 and R24 as needed. Make work for all devices and .text locations.
5088 (__do_global_ctors, __do_global_dtors): Use word addresses.
5089 (__tablejump__, __tablejump_elpm__): Remove functions.
5090 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5091 Add _tablejump2.
5092 (XICALL, XIJMP): New macros.
5093
5094 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
5095 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5096
5097 * config.host (aarch64*): Include crtfastmath.o and
5098 t-crtfm.
5099 * config/aarch64/crtfastmath.c: New file.
5100
5101 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
5102
5103 * config.host: Remove picochip support.
5104 * config/picochip/adddi3.S: Remove.
5105 * config/picochip/ashlsi3.S: Remove.
5106 * config/picochip/ashlsi3.c: Remove.
5107 * config/picochip/ashrsi3.S: Remove.
5108 * config/picochip/ashrsi3.c: Remove.
5109 * config/picochip/clzsi2.S: Remove.
5110 * config/picochip/cmpsi2.S: Remove.
5111 * config/picochip/divmod15.S: Remove.
5112 * config/picochip/divmodhi4.S: Remove.
5113 * config/picochip/divmodsi4.S: Remove.
5114 * config/picochip/lib1funcs.S: Remove.
5115 * config/picochip/longjmp.S: Remove.
5116 * config/picochip/lshrsi3.S: Remove.
5117 * config/picochip/lshrsi3.c: Remove.
5118 * config/picochip/parityhi2.S: Remove.
5119 * config/picochip/popcounthi2.S: Remove.
5120 * config/picochip/setjmp.S: Remove.
5121 * config/picochip/subdi3.S: Remove.
5122 * config/picochip/t-picochip: Remove.
5123 * config/picochip/ucmpsi2.S: Remove.
5124 * config/picochip/udivmodhi4.S: Remove.
5125 * config/picochip/udivmodsi4.S: Remove.
5126
5127 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5128
5129 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5130 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5131 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5132 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5133 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
5134 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5135 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
5136 defined and LIBGCC2_HAS_DF_MODE is defined.
5137 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
5138 defined and LIBGCC2_HAS_XF_MODE is defined.
5139 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
5140 defined and LIBGCC2_HAS_TF_MODE is defined.
5141
5142 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5143
5144 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5145 and ROUND_TOWARDS_ZERO conditionals.
5146
5147 2014-09-07 Nathan sidwell <nathan@acm.org>
5148
5149 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5150 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
5151
5152 2014-09-05 Joseph Myers <joseph@codesourcery.com>
5153
5154 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5155 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5156 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5157 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5158 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5159 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5160 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5161 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5162 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5163 (DWARF_FRAME_REGISTERS): Change all uses to
5164 __LIBGCC_DWARF_FRAME_REGISTERS__.
5165 (EH_RETURN_STACKADJ_RTX): Change all uses to
5166 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5167 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5168 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
5169 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5170 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5171 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5172 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5173 to __LIBGCC_EH_FRAME_SECTION_NAME__.
5174 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5175 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5176 __LIBGCC_STACK_POINTER_REGNUM__.
5177 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5178 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5179 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5180 to __LIBGCC_STACK_POINTER_REGNUM__.
5181 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5182 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5183 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5184 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5185 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5186 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5187 (STACK_POINTER_REGNUM): Change all uses to
5188 __LIBGCC_STACK_POINTER_REGNUM__.
5189 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5190 use to __LIBGCC_STACK_POINTER_REGNUM__.
5191 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5192 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5193 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5194 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5195 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5196 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5197 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5198 to __LIBGCC_STACK_POINTER_REGNUM__.
5199 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5200 Remove conditional definition.
5201 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5202 __LIBGCC_TEXT_SECTION_ASM_OP__.
5203 (EH_FRAME_SECTION_NAME): Change all uses to
5204 __LIBGCC_EH_FRAME_SECTION_NAME__.
5205 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5206 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5207 (CTORS_SECTION_ASM_OP): Change all uses to
5208 __LIBGCC_CTORS_SECTION_ASM_OP__.
5209 (DTORS_SECTION_ASM_OP): Change all uses to
5210 __LIBGCC_DTORS_SECTION_ASM_OP__.
5211 (JCR_SECTION_NAME): Change all uses to
5212 __LIBGCC_JCR_SECTION_NAME__.
5213 (INIT_SECTION_ASM_OP): Change all uses to
5214 __LIBGCC_INIT_SECTION_ASM_OP__.
5215 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5216 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5217 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5218 __LIBGCC_STACK_GROWS_DOWNWARD__.
5219 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5220 __LIBGCC_INIT_SECTION_ASM_OP__.
5221 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5222 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5223 (EH_FRAME_SECTION_NAME): Change all uses to
5224 __LIBGCC_EH_FRAME_SECTION_NAME__.
5225 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5226 definitions. Change all uses to
5227 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5228 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5229 __LIBGCC_STACK_GROWS_DOWNWARD__.
5230 (DWARF_FRAME_REGISTERS): Change all uses to
5231 __LIBGCC_DWARF_FRAME_REGISTERS__.
5232 (EH_RETURN_STACKADJ_RTX): Change all uses to
5233 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5234 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5235 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5236 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5237 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5238 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5239
5240 2014-09-02 Nathan sidwell <nathan@acm.org>
5241
5242 * libgcov-interface.c (STRONG_ALIAS): New.
5243 (__gcov_flush): Call __gcov_reset_int.
5244 (__gcov_reset): Strong alias for ...
5245 (__gcov_reset_ing): ... this renamed hidden version.
5246 * libgcov.h (__gcov_reset_int): New declaration.
5247
5248 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
5249
5250 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5251 call from here...
5252 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5253 (__dso_handle): Define on Cygwin.
5254 * config/i386/t-cygming (crtbeginS.o): New rule.
5255 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5256
5257 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5258 declaration syntax.
5259
5260 2014-08-13 Steve Ellcey <sellcey@mips.com>
5261
5262 * crtstuff.c: Undef caddr_t.
5263
5264 2014-08-12 Steve Ellcey <sellcey@mips.com>
5265
5266 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
5267
5268 2014-08-07 Nathan Sidwell <nathan@acm.org>
5269
5270 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5271 (LIBGCOV_DRIVER): ... to here.
5272 * libgcov.h (gcov_do_dump): New #define.
5273 (struct gcov_root): New.
5274 (__gcov_root): New declaration.
5275 (__gcov_dump_one): Declare.
5276 * libgcov-driver.c (gcov_list, gcov_dump_complete,
5277 run_accounted): Delete.
5278 (gcov_compute_histogram): Add LIST argument, adjust.
5279 (compute_summary): Adjust gcov_compute_histogram call.
5280 (gcov_do_dump): Not hidden, static in libgcov.
5281 (gcov_clear): Move to interface.c.
5282 (__gcov_dump_one): New, broken out of ...
5283 (gcov_exit): ... here. Make static.
5284 (__gcov_root): New.
5285 (__gcov_init): Adjust.
5286 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5287 declarations.
5288 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5289 (gcov_clear): Moved from driver.c. Add LIST argument.
5290 (__gcov_reset): Adjust for changed interfaces.
5291 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5292
5293 2014-08-04 Rohit <rohitarulraj@freescale.com>
5294
5295 PR target/60102
5296 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
5297 based on change in SPE high register numbers and 3 HTM registers.
5298
5299 2014-08-01 Nathan Sidwell <nathan@acm.org>
5300
5301 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5302 LIBGCOV_INTERFACE): Reformat.
5303 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5304 IN_GCOV_TOOL.
5305 * libgcov-interface.c: Reformat some comments.
5306 (__gcov_flush_mx): Add declaration. Tidy up definition.
5307
5308 2014-07-31 Alan Modra <amodra@gmail.com>
5309 Peter Bergner <bergner@vnet.ibm.com>
5310
5311 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5312 (pack_ldouble): New function.
5313 (__gcc_qadd): Use it.
5314 (__gcc_qmul): Likewise.
5315 (__gcc_qdiv): Likewise.
5316 (__gcc_qneg): Likewise.
5317 (__gcc_stoq): Likewise.
5318 (__gcc_dtoq): Likewise.
5319
5320 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
5321
5322 * config/s390/tpf-unwind.h: Include <stdbool.h>.
5323 (__tpf_eh_return): Add original return address as second parameter.
5324 Handle cases where unwinder routines were called directly, instead
5325 of from within the C++ library.
5326
5327 2014-07-29 Nathan Sidwell <nathan@acm.org>
5328
5329 * libgcov.h: Move renaming of entry points to lib gcov specific
5330 portion.
5331 (gcov_do_dump): New rename.
5332 (gcov_rewrite): Remove inline, make HIDDEN.
5333 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5334 (gcov_exit_compute_summary): Rename to ...
5335 (compute_summary): ... here. Add LIST argument.
5336 (gcov_exit_merge_gcda): Rename to ...
5337 (merge_one_data): ... here.
5338 (gcov_exit_write_gcda): Rename to ...
5339 (write_one_data): ... here.
5340 (gcov_exit_merge_summary): Rename to ...
5341 (merge_summary): Add RUN_COUNTED argument.
5342 (gcov_exit_dump_gcov): Rename to ...
5343 (dump_one_gcov): Add RUN_COUNTED argument.
5344 (gcov_do_dump): New function, broken out of ...
5345 (gcov_exit): ... here. Call it.
5346
5347 2014-07-27 Anthony Green <green@moxielogic.com>
5348
5349 * config.host: Add moxiebox configuration suppport.
5350
5351 2014-07-27 Nathan Sidwell <nathan@acm.org>
5352
5353 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5354 (struct gcov_filename): ... here. Include buffer and max length
5355 fields.
5356 (gcov_max_filename): Remove.
5357 (gi_filename): Remove.
5358 (gcov_exit_compute_summary): Compute max filename here.
5359 (gcov_exit_merge_gcda): Add filename parm, adjust.
5360 (gcov_exit_merge_summary): Likewise.
5361 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5362 (gcov_exit): Likewise.
5363 (__gcov_init): Don't calculate max length here.
5364 * libgcov_util.c (max_filename_len): Remove.
5365 (read_gcda_file): Don't calculate max length here.
5366 (gcov_read_profile_dir): Don't propagate here.
5367 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5368 struct gcov_filename changes.
5369 (gcov_exit_open_gcda_file): Likewise.
5370
5371 2014-07-25 Nathan Sidwell <nathan@acm.org>
5372
5373 * libgcov-driver.c (set_gcov_dump_complete,
5374 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5375 functions polluting user's namespace.
5376 (gcov_exit): Set variable directly.
5377 (gcov_clear): Reset variable directly.
5378 * libgcov-interface.c (get_gcov_dymp_complete,
5379 reset_gov_dump_complete): Remove declarations.
5380 (__gcov_reset, __gcov_dump): Don't call them.
5381
5382 2014-07-24 DJ Delorie <dj@redhat.com>
5383
5384 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5385 (__gcc_deregister_frame): Move logic to detect deregister function
5386 to ...
5387 (__gcc_register_frame): here, so it's consistent with the register
5388 logic.
5389
5390 2014-07-23 Nathan Sidwell <nathan@acm.org>
5391
5392 * libgcov-driver.c (set_gcov_list): Remove.
5393 (gcov_list): Make non-static in GCOV_TOOL.
5394 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5395
5396 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
5397
5398 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5399 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5400 Don't use SYNC_LOCK_RELEASE for int type.
5401
5402 2014-07-14 Richard Biener <rguenther@suse.de>
5403
5404 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5405
5406 2014-07-11 Rong Xu <xur@google.com>
5407
5408 * libgcov-util.c (gcov_max_filename): Fix declartion.
5409
5410 2014-07-10 Rong Xu <xur@google.com>
5411
5412 Add gcov-tool: an offline gcda profile processing tool
5413 Support.
5414 * libgcov-driver.c (gcov_max_filename): Make available
5415 to gcov-tool.
5416 * libgcov-merge.c (__gcov_merge_add): Replace
5417 gcov_read_counter() with a Macro.
5418 (__gcov_merge_ior): Ditto.
5419 (__gcov_merge_time_profile): Ditto.
5420 (__gcov_merge_single): Ditto.
5421 (__gcov_merge_delta): Ditto.
5422 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5423 in the utility functions.
5424 (set_fn_ctrs): Utility function for reading gcda files to in-memory
5425 gcov_list object link lists.
5426 (tag_function): Ditto.
5427 (tag_blocks): Ditto.
5428 (tag_arcs): Ditto.
5429 (tag_lines): Ditto.
5430 (tag_counters): Ditto.
5431 (tag_summary): Ditto.
5432 (read_gcda_finalize): Ditto.
5433 (read_gcda_file): Ditto.
5434 (ftw_read_file): Ditto.
5435 (read_profile_dir_init): Ditto.
5436 (gcov_read_profile_dir): Ditto.
5437 (gcov_read_counter_mem): Ditto.
5438 (gcov_get_merge_weight): Ditto.
5439 (merge_wrapper): A wrapper function that calls merging handler.
5440 (gcov_merge): Merge two gcov_info objects with weights.
5441 (find_match_gcov_info): Find the matched gcov_info in the list.
5442 (gcov_profile_merge): Merge two gcov_info object lists.
5443 (__gcov_add_counter_op): Process edge profile counter values.
5444 (__gcov_ior_counter_op): Process IOR profile counter values.
5445 (__gcov_delta_counter_op): Process delta profile counter values.
5446 (__gcov_single_counter_op): Process single profile counter values.
5447 (fp_scale): Callback function for float-point scaling.
5448 (int_scale): Callback function for integer fraction scaling.
5449 (gcov_profile_scale): Scaling profile counters.
5450 (gcov_profile_normalize): Normalize profile counters.
5451 * libgcov.h: Add headers and functions for gcov-tool use.
5452 (gcov_get_counter): New.
5453 (gcov_get_counter_target): Ditto.
5454 (struct gcov_info): Make the functions field mutable in gcov-tool
5455 compilation.
5456
5457 2014-06-23 Kai Tietz <ktietz@redhat.com>
5458
5459 PR libgcc/61585
5460 * unwind-seh.c (_Unwind_GetGR): Check for proper
5461 index range.
5462 (_Unwind_SetGR): Likewise.
5463
5464 2014-05-22 Nick Clifton <nickc@redhat.com>
5465
5466 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5467 -mhwmult=none.
5468
5469 2014-05-22 Teresa Johnson <tejohnson@google.com>
5470
5471 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5472 include.
5473
5474 2014-05-20 John Marino <gnugcc@marino.st>
5475
5476 * config.host (*-*-dragonfly*): New target.
5477 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5478 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5479 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5480 * config/i386/dragonfly-unwind.h: New.
5481
5482 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5483
5484 PR libgcc/60166
5485 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5486 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5487
5488 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
5489
5490 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5491 implementation.
5492
5493 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
5494
5495 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5496
5497 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5498
5499 PR libgcc/61097
5500 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5501 if --enable-shared.
5502
5503 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
5504
5505 Work around for current cygwin32 build problems.
5506 * config/i386/cygming-crtbegin.c (__register_frame_info,
5507 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5508 functions only for 64-bit systems.
5509
5510 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5511
5512 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5513 (sigill_caught, sigill_hdlr): Remove.
5514
5515 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5516
5517 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5518 check.
5519 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5520 Solaris 9 single-threaded support.
5521 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5522 Solaris 9 single-threaded support. Add call_user_handler code
5523 sequences.
5524 (sparc_is_sighandler): Likewise.
5525
5526 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5527
5528 * config.host: Append t-floattodi to tmake_file depending on
5529 host_address.
5530
5531 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
5532
5533 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
5534
5535 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
5536
5537 PR libgcc/60472
5538 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
5539 variable to avoid "array subscript is above array bounds" warnings.
5540 Use __builtin_expect when checking *jcr_list for NULL.
5541
5542 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5543
5544 PR libgcc/59339
5545 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5546 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5547 vtv_*.o to extra_parts if enable_vtable_verify.
5548
5549 2014-03-06 Nick Clifton <nickc@redhat.com>
5550
5551 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5552 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5553
5554 2014-02-28 Joey Ye <joey.ye@arm.com>
5555
5556 PR libgcc/60166
5557 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5558 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5559 Set to zero.
5560
5561 2014-02-24 Walter Lee <walt@tilera.com>
5562
5563 * config.host: Support "tilegx*" and "tilepro*" triplets.
5564 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5565 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5566
5567 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
5568 Chung-Lin Tang <cltang@codesourcery.com>
5569
5570 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5571 * config/nios2/crti.S: Remove .file directive.
5572 * config/nios2/crtn.S: Likewise.
5573
5574 2014-02-18 Kai Tietz <ktietz@redhat.com>
5575 Jonathan Schleifer <js@webkeks.org>
5576
5577 PR objc/56870
5578 * unwind-seh.c (_GCC_specific_handler): Pass proper
5579 value to unwind-handler.
5580
5581 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5582
5583 * soft-fp/adddf3.c: Update from glibc.
5584 * soft-fp/addsf3.c: Likewise.
5585 * soft-fp/addtf3.c: Likewise.
5586 * soft-fp/divdf3.c: Likewise.
5587 * soft-fp/divsf3.c: Likewise.
5588 * soft-fp/divtf3.c: Likewise.
5589 * soft-fp/double.h: Likewise.
5590 * soft-fp/eqdf2.c: Likewise.
5591 * soft-fp/eqsf2.c: Likewise.
5592 * soft-fp/eqtf2.c: Likewise.
5593 * soft-fp/extenddftf2.c: Likewise.
5594 * soft-fp/extended.h: Likewise.
5595 * soft-fp/extendsfdf2.c: Likewise.
5596 * soft-fp/extendsftf2.c: Likewise.
5597 * soft-fp/extendxftf2.c: Likewise.
5598 * soft-fp/fixdfdi.c: Likewise.
5599 * soft-fp/fixdfsi.c: Likewise.
5600 * soft-fp/fixdfti.c: Likewise.
5601 * soft-fp/fixsfdi.c: Likewise.
5602 * soft-fp/fixsfsi.c: Likewise.
5603 * soft-fp/fixsfti.c: Likewise.
5604 * soft-fp/fixtfdi.c: Likewise.
5605 * soft-fp/fixtfsi.c: Likewise.
5606 * soft-fp/fixtfti.c: Likewise.
5607 * soft-fp/fixunsdfdi.c: Likewise.
5608 * soft-fp/fixunsdfsi.c: Likewise.
5609 * soft-fp/fixunsdfti.c: Likewise.
5610 * soft-fp/fixunssfdi.c: Likewise.
5611 * soft-fp/fixunssfsi.c: Likewise.
5612 * soft-fp/fixunssfti.c: Likewise.
5613 * soft-fp/fixunstfdi.c: Likewise.
5614 * soft-fp/fixunstfsi.c: Likewise.
5615 * soft-fp/fixunstfti.c: Likewise.
5616 * soft-fp/floatdidf.c: Likewise.
5617 * soft-fp/floatdisf.c: Likewise.
5618 * soft-fp/floatditf.c: Likewise.
5619 * soft-fp/floatsidf.c: Likewise.
5620 * soft-fp/floatsisf.c: Likewise.
5621 * soft-fp/floatsitf.c: Likewise.
5622 * soft-fp/floattidf.c: Likewise.
5623 * soft-fp/floattisf.c: Likewise.
5624 * soft-fp/floattitf.c: Likewise.
5625 * soft-fp/floatundidf.c: Likewise.
5626 * soft-fp/floatundisf.c: Likewise.
5627 * soft-fp/floatunditf.c: Likewise.
5628 * soft-fp/floatunsidf.c: Likewise.
5629 * soft-fp/floatunsisf.c: Likewise.
5630 * soft-fp/floatunsitf.c: Likewise.
5631 * soft-fp/floatuntidf.c: Likewise.
5632 * soft-fp/floatuntisf.c: Likewise.
5633 * soft-fp/floatuntitf.c: Likewise.
5634 * soft-fp/gedf2.c: Likewise.
5635 * soft-fp/gesf2.c: Likewise.
5636 * soft-fp/getf2.c: Likewise.
5637 * soft-fp/ledf2.c: Likewise.
5638 * soft-fp/lesf2.c: Likewise.
5639 * soft-fp/letf2.c: Likewise.
5640 * soft-fp/muldf3.c: Likewise.
5641 * soft-fp/mulsf3.c: Likewise.
5642 * soft-fp/multf3.c: Likewise.
5643 * soft-fp/negdf2.c: Likewise.
5644 * soft-fp/negsf2.c: Likewise.
5645 * soft-fp/negtf2.c: Likewise.
5646 * soft-fp/op-1.h: Likewise.
5647 * soft-fp/op-2.h: Likewise.
5648 * soft-fp/op-4.h: Likewise.
5649 * soft-fp/op-8.h: Likewise.
5650 * soft-fp/op-common.h: Likewise.
5651 * soft-fp/quad.h: Likewise.
5652 * soft-fp/single.h: Likewise.
5653 * soft-fp/soft-fp.h: Likewise.
5654 * soft-fp/subdf3.c: Likewise.
5655 * soft-fp/subsf3.c: Likewise.
5656 * soft-fp/subtf3.c: Likewise.
5657 * soft-fp/truncdfsf2.c: Likewise.
5658 * soft-fp/trunctfdf2.c: Likewise.
5659 * soft-fp/trunctfsf2.c: Likewise.
5660 * soft-fp/trunctfxf2.c: Likewise.
5661 * soft-fp/unorddf2.c: Likewise.
5662 * soft-fp/unordsf2.c: Likewise.
5663 * soft-fp/unordtf2.c: Likewise.
5664 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5665 macro.
5666 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5667 Likewise.
5668 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5669 Likewise.
5670 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5671 Likewise.
5672 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5673 Likewise.
5674 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5675 Likewise.
5676 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5677 Likewise.
5678 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5679 Likewise.
5680 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5681 Likewise.
5682 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5683 Likewise.
5684 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5685 Likewise.
5686 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5687 Likewise.
5688 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5689 Likewise.
5690 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5691 Likewise.
5692 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5693 Likewise.
5694 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5695 Likewise.
5696
5697 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5698
5699 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5700 cannot be represented.
5701 * config/s390/32/_fixsfdi.c: Likewise.
5702 * config/s390/32/_fixtfdi.c: Likewise.
5703 * config/s390/32/_fixunsdfdi.c: Likewise.
5704 * config/s390/32/_fixunssfdi.c: Likewise.
5705 * config/s390/32/_fixunstfdi.c: Likewise.
5706
5707 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5708
5709 * configure.ac (libgcc_cv_mips_hard_float): New.
5710 * configure: Regenerate.
5711 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5712 t-softfp-sfdf for hard-float targets.
5713 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5714 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5715 (softfp_truncations, softfp_exclude_libgcc2): New.
5716 * config/t-hardfp: New file.
5717 * config/t-hardfp-sfdf: Likewise.
5718 * config/hardfp.c: Likewise.
5719
5720 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5721
5722 * config.host: Include t-floattodi also for s390x.
5723 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5724 * config/s390/32/_fixsfdi.c: Likewise.
5725 * config/s390/32/_fixtfdi.c: Likewise.
5726 * config/s390/32/_fixunsdfdi.c: Likewise.
5727 * config/s390/32/_fixunssfdi.c: Likewise.
5728 * config/s390/32/_fixunstfdi.c: Likewise.
5729
5730 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5731
5732 PR target/59788
5733 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5734 (install-libgcc-unwind-map-forbuild): New target.
5735 (all): Depend on install-libgcc-unwind-map-forbuild.
5736 (install-libgcc-unwind-map): New target.
5737 (install): Depend on install-libgcc-unwind-map.
5738
5739 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5740
5741 * config/nios2/crti.S (_init): Initialize GOT pointer from
5742 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5743
5744 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5745
5746 * configure.ac: Check __mips64 when setting host_address.
5747 * configure: Regenerate.
5748 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5749 mips/t-mips64 and t-softfp.
5750 (mips*-*-linux*): Don't add mips/t-tpbit.
5751 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5752 (DPBIT, DPBIT_CFLAGS): Delete.
5753 * config/mips/sfp-machine.h: New file.
5754 * config/mips/t-mips64: Likewise.
5755 * config/mips/t-softfp-tf: Likewise.
5756 * config/mips/t-tpbit: Delete.
5757
5758 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5759
5760 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5761 as long long.
5762
5763 2014-01-25 Walter Lee <walt@tilera.com>
5764
5765 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5766 config.h or system.h.
5767 (bool) Define.
5768
5769 2014-01-25 Walter Lee <walt@tilera.com>
5770
5771 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5772 (post_atomic_barrier): Ditto.
5773 (__fetch_and_do): New macro.
5774 (__atomic_fetch_and_do): Use __fetch_and_do.
5775 (__sync_fetch_and_do): New macro.
5776 (__sync_fetch_and_add_4): New function.
5777 (__sync_fetch_and_sub_4): New function.
5778 (__sync_fetch_and_or_4): New function.
5779 (__sync_fetch_and_and_4): New function.
5780 (__sync_fetch_and_xor_4): New function.
5781 (__sync_fetch_and_nand_4): New function.
5782 (__sync_fetch_and_add_8): New function.
5783 (__sync_fetch_and_sub_8): New function.
5784 (__sync_fetch_and_or_8): New function.
5785 (__sync_fetch_and_and_8): New function.
5786 (__sync_fetch_and_xor_8): New function.
5787 (__sync_fetch_and_nand_8): New function.
5788 (__do_and_fetch): New macro.
5789 (__atomic_do_and_fetch): Use __do_and_fetch.
5790 (__sync_do_and_fetch): New macro.
5791 (__sync_add_and_fetch_4): New function.
5792 (__sync_sub_and_fetch_4): New function.
5793 (__sync_or_and_fetch_4): New function.
5794 (__sync_and_and_fetch_4): New function.
5795 (__sync_xor_and_fetch_4): New function.
5796 (__sync_nand_and_fetch_4): New function.
5797 (__sync_add_and_fetch_8): New function.
5798 (__sync_sub_and_fetch_8): New function.
5799 (__sync_or_and_fetch_8): New function.
5800 (__sync_and_and_fetch_8): New function.
5801 (__sync_xor_and_fetch_8): New function.
5802 (__sync_nand_and_fetch_8): New function.
5803 (__sync_exchange_methods): New macro.
5804 (__sync_val_compare_and_swap_4): New function.
5805 (__sync_bool_compare_and_swap_4): New function.
5806 (__sync_lock_test_and_test_4): New function.
5807 (__sync_val_compare_and_swap_8): New function.
5808 (__sync_bool_compare_and_swap_8): New function.
5809 (__sync_lock_test_and_test_8): New function.
5810 (__subword_cmpxchg_body): New macro.
5811 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5812 (__atomic_compare_exchange_2): Ditto.
5813 (__sync_subword_cmpxchg): New macro.
5814 (__sync_val_compare_and_swap_1): New function.
5815 (__sync_bool_compare_and_swap_1): New function.
5816 (__sync_val_compare_and_swap_2): New function.
5817 (__sync_bool_compare_and_swap_2): New function.
5818 (__atomic_subword): Rename to ...
5819 (__subword): ... New name.
5820 (__atomic_subword_fetch): Use __subword.
5821 (__sync_subword_fetch): New macro.
5822 (__sync_fetch_and_add_1): New function.
5823 (__sync_fetch_and_sub_1): New function.
5824 (__sync_fetch_and_or_1): New function.
5825 (__sync_fetch_and_and_1): New function.
5826 (__sync_fetch_and_xor_1): New function.
5827 (__sync_fetch_and_nand_1): New function.
5828 (__sync_fetch_and_add_2): New function.
5829 (__sync_fetch_and_sub_2): New function.
5830 (__sync_fetch_and_or_2): New function.
5831 (__sync_fetch_and_and_2): New function.
5832 (__sync_fetch_and_xor_2): New function.
5833 (__sync_fetch_and_nand_2): New function.
5834 (__sync_add_and_fetch_1): New function.
5835 (__sync_sub_and_fetch_1): New function.
5836 (__sync_or_and_fetch_1): New function.
5837 (__sync_and_and_fetch_1): New function.
5838 (__sync_xor_and_fetch_1): New function.
5839 (__sync_nand_and_fetch_1): New function.
5840 (__sync_add_and_fetch_2): New function.
5841 (__sync_sub_and_fetch_2): New function.
5842 (__sync_or_and_fetch_2): New function.
5843 (__sync_and_and_fetch_2): New function.
5844 (__sync_xor_and_fetch_2): New function.
5845 (__sync_nand_and_fetch_2): New function.
5846 (__atomic_subword_lock): Use __subword.
5847 (__sync_subword_lock): New macro.
5848 (__sync_lock_test_and_set_1): New function.
5849 (__sync_lock_test_and_set_2): New function.
5850
5851 2014-01-25 Walter Lee <walt@tilera.com>
5852
5853 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5854 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5855 (__atomic_subword): Ditto.
5856
5857 2014-01-25 Walter Lee <walt@tilera.com>
5858
5859 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5860 a prefix op argument.
5861 (__atomic_nand_fetch_4): Add prefix op.
5862 (__atomic_nand_fetch_8): Ditto.
5863
5864 2014-01-21 Baruch Siach <barch@tkos.co.il>
5865
5866 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5867
5868 2014-01-09 Rong Xu <xur@google.com>
5869
5870 * libgcov-driver.c (this_prg): make it local to save
5871 bss space.
5872 (gcov_exit_compute_summary): Ditto.
5873 (gcov_exit_merge_gcda): Ditto.
5874 (gcov_exit_merge_summary): Ditto.
5875 (gcov_exit_dump_gcov): Ditto.
5876
5877 2014-01-08 Rong Xu <xur@google.com>
5878
5879 * libgcov-driver.c: Use libgcov.h.
5880 (buffer_fn_data): Use xmalloc instead of malloc.
5881 (gcov_exit_merge_gcda): Ditto.
5882 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5883 * libgcov.h: New common header files for libgcov-*.h.
5884 * libgcov-interface.c: Use libgcov.h
5885 * libgcov-merge.c: Ditto.
5886 * libgcov-profiler.c: Ditto.
5887 * Makefile.in: Add dependence to libgcov.h
5888
5889 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5890
5891 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5892 case of small numerator and finite nonzero result.
5893
5894 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5895
5896 Update copyright years
5897
5898 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5899
5900 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5901 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5902 config/arc/dp-hack.h, config/arc/fp-hack.h,
5903 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5904 config/arc/ieee-754/arc600-dsp/divdf3.S,
5905 config/arc/ieee-754/arc600-dsp/divsf3.S,
5906 config/arc/ieee-754/arc600-dsp/muldf3.S,
5907 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5908 config/arc/ieee-754/arc600-mul64/divdf3.S,
5909 config/arc/ieee-754/arc600-mul64/divsf3.S,
5910 config/arc/ieee-754/arc600-mul64/muldf3.S,
5911 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5912 config/arc/ieee-754/arc600/divsf3.S,
5913 config/arc/ieee-754/arc600/mulsf3.S,
5914 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5915 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5916 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5917 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5918 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5919 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5920 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5921 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5922 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5923 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5924 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5925 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5926 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5927 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5928 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5929 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5930 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5931 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5932 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5933 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5934 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5935 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5936 vtv_start_preinit.c: Use the standard form for the copyright notice.
5937
5938 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5939 Chung-Lin Tang <cltang@codesourcery.com>
5940 Based on patches from Altera Corporation
5941
5942 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5943 * config/nios2/lib2-nios2.h: New file.
5944 * config/nios2/lib2-divmod-hi.c: New file.
5945 * config/nios2/linux-unwind.h: New file.
5946 * config/nios2/lib2-divmod.c: New file.
5947 * config/nios2/linux-atomic.c: New file.
5948 * config/nios2/t-nios2: New file.
5949 * config/nios2/crti.asm: New file.
5950 * config/nios2/t-linux: New file.
5951 * config/nios2/lib2-divtable.c: New file.
5952 * config/nios2/lib2-mul.c: New file.
5953 * config/nios2/tramp.c: New file.
5954 * config/nios2/crtn.asm: New file.
5955
5956 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
5957
5958 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5959 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5960 from cpuid.h to check vendor signatures.
5961
5962 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5963
5964 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
5965 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5966 (get_amd_cpu): Likewise.
5967
5968 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5969
5970 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5971 Haswell.
5972
5973 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5974 H.J. Lu <hongjiu.lu@intel.com>
5975
5976 PR target/59422
5977 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
5978 and AMD_JAGUAR.
5979 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5980 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5981 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5982 FEATURE_XOP and FEATURE_FMA.
5983 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5984 AMDFAM15H_BDVER3.
5985 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
5986 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
5987 FEATURE_FMA4 and FEATURE_XOP.
5988
5989 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5990
5991 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5992 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5993 (get_intel_cpu): Updated.
5994
5995 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5996
5997 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5998
5999 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
6000
6001 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6002 instructions when __SSE_MATH__ is defined.
6003
6004 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
6005
6006 * config.host (microblaze-*-rtems*): New.
6007
6008 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
6009
6010 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6011 architectures that do not have hardware divide instruction.
6012 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6013
6014 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6015
6016 * longlong.h: Delete (moved to include/).
6017
6018 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6019
6020 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6021 of normal number and qNaN to not raise an inexact exception.
6022
6023 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
6024
6025 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6026
6027 2013-11-28 Matthew Leach <matthew.leach@arm.com>
6028
6029 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6030 for correct opcodes on BE.
6031
6032 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
6033
6034 * soft-fp/op-4.h: Update from glibc.
6035
6036 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6037
6038 * libgcc2.c (__udivmoddi4): Define new implementation when
6039 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6040 divide instructions.
6041
6042 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
6043
6044 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6045
6046 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6047
6048 * config/t-softfp (soft-fp-objects-base): New variable.
6049 (soft-fp-objects): Use it.
6050
6051 2013-11-23 David Edelson <dje.gcc@gmail.com>
6052 Andrew Dixie <andrewd@gentrack.com>
6053
6054 PR target/33704
6055 * config/rs6000/aixinitfini.c: New file.
6056 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6057 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6058 symbols.
6059
6060 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
6061
6062 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
6063
6064 2013-11-18 Jan Hubicka <jh@suse.cz>
6065
6066 * libgcov-driver.c (run_accounted): Make global level static.
6067 (gcov_exit_merge_summary): Silence warning; do not clear
6068 run_accounted here.
6069 (gcov_exit): Clear it here.
6070
6071 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6072 run_accounted.
6073
6074 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6075 (all_prg, crc32): Remove static vars.
6076 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6077 all_prg.
6078 (gcov_exit_merge_gcda): Add crc32 parameter.
6079 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6080 do not account run if it was already accounted.
6081 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6082 (gcov_exit): Initialize all_prg; update.
6083
6084 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
6085
6086 * configure: Regenerate.
6087
6088 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6089 Alan Modra <amodra@gmail.com>
6090
6091 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6092 (frob_update_context): Use it.
6093
6094 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6095 Alan Modra <amodra@gmail.com>
6096
6097 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6098 (trampoline_initial): Provide ELFv2 variant.
6099 (__trampoline_setup): Likewise.
6100
6101 * config/rs6000/linux-unwind.h (frob_update_context): Do not
6102 check for AIX indirect function call sequence if _CALL_ELF == 2.
6103
6104 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6105 Alan Modra <amodra@gmail.com>
6106
6107 * config/rs6000/linux-unwind.h (get_regs): Do not support
6108 old kernel versions if _CALL_ELF == 2.
6109 (frob_update_context): Do not support PLT stub variants only
6110 generated by old linkers if _CALL_ELF == 2.
6111
6112 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6113 Alan Modra <amodra@gmail.com>
6114
6115 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6116 location of CR save area for 64-bit little-endian systems.
6117
6118 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
6119
6120 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6121 in tmake_file.
6122 * config/arm/t-vxworks: Delete.
6123
6124 2013-11-10 Kai Tietz <ktietz@redhat.com>
6125
6126 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6127 Increment load-count on use of LIBGCC_SONAME DLL.
6128 (hmod_libgcc): New static variable to hold handle of
6129 LIBGCC_SONAME DLL.
6130 (__gcc_deregister_frame): Decrement load-count of
6131 LIBGCC_SONAME DLL.
6132
6133 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
6134
6135 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6136 availability.
6137 * configure: Regenerate
6138
6139 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
6140
6141 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6142 FP_EX_DENORM. Store result to volatile location after SSE division
6143 to close interrupt window. Remove unneeded fwait after x87
6144 division since interrupt window will be closed by emitted fstp.
6145 Rewrite FP_EX_INEXACT handling.
6146
6147 2013-11-06 Joseph Myers <joseph@codesourcery.com>
6148
6149 * soft-fp/README: Update.
6150 * soft-fp/adddf3.c: Update from glibc.
6151 * soft-fp/addsf3.c: Likewise.
6152 * soft-fp/addtf3.c: Likewise.
6153 * soft-fp/divdf3.c: Likewise.
6154 * soft-fp/divsf3.c: Likewise.
6155 * soft-fp/divtf3.c: Likewise.
6156 * soft-fp/double.h: Likewise.
6157 * soft-fp/eqdf2.c: Likewise.
6158 * soft-fp/eqsf2.c: Likewise.
6159 * soft-fp/eqtf2.c: Likewise.
6160 * soft-fp/extenddftf2.c: Likewise.
6161 * soft-fp/extended.h: Likewise.
6162 * soft-fp/extendsfdf2.c: Likewise.
6163 * soft-fp/extendsftf2.c: Likewise.
6164 * soft-fp/extendxftf2.c: Likewise.
6165 * soft-fp/fixdfdi.c: Likewise.
6166 * soft-fp/fixdfsi.c: Likewise.
6167 * soft-fp/fixdfti.c: Likewise.
6168 * soft-fp/fixsfdi.c: Likewise.
6169 * soft-fp/fixsfsi.c: Likewise.
6170 * soft-fp/fixsfti.c: Likewise.
6171 * soft-fp/fixtfdi.c: Likewise.
6172 * soft-fp/fixtfsi.c: Likewise.
6173 * soft-fp/fixtfti.c: Likewise.
6174 * soft-fp/fixunsdfdi.c: Likewise.
6175 * soft-fp/fixunsdfsi.c: Likewise.
6176 * soft-fp/fixunsdfti.c: Likewise.
6177 * soft-fp/fixunssfdi.c: Likewise.
6178 * soft-fp/fixunssfsi.c: Likewise.
6179 * soft-fp/fixunssfti.c: Likewise.
6180 * soft-fp/fixunstfdi.c: Likewise.
6181 * soft-fp/fixunstfsi.c: Likewise.
6182 * soft-fp/fixunstfti.c: Likewise.
6183 * soft-fp/floatdidf.c: Likewise.
6184 * soft-fp/floatdisf.c: Likewise.
6185 * soft-fp/floatditf.c: Likewise.
6186 * soft-fp/floatsidf.c: Likewise.
6187 * soft-fp/floatsisf.c: Likewise.
6188 * soft-fp/floatsitf.c: Likewise.
6189 * soft-fp/floattidf.c: Likewise.
6190 * soft-fp/floattisf.c: Likewise.
6191 * soft-fp/floattitf.c: Likewise.
6192 * soft-fp/floatundidf.c: Likewise.
6193 * soft-fp/floatundisf.c: Likewise.
6194 * soft-fp/floatunditf.c: Likewise.
6195 * soft-fp/floatunsidf.c: Likewise.
6196 * soft-fp/floatunsisf.c: Likewise.
6197 * soft-fp/floatunsitf.c: Likewise.
6198 * soft-fp/floatuntidf.c: Likewise.
6199 * soft-fp/floatuntisf.c: Likewise.
6200 * soft-fp/floatuntitf.c: Likewise.
6201 * soft-fp/gedf2.c: Likewise.
6202 * soft-fp/gesf2.c: Likewise.
6203 * soft-fp/getf2.c: Likewise.
6204 * soft-fp/ledf2.c: Likewise.
6205 * soft-fp/lesf2.c: Likewise.
6206 * soft-fp/letf2.c: Likewise.
6207 * soft-fp/muldf3.c: Likewise.
6208 * soft-fp/mulsf3.c: Likewise.
6209 * soft-fp/multf3.c: Likewise.
6210 * soft-fp/negdf2.c: Likewise.
6211 * soft-fp/negsf2.c: Likewise.
6212 * soft-fp/negtf2.c: Likewise.
6213 * soft-fp/op-1.h: Likewise.
6214 * soft-fp/op-2.h: Likewise.
6215 * soft-fp/op-4.h: Likewise.
6216 * soft-fp/op-8.h: Likewise.
6217 * soft-fp/op-common.h: Likewise.
6218 * soft-fp/quad.h: Likewise.
6219 * soft-fp/single.h: Likewise.
6220 * soft-fp/soft-fp.h: Likewise.
6221 * soft-fp/subdf3.c: Likewise.
6222 * soft-fp/subsf3.c: Likewise.
6223 * soft-fp/subtf3.c: Likewise.
6224 * soft-fp/truncdfsf2.c: Likewise.
6225 * soft-fp/trunctfdf2.c: Likewise.
6226 * soft-fp/trunctfsf2.c: Likewise.
6227 * soft-fp/trunctfxf2.c: Likewise.
6228 * soft-fp/unorddf2.c: Likewise.
6229 * soft-fp/unordsf2.c: Likewise.
6230 * soft-fp/unordtf2.c: Likewise.
6231
6232 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
6233
6234 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6235 (_FP_MUL_MEAT_D): Ditto.
6236 (_FP_DIV_MEAT_S): Ditto.
6237 (_FP_DIV_MEAT_D): Ditto.
6238 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6239 t-softfp-sfdf and t-softfp to tmake_file.
6240
6241 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
6242
6243 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6244 * config/i386/crtprec.c: Ditto.
6245
6246 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
6247 Shiva Chen <shiva0217@gmail.com>
6248
6249 * config.host (nds32*-elf*): Add nds32 target.
6250 * config/nds32 : New directory and files.
6251
6252 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
6253
6254 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
6255 * config.host (cpu_type) <Setting default>: Add entry for
6256 crisv32-*-*.
6257 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6258 <crisv32-*-linux*>: Adjust.
6259 * longlong.h: Wrap the whole CRIS section in a single
6260 defined(__CRIS__) conditional. Add comment about add_ssaaaa
6261 and sub_ddmmss.
6262 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6263 defined.
6264 [__CRIS__] (__umulsidi3): Define.
6265 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6266 * config/cris/sfp-machine.h: New file.
6267 * config/cris/umulsidi3.S: New file.
6268 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6269 * config/cris/arit.c (SIGNMULT): New macro.
6270 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6271 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6272 saving 3 out of originally 33 cycles from the fastest
6273 path, 3 out of 54 from the medium path and one from the longest
6274 path. Improve comments.
6275
6276 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
6277
6278 * sync.c: Remove static aliases and define each function directly
6279 under its real name.
6280
6281 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
6282
6283 * config.host (hppa*64*-*-linux*): Define extra_parts.
6284 (hppa*-*-linux*): Likewise.
6285
6286 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
6287
6288 * config/arc/crtgend.S: Add 2013 to Copyright years.
6289 * config/arc/gmon/atomic.h: Likewise.
6290 * config/arc/gmon/auxreg.h: Likewise.
6291 * config/arc/gmon/sys/gmon_out.h: Likewise.
6292 * config/arc/gmon/sys/gmon.h: Likewise.
6293 * config/arc/gmon/prof-freq.c: Likewise.
6294 * config/arc/gmon/mcount.c: Likewise.
6295 * config/arc/gmon/prof-freq-stub.S: Likewise.
6296 * config/arc/gmon/gmon.c: Likewise.
6297 * config/arc/gmon/machine-gmon.h: Likewise.
6298 * config/arc/gmon/profil.S: Likewise.
6299 * config/arc/gmon/dcache_linesz.S: Likewise.
6300 * config/arc/crtg.S: Likewise.
6301 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6302 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6303 * config/arc/ieee-754/adddf3.S: Likewise.
6304 * config/arc/ieee-754/truncdfsf2.S: Likewise.
6305 * config/arc/ieee-754/fixsfsi.S: Likewise.
6306 * config/arc/ieee-754/gtsf2.S: Likewise.
6307 * config/arc/ieee-754/floatsisf.S: Likewise.
6308 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6309 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6310 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6311 * config/arc/ieee-754/fixdfsi.S: Likewise.
6312 * config/arc/ieee-754/addsf3.S: Likewise.
6313 * config/arc/ieee-754/gesf2.S: Likewise.
6314 * config/arc/ieee-754/floatsidf.S: Likewise.
6315 * config/arc/ieee-754/extendsfdf2.S: Likewise.
6316 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6317 * config/arc/ieee-754/gtdf2.S: Likewise.
6318 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6319 * config/arc/ieee-754/uneqdf2.S: Likewise.
6320 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6321 * config/arc/ieee-754/uneqsf2.S: Likewise.
6322 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6323 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6324 * config/arc/ieee-754/eqdf2.S: Likewise.
6325 * config/arc/ieee-754/ordsf2.S: Likewise.
6326 * config/arc/ieee-754/divsf3.S: Likewise.
6327 * config/arc/ieee-754/divdf3.S: Likewise.
6328 * config/arc/ieee-754/floatunsidf.S: Likewise.
6329 * config/arc/ieee-754/orddf2.S: Likewise.
6330 * config/arc/ieee-754/eqsf2.S: Likewise.
6331 * config/arc/ieee-754/gedf2.S: Likewise.
6332 * config/arc/crtn.S: Likewise.
6333 * config/arc/crti.S: Likewise.
6334 * config/arc/t-arc700-uClibc: Likewise.
6335 * config/arc/asm.h: Likewise.
6336 * config/arc/libgcc-excl.ver: Likewise.
6337 * config/arc/t-arc-newlib: Likewise.
6338 * config/arc/divtab-arc700.c: Likewise.
6339 * config/arc/initfini.c: Likewise.
6340 * config/arc/fp-hack.h: Likewise.
6341
6342 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6343 Diego Novillo <dnovillo@google.com>
6344
6345 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
6346 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6347 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6348 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
6349
6350 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6351 Brendan Kehoe <brendan@zen.org>
6352 Simon Cook <simon.cook@embecosm.com>
6353
6354 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6355 * config/arc: New directory.
6356 * longlong.h [__arc__] (umul_ppmm): Remove.
6357 [__arc__] (__umulsidi3): Define.
6358 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6359 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6360
6361 2013-09-17 Jacek Caban <jacek@codeweavers.com>
6362
6363 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6364 CreateSemaphoreA.
6365 * config/i386/gthr-win32.h: Likewise.
6366
6367 2013-09-16 DJ Delorie <dj@redhat.com>
6368
6369 * config/rl78/vregs.h: Add G10 register definitions.
6370 * config/rl78/lib2mul.c: Enable for RL78/G10.
6371 * config/rl78/lib2div.c: Likewise.
6372 * config/rl78/lshrsi3.S: Use vregs.h.
6373 * config/rl78/cmpsi2.S: Likewise.
6374 * config/rl78/trampoline.S: Likewise.
6375 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
6376
6377 2013-09-14 DJ Delorie <dj@redhat.com>
6378 Nick Clifton <nickc@redhat.com>
6379
6380 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6381 * config/rl78/vregs.h: New.
6382 * config/rl78/signbit.S: New file. Implements signbit function.
6383 * config/rl78/divmodsi.S: New.
6384 * config/rl78/divmodhi.S: New.
6385 * config/rl78/divmodqi.S: New.
6386 * config/rl78/t-rl78: Build them here...
6387 * config/rl78/lib2div.c: ...but not here.
6388
6389 2013-09-12 DJ Delorie <dj@redhat.com>
6390
6391 * config.host (msp*-*-elf): New.
6392 * config/msp430/: New port.
6393
6394 2013-08-18 Iain Sandoe <iain@codesourcery.com>
6395
6396 PR gcov-profile/58127
6397 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6398 __thread var for emulated TLS.
6399 (__gcov_indirect_call_counters): Likewise.
6400
6401 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
6402 Catherine Moore <clm@codesourcery.com>
6403 Richard Sandiford <rdsandiford@googlemail.com>
6404
6405 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6406 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6407 (CALL_STUB_NO_RET): Likewise.
6408 (CALL_STUB_RET): Likewise.
6409 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6410 __mips16_ret call/return stub symbols.
6411 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6412 to tmake_file.
6413
6414 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
6415
6416 * config.host <mips*-*-linux*>: Remove a stray comment.
6417
6418 2013-08-10 Jan Hubicka <jh@suse.cz>
6419
6420 Work around binutils PR14342
6421 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6422 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6423 (L_gcov_indirect_call_profiler_v2): New.
6424
6425 2013-08-06 Jan Hubicka <jh@suse.cz>
6426
6427 * libgcov.c (__gcov_indirect_call_callee,
6428 __gcov_indirect_call_counters): New global vars.
6429 (__gcov_indirect_call_profiler): replace by ...
6430 (__gcov_indirect_call_profiler_v2) ... this one.
6431
6432 2013-08-06 Caroline Tice <cmtice@google.com>
6433
6434 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
6435 vtv_start_preinit.o and vtv_end_preinit.o.
6436 * configure.ac: Add code to check/set enable_vtable_verify.
6437 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
6438 true.
6439 * vtv_start_preinit.c: New file.
6440 * vtv_end_preinit.c: New file.
6441 * vtv_start.c: New file.
6442 * vtv_end.c: New file.
6443 * configure: Regenerated.
6444
6445 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
6446
6447 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6448 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6449 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6450 GPL-3.0-with-GCC-exception.
6451
6452 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
6453
6454 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6455 ISA and up.
6456
6457 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6458
6459 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6460 mapping for FPRs when creating the fallback framestate.
6461
6462 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
6463
6464 PR target/57516
6465 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6466 (__round_s2_const, __round_u2_const)
6467 (__round_s4_const, __round_u4_const, __round_x8):
6468 Saturate result if addition result cannot be represented.
6469
6470 2013-07-15 Matthias Klose <doko@ubuntu.com>
6471
6472 * libgcc2.c: Don't include <limits.h>.
6473
6474 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
6475
6476 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6477
6478 2013-07-06 Jakub Jelinek <jakub@redhat.com>
6479
6480 PR target/29776
6481 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6482
6483 2013-06-28 Jakub Jelinek <jakub@redhat.com>
6484
6485 PR middle-end/36041
6486 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6487 Define.
6488 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6489 instead of table lookups.
6490 (__popcountDI2): Likewise.
6491
6492 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
6493
6494 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6495 correctly.
6496
6497 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6498
6499 PR other/53317
6500 * soft-fp/adddf3.c: Update from glibc.
6501 * soft-fp/addsf3.c: Likewise.
6502 * soft-fp/addtf3.c: Likewise.
6503 * soft-fp/divdf3.c: Likewise.
6504 * soft-fp/divsf3.c: Likewise.
6505 * soft-fp/divtf3.c: Likewise.
6506 * soft-fp/double.h: Likewise.
6507 * soft-fp/eqdf2.c: Likewise.
6508 * soft-fp/eqsf2.c: Likewise.
6509 * soft-fp/eqtf2.c: Likewise.
6510 * soft-fp/extenddftf2.c: Likewise.
6511 * soft-fp/extended.h: Likewise.
6512 * soft-fp/extendsfdf2.c: Likewise.
6513 * soft-fp/extendsftf2.c: Likewise.
6514 * soft-fp/fixdfdi.c: Likewise.
6515 * soft-fp/fixdfsi.c: Likewise.
6516 * soft-fp/fixsfdi.c: Likewise.
6517 * soft-fp/fixsfsi.c: Likewise.
6518 * soft-fp/fixtfdi.c: Likewise.
6519 * soft-fp/fixtfsi.c: Likewise.
6520 * soft-fp/fixunsdfdi.c: Likewise.
6521 * soft-fp/fixunsdfsi.c: Likewise.
6522 * soft-fp/fixunssfdi.c: Likewise.
6523 * soft-fp/fixunssfsi.c: Likewise.
6524 * soft-fp/fixunstfdi.c: Likewise.
6525 * soft-fp/fixunstfsi.c: Likewise.
6526 * soft-fp/floatdidf.c: Likewise.
6527 * soft-fp/floatdisf.c: Likewise.
6528 * soft-fp/floatditf.c: Likewise.
6529 * soft-fp/floatsidf.c: Likewise.
6530 * soft-fp/floatsisf.c: Likewise.
6531 * soft-fp/floatsitf.c: Likewise.
6532 * soft-fp/floatundidf.c: Likewise.
6533 * soft-fp/floatundisf.c: Likewise.
6534 * soft-fp/floatunditf.c: Likewise.
6535 * soft-fp/floatunsidf.c: Likewise.
6536 * soft-fp/floatunsisf.c: Likewise.
6537 * soft-fp/floatunsitf.c: Likewise.
6538 * soft-fp/gedf2.c: Likewise.
6539 * soft-fp/gesf2.c: Likewise.
6540 * soft-fp/getf2.c: Likewise.
6541 * soft-fp/ledf2.c: Likewise.
6542 * soft-fp/lesf2.c: Likewise.
6543 * soft-fp/letf2.c: Likewise.
6544 * soft-fp/muldf3.c: Likewise.
6545 * soft-fp/mulsf3.c: Likewise.
6546 * soft-fp/multf3.c: Likewise.
6547 * soft-fp/negdf2.c: Likewise.
6548 * soft-fp/negsf2.c: Likewise.
6549 * soft-fp/negtf2.c: Likewise.
6550 * soft-fp/op-1.h: Likewise.
6551 * soft-fp/op-2.h: Likewise.
6552 * soft-fp/op-4.h: Likewise.
6553 * soft-fp/op-8.h: Likewise.
6554 * soft-fp/op-common.h: Likewise.
6555 * soft-fp/quad.h: Likewise.
6556 * soft-fp/single.h: Likewise.
6557 * soft-fp/soft-fp.h: Likewise.
6558 * soft-fp/subdf3.c: Likewise.
6559 * soft-fp/subsf3.c: Likewise.
6560 * soft-fp/subtf3.c: Likewise.
6561 * soft-fp/truncdfsf2.c: Likewise.
6562 * soft-fp/trunctfdf2.c: Likewise.
6563 * soft-fp/trunctfsf2.c: Likewise.
6564 * soft-fp/unorddf2.c: Likewise.
6565 * soft-fp/unordsf2.c: Likewise.
6566 * soft-fp/unordtf2.c: Likewise.
6567 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6568 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6569 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6570 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6571 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6572 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6573 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6574 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6575 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6576 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6577 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6578 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6579
6580 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
6581
6582 * config/mips/lib2funcs.c: New file.
6583 * config/mips/t-mips (LIB2ADD_ST): Add it.
6584
6585 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
6586
6587 PR target/6526
6588 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6589 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
6590
6591 2013-06-08 Walter Lee <walt@tilera.com>
6592
6593 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6594 Replace int64_t with long long. Add __extension__ where
6595 appropriate.
6596 * config/tilepro/atomic.c: Include config.h.
6597
6598 2013-06-06 Douglas B Rupp <rupp@adacore.com>
6599
6600 * config.host (arm-wrs-vxworks): Configure with other soft float.
6601
6602 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
6603
6604 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6605 (mips64r5900el-*-elf*): New configurations.
6606
6607 2013-06-04 Alan Modra <amodra@gmail.com>
6608
6609 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6610
6611 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
6612
6613 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6614
6615 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
6616
6617 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6618 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6619 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6620
6621 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6622
6623 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6624 (powerpc-wrs-vxworks): Likewise.
6625
6626 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6627
6628 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6629 signal frames as well.
6630 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6631 STACK_BIAS to the CFA offset.
6632
6633 2013-05-17 Richard Henderson <rth@redhat.com>
6634
6635 PR target/49146
6636 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6637 (execute_cfa_program): Use it when storing to fs->regs.
6638
6639 2013-05-08 Kai Tietz <ktietz@redhat.com>
6640
6641 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6642 (__deregister_frame_info): Likewise.
6643
6644 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
6645
6646 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6647 NaN's payload.
6648
6649 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6650
6651 2013-04-25 Alan Modra <amodra@gmail.com>
6652
6653 * config.host: Match little-endian powerpc-linux.
6654
6655 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
6656
6657 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6658 as 'unsigned long long' instead of 'unsigned long'.
6659 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6660 'signed long'.
6661
6662 2013-04-10 Julian Brown <julian@codesourcery.com>
6663
6664 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6665 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6666 unsigned char/unsigned short.
6667 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6668
6669 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6670
6671 PR other/55274
6672 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6673
6674 2013-04-04 Meador Inge <meadori@codesourcery.com>
6675
6676 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6677 computing the location of the link register.
6678 (aeabi_uldivmod): Ditto.
6679
6680 2013-03-27 Kai Tietz <ktietz@redhat.com>
6681
6682 * config.host: Add support for cygwin x64 target.
6683 * configure: Regenerated.
6684
6685 2013-03-26 Walter Lee <walt@tilera.com>
6686
6687 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6688 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6689
6690 2013-03-25 Kai Tietz <ktietz@redhat.com>
6691
6692 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6693
6694 2013-03-20 Robert Mason <rbmj@verizon.net>
6695
6696 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6697 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6698 (__gthread_leave_tsd_dtor_context): Add prototypes.
6699 (tls_delete_hook): Update.
6700
6701 2013-03-20 Catherine Moore <clm@codesourcery.com>
6702 Joseph Myers <joseph@codesourcery.com>
6703 Chao-ying Fu <fu@mips.com>
6704
6705 * config/mips/mips16.S: Don't build for microMIPS.
6706 * config/mips/linux-unwind.h: Handle microMIPS frame.
6707 * config/mips/crtn.S (fini, init): New labels.
6708
6709 2013-03-14 Jakub Jelinek <jakub@redhat.com>
6710
6711 PR tree-optimization/53265
6712 * unwind-dw2.c (execute_cfa_program): Avoid
6713 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6714 on targets with DWARF_FRAME_REGISTERS < 32.
6715
6716 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6717
6718 PR target/49880
6719 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6720 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6721
6722 2013-03-07 Sriraman Tallam <tmsriram@google.com>
6723
6724 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6725 sandybridge processors.
6726
6727 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6728
6729 PR target/56529
6730 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6731 inclusion list.
6732
6733 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6734
6735 * config/microblaze/crti.S: Setup stack protection at entry
6736
6737 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
6738
6739 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6740 (__rotldi3): Shift bytewise if applicable.
6741
6742 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6743
6744 * config/aarch64/sync-cache.c
6745 (__aarch64_sync_cache_range): Silence warnings.
6746
6747 2013-02-25 Catherine Moore <clm@codesourcery.com>
6748
6749 Revert:
6750 2013-02-24 Catherine Moore <clm@codesourcery.com>
6751 Joseph Myers <joseph@codesourcery.com>
6752 Chao-ying Fu <fu@mips.com>
6753
6754 * config/mips/mips16.S: Don't build for microMIPS.
6755 * config/mips/linux-unwind.h: Handle microMIPS frame.
6756 * config/mips/crtn.S (fini, init): New labels.
6757
6758 2013-02-24 Catherine Moore <clm@codesourcery.com>
6759 Joseph Myers <joseph@codesourcery.com>
6760 Chao-ying Fu <fu@mips.com>
6761
6762 * config/mips/mips16.S: Don't build for microMIPS.
6763 * config/mips/linux-unwind.h: Handle microMIPS frame.
6764 * config/mips/crtn.S (fini, init): New labels.
6765
6766 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6767 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
6768 as dividend.
6769
6770 2013-02-16 Alan Modra <amodra@gmail.com>
6771
6772 PR target/55431
6773 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6774 (ppc_fallback_frame_state): Always set up save locations for fp
6775 and altivec. Don't bother with non-callee-saved regs, r0-r13
6776 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6777
6778 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
6779
6780 PR target/54222
6781 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6782 _ssmulHA, _ssmulSA.
6783 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6784 _ssmulha3, _usmulusa3, _ssmulsa3.
6785 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6786 (__muldi3): XCALL __muldi3_6 instead of rcall.
6787 (__umulsidi3, __mulsidi3): New functions.
6788 (do_prologue_saves, do_epilogue_restores): New .macros.
6789 (__divdi3_moddi3): Use them.
6790 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6791 (__usmulusa3, __ssmulsa3): New functions.
6792
6793 2013-02-11 Iain Sandoe <iain@codesourcery.com>
6794 Jack Howarth <howarth@bromo.med.uc.edu>
6795 Patrick Marlier <patrick.marlier@gmail.com>
6796
6797 PR libitm/55693
6798 * config/darwin-crt-tm.c: Remove dummy functions hack.
6799
6800 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
6801
6802 PR target/54222
6803 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6804 * config/avr/lib2-object.mk: New iterator to build objects from it.
6805 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6806 lib2funcs.c.
6807 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6808 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6809 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6810 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6811 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6812 * config/avr/lib1funcs-fixed.S: Implement them.
6813
6814 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6815
6816 Update copyright years.
6817
6818 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
6819
6820 PR target/54601
6821 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6822 Add crtcxa to extra_parts.
6823 * config/rs6000/exit.h: New file.
6824 * config/rs6000/cxa_atexit.c: New file.
6825 * config/rs6000/cxa_finalize.c: New file.
6826 * config/rs6000/crtcxa.c: New file.
6827 * config/rs6000/t-aix-cxa: New file.
6828 * config/rs6000/libgcc-aix-cxa.ver: New file.
6829
6830 2013-01-31 Nick Clifton <nickc@redhat.com>
6831
6832 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6833 variant.
6834
6835 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
6836
6837 PR target/54222
6838 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6839 _mulQQ, _mulHQ, _mulHA, _mulSA,
6840 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6841 _divQQ, _divHQ, _divHA, _divSA,
6842 _divUQQ, _divUHQ, _divUHA, _divUSA.
6843
6844 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
6845
6846 * config.host(microblaze*-linux*): tmake_file: Remove
6847 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6848 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6849 to exclude functions from being built with libgcc.c and use
6850 the microblaze assembly.
6851
6852 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6853
6854 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6855 extra_parts.
6856
6857 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6858
6859 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6860 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6861 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6862 alignment operation.
6863
6864 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6865
6866 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6867 loop start address for cache clearing.
6868
6869 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6870
6871 * config/avr/lib1funcs.S: Remove trailing blanks.
6872 * config/avr/lib1funcs-fixed.S: Ditto.
6873
6874 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6875
6876 * config/avr/avr-lib.h: Add GPL copyright notice.
6877
6878 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6879
6880 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6881 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6882 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6883 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6884
6885 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
6886
6887 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6888 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
6889
6890 2013-01-04 Nick Clifton <nickc@redhat.com>
6891
6892 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6893 the CALLT instruction is supported.
6894
6895 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6896
6897 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6898 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6899
6900 2012-12-13 John Tytgat <John@bass-software.com>
6901
6902 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6903 is 25.
6904
6905 2012-12-12 Jakub Jelinek <jakub@redhat.com>
6906
6907 PR libgcc/55451
6908 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6909 undefined signed overflows.
6910
6911 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
6912
6913 PR target/55344
6914 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6915
6916 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
6917
6918 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6919 (FP_TRAPPING_EXCEPTIONS): Define.
6920 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6921 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6922
6923 2012-12-04 Richard Henderson <rth@redhat.com>
6924
6925 PR bootstrap/55571
6926 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6927
6928 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6929
6930 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
6931 (FP_EX_SHIFT): Define.
6932 (FP_TRAPPING_EXCEPTIONS): Define.
6933
6934 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6935
6936 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6937 (FP_ROUNDMODE): Use FP_RND_MASK.
6938 * config/aarch64/sfp-exceptions.c: New.
6939 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6940 Use __sfp_handle_exceptions.
6941
6942 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
6943
6944 * config.host: (arm*-*-freebsd*): Remove.
6945 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6946 (arm*-*-elf*): Remove.
6947 (arm*-*-wince-pe*): Remove.
6948 * arm/unwind-arm.c (struct fpa_reg): Delete.
6949 (struct fpa_regs): Delete.
6950 (phase1_vrs): Remove fpa element.
6951 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6952 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6953 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6954 * ieee754-sf.S (floatundisf): Remove FPA support.
6955 (floatdisf): Likewise.
6956 * ieee75f-df.S (floatundidf): Likewise.
6957 (floatdidf): Likewise.
6958
6959 2012-11-29 Kai Tietz <ktietz@redhat.com>
6960
6961 PR target/55445
6962 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6963 * unwind-generic.h: Likewise.
6964 * unwind-seh.c: Likewise.
6965
6966 2012-11-28 Richard Henderson <rth@redhat.com>
6967
6968 PR libgcc/48076
6969 * emutls.c (__emutls_get_address): Avoid race condition between
6970 obj->loc.offset read and emutls_key initialization.
6971
6972 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
6973
6974 Adjust decimal point of signed accum mode to GCC default.
6975
6976 PR target/54222
6977 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6978 _divqq_helper.
6979 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6980 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6981 (__mulha3, __mulsa3)
6982 (__divqq3, __divha3, __divsa3): Adjust to new position of
6983 decimal point of signed accum types.
6984
6985 (__mulusa3_round): New function.
6986 (__mulusa3): Use it.
6987 (__divqq_helper): New function.
6988 (__udivuqq3): Use it.
6989
6990 2012-11-20 Jakub Jelinek <jakub@redhat.com>
6991
6992 PR bootstrap/55370
6993 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6994
6995 2012-11-18 Teresa Johnson <tejohnson@google.com>
6996
6997 PR bootstrap/55051
6998 * libgcov.c (gcov_exit): Remove merged program summary
6999 comparison unless !GCOV_LOCKED.
7000
7001 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
7002
7003 * soft-fp: Updated from glibc upstream.
7004
7005 2012-11-06 Ian Lance Taylor <iant@google.com>
7006
7007 * generic-morestack.c (__generic_morestack): Align the returned
7008 stack pointer to a 32 byte boundary.
7009 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7010 increment the return address until we have decided that we don't
7011 have a varargs function.
7012 (__morestack) [32-bit]: Align stack correctly when calling C
7013 functions.
7014 (__morestack) [64-bit]: Likewise.
7015
7016 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7017
7018 * configure: Regenerate.
7019
7020 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
7021
7022 PR target/55175
7023 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7024 * config/i386/sfp-machine.h: Guard exception handling
7025 code with _SOFT_FLOAT.
7026 * config/i386/32/sfp-machine.h: Guard rounding handling
7027 code with _SOFT_FLOAT.
7028 * config/i386/64/sfp-machine.h: Ditto.
7029
7030 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7031
7032 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7033 as extra_parts.
7034
7035 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
7036
7037 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7038 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7039 when appropriate. Correct structure element types.
7040 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7041 -minline-all-stringops from compile flags.
7042
7043 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7044
7045 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7046
7047 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7048
7049 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
7050
7051 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
7052
7053 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7054 tmake_file.
7055
7056 2012-10-23 Ian Bolton <ian.bolton@arm.com>
7057 Jim MacArthur <jim.macarthur@arm.com>
7058 Marcus Shawcroft <marcus.shawcroft@arm.com>
7059 Nigel Stephens <nigel.stephens@arm.com>
7060 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7061 Richard Earnshaw <rearnsha@arm.com>
7062 Sofiane Naci <sofiane.naci@arm.com>
7063 Stephen Thomas <stephen.thomas@arm.com>
7064 Tejas Belagod <tejas.belagod@arm.com>
7065 Yufeng Zhang <yufeng.zhang@arm.com>
7066
7067 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7068 * config/aarch64/crti.S: New file.
7069 * config/aarch64/crtn.S: New file.
7070 * config/aarch64/linux-unwind.h: New file.
7071 * config/aarch64/sfp-machine.h: New file.
7072 * config/aarch64/sync-cache.c: New file.
7073 * config/aarch64/t-aarch64: New file.
7074 * config/aarch64/t-softfp: New file.
7075
7076 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
7077
7078 * config/mmix/crti.S: Mark program and data addresses using PRELD.
7079 Remove typo'd and unnecessary alignment-LOC for .data. Remove
7080 no-longer-needed LDBU insns.
7081
7082 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
7083
7084 * config.host
7085 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7086 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7087
7088 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7089
7090 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7091
7092 2012-10-15 Matthias Klose <doko@ubuntu.com>
7093
7094 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7095
7096 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
7097
7098 * configure: Regenerate.
7099 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7100
7101 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7102
7103 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7104 instructions for 64bit targets only.
7105
7106 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7107
7108 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7109 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7110 * config/i386/32/sfp-machine.h: ... here.
7111 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7112 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7113 New defines.
7114
7115 2012-10-07 Matthias Klose <doko@ubuntu.com>
7116
7117 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7118 as unused.
7119 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7120
7121 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
7122
7123 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7124 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7125 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7126 (ElfW): Likewise.
7127
7128 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
7129
7130 PR other/53889
7131 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7132 Fix parameter names.
7133
7134 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
7135
7136 PR target/33135
7137 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7138 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7139 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7140
7141 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
7142
7143 PR target/50457
7144 * config/sh/linux-atomic.S: Delete.
7145 * config/sh/linux-atomic.c: New.
7146 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7147 linux-atomic.c. Add cflags to disable warnings.
7148
7149 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7150
7151 PR other/53889
7152 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7153 function.
7154 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7155 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7156 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7157 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
7158 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7159 Likewise.
7160 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7161 Likewise.
7162 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7163 Likewise.
7164 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7165 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7166
7167 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
7168
7169 * config.host (hppa-*-openbsd*): New target.
7170 * config/pa/t-openbsd: New file.
7171
7172 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
7173
7174 PR target/54222
7175 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7176 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7177 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7178 (__divsa3): Use __negsi2 to negate r_quoL.
7179 * config/avr/lib1funcs.S (FALIAS): New macro.
7180 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7181 (__negsi2): ...this new function.
7182 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7183 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7184 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7185 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7186 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7187 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7188
7189 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
7190
7191 PR target/54089
7192 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7193 (lshrsi3): Reimplement as lshrsi3_r0.
7194
7195 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
7196
7197 PR target/46191
7198 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7199 of libgcc.a.
7200
7201 2012-09-07 Teresa Johnson <tejohnson@google.com>
7202
7203 PR gcov-profile/54487
7204 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
7205 differences.
7206
7207 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
7208
7209 PR target/54461
7210 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7211 not configured --with-avrlibc=no.
7212 * config/avr/t-avrlibc: New file.
7213 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7214 (DPBIT_FUNCS): Ditto.
7215 (TPBIT_FUNCS): Ditto.
7216
7217 2012-09-04 Teresa Johnson <tejohnson@google.com>
7218
7219 * libgcov.c (struct gcov_summary_buffer): New structure.
7220 (gcov_histogram_insert): New function.
7221 (gcov_compute_histogram): Ditto.
7222 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7223 histograms during summary merging.
7224
7225 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
7226
7227 * config.host (x86_64-*-openbsd*): New target.
7228
7229 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
7230
7231 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7232 attribute.
7233
7234 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7235
7236 PR target/54222
7237 * config/avr/t-avr (conv_X): Rename to func_X.
7238
7239 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7240
7241 PR target/54222
7242 * config/avr/lib1funcs-fixed.S: New file.
7243 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
7244 after they are used.
7245 (neg2, neg4): New macros.
7246 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7247 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7248 (__umulhisi3): Speed up MUL variant if there is enough flash.
7249 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7250 avr-modes.def.
7251 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7252 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7253 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7254 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7255 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7256 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7257 (LIB2FUNCS_EXCLUDE): Add supported functions.
7258
7259 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
7260
7261 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7262 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7263 libgcc-s-objects.
7264 * fixed-obj.mk: Only expand dependency if $o is not in
7265 LIB2FUNCS_EXCLUDE.
7266
7267 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
7268
7269 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7270
7271 2012-08-22 Joseph Myers <joseph@codesourcery.com>
7272
7273 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7274 depend on --enable-shared.
7275 ($(lib1asmfuncs-o)): Use %.vis files independent of
7276 --enable-shared.
7277 * static-object.mk ($(base)$(objext), $(base).vis)
7278 ($(base)_s$(objext)): Use same rules for visibility handling as in
7279 shared-object.mk.
7280
7281 2012-08-21 Ian Lance Taylor <iant@google.com>
7282
7283 * config/i386/morestack.S (__morestack_non_split): Increase amount
7284 of space allocated for non-split code stack.
7285
7286 2012-08-19 Joseph Myers <joseph@codesourcery.com>
7287
7288 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7289 even if inhibit_libc.
7290
7291 2012-08-17 Julian Brown <julian@codesourcery.com>
7292
7293 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7294 -fexceptions -fnon-call-exceptions if not defined.
7295 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7296 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7297
7298 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
7299
7300 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7301 type.
7302
7303 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
7304
7305 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7306 rs6000/t-slibgcc-aix.
7307
7308 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7309
7310 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7311
7312 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7313
7314 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7315
7316 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
7317
7318 PR driver/54171
7319 * Makefile.in (version): Replace top_srcdir with srcdir.
7320
7321 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
7322
7323 * Makefile.in (version): set to BASE-VER file from gcc directory.
7324
7325 2012-08-01 Nick Clifton <nickc@redhat.com>
7326
7327 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7328 Implements __clrsb for an HImode argument.
7329
7330 2012-07-31 Nick Clifton <nickc@redhat.com>
7331
7332 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7333 Implements __clrsb for an HImode argument.
7334 * config/stormy16/clrsbhi2.c: New file:
7335 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7336
7337 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
7338
7339 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7340
7341 2012-07-19 Tristan Gingold <gingold@adacore.com>
7342 Richard Henderson <rth@redhat.com>
7343
7344 * unwind-seh.c: New file.
7345 * unwind-generic.h: Include windows.h for SEH.
7346 (_Unwind_Exception): Use 6 private fields for SEH.
7347 (_GCC_specific_handler): Declare.
7348 * unwind-c.c (__gcc_personality_seh0): New function.
7349 Adjust for SEH.
7350 * config/i386/libgcc-cygming.ver: New file.
7351 * config/i386/t-seh-eh: New file.
7352 * config.host (x86_64-*-mingw*): Default to seh.
7353
7354 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
7355
7356 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7357
7358 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
7359
7360 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7361 __builtin_expect when checking for exceptions.
7362 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7363
7364 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7365
7366 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7367 function declaration.
7368 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7369 (FP_RND_MASK): New.
7370 * config/ia64/sfp-exceptions.c: New.
7371 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7372
7373 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7374
7375 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7376 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7377 * config/i386/64/sfp-machine: ... (delete here) ...
7378 * config/i386/sfp-machine.h: ... to here.
7379 (FP_EX_MASK): Remove.
7380 (FP_RND_MASK): New.
7381 (FP_INIT_ROUNDMODE): Declare asm as volatile.
7382
7383 2012-06-11 Sriraman Tallam <tmsriram@google.com>
7384
7385 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7386 * config/i386/libgcc-sol2.ver: Ditto.
7387 * config/i386/libgcc-glibc.ver: Ditto.
7388
7389 2012-06-11 Roland McGrath <mcgrathr@google.com>
7390
7391 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7392 If __GLIBC__ is defined, refer to __pthread_key_create instead of
7393 pthread_cancel.
7394
7395 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
7396
7397 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7398 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7399 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7400 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7401 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7402 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7403 * config/i386/64/sfp-machine: ... (delete here) ...
7404 * config/i386/sfp-machine.h: ... to here.
7405 (FP_EX_MASK): New.
7406 (__sfp_handle_exceptions): New function declaration.
7407 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7408 * config/i386/sfp-exceptions.c: New.
7409 * config/i386/t-softfp: New.
7410 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7411 i386/t-softfp to tmake_file.
7412
7413 2012-06-03 David S. Miller <davem@davemloft.net>
7414
7415 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7416 change.
7417
7418 2012-05-31 David S. Miller <davem@davemloft.net>
7419
7420 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7421 multiply and divide instructions on 32-bit when V9.
7422 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7423
7424 2012-05-29 Joseph Myers <joseph@codesourcery.com>
7425
7426 * config/arm/ieee754-df.S: Fix typos.
7427 * config/arm/ieee754-sf.S: Fix typos.
7428 * config/c6x/libunwind.S: Fix typos.
7429 * config/epiphany/udivsi3-float.c: Fix typos.
7430 * config/microblaze/muldi3_hard.S: Fix typos.
7431 * config/picochip/adddi3.S: Fix typos.
7432 * config/picochip/ashlsi3.S: Fix typos.
7433 * config/picochip/ashrsi3.S: Fix typos.
7434 * config/picochip/clzsi2.S: Fix typos.
7435 * config/picochip/cmpsi2.S: Fix typos.
7436 * config/picochip/divmod15.S: Fix typos.
7437 * config/picochip/divmodhi4.S: Fix typos.
7438 * config/picochip/divmodsi4.S: Fix typos.
7439 * config/picochip/longjmp.S: Fix typos.
7440 * config/picochip/lshrsi3.S: Fix typos.
7441 * config/picochip/parityhi2.S: Fix typos.
7442 * config/picochip/popcounthi2.S: Fix typos.
7443 * config/picochip/setjmp.S: Fix typos.
7444 * config/picochip/subdi3.S: Fix typos.
7445 * config/picochip/ucmpsi2.S: Fix typos.
7446 * config/picochip/udivmodhi4.S: Fix typos.
7447 * config/picochip/udivmodsi4.S: Fix typos.
7448 * config/spu/divv2df3.c: Fix typos.
7449 * config/spu/mfc_multi_tag_release.c: Fix typos.
7450 * config/spu/mfc_tag_release.c: Fix typos.
7451 * configure.ac: Fix typos.
7452 * configure: Regenerate.
7453
7454 2012-05-25 Ian Lance Taylor <iant@google.com>
7455
7456 * config/i386/morestack.S (__morestack_non_split): Check whether
7457 caller is varargs and needs %bp to hold the stack frame on return.
7458
7459 2012-05-25 Olivier Hainque <hainque@adacore.com>
7460
7461 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7462 sequence in the non pic case on VxWorks.
7463
7464 2012-05-24 Olivier Hainque <hainque@adacore.com>
7465
7466 * Makefile.in: Move dependency on install-unwind_h from
7467 "install-leaf" to "install".
7468
7469 2012-05-24 Olivier Hainque <hainque@adacore.com>
7470
7471 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7472 Use a separate command for stamp removals.
7473
7474 2012-05-21 Andrew Pinski <apinski@cavium.com>
7475
7476 PR bootstrap/53183
7477 * configure.ac: Define the default includes to being none.
7478 * configure: Regenerate.
7479
7480 2012-05-16 Olivier Hainque <hainque@adacore.com>
7481
7482 * Makefile.in (install-unwind_h): Rename into ...
7483 (install-unwind_h-forbuild): New target.
7484 (all): Use it instead of the former install-unwind_h.
7485 (install-unwind_h): Reinstate, copy to user install destination
7486 for include files, not to the internal gcc object directory one.
7487 (install-leaf): Depend on it.
7488
7489 2012-05-15 Olivier Hainque <hainque@adacore.com>
7490
7491 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7492 register numbers. LR_REGNO replaces R_LR.
7493 (ucontext_for): New, helper for ...
7494 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7495 and 5.3 of ...
7496 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7497
7498 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7499
7500 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7501 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7502 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7503 i386/t-cpuinfo ...
7504 (i[34567]86-*-*, x86_64-*-*): ... here.
7505
7506 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7507 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7508
7509 * config/i386/i386-cpuinfo.c: Rename to ...
7510 * config/i386/cpuinfo.c: ... this.
7511 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7512
7513 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7514 (libgcc_cv_init_priority): New test.
7515 * configure: Regenerate.
7516 * config.in: New file.
7517 * Makefile.in (clean): Rename config.h to auto-target.h.
7518 (config.h): Likewise.
7519 (stamp-h): Likewise.
7520
7521 * config/i386/cpuinfo.c (auto-target.h): Include.
7522 (CONSTRUCTOR_PRIORITY): Define.
7523 (__cpu_indicator_init): Use it.
7524
7525 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7526
7527 * longlong.h: Use a URL instead of an FSF postal address.
7528 Replace spaces with tab.
7529
7530 2012-05-08 Teresa Johnson <tejohnson@google.com>
7531
7532 * libgcov.c (gcov_clear, __gcov_reset): New functions.
7533 (__gcov_dump): Ditto.
7534 (gcov_dump_complete): New global variable.
7535 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7536 (__gcov_flush): Outline functionality now in gcov_clear.
7537 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7538
7539 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
7540
7541 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7542 (mips*-*-linux*): Include mips/t-tpbit when long double is
7543 16 bytes long.
7544
7545 2012-04-25 Sriraman Tallam <tmsriram@google.com>
7546
7547 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7548 (get_available_features): New argument. Check for AVX2.
7549 (__cpu_indicator_init): Modify call to get_available_features.
7550
7551 2012-04-25 Alan Modra <amodra@gmail.com>
7552
7553 * config/rs6000/crtsavevr.S: New file.
7554 * config/rs6000/crtrestvr.S: New file.
7555 * config/rs6000/t-savresfgpr: Build the above.
7556 * config/rs6000/t-netbsd: Likewise.
7557
7558 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7559
7560 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7561
7562 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7563
7564 * libgcc/config/i386/i386-cpuinfo.c: New file.
7565 * libgcc/config/i386/t-cpuinfo: New file.
7566 * libgcc/config.host: Include t-cpuinfo.
7567 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7568
7569 2012-04-24 Chao-ying Fu <fu@mips.com>
7570
7571 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7572
7573 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
7574
7575 struct siginfo vs. siginfo_t
7576
7577 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7578 siginfo_t instead of struct siginfo.
7579 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7580 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7581 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7582 (ia64_handle_unwabi): Likewise.
7583 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7584 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7585 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7586 (sh_fallback_frame_state): Likewise.
7587 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7588 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7589
7590 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
7591
7592 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7593 system call number.
7594
7595 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
7596
7597 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7598 if it hasn't been previously saved.
7599
7600 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
7601
7602 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7603 only for glibc.
7604
7605 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
7606
7607 PR target/52737
7608 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7609 instead of __AVR_HAVE_8BIT_SP__.
7610
7611 2012-03-26 Tristan Gingold <gingold@adacore.com>
7612
7613 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7614 (unw_table_entry): Use unw_word instead of unsigned long.
7615 (_Unwind_FindTableEntry): Likewise.
7616 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7617 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7618 (_Unwind_FindTableEntry): Likewise.
7619 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7620 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7621 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7622 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7623 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7624 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7625 (uw_init_context_1, uw_install_context): Likewise.
7626 (unw_word): Move to unwind-ia64.h
7627
7628 2012-03-26 Tristan Gingold <gingold@adacore.com>
7629
7630 * config/vms/vms-ucrt0.c: Update copyright years.
7631 Add a sanity check.
7632 (___gcc_main_flags): Declare.
7633 (__main): Check flags to remap argv and exit code.
7634 * config.host (*-*-*vms*): Adjust extra_parts.
7635 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7636 (crt0.o): Add.
7637
7638 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
7639
7640 * arm/lib1funcs.asm (ctzsi2): New function.
7641 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7642 * arm/t-linux (LIB1ASMFUNCS): Likewise.
7643 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7644 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7645 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7646 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7647
7648 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
7649
7650 * config.host: Add bits to support powerpc64-*-freebsd*.
7651 * config/rs6000/freebsd-unwind.h: New file.
7652 * config/rs6000/t-freebsd64: New file.
7653
7654 2012-03-20 Richard Guenther <rguenther@suse.de>
7655
7656 PR gcov-profile/52627
7657 * libgcov.c (init_mx): Fix mutex name.
7658
7659 2012-03-16 Tristan Gingold <gingold@adacore.com>
7660
7661 * config/ia64/vms-unwind.h: Remove ulong (and replace
7662 it by unw_reg where used). Define unw_reg with __int64.
7663
7664 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7665
7666 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7667 Solaris 8 handling.
7668 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7669 Solaris 8 handling.
7670 (sparc_is_sighandler): Likewise.
7671
7672 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
7673
7674 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7675 <= saved reg size.
7676
7677 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7678
7679 * config/arm/crtn.S: Fix typo.
7680
7681 2012-03-13 Richard Guenther <rguenther@suse.de>
7682
7683 * libgcov.c: Remove stdio.h include and NULL un-define.
7684
7685 2012-03-13 Richard Guenther <rguenther@suse.de>
7686
7687 PR target/52569
7688 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7689
7690 2012-03-13 Richard Guenther <rguenther@suse.de>
7691
7692 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7693
7694 2012-03-13 Richard Guenther <rguenther@suse.de>
7695
7696 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7697 and __gthread_mutex_init_function definitions.
7698
7699 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7700
7701 * config.host (mips*-*-openbsd*): Remove.
7702
7703 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7704
7705 * config.host: Remove alpha*-dec-osf5.1* handling.
7706 * config/alpha/gthr-posix.c: Remove.
7707 * config/alpha/libgcc-osf5.ver: Remove.
7708 * config/alpha/osf5-unwind.h: Remove.
7709 * config/alpha/t-osf-pthread: Remove.
7710 * config/alpha/t-slibgcc-osf: Remove.
7711 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7712 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7713 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7714 * mkmap-flat.awk: Remove osf_export handling.
7715
7716 2012-03-12 Richard Guenther <rguenther@suse.de>
7717
7718 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7719 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7720 (__gthread_mutex_init_function): New function.
7721 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7722
7723 PR gcov/49484
7724 * libgcov.c: Include gthr.h.
7725 (__gcov_flush_mx): New global variable.
7726 (init_mx, init_mx_once): New functions.
7727 (__gcov_flush): Protect self with a mutex.
7728 (__gcov_fork): Re-initialize mutex after forking.
7729 * unwind-dw2-fde.c: Change condition under which to use
7730 __GTHREAD_MUTEX_INIT_FUNCTION.
7731
7732 2012-03-12 Tristan Gingold <gingold@adacore.com>
7733
7734 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7735 * config/ia64/t-vms: Likewise.
7736
7737 2012-03-11 Michael Hope <michael.hope@linaro.org>
7738
7739 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7740 for Thumb-2.
7741
7742 2012-03-07 Walter Lee <walt@tilera.com>
7743
7744 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7745 "arch_atomic_".
7746 (atomic_xor): Rename and move definition to
7747 config/tilepro/atomic.h.
7748 (atomic_nand): Ditto.
7749 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7750 "arch_atomic_".
7751 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7752 (arch_atomic_nand): Ditto.
7753
7754 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7755
7756 PR target/52507
7757 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7758
7759 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7760
7761 PR target/52505
7762 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7763 from RAM.
7764
7765 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7766
7767 PR target/52461
7768 PR target/52508
7769 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7770 if RAMPZ affects reading from RAM.
7771 (__tablejump_elpm__): Ditto.
7772 (.xload): Ditto.
7773 (__movmemx_hi): Ditto.
7774 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7775 (__do_global_dtors): Ditto.
7776 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7777 (__movmemx_hi): Ditto.
7778
7779 2012-03-05 Richard Henderson <rth@redhat.com>
7780
7781 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7782 [ARM] (count_trailing_zeros): Use the builtin.
7783
7784 2012-03-01 Kai Tietz <ktietz@redhat.com>
7785
7786 * soft-fp: Imported from glibc upstream.
7787
7788 2012-02-28 Kai Tietz <ktietz@redhat.com>
7789
7790 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7791 for mingw-targets as attribute gcc_struct.
7792
7793 2012-02-28 Ian Lance Taylor <iant@google.com>
7794
7795 * generic-morestack.c (__splitstack_releasecontext): Correct call
7796 to __morestack_release_segments.
7797
7798 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7799
7800 PR target/52390
7801 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7802 for __linux__ when removing signals from __morestack_fullmask.
7803
7804 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
7805
7806 PR target/52261
7807 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7808
7809 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7810
7811 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7812 instead of HAVE_INITFINI_ARRAY.
7813 * config/ia64/crtend.S: Likewise.
7814
7815 2012-02-20 Kai Tietz <ktietz@redhat.com>
7816
7817 PR libstdc++/52300
7818 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7819
7820 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7821 to w32-unwind.h header.
7822
7823 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7824
7825 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7826 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7827 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7828 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7829
7830 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7831
7832 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7833
7834 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7835
7836 PR libitm/52220
7837 * config/darwin-crt-tm.c: Correct typo.
7838
7839 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7840 Patrick Marlier <patrick.marlier@gmail.com>
7841
7842 PR libitm/52220
7843 * config/darwin-crt-tm.c: Generate dummy functions.
7844
7845 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7846 Patrick Marlier <patrick.marlier@gmail.com>
7847
7848 PR libitm/52042
7849 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7850 (__doTMRegistrations): Call it.
7851 (__doTMdeRegistrations): Likewise.
7852
7853 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
7854 Anatoly Sokolov <aesok@post.ru>
7855 Eric Weddington <eric.weddington@atmel.com>
7856
7857 PR target/52261
7858 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7859 (__epilogue_restores__): Ditto.
7860
7861 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7862
7863 PR target/51921
7864 PR target/52205
7865 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7866 Solaris 11 and slightly reformat.
7867 (sparc_is_sighandler): Likewise.
7868
7869 2012-02-14 Walter Lee <walt@tilera.com>
7870
7871 * config.host: Handle tilegx and tilepro.
7872 * config/tilegx/sfp-machine.h: New file.
7873 * config/tilegx/sfp-machine32.h: New file.
7874 * config/tilegx/sfp-machine64.h: New file.
7875 * config/tilegx/t-crtstuff: New file.
7876 * config/tilegx/t-softfp: New file.
7877 * config/tilegx/t-tilegx: New file.
7878 * config/tilepro/atomic.c: New file.
7879 * config/tilepro/atomic.h: New file.
7880 * config/tilepro/linux-unwind.h: New file.
7881 * config/tilepro/sfp-machine.h: New file.
7882 * config/tilepro/softdivide.c: New file.
7883 * config/tilepro/softmpy.S: New file.
7884 * config/tilepro/t-crtstuff: New file.
7885 * config/tilepro/t-tilepro: New file.
7886
7887 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7888
7889 PR libstdc++/51296
7890 PR libstdc++/51906
7891 * gthr-posix.h: Allow static initializer macros to be disabled.
7892 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7893
7894 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7895
7896 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7897 Add t-slibgcc-libgcc to tmake_file.
7898 * config/mips/libgcc-mips16.ver: Revert previous patch.
7899 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7900
7901 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7902 Jayant R Sonar <jayant.sonar@kpitcummins.com>
7903
7904 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7905 * config/cr16/crti.S: New file.
7906 * config/cr16/crtlibid.S: New file.
7907 * config/cr16/crtn.S: New file.
7908 * config/cr16/lib1funcs.S: New file.
7909 * config/cr16/t-cr16: New file.
7910 * config/cr16/t-crtlibid: New file.
7911 * config/cr16/unwind-dw2.h: New file.
7912 * config/cr16/unwind-cr16.c: New file.
7913 * config/cr16/divmodhi3.c: New file.
7914
7915 2012-01-25 Alan Modra <amodra@gmail.com>
7916
7917 * config/rs6000/t-linux64: Delete. Move..
7918 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7919 * config/rs6000/t-linux: ..and libgcc flags to here.
7920
7921 2012-01-22 Douglas B Rupp <rupp@gnat.com>
7922
7923 * config.host (i[34567]86-*-interix3*):
7924 Change triplet to i[34567]86-*-interix[3-9]*.
7925 * configure: Regenerate.
7926
7927 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7928 Richard Sandiford <rdsandiford@googlemail.com>
7929
7930 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7931 * config/mips/mips16.S (__mips16_rdhwr): New function.
7932 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7933
7934 2012-01-11 Nathan Sidwell <nathan@acm.org>
7935
7936 * libgcov.c (__gcov_init): Ignore objects with no functions.
7937
7938 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
7939
7940 PR target/49868
7941 Extend __pgmx semantics to linearize memory.
7942 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7943 * config/avr/lib1funcs.S (__xload_1): New function.
7944 (__movmemx_qi, __movmemx_hi): New functions.
7945 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7946 semantics.
7947
7948 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7949
7950 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7951 purported sigacthandler address isn't null before dereferencing it.
7952 (sparc_is_sighandler): Likewise.
7953
7954 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7955
7956 PR ada/41929
7957 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7958 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7959 (sparc_is_sighandler): Likewise.
7960 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7961
7962 2012-01-06 Tristan Gingold <gingold@adacore.com>
7963
7964 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7965 compatibility thunks...
7966 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7967 (crtbeginS.o, crtendS.o): ... and these to ...
7968 * config/ia64/t-ia64-elf: ... this new file.
7969 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7970 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7971
7972 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7973
7974 * configure: Regenerate.
7975 * config/s390/t-crtstuff: Remove -fPIC.
7976
7977 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7978
7979 PR bootstrap/51006
7980 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7981 for NetBSD.
7982
7983 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
7984
7985 PR target/51345
7986 * config/avr/lib1funcs.S: Remove FIXME comments.
7987 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7988
7989 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
7990
7991 Implement light-weight DImode support.
7992 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7993 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7994 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7995 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7996
7997 2011-12-30 Nathan Sidwell <nathan@acm.org>
7998
7999 * libgcov.c (gcov_crc32): Remove global var.
8000 (free_fn_data): New function.
8001 (buffer_fn_data): Pass in filename, more robust error recovery.
8002 (crc32_unsigned): New function.
8003 (gcov_exit): More robust detection of new program. More robust
8004 error recovery.
8005 (__gcov_init): Do not update program's crc here.
8006
8007 2011-12-21 Tristan Gingold <gingold@adacore.com>
8008
8009 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8010
8011 2011-12-21 Ian Lance Taylor <iant@google.com>
8012
8013 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8014
8015 2011-12-20 Ian Lance Taylor <iant@google.com>
8016
8017 * config/i386/morestack.S (__morestack_non_split): If there is
8018 enough stack space already, don't split. Ask for more stack space
8019 than we required.
8020
8021 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8022
8023 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8024 `sys/sdt.h'.
8025 (_Unwind_DebugHook): New function.
8026 (uw_restore_core_regs): New define.
8027 (unwind_phase2): Use uw_restore_core_regs instead of
8028 restore_core_regs.
8029 (unwind_phase2_forced): Likewise.
8030 (__gnu_Unwind_Resume): Likewise.
8031
8032 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
8033
8034 * config/alpha/linux-unwind.h: Update copyright years.
8035 (MD_FROB_UPDATE_CONTEXT): New define.
8036 (alpha_frob_update_context): New function.
8037
8038 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8039
8040 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8041 tmake_file rather replacing it.
8042
8043 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
8044
8045 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
8046 function is not used for PPC64.
8047 (save_world): Amend comments. Update the VRsave mask to reflect the
8048 saved regs.
8049 (rest_world): Update comments, do not clobber r10, do not use r8.
8050 (eh_rest_world_r10): Amend comments, do not use r8.
8051 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8052 no longer used, move restore of CR and target address to the end of
8053 the routine.
8054
8055 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
8056
8057 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8058 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8059
8060 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
8061
8062 PR target/49313
8063 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8064 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8065
8066 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
8067
8068 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8069
8070 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
8071
8072 PR target/49313
8073 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8074 * config/avr/lib1funcs.S (__muldi3): New function.
8075
8076 2011-12-06 Andrew Pinski <apinski@cavium.com>
8077
8078 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8079 size of func_ptr.
8080 (__frame_dummy_init_array_entry): Likewise.
8081
8082 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
8083
8084 Forward-port from gcc-4_6-branch r181936 2011-12-02.
8085
8086 PR target/51345
8087 PR target/51002
8088 * config/avr/lib1funcs.S (__prologue_saves__,
8089 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8090 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
8091
8092 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
8093
8094 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8095
8096 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8097
8098 PR other/51272
8099 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8100 (_ITM_deregisterTMCloneTable): Likewise.
8101 (__register_frame_info): Fix unused warning.
8102 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8103 pthread_default_stacksize_np): Likewise.
8104 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
8105
8106 2011-11-29 DJ Delorie <dj@redhat.com>
8107
8108 * config.host (rl78-*-elf): New case.
8109 * config/rl78: New directory for the Renesas RL78.
8110
8111 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
8112
8113 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
8114 formatting.
8115
8116 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8117
8118 PR other/51022
8119 * config/rs6000/t-savresfgpr: New file.
8120 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8121 $(srcdir)/config/rs6000/eabi.S.
8122 * config/rs6000/t-ppccomm-ldbl: Remove.
8123 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8124 tmake_file.
8125 (powerpc-*-eabispe*): Likewise.
8126 (powerpc-*-eabi*): Likewise.
8127 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8128 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8129 to tmake_file, remove rs6000/t-ppccomm-ldbl.
8130 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8131 tmake_file.
8132 (powerpc-*-eabisim*): Likewise.
8133 (powerpc-*-elf*): Likewise.
8134 (powerpc-*-eabialtivec*): Likewise.
8135 (powerpc-xilinx-eabi*): Likewise.
8136 (powerpc-*-rtems*): Likewise.
8137 (powerpcle-*-elf*): Likewise.
8138 (powerpcle-*-eabisim*): Likewise.
8139 (powerpcle-*-eabi*): Likewise.
8140
8141 2011-11-27 Ian Lance Taylor <iant@google.com>
8142
8143 * generic-morestack.c (__splitstack_find): Check for NULL old
8144 stack value.
8145 (__splitstack_resetcontext): New function.
8146 (__splitstack_releasecontext): New function.
8147 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8148
8149 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8150
8151 * config/darwin-crt-tm.c: Correct comments, use correct licence.
8152
8153 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8154
8155 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8156
8157 2011-11-26 Richard Henderson <rth@redhat.com>
8158
8159 * config/m68k/linux-atomic.c: New file.
8160 * config/m68k/t-linux: New file.
8161 * config.host (m68k-uclinux, m68k-linux): Use it.
8162
8163 2011-11-26 Richard Henderson <rth@redhat.com>
8164
8165 * crtstuff.c (__TMC_LIST__): Mark used not unused.
8166 (__TMC_END__): Only declare if hidden is available; in the definition,
8167 if hidden is unavailable add a null record.
8168 (deregister_tm_clones, register_tm_clones): New.
8169 (__do_global_dtors_aux, frame_dummy): Use them.
8170 (__do_global_dtors, __do_global_ctors_1): Likewise.
8171
8172 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
8173
8174 * config/darwin-crt-tm.c: New file.
8175 * config.host (darwin): Build crttms.o crttme.o to provide
8176 startup and shutdown for tm clones.
8177 * config/t-darwin (crttms.o): New build rule.
8178 (crttme.o): Likewise.
8179
8180 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
8181
8182 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8183 et al.
8184
8185 2011-11-21 Richard Henderson <rth@redhat.com>
8186
8187 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8188 (__TMC_LIST__, __TMC_END__): New.
8189 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8190 (__do_global_dtors): Likewise.
8191 (frame_dummy): Call _ITM_registerTMCloneTable.
8192 (__do_global_ctors_1): Likewise.
8193
8194 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8195
8196 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8197 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8198 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8199 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8200 * config/i386/t-darwin64: Remove.
8201 * config/sh/t-netbsd (LIB2ADD): Remove.
8202
8203 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
8204
8205 PR target/49313
8206 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8207 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8208 * config/avr/lib1funcs.S (wmov): New assembler macro.
8209 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8210 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8211 (__udivmod64): New function.
8212 (__negdi2): New function.
8213
8214 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
8215
8216 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8217 *-*-freebsd*aout*): Remove.
8218
8219 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
8220
8221 * static-object.mk (c_flags-$o): Save c_flags.
8222 ($(base)$(objext)): Use it.
8223
8224 2011-11-18 Steve Ellcey <sje@cup.hp.com>
8225
8226 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8227
8228 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
8229
8230 PR target/49868
8231 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8232 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8233 New functions.
8234
8235 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8236
8237 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8238 functions.
8239 (aeabi_uidivmod): Likewise.
8240 (umodsi3): Likewise.
8241 (divsi3): Likewise.
8242 (aeabi_idivmod): Likewise.
8243 (modsi3): Likewise.
8244
8245 2011-11-16 Tristan Gingold <gingold@adacore.com>
8246
8247 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8248
8249 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
8250
8251 PR target/49868
8252 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
8253 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8254
8255 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8256
8257 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8258 tmake_file list.
8259 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8260 * config/pa/t-stublib64: Delete.
8261
8262 2011-11-12 Richard Henderson <rth@redhat.com>
8263
8264 * config/rs6000/linux-unwind.h (frob_update_context): Properly
8265 cast the pointer argument to _Unwind_SetGRPtr.
8266
8267 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8268
8269 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8270
8271 2011-11-09 Ian Lance Taylor <iant@google.com>
8272
8273 * generic-morestack.c: Include <string.h>.
8274 (uintptr_type): Define.
8275 (struct initial_sp): Add dont_block_signals field. Reduce size of
8276 extra array by 1.
8277 (allocate_segment): Set prev field to NULL. Don't set
8278 __morestack_current_segment or __morestack_segments.
8279 (__generic_morestack): Update current->prev and *pp after calling
8280 allocate_segment.
8281 (__morestack_block_signals): Don't do anything if
8282 dont_block_signals is set.
8283 (__morestack_unblock_signals): Likewise.
8284 (__generic_findstack): Check for initial_sp == NULL. Add casts to
8285 uintptr_type.
8286 (__splitstack_block_signals): New function.
8287 (enum __splitstack_content_offsets): Define.
8288 (__splitstack_getcontext, __splitstack_setcontext): New functions.
8289 (__splitstack_makecontext): New function.
8290 (__splitstack_block_signals_context): New function.
8291 (__splitstack_find_context): New function.
8292 * config/i386/morestack.S (__morestack_get_guard): New function.
8293 (__morestack_set_guard, __morestack_make_guard): New functions.
8294 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8295
8296 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8297
8298 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8299 (i[34567]86-*-mingw*): ... here.
8300 (x86_64-*-mingw*): ... here.
8301
8302 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8303
8304 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8305
8306 2011-11-07 Nathan Sidwell <nathan@acm.org>
8307
8308 * libgcov.c (struct gcov_fn_buffer): New struct.
8309 (buffer_fn_data): New helper.
8310 (gcov_exit): Rework for new gcov data structures.
8311
8312 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
8313
8314 PR target/49313
8315 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8316
8317 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8318
8319 * config.host (tmake_file): Correct comment.
8320 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8321 t-libgcc-pic.
8322 (bfin*-uclinux*): Likewise.
8323 (bfin*-linux-uclibc*): Likewise.
8324 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8325
8326 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8327 assigning.
8328 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8329 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8330 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8331 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8332 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8333 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8334 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8335 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8336 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8337 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8338 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8339 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8340 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8341
8342 * config/bfin/t-elf: Remove.
8343 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8344
8345 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8346
8347 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8348 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8349 (lm32-*-elf*, lm32-*-rtems*): Split into ...
8350 (lm32-*-elf*): ... this.
8351 (lm32-*-rtems*): ... and this.
8352 Add to tmake_file.
8353 (m32r-*-rtems*): Add to tmake_file.
8354 (moxie-*-rtems*): Likewise.
8355 (sparc-*-rtems*): Likewise.
8356 Remove t-rtems from tmake_file.
8357 (sparc64-*-rtems*): Likewise.
8358 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8359 instead.
8360
8361 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8362
8363 PR bootstrap/50982
8364 * config/gthr-posix.h: Move ...
8365 * gthr-posix.h: ... here.
8366 * config/gthr-lynx.h: Reflect this.
8367 * config/gthr-vxworks.h: Likewise.
8368 * config/rs6000/gthr-aix.h: Likewise.
8369 * configure.ac (target_thread_file): Likewise.
8370 * configure: Regenerate.
8371
8372 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
8373
8374 * config.host (arm*-*-rtemseabi*): New target.
8375
8376 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8377
8378 PR other/50991
8379 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8380 extra-parts.
8381
8382 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
8383
8384 * config.host (epiphany-*-elf*): New configuration.
8385 * config/epiphany: New Directory.
8386
8387 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
8388
8389 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8390 * config/avr/t-rtems: New.
8391 Filter out _exit from LIB1ASMFUNCS.
8392
8393 2011-11-04 David S. Miller <davem@davemloft.net>
8394
8395 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8396 * configure: Rebuild.
8397
8398 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8399
8400 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8401 variable.
8402
8403 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
8404
8405 PR target/50931
8406 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8407 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8408
8409 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
8410
8411 PR target/50989
8412 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8413
8414 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8415
8416 * config/c6x/t-elf (LIB2ADDEH): Set.
8417 * config/c6x/t-c6x-elf: Remove.
8418
8419 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8420
8421 * config/i386/sol2-ci.S: Rename to ...
8422 * config/i386/crti.S: ... this.
8423 * config/i386/sol2-cn.S: Rename to ...
8424 * config/i386/crtn.S: ... this.
8425 * config/sparc/sol2-ci.S: Rename to ...
8426 * config/sparc/crti.S: ... this.
8427 * config/sparc/sol2-cn.S: Rename to ...
8428 * config/sparc/crtn.S: ... this.
8429 * config/t-sol2 (CUSTOM_CRTIN): Remove.
8430 (crti.o, crtn.o): Remove.
8431
8432 2011-11-04 Tristan Gingold <gingold@adacore.com>
8433
8434 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8435
8436 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
8437
8438 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8439
8440 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
8441
8442 * config.host (crisv32-*-none, cris-*-none): Remove.
8443 (crisv32-*-elf): Append to tmake_file, don't just set it.
8444 (cris-*-elf): Add missing t-fdpbit to tmake_file.
8445
8446 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8447
8448 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8449 (ecrtn$(objext)): Likewise.
8450 (ncrti$(objext)): Likewise.
8451 (ncrtn$(objext)): Likewise.
8452
8453 2011-11-03 Andreas Schwab <schwab@redhat.com>
8454
8455 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8456
8457 2011-11-02 David S. Miller <davem@davemloft.net>
8458
8459 * configure.ac: Set host_address on sparc too.
8460 * configure: Regenerate.
8461 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8462 based upon host_address.
8463 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8464
8465 2011-11-02 Jason Merrill <jason@redhat.com>
8466
8467 * config/rs6000/t-ppccomm: Add missing \.
8468
8469 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8470
8471 * gthr-single.h, gthr.h: New files.
8472 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8473 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8474 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8475 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8476 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8477 * configure.ac (thread_header): New variable.
8478 Set it depending on target_thread_file.
8479 (gthr-default.h): Link from $thread_header.
8480 * configure: Regenerate.
8481 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8482
8483 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8484
8485 * configure.ac (tm_file_): New variable.
8486 Determine from tm_file.
8487 (tm_file, tm_defines): Substitute.
8488 * configure: Regenerate.
8489 * mkheader.sh: New file.
8490 * Makefile.in (clean): Remove libgcc_tm.h.
8491 ($(objects)): Depend on libgcc_tm.h.
8492 (libgcc_tm_defines, libgcc_tm_file): New variables.
8493 (libgcc_tm.h, libgcc_tm.stamp): New targets.
8494 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8495 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8496 ($(extra-parts)): Depend on libgcc_tm.h.
8497 * config.host (tm_defines, tm_file): New variable.
8498 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8499 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8500 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8501 (avr-*-rtems*): Likewise.
8502 (avr-*-*): Likewise.
8503 (frv-*-elf): Likewise.
8504 (frv-*-*linux*): Likewise.
8505 (h8300-*-rtems*): Likewise.
8506 (h8300-*-elf*): Likewise.
8507 (i[34567]86-*-darwin*): Likewise.
8508 (x86_64-*-darwin*): Likewise.
8509 (rx-*-elf): Likewise.
8510 (tic6x-*-uclinux): Likewise.
8511 (tic6x-*-elf): Likewise.
8512 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8513 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8514 * config/i386/cygming-crtbegin.c: Likewise.
8515 * config/i386/cygming-crtend.c: Likewise.
8516 * config/ia64/fde-vms.c: Likewise.
8517 * config/ia64/unwind-ia64.c: Likewise.
8518 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8519 * config/rs6000/darwin-fallback.c: Likewise.
8520 * config/stormy16/lib2funcs.c: Likewise.
8521 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8522 * crtstuff.c: Likewise.
8523 * dfp-bit.h: Likewise.
8524 * emutls.c: Likewise.
8525 * fixed-bit.c: Likewise.
8526 * fp-bit.c: Likewise.
8527 * generic-morestack-thread.c: Likewise.
8528 * generic-morestack.c: Likewise.
8529 * libgcc2.c: Likewise.
8530 * libgcov.c: Likewise.
8531 * unwind-dw2-fde-dip.c: Likewise.
8532 * unwind-dw2-fde.c: Likewise.
8533 * unwind-dw2.c: Likewise.
8534 * unwind-sjlj.c: Likewise.
8535
8536 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8537
8538 * configure.ac: Include ../config/picflag.m4.
8539 (GCC_PICFLAG): Call it.
8540 Substitute.
8541 * configure: Regenerate.
8542 * Makefile.in (gcc_srcdir): Remove.
8543 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8544 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8545 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8546 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8547 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8548 Use $<.
8549 Remove comment.
8550 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8551 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8552 to refer to libgcc2.c.
8553 Use $<.
8554 * config/darwin-64.c: New file.
8555 * config/darwin-crt3.c: Remove comment.
8556 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8557 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8558 config/udivmodsi4.c: New files.
8559 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8560 config/memset.c: New files.
8561 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8562 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8563 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8564 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8565 * config/t-openbsd-thread: New file.
8566 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8567 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8568 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8569 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8570 qrnnd.S.
8571 Adapt filename.
8572 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8573 to refer to gthr-posix.c.
8574 * config/alpha/t-vms (LIB2ADD): Set.
8575 * config/alpha/vms-gcc_shell_handler.c: New file.
8576 * config/arm/bpabi.c, config/arm/fp16.c,
8577 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8578 config/arm/unaligned-funcs.c: New files.
8579 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8580 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8581 * config/arm/t-linux: Likewise.
8582 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8583 * config/arm/t-netbsd: New file.
8584 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8585 * config/arm/t-symbian (LIB2ADD_ST): Set.
8586 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8587 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8588 * config/bfin/t-elf: New file.
8589 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8590 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8591 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8592 config/c6x/ltf.c: New files.
8593 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8594 (HOST_LIBGCC2_CFLAGS): Set.
8595 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8596 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8597 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8598 New files.
8599 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8600 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8601 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8602 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8603 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8604 files.
8605 * config/frv/t-frv (LIB2ADD): Set.
8606 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8607 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8608 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8609 config/h8300/popcounthi2.c: New files.
8610 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8611 * config/i386/gthr-win32.c: New file.
8612 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8613 * config/i386/t-cygwin: Likewise.
8614 * config/i386/t-darwin, config/i386/t-darwin64,
8615 config/i386/t-gthr-win32, config/i386/t-interix: New files.
8616 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8617 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8618 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8619 * config/ia64/quadlib.c: New file.
8620 * config/ia64/t-hpux (LIB2ADD): Set.
8621 * config/ia64/t-ia64: Add comment.
8622 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8623 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8624 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8625 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8626 * config/m32c/t-m32c (LIB2ADD): Set.
8627 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8628 * config/m32r/t-m32r: Likewise.
8629 * config/m68k/fpgnulib.c: New file.
8630 * config/m68k/t-floatlib (LIB2ADD): Set.
8631 (xfgnulib.c): New target.
8632 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8633 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8634 * config/mep/t-mep (LIB2ADD): Set.
8635 * config/microblaze/divsi3.asm: Rename to divsi3.S.
8636 * config/microblaze/moddi3.asm: Rename to moddi3.S.
8637 * config/microblaze/modsi3.asm: Rename to modsi3.S.
8638 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8639 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8640 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8641 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8642 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8643 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8644 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8645 New files.
8646 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8647 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8648 * config/pa/fptr.c, config/pa/lib2funcs.S,
8649 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8650 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8651 (LIB2ADD, LIB2ADD_ST): Set.
8652 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8653 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8654 Set.
8655 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8656 * config/pdp11/t-pdp11: New file.
8657 * config/picochip/libgccExtras/adddi3.S,
8658 config/picochip/libgccExtras/ashlsi3.S,
8659 config/picochip/libgccExtras/ashrsi3.S,
8660 config/picochip/libgccExtras/clzsi2.S,
8661 config/picochip/libgccExtras/cmpsi2.S,
8662 config/picochip/libgccExtras/divmod15.S,
8663 config/picochip/libgccExtras/divmodhi4.S,
8664 config/picochip/libgccExtras/divmodsi4.S,
8665 config/picochip/libgccExtras/lshrsi3.S,
8666 config/picochip/libgccExtras/parityhi2.S,
8667 config/picochip/libgccExtras/popcounthi2.S,
8668 config/picochip/libgccExtras/subdi3.S,
8669 config/picochip/libgccExtras/ucmpsi2.S,
8670 config/picochip/libgccExtras/udivmodhi4.S,
8671 config/picochip/libgccExtras/udivmodsi4.S: New files.
8672 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8673 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8674 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8675 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8676 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8677 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8678 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8679 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8680 files.
8681 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8682 (HOST_LIBGCC2_CFLAGS): Set.
8683 * config/rs6000/t-darwin64: New file.
8684 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8685 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8686 * config/rs6000/t-ppccomm (LIB2ADD): Add
8687 $(srcdir)/config/rs6000/tramp.S.
8688 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8689 Add $(srcdir)/config/rs6000/eabi.S.
8690 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8691 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8692 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8693 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8694 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8695 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8696 * config/rs6000/tramp.S: New file.
8697 * config/s390/t-tpf: Remove.
8698 * config/sh/linux-atomic.S: New file.
8699 * config/sh/t-linux (LIB2ADD): Set.
8700 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8701 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8702 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8703 to unwind-dw2.c.
8704 (HOST_LIBGCC2_CFLAGS): Set.
8705 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8706 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8707 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8708 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8709 config/spu/mfc_multi_tag_release.c,
8710 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8711 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8712 config/spu/multi3.c: New files.
8713 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8714 (HOST_LIBGCC2_CFLAGS): Set.
8715 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8716 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8717 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8718 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8719 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8720 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8721 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8722 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8723 config/stormy16/umodsi3.c: New files.
8724 * config/xtensa/lib2funcs.S: New file.
8725 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8726 * config/xtensa/t-xtensa (LIB2ADD): Set.
8727 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8728 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8729 Add t-freebsd-thread to tmake_file for posix threads.
8730 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8731 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8732 (*-*-lynxos*): Likewise.
8733 (*-*-netbsd*): Likewise.
8734 (*-*-openbsd*): Likewise.
8735 Add t-openbsd-thread to tmake_file for posix threads.
8736 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8737 (*-*-vxworks*): Set tmake_file.
8738 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8739 (alpha*-*-freebsd*): Likewise.
8740 (alpha*-*-netbsd*): Likewise.
8741 (alpha*-*-openbsd*): Likewise.
8742 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8743 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8744 (alpha*-dec-*vms*): Likewise.
8745 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8746 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8747 (bfin*-uclinux*): Likewise.
8748 (bfin*-linux-uclibc*): Likewise.
8749 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8750 (crisv32-*-none): Likewise.
8751 (cris-*-elf): Likewise.
8752 (cris-*-none): Likewise.
8753 (cris-*-linux*, crisv32-*-linux*): Likewise.
8754 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8755 tmake_file.
8756 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8757 tmake_file.
8758 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8759 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8760 (x86_64-*-elf*): Likewise.
8761 (i[34567]86-*-nto-qnx*): Likewise.
8762 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8763 win32 threads.
8764 (x86_64-*-mingw*): Likewise.
8765 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8766 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8767 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8768 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8769 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8770 tmake_file.
8771 (mipsisa64sr71k-*-elf*): Likewise.
8772 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8773 (mips-*-elf*, mipsel-*-elf*): Likewise.
8774 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8775 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8776 (mips*-*-rtems*): Likewise.
8777 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8778 to tmake_file.
8779 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8780 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8781 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8782 (spu-*-elf*): Likewise.
8783 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8784
8785 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8786
8787 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8788 $(srcdir) to refer to $(LIB1ASMSRC).
8789 Use $<.
8790 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8791 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8792 config/arm/lib1funcs.S: New files.
8793 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8794 * config/arm/t-arm: New file.
8795 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8796 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8797 config/arm/t-strongarm-elf: New files.
8798 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8799 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8800 * config/avr/lib1funcs.S: New file.
8801 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8802 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8803 * config/c6x/lib1funcs.S: New file.
8804 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8805 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8806 * config/frv/lib1funcs.S: New file.
8807 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8808 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8809 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8810 * config/ia64/__divxf3.asm: Rename to ...
8811 * config/ia64/__divxf3.S: ... this.
8812 Adapt lib1funcs.asm filename.
8813 * config/ia64/_fixtfdi.asm: Rename to ...
8814 * config/ia64/_fixtfdi.S: ... this.
8815 Adapt lib1funcs.asm filename.
8816 * config/ia64/_fixunstfdi.asm: Rename to ...
8817 * config/ia64/_fixunstfdi.S: ... this.
8818 Adapt lib1funcs.asm filename.
8819 * config/ia64/_floatditf.asm: Rename to ...
8820 * config/ia64/_floatditf.S: ... this.
8821 Adapt lib1funcs.asm filename.
8822 * config/ia64/lib1funcs.S: New file.
8823 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8824 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8825 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8826 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8827 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8828 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8829 * config/mep/lib1funcs.S: New file.
8830 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8831 * config/mips/mips16.S: New file.
8832 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8833 * config/pa/milli64.S: New file.
8834 * config/pa/t-linux, config/pa/t-linux64: New files.
8835 * config/picochip/lib1funcs.S: New file.
8836 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8837 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8838 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8839 * config/sh/t-netbsd: New file.
8840 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8841 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8842 * config/sh/t-sh64: New file.
8843 * config/sparc/lb1spc.S: New file.
8844 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8845 filename.
8846 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8847 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8848 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8849 config/xtensa/lib1funcs.S: New files.
8850 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8851 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8852 tmake_file.
8853 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8854 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8855 (arm*-*-linux*): Likewise.
8856 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8857 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8858 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8859 (arm*-*-ecos-elf): Likewise.
8860 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8861 (arm*-*-rtems*): Likewise.
8862 (arm*-*-elf): Likewise.
8863 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8864 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8865 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8866 (bfin*-uclinux*): Likewise.
8867 (bfin*-linux-uclibc*): Likewise.
8868 (bfin*-rtems*): Likewise.
8869 (bfin*-*): Likewise.
8870 (fido-*-elf): Merge into m68k-*-elf*.
8871 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8872 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8873 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8874 (h8300-*-elf*): Likewise.
8875 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8876 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8877 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8878 (i[34567]86-*-mingw*): Likewise.
8879 (x86_64-*-mingw*): Likewise.
8880 (i[34567]86-*-interix3*): Likewise.
8881 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8882 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8883 (m68k-*-elf*): Also handle fido-*-elf.
8884 Add m68k/t-floatlib to tmake_file.
8885 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8886 (m68k-*-linux*): Likewise.
8887 (m68k-*-rtems*): Likewise.
8888 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8889 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8890 sh64*-*-*.
8891 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8892 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8893 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8894 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8895 sh/t-netbsd to tmake_file.
8896 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8897 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8898 (sh-wrs-vxworks): Likewise.
8899 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8900 *-leon[3-9]*.
8901 (v850*-*-*): Add v850/t-v850 to tmake_file.
8902 (vax-*-linux*): Add vax/t-linux to tmake_file.
8903 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8904
8905 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8906
8907 * crtstuff.c: New file.
8908 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8909 (CRTSTUFF_T_CFLAGS): Define.
8910 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8911 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8912 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8913 crtstuff.c.
8914 Use $<.
8915 (crtbeginT.o): Use $(objext).
8916 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8917 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8918 (gcc-extra-parts): Remove.
8919 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8920 Set extra_parts.
8921 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8922 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8923 Add t-crtstuff-pic to tmake_file.
8924 (*-*-lynxos*): New case.
8925 Set tmake_file, extra_parts.
8926 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8927 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8928 *-*-netbsdelf[2-9]*.
8929 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8930 (*-*-rtems*): Set extra_parts.
8931 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8932 (*-*-uclinux*): New case.
8933 Set extra_parts.
8934 (*-*-vms*): New case.
8935 Set tmake_file, extra_parts.
8936 (*-*-elf): Set extra_parts.
8937 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8938 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8939 vms/t-vms64.
8940 Set extra_parts.
8941 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8942 Set extra_parts.
8943 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8944 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8945 (arm-wrs-vxworks): Append to tmake_file.
8946 Set extra_parts.
8947 (arm*-*-uclinux*): Set extra_parts.
8948 (arm*-*-ecos-elf): Likewise.
8949 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8950 arm*-*-eabi*.
8951 (arm*-*-rtems*): Set extra_parts.
8952 (arm*-*-elf): Likewise.
8953 (avr-*-rtems*): Clear extra_parts.
8954 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8955 Set extra_parts.
8956 (bfin*-uclinux*): Likewise.
8957 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8958 (bfin*-rtems*): Append to tmake_file.
8959 Set extra_parts.
8960 (bfin*-*): Likewise.
8961 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8962 (crisv32-*-elf): ... this.
8963 (crisv32-*-none): ... this.
8964 (cris-*-elf, cris-*-none): New cases.
8965 Add cris/t-elfmulti to tmake_file.
8966 (fr30-*-elf): Append to tmake_file.
8967 Set extra_parts.
8968 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8969 Set extra_parts.
8970 (h8300-*-rtems*): Append to tmake_file.
8971 Set extra_parts.
8972 (h8300-*-elf*): Likewise.
8973 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8974 Set extra_parts.
8975 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8976 Set extra_parts.
8977 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8978 (x86_64-*-elf*): Likewise.
8979 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8980 (x86_64-*-freebsd*): Likewise.
8981 (x86_64-*-netbsd*): Likewise.
8982 (i[34567]86-*-linux*): Likewise.
8983 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8984 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8985 (x86_64-*-linux*): Likewise.
8986 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8987 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8988 tmake_file.
8989 Set extra_parts.
8990 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8991 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8992 Append to extra_parts, remove crtbegin.o, crtend.o.
8993 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8994 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8995 crtend.o, crtbeginS.o, crtendS.o.
8996 (ia64*-*-linux*): Comment extra_parts.
8997 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8998 Set extra_parts.
8999 (iq2000*-*-elf*): Clear extra_parts.
9000 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9001 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9002 (m32r-*-elf*, m32r-*-rtems*): Split off ...
9003 (m32r-*-rtems*): ... this.
9004 Add m32r/t-m32r to tmake_file.
9005 (m68k-*-elf*): Add t-crtin to tmake_file.
9006 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9007 (mcore-*-elf): Likewise.
9008 (microblaze*-*-*): Set extra_parts.
9009 (mips*-sde-elf*): New case.
9010 Set tmake_file, extra_parts.
9011 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9012 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9013 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9014 tmake_file.
9015 Set extra_parts.
9016 (mipsisa64sr71k-*-elf*): Likewise.
9017 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9018 (mips-*-elf*, mipsel-*-elf*): Likewise.
9019 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9020 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9021 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9022 (mips*-*-rtems*): Likewise.
9023 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9024 (moxie-*-*): Split into ...
9025 (moxie-*-elf, moxie-*-uclinux*): ... this.
9026 Add to extra_parts, remove crtbegin.o, crtend.o.
9027 (moxie-*-rtems*): New case.
9028 Set tmake_file.
9029 Clear extra_parts.
9030 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9031 Set extra_parts.
9032 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9033 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9034 tmake_file.
9035 Set extra_parts.
9036 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9037 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9038 Set extra_parts.
9039 (powerpc-*-eabisim*): Likewise.
9040 (powerpc-*-elf*): Likewise.
9041 (powerpc-*-eabialtivec*): Likewise.
9042 (powerpc-xilinx-eabi*): Likewise.
9043 (powerpc-*-eabi*): Likewise.
9044 (powerpc-*-rtems*): Likewise.
9045 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9046 tmake_file.
9047 Set extra_parts.
9048 (powerpc-*-lynxos*): Add to tmake_file.
9049 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9050 rs6000/t-crtstuff, t-crtstuff-pic.
9051 Set extra_parts.
9052 (powerpcle-*-eabisim*): Likewise.
9053 (powerpcle-*-eabi*): Likewise.
9054 (rx-*-elf): Remove extra_parts.
9055 (s390x-ibm-tpf*): Set extra_parts.
9056 (score-*-elf): Set extra_parts.
9057 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9058 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9059 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9060 (sh64l*-*-netbsd*): Split into ...
9061 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9062 Add t-crtstuff-pic to tmake_file.
9063 Set extra_parts.
9064 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9065 Set extra_parts.
9066 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9067 (sparc-*-elf*): Remove t-crtin from tmake_file.
9068 Add to extra_parts, remove crtbegin.o, crtend.o.
9069 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9070 (sparc64-*-linux*): Likewise.
9071 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9072 Add to extra_parts, remove crtbegin.o, crtend.o.
9073 (sparc64-*-elf*): Remove t-crtin from tmake_file.
9074 Add to extra_parts, remove crtbegin.o, crtend.o.
9075 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9076 Add to extra_parts, remove crtbegin.o, crtend.o.
9077 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9078 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9079 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9080 Set extra_parts.
9081 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9082 Set extra_parts.
9083 (tic6x-*-*): Change to ...
9084 (tic6x-*-elf): ... this.
9085 Set extra_parts.
9086 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9087 Set extra_parts.
9088 (am33_2.0-*-linux*): Add comment.
9089 (mep*-*-*): Add mep/t-mep to tmake_file.
9090 Set extra_parts.
9091 * config/alpha/t-vms: New file.
9092 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9093 * config/arm/crti.S, config/arm/crtn.S: New files.
9094 * config/bfin/crti.S, config/bfin/crtn.S: New files.
9095 * config/bfin/crtlibid.S: New file.
9096 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9097 * config/c6x/crti.S, config/c6x/crtn.S: New files.
9098 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9099 (crti.o, crtin.o): New rules.
9100 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9101 * config/c6x/t-uclinux: New file.
9102 * config/cris/t-elfmulti: New file.
9103 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9104 * config/fr30/crti.S, config/fr30/crtn.S: New files.
9105 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9106 * config/frv/t-frv: New file.
9107 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9108 * config/h8300/crti.S, config/h8300/crtn.S: New files.
9109 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9110 New files.
9111 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9112 refer to cygming-crtbegin.c, cygming-crtend.c.
9113 Use $<.
9114 * config/i386/t-nto: New file.
9115 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9116 * config/ia64/crti.S, config/ia64/crtn.S: New files.
9117 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9118 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9119 Use .S extension.
9120 Use $<.
9121 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9122 (crtinitS.o): New rule.
9123 * config/ia64/vms-crtinit.S: New file.
9124 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9125 * config/m32r/initfini.c: New file.
9126 * config/m32r/t-linux, config/m32r/t-m32r: New files.
9127 * config/m68k/crti.S, config/m68k/crtn.S: New files.
9128 * config/mcore/crti.S, config/mcore/crtn.S: New files.
9129 * config/mep/t-mep: New file.
9130 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9131 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9132 * config/mips/crti.S, config/mips/crtn.S: New files.
9133 * config/mips/t-crtstuff: New file.
9134 * config/mmix/crti.S, config/mmix/crtn.S: New files.
9135 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9136 (CUSTOM_CRTIN): Set.
9137 ($(T)crti.o, $(T)crtn.o): Remove $(T),
9138 dependencies.
9139 Use $(srcdir) to refer to crti.S, crtn.S.
9140 Use .S extension, $<.
9141 * config/moxie/crti.asm: Rename to ...
9142 * config/moxie/crti.S: ... this.
9143 * config/moxie/crtn.asm: Rename to ...
9144 * config/moxie/crtn.S: ... this.
9145 * config/moxie/t-moxie: Remove.
9146 * config/pa/stublib.c: New file.
9147 * config/pa/t-stublib, config/pa/t-stublib64: New files.
9148 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9149 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9150 * config/rs6000/t-crtstuff: New file.
9151 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9152 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9153 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9154 Make output file explicit.
9155 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9156 Make output file explicit.
9157 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9158 Make output file explicit.
9159 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9160 Make output file explicit.
9161 * config/score/crti.S, config/score/crtn.S: New files.
9162 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9163 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9164 files.
9165 * config/sh/t-sh, config/sh/t-superh: New files.
9166 * config/sparc/t-linux64: New file.
9167 * config/spu/cache.S, config/spu/cachemgr.c: New files.
9168 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9169 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9170 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9171 * config/t-crtin: Remove.
9172 * config/t-crtstuff-pic: New file.
9173 * config/t-sol2 (CUSTOM_CRTIN): Set.
9174 (crti.o, crtn.o): New rules.
9175 * config/vms/t-vms: New file.
9176 * config/vms/vms-ucrt0.c: New file.
9177 * config/xtensa/t-elf: New file.
9178
9179 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9180
9181 * Makefile.in (SHLIB_NM_FLAGS): Set.
9182 * mkmap-flat.awk, mkmap-symver.awk: New files.
9183 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9184 exceptions.
9185 * configure: Regenerate.
9186 * config/libgcc-glibc.ver: New file.
9187 * config/libgcc-libsystem.ver: New file.
9188 * config/t-libunwind (SHLIB_LC): Set.
9189 * config/t-linux: New file.
9190 * config/t-slibgcc (INSTALL_SHLIB): New.
9191 (SHLIB_INSTALL): Use it.
9192 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9193 to mkmap-symver.awk.
9194 (SHLIB_MAPFILES): Don't append, adapt pathname.
9195 (SHLIB_VERPFX): Set.
9196 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9197 to mkmap-symver.awk.
9198 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9199 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9200 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9201 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9202 to mkmap-flat.awk.
9203 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9204 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9205 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9206 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9207 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9208 * config/i386/libgcc-darwin.10.4.ver,
9209 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9210 New files.
9211 * config/i386/t-darwin: Remove.
9212 * config/i386/t-darwin64: Likewise.
9213 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9214 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9215 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9216 * config/i386/t-linux: New file.
9217 * config/i386/t-mingw32: New file.
9218 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9219 * config/ia64/t-glibc: Rename to ...
9220 * config/ia64/t-linux: ... this.
9221 (SHLIB_MAPFILES): Set.
9222 * config/ia64/t-glibc-libunwind: Rename to ...
9223 * config/ia64/t-linux-libunwind: ... this.
9224 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9225 * config/ia64/t-slibgcc-hpux: New file.
9226 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9227 * config/m68k/t-slibgcc-elf-ver: New file.
9228 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9229 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9230 to mkmap-flat.awk.
9231 * config/pa/t-slibgcc-hpux: New file.
9232 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9233 files.
9234 * config/rs6000/libgcc-darwin.10.4.ver,
9235 config/rs6000/libgcc-darwin.10.5.ver: New files.
9236 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9237 config/rs6000/libgcc-glibc.ver.
9238 * config/rs6000/libgcc-ppc64.ver: Rename to
9239 config/rs6000/libgcc-ibm-ldouble.ver.
9240 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9241 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9242 * config/rs6000/t-ldbl128: Rename to ...
9243 * config/rs6000/t-linux: ... this.
9244 (SHLIB_MAPFILES): Adapt filename.
9245 * config/rs6000/t-slibgcc-aix: New file.
9246 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9247 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9248 libgcc-excl.ver, libgcc-glibc.ver.
9249 (SHLIB_LINK, SHLIB_INSTALL): Remove.
9250 * config/sparc/libgcc-glibc.ver: New file.
9251 * config/sparc/t-linux: New file.
9252 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9253 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9254 t-slibgcc-elf-ver to tmake_file.
9255 Add t-slibgcc-nolc-override to tmake_file for posix threads on
9256 *-*-freebsd[34].
9257 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9258 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9259 t-slibgcc-elf-ver, t-linux to tmake_file.
9260 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9261 tmake_file.
9262 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9263 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9264 (alpha*-dec-*vms*): Likewise.
9265 (arm*-*-freebsd*): Append to tmake_file.
9266 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9267 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9268 arm*-*-linux-*eabi.
9269 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9270 tmake_file for arm*-*-symbianelf*.
9271 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9272 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9273 cris/t-linux.
9274 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9275 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9276 pa/t-slibgcc-dwarf-ver to tmake_file.
9277 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9278 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9279 (hppa*64*-*-hpux11*): Likewise.
9280 (hppa[12]*-*-hpux11*): Likewise.
9281 (x86_64-*-darwin*): Don't override tmake_file, but only keep
9282 i386/t-crtpc, i386/t-crtfm.
9283 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9284 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9285 to tmake_file.
9286 Add i386/t-cygwin to tmake_file.
9287 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9288 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9289 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9290 to tmake_file.
9291 Add i386/t-mingw32 to tmake_file.
9292 (x86_64-*-mingw*): Likewise.
9293 (ia64*-*-freebsd*): Append to tmake_file.
9294 (ia64*-*-linux*): Append to tmake_file.
9295 Replace ia64/t-glibc by ia64/t-linux.
9296 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9297 system libunwind.
9298 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9299 t-slibgcc-hpux to tmake_file.
9300 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9301 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9302 (m32rle-*-linux*): Likewise.
9303 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9304 sjlj exceptions.
9305 (microblaze*-linux*): New case.
9306 Append to tmake_file, add t-slibgcc-nolc-override.
9307 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9308 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9309 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9310 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9311 rs6000/t-slibgcc-aix to tmake_file.
9312 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9313 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9314 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9315 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9316 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9317 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9318 sh*-*-linux*.
9319 (sparc-*-linux*): Append to tmake_file for *-leon*.
9320 Add sparc/t-linux to tmake_file for non-Leon targets.
9321 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9322 (tic6x-*-uclinux): New case.
9323 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9324 (tic6x-*-*): Add c6x/t-elf to tmake_file.
9325 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9326 (am33_2.0-*-linux*): Append to tmake_file.
9327 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9328 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9329 x86_64-*-kfreebsd*-gnu.
9330 Add i386/t-linux to tmake_file.
9331
9332 2011-10-28 Ian Lance Taylor <iant@google.com>
9333
9334 * config/i386/morestack.S: Correct CFI information to do proper
9335 returns throughout function. In 32-bit mode, save %ebx so that it
9336 is restored on unwind.
9337
9338 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
9339
9340 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9341 case where B3 isn't the return register.
9342
9343 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9344 logic for doubleword pops.
9345
9346 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
9347
9348 * config/rs6000/t-freebsd: Add wildcard.
9349
9350 2011-10-21 Paul Brook <paul@codesourcery.com>
9351
9352 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9353
9354 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
9355 Eric Botcazou <ebotcazou@adacore.com>
9356
9357 PR target/50737
9358 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9359 fs->signal_frame to 1.
9360
9361 2011-10-07 Ian Lance Taylor <iant@google.com>
9362
9363 * generic-morestack-thread.c: #include <errno.h>.
9364
9365 2011-10-07 Ian Lance Taylor <iant@google.com>
9366
9367 PR target/46093
9368 * generic-morestack.c (__generic_morestack): Make sure the segment
9369 is large enough for both the stack frame and the copied
9370 parameters.
9371
9372 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9373
9374 PR bootstrap/49804
9375 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9376 extra_parts.
9377
9378 2011-09-28 Nick Clifton <nickc@redhat.com>
9379
9380 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9381 64-bit doubles are not enabled.
9382 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9383 and floatunsisf functions.
9384
9385 2011-09-13 Paul Brook <paul@codesourcery.com>
9386
9387 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
9388 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9389 * unwind-arm-common.inc: New file.
9390 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9391 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9392 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9393 * config/c6x/libunwind.S: New file.
9394 * config/c6x/pr-support.c: New file.
9395 * config/c6x/unwind-c6x.c: New file.
9396 * config/c6x/unwind-c6x.h: New file.
9397 * config/c6x/t-c6x-elf: New file.
9398
9399 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
9400
9401 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9402 (ASM_DIVZERO): Ditto.
9403 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9404
9405 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
9406
9407 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9408
9409 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
9410
9411 PR target/50090
9412 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9413 instead of an assembly one.
9414
9415 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
9416
9417 PR bootstrap/50047
9418 * Makefile.in (install-unwind_h): Create
9419 $(gcc_objdir)/include/unwind.h atomically.
9420
9421 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9422
9423 * Makefile.in (install-unwind_h): Remove destination file first.
9424
9425 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9426
9427 * sync.c: New file.
9428 * config/mips/t-mips16: New file.
9429 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9430 (mips*-*-linux*): Likewise.
9431 (mips*-sde-elf*): Likewise.
9432 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9433 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9434 Add mips/t-mips16 to tmake_file.
9435 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9436 (mips-*-elf*): Likewise.
9437 (mips64-*-elf*): Likewise.
9438 (mips64orion-*-elf*): Likewise.
9439 (mips*-*-rtems*): Likewise.
9440 (mipstx39-*-elf*): Likewise.
9441 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9442 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9443 LIBGCC_SYNC_CFLAGS.
9444 Use $(srcdir) to refer to sync.c.
9445 Use $<.
9446 ($(libgcc-sync-funcs-o)): Likewise.
9447 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9448 ($(libgcc-sync-funcs-s-o)): Likewise.
9449
9450 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9451
9452 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9453 t-libunwind.
9454
9455 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
9456
9457 PR other/48007
9458 * config/i386/value-unwind.h: New.
9459
9460 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
9461
9462 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9463 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9464 Add to tmake_file rather than overriding it.
9465
9466 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9467
9468 * config/t-softfp: Remove.
9469 * soft-fp: Moved from ../gcc/config.
9470 * soft-fp/README: Remove t-softfp reference.
9471 * soft-fp/t-softfp: Move to config/t-softfp.
9472 (softfp_machine_header): Remove.
9473 (softfp_file_list): Remove config subdir.
9474 (soft-fp-objects): New variable.
9475 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9476 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9477 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9478 * config/t-softfp-excl: New file.
9479 * config/t-softfp-sfdf: New file.
9480 * config/t-softfp-tf: New file.
9481 * config/no-sfp-machine.h: New file.
9482 * config/arm/sfp-machine.h: New file.
9483 * config/arm/t-softfp: New file.
9484 * config/c6x/sfp-machine.h: New file.
9485 * config/i386/32/t-fprules-softfp: Rename to ...
9486 * config/i386/32/t-softfp: ... this.
9487 (tifunctions, LIB2ADD): Remove.
9488 (softfp_int_modes): Override.
9489 * config/i386/64/t-softfp-compat (tf-functions): Remove config
9490 subdir.
9491 * config/i386/64/eqtf2.c: Likewise.
9492 * config/i386/64/getf2.c: Likewise.
9493 * config/i386/64/letf2.c: Likewise.
9494 * config/ia64/sft-machine.h: New file.
9495 * config/ia64/t-fprules-softfp: Rename to ...
9496 * config/ia64/t-softfp: ... this.
9497 * config/lm32/sfp-machine.h: New file.
9498 * config/moxie/t-moxie-softfp: Remove.
9499 * config/rs6000/ibm-ldouble-format: New file.
9500 * config/rs6000/ibm-ldouble.c: New file.
9501 * config/rs6000/libgcc-ppc-glibc.ver: New file
9502 * config/rs6000/libgcc-ppc64.ver: New file
9503 * config/rs6000/sfp-machine.h: New file.
9504 * config/rs6000/t-freebsd: New file.
9505 * config/rs6000/t-ibm-ldouble: New file.
9506 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9507 libgcc-ppc-glibc.ver.
9508 * config/rs6000/t-linux64: New file.
9509 * config/rs6000/t-ppccomm (LIB2ADD): Add
9510 $(srcdir)/config/rs6000/ibm-ldouble.c.
9511 * config/rs6000/t-ppccomm-ldbl: New file.
9512 * config/score/sfp-machine.h: New file.
9513 * config.host (sfp_machine_header): Explain.
9514 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9515 t-softfp to tmake_file.
9516 (arm*-*-uclinux*): Likewise.
9517 (arm*-*-ecos-elf): Likewise.
9518 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9519 (arm*-*-rtems*): Likewise.
9520 (arm*-*-elf): Likewise.
9521 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9522 in tmake_file.
9523 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9524 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9525 (lm32-*-uclinux*): Likewise.
9526 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9527 t-softfp-excl, t-softfp.
9528 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9529 (powerpc64-*-darwin*): Likewise.
9530 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9531 to tmake_file.
9532 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9533 tmake_file.
9534 (powerpc-*-eabisim*): Likewise.
9535 (powerpc-*-elf*): Likewise.
9536 (powerpc-*-eabialtivec*): Likewise.
9537 (powerpc-xilinx-eabi*): Likewise.
9538 (powerpc-*-rtems*): Likewise.
9539 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9540 t-softfp-excl, t-softfp to tmake_file.
9541 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9542 rs6000/t-ppccomm-ldbl to tmake_file.
9543 (powerpcle-*-elf*): Likewise.
9544 (powerpcle-*-eabisim*): Likewise.
9545 (powerpcle-*-eabi*): Likewise.
9546 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9547 rs6000/t-ibm-ldouble to tmake_file.
9548 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9549 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9550 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9551 (tic6x-*-*): Likewise.
9552 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9553 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9554 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9555 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9556 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9557 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9558 t-softfp to tmake_file.
9559 * configure.ac (sfp_machine_header): Provide default if unset.
9560 Substitute.
9561 Link sfp-machine.h to config/$sfp_machine_header.
9562 * configure: Regenerate.
9563
9564 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9565
9566 * Makefile.in (double_type_size, long_double_type_size): Set.
9567 Remove $(fpbit-in-libgcc) support.
9568 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9569 (fpbit-src): New variable.
9570 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9571 Compile with -DFLOAT $(FPBIT_CFLAGS).
9572 Use $<.
9573 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9574 Compile with $(FPBIT_CFLAGS).
9575 Use $<.
9576 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9577 Compile with -DFLOAT $(TPBIT_CFLAGS).
9578 Use $<.
9579 * configure.ac (double_type_size, long_double_type_size):
9580 Determine and substitute.
9581 * configure: Regenerate.
9582 * fp-bit.c, fp-bit.h: New files.
9583 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9584 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9585 * config/mips/t-mips: New file.
9586 * config/mips/t-sdemtk: New file.
9587 * config/rs6000/ppc64-fp.c: New file.
9588 * config/rs6000/t-darwin (LIB2ADD): Add
9589 $(srcdir)/config/rs6000/ppc64-fp.c.
9590 * config/rs6000/t-ppc64-fp: New file.
9591 * config/rx/rx-lib.h: New file.
9592 * config/rx/t-rx (FPBIT): Set to true.
9593 ($(gcc_objdir)/fp-bit.c): Remove.
9594 (DPBIT): Set to true only with -m64bit-doubles.
9595 ($(gcc_objdir)/dp-bit.c): Remove.
9596 * config/sparc/t-softfp: Remove.
9597 * config/spu/t-elf: New file.
9598 * config/t-fdpbit, config/t-fpbit: New files.
9599 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9600 (mips*-*-*): Likewise.
9601 (arm-wrs-vxworks): Likewise.
9602 (arm*-*-freebsd*): Likewise.
9603 (avr-*-rtems*): Add t-fpbit to tmake_file.
9604 (avr-*-*): Likewise.
9605 (bfin*-elf*): Add t-fdpbit to tmake_file.
9606 (bfin*-uclinux*): Likewise.
9607 (bfin*-linux-uclibc*): Likewise.
9608 (bfin*-rtems*): New case.
9609 Add t-fdpbit to tmake_file.
9610 (bfin*-*): Add t-fdpbit to tmake_file.
9611 (crisv32-*-elf): Likewise.
9612 (cris-*-linux*): Likewise.
9613 (fr30-*-elf): Likewise.
9614 (frv-*-elf, frv-*-*linux*): Likewise.
9615 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9616 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9617 (m32r-*-elf*): Likewise.
9618 (m32rle-*-elf*): Likewise.
9619 (m32r-*-linux*): Likewise.
9620 (m32rle-*-linux*): Likewise.
9621 (mcore-*-elf): Add t-fdpbit to tmake_file.
9622 (microblaze*-*-*): Likewise.
9623 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9624 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9625 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9626 Fix typo.
9627 Add mips/t-tpbit to tmake-file.
9628 (mips*-*-linux*): Fix typo.
9629 (mips*-sde-elf*): New case
9630 Add mips/t-sdemtk unless using newlib.
9631 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9632 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9633 (mn10300-*-*): Likewise.
9634 (pdp11-*-*): Likewise.
9635 (picochip-*-*): Add t-fpbit to tmake_file.
9636 (powerpc-*-eabisimaltivec*): Likewise.
9637 (powerpc-*-eabisim*): Likewise.
9638 (powerpc-*-elf*): Likewise.
9639 (powerpc-*-eabialtivec*): Likewise.
9640 (powerpc-xilinx-eabi*): New case.
9641 Add t-fdpbit to tmake_file.
9642 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
9643 (powerpc-*-rtems*): Likewise.
9644 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9645 tmake_file.
9646 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9647 tmake_file.
9648 (powerpc-*-lynxos*): Likewise.
9649 (powerpcle-*-elf*): Likewise.
9650 (powerpcle-*-eabisim*): Likewise.
9651 (powerpcle-*-eabi*): Likewise.
9652 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9653 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9654 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9655 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9656 (rx-*-elf): Add t-fdpbit to tmake_file.
9657 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9658 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9659 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9660 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9661 sh*-*-netbsd*.
9662 (sh-*-rtems*): Add t-fdpbit to tmake_file.
9663 (sh-wrs-vxworks): Likewise.
9664 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9665 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9666 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9667 (sparc64-*-rtems*): ... new case.
9668 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9669 (spu-*-elf*): Likewise.
9670 Add spu/t-elf to tmake_file.
9671 (v850*-*-*): Add t-fdpbit to tmake_file.
9672 (xstormy16-*-elf): Likewise.
9673 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9674 (mep*-*-*): Likewise.
9675
9676 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9677
9678 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9679 variables.
9680 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9681 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9682 (install-unwind_h): New target.
9683 (all): Depend on it.
9684 * config.host (unwind_header): New variable.
9685 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9686 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9687 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9688 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9689 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9690 Set unwind_header.
9691 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9692 Set unwind_header.
9693 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9694 arm*-*-eabi*.
9695 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9696 Set unwind_header.
9697 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9698 (ia64*-*-freebsd*): Likewise.
9699 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9700 tmake_file.
9701 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9702 $with_system_libunwind.
9703 (ia64*-*-hpux*): Set tmake_file.
9704 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9705 (picochip-*-*): Set tmake_file.
9706 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9707 md_unwind_header.
9708 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9709 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9710 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9711 (xtensa*-*-elf*): Set tmake_file.
9712 (xtensa*-*-linux*): Likewise.
9713 * configure.ac: Include ../config/unwind_ipinfo.m4.
9714 Call GCC_CHECK_UNWIND_GETIPINFO.
9715 Link unwind.h to $unwind_header.
9716 * configure: Regenerate.
9717 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9718 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9719 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9720 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9721 * config/unwind-dw2-fde-darwin.c: New file.
9722 * config/arm/libunwind.S, config/arm/pr-support.c,
9723 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9724 config/arm/unwind-arm.h,: New files.
9725 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9726 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9727 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9728 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9729 config/ia64/unwind-ia64.h: New files.
9730 * config/picochip/t-picochip: New file.
9731 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9732 files.
9733 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9734 * config/s390/t-tpf (LIB2ADDEH): Remove.
9735 * config/t-darwin (LIB2ADDEH): Set.
9736 * config/t-eh-dw2-dip: New file.
9737 * config/t-libunwind, config/t-libunwind-elf: New files.
9738 * config/t-sol2 (LIB2ADDEH): Remove.
9739 * config/xtensa/t-xtensa: New file.
9740
9741 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9742
9743 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9744 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9745 long long to check rt_sigreturn syscall.
9746
9747 2011-08-02 Alan Modra <amodra@gmail.com>
9748
9749 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9750 Restore for indirect call bcrtl from correct stack slot, and only
9751 if cfa+40 isn't valid.
9752
9753 2011-08-01 Julian Brown <julian@codesourcery.com>
9754
9755 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9756 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9757 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9758
9759 2011-08-01 Julian Brown <julian@codesourcery.com>
9760
9761 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9762 (libgcc-std.ver.in): Use above.
9763 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9764 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9765 throughout file.
9766 * config/t-fixedpoint-gnu-prefix: New file.
9767 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9768 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9769 instead of __PFX__.
9770
9771 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9772
9773 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9774 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9775 for x86-64. Properly check __x86_64__ and __LP64__.
9776
9777 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9778
9779 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9780 version.
9781 (_FP_WS_TYPE): Likewise.
9782 (_FP_I_TYPE): Likewise.
9783
9784 2011-07-28 Alan Modra <amodra@gmail.com>
9785
9786 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9787 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9788 in a plt call stub. Do restore r2 if stopped on bctrl.
9789
9790 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9791
9792 * config.host (i[3456x]86-*-netware*): Remove.
9793 * config/i386/netware-crt0.c, config/i386/t-nwld,
9794 config/i386/t-slibgcc-nwld: Remove.
9795
9796 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9797
9798 * config.host: Handle tic6x-*-*.
9799 * config/c6x/c6x-abi.h: New file.
9800
9801 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9802
9803 * config/i386/crtprec.c: New file.
9804 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9805 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9806 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9807 (x86_64-*-darwin*): Likewise.
9808 (i[34567]86-*-solaris2*: Likewise.
9809
9810 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9811
9812 * config/alpha/crtfastmath.c: New file.
9813 * config/i386/crtfastmath.c: New file.
9814 * config/ia64/crtfastmath.c: New file.
9815 * config/mips/crtfastmath.c: New file.
9816 * config/sparc/crtfastmath.c: New file.
9817
9818 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9819 crtfastmath.c.
9820 Add -frandom-seed=gcc-crtfastmath.
9821 * config/alpha/t-crtfm: Remove.
9822 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9823 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9824
9825 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9826 (alpha*-dec-osf5.1*): Likewise.
9827 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9828 Add crtfastmath.o to extra_parts.
9829 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9830 Add crtfastmath.o to extra_parts.
9831 (x86_64-*-darwin*): Likewise.
9832 (x86_64-*-mingw*): Likewise.
9833 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9834 (ia64*-*-freebsd*): Likewise.
9835 (ia64*-*-linux*): Likewise.
9836 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9837 Add crtfastmath.o to extra_parts.
9838
9839 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9840
9841 * config/darwin-crt3.o: New file.
9842 * config/rs6000/darwin-crt2.c: New file.
9843 * config/t-darwin: New file.
9844 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9845 (crt2.o): New rule.
9846 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9847 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9848 (powerpc64-*-darwin*): Likewise.
9849
9850 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9851
9852 * config/i386/netware-crt0.c: New file.
9853 * config/i386/t-nwld: Rename to ...
9854 * config/i386/t-slibgcc-nwld: ... this.
9855 * config/i386/t-nwld: New file.
9856 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9857 tmake_file.
9858 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9859 extra_parts.
9860
9861 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9862
9863 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9864 i386/t-crtstuff.
9865 * configure: Regenerate.
9866
9867 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9868
9869 * dfp-bit.c, dfp-bit.h: New files.
9870 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9871 variables.
9872 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9873 ($(d64pbit-o)): Likewise.
9874 ($(d128pbit-o)): Likewise.
9875 * config/t-dfprules: New file.
9876 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9877 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9878 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9879 (x86_64-*-linux*): Likewise.
9880 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9881 (i[34567]86-*-cygwin*): Likewise.
9882 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9883 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9884
9885 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9886
9887 * Makfile.in (LIBGCOV): New variable.
9888 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9889 * libgcov.c: New file.
9890
9891 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9892
9893 * fixed-bit.c, fixed-bit.h: New files.
9894 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9895 refer to fixed-bit.c.
9896
9897 2011-07-07 Joseph Myers <joseph@codesourcery.com>
9898
9899 * config.host (*local*): Remove.
9900
9901 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9902
9903 PR target/39150
9904 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9905 like i?86-*-solaris2.1[0-9]*.
9906 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9907 * configure.ac (i?86-*-solaris2*): Likewise.
9908 * configure: Regenerate.
9909
9910 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
9911
9912 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9913 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9914 md_unwind_header by splitting out of...
9915 (i[34567]86-*-linux*): ... this.
9916 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9917 Remove md_unwind_header by splitting out of...
9918 (x86_64-*-linux*): ... this.
9919
9920 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
9921
9922 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9923
9924 2011-06-28 Nick Clifton <nickc@redhat.com>
9925
9926 * config.host: Recognize all V850 variants.
9927
9928 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
9929
9930 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9931
9932 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9933
9934 * shared-object.mk (c_flags-$o): Save c_flags.
9935 ($(base)$(objext)): Use it.
9936 ($(base)_s$(objext)): Likewise.
9937
9938 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9939
9940 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9941 * libgcc-std.ver.in (GCC_4.7.0): New section.
9942
9943 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
9944
9945 PR target/49313
9946 PR target/29524
9947 * config/avr/t-avr: Fix line endings.
9948 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9949 _parityXX2.
9950
9951 2011-06-14 Olivier Hainque <hainque@adacore.com>
9952 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9953
9954 * config/mips/irix6-unwind.h: New file.
9955 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9956
9957 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9958
9959 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9960 (sparc64_fallback_frame_state): Use it.
9961 (sparc64_frob_update_context): Further adjust context.
9962 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9963 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9964 * config/sparc/sol2-cn.S: Likewise.
9965
9966 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9967
9968 * enable-execute-stack-empty.c: New file.
9969 * enable-execute-stack-mprotect.c: New file.
9970 * config/i386/enable-execute-stack-mingw32.c: New file.
9971 * config.host (enable_execute_stack): New variable.
9972 Select appropriate variants.
9973 * configure.ac: Link enable-execute-stack.c to
9974 $enable_execute_stack.
9975 * configure: Regenerate.
9976 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9977 (lib2funcs): Remove _enable_execute_stack.
9978
9979 2011-06-09 David S. Miller <davem@davemloft.net>
9980 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9981
9982 * config.host (sparc-*-linux*): Correct md_unwind_header
9983 filename.
9984 (s390x-ibm-tpf*): Fix typo.
9985
9986 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9987
9988 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9989 Add crtfastmath.o to extra_parts.
9990 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9991 mips/t-crtfm.
9992 * config/mips/t-crtfm: Remove.
9993
9994 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9995
9996 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9997
9998 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9999
10000 * config.host (sh*-*-linux*): Fix typo.
10001
10002 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10003
10004 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10005 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10006 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10007 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10008 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10009 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10010 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10011 Wrap in !__MINGW64__.
10012 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10013 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10014 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10015 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10016 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10017 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10018 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10019 Wrap in !__LP64__.
10020 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10021 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10022 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10023 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10024 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10025 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10026 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10027 * config/no-unwind.h: New file.
10028 * config.host (md_unwind_header): Document.
10029 Define.
10030 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10031 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10032 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10033 hppa[12]*-*-hpux11*): Set md_unwind_header.
10034 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10035 Set md_unwind_header.
10036 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10037 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10038 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10039 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10040 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10041 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10042 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10043 md_unwind_header.
10044 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10045 * configure: Regenerate.
10046
10047 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10048
10049 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10050 Set tmake_file, extra_parts.
10051 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10052 Remove O32 support.
10053 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10054 Remove O32 support.
10055 * config/mips/t-irix6: New file.
10056 * config/mips/t-slibgcc-irix: New file.
10057
10058 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10059
10060 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10061 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10062
10063 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10064
10065 * configure.ac (target_thread_file): Determine thread model.
10066 * configure: Regenerate.
10067 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10068 * config/alpha/t-alpha: New file.
10069 * config/alpha/t-crtfm: Use $<.
10070 * config/alpha/t-ieee: New file.
10071 * config/alpha/t-osf-pthread: New file.
10072 * config/alpha/t-slibgcc-osf: New file.
10073 * config/alpha/libgcc-osf5.ver: New file.
10074
10075 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10076
10077 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10078 tmake_file.
10079 Add crtfastmath.o to extra_parts.
10080
10081 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10082
10083 * config/gmon-sol2.c: Reindent.
10084 Cleanup comments.
10085 Remove, correct casts.
10086 Use STDERR_FILENO, NULL.
10087 (BASEADDRESS): Remove.
10088 (minbrk): Remove.
10089 (errno, sbrk): Remove declarations.
10090 (monstartup) [hp300]: Remove.
10091 (mcount): Remove.
10092
10093 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10094
10095 * Makefile.in (cpu_type): Define.
10096 * config.host (i[34567]86-*-rtems*): Handle it.
10097 (i[34567]86-*-solaris2*): Move body ...
10098 (*-*-solaris2*): ... here.
10099 New case, generalize.
10100 (sparc-*-elf*): Handle it.
10101 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10102 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10103 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10104 Fold into ...
10105 (sparc*-*-solaris2*): ... this.
10106 New case.
10107 (sparc64-*-elf*): Handle it.
10108 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10109 Merge ../gcc/config/i386/gmon-sol2.c.
10110 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10111 Use C comments.
10112 Merge ../gcc/config/i386/sol2-gc1.asm.
10113 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10114 Use C comments.
10115 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10116 Use C comments.
10117 * config/i386/t-crtfm (crtfastmath.o): Use $<.
10118 * config/i386/t-crtstuff: New file.
10119 * config/i386/t-softfp: New file.
10120 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10121 $(T)crti.o, $(T)crtn.o): Remove.
10122 (gcrt1.o): New rule.
10123 (TARGET_LIBGCC2_CFLAGS): Remove.
10124 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10125 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10126 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10127 * config/sparc/t-sol2: New file.
10128 * config/sparc/t-crtfm: Move to ...
10129 * config/t-crtfm: ... this.
10130 Use $(cpu_type), $<.
10131 * config/t-crtin: New file.
10132 * config/sparc/t-softfp: New file.
10133 * config/sparc/t-softmul: New file.
10134 * config/t-rtems: New file.
10135 * config/t-slibgcc: New file.
10136 * config/t-slibgcc-elf-ver: New file.
10137 * config/t-slibgcc-gld: New file.
10138 * config/t-slibgcc-sld: New file.
10139 * config/t-sol2: New file.
10140 * configure.ac: Include ../config/lib-ld.m4.
10141 Call AC_LIB_PROG_LD_GNU.
10142 Substitute cpu_type.
10143 * configure: Regenerate.
10144
10145 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
10146
10147 PR bootstrap/49173
10148 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10149 libgcc-std.ver in the build directory.
10150 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10151 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10152
10153 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
10154
10155 * libgcc-std.ver.in: New file.
10156 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10157 variables.
10158 (libgcc-std.ver): New rule.
10159 * config/t-gnu-prefix: New file.
10160
10161 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10162
10163 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10164
10165 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10166
10167 * config/i386/darwin-lib.h: New file.
10168
10169 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10170
10171 * config/arm/symbian-lib.h: New.
10172
10173 2011-05-04 Chris Demetriou <cgd@google.com>
10174
10175 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10176 (__x86.get_pc_thunk.bx): ...this.
10177 (__morestack): Adjust for rename, remove undef of __i686.
10178
10179 2011-05-03 Chris Demetriou <cgd@google.com>
10180
10181 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10182
10183 2011-03-22 Joseph Myers <joseph@codesourcery.com>
10184
10185 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10186 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10187 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10188 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10189 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10190 Remove cases.
10191
10192 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
10193
10194 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10195 Adjust copyright year.
10196
10197 2011-03-07 Ian Lance Taylor <iant@google.com>
10198
10199 * generic-morestack.c (__splitstack_find): Adjust returned stack
10200 pointer to include all registers pushed by __morestack.
10201
10202 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
10203
10204 PR target/40125
10205 * configure.ac: Call ACX_NONCANONICAL_TARGET.
10206 (toolexecdir): Calculate and AC_SUBST.
10207 (toolexeclibdir): Likewise.
10208 * Makefile.in (target_noncanonical): Import.
10209 (toolexecdir): Likewise.
10210 (toolexeclibdir): Likewise.
10211 * configure: Regenerate.
10212
10213 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
10214
10215 PR target/46040
10216 * config/arm/bpabi.h: Rename to...
10217 * config/arm/bpabi-lib.h: ...this.
10218
10219 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10220
10221 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10222 appropriate.
10223 * configure: Regenerate.
10224
10225 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
10226
10227 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10228 __FLOAT_WORD_ORDER__.
10229 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10230 Delete.
10231
10232 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10233
10234 PR other/46202
10235 * Makefile.in (install-strip): New phony target.
10236
10237 2010-11-07 Ian Lance Taylor <iant@google.com>
10238
10239 PR target/46089
10240 * config/i386/morestack.S (__morestack_large_model): New
10241 function.
10242
10243 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
10244
10245 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10246 Delete.
10247 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10248
10249 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
10250
10251 * config/arm/bpabi.h: New file.
10252 * config/frv/frv-abi.h: New file.
10253
10254 2010-10-01 Ian Lance Taylor <iant@google.com>
10255
10256 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10257 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10258
10259 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
10260
10261 PR target/45858
10262 * config.host: Add the missing `$'.
10263
10264 2010-09-30 Michael Eager <eager@eagercon.com>
10265
10266 * config.host: Add microblaze*-*-*.
10267 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10268 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10269 udivsi3.asm,umodsi3.asm}: New.
10270
10271 2010-09-28 Ian Lance Taylor <iant@google.com>
10272
10273 * configure.ac: Adjust CFI test to test assembler directly rather
10274 than checking gcc preprocessor macro.
10275 * configure: Rebuild.
10276
10277 2010-09-27 Ian Lance Taylor <iant@google.com>
10278
10279 * configure.ac: Test whether assembler supports CFI directives.
10280 * config.host: Only add t-stack and i386/t-stack-i386 to
10281 tmake_file if libgcc_cv_cfi is "yes".
10282 * configure: Rebuild.
10283
10284 2010-09-27 Ian Lance Taylor <iant@google.com>
10285
10286 * generic-morestack.h: New file.
10287 * generic-morestack.c: New file.
10288 * generic-morestack-thread.c: New file.
10289 * config/i386/morestack.S: New file.
10290 * config/t-stack: New file.
10291 * config/i386/t-stack-i386: New file.
10292 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10293 i386/t-stack-i386 to tmake_file.
10294
10295 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
10296
10297 * Makefile.in (libgcc-extra-parts): Check for static archives and
10298 invoke ranlib after installing them.
10299 (gcc-extra-parts): Likewise.
10300 (install-leaf): Likewise.
10301
10302 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
10303
10304 * configure: Regenerated.
10305
10306 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
10307
10308 * configure: Regenerated.
10309
10310 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
10311 Andrew Pinski <pinskia@gmail.com>
10312
10313 PR target/40959
10314 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
10315
10316 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
10317
10318 PR target/45524
10319 * configure: Regenerated.
10320
10321 2010-09-06 Andreas Schwab <schwab@redhat.com>
10322
10323 * configure: Regenerate.
10324
10325 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10326
10327 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10328 64bit targets.
10329 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10330 for 64bit targets.
10331
10332 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10333 Iain Sandoe <iains@gcc.gnu.org>
10334
10335 PR target/45476
10336 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10337 LIB2FUNCS_EXCLUDE functions.
10338
10339 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10340
10341 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10342 Include dfp.m4.
10343 * configure: Regenerate.
10344
10345 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
10346
10347 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10348 i386/t-freebsd to tmake_file.
10349 * config/i386/t-freebsd: New file.
10350 * config/i386/libgcc-bsd.ver: New file.
10351
10352 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
10353
10354 * config.host (powerpc*-eabispe*): Set tmake_file.
10355 (powerpc*-eabi*): Likewise.
10356 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10357 crtbeginS, crtendS, crtbeginT.
10358
10359 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
10360
10361 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10362 to tmake_file. Add crtfastmath.o to extra_parts.
10363 * config/mips/t-crtfm: New.
10364
10365 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
10366
10367 * config.host (sparc64-*-rtems*): New target.
10368
10369 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10370
10371 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10372 assembler syntax.
10373
10374 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
10375
10376 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10377
10378 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10379
10380 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10381 alpha-dec-osf5.0* support.
10382
10383 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
10384
10385 * config.host: Add lm32-*-rtems*.
10386
10387 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10388 Uros Bizjak <ubizjak@gmail.com>
10389
10390 PR target/39048
10391 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10392 like other remaining 32-bit x86 OSes.
10393 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10394 assembler syntax.
10395 * config/i386/libgcc-sol2.ver: New file.
10396 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10397
10398 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
10399
10400 PR c/43553
10401 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10402 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10403 is used and substitute set_use_emutls.
10404 * configure: Regenerated.
10405
10406 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
10407
10408 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10409
10410 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10411
10412 PR target/38085
10413 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10414 MULTILIB_CFLAGS.
10415 ($(T)gcrt1.o): Likewise.
10416 ($(T)crt1.o): Likewise.
10417 ($(T)crti.o): Likewise.
10418 ($(T)crtn.o): Likewise.
10419
10420 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10421
10422 PR other/42980
10423 * Makefile.in (install): Use $(MAKE) string in rule, for
10424 parallel make.
10425
10426 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
10427
10428 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10429 * config/mmix/t-mmix: New file.
10430 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10431
10432 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
10433
10434 PR java/41991
10435 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10436 SHLIB_MAPFILES.
10437
10438 2010-01-04 Anthony Green <green@moxielogic.com>
10439
10440 * config/moxie/crti.asm, config/moxie/crtn.asm,
10441 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10442 config/moxie/t-moxie: New files.
10443 * config.host: Add t-moxie-softfp reference.
10444
10445 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
10446
10447 PR other/39888
10448 * config/t-slibgcc-darwin: Fix embedded rpaths for
10449 --enable-version-specific-runtime-libs, build extension stub
10450 libs exposing features available from current libgcc_s.
10451
10452 2009-11-11 Jon Beniston <jon@beniston.com>
10453
10454 * config.host: Add lm32 targets.
10455 * config/lm32: New directory.
10456 * config/lm32/libgcc_lm32.h: New file.
10457 * config/lm32/_mulsi3.c: New file.
10458 * config/lm32/_udivmodsi4.c: New file.
10459 * config/lm32/_divsi3.c: New file.
10460 * config/lm32/_modsi3.c: New file.
10461 * config/lm32/_udivsi3.c: New file.
10462 * config/lm32/_umodsi3.c: New file.
10463 * config/lm32/_lshrsi3.S: New file.
10464 * config/lm32/_ashrsi3.S: New file.
10465 * config/lm32/_ashlsi3.S: New file.
10466 * config/lm32/crti.S: New file.
10467 * config/lm32/crtn.S: New file.
10468 * config/lm32/t-lm32: New file.
10469 * config/lm32/t-elf: New file.
10470 * config/lm32/t-uclinux: New file.
10471
10472 2009-10-26 Nick Clifton <nickc@redhat.com>
10473
10474 * config.host: Add support for RX target.
10475 * config/rx: New directory.
10476 * config/rx/rx-abi-functions.c: New file. Supplementary
10477 functions for libgcc to support the RX ABI.
10478 * config/rx/rx-abi.h: New file. Supplementary header file for
10479 libgcc RX ABI functions.
10480 * config/rx/t-rx: New file: Makefile fragment for building
10481 libgcc for the RX.
10482
10483 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
10484
10485 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10486 constraint of y0 to "g".
10487
10488 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10489
10490 * config.host: Include the s390 makefile fragments.
10491 * config/s390/32/_fixdfdi.c: New file.
10492 * config/s390/32/_fixsfdi.c: New file.
10493 * config/s390/32/_fixtfdi.c: New file.
10494 * config/s390/32/_fixunsdfdi.c: New file.
10495 * config/s390/32/_fixunssfdi.c: New file.
10496 * config/s390/32/_fixunstfdi.c: New file.
10497 * config/s390/32/t-floattodi: New file.
10498 * config/s390/libgcc-glibc.ver: New file.
10499 * config/s390/t-crtstuff: New file.
10500 * config/s390/t-linux: New file.
10501 * config/s390/t-tpf: New file.
10502
10503 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10504
10505 * configure.ac (AC_PREREQ): Bump to 2.64.
10506
10507 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
10508
10509 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10510
10511 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10512
10513 * configure: Regenerate.
10514
10515 2009-08-09 Douglas B Rupp <rupp@gnat.com>
10516
10517 * config.host (ia64-hp-*vms*): New target.
10518 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10519 with ia64-hp-*vms*.
10520
10521 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10522
10523 * configure.ac: Add snippet for maintainer-mode.
10524 * configure: Regenerate.
10525 * Makefile.in (AUTOCONF, configure_deps): New variables.
10526 ($(srcdir)/configure)): New rule, active only with maintainer
10527 mode turned on.
10528
10529 2009-06-23 DJ Delorie <dj@redhat.com>
10530
10531 Add MeP port.
10532 * config.host: Add mep support.
10533
10534 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
10535
10536 * config.host: Add i386/${host_address}/t-fprules-softfp and
10537 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
10538
10539 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10540 for mingw targets.
10541 * config/i386/64/_multc3.c: Likewise.
10542 * config/i386/64/_powitf2.c: Likewise.
10543 * config/i386/64/eqtf2.c: Likewise.
10544 * config/i386/64/getf2.c: Likewise.
10545 * config/i386/64/letf2.c: Likewise.
10546 * config/i386/64/letf2.c: Likewise.
10547 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10548 unsigned long long for x64 mingw targets.
10549 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10550 (_FP_I_TYPE): Define as long long for x64 mingw target.
10551
10552 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
10553
10554 * config.host (vax-*-linux*): New.
10555
10556 2009-05-31 Anthony Green <green@moxielogic.com>
10557
10558 * config.host: Add moxie support.
10559 * config/moxie/t-moxie: New file.
10560
10561 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
10562
10563 * config.host: Add i386/${host_address}/t-fprules-softfp and
10564 t-softfp to tmake_file for i[34567]86-*-cygwin*.
10565
10566 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
10567
10568 * config.host: Add i386/${host_address}/t-fprules-softfp to
10569 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10570
10571 2009-04-09 Nick Clifton <nickc@redhat.com>
10572
10573 * config/ia64/tf-signs.c: Change copyright header to refer to
10574 version 3 of the GNU General Public License with version 3.1
10575 of the GCC Runtime Library Exception and to point readers at
10576 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10577 web page.
10578 * config/i386/32/tf-signs.c: Likewise.
10579 * config/libbid/_addsub_dd.c: Likewise.
10580 * config/libbid/_addsub_sd.c: Likewise.
10581 * config/libbid/_addsub_td.c: Likewise.
10582 * config/libbid/_dd_to_df.c: Likewise.
10583 * config/libbid/_dd_to_di.c: Likewise.
10584 * config/libbid/_dd_to_sd.c: Likewise.
10585 * config/libbid/_dd_to_sf.c: Likewise.
10586 * config/libbid/_dd_to_si.c: Likewise.
10587 * config/libbid/_dd_to_td.c: Likewise.
10588 * config/libbid/_dd_to_tf.c: Likewise.
10589 * config/libbid/_dd_to_udi.c: Likewise.
10590 * config/libbid/_dd_to_usi.c: Likewise.
10591 * config/libbid/_dd_to_xf.c: Likewise.
10592 * config/libbid/_df_to_dd.c: Likewise.
10593 * config/libbid/_df_to_sd.c: Likewise.
10594 * config/libbid/_df_to_td.c: Likewise.
10595 * config/libbid/_di_to_dd.c: Likewise.
10596 * config/libbid/_di_to_sd.c: Likewise.
10597 * config/libbid/_di_to_td.c: Likewise.
10598 * config/libbid/_div_dd.c: Likewise.
10599 * config/libbid/_div_sd.c: Likewise.
10600 * config/libbid/_div_td.c: Likewise.
10601 * config/libbid/_eq_dd.c: Likewise.
10602 * config/libbid/_eq_sd.c: Likewise.
10603 * config/libbid/_eq_td.c: Likewise.
10604 * config/libbid/_ge_dd.c: Likewise.
10605 * config/libbid/_ge_sd.c: Likewise.
10606 * config/libbid/_ge_td.c: Likewise.
10607 * config/libbid/_gt_dd.c: Likewise.
10608 * config/libbid/_gt_sd.c: Likewise.
10609 * config/libbid/_gt_td.c: Likewise.
10610 * config/libbid/_isinfd128.c: Likewise.
10611 * config/libbid/_isinfd32.c: Likewise.
10612 * config/libbid/_isinfd64.c: Likewise.
10613 * config/libbid/_le_dd.c: Likewise.
10614 * config/libbid/_le_sd.c: Likewise.
10615 * config/libbid/_le_td.c: Likewise.
10616 * config/libbid/_lt_dd.c: Likewise.
10617 * config/libbid/_lt_sd.c: Likewise.
10618 * config/libbid/_lt_td.c: Likewise.
10619 * config/libbid/_mul_dd.c: Likewise.
10620 * config/libbid/_mul_sd.c: Likewise.
10621 * config/libbid/_mul_td.c: Likewise.
10622 * config/libbid/_ne_dd.c: Likewise.
10623 * config/libbid/_ne_sd.c: Likewise.
10624 * config/libbid/_ne_td.c: Likewise.
10625 * config/libbid/_sd_to_dd.c: Likewise.
10626 * config/libbid/_sd_to_df.c: Likewise.
10627 * config/libbid/_sd_to_di.c: Likewise.
10628 * config/libbid/_sd_to_sf.c: Likewise.
10629 * config/libbid/_sd_to_si.c: Likewise.
10630 * config/libbid/_sd_to_td.c: Likewise.
10631 * config/libbid/_sd_to_tf.c: Likewise.
10632 * config/libbid/_sd_to_udi.c: Likewise.
10633 * config/libbid/_sd_to_usi.c: Likewise.
10634 * config/libbid/_sd_to_xf.c: Likewise.
10635 * config/libbid/_sf_to_dd.c: Likewise.
10636 * config/libbid/_sf_to_sd.c: Likewise.
10637 * config/libbid/_sf_to_td.c: Likewise.
10638 * config/libbid/_si_to_dd.c: Likewise.
10639 * config/libbid/_si_to_sd.c: Likewise.
10640 * config/libbid/_si_to_td.c: Likewise.
10641 * config/libbid/_td_to_dd.c: Likewise.
10642 * config/libbid/_td_to_df.c: Likewise.
10643 * config/libbid/_td_to_di.c: Likewise.
10644 * config/libbid/_td_to_sd.c: Likewise.
10645 * config/libbid/_td_to_sf.c: Likewise.
10646 * config/libbid/_td_to_si.c: Likewise.
10647 * config/libbid/_td_to_tf.c: Likewise.
10648 * config/libbid/_td_to_udi.c: Likewise.
10649 * config/libbid/_td_to_usi.c: Likewise.
10650 * config/libbid/_td_to_xf.c: Likewise.
10651 * config/libbid/_tf_to_dd.c: Likewise.
10652 * config/libbid/_tf_to_sd.c: Likewise.
10653 * config/libbid/_tf_to_td.c: Likewise.
10654 * config/libbid/_udi_to_dd.c: Likewise.
10655 * config/libbid/_udi_to_sd.c: Likewise.
10656 * config/libbid/_udi_to_td.c: Likewise.
10657 * config/libbid/_unord_dd.c: Likewise.
10658 * config/libbid/_unord_sd.c: Likewise.
10659 * config/libbid/_unord_td.c: Likewise.
10660 * config/libbid/_usi_to_dd.c: Likewise.
10661 * config/libbid/_usi_to_sd.c: Likewise.
10662 * config/libbid/_usi_to_td.c: Likewise.
10663 * config/libbid/_xf_to_dd.c: Likewise.
10664 * config/libbid/_xf_to_sd.c: Likewise.
10665 * config/libbid/_xf_to_td.c: Likewise.
10666 * config/libbid/bid128.c: Likewise.
10667 * config/libbid/bid128_2_str.h: Likewise.
10668 * config/libbid/bid128_2_str_macros.h: Likewise.
10669 * config/libbid/bid128_2_str_tables.c: Likewise.
10670 * config/libbid/bid128_add.c: Likewise.
10671 * config/libbid/bid128_compare.c: Likewise.
10672 * config/libbid/bid128_div.c: Likewise.
10673 * config/libbid/bid128_fma.c: Likewise.
10674 * config/libbid/bid128_logb.c: Likewise.
10675 * config/libbid/bid128_minmax.c: Likewise.
10676 * config/libbid/bid128_mul.c: Likewise.
10677 * config/libbid/bid128_next.c: Likewise.
10678 * config/libbid/bid128_noncomp.c: Likewise.
10679 * config/libbid/bid128_quantize.c: Likewise.
10680 * config/libbid/bid128_rem.c: Likewise.
10681 * config/libbid/bid128_round_integral.c: Likewise.
10682 * config/libbid/bid128_scalb.c: Likewise.
10683 * config/libbid/bid128_sqrt.c: Likewise.
10684 * config/libbid/bid128_string.c: Likewise.
10685 * config/libbid/bid128_to_int16.c: Likewise.
10686 * config/libbid/bid128_to_int32.c: Likewise.
10687 * config/libbid/bid128_to_int64.c: Likewise.
10688 * config/libbid/bid128_to_int8.c: Likewise.
10689 * config/libbid/bid128_to_uint16.c: Likewise.
10690 * config/libbid/bid128_to_uint32.c: Likewise.
10691 * config/libbid/bid128_to_uint64.c: Likewise.
10692 * config/libbid/bid128_to_uint8.c: Likewise.
10693 * config/libbid/bid32_to_bid128.c: Likewise.
10694 * config/libbid/bid32_to_bid64.c: Likewise.
10695 * config/libbid/bid64_add.c: Likewise.
10696 * config/libbid/bid64_compare.c: Likewise.
10697 * config/libbid/bid64_div.c: Likewise.
10698 * config/libbid/bid64_fma.c: Likewise.
10699 * config/libbid/bid64_logb.c: Likewise.
10700 * config/libbid/bid64_minmax.c: Likewise.
10701 * config/libbid/bid64_mul.c: Likewise.
10702 * config/libbid/bid64_next.c: Likewise.
10703 * config/libbid/bid64_noncomp.c: Likewise.
10704 * config/libbid/bid64_quantize.c: Likewise.
10705 * config/libbid/bid64_rem.c: Likewise.
10706 * config/libbid/bid64_round_integral.c: Likewise.
10707 * config/libbid/bid64_scalb.c: Likewise.
10708 * config/libbid/bid64_sqrt.c: Likewise.
10709 * config/libbid/bid64_string.c: Likewise.
10710 * config/libbid/bid64_to_bid128.c: Likewise.
10711 * config/libbid/bid64_to_int16.c: Likewise.
10712 * config/libbid/bid64_to_int32.c: Likewise.
10713 * config/libbid/bid64_to_int64.c: Likewise.
10714 * config/libbid/bid64_to_int8.c: Likewise.
10715 * config/libbid/bid64_to_uint16.c: Likewise.
10716 * config/libbid/bid64_to_uint32.c: Likewise.
10717 * config/libbid/bid64_to_uint64.c: Likewise.
10718 * config/libbid/bid64_to_uint8.c: Likewise.
10719 * config/libbid/bid_b2d.h: Likewise.
10720 * config/libbid/bid_binarydecimal.c: Likewise.
10721 * config/libbid/bid_conf.h: Likewise.
10722 * config/libbid/bid_convert_data.c: Likewise.
10723 * config/libbid/bid_decimal_data.c: Likewise.
10724 * config/libbid/bid_decimal_globals.c: Likewise.
10725 * config/libbid/bid_div_macros.h: Likewise.
10726 * config/libbid/bid_dpd.c: Likewise.
10727 * config/libbid/bid_flag_operations.c: Likewise.
10728 * config/libbid/bid_from_int.c: Likewise.
10729 * config/libbid/bid_functions.h: Likewise.
10730 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10731 * config/libbid/bid_inline_add.h: Likewise.
10732 * config/libbid/bid_internal.h: Likewise.
10733 * config/libbid/bid_round.c: Likewise.
10734 * config/libbid/bid_sqrt_macros.h: Likewise.
10735
10736 2009-04-09 Jakub Jelinek <jakub@redhat.com>
10737
10738 * Makefile.in: Change copyright header to refer to version
10739 3 of the GNU General Public License and to point readers at the
10740 COPYING3 file and the FSF's license web page.
10741 * config.host: Likewise.
10742
10743 2009-04-07 Alan Modra <amodra@bigpond.net.au>
10744
10745 * config.host: Reorder and merge to match config.gcc change.
10746
10747 2009-04-03 Alan Modra <amodra@bigpond.net.au>
10748
10749 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10750
10751 2009-03-28 Joseph Myers <joseph@codesourcery.com>
10752
10753 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10754 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10755 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10756 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10757
10758 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
10759
10760 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10761 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10762
10763 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10764
10765 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10766 ia64/t-softfp-compat to tmake_file.
10767
10768 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10769
10770 * config/ia64/__divxf3.asm: New.
10771 * config/ia64/_fixtfdi.asm: Likewise.
10772 * config/ia64/_fixunstfdi.asm: Likewise.
10773 * config/ia64/_floatditf.asm: Likewise.
10774 * config/ia64/t-fprules-softfp: Likewise.
10775 * config/ia64/t-softfp-compat: Likewise.
10776 * config/ia64/tf-signs.c: Likewise.
10777
10778 2009-01-18 Ben Elliston <bje@au.ibm.com>
10779
10780 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10781
10782 2009-01-16 Ben Elliston <bje@au.ibm.com>
10783
10784 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10785 to tmake_file.
10786
10787 2009-01-13 Ben Elliston <bje@au.ibm.com>
10788
10789 * config/t-softfp: New file.
10790 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10791 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10792
10793 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
10794
10795 * config.host: Add m32r*-*-rtems*.
10796
10797 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
10798
10799 * config.host: Add m32c*-*-rtems*.
10800
10801 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10802
10803 PR bootstrap/33100
10804 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10805 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10806 * configure: Regenerate.
10807 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10808 tmake_file here from gcc/config.gcc.
10809 Move extra_parts here from gcc/config.gcc.
10810 * config/i386/t-sol2: Move here from gcc/config/i386.
10811 Use gcc_srcdir instead of srcdir.
10812
10813 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10814
10815 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10816 case.
10817
10818 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10819
10820 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10821
10822 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10823
10824 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10825
10826 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10827
10828 Add picoChip port.
10829 * config.host: Add picochip-*-*.
10830
10831 2008-08-06 Bob Wilson <bob.wilson@acm.org>
10832
10833 * config.host: Match more processor names for Xtensa.
10834
10835 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10836
10837 * config/i386/64/t-softfp-compat: Update comments.
10838
10839 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10840
10841 * config/i386/64/_divtc3-compat.c: Moved to ...
10842 * config/i386/64/_divtc3.c: Here.
10843
10844 * config/i386/64/_multc3-compat.c: Moved to ...
10845 * config/i386/64/_multc3.c: Here.
10846
10847 * config/i386/64/_powitf2-compat.c: Moved to ...
10848 * config/i386/64/_powitf2.c: Here.
10849
10850 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10851 .c suffix instead of -compat.c.
10852
10853 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
10854
10855 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10856 (_FP_MUL_MEAT_D): Ditto.
10857 (_FP_DIV_MEAT_S): Ditto.
10858 (_FP_DIV_MEAT_D): Ditto.
10859
10860 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10861
10862 * Makefile.in: Add support for __sync_* libgcc functions.
10863
10864 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10865
10866 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10867
10868 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10869
10870 PR boostrap/36702
10871 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10872 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10873
10874 * config/i386/64/t-fprules-softfp: Moved to ...
10875 * config/i386/64/t-softfp-compat: This. New.
10876
10877 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
10878
10879 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10880 Initialize f with 0.0.
10881
10882 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10883
10884 PR target/36669
10885 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10886
10887 * config/i386/64/_divtc3-compat.c: New.
10888 * config/i386/64/_multc3-compat.c: Likewise.
10889 * config/i386/64/_powitf2-compat.c: Likewise.
10890 * config/i386/64/eqtf2.c: Likewise.
10891 * config/i386/64/getf2.c: Likewise.
10892 * config/i386/64/letf2.c: Likewise.
10893 * config/i386/64/t-fprules-softfp: Likewise.
10894
10895 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10896
10897 * config.host: Add i386/${host_address}/t-fprules-softfp to
10898 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
10899 i[34567]86-*-linux*, x86_64-*-linux*.
10900
10901 * configure.ac: Set host_address to 64 or 32 for x86.
10902 * configure: Regenerated.
10903
10904 * Makefile.in (config.status): Also depend on
10905 $(srcdir)/config.host.
10906
10907 * config/i386/32/t-fprules-softfp: New.
10908 * config/i386/32/tf-signs.c: Likewise.
10909
10910 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10911
10912 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10913 Uros Bizjak <ubizjak@gmail.com>
10914
10915 * config/i386/32/sfp-machine.h: New.
10916
10917 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10918
10919 * config/rs6000/t-ppccomm: Remove rules that conflict with
10920 auto-generated rules.
10921
10922 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10923
10924 * configure.ac: sinclude override.m4.
10925 * configure: Regenerate.
10926
10927 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10928
10929 * configure: Regenerate.
10930
10931 2008-06-10 Joseph Myers <joseph@codesourcery.com>
10932
10933 * Makefile.in (DECNUMINC): Remove
10934 -I$(MULTIBUILDTOP)../../libdecnumber.
10935 * gstdint.h: New.
10936
10937 2008-06-07 Joseph Myers <joseph@codesourcery.com>
10938
10939 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10940 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10941 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10942 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10943 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10944 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10945 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10946 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10947 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10948 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10949 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10950 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10951 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10952 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10953
10954 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10955
10956 * config.host (sh2[lbe]*-*-linux*): Allow target.
10957
10958 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10959
10960 * config/rs6000/t-ppccomm: Add build rules for new files.
10961 (LIB2ADD_ST): New variable.
10962
10963 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10964
10965 PR target/34210
10966 PR target/35508
10967 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10968 * config/t-avr: New file. Build 16bit libgcc functions.
10969
10970 2008-03-02 Jakub Jelinek <jakub@redhat.com>
10971
10972 PR target/35401
10973 * config/t-slibgcc-darwin: Make install-leaf dependent on
10974 install-darwin-libgcc-stubs instead of install.
10975
10976 2008-01-25 Joseph Myers <joseph@codesourcery.com>
10977
10978 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10979 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10980 sh-*-rtemscoff*): Remove cases.
10981
10982 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10983
10984 * Makefile.in (all): Use install-leaf rather than install.
10985 (install): Split most of the rule into...
10986 (install-leaf): ...this new one.
10987
10988 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
10989 Paolo Bonzini <bonzini@gnu.org>
10990
10991 PR target/30572
10992 * Makefile.in: Use @shlib_slibdir@ substitution to get
10993 correct install name on darwin.
10994 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
10995
10996 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
10997
10998 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10999 cris-*-elf and cris-*-none.
11000 (crisv32-*-linux*): Similar, as cris-*-linux*.
11001
11002 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
11003
11004 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11005
11006 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
11007
11008 PR regression/33926
11009 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11010 * configure: Regenerated.
11011
11012 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11013
11014 * Makefile.in (dfp-filenames): Replace decimal_globals,
11015 decimal_data, binarydecimal and convert_data with
11016 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11017 and bid_convert_data, respectively.
11018
11019 2007-09-17 Chao-ying Fu <fu@mips.com>
11020 Nigel Stephens <nigel@mips.com>
11021
11022 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11023 * Makefile.in (fixed_point): Define.
11024 Check if fixed_point is yes to build support functions.
11025 * configure.ac: Check for fixed_point support.
11026 * configure: Regenerated.
11027 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11028 funcs, modes, from, to.
11029
11030 2007-09-11 Janis Johnson <janis187@us.ibm.com
11031
11032 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11033
11034 2007-09-10 Janis Johnson <janis187@us.ibm.com>
11035
11036 * Makefile.in (dfp-filenames): Remove decUtility, add
11037 decDouble, decPacked, decQuad, decSingle.
11038
11039 2007-08-27 Hans Kester <hans.kester@ellips.nl>
11040
11041 * config.host : Add x86_64-elf target.
11042
11043 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11044
11045 * configure.ac (set_have_cc_tls): Add a missing =.
11046 * configure: Regenerated.
11047
11048 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11049
11050 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11051 and x86_64-*-linux*.
11052
11053 * config/t-tls: New file.
11054
11055 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
11056
11057 * configure.ac: Include ../config/enable.m4 and
11058 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
11059 supports TLS and substitute set_have_cc_tls.
11060 * configure: Regenerated.
11061
11062 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
11063
11064 * Makefile.in: Use libbid for DFP when BID is enabled.
11065
11066 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
11067
11068 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
11069 extra_parts. Add config/i386/t-cygming to tmake_file.
11070 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11071
11072 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
11073 Danny Smith <dannysmith@users.sourceforge.net>
11074
11075 PR target/29498
11076 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11077 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
11078 * config/i386/t-crtfm: Compile crtfastmath.o with
11079 -minline-all-stringops.
11080
11081 2007-05-10 Richard Sandiford <richard@codesourcery.com>
11082
11083 * config.host (sparc-wrs-vxworks): New target.
11084
11085 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
11086
11087 * config.host: Recognize fido.
11088
11089 2007-04-04 Janis Johnson <janis187@us.ibm.com>
11090
11091 * configure: Check host, not target, for decimal float support.
11092
11093 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
11094
11095 * config/i386/t-crtpc: New file.
11096 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
11097 (x86_64-*-linux*): Ditto.
11098
11099 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
11100
11101 * config.host (x86_64-*-mingw*): New target.
11102
11103 2007-03-23 Michael Meissner <michael.meissner@amd.com>
11104 H.J. Lu <hongjiu.lu@intel.com>
11105
11106 * Makefile.in (enable_decimal_float): New.
11107 (DECNUMINC): Add
11108 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11109 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11110 (decbits-filenames): This.
11111 (decbits-objects): New.
11112 (libgcc-objects): Add $(decbits-objects).
11113
11114 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11115 Substitute enable_decimal_float.
11116 * configure: Regenerated.
11117
11118 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
11119
11120 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11121
11122 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
11123
11124 * Makefile.in (install-info): New dummy target.
11125
11126 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
11127
11128 * config.host (bfin*-linux-uclibc*): Set extra_parts.
11129
11130 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
11131
11132 * Makefile.in: Add install-html and install-pdf dummy
11133 targets.
11134
11135 2007-02-05 Roger Sayle <roger@eyesopen.com>
11136 Daniel Jacobowitz <dan@codesourcery.com>
11137
11138 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11139 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11140 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11141
11142 2007-01-29 Janis Johnson <janis187@us.ibm.com>
11143
11144 * Makefile.in (dec-filenames): Add decExcept.
11145
11146 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11147
11148 PR bootstrap/30469
11149 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11150 -fprofile-use.
11151
11152 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
11153
11154 * configure.ac: Add --enable-version-specific-runtime-libs.
11155 Correct $slibdir default.
11156 * configure: Regenerated.
11157
11158 2007-01-23 Joseph Myers <joseph@codesourcery.com>
11159
11160 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11161
11162 2007-01-21 Andrew Pinski <pinskia@gmail.com>
11163
11164 PR target/30519
11165 * config.host (alpha*-*-linux*): Set extra_parts.
11166
11167 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
11168
11169 * config/sh/t-linux: New.
11170 * config.host (sh*-*-linux*): Set tmake_file.
11171
11172 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
11173
11174 * Makefile.in (install): Handle multilibs.
11175
11176 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11177
11178 * Makefile.in: Added .PHONY entry for documentation targets.
11179
11180 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11181
11182 * Makefile.in: Add empty info, html, dvi, pdf targets.
11183
11184 2007-01-04 Mike Stump <mrs@apple.com>
11185
11186 * Makefile.in (MAKEINFO): Remove.
11187 (PERL): Likewise.
11188
11189 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
11190
11191 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11192 * configure: Regenerate.
11193 * Makefile.in (host_subdir): Substitute it.
11194 (gcc_objdir): Use it.
11195
11196 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11197
11198 * config.host (ia64*-*-linux*): Set tmake_file.
11199
11200 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11201
11202 * Makefile.in (version): Define.
11203
11204 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11205 Paolo Bonzini <bonzini@gnu.org>
11206
11207 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11208 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11209 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11210 config/sparc/t-crtfm, config/t-slibgcc-darwin,
11211 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11212 shared-object.mk, siditi-object.mk, static-object.mk: New files.
11213 * configure: Generated.
11214 \f
11215 Copyright (C) 2007-2020 Free Software Foundation, Inc.
11216
11217 Copying and distribution of this file, with or without modification,
11218 are permitted in any medium without royalty provided the copyright
11219 notice and this notice are preserved.
This page took 0.506588 seconds and 5 git commands to generate.