]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
1 2020-12-08 Ian Lance Taylor <iant@golang.org>
2
3 * generic-morestack-thread.c (free_segments): Block signals during
4 thread exit.
5
6 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
7
8 PR libgcc/97543
9 PR libgcc/97643
10 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
11 (IBM128_SHARED_OBJS): New make variable.
12 (IBM128_OBJS): New make variable. Set all objects to use the
13 explicit IBM format, and disable gnu attributes.
14 (IBM128_CFLAGS): New make variable.
15 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
16 modules.
17
18 2020-12-03 Alexandre Oliva <oliva@adacore.com>
19
20 * config/t-vxworks (LIB2ADD): Drop.
21 * config/t-vxworks7 (LIB2ADD): Likewise.
22 * config/vxcache.c: Remove.
23
24 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
25
26 * libgcc2.c (bswapsi2): Make constants unsigned.
27
28 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
29
30 * libgcc2.c (absvSI2): Simplify/improve implementation by using
31 builtin_add_overflow.
32 (absvsi2, absvDI2): Likewise.
33
34 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
35
36 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
37 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
38
39 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
40
41 * config/msp430/lib2hw_mul.S (mult64_hw): New.
42 (if MUL_32): Use mult64_hw for __muldi3.
43 (if MUL_F5): Use mult64_hw for __muldi3.
44 * config/msp430/lib2mul.c (__muldi3): New.
45 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
46
47 2020-11-17 Alan Modra <amodra@gmail.com>
48
49 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
50 (LIB2_SIDITI_CONV_FUNCS): Define.
51 * config/rs6000/ppc64-fp.c: Delete file.
52
53 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
54
55 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
56 hwmult library functions.
57
58 2020-11-10 Jeff Law <law@redhat.com>
59
60 * libgcc2.c: Fix whitespace issues in most recent change.
61
62 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
63
64 * libgcc2.c (__addvSI3): Use overflow builtins.
65 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
66 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
67 (__negvsi2, __negvDI2): Likewise.
68 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
69 generated code.
70 * libgcc2.h (__ucmpdi2): Adjust prototype.
71
72 2020-11-03 Pat Bernardi <bernardi@adacore.com>
73 Olivier Hainque <hainque@adacore.com>
74
75 * config.host (aarch64-vxworks7*, tmake_file): Add
76 ${cpu_type}/t-lse and t-slibgcc-libgcc.
77
78 2020-11-03 Martin Storsjö <martin@martin.st>
79
80 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
81 before calling the callback.
82
83 2020-10-30 Olivier Hainque <hainque@adacore.com>
84 Douglas Rupp <rupp@adacore.com>
85 Pat Bernardi <bernardi@adacore.com>
86
87 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
88 to apply to VxWorks 7 as well.
89
90 2020-10-29 Olivier Hainque <hainque@adacore.com>
91
92 * config/gthr-vxworks-tls.c: Fix preprocessor logic
93 controlling the definition of VX_ENTER_TLS_DTOR and
94 VX_LEAVE_TLS_DTOR based on a version major check.
95
96 2020-10-29 Olivier Hainque <hainque@adacore.com>
97
98 * config/gthr-vxworks-thread.c: Fix name of macro used
99 to condition the inclusion of an actual implementation.
100
101 2020-10-27 Martin Liska <mliska@suse.cz>
102
103 PR gcov-profile/97461
104 * libgcov.h (gcov_counter_add): Use first static counters
105 as it should help to have malloc wrappers set up.
106
107 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
108
109 * config/gthr-vxworks-thread.c: #include gthr.h before
110 testing the guard defined there.
111 * config/gthr-vxworks-cond.c: Likewise.
112
113 2020-10-21 Douglas Rupp <rupp@adacore.com>
114 Olivier Hainque <hainque@adacore.com>
115
116 * config.host (powerpc*-wrs-vxworks7*): New case.
117 * configure.ac: Handle powerpc*-*-vxworks7* as
118 powerpc*-*-linux* for ppc-fp_type.
119 * configure: Regenerate.
120
121 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
122
123 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
124 section on VxWorks >= 6.
125 * config/gthr-vxworks-thread.c: Condition the entire
126 implementation on __GTHREAD_CXX0X.
127
128 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
129
130 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
131 section on VxWorks >= 6.
132 * config/gthr-vxworks-cond.c: Condition the entire
133 implementation on __GTHREAD_HAS_COND.
134
135 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
136
137 * config/gthr-vxworks.c: #include <taskLib.h>.
138
139 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
140
141 * config/gthr-vxworks.h: Rewrite remaining occurrence
142 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
143
144 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
145 Olivier Hainque <hainque@adacore.com>
146
147 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
148 except on VxWorks 6.
149
150 2020-10-16 Olivier Hainque <hainque@adacore.com>
151
152 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
153
154 2020-10-14 Alexandre Oliva <oliva@adacore.com>
155
156 * config/gthr-vxworks-thread.c: Include stdlib.h.
157 (tls_delete_hook): Prototype it.
158 (__gthread_cond_signal): Return early if no waiters. Consume
159 signal in case the semaphore got full. Use semInfoGet instead
160 of kernel-mode-only semInfo.
161 (__gthread_cond_timedwait): Use semExchange. Always take the
162 mutex again before returning.
163 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
164
165 2020-10-14 Olivier Hainque <hainque@adacore.com>
166
167 * config/t-vxworks (LIBGCC2_INCLUDES): Append
168 $(MULTISUBDIR) to the -I path for fixed headers, as we
169 arrange to have different sets of such headers for different
170 multilibs when they are activated.
171 * config/t-vxworks7: Likewise.
172
173 2020-10-14 Olivier Hainque <hainque@adacore.com>
174
175 * config/t-vxworks: Add include-fixed to include search
176 paths for libgcc on VxWorks.
177 * config/t-vxworks7: Likewise.
178
179 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
180
181 PR target/97148
182 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
183 instead of <cetintrin.h>.
184
185 2020-10-01 Alan Modra <amodra@gmail.com>
186
187 * config/rs6000/morestack.S,
188 * config/rs6000/tramp.S: Support __PCREL__ code.
189
190 2020-10-01 Alan Modra <amodra@gmail.com>
191
192 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
193
194 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
195
196 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
197 variable.
198
199 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
200
201 * config/aarch64/libgcc-softfp.ver: New file.
202 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
203
204 2020-09-27 Clement Chigot <clement.chigot@atos.net>
205
206 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
207
208 2020-09-22 Sergei Trofimovich <siarheit@google.com>
209
210 PR gcov-profile/96913
211 * libgcov-driver.c (write_one_data): Avoid function pointer
212 comparison in TOP streaming decision.
213
214 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
215 Christophe Lyon <christophe.lyon@linaro.org>
216
217 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
218 qualifier.
219 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
220 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
221 missing prototypes.
222
223 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
224
225 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
226 unused variable warning.
227
228 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
229
230 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
231
232 2020-09-09 Tom de Vries <tdevries@suse.de>
233
234 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
235 Wbuiltin-declaration-mismatch.
236
237 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
238
239 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
240 * config/msp430/srai.S (__gnu_mspabi_srap): New.
241 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
242
243 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
244
245 * config/nvptx/atomic.c: New.
246 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
247
248 2020-08-03 Ian Lance Taylor <iant@golang.org>
249
250 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
251
252 2020-08-03 Jakub Jelinek <jakub@redhat.com>
253
254 PR target/96402
255 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
256 of x(tmp0), x(tmp1) in STXP arguments.
257
258 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
259
260 * config/riscv/save-restore.S [__riscv_xlen == 64]
261 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
262 (__riscv_save_2): Replace negative immediates used for the final
263 stack pointer adjustment with positive ones, right-shifted by 4.
264
265 2020-07-31 Martin Liska <mliska@suse.cz>
266
267 * libgcov-driver.c: Add __gcov_kvp_pool
268 and __gcov_kvp_pool_index variables.
269 * libgcov.h (allocate_gcov_kvp): New.
270 (gcov_topn_add_value): Use it.
271
272 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
273
274 * config/aarch64/lse.S: Add PAC property note.
275
276 2020-07-23 Martin Liska <mliska@suse.cz>
277
278 PR gcov-profile/96035
279 * libgcov-driver-system.c: Create gcov folders with 0777
280 so that it respects a system umask.
281
282 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
283
284 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
285
286 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
287
288 PR target/94891
289 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
290 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
291 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
292 (MD_DEMANGLE_RETURN_ADDR): This.
293 (aarch64_post_extract_frame_addr): Rename to ...
294 (aarch64_demangle_return_addr): This.
295 (aarch64_post_frob_eh_handler_addr): Remove.
296 * unwind-dw2.c (uw_update_context): Demangle return address.
297 (uw_frob_return_addr): Remove.
298
299 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
300
301 PR target/96001
302 * config/aarch64/lse.S: Add BTI marking and related definitions,
303 and add BTI c to function entries.
304
305 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
306
307 * config/aarch64/lse.S: Add stack note.
308
309 2020-07-02 Martin Liska <mliska@suse.cz>
310
311 PR gcov-profile/95348
312 * libgcov-driver.c (merge_one_data): Merge only profiles
313 that are not of non-zero type.
314 (write_one_data): Write counters only if there's one non-zero
315 value.
316 * libgcov-util.c (tag_function): Change signature from unsigned
317 to int.
318 (tag_blocks): Likewise.
319 (tag_arcs): Likewise.
320 (tag_counters): Likewise.
321 (tag_summary): Likewise.
322 (tag_lines): Read only if COUNTERS is non-zero.
323 (read_gcda_file): Handle negative length for COUNTERS type.
324
325 2020-06-25 Martin Liska <mliska@suse.cz>
326
327 * libgcov-driver.c (merge_summary): Remove function as its name
328 is misleading and doing something different.
329 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
330 in gcov-tool.
331 * libgcov-util.c (curr_object_summary): Remove.
332 (read_gcda_file): Remove unused curr_object_summary.
333 (gcov_merge): Merge summaries.
334 * libgcov.h: Add summary argument for gcov_info struct.
335
336 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
337
338 PR target/95259
339 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
340 "common/config/i386/i386-cpuinfo.h" and
341 "common/config/i386/cpuinfo.h".
342 (__cpu_features2): Changed to array.
343 (get_amd_cpu): Removed.
344 (get_intel_cpu): Likewise.
345 (get_available_features): Likewise.
346 (__cpu_indicator_init): Call cpu_indicator_init.
347 * config/i386/cpuinfo.h: Removed.
348
349 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
350
351 * Makefile.in: Remove uses of empty.mk. Use -include.
352 * config/avr/t-avr: Use -include.
353 * empty.mk: Delete.
354
355 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
356
357 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
358 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
359 and 64 bit with -maix64.
360 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
361 Build and install AIX-style FAT libraries.
362
363 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
364
365 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
366 'i386/gnu-unwind.h'
367 * config/i386/gnu-unwind.h: New file.
368
369 2020-06-17 Martin Liska <mliska@suse.cz>
370
371 * libgcov-util.c (read_gcda_finalize): Remove const operator.
372 (merge_wrapper): Add both counts and use them properly.
373 (topn_to_memory_representation): New function.
374 (gcov_merge): Covert on disk representation to in memory
375 representation.
376 * libgcov.h: Remove const operator.
377
378 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
379
380 * configure: Regenerate.
381 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
382 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
383
384 2020-06-09 Martin Liska <mliska@suse.cz>
385
386 PR gcov-profile/95494
387 * libgcov-driver.c (write_top_counters): Cast first to
388 intptr_t as sizeof(*) != sizeof(gcov_type).
389 * libgcov.h (gcov_counter_set_if_null): Remove.
390 (gcov_topn_add_value): Cast first to intptr_t and update
391 linked list directly.
392
393 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
394
395 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
396 with uw_install_context_1.
397
398 2020-06-04 Andreas Schwab <schwab@suse.de>
399
400 PR target/59230
401 PR libfortran/59227
402 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
403 soft-fp/divtf3.c.
404 (LIB2ADD): Add config/ia64/divtf3.c.
405 * config/ia64/divtf3.c: New file.
406
407 2020-06-03 Martin Liska <mliska@suse.cz>
408
409 PR gcov-profile/95480
410 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
411 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
412 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
413 (gcov_counter_set_if_null): Likewise.
414
415 2020-06-02 Jim Wilson <jimw@sifive.com>
416
417 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
418 to bgtz.
419
420 2020-06-02 Martin Liska <mliska@suse.cz>
421
422 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
423 of xmalloc.
424
425 2020-06-02 Martin Liska <mliska@suse.cz>
426
427 * libgcov-driver.c (prune_topn_counter): Remove.
428 (prune_counters): Likewise.
429 (merge_one_data): Special case TOP N counters
430 as they have variable length.
431 (write_top_counters): New.
432 (write_one_data): Special case TOP N.
433 (dump_one_gcov): Do not prune TOP N counters.
434 * libgcov-merge.c (merge_topn_values_set): Remove.
435 (__gcov_merge_topn): Use gcov_topn_add_value.
436 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
437 Likewise here.
438 * libgcov.h (gcov_counter_add): New.
439 (gcov_counter_set_if_null): Likewise.
440 (gcov_topn_add_value): New.
441
442 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
443
444 * config/i386/sfp-exceptions.c (struct fenv):
445 Add __attribute__ ((gcc_struct)).
446
447 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
448
449 PR bootstrap/95413
450 * configure: Regenerated.
451
452 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
453
454 PR gcov-profile/95332
455 * libgcov-util.c (read_gcda_file): Call gcov_magic.
456 * libgcov.h (gcov_magic): Disable GCC poison.
457
458 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
459
460 PR target/95212
461 * config/i386/cpuinfo.h (processor_features): Move
462 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
463
464 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
465
466 PR target/91695
467 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
468 check.
469
470 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
471
472 PR target/95212
473 PR target/95220
474 * config/i386/cpuinfo.c (get_available_features): Fix
475 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
476 * config/i386/cpuinfo.h (processor_features): Add
477 FEATURE_AVX512VP2INTERSECT.
478
479 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
480
481 PR bootstrap/95147
482 * configure: Regenerated.
483
484 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
485
486 * configure: Regenerated.
487
488 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
489
490 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
491 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
492
493 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
494
495 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
496 (__math_force_eval_div): New define.
497 (__sfp_handle_exceptions): Use __math_force_eval_div to use
498 generic division to generate INVALID, DIVZERO and INEXACT
499 exceptions.
500
501 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
502
503 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
504 instead of getauxval.
505 (AT_HWCAP): Define.
506 (HWCAP_ATOMICS): Define.
507 Guard detection on __gnu_linux__.
508
509 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
510
511 * config.host: Delete changes meant for a private branch.
512 * config/rs6000/t-float128: Likewise.
513 * configure.ac: Likewise.
514 * configure: Likewise.
515
516 2020-05-05 Martin Liska <mliska@suse.cz>
517
518 PR gcov-profile/93623
519 * Makefile.in: Remove __gcov_flush.
520 * gcov.h (__gcov_flush): Remove.
521 * libgcov-interface.c (__gcov_flush): Remove.
522 (init_mx): Use renamed mutex.
523 (__gcov_lock): Likewise.
524 (__gcov_unlock): Likewise.
525 (__gcov_fork): Likewise.
526 (__gcov_flush): Remove.
527
528 2020-05-05 Martin Liska <mliska@suse.cz>
529
530 PR gcov-profile/93623
531 * libgcov-interface.c (__gcov_fork): Do not flush
532 and reset only in child process.
533 (__gcov_execl): Dump counters only and reset them
534 only if exec* fails.
535 (__gcov_execlp): Likewise.
536 (__gcov_execle): Likewise.
537 (__gcov_execv): Likewise.
538 (__gcov_execvp): Likewise.
539 (__gcov_execve): Likewise.
540
541 2020-05-05 Martin Liska <mliska@suse.cz>
542
543 PR gcov-profile/93623
544 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
545 * libgcov-interface.c (ALIAS_void_fn): Remove.
546 (__gcov_lock): New.
547 (__gcov_unlock): New.
548 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
549 (__gcov_reset): Likewise.
550 (__gcov_dump): Likewise.
551 * libgcov.h (__gcov_lock): New declaration.
552 (__gcov_unlock): Likewise.
553
554 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
555
556 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
557 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
558 generic division to generate INVALID and DIVZERO exceptions.
559
560 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
561
562 * config/rs6000/crtresfpr.S: Use .machine ppc.
563 * config/rs6000/crtresxfpr.S: Likewise.
564 * config/rs6000/crtsavfpr.S: Likewise.
565
566 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
567
568 PR target/94514
569 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
570 Update context->flags accroding to the frame state.
571
572 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
573
574 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
575 Remove unneeded assignments to volatile memory.
576
577 2020-04-15 Jakub Jelinek <jakub@redhat.com>
578
579 PR target/93053
580 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
581 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
582 is not defined, use just .arch armv8-a.
583 (B, M, N, OPN): Define.
584 (COMMENT): New .macro.
585 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
586 defined. Otherwise, move the operands right after the glue? and
587 comment out operands where the macros are used.
588 * configure: Regenerated.
589 * config.in: Regenerated.
590
591 2020-04-07 Ian Lance Taylor <iant@golang.org>
592
593 PR libgcc/94513
594 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
595 syscall instead.
596
597 2020-04-04 Ian Lance Taylor <iant@golang.org>
598
599 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
600
601 2020-04-03 Ian Lance Taylor <iant@golang.org>
602
603 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
604 than mmap/munmap, to avoid hooks.
605
606 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
607
608 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
609 (TPFRA_OFFSET): Macros removed.
610 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
611 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
612 (PG3_SKIPPING_OFFSET): New macros.
613 (__isPATrange): Use cinfc_fast for the check.
614 (__isSkipResetAddr): New function.
615 (s390_fallback_frame_state): Check for skip trace addresses. Use
616 either ICST_CRET or ICST_SRET to calculate return address
617 location.
618 (__tpf_eh_return): Handle skip trace addresses.
619
620 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
621
622 PR target/94220
623 * config/arm/lib1funcs.asm (COND): Use a single definition for
624 unified syntax.
625 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
626 (aeabi_idivmod): Likewise.
627 (divsi3_skip_div0_test): Likewise.
628
629 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
630
631 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
632
633 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
634
635 * config.host: Include the new makefile fragment.
636 * config/s390/t-tpf: New file.
637
638 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
639
640 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
641 syntax.
642 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
643 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
644 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
645 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
646 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
647 syntax.
648 (divsi3, modsi3): Likewise.
649 (clzdi2, ctzsi2): Likewise.
650 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
651 unified syntax.
652 (UNWIND_WRAPPER): Likewise.
653
654 2020-03-02 Martin Liska <mliska@suse.cz>
655
656 * libgcov-interface.c: Remove duplicate
657 declaration of __gcov_flush_mx.
658
659 2020-02-18 Martin Liska <mliska@suse.cz>
660
661 PR ipa/92924
662 * libgcov-merge.c (merge_topn_values_set): Record
663 when a TOP N counter becomes invalid. When merging
664 remove a smallest value if the space is needed.
665
666 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
667
668 PR libstdc++/79193
669 PR libstdc++/88999
670
671 * configure: Regenerated.
672
673 2020-02-10 Jeff Law <law@redhat.com>
674
675 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
676 sections.
677 * config/frv/frvend.c: Similarly.
678
679 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
680
681 PR libgcc/85334
682 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
683 New.
684
685 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
686
687 PR target/93615
688 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
689 _Unwind_gnu_Find_got.
690 * unwind-pe.h: Likewise.
691
692 2020-02-07 Jakub Jelinek <jakub@redhat.com>
693
694 PR target/93615
695 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
696 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
697 trailing :s in asm. Formatting fixes.
698 (_Unwind_decode_typeinfo_ptr): Adjust caller.
699
700 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
701
702 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
703
704 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
705 * config/nios2-elf-lib.h: New.
706 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
707 code for finding GOT base for nios2.
708
709 2020-01-27 Martin Liska <mliska@suse.cz>
710
711 PR gcov-profile/93403
712 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
713 Call __gcov_indirect_call_profiler_body.
714 (__gcov_indirect_call_profiler_body): New.
715 (__gcov_indirect_call_profiler_v4_atomic): New.
716 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
717 New declaration.
718
719 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
720
721 * config/arc/crti.S: Add RF16 object attribute.
722 * config/arc/crtn.S: Likewise.
723 * config/arc/crttls.S: Likewise.
724 * config/arc/lib1funcs.S: Likewise.
725 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
726 * config/arc/lib2funcs.c: New file.
727 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
728
729 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
730
731 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
732 * configure.ac: Handle `--with-toolexeclibdir='.
733 * configure: Regenerate.
734
735 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
736
737 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
738
739 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
740
741 * config/mips/gnustack.h: New file.
742 * config/mips/crti.S: Include gnustack.h.
743 * config/mips/crtn.S: Likewise.
744 * config/mips/mips16.S: Likewise.
745 * config/mips/vr4120-div.S: Likewise.
746
747 2020-01-23 Martin Liska <mliska@suse.cz>
748
749 * libgcov-driver.c (prune_topn_counter): Remove
750 check for -1 as we only prune run-time counters
751 that do not generate an invalid state.
752
753 2020-01-22 Martin Liska <mliska@suse.cz>
754
755 PR tree-optimization/92924
756 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
757 try to find an existing value, then find an empty slot
758 if not found.
759
760 2020-01-22 Martin Liska <mliska@suse.cz>
761
762 PR tree-optimization/92924
763 * libgcov-driver.c (prune_topn_counter): New.
764 (prune_counters): Likewise.
765 (dump_one_gcov): Prune a run-time counter.
766 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
767 For a known value, add GCOV_TOPN_VALUES to value.
768 Otherwise, decrement all counters by one.
769
770 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
771
772 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
773
774 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
775
776 PR libgcc/92988
777 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
778 DEFAULT_USE_CXA_ATEXIT is true.
779
780 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
781 Thomas Preud'homme <thomas.preudhomme@arm.com>
782
783 * config/arm/t-arm: Check return value of gcc rather than lack of
784 output.
785
786 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
787
788 * config/avr/lib1funcs.S (skip): Simplify.
789
790 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
791
792 * config/gcn/atomic.c: Remove include of stdint.h.
793 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
794 __UINTPTR_TYPE__.
795
796 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
797
798 * config/gcn/atomic.c: New.
799 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
800
801 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
802
803 Implement 64-bit double functions.
804
805 PR target/92055
806 * config.host (tmake_file) [target=avr]: Add t-libf7,
807 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
808 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
809 depending on sizeof (double) or sizeof (long double).
810 * config/avr/libf7: New folder.
811
812 2020-01-05 Olivier Hainque <hainque@adacore.com>
813
814 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
815 by IN_LIBGCC2.
816
817 2020-01-01 Jakub Jelinek <jakub@redhat.com>
818
819 Update copyright years.
820
821 2019-12-30 Olivier Hainque <hainque@adacore.com>
822
823 * config/gthr-vxworks.h: Use _vxworks-versions.h.
824 * config/gthr-vxworks-tls.c: Likewise.
825
826 2019-12-30 Olivier Hainque <hainque@adacore.com>
827
828 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
829 standard zero-initializer syntax.
830
831 2019-12-30 Olivier Hainque <hainque@adacore.com>
832
833 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
834 reference to the internal VX_GET_TLS_DATA interface.
835
836 2019-12-30 Olivier Hainque <hainque@adacore.com>
837
838 * config/vxcrtstuff.c: Fix incorrect spelling of
839 USE_INITFINI_ARRAY in guard.
840
841 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
842
843 * config.host: s/msp430*-*-elf/msp430-*-elf*.
844 Override default "extra_parts" variable.
845 * configure: Regenerate.
846 * configure.ac: Disable TM clone registry by default for
847 msp430-elfbare.
848
849 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
850
851 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
852 "extra_parts".
853 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
854
855 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
856
857 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
858 true.
859
860 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
861
862 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
863 defined instead of its value.
864
865 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
866
867 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
868 if it will have contents.
869
870 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
871
872 PR target/92055
873 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
874
875 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
876
877 PR libgcc/91737
878 * config.host: Add t-gthr-noweak on *-*-musl*.
879 * config/t-gthr-noweak: New file.
880
881 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
882
883 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
884 volatile void *. Remove trap check.
885 (__kernel_cmpxchg2): Likewise.
886 (FETCH_AND_OP_2): Adjust operand types.
887 (OP_AND_FETCH_2): Likewise.
888 (FETCH_AND_OP_WORD): Likewise.
889 (OP_AND_FETCH_WORD): Likewise.
890 (COMPARE_AND_SWAP_2): Likewise.
891 (__sync_val_compare_and_swap_4): Likewise.
892 (__sync_bool_compare_and_swap_4): Likewise.
893 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
894 (__sync_lock_test_and_set_4): Likewise.
895 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
896 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
897 for release.
898 (__sync_lock_release_8): Remove.
899
900 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
901
902 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
903 of __sigset_t.
904
905 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
906 Doug Rupp <rupp@adacore.com>
907 Olivier Hainque <hainque@adacore.com>
908
909 * config.host: Collapse the arm-vxworks entries into
910 a single arm-wrs-vxworks7* one.
911 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
912 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
913 kernel modules, to be overriden by libstdc++ when we link with
914 it. Rely on externally provided __exidx_start/end.
915
916 2019-11-14 Doug Rupp <rupp@adacore.com>
917 Olivier Hainque <hainque@adacore.com>
918
919 * config.host: Handle aarch64*-wrs-vxworks7*.
920
921 2019-11-12 Olivier Hainque <hainque@adacore.com>
922
923 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
924 sources except the cxx0x support to LIB2ADDEH. We don't support
925 cxx0x on AE/653.
926 * config/t-vxworksae: New file.
927 * config.host: Handle *-*-vxworksae: Add the two aforementioned
928 Makefile fragment files at their expected position in the tmake_file
929 list, in accordance with what is done for other VxWorks variants.
930
931 2019-11-12 Corentin Gay <gay@adacore.com>
932 Jerome Lambourg <lambourg@adacore.com>
933 Olivier Hainque <hainque@adacore.com>
934
935 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
936 sources to LIB2ADDEH.
937 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
938 * config/t-vxworks7: Likewise.
939
940 * config.host: Append a block at the end of the file to add the
941 t-gthr files to the tmake_file list for VxWorks after everything
942 else.
943
944 * config/vxlib.c: Rename as gthr-vxworks.c.
945 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
946
947 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
948 API and a basic error checking API, both internal. Simplify the
949 __gthread_once_t type definition and initializers. Add sections
950 for condition variables support and for the C++0x thread support,
951 conditioned against Vx653 for the latter.
952
953 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
954 implementation, leveraging the TAS internal API.
955 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
956 API, leveraging the general availability of TLS services in VxWorks7
957 post SR6xxx.
958 (__gthread_setspecific, __gthread_setspecific): Use it.
959 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
960 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
961 support based on VxWorks primitives.
962 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
963 based on VxWorks primitives.
964
965 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
966 Olivier Hainque <hainque@adacore.com>
967
968 * config/vxcrtstuff.c: New file.
969 * config/t-vxcrtstuff: New Makefile fragment.
970 * config.host: Append t-vxcrtstuff to the tmake_file list
971 on all VxWorks ports using dwarf for table based EH.
972
973 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
974
975 Support 64-bit double and 64-bit long double configurations.
976
977 PR target/92055
978 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
979 long double is a 32-bit type.
980 * config/avr/t-avrlibc: Copy double64 and long-double64
981 multilib(s) from the vanilla one.
982 * config/avr/t-copy-libgcc: New Makefile snip.
983
984 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
985
986 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
987 the target output object format is not ELF.
988 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
989
990 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
991
992 PR libgcc/78804
993 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
994 * fp-bit.c (pack_d, unpack_d): Remove special cases for
995 FLOAT_BIT_ORDER_MISMATCH.
996 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
997
998 2019-11-01 Jim Wilson <jimw@sifive.com>
999
1000 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1001
1002 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1003
1004 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1005 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
1006 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1007 Define symbols for 32-bit and f5series hardware multiply
1008 register addresses.
1009 Replace hard-coded register addresses with symbols.
1010 Fix "_mspabi*" typo.
1011 Fix whitespace.
1012 * config/msp430/lib2mul.c: Add comment.
1013
1014 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
1015
1016 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1017 unsigned int. Adjust callers.
1018 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1019 unsigned int *. Load relocation offset before function pointer.
1020 Add barrier to ensure ordering.
1021
1022 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
1023
1024 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1025 Load PIC register after branch target. Fix white space.
1026 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1027 implementations. Load PIC register after branch target. Don't
1028 clobber function pointer when it points to function descriptor.
1029 Use nullification instead of branch in LINUX implementation.
1030
1031 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
1032
1033 * config/pa/fptr.c: Disable -Warray-bounds warning.
1034
1035 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
1036
1037 * config.in, configure: Re-rebuild with stock autoconf 2.69,
1038 not the ubuntu modified 2.69.
1039
1040 PR target/91833
1041 * config/aarch64/lse-init.c: Include auto-target.h. Disable
1042 initialization if !HAVE_SYS_AUXV_H.
1043 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1044 * config.in, configure: Rebuild.
1045
1046 PR target/91834
1047 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1048 overlap the inputs.
1049
1050 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
1051
1052 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1053 CTR_EL0.IDC and CTR_EL0.DIC.
1054
1055 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
1056
1057 Revert:
1058 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1059 Mickaël Guêné <mickael.guene@st.com>
1060
1061 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1062 architecture.
1063
1064 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
1065
1066 * config/aarch64/lse-init.c: New file.
1067 * config/aarch64/lse.S: New file.
1068 * config/aarch64/t-lse: New file.
1069 * config.host: Add t-lse to all aarch64 tuples.
1070
1071 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1072 Mickaël Guêné <mickael.guene@st.com>
1073
1074 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1075 architecture.
1076
1077 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1078 Mickaël Guêné <mickael.guene@st.com>
1079
1080 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1081 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1082 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1083 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1084 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1085 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1086 (__gnu_personality_sigframe_fdpic): New.
1087 (get_eit_entry): Add FDPIC signal frame support.
1088
1089 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1090 Mickaël Guêné <mickael.guene@st.com>
1091
1092 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1093 (__kernel_dmb): Likewise.
1094 (__fdpic_cmpxchg): New function.
1095 (__fdpic_dmb): New function.
1096 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1097 (gnu_Unwind_Find_got): New function.
1098 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1099 * unwind-arm-common.inc (UCB_PR_GOT): New.
1100 (funcdesc_t): New struct.
1101 (get_eit_entry): Add FDPIC support.
1102 (unwind_phase2): Likewise.
1103 (unwind_phase2_forced): Likewise.
1104 (__gnu_Unwind_RaiseException): Likewise.
1105 (__gnu_Unwind_Resume): Likewise.
1106 (__gnu_Unwind_Backtrace): Likewise.
1107 * unwind-pe.h (read_encoded_value_with_base): Likewise.
1108
1109 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1110 Mickaël Guêné <mickael.guene@st.com>
1111
1112 * libgcc/crtstuff.c: Add support for FDPIC.
1113
1114 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1115
1116 * config.host: Handle *-*-uclinuxfdpiceabi.
1117
1118 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1119
1120 * config.host: Set cpu_type for bpf-*-* targets.
1121 * config/bpf/t-bpf: Likewise.
1122 * config/bpf/crtn.S: Likewise.
1123 * config/bpf/crti.S: New file.
1124
1125 2019-09-06 Jim Wilson <jimw@sifive.com>
1126
1127 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1128 (riscv*-*-freebsd*): Likewise.
1129
1130 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
1131
1132 * config.host: Remove references to spu.
1133 * config/spu/: Remove directory.
1134
1135 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1136
1137 PR target/91306
1138 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1139 element type, instead of "sizeof" the element type.
1140 (__DTOR_LIST__): Likewise.
1141 (__TMC_LIST__): Likewise.
1142 (__do_global_dtors_aux_fini_array_entry): Likewise.
1143 (__frame_dummy_init_array_entry): Likewise.
1144 (__CTOR_END__): Likewise.
1145 (__DTOR_END__): Likweise.
1146 (__FRAME_END__): Likewise.
1147 (__TMC_END__): Likewise.
1148
1149 2019-08-20 Lili Cui <lilicui@intel.com>
1150
1151 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1152 INTEL_COREI7_COOPERLAKE.
1153
1154 2019-07-31 Matt Thomas <matt@3am-software.com>
1155 Nick Hudson <nick@nthcliff.demon.co.uk>
1156 Matthew Green <mrg@eterna.com.au>
1157 Maya Rashish <coypu@sdf.org>
1158
1159 * config.host (hppa*-*-netbsd*): New case.
1160 * config/pa/t-netbsd: New file.
1161
1162 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
1163
1164 * config/arm/cmse.c (cmse_check_address_range): Add
1165 warn_unused_result attribute.
1166
1167 2019-07-22 Martin Liska <mliska@suse.cz>
1168
1169 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1170 * config/pa/t-stublib: Likewise.
1171
1172 2019-07-22 Stafford Horne <shorne@gmail.com>
1173
1174 PR target/90362
1175 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1176 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1177 instructions are not available on every processor. Change a
1178 l.bnf to l.bf to fix logic issue.
1179
1180 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
1181
1182 * config.host: Remove reference to t-darwin8.
1183
1184 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
1185
1186 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1187 list.
1188 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
1189 mmacosx-version-min for crts to run across all system versions.
1190 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1191 * config/t-darwin: Revise mmacosx-version-min for crts to run across
1192 system versions >= 10.4.
1193
1194 2019-07-03 Martin Liska <mliska@suse.cz>
1195
1196 * Makefile.in: Use topn_values instead of one_value names.
1197 * libgcov-merge.c (__gcov_merge_single): Move to ...
1198 (__gcov_merge_topn): ... this.
1199 (merge_single_value_set): Move to ...
1200 (merge_topn_values_set): ... this.
1201 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1202 ...
1203 (__gcov_topn_values_profiler_body): ... this.
1204 (__gcov_one_value_profiler_v2): Move to ...
1205 (__gcov_topn_values_profiler): ... this.
1206 (__gcov_one_value_profiler_v2_atomic): Move to ...
1207 (__gcov_topn_values_profiler_atomic): ... this.
1208 (__gcov_indirect_call_profiler_v4): Remove.
1209 * libgcov-util.c (__gcov_single_counter_op): Move to ...
1210 (__gcov_topn_counter_op): ... this.
1211 * libgcov.h (L_gcov_merge_single): Remove.
1212 (L_gcov_merge_topn): New.
1213 (__gcov_merge_single): Remove.
1214 (__gcov_merge_topn): New.
1215 (__gcov_one_value_profiler_v2): Move to ..
1216 (__gcov_topn_values_profiler): ... this.
1217 (__gcov_one_value_profiler_v2_atomic): Move to ...
1218 (__gcov_topn_values_profiler_atomic): ... this.
1219
1220 2019-07-03 Martin Liska <mliska@suse.cz>
1221
1222 * libgcov-merge.c (merge_single_value_set): Support N values.
1223 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1224
1225 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
1226
1227 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1228 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1229 * configure.ac: Add --disable-tm-clone-registry option.
1230 * configure: Regenerate.
1231
1232 2019-06-27 Martin Liska <mliska@suse.cz>
1233
1234 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1235 dead assignments.
1236 * libgcov-util.c: Likewise.
1237
1238 2019-06-27 Martin Liska <mliska@suse.cz>
1239
1240 * libgcov-util.c (gcov_profile_merge): Release allocated
1241 memory.
1242 (calculate_overlap): Likewise.
1243
1244 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
1245
1246 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1247 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1248 Build objects for the out of line save/restore register functions
1249 so that they can be used for any supported Darwin version.
1250 * config/t-darwin: Default the build Darwin version to Darwin8
1251 (MacOS 10.4).
1252
1253 2019-06-25 Martin Liska <mliska@suse.cz>
1254
1255 * libgcov-driver-system.c (replace_filename_variables): Do not
1256 call strlen with NULL argument.
1257
1258 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
1259
1260 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1261 * config/gcn/unwind-gcn.c: New file.
1262
1263 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
1264 Andrew Stubbs <ams@codesourcery.com>
1265
1266 * configure: Regenerate.
1267 * config/gcn/gthr-gcn.h: New.
1268
1269 2019-06-18 Tom de Vries <tdevries@suse.de>
1270
1271 * config/nvptx/crt0.c (__main): Declare.
1272
1273 2019-06-17 Matthew Green <mrg@eterna.com.au>
1274 Maya Rashish <coypu@sdf.org>
1275
1276 * config.host (aarch64*-*-netbsd*): New case.
1277
1278 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1279
1280 * config/msp430/slli.S (__mspabi_sllll): New library function for
1281 performing a logical left shift of a 64-bit value.
1282 * config/msp430/srai.S (__mspabi_srall): New library function for
1283 performing a arithmetic right shift of a 64-bit value.
1284 * config/msp430/srll.S (__mspabi_srlll): New library function for
1285 performing a logical right shift of a 64-bit value.
1286
1287 2019-06-14 Matt Thomas <matt@3am-software.com>
1288 Matthew Green <mrg@eterna.com.au>
1289 Nick Hudson <skrll@netbsd.org>
1290 Maya Rashish <coypu@sdf.org>
1291
1292 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1293 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1294 functions to build.
1295 * config/arm/t-netbsd-eabi: New file.
1296
1297 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
1298
1299 * config.host: Add PRU target.
1300 * config/pru/asri.c: New file.
1301 * config/pru/eqd.c: New file.
1302 * config/pru/eqf.c: New file.
1303 * config/pru/ged.c: New file.
1304 * config/pru/gef.c: New file.
1305 * config/pru/gtd.c: New file.
1306 * config/pru/gtf.c: New file.
1307 * config/pru/led.c: New file.
1308 * config/pru/lef.c: New file.
1309 * config/pru/lib2bitcountHI.c: New file.
1310 * config/pru/lib2divHI.c: New file.
1311 * config/pru/lib2divQI.c: New file.
1312 * config/pru/lib2divSI.c: New file.
1313 * config/pru/libgcc-eabi.ver: New file.
1314 * config/pru/ltd.c: New file.
1315 * config/pru/ltf.c: New file.
1316 * config/pru/mpyll.S: New file.
1317 * config/pru/pru-abi.h: New file.
1318 * config/pru/pru-asm.h: New file.
1319 * config/pru/pru-divmod.h: New file.
1320 * config/pru/sfp-machine.h: New file.
1321 * config/pru/t-pru: New file.
1322
1323 2019-06-11 Jakub Jelinek <jakub@redhat.com>
1324
1325 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1326
1327 2019-06-10 Martin Liska <mliska@suse.cz>
1328
1329 PR bootstrap/90808
1330 * libgcov.h: Add ATTRIBUTE_UNUSED.
1331
1332 2019-06-10 Martin Liska <mliska@suse.cz>
1333
1334 * Makefile.in: Add __gcov_one_value_profiler_v2,
1335 __gcov_one_value_profiler_v2_atomic and
1336 __gcov_indirect_call_profiler_v4.
1337 * libgcov-merge.c (__gcov_merge_single): Change
1338 function signature.
1339 (merge_single_value_set): New.
1340 * libgcov-profiler.c (__gcov_one_value_profiler_body):
1341 Update functionality.
1342 (__gcov_one_value_profiler): Remove.
1343 (__gcov_one_value_profiler_v2): ... this.
1344 (__gcov_one_value_profiler_atomic): Rename to ...
1345 (__gcov_one_value_profiler_v2_atomic): this.
1346 (__gcov_indirect_call_profiler_v3): Rename to ...
1347 (__gcov_indirect_call_profiler_v4): ... this.
1348 * libgcov.h (__gcov_one_value_profiler): Remove.
1349 (__gcov_one_value_profiler_atomic): Remove.
1350 (__gcov_one_value_profiler_v2_atomic): New.
1351 (__gcov_indirect_call_profiler_v3): Remove.
1352 (__gcov_one_value_profiler_v2): New.
1353 (__gcov_indirect_call_profiler_v4): New.
1354 (gcov_get_counter_ignore_scaling): New function.
1355
1356 2019-06-07 Martin Liska <mliska@suse.cz>
1357
1358 * Makefile.in: Remove usage of
1359 _gcov_merge_icall_topn.
1360 * libgcov-driver.c (gcov_sort_n_vals): Remove.
1361 (gcov_sort_icall_topn_counter): Likewise.
1362 (gcov_sort_topn_counter_arrays): Likewise.
1363 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1364 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1365 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1366 Likewise.
1367 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1368 (struct indirect_call_tuple): Remove.
1369 (__gcov_indirect_call_topn_profiler): Remove.
1370 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1371 * libgcov.h (gcov_sort_n_vals): Remove.
1372 (L_gcov_merge_icall_topn): Likewise.
1373 (__gcov_merge_icall_topn): Likewise.
1374 (__gcov_indirect_call_topn_profiler): Likewise.
1375
1376 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
1377
1378 * config/rs6000/t-darwin: Ensure that the unwinder is built with
1379 altivec enabled.
1380
1381 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1382
1383 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1384 section.
1385 (__mspabi_slli): Likewise.
1386 (__mspabi_slll_n): Likewise.
1387 (__mspabi_slll): Likewise.
1388 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1389 (__mspabi_srai): Likewise.
1390 (__mspabi_sral_n): Likewise.
1391 (__mspabi_sral): Likewise.
1392 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1393 (__mspabi_srli): Likewise.
1394 (__mspabi_srll_n): Likewise.
1395 (__mspabi_srll): Likewise.
1396
1397 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1398
1399 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1400 Add appropriate tm_file clause as well.
1401 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1402
1403 2019-06-05 James Clarke <jrtc27@jrtc27.com>
1404
1405 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1406 rather than .data/.bss so it can be accessed via gp-relative
1407 addressing.
1408
1409 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
1410
1411 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1412 (CR2_REGNO): Rename to R_CR2.
1413 (XER_REGNO): Rename to R_XER.
1414 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1415 (VRSAVE_REGNO): Rename to R_VRSAVE.
1416 (VSCR_REGNO): R_VSCR.
1417
1418 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
1419
1420 * config.host (rx-*-linux*): Add new case.
1421 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1422
1423 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
1424
1425 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1426 function.
1427 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1428 aarch64_post_frob_eh_handler_addr): Add check for b-key.
1429 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1430 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1431 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1432 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1433 string.
1434 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1435 string.
1436 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1437
1438 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1439
1440 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1441 Remove Solaris 9 and 10 support.
1442 (sparc_is_sighandler): Likewise.
1443
1444 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
1445
1446 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1447
1448 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
1449
1450 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1451 4_FP_W_TYPEs are used for IEEE quad precision.
1452 * soft-fp/extendhftf2.c: Likewise.
1453 * soft-fp/extendsftf2.c: Likewise.
1454 * soft-fp/extendxftf2.c: Likewise.
1455 * soft-fp/trunctfdf2.c: Likewise.
1456 * soft-fp/trunctfhf2.c: Likewise.
1457 * soft-fp/trunctfsf2.c: Likewise.
1458 * soft-fp/trunctfxf2.c: Likewise.
1459 * config/rs6000/ibm-ldouble.c: Likewise.
1460
1461 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1462
1463 * config.host: Simplify various *-*-solaris2.1[0-9]* to
1464 *-*-solaris2*.
1465 * configure.ac: Likewise.
1466 * configure: Regenerate.
1467
1468 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1469 Solaris 10 and Solaris 11 < snv_125 handling.
1470
1471 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
1472
1473 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1474
1475 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
1476
1477 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1478 * config/i386/cpuinfo.h (enum processor_features): Add
1479 FEATURE_AVX512BF16.
1480
1481 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1482 Bernd Edlinger <bernd.edlinger@hotmail.de>
1483 Jakub Jelinek <jakub@redhat.com>
1484
1485 PR target/89093
1486 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1487 * config/arm/unwind-arm.c: Likewise.
1488 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1489 attribute for ARM.
1490
1491 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
1492
1493 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1494 (RT_SIGRETURN): Update.
1495 (nds32_fallback_frame_state): Update.
1496
1497 2019-02-21 Martin Sebor <msebor@redhat.com>
1498
1499 * libgcc2.h (__clear_cache): Correct signature.
1500 * libgcc2.c (__clear_cache): Same.
1501
1502 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
1503
1504 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1505 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1506
1507 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
1508
1509 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1510 regno instead of index to DWARF_ZERO_REG.
1511
1512 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
1513
1514 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1515 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1516
1517 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
1518
1519 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1520 to HOST_LIBGCC2_CFLAGS.
1521
1522 2019-01-23 Joseph Myers <joseph@codesourcery.com>
1523
1524 PR libgcc/88931
1525 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
1526
1527 2019-01-18 Martin Liska <mliska@suse.cz>
1528
1529 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1530 to ...
1531 (__gcov_indirect_call_profiler_v3): ... this.
1532 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1533 (__gcov_indirect_call_profiler_v3): Likewise.
1534 * Makefile.in: Bump function name.
1535
1536 2019-01-18 Martin Liska <mliska@suse.cz>
1537
1538 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1539 (gcov_version): Use in gcov_error.
1540 (merge_one_data): Likewise.
1541 (dump_one_gcov): Likewise.
1542
1543 2019-01-18 Martin Liska <mliska@suse.cz>
1544
1545 * libgcov-driver.c (gcov_version_string): New function.
1546 (gcov_version): Convert version integer into string.
1547
1548 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
1549 Kwok Cheung Yeung <kcy@codesourcery.com>
1550 Julian Brown <julian@codesourcery.com>
1551 Tom de Vries <tom@codesourcery.com>
1552
1553 * config.host: Recognize amdgcn*-*-amdhsa.
1554 * config/gcn/crt0.c: New file.
1555 * config/gcn/lib2-divmod-hi.c: New file.
1556 * config/gcn/lib2-divmod.c: New file.
1557 * config/gcn/lib2-gcn.h: New file.
1558 * config/gcn/sfp-machine.h: New file.
1559 * config/gcn/t-amdgcn: New file.
1560
1561 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
1562
1563 PR other/16615
1564
1565 * config/c6x/libunwind.S: Mechanically replace "can not" with
1566 "cannot".
1567 * config/tilepro/atomic.h: Likewise.
1568 * config/vxlib-tls.c: Likewise.
1569 * generic-morestack-thread.c: Likewise.
1570 * generic-morestack.c: Likewise.
1571 * mkmap-symver.awk: Likewise.
1572
1573 2019-01-01 Jakub Jelinek <jakub@redhat.com>
1574
1575 Update copyright years.
1576
1577 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1578
1579 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1580 to ignore -Waddress-of-packed-member.
1581
1582 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
1583
1584 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1585 parameter and corresponding code.
1586 (ARM_FUNC_START): Likewise in both definitions.
1587 Also update footer comment about condition that need to match with
1588 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1589 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1590 defined. Weakly define it in this case.
1591 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1592 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1593 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1594 comment to keep condition in sync with the one in
1595 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1596
1597 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
1598
1599 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1600 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1601
1602 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1603
1604 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1605 and .cfi_endproc directives for VxWorks targets.
1606
1607 2018-12-05 Paul Koning <ni1d@arrl.net>
1608
1609 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1610
1611 2018-11-27 Alan Modra <amodra@gmail.com>
1612
1613 * config/rs6000/morestack.S (__stack_split_initialize),
1614 (__morestack_get_guard, __morestack_set_guard),
1615 (__morestack_make_guard): Provide CFI covering these functions.
1616 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1617
1618 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1619
1620 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
1621 (sc_pt_regs_lr): Update for kernel.
1622 (sc_pt_regs_tls): Update for kernel.
1623
1624 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1625
1626 * config/csky/linux-unwind.h: Fix coding style.
1627
1628 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
1629
1630 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1631 (csky_fallback_frame_state): Modify the check of the
1632 instructions to adapt to changes in the kernel
1633
1634 2018-11-09 Stafford Horne <shorne@gmail.com>
1635 Richard Henderson <rth@twiddle.net>
1636
1637 * config.host: Add OpenRISC support.
1638 * config/or1k/*: New.
1639
1640 2018-11-08 Kito Cheng <kito@andestech.com>
1641
1642 * soft-fp/adddf3.c: Update from glibc.
1643 * soft-fp/addsf3.c: Likewise.
1644 * soft-fp/addtf3.c: Likewise.
1645 * soft-fp/divdf3.c: Likewise.
1646 * soft-fp/divsf3.c: Likewise.
1647 * soft-fp/divtf3.c: Likewise.
1648 * soft-fp/double.h: Likewise.
1649 * soft-fp/eqdf2.c: Likewise.
1650 * soft-fp/eqsf2.c: Likewise.
1651 * soft-fp/eqtf2.c: Likewise.
1652 * soft-fp/extenddftf2.c: Likewise.
1653 * soft-fp/extended.h: Likewise.
1654 * soft-fp/extendhftf2.c: Likewise.
1655 * soft-fp/extendsfdf2.c: Likewise.
1656 * soft-fp/extendsftf2.c: Likewise.
1657 * soft-fp/extendxftf2.c: Likewise.
1658 * soft-fp/fixdfdi.c: Likewise.
1659 * soft-fp/fixdfsi.c: Likewise.
1660 * soft-fp/fixdfti.c: Likewise.
1661 * soft-fp/fixhfti.c: Likewise.
1662 * soft-fp/fixsfdi.c: Likewise.
1663 * soft-fp/fixsfsi.c: Likewise.
1664 * soft-fp/fixsfti.c: Likewise.
1665 * soft-fp/fixtfdi.c: Likewise.
1666 * soft-fp/fixtfsi.c: Likewise.
1667 * soft-fp/fixtfti.c: Likewise.
1668 * soft-fp/fixunsdfdi.c: Likewise.
1669 * soft-fp/fixunsdfsi.c: Likewise.
1670 * soft-fp/fixunsdfti.c: Likewise.
1671 * soft-fp/fixunshfti.c: Likewise.
1672 * soft-fp/fixunssfdi.c: Likewise.
1673 * soft-fp/fixunssfsi.c: Likewise.
1674 * soft-fp/fixunssfti.c: Likewise.
1675 * soft-fp/fixunstfdi.c: Likewise.
1676 * soft-fp/fixunstfsi.c: Likewise.
1677 * soft-fp/fixunstfti.c: Likewise.
1678 * soft-fp/floatdidf.c: Likewise.
1679 * soft-fp/floatdisf.c: Likewise.
1680 * soft-fp/floatditf.c: Likewise.
1681 * soft-fp/floatsidf.c: Likewise.
1682 * soft-fp/floatsisf.c: Likewise.
1683 * soft-fp/floatsitf.c: Likewise.
1684 * soft-fp/floattidf.c: Likewise.
1685 * soft-fp/floattihf.c: Likewise.
1686 * soft-fp/floattisf.c: Likewise.
1687 * soft-fp/floattitf.c: Likewise.
1688 * soft-fp/floatundidf.c: Likewise.
1689 * soft-fp/floatundisf.c: Likewise.
1690 * soft-fp/floatunditf.c: Likewise.
1691 * soft-fp/floatunsidf.c: Likewise.
1692 * soft-fp/floatunsisf.c: Likewise.
1693 * soft-fp/floatunsitf.c: Likewise.
1694 * soft-fp/floatuntidf.c: Likewise.
1695 * soft-fp/floatuntihf.c: Likewise.
1696 * soft-fp/floatuntisf.c: Likewise.
1697 * soft-fp/floatuntitf.c: Likewise.
1698 * soft-fp/gedf2.c: Likewise.
1699 * soft-fp/gesf2.c: Likewise.
1700 * soft-fp/getf2.c: Likewise.
1701 * soft-fp/half.h: Likewise.
1702 * soft-fp/ledf2.c: Likewise.
1703 * soft-fp/lesf2.c: Likewise.
1704 * soft-fp/letf2.c: Likewise.
1705 * soft-fp/muldf3.c: Likewise.
1706 * soft-fp/mulsf3.c: Likewise.
1707 * soft-fp/multf3.c: Likewise.
1708 * soft-fp/negdf2.c: Likewise.
1709 * soft-fp/negsf2.c: Likewise.
1710 * soft-fp/negtf2.c: Likewise.
1711 * soft-fp/op-1.h: Likewise.
1712 * soft-fp/op-2.h: Likewise.
1713 * soft-fp/op-4.h: Likewise.
1714 * soft-fp/op-8.h: Likewise.
1715 * soft-fp/op-common.h: Likewise.
1716 * soft-fp/quad.h: Likewise.
1717 * soft-fp/single.h: Likewise.
1718 * soft-fp/soft-fp.h: Likewise.
1719 * soft-fp/subdf3.c: Likewise.
1720 * soft-fp/subsf3.c: Likewise.
1721 * soft-fp/subtf3.c: Likewise.
1722 * soft-fp/truncdfsf2.c: Likewise.
1723 * soft-fp/trunctfdf2.c: Likewise.
1724 * soft-fp/trunctfhf2.c: Likewise.
1725 * soft-fp/trunctfsf2.c: Likewise.
1726 * soft-fp/trunctfxf2.c: Likewise.
1727 * soft-fp/unorddf2.c: Likewise.
1728 * soft-fp/unordsf2.c: Likewise.
1729 * soft-fp/unordtf2.c: Likewise.
1730
1731 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
1732
1733 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1734 * config/i386/cpuinfo.h (processor_types): Add znver2.
1735
1736 2018-11-01 Paul Koning <ni1d@arrl.net>
1737
1738 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1739 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1740
1741 2018-10-31 Joseph Myers <joseph@codesourcery.com>
1742
1743 PR bootstrap/82856
1744 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1745 * configure: Regenerate.
1746
1747 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
1748
1749 * config/arc/lib1funcs.S (_muldi3): New function.
1750 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1751
1752 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1753
1754 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1755
1756 2018-10-25 Martin Liska <mliska@suse.cz>
1757
1758 PR other/87735
1759 * libgcov-profiler.c: Revert.
1760
1761 2018-10-24 Martin Liska <mliska@suse.cz>
1762
1763 * libgcov-profiler.c: Start from 1 in order to distinguish
1764 functions which were seen and these that were not.
1765
1766 2018-10-18 Paul Koning <ni1d@arrl.net>
1767
1768 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1769 standard.
1770 * divmod.c: Update references to __udivmodsi4.
1771 * udivmod.c: Ditto.
1772 * udivhi3.c: New file.
1773 * udivmodhi4.c: New file.
1774 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1775
1776 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1777
1778 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1779
1780 2018-10-12 Olivier Hainque <hainque@adacore.com>
1781
1782 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1783 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1784
1785 2018-10-08 Paul Koning <ni1d@arrl.net>
1786
1787 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1788
1789 2018-10-04 Martin Liska <mliska@suse.cz>
1790
1791 PR gcov-profile/84107
1792 * libgcov-profiler.c (__gcov_indirect_call):
1793 Change type to indirect_call_tuple.
1794 (struct indirect_call_tuple): New struct.
1795 (__gcov_indirect_call_topn_profiler): Change type.
1796 (__gcov_indirect_call_profiler_v2): Use the new
1797 variables.
1798 * libgcov.h (struct indirect_call_tuple): New struct
1799 definition.
1800
1801 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
1802
1803 * libgcc2.c (isnan): Use __builtin_isnan.
1804 (isfinite): Use __builtin_isfinite.
1805 (isinf): Use __builtin_isinf.
1806
1807 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
1808
1809 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1810
1811 2018-09-21 Alexandre Oliva <oliva@adacore.com>
1812
1813 * config/vxcache.c: New file. Provide __clear_cache, based on
1814 the cacheTextUpdate VxWorks service.
1815 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1816 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1817 * config/t-vxwoks7: Likewise.
1818
1819 2018-09-21 Martin Liska <mliska@suse.cz>
1820
1821 * libgcov-driver.c (crc32_unsigned): Remove.
1822 (gcov_histogram_insert): Likewise.
1823 (gcov_compute_histogram): Likewise.
1824 (compute_summary): Simplify rapidly.
1825 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1826 (merge_summary): Rapidly simplify.
1827 (dump_one_gcov): Ignore gcov_summary.
1828 (gcov_do_dump): Do not handle program summary, it's not
1829 used.
1830 * libgcov-util.c (tag_summary): Remove.
1831 (read_gcda_finalize): Fix coding style.
1832 (read_gcda_file): Initialize curr_object_summary.
1833 (compute_summary): Remove.
1834 (calculate_overlap): Remove settings of run_max.
1835
1836 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1837
1838 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1839 ucontext_t type instead.
1840 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1841
1842 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
1843
1844 * config/nds32/t-nds32-glibc: New file.
1845
1846 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1847
1848 * configure.ac (solaris_ld_v2_maps): New test.
1849 * configure: Regenerate.
1850 * Makefile.in (solaris_ld_v2_maps): New variable.
1851 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1852 if supported.
1853
1854 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
1855
1856 PR target/86951
1857 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1858 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1859 to build.
1860
1861 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1862
1863 * config/unwind-dw2-fde-darwin.c
1864 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1865 * config/darwin10-unwind-find-enc-func.c: … to here.
1866 * config/t-darwin: Build Darwin10 unwinder shim crt.
1867 * libgcc/config.host: Add the Darwin10 unwinder shim.
1868
1869 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1870
1871 * config.host: Add crtbegin.o and crtend.o for
1872 powerpc-wrs-vxworks target.
1873
1874 2018-08-17 Jojo <jijie_rong@c-sky.com>
1875 Huibin Wang <huibin_wang@c-sky.com>
1876 Sandra Loosemore <sandra@codesourcery.com>
1877 Chung-Lin Tang <cltang@codesourcery.com>
1878
1879 C-SKY port: libgcc
1880
1881 * config.host: Add C-SKY support.
1882 * config/csky/*: New.
1883
1884 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
1885
1886 * config/nds32/t-nds32-isr: Rearrange object dependency.
1887 * config/nds32/initfini.c: Add dwarf2 unwinding support.
1888 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
1889 and registers usage.
1890 * config/nds32/isr-library/excp_isr.S: Ditto.
1891 * config/nds32/isr-library/intr_isr.S: Ditto.
1892 * config/nds32/isr-library/reset.S: Ditto.
1893 * config/nds32/isr-library/restore_all.inc: Ditto.
1894 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
1895 * config/nds32/isr-library/restore_partial.inc: Ditto.
1896 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
1897 * config/nds32/isr-library/save_all.inc: Ditto.
1898 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
1899 * config/nds32/isr-library/save_partial.inc: Ditto.
1900 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
1901 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
1902
1903 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
1904
1905 * config/pa/linux-atomic.c: Update comment.
1906 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
1907 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
1908 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
1909 __ATOMIC_RELAXED for atomic loads.
1910 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
1911 unordered store to release lock.
1912 (__sync_lock_release_8): Likewise.
1913 (SYNC_LOCK_RELEASE_2): Remove define.
1914
1915 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
1916
1917 PR libgcc/86512
1918 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
1919 exponent goes negative. Update my email address.
1920 * config/arm/ieee754-sf.S: Likewise.
1921
1922 2018-08-01 Martin Liska <mliska@suse.cz>
1923
1924 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
1925 check that __gcov_indirect_call_callee is non-null.
1926
1927 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
1928
1929 * config/arm/ieee754-df.S: Fix comment for code working on
1930 architectures >= 4.
1931 * config/arm/ieee754-sf.S: Likewise.
1932
1933 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1934
1935 PR libgcc/85334
1936 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1937 Removed.
1938
1939 2018-07-05 James Clarke <jrtc27@jrtc27.com>
1940
1941 * configure: Regenerated.
1942
1943 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1944
1945 * Makefile.in (install_leaf): Use enable_gcov instead of
1946 enable_libgcov.
1947
1948 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1949
1950 * configure.ac: Add --disable-gcov option.
1951 * configure: Regenerate.
1952 * Makefile.in: Honour @enable_gcov@.
1953
1954 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1955
1956 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1957 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1958 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1959 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1960 __ARM_ARCH__.
1961 * config/arm/ieee754-sf.S: Likewise.
1962 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1963
1964 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1965
1966 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1967 longer supported.
1968 * config/arm/ieee754-sf.S: Likewise.
1969
1970 2018-06-20 Than McIntosh <thanm@google.com>
1971
1972 PR libgcc/86213
1973 * generic-morestack.c (allocate_segment): Move calls to getenv and
1974 getpagesize to __morestack_load_mmap.
1975 (__morestack_load_mmap) Initialize static_pagesize and
1976 use_guard_page here so as to avoid clobbering SSE regs during a
1977 __morestack call.
1978
1979 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
1980
1981 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1982 support modules with -mno-gnu-attribute.
1983 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1984
1985 2018-06-07 Olivier Hainque <hainque@adacore.com>
1986
1987 * config/t-vxworks (LIBGCC_INCLUDES): Add
1988 -I$(MULTIBUILDTOP)../../gcc/include.
1989 * config/t-vxworks7: Likewise. Reformat a bit to match
1990 the t-vxworks layout.
1991
1992 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1993
1994 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1995
1996 2018-06-07 Martin Liska <mliska@suse.cz>
1997
1998 * libgcov-driver.c: Rename cs_all to all and assign it from
1999 all_prg.
2000
2001 2018-06-07 Martin Liska <mliska@suse.cz>
2002
2003 PR bootstrap/86057
2004 * libgcov-driver-system.c (replace_filename_variables): Use
2005 memcpy instead of mempcpy.
2006 (allocate_filename_struct): Do not allocate filename, allocate
2007 prefix and set it.
2008 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
2009 here and properly copy content into it.
2010 * libgcov-driver.c (struct gcov_filename): Remove max_length
2011 field, change prefix from size_t into char *.
2012 (compute_summary): Do not calculate longest filename.
2013 (gcov_do_dump): Release memory of gf.filename after each file.
2014 * libgcov-util.c (compute_summary): Use new signature of
2015 compute_summary.
2016 (calculate_overlap): Likewise.
2017
2018 2018-06-05 Martin Liska <mliska@suse.cz>
2019
2020 PR gcov-profile/47618
2021 * libgcov-driver-system.c (replace_filename_variables): New
2022 function.
2023 (gcov_exit_open_gcda_file): Use it.
2024
2025 2018-06-05 Martin Liska <mliska@suse.cz>
2026
2027 * libgcov-driver.c (gcov_compute_histogram): Remove usage
2028 of gcov_ctr_summary.
2029 (compute_summary): Do it just for a single summary.
2030 (merge_one_data): Likewise.
2031 (merge_summary): Simplify as we read just single summary.
2032 (dump_one_gcov): Pass proper argument.
2033 * libgcov-util.c (compute_one_gcov): Simplify as we have just
2034 single summary.
2035 (gcov_info_count_all_cold): Likewise.
2036 (calculate_overlap): Likewise.
2037
2038 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
2039 Monk Chiang <sh.chiang04@gmail.com>
2040
2041 * config.host (nds32*-linux*): New.
2042 * config/nds32/linux-atomic.c: New file.
2043 * config/nds32/linux-unwind.h: New file.
2044
2045 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
2046
2047 PR target/85591
2048 * config/i386/cpuinfo.c (get_amd_cpu): Return
2049 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2050
2051 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2052
2053 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
2054
2055 2018-05-29 Martin Liska <mliska@suse.cz>
2056
2057 PR gcov-profile/85759
2058 * libgcov-driver-system.c (gcov_error): Introduce usage of
2059 GCOV_EXIT_AT_ERROR env. variable.
2060 * libgcov-driver.c (merge_one_data): Print error that we
2061 overwrite a gcov file with a different timestamp.
2062
2063 2018-05-23 Kalamatee <kalamatee@gmail.com>
2064
2065 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2066 path to Lf$finfty.
2067
2068 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
2069 Monk Chiang <sh.chiang04@gmail.com>
2070 Jim Wilson <jimw@sifive.com>
2071
2072 * config/riscv/save-restore.S: Add support for rv32e.
2073
2074 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2075
2076 * config/arm/libunwind.S: Update comment relating to armv5.
2077
2078 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
2079
2080 * config/arm/cmse.c (cmse_check_address_range): Replace
2081 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2082
2083 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2084
2085 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2086 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2087
2088 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
2089
2090 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2091 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2092
2093 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
2094
2095 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2096
2097 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
2098 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2099
2100 PR libgcc/84292
2101 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2102 op_and_fetch to return the right result.
2103
2104 2018-04-27 Alan Modra <amodra@gmail.com>
2105
2106 PR libgcc/85532
2107 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2108 -fno-asynchronous-unwind-tables.
2109
2110 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2111
2112 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2113 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2114
2115 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2116
2117 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2118 when including "config/i386/shadow-stack-unwind.h".
2119
2120 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2121
2122 * configure: Regenerated.
2123
2124 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
2125
2126 PR target/85456
2127 * config/rs6000/_powikf2.c: New file. Add support for the
2128 __builtin_powil function when long double is IEEE 128-bit floating
2129 point.
2130 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2131 __powikf2 support.
2132 (__powikf2): Likewise.
2133 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2134 (__powikf2_hw): Likewise.
2135 (__powikf2): Likewise.
2136 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2137 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2138 (_powikf2-hw.c): Likewise.
2139
2140 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2141
2142 PR libgcc/85334
2143 * unwind-generic.h (_Unwind_Frames_Increment): New.
2144 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2145 Likewise.
2146 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2147 count with _Unwind_Frames_Increment.
2148 (_Unwind_ForcedUnwind_Phase2): Likewise.
2149
2150 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2151
2152 PR libgcc/85379
2153 * config/i386/morestack.S (__stack_split_initialize): Add
2154 _CET_ENDBR.
2155
2156 2018-04-19 Jakub Jelinek <jakub@redhat.com>
2157
2158 * configure: Regenerated.
2159
2160 2018-04-18 David Malcolm <dmalcolm@redhat.com>
2161
2162 PR jit/85384
2163 * configure: Regenerate.
2164
2165 2018-04-16 Jakub Jelinek <jakub@redhat.com>
2166
2167 PR target/84945
2168 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2169 -Wdangling-else warnings. Mask shift counts to avoid
2170 -Wshift-count-negative and -Wshift-count-overflow false positives.
2171
2172 2018-04-06 Ruslan Bukin <br@bsdpad.com>
2173
2174 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2175
2176 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
2177
2178 PR target/85100
2179 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2180 (XSTATE_FP): Likewise.
2181 (XSTATE_SSE): Likewise.
2182 (XSTATE_YMM): Likewise.
2183 (XSTATE_OPMASK): Likewise.
2184 (XSTATE_ZMM): Likewise.
2185 (XSTATE_HI_ZMM): Likewise.
2186 (XCR_AVX_ENABLED_MASK): Likewise.
2187 (XCR_AVX512F_ENABLED_MASK): Likewise.
2188 (get_available_features): Enable AVX and AVX512 features only
2189 if their states are supported by OSXSAVE.
2190
2191 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2192
2193 PR target/85025
2194 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2195 Fix a typo, tmp => 255.
2196
2197 2018-03-20 Jakub Jelinek <jakub@redhat.com>
2198
2199 PR target/84945
2200 * config/i386/cpuinfo.h (__cpu_features2): Declare.
2201 * config/i386/cpuinfo.c (__cpu_features2): New variable for
2202 ifndef SHARED only.
2203 (set_feature): Define.
2204 (get_available_features): Use set_feature macro. Set __cpu_features2
2205 to the second word of features ifndef SHARED.
2206
2207 2018-03-15 Julia Koval <julia.koval@intel.com>
2208
2209 * config/i386/cpuinfo.c (get_available_features): Add
2210 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2211 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2212 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2213 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2214 FEATURE_AVX512BITALG.
2215
2216 2018-03-14 Julia Koval <julia.koval@intel.com>
2217
2218 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2219 icelake client and icelake server.
2220
2221 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
2222
2223 * config/pa/fptr.c (_dl_read_access_allowed): New.
2224 (__canonicalize_funcptr_for_compare): Use it.
2225
2226 2018-02-28 Jakub Jelinek <jakub@redhat.com>
2227
2228 PR debug/83917
2229 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2230 $asm_hidden_op if visibility ("hidden") attribute works.
2231 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2232 * config/i386/i386-asm.h: Don't include auto-host.h.
2233 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2234 PACKAGE_URL): Don't undefine.
2235 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2236 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2237 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2238 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2239 definition instead of hardcoded .hidden.
2240 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2241 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2242 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2243 (USE_GAS_CFI_DIRECTIVES): Don't define.
2244 * configure: Regenerated.
2245 * config.in: Likewise.
2246
2247 2018-02-26 Jakub Jelinek <jakub@redhat.com>
2248
2249 PR debug/83917
2250 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2251 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2252 inclusion of auto-target.h and auto-host.h.
2253 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2254 __GCC_HAVE_DWARF2_CFI_ASM.
2255 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2256 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2257 cfi_pop): Define.
2258 * config/i386/cygwin.S: Don't include auto-host.h here, just
2259 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2260 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2261 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2262 * config/i386/resms64fx.h: Add cfi_* directives.
2263 * config/i386/resms64x.h: Likewise.
2264
2265 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
2266
2267 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2268 .literal_position directive.
2269 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2270
2271 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2272
2273 PR target/84148
2274 * configure: Regenerate.
2275
2276 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2277
2278 PR target/84239
2279 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2280 Include cetintrin.h not x86intrin.h.
2281
2282 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2283
2284 PR target/84239
2285 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2286 Use new _get_ssp and _inc_ssp intrinsics.
2287
2288 2018-02-02 Julia Koval <julia.koval@intel.com>
2289
2290 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2291
2292 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2293
2294 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2295 option.
2296 (__divsi3): Use RF16 safe registers.
2297 (__modsi3): Likewise.
2298
2299 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
2300
2301 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2302 (__divsf3): Make NaN return value quiet.
2303 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2304 (__divdf3): Make NaN return value quiet.
2305
2306 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2307
2308 * config/rl78/anddi3.S: New assembly file.
2309 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2310
2311 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2312
2313 * config/rl78/umindi3.S: New assembly file.
2314 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2315
2316 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2317
2318 * config/rl78/smindi3.S: New assembly file.
2319 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2320
2321 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2322
2323 * config/rl78/smaxdi3.S: New assembly file.
2324 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2325
2326 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2327
2328 * config/rl78/umaxdi3.S: New assembly file.
2329 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
2330
2331 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
2332
2333 PR lto/83452
2334 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2335 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2336
2337 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
2338
2339 * config/aarch64/value-unwind.h (aarch64_vg): New function.
2340 (DWARF_LAZY_REGISTER_VALUE): Define.
2341 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2342 to provide a fallback register value.
2343
2344 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
2345
2346 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2347 __ibm128, instead of trying to use long double.
2348 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2349 accomidate -mabi=ieeelongdouble multilibs.
2350 (CVT_IBM128_TO_FLOAT128): Likewise.
2351 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2352 the appropriate IBM extended double type.
2353 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2354 (__gcc_qsub): Likewise.
2355 (__gcc_qmul): Likewise.
2356 (__gcc_qdiv): Likewise.
2357 (pack_ldouble): Likewise.
2358 (__gcc_qneg): Likewise.
2359 (__gcc_qeq): Likewise.
2360 (__gcc_qne): Likewise.
2361 (__gcc_qge): Likewise.
2362 (__gcc_qle): Likewise.
2363 (__gcc_stoq): Likewise.
2364 (__gcc_dtoq): Likewise.
2365 (__gcc_itoq): Likewise.
2366 (__gcc_utoq): Likewise.
2367 (__gcc_qunord): Likewise.
2368 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2369 quad-float128.h for the definitions.
2370 (COPYSIGN): Use the f128 version instead of the q version.
2371 (INFINITY): Likewise.
2372 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2373 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2374 quad-float128.h for the definitions.
2375 (COPYSIGN): Use the f128 version instead of the q version.
2376 (INFINITY): Likewise.
2377 (FABS): Likewise.
2378 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2379 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2380 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2381
2382 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
2383
2384 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2385 configuration.
2386
2387 2018-01-03 Jakub Jelinek <jakub@redhat.com>
2388
2389 Update copyright years.
2390
2391 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
2392
2393 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2394 * config/riscv/multi3.c: New file.
2395 * config/riscv/multi3.S: Remove.
2396
2397 2017-12-08 Jim Wilson <jimw@sifive.com>
2398
2399 * config/riscv/div.S: Use FUNC_* macros.
2400 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2401 * config/riscv/save-restore.S: Likewise.
2402 * config/riscv/riscv-asm.h: New.
2403
2404 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
2405
2406 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2407 * config/rs6000/_divkc3.c (__divkc3): Likewise.
2408
2409 PR libgcc/83112
2410 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2411 correct type for all ifunc resolvers to silence -Wattribute-alias
2412 warnings. Eliminate the forward declaration of the resolver
2413 functions which is no longer needed.
2414 (__subkf3_resolve): Likewise.
2415 (__mulkf3_resolve): Likewise.
2416 (__divkf3_resolve): Likewise.
2417 (__negkf2_resolve): Likewise.
2418 (__eqkf2_resolve): Likewise.
2419 (__nekf2_resolve): Likewise.
2420 (__gekf2_resolve): Likewise.
2421 (__gtkf2_resolve): Likewise.
2422 (__lekf2_resolve): Likewise.
2423 (__ltkf2_resolve): Likewise.
2424 (__unordkf2_resolve): Likewise.
2425 (__extendsfkf2_resolve): Likewise.
2426 (__extenddfkf2_resolve): Likewise.
2427 (__trunckfsf2_resolve): Likewise.
2428 (__trunckfdf2_resolve): Likewise.
2429 (__fixkfsi_resolve): Likewise.
2430 (__fixkfdi_resolve): Likewise.
2431 (__fixunskfsi_resolve): Likewise.
2432 (__fixunskfdi_resolve): Likewise.
2433 (__floatsikf_resolve): Likewise.
2434 (__floatdikf_resolve): Likewise.
2435 (__floatunsikf_resolve): Likewise.
2436 (__floatundikf_resolve): Likewise.
2437 (__extendkftf2_resolve): Likewise.
2438 (__trunctfkf2_resolve): Likewise.
2439
2440 PR libgcc/83103
2441 * config/rs6000/quad-float128.h (TF): Don't define if long double
2442 is IEEE 128-bit floating point.
2443 (TCtype): Define as either TCmode or KCmode, depending on whether
2444 long double is IEEE 128-bit floating point.
2445 (__mulkc3_sw): Add declarations for software/hardware versions of
2446 complex multiply/divide.
2447 (__divkc3_sw): Likewise.
2448 (__mulkc3_hw): Likewise.
2449 (__divkc3_hw): Likewise.
2450 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2451 handlers to switch between using software emulation and hardware
2452 float128 instructions, build the complex multiply/divide functions
2453 for both software and hardware support.
2454 * config/rs6000/_divkc3.c (_divkc3): Likewise.
2455 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2456 (__divkc3_resolve): Likewise.
2457 (__mulkc3): Likewise.
2458 (__divkc3): Likewise.
2459 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2460 (fp128_hw_src): Likewise.
2461 (fp128_hw_static_obj): Likewise.
2462 (fp128_hw_shared_obj): Likewise.
2463 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2464 _mulkc3.c and _divkc3.c, changing the function name.
2465 (_divkc3-hw.c): Likewise.
2466 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2467 and _divkc3-hw.c.
2468
2469 2017-11-26 Julia Koval <julia.koval@intel.com>
2470
2471 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2472 * config/i386/cpuinfo.h (processor_subtypes): Add
2473 INTEL_COREI7_CANNONLAKE.
2474
2475 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2476
2477 PR bootstrap/83015
2478 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2479 parameter.
2480 * config/xtensa/unwind-dw2-xtensa.c: Likewise
2481 * config/ia64/unwind-ia64.c: Add frames parameter.
2482 * unwind-sjlj.c: Likewise.
2483
2484 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2485
2486 * config/i386/linux-unwind.h: Include
2487 config/i386/shadow-stack-unwind.h.
2488 * config/i386/shadow-stack-unwind.h: New file.
2489 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2490 pass it to _Unwind_Frames_Extra.
2491 * unwind-generic.h (_Unwind_Frames_Extra): New.
2492 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2493 parameter. Add local variable frames to count number of frames.
2494 (_Unwind_ForcedUnwind_Phase2): Likewise.
2495 (_Unwind_RaiseException): Add local variable frames to count
2496 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2497 uw_install_context.
2498 (_Unwind_ForcedUnwind): Likewise.
2499 (_Unwind_Resume): Likewise.
2500 (_Unwind_Resume_or_Rethrow): Likewise.
2501
2502 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2503
2504 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2505 (CET_FLAGS): New.
2506 * config/i386/morestack.S: Include <cet.h>.
2507 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2508 * config/i386/resms64.h: Include <cet.h>.
2509 * config/i386/resms64f.h: Likewise.
2510 * config/i386/resms64fx.h: Likewise.
2511 * config/i386/resms64x.h: Likewise.
2512 * config/i386/savms64.h: Likewise.
2513 * config/i386/savms64f.h: Likewise.
2514 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2515 (CRTSTUFF_T_CFLAGS): Likewise.
2516 * configure.ac: Include ../config/cet.m4.
2517 Set and substitute CET_FLAGS.
2518 * configure: Regenerated.
2519
2520 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2521
2522 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2523 renaming.
2524 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2525 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2526 * configure: Regenerate.
2527
2528 2017-11-07 Tom de Vries <tom@codesourcery.com>
2529
2530 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2531 after "do {} while (0)".
2532
2533 2017-11-07 Tom de Vries <tom@codesourcery.com>
2534
2535 PR other/82784
2536 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2537 semicolon after "do {} while (0)".
2538 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2539 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2540 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2541 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2542
2543 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
2544
2545 PR libgcc/82635
2546 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2547 sysctl to determine whether we're in a trampoline.
2548 Keep the pattern matching method for systems without
2549 KERN_PROC_SIGTRAMP sysctl.
2550
2551 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
2552 Vineet Gupta <vgupta@synopsys.com>
2553
2554 * config.host (arc*-*-linux*): Set md_unwind_header variable.
2555 * config/arc/linux-unwind-reg.def: New file.
2556 * config/arc/linux-unwind-reg.h: Likewise.
2557
2558 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
2559
2560 * config/rl78/subdi3.S: New assembly file.
2561 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2562
2563 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
2564
2565 * config/rl78/adddi3.S: New assembly file.
2566 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2567
2568 2017-10-13 Jakub Jelinek <jakub@redhat.com>
2569
2570 PR target/82274
2571 * libgcc2.c (__mulvDI3): If both operands have
2572 the same highpart of -1 and the topmost bit of lowpart is 0,
2573 multiplication overflows even if both lowparts are 0.
2574
2575 2017-09-28 James Bowman <james.bowman@ftdichip.com>
2576
2577 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2578
2579 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2580
2581 * config/microblaze/crti.S, config/microblaze/crtn.S,
2582 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2583 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2584 config/microblaze/mulsi3.S,
2585 config/microblaze/stack_overflow_exit.S,
2586 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2587 config/pa/milli64.S: Add .note.GNU-stack section.
2588
2589 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
2590
2591 * configure.ac: Add Check for HAVE_AS_AVX.
2592 * config.in: Regenerate.
2593 * configure: Likewise.
2594 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2595 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2596 Correct out-of-date comments.
2597
2598 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2599
2600 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2601 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2602
2603 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
2604
2605 * config/i386/i386-asm.h (PASTE2): New macro.
2606 (ASMNAME): Modify to use PASTE2.
2607 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2608 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
2609 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
2610 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
2611 * config/i386/resms64f.S: Likewise.
2612 * config/i386/resms64fx.S: Likewise.
2613 * config/i386/resms64x.S: Likewise.
2614 * config/i386/savms64.S: Likewise.
2615 * config/i386/savms64f.S: Likewise.
2616 * config/i386/avx_resms64.S: New file that only defines a macro and
2617 includes it's corresponding header file.
2618 * config/i386/avx_resms64f.S: Likewise.
2619 * config/i386/avx_resms64fx.S: Likewise.
2620 * config/i386/avx_resms64x.S: Likewise.
2621 * config/i386/avx_savms64.S: Likewise.
2622 * config/i386/avx_savms64f.S: Likewise.
2623 * config/i386/sse_resms64.S: Likewise.
2624 * config/i386/sse_resms64f.S: Likewise.
2625 * config/i386/sse_resms64fx.S: Likewise.
2626 * config/i386/sse_resms64x.S: Likewise.
2627 * config/i386/sse_savms64.S: Likewise.
2628 * config/i386/sse_savms64f.S: Likewise.
2629 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
2630
2631 2017-09-01 Olivier Hainque <hainque@adacore.com>
2632 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2633
2634 2017-08-31 Olivier Hainque <hainque@adacore.com>
2635
2636 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2637 match as powerpc-wrs-vxworks*.
2638
2639 2017-08-07 Jonathan Yong <10walls@gmail.com>
2640
2641 * config.host (*-cygwin): Include file from mingw
2642 config/i386/enable-execute-stack-mingw32.c
2643
2644 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
2645 Doug Rupp <rupp@adacore.com>
2646 Olivier Hainque <hainque@adacore.com>
2647
2648 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2649 as well as arm-wrs-vxworks.
2650 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
2651 LIB2ADDEH.
2652 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2653 __exidx_start and __exidx_end for downloadable modules.
2654
2655 2017-08-01 Olivier Hainque <hainque@adacore.com>
2656
2657 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2658 * config/t-vxworks7: Likewise.
2659
2660 2017-08-01 Olivier Hainque <hainque@adacore.com>
2661
2662 * config/t-vxworks: Instead of redefining LIB2ADD,
2663 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2664
2665 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2666
2667 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2668
2669 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
2670
2671 PR testsuite/80759
2672 * config.host: include i386/t-msabi for darwin and solaris.
2673 * config/i386/i386-asm.h
2674 (ELFFN): Rename to FN_TYPE.
2675 (FN_SIZE): New macro.
2676 (FN_HIDDEN): Likewise.
2677 (ASMNAME): Likewise.
2678 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2679 .globl.
2680 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2681 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2682 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2683 .macro.
2684 * config/i386/resms64f.S: Likewise.
2685 * config/i386/resms64fx.S: Likewise.
2686 * config/i386/resms64x.S: Likewise.
2687 * config/i386/savms64.S: Likewise.
2688 * config/i386/savms64f.S: Likewise.
2689
2690 2017-07-19 John Marino <gnugcc@marino.st>
2691
2692 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2693
2694 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
2695
2696 PR target/81193
2697 * configure.ac (PowerPC float128 hardware support): Test whether
2698 we can use __builtin_cpu_supports before enabling the ifunc
2699 handler.
2700 * configure: Regenerate.
2701
2702 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
2703
2704 * config.host: Remove uclibc from arc target spec.
2705
2706 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
2707
2708 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2709
2710 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
2711
2712 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2713 (have_ieee_hw_p): Delete function.
2714 (SW_OR_HW) Use __builtin_cpu_supports().
2715
2716 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2717
2718 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2719
2720 2017-07-03 Olivier Hainque <hainque@adacore.com>
2721
2722 * config/t-vxworks7: New file, really.
2723
2724 2017-06-28 Joseph Myers <joseph@codesourcery.com>
2725
2726 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2727 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2728 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2729 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2730 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2731 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2732 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2733 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2734 config/sh/linux-unwind.h (sh_fallback_frame_state),
2735 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2736 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2737 ucontext_t instead of struct ucontext.
2738
2739 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
2740
2741 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2742 (x86_64-wrs-vxworks7): Likewise.
2743
2744 2017-06-27 Olivier Hainque <hainque@adacore.com>
2745
2746 * config/t-vxworks7: New file.
2747 * config.host (*-*-vxworks7): Use it.
2748
2749 2017-06-22 Matt Turner <mattst88@gmail.com>
2750
2751 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2752 skylake case.
2753
2754 2017-06-21 Richard Biener <rguenther@suse.de>
2755
2756 PR gcov-profile/81080
2757 * configure.ac: Add AC_SYS_LARGEFILE.
2758 * libgcov.h: Include auto-target.h before tsystem.h to pick
2759 up _FILE_OFFSET_BITS which might differ for multilibs.
2760 * config.in: Regenerate.
2761 * configure: Likewise.
2762
2763 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
2764
2765 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2766
2767 2017-06-09 Martin Liska <mliska@suse.cz>
2768
2769 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2770 Reset __gcov_indirect_call_callee to NULL.
2771
2772 2017-06-08 Olivier Hainque <hainque@adacore.com>
2773
2774 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2775 the set of -I options, support for direct inclusions of net/uio.h
2776 by VxWorks header files via ioLib.h.
2777
2778 2017-06-07 Tony Reix <tony.reix@atos.net>
2779 Matthieu Sarter <matthieu.sarter.external@atos.net>
2780 David Edelsohn <dje.gcc@gmail.com>
2781
2782 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2783 unconditionally.
2784 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2785 AIX 7.2 support.
2786
2787 2017-06-02 Olivier Hainque <hainque@adacore.com>
2788
2789 * config/vxlib.c (__gthread_once): Add missing value to
2790 return statement.
2791
2792 2017-05-30 Olivier Hainque <hainque@adacore.com>
2793
2794 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2795 dollar sign before $(MULTIDIR).
2796
2797 2017-05-26 Richard Henderson <rth@redhat.com>
2798
2799 PR libgcc/80037
2800 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2801
2802 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2803
2804 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2805 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2806 * config/arm/unwind-arm.c: Implement the above.
2807
2808 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2809
2810 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2811 section for a non-executable stack.
2812
2813 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2814
2815 PR target/80600
2816 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2817
2818 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
2819
2820 * config.host: Add i386/t-msabi to i386/t-linux file list.
2821 * config/i386/i386-asm.h: New file.
2822 * config/i386/resms64.S: New file.
2823 * config/i386/resms64f.S: New file.
2824 * config/i386/resms64fx.S: New file.
2825 * config/i386/resms64x.S: New file.
2826 * config/i386/savms64.S: New file.
2827 * config/i386/savms64f.S: New file.
2828 * config/i386/t-msabi: New file.
2829
2830 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2831
2832 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2833 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2834
2835 2017-05-05 Joshua Conner <joshconner@google.com>
2836
2837 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2838 pc-relative indirect handling for fuchsia.
2839 * config/t-slibgcc-fuchsia: New file.
2840 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
2841 x86_64-*-fuchsia*): Add definitions.
2842
2843 2017-04-19 Martin Liska <mliska@suse.cz>
2844
2845 PR gcov-profile/80435
2846 * Makefile.in: Install gcov.h.
2847 * gcov.h: New file.
2848 * libgcov.h: Use the header and make __gcov_flush publicly
2849 visible.
2850
2851 2017-04-18 Martin Liska <mliska@suse.cz>
2852
2853 PR gcov-profile/78783
2854 * libgcov-driver.c (gcov_get_filename): New function.
2855
2856 2017-04-07 Jeff Law <law@redhat.com>
2857
2858 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2859 target makefile fragment.
2860 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2861
2862 2017-04-07 Alan Modra <amodra@gmail.com>
2863
2864 PR target/45053
2865 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2866
2867 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
2868
2869 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2870
2871 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
2872
2873 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
2874
2875 2017-03-10 John Marino <gnugcc@marino.st>
2876
2877 * config/aarch64/freebsd-unwind.h: New file.
2878 * config.host: Add aarch64-*-freebsd unwinder.
2879
2880 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2881
2882 * config/rs6000/crtrestvr.s: Use .machine altivec.
2883 * config/rs6000/crtsavevr.s: Ditto.
2884
2885 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
2886
2887 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
2888 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
2889 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
2890 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
2891 * configure: Regenerate.
2892 * config.in: Regenerate.
2893
2894 2017-03-02 Jonathan Yong <10walls@gmail.com>
2895
2896 * config/i386/gthr-win32.h: Define NOGDI before
2897 windows.h include to prevent w32api CC_NONE macro
2898 clash with libgfortran.
2899
2900 2017-03-02 Jonathan Yong <10walls@gmail.com>
2901
2902 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
2903
2904 2017-02-16 Andrew Pinski <apinski@cavium.com>
2905
2906 * config/aarch64/value-unwind.h: New file.
2907 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
2908 to tm_file.
2909
2910 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
2911
2912 * config.host: Add RISC-V tuples.
2913 * config/riscv/atomic.c: New file.
2914 * config/riscv/crti.S: Likewise.
2915 * config/riscv/crtn.S: Likewise.
2916 * config/riscv/div.S: Likewise.
2917 * config/riscv/linux-unwind.h: Likewise.
2918 * config/riscv/muldi3.S: Likewise.
2919 * config/riscv/multi3.S: Likewise.
2920 * config/riscv/save-restore.S: Likewise.
2921 * config/riscv/sfp-machine.h: Likewise.
2922 * config/riscv/t-elf: Likewise.
2923 * config/riscv/t-elf32: Likewise.
2924 * config/riscv/t-elf64: Likewise.
2925 * config/riscv/t-softfp32: Likewise.
2926 * config/riscv/t-softfp64: Likewise.
2927
2928 2017-01-24 Jakub Jelinek <jakub@redhat.com>
2929
2930 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2931 /* FALLTHRU */ comments.
2932
2933 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2934
2935 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2936
2937 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2938
2939 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2940 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2941 DW_CFA_GNU_window_save for AArch64 and LP64.
2942
2943 2017-01-20 Jiong Wang <jiong.wang@arm.com>
2944
2945 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2946
2947 2017-01-19 Jiong Wang <jiong.wang@arm.com>
2948
2949 * config/aarch64/aarch64-unwind.h: New file.
2950 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2951 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2952 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2953 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2954 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2955 (aarch64_post_extract_frame_addr): New function.
2956 (aarch64_post_frob_eh_handler_addr): New function.
2957 (aarch64_frob_update_context): New function.
2958 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2959 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2960 aarch64*-*-freebsd*):
2961 Initialize md_unwind_header to include aarch64-unwind.h.
2962 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2963 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2964 __aarch64__.
2965 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2966 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2967 (uw_frob_return_addr): New function.
2968 (uw_install_context): Use uw_frob_return_addr.
2969
2970 2017-01-17 Jakub Jelinek <jakub@redhat.com>
2971
2972 PR other/79046
2973 * configure.ac: Add GCC_BASE_VER.
2974 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2975 version from BASE-VER file.
2976 * configure: Regenerated.
2977
2978 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
2979
2980 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2981 libmul_f5.a): Filter archived prerequisites.
2982
2983 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2984
2985 * config/i386/cpuinfo.h (processor_features): Add
2986 FEATURE_AVX512VPOPCNTDQ.
2987 * config/i386/cpuinfo.c (get_available_features): Habdle new
2988 feature.
2989
2990 2017-01-04 Joseph Myers <joseph@codesourcery.com>
2991
2992 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2993 payload if [__mips_nan2008].
2994
2995 2017-01-04 Alan Modra <amodra@gmail.com>
2996
2997 * Makefile.in (configure_deps): Update.
2998 * configure: Regenerate.
2999
3000 2017-01-01 Jakub Jelinek <jakub@redhat.com>
3001
3002 Update copyright years.
3003
3004 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
3005
3006 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3007 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3008 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3009
3010 2016-12-17 Matthias Klose <doko@ubuntu.com>
3011
3012 * config/arc/gmon: Remove empty directory.
3013
3014 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
3015
3016 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3017 crtgend.
3018 (arc*-*-elf*): Likewise.
3019 * config/arc/t-arc: Remove old gmon lib targets.
3020 * config/arc/crtg.S: Remove.
3021 * config/arc/crtgend.S: Likewise.
3022 * config/arc/gmon/atomic.h: Likewise.
3023 * config/arc/gmon/auxreg.h: Likewise.
3024 * config/arc/gmon/dcache_linesz.S: Likewise.
3025 * config/arc/gmon/gmon.c: Likewise.
3026 * config/arc/gmon/machine-gmon.h: Likewise.
3027 * config/arc/gmon/mcount.c: Likewise.
3028 * config/arc/gmon/prof-freq-stub.S: Likewise.
3029 * config/arc/gmon/prof-freq.c: Likewise.
3030 * config/arc/gmon/profil.S: Likewise.
3031 * config/arc/gmon/sys/gmon.h: Likewise.
3032 * config/arc/gmon/sys/gmon_out.h: Likewise.
3033 * config/arc/t-arc-newlib: Likewise.
3034 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3035
3036 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3037
3038 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3039
3040 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3041
3042 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3043 R16 instead of push + pop.
3044 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3045
3046 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
3047
3048 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3049 tmake_file.
3050
3051 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
3052
3053 * config.host (arc*-*-linux-uclibc*): Use default extra
3054 objects. Include linux-android header.
3055 * config/arc/crti.S (_init): Declare symbol as function.
3056 (_fini): Likewise.
3057
3058 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3059
3060 PR fortran/78379
3061 * config/i386/cpuinfo.c: Move denums for processor vendors,
3062 processor type, processor subtypes and declaration of
3063 struct __processor_model into
3064 * config/i386/cpuinfo.h: New header file.
3065
3066 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3067 Thomas Preud'homme <thomas.preudhomme@arm.com>
3068
3069 * config/arm/cmse_nonsecure_call.S: New.
3070 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3071
3072 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3073 Thomas Preud'homme <thomas.preudhomme@arm.com>
3074
3075 * config/arm/t-arm (HAVE_CMSE): New.
3076 * config/arm/cmse.c: New.
3077
3078 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3079
3080 PR gcc/74748
3081 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3082 use generic linker version information on Blackfin.
3083
3084 PR gcc/74748
3085 * libgcc/mkmap-symver.awk: add support for skip_underscore
3086
3087 2016-11-27 Iain Sandoe <iain@codesourcery.com>
3088 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3089
3090 PR target/67710
3091 * config/t-darwin: Default builds to 10.5 codegen.
3092
3093 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
3094
3095 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3096 (_FP_NANSIGN_H): Likewise.
3097 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3098 (softfp_truncations): Add tfhf.
3099 (softfp_extras): Add required conversion functions.
3100
3101 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3102 Matthew Wahab <matthew.wahab@arm.com>
3103
3104 * config/arm/fp16.c (binary64): New.
3105 (__gnu_d2h_internal): New.
3106 (__gnu_d2h_ieee): New.
3107 (__gnu_d2h_alternative): New.
3108
3109 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3110 Matthew Wahab <matthew.wahab@arm.com>
3111
3112 * config/arm/fp16.c (struct format): New.
3113 (binary32): New.
3114 (__gnu_float2h_internal): New. Body moved from
3115 __gnu_f2h_internal and generalize.
3116 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3117 Call it with binary32.
3118
3119 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3120
3121 * soft-fp/extendhftf2.c: Update from glibc.
3122 * soft-fp/fixhfti.c: Likewise.
3123 * soft-fp/fixunshfti.c: Likewise.
3124 * soft-fp/floattihf.c: Likewise.
3125 * soft-fp/floatuntihf.c: Likewise.
3126 * soft-fp/half.h: Likewise.
3127 * soft-fp/trunctfhf2.c: Likewise.
3128
3129 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
3130
3131 PR libgcc/77813
3132 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3133 __TMC_END__ behind a passthrough asm.
3134
3135 2016-11-18 Walter Lee <walt@tilera.com>
3136
3137 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3138
3139 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
3140
3141 * config/i386/cpuinfo.c (processor_features): Add
3142 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3143
3144 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
3145
3146 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3147 (__ARC_NORM__): Use instead ARC_OPTFPE.
3148 * config/arc/fp-hack.h: Likewise.
3149 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3150 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3151
3152 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
3153
3154 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3155 * config/nvptx/mgomp.c: New file.
3156 * config/nvptx/t-nvptx: Add mgomp.c
3157
3158 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
3159
3160 PR libgcc/68468
3161 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3162
3163 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
3164
3165 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3166 of checking for cpus.
3167 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3168 (__modsi3, __clzsi2): Likewise.
3169
3170 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3171
3172 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3173 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3174 * config/i386/t-cpuinfo-static: New.
3175
3176 2016-11-03 Martin Liska <mliska@suse.cz>
3177
3178 * libgcov-profiler.c (__gcov_time_profiler): Remove.
3179 (__gcov_time_profiler_atomic): Likewise.
3180
3181 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
3182
3183 PR libgcc/78067
3184 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3185 count_leading_zeros.
3186
3187 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
3188
3189 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3190 * libgcc2.c (__divmoddi4): New function.
3191 * libgcc2.h (__divmoddi4): Declare.
3192 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3193 and __PFX_divmodti4.
3194
3195 2016-10-24 Florian Weimer <fweimer@redhat.com>
3196
3197 PR libgcc/78064
3198 * unwind-c.c: Include auto-target.h.
3199
3200 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
3201
3202 * config/pa/pa64-hpux-lib.h: New file.
3203 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3204 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3205 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3206 hppa*64*-*-hpux11*.
3207
3208 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
3209
3210 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3211 definition.
3212 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3213 definition.
3214 * config/xtensa/t-windowed (LIB2ADDEH): Use
3215 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3216 or xtensa/t-linux.
3217
3218 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
3219
3220 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3221 __ieee754_sqrt): New functions.
3222 (__divdf3): Add implementation with new FPU instructions under
3223 #if XCHAL_HAVE_DFP_DIV.
3224 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3225 __ieee754_sqrtf): New functions.
3226 (__divsf3): Add implementation with new FPU instructions under
3227 #if XCHAL_HAVE_FP_DIV.
3228 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3229 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3230
3231 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3232
3233 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3234 equivalent.
3235 * config/tilepro/atomic.c: Likewise and stop casting model to
3236 enum memmodel.
3237
3238 2016-10-10 Joseph Myers <joseph@codesourcery.com>
3239
3240 PR target/77586
3241 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3242 soft-fp.
3243
3244 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
3245
3246 * config.host: Add support for aarch64-*-freebsd*.
3247
3248 2016-10-05 Andreas Schwab <schwab@suse.de>
3249
3250 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3251 (.section .init_array): Don't call __do_jv_register_classes.
3252 (.section .init): Likewise.
3253
3254 2016-10-04 Jakub Jelinek <jakub@redhat.com>
3255
3256 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3257 (__JCR_LIST__): Remove.
3258 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3259 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3260 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3261 * config/ia64/crtend.S (__JCR_END__): Remove.
3262 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3263 conditionals.
3264 (__JCR_LIST__, __JCR_END__): Remove.
3265 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3266 (__do_global_ctors_1): Likewise.
3267
3268 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
3269
3270 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3271 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3272
3273 2016-09-27 Martin Liska <mliska@suse.cz>
3274
3275 PR gcov-profile/7970
3276 PR gcov-profile/16855
3277 PR gcov-profile/44779
3278 * libgcov-driver.c (__gcov_init): Do not register a atexit
3279 handler.
3280 (__gcov_exit): Rename from gcov_exit.
3281 * libgcov.h (__gcov_exit): Declare.
3282
3283 2016-09-27 Martin Liska <mliska@suse.cz>
3284
3285 PR bootstrap/77749
3286 * Makefile.in: Remove _gcov_merge_delta.
3287 * libgcov-merge.c (void __gcov_merge_delta): Remove.
3288 * libgcov-util.c (__gcov_delta_counter_op): Remove.
3289 * libgcov.h: Remove declaration of __gcov_merge_delta.
3290
3291 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
3292
3293 * configure.ac: Do not create links, only substitute the filenames.
3294 * configure: Regenerate.
3295 * Makefile.in: Assign the substitution results to variables.
3296 (LIBGCC_LINKS): Define.
3297 (enable-execute-stack.c): New rule.
3298 (unwind.h): Likewise.
3299 (md-unwind-support.h): Likewise.
3300 (sfp-machine.h): Likewise.
3301 (gthr-default.h): Likewise.
3302 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3303 unwind.h as prerequisite of install-unwind_h-forbuild.
3304
3305 2016-09-16 Jakub Jelinek <jakub@redhat.com>
3306
3307 PR libgcc/71744
3308 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3309 is not the primary registry and atomics are available.
3310 (any_objects_registered): New variable.
3311 (__register_frame_info_bases, __register_frame_info_table_bases):
3312 Atomically store 1 to any_objects_registered after registering first
3313 unwind info.
3314 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3315
3316 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
3317
3318 PR target/63250
3319 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3320 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3321 (HFtype): Likewise.
3322 (HCtype): Likewise.
3323 (__divhc3): Likewise.
3324 (__mulhc3): Likewise.
3325 * libgcc2.c: Support _mulhc3 and _divhc3.
3326
3327 2016-09-07 Joseph Myers <joseph@codesourcery.com>
3328
3329 PR libgcc/77519
3330 * libgcc2.c (NOTRUNC): Invert settings.
3331
3332 2016-09-06 Martin Liska <mliska@suse.cz>
3333
3334 PR gcov-profile/77378
3335 PR gcov-profile/77466
3336 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3337 conditionaly enable/disable *_atomic functions.
3338
3339 2016-08-26 Joseph Myers <joseph@codesourcery.com>
3340
3341 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3342 where not already enabled.
3343
3344 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3345
3346 * config/mips/linux-unwind.h: Use sys/syscall.h.
3347
3348 2016-08-16 Joseph Myers <joseph@codesourcery.com>
3349
3350 PR libgcc/77265
3351 * soft-fp/adddf3.c: Update from glibc.
3352 * soft-fp/addsf3.c: Likewise.
3353 * soft-fp/addtf3.c: Likewise.
3354 * soft-fp/divdf3.c: Likewise.
3355 * soft-fp/divsf3.c: Likewise.
3356 * soft-fp/divtf3.c: Likewise.
3357 * soft-fp/double.h: Likewise.
3358 * soft-fp/eqdf2.c: Likewise.
3359 * soft-fp/eqsf2.c: Likewise.
3360 * soft-fp/eqtf2.c: Likewise.
3361 * soft-fp/extenddftf2.c: Likewise.
3362 * soft-fp/extended.h: Likewise.
3363 * soft-fp/extendsfdf2.c: Likewise.
3364 * soft-fp/extendsftf2.c: Likewise.
3365 * soft-fp/extendxftf2.c: Likewise.
3366 * soft-fp/fixdfdi.c: Likewise.
3367 * soft-fp/fixdfsi.c: Likewise.
3368 * soft-fp/fixdfti.c: Likewise.
3369 * soft-fp/fixsfdi.c: Likewise.
3370 * soft-fp/fixsfsi.c: Likewise.
3371 * soft-fp/fixsfti.c: Likewise.
3372 * soft-fp/fixtfdi.c: Likewise.
3373 * soft-fp/fixtfsi.c: Likewise.
3374 * soft-fp/fixtfti.c: Likewise.
3375 * soft-fp/fixunsdfdi.c: Likewise.
3376 * soft-fp/fixunsdfsi.c: Likewise.
3377 * soft-fp/fixunsdfti.c: Likewise.
3378 * soft-fp/fixunssfdi.c: Likewise.
3379 * soft-fp/fixunssfsi.c: Likewise.
3380 * soft-fp/fixunssfti.c: Likewise.
3381 * soft-fp/fixunstfdi.c: Likewise.
3382 * soft-fp/fixunstfsi.c: Likewise.
3383 * soft-fp/fixunstfti.c: Likewise.
3384 * soft-fp/floatdidf.c: Likewise.
3385 * soft-fp/floatdisf.c: Likewise.
3386 * soft-fp/floatditf.c: Likewise.
3387 * soft-fp/floatsidf.c: Likewise.
3388 * soft-fp/floatsisf.c: Likewise.
3389 * soft-fp/floatsitf.c: Likewise.
3390 * soft-fp/floattidf.c: Likewise.
3391 * soft-fp/floattisf.c: Likewise.
3392 * soft-fp/floattitf.c: Likewise.
3393 * soft-fp/floatundidf.c: Likewise.
3394 * soft-fp/floatundisf.c: Likewise.
3395 * soft-fp/floatunditf.c: Likewise.
3396 * soft-fp/floatunsidf.c: Likewise.
3397 * soft-fp/floatunsisf.c: Likewise.
3398 * soft-fp/floatunsitf.c: Likewise.
3399 * soft-fp/floatuntidf.c: Likewise.
3400 * soft-fp/floatuntisf.c: Likewise.
3401 * soft-fp/floatuntitf.c: Likewise.
3402 * soft-fp/gedf2.c: Likewise.
3403 * soft-fp/gesf2.c: Likewise.
3404 * soft-fp/getf2.c: Likewise.
3405 * soft-fp/ledf2.c: Likewise.
3406 * soft-fp/lesf2.c: Likewise.
3407 * soft-fp/letf2.c: Likewise.
3408 * soft-fp/muldf3.c: Likewise.
3409 * soft-fp/mulsf3.c: Likewise.
3410 * soft-fp/multf3.c: Likewise.
3411 * soft-fp/negdf2.c: Likewise.
3412 * soft-fp/negsf2.c: Likewise.
3413 * soft-fp/negtf2.c: Likewise.
3414 * soft-fp/op-1.h: Likewise.
3415 * soft-fp/op-2.h: Likewise.
3416 * soft-fp/op-4.h: Likewise.
3417 * soft-fp/op-8.h: Likewise.
3418 * soft-fp/op-common.h: Likewise.
3419 * soft-fp/quad.h: Likewise.
3420 * soft-fp/single.h: Likewise.
3421 * soft-fp/soft-fp.h: Likewise.
3422 * soft-fp/subdf3.c: Likewise.
3423 * soft-fp/subsf3.c: Likewise.
3424 * soft-fp/subtf3.c: Likewise.
3425 * soft-fp/truncdfsf2.c: Likewise.
3426 * soft-fp/trunctfdf2.c: Likewise.
3427 * soft-fp/trunctfsf2.c: Likewise.
3428 * soft-fp/trunctfxf2.c: Likewise.
3429 * soft-fp/unorddf2.c: Likewise.
3430 * soft-fp/unordsf2.c: Likewise.
3431 * soft-fp/unordtf2.c: Likewise.
3432
3433 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
3434
3435 PR gcov-profile/67097
3436 * libgcov-util.c (gcov_profile_merge): Skip missing files.
3437
3438 2016-08-10 Martin Liska <mliska@suse.cz>
3439
3440 PR gcov-profile/58306
3441 * Makefile.in: New functions (modules) are added.
3442 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3443 function.
3444 (__gcov_pow2_profiler_atomic): New function.
3445 (__gcov_one_value_profiler_body): New argument is instroduced.
3446 (__gcov_one_value_profiler): Call with the new argument.
3447 (__gcov_one_value_profiler_atomic): Likewise.
3448 (__gcov_indirect_call_profiler_v2): Likewise.
3449 (__gcov_time_profiler_atomic): New function.
3450 (__gcov_average_profiler_atomic): Likewise.
3451 (__gcov_ior_profiler_atomic): Likewise.
3452 * libgcov.h: Declare the aforementioned functions.
3453
3454 2016-08-09 Martin Liska <mliska@suse.cz>
3455
3456 * libgcov-util.c: Fix typo and GNU coding style.
3457
3458 2016-08-09 Martin Liska <mliska@suse.cz>
3459
3460 * Makefile.in: Remove __gcov_indirect_call_profiler.
3461 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3462 function.
3463 * libgcov.h: And the declaration of the function.
3464
3465 2016-08-09 Martin Liska <mliska@suse.cz>
3466
3467 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3468 power of two.
3469
3470 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3471
3472 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3473 * config/rs6000/_mulkc3.c: Likewise.
3474
3475 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
3476
3477 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3478 zero_reg as previous call to __umulhisi3 already cleared it.
3479
3480 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
3481
3482 PR target/59833
3483 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3484
3485 2016-07-19 Nick Clifton <nickc@redhat.com>
3486
3487 * config.host (m32r): Add m32r/t-m32r to tmake_file.
3488 Add crtinit.o and crtfini.o to extra_parts.
3489
3490 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3491
3492 * config/rs6000/_divkc3.c: New.
3493 * config/rs6000/_mulkc3.c: New.
3494 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3495 and _divkc3.
3496 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3497 fp128_ppc_funcs.
3498
3499 2016-07-11 Hale Wang <hale.wang@arm.com>
3500 Andre Vieira <andre.simoesdiasvieira@arm.com>
3501
3502 * config/arm/lib1funcs.S: Add new wrapper.
3503
3504 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3505
3506 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3507
3508 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3509
3510 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3511 and ARMv5t* rather than for a fixed list of architectures.
3512
3513 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3514
3515 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3516 implementation suitable for.
3517 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3518 for all Thumb-1 only targets.
3519 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3520 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3521 __ARM_ARCH_6M__.
3522 (EQUIV): Likewise.
3523 (ARM_FUNC_ALIAS): Likewise.
3524 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3525 version.
3526 (modsi3): Likewise.
3527 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3528 (clzdi2): Likewise.
3529 (ctzsi2): Likewise.
3530 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3531 __ARM_ARCH_6M__ in guard for checking whether it is defined.
3532 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3533 __ARM_ARCH_6M__ and add comment to indicate the connection between
3534 this condition and the one in gcc/config/arm/elf.h.
3535 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3536 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3537 * config/arm/t-softfp: Likewise.
3538
3539 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3540
3541 * libgcc2.c (SYMBOL__MAIN): Remove checks for
3542 CTOR_LISTS_DEFINED_EXTERNALLY.
3543
3544 2016-06-28 Walter Lee <walt@tilera.com>
3545
3546 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3547 asm/unistd.h.
3548 (SPR_CMPEXCH_VALUE): Define for tilegx.
3549 (__NR_FAST_cmpxchg): Define for tilepro.
3550 (__NR_FAST_atomic_update): Define for tilepro.
3551 (__NR_FAST_cmpxchg64): Define for tilepro.
3552
3553 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
3554
3555 * config.host: Add suport for arm*-*-phoenix* targets.
3556
3557 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3558
3559 * config.host: Remove support for mep-*.
3560 * config/mep/lib1funcs.S: Remove.
3561 * config/mep/lib2funcs.c: Remove.
3562 * config/mep/t-mep: Remove.
3563 * config/mep/tramp.c: Remove.
3564
3565 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3566
3567 * config.host: Remove support for avr-rtems.
3568 * config/avr/t-rtems: Remove.
3569
3570 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3571
3572 * config.host: Remove m32r-rtems support.
3573
3574 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3575
3576 * config.host: Remove h8300-rtems support.
3577
3578 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3579
3580 * config.host: Remove support for knetbsd.
3581
3582 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3583
3584 * config.host: Remove support for openbsd 2 and 3.
3585
3586 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3587
3588 * config.host: Remove interix support.
3589 * config/i386/t-interix: Remove.
3590
3591 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
3592
3593 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3594 least-significant bit in function pointer for fixup.
3595
3596 2016-06-05 Aaron Conole <aconole@redhat.com>
3597 Nathan Sidwell <nathan@acm.org>
3598
3599 PR libgcc/71400
3600 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3601 (get_gcov_error_file): Check __gcov_error_file before trying to
3602 initialize it.
3603 (gcov_error): Always use get_gcov_error_file.
3604
3605 2016-06-02 Aaron Conole <aconole@redhat.com>
3606
3607 * libgcov-driver-system.c (__gcov_error_file): New.
3608 (get_gcov_error_file): New.
3609 (gcov_error): Use and set __gcov_error_file.
3610 (gcov_error_exit): New.
3611 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3612
3613 2016-05-26 Nathan Sidwell <nathan@acm.org>
3614
3615 * config/nvptx/free.asm: Delete.
3616 * config/nvptx/malloc.asm: Delete.
3617 * config/nvptx/realloc.c: Delete.
3618 * t-nvptx: Update.
3619
3620 2016-05-25 Nathan Sidwell <nathan@acm.org>
3621
3622 * config/nvptx/crt0.s: Delete.
3623 * config/nvptx/crt0.c: New.
3624 * t-nvptx: Update.
3625
3626 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
3627
3628 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
3629 dw2/seh configuration.
3630 [x86_64-*-mingw*]: Likewise.
3631
3632 2016-05-10 Joel Sherrill <joel@rtems.org>
3633
3634 PR libgcc/70720
3635 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3636 targets so the same extra_parts are built. Also have tmake_file add
3637 on to its value rather than override.
3638
3639 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
3640
3641 * config.host: Remove SH5 support.
3642 * configure: Likewise.
3643
3644 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
3645
3646 * config/sh/crt1.S: Remove SH5 support.
3647 * config/sh/crti.S: Likewise.
3648 * config/sh/crtn.S: Likewise.
3649 * config/sh/lib1funcs-4-300.S: Likewise.
3650 * config/sh/lib1funcs-Os-4-200.S: Likewise.
3651 * config/sh/lib1funcs.S: Likewise.
3652 * config/sh/linux-unwind.h: Likewise.
3653 * config/sh/t-sh64: Delete.
3654
3655 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
3656
3657 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3658
3659 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
3660 Joern Rennecke <joern.rennecke@embecosm.com>
3661
3662 * config/arc/crttls.S: New file.
3663 * config/arc/t-arc: New rule.
3664 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3665
3666 2016-04-25 Nick Clifton <nickc@redhat.com>
3667
3668 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3669 (__mspabi_cmpd): Likewise.
3670 * config/msp430/floathidf.c (__floathidf): Likewise.
3671 * config/msp430/floathisf.c (__floathisf): Likewise
3672 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3673 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3674 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3675 second parameter.
3676 (__ashrsi3): Likewise.
3677
3678 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
3679
3680 * config/m68k/linux-atomic.c: Do not include unistd.h
3681
3682 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
3683
3684 * config/arm/ieee754-df.S: Fix typos in comments.
3685
3686 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3687
3688 PR target/70381
3689 * configure.ac (powerpc*-*-linux*): Rework tests to build
3690 __float128 emulation routines to not depend on using #pragma GCC
3691 target to enable -mfloat128.
3692 * configure: Regnerate.
3693
3694 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
3695
3696 PR target/67172
3697 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3698 __MINGW32__ is defined.
3699
3700 2016-03-28 James Bowman <james.bowman@ftdichip.com>
3701
3702 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
3703
3704 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
3705
3706 PR libgcc/70363
3707 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3708 built with an assembler that does not support ISA 3.0
3709 instructions, rename __extendkftf2_sw to __extendkftf2.
3710
3711 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3712
3713 PR target/38239
3714 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3715 call-clobbered registers.
3716 (internal_mcount): Remove __i386__ handling.
3717
3718 2016-02-26 Joel Sherrill <joel@rtems.org>
3719
3720 * config.host: Add x86_64-*-rtems*.
3721
3722 2016-02-26 Joel Sherrill <joel@rtems.org>
3723
3724 * libgcc/config.host: Add aarch64-*-rtems*.
3725
3726 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3727 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3728
3729 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3730 union of u64 and double.
3731 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3732 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3733 value.
3734 (FP_ROUNDMODE): Update the usage of _fpscr.
3735
3736 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
3737
3738 PR driver/68463
3739 * Makefile.in (crtoffloadtable$(objext)): New rule.
3740 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3741 enable_offload_targets is not empty.
3742 * configure: Regenerate.
3743 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3744 crtoffloadtable.
3745
3746 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3747
3748 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3749 .literal_position before the function.
3750 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3751 Likewise.
3752
3753 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3754
3755 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3756 * config/s390/morestack.S: New file.
3757 * config/s390/t-stack-s390: New file.
3758 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3759
3760 2016-02-12 Walter Lee <walt@tilera.com>
3761
3762 * config.host (tilegx*-*-linux*): remove ti from
3763 softfp_int_modes for 32-bit configs.
3764
3765 2016-02-10 Ian Lance Taylor <iant@google.com>
3766
3767 PR go/68562
3768 * config/i386/morestack.S (__stack_split_initialize): Align
3769 stack.
3770
3771 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3772
3773 PR bootstrap/69611
3774 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3775 __FLOAT128__ to compile only for __float128 capable targets.
3776
3777 2016-01-25 Jakub Jelinek <jakub@redhat.com>
3778
3779 PR target/69444
3780 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3781 instead of ___NO_FPRS__.
3782
3783 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
3784 Steven Munroe <munroesj@linux.vnet.ibm.com>
3785 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3786
3787 * config/rs6000/float128-sed: New files to convert TF names to KF
3788 names for PowerPC IEEE 128-bit floating point support.
3789 * config/rs6000/float128-sed-hw: Likewise.
3790
3791 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3792 floating point hardware support.
3793
3794 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3795 128-bit floating point software emulation or use ISA 3.0 hardware
3796 support if it is available.
3797
3798 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3799 floating point.
3800
3801 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3802 floating point to IBM extended double.
3803
3804 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3805 double to IEEE 128-bit floating point.
3806
3807 * config/rs6000/t-float128: New Makefile fragments to enable
3808 building __float128 emulation support.
3809 * config/rs6000/t-float128-hw: Likewise.
3810
3811 * config/rs6000/sfp-exceptions.c: New file to provide exception
3812 support for IEEE 128-bit floating point.
3813
3814 * config/rs6000/floattikf.c: New files for converting between IEEE
3815 128-bit floating point and signed/unsigned 128-bit integers.
3816 * config/rs6000/fixunskfti.c: Likewise.
3817 * config/rs6000/fixkfti.c: Likewise.
3818 * config/rs6000/floatuntikf.c: Likewise.
3819
3820 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3821 when building on 64-bit systems, or when VSX is enabled.
3822 (_FP_W_TYPE): Likewise.
3823 (_FP_WS_TYPE): Likewise.
3824 (_FP_I_TYPE): Likewise.
3825 (TItype): Define on 64-bit systems.
3826 (UTItype): Likewise.
3827 (TI_BITS): Likewise.
3828 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3829 (_FP_MUL_MEAT_Q): Likewise.
3830 (_FP_DIV_MEAT_D): Likewise.
3831 (_FP_DIV_MEAT_Q): Likewise.
3832 (_FP_NANFRAC_D): Likewise.
3833 (_FP_NANFRAC_Q): Likewise.
3834 (ISA_BIT): Add exception support if we are being compiled on a
3835 machine with hardware floating point support to build the IEEE
3836 128-bit emulation functions.
3837 (FP_EX_INVALID): Likewise.
3838 (FP_EX_OVERFLOW): Likewise.
3839 (FP_EX_UNDERFLOW): Likewise.
3840 (FP_EX_DIVZERO): Likewise.
3841 (FP_EX_INEXACT): Likewise.
3842 (FP_EX_ALL): Likewise.
3843 (__sfp_handle_exceptions): Likewise.
3844 (FP_HANDLE_EXCEPTIONS): Likewise.
3845 (FP_RND_NEAREST): Likewise.
3846 (FP_RND_ZERO): Likewise.
3847 (FP_RND_PINF): Likewise.
3848 (FP_RND_MINF): Likewise.
3849 (FP_RND_MASK): Likewise.
3850 (_FP_DECL_EX): Likewise.
3851 (FP_INIT_ROUNDMODE): Likewise.
3852 (FP_ROUNDMODE): Likewise.
3853
3854 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3855 VSX code, enable IEEE 128-bit floating point. If the compiler can
3856 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3857 floating point hardware instructions and it supports declaring
3858 functions with the ifunc attribute, enable ifunc functions to
3859 switch between software and hardware support.
3860 * configure.ac (powerpc*-*-linux*): Likewise.
3861 * configure: Regenerate.
3862
3863 2016-01-15 Nick Clifton <nickc@redhat.com>
3864
3865 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3866 dependency as the source file to be compiled.
3867 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3868 (lib2hw_mul_f5.o): Likewise.
3869
3870 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3871
3872 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
3873 * libgcc/config/rs6000/fixkfti.c: Likewise.
3874 * libgcc/config/rs6000/fixunskfti.c: Likewise.
3875 * libgcc/config/rs6000/float128-hw.c: Likewise.
3876 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
3877 * libgcc/config/rs6000/float128-sed: Likewise.
3878 * libgcc/config/rs6000/floattikf.c: Likewise.
3879 * libgcc/config/rs6000/floatuntikf.c: Likewise.
3880 * libgcc/config/rs6000/quad-float128.h: Likewise.
3881 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
3882 * libgcc/config/rs6000/sfp-machine.h: Likewise.
3883 * libgcc/config/rs6000/t-float128: Likewise.
3884 * libgcc/config/rs6000/t-float128-hw: Likewise.
3885 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
3886 * libgcc/config.host: Likewise.
3887 * libgcc/configure: Likewise.
3888 * libgcc/configure.ac: Likewise.
3889
3890 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3891 Steven Munroe <munroesj@linux.vnet.ibm.com>
3892 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3893
3894 * config/rs6000/sfp-exceptions.c: New file to provide exception
3895 support for IEEE 128-bit floating point.
3896
3897 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3898 floating point hardware support.
3899
3900 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
3901 point conversions.
3902 * config/rs6000/fixunskfti.c: Likewise.
3903 * config/rs6000/fixkfti.c: Likewise.
3904 * config/rs6000/floatuntikf.c: Likewise.
3905 * config/rs6000/extendkftf2-sw.c: Likewise.
3906 * config/rs6000/trunctfkf2-sw.c: Likewise.
3907
3908 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3909 128-bit floating point software emulation or use ISA 3.0 hardware
3910 support if it is available.
3911
3912 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3913 floating point.
3914
3915 * config/rs6000/t-float128: New Makefile fragments to enable
3916 building __float128 emulation support.
3917 * config/rs6000/t-float128-hw: Likewise.
3918
3919 * config/rs6000/float128-sed: New file to convert TF names to KF
3920 names for PowerPC IEEE 128-bit floating point support.
3921
3922 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3923 when building on 64-bit systems, or when VSX is enabled.
3924 (_FP_W_TYPE): Likewise.
3925 (_FP_WS_TYPE): Likewise.
3926 (_FP_I_TYPE): Likewise.
3927 (TItype): Define on 64-bit systems.
3928 (UTItype): Likewise.
3929 (TI_BITS): Likewise.
3930 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3931 (_FP_MUL_MEAT_Q): Likewise.
3932 (_FP_DIV_MEAT_D): Likewise.
3933 (_FP_DIV_MEAT_Q): Likewise.
3934 (_FP_NANFRAC_D): Likewise.
3935 (_FP_NANFRAC_Q): Likewise.
3936 (ISA_BIT): Add exception support if we are being compiled on a
3937 machine with hardware floating point support to build the IEEE
3938 128-bit emulation functions.
3939 (FP_EX_INVALID): Likewise.
3940 (FP_EX_OVERFLOW): Likewise.
3941 (FP_EX_UNDERFLOW): Likewise.
3942 (FP_EX_DIVZERO): Likewise.
3943 (FP_EX_INEXACT): Likewise.
3944 (FP_EX_ALL): Likewise.
3945 (__sfp_handle_exceptions): Likewise.
3946 (FP_HANDLE_EXCEPTIONS): Likewise.
3947 (FP_RND_NEAREST): Likewise.
3948 (FP_RND_ZERO): Likewise.
3949 (FP_RND_PINF): Likewise.
3950 (FP_RND_MINF): Likewise.
3951 (FP_RND_MASK): Likewise.
3952 (_FP_DECL_EX): Likewise.
3953 (FP_INIT_ROUNDMODE): Likewise.
3954 (FP_ROUNDMODE): Likewise.
3955
3956 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3957 compiler can do __float128.
3958 * configure: Regenerate.
3959
3960 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3961 VSX code, enable IEEE 128-bit floating point.
3962
3963 2016-01-05 Olivier Hainque <hainque@adacore.com>
3964
3965 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
3966 specificities.
3967
3968 2016-01-04 Jakub Jelinek <jakub@redhat.com>
3969
3970 Update copyright years.
3971
3972 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3973
3974 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
3975 soft-fp targets.
3976
3977 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3978
3979 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3980 instead of abort to avoid dependency on stdlib.h.
3981
3982 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
3983
3984 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3985 to initialize call to __dl_fixup once.
3986
3987 2015-12-04 Nick Clifton <nickc@redhat.com>
3988
3989 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3990 Allow for the second argument being negative.
3991 * config.host (extra_parts): Define for MSP430. Create separate
3992 libraries for each of the hardware multiply formats.
3993 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3994 that are needed.
3995 * config/msp430/lib2mul.c: Likewise.
3996 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3997 Add rules to build hardware multiply libraries.
3998 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3999 __mspabi_divul function.
4000 (__mspabi_divllu): New stub function.
4001
4002 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
4003
4004 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4005 fixup values if saved GOT address doesn't match runtime address.
4006 (fixup_branch_offset): Reorder list.
4007
4008 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4009
4010 * Makefile.in (VTV_CFLAGS): New variable.
4011 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4012 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4013 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4014 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4015 to extra_parts if $enable_vtable_verify = yes.
4016
4017 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
4018
4019 PR target/68059
4020 * config/arm/linux-atomic-64bit.c (__write): Rename to...
4021 (write): ...this and fix the return type.
4022
4023 2015-11-19 DJ Delorie <dj@redhat.com>
4024
4025 * config/msp430/lib2hw_mul.S: Fix alignment.
4026
4027 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
4028
4029 * config/nvptx/reduction.c: New.
4030 * config/nvptx/t-nvptx (LIB2ADD): Add it.
4031
4032 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
4033
4034 * config/rs6000/on_exit.c: New file.
4035 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4036 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4037
4038 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
4039
4040 * config/arc/dp-hack.h: Add support for ARCHS.
4041 * config/arc/ieee-754/divdf3.S: Likewise.
4042 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4043 * config/arc/ieee-754/muldf3.S: Likewise.
4044 * config/arc/ieee-754/mulsf3.S: Likewise
4045 * config/arc/lib1funcs.S: Likewise
4046 * config/arc/gmon/dcache_linesz.S: Don't read the build register
4047 for ARCv2 cores.
4048 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4049 for ARCv2 cores.
4050 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4051 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4052 cores.
4053
4054 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4055
4056 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4057 value.
4058 * config/ia64/crtend.S: Likewise.
4059
4060 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4061
4062 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4063 __CHAR_BIT__ instead of BITS_PER_UNIT.
4064 * fixed-bit.h: Likewise.
4065 * fp-bit.h: Likewise.
4066 * libgcc2.c (__popcountSI2): Likewise.
4067 (__popcountDI2): Likewise.
4068 * libgcc2.h: Likewise.
4069 * libgcov.h: Likewise.
4070
4071 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
4072
4073 * config/rs6000/atexit.c: New file.
4074 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4075 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4076 * config/rs6000/cxa_finalize.c
4077 (catomic_compare_and_exchange_bool_acq): Negate return value.
4078
4079 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4080
4081 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4082 (processor_subtypes): Add znver1.
4083 (get_amd_cpu): Detect znver1.
4084
4085 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
4086
4087 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4088 Include crtfastmath.o.
4089
4090 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
4091
4092 PR libgcc/66883
4093 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
4094
4095 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
4096
4097 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4098 * config/rl78/divmodsi.S: Update return register to r8.
4099 * config/rl78/divmodhi.S: Update return register to r8,r9.
4100 Branch to main_loop_done_himode to pop registers before return.
4101
4102 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4103
4104 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4105 (__cpu_indicator_init): Fix model selection for AMD CPUs.
4106
4107 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
4108
4109 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4110
4111 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
4112
4113 * config.host (xtensa*-*-uclinux*): New configuration.
4114
4115 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
4116
4117 * config/i386/cpuinfo.c (processor_features): Add
4118 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4119
4120 2015-09-28 Joseph Myers <joseph@codesourcery.com>
4121
4122 * soft-fp/adddf3.c: Update from glibc.
4123 * soft-fp/addsf3.c: Likewise.
4124 * soft-fp/addtf3.c: Likewise.
4125 * soft-fp/divdf3.c: Likewise.
4126 * soft-fp/divsf3.c: Likewise.
4127 * soft-fp/divtf3.c: Likewise.
4128 * soft-fp/double.h: Likewise.
4129 * soft-fp/eqdf2.c: Likewise.
4130 * soft-fp/eqsf2.c: Likewise.
4131 * soft-fp/eqtf2.c: Likewise.
4132 * soft-fp/extenddftf2.c: Likewise.
4133 * soft-fp/extended.h: Likewise.
4134 * soft-fp/extendsfdf2.c: Likewise.
4135 * soft-fp/extendsftf2.c: Likewise.
4136 * soft-fp/extendxftf2.c: Likewise.
4137 * soft-fp/fixdfdi.c: Likewise.
4138 * soft-fp/fixdfsi.c: Likewise.
4139 * soft-fp/fixdfti.c: Likewise.
4140 * soft-fp/fixsfdi.c: Likewise.
4141 * soft-fp/fixsfsi.c: Likewise.
4142 * soft-fp/fixsfti.c: Likewise.
4143 * soft-fp/fixtfdi.c: Likewise.
4144 * soft-fp/fixtfsi.c: Likewise.
4145 * soft-fp/fixtfti.c: Likewise.
4146 * soft-fp/fixunsdfdi.c: Likewise.
4147 * soft-fp/fixunsdfsi.c: Likewise.
4148 * soft-fp/fixunsdfti.c: Likewise.
4149 * soft-fp/fixunssfdi.c: Likewise.
4150 * soft-fp/fixunssfsi.c: Likewise.
4151 * soft-fp/fixunssfti.c: Likewise.
4152 * soft-fp/fixunstfdi.c: Likewise.
4153 * soft-fp/fixunstfsi.c: Likewise.
4154 * soft-fp/fixunstfti.c: Likewise.
4155 * soft-fp/floatdidf.c: Likewise.
4156 * soft-fp/floatdisf.c: Likewise.
4157 * soft-fp/floatditf.c: Likewise.
4158 * soft-fp/floatsidf.c: Likewise.
4159 * soft-fp/floatsisf.c: Likewise.
4160 * soft-fp/floatsitf.c: Likewise.
4161 * soft-fp/floattidf.c: Likewise.
4162 * soft-fp/floattisf.c: Likewise.
4163 * soft-fp/floattitf.c: Likewise.
4164 * soft-fp/floatundidf.c: Likewise.
4165 * soft-fp/floatundisf.c: Likewise.
4166 * soft-fp/floatunditf.c: Likewise.
4167 * soft-fp/floatunsidf.c: Likewise.
4168 * soft-fp/floatunsisf.c: Likewise.
4169 * soft-fp/floatunsitf.c: Likewise.
4170 * soft-fp/floatuntidf.c: Likewise.
4171 * soft-fp/floatuntisf.c: Likewise.
4172 * soft-fp/floatuntitf.c: Likewise.
4173 * soft-fp/gedf2.c: Likewise.
4174 * soft-fp/gesf2.c: Likewise.
4175 * soft-fp/getf2.c: Likewise.
4176 * soft-fp/ledf2.c: Likewise.
4177 * soft-fp/lesf2.c: Likewise.
4178 * soft-fp/letf2.c: Likewise.
4179 * soft-fp/muldf3.c: Likewise.
4180 * soft-fp/mulsf3.c: Likewise.
4181 * soft-fp/multf3.c: Likewise.
4182 * soft-fp/negdf2.c: Likewise.
4183 * soft-fp/negsf2.c: Likewise.
4184 * soft-fp/negtf2.c: Likewise.
4185 * soft-fp/op-1.h: Likewise.
4186 * soft-fp/op-2.h: Likewise.
4187 * soft-fp/op-4.h: Likewise.
4188 * soft-fp/op-8.h: Likewise.
4189 * soft-fp/op-common.h: Likewise.
4190 * soft-fp/quad.h: Likewise.
4191 * soft-fp/single.h: Likewise.
4192 * soft-fp/soft-fp.h: Likewise.
4193 * soft-fp/subdf3.c: Likewise.
4194 * soft-fp/subsf3.c: Likewise.
4195 * soft-fp/subtf3.c: Likewise.
4196 * soft-fp/truncdfsf2.c: Likewise.
4197 * soft-fp/trunctfdf2.c: Likewise.
4198 * soft-fp/trunctfsf2.c: Likewise.
4199 * soft-fp/trunctfxf2.c: Likewise.
4200 * soft-fp/unorddf2.c: Likewise.
4201 * soft-fp/unordsf2.c: Likewise.
4202 * soft-fp/unordtf2.c: Likewise.
4203
4204 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
4205
4206 PR libgcc/67624
4207 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4208
4209 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4210
4211 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4212 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4213 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4214 messages.
4215 (internal_mcount): Likewise.
4216 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4217 crt_compile, add CRTSTUFF_T_CFLAGS_S.
4218
4219 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4220
4221 * configure.ac (libgcc_cv_solaris_crts): New test.
4222 * configure: Regenerate.
4223 * config.in: Regenerate.
4224 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4225 * config/gmon-sol2.c: Rename to ...
4226 * config/sol2/gmon.c: ... this.
4227 Include auto-target.h.
4228 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4229 * config/t-sol2: Rename to ...
4230 * config/sol2/t-sol2: ... this.
4231 (gmon.o): Reflect renaming.
4232 (crtp.o, crtpg.o): New rules.
4233 * config.host (*-*-solaris2*): Reflect renaming.
4234 Use system CRTs if present.
4235 Remove default CRT case.
4236
4237 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
4238
4239 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4240 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4241 __kernel_cmpxchg2.
4242 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4243 (__sync_val_compare_and_swap_##WIDTH): Likewise.
4244 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4245 (__sync_lock_test_and_set_##WIDTH): Likewise.
4246 (__sync_lock_release_##WIDTH): Likewise.
4247 (__sync_fetch_and_##OP##_4): Change result to match type of
4248 __kernel_cmpxchg.
4249 (__sync_##OP##_and_fetch_4): Likewise.
4250 (__sync_val_compare_and_swap_4): Likewise.
4251 (__sync_bool_compare_and_swap_4): likewise.
4252 (__sync_lock_test_and_set_4): Likewise.
4253 (__sync_lock_release_4): Likewise.
4254 (FETCH_AND_OP_2): Add long long variants.
4255 (OP_AND_FETCH_2): Likewise.
4256 (COMPARE_AND_SWAP_2 ): Likewise.
4257 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4258 (SYNC_LOCK_RELEASE_2): Likewise.
4259 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4260
4261 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
4262
4263 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4264 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4265 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4266 (get_available_features): Habdle new features.
4267
4268 2015-09-21 James Bowman <james.bowman@ftdichip.com>
4269
4270 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4271 memory layout. Deal correctly with BSS region larger than 32K.
4272 Handle a watchdog reset like a power-on reset. Clean up unused
4273 code.
4274
4275 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
4276 David Edelsohn <dje.gcc@gmail.com>
4277
4278 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4279 * config/rs6000/crtdbase.S: New file.
4280 * config/rs6000/t-aix-cxa: Build crtdbase.o.
4281
4282 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
4283
4284 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4285 Add support for call0 ABI.
4286
4287 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
4288
4289 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4290
4291 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
4292
4293 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4294 (__GTHREAD_HAS_COND): Likewise.
4295 (__gthread_t): Likewise.
4296 (__gthread_cond_t): Likewise.
4297 (__gthread_time_t): Likewise.
4298 (__GTHREAD_MUTEX_INIT): Likewise.
4299 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4300 (__GTHREAD_COND_INIT): Likewise.
4301 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4302 (__GTHREAD_TIME_INIT): Likewise.
4303 (__gthread_create): Likewise.
4304 (__gthread_join): Likewise.
4305 (__gthread_detach): Likewise.
4306 (__gthread_equal): Likewise.
4307 (__gthread_self): Likewise.
4308 (__gthread_yield): Likewise.
4309 (__gthread_cond_broadcast): Likewise.
4310 (__gthread_cond_signal): Likewise.
4311 (__gthread_cond_wait): Likewise.
4312 (__gthread_cond_timedwait): Likewise.
4313 (__gthread_cond_wait_recursive): Likewise.
4314 (__gthread_cond_destroy): Likewise.
4315 (rtems_gxx_once): Delete.
4316 (rtems_gxx_key_create): Likewise.
4317 (rtems_gxx_key_delete): Likewise.
4318 (rtems_gxx_getspecific): Likewise.
4319 (rtems_gxx_setspecific): Likewise.
4320 (rtems_gxx_mutex_init): Likewise.
4321 (rtems_gxx_mutex_destroy): Likewise.
4322 (rtems_gxx_mutex_lock): Likewise.
4323 (rtems_gxx_mutex_trylock): Likewise.
4324 (rtems_gxx_mutex_unlock): Likewise.
4325 (rtems_gxx_recursive_mutex_init): Likewise.
4326 (rtems_gxx_recursive_mutex_lock): Likewise.
4327 (rtems_gxx_recursive_mutex_trylock): Likewise.
4328 (rtems_gxx_recursive_mutex_unlock): Likewise.
4329 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4330 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4331 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4332 (__gthread_once): Likewise.
4333 (__gthread_key_create): Likewise.
4334 (__gthread_key_delete): Likewise.
4335 (__gthread_getspecific): Likewise.
4336 (__gthread_setspecific): Likewise.
4337 (__gthread_key_t): Use <pthread.h> type.
4338 (__gthread_once_t): Likewise
4339 (__gthread_mutex_t): Use <sys/lock.h> type.
4340 (__gthread_recursive_mutex_t): Likewise
4341 (__gthread_mutex_lock): Use <sys/lock.h> function.
4342 (__gthread_mutex_trylock): Likewise.
4343 (__gthread_mutex_timedlock): Likewise.
4344 (__gthread_mutex_unlock): Likewise.
4345 (__gthread_mutex_destroy): Likewise.
4346 (__gthread_recursive_mutex_lock): Likewise.
4347 (__gthread_recursive_mutex_trylock): Likewise.
4348 (__gthread_recursive_mutex_timedlock): Likewise.
4349 (__gthread_recursive_mutex_unlock): Likewise.
4350 (__gthread_recursive_mutex_destroy): Likewise.
4351
4352 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4353
4354 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4355 context->sp instead of context->cfa.
4356
4357 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4358
4359 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4360 with unwind-dw2-fde-dip.
4361
4362 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4363
4364 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4365 CALL12 followed by series of ENTRY to spill windowed registers.
4366 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4367 instead of making linux spill syscall.
4368
4369 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
4370
4371 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4372 (get_intel_cpu): Likewise.
4373
4374 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
4375
4376 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4377 (get_intel_cpu): Add Knights Landing support.
4378
4379 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
4380
4381 PR target/66954
4382 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4383 (get_available_features): Handle FEATURE_PCLMUL.
4384
4385 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
4386
4387 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4388 Broadwell.
4389
4390 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
4391
4392 PR target/66954
4393 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4394 (get_available_features): Handle FEATURE_AES.
4395
4396 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
4397
4398 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4399 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4400
4401 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
4402
4403 * offloadstuff.c: Constify host data.
4404
4405 2015-07-17 Jan Beulich <jbeulich@suse.com>
4406
4407 * config/t-softfp: Split up "else ifneq".
4408
4409 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4410 Cesar Philippidis <cesar@codesourcery.com>
4411 Chung-Lin Tang <cltang@codesourcery.com>
4412
4413 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4414 for __nios2_arch__ level.
4415
4416 2015-07-13 John Marino <gnugcc@marino.st>
4417
4418 * config/i386/t-dragonfly: New.
4419
4420 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
4421
4422 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4423 better match light-weight syscall argument order.
4424 (__kernel_cmpxchg2): Likewise.
4425 Adjust callers.
4426
4427 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
4428
4429 * config.host: Support i[34567]86-*-elfiamcu target.
4430 * config/t-softfp-sfdftf: New file.
4431 * config/i386/32/t-iamcu: Likewise.
4432 * configure: Regenerated.
4433
4434 2015-06-23 James Lemke <jwlemke@codesourcery.com>
4435
4436 libgcc/config/arm/
4437 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4438
4439 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
4440
4441 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4442
4443 2015-05-27 John Marino <gnugcc@marino.st>
4444
4445 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4446 md_unwind_header
4447 * config/i386/freebsd-unwind.h: New.
4448
4449 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
4450
4451 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4452 i386/t-crtfm to tmake_file.
4453 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4454 (set_fast_math): Use set_fast_math_sse for SSE targets.
4455 * config/i386/t-crtfm: Remove.
4456
4457 2015-05-21 Alan Modra <amodra@gmail.com>
4458
4459 PR libgcc/66225
4460 * config/rs6000/morestack.S: Remove ".abiversion 1".
4461
4462 2015-05-20 Alan Modra <amodra@gmail.com>
4463
4464 * config/rs6000/morestack.S: New.
4465 * config/rs6000/t-stack-rs6000: New.
4466 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4467 to tmake_file.
4468 * generic-morestack.c: Don't build for powerpc 32-bit.
4469
4470 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
4471
4472 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4473 Remove useless endif/ifneq ($(enable_shared),yes) pair.
4474
4475 2015-05-16 James Bowman <james.bowman@ftdichip.com>
4476
4477 * config.host: FT32 target added.
4478 * config/ft32/*: New files for FT32 target.
4479
4480 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
4481
4482 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4483 New macros.
4484 * config/arm/ieee754-df.S: Add CFI directives.
4485 * config/arm/ieee754-sf.S: Add CFI directives.
4486
4487 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
4488
4489 * configure.ac: Include config/sjlj.m4.
4490 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4491 * config.in: Regenerate.
4492 * configure: Likewise.
4493 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4494
4495 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
4496
4497 * libgcov-util.c: Add space between string literal and macro name.
4498
4499 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
4500 Chris Jones <chrisj@nvidia.com>
4501 Joshua Conner <jconner@nvidia.com>
4502
4503 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4504 (arm*-*-uclinux*): Likewise.
4505 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4506 * config/arm/crtfastmath.c: New file.
4507
4508 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
4509
4510 * Makefile.in (real_host_noncanonical): New variable.
4511 (libsubdir): Use it.
4512 * configure.ac (real_host_noncanonical): Compute. Remove special
4513 case for intelmicemul.
4514 * configure: Regenerate.
4515
4516 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4517
4518 * config/frv/elf-lib.h: New file.
4519 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4520 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4521 to tm_file.
4522
4523 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4524
4525 * config/frv/frvbengin.c: Do not include defaults.h
4526 * config/frv/frvend.c: Ditto.
4527
4528 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
4529
4530 * config.host: Add h8300-*-linux
4531 * config/h8300/t-linux: New file.
4532 * config/h8300/lib1funs.s: Change symbol prefix.
4533 * config/h8300/sfp-machine.h: 64bit double support.
4534
4535 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
4536 Szabolcs Nagy <szabolcs.nagy@arm.com>
4537
4538 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4539 Linux if target provides dl_iterate_phdr.
4540
4541 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
4542
4543 PR target/65612
4544 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4545 * config/i386/cpuinfo.c (__cpu_model): Initialize.
4546 (__cpu_indicator_init@GCC_4.8.0): New.
4547 (__cpu_model@GCC_4.8.0): Likewise.
4548 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4549 -DUSE_ELF_SYMVER.
4550
4551 2015-04-16 Nick Clifton <nickc@redhat.com>
4552
4553 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4554 and __modhi3 functions.
4555 * config/rl78/divmodso.S: Add G14 and G13 versions of the
4556 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4557
4558 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
4559
4560 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4561 do-while loop as macro body to avoid warnings.
4562
4563 2015-04-10 Jakub Jelinek <jakub@redhat.com>
4564 Iain Sandoe <iain@codesourcery.com>
4565
4566 PR target/65351
4567 * configure: Regenerate.
4568
4569 2015-04-07 Jakub Jelinek <jakub@redhat.com>
4570 Iain Sandoe <iain@codesourcery.com>
4571
4572 PR target/65351
4573 * configure: Regenerate.
4574
4575 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
4576
4577 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4578
4579 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
4580
4581 Implement call0 ABI for xtensa
4582 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4583 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4584 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4585 use ret in call0 ABI.
4586 * config/xtensa/t-windowed: New file.
4587 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4588 * libgcc/configure: Regenerated.
4589 * libgcc/configure.ac: Check if xtensa target is configured for
4590 windowed ABI and thus needs to use custom unwind code.
4591
4592 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
4593
4594 PR libgcc/64885
4595 * gthr-single.h: Use __unused__ attribute instead of unused.
4596 * config/gthr-vxworks.h: Likewise.
4597 * config/i386/gthr-win32.h: Likewise.
4598
4599 2015-02-27 Kai Tietz <ktietz@redhat.com>
4600
4601 PR target/65038
4602 * config.in: Regenerated.
4603 * configure: Likewise.
4604 * configure.ac (AC_HEADER_STDC): Added explicit.
4605 (AC_CHECK_HEADERS): Check for default headers plus
4606 for ftw.h header.
4607 * libgcov-util.c (gcov_read_profile_dir): Disable use
4608 of ftw-function, if header is not found.
4609 (ftw_read_file): Likewise.
4610
4611 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
4612
4613 PR target/65181
4614 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4615 -Dinhibit_libc.
4616
4617 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
4618
4619 * config/arm/bpabi.S (test_div_by_zero): Make label names
4620 consistent between thumb2 and arm mode cases. Separate the
4621 signed comparison on the high word of the numerator from the
4622 unsigned comparison on the low word.
4623 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4624 signed comparison.
4625
4626 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4627
4628 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4629 and <string.h>.
4630 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4631
4632 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
4633
4634 PR gcov-profile/61889
4635 * libgcov-driver-system.c: undefine clashing macro for mkdir.
4636
4637 2015-02-02 Nick Clifton <nickc@redhat.com>
4638
4639 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4640 rounding up the fraction.
4641
4642 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
4643
4644 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4645 oldval and newval to const void *. Fix typo.
4646 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4647 (FETCH_AND_OP_WORD): Likewise.
4648 (OP_AND_FETCH_WORD): Likewise.
4649 (COMPARE_AND_SWAP_2): Likewise.
4650 (__sync_val_compare_and_swap_4): Likewise.
4651 (__sync_lock_test_and_set_4): Likewise.
4652 (SYNC_LOCK_RELEASE_2): Likewise.
4653 Remove support for long long atomic operations.
4654
4655 2015-01-27 Caroline Tice <cmtice@google.com>
4656
4657 Committing VTV Cywin/Ming patch for Patrick Wollgast
4658 * Makefile.in: Move rules to build vtv_*.o out of the check
4659 for CUSTOM_CRTSTUFF.
4660 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4661 i[34567]86-*-mingw*)
4662 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4663 enable_vtable_verify.
4664
4665 2015-01-27 Nick Clifton <nickc@redhat.com>
4666
4667 * config/rl78/cmpsi2.S: Use function start and end macros.
4668 (__gcc_bcmp): New function.
4669 * config/rl78/lshrsi3.S: Use function start and end macros.
4670 * config/rl78/mulsi3.S: Add support for G10.
4671 (__mulqi3): New function for G10.
4672 * config/rl78/signbit.S: Use function start and end macros.
4673 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4674 fpmath-sf.S.
4675 (LIB2FUNCS_EXCLUDE): Define.
4676 (LIB2FUNCS_ST): Define.
4677 * config/rl78/trampoline.S: Use function start and end macros.
4678 * config/rl78/vregs.h (START_FUNC): New macro.
4679 (START_ANOTHER_FUNC): New macro.
4680 (END_FUNC): New macro.
4681 (END_ANOTHER_FUNC): New macro.
4682 * config/rl78/bit-count.S: New file. Contains assembler
4683 implementations of the bit counting functions: ___clzhi2,
4684 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4685 __paritysi2, __popcounthi2 and __popcountsi2.
4686 * config/rl78/fpbit-sf.S: New file. Contains assembler
4687 implementationas of the math functions: __negsf2, __cmpsf2,
4688 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4689 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
4690 * config/rl78/fpmath-sf.S: New file. Contains assembler
4691 implementations of the math functions: __subsf3, __addsf3,
4692 __mulsf3 and __divsf3
4693
4694 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4695
4696 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4697 Add i386/elf-lib.h to tm_file.
4698 * config/i386/elf-lib.h: Fix comment.
4699 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4700 && __sun__ && __svr4__]: Remove workaround.
4701
4702 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4703
4704 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4705 FEATURE_BMI2.
4706 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4707
4708 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
4709
4710 * config/i386/cpuinfo.c (processor_subtypes): Add
4711 INTEL_COREI7_BROADWELL.
4712 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4713 model numbers.
4714
4715 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
4716
4717 * config/i386/elf-lib.h: New file.
4718 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4719 Wrap definition in #ifdef __i386__.
4720 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4721 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4722 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4723 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4724 to tm_file.
4725
4726 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
4727
4728 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4729 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4730
4731 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
4732
4733 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4734 Update rt_sigframe format and address for current Nios II
4735 Linux conventions.
4736
4737 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
4738
4739 * config.host (arm*-*-freebsd*): Add new configuration for
4740 arm*-*-freebsd*.
4741 * config/arm/freebsd-atomic.c: New file.
4742 * config/arm/t-freebsd: Likewise.
4743 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4744 'PC-relative indirect' OS's.
4745
4746 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
4747
4748 * config.host: Add Visium support.
4749 * config/visium: New directory.
4750
4751 2015-01-05 Jakub Jelinek <jakub@redhat.com>
4752
4753 Update copyright years.
4754
4755 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4756
4757 * config.host: Support mipsisa32r6 and mipsisa64r6.
4758 * config/mips/mips16.S: Do not build for R6.
4759
4760 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4761
4762 * config/sh/crt.h: New.
4763 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4764 symbols.
4765 * config/sh/crt1.S: Likewise.
4766
4767 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
4768
4769 PR libgcc/63832
4770 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4771 func_ptr *dtor_list temporary variable to avoid "array subscript
4772 is above array bounds" warnings.
4773
4774 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
4775
4776 * Makefile.in (with_aix_soname): Define.
4777 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4778 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4779 * configure: Recreate.
4780
4781 2014-12-05 Olivier Hainque <hainque@adacore.com>
4782
4783 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4784 now provided by defaults.h.
4785
4786 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4787
4788 PR target/55351
4789 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4790 whether it's defined.
4791
4792 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4793
4794 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4795 * config/i386/cpuinfo.c (get_available_features): Detect it.
4796
4797 2014-11-27 Tony Wang <tony.wang@arm.com>
4798
4799 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4800 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4801 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4802
4803 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4804
4805 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4806
4807 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
4808
4809 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4810 instead.
4811
4812 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4813 John David Anglin <danglin@gcc.gnu.org>
4814
4815 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4816 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4817 (OP_AND_FETCH_2): Likewise.
4818 (COMPARE_AND_SWAP_2): Likewise.
4819 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4820 (SYNC_LOCK_RELEASE_2): Likewise.
4821 (SUBWORD_SYNC_OP): Remove.
4822 (SUBWORD_VAL_CAS): Likewise.
4823 (SUBWORD_BOOL_CAS): Likewise.
4824 (FETCH_AND_OP_WORD): Update.
4825 Consistently use signed types.
4826
4827 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4828 Thomas Schwinge <thomas@codesourcery.com>
4829 Ilya Verbin <ilya.verbin@intel.com>
4830 Andrey Turetskiy <andrey.turetskiy@intel.com>
4831
4832 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4833 (crtoffloadend$(objext)): Likewise.
4834 * configure: Regenerate.
4835 * configure.ac (accel_dir_suffix): Compute new variable.
4836 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4837 if enable_offload_targets is not empty.
4838 * offloadstuff.c: New file.
4839
4840 2014-11-13 Nick Clifton <nickc@redhat.com>
4841
4842 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4843 Use START_FUNC and END_FUNC macros to enable linker garbage
4844 collection.
4845 * config/rl78/divmodqi.S: Likewise.
4846 * config/rl78/divmodsi.S: Likewise.
4847 * config/rl78/mulsi3.S: Likewise.
4848 * config/rl78/lib2div.c: Remove G10 functions.
4849 * config/rl78/lib2muls.c: Likewise.
4850 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4851 * config/rl78/vregs.h (START_FUNC): New macro.
4852 (END_FUNC): New macro.
4853
4854 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4855
4856 * config/mips/mips16.S: Set .module when supported. Update O32
4857 FP64 calling convention and use for FPXX when possible. Add FPXX
4858 calling convention fallback case.
4859
4860 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4861
4862 * config.host: Handle nvptx-*-*.
4863 * shared-object.mk (as-flags-$o): Define.
4864 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4865 -xassembler-with-cpp.
4866 * static-object.mk: Identical changes.
4867 * config/nvptx/t-nvptx: New file.
4868 * config/nvptx/crt0.s: New file.
4869 * config/nvptx/free.asm: New file.
4870 * config/nvptx/malloc.asm: New file.
4871 * config/nvptx/realloc.c: New file.
4872
4873 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4874
4875 * Makefile.in (libgcc.map.in): New target.
4876 (libgcc.map): Use libgcc.map.in.
4877 * config/t-softfp (softfp_compat): New variable to be set by
4878 users.
4879 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
4880 variables.
4881 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
4882 directory.
4883 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
4884 that use compat symbols and disable all code unless [SHARED].
4885 * config/t-softfp-compat: New file.
4886 * find-symver.awk: New file.
4887 * configure.ac (--with-glibc-version): New configure option.
4888 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
4889 * configure: Regenerate.
4890 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
4891 soft-float and e500.
4892
4893 2014-10-29 Joseph Myers <joseph@codesourcery.com>
4894
4895 * config/t-hardfp (hardfp_exclusions): Document new variable for
4896 user to define.
4897 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
4898 * config/t-softfp (softfp_extras): Document new variable for user
4899 to define.
4900 (softfp_func_list): Add functions from $(softfp_extras).
4901 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
4902 * config.host (powerpc*-*-linux*): For e500v1, use
4903 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
4904 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
4905 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
4906
4907 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
4908
4909 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
4910 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
4911 memory read accesses are ok.
4912
4913 2014-10-25 Joseph Myers <joseph@codesourcery.com>
4914
4915 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
4916 * configure: Regenerate.
4917 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
4918 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
4919 of soft-fp for 32-bit classic hard float. Do not use
4920 t-softfp-excl for soft float.
4921
4922 2014-10-22 Joseph Myers <joseph@codesourcery.com>
4923
4924 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
4925 configurations.
4926 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
4927 Remove variables.
4928
4929 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
4930
4931 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4932 introduced with 2014-10-21 trunk r216525.
4933
4934 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
4935 Vidya Praveen <vidya.praveen@atmel.com>
4936 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4937 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4938 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
4939
4940 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4941 order.
4942
4943 Updated library functions for AVRTINY arch.
4944 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4945 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4946 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4947 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4948 wsubi/wadi macors.
4949 (__mulsi3_helper): Update stack, preserve callee saved regs and
4950 argument from stack. Restore callee save registers.
4951 (__mulpsi3): Likewise.
4952 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4953 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
4954 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
4955 AVRTINY.
4956 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4957 (__do_copy_data): Added new definition for AVRTINY.
4958 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4959 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4960 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4961 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4962 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4963 macors.
4964 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
4965 AVRTINY.
4966
4967 Fix broken long multiplication on tiny arch.
4968
4969 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4970
4971 * soft-fp/double.h: Update from glibc.
4972 * soft-fp/eqdf2.c: Likewise.
4973 * soft-fp/eqsf2.c: Likewise.
4974 * soft-fp/eqtf2.c: Likewise.
4975 * soft-fp/extenddftf2.c: Likewise.
4976 * soft-fp/extended.h: Likewise.
4977 * soft-fp/extendsfdf2.c: Likewise.
4978 * soft-fp/extendsftf2.c: Likewise.
4979 * soft-fp/extendxftf2.c: Likewise.
4980 * soft-fp/gedf2.c: Likewise.
4981 * soft-fp/gesf2.c: Likewise.
4982 * soft-fp/getf2.c: Likewise.
4983 * soft-fp/ledf2.c: Likewise.
4984 * soft-fp/lesf2.c: Likewise.
4985 * soft-fp/letf2.c: Likewise.
4986 * soft-fp/op-1.h: Likewise.
4987 * soft-fp/op-2.h: Likewise.
4988 * soft-fp/op-4.h: Likewise.
4989 * soft-fp/op-8.h: Likewise.
4990 * soft-fp/op-common.h: Likewise.
4991 * soft-fp/quad.h: Likewise.
4992 * soft-fp/single.h: Likewise.
4993 * soft-fp/soft-fp.h: Likewise.
4994 * soft-fp/unorddf2.c: Likewise.
4995 * soft-fp/unordsf2.c: Likewise.
4996 * soft-fp/unordtf2.c: Likewise.
4997 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4998 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4999 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5000 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5001 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5002 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5003 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5004 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5005 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5006 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5007
5008 2014-10-08 Rong Xu <xur@google.com>
5009
5010 * libgcov-util.c (read_gcda_file): Fix format.
5011 (find_match_gcov_info): Ditto.
5012 (calculate_2_entries): New.
5013 (compute_one_gcov): Ditto.
5014 (gcov_info_count_all_cold): Ditto.
5015 (gcov_info_count_all_zero): Ditto.
5016 (extract_file_basename): Ditto.
5017 (get_file_basename): Ditto.
5018 (set_flag): Ditto.
5019 (matched_gcov_info): Ditto.
5020 (calculate_overlap): Ditto.
5021 (gcov_profile_overlap): Ditto.
5022 * libgcov-driver.c (compute_summary): Make
5023 it avavilable for external calls.
5024
5025 2014-10-06 Rong Xu <xur@google.com>
5026
5027 * Makefile.in: Ditto.
5028 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5029 (gcov_sort_icall_topn_counter): Ditto.
5030 (gcov_sort_topn_counter_arrays): Ditto.
5031 (dump_one_gcov): Sort indirect_call topn counters.
5032 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5033 function.
5034 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5035 utility function.
5036 (__gcov_indirect_call_topn_profiler): New profiler function.
5037 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5038 * libgcov.h: New decls.
5039
5040 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
5041
5042 * config.host: Remove support for score-*.
5043
5044 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5045
5046 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5047 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5048 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5049 __LIBGCC_XF_MANT_DIG__.
5050 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5051 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5052 __LIBGCC_TF_MANT_DIG__.
5053 * libgcc2.c (NOTRUNC): Define in terms of
5054 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5055 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5056
5057 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5058
5059 PR target/63312
5060 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5061 New macros.
5062
5063 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
5064
5065 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5066 override USE_PT_GNU_EH_FRAME.
5067 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5068 check USE_EH_FRAME_REGISTRY_ALWAYS against
5069 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5070 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5071 variable for substituted force_explicit_eh_registry.
5072 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5073 * configure.ac (explicit-exception-frame-registration):
5074 New AC_ARG_ENABLE.
5075 * configure: Regenerate.
5076
5077 2014-09-19 Olivier Hainque <hainque@adacore.com>
5078
5079 * config.host (powerpc-wrs-vxworksmils): New configuration,
5080 same as vxworksae.
5081
5082 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5083
5084 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5085
5086 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5087
5088 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5089 bits not set bits as indicating trapping exceptions.
5090
5091 2014-09-17 Nathan sidwell <nathan@acm.org>
5092
5093 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5094 (LIBGCOV_DRIVER): ... here.
5095 * libgcov-driver.c (gcov_master): New.
5096 (gcov_exit): Remove from master chain.
5097 (__gcov_init): Add to master chain if version compatible. Don't
5098 clear the version.
5099 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5100 (gcov_reset_int): Clear master chain, if compatible.
5101 (gcov_dump_int): New internal interface. Dump master chain, if
5102 compatible.
5103 (gcov_dump): Alias for gcov_dump_int.
5104 * libgcov.h (struct gcov_root): Add next and prev fields.
5105 (struct gcov_master): New struct.
5106 (__gcov_master): New.
5107 (gcov_dump_int): Declare.
5108
5109 2014-09-17 Olivier Hainque <hainque@adacore.com>
5110
5111 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5112 and crtbegin.o + crtend.o to extra_parts.
5113
5114 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5115
5116 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5117 __LIBGCC_HAS_SF_MODE__.
5118 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5119 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5120 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5121 * config/libbid/bid_gcc_intrinsics.h
5122 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5123 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5124 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5125 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5126 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5127 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5128
5129 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
5130
5131 PR target/63223
5132 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5133 and R24 as needed. Make work for all devices and .text locations.
5134 (__do_global_ctors, __do_global_dtors): Use word addresses.
5135 (__tablejump__, __tablejump_elpm__): Remove functions.
5136 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5137 Add _tablejump2.
5138 (XICALL, XIJMP): New macros.
5139
5140 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
5141 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5142
5143 * config.host (aarch64*): Include crtfastmath.o and
5144 t-crtfm.
5145 * config/aarch64/crtfastmath.c: New file.
5146
5147 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
5148
5149 * config.host: Remove picochip support.
5150 * config/picochip/adddi3.S: Remove.
5151 * config/picochip/ashlsi3.S: Remove.
5152 * config/picochip/ashlsi3.c: Remove.
5153 * config/picochip/ashrsi3.S: Remove.
5154 * config/picochip/ashrsi3.c: Remove.
5155 * config/picochip/clzsi2.S: Remove.
5156 * config/picochip/cmpsi2.S: Remove.
5157 * config/picochip/divmod15.S: Remove.
5158 * config/picochip/divmodhi4.S: Remove.
5159 * config/picochip/divmodsi4.S: Remove.
5160 * config/picochip/lib1funcs.S: Remove.
5161 * config/picochip/longjmp.S: Remove.
5162 * config/picochip/lshrsi3.S: Remove.
5163 * config/picochip/lshrsi3.c: Remove.
5164 * config/picochip/parityhi2.S: Remove.
5165 * config/picochip/popcounthi2.S: Remove.
5166 * config/picochip/setjmp.S: Remove.
5167 * config/picochip/subdi3.S: Remove.
5168 * config/picochip/t-picochip: Remove.
5169 * config/picochip/ucmpsi2.S: Remove.
5170 * config/picochip/udivmodhi4.S: Remove.
5171 * config/picochip/udivmodsi4.S: Remove.
5172
5173 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5174
5175 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5176 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5177 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5178 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5179 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
5180 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5181 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
5182 defined and LIBGCC2_HAS_DF_MODE is defined.
5183 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
5184 defined and LIBGCC2_HAS_XF_MODE is defined.
5185 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
5186 defined and LIBGCC2_HAS_TF_MODE is defined.
5187
5188 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5189
5190 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5191 and ROUND_TOWARDS_ZERO conditionals.
5192
5193 2014-09-07 Nathan sidwell <nathan@acm.org>
5194
5195 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5196 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
5197
5198 2014-09-05 Joseph Myers <joseph@codesourcery.com>
5199
5200 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5201 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5202 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5203 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5204 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5205 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5206 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5207 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5208 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5209 (DWARF_FRAME_REGISTERS): Change all uses to
5210 __LIBGCC_DWARF_FRAME_REGISTERS__.
5211 (EH_RETURN_STACKADJ_RTX): Change all uses to
5212 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5213 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5214 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
5215 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5216 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5217 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5218 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5219 to __LIBGCC_EH_FRAME_SECTION_NAME__.
5220 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5221 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5222 __LIBGCC_STACK_POINTER_REGNUM__.
5223 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5224 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5225 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5226 to __LIBGCC_STACK_POINTER_REGNUM__.
5227 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5228 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5229 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5230 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5231 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5232 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5233 (STACK_POINTER_REGNUM): Change all uses to
5234 __LIBGCC_STACK_POINTER_REGNUM__.
5235 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5236 use to __LIBGCC_STACK_POINTER_REGNUM__.
5237 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5238 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5239 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5240 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5241 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5242 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5243 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5244 to __LIBGCC_STACK_POINTER_REGNUM__.
5245 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5246 Remove conditional definition.
5247 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5248 __LIBGCC_TEXT_SECTION_ASM_OP__.
5249 (EH_FRAME_SECTION_NAME): Change all uses to
5250 __LIBGCC_EH_FRAME_SECTION_NAME__.
5251 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5252 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5253 (CTORS_SECTION_ASM_OP): Change all uses to
5254 __LIBGCC_CTORS_SECTION_ASM_OP__.
5255 (DTORS_SECTION_ASM_OP): Change all uses to
5256 __LIBGCC_DTORS_SECTION_ASM_OP__.
5257 (JCR_SECTION_NAME): Change all uses to
5258 __LIBGCC_JCR_SECTION_NAME__.
5259 (INIT_SECTION_ASM_OP): Change all uses to
5260 __LIBGCC_INIT_SECTION_ASM_OP__.
5261 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5262 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5263 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5264 __LIBGCC_STACK_GROWS_DOWNWARD__.
5265 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5266 __LIBGCC_INIT_SECTION_ASM_OP__.
5267 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5268 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5269 (EH_FRAME_SECTION_NAME): Change all uses to
5270 __LIBGCC_EH_FRAME_SECTION_NAME__.
5271 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5272 definitions. Change all uses to
5273 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5274 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5275 __LIBGCC_STACK_GROWS_DOWNWARD__.
5276 (DWARF_FRAME_REGISTERS): Change all uses to
5277 __LIBGCC_DWARF_FRAME_REGISTERS__.
5278 (EH_RETURN_STACKADJ_RTX): Change all uses to
5279 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5280 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5281 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5282 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5283 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5284 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5285
5286 2014-09-02 Nathan sidwell <nathan@acm.org>
5287
5288 * libgcov-interface.c (STRONG_ALIAS): New.
5289 (__gcov_flush): Call __gcov_reset_int.
5290 (__gcov_reset): Strong alias for ...
5291 (__gcov_reset_ing): ... this renamed hidden version.
5292 * libgcov.h (__gcov_reset_int): New declaration.
5293
5294 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
5295
5296 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5297 call from here...
5298 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5299 (__dso_handle): Define on Cygwin.
5300 * config/i386/t-cygming (crtbeginS.o): New rule.
5301 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5302
5303 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5304 declaration syntax.
5305
5306 2014-08-13 Steve Ellcey <sellcey@mips.com>
5307
5308 * crtstuff.c: Undef caddr_t.
5309
5310 2014-08-12 Steve Ellcey <sellcey@mips.com>
5311
5312 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
5313
5314 2014-08-07 Nathan Sidwell <nathan@acm.org>
5315
5316 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5317 (LIBGCOV_DRIVER): ... to here.
5318 * libgcov.h (gcov_do_dump): New #define.
5319 (struct gcov_root): New.
5320 (__gcov_root): New declaration.
5321 (__gcov_dump_one): Declare.
5322 * libgcov-driver.c (gcov_list, gcov_dump_complete,
5323 run_accounted): Delete.
5324 (gcov_compute_histogram): Add LIST argument, adjust.
5325 (compute_summary): Adjust gcov_compute_histogram call.
5326 (gcov_do_dump): Not hidden, static in libgcov.
5327 (gcov_clear): Move to interface.c.
5328 (__gcov_dump_one): New, broken out of ...
5329 (gcov_exit): ... here. Make static.
5330 (__gcov_root): New.
5331 (__gcov_init): Adjust.
5332 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5333 declarations.
5334 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5335 (gcov_clear): Moved from driver.c. Add LIST argument.
5336 (__gcov_reset): Adjust for changed interfaces.
5337 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5338
5339 2014-08-04 Rohit <rohitarulraj@freescale.com>
5340
5341 PR target/60102
5342 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
5343 based on change in SPE high register numbers and 3 HTM registers.
5344
5345 2014-08-01 Nathan Sidwell <nathan@acm.org>
5346
5347 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5348 LIBGCOV_INTERFACE): Reformat.
5349 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5350 IN_GCOV_TOOL.
5351 * libgcov-interface.c: Reformat some comments.
5352 (__gcov_flush_mx): Add declaration. Tidy up definition.
5353
5354 2014-07-31 Alan Modra <amodra@gmail.com>
5355 Peter Bergner <bergner@vnet.ibm.com>
5356
5357 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5358 (pack_ldouble): New function.
5359 (__gcc_qadd): Use it.
5360 (__gcc_qmul): Likewise.
5361 (__gcc_qdiv): Likewise.
5362 (__gcc_qneg): Likewise.
5363 (__gcc_stoq): Likewise.
5364 (__gcc_dtoq): Likewise.
5365
5366 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
5367
5368 * config/s390/tpf-unwind.h: Include <stdbool.h>.
5369 (__tpf_eh_return): Add original return address as second parameter.
5370 Handle cases where unwinder routines were called directly, instead
5371 of from within the C++ library.
5372
5373 2014-07-29 Nathan Sidwell <nathan@acm.org>
5374
5375 * libgcov.h: Move renaming of entry points to lib gcov specific
5376 portion.
5377 (gcov_do_dump): New rename.
5378 (gcov_rewrite): Remove inline, make HIDDEN.
5379 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5380 (gcov_exit_compute_summary): Rename to ...
5381 (compute_summary): ... here. Add LIST argument.
5382 (gcov_exit_merge_gcda): Rename to ...
5383 (merge_one_data): ... here.
5384 (gcov_exit_write_gcda): Rename to ...
5385 (write_one_data): ... here.
5386 (gcov_exit_merge_summary): Rename to ...
5387 (merge_summary): Add RUN_COUNTED argument.
5388 (gcov_exit_dump_gcov): Rename to ...
5389 (dump_one_gcov): Add RUN_COUNTED argument.
5390 (gcov_do_dump): New function, broken out of ...
5391 (gcov_exit): ... here. Call it.
5392
5393 2014-07-27 Anthony Green <green@moxielogic.com>
5394
5395 * config.host: Add moxiebox configuration suppport.
5396
5397 2014-07-27 Nathan Sidwell <nathan@acm.org>
5398
5399 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5400 (struct gcov_filename): ... here. Include buffer and max length
5401 fields.
5402 (gcov_max_filename): Remove.
5403 (gi_filename): Remove.
5404 (gcov_exit_compute_summary): Compute max filename here.
5405 (gcov_exit_merge_gcda): Add filename parm, adjust.
5406 (gcov_exit_merge_summary): Likewise.
5407 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5408 (gcov_exit): Likewise.
5409 (__gcov_init): Don't calculate max length here.
5410 * libgcov_util.c (max_filename_len): Remove.
5411 (read_gcda_file): Don't calculate max length here.
5412 (gcov_read_profile_dir): Don't propagate here.
5413 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5414 struct gcov_filename changes.
5415 (gcov_exit_open_gcda_file): Likewise.
5416
5417 2014-07-25 Nathan Sidwell <nathan@acm.org>
5418
5419 * libgcov-driver.c (set_gcov_dump_complete,
5420 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5421 functions polluting user's namespace.
5422 (gcov_exit): Set variable directly.
5423 (gcov_clear): Reset variable directly.
5424 * libgcov-interface.c (get_gcov_dymp_complete,
5425 reset_gov_dump_complete): Remove declarations.
5426 (__gcov_reset, __gcov_dump): Don't call them.
5427
5428 2014-07-24 DJ Delorie <dj@redhat.com>
5429
5430 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5431 (__gcc_deregister_frame): Move logic to detect deregister function
5432 to ...
5433 (__gcc_register_frame): here, so it's consistent with the register
5434 logic.
5435
5436 2014-07-23 Nathan Sidwell <nathan@acm.org>
5437
5438 * libgcov-driver.c (set_gcov_list): Remove.
5439 (gcov_list): Make non-static in GCOV_TOOL.
5440 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5441
5442 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
5443
5444 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5445 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5446 Don't use SYNC_LOCK_RELEASE for int type.
5447
5448 2014-07-14 Richard Biener <rguenther@suse.de>
5449
5450 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5451
5452 2014-07-11 Rong Xu <xur@google.com>
5453
5454 * libgcov-util.c (gcov_max_filename): Fix declartion.
5455
5456 2014-07-10 Rong Xu <xur@google.com>
5457
5458 Add gcov-tool: an offline gcda profile processing tool
5459 Support.
5460 * libgcov-driver.c (gcov_max_filename): Make available
5461 to gcov-tool.
5462 * libgcov-merge.c (__gcov_merge_add): Replace
5463 gcov_read_counter() with a Macro.
5464 (__gcov_merge_ior): Ditto.
5465 (__gcov_merge_time_profile): Ditto.
5466 (__gcov_merge_single): Ditto.
5467 (__gcov_merge_delta): Ditto.
5468 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5469 in the utility functions.
5470 (set_fn_ctrs): Utility function for reading gcda files to in-memory
5471 gcov_list object link lists.
5472 (tag_function): Ditto.
5473 (tag_blocks): Ditto.
5474 (tag_arcs): Ditto.
5475 (tag_lines): Ditto.
5476 (tag_counters): Ditto.
5477 (tag_summary): Ditto.
5478 (read_gcda_finalize): Ditto.
5479 (read_gcda_file): Ditto.
5480 (ftw_read_file): Ditto.
5481 (read_profile_dir_init): Ditto.
5482 (gcov_read_profile_dir): Ditto.
5483 (gcov_read_counter_mem): Ditto.
5484 (gcov_get_merge_weight): Ditto.
5485 (merge_wrapper): A wrapper function that calls merging handler.
5486 (gcov_merge): Merge two gcov_info objects with weights.
5487 (find_match_gcov_info): Find the matched gcov_info in the list.
5488 (gcov_profile_merge): Merge two gcov_info object lists.
5489 (__gcov_add_counter_op): Process edge profile counter values.
5490 (__gcov_ior_counter_op): Process IOR profile counter values.
5491 (__gcov_delta_counter_op): Process delta profile counter values.
5492 (__gcov_single_counter_op): Process single profile counter values.
5493 (fp_scale): Callback function for float-point scaling.
5494 (int_scale): Callback function for integer fraction scaling.
5495 (gcov_profile_scale): Scaling profile counters.
5496 (gcov_profile_normalize): Normalize profile counters.
5497 * libgcov.h: Add headers and functions for gcov-tool use.
5498 (gcov_get_counter): New.
5499 (gcov_get_counter_target): Ditto.
5500 (struct gcov_info): Make the functions field mutable in gcov-tool
5501 compilation.
5502
5503 2014-06-23 Kai Tietz <ktietz@redhat.com>
5504
5505 PR libgcc/61585
5506 * unwind-seh.c (_Unwind_GetGR): Check for proper
5507 index range.
5508 (_Unwind_SetGR): Likewise.
5509
5510 2014-05-22 Nick Clifton <nickc@redhat.com>
5511
5512 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5513 -mhwmult=none.
5514
5515 2014-05-22 Teresa Johnson <tejohnson@google.com>
5516
5517 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5518 include.
5519
5520 2014-05-20 John Marino <gnugcc@marino.st>
5521
5522 * config.host (*-*-dragonfly*): New target.
5523 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5524 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5525 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5526 * config/i386/dragonfly-unwind.h: New.
5527
5528 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5529
5530 PR libgcc/60166
5531 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5532 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5533
5534 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
5535
5536 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5537 implementation.
5538
5539 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
5540
5541 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5542
5543 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5544
5545 PR libgcc/61097
5546 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5547 if --enable-shared.
5548
5549 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
5550
5551 Work around for current cygwin32 build problems.
5552 * config/i386/cygming-crtbegin.c (__register_frame_info,
5553 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5554 functions only for 64-bit systems.
5555
5556 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5557
5558 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5559 (sigill_caught, sigill_hdlr): Remove.
5560
5561 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5562
5563 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5564 check.
5565 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5566 Solaris 9 single-threaded support.
5567 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5568 Solaris 9 single-threaded support. Add call_user_handler code
5569 sequences.
5570 (sparc_is_sighandler): Likewise.
5571
5572 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5573
5574 * config.host: Append t-floattodi to tmake_file depending on
5575 host_address.
5576
5577 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
5578
5579 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
5580
5581 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
5582
5583 PR libgcc/60472
5584 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
5585 variable to avoid "array subscript is above array bounds" warnings.
5586 Use __builtin_expect when checking *jcr_list for NULL.
5587
5588 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5589
5590 PR libgcc/59339
5591 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5592 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5593 vtv_*.o to extra_parts if enable_vtable_verify.
5594
5595 2014-03-06 Nick Clifton <nickc@redhat.com>
5596
5597 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5598 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5599
5600 2014-02-28 Joey Ye <joey.ye@arm.com>
5601
5602 PR libgcc/60166
5603 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5604 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5605 Set to zero.
5606
5607 2014-02-24 Walter Lee <walt@tilera.com>
5608
5609 * config.host: Support "tilegx*" and "tilepro*" triplets.
5610 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5611 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5612
5613 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
5614 Chung-Lin Tang <cltang@codesourcery.com>
5615
5616 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5617 * config/nios2/crti.S: Remove .file directive.
5618 * config/nios2/crtn.S: Likewise.
5619
5620 2014-02-18 Kai Tietz <ktietz@redhat.com>
5621 Jonathan Schleifer <js@webkeks.org>
5622
5623 PR objc/56870
5624 * unwind-seh.c (_GCC_specific_handler): Pass proper
5625 value to unwind-handler.
5626
5627 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5628
5629 * soft-fp/adddf3.c: Update from glibc.
5630 * soft-fp/addsf3.c: Likewise.
5631 * soft-fp/addtf3.c: Likewise.
5632 * soft-fp/divdf3.c: Likewise.
5633 * soft-fp/divsf3.c: Likewise.
5634 * soft-fp/divtf3.c: Likewise.
5635 * soft-fp/double.h: Likewise.
5636 * soft-fp/eqdf2.c: Likewise.
5637 * soft-fp/eqsf2.c: Likewise.
5638 * soft-fp/eqtf2.c: Likewise.
5639 * soft-fp/extenddftf2.c: Likewise.
5640 * soft-fp/extended.h: Likewise.
5641 * soft-fp/extendsfdf2.c: Likewise.
5642 * soft-fp/extendsftf2.c: Likewise.
5643 * soft-fp/extendxftf2.c: Likewise.
5644 * soft-fp/fixdfdi.c: Likewise.
5645 * soft-fp/fixdfsi.c: Likewise.
5646 * soft-fp/fixdfti.c: Likewise.
5647 * soft-fp/fixsfdi.c: Likewise.
5648 * soft-fp/fixsfsi.c: Likewise.
5649 * soft-fp/fixsfti.c: Likewise.
5650 * soft-fp/fixtfdi.c: Likewise.
5651 * soft-fp/fixtfsi.c: Likewise.
5652 * soft-fp/fixtfti.c: Likewise.
5653 * soft-fp/fixunsdfdi.c: Likewise.
5654 * soft-fp/fixunsdfsi.c: Likewise.
5655 * soft-fp/fixunsdfti.c: Likewise.
5656 * soft-fp/fixunssfdi.c: Likewise.
5657 * soft-fp/fixunssfsi.c: Likewise.
5658 * soft-fp/fixunssfti.c: Likewise.
5659 * soft-fp/fixunstfdi.c: Likewise.
5660 * soft-fp/fixunstfsi.c: Likewise.
5661 * soft-fp/fixunstfti.c: Likewise.
5662 * soft-fp/floatdidf.c: Likewise.
5663 * soft-fp/floatdisf.c: Likewise.
5664 * soft-fp/floatditf.c: Likewise.
5665 * soft-fp/floatsidf.c: Likewise.
5666 * soft-fp/floatsisf.c: Likewise.
5667 * soft-fp/floatsitf.c: Likewise.
5668 * soft-fp/floattidf.c: Likewise.
5669 * soft-fp/floattisf.c: Likewise.
5670 * soft-fp/floattitf.c: Likewise.
5671 * soft-fp/floatundidf.c: Likewise.
5672 * soft-fp/floatundisf.c: Likewise.
5673 * soft-fp/floatunditf.c: Likewise.
5674 * soft-fp/floatunsidf.c: Likewise.
5675 * soft-fp/floatunsisf.c: Likewise.
5676 * soft-fp/floatunsitf.c: Likewise.
5677 * soft-fp/floatuntidf.c: Likewise.
5678 * soft-fp/floatuntisf.c: Likewise.
5679 * soft-fp/floatuntitf.c: Likewise.
5680 * soft-fp/gedf2.c: Likewise.
5681 * soft-fp/gesf2.c: Likewise.
5682 * soft-fp/getf2.c: Likewise.
5683 * soft-fp/ledf2.c: Likewise.
5684 * soft-fp/lesf2.c: Likewise.
5685 * soft-fp/letf2.c: Likewise.
5686 * soft-fp/muldf3.c: Likewise.
5687 * soft-fp/mulsf3.c: Likewise.
5688 * soft-fp/multf3.c: Likewise.
5689 * soft-fp/negdf2.c: Likewise.
5690 * soft-fp/negsf2.c: Likewise.
5691 * soft-fp/negtf2.c: Likewise.
5692 * soft-fp/op-1.h: Likewise.
5693 * soft-fp/op-2.h: Likewise.
5694 * soft-fp/op-4.h: Likewise.
5695 * soft-fp/op-8.h: Likewise.
5696 * soft-fp/op-common.h: Likewise.
5697 * soft-fp/quad.h: Likewise.
5698 * soft-fp/single.h: Likewise.
5699 * soft-fp/soft-fp.h: Likewise.
5700 * soft-fp/subdf3.c: Likewise.
5701 * soft-fp/subsf3.c: Likewise.
5702 * soft-fp/subtf3.c: Likewise.
5703 * soft-fp/truncdfsf2.c: Likewise.
5704 * soft-fp/trunctfdf2.c: Likewise.
5705 * soft-fp/trunctfsf2.c: Likewise.
5706 * soft-fp/trunctfxf2.c: Likewise.
5707 * soft-fp/unorddf2.c: Likewise.
5708 * soft-fp/unordsf2.c: Likewise.
5709 * soft-fp/unordtf2.c: Likewise.
5710 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5711 macro.
5712 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5713 Likewise.
5714 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5715 Likewise.
5716 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5717 Likewise.
5718 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5719 Likewise.
5720 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5721 Likewise.
5722 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5723 Likewise.
5724 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5725 Likewise.
5726 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5727 Likewise.
5728 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5729 Likewise.
5730 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5731 Likewise.
5732 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5733 Likewise.
5734 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5735 Likewise.
5736 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5737 Likewise.
5738 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5739 Likewise.
5740 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5741 Likewise.
5742
5743 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5744
5745 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5746 cannot be represented.
5747 * config/s390/32/_fixsfdi.c: Likewise.
5748 * config/s390/32/_fixtfdi.c: Likewise.
5749 * config/s390/32/_fixunsdfdi.c: Likewise.
5750 * config/s390/32/_fixunssfdi.c: Likewise.
5751 * config/s390/32/_fixunstfdi.c: Likewise.
5752
5753 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5754
5755 * configure.ac (libgcc_cv_mips_hard_float): New.
5756 * configure: Regenerate.
5757 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5758 t-softfp-sfdf for hard-float targets.
5759 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5760 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5761 (softfp_truncations, softfp_exclude_libgcc2): New.
5762 * config/t-hardfp: New file.
5763 * config/t-hardfp-sfdf: Likewise.
5764 * config/hardfp.c: Likewise.
5765
5766 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5767
5768 * config.host: Include t-floattodi also for s390x.
5769 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5770 * config/s390/32/_fixsfdi.c: Likewise.
5771 * config/s390/32/_fixtfdi.c: Likewise.
5772 * config/s390/32/_fixunsdfdi.c: Likewise.
5773 * config/s390/32/_fixunssfdi.c: Likewise.
5774 * config/s390/32/_fixunstfdi.c: Likewise.
5775
5776 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5777
5778 PR target/59788
5779 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5780 (install-libgcc-unwind-map-forbuild): New target.
5781 (all): Depend on install-libgcc-unwind-map-forbuild.
5782 (install-libgcc-unwind-map): New target.
5783 (install): Depend on install-libgcc-unwind-map.
5784
5785 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5786
5787 * config/nios2/crti.S (_init): Initialize GOT pointer from
5788 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5789
5790 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5791
5792 * configure.ac: Check __mips64 when setting host_address.
5793 * configure: Regenerate.
5794 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5795 mips/t-mips64 and t-softfp.
5796 (mips*-*-linux*): Don't add mips/t-tpbit.
5797 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5798 (DPBIT, DPBIT_CFLAGS): Delete.
5799 * config/mips/sfp-machine.h: New file.
5800 * config/mips/t-mips64: Likewise.
5801 * config/mips/t-softfp-tf: Likewise.
5802 * config/mips/t-tpbit: Delete.
5803
5804 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5805
5806 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5807 as long long.
5808
5809 2014-01-25 Walter Lee <walt@tilera.com>
5810
5811 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5812 config.h or system.h.
5813 (bool) Define.
5814
5815 2014-01-25 Walter Lee <walt@tilera.com>
5816
5817 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5818 (post_atomic_barrier): Ditto.
5819 (__fetch_and_do): New macro.
5820 (__atomic_fetch_and_do): Use __fetch_and_do.
5821 (__sync_fetch_and_do): New macro.
5822 (__sync_fetch_and_add_4): New function.
5823 (__sync_fetch_and_sub_4): New function.
5824 (__sync_fetch_and_or_4): New function.
5825 (__sync_fetch_and_and_4): New function.
5826 (__sync_fetch_and_xor_4): New function.
5827 (__sync_fetch_and_nand_4): New function.
5828 (__sync_fetch_and_add_8): New function.
5829 (__sync_fetch_and_sub_8): New function.
5830 (__sync_fetch_and_or_8): New function.
5831 (__sync_fetch_and_and_8): New function.
5832 (__sync_fetch_and_xor_8): New function.
5833 (__sync_fetch_and_nand_8): New function.
5834 (__do_and_fetch): New macro.
5835 (__atomic_do_and_fetch): Use __do_and_fetch.
5836 (__sync_do_and_fetch): New macro.
5837 (__sync_add_and_fetch_4): New function.
5838 (__sync_sub_and_fetch_4): New function.
5839 (__sync_or_and_fetch_4): New function.
5840 (__sync_and_and_fetch_4): New function.
5841 (__sync_xor_and_fetch_4): New function.
5842 (__sync_nand_and_fetch_4): New function.
5843 (__sync_add_and_fetch_8): New function.
5844 (__sync_sub_and_fetch_8): New function.
5845 (__sync_or_and_fetch_8): New function.
5846 (__sync_and_and_fetch_8): New function.
5847 (__sync_xor_and_fetch_8): New function.
5848 (__sync_nand_and_fetch_8): New function.
5849 (__sync_exchange_methods): New macro.
5850 (__sync_val_compare_and_swap_4): New function.
5851 (__sync_bool_compare_and_swap_4): New function.
5852 (__sync_lock_test_and_test_4): New function.
5853 (__sync_val_compare_and_swap_8): New function.
5854 (__sync_bool_compare_and_swap_8): New function.
5855 (__sync_lock_test_and_test_8): New function.
5856 (__subword_cmpxchg_body): New macro.
5857 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5858 (__atomic_compare_exchange_2): Ditto.
5859 (__sync_subword_cmpxchg): New macro.
5860 (__sync_val_compare_and_swap_1): New function.
5861 (__sync_bool_compare_and_swap_1): New function.
5862 (__sync_val_compare_and_swap_2): New function.
5863 (__sync_bool_compare_and_swap_2): New function.
5864 (__atomic_subword): Rename to ...
5865 (__subword): ... New name.
5866 (__atomic_subword_fetch): Use __subword.
5867 (__sync_subword_fetch): New macro.
5868 (__sync_fetch_and_add_1): New function.
5869 (__sync_fetch_and_sub_1): New function.
5870 (__sync_fetch_and_or_1): New function.
5871 (__sync_fetch_and_and_1): New function.
5872 (__sync_fetch_and_xor_1): New function.
5873 (__sync_fetch_and_nand_1): New function.
5874 (__sync_fetch_and_add_2): New function.
5875 (__sync_fetch_and_sub_2): New function.
5876 (__sync_fetch_and_or_2): New function.
5877 (__sync_fetch_and_and_2): New function.
5878 (__sync_fetch_and_xor_2): New function.
5879 (__sync_fetch_and_nand_2): New function.
5880 (__sync_add_and_fetch_1): New function.
5881 (__sync_sub_and_fetch_1): New function.
5882 (__sync_or_and_fetch_1): New function.
5883 (__sync_and_and_fetch_1): New function.
5884 (__sync_xor_and_fetch_1): New function.
5885 (__sync_nand_and_fetch_1): New function.
5886 (__sync_add_and_fetch_2): New function.
5887 (__sync_sub_and_fetch_2): New function.
5888 (__sync_or_and_fetch_2): New function.
5889 (__sync_and_and_fetch_2): New function.
5890 (__sync_xor_and_fetch_2): New function.
5891 (__sync_nand_and_fetch_2): New function.
5892 (__atomic_subword_lock): Use __subword.
5893 (__sync_subword_lock): New macro.
5894 (__sync_lock_test_and_set_1): New function.
5895 (__sync_lock_test_and_set_2): New function.
5896
5897 2014-01-25 Walter Lee <walt@tilera.com>
5898
5899 * config/tilepro/atomic.c (BIT_OFFSET): Define.
5900 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
5901 (__atomic_subword): Ditto.
5902
5903 2014-01-25 Walter Lee <walt@tilera.com>
5904
5905 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
5906 a prefix op argument.
5907 (__atomic_nand_fetch_4): Add prefix op.
5908 (__atomic_nand_fetch_8): Ditto.
5909
5910 2014-01-21 Baruch Siach <barch@tkos.co.il>
5911
5912 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
5913
5914 2014-01-09 Rong Xu <xur@google.com>
5915
5916 * libgcov-driver.c (this_prg): make it local to save
5917 bss space.
5918 (gcov_exit_compute_summary): Ditto.
5919 (gcov_exit_merge_gcda): Ditto.
5920 (gcov_exit_merge_summary): Ditto.
5921 (gcov_exit_dump_gcov): Ditto.
5922
5923 2014-01-08 Rong Xu <xur@google.com>
5924
5925 * libgcov-driver.c: Use libgcov.h.
5926 (buffer_fn_data): Use xmalloc instead of malloc.
5927 (gcov_exit_merge_gcda): Ditto.
5928 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
5929 * libgcov.h: New common header files for libgcov-*.h.
5930 * libgcov-interface.c: Use libgcov.h
5931 * libgcov-merge.c: Ditto.
5932 * libgcov-profiler.c: Ditto.
5933 * Makefile.in: Add dependence to libgcov.h
5934
5935 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5936
5937 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5938 case of small numerator and finite nonzero result.
5939
5940 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5941
5942 Update copyright years
5943
5944 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5945
5946 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5947 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5948 config/arc/dp-hack.h, config/arc/fp-hack.h,
5949 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5950 config/arc/ieee-754/arc600-dsp/divdf3.S,
5951 config/arc/ieee-754/arc600-dsp/divsf3.S,
5952 config/arc/ieee-754/arc600-dsp/muldf3.S,
5953 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5954 config/arc/ieee-754/arc600-mul64/divdf3.S,
5955 config/arc/ieee-754/arc600-mul64/divsf3.S,
5956 config/arc/ieee-754/arc600-mul64/muldf3.S,
5957 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5958 config/arc/ieee-754/arc600/divsf3.S,
5959 config/arc/ieee-754/arc600/mulsf3.S,
5960 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5961 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5962 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5963 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5964 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5965 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5966 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5967 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5968 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5969 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5970 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5971 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5972 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5973 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5974 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5975 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5976 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5977 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5978 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5979 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5980 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5981 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5982 vtv_start_preinit.c: Use the standard form for the copyright notice.
5983
5984 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5985 Chung-Lin Tang <cltang@codesourcery.com>
5986 Based on patches from Altera Corporation
5987
5988 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5989 * config/nios2/lib2-nios2.h: New file.
5990 * config/nios2/lib2-divmod-hi.c: New file.
5991 * config/nios2/linux-unwind.h: New file.
5992 * config/nios2/lib2-divmod.c: New file.
5993 * config/nios2/linux-atomic.c: New file.
5994 * config/nios2/t-nios2: New file.
5995 * config/nios2/crti.asm: New file.
5996 * config/nios2/t-linux: New file.
5997 * config/nios2/lib2-divtable.c: New file.
5998 * config/nios2/lib2-mul.c: New file.
5999 * config/nios2/tramp.c: New file.
6000 * config/nios2/crtn.asm: New file.
6001
6002 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
6003
6004 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6005 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6006 from cpuid.h to check vendor signatures.
6007
6008 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
6009
6010 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
6011 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6012 (get_amd_cpu): Likewise.
6013
6014 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
6015
6016 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6017 Haswell.
6018
6019 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6020 H.J. Lu <hongjiu.lu@intel.com>
6021
6022 PR target/59422
6023 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
6024 and AMD_JAGUAR.
6025 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6026 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6027 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
6028 FEATURE_XOP and FEATURE_FMA.
6029 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6030 AMDFAM15H_BDVER3.
6031 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
6032 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
6033 FEATURE_FMA4 and FEATURE_XOP.
6034
6035 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
6036
6037 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6038 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6039 (get_intel_cpu): Updated.
6040
6041 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
6042
6043 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6044
6045 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
6046
6047 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6048 instructions when __SSE_MATH__ is defined.
6049
6050 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
6051
6052 * config.host (microblaze-*-rtems*): New.
6053
6054 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
6055
6056 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6057 architectures that do not have hardware divide instruction.
6058 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6059
6060 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6061
6062 * longlong.h: Delete (moved to include/).
6063
6064 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6065
6066 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6067 of normal number and qNaN to not raise an inexact exception.
6068
6069 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
6070
6071 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6072
6073 2013-11-28 Matthew Leach <matthew.leach@arm.com>
6074
6075 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6076 for correct opcodes on BE.
6077
6078 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
6079
6080 * soft-fp/op-4.h: Update from glibc.
6081
6082 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6083
6084 * libgcc2.c (__udivmoddi4): Define new implementation when
6085 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6086 divide instructions.
6087
6088 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
6089
6090 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6091
6092 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6093
6094 * config/t-softfp (soft-fp-objects-base): New variable.
6095 (soft-fp-objects): Use it.
6096
6097 2013-11-23 David Edelson <dje.gcc@gmail.com>
6098 Andrew Dixie <andrewd@gentrack.com>
6099
6100 PR target/33704
6101 * config/rs6000/aixinitfini.c: New file.
6102 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6103 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6104 symbols.
6105
6106 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
6107
6108 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
6109
6110 2013-11-18 Jan Hubicka <jh@suse.cz>
6111
6112 * libgcov-driver.c (run_accounted): Make global level static.
6113 (gcov_exit_merge_summary): Silence warning; do not clear
6114 run_accounted here.
6115 (gcov_exit): Clear it here.
6116
6117 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6118 run_accounted.
6119
6120 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6121 (all_prg, crc32): Remove static vars.
6122 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6123 all_prg.
6124 (gcov_exit_merge_gcda): Add crc32 parameter.
6125 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6126 do not account run if it was already accounted.
6127 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6128 (gcov_exit): Initialize all_prg; update.
6129
6130 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
6131
6132 * configure: Regenerate.
6133
6134 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6135 Alan Modra <amodra@gmail.com>
6136
6137 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6138 (frob_update_context): Use it.
6139
6140 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6141 Alan Modra <amodra@gmail.com>
6142
6143 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6144 (trampoline_initial): Provide ELFv2 variant.
6145 (__trampoline_setup): Likewise.
6146
6147 * config/rs6000/linux-unwind.h (frob_update_context): Do not
6148 check for AIX indirect function call sequence if _CALL_ELF == 2.
6149
6150 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6151 Alan Modra <amodra@gmail.com>
6152
6153 * config/rs6000/linux-unwind.h (get_regs): Do not support
6154 old kernel versions if _CALL_ELF == 2.
6155 (frob_update_context): Do not support PLT stub variants only
6156 generated by old linkers if _CALL_ELF == 2.
6157
6158 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6159 Alan Modra <amodra@gmail.com>
6160
6161 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6162 location of CR save area for 64-bit little-endian systems.
6163
6164 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
6165
6166 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6167 in tmake_file.
6168 * config/arm/t-vxworks: Delete.
6169
6170 2013-11-10 Kai Tietz <ktietz@redhat.com>
6171
6172 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6173 Increment load-count on use of LIBGCC_SONAME DLL.
6174 (hmod_libgcc): New static variable to hold handle of
6175 LIBGCC_SONAME DLL.
6176 (__gcc_deregister_frame): Decrement load-count of
6177 LIBGCC_SONAME DLL.
6178
6179 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
6180
6181 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6182 availability.
6183 * configure: Regenerate
6184
6185 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
6186
6187 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6188 FP_EX_DENORM. Store result to volatile location after SSE division
6189 to close interrupt window. Remove unneeded fwait after x87
6190 division since interrupt window will be closed by emitted fstp.
6191 Rewrite FP_EX_INEXACT handling.
6192
6193 2013-11-06 Joseph Myers <joseph@codesourcery.com>
6194
6195 * soft-fp/README: Update.
6196 * soft-fp/adddf3.c: Update from glibc.
6197 * soft-fp/addsf3.c: Likewise.
6198 * soft-fp/addtf3.c: Likewise.
6199 * soft-fp/divdf3.c: Likewise.
6200 * soft-fp/divsf3.c: Likewise.
6201 * soft-fp/divtf3.c: Likewise.
6202 * soft-fp/double.h: Likewise.
6203 * soft-fp/eqdf2.c: Likewise.
6204 * soft-fp/eqsf2.c: Likewise.
6205 * soft-fp/eqtf2.c: Likewise.
6206 * soft-fp/extenddftf2.c: Likewise.
6207 * soft-fp/extended.h: Likewise.
6208 * soft-fp/extendsfdf2.c: Likewise.
6209 * soft-fp/extendsftf2.c: Likewise.
6210 * soft-fp/extendxftf2.c: Likewise.
6211 * soft-fp/fixdfdi.c: Likewise.
6212 * soft-fp/fixdfsi.c: Likewise.
6213 * soft-fp/fixdfti.c: Likewise.
6214 * soft-fp/fixsfdi.c: Likewise.
6215 * soft-fp/fixsfsi.c: Likewise.
6216 * soft-fp/fixsfti.c: Likewise.
6217 * soft-fp/fixtfdi.c: Likewise.
6218 * soft-fp/fixtfsi.c: Likewise.
6219 * soft-fp/fixtfti.c: Likewise.
6220 * soft-fp/fixunsdfdi.c: Likewise.
6221 * soft-fp/fixunsdfsi.c: Likewise.
6222 * soft-fp/fixunsdfti.c: Likewise.
6223 * soft-fp/fixunssfdi.c: Likewise.
6224 * soft-fp/fixunssfsi.c: Likewise.
6225 * soft-fp/fixunssfti.c: Likewise.
6226 * soft-fp/fixunstfdi.c: Likewise.
6227 * soft-fp/fixunstfsi.c: Likewise.
6228 * soft-fp/fixunstfti.c: Likewise.
6229 * soft-fp/floatdidf.c: Likewise.
6230 * soft-fp/floatdisf.c: Likewise.
6231 * soft-fp/floatditf.c: Likewise.
6232 * soft-fp/floatsidf.c: Likewise.
6233 * soft-fp/floatsisf.c: Likewise.
6234 * soft-fp/floatsitf.c: Likewise.
6235 * soft-fp/floattidf.c: Likewise.
6236 * soft-fp/floattisf.c: Likewise.
6237 * soft-fp/floattitf.c: Likewise.
6238 * soft-fp/floatundidf.c: Likewise.
6239 * soft-fp/floatundisf.c: Likewise.
6240 * soft-fp/floatunditf.c: Likewise.
6241 * soft-fp/floatunsidf.c: Likewise.
6242 * soft-fp/floatunsisf.c: Likewise.
6243 * soft-fp/floatunsitf.c: Likewise.
6244 * soft-fp/floatuntidf.c: Likewise.
6245 * soft-fp/floatuntisf.c: Likewise.
6246 * soft-fp/floatuntitf.c: Likewise.
6247 * soft-fp/gedf2.c: Likewise.
6248 * soft-fp/gesf2.c: Likewise.
6249 * soft-fp/getf2.c: Likewise.
6250 * soft-fp/ledf2.c: Likewise.
6251 * soft-fp/lesf2.c: Likewise.
6252 * soft-fp/letf2.c: Likewise.
6253 * soft-fp/muldf3.c: Likewise.
6254 * soft-fp/mulsf3.c: Likewise.
6255 * soft-fp/multf3.c: Likewise.
6256 * soft-fp/negdf2.c: Likewise.
6257 * soft-fp/negsf2.c: Likewise.
6258 * soft-fp/negtf2.c: Likewise.
6259 * soft-fp/op-1.h: Likewise.
6260 * soft-fp/op-2.h: Likewise.
6261 * soft-fp/op-4.h: Likewise.
6262 * soft-fp/op-8.h: Likewise.
6263 * soft-fp/op-common.h: Likewise.
6264 * soft-fp/quad.h: Likewise.
6265 * soft-fp/single.h: Likewise.
6266 * soft-fp/soft-fp.h: Likewise.
6267 * soft-fp/subdf3.c: Likewise.
6268 * soft-fp/subsf3.c: Likewise.
6269 * soft-fp/subtf3.c: Likewise.
6270 * soft-fp/truncdfsf2.c: Likewise.
6271 * soft-fp/trunctfdf2.c: Likewise.
6272 * soft-fp/trunctfsf2.c: Likewise.
6273 * soft-fp/trunctfxf2.c: Likewise.
6274 * soft-fp/unorddf2.c: Likewise.
6275 * soft-fp/unordsf2.c: Likewise.
6276 * soft-fp/unordtf2.c: Likewise.
6277
6278 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
6279
6280 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6281 (_FP_MUL_MEAT_D): Ditto.
6282 (_FP_DIV_MEAT_S): Ditto.
6283 (_FP_DIV_MEAT_D): Ditto.
6284 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6285 t-softfp-sfdf and t-softfp to tmake_file.
6286
6287 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
6288
6289 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6290 * config/i386/crtprec.c: Ditto.
6291
6292 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
6293 Shiva Chen <shiva0217@gmail.com>
6294
6295 * config.host (nds32*-elf*): Add nds32 target.
6296 * config/nds32 : New directory and files.
6297
6298 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
6299
6300 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
6301 * config.host (cpu_type) <Setting default>: Add entry for
6302 crisv32-*-*.
6303 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6304 <crisv32-*-linux*>: Adjust.
6305 * longlong.h: Wrap the whole CRIS section in a single
6306 defined(__CRIS__) conditional. Add comment about add_ssaaaa
6307 and sub_ddmmss.
6308 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6309 defined.
6310 [__CRIS__] (__umulsidi3): Define.
6311 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6312 * config/cris/sfp-machine.h: New file.
6313 * config/cris/umulsidi3.S: New file.
6314 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6315 * config/cris/arit.c (SIGNMULT): New macro.
6316 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6317 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6318 saving 3 out of originally 33 cycles from the fastest
6319 path, 3 out of 54 from the medium path and one from the longest
6320 path. Improve comments.
6321
6322 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
6323
6324 * sync.c: Remove static aliases and define each function directly
6325 under its real name.
6326
6327 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
6328
6329 * config.host (hppa*64*-*-linux*): Define extra_parts.
6330 (hppa*-*-linux*): Likewise.
6331
6332 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
6333
6334 * config/arc/crtgend.S: Add 2013 to Copyright years.
6335 * config/arc/gmon/atomic.h: Likewise.
6336 * config/arc/gmon/auxreg.h: Likewise.
6337 * config/arc/gmon/sys/gmon_out.h: Likewise.
6338 * config/arc/gmon/sys/gmon.h: Likewise.
6339 * config/arc/gmon/prof-freq.c: Likewise.
6340 * config/arc/gmon/mcount.c: Likewise.
6341 * config/arc/gmon/prof-freq-stub.S: Likewise.
6342 * config/arc/gmon/gmon.c: Likewise.
6343 * config/arc/gmon/machine-gmon.h: Likewise.
6344 * config/arc/gmon/profil.S: Likewise.
6345 * config/arc/gmon/dcache_linesz.S: Likewise.
6346 * config/arc/crtg.S: Likewise.
6347 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6348 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6349 * config/arc/ieee-754/adddf3.S: Likewise.
6350 * config/arc/ieee-754/truncdfsf2.S: Likewise.
6351 * config/arc/ieee-754/fixsfsi.S: Likewise.
6352 * config/arc/ieee-754/gtsf2.S: Likewise.
6353 * config/arc/ieee-754/floatsisf.S: Likewise.
6354 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6355 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6356 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6357 * config/arc/ieee-754/fixdfsi.S: Likewise.
6358 * config/arc/ieee-754/addsf3.S: Likewise.
6359 * config/arc/ieee-754/gesf2.S: Likewise.
6360 * config/arc/ieee-754/floatsidf.S: Likewise.
6361 * config/arc/ieee-754/extendsfdf2.S: Likewise.
6362 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6363 * config/arc/ieee-754/gtdf2.S: Likewise.
6364 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6365 * config/arc/ieee-754/uneqdf2.S: Likewise.
6366 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6367 * config/arc/ieee-754/uneqsf2.S: Likewise.
6368 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6369 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6370 * config/arc/ieee-754/eqdf2.S: Likewise.
6371 * config/arc/ieee-754/ordsf2.S: Likewise.
6372 * config/arc/ieee-754/divsf3.S: Likewise.
6373 * config/arc/ieee-754/divdf3.S: Likewise.
6374 * config/arc/ieee-754/floatunsidf.S: Likewise.
6375 * config/arc/ieee-754/orddf2.S: Likewise.
6376 * config/arc/ieee-754/eqsf2.S: Likewise.
6377 * config/arc/ieee-754/gedf2.S: Likewise.
6378 * config/arc/crtn.S: Likewise.
6379 * config/arc/crti.S: Likewise.
6380 * config/arc/t-arc700-uClibc: Likewise.
6381 * config/arc/asm.h: Likewise.
6382 * config/arc/libgcc-excl.ver: Likewise.
6383 * config/arc/t-arc-newlib: Likewise.
6384 * config/arc/divtab-arc700.c: Likewise.
6385 * config/arc/initfini.c: Likewise.
6386 * config/arc/fp-hack.h: Likewise.
6387
6388 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6389 Diego Novillo <dnovillo@google.com>
6390
6391 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
6392 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6393 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6394 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
6395
6396 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6397 Brendan Kehoe <brendan@zen.org>
6398 Simon Cook <simon.cook@embecosm.com>
6399
6400 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6401 * config/arc: New directory.
6402 * longlong.h [__arc__] (umul_ppmm): Remove.
6403 [__arc__] (__umulsidi3): Define.
6404 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6405 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6406
6407 2013-09-17 Jacek Caban <jacek@codeweavers.com>
6408
6409 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6410 CreateSemaphoreA.
6411 * config/i386/gthr-win32.h: Likewise.
6412
6413 2013-09-16 DJ Delorie <dj@redhat.com>
6414
6415 * config/rl78/vregs.h: Add G10 register definitions.
6416 * config/rl78/lib2mul.c: Enable for RL78/G10.
6417 * config/rl78/lib2div.c: Likewise.
6418 * config/rl78/lshrsi3.S: Use vregs.h.
6419 * config/rl78/cmpsi2.S: Likewise.
6420 * config/rl78/trampoline.S: Likewise.
6421 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
6422
6423 2013-09-14 DJ Delorie <dj@redhat.com>
6424 Nick Clifton <nickc@redhat.com>
6425
6426 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6427 * config/rl78/vregs.h: New.
6428 * config/rl78/signbit.S: New file. Implements signbit function.
6429 * config/rl78/divmodsi.S: New.
6430 * config/rl78/divmodhi.S: New.
6431 * config/rl78/divmodqi.S: New.
6432 * config/rl78/t-rl78: Build them here...
6433 * config/rl78/lib2div.c: ...but not here.
6434
6435 2013-09-12 DJ Delorie <dj@redhat.com>
6436
6437 * config.host (msp*-*-elf): New.
6438 * config/msp430/: New port.
6439
6440 2013-08-18 Iain Sandoe <iain@codesourcery.com>
6441
6442 PR gcov-profile/58127
6443 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6444 __thread var for emulated TLS.
6445 (__gcov_indirect_call_counters): Likewise.
6446
6447 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
6448 Catherine Moore <clm@codesourcery.com>
6449 Richard Sandiford <rdsandiford@googlemail.com>
6450
6451 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6452 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6453 (CALL_STUB_NO_RET): Likewise.
6454 (CALL_STUB_RET): Likewise.
6455 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6456 __mips16_ret call/return stub symbols.
6457 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6458 to tmake_file.
6459
6460 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
6461
6462 * config.host <mips*-*-linux*>: Remove a stray comment.
6463
6464 2013-08-10 Jan Hubicka <jh@suse.cz>
6465
6466 Work around binutils PR14342
6467 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6468 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6469 (L_gcov_indirect_call_profiler_v2): New.
6470
6471 2013-08-06 Jan Hubicka <jh@suse.cz>
6472
6473 * libgcov.c (__gcov_indirect_call_callee,
6474 __gcov_indirect_call_counters): New global vars.
6475 (__gcov_indirect_call_profiler): replace by ...
6476 (__gcov_indirect_call_profiler_v2) ... this one.
6477
6478 2013-08-06 Caroline Tice <cmtice@google.com>
6479
6480 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
6481 vtv_start_preinit.o and vtv_end_preinit.o.
6482 * configure.ac: Add code to check/set enable_vtable_verify.
6483 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
6484 true.
6485 * vtv_start_preinit.c: New file.
6486 * vtv_end_preinit.c: New file.
6487 * vtv_start.c: New file.
6488 * vtv_end.c: New file.
6489 * configure: Regenerated.
6490
6491 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
6492
6493 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6494 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6495 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6496 GPL-3.0-with-GCC-exception.
6497
6498 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
6499
6500 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6501 ISA and up.
6502
6503 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6504
6505 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6506 mapping for FPRs when creating the fallback framestate.
6507
6508 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
6509
6510 PR target/57516
6511 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6512 (__round_s2_const, __round_u2_const)
6513 (__round_s4_const, __round_u4_const, __round_x8):
6514 Saturate result if addition result cannot be represented.
6515
6516 2013-07-15 Matthias Klose <doko@ubuntu.com>
6517
6518 * libgcc2.c: Don't include <limits.h>.
6519
6520 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
6521
6522 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6523
6524 2013-07-06 Jakub Jelinek <jakub@redhat.com>
6525
6526 PR target/29776
6527 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6528
6529 2013-06-28 Jakub Jelinek <jakub@redhat.com>
6530
6531 PR middle-end/36041
6532 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6533 Define.
6534 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6535 instead of table lookups.
6536 (__popcountDI2): Likewise.
6537
6538 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
6539
6540 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6541 correctly.
6542
6543 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6544
6545 PR other/53317
6546 * soft-fp/adddf3.c: Update from glibc.
6547 * soft-fp/addsf3.c: Likewise.
6548 * soft-fp/addtf3.c: Likewise.
6549 * soft-fp/divdf3.c: Likewise.
6550 * soft-fp/divsf3.c: Likewise.
6551 * soft-fp/divtf3.c: Likewise.
6552 * soft-fp/double.h: Likewise.
6553 * soft-fp/eqdf2.c: Likewise.
6554 * soft-fp/eqsf2.c: Likewise.
6555 * soft-fp/eqtf2.c: Likewise.
6556 * soft-fp/extenddftf2.c: Likewise.
6557 * soft-fp/extended.h: Likewise.
6558 * soft-fp/extendsfdf2.c: Likewise.
6559 * soft-fp/extendsftf2.c: Likewise.
6560 * soft-fp/fixdfdi.c: Likewise.
6561 * soft-fp/fixdfsi.c: Likewise.
6562 * soft-fp/fixsfdi.c: Likewise.
6563 * soft-fp/fixsfsi.c: Likewise.
6564 * soft-fp/fixtfdi.c: Likewise.
6565 * soft-fp/fixtfsi.c: Likewise.
6566 * soft-fp/fixunsdfdi.c: Likewise.
6567 * soft-fp/fixunsdfsi.c: Likewise.
6568 * soft-fp/fixunssfdi.c: Likewise.
6569 * soft-fp/fixunssfsi.c: Likewise.
6570 * soft-fp/fixunstfdi.c: Likewise.
6571 * soft-fp/fixunstfsi.c: Likewise.
6572 * soft-fp/floatdidf.c: Likewise.
6573 * soft-fp/floatdisf.c: Likewise.
6574 * soft-fp/floatditf.c: Likewise.
6575 * soft-fp/floatsidf.c: Likewise.
6576 * soft-fp/floatsisf.c: Likewise.
6577 * soft-fp/floatsitf.c: Likewise.
6578 * soft-fp/floatundidf.c: Likewise.
6579 * soft-fp/floatundisf.c: Likewise.
6580 * soft-fp/floatunditf.c: Likewise.
6581 * soft-fp/floatunsidf.c: Likewise.
6582 * soft-fp/floatunsisf.c: Likewise.
6583 * soft-fp/floatunsitf.c: Likewise.
6584 * soft-fp/gedf2.c: Likewise.
6585 * soft-fp/gesf2.c: Likewise.
6586 * soft-fp/getf2.c: Likewise.
6587 * soft-fp/ledf2.c: Likewise.
6588 * soft-fp/lesf2.c: Likewise.
6589 * soft-fp/letf2.c: Likewise.
6590 * soft-fp/muldf3.c: Likewise.
6591 * soft-fp/mulsf3.c: Likewise.
6592 * soft-fp/multf3.c: Likewise.
6593 * soft-fp/negdf2.c: Likewise.
6594 * soft-fp/negsf2.c: Likewise.
6595 * soft-fp/negtf2.c: Likewise.
6596 * soft-fp/op-1.h: Likewise.
6597 * soft-fp/op-2.h: Likewise.
6598 * soft-fp/op-4.h: Likewise.
6599 * soft-fp/op-8.h: Likewise.
6600 * soft-fp/op-common.h: Likewise.
6601 * soft-fp/quad.h: Likewise.
6602 * soft-fp/single.h: Likewise.
6603 * soft-fp/soft-fp.h: Likewise.
6604 * soft-fp/subdf3.c: Likewise.
6605 * soft-fp/subsf3.c: Likewise.
6606 * soft-fp/subtf3.c: Likewise.
6607 * soft-fp/truncdfsf2.c: Likewise.
6608 * soft-fp/trunctfdf2.c: Likewise.
6609 * soft-fp/trunctfsf2.c: Likewise.
6610 * soft-fp/unorddf2.c: Likewise.
6611 * soft-fp/unordsf2.c: Likewise.
6612 * soft-fp/unordtf2.c: Likewise.
6613 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6614 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6615 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6616 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6617 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6618 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6619 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6620 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6621 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6622 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6623 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6624 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6625
6626 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
6627
6628 * config/mips/lib2funcs.c: New file.
6629 * config/mips/t-mips (LIB2ADD_ST): Add it.
6630
6631 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
6632
6633 PR target/6526
6634 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6635 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
6636
6637 2013-06-08 Walter Lee <walt@tilera.com>
6638
6639 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6640 Replace int64_t with long long. Add __extension__ where
6641 appropriate.
6642 * config/tilepro/atomic.c: Include config.h.
6643
6644 2013-06-06 Douglas B Rupp <rupp@adacore.com>
6645
6646 * config.host (arm-wrs-vxworks): Configure with other soft float.
6647
6648 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
6649
6650 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6651 (mips64r5900el-*-elf*): New configurations.
6652
6653 2013-06-04 Alan Modra <amodra@gmail.com>
6654
6655 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6656
6657 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
6658
6659 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6660
6661 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
6662
6663 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6664 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6665 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6666
6667 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6668
6669 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6670 (powerpc-wrs-vxworks): Likewise.
6671
6672 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6673
6674 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6675 signal frames as well.
6676 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6677 STACK_BIAS to the CFA offset.
6678
6679 2013-05-17 Richard Henderson <rth@redhat.com>
6680
6681 PR target/49146
6682 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6683 (execute_cfa_program): Use it when storing to fs->regs.
6684
6685 2013-05-08 Kai Tietz <ktietz@redhat.com>
6686
6687 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6688 (__deregister_frame_info): Likewise.
6689
6690 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
6691
6692 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6693 NaN's payload.
6694
6695 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6696
6697 2013-04-25 Alan Modra <amodra@gmail.com>
6698
6699 * config.host: Match little-endian powerpc-linux.
6700
6701 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
6702
6703 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6704 as 'unsigned long long' instead of 'unsigned long'.
6705 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6706 'signed long'.
6707
6708 2013-04-10 Julian Brown <julian@codesourcery.com>
6709
6710 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6711 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6712 unsigned char/unsigned short.
6713 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6714
6715 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6716
6717 PR other/55274
6718 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6719
6720 2013-04-04 Meador Inge <meadori@codesourcery.com>
6721
6722 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6723 computing the location of the link register.
6724 (aeabi_uldivmod): Ditto.
6725
6726 2013-03-27 Kai Tietz <ktietz@redhat.com>
6727
6728 * config.host: Add support for cygwin x64 target.
6729 * configure: Regenerated.
6730
6731 2013-03-26 Walter Lee <walt@tilera.com>
6732
6733 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6734 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6735
6736 2013-03-25 Kai Tietz <ktietz@redhat.com>
6737
6738 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6739
6740 2013-03-20 Robert Mason <rbmj@verizon.net>
6741
6742 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6743 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6744 (__gthread_leave_tsd_dtor_context): Add prototypes.
6745 (tls_delete_hook): Update.
6746
6747 2013-03-20 Catherine Moore <clm@codesourcery.com>
6748 Joseph Myers <joseph@codesourcery.com>
6749 Chao-ying Fu <fu@mips.com>
6750
6751 * config/mips/mips16.S: Don't build for microMIPS.
6752 * config/mips/linux-unwind.h: Handle microMIPS frame.
6753 * config/mips/crtn.S (fini, init): New labels.
6754
6755 2013-03-14 Jakub Jelinek <jakub@redhat.com>
6756
6757 PR tree-optimization/53265
6758 * unwind-dw2.c (execute_cfa_program): Avoid
6759 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6760 on targets with DWARF_FRAME_REGISTERS < 32.
6761
6762 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6763
6764 PR target/49880
6765 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6766 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6767
6768 2013-03-07 Sriraman Tallam <tmsriram@google.com>
6769
6770 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6771 sandybridge processors.
6772
6773 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6774
6775 PR target/56529
6776 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6777 inclusion list.
6778
6779 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6780
6781 * config/microblaze/crti.S: Setup stack protection at entry
6782
6783 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
6784
6785 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6786 (__rotldi3): Shift bytewise if applicable.
6787
6788 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6789
6790 * config/aarch64/sync-cache.c
6791 (__aarch64_sync_cache_range): Silence warnings.
6792
6793 2013-02-25 Catherine Moore <clm@codesourcery.com>
6794
6795 Revert:
6796 2013-02-24 Catherine Moore <clm@codesourcery.com>
6797 Joseph Myers <joseph@codesourcery.com>
6798 Chao-ying Fu <fu@mips.com>
6799
6800 * config/mips/mips16.S: Don't build for microMIPS.
6801 * config/mips/linux-unwind.h: Handle microMIPS frame.
6802 * config/mips/crtn.S (fini, init): New labels.
6803
6804 2013-02-24 Catherine Moore <clm@codesourcery.com>
6805 Joseph Myers <joseph@codesourcery.com>
6806 Chao-ying Fu <fu@mips.com>
6807
6808 * config/mips/mips16.S: Don't build for microMIPS.
6809 * config/mips/linux-unwind.h: Handle microMIPS frame.
6810 * config/mips/crtn.S (fini, init): New labels.
6811
6812 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6813 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
6814 as dividend.
6815
6816 2013-02-16 Alan Modra <amodra@gmail.com>
6817
6818 PR target/55431
6819 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6820 (ppc_fallback_frame_state): Always set up save locations for fp
6821 and altivec. Don't bother with non-callee-saved regs, r0-r13
6822 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6823
6824 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
6825
6826 PR target/54222
6827 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6828 _ssmulHA, _ssmulSA.
6829 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6830 _ssmulha3, _usmulusa3, _ssmulsa3.
6831 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6832 (__muldi3): XCALL __muldi3_6 instead of rcall.
6833 (__umulsidi3, __mulsidi3): New functions.
6834 (do_prologue_saves, do_epilogue_restores): New .macros.
6835 (__divdi3_moddi3): Use them.
6836 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6837 (__usmulusa3, __ssmulsa3): New functions.
6838
6839 2013-02-11 Iain Sandoe <iain@codesourcery.com>
6840 Jack Howarth <howarth@bromo.med.uc.edu>
6841 Patrick Marlier <patrick.marlier@gmail.com>
6842
6843 PR libitm/55693
6844 * config/darwin-crt-tm.c: Remove dummy functions hack.
6845
6846 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
6847
6848 PR target/54222
6849 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6850 * config/avr/lib2-object.mk: New iterator to build objects from it.
6851 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6852 lib2funcs.c.
6853 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6854 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6855 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6856 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6857 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6858 * config/avr/lib1funcs-fixed.S: Implement them.
6859
6860 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6861
6862 Update copyright years.
6863
6864 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
6865
6866 PR target/54601
6867 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6868 Add crtcxa to extra_parts.
6869 * config/rs6000/exit.h: New file.
6870 * config/rs6000/cxa_atexit.c: New file.
6871 * config/rs6000/cxa_finalize.c: New file.
6872 * config/rs6000/crtcxa.c: New file.
6873 * config/rs6000/t-aix-cxa: New file.
6874 * config/rs6000/libgcc-aix-cxa.ver: New file.
6875
6876 2013-01-31 Nick Clifton <nickc@redhat.com>
6877
6878 * config/v850/lib1funcs.S: Add support for e3v5 architecture
6879 variant.
6880
6881 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
6882
6883 PR target/54222
6884 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
6885 _mulQQ, _mulHQ, _mulHA, _mulSA,
6886 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
6887 _divQQ, _divHQ, _divHA, _divSA,
6888 _divUQQ, _divUHQ, _divUHA, _divUSA.
6889
6890 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
6891
6892 * config.host(microblaze*-linux*): tmake_file: Remove
6893 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
6894 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
6895 to exclude functions from being built with libgcc.c and use
6896 the microblaze assembly.
6897
6898 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6899
6900 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
6901 extra_parts.
6902
6903 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
6904
6905 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
6906 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
6907 __UINTPTR_TYPE__; also cast 'base' to the same type before the
6908 alignment operation.
6909
6910 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
6911
6912 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
6913 loop start address for cache clearing.
6914
6915 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6916
6917 * config/avr/lib1funcs.S: Remove trailing blanks.
6918 * config/avr/lib1funcs-fixed.S: Ditto.
6919
6920 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6921
6922 * config/avr/avr-lib.h: Add GPL copyright notice.
6923
6924 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
6925
6926 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
6927 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
6928 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
6929 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6930
6931 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
6932
6933 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6934 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
6935
6936 2013-01-04 Nick Clifton <nickc@redhat.com>
6937
6938 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6939 the CALLT instruction is supported.
6940
6941 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6942
6943 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6944 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6945
6946 2012-12-13 John Tytgat <John@bass-software.com>
6947
6948 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6949 is 25.
6950
6951 2012-12-12 Jakub Jelinek <jakub@redhat.com>
6952
6953 PR libgcc/55451
6954 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6955 undefined signed overflows.
6956
6957 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
6958
6959 PR target/55344
6960 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6961
6962 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
6963
6964 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6965 (FP_TRAPPING_EXCEPTIONS): Define.
6966 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6967 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6968
6969 2012-12-04 Richard Henderson <rth@redhat.com>
6970
6971 PR bootstrap/55571
6972 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6973
6974 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6975
6976 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
6977 (FP_EX_SHIFT): Define.
6978 (FP_TRAPPING_EXCEPTIONS): Define.
6979
6980 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
6981
6982 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6983 (FP_ROUNDMODE): Use FP_RND_MASK.
6984 * config/aarch64/sfp-exceptions.c: New.
6985 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6986 Use __sfp_handle_exceptions.
6987
6988 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
6989
6990 * config.host: (arm*-*-freebsd*): Remove.
6991 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6992 (arm*-*-elf*): Remove.
6993 (arm*-*-wince-pe*): Remove.
6994 * arm/unwind-arm.c (struct fpa_reg): Delete.
6995 (struct fpa_regs): Delete.
6996 (phase1_vrs): Remove fpa element.
6997 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6998 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6999 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7000 * ieee754-sf.S (floatundisf): Remove FPA support.
7001 (floatdisf): Likewise.
7002 * ieee75f-df.S (floatundidf): Likewise.
7003 (floatdidf): Likewise.
7004
7005 2012-11-29 Kai Tietz <ktietz@redhat.com>
7006
7007 PR target/55445
7008 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7009 * unwind-generic.h: Likewise.
7010 * unwind-seh.c: Likewise.
7011
7012 2012-11-28 Richard Henderson <rth@redhat.com>
7013
7014 PR libgcc/48076
7015 * emutls.c (__emutls_get_address): Avoid race condition between
7016 obj->loc.offset read and emutls_key initialization.
7017
7018 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
7019
7020 Adjust decimal point of signed accum mode to GCC default.
7021
7022 PR target/54222
7023 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7024 _divqq_helper.
7025 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7026 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7027 (__mulha3, __mulsa3)
7028 (__divqq3, __divha3, __divsa3): Adjust to new position of
7029 decimal point of signed accum types.
7030
7031 (__mulusa3_round): New function.
7032 (__mulusa3): Use it.
7033 (__divqq_helper): New function.
7034 (__udivuqq3): Use it.
7035
7036 2012-11-20 Jakub Jelinek <jakub@redhat.com>
7037
7038 PR bootstrap/55370
7039 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7040
7041 2012-11-18 Teresa Johnson <tejohnson@google.com>
7042
7043 PR bootstrap/55051
7044 * libgcov.c (gcov_exit): Remove merged program summary
7045 comparison unless !GCOV_LOCKED.
7046
7047 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
7048
7049 * soft-fp: Updated from glibc upstream.
7050
7051 2012-11-06 Ian Lance Taylor <iant@google.com>
7052
7053 * generic-morestack.c (__generic_morestack): Align the returned
7054 stack pointer to a 32 byte boundary.
7055 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7056 increment the return address until we have decided that we don't
7057 have a varargs function.
7058 (__morestack) [32-bit]: Align stack correctly when calling C
7059 functions.
7060 (__morestack) [64-bit]: Likewise.
7061
7062 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7063
7064 * configure: Regenerate.
7065
7066 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
7067
7068 PR target/55175
7069 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7070 * config/i386/sfp-machine.h: Guard exception handling
7071 code with _SOFT_FLOAT.
7072 * config/i386/32/sfp-machine.h: Guard rounding handling
7073 code with _SOFT_FLOAT.
7074 * config/i386/64/sfp-machine.h: Ditto.
7075
7076 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7077
7078 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7079 as extra_parts.
7080
7081 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
7082
7083 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7084 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7085 when appropriate. Correct structure element types.
7086 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7087 -minline-all-stringops from compile flags.
7088
7089 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7090
7091 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7092
7093 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7094
7095 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
7096
7097 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
7098
7099 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7100 tmake_file.
7101
7102 2012-10-23 Ian Bolton <ian.bolton@arm.com>
7103 Jim MacArthur <jim.macarthur@arm.com>
7104 Marcus Shawcroft <marcus.shawcroft@arm.com>
7105 Nigel Stephens <nigel.stephens@arm.com>
7106 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7107 Richard Earnshaw <rearnsha@arm.com>
7108 Sofiane Naci <sofiane.naci@arm.com>
7109 Stephen Thomas <stephen.thomas@arm.com>
7110 Tejas Belagod <tejas.belagod@arm.com>
7111 Yufeng Zhang <yufeng.zhang@arm.com>
7112
7113 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7114 * config/aarch64/crti.S: New file.
7115 * config/aarch64/crtn.S: New file.
7116 * config/aarch64/linux-unwind.h: New file.
7117 * config/aarch64/sfp-machine.h: New file.
7118 * config/aarch64/sync-cache.c: New file.
7119 * config/aarch64/t-aarch64: New file.
7120 * config/aarch64/t-softfp: New file.
7121
7122 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
7123
7124 * config/mmix/crti.S: Mark program and data addresses using PRELD.
7125 Remove typo'd and unnecessary alignment-LOC for .data. Remove
7126 no-longer-needed LDBU insns.
7127
7128 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
7129
7130 * config.host
7131 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7132 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7133
7134 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7135
7136 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7137
7138 2012-10-15 Matthias Klose <doko@ubuntu.com>
7139
7140 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7141
7142 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
7143
7144 * configure: Regenerate.
7145 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7146
7147 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7148
7149 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7150 instructions for 64bit targets only.
7151
7152 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7153
7154 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7155 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7156 * config/i386/32/sfp-machine.h: ... here.
7157 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7158 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7159 New defines.
7160
7161 2012-10-07 Matthias Klose <doko@ubuntu.com>
7162
7163 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7164 as unused.
7165 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7166
7167 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
7168
7169 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7170 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7171 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7172 (ElfW): Likewise.
7173
7174 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
7175
7176 PR other/53889
7177 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7178 Fix parameter names.
7179
7180 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
7181
7182 PR target/33135
7183 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7184 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7185 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7186
7187 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
7188
7189 PR target/50457
7190 * config/sh/linux-atomic.S: Delete.
7191 * config/sh/linux-atomic.c: New.
7192 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7193 linux-atomic.c. Add cflags to disable warnings.
7194
7195 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7196
7197 PR other/53889
7198 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7199 function.
7200 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7201 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7202 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7203 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
7204 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7205 Likewise.
7206 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7207 Likewise.
7208 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7209 Likewise.
7210 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7211 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7212
7213 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
7214
7215 * config.host (hppa-*-openbsd*): New target.
7216 * config/pa/t-openbsd: New file.
7217
7218 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
7219
7220 PR target/54222
7221 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7222 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7223 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7224 (__divsa3): Use __negsi2 to negate r_quoL.
7225 * config/avr/lib1funcs.S (FALIAS): New macro.
7226 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7227 (__negsi2): ...this new function.
7228 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7229 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7230 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7231 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7232 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7233 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7234
7235 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
7236
7237 PR target/54089
7238 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7239 (lshrsi3): Reimplement as lshrsi3_r0.
7240
7241 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
7242
7243 PR target/46191
7244 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7245 of libgcc.a.
7246
7247 2012-09-07 Teresa Johnson <tejohnson@google.com>
7248
7249 PR gcov-profile/54487
7250 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
7251 differences.
7252
7253 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
7254
7255 PR target/54461
7256 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7257 not configured --with-avrlibc=no.
7258 * config/avr/t-avrlibc: New file.
7259 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7260 (DPBIT_FUNCS): Ditto.
7261 (TPBIT_FUNCS): Ditto.
7262
7263 2012-09-04 Teresa Johnson <tejohnson@google.com>
7264
7265 * libgcov.c (struct gcov_summary_buffer): New structure.
7266 (gcov_histogram_insert): New function.
7267 (gcov_compute_histogram): Ditto.
7268 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7269 histograms during summary merging.
7270
7271 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
7272
7273 * config.host (x86_64-*-openbsd*): New target.
7274
7275 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
7276
7277 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7278 attribute.
7279
7280 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7281
7282 PR target/54222
7283 * config/avr/t-avr (conv_X): Rename to func_X.
7284
7285 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7286
7287 PR target/54222
7288 * config/avr/lib1funcs-fixed.S: New file.
7289 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
7290 after they are used.
7291 (neg2, neg4): New macros.
7292 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7293 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7294 (__umulhisi3): Speed up MUL variant if there is enough flash.
7295 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7296 avr-modes.def.
7297 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7298 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7299 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7300 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7301 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7302 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7303 (LIB2FUNCS_EXCLUDE): Add supported functions.
7304
7305 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
7306
7307 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7308 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7309 libgcc-s-objects.
7310 * fixed-obj.mk: Only expand dependency if $o is not in
7311 LIB2FUNCS_EXCLUDE.
7312
7313 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
7314
7315 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7316
7317 2012-08-22 Joseph Myers <joseph@codesourcery.com>
7318
7319 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7320 depend on --enable-shared.
7321 ($(lib1asmfuncs-o)): Use %.vis files independent of
7322 --enable-shared.
7323 * static-object.mk ($(base)$(objext), $(base).vis)
7324 ($(base)_s$(objext)): Use same rules for visibility handling as in
7325 shared-object.mk.
7326
7327 2012-08-21 Ian Lance Taylor <iant@google.com>
7328
7329 * config/i386/morestack.S (__morestack_non_split): Increase amount
7330 of space allocated for non-split code stack.
7331
7332 2012-08-19 Joseph Myers <joseph@codesourcery.com>
7333
7334 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7335 even if inhibit_libc.
7336
7337 2012-08-17 Julian Brown <julian@codesourcery.com>
7338
7339 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7340 -fexceptions -fnon-call-exceptions if not defined.
7341 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7342 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7343
7344 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
7345
7346 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7347 type.
7348
7349 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
7350
7351 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7352 rs6000/t-slibgcc-aix.
7353
7354 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7355
7356 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7357
7358 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7359
7360 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7361
7362 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
7363
7364 PR driver/54171
7365 * Makefile.in (version): Replace top_srcdir with srcdir.
7366
7367 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
7368
7369 * Makefile.in (version): set to BASE-VER file from gcc directory.
7370
7371 2012-08-01 Nick Clifton <nickc@redhat.com>
7372
7373 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7374 Implements __clrsb for an HImode argument.
7375
7376 2012-07-31 Nick Clifton <nickc@redhat.com>
7377
7378 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7379 Implements __clrsb for an HImode argument.
7380 * config/stormy16/clrsbhi2.c: New file:
7381 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7382
7383 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
7384
7385 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7386
7387 2012-07-19 Tristan Gingold <gingold@adacore.com>
7388 Richard Henderson <rth@redhat.com>
7389
7390 * unwind-seh.c: New file.
7391 * unwind-generic.h: Include windows.h for SEH.
7392 (_Unwind_Exception): Use 6 private fields for SEH.
7393 (_GCC_specific_handler): Declare.
7394 * unwind-c.c (__gcc_personality_seh0): New function.
7395 Adjust for SEH.
7396 * config/i386/libgcc-cygming.ver: New file.
7397 * config/i386/t-seh-eh: New file.
7398 * config.host (x86_64-*-mingw*): Default to seh.
7399
7400 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
7401
7402 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7403
7404 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
7405
7406 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7407 __builtin_expect when checking for exceptions.
7408 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7409
7410 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7411
7412 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7413 function declaration.
7414 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7415 (FP_RND_MASK): New.
7416 * config/ia64/sfp-exceptions.c: New.
7417 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7418
7419 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7420
7421 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7422 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7423 * config/i386/64/sfp-machine: ... (delete here) ...
7424 * config/i386/sfp-machine.h: ... to here.
7425 (FP_EX_MASK): Remove.
7426 (FP_RND_MASK): New.
7427 (FP_INIT_ROUNDMODE): Declare asm as volatile.
7428
7429 2012-06-11 Sriraman Tallam <tmsriram@google.com>
7430
7431 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7432 * config/i386/libgcc-sol2.ver: Ditto.
7433 * config/i386/libgcc-glibc.ver: Ditto.
7434
7435 2012-06-11 Roland McGrath <mcgrathr@google.com>
7436
7437 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7438 If __GLIBC__ is defined, refer to __pthread_key_create instead of
7439 pthread_cancel.
7440
7441 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
7442
7443 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7444 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7445 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7446 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7447 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7448 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7449 * config/i386/64/sfp-machine: ... (delete here) ...
7450 * config/i386/sfp-machine.h: ... to here.
7451 (FP_EX_MASK): New.
7452 (__sfp_handle_exceptions): New function declaration.
7453 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7454 * config/i386/sfp-exceptions.c: New.
7455 * config/i386/t-softfp: New.
7456 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7457 i386/t-softfp to tmake_file.
7458
7459 2012-06-03 David S. Miller <davem@davemloft.net>
7460
7461 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7462 change.
7463
7464 2012-05-31 David S. Miller <davem@davemloft.net>
7465
7466 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7467 multiply and divide instructions on 32-bit when V9.
7468 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7469
7470 2012-05-29 Joseph Myers <joseph@codesourcery.com>
7471
7472 * config/arm/ieee754-df.S: Fix typos.
7473 * config/arm/ieee754-sf.S: Fix typos.
7474 * config/c6x/libunwind.S: Fix typos.
7475 * config/epiphany/udivsi3-float.c: Fix typos.
7476 * config/microblaze/muldi3_hard.S: Fix typos.
7477 * config/picochip/adddi3.S: Fix typos.
7478 * config/picochip/ashlsi3.S: Fix typos.
7479 * config/picochip/ashrsi3.S: Fix typos.
7480 * config/picochip/clzsi2.S: Fix typos.
7481 * config/picochip/cmpsi2.S: Fix typos.
7482 * config/picochip/divmod15.S: Fix typos.
7483 * config/picochip/divmodhi4.S: Fix typos.
7484 * config/picochip/divmodsi4.S: Fix typos.
7485 * config/picochip/longjmp.S: Fix typos.
7486 * config/picochip/lshrsi3.S: Fix typos.
7487 * config/picochip/parityhi2.S: Fix typos.
7488 * config/picochip/popcounthi2.S: Fix typos.
7489 * config/picochip/setjmp.S: Fix typos.
7490 * config/picochip/subdi3.S: Fix typos.
7491 * config/picochip/ucmpsi2.S: Fix typos.
7492 * config/picochip/udivmodhi4.S: Fix typos.
7493 * config/picochip/udivmodsi4.S: Fix typos.
7494 * config/spu/divv2df3.c: Fix typos.
7495 * config/spu/mfc_multi_tag_release.c: Fix typos.
7496 * config/spu/mfc_tag_release.c: Fix typos.
7497 * configure.ac: Fix typos.
7498 * configure: Regenerate.
7499
7500 2012-05-25 Ian Lance Taylor <iant@google.com>
7501
7502 * config/i386/morestack.S (__morestack_non_split): Check whether
7503 caller is varargs and needs %bp to hold the stack frame on return.
7504
7505 2012-05-25 Olivier Hainque <hainque@adacore.com>
7506
7507 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7508 sequence in the non pic case on VxWorks.
7509
7510 2012-05-24 Olivier Hainque <hainque@adacore.com>
7511
7512 * Makefile.in: Move dependency on install-unwind_h from
7513 "install-leaf" to "install".
7514
7515 2012-05-24 Olivier Hainque <hainque@adacore.com>
7516
7517 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7518 Use a separate command for stamp removals.
7519
7520 2012-05-21 Andrew Pinski <apinski@cavium.com>
7521
7522 PR bootstrap/53183
7523 * configure.ac: Define the default includes to being none.
7524 * configure: Regenerate.
7525
7526 2012-05-16 Olivier Hainque <hainque@adacore.com>
7527
7528 * Makefile.in (install-unwind_h): Rename into ...
7529 (install-unwind_h-forbuild): New target.
7530 (all): Use it instead of the former install-unwind_h.
7531 (install-unwind_h): Reinstate, copy to user install destination
7532 for include files, not to the internal gcc object directory one.
7533 (install-leaf): Depend on it.
7534
7535 2012-05-15 Olivier Hainque <hainque@adacore.com>
7536
7537 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7538 register numbers. LR_REGNO replaces R_LR.
7539 (ucontext_for): New, helper for ...
7540 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7541 and 5.3 of ...
7542 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7543
7544 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7545
7546 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7547 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7548 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7549 i386/t-cpuinfo ...
7550 (i[34567]86-*-*, x86_64-*-*): ... here.
7551
7552 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7553 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7554
7555 * config/i386/i386-cpuinfo.c: Rename to ...
7556 * config/i386/cpuinfo.c: ... this.
7557 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7558
7559 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7560 (libgcc_cv_init_priority): New test.
7561 * configure: Regenerate.
7562 * config.in: New file.
7563 * Makefile.in (clean): Rename config.h to auto-target.h.
7564 (config.h): Likewise.
7565 (stamp-h): Likewise.
7566
7567 * config/i386/cpuinfo.c (auto-target.h): Include.
7568 (CONSTRUCTOR_PRIORITY): Define.
7569 (__cpu_indicator_init): Use it.
7570
7571 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7572
7573 * longlong.h: Use a URL instead of an FSF postal address.
7574 Replace spaces with tab.
7575
7576 2012-05-08 Teresa Johnson <tejohnson@google.com>
7577
7578 * libgcov.c (gcov_clear, __gcov_reset): New functions.
7579 (__gcov_dump): Ditto.
7580 (gcov_dump_complete): New global variable.
7581 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7582 (__gcov_flush): Outline functionality now in gcov_clear.
7583 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7584
7585 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
7586
7587 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7588 (mips*-*-linux*): Include mips/t-tpbit when long double is
7589 16 bytes long.
7590
7591 2012-04-25 Sriraman Tallam <tmsriram@google.com>
7592
7593 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7594 (get_available_features): New argument. Check for AVX2.
7595 (__cpu_indicator_init): Modify call to get_available_features.
7596
7597 2012-04-25 Alan Modra <amodra@gmail.com>
7598
7599 * config/rs6000/crtsavevr.S: New file.
7600 * config/rs6000/crtrestvr.S: New file.
7601 * config/rs6000/t-savresfgpr: Build the above.
7602 * config/rs6000/t-netbsd: Likewise.
7603
7604 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7605
7606 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7607
7608 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7609
7610 * libgcc/config/i386/i386-cpuinfo.c: New file.
7611 * libgcc/config/i386/t-cpuinfo: New file.
7612 * libgcc/config.host: Include t-cpuinfo.
7613 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7614
7615 2012-04-24 Chao-ying Fu <fu@mips.com>
7616
7617 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7618
7619 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
7620
7621 struct siginfo vs. siginfo_t
7622
7623 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7624 siginfo_t instead of struct siginfo.
7625 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7626 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7627 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7628 (ia64_handle_unwabi): Likewise.
7629 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7630 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7631 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7632 (sh_fallback_frame_state): Likewise.
7633 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7634 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7635
7636 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
7637
7638 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7639 system call number.
7640
7641 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
7642
7643 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7644 if it hasn't been previously saved.
7645
7646 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
7647
7648 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7649 only for glibc.
7650
7651 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
7652
7653 PR target/52737
7654 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7655 instead of __AVR_HAVE_8BIT_SP__.
7656
7657 2012-03-26 Tristan Gingold <gingold@adacore.com>
7658
7659 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7660 (unw_table_entry): Use unw_word instead of unsigned long.
7661 (_Unwind_FindTableEntry): Likewise.
7662 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7663 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7664 (_Unwind_FindTableEntry): Likewise.
7665 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7666 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7667 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7668 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7669 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7670 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7671 (uw_init_context_1, uw_install_context): Likewise.
7672 (unw_word): Move to unwind-ia64.h
7673
7674 2012-03-26 Tristan Gingold <gingold@adacore.com>
7675
7676 * config/vms/vms-ucrt0.c: Update copyright years.
7677 Add a sanity check.
7678 (___gcc_main_flags): Declare.
7679 (__main): Check flags to remap argv and exit code.
7680 * config.host (*-*-*vms*): Adjust extra_parts.
7681 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7682 (crt0.o): Add.
7683
7684 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
7685
7686 * arm/lib1funcs.asm (ctzsi2): New function.
7687 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7688 * arm/t-linux (LIB1ASMFUNCS): Likewise.
7689 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7690 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7691 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7692 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7693
7694 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
7695
7696 * config.host: Add bits to support powerpc64-*-freebsd*.
7697 * config/rs6000/freebsd-unwind.h: New file.
7698 * config/rs6000/t-freebsd64: New file.
7699
7700 2012-03-20 Richard Guenther <rguenther@suse.de>
7701
7702 PR gcov-profile/52627
7703 * libgcov.c (init_mx): Fix mutex name.
7704
7705 2012-03-16 Tristan Gingold <gingold@adacore.com>
7706
7707 * config/ia64/vms-unwind.h: Remove ulong (and replace
7708 it by unw_reg where used). Define unw_reg with __int64.
7709
7710 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7711
7712 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7713 Solaris 8 handling.
7714 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7715 Solaris 8 handling.
7716 (sparc_is_sighandler): Likewise.
7717
7718 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
7719
7720 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7721 <= saved reg size.
7722
7723 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7724
7725 * config/arm/crtn.S: Fix typo.
7726
7727 2012-03-13 Richard Guenther <rguenther@suse.de>
7728
7729 * libgcov.c: Remove stdio.h include and NULL un-define.
7730
7731 2012-03-13 Richard Guenther <rguenther@suse.de>
7732
7733 PR target/52569
7734 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7735
7736 2012-03-13 Richard Guenther <rguenther@suse.de>
7737
7738 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7739
7740 2012-03-13 Richard Guenther <rguenther@suse.de>
7741
7742 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7743 and __gthread_mutex_init_function definitions.
7744
7745 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7746
7747 * config.host (mips*-*-openbsd*): Remove.
7748
7749 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7750
7751 * config.host: Remove alpha*-dec-osf5.1* handling.
7752 * config/alpha/gthr-posix.c: Remove.
7753 * config/alpha/libgcc-osf5.ver: Remove.
7754 * config/alpha/osf5-unwind.h: Remove.
7755 * config/alpha/t-osf-pthread: Remove.
7756 * config/alpha/t-slibgcc-osf: Remove.
7757 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7758 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7759 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7760 * mkmap-flat.awk: Remove osf_export handling.
7761
7762 2012-03-12 Richard Guenther <rguenther@suse.de>
7763
7764 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7765 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7766 (__gthread_mutex_init_function): New function.
7767 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7768
7769 PR gcov/49484
7770 * libgcov.c: Include gthr.h.
7771 (__gcov_flush_mx): New global variable.
7772 (init_mx, init_mx_once): New functions.
7773 (__gcov_flush): Protect self with a mutex.
7774 (__gcov_fork): Re-initialize mutex after forking.
7775 * unwind-dw2-fde.c: Change condition under which to use
7776 __GTHREAD_MUTEX_INIT_FUNCTION.
7777
7778 2012-03-12 Tristan Gingold <gingold@adacore.com>
7779
7780 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7781 * config/ia64/t-vms: Likewise.
7782
7783 2012-03-11 Michael Hope <michael.hope@linaro.org>
7784
7785 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7786 for Thumb-2.
7787
7788 2012-03-07 Walter Lee <walt@tilera.com>
7789
7790 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7791 "arch_atomic_".
7792 (atomic_xor): Rename and move definition to
7793 config/tilepro/atomic.h.
7794 (atomic_nand): Ditto.
7795 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7796 "arch_atomic_".
7797 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7798 (arch_atomic_nand): Ditto.
7799
7800 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7801
7802 PR target/52507
7803 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7804
7805 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7806
7807 PR target/52505
7808 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7809 from RAM.
7810
7811 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
7812
7813 PR target/52461
7814 PR target/52508
7815 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7816 if RAMPZ affects reading from RAM.
7817 (__tablejump_elpm__): Ditto.
7818 (.xload): Ditto.
7819 (__movmemx_hi): Ditto.
7820 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7821 (__do_global_dtors): Ditto.
7822 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7823 (__movmemx_hi): Ditto.
7824
7825 2012-03-05 Richard Henderson <rth@redhat.com>
7826
7827 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7828 [ARM] (count_trailing_zeros): Use the builtin.
7829
7830 2012-03-01 Kai Tietz <ktietz@redhat.com>
7831
7832 * soft-fp: Imported from glibc upstream.
7833
7834 2012-02-28 Kai Tietz <ktietz@redhat.com>
7835
7836 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7837 for mingw-targets as attribute gcc_struct.
7838
7839 2012-02-28 Ian Lance Taylor <iant@google.com>
7840
7841 * generic-morestack.c (__splitstack_releasecontext): Correct call
7842 to __morestack_release_segments.
7843
7844 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7845
7846 PR target/52390
7847 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7848 for __linux__ when removing signals from __morestack_fullmask.
7849
7850 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
7851
7852 PR target/52261
7853 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7854
7855 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7856
7857 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7858 instead of HAVE_INITFINI_ARRAY.
7859 * config/ia64/crtend.S: Likewise.
7860
7861 2012-02-20 Kai Tietz <ktietz@redhat.com>
7862
7863 PR libstdc++/52300
7864 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7865
7866 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7867 to w32-unwind.h header.
7868
7869 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7870
7871 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
7872 (mips*-*-linux*): Remove t-slibgcc-libgcc.
7873 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
7874 * config/mips/mips16.S (__mips16_rdhwr): Delete.
7875
7876 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7877
7878 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
7879
7880 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7881
7882 PR libitm/52220
7883 * config/darwin-crt-tm.c: Correct typo.
7884
7885 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7886 Patrick Marlier <patrick.marlier@gmail.com>
7887
7888 PR libitm/52220
7889 * config/darwin-crt-tm.c: Generate dummy functions.
7890
7891 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
7892 Patrick Marlier <patrick.marlier@gmail.com>
7893
7894 PR libitm/52042
7895 * config/darwin-crt-tm.c (getTMCloneTable): New function.
7896 (__doTMRegistrations): Call it.
7897 (__doTMdeRegistrations): Likewise.
7898
7899 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
7900 Anatoly Sokolov <aesok@post.ru>
7901 Eric Weddington <eric.weddington@atmel.com>
7902
7903 PR target/52261
7904 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
7905 (__epilogue_restores__): Ditto.
7906
7907 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
7908
7909 PR target/51921
7910 PR target/52205
7911 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
7912 Solaris 11 and slightly reformat.
7913 (sparc_is_sighandler): Likewise.
7914
7915 2012-02-14 Walter Lee <walt@tilera.com>
7916
7917 * config.host: Handle tilegx and tilepro.
7918 * config/tilegx/sfp-machine.h: New file.
7919 * config/tilegx/sfp-machine32.h: New file.
7920 * config/tilegx/sfp-machine64.h: New file.
7921 * config/tilegx/t-crtstuff: New file.
7922 * config/tilegx/t-softfp: New file.
7923 * config/tilegx/t-tilegx: New file.
7924 * config/tilepro/atomic.c: New file.
7925 * config/tilepro/atomic.h: New file.
7926 * config/tilepro/linux-unwind.h: New file.
7927 * config/tilepro/sfp-machine.h: New file.
7928 * config/tilepro/softdivide.c: New file.
7929 * config/tilepro/softmpy.S: New file.
7930 * config/tilepro/t-crtstuff: New file.
7931 * config/tilepro/t-tilepro: New file.
7932
7933 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7934
7935 PR libstdc++/51296
7936 PR libstdc++/51906
7937 * gthr-posix.h: Allow static initializer macros to be disabled.
7938 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7939
7940 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7941
7942 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7943 Add t-slibgcc-libgcc to tmake_file.
7944 * config/mips/libgcc-mips16.ver: Revert previous patch.
7945 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7946
7947 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7948 Jayant R Sonar <jayant.sonar@kpitcummins.com>
7949
7950 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7951 * config/cr16/crti.S: New file.
7952 * config/cr16/crtlibid.S: New file.
7953 * config/cr16/crtn.S: New file.
7954 * config/cr16/lib1funcs.S: New file.
7955 * config/cr16/t-cr16: New file.
7956 * config/cr16/t-crtlibid: New file.
7957 * config/cr16/unwind-dw2.h: New file.
7958 * config/cr16/unwind-cr16.c: New file.
7959 * config/cr16/divmodhi3.c: New file.
7960
7961 2012-01-25 Alan Modra <amodra@gmail.com>
7962
7963 * config/rs6000/t-linux64: Delete. Move..
7964 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7965 * config/rs6000/t-linux: ..and libgcc flags to here.
7966
7967 2012-01-22 Douglas B Rupp <rupp@gnat.com>
7968
7969 * config.host (i[34567]86-*-interix3*):
7970 Change triplet to i[34567]86-*-interix[3-9]*.
7971 * configure: Regenerate.
7972
7973 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7974 Richard Sandiford <rdsandiford@googlemail.com>
7975
7976 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7977 * config/mips/mips16.S (__mips16_rdhwr): New function.
7978 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7979
7980 2012-01-11 Nathan Sidwell <nathan@acm.org>
7981
7982 * libgcov.c (__gcov_init): Ignore objects with no functions.
7983
7984 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
7985
7986 PR target/49868
7987 Extend __pgmx semantics to linearize memory.
7988 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7989 * config/avr/lib1funcs.S (__xload_1): New function.
7990 (__movmemx_qi, __movmemx_hi): New functions.
7991 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7992 semantics.
7993
7994 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7995
7996 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7997 purported sigacthandler address isn't null before dereferencing it.
7998 (sparc_is_sighandler): Likewise.
7999
8000 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8001
8002 PR ada/41929
8003 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8004 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
8005 (sparc_is_sighandler): Likewise.
8006 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8007
8008 2012-01-06 Tristan Gingold <gingold@adacore.com>
8009
8010 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8011 compatibility thunks...
8012 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8013 (crtbeginS.o, crtendS.o): ... and these to ...
8014 * config/ia64/t-ia64-elf: ... this new file.
8015 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8016 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8017
8018 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8019
8020 * configure: Regenerate.
8021 * config/s390/t-crtstuff: Remove -fPIC.
8022
8023 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8024
8025 PR bootstrap/51006
8026 * enable-execute-stack-mprotect.c (getpagesize): Do not define
8027 for NetBSD.
8028
8029 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8030
8031 PR target/51345
8032 * config/avr/lib1funcs.S: Remove FIXME comments.
8033 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8034
8035 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8036
8037 Implement light-weight DImode support.
8038 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8039 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8040 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8041 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8042
8043 2011-12-30 Nathan Sidwell <nathan@acm.org>
8044
8045 * libgcov.c (gcov_crc32): Remove global var.
8046 (free_fn_data): New function.
8047 (buffer_fn_data): Pass in filename, more robust error recovery.
8048 (crc32_unsigned): New function.
8049 (gcov_exit): More robust detection of new program. More robust
8050 error recovery.
8051 (__gcov_init): Do not update program's crc here.
8052
8053 2011-12-21 Tristan Gingold <gingold@adacore.com>
8054
8055 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8056
8057 2011-12-21 Ian Lance Taylor <iant@google.com>
8058
8059 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8060
8061 2011-12-20 Ian Lance Taylor <iant@google.com>
8062
8063 * config/i386/morestack.S (__morestack_non_split): If there is
8064 enough stack space already, don't split. Ask for more stack space
8065 than we required.
8066
8067 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8068
8069 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8070 `sys/sdt.h'.
8071 (_Unwind_DebugHook): New function.
8072 (uw_restore_core_regs): New define.
8073 (unwind_phase2): Use uw_restore_core_regs instead of
8074 restore_core_regs.
8075 (unwind_phase2_forced): Likewise.
8076 (__gnu_Unwind_Resume): Likewise.
8077
8078 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
8079
8080 * config/alpha/linux-unwind.h: Update copyright years.
8081 (MD_FROB_UPDATE_CONTEXT): New define.
8082 (alpha_frob_update_context): New function.
8083
8084 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8085
8086 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8087 tmake_file rather replacing it.
8088
8089 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
8090
8091 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
8092 function is not used for PPC64.
8093 (save_world): Amend comments. Update the VRsave mask to reflect the
8094 saved regs.
8095 (rest_world): Update comments, do not clobber r10, do not use r8.
8096 (eh_rest_world_r10): Amend comments, do not use r8.
8097 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8098 no longer used, move restore of CR and target address to the end of
8099 the routine.
8100
8101 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
8102
8103 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8104 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8105
8106 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
8107
8108 PR target/49313
8109 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8110 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8111
8112 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
8113
8114 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8115
8116 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
8117
8118 PR target/49313
8119 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8120 * config/avr/lib1funcs.S (__muldi3): New function.
8121
8122 2011-12-06 Andrew Pinski <apinski@cavium.com>
8123
8124 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8125 size of func_ptr.
8126 (__frame_dummy_init_array_entry): Likewise.
8127
8128 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
8129
8130 Forward-port from gcc-4_6-branch r181936 2011-12-02.
8131
8132 PR target/51345
8133 PR target/51002
8134 * config/avr/lib1funcs.S (__prologue_saves__,
8135 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8136 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
8137
8138 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
8139
8140 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8141
8142 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8143
8144 PR other/51272
8145 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8146 (_ITM_deregisterTMCloneTable): Likewise.
8147 (__register_frame_info): Fix unused warning.
8148 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8149 pthread_default_stacksize_np): Likewise.
8150 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
8151
8152 2011-11-29 DJ Delorie <dj@redhat.com>
8153
8154 * config.host (rl78-*-elf): New case.
8155 * config/rl78: New directory for the Renesas RL78.
8156
8157 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
8158
8159 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
8160 formatting.
8161
8162 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8163
8164 PR other/51022
8165 * config/rs6000/t-savresfgpr: New file.
8166 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8167 $(srcdir)/config/rs6000/eabi.S.
8168 * config/rs6000/t-ppccomm-ldbl: Remove.
8169 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8170 tmake_file.
8171 (powerpc-*-eabispe*): Likewise.
8172 (powerpc-*-eabi*): Likewise.
8173 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8174 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8175 to tmake_file, remove rs6000/t-ppccomm-ldbl.
8176 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8177 tmake_file.
8178 (powerpc-*-eabisim*): Likewise.
8179 (powerpc-*-elf*): Likewise.
8180 (powerpc-*-eabialtivec*): Likewise.
8181 (powerpc-xilinx-eabi*): Likewise.
8182 (powerpc-*-rtems*): Likewise.
8183 (powerpcle-*-elf*): Likewise.
8184 (powerpcle-*-eabisim*): Likewise.
8185 (powerpcle-*-eabi*): Likewise.
8186
8187 2011-11-27 Ian Lance Taylor <iant@google.com>
8188
8189 * generic-morestack.c (__splitstack_find): Check for NULL old
8190 stack value.
8191 (__splitstack_resetcontext): New function.
8192 (__splitstack_releasecontext): New function.
8193 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8194
8195 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8196
8197 * config/darwin-crt-tm.c: Correct comments, use correct licence.
8198
8199 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8200
8201 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8202
8203 2011-11-26 Richard Henderson <rth@redhat.com>
8204
8205 * config/m68k/linux-atomic.c: New file.
8206 * config/m68k/t-linux: New file.
8207 * config.host (m68k-uclinux, m68k-linux): Use it.
8208
8209 2011-11-26 Richard Henderson <rth@redhat.com>
8210
8211 * crtstuff.c (__TMC_LIST__): Mark used not unused.
8212 (__TMC_END__): Only declare if hidden is available; in the definition,
8213 if hidden is unavailable add a null record.
8214 (deregister_tm_clones, register_tm_clones): New.
8215 (__do_global_dtors_aux, frame_dummy): Use them.
8216 (__do_global_dtors, __do_global_ctors_1): Likewise.
8217
8218 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
8219
8220 * config/darwin-crt-tm.c: New file.
8221 * config.host (darwin): Build crttms.o crttme.o to provide
8222 startup and shutdown for tm clones.
8223 * config/t-darwin (crttms.o): New build rule.
8224 (crttme.o): Likewise.
8225
8226 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
8227
8228 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8229 et al.
8230
8231 2011-11-21 Richard Henderson <rth@redhat.com>
8232
8233 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8234 (__TMC_LIST__, __TMC_END__): New.
8235 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8236 (__do_global_dtors): Likewise.
8237 (frame_dummy): Call _ITM_registerTMCloneTable.
8238 (__do_global_ctors_1): Likewise.
8239
8240 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8241
8242 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8243 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8244 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8245 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8246 * config/i386/t-darwin64: Remove.
8247 * config/sh/t-netbsd (LIB2ADD): Remove.
8248
8249 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
8250
8251 PR target/49313
8252 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8253 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8254 * config/avr/lib1funcs.S (wmov): New assembler macro.
8255 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8256 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8257 (__udivmod64): New function.
8258 (__negdi2): New function.
8259
8260 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
8261
8262 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8263 *-*-freebsd*aout*): Remove.
8264
8265 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
8266
8267 * static-object.mk (c_flags-$o): Save c_flags.
8268 ($(base)$(objext)): Use it.
8269
8270 2011-11-18 Steve Ellcey <sje@cup.hp.com>
8271
8272 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8273
8274 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
8275
8276 PR target/49868
8277 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8278 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8279 New functions.
8280
8281 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8282
8283 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8284 functions.
8285 (aeabi_uidivmod): Likewise.
8286 (umodsi3): Likewise.
8287 (divsi3): Likewise.
8288 (aeabi_idivmod): Likewise.
8289 (modsi3): Likewise.
8290
8291 2011-11-16 Tristan Gingold <gingold@adacore.com>
8292
8293 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8294
8295 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
8296
8297 PR target/49868
8298 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
8299 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8300
8301 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8302
8303 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8304 tmake_file list.
8305 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8306 * config/pa/t-stublib64: Delete.
8307
8308 2011-11-12 Richard Henderson <rth@redhat.com>
8309
8310 * config/rs6000/linux-unwind.h (frob_update_context): Properly
8311 cast the pointer argument to _Unwind_SetGRPtr.
8312
8313 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8314
8315 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8316
8317 2011-11-09 Ian Lance Taylor <iant@google.com>
8318
8319 * generic-morestack.c: Include <string.h>.
8320 (uintptr_type): Define.
8321 (struct initial_sp): Add dont_block_signals field. Reduce size of
8322 extra array by 1.
8323 (allocate_segment): Set prev field to NULL. Don't set
8324 __morestack_current_segment or __morestack_segments.
8325 (__generic_morestack): Update current->prev and *pp after calling
8326 allocate_segment.
8327 (__morestack_block_signals): Don't do anything if
8328 dont_block_signals is set.
8329 (__morestack_unblock_signals): Likewise.
8330 (__generic_findstack): Check for initial_sp == NULL. Add casts to
8331 uintptr_type.
8332 (__splitstack_block_signals): New function.
8333 (enum __splitstack_content_offsets): Define.
8334 (__splitstack_getcontext, __splitstack_setcontext): New functions.
8335 (__splitstack_makecontext): New function.
8336 (__splitstack_block_signals_context): New function.
8337 (__splitstack_find_context): New function.
8338 * config/i386/morestack.S (__morestack_get_guard): New function.
8339 (__morestack_set_guard, __morestack_make_guard): New functions.
8340 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8341
8342 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8343
8344 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8345 (i[34567]86-*-mingw*): ... here.
8346 (x86_64-*-mingw*): ... here.
8347
8348 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8349
8350 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8351
8352 2011-11-07 Nathan Sidwell <nathan@acm.org>
8353
8354 * libgcov.c (struct gcov_fn_buffer): New struct.
8355 (buffer_fn_data): New helper.
8356 (gcov_exit): Rework for new gcov data structures.
8357
8358 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
8359
8360 PR target/49313
8361 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8362
8363 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8364
8365 * config.host (tmake_file): Correct comment.
8366 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8367 t-libgcc-pic.
8368 (bfin*-uclinux*): Likewise.
8369 (bfin*-linux-uclibc*): Likewise.
8370 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8371
8372 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8373 assigning.
8374 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8375 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8376 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8377 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8378 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8379 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8380 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8381 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8382 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8383 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8384 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8385 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8386 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8387
8388 * config/bfin/t-elf: Remove.
8389 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8390
8391 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8392
8393 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8394 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8395 (lm32-*-elf*, lm32-*-rtems*): Split into ...
8396 (lm32-*-elf*): ... this.
8397 (lm32-*-rtems*): ... and this.
8398 Add to tmake_file.
8399 (m32r-*-rtems*): Add to tmake_file.
8400 (moxie-*-rtems*): Likewise.
8401 (sparc-*-rtems*): Likewise.
8402 Remove t-rtems from tmake_file.
8403 (sparc64-*-rtems*): Likewise.
8404 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8405 instead.
8406
8407 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8408
8409 PR bootstrap/50982
8410 * config/gthr-posix.h: Move ...
8411 * gthr-posix.h: ... here.
8412 * config/gthr-lynx.h: Reflect this.
8413 * config/gthr-vxworks.h: Likewise.
8414 * config/rs6000/gthr-aix.h: Likewise.
8415 * configure.ac (target_thread_file): Likewise.
8416 * configure: Regenerate.
8417
8418 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
8419
8420 * config.host (arm*-*-rtemseabi*): New target.
8421
8422 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8423
8424 PR other/50991
8425 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8426 extra-parts.
8427
8428 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
8429
8430 * config.host (epiphany-*-elf*): New configuration.
8431 * config/epiphany: New Directory.
8432
8433 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
8434
8435 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8436 * config/avr/t-rtems: New.
8437 Filter out _exit from LIB1ASMFUNCS.
8438
8439 2011-11-04 David S. Miller <davem@davemloft.net>
8440
8441 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8442 * configure: Rebuild.
8443
8444 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8445
8446 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8447 variable.
8448
8449 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
8450
8451 PR target/50931
8452 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8453 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8454
8455 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
8456
8457 PR target/50989
8458 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8459
8460 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8461
8462 * config/c6x/t-elf (LIB2ADDEH): Set.
8463 * config/c6x/t-c6x-elf: Remove.
8464
8465 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8466
8467 * config/i386/sol2-ci.S: Rename to ...
8468 * config/i386/crti.S: ... this.
8469 * config/i386/sol2-cn.S: Rename to ...
8470 * config/i386/crtn.S: ... this.
8471 * config/sparc/sol2-ci.S: Rename to ...
8472 * config/sparc/crti.S: ... this.
8473 * config/sparc/sol2-cn.S: Rename to ...
8474 * config/sparc/crtn.S: ... this.
8475 * config/t-sol2 (CUSTOM_CRTIN): Remove.
8476 (crti.o, crtn.o): Remove.
8477
8478 2011-11-04 Tristan Gingold <gingold@adacore.com>
8479
8480 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8481
8482 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
8483
8484 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8485
8486 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
8487
8488 * config.host (crisv32-*-none, cris-*-none): Remove.
8489 (crisv32-*-elf): Append to tmake_file, don't just set it.
8490 (cris-*-elf): Add missing t-fdpbit to tmake_file.
8491
8492 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8493
8494 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8495 (ecrtn$(objext)): Likewise.
8496 (ncrti$(objext)): Likewise.
8497 (ncrtn$(objext)): Likewise.
8498
8499 2011-11-03 Andreas Schwab <schwab@redhat.com>
8500
8501 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8502
8503 2011-11-02 David S. Miller <davem@davemloft.net>
8504
8505 * configure.ac: Set host_address on sparc too.
8506 * configure: Regenerate.
8507 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8508 based upon host_address.
8509 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8510
8511 2011-11-02 Jason Merrill <jason@redhat.com>
8512
8513 * config/rs6000/t-ppccomm: Add missing \.
8514
8515 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8516
8517 * gthr-single.h, gthr.h: New files.
8518 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8519 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8520 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8521 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8522 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8523 * configure.ac (thread_header): New variable.
8524 Set it depending on target_thread_file.
8525 (gthr-default.h): Link from $thread_header.
8526 * configure: Regenerate.
8527 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8528
8529 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8530
8531 * configure.ac (tm_file_): New variable.
8532 Determine from tm_file.
8533 (tm_file, tm_defines): Substitute.
8534 * configure: Regenerate.
8535 * mkheader.sh: New file.
8536 * Makefile.in (clean): Remove libgcc_tm.h.
8537 ($(objects)): Depend on libgcc_tm.h.
8538 (libgcc_tm_defines, libgcc_tm_file): New variables.
8539 (libgcc_tm.h, libgcc_tm.stamp): New targets.
8540 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8541 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8542 ($(extra-parts)): Depend on libgcc_tm.h.
8543 * config.host (tm_defines, tm_file): New variable.
8544 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8545 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8546 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8547 (avr-*-rtems*): Likewise.
8548 (avr-*-*): Likewise.
8549 (frv-*-elf): Likewise.
8550 (frv-*-*linux*): Likewise.
8551 (h8300-*-rtems*): Likewise.
8552 (h8300-*-elf*): Likewise.
8553 (i[34567]86-*-darwin*): Likewise.
8554 (x86_64-*-darwin*): Likewise.
8555 (rx-*-elf): Likewise.
8556 (tic6x-*-uclinux): Likewise.
8557 (tic6x-*-elf): Likewise.
8558 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8559 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8560 * config/i386/cygming-crtbegin.c: Likewise.
8561 * config/i386/cygming-crtend.c: Likewise.
8562 * config/ia64/fde-vms.c: Likewise.
8563 * config/ia64/unwind-ia64.c: Likewise.
8564 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8565 * config/rs6000/darwin-fallback.c: Likewise.
8566 * config/stormy16/lib2funcs.c: Likewise.
8567 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8568 * crtstuff.c: Likewise.
8569 * dfp-bit.h: Likewise.
8570 * emutls.c: Likewise.
8571 * fixed-bit.c: Likewise.
8572 * fp-bit.c: Likewise.
8573 * generic-morestack-thread.c: Likewise.
8574 * generic-morestack.c: Likewise.
8575 * libgcc2.c: Likewise.
8576 * libgcov.c: Likewise.
8577 * unwind-dw2-fde-dip.c: Likewise.
8578 * unwind-dw2-fde.c: Likewise.
8579 * unwind-dw2.c: Likewise.
8580 * unwind-sjlj.c: Likewise.
8581
8582 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8583
8584 * configure.ac: Include ../config/picflag.m4.
8585 (GCC_PICFLAG): Call it.
8586 Substitute.
8587 * configure: Regenerate.
8588 * Makefile.in (gcc_srcdir): Remove.
8589 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8590 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8591 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8592 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8593 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8594 Use $<.
8595 Remove comment.
8596 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8597 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8598 to refer to libgcc2.c.
8599 Use $<.
8600 * config/darwin-64.c: New file.
8601 * config/darwin-crt3.c: Remove comment.
8602 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8603 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8604 config/udivmodsi4.c: New files.
8605 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8606 config/memset.c: New files.
8607 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8608 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8609 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8610 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8611 * config/t-openbsd-thread: New file.
8612 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8613 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8614 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8615 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8616 qrnnd.S.
8617 Adapt filename.
8618 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8619 to refer to gthr-posix.c.
8620 * config/alpha/t-vms (LIB2ADD): Set.
8621 * config/alpha/vms-gcc_shell_handler.c: New file.
8622 * config/arm/bpabi.c, config/arm/fp16.c,
8623 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8624 config/arm/unaligned-funcs.c: New files.
8625 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8626 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8627 * config/arm/t-linux: Likewise.
8628 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8629 * config/arm/t-netbsd: New file.
8630 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8631 * config/arm/t-symbian (LIB2ADD_ST): Set.
8632 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8633 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8634 * config/bfin/t-elf: New file.
8635 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8636 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8637 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8638 config/c6x/ltf.c: New files.
8639 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8640 (HOST_LIBGCC2_CFLAGS): Set.
8641 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8642 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8643 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8644 New files.
8645 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8646 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8647 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8648 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8649 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8650 files.
8651 * config/frv/t-frv (LIB2ADD): Set.
8652 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8653 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8654 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8655 config/h8300/popcounthi2.c: New files.
8656 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8657 * config/i386/gthr-win32.c: New file.
8658 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8659 * config/i386/t-cygwin: Likewise.
8660 * config/i386/t-darwin, config/i386/t-darwin64,
8661 config/i386/t-gthr-win32, config/i386/t-interix: New files.
8662 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8663 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8664 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8665 * config/ia64/quadlib.c: New file.
8666 * config/ia64/t-hpux (LIB2ADD): Set.
8667 * config/ia64/t-ia64: Add comment.
8668 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8669 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8670 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8671 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8672 * config/m32c/t-m32c (LIB2ADD): Set.
8673 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8674 * config/m32r/t-m32r: Likewise.
8675 * config/m68k/fpgnulib.c: New file.
8676 * config/m68k/t-floatlib (LIB2ADD): Set.
8677 (xfgnulib.c): New target.
8678 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8679 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8680 * config/mep/t-mep (LIB2ADD): Set.
8681 * config/microblaze/divsi3.asm: Rename to divsi3.S.
8682 * config/microblaze/moddi3.asm: Rename to moddi3.S.
8683 * config/microblaze/modsi3.asm: Rename to modsi3.S.
8684 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8685 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8686 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8687 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8688 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8689 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8690 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8691 New files.
8692 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8693 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8694 * config/pa/fptr.c, config/pa/lib2funcs.S,
8695 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8696 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8697 (LIB2ADD, LIB2ADD_ST): Set.
8698 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8699 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8700 Set.
8701 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8702 * config/pdp11/t-pdp11: New file.
8703 * config/picochip/libgccExtras/adddi3.S,
8704 config/picochip/libgccExtras/ashlsi3.S,
8705 config/picochip/libgccExtras/ashrsi3.S,
8706 config/picochip/libgccExtras/clzsi2.S,
8707 config/picochip/libgccExtras/cmpsi2.S,
8708 config/picochip/libgccExtras/divmod15.S,
8709 config/picochip/libgccExtras/divmodhi4.S,
8710 config/picochip/libgccExtras/divmodsi4.S,
8711 config/picochip/libgccExtras/lshrsi3.S,
8712 config/picochip/libgccExtras/parityhi2.S,
8713 config/picochip/libgccExtras/popcounthi2.S,
8714 config/picochip/libgccExtras/subdi3.S,
8715 config/picochip/libgccExtras/ucmpsi2.S,
8716 config/picochip/libgccExtras/udivmodhi4.S,
8717 config/picochip/libgccExtras/udivmodsi4.S: New files.
8718 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8719 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8720 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8721 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8722 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8723 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8724 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8725 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8726 files.
8727 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8728 (HOST_LIBGCC2_CFLAGS): Set.
8729 * config/rs6000/t-darwin64: New file.
8730 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8731 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8732 * config/rs6000/t-ppccomm (LIB2ADD): Add
8733 $(srcdir)/config/rs6000/tramp.S.
8734 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8735 Add $(srcdir)/config/rs6000/eabi.S.
8736 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8737 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8738 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8739 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8740 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8741 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8742 * config/rs6000/tramp.S: New file.
8743 * config/s390/t-tpf: Remove.
8744 * config/sh/linux-atomic.S: New file.
8745 * config/sh/t-linux (LIB2ADD): Set.
8746 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8747 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8748 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8749 to unwind-dw2.c.
8750 (HOST_LIBGCC2_CFLAGS): Set.
8751 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8752 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8753 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8754 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8755 config/spu/mfc_multi_tag_release.c,
8756 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8757 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8758 config/spu/multi3.c: New files.
8759 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8760 (HOST_LIBGCC2_CFLAGS): Set.
8761 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8762 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8763 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8764 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8765 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8766 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8767 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8768 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8769 config/stormy16/umodsi3.c: New files.
8770 * config/xtensa/lib2funcs.S: New file.
8771 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8772 * config/xtensa/t-xtensa (LIB2ADD): Set.
8773 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8774 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8775 Add t-freebsd-thread to tmake_file for posix threads.
8776 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8777 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8778 (*-*-lynxos*): Likewise.
8779 (*-*-netbsd*): Likewise.
8780 (*-*-openbsd*): Likewise.
8781 Add t-openbsd-thread to tmake_file for posix threads.
8782 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8783 (*-*-vxworks*): Set tmake_file.
8784 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8785 (alpha*-*-freebsd*): Likewise.
8786 (alpha*-*-netbsd*): Likewise.
8787 (alpha*-*-openbsd*): Likewise.
8788 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8789 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8790 (alpha*-dec-*vms*): Likewise.
8791 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8792 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8793 (bfin*-uclinux*): Likewise.
8794 (bfin*-linux-uclibc*): Likewise.
8795 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8796 (crisv32-*-none): Likewise.
8797 (cris-*-elf): Likewise.
8798 (cris-*-none): Likewise.
8799 (cris-*-linux*, crisv32-*-linux*): Likewise.
8800 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8801 tmake_file.
8802 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8803 tmake_file.
8804 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8805 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8806 (x86_64-*-elf*): Likewise.
8807 (i[34567]86-*-nto-qnx*): Likewise.
8808 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8809 win32 threads.
8810 (x86_64-*-mingw*): Likewise.
8811 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8812 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8813 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8814 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8815 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8816 tmake_file.
8817 (mipsisa64sr71k-*-elf*): Likewise.
8818 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8819 (mips-*-elf*, mipsel-*-elf*): Likewise.
8820 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8821 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8822 (mips*-*-rtems*): Likewise.
8823 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8824 to tmake_file.
8825 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8826 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8827 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8828 (spu-*-elf*): Likewise.
8829 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8830
8831 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8832
8833 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8834 $(srcdir) to refer to $(LIB1ASMSRC).
8835 Use $<.
8836 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8837 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8838 config/arm/lib1funcs.S: New files.
8839 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8840 * config/arm/t-arm: New file.
8841 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8842 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8843 config/arm/t-strongarm-elf: New files.
8844 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8845 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8846 * config/avr/lib1funcs.S: New file.
8847 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8848 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8849 * config/c6x/lib1funcs.S: New file.
8850 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8851 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8852 * config/frv/lib1funcs.S: New file.
8853 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8854 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8855 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8856 * config/ia64/__divxf3.asm: Rename to ...
8857 * config/ia64/__divxf3.S: ... this.
8858 Adapt lib1funcs.asm filename.
8859 * config/ia64/_fixtfdi.asm: Rename to ...
8860 * config/ia64/_fixtfdi.S: ... this.
8861 Adapt lib1funcs.asm filename.
8862 * config/ia64/_fixunstfdi.asm: Rename to ...
8863 * config/ia64/_fixunstfdi.S: ... this.
8864 Adapt lib1funcs.asm filename.
8865 * config/ia64/_floatditf.asm: Rename to ...
8866 * config/ia64/_floatditf.S: ... this.
8867 Adapt lib1funcs.asm filename.
8868 * config/ia64/lib1funcs.S: New file.
8869 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8870 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8871 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
8872 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
8873 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
8874 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
8875 * config/mep/lib1funcs.S: New file.
8876 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8877 * config/mips/mips16.S: New file.
8878 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8879 * config/pa/milli64.S: New file.
8880 * config/pa/t-linux, config/pa/t-linux64: New files.
8881 * config/picochip/lib1funcs.S: New file.
8882 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8883 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
8884 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
8885 * config/sh/t-netbsd: New file.
8886 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
8887 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
8888 * config/sh/t-sh64: New file.
8889 * config/sparc/lb1spc.S: New file.
8890 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
8891 filename.
8892 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
8893 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
8894 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
8895 config/xtensa/lib1funcs.S: New files.
8896 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8897 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
8898 tmake_file.
8899 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
8900 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
8901 (arm*-*-linux*): Likewise.
8902 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
8903 arm*-*-linux-*eabi, add arm/t-linux otherwise.
8904 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
8905 (arm*-*-ecos-elf): Likewise.
8906 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8907 (arm*-*-rtems*): Likewise.
8908 (arm*-*-elf): Likewise.
8909 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
8910 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
8911 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
8912 (bfin*-uclinux*): Likewise.
8913 (bfin*-linux-uclibc*): Likewise.
8914 (bfin*-rtems*): Likewise.
8915 (bfin*-*): Likewise.
8916 (fido-*-elf): Merge into m68k-*-elf*.
8917 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
8918 (frv-*-*linux*): Add frv/t-frv to tmake_file.
8919 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
8920 (h8300-*-elf*): Likewise.
8921 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
8922 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
8923 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
8924 (i[34567]86-*-mingw*): Likewise.
8925 (x86_64-*-mingw*): Likewise.
8926 (i[34567]86-*-interix3*): Likewise.
8927 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
8928 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
8929 (m68k-*-elf*): Also handle fido-*-elf.
8930 Add m68k/t-floatlib to tmake_file.
8931 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8932 (m68k-*-linux*): Likewise.
8933 (m68k-*-rtems*): Likewise.
8934 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8935 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8936 sh64*-*-*.
8937 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8938 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8939 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8940 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8941 sh/t-netbsd to tmake_file.
8942 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8943 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8944 (sh-wrs-vxworks): Likewise.
8945 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8946 *-leon[3-9]*.
8947 (v850*-*-*): Add v850/t-v850 to tmake_file.
8948 (vax-*-linux*): Add vax/t-linux to tmake_file.
8949 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8950
8951 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8952
8953 * crtstuff.c: New file.
8954 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8955 (CRTSTUFF_T_CFLAGS): Define.
8956 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8957 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8958 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8959 crtstuff.c.
8960 Use $<.
8961 (crtbeginT.o): Use $(objext).
8962 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8963 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8964 (gcc-extra-parts): Remove.
8965 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8966 Set extra_parts.
8967 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8968 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8969 Add t-crtstuff-pic to tmake_file.
8970 (*-*-lynxos*): New case.
8971 Set tmake_file, extra_parts.
8972 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8973 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8974 *-*-netbsdelf[2-9]*.
8975 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8976 (*-*-rtems*): Set extra_parts.
8977 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8978 (*-*-uclinux*): New case.
8979 Set extra_parts.
8980 (*-*-vms*): New case.
8981 Set tmake_file, extra_parts.
8982 (*-*-elf): Set extra_parts.
8983 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8984 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8985 vms/t-vms64.
8986 Set extra_parts.
8987 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8988 Set extra_parts.
8989 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8990 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8991 (arm-wrs-vxworks): Append to tmake_file.
8992 Set extra_parts.
8993 (arm*-*-uclinux*): Set extra_parts.
8994 (arm*-*-ecos-elf): Likewise.
8995 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8996 arm*-*-eabi*.
8997 (arm*-*-rtems*): Set extra_parts.
8998 (arm*-*-elf): Likewise.
8999 (avr-*-rtems*): Clear extra_parts.
9000 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9001 Set extra_parts.
9002 (bfin*-uclinux*): Likewise.
9003 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9004 (bfin*-rtems*): Append to tmake_file.
9005 Set extra_parts.
9006 (bfin*-*): Likewise.
9007 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9008 (crisv32-*-elf): ... this.
9009 (crisv32-*-none): ... this.
9010 (cris-*-elf, cris-*-none): New cases.
9011 Add cris/t-elfmulti to tmake_file.
9012 (fr30-*-elf): Append to tmake_file.
9013 Set extra_parts.
9014 (frv-*-elf): Append to tmake_file, add frv/t-frv.
9015 Set extra_parts.
9016 (h8300-*-rtems*): Append to tmake_file.
9017 Set extra_parts.
9018 (h8300-*-elf*): Likewise.
9019 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9020 Set extra_parts.
9021 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9022 Set extra_parts.
9023 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9024 (x86_64-*-elf*): Likewise.
9025 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9026 (x86_64-*-freebsd*): Likewise.
9027 (x86_64-*-netbsd*): Likewise.
9028 (i[34567]86-*-linux*): Likewise.
9029 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9030 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9031 (x86_64-*-linux*): Likewise.
9032 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9033 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9034 tmake_file.
9035 Set extra_parts.
9036 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9037 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9038 Append to extra_parts, remove crtbegin.o, crtend.o.
9039 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9040 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9041 crtend.o, crtbeginS.o, crtendS.o.
9042 (ia64*-*-linux*): Comment extra_parts.
9043 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9044 Set extra_parts.
9045 (iq2000*-*-elf*): Clear extra_parts.
9046 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9047 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9048 (m32r-*-elf*, m32r-*-rtems*): Split off ...
9049 (m32r-*-rtems*): ... this.
9050 Add m32r/t-m32r to tmake_file.
9051 (m68k-*-elf*): Add t-crtin to tmake_file.
9052 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9053 (mcore-*-elf): Likewise.
9054 (microblaze*-*-*): Set extra_parts.
9055 (mips*-sde-elf*): New case.
9056 Set tmake_file, extra_parts.
9057 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9058 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9059 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9060 tmake_file.
9061 Set extra_parts.
9062 (mipsisa64sr71k-*-elf*): Likewise.
9063 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9064 (mips-*-elf*, mipsel-*-elf*): Likewise.
9065 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9066 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9067 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9068 (mips*-*-rtems*): Likewise.
9069 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9070 (moxie-*-*): Split into ...
9071 (moxie-*-elf, moxie-*-uclinux*): ... this.
9072 Add to extra_parts, remove crtbegin.o, crtend.o.
9073 (moxie-*-rtems*): New case.
9074 Set tmake_file.
9075 Clear extra_parts.
9076 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9077 Set extra_parts.
9078 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9079 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9080 tmake_file.
9081 Set extra_parts.
9082 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9083 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9084 Set extra_parts.
9085 (powerpc-*-eabisim*): Likewise.
9086 (powerpc-*-elf*): Likewise.
9087 (powerpc-*-eabialtivec*): Likewise.
9088 (powerpc-xilinx-eabi*): Likewise.
9089 (powerpc-*-eabi*): Likewise.
9090 (powerpc-*-rtems*): Likewise.
9091 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9092 tmake_file.
9093 Set extra_parts.
9094 (powerpc-*-lynxos*): Add to tmake_file.
9095 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9096 rs6000/t-crtstuff, t-crtstuff-pic.
9097 Set extra_parts.
9098 (powerpcle-*-eabisim*): Likewise.
9099 (powerpcle-*-eabi*): Likewise.
9100 (rx-*-elf): Remove extra_parts.
9101 (s390x-ibm-tpf*): Set extra_parts.
9102 (score-*-elf): Set extra_parts.
9103 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9104 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9105 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9106 (sh64l*-*-netbsd*): Split into ...
9107 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9108 Add t-crtstuff-pic to tmake_file.
9109 Set extra_parts.
9110 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9111 Set extra_parts.
9112 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9113 (sparc-*-elf*): Remove t-crtin from tmake_file.
9114 Add to extra_parts, remove crtbegin.o, crtend.o.
9115 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9116 (sparc64-*-linux*): Likewise.
9117 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9118 Add to extra_parts, remove crtbegin.o, crtend.o.
9119 (sparc64-*-elf*): Remove t-crtin from tmake_file.
9120 Add to extra_parts, remove crtbegin.o, crtend.o.
9121 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9122 Add to extra_parts, remove crtbegin.o, crtend.o.
9123 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9124 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9125 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9126 Set extra_parts.
9127 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9128 Set extra_parts.
9129 (tic6x-*-*): Change to ...
9130 (tic6x-*-elf): ... this.
9131 Set extra_parts.
9132 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9133 Set extra_parts.
9134 (am33_2.0-*-linux*): Add comment.
9135 (mep*-*-*): Add mep/t-mep to tmake_file.
9136 Set extra_parts.
9137 * config/alpha/t-vms: New file.
9138 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9139 * config/arm/crti.S, config/arm/crtn.S: New files.
9140 * config/bfin/crti.S, config/bfin/crtn.S: New files.
9141 * config/bfin/crtlibid.S: New file.
9142 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9143 * config/c6x/crti.S, config/c6x/crtn.S: New files.
9144 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9145 (crti.o, crtin.o): New rules.
9146 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9147 * config/c6x/t-uclinux: New file.
9148 * config/cris/t-elfmulti: New file.
9149 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9150 * config/fr30/crti.S, config/fr30/crtn.S: New files.
9151 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9152 * config/frv/t-frv: New file.
9153 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9154 * config/h8300/crti.S, config/h8300/crtn.S: New files.
9155 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9156 New files.
9157 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9158 refer to cygming-crtbegin.c, cygming-crtend.c.
9159 Use $<.
9160 * config/i386/t-nto: New file.
9161 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9162 * config/ia64/crti.S, config/ia64/crtn.S: New files.
9163 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9164 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9165 Use .S extension.
9166 Use $<.
9167 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9168 (crtinitS.o): New rule.
9169 * config/ia64/vms-crtinit.S: New file.
9170 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9171 * config/m32r/initfini.c: New file.
9172 * config/m32r/t-linux, config/m32r/t-m32r: New files.
9173 * config/m68k/crti.S, config/m68k/crtn.S: New files.
9174 * config/mcore/crti.S, config/mcore/crtn.S: New files.
9175 * config/mep/t-mep: New file.
9176 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9177 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9178 * config/mips/crti.S, config/mips/crtn.S: New files.
9179 * config/mips/t-crtstuff: New file.
9180 * config/mmix/crti.S, config/mmix/crtn.S: New files.
9181 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9182 (CUSTOM_CRTIN): Set.
9183 ($(T)crti.o, $(T)crtn.o): Remove $(T),
9184 dependencies.
9185 Use $(srcdir) to refer to crti.S, crtn.S.
9186 Use .S extension, $<.
9187 * config/moxie/crti.asm: Rename to ...
9188 * config/moxie/crti.S: ... this.
9189 * config/moxie/crtn.asm: Rename to ...
9190 * config/moxie/crtn.S: ... this.
9191 * config/moxie/t-moxie: Remove.
9192 * config/pa/stublib.c: New file.
9193 * config/pa/t-stublib, config/pa/t-stublib64: New files.
9194 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9195 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9196 * config/rs6000/t-crtstuff: New file.
9197 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9198 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9199 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9200 Make output file explicit.
9201 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9202 Make output file explicit.
9203 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9204 Make output file explicit.
9205 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9206 Make output file explicit.
9207 * config/score/crti.S, config/score/crtn.S: New files.
9208 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9209 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9210 files.
9211 * config/sh/t-sh, config/sh/t-superh: New files.
9212 * config/sparc/t-linux64: New file.
9213 * config/spu/cache.S, config/spu/cachemgr.c: New files.
9214 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9215 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9216 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9217 * config/t-crtin: Remove.
9218 * config/t-crtstuff-pic: New file.
9219 * config/t-sol2 (CUSTOM_CRTIN): Set.
9220 (crti.o, crtn.o): New rules.
9221 * config/vms/t-vms: New file.
9222 * config/vms/vms-ucrt0.c: New file.
9223 * config/xtensa/t-elf: New file.
9224
9225 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9226
9227 * Makefile.in (SHLIB_NM_FLAGS): Set.
9228 * mkmap-flat.awk, mkmap-symver.awk: New files.
9229 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9230 exceptions.
9231 * configure: Regenerate.
9232 * config/libgcc-glibc.ver: New file.
9233 * config/libgcc-libsystem.ver: New file.
9234 * config/t-libunwind (SHLIB_LC): Set.
9235 * config/t-linux: New file.
9236 * config/t-slibgcc (INSTALL_SHLIB): New.
9237 (SHLIB_INSTALL): Use it.
9238 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9239 to mkmap-symver.awk.
9240 (SHLIB_MAPFILES): Don't append, adapt pathname.
9241 (SHLIB_VERPFX): Set.
9242 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9243 to mkmap-symver.awk.
9244 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9245 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9246 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9247 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9248 to mkmap-flat.awk.
9249 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9250 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9251 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9252 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9253 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9254 * config/i386/libgcc-darwin.10.4.ver,
9255 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9256 New files.
9257 * config/i386/t-darwin: Remove.
9258 * config/i386/t-darwin64: Likewise.
9259 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9260 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9261 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9262 * config/i386/t-linux: New file.
9263 * config/i386/t-mingw32: New file.
9264 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9265 * config/ia64/t-glibc: Rename to ...
9266 * config/ia64/t-linux: ... this.
9267 (SHLIB_MAPFILES): Set.
9268 * config/ia64/t-glibc-libunwind: Rename to ...
9269 * config/ia64/t-linux-libunwind: ... this.
9270 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9271 * config/ia64/t-slibgcc-hpux: New file.
9272 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9273 * config/m68k/t-slibgcc-elf-ver: New file.
9274 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9275 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9276 to mkmap-flat.awk.
9277 * config/pa/t-slibgcc-hpux: New file.
9278 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9279 files.
9280 * config/rs6000/libgcc-darwin.10.4.ver,
9281 config/rs6000/libgcc-darwin.10.5.ver: New files.
9282 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9283 config/rs6000/libgcc-glibc.ver.
9284 * config/rs6000/libgcc-ppc64.ver: Rename to
9285 config/rs6000/libgcc-ibm-ldouble.ver.
9286 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9287 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9288 * config/rs6000/t-ldbl128: Rename to ...
9289 * config/rs6000/t-linux: ... this.
9290 (SHLIB_MAPFILES): Adapt filename.
9291 * config/rs6000/t-slibgcc-aix: New file.
9292 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9293 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9294 libgcc-excl.ver, libgcc-glibc.ver.
9295 (SHLIB_LINK, SHLIB_INSTALL): Remove.
9296 * config/sparc/libgcc-glibc.ver: New file.
9297 * config/sparc/t-linux: New file.
9298 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9299 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9300 t-slibgcc-elf-ver to tmake_file.
9301 Add t-slibgcc-nolc-override to tmake_file for posix threads on
9302 *-*-freebsd[34].
9303 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9304 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9305 t-slibgcc-elf-ver, t-linux to tmake_file.
9306 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9307 tmake_file.
9308 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9309 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9310 (alpha*-dec-*vms*): Likewise.
9311 (arm*-*-freebsd*): Append to tmake_file.
9312 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9313 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9314 arm*-*-linux-*eabi.
9315 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9316 tmake_file for arm*-*-symbianelf*.
9317 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9318 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9319 cris/t-linux.
9320 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9321 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9322 pa/t-slibgcc-dwarf-ver to tmake_file.
9323 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9324 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9325 (hppa*64*-*-hpux11*): Likewise.
9326 (hppa[12]*-*-hpux11*): Likewise.
9327 (x86_64-*-darwin*): Don't override tmake_file, but only keep
9328 i386/t-crtpc, i386/t-crtfm.
9329 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9330 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9331 to tmake_file.
9332 Add i386/t-cygwin to tmake_file.
9333 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9334 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9335 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9336 to tmake_file.
9337 Add i386/t-mingw32 to tmake_file.
9338 (x86_64-*-mingw*): Likewise.
9339 (ia64*-*-freebsd*): Append to tmake_file.
9340 (ia64*-*-linux*): Append to tmake_file.
9341 Replace ia64/t-glibc by ia64/t-linux.
9342 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9343 system libunwind.
9344 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9345 t-slibgcc-hpux to tmake_file.
9346 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9347 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9348 (m32rle-*-linux*): Likewise.
9349 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9350 sjlj exceptions.
9351 (microblaze*-linux*): New case.
9352 Append to tmake_file, add t-slibgcc-nolc-override.
9353 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9354 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9355 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9356 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9357 rs6000/t-slibgcc-aix to tmake_file.
9358 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9359 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9360 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9361 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9362 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9363 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9364 sh*-*-linux*.
9365 (sparc-*-linux*): Append to tmake_file for *-leon*.
9366 Add sparc/t-linux to tmake_file for non-Leon targets.
9367 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9368 (tic6x-*-uclinux): New case.
9369 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9370 (tic6x-*-*): Add c6x/t-elf to tmake_file.
9371 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9372 (am33_2.0-*-linux*): Append to tmake_file.
9373 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9374 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9375 x86_64-*-kfreebsd*-gnu.
9376 Add i386/t-linux to tmake_file.
9377
9378 2011-10-28 Ian Lance Taylor <iant@google.com>
9379
9380 * config/i386/morestack.S: Correct CFI information to do proper
9381 returns throughout function. In 32-bit mode, save %ebx so that it
9382 is restored on unwind.
9383
9384 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
9385
9386 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9387 case where B3 isn't the return register.
9388
9389 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9390 logic for doubleword pops.
9391
9392 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
9393
9394 * config/rs6000/t-freebsd: Add wildcard.
9395
9396 2011-10-21 Paul Brook <paul@codesourcery.com>
9397
9398 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9399
9400 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
9401 Eric Botcazou <ebotcazou@adacore.com>
9402
9403 PR target/50737
9404 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9405 fs->signal_frame to 1.
9406
9407 2011-10-07 Ian Lance Taylor <iant@google.com>
9408
9409 * generic-morestack-thread.c: #include <errno.h>.
9410
9411 2011-10-07 Ian Lance Taylor <iant@google.com>
9412
9413 PR target/46093
9414 * generic-morestack.c (__generic_morestack): Make sure the segment
9415 is large enough for both the stack frame and the copied
9416 parameters.
9417
9418 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9419
9420 PR bootstrap/49804
9421 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9422 extra_parts.
9423
9424 2011-09-28 Nick Clifton <nickc@redhat.com>
9425
9426 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9427 64-bit doubles are not enabled.
9428 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9429 and floatunsisf functions.
9430
9431 2011-09-13 Paul Brook <paul@codesourcery.com>
9432
9433 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
9434 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9435 * unwind-arm-common.inc: New file.
9436 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9437 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9438 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9439 * config/c6x/libunwind.S: New file.
9440 * config/c6x/pr-support.c: New file.
9441 * config/c6x/unwind-c6x.c: New file.
9442 * config/c6x/unwind-c6x.h: New file.
9443 * config/c6x/t-c6x-elf: New file.
9444
9445 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
9446
9447 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9448 (ASM_DIVZERO): Ditto.
9449 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9450
9451 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
9452
9453 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9454
9455 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
9456
9457 PR target/50090
9458 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9459 instead of an assembly one.
9460
9461 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
9462
9463 PR bootstrap/50047
9464 * Makefile.in (install-unwind_h): Create
9465 $(gcc_objdir)/include/unwind.h atomically.
9466
9467 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9468
9469 * Makefile.in (install-unwind_h): Remove destination file first.
9470
9471 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9472
9473 * sync.c: New file.
9474 * config/mips/t-mips16: New file.
9475 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9476 (mips*-*-linux*): Likewise.
9477 (mips*-sde-elf*): Likewise.
9478 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9479 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9480 Add mips/t-mips16 to tmake_file.
9481 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9482 (mips-*-elf*): Likewise.
9483 (mips64-*-elf*): Likewise.
9484 (mips64orion-*-elf*): Likewise.
9485 (mips*-*-rtems*): Likewise.
9486 (mipstx39-*-elf*): Likewise.
9487 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9488 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9489 LIBGCC_SYNC_CFLAGS.
9490 Use $(srcdir) to refer to sync.c.
9491 Use $<.
9492 ($(libgcc-sync-funcs-o)): Likewise.
9493 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9494 ($(libgcc-sync-funcs-s-o)): Likewise.
9495
9496 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9497
9498 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9499 t-libunwind.
9500
9501 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
9502
9503 PR other/48007
9504 * config/i386/value-unwind.h: New.
9505
9506 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
9507
9508 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9509 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9510 Add to tmake_file rather than overriding it.
9511
9512 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9513
9514 * config/t-softfp: Remove.
9515 * soft-fp: Moved from ../gcc/config.
9516 * soft-fp/README: Remove t-softfp reference.
9517 * soft-fp/t-softfp: Move to config/t-softfp.
9518 (softfp_machine_header): Remove.
9519 (softfp_file_list): Remove config subdir.
9520 (soft-fp-objects): New variable.
9521 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9522 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9523 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9524 * config/t-softfp-excl: New file.
9525 * config/t-softfp-sfdf: New file.
9526 * config/t-softfp-tf: New file.
9527 * config/no-sfp-machine.h: New file.
9528 * config/arm/sfp-machine.h: New file.
9529 * config/arm/t-softfp: New file.
9530 * config/c6x/sfp-machine.h: New file.
9531 * config/i386/32/t-fprules-softfp: Rename to ...
9532 * config/i386/32/t-softfp: ... this.
9533 (tifunctions, LIB2ADD): Remove.
9534 (softfp_int_modes): Override.
9535 * config/i386/64/t-softfp-compat (tf-functions): Remove config
9536 subdir.
9537 * config/i386/64/eqtf2.c: Likewise.
9538 * config/i386/64/getf2.c: Likewise.
9539 * config/i386/64/letf2.c: Likewise.
9540 * config/ia64/sft-machine.h: New file.
9541 * config/ia64/t-fprules-softfp: Rename to ...
9542 * config/ia64/t-softfp: ... this.
9543 * config/lm32/sfp-machine.h: New file.
9544 * config/moxie/t-moxie-softfp: Remove.
9545 * config/rs6000/ibm-ldouble-format: New file.
9546 * config/rs6000/ibm-ldouble.c: New file.
9547 * config/rs6000/libgcc-ppc-glibc.ver: New file
9548 * config/rs6000/libgcc-ppc64.ver: New file
9549 * config/rs6000/sfp-machine.h: New file.
9550 * config/rs6000/t-freebsd: New file.
9551 * config/rs6000/t-ibm-ldouble: New file.
9552 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9553 libgcc-ppc-glibc.ver.
9554 * config/rs6000/t-linux64: New file.
9555 * config/rs6000/t-ppccomm (LIB2ADD): Add
9556 $(srcdir)/config/rs6000/ibm-ldouble.c.
9557 * config/rs6000/t-ppccomm-ldbl: New file.
9558 * config/score/sfp-machine.h: New file.
9559 * config.host (sfp_machine_header): Explain.
9560 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9561 t-softfp to tmake_file.
9562 (arm*-*-uclinux*): Likewise.
9563 (arm*-*-ecos-elf): Likewise.
9564 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9565 (arm*-*-rtems*): Likewise.
9566 (arm*-*-elf): Likewise.
9567 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9568 in tmake_file.
9569 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9570 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9571 (lm32-*-uclinux*): Likewise.
9572 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9573 t-softfp-excl, t-softfp.
9574 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9575 (powerpc64-*-darwin*): Likewise.
9576 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9577 to tmake_file.
9578 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9579 tmake_file.
9580 (powerpc-*-eabisim*): Likewise.
9581 (powerpc-*-elf*): Likewise.
9582 (powerpc-*-eabialtivec*): Likewise.
9583 (powerpc-xilinx-eabi*): Likewise.
9584 (powerpc-*-rtems*): Likewise.
9585 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9586 t-softfp-excl, t-softfp to tmake_file.
9587 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9588 rs6000/t-ppccomm-ldbl to tmake_file.
9589 (powerpcle-*-elf*): Likewise.
9590 (powerpcle-*-eabisim*): Likewise.
9591 (powerpcle-*-eabi*): Likewise.
9592 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9593 rs6000/t-ibm-ldouble to tmake_file.
9594 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9595 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9596 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9597 (tic6x-*-*): Likewise.
9598 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9599 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9600 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9601 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9602 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9603 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9604 t-softfp to tmake_file.
9605 * configure.ac (sfp_machine_header): Provide default if unset.
9606 Substitute.
9607 Link sfp-machine.h to config/$sfp_machine_header.
9608 * configure: Regenerate.
9609
9610 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9611
9612 * Makefile.in (double_type_size, long_double_type_size): Set.
9613 Remove $(fpbit-in-libgcc) support.
9614 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9615 (fpbit-src): New variable.
9616 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9617 Compile with -DFLOAT $(FPBIT_CFLAGS).
9618 Use $<.
9619 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9620 Compile with $(FPBIT_CFLAGS).
9621 Use $<.
9622 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9623 Compile with -DFLOAT $(TPBIT_CFLAGS).
9624 Use $<.
9625 * configure.ac (double_type_size, long_double_type_size):
9626 Determine and substitute.
9627 * configure: Regenerate.
9628 * fp-bit.c, fp-bit.h: New files.
9629 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9630 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9631 * config/mips/t-mips: New file.
9632 * config/mips/t-sdemtk: New file.
9633 * config/rs6000/ppc64-fp.c: New file.
9634 * config/rs6000/t-darwin (LIB2ADD): Add
9635 $(srcdir)/config/rs6000/ppc64-fp.c.
9636 * config/rs6000/t-ppc64-fp: New file.
9637 * config/rx/rx-lib.h: New file.
9638 * config/rx/t-rx (FPBIT): Set to true.
9639 ($(gcc_objdir)/fp-bit.c): Remove.
9640 (DPBIT): Set to true only with -m64bit-doubles.
9641 ($(gcc_objdir)/dp-bit.c): Remove.
9642 * config/sparc/t-softfp: Remove.
9643 * config/spu/t-elf: New file.
9644 * config/t-fdpbit, config/t-fpbit: New files.
9645 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9646 (mips*-*-*): Likewise.
9647 (arm-wrs-vxworks): Likewise.
9648 (arm*-*-freebsd*): Likewise.
9649 (avr-*-rtems*): Add t-fpbit to tmake_file.
9650 (avr-*-*): Likewise.
9651 (bfin*-elf*): Add t-fdpbit to tmake_file.
9652 (bfin*-uclinux*): Likewise.
9653 (bfin*-linux-uclibc*): Likewise.
9654 (bfin*-rtems*): New case.
9655 Add t-fdpbit to tmake_file.
9656 (bfin*-*): Add t-fdpbit to tmake_file.
9657 (crisv32-*-elf): Likewise.
9658 (cris-*-linux*): Likewise.
9659 (fr30-*-elf): Likewise.
9660 (frv-*-elf, frv-*-*linux*): Likewise.
9661 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9662 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9663 (m32r-*-elf*): Likewise.
9664 (m32rle-*-elf*): Likewise.
9665 (m32r-*-linux*): Likewise.
9666 (m32rle-*-linux*): Likewise.
9667 (mcore-*-elf): Add t-fdpbit to tmake_file.
9668 (microblaze*-*-*): Likewise.
9669 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9670 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9671 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9672 Fix typo.
9673 Add mips/t-tpbit to tmake-file.
9674 (mips*-*-linux*): Fix typo.
9675 (mips*-sde-elf*): New case
9676 Add mips/t-sdemtk unless using newlib.
9677 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9678 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9679 (mn10300-*-*): Likewise.
9680 (pdp11-*-*): Likewise.
9681 (picochip-*-*): Add t-fpbit to tmake_file.
9682 (powerpc-*-eabisimaltivec*): Likewise.
9683 (powerpc-*-eabisim*): Likewise.
9684 (powerpc-*-elf*): Likewise.
9685 (powerpc-*-eabialtivec*): Likewise.
9686 (powerpc-xilinx-eabi*): New case.
9687 Add t-fdpbit to tmake_file.
9688 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
9689 (powerpc-*-rtems*): Likewise.
9690 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9691 tmake_file.
9692 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9693 tmake_file.
9694 (powerpc-*-lynxos*): Likewise.
9695 (powerpcle-*-elf*): Likewise.
9696 (powerpcle-*-eabisim*): Likewise.
9697 (powerpcle-*-eabi*): Likewise.
9698 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9699 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9700 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9701 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9702 (rx-*-elf): Add t-fdpbit to tmake_file.
9703 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9704 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9705 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9706 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9707 sh*-*-netbsd*.
9708 (sh-*-rtems*): Add t-fdpbit to tmake_file.
9709 (sh-wrs-vxworks): Likewise.
9710 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9711 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9712 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9713 (sparc64-*-rtems*): ... new case.
9714 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9715 (spu-*-elf*): Likewise.
9716 Add spu/t-elf to tmake_file.
9717 (v850*-*-*): Add t-fdpbit to tmake_file.
9718 (xstormy16-*-elf): Likewise.
9719 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9720 (mep*-*-*): Likewise.
9721
9722 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9723
9724 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9725 variables.
9726 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9727 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9728 (install-unwind_h): New target.
9729 (all): Depend on it.
9730 * config.host (unwind_header): New variable.
9731 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9732 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9733 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9734 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9735 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9736 Set unwind_header.
9737 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9738 Set unwind_header.
9739 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9740 arm*-*-eabi*.
9741 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9742 Set unwind_header.
9743 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9744 (ia64*-*-freebsd*): Likewise.
9745 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9746 tmake_file.
9747 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9748 $with_system_libunwind.
9749 (ia64*-*-hpux*): Set tmake_file.
9750 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9751 (picochip-*-*): Set tmake_file.
9752 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9753 md_unwind_header.
9754 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9755 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9756 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9757 (xtensa*-*-elf*): Set tmake_file.
9758 (xtensa*-*-linux*): Likewise.
9759 * configure.ac: Include ../config/unwind_ipinfo.m4.
9760 Call GCC_CHECK_UNWIND_GETIPINFO.
9761 Link unwind.h to $unwind_header.
9762 * configure: Regenerate.
9763 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9764 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9765 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9766 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9767 * config/unwind-dw2-fde-darwin.c: New file.
9768 * config/arm/libunwind.S, config/arm/pr-support.c,
9769 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9770 config/arm/unwind-arm.h,: New files.
9771 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9772 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9773 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9774 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9775 config/ia64/unwind-ia64.h: New files.
9776 * config/picochip/t-picochip: New file.
9777 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9778 files.
9779 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9780 * config/s390/t-tpf (LIB2ADDEH): Remove.
9781 * config/t-darwin (LIB2ADDEH): Set.
9782 * config/t-eh-dw2-dip: New file.
9783 * config/t-libunwind, config/t-libunwind-elf: New files.
9784 * config/t-sol2 (LIB2ADDEH): Remove.
9785 * config/xtensa/t-xtensa: New file.
9786
9787 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9788
9789 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9790 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9791 long long to check rt_sigreturn syscall.
9792
9793 2011-08-02 Alan Modra <amodra@gmail.com>
9794
9795 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9796 Restore for indirect call bcrtl from correct stack slot, and only
9797 if cfa+40 isn't valid.
9798
9799 2011-08-01 Julian Brown <julian@codesourcery.com>
9800
9801 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9802 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9803 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9804
9805 2011-08-01 Julian Brown <julian@codesourcery.com>
9806
9807 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9808 (libgcc-std.ver.in): Use above.
9809 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9810 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9811 throughout file.
9812 * config/t-fixedpoint-gnu-prefix: New file.
9813 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9814 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9815 instead of __PFX__.
9816
9817 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9818
9819 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9820 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9821 for x86-64. Properly check __x86_64__ and __LP64__.
9822
9823 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9824
9825 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9826 version.
9827 (_FP_WS_TYPE): Likewise.
9828 (_FP_I_TYPE): Likewise.
9829
9830 2011-07-28 Alan Modra <amodra@gmail.com>
9831
9832 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9833 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9834 in a plt call stub. Do restore r2 if stopped on bctrl.
9835
9836 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9837
9838 * config.host (i[3456x]86-*-netware*): Remove.
9839 * config/i386/netware-crt0.c, config/i386/t-nwld,
9840 config/i386/t-slibgcc-nwld: Remove.
9841
9842 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9843
9844 * config.host: Handle tic6x-*-*.
9845 * config/c6x/c6x-abi.h: New file.
9846
9847 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9848
9849 * config/i386/crtprec.c: New file.
9850 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9851 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9852 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9853 (x86_64-*-darwin*): Likewise.
9854 (i[34567]86-*-solaris2*: Likewise.
9855
9856 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9857
9858 * config/alpha/crtfastmath.c: New file.
9859 * config/i386/crtfastmath.c: New file.
9860 * config/ia64/crtfastmath.c: New file.
9861 * config/mips/crtfastmath.c: New file.
9862 * config/sparc/crtfastmath.c: New file.
9863
9864 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9865 crtfastmath.c.
9866 Add -frandom-seed=gcc-crtfastmath.
9867 * config/alpha/t-crtfm: Remove.
9868 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9869 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9870
9871 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
9872 (alpha*-dec-osf5.1*): Likewise.
9873 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
9874 Add crtfastmath.o to extra_parts.
9875 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
9876 Add crtfastmath.o to extra_parts.
9877 (x86_64-*-darwin*): Likewise.
9878 (x86_64-*-mingw*): Likewise.
9879 (ia64*-*-elf*): Add t-crtfm to tmake_file.
9880 (ia64*-*-freebsd*): Likewise.
9881 (ia64*-*-linux*): Likewise.
9882 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
9883 Add crtfastmath.o to extra_parts.
9884
9885 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9886
9887 * config/darwin-crt3.o: New file.
9888 * config/rs6000/darwin-crt2.c: New file.
9889 * config/t-darwin: New file.
9890 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
9891 (crt2.o): New rule.
9892 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
9893 (powerpc-*-darwin*): Add crt2.o to extra_parts.
9894 (powerpc64-*-darwin*): Likewise.
9895
9896 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9897
9898 * config/i386/netware-crt0.c: New file.
9899 * config/i386/t-nwld: Rename to ...
9900 * config/i386/t-slibgcc-nwld: ... this.
9901 * config/i386/t-nwld: New file.
9902 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
9903 tmake_file.
9904 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
9905 extra_parts.
9906
9907 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9908
9909 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
9910 i386/t-crtstuff.
9911 * configure: Regenerate.
9912
9913 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9914
9915 * dfp-bit.c, dfp-bit.h: New files.
9916 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
9917 variables.
9918 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
9919 ($(d64pbit-o)): Likewise.
9920 ($(d128pbit-o)): Likewise.
9921 * config/t-dfprules: New file.
9922 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
9923 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
9924 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9925 (x86_64-*-linux*): Likewise.
9926 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9927 (i[34567]86-*-cygwin*): Likewise.
9928 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
9929 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9930
9931 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9932
9933 * Makfile.in (LIBGCOV): New variable.
9934 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9935 * libgcov.c: New file.
9936
9937 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9938
9939 * fixed-bit.c, fixed-bit.h: New files.
9940 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9941 refer to fixed-bit.c.
9942
9943 2011-07-07 Joseph Myers <joseph@codesourcery.com>
9944
9945 * config.host (*local*): Remove.
9946
9947 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9948
9949 PR target/39150
9950 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9951 like i?86-*-solaris2.1[0-9]*.
9952 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9953 * configure.ac (i?86-*-solaris2*): Likewise.
9954 * configure: Regenerate.
9955
9956 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
9957
9958 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9959 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9960 md_unwind_header by splitting out of...
9961 (i[34567]86-*-linux*): ... this.
9962 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9963 Remove md_unwind_header by splitting out of...
9964 (x86_64-*-linux*): ... this.
9965
9966 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
9967
9968 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9969
9970 2011-06-28 Nick Clifton <nickc@redhat.com>
9971
9972 * config.host: Recognize all V850 variants.
9973
9974 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
9975
9976 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9977
9978 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9979
9980 * shared-object.mk (c_flags-$o): Save c_flags.
9981 ($(base)$(objext)): Use it.
9982 ($(base)_s$(objext)): Likewise.
9983
9984 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9985
9986 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9987 * libgcc-std.ver.in (GCC_4.7.0): New section.
9988
9989 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
9990
9991 PR target/49313
9992 PR target/29524
9993 * config/avr/t-avr: Fix line endings.
9994 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9995 _parityXX2.
9996
9997 2011-06-14 Olivier Hainque <hainque@adacore.com>
9998 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9999
10000 * config/mips/irix6-unwind.h: New file.
10001 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10002
10003 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
10004
10005 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10006 (sparc64_fallback_frame_state): Use it.
10007 (sparc64_frob_update_context): Further adjust context.
10008 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10009 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10010 * config/sparc/sol2-cn.S: Likewise.
10011
10012 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10013
10014 * enable-execute-stack-empty.c: New file.
10015 * enable-execute-stack-mprotect.c: New file.
10016 * config/i386/enable-execute-stack-mingw32.c: New file.
10017 * config.host (enable_execute_stack): New variable.
10018 Select appropriate variants.
10019 * configure.ac: Link enable-execute-stack.c to
10020 $enable_execute_stack.
10021 * configure: Regenerate.
10022 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10023 (lib2funcs): Remove _enable_execute_stack.
10024
10025 2011-06-09 David S. Miller <davem@davemloft.net>
10026 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10027
10028 * config.host (sparc-*-linux*): Correct md_unwind_header
10029 filename.
10030 (s390x-ibm-tpf*): Fix typo.
10031
10032 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10033
10034 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10035 Add crtfastmath.o to extra_parts.
10036 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10037 mips/t-crtfm.
10038 * config/mips/t-crtfm: Remove.
10039
10040 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10041
10042 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10043
10044 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
10045
10046 * config.host (sh*-*-linux*): Fix typo.
10047
10048 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10049
10050 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10051 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10052 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10053 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10054 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10055 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10056 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10057 Wrap in !__MINGW64__.
10058 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10059 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10060 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10061 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10062 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10063 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10064 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10065 Wrap in !__LP64__.
10066 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10067 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10068 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10069 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10070 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10071 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10072 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10073 * config/no-unwind.h: New file.
10074 * config.host (md_unwind_header): Document.
10075 Define.
10076 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10077 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10078 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10079 hppa[12]*-*-hpux11*): Set md_unwind_header.
10080 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10081 Set md_unwind_header.
10082 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10083 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10084 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10085 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10086 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10087 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10088 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10089 md_unwind_header.
10090 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10091 * configure: Regenerate.
10092
10093 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10094
10095 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10096 Set tmake_file, extra_parts.
10097 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10098 Remove O32 support.
10099 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10100 Remove O32 support.
10101 * config/mips/t-irix6: New file.
10102 * config/mips/t-slibgcc-irix: New file.
10103
10104 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10105
10106 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10107 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10108
10109 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10110
10111 * configure.ac (target_thread_file): Determine thread model.
10112 * configure: Regenerate.
10113 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10114 * config/alpha/t-alpha: New file.
10115 * config/alpha/t-crtfm: Use $<.
10116 * config/alpha/t-ieee: New file.
10117 * config/alpha/t-osf-pthread: New file.
10118 * config/alpha/t-slibgcc-osf: New file.
10119 * config/alpha/libgcc-osf5.ver: New file.
10120
10121 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10122
10123 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10124 tmake_file.
10125 Add crtfastmath.o to extra_parts.
10126
10127 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10128
10129 * config/gmon-sol2.c: Reindent.
10130 Cleanup comments.
10131 Remove, correct casts.
10132 Use STDERR_FILENO, NULL.
10133 (BASEADDRESS): Remove.
10134 (minbrk): Remove.
10135 (errno, sbrk): Remove declarations.
10136 (monstartup) [hp300]: Remove.
10137 (mcount): Remove.
10138
10139 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10140
10141 * Makefile.in (cpu_type): Define.
10142 * config.host (i[34567]86-*-rtems*): Handle it.
10143 (i[34567]86-*-solaris2*): Move body ...
10144 (*-*-solaris2*): ... here.
10145 New case, generalize.
10146 (sparc-*-elf*): Handle it.
10147 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10148 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10149 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10150 Fold into ...
10151 (sparc*-*-solaris2*): ... this.
10152 New case.
10153 (sparc64-*-elf*): Handle it.
10154 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10155 Merge ../gcc/config/i386/gmon-sol2.c.
10156 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10157 Use C comments.
10158 Merge ../gcc/config/i386/sol2-gc1.asm.
10159 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10160 Use C comments.
10161 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10162 Use C comments.
10163 * config/i386/t-crtfm (crtfastmath.o): Use $<.
10164 * config/i386/t-crtstuff: New file.
10165 * config/i386/t-softfp: New file.
10166 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10167 $(T)crti.o, $(T)crtn.o): Remove.
10168 (gcrt1.o): New rule.
10169 (TARGET_LIBGCC2_CFLAGS): Remove.
10170 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10171 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10172 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10173 * config/sparc/t-sol2: New file.
10174 * config/sparc/t-crtfm: Move to ...
10175 * config/t-crtfm: ... this.
10176 Use $(cpu_type), $<.
10177 * config/t-crtin: New file.
10178 * config/sparc/t-softfp: New file.
10179 * config/sparc/t-softmul: New file.
10180 * config/t-rtems: New file.
10181 * config/t-slibgcc: New file.
10182 * config/t-slibgcc-elf-ver: New file.
10183 * config/t-slibgcc-gld: New file.
10184 * config/t-slibgcc-sld: New file.
10185 * config/t-sol2: New file.
10186 * configure.ac: Include ../config/lib-ld.m4.
10187 Call AC_LIB_PROG_LD_GNU.
10188 Substitute cpu_type.
10189 * configure: Regenerate.
10190
10191 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
10192
10193 PR bootstrap/49173
10194 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10195 libgcc-std.ver in the build directory.
10196 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10197 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10198
10199 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
10200
10201 * libgcc-std.ver.in: New file.
10202 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10203 variables.
10204 (libgcc-std.ver): New rule.
10205 * config/t-gnu-prefix: New file.
10206
10207 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10208
10209 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10210
10211 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10212
10213 * config/i386/darwin-lib.h: New file.
10214
10215 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10216
10217 * config/arm/symbian-lib.h: New.
10218
10219 2011-05-04 Chris Demetriou <cgd@google.com>
10220
10221 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10222 (__x86.get_pc_thunk.bx): ...this.
10223 (__morestack): Adjust for rename, remove undef of __i686.
10224
10225 2011-05-03 Chris Demetriou <cgd@google.com>
10226
10227 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10228
10229 2011-03-22 Joseph Myers <joseph@codesourcery.com>
10230
10231 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10232 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10233 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10234 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10235 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10236 Remove cases.
10237
10238 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
10239
10240 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10241 Adjust copyright year.
10242
10243 2011-03-07 Ian Lance Taylor <iant@google.com>
10244
10245 * generic-morestack.c (__splitstack_find): Adjust returned stack
10246 pointer to include all registers pushed by __morestack.
10247
10248 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
10249
10250 PR target/40125
10251 * configure.ac: Call ACX_NONCANONICAL_TARGET.
10252 (toolexecdir): Calculate and AC_SUBST.
10253 (toolexeclibdir): Likewise.
10254 * Makefile.in (target_noncanonical): Import.
10255 (toolexecdir): Likewise.
10256 (toolexeclibdir): Likewise.
10257 * configure: Regenerate.
10258
10259 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
10260
10261 PR target/46040
10262 * config/arm/bpabi.h: Rename to...
10263 * config/arm/bpabi-lib.h: ...this.
10264
10265 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10266
10267 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10268 appropriate.
10269 * configure: Regenerate.
10270
10271 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
10272
10273 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10274 __FLOAT_WORD_ORDER__.
10275 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10276 Delete.
10277
10278 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10279
10280 PR other/46202
10281 * Makefile.in (install-strip): New phony target.
10282
10283 2010-11-07 Ian Lance Taylor <iant@google.com>
10284
10285 PR target/46089
10286 * config/i386/morestack.S (__morestack_large_model): New
10287 function.
10288
10289 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
10290
10291 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10292 Delete.
10293 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10294
10295 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
10296
10297 * config/arm/bpabi.h: New file.
10298 * config/frv/frv-abi.h: New file.
10299
10300 2010-10-01 Ian Lance Taylor <iant@google.com>
10301
10302 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10303 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10304
10305 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
10306
10307 PR target/45858
10308 * config.host: Add the missing `$'.
10309
10310 2010-09-30 Michael Eager <eager@eagercon.com>
10311
10312 * config.host: Add microblaze*-*-*.
10313 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10314 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10315 udivsi3.asm,umodsi3.asm}: New.
10316
10317 2010-09-28 Ian Lance Taylor <iant@google.com>
10318
10319 * configure.ac: Adjust CFI test to test assembler directly rather
10320 than checking gcc preprocessor macro.
10321 * configure: Rebuild.
10322
10323 2010-09-27 Ian Lance Taylor <iant@google.com>
10324
10325 * configure.ac: Test whether assembler supports CFI directives.
10326 * config.host: Only add t-stack and i386/t-stack-i386 to
10327 tmake_file if libgcc_cv_cfi is "yes".
10328 * configure: Rebuild.
10329
10330 2010-09-27 Ian Lance Taylor <iant@google.com>
10331
10332 * generic-morestack.h: New file.
10333 * generic-morestack.c: New file.
10334 * generic-morestack-thread.c: New file.
10335 * config/i386/morestack.S: New file.
10336 * config/t-stack: New file.
10337 * config/i386/t-stack-i386: New file.
10338 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10339 i386/t-stack-i386 to tmake_file.
10340
10341 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
10342
10343 * Makefile.in (libgcc-extra-parts): Check for static archives and
10344 invoke ranlib after installing them.
10345 (gcc-extra-parts): Likewise.
10346 (install-leaf): Likewise.
10347
10348 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
10349
10350 * configure: Regenerated.
10351
10352 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
10353
10354 * configure: Regenerated.
10355
10356 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
10357 Andrew Pinski <pinskia@gmail.com>
10358
10359 PR target/40959
10360 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
10361
10362 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
10363
10364 PR target/45524
10365 * configure: Regenerated.
10366
10367 2010-09-06 Andreas Schwab <schwab@redhat.com>
10368
10369 * configure: Regenerate.
10370
10371 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10372
10373 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10374 64bit targets.
10375 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10376 for 64bit targets.
10377
10378 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10379 Iain Sandoe <iains@gcc.gnu.org>
10380
10381 PR target/45476
10382 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10383 LIB2FUNCS_EXCLUDE functions.
10384
10385 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10386
10387 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10388 Include dfp.m4.
10389 * configure: Regenerate.
10390
10391 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
10392
10393 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10394 i386/t-freebsd to tmake_file.
10395 * config/i386/t-freebsd: New file.
10396 * config/i386/libgcc-bsd.ver: New file.
10397
10398 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
10399
10400 * config.host (powerpc*-eabispe*): Set tmake_file.
10401 (powerpc*-eabi*): Likewise.
10402 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10403 crtbeginS, crtendS, crtbeginT.
10404
10405 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
10406
10407 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10408 to tmake_file. Add crtfastmath.o to extra_parts.
10409 * config/mips/t-crtfm: New.
10410
10411 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
10412
10413 * config.host (sparc64-*-rtems*): New target.
10414
10415 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10416
10417 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10418 assembler syntax.
10419
10420 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
10421
10422 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10423
10424 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10425
10426 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10427 alpha-dec-osf5.0* support.
10428
10429 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
10430
10431 * config.host: Add lm32-*-rtems*.
10432
10433 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10434 Uros Bizjak <ubizjak@gmail.com>
10435
10436 PR target/39048
10437 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10438 like other remaining 32-bit x86 OSes.
10439 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10440 assembler syntax.
10441 * config/i386/libgcc-sol2.ver: New file.
10442 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10443
10444 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
10445
10446 PR c/43553
10447 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10448 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10449 is used and substitute set_use_emutls.
10450 * configure: Regenerated.
10451
10452 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
10453
10454 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10455
10456 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10457
10458 PR target/38085
10459 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10460 MULTILIB_CFLAGS.
10461 ($(T)gcrt1.o): Likewise.
10462 ($(T)crt1.o): Likewise.
10463 ($(T)crti.o): Likewise.
10464 ($(T)crtn.o): Likewise.
10465
10466 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10467
10468 PR other/42980
10469 * Makefile.in (install): Use $(MAKE) string in rule, for
10470 parallel make.
10471
10472 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
10473
10474 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10475 * config/mmix/t-mmix: New file.
10476 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10477
10478 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
10479
10480 PR java/41991
10481 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10482 SHLIB_MAPFILES.
10483
10484 2010-01-04 Anthony Green <green@moxielogic.com>
10485
10486 * config/moxie/crti.asm, config/moxie/crtn.asm,
10487 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10488 config/moxie/t-moxie: New files.
10489 * config.host: Add t-moxie-softfp reference.
10490
10491 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
10492
10493 PR other/39888
10494 * config/t-slibgcc-darwin: Fix embedded rpaths for
10495 --enable-version-specific-runtime-libs, build extension stub
10496 libs exposing features available from current libgcc_s.
10497
10498 2009-11-11 Jon Beniston <jon@beniston.com>
10499
10500 * config.host: Add lm32 targets.
10501 * config/lm32: New directory.
10502 * config/lm32/libgcc_lm32.h: New file.
10503 * config/lm32/_mulsi3.c: New file.
10504 * config/lm32/_udivmodsi4.c: New file.
10505 * config/lm32/_divsi3.c: New file.
10506 * config/lm32/_modsi3.c: New file.
10507 * config/lm32/_udivsi3.c: New file.
10508 * config/lm32/_umodsi3.c: New file.
10509 * config/lm32/_lshrsi3.S: New file.
10510 * config/lm32/_ashrsi3.S: New file.
10511 * config/lm32/_ashlsi3.S: New file.
10512 * config/lm32/crti.S: New file.
10513 * config/lm32/crtn.S: New file.
10514 * config/lm32/t-lm32: New file.
10515 * config/lm32/t-elf: New file.
10516 * config/lm32/t-uclinux: New file.
10517
10518 2009-10-26 Nick Clifton <nickc@redhat.com>
10519
10520 * config.host: Add support for RX target.
10521 * config/rx: New directory.
10522 * config/rx/rx-abi-functions.c: New file. Supplementary
10523 functions for libgcc to support the RX ABI.
10524 * config/rx/rx-abi.h: New file. Supplementary header file for
10525 libgcc RX ABI functions.
10526 * config/rx/t-rx: New file: Makefile fragment for building
10527 libgcc for the RX.
10528
10529 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
10530
10531 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10532 constraint of y0 to "g".
10533
10534 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10535
10536 * config.host: Include the s390 makefile fragments.
10537 * config/s390/32/_fixdfdi.c: New file.
10538 * config/s390/32/_fixsfdi.c: New file.
10539 * config/s390/32/_fixtfdi.c: New file.
10540 * config/s390/32/_fixunsdfdi.c: New file.
10541 * config/s390/32/_fixunssfdi.c: New file.
10542 * config/s390/32/_fixunstfdi.c: New file.
10543 * config/s390/32/t-floattodi: New file.
10544 * config/s390/libgcc-glibc.ver: New file.
10545 * config/s390/t-crtstuff: New file.
10546 * config/s390/t-linux: New file.
10547 * config/s390/t-tpf: New file.
10548
10549 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10550
10551 * configure.ac (AC_PREREQ): Bump to 2.64.
10552
10553 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
10554
10555 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10556
10557 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10558
10559 * configure: Regenerate.
10560
10561 2009-08-09 Douglas B Rupp <rupp@gnat.com>
10562
10563 * config.host (ia64-hp-*vms*): New target.
10564 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10565 with ia64-hp-*vms*.
10566
10567 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10568
10569 * configure.ac: Add snippet for maintainer-mode.
10570 * configure: Regenerate.
10571 * Makefile.in (AUTOCONF, configure_deps): New variables.
10572 ($(srcdir)/configure)): New rule, active only with maintainer
10573 mode turned on.
10574
10575 2009-06-23 DJ Delorie <dj@redhat.com>
10576
10577 Add MeP port.
10578 * config.host: Add mep support.
10579
10580 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
10581
10582 * config.host: Add i386/${host_address}/t-fprules-softfp and
10583 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
10584
10585 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10586 for mingw targets.
10587 * config/i386/64/_multc3.c: Likewise.
10588 * config/i386/64/_powitf2.c: Likewise.
10589 * config/i386/64/eqtf2.c: Likewise.
10590 * config/i386/64/getf2.c: Likewise.
10591 * config/i386/64/letf2.c: Likewise.
10592 * config/i386/64/letf2.c: Likewise.
10593 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10594 unsigned long long for x64 mingw targets.
10595 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10596 (_FP_I_TYPE): Define as long long for x64 mingw target.
10597
10598 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
10599
10600 * config.host (vax-*-linux*): New.
10601
10602 2009-05-31 Anthony Green <green@moxielogic.com>
10603
10604 * config.host: Add moxie support.
10605 * config/moxie/t-moxie: New file.
10606
10607 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
10608
10609 * config.host: Add i386/${host_address}/t-fprules-softfp and
10610 t-softfp to tmake_file for i[34567]86-*-cygwin*.
10611
10612 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
10613
10614 * config.host: Add i386/${host_address}/t-fprules-softfp to
10615 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10616
10617 2009-04-09 Nick Clifton <nickc@redhat.com>
10618
10619 * config/ia64/tf-signs.c: Change copyright header to refer to
10620 version 3 of the GNU General Public License with version 3.1
10621 of the GCC Runtime Library Exception and to point readers at
10622 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10623 web page.
10624 * config/i386/32/tf-signs.c: Likewise.
10625 * config/libbid/_addsub_dd.c: Likewise.
10626 * config/libbid/_addsub_sd.c: Likewise.
10627 * config/libbid/_addsub_td.c: Likewise.
10628 * config/libbid/_dd_to_df.c: Likewise.
10629 * config/libbid/_dd_to_di.c: Likewise.
10630 * config/libbid/_dd_to_sd.c: Likewise.
10631 * config/libbid/_dd_to_sf.c: Likewise.
10632 * config/libbid/_dd_to_si.c: Likewise.
10633 * config/libbid/_dd_to_td.c: Likewise.
10634 * config/libbid/_dd_to_tf.c: Likewise.
10635 * config/libbid/_dd_to_udi.c: Likewise.
10636 * config/libbid/_dd_to_usi.c: Likewise.
10637 * config/libbid/_dd_to_xf.c: Likewise.
10638 * config/libbid/_df_to_dd.c: Likewise.
10639 * config/libbid/_df_to_sd.c: Likewise.
10640 * config/libbid/_df_to_td.c: Likewise.
10641 * config/libbid/_di_to_dd.c: Likewise.
10642 * config/libbid/_di_to_sd.c: Likewise.
10643 * config/libbid/_di_to_td.c: Likewise.
10644 * config/libbid/_div_dd.c: Likewise.
10645 * config/libbid/_div_sd.c: Likewise.
10646 * config/libbid/_div_td.c: Likewise.
10647 * config/libbid/_eq_dd.c: Likewise.
10648 * config/libbid/_eq_sd.c: Likewise.
10649 * config/libbid/_eq_td.c: Likewise.
10650 * config/libbid/_ge_dd.c: Likewise.
10651 * config/libbid/_ge_sd.c: Likewise.
10652 * config/libbid/_ge_td.c: Likewise.
10653 * config/libbid/_gt_dd.c: Likewise.
10654 * config/libbid/_gt_sd.c: Likewise.
10655 * config/libbid/_gt_td.c: Likewise.
10656 * config/libbid/_isinfd128.c: Likewise.
10657 * config/libbid/_isinfd32.c: Likewise.
10658 * config/libbid/_isinfd64.c: Likewise.
10659 * config/libbid/_le_dd.c: Likewise.
10660 * config/libbid/_le_sd.c: Likewise.
10661 * config/libbid/_le_td.c: Likewise.
10662 * config/libbid/_lt_dd.c: Likewise.
10663 * config/libbid/_lt_sd.c: Likewise.
10664 * config/libbid/_lt_td.c: Likewise.
10665 * config/libbid/_mul_dd.c: Likewise.
10666 * config/libbid/_mul_sd.c: Likewise.
10667 * config/libbid/_mul_td.c: Likewise.
10668 * config/libbid/_ne_dd.c: Likewise.
10669 * config/libbid/_ne_sd.c: Likewise.
10670 * config/libbid/_ne_td.c: Likewise.
10671 * config/libbid/_sd_to_dd.c: Likewise.
10672 * config/libbid/_sd_to_df.c: Likewise.
10673 * config/libbid/_sd_to_di.c: Likewise.
10674 * config/libbid/_sd_to_sf.c: Likewise.
10675 * config/libbid/_sd_to_si.c: Likewise.
10676 * config/libbid/_sd_to_td.c: Likewise.
10677 * config/libbid/_sd_to_tf.c: Likewise.
10678 * config/libbid/_sd_to_udi.c: Likewise.
10679 * config/libbid/_sd_to_usi.c: Likewise.
10680 * config/libbid/_sd_to_xf.c: Likewise.
10681 * config/libbid/_sf_to_dd.c: Likewise.
10682 * config/libbid/_sf_to_sd.c: Likewise.
10683 * config/libbid/_sf_to_td.c: Likewise.
10684 * config/libbid/_si_to_dd.c: Likewise.
10685 * config/libbid/_si_to_sd.c: Likewise.
10686 * config/libbid/_si_to_td.c: Likewise.
10687 * config/libbid/_td_to_dd.c: Likewise.
10688 * config/libbid/_td_to_df.c: Likewise.
10689 * config/libbid/_td_to_di.c: Likewise.
10690 * config/libbid/_td_to_sd.c: Likewise.
10691 * config/libbid/_td_to_sf.c: Likewise.
10692 * config/libbid/_td_to_si.c: Likewise.
10693 * config/libbid/_td_to_tf.c: Likewise.
10694 * config/libbid/_td_to_udi.c: Likewise.
10695 * config/libbid/_td_to_usi.c: Likewise.
10696 * config/libbid/_td_to_xf.c: Likewise.
10697 * config/libbid/_tf_to_dd.c: Likewise.
10698 * config/libbid/_tf_to_sd.c: Likewise.
10699 * config/libbid/_tf_to_td.c: Likewise.
10700 * config/libbid/_udi_to_dd.c: Likewise.
10701 * config/libbid/_udi_to_sd.c: Likewise.
10702 * config/libbid/_udi_to_td.c: Likewise.
10703 * config/libbid/_unord_dd.c: Likewise.
10704 * config/libbid/_unord_sd.c: Likewise.
10705 * config/libbid/_unord_td.c: Likewise.
10706 * config/libbid/_usi_to_dd.c: Likewise.
10707 * config/libbid/_usi_to_sd.c: Likewise.
10708 * config/libbid/_usi_to_td.c: Likewise.
10709 * config/libbid/_xf_to_dd.c: Likewise.
10710 * config/libbid/_xf_to_sd.c: Likewise.
10711 * config/libbid/_xf_to_td.c: Likewise.
10712 * config/libbid/bid128.c: Likewise.
10713 * config/libbid/bid128_2_str.h: Likewise.
10714 * config/libbid/bid128_2_str_macros.h: Likewise.
10715 * config/libbid/bid128_2_str_tables.c: Likewise.
10716 * config/libbid/bid128_add.c: Likewise.
10717 * config/libbid/bid128_compare.c: Likewise.
10718 * config/libbid/bid128_div.c: Likewise.
10719 * config/libbid/bid128_fma.c: Likewise.
10720 * config/libbid/bid128_logb.c: Likewise.
10721 * config/libbid/bid128_minmax.c: Likewise.
10722 * config/libbid/bid128_mul.c: Likewise.
10723 * config/libbid/bid128_next.c: Likewise.
10724 * config/libbid/bid128_noncomp.c: Likewise.
10725 * config/libbid/bid128_quantize.c: Likewise.
10726 * config/libbid/bid128_rem.c: Likewise.
10727 * config/libbid/bid128_round_integral.c: Likewise.
10728 * config/libbid/bid128_scalb.c: Likewise.
10729 * config/libbid/bid128_sqrt.c: Likewise.
10730 * config/libbid/bid128_string.c: Likewise.
10731 * config/libbid/bid128_to_int16.c: Likewise.
10732 * config/libbid/bid128_to_int32.c: Likewise.
10733 * config/libbid/bid128_to_int64.c: Likewise.
10734 * config/libbid/bid128_to_int8.c: Likewise.
10735 * config/libbid/bid128_to_uint16.c: Likewise.
10736 * config/libbid/bid128_to_uint32.c: Likewise.
10737 * config/libbid/bid128_to_uint64.c: Likewise.
10738 * config/libbid/bid128_to_uint8.c: Likewise.
10739 * config/libbid/bid32_to_bid128.c: Likewise.
10740 * config/libbid/bid32_to_bid64.c: Likewise.
10741 * config/libbid/bid64_add.c: Likewise.
10742 * config/libbid/bid64_compare.c: Likewise.
10743 * config/libbid/bid64_div.c: Likewise.
10744 * config/libbid/bid64_fma.c: Likewise.
10745 * config/libbid/bid64_logb.c: Likewise.
10746 * config/libbid/bid64_minmax.c: Likewise.
10747 * config/libbid/bid64_mul.c: Likewise.
10748 * config/libbid/bid64_next.c: Likewise.
10749 * config/libbid/bid64_noncomp.c: Likewise.
10750 * config/libbid/bid64_quantize.c: Likewise.
10751 * config/libbid/bid64_rem.c: Likewise.
10752 * config/libbid/bid64_round_integral.c: Likewise.
10753 * config/libbid/bid64_scalb.c: Likewise.
10754 * config/libbid/bid64_sqrt.c: Likewise.
10755 * config/libbid/bid64_string.c: Likewise.
10756 * config/libbid/bid64_to_bid128.c: Likewise.
10757 * config/libbid/bid64_to_int16.c: Likewise.
10758 * config/libbid/bid64_to_int32.c: Likewise.
10759 * config/libbid/bid64_to_int64.c: Likewise.
10760 * config/libbid/bid64_to_int8.c: Likewise.
10761 * config/libbid/bid64_to_uint16.c: Likewise.
10762 * config/libbid/bid64_to_uint32.c: Likewise.
10763 * config/libbid/bid64_to_uint64.c: Likewise.
10764 * config/libbid/bid64_to_uint8.c: Likewise.
10765 * config/libbid/bid_b2d.h: Likewise.
10766 * config/libbid/bid_binarydecimal.c: Likewise.
10767 * config/libbid/bid_conf.h: Likewise.
10768 * config/libbid/bid_convert_data.c: Likewise.
10769 * config/libbid/bid_decimal_data.c: Likewise.
10770 * config/libbid/bid_decimal_globals.c: Likewise.
10771 * config/libbid/bid_div_macros.h: Likewise.
10772 * config/libbid/bid_dpd.c: Likewise.
10773 * config/libbid/bid_flag_operations.c: Likewise.
10774 * config/libbid/bid_from_int.c: Likewise.
10775 * config/libbid/bid_functions.h: Likewise.
10776 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10777 * config/libbid/bid_inline_add.h: Likewise.
10778 * config/libbid/bid_internal.h: Likewise.
10779 * config/libbid/bid_round.c: Likewise.
10780 * config/libbid/bid_sqrt_macros.h: Likewise.
10781
10782 2009-04-09 Jakub Jelinek <jakub@redhat.com>
10783
10784 * Makefile.in: Change copyright header to refer to version
10785 3 of the GNU General Public License and to point readers at the
10786 COPYING3 file and the FSF's license web page.
10787 * config.host: Likewise.
10788
10789 2009-04-07 Alan Modra <amodra@bigpond.net.au>
10790
10791 * config.host: Reorder and merge to match config.gcc change.
10792
10793 2009-04-03 Alan Modra <amodra@bigpond.net.au>
10794
10795 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10796
10797 2009-03-28 Joseph Myers <joseph@codesourcery.com>
10798
10799 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10800 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10801 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10802 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10803
10804 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
10805
10806 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10807 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10808
10809 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10810
10811 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10812 ia64/t-softfp-compat to tmake_file.
10813
10814 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10815
10816 * config/ia64/__divxf3.asm: New.
10817 * config/ia64/_fixtfdi.asm: Likewise.
10818 * config/ia64/_fixunstfdi.asm: Likewise.
10819 * config/ia64/_floatditf.asm: Likewise.
10820 * config/ia64/t-fprules-softfp: Likewise.
10821 * config/ia64/t-softfp-compat: Likewise.
10822 * config/ia64/tf-signs.c: Likewise.
10823
10824 2009-01-18 Ben Elliston <bje@au.ibm.com>
10825
10826 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10827
10828 2009-01-16 Ben Elliston <bje@au.ibm.com>
10829
10830 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10831 to tmake_file.
10832
10833 2009-01-13 Ben Elliston <bje@au.ibm.com>
10834
10835 * config/t-softfp: New file.
10836 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10837 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10838
10839 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
10840
10841 * config.host: Add m32r*-*-rtems*.
10842
10843 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
10844
10845 * config.host: Add m32c*-*-rtems*.
10846
10847 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10848
10849 PR bootstrap/33100
10850 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10851 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10852 * configure: Regenerate.
10853 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10854 tmake_file here from gcc/config.gcc.
10855 Move extra_parts here from gcc/config.gcc.
10856 * config/i386/t-sol2: Move here from gcc/config/i386.
10857 Use gcc_srcdir instead of srcdir.
10858
10859 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10860
10861 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10862 case.
10863
10864 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10865
10866 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10867
10868 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10869
10870 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
10871
10872 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
10873
10874 Add picoChip port.
10875 * config.host: Add picochip-*-*.
10876
10877 2008-08-06 Bob Wilson <bob.wilson@acm.org>
10878
10879 * config.host: Match more processor names for Xtensa.
10880
10881 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
10882
10883 * config/i386/64/t-softfp-compat: Update comments.
10884
10885 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
10886
10887 * config/i386/64/_divtc3-compat.c: Moved to ...
10888 * config/i386/64/_divtc3.c: Here.
10889
10890 * config/i386/64/_multc3-compat.c: Moved to ...
10891 * config/i386/64/_multc3.c: Here.
10892
10893 * config/i386/64/_powitf2-compat.c: Moved to ...
10894 * config/i386/64/_powitf2.c: Here.
10895
10896 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
10897 .c suffix instead of -compat.c.
10898
10899 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
10900
10901 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
10902 (_FP_MUL_MEAT_D): Ditto.
10903 (_FP_DIV_MEAT_S): Ditto.
10904 (_FP_DIV_MEAT_D): Ditto.
10905
10906 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
10907
10908 * Makefile.in: Add support for __sync_* libgcc functions.
10909
10910 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
10911
10912 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
10913
10914 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10915
10916 PR boostrap/36702
10917 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
10918 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
10919
10920 * config/i386/64/t-fprules-softfp: Moved to ...
10921 * config/i386/64/t-softfp-compat: This. New.
10922
10923 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
10924
10925 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
10926 Initialize f with 0.0.
10927
10928 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10929
10930 PR target/36669
10931 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10932
10933 * config/i386/64/_divtc3-compat.c: New.
10934 * config/i386/64/_multc3-compat.c: Likewise.
10935 * config/i386/64/_powitf2-compat.c: Likewise.
10936 * config/i386/64/eqtf2.c: Likewise.
10937 * config/i386/64/getf2.c: Likewise.
10938 * config/i386/64/letf2.c: Likewise.
10939 * config/i386/64/t-fprules-softfp: Likewise.
10940
10941 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10942
10943 * config.host: Add i386/${host_address}/t-fprules-softfp to
10944 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
10945 i[34567]86-*-linux*, x86_64-*-linux*.
10946
10947 * configure.ac: Set host_address to 64 or 32 for x86.
10948 * configure: Regenerated.
10949
10950 * Makefile.in (config.status): Also depend on
10951 $(srcdir)/config.host.
10952
10953 * config/i386/32/t-fprules-softfp: New.
10954 * config/i386/32/tf-signs.c: Likewise.
10955
10956 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10957
10958 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10959 Uros Bizjak <ubizjak@gmail.com>
10960
10961 * config/i386/32/sfp-machine.h: New.
10962
10963 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10964
10965 * config/rs6000/t-ppccomm: Remove rules that conflict with
10966 auto-generated rules.
10967
10968 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10969
10970 * configure.ac: sinclude override.m4.
10971 * configure: Regenerate.
10972
10973 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10974
10975 * configure: Regenerate.
10976
10977 2008-06-10 Joseph Myers <joseph@codesourcery.com>
10978
10979 * Makefile.in (DECNUMINC): Remove
10980 -I$(MULTIBUILDTOP)../../libdecnumber.
10981 * gstdint.h: New.
10982
10983 2008-06-07 Joseph Myers <joseph@codesourcery.com>
10984
10985 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10986 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10987 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10988 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10989 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10990 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10991 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10992 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10993 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10994 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10995 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10996 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10997 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10998 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10999
11000 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
11001
11002 * config.host (sh2[lbe]*-*-linux*): Allow target.
11003
11004 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
11005
11006 * config/rs6000/t-ppccomm: Add build rules for new files.
11007 (LIB2ADD_ST): New variable.
11008
11009 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
11010
11011 PR target/34210
11012 PR target/35508
11013 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11014 * config/t-avr: New file. Build 16bit libgcc functions.
11015
11016 2008-03-02 Jakub Jelinek <jakub@redhat.com>
11017
11018 PR target/35401
11019 * config/t-slibgcc-darwin: Make install-leaf dependent on
11020 install-darwin-libgcc-stubs instead of install.
11021
11022 2008-01-25 Joseph Myers <joseph@codesourcery.com>
11023
11024 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11025 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11026 sh-*-rtemscoff*): Remove cases.
11027
11028 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
11029
11030 * Makefile.in (all): Use install-leaf rather than install.
11031 (install): Split most of the rule into...
11032 (install-leaf): ...this new one.
11033
11034 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
11035 Paolo Bonzini <bonzini@gnu.org>
11036
11037 PR target/30572
11038 * Makefile.in: Use @shlib_slibdir@ substitution to get
11039 correct install name on darwin.
11040 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
11041
11042 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
11043
11044 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11045 cris-*-elf and cris-*-none.
11046 (crisv32-*-linux*): Similar, as cris-*-linux*.
11047
11048 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
11049
11050 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11051
11052 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
11053
11054 PR regression/33926
11055 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11056 * configure: Regenerated.
11057
11058 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11059
11060 * Makefile.in (dfp-filenames): Replace decimal_globals,
11061 decimal_data, binarydecimal and convert_data with
11062 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11063 and bid_convert_data, respectively.
11064
11065 2007-09-17 Chao-ying Fu <fu@mips.com>
11066 Nigel Stephens <nigel@mips.com>
11067
11068 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11069 * Makefile.in (fixed_point): Define.
11070 Check if fixed_point is yes to build support functions.
11071 * configure.ac: Check for fixed_point support.
11072 * configure: Regenerated.
11073 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11074 funcs, modes, from, to.
11075
11076 2007-09-11 Janis Johnson <janis187@us.ibm.com
11077
11078 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11079
11080 2007-09-10 Janis Johnson <janis187@us.ibm.com>
11081
11082 * Makefile.in (dfp-filenames): Remove decUtility, add
11083 decDouble, decPacked, decQuad, decSingle.
11084
11085 2007-08-27 Hans Kester <hans.kester@ellips.nl>
11086
11087 * config.host : Add x86_64-elf target.
11088
11089 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11090
11091 * configure.ac (set_have_cc_tls): Add a missing =.
11092 * configure: Regenerated.
11093
11094 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11095
11096 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11097 and x86_64-*-linux*.
11098
11099 * config/t-tls: New file.
11100
11101 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
11102
11103 * configure.ac: Include ../config/enable.m4 and
11104 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
11105 supports TLS and substitute set_have_cc_tls.
11106 * configure: Regenerated.
11107
11108 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
11109
11110 * Makefile.in: Use libbid for DFP when BID is enabled.
11111
11112 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
11113
11114 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
11115 extra_parts. Add config/i386/t-cygming to tmake_file.
11116 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11117
11118 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
11119 Danny Smith <dannysmith@users.sourceforge.net>
11120
11121 PR target/29498
11122 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11123 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
11124 * config/i386/t-crtfm: Compile crtfastmath.o with
11125 -minline-all-stringops.
11126
11127 2007-05-10 Richard Sandiford <richard@codesourcery.com>
11128
11129 * config.host (sparc-wrs-vxworks): New target.
11130
11131 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
11132
11133 * config.host: Recognize fido.
11134
11135 2007-04-04 Janis Johnson <janis187@us.ibm.com>
11136
11137 * configure: Check host, not target, for decimal float support.
11138
11139 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
11140
11141 * config/i386/t-crtpc: New file.
11142 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
11143 (x86_64-*-linux*): Ditto.
11144
11145 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
11146
11147 * config.host (x86_64-*-mingw*): New target.
11148
11149 2007-03-23 Michael Meissner <michael.meissner@amd.com>
11150 H.J. Lu <hongjiu.lu@intel.com>
11151
11152 * Makefile.in (enable_decimal_float): New.
11153 (DECNUMINC): Add
11154 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11155 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11156 (decbits-filenames): This.
11157 (decbits-objects): New.
11158 (libgcc-objects): Add $(decbits-objects).
11159
11160 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11161 Substitute enable_decimal_float.
11162 * configure: Regenerated.
11163
11164 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
11165
11166 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11167
11168 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
11169
11170 * Makefile.in (install-info): New dummy target.
11171
11172 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
11173
11174 * config.host (bfin*-linux-uclibc*): Set extra_parts.
11175
11176 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
11177
11178 * Makefile.in: Add install-html and install-pdf dummy
11179 targets.
11180
11181 2007-02-05 Roger Sayle <roger@eyesopen.com>
11182 Daniel Jacobowitz <dan@codesourcery.com>
11183
11184 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11185 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11186 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11187
11188 2007-01-29 Janis Johnson <janis187@us.ibm.com>
11189
11190 * Makefile.in (dec-filenames): Add decExcept.
11191
11192 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11193
11194 PR bootstrap/30469
11195 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11196 -fprofile-use.
11197
11198 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
11199
11200 * configure.ac: Add --enable-version-specific-runtime-libs.
11201 Correct $slibdir default.
11202 * configure: Regenerated.
11203
11204 2007-01-23 Joseph Myers <joseph@codesourcery.com>
11205
11206 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11207
11208 2007-01-21 Andrew Pinski <pinskia@gmail.com>
11209
11210 PR target/30519
11211 * config.host (alpha*-*-linux*): Set extra_parts.
11212
11213 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
11214
11215 * config/sh/t-linux: New.
11216 * config.host (sh*-*-linux*): Set tmake_file.
11217
11218 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
11219
11220 * Makefile.in (install): Handle multilibs.
11221
11222 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11223
11224 * Makefile.in: Added .PHONY entry for documentation targets.
11225
11226 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11227
11228 * Makefile.in: Add empty info, html, dvi, pdf targets.
11229
11230 2007-01-04 Mike Stump <mrs@apple.com>
11231
11232 * Makefile.in (MAKEINFO): Remove.
11233 (PERL): Likewise.
11234
11235 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
11236
11237 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11238 * configure: Regenerate.
11239 * Makefile.in (host_subdir): Substitute it.
11240 (gcc_objdir): Use it.
11241
11242 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11243
11244 * config.host (ia64*-*-linux*): Set tmake_file.
11245
11246 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11247
11248 * Makefile.in (version): Define.
11249
11250 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11251 Paolo Bonzini <bonzini@gnu.org>
11252
11253 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11254 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11255 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11256 config/sparc/t-crtfm, config/t-slibgcc-darwin,
11257 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11258 shared-object.mk, siditi-object.mk, static-object.mk: New files.
11259 * configure: Generated.
11260 \f
11261 Copyright (C) 2007-2020 Free Software Foundation, Inc.
11262
11263 Copying and distribution of this file, with or without modification,
11264 are permitted in any medium without royalty provided the copyright
11265 notice and this notice are preserved.