* config/pdp11/t-pdp11: Remove -mfloat32 switch.
[gcc.git] / libgcc / ChangeLog
1 2018-10-08 Paul Koning <ni1d@arrl.net>
2
3 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
4
5 2018-10-04 Martin Liska <mliska@suse.cz>
6
7 PR gcov-profile/84107
8 * libgcov-profiler.c (__gcov_indirect_call):
9 Change type to indirect_call_tuple.
10 (struct indirect_call_tuple): New struct.
11 (__gcov_indirect_call_topn_profiler): Change type.
12 (__gcov_indirect_call_profiler_v2): Use the new
13 variables.
14 * libgcov.h (struct indirect_call_tuple): New struct
15 definition.
16
17 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
18
19 * libgcc2.c (isnan): Use __builtin_isnan.
20 (isfinite): Use __builtin_isfinite.
21 (isinf): Use __builtin_isinf.
22
23 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
24
25 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
26
27 2018-09-21 Alexandre Oliva <oliva@adacore.com>
28
29 * config/vxcache.c: New file. Provide __clear_cache, based on
30 the cacheTextUpdate VxWorks service.
31 * config/t-vxworks (LIB2ADD): Add vxcache.c.
32 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
33 * config/t-vxwoks7: Likewise.
34
35 2018-09-21 Martin Liska <mliska@suse.cz>
36
37 * libgcov-driver.c (crc32_unsigned): Remove.
38 (gcov_histogram_insert): Likewise.
39 (gcov_compute_histogram): Likewise.
40 (compute_summary): Simplify rapidly.
41 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
42 (merge_summary): Rapidly simplify.
43 (dump_one_gcov): Ignore gcov_summary.
44 (gcov_do_dump): Do not handle program summary, it's not
45 used.
46 * libgcov-util.c (tag_summary): Remove.
47 (read_gcda_finalize): Fix coding style.
48 (read_gcda_file): Initialize curr_object_summary.
49 (compute_summary): Remove.
50 (calculate_overlap): Remove settings of run_max.
51
52 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
53
54 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
55 ucontext_t type instead.
56 (nds32_fallback_frame_state): Remove struct _sigframe statement.
57
58 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
59
60 * config/nds32/t-nds32-glibc: New file.
61
62 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
63
64 * configure.ac (solaris_ld_v2_maps): New test.
65 * configure: Regenerate.
66 * Makefile.in (solaris_ld_v2_maps): New variable.
67 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
68 if supported.
69
70 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
71
72 PR target/86951
73 * config/arm/lib1funcs.asm (speculation_barrier): New function.
74 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
75 to build.
76
77 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
78
79 * config/unwind-dw2-fde-darwin.c
80 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
81 * config/darwin10-unwind-find-enc-func.c: … to here.
82 * config/t-darwin: Build Darwin10 unwinder shim crt.
83 * libgcc/config.host: Add the Darwin10 unwinder shim.
84
85 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
86
87 * config.host: Add crtbegin.o and crtend.o for
88 powerpc-wrs-vxworks target.
89
90 2018-08-17 Jojo <jijie_rong@c-sky.com>
91 Huibin Wang <huibin_wang@c-sky.com>
92 Sandra Loosemore <sandra@codesourcery.com>
93 Chung-Lin Tang <cltang@codesourcery.com>
94
95 C-SKY port: libgcc
96
97 * config.host: Add C-SKY support.
98 * config/csky/*: New.
99
100 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
101
102 * config/nds32/t-nds32-isr: Rearrange object dependency.
103 * config/nds32/initfini.c: Add dwarf2 unwinding support.
104 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
105 and registers usage.
106 * config/nds32/isr-library/excp_isr.S: Ditto.
107 * config/nds32/isr-library/intr_isr.S: Ditto.
108 * config/nds32/isr-library/reset.S: Ditto.
109 * config/nds32/isr-library/restore_all.inc: Ditto.
110 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
111 * config/nds32/isr-library/restore_partial.inc: Ditto.
112 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
113 * config/nds32/isr-library/save_all.inc: Ditto.
114 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
115 * config/nds32/isr-library/save_partial.inc: Ditto.
116 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
117 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
118
119 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
120
121 * config/pa/linux-atomic.c: Update comment.
122 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
123 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
124 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
125 __ATOMIC_RELAXED for atomic loads.
126 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
127 unordered store to release lock.
128 (__sync_lock_release_8): Likewise.
129 (SYNC_LOCK_RELEASE_2): Remove define.
130
131 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
132
133 PR libgcc/86512
134 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
135 exponent goes negative. Update my email address.
136 * config/arm/ieee754-sf.S: Likewise.
137
138 2018-08-01 Martin Liska <mliska@suse.cz>
139
140 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
141 check that __gcov_indirect_call_callee is non-null.
142
143 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
144
145 * config/arm/ieee754-df.S: Fix comment for code working on
146 architectures >= 4.
147 * config/arm/ieee754-sf.S: Likewise.
148
149 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
150
151 PR libgcc/85334
152 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
153 Removed.
154
155 2018-07-05 James Clarke <jrtc27@jrtc27.com>
156
157 * configure: Regenerated.
158
159 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
160
161 * Makefile.in (install_leaf): Use enable_gcov instead of
162 enable_libgcov.
163
164 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
165
166 * configure.ac: Add --disable-gcov option.
167 * configure: Regenerate.
168 * Makefile.in: Honour @enable_gcov@.
169
170 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
171
172 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
173 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
174 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
175 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
176 __ARM_ARCH__.
177 * config/arm/ieee754-sf.S: Likewise.
178 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
179
180 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
181
182 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
183 longer supported.
184 * config/arm/ieee754-sf.S: Likewise.
185
186 2018-06-20 Than McIntosh <thanm@google.com>
187
188 PR libgcc/86213
189 * generic-morestack.c (allocate_segment): Move calls to getenv and
190 getpagesize to __morestack_load_mmap.
191 (__morestack_load_mmap) Initialize static_pagesize and
192 use_guard_page here so as to avoid clobbering SSE regs during a
193 __morestack call.
194
195 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
196
197 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
198 support modules with -mno-gnu-attribute.
199 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
200
201 2018-06-07 Olivier Hainque <hainque@adacore.com>
202
203 * config/t-vxworks (LIBGCC_INCLUDES): Add
204 -I$(MULTIBUILDTOP)../../gcc/include.
205 * config/t-vxworks7: Likewise. Reformat a bit to match
206 the t-vxworks layout.
207
208 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
209
210 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
211
212 2018-06-07 Martin Liska <mliska@suse.cz>
213
214 * libgcov-driver.c: Rename cs_all to all and assign it from
215 all_prg.
216
217 2018-06-07 Martin Liska <mliska@suse.cz>
218
219 PR bootstrap/86057
220 * libgcov-driver-system.c (replace_filename_variables): Use
221 memcpy instead of mempcpy.
222 (allocate_filename_struct): Do not allocate filename, allocate
223 prefix and set it.
224 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
225 here and properly copy content into it.
226 * libgcov-driver.c (struct gcov_filename): Remove max_length
227 field, change prefix from size_t into char *.
228 (compute_summary): Do not calculate longest filename.
229 (gcov_do_dump): Release memory of gf.filename after each file.
230 * libgcov-util.c (compute_summary): Use new signature of
231 compute_summary.
232 (calculate_overlap): Likewise.
233
234 2018-06-05 Martin Liska <mliska@suse.cz>
235
236 PR gcov-profile/47618
237 * libgcov-driver-system.c (replace_filename_variables): New
238 function.
239 (gcov_exit_open_gcda_file): Use it.
240
241 2018-06-05 Martin Liska <mliska@suse.cz>
242
243 * libgcov-driver.c (gcov_compute_histogram): Remove usage
244 of gcov_ctr_summary.
245 (compute_summary): Do it just for a single summary.
246 (merge_one_data): Likewise.
247 (merge_summary): Simplify as we read just single summary.
248 (dump_one_gcov): Pass proper argument.
249 * libgcov-util.c (compute_one_gcov): Simplify as we have just
250 single summary.
251 (gcov_info_count_all_cold): Likewise.
252 (calculate_overlap): Likewise.
253
254 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
255 Monk Chiang <sh.chiang04@gmail.com>
256
257 * config.host (nds32*-linux*): New.
258 * config/nds32/linux-atomic.c: New file.
259 * config/nds32/linux-unwind.h: New file.
260
261 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
262
263 PR target/85591
264 * config/i386/cpuinfo.c (get_amd_cpu): Return
265 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
266
267 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
268
269 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
270
271 2018-05-29 Martin Liska <mliska@suse.cz>
272
273 PR gcov-profile/85759
274 * libgcov-driver-system.c (gcov_error): Introduce usage of
275 GCOV_EXIT_AT_ERROR env. variable.
276 * libgcov-driver.c (merge_one_data): Print error that we
277 overwrite a gcov file with a different timestamp.
278
279 2018-05-23 Kalamatee <kalamatee@gmail.com>
280
281 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
282 path to Lf$finfty.
283
284 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
285 Monk Chiang <sh.chiang04@gmail.com>
286 Jim Wilson <jimw@sifive.com>
287
288 * config/riscv/save-restore.S: Add support for rv32e.
289
290 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
291
292 * config/arm/libunwind.S: Update comment relating to armv5.
293
294 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
295
296 * config/arm/cmse.c (cmse_check_address_range): Replace
297 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
298
299 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
300
301 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
302 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
303
304 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
305
306 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
307 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
308
309 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
310
311 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
312
313 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
314 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
315
316 PR libgcc/84292
317 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
318 op_and_fetch to return the right result.
319
320 2018-04-27 Alan Modra <amodra@gmail.com>
321
322 PR libgcc/85532
323 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
324 -fno-asynchronous-unwind-tables.
325
326 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
327
328 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
329 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
330
331 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
332
333 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
334 when including "config/i386/shadow-stack-unwind.h".
335
336 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
337
338 * configure: Regenerated.
339
340 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
341
342 PR target/85456
343 * config/rs6000/_powikf2.c: New file. Add support for the
344 __builtin_powil function when long double is IEEE 128-bit floating
345 point.
346 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
347 __powikf2 support.
348 (__powikf2): Likewise.
349 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
350 (__powikf2_hw): Likewise.
351 (__powikf2): Likewise.
352 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
353 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
354 (_powikf2-hw.c): Likewise.
355
356 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
357
358 PR libgcc/85334
359 * unwind-generic.h (_Unwind_Frames_Increment): New.
360 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
361 Likewise.
362 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
363 count with _Unwind_Frames_Increment.
364 (_Unwind_ForcedUnwind_Phase2): Likewise.
365
366 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
367
368 PR libgcc/85379
369 * config/i386/morestack.S (__stack_split_initialize): Add
370 _CET_ENDBR.
371
372 2018-04-19 Jakub Jelinek <jakub@redhat.com>
373
374 * configure: Regenerated.
375
376 2018-04-18 David Malcolm <dmalcolm@redhat.com>
377
378 PR jit/85384
379 * configure: Regenerate.
380
381 2018-04-16 Jakub Jelinek <jakub@redhat.com>
382
383 PR target/84945
384 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
385 -Wdangling-else warnings. Mask shift counts to avoid
386 -Wshift-count-negative and -Wshift-count-overflow false positives.
387
388 2018-04-06 Ruslan Bukin <br@bsdpad.com>
389
390 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
391
392 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
393
394 PR target/85100
395 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
396 (XSTATE_FP): Likewise.
397 (XSTATE_SSE): Likewise.
398 (XSTATE_YMM): Likewise.
399 (XSTATE_OPMASK): Likewise.
400 (XSTATE_ZMM): Likewise.
401 (XSTATE_HI_ZMM): Likewise.
402 (XCR_AVX_ENABLED_MASK): Likewise.
403 (XCR_AVX512F_ENABLED_MASK): Likewise.
404 (get_available_features): Enable AVX and AVX512 features only
405 if their states are supported by OSXSAVE.
406
407 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
408
409 PR target/85025
410 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
411 Fix a typo, tmp => 255.
412
413 2018-03-20 Jakub Jelinek <jakub@redhat.com>
414
415 PR target/84945
416 * config/i386/cpuinfo.h (__cpu_features2): Declare.
417 * config/i386/cpuinfo.c (__cpu_features2): New variable for
418 ifndef SHARED only.
419 (set_feature): Define.
420 (get_available_features): Use set_feature macro. Set __cpu_features2
421 to the second word of features ifndef SHARED.
422
423 2018-03-15 Julia Koval <julia.koval@intel.com>
424
425 * config/i386/cpuinfo.c (get_available_features): Add
426 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
427 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
428 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
429 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
430 FEATURE_AVX512BITALG.
431
432 2018-03-14 Julia Koval <julia.koval@intel.com>
433
434 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
435 icelake client and icelake server.
436
437 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
438
439 * config/pa/fptr.c (_dl_read_access_allowed): New.
440 (__canonicalize_funcptr_for_compare): Use it.
441
442 2018-02-28 Jakub Jelinek <jakub@redhat.com>
443
444 PR debug/83917
445 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
446 $asm_hidden_op if visibility ("hidden") attribute works.
447 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
448 * config/i386/i386-asm.h: Don't include auto-host.h.
449 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
450 PACKAGE_URL): Don't undefine.
451 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
452 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
453 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
454 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
455 definition instead of hardcoded .hidden.
456 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
457 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
458 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
459 (USE_GAS_CFI_DIRECTIVES): Don't define.
460 * configure: Regenerated.
461 * config.in: Likewise.
462
463 2018-02-26 Jakub Jelinek <jakub@redhat.com>
464
465 PR debug/83917
466 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
467 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
468 inclusion of auto-target.h and auto-host.h.
469 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
470 __GCC_HAVE_DWARF2_CFI_ASM.
471 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
472 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
473 cfi_pop): Define.
474 * config/i386/cygwin.S: Don't include auto-host.h here, just
475 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
476 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
477 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
478 * config/i386/resms64fx.h: Add cfi_* directives.
479 * config/i386/resms64x.h: Likewise.
480
481 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
482
483 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
484 .literal_position directive.
485 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
486
487 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
488
489 PR target/84148
490 * configure: Regenerate.
491
492 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
493
494 PR target/84239
495 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
496 Include cetintrin.h not x86intrin.h.
497
498 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
499
500 PR target/84239
501 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
502 Use new _get_ssp and _inc_ssp intrinsics.
503
504 2018-02-02 Julia Koval <julia.koval@intel.com>
505
506 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
507
508 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
509
510 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
511 option.
512 (__divsi3): Use RF16 safe registers.
513 (__modsi3): Likewise.
514
515 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
516
517 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
518 (__divsf3): Make NaN return value quiet.
519 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
520 (__divdf3): Make NaN return value quiet.
521
522 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
523
524 * config/rl78/anddi3.S: New assembly file.
525 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
526
527 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
528
529 * config/rl78/umindi3.S: New assembly file.
530 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
531
532 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
533
534 * config/rl78/smindi3.S: New assembly file.
535 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
536
537 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
538
539 * config/rl78/smaxdi3.S: New assembly file.
540 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
541
542 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
543
544 * config/rl78/umaxdi3.S: New assembly file.
545 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
546
547 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
548
549 PR lto/83452
550 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
551 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
552
553 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
554
555 * config/aarch64/value-unwind.h (aarch64_vg): New function.
556 (DWARF_LAZY_REGISTER_VALUE): Define.
557 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
558 to provide a fallback register value.
559
560 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
561
562 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
563 __ibm128, instead of trying to use long double.
564 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
565 accomidate -mabi=ieeelongdouble multilibs.
566 (CVT_IBM128_TO_FLOAT128): Likewise.
567 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
568 the appropriate IBM extended double type.
569 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
570 (__gcc_qsub): Likewise.
571 (__gcc_qmul): Likewise.
572 (__gcc_qdiv): Likewise.
573 (pack_ldouble): Likewise.
574 (__gcc_qneg): Likewise.
575 (__gcc_qeq): Likewise.
576 (__gcc_qne): Likewise.
577 (__gcc_qge): Likewise.
578 (__gcc_qle): Likewise.
579 (__gcc_stoq): Likewise.
580 (__gcc_dtoq): Likewise.
581 (__gcc_itoq): Likewise.
582 (__gcc_utoq): Likewise.
583 (__gcc_qunord): Likewise.
584 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
585 quad-float128.h for the definitions.
586 (COPYSIGN): Use the f128 version instead of the q version.
587 (INFINITY): Likewise.
588 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
589 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
590 quad-float128.h for the definitions.
591 (COPYSIGN): Use the f128 version instead of the q version.
592 (INFINITY): Likewise.
593 (FABS): Likewise.
594 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
595 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
596 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
597
598 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
599
600 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
601 configuration.
602
603 2018-01-03 Jakub Jelinek <jakub@redhat.com>
604
605 Update copyright years.
606
607 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
608
609 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
610 * config/riscv/multi3.c: New file.
611 * config/riscv/multi3.S: Remove.
612
613 2017-12-08 Jim Wilson <jimw@sifive.com>
614
615 * config/riscv/div.S: Use FUNC_* macros.
616 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
617 * config/riscv/save-restore.S: Likewise.
618 * config/riscv/riscv-asm.h: New.
619
620 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
621
622 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
623 * config/rs6000/_divkc3.c (__divkc3): Likewise.
624
625 PR libgcc/83112
626 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
627 correct type for all ifunc resolvers to silence -Wattribute-alias
628 warnings. Eliminate the forward declaration of the resolver
629 functions which is no longer needed.
630 (__subkf3_resolve): Likewise.
631 (__mulkf3_resolve): Likewise.
632 (__divkf3_resolve): Likewise.
633 (__negkf2_resolve): Likewise.
634 (__eqkf2_resolve): Likewise.
635 (__nekf2_resolve): Likewise.
636 (__gekf2_resolve): Likewise.
637 (__gtkf2_resolve): Likewise.
638 (__lekf2_resolve): Likewise.
639 (__ltkf2_resolve): Likewise.
640 (__unordkf2_resolve): Likewise.
641 (__extendsfkf2_resolve): Likewise.
642 (__extenddfkf2_resolve): Likewise.
643 (__trunckfsf2_resolve): Likewise.
644 (__trunckfdf2_resolve): Likewise.
645 (__fixkfsi_resolve): Likewise.
646 (__fixkfdi_resolve): Likewise.
647 (__fixunskfsi_resolve): Likewise.
648 (__fixunskfdi_resolve): Likewise.
649 (__floatsikf_resolve): Likewise.
650 (__floatdikf_resolve): Likewise.
651 (__floatunsikf_resolve): Likewise.
652 (__floatundikf_resolve): Likewise.
653 (__extendkftf2_resolve): Likewise.
654 (__trunctfkf2_resolve): Likewise.
655
656 PR libgcc/83103
657 * config/rs6000/quad-float128.h (TF): Don't define if long double
658 is IEEE 128-bit floating point.
659 (TCtype): Define as either TCmode or KCmode, depending on whether
660 long double is IEEE 128-bit floating point.
661 (__mulkc3_sw): Add declarations for software/hardware versions of
662 complex multiply/divide.
663 (__divkc3_sw): Likewise.
664 (__mulkc3_hw): Likewise.
665 (__divkc3_hw): Likewise.
666 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
667 handlers to switch between using software emulation and hardware
668 float128 instructions, build the complex multiply/divide functions
669 for both software and hardware support.
670 * config/rs6000/_divkc3.c (_divkc3): Likewise.
671 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
672 (__divkc3_resolve): Likewise.
673 (__mulkc3): Likewise.
674 (__divkc3): Likewise.
675 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
676 (fp128_hw_src): Likewise.
677 (fp128_hw_static_obj): Likewise.
678 (fp128_hw_shared_obj): Likewise.
679 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
680 _mulkc3.c and _divkc3.c, changing the function name.
681 (_divkc3-hw.c): Likewise.
682 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
683 and _divkc3-hw.c.
684
685 2017-11-26 Julia Koval <julia.koval@intel.com>
686
687 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
688 * config/i386/cpuinfo.h (processor_subtypes): Add
689 INTEL_COREI7_CANNONLAKE.
690
691 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
692
693 PR bootstrap/83015
694 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
695 parameter.
696 * config/xtensa/unwind-dw2-xtensa.c: Likewise
697 * config/ia64/unwind-ia64.c: Add frames parameter.
698 * unwind-sjlj.c: Likewise.
699
700 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
701
702 * config/i386/linux-unwind.h: Include
703 config/i386/shadow-stack-unwind.h.
704 * config/i386/shadow-stack-unwind.h: New file.
705 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
706 pass it to _Unwind_Frames_Extra.
707 * unwind-generic.h (_Unwind_Frames_Extra): New.
708 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
709 parameter. Add local variable frames to count number of frames.
710 (_Unwind_ForcedUnwind_Phase2): Likewise.
711 (_Unwind_RaiseException): Add local variable frames to count
712 number of frames, pass it to _Unwind_RaiseException_Phase2 and
713 uw_install_context.
714 (_Unwind_ForcedUnwind): Likewise.
715 (_Unwind_Resume): Likewise.
716 (_Unwind_Resume_or_Rethrow): Likewise.
717
718 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
719
720 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
721 (CET_FLAGS): New.
722 * config/i386/morestack.S: Include <cet.h>.
723 (__morestack_large_model): Add _CET_ENDBR at function entrance.
724 * config/i386/resms64.h: Include <cet.h>.
725 * config/i386/resms64f.h: Likewise.
726 * config/i386/resms64fx.h: Likewise.
727 * config/i386/resms64x.h: Likewise.
728 * config/i386/savms64.h: Likewise.
729 * config/i386/savms64f.h: Likewise.
730 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
731 (CRTSTUFF_T_CFLAGS): Likewise.
732 * configure.ac: Include ../config/cet.m4.
733 Set and substitute CET_FLAGS.
734 * configure: Regenerated.
735
736 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
737
738 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
739 renaming.
740 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
741 * configure.ac (libgcc_cv_solaris_crts): Likewise.
742 * configure: Regenerate.
743
744 2017-11-07 Tom de Vries <tom@codesourcery.com>
745
746 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
747 after "do {} while (0)".
748
749 2017-11-07 Tom de Vries <tom@codesourcery.com>
750
751 PR other/82784
752 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
753 semicolon after "do {} while (0)".
754 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
755 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
756 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
757 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
758
759 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
760
761 PR libgcc/82635
762 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
763 sysctl to determine whether we're in a trampoline.
764 Keep the pattern matching method for systems without
765 KERN_PROC_SIGTRAMP sysctl.
766
767 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
768 Vineet Gupta <vgupta@synopsys.com>
769
770 * config.host (arc*-*-linux*): Set md_unwind_header variable.
771 * config/arc/linux-unwind-reg.def: New file.
772 * config/arc/linux-unwind-reg.h: Likewise.
773
774 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
775
776 * config/rl78/subdi3.S: New assembly file.
777 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
778
779 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
780
781 * config/rl78/adddi3.S: New assembly file.
782 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
783
784 2017-10-13 Jakub Jelinek <jakub@redhat.com>
785
786 PR target/82274
787 * libgcc2.c (__mulvDI3): If both operands have
788 the same highpart of -1 and the topmost bit of lowpart is 0,
789 multiplication overflows even if both lowparts are 0.
790
791 2017-09-28 James Bowman <james.bowman@ftdichip.com>
792
793 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
794
795 2017-09-26 Joseph Myers <joseph@codesourcery.com>
796
797 * config/microblaze/crti.S, config/microblaze/crtn.S,
798 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
799 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
800 config/microblaze/mulsi3.S,
801 config/microblaze/stack_overflow_exit.S,
802 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
803 config/pa/milli64.S: Add .note.GNU-stack section.
804
805 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
806
807 * configure.ac: Add Check for HAVE_AS_AVX.
808 * config.in: Regenerate.
809 * configure: Likewise.
810 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
811 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
812 Correct out-of-date comments.
813
814 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
815
816 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
817 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
818
819 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
820
821 * config/i386/i386-asm.h (PASTE2): New macro.
822 (ASMNAME): Modify to use PASTE2.
823 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
824 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
825 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
826 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
827 * config/i386/resms64f.S: Likewise.
828 * config/i386/resms64fx.S: Likewise.
829 * config/i386/resms64x.S: Likewise.
830 * config/i386/savms64.S: Likewise.
831 * config/i386/savms64f.S: Likewise.
832 * config/i386/avx_resms64.S: New file that only defines a macro and
833 includes it's corresponding header file.
834 * config/i386/avx_resms64f.S: Likewise.
835 * config/i386/avx_resms64fx.S: Likewise.
836 * config/i386/avx_resms64x.S: Likewise.
837 * config/i386/avx_savms64.S: Likewise.
838 * config/i386/avx_savms64f.S: Likewise.
839 * config/i386/sse_resms64.S: Likewise.
840 * config/i386/sse_resms64f.S: Likewise.
841 * config/i386/sse_resms64fx.S: Likewise.
842 * config/i386/sse_resms64x.S: Likewise.
843 * config/i386/sse_savms64.S: Likewise.
844 * config/i386/sse_savms64f.S: Likewise.
845 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
846
847 2017-09-01 Olivier Hainque <hainque@adacore.com>
848 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
849
850 2017-08-31 Olivier Hainque <hainque@adacore.com>
851
852 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
853 match as powerpc-wrs-vxworks*.
854
855 2017-08-07 Jonathan Yong <10walls@gmail.com>
856
857 * config.host (*-cygwin): Include file from mingw
858 config/i386/enable-execute-stack-mingw32.c
859
860 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
861 Doug Rupp <rupp@adacore.com>
862 Olivier Hainque <hainque@adacore.com>
863
864 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
865 as well as arm-wrs-vxworks.
866 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
867 LIB2ADDEH.
868 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
869 __exidx_start and __exidx_end for downloadable modules.
870
871 2017-08-01 Olivier Hainque <hainque@adacore.com>
872
873 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
874 * config/t-vxworks7: Likewise.
875
876 2017-08-01 Olivier Hainque <hainque@adacore.com>
877
878 * config/t-vxworks: Instead of redefining LIB2ADD,
879 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
880
881 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
882
883 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
884
885 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
886
887 PR testsuite/80759
888 * config.host: include i386/t-msabi for darwin and solaris.
889 * config/i386/i386-asm.h
890 (ELFFN): Rename to FN_TYPE.
891 (FN_SIZE): New macro.
892 (FN_HIDDEN): Likewise.
893 (ASMNAME): Likewise.
894 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
895 .globl.
896 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
897 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
898 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
899 .macro.
900 * config/i386/resms64f.S: Likewise.
901 * config/i386/resms64fx.S: Likewise.
902 * config/i386/resms64x.S: Likewise.
903 * config/i386/savms64.S: Likewise.
904 * config/i386/savms64f.S: Likewise.
905
906 2017-07-19 John Marino <gnugcc@marino.st>
907
908 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
909
910 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
911
912 PR target/81193
913 * configure.ac (PowerPC float128 hardware support): Test whether
914 we can use __builtin_cpu_supports before enabling the ifunc
915 handler.
916 * configure: Regenerate.
917
918 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
919
920 * config.host: Remove uclibc from arc target spec.
921
922 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
923
924 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
925
926 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
927
928 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
929 (have_ieee_hw_p): Delete function.
930 (SW_OR_HW) Use __builtin_cpu_supports().
931
932 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
933
934 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
935
936 2017-07-03 Olivier Hainque <hainque@adacore.com>
937
938 * config/t-vxworks7: New file, really.
939
940 2017-06-28 Joseph Myers <joseph@codesourcery.com>
941
942 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
943 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
944 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
945 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
946 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
947 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
948 config/pa/linux-unwind.h (pa32_fallback_frame_state),
949 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
950 config/sh/linux-unwind.h (sh_fallback_frame_state),
951 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
952 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
953 ucontext_t instead of struct ucontext.
954
955 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
956
957 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
958 (x86_64-wrs-vxworks7): Likewise.
959
960 2017-06-27 Olivier Hainque <hainque@adacore.com>
961
962 * config/t-vxworks7: New file.
963 * config.host (*-*-vxworks7): Use it.
964
965 2017-06-22 Matt Turner <mattst88@gmail.com>
966
967 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
968 skylake case.
969
970 2017-06-21 Richard Biener <rguenther@suse.de>
971
972 PR gcov-profile/81080
973 * configure.ac: Add AC_SYS_LARGEFILE.
974 * libgcov.h: Include auto-target.h before tsystem.h to pick
975 up _FILE_OFFSET_BITS which might differ for multilibs.
976 * config.in: Regenerate.
977 * configure: Likewise.
978
979 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
980
981 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
982
983 2017-06-09 Martin Liska <mliska@suse.cz>
984
985 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
986 Reset __gcov_indirect_call_callee to NULL.
987
988 2017-06-08 Olivier Hainque <hainque@adacore.com>
989
990 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
991 the set of -I options, support for direct inclusions of net/uio.h
992 by VxWorks header files via ioLib.h.
993
994 2017-06-07 Tony Reix <tony.reix@atos.net>
995 Matthieu Sarter <matthieu.sarter.external@atos.net>
996 David Edelsohn <dje.gcc@gmail.com>
997
998 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
999 unconditionally.
1000 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1001 AIX 7.2 support.
1002
1003 2017-06-02 Olivier Hainque <hainque@adacore.com>
1004
1005 * config/vxlib.c (__gthread_once): Add missing value to
1006 return statement.
1007
1008 2017-05-30 Olivier Hainque <hainque@adacore.com>
1009
1010 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1011 dollar sign before $(MULTIDIR).
1012
1013 2017-05-26 Richard Henderson <rth@redhat.com>
1014
1015 PR libgcc/80037
1016 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1017
1018 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1019
1020 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1021 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1022 * config/arm/unwind-arm.c: Implement the above.
1023
1024 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1025
1026 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1027 section for a non-executable stack.
1028
1029 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1030
1031 PR target/80600
1032 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1033
1034 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
1035
1036 * config.host: Add i386/t-msabi to i386/t-linux file list.
1037 * config/i386/i386-asm.h: New file.
1038 * config/i386/resms64.S: New file.
1039 * config/i386/resms64f.S: New file.
1040 * config/i386/resms64fx.S: New file.
1041 * config/i386/resms64x.S: New file.
1042 * config/i386/savms64.S: New file.
1043 * config/i386/savms64f.S: New file.
1044 * config/i386/t-msabi: New file.
1045
1046 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1047
1048 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1049 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1050
1051 2017-05-05 Joshua Conner <joshconner@google.com>
1052
1053 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1054 pc-relative indirect handling for fuchsia.
1055 * config/t-slibgcc-fuchsia: New file.
1056 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1057 x86_64-*-fuchsia*): Add definitions.
1058
1059 2017-04-19 Martin Liska <mliska@suse.cz>
1060
1061 PR gcov-profile/80435
1062 * Makefile.in: Install gcov.h.
1063 * gcov.h: New file.
1064 * libgcov.h: Use the header and make __gcov_flush publicly
1065 visible.
1066
1067 2017-04-18 Martin Liska <mliska@suse.cz>
1068
1069 PR gcov-profile/78783
1070 * libgcov-driver.c (gcov_get_filename): New function.
1071
1072 2017-04-07 Jeff Law <law@redhat.com>
1073
1074 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1075 target makefile fragment.
1076 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1077
1078 2017-04-07 Alan Modra <amodra@gmail.com>
1079
1080 PR target/45053
1081 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1082
1083 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
1084
1085 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1086
1087 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1088
1089 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1090
1091 2017-03-10 John Marino <gnugcc@marino.st>
1092
1093 * config/aarch64/freebsd-unwind.h: New file.
1094 * config.host: Add aarch64-*-freebsd unwinder.
1095
1096 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1097
1098 * config/rs6000/crtrestvr.s: Use .machine altivec.
1099 * config/rs6000/crtsavevr.s: Ditto.
1100
1101 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1102
1103 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1104 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1105 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1106 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1107 * configure: Regenerate.
1108 * config.in: Regenerate.
1109
1110 2017-03-02 Jonathan Yong <10walls@gmail.com>
1111
1112 * config/i386/gthr-win32.h: Define NOGDI before
1113 windows.h include to prevent w32api CC_NONE macro
1114 clash with libgfortran.
1115
1116 2017-03-02 Jonathan Yong <10walls@gmail.com>
1117
1118 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1119
1120 2017-02-16 Andrew Pinski <apinski@cavium.com>
1121
1122 * config/aarch64/value-unwind.h: New file.
1123 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1124 to tm_file.
1125
1126 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1127
1128 * config.host: Add RISC-V tuples.
1129 * config/riscv/atomic.c: New file.
1130 * config/riscv/crti.S: Likewise.
1131 * config/riscv/crtn.S: Likewise.
1132 * config/riscv/div.S: Likewise.
1133 * config/riscv/linux-unwind.h: Likewise.
1134 * config/riscv/muldi3.S: Likewise.
1135 * config/riscv/multi3.S: Likewise.
1136 * config/riscv/save-restore.S: Likewise.
1137 * config/riscv/sfp-machine.h: Likewise.
1138 * config/riscv/t-elf: Likewise.
1139 * config/riscv/t-elf32: Likewise.
1140 * config/riscv/t-elf64: Likewise.
1141 * config/riscv/t-softfp32: Likewise.
1142 * config/riscv/t-softfp64: Likewise.
1143
1144 2017-01-24 Jakub Jelinek <jakub@redhat.com>
1145
1146 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1147 /* FALLTHRU */ comments.
1148
1149 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1150
1151 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1152
1153 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1154
1155 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1156 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1157 DW_CFA_GNU_window_save for AArch64 and LP64.
1158
1159 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1160
1161 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1162
1163 2017-01-19 Jiong Wang <jiong.wang@arm.com>
1164
1165 * config/aarch64/aarch64-unwind.h: New file.
1166 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1167 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1168 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1169 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1170 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1171 (aarch64_post_extract_frame_addr): New function.
1172 (aarch64_post_frob_eh_handler_addr): New function.
1173 (aarch64_frob_update_context): New function.
1174 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1175 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1176 aarch64*-*-freebsd*):
1177 Initialize md_unwind_header to include aarch64-unwind.h.
1178 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1179 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1180 __aarch64__.
1181 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1182 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1183 (uw_frob_return_addr): New function.
1184 (uw_install_context): Use uw_frob_return_addr.
1185
1186 2017-01-17 Jakub Jelinek <jakub@redhat.com>
1187
1188 PR other/79046
1189 * configure.ac: Add GCC_BASE_VER.
1190 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1191 version from BASE-VER file.
1192 * configure: Regenerated.
1193
1194 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
1195
1196 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1197 libmul_f5.a): Filter archived prerequisites.
1198
1199 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1200
1201 * config/i386/cpuinfo.h (processor_features): Add
1202 FEATURE_AVX512VPOPCNTDQ.
1203 * config/i386/cpuinfo.c (get_available_features): Habdle new
1204 feature.
1205
1206 2017-01-04 Joseph Myers <joseph@codesourcery.com>
1207
1208 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1209 payload if [__mips_nan2008].
1210
1211 2017-01-04 Alan Modra <amodra@gmail.com>
1212
1213 * Makefile.in (configure_deps): Update.
1214 * configure: Regenerate.
1215
1216 2017-01-01 Jakub Jelinek <jakub@redhat.com>
1217
1218 Update copyright years.
1219
1220 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1221
1222 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1223 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1224 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1225
1226 2016-12-17 Matthias Klose <doko@ubuntu.com>
1227
1228 * config/arc/gmon: Remove empty directory.
1229
1230 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1231
1232 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1233 crtgend.
1234 (arc*-*-elf*): Likewise.
1235 * config/arc/t-arc: Remove old gmon lib targets.
1236 * config/arc/crtg.S: Remove.
1237 * config/arc/crtgend.S: Likewise.
1238 * config/arc/gmon/atomic.h: Likewise.
1239 * config/arc/gmon/auxreg.h: Likewise.
1240 * config/arc/gmon/dcache_linesz.S: Likewise.
1241 * config/arc/gmon/gmon.c: Likewise.
1242 * config/arc/gmon/machine-gmon.h: Likewise.
1243 * config/arc/gmon/mcount.c: Likewise.
1244 * config/arc/gmon/prof-freq-stub.S: Likewise.
1245 * config/arc/gmon/prof-freq.c: Likewise.
1246 * config/arc/gmon/profil.S: Likewise.
1247 * config/arc/gmon/sys/gmon.h: Likewise.
1248 * config/arc/gmon/sys/gmon_out.h: Likewise.
1249 * config/arc/t-arc-newlib: Likewise.
1250 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1251
1252 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1253
1254 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1255
1256 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1257
1258 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1259 R16 instead of push + pop.
1260 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1261
1262 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1263
1264 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1265 tmake_file.
1266
1267 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1268
1269 * config.host (arc*-*-linux-uclibc*): Use default extra
1270 objects. Include linux-android header.
1271 * config/arc/crti.S (_init): Declare symbol as function.
1272 (_fini): Likewise.
1273
1274 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1275
1276 PR fortran/78379
1277 * config/i386/cpuinfo.c: Move denums for processor vendors,
1278 processor type, processor subtypes and declaration of
1279 struct __processor_model into
1280 * config/i386/cpuinfo.h: New header file.
1281
1282 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1283 Thomas Preud'homme <thomas.preudhomme@arm.com>
1284
1285 * config/arm/cmse_nonsecure_call.S: New.
1286 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1287
1288 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1289 Thomas Preud'homme <thomas.preudhomme@arm.com>
1290
1291 * config/arm/t-arm (HAVE_CMSE): New.
1292 * config/arm/cmse.c: New.
1293
1294 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1295
1296 PR gcc/74748
1297 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1298 use generic linker version information on Blackfin.
1299
1300 PR gcc/74748
1301 * libgcc/mkmap-symver.awk: add support for skip_underscore
1302
1303 2016-11-27 Iain Sandoe <iain@codesourcery.com>
1304 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1305
1306 PR target/67710
1307 * config/t-darwin: Default builds to 10.5 codegen.
1308
1309 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1310
1311 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1312 (_FP_NANSIGN_H): Likewise.
1313 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1314 (softfp_truncations): Add tfhf.
1315 (softfp_extras): Add required conversion functions.
1316
1317 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1318 Matthew Wahab <matthew.wahab@arm.com>
1319
1320 * config/arm/fp16.c (binary64): New.
1321 (__gnu_d2h_internal): New.
1322 (__gnu_d2h_ieee): New.
1323 (__gnu_d2h_alternative): New.
1324
1325 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1326 Matthew Wahab <matthew.wahab@arm.com>
1327
1328 * config/arm/fp16.c (struct format): New.
1329 (binary32): New.
1330 (__gnu_float2h_internal): New. Body moved from
1331 __gnu_f2h_internal and generalize.
1332 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1333 Call it with binary32.
1334
1335 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1336
1337 * soft-fp/extendhftf2.c: Update from glibc.
1338 * soft-fp/fixhfti.c: Likewise.
1339 * soft-fp/fixunshfti.c: Likewise.
1340 * soft-fp/floattihf.c: Likewise.
1341 * soft-fp/floatuntihf.c: Likewise.
1342 * soft-fp/half.h: Likewise.
1343 * soft-fp/trunctfhf2.c: Likewise.
1344
1345 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
1346
1347 PR libgcc/77813
1348 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1349 __TMC_END__ behind a passthrough asm.
1350
1351 2016-11-18 Walter Lee <walt@tilera.com>
1352
1353 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1354
1355 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1356
1357 * config/i386/cpuinfo.c (processor_features): Add
1358 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1359
1360 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1361
1362 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1363 (__ARC_NORM__): Use instead ARC_OPTFPE.
1364 * config/arc/fp-hack.h: Likewise.
1365 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1366 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1367
1368 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
1369
1370 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1371 * config/nvptx/mgomp.c: New file.
1372 * config/nvptx/t-nvptx: Add mgomp.c
1373
1374 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1375
1376 PR libgcc/68468
1377 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1378
1379 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1380
1381 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1382 of checking for cpus.
1383 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1384 (__modsi3, __clzsi2): Likewise.
1385
1386 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1387
1388 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1389 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1390 * config/i386/t-cpuinfo-static: New.
1391
1392 2016-11-03 Martin Liska <mliska@suse.cz>
1393
1394 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1395 (__gcov_time_profiler_atomic): Likewise.
1396
1397 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1398
1399 PR libgcc/78067
1400 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1401 count_leading_zeros.
1402
1403 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
1404
1405 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1406 * libgcc2.c (__divmoddi4): New function.
1407 * libgcc2.h (__divmoddi4): Declare.
1408 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1409 and __PFX_divmodti4.
1410
1411 2016-10-24 Florian Weimer <fweimer@redhat.com>
1412
1413 PR libgcc/78064
1414 * unwind-c.c: Include auto-target.h.
1415
1416 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
1417
1418 * config/pa/pa64-hpux-lib.h: New file.
1419 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1420 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1421 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1422 hppa*64*-*-hpux11*.
1423
1424 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1425
1426 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1427 definition.
1428 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1429 definition.
1430 * config/xtensa/t-windowed (LIB2ADDEH): Use
1431 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1432 or xtensa/t-linux.
1433
1434 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1435
1436 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1437 __ieee754_sqrt): New functions.
1438 (__divdf3): Add implementation with new FPU instructions under
1439 #if XCHAL_HAVE_DFP_DIV.
1440 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1441 __ieee754_sqrtf): New functions.
1442 (__divsf3): Add implementation with new FPU instructions under
1443 #if XCHAL_HAVE_FP_DIV.
1444 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1445 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1446
1447 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1448
1449 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1450 equivalent.
1451 * config/tilepro/atomic.c: Likewise and stop casting model to
1452 enum memmodel.
1453
1454 2016-10-10 Joseph Myers <joseph@codesourcery.com>
1455
1456 PR target/77586
1457 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1458 soft-fp.
1459
1460 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1461
1462 * config.host: Add support for aarch64-*-freebsd*.
1463
1464 2016-10-05 Andreas Schwab <schwab@suse.de>
1465
1466 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1467 (.section .init_array): Don't call __do_jv_register_classes.
1468 (.section .init): Likewise.
1469
1470 2016-10-04 Jakub Jelinek <jakub@redhat.com>
1471
1472 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1473 (__JCR_LIST__): Remove.
1474 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1475 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1476 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1477 * config/ia64/crtend.S (__JCR_END__): Remove.
1478 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1479 conditionals.
1480 (__JCR_LIST__, __JCR_END__): Remove.
1481 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1482 (__do_global_ctors_1): Likewise.
1483
1484 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
1485
1486 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1487 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1488
1489 2016-09-27 Martin Liska <mliska@suse.cz>
1490
1491 PR gcov-profile/7970
1492 PR gcov-profile/16855
1493 PR gcov-profile/44779
1494 * libgcov-driver.c (__gcov_init): Do not register a atexit
1495 handler.
1496 (__gcov_exit): Rename from gcov_exit.
1497 * libgcov.h (__gcov_exit): Declare.
1498
1499 2016-09-27 Martin Liska <mliska@suse.cz>
1500
1501 PR bootstrap/77749
1502 * Makefile.in: Remove _gcov_merge_delta.
1503 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1504 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1505 * libgcov.h: Remove declaration of __gcov_merge_delta.
1506
1507 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1508
1509 * configure.ac: Do not create links, only substitute the filenames.
1510 * configure: Regenerate.
1511 * Makefile.in: Assign the substitution results to variables.
1512 (LIBGCC_LINKS): Define.
1513 (enable-execute-stack.c): New rule.
1514 (unwind.h): Likewise.
1515 (md-unwind-support.h): Likewise.
1516 (sfp-machine.h): Likewise.
1517 (gthr-default.h): Likewise.
1518 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1519 unwind.h as prerequisite of install-unwind_h-forbuild.
1520
1521 2016-09-16 Jakub Jelinek <jakub@redhat.com>
1522
1523 PR libgcc/71744
1524 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1525 is not the primary registry and atomics are available.
1526 (any_objects_registered): New variable.
1527 (__register_frame_info_bases, __register_frame_info_table_bases):
1528 Atomically store 1 to any_objects_registered after registering first
1529 unwind info.
1530 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1531
1532 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1533
1534 PR target/63250
1535 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1536 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1537 (HFtype): Likewise.
1538 (HCtype): Likewise.
1539 (__divhc3): Likewise.
1540 (__mulhc3): Likewise.
1541 * libgcc2.c: Support _mulhc3 and _divhc3.
1542
1543 2016-09-07 Joseph Myers <joseph@codesourcery.com>
1544
1545 PR libgcc/77519
1546 * libgcc2.c (NOTRUNC): Invert settings.
1547
1548 2016-09-06 Martin Liska <mliska@suse.cz>
1549
1550 PR gcov-profile/77378
1551 PR gcov-profile/77466
1552 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1553 conditionaly enable/disable *_atomic functions.
1554
1555 2016-08-26 Joseph Myers <joseph@codesourcery.com>
1556
1557 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1558 where not already enabled.
1559
1560 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1561
1562 * config/mips/linux-unwind.h: Use sys/syscall.h.
1563
1564 2016-08-16 Joseph Myers <joseph@codesourcery.com>
1565
1566 PR libgcc/77265
1567 * soft-fp/adddf3.c: Update from glibc.
1568 * soft-fp/addsf3.c: Likewise.
1569 * soft-fp/addtf3.c: Likewise.
1570 * soft-fp/divdf3.c: Likewise.
1571 * soft-fp/divsf3.c: Likewise.
1572 * soft-fp/divtf3.c: Likewise.
1573 * soft-fp/double.h: Likewise.
1574 * soft-fp/eqdf2.c: Likewise.
1575 * soft-fp/eqsf2.c: Likewise.
1576 * soft-fp/eqtf2.c: Likewise.
1577 * soft-fp/extenddftf2.c: Likewise.
1578 * soft-fp/extended.h: Likewise.
1579 * soft-fp/extendsfdf2.c: Likewise.
1580 * soft-fp/extendsftf2.c: Likewise.
1581 * soft-fp/extendxftf2.c: Likewise.
1582 * soft-fp/fixdfdi.c: Likewise.
1583 * soft-fp/fixdfsi.c: Likewise.
1584 * soft-fp/fixdfti.c: Likewise.
1585 * soft-fp/fixsfdi.c: Likewise.
1586 * soft-fp/fixsfsi.c: Likewise.
1587 * soft-fp/fixsfti.c: Likewise.
1588 * soft-fp/fixtfdi.c: Likewise.
1589 * soft-fp/fixtfsi.c: Likewise.
1590 * soft-fp/fixtfti.c: Likewise.
1591 * soft-fp/fixunsdfdi.c: Likewise.
1592 * soft-fp/fixunsdfsi.c: Likewise.
1593 * soft-fp/fixunsdfti.c: Likewise.
1594 * soft-fp/fixunssfdi.c: Likewise.
1595 * soft-fp/fixunssfsi.c: Likewise.
1596 * soft-fp/fixunssfti.c: Likewise.
1597 * soft-fp/fixunstfdi.c: Likewise.
1598 * soft-fp/fixunstfsi.c: Likewise.
1599 * soft-fp/fixunstfti.c: Likewise.
1600 * soft-fp/floatdidf.c: Likewise.
1601 * soft-fp/floatdisf.c: Likewise.
1602 * soft-fp/floatditf.c: Likewise.
1603 * soft-fp/floatsidf.c: Likewise.
1604 * soft-fp/floatsisf.c: Likewise.
1605 * soft-fp/floatsitf.c: Likewise.
1606 * soft-fp/floattidf.c: Likewise.
1607 * soft-fp/floattisf.c: Likewise.
1608 * soft-fp/floattitf.c: Likewise.
1609 * soft-fp/floatundidf.c: Likewise.
1610 * soft-fp/floatundisf.c: Likewise.
1611 * soft-fp/floatunditf.c: Likewise.
1612 * soft-fp/floatunsidf.c: Likewise.
1613 * soft-fp/floatunsisf.c: Likewise.
1614 * soft-fp/floatunsitf.c: Likewise.
1615 * soft-fp/floatuntidf.c: Likewise.
1616 * soft-fp/floatuntisf.c: Likewise.
1617 * soft-fp/floatuntitf.c: Likewise.
1618 * soft-fp/gedf2.c: Likewise.
1619 * soft-fp/gesf2.c: Likewise.
1620 * soft-fp/getf2.c: Likewise.
1621 * soft-fp/ledf2.c: Likewise.
1622 * soft-fp/lesf2.c: Likewise.
1623 * soft-fp/letf2.c: Likewise.
1624 * soft-fp/muldf3.c: Likewise.
1625 * soft-fp/mulsf3.c: Likewise.
1626 * soft-fp/multf3.c: Likewise.
1627 * soft-fp/negdf2.c: Likewise.
1628 * soft-fp/negsf2.c: Likewise.
1629 * soft-fp/negtf2.c: Likewise.
1630 * soft-fp/op-1.h: Likewise.
1631 * soft-fp/op-2.h: Likewise.
1632 * soft-fp/op-4.h: Likewise.
1633 * soft-fp/op-8.h: Likewise.
1634 * soft-fp/op-common.h: Likewise.
1635 * soft-fp/quad.h: Likewise.
1636 * soft-fp/single.h: Likewise.
1637 * soft-fp/soft-fp.h: Likewise.
1638 * soft-fp/subdf3.c: Likewise.
1639 * soft-fp/subsf3.c: Likewise.
1640 * soft-fp/subtf3.c: Likewise.
1641 * soft-fp/truncdfsf2.c: Likewise.
1642 * soft-fp/trunctfdf2.c: Likewise.
1643 * soft-fp/trunctfsf2.c: Likewise.
1644 * soft-fp/trunctfxf2.c: Likewise.
1645 * soft-fp/unorddf2.c: Likewise.
1646 * soft-fp/unordsf2.c: Likewise.
1647 * soft-fp/unordtf2.c: Likewise.
1648
1649 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1650
1651 PR gcov-profile/67097
1652 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1653
1654 2016-08-10 Martin Liska <mliska@suse.cz>
1655
1656 PR gcov-profile/58306
1657 * Makefile.in: New functions (modules) are added.
1658 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1659 function.
1660 (__gcov_pow2_profiler_atomic): New function.
1661 (__gcov_one_value_profiler_body): New argument is instroduced.
1662 (__gcov_one_value_profiler): Call with the new argument.
1663 (__gcov_one_value_profiler_atomic): Likewise.
1664 (__gcov_indirect_call_profiler_v2): Likewise.
1665 (__gcov_time_profiler_atomic): New function.
1666 (__gcov_average_profiler_atomic): Likewise.
1667 (__gcov_ior_profiler_atomic): Likewise.
1668 * libgcov.h: Declare the aforementioned functions.
1669
1670 2016-08-09 Martin Liska <mliska@suse.cz>
1671
1672 * libgcov-util.c: Fix typo and GNU coding style.
1673
1674 2016-08-09 Martin Liska <mliska@suse.cz>
1675
1676 * Makefile.in: Remove __gcov_indirect_call_profiler.
1677 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1678 function.
1679 * libgcov.h: And the declaration of the function.
1680
1681 2016-08-09 Martin Liska <mliska@suse.cz>
1682
1683 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1684 power of two.
1685
1686 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1687
1688 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1689 * config/rs6000/_mulkc3.c: Likewise.
1690
1691 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
1692
1693 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1694 zero_reg as previous call to __umulhisi3 already cleared it.
1695
1696 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1697
1698 PR target/59833
1699 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1700
1701 2016-07-19 Nick Clifton <nickc@redhat.com>
1702
1703 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1704 Add crtinit.o and crtfini.o to extra_parts.
1705
1706 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1707
1708 * config/rs6000/_divkc3.c: New.
1709 * config/rs6000/_mulkc3.c: New.
1710 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1711 and _divkc3.
1712 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1713 fp128_ppc_funcs.
1714
1715 2016-07-11 Hale Wang <hale.wang@arm.com>
1716 Andre Vieira <andre.simoesdiasvieira@arm.com>
1717
1718 * config/arm/lib1funcs.S: Add new wrapper.
1719
1720 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1721
1722 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1723
1724 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1725
1726 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1727 and ARMv5t* rather than for a fixed list of architectures.
1728
1729 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1730
1731 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1732 implementation suitable for.
1733 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1734 for all Thumb-1 only targets.
1735 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1736 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1737 __ARM_ARCH_6M__.
1738 (EQUIV): Likewise.
1739 (ARM_FUNC_ALIAS): Likewise.
1740 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1741 version.
1742 (modsi3): Likewise.
1743 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1744 (clzdi2): Likewise.
1745 (ctzsi2): Likewise.
1746 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1747 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1748 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1749 __ARM_ARCH_6M__ and add comment to indicate the connection between
1750 this condition and the one in gcc/config/arm/elf.h.
1751 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1752 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1753 * config/arm/t-softfp: Likewise.
1754
1755 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1756
1757 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1758 CTOR_LISTS_DEFINED_EXTERNALLY.
1759
1760 2016-06-28 Walter Lee <walt@tilera.com>
1761
1762 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1763 asm/unistd.h.
1764 (SPR_CMPEXCH_VALUE): Define for tilegx.
1765 (__NR_FAST_cmpxchg): Define for tilepro.
1766 (__NR_FAST_atomic_update): Define for tilepro.
1767 (__NR_FAST_cmpxchg64): Define for tilepro.
1768
1769 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
1770
1771 * config.host: Add suport for arm*-*-phoenix* targets.
1772
1773 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1774
1775 * config.host: Remove support for mep-*.
1776 * config/mep/lib1funcs.S: Remove.
1777 * config/mep/lib2funcs.c: Remove.
1778 * config/mep/t-mep: Remove.
1779 * config/mep/tramp.c: Remove.
1780
1781 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1782
1783 * config.host: Remove support for avr-rtems.
1784 * config/avr/t-rtems: Remove.
1785
1786 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1787
1788 * config.host: Remove m32r-rtems support.
1789
1790 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1791
1792 * config.host: Remove h8300-rtems support.
1793
1794 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1795
1796 * config.host: Remove support for knetbsd.
1797
1798 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1799
1800 * config.host: Remove support for openbsd 2 and 3.
1801
1802 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1803
1804 * config.host: Remove interix support.
1805 * config/i386/t-interix: Remove.
1806
1807 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
1808
1809 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1810 least-significant bit in function pointer for fixup.
1811
1812 2016-06-05 Aaron Conole <aconole@redhat.com>
1813 Nathan Sidwell <nathan@acm.org>
1814
1815 PR libgcc/71400
1816 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1817 (get_gcov_error_file): Check __gcov_error_file before trying to
1818 initialize it.
1819 (gcov_error): Always use get_gcov_error_file.
1820
1821 2016-06-02 Aaron Conole <aconole@redhat.com>
1822
1823 * libgcov-driver-system.c (__gcov_error_file): New.
1824 (get_gcov_error_file): New.
1825 (gcov_error): Use and set __gcov_error_file.
1826 (gcov_error_exit): New.
1827 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1828
1829 2016-05-26 Nathan Sidwell <nathan@acm.org>
1830
1831 * config/nvptx/free.asm: Delete.
1832 * config/nvptx/malloc.asm: Delete.
1833 * config/nvptx/realloc.c: Delete.
1834 * t-nvptx: Update.
1835
1836 2016-05-25 Nathan Sidwell <nathan@acm.org>
1837
1838 * config/nvptx/crt0.s: Delete.
1839 * config/nvptx/crt0.c: New.
1840 * t-nvptx: Update.
1841
1842 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
1843
1844 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
1845 dw2/seh configuration.
1846 [x86_64-*-mingw*]: Likewise.
1847
1848 2016-05-10 Joel Sherrill <joel@rtems.org>
1849
1850 PR libgcc/70720
1851 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1852 targets so the same extra_parts are built. Also have tmake_file add
1853 on to its value rather than override.
1854
1855 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
1856
1857 * config.host: Remove SH5 support.
1858 * configure: Likewise.
1859
1860 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
1861
1862 * config/sh/crt1.S: Remove SH5 support.
1863 * config/sh/crti.S: Likewise.
1864 * config/sh/crtn.S: Likewise.
1865 * config/sh/lib1funcs-4-300.S: Likewise.
1866 * config/sh/lib1funcs-Os-4-200.S: Likewise.
1867 * config/sh/lib1funcs.S: Likewise.
1868 * config/sh/linux-unwind.h: Likewise.
1869 * config/sh/t-sh64: Delete.
1870
1871 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
1872
1873 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1874
1875 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
1876 Joern Rennecke <joern.rennecke@embecosm.com>
1877
1878 * config/arc/crttls.S: New file.
1879 * config/arc/t-arc: New rule.
1880 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1881
1882 2016-04-25 Nick Clifton <nickc@redhat.com>
1883
1884 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1885 (__mspabi_cmpd): Likewise.
1886 * config/msp430/floathidf.c (__floathidf): Likewise.
1887 * config/msp430/floathisf.c (__floathisf): Likewise
1888 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1889 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1890 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1891 second parameter.
1892 (__ashrsi3): Likewise.
1893
1894 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
1895
1896 * config/m68k/linux-atomic.c: Do not include unistd.h
1897
1898 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
1899
1900 * config/arm/ieee754-df.S: Fix typos in comments.
1901
1902 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
1903
1904 PR target/70381
1905 * configure.ac (powerpc*-*-linux*): Rework tests to build
1906 __float128 emulation routines to not depend on using #pragma GCC
1907 target to enable -mfloat128.
1908 * configure: Regnerate.
1909
1910 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
1911
1912 PR target/67172
1913 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1914 __MINGW32__ is defined.
1915
1916 2016-03-28 James Bowman <james.bowman@ftdichip.com>
1917
1918 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
1919
1920 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
1921
1922 PR libgcc/70363
1923 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1924 built with an assembler that does not support ISA 3.0
1925 instructions, rename __extendkftf2_sw to __extendkftf2.
1926
1927 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1928
1929 PR target/38239
1930 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1931 call-clobbered registers.
1932 (internal_mcount): Remove __i386__ handling.
1933
1934 2016-02-26 Joel Sherrill <joel@rtems.org>
1935
1936 * config.host: Add x86_64-*-rtems*.
1937
1938 2016-02-26 Joel Sherrill <joel@rtems.org>
1939
1940 * libgcc/config.host: Add aarch64-*-rtems*.
1941
1942 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1943 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1944
1945 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1946 union of u64 and double.
1947 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1948 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1949 value.
1950 (FP_ROUNDMODE): Update the usage of _fpscr.
1951
1952 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
1953
1954 PR driver/68463
1955 * Makefile.in (crtoffloadtable$(objext)): New rule.
1956 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1957 enable_offload_targets is not empty.
1958 * configure: Regenerate.
1959 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1960 crtoffloadtable.
1961
1962 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1963
1964 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1965 .literal_position before the function.
1966 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1967 Likewise.
1968
1969 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
1970
1971 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1972 * config/s390/morestack.S: New file.
1973 * config/s390/t-stack-s390: New file.
1974 * generic-morestack.c (__splitstack_find): Add s390-specific code.
1975
1976 2016-02-12 Walter Lee <walt@tilera.com>
1977
1978 * config.host (tilegx*-*-linux*): remove ti from
1979 softfp_int_modes for 32-bit configs.
1980
1981 2016-02-10 Ian Lance Taylor <iant@google.com>
1982
1983 PR go/68562
1984 * config/i386/morestack.S (__stack_split_initialize): Align
1985 stack.
1986
1987 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
1988
1989 PR bootstrap/69611
1990 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1991 __FLOAT128__ to compile only for __float128 capable targets.
1992
1993 2016-01-25 Jakub Jelinek <jakub@redhat.com>
1994
1995 PR target/69444
1996 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1997 instead of ___NO_FPRS__.
1998
1999 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
2000 Steven Munroe <munroesj@linux.vnet.ibm.com>
2001 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2002
2003 * config/rs6000/float128-sed: New files to convert TF names to KF
2004 names for PowerPC IEEE 128-bit floating point support.
2005 * config/rs6000/float128-sed-hw: Likewise.
2006
2007 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2008 floating point hardware support.
2009
2010 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2011 128-bit floating point software emulation or use ISA 3.0 hardware
2012 support if it is available.
2013
2014 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2015 floating point.
2016
2017 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2018 floating point to IBM extended double.
2019
2020 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2021 double to IEEE 128-bit floating point.
2022
2023 * config/rs6000/t-float128: New Makefile fragments to enable
2024 building __float128 emulation support.
2025 * config/rs6000/t-float128-hw: Likewise.
2026
2027 * config/rs6000/sfp-exceptions.c: New file to provide exception
2028 support for IEEE 128-bit floating point.
2029
2030 * config/rs6000/floattikf.c: New files for converting between IEEE
2031 128-bit floating point and signed/unsigned 128-bit integers.
2032 * config/rs6000/fixunskfti.c: Likewise.
2033 * config/rs6000/fixkfti.c: Likewise.
2034 * config/rs6000/floatuntikf.c: Likewise.
2035
2036 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2037 when building on 64-bit systems, or when VSX is enabled.
2038 (_FP_W_TYPE): Likewise.
2039 (_FP_WS_TYPE): Likewise.
2040 (_FP_I_TYPE): Likewise.
2041 (TItype): Define on 64-bit systems.
2042 (UTItype): Likewise.
2043 (TI_BITS): Likewise.
2044 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2045 (_FP_MUL_MEAT_Q): Likewise.
2046 (_FP_DIV_MEAT_D): Likewise.
2047 (_FP_DIV_MEAT_Q): Likewise.
2048 (_FP_NANFRAC_D): Likewise.
2049 (_FP_NANFRAC_Q): Likewise.
2050 (ISA_BIT): Add exception support if we are being compiled on a
2051 machine with hardware floating point support to build the IEEE
2052 128-bit emulation functions.
2053 (FP_EX_INVALID): Likewise.
2054 (FP_EX_OVERFLOW): Likewise.
2055 (FP_EX_UNDERFLOW): Likewise.
2056 (FP_EX_DIVZERO): Likewise.
2057 (FP_EX_INEXACT): Likewise.
2058 (FP_EX_ALL): Likewise.
2059 (__sfp_handle_exceptions): Likewise.
2060 (FP_HANDLE_EXCEPTIONS): Likewise.
2061 (FP_RND_NEAREST): Likewise.
2062 (FP_RND_ZERO): Likewise.
2063 (FP_RND_PINF): Likewise.
2064 (FP_RND_MINF): Likewise.
2065 (FP_RND_MASK): Likewise.
2066 (_FP_DECL_EX): Likewise.
2067 (FP_INIT_ROUNDMODE): Likewise.
2068 (FP_ROUNDMODE): Likewise.
2069
2070 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2071 VSX code, enable IEEE 128-bit floating point. If the compiler can
2072 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2073 floating point hardware instructions and it supports declaring
2074 functions with the ifunc attribute, enable ifunc functions to
2075 switch between software and hardware support.
2076 * configure.ac (powerpc*-*-linux*): Likewise.
2077 * configure: Regenerate.
2078
2079 2016-01-15 Nick Clifton <nickc@redhat.com>
2080
2081 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2082 dependency as the source file to be compiled.
2083 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2084 (lib2hw_mul_f5.o): Likewise.
2085
2086 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2087
2088 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2089 * libgcc/config/rs6000/fixkfti.c: Likewise.
2090 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2091 * libgcc/config/rs6000/float128-hw.c: Likewise.
2092 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2093 * libgcc/config/rs6000/float128-sed: Likewise.
2094 * libgcc/config/rs6000/floattikf.c: Likewise.
2095 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2096 * libgcc/config/rs6000/quad-float128.h: Likewise.
2097 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2098 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2099 * libgcc/config/rs6000/t-float128: Likewise.
2100 * libgcc/config/rs6000/t-float128-hw: Likewise.
2101 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2102 * libgcc/config.host: Likewise.
2103 * libgcc/configure: Likewise.
2104 * libgcc/configure.ac: Likewise.
2105
2106 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2107 Steven Munroe <munroesj@linux.vnet.ibm.com>
2108 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2109
2110 * config/rs6000/sfp-exceptions.c: New file to provide exception
2111 support for IEEE 128-bit floating point.
2112
2113 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2114 floating point hardware support.
2115
2116 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2117 point conversions.
2118 * config/rs6000/fixunskfti.c: Likewise.
2119 * config/rs6000/fixkfti.c: Likewise.
2120 * config/rs6000/floatuntikf.c: Likewise.
2121 * config/rs6000/extendkftf2-sw.c: Likewise.
2122 * config/rs6000/trunctfkf2-sw.c: Likewise.
2123
2124 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2125 128-bit floating point software emulation or use ISA 3.0 hardware
2126 support if it is available.
2127
2128 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2129 floating point.
2130
2131 * config/rs6000/t-float128: New Makefile fragments to enable
2132 building __float128 emulation support.
2133 * config/rs6000/t-float128-hw: Likewise.
2134
2135 * config/rs6000/float128-sed: New file to convert TF names to KF
2136 names for PowerPC IEEE 128-bit floating point support.
2137
2138 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2139 when building on 64-bit systems, or when VSX is enabled.
2140 (_FP_W_TYPE): Likewise.
2141 (_FP_WS_TYPE): Likewise.
2142 (_FP_I_TYPE): Likewise.
2143 (TItype): Define on 64-bit systems.
2144 (UTItype): Likewise.
2145 (TI_BITS): Likewise.
2146 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2147 (_FP_MUL_MEAT_Q): Likewise.
2148 (_FP_DIV_MEAT_D): Likewise.
2149 (_FP_DIV_MEAT_Q): Likewise.
2150 (_FP_NANFRAC_D): Likewise.
2151 (_FP_NANFRAC_Q): Likewise.
2152 (ISA_BIT): Add exception support if we are being compiled on a
2153 machine with hardware floating point support to build the IEEE
2154 128-bit emulation functions.
2155 (FP_EX_INVALID): Likewise.
2156 (FP_EX_OVERFLOW): Likewise.
2157 (FP_EX_UNDERFLOW): Likewise.
2158 (FP_EX_DIVZERO): Likewise.
2159 (FP_EX_INEXACT): Likewise.
2160 (FP_EX_ALL): Likewise.
2161 (__sfp_handle_exceptions): Likewise.
2162 (FP_HANDLE_EXCEPTIONS): Likewise.
2163 (FP_RND_NEAREST): Likewise.
2164 (FP_RND_ZERO): Likewise.
2165 (FP_RND_PINF): Likewise.
2166 (FP_RND_MINF): Likewise.
2167 (FP_RND_MASK): Likewise.
2168 (_FP_DECL_EX): Likewise.
2169 (FP_INIT_ROUNDMODE): Likewise.
2170 (FP_ROUNDMODE): Likewise.
2171
2172 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2173 compiler can do __float128.
2174 * configure: Regenerate.
2175
2176 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2177 VSX code, enable IEEE 128-bit floating point.
2178
2179 2016-01-05 Olivier Hainque <hainque@adacore.com>
2180
2181 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2182 specificities.
2183
2184 2016-01-04 Jakub Jelinek <jakub@redhat.com>
2185
2186 Update copyright years.
2187
2188 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2189
2190 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2191 soft-fp targets.
2192
2193 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2194
2195 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2196 instead of abort to avoid dependency on stdlib.h.
2197
2198 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
2199
2200 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2201 to initialize call to __dl_fixup once.
2202
2203 2015-12-04 Nick Clifton <nickc@redhat.com>
2204
2205 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2206 Allow for the second argument being negative.
2207 * config.host (extra_parts): Define for MSP430. Create separate
2208 libraries for each of the hardware multiply formats.
2209 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2210 that are needed.
2211 * config/msp430/lib2mul.c: Likewise.
2212 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2213 Add rules to build hardware multiply libraries.
2214 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2215 __mspabi_divul function.
2216 (__mspabi_divllu): New stub function.
2217
2218 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
2219
2220 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2221 fixup values if saved GOT address doesn't match runtime address.
2222 (fixup_branch_offset): Reorder list.
2223
2224 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2225
2226 * Makefile.in (VTV_CFLAGS): New variable.
2227 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2228 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2229 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2230 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2231 to extra_parts if $enable_vtable_verify = yes.
2232
2233 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2234
2235 PR target/68059
2236 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2237 (write): ...this and fix the return type.
2238
2239 2015-11-19 DJ Delorie <dj@redhat.com>
2240
2241 * config/msp430/lib2hw_mul.S: Fix alignment.
2242
2243 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2244
2245 * config/nvptx/reduction.c: New.
2246 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2247
2248 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
2249
2250 * config/rs6000/on_exit.c: New file.
2251 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2252 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2253
2254 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2255
2256 * config/arc/dp-hack.h: Add support for ARCHS.
2257 * config/arc/ieee-754/divdf3.S: Likewise.
2258 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2259 * config/arc/ieee-754/muldf3.S: Likewise.
2260 * config/arc/ieee-754/mulsf3.S: Likewise
2261 * config/arc/lib1funcs.S: Likewise
2262 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2263 for ARCv2 cores.
2264 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2265 for ARCv2 cores.
2266 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2267 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2268 cores.
2269
2270 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2271
2272 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2273 value.
2274 * config/ia64/crtend.S: Likewise.
2275
2276 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2277
2278 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2279 __CHAR_BIT__ instead of BITS_PER_UNIT.
2280 * fixed-bit.h: Likewise.
2281 * fp-bit.h: Likewise.
2282 * libgcc2.c (__popcountSI2): Likewise.
2283 (__popcountDI2): Likewise.
2284 * libgcc2.h: Likewise.
2285 * libgcov.h: Likewise.
2286
2287 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
2288
2289 * config/rs6000/atexit.c: New file.
2290 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2291 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2292 * config/rs6000/cxa_finalize.c
2293 (catomic_compare_and_exchange_bool_acq): Negate return value.
2294
2295 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2296
2297 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2298 (processor_subtypes): Add znver1.
2299 (get_amd_cpu): Detect znver1.
2300
2301 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2302
2303 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2304 Include crtfastmath.o.
2305
2306 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2307
2308 PR libgcc/66883
2309 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2310
2311 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2312
2313 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2314 * config/rl78/divmodsi.S: Update return register to r8.
2315 * config/rl78/divmodhi.S: Update return register to r8,r9.
2316 Branch to main_loop_done_himode to pop registers before return.
2317
2318 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2319
2320 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2321 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2322
2323 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2324
2325 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2326
2327 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2328
2329 * config.host (xtensa*-*-uclinux*): New configuration.
2330
2331 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2332
2333 * config/i386/cpuinfo.c (processor_features): Add
2334 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2335
2336 2015-09-28 Joseph Myers <joseph@codesourcery.com>
2337
2338 * soft-fp/adddf3.c: Update from glibc.
2339 * soft-fp/addsf3.c: Likewise.
2340 * soft-fp/addtf3.c: Likewise.
2341 * soft-fp/divdf3.c: Likewise.
2342 * soft-fp/divsf3.c: Likewise.
2343 * soft-fp/divtf3.c: Likewise.
2344 * soft-fp/double.h: Likewise.
2345 * soft-fp/eqdf2.c: Likewise.
2346 * soft-fp/eqsf2.c: Likewise.
2347 * soft-fp/eqtf2.c: Likewise.
2348 * soft-fp/extenddftf2.c: Likewise.
2349 * soft-fp/extended.h: Likewise.
2350 * soft-fp/extendsfdf2.c: Likewise.
2351 * soft-fp/extendsftf2.c: Likewise.
2352 * soft-fp/extendxftf2.c: Likewise.
2353 * soft-fp/fixdfdi.c: Likewise.
2354 * soft-fp/fixdfsi.c: Likewise.
2355 * soft-fp/fixdfti.c: Likewise.
2356 * soft-fp/fixsfdi.c: Likewise.
2357 * soft-fp/fixsfsi.c: Likewise.
2358 * soft-fp/fixsfti.c: Likewise.
2359 * soft-fp/fixtfdi.c: Likewise.
2360 * soft-fp/fixtfsi.c: Likewise.
2361 * soft-fp/fixtfti.c: Likewise.
2362 * soft-fp/fixunsdfdi.c: Likewise.
2363 * soft-fp/fixunsdfsi.c: Likewise.
2364 * soft-fp/fixunsdfti.c: Likewise.
2365 * soft-fp/fixunssfdi.c: Likewise.
2366 * soft-fp/fixunssfsi.c: Likewise.
2367 * soft-fp/fixunssfti.c: Likewise.
2368 * soft-fp/fixunstfdi.c: Likewise.
2369 * soft-fp/fixunstfsi.c: Likewise.
2370 * soft-fp/fixunstfti.c: Likewise.
2371 * soft-fp/floatdidf.c: Likewise.
2372 * soft-fp/floatdisf.c: Likewise.
2373 * soft-fp/floatditf.c: Likewise.
2374 * soft-fp/floatsidf.c: Likewise.
2375 * soft-fp/floatsisf.c: Likewise.
2376 * soft-fp/floatsitf.c: Likewise.
2377 * soft-fp/floattidf.c: Likewise.
2378 * soft-fp/floattisf.c: Likewise.
2379 * soft-fp/floattitf.c: Likewise.
2380 * soft-fp/floatundidf.c: Likewise.
2381 * soft-fp/floatundisf.c: Likewise.
2382 * soft-fp/floatunditf.c: Likewise.
2383 * soft-fp/floatunsidf.c: Likewise.
2384 * soft-fp/floatunsisf.c: Likewise.
2385 * soft-fp/floatunsitf.c: Likewise.
2386 * soft-fp/floatuntidf.c: Likewise.
2387 * soft-fp/floatuntisf.c: Likewise.
2388 * soft-fp/floatuntitf.c: Likewise.
2389 * soft-fp/gedf2.c: Likewise.
2390 * soft-fp/gesf2.c: Likewise.
2391 * soft-fp/getf2.c: Likewise.
2392 * soft-fp/ledf2.c: Likewise.
2393 * soft-fp/lesf2.c: Likewise.
2394 * soft-fp/letf2.c: Likewise.
2395 * soft-fp/muldf3.c: Likewise.
2396 * soft-fp/mulsf3.c: Likewise.
2397 * soft-fp/multf3.c: Likewise.
2398 * soft-fp/negdf2.c: Likewise.
2399 * soft-fp/negsf2.c: Likewise.
2400 * soft-fp/negtf2.c: Likewise.
2401 * soft-fp/op-1.h: Likewise.
2402 * soft-fp/op-2.h: Likewise.
2403 * soft-fp/op-4.h: Likewise.
2404 * soft-fp/op-8.h: Likewise.
2405 * soft-fp/op-common.h: Likewise.
2406 * soft-fp/quad.h: Likewise.
2407 * soft-fp/single.h: Likewise.
2408 * soft-fp/soft-fp.h: Likewise.
2409 * soft-fp/subdf3.c: Likewise.
2410 * soft-fp/subsf3.c: Likewise.
2411 * soft-fp/subtf3.c: Likewise.
2412 * soft-fp/truncdfsf2.c: Likewise.
2413 * soft-fp/trunctfdf2.c: Likewise.
2414 * soft-fp/trunctfsf2.c: Likewise.
2415 * soft-fp/trunctfxf2.c: Likewise.
2416 * soft-fp/unorddf2.c: Likewise.
2417 * soft-fp/unordsf2.c: Likewise.
2418 * soft-fp/unordtf2.c: Likewise.
2419
2420 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
2421
2422 PR libgcc/67624
2423 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2424
2425 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2426
2427 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2428 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2429 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2430 messages.
2431 (internal_mcount): Likewise.
2432 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2433 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2434
2435 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2436
2437 * configure.ac (libgcc_cv_solaris_crts): New test.
2438 * configure: Regenerate.
2439 * config.in: Regenerate.
2440 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2441 * config/gmon-sol2.c: Rename to ...
2442 * config/sol2/gmon.c: ... this.
2443 Include auto-target.h.
2444 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2445 * config/t-sol2: Rename to ...
2446 * config/sol2/t-sol2: ... this.
2447 (gmon.o): Reflect renaming.
2448 (crtp.o, crtpg.o): New rules.
2449 * config.host (*-*-solaris2*): Reflect renaming.
2450 Use system CRTs if present.
2451 Remove default CRT case.
2452
2453 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
2454
2455 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2456 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2457 __kernel_cmpxchg2.
2458 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2459 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2460 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2461 (__sync_lock_test_and_set_##WIDTH): Likewise.
2462 (__sync_lock_release_##WIDTH): Likewise.
2463 (__sync_fetch_and_##OP##_4): Change result to match type of
2464 __kernel_cmpxchg.
2465 (__sync_##OP##_and_fetch_4): Likewise.
2466 (__sync_val_compare_and_swap_4): Likewise.
2467 (__sync_bool_compare_and_swap_4): likewise.
2468 (__sync_lock_test_and_set_4): Likewise.
2469 (__sync_lock_release_4): Likewise.
2470 (FETCH_AND_OP_2): Add long long variants.
2471 (OP_AND_FETCH_2): Likewise.
2472 (COMPARE_AND_SWAP_2 ): Likewise.
2473 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2474 (SYNC_LOCK_RELEASE_2): Likewise.
2475 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2476
2477 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
2478
2479 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2480 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2481 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2482 (get_available_features): Habdle new features.
2483
2484 2015-09-21 James Bowman <james.bowman@ftdichip.com>
2485
2486 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2487 memory layout. Deal correctly with BSS region larger than 32K.
2488 Handle a watchdog reset like a power-on reset. Clean up unused
2489 code.
2490
2491 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
2492 David Edelsohn <dje.gcc@gmail.com>
2493
2494 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2495 * config/rs6000/crtdbase.S: New file.
2496 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2497
2498 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2499
2500 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2501 Add support for call0 ABI.
2502
2503 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
2504
2505 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2506
2507 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2508
2509 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2510 (__GTHREAD_HAS_COND): Likewise.
2511 (__gthread_t): Likewise.
2512 (__gthread_cond_t): Likewise.
2513 (__gthread_time_t): Likewise.
2514 (__GTHREAD_MUTEX_INIT): Likewise.
2515 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2516 (__GTHREAD_COND_INIT): Likewise.
2517 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2518 (__GTHREAD_TIME_INIT): Likewise.
2519 (__gthread_create): Likewise.
2520 (__gthread_join): Likewise.
2521 (__gthread_detach): Likewise.
2522 (__gthread_equal): Likewise.
2523 (__gthread_self): Likewise.
2524 (__gthread_yield): Likewise.
2525 (__gthread_cond_broadcast): Likewise.
2526 (__gthread_cond_signal): Likewise.
2527 (__gthread_cond_wait): Likewise.
2528 (__gthread_cond_timedwait): Likewise.
2529 (__gthread_cond_wait_recursive): Likewise.
2530 (__gthread_cond_destroy): Likewise.
2531 (rtems_gxx_once): Delete.
2532 (rtems_gxx_key_create): Likewise.
2533 (rtems_gxx_key_delete): Likewise.
2534 (rtems_gxx_getspecific): Likewise.
2535 (rtems_gxx_setspecific): Likewise.
2536 (rtems_gxx_mutex_init): Likewise.
2537 (rtems_gxx_mutex_destroy): Likewise.
2538 (rtems_gxx_mutex_lock): Likewise.
2539 (rtems_gxx_mutex_trylock): Likewise.
2540 (rtems_gxx_mutex_unlock): Likewise.
2541 (rtems_gxx_recursive_mutex_init): Likewise.
2542 (rtems_gxx_recursive_mutex_lock): Likewise.
2543 (rtems_gxx_recursive_mutex_trylock): Likewise.
2544 (rtems_gxx_recursive_mutex_unlock): Likewise.
2545 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2546 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2547 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2548 (__gthread_once): Likewise.
2549 (__gthread_key_create): Likewise.
2550 (__gthread_key_delete): Likewise.
2551 (__gthread_getspecific): Likewise.
2552 (__gthread_setspecific): Likewise.
2553 (__gthread_key_t): Use <pthread.h> type.
2554 (__gthread_once_t): Likewise
2555 (__gthread_mutex_t): Use <sys/lock.h> type.
2556 (__gthread_recursive_mutex_t): Likewise
2557 (__gthread_mutex_lock): Use <sys/lock.h> function.
2558 (__gthread_mutex_trylock): Likewise.
2559 (__gthread_mutex_timedlock): Likewise.
2560 (__gthread_mutex_unlock): Likewise.
2561 (__gthread_mutex_destroy): Likewise.
2562 (__gthread_recursive_mutex_lock): Likewise.
2563 (__gthread_recursive_mutex_trylock): Likewise.
2564 (__gthread_recursive_mutex_timedlock): Likewise.
2565 (__gthread_recursive_mutex_unlock): Likewise.
2566 (__gthread_recursive_mutex_destroy): Likewise.
2567
2568 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2569
2570 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2571 context->sp instead of context->cfa.
2572
2573 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2574
2575 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2576 with unwind-dw2-fde-dip.
2577
2578 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2579
2580 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2581 CALL12 followed by series of ENTRY to spill windowed registers.
2582 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2583 instead of making linux spill syscall.
2584
2585 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2586
2587 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2588 (get_intel_cpu): Likewise.
2589
2590 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2591
2592 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2593 (get_intel_cpu): Add Knights Landing support.
2594
2595 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
2596
2597 PR target/66954
2598 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2599 (get_available_features): Handle FEATURE_PCLMUL.
2600
2601 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2602
2603 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2604 Broadwell.
2605
2606 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
2607
2608 PR target/66954
2609 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2610 (get_available_features): Handle FEATURE_AES.
2611
2612 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2613
2614 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2615 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2616
2617 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2618
2619 * offloadstuff.c: Constify host data.
2620
2621 2015-07-17 Jan Beulich <jbeulich@suse.com>
2622
2623 * config/t-softfp: Split up "else ifneq".
2624
2625 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2626 Cesar Philippidis <cesar@codesourcery.com>
2627 Chung-Lin Tang <cltang@codesourcery.com>
2628
2629 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2630 for __nios2_arch__ level.
2631
2632 2015-07-13 John Marino <gnugcc@marino.st>
2633
2634 * config/i386/t-dragonfly: New.
2635
2636 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
2637
2638 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2639 better match light-weight syscall argument order.
2640 (__kernel_cmpxchg2): Likewise.
2641 Adjust callers.
2642
2643 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2644
2645 * config.host: Support i[34567]86-*-elfiamcu target.
2646 * config/t-softfp-sfdftf: New file.
2647 * config/i386/32/t-iamcu: Likewise.
2648 * configure: Regenerated.
2649
2650 2015-06-23 James Lemke <jwlemke@codesourcery.com>
2651
2652 libgcc/config/arm/
2653 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2654
2655 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2656
2657 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2658
2659 2015-05-27 John Marino <gnugcc@marino.st>
2660
2661 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2662 md_unwind_header
2663 * config/i386/freebsd-unwind.h: New.
2664
2665 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
2666
2667 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2668 i386/t-crtfm to tmake_file.
2669 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2670 (set_fast_math): Use set_fast_math_sse for SSE targets.
2671 * config/i386/t-crtfm: Remove.
2672
2673 2015-05-21 Alan Modra <amodra@gmail.com>
2674
2675 PR libgcc/66225
2676 * config/rs6000/morestack.S: Remove ".abiversion 1".
2677
2678 2015-05-20 Alan Modra <amodra@gmail.com>
2679
2680 * config/rs6000/morestack.S: New.
2681 * config/rs6000/t-stack-rs6000: New.
2682 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2683 to tmake_file.
2684 * generic-morestack.c: Don't build for powerpc 32-bit.
2685
2686 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2687
2688 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2689 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2690
2691 2015-05-16 James Bowman <james.bowman@ftdichip.com>
2692
2693 * config.host: FT32 target added.
2694 * config/ft32/*: New files for FT32 target.
2695
2696 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2697
2698 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2699 New macros.
2700 * config/arm/ieee754-df.S: Add CFI directives.
2701 * config/arm/ieee754-sf.S: Add CFI directives.
2702
2703 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2704
2705 * configure.ac: Include config/sjlj.m4.
2706 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2707 * config.in: Regenerate.
2708 * configure: Likewise.
2709 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2710
2711 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
2712
2713 * libgcov-util.c: Add space between string literal and macro name.
2714
2715 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2716 Chris Jones <chrisj@nvidia.com>
2717 Joshua Conner <jconner@nvidia.com>
2718
2719 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2720 (arm*-*-uclinux*): Likewise.
2721 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2722 * config/arm/crtfastmath.c: New file.
2723
2724 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2725
2726 * Makefile.in (real_host_noncanonical): New variable.
2727 (libsubdir): Use it.
2728 * configure.ac (real_host_noncanonical): Compute. Remove special
2729 case for intelmicemul.
2730 * configure: Regenerate.
2731
2732 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
2733
2734 * config/frv/elf-lib.h: New file.
2735 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2736 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2737 to tm_file.
2738
2739 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
2740
2741 * config/frv/frvbengin.c: Do not include defaults.h
2742 * config/frv/frvend.c: Ditto.
2743
2744 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2745
2746 * config.host: Add h8300-*-linux
2747 * config/h8300/t-linux: New file.
2748 * config/h8300/lib1funs.s: Change symbol prefix.
2749 * config/h8300/sfp-machine.h: 64bit double support.
2750
2751 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2752 Szabolcs Nagy <szabolcs.nagy@arm.com>
2753
2754 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2755 Linux if target provides dl_iterate_phdr.
2756
2757 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
2758
2759 PR target/65612
2760 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2761 * config/i386/cpuinfo.c (__cpu_model): Initialize.
2762 (__cpu_indicator_init@GCC_4.8.0): New.
2763 (__cpu_model@GCC_4.8.0): Likewise.
2764 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2765 -DUSE_ELF_SYMVER.
2766
2767 2015-04-16 Nick Clifton <nickc@redhat.com>
2768
2769 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2770 and __modhi3 functions.
2771 * config/rl78/divmodso.S: Add G14 and G13 versions of the
2772 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2773
2774 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
2775
2776 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2777 do-while loop as macro body to avoid warnings.
2778
2779 2015-04-10 Jakub Jelinek <jakub@redhat.com>
2780 Iain Sandoe <iain@codesourcery.com>
2781
2782 PR target/65351
2783 * configure: Regenerate.
2784
2785 2015-04-07 Jakub Jelinek <jakub@redhat.com>
2786 Iain Sandoe <iain@codesourcery.com>
2787
2788 PR target/65351
2789 * configure: Regenerate.
2790
2791 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
2792
2793 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2794
2795 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
2796
2797 Implement call0 ABI for xtensa
2798 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2799 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2800 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2801 use ret in call0 ABI.
2802 * config/xtensa/t-windowed: New file.
2803 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2804 * libgcc/configure: Regenerated.
2805 * libgcc/configure.ac: Check if xtensa target is configured for
2806 windowed ABI and thus needs to use custom unwind code.
2807
2808 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
2809
2810 PR libgcc/64885
2811 * gthr-single.h: Use __unused__ attribute instead of unused.
2812 * config/gthr-vxworks.h: Likewise.
2813 * config/i386/gthr-win32.h: Likewise.
2814
2815 2015-02-27 Kai Tietz <ktietz@redhat.com>
2816
2817 PR target/65038
2818 * config.in: Regenerated.
2819 * configure: Likewise.
2820 * configure.ac (AC_HEADER_STDC): Added explicit.
2821 (AC_CHECK_HEADERS): Check for default headers plus
2822 for ftw.h header.
2823 * libgcov-util.c (gcov_read_profile_dir): Disable use
2824 of ftw-function, if header is not found.
2825 (ftw_read_file): Likewise.
2826
2827 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
2828
2829 PR target/65181
2830 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2831 -Dinhibit_libc.
2832
2833 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
2834
2835 * config/arm/bpabi.S (test_div_by_zero): Make label names
2836 consistent between thumb2 and arm mode cases. Separate the
2837 signed comparison on the high word of the numerator from the
2838 unsigned comparison on the low word.
2839 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2840 signed comparison.
2841
2842 2015-02-17 Joseph Myers <joseph@codesourcery.com>
2843
2844 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2845 and <string.h>.
2846 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2847
2848 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
2849
2850 PR gcov-profile/61889
2851 * libgcov-driver-system.c: undefine clashing macro for mkdir.
2852
2853 2015-02-02 Nick Clifton <nickc@redhat.com>
2854
2855 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2856 rounding up the fraction.
2857
2858 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
2859
2860 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2861 oldval and newval to const void *. Fix typo.
2862 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2863 (FETCH_AND_OP_WORD): Likewise.
2864 (OP_AND_FETCH_WORD): Likewise.
2865 (COMPARE_AND_SWAP_2): Likewise.
2866 (__sync_val_compare_and_swap_4): Likewise.
2867 (__sync_lock_test_and_set_4): Likewise.
2868 (SYNC_LOCK_RELEASE_2): Likewise.
2869 Remove support for long long atomic operations.
2870
2871 2015-01-27 Caroline Tice <cmtice@google.com>
2872
2873 Committing VTV Cywin/Ming patch for Patrick Wollgast
2874 * Makefile.in: Move rules to build vtv_*.o out of the check
2875 for CUSTOM_CRTSTUFF.
2876 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2877 i[34567]86-*-mingw*)
2878 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2879 enable_vtable_verify.
2880
2881 2015-01-27 Nick Clifton <nickc@redhat.com>
2882
2883 * config/rl78/cmpsi2.S: Use function start and end macros.
2884 (__gcc_bcmp): New function.
2885 * config/rl78/lshrsi3.S: Use function start and end macros.
2886 * config/rl78/mulsi3.S: Add support for G10.
2887 (__mulqi3): New function for G10.
2888 * config/rl78/signbit.S: Use function start and end macros.
2889 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2890 fpmath-sf.S.
2891 (LIB2FUNCS_EXCLUDE): Define.
2892 (LIB2FUNCS_ST): Define.
2893 * config/rl78/trampoline.S: Use function start and end macros.
2894 * config/rl78/vregs.h (START_FUNC): New macro.
2895 (START_ANOTHER_FUNC): New macro.
2896 (END_FUNC): New macro.
2897 (END_ANOTHER_FUNC): New macro.
2898 * config/rl78/bit-count.S: New file. Contains assembler
2899 implementations of the bit counting functions: ___clzhi2,
2900 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2901 __paritysi2, __popcounthi2 and __popcountsi2.
2902 * config/rl78/fpbit-sf.S: New file. Contains assembler
2903 implementationas of the math functions: __negsf2, __cmpsf2,
2904 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2905 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
2906 * config/rl78/fpmath-sf.S: New file. Contains assembler
2907 implementations of the math functions: __subsf3, __addsf3,
2908 __mulsf3 and __divsf3
2909
2910 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2911
2912 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2913 Add i386/elf-lib.h to tm_file.
2914 * config/i386/elf-lib.h: Fix comment.
2915 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2916 && __sun__ && __svr4__]: Remove workaround.
2917
2918 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
2919
2920 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2921 FEATURE_BMI2.
2922 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2923
2924 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
2925
2926 * config/i386/cpuinfo.c (processor_subtypes): Add
2927 INTEL_COREI7_BROADWELL.
2928 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2929 model numbers.
2930
2931 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
2932
2933 * config/i386/elf-lib.h: New file.
2934 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2935 Wrap definition in #ifdef __i386__.
2936 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2937 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2938 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2939 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2940 to tm_file.
2941
2942 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
2943
2944 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2945 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2946
2947 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
2948
2949 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2950 Update rt_sigframe format and address for current Nios II
2951 Linux conventions.
2952
2953 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2954
2955 * config.host (arm*-*-freebsd*): Add new configuration for
2956 arm*-*-freebsd*.
2957 * config/arm/freebsd-atomic.c: New file.
2958 * config/arm/t-freebsd: Likewise.
2959 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2960 'PC-relative indirect' OS's.
2961
2962 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
2963
2964 * config.host: Add Visium support.
2965 * config/visium: New directory.
2966
2967 2015-01-05 Jakub Jelinek <jakub@redhat.com>
2968
2969 Update copyright years.
2970
2971 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
2972
2973 * config.host: Support mipsisa32r6 and mipsisa64r6.
2974 * config/mips/mips16.S: Do not build for R6.
2975
2976 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
2977
2978 * config/sh/crt.h: New.
2979 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2980 symbols.
2981 * config/sh/crt1.S: Likewise.
2982
2983 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
2984
2985 PR libgcc/63832
2986 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2987 func_ptr *dtor_list temporary variable to avoid "array subscript
2988 is above array bounds" warnings.
2989
2990 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
2991
2992 * Makefile.in (with_aix_soname): Define.
2993 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2994 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2995 * configure: Recreate.
2996
2997 2014-12-05 Olivier Hainque <hainque@adacore.com>
2998
2999 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3000 now provided by defaults.h.
3001
3002 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3003
3004 PR target/55351
3005 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3006 whether it's defined.
3007
3008 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3009
3010 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3011 * config/i386/cpuinfo.c (get_available_features): Detect it.
3012
3013 2014-11-27 Tony Wang <tony.wang@arm.com>
3014
3015 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3016 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3017 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3018
3019 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3020
3021 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3022
3023 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
3024
3025 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3026 instead.
3027
3028 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3029 John David Anglin <danglin@gcc.gnu.org>
3030
3031 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3032 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3033 (OP_AND_FETCH_2): Likewise.
3034 (COMPARE_AND_SWAP_2): Likewise.
3035 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3036 (SYNC_LOCK_RELEASE_2): Likewise.
3037 (SUBWORD_SYNC_OP): Remove.
3038 (SUBWORD_VAL_CAS): Likewise.
3039 (SUBWORD_BOOL_CAS): Likewise.
3040 (FETCH_AND_OP_WORD): Update.
3041 Consistently use signed types.
3042
3043 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3044 Thomas Schwinge <thomas@codesourcery.com>
3045 Ilya Verbin <ilya.verbin@intel.com>
3046 Andrey Turetskiy <andrey.turetskiy@intel.com>
3047
3048 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3049 (crtoffloadend$(objext)): Likewise.
3050 * configure: Regenerate.
3051 * configure.ac (accel_dir_suffix): Compute new variable.
3052 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3053 if enable_offload_targets is not empty.
3054 * offloadstuff.c: New file.
3055
3056 2014-11-13 Nick Clifton <nickc@redhat.com>
3057
3058 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3059 Use START_FUNC and END_FUNC macros to enable linker garbage
3060 collection.
3061 * config/rl78/divmodqi.S: Likewise.
3062 * config/rl78/divmodsi.S: Likewise.
3063 * config/rl78/mulsi3.S: Likewise.
3064 * config/rl78/lib2div.c: Remove G10 functions.
3065 * config/rl78/lib2muls.c: Likewise.
3066 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3067 * config/rl78/vregs.h (START_FUNC): New macro.
3068 (END_FUNC): New macro.
3069
3070 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3071
3072 * config/mips/mips16.S: Set .module when supported. Update O32
3073 FP64 calling convention and use for FPXX when possible. Add FPXX
3074 calling convention fallback case.
3075
3076 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3077
3078 * config.host: Handle nvptx-*-*.
3079 * shared-object.mk (as-flags-$o): Define.
3080 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3081 -xassembler-with-cpp.
3082 * static-object.mk: Identical changes.
3083 * config/nvptx/t-nvptx: New file.
3084 * config/nvptx/crt0.s: New file.
3085 * config/nvptx/free.asm: New file.
3086 * config/nvptx/malloc.asm: New file.
3087 * config/nvptx/realloc.c: New file.
3088
3089 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3090
3091 * Makefile.in (libgcc.map.in): New target.
3092 (libgcc.map): Use libgcc.map.in.
3093 * config/t-softfp (softfp_compat): New variable to be set by
3094 users.
3095 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3096 variables.
3097 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3098 directory.
3099 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3100 that use compat symbols and disable all code unless [SHARED].
3101 * config/t-softfp-compat: New file.
3102 * find-symver.awk: New file.
3103 * configure.ac (--with-glibc-version): New configure option.
3104 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3105 * configure: Regenerate.
3106 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3107 soft-float and e500.
3108
3109 2014-10-29 Joseph Myers <joseph@codesourcery.com>
3110
3111 * config/t-hardfp (hardfp_exclusions): Document new variable for
3112 user to define.
3113 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3114 * config/t-softfp (softfp_extras): Document new variable for user
3115 to define.
3116 (softfp_func_list): Add functions from $(softfp_extras).
3117 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3118 * config.host (powerpc*-*-linux*): For e500v1, use
3119 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3120 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3121 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3122
3123 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
3124
3125 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3126 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3127 memory read accesses are ok.
3128
3129 2014-10-25 Joseph Myers <joseph@codesourcery.com>
3130
3131 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3132 * configure: Regenerate.
3133 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3134 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3135 of soft-fp for 32-bit classic hard float. Do not use
3136 t-softfp-excl for soft float.
3137
3138 2014-10-22 Joseph Myers <joseph@codesourcery.com>
3139
3140 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3141 configurations.
3142 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3143 Remove variables.
3144
3145 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
3146
3147 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3148 introduced with 2014-10-21 trunk r216525.
3149
3150 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
3151 Vidya Praveen <vidya.praveen@atmel.com>
3152 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3153 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3154 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
3155
3156 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3157 order.
3158
3159 Updated library functions for AVRTINY arch.
3160 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3161 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3162 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3163 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3164 wsubi/wadi macors.
3165 (__mulsi3_helper): Update stack, preserve callee saved regs and
3166 argument from stack. Restore callee save registers.
3167 (__mulpsi3): Likewise.
3168 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3169 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3170 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3171 AVRTINY.
3172 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3173 (__do_copy_data): Added new definition for AVRTINY.
3174 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3175 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3176 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3177 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3178 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3179 macors.
3180 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3181 AVRTINY.
3182
3183 Fix broken long multiplication on tiny arch.
3184
3185 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3186
3187 * soft-fp/double.h: Update from glibc.
3188 * soft-fp/eqdf2.c: Likewise.
3189 * soft-fp/eqsf2.c: Likewise.
3190 * soft-fp/eqtf2.c: Likewise.
3191 * soft-fp/extenddftf2.c: Likewise.
3192 * soft-fp/extended.h: Likewise.
3193 * soft-fp/extendsfdf2.c: Likewise.
3194 * soft-fp/extendsftf2.c: Likewise.
3195 * soft-fp/extendxftf2.c: Likewise.
3196 * soft-fp/gedf2.c: Likewise.
3197 * soft-fp/gesf2.c: Likewise.
3198 * soft-fp/getf2.c: Likewise.
3199 * soft-fp/ledf2.c: Likewise.
3200 * soft-fp/lesf2.c: Likewise.
3201 * soft-fp/letf2.c: Likewise.
3202 * soft-fp/op-1.h: Likewise.
3203 * soft-fp/op-2.h: Likewise.
3204 * soft-fp/op-4.h: Likewise.
3205 * soft-fp/op-8.h: Likewise.
3206 * soft-fp/op-common.h: Likewise.
3207 * soft-fp/quad.h: Likewise.
3208 * soft-fp/single.h: Likewise.
3209 * soft-fp/soft-fp.h: Likewise.
3210 * soft-fp/unorddf2.c: Likewise.
3211 * soft-fp/unordsf2.c: Likewise.
3212 * soft-fp/unordtf2.c: Likewise.
3213 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3214 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3215 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3216 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3217 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3218 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3219 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3220 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3221 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3222 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3223
3224 2014-10-08 Rong Xu <xur@google.com>
3225
3226 * libgcov-util.c (read_gcda_file): Fix format.
3227 (find_match_gcov_info): Ditto.
3228 (calculate_2_entries): New.
3229 (compute_one_gcov): Ditto.
3230 (gcov_info_count_all_cold): Ditto.
3231 (gcov_info_count_all_zero): Ditto.
3232 (extract_file_basename): Ditto.
3233 (get_file_basename): Ditto.
3234 (set_flag): Ditto.
3235 (matched_gcov_info): Ditto.
3236 (calculate_overlap): Ditto.
3237 (gcov_profile_overlap): Ditto.
3238 * libgcov-driver.c (compute_summary): Make
3239 it avavilable for external calls.
3240
3241 2014-10-06 Rong Xu <xur@google.com>
3242
3243 * Makefile.in: Ditto.
3244 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3245 (gcov_sort_icall_topn_counter): Ditto.
3246 (gcov_sort_topn_counter_arrays): Ditto.
3247 (dump_one_gcov): Sort indirect_call topn counters.
3248 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3249 function.
3250 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3251 utility function.
3252 (__gcov_indirect_call_topn_profiler): New profiler function.
3253 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3254 * libgcov.h: New decls.
3255
3256 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3257
3258 * config.host: Remove support for score-*.
3259
3260 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3261
3262 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3263 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3264 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3265 __LIBGCC_XF_MANT_DIG__.
3266 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3267 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3268 __LIBGCC_TF_MANT_DIG__.
3269 * libgcc2.c (NOTRUNC): Define in terms of
3270 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3271 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3272
3273 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3274
3275 PR target/63312
3276 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3277 New macros.
3278
3279 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
3280
3281 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3282 override USE_PT_GNU_EH_FRAME.
3283 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3284 check USE_EH_FRAME_REGISTRY_ALWAYS against
3285 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3286 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3287 variable for substituted force_explicit_eh_registry.
3288 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3289 * configure.ac (explicit-exception-frame-registration):
3290 New AC_ARG_ENABLE.
3291 * configure: Regenerate.
3292
3293 2014-09-19 Olivier Hainque <hainque@adacore.com>
3294
3295 * config.host (powerpc-wrs-vxworksmils): New configuration,
3296 same as vxworksae.
3297
3298 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3299
3300 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3301
3302 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3303
3304 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3305 bits not set bits as indicating trapping exceptions.
3306
3307 2014-09-17 Nathan sidwell <nathan@acm.org>
3308
3309 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3310 (LIBGCOV_DRIVER): ... here.
3311 * libgcov-driver.c (gcov_master): New.
3312 (gcov_exit): Remove from master chain.
3313 (__gcov_init): Add to master chain if version compatible. Don't
3314 clear the version.
3315 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3316 (gcov_reset_int): Clear master chain, if compatible.
3317 (gcov_dump_int): New internal interface. Dump master chain, if
3318 compatible.
3319 (gcov_dump): Alias for gcov_dump_int.
3320 * libgcov.h (struct gcov_root): Add next and prev fields.
3321 (struct gcov_master): New struct.
3322 (__gcov_master): New.
3323 (gcov_dump_int): Declare.
3324
3325 2014-09-17 Olivier Hainque <hainque@adacore.com>
3326
3327 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3328 and crtbegin.o + crtend.o to extra_parts.
3329
3330 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3331
3332 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3333 __LIBGCC_HAS_SF_MODE__.
3334 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3335 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3336 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3337 * config/libbid/bid_gcc_intrinsics.h
3338 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3339 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3340 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3341 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3342 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3343 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3344
3345 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
3346
3347 PR target/63223
3348 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3349 and R24 as needed. Make work for all devices and .text locations.
3350 (__do_global_ctors, __do_global_dtors): Use word addresses.
3351 (__tablejump__, __tablejump_elpm__): Remove functions.
3352 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3353 Add _tablejump2.
3354 (XICALL, XIJMP): New macros.
3355
3356 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3357 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3358
3359 * config.host (aarch64*): Include crtfastmath.o and
3360 t-crtfm.
3361 * config/aarch64/crtfastmath.c: New file.
3362
3363 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3364
3365 * config.host: Remove picochip support.
3366 * config/picochip/adddi3.S: Remove.
3367 * config/picochip/ashlsi3.S: Remove.
3368 * config/picochip/ashlsi3.c: Remove.
3369 * config/picochip/ashrsi3.S: Remove.
3370 * config/picochip/ashrsi3.c: Remove.
3371 * config/picochip/clzsi2.S: Remove.
3372 * config/picochip/cmpsi2.S: Remove.
3373 * config/picochip/divmod15.S: Remove.
3374 * config/picochip/divmodhi4.S: Remove.
3375 * config/picochip/divmodsi4.S: Remove.
3376 * config/picochip/lib1funcs.S: Remove.
3377 * config/picochip/longjmp.S: Remove.
3378 * config/picochip/lshrsi3.S: Remove.
3379 * config/picochip/lshrsi3.c: Remove.
3380 * config/picochip/parityhi2.S: Remove.
3381 * config/picochip/popcounthi2.S: Remove.
3382 * config/picochip/setjmp.S: Remove.
3383 * config/picochip/subdi3.S: Remove.
3384 * config/picochip/t-picochip: Remove.
3385 * config/picochip/ucmpsi2.S: Remove.
3386 * config/picochip/udivmodhi4.S: Remove.
3387 * config/picochip/udivmodsi4.S: Remove.
3388
3389 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3390
3391 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3392 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3393 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3394 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3395 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3396 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3397 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3398 defined and LIBGCC2_HAS_DF_MODE is defined.
3399 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3400 defined and LIBGCC2_HAS_XF_MODE is defined.
3401 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3402 defined and LIBGCC2_HAS_TF_MODE is defined.
3403
3404 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3405
3406 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3407 and ROUND_TOWARDS_ZERO conditionals.
3408
3409 2014-09-07 Nathan sidwell <nathan@acm.org>
3410
3411 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3412 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3413
3414 2014-09-05 Joseph Myers <joseph@codesourcery.com>
3415
3416 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3417 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3418 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3419 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3420 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3421 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3422 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3423 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3424 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3425 (DWARF_FRAME_REGISTERS): Change all uses to
3426 __LIBGCC_DWARF_FRAME_REGISTERS__.
3427 (EH_RETURN_STACKADJ_RTX): Change all uses to
3428 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3429 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3430 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3431 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3432 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3433 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3434 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3435 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3436 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3437 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3438 __LIBGCC_STACK_POINTER_REGNUM__.
3439 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3440 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3441 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3442 to __LIBGCC_STACK_POINTER_REGNUM__.
3443 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3444 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3445 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3446 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3447 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3448 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3449 (STACK_POINTER_REGNUM): Change all uses to
3450 __LIBGCC_STACK_POINTER_REGNUM__.
3451 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3452 use to __LIBGCC_STACK_POINTER_REGNUM__.
3453 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3454 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3455 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3456 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3457 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3458 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3459 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3460 to __LIBGCC_STACK_POINTER_REGNUM__.
3461 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3462 Remove conditional definition.
3463 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3464 __LIBGCC_TEXT_SECTION_ASM_OP__.
3465 (EH_FRAME_SECTION_NAME): Change all uses to
3466 __LIBGCC_EH_FRAME_SECTION_NAME__.
3467 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3468 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3469 (CTORS_SECTION_ASM_OP): Change all uses to
3470 __LIBGCC_CTORS_SECTION_ASM_OP__.
3471 (DTORS_SECTION_ASM_OP): Change all uses to
3472 __LIBGCC_DTORS_SECTION_ASM_OP__.
3473 (JCR_SECTION_NAME): Change all uses to
3474 __LIBGCC_JCR_SECTION_NAME__.
3475 (INIT_SECTION_ASM_OP): Change all uses to
3476 __LIBGCC_INIT_SECTION_ASM_OP__.
3477 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3478 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3479 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3480 __LIBGCC_STACK_GROWS_DOWNWARD__.
3481 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3482 __LIBGCC_INIT_SECTION_ASM_OP__.
3483 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3484 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3485 (EH_FRAME_SECTION_NAME): Change all uses to
3486 __LIBGCC_EH_FRAME_SECTION_NAME__.
3487 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3488 definitions. Change all uses to
3489 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3490 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3491 __LIBGCC_STACK_GROWS_DOWNWARD__.
3492 (DWARF_FRAME_REGISTERS): Change all uses to
3493 __LIBGCC_DWARF_FRAME_REGISTERS__.
3494 (EH_RETURN_STACKADJ_RTX): Change all uses to
3495 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3496 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3497 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3498 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3499 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3500 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3501
3502 2014-09-02 Nathan sidwell <nathan@acm.org>
3503
3504 * libgcov-interface.c (STRONG_ALIAS): New.
3505 (__gcov_flush): Call __gcov_reset_int.
3506 (__gcov_reset): Strong alias for ...
3507 (__gcov_reset_ing): ... this renamed hidden version.
3508 * libgcov.h (__gcov_reset_int): New declaration.
3509
3510 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3511
3512 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3513 call from here...
3514 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3515 (__dso_handle): Define on Cygwin.
3516 * config/i386/t-cygming (crtbeginS.o): New rule.
3517 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3518
3519 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3520 declaration syntax.
3521
3522 2014-08-13 Steve Ellcey <sellcey@mips.com>
3523
3524 * crtstuff.c: Undef caddr_t.
3525
3526 2014-08-12 Steve Ellcey <sellcey@mips.com>
3527
3528 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3529
3530 2014-08-07 Nathan Sidwell <nathan@acm.org>
3531
3532 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3533 (LIBGCOV_DRIVER): ... to here.
3534 * libgcov.h (gcov_do_dump): New #define.
3535 (struct gcov_root): New.
3536 (__gcov_root): New declaration.
3537 (__gcov_dump_one): Declare.
3538 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3539 run_accounted): Delete.
3540 (gcov_compute_histogram): Add LIST argument, adjust.
3541 (compute_summary): Adjust gcov_compute_histogram call.
3542 (gcov_do_dump): Not hidden, static in libgcov.
3543 (gcov_clear): Move to interface.c.
3544 (__gcov_dump_one): New, broken out of ...
3545 (gcov_exit): ... here. Make static.
3546 (__gcov_root): New.
3547 (__gcov_init): Adjust.
3548 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3549 declarations.
3550 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3551 (gcov_clear): Moved from driver.c. Add LIST argument.
3552 (__gcov_reset): Adjust for changed interfaces.
3553 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3554
3555 2014-08-04 Rohit <rohitarulraj@freescale.com>
3556
3557 PR target/60102
3558 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3559 based on change in SPE high register numbers and 3 HTM registers.
3560
3561 2014-08-01 Nathan Sidwell <nathan@acm.org>
3562
3563 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3564 LIBGCOV_INTERFACE): Reformat.
3565 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3566 IN_GCOV_TOOL.
3567 * libgcov-interface.c: Reformat some comments.
3568 (__gcov_flush_mx): Add declaration. Tidy up definition.
3569
3570 2014-07-31 Alan Modra <amodra@gmail.com>
3571 Peter Bergner <bergner@vnet.ibm.com>
3572
3573 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3574 (pack_ldouble): New function.
3575 (__gcc_qadd): Use it.
3576 (__gcc_qmul): Likewise.
3577 (__gcc_qdiv): Likewise.
3578 (__gcc_qneg): Likewise.
3579 (__gcc_stoq): Likewise.
3580 (__gcc_dtoq): Likewise.
3581
3582 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3583
3584 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3585 (__tpf_eh_return): Add original return address as second parameter.
3586 Handle cases where unwinder routines were called directly, instead
3587 of from within the C++ library.
3588
3589 2014-07-29 Nathan Sidwell <nathan@acm.org>
3590
3591 * libgcov.h: Move renaming of entry points to lib gcov specific
3592 portion.
3593 (gcov_do_dump): New rename.
3594 (gcov_rewrite): Remove inline, make HIDDEN.
3595 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3596 (gcov_exit_compute_summary): Rename to ...
3597 (compute_summary): ... here. Add LIST argument.
3598 (gcov_exit_merge_gcda): Rename to ...
3599 (merge_one_data): ... here.
3600 (gcov_exit_write_gcda): Rename to ...
3601 (write_one_data): ... here.
3602 (gcov_exit_merge_summary): Rename to ...
3603 (merge_summary): Add RUN_COUNTED argument.
3604 (gcov_exit_dump_gcov): Rename to ...
3605 (dump_one_gcov): Add RUN_COUNTED argument.
3606 (gcov_do_dump): New function, broken out of ...
3607 (gcov_exit): ... here. Call it.
3608
3609 2014-07-27 Anthony Green <green@moxielogic.com>
3610
3611 * config.host: Add moxiebox configuration suppport.
3612
3613 2014-07-27 Nathan Sidwell <nathan@acm.org>
3614
3615 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3616 (struct gcov_filename): ... here. Include buffer and max length
3617 fields.
3618 (gcov_max_filename): Remove.
3619 (gi_filename): Remove.
3620 (gcov_exit_compute_summary): Compute max filename here.
3621 (gcov_exit_merge_gcda): Add filename parm, adjust.
3622 (gcov_exit_merge_summary): Likewise.
3623 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3624 (gcov_exit): Likewise.
3625 (__gcov_init): Don't calculate max length here.
3626 * libgcov_util.c (max_filename_len): Remove.
3627 (read_gcda_file): Don't calculate max length here.
3628 (gcov_read_profile_dir): Don't propagate here.
3629 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3630 struct gcov_filename changes.
3631 (gcov_exit_open_gcda_file): Likewise.
3632
3633 2014-07-25 Nathan Sidwell <nathan@acm.org>
3634
3635 * libgcov-driver.c (set_gcov_dump_complete,
3636 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3637 functions polluting user's namespace.
3638 (gcov_exit): Set variable directly.
3639 (gcov_clear): Reset variable directly.
3640 * libgcov-interface.c (get_gcov_dymp_complete,
3641 reset_gov_dump_complete): Remove declarations.
3642 (__gcov_reset, __gcov_dump): Don't call them.
3643
3644 2014-07-24 DJ Delorie <dj@redhat.com>
3645
3646 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
3647 (__gcc_deregister_frame): Move logic to detect deregister function
3648 to ...
3649 (__gcc_register_frame): here, so it's consistent with the register
3650 logic.
3651
3652 2014-07-23 Nathan Sidwell <nathan@acm.org>
3653
3654 * libgcov-driver.c (set_gcov_list): Remove.
3655 (gcov_list): Make non-static in GCOV_TOOL.
3656 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3657
3658 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
3659
3660 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3661 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3662 Don't use SYNC_LOCK_RELEASE for int type.
3663
3664 2014-07-14 Richard Biener <rguenther@suse.de>
3665
3666 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3667
3668 2014-07-11 Rong Xu <xur@google.com>
3669
3670 * libgcov-util.c (gcov_max_filename): Fix declartion.
3671
3672 2014-07-10 Rong Xu <xur@google.com>
3673
3674 Add gcov-tool: an offline gcda profile processing tool
3675 Support.
3676 * libgcov-driver.c (gcov_max_filename): Make available
3677 to gcov-tool.
3678 * libgcov-merge.c (__gcov_merge_add): Replace
3679 gcov_read_counter() with a Macro.
3680 (__gcov_merge_ior): Ditto.
3681 (__gcov_merge_time_profile): Ditto.
3682 (__gcov_merge_single): Ditto.
3683 (__gcov_merge_delta): Ditto.
3684 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3685 in the utility functions.
3686 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3687 gcov_list object link lists.
3688 (tag_function): Ditto.
3689 (tag_blocks): Ditto.
3690 (tag_arcs): Ditto.
3691 (tag_lines): Ditto.
3692 (tag_counters): Ditto.
3693 (tag_summary): Ditto.
3694 (read_gcda_finalize): Ditto.
3695 (read_gcda_file): Ditto.
3696 (ftw_read_file): Ditto.
3697 (read_profile_dir_init): Ditto.
3698 (gcov_read_profile_dir): Ditto.
3699 (gcov_read_counter_mem): Ditto.
3700 (gcov_get_merge_weight): Ditto.
3701 (merge_wrapper): A wrapper function that calls merging handler.
3702 (gcov_merge): Merge two gcov_info objects with weights.
3703 (find_match_gcov_info): Find the matched gcov_info in the list.
3704 (gcov_profile_merge): Merge two gcov_info object lists.
3705 (__gcov_add_counter_op): Process edge profile counter values.
3706 (__gcov_ior_counter_op): Process IOR profile counter values.
3707 (__gcov_delta_counter_op): Process delta profile counter values.
3708 (__gcov_single_counter_op): Process single profile counter values.
3709 (fp_scale): Callback function for float-point scaling.
3710 (int_scale): Callback function for integer fraction scaling.
3711 (gcov_profile_scale): Scaling profile counters.
3712 (gcov_profile_normalize): Normalize profile counters.
3713 * libgcov.h: Add headers and functions for gcov-tool use.
3714 (gcov_get_counter): New.
3715 (gcov_get_counter_target): Ditto.
3716 (struct gcov_info): Make the functions field mutable in gcov-tool
3717 compilation.
3718
3719 2014-06-23 Kai Tietz <ktietz@redhat.com>
3720
3721 PR libgcc/61585
3722 * unwind-seh.c (_Unwind_GetGR): Check for proper
3723 index range.
3724 (_Unwind_SetGR): Likewise.
3725
3726 2014-05-22 Nick Clifton <nickc@redhat.com>
3727
3728 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3729 -mhwmult=none.
3730
3731 2014-05-22 Teresa Johnson <tejohnson@google.com>
3732
3733 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3734 include.
3735
3736 2014-05-20 John Marino <gnugcc@marino.st>
3737
3738 * config.host (*-*-dragonfly*): New target.
3739 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3740 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3741 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3742 * config/i386/dragonfly-unwind.h: New.
3743
3744 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3745
3746 PR libgcc/60166
3747 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3748 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3749
3750 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3751
3752 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3753 implementation.
3754
3755 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
3756
3757 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3758
3759 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3760
3761 PR libgcc/61097
3762 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3763 if --enable-shared.
3764
3765 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
3766
3767 Work around for current cygwin32 build problems.
3768 * config/i386/cygming-crtbegin.c (__register_frame_info,
3769 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3770 functions only for 64-bit systems.
3771
3772 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3773
3774 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3775 (sigill_caught, sigill_hdlr): Remove.
3776
3777 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3778
3779 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3780 check.
3781 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3782 Solaris 9 single-threaded support.
3783 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3784 Solaris 9 single-threaded support. Add call_user_handler code
3785 sequences.
3786 (sparc_is_sighandler): Likewise.
3787
3788 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3789
3790 * config.host: Append t-floattodi to tmake_file depending on
3791 host_address.
3792
3793 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
3794
3795 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
3796
3797 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
3798
3799 PR libgcc/60472
3800 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
3801 variable to avoid "array subscript is above array bounds" warnings.
3802 Use __builtin_expect when checking *jcr_list for NULL.
3803
3804 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3805
3806 PR libgcc/59339
3807 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3808 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3809 vtv_*.o to extra_parts if enable_vtable_verify.
3810
3811 2014-03-06 Nick Clifton <nickc@redhat.com>
3812
3813 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3814 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3815
3816 2014-02-28 Joey Ye <joey.ye@arm.com>
3817
3818 PR libgcc/60166
3819 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3820 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3821 Set to zero.
3822
3823 2014-02-24 Walter Lee <walt@tilera.com>
3824
3825 * config.host: Support "tilegx*" and "tilepro*" triplets.
3826 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3827 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3828
3829 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
3830 Chung-Lin Tang <cltang@codesourcery.com>
3831
3832 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3833 * config/nios2/crti.S: Remove .file directive.
3834 * config/nios2/crtn.S: Likewise.
3835
3836 2014-02-18 Kai Tietz <ktietz@redhat.com>
3837 Jonathan Schleifer <js@webkeks.org>
3838
3839 PR objc/56870
3840 * unwind-seh.c (_GCC_specific_handler): Pass proper
3841 value to unwind-handler.
3842
3843 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3844
3845 * soft-fp/adddf3.c: Update from glibc.
3846 * soft-fp/addsf3.c: Likewise.
3847 * soft-fp/addtf3.c: Likewise.
3848 * soft-fp/divdf3.c: Likewise.
3849 * soft-fp/divsf3.c: Likewise.
3850 * soft-fp/divtf3.c: Likewise.
3851 * soft-fp/double.h: Likewise.
3852 * soft-fp/eqdf2.c: Likewise.
3853 * soft-fp/eqsf2.c: Likewise.
3854 * soft-fp/eqtf2.c: Likewise.
3855 * soft-fp/extenddftf2.c: Likewise.
3856 * soft-fp/extended.h: Likewise.
3857 * soft-fp/extendsfdf2.c: Likewise.
3858 * soft-fp/extendsftf2.c: Likewise.
3859 * soft-fp/extendxftf2.c: Likewise.
3860 * soft-fp/fixdfdi.c: Likewise.
3861 * soft-fp/fixdfsi.c: Likewise.
3862 * soft-fp/fixdfti.c: Likewise.
3863 * soft-fp/fixsfdi.c: Likewise.
3864 * soft-fp/fixsfsi.c: Likewise.
3865 * soft-fp/fixsfti.c: Likewise.
3866 * soft-fp/fixtfdi.c: Likewise.
3867 * soft-fp/fixtfsi.c: Likewise.
3868 * soft-fp/fixtfti.c: Likewise.
3869 * soft-fp/fixunsdfdi.c: Likewise.
3870 * soft-fp/fixunsdfsi.c: Likewise.
3871 * soft-fp/fixunsdfti.c: Likewise.
3872 * soft-fp/fixunssfdi.c: Likewise.
3873 * soft-fp/fixunssfsi.c: Likewise.
3874 * soft-fp/fixunssfti.c: Likewise.
3875 * soft-fp/fixunstfdi.c: Likewise.
3876 * soft-fp/fixunstfsi.c: Likewise.
3877 * soft-fp/fixunstfti.c: Likewise.
3878 * soft-fp/floatdidf.c: Likewise.
3879 * soft-fp/floatdisf.c: Likewise.
3880 * soft-fp/floatditf.c: Likewise.
3881 * soft-fp/floatsidf.c: Likewise.
3882 * soft-fp/floatsisf.c: Likewise.
3883 * soft-fp/floatsitf.c: Likewise.
3884 * soft-fp/floattidf.c: Likewise.
3885 * soft-fp/floattisf.c: Likewise.
3886 * soft-fp/floattitf.c: Likewise.
3887 * soft-fp/floatundidf.c: Likewise.
3888 * soft-fp/floatundisf.c: Likewise.
3889 * soft-fp/floatunditf.c: Likewise.
3890 * soft-fp/floatunsidf.c: Likewise.
3891 * soft-fp/floatunsisf.c: Likewise.
3892 * soft-fp/floatunsitf.c: Likewise.
3893 * soft-fp/floatuntidf.c: Likewise.
3894 * soft-fp/floatuntisf.c: Likewise.
3895 * soft-fp/floatuntitf.c: Likewise.
3896 * soft-fp/gedf2.c: Likewise.
3897 * soft-fp/gesf2.c: Likewise.
3898 * soft-fp/getf2.c: Likewise.
3899 * soft-fp/ledf2.c: Likewise.
3900 * soft-fp/lesf2.c: Likewise.
3901 * soft-fp/letf2.c: Likewise.
3902 * soft-fp/muldf3.c: Likewise.
3903 * soft-fp/mulsf3.c: Likewise.
3904 * soft-fp/multf3.c: Likewise.
3905 * soft-fp/negdf2.c: Likewise.
3906 * soft-fp/negsf2.c: Likewise.
3907 * soft-fp/negtf2.c: Likewise.
3908 * soft-fp/op-1.h: Likewise.
3909 * soft-fp/op-2.h: Likewise.
3910 * soft-fp/op-4.h: Likewise.
3911 * soft-fp/op-8.h: Likewise.
3912 * soft-fp/op-common.h: Likewise.
3913 * soft-fp/quad.h: Likewise.
3914 * soft-fp/single.h: Likewise.
3915 * soft-fp/soft-fp.h: Likewise.
3916 * soft-fp/subdf3.c: Likewise.
3917 * soft-fp/subsf3.c: Likewise.
3918 * soft-fp/subtf3.c: Likewise.
3919 * soft-fp/truncdfsf2.c: Likewise.
3920 * soft-fp/trunctfdf2.c: Likewise.
3921 * soft-fp/trunctfsf2.c: Likewise.
3922 * soft-fp/trunctfxf2.c: Likewise.
3923 * soft-fp/unorddf2.c: Likewise.
3924 * soft-fp/unordsf2.c: Likewise.
3925 * soft-fp/unordtf2.c: Likewise.
3926 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3927 macro.
3928 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3929 Likewise.
3930 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3931 Likewise.
3932 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3933 Likewise.
3934 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3935 Likewise.
3936 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3937 Likewise.
3938 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3939 Likewise.
3940 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3941 Likewise.
3942 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3943 Likewise.
3944 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3945 Likewise.
3946 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3947 Likewise.
3948 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3949 Likewise.
3950 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3951 Likewise.
3952 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3953 Likewise.
3954 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3955 Likewise.
3956 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3957 Likewise.
3958
3959 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3960
3961 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3962 cannot be represented.
3963 * config/s390/32/_fixsfdi.c: Likewise.
3964 * config/s390/32/_fixtfdi.c: Likewise.
3965 * config/s390/32/_fixunsdfdi.c: Likewise.
3966 * config/s390/32/_fixunssfdi.c: Likewise.
3967 * config/s390/32/_fixunstfdi.c: Likewise.
3968
3969 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
3970
3971 * configure.ac (libgcc_cv_mips_hard_float): New.
3972 * configure: Regenerate.
3973 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3974 t-softfp-sfdf for hard-float targets.
3975 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3976 (softfp_float_modes, softfp_int_modes, softfp_extensions)
3977 (softfp_truncations, softfp_exclude_libgcc2): New.
3978 * config/t-hardfp: New file.
3979 * config/t-hardfp-sfdf: Likewise.
3980 * config/hardfp.c: Likewise.
3981
3982 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3983
3984 * config.host: Include t-floattodi also for s390x.
3985 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3986 * config/s390/32/_fixsfdi.c: Likewise.
3987 * config/s390/32/_fixtfdi.c: Likewise.
3988 * config/s390/32/_fixunsdfdi.c: Likewise.
3989 * config/s390/32/_fixunssfdi.c: Likewise.
3990 * config/s390/32/_fixunstfdi.c: Likewise.
3991
3992 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3993
3994 PR target/59788
3995 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3996 (install-libgcc-unwind-map-forbuild): New target.
3997 (all): Depend on install-libgcc-unwind-map-forbuild.
3998 (install-libgcc-unwind-map): New target.
3999 (install): Depend on install-libgcc-unwind-map.
4000
4001 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4002
4003 * config/nios2/crti.S (_init): Initialize GOT pointer from
4004 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4005
4006 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4007
4008 * configure.ac: Check __mips64 when setting host_address.
4009 * configure: Regenerate.
4010 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4011 mips/t-mips64 and t-softfp.
4012 (mips*-*-linux*): Don't add mips/t-tpbit.
4013 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4014 (DPBIT, DPBIT_CFLAGS): Delete.
4015 * config/mips/sfp-machine.h: New file.
4016 * config/mips/t-mips64: Likewise.
4017 * config/mips/t-softfp-tf: Likewise.
4018 * config/mips/t-tpbit: Delete.
4019
4020 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4021
4022 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4023 as long long.
4024
4025 2014-01-25 Walter Lee <walt@tilera.com>
4026
4027 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4028 config.h or system.h.
4029 (bool) Define.
4030
4031 2014-01-25 Walter Lee <walt@tilera.com>
4032
4033 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4034 (post_atomic_barrier): Ditto.
4035 (__fetch_and_do): New macro.
4036 (__atomic_fetch_and_do): Use __fetch_and_do.
4037 (__sync_fetch_and_do): New macro.
4038 (__sync_fetch_and_add_4): New function.
4039 (__sync_fetch_and_sub_4): New function.
4040 (__sync_fetch_and_or_4): New function.
4041 (__sync_fetch_and_and_4): New function.
4042 (__sync_fetch_and_xor_4): New function.
4043 (__sync_fetch_and_nand_4): New function.
4044 (__sync_fetch_and_add_8): New function.
4045 (__sync_fetch_and_sub_8): New function.
4046 (__sync_fetch_and_or_8): New function.
4047 (__sync_fetch_and_and_8): New function.
4048 (__sync_fetch_and_xor_8): New function.
4049 (__sync_fetch_and_nand_8): New function.
4050 (__do_and_fetch): New macro.
4051 (__atomic_do_and_fetch): Use __do_and_fetch.
4052 (__sync_do_and_fetch): New macro.
4053 (__sync_add_and_fetch_4): New function.
4054 (__sync_sub_and_fetch_4): New function.
4055 (__sync_or_and_fetch_4): New function.
4056 (__sync_and_and_fetch_4): New function.
4057 (__sync_xor_and_fetch_4): New function.
4058 (__sync_nand_and_fetch_4): New function.
4059 (__sync_add_and_fetch_8): New function.
4060 (__sync_sub_and_fetch_8): New function.
4061 (__sync_or_and_fetch_8): New function.
4062 (__sync_and_and_fetch_8): New function.
4063 (__sync_xor_and_fetch_8): New function.
4064 (__sync_nand_and_fetch_8): New function.
4065 (__sync_exchange_methods): New macro.
4066 (__sync_val_compare_and_swap_4): New function.
4067 (__sync_bool_compare_and_swap_4): New function.
4068 (__sync_lock_test_and_test_4): New function.
4069 (__sync_val_compare_and_swap_8): New function.
4070 (__sync_bool_compare_and_swap_8): New function.
4071 (__sync_lock_test_and_test_8): New function.
4072 (__subword_cmpxchg_body): New macro.
4073 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4074 (__atomic_compare_exchange_2): Ditto.
4075 (__sync_subword_cmpxchg): New macro.
4076 (__sync_val_compare_and_swap_1): New function.
4077 (__sync_bool_compare_and_swap_1): New function.
4078 (__sync_val_compare_and_swap_2): New function.
4079 (__sync_bool_compare_and_swap_2): New function.
4080 (__atomic_subword): Rename to ...
4081 (__subword): ... New name.
4082 (__atomic_subword_fetch): Use __subword.
4083 (__sync_subword_fetch): New macro.
4084 (__sync_fetch_and_add_1): New function.
4085 (__sync_fetch_and_sub_1): New function.
4086 (__sync_fetch_and_or_1): New function.
4087 (__sync_fetch_and_and_1): New function.
4088 (__sync_fetch_and_xor_1): New function.
4089 (__sync_fetch_and_nand_1): New function.
4090 (__sync_fetch_and_add_2): New function.
4091 (__sync_fetch_and_sub_2): New function.
4092 (__sync_fetch_and_or_2): New function.
4093 (__sync_fetch_and_and_2): New function.
4094 (__sync_fetch_and_xor_2): New function.
4095 (__sync_fetch_and_nand_2): New function.
4096 (__sync_add_and_fetch_1): New function.
4097 (__sync_sub_and_fetch_1): New function.
4098 (__sync_or_and_fetch_1): New function.
4099 (__sync_and_and_fetch_1): New function.
4100 (__sync_xor_and_fetch_1): New function.
4101 (__sync_nand_and_fetch_1): New function.
4102 (__sync_add_and_fetch_2): New function.
4103 (__sync_sub_and_fetch_2): New function.
4104 (__sync_or_and_fetch_2): New function.
4105 (__sync_and_and_fetch_2): New function.
4106 (__sync_xor_and_fetch_2): New function.
4107 (__sync_nand_and_fetch_2): New function.
4108 (__atomic_subword_lock): Use __subword.
4109 (__sync_subword_lock): New macro.
4110 (__sync_lock_test_and_set_1): New function.
4111 (__sync_lock_test_and_set_2): New function.
4112
4113 2014-01-25 Walter Lee <walt@tilera.com>
4114
4115 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4116 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4117 (__atomic_subword): Ditto.
4118
4119 2014-01-25 Walter Lee <walt@tilera.com>
4120
4121 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4122 a prefix op argument.
4123 (__atomic_nand_fetch_4): Add prefix op.
4124 (__atomic_nand_fetch_8): Ditto.
4125
4126 2014-01-21 Baruch Siach <barch@tkos.co.il>
4127
4128 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4129
4130 2014-01-09 Rong Xu <xur@google.com>
4131
4132 * libgcov-driver.c (this_prg): make it local to save
4133 bss space.
4134 (gcov_exit_compute_summary): Ditto.
4135 (gcov_exit_merge_gcda): Ditto.
4136 (gcov_exit_merge_summary): Ditto.
4137 (gcov_exit_dump_gcov): Ditto.
4138
4139 2014-01-08 Rong Xu <xur@google.com>
4140
4141 * libgcov-driver.c: Use libgcov.h.
4142 (buffer_fn_data): Use xmalloc instead of malloc.
4143 (gcov_exit_merge_gcda): Ditto.
4144 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4145 * libgcov.h: New common header files for libgcov-*.h.
4146 * libgcov-interface.c: Use libgcov.h
4147 * libgcov-merge.c: Ditto.
4148 * libgcov-profiler.c: Ditto.
4149 * Makefile.in: Add dependence to libgcov.h
4150
4151 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4152
4153 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4154 case of small numerator and finite nonzero result.
4155
4156 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4157
4158 Update copyright years
4159
4160 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4161
4162 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4163 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4164 config/arc/dp-hack.h, config/arc/fp-hack.h,
4165 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4166 config/arc/ieee-754/arc600-dsp/divdf3.S,
4167 config/arc/ieee-754/arc600-dsp/divsf3.S,
4168 config/arc/ieee-754/arc600-dsp/muldf3.S,
4169 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4170 config/arc/ieee-754/arc600-mul64/divdf3.S,
4171 config/arc/ieee-754/arc600-mul64/divsf3.S,
4172 config/arc/ieee-754/arc600-mul64/muldf3.S,
4173 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4174 config/arc/ieee-754/arc600/divsf3.S,
4175 config/arc/ieee-754/arc600/mulsf3.S,
4176 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4177 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4178 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4179 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4180 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4181 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4182 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4183 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4184 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4185 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4186 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4187 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4188 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4189 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4190 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4191 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4192 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4193 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4194 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4195 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4196 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4197 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4198 vtv_start_preinit.c: Use the standard form for the copyright notice.
4199
4200 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4201 Chung-Lin Tang <cltang@codesourcery.com>
4202 Based on patches from Altera Corporation
4203
4204 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4205 * config/nios2/lib2-nios2.h: New file.
4206 * config/nios2/lib2-divmod-hi.c: New file.
4207 * config/nios2/linux-unwind.h: New file.
4208 * config/nios2/lib2-divmod.c: New file.
4209 * config/nios2/linux-atomic.c: New file.
4210 * config/nios2/t-nios2: New file.
4211 * config/nios2/crti.asm: New file.
4212 * config/nios2/t-linux: New file.
4213 * config/nios2/lib2-divtable.c: New file.
4214 * config/nios2/lib2-mul.c: New file.
4215 * config/nios2/tramp.c: New file.
4216 * config/nios2/crtn.asm: New file.
4217
4218 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
4219
4220 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4221 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4222 from cpuid.h to check vendor signatures.
4223
4224 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4225
4226 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4227 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4228 (get_amd_cpu): Likewise.
4229
4230 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4231
4232 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4233 Haswell.
4234
4235 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4236 H.J. Lu <hongjiu.lu@intel.com>
4237
4238 PR target/59422
4239 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
4240 and AMD_JAGUAR.
4241 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4242 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4243 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4244 FEATURE_XOP and FEATURE_FMA.
4245 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4246 AMDFAM15H_BDVER3.
4247 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4248 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4249 FEATURE_FMA4 and FEATURE_XOP.
4250
4251 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4252
4253 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4254 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4255 (get_intel_cpu): Updated.
4256
4257 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4258
4259 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4260
4261 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
4262
4263 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4264 instructions when __SSE_MATH__ is defined.
4265
4266 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4267
4268 * config.host (microblaze-*-rtems*): New.
4269
4270 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4271
4272 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4273 architectures that do not have hardware divide instruction.
4274 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4275
4276 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4277
4278 * longlong.h: Delete (moved to include/).
4279
4280 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4281
4282 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4283 of normal number and qNaN to not raise an inexact exception.
4284
4285 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
4286
4287 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4288
4289 2013-11-28 Matthew Leach <matthew.leach@arm.com>
4290
4291 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4292 for correct opcodes on BE.
4293
4294 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
4295
4296 * soft-fp/op-4.h: Update from glibc.
4297
4298 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4299
4300 * libgcc2.c (__udivmoddi4): Define new implementation when
4301 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4302 divide instructions.
4303
4304 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4305
4306 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4307
4308 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4309
4310 * config/t-softfp (soft-fp-objects-base): New variable.
4311 (soft-fp-objects): Use it.
4312
4313 2013-11-23 David Edelson <dje.gcc@gmail.com>
4314 Andrew Dixie <andrewd@gentrack.com>
4315
4316 PR target/33704
4317 * config/rs6000/aixinitfini.c: New file.
4318 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4319 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4320 symbols.
4321
4322 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4323
4324 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4325
4326 2013-11-18 Jan Hubicka <jh@suse.cz>
4327
4328 * libgcov-driver.c (run_accounted): Make global level static.
4329 (gcov_exit_merge_summary): Silence warning; do not clear
4330 run_accounted here.
4331 (gcov_exit): Clear it here.
4332
4333 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4334 run_accounted.
4335
4336 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4337 (all_prg, crc32): Remove static vars.
4338 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4339 all_prg.
4340 (gcov_exit_merge_gcda): Add crc32 parameter.
4341 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4342 do not account run if it was already accounted.
4343 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4344 (gcov_exit): Initialize all_prg; update.
4345
4346 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4347
4348 * configure: Regenerate.
4349
4350 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4351 Alan Modra <amodra@gmail.com>
4352
4353 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4354 (frob_update_context): Use it.
4355
4356 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4357 Alan Modra <amodra@gmail.com>
4358
4359 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4360 (trampoline_initial): Provide ELFv2 variant.
4361 (__trampoline_setup): Likewise.
4362
4363 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4364 check for AIX indirect function call sequence if _CALL_ELF == 2.
4365
4366 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4367 Alan Modra <amodra@gmail.com>
4368
4369 * config/rs6000/linux-unwind.h (get_regs): Do not support
4370 old kernel versions if _CALL_ELF == 2.
4371 (frob_update_context): Do not support PLT stub variants only
4372 generated by old linkers if _CALL_ELF == 2.
4373
4374 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4375 Alan Modra <amodra@gmail.com>
4376
4377 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4378 location of CR save area for 64-bit little-endian systems.
4379
4380 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4381
4382 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4383 in tmake_file.
4384 * config/arm/t-vxworks: Delete.
4385
4386 2013-11-10 Kai Tietz <ktietz@redhat.com>
4387
4388 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4389 Increment load-count on use of LIBGCC_SONAME DLL.
4390 (hmod_libgcc): New static variable to hold handle of
4391 LIBGCC_SONAME DLL.
4392 (__gcc_deregister_frame): Decrement load-count of
4393 LIBGCC_SONAME DLL.
4394
4395 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4396
4397 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4398 availability.
4399 * configure: Regenerate
4400
4401 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
4402
4403 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4404 FP_EX_DENORM. Store result to volatile location after SSE division
4405 to close interrupt window. Remove unneeded fwait after x87
4406 division since interrupt window will be closed by emitted fstp.
4407 Rewrite FP_EX_INEXACT handling.
4408
4409 2013-11-06 Joseph Myers <joseph@codesourcery.com>
4410
4411 * soft-fp/README: Update.
4412 * soft-fp/adddf3.c: Update from glibc.
4413 * soft-fp/addsf3.c: Likewise.
4414 * soft-fp/addtf3.c: Likewise.
4415 * soft-fp/divdf3.c: Likewise.
4416 * soft-fp/divsf3.c: Likewise.
4417 * soft-fp/divtf3.c: Likewise.
4418 * soft-fp/double.h: Likewise.
4419 * soft-fp/eqdf2.c: Likewise.
4420 * soft-fp/eqsf2.c: Likewise.
4421 * soft-fp/eqtf2.c: Likewise.
4422 * soft-fp/extenddftf2.c: Likewise.
4423 * soft-fp/extended.h: Likewise.
4424 * soft-fp/extendsfdf2.c: Likewise.
4425 * soft-fp/extendsftf2.c: Likewise.
4426 * soft-fp/extendxftf2.c: Likewise.
4427 * soft-fp/fixdfdi.c: Likewise.
4428 * soft-fp/fixdfsi.c: Likewise.
4429 * soft-fp/fixdfti.c: Likewise.
4430 * soft-fp/fixsfdi.c: Likewise.
4431 * soft-fp/fixsfsi.c: Likewise.
4432 * soft-fp/fixsfti.c: Likewise.
4433 * soft-fp/fixtfdi.c: Likewise.
4434 * soft-fp/fixtfsi.c: Likewise.
4435 * soft-fp/fixtfti.c: Likewise.
4436 * soft-fp/fixunsdfdi.c: Likewise.
4437 * soft-fp/fixunsdfsi.c: Likewise.
4438 * soft-fp/fixunsdfti.c: Likewise.
4439 * soft-fp/fixunssfdi.c: Likewise.
4440 * soft-fp/fixunssfsi.c: Likewise.
4441 * soft-fp/fixunssfti.c: Likewise.
4442 * soft-fp/fixunstfdi.c: Likewise.
4443 * soft-fp/fixunstfsi.c: Likewise.
4444 * soft-fp/fixunstfti.c: Likewise.
4445 * soft-fp/floatdidf.c: Likewise.
4446 * soft-fp/floatdisf.c: Likewise.
4447 * soft-fp/floatditf.c: Likewise.
4448 * soft-fp/floatsidf.c: Likewise.
4449 * soft-fp/floatsisf.c: Likewise.
4450 * soft-fp/floatsitf.c: Likewise.
4451 * soft-fp/floattidf.c: Likewise.
4452 * soft-fp/floattisf.c: Likewise.
4453 * soft-fp/floattitf.c: Likewise.
4454 * soft-fp/floatundidf.c: Likewise.
4455 * soft-fp/floatundisf.c: Likewise.
4456 * soft-fp/floatunditf.c: Likewise.
4457 * soft-fp/floatunsidf.c: Likewise.
4458 * soft-fp/floatunsisf.c: Likewise.
4459 * soft-fp/floatunsitf.c: Likewise.
4460 * soft-fp/floatuntidf.c: Likewise.
4461 * soft-fp/floatuntisf.c: Likewise.
4462 * soft-fp/floatuntitf.c: Likewise.
4463 * soft-fp/gedf2.c: Likewise.
4464 * soft-fp/gesf2.c: Likewise.
4465 * soft-fp/getf2.c: Likewise.
4466 * soft-fp/ledf2.c: Likewise.
4467 * soft-fp/lesf2.c: Likewise.
4468 * soft-fp/letf2.c: Likewise.
4469 * soft-fp/muldf3.c: Likewise.
4470 * soft-fp/mulsf3.c: Likewise.
4471 * soft-fp/multf3.c: Likewise.
4472 * soft-fp/negdf2.c: Likewise.
4473 * soft-fp/negsf2.c: Likewise.
4474 * soft-fp/negtf2.c: Likewise.
4475 * soft-fp/op-1.h: Likewise.
4476 * soft-fp/op-2.h: Likewise.
4477 * soft-fp/op-4.h: Likewise.
4478 * soft-fp/op-8.h: Likewise.
4479 * soft-fp/op-common.h: Likewise.
4480 * soft-fp/quad.h: Likewise.
4481 * soft-fp/single.h: Likewise.
4482 * soft-fp/soft-fp.h: Likewise.
4483 * soft-fp/subdf3.c: Likewise.
4484 * soft-fp/subsf3.c: Likewise.
4485 * soft-fp/subtf3.c: Likewise.
4486 * soft-fp/truncdfsf2.c: Likewise.
4487 * soft-fp/trunctfdf2.c: Likewise.
4488 * soft-fp/trunctfsf2.c: Likewise.
4489 * soft-fp/trunctfxf2.c: Likewise.
4490 * soft-fp/unorddf2.c: Likewise.
4491 * soft-fp/unordsf2.c: Likewise.
4492 * soft-fp/unordtf2.c: Likewise.
4493
4494 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
4495
4496 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4497 (_FP_MUL_MEAT_D): Ditto.
4498 (_FP_DIV_MEAT_S): Ditto.
4499 (_FP_DIV_MEAT_D): Ditto.
4500 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4501 t-softfp-sfdf and t-softfp to tmake_file.
4502
4503 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
4504
4505 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4506 * config/i386/crtprec.c: Ditto.
4507
4508 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4509 Shiva Chen <shiva0217@gmail.com>
4510
4511 * config.host (nds32*-elf*): Add nds32 target.
4512 * config/nds32 : New directory and files.
4513
4514 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
4515
4516 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4517 * config.host (cpu_type) <Setting default>: Add entry for
4518 crisv32-*-*.
4519 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4520 <crisv32-*-linux*>: Adjust.
4521 * longlong.h: Wrap the whole CRIS section in a single
4522 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4523 and sub_ddmmss.
4524 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4525 defined.
4526 [__CRIS__] (__umulsidi3): Define.
4527 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4528 * config/cris/sfp-machine.h: New file.
4529 * config/cris/umulsidi3.S: New file.
4530 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4531 * config/cris/arit.c (SIGNMULT): New macro.
4532 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4533 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4534 saving 3 out of originally 33 cycles from the fastest
4535 path, 3 out of 54 from the medium path and one from the longest
4536 path. Improve comments.
4537
4538 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4539
4540 * sync.c: Remove static aliases and define each function directly
4541 under its real name.
4542
4543 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
4544
4545 * config.host (hppa*64*-*-linux*): Define extra_parts.
4546 (hppa*-*-linux*): Likewise.
4547
4548 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4549
4550 * config/arc/crtgend.S: Add 2013 to Copyright years.
4551 * config/arc/gmon/atomic.h: Likewise.
4552 * config/arc/gmon/auxreg.h: Likewise.
4553 * config/arc/gmon/sys/gmon_out.h: Likewise.
4554 * config/arc/gmon/sys/gmon.h: Likewise.
4555 * config/arc/gmon/prof-freq.c: Likewise.
4556 * config/arc/gmon/mcount.c: Likewise.
4557 * config/arc/gmon/prof-freq-stub.S: Likewise.
4558 * config/arc/gmon/gmon.c: Likewise.
4559 * config/arc/gmon/machine-gmon.h: Likewise.
4560 * config/arc/gmon/profil.S: Likewise.
4561 * config/arc/gmon/dcache_linesz.S: Likewise.
4562 * config/arc/crtg.S: Likewise.
4563 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4564 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4565 * config/arc/ieee-754/adddf3.S: Likewise.
4566 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4567 * config/arc/ieee-754/fixsfsi.S: Likewise.
4568 * config/arc/ieee-754/gtsf2.S: Likewise.
4569 * config/arc/ieee-754/floatsisf.S: Likewise.
4570 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4571 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4572 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4573 * config/arc/ieee-754/fixdfsi.S: Likewise.
4574 * config/arc/ieee-754/addsf3.S: Likewise.
4575 * config/arc/ieee-754/gesf2.S: Likewise.
4576 * config/arc/ieee-754/floatsidf.S: Likewise.
4577 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4578 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4579 * config/arc/ieee-754/gtdf2.S: Likewise.
4580 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4581 * config/arc/ieee-754/uneqdf2.S: Likewise.
4582 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4583 * config/arc/ieee-754/uneqsf2.S: Likewise.
4584 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4585 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4586 * config/arc/ieee-754/eqdf2.S: Likewise.
4587 * config/arc/ieee-754/ordsf2.S: Likewise.
4588 * config/arc/ieee-754/divsf3.S: Likewise.
4589 * config/arc/ieee-754/divdf3.S: Likewise.
4590 * config/arc/ieee-754/floatunsidf.S: Likewise.
4591 * config/arc/ieee-754/orddf2.S: Likewise.
4592 * config/arc/ieee-754/eqsf2.S: Likewise.
4593 * config/arc/ieee-754/gedf2.S: Likewise.
4594 * config/arc/crtn.S: Likewise.
4595 * config/arc/crti.S: Likewise.
4596 * config/arc/t-arc700-uClibc: Likewise.
4597 * config/arc/asm.h: Likewise.
4598 * config/arc/libgcc-excl.ver: Likewise.
4599 * config/arc/t-arc-newlib: Likewise.
4600 * config/arc/divtab-arc700.c: Likewise.
4601 * config/arc/initfini.c: Likewise.
4602 * config/arc/fp-hack.h: Likewise.
4603
4604 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4605 Diego Novillo <dnovillo@google.com>
4606
4607 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4608 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4609 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4610 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4611
4612 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4613 Brendan Kehoe <brendan@zen.org>
4614 Simon Cook <simon.cook@embecosm.com>
4615
4616 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4617 * config/arc: New directory.
4618 * longlong.h [__arc__] (umul_ppmm): Remove.
4619 [__arc__] (__umulsidi3): Define.
4620 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4621 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4622
4623 2013-09-17 Jacek Caban <jacek@codeweavers.com>
4624
4625 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4626 CreateSemaphoreA.
4627 * config/i386/gthr-win32.h: Likewise.
4628
4629 2013-09-16 DJ Delorie <dj@redhat.com>
4630
4631 * config/rl78/vregs.h: Add G10 register definitions.
4632 * config/rl78/lib2mul.c: Enable for RL78/G10.
4633 * config/rl78/lib2div.c: Likewise.
4634 * config/rl78/lshrsi3.S: Use vregs.h.
4635 * config/rl78/cmpsi2.S: Likewise.
4636 * config/rl78/trampoline.S: Likewise.
4637 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4638
4639 2013-09-14 DJ Delorie <dj@redhat.com>
4640 Nick Clifton <nickc@redhat.com>
4641
4642 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4643 * config/rl78/vregs.h: New.
4644 * config/rl78/signbit.S: New file. Implements signbit function.
4645 * config/rl78/divmodsi.S: New.
4646 * config/rl78/divmodhi.S: New.
4647 * config/rl78/divmodqi.S: New.
4648 * config/rl78/t-rl78: Build them here...
4649 * config/rl78/lib2div.c: ...but not here.
4650
4651 2013-09-12 DJ Delorie <dj@redhat.com>
4652
4653 * config.host (msp*-*-elf): New.
4654 * config/msp430/: New port.
4655
4656 2013-08-18 Iain Sandoe <iain@codesourcery.com>
4657
4658 PR gcov-profile/58127
4659 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4660 __thread var for emulated TLS.
4661 (__gcov_indirect_call_counters): Likewise.
4662
4663 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
4664 Catherine Moore <clm@codesourcery.com>
4665 Richard Sandiford <rdsandiford@googlemail.com>
4666
4667 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4668 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4669 (CALL_STUB_NO_RET): Likewise.
4670 (CALL_STUB_RET): Likewise.
4671 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4672 __mips16_ret call/return stub symbols.
4673 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4674 to tmake_file.
4675
4676 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4677
4678 * config.host <mips*-*-linux*>: Remove a stray comment.
4679
4680 2013-08-10 Jan Hubicka <jh@suse.cz>
4681
4682 Work around binutils PR14342
4683 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4684 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4685 (L_gcov_indirect_call_profiler_v2): New.
4686
4687 2013-08-06 Jan Hubicka <jh@suse.cz>
4688
4689 * libgcov.c (__gcov_indirect_call_callee,
4690 __gcov_indirect_call_counters): New global vars.
4691 (__gcov_indirect_call_profiler): replace by ...
4692 (__gcov_indirect_call_profiler_v2) ... this one.
4693
4694 2013-08-06 Caroline Tice <cmtice@google.com>
4695
4696 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
4697 vtv_start_preinit.o and vtv_end_preinit.o.
4698 * configure.ac: Add code to check/set enable_vtable_verify.
4699 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
4700 true.
4701 * vtv_start_preinit.c: New file.
4702 * vtv_end_preinit.c: New file.
4703 * vtv_start.c: New file.
4704 * vtv_end.c: New file.
4705 * configure: Regenerated.
4706
4707 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4708
4709 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4710 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4711 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4712 GPL-3.0-with-GCC-exception.
4713
4714 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4715
4716 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4717 ISA and up.
4718
4719 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4720
4721 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4722 mapping for FPRs when creating the fallback framestate.
4723
4724 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
4725
4726 PR target/57516
4727 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4728 (__round_s2_const, __round_u2_const)
4729 (__round_s4_const, __round_u4_const, __round_x8):
4730 Saturate result if addition result cannot be represented.
4731
4732 2013-07-15 Matthias Klose <doko@ubuntu.com>
4733
4734 * libgcc2.c: Don't include <limits.h>.
4735
4736 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
4737
4738 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4739
4740 2013-07-06 Jakub Jelinek <jakub@redhat.com>
4741
4742 PR target/29776
4743 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4744
4745 2013-06-28 Jakub Jelinek <jakub@redhat.com>
4746
4747 PR middle-end/36041
4748 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4749 Define.
4750 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4751 instead of table lookups.
4752 (__popcountDI2): Likewise.
4753
4754 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4755
4756 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4757 correctly.
4758
4759 2013-06-21 Joseph Myers <joseph@codesourcery.com>
4760
4761 PR other/53317
4762 * soft-fp/adddf3.c: Update from glibc.
4763 * soft-fp/addsf3.c: Likewise.
4764 * soft-fp/addtf3.c: Likewise.
4765 * soft-fp/divdf3.c: Likewise.
4766 * soft-fp/divsf3.c: Likewise.
4767 * soft-fp/divtf3.c: Likewise.
4768 * soft-fp/double.h: Likewise.
4769 * soft-fp/eqdf2.c: Likewise.
4770 * soft-fp/eqsf2.c: Likewise.
4771 * soft-fp/eqtf2.c: Likewise.
4772 * soft-fp/extenddftf2.c: Likewise.
4773 * soft-fp/extended.h: Likewise.
4774 * soft-fp/extendsfdf2.c: Likewise.
4775 * soft-fp/extendsftf2.c: Likewise.
4776 * soft-fp/fixdfdi.c: Likewise.
4777 * soft-fp/fixdfsi.c: Likewise.
4778 * soft-fp/fixsfdi.c: Likewise.
4779 * soft-fp/fixsfsi.c: Likewise.
4780 * soft-fp/fixtfdi.c: Likewise.
4781 * soft-fp/fixtfsi.c: Likewise.
4782 * soft-fp/fixunsdfdi.c: Likewise.
4783 * soft-fp/fixunsdfsi.c: Likewise.
4784 * soft-fp/fixunssfdi.c: Likewise.
4785 * soft-fp/fixunssfsi.c: Likewise.
4786 * soft-fp/fixunstfdi.c: Likewise.
4787 * soft-fp/fixunstfsi.c: Likewise.
4788 * soft-fp/floatdidf.c: Likewise.
4789 * soft-fp/floatdisf.c: Likewise.
4790 * soft-fp/floatditf.c: Likewise.
4791 * soft-fp/floatsidf.c: Likewise.
4792 * soft-fp/floatsisf.c: Likewise.
4793 * soft-fp/floatsitf.c: Likewise.
4794 * soft-fp/floatundidf.c: Likewise.
4795 * soft-fp/floatundisf.c: Likewise.
4796 * soft-fp/floatunditf.c: Likewise.
4797 * soft-fp/floatunsidf.c: Likewise.
4798 * soft-fp/floatunsisf.c: Likewise.
4799 * soft-fp/floatunsitf.c: Likewise.
4800 * soft-fp/gedf2.c: Likewise.
4801 * soft-fp/gesf2.c: Likewise.
4802 * soft-fp/getf2.c: Likewise.
4803 * soft-fp/ledf2.c: Likewise.
4804 * soft-fp/lesf2.c: Likewise.
4805 * soft-fp/letf2.c: Likewise.
4806 * soft-fp/muldf3.c: Likewise.
4807 * soft-fp/mulsf3.c: Likewise.
4808 * soft-fp/multf3.c: Likewise.
4809 * soft-fp/negdf2.c: Likewise.
4810 * soft-fp/negsf2.c: Likewise.
4811 * soft-fp/negtf2.c: Likewise.
4812 * soft-fp/op-1.h: Likewise.
4813 * soft-fp/op-2.h: Likewise.
4814 * soft-fp/op-4.h: Likewise.
4815 * soft-fp/op-8.h: Likewise.
4816 * soft-fp/op-common.h: Likewise.
4817 * soft-fp/quad.h: Likewise.
4818 * soft-fp/single.h: Likewise.
4819 * soft-fp/soft-fp.h: Likewise.
4820 * soft-fp/subdf3.c: Likewise.
4821 * soft-fp/subsf3.c: Likewise.
4822 * soft-fp/subtf3.c: Likewise.
4823 * soft-fp/truncdfsf2.c: Likewise.
4824 * soft-fp/trunctfdf2.c: Likewise.
4825 * soft-fp/trunctfsf2.c: Likewise.
4826 * soft-fp/unorddf2.c: Likewise.
4827 * soft-fp/unordsf2.c: Likewise.
4828 * soft-fp/unordtf2.c: Likewise.
4829 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4830 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4831 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4832 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4833 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4834 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4835 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4836 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4837 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4838 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4839 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4840 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4841
4842 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
4843
4844 * config/mips/lib2funcs.c: New file.
4845 * config/mips/t-mips (LIB2ADD_ST): Add it.
4846
4847 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
4848
4849 PR target/6526
4850 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4851 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
4852
4853 2013-06-08 Walter Lee <walt@tilera.com>
4854
4855 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4856 Replace int64_t with long long. Add __extension__ where
4857 appropriate.
4858 * config/tilepro/atomic.c: Include config.h.
4859
4860 2013-06-06 Douglas B Rupp <rupp@adacore.com>
4861
4862 * config.host (arm-wrs-vxworks): Configure with other soft float.
4863
4864 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
4865
4866 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4867 (mips64r5900el-*-elf*): New configurations.
4868
4869 2013-06-04 Alan Modra <amodra@gmail.com>
4870
4871 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4872
4873 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
4874
4875 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4876
4877 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
4878
4879 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4880 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4881 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4882
4883 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4884
4885 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4886 (powerpc-wrs-vxworks): Likewise.
4887
4888 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4889
4890 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4891 signal frames as well.
4892 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4893 STACK_BIAS to the CFA offset.
4894
4895 2013-05-17 Richard Henderson <rth@redhat.com>
4896
4897 PR target/49146
4898 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4899 (execute_cfa_program): Use it when storing to fs->regs.
4900
4901 2013-05-08 Kai Tietz <ktietz@redhat.com>
4902
4903 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4904 (__deregister_frame_info): Likewise.
4905
4906 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
4907
4908 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4909 NaN's payload.
4910
4911 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4912
4913 2013-04-25 Alan Modra <amodra@gmail.com>
4914
4915 * config.host: Match little-endian powerpc-linux.
4916
4917 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
4918
4919 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4920 as 'unsigned long long' instead of 'unsigned long'.
4921 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4922 'signed long'.
4923
4924 2013-04-10 Julian Brown <julian@codesourcery.com>
4925
4926 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4927 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4928 unsigned char/unsigned short.
4929 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4930
4931 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4932
4933 PR other/55274
4934 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4935
4936 2013-04-04 Meador Inge <meadori@codesourcery.com>
4937
4938 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4939 computing the location of the link register.
4940 (aeabi_uldivmod): Ditto.
4941
4942 2013-03-27 Kai Tietz <ktietz@redhat.com>
4943
4944 * config.host: Add support for cygwin x64 target.
4945 * configure: Regenerated.
4946
4947 2013-03-26 Walter Lee <walt@tilera.com>
4948
4949 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4950 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4951
4952 2013-03-25 Kai Tietz <ktietz@redhat.com>
4953
4954 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4955
4956 2013-03-20 Robert Mason <rbmj@verizon.net>
4957
4958 * config/vxlib-tls.c (__gthread_get_tsd_data,)
4959 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4960 (__gthread_leave_tsd_dtor_context): Add prototypes.
4961 (tls_delete_hook): Update.
4962
4963 2013-03-20 Catherine Moore <clm@codesourcery.com>
4964 Joseph Myers <joseph@codesourcery.com>
4965 Chao-ying Fu <fu@mips.com>
4966
4967 * config/mips/mips16.S: Don't build for microMIPS.
4968 * config/mips/linux-unwind.h: Handle microMIPS frame.
4969 * config/mips/crtn.S (fini, init): New labels.
4970
4971 2013-03-14 Jakub Jelinek <jakub@redhat.com>
4972
4973 PR tree-optimization/53265
4974 * unwind-dw2.c (execute_cfa_program): Avoid
4975 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4976 on targets with DWARF_FRAME_REGISTERS < 32.
4977
4978 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
4979
4980 PR target/49880
4981 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4982 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4983
4984 2013-03-07 Sriraman Tallam <tmsriram@google.com>
4985
4986 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4987 sandybridge processors.
4988
4989 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
4990
4991 PR target/56529
4992 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4993 inclusion list.
4994
4995 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
4996
4997 * config/microblaze/crti.S: Setup stack protection at entry
4998
4999 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
5000
5001 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5002 (__rotldi3): Shift bytewise if applicable.
5003
5004 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5005
5006 * config/aarch64/sync-cache.c
5007 (__aarch64_sync_cache_range): Silence warnings.
5008
5009 2013-02-25 Catherine Moore <clm@codesourcery.com>
5010
5011 Revert:
5012 2013-02-24 Catherine Moore <clm@codesourcery.com>
5013 Joseph Myers <joseph@codesourcery.com>
5014 Chao-ying Fu <fu@mips.com>
5015
5016 * config/mips/mips16.S: Don't build for microMIPS.
5017 * config/mips/linux-unwind.h: Handle microMIPS frame.
5018 * config/mips/crtn.S (fini, init): New labels.
5019
5020 2013-02-24 Catherine Moore <clm@codesourcery.com>
5021 Joseph Myers <joseph@codesourcery.com>
5022 Chao-ying Fu <fu@mips.com>
5023
5024 * config/mips/mips16.S: Don't build for microMIPS.
5025 * config/mips/linux-unwind.h: Handle microMIPS frame.
5026 * config/mips/crtn.S (fini, init): New labels.
5027
5028 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5029 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5030 as dividend.
5031
5032 2013-02-16 Alan Modra <amodra@gmail.com>
5033
5034 PR target/55431
5035 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5036 (ppc_fallback_frame_state): Always set up save locations for fp
5037 and altivec. Don't bother with non-callee-saved regs, r0-r13
5038 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5039
5040 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
5041
5042 PR target/54222
5043 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5044 _ssmulHA, _ssmulSA.
5045 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5046 _ssmulha3, _usmulusa3, _ssmulsa3.
5047 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5048 (__muldi3): XCALL __muldi3_6 instead of rcall.
5049 (__umulsidi3, __mulsidi3): New functions.
5050 (do_prologue_saves, do_epilogue_restores): New .macros.
5051 (__divdi3_moddi3): Use them.
5052 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5053 (__usmulusa3, __ssmulsa3): New functions.
5054
5055 2013-02-11 Iain Sandoe <iain@codesourcery.com>
5056 Jack Howarth <howarth@bromo.med.uc.edu>
5057 Patrick Marlier <patrick.marlier@gmail.com>
5058
5059 PR libitm/55693
5060 * config/darwin-crt-tm.c: Remove dummy functions hack.
5061
5062 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
5063
5064 PR target/54222
5065 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5066 * config/avr/lib2-object.mk: New iterator to build objects from it.
5067 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5068 lib2funcs.c.
5069 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5070 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5071 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5072 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5073 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5074 * config/avr/lib1funcs-fixed.S: Implement them.
5075
5076 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5077
5078 Update copyright years.
5079
5080 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
5081
5082 PR target/54601
5083 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5084 Add crtcxa to extra_parts.
5085 * config/rs6000/exit.h: New file.
5086 * config/rs6000/cxa_atexit.c: New file.
5087 * config/rs6000/cxa_finalize.c: New file.
5088 * config/rs6000/crtcxa.c: New file.
5089 * config/rs6000/t-aix-cxa: New file.
5090 * config/rs6000/libgcc-aix-cxa.ver: New file.
5091
5092 2013-01-31 Nick Clifton <nickc@redhat.com>
5093
5094 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5095 variant.
5096
5097 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
5098
5099 PR target/54222
5100 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5101 _mulQQ, _mulHQ, _mulHA, _mulSA,
5102 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5103 _divQQ, _divHQ, _divHA, _divSA,
5104 _divUQQ, _divUHQ, _divUHA, _divUSA.
5105
5106 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
5107
5108 * config.host(microblaze*-linux*): tmake_file: Remove
5109 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5110 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5111 to exclude functions from being built with libgcc.c and use
5112 the microblaze assembly.
5113
5114 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5115
5116 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5117 extra_parts.
5118
5119 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5120
5121 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5122 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5123 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5124 alignment operation.
5125
5126 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5127
5128 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5129 loop start address for cache clearing.
5130
5131 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5132
5133 * config/avr/lib1funcs.S: Remove trailing blanks.
5134 * config/avr/lib1funcs-fixed.S: Ditto.
5135
5136 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5137
5138 * config/avr/avr-lib.h: Add GPL copyright notice.
5139
5140 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5141
5142 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5143 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5144 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5145 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5146
5147 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
5148
5149 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5150 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5151
5152 2013-01-04 Nick Clifton <nickc@redhat.com>
5153
5154 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5155 the CALLT instruction is supported.
5156
5157 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5158
5159 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5160 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5161
5162 2012-12-13 John Tytgat <John@bass-software.com>
5163
5164 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5165 is 25.
5166
5167 2012-12-12 Jakub Jelinek <jakub@redhat.com>
5168
5169 PR libgcc/55451
5170 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5171 undefined signed overflows.
5172
5173 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
5174
5175 PR target/55344
5176 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5177
5178 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
5179
5180 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5181 (FP_TRAPPING_EXCEPTIONS): Define.
5182 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5183 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5184
5185 2012-12-04 Richard Henderson <rth@redhat.com>
5186
5187 PR bootstrap/55571
5188 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5189
5190 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5191
5192 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5193 (FP_EX_SHIFT): Define.
5194 (FP_TRAPPING_EXCEPTIONS): Define.
5195
5196 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5197
5198 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5199 (FP_ROUNDMODE): Use FP_RND_MASK.
5200 * config/aarch64/sfp-exceptions.c: New.
5201 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5202 Use __sfp_handle_exceptions.
5203
5204 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
5205
5206 * config.host: (arm*-*-freebsd*): Remove.
5207 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5208 (arm*-*-elf*): Remove.
5209 (arm*-*-wince-pe*): Remove.
5210 * arm/unwind-arm.c (struct fpa_reg): Delete.
5211 (struct fpa_regs): Delete.
5212 (phase1_vrs): Remove fpa element.
5213 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5214 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5215 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5216 * ieee754-sf.S (floatundisf): Remove FPA support.
5217 (floatdisf): Likewise.
5218 * ieee75f-df.S (floatundidf): Likewise.
5219 (floatdidf): Likewise.
5220
5221 2012-11-29 Kai Tietz <ktietz@redhat.com>
5222
5223 PR target/55445
5224 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5225 * unwind-generic.h: Likewise.
5226 * unwind-seh.c: Likewise.
5227
5228 2012-11-28 Richard Henderson <rth@redhat.com>
5229
5230 PR libgcc/48076
5231 * emutls.c (__emutls_get_address): Avoid race condition between
5232 obj->loc.offset read and emutls_key initialization.
5233
5234 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
5235
5236 Adjust decimal point of signed accum mode to GCC default.
5237
5238 PR target/54222
5239 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5240 _divqq_helper.
5241 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5242 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5243 (__mulha3, __mulsa3)
5244 (__divqq3, __divha3, __divsa3): Adjust to new position of
5245 decimal point of signed accum types.
5246
5247 (__mulusa3_round): New function.
5248 (__mulusa3): Use it.
5249 (__divqq_helper): New function.
5250 (__udivuqq3): Use it.
5251
5252 2012-11-20 Jakub Jelinek <jakub@redhat.com>
5253
5254 PR bootstrap/55370
5255 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5256
5257 2012-11-18 Teresa Johnson <tejohnson@google.com>
5258
5259 PR bootstrap/55051
5260 * libgcov.c (gcov_exit): Remove merged program summary
5261 comparison unless !GCOV_LOCKED.
5262
5263 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
5264
5265 * soft-fp: Updated from glibc upstream.
5266
5267 2012-11-06 Ian Lance Taylor <iant@google.com>
5268
5269 * generic-morestack.c (__generic_morestack): Align the returned
5270 stack pointer to a 32 byte boundary.
5271 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5272 increment the return address until we have decided that we don't
5273 have a varargs function.
5274 (__morestack) [32-bit]: Align stack correctly when calling C
5275 functions.
5276 (__morestack) [64-bit]: Likewise.
5277
5278 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5279
5280 * configure: Regenerate.
5281
5282 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
5283
5284 PR target/55175
5285 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5286 * config/i386/sfp-machine.h: Guard exception handling
5287 code with _SOFT_FLOAT.
5288 * config/i386/32/sfp-machine.h: Guard rounding handling
5289 code with _SOFT_FLOAT.
5290 * config/i386/64/sfp-machine.h: Ditto.
5291
5292 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5293
5294 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5295 as extra_parts.
5296
5297 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
5298
5299 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5300 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5301 when appropriate. Correct structure element types.
5302 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5303 -minline-all-stringops from compile flags.
5304
5305 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5306
5307 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5308
5309 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5310
5311 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5312
5313 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5314
5315 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5316 tmake_file.
5317
5318 2012-10-23 Ian Bolton <ian.bolton@arm.com>
5319 Jim MacArthur <jim.macarthur@arm.com>
5320 Marcus Shawcroft <marcus.shawcroft@arm.com>
5321 Nigel Stephens <nigel.stephens@arm.com>
5322 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5323 Richard Earnshaw <rearnsha@arm.com>
5324 Sofiane Naci <sofiane.naci@arm.com>
5325 Stephen Thomas <stephen.thomas@arm.com>
5326 Tejas Belagod <tejas.belagod@arm.com>
5327 Yufeng Zhang <yufeng.zhang@arm.com>
5328
5329 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5330 * config/aarch64/crti.S: New file.
5331 * config/aarch64/crtn.S: New file.
5332 * config/aarch64/linux-unwind.h: New file.
5333 * config/aarch64/sfp-machine.h: New file.
5334 * config/aarch64/sync-cache.c: New file.
5335 * config/aarch64/t-aarch64: New file.
5336 * config/aarch64/t-softfp: New file.
5337
5338 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5339
5340 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5341 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5342 no-longer-needed LDBU insns.
5343
5344 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
5345
5346 * config.host
5347 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5348 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5349
5350 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5351
5352 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5353
5354 2012-10-15 Matthias Klose <doko@ubuntu.com>
5355
5356 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5357
5358 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5359
5360 * configure: Regenerate.
5361 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5362
5363 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5364
5365 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5366 instructions for 64bit targets only.
5367
5368 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5369
5370 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5371 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5372 * config/i386/32/sfp-machine.h: ... here.
5373 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5374 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5375 New defines.
5376
5377 2012-10-07 Matthias Klose <doko@ubuntu.com>
5378
5379 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5380 as unused.
5381 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5382
5383 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
5384
5385 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5386 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5387 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5388 (ElfW): Likewise.
5389
5390 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5391
5392 PR other/53889
5393 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5394 Fix parameter names.
5395
5396 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5397
5398 PR target/33135
5399 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5400 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5401 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5402
5403 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5404
5405 PR target/50457
5406 * config/sh/linux-atomic.S: Delete.
5407 * config/sh/linux-atomic.c: New.
5408 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5409 linux-atomic.c. Add cflags to disable warnings.
5410
5411 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5412
5413 PR other/53889
5414 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5415 function.
5416 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5417 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5418 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5419 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5420 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5421 Likewise.
5422 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5423 Likewise.
5424 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5425 Likewise.
5426 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5427 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5428
5429 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
5430
5431 * config.host (hppa-*-openbsd*): New target.
5432 * config/pa/t-openbsd: New file.
5433
5434 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
5435
5436 PR target/54222
5437 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5438 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5439 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5440 (__divsa3): Use __negsi2 to negate r_quoL.
5441 * config/avr/lib1funcs.S (FALIAS): New macro.
5442 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5443 (__negsi2): ...this new function.
5444 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5445 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5446 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5447 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5448 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5449 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5450
5451 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5452
5453 PR target/54089
5454 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5455 (lshrsi3): Reimplement as lshrsi3_r0.
5456
5457 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5458
5459 PR target/46191
5460 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5461 of libgcc.a.
5462
5463 2012-09-07 Teresa Johnson <tejohnson@google.com>
5464
5465 PR gcov-profile/54487
5466 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5467 differences.
5468
5469 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
5470
5471 PR target/54461
5472 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5473 not configured --with-avrlibc=no.
5474 * config/avr/t-avrlibc: New file.
5475 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5476 (DPBIT_FUNCS): Ditto.
5477 (TPBIT_FUNCS): Ditto.
5478
5479 2012-09-04 Teresa Johnson <tejohnson@google.com>
5480
5481 * libgcov.c (struct gcov_summary_buffer): New structure.
5482 (gcov_histogram_insert): New function.
5483 (gcov_compute_histogram): Ditto.
5484 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5485 histograms during summary merging.
5486
5487 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
5488
5489 * config.host (x86_64-*-openbsd*): New target.
5490
5491 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5492
5493 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5494 attribute.
5495
5496 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5497
5498 PR target/54222
5499 * config/avr/t-avr (conv_X): Rename to func_X.
5500
5501 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5502
5503 PR target/54222
5504 * config/avr/lib1funcs-fixed.S: New file.
5505 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5506 after they are used.
5507 (neg2, neg4): New macros.
5508 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5509 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5510 (__umulhisi3): Speed up MUL variant if there is enough flash.
5511 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5512 avr-modes.def.
5513 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5514 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5515 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5516 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5517 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5518 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5519 (LIB2FUNCS_EXCLUDE): Add supported functions.
5520
5521 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
5522
5523 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5524 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5525 libgcc-s-objects.
5526 * fixed-obj.mk: Only expand dependency if $o is not in
5527 LIB2FUNCS_EXCLUDE.
5528
5529 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5530
5531 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5532
5533 2012-08-22 Joseph Myers <joseph@codesourcery.com>
5534
5535 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5536 depend on --enable-shared.
5537 ($(lib1asmfuncs-o)): Use %.vis files independent of
5538 --enable-shared.
5539 * static-object.mk ($(base)$(objext), $(base).vis)
5540 ($(base)_s$(objext)): Use same rules for visibility handling as in
5541 shared-object.mk.
5542
5543 2012-08-21 Ian Lance Taylor <iant@google.com>
5544
5545 * config/i386/morestack.S (__morestack_non_split): Increase amount
5546 of space allocated for non-split code stack.
5547
5548 2012-08-19 Joseph Myers <joseph@codesourcery.com>
5549
5550 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5551 even if inhibit_libc.
5552
5553 2012-08-17 Julian Brown <julian@codesourcery.com>
5554
5555 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5556 -fexceptions -fnon-call-exceptions if not defined.
5557 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5558 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5559
5560 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5561
5562 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5563 type.
5564
5565 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
5566
5567 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5568 rs6000/t-slibgcc-aix.
5569
5570 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5571
5572 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5573
5574 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5575
5576 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5577
5578 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5579
5580 PR driver/54171
5581 * Makefile.in (version): Replace top_srcdir with srcdir.
5582
5583 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5584
5585 * Makefile.in (version): set to BASE-VER file from gcc directory.
5586
5587 2012-08-01 Nick Clifton <nickc@redhat.com>
5588
5589 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5590 Implements __clrsb for an HImode argument.
5591
5592 2012-07-31 Nick Clifton <nickc@redhat.com>
5593
5594 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5595 Implements __clrsb for an HImode argument.
5596 * config/stormy16/clrsbhi2.c: New file:
5597 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5598
5599 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5600
5601 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5602
5603 2012-07-19 Tristan Gingold <gingold@adacore.com>
5604 Richard Henderson <rth@redhat.com>
5605
5606 * unwind-seh.c: New file.
5607 * unwind-generic.h: Include windows.h for SEH.
5608 (_Unwind_Exception): Use 6 private fields for SEH.
5609 (_GCC_specific_handler): Declare.
5610 * unwind-c.c (__gcc_personality_seh0): New function.
5611 Adjust for SEH.
5612 * config/i386/libgcc-cygming.ver: New file.
5613 * config/i386/t-seh-eh: New file.
5614 * config.host (x86_64-*-mingw*): Default to seh.
5615
5616 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5617
5618 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5619
5620 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
5621
5622 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5623 __builtin_expect when checking for exceptions.
5624 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5625
5626 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5627
5628 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5629 function declaration.
5630 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5631 (FP_RND_MASK): New.
5632 * config/ia64/sfp-exceptions.c: New.
5633 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5634
5635 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5636
5637 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5638 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5639 * config/i386/64/sfp-machine: ... (delete here) ...
5640 * config/i386/sfp-machine.h: ... to here.
5641 (FP_EX_MASK): Remove.
5642 (FP_RND_MASK): New.
5643 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5644
5645 2012-06-11 Sriraman Tallam <tmsriram@google.com>
5646
5647 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5648 * config/i386/libgcc-sol2.ver: Ditto.
5649 * config/i386/libgcc-glibc.ver: Ditto.
5650
5651 2012-06-11 Roland McGrath <mcgrathr@google.com>
5652
5653 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5654 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5655 pthread_cancel.
5656
5657 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
5658
5659 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5660 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5661 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5662 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5663 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5664 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5665 * config/i386/64/sfp-machine: ... (delete here) ...
5666 * config/i386/sfp-machine.h: ... to here.
5667 (FP_EX_MASK): New.
5668 (__sfp_handle_exceptions): New function declaration.
5669 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5670 * config/i386/sfp-exceptions.c: New.
5671 * config/i386/t-softfp: New.
5672 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5673 i386/t-softfp to tmake_file.
5674
5675 2012-06-03 David S. Miller <davem@davemloft.net>
5676
5677 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5678 change.
5679
5680 2012-05-31 David S. Miller <davem@davemloft.net>
5681
5682 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5683 multiply and divide instructions on 32-bit when V9.
5684 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5685
5686 2012-05-29 Joseph Myers <joseph@codesourcery.com>
5687
5688 * config/arm/ieee754-df.S: Fix typos.
5689 * config/arm/ieee754-sf.S: Fix typos.
5690 * config/c6x/libunwind.S: Fix typos.
5691 * config/epiphany/udivsi3-float.c: Fix typos.
5692 * config/microblaze/muldi3_hard.S: Fix typos.
5693 * config/picochip/adddi3.S: Fix typos.
5694 * config/picochip/ashlsi3.S: Fix typos.
5695 * config/picochip/ashrsi3.S: Fix typos.
5696 * config/picochip/clzsi2.S: Fix typos.
5697 * config/picochip/cmpsi2.S: Fix typos.
5698 * config/picochip/divmod15.S: Fix typos.
5699 * config/picochip/divmodhi4.S: Fix typos.
5700 * config/picochip/divmodsi4.S: Fix typos.
5701 * config/picochip/longjmp.S: Fix typos.
5702 * config/picochip/lshrsi3.S: Fix typos.
5703 * config/picochip/parityhi2.S: Fix typos.
5704 * config/picochip/popcounthi2.S: Fix typos.
5705 * config/picochip/setjmp.S: Fix typos.
5706 * config/picochip/subdi3.S: Fix typos.
5707 * config/picochip/ucmpsi2.S: Fix typos.
5708 * config/picochip/udivmodhi4.S: Fix typos.
5709 * config/picochip/udivmodsi4.S: Fix typos.
5710 * config/spu/divv2df3.c: Fix typos.
5711 * config/spu/mfc_multi_tag_release.c: Fix typos.
5712 * config/spu/mfc_tag_release.c: Fix typos.
5713 * configure.ac: Fix typos.
5714 * configure: Regenerate.
5715
5716 2012-05-25 Ian Lance Taylor <iant@google.com>
5717
5718 * config/i386/morestack.S (__morestack_non_split): Check whether
5719 caller is varargs and needs %bp to hold the stack frame on return.
5720
5721 2012-05-25 Olivier Hainque <hainque@adacore.com>
5722
5723 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5724 sequence in the non pic case on VxWorks.
5725
5726 2012-05-24 Olivier Hainque <hainque@adacore.com>
5727
5728 * Makefile.in: Move dependency on install-unwind_h from
5729 "install-leaf" to "install".
5730
5731 2012-05-24 Olivier Hainque <hainque@adacore.com>
5732
5733 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5734 Use a separate command for stamp removals.
5735
5736 2012-05-21 Andrew Pinski <apinski@cavium.com>
5737
5738 PR bootstrap/53183
5739 * configure.ac: Define the default includes to being none.
5740 * configure: Regenerate.
5741
5742 2012-05-16 Olivier Hainque <hainque@adacore.com>
5743
5744 * Makefile.in (install-unwind_h): Rename into ...
5745 (install-unwind_h-forbuild): New target.
5746 (all): Use it instead of the former install-unwind_h.
5747 (install-unwind_h): Reinstate, copy to user install destination
5748 for include files, not to the internal gcc object directory one.
5749 (install-leaf): Depend on it.
5750
5751 2012-05-15 Olivier Hainque <hainque@adacore.com>
5752
5753 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5754 register numbers. LR_REGNO replaces R_LR.
5755 (ucontext_for): New, helper for ...
5756 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5757 and 5.3 of ...
5758 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5759
5760 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5761
5762 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5763 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5764 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5765 i386/t-cpuinfo ...
5766 (i[34567]86-*-*, x86_64-*-*): ... here.
5767
5768 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5769 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5770
5771 * config/i386/i386-cpuinfo.c: Rename to ...
5772 * config/i386/cpuinfo.c: ... this.
5773 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5774
5775 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5776 (libgcc_cv_init_priority): New test.
5777 * configure: Regenerate.
5778 * config.in: New file.
5779 * Makefile.in (clean): Rename config.h to auto-target.h.
5780 (config.h): Likewise.
5781 (stamp-h): Likewise.
5782
5783 * config/i386/cpuinfo.c (auto-target.h): Include.
5784 (CONSTRUCTOR_PRIORITY): Define.
5785 (__cpu_indicator_init): Use it.
5786
5787 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5788
5789 * longlong.h: Use a URL instead of an FSF postal address.
5790 Replace spaces with tab.
5791
5792 2012-05-08 Teresa Johnson <tejohnson@google.com>
5793
5794 * libgcov.c (gcov_clear, __gcov_reset): New functions.
5795 (__gcov_dump): Ditto.
5796 (gcov_dump_complete): New global variable.
5797 (gcov_exit): Export hidden to enable use in L_gcov_dump.
5798 (__gcov_flush): Outline functionality now in gcov_clear.
5799 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5800
5801 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
5802
5803 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5804 (mips*-*-linux*): Include mips/t-tpbit when long double is
5805 16 bytes long.
5806
5807 2012-04-25 Sriraman Tallam <tmsriram@google.com>
5808
5809 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5810 (get_available_features): New argument. Check for AVX2.
5811 (__cpu_indicator_init): Modify call to get_available_features.
5812
5813 2012-04-25 Alan Modra <amodra@gmail.com>
5814
5815 * config/rs6000/crtsavevr.S: New file.
5816 * config/rs6000/crtrestvr.S: New file.
5817 * config/rs6000/t-savresfgpr: Build the above.
5818 * config/rs6000/t-netbsd: Likewise.
5819
5820 2012-04-24 Sriraman Tallam <tmsriram@google.com>
5821
5822 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5823
5824 2012-04-24 Sriraman Tallam <tmsriram@google.com>
5825
5826 * libgcc/config/i386/i386-cpuinfo.c: New file.
5827 * libgcc/config/i386/t-cpuinfo: New file.
5828 * libgcc/config.host: Include t-cpuinfo.
5829 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5830
5831 2012-04-24 Chao-ying Fu <fu@mips.com>
5832
5833 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5834
5835 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
5836
5837 struct siginfo vs. siginfo_t
5838
5839 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5840 siginfo_t instead of struct siginfo.
5841 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5842 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5843 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5844 (ia64_handle_unwabi): Likewise.
5845 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5846 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5847 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5848 (sh_fallback_frame_state): Likewise.
5849 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5850 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5851
5852 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
5853
5854 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5855 system call number.
5856
5857 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
5858
5859 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5860 if it hasn't been previously saved.
5861
5862 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
5863
5864 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5865 only for glibc.
5866
5867 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
5868
5869 PR target/52737
5870 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5871 instead of __AVR_HAVE_8BIT_SP__.
5872
5873 2012-03-26 Tristan Gingold <gingold@adacore.com>
5874
5875 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5876 (unw_table_entry): Use unw_word instead of unsigned long.
5877 (_Unwind_FindTableEntry): Likewise.
5878 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5879 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5880 (_Unwind_FindTableEntry): Likewise.
5881 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5882 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5883 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5884 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5885 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5886 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5887 (uw_init_context_1, uw_install_context): Likewise.
5888 (unw_word): Move to unwind-ia64.h
5889
5890 2012-03-26 Tristan Gingold <gingold@adacore.com>
5891
5892 * config/vms/vms-ucrt0.c: Update copyright years.
5893 Add a sanity check.
5894 (___gcc_main_flags): Declare.
5895 (__main): Check flags to remap argv and exit code.
5896 * config.host (*-*-*vms*): Adjust extra_parts.
5897 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5898 (crt0.o): Add.
5899
5900 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
5901
5902 * arm/lib1funcs.asm (ctzsi2): New function.
5903 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5904 * arm/t-linux (LIB1ASMFUNCS): Likewise.
5905 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5906 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5907 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5908 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5909
5910 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
5911
5912 * config.host: Add bits to support powerpc64-*-freebsd*.
5913 * config/rs6000/freebsd-unwind.h: New file.
5914 * config/rs6000/t-freebsd64: New file.
5915
5916 2012-03-20 Richard Guenther <rguenther@suse.de>
5917
5918 PR gcov-profile/52627
5919 * libgcov.c (init_mx): Fix mutex name.
5920
5921 2012-03-16 Tristan Gingold <gingold@adacore.com>
5922
5923 * config/ia64/vms-unwind.h: Remove ulong (and replace
5924 it by unw_reg where used). Define unw_reg with __int64.
5925
5926 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5927
5928 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5929 Solaris 8 handling.
5930 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5931 Solaris 8 handling.
5932 (sparc_is_sighandler): Likewise.
5933
5934 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
5935
5936 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5937 <= saved reg size.
5938
5939 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5940
5941 * config/arm/crtn.S: Fix typo.
5942
5943 2012-03-13 Richard Guenther <rguenther@suse.de>
5944
5945 * libgcov.c: Remove stdio.h include and NULL un-define.
5946
5947 2012-03-13 Richard Guenther <rguenther@suse.de>
5948
5949 PR target/52569
5950 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5951
5952 2012-03-13 Richard Guenther <rguenther@suse.de>
5953
5954 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5955
5956 2012-03-13 Richard Guenther <rguenther@suse.de>
5957
5958 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5959 and __gthread_mutex_init_function definitions.
5960
5961 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5962
5963 * config.host (mips*-*-openbsd*): Remove.
5964
5965 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5966
5967 * config.host: Remove alpha*-dec-osf5.1* handling.
5968 * config/alpha/gthr-posix.c: Remove.
5969 * config/alpha/libgcc-osf5.ver: Remove.
5970 * config/alpha/osf5-unwind.h: Remove.
5971 * config/alpha/t-osf-pthread: Remove.
5972 * config/alpha/t-slibgcc-osf: Remove.
5973 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5974 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5975 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5976 * mkmap-flat.awk: Remove osf_export handling.
5977
5978 2012-03-12 Richard Guenther <rguenther@suse.de>
5979
5980 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5981 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5982 (__gthread_mutex_init_function): New function.
5983 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5984
5985 PR gcov/49484
5986 * libgcov.c: Include gthr.h.
5987 (__gcov_flush_mx): New global variable.
5988 (init_mx, init_mx_once): New functions.
5989 (__gcov_flush): Protect self with a mutex.
5990 (__gcov_fork): Re-initialize mutex after forking.
5991 * unwind-dw2-fde.c: Change condition under which to use
5992 __GTHREAD_MUTEX_INIT_FUNCTION.
5993
5994 2012-03-12 Tristan Gingold <gingold@adacore.com>
5995
5996 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5997 * config/ia64/t-vms: Likewise.
5998
5999 2012-03-11 Michael Hope <michael.hope@linaro.org>
6000
6001 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6002 for Thumb-2.
6003
6004 2012-03-07 Walter Lee <walt@tilera.com>
6005
6006 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6007 "arch_atomic_".
6008 (atomic_xor): Rename and move definition to
6009 config/tilepro/atomic.h.
6010 (atomic_nand): Ditto.
6011 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6012 "arch_atomic_".
6013 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6014 (arch_atomic_nand): Ditto.
6015
6016 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6017
6018 PR target/52507
6019 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6020
6021 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6022
6023 PR target/52505
6024 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6025 from RAM.
6026
6027 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6028
6029 PR target/52461
6030 PR target/52508
6031 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6032 if RAMPZ affects reading from RAM.
6033 (__tablejump_elpm__): Ditto.
6034 (.xload): Ditto.
6035 (__movmemx_hi): Ditto.
6036 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6037 (__do_global_dtors): Ditto.
6038 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6039 (__movmemx_hi): Ditto.
6040
6041 2012-03-05 Richard Henderson <rth@redhat.com>
6042
6043 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6044 [ARM] (count_trailing_zeros): Use the builtin.
6045
6046 2012-03-01 Kai Tietz <ktietz@redhat.com>
6047
6048 * soft-fp: Imported from glibc upstream.
6049
6050 2012-02-28 Kai Tietz <ktietz@redhat.com>
6051
6052 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6053 for mingw-targets as attribute gcc_struct.
6054
6055 2012-02-28 Ian Lance Taylor <iant@google.com>
6056
6057 * generic-morestack.c (__splitstack_releasecontext): Correct call
6058 to __morestack_release_segments.
6059
6060 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6061
6062 PR target/52390
6063 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6064 for __linux__ when removing signals from __morestack_fullmask.
6065
6066 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
6067
6068 PR target/52261
6069 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6070
6071 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6072
6073 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6074 instead of HAVE_INITFINI_ARRAY.
6075 * config/ia64/crtend.S: Likewise.
6076
6077 2012-02-20 Kai Tietz <ktietz@redhat.com>
6078
6079 PR libstdc++/52300
6080 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6081
6082 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6083 to w32-unwind.h header.
6084
6085 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6086
6087 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6088 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6089 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6090 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6091
6092 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6093
6094 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6095
6096 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6097
6098 PR libitm/52220
6099 * config/darwin-crt-tm.c: Correct typo.
6100
6101 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6102 Patrick Marlier <patrick.marlier@gmail.com>
6103
6104 PR libitm/52220
6105 * config/darwin-crt-tm.c: Generate dummy functions.
6106
6107 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6108 Patrick Marlier <patrick.marlier@gmail.com>
6109
6110 PR libitm/52042
6111 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6112 (__doTMRegistrations): Call it.
6113 (__doTMdeRegistrations): Likewise.
6114
6115 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
6116 Anatoly Sokolov <aesok@post.ru>
6117 Eric Weddington <eric.weddington@atmel.com>
6118
6119 PR target/52261
6120 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6121 (__epilogue_restores__): Ditto.
6122
6123 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6124
6125 PR target/51921
6126 PR target/52205
6127 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6128 Solaris 11 and slightly reformat.
6129 (sparc_is_sighandler): Likewise.
6130
6131 2012-02-14 Walter Lee <walt@tilera.com>
6132
6133 * config.host: Handle tilegx and tilepro.
6134 * config/tilegx/sfp-machine.h: New file.
6135 * config/tilegx/sfp-machine32.h: New file.
6136 * config/tilegx/sfp-machine64.h: New file.
6137 * config/tilegx/t-crtstuff: New file.
6138 * config/tilegx/t-softfp: New file.
6139 * config/tilegx/t-tilegx: New file.
6140 * config/tilepro/atomic.c: New file.
6141 * config/tilepro/atomic.h: New file.
6142 * config/tilepro/linux-unwind.h: New file.
6143 * config/tilepro/sfp-machine.h: New file.
6144 * config/tilepro/softdivide.c: New file.
6145 * config/tilepro/softmpy.S: New file.
6146 * config/tilepro/t-crtstuff: New file.
6147 * config/tilepro/t-tilepro: New file.
6148
6149 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6150
6151 PR libstdc++/51296
6152 PR libstdc++/51906
6153 * gthr-posix.h: Allow static initializer macros to be disabled.
6154 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6155
6156 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6157
6158 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6159 Add t-slibgcc-libgcc to tmake_file.
6160 * config/mips/libgcc-mips16.ver: Revert previous patch.
6161 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6162
6163 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6164 Jayant R Sonar <jayant.sonar@kpitcummins.com>
6165
6166 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6167 * config/cr16/crti.S: New file.
6168 * config/cr16/crtlibid.S: New file.
6169 * config/cr16/crtn.S: New file.
6170 * config/cr16/lib1funcs.S: New file.
6171 * config/cr16/t-cr16: New file.
6172 * config/cr16/t-crtlibid: New file.
6173 * config/cr16/unwind-dw2.h: New file.
6174 * config/cr16/unwind-cr16.c: New file.
6175 * config/cr16/divmodhi3.c: New file.
6176
6177 2012-01-25 Alan Modra <amodra@gmail.com>
6178
6179 * config/rs6000/t-linux64: Delete. Move..
6180 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6181 * config/rs6000/t-linux: ..and libgcc flags to here.
6182
6183 2012-01-22 Douglas B Rupp <rupp@gnat.com>
6184
6185 * config.host (i[34567]86-*-interix3*):
6186 Change triplet to i[34567]86-*-interix[3-9]*.
6187 * configure: Regenerate.
6188
6189 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6190 Richard Sandiford <rdsandiford@googlemail.com>
6191
6192 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6193 * config/mips/mips16.S (__mips16_rdhwr): New function.
6194 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6195
6196 2012-01-11 Nathan Sidwell <nathan@acm.org>
6197
6198 * libgcov.c (__gcov_init): Ignore objects with no functions.
6199
6200 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
6201
6202 PR target/49868
6203 Extend __pgmx semantics to linearize memory.
6204 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6205 * config/avr/lib1funcs.S (__xload_1): New function.
6206 (__movmemx_qi, __movmemx_hi): New functions.
6207 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6208 semantics.
6209
6210 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6211
6212 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6213 purported sigacthandler address isn't null before dereferencing it.
6214 (sparc_is_sighandler): Likewise.
6215
6216 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6217
6218 PR ada/41929
6219 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6220 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6221 (sparc_is_sighandler): Likewise.
6222 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6223
6224 2012-01-06 Tristan Gingold <gingold@adacore.com>
6225
6226 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6227 compatibility thunks...
6228 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6229 (crtbeginS.o, crtendS.o): ... and these to ...
6230 * config/ia64/t-ia64-elf: ... this new file.
6231 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6232 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6233
6234 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6235
6236 * configure: Regenerate.
6237 * config/s390/t-crtstuff: Remove -fPIC.
6238
6239 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6240
6241 PR bootstrap/51006
6242 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6243 for NetBSD.
6244
6245 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6246
6247 PR target/51345
6248 * config/avr/lib1funcs.S: Remove FIXME comments.
6249 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6250
6251 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6252
6253 Implement light-weight DImode support.
6254 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6255 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6256 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6257 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6258
6259 2011-12-30 Nathan Sidwell <nathan@acm.org>
6260
6261 * libgcov.c (gcov_crc32): Remove global var.
6262 (free_fn_data): New function.
6263 (buffer_fn_data): Pass in filename, more robust error recovery.
6264 (crc32_unsigned): New function.
6265 (gcov_exit): More robust detection of new program. More robust
6266 error recovery.
6267 (__gcov_init): Do not update program's crc here.
6268
6269 2011-12-21 Tristan Gingold <gingold@adacore.com>
6270
6271 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6272
6273 2011-12-21 Ian Lance Taylor <iant@google.com>
6274
6275 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6276
6277 2011-12-20 Ian Lance Taylor <iant@google.com>
6278
6279 * config/i386/morestack.S (__morestack_non_split): If there is
6280 enough stack space already, don't split. Ask for more stack space
6281 than we required.
6282
6283 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6284
6285 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6286 `sys/sdt.h'.
6287 (_Unwind_DebugHook): New function.
6288 (uw_restore_core_regs): New define.
6289 (unwind_phase2): Use uw_restore_core_regs instead of
6290 restore_core_regs.
6291 (unwind_phase2_forced): Likewise.
6292 (__gnu_Unwind_Resume): Likewise.
6293
6294 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
6295
6296 * config/alpha/linux-unwind.h: Update copyright years.
6297 (MD_FROB_UPDATE_CONTEXT): New define.
6298 (alpha_frob_update_context): New function.
6299
6300 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6301
6302 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6303 tmake_file rather replacing it.
6304
6305 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6306
6307 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6308 function is not used for PPC64.
6309 (save_world): Amend comments. Update the VRsave mask to reflect the
6310 saved regs.
6311 (rest_world): Update comments, do not clobber r10, do not use r8.
6312 (eh_rest_world_r10): Amend comments, do not use r8.
6313 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6314 no longer used, move restore of CR and target address to the end of
6315 the routine.
6316
6317 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6318
6319 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6320 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6321
6322 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
6323
6324 PR target/49313
6325 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6326 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6327
6328 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6329
6330 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6331
6332 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
6333
6334 PR target/49313
6335 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6336 * config/avr/lib1funcs.S (__muldi3): New function.
6337
6338 2011-12-06 Andrew Pinski <apinski@cavium.com>
6339
6340 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6341 size of func_ptr.
6342 (__frame_dummy_init_array_entry): Likewise.
6343
6344 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
6345
6346 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6347
6348 PR target/51345
6349 PR target/51002
6350 * config/avr/lib1funcs.S (__prologue_saves__,
6351 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6352 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6353
6354 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6355
6356 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6357
6358 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6359
6360 PR other/51272
6361 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6362 (_ITM_deregisterTMCloneTable): Likewise.
6363 (__register_frame_info): Fix unused warning.
6364 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6365 pthread_default_stacksize_np): Likewise.
6366 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6367
6368 2011-11-29 DJ Delorie <dj@redhat.com>
6369
6370 * config.host (rl78-*-elf): New case.
6371 * config/rl78: New directory for the Renesas RL78.
6372
6373 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6374
6375 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6376 formatting.
6377
6378 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6379
6380 PR other/51022
6381 * config/rs6000/t-savresfgpr: New file.
6382 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6383 $(srcdir)/config/rs6000/eabi.S.
6384 * config/rs6000/t-ppccomm-ldbl: Remove.
6385 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6386 tmake_file.
6387 (powerpc-*-eabispe*): Likewise.
6388 (powerpc-*-eabi*): Likewise.
6389 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6390 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6391 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6392 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6393 tmake_file.
6394 (powerpc-*-eabisim*): Likewise.
6395 (powerpc-*-elf*): Likewise.
6396 (powerpc-*-eabialtivec*): Likewise.
6397 (powerpc-xilinx-eabi*): Likewise.
6398 (powerpc-*-rtems*): Likewise.
6399 (powerpcle-*-elf*): Likewise.
6400 (powerpcle-*-eabisim*): Likewise.
6401 (powerpcle-*-eabi*): Likewise.
6402
6403 2011-11-27 Ian Lance Taylor <iant@google.com>
6404
6405 * generic-morestack.c (__splitstack_find): Check for NULL old
6406 stack value.
6407 (__splitstack_resetcontext): New function.
6408 (__splitstack_releasecontext): New function.
6409 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6410
6411 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6412
6413 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6414
6415 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6416
6417 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6418
6419 2011-11-26 Richard Henderson <rth@redhat.com>
6420
6421 * config/m68k/linux-atomic.c: New file.
6422 * config/m68k/t-linux: New file.
6423 * config.host (m68k-uclinux, m68k-linux): Use it.
6424
6425 2011-11-26 Richard Henderson <rth@redhat.com>
6426
6427 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6428 (__TMC_END__): Only declare if hidden is available; in the definition,
6429 if hidden is unavailable add a null record.
6430 (deregister_tm_clones, register_tm_clones): New.
6431 (__do_global_dtors_aux, frame_dummy): Use them.
6432 (__do_global_dtors, __do_global_ctors_1): Likewise.
6433
6434 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6435
6436 * config/darwin-crt-tm.c: New file.
6437 * config.host (darwin): Build crttms.o crttme.o to provide
6438 startup and shutdown for tm clones.
6439 * config/t-darwin (crttms.o): New build rule.
6440 (crttme.o): Likewise.
6441
6442 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
6443
6444 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6445 et al.
6446
6447 2011-11-21 Richard Henderson <rth@redhat.com>
6448
6449 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6450 (__TMC_LIST__, __TMC_END__): New.
6451 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6452 (__do_global_dtors): Likewise.
6453 (frame_dummy): Call _ITM_registerTMCloneTable.
6454 (__do_global_ctors_1): Likewise.
6455
6456 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6457
6458 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6459 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6460 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6461 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6462 * config/i386/t-darwin64: Remove.
6463 * config/sh/t-netbsd (LIB2ADD): Remove.
6464
6465 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
6466
6467 PR target/49313
6468 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6469 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6470 * config/avr/lib1funcs.S (wmov): New assembler macro.
6471 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6472 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6473 (__udivmod64): New function.
6474 (__negdi2): New function.
6475
6476 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6477
6478 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6479 *-*-freebsd*aout*): Remove.
6480
6481 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
6482
6483 * static-object.mk (c_flags-$o): Save c_flags.
6484 ($(base)$(objext)): Use it.
6485
6486 2011-11-18 Steve Ellcey <sje@cup.hp.com>
6487
6488 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6489
6490 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
6491
6492 PR target/49868
6493 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6494 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6495 New functions.
6496
6497 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6498
6499 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6500 functions.
6501 (aeabi_uidivmod): Likewise.
6502 (umodsi3): Likewise.
6503 (divsi3): Likewise.
6504 (aeabi_idivmod): Likewise.
6505 (modsi3): Likewise.
6506
6507 2011-11-16 Tristan Gingold <gingold@adacore.com>
6508
6509 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6510
6511 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
6512
6513 PR target/49868
6514 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6515 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6516
6517 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6518
6519 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6520 tmake_file list.
6521 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6522 * config/pa/t-stublib64: Delete.
6523
6524 2011-11-12 Richard Henderson <rth@redhat.com>
6525
6526 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6527 cast the pointer argument to _Unwind_SetGRPtr.
6528
6529 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6530
6531 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6532
6533 2011-11-09 Ian Lance Taylor <iant@google.com>
6534
6535 * generic-morestack.c: Include <string.h>.
6536 (uintptr_type): Define.
6537 (struct initial_sp): Add dont_block_signals field. Reduce size of
6538 extra array by 1.
6539 (allocate_segment): Set prev field to NULL. Don't set
6540 __morestack_current_segment or __morestack_segments.
6541 (__generic_morestack): Update current->prev and *pp after calling
6542 allocate_segment.
6543 (__morestack_block_signals): Don't do anything if
6544 dont_block_signals is set.
6545 (__morestack_unblock_signals): Likewise.
6546 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6547 uintptr_type.
6548 (__splitstack_block_signals): New function.
6549 (enum __splitstack_content_offsets): Define.
6550 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6551 (__splitstack_makecontext): New function.
6552 (__splitstack_block_signals_context): New function.
6553 (__splitstack_find_context): New function.
6554 * config/i386/morestack.S (__morestack_get_guard): New function.
6555 (__morestack_set_guard, __morestack_make_guard): New functions.
6556 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6557
6558 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6559
6560 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6561 (i[34567]86-*-mingw*): ... here.
6562 (x86_64-*-mingw*): ... here.
6563
6564 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6565
6566 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6567
6568 2011-11-07 Nathan Sidwell <nathan@acm.org>
6569
6570 * libgcov.c (struct gcov_fn_buffer): New struct.
6571 (buffer_fn_data): New helper.
6572 (gcov_exit): Rework for new gcov data structures.
6573
6574 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
6575
6576 PR target/49313
6577 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6578
6579 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6580
6581 * config.host (tmake_file): Correct comment.
6582 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6583 t-libgcc-pic.
6584 (bfin*-uclinux*): Likewise.
6585 (bfin*-linux-uclibc*): Likewise.
6586 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6587
6588 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6589 assigning.
6590 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6591 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6592 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6593 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6594 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6595 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6596 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6597 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6598 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6599 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6600 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6601 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6602 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6603
6604 * config/bfin/t-elf: Remove.
6605 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6606
6607 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6608
6609 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6610 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6611 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6612 (lm32-*-elf*): ... this.
6613 (lm32-*-rtems*): ... and this.
6614 Add to tmake_file.
6615 (m32r-*-rtems*): Add to tmake_file.
6616 (moxie-*-rtems*): Likewise.
6617 (sparc-*-rtems*): Likewise.
6618 Remove t-rtems from tmake_file.
6619 (sparc64-*-rtems*): Likewise.
6620 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6621 instead.
6622
6623 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6624
6625 PR bootstrap/50982
6626 * config/gthr-posix.h: Move ...
6627 * gthr-posix.h: ... here.
6628 * config/gthr-lynx.h: Reflect this.
6629 * config/gthr-vxworks.h: Likewise.
6630 * config/rs6000/gthr-aix.h: Likewise.
6631 * configure.ac (target_thread_file): Likewise.
6632 * configure: Regenerate.
6633
6634 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6635
6636 * config.host (arm*-*-rtemseabi*): New target.
6637
6638 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6639
6640 PR other/50991
6641 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6642 extra-parts.
6643
6644 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6645
6646 * config.host (epiphany-*-elf*): New configuration.
6647 * config/epiphany: New Directory.
6648
6649 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6650
6651 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6652 * config/avr/t-rtems: New.
6653 Filter out _exit from LIB1ASMFUNCS.
6654
6655 2011-11-04 David S. Miller <davem@davemloft.net>
6656
6657 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6658 * configure: Rebuild.
6659
6660 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6661
6662 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6663 variable.
6664
6665 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
6666
6667 PR target/50931
6668 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6669 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6670
6671 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6672
6673 PR target/50989
6674 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6675
6676 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6677
6678 * config/c6x/t-elf (LIB2ADDEH): Set.
6679 * config/c6x/t-c6x-elf: Remove.
6680
6681 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6682
6683 * config/i386/sol2-ci.S: Rename to ...
6684 * config/i386/crti.S: ... this.
6685 * config/i386/sol2-cn.S: Rename to ...
6686 * config/i386/crtn.S: ... this.
6687 * config/sparc/sol2-ci.S: Rename to ...
6688 * config/sparc/crti.S: ... this.
6689 * config/sparc/sol2-cn.S: Rename to ...
6690 * config/sparc/crtn.S: ... this.
6691 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6692 (crti.o, crtn.o): Remove.
6693
6694 2011-11-04 Tristan Gingold <gingold@adacore.com>
6695
6696 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6697
6698 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6699
6700 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6701
6702 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
6703
6704 * config.host (crisv32-*-none, cris-*-none): Remove.
6705 (crisv32-*-elf): Append to tmake_file, don't just set it.
6706 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6707
6708 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6709
6710 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6711 (ecrtn$(objext)): Likewise.
6712 (ncrti$(objext)): Likewise.
6713 (ncrtn$(objext)): Likewise.
6714
6715 2011-11-03 Andreas Schwab <schwab@redhat.com>
6716
6717 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6718
6719 2011-11-02 David S. Miller <davem@davemloft.net>
6720
6721 * configure.ac: Set host_address on sparc too.
6722 * configure: Regenerate.
6723 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6724 based upon host_address.
6725 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6726
6727 2011-11-02 Jason Merrill <jason@redhat.com>
6728
6729 * config/rs6000/t-ppccomm: Add missing \.
6730
6731 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6732
6733 * gthr-single.h, gthr.h: New files.
6734 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6735 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6736 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6737 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6738 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6739 * configure.ac (thread_header): New variable.
6740 Set it depending on target_thread_file.
6741 (gthr-default.h): Link from $thread_header.
6742 * configure: Regenerate.
6743 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6744
6745 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6746
6747 * configure.ac (tm_file_): New variable.
6748 Determine from tm_file.
6749 (tm_file, tm_defines): Substitute.
6750 * configure: Regenerate.
6751 * mkheader.sh: New file.
6752 * Makefile.in (clean): Remove libgcc_tm.h.
6753 ($(objects)): Depend on libgcc_tm.h.
6754 (libgcc_tm_defines, libgcc_tm_file): New variables.
6755 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6756 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6757 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6758 ($(extra-parts)): Depend on libgcc_tm.h.
6759 * config.host (tm_defines, tm_file): New variable.
6760 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6761 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6762 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6763 (avr-*-rtems*): Likewise.
6764 (avr-*-*): Likewise.
6765 (frv-*-elf): Likewise.
6766 (frv-*-*linux*): Likewise.
6767 (h8300-*-rtems*): Likewise.
6768 (h8300-*-elf*): Likewise.
6769 (i[34567]86-*-darwin*): Likewise.
6770 (x86_64-*-darwin*): Likewise.
6771 (rx-*-elf): Likewise.
6772 (tic6x-*-uclinux): Likewise.
6773 (tic6x-*-elf): Likewise.
6774 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6775 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6776 * config/i386/cygming-crtbegin.c: Likewise.
6777 * config/i386/cygming-crtend.c: Likewise.
6778 * config/ia64/fde-vms.c: Likewise.
6779 * config/ia64/unwind-ia64.c: Likewise.
6780 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6781 * config/rs6000/darwin-fallback.c: Likewise.
6782 * config/stormy16/lib2funcs.c: Likewise.
6783 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6784 * crtstuff.c: Likewise.
6785 * dfp-bit.h: Likewise.
6786 * emutls.c: Likewise.
6787 * fixed-bit.c: Likewise.
6788 * fp-bit.c: Likewise.
6789 * generic-morestack-thread.c: Likewise.
6790 * generic-morestack.c: Likewise.
6791 * libgcc2.c: Likewise.
6792 * libgcov.c: Likewise.
6793 * unwind-dw2-fde-dip.c: Likewise.
6794 * unwind-dw2-fde.c: Likewise.
6795 * unwind-dw2.c: Likewise.
6796 * unwind-sjlj.c: Likewise.
6797
6798 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6799
6800 * configure.ac: Include ../config/picflag.m4.
6801 (GCC_PICFLAG): Call it.
6802 Substitute.
6803 * configure: Regenerate.
6804 * Makefile.in (gcc_srcdir): Remove.
6805 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6806 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6807 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6808 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6809 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6810 Use $<.
6811 Remove comment.
6812 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6813 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6814 to refer to libgcc2.c.
6815 Use $<.
6816 * config/darwin-64.c: New file.
6817 * config/darwin-crt3.c: Remove comment.
6818 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6819 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6820 config/udivmodsi4.c: New files.
6821 * config/memcmp.c, config/memcpy.c, config/memmove.c,
6822 config/memset.c: New files.
6823 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6824 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6825 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6826 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6827 * config/t-openbsd-thread: New file.
6828 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6829 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6830 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6831 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6832 qrnnd.S.
6833 Adapt filename.
6834 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6835 to refer to gthr-posix.c.
6836 * config/alpha/t-vms (LIB2ADD): Set.
6837 * config/alpha/vms-gcc_shell_handler.c: New file.
6838 * config/arm/bpabi.c, config/arm/fp16.c,
6839 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6840 config/arm/unaligned-funcs.c: New files.
6841 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6842 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6843 * config/arm/t-linux: Likewise.
6844 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6845 * config/arm/t-netbsd: New file.
6846 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6847 * config/arm/t-symbian (LIB2ADD_ST): Set.
6848 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6849 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6850 * config/bfin/t-elf: New file.
6851 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6852 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6853 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6854 config/c6x/ltf.c: New files.
6855 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6856 (HOST_LIBGCC2_CFLAGS): Set.
6857 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6858 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6859 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6860 New files.
6861 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6862 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6863 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6864 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6865 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6866 files.
6867 * config/frv/t-frv (LIB2ADD): Set.
6868 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6869 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6870 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6871 config/h8300/popcounthi2.c: New files.
6872 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6873 * config/i386/gthr-win32.c: New file.
6874 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6875 * config/i386/t-cygwin: Likewise.
6876 * config/i386/t-darwin, config/i386/t-darwin64,
6877 config/i386/t-gthr-win32, config/i386/t-interix: New files.
6878 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6879 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6880 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6881 * config/ia64/quadlib.c: New file.
6882 * config/ia64/t-hpux (LIB2ADD): Set.
6883 * config/ia64/t-ia64: Add comment.
6884 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6885 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6886 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6887 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6888 * config/m32c/t-m32c (LIB2ADD): Set.
6889 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6890 * config/m32r/t-m32r: Likewise.
6891 * config/m68k/fpgnulib.c: New file.
6892 * config/m68k/t-floatlib (LIB2ADD): Set.
6893 (xfgnulib.c): New target.
6894 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6895 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6896 * config/mep/t-mep (LIB2ADD): Set.
6897 * config/microblaze/divsi3.asm: Rename to divsi3.S.
6898 * config/microblaze/moddi3.asm: Rename to moddi3.S.
6899 * config/microblaze/modsi3.asm: Rename to modsi3.S.
6900 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6901 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6902 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6903 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6904 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6905 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6906 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6907 New files.
6908 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6909 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6910 * config/pa/fptr.c, config/pa/lib2funcs.S,
6911 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6912 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6913 (LIB2ADD, LIB2ADD_ST): Set.
6914 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6915 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6916 Set.
6917 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6918 * config/pdp11/t-pdp11: New file.
6919 * config/picochip/libgccExtras/adddi3.S,
6920 config/picochip/libgccExtras/ashlsi3.S,
6921 config/picochip/libgccExtras/ashrsi3.S,
6922 config/picochip/libgccExtras/clzsi2.S,
6923 config/picochip/libgccExtras/cmpsi2.S,
6924 config/picochip/libgccExtras/divmod15.S,
6925 config/picochip/libgccExtras/divmodhi4.S,
6926 config/picochip/libgccExtras/divmodsi4.S,
6927 config/picochip/libgccExtras/lshrsi3.S,
6928 config/picochip/libgccExtras/parityhi2.S,
6929 config/picochip/libgccExtras/popcounthi2.S,
6930 config/picochip/libgccExtras/subdi3.S,
6931 config/picochip/libgccExtras/ucmpsi2.S,
6932 config/picochip/libgccExtras/udivmodhi4.S,
6933 config/picochip/libgccExtras/udivmodsi4.S: New files.
6934 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6935 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6936 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6937 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6938 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6939 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6940 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
6941 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6942 files.
6943 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6944 (HOST_LIBGCC2_CFLAGS): Set.
6945 * config/rs6000/t-darwin64: New file.
6946 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6947 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6948 * config/rs6000/t-ppccomm (LIB2ADD): Add
6949 $(srcdir)/config/rs6000/tramp.S.
6950 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6951 Add $(srcdir)/config/rs6000/eabi.S.
6952 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6953 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6954 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6955 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6956 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6957 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6958 * config/rs6000/tramp.S: New file.
6959 * config/s390/t-tpf: Remove.
6960 * config/sh/linux-atomic.S: New file.
6961 * config/sh/t-linux (LIB2ADD): Set.
6962 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6963 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6964 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6965 to unwind-dw2.c.
6966 (HOST_LIBGCC2_CFLAGS): Set.
6967 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6968 * config/spu/divmodti4.c, config/spu/divv2df3.c,
6969 config/spu/float_disf.c, config/spu/float_unsdidf.c,
6970 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6971 config/spu/mfc_multi_tag_release.c,
6972 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6973 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6974 config/spu/multi3.c: New files.
6975 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6976 (HOST_LIBGCC2_CFLAGS): Set.
6977 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6978 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6979 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6980 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6981 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6982 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6983 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6984 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6985 config/stormy16/umodsi3.c: New files.
6986 * config/xtensa/lib2funcs.S: New file.
6987 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6988 * config/xtensa/t-xtensa (LIB2ADD): Set.
6989 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6990 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6991 Add t-freebsd-thread to tmake_file for posix threads.
6992 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6993 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6994 (*-*-lynxos*): Likewise.
6995 (*-*-netbsd*): Likewise.
6996 (*-*-openbsd*): Likewise.
6997 Add t-openbsd-thread to tmake_file for posix threads.
6998 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6999 (*-*-vxworks*): Set tmake_file.
7000 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7001 (alpha*-*-freebsd*): Likewise.
7002 (alpha*-*-netbsd*): Likewise.
7003 (alpha*-*-openbsd*): Likewise.
7004 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7005 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7006 (alpha*-dec-*vms*): Likewise.
7007 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7008 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7009 (bfin*-uclinux*): Likewise.
7010 (bfin*-linux-uclibc*): Likewise.
7011 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7012 (crisv32-*-none): Likewise.
7013 (cris-*-elf): Likewise.
7014 (cris-*-none): Likewise.
7015 (cris-*-linux*, crisv32-*-linux*): Likewise.
7016 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7017 tmake_file.
7018 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7019 tmake_file.
7020 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7021 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7022 (x86_64-*-elf*): Likewise.
7023 (i[34567]86-*-nto-qnx*): Likewise.
7024 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7025 win32 threads.
7026 (x86_64-*-mingw*): Likewise.
7027 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7028 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7029 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7030 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7031 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7032 tmake_file.
7033 (mipsisa64sr71k-*-elf*): Likewise.
7034 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7035 (mips-*-elf*, mipsel-*-elf*): Likewise.
7036 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7037 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7038 (mips*-*-rtems*): Likewise.
7039 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7040 to tmake_file.
7041 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7042 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7043 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7044 (spu-*-elf*): Likewise.
7045 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7046
7047 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7048
7049 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7050 $(srcdir) to refer to $(LIB1ASMSRC).
7051 Use $<.
7052 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7053 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7054 config/arm/lib1funcs.S: New files.
7055 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7056 * config/arm/t-arm: New file.
7057 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7058 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7059 config/arm/t-strongarm-elf: New files.
7060 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7061 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7062 * config/avr/lib1funcs.S: New file.
7063 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7064 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7065 * config/c6x/lib1funcs.S: New file.
7066 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7067 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7068 * config/frv/lib1funcs.S: New file.
7069 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7070 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7071 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7072 * config/ia64/__divxf3.asm: Rename to ...
7073 * config/ia64/__divxf3.S: ... this.
7074 Adapt lib1funcs.asm filename.
7075 * config/ia64/_fixtfdi.asm: Rename to ...
7076 * config/ia64/_fixtfdi.S: ... this.
7077 Adapt lib1funcs.asm filename.
7078 * config/ia64/_fixunstfdi.asm: Rename to ...
7079 * config/ia64/_fixunstfdi.S: ... this.
7080 Adapt lib1funcs.asm filename.
7081 * config/ia64/_floatditf.asm: Rename to ...
7082 * config/ia64/_floatditf.S: ... this.
7083 Adapt lib1funcs.asm filename.
7084 * config/ia64/lib1funcs.S: New file.
7085 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7086 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7087 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7088 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7089 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7090 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7091 * config/mep/lib1funcs.S: New file.
7092 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7093 * config/mips/mips16.S: New file.
7094 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7095 * config/pa/milli64.S: New file.
7096 * config/pa/t-linux, config/pa/t-linux64: New files.
7097 * config/picochip/lib1funcs.S: New file.
7098 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7099 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7100 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7101 * config/sh/t-netbsd: New file.
7102 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7103 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7104 * config/sh/t-sh64: New file.
7105 * config/sparc/lb1spc.S: New file.
7106 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7107 filename.
7108 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7109 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7110 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7111 config/xtensa/lib1funcs.S: New files.
7112 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7113 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7114 tmake_file.
7115 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7116 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7117 (arm*-*-linux*): Likewise.
7118 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7119 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7120 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7121 (arm*-*-ecos-elf): Likewise.
7122 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7123 (arm*-*-rtems*): Likewise.
7124 (arm*-*-elf): Likewise.
7125 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7126 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7127 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7128 (bfin*-uclinux*): Likewise.
7129 (bfin*-linux-uclibc*): Likewise.
7130 (bfin*-rtems*): Likewise.
7131 (bfin*-*): Likewise.
7132 (fido-*-elf): Merge into m68k-*-elf*.
7133 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7134 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7135 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7136 (h8300-*-elf*): Likewise.
7137 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7138 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7139 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7140 (i[34567]86-*-mingw*): Likewise.
7141 (x86_64-*-mingw*): Likewise.
7142 (i[34567]86-*-interix3*): Likewise.
7143 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7144 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7145 (m68k-*-elf*): Also handle fido-*-elf.
7146 Add m68k/t-floatlib to tmake_file.
7147 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7148 (m68k-*-linux*): Likewise.
7149 (m68k-*-rtems*): Likewise.
7150 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7151 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7152 sh64*-*-*.
7153 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7154 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7155 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7156 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7157 sh/t-netbsd to tmake_file.
7158 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7159 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7160 (sh-wrs-vxworks): Likewise.
7161 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7162 *-leon[3-9]*.
7163 (v850*-*-*): Add v850/t-v850 to tmake_file.
7164 (vax-*-linux*): Add vax/t-linux to tmake_file.
7165 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7166
7167 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7168
7169 * crtstuff.c: New file.
7170 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7171 (CRTSTUFF_T_CFLAGS): Define.
7172 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7173 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7174 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7175 crtstuff.c.
7176 Use $<.
7177 (crtbeginT.o): Use $(objext).
7178 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7179 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7180 (gcc-extra-parts): Remove.
7181 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7182 Set extra_parts.
7183 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7184 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7185 Add t-crtstuff-pic to tmake_file.
7186 (*-*-lynxos*): New case.
7187 Set tmake_file, extra_parts.
7188 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7189 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7190 *-*-netbsdelf[2-9]*.
7191 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7192 (*-*-rtems*): Set extra_parts.
7193 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7194 (*-*-uclinux*): New case.
7195 Set extra_parts.
7196 (*-*-vms*): New case.
7197 Set tmake_file, extra_parts.
7198 (*-*-elf): Set extra_parts.
7199 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7200 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7201 vms/t-vms64.
7202 Set extra_parts.
7203 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7204 Set extra_parts.
7205 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7206 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7207 (arm-wrs-vxworks): Append to tmake_file.
7208 Set extra_parts.
7209 (arm*-*-uclinux*): Set extra_parts.
7210 (arm*-*-ecos-elf): Likewise.
7211 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7212 arm*-*-eabi*.
7213 (arm*-*-rtems*): Set extra_parts.
7214 (arm*-*-elf): Likewise.
7215 (avr-*-rtems*): Clear extra_parts.
7216 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7217 Set extra_parts.
7218 (bfin*-uclinux*): Likewise.
7219 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7220 (bfin*-rtems*): Append to tmake_file.
7221 Set extra_parts.
7222 (bfin*-*): Likewise.
7223 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7224 (crisv32-*-elf): ... this.
7225 (crisv32-*-none): ... this.
7226 (cris-*-elf, cris-*-none): New cases.
7227 Add cris/t-elfmulti to tmake_file.
7228 (fr30-*-elf): Append to tmake_file.
7229 Set extra_parts.
7230 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7231 Set extra_parts.
7232 (h8300-*-rtems*): Append to tmake_file.
7233 Set extra_parts.
7234 (h8300-*-elf*): Likewise.
7235 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7236 Set extra_parts.
7237 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7238 Set extra_parts.
7239 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7240 (x86_64-*-elf*): Likewise.
7241 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7242 (x86_64-*-freebsd*): Likewise.
7243 (x86_64-*-netbsd*): Likewise.
7244 (i[34567]86-*-linux*): Likewise.
7245 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7246 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7247 (x86_64-*-linux*): Likewise.
7248 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7249 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7250 tmake_file.
7251 Set extra_parts.
7252 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7253 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7254 Append to extra_parts, remove crtbegin.o, crtend.o.
7255 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7256 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7257 crtend.o, crtbeginS.o, crtendS.o.
7258 (ia64*-*-linux*): Comment extra_parts.
7259 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7260 Set extra_parts.
7261 (iq2000*-*-elf*): Clear extra_parts.
7262 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7263 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7264 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7265 (m32r-*-rtems*): ... this.
7266 Add m32r/t-m32r to tmake_file.
7267 (m68k-*-elf*): Add t-crtin to tmake_file.
7268 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7269 (mcore-*-elf): Likewise.
7270 (microblaze*-*-*): Set extra_parts.
7271 (mips*-sde-elf*): New case.
7272 Set tmake_file, extra_parts.
7273 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7274 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7275 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7276 tmake_file.
7277 Set extra_parts.
7278 (mipsisa64sr71k-*-elf*): Likewise.
7279 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7280 (mips-*-elf*, mipsel-*-elf*): Likewise.
7281 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7282 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7283 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7284 (mips*-*-rtems*): Likewise.
7285 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7286 (moxie-*-*): Split into ...
7287 (moxie-*-elf, moxie-*-uclinux*): ... this.
7288 Add to extra_parts, remove crtbegin.o, crtend.o.
7289 (moxie-*-rtems*): New case.
7290 Set tmake_file.
7291 Clear extra_parts.
7292 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7293 Set extra_parts.
7294 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7295 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7296 tmake_file.
7297 Set extra_parts.
7298 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7299 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7300 Set extra_parts.
7301 (powerpc-*-eabisim*): Likewise.
7302 (powerpc-*-elf*): Likewise.
7303 (powerpc-*-eabialtivec*): Likewise.
7304 (powerpc-xilinx-eabi*): Likewise.
7305 (powerpc-*-eabi*): Likewise.
7306 (powerpc-*-rtems*): Likewise.
7307 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7308 tmake_file.
7309 Set extra_parts.
7310 (powerpc-*-lynxos*): Add to tmake_file.
7311 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7312 rs6000/t-crtstuff, t-crtstuff-pic.
7313 Set extra_parts.
7314 (powerpcle-*-eabisim*): Likewise.
7315 (powerpcle-*-eabi*): Likewise.
7316 (rx-*-elf): Remove extra_parts.
7317 (s390x-ibm-tpf*): Set extra_parts.
7318 (score-*-elf): Set extra_parts.
7319 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7320 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7321 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7322 (sh64l*-*-netbsd*): Split into ...
7323 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7324 Add t-crtstuff-pic to tmake_file.
7325 Set extra_parts.
7326 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7327 Set extra_parts.
7328 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7329 (sparc-*-elf*): Remove t-crtin from tmake_file.
7330 Add to extra_parts, remove crtbegin.o, crtend.o.
7331 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7332 (sparc64-*-linux*): Likewise.
7333 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7334 Add to extra_parts, remove crtbegin.o, crtend.o.
7335 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7336 Add to extra_parts, remove crtbegin.o, crtend.o.
7337 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7338 Add to extra_parts, remove crtbegin.o, crtend.o.
7339 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7340 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7341 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7342 Set extra_parts.
7343 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7344 Set extra_parts.
7345 (tic6x-*-*): Change to ...
7346 (tic6x-*-elf): ... this.
7347 Set extra_parts.
7348 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7349 Set extra_parts.
7350 (am33_2.0-*-linux*): Add comment.
7351 (mep*-*-*): Add mep/t-mep to tmake_file.
7352 Set extra_parts.
7353 * config/alpha/t-vms: New file.
7354 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7355 * config/arm/crti.S, config/arm/crtn.S: New files.
7356 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7357 * config/bfin/crtlibid.S: New file.
7358 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7359 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7360 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7361 (crti.o, crtin.o): New rules.
7362 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7363 * config/c6x/t-uclinux: New file.
7364 * config/cris/t-elfmulti: New file.
7365 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7366 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7367 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7368 * config/frv/t-frv: New file.
7369 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7370 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7371 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7372 New files.
7373 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7374 refer to cygming-crtbegin.c, cygming-crtend.c.
7375 Use $<.
7376 * config/i386/t-nto: New file.
7377 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7378 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7379 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7380 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7381 Use .S extension.
7382 Use $<.
7383 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7384 (crtinitS.o): New rule.
7385 * config/ia64/vms-crtinit.S: New file.
7386 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7387 * config/m32r/initfini.c: New file.
7388 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7389 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7390 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7391 * config/mep/t-mep: New file.
7392 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7393 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7394 * config/mips/crti.S, config/mips/crtn.S: New files.
7395 * config/mips/t-crtstuff: New file.
7396 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7397 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7398 (CUSTOM_CRTIN): Set.
7399 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7400 dependencies.
7401 Use $(srcdir) to refer to crti.S, crtn.S.
7402 Use .S extension, $<.
7403 * config/moxie/crti.asm: Rename to ...
7404 * config/moxie/crti.S: ... this.
7405 * config/moxie/crtn.asm: Rename to ...
7406 * config/moxie/crtn.S: ... this.
7407 * config/moxie/t-moxie: Remove.
7408 * config/pa/stublib.c: New file.
7409 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7410 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7411 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7412 * config/rs6000/t-crtstuff: New file.
7413 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7414 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7415 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7416 Make output file explicit.
7417 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7418 Make output file explicit.
7419 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7420 Make output file explicit.
7421 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7422 Make output file explicit.
7423 * config/score/crti.S, config/score/crtn.S: New files.
7424 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7425 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7426 files.
7427 * config/sh/t-sh, config/sh/t-superh: New files.
7428 * config/sparc/t-linux64: New file.
7429 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7430 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7431 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7432 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7433 * config/t-crtin: Remove.
7434 * config/t-crtstuff-pic: New file.
7435 * config/t-sol2 (CUSTOM_CRTIN): Set.
7436 (crti.o, crtn.o): New rules.
7437 * config/vms/t-vms: New file.
7438 * config/vms/vms-ucrt0.c: New file.
7439 * config/xtensa/t-elf: New file.
7440
7441 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7442
7443 * Makefile.in (SHLIB_NM_FLAGS): Set.
7444 * mkmap-flat.awk, mkmap-symver.awk: New files.
7445 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7446 exceptions.
7447 * configure: Regenerate.
7448 * config/libgcc-glibc.ver: New file.
7449 * config/libgcc-libsystem.ver: New file.
7450 * config/t-libunwind (SHLIB_LC): Set.
7451 * config/t-linux: New file.
7452 * config/t-slibgcc (INSTALL_SHLIB): New.
7453 (SHLIB_INSTALL): Use it.
7454 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7455 to mkmap-symver.awk.
7456 (SHLIB_MAPFILES): Don't append, adapt pathname.
7457 (SHLIB_VERPFX): Set.
7458 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7459 to mkmap-symver.awk.
7460 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7461 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7462 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7463 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7464 to mkmap-flat.awk.
7465 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7466 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7467 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7468 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7469 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7470 * config/i386/libgcc-darwin.10.4.ver,
7471 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7472 New files.
7473 * config/i386/t-darwin: Remove.
7474 * config/i386/t-darwin64: Likewise.
7475 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7476 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7477 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7478 * config/i386/t-linux: New file.
7479 * config/i386/t-mingw32: New file.
7480 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7481 * config/ia64/t-glibc: Rename to ...
7482 * config/ia64/t-linux: ... this.
7483 (SHLIB_MAPFILES): Set.
7484 * config/ia64/t-glibc-libunwind: Rename to ...
7485 * config/ia64/t-linux-libunwind: ... this.
7486 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7487 * config/ia64/t-slibgcc-hpux: New file.
7488 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7489 * config/m68k/t-slibgcc-elf-ver: New file.
7490 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7491 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7492 to mkmap-flat.awk.
7493 * config/pa/t-slibgcc-hpux: New file.
7494 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7495 files.
7496 * config/rs6000/libgcc-darwin.10.4.ver,
7497 config/rs6000/libgcc-darwin.10.5.ver: New files.
7498 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7499 config/rs6000/libgcc-glibc.ver.
7500 * config/rs6000/libgcc-ppc64.ver: Rename to
7501 config/rs6000/libgcc-ibm-ldouble.ver.
7502 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7503 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7504 * config/rs6000/t-ldbl128: Rename to ...
7505 * config/rs6000/t-linux: ... this.
7506 (SHLIB_MAPFILES): Adapt filename.
7507 * config/rs6000/t-slibgcc-aix: New file.
7508 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7509 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7510 libgcc-excl.ver, libgcc-glibc.ver.
7511 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7512 * config/sparc/libgcc-glibc.ver: New file.
7513 * config/sparc/t-linux: New file.
7514 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7515 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7516 t-slibgcc-elf-ver to tmake_file.
7517 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7518 *-*-freebsd[34].
7519 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7520 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7521 t-slibgcc-elf-ver, t-linux to tmake_file.
7522 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7523 tmake_file.
7524 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7525 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7526 (alpha*-dec-*vms*): Likewise.
7527 (arm*-*-freebsd*): Append to tmake_file.
7528 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7529 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7530 arm*-*-linux-*eabi.
7531 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7532 tmake_file for arm*-*-symbianelf*.
7533 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7534 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7535 cris/t-linux.
7536 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7537 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7538 pa/t-slibgcc-dwarf-ver to tmake_file.
7539 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7540 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7541 (hppa*64*-*-hpux11*): Likewise.
7542 (hppa[12]*-*-hpux11*): Likewise.
7543 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7544 i386/t-crtpc, i386/t-crtfm.
7545 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7546 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7547 to tmake_file.
7548 Add i386/t-cygwin to tmake_file.
7549 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7550 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7551 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7552 to tmake_file.
7553 Add i386/t-mingw32 to tmake_file.
7554 (x86_64-*-mingw*): Likewise.
7555 (ia64*-*-freebsd*): Append to tmake_file.
7556 (ia64*-*-linux*): Append to tmake_file.
7557 Replace ia64/t-glibc by ia64/t-linux.
7558 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7559 system libunwind.
7560 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7561 t-slibgcc-hpux to tmake_file.
7562 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7563 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7564 (m32rle-*-linux*): Likewise.
7565 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7566 sjlj exceptions.
7567 (microblaze*-linux*): New case.
7568 Append to tmake_file, add t-slibgcc-nolc-override.
7569 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7570 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7571 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7572 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7573 rs6000/t-slibgcc-aix to tmake_file.
7574 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7575 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7576 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7577 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7578 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7579 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7580 sh*-*-linux*.
7581 (sparc-*-linux*): Append to tmake_file for *-leon*.
7582 Add sparc/t-linux to tmake_file for non-Leon targets.
7583 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7584 (tic6x-*-uclinux): New case.
7585 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7586 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7587 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7588 (am33_2.0-*-linux*): Append to tmake_file.
7589 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7590 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7591 x86_64-*-kfreebsd*-gnu.
7592 Add i386/t-linux to tmake_file.
7593
7594 2011-10-28 Ian Lance Taylor <iant@google.com>
7595
7596 * config/i386/morestack.S: Correct CFI information to do proper
7597 returns throughout function. In 32-bit mode, save %ebx so that it
7598 is restored on unwind.
7599
7600 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7601
7602 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7603 case where B3 isn't the return register.
7604
7605 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7606 logic for doubleword pops.
7607
7608 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
7609
7610 * config/rs6000/t-freebsd: Add wildcard.
7611
7612 2011-10-21 Paul Brook <paul@codesourcery.com>
7613
7614 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7615
7616 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
7617 Eric Botcazou <ebotcazou@adacore.com>
7618
7619 PR target/50737
7620 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7621 fs->signal_frame to 1.
7622
7623 2011-10-07 Ian Lance Taylor <iant@google.com>
7624
7625 * generic-morestack-thread.c: #include <errno.h>.
7626
7627 2011-10-07 Ian Lance Taylor <iant@google.com>
7628
7629 PR target/46093
7630 * generic-morestack.c (__generic_morestack): Make sure the segment
7631 is large enough for both the stack frame and the copied
7632 parameters.
7633
7634 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7635
7636 PR bootstrap/49804
7637 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7638 extra_parts.
7639
7640 2011-09-28 Nick Clifton <nickc@redhat.com>
7641
7642 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7643 64-bit doubles are not enabled.
7644 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7645 and floatunsisf functions.
7646
7647 2011-09-13 Paul Brook <paul@codesourcery.com>
7648
7649 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7650 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7651 * unwind-arm-common.inc: New file.
7652 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7653 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7654 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7655 * config/c6x/libunwind.S: New file.
7656 * config/c6x/pr-support.c: New file.
7657 * config/c6x/unwind-c6x.c: New file.
7658 * config/c6x/unwind-c6x.h: New file.
7659 * config/c6x/t-c6x-elf: New file.
7660
7661 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
7662
7663 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7664 (ASM_DIVZERO): Ditto.
7665 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7666
7667 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7668
7669 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7670
7671 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7672
7673 PR target/50090
7674 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7675 instead of an assembly one.
7676
7677 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
7678
7679 PR bootstrap/50047
7680 * Makefile.in (install-unwind_h): Create
7681 $(gcc_objdir)/include/unwind.h atomically.
7682
7683 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7684
7685 * Makefile.in (install-unwind_h): Remove destination file first.
7686
7687 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7688
7689 * sync.c: New file.
7690 * config/mips/t-mips16: New file.
7691 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7692 (mips*-*-linux*): Likewise.
7693 (mips*-sde-elf*): Likewise.
7694 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7695 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7696 Add mips/t-mips16 to tmake_file.
7697 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7698 (mips-*-elf*): Likewise.
7699 (mips64-*-elf*): Likewise.
7700 (mips64orion-*-elf*): Likewise.
7701 (mips*-*-rtems*): Likewise.
7702 (mipstx39-*-elf*): Likewise.
7703 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7704 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7705 LIBGCC_SYNC_CFLAGS.
7706 Use $(srcdir) to refer to sync.c.
7707 Use $<.
7708 ($(libgcc-sync-funcs-o)): Likewise.
7709 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7710 ($(libgcc-sync-funcs-s-o)): Likewise.
7711
7712 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7713
7714 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7715 t-libunwind.
7716
7717 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7718
7719 PR other/48007
7720 * config/i386/value-unwind.h: New.
7721
7722 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7723
7724 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7725 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7726 Add to tmake_file rather than overriding it.
7727
7728 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7729
7730 * config/t-softfp: Remove.
7731 * soft-fp: Moved from ../gcc/config.
7732 * soft-fp/README: Remove t-softfp reference.
7733 * soft-fp/t-softfp: Move to config/t-softfp.
7734 (softfp_machine_header): Remove.
7735 (softfp_file_list): Remove config subdir.
7736 (soft-fp-objects): New variable.
7737 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7738 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7739 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7740 * config/t-softfp-excl: New file.
7741 * config/t-softfp-sfdf: New file.
7742 * config/t-softfp-tf: New file.
7743 * config/no-sfp-machine.h: New file.
7744 * config/arm/sfp-machine.h: New file.
7745 * config/arm/t-softfp: New file.
7746 * config/c6x/sfp-machine.h: New file.
7747 * config/i386/32/t-fprules-softfp: Rename to ...
7748 * config/i386/32/t-softfp: ... this.
7749 (tifunctions, LIB2ADD): Remove.
7750 (softfp_int_modes): Override.
7751 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7752 subdir.
7753 * config/i386/64/eqtf2.c: Likewise.
7754 * config/i386/64/getf2.c: Likewise.
7755 * config/i386/64/letf2.c: Likewise.
7756 * config/ia64/sft-machine.h: New file.
7757 * config/ia64/t-fprules-softfp: Rename to ...
7758 * config/ia64/t-softfp: ... this.
7759 * config/lm32/sfp-machine.h: New file.
7760 * config/moxie/t-moxie-softfp: Remove.
7761 * config/rs6000/ibm-ldouble-format: New file.
7762 * config/rs6000/ibm-ldouble.c: New file.
7763 * config/rs6000/libgcc-ppc-glibc.ver: New file
7764 * config/rs6000/libgcc-ppc64.ver: New file
7765 * config/rs6000/sfp-machine.h: New file.
7766 * config/rs6000/t-freebsd: New file.
7767 * config/rs6000/t-ibm-ldouble: New file.
7768 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7769 libgcc-ppc-glibc.ver.
7770 * config/rs6000/t-linux64: New file.
7771 * config/rs6000/t-ppccomm (LIB2ADD): Add
7772 $(srcdir)/config/rs6000/ibm-ldouble.c.
7773 * config/rs6000/t-ppccomm-ldbl: New file.
7774 * config/score/sfp-machine.h: New file.
7775 * config.host (sfp_machine_header): Explain.
7776 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7777 t-softfp to tmake_file.
7778 (arm*-*-uclinux*): Likewise.
7779 (arm*-*-ecos-elf): Likewise.
7780 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7781 (arm*-*-rtems*): Likewise.
7782 (arm*-*-elf): Likewise.
7783 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7784 in tmake_file.
7785 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7786 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7787 (lm32-*-uclinux*): Likewise.
7788 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7789 t-softfp-excl, t-softfp.
7790 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7791 (powerpc64-*-darwin*): Likewise.
7792 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7793 to tmake_file.
7794 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7795 tmake_file.
7796 (powerpc-*-eabisim*): Likewise.
7797 (powerpc-*-elf*): Likewise.
7798 (powerpc-*-eabialtivec*): Likewise.
7799 (powerpc-xilinx-eabi*): Likewise.
7800 (powerpc-*-rtems*): Likewise.
7801 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7802 t-softfp-excl, t-softfp to tmake_file.
7803 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7804 rs6000/t-ppccomm-ldbl to tmake_file.
7805 (powerpcle-*-elf*): Likewise.
7806 (powerpcle-*-eabisim*): Likewise.
7807 (powerpcle-*-eabi*): Likewise.
7808 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7809 rs6000/t-ibm-ldouble to tmake_file.
7810 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7811 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7812 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7813 (tic6x-*-*): Likewise.
7814 (i[34567]86-*-darwin*, x86_64-*-darwin*,
7815 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7816 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7817 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7818 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7819 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7820 t-softfp to tmake_file.
7821 * configure.ac (sfp_machine_header): Provide default if unset.
7822 Substitute.
7823 Link sfp-machine.h to config/$sfp_machine_header.
7824 * configure: Regenerate.
7825
7826 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7827
7828 * Makefile.in (double_type_size, long_double_type_size): Set.
7829 Remove $(fpbit-in-libgcc) support.
7830 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7831 (fpbit-src): New variable.
7832 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7833 Compile with -DFLOAT $(FPBIT_CFLAGS).
7834 Use $<.
7835 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7836 Compile with $(FPBIT_CFLAGS).
7837 Use $<.
7838 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7839 Compile with -DFLOAT $(TPBIT_CFLAGS).
7840 Use $<.
7841 * configure.ac (double_type_size, long_double_type_size):
7842 Determine and substitute.
7843 * configure: Regenerate.
7844 * fp-bit.c, fp-bit.h: New files.
7845 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7846 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7847 * config/mips/t-mips: New file.
7848 * config/mips/t-sdemtk: New file.
7849 * config/rs6000/ppc64-fp.c: New file.
7850 * config/rs6000/t-darwin (LIB2ADD): Add
7851 $(srcdir)/config/rs6000/ppc64-fp.c.
7852 * config/rs6000/t-ppc64-fp: New file.
7853 * config/rx/rx-lib.h: New file.
7854 * config/rx/t-rx (FPBIT): Set to true.
7855 ($(gcc_objdir)/fp-bit.c): Remove.
7856 (DPBIT): Set to true only with -m64bit-doubles.
7857 ($(gcc_objdir)/dp-bit.c): Remove.
7858 * config/sparc/t-softfp: Remove.
7859 * config/spu/t-elf: New file.
7860 * config/t-fdpbit, config/t-fpbit: New files.
7861 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7862 (mips*-*-*): Likewise.
7863 (arm-wrs-vxworks): Likewise.
7864 (arm*-*-freebsd*): Likewise.
7865 (avr-*-rtems*): Add t-fpbit to tmake_file.
7866 (avr-*-*): Likewise.
7867 (bfin*-elf*): Add t-fdpbit to tmake_file.
7868 (bfin*-uclinux*): Likewise.
7869 (bfin*-linux-uclibc*): Likewise.
7870 (bfin*-rtems*): New case.
7871 Add t-fdpbit to tmake_file.
7872 (bfin*-*): Add t-fdpbit to tmake_file.
7873 (crisv32-*-elf): Likewise.
7874 (cris-*-linux*): Likewise.
7875 (fr30-*-elf): Likewise.
7876 (frv-*-elf, frv-*-*linux*): Likewise.
7877 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7878 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7879 (m32r-*-elf*): Likewise.
7880 (m32rle-*-elf*): Likewise.
7881 (m32r-*-linux*): Likewise.
7882 (m32rle-*-linux*): Likewise.
7883 (mcore-*-elf): Add t-fdpbit to tmake_file.
7884 (microblaze*-*-*): Likewise.
7885 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7886 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7887 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7888 Fix typo.
7889 Add mips/t-tpbit to tmake-file.
7890 (mips*-*-linux*): Fix typo.
7891 (mips*-sde-elf*): New case
7892 Add mips/t-sdemtk unless using newlib.
7893 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7894 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7895 (mn10300-*-*): Likewise.
7896 (pdp11-*-*): Likewise.
7897 (picochip-*-*): Add t-fpbit to tmake_file.
7898 (powerpc-*-eabisimaltivec*): Likewise.
7899 (powerpc-*-eabisim*): Likewise.
7900 (powerpc-*-elf*): Likewise.
7901 (powerpc-*-eabialtivec*): Likewise.
7902 (powerpc-xilinx-eabi*): New case.
7903 Add t-fdpbit to tmake_file.
7904 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
7905 (powerpc-*-rtems*): Likewise.
7906 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7907 tmake_file.
7908 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7909 tmake_file.
7910 (powerpc-*-lynxos*): Likewise.
7911 (powerpcle-*-elf*): Likewise.
7912 (powerpcle-*-eabisim*): Likewise.
7913 (powerpcle-*-eabi*): Likewise.
7914 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7915 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7916 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7917 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7918 (rx-*-elf): Add t-fdpbit to tmake_file.
7919 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7920 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7921 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7922 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7923 sh*-*-netbsd*.
7924 (sh-*-rtems*): Add t-fdpbit to tmake_file.
7925 (sh-wrs-vxworks): Likewise.
7926 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7927 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7928 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7929 (sparc64-*-rtems*): ... new case.
7930 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7931 (spu-*-elf*): Likewise.
7932 Add spu/t-elf to tmake_file.
7933 (v850*-*-*): Add t-fdpbit to tmake_file.
7934 (xstormy16-*-elf): Likewise.
7935 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7936 (mep*-*-*): Likewise.
7937
7938 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7939
7940 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7941 variables.
7942 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7943 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7944 (install-unwind_h): New target.
7945 (all): Depend on it.
7946 * config.host (unwind_header): New variable.
7947 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7948 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7949 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7950 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7951 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7952 Set unwind_header.
7953 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7954 Set unwind_header.
7955 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7956 arm*-*-eabi*.
7957 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7958 Set unwind_header.
7959 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7960 (ia64*-*-freebsd*): Likewise.
7961 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7962 tmake_file.
7963 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7964 $with_system_libunwind.
7965 (ia64*-*-hpux*): Set tmake_file.
7966 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7967 (picochip-*-*): Set tmake_file.
7968 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7969 md_unwind_header.
7970 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7971 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7972 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7973 (xtensa*-*-elf*): Set tmake_file.
7974 (xtensa*-*-linux*): Likewise.
7975 * configure.ac: Include ../config/unwind_ipinfo.m4.
7976 Call GCC_CHECK_UNWIND_GETIPINFO.
7977 Link unwind.h to $unwind_header.
7978 * configure: Regenerate.
7979 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7980 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7981 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7982 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7983 * config/unwind-dw2-fde-darwin.c: New file.
7984 * config/arm/libunwind.S, config/arm/pr-support.c,
7985 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7986 config/arm/unwind-arm.h,: New files.
7987 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7988 config/ia64/t-eh-ia64, config/ia64/t-glibc,
7989 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7990 config/ia64/t-vms, config/ia64/unwind-ia64.c,
7991 config/ia64/unwind-ia64.h: New files.
7992 * config/picochip/t-picochip: New file.
7993 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7994 files.
7995 * config/rs6000/t-darwin (LIB2ADDEH): Set.
7996 * config/s390/t-tpf (LIB2ADDEH): Remove.
7997 * config/t-darwin (LIB2ADDEH): Set.
7998 * config/t-eh-dw2-dip: New file.
7999 * config/t-libunwind, config/t-libunwind-elf: New files.
8000 * config/t-sol2 (LIB2ADDEH): Remove.
8001 * config/xtensa/t-xtensa: New file.
8002
8003 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8004
8005 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8006 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8007 long long to check rt_sigreturn syscall.
8008
8009 2011-08-02 Alan Modra <amodra@gmail.com>
8010
8011 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8012 Restore for indirect call bcrtl from correct stack slot, and only
8013 if cfa+40 isn't valid.
8014
8015 2011-08-01 Julian Brown <julian@codesourcery.com>
8016
8017 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8018 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8019 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8020
8021 2011-08-01 Julian Brown <julian@codesourcery.com>
8022
8023 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8024 (libgcc-std.ver.in): Use above.
8025 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8026 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8027 throughout file.
8028 * config/t-fixedpoint-gnu-prefix: New file.
8029 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8030 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8031 instead of __PFX__.
8032
8033 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8034
8035 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8036 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8037 for x86-64. Properly check __x86_64__ and __LP64__.
8038
8039 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8040
8041 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8042 version.
8043 (_FP_WS_TYPE): Likewise.
8044 (_FP_I_TYPE): Likewise.
8045
8046 2011-07-28 Alan Modra <amodra@gmail.com>
8047
8048 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8049 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8050 in a plt call stub. Do restore r2 if stopped on bctrl.
8051
8052 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8053
8054 * config.host (i[3456x]86-*-netware*): Remove.
8055 * config/i386/netware-crt0.c, config/i386/t-nwld,
8056 config/i386/t-slibgcc-nwld: Remove.
8057
8058 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8059
8060 * config.host: Handle tic6x-*-*.
8061 * config/c6x/c6x-abi.h: New file.
8062
8063 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8064
8065 * config/i386/crtprec.c: New file.
8066 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8067 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8068 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8069 (x86_64-*-darwin*): Likewise.
8070 (i[34567]86-*-solaris2*: Likewise.
8071
8072 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8073
8074 * config/alpha/crtfastmath.c: New file.
8075 * config/i386/crtfastmath.c: New file.
8076 * config/ia64/crtfastmath.c: New file.
8077 * config/mips/crtfastmath.c: New file.
8078 * config/sparc/crtfastmath.c: New file.
8079
8080 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8081 crtfastmath.c.
8082 Add -frandom-seed=gcc-crtfastmath.
8083 * config/alpha/t-crtfm: Remove.
8084 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8085 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8086
8087 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8088 (alpha*-dec-osf5.1*): Likewise.
8089 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8090 Add crtfastmath.o to extra_parts.
8091 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8092 Add crtfastmath.o to extra_parts.
8093 (x86_64-*-darwin*): Likewise.
8094 (x86_64-*-mingw*): Likewise.
8095 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8096 (ia64*-*-freebsd*): Likewise.
8097 (ia64*-*-linux*): Likewise.
8098 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8099 Add crtfastmath.o to extra_parts.
8100
8101 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8102
8103 * config/darwin-crt3.o: New file.
8104 * config/rs6000/darwin-crt2.c: New file.
8105 * config/t-darwin: New file.
8106 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8107 (crt2.o): New rule.
8108 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8109 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8110 (powerpc64-*-darwin*): Likewise.
8111
8112 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8113
8114 * config/i386/netware-crt0.c: New file.
8115 * config/i386/t-nwld: Rename to ...
8116 * config/i386/t-slibgcc-nwld: ... this.
8117 * config/i386/t-nwld: New file.
8118 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8119 tmake_file.
8120 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8121 extra_parts.
8122
8123 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8124
8125 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8126 i386/t-crtstuff.
8127 * configure: Regenerate.
8128
8129 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8130
8131 * dfp-bit.c, dfp-bit.h: New files.
8132 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8133 variables.
8134 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8135 ($(d64pbit-o)): Likewise.
8136 ($(d128pbit-o)): Likewise.
8137 * config/t-dfprules: New file.
8138 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8139 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8140 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8141 (x86_64-*-linux*): Likewise.
8142 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8143 (i[34567]86-*-cygwin*): Likewise.
8144 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8145 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8146
8147 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8148
8149 * Makfile.in (LIBGCOV): New variable.
8150 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8151 * libgcov.c: New file.
8152
8153 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8154
8155 * fixed-bit.c, fixed-bit.h: New files.
8156 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8157 refer to fixed-bit.c.
8158
8159 2011-07-07 Joseph Myers <joseph@codesourcery.com>
8160
8161 * config.host (*local*): Remove.
8162
8163 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8164
8165 PR target/39150
8166 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8167 like i?86-*-solaris2.1[0-9]*.
8168 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8169 * configure.ac (i?86-*-solaris2*): Likewise.
8170 * configure: Regenerate.
8171
8172 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
8173
8174 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8175 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8176 md_unwind_header by splitting out of...
8177 (i[34567]86-*-linux*): ... this.
8178 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8179 Remove md_unwind_header by splitting out of...
8180 (x86_64-*-linux*): ... this.
8181
8182 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
8183
8184 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8185
8186 2011-06-28 Nick Clifton <nickc@redhat.com>
8187
8188 * config.host: Recognize all V850 variants.
8189
8190 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
8191
8192 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8193
8194 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8195
8196 * shared-object.mk (c_flags-$o): Save c_flags.
8197 ($(base)$(objext)): Use it.
8198 ($(base)_s$(objext)): Likewise.
8199
8200 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8201
8202 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8203 * libgcc-std.ver.in (GCC_4.7.0): New section.
8204
8205 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
8206
8207 PR target/49313
8208 PR target/29524
8209 * config/avr/t-avr: Fix line endings.
8210 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8211 _parityXX2.
8212
8213 2011-06-14 Olivier Hainque <hainque@adacore.com>
8214 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8215
8216 * config/mips/irix6-unwind.h: New file.
8217 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8218
8219 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8220
8221 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8222 (sparc64_fallback_frame_state): Use it.
8223 (sparc64_frob_update_context): Further adjust context.
8224 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8225 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8226 * config/sparc/sol2-cn.S: Likewise.
8227
8228 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8229
8230 * enable-execute-stack-empty.c: New file.
8231 * enable-execute-stack-mprotect.c: New file.
8232 * config/i386/enable-execute-stack-mingw32.c: New file.
8233 * config.host (enable_execute_stack): New variable.
8234 Select appropriate variants.
8235 * configure.ac: Link enable-execute-stack.c to
8236 $enable_execute_stack.
8237 * configure: Regenerate.
8238 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8239 (lib2funcs): Remove _enable_execute_stack.
8240
8241 2011-06-09 David S. Miller <davem@davemloft.net>
8242 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8243
8244 * config.host (sparc-*-linux*): Correct md_unwind_header
8245 filename.
8246 (s390x-ibm-tpf*): Fix typo.
8247
8248 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8249
8250 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8251 Add crtfastmath.o to extra_parts.
8252 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8253 mips/t-crtfm.
8254 * config/mips/t-crtfm: Remove.
8255
8256 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8257
8258 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8259
8260 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8261
8262 * config.host (sh*-*-linux*): Fix typo.
8263
8264 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8265
8266 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8267 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8268 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8269 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8270 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8271 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8272 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8273 Wrap in !__MINGW64__.
8274 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8275 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8276 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8277 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8278 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8279 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8280 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8281 Wrap in !__LP64__.
8282 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8283 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8284 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8285 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8286 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8287 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8288 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8289 * config/no-unwind.h: New file.
8290 * config.host (md_unwind_header): Document.
8291 Define.
8292 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8293 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8294 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8295 hppa[12]*-*-hpux11*): Set md_unwind_header.
8296 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8297 Set md_unwind_header.
8298 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8299 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8300 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8301 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8302 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8303 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8304 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8305 md_unwind_header.
8306 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8307 * configure: Regenerate.
8308
8309 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8310
8311 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8312 Set tmake_file, extra_parts.
8313 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8314 Remove O32 support.
8315 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8316 Remove O32 support.
8317 * config/mips/t-irix6: New file.
8318 * config/mips/t-slibgcc-irix: New file.
8319
8320 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8321
8322 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8323 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8324
8325 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8326
8327 * configure.ac (target_thread_file): Determine thread model.
8328 * configure: Regenerate.
8329 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8330 * config/alpha/t-alpha: New file.
8331 * config/alpha/t-crtfm: Use $<.
8332 * config/alpha/t-ieee: New file.
8333 * config/alpha/t-osf-pthread: New file.
8334 * config/alpha/t-slibgcc-osf: New file.
8335 * config/alpha/libgcc-osf5.ver: New file.
8336
8337 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8338
8339 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8340 tmake_file.
8341 Add crtfastmath.o to extra_parts.
8342
8343 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8344
8345 * config/gmon-sol2.c: Reindent.
8346 Cleanup comments.
8347 Remove, correct casts.
8348 Use STDERR_FILENO, NULL.
8349 (BASEADDRESS): Remove.
8350 (minbrk): Remove.
8351 (errno, sbrk): Remove declarations.
8352 (monstartup) [hp300]: Remove.
8353 (mcount): Remove.
8354
8355 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8356
8357 * Makefile.in (cpu_type): Define.
8358 * config.host (i[34567]86-*-rtems*): Handle it.
8359 (i[34567]86-*-solaris2*): Move body ...
8360 (*-*-solaris2*): ... here.
8361 New case, generalize.
8362 (sparc-*-elf*): Handle it.
8363 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8364 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8365 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8366 Fold into ...
8367 (sparc*-*-solaris2*): ... this.
8368 New case.
8369 (sparc64-*-elf*): Handle it.
8370 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8371 Merge ../gcc/config/i386/gmon-sol2.c.
8372 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8373 Use C comments.
8374 Merge ../gcc/config/i386/sol2-gc1.asm.
8375 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8376 Use C comments.
8377 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8378 Use C comments.
8379 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8380 * config/i386/t-crtstuff: New file.
8381 * config/i386/t-softfp: New file.
8382 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8383 $(T)crti.o, $(T)crtn.o): Remove.
8384 (gcrt1.o): New rule.
8385 (TARGET_LIBGCC2_CFLAGS): Remove.
8386 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8387 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8388 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8389 * config/sparc/t-sol2: New file.
8390 * config/sparc/t-crtfm: Move to ...
8391 * config/t-crtfm: ... this.
8392 Use $(cpu_type), $<.
8393 * config/t-crtin: New file.
8394 * config/sparc/t-softfp: New file.
8395 * config/sparc/t-softmul: New file.
8396 * config/t-rtems: New file.
8397 * config/t-slibgcc: New file.
8398 * config/t-slibgcc-elf-ver: New file.
8399 * config/t-slibgcc-gld: New file.
8400 * config/t-slibgcc-sld: New file.
8401 * config/t-sol2: New file.
8402 * configure.ac: Include ../config/lib-ld.m4.
8403 Call AC_LIB_PROG_LD_GNU.
8404 Substitute cpu_type.
8405 * configure: Regenerate.
8406
8407 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8408
8409 PR bootstrap/49173
8410 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8411 libgcc-std.ver in the build directory.
8412 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8413 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8414
8415 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8416
8417 * libgcc-std.ver.in: New file.
8418 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8419 variables.
8420 (libgcc-std.ver): New rule.
8421 * config/t-gnu-prefix: New file.
8422
8423 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8424
8425 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8426
8427 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8428
8429 * config/i386/darwin-lib.h: New file.
8430
8431 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8432
8433 * config/arm/symbian-lib.h: New.
8434
8435 2011-05-04 Chris Demetriou <cgd@google.com>
8436
8437 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8438 (__x86.get_pc_thunk.bx): ...this.
8439 (__morestack): Adjust for rename, remove undef of __i686.
8440
8441 2011-05-03 Chris Demetriou <cgd@google.com>
8442
8443 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8444
8445 2011-03-22 Joseph Myers <joseph@codesourcery.com>
8446
8447 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8448 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8449 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8450 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8451 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8452 Remove cases.
8453
8454 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
8455
8456 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8457 Adjust copyright year.
8458
8459 2011-03-07 Ian Lance Taylor <iant@google.com>
8460
8461 * generic-morestack.c (__splitstack_find): Adjust returned stack
8462 pointer to include all registers pushed by __morestack.
8463
8464 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8465
8466 PR target/40125
8467 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8468 (toolexecdir): Calculate and AC_SUBST.
8469 (toolexeclibdir): Likewise.
8470 * Makefile.in (target_noncanonical): Import.
8471 (toolexecdir): Likewise.
8472 (toolexeclibdir): Likewise.
8473 * configure: Regenerate.
8474
8475 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8476
8477 PR target/46040
8478 * config/arm/bpabi.h: Rename to...
8479 * config/arm/bpabi-lib.h: ...this.
8480
8481 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8482
8483 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8484 appropriate.
8485 * configure: Regenerate.
8486
8487 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8488
8489 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8490 __FLOAT_WORD_ORDER__.
8491 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8492 Delete.
8493
8494 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8495
8496 PR other/46202
8497 * Makefile.in (install-strip): New phony target.
8498
8499 2010-11-07 Ian Lance Taylor <iant@google.com>
8500
8501 PR target/46089
8502 * config/i386/morestack.S (__morestack_large_model): New
8503 function.
8504
8505 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8506
8507 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8508 Delete.
8509 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8510
8511 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8512
8513 * config/arm/bpabi.h: New file.
8514 * config/frv/frv-abi.h: New file.
8515
8516 2010-10-01 Ian Lance Taylor <iant@google.com>
8517
8518 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8519 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8520
8521 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8522
8523 PR target/45858
8524 * config.host: Add the missing `$'.
8525
8526 2010-09-30 Michael Eager <eager@eagercon.com>
8527
8528 * config.host: Add microblaze*-*-*.
8529 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8530 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8531 udivsi3.asm,umodsi3.asm}: New.
8532
8533 2010-09-28 Ian Lance Taylor <iant@google.com>
8534
8535 * configure.ac: Adjust CFI test to test assembler directly rather
8536 than checking gcc preprocessor macro.
8537 * configure: Rebuild.
8538
8539 2010-09-27 Ian Lance Taylor <iant@google.com>
8540
8541 * configure.ac: Test whether assembler supports CFI directives.
8542 * config.host: Only add t-stack and i386/t-stack-i386 to
8543 tmake_file if libgcc_cv_cfi is "yes".
8544 * configure: Rebuild.
8545
8546 2010-09-27 Ian Lance Taylor <iant@google.com>
8547
8548 * generic-morestack.h: New file.
8549 * generic-morestack.c: New file.
8550 * generic-morestack-thread.c: New file.
8551 * config/i386/morestack.S: New file.
8552 * config/t-stack: New file.
8553 * config/i386/t-stack-i386: New file.
8554 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8555 i386/t-stack-i386 to tmake_file.
8556
8557 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8558
8559 * Makefile.in (libgcc-extra-parts): Check for static archives and
8560 invoke ranlib after installing them.
8561 (gcc-extra-parts): Likewise.
8562 (install-leaf): Likewise.
8563
8564 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8565
8566 * configure: Regenerated.
8567
8568 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
8569
8570 * configure: Regenerated.
8571
8572 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8573 Andrew Pinski <pinskia@gmail.com>
8574
8575 PR target/40959
8576 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8577
8578 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8579
8580 PR target/45524
8581 * configure: Regenerated.
8582
8583 2010-09-06 Andreas Schwab <schwab@redhat.com>
8584
8585 * configure: Regenerate.
8586
8587 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8588
8589 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8590 64bit targets.
8591 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8592 for 64bit targets.
8593
8594 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8595 Iain Sandoe <iains@gcc.gnu.org>
8596
8597 PR target/45476
8598 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8599 LIB2FUNCS_EXCLUDE functions.
8600
8601 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8602
8603 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8604 Include dfp.m4.
8605 * configure: Regenerate.
8606
8607 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
8608
8609 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8610 i386/t-freebsd to tmake_file.
8611 * config/i386/t-freebsd: New file.
8612 * config/i386/libgcc-bsd.ver: New file.
8613
8614 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8615
8616 * config.host (powerpc*-eabispe*): Set tmake_file.
8617 (powerpc*-eabi*): Likewise.
8618 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8619 crtbeginS, crtendS, crtbeginT.
8620
8621 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
8622
8623 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8624 to tmake_file. Add crtfastmath.o to extra_parts.
8625 * config/mips/t-crtfm: New.
8626
8627 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
8628
8629 * config.host (sparc64-*-rtems*): New target.
8630
8631 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8632
8633 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8634 assembler syntax.
8635
8636 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8637
8638 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8639
8640 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8641
8642 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8643 alpha-dec-osf5.0* support.
8644
8645 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
8646
8647 * config.host: Add lm32-*-rtems*.
8648
8649 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8650 Uros Bizjak <ubizjak@gmail.com>
8651
8652 PR target/39048
8653 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8654 like other remaining 32-bit x86 OSes.
8655 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8656 assembler syntax.
8657 * config/i386/libgcc-sol2.ver: New file.
8658 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8659
8660 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
8661
8662 PR c/43553
8663 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8664 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8665 is used and substitute set_use_emutls.
8666 * configure: Regenerated.
8667
8668 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8669
8670 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8671
8672 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8673
8674 PR target/38085
8675 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8676 MULTILIB_CFLAGS.
8677 ($(T)gcrt1.o): Likewise.
8678 ($(T)crt1.o): Likewise.
8679 ($(T)crti.o): Likewise.
8680 ($(T)crtn.o): Likewise.
8681
8682 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8683
8684 PR other/42980
8685 * Makefile.in (install): Use $(MAKE) string in rule, for
8686 parallel make.
8687
8688 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8689
8690 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8691 * config/mmix/t-mmix: New file.
8692 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8693
8694 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8695
8696 PR java/41991
8697 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8698 SHLIB_MAPFILES.
8699
8700 2010-01-04 Anthony Green <green@moxielogic.com>
8701
8702 * config/moxie/crti.asm, config/moxie/crtn.asm,
8703 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8704 config/moxie/t-moxie: New files.
8705 * config.host: Add t-moxie-softfp reference.
8706
8707 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
8708
8709 PR other/39888
8710 * config/t-slibgcc-darwin: Fix embedded rpaths for
8711 --enable-version-specific-runtime-libs, build extension stub
8712 libs exposing features available from current libgcc_s.
8713
8714 2009-11-11 Jon Beniston <jon@beniston.com>
8715
8716 * config.host: Add lm32 targets.
8717 * config/lm32: New directory.
8718 * config/lm32/libgcc_lm32.h: New file.
8719 * config/lm32/_mulsi3.c: New file.
8720 * config/lm32/_udivmodsi4.c: New file.
8721 * config/lm32/_divsi3.c: New file.
8722 * config/lm32/_modsi3.c: New file.
8723 * config/lm32/_udivsi3.c: New file.
8724 * config/lm32/_umodsi3.c: New file.
8725 * config/lm32/_lshrsi3.S: New file.
8726 * config/lm32/_ashrsi3.S: New file.
8727 * config/lm32/_ashlsi3.S: New file.
8728 * config/lm32/crti.S: New file.
8729 * config/lm32/crtn.S: New file.
8730 * config/lm32/t-lm32: New file.
8731 * config/lm32/t-elf: New file.
8732 * config/lm32/t-uclinux: New file.
8733
8734 2009-10-26 Nick Clifton <nickc@redhat.com>
8735
8736 * config.host: Add support for RX target.
8737 * config/rx: New directory.
8738 * config/rx/rx-abi-functions.c: New file. Supplementary
8739 functions for libgcc to support the RX ABI.
8740 * config/rx/rx-abi.h: New file. Supplementary header file for
8741 libgcc RX ABI functions.
8742 * config/rx/t-rx: New file: Makefile fragment for building
8743 libgcc for the RX.
8744
8745 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
8746
8747 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8748 constraint of y0 to "g".
8749
8750 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8751
8752 * config.host: Include the s390 makefile fragments.
8753 * config/s390/32/_fixdfdi.c: New file.
8754 * config/s390/32/_fixsfdi.c: New file.
8755 * config/s390/32/_fixtfdi.c: New file.
8756 * config/s390/32/_fixunsdfdi.c: New file.
8757 * config/s390/32/_fixunssfdi.c: New file.
8758 * config/s390/32/_fixunstfdi.c: New file.
8759 * config/s390/32/t-floattodi: New file.
8760 * config/s390/libgcc-glibc.ver: New file.
8761 * config/s390/t-crtstuff: New file.
8762 * config/s390/t-linux: New file.
8763 * config/s390/t-tpf: New file.
8764
8765 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8766
8767 * configure.ac (AC_PREREQ): Bump to 2.64.
8768
8769 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
8770
8771 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8772
8773 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8774
8775 * configure: Regenerate.
8776
8777 2009-08-09 Douglas B Rupp <rupp@gnat.com>
8778
8779 * config.host (ia64-hp-*vms*): New target.
8780 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8781 with ia64-hp-*vms*.
8782
8783 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8784
8785 * configure.ac: Add snippet for maintainer-mode.
8786 * configure: Regenerate.
8787 * Makefile.in (AUTOCONF, configure_deps): New variables.
8788 ($(srcdir)/configure)): New rule, active only with maintainer
8789 mode turned on.
8790
8791 2009-06-23 DJ Delorie <dj@redhat.com>
8792
8793 Add MeP port.
8794 * config.host: Add mep support.
8795
8796 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
8797
8798 * config.host: Add i386/${host_address}/t-fprules-softfp and
8799 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
8800
8801 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8802 for mingw targets.
8803 * config/i386/64/_multc3.c: Likewise.
8804 * config/i386/64/_powitf2.c: Likewise.
8805 * config/i386/64/eqtf2.c: Likewise.
8806 * config/i386/64/getf2.c: Likewise.
8807 * config/i386/64/letf2.c: Likewise.
8808 * config/i386/64/letf2.c: Likewise.
8809 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8810 unsigned long long for x64 mingw targets.
8811 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8812 (_FP_I_TYPE): Define as long long for x64 mingw target.
8813
8814 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
8815
8816 * config.host (vax-*-linux*): New.
8817
8818 2009-05-31 Anthony Green <green@moxielogic.com>
8819
8820 * config.host: Add moxie support.
8821 * config/moxie/t-moxie: New file.
8822
8823 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
8824
8825 * config.host: Add i386/${host_address}/t-fprules-softfp and
8826 t-softfp to tmake_file for i[34567]86-*-cygwin*.
8827
8828 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
8829
8830 * config.host: Add i386/${host_address}/t-fprules-softfp to
8831 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8832
8833 2009-04-09 Nick Clifton <nickc@redhat.com>
8834
8835 * config/ia64/tf-signs.c: Change copyright header to refer to
8836 version 3 of the GNU General Public License with version 3.1
8837 of the GCC Runtime Library Exception and to point readers at
8838 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8839 web page.
8840 * config/i386/32/tf-signs.c: Likewise.
8841 * config/libbid/_addsub_dd.c: Likewise.
8842 * config/libbid/_addsub_sd.c: Likewise.
8843 * config/libbid/_addsub_td.c: Likewise.
8844 * config/libbid/_dd_to_df.c: Likewise.
8845 * config/libbid/_dd_to_di.c: Likewise.
8846 * config/libbid/_dd_to_sd.c: Likewise.
8847 * config/libbid/_dd_to_sf.c: Likewise.
8848 * config/libbid/_dd_to_si.c: Likewise.
8849 * config/libbid/_dd_to_td.c: Likewise.
8850 * config/libbid/_dd_to_tf.c: Likewise.
8851 * config/libbid/_dd_to_udi.c: Likewise.
8852 * config/libbid/_dd_to_usi.c: Likewise.
8853 * config/libbid/_dd_to_xf.c: Likewise.
8854 * config/libbid/_df_to_dd.c: Likewise.
8855 * config/libbid/_df_to_sd.c: Likewise.
8856 * config/libbid/_df_to_td.c: Likewise.
8857 * config/libbid/_di_to_dd.c: Likewise.
8858 * config/libbid/_di_to_sd.c: Likewise.
8859 * config/libbid/_di_to_td.c: Likewise.
8860 * config/libbid/_div_dd.c: Likewise.
8861 * config/libbid/_div_sd.c: Likewise.
8862 * config/libbid/_div_td.c: Likewise.
8863 * config/libbid/_eq_dd.c: Likewise.
8864 * config/libbid/_eq_sd.c: Likewise.
8865 * config/libbid/_eq_td.c: Likewise.
8866 * config/libbid/_ge_dd.c: Likewise.
8867 * config/libbid/_ge_sd.c: Likewise.
8868 * config/libbid/_ge_td.c: Likewise.
8869 * config/libbid/_gt_dd.c: Likewise.
8870 * config/libbid/_gt_sd.c: Likewise.
8871 * config/libbid/_gt_td.c: Likewise.
8872 * config/libbid/_isinfd128.c: Likewise.
8873 * config/libbid/_isinfd32.c: Likewise.
8874 * config/libbid/_isinfd64.c: Likewise.
8875 * config/libbid/_le_dd.c: Likewise.
8876 * config/libbid/_le_sd.c: Likewise.
8877 * config/libbid/_le_td.c: Likewise.
8878 * config/libbid/_lt_dd.c: Likewise.
8879 * config/libbid/_lt_sd.c: Likewise.
8880 * config/libbid/_lt_td.c: Likewise.
8881 * config/libbid/_mul_dd.c: Likewise.
8882 * config/libbid/_mul_sd.c: Likewise.
8883 * config/libbid/_mul_td.c: Likewise.
8884 * config/libbid/_ne_dd.c: Likewise.
8885 * config/libbid/_ne_sd.c: Likewise.
8886 * config/libbid/_ne_td.c: Likewise.
8887 * config/libbid/_sd_to_dd.c: Likewise.
8888 * config/libbid/_sd_to_df.c: Likewise.
8889 * config/libbid/_sd_to_di.c: Likewise.
8890 * config/libbid/_sd_to_sf.c: Likewise.
8891 * config/libbid/_sd_to_si.c: Likewise.
8892 * config/libbid/_sd_to_td.c: Likewise.
8893 * config/libbid/_sd_to_tf.c: Likewise.
8894 * config/libbid/_sd_to_udi.c: Likewise.
8895 * config/libbid/_sd_to_usi.c: Likewise.
8896 * config/libbid/_sd_to_xf.c: Likewise.
8897 * config/libbid/_sf_to_dd.c: Likewise.
8898 * config/libbid/_sf_to_sd.c: Likewise.
8899 * config/libbid/_sf_to_td.c: Likewise.
8900 * config/libbid/_si_to_dd.c: Likewise.
8901 * config/libbid/_si_to_sd.c: Likewise.
8902 * config/libbid/_si_to_td.c: Likewise.
8903 * config/libbid/_td_to_dd.c: Likewise.
8904 * config/libbid/_td_to_df.c: Likewise.
8905 * config/libbid/_td_to_di.c: Likewise.
8906 * config/libbid/_td_to_sd.c: Likewise.
8907 * config/libbid/_td_to_sf.c: Likewise.
8908 * config/libbid/_td_to_si.c: Likewise.
8909 * config/libbid/_td_to_tf.c: Likewise.
8910 * config/libbid/_td_to_udi.c: Likewise.
8911 * config/libbid/_td_to_usi.c: Likewise.
8912 * config/libbid/_td_to_xf.c: Likewise.
8913 * config/libbid/_tf_to_dd.c: Likewise.
8914 * config/libbid/_tf_to_sd.c: Likewise.
8915 * config/libbid/_tf_to_td.c: Likewise.
8916 * config/libbid/_udi_to_dd.c: Likewise.
8917 * config/libbid/_udi_to_sd.c: Likewise.
8918 * config/libbid/_udi_to_td.c: Likewise.
8919 * config/libbid/_unord_dd.c: Likewise.
8920 * config/libbid/_unord_sd.c: Likewise.
8921 * config/libbid/_unord_td.c: Likewise.
8922 * config/libbid/_usi_to_dd.c: Likewise.
8923 * config/libbid/_usi_to_sd.c: Likewise.
8924 * config/libbid/_usi_to_td.c: Likewise.
8925 * config/libbid/_xf_to_dd.c: Likewise.
8926 * config/libbid/_xf_to_sd.c: Likewise.
8927 * config/libbid/_xf_to_td.c: Likewise.
8928 * config/libbid/bid128.c: Likewise.
8929 * config/libbid/bid128_2_str.h: Likewise.
8930 * config/libbid/bid128_2_str_macros.h: Likewise.
8931 * config/libbid/bid128_2_str_tables.c: Likewise.
8932 * config/libbid/bid128_add.c: Likewise.
8933 * config/libbid/bid128_compare.c: Likewise.
8934 * config/libbid/bid128_div.c: Likewise.
8935 * config/libbid/bid128_fma.c: Likewise.
8936 * config/libbid/bid128_logb.c: Likewise.
8937 * config/libbid/bid128_minmax.c: Likewise.
8938 * config/libbid/bid128_mul.c: Likewise.
8939 * config/libbid/bid128_next.c: Likewise.
8940 * config/libbid/bid128_noncomp.c: Likewise.
8941 * config/libbid/bid128_quantize.c: Likewise.
8942 * config/libbid/bid128_rem.c: Likewise.
8943 * config/libbid/bid128_round_integral.c: Likewise.
8944 * config/libbid/bid128_scalb.c: Likewise.
8945 * config/libbid/bid128_sqrt.c: Likewise.
8946 * config/libbid/bid128_string.c: Likewise.
8947 * config/libbid/bid128_to_int16.c: Likewise.
8948 * config/libbid/bid128_to_int32.c: Likewise.
8949 * config/libbid/bid128_to_int64.c: Likewise.
8950 * config/libbid/bid128_to_int8.c: Likewise.
8951 * config/libbid/bid128_to_uint16.c: Likewise.
8952 * config/libbid/bid128_to_uint32.c: Likewise.
8953 * config/libbid/bid128_to_uint64.c: Likewise.
8954 * config/libbid/bid128_to_uint8.c: Likewise.
8955 * config/libbid/bid32_to_bid128.c: Likewise.
8956 * config/libbid/bid32_to_bid64.c: Likewise.
8957 * config/libbid/bid64_add.c: Likewise.
8958 * config/libbid/bid64_compare.c: Likewise.
8959 * config/libbid/bid64_div.c: Likewise.
8960 * config/libbid/bid64_fma.c: Likewise.
8961 * config/libbid/bid64_logb.c: Likewise.
8962 * config/libbid/bid64_minmax.c: Likewise.
8963 * config/libbid/bid64_mul.c: Likewise.
8964 * config/libbid/bid64_next.c: Likewise.
8965 * config/libbid/bid64_noncomp.c: Likewise.
8966 * config/libbid/bid64_quantize.c: Likewise.
8967 * config/libbid/bid64_rem.c: Likewise.
8968 * config/libbid/bid64_round_integral.c: Likewise.
8969 * config/libbid/bid64_scalb.c: Likewise.
8970 * config/libbid/bid64_sqrt.c: Likewise.
8971 * config/libbid/bid64_string.c: Likewise.
8972 * config/libbid/bid64_to_bid128.c: Likewise.
8973 * config/libbid/bid64_to_int16.c: Likewise.
8974 * config/libbid/bid64_to_int32.c: Likewise.
8975 * config/libbid/bid64_to_int64.c: Likewise.
8976 * config/libbid/bid64_to_int8.c: Likewise.
8977 * config/libbid/bid64_to_uint16.c: Likewise.
8978 * config/libbid/bid64_to_uint32.c: Likewise.
8979 * config/libbid/bid64_to_uint64.c: Likewise.
8980 * config/libbid/bid64_to_uint8.c: Likewise.
8981 * config/libbid/bid_b2d.h: Likewise.
8982 * config/libbid/bid_binarydecimal.c: Likewise.
8983 * config/libbid/bid_conf.h: Likewise.
8984 * config/libbid/bid_convert_data.c: Likewise.
8985 * config/libbid/bid_decimal_data.c: Likewise.
8986 * config/libbid/bid_decimal_globals.c: Likewise.
8987 * config/libbid/bid_div_macros.h: Likewise.
8988 * config/libbid/bid_dpd.c: Likewise.
8989 * config/libbid/bid_flag_operations.c: Likewise.
8990 * config/libbid/bid_from_int.c: Likewise.
8991 * config/libbid/bid_functions.h: Likewise.
8992 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8993 * config/libbid/bid_inline_add.h: Likewise.
8994 * config/libbid/bid_internal.h: Likewise.
8995 * config/libbid/bid_round.c: Likewise.
8996 * config/libbid/bid_sqrt_macros.h: Likewise.
8997
8998 2009-04-09 Jakub Jelinek <jakub@redhat.com>
8999
9000 * Makefile.in: Change copyright header to refer to version
9001 3 of the GNU General Public License and to point readers at the
9002 COPYING3 file and the FSF's license web page.
9003 * config.host: Likewise.
9004
9005 2009-04-07 Alan Modra <amodra@bigpond.net.au>
9006
9007 * config.host: Reorder and merge to match config.gcc change.
9008
9009 2009-04-03 Alan Modra <amodra@bigpond.net.au>
9010
9011 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9012
9013 2009-03-28 Joseph Myers <joseph@codesourcery.com>
9014
9015 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9016 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9017 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9018 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9019
9020 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
9021
9022 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9023 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9024
9025 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9026
9027 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9028 ia64/t-softfp-compat to tmake_file.
9029
9030 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9031
9032 * config/ia64/__divxf3.asm: New.
9033 * config/ia64/_fixtfdi.asm: Likewise.
9034 * config/ia64/_fixunstfdi.asm: Likewise.
9035 * config/ia64/_floatditf.asm: Likewise.
9036 * config/ia64/t-fprules-softfp: Likewise.
9037 * config/ia64/t-softfp-compat: Likewise.
9038 * config/ia64/tf-signs.c: Likewise.
9039
9040 2009-01-18 Ben Elliston <bje@au.ibm.com>
9041
9042 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9043
9044 2009-01-16 Ben Elliston <bje@au.ibm.com>
9045
9046 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9047 to tmake_file.
9048
9049 2009-01-13 Ben Elliston <bje@au.ibm.com>
9050
9051 * config/t-softfp: New file.
9052 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9053 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9054
9055 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
9056
9057 * config.host: Add m32r*-*-rtems*.
9058
9059 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
9060
9061 * config.host: Add m32c*-*-rtems*.
9062
9063 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9064
9065 PR bootstrap/33100
9066 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9067 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9068 * configure: Regenerate.
9069 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9070 tmake_file here from gcc/config.gcc.
9071 Move extra_parts here from gcc/config.gcc.
9072 * config/i386/t-sol2: Move here from gcc/config/i386.
9073 Use gcc_srcdir instead of srcdir.
9074
9075 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9076
9077 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9078 case.
9079
9080 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9081
9082 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9083
9084 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9085
9086 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9087
9088 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9089
9090 Add picoChip port.
9091 * config.host: Add picochip-*-*.
9092
9093 2008-08-06 Bob Wilson <bob.wilson@acm.org>
9094
9095 * config.host: Match more processor names for Xtensa.
9096
9097 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9098
9099 * config/i386/64/t-softfp-compat: Update comments.
9100
9101 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9102
9103 * config/i386/64/_divtc3-compat.c: Moved to ...
9104 * config/i386/64/_divtc3.c: Here.
9105
9106 * config/i386/64/_multc3-compat.c: Moved to ...
9107 * config/i386/64/_multc3.c: Here.
9108
9109 * config/i386/64/_powitf2-compat.c: Moved to ...
9110 * config/i386/64/_powitf2.c: Here.
9111
9112 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9113 .c suffix instead of -compat.c.
9114
9115 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
9116
9117 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9118 (_FP_MUL_MEAT_D): Ditto.
9119 (_FP_DIV_MEAT_S): Ditto.
9120 (_FP_DIV_MEAT_D): Ditto.
9121
9122 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9123
9124 * Makefile.in: Add support for __sync_* libgcc functions.
9125
9126 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9127
9128 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9129
9130 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9131
9132 PR boostrap/36702
9133 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9134 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9135
9136 * config/i386/64/t-fprules-softfp: Moved to ...
9137 * config/i386/64/t-softfp-compat: This. New.
9138
9139 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
9140
9141 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9142 Initialize f with 0.0.
9143
9144 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9145
9146 PR target/36669
9147 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9148
9149 * config/i386/64/_divtc3-compat.c: New.
9150 * config/i386/64/_multc3-compat.c: Likewise.
9151 * config/i386/64/_powitf2-compat.c: Likewise.
9152 * config/i386/64/eqtf2.c: Likewise.
9153 * config/i386/64/getf2.c: Likewise.
9154 * config/i386/64/letf2.c: Likewise.
9155 * config/i386/64/t-fprules-softfp: Likewise.
9156
9157 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9158
9159 * config.host: Add i386/${host_address}/t-fprules-softfp to
9160 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9161 i[34567]86-*-linux*, x86_64-*-linux*.
9162
9163 * configure.ac: Set host_address to 64 or 32 for x86.
9164 * configure: Regenerated.
9165
9166 * Makefile.in (config.status): Also depend on
9167 $(srcdir)/config.host.
9168
9169 * config/i386/32/t-fprules-softfp: New.
9170 * config/i386/32/tf-signs.c: Likewise.
9171
9172 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9173
9174 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9175 Uros Bizjak <ubizjak@gmail.com>
9176
9177 * config/i386/32/sfp-machine.h: New.
9178
9179 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9180
9181 * config/rs6000/t-ppccomm: Remove rules that conflict with
9182 auto-generated rules.
9183
9184 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9185
9186 * configure.ac: sinclude override.m4.
9187 * configure: Regenerate.
9188
9189 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9190
9191 * configure: Regenerate.
9192
9193 2008-06-10 Joseph Myers <joseph@codesourcery.com>
9194
9195 * Makefile.in (DECNUMINC): Remove
9196 -I$(MULTIBUILDTOP)../../libdecnumber.
9197 * gstdint.h: New.
9198
9199 2008-06-07 Joseph Myers <joseph@codesourcery.com>
9200
9201 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9202 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9203 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9204 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9205 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9206 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9207 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9208 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9209 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9210 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9211 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9212 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9213 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9214 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9215
9216 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9217
9218 * config.host (sh2[lbe]*-*-linux*): Allow target.
9219
9220 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9221
9222 * config/rs6000/t-ppccomm: Add build rules for new files.
9223 (LIB2ADD_ST): New variable.
9224
9225 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9226
9227 PR target/34210
9228 PR target/35508
9229 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9230 * config/t-avr: New file. Build 16bit libgcc functions.
9231
9232 2008-03-02 Jakub Jelinek <jakub@redhat.com>
9233
9234 PR target/35401
9235 * config/t-slibgcc-darwin: Make install-leaf dependent on
9236 install-darwin-libgcc-stubs instead of install.
9237
9238 2008-01-25 Joseph Myers <joseph@codesourcery.com>
9239
9240 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9241 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9242 sh-*-rtemscoff*): Remove cases.
9243
9244 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9245
9246 * Makefile.in (all): Use install-leaf rather than install.
9247 (install): Split most of the rule into...
9248 (install-leaf): ...this new one.
9249
9250 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
9251 Paolo Bonzini <bonzini@gnu.org>
9252
9253 PR target/30572
9254 * Makefile.in: Use @shlib_slibdir@ substitution to get
9255 correct install name on darwin.
9256 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9257
9258 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
9259
9260 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9261 cris-*-elf and cris-*-none.
9262 (crisv32-*-linux*): Similar, as cris-*-linux*.
9263
9264 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9265
9266 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9267
9268 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9269
9270 PR regression/33926
9271 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9272 * configure: Regenerated.
9273
9274 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9275
9276 * Makefile.in (dfp-filenames): Replace decimal_globals,
9277 decimal_data, binarydecimal and convert_data with
9278 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9279 and bid_convert_data, respectively.
9280
9281 2007-09-17 Chao-ying Fu <fu@mips.com>
9282 Nigel Stephens <nigel@mips.com>
9283
9284 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9285 * Makefile.in (fixed_point): Define.
9286 Check if fixed_point is yes to build support functions.
9287 * configure.ac: Check for fixed_point support.
9288 * configure: Regenerated.
9289 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9290 funcs, modes, from, to.
9291
9292 2007-09-11 Janis Johnson <janis187@us.ibm.com
9293
9294 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9295
9296 2007-09-10 Janis Johnson <janis187@us.ibm.com>
9297
9298 * Makefile.in (dfp-filenames): Remove decUtility, add
9299 decDouble, decPacked, decQuad, decSingle.
9300
9301 2007-08-27 Hans Kester <hans.kester@ellips.nl>
9302
9303 * config.host : Add x86_64-elf target.
9304
9305 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9306
9307 * configure.ac (set_have_cc_tls): Add a missing =.
9308 * configure: Regenerated.
9309
9310 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9311
9312 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9313 and x86_64-*-linux*.
9314
9315 * config/t-tls: New file.
9316
9317 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9318
9319 * configure.ac: Include ../config/enable.m4 and
9320 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9321 supports TLS and substitute set_have_cc_tls.
9322 * configure: Regenerated.
9323
9324 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9325
9326 * Makefile.in: Use libbid for DFP when BID is enabled.
9327
9328 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9329
9330 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9331 extra_parts. Add config/i386/t-cygming to tmake_file.
9332 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9333
9334 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9335 Danny Smith <dannysmith@users.sourceforge.net>
9336
9337 PR target/29498
9338 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9339 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9340 * config/i386/t-crtfm: Compile crtfastmath.o with
9341 -minline-all-stringops.
9342
9343 2007-05-10 Richard Sandiford <richard@codesourcery.com>
9344
9345 * config.host (sparc-wrs-vxworks): New target.
9346
9347 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
9348
9349 * config.host: Recognize fido.
9350
9351 2007-04-04 Janis Johnson <janis187@us.ibm.com>
9352
9353 * configure: Check host, not target, for decimal float support.
9354
9355 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
9356
9357 * config/i386/t-crtpc: New file.
9358 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9359 (x86_64-*-linux*): Ditto.
9360
9361 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
9362
9363 * config.host (x86_64-*-mingw*): New target.
9364
9365 2007-03-23 Michael Meissner <michael.meissner@amd.com>
9366 H.J. Lu <hongjiu.lu@intel.com>
9367
9368 * Makefile.in (enable_decimal_float): New.
9369 (DECNUMINC): Add
9370 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9371 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9372 (decbits-filenames): This.
9373 (decbits-objects): New.
9374 (libgcc-objects): Add $(decbits-objects).
9375
9376 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9377 Substitute enable_decimal_float.
9378 * configure: Regenerated.
9379
9380 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
9381
9382 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9383
9384 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9385
9386 * Makefile.in (install-info): New dummy target.
9387
9388 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9389
9390 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9391
9392 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9393
9394 * Makefile.in: Add install-html and install-pdf dummy
9395 targets.
9396
9397 2007-02-05 Roger Sayle <roger@eyesopen.com>
9398 Daniel Jacobowitz <dan@codesourcery.com>
9399
9400 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9401 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9402 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9403
9404 2007-01-29 Janis Johnson <janis187@us.ibm.com>
9405
9406 * Makefile.in (dec-filenames): Add decExcept.
9407
9408 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9409
9410 PR bootstrap/30469
9411 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9412 -fprofile-use.
9413
9414 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9415
9416 * configure.ac: Add --enable-version-specific-runtime-libs.
9417 Correct $slibdir default.
9418 * configure: Regenerated.
9419
9420 2007-01-23 Joseph Myers <joseph@codesourcery.com>
9421
9422 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9423
9424 2007-01-21 Andrew Pinski <pinskia@gmail.com>
9425
9426 PR target/30519
9427 * config.host (alpha*-*-linux*): Set extra_parts.
9428
9429 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9430
9431 * config/sh/t-linux: New.
9432 * config.host (sh*-*-linux*): Set tmake_file.
9433
9434 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9435
9436 * Makefile.in (install): Handle multilibs.
9437
9438 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9439
9440 * Makefile.in: Added .PHONY entry for documentation targets.
9441
9442 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9443
9444 * Makefile.in: Add empty info, html, dvi, pdf targets.
9445
9446 2007-01-04 Mike Stump <mrs@apple.com>
9447
9448 * Makefile.in (MAKEINFO): Remove.
9449 (PERL): Likewise.
9450
9451 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
9452
9453 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9454 * configure: Regenerate.
9455 * Makefile.in (host_subdir): Substitute it.
9456 (gcc_objdir): Use it.
9457
9458 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9459
9460 * config.host (ia64*-*-linux*): Set tmake_file.
9461
9462 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9463
9464 * Makefile.in (version): Define.
9465
9466 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9467 Paolo Bonzini <bonzini@gnu.org>
9468
9469 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9470 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9471 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9472 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9473 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9474 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9475 * configure: Generated.
9476 \f
9477 Copyright (C) 2007-2018 Free Software Foundation, Inc.
9478
9479 Copying and distribution of this file, with or without modification,
9480 are permitted in any medium without royalty provided the copyright
9481 notice and this notice are preserved.