libgcc: apply LIB2FUNCS_EXCLUDE logic to LIB2FUNCS_ST
[gcc.git] / libgcc / ChangeLog
1 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2
3 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
4
5 2018-10-12 Olivier Hainque <hainque@adacore.com>
6
7 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
8 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
9
10 2018-10-08 Paul Koning <ni1d@arrl.net>
11
12 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
13
14 2018-10-04 Martin Liska <mliska@suse.cz>
15
16 PR gcov-profile/84107
17 * libgcov-profiler.c (__gcov_indirect_call):
18 Change type to indirect_call_tuple.
19 (struct indirect_call_tuple): New struct.
20 (__gcov_indirect_call_topn_profiler): Change type.
21 (__gcov_indirect_call_profiler_v2): Use the new
22 variables.
23 * libgcov.h (struct indirect_call_tuple): New struct
24 definition.
25
26 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
27
28 * libgcc2.c (isnan): Use __builtin_isnan.
29 (isfinite): Use __builtin_isfinite.
30 (isinf): Use __builtin_isinf.
31
32 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
33
34 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
35
36 2018-09-21 Alexandre Oliva <oliva@adacore.com>
37
38 * config/vxcache.c: New file. Provide __clear_cache, based on
39 the cacheTextUpdate VxWorks service.
40 * config/t-vxworks (LIB2ADD): Add vxcache.c.
41 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
42 * config/t-vxwoks7: Likewise.
43
44 2018-09-21 Martin Liska <mliska@suse.cz>
45
46 * libgcov-driver.c (crc32_unsigned): Remove.
47 (gcov_histogram_insert): Likewise.
48 (gcov_compute_histogram): Likewise.
49 (compute_summary): Simplify rapidly.
50 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
51 (merge_summary): Rapidly simplify.
52 (dump_one_gcov): Ignore gcov_summary.
53 (gcov_do_dump): Do not handle program summary, it's not
54 used.
55 * libgcov-util.c (tag_summary): Remove.
56 (read_gcda_finalize): Fix coding style.
57 (read_gcda_file): Initialize curr_object_summary.
58 (compute_summary): Remove.
59 (calculate_overlap): Remove settings of run_max.
60
61 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
62
63 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
64 ucontext_t type instead.
65 (nds32_fallback_frame_state): Remove struct _sigframe statement.
66
67 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
68
69 * config/nds32/t-nds32-glibc: New file.
70
71 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
72
73 * configure.ac (solaris_ld_v2_maps): New test.
74 * configure: Regenerate.
75 * Makefile.in (solaris_ld_v2_maps): New variable.
76 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
77 if supported.
78
79 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
80
81 PR target/86951
82 * config/arm/lib1funcs.asm (speculation_barrier): New function.
83 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
84 to build.
85
86 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
87
88 * config/unwind-dw2-fde-darwin.c
89 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
90 * config/darwin10-unwind-find-enc-func.c: … to here.
91 * config/t-darwin: Build Darwin10 unwinder shim crt.
92 * libgcc/config.host: Add the Darwin10 unwinder shim.
93
94 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
95
96 * config.host: Add crtbegin.o and crtend.o for
97 powerpc-wrs-vxworks target.
98
99 2018-08-17 Jojo <jijie_rong@c-sky.com>
100 Huibin Wang <huibin_wang@c-sky.com>
101 Sandra Loosemore <sandra@codesourcery.com>
102 Chung-Lin Tang <cltang@codesourcery.com>
103
104 C-SKY port: libgcc
105
106 * config.host: Add C-SKY support.
107 * config/csky/*: New.
108
109 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
110
111 * config/nds32/t-nds32-isr: Rearrange object dependency.
112 * config/nds32/initfini.c: Add dwarf2 unwinding support.
113 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
114 and registers usage.
115 * config/nds32/isr-library/excp_isr.S: Ditto.
116 * config/nds32/isr-library/intr_isr.S: Ditto.
117 * config/nds32/isr-library/reset.S: Ditto.
118 * config/nds32/isr-library/restore_all.inc: Ditto.
119 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
120 * config/nds32/isr-library/restore_partial.inc: Ditto.
121 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
122 * config/nds32/isr-library/save_all.inc: Ditto.
123 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
124 * config/nds32/isr-library/save_partial.inc: Ditto.
125 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
126 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
127
128 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
129
130 * config/pa/linux-atomic.c: Update comment.
131 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
132 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
133 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
134 __ATOMIC_RELAXED for atomic loads.
135 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
136 unordered store to release lock.
137 (__sync_lock_release_8): Likewise.
138 (SYNC_LOCK_RELEASE_2): Remove define.
139
140 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
141
142 PR libgcc/86512
143 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
144 exponent goes negative. Update my email address.
145 * config/arm/ieee754-sf.S: Likewise.
146
147 2018-08-01 Martin Liska <mliska@suse.cz>
148
149 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
150 check that __gcov_indirect_call_callee is non-null.
151
152 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
153
154 * config/arm/ieee754-df.S: Fix comment for code working on
155 architectures >= 4.
156 * config/arm/ieee754-sf.S: Likewise.
157
158 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
159
160 PR libgcc/85334
161 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
162 Removed.
163
164 2018-07-05 James Clarke <jrtc27@jrtc27.com>
165
166 * configure: Regenerated.
167
168 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
169
170 * Makefile.in (install_leaf): Use enable_gcov instead of
171 enable_libgcov.
172
173 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
174
175 * configure.ac: Add --disable-gcov option.
176 * configure: Regenerate.
177 * Makefile.in: Honour @enable_gcov@.
178
179 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
180
181 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
182 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
183 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
184 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
185 __ARM_ARCH__.
186 * config/arm/ieee754-sf.S: Likewise.
187 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
188
189 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
190
191 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
192 longer supported.
193 * config/arm/ieee754-sf.S: Likewise.
194
195 2018-06-20 Than McIntosh <thanm@google.com>
196
197 PR libgcc/86213
198 * generic-morestack.c (allocate_segment): Move calls to getenv and
199 getpagesize to __morestack_load_mmap.
200 (__morestack_load_mmap) Initialize static_pagesize and
201 use_guard_page here so as to avoid clobbering SSE regs during a
202 __morestack call.
203
204 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
205
206 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
207 support modules with -mno-gnu-attribute.
208 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
209
210 2018-06-07 Olivier Hainque <hainque@adacore.com>
211
212 * config/t-vxworks (LIBGCC_INCLUDES): Add
213 -I$(MULTIBUILDTOP)../../gcc/include.
214 * config/t-vxworks7: Likewise. Reformat a bit to match
215 the t-vxworks layout.
216
217 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
218
219 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
220
221 2018-06-07 Martin Liska <mliska@suse.cz>
222
223 * libgcov-driver.c: Rename cs_all to all and assign it from
224 all_prg.
225
226 2018-06-07 Martin Liska <mliska@suse.cz>
227
228 PR bootstrap/86057
229 * libgcov-driver-system.c (replace_filename_variables): Use
230 memcpy instead of mempcpy.
231 (allocate_filename_struct): Do not allocate filename, allocate
232 prefix and set it.
233 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
234 here and properly copy content into it.
235 * libgcov-driver.c (struct gcov_filename): Remove max_length
236 field, change prefix from size_t into char *.
237 (compute_summary): Do not calculate longest filename.
238 (gcov_do_dump): Release memory of gf.filename after each file.
239 * libgcov-util.c (compute_summary): Use new signature of
240 compute_summary.
241 (calculate_overlap): Likewise.
242
243 2018-06-05 Martin Liska <mliska@suse.cz>
244
245 PR gcov-profile/47618
246 * libgcov-driver-system.c (replace_filename_variables): New
247 function.
248 (gcov_exit_open_gcda_file): Use it.
249
250 2018-06-05 Martin Liska <mliska@suse.cz>
251
252 * libgcov-driver.c (gcov_compute_histogram): Remove usage
253 of gcov_ctr_summary.
254 (compute_summary): Do it just for a single summary.
255 (merge_one_data): Likewise.
256 (merge_summary): Simplify as we read just single summary.
257 (dump_one_gcov): Pass proper argument.
258 * libgcov-util.c (compute_one_gcov): Simplify as we have just
259 single summary.
260 (gcov_info_count_all_cold): Likewise.
261 (calculate_overlap): Likewise.
262
263 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
264 Monk Chiang <sh.chiang04@gmail.com>
265
266 * config.host (nds32*-linux*): New.
267 * config/nds32/linux-atomic.c: New file.
268 * config/nds32/linux-unwind.h: New file.
269
270 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
271
272 PR target/85591
273 * config/i386/cpuinfo.c (get_amd_cpu): Return
274 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
275
276 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
277
278 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
279
280 2018-05-29 Martin Liska <mliska@suse.cz>
281
282 PR gcov-profile/85759
283 * libgcov-driver-system.c (gcov_error): Introduce usage of
284 GCOV_EXIT_AT_ERROR env. variable.
285 * libgcov-driver.c (merge_one_data): Print error that we
286 overwrite a gcov file with a different timestamp.
287
288 2018-05-23 Kalamatee <kalamatee@gmail.com>
289
290 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
291 path to Lf$finfty.
292
293 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
294 Monk Chiang <sh.chiang04@gmail.com>
295 Jim Wilson <jimw@sifive.com>
296
297 * config/riscv/save-restore.S: Add support for rv32e.
298
299 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
300
301 * config/arm/libunwind.S: Update comment relating to armv5.
302
303 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
304
305 * config/arm/cmse.c (cmse_check_address_range): Replace
306 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
307
308 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
309
310 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
311 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
312
313 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
314
315 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
316 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
317
318 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
319
320 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
321
322 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
323 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
324
325 PR libgcc/84292
326 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
327 op_and_fetch to return the right result.
328
329 2018-04-27 Alan Modra <amodra@gmail.com>
330
331 PR libgcc/85532
332 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
333 -fno-asynchronous-unwind-tables.
334
335 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
336
337 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
338 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
339
340 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
341
342 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
343 when including "config/i386/shadow-stack-unwind.h".
344
345 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
346
347 * configure: Regenerated.
348
349 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
350
351 PR target/85456
352 * config/rs6000/_powikf2.c: New file. Add support for the
353 __builtin_powil function when long double is IEEE 128-bit floating
354 point.
355 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
356 __powikf2 support.
357 (__powikf2): Likewise.
358 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
359 (__powikf2_hw): Likewise.
360 (__powikf2): Likewise.
361 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
362 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
363 (_powikf2-hw.c): Likewise.
364
365 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
366
367 PR libgcc/85334
368 * unwind-generic.h (_Unwind_Frames_Increment): New.
369 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
370 Likewise.
371 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
372 count with _Unwind_Frames_Increment.
373 (_Unwind_ForcedUnwind_Phase2): Likewise.
374
375 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
376
377 PR libgcc/85379
378 * config/i386/morestack.S (__stack_split_initialize): Add
379 _CET_ENDBR.
380
381 2018-04-19 Jakub Jelinek <jakub@redhat.com>
382
383 * configure: Regenerated.
384
385 2018-04-18 David Malcolm <dmalcolm@redhat.com>
386
387 PR jit/85384
388 * configure: Regenerate.
389
390 2018-04-16 Jakub Jelinek <jakub@redhat.com>
391
392 PR target/84945
393 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
394 -Wdangling-else warnings. Mask shift counts to avoid
395 -Wshift-count-negative and -Wshift-count-overflow false positives.
396
397 2018-04-06 Ruslan Bukin <br@bsdpad.com>
398
399 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
400
401 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
402
403 PR target/85100
404 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
405 (XSTATE_FP): Likewise.
406 (XSTATE_SSE): Likewise.
407 (XSTATE_YMM): Likewise.
408 (XSTATE_OPMASK): Likewise.
409 (XSTATE_ZMM): Likewise.
410 (XSTATE_HI_ZMM): Likewise.
411 (XCR_AVX_ENABLED_MASK): Likewise.
412 (XCR_AVX512F_ENABLED_MASK): Likewise.
413 (get_available_features): Enable AVX and AVX512 features only
414 if their states are supported by OSXSAVE.
415
416 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
417
418 PR target/85025
419 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
420 Fix a typo, tmp => 255.
421
422 2018-03-20 Jakub Jelinek <jakub@redhat.com>
423
424 PR target/84945
425 * config/i386/cpuinfo.h (__cpu_features2): Declare.
426 * config/i386/cpuinfo.c (__cpu_features2): New variable for
427 ifndef SHARED only.
428 (set_feature): Define.
429 (get_available_features): Use set_feature macro. Set __cpu_features2
430 to the second word of features ifndef SHARED.
431
432 2018-03-15 Julia Koval <julia.koval@intel.com>
433
434 * config/i386/cpuinfo.c (get_available_features): Add
435 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
436 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
437 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
438 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
439 FEATURE_AVX512BITALG.
440
441 2018-03-14 Julia Koval <julia.koval@intel.com>
442
443 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
444 icelake client and icelake server.
445
446 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
447
448 * config/pa/fptr.c (_dl_read_access_allowed): New.
449 (__canonicalize_funcptr_for_compare): Use it.
450
451 2018-02-28 Jakub Jelinek <jakub@redhat.com>
452
453 PR debug/83917
454 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
455 $asm_hidden_op if visibility ("hidden") attribute works.
456 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
457 * config/i386/i386-asm.h: Don't include auto-host.h.
458 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
459 PACKAGE_URL): Don't undefine.
460 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
461 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
462 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
463 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
464 definition instead of hardcoded .hidden.
465 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
466 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
467 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
468 (USE_GAS_CFI_DIRECTIVES): Don't define.
469 * configure: Regenerated.
470 * config.in: Likewise.
471
472 2018-02-26 Jakub Jelinek <jakub@redhat.com>
473
474 PR debug/83917
475 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
476 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
477 inclusion of auto-target.h and auto-host.h.
478 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
479 __GCC_HAVE_DWARF2_CFI_ASM.
480 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
481 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
482 cfi_pop): Define.
483 * config/i386/cygwin.S: Don't include auto-host.h here, just
484 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
485 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
486 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
487 * config/i386/resms64fx.h: Add cfi_* directives.
488 * config/i386/resms64x.h: Likewise.
489
490 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
491
492 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
493 .literal_position directive.
494 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
495
496 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
497
498 PR target/84148
499 * configure: Regenerate.
500
501 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
502
503 PR target/84239
504 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
505 Include cetintrin.h not x86intrin.h.
506
507 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
508
509 PR target/84239
510 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
511 Use new _get_ssp and _inc_ssp intrinsics.
512
513 2018-02-02 Julia Koval <julia.koval@intel.com>
514
515 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
516
517 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
518
519 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
520 option.
521 (__divsi3): Use RF16 safe registers.
522 (__modsi3): Likewise.
523
524 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
525
526 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
527 (__divsf3): Make NaN return value quiet.
528 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
529 (__divdf3): Make NaN return value quiet.
530
531 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
532
533 * config/rl78/anddi3.S: New assembly file.
534 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
535
536 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
537
538 * config/rl78/umindi3.S: New assembly file.
539 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
540
541 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
542
543 * config/rl78/smindi3.S: New assembly file.
544 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
545
546 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
547
548 * config/rl78/smaxdi3.S: New assembly file.
549 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
550
551 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
552
553 * config/rl78/umaxdi3.S: New assembly file.
554 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
555
556 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
557
558 PR lto/83452
559 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
560 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
561
562 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
563
564 * config/aarch64/value-unwind.h (aarch64_vg): New function.
565 (DWARF_LAZY_REGISTER_VALUE): Define.
566 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
567 to provide a fallback register value.
568
569 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
570
571 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
572 __ibm128, instead of trying to use long double.
573 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
574 accomidate -mabi=ieeelongdouble multilibs.
575 (CVT_IBM128_TO_FLOAT128): Likewise.
576 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
577 the appropriate IBM extended double type.
578 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
579 (__gcc_qsub): Likewise.
580 (__gcc_qmul): Likewise.
581 (__gcc_qdiv): Likewise.
582 (pack_ldouble): Likewise.
583 (__gcc_qneg): Likewise.
584 (__gcc_qeq): Likewise.
585 (__gcc_qne): Likewise.
586 (__gcc_qge): Likewise.
587 (__gcc_qle): Likewise.
588 (__gcc_stoq): Likewise.
589 (__gcc_dtoq): Likewise.
590 (__gcc_itoq): Likewise.
591 (__gcc_utoq): Likewise.
592 (__gcc_qunord): Likewise.
593 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
594 quad-float128.h for the definitions.
595 (COPYSIGN): Use the f128 version instead of the q version.
596 (INFINITY): Likewise.
597 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
598 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
599 quad-float128.h for the definitions.
600 (COPYSIGN): Use the f128 version instead of the q version.
601 (INFINITY): Likewise.
602 (FABS): Likewise.
603 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
604 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
605 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
606
607 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
608
609 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
610 configuration.
611
612 2018-01-03 Jakub Jelinek <jakub@redhat.com>
613
614 Update copyright years.
615
616 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
617
618 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
619 * config/riscv/multi3.c: New file.
620 * config/riscv/multi3.S: Remove.
621
622 2017-12-08 Jim Wilson <jimw@sifive.com>
623
624 * config/riscv/div.S: Use FUNC_* macros.
625 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
626 * config/riscv/save-restore.S: Likewise.
627 * config/riscv/riscv-asm.h: New.
628
629 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
630
631 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
632 * config/rs6000/_divkc3.c (__divkc3): Likewise.
633
634 PR libgcc/83112
635 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
636 correct type for all ifunc resolvers to silence -Wattribute-alias
637 warnings. Eliminate the forward declaration of the resolver
638 functions which is no longer needed.
639 (__subkf3_resolve): Likewise.
640 (__mulkf3_resolve): Likewise.
641 (__divkf3_resolve): Likewise.
642 (__negkf2_resolve): Likewise.
643 (__eqkf2_resolve): Likewise.
644 (__nekf2_resolve): Likewise.
645 (__gekf2_resolve): Likewise.
646 (__gtkf2_resolve): Likewise.
647 (__lekf2_resolve): Likewise.
648 (__ltkf2_resolve): Likewise.
649 (__unordkf2_resolve): Likewise.
650 (__extendsfkf2_resolve): Likewise.
651 (__extenddfkf2_resolve): Likewise.
652 (__trunckfsf2_resolve): Likewise.
653 (__trunckfdf2_resolve): Likewise.
654 (__fixkfsi_resolve): Likewise.
655 (__fixkfdi_resolve): Likewise.
656 (__fixunskfsi_resolve): Likewise.
657 (__fixunskfdi_resolve): Likewise.
658 (__floatsikf_resolve): Likewise.
659 (__floatdikf_resolve): Likewise.
660 (__floatunsikf_resolve): Likewise.
661 (__floatundikf_resolve): Likewise.
662 (__extendkftf2_resolve): Likewise.
663 (__trunctfkf2_resolve): Likewise.
664
665 PR libgcc/83103
666 * config/rs6000/quad-float128.h (TF): Don't define if long double
667 is IEEE 128-bit floating point.
668 (TCtype): Define as either TCmode or KCmode, depending on whether
669 long double is IEEE 128-bit floating point.
670 (__mulkc3_sw): Add declarations for software/hardware versions of
671 complex multiply/divide.
672 (__divkc3_sw): Likewise.
673 (__mulkc3_hw): Likewise.
674 (__divkc3_hw): Likewise.
675 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
676 handlers to switch between using software emulation and hardware
677 float128 instructions, build the complex multiply/divide functions
678 for both software and hardware support.
679 * config/rs6000/_divkc3.c (_divkc3): Likewise.
680 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
681 (__divkc3_resolve): Likewise.
682 (__mulkc3): Likewise.
683 (__divkc3): Likewise.
684 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
685 (fp128_hw_src): Likewise.
686 (fp128_hw_static_obj): Likewise.
687 (fp128_hw_shared_obj): Likewise.
688 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
689 _mulkc3.c and _divkc3.c, changing the function name.
690 (_divkc3-hw.c): Likewise.
691 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
692 and _divkc3-hw.c.
693
694 2017-11-26 Julia Koval <julia.koval@intel.com>
695
696 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
697 * config/i386/cpuinfo.h (processor_subtypes): Add
698 INTEL_COREI7_CANNONLAKE.
699
700 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
701
702 PR bootstrap/83015
703 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
704 parameter.
705 * config/xtensa/unwind-dw2-xtensa.c: Likewise
706 * config/ia64/unwind-ia64.c: Add frames parameter.
707 * unwind-sjlj.c: Likewise.
708
709 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
710
711 * config/i386/linux-unwind.h: Include
712 config/i386/shadow-stack-unwind.h.
713 * config/i386/shadow-stack-unwind.h: New file.
714 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
715 pass it to _Unwind_Frames_Extra.
716 * unwind-generic.h (_Unwind_Frames_Extra): New.
717 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
718 parameter. Add local variable frames to count number of frames.
719 (_Unwind_ForcedUnwind_Phase2): Likewise.
720 (_Unwind_RaiseException): Add local variable frames to count
721 number of frames, pass it to _Unwind_RaiseException_Phase2 and
722 uw_install_context.
723 (_Unwind_ForcedUnwind): Likewise.
724 (_Unwind_Resume): Likewise.
725 (_Unwind_Resume_or_Rethrow): Likewise.
726
727 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
728
729 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
730 (CET_FLAGS): New.
731 * config/i386/morestack.S: Include <cet.h>.
732 (__morestack_large_model): Add _CET_ENDBR at function entrance.
733 * config/i386/resms64.h: Include <cet.h>.
734 * config/i386/resms64f.h: Likewise.
735 * config/i386/resms64fx.h: Likewise.
736 * config/i386/resms64x.h: Likewise.
737 * config/i386/savms64.h: Likewise.
738 * config/i386/savms64f.h: Likewise.
739 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
740 (CRTSTUFF_T_CFLAGS): Likewise.
741 * configure.ac: Include ../config/cet.m4.
742 Set and substitute CET_FLAGS.
743 * configure: Regenerated.
744
745 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
746
747 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
748 renaming.
749 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
750 * configure.ac (libgcc_cv_solaris_crts): Likewise.
751 * configure: Regenerate.
752
753 2017-11-07 Tom de Vries <tom@codesourcery.com>
754
755 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
756 after "do {} while (0)".
757
758 2017-11-07 Tom de Vries <tom@codesourcery.com>
759
760 PR other/82784
761 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
762 semicolon after "do {} while (0)".
763 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
764 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
765 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
766 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
767
768 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
769
770 PR libgcc/82635
771 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
772 sysctl to determine whether we're in a trampoline.
773 Keep the pattern matching method for systems without
774 KERN_PROC_SIGTRAMP sysctl.
775
776 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
777 Vineet Gupta <vgupta@synopsys.com>
778
779 * config.host (arc*-*-linux*): Set md_unwind_header variable.
780 * config/arc/linux-unwind-reg.def: New file.
781 * config/arc/linux-unwind-reg.h: Likewise.
782
783 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
784
785 * config/rl78/subdi3.S: New assembly file.
786 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
787
788 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
789
790 * config/rl78/adddi3.S: New assembly file.
791 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
792
793 2017-10-13 Jakub Jelinek <jakub@redhat.com>
794
795 PR target/82274
796 * libgcc2.c (__mulvDI3): If both operands have
797 the same highpart of -1 and the topmost bit of lowpart is 0,
798 multiplication overflows even if both lowparts are 0.
799
800 2017-09-28 James Bowman <james.bowman@ftdichip.com>
801
802 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
803
804 2017-09-26 Joseph Myers <joseph@codesourcery.com>
805
806 * config/microblaze/crti.S, config/microblaze/crtn.S,
807 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
808 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
809 config/microblaze/mulsi3.S,
810 config/microblaze/stack_overflow_exit.S,
811 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
812 config/pa/milli64.S: Add .note.GNU-stack section.
813
814 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
815
816 * configure.ac: Add Check for HAVE_AS_AVX.
817 * config.in: Regenerate.
818 * configure: Likewise.
819 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
820 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
821 Correct out-of-date comments.
822
823 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
824
825 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
826 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
827
828 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
829
830 * config/i386/i386-asm.h (PASTE2): New macro.
831 (ASMNAME): Modify to use PASTE2.
832 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
833 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
834 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
835 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
836 * config/i386/resms64f.S: Likewise.
837 * config/i386/resms64fx.S: Likewise.
838 * config/i386/resms64x.S: Likewise.
839 * config/i386/savms64.S: Likewise.
840 * config/i386/savms64f.S: Likewise.
841 * config/i386/avx_resms64.S: New file that only defines a macro and
842 includes it's corresponding header file.
843 * config/i386/avx_resms64f.S: Likewise.
844 * config/i386/avx_resms64fx.S: Likewise.
845 * config/i386/avx_resms64x.S: Likewise.
846 * config/i386/avx_savms64.S: Likewise.
847 * config/i386/avx_savms64f.S: Likewise.
848 * config/i386/sse_resms64.S: Likewise.
849 * config/i386/sse_resms64f.S: Likewise.
850 * config/i386/sse_resms64fx.S: Likewise.
851 * config/i386/sse_resms64x.S: Likewise.
852 * config/i386/sse_savms64.S: Likewise.
853 * config/i386/sse_savms64f.S: Likewise.
854 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
855
856 2017-09-01 Olivier Hainque <hainque@adacore.com>
857 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
858
859 2017-08-31 Olivier Hainque <hainque@adacore.com>
860
861 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
862 match as powerpc-wrs-vxworks*.
863
864 2017-08-07 Jonathan Yong <10walls@gmail.com>
865
866 * config.host (*-cygwin): Include file from mingw
867 config/i386/enable-execute-stack-mingw32.c
868
869 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
870 Doug Rupp <rupp@adacore.com>
871 Olivier Hainque <hainque@adacore.com>
872
873 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
874 as well as arm-wrs-vxworks.
875 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
876 LIB2ADDEH.
877 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
878 __exidx_start and __exidx_end for downloadable modules.
879
880 2017-08-01 Olivier Hainque <hainque@adacore.com>
881
882 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
883 * config/t-vxworks7: Likewise.
884
885 2017-08-01 Olivier Hainque <hainque@adacore.com>
886
887 * config/t-vxworks: Instead of redefining LIB2ADD,
888 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
889
890 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
891
892 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
893
894 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
895
896 PR testsuite/80759
897 * config.host: include i386/t-msabi for darwin and solaris.
898 * config/i386/i386-asm.h
899 (ELFFN): Rename to FN_TYPE.
900 (FN_SIZE): New macro.
901 (FN_HIDDEN): Likewise.
902 (ASMNAME): Likewise.
903 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
904 .globl.
905 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
906 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
907 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
908 .macro.
909 * config/i386/resms64f.S: Likewise.
910 * config/i386/resms64fx.S: Likewise.
911 * config/i386/resms64x.S: Likewise.
912 * config/i386/savms64.S: Likewise.
913 * config/i386/savms64f.S: Likewise.
914
915 2017-07-19 John Marino <gnugcc@marino.st>
916
917 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
918
919 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
920
921 PR target/81193
922 * configure.ac (PowerPC float128 hardware support): Test whether
923 we can use __builtin_cpu_supports before enabling the ifunc
924 handler.
925 * configure: Regenerate.
926
927 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
928
929 * config.host: Remove uclibc from arc target spec.
930
931 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
932
933 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
934
935 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
936
937 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
938 (have_ieee_hw_p): Delete function.
939 (SW_OR_HW) Use __builtin_cpu_supports().
940
941 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
942
943 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
944
945 2017-07-03 Olivier Hainque <hainque@adacore.com>
946
947 * config/t-vxworks7: New file, really.
948
949 2017-06-28 Joseph Myers <joseph@codesourcery.com>
950
951 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
952 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
953 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
954 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
955 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
956 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
957 config/pa/linux-unwind.h (pa32_fallback_frame_state),
958 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
959 config/sh/linux-unwind.h (sh_fallback_frame_state),
960 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
961 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
962 ucontext_t instead of struct ucontext.
963
964 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
965
966 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
967 (x86_64-wrs-vxworks7): Likewise.
968
969 2017-06-27 Olivier Hainque <hainque@adacore.com>
970
971 * config/t-vxworks7: New file.
972 * config.host (*-*-vxworks7): Use it.
973
974 2017-06-22 Matt Turner <mattst88@gmail.com>
975
976 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
977 skylake case.
978
979 2017-06-21 Richard Biener <rguenther@suse.de>
980
981 PR gcov-profile/81080
982 * configure.ac: Add AC_SYS_LARGEFILE.
983 * libgcov.h: Include auto-target.h before tsystem.h to pick
984 up _FILE_OFFSET_BITS which might differ for multilibs.
985 * config.in: Regenerate.
986 * configure: Likewise.
987
988 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
989
990 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
991
992 2017-06-09 Martin Liska <mliska@suse.cz>
993
994 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
995 Reset __gcov_indirect_call_callee to NULL.
996
997 2017-06-08 Olivier Hainque <hainque@adacore.com>
998
999 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1000 the set of -I options, support for direct inclusions of net/uio.h
1001 by VxWorks header files via ioLib.h.
1002
1003 2017-06-07 Tony Reix <tony.reix@atos.net>
1004 Matthieu Sarter <matthieu.sarter.external@atos.net>
1005 David Edelsohn <dje.gcc@gmail.com>
1006
1007 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1008 unconditionally.
1009 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1010 AIX 7.2 support.
1011
1012 2017-06-02 Olivier Hainque <hainque@adacore.com>
1013
1014 * config/vxlib.c (__gthread_once): Add missing value to
1015 return statement.
1016
1017 2017-05-30 Olivier Hainque <hainque@adacore.com>
1018
1019 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1020 dollar sign before $(MULTIDIR).
1021
1022 2017-05-26 Richard Henderson <rth@redhat.com>
1023
1024 PR libgcc/80037
1025 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1026
1027 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1028
1029 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1030 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1031 * config/arm/unwind-arm.c: Implement the above.
1032
1033 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1034
1035 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1036 section for a non-executable stack.
1037
1038 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1039
1040 PR target/80600
1041 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1042
1043 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
1044
1045 * config.host: Add i386/t-msabi to i386/t-linux file list.
1046 * config/i386/i386-asm.h: New file.
1047 * config/i386/resms64.S: New file.
1048 * config/i386/resms64f.S: New file.
1049 * config/i386/resms64fx.S: New file.
1050 * config/i386/resms64x.S: New file.
1051 * config/i386/savms64.S: New file.
1052 * config/i386/savms64f.S: New file.
1053 * config/i386/t-msabi: New file.
1054
1055 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1056
1057 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1058 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1059
1060 2017-05-05 Joshua Conner <joshconner@google.com>
1061
1062 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1063 pc-relative indirect handling for fuchsia.
1064 * config/t-slibgcc-fuchsia: New file.
1065 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
1066 x86_64-*-fuchsia*): Add definitions.
1067
1068 2017-04-19 Martin Liska <mliska@suse.cz>
1069
1070 PR gcov-profile/80435
1071 * Makefile.in: Install gcov.h.
1072 * gcov.h: New file.
1073 * libgcov.h: Use the header and make __gcov_flush publicly
1074 visible.
1075
1076 2017-04-18 Martin Liska <mliska@suse.cz>
1077
1078 PR gcov-profile/78783
1079 * libgcov-driver.c (gcov_get_filename): New function.
1080
1081 2017-04-07 Jeff Law <law@redhat.com>
1082
1083 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1084 target makefile fragment.
1085 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1086
1087 2017-04-07 Alan Modra <amodra@gmail.com>
1088
1089 PR target/45053
1090 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1091
1092 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
1093
1094 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1095
1096 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1097
1098 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1099
1100 2017-03-10 John Marino <gnugcc@marino.st>
1101
1102 * config/aarch64/freebsd-unwind.h: New file.
1103 * config.host: Add aarch64-*-freebsd unwinder.
1104
1105 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1106
1107 * config/rs6000/crtrestvr.s: Use .machine altivec.
1108 * config/rs6000/crtsavevr.s: Ditto.
1109
1110 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1111
1112 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1113 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1114 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1115 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1116 * configure: Regenerate.
1117 * config.in: Regenerate.
1118
1119 2017-03-02 Jonathan Yong <10walls@gmail.com>
1120
1121 * config/i386/gthr-win32.h: Define NOGDI before
1122 windows.h include to prevent w32api CC_NONE macro
1123 clash with libgfortran.
1124
1125 2017-03-02 Jonathan Yong <10walls@gmail.com>
1126
1127 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1128
1129 2017-02-16 Andrew Pinski <apinski@cavium.com>
1130
1131 * config/aarch64/value-unwind.h: New file.
1132 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1133 to tm_file.
1134
1135 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1136
1137 * config.host: Add RISC-V tuples.
1138 * config/riscv/atomic.c: New file.
1139 * config/riscv/crti.S: Likewise.
1140 * config/riscv/crtn.S: Likewise.
1141 * config/riscv/div.S: Likewise.
1142 * config/riscv/linux-unwind.h: Likewise.
1143 * config/riscv/muldi3.S: Likewise.
1144 * config/riscv/multi3.S: Likewise.
1145 * config/riscv/save-restore.S: Likewise.
1146 * config/riscv/sfp-machine.h: Likewise.
1147 * config/riscv/t-elf: Likewise.
1148 * config/riscv/t-elf32: Likewise.
1149 * config/riscv/t-elf64: Likewise.
1150 * config/riscv/t-softfp32: Likewise.
1151 * config/riscv/t-softfp64: Likewise.
1152
1153 2017-01-24 Jakub Jelinek <jakub@redhat.com>
1154
1155 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1156 /* FALLTHRU */ comments.
1157
1158 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1159
1160 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1161
1162 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1163
1164 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1165 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1166 DW_CFA_GNU_window_save for AArch64 and LP64.
1167
1168 2017-01-20 Jiong Wang <jiong.wang@arm.com>
1169
1170 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1171
1172 2017-01-19 Jiong Wang <jiong.wang@arm.com>
1173
1174 * config/aarch64/aarch64-unwind.h: New file.
1175 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1176 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1177 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1178 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1179 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1180 (aarch64_post_extract_frame_addr): New function.
1181 (aarch64_post_frob_eh_handler_addr): New function.
1182 (aarch64_frob_update_context): New function.
1183 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1184 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1185 aarch64*-*-freebsd*):
1186 Initialize md_unwind_header to include aarch64-unwind.h.
1187 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1188 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1189 __aarch64__.
1190 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1191 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1192 (uw_frob_return_addr): New function.
1193 (uw_install_context): Use uw_frob_return_addr.
1194
1195 2017-01-17 Jakub Jelinek <jakub@redhat.com>
1196
1197 PR other/79046
1198 * configure.ac: Add GCC_BASE_VER.
1199 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1200 version from BASE-VER file.
1201 * configure: Regenerated.
1202
1203 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
1204
1205 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1206 libmul_f5.a): Filter archived prerequisites.
1207
1208 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
1209
1210 * config/i386/cpuinfo.h (processor_features): Add
1211 FEATURE_AVX512VPOPCNTDQ.
1212 * config/i386/cpuinfo.c (get_available_features): Habdle new
1213 feature.
1214
1215 2017-01-04 Joseph Myers <joseph@codesourcery.com>
1216
1217 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
1218 payload if [__mips_nan2008].
1219
1220 2017-01-04 Alan Modra <amodra@gmail.com>
1221
1222 * Makefile.in (configure_deps): Update.
1223 * configure: Regenerate.
1224
1225 2017-01-01 Jakub Jelinek <jakub@redhat.com>
1226
1227 Update copyright years.
1228
1229 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
1230
1231 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
1232 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
1233 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
1234
1235 2016-12-17 Matthias Klose <doko@ubuntu.com>
1236
1237 * config/arc/gmon: Remove empty directory.
1238
1239 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
1240
1241 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
1242 crtgend.
1243 (arc*-*-elf*): Likewise.
1244 * config/arc/t-arc: Remove old gmon lib targets.
1245 * config/arc/crtg.S: Remove.
1246 * config/arc/crtgend.S: Likewise.
1247 * config/arc/gmon/atomic.h: Likewise.
1248 * config/arc/gmon/auxreg.h: Likewise.
1249 * config/arc/gmon/dcache_linesz.S: Likewise.
1250 * config/arc/gmon/gmon.c: Likewise.
1251 * config/arc/gmon/machine-gmon.h: Likewise.
1252 * config/arc/gmon/mcount.c: Likewise.
1253 * config/arc/gmon/prof-freq-stub.S: Likewise.
1254 * config/arc/gmon/prof-freq.c: Likewise.
1255 * config/arc/gmon/profil.S: Likewise.
1256 * config/arc/gmon/sys/gmon.h: Likewise.
1257 * config/arc/gmon/sys/gmon_out.h: Likewise.
1258 * config/arc/t-arc-newlib: Likewise.
1259 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
1260
1261 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1262
1263 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
1264
1265 2016-12-12 George Spelvin <linux@sciencehorizons.net>
1266
1267 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
1268 R16 instead of push + pop.
1269 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
1270
1271 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
1272
1273 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
1274 tmake_file.
1275
1276 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
1277
1278 * config.host (arc*-*-linux-uclibc*): Use default extra
1279 objects. Include linux-android header.
1280 * config/arc/crti.S (_init): Declare symbol as function.
1281 (_fini): Likewise.
1282
1283 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
1284
1285 PR fortran/78379
1286 * config/i386/cpuinfo.c: Move denums for processor vendors,
1287 processor type, processor subtypes and declaration of
1288 struct __processor_model into
1289 * config/i386/cpuinfo.h: New header file.
1290
1291 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1292 Thomas Preud'homme <thomas.preudhomme@arm.com>
1293
1294 * config/arm/cmse_nonsecure_call.S: New.
1295 * config/arm/t-arm: Compile cmse_nonsecure_call.S
1296
1297 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
1298 Thomas Preud'homme <thomas.preudhomme@arm.com>
1299
1300 * config/arm/t-arm (HAVE_CMSE): New.
1301 * config/arm/cmse.c: New.
1302
1303 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
1304
1305 PR gcc/74748
1306 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
1307 use generic linker version information on Blackfin.
1308
1309 PR gcc/74748
1310 * libgcc/mkmap-symver.awk: add support for skip_underscore
1311
1312 2016-11-27 Iain Sandoe <iain@codesourcery.com>
1313 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1314
1315 PR target/67710
1316 * config/t-darwin: Default builds to 10.5 codegen.
1317
1318 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
1319
1320 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
1321 (_FP_NANSIGN_H): Likewise.
1322 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
1323 (softfp_truncations): Add tfhf.
1324 (softfp_extras): Add required conversion functions.
1325
1326 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1327 Matthew Wahab <matthew.wahab@arm.com>
1328
1329 * config/arm/fp16.c (binary64): New.
1330 (__gnu_d2h_internal): New.
1331 (__gnu_d2h_ieee): New.
1332 (__gnu_d2h_alternative): New.
1333
1334 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1335 Matthew Wahab <matthew.wahab@arm.com>
1336
1337 * config/arm/fp16.c (struct format): New.
1338 (binary32): New.
1339 (__gnu_float2h_internal): New. Body moved from
1340 __gnu_f2h_internal and generalize.
1341 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
1342 Call it with binary32.
1343
1344 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
1345
1346 * soft-fp/extendhftf2.c: Update from glibc.
1347 * soft-fp/fixhfti.c: Likewise.
1348 * soft-fp/fixunshfti.c: Likewise.
1349 * soft-fp/floattihf.c: Likewise.
1350 * soft-fp/floatuntihf.c: Likewise.
1351 * soft-fp/half.h: Likewise.
1352 * soft-fp/trunctfhf2.c: Likewise.
1353
1354 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
1355
1356 PR libgcc/77813
1357 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
1358 __TMC_END__ behind a passthrough asm.
1359
1360 2016-11-18 Walter Lee <walt@tilera.com>
1361
1362 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1363
1364 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
1365
1366 * config/i386/cpuinfo.c (processor_features): Add
1367 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
1368
1369 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
1370
1371 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
1372 (__ARC_NORM__): Use instead ARC_OPTFPE.
1373 * config/arc/fp-hack.h: Likewise.
1374 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
1375 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
1376
1377 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
1378
1379 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
1380 * config/nvptx/mgomp.c: New file.
1381 * config/nvptx/t-nvptx: Add mgomp.c
1382
1383 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
1384
1385 PR libgcc/68468
1386 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
1387
1388 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
1389
1390 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
1391 of checking for cpus.
1392 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
1393 (__modsi3, __clzsi2): Likewise.
1394
1395 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
1396
1397 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
1398 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
1399 * config/i386/t-cpuinfo-static: New.
1400
1401 2016-11-03 Martin Liska <mliska@suse.cz>
1402
1403 * libgcov-profiler.c (__gcov_time_profiler): Remove.
1404 (__gcov_time_profiler_atomic): Likewise.
1405
1406 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
1407
1408 PR libgcc/78067
1409 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
1410 count_leading_zeros.
1411
1412 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
1413
1414 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
1415 * libgcc2.c (__divmoddi4): New function.
1416 * libgcc2.h (__divmoddi4): Declare.
1417 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
1418 and __PFX_divmodti4.
1419
1420 2016-10-24 Florian Weimer <fweimer@redhat.com>
1421
1422 PR libgcc/78064
1423 * unwind-c.c: Include auto-target.h.
1424
1425 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
1426
1427 * config/pa/pa64-hpux-lib.h: New file.
1428 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
1429 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
1430 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
1431 hppa*64*-*-hpux11*.
1432
1433 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
1434
1435 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1436 definition.
1437 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
1438 definition.
1439 * config/xtensa/t-windowed (LIB2ADDEH): Use
1440 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
1441 or xtensa/t-linux.
1442
1443 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
1444
1445 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
1446 __ieee754_sqrt): New functions.
1447 (__divdf3): Add implementation with new FPU instructions under
1448 #if XCHAL_HAVE_DFP_DIV.
1449 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
1450 __ieee754_sqrtf): New functions.
1451 (__divsf3): Add implementation with new FPU instructions under
1452 #if XCHAL_HAVE_FP_DIV.
1453 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
1454 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
1455
1456 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1457
1458 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
1459 equivalent.
1460 * config/tilepro/atomic.c: Likewise and stop casting model to
1461 enum memmodel.
1462
1463 2016-10-10 Joseph Myers <joseph@codesourcery.com>
1464
1465 PR target/77586
1466 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
1467 soft-fp.
1468
1469 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
1470
1471 * config.host: Add support for aarch64-*-freebsd*.
1472
1473 2016-10-05 Andreas Schwab <schwab@suse.de>
1474
1475 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
1476 (.section .init_array): Don't call __do_jv_register_classes.
1477 (.section .init): Likewise.
1478
1479 2016-10-04 Jakub Jelinek <jakub@redhat.com>
1480
1481 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
1482 (__JCR_LIST__): Remove.
1483 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
1484 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
1485 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
1486 * config/ia64/crtend.S (__JCR_END__): Remove.
1487 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
1488 conditionals.
1489 (__JCR_LIST__, __JCR_END__): Remove.
1490 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
1491 (__do_global_ctors_1): Likewise.
1492
1493 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
1494
1495 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
1496 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
1497
1498 2016-09-27 Martin Liska <mliska@suse.cz>
1499
1500 PR gcov-profile/7970
1501 PR gcov-profile/16855
1502 PR gcov-profile/44779
1503 * libgcov-driver.c (__gcov_init): Do not register a atexit
1504 handler.
1505 (__gcov_exit): Rename from gcov_exit.
1506 * libgcov.h (__gcov_exit): Declare.
1507
1508 2016-09-27 Martin Liska <mliska@suse.cz>
1509
1510 PR bootstrap/77749
1511 * Makefile.in: Remove _gcov_merge_delta.
1512 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1513 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1514 * libgcov.h: Remove declaration of __gcov_merge_delta.
1515
1516 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1517
1518 * configure.ac: Do not create links, only substitute the filenames.
1519 * configure: Regenerate.
1520 * Makefile.in: Assign the substitution results to variables.
1521 (LIBGCC_LINKS): Define.
1522 (enable-execute-stack.c): New rule.
1523 (unwind.h): Likewise.
1524 (md-unwind-support.h): Likewise.
1525 (sfp-machine.h): Likewise.
1526 (gthr-default.h): Likewise.
1527 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1528 unwind.h as prerequisite of install-unwind_h-forbuild.
1529
1530 2016-09-16 Jakub Jelinek <jakub@redhat.com>
1531
1532 PR libgcc/71744
1533 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1534 is not the primary registry and atomics are available.
1535 (any_objects_registered): New variable.
1536 (__register_frame_info_bases, __register_frame_info_table_bases):
1537 Atomically store 1 to any_objects_registered after registering first
1538 unwind info.
1539 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1540
1541 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1542
1543 PR target/63250
1544 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1545 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1546 (HFtype): Likewise.
1547 (HCtype): Likewise.
1548 (__divhc3): Likewise.
1549 (__mulhc3): Likewise.
1550 * libgcc2.c: Support _mulhc3 and _divhc3.
1551
1552 2016-09-07 Joseph Myers <joseph@codesourcery.com>
1553
1554 PR libgcc/77519
1555 * libgcc2.c (NOTRUNC): Invert settings.
1556
1557 2016-09-06 Martin Liska <mliska@suse.cz>
1558
1559 PR gcov-profile/77378
1560 PR gcov-profile/77466
1561 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1562 conditionaly enable/disable *_atomic functions.
1563
1564 2016-08-26 Joseph Myers <joseph@codesourcery.com>
1565
1566 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1567 where not already enabled.
1568
1569 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1570
1571 * config/mips/linux-unwind.h: Use sys/syscall.h.
1572
1573 2016-08-16 Joseph Myers <joseph@codesourcery.com>
1574
1575 PR libgcc/77265
1576 * soft-fp/adddf3.c: Update from glibc.
1577 * soft-fp/addsf3.c: Likewise.
1578 * soft-fp/addtf3.c: Likewise.
1579 * soft-fp/divdf3.c: Likewise.
1580 * soft-fp/divsf3.c: Likewise.
1581 * soft-fp/divtf3.c: Likewise.
1582 * soft-fp/double.h: Likewise.
1583 * soft-fp/eqdf2.c: Likewise.
1584 * soft-fp/eqsf2.c: Likewise.
1585 * soft-fp/eqtf2.c: Likewise.
1586 * soft-fp/extenddftf2.c: Likewise.
1587 * soft-fp/extended.h: Likewise.
1588 * soft-fp/extendsfdf2.c: Likewise.
1589 * soft-fp/extendsftf2.c: Likewise.
1590 * soft-fp/extendxftf2.c: Likewise.
1591 * soft-fp/fixdfdi.c: Likewise.
1592 * soft-fp/fixdfsi.c: Likewise.
1593 * soft-fp/fixdfti.c: Likewise.
1594 * soft-fp/fixsfdi.c: Likewise.
1595 * soft-fp/fixsfsi.c: Likewise.
1596 * soft-fp/fixsfti.c: Likewise.
1597 * soft-fp/fixtfdi.c: Likewise.
1598 * soft-fp/fixtfsi.c: Likewise.
1599 * soft-fp/fixtfti.c: Likewise.
1600 * soft-fp/fixunsdfdi.c: Likewise.
1601 * soft-fp/fixunsdfsi.c: Likewise.
1602 * soft-fp/fixunsdfti.c: Likewise.
1603 * soft-fp/fixunssfdi.c: Likewise.
1604 * soft-fp/fixunssfsi.c: Likewise.
1605 * soft-fp/fixunssfti.c: Likewise.
1606 * soft-fp/fixunstfdi.c: Likewise.
1607 * soft-fp/fixunstfsi.c: Likewise.
1608 * soft-fp/fixunstfti.c: Likewise.
1609 * soft-fp/floatdidf.c: Likewise.
1610 * soft-fp/floatdisf.c: Likewise.
1611 * soft-fp/floatditf.c: Likewise.
1612 * soft-fp/floatsidf.c: Likewise.
1613 * soft-fp/floatsisf.c: Likewise.
1614 * soft-fp/floatsitf.c: Likewise.
1615 * soft-fp/floattidf.c: Likewise.
1616 * soft-fp/floattisf.c: Likewise.
1617 * soft-fp/floattitf.c: Likewise.
1618 * soft-fp/floatundidf.c: Likewise.
1619 * soft-fp/floatundisf.c: Likewise.
1620 * soft-fp/floatunditf.c: Likewise.
1621 * soft-fp/floatunsidf.c: Likewise.
1622 * soft-fp/floatunsisf.c: Likewise.
1623 * soft-fp/floatunsitf.c: Likewise.
1624 * soft-fp/floatuntidf.c: Likewise.
1625 * soft-fp/floatuntisf.c: Likewise.
1626 * soft-fp/floatuntitf.c: Likewise.
1627 * soft-fp/gedf2.c: Likewise.
1628 * soft-fp/gesf2.c: Likewise.
1629 * soft-fp/getf2.c: Likewise.
1630 * soft-fp/ledf2.c: Likewise.
1631 * soft-fp/lesf2.c: Likewise.
1632 * soft-fp/letf2.c: Likewise.
1633 * soft-fp/muldf3.c: Likewise.
1634 * soft-fp/mulsf3.c: Likewise.
1635 * soft-fp/multf3.c: Likewise.
1636 * soft-fp/negdf2.c: Likewise.
1637 * soft-fp/negsf2.c: Likewise.
1638 * soft-fp/negtf2.c: Likewise.
1639 * soft-fp/op-1.h: Likewise.
1640 * soft-fp/op-2.h: Likewise.
1641 * soft-fp/op-4.h: Likewise.
1642 * soft-fp/op-8.h: Likewise.
1643 * soft-fp/op-common.h: Likewise.
1644 * soft-fp/quad.h: Likewise.
1645 * soft-fp/single.h: Likewise.
1646 * soft-fp/soft-fp.h: Likewise.
1647 * soft-fp/subdf3.c: Likewise.
1648 * soft-fp/subsf3.c: Likewise.
1649 * soft-fp/subtf3.c: Likewise.
1650 * soft-fp/truncdfsf2.c: Likewise.
1651 * soft-fp/trunctfdf2.c: Likewise.
1652 * soft-fp/trunctfsf2.c: Likewise.
1653 * soft-fp/trunctfxf2.c: Likewise.
1654 * soft-fp/unorddf2.c: Likewise.
1655 * soft-fp/unordsf2.c: Likewise.
1656 * soft-fp/unordtf2.c: Likewise.
1657
1658 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1659
1660 PR gcov-profile/67097
1661 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1662
1663 2016-08-10 Martin Liska <mliska@suse.cz>
1664
1665 PR gcov-profile/58306
1666 * Makefile.in: New functions (modules) are added.
1667 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1668 function.
1669 (__gcov_pow2_profiler_atomic): New function.
1670 (__gcov_one_value_profiler_body): New argument is instroduced.
1671 (__gcov_one_value_profiler): Call with the new argument.
1672 (__gcov_one_value_profiler_atomic): Likewise.
1673 (__gcov_indirect_call_profiler_v2): Likewise.
1674 (__gcov_time_profiler_atomic): New function.
1675 (__gcov_average_profiler_atomic): Likewise.
1676 (__gcov_ior_profiler_atomic): Likewise.
1677 * libgcov.h: Declare the aforementioned functions.
1678
1679 2016-08-09 Martin Liska <mliska@suse.cz>
1680
1681 * libgcov-util.c: Fix typo and GNU coding style.
1682
1683 2016-08-09 Martin Liska <mliska@suse.cz>
1684
1685 * Makefile.in: Remove __gcov_indirect_call_profiler.
1686 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1687 function.
1688 * libgcov.h: And the declaration of the function.
1689
1690 2016-08-09 Martin Liska <mliska@suse.cz>
1691
1692 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1693 power of two.
1694
1695 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1696
1697 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1698 * config/rs6000/_mulkc3.c: Likewise.
1699
1700 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
1701
1702 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1703 zero_reg as previous call to __umulhisi3 already cleared it.
1704
1705 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1706
1707 PR target/59833
1708 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1709
1710 2016-07-19 Nick Clifton <nickc@redhat.com>
1711
1712 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1713 Add crtinit.o and crtfini.o to extra_parts.
1714
1715 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1716
1717 * config/rs6000/_divkc3.c: New.
1718 * config/rs6000/_mulkc3.c: New.
1719 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1720 and _divkc3.
1721 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1722 fp128_ppc_funcs.
1723
1724 2016-07-11 Hale Wang <hale.wang@arm.com>
1725 Andre Vieira <andre.simoesdiasvieira@arm.com>
1726
1727 * config/arm/lib1funcs.S: Add new wrapper.
1728
1729 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1730
1731 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1732
1733 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1734
1735 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1736 and ARMv5t* rather than for a fixed list of architectures.
1737
1738 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1739
1740 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1741 implementation suitable for.
1742 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1743 for all Thumb-1 only targets.
1744 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1745 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1746 __ARM_ARCH_6M__.
1747 (EQUIV): Likewise.
1748 (ARM_FUNC_ALIAS): Likewise.
1749 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1750 version.
1751 (modsi3): Likewise.
1752 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1753 (clzdi2): Likewise.
1754 (ctzsi2): Likewise.
1755 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1756 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1757 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1758 __ARM_ARCH_6M__ and add comment to indicate the connection between
1759 this condition and the one in gcc/config/arm/elf.h.
1760 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1761 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1762 * config/arm/t-softfp: Likewise.
1763
1764 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1765
1766 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1767 CTOR_LISTS_DEFINED_EXTERNALLY.
1768
1769 2016-06-28 Walter Lee <walt@tilera.com>
1770
1771 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1772 asm/unistd.h.
1773 (SPR_CMPEXCH_VALUE): Define for tilegx.
1774 (__NR_FAST_cmpxchg): Define for tilepro.
1775 (__NR_FAST_atomic_update): Define for tilepro.
1776 (__NR_FAST_cmpxchg64): Define for tilepro.
1777
1778 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
1779
1780 * config.host: Add suport for arm*-*-phoenix* targets.
1781
1782 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1783
1784 * config.host: Remove support for mep-*.
1785 * config/mep/lib1funcs.S: Remove.
1786 * config/mep/lib2funcs.c: Remove.
1787 * config/mep/t-mep: Remove.
1788 * config/mep/tramp.c: Remove.
1789
1790 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1791
1792 * config.host: Remove support for avr-rtems.
1793 * config/avr/t-rtems: Remove.
1794
1795 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1796
1797 * config.host: Remove m32r-rtems support.
1798
1799 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1800
1801 * config.host: Remove h8300-rtems support.
1802
1803 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1804
1805 * config.host: Remove support for knetbsd.
1806
1807 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1808
1809 * config.host: Remove support for openbsd 2 and 3.
1810
1811 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1812
1813 * config.host: Remove interix support.
1814 * config/i386/t-interix: Remove.
1815
1816 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
1817
1818 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1819 least-significant bit in function pointer for fixup.
1820
1821 2016-06-05 Aaron Conole <aconole@redhat.com>
1822 Nathan Sidwell <nathan@acm.org>
1823
1824 PR libgcc/71400
1825 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1826 (get_gcov_error_file): Check __gcov_error_file before trying to
1827 initialize it.
1828 (gcov_error): Always use get_gcov_error_file.
1829
1830 2016-06-02 Aaron Conole <aconole@redhat.com>
1831
1832 * libgcov-driver-system.c (__gcov_error_file): New.
1833 (get_gcov_error_file): New.
1834 (gcov_error): Use and set __gcov_error_file.
1835 (gcov_error_exit): New.
1836 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1837
1838 2016-05-26 Nathan Sidwell <nathan@acm.org>
1839
1840 * config/nvptx/free.asm: Delete.
1841 * config/nvptx/malloc.asm: Delete.
1842 * config/nvptx/realloc.c: Delete.
1843 * t-nvptx: Update.
1844
1845 2016-05-25 Nathan Sidwell <nathan@acm.org>
1846
1847 * config/nvptx/crt0.s: Delete.
1848 * config/nvptx/crt0.c: New.
1849 * t-nvptx: Update.
1850
1851 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
1852
1853 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
1854 dw2/seh configuration.
1855 [x86_64-*-mingw*]: Likewise.
1856
1857 2016-05-10 Joel Sherrill <joel@rtems.org>
1858
1859 PR libgcc/70720
1860 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1861 targets so the same extra_parts are built. Also have tmake_file add
1862 on to its value rather than override.
1863
1864 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
1865
1866 * config.host: Remove SH5 support.
1867 * configure: Likewise.
1868
1869 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
1870
1871 * config/sh/crt1.S: Remove SH5 support.
1872 * config/sh/crti.S: Likewise.
1873 * config/sh/crtn.S: Likewise.
1874 * config/sh/lib1funcs-4-300.S: Likewise.
1875 * config/sh/lib1funcs-Os-4-200.S: Likewise.
1876 * config/sh/lib1funcs.S: Likewise.
1877 * config/sh/linux-unwind.h: Likewise.
1878 * config/sh/t-sh64: Delete.
1879
1880 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
1881
1882 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1883
1884 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
1885 Joern Rennecke <joern.rennecke@embecosm.com>
1886
1887 * config/arc/crttls.S: New file.
1888 * config/arc/t-arc: New rule.
1889 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1890
1891 2016-04-25 Nick Clifton <nickc@redhat.com>
1892
1893 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1894 (__mspabi_cmpd): Likewise.
1895 * config/msp430/floathidf.c (__floathidf): Likewise.
1896 * config/msp430/floathisf.c (__floathisf): Likewise
1897 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1898 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1899 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1900 second parameter.
1901 (__ashrsi3): Likewise.
1902
1903 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
1904
1905 * config/m68k/linux-atomic.c: Do not include unistd.h
1906
1907 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
1908
1909 * config/arm/ieee754-df.S: Fix typos in comments.
1910
1911 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
1912
1913 PR target/70381
1914 * configure.ac (powerpc*-*-linux*): Rework tests to build
1915 __float128 emulation routines to not depend on using #pragma GCC
1916 target to enable -mfloat128.
1917 * configure: Regnerate.
1918
1919 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
1920
1921 PR target/67172
1922 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1923 __MINGW32__ is defined.
1924
1925 2016-03-28 James Bowman <james.bowman@ftdichip.com>
1926
1927 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
1928
1929 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
1930
1931 PR libgcc/70363
1932 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1933 built with an assembler that does not support ISA 3.0
1934 instructions, rename __extendkftf2_sw to __extendkftf2.
1935
1936 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1937
1938 PR target/38239
1939 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1940 call-clobbered registers.
1941 (internal_mcount): Remove __i386__ handling.
1942
1943 2016-02-26 Joel Sherrill <joel@rtems.org>
1944
1945 * config.host: Add x86_64-*-rtems*.
1946
1947 2016-02-26 Joel Sherrill <joel@rtems.org>
1948
1949 * libgcc/config.host: Add aarch64-*-rtems*.
1950
1951 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1952 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1953
1954 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1955 union of u64 and double.
1956 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1957 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1958 value.
1959 (FP_ROUNDMODE): Update the usage of _fpscr.
1960
1961 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
1962
1963 PR driver/68463
1964 * Makefile.in (crtoffloadtable$(objext)): New rule.
1965 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1966 enable_offload_targets is not empty.
1967 * configure: Regenerate.
1968 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1969 crtoffloadtable.
1970
1971 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1972
1973 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1974 .literal_position before the function.
1975 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1976 Likewise.
1977
1978 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
1979
1980 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1981 * config/s390/morestack.S: New file.
1982 * config/s390/t-stack-s390: New file.
1983 * generic-morestack.c (__splitstack_find): Add s390-specific code.
1984
1985 2016-02-12 Walter Lee <walt@tilera.com>
1986
1987 * config.host (tilegx*-*-linux*): remove ti from
1988 softfp_int_modes for 32-bit configs.
1989
1990 2016-02-10 Ian Lance Taylor <iant@google.com>
1991
1992 PR go/68562
1993 * config/i386/morestack.S (__stack_split_initialize): Align
1994 stack.
1995
1996 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
1997
1998 PR bootstrap/69611
1999 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2000 __FLOAT128__ to compile only for __float128 capable targets.
2001
2002 2016-01-25 Jakub Jelinek <jakub@redhat.com>
2003
2004 PR target/69444
2005 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2006 instead of ___NO_FPRS__.
2007
2008 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
2009 Steven Munroe <munroesj@linux.vnet.ibm.com>
2010 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2011
2012 * config/rs6000/float128-sed: New files to convert TF names to KF
2013 names for PowerPC IEEE 128-bit floating point support.
2014 * config/rs6000/float128-sed-hw: Likewise.
2015
2016 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2017 floating point hardware support.
2018
2019 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2020 128-bit floating point software emulation or use ISA 3.0 hardware
2021 support if it is available.
2022
2023 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2024 floating point.
2025
2026 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2027 floating point to IBM extended double.
2028
2029 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2030 double to IEEE 128-bit floating point.
2031
2032 * config/rs6000/t-float128: New Makefile fragments to enable
2033 building __float128 emulation support.
2034 * config/rs6000/t-float128-hw: Likewise.
2035
2036 * config/rs6000/sfp-exceptions.c: New file to provide exception
2037 support for IEEE 128-bit floating point.
2038
2039 * config/rs6000/floattikf.c: New files for converting between IEEE
2040 128-bit floating point and signed/unsigned 128-bit integers.
2041 * config/rs6000/fixunskfti.c: Likewise.
2042 * config/rs6000/fixkfti.c: Likewise.
2043 * config/rs6000/floatuntikf.c: Likewise.
2044
2045 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2046 when building on 64-bit systems, or when VSX is enabled.
2047 (_FP_W_TYPE): Likewise.
2048 (_FP_WS_TYPE): Likewise.
2049 (_FP_I_TYPE): Likewise.
2050 (TItype): Define on 64-bit systems.
2051 (UTItype): Likewise.
2052 (TI_BITS): Likewise.
2053 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2054 (_FP_MUL_MEAT_Q): Likewise.
2055 (_FP_DIV_MEAT_D): Likewise.
2056 (_FP_DIV_MEAT_Q): Likewise.
2057 (_FP_NANFRAC_D): Likewise.
2058 (_FP_NANFRAC_Q): Likewise.
2059 (ISA_BIT): Add exception support if we are being compiled on a
2060 machine with hardware floating point support to build the IEEE
2061 128-bit emulation functions.
2062 (FP_EX_INVALID): Likewise.
2063 (FP_EX_OVERFLOW): Likewise.
2064 (FP_EX_UNDERFLOW): Likewise.
2065 (FP_EX_DIVZERO): Likewise.
2066 (FP_EX_INEXACT): Likewise.
2067 (FP_EX_ALL): Likewise.
2068 (__sfp_handle_exceptions): Likewise.
2069 (FP_HANDLE_EXCEPTIONS): Likewise.
2070 (FP_RND_NEAREST): Likewise.
2071 (FP_RND_ZERO): Likewise.
2072 (FP_RND_PINF): Likewise.
2073 (FP_RND_MINF): Likewise.
2074 (FP_RND_MASK): Likewise.
2075 (_FP_DECL_EX): Likewise.
2076 (FP_INIT_ROUNDMODE): Likewise.
2077 (FP_ROUNDMODE): Likewise.
2078
2079 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2080 VSX code, enable IEEE 128-bit floating point. If the compiler can
2081 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2082 floating point hardware instructions and it supports declaring
2083 functions with the ifunc attribute, enable ifunc functions to
2084 switch between software and hardware support.
2085 * configure.ac (powerpc*-*-linux*): Likewise.
2086 * configure: Regenerate.
2087
2088 2016-01-15 Nick Clifton <nickc@redhat.com>
2089
2090 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2091 dependency as the source file to be compiled.
2092 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2093 (lib2hw_mul_f5.o): Likewise.
2094
2095 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2096
2097 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2098 * libgcc/config/rs6000/fixkfti.c: Likewise.
2099 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2100 * libgcc/config/rs6000/float128-hw.c: Likewise.
2101 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2102 * libgcc/config/rs6000/float128-sed: Likewise.
2103 * libgcc/config/rs6000/floattikf.c: Likewise.
2104 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2105 * libgcc/config/rs6000/quad-float128.h: Likewise.
2106 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2107 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2108 * libgcc/config/rs6000/t-float128: Likewise.
2109 * libgcc/config/rs6000/t-float128-hw: Likewise.
2110 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2111 * libgcc/config.host: Likewise.
2112 * libgcc/configure: Likewise.
2113 * libgcc/configure.ac: Likewise.
2114
2115 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2116 Steven Munroe <munroesj@linux.vnet.ibm.com>
2117 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
2118
2119 * config/rs6000/sfp-exceptions.c: New file to provide exception
2120 support for IEEE 128-bit floating point.
2121
2122 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2123 floating point hardware support.
2124
2125 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2126 point conversions.
2127 * config/rs6000/fixunskfti.c: Likewise.
2128 * config/rs6000/fixkfti.c: Likewise.
2129 * config/rs6000/floatuntikf.c: Likewise.
2130 * config/rs6000/extendkftf2-sw.c: Likewise.
2131 * config/rs6000/trunctfkf2-sw.c: Likewise.
2132
2133 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2134 128-bit floating point software emulation or use ISA 3.0 hardware
2135 support if it is available.
2136
2137 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2138 floating point.
2139
2140 * config/rs6000/t-float128: New Makefile fragments to enable
2141 building __float128 emulation support.
2142 * config/rs6000/t-float128-hw: Likewise.
2143
2144 * config/rs6000/float128-sed: New file to convert TF names to KF
2145 names for PowerPC IEEE 128-bit floating point support.
2146
2147 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2148 when building on 64-bit systems, or when VSX is enabled.
2149 (_FP_W_TYPE): Likewise.
2150 (_FP_WS_TYPE): Likewise.
2151 (_FP_I_TYPE): Likewise.
2152 (TItype): Define on 64-bit systems.
2153 (UTItype): Likewise.
2154 (TI_BITS): Likewise.
2155 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2156 (_FP_MUL_MEAT_Q): Likewise.
2157 (_FP_DIV_MEAT_D): Likewise.
2158 (_FP_DIV_MEAT_Q): Likewise.
2159 (_FP_NANFRAC_D): Likewise.
2160 (_FP_NANFRAC_Q): Likewise.
2161 (ISA_BIT): Add exception support if we are being compiled on a
2162 machine with hardware floating point support to build the IEEE
2163 128-bit emulation functions.
2164 (FP_EX_INVALID): Likewise.
2165 (FP_EX_OVERFLOW): Likewise.
2166 (FP_EX_UNDERFLOW): Likewise.
2167 (FP_EX_DIVZERO): Likewise.
2168 (FP_EX_INEXACT): Likewise.
2169 (FP_EX_ALL): Likewise.
2170 (__sfp_handle_exceptions): Likewise.
2171 (FP_HANDLE_EXCEPTIONS): Likewise.
2172 (FP_RND_NEAREST): Likewise.
2173 (FP_RND_ZERO): Likewise.
2174 (FP_RND_PINF): Likewise.
2175 (FP_RND_MINF): Likewise.
2176 (FP_RND_MASK): Likewise.
2177 (_FP_DECL_EX): Likewise.
2178 (FP_INIT_ROUNDMODE): Likewise.
2179 (FP_ROUNDMODE): Likewise.
2180
2181 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2182 compiler can do __float128.
2183 * configure: Regenerate.
2184
2185 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2186 VSX code, enable IEEE 128-bit floating point.
2187
2188 2016-01-05 Olivier Hainque <hainque@adacore.com>
2189
2190 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
2191 specificities.
2192
2193 2016-01-04 Jakub Jelinek <jakub@redhat.com>
2194
2195 Update copyright years.
2196
2197 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2198
2199 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
2200 soft-fp targets.
2201
2202 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2203
2204 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2205 instead of abort to avoid dependency on stdlib.h.
2206
2207 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
2208
2209 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
2210 to initialize call to __dl_fixup once.
2211
2212 2015-12-04 Nick Clifton <nickc@redhat.com>
2213
2214 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
2215 Allow for the second argument being negative.
2216 * config.host (extra_parts): Define for MSP430. Create separate
2217 libraries for each of the hardware multiply formats.
2218 * config/msp430/lib2hw_mul.S: Build only the multiply routines
2219 that are needed.
2220 * config/msp430/lib2mul.c: Likewise.
2221 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
2222 Add rules to build hardware multiply libraries.
2223 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
2224 __mspabi_divul function.
2225 (__mspabi_divllu): New stub function.
2226
2227 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
2228
2229 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
2230 fixup values if saved GOT address doesn't match runtime address.
2231 (fixup_branch_offset): Reorder list.
2232
2233 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2234
2235 * Makefile.in (VTV_CFLAGS): New variable.
2236 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
2237 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
2238 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2239 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
2240 to extra_parts if $enable_vtable_verify = yes.
2241
2242 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
2243
2244 PR target/68059
2245 * config/arm/linux-atomic-64bit.c (__write): Rename to...
2246 (write): ...this and fix the return type.
2247
2248 2015-11-19 DJ Delorie <dj@redhat.com>
2249
2250 * config/msp430/lib2hw_mul.S: Fix alignment.
2251
2252 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
2253
2254 * config/nvptx/reduction.c: New.
2255 * config/nvptx/t-nvptx (LIB2ADD): Add it.
2256
2257 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
2258
2259 * config/rs6000/on_exit.c: New file.
2260 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
2261 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
2262
2263 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
2264
2265 * config/arc/dp-hack.h: Add support for ARCHS.
2266 * config/arc/ieee-754/divdf3.S: Likewise.
2267 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2268 * config/arc/ieee-754/muldf3.S: Likewise.
2269 * config/arc/ieee-754/mulsf3.S: Likewise
2270 * config/arc/lib1funcs.S: Likewise
2271 * config/arc/gmon/dcache_linesz.S: Don't read the build register
2272 for ARCv2 cores.
2273 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
2274 for ARCv2 cores.
2275 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
2276 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
2277 cores.
2278
2279 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2280
2281 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
2282 value.
2283 * config/ia64/crtend.S: Likewise.
2284
2285 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2286
2287 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
2288 __CHAR_BIT__ instead of BITS_PER_UNIT.
2289 * fixed-bit.h: Likewise.
2290 * fp-bit.h: Likewise.
2291 * libgcc2.c (__popcountSI2): Likewise.
2292 (__popcountDI2): Likewise.
2293 * libgcc2.h: Likewise.
2294 * libgcov.h: Likewise.
2295
2296 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
2297
2298 * config/rs6000/atexit.c: New file.
2299 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
2300 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
2301 * config/rs6000/cxa_finalize.c
2302 (catomic_compare_and_exchange_bool_acq): Negate return value.
2303
2304 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2305
2306 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
2307 (processor_subtypes): Add znver1.
2308 (get_amd_cpu): Detect znver1.
2309
2310 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
2311
2312 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
2313 Include crtfastmath.o.
2314
2315 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
2316
2317 PR libgcc/66883
2318 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
2319
2320 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
2321
2322 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
2323 * config/rl78/divmodsi.S: Update return register to r8.
2324 * config/rl78/divmodhi.S: Update return register to r8,r9.
2325 Branch to main_loop_done_himode to pop registers before return.
2326
2327 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
2328
2329 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
2330 (__cpu_indicator_init): Fix model selection for AMD CPUs.
2331
2332 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
2333
2334 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2335
2336 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
2337
2338 * config.host (xtensa*-*-uclinux*): New configuration.
2339
2340 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
2341
2342 * config/i386/cpuinfo.c (processor_features): Add
2343 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
2344
2345 2015-09-28 Joseph Myers <joseph@codesourcery.com>
2346
2347 * soft-fp/adddf3.c: Update from glibc.
2348 * soft-fp/addsf3.c: Likewise.
2349 * soft-fp/addtf3.c: Likewise.
2350 * soft-fp/divdf3.c: Likewise.
2351 * soft-fp/divsf3.c: Likewise.
2352 * soft-fp/divtf3.c: Likewise.
2353 * soft-fp/double.h: Likewise.
2354 * soft-fp/eqdf2.c: Likewise.
2355 * soft-fp/eqsf2.c: Likewise.
2356 * soft-fp/eqtf2.c: Likewise.
2357 * soft-fp/extenddftf2.c: Likewise.
2358 * soft-fp/extended.h: Likewise.
2359 * soft-fp/extendsfdf2.c: Likewise.
2360 * soft-fp/extendsftf2.c: Likewise.
2361 * soft-fp/extendxftf2.c: Likewise.
2362 * soft-fp/fixdfdi.c: Likewise.
2363 * soft-fp/fixdfsi.c: Likewise.
2364 * soft-fp/fixdfti.c: Likewise.
2365 * soft-fp/fixsfdi.c: Likewise.
2366 * soft-fp/fixsfsi.c: Likewise.
2367 * soft-fp/fixsfti.c: Likewise.
2368 * soft-fp/fixtfdi.c: Likewise.
2369 * soft-fp/fixtfsi.c: Likewise.
2370 * soft-fp/fixtfti.c: Likewise.
2371 * soft-fp/fixunsdfdi.c: Likewise.
2372 * soft-fp/fixunsdfsi.c: Likewise.
2373 * soft-fp/fixunsdfti.c: Likewise.
2374 * soft-fp/fixunssfdi.c: Likewise.
2375 * soft-fp/fixunssfsi.c: Likewise.
2376 * soft-fp/fixunssfti.c: Likewise.
2377 * soft-fp/fixunstfdi.c: Likewise.
2378 * soft-fp/fixunstfsi.c: Likewise.
2379 * soft-fp/fixunstfti.c: Likewise.
2380 * soft-fp/floatdidf.c: Likewise.
2381 * soft-fp/floatdisf.c: Likewise.
2382 * soft-fp/floatditf.c: Likewise.
2383 * soft-fp/floatsidf.c: Likewise.
2384 * soft-fp/floatsisf.c: Likewise.
2385 * soft-fp/floatsitf.c: Likewise.
2386 * soft-fp/floattidf.c: Likewise.
2387 * soft-fp/floattisf.c: Likewise.
2388 * soft-fp/floattitf.c: Likewise.
2389 * soft-fp/floatundidf.c: Likewise.
2390 * soft-fp/floatundisf.c: Likewise.
2391 * soft-fp/floatunditf.c: Likewise.
2392 * soft-fp/floatunsidf.c: Likewise.
2393 * soft-fp/floatunsisf.c: Likewise.
2394 * soft-fp/floatunsitf.c: Likewise.
2395 * soft-fp/floatuntidf.c: Likewise.
2396 * soft-fp/floatuntisf.c: Likewise.
2397 * soft-fp/floatuntitf.c: Likewise.
2398 * soft-fp/gedf2.c: Likewise.
2399 * soft-fp/gesf2.c: Likewise.
2400 * soft-fp/getf2.c: Likewise.
2401 * soft-fp/ledf2.c: Likewise.
2402 * soft-fp/lesf2.c: Likewise.
2403 * soft-fp/letf2.c: Likewise.
2404 * soft-fp/muldf3.c: Likewise.
2405 * soft-fp/mulsf3.c: Likewise.
2406 * soft-fp/multf3.c: Likewise.
2407 * soft-fp/negdf2.c: Likewise.
2408 * soft-fp/negsf2.c: Likewise.
2409 * soft-fp/negtf2.c: Likewise.
2410 * soft-fp/op-1.h: Likewise.
2411 * soft-fp/op-2.h: Likewise.
2412 * soft-fp/op-4.h: Likewise.
2413 * soft-fp/op-8.h: Likewise.
2414 * soft-fp/op-common.h: Likewise.
2415 * soft-fp/quad.h: Likewise.
2416 * soft-fp/single.h: Likewise.
2417 * soft-fp/soft-fp.h: Likewise.
2418 * soft-fp/subdf3.c: Likewise.
2419 * soft-fp/subsf3.c: Likewise.
2420 * soft-fp/subtf3.c: Likewise.
2421 * soft-fp/truncdfsf2.c: Likewise.
2422 * soft-fp/trunctfdf2.c: Likewise.
2423 * soft-fp/trunctfsf2.c: Likewise.
2424 * soft-fp/trunctfxf2.c: Likewise.
2425 * soft-fp/unorddf2.c: Likewise.
2426 * soft-fp/unordsf2.c: Likewise.
2427 * soft-fp/unordtf2.c: Likewise.
2428
2429 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
2430
2431 PR libgcc/67624
2432 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
2433
2434 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2435
2436 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
2437 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
2438 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
2439 messages.
2440 (internal_mcount): Likewise.
2441 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
2442 crt_compile, add CRTSTUFF_T_CFLAGS_S.
2443
2444 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2445
2446 * configure.ac (libgcc_cv_solaris_crts): New test.
2447 * configure: Regenerate.
2448 * config.in: Regenerate.
2449 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
2450 * config/gmon-sol2.c: Rename to ...
2451 * config/sol2/gmon.c: ... this.
2452 Include auto-target.h.
2453 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
2454 * config/t-sol2: Rename to ...
2455 * config/sol2/t-sol2: ... this.
2456 (gmon.o): Reflect renaming.
2457 (crtp.o, crtpg.o): New rules.
2458 * config.host (*-*-solaris2*): Reflect renaming.
2459 Use system CRTs if present.
2460 Remove default CRT case.
2461
2462 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
2463
2464 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
2465 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
2466 __kernel_cmpxchg2.
2467 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
2468 (__sync_val_compare_and_swap_##WIDTH): Likewise.
2469 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
2470 (__sync_lock_test_and_set_##WIDTH): Likewise.
2471 (__sync_lock_release_##WIDTH): Likewise.
2472 (__sync_fetch_and_##OP##_4): Change result to match type of
2473 __kernel_cmpxchg.
2474 (__sync_##OP##_and_fetch_4): Likewise.
2475 (__sync_val_compare_and_swap_4): Likewise.
2476 (__sync_bool_compare_and_swap_4): likewise.
2477 (__sync_lock_test_and_set_4): Likewise.
2478 (__sync_lock_release_4): Likewise.
2479 (FETCH_AND_OP_2): Add long long variants.
2480 (OP_AND_FETCH_2): Likewise.
2481 (COMPARE_AND_SWAP_2 ): Likewise.
2482 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2483 (SYNC_LOCK_RELEASE_2): Likewise.
2484 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
2485
2486 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
2487
2488 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
2489 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
2490 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
2491 (get_available_features): Habdle new features.
2492
2493 2015-09-21 James Bowman <james.bowman@ftdichip.com>
2494
2495 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
2496 memory layout. Deal correctly with BSS region larger than 32K.
2497 Handle a watchdog reset like a power-on reset. Clean up unused
2498 code.
2499
2500 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
2501 David Edelsohn <dje.gcc@gmail.com>
2502
2503 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
2504 * config/rs6000/crtdbase.S: New file.
2505 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2506
2507 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2508
2509 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2510 Add support for call0 ABI.
2511
2512 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
2513
2514 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2515
2516 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2517
2518 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2519 (__GTHREAD_HAS_COND): Likewise.
2520 (__gthread_t): Likewise.
2521 (__gthread_cond_t): Likewise.
2522 (__gthread_time_t): Likewise.
2523 (__GTHREAD_MUTEX_INIT): Likewise.
2524 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2525 (__GTHREAD_COND_INIT): Likewise.
2526 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2527 (__GTHREAD_TIME_INIT): Likewise.
2528 (__gthread_create): Likewise.
2529 (__gthread_join): Likewise.
2530 (__gthread_detach): Likewise.
2531 (__gthread_equal): Likewise.
2532 (__gthread_self): Likewise.
2533 (__gthread_yield): Likewise.
2534 (__gthread_cond_broadcast): Likewise.
2535 (__gthread_cond_signal): Likewise.
2536 (__gthread_cond_wait): Likewise.
2537 (__gthread_cond_timedwait): Likewise.
2538 (__gthread_cond_wait_recursive): Likewise.
2539 (__gthread_cond_destroy): Likewise.
2540 (rtems_gxx_once): Delete.
2541 (rtems_gxx_key_create): Likewise.
2542 (rtems_gxx_key_delete): Likewise.
2543 (rtems_gxx_getspecific): Likewise.
2544 (rtems_gxx_setspecific): Likewise.
2545 (rtems_gxx_mutex_init): Likewise.
2546 (rtems_gxx_mutex_destroy): Likewise.
2547 (rtems_gxx_mutex_lock): Likewise.
2548 (rtems_gxx_mutex_trylock): Likewise.
2549 (rtems_gxx_mutex_unlock): Likewise.
2550 (rtems_gxx_recursive_mutex_init): Likewise.
2551 (rtems_gxx_recursive_mutex_lock): Likewise.
2552 (rtems_gxx_recursive_mutex_trylock): Likewise.
2553 (rtems_gxx_recursive_mutex_unlock): Likewise.
2554 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2555 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2556 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2557 (__gthread_once): Likewise.
2558 (__gthread_key_create): Likewise.
2559 (__gthread_key_delete): Likewise.
2560 (__gthread_getspecific): Likewise.
2561 (__gthread_setspecific): Likewise.
2562 (__gthread_key_t): Use <pthread.h> type.
2563 (__gthread_once_t): Likewise
2564 (__gthread_mutex_t): Use <sys/lock.h> type.
2565 (__gthread_recursive_mutex_t): Likewise
2566 (__gthread_mutex_lock): Use <sys/lock.h> function.
2567 (__gthread_mutex_trylock): Likewise.
2568 (__gthread_mutex_timedlock): Likewise.
2569 (__gthread_mutex_unlock): Likewise.
2570 (__gthread_mutex_destroy): Likewise.
2571 (__gthread_recursive_mutex_lock): Likewise.
2572 (__gthread_recursive_mutex_trylock): Likewise.
2573 (__gthread_recursive_mutex_timedlock): Likewise.
2574 (__gthread_recursive_mutex_unlock): Likewise.
2575 (__gthread_recursive_mutex_destroy): Likewise.
2576
2577 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2578
2579 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2580 context->sp instead of context->cfa.
2581
2582 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2583
2584 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2585 with unwind-dw2-fde-dip.
2586
2587 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2588
2589 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2590 CALL12 followed by series of ENTRY to spill windowed registers.
2591 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2592 instead of making linux spill syscall.
2593
2594 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2595
2596 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2597 (get_intel_cpu): Likewise.
2598
2599 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2600
2601 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2602 (get_intel_cpu): Add Knights Landing support.
2603
2604 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
2605
2606 PR target/66954
2607 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2608 (get_available_features): Handle FEATURE_PCLMUL.
2609
2610 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2611
2612 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2613 Broadwell.
2614
2615 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
2616
2617 PR target/66954
2618 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2619 (get_available_features): Handle FEATURE_AES.
2620
2621 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2622
2623 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2624 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2625
2626 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2627
2628 * offloadstuff.c: Constify host data.
2629
2630 2015-07-17 Jan Beulich <jbeulich@suse.com>
2631
2632 * config/t-softfp: Split up "else ifneq".
2633
2634 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2635 Cesar Philippidis <cesar@codesourcery.com>
2636 Chung-Lin Tang <cltang@codesourcery.com>
2637
2638 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2639 for __nios2_arch__ level.
2640
2641 2015-07-13 John Marino <gnugcc@marino.st>
2642
2643 * config/i386/t-dragonfly: New.
2644
2645 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
2646
2647 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2648 better match light-weight syscall argument order.
2649 (__kernel_cmpxchg2): Likewise.
2650 Adjust callers.
2651
2652 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2653
2654 * config.host: Support i[34567]86-*-elfiamcu target.
2655 * config/t-softfp-sfdftf: New file.
2656 * config/i386/32/t-iamcu: Likewise.
2657 * configure: Regenerated.
2658
2659 2015-06-23 James Lemke <jwlemke@codesourcery.com>
2660
2661 libgcc/config/arm/
2662 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2663
2664 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2665
2666 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2667
2668 2015-05-27 John Marino <gnugcc@marino.st>
2669
2670 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2671 md_unwind_header
2672 * config/i386/freebsd-unwind.h: New.
2673
2674 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
2675
2676 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2677 i386/t-crtfm to tmake_file.
2678 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2679 (set_fast_math): Use set_fast_math_sse for SSE targets.
2680 * config/i386/t-crtfm: Remove.
2681
2682 2015-05-21 Alan Modra <amodra@gmail.com>
2683
2684 PR libgcc/66225
2685 * config/rs6000/morestack.S: Remove ".abiversion 1".
2686
2687 2015-05-20 Alan Modra <amodra@gmail.com>
2688
2689 * config/rs6000/morestack.S: New.
2690 * config/rs6000/t-stack-rs6000: New.
2691 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2692 to tmake_file.
2693 * generic-morestack.c: Don't build for powerpc 32-bit.
2694
2695 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2696
2697 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2698 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2699
2700 2015-05-16 James Bowman <james.bowman@ftdichip.com>
2701
2702 * config.host: FT32 target added.
2703 * config/ft32/*: New files for FT32 target.
2704
2705 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2706
2707 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2708 New macros.
2709 * config/arm/ieee754-df.S: Add CFI directives.
2710 * config/arm/ieee754-sf.S: Add CFI directives.
2711
2712 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2713
2714 * configure.ac: Include config/sjlj.m4.
2715 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2716 * config.in: Regenerate.
2717 * configure: Likewise.
2718 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2719
2720 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
2721
2722 * libgcov-util.c: Add space between string literal and macro name.
2723
2724 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2725 Chris Jones <chrisj@nvidia.com>
2726 Joshua Conner <jconner@nvidia.com>
2727
2728 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2729 (arm*-*-uclinux*): Likewise.
2730 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2731 * config/arm/crtfastmath.c: New file.
2732
2733 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2734
2735 * Makefile.in (real_host_noncanonical): New variable.
2736 (libsubdir): Use it.
2737 * configure.ac (real_host_noncanonical): Compute. Remove special
2738 case for intelmicemul.
2739 * configure: Regenerate.
2740
2741 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
2742
2743 * config/frv/elf-lib.h: New file.
2744 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2745 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2746 to tm_file.
2747
2748 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
2749
2750 * config/frv/frvbengin.c: Do not include defaults.h
2751 * config/frv/frvend.c: Ditto.
2752
2753 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2754
2755 * config.host: Add h8300-*-linux
2756 * config/h8300/t-linux: New file.
2757 * config/h8300/lib1funs.s: Change symbol prefix.
2758 * config/h8300/sfp-machine.h: 64bit double support.
2759
2760 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2761 Szabolcs Nagy <szabolcs.nagy@arm.com>
2762
2763 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2764 Linux if target provides dl_iterate_phdr.
2765
2766 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
2767
2768 PR target/65612
2769 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2770 * config/i386/cpuinfo.c (__cpu_model): Initialize.
2771 (__cpu_indicator_init@GCC_4.8.0): New.
2772 (__cpu_model@GCC_4.8.0): Likewise.
2773 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2774 -DUSE_ELF_SYMVER.
2775
2776 2015-04-16 Nick Clifton <nickc@redhat.com>
2777
2778 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2779 and __modhi3 functions.
2780 * config/rl78/divmodso.S: Add G14 and G13 versions of the
2781 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2782
2783 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
2784
2785 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2786 do-while loop as macro body to avoid warnings.
2787
2788 2015-04-10 Jakub Jelinek <jakub@redhat.com>
2789 Iain Sandoe <iain@codesourcery.com>
2790
2791 PR target/65351
2792 * configure: Regenerate.
2793
2794 2015-04-07 Jakub Jelinek <jakub@redhat.com>
2795 Iain Sandoe <iain@codesourcery.com>
2796
2797 PR target/65351
2798 * configure: Regenerate.
2799
2800 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
2801
2802 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2803
2804 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
2805
2806 Implement call0 ABI for xtensa
2807 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2808 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2809 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2810 use ret in call0 ABI.
2811 * config/xtensa/t-windowed: New file.
2812 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2813 * libgcc/configure: Regenerated.
2814 * libgcc/configure.ac: Check if xtensa target is configured for
2815 windowed ABI and thus needs to use custom unwind code.
2816
2817 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
2818
2819 PR libgcc/64885
2820 * gthr-single.h: Use __unused__ attribute instead of unused.
2821 * config/gthr-vxworks.h: Likewise.
2822 * config/i386/gthr-win32.h: Likewise.
2823
2824 2015-02-27 Kai Tietz <ktietz@redhat.com>
2825
2826 PR target/65038
2827 * config.in: Regenerated.
2828 * configure: Likewise.
2829 * configure.ac (AC_HEADER_STDC): Added explicit.
2830 (AC_CHECK_HEADERS): Check for default headers plus
2831 for ftw.h header.
2832 * libgcov-util.c (gcov_read_profile_dir): Disable use
2833 of ftw-function, if header is not found.
2834 (ftw_read_file): Likewise.
2835
2836 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
2837
2838 PR target/65181
2839 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2840 -Dinhibit_libc.
2841
2842 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
2843
2844 * config/arm/bpabi.S (test_div_by_zero): Make label names
2845 consistent between thumb2 and arm mode cases. Separate the
2846 signed comparison on the high word of the numerator from the
2847 unsigned comparison on the low word.
2848 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2849 signed comparison.
2850
2851 2015-02-17 Joseph Myers <joseph@codesourcery.com>
2852
2853 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2854 and <string.h>.
2855 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2856
2857 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
2858
2859 PR gcov-profile/61889
2860 * libgcov-driver-system.c: undefine clashing macro for mkdir.
2861
2862 2015-02-02 Nick Clifton <nickc@redhat.com>
2863
2864 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2865 rounding up the fraction.
2866
2867 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
2868
2869 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2870 oldval and newval to const void *. Fix typo.
2871 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2872 (FETCH_AND_OP_WORD): Likewise.
2873 (OP_AND_FETCH_WORD): Likewise.
2874 (COMPARE_AND_SWAP_2): Likewise.
2875 (__sync_val_compare_and_swap_4): Likewise.
2876 (__sync_lock_test_and_set_4): Likewise.
2877 (SYNC_LOCK_RELEASE_2): Likewise.
2878 Remove support for long long atomic operations.
2879
2880 2015-01-27 Caroline Tice <cmtice@google.com>
2881
2882 Committing VTV Cywin/Ming patch for Patrick Wollgast
2883 * Makefile.in: Move rules to build vtv_*.o out of the check
2884 for CUSTOM_CRTSTUFF.
2885 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2886 i[34567]86-*-mingw*)
2887 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2888 enable_vtable_verify.
2889
2890 2015-01-27 Nick Clifton <nickc@redhat.com>
2891
2892 * config/rl78/cmpsi2.S: Use function start and end macros.
2893 (__gcc_bcmp): New function.
2894 * config/rl78/lshrsi3.S: Use function start and end macros.
2895 * config/rl78/mulsi3.S: Add support for G10.
2896 (__mulqi3): New function for G10.
2897 * config/rl78/signbit.S: Use function start and end macros.
2898 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2899 fpmath-sf.S.
2900 (LIB2FUNCS_EXCLUDE): Define.
2901 (LIB2FUNCS_ST): Define.
2902 * config/rl78/trampoline.S: Use function start and end macros.
2903 * config/rl78/vregs.h (START_FUNC): New macro.
2904 (START_ANOTHER_FUNC): New macro.
2905 (END_FUNC): New macro.
2906 (END_ANOTHER_FUNC): New macro.
2907 * config/rl78/bit-count.S: New file. Contains assembler
2908 implementations of the bit counting functions: ___clzhi2,
2909 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2910 __paritysi2, __popcounthi2 and __popcountsi2.
2911 * config/rl78/fpbit-sf.S: New file. Contains assembler
2912 implementationas of the math functions: __negsf2, __cmpsf2,
2913 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2914 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
2915 * config/rl78/fpmath-sf.S: New file. Contains assembler
2916 implementations of the math functions: __subsf3, __addsf3,
2917 __mulsf3 and __divsf3
2918
2919 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2920
2921 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2922 Add i386/elf-lib.h to tm_file.
2923 * config/i386/elf-lib.h: Fix comment.
2924 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2925 && __sun__ && __svr4__]: Remove workaround.
2926
2927 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
2928
2929 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2930 FEATURE_BMI2.
2931 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2932
2933 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
2934
2935 * config/i386/cpuinfo.c (processor_subtypes): Add
2936 INTEL_COREI7_BROADWELL.
2937 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2938 model numbers.
2939
2940 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
2941
2942 * config/i386/elf-lib.h: New file.
2943 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2944 Wrap definition in #ifdef __i386__.
2945 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2946 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2947 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2948 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2949 to tm_file.
2950
2951 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
2952
2953 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2954 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2955
2956 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
2957
2958 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2959 Update rt_sigframe format and address for current Nios II
2960 Linux conventions.
2961
2962 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2963
2964 * config.host (arm*-*-freebsd*): Add new configuration for
2965 arm*-*-freebsd*.
2966 * config/arm/freebsd-atomic.c: New file.
2967 * config/arm/t-freebsd: Likewise.
2968 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2969 'PC-relative indirect' OS's.
2970
2971 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
2972
2973 * config.host: Add Visium support.
2974 * config/visium: New directory.
2975
2976 2015-01-05 Jakub Jelinek <jakub@redhat.com>
2977
2978 Update copyright years.
2979
2980 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
2981
2982 * config.host: Support mipsisa32r6 and mipsisa64r6.
2983 * config/mips/mips16.S: Do not build for R6.
2984
2985 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
2986
2987 * config/sh/crt.h: New.
2988 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2989 symbols.
2990 * config/sh/crt1.S: Likewise.
2991
2992 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
2993
2994 PR libgcc/63832
2995 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2996 func_ptr *dtor_list temporary variable to avoid "array subscript
2997 is above array bounds" warnings.
2998
2999 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
3000
3001 * Makefile.in (with_aix_soname): Define.
3002 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3003 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3004 * configure: Recreate.
3005
3006 2014-12-05 Olivier Hainque <hainque@adacore.com>
3007
3008 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3009 now provided by defaults.h.
3010
3011 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3012
3013 PR target/55351
3014 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3015 whether it's defined.
3016
3017 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3018
3019 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3020 * config/i386/cpuinfo.c (get_available_features): Detect it.
3021
3022 2014-11-27 Tony Wang <tony.wang@arm.com>
3023
3024 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3025 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3026 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3027
3028 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3029
3030 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3031
3032 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
3033
3034 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3035 instead.
3036
3037 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3038 John David Anglin <danglin@gcc.gnu.org>
3039
3040 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3041 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3042 (OP_AND_FETCH_2): Likewise.
3043 (COMPARE_AND_SWAP_2): Likewise.
3044 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3045 (SYNC_LOCK_RELEASE_2): Likewise.
3046 (SUBWORD_SYNC_OP): Remove.
3047 (SUBWORD_VAL_CAS): Likewise.
3048 (SUBWORD_BOOL_CAS): Likewise.
3049 (FETCH_AND_OP_WORD): Update.
3050 Consistently use signed types.
3051
3052 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3053 Thomas Schwinge <thomas@codesourcery.com>
3054 Ilya Verbin <ilya.verbin@intel.com>
3055 Andrey Turetskiy <andrey.turetskiy@intel.com>
3056
3057 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3058 (crtoffloadend$(objext)): Likewise.
3059 * configure: Regenerate.
3060 * configure.ac (accel_dir_suffix): Compute new variable.
3061 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3062 if enable_offload_targets is not empty.
3063 * offloadstuff.c: New file.
3064
3065 2014-11-13 Nick Clifton <nickc@redhat.com>
3066
3067 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3068 Use START_FUNC and END_FUNC macros to enable linker garbage
3069 collection.
3070 * config/rl78/divmodqi.S: Likewise.
3071 * config/rl78/divmodsi.S: Likewise.
3072 * config/rl78/mulsi3.S: Likewise.
3073 * config/rl78/lib2div.c: Remove G10 functions.
3074 * config/rl78/lib2muls.c: Likewise.
3075 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3076 * config/rl78/vregs.h (START_FUNC): New macro.
3077 (END_FUNC): New macro.
3078
3079 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3080
3081 * config/mips/mips16.S: Set .module when supported. Update O32
3082 FP64 calling convention and use for FPXX when possible. Add FPXX
3083 calling convention fallback case.
3084
3085 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3086
3087 * config.host: Handle nvptx-*-*.
3088 * shared-object.mk (as-flags-$o): Define.
3089 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3090 -xassembler-with-cpp.
3091 * static-object.mk: Identical changes.
3092 * config/nvptx/t-nvptx: New file.
3093 * config/nvptx/crt0.s: New file.
3094 * config/nvptx/free.asm: New file.
3095 * config/nvptx/malloc.asm: New file.
3096 * config/nvptx/realloc.c: New file.
3097
3098 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3099
3100 * Makefile.in (libgcc.map.in): New target.
3101 (libgcc.map): Use libgcc.map.in.
3102 * config/t-softfp (softfp_compat): New variable to be set by
3103 users.
3104 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3105 variables.
3106 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3107 directory.
3108 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3109 that use compat symbols and disable all code unless [SHARED].
3110 * config/t-softfp-compat: New file.
3111 * find-symver.awk: New file.
3112 * configure.ac (--with-glibc-version): New configure option.
3113 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3114 * configure: Regenerate.
3115 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3116 soft-float and e500.
3117
3118 2014-10-29 Joseph Myers <joseph@codesourcery.com>
3119
3120 * config/t-hardfp (hardfp_exclusions): Document new variable for
3121 user to define.
3122 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3123 * config/t-softfp (softfp_extras): Document new variable for user
3124 to define.
3125 (softfp_func_list): Add functions from $(softfp_extras).
3126 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3127 * config.host (powerpc*-*-linux*): For e500v1, use
3128 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3129 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3130 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3131
3132 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
3133
3134 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3135 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3136 memory read accesses are ok.
3137
3138 2014-10-25 Joseph Myers <joseph@codesourcery.com>
3139
3140 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3141 * configure: Regenerate.
3142 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3143 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3144 of soft-fp for 32-bit classic hard float. Do not use
3145 t-softfp-excl for soft float.
3146
3147 2014-10-22 Joseph Myers <joseph@codesourcery.com>
3148
3149 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3150 configurations.
3151 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3152 Remove variables.
3153
3154 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
3155
3156 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3157 introduced with 2014-10-21 trunk r216525.
3158
3159 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
3160 Vidya Praveen <vidya.praveen@atmel.com>
3161 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3162 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3163 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
3164
3165 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3166 order.
3167
3168 Updated library functions for AVRTINY arch.
3169 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3170 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3171 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3172 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3173 wsubi/wadi macors.
3174 (__mulsi3_helper): Update stack, preserve callee saved regs and
3175 argument from stack. Restore callee save registers.
3176 (__mulpsi3): Likewise.
3177 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3178 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
3179 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
3180 AVRTINY.
3181 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3182 (__do_copy_data): Added new definition for AVRTINY.
3183 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3184 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3185 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3186 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3187 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3188 macors.
3189 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
3190 AVRTINY.
3191
3192 Fix broken long multiplication on tiny arch.
3193
3194 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3195
3196 * soft-fp/double.h: Update from glibc.
3197 * soft-fp/eqdf2.c: Likewise.
3198 * soft-fp/eqsf2.c: Likewise.
3199 * soft-fp/eqtf2.c: Likewise.
3200 * soft-fp/extenddftf2.c: Likewise.
3201 * soft-fp/extended.h: Likewise.
3202 * soft-fp/extendsfdf2.c: Likewise.
3203 * soft-fp/extendsftf2.c: Likewise.
3204 * soft-fp/extendxftf2.c: Likewise.
3205 * soft-fp/gedf2.c: Likewise.
3206 * soft-fp/gesf2.c: Likewise.
3207 * soft-fp/getf2.c: Likewise.
3208 * soft-fp/ledf2.c: Likewise.
3209 * soft-fp/lesf2.c: Likewise.
3210 * soft-fp/letf2.c: Likewise.
3211 * soft-fp/op-1.h: Likewise.
3212 * soft-fp/op-2.h: Likewise.
3213 * soft-fp/op-4.h: Likewise.
3214 * soft-fp/op-8.h: Likewise.
3215 * soft-fp/op-common.h: Likewise.
3216 * soft-fp/quad.h: Likewise.
3217 * soft-fp/single.h: Likewise.
3218 * soft-fp/soft-fp.h: Likewise.
3219 * soft-fp/unorddf2.c: Likewise.
3220 * soft-fp/unordsf2.c: Likewise.
3221 * soft-fp/unordtf2.c: Likewise.
3222 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
3223 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
3224 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
3225 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
3226 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
3227 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
3228 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
3229 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
3230 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
3231 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
3232
3233 2014-10-08 Rong Xu <xur@google.com>
3234
3235 * libgcov-util.c (read_gcda_file): Fix format.
3236 (find_match_gcov_info): Ditto.
3237 (calculate_2_entries): New.
3238 (compute_one_gcov): Ditto.
3239 (gcov_info_count_all_cold): Ditto.
3240 (gcov_info_count_all_zero): Ditto.
3241 (extract_file_basename): Ditto.
3242 (get_file_basename): Ditto.
3243 (set_flag): Ditto.
3244 (matched_gcov_info): Ditto.
3245 (calculate_overlap): Ditto.
3246 (gcov_profile_overlap): Ditto.
3247 * libgcov-driver.c (compute_summary): Make
3248 it avavilable for external calls.
3249
3250 2014-10-06 Rong Xu <xur@google.com>
3251
3252 * Makefile.in: Ditto.
3253 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
3254 (gcov_sort_icall_topn_counter): Ditto.
3255 (gcov_sort_topn_counter_arrays): Ditto.
3256 (dump_one_gcov): Sort indirect_call topn counters.
3257 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
3258 function.
3259 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
3260 utility function.
3261 (__gcov_indirect_call_topn_profiler): New profiler function.
3262 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
3263 * libgcov.h: New decls.
3264
3265 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
3266
3267 * config.host: Remove support for score-*.
3268
3269 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3270
3271 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3272 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
3273 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
3274 __LIBGCC_XF_MANT_DIG__.
3275 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
3276 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
3277 __LIBGCC_TF_MANT_DIG__.
3278 * libgcc2.c (NOTRUNC): Define in terms of
3279 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
3280 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
3281
3282 2014-09-22 Joseph Myers <joseph@codesourcery.com>
3283
3284 PR target/63312
3285 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
3286 New macros.
3287
3288 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
3289
3290 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
3291 override USE_PT_GNU_EH_FRAME.
3292 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
3293 check USE_EH_FRAME_REGISTRY_ALWAYS against
3294 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
3295 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
3296 variable for substituted force_explicit_eh_registry.
3297 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
3298 * configure.ac (explicit-exception-frame-registration):
3299 New AC_ARG_ENABLE.
3300 * configure: Regenerate.
3301
3302 2014-09-19 Olivier Hainque <hainque@adacore.com>
3303
3304 * config.host (powerpc-wrs-vxworksmils): New configuration,
3305 same as vxworksae.
3306
3307 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3308
3309 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
3310
3311 2014-09-18 Joseph Myers <joseph@codesourcery.com>
3312
3313 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
3314 bits not set bits as indicating trapping exceptions.
3315
3316 2014-09-17 Nathan sidwell <nathan@acm.org>
3317
3318 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
3319 (LIBGCOV_DRIVER): ... here.
3320 * libgcov-driver.c (gcov_master): New.
3321 (gcov_exit): Remove from master chain.
3322 (__gcov_init): Add to master chain if version compatible. Don't
3323 clear the version.
3324 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
3325 (gcov_reset_int): Clear master chain, if compatible.
3326 (gcov_dump_int): New internal interface. Dump master chain, if
3327 compatible.
3328 (gcov_dump): Alias for gcov_dump_int.
3329 * libgcov.h (struct gcov_root): Add next and prev fields.
3330 (struct gcov_master): New struct.
3331 (__gcov_master): New.
3332 (gcov_dump_int): Declare.
3333
3334 2014-09-17 Olivier Hainque <hainque@adacore.com>
3335
3336 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
3337 and crtbegin.o + crtend.o to extra_parts.
3338
3339 2014-09-12 Joseph Myers <joseph@codesourcery.com>
3340
3341 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
3342 __LIBGCC_HAS_SF_MODE__.
3343 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3344 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3345 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3346 * config/libbid/bid_gcc_intrinsics.h
3347 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3348 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
3349 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
3350 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
3351 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
3352 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
3353
3354 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
3355
3356 PR target/63223
3357 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
3358 and R24 as needed. Make work for all devices and .text locations.
3359 (__do_global_ctors, __do_global_dtors): Use word addresses.
3360 (__tablejump__, __tablejump_elpm__): Remove functions.
3361 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
3362 Add _tablejump2.
3363 (XICALL, XIJMP): New macros.
3364
3365 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
3366 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3367
3368 * config.host (aarch64*): Include crtfastmath.o and
3369 t-crtfm.
3370 * config/aarch64/crtfastmath.c: New file.
3371
3372 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
3373
3374 * config.host: Remove picochip support.
3375 * config/picochip/adddi3.S: Remove.
3376 * config/picochip/ashlsi3.S: Remove.
3377 * config/picochip/ashlsi3.c: Remove.
3378 * config/picochip/ashrsi3.S: Remove.
3379 * config/picochip/ashrsi3.c: Remove.
3380 * config/picochip/clzsi2.S: Remove.
3381 * config/picochip/cmpsi2.S: Remove.
3382 * config/picochip/divmod15.S: Remove.
3383 * config/picochip/divmodhi4.S: Remove.
3384 * config/picochip/divmodsi4.S: Remove.
3385 * config/picochip/lib1funcs.S: Remove.
3386 * config/picochip/longjmp.S: Remove.
3387 * config/picochip/lshrsi3.S: Remove.
3388 * config/picochip/lshrsi3.c: Remove.
3389 * config/picochip/parityhi2.S: Remove.
3390 * config/picochip/popcounthi2.S: Remove.
3391 * config/picochip/setjmp.S: Remove.
3392 * config/picochip/subdi3.S: Remove.
3393 * config/picochip/t-picochip: Remove.
3394 * config/picochip/ucmpsi2.S: Remove.
3395 * config/picochip/udivmodhi4.S: Remove.
3396 * config/picochip/udivmodsi4.S: Remove.
3397
3398 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3399
3400 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
3401 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
3402 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
3403 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
3404 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
3405 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
3406 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
3407 defined and LIBGCC2_HAS_DF_MODE is defined.
3408 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
3409 defined and LIBGCC2_HAS_XF_MODE is defined.
3410 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
3411 defined and LIBGCC2_HAS_TF_MODE is defined.
3412
3413 2014-09-08 Joseph Myers <joseph@codesourcery.com>
3414
3415 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
3416 and ROUND_TOWARDS_ZERO conditionals.
3417
3418 2014-09-07 Nathan sidwell <nathan@acm.org>
3419
3420 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
3421 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
3422
3423 2014-09-05 Joseph Myers <joseph@codesourcery.com>
3424
3425 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
3426 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3427 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3428 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3429 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3430 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3431 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3432 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
3433 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
3434 (DWARF_FRAME_REGISTERS): Change all uses to
3435 __LIBGCC_DWARF_FRAME_REGISTERS__.
3436 (EH_RETURN_STACKADJ_RTX): Change all uses to
3437 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3438 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
3439 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
3440 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
3441 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
3442 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
3443 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
3444 to __LIBGCC_EH_FRAME_SECTION_NAME__.
3445 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
3446 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
3447 __LIBGCC_STACK_POINTER_REGNUM__.
3448 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
3449 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3450 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3451 to __LIBGCC_STACK_POINTER_REGNUM__.
3452 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3453 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3454 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
3455 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3456 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
3457 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
3458 (STACK_POINTER_REGNUM): Change all uses to
3459 __LIBGCC_STACK_POINTER_REGNUM__.
3460 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
3461 use to __LIBGCC_STACK_POINTER_REGNUM__.
3462 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
3463 uses to __LIBGCC_STACK_POINTER_REGNUM__.
3464 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
3465 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3466 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
3467 to __LIBGCC_DWARF_FRAME_REGISTERS__.
3468 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
3469 to __LIBGCC_STACK_POINTER_REGNUM__.
3470 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
3471 Remove conditional definition.
3472 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
3473 __LIBGCC_TEXT_SECTION_ASM_OP__.
3474 (EH_FRAME_SECTION_NAME): Change all uses to
3475 __LIBGCC_EH_FRAME_SECTION_NAME__.
3476 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
3477 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
3478 (CTORS_SECTION_ASM_OP): Change all uses to
3479 __LIBGCC_CTORS_SECTION_ASM_OP__.
3480 (DTORS_SECTION_ASM_OP): Change all uses to
3481 __LIBGCC_DTORS_SECTION_ASM_OP__.
3482 (JCR_SECTION_NAME): Change all uses to
3483 __LIBGCC_JCR_SECTION_NAME__.
3484 (INIT_SECTION_ASM_OP): Change all uses to
3485 __LIBGCC_INIT_SECTION_ASM_OP__.
3486 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3487 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3488 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
3489 __LIBGCC_STACK_GROWS_DOWNWARD__.
3490 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
3491 __LIBGCC_INIT_SECTION_ASM_OP__.
3492 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
3493 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
3494 (EH_FRAME_SECTION_NAME): Change all uses to
3495 __LIBGCC_EH_FRAME_SECTION_NAME__.
3496 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
3497 definitions. Change all uses to
3498 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
3499 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
3500 __LIBGCC_STACK_GROWS_DOWNWARD__.
3501 (DWARF_FRAME_REGISTERS): Change all uses to
3502 __LIBGCC_DWARF_FRAME_REGISTERS__.
3503 (EH_RETURN_STACKADJ_RTX): Change all uses to
3504 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3505 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3506 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3507 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3508 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3509 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3510
3511 2014-09-02 Nathan sidwell <nathan@acm.org>
3512
3513 * libgcov-interface.c (STRONG_ALIAS): New.
3514 (__gcov_flush): Call __gcov_reset_int.
3515 (__gcov_reset): Strong alias for ...
3516 (__gcov_reset_ing): ... this renamed hidden version.
3517 * libgcov.h (__gcov_reset_int): New declaration.
3518
3519 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3520
3521 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3522 call from here...
3523 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3524 (__dso_handle): Define on Cygwin.
3525 * config/i386/t-cygming (crtbeginS.o): New rule.
3526 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3527
3528 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3529 declaration syntax.
3530
3531 2014-08-13 Steve Ellcey <sellcey@mips.com>
3532
3533 * crtstuff.c: Undef caddr_t.
3534
3535 2014-08-12 Steve Ellcey <sellcey@mips.com>
3536
3537 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3538
3539 2014-08-07 Nathan Sidwell <nathan@acm.org>
3540
3541 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3542 (LIBGCOV_DRIVER): ... to here.
3543 * libgcov.h (gcov_do_dump): New #define.
3544 (struct gcov_root): New.
3545 (__gcov_root): New declaration.
3546 (__gcov_dump_one): Declare.
3547 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3548 run_accounted): Delete.
3549 (gcov_compute_histogram): Add LIST argument, adjust.
3550 (compute_summary): Adjust gcov_compute_histogram call.
3551 (gcov_do_dump): Not hidden, static in libgcov.
3552 (gcov_clear): Move to interface.c.
3553 (__gcov_dump_one): New, broken out of ...
3554 (gcov_exit): ... here. Make static.
3555 (__gcov_root): New.
3556 (__gcov_init): Adjust.
3557 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3558 declarations.
3559 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3560 (gcov_clear): Moved from driver.c. Add LIST argument.
3561 (__gcov_reset): Adjust for changed interfaces.
3562 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3563
3564 2014-08-04 Rohit <rohitarulraj@freescale.com>
3565
3566 PR target/60102
3567 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
3568 based on change in SPE high register numbers and 3 HTM registers.
3569
3570 2014-08-01 Nathan Sidwell <nathan@acm.org>
3571
3572 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3573 LIBGCOV_INTERFACE): Reformat.
3574 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3575 IN_GCOV_TOOL.
3576 * libgcov-interface.c: Reformat some comments.
3577 (__gcov_flush_mx): Add declaration. Tidy up definition.
3578
3579 2014-07-31 Alan Modra <amodra@gmail.com>
3580 Peter Bergner <bergner@vnet.ibm.com>
3581
3582 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3583 (pack_ldouble): New function.
3584 (__gcc_qadd): Use it.
3585 (__gcc_qmul): Likewise.
3586 (__gcc_qdiv): Likewise.
3587 (__gcc_qneg): Likewise.
3588 (__gcc_stoq): Likewise.
3589 (__gcc_dtoq): Likewise.
3590
3591 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3592
3593 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3594 (__tpf_eh_return): Add original return address as second parameter.
3595 Handle cases where unwinder routines were called directly, instead
3596 of from within the C++ library.
3597
3598 2014-07-29 Nathan Sidwell <nathan@acm.org>
3599
3600 * libgcov.h: Move renaming of entry points to lib gcov specific
3601 portion.
3602 (gcov_do_dump): New rename.
3603 (gcov_rewrite): Remove inline, make HIDDEN.
3604 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3605 (gcov_exit_compute_summary): Rename to ...
3606 (compute_summary): ... here. Add LIST argument.
3607 (gcov_exit_merge_gcda): Rename to ...
3608 (merge_one_data): ... here.
3609 (gcov_exit_write_gcda): Rename to ...
3610 (write_one_data): ... here.
3611 (gcov_exit_merge_summary): Rename to ...
3612 (merge_summary): Add RUN_COUNTED argument.
3613 (gcov_exit_dump_gcov): Rename to ...
3614 (dump_one_gcov): Add RUN_COUNTED argument.
3615 (gcov_do_dump): New function, broken out of ...
3616 (gcov_exit): ... here. Call it.
3617
3618 2014-07-27 Anthony Green <green@moxielogic.com>
3619
3620 * config.host: Add moxiebox configuration suppport.
3621
3622 2014-07-27 Nathan Sidwell <nathan@acm.org>
3623
3624 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3625 (struct gcov_filename): ... here. Include buffer and max length
3626 fields.
3627 (gcov_max_filename): Remove.
3628 (gi_filename): Remove.
3629 (gcov_exit_compute_summary): Compute max filename here.
3630 (gcov_exit_merge_gcda): Add filename parm, adjust.
3631 (gcov_exit_merge_summary): Likewise.
3632 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3633 (gcov_exit): Likewise.
3634 (__gcov_init): Don't calculate max length here.
3635 * libgcov_util.c (max_filename_len): Remove.
3636 (read_gcda_file): Don't calculate max length here.
3637 (gcov_read_profile_dir): Don't propagate here.
3638 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3639 struct gcov_filename changes.
3640 (gcov_exit_open_gcda_file): Likewise.
3641
3642 2014-07-25 Nathan Sidwell <nathan@acm.org>
3643
3644 * libgcov-driver.c (set_gcov_dump_complete,
3645 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3646 functions polluting user's namespace.
3647 (gcov_exit): Set variable directly.
3648 (gcov_clear): Reset variable directly.
3649 * libgcov-interface.c (get_gcov_dymp_complete,
3650 reset_gov_dump_complete): Remove declarations.
3651 (__gcov_reset, __gcov_dump): Don't call them.
3652
3653 2014-07-24 DJ Delorie <dj@redhat.com>
3654
3655 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
3656 (__gcc_deregister_frame): Move logic to detect deregister function
3657 to ...
3658 (__gcc_register_frame): here, so it's consistent with the register
3659 logic.
3660
3661 2014-07-23 Nathan Sidwell <nathan@acm.org>
3662
3663 * libgcov-driver.c (set_gcov_list): Remove.
3664 (gcov_list): Make non-static in GCOV_TOOL.
3665 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3666
3667 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
3668
3669 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3670 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3671 Don't use SYNC_LOCK_RELEASE for int type.
3672
3673 2014-07-14 Richard Biener <rguenther@suse.de>
3674
3675 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3676
3677 2014-07-11 Rong Xu <xur@google.com>
3678
3679 * libgcov-util.c (gcov_max_filename): Fix declartion.
3680
3681 2014-07-10 Rong Xu <xur@google.com>
3682
3683 Add gcov-tool: an offline gcda profile processing tool
3684 Support.
3685 * libgcov-driver.c (gcov_max_filename): Make available
3686 to gcov-tool.
3687 * libgcov-merge.c (__gcov_merge_add): Replace
3688 gcov_read_counter() with a Macro.
3689 (__gcov_merge_ior): Ditto.
3690 (__gcov_merge_time_profile): Ditto.
3691 (__gcov_merge_single): Ditto.
3692 (__gcov_merge_delta): Ditto.
3693 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3694 in the utility functions.
3695 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3696 gcov_list object link lists.
3697 (tag_function): Ditto.
3698 (tag_blocks): Ditto.
3699 (tag_arcs): Ditto.
3700 (tag_lines): Ditto.
3701 (tag_counters): Ditto.
3702 (tag_summary): Ditto.
3703 (read_gcda_finalize): Ditto.
3704 (read_gcda_file): Ditto.
3705 (ftw_read_file): Ditto.
3706 (read_profile_dir_init): Ditto.
3707 (gcov_read_profile_dir): Ditto.
3708 (gcov_read_counter_mem): Ditto.
3709 (gcov_get_merge_weight): Ditto.
3710 (merge_wrapper): A wrapper function that calls merging handler.
3711 (gcov_merge): Merge two gcov_info objects with weights.
3712 (find_match_gcov_info): Find the matched gcov_info in the list.
3713 (gcov_profile_merge): Merge two gcov_info object lists.
3714 (__gcov_add_counter_op): Process edge profile counter values.
3715 (__gcov_ior_counter_op): Process IOR profile counter values.
3716 (__gcov_delta_counter_op): Process delta profile counter values.
3717 (__gcov_single_counter_op): Process single profile counter values.
3718 (fp_scale): Callback function for float-point scaling.
3719 (int_scale): Callback function for integer fraction scaling.
3720 (gcov_profile_scale): Scaling profile counters.
3721 (gcov_profile_normalize): Normalize profile counters.
3722 * libgcov.h: Add headers and functions for gcov-tool use.
3723 (gcov_get_counter): New.
3724 (gcov_get_counter_target): Ditto.
3725 (struct gcov_info): Make the functions field mutable in gcov-tool
3726 compilation.
3727
3728 2014-06-23 Kai Tietz <ktietz@redhat.com>
3729
3730 PR libgcc/61585
3731 * unwind-seh.c (_Unwind_GetGR): Check for proper
3732 index range.
3733 (_Unwind_SetGR): Likewise.
3734
3735 2014-05-22 Nick Clifton <nickc@redhat.com>
3736
3737 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3738 -mhwmult=none.
3739
3740 2014-05-22 Teresa Johnson <tejohnson@google.com>
3741
3742 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3743 include.
3744
3745 2014-05-20 John Marino <gnugcc@marino.st>
3746
3747 * config.host (*-*-dragonfly*): New target.
3748 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3749 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3750 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3751 * config/i386/dragonfly-unwind.h: New.
3752
3753 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3754
3755 PR libgcc/60166
3756 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3757 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3758
3759 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3760
3761 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3762 implementation.
3763
3764 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
3765
3766 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3767
3768 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3769
3770 PR libgcc/61097
3771 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3772 if --enable-shared.
3773
3774 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
3775
3776 Work around for current cygwin32 build problems.
3777 * config/i386/cygming-crtbegin.c (__register_frame_info,
3778 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3779 functions only for 64-bit systems.
3780
3781 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3782
3783 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3784 (sigill_caught, sigill_hdlr): Remove.
3785
3786 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3787
3788 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3789 check.
3790 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3791 Solaris 9 single-threaded support.
3792 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3793 Solaris 9 single-threaded support. Add call_user_handler code
3794 sequences.
3795 (sparc_is_sighandler): Likewise.
3796
3797 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3798
3799 * config.host: Append t-floattodi to tmake_file depending on
3800 host_address.
3801
3802 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
3803
3804 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
3805
3806 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
3807
3808 PR libgcc/60472
3809 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
3810 variable to avoid "array subscript is above array bounds" warnings.
3811 Use __builtin_expect when checking *jcr_list for NULL.
3812
3813 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3814
3815 PR libgcc/59339
3816 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3817 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3818 vtv_*.o to extra_parts if enable_vtable_verify.
3819
3820 2014-03-06 Nick Clifton <nickc@redhat.com>
3821
3822 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3823 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3824
3825 2014-02-28 Joey Ye <joey.ye@arm.com>
3826
3827 PR libgcc/60166
3828 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3829 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3830 Set to zero.
3831
3832 2014-02-24 Walter Lee <walt@tilera.com>
3833
3834 * config.host: Support "tilegx*" and "tilepro*" triplets.
3835 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3836 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3837
3838 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
3839 Chung-Lin Tang <cltang@codesourcery.com>
3840
3841 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3842 * config/nios2/crti.S: Remove .file directive.
3843 * config/nios2/crtn.S: Likewise.
3844
3845 2014-02-18 Kai Tietz <ktietz@redhat.com>
3846 Jonathan Schleifer <js@webkeks.org>
3847
3848 PR objc/56870
3849 * unwind-seh.c (_GCC_specific_handler): Pass proper
3850 value to unwind-handler.
3851
3852 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3853
3854 * soft-fp/adddf3.c: Update from glibc.
3855 * soft-fp/addsf3.c: Likewise.
3856 * soft-fp/addtf3.c: Likewise.
3857 * soft-fp/divdf3.c: Likewise.
3858 * soft-fp/divsf3.c: Likewise.
3859 * soft-fp/divtf3.c: Likewise.
3860 * soft-fp/double.h: Likewise.
3861 * soft-fp/eqdf2.c: Likewise.
3862 * soft-fp/eqsf2.c: Likewise.
3863 * soft-fp/eqtf2.c: Likewise.
3864 * soft-fp/extenddftf2.c: Likewise.
3865 * soft-fp/extended.h: Likewise.
3866 * soft-fp/extendsfdf2.c: Likewise.
3867 * soft-fp/extendsftf2.c: Likewise.
3868 * soft-fp/extendxftf2.c: Likewise.
3869 * soft-fp/fixdfdi.c: Likewise.
3870 * soft-fp/fixdfsi.c: Likewise.
3871 * soft-fp/fixdfti.c: Likewise.
3872 * soft-fp/fixsfdi.c: Likewise.
3873 * soft-fp/fixsfsi.c: Likewise.
3874 * soft-fp/fixsfti.c: Likewise.
3875 * soft-fp/fixtfdi.c: Likewise.
3876 * soft-fp/fixtfsi.c: Likewise.
3877 * soft-fp/fixtfti.c: Likewise.
3878 * soft-fp/fixunsdfdi.c: Likewise.
3879 * soft-fp/fixunsdfsi.c: Likewise.
3880 * soft-fp/fixunsdfti.c: Likewise.
3881 * soft-fp/fixunssfdi.c: Likewise.
3882 * soft-fp/fixunssfsi.c: Likewise.
3883 * soft-fp/fixunssfti.c: Likewise.
3884 * soft-fp/fixunstfdi.c: Likewise.
3885 * soft-fp/fixunstfsi.c: Likewise.
3886 * soft-fp/fixunstfti.c: Likewise.
3887 * soft-fp/floatdidf.c: Likewise.
3888 * soft-fp/floatdisf.c: Likewise.
3889 * soft-fp/floatditf.c: Likewise.
3890 * soft-fp/floatsidf.c: Likewise.
3891 * soft-fp/floatsisf.c: Likewise.
3892 * soft-fp/floatsitf.c: Likewise.
3893 * soft-fp/floattidf.c: Likewise.
3894 * soft-fp/floattisf.c: Likewise.
3895 * soft-fp/floattitf.c: Likewise.
3896 * soft-fp/floatundidf.c: Likewise.
3897 * soft-fp/floatundisf.c: Likewise.
3898 * soft-fp/floatunditf.c: Likewise.
3899 * soft-fp/floatunsidf.c: Likewise.
3900 * soft-fp/floatunsisf.c: Likewise.
3901 * soft-fp/floatunsitf.c: Likewise.
3902 * soft-fp/floatuntidf.c: Likewise.
3903 * soft-fp/floatuntisf.c: Likewise.
3904 * soft-fp/floatuntitf.c: Likewise.
3905 * soft-fp/gedf2.c: Likewise.
3906 * soft-fp/gesf2.c: Likewise.
3907 * soft-fp/getf2.c: Likewise.
3908 * soft-fp/ledf2.c: Likewise.
3909 * soft-fp/lesf2.c: Likewise.
3910 * soft-fp/letf2.c: Likewise.
3911 * soft-fp/muldf3.c: Likewise.
3912 * soft-fp/mulsf3.c: Likewise.
3913 * soft-fp/multf3.c: Likewise.
3914 * soft-fp/negdf2.c: Likewise.
3915 * soft-fp/negsf2.c: Likewise.
3916 * soft-fp/negtf2.c: Likewise.
3917 * soft-fp/op-1.h: Likewise.
3918 * soft-fp/op-2.h: Likewise.
3919 * soft-fp/op-4.h: Likewise.
3920 * soft-fp/op-8.h: Likewise.
3921 * soft-fp/op-common.h: Likewise.
3922 * soft-fp/quad.h: Likewise.
3923 * soft-fp/single.h: Likewise.
3924 * soft-fp/soft-fp.h: Likewise.
3925 * soft-fp/subdf3.c: Likewise.
3926 * soft-fp/subsf3.c: Likewise.
3927 * soft-fp/subtf3.c: Likewise.
3928 * soft-fp/truncdfsf2.c: Likewise.
3929 * soft-fp/trunctfdf2.c: Likewise.
3930 * soft-fp/trunctfsf2.c: Likewise.
3931 * soft-fp/trunctfxf2.c: Likewise.
3932 * soft-fp/unorddf2.c: Likewise.
3933 * soft-fp/unordsf2.c: Likewise.
3934 * soft-fp/unordtf2.c: Likewise.
3935 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3936 macro.
3937 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3938 Likewise.
3939 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3940 Likewise.
3941 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3942 Likewise.
3943 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3944 Likewise.
3945 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3946 Likewise.
3947 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3948 Likewise.
3949 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3950 Likewise.
3951 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3952 Likewise.
3953 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3954 Likewise.
3955 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3956 Likewise.
3957 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3958 Likewise.
3959 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3960 Likewise.
3961 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3962 Likewise.
3963 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3964 Likewise.
3965 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3966 Likewise.
3967
3968 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3969
3970 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3971 cannot be represented.
3972 * config/s390/32/_fixsfdi.c: Likewise.
3973 * config/s390/32/_fixtfdi.c: Likewise.
3974 * config/s390/32/_fixunsdfdi.c: Likewise.
3975 * config/s390/32/_fixunssfdi.c: Likewise.
3976 * config/s390/32/_fixunstfdi.c: Likewise.
3977
3978 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
3979
3980 * configure.ac (libgcc_cv_mips_hard_float): New.
3981 * configure: Regenerate.
3982 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3983 t-softfp-sfdf for hard-float targets.
3984 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3985 (softfp_float_modes, softfp_int_modes, softfp_extensions)
3986 (softfp_truncations, softfp_exclude_libgcc2): New.
3987 * config/t-hardfp: New file.
3988 * config/t-hardfp-sfdf: Likewise.
3989 * config/hardfp.c: Likewise.
3990
3991 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3992
3993 * config.host: Include t-floattodi also for s390x.
3994 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3995 * config/s390/32/_fixsfdi.c: Likewise.
3996 * config/s390/32/_fixtfdi.c: Likewise.
3997 * config/s390/32/_fixunsdfdi.c: Likewise.
3998 * config/s390/32/_fixunssfdi.c: Likewise.
3999 * config/s390/32/_fixunstfdi.c: Likewise.
4000
4001 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4002
4003 PR target/59788
4004 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4005 (install-libgcc-unwind-map-forbuild): New target.
4006 (all): Depend on install-libgcc-unwind-map-forbuild.
4007 (install-libgcc-unwind-map): New target.
4008 (install): Depend on install-libgcc-unwind-map.
4009
4010 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4011
4012 * config/nios2/crti.S (_init): Initialize GOT pointer from
4013 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4014
4015 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4016
4017 * configure.ac: Check __mips64 when setting host_address.
4018 * configure: Regenerate.
4019 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4020 mips/t-mips64 and t-softfp.
4021 (mips*-*-linux*): Don't add mips/t-tpbit.
4022 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4023 (DPBIT, DPBIT_CFLAGS): Delete.
4024 * config/mips/sfp-machine.h: New file.
4025 * config/mips/t-mips64: Likewise.
4026 * config/mips/t-softfp-tf: Likewise.
4027 * config/mips/t-tpbit: Delete.
4028
4029 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4030
4031 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4032 as long long.
4033
4034 2014-01-25 Walter Lee <walt@tilera.com>
4035
4036 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4037 config.h or system.h.
4038 (bool) Define.
4039
4040 2014-01-25 Walter Lee <walt@tilera.com>
4041
4042 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4043 (post_atomic_barrier): Ditto.
4044 (__fetch_and_do): New macro.
4045 (__atomic_fetch_and_do): Use __fetch_and_do.
4046 (__sync_fetch_and_do): New macro.
4047 (__sync_fetch_and_add_4): New function.
4048 (__sync_fetch_and_sub_4): New function.
4049 (__sync_fetch_and_or_4): New function.
4050 (__sync_fetch_and_and_4): New function.
4051 (__sync_fetch_and_xor_4): New function.
4052 (__sync_fetch_and_nand_4): New function.
4053 (__sync_fetch_and_add_8): New function.
4054 (__sync_fetch_and_sub_8): New function.
4055 (__sync_fetch_and_or_8): New function.
4056 (__sync_fetch_and_and_8): New function.
4057 (__sync_fetch_and_xor_8): New function.
4058 (__sync_fetch_and_nand_8): New function.
4059 (__do_and_fetch): New macro.
4060 (__atomic_do_and_fetch): Use __do_and_fetch.
4061 (__sync_do_and_fetch): New macro.
4062 (__sync_add_and_fetch_4): New function.
4063 (__sync_sub_and_fetch_4): New function.
4064 (__sync_or_and_fetch_4): New function.
4065 (__sync_and_and_fetch_4): New function.
4066 (__sync_xor_and_fetch_4): New function.
4067 (__sync_nand_and_fetch_4): New function.
4068 (__sync_add_and_fetch_8): New function.
4069 (__sync_sub_and_fetch_8): New function.
4070 (__sync_or_and_fetch_8): New function.
4071 (__sync_and_and_fetch_8): New function.
4072 (__sync_xor_and_fetch_8): New function.
4073 (__sync_nand_and_fetch_8): New function.
4074 (__sync_exchange_methods): New macro.
4075 (__sync_val_compare_and_swap_4): New function.
4076 (__sync_bool_compare_and_swap_4): New function.
4077 (__sync_lock_test_and_test_4): New function.
4078 (__sync_val_compare_and_swap_8): New function.
4079 (__sync_bool_compare_and_swap_8): New function.
4080 (__sync_lock_test_and_test_8): New function.
4081 (__subword_cmpxchg_body): New macro.
4082 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4083 (__atomic_compare_exchange_2): Ditto.
4084 (__sync_subword_cmpxchg): New macro.
4085 (__sync_val_compare_and_swap_1): New function.
4086 (__sync_bool_compare_and_swap_1): New function.
4087 (__sync_val_compare_and_swap_2): New function.
4088 (__sync_bool_compare_and_swap_2): New function.
4089 (__atomic_subword): Rename to ...
4090 (__subword): ... New name.
4091 (__atomic_subword_fetch): Use __subword.
4092 (__sync_subword_fetch): New macro.
4093 (__sync_fetch_and_add_1): New function.
4094 (__sync_fetch_and_sub_1): New function.
4095 (__sync_fetch_and_or_1): New function.
4096 (__sync_fetch_and_and_1): New function.
4097 (__sync_fetch_and_xor_1): New function.
4098 (__sync_fetch_and_nand_1): New function.
4099 (__sync_fetch_and_add_2): New function.
4100 (__sync_fetch_and_sub_2): New function.
4101 (__sync_fetch_and_or_2): New function.
4102 (__sync_fetch_and_and_2): New function.
4103 (__sync_fetch_and_xor_2): New function.
4104 (__sync_fetch_and_nand_2): New function.
4105 (__sync_add_and_fetch_1): New function.
4106 (__sync_sub_and_fetch_1): New function.
4107 (__sync_or_and_fetch_1): New function.
4108 (__sync_and_and_fetch_1): New function.
4109 (__sync_xor_and_fetch_1): New function.
4110 (__sync_nand_and_fetch_1): New function.
4111 (__sync_add_and_fetch_2): New function.
4112 (__sync_sub_and_fetch_2): New function.
4113 (__sync_or_and_fetch_2): New function.
4114 (__sync_and_and_fetch_2): New function.
4115 (__sync_xor_and_fetch_2): New function.
4116 (__sync_nand_and_fetch_2): New function.
4117 (__atomic_subword_lock): Use __subword.
4118 (__sync_subword_lock): New macro.
4119 (__sync_lock_test_and_set_1): New function.
4120 (__sync_lock_test_and_set_2): New function.
4121
4122 2014-01-25 Walter Lee <walt@tilera.com>
4123
4124 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4125 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4126 (__atomic_subword): Ditto.
4127
4128 2014-01-25 Walter Lee <walt@tilera.com>
4129
4130 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4131 a prefix op argument.
4132 (__atomic_nand_fetch_4): Add prefix op.
4133 (__atomic_nand_fetch_8): Ditto.
4134
4135 2014-01-21 Baruch Siach <barch@tkos.co.il>
4136
4137 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4138
4139 2014-01-09 Rong Xu <xur@google.com>
4140
4141 * libgcov-driver.c (this_prg): make it local to save
4142 bss space.
4143 (gcov_exit_compute_summary): Ditto.
4144 (gcov_exit_merge_gcda): Ditto.
4145 (gcov_exit_merge_summary): Ditto.
4146 (gcov_exit_dump_gcov): Ditto.
4147
4148 2014-01-08 Rong Xu <xur@google.com>
4149
4150 * libgcov-driver.c: Use libgcov.h.
4151 (buffer_fn_data): Use xmalloc instead of malloc.
4152 (gcov_exit_merge_gcda): Ditto.
4153 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4154 * libgcov.h: New common header files for libgcov-*.h.
4155 * libgcov-interface.c: Use libgcov.h
4156 * libgcov-merge.c: Ditto.
4157 * libgcov-profiler.c: Ditto.
4158 * Makefile.in: Add dependence to libgcov.h
4159
4160 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4161
4162 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4163 case of small numerator and finite nonzero result.
4164
4165 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4166
4167 Update copyright years
4168
4169 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4170
4171 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4172 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4173 config/arc/dp-hack.h, config/arc/fp-hack.h,
4174 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4175 config/arc/ieee-754/arc600-dsp/divdf3.S,
4176 config/arc/ieee-754/arc600-dsp/divsf3.S,
4177 config/arc/ieee-754/arc600-dsp/muldf3.S,
4178 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4179 config/arc/ieee-754/arc600-mul64/divdf3.S,
4180 config/arc/ieee-754/arc600-mul64/divsf3.S,
4181 config/arc/ieee-754/arc600-mul64/muldf3.S,
4182 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4183 config/arc/ieee-754/arc600/divsf3.S,
4184 config/arc/ieee-754/arc600/mulsf3.S,
4185 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4186 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4187 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4188 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4189 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4190 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4191 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4192 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4193 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4194 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4195 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4196 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4197 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4198 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4199 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4200 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4201 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4202 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4203 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4204 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4205 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4206 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4207 vtv_start_preinit.c: Use the standard form for the copyright notice.
4208
4209 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
4210 Chung-Lin Tang <cltang@codesourcery.com>
4211 Based on patches from Altera Corporation
4212
4213 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
4214 * config/nios2/lib2-nios2.h: New file.
4215 * config/nios2/lib2-divmod-hi.c: New file.
4216 * config/nios2/linux-unwind.h: New file.
4217 * config/nios2/lib2-divmod.c: New file.
4218 * config/nios2/linux-atomic.c: New file.
4219 * config/nios2/t-nios2: New file.
4220 * config/nios2/crti.asm: New file.
4221 * config/nios2/t-linux: New file.
4222 * config/nios2/lib2-divtable.c: New file.
4223 * config/nios2/lib2-mul.c: New file.
4224 * config/nios2/tramp.c: New file.
4225 * config/nios2/crtn.asm: New file.
4226
4227 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
4228
4229 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
4230 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
4231 from cpuid.h to check vendor signatures.
4232
4233 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
4234
4235 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
4236 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
4237 (get_amd_cpu): Likewise.
4238
4239 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
4240
4241 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
4242 Haswell.
4243
4244 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4245 H.J. Lu <hongjiu.lu@intel.com>
4246
4247 PR target/59422
4248 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
4249 and AMD_JAGUAR.
4250 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
4251 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
4252 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
4253 FEATURE_XOP and FEATURE_FMA.
4254 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
4255 AMDFAM15H_BDVER3.
4256 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
4257 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
4258 FEATURE_FMA4 and FEATURE_XOP.
4259
4260 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
4261
4262 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
4263 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
4264 (get_intel_cpu): Updated.
4265
4266 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
4267
4268 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
4269
4270 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
4271
4272 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4273 instructions when __SSE_MATH__ is defined.
4274
4275 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
4276
4277 * config.host (microblaze-*-rtems*): New.
4278
4279 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
4280
4281 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
4282 architectures that do not have hardware divide instruction.
4283 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
4284
4285 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
4286
4287 * longlong.h: Delete (moved to include/).
4288
4289 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4290
4291 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
4292 of normal number and qNaN to not raise an inexact exception.
4293
4294 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
4295
4296 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
4297
4298 2013-11-28 Matthew Leach <matthew.leach@arm.com>
4299
4300 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
4301 for correct opcodes on BE.
4302
4303 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
4304
4305 * soft-fp/op-4.h: Update from glibc.
4306
4307 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
4308
4309 * libgcc2.c (__udivmoddi4): Define new implementation when
4310 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
4311 divide instructions.
4312
4313 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
4314
4315 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
4316
4317 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4318
4319 * config/t-softfp (soft-fp-objects-base): New variable.
4320 (soft-fp-objects): Use it.
4321
4322 2013-11-23 David Edelson <dje.gcc@gmail.com>
4323 Andrew Dixie <andrewd@gentrack.com>
4324
4325 PR target/33704
4326 * config/rs6000/aixinitfini.c: New file.
4327 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
4328 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
4329 symbols.
4330
4331 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
4332
4333 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
4334
4335 2013-11-18 Jan Hubicka <jh@suse.cz>
4336
4337 * libgcov-driver.c (run_accounted): Make global level static.
4338 (gcov_exit_merge_summary): Silence warning; do not clear
4339 run_accounted here.
4340 (gcov_exit): Clear it here.
4341
4342 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
4343 run_accounted.
4344
4345 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
4346 (all_prg, crc32): Remove static vars.
4347 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
4348 all_prg.
4349 (gcov_exit_merge_gcda): Add crc32 parameter.
4350 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
4351 do not account run if it was already accounted.
4352 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
4353 (gcov_exit): Initialize all_prg; update.
4354
4355 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
4356
4357 * configure: Regenerate.
4358
4359 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4360 Alan Modra <amodra@gmail.com>
4361
4362 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
4363 (frob_update_context): Use it.
4364
4365 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4366 Alan Modra <amodra@gmail.com>
4367
4368 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
4369 (trampoline_initial): Provide ELFv2 variant.
4370 (__trampoline_setup): Likewise.
4371
4372 * config/rs6000/linux-unwind.h (frob_update_context): Do not
4373 check for AIX indirect function call sequence if _CALL_ELF == 2.
4374
4375 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4376 Alan Modra <amodra@gmail.com>
4377
4378 * config/rs6000/linux-unwind.h (get_regs): Do not support
4379 old kernel versions if _CALL_ELF == 2.
4380 (frob_update_context): Do not support PLT stub variants only
4381 generated by old linkers if _CALL_ELF == 2.
4382
4383 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4384 Alan Modra <amodra@gmail.com>
4385
4386 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
4387 location of CR save area for 64-bit little-endian systems.
4388
4389 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
4390
4391 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
4392 in tmake_file.
4393 * config/arm/t-vxworks: Delete.
4394
4395 2013-11-10 Kai Tietz <ktietz@redhat.com>
4396
4397 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
4398 Increment load-count on use of LIBGCC_SONAME DLL.
4399 (hmod_libgcc): New static variable to hold handle of
4400 LIBGCC_SONAME DLL.
4401 (__gcc_deregister_frame): Decrement load-count of
4402 LIBGCC_SONAME DLL.
4403
4404 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
4405
4406 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
4407 availability.
4408 * configure: Regenerate
4409
4410 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
4411
4412 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
4413 FP_EX_DENORM. Store result to volatile location after SSE division
4414 to close interrupt window. Remove unneeded fwait after x87
4415 division since interrupt window will be closed by emitted fstp.
4416 Rewrite FP_EX_INEXACT handling.
4417
4418 2013-11-06 Joseph Myers <joseph@codesourcery.com>
4419
4420 * soft-fp/README: Update.
4421 * soft-fp/adddf3.c: Update from glibc.
4422 * soft-fp/addsf3.c: Likewise.
4423 * soft-fp/addtf3.c: Likewise.
4424 * soft-fp/divdf3.c: Likewise.
4425 * soft-fp/divsf3.c: Likewise.
4426 * soft-fp/divtf3.c: Likewise.
4427 * soft-fp/double.h: Likewise.
4428 * soft-fp/eqdf2.c: Likewise.
4429 * soft-fp/eqsf2.c: Likewise.
4430 * soft-fp/eqtf2.c: Likewise.
4431 * soft-fp/extenddftf2.c: Likewise.
4432 * soft-fp/extended.h: Likewise.
4433 * soft-fp/extendsfdf2.c: Likewise.
4434 * soft-fp/extendsftf2.c: Likewise.
4435 * soft-fp/extendxftf2.c: Likewise.
4436 * soft-fp/fixdfdi.c: Likewise.
4437 * soft-fp/fixdfsi.c: Likewise.
4438 * soft-fp/fixdfti.c: Likewise.
4439 * soft-fp/fixsfdi.c: Likewise.
4440 * soft-fp/fixsfsi.c: Likewise.
4441 * soft-fp/fixsfti.c: Likewise.
4442 * soft-fp/fixtfdi.c: Likewise.
4443 * soft-fp/fixtfsi.c: Likewise.
4444 * soft-fp/fixtfti.c: Likewise.
4445 * soft-fp/fixunsdfdi.c: Likewise.
4446 * soft-fp/fixunsdfsi.c: Likewise.
4447 * soft-fp/fixunsdfti.c: Likewise.
4448 * soft-fp/fixunssfdi.c: Likewise.
4449 * soft-fp/fixunssfsi.c: Likewise.
4450 * soft-fp/fixunssfti.c: Likewise.
4451 * soft-fp/fixunstfdi.c: Likewise.
4452 * soft-fp/fixunstfsi.c: Likewise.
4453 * soft-fp/fixunstfti.c: Likewise.
4454 * soft-fp/floatdidf.c: Likewise.
4455 * soft-fp/floatdisf.c: Likewise.
4456 * soft-fp/floatditf.c: Likewise.
4457 * soft-fp/floatsidf.c: Likewise.
4458 * soft-fp/floatsisf.c: Likewise.
4459 * soft-fp/floatsitf.c: Likewise.
4460 * soft-fp/floattidf.c: Likewise.
4461 * soft-fp/floattisf.c: Likewise.
4462 * soft-fp/floattitf.c: Likewise.
4463 * soft-fp/floatundidf.c: Likewise.
4464 * soft-fp/floatundisf.c: Likewise.
4465 * soft-fp/floatunditf.c: Likewise.
4466 * soft-fp/floatunsidf.c: Likewise.
4467 * soft-fp/floatunsisf.c: Likewise.
4468 * soft-fp/floatunsitf.c: Likewise.
4469 * soft-fp/floatuntidf.c: Likewise.
4470 * soft-fp/floatuntisf.c: Likewise.
4471 * soft-fp/floatuntitf.c: Likewise.
4472 * soft-fp/gedf2.c: Likewise.
4473 * soft-fp/gesf2.c: Likewise.
4474 * soft-fp/getf2.c: Likewise.
4475 * soft-fp/ledf2.c: Likewise.
4476 * soft-fp/lesf2.c: Likewise.
4477 * soft-fp/letf2.c: Likewise.
4478 * soft-fp/muldf3.c: Likewise.
4479 * soft-fp/mulsf3.c: Likewise.
4480 * soft-fp/multf3.c: Likewise.
4481 * soft-fp/negdf2.c: Likewise.
4482 * soft-fp/negsf2.c: Likewise.
4483 * soft-fp/negtf2.c: Likewise.
4484 * soft-fp/op-1.h: Likewise.
4485 * soft-fp/op-2.h: Likewise.
4486 * soft-fp/op-4.h: Likewise.
4487 * soft-fp/op-8.h: Likewise.
4488 * soft-fp/op-common.h: Likewise.
4489 * soft-fp/quad.h: Likewise.
4490 * soft-fp/single.h: Likewise.
4491 * soft-fp/soft-fp.h: Likewise.
4492 * soft-fp/subdf3.c: Likewise.
4493 * soft-fp/subsf3.c: Likewise.
4494 * soft-fp/subtf3.c: Likewise.
4495 * soft-fp/truncdfsf2.c: Likewise.
4496 * soft-fp/trunctfdf2.c: Likewise.
4497 * soft-fp/trunctfsf2.c: Likewise.
4498 * soft-fp/trunctfxf2.c: Likewise.
4499 * soft-fp/unorddf2.c: Likewise.
4500 * soft-fp/unordsf2.c: Likewise.
4501 * soft-fp/unordtf2.c: Likewise.
4502
4503 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
4504
4505 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4506 (_FP_MUL_MEAT_D): Ditto.
4507 (_FP_DIV_MEAT_S): Ditto.
4508 (_FP_DIV_MEAT_D): Ditto.
4509 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4510 t-softfp-sfdf and t-softfp to tmake_file.
4511
4512 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
4513
4514 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4515 * config/i386/crtprec.c: Ditto.
4516
4517 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4518 Shiva Chen <shiva0217@gmail.com>
4519
4520 * config.host (nds32*-elf*): Add nds32 target.
4521 * config/nds32 : New directory and files.
4522
4523 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
4524
4525 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4526 * config.host (cpu_type) <Setting default>: Add entry for
4527 crisv32-*-*.
4528 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4529 <crisv32-*-linux*>: Adjust.
4530 * longlong.h: Wrap the whole CRIS section in a single
4531 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4532 and sub_ddmmss.
4533 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4534 defined.
4535 [__CRIS__] (__umulsidi3): Define.
4536 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4537 * config/cris/sfp-machine.h: New file.
4538 * config/cris/umulsidi3.S: New file.
4539 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4540 * config/cris/arit.c (SIGNMULT): New macro.
4541 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4542 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4543 saving 3 out of originally 33 cycles from the fastest
4544 path, 3 out of 54 from the medium path and one from the longest
4545 path. Improve comments.
4546
4547 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4548
4549 * sync.c: Remove static aliases and define each function directly
4550 under its real name.
4551
4552 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
4553
4554 * config.host (hppa*64*-*-linux*): Define extra_parts.
4555 (hppa*-*-linux*): Likewise.
4556
4557 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4558
4559 * config/arc/crtgend.S: Add 2013 to Copyright years.
4560 * config/arc/gmon/atomic.h: Likewise.
4561 * config/arc/gmon/auxreg.h: Likewise.
4562 * config/arc/gmon/sys/gmon_out.h: Likewise.
4563 * config/arc/gmon/sys/gmon.h: Likewise.
4564 * config/arc/gmon/prof-freq.c: Likewise.
4565 * config/arc/gmon/mcount.c: Likewise.
4566 * config/arc/gmon/prof-freq-stub.S: Likewise.
4567 * config/arc/gmon/gmon.c: Likewise.
4568 * config/arc/gmon/machine-gmon.h: Likewise.
4569 * config/arc/gmon/profil.S: Likewise.
4570 * config/arc/gmon/dcache_linesz.S: Likewise.
4571 * config/arc/crtg.S: Likewise.
4572 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4573 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4574 * config/arc/ieee-754/adddf3.S: Likewise.
4575 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4576 * config/arc/ieee-754/fixsfsi.S: Likewise.
4577 * config/arc/ieee-754/gtsf2.S: Likewise.
4578 * config/arc/ieee-754/floatsisf.S: Likewise.
4579 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4580 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4581 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4582 * config/arc/ieee-754/fixdfsi.S: Likewise.
4583 * config/arc/ieee-754/addsf3.S: Likewise.
4584 * config/arc/ieee-754/gesf2.S: Likewise.
4585 * config/arc/ieee-754/floatsidf.S: Likewise.
4586 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4587 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4588 * config/arc/ieee-754/gtdf2.S: Likewise.
4589 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4590 * config/arc/ieee-754/uneqdf2.S: Likewise.
4591 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4592 * config/arc/ieee-754/uneqsf2.S: Likewise.
4593 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4594 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4595 * config/arc/ieee-754/eqdf2.S: Likewise.
4596 * config/arc/ieee-754/ordsf2.S: Likewise.
4597 * config/arc/ieee-754/divsf3.S: Likewise.
4598 * config/arc/ieee-754/divdf3.S: Likewise.
4599 * config/arc/ieee-754/floatunsidf.S: Likewise.
4600 * config/arc/ieee-754/orddf2.S: Likewise.
4601 * config/arc/ieee-754/eqsf2.S: Likewise.
4602 * config/arc/ieee-754/gedf2.S: Likewise.
4603 * config/arc/crtn.S: Likewise.
4604 * config/arc/crti.S: Likewise.
4605 * config/arc/t-arc700-uClibc: Likewise.
4606 * config/arc/asm.h: Likewise.
4607 * config/arc/libgcc-excl.ver: Likewise.
4608 * config/arc/t-arc-newlib: Likewise.
4609 * config/arc/divtab-arc700.c: Likewise.
4610 * config/arc/initfini.c: Likewise.
4611 * config/arc/fp-hack.h: Likewise.
4612
4613 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4614 Diego Novillo <dnovillo@google.com>
4615
4616 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
4617 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4618 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4619 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
4620
4621 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4622 Brendan Kehoe <brendan@zen.org>
4623 Simon Cook <simon.cook@embecosm.com>
4624
4625 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4626 * config/arc: New directory.
4627 * longlong.h [__arc__] (umul_ppmm): Remove.
4628 [__arc__] (__umulsidi3): Define.
4629 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4630 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4631
4632 2013-09-17 Jacek Caban <jacek@codeweavers.com>
4633
4634 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4635 CreateSemaphoreA.
4636 * config/i386/gthr-win32.h: Likewise.
4637
4638 2013-09-16 DJ Delorie <dj@redhat.com>
4639
4640 * config/rl78/vregs.h: Add G10 register definitions.
4641 * config/rl78/lib2mul.c: Enable for RL78/G10.
4642 * config/rl78/lib2div.c: Likewise.
4643 * config/rl78/lshrsi3.S: Use vregs.h.
4644 * config/rl78/cmpsi2.S: Likewise.
4645 * config/rl78/trampoline.S: Likewise.
4646 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4647
4648 2013-09-14 DJ Delorie <dj@redhat.com>
4649 Nick Clifton <nickc@redhat.com>
4650
4651 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4652 * config/rl78/vregs.h: New.
4653 * config/rl78/signbit.S: New file. Implements signbit function.
4654 * config/rl78/divmodsi.S: New.
4655 * config/rl78/divmodhi.S: New.
4656 * config/rl78/divmodqi.S: New.
4657 * config/rl78/t-rl78: Build them here...
4658 * config/rl78/lib2div.c: ...but not here.
4659
4660 2013-09-12 DJ Delorie <dj@redhat.com>
4661
4662 * config.host (msp*-*-elf): New.
4663 * config/msp430/: New port.
4664
4665 2013-08-18 Iain Sandoe <iain@codesourcery.com>
4666
4667 PR gcov-profile/58127
4668 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4669 __thread var for emulated TLS.
4670 (__gcov_indirect_call_counters): Likewise.
4671
4672 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
4673 Catherine Moore <clm@codesourcery.com>
4674 Richard Sandiford <rdsandiford@googlemail.com>
4675
4676 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4677 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4678 (CALL_STUB_NO_RET): Likewise.
4679 (CALL_STUB_RET): Likewise.
4680 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4681 __mips16_ret call/return stub symbols.
4682 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4683 to tmake_file.
4684
4685 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4686
4687 * config.host <mips*-*-linux*>: Remove a stray comment.
4688
4689 2013-08-10 Jan Hubicka <jh@suse.cz>
4690
4691 Work around binutils PR14342
4692 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4693 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4694 (L_gcov_indirect_call_profiler_v2): New.
4695
4696 2013-08-06 Jan Hubicka <jh@suse.cz>
4697
4698 * libgcov.c (__gcov_indirect_call_callee,
4699 __gcov_indirect_call_counters): New global vars.
4700 (__gcov_indirect_call_profiler): replace by ...
4701 (__gcov_indirect_call_profiler_v2) ... this one.
4702
4703 2013-08-06 Caroline Tice <cmtice@google.com>
4704
4705 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
4706 vtv_start_preinit.o and vtv_end_preinit.o.
4707 * configure.ac: Add code to check/set enable_vtable_verify.
4708 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
4709 true.
4710 * vtv_start_preinit.c: New file.
4711 * vtv_end_preinit.c: New file.
4712 * vtv_start.c: New file.
4713 * vtv_end.c: New file.
4714 * configure: Regenerated.
4715
4716 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4717
4718 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4719 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4720 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4721 GPL-3.0-with-GCC-exception.
4722
4723 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4724
4725 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4726 ISA and up.
4727
4728 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4729
4730 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4731 mapping for FPRs when creating the fallback framestate.
4732
4733 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
4734
4735 PR target/57516
4736 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4737 (__round_s2_const, __round_u2_const)
4738 (__round_s4_const, __round_u4_const, __round_x8):
4739 Saturate result if addition result cannot be represented.
4740
4741 2013-07-15 Matthias Klose <doko@ubuntu.com>
4742
4743 * libgcc2.c: Don't include <limits.h>.
4744
4745 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
4746
4747 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4748
4749 2013-07-06 Jakub Jelinek <jakub@redhat.com>
4750
4751 PR target/29776
4752 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4753
4754 2013-06-28 Jakub Jelinek <jakub@redhat.com>
4755
4756 PR middle-end/36041
4757 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4758 Define.
4759 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4760 instead of table lookups.
4761 (__popcountDI2): Likewise.
4762
4763 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4764
4765 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4766 correctly.
4767
4768 2013-06-21 Joseph Myers <joseph@codesourcery.com>
4769
4770 PR other/53317
4771 * soft-fp/adddf3.c: Update from glibc.
4772 * soft-fp/addsf3.c: Likewise.
4773 * soft-fp/addtf3.c: Likewise.
4774 * soft-fp/divdf3.c: Likewise.
4775 * soft-fp/divsf3.c: Likewise.
4776 * soft-fp/divtf3.c: Likewise.
4777 * soft-fp/double.h: Likewise.
4778 * soft-fp/eqdf2.c: Likewise.
4779 * soft-fp/eqsf2.c: Likewise.
4780 * soft-fp/eqtf2.c: Likewise.
4781 * soft-fp/extenddftf2.c: Likewise.
4782 * soft-fp/extended.h: Likewise.
4783 * soft-fp/extendsfdf2.c: Likewise.
4784 * soft-fp/extendsftf2.c: Likewise.
4785 * soft-fp/fixdfdi.c: Likewise.
4786 * soft-fp/fixdfsi.c: Likewise.
4787 * soft-fp/fixsfdi.c: Likewise.
4788 * soft-fp/fixsfsi.c: Likewise.
4789 * soft-fp/fixtfdi.c: Likewise.
4790 * soft-fp/fixtfsi.c: Likewise.
4791 * soft-fp/fixunsdfdi.c: Likewise.
4792 * soft-fp/fixunsdfsi.c: Likewise.
4793 * soft-fp/fixunssfdi.c: Likewise.
4794 * soft-fp/fixunssfsi.c: Likewise.
4795 * soft-fp/fixunstfdi.c: Likewise.
4796 * soft-fp/fixunstfsi.c: Likewise.
4797 * soft-fp/floatdidf.c: Likewise.
4798 * soft-fp/floatdisf.c: Likewise.
4799 * soft-fp/floatditf.c: Likewise.
4800 * soft-fp/floatsidf.c: Likewise.
4801 * soft-fp/floatsisf.c: Likewise.
4802 * soft-fp/floatsitf.c: Likewise.
4803 * soft-fp/floatundidf.c: Likewise.
4804 * soft-fp/floatundisf.c: Likewise.
4805 * soft-fp/floatunditf.c: Likewise.
4806 * soft-fp/floatunsidf.c: Likewise.
4807 * soft-fp/floatunsisf.c: Likewise.
4808 * soft-fp/floatunsitf.c: Likewise.
4809 * soft-fp/gedf2.c: Likewise.
4810 * soft-fp/gesf2.c: Likewise.
4811 * soft-fp/getf2.c: Likewise.
4812 * soft-fp/ledf2.c: Likewise.
4813 * soft-fp/lesf2.c: Likewise.
4814 * soft-fp/letf2.c: Likewise.
4815 * soft-fp/muldf3.c: Likewise.
4816 * soft-fp/mulsf3.c: Likewise.
4817 * soft-fp/multf3.c: Likewise.
4818 * soft-fp/negdf2.c: Likewise.
4819 * soft-fp/negsf2.c: Likewise.
4820 * soft-fp/negtf2.c: Likewise.
4821 * soft-fp/op-1.h: Likewise.
4822 * soft-fp/op-2.h: Likewise.
4823 * soft-fp/op-4.h: Likewise.
4824 * soft-fp/op-8.h: Likewise.
4825 * soft-fp/op-common.h: Likewise.
4826 * soft-fp/quad.h: Likewise.
4827 * soft-fp/single.h: Likewise.
4828 * soft-fp/soft-fp.h: Likewise.
4829 * soft-fp/subdf3.c: Likewise.
4830 * soft-fp/subsf3.c: Likewise.
4831 * soft-fp/subtf3.c: Likewise.
4832 * soft-fp/truncdfsf2.c: Likewise.
4833 * soft-fp/trunctfdf2.c: Likewise.
4834 * soft-fp/trunctfsf2.c: Likewise.
4835 * soft-fp/unorddf2.c: Likewise.
4836 * soft-fp/unordsf2.c: Likewise.
4837 * soft-fp/unordtf2.c: Likewise.
4838 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4839 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4840 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4841 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4842 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4843 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4844 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4845 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4846 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4847 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4848 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4849 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4850
4851 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
4852
4853 * config/mips/lib2funcs.c: New file.
4854 * config/mips/t-mips (LIB2ADD_ST): Add it.
4855
4856 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
4857
4858 PR target/6526
4859 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4860 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
4861
4862 2013-06-08 Walter Lee <walt@tilera.com>
4863
4864 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4865 Replace int64_t with long long. Add __extension__ where
4866 appropriate.
4867 * config/tilepro/atomic.c: Include config.h.
4868
4869 2013-06-06 Douglas B Rupp <rupp@adacore.com>
4870
4871 * config.host (arm-wrs-vxworks): Configure with other soft float.
4872
4873 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
4874
4875 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4876 (mips64r5900el-*-elf*): New configurations.
4877
4878 2013-06-04 Alan Modra <amodra@gmail.com>
4879
4880 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4881
4882 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
4883
4884 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4885
4886 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
4887
4888 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4889 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4890 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4891
4892 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4893
4894 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4895 (powerpc-wrs-vxworks): Likewise.
4896
4897 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4898
4899 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4900 signal frames as well.
4901 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4902 STACK_BIAS to the CFA offset.
4903
4904 2013-05-17 Richard Henderson <rth@redhat.com>
4905
4906 PR target/49146
4907 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4908 (execute_cfa_program): Use it when storing to fs->regs.
4909
4910 2013-05-08 Kai Tietz <ktietz@redhat.com>
4911
4912 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4913 (__deregister_frame_info): Likewise.
4914
4915 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
4916
4917 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4918 NaN's payload.
4919
4920 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4921
4922 2013-04-25 Alan Modra <amodra@gmail.com>
4923
4924 * config.host: Match little-endian powerpc-linux.
4925
4926 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
4927
4928 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4929 as 'unsigned long long' instead of 'unsigned long'.
4930 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4931 'signed long'.
4932
4933 2013-04-10 Julian Brown <julian@codesourcery.com>
4934
4935 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4936 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4937 unsigned char/unsigned short.
4938 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4939
4940 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4941
4942 PR other/55274
4943 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4944
4945 2013-04-04 Meador Inge <meadori@codesourcery.com>
4946
4947 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4948 computing the location of the link register.
4949 (aeabi_uldivmod): Ditto.
4950
4951 2013-03-27 Kai Tietz <ktietz@redhat.com>
4952
4953 * config.host: Add support for cygwin x64 target.
4954 * configure: Regenerated.
4955
4956 2013-03-26 Walter Lee <walt@tilera.com>
4957
4958 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4959 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4960
4961 2013-03-25 Kai Tietz <ktietz@redhat.com>
4962
4963 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4964
4965 2013-03-20 Robert Mason <rbmj@verizon.net>
4966
4967 * config/vxlib-tls.c (__gthread_get_tsd_data,)
4968 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4969 (__gthread_leave_tsd_dtor_context): Add prototypes.
4970 (tls_delete_hook): Update.
4971
4972 2013-03-20 Catherine Moore <clm@codesourcery.com>
4973 Joseph Myers <joseph@codesourcery.com>
4974 Chao-ying Fu <fu@mips.com>
4975
4976 * config/mips/mips16.S: Don't build for microMIPS.
4977 * config/mips/linux-unwind.h: Handle microMIPS frame.
4978 * config/mips/crtn.S (fini, init): New labels.
4979
4980 2013-03-14 Jakub Jelinek <jakub@redhat.com>
4981
4982 PR tree-optimization/53265
4983 * unwind-dw2.c (execute_cfa_program): Avoid
4984 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4985 on targets with DWARF_FRAME_REGISTERS < 32.
4986
4987 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
4988
4989 PR target/49880
4990 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4991 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4992
4993 2013-03-07 Sriraman Tallam <tmsriram@google.com>
4994
4995 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4996 sandybridge processors.
4997
4998 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
4999
5000 PR target/56529
5001 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5002 inclusion list.
5003
5004 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5005
5006 * config/microblaze/crti.S: Setup stack protection at entry
5007
5008 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
5009
5010 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5011 (__rotldi3): Shift bytewise if applicable.
5012
5013 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5014
5015 * config/aarch64/sync-cache.c
5016 (__aarch64_sync_cache_range): Silence warnings.
5017
5018 2013-02-25 Catherine Moore <clm@codesourcery.com>
5019
5020 Revert:
5021 2013-02-24 Catherine Moore <clm@codesourcery.com>
5022 Joseph Myers <joseph@codesourcery.com>
5023 Chao-ying Fu <fu@mips.com>
5024
5025 * config/mips/mips16.S: Don't build for microMIPS.
5026 * config/mips/linux-unwind.h: Handle microMIPS frame.
5027 * config/mips/crtn.S (fini, init): New labels.
5028
5029 2013-02-24 Catherine Moore <clm@codesourcery.com>
5030 Joseph Myers <joseph@codesourcery.com>
5031 Chao-ying Fu <fu@mips.com>
5032
5033 * config/mips/mips16.S: Don't build for microMIPS.
5034 * config/mips/linux-unwind.h: Handle microMIPS frame.
5035 * config/mips/crtn.S (fini, init): New labels.
5036
5037 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5038 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
5039 as dividend.
5040
5041 2013-02-16 Alan Modra <amodra@gmail.com>
5042
5043 PR target/55431
5044 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5045 (ppc_fallback_frame_state): Always set up save locations for fp
5046 and altivec. Don't bother with non-callee-saved regs, r0-r13
5047 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5048
5049 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
5050
5051 PR target/54222
5052 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5053 _ssmulHA, _ssmulSA.
5054 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5055 _ssmulha3, _usmulusa3, _ssmulsa3.
5056 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5057 (__muldi3): XCALL __muldi3_6 instead of rcall.
5058 (__umulsidi3, __mulsidi3): New functions.
5059 (do_prologue_saves, do_epilogue_restores): New .macros.
5060 (__divdi3_moddi3): Use them.
5061 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5062 (__usmulusa3, __ssmulsa3): New functions.
5063
5064 2013-02-11 Iain Sandoe <iain@codesourcery.com>
5065 Jack Howarth <howarth@bromo.med.uc.edu>
5066 Patrick Marlier <patrick.marlier@gmail.com>
5067
5068 PR libitm/55693
5069 * config/darwin-crt-tm.c: Remove dummy functions hack.
5070
5071 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
5072
5073 PR target/54222
5074 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5075 * config/avr/lib2-object.mk: New iterator to build objects from it.
5076 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5077 lib2funcs.c.
5078 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5079 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5080 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5081 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5082 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5083 * config/avr/lib1funcs-fixed.S: Implement them.
5084
5085 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5086
5087 Update copyright years.
5088
5089 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
5090
5091 PR target/54601
5092 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5093 Add crtcxa to extra_parts.
5094 * config/rs6000/exit.h: New file.
5095 * config/rs6000/cxa_atexit.c: New file.
5096 * config/rs6000/cxa_finalize.c: New file.
5097 * config/rs6000/crtcxa.c: New file.
5098 * config/rs6000/t-aix-cxa: New file.
5099 * config/rs6000/libgcc-aix-cxa.ver: New file.
5100
5101 2013-01-31 Nick Clifton <nickc@redhat.com>
5102
5103 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5104 variant.
5105
5106 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
5107
5108 PR target/54222
5109 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5110 _mulQQ, _mulHQ, _mulHA, _mulSA,
5111 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5112 _divQQ, _divHQ, _divHA, _divSA,
5113 _divUQQ, _divUHQ, _divUHA, _divUSA.
5114
5115 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
5116
5117 * config.host(microblaze*-linux*): tmake_file: Remove
5118 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5119 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5120 to exclude functions from being built with libgcc.c and use
5121 the microblaze assembly.
5122
5123 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
5124
5125 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5126 extra_parts.
5127
5128 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5129
5130 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5131 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5132 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5133 alignment operation.
5134
5135 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5136
5137 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5138 loop start address for cache clearing.
5139
5140 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5141
5142 * config/avr/lib1funcs.S: Remove trailing blanks.
5143 * config/avr/lib1funcs-fixed.S: Ditto.
5144
5145 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5146
5147 * config/avr/avr-lib.h: Add GPL copyright notice.
5148
5149 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
5150
5151 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5152 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5153 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5154 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5155
5156 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
5157
5158 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5159 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
5160
5161 2013-01-04 Nick Clifton <nickc@redhat.com>
5162
5163 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5164 the CALLT instruction is supported.
5165
5166 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5167
5168 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5169 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5170
5171 2012-12-13 John Tytgat <John@bass-software.com>
5172
5173 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5174 is 25.
5175
5176 2012-12-12 Jakub Jelinek <jakub@redhat.com>
5177
5178 PR libgcc/55451
5179 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5180 undefined signed overflows.
5181
5182 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
5183
5184 PR target/55344
5185 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5186
5187 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
5188
5189 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5190 (FP_TRAPPING_EXCEPTIONS): Define.
5191 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5192 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5193
5194 2012-12-04 Richard Henderson <rth@redhat.com>
5195
5196 PR bootstrap/55571
5197 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5198
5199 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5200
5201 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
5202 (FP_EX_SHIFT): Define.
5203 (FP_TRAPPING_EXCEPTIONS): Define.
5204
5205 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
5206
5207 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
5208 (FP_ROUNDMODE): Use FP_RND_MASK.
5209 * config/aarch64/sfp-exceptions.c: New.
5210 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5211 Use __sfp_handle_exceptions.
5212
5213 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
5214
5215 * config.host: (arm*-*-freebsd*): Remove.
5216 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
5217 (arm*-*-elf*): Remove.
5218 (arm*-*-wince-pe*): Remove.
5219 * arm/unwind-arm.c (struct fpa_reg): Delete.
5220 (struct fpa_regs): Delete.
5221 (phase1_vrs): Remove fpa element.
5222 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
5223 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
5224 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
5225 * ieee754-sf.S (floatundisf): Remove FPA support.
5226 (floatdisf): Likewise.
5227 * ieee75f-df.S (floatundidf): Likewise.
5228 (floatdidf): Likewise.
5229
5230 2012-11-29 Kai Tietz <ktietz@redhat.com>
5231
5232 PR target/55445
5233 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
5234 * unwind-generic.h: Likewise.
5235 * unwind-seh.c: Likewise.
5236
5237 2012-11-28 Richard Henderson <rth@redhat.com>
5238
5239 PR libgcc/48076
5240 * emutls.c (__emutls_get_address): Avoid race condition between
5241 obj->loc.offset read and emutls_key initialization.
5242
5243 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
5244
5245 Adjust decimal point of signed accum mode to GCC default.
5246
5247 PR target/54222
5248 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
5249 _divqq_helper.
5250 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
5251 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
5252 (__mulha3, __mulsa3)
5253 (__divqq3, __divha3, __divsa3): Adjust to new position of
5254 decimal point of signed accum types.
5255
5256 (__mulusa3_round): New function.
5257 (__mulusa3): Use it.
5258 (__divqq_helper): New function.
5259 (__udivuqq3): Use it.
5260
5261 2012-11-20 Jakub Jelinek <jakub@redhat.com>
5262
5263 PR bootstrap/55370
5264 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
5265
5266 2012-11-18 Teresa Johnson <tejohnson@google.com>
5267
5268 PR bootstrap/55051
5269 * libgcov.c (gcov_exit): Remove merged program summary
5270 comparison unless !GCOV_LOCKED.
5271
5272 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
5273
5274 * soft-fp: Updated from glibc upstream.
5275
5276 2012-11-06 Ian Lance Taylor <iant@google.com>
5277
5278 * generic-morestack.c (__generic_morestack): Align the returned
5279 stack pointer to a 32 byte boundary.
5280 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
5281 increment the return address until we have decided that we don't
5282 have a varargs function.
5283 (__morestack) [32-bit]: Align stack correctly when calling C
5284 functions.
5285 (__morestack) [64-bit]: Likewise.
5286
5287 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5288
5289 * configure: Regenerate.
5290
5291 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
5292
5293 PR target/55175
5294 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
5295 * config/i386/sfp-machine.h: Guard exception handling
5296 code with _SOFT_FLOAT.
5297 * config/i386/32/sfp-machine.h: Guard rounding handling
5298 code with _SOFT_FLOAT.
5299 * config/i386/64/sfp-machine.h: Ditto.
5300
5301 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
5302
5303 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
5304 as extra_parts.
5305
5306 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
5307
5308 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
5309 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
5310 when appropriate. Correct structure element types.
5311 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
5312 -minline-all-stringops from compile flags.
5313
5314 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5315
5316 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
5317
5318 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
5319
5320 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
5321
5322 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
5323
5324 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
5325 tmake_file.
5326
5327 2012-10-23 Ian Bolton <ian.bolton@arm.com>
5328 Jim MacArthur <jim.macarthur@arm.com>
5329 Marcus Shawcroft <marcus.shawcroft@arm.com>
5330 Nigel Stephens <nigel.stephens@arm.com>
5331 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5332 Richard Earnshaw <rearnsha@arm.com>
5333 Sofiane Naci <sofiane.naci@arm.com>
5334 Stephen Thomas <stephen.thomas@arm.com>
5335 Tejas Belagod <tejas.belagod@arm.com>
5336 Yufeng Zhang <yufeng.zhang@arm.com>
5337
5338 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
5339 * config/aarch64/crti.S: New file.
5340 * config/aarch64/crtn.S: New file.
5341 * config/aarch64/linux-unwind.h: New file.
5342 * config/aarch64/sfp-machine.h: New file.
5343 * config/aarch64/sync-cache.c: New file.
5344 * config/aarch64/t-aarch64: New file.
5345 * config/aarch64/t-softfp: New file.
5346
5347 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
5348
5349 * config/mmix/crti.S: Mark program and data addresses using PRELD.
5350 Remove typo'd and unnecessary alignment-LOC for .data. Remove
5351 no-longer-needed LDBU insns.
5352
5353 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
5354
5355 * config.host
5356 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
5357 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
5358
5359 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5360
5361 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
5362
5363 2012-10-15 Matthias Klose <doko@ubuntu.com>
5364
5365 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
5366
5367 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
5368
5369 * configure: Regenerate.
5370 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
5371
5372 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5373
5374 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
5375 instructions for 64bit targets only.
5376
5377 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
5378
5379 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5380 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
5381 * config/i386/32/sfp-machine.h: ... here.
5382 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
5383 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
5384 New defines.
5385
5386 2012-10-07 Matthias Klose <doko@ubuntu.com>
5387
5388 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
5389 as unused.
5390 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
5391
5392 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
5393
5394 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
5395 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
5396 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
5397 (ElfW): Likewise.
5398
5399 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
5400
5401 PR other/53889
5402 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5403 Fix parameter names.
5404
5405 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
5406
5407 PR target/33135
5408 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
5409 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
5410 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
5411
5412 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
5413
5414 PR target/50457
5415 * config/sh/linux-atomic.S: Delete.
5416 * config/sh/linux-atomic.c: New.
5417 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
5418 linux-atomic.c. Add cflags to disable warnings.
5419
5420 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5421
5422 PR other/53889
5423 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
5424 function.
5425 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
5426 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
5427 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
5428 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5429 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
5430 Likewise.
5431 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
5432 Likewise.
5433 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
5434 Likewise.
5435 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
5436 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
5437
5438 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
5439
5440 * config.host (hppa-*-openbsd*): New target.
5441 * config/pa/t-openbsd: New file.
5442
5443 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
5444
5445 PR target/54222
5446 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
5447 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
5448 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
5449 (__divsa3): Use __negsi2 to negate r_quoL.
5450 * config/avr/lib1funcs.S (FALIAS): New macro.
5451 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
5452 (__negsi2): ...this new function.
5453 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
5454 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
5455 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
5456 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
5457 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
5458 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
5459
5460 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
5461
5462 PR target/54089
5463 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
5464 (lshrsi3): Reimplement as lshrsi3_r0.
5465
5466 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
5467
5468 PR target/46191
5469 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
5470 of libgcc.a.
5471
5472 2012-09-07 Teresa Johnson <tejohnson@google.com>
5473
5474 PR gcov-profile/54487
5475 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
5476 differences.
5477
5478 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
5479
5480 PR target/54461
5481 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
5482 not configured --with-avrlibc=no.
5483 * config/avr/t-avrlibc: New file.
5484 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
5485 (DPBIT_FUNCS): Ditto.
5486 (TPBIT_FUNCS): Ditto.
5487
5488 2012-09-04 Teresa Johnson <tejohnson@google.com>
5489
5490 * libgcov.c (struct gcov_summary_buffer): New structure.
5491 (gcov_histogram_insert): New function.
5492 (gcov_compute_histogram): Ditto.
5493 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
5494 histograms during summary merging.
5495
5496 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
5497
5498 * config.host (x86_64-*-openbsd*): New target.
5499
5500 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
5501
5502 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
5503 attribute.
5504
5505 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5506
5507 PR target/54222
5508 * config/avr/t-avr (conv_X): Rename to func_X.
5509
5510 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
5511
5512 PR target/54222
5513 * config/avr/lib1funcs-fixed.S: New file.
5514 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5515 after they are used.
5516 (neg2, neg4): New macros.
5517 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5518 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5519 (__umulhisi3): Speed up MUL variant if there is enough flash.
5520 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5521 avr-modes.def.
5522 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5523 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5524 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5525 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5526 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5527 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5528 (LIB2FUNCS_EXCLUDE): Add supported functions.
5529
5530 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
5531
5532 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5533 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5534 libgcc-s-objects.
5535 * fixed-obj.mk: Only expand dependency if $o is not in
5536 LIB2FUNCS_EXCLUDE.
5537
5538 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5539
5540 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5541
5542 2012-08-22 Joseph Myers <joseph@codesourcery.com>
5543
5544 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5545 depend on --enable-shared.
5546 ($(lib1asmfuncs-o)): Use %.vis files independent of
5547 --enable-shared.
5548 * static-object.mk ($(base)$(objext), $(base).vis)
5549 ($(base)_s$(objext)): Use same rules for visibility handling as in
5550 shared-object.mk.
5551
5552 2012-08-21 Ian Lance Taylor <iant@google.com>
5553
5554 * config/i386/morestack.S (__morestack_non_split): Increase amount
5555 of space allocated for non-split code stack.
5556
5557 2012-08-19 Joseph Myers <joseph@codesourcery.com>
5558
5559 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5560 even if inhibit_libc.
5561
5562 2012-08-17 Julian Brown <julian@codesourcery.com>
5563
5564 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5565 -fexceptions -fnon-call-exceptions if not defined.
5566 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5567 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5568
5569 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5570
5571 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5572 type.
5573
5574 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
5575
5576 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5577 rs6000/t-slibgcc-aix.
5578
5579 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5580
5581 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5582
5583 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5584
5585 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5586
5587 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5588
5589 PR driver/54171
5590 * Makefile.in (version): Replace top_srcdir with srcdir.
5591
5592 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5593
5594 * Makefile.in (version): set to BASE-VER file from gcc directory.
5595
5596 2012-08-01 Nick Clifton <nickc@redhat.com>
5597
5598 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5599 Implements __clrsb for an HImode argument.
5600
5601 2012-07-31 Nick Clifton <nickc@redhat.com>
5602
5603 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5604 Implements __clrsb for an HImode argument.
5605 * config/stormy16/clrsbhi2.c: New file:
5606 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5607
5608 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5609
5610 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5611
5612 2012-07-19 Tristan Gingold <gingold@adacore.com>
5613 Richard Henderson <rth@redhat.com>
5614
5615 * unwind-seh.c: New file.
5616 * unwind-generic.h: Include windows.h for SEH.
5617 (_Unwind_Exception): Use 6 private fields for SEH.
5618 (_GCC_specific_handler): Declare.
5619 * unwind-c.c (__gcc_personality_seh0): New function.
5620 Adjust for SEH.
5621 * config/i386/libgcc-cygming.ver: New file.
5622 * config/i386/t-seh-eh: New file.
5623 * config.host (x86_64-*-mingw*): Default to seh.
5624
5625 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5626
5627 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5628
5629 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
5630
5631 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5632 __builtin_expect when checking for exceptions.
5633 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5634
5635 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5636
5637 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5638 function declaration.
5639 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5640 (FP_RND_MASK): New.
5641 * config/ia64/sfp-exceptions.c: New.
5642 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
5643
5644 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
5645
5646 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5647 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5648 * config/i386/64/sfp-machine: ... (delete here) ...
5649 * config/i386/sfp-machine.h: ... to here.
5650 (FP_EX_MASK): Remove.
5651 (FP_RND_MASK): New.
5652 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5653
5654 2012-06-11 Sriraman Tallam <tmsriram@google.com>
5655
5656 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5657 * config/i386/libgcc-sol2.ver: Ditto.
5658 * config/i386/libgcc-glibc.ver: Ditto.
5659
5660 2012-06-11 Roland McGrath <mcgrathr@google.com>
5661
5662 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5663 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5664 pthread_cancel.
5665
5666 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
5667
5668 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5669 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5670 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5671 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5672 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5673 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5674 * config/i386/64/sfp-machine: ... (delete here) ...
5675 * config/i386/sfp-machine.h: ... to here.
5676 (FP_EX_MASK): New.
5677 (__sfp_handle_exceptions): New function declaration.
5678 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5679 * config/i386/sfp-exceptions.c: New.
5680 * config/i386/t-softfp: New.
5681 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5682 i386/t-softfp to tmake_file.
5683
5684 2012-06-03 David S. Miller <davem@davemloft.net>
5685
5686 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5687 change.
5688
5689 2012-05-31 David S. Miller <davem@davemloft.net>
5690
5691 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5692 multiply and divide instructions on 32-bit when V9.
5693 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5694
5695 2012-05-29 Joseph Myers <joseph@codesourcery.com>
5696
5697 * config/arm/ieee754-df.S: Fix typos.
5698 * config/arm/ieee754-sf.S: Fix typos.
5699 * config/c6x/libunwind.S: Fix typos.
5700 * config/epiphany/udivsi3-float.c: Fix typos.
5701 * config/microblaze/muldi3_hard.S: Fix typos.
5702 * config/picochip/adddi3.S: Fix typos.
5703 * config/picochip/ashlsi3.S: Fix typos.
5704 * config/picochip/ashrsi3.S: Fix typos.
5705 * config/picochip/clzsi2.S: Fix typos.
5706 * config/picochip/cmpsi2.S: Fix typos.
5707 * config/picochip/divmod15.S: Fix typos.
5708 * config/picochip/divmodhi4.S: Fix typos.
5709 * config/picochip/divmodsi4.S: Fix typos.
5710 * config/picochip/longjmp.S: Fix typos.
5711 * config/picochip/lshrsi3.S: Fix typos.
5712 * config/picochip/parityhi2.S: Fix typos.
5713 * config/picochip/popcounthi2.S: Fix typos.
5714 * config/picochip/setjmp.S: Fix typos.
5715 * config/picochip/subdi3.S: Fix typos.
5716 * config/picochip/ucmpsi2.S: Fix typos.
5717 * config/picochip/udivmodhi4.S: Fix typos.
5718 * config/picochip/udivmodsi4.S: Fix typos.
5719 * config/spu/divv2df3.c: Fix typos.
5720 * config/spu/mfc_multi_tag_release.c: Fix typos.
5721 * config/spu/mfc_tag_release.c: Fix typos.
5722 * configure.ac: Fix typos.
5723 * configure: Regenerate.
5724
5725 2012-05-25 Ian Lance Taylor <iant@google.com>
5726
5727 * config/i386/morestack.S (__morestack_non_split): Check whether
5728 caller is varargs and needs %bp to hold the stack frame on return.
5729
5730 2012-05-25 Olivier Hainque <hainque@adacore.com>
5731
5732 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5733 sequence in the non pic case on VxWorks.
5734
5735 2012-05-24 Olivier Hainque <hainque@adacore.com>
5736
5737 * Makefile.in: Move dependency on install-unwind_h from
5738 "install-leaf" to "install".
5739
5740 2012-05-24 Olivier Hainque <hainque@adacore.com>
5741
5742 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5743 Use a separate command for stamp removals.
5744
5745 2012-05-21 Andrew Pinski <apinski@cavium.com>
5746
5747 PR bootstrap/53183
5748 * configure.ac: Define the default includes to being none.
5749 * configure: Regenerate.
5750
5751 2012-05-16 Olivier Hainque <hainque@adacore.com>
5752
5753 * Makefile.in (install-unwind_h): Rename into ...
5754 (install-unwind_h-forbuild): New target.
5755 (all): Use it instead of the former install-unwind_h.
5756 (install-unwind_h): Reinstate, copy to user install destination
5757 for include files, not to the internal gcc object directory one.
5758 (install-leaf): Depend on it.
5759
5760 2012-05-15 Olivier Hainque <hainque@adacore.com>
5761
5762 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5763 register numbers. LR_REGNO replaces R_LR.
5764 (ucontext_for): New, helper for ...
5765 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5766 and 5.3 of ...
5767 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5768
5769 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5770
5771 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5772 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5773 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5774 i386/t-cpuinfo ...
5775 (i[34567]86-*-*, x86_64-*-*): ... here.
5776
5777 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5778 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5779
5780 * config/i386/i386-cpuinfo.c: Rename to ...
5781 * config/i386/cpuinfo.c: ... this.
5782 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5783
5784 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5785 (libgcc_cv_init_priority): New test.
5786 * configure: Regenerate.
5787 * config.in: New file.
5788 * Makefile.in (clean): Rename config.h to auto-target.h.
5789 (config.h): Likewise.
5790 (stamp-h): Likewise.
5791
5792 * config/i386/cpuinfo.c (auto-target.h): Include.
5793 (CONSTRUCTOR_PRIORITY): Define.
5794 (__cpu_indicator_init): Use it.
5795
5796 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5797
5798 * longlong.h: Use a URL instead of an FSF postal address.
5799 Replace spaces with tab.
5800
5801 2012-05-08 Teresa Johnson <tejohnson@google.com>
5802
5803 * libgcov.c (gcov_clear, __gcov_reset): New functions.
5804 (__gcov_dump): Ditto.
5805 (gcov_dump_complete): New global variable.
5806 (gcov_exit): Export hidden to enable use in L_gcov_dump.
5807 (__gcov_flush): Outline functionality now in gcov_clear.
5808 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5809
5810 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
5811
5812 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5813 (mips*-*-linux*): Include mips/t-tpbit when long double is
5814 16 bytes long.
5815
5816 2012-04-25 Sriraman Tallam <tmsriram@google.com>
5817
5818 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5819 (get_available_features): New argument. Check for AVX2.
5820 (__cpu_indicator_init): Modify call to get_available_features.
5821
5822 2012-04-25 Alan Modra <amodra@gmail.com>
5823
5824 * config/rs6000/crtsavevr.S: New file.
5825 * config/rs6000/crtrestvr.S: New file.
5826 * config/rs6000/t-savresfgpr: Build the above.
5827 * config/rs6000/t-netbsd: Likewise.
5828
5829 2012-04-24 Sriraman Tallam <tmsriram@google.com>
5830
5831 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5832
5833 2012-04-24 Sriraman Tallam <tmsriram@google.com>
5834
5835 * libgcc/config/i386/i386-cpuinfo.c: New file.
5836 * libgcc/config/i386/t-cpuinfo: New file.
5837 * libgcc/config.host: Include t-cpuinfo.
5838 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5839
5840 2012-04-24 Chao-ying Fu <fu@mips.com>
5841
5842 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5843
5844 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
5845
5846 struct siginfo vs. siginfo_t
5847
5848 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5849 siginfo_t instead of struct siginfo.
5850 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5851 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5852 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5853 (ia64_handle_unwabi): Likewise.
5854 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5855 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5856 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5857 (sh_fallback_frame_state): Likewise.
5858 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5859 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5860
5861 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
5862
5863 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5864 system call number.
5865
5866 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
5867
5868 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5869 if it hasn't been previously saved.
5870
5871 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
5872
5873 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5874 only for glibc.
5875
5876 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
5877
5878 PR target/52737
5879 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5880 instead of __AVR_HAVE_8BIT_SP__.
5881
5882 2012-03-26 Tristan Gingold <gingold@adacore.com>
5883
5884 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5885 (unw_table_entry): Use unw_word instead of unsigned long.
5886 (_Unwind_FindTableEntry): Likewise.
5887 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5888 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5889 (_Unwind_FindTableEntry): Likewise.
5890 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5891 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5892 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5893 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5894 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5895 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5896 (uw_init_context_1, uw_install_context): Likewise.
5897 (unw_word): Move to unwind-ia64.h
5898
5899 2012-03-26 Tristan Gingold <gingold@adacore.com>
5900
5901 * config/vms/vms-ucrt0.c: Update copyright years.
5902 Add a sanity check.
5903 (___gcc_main_flags): Declare.
5904 (__main): Check flags to remap argv and exit code.
5905 * config.host (*-*-*vms*): Adjust extra_parts.
5906 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5907 (crt0.o): Add.
5908
5909 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
5910
5911 * arm/lib1funcs.asm (ctzsi2): New function.
5912 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5913 * arm/t-linux (LIB1ASMFUNCS): Likewise.
5914 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5915 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5916 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5917 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5918
5919 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
5920
5921 * config.host: Add bits to support powerpc64-*-freebsd*.
5922 * config/rs6000/freebsd-unwind.h: New file.
5923 * config/rs6000/t-freebsd64: New file.
5924
5925 2012-03-20 Richard Guenther <rguenther@suse.de>
5926
5927 PR gcov-profile/52627
5928 * libgcov.c (init_mx): Fix mutex name.
5929
5930 2012-03-16 Tristan Gingold <gingold@adacore.com>
5931
5932 * config/ia64/vms-unwind.h: Remove ulong (and replace
5933 it by unw_reg where used). Define unw_reg with __int64.
5934
5935 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5936
5937 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5938 Solaris 8 handling.
5939 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5940 Solaris 8 handling.
5941 (sparc_is_sighandler): Likewise.
5942
5943 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
5944
5945 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5946 <= saved reg size.
5947
5948 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5949
5950 * config/arm/crtn.S: Fix typo.
5951
5952 2012-03-13 Richard Guenther <rguenther@suse.de>
5953
5954 * libgcov.c: Remove stdio.h include and NULL un-define.
5955
5956 2012-03-13 Richard Guenther <rguenther@suse.de>
5957
5958 PR target/52569
5959 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5960
5961 2012-03-13 Richard Guenther <rguenther@suse.de>
5962
5963 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5964
5965 2012-03-13 Richard Guenther <rguenther@suse.de>
5966
5967 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5968 and __gthread_mutex_init_function definitions.
5969
5970 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5971
5972 * config.host (mips*-*-openbsd*): Remove.
5973
5974 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5975
5976 * config.host: Remove alpha*-dec-osf5.1* handling.
5977 * config/alpha/gthr-posix.c: Remove.
5978 * config/alpha/libgcc-osf5.ver: Remove.
5979 * config/alpha/osf5-unwind.h: Remove.
5980 * config/alpha/t-osf-pthread: Remove.
5981 * config/alpha/t-slibgcc-osf: Remove.
5982 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5983 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5984 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5985 * mkmap-flat.awk: Remove osf_export handling.
5986
5987 2012-03-12 Richard Guenther <rguenther@suse.de>
5988
5989 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5990 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5991 (__gthread_mutex_init_function): New function.
5992 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5993
5994 PR gcov/49484
5995 * libgcov.c: Include gthr.h.
5996 (__gcov_flush_mx): New global variable.
5997 (init_mx, init_mx_once): New functions.
5998 (__gcov_flush): Protect self with a mutex.
5999 (__gcov_fork): Re-initialize mutex after forking.
6000 * unwind-dw2-fde.c: Change condition under which to use
6001 __GTHREAD_MUTEX_INIT_FUNCTION.
6002
6003 2012-03-12 Tristan Gingold <gingold@adacore.com>
6004
6005 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6006 * config/ia64/t-vms: Likewise.
6007
6008 2012-03-11 Michael Hope <michael.hope@linaro.org>
6009
6010 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6011 for Thumb-2.
6012
6013 2012-03-07 Walter Lee <walt@tilera.com>
6014
6015 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6016 "arch_atomic_".
6017 (atomic_xor): Rename and move definition to
6018 config/tilepro/atomic.h.
6019 (atomic_nand): Ditto.
6020 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6021 "arch_atomic_".
6022 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6023 (arch_atomic_nand): Ditto.
6024
6025 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6026
6027 PR target/52507
6028 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6029
6030 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6031
6032 PR target/52505
6033 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6034 from RAM.
6035
6036 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
6037
6038 PR target/52461
6039 PR target/52508
6040 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6041 if RAMPZ affects reading from RAM.
6042 (__tablejump_elpm__): Ditto.
6043 (.xload): Ditto.
6044 (__movmemx_hi): Ditto.
6045 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6046 (__do_global_dtors): Ditto.
6047 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6048 (__movmemx_hi): Ditto.
6049
6050 2012-03-05 Richard Henderson <rth@redhat.com>
6051
6052 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6053 [ARM] (count_trailing_zeros): Use the builtin.
6054
6055 2012-03-01 Kai Tietz <ktietz@redhat.com>
6056
6057 * soft-fp: Imported from glibc upstream.
6058
6059 2012-02-28 Kai Tietz <ktietz@redhat.com>
6060
6061 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6062 for mingw-targets as attribute gcc_struct.
6063
6064 2012-02-28 Ian Lance Taylor <iant@google.com>
6065
6066 * generic-morestack.c (__splitstack_releasecontext): Correct call
6067 to __morestack_release_segments.
6068
6069 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6070
6071 PR target/52390
6072 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6073 for __linux__ when removing signals from __morestack_fullmask.
6074
6075 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
6076
6077 PR target/52261
6078 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6079
6080 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6081
6082 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6083 instead of HAVE_INITFINI_ARRAY.
6084 * config/ia64/crtend.S: Likewise.
6085
6086 2012-02-20 Kai Tietz <ktietz@redhat.com>
6087
6088 PR libstdc++/52300
6089 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6090
6091 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6092 to w32-unwind.h header.
6093
6094 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6095
6096 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6097 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6098 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6099 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6100
6101 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6102
6103 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6104
6105 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6106
6107 PR libitm/52220
6108 * config/darwin-crt-tm.c: Correct typo.
6109
6110 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6111 Patrick Marlier <patrick.marlier@gmail.com>
6112
6113 PR libitm/52220
6114 * config/darwin-crt-tm.c: Generate dummy functions.
6115
6116 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6117 Patrick Marlier <patrick.marlier@gmail.com>
6118
6119 PR libitm/52042
6120 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6121 (__doTMRegistrations): Call it.
6122 (__doTMdeRegistrations): Likewise.
6123
6124 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
6125 Anatoly Sokolov <aesok@post.ru>
6126 Eric Weddington <eric.weddington@atmel.com>
6127
6128 PR target/52261
6129 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6130 (__epilogue_restores__): Ditto.
6131
6132 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6133
6134 PR target/51921
6135 PR target/52205
6136 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6137 Solaris 11 and slightly reformat.
6138 (sparc_is_sighandler): Likewise.
6139
6140 2012-02-14 Walter Lee <walt@tilera.com>
6141
6142 * config.host: Handle tilegx and tilepro.
6143 * config/tilegx/sfp-machine.h: New file.
6144 * config/tilegx/sfp-machine32.h: New file.
6145 * config/tilegx/sfp-machine64.h: New file.
6146 * config/tilegx/t-crtstuff: New file.
6147 * config/tilegx/t-softfp: New file.
6148 * config/tilegx/t-tilegx: New file.
6149 * config/tilepro/atomic.c: New file.
6150 * config/tilepro/atomic.h: New file.
6151 * config/tilepro/linux-unwind.h: New file.
6152 * config/tilepro/sfp-machine.h: New file.
6153 * config/tilepro/softdivide.c: New file.
6154 * config/tilepro/softmpy.S: New file.
6155 * config/tilepro/t-crtstuff: New file.
6156 * config/tilepro/t-tilepro: New file.
6157
6158 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6159
6160 PR libstdc++/51296
6161 PR libstdc++/51906
6162 * gthr-posix.h: Allow static initializer macros to be disabled.
6163 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6164
6165 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6166
6167 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6168 Add t-slibgcc-libgcc to tmake_file.
6169 * config/mips/libgcc-mips16.ver: Revert previous patch.
6170 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6171
6172 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6173 Jayant R Sonar <jayant.sonar@kpitcummins.com>
6174
6175 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6176 * config/cr16/crti.S: New file.
6177 * config/cr16/crtlibid.S: New file.
6178 * config/cr16/crtn.S: New file.
6179 * config/cr16/lib1funcs.S: New file.
6180 * config/cr16/t-cr16: New file.
6181 * config/cr16/t-crtlibid: New file.
6182 * config/cr16/unwind-dw2.h: New file.
6183 * config/cr16/unwind-cr16.c: New file.
6184 * config/cr16/divmodhi3.c: New file.
6185
6186 2012-01-25 Alan Modra <amodra@gmail.com>
6187
6188 * config/rs6000/t-linux64: Delete. Move..
6189 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6190 * config/rs6000/t-linux: ..and libgcc flags to here.
6191
6192 2012-01-22 Douglas B Rupp <rupp@gnat.com>
6193
6194 * config.host (i[34567]86-*-interix3*):
6195 Change triplet to i[34567]86-*-interix[3-9]*.
6196 * configure: Regenerate.
6197
6198 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6199 Richard Sandiford <rdsandiford@googlemail.com>
6200
6201 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6202 * config/mips/mips16.S (__mips16_rdhwr): New function.
6203 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6204
6205 2012-01-11 Nathan Sidwell <nathan@acm.org>
6206
6207 * libgcov.c (__gcov_init): Ignore objects with no functions.
6208
6209 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
6210
6211 PR target/49868
6212 Extend __pgmx semantics to linearize memory.
6213 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
6214 * config/avr/lib1funcs.S (__xload_1): New function.
6215 (__movmemx_qi, __movmemx_hi): New functions.
6216 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
6217 semantics.
6218
6219 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6220
6221 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
6222 purported sigacthandler address isn't null before dereferencing it.
6223 (sparc_is_sighandler): Likewise.
6224
6225 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
6226
6227 PR ada/41929
6228 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
6229 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
6230 (sparc_is_sighandler): Likewise.
6231 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
6232
6233 2012-01-06 Tristan Gingold <gingold@adacore.com>
6234
6235 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
6236 compatibility thunks...
6237 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
6238 (crtbeginS.o, crtendS.o): ... and these to ...
6239 * config/ia64/t-ia64-elf: ... this new file.
6240 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
6241 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
6242
6243 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6244
6245 * configure: Regenerate.
6246 * config/s390/t-crtstuff: Remove -fPIC.
6247
6248 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6249
6250 PR bootstrap/51006
6251 * enable-execute-stack-mprotect.c (getpagesize): Do not define
6252 for NetBSD.
6253
6254 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6255
6256 PR target/51345
6257 * config/avr/lib1funcs.S: Remove FIXME comments.
6258 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
6259
6260 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
6261
6262 Implement light-weight DImode support.
6263 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
6264 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
6265 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
6266 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
6267
6268 2011-12-30 Nathan Sidwell <nathan@acm.org>
6269
6270 * libgcov.c (gcov_crc32): Remove global var.
6271 (free_fn_data): New function.
6272 (buffer_fn_data): Pass in filename, more robust error recovery.
6273 (crc32_unsigned): New function.
6274 (gcov_exit): More robust detection of new program. More robust
6275 error recovery.
6276 (__gcov_init): Do not update program's crc here.
6277
6278 2011-12-21 Tristan Gingold <gingold@adacore.com>
6279
6280 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
6281
6282 2011-12-21 Ian Lance Taylor <iant@google.com>
6283
6284 * config/i386/morestack.S: Simplify CFI opcodes throughout.
6285
6286 2011-12-20 Ian Lance Taylor <iant@google.com>
6287
6288 * config/i386/morestack.S (__morestack_non_split): If there is
6289 enough stack space already, don't split. Ask for more stack space
6290 than we required.
6291
6292 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
6293
6294 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
6295 `sys/sdt.h'.
6296 (_Unwind_DebugHook): New function.
6297 (uw_restore_core_regs): New define.
6298 (unwind_phase2): Use uw_restore_core_regs instead of
6299 restore_core_regs.
6300 (unwind_phase2_forced): Likewise.
6301 (__gnu_Unwind_Resume): Likewise.
6302
6303 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
6304
6305 * config/alpha/linux-unwind.h: Update copyright years.
6306 (MD_FROB_UPDATE_CONTEXT): New define.
6307 (alpha_frob_update_context): New function.
6308
6309 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
6310
6311 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
6312 tmake_file rather replacing it.
6313
6314 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
6315
6316 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
6317 function is not used for PPC64.
6318 (save_world): Amend comments. Update the VRsave mask to reflect the
6319 saved regs.
6320 (rest_world): Update comments, do not clobber r10, do not use r8.
6321 (eh_rest_world_r10): Amend comments, do not use r8.
6322 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
6323 no longer used, move restore of CR and target address to the end of
6324 the routine.
6325
6326 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
6327
6328 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
6329 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
6330
6331 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
6332
6333 PR target/49313
6334 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
6335 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
6336
6337 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
6338
6339 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
6340
6341 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
6342
6343 PR target/49313
6344 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
6345 * config/avr/lib1funcs.S (__muldi3): New function.
6346
6347 2011-12-06 Andrew Pinski <apinski@cavium.com>
6348
6349 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
6350 size of func_ptr.
6351 (__frame_dummy_init_array_entry): Likewise.
6352
6353 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
6354
6355 Forward-port from gcc-4_6-branch r181936 2011-12-02.
6356
6357 PR target/51345
6358 PR target/51002
6359 * config/avr/lib1funcs.S (__prologue_saves__,
6360 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
6361 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
6362
6363 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
6364
6365 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
6366
6367 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6368
6369 PR other/51272
6370 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
6371 (_ITM_deregisterTMCloneTable): Likewise.
6372 (__register_frame_info): Fix unused warning.
6373 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
6374 pthread_default_stacksize_np): Likewise.
6375 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
6376
6377 2011-11-29 DJ Delorie <dj@redhat.com>
6378
6379 * config.host (rl78-*-elf): New case.
6380 * config/rl78: New directory for the Renesas RL78.
6381
6382 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
6383
6384 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
6385 formatting.
6386
6387 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6388
6389 PR other/51022
6390 * config/rs6000/t-savresfgpr: New file.
6391 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
6392 $(srcdir)/config/rs6000/eabi.S.
6393 * config/rs6000/t-ppccomm-ldbl: Remove.
6394 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
6395 tmake_file.
6396 (powerpc-*-eabispe*): Likewise.
6397 (powerpc-*-eabi*): Likewise.
6398 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6399 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
6400 to tmake_file, remove rs6000/t-ppccomm-ldbl.
6401 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
6402 tmake_file.
6403 (powerpc-*-eabisim*): Likewise.
6404 (powerpc-*-elf*): Likewise.
6405 (powerpc-*-eabialtivec*): Likewise.
6406 (powerpc-xilinx-eabi*): Likewise.
6407 (powerpc-*-rtems*): Likewise.
6408 (powerpcle-*-elf*): Likewise.
6409 (powerpcle-*-eabisim*): Likewise.
6410 (powerpcle-*-eabi*): Likewise.
6411
6412 2011-11-27 Ian Lance Taylor <iant@google.com>
6413
6414 * generic-morestack.c (__splitstack_find): Check for NULL old
6415 stack value.
6416 (__splitstack_resetcontext): New function.
6417 (__splitstack_releasecontext): New function.
6418 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6419
6420 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6421
6422 * config/darwin-crt-tm.c: Correct comments, use correct licence.
6423
6424 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
6425
6426 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
6427
6428 2011-11-26 Richard Henderson <rth@redhat.com>
6429
6430 * config/m68k/linux-atomic.c: New file.
6431 * config/m68k/t-linux: New file.
6432 * config.host (m68k-uclinux, m68k-linux): Use it.
6433
6434 2011-11-26 Richard Henderson <rth@redhat.com>
6435
6436 * crtstuff.c (__TMC_LIST__): Mark used not unused.
6437 (__TMC_END__): Only declare if hidden is available; in the definition,
6438 if hidden is unavailable add a null record.
6439 (deregister_tm_clones, register_tm_clones): New.
6440 (__do_global_dtors_aux, frame_dummy): Use them.
6441 (__do_global_dtors, __do_global_ctors_1): Likewise.
6442
6443 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
6444
6445 * config/darwin-crt-tm.c: New file.
6446 * config.host (darwin): Build crttms.o crttme.o to provide
6447 startup and shutdown for tm clones.
6448 * config/t-darwin (crttms.o): New build rule.
6449 (crttme.o): Likewise.
6450
6451 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
6452
6453 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
6454 et al.
6455
6456 2011-11-21 Richard Henderson <rth@redhat.com>
6457
6458 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
6459 (__TMC_LIST__, __TMC_END__): New.
6460 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
6461 (__do_global_dtors): Likewise.
6462 (frame_dummy): Call _ITM_registerTMCloneTable.
6463 (__do_global_ctors_1): Likewise.
6464
6465 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6466
6467 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
6468 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6469 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
6470 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
6471 * config/i386/t-darwin64: Remove.
6472 * config/sh/t-netbsd (LIB2ADD): Remove.
6473
6474 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
6475
6476 PR target/49313
6477 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
6478 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
6479 * config/avr/lib1funcs.S (wmov): New assembler macro.
6480 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
6481 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
6482 (__udivmod64): New function.
6483 (__negdi2): New function.
6484
6485 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
6486
6487 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
6488 *-*-freebsd*aout*): Remove.
6489
6490 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
6491
6492 * static-object.mk (c_flags-$o): Save c_flags.
6493 ($(base)$(objext)): Use it.
6494
6495 2011-11-18 Steve Ellcey <sje@cup.hp.com>
6496
6497 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
6498
6499 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
6500
6501 PR target/49868
6502 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
6503 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
6504 New functions.
6505
6506 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6507
6508 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6509 functions.
6510 (aeabi_uidivmod): Likewise.
6511 (umodsi3): Likewise.
6512 (divsi3): Likewise.
6513 (aeabi_idivmod): Likewise.
6514 (modsi3): Likewise.
6515
6516 2011-11-16 Tristan Gingold <gingold@adacore.com>
6517
6518 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6519
6520 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
6521
6522 PR target/49868
6523 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6524 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6525
6526 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6527
6528 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6529 tmake_file list.
6530 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6531 * config/pa/t-stublib64: Delete.
6532
6533 2011-11-12 Richard Henderson <rth@redhat.com>
6534
6535 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6536 cast the pointer argument to _Unwind_SetGRPtr.
6537
6538 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6539
6540 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6541
6542 2011-11-09 Ian Lance Taylor <iant@google.com>
6543
6544 * generic-morestack.c: Include <string.h>.
6545 (uintptr_type): Define.
6546 (struct initial_sp): Add dont_block_signals field. Reduce size of
6547 extra array by 1.
6548 (allocate_segment): Set prev field to NULL. Don't set
6549 __morestack_current_segment or __morestack_segments.
6550 (__generic_morestack): Update current->prev and *pp after calling
6551 allocate_segment.
6552 (__morestack_block_signals): Don't do anything if
6553 dont_block_signals is set.
6554 (__morestack_unblock_signals): Likewise.
6555 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6556 uintptr_type.
6557 (__splitstack_block_signals): New function.
6558 (enum __splitstack_content_offsets): Define.
6559 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6560 (__splitstack_makecontext): New function.
6561 (__splitstack_block_signals_context): New function.
6562 (__splitstack_find_context): New function.
6563 * config/i386/morestack.S (__morestack_get_guard): New function.
6564 (__morestack_set_guard, __morestack_make_guard): New functions.
6565 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6566
6567 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6568
6569 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6570 (i[34567]86-*-mingw*): ... here.
6571 (x86_64-*-mingw*): ... here.
6572
6573 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6574
6575 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6576
6577 2011-11-07 Nathan Sidwell <nathan@acm.org>
6578
6579 * libgcov.c (struct gcov_fn_buffer): New struct.
6580 (buffer_fn_data): New helper.
6581 (gcov_exit): Rework for new gcov data structures.
6582
6583 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
6584
6585 PR target/49313
6586 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6587
6588 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6589
6590 * config.host (tmake_file): Correct comment.
6591 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6592 t-libgcc-pic.
6593 (bfin*-uclinux*): Likewise.
6594 (bfin*-linux-uclibc*): Likewise.
6595 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6596
6597 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6598 assigning.
6599 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6600 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6601 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6602 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6603 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6604 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6605 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6606 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6607 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6608 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6609 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6610 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6611 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6612
6613 * config/bfin/t-elf: Remove.
6614 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6615
6616 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6617
6618 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6619 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6620 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6621 (lm32-*-elf*): ... this.
6622 (lm32-*-rtems*): ... and this.
6623 Add to tmake_file.
6624 (m32r-*-rtems*): Add to tmake_file.
6625 (moxie-*-rtems*): Likewise.
6626 (sparc-*-rtems*): Likewise.
6627 Remove t-rtems from tmake_file.
6628 (sparc64-*-rtems*): Likewise.
6629 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6630 instead.
6631
6632 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6633
6634 PR bootstrap/50982
6635 * config/gthr-posix.h: Move ...
6636 * gthr-posix.h: ... here.
6637 * config/gthr-lynx.h: Reflect this.
6638 * config/gthr-vxworks.h: Likewise.
6639 * config/rs6000/gthr-aix.h: Likewise.
6640 * configure.ac (target_thread_file): Likewise.
6641 * configure: Regenerate.
6642
6643 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6644
6645 * config.host (arm*-*-rtemseabi*): New target.
6646
6647 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6648
6649 PR other/50991
6650 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6651 extra-parts.
6652
6653 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6654
6655 * config.host (epiphany-*-elf*): New configuration.
6656 * config/epiphany: New Directory.
6657
6658 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6659
6660 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6661 * config/avr/t-rtems: New.
6662 Filter out _exit from LIB1ASMFUNCS.
6663
6664 2011-11-04 David S. Miller <davem@davemloft.net>
6665
6666 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6667 * configure: Rebuild.
6668
6669 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6670
6671 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6672 variable.
6673
6674 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
6675
6676 PR target/50931
6677 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6678 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6679
6680 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6681
6682 PR target/50989
6683 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6684
6685 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6686
6687 * config/c6x/t-elf (LIB2ADDEH): Set.
6688 * config/c6x/t-c6x-elf: Remove.
6689
6690 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6691
6692 * config/i386/sol2-ci.S: Rename to ...
6693 * config/i386/crti.S: ... this.
6694 * config/i386/sol2-cn.S: Rename to ...
6695 * config/i386/crtn.S: ... this.
6696 * config/sparc/sol2-ci.S: Rename to ...
6697 * config/sparc/crti.S: ... this.
6698 * config/sparc/sol2-cn.S: Rename to ...
6699 * config/sparc/crtn.S: ... this.
6700 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6701 (crti.o, crtn.o): Remove.
6702
6703 2011-11-04 Tristan Gingold <gingold@adacore.com>
6704
6705 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6706
6707 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6708
6709 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6710
6711 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
6712
6713 * config.host (crisv32-*-none, cris-*-none): Remove.
6714 (crisv32-*-elf): Append to tmake_file, don't just set it.
6715 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6716
6717 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6718
6719 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6720 (ecrtn$(objext)): Likewise.
6721 (ncrti$(objext)): Likewise.
6722 (ncrtn$(objext)): Likewise.
6723
6724 2011-11-03 Andreas Schwab <schwab@redhat.com>
6725
6726 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6727
6728 2011-11-02 David S. Miller <davem@davemloft.net>
6729
6730 * configure.ac: Set host_address on sparc too.
6731 * configure: Regenerate.
6732 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6733 based upon host_address.
6734 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6735
6736 2011-11-02 Jason Merrill <jason@redhat.com>
6737
6738 * config/rs6000/t-ppccomm: Add missing \.
6739
6740 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6741
6742 * gthr-single.h, gthr.h: New files.
6743 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6744 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6745 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6746 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6747 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6748 * configure.ac (thread_header): New variable.
6749 Set it depending on target_thread_file.
6750 (gthr-default.h): Link from $thread_header.
6751 * configure: Regenerate.
6752 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6753
6754 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6755
6756 * configure.ac (tm_file_): New variable.
6757 Determine from tm_file.
6758 (tm_file, tm_defines): Substitute.
6759 * configure: Regenerate.
6760 * mkheader.sh: New file.
6761 * Makefile.in (clean): Remove libgcc_tm.h.
6762 ($(objects)): Depend on libgcc_tm.h.
6763 (libgcc_tm_defines, libgcc_tm_file): New variables.
6764 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6765 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6766 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6767 ($(extra-parts)): Depend on libgcc_tm.h.
6768 * config.host (tm_defines, tm_file): New variable.
6769 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6770 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6771 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6772 (avr-*-rtems*): Likewise.
6773 (avr-*-*): Likewise.
6774 (frv-*-elf): Likewise.
6775 (frv-*-*linux*): Likewise.
6776 (h8300-*-rtems*): Likewise.
6777 (h8300-*-elf*): Likewise.
6778 (i[34567]86-*-darwin*): Likewise.
6779 (x86_64-*-darwin*): Likewise.
6780 (rx-*-elf): Likewise.
6781 (tic6x-*-uclinux): Likewise.
6782 (tic6x-*-elf): Likewise.
6783 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6784 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6785 * config/i386/cygming-crtbegin.c: Likewise.
6786 * config/i386/cygming-crtend.c: Likewise.
6787 * config/ia64/fde-vms.c: Likewise.
6788 * config/ia64/unwind-ia64.c: Likewise.
6789 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6790 * config/rs6000/darwin-fallback.c: Likewise.
6791 * config/stormy16/lib2funcs.c: Likewise.
6792 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6793 * crtstuff.c: Likewise.
6794 * dfp-bit.h: Likewise.
6795 * emutls.c: Likewise.
6796 * fixed-bit.c: Likewise.
6797 * fp-bit.c: Likewise.
6798 * generic-morestack-thread.c: Likewise.
6799 * generic-morestack.c: Likewise.
6800 * libgcc2.c: Likewise.
6801 * libgcov.c: Likewise.
6802 * unwind-dw2-fde-dip.c: Likewise.
6803 * unwind-dw2-fde.c: Likewise.
6804 * unwind-dw2.c: Likewise.
6805 * unwind-sjlj.c: Likewise.
6806
6807 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6808
6809 * configure.ac: Include ../config/picflag.m4.
6810 (GCC_PICFLAG): Call it.
6811 Substitute.
6812 * configure: Regenerate.
6813 * Makefile.in (gcc_srcdir): Remove.
6814 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6815 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6816 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6817 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6818 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6819 Use $<.
6820 Remove comment.
6821 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6822 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6823 to refer to libgcc2.c.
6824 Use $<.
6825 * config/darwin-64.c: New file.
6826 * config/darwin-crt3.c: Remove comment.
6827 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6828 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6829 config/udivmodsi4.c: New files.
6830 * config/memcmp.c, config/memcpy.c, config/memmove.c,
6831 config/memset.c: New files.
6832 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6833 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6834 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6835 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6836 * config/t-openbsd-thread: New file.
6837 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6838 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6839 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6840 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6841 qrnnd.S.
6842 Adapt filename.
6843 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6844 to refer to gthr-posix.c.
6845 * config/alpha/t-vms (LIB2ADD): Set.
6846 * config/alpha/vms-gcc_shell_handler.c: New file.
6847 * config/arm/bpabi.c, config/arm/fp16.c,
6848 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6849 config/arm/unaligned-funcs.c: New files.
6850 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6851 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6852 * config/arm/t-linux: Likewise.
6853 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6854 * config/arm/t-netbsd: New file.
6855 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6856 * config/arm/t-symbian (LIB2ADD_ST): Set.
6857 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6858 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6859 * config/bfin/t-elf: New file.
6860 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6861 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6862 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6863 config/c6x/ltf.c: New files.
6864 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6865 (HOST_LIBGCC2_CFLAGS): Set.
6866 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6867 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6868 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6869 New files.
6870 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6871 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6872 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6873 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6874 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6875 files.
6876 * config/frv/t-frv (LIB2ADD): Set.
6877 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6878 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6879 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6880 config/h8300/popcounthi2.c: New files.
6881 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6882 * config/i386/gthr-win32.c: New file.
6883 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6884 * config/i386/t-cygwin: Likewise.
6885 * config/i386/t-darwin, config/i386/t-darwin64,
6886 config/i386/t-gthr-win32, config/i386/t-interix: New files.
6887 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6888 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6889 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6890 * config/ia64/quadlib.c: New file.
6891 * config/ia64/t-hpux (LIB2ADD): Set.
6892 * config/ia64/t-ia64: Add comment.
6893 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6894 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6895 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6896 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6897 * config/m32c/t-m32c (LIB2ADD): Set.
6898 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6899 * config/m32r/t-m32r: Likewise.
6900 * config/m68k/fpgnulib.c: New file.
6901 * config/m68k/t-floatlib (LIB2ADD): Set.
6902 (xfgnulib.c): New target.
6903 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6904 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6905 * config/mep/t-mep (LIB2ADD): Set.
6906 * config/microblaze/divsi3.asm: Rename to divsi3.S.
6907 * config/microblaze/moddi3.asm: Rename to moddi3.S.
6908 * config/microblaze/modsi3.asm: Rename to modsi3.S.
6909 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6910 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6911 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6912 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6913 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6914 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6915 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6916 New files.
6917 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6918 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6919 * config/pa/fptr.c, config/pa/lib2funcs.S,
6920 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6921 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6922 (LIB2ADD, LIB2ADD_ST): Set.
6923 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6924 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6925 Set.
6926 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6927 * config/pdp11/t-pdp11: New file.
6928 * config/picochip/libgccExtras/adddi3.S,
6929 config/picochip/libgccExtras/ashlsi3.S,
6930 config/picochip/libgccExtras/ashrsi3.S,
6931 config/picochip/libgccExtras/clzsi2.S,
6932 config/picochip/libgccExtras/cmpsi2.S,
6933 config/picochip/libgccExtras/divmod15.S,
6934 config/picochip/libgccExtras/divmodhi4.S,
6935 config/picochip/libgccExtras/divmodsi4.S,
6936 config/picochip/libgccExtras/lshrsi3.S,
6937 config/picochip/libgccExtras/parityhi2.S,
6938 config/picochip/libgccExtras/popcounthi2.S,
6939 config/picochip/libgccExtras/subdi3.S,
6940 config/picochip/libgccExtras/ucmpsi2.S,
6941 config/picochip/libgccExtras/udivmodhi4.S,
6942 config/picochip/libgccExtras/udivmodsi4.S: New files.
6943 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6944 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6945 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6946 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6947 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6948 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6949 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
6950 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6951 files.
6952 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6953 (HOST_LIBGCC2_CFLAGS): Set.
6954 * config/rs6000/t-darwin64: New file.
6955 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6956 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6957 * config/rs6000/t-ppccomm (LIB2ADD): Add
6958 $(srcdir)/config/rs6000/tramp.S.
6959 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6960 Add $(srcdir)/config/rs6000/eabi.S.
6961 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6962 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6963 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6964 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6965 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6966 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6967 * config/rs6000/tramp.S: New file.
6968 * config/s390/t-tpf: Remove.
6969 * config/sh/linux-atomic.S: New file.
6970 * config/sh/t-linux (LIB2ADD): Set.
6971 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6972 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6973 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6974 to unwind-dw2.c.
6975 (HOST_LIBGCC2_CFLAGS): Set.
6976 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6977 * config/spu/divmodti4.c, config/spu/divv2df3.c,
6978 config/spu/float_disf.c, config/spu/float_unsdidf.c,
6979 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6980 config/spu/mfc_multi_tag_release.c,
6981 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6982 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6983 config/spu/multi3.c: New files.
6984 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6985 (HOST_LIBGCC2_CFLAGS): Set.
6986 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6987 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6988 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6989 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6990 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6991 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6992 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6993 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6994 config/stormy16/umodsi3.c: New files.
6995 * config/xtensa/lib2funcs.S: New file.
6996 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6997 * config/xtensa/t-xtensa (LIB2ADD): Set.
6998 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6999 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7000 Add t-freebsd-thread to tmake_file for posix threads.
7001 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7002 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7003 (*-*-lynxos*): Likewise.
7004 (*-*-netbsd*): Likewise.
7005 (*-*-openbsd*): Likewise.
7006 Add t-openbsd-thread to tmake_file for posix threads.
7007 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7008 (*-*-vxworks*): Set tmake_file.
7009 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7010 (alpha*-*-freebsd*): Likewise.
7011 (alpha*-*-netbsd*): Likewise.
7012 (alpha*-*-openbsd*): Likewise.
7013 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7014 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7015 (alpha*-dec-*vms*): Likewise.
7016 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7017 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7018 (bfin*-uclinux*): Likewise.
7019 (bfin*-linux-uclibc*): Likewise.
7020 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7021 (crisv32-*-none): Likewise.
7022 (cris-*-elf): Likewise.
7023 (cris-*-none): Likewise.
7024 (cris-*-linux*, crisv32-*-linux*): Likewise.
7025 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7026 tmake_file.
7027 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7028 tmake_file.
7029 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7030 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7031 (x86_64-*-elf*): Likewise.
7032 (i[34567]86-*-nto-qnx*): Likewise.
7033 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7034 win32 threads.
7035 (x86_64-*-mingw*): Likewise.
7036 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7037 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7038 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7039 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7040 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7041 tmake_file.
7042 (mipsisa64sr71k-*-elf*): Likewise.
7043 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7044 (mips-*-elf*, mipsel-*-elf*): Likewise.
7045 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7046 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7047 (mips*-*-rtems*): Likewise.
7048 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7049 to tmake_file.
7050 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7051 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7052 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7053 (spu-*-elf*): Likewise.
7054 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7055
7056 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7057
7058 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7059 $(srcdir) to refer to $(LIB1ASMSRC).
7060 Use $<.
7061 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7062 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7063 config/arm/lib1funcs.S: New files.
7064 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7065 * config/arm/t-arm: New file.
7066 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7067 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7068 config/arm/t-strongarm-elf: New files.
7069 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7070 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7071 * config/avr/lib1funcs.S: New file.
7072 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7073 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7074 * config/c6x/lib1funcs.S: New file.
7075 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7076 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7077 * config/frv/lib1funcs.S: New file.
7078 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7079 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7080 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7081 * config/ia64/__divxf3.asm: Rename to ...
7082 * config/ia64/__divxf3.S: ... this.
7083 Adapt lib1funcs.asm filename.
7084 * config/ia64/_fixtfdi.asm: Rename to ...
7085 * config/ia64/_fixtfdi.S: ... this.
7086 Adapt lib1funcs.asm filename.
7087 * config/ia64/_fixunstfdi.asm: Rename to ...
7088 * config/ia64/_fixunstfdi.S: ... this.
7089 Adapt lib1funcs.asm filename.
7090 * config/ia64/_floatditf.asm: Rename to ...
7091 * config/ia64/_floatditf.S: ... this.
7092 Adapt lib1funcs.asm filename.
7093 * config/ia64/lib1funcs.S: New file.
7094 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7095 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7096 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7097 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7098 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7099 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7100 * config/mep/lib1funcs.S: New file.
7101 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7102 * config/mips/mips16.S: New file.
7103 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7104 * config/pa/milli64.S: New file.
7105 * config/pa/t-linux, config/pa/t-linux64: New files.
7106 * config/picochip/lib1funcs.S: New file.
7107 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7108 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7109 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7110 * config/sh/t-netbsd: New file.
7111 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7112 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7113 * config/sh/t-sh64: New file.
7114 * config/sparc/lb1spc.S: New file.
7115 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7116 filename.
7117 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7118 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7119 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7120 config/xtensa/lib1funcs.S: New files.
7121 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7122 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7123 tmake_file.
7124 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7125 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7126 (arm*-*-linux*): Likewise.
7127 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7128 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7129 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7130 (arm*-*-ecos-elf): Likewise.
7131 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7132 (arm*-*-rtems*): Likewise.
7133 (arm*-*-elf): Likewise.
7134 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7135 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7136 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7137 (bfin*-uclinux*): Likewise.
7138 (bfin*-linux-uclibc*): Likewise.
7139 (bfin*-rtems*): Likewise.
7140 (bfin*-*): Likewise.
7141 (fido-*-elf): Merge into m68k-*-elf*.
7142 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7143 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7144 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7145 (h8300-*-elf*): Likewise.
7146 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7147 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7148 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7149 (i[34567]86-*-mingw*): Likewise.
7150 (x86_64-*-mingw*): Likewise.
7151 (i[34567]86-*-interix3*): Likewise.
7152 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7153 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7154 (m68k-*-elf*): Also handle fido-*-elf.
7155 Add m68k/t-floatlib to tmake_file.
7156 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7157 (m68k-*-linux*): Likewise.
7158 (m68k-*-rtems*): Likewise.
7159 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7160 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7161 sh64*-*-*.
7162 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7163 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7164 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7165 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7166 sh/t-netbsd to tmake_file.
7167 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7168 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7169 (sh-wrs-vxworks): Likewise.
7170 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7171 *-leon[3-9]*.
7172 (v850*-*-*): Add v850/t-v850 to tmake_file.
7173 (vax-*-linux*): Add vax/t-linux to tmake_file.
7174 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7175
7176 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7177
7178 * crtstuff.c: New file.
7179 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7180 (CRTSTUFF_T_CFLAGS): Define.
7181 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7182 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7183 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7184 crtstuff.c.
7185 Use $<.
7186 (crtbeginT.o): Use $(objext).
7187 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7188 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7189 (gcc-extra-parts): Remove.
7190 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7191 Set extra_parts.
7192 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7193 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7194 Add t-crtstuff-pic to tmake_file.
7195 (*-*-lynxos*): New case.
7196 Set tmake_file, extra_parts.
7197 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7198 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7199 *-*-netbsdelf[2-9]*.
7200 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7201 (*-*-rtems*): Set extra_parts.
7202 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7203 (*-*-uclinux*): New case.
7204 Set extra_parts.
7205 (*-*-vms*): New case.
7206 Set tmake_file, extra_parts.
7207 (*-*-elf): Set extra_parts.
7208 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
7209 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
7210 vms/t-vms64.
7211 Set extra_parts.
7212 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
7213 Set extra_parts.
7214 (arm*-*-freebsd*): Add t-crtin to tmake_file.
7215 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
7216 (arm-wrs-vxworks): Append to tmake_file.
7217 Set extra_parts.
7218 (arm*-*-uclinux*): Set extra_parts.
7219 (arm*-*-ecos-elf): Likewise.
7220 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
7221 arm*-*-eabi*.
7222 (arm*-*-rtems*): Set extra_parts.
7223 (arm*-*-elf): Likewise.
7224 (avr-*-rtems*): Clear extra_parts.
7225 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
7226 Set extra_parts.
7227 (bfin*-uclinux*): Likewise.
7228 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
7229 (bfin*-rtems*): Append to tmake_file.
7230 Set extra_parts.
7231 (bfin*-*): Likewise.
7232 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
7233 (crisv32-*-elf): ... this.
7234 (crisv32-*-none): ... this.
7235 (cris-*-elf, cris-*-none): New cases.
7236 Add cris/t-elfmulti to tmake_file.
7237 (fr30-*-elf): Append to tmake_file.
7238 Set extra_parts.
7239 (frv-*-elf): Append to tmake_file, add frv/t-frv.
7240 Set extra_parts.
7241 (h8300-*-rtems*): Append to tmake_file.
7242 Set extra_parts.
7243 (h8300-*-elf*): Likewise.
7244 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
7245 Set extra_parts.
7246 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
7247 Set extra_parts.
7248 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
7249 (x86_64-*-elf*): Likewise.
7250 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
7251 (x86_64-*-freebsd*): Likewise.
7252 (x86_64-*-netbsd*): Likewise.
7253 (i[34567]86-*-linux*): Likewise.
7254 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7255 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7256 (x86_64-*-linux*): Likewise.
7257 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7258 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
7259 tmake_file.
7260 Set extra_parts.
7261 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
7262 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
7263 Append to extra_parts, remove crtbegin.o, crtend.o.
7264 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
7265 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
7266 crtend.o, crtbeginS.o, crtendS.o.
7267 (ia64*-*-linux*): Comment extra_parts.
7268 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
7269 Set extra_parts.
7270 (iq2000*-*-elf*): Clear extra_parts.
7271 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
7272 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
7273 (m32r-*-elf*, m32r-*-rtems*): Split off ...
7274 (m32r-*-rtems*): ... this.
7275 Add m32r/t-m32r to tmake_file.
7276 (m68k-*-elf*): Add t-crtin to tmake_file.
7277 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
7278 (mcore-*-elf): Likewise.
7279 (microblaze*-*-*): Set extra_parts.
7280 (mips*-sde-elf*): New case.
7281 Set tmake_file, extra_parts.
7282 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7283 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7284 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
7285 tmake_file.
7286 Set extra_parts.
7287 (mipsisa64sr71k-*-elf*): Likewise.
7288 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7289 (mips-*-elf*, mipsel-*-elf*): Likewise.
7290 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7291 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
7292 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7293 (mips*-*-rtems*): Likewise.
7294 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
7295 (moxie-*-*): Split into ...
7296 (moxie-*-elf, moxie-*-uclinux*): ... this.
7297 Add to extra_parts, remove crtbegin.o, crtend.o.
7298 (moxie-*-rtems*): New case.
7299 Set tmake_file.
7300 Clear extra_parts.
7301 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
7302 Set extra_parts.
7303 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7304 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
7305 tmake_file.
7306 Set extra_parts.
7307 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
7308 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
7309 Set extra_parts.
7310 (powerpc-*-eabisim*): Likewise.
7311 (powerpc-*-elf*): Likewise.
7312 (powerpc-*-eabialtivec*): Likewise.
7313 (powerpc-xilinx-eabi*): Likewise.
7314 (powerpc-*-eabi*): Likewise.
7315 (powerpc-*-rtems*): Likewise.
7316 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
7317 tmake_file.
7318 Set extra_parts.
7319 (powerpc-*-lynxos*): Add to tmake_file.
7320 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
7321 rs6000/t-crtstuff, t-crtstuff-pic.
7322 Set extra_parts.
7323 (powerpcle-*-eabisim*): Likewise.
7324 (powerpcle-*-eabi*): Likewise.
7325 (rx-*-elf): Remove extra_parts.
7326 (s390x-ibm-tpf*): Set extra_parts.
7327 (score-*-elf): Set extra_parts.
7328 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7329 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7330 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7331 (sh64l*-*-netbsd*): Split into ...
7332 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
7333 Add t-crtstuff-pic to tmake_file.
7334 Set extra_parts.
7335 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
7336 Set extra_parts.
7337 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
7338 (sparc-*-elf*): Remove t-crtin from tmake_file.
7339 Add to extra_parts, remove crtbegin.o, crtend.o.
7340 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
7341 (sparc64-*-linux*): Likewise.
7342 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
7343 Add to extra_parts, remove crtbegin.o, crtend.o.
7344 (sparc64-*-elf*): Remove t-crtin from tmake_file.
7345 Add to extra_parts, remove crtbegin.o, crtend.o.
7346 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
7347 Add to extra_parts, remove crtbegin.o, crtend.o.
7348 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
7349 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
7350 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
7351 Set extra_parts.
7352 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
7353 Set extra_parts.
7354 (tic6x-*-*): Change to ...
7355 (tic6x-*-elf): ... this.
7356 Set extra_parts.
7357 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
7358 Set extra_parts.
7359 (am33_2.0-*-linux*): Add comment.
7360 (mep*-*-*): Add mep/t-mep to tmake_file.
7361 Set extra_parts.
7362 * config/alpha/t-vms: New file.
7363 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
7364 * config/arm/crti.S, config/arm/crtn.S: New files.
7365 * config/bfin/crti.S, config/bfin/crtn.S: New files.
7366 * config/bfin/crtlibid.S: New file.
7367 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
7368 * config/c6x/crti.S, config/c6x/crtn.S: New files.
7369 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
7370 (crti.o, crtin.o): New rules.
7371 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7372 * config/c6x/t-uclinux: New file.
7373 * config/cris/t-elfmulti: New file.
7374 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
7375 * config/fr30/crti.S, config/fr30/crtn.S: New files.
7376 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
7377 * config/frv/t-frv: New file.
7378 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
7379 * config/h8300/crti.S, config/h8300/crtn.S: New files.
7380 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
7381 New files.
7382 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
7383 refer to cygming-crtbegin.c, cygming-crtend.c.
7384 Use $<.
7385 * config/i386/t-nto: New file.
7386 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
7387 * config/ia64/crti.S, config/ia64/crtn.S: New files.
7388 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
7389 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
7390 Use .S extension.
7391 Use $<.
7392 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
7393 (crtinitS.o): New rule.
7394 * config/ia64/vms-crtinit.S: New file.
7395 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
7396 * config/m32r/initfini.c: New file.
7397 * config/m32r/t-linux, config/m32r/t-m32r: New files.
7398 * config/m68k/crti.S, config/m68k/crtn.S: New files.
7399 * config/mcore/crti.S, config/mcore/crtn.S: New files.
7400 * config/mep/t-mep: New file.
7401 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
7402 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
7403 * config/mips/crti.S, config/mips/crtn.S: New files.
7404 * config/mips/t-crtstuff: New file.
7405 * config/mmix/crti.S, config/mmix/crtn.S: New files.
7406 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
7407 (CUSTOM_CRTIN): Set.
7408 ($(T)crti.o, $(T)crtn.o): Remove $(T),
7409 dependencies.
7410 Use $(srcdir) to refer to crti.S, crtn.S.
7411 Use .S extension, $<.
7412 * config/moxie/crti.asm: Rename to ...
7413 * config/moxie/crti.S: ... this.
7414 * config/moxie/crtn.asm: Rename to ...
7415 * config/moxie/crtn.S: ... this.
7416 * config/moxie/t-moxie: Remove.
7417 * config/pa/stublib.c: New file.
7418 * config/pa/t-stublib, config/pa/t-stublib64: New files.
7419 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
7420 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
7421 * config/rs6000/t-crtstuff: New file.
7422 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
7423 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
7424 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
7425 Make output file explicit.
7426 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
7427 Make output file explicit.
7428 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
7429 Make output file explicit.
7430 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
7431 Make output file explicit.
7432 * config/score/crti.S, config/score/crtn.S: New files.
7433 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
7434 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
7435 files.
7436 * config/sh/t-sh, config/sh/t-superh: New files.
7437 * config/sparc/t-linux64: New file.
7438 * config/spu/cache.S, config/spu/cachemgr.c: New files.
7439 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
7440 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
7441 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
7442 * config/t-crtin: Remove.
7443 * config/t-crtstuff-pic: New file.
7444 * config/t-sol2 (CUSTOM_CRTIN): Set.
7445 (crti.o, crtn.o): New rules.
7446 * config/vms/t-vms: New file.
7447 * config/vms/vms-ucrt0.c: New file.
7448 * config/xtensa/t-elf: New file.
7449
7450 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7451
7452 * Makefile.in (SHLIB_NM_FLAGS): Set.
7453 * mkmap-flat.awk, mkmap-symver.awk: New files.
7454 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
7455 exceptions.
7456 * configure: Regenerate.
7457 * config/libgcc-glibc.ver: New file.
7458 * config/libgcc-libsystem.ver: New file.
7459 * config/t-libunwind (SHLIB_LC): Set.
7460 * config/t-linux: New file.
7461 * config/t-slibgcc (INSTALL_SHLIB): New.
7462 (SHLIB_INSTALL): Use it.
7463 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
7464 to mkmap-symver.awk.
7465 (SHLIB_MAPFILES): Don't append, adapt pathname.
7466 (SHLIB_VERPFX): Set.
7467 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
7468 to mkmap-symver.awk.
7469 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
7470 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
7471 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
7472 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
7473 to mkmap-flat.awk.
7474 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
7475 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
7476 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
7477 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
7478 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
7479 * config/i386/libgcc-darwin.10.4.ver,
7480 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
7481 New files.
7482 * config/i386/t-darwin: Remove.
7483 * config/i386/t-darwin64: Likewise.
7484 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
7485 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
7486 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
7487 * config/i386/t-linux: New file.
7488 * config/i386/t-mingw32: New file.
7489 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
7490 * config/ia64/t-glibc: Rename to ...
7491 * config/ia64/t-linux: ... this.
7492 (SHLIB_MAPFILES): Set.
7493 * config/ia64/t-glibc-libunwind: Rename to ...
7494 * config/ia64/t-linux-libunwind: ... this.
7495 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
7496 * config/ia64/t-slibgcc-hpux: New file.
7497 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
7498 * config/m68k/t-slibgcc-elf-ver: New file.
7499 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
7500 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
7501 to mkmap-flat.awk.
7502 * config/pa/t-slibgcc-hpux: New file.
7503 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
7504 files.
7505 * config/rs6000/libgcc-darwin.10.4.ver,
7506 config/rs6000/libgcc-darwin.10.5.ver: New files.
7507 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7508 config/rs6000/libgcc-glibc.ver.
7509 * config/rs6000/libgcc-ppc64.ver: Rename to
7510 config/rs6000/libgcc-ibm-ldouble.ver.
7511 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7512 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7513 * config/rs6000/t-ldbl128: Rename to ...
7514 * config/rs6000/t-linux: ... this.
7515 (SHLIB_MAPFILES): Adapt filename.
7516 * config/rs6000/t-slibgcc-aix: New file.
7517 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7518 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7519 libgcc-excl.ver, libgcc-glibc.ver.
7520 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7521 * config/sparc/libgcc-glibc.ver: New file.
7522 * config/sparc/t-linux: New file.
7523 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7524 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7525 t-slibgcc-elf-ver to tmake_file.
7526 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7527 *-*-freebsd[34].
7528 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7529 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7530 t-slibgcc-elf-ver, t-linux to tmake_file.
7531 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7532 tmake_file.
7533 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7534 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7535 (alpha*-dec-*vms*): Likewise.
7536 (arm*-*-freebsd*): Append to tmake_file.
7537 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7538 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7539 arm*-*-linux-*eabi.
7540 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7541 tmake_file for arm*-*-symbianelf*.
7542 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7543 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7544 cris/t-linux.
7545 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7546 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7547 pa/t-slibgcc-dwarf-ver to tmake_file.
7548 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7549 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7550 (hppa*64*-*-hpux11*): Likewise.
7551 (hppa[12]*-*-hpux11*): Likewise.
7552 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7553 i386/t-crtpc, i386/t-crtfm.
7554 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7555 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7556 to tmake_file.
7557 Add i386/t-cygwin to tmake_file.
7558 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7559 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7560 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7561 to tmake_file.
7562 Add i386/t-mingw32 to tmake_file.
7563 (x86_64-*-mingw*): Likewise.
7564 (ia64*-*-freebsd*): Append to tmake_file.
7565 (ia64*-*-linux*): Append to tmake_file.
7566 Replace ia64/t-glibc by ia64/t-linux.
7567 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7568 system libunwind.
7569 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7570 t-slibgcc-hpux to tmake_file.
7571 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7572 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7573 (m32rle-*-linux*): Likewise.
7574 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7575 sjlj exceptions.
7576 (microblaze*-linux*): New case.
7577 Append to tmake_file, add t-slibgcc-nolc-override.
7578 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7579 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7580 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7581 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7582 rs6000/t-slibgcc-aix to tmake_file.
7583 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7584 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7585 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7586 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7587 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7588 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7589 sh*-*-linux*.
7590 (sparc-*-linux*): Append to tmake_file for *-leon*.
7591 Add sparc/t-linux to tmake_file for non-Leon targets.
7592 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7593 (tic6x-*-uclinux): New case.
7594 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7595 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7596 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7597 (am33_2.0-*-linux*): Append to tmake_file.
7598 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7599 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7600 x86_64-*-kfreebsd*-gnu.
7601 Add i386/t-linux to tmake_file.
7602
7603 2011-10-28 Ian Lance Taylor <iant@google.com>
7604
7605 * config/i386/morestack.S: Correct CFI information to do proper
7606 returns throughout function. In 32-bit mode, save %ebx so that it
7607 is restored on unwind.
7608
7609 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7610
7611 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7612 case where B3 isn't the return register.
7613
7614 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7615 logic for doubleword pops.
7616
7617 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
7618
7619 * config/rs6000/t-freebsd: Add wildcard.
7620
7621 2011-10-21 Paul Brook <paul@codesourcery.com>
7622
7623 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7624
7625 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
7626 Eric Botcazou <ebotcazou@adacore.com>
7627
7628 PR target/50737
7629 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7630 fs->signal_frame to 1.
7631
7632 2011-10-07 Ian Lance Taylor <iant@google.com>
7633
7634 * generic-morestack-thread.c: #include <errno.h>.
7635
7636 2011-10-07 Ian Lance Taylor <iant@google.com>
7637
7638 PR target/46093
7639 * generic-morestack.c (__generic_morestack): Make sure the segment
7640 is large enough for both the stack frame and the copied
7641 parameters.
7642
7643 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7644
7645 PR bootstrap/49804
7646 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7647 extra_parts.
7648
7649 2011-09-28 Nick Clifton <nickc@redhat.com>
7650
7651 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7652 64-bit doubles are not enabled.
7653 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7654 and floatunsisf functions.
7655
7656 2011-09-13 Paul Brook <paul@codesourcery.com>
7657
7658 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7659 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7660 * unwind-arm-common.inc: New file.
7661 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7662 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7663 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7664 * config/c6x/libunwind.S: New file.
7665 * config/c6x/pr-support.c: New file.
7666 * config/c6x/unwind-c6x.c: New file.
7667 * config/c6x/unwind-c6x.h: New file.
7668 * config/c6x/t-c6x-elf: New file.
7669
7670 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
7671
7672 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7673 (ASM_DIVZERO): Ditto.
7674 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7675
7676 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7677
7678 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7679
7680 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7681
7682 PR target/50090
7683 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7684 instead of an assembly one.
7685
7686 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
7687
7688 PR bootstrap/50047
7689 * Makefile.in (install-unwind_h): Create
7690 $(gcc_objdir)/include/unwind.h atomically.
7691
7692 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7693
7694 * Makefile.in (install-unwind_h): Remove destination file first.
7695
7696 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7697
7698 * sync.c: New file.
7699 * config/mips/t-mips16: New file.
7700 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7701 (mips*-*-linux*): Likewise.
7702 (mips*-sde-elf*): Likewise.
7703 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7704 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7705 Add mips/t-mips16 to tmake_file.
7706 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7707 (mips-*-elf*): Likewise.
7708 (mips64-*-elf*): Likewise.
7709 (mips64orion-*-elf*): Likewise.
7710 (mips*-*-rtems*): Likewise.
7711 (mipstx39-*-elf*): Likewise.
7712 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7713 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7714 LIBGCC_SYNC_CFLAGS.
7715 Use $(srcdir) to refer to sync.c.
7716 Use $<.
7717 ($(libgcc-sync-funcs-o)): Likewise.
7718 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7719 ($(libgcc-sync-funcs-s-o)): Likewise.
7720
7721 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7722
7723 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7724 t-libunwind.
7725
7726 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7727
7728 PR other/48007
7729 * config/i386/value-unwind.h: New.
7730
7731 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7732
7733 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7734 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7735 Add to tmake_file rather than overriding it.
7736
7737 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7738
7739 * config/t-softfp: Remove.
7740 * soft-fp: Moved from ../gcc/config.
7741 * soft-fp/README: Remove t-softfp reference.
7742 * soft-fp/t-softfp: Move to config/t-softfp.
7743 (softfp_machine_header): Remove.
7744 (softfp_file_list): Remove config subdir.
7745 (soft-fp-objects): New variable.
7746 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7747 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7748 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7749 * config/t-softfp-excl: New file.
7750 * config/t-softfp-sfdf: New file.
7751 * config/t-softfp-tf: New file.
7752 * config/no-sfp-machine.h: New file.
7753 * config/arm/sfp-machine.h: New file.
7754 * config/arm/t-softfp: New file.
7755 * config/c6x/sfp-machine.h: New file.
7756 * config/i386/32/t-fprules-softfp: Rename to ...
7757 * config/i386/32/t-softfp: ... this.
7758 (tifunctions, LIB2ADD): Remove.
7759 (softfp_int_modes): Override.
7760 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7761 subdir.
7762 * config/i386/64/eqtf2.c: Likewise.
7763 * config/i386/64/getf2.c: Likewise.
7764 * config/i386/64/letf2.c: Likewise.
7765 * config/ia64/sft-machine.h: New file.
7766 * config/ia64/t-fprules-softfp: Rename to ...
7767 * config/ia64/t-softfp: ... this.
7768 * config/lm32/sfp-machine.h: New file.
7769 * config/moxie/t-moxie-softfp: Remove.
7770 * config/rs6000/ibm-ldouble-format: New file.
7771 * config/rs6000/ibm-ldouble.c: New file.
7772 * config/rs6000/libgcc-ppc-glibc.ver: New file
7773 * config/rs6000/libgcc-ppc64.ver: New file
7774 * config/rs6000/sfp-machine.h: New file.
7775 * config/rs6000/t-freebsd: New file.
7776 * config/rs6000/t-ibm-ldouble: New file.
7777 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7778 libgcc-ppc-glibc.ver.
7779 * config/rs6000/t-linux64: New file.
7780 * config/rs6000/t-ppccomm (LIB2ADD): Add
7781 $(srcdir)/config/rs6000/ibm-ldouble.c.
7782 * config/rs6000/t-ppccomm-ldbl: New file.
7783 * config/score/sfp-machine.h: New file.
7784 * config.host (sfp_machine_header): Explain.
7785 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7786 t-softfp to tmake_file.
7787 (arm*-*-uclinux*): Likewise.
7788 (arm*-*-ecos-elf): Likewise.
7789 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7790 (arm*-*-rtems*): Likewise.
7791 (arm*-*-elf): Likewise.
7792 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7793 in tmake_file.
7794 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7795 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7796 (lm32-*-uclinux*): Likewise.
7797 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7798 t-softfp-excl, t-softfp.
7799 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7800 (powerpc64-*-darwin*): Likewise.
7801 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7802 to tmake_file.
7803 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7804 tmake_file.
7805 (powerpc-*-eabisim*): Likewise.
7806 (powerpc-*-elf*): Likewise.
7807 (powerpc-*-eabialtivec*): Likewise.
7808 (powerpc-xilinx-eabi*): Likewise.
7809 (powerpc-*-rtems*): Likewise.
7810 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7811 t-softfp-excl, t-softfp to tmake_file.
7812 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7813 rs6000/t-ppccomm-ldbl to tmake_file.
7814 (powerpcle-*-elf*): Likewise.
7815 (powerpcle-*-eabisim*): Likewise.
7816 (powerpcle-*-eabi*): Likewise.
7817 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7818 rs6000/t-ibm-ldouble to tmake_file.
7819 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7820 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7821 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7822 (tic6x-*-*): Likewise.
7823 (i[34567]86-*-darwin*, x86_64-*-darwin*,
7824 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7825 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7826 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7827 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7828 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7829 t-softfp to tmake_file.
7830 * configure.ac (sfp_machine_header): Provide default if unset.
7831 Substitute.
7832 Link sfp-machine.h to config/$sfp_machine_header.
7833 * configure: Regenerate.
7834
7835 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7836
7837 * Makefile.in (double_type_size, long_double_type_size): Set.
7838 Remove $(fpbit-in-libgcc) support.
7839 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7840 (fpbit-src): New variable.
7841 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7842 Compile with -DFLOAT $(FPBIT_CFLAGS).
7843 Use $<.
7844 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7845 Compile with $(FPBIT_CFLAGS).
7846 Use $<.
7847 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7848 Compile with -DFLOAT $(TPBIT_CFLAGS).
7849 Use $<.
7850 * configure.ac (double_type_size, long_double_type_size):
7851 Determine and substitute.
7852 * configure: Regenerate.
7853 * fp-bit.c, fp-bit.h: New files.
7854 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7855 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7856 * config/mips/t-mips: New file.
7857 * config/mips/t-sdemtk: New file.
7858 * config/rs6000/ppc64-fp.c: New file.
7859 * config/rs6000/t-darwin (LIB2ADD): Add
7860 $(srcdir)/config/rs6000/ppc64-fp.c.
7861 * config/rs6000/t-ppc64-fp: New file.
7862 * config/rx/rx-lib.h: New file.
7863 * config/rx/t-rx (FPBIT): Set to true.
7864 ($(gcc_objdir)/fp-bit.c): Remove.
7865 (DPBIT): Set to true only with -m64bit-doubles.
7866 ($(gcc_objdir)/dp-bit.c): Remove.
7867 * config/sparc/t-softfp: Remove.
7868 * config/spu/t-elf: New file.
7869 * config/t-fdpbit, config/t-fpbit: New files.
7870 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7871 (mips*-*-*): Likewise.
7872 (arm-wrs-vxworks): Likewise.
7873 (arm*-*-freebsd*): Likewise.
7874 (avr-*-rtems*): Add t-fpbit to tmake_file.
7875 (avr-*-*): Likewise.
7876 (bfin*-elf*): Add t-fdpbit to tmake_file.
7877 (bfin*-uclinux*): Likewise.
7878 (bfin*-linux-uclibc*): Likewise.
7879 (bfin*-rtems*): New case.
7880 Add t-fdpbit to tmake_file.
7881 (bfin*-*): Add t-fdpbit to tmake_file.
7882 (crisv32-*-elf): Likewise.
7883 (cris-*-linux*): Likewise.
7884 (fr30-*-elf): Likewise.
7885 (frv-*-elf, frv-*-*linux*): Likewise.
7886 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7887 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7888 (m32r-*-elf*): Likewise.
7889 (m32rle-*-elf*): Likewise.
7890 (m32r-*-linux*): Likewise.
7891 (m32rle-*-linux*): Likewise.
7892 (mcore-*-elf): Add t-fdpbit to tmake_file.
7893 (microblaze*-*-*): Likewise.
7894 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7895 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7896 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7897 Fix typo.
7898 Add mips/t-tpbit to tmake-file.
7899 (mips*-*-linux*): Fix typo.
7900 (mips*-sde-elf*): New case
7901 Add mips/t-sdemtk unless using newlib.
7902 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7903 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7904 (mn10300-*-*): Likewise.
7905 (pdp11-*-*): Likewise.
7906 (picochip-*-*): Add t-fpbit to tmake_file.
7907 (powerpc-*-eabisimaltivec*): Likewise.
7908 (powerpc-*-eabisim*): Likewise.
7909 (powerpc-*-elf*): Likewise.
7910 (powerpc-*-eabialtivec*): Likewise.
7911 (powerpc-xilinx-eabi*): New case.
7912 Add t-fdpbit to tmake_file.
7913 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
7914 (powerpc-*-rtems*): Likewise.
7915 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7916 tmake_file.
7917 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7918 tmake_file.
7919 (powerpc-*-lynxos*): Likewise.
7920 (powerpcle-*-elf*): Likewise.
7921 (powerpcle-*-eabisim*): Likewise.
7922 (powerpcle-*-eabi*): Likewise.
7923 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7924 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7925 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7926 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7927 (rx-*-elf): Add t-fdpbit to tmake_file.
7928 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7929 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7930 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7931 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7932 sh*-*-netbsd*.
7933 (sh-*-rtems*): Add t-fdpbit to tmake_file.
7934 (sh-wrs-vxworks): Likewise.
7935 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7936 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7937 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7938 (sparc64-*-rtems*): ... new case.
7939 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7940 (spu-*-elf*): Likewise.
7941 Add spu/t-elf to tmake_file.
7942 (v850*-*-*): Add t-fdpbit to tmake_file.
7943 (xstormy16-*-elf): Likewise.
7944 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7945 (mep*-*-*): Likewise.
7946
7947 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7948
7949 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7950 variables.
7951 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7952 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7953 (install-unwind_h): New target.
7954 (all): Depend on it.
7955 * config.host (unwind_header): New variable.
7956 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7957 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7958 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7959 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7960 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7961 Set unwind_header.
7962 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7963 Set unwind_header.
7964 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7965 arm*-*-eabi*.
7966 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7967 Set unwind_header.
7968 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7969 (ia64*-*-freebsd*): Likewise.
7970 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7971 tmake_file.
7972 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7973 $with_system_libunwind.
7974 (ia64*-*-hpux*): Set tmake_file.
7975 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7976 (picochip-*-*): Set tmake_file.
7977 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7978 md_unwind_header.
7979 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7980 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7981 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7982 (xtensa*-*-elf*): Set tmake_file.
7983 (xtensa*-*-linux*): Likewise.
7984 * configure.ac: Include ../config/unwind_ipinfo.m4.
7985 Call GCC_CHECK_UNWIND_GETIPINFO.
7986 Link unwind.h to $unwind_header.
7987 * configure: Regenerate.
7988 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7989 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7990 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7991 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7992 * config/unwind-dw2-fde-darwin.c: New file.
7993 * config/arm/libunwind.S, config/arm/pr-support.c,
7994 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7995 config/arm/unwind-arm.h,: New files.
7996 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7997 config/ia64/t-eh-ia64, config/ia64/t-glibc,
7998 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7999 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8000 config/ia64/unwind-ia64.h: New files.
8001 * config/picochip/t-picochip: New file.
8002 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8003 files.
8004 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8005 * config/s390/t-tpf (LIB2ADDEH): Remove.
8006 * config/t-darwin (LIB2ADDEH): Set.
8007 * config/t-eh-dw2-dip: New file.
8008 * config/t-libunwind, config/t-libunwind-elf: New files.
8009 * config/t-sol2 (LIB2ADDEH): Remove.
8010 * config/xtensa/t-xtensa: New file.
8011
8012 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8013
8014 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8015 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8016 long long to check rt_sigreturn syscall.
8017
8018 2011-08-02 Alan Modra <amodra@gmail.com>
8019
8020 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8021 Restore for indirect call bcrtl from correct stack slot, and only
8022 if cfa+40 isn't valid.
8023
8024 2011-08-01 Julian Brown <julian@codesourcery.com>
8025
8026 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8027 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8028 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8029
8030 2011-08-01 Julian Brown <julian@codesourcery.com>
8031
8032 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8033 (libgcc-std.ver.in): Use above.
8034 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8035 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8036 throughout file.
8037 * config/t-fixedpoint-gnu-prefix: New file.
8038 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8039 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8040 instead of __PFX__.
8041
8042 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8043
8044 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8045 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8046 for x86-64. Properly check __x86_64__ and __LP64__.
8047
8048 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8049
8050 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8051 version.
8052 (_FP_WS_TYPE): Likewise.
8053 (_FP_I_TYPE): Likewise.
8054
8055 2011-07-28 Alan Modra <amodra@gmail.com>
8056
8057 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8058 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8059 in a plt call stub. Do restore r2 if stopped on bctrl.
8060
8061 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8062
8063 * config.host (i[3456x]86-*-netware*): Remove.
8064 * config/i386/netware-crt0.c, config/i386/t-nwld,
8065 config/i386/t-slibgcc-nwld: Remove.
8066
8067 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8068
8069 * config.host: Handle tic6x-*-*.
8070 * config/c6x/c6x-abi.h: New file.
8071
8072 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8073
8074 * config/i386/crtprec.c: New file.
8075 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8076 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8077 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8078 (x86_64-*-darwin*): Likewise.
8079 (i[34567]86-*-solaris2*: Likewise.
8080
8081 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8082
8083 * config/alpha/crtfastmath.c: New file.
8084 * config/i386/crtfastmath.c: New file.
8085 * config/ia64/crtfastmath.c: New file.
8086 * config/mips/crtfastmath.c: New file.
8087 * config/sparc/crtfastmath.c: New file.
8088
8089 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8090 crtfastmath.c.
8091 Add -frandom-seed=gcc-crtfastmath.
8092 * config/alpha/t-crtfm: Remove.
8093 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8094 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8095
8096 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8097 (alpha*-dec-osf5.1*): Likewise.
8098 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8099 Add crtfastmath.o to extra_parts.
8100 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8101 Add crtfastmath.o to extra_parts.
8102 (x86_64-*-darwin*): Likewise.
8103 (x86_64-*-mingw*): Likewise.
8104 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8105 (ia64*-*-freebsd*): Likewise.
8106 (ia64*-*-linux*): Likewise.
8107 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8108 Add crtfastmath.o to extra_parts.
8109
8110 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8111
8112 * config/darwin-crt3.o: New file.
8113 * config/rs6000/darwin-crt2.c: New file.
8114 * config/t-darwin: New file.
8115 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8116 (crt2.o): New rule.
8117 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8118 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8119 (powerpc64-*-darwin*): Likewise.
8120
8121 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8122
8123 * config/i386/netware-crt0.c: New file.
8124 * config/i386/t-nwld: Rename to ...
8125 * config/i386/t-slibgcc-nwld: ... this.
8126 * config/i386/t-nwld: New file.
8127 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8128 tmake_file.
8129 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8130 extra_parts.
8131
8132 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8133
8134 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8135 i386/t-crtstuff.
8136 * configure: Regenerate.
8137
8138 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8139
8140 * dfp-bit.c, dfp-bit.h: New files.
8141 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8142 variables.
8143 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8144 ($(d64pbit-o)): Likewise.
8145 ($(d128pbit-o)): Likewise.
8146 * config/t-dfprules: New file.
8147 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8148 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8149 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8150 (x86_64-*-linux*): Likewise.
8151 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8152 (i[34567]86-*-cygwin*): Likewise.
8153 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8154 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8155
8156 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8157
8158 * Makfile.in (LIBGCOV): New variable.
8159 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8160 * libgcov.c: New file.
8161
8162 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8163
8164 * fixed-bit.c, fixed-bit.h: New files.
8165 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8166 refer to fixed-bit.c.
8167
8168 2011-07-07 Joseph Myers <joseph@codesourcery.com>
8169
8170 * config.host (*local*): Remove.
8171
8172 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8173
8174 PR target/39150
8175 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8176 like i?86-*-solaris2.1[0-9]*.
8177 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8178 * configure.ac (i?86-*-solaris2*): Likewise.
8179 * configure: Regenerate.
8180
8181 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
8182
8183 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8184 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8185 md_unwind_header by splitting out of...
8186 (i[34567]86-*-linux*): ... this.
8187 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8188 Remove md_unwind_header by splitting out of...
8189 (x86_64-*-linux*): ... this.
8190
8191 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
8192
8193 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8194
8195 2011-06-28 Nick Clifton <nickc@redhat.com>
8196
8197 * config.host: Recognize all V850 variants.
8198
8199 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
8200
8201 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8202
8203 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8204
8205 * shared-object.mk (c_flags-$o): Save c_flags.
8206 ($(base)$(objext)): Use it.
8207 ($(base)_s$(objext)): Likewise.
8208
8209 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
8210
8211 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
8212 * libgcc-std.ver.in (GCC_4.7.0): New section.
8213
8214 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
8215
8216 PR target/49313
8217 PR target/29524
8218 * config/avr/t-avr: Fix line endings.
8219 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
8220 _parityXX2.
8221
8222 2011-06-14 Olivier Hainque <hainque@adacore.com>
8223 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8224
8225 * config/mips/irix6-unwind.h: New file.
8226 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
8227
8228 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
8229
8230 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
8231 (sparc64_fallback_frame_state): Use it.
8232 (sparc64_frob_update_context): Further adjust context.
8233 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
8234 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
8235 * config/sparc/sol2-cn.S: Likewise.
8236
8237 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8238
8239 * enable-execute-stack-empty.c: New file.
8240 * enable-execute-stack-mprotect.c: New file.
8241 * config/i386/enable-execute-stack-mingw32.c: New file.
8242 * config.host (enable_execute_stack): New variable.
8243 Select appropriate variants.
8244 * configure.ac: Link enable-execute-stack.c to
8245 $enable_execute_stack.
8246 * configure: Regenerate.
8247 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
8248 (lib2funcs): Remove _enable_execute_stack.
8249
8250 2011-06-09 David S. Miller <davem@davemloft.net>
8251 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8252
8253 * config.host (sparc-*-linux*): Correct md_unwind_header
8254 filename.
8255 (s390x-ibm-tpf*): Fix typo.
8256
8257 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8258
8259 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
8260 Add crtfastmath.o to extra_parts.
8261 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
8262 mips/t-crtfm.
8263 * config/mips/t-crtfm: Remove.
8264
8265 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8266
8267 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
8268
8269 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
8270
8271 * config.host (sh*-*-linux*): Fix typo.
8272
8273 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8274
8275 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
8276 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
8277 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
8278 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
8279 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
8280 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
8281 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
8282 Wrap in !__MINGW64__.
8283 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
8284 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
8285 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
8286 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
8287 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
8288 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
8289 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
8290 Wrap in !__LP64__.
8291 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
8292 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
8293 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
8294 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
8295 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
8296 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
8297 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
8298 * config/no-unwind.h: New file.
8299 * config.host (md_unwind_header): Document.
8300 Define.
8301 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
8302 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
8303 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
8304 hppa[12]*-*-hpux11*): Set md_unwind_header.
8305 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
8306 Set md_unwind_header.
8307 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
8308 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
8309 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
8310 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
8311 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
8312 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
8313 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
8314 md_unwind_header.
8315 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
8316 * configure: Regenerate.
8317
8318 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8319
8320 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
8321 Set tmake_file, extra_parts.
8322 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
8323 Remove O32 support.
8324 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
8325 Remove O32 support.
8326 * config/mips/t-irix6: New file.
8327 * config/mips/t-slibgcc-irix: New file.
8328
8329 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8330
8331 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
8332 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
8333
8334 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8335
8336 * configure.ac (target_thread_file): Determine thread model.
8337 * configure: Regenerate.
8338 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
8339 * config/alpha/t-alpha: New file.
8340 * config/alpha/t-crtfm: Use $<.
8341 * config/alpha/t-ieee: New file.
8342 * config/alpha/t-osf-pthread: New file.
8343 * config/alpha/t-slibgcc-osf: New file.
8344 * config/alpha/libgcc-osf5.ver: New file.
8345
8346 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8347
8348 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
8349 tmake_file.
8350 Add crtfastmath.o to extra_parts.
8351
8352 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8353
8354 * config/gmon-sol2.c: Reindent.
8355 Cleanup comments.
8356 Remove, correct casts.
8357 Use STDERR_FILENO, NULL.
8358 (BASEADDRESS): Remove.
8359 (minbrk): Remove.
8360 (errno, sbrk): Remove declarations.
8361 (monstartup) [hp300]: Remove.
8362 (mcount): Remove.
8363
8364 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8365
8366 * Makefile.in (cpu_type): Define.
8367 * config.host (i[34567]86-*-rtems*): Handle it.
8368 (i[34567]86-*-solaris2*): Move body ...
8369 (*-*-solaris2*): ... here.
8370 New case, generalize.
8371 (sparc-*-elf*): Handle it.
8372 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
8373 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
8374 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
8375 Fold into ...
8376 (sparc*-*-solaris2*): ... this.
8377 New case.
8378 (sparc64-*-elf*): Handle it.
8379 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
8380 Merge ../gcc/config/i386/gmon-sol2.c.
8381 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
8382 Use C comments.
8383 Merge ../gcc/config/i386/sol2-gc1.asm.
8384 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
8385 Use C comments.
8386 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
8387 Use C comments.
8388 * config/i386/t-crtfm (crtfastmath.o): Use $<.
8389 * config/i386/t-crtstuff: New file.
8390 * config/i386/t-softfp: New file.
8391 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
8392 $(T)crti.o, $(T)crtn.o): Remove.
8393 (gcrt1.o): New rule.
8394 (TARGET_LIBGCC2_CFLAGS): Remove.
8395 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
8396 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
8397 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
8398 * config/sparc/t-sol2: New file.
8399 * config/sparc/t-crtfm: Move to ...
8400 * config/t-crtfm: ... this.
8401 Use $(cpu_type), $<.
8402 * config/t-crtin: New file.
8403 * config/sparc/t-softfp: New file.
8404 * config/sparc/t-softmul: New file.
8405 * config/t-rtems: New file.
8406 * config/t-slibgcc: New file.
8407 * config/t-slibgcc-elf-ver: New file.
8408 * config/t-slibgcc-gld: New file.
8409 * config/t-slibgcc-sld: New file.
8410 * config/t-sol2: New file.
8411 * configure.ac: Include ../config/lib-ld.m4.
8412 Call AC_LIB_PROG_LD_GNU.
8413 Substitute cpu_type.
8414 * configure: Regenerate.
8415
8416 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
8417
8418 PR bootstrap/49173
8419 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
8420 libgcc-std.ver in the build directory.
8421 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
8422 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
8423
8424 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
8425
8426 * libgcc-std.ver.in: New file.
8427 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
8428 variables.
8429 (libgcc-std.ver): New rule.
8430 * config/t-gnu-prefix: New file.
8431
8432 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8433
8434 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
8435
8436 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8437
8438 * config/i386/darwin-lib.h: New file.
8439
8440 2011-05-10 Joseph Myers <joseph@codesourcery.com>
8441
8442 * config/arm/symbian-lib.h: New.
8443
8444 2011-05-04 Chris Demetriou <cgd@google.com>
8445
8446 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
8447 (__x86.get_pc_thunk.bx): ...this.
8448 (__morestack): Adjust for rename, remove undef of __i686.
8449
8450 2011-05-03 Chris Demetriou <cgd@google.com>
8451
8452 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
8453
8454 2011-03-22 Joseph Myers <joseph@codesourcery.com>
8455
8456 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
8457 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
8458 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
8459 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
8460 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
8461 Remove cases.
8462
8463 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
8464
8465 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
8466 Adjust copyright year.
8467
8468 2011-03-07 Ian Lance Taylor <iant@google.com>
8469
8470 * generic-morestack.c (__splitstack_find): Adjust returned stack
8471 pointer to include all registers pushed by __morestack.
8472
8473 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
8474
8475 PR target/40125
8476 * configure.ac: Call ACX_NONCANONICAL_TARGET.
8477 (toolexecdir): Calculate and AC_SUBST.
8478 (toolexeclibdir): Likewise.
8479 * Makefile.in (target_noncanonical): Import.
8480 (toolexecdir): Likewise.
8481 (toolexeclibdir): Likewise.
8482 * configure: Regenerate.
8483
8484 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
8485
8486 PR target/46040
8487 * config/arm/bpabi.h: Rename to...
8488 * config/arm/bpabi-lib.h: ...this.
8489
8490 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8491
8492 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
8493 appropriate.
8494 * configure: Regenerate.
8495
8496 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
8497
8498 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
8499 __FLOAT_WORD_ORDER__.
8500 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
8501 Delete.
8502
8503 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8504
8505 PR other/46202
8506 * Makefile.in (install-strip): New phony target.
8507
8508 2010-11-07 Ian Lance Taylor <iant@google.com>
8509
8510 PR target/46089
8511 * config/i386/morestack.S (__morestack_large_model): New
8512 function.
8513
8514 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8515
8516 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8517 Delete.
8518 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8519
8520 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8521
8522 * config/arm/bpabi.h: New file.
8523 * config/frv/frv-abi.h: New file.
8524
8525 2010-10-01 Ian Lance Taylor <iant@google.com>
8526
8527 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8528 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8529
8530 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8531
8532 PR target/45858
8533 * config.host: Add the missing `$'.
8534
8535 2010-09-30 Michael Eager <eager@eagercon.com>
8536
8537 * config.host: Add microblaze*-*-*.
8538 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8539 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8540 udivsi3.asm,umodsi3.asm}: New.
8541
8542 2010-09-28 Ian Lance Taylor <iant@google.com>
8543
8544 * configure.ac: Adjust CFI test to test assembler directly rather
8545 than checking gcc preprocessor macro.
8546 * configure: Rebuild.
8547
8548 2010-09-27 Ian Lance Taylor <iant@google.com>
8549
8550 * configure.ac: Test whether assembler supports CFI directives.
8551 * config.host: Only add t-stack and i386/t-stack-i386 to
8552 tmake_file if libgcc_cv_cfi is "yes".
8553 * configure: Rebuild.
8554
8555 2010-09-27 Ian Lance Taylor <iant@google.com>
8556
8557 * generic-morestack.h: New file.
8558 * generic-morestack.c: New file.
8559 * generic-morestack-thread.c: New file.
8560 * config/i386/morestack.S: New file.
8561 * config/t-stack: New file.
8562 * config/i386/t-stack-i386: New file.
8563 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8564 i386/t-stack-i386 to tmake_file.
8565
8566 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8567
8568 * Makefile.in (libgcc-extra-parts): Check for static archives and
8569 invoke ranlib after installing them.
8570 (gcc-extra-parts): Likewise.
8571 (install-leaf): Likewise.
8572
8573 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8574
8575 * configure: Regenerated.
8576
8577 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
8578
8579 * configure: Regenerated.
8580
8581 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8582 Andrew Pinski <pinskia@gmail.com>
8583
8584 PR target/40959
8585 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8586
8587 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8588
8589 PR target/45524
8590 * configure: Regenerated.
8591
8592 2010-09-06 Andreas Schwab <schwab@redhat.com>
8593
8594 * configure: Regenerate.
8595
8596 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8597
8598 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8599 64bit targets.
8600 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8601 for 64bit targets.
8602
8603 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
8604 Iain Sandoe <iains@gcc.gnu.org>
8605
8606 PR target/45476
8607 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8608 LIB2FUNCS_EXCLUDE functions.
8609
8610 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8611
8612 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8613 Include dfp.m4.
8614 * configure: Regenerate.
8615
8616 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
8617
8618 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8619 i386/t-freebsd to tmake_file.
8620 * config/i386/t-freebsd: New file.
8621 * config/i386/libgcc-bsd.ver: New file.
8622
8623 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8624
8625 * config.host (powerpc*-eabispe*): Set tmake_file.
8626 (powerpc*-eabi*): Likewise.
8627 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8628 crtbeginS, crtendS, crtbeginT.
8629
8630 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
8631
8632 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8633 to tmake_file. Add crtfastmath.o to extra_parts.
8634 * config/mips/t-crtfm: New.
8635
8636 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
8637
8638 * config.host (sparc64-*-rtems*): New target.
8639
8640 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8641
8642 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8643 assembler syntax.
8644
8645 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8646
8647 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8648
8649 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8650
8651 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8652 alpha-dec-osf5.0* support.
8653
8654 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
8655
8656 * config.host: Add lm32-*-rtems*.
8657
8658 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8659 Uros Bizjak <ubizjak@gmail.com>
8660
8661 PR target/39048
8662 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8663 like other remaining 32-bit x86 OSes.
8664 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8665 assembler syntax.
8666 * config/i386/libgcc-sol2.ver: New file.
8667 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8668
8669 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
8670
8671 PR c/43553
8672 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8673 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8674 is used and substitute set_use_emutls.
8675 * configure: Regenerated.
8676
8677 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8678
8679 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8680
8681 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8682
8683 PR target/38085
8684 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8685 MULTILIB_CFLAGS.
8686 ($(T)gcrt1.o): Likewise.
8687 ($(T)crt1.o): Likewise.
8688 ($(T)crti.o): Likewise.
8689 ($(T)crtn.o): Likewise.
8690
8691 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8692
8693 PR other/42980
8694 * Makefile.in (install): Use $(MAKE) string in rule, for
8695 parallel make.
8696
8697 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8698
8699 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8700 * config/mmix/t-mmix: New file.
8701 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8702
8703 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8704
8705 PR java/41991
8706 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8707 SHLIB_MAPFILES.
8708
8709 2010-01-04 Anthony Green <green@moxielogic.com>
8710
8711 * config/moxie/crti.asm, config/moxie/crtn.asm,
8712 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8713 config/moxie/t-moxie: New files.
8714 * config.host: Add t-moxie-softfp reference.
8715
8716 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
8717
8718 PR other/39888
8719 * config/t-slibgcc-darwin: Fix embedded rpaths for
8720 --enable-version-specific-runtime-libs, build extension stub
8721 libs exposing features available from current libgcc_s.
8722
8723 2009-11-11 Jon Beniston <jon@beniston.com>
8724
8725 * config.host: Add lm32 targets.
8726 * config/lm32: New directory.
8727 * config/lm32/libgcc_lm32.h: New file.
8728 * config/lm32/_mulsi3.c: New file.
8729 * config/lm32/_udivmodsi4.c: New file.
8730 * config/lm32/_divsi3.c: New file.
8731 * config/lm32/_modsi3.c: New file.
8732 * config/lm32/_udivsi3.c: New file.
8733 * config/lm32/_umodsi3.c: New file.
8734 * config/lm32/_lshrsi3.S: New file.
8735 * config/lm32/_ashrsi3.S: New file.
8736 * config/lm32/_ashlsi3.S: New file.
8737 * config/lm32/crti.S: New file.
8738 * config/lm32/crtn.S: New file.
8739 * config/lm32/t-lm32: New file.
8740 * config/lm32/t-elf: New file.
8741 * config/lm32/t-uclinux: New file.
8742
8743 2009-10-26 Nick Clifton <nickc@redhat.com>
8744
8745 * config.host: Add support for RX target.
8746 * config/rx: New directory.
8747 * config/rx/rx-abi-functions.c: New file. Supplementary
8748 functions for libgcc to support the RX ABI.
8749 * config/rx/rx-abi.h: New file. Supplementary header file for
8750 libgcc RX ABI functions.
8751 * config/rx/t-rx: New file: Makefile fragment for building
8752 libgcc for the RX.
8753
8754 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
8755
8756 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8757 constraint of y0 to "g".
8758
8759 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8760
8761 * config.host: Include the s390 makefile fragments.
8762 * config/s390/32/_fixdfdi.c: New file.
8763 * config/s390/32/_fixsfdi.c: New file.
8764 * config/s390/32/_fixtfdi.c: New file.
8765 * config/s390/32/_fixunsdfdi.c: New file.
8766 * config/s390/32/_fixunssfdi.c: New file.
8767 * config/s390/32/_fixunstfdi.c: New file.
8768 * config/s390/32/t-floattodi: New file.
8769 * config/s390/libgcc-glibc.ver: New file.
8770 * config/s390/t-crtstuff: New file.
8771 * config/s390/t-linux: New file.
8772 * config/s390/t-tpf: New file.
8773
8774 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8775
8776 * configure.ac (AC_PREREQ): Bump to 2.64.
8777
8778 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
8779
8780 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8781
8782 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8783
8784 * configure: Regenerate.
8785
8786 2009-08-09 Douglas B Rupp <rupp@gnat.com>
8787
8788 * config.host (ia64-hp-*vms*): New target.
8789 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8790 with ia64-hp-*vms*.
8791
8792 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8793
8794 * configure.ac: Add snippet for maintainer-mode.
8795 * configure: Regenerate.
8796 * Makefile.in (AUTOCONF, configure_deps): New variables.
8797 ($(srcdir)/configure)): New rule, active only with maintainer
8798 mode turned on.
8799
8800 2009-06-23 DJ Delorie <dj@redhat.com>
8801
8802 Add MeP port.
8803 * config.host: Add mep support.
8804
8805 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
8806
8807 * config.host: Add i386/${host_address}/t-fprules-softfp and
8808 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
8809
8810 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8811 for mingw targets.
8812 * config/i386/64/_multc3.c: Likewise.
8813 * config/i386/64/_powitf2.c: Likewise.
8814 * config/i386/64/eqtf2.c: Likewise.
8815 * config/i386/64/getf2.c: Likewise.
8816 * config/i386/64/letf2.c: Likewise.
8817 * config/i386/64/letf2.c: Likewise.
8818 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8819 unsigned long long for x64 mingw targets.
8820 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8821 (_FP_I_TYPE): Define as long long for x64 mingw target.
8822
8823 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
8824
8825 * config.host (vax-*-linux*): New.
8826
8827 2009-05-31 Anthony Green <green@moxielogic.com>
8828
8829 * config.host: Add moxie support.
8830 * config/moxie/t-moxie: New file.
8831
8832 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
8833
8834 * config.host: Add i386/${host_address}/t-fprules-softfp and
8835 t-softfp to tmake_file for i[34567]86-*-cygwin*.
8836
8837 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
8838
8839 * config.host: Add i386/${host_address}/t-fprules-softfp to
8840 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8841
8842 2009-04-09 Nick Clifton <nickc@redhat.com>
8843
8844 * config/ia64/tf-signs.c: Change copyright header to refer to
8845 version 3 of the GNU General Public License with version 3.1
8846 of the GCC Runtime Library Exception and to point readers at
8847 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8848 web page.
8849 * config/i386/32/tf-signs.c: Likewise.
8850 * config/libbid/_addsub_dd.c: Likewise.
8851 * config/libbid/_addsub_sd.c: Likewise.
8852 * config/libbid/_addsub_td.c: Likewise.
8853 * config/libbid/_dd_to_df.c: Likewise.
8854 * config/libbid/_dd_to_di.c: Likewise.
8855 * config/libbid/_dd_to_sd.c: Likewise.
8856 * config/libbid/_dd_to_sf.c: Likewise.
8857 * config/libbid/_dd_to_si.c: Likewise.
8858 * config/libbid/_dd_to_td.c: Likewise.
8859 * config/libbid/_dd_to_tf.c: Likewise.
8860 * config/libbid/_dd_to_udi.c: Likewise.
8861 * config/libbid/_dd_to_usi.c: Likewise.
8862 * config/libbid/_dd_to_xf.c: Likewise.
8863 * config/libbid/_df_to_dd.c: Likewise.
8864 * config/libbid/_df_to_sd.c: Likewise.
8865 * config/libbid/_df_to_td.c: Likewise.
8866 * config/libbid/_di_to_dd.c: Likewise.
8867 * config/libbid/_di_to_sd.c: Likewise.
8868 * config/libbid/_di_to_td.c: Likewise.
8869 * config/libbid/_div_dd.c: Likewise.
8870 * config/libbid/_div_sd.c: Likewise.
8871 * config/libbid/_div_td.c: Likewise.
8872 * config/libbid/_eq_dd.c: Likewise.
8873 * config/libbid/_eq_sd.c: Likewise.
8874 * config/libbid/_eq_td.c: Likewise.
8875 * config/libbid/_ge_dd.c: Likewise.
8876 * config/libbid/_ge_sd.c: Likewise.
8877 * config/libbid/_ge_td.c: Likewise.
8878 * config/libbid/_gt_dd.c: Likewise.
8879 * config/libbid/_gt_sd.c: Likewise.
8880 * config/libbid/_gt_td.c: Likewise.
8881 * config/libbid/_isinfd128.c: Likewise.
8882 * config/libbid/_isinfd32.c: Likewise.
8883 * config/libbid/_isinfd64.c: Likewise.
8884 * config/libbid/_le_dd.c: Likewise.
8885 * config/libbid/_le_sd.c: Likewise.
8886 * config/libbid/_le_td.c: Likewise.
8887 * config/libbid/_lt_dd.c: Likewise.
8888 * config/libbid/_lt_sd.c: Likewise.
8889 * config/libbid/_lt_td.c: Likewise.
8890 * config/libbid/_mul_dd.c: Likewise.
8891 * config/libbid/_mul_sd.c: Likewise.
8892 * config/libbid/_mul_td.c: Likewise.
8893 * config/libbid/_ne_dd.c: Likewise.
8894 * config/libbid/_ne_sd.c: Likewise.
8895 * config/libbid/_ne_td.c: Likewise.
8896 * config/libbid/_sd_to_dd.c: Likewise.
8897 * config/libbid/_sd_to_df.c: Likewise.
8898 * config/libbid/_sd_to_di.c: Likewise.
8899 * config/libbid/_sd_to_sf.c: Likewise.
8900 * config/libbid/_sd_to_si.c: Likewise.
8901 * config/libbid/_sd_to_td.c: Likewise.
8902 * config/libbid/_sd_to_tf.c: Likewise.
8903 * config/libbid/_sd_to_udi.c: Likewise.
8904 * config/libbid/_sd_to_usi.c: Likewise.
8905 * config/libbid/_sd_to_xf.c: Likewise.
8906 * config/libbid/_sf_to_dd.c: Likewise.
8907 * config/libbid/_sf_to_sd.c: Likewise.
8908 * config/libbid/_sf_to_td.c: Likewise.
8909 * config/libbid/_si_to_dd.c: Likewise.
8910 * config/libbid/_si_to_sd.c: Likewise.
8911 * config/libbid/_si_to_td.c: Likewise.
8912 * config/libbid/_td_to_dd.c: Likewise.
8913 * config/libbid/_td_to_df.c: Likewise.
8914 * config/libbid/_td_to_di.c: Likewise.
8915 * config/libbid/_td_to_sd.c: Likewise.
8916 * config/libbid/_td_to_sf.c: Likewise.
8917 * config/libbid/_td_to_si.c: Likewise.
8918 * config/libbid/_td_to_tf.c: Likewise.
8919 * config/libbid/_td_to_udi.c: Likewise.
8920 * config/libbid/_td_to_usi.c: Likewise.
8921 * config/libbid/_td_to_xf.c: Likewise.
8922 * config/libbid/_tf_to_dd.c: Likewise.
8923 * config/libbid/_tf_to_sd.c: Likewise.
8924 * config/libbid/_tf_to_td.c: Likewise.
8925 * config/libbid/_udi_to_dd.c: Likewise.
8926 * config/libbid/_udi_to_sd.c: Likewise.
8927 * config/libbid/_udi_to_td.c: Likewise.
8928 * config/libbid/_unord_dd.c: Likewise.
8929 * config/libbid/_unord_sd.c: Likewise.
8930 * config/libbid/_unord_td.c: Likewise.
8931 * config/libbid/_usi_to_dd.c: Likewise.
8932 * config/libbid/_usi_to_sd.c: Likewise.
8933 * config/libbid/_usi_to_td.c: Likewise.
8934 * config/libbid/_xf_to_dd.c: Likewise.
8935 * config/libbid/_xf_to_sd.c: Likewise.
8936 * config/libbid/_xf_to_td.c: Likewise.
8937 * config/libbid/bid128.c: Likewise.
8938 * config/libbid/bid128_2_str.h: Likewise.
8939 * config/libbid/bid128_2_str_macros.h: Likewise.
8940 * config/libbid/bid128_2_str_tables.c: Likewise.
8941 * config/libbid/bid128_add.c: Likewise.
8942 * config/libbid/bid128_compare.c: Likewise.
8943 * config/libbid/bid128_div.c: Likewise.
8944 * config/libbid/bid128_fma.c: Likewise.
8945 * config/libbid/bid128_logb.c: Likewise.
8946 * config/libbid/bid128_minmax.c: Likewise.
8947 * config/libbid/bid128_mul.c: Likewise.
8948 * config/libbid/bid128_next.c: Likewise.
8949 * config/libbid/bid128_noncomp.c: Likewise.
8950 * config/libbid/bid128_quantize.c: Likewise.
8951 * config/libbid/bid128_rem.c: Likewise.
8952 * config/libbid/bid128_round_integral.c: Likewise.
8953 * config/libbid/bid128_scalb.c: Likewise.
8954 * config/libbid/bid128_sqrt.c: Likewise.
8955 * config/libbid/bid128_string.c: Likewise.
8956 * config/libbid/bid128_to_int16.c: Likewise.
8957 * config/libbid/bid128_to_int32.c: Likewise.
8958 * config/libbid/bid128_to_int64.c: Likewise.
8959 * config/libbid/bid128_to_int8.c: Likewise.
8960 * config/libbid/bid128_to_uint16.c: Likewise.
8961 * config/libbid/bid128_to_uint32.c: Likewise.
8962 * config/libbid/bid128_to_uint64.c: Likewise.
8963 * config/libbid/bid128_to_uint8.c: Likewise.
8964 * config/libbid/bid32_to_bid128.c: Likewise.
8965 * config/libbid/bid32_to_bid64.c: Likewise.
8966 * config/libbid/bid64_add.c: Likewise.
8967 * config/libbid/bid64_compare.c: Likewise.
8968 * config/libbid/bid64_div.c: Likewise.
8969 * config/libbid/bid64_fma.c: Likewise.
8970 * config/libbid/bid64_logb.c: Likewise.
8971 * config/libbid/bid64_minmax.c: Likewise.
8972 * config/libbid/bid64_mul.c: Likewise.
8973 * config/libbid/bid64_next.c: Likewise.
8974 * config/libbid/bid64_noncomp.c: Likewise.
8975 * config/libbid/bid64_quantize.c: Likewise.
8976 * config/libbid/bid64_rem.c: Likewise.
8977 * config/libbid/bid64_round_integral.c: Likewise.
8978 * config/libbid/bid64_scalb.c: Likewise.
8979 * config/libbid/bid64_sqrt.c: Likewise.
8980 * config/libbid/bid64_string.c: Likewise.
8981 * config/libbid/bid64_to_bid128.c: Likewise.
8982 * config/libbid/bid64_to_int16.c: Likewise.
8983 * config/libbid/bid64_to_int32.c: Likewise.
8984 * config/libbid/bid64_to_int64.c: Likewise.
8985 * config/libbid/bid64_to_int8.c: Likewise.
8986 * config/libbid/bid64_to_uint16.c: Likewise.
8987 * config/libbid/bid64_to_uint32.c: Likewise.
8988 * config/libbid/bid64_to_uint64.c: Likewise.
8989 * config/libbid/bid64_to_uint8.c: Likewise.
8990 * config/libbid/bid_b2d.h: Likewise.
8991 * config/libbid/bid_binarydecimal.c: Likewise.
8992 * config/libbid/bid_conf.h: Likewise.
8993 * config/libbid/bid_convert_data.c: Likewise.
8994 * config/libbid/bid_decimal_data.c: Likewise.
8995 * config/libbid/bid_decimal_globals.c: Likewise.
8996 * config/libbid/bid_div_macros.h: Likewise.
8997 * config/libbid/bid_dpd.c: Likewise.
8998 * config/libbid/bid_flag_operations.c: Likewise.
8999 * config/libbid/bid_from_int.c: Likewise.
9000 * config/libbid/bid_functions.h: Likewise.
9001 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9002 * config/libbid/bid_inline_add.h: Likewise.
9003 * config/libbid/bid_internal.h: Likewise.
9004 * config/libbid/bid_round.c: Likewise.
9005 * config/libbid/bid_sqrt_macros.h: Likewise.
9006
9007 2009-04-09 Jakub Jelinek <jakub@redhat.com>
9008
9009 * Makefile.in: Change copyright header to refer to version
9010 3 of the GNU General Public License and to point readers at the
9011 COPYING3 file and the FSF's license web page.
9012 * config.host: Likewise.
9013
9014 2009-04-07 Alan Modra <amodra@bigpond.net.au>
9015
9016 * config.host: Reorder and merge to match config.gcc change.
9017
9018 2009-04-03 Alan Modra <amodra@bigpond.net.au>
9019
9020 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9021
9022 2009-03-28 Joseph Myers <joseph@codesourcery.com>
9023
9024 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9025 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9026 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9027 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9028
9029 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
9030
9031 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9032 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9033
9034 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9035
9036 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9037 ia64/t-softfp-compat to tmake_file.
9038
9039 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9040
9041 * config/ia64/__divxf3.asm: New.
9042 * config/ia64/_fixtfdi.asm: Likewise.
9043 * config/ia64/_fixunstfdi.asm: Likewise.
9044 * config/ia64/_floatditf.asm: Likewise.
9045 * config/ia64/t-fprules-softfp: Likewise.
9046 * config/ia64/t-softfp-compat: Likewise.
9047 * config/ia64/tf-signs.c: Likewise.
9048
9049 2009-01-18 Ben Elliston <bje@au.ibm.com>
9050
9051 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9052
9053 2009-01-16 Ben Elliston <bje@au.ibm.com>
9054
9055 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9056 to tmake_file.
9057
9058 2009-01-13 Ben Elliston <bje@au.ibm.com>
9059
9060 * config/t-softfp: New file.
9061 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9062 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9063
9064 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
9065
9066 * config.host: Add m32r*-*-rtems*.
9067
9068 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
9069
9070 * config.host: Add m32c*-*-rtems*.
9071
9072 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9073
9074 PR bootstrap/33100
9075 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9076 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9077 * configure: Regenerate.
9078 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9079 tmake_file here from gcc/config.gcc.
9080 Move extra_parts here from gcc/config.gcc.
9081 * config/i386/t-sol2: Move here from gcc/config/i386.
9082 Use gcc_srcdir instead of srcdir.
9083
9084 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9085
9086 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9087 case.
9088
9089 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9090
9091 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9092
9093 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9094
9095 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9096
9097 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9098
9099 Add picoChip port.
9100 * config.host: Add picochip-*-*.
9101
9102 2008-08-06 Bob Wilson <bob.wilson@acm.org>
9103
9104 * config.host: Match more processor names for Xtensa.
9105
9106 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9107
9108 * config/i386/64/t-softfp-compat: Update comments.
9109
9110 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9111
9112 * config/i386/64/_divtc3-compat.c: Moved to ...
9113 * config/i386/64/_divtc3.c: Here.
9114
9115 * config/i386/64/_multc3-compat.c: Moved to ...
9116 * config/i386/64/_multc3.c: Here.
9117
9118 * config/i386/64/_powitf2-compat.c: Moved to ...
9119 * config/i386/64/_powitf2.c: Here.
9120
9121 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9122 .c suffix instead of -compat.c.
9123
9124 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
9125
9126 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9127 (_FP_MUL_MEAT_D): Ditto.
9128 (_FP_DIV_MEAT_S): Ditto.
9129 (_FP_DIV_MEAT_D): Ditto.
9130
9131 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9132
9133 * Makefile.in: Add support for __sync_* libgcc functions.
9134
9135 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9136
9137 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9138
9139 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9140
9141 PR boostrap/36702
9142 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9143 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9144
9145 * config/i386/64/t-fprules-softfp: Moved to ...
9146 * config/i386/64/t-softfp-compat: This. New.
9147
9148 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
9149
9150 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9151 Initialize f with 0.0.
9152
9153 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9154
9155 PR target/36669
9156 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9157
9158 * config/i386/64/_divtc3-compat.c: New.
9159 * config/i386/64/_multc3-compat.c: Likewise.
9160 * config/i386/64/_powitf2-compat.c: Likewise.
9161 * config/i386/64/eqtf2.c: Likewise.
9162 * config/i386/64/getf2.c: Likewise.
9163 * config/i386/64/letf2.c: Likewise.
9164 * config/i386/64/t-fprules-softfp: Likewise.
9165
9166 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9167
9168 * config.host: Add i386/${host_address}/t-fprules-softfp to
9169 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
9170 i[34567]86-*-linux*, x86_64-*-linux*.
9171
9172 * configure.ac: Set host_address to 64 or 32 for x86.
9173 * configure: Regenerated.
9174
9175 * Makefile.in (config.status): Also depend on
9176 $(srcdir)/config.host.
9177
9178 * config/i386/32/t-fprules-softfp: New.
9179 * config/i386/32/tf-signs.c: Likewise.
9180
9181 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9182
9183 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9184 Uros Bizjak <ubizjak@gmail.com>
9185
9186 * config/i386/32/sfp-machine.h: New.
9187
9188 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9189
9190 * config/rs6000/t-ppccomm: Remove rules that conflict with
9191 auto-generated rules.
9192
9193 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9194
9195 * configure.ac: sinclude override.m4.
9196 * configure: Regenerate.
9197
9198 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9199
9200 * configure: Regenerate.
9201
9202 2008-06-10 Joseph Myers <joseph@codesourcery.com>
9203
9204 * Makefile.in (DECNUMINC): Remove
9205 -I$(MULTIBUILDTOP)../../libdecnumber.
9206 * gstdint.h: New.
9207
9208 2008-06-07 Joseph Myers <joseph@codesourcery.com>
9209
9210 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
9211 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
9212 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
9213 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
9214 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
9215 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
9216 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
9217 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
9218 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
9219 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
9220 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
9221 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
9222 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
9223 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
9224
9225 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
9226
9227 * config.host (sh2[lbe]*-*-linux*): Allow target.
9228
9229 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
9230
9231 * config/rs6000/t-ppccomm: Add build rules for new files.
9232 (LIB2ADD_ST): New variable.
9233
9234 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
9235
9236 PR target/34210
9237 PR target/35508
9238 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
9239 * config/t-avr: New file. Build 16bit libgcc functions.
9240
9241 2008-03-02 Jakub Jelinek <jakub@redhat.com>
9242
9243 PR target/35401
9244 * config/t-slibgcc-darwin: Make install-leaf dependent on
9245 install-darwin-libgcc-stubs instead of install.
9246
9247 2008-01-25 Joseph Myers <joseph@codesourcery.com>
9248
9249 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
9250 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
9251 sh-*-rtemscoff*): Remove cases.
9252
9253 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
9254
9255 * Makefile.in (all): Use install-leaf rather than install.
9256 (install): Split most of the rule into...
9257 (install-leaf): ...this new one.
9258
9259 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
9260 Paolo Bonzini <bonzini@gnu.org>
9261
9262 PR target/30572
9263 * Makefile.in: Use @shlib_slibdir@ substitution to get
9264 correct install name on darwin.
9265 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
9266
9267 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
9268
9269 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
9270 cris-*-elf and cris-*-none.
9271 (crisv32-*-linux*): Similar, as cris-*-linux*.
9272
9273 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
9274
9275 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
9276
9277 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
9278
9279 PR regression/33926
9280 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
9281 * configure: Regenerated.
9282
9283 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
9284
9285 * Makefile.in (dfp-filenames): Replace decimal_globals,
9286 decimal_data, binarydecimal and convert_data with
9287 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
9288 and bid_convert_data, respectively.
9289
9290 2007-09-17 Chao-ying Fu <fu@mips.com>
9291 Nigel Stephens <nigel@mips.com>
9292
9293 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
9294 * Makefile.in (fixed_point): Define.
9295 Check if fixed_point is yes to build support functions.
9296 * configure.ac: Check for fixed_point support.
9297 * configure: Regenerated.
9298 * gen-fixed.sh: New file to generate lists of fixed-point labels,
9299 funcs, modes, from, to.
9300
9301 2007-09-11 Janis Johnson <janis187@us.ibm.com
9302
9303 * Makefile.in (dfp-filenames): Add bid128_noncomp.
9304
9305 2007-09-10 Janis Johnson <janis187@us.ibm.com>
9306
9307 * Makefile.in (dfp-filenames): Remove decUtility, add
9308 decDouble, decPacked, decQuad, decSingle.
9309
9310 2007-08-27 Hans Kester <hans.kester@ellips.nl>
9311
9312 * config.host : Add x86_64-elf target.
9313
9314 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9315
9316 * configure.ac (set_have_cc_tls): Add a missing =.
9317 * configure: Regenerated.
9318
9319 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
9320
9321 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
9322 and x86_64-*-linux*.
9323
9324 * config/t-tls: New file.
9325
9326 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
9327
9328 * configure.ac: Include ../config/enable.m4 and
9329 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
9330 supports TLS and substitute set_have_cc_tls.
9331 * configure: Regenerated.
9332
9333 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
9334
9335 * Makefile.in: Use libbid for DFP when BID is enabled.
9336
9337 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
9338
9339 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
9340 extra_parts. Add config/i386/t-cygming to tmake_file.
9341 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
9342
9343 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9344 Danny Smith <dannysmith@users.sourceforge.net>
9345
9346 PR target/29498
9347 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
9348 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
9349 * config/i386/t-crtfm: Compile crtfastmath.o with
9350 -minline-all-stringops.
9351
9352 2007-05-10 Richard Sandiford <richard@codesourcery.com>
9353
9354 * config.host (sparc-wrs-vxworks): New target.
9355
9356 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
9357
9358 * config.host: Recognize fido.
9359
9360 2007-04-04 Janis Johnson <janis187@us.ibm.com>
9361
9362 * configure: Check host, not target, for decimal float support.
9363
9364 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
9365
9366 * config/i386/t-crtpc: New file.
9367 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
9368 (x86_64-*-linux*): Ditto.
9369
9370 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
9371
9372 * config.host (x86_64-*-mingw*): New target.
9373
9374 2007-03-23 Michael Meissner <michael.meissner@amd.com>
9375 H.J. Lu <hongjiu.lu@intel.com>
9376
9377 * Makefile.in (enable_decimal_float): New.
9378 (DECNUMINC): Add
9379 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
9380 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
9381 (decbits-filenames): This.
9382 (decbits-objects): New.
9383 (libgcc-objects): Add $(decbits-objects).
9384
9385 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
9386 Substitute enable_decimal_float.
9387 * configure: Regenerated.
9388
9389 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
9390
9391 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
9392
9393 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
9394
9395 * Makefile.in (install-info): New dummy target.
9396
9397 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
9398
9399 * config.host (bfin*-linux-uclibc*): Set extra_parts.
9400
9401 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
9402
9403 * Makefile.in: Add install-html and install-pdf dummy
9404 targets.
9405
9406 2007-02-05 Roger Sayle <roger@eyesopen.com>
9407 Daniel Jacobowitz <dan@codesourcery.com>
9408
9409 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
9410 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
9411 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
9412
9413 2007-01-29 Janis Johnson <janis187@us.ibm.com>
9414
9415 * Makefile.in (dec-filenames): Add decExcept.
9416
9417 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
9418
9419 PR bootstrap/30469
9420 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
9421 -fprofile-use.
9422
9423 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
9424
9425 * configure.ac: Add --enable-version-specific-runtime-libs.
9426 Correct $slibdir default.
9427 * configure: Regenerated.
9428
9429 2007-01-23 Joseph Myers <joseph@codesourcery.com>
9430
9431 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
9432
9433 2007-01-21 Andrew Pinski <pinskia@gmail.com>
9434
9435 PR target/30519
9436 * config.host (alpha*-*-linux*): Set extra_parts.
9437
9438 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
9439
9440 * config/sh/t-linux: New.
9441 * config.host (sh*-*-linux*): Set tmake_file.
9442
9443 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
9444
9445 * Makefile.in (install): Handle multilibs.
9446
9447 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9448
9449 * Makefile.in: Added .PHONY entry for documentation targets.
9450
9451 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
9452
9453 * Makefile.in: Add empty info, html, dvi, pdf targets.
9454
9455 2007-01-04 Mike Stump <mrs@apple.com>
9456
9457 * Makefile.in (MAKEINFO): Remove.
9458 (PERL): Likewise.
9459
9460 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
9461
9462 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
9463 * configure: Regenerate.
9464 * Makefile.in (host_subdir): Substitute it.
9465 (gcc_objdir): Use it.
9466
9467 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9468
9469 * config.host (ia64*-*-linux*): Set tmake_file.
9470
9471 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9472
9473 * Makefile.in (version): Define.
9474
9475 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9476 Paolo Bonzini <bonzini@gnu.org>
9477
9478 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
9479 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
9480 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
9481 config/sparc/t-crtfm, config/t-slibgcc-darwin,
9482 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
9483 shared-object.mk, siditi-object.mk, static-object.mk: New files.
9484 * configure: Generated.
9485 \f
9486 Copyright (C) 2007-2018 Free Software Foundation, Inc.
9487
9488 Copying and distribution of this file, with or without modification,
9489 are permitted in any medium without royalty provided the copyright
9490 notice and this notice are preserved.